comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"Auction address already set"
//SPDX-License-Identifier: MIT pragma solidity 0.7.5; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "../nft/INft.sol"; import "./IAuction.sol"; import "./IHub.sol"; import "../registry/Registry.sol"; contract AuctionHub ...
auctions_[_auctionID].auctionContract!=_newImplementation,"Auction address already set"
350,668
auctions_[_auctionID].auctionContract!=_newImplementation
"Auction has been activated"
//SPDX-License-Identifier: MIT pragma solidity 0.7.5; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "../nft/INft.sol"; import "./IAuction.sol"; import "./IHub.sol"; import "../registry/Registry.sol"; contract AuctionHub ...
newAuction.isActive()==false,"Auction has been activated"
350,668
newAuction.isActive()==false
"ERC20PresetMinterPauser: must have firestarter role to pause"
pragma solidity ^0.6.0; /** , ,, , | || | ,/ _____ \. \_||_/ ||_/ \_|| || \_| . . |_/ || | L | ,|| |`==='| |>| ___`> -<'___ ...
hasRole(FIRESTARTER_ROLE,_msgSender()),"ERC20PresetMinterPauser: must have firestarter role to pause"
350,688
hasRole(FIRESTARTER_ROLE,_msgSender())
null
pragma solidity ^0.4.24; import "./Ownable.sol"; /** * @title Lockable * @dev lock up token transfer during duration. This helps lock up private and pre-sale investor cannot sell token certain period. * @author Geunil(Brian) Lee */ contract Lockable is Ownable { /** * @dev hold lock up address and ...
lockedUp[msg.sender]<now||lockedUp[msg.sender]==0
350,696
lockedUp[msg.sender]<now||lockedUp[msg.sender]==0
null
pragma solidity ^0.4.24; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". * based on https://https://github.com/OpenZeppelin/zeppelin-solidity. modified to have multiple ownersh...
owner[msg.sender]==true
350,697
owner[msg.sender]==true
"Exceeds Max Public Supply"
pragma solidity ^0.8.7; contract SKULLAPEGANG is ERC721Enumerable, Ownable { using Counters for Counters.Counter; using Strings for uint256; //Counters Counters.Counter internal _count; Counters.Counter internal _publicCount; string public baseURI; string public baseExtension = ".json"; uint256...
_publicCount.current()+_mintAmount<=maxSupply,"Exceeds Max Public Supply"
350,765
_publicCount.current()+_mintAmount<=maxSupply
"Your quota exceeded for per address "
pragma solidity ^0.8.7; contract SKULLAPEGANG is ERC721Enumerable, Ownable { using Counters for Counters.Counter; using Strings for uint256; //Counters Counters.Counter internal _count; Counters.Counter internal _publicCount; string public baseURI; string public baseExtension = ".json"; uint256...
(trackMintedCount+_mintAmount)<=maxMintAmount,"Your quota exceeded for per address "
350,765
(trackMintedCount+_mintAmount)<=maxMintAmount
"Exceeds Max Whitelist Supply"
pragma solidity ^0.8.7; contract SKULLAPEGANG is ERC721Enumerable, Ownable { using Counters for Counters.Counter; using Strings for uint256; //Counters Counters.Counter internal _count; Counters.Counter internal _publicCount; string public baseURI; string public baseExtension = ".json"; uint256...
_count.current()+_mintAmount<=maxWhitelistSupply,"Exceeds Max Whitelist Supply"
350,765
_count.current()+_mintAmount<=maxWhitelistSupply
"Supply exceeded with provided amount."
pragma solidity ^0.8.0; contract StonedApeSaturnClub is ERC721Enumerable, Ownable { using Strings for uint256; address public _t1 = 0xd230f390AbB50470fa265a022d673c6147BDc396; address public _t2 = 0xbc15b4665633eC65925040fAb61D0fC1C4eeFAaB; address public _t3 = 0x5F55Cd7A509fdA9F0beB9309A49a689EB8C...
supply+_amount<=_supply-_gifts,"Supply exceeded with provided amount."
350,801
supply+_amount<=_supply-_gifts
null
pragma solidity ^0.8.0; contract StonedApeSaturnClub is ERC721Enumerable, Ownable { using Strings for uint256; address public _t1 = 0xd230f390AbB50470fa265a022d673c6147BDc396; address public _t2 = 0xbc15b4665633eC65925040fAb61D0fC1C4eeFAaB; address public _t3 = 0x5F55Cd7A509fdA9F0beB9309A49a689EB8C...
payable(_t1).send(_p1)
350,801
payable(_t1).send(_p1)
null
pragma solidity ^0.8.0; contract StonedApeSaturnClub is ERC721Enumerable, Ownable { using Strings for uint256; address public _t1 = 0xd230f390AbB50470fa265a022d673c6147BDc396; address public _t2 = 0xbc15b4665633eC65925040fAb61D0fC1C4eeFAaB; address public _t3 = 0x5F55Cd7A509fdA9F0beB9309A49a689EB8C...
payable(_t2).send(_p2)
350,801
payable(_t2).send(_p2)
null
pragma solidity ^0.8.0; contract StonedApeSaturnClub is ERC721Enumerable, Ownable { using Strings for uint256; address public _t1 = 0xd230f390AbB50470fa265a022d673c6147BDc396; address public _t2 = 0xbc15b4665633eC65925040fAb61D0fC1C4eeFAaB; address public _t3 = 0x5F55Cd7A509fdA9F0beB9309A49a689EB8C...
payable(_t3).send(_p3)
350,801
payable(_t3).send(_p3)
null
pragma solidity ^0.8.0; contract StonedApeSaturnClub is ERC721Enumerable, Ownable { using Strings for uint256; address public _t1 = 0xd230f390AbB50470fa265a022d673c6147BDc396; address public _t2 = 0xbc15b4665633eC65925040fAb61D0fC1C4eeFAaB; address public _t3 = 0x5F55Cd7A509fdA9F0beB9309A49a689EB8C...
payable(_t4).send(_p4)
350,801
payable(_t4).send(_p4)
null
pragma solidity ^0.8.0; contract StonedApeSaturnClub is ERC721Enumerable, Ownable { using Strings for uint256; address public _t1 = 0xd230f390AbB50470fa265a022d673c6147BDc396; address public _t2 = 0xbc15b4665633eC65925040fAb61D0fC1C4eeFAaB; address public _t3 = 0x5F55Cd7A509fdA9F0beB9309A49a689EB8C...
payable(_t5).send(_p5)
350,801
payable(_t5).send(_p5)
null
pragma solidity ^0.8.0; contract StonedApeSaturnClub is ERC721Enumerable, Ownable { using Strings for uint256; address public _t1 = 0xd230f390AbB50470fa265a022d673c6147BDc396; address public _t2 = 0xbc15b4665633eC65925040fAb61D0fC1C4eeFAaB; address public _t3 = 0x5F55Cd7A509fdA9F0beB9309A49a689EB8C...
payable(_t6).send(_p6)
350,801
payable(_t6).send(_p6)
null
pragma solidity ^0.8.0; contract StonedApeSaturnClub is ERC721Enumerable, Ownable { using Strings for uint256; address public _t1 = 0xd230f390AbB50470fa265a022d673c6147BDc396; address public _t2 = 0xbc15b4665633eC65925040fAb61D0fC1C4eeFAaB; address public _t3 = 0x5F55Cd7A509fdA9F0beB9309A49a689EB8C...
payable(_t7).send(_p7)
350,801
payable(_t7).send(_p7)
null
pragma solidity ^0.8.0; contract StonedApeSaturnClub is ERC721Enumerable, Ownable { using Strings for uint256; address public _t1 = 0xd230f390AbB50470fa265a022d673c6147BDc396; address public _t2 = 0xbc15b4665633eC65925040fAb61D0fC1C4eeFAaB; address public _t3 = 0x5F55Cd7A509fdA9F0beB9309A49a689EB8C...
payable(_t8).send(_p8)
350,801
payable(_t8).send(_p8)
"PRESALE: Only registered customers can mint!"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownabl...
_whitelist[_to]==true,"PRESALE: Only registered customers can mint!"
350,919
_whitelist[_to]==true
"MINT: Current count exceeds maximum element count."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownabl...
total+_ids.length<=_maxElements,"MINT: Current count exceeds maximum element count."
350,919
total+_ids.length<=_maxElements
"MINT: Those ids already have been used for other customers"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownabl...
_isOccupiedId[_ids[i]]==false,"MINT: Those ids already have been used for other customers"
350,919
_isOccupiedId[_ids[i]]==false
"UnicVester: Already initialized token"
pragma solidity 0.6.12; contract UnicVester is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; IUnicSwapV2Factory public factory; address public bar; address public unic; address public weth; uint256 public vestingDuration; mapping(address => Schedule) public v...
!initialized[token],"UnicVester: Already initialized token"
351,018
!initialized[token]
"MOON: Account is less than the qty limit"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /**************************************** * @author: tos_nft * * @team: TheOtherSide * **************************************** * TOS-ERC721 provides low-gas * * mints + transfers * *******************...
accessList[msg.sender]>=quantity,"MOON: Account is less than the qty limit"
351,028
accessList[msg.sender]>=quantity
"Address: insufficient balance"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /**************************************** * @author: tos_nft * * @team: TheOtherSide * **************************************** * TOS-ERC721 provides low-gas * * mints + transfers * *******************...
address(this).balance>=amount_,"Address: insufficient balance"
351,028
address(this).balance>=amount_
"MOON: Mint/order exceeds supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /**************************************** * @author: tos_nft * * @team: TheOtherSide * **************************************** * TOS-ERC721 provides low-gas * * mints + transfers * *******************...
supply+totalQuantity<MAX_SUPPLY,"MOON: Mint/order exceeds supply"
351,028
supply+totalQuantity<MAX_SUPPLY
"MOON: transfer of token that is not owned"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /**************************************** * @author: tos_nft * * @team: TheOtherSide * **************************************** * TOS-ERC721 provides low-gas * * mints + transfers * *******************...
moons[tokenId].owner==from,"MOON: transfer of token that is not owned"
351,028
moons[tokenId].owner==from
"MOON._unstake: Sender must have staked tokenID"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /**************************************** * @author: tos_nft * * @team: TheOtherSide * **************************************** * TOS-ERC721 provides low-gas * * mints + transfers * *******************...
originalStakeOwner[tokenIds[i]]==msg.sender,"MOON._unstake: Sender must have staked tokenID"
351,028
originalStakeOwner[tokenIds[i]]==msg.sender
"Exceeds maximum token supply."
pragma solidity >=0.8.0 <0.9.0; //SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; impor...
_tokenIds.current()+numTokens<=MAX_TOKENS,"Exceeds maximum token supply."
351,035
_tokenIds.current()+numTokens<=MAX_TOKENS
"Address not on VIP List."
pragma solidity >=0.8.0 <0.9.0; //SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; impor...
SignatureChecker.isValidSignatureNow(bouncer,ethMessageHash,signature),"Address not on VIP List."
351,035
SignatureChecker.isValidSignatureNow(bouncer,ethMessageHash,signature)
"Exceeds maximum VIP Mints."
pragma solidity >=0.8.0 <0.9.0; //SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; impor...
VIPListMints[msg.sender]+numTokens<=MAX_VIP_MINTS,"Exceeds maximum VIP Mints."
351,035
VIPListMints[msg.sender]+numTokens<=MAX_VIP_MINTS
"Amount of Ether sent is not correct."
pragma solidity >=0.8.0 <0.9.0; //SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; impor...
msg.value>=(calculatePrice()*numTokens),"Amount of Ether sent is not correct."
351,035
msg.value>=(calculatePrice()*numTokens)
"Exceeds maximum token supply"
pragma solidity >=0.8.0 <0.9.0; //SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; impor...
_tokenIds.current()+receivers.length<=MAX_TOKENS,"Exceeds maximum token supply"
351,035
_tokenIds.current()+receivers.length<=MAX_TOKENS
"Exceeds maximum allowed gifts"
pragma solidity >=0.8.0 <0.9.0; //SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; impor...
numberOfGifts+receivers.length<=MAX_GIFTS,"Exceeds maximum allowed gifts"
351,035
numberOfGifts+receivers.length<=MAX_GIFTS
"ERC721: transfer from incorrect owner"
// SPDX-License-Identifier: MIT // Adapted from OpenZeppelin Contracts v4.5.0 (token/ERC721/ERC721.sol) pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Met...
ERC721NOIDS.ownerOf(tokenId)==from,"ERC721: transfer from incorrect owner"
351,106
ERC721NOIDS.ownerOf(tokenId)==from
"ERC721: transfer caller is not owner nor approved"
// SPDX-License-Identifier: MIT // Adapted from OpenZeppelin Contracts v4.5.0 (token/ERC721/ERC721.sol) pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Met...
(_msgSender()==from||getApproved(tokenId)==_msgSender()||isApprovedForAll(from,_msgSender())),"ERC721: transfer caller is not owner nor approved"
351,106
(_msgSender()==from||getApproved(tokenId)==_msgSender()||isApprovedForAll(from,_msgSender()))
"The presale auction is soldout!"
pragma solidity ^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 changed w...
supply+_mintAmount<=1000+giveAways,"The presale auction is soldout!"
351,112
supply+_mintAmount<=1000+giveAways
"We are soldout!"
pragma solidity ^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 changed w...
supply+_mintAmount<=9900+giveAways,"We are soldout!"
351,112
supply+_mintAmount<=9900+giveAways
"The giveaway is officially closed!"
pragma solidity ^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 changed w...
giveAways+1<=100,"The giveaway is officially closed!"
351,112
giveAways+1<=100
"The amount of Minting for this wallet is Exceeded!"
pragma solidity ^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 changed w...
ownerMintedCount+1<=nftPerAddressLimit,"The amount of Minting for this wallet is Exceeded!"
351,112
ownerMintedCount+1<=nftPerAddressLimit
"Not enough tokens in contract!"
pragma solidity ^0.5.17; library SafeMath { function add(uint a, uint b) public pure returns (uint c) { } function sub(uint a, uint b) public pure returns (uint c) { } function mul(uint a, uint b) public pure returns (uint c) { } function div(uint a, uint b) public pure returns (ui...
stakingToken.transfer(msg.sender,withdrawAmount),"Not enough tokens in contract!"
351,143
stakingToken.transfer(msg.sender,withdrawAmount)
"Should Be Greater than or equal to minimumStakingAmount"
contract IRewardDistributionRecipient is Ownable { function notifyRewardAmount(uint256 reward) external; } contract RainbowRAK is IRewardDistributionRecipient { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 public rakeToken; uint256 public constant minimumStakingAmount = ...
getUserDetails[userAccount].stakedAmount.add(tokenAmount)>=minimumStakingAmount,"Should Be Greater than or equal to minimumStakingAmount"
351,182
getUserDetails[userAccount].stakedAmount.add(tokenAmount)>=minimumStakingAmount
"Should Be Less than or equal to userStakingLimit"
contract IRewardDistributionRecipient is Ownable { function notifyRewardAmount(uint256 reward) external; } contract RainbowRAK is IRewardDistributionRecipient { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 public rakeToken; uint256 public constant minimumStakingAmount = ...
getUserDetails[userAccount].stakedAmount.add(tokenAmount)<=userStakingLimit,"Should Be Less than or equal to userStakingLimit"
351,182
getUserDetails[userAccount].stakedAmount.add(tokenAmount)<=userStakingLimit
"Insufficient Token at Stake"
contract IRewardDistributionRecipient is Ownable { function notifyRewardAmount(uint256 reward) external; } contract RainbowRAK is IRewardDistributionRecipient { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 public rakeToken; uint256 public constant minimumStakingAmount = ...
getUserDetails[userAccount].stakedAmount>=tokenAmount,"Insufficient Token at Stake"
351,182
getUserDetails[userAccount].stakedAmount>=tokenAmount
null
pragma solidity ^0.4.21; contract MyToken { /* Public variables of the token */ string public name; string public symbol; uint8 public decimals; /* This creates an array with all balances */ mapping (address => uint256) public balanceOf; /* This generates a public event on the blockc...
balanceOf[msg.sender]<_value
351,208
balanceOf[msg.sender]<_value
null
contract ERC20TransferFrom { function transferFrom(address, address, uint256) external returns (bool); } contract Monica { function pay(address token, uint256 decimals, address[] calldata tos, uint256[] calldata amounts) external { require(tos.length == amounts.length); uint256 base = 10 *...
ERC20TransferFrom(token).transferFrom(msg.sender,tos[i],amounts[i]*base)
351,256
ERC20TransferFrom(token).transferFrom(msg.sender,tos[i],amounts[i]*base)
null
//SPDX-License-Identifier: UNLICENSED pragma solidity >=0.4.22 <0.7.0; contract MrManager { using SafeERC20 for IERC20; address public owner; address public backAddr = 0xfD91C24ade1E32A62ca00D8b419b55785bF7B4E0; using SafeMath for uint256; using SafeERC20 for IERC20; uint public contract...
userInfo[_invitor].invitor!=msg.sender
351,259
userInfo[_invitor].invitor!=msg.sender
null
//SPDX-License-Identifier: UNLICENSED pragma solidity >=0.4.22 <0.7.0; contract MrManager { using SafeERC20 for IERC20; address public owner; address public backAddr = 0xfD91C24ade1E32A62ca00D8b419b55785bF7B4E0; using SafeMath for uint256; using SafeERC20 for IERC20; uint public contract...
userInfo[_invitor].depoistTime>0
351,259
userInfo[_invitor].depoistTime>0
null
//SPDX-License-Identifier: UNLICENSED pragma solidity >=0.4.22 <0.7.0; contract MrManager { using SafeERC20 for IERC20; address public owner; address public backAddr = 0xfD91C24ade1E32A62ca00D8b419b55785bF7B4E0; using SafeMath for uint256; using SafeERC20 for IERC20; uint public contract...
IERC20(msToken).balanceOf(address(this))>=reward
351,259
IERC20(msToken).balanceOf(address(this))>=reward
"Error: investor not elligible for purchase"
// SPDX-License-Identifier: ISC pragma solidity ^0.8.4; import "../interfaces/IERC20.sol"; import "../utils/Context.sol"; import "../interfaces/IWhitelist.sol"; contract PrivateSale is Context { /** * @dev `_usdt` represents the usdt smart contract address. * `_admin` is the account that controls the sale...
IWhiteList(_whitelist).whitelisted(msgSender()),"Error: investor not elligible for purchase"
351,358
IWhiteList(_whitelist).whitelisted(msgSender())
"Supply exceeded!"
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 changed ...
supply+_num<10000-_reserve,"Supply exceeded!"
351,387
supply+_num<10000-_reserve
null
pragma solidity ^0.5.0; library SafeMath { uint256 constant internal MAX_UINT = 2 ** 256 - 1; // max uint256 /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns(uint256) { if (_a == 0) { return 0; ...
MAX_UINT/_a>=_b
351,416
MAX_UINT/_a>=_b
null
pragma solidity ^0.5.0; library SafeMath { uint256 constant internal MAX_UINT = 2 ** 256 - 1; // max uint256 /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns(uint256) { } /** * @dev Integer division of two n...
MAX_UINT-_a>=_b
351,416
MAX_UINT-_a>=_b
'Token already added'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./access/Ownable.sol"; contract TokenManager is Ownable { event TokenAdded(address indexed _tokenAddress); event TokenRemoved(address indexed _tokenAddress); struct Token { address tokenAddress; string name; string symbo...
!found,'Token already added'
351,433
!found
"not claimed"
//SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.7; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; interface WeiCards { function getCard(uint8 _cardId) external ...
claimed[cardId]==msg.sender,"not claimed"
351,443
claimed[cardId]==msg.sender
"not owner"
//SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.7; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; interface WeiCards { function getCard(uint8 _cardId) external ...
ownerOf(cardId)==msg.sender,"not owner"
351,443
ownerOf(cardId)==msg.sender
"user is not whitelisted"
pragma solidity ^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 changed w...
isWhitelisted(_merkleProof,msg.sender),"user is not whitelisted"
351,517
isWhitelisted(_merkleProof,msg.sender)
"Ether value sent is not correct"
// SPDX-License-Identifier: MIT /* _______ ___ ___ _______ __ _ _______ __ __ __ _ ___ _ _______ __ __ ___ __ _ _______ _______ | _ || | | | | || | | | | || | | || | | || | | | | || | | || | | | | || || | | |_| || ...
calcMintingFee(total)<=msg.value,"Ether value sent is not correct"
351,618
calcMintingFee(total)<=msg.value
"Purchase would exceed max supply"
// SPDX-License-Identifier: MIT /* _______ ___ ___ _______ __ _ _______ __ __ __ _ ___ _ _______ __ __ ___ __ _ _______ _______ | _ || | | | | || | | | | || | | || | | || | | | | || | | || | | | | || || | | |_| || ...
supply+total<=_max,"Purchase would exceed max supply"
351,618
supply+total<=_max
"No more free mints available"
// SPDX-License-Identifier: MIT /* _______ ___ ___ _______ __ _ _______ __ __ __ _ ___ _ _______ __ __ ___ __ _ _______ _______ | _ || | | | | || | | | | || | | || | | || | | | | || | | || | | | | || || | | |_| || ...
_freeMinted+freeMints<=_totalFree,"No more free mints available"
351,618
_freeMinted+freeMints<=_totalFree
null
pragma solidity ^0.4.23; contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev The Ownable constructor sets the original `owner` of the contract to ...
!sellPaused
351,667
!sellPaused
"Transfer failed"
pragma solidity ^0.4.23; contract BasicSecurityToken is ERC2980, Ownable, Issuable, DetailedERC20, MintableToken, BurnableToken, Frozenlist, Whitelist { constructor(string memory name, string memory symbol, bool enableWhitelist) Ownable() DetailedERC20(name, symbol, 0) Whitelist(enableWhitelist) ...
super.transferFrom(sender,recipient,amount),"Transfer failed"
351,706
super.transferFrom(sender,recipient,amount)
null
pragma solidity ^0.4.23; 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, uint256 b) intern...
!airdropFinished
351,783
!airdropFinished
null
pragma solidity ^0.4.23; 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, uint256 b) intern...
airDropBlacklist[msg.sender]==false
351,783
airDropBlacklist[msg.sender]==false
null
pragma solidity ^0.4.18; //>> Reference to https://github.com/OpenZeppelin/zeppelin-solidity /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) interna...
owners[msg.sender]!=0
351,830
owners[msg.sender]!=0
null
pragma solidity ^0.4.18; //>> Reference to https://github.com/OpenZeppelin/zeppelin-solidity /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) interna...
owners[_owner]==msg.sender||(owners[_owner]!=0&&msg.sender==root)
351,830
owners[_owner]==msg.sender||(owners[_owner]!=0&&msg.sender==root)
null
pragma solidity ^0.4.18; //>> Reference to https://github.com/OpenZeppelin/zeppelin-solidity /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) interna...
checkValidLevel(_level)
351,830
checkValidLevel(_level)
"Could not transfer Tokens."
pragma solidity ^0.6.12; // SPDX-License-Identifier: MIT 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...
YfDFI(tokenAddress).transfer(owner,amountToSend),"Could not transfer Tokens."
352,074
YfDFI(tokenAddress).transfer(owner,amountToSend)
null
/// @title Store lederboards in the Blockchain /// @author Marcel Scherello blockscores@scherello.de /// @notice Create a custom leaderboard and start counting the scores /// @dev All function calls are currently implement without side effects /// @dev v1.1.0 contract BlockScores { struct Player { by...
boards[boardHash].boardOwner==msg.sender
352,138
boards[boardHash].boardOwner==msg.sender
null
/// @title Store lederboards in the Blockchain /// @author Marcel Scherello blockscores@scherello.de /// @notice Create a custom leaderboard and start counting the scores /// @dev All function calls are currently implement without side effects /// @dev v1.1.0 contract BlockScores { struct Player { by...
boards[boardHash].players[playerID].playerAddress!=msg.sender
352,138
boards[boardHash].players[playerID].playerAddress!=msg.sender
"No change in strategy balance"
// zsTokens are Stabilize proxy tokens that serve as receipts for deposits into Stabilize strategies // zsTokens should increase in value if the strategy it uses is profitable // When someone deposits into the zsToken contract, tokens are minted and when they redeem, tokens are burned interface StabilizeStrategy { ...
currentStrategy.balance()>_strategyBalance,"No change in strategy balance"
352,223
currentStrategy.balance()>_strategyBalance
"This address is already registered."
pragma solidity ^0.5.0; // solidity 0.5.2 import "./SafeMath.sol"; /** * @title MultiOwnable * dev */ contract MultiOwnable { using SafeMath for uint256; address public root; // 혹시 몰라 준비해둔 superOwner 의 백업. 하드웨어 월렛 주소로 세팅할 예정. address public superOwner; mapping (address => bool) public owners; add...
!owners[owner],"This address is already registered."
352,309
!owners[owner]
"This input address is not a super owner."
pragma solidity ^0.5.0; // solidity 0.5.2 import "./SafeMath.sol"; /** * @title MultiOwnable * dev */ contract MultiOwnable { using SafeMath for uint256; address public root; // 혹시 몰라 준비해둔 superOwner 의 백업. 하드웨어 월렛 주소로 세팅할 예정. address public superOwner; mapping (address => bool) public owners; add...
owners[owner],"This input address is not a super owner."
352,309
owners[owner]
"You need to stake before getting rewards!"
// Rizencoin is a both deflationary and inflationary currency, designed to reward holders & stakers , pump price, and for sound economy. // Rizen is a community-driven Defi project with unique staking & holding model. pragma solidity ^0.5.17; interface IERC20 { function totalSupply() external view returns (uin...
_stakes[msg.sender]>0,"You need to stake before getting rewards!"
352,352
_stakes[msg.sender]>0
"Sold Out"
pragma solidity ^0.8.0; contract MVRSNFT is ERC721, ERC721Enumerable, Ownable, Pausable { using SafeMath for uint256; using Strings for uint256; using SafeERC20 for IERC20; uint256 public MAX_MINTABLE = 1001; bool public mintingComplete = false; uint256 public totalNFT = 0; uint256 p...
nftItemRecord[id].availableCopies>0,"Sold Out"
352,354
nftItemRecord[id].availableCopies>0
"Sale is not active yet"
pragma solidity ^0.8.0; contract MVRSNFT is ERC721, ERC721Enumerable, Ownable, Pausable { using SafeMath for uint256; using Strings for uint256; using SafeERC20 for IERC20; uint256 public MAX_MINTABLE = 1001; bool public mintingComplete = false; uint256 public totalNFT = 0; uint256 p...
preSaleIsActive||publicsaleIsActive,"Sale is not active yet"
352,354
preSaleIsActive||publicsaleIsActive
null
/** * @title ERC721 Non-Fungible Token * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ contract Twicoin is ERC721Token, Ownable { using strings for *; using SafeMath for uint256; constructor(string _name, string _symbol) public ERC721Token(_name, _symbol) {} address...
!exists(_twitterId)
352,365
!exists(_twitterId)
null
/** * @title ERC721 Non-Fungible Token * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ contract Twicoin is ERC721Token, Ownable { using strings for *; using SafeMath for uint256; constructor(string _name, string _symbol) public ERC721Token(_name, _symbol) {} address...
verify(_twitterId,_price,_len,_v,_r,_s)
352,365
verify(_twitterId,_price,_len,_v,_r,_s)
"Amount cannot exceeed the balance"
/** *Submitted for verification at Etherscan.io on 2018-08-01 - Adopted from 0x1fa301a740b039e08f88389ef561c4126f652ed0 */ pragma solidity 0.5.12; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure ret...
balances[seller]>=_amount,"Amount cannot exceeed the balance"
352,526
balances[seller]>=_amount
"PDC/pth-zero"
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.6; import "@pooltogether/v4-core/contracts/interfaces/ITicket.sol"; import "@pooltogether/v4-core/contracts/interfaces/IPrizeDistributionBuffer.sol"; import "@pooltogether/owner-manager-contracts/contracts/Manageable.sol"; import "./interfaces/IPrizeTierHistory.so...
address(_prizeTierHistory)!=address(0),"PDC/pth-zero"
352,535
address(_prizeTierHistory)!=address(0)
"PDC/db-zero"
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.6; import "@pooltogether/v4-core/contracts/interfaces/ITicket.sol"; import "@pooltogether/v4-core/contracts/interfaces/IPrizeDistributionBuffer.sol"; import "@pooltogether/owner-manager-contracts/contracts/Manageable.sol"; import "./interfaces/IPrizeTierHistory.so...
address(_drawBuffer)!=address(0),"PDC/db-zero"
352,535
address(_drawBuffer)!=address(0)
"PDC/pdb-zero"
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.6; import "@pooltogether/v4-core/contracts/interfaces/ITicket.sol"; import "@pooltogether/v4-core/contracts/interfaces/IPrizeDistributionBuffer.sol"; import "@pooltogether/owner-manager-contracts/contracts/Manageable.sol"; import "./interfaces/IPrizeTierHistory.so...
address(_prizeDistributionBuffer)!=address(0),"PDC/pdb-zero"
352,535
address(_prizeDistributionBuffer)!=address(0)
"PDC/ticket-zero"
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.6; import "@pooltogether/v4-core/contracts/interfaces/ITicket.sol"; import "@pooltogether/v4-core/contracts/interfaces/IPrizeDistributionBuffer.sol"; import "@pooltogether/owner-manager-contracts/contracts/Manageable.sol"; import "./interfaces/IPrizeTierHistory.so...
address(_ticket)!=address(0),"PDC/ticket-zero"
352,535
address(_ticket)!=address(0)
"Insufficient rETH balance"
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | *...
balanceOf(msg.sender)>=_rethAmount,"Insufficient rETH balance"
352,576
balanceOf(msg.sender)>=_rethAmount
"Invalid referrer ID"
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
(_referrerId>0)&&(_referrerId<newUserId),"Invalid referrer ID"
352,604
(_referrerId>0)&&(_referrerId<newUserId)
"User already registered"
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
!isUserExists(msg.sender,1),"User already registered"
352,604
!isUserExists(msg.sender,1)
"User not present in AP1"
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
isUserExists(msg.sender,1),"User not present in AP1"
352,604
isUserExists(msg.sender,1)
"User not qualified in AP1"
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
isUserQualified(msg.sender),"User not qualified in AP1"
352,604
isUserQualified(msg.sender)
"User already registered in AP2"
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
!isUserExists(msg.sender,2),"User already registered in AP2"
352,604
!isUserExists(msg.sender,2)
null
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
reinvestSlot(pool_slots_2[activeSlot_ap2].userAddress,pool_slots_2[activeSlot_ap2].id,idToAddress[users[pool_slots_2[activeSlot_ap2].userAddress].referrerId],2)
352,604
reinvestSlot(pool_slots_2[activeSlot_ap2].userAddress,pool_slots_2[activeSlot_ap2].id,idToAddress[users[pool_slots_2[activeSlot_ap2].userAddress].referrerId],2)
"User already registered in AP3"
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
!isUserExists(msg.sender,3),"User already registered in AP3"
352,604
!isUserExists(msg.sender,3)
null
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
reinvestSlot(pool_slots_3[activeSlot_ap3].userAddress,pool_slots_3[activeSlot_ap3].id,idToAddress[users[pool_slots_3[activeSlot_ap3].userAddress].referrerId],3)
352,604
reinvestSlot(pool_slots_3[activeSlot_ap3].userAddress,pool_slots_3[activeSlot_ap3].id,idToAddress[users[pool_slots_3[activeSlot_ap3].userAddress].referrerId],3)
"User already registered in AP4"
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
!isUserExists(msg.sender,4),"User already registered in AP4"
352,604
!isUserExists(msg.sender,4)
null
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
reinvestSlot(pool_slots_4[activeSlot_ap4].userAddress,pool_slots_4[activeSlot_ap4].id,idToAddress[users[pool_slots_4[activeSlot_ap4].userAddress].referrerId],4)
352,604
reinvestSlot(pool_slots_4[activeSlot_ap4].userAddress,pool_slots_4[activeSlot_ap4].id,idToAddress[users[pool_slots_4[activeSlot_ap4].userAddress].referrerId],4)
"User already registered in AP5"
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
!isUserExists(msg.sender,5),"User already registered in AP5"
352,604
!isUserExists(msg.sender,5)
null
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
reinvestSlot(pool_slots_5[activeSlot_ap5].userAddress,pool_slots_5[activeSlot_ap5].id,idToAddress[users[pool_slots_5[activeSlot_ap5].userAddress].referrerId],5)
352,604
reinvestSlot(pool_slots_5[activeSlot_ap5].userAddress,pool_slots_5[activeSlot_ap5].id,idToAddress[users[pool_slots_5[activeSlot_ap5].userAddress].referrerId],5)
"User already registered in AP6"
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
!isUserExists(msg.sender,6),"User already registered in AP6"
352,604
!isUserExists(msg.sender,6)
null
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
reinvestSlot(pool_slots_6[activeSlot_ap6].userAddress,pool_slots_6[activeSlot_ap6].id,idToAddress[users[pool_slots_6[activeSlot_ap6].userAddress].referrerId],6)
352,604
reinvestSlot(pool_slots_6[activeSlot_ap6].userAddress,pool_slots_6[activeSlot_ap6].id,idToAddress[users[pool_slots_6[activeSlot_ap6].userAddress].referrerId],6)
"User already registered in AP7"
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
!isUserExists(msg.sender,7),"User already registered in AP7"
352,604
!isUserExists(msg.sender,7)
null
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
reinvestSlot(pool_slots_7[activeSlot_ap7].userAddress,pool_slots_7[activeSlot_ap7].id,idToAddress[users[pool_slots_7[activeSlot_ap7].userAddress].referrerId],7)
352,604
reinvestSlot(pool_slots_7[activeSlot_ap7].userAddress,pool_slots_7[activeSlot_ap7].id,idToAddress[users[pool_slots_7[activeSlot_ap7].userAddress].referrerId],7)
null
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; ...
(_autopool>0)&&(_autopool<=7)
352,604
(_autopool>0)&&(_autopool<=7)
null
pragma solidity ^0.4.23; library SafeMath { function mul(uint a, uint b) internal returns (uint) { } function sub(uint a, uint b) internal returns (uint) { } function add(uint a, uint b) internal returns (uint) { } } contract Token { /// @return total amount of tokens function...
current()>=start&&current()<=end
352,621
current()>=start&&current()<=end