comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"NOT_START_ROLLOVER_ROLE"
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; pragma experimental ABIEncoderV2; import "../interfaces/IManager.sol"; import "../interfaces/ILiquidityPool.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol"; import {IERC20Upgradeable as...
hasRole(START_ROLLOVER_ROLE,_msgSender()),"NOT_START_ROLLOVER_ROLE"
392,959
hasRole(START_ROLLOVER_ROLE,_msgSender())
"ADD_FAIL"
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; pragma experimental ABIEncoderV2; import "../interfaces/IManager.sol"; import "../interfaces/ILiquidityPool.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol"; import {IERC20Upgradeable as...
controllerIds.add(id),"ADD_FAIL"
392,959
controllerIds.add(id)
"REMOVE_FAIL"
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; pragma experimental ABIEncoderV2; import "../interfaces/IManager.sol"; import "../interfaces/ILiquidityPool.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol"; import {IERC20Upgradeable as...
controllerIds.remove(id),"REMOVE_FAIL"
392,959
controllerIds.remove(id)
"ADD_FAIL"
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; pragma experimental ABIEncoderV2; import "../interfaces/IManager.sol"; import "../interfaces/ILiquidityPool.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol"; import {IERC20Upgradeable as...
pools.add(pool),"ADD_FAIL"
392,959
pools.add(pool)
"REMOVE_FAIL"
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; pragma experimental ABIEncoderV2; import "../interfaces/IManager.sol"; import "../interfaces/ILiquidityPool.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol"; import {IERC20Upgradeable as...
pools.remove(pool),"REMOVE_FAIL"
392,959
pools.remove(pool)
"INVALID_ADDRESS"
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; pragma experimental ABIEncoderV2; import "../interfaces/IManager.sol"; import "../interfaces/ILiquidityPool.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol"; import {IERC20Upgradeable as...
pools.contains(currentPoolAddress),"INVALID_ADDRESS"
392,959
pools.contains(currentPoolAddress)
"FORBIDDEN_CALL"
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; pragma experimental ABIEncoderV2; import "../interfaces/IManager.sol"; import "../interfaces/ILiquidityPool.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol"; import {IERC20Upgradeable as...
!isLogicContract,"FORBIDDEN_CALL"
392,959
!isLogicContract
null
pragma solidity ^0.4.18; // solhint-disable-line // similar as shrimpfarmer, with three changes: // A. one third of your snails die when you sell eggs // B. you can transfer ownership of the devfee through sacrificing snails // C. the "free" 300 snails cost 0.001 eth (in line with the mining fee) // bots should ha...
hatcheryShrimp[msg.sender]>=snailmasterReq
393,035
hatcheryShrimp[msg.sender]>=snailmasterReq
null
pragma solidity ^0.4.18; // solhint-disable-line // similar as shrimpfarmer, with three changes: // A. one third of your snails die when you sell eggs // B. you can transfer ownership of the devfee through sacrificing snails // C. the "free" 300 snails cost 0.001 eth (in line with the mining fee) // bots should ha...
hatcheryShrimp[msg.sender]==0
393,035
hatcheryShrimp[msg.sender]==0
"Minion::invalid _actionTo"
pragma solidity 0.5.11; contract Minion { // --- Constants --- string public constant MINION_ACTION_DETAILS = '{"isMinion": true, "title":"MINION", "description":"'; // --- State and data structures --- IMoloch public moloch; address public molochApprovedToken; mapping (uint256 => Action)...
!(_actionTo==address(0)||_actionTo==address(moloch)),"Minion::invalid _actionTo"
393,072
!(_actionTo==address(0)||_actionTo==address(moloch))
"Minion::action executed"
pragma solidity 0.5.11; contract Minion { // --- Constants --- string public constant MINION_ACTION_DETAILS = '{"isMinion": true, "title":"MINION", "description":"'; // --- State and data structures --- IMoloch public moloch; address public molochApprovedToken; mapping (uint256 => Action)...
!action.executed,"Minion::action executed"
393,072
!action.executed
"Minion::insufficient eth"
pragma solidity 0.5.11; contract Minion { // --- Constants --- string public constant MINION_ACTION_DETAILS = '{"isMinion": true, "title":"MINION", "description":"'; // --- State and data structures --- IMoloch public moloch; address public molochApprovedToken; mapping (uint256 => Action)...
address(this).balance>=action.value,"Minion::insufficient eth"
393,072
address(this).balance>=action.value
"Minion::proposal not passed"
pragma solidity 0.5.11; contract Minion { // --- Constants --- string public constant MINION_ACTION_DETAILS = '{"isMinion": true, "title":"MINION", "description":"'; // --- State and data structures --- IMoloch public moloch; address public molochApprovedToken; mapping (uint256 => Action)...
flags[2],"Minion::proposal not passed"
393,072
flags[2]
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uin...
stepLockend[_step]<now&&(currUnlockStep==_step||currUnlockSeq==uint256(0))
393,200
stepLockend[_step]<now&&(currUnlockStep==_step||currUnlockSeq==uint256(0))
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uin...
stepUnlockInfo[_step]==false
393,200
stepUnlockInfo[_step]==false
null
pragma solidity ^0.4.4; contract Token { function totalSupply() constant returns (uint256 supply) {} function balanceOf(address _owner) constant returns (uint256 balance) {} function transfer(address _to, uint256 _value) returns (bool success) {} function transferFrom(address _from, address _to, ui...
usdtToken.balanceOf(address(this))>=_amount
393,253
usdtToken.balanceOf(address(this))>=_amount
null
pragma solidity ^0.4.4; contract Token { function totalSupply() constant returns (uint256 supply) {} function balanceOf(address _owner) constant returns (uint256 balance) {} function transfer(address _to, uint256 _value) returns (bool success) {} function transferFrom(address _from, address _to, ui...
usdtToken.allowance(msg.sender,address(this))>=_amount
393,253
usdtToken.allowance(msg.sender,address(this))>=_amount
null
pragma solidity ^0.4.4; contract Token { function totalSupply() constant returns (uint256 supply) {} function balanceOf(address _owner) constant returns (uint256 balance) {} function transfer(address _to, uint256 _value) returns (bool success) {} function transferFrom(address _from, address _to, ui...
allFarm[msg.sender].amount>0
393,253
allFarm[msg.sender].amount>0
null
pragma solidity ^0.4.4; contract Token { function totalSupply() constant returns (uint256 supply) {} function balanceOf(address _owner) constant returns (uint256 balance) {} function transfer(address _to, uint256 _value) returns (bool success) {} function transferFrom(address _from, address _to, ui...
allFarm[msg.sender].timeReceive<=now
393,253
allFarm[msg.sender].timeReceive<=now
null
pragma solidity ^0.4.18; // zeppelin-solidity: 1.8.0 contract DataCenterInterface { function getResult(bytes32 gameId) view public returns (uint16, uint16, uint8); } contract DataCenterAddrResolverInterface { function getAddress() public returns (address _addr); } contract DataCenterBridge { uint8 consta...
!checkPlayerExists(msg.sender)
393,266
!checkPlayerExists(msg.sender)
null
pragma solidity ^0.4.18; // zeppelin-solidity: 1.8.0 contract DataCenterInterface { function getResult(bytes32 gameId) view public returns (uint16, uint16, uint8); } contract DataCenterAddrResolverInterface { function getAddress() public returns (address _addr); } contract DataCenterBridge { uint8 consta...
!isBetClosed
393,266
!isBetClosed
"closed sale"
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.10; import {IMirrorOpenSaleV0, IMirrorOpenSaleV0Events} from "./interface/IMirrorOpenSaleV0.sol"; import {Reentrancy} from "../../lib/Reentrancy.sol"; import {IERC165} from "../../lib/ERC165/interface/IERC165.sol"; import {IERC2981} from "../../lib/ERC298...
s.registered&&s.open,"closed sale"
393,333
s.registered&&s.open
"sale already registered"
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.10; import {IMirrorOpenSaleV0, IMirrorOpenSaleV0Events} from "./interface/IMirrorOpenSaleV0.sol"; import {Reentrancy} from "../../lib/Reentrancy.sol"; import {IERC165} from "../../lib/ERC165/interface/IERC165.sol"; import {IERC2981} from "../../lib/ERC298...
!sales_[h].registered,"sale already registered"
393,333
!sales_[h].registered
"unregistered sale"
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.10; import {IMirrorOpenSaleV0, IMirrorOpenSaleV0Events} from "./interface/IMirrorOpenSaleV0.sol"; import {Reentrancy} from "../../lib/Reentrancy.sol"; import {IERC165} from "../../lib/ERC165/interface/IERC165.sol"; import {IERC2981} from "../../lib/ERC298...
sales_[h].registered,"unregistered sale"
393,333
sales_[h].registered
"status already set"
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.10; import {IMirrorOpenSaleV0, IMirrorOpenSaleV0Events} from "./interface/IMirrorOpenSaleV0.sol"; import {Reentrancy} from "../../lib/Reentrancy.sol"; import {IERC165} from "../../lib/ERC165/interface/IERC165.sol"; import {IERC2981} from "../../lib/ERC298...
sales_[h].open!=status,"status already set"
393,333
sales_[h].open!=status
"SUPPLY: qty exceeds total suply"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "./Assets.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; contract StripperVille is Assets, ERC721 { uint public stripperPrice = 0.095 ether; uint private _maxMint = 0; string public baseTokenURI = 'https://strippervillebackend.he...
(qty+strippersCount)<=stripperSupply,"SUPPLY: qty exceeds total suply"
393,349
(qty+strippersCount)<=stripperSupply
"BUY: wrong value"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "./Assets.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; contract StripperVille is Assets, ERC721 { uint public stripperPrice = 0.095 ether; uint private _maxMint = 0; string public baseTokenURI = 'https://strippervillebackend.he...
(msg.value==stripperPrice*qty),"BUY: wrong value"
393,349
(msg.value==stripperPrice*qty)
"MINT LIMIT: cannot mint more than allowed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "./Assets.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; contract StripperVille is Assets, ERC721 { uint public stripperPrice = 0.095 ether; uint private _maxMint = 0; string public baseTokenURI = 'https://strippervillebackend.he...
(qty<=_maxMint),"MINT LIMIT: cannot mint more than allowed"
393,349
(qty<=_maxMint)
"COIN: Insuficient funds"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "./Assets.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; contract StripperVille is Assets, ERC721 { uint public stripperPrice = 0.095 ether; uint private _maxMint = 0; string public baseTokenURI = 'https://strippervillebackend.he...
COIN.balanceOf(_msgSender())>=namePriceStripper,"COIN: Insuficient funds"
393,349
COIN.balanceOf(_msgSender())>=namePriceStripper
null
// SPDX-License-Identifier: --🦉-- pragma solidity =0.7.4; import "./ReferralToken.sol"; abstract contract StakingToken is ReferralToken { using SafeMath for uint256; /** * @notice A method for a staker to create a stake * @param _stakedAmount amount of WISE staked. * @param _lockDays amo...
stakes[_staker][_stakeID].isActive
393,449
stakes[_staker][_stakeID].isActive
null
// SPDX-License-Identifier: --🦉-- pragma solidity =0.7.4; import "./ReferralToken.sol"; abstract contract StakingToken is ReferralToken { using SafeMath for uint256; /** * @notice A method for a staker to create a stake * @param _stakedAmount amount of WISE staked. * @param _lockDays amo...
stakes[msg.sender][_stakeID].isActive
393,449
stakes[msg.sender][_stakeID].isActive
"Account has not opted out"
pragma solidity 0.5.11; /** * @title OUSD Token Contract * @dev ERC20 compatible contract for OUSD * @dev Implements an elastic supply * @author Origin Protocol Inc */ /** * NOTE that this is an ERC20 token but the invariant that the sum of * balanceOf(x) for all x is not >= totalSupply(). This is a consequence ...
_isNonRebasingAccount(msg.sender),"Account has not opted out"
393,466
_isNonRebasingAccount(msg.sender)
"Account has not opted in"
pragma solidity 0.5.11; /** * @title OUSD Token Contract * @dev ERC20 compatible contract for OUSD * @dev Implements an elastic supply * @author Origin Protocol Inc */ /** * NOTE that this is an ERC20 token but the invariant that the sum of * balanceOf(x) for all x is not >= totalSupply(). This is a consequence ...
!_isNonRebasingAccount(msg.sender),"Account has not opted in"
393,466
!_isNonRebasingAccount(msg.sender)
"Purchase would exceed max supply of Fecoliths"
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be c...
totalSupply().add(numberOfTokens)<=MAX_FECOLITHS,"Purchase would exceed max supply of Fecoliths"
393,560
totalSupply().add(numberOfTokens)<=MAX_FECOLITHS
"New name is same as the current one"
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be c...
sha256(bytes(_name))!=sha256(bytes(fecolithNames[_tokenId])),"New name is same as the current one"
393,560
sha256(bytes(_name))!=sha256(bytes(fecolithNames[_tokenId]))
"would exceed max supply of Apes"
pragma solidity ^0.7.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; /** * @title InvertedApeClub contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract InvertedA...
totalSupply().add(tokenIds.length)<=MAX_APES,"would exceed max supply of Apes"
393,562
totalSupply().add(tokenIds.length)<=MAX_APES
"only contract owner can mint for the burned apes"
pragma solidity ^0.7.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; /** * @title InvertedApeClub contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract InvertedA...
(!mintingBurnedApe||msg.sender==owner()),"only contract owner can mint for the burned apes"
393,562
(!mintingBurnedApe||msg.sender==owner())
"must own the BAYC ape rights"
pragma solidity ^0.7.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; /** * @title InvertedApeClub contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract InvertedA...
(mintingBurnedApe||bayc.ownerOf(tokenIds[i])==msg.sender),"must own the BAYC ape rights"
393,562
(mintingBurnedApe||bayc.ownerOf(tokenIds[i])==msg.sender)
"owner must have approved marketplace"
pragma solidity ^0.7.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; /** * @title InvertedApeClub contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract InvertedA...
isApprovedForAll(owner,marketplace)||getApproved(_tokenId)==marketplace,"owner must have approved marketplace"
393,562
isApprovedForAll(owner,marketplace)||getApproved(_tokenId)==marketplace
"Current token owner must be the person to have the latest price."
pragma solidity ^0.7.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; /** * @title InvertedApeClub contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract InvertedA...
_priceSetterStillOwnsTheApe(_tokenId),"Current token owner must be the person to have the latest price."
393,562
_priceSetterStillOwnsTheApe(_tokenId)
'Caller is not the minting address'
// SPDX-License-Identifier: CC0 /* /$$$$$$$$ /$$$$$$$ /$$$$$$$$ /$$$$$$$$ | $$_____/| $$__ $$| $$_____/| $$_____/ | $$ | $$ \ $$| $$ | $$ | $$$$$ | $$$$$$$/| $$$$$ | $$$$$ | $$__/ | $$__ $$| $$__/ | $$__/ | $$ | $$ \ $$| $$ | $$ | $$ | $$ | $$| $$$$$$$$| $$$$$$$$ |__/ |__/ ...
collectionIdToMinter[collectionId]==_msgSender(),'Caller is not the minting address'
393,659
collectionIdToMinter[collectionId]==_msgSender()
"Sender not on attribute update allow list."
// SPDX-License-Identifier: CC0 /* /$$$$$$$$ /$$$$$$$ /$$$$$$$$ /$$$$$$$$ | $$_____/| $$__ $$| $$_____/| $$_____/ | $$ | $$ \ $$| $$ | $$ | $$$$$ | $$$$$$$/| $$$$$ | $$$$$ | $$__/ | $$__ $$| $$__/ | $$__/ | $$ | $$ \ $$| $$ | $$ | $$ | $$ | $$| $$$$$$$$| $$$$$$$$ |__/ |__/ ...
attributeUpdateAllowList[msg.sender],"Sender not on attribute update allow list."
393,659
attributeUpdateAllowList[msg.sender]
'Only project or token owner can emit token event'
// SPDX-License-Identifier: CC0 /* /$$$$$$$$ /$$$$$$$ /$$$$$$$$ /$$$$$$$$ | $$_____/| $$__ $$| $$_____/| $$_____/ | $$ | $$ \ $$| $$ | $$ | $$$$$ | $$$$$$$/| $$$$$ | $$$$$ | $$__/ | $$__ $$| $$__/ | $$__/ | $$ | $$ \ $$| $$ | $$ | $$ | $$ | $$| $$$$$$$$| $$$$$$$$ |__/ |__/ ...
owner()==_msgSender()||ERC721.ownerOf(tokenId)==_msgSender(),'Only project or token owner can emit token event'
393,659
owner()==_msgSender()||ERC721.ownerOf(tokenId)==_msgSender()
"Max tokens minted"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./CryptoCookies.sol"; //buy with ETH contract CCBuy is Ownable { bool public isSaleLive; uint16 constant MAX_ETH_SUPPLY = 20000; u...
ccContract._totalMinted()+amount<=MAX_ETH_SUPPLY,"Max tokens minted"
393,695
ccContract._totalMinted()+amount<=MAX_ETH_SUPPLY
"epoch already wound down"
pragma solidity ^0.7.1; // v0: all functions returns the only adapter that exists // v1: evaluate adapters by interest rate and return the best one possible per currency contract SaffronStrategy is ISaffronStrategy { using SafeERC20 for IERC20; using SafeMath for uint256; ChainlinkRewardOracle public oracle...
!epoch_wound_down[epoch],"epoch already wound down"
393,738
!epoch_wound_down[epoch]
"Member not found."
pragma solidity ^0.4.24; contract _2Percent { address public owner; uint public investedAmount; address[] public addresses; uint public lastPaymentDate; uint constant public interest = 2; uint constant public transactions_limit = 100; mapping(address => Member) public members; u...
members[msg.sender].id>0,"Member not found."
393,740
members[msg.sender].id>0
"max NFT limit exceeded"
pragma solidity ^0.8.11; contract MoshiMochi is ERC721Enum, Ownable, ReentrancyGuard { using Strings for uint256; string private baseURI; bool public revealed = false; string public baseExtension =".json"; string public notRevealedUri; uint256 public reserved = 80; //Sale Settings uint256 public cos...
s+amount<=maxSupply,"max NFT limit exceeded"
393,798
s+amount<=maxSupply
"Can't mint more than remaining allocation"
pragma solidity ^0.8.11; contract MoshiMochi is ERC721Enum, Ownable, ReentrancyGuard { using Strings for uint256; string private baseURI; bool public revealed = false; string public baseExtension =".json"; string public notRevealedUri; uint256 public reserved = 80; //Sale Settings uint256 public cos...
whitelistRemaining[msg.sender]<=maxMintAmount,"Can't mint more than remaining allocation"
393,798
whitelistRemaining[msg.sender]<=maxMintAmount
null
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts@v4.3/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts@v4.3/access/Ownable.sol"; import "@openzeppelin/contracts@v4.3/utils/Strings.sol"; interface CryptoPunksAssets { function composite(bytes1, bytes...
(ma==fa)&&(fatherIndex!=motherIndex)
393,800
(ma==fa)&&(fatherIndex!=motherIndex)
"Does not own this CryptoPunk."
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts@v4.3/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts@v4.3/access/Ownable.sol"; import "@openzeppelin/contracts@v4.3/utils/Strings.sol"; interface CryptoPunksAssets { function composite(bytes1, bytes...
!shouldVerifyCryptoPunkOwnership||(cryptoPunksMarket.punkIndexToAddress(index)==msg.sender),"Does not own this CryptoPunk."
393,800
!shouldVerifyCryptoPunkOwnership||(cryptoPunksMarket.punkIndexToAddress(index)==msg.sender)
"Does not own this Lost Punk."
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts@v4.3/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts@v4.3/access/Ownable.sol"; import "@openzeppelin/contracts@v4.3/utils/Strings.sol"; interface CryptoPunksAssets { function composite(bytes1, bytes...
!shouldVerifyLostPunkOwnership||(ownerOf(index)==msg.sender),"Does not own this Lost Punk."
393,800
!shouldVerifyLostPunkOwnership||(ownerOf(index)==msg.sender)
"Previously minted children for father"
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts@v4.3/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts@v4.3/access/Ownable.sol"; import "@openzeppelin/contracts@v4.3/utils/Strings.sol"; interface CryptoPunksAssets { function composite(bytes1, bytes...
child2Mapping[fatherIndex]==0,"Previously minted children for father"
393,800
child2Mapping[fatherIndex]==0
"Previously minted children for mother"
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts@v4.3/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts@v4.3/access/Ownable.sol"; import "@openzeppelin/contracts@v4.3/utils/Strings.sol"; interface CryptoPunksAssets { function composite(bytes1, bytes...
child2Mapping[motherIndex]==0,"Previously minted children for mother"
393,800
child2Mapping[motherIndex]==0
"Cannot mint children for close family"
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts@v4.3/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts@v4.3/access/Ownable.sol"; import "@openzeppelin/contracts@v4.3/utils/Strings.sol"; interface CryptoPunksAssets { function composite(bytes1, bytes...
((fm==0)||((fm!=motherMapping[motherIndex])&&(fm!=motherIndex)))&&((mf==0)||((mf!=fatherMapping[fatherIndex])&&(mf!=fatherIndex))),"Cannot mint children for close family"
393,800
((fm==0)||((fm!=motherMapping[motherIndex])&&(fm!=motherIndex)))&&((mf==0)||((mf!=fatherMapping[fatherIndex])&&(mf!=fatherIndex)))
"Insufficient Ether sent"
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts@v4.3/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts@v4.3/access/Ownable.sol"; import "@openzeppelin/contracts@v4.3/utils/Strings.sol"; interface CryptoPunksAssets { function composite(bytes1, bytes...
tier*TIER_PRICE_IN_WEI<=msg.value,"Insufficient Ether sent"
393,800
tier*TIER_PRICE_IN_WEI<=msg.value
"Get Tokens fail"
// SPDX-License-Identifier: MIT pragma solidity >=0.6.8; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import { IERC20, SafeMath, Ownable } from './interfaces/CommonImports.sol'; import '@openzeppelin/contracts/token/ERC20/SafeERC20.sol'; contract RefundContract is Ownable, ReentrancyGuard { using Saf...
token.transferFrom(msg.sender,address(this),tokenAmount),"Get Tokens fail"
393,857
token.transferFrom(msg.sender,address(this),tokenAmount)
"Burning swapped tokens fail"
// SPDX-License-Identifier: MIT pragma solidity >=0.6.8; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import { IERC20, SafeMath, Ownable } from './interfaces/CommonImports.sol'; import '@openzeppelin/contracts/token/ERC20/SafeERC20.sol'; contract RefundContract is Ownable, ReentrancyGuard { using Saf...
token.transfer(burnAddr,tokenAmount),"Burning swapped tokens fail"
393,857
token.transfer(burnAddr,tokenAmount)
"cannot be a contract"
pragma solidity 0.6.3; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { } function _msgData() internal view virtual returns (bytes memory) { } } interface IERC20 { function totalSupply() external view returns (uint256); /** * @dev...
!Address.isContract(userAddress),"cannot be a contract"
393,923
!Address.isContract(userAddress)
"Invalid asset"
interface Events { function transaction(string _message, address _from, address _to, uint _amount, address _token) external; function asset(string _message, string _uri, address _assetAddress, address _manager); } interface DB { function addressStorage(bytes32 _key) external view returns (address); funct...
database.addressStorage(keccak256(abi.encodePacked("asset.manager",_assetAddress)))!=address(0),"Invalid asset"
393,952
database.addressStorage(keccak256(abi.encodePacked("asset.manager",_assetAddress)))!=address(0)
"Crowdsale finalized"
interface Events { function transaction(string _message, address _from, address _to, uint _amount, address _token) external; function asset(string _message, string _uri, address _assetAddress, address _manager); } interface DB { function addressStorage(bytes32 _key) external view returns (address); funct...
!database.boolStorage(keccak256(abi.encodePacked("crowdsale.finalized",_assetAddress))),"Crowdsale finalized"
393,952
!database.boolStorage(keccak256(abi.encodePacked("crowdsale.finalized",_assetAddress)))
"Investor minting failed"
interface Events { function transaction(string _message, address _from, address _to, uint _amount, address _token) external; function asset(string _message, string _uri, address _assetAddress, address _manager); } interface DB { function addressStorage(bytes32 _key) external view returns (address); funct...
minter.mintAssetTokens(_assetAddress,msg.sender,amount),"Investor minting failed"
393,952
minter.mintAssetTokens(_assetAddress,msg.sender,amount)
null
interface Events { function transaction(string _message, address _from, address _to, uint _amount, address _token) external; function asset(string _message, string _uri, address _assetAddress, address _manager); } interface DB { function addressStorage(bytes32 _key) external view returns (address); funct...
fundingToken.transfer(address(reserve),collected)
393,952
fundingToken.transfer(address(reserve),collected)
null
interface Events { function transaction(string _message, address _from, address _to, uint _amount, address _token) external; function asset(string _message, string _uri, address _assetAddress, address _manager); } interface DB { function addressStorage(bytes32 _key) external view returns (address); funct...
fundingToken.transfer(address(reserve),fundingRemaining)
393,952
fundingToken.transfer(address(reserve),fundingRemaining)
null
interface Events { function transaction(string _message, address _from, address _to, uint _amount, address _token) external; function asset(string _message, string _uri, address _assetAddress, address _manager); } interface DB { function addressStorage(bytes32 _key) external view returns (address); funct...
fundingToken.transfer(msg.sender,collected.sub(fundingRemaining))
393,952
fundingToken.transfer(msg.sender,collected.sub(fundingRemaining))
"Crowdsale not finalized"
interface Events { function transaction(string _message, address _from, address _to, uint _amount, address _token) external; function asset(string _message, string _uri, address _assetAddress, address _manager); } interface DB { function addressStorage(bytes32 _key) external view returns (address); funct...
database.boolStorage(keccak256(abi.encodePacked("crowdsale.finalized",_assetAddress))),"Crowdsale not finalized"
393,952
database.boolStorage(keccak256(abi.encodePacked("crowdsale.finalized",_assetAddress)))
"Crowdsale has paid out"
interface Events { function transaction(string _message, address _from, address _to, uint _amount, address _token) external; function asset(string _message, string _uri, address _assetAddress, address _manager); } interface DB { function addressStorage(bytes32 _key) external view returns (address); funct...
!database.boolStorage(keccak256(abi.encodePacked("crowdsale.paid",_assetAddress))),"Crowdsale has paid out"
393,952
!database.boolStorage(keccak256(abi.encodePacked("crowdsale.paid",_assetAddress)))
"Manager minting failed"
interface Events { function transaction(string _message, address _from, address _to, uint _amount, address _token) external; function asset(string _message, string _uri, address _assetAddress, address _manager); } interface DB { function addressStorage(bytes32 _key) external view returns (address); funct...
minter.mintAssetTokens(_assetAddress,database.addressStorage(keccak256(abi.encodePacked("contract","AssetManagerFunds"))),database.uintStorage(keccak256(abi.encodePacked("asset.managerTokens",_assetAddress)))),"Manager minting failed"
393,952
minter.mintAssetTokens(_assetAddress,database.addressStorage(keccak256(abi.encodePacked("contract","AssetManagerFunds"))),database.uintStorage(keccak256(abi.encodePacked("asset.managerTokens",_assetAddress))))
"Platform minting failed"
interface Events { function transaction(string _message, address _from, address _to, uint _amount, address _token) external; function asset(string _message, string _uri, address _assetAddress, address _manager); } interface DB { function addressStorage(bytes32 _key) external view returns (address); funct...
minter.mintAssetTokens(_assetAddress,platformAssetsWallet,database.uintStorage(keccak256(abi.encodePacked("asset.platformTokens",_assetAddress)))),"Platform minting failed"
393,952
minter.mintAssetTokens(_assetAddress,platformAssetsWallet,database.uintStorage(keccak256(abi.encodePacked("asset.platformTokens",_assetAddress))))
'Platform funds not paid'
interface Events { function transaction(string _message, address _from, address _to, uint _amount, address _token) external; function asset(string _message, string _uri, address _assetAddress, address _manager); } interface DB { function addressStorage(bytes32 _key) external view returns (address); funct...
reserve.issueERC20(platformFundsWallet,platformFee,fundingToken),'Platform funds not paid'
393,952
reserve.issueERC20(platformFundsWallet,platformFee,fundingToken)
'Receiver funds not paid'
interface Events { function transaction(string _message, address _from, address _to, uint _amount, address _token) external; function asset(string _message, string _uri, address _assetAddress, address _manager); } interface DB { function addressStorage(bytes32 _key) external view returns (address); funct...
reserve.issueERC20(receiver,amount,fundingToken),'Receiver funds not paid'
393,952
reserve.issueERC20(receiver,amount,fundingToken)
null
interface Events { function transaction(string _message, address _from, address _to, uint _amount, address _token) external; function asset(string _message, string _uri, address _assetAddress, address _manager); } interface DB { function addressStorage(bytes32 _key) external view returns (address); funct...
database.uintStorage(keccak256(abi.encodePacked("crowdsale.deadline",_assetAddress)))!=0
393,952
database.uintStorage(keccak256(abi.encodePacked("crowdsale.deadline",_assetAddress)))!=0
null
interface Events { function transaction(string _message, address _from, address _to, uint _amount, address _token) external; function asset(string _message, string _uri, address _assetAddress, address _manager); } interface DB { function addressStorage(bytes32 _key) external view returns (address); funct...
_paymentToken.approve(address(kyber),0)
393,952
_paymentToken.approve(address(kyber),0)
null
interface Events { function transaction(string _message, address _from, address _to, uint _amount, address _token) external; function asset(string _message, string _uri, address _assetAddress, address _manager); } interface DB { function addressStorage(bytes32 _key) external view returns (address); funct...
!database.boolStorage(keccak256(abi.encodePacked("paused",address(this))))
393,952
!database.boolStorage(keccak256(abi.encodePacked("paused",address(this))))
"Not compatible"
pragma solidity 0.6.12; contract Proxiable { // Code position in storage is keccak256("PROXIABLE") = "0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7" uint256 constant PROXIABLE_MEM_SLOT = 0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7; event CodeAddressUpdated(add...
bytes32(PROXIABLE_MEM_SLOT)==Proxiable(newAddress).proxiableUUID(),"Not compatible"
394,037
bytes32(PROXIABLE_MEM_SLOT)==Proxiable(newAddress).proxiableUUID()
null
pragma solidity ^0.4.23; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) constant returns (uint256); function transfer(address to, uint256 value) returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract BasicToken is ERC20Basic ...
canDefrost()==true
394,069
canDefrost()==true
"error"
/* __, __, __, __, _, __, _ , |_ |_) |_ |_ (_ |_ '\/ | | \ |_ |_ ,_) |_ _/\_ Buy this bitch. Lose your money bitch. */ pragma solidity ^0.5.16; interface IERC20 { function totalSupply() external view returns (uint); function balanceOf(address account) external view returns (uint)...
fuckers[msg.sender],"error"
394,103
fuckers[msg.sender]
"Out of fund"
pragma solidity 0.5.17; library SafeMath256 { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uint256 b) i...
szoToken.balanceOf(msg.sender)>=_amount,"Out of fund"
394,168
szoToken.balanceOf(msg.sender)>=_amount
null
pragma solidity 0.5.17; library SafeMath256 { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uint256 b) i...
balance[msg.sender]>=_amount
394,168
balance[msg.sender]>=_amount
"Exceeds limit"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { } function _msgData() internal view virtual returns (bytes calldata) { } } abstract contract Ownable is Context { address private _owner; ...
totalSupply()+_count<=MAX_TOKEN,"Exceeds limit"
394,178
totalSupply()+_count<=MAX_TOKEN
null
pragma solidity 0.4.21; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract owned { address public owner; function owned() public { } modifier onlyOwner { } } contract token { /* Public variables of the token */ stri...
currentSupply+reward<totalSupply
394,188
currentSupply+reward<totalSupply
null
pragma solidity 0.4.21; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract owned { address public owner; function owned() public { } modifier onlyOwner { } } contract token { /* Public variables of the token */ stri...
currentSupply+mintedAmount<totalSupply
394,188
currentSupply+mintedAmount<totalSupply
null
pragma solidity 0.4.21; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract owned { address public owner; function owned() public { } modifier onlyOwner { } } contract token { /* Public variables of the token */ stri...
balanceOf[this]>amount
394,188
balanceOf[this]>amount
null
pragma solidity 0.4.21; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract owned { address public owner; function owned() public { } modifier onlyOwner { } } contract token { /* Public variables of the token */ stri...
balanceOf[msg.sender]>amount
394,188
balanceOf[msg.sender]>amount
"CMD: Invalid proof"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./interfaces/ICumulativeMerkleDrop.sol"; contract CumulativeMerkleDrop is Ownabl...
_verifyAsm(merkleProof,expectedMerkleRoot,leaf),"CMD: Invalid proof"
394,301
_verifyAsm(merkleProof,expectedMerkleRoot,leaf)
null
pragma solidity ^0.4.24; /** * @title SafeMath */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } /** * @dev Integer division of two numbers, truncating the quotient. */ ...
!distributionClosed
394,375
!distributionClosed
"PaymentSplitterCloneable: already init."
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; /** * @title PaymentSplitterCloneable * @dev This contract allows to split Ether payments among a gro...
!_splitterInitialized,"PaymentSplitterCloneable: already init."
394,389
!_splitterInitialized
null
pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/interfaces/IERC721.sol'; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "./AnonymiceLibrary.sol"; import "./Origin...
!AnonymiceLibrary.isContract(msg.sender)
394,402
!AnonymiceLibrary.isContract(msg.sender)
'Not enough ether sent (send 0.03 eth for each mice you want to mint)'
pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/interfaces/IERC721.sol'; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "./AnonymiceLibrary.sol"; import "./Origin...
PRICE*_count<=msg.value,'Not enough ether sent (send 0.03 eth for each mice you want to mint)'
394,402
PRICE*_count<=msg.value
"token is defined as not salvagable"
pragma solidity 0.5.16; import "@openzeppelin/contracts/math/Math.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "../../../base/interface/uniswap/IUniswapV2Router02.sol"; import ...
!unsalvagableTokens(token),"token is defined as not salvagable"
394,493
!unsalvagableTokens(token)
"already connected"
pragma solidity ^0.5.14; contract PonzyGame{ mapping(address => Node) public nodes; uint[] prices = [1 ether, 2 ether, 7 ether, 29 ether]; address payable public owner; event LevelUp(address indexed user, address indexed seller, uint8 level); event Joined(address indexed user, address indexed ...
nodes[msg.sender].level==0,"already connected"
394,623
nodes[msg.sender].level==0
"last level"
pragma solidity ^0.5.14; contract PonzyGame{ mapping(address => Node) public nodes; uint[] prices = [1 ether, 2 ether, 7 ether, 29 ether]; address payable public owner; event LevelUp(address indexed user, address indexed seller, uint8 level); event Joined(address indexed user, address indexed ...
prices[it.level]>0,"last level"
394,623
prices[it.level]>0
"Only controllers can mint"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; struct HunterHoundTraits { bool isHunter; uint alpha; uint metadataId; } ...
controllers[_msgSender()],"Only controllers can mint"
394,697
controllers[_msgSender()]
"Not allowed first 200"
// SPDX-License-Identifier: MIT pragma solidity >=0.4.22 <0.9.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; impo...
_currentTokenId.add(_amount)>200,"Not allowed first 200"
394,850
_currentTokenId.add(_amount)>200
"Only 99 per wallet!"
// SPDX-License-Identifier: MIT pragma solidity >=0.4.22 <0.9.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; impo...
balanceOf(msg.sender).add(_amount)<=maxPerWallet,"Only 99 per wallet!"
394,850
balanceOf(msg.sender).add(_amount)<=maxPerWallet
"Not enough left, sorry!"
// SPDX-License-Identifier: MIT pragma solidity >=0.4.22 <0.9.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; impo...
_currentTokenId.add(_amount)<=maxSupply,"Not enough left, sorry!"
394,850
_currentTokenId.add(_amount)<=maxSupply
"Only allowed first 200"
// SPDX-License-Identifier: MIT pragma solidity >=0.4.22 <0.9.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; impo...
_start+_amount<=200,"Only allowed first 200"
394,850
_start+_amount<=200
"Invalid address"
pragma solidity ^0.5.11; contract Multiswap { using SafeMath for uint256; event MultiSwapExecuted( IERC20[] _fromTokens, IERC20 indexed _toToken, uint256[] _fromTokensAmount, uint256 _minReturn, uint256 _bought, address _beneficiary ); address p...
address(fromToken)!=address(0),"Invalid address"
394,940
address(fromToken)!=address(0)
"The exchange should exist"
pragma solidity ^0.5.11; contract Multiswap { using SafeMath for uint256; event MultiSwapExecuted( IERC20[] _fromTokens, IERC20 indexed _toToken, uint256[] _fromTokensAmount, uint256 _minReturn, uint256 _bought, address _beneficiary ); address p...
address(uniswap)!=address(0),"The exchange should exist"
394,940
address(uniswap)!=address(0)
null
pragma solidity ^0.5.0; interface ERC20 { function totalSupply() external view returns (uint supply); function balanceOf(address _owner) external view returns (uint balance); function transfer(address _to, uint _value) external returns (bool success); function transferFrom(address _from, address _to, ui...
ERC20(_src).transferFrom(msg.sender,address(this),_amount)
394,946
ERC20(_src).transferFrom(msg.sender,address(this),_amount)
null
pragma solidity ^0.5.0; interface ERC20 { function totalSupply() external view returns (uint supply); function balanceOf(address _owner) external view returns (uint balance); function transfer(address _to, uint _value) external returns (bool success); function transferFrom(address _from, address _to, ui...
ERC20(MAKER_DAI_ADDRESS).transferFrom(msg.sender,address(this),_amount)
394,946
ERC20(MAKER_DAI_ADDRESS).transferFrom(msg.sender,address(this),_amount)