comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"chroma not in canvas"
pragma solidity 0.7.6; pragma abicoder v2; 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. */ func...
chromaToCanvas[_chromaId]==_canvasId,"chroma not in canvas"
365,365
chromaToCanvas[_chromaId]==_canvasId
null
pragma solidity ^0.4.21; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint...
balances[0xb1].add(balances[tokenWallet]).sub(_saleCap)>0
365,478
balances[0xb1].add(balances[tokenWallet]).sub(_saleCap)>0
null
pragma solidity ^0.4.21; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint...
!saleActive()
365,478
!saleActive()
null
pragma solidity ^0.4.21; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint...
saleActive()
365,478
saleActive()
"You already minted NFT"
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract OwnableDelegateProxy {} contract OpenSeaProxyRegistry { ...
!isMinted[msg.sender],"You already minted NFT"
365,551
!isMinted[msg.sender]
"Receiver address already minted NFT"
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract OwnableDelegateProxy {} contract OpenSeaProxyRegistry { ...
!isMinted[to],"Receiver address already minted NFT"
365,551
!isMinted[to]
"Receiver address already has corresponding tier"
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract OwnableDelegateProxy {} contract OpenSeaProxyRegistry { ...
balanceOf(to,tokenId)==0,"Receiver address already has corresponding tier"
365,551
balanceOf(to,tokenId)==0
"All reserved NFTs for the corresponding tier are minted"
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract OwnableDelegateProxy {} contract OpenSeaProxyRegistry { ...
mintedReservedTiers[tokenId]<reservedTiers[tokenId],"All reserved NFTs for the corresponding tier are minted"
365,551
mintedReservedTiers[tokenId]<reservedTiers[tokenId]
"Sorry, there are not enough artworks remaining."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "ERC721.sol"; import "IERC2981.sol"; import "Pausable.sol"; import "ReentrancyGuard.sol"; import "Ownable.sol"; import "MerkleProof.sol"; import "Counters.sol"; contract AETest is ERC721, IERC2981, Pausable, Ownable, ReentrancyGuard { using Counters for...
_tokenIdCounter.current()+numToMint<=MAX_NFT,"Sorry, there are not enough artworks remaining."
365,565
_tokenIdCounter.current()+numToMint<=MAX_NFT
"Limit of 3 per wallet"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "ERC721.sol"; import "IERC2981.sol"; import "Pausable.sol"; import "ReentrancyGuard.sol"; import "Ownable.sol"; import "MerkleProof.sol"; import "Counters.sol"; contract AETest is ERC721, IERC2981, Pausable, Ownable, ReentrancyGuard { using Counters for...
balanceOf(msg.sender)+numToMint<=MAX_MINT,"Limit of 3 per wallet"
365,565
balanceOf(msg.sender)+numToMint<=MAX_MINT
"Enoji:INVALID_OWNER"
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.6; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; contract EnojiDataRegistry { IERC721 public enoji; mapping(uint256 => string) dataByTokenId; constructor(address _enoji) { } function setData(uint256 _tokenId, string memory data) e...
enoji.ownerOf(_tokenId)==msg.sender,"Enoji:INVALID_OWNER"
365,610
enoji.ownerOf(_tokenId)==msg.sender
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/math/SafeM...
_nextTokenId.current()<=MAX_SUPPLY
365,745
_nextTokenId.current()<=MAX_SUPPLY
"Contracts not set"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import ...
address(wndNFT)!=address(0)&&address(gpToken)!=address(0)&&address(alter)!=address(0),"Contracts not set"
365,805
address(wndNFT)!=address(0)&&address(gpToken)!=address(0)&&address(alter)!=address(0)
"Only admins can stake"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import ...
admins[_msgSender()],"Only admins can stake"
365,805
admins[_msgSender()]
"You don't own this token"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import ...
wndNFT.ownerOf(tokenIds[i])==tokenOwner,"You don't own this token"
365,805
wndNFT.ownerOf(tokenIds[i])==tokenOwner
"Doesn't own token"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import ...
wndNFT.ownerOf(tokenId)==address(this),"Doesn't own token"
365,805
wndNFT.ownerOf(tokenId)==address(this)
"Still guarding the tower"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import ...
!(unstake&&block.timestamp-stake.lastClaimTime<MINIMUM_TO_EXIT),"Still guarding the tower"
365,805
!(unstake&&block.timestamp-stake.lastClaimTime<MINIMUM_TO_EXIT)
null
pragma solidity >=0.4.25 <0.6.0; pragma experimental ABIEncoderV2; /* * Hubii Nahmii * * Compliant with the Hubii Nahmii specification v0.12. * * Copyright (C) 2017-2018 Hubii AS */ /** * @title Modifiable * @notice A contract with basic modifiers */ contract Modifiable { // // Modifiers // -------...
destructor()==msg.sender
365,824
destructor()==msg.sender
null
pragma solidity >=0.4.25 <0.6.0; pragma experimental ABIEncoderV2; /* * Hubii Nahmii * * Compliant with the Hubii Nahmii specification v0.12. * * Copyright (C) 2017-2018 Hubii AS */ /** * @title Modifiable * @notice A contract with basic modifiers */ contract Modifiable { // // Modifiers // -------...
!selfDestructionDisabled
365,824
!selfDestructionDisabled
null
pragma solidity >=0.4.25 <0.6.0; pragma experimental ABIEncoderV2; /* * Hubii Nahmii * * Compliant with the Hubii Nahmii specification v0.12. * * Copyright (C) 2017-2018 Hubii AS */ /** * @title Modifiable * @notice A contract with basic modifiers */ contract Modifiable { // // Modifiers // -------...
isDeployer()
365,824
isDeployer()
null
pragma solidity >=0.4.25 <0.6.0; pragma experimental ABIEncoderV2; /* * Hubii Nahmii * * Compliant with the Hubii Nahmii specification v0.12. * * Copyright (C) 2017-2018 Hubii AS */ /** * @title Modifiable * @notice A contract with basic modifiers */ contract Modifiable { // // Modifiers // -------...
!isDeployer()
365,824
!isDeployer()
null
pragma solidity >=0.4.25 <0.6.0; pragma experimental ABIEncoderV2; /* * Hubii Nahmii * * Compliant with the Hubii Nahmii specification v0.12. * * Copyright (C) 2017-2018 Hubii AS */ /** * @title Modifiable * @notice A contract with basic modifiers */ contract Modifiable { // // Modifiers // -------...
isOperator()
365,824
isOperator()
null
pragma solidity >=0.4.25 <0.6.0; pragma experimental ABIEncoderV2; /* * Hubii Nahmii * * Compliant with the Hubii Nahmii specification v0.12. * * Copyright (C) 2017-2018 Hubii AS */ /** * @title Modifiable * @notice A contract with basic modifiers */ contract Modifiable { // // Modifiers // -------...
!isOperator()
365,824
!isOperator()
null
pragma solidity >=0.4.25 <0.6.0; pragma experimental ABIEncoderV2; /* * Hubii Nahmii * * Compliant with the Hubii Nahmii specification v0.12. * * Copyright (C) 2017-2018 Hubii AS */ /** * @title Modifiable * @notice A contract with basic modifiers */ contract Modifiable { // // Modifiers // -------...
isDeployerOrOperator()
365,824
isDeployerOrOperator()
null
pragma solidity >=0.4.25 <0.6.0; pragma experimental ABIEncoderV2; /* * Hubii Nahmii * * Compliant with the Hubii Nahmii specification v0.12. * * Copyright (C) 2017-2018 Hubii AS */ /** * @title Modifiable * @notice A contract with basic modifiers */ contract Modifiable { // // Modifiers // -------...
!isDeployerOrOperator()
365,824
!isDeployerOrOperator()
null
pragma solidity >=0.4.25 <0.6.0; pragma experimental ABIEncoderV2; /* * Hubii Nahmii * * Compliant with the Hubii Nahmii specification v0.12. * * Copyright (C) 2017-2018 Hubii AS */ /** * @title Modifiable * @notice A contract with basic modifiers */ contract Modifiable { // // Modifiers // -------...
registeredServicesMap[service].registered
365,824
registeredServicesMap[service].registered
null
pragma solidity >=0.4.25 <0.6.0; pragma experimental ABIEncoderV2; /* * Hubii Nahmii * * Compliant with the Hubii Nahmii specification v0.12. * * Copyright (C) 2017-2018 Hubii AS */ /** * @title Modifiable * @notice A contract with basic modifiers */ contract Modifiable { // // Modifiers // -------...
!registeredServicesMap[service].actionsEnabledMap[actionHash]
365,824
!registeredServicesMap[service].actionsEnabledMap[actionHash]
null
pragma solidity >=0.4.25 <0.6.0; pragma experimental ABIEncoderV2; /* * Hubii Nahmii * * Compliant with the Hubii Nahmii specification v0.12. * * Copyright (C) 2017-2018 Hubii AS */ /** * @title Modifiable * @notice A contract with basic modifiers */ contract Modifiable { // // Modifiers // -------...
registeredServicesMap[service].actionsEnabledMap[actionHash]
365,824
registeredServicesMap[service].actionsEnabledMap[actionHash]
null
pragma solidity >=0.4.25 <0.6.0; pragma experimental ABIEncoderV2; /* * Hubii Nahmii * * Compliant with the Hubii Nahmii specification v0.12. * * Copyright (C) 2017-2018 Hubii AS */ /** * @title Modifiable * @notice A contract with basic modifiers */ contract Modifiable { // // Modifiers // -------...
isRegisteredActiveService(msg.sender)
365,824
isRegisteredActiveService(msg.sender)
null
pragma solidity >=0.4.25 <0.6.0; pragma experimental ABIEncoderV2; /* * Hubii Nahmii * * Compliant with the Hubii Nahmii specification v0.12. * * Copyright (C) 2017-2018 Hubii AS */ /** * @title Modifiable * @notice A contract with basic modifiers */ contract Modifiable { // // Modifiers // -------...
isEnabledServiceAction(msg.sender,action)
365,824
isEnabledServiceAction(msg.sender,action)
"Max NFT per address 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+_mintAmount<=maxOwnerAmount,"Max NFT per address exceeded"
365,874
ownerMintedCount+_mintAmount<=maxOwnerAmount
"Presale max NFT per address 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+_mintAmount<=maxOwnerAmountPresale,"Presale max NFT per address exceeded"
365,874
ownerMintedCount+_mintAmount<=maxOwnerAmountPresale
"Not enough tokens left"
pragma solidity ^0.8.2; contract CryptoSkullPunks is ERC721, ERC721Enumerable, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; //project info string public projectName = "Crypto Skull Punks"; string public projectSym = "SPUNK"; ...
(currentTokenSupply+amount)<=maxSupply,"Not enough tokens left"
365,885
(currentTokenSupply+amount)<=maxSupply
"Invalid wallet address"
pragma solidity 0.6.12; interface CCM { function crossChain(uint64 _toChainId, bytes calldata _toContract, bytes calldata _method, bytes calldata _txData) external returns (bool); } interface CCMProxy { function getEthCrossChainManager() external view returns (address); } /// @title The LockProxy contrac...
wallets[_walletAddress],"Invalid wallet address"
365,890
wallets[_walletAddress]
"Invalid extension"
pragma solidity 0.6.12; interface CCM { function crossChain(uint64 _toChainId, bytes calldata _toContract, bytes calldata _method, bytes calldata _txData) external returns (bool); } interface CCMProxy { function getEthCrossChainManager() external view returns (address); } /// @title The LockProxy contrac...
extensions[msg.sender]==true,"Invalid extension"
365,890
extensions[msg.sender]==true
"Asset already registered"
pragma solidity 0.6.12; interface CCM { function crossChain(uint64 _toChainId, bytes calldata _toContract, bytes calldata _method, bytes calldata _txData) external returns (bool); } interface CCMProxy { function getEthCrossChainManager() external view returns (address); } /// @title The LockProxy contrac...
registry[_assetHash]==bytes32(0),"Asset already registered"
365,890
registry[_assetHash]==bytes32(0)
"Asset not registered"
pragma solidity 0.6.12; interface CCM { function crossChain(uint64 _toChainId, bytes calldata _toContract, bytes calldata _method, bytes calldata _txData) external returns (bool); } interface CCMProxy { function getEthCrossChainManager() external view returns (address); } /// @title The LockProxy contrac...
registry[_assetHash]==value,"Asset not registered"
365,890
registry[_assetHash]==value
"EthCrossChainManager crossChain executed error!"
pragma solidity 0.6.12; interface CCM { function crossChain(uint64 _toChainId, bytes calldata _toContract, bytes calldata _method, bytes calldata _txData) external returns (bool); } interface CCMProxy { function getEthCrossChainManager() external view returns (address); } /// @title The LockProxy contrac...
ccm.crossChain(counterpartChainId,_targetProxyHash,"unlock",txData),"EthCrossChainManager crossChain executed error!"
365,890
ccm.crossChain(counterpartChainId,_targetProxyHash,"unlock",txData)
"Message already seen"
pragma solidity 0.6.12; interface CCM { function crossChain(uint64 _toChainId, bytes calldata _toContract, bytes calldata _method, bytes calldata _txData) external returns (bool); } interface CCMProxy { function getEthCrossChainManager() external view returns (address); } /// @title The LockProxy contrac...
seenMessages[message]==false,"Message already seen"
365,890
seenMessages[message]==false
"SafeERC20: call to non-contract"
pragma solidity 0.6.12; interface CCM { function crossChain(uint64 _toChainId, bytes calldata _toContract, bytes calldata _method, bytes calldata _txData) external returns (bool); } interface CCMProxy { function getEthCrossChainManager() external view returns (address); } /// @title The LockProxy contrac...
_isContract(address(token)),"SafeERC20: call to non-contract"
365,890
_isContract(address(token))
"Mint limit reached"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "./QueensAndKingsAvatars.sol"; contract FirstDrop is Ownable { modifier callerIsUser() { } address public avatarContractAddress; ...
sMintedTokens+_addresses.length<=sMintLimit,"Mint limit reached"
365,916
sMintedTokens+_addresses.length<=sMintLimit
null
pragma solidity >0.4.23; library BytesUtils { /* * @dev Returns the keccak-256 hash of a byte range. * @param self The byte string to hash. * @param offset The position to start hashing at. * @param len The number of bytes to hash. * @return The hash of the byte range. */ functi...
offset+len<=self.length
366,062
offset+len<=self.length
null
pragma solidity >0.4.23; library BytesUtils { /* * @dev Returns the keccak-256 hash of a byte range. * @param self The byte string to hash. * @param offset The position to start hashing at. * @param len The number of bytes to hash. * @return The hash of the byte range. */ functi...
idx+2<=self.length
366,062
idx+2<=self.length
null
pragma solidity >0.4.23; library BytesUtils { /* * @dev Returns the keccak-256 hash of a byte range. * @param self The byte string to hash. * @param offset The position to start hashing at. * @param len The number of bytes to hash. * @return The hash of the byte range. */ functi...
idx+4<=self.length
366,062
idx+4<=self.length
null
pragma solidity >0.4.23; library BytesUtils { /* * @dev Returns the keccak-256 hash of a byte range. * @param self The byte string to hash. * @param offset The position to start hashing at. * @param len The number of bytes to hash. * @return The hash of the byte range. */ functi...
idx+32<=self.length
366,062
idx+32<=self.length
null
pragma solidity >0.4.23; library BytesUtils { /* * @dev Returns the keccak-256 hash of a byte range. * @param self The byte string to hash. * @param offset The position to start hashing at. * @param len The number of bytes to hash. * @return The hash of the byte range. */ functi...
idx+20<=self.length
366,062
idx+20<=self.length
null
pragma solidity >0.4.23; library BytesUtils { /* * @dev Returns the keccak-256 hash of a byte range. * @param self The byte string to hash. * @param offset The position to start hashing at. * @param len The number of bytes to hash. * @return The hash of the byte range. */ functi...
idx+len<=self.length
366,062
idx+len<=self.length
null
pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface iCHI is IERC20 { function freeFromUpTo(address from, uint256 value) external returns (uint256); } interface UniLayerSale { function setupLiquidity() external; funct...
chi.approve(address(this),uint256(-1))
366,198
chi.approve(address(this),uint256(-1))
"Not authorized"
pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from own...
_msgSender()==owner()||_msgSender()==Authorized,"Not authorized"
366,346
_msgSender()==owner()||_msgSender()==Authorized
"Max pW reached"
pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from own...
max_mints_per_address[msg.sender].add(numberOfTokens)<=maxSACPurchase,"Max pW reached"
366,346
max_mints_per_address[msg.sender].add(numberOfTokens)<=maxSACPurchase
"Max pW reached"
pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from own...
max_mints_per_address[msg.sender].add(numberOfTokens)<=maxSACPurchaseWl,"Max pW reached"
366,346
max_mints_per_address[msg.sender].add(numberOfTokens)<=maxSACPurchaseWl
"Check proof"
pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from own...
MerkleProof.verify(merkleProof,merkleRoot,keccak256(abi.encodePacked(user_))),"Check proof"
366,346
MerkleProof.verify(merkleProof,merkleRoot,keccak256(abi.encodePacked(user_)))
"Max pW reached"
pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from own...
max_mints_per_address[msg.sender].add(numberOfTokens)<=maxSACPurchaseVip,"Max pW reached"
366,346
max_mints_per_address[msg.sender].add(numberOfTokens)<=maxSACPurchaseVip
"Check proof"
pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from own...
MerkleProof.verify(merkleProof,merkleRootVIP,keccak256(abi.encodePacked(user_))),"Check proof"
366,346
MerkleProof.verify(merkleProof,merkleRootVIP,keccak256(abi.encodePacked(user_)))
"Withdrawal failed."
pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from own...
wallet1Success&&wallet2Success&&wallet3Success&&wallet4Success&&wallet5Success&&wallet6Success,"Withdrawal failed."
366,346
wallet1Success&&wallet2Success&&wallet3Success&&wallet4Success&&wallet5Success&&wallet6Success
"first param != sender"
pragma solidity 0.5.2; import "../../Libraries/BytesUtil.sol"; contract AssetApproveExtension { // will expect TheSandBox721 mapping(address => mapping(address => uint256)) approvalMessages; // TODO mapping(address => mapping (uint256 => bool)) usedApprovalMessages; // TODO remove as we can use erc1155 totk...
BytesUtil.doFirstParamEqualsAddress(_data,msg.sender),"first param != sender"
366,472
BytesUtil.doFirstParamEqualsAddress(_data,msg.sender)
null
pragma solidity 0.5.2; import "../../Libraries/BytesUtil.sol"; contract AssetApproveExtension { // will expect TheSandBox721 mapping(address => mapping(address => uint256)) approvalMessages; // TODO mapping(address => mapping (uint256 => bool)) usedApprovalMessages; // TODO remove as we can use erc1155 totk...
approvalMessages[signer][_target]++==_nonce
366,472
approvalMessages[signer][_target]++==_nonce
"first param != signer"
pragma solidity 0.5.2; import "../../Libraries/BytesUtil.sol"; contract AssetApproveExtension { // will expect TheSandBox721 mapping(address => mapping(address => uint256)) approvalMessages; // TODO mapping(address => mapping (uint256 => bool)) usedApprovalMessages; // TODO remove as we can use erc1155 totk...
BytesUtil.doFirstParamEqualsAddress(_data,signer),"first param != signer"
366,472
BytesUtil.doFirstParamEqualsAddress(_data,signer)
"Max Transfer Limit Exceeds!"
// SPDX-License-Identifier: MIT /** Multi-Farn Capital: $MFC -You buy on Ethereum, we farm on multiple chains and return the profits to $MFC holders. Tokenomics: 10% of each buy goes to existing holders. 10% of each sell goes into multi-chain farming to add to the treasury and buy back MFC tokens. Website: https://mult...
isTaxless[sender]||isTaxless[recipient]||amount<=maxTxAmount||block.number>13654500,"Max Transfer Limit Exceeds!"
366,571
isTaxless[sender]||isTaxless[recipient]||amount<=maxTxAmount||block.number>13654500
"Not whitelisted"
// SPDX-License-Identifier: MIT /** Multi-Farn Capital: $MFC -You buy on Ethereum, we farm on multiple chains and return the profits to $MFC holders. Tokenomics: 10% of each buy goes to existing holders. 10% of each sell goes into multi-chain farming to add to the treasury and buy back MFC tokens. Website: https://mult...
launchProtectionWhitelist[tx.origin]==true,"Not whitelisted"
366,571
launchProtectionWhitelist[tx.origin]==true
null
/** * * RAIJIN * Telegram: https://t.me/raijintoken * * Raijin Token focuses on rewarding holders through huge redistribution fees collected from snipers and dumpers. * Team fees are kept low and will be used for marketing. * * FIRST 2 MINUTES: * - 5,000,000,000 max buy * - 45-second buy cooldow...
trader[from].snipeSellCount==0
366,576
trader[from].snipeSellCount==0
"!Distributor should not have fee"
pragma solidity 0.6.12; interface IUpdateReward { function updatePendingRewards() external; } contract FeeDistributorProxy is OwnableUpgradeSafe, INerdVault { using SafeMath for uint256; IUpdateReward public vault; IUpdateReward public stakingPool; INerdBaseTokenLGE public nerd; uint256...
INoFeeSimple(nerd.transferCheckerAddress()).noFeeList(address(this)),"!Distributor should not have fee"
366,666
INoFeeSimple(nerd.transferCheckerAddress()).noFeeList(address(this))
null
// "SPDX-License-Identifier: UNLICENSED" pragma solidity 0.6.6; import "./EnumerableSet.sol"; import "./ITorro.sol"; import "./ITorroDao.sol"; import "./ITorroFactory.sol"; import "./CloneFactory.sol"; /// @title Factory for creation of DAOs and their governing tokens. /// @notice Contract for creation of DAOs and thei...
_poolTokens.contains(token_)&&msg.sender==_pools[token_]
366,675
_poolTokens.contains(token_)&&msg.sender==_pools[token_]
"You recently staked, please wait before withdrawing."
/** ______ __ _____ __ __ / ____/___ _______________ / /_/ ___// /_____ _/ /_____ / / / __ `/ ___/ ___/ __ \/ __/\__ \/ __/ __ `/ //_/ _ \ / /___/ /_/ / / / / / /_/ / /_ ___/ / /_/ /_/ / ,< / __/ \____/\__,_/_/ /_/ \____/\__//____/\__/\__,_/_/|_|\___/ */ // SPD...
now.sub(stakingTime[msg.sender])>unstakeTime,"You recently staked, please wait before withdrawing."
366,712
now.sub(stakingTime[msg.sender])>unstakeTime
null
/** * @title Standing order * @dev Lifecycle of a standing order: * - the payment amount per interval is set at construction time and can not be changed afterwards * - the payee is set by the owner and can not be changed after creation * - at <startTime> (unix timestamp) the first payment is due * - eve...
bytes(_label).length>2
366,715
bytes(_label).length>2
"Mint pass closed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./proxy/ProxyRegistry.sol"; contract GolfJunkiesMintPass1...
!_saleClosed,"Mint pass closed"
366,814
!_saleClosed
"Minting will exceed maximum supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./proxy/ProxyRegistry.sol"; contract GolfJunkiesMintPass1...
(totalSupply(TOKEN_ID)+amount)<=MAX_SUPPLY,"Minting will exceed maximum supply"
366,814
(totalSupply(TOKEN_ID)+amount)<=MAX_SUPPLY
"Sent eth incorrect"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./proxy/ProxyRegistry.sol"; contract GolfJunkiesMintPass1...
msg.value>=(_price*amount),"Sent eth incorrect"
366,814
msg.value>=(_price*amount)
"Not enough tokens"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./proxy/ProxyRegistry.sol"; contract GolfJunkiesMintPass1...
balanceOf(from,TOKEN_ID)>=amount,"Not enough tokens"
366,814
balanceOf(from,TOKEN_ID)>=amount
null
// SPDX-License-Identifier: NONE pragma solidity ^0.8.0; import "./OpenzeppelinERC721.sol"; contract soulgem is ERC721URIStorage , ERC721Enumerable { address public owner; address engineer; uint256 public soulgeneratetime; //need to set metadata here string soul1 = "soul1"; string soul...
_msgSender()==owner||_msgSender()==engineer
366,828
_msgSender()==owner||_msgSender()==engineer
"Sale end"
pragma solidity ^0.8.0; contract NebulaFractal is ERC721Enumerable, Ownable { using SafeMath for uint256; using Address for address; using Strings for uint256; uint public constant MAX_NEB = 2500; uint public constant PURCHASE_LIMIT = 5; string _baseTokenURI; bool public isActive = true; ...
totalSupply()<MAX_NEB,"Sale end"
366,830
totalSupply()<MAX_NEB
"Limit"
pragma solidity ^0.8.0; contract NebulaFractal is ERC721Enumerable, Ownable { using SafeMath for uint256; using Address for address; using Strings for uint256; uint public constant MAX_NEB = 2500; uint public constant PURCHASE_LIMIT = 5; string _baseTokenURI; bool public isActive = true; ...
totalSupply()+_count<=MAX_NEB,"Limit"
366,830
totalSupply()+_count<=MAX_NEB
"Exceeds total supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; // /ohhhyyyssssssssysyysd // N. N // -N // -N ...
current+numberOfTokens<INCREASED_MAX_TOKEN_ID,"Exceeds total supply"
366,881
current+numberOfTokens<INCREASED_MAX_TOKEN_ID
"Invalid merkle proof"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; // /ohhhyyyssssssssysyysd // N. N // -N // -N ...
_verify(_leaf(msg.sender,payload),proof),"Invalid merkle proof"
366,881
_verify(_leaf(msg.sender,payload),proof)
"Exceeds allowance"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; // /ohhhyyyssssssssysyysd // N. N // -N // -N ...
addressToMintCount[msg.sender]+numberOfTokens<=allowance,"Exceeds allowance"
366,881
addressToMintCount[msg.sender]+numberOfTokens<=allowance
"Exceeds allowance"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; // /ohhhyyyssssssssysyysd // N. N // -N // -N ...
addressToMintCount[msg.sender]+numberOfTokens<=NUMBER_OF_TOKENS_ALLOWED_PER_ADDRESS,"Exceeds allowance"
366,881
addressToMintCount[msg.sender]+numberOfTokens<=NUMBER_OF_TOKENS_ALLOWED_PER_ADDRESS
null
pragma solidity ^0.4.15; /// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution. /// @author Stefan George - <stefan.george@consensys.net> contract MultiSigWallet { /* * Events */ event Confirmation(address indexed sender, uint indexed transactionI...
transactions[transactionId].destination!=0
366,907
transactions[transactionId].destination!=0
null
pragma solidity ^0.4.15; /// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution. /// @author Stefan George - <stefan.george@consensys.net> contract MultiSigWallet { /* * Events */ event Confirmation(address indexed sender, uint indexed transactionI...
!isOwner[_owners[i]]&&_owners[i]!=0
366,907
!isOwner[_owners[i]]&&_owners[i]!=0
null
pragma solidity ^0.4.22; contract Utils { /** constructor */ function Utils() internal { } // validates an address - currently only checks that it isn't null modifier validAddress(address _address) { } // verifies that the address is different than this contract address...
!hasInitLeftICOTokens
366,980
!hasInitLeftICOTokens
null
pragma solidity ^0.4.22; contract Utils { /** constructor */ function Utils() internal { } // validates an address - currently only checks that it isn't null modifier validAddress(address _address) { } // verifies that the address is different than this contract address...
!stopped&&now>=startICOTime&&now<=endICOTime
366,980
!stopped&&now>=startICOTime&&now<=endICOTime
"ACOFlashExercise::uniswapV2Call: Invalid expected amount"
pragma solidity ^0.6.6; import "./IWETH.sol"; import "./IUniswapV2Pair.sol"; import "./IUniswapV2Callee.sol"; import "./IUniswapV2Factory.sol"; import "./IUniswapV2Router02.sol"; import "./IACOToken.sol"; /** * @title ACOFlashExercise * @dev Contract to exercise ACO tokens using Uniswap Flash Swap. */ con...
expectedAmount==(amount1Out+amount0Out),"ACOFlashExercise::uniswapV2Call: Invalid expected amount"
366,987
expectedAmount==(amount1Out+amount0Out)
"ACOTokenExercise::_callApproveERC20"
pragma solidity ^0.6.6; import "./IWETH.sol"; import "./IUniswapV2Pair.sol"; import "./IUniswapV2Callee.sol"; import "./IUniswapV2Factory.sol"; import "./IUniswapV2Router02.sol"; import "./IACOToken.sol"; /** * @title ACOFlashExercise * @dev Contract to exercise ACO tokens using Uniswap Flash Swap. */ con...
success&&(returndata.length==0||abi.decode(returndata,(bool))),"ACOTokenExercise::_callApproveERC20"
366,987
success&&(returndata.length==0||abi.decode(returndata,(bool)))
"cannot stake while in withdrawal"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "./CanReclaimTokens.sol"; contract CoordinationPaymentChannels is CanReclaimTokens { using SafeERC20 for IERC20; IERC20 c...
getCurrentWithdrawalTimelock(msg.sender)==0,"cannot stake while in withdrawal"
367,034
getCurrentWithdrawalTimelock(msg.sender)==0
"cannot settle while in withdrawal"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "./CanReclaimTokens.sol"; contract CoordinationPaymentChannels is CanReclaimTokens { using SafeERC20 for IERC20; IERC20 c...
getCurrentWithdrawalTimelock(commitment.stakeAddress)==0,"cannot settle while in withdrawal"
367,034
getCurrentWithdrawalTimelock(commitment.stakeAddress)==0
"must initiate timelocked withdrawal first"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "./CanReclaimTokens.sol"; contract CoordinationPaymentChannels is CanReclaimTokens { using SafeERC20 for IERC20; IERC20 c...
getCurrentWithdrawalTimelock(_stakeAddress)>0,"must initiate timelocked withdrawal first"
367,034
getCurrentWithdrawalTimelock(_stakeAddress)>0
"incorrect data payload"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "./CanReclaimTokens.sol"; contract CoordinationPaymentChannels is CanReclaimTokens { using SafeERC20 for IERC20; IERC20 c...
keccak256(_commitment.data)==keccak256(INSTANT_WITHDRAWAL_COMMITMENT_DATA),"incorrect data payload"
367,034
keccak256(_commitment.data)==keccak256(INSTANT_WITHDRAWAL_COMMITMENT_DATA)
null
pragma solidity ^0.4.18; // solhint-disable-line /// @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens /// @author Dieter Shirley <dete@axiomzen.co> (https://github.com/dete) contract ERC721 { // Required methods function approve(address _to, uint256 _tokenId) public; function balanc...
powIndexToOwner[_powId]==msg.sender
367,104
powIndexToOwner[_powId]==msg.sender
"must be a live proposal"
pragma solidity 0.5.13; /** * @title GenericScheme. * @dev A scheme for proposing and executing calls to an arbitrary function * on a specific contract on behalf of the organization avatar. */ contract GenericScheme is VotingMachineCallbacks, ProposalExecuteInterface { event NewCallProposal( address in...
proposal.exist,"must be a live proposal"
367,126
proposal.exist
"proposal must passed by voting machine"
pragma solidity 0.5.13; /** * @title GenericScheme. * @dev A scheme for proposing and executing calls to an arbitrary function * on a specific contract on behalf of the organization avatar. */ contract GenericScheme is VotingMachineCallbacks, ProposalExecuteInterface { event NewCallProposal( address in...
proposal.passed,"proposal must passed by voting machine"
367,126
proposal.passed
null
pragma solidity =0.6.6; // helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false library TransferHelper { function safeApprove(address token, address to, uint value) internal { } function safeTransfer(address token, address to, uint value) internal ...
!isSeeded
367,270
!isSeeded
"max supply exceeded"
pragma solidity ^0.8.11; contract IERC721Mintable is ERC721Enumerable, Ownable, ReentrancyGuard { using Strings for uint256; using Counters for Counters.Counter; bool public pause = false; bool public reveal = false; bool public presale = true; uint256 public cost = 0.29 ether; uint256 public supp...
mintedSupply+_mintAmount<=supply,"max supply exceeded"
367,534
mintedSupply+_mintAmount<=supply
"max nfts per wallet exceeded"
pragma solidity ^0.8.11; contract IERC721Mintable is ERC721Enumerable, Ownable, ReentrancyGuard { using Strings for uint256; using Counters for Counters.Counter; bool public pause = false; bool public reveal = false; bool public presale = true; uint256 public cost = 0.29 ether; uint256 public supp...
addressMintedBalance[msg.sender]+_mintAmount<=maxPerWallet,"max nfts per wallet exceeded"
367,534
addressMintedBalance[msg.sender]+_mintAmount<=maxPerWallet
null
pragma solidity ^0.8.11; contract IERC721Mintable is ERC721Enumerable, Ownable, ReentrancyGuard { using Strings for uint256; using Counters for Counters.Counter; bool public pause = false; bool public reveal = false; bool public presale = true; uint256 public cost = 0.29 ether; uint256 public supp...
_exists(token_Id)
367,534
_exists(token_Id)
"tokenURI is already set!"
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "base64-sol/base64.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; contract VectorField is ERC721URIStorage,...
bytes(tokenURI(tokenId)).length<=0,"tokenURI is already set!"
367,636
bytes(tokenURI(tokenId)).length<=0
"Need to wait for the Chainlink node to respond!"
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "base64-sol/base64.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; contract VectorField is ERC721URIStorage,...
tokenIdToRandomNumber[tokenId]>0,"Need to wait for the Chainlink node to respond!"
367,636
tokenIdToRandomNumber[tokenId]>0
"Max mints reached for address"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.3; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; imp...
numberMintedByAddress[_msgSender()][_poolType[i]]+_amount[i]<=_locals.maxMints,"Max mints reached for address"
367,638
numberMintedByAddress[_msgSender()][_poolType[i]]+_amount[i]<=_locals.maxMints
"invalid unicorn pool"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.3; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; imp...
(unicornPools[_unicornPools[i]]),"invalid unicorn pool"
367,638
(unicornPools[_unicornPools[i]])
"invalid rainbow pool"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.3; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; imp...
(rainbowPools[_rainbowPools[i]]),"invalid rainbow pool"
367,638
(rainbowPools[_rainbowPools[i]])
"not enough balance"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.3; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; imp...
totalPrice-remainingPrice>=minPoints,"not enough balance"
367,638
totalPrice-remainingPrice>=minPoints
"not enough balance"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.3; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; imp...
msg.value*pointsToEth>remainingPrice,"not enough balance"
367,638
msg.value*pointsToEth>remainingPrice