comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"not owning item"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/introspection/IERC165.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contr...
owners[bundleID]==_msgSender(),"not owning item"
287,461
owners[bundleID]==_msgSender()
"not owning item"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/introspection/IERC165.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contr...
IERC721(_nft).ownerOf(_tokenId)==_owner,"not owning item"
287,461
IERC721(_nft).ownerOf(_tokenId)==_owner
"not owning item"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/introspection/IERC165.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contr...
IERC1155(_nft).balanceOf(_owner,_tokenId)>=_quantity,"not owning item"
287,461
IERC1155(_nft).balanceOf(_owner,_tokenId)>=_quantity
"Purchase would exceed TCCC_MAX"
pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for ...
_publicTCCC.current()<TCCC_MAX,"Purchase would exceed TCCC_MAX"
287,660
_publicTCCC.current()<TCCC_MAX
null
// 69696969 69696969 // 6969 696969 696969 6969 // 969 69 6969696 6969 6969 696 // 969 696969696 696969696969 696 // 969 69696969696 6969696969696 696 // 696 96969696...
totalSupply()+_mintAmount<=maxXIA
287,693
totalSupply()+_mintAmount<=maxXIA
"4"
// SPDX-License-Identifier: GPL-3.0 // Author: Pagzi Tech Inc. | 2021 pragma solidity ^0.8.10; import "./pagzi/ERC721Enum.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/con...
s+_mintAmount<=maxMobs,"4"
287,989
s+_mintAmount<=maxMobs
"Too many"
// SPDX-License-Identifier: GPL-3.0 // Author: Pagzi Tech Inc. | 2021 pragma solidity ^0.8.10; import "./pagzi/ERC721Enum.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/con...
s+totalQuantity<=maxMobs,"Too many"
287,989
s+totalQuantity<=maxMobs
null
contract RainbowSquared is ERC721Enumerable, Ownable { using Strings for uint256; string public baseURI; string public baseExtension = ".json"; uint256 public NFT_PRICE = 0.02 ether; uint256 public MAX_SUPPLY = 10000; uint256 public MAX_NFT_PURCHASE = 20; bool public paused = false; constructor(...
supply+_mintAmountMax20<=MAX_SUPPLY
288,008
supply+_mintAmountMax20<=MAX_SUPPLY
"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<6000-_reserve,"Supply exceeded!"
288,037
supply+_num<6000-_reserve
"Exceeds the amount allowed for each wallet!"
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 ...
presalebunnies[msg.sender]+_num<31,"Exceeds the amount allowed for each wallet!"
288,037
presalebunnies[msg.sender]+_num<31
"Purchase would exceed max supply of Pawns"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol"; impor...
totalSupply().add(_number)<=MAX_PAWN,"Purchase would exceed max supply of Pawns"
288,047
totalSupply().add(_number)<=MAX_PAWN
"You are not on the white list"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol"; impor...
preSales[msg.sender]>0,"You are not on the white list"
288,047
preSales[msg.sender]>0
"AINT YO TOKEN"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "./IERC721Receiver.sol"; import "./Pausable.sol"; import "./Goat.sol"; import "./EGGS.sol"; contract Isle is Ownable, IERC721Receiver, Pausable { // maximum alpha score for a Goat uint8 public constant MAX_ALPHA = 8; bool lock; // ...
goat.ownerOf(tokenIds[i])==_msgSender(),"AINT YO TOKEN"
288,076
goat.ownerOf(tokenIds[i])==_msgSender()
"GONNA BE COLD WITHOUT TWO DAY'S EGGS"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "./IERC721Receiver.sol"; import "./Pausable.sol"; import "./Goat.sol"; import "./EGGS.sol"; contract Isle is Ownable, IERC721Receiver, Pausable { // maximum alpha score for a Goat uint8 public constant MAX_ALPHA = 8; bool lock; // ...
!(unstake&&block.timestamp-stake.value<MINIMUM_TO_EXIT),"GONNA BE COLD WITHOUT TWO DAY'S EGGS"
288,076
!(unstake&&block.timestamp-stake.value<MINIMUM_TO_EXIT)
"AINT A PART OF THE PACK"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "./IERC721Receiver.sol"; import "./Pausable.sol"; import "./Goat.sol"; import "./EGGS.sol"; contract Isle is Ownable, IERC721Receiver, Pausable { // maximum alpha score for a Goat uint8 public constant MAX_ALPHA = 8; bool lock; // ...
goat.ownerOf(tokenId)==address(this),"AINT A PART OF THE PACK"
288,076
goat.ownerOf(tokenId)==address(this)
"Supply exceeded"
pragma solidity ^0.8.7; contract PixelSlimezz is ERC721, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint256 totalSupply = 3333; uint256 public maxMintPerTransaction = 10; bool public revealed = false; string public _baseURIRevealed = "ipfs://QmaNszA...
_tokenIds.current()+_amount<=totalSupply,"Supply exceeded"
288,199
_tokenIds.current()+_amount<=totalSupply
null
pragma solidity ^0.4.15; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uin...
!isPreSaleReady
288,304
!isPreSaleReady
"high fee"
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.4; import { IUniswapV3MintCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3MintCallback.sol"; import { IUniswapV3SwapCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol"; import {GUniPoolStati...
(_adminBalanceToken0*_autoWithdrawFeeBPS)/10000>=feeAmount,"high fee"
288,311
(_adminBalanceToken0*_autoWithdrawFeeBPS)/10000>=feeAmount
"high fee"
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.4; import { IUniswapV3MintCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3MintCallback.sol"; import { IUniswapV3SwapCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol"; import {GUniPoolStati...
(_adminBalanceToken1*_autoWithdrawFeeBPS)/10000>=feeAmount,"high fee"
288,311
(_adminBalanceToken1*_autoWithdrawFeeBPS)/10000>=feeAmount
"high fee"
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.4; import { IUniswapV3MintCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3MintCallback.sol"; import { IUniswapV3SwapCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol"; import {GUniPoolStati...
(feesEarned0*_rebalanceFeeBPS)/10000>=_feeAmount,"high fee"
288,311
(feesEarned0*_rebalanceFeeBPS)/10000>=_feeAmount
"high fee"
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.4; import { IUniswapV3MintCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3MintCallback.sol"; import { IUniswapV3SwapCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol"; import {GUniPoolStati...
(feesEarned1*_rebalanceFeeBPS)/10000>=_feeAmount,"high fee"
288,311
(feesEarned1*_rebalanceFeeBPS)/10000>=_feeAmount
null
pragma solidity ^0.4.18; contract ForeignToken { function balanceOf(address _owner) public constant returns (uint256); function transfer(address _to, uint256 _value) public returns (bool); } contract EIP20Interface { uint256 public totalSupply; function balanceOf(address _owner) public view retur...
msg.data.length>=(2*32)+4
288,351
msg.data.length>=(2*32)+4
null
pragma solidity >=0.4.22<0.6.0; //filename: contracts/Consts.sol contract Consts { string constant TOKEN_NAME = "DIPChainToken"; string constant TOKEN_SYMBOL = "DIPC"; uint8 constant TOKEN_DECIMALS = 18; uint256 constant TOKEN_AMOUNT = 500000000; } //filename: contracts/utils/Ownable.sol /** ...
isTransferable(_from)
288,381
isTransferable(_from)
null
pragma solidity >=0.4.22<0.6.0; //filename: contracts/Consts.sol contract Consts { string constant TOKEN_NAME = "DIPChainToken"; string constant TOKEN_SYMBOL = "DIPC"; uint8 constant TOKEN_DECIMALS = 18; uint256 constant TOKEN_AMOUNT = 500000000; } //filename: contracts/utils/Ownable.sol /** ...
isTransferable(msg.sender)
288,381
isTransferable(msg.sender)
"Soldout!"
// SPDX-License-Identifier: MIT // // `.--.` .. // -+sdNNNNmddyo/` `.-----.` :NNy // .smNMmhs+-.`````/my- .:+yhmNNNmddhhyso- -NMMo ...
totalSupply()<=MAX_REBEL,"Soldout!"
288,459
totalSupply()<=MAX_REBEL
"Invalid sign"
// SPDX-License-Identifier: MIT // // `.--.` .. // -+sdNNNNmddyo/` `.-----.` :NNy // .smNMmhs+-.`````/my- .:+yhmNNNmddhhyso- -NMMo ...
ecrecover(_hash,v,r,s)==validator_,"Invalid sign"
288,459
ecrecover(_hash,v,r,s)==validator_
"You can't mint more than the allowed amount"
// SPDX-License-Identifier: MIT // // `.--.` .. // -+sdNNNNmddyo/` `.-----.` :NNy // .smNMmhs+-.`````/my- .:+yhmNNNmddhhyso- -NMMo ...
_whitelistMintLogs[wallet]+_numberOfTokens<=presaleMaxRebelPerWallet,"You can't mint more than the allowed amount"
288,459
_whitelistMintLogs[wallet]+_numberOfTokens<=presaleMaxRebelPerWallet
"Purchase would exceed max supply of Rebelz"
// SPDX-License-Identifier: MIT // // `.--.` .. // -+sdNNNNmddyo/` `.-----.` :NNy // .smNMmhs+-.`````/my- .:+yhmNNNmddhhyso- -NMMo ...
total+_numberOfTokens<=MAX_REBEL,"Purchase would exceed max supply of Rebelz"
288,459
total+_numberOfTokens<=MAX_REBEL
"doesn't own garden!"
// SPDX-License-Identifier: MIT // _ // (` ). _ // ( ). .:(` )`. // ) _( '`. :( . ) // .=(`( . ) .-- `. ( ) ) // ...
isOwnerOfGarden(msg.sender,gardenTokenId),"doesn't own garden!"
288,523
isOwnerOfGarden(msg.sender,gardenTokenId)
"Would exceed max reserved amount"
pragma solidity ^0.8.12; contract Toeken is ERC20, Ownable, ReentrancyGuard { IERC721 public TiptoePunks; IERC721 public FootPunks; uint256 internal reserved; uint256 public startTime; mapping(address => uint256) public rewards; mapping(address => uint256) public lastUpdate; mapping(...
reserved+amount<=MAX_RESERVED_AMOUNT,"Would exceed max reserved amount"
288,754
reserved+amount<=MAX_RESERVED_AMOUNT
"Whitelist allocation for user has been reached"
// SPDX-License-Identifier: MIT // @title: Cryptowalkers // @author: Manifest Futures pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage....
!_whitelistUserStatus[user].limitReached,"Whitelist allocation for user has been reached"
288,805
!_whitelistUserStatus[user].limitReached
"Reserve minting has already been completed"
// SPDX-License-Identifier: MIT // @title: Cryptowalkers // @author: Manifest Futures pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage....
!_reservedMinted,"Reserve minting has already been completed"
288,805
!_reservedMinted
"Reserving too many Cryptowalkers"
// SPDX-License-Identifier: MIT // @title: Cryptowalkers // @author: Manifest Futures pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage....
_amountReserved.add(amountToReserve)<=RESERVED_CRYPTOWALKERS,"Reserving too many Cryptowalkers"
288,805
_amountReserved.add(amountToReserve)<=RESERVED_CRYPTOWALKERS
"Sorry, there is not that many Cryptowalkers left."
// SPDX-License-Identifier: MIT // @title: Cryptowalkers // @author: Manifest Futures pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage....
totalSupply().add(1)<=MAX_CRYPTOWALKERS,"Sorry, there is not that many Cryptowalkers left."
288,805
totalSupply().add(1)<=MAX_CRYPTOWALKERS
"Address not whitelisted for pre-sale minting"
// //ÔûêÔûêÔûêÔûêÔûêÔûêÔòùÔûæÔûêÔûêÔòùÔûêÔûêÔûêÔòùÔûæÔûæÔûêÔûêÔòùÔûæÔûêÔûêÔûêÔûêÔûêÔòùÔûæÔûêÔûêÔûêÔûêÔûêÔûêÔòùÔûæÔûêÔûêÔòùÔûæÔûæÔûæÔûêÔûêÔòùÔûêÔûêÔûêÔòùÔûæÔûæÔûêÔûêÔòùÔûêÔûêÔòùÔûæÔûæÔûêÔûêÔòùÔûæÔûêÔûêÔûêÔûêÔûêÔûêÔòùÔÇâÔÇâÔûêÔûêÔûêÔòùÔûæÔûæÔûêÔûêÔòùÔûêÔûêÔûêÔûêÔûêÔûêÔûêÔòùÔûêÔûêÔûêÔûêÔûêÔûêÔûêÔûêÔòù //ÔûêÔûêÔòöÔòÉÔòÉÔ...
presaleAddress[msg.sender]==true,"Address not whitelisted for pre-sale minting"
288,824
presaleAddress[msg.sender]==true
null
contract Referrers is Ownable { using SafeMath for uint256; // Referrer bonus in % uint public referrerBonusSale; uint public referrerBonusWin; uint public _referrerId; // mapping referrerId to address mapping(uint => address) public referrerToAddress; // Tickets referals: tokeId...
ticketToReferrer[_tokenId]==0
288,896
ticketToReferrer[_tokenId]==0
null
contract Referrers is Ownable { using SafeMath for uint256; // Referrer bonus in % uint public referrerBonusSale; uint public referrerBonusWin; uint public _referrerId; // mapping referrerId to address mapping(uint => address) public referrerToAddress; // Tickets referals: tokeId...
addressToReferrer[msg.sender]==0
288,896
addressToReferrer[msg.sender]==0
null
/** *Submitted for verification at Etherscan.io on 2019-05-28 */ pragma solidity ^0.4.26; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two unsigned integers, revert...
!frozenAccount[_target]
289,126
!frozenAccount[_target]
null
/** *Submitted for verification at Etherscan.io on 2019-05-28 */ pragma solidity ^0.4.26; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two unsigned integers, revert...
frozenAccount[_target]
289,126
frozenAccount[_target]
"Only if unlocked"
pragma solidity ^0.5.0; contract GenArt721 is CustomERC721Metadata { using SafeMath for uint256; event Mint( address indexed _to, uint256 indexed _tokenId, uint256 indexed _projectId, uint256 _invocations, uint256 _value ); struct Project { stri...
!projects[_projectId].locked,"Only if unlocked"
289,156
!projects[_projectId].locked
"Only artist or whitelisted"
pragma solidity ^0.5.0; contract GenArt721 is CustomERC721Metadata { using SafeMath for uint256; event Mint( address indexed _to, uint256 indexed _tokenId, uint256 indexed _projectId, uint256 _invocations, uint256 _value ); struct Project { stri...
isWhitelisted[msg.sender]||msg.sender==projects[_projectId].artistAddress,"Only artist or whitelisted"
289,156
isWhitelisted[msg.sender]||msg.sender==projects[_projectId].artistAddress
"Must not exceed max invocations"
pragma solidity ^0.5.0; contract GenArt721 is CustomERC721Metadata { using SafeMath for uint256; event Mint( address indexed _to, uint256 indexed _tokenId, uint256 indexed _projectId, uint256 _invocations, uint256 _value ); struct Project { stri...
projects[_projectId].invocations.add(1)<=projects[_projectId].maxInvocations,"Must not exceed max invocations"
289,156
projects[_projectId].invocations.add(1)<=projects[_projectId].maxInvocations
"Project must exist and be active"
pragma solidity ^0.5.0; contract GenArt721 is CustomERC721Metadata { using SafeMath for uint256; event Mint( address indexed _to, uint256 indexed _tokenId, uint256 indexed _projectId, uint256 _invocations, uint256 _value ); struct Project { stri...
projects[_projectId].active||msg.sender==projects[_projectId].artistAddress,"Project must exist and be active"
289,156
projects[_projectId].active||msg.sender==projects[_projectId].artistAddress
"Purchases are paused."
pragma solidity ^0.5.0; contract GenArt721 is CustomERC721Metadata { using SafeMath for uint256; event Mint( address indexed _to, uint256 indexed _tokenId, uint256 indexed _projectId, uint256 _invocations, uint256 _value ); struct Project { stri...
!projects[_projectId].paused||msg.sender==projects[_projectId].artistAddress,"Purchases are paused."
289,156
!projects[_projectId].paused||msg.sender==projects[_projectId].artistAddress
"Can not modify hashes generated after a token is minted."
pragma solidity ^0.5.0; contract GenArt721 is CustomERC721Metadata { using SafeMath for uint256; event Mint( address indexed _to, uint256 indexed _tokenId, uint256 indexed _projectId, uint256 _invocations, uint256 _value ); struct Project { stri...
projects[_projectId].invocations==0,"Can not modify hashes generated after a token is minted."
289,156
projects[_projectId].invocations==0
"Can only modify hashes on dynamic projects."
pragma solidity ^0.5.0; contract GenArt721 is CustomERC721Metadata { using SafeMath for uint256; event Mint( address indexed _to, uint256 indexed _tokenId, uint256 indexed _projectId, uint256 _invocations, uint256 _value ); struct Project { stri...
projects[_projectId].dynamic,"Can only modify hashes on dynamic projects."
289,156
projects[_projectId].dynamic
"there are no scripts to remove"
pragma solidity ^0.5.0; contract GenArt721 is CustomERC721Metadata { using SafeMath for uint256; event Mint( address indexed _to, uint256 indexed _tokenId, uint256 indexed _projectId, uint256 _invocations, uint256 _value ); struct Project { stri...
projects[_projectId].scriptCount>0,"there are no scripts to remove"
289,156
projects[_projectId].scriptCount>0
"can only set static IPFS hash for static projects"
pragma solidity ^0.5.0; contract GenArt721 is CustomERC721Metadata { using SafeMath for uint256; event Mint( address indexed _to, uint256 indexed _tokenId, uint256 indexed _projectId, uint256 _invocations, uint256 _value ); struct Project { stri...
!projects[_projectId].dynamic,"can only set static IPFS hash for static projects"
289,156
!projects[_projectId].dynamic
"ERC721ReceiverMock: reverting"
// SPDX-License-Identifier: MIT pragma solidity ^0.5.0; contract ERC721ReceiverMock is IERC721Receiver { bytes4 private _retval; bool private _reverts; event Received(address operator, address from, uint256 tokenId, bytes data, uint256 gas); constructor (bytes4 retval, bool reverts) public { ...
!_reverts,"ERC721ReceiverMock: reverting"
289,157
!_reverts
"token is paused."
contract Controller is ControllerInterface, Ownable { WrappedToken public token; MembersInterface public members; address public bridge; constructor(WrappedToken _token) { } modifier onlyBridge() { } // setters event MembersSet(MembersInterface indexed members); function setMembe...
!token.paused(),"token is paused."
289,184
!token.paused()
"Error: Sale has not started"
// SPDX-License-Identifier: MIT pragma solidity 0.6.2; interface ERCMintable { //function crowdSaleMint(address to, uint256 amount) external returns(bool); function mint(address to, uint256 amount) external; } /** * @title IPM Token CrowdSale * @dev CrowdSale contract for IPM Token: * * Tokens ...
hasStarted()==true,"Error: Sale has not started"
289,197
hasStarted()==true
"Error: Sale has already ended"
// SPDX-License-Identifier: MIT pragma solidity 0.6.2; interface ERCMintable { //function crowdSaleMint(address to, uint256 amount) external returns(bool); function mint(address to, uint256 amount) external; } /** * @title IPM Token CrowdSale * @dev CrowdSale contract for IPM Token: * * Tokens ...
hasEnded()==false,"Error: Sale has already ended"
289,197
hasEnded()==false
"Error: No round active at the moment"
// SPDX-License-Identifier: MIT pragma solidity 0.6.2; interface ERCMintable { //function crowdSaleMint(address to, uint256 amount) external returns(bool); function mint(address to, uint256 amount) external; } /** * @title IPM Token CrowdSale * @dev CrowdSale contract for IPM Token: * * Tokens ...
isPrivateRoundActive()||isRound1Active()||isRound2Active()||isRound3Active(),"Error: No round active at the moment"
289,197
isPrivateRoundActive()||isRound1Active()||isRound2Active()||isRound3Active()
"Error: Address is not whitelisted"
// SPDX-License-Identifier: MIT pragma solidity 0.6.2; interface ERCMintable { //function crowdSaleMint(address to, uint256 amount) external returns(bool); function mint(address to, uint256 amount) external; } /** * @title IPM Token CrowdSale * @dev CrowdSale contract for IPM Token: * * Tokens ...
whitelist[_beneficiary]>0,"Error: Address is not whitelisted"
289,197
whitelist[_beneficiary]>0
"Error: Withdrawal during active rounds is not allowed"
// SPDX-License-Identifier: MIT pragma solidity 0.6.2; interface ERCMintable { //function crowdSaleMint(address to, uint256 amount) external returns(bool); function mint(address to, uint256 amount) external; } /** * @title IPM Token CrowdSale * @dev CrowdSale contract for IPM Token: * * Tokens ...
isPrivateRoundActive()==false&&isRound1Active()==false&&isRound2Active()==false&&isRound3Active()==false,"Error: Withdrawal during active rounds is not allowed"
289,197
isPrivateRoundActive()==false&&isRound1Active()==false&&isRound2Active()==false&&isRound3Active()==false
"Error: Amount to be sent is not equal the funds"
// SPDX-License-Identifier: MIT pragma solidity 0.6.2; interface ERCMintable { //function crowdSaleMint(address to, uint256 amount) external returns(bool); function mint(address to, uint256 amount) external; } /** * @title IPM Token CrowdSale * @dev CrowdSale contract for IPM Token: * * Tokens ...
amountForFoundation1Wallet.add(amountForFoundation2Wallet)==fundsAvailable,"Error: Amount to be sent is not equal the funds"
289,197
amountForFoundation1Wallet.add(amountForFoundation2Wallet)==fundsAvailable
"Error: Address is not allowed to purchase"
// SPDX-License-Identifier: MIT pragma solidity 0.6.2; interface ERCMintable { //function crowdSaleMint(address to, uint256 amount) external returns(bool); function mint(address to, uint256 amount) external; } /** * @title IPM Token CrowdSale * @dev CrowdSale contract for IPM Token: * * Tokens ...
_hasAllowance(_beneficiary),"Error: Address is not allowed to purchase"
289,197
_hasAllowance(_beneficiary)
"must be on the list"
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.7.6; import "@openzeppelin/contracts/math/Math.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/math/SignedSafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IE...
!whitelisted||list[msg.sender],"must be on the list"
289,338
!whitelisted||list[msg.sender]
"invalid parameter(s)"
/** * Copyright (c) 2019 STX AG license@stx.swiss * No license */ pragma solidity 0.5.3; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spende...
address(_srcToken)!=address(0)&&_minimumRate>0&&_destinationAddress!=address(0),"invalid parameter(s)"
289,366
address(_srcToken)!=address(0)&&_minimumRate>0&&_destinationAddress!=address(0)
"non-zero initial _kyberNetworkProxy allowance"
/** * Copyright (c) 2019 STX AG license@stx.swiss * No license */ pragma solidity 0.5.3; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spende...
_srcToken.allowance(address(this),address(_kyberNetworkProxy))==0,"non-zero initial _kyberNetworkProxy allowance"
289,366
_srcToken.allowance(address(this),address(_kyberNetworkProxy))==0
"approving _kyberNetworkProxy failed"
/** * Copyright (c) 2019 STX AG license@stx.swiss * No license */ pragma solidity 0.5.3; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spende...
_srcToken.approve(address(_kyberNetworkProxy),srcQuantity),"approving _kyberNetworkProxy failed"
289,366
_srcToken.approve(address(_kyberNetworkProxy),srcQuantity)
"non-zero initial destination allowance"
/** * Copyright (c) 2019 STX AG license@stx.swiss * No license */ pragma solidity 0.5.3; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spende...
dai.allowance(address(this),_destinationAddress)==0,"non-zero initial destination allowance"
289,366
dai.allowance(address(this),_destinationAddress)==0
"approving destination failed"
/** * Copyright (c) 2019 STX AG license@stx.swiss * No license */ pragma solidity 0.5.3; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spende...
dai.approve(_destinationAddress,amountDai),"approving destination failed"
289,366
dai.approve(_destinationAddress,amountDai)
"un-approving destination failed"
/** * Copyright (c) 2019 STX AG license@stx.swiss * No license */ pragma solidity 0.5.3; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spende...
dai.approve(_destinationAddress,0),"un-approving destination failed"
289,366
dai.approve(_destinationAddress,0)
"Insufficient funds sent"
// SPDX-License-Identifier: MIT pragma solidity 0.8.12; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "./ERC721A.sol"; contract Avatar is ERC721A, Ownable, ReentrancyGuard, Pausable { e...
_price*quantity<=msg.value,"Insufficient funds sent"
289,404
_price*quantity<=msg.value
"Invalid token attribute"
// SPDX-License-Identifier: MIT pragma solidity 0.8.12; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "./ERC721A.sol"; contract Avatar is ERC721A, Ownable, ReentrancyGuard, Pausable { e...
_attributes[tokenId]>0,"Invalid token attribute"
289,404
_attributes[tokenId]>0
"Not enough tokens left to mint"
// SPDX-License-Identifier: MIT pragma solidity 0.8.12; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "./ERC721A.sol"; contract Avatar is ERC721A, Ownable, ReentrancyGuard, Pausable { e...
totalMinted+quantity<MAX_SUPPLY,"Not enough tokens left to mint"
289,404
totalMinted+quantity<MAX_SUPPLY
"Attribute has already been claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.12; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "./ERC721A.sol"; contract Avatar is ERC721A, Ownable, ReentrancyGuard, Pausable { e...
!_used[lookup],"Attribute has already been claimed"
289,404
!_used[lookup]
"You're in blacklist"
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note th...
_isBlacklistWallet[from]==false,"You're in blacklist"
289,412
_isBlacklistWallet[from]==false
"Trading is not active."
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note th...
_isExcludedFromFee[from]||_isExcludedFromFee[to]||isinwl[to],"Trading is not active."
289,412
_isExcludedFromFee[from]||_isExcludedFromFee[to]||isinwl[to]
"HoF: max common reserve supply exceeded"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "openzeppelin-solidity/contracts/token/ERC721/ERC721.sol"; import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "openzeppelin-solidity/contracts/access/Ownable.sol"; import "openzeppelin-solidity/contracts/utils/math...
currentTokensCommonReserved+count<=maxCommonReserveSupply,"HoF: max common reserve supply exceeded"
289,451
currentTokensCommonReserved+count<=maxCommonReserveSupply
"HoF: max common reserve supply exceeded"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "openzeppelin-solidity/contracts/token/ERC721/ERC721.sol"; import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "openzeppelin-solidity/contracts/access/Ownable.sol"; import "openzeppelin-solidity/contracts/utils/math...
currentTokensReserved+count<=maxReserveSupply,"HoF: max common reserve supply exceeded"
289,451
currentTokensReserved+count<=maxReserveSupply
"HoF: incorrect Ether value"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "openzeppelin-solidity/contracts/token/ERC721/ERC721.sol"; import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "openzeppelin-solidity/contracts/access/Ownable.sol"; import "openzeppelin-solidity/contracts/utils/math...
currentTokensPresold+count<=maxPresaleSupply,"HoF: incorrect Ether value"
289,451
currentTokensPresold+count<=maxPresaleSupply
"HoF: presale max presale count for single account exceeded"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "openzeppelin-solidity/contracts/token/ERC721/ERC721.sol"; import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "openzeppelin-solidity/contracts/access/Ownable.sol"; import "openzeppelin-solidity/contracts/utils/math...
presaleBoughtCounts[msg.sender]+count<=maxPresaleCountForSingleAccount,"HoF: presale max presale count for single account exceeded"
289,451
presaleBoughtCounts[msg.sender]+count<=maxPresaleCountForSingleAccount
"HoF: max sale supply exceeded"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "openzeppelin-solidity/contracts/token/ERC721/ERC721.sol"; import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "openzeppelin-solidity/contracts/access/Ownable.sol"; import "openzeppelin-solidity/contracts/utils/math...
currentTokensSold+count<=maxSaleSupply,"HoF: max sale supply exceeded"
289,451
currentTokensSold+count<=maxSaleSupply
"HoF: incorrect Ether value"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "openzeppelin-solidity/contracts/token/ERC721/ERC721.sol"; import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "openzeppelin-solidity/contracts/access/Ownable.sol"; import "openzeppelin-solidity/contracts/utils/math...
tokenPrice*count<=msg.value,"HoF: incorrect Ether value"
289,451
tokenPrice*count<=msg.value
null
pragma solidity ^0.4.15; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uin...
!isFinalised
289,571
!isFinalised
null
pragma solidity ^0.4.15; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uin...
(now>=preSaleStartTime&&now<=preSaleEndTime)||(now>=mainSaleStartTime&&now<=mainSaleEndTime)
289,571
(now>=preSaleStartTime&&now<=preSaleEndTime)||(now>=mainSaleStartTime&&now<=mainSaleEndTime)
"Claimer: 0% is not allowed"
// SPDX-License-Identifier: MIT pragma solidity =0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; contract Claimer is Ownable { using SafeERC20 for IERC20; // Prevents stupid mistakes in provided timestamps uint256 private constant...
percents[i]>0,"Claimer: 0% is not allowed"
289,681
percents[i]>0
"Claimer: Index out of bounds"
// SPDX-License-Identifier: MIT pragma solidity =0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; contract Claimer is Ownable { using SafeERC20 for IERC20; // Prevents stupid mistakes in provided timestamps uint256 private constant...
claimedIdx[i]<claims.length,"Claimer: Index out of bounds"
289,681
claimedIdx[i]<claims.length
"Claimer: Account doesn't have allocation"
// SPDX-License-Identifier: MIT pragma solidity =0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; contract Claimer is Ownable { using SafeERC20 for IERC20; // Prevents stupid mistakes in provided timestamps uint256 private constant...
allocation[account]>0,"Claimer: Account doesn't have allocation"
289,681
allocation[account]>0
"Claimer: Not claimable or already claimed"
// SPDX-License-Identifier: MIT pragma solidity =0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; contract Claimer is Ownable { using SafeERC20 for IERC20; // Prevents stupid mistakes in provided timestamps uint256 private constant...
isClaimable(account,idx),"Claimer: Not claimable or already claimed"
289,681
isClaimable(account,idx)
"only a signer can call this"
pragma solidity >=0.4.21 <0.6.0; contract MultiSig{ struct invoke_status{ uint propose_height; bytes32 invoke_hash; string func_name; uint64 invoke_id; bool called; address[] invoke_signers; bool processing; bool exists; } uint public signer_number; address[] public ...
array_exist(signers,msg.sender),"only a signer can call this"
289,764
array_exist(signers,msg.sender)
"you already called this method"
pragma solidity >=0.4.21 <0.6.0; contract MultiSig{ struct invoke_status{ uint propose_height; bytes32 invoke_hash; string func_name; uint64 invoke_id; bool called; address[] invoke_signers; bool processing; bool exists; } uint public signer_number; address[] public ...
!array_exist(invoke.invoke_signers,sender),"you already called this method"
289,764
!array_exist(invoke.invoke_signers,sender)
"no such function"
pragma solidity >=0.4.21 <0.6.0; contract MultiSig{ struct invoke_status{ uint propose_height; bytes32 invoke_hash; string func_name; uint64 invoke_id; bool called; address[] invoke_signers; bool processing; bool exists; } uint public signer_number; address[] public ...
invoke.exists,"no such function"
289,764
invoke.exists
"already called"
pragma solidity >=0.4.21 <0.6.0; contract MultiSig{ struct invoke_status{ uint propose_height; bytes32 invoke_hash; string func_name; uint64 invoke_id; bool called; address[] invoke_signers; bool processing; bool exists; } uint public signer_number; address[] public ...
!invoke.called,"already called"
289,764
!invoke.called
"cannot call this separately"
pragma solidity >=0.4.21 <0.6.0; contract MultiSig{ struct invoke_status{ uint propose_height; bytes32 invoke_hash; string func_name; uint64 invoke_id; bool called; address[] invoke_signers; bool processing; bool exists; } uint public signer_number; address[] public ...
invoke.processing,"cannot call this separately"
289,764
invoke.processing
"Sale not open"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // @author: miinded.com ////////////////////////////////////////////////////////////////////////////////////////////// // // // ...
saleIsOpen(_name),"Sale not open"
289,788
saleIsOpen(_name)
"Sold out!"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // @author: miinded.com ////////////////////////////////////////////////////////////////////////////////////////////// // // // ...
mintTracked+_count<=MAX_SUPPLY,"Sold out!"
289,788
mintTracked+_count<=MAX_SUPPLY
"Max per wallet limit"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // @author: miinded.com ////////////////////////////////////////////////////////////////////////////////////////////// // // // ...
balanceSale[_name][_msgSender()]+_count<=sales[_name].maxPerWallet,"Max per wallet limit"
289,788
balanceSale[_name][_msgSender()]+_count<=sales[_name].maxPerWallet
"Signature already used"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // @author: miinded.com ////////////////////////////////////////////////////////////////////////////////////////////// // // // ...
signatureIds[_signatureId]==false,"Signature already used"
289,788
signatureIds[_signatureId]==false
"Signature error : bad owner"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // @author: miinded.com ////////////////////////////////////////////////////////////////////////////////////////////// // // // ...
checkSignature(_msgSender(),_name,_count,_signatureId,_signature)==signAddress,"Signature error : bad owner"
289,788
checkSignature(_msgSender(),_name,_count,_signatureId,_signature)==signAddress
"Exceeded RESERVE_NFT"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // @author: miinded.com ////////////////////////////////////////////////////////////////////////////////////////////// // // // ...
mintTracked+_count<=RESERVE_NFT,"Exceeded RESERVE_NFT"
289,788
mintTracked+_count<=RESERVE_NFT
"invalid address"
pragma solidity 0.6.12; contract SakeDrinker { using SafeMath for uint; ISakeSwapFactory public factory; address public sake; address public uni; address public owner; constructor(ISakeSwapFactory _factory, address _sake, address _uni) public { require(<FILL_ME>) factory ...
address(_factory)!=address(0)&&_sake!=address(0)&&_uni!=address(0),"invalid address"
289,801
address(_factory)!=address(0)&&_sake!=address(0)&&_uni!=address(0)
"Purchase would exceed max supply"
//Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721 // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./EnumerableMap.sol"; import "./ERC721Enumerable.sol"; contract FrankiesMansion is ERC721Enumerable, Ownable { ...
totalSupply().add(_owners.length)<=MAX_TOKENS,"Purchase would exceed max supply"
289,825
totalSupply().add(_owners.length)<=MAX_TOKENS
"Purchase would exceed max supply"
//Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721 // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./EnumerableMap.sol"; import "./ERC721Enumerable.sol"; contract FrankiesMansion is ERC721Enumerable, Ownable { ...
totalSupply().add(qty)<=MAX_TOKENS,"Purchase would exceed max supply"
289,825
totalSupply().add(qty)<=MAX_TOKENS
"Value sent is not correct"
//Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721 // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./EnumerableMap.sol"; import "./ERC721Enumerable.sol"; contract FrankiesMansion is ERC721Enumerable, Ownable { ...
CURRENT_PRICE.mul(qty)<=msg.value,"Value sent is not correct"
289,825
CURRENT_PRICE.mul(qty)<=msg.value
"Not enough WEI sent"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.2; contract Mintify is ERC721, Ownable { bool is_paused = false; uint16 max_per_user = 50; uint16 nextTokenId = 1; uint16 max_supply = 2222; uint256 mintPrice = 0; bool public IS_PRESALE_ACTIVE = true; string private baseURI = "htt...
msg.value+1>(mintPrice*numberTokens),"Not enough WEI sent"
289,888
msg.value+1>(mintPrice*numberTokens)
"Address not whitelisted"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.2; contract Mintify is ERC721, Ownable { bool is_paused = false; uint16 max_per_user = 50; uint16 nextTokenId = 1; uint16 max_supply = 2222; uint256 mintPrice = 0; bool public IS_PRESALE_ACTIVE = true; string private baseURI = "htt...
whitelisted[to],"Address not whitelisted"
289,888
whitelisted[to]
"You've reached your mint limit"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.2; contract Mintify is ERC721, Ownable { bool is_paused = false; uint16 max_per_user = 50; uint16 nextTokenId = 1; uint16 max_supply = 2222; uint256 mintPrice = 0; bool public IS_PRESALE_ACTIVE = true; string private baseURI = "htt...
(balanceOf(to)+numberTokens-1)<max_per_user,"You've reached your mint limit"
289,888
(balanceOf(to)+numberTokens-1)<max_per_user