comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
null
pragma solidity ^0.4.23; contract TokenReclaim{ mapping (address=>string) internal _ethToSphtx; mapping (string =>string) internal _accountToPubKey; event AccountRegister (address ethAccount, string sphtxAccount, string pubKey); function register(string name, string pubKey) public{ require...
bytes(name).length>=3&&bytes(name).length<=16
396,358
bytes(name).length>=3&&bytes(name).length<=16
null
pragma solidity ^0.4.23; contract TokenReclaim{ mapping (address=>string) internal _ethToSphtx; mapping (string =>string) internal _accountToPubKey; event AccountRegister (address ethAccount, string sphtxAccount, string pubKey); function register(string name, string pubKey) public{ require...
(b[0]>='a'&&b[0]<='z')||(b[0]>='0'&&b[0]<='9')
396,358
(b[0]>='a'&&b[0]<='z')||(b[0]>='0'&&b[0]<='9')
null
pragma solidity ^0.4.23; contract TokenReclaim{ mapping (address=>string) internal _ethToSphtx; mapping (string =>string) internal _accountToPubKey; event AccountRegister (address ethAccount, string sphtxAccount, string pubKey); function register(string name, string pubKey) public{ require...
(b[i]>='a'&&b[i]<='z')||(b[i]>='0'&&b[i]<='9')||b[i]=='-'||b[i]=='.'
396,358
(b[i]>='a'&&b[i]<='z')||(b[i]>='0'&&b[i]<='9')||b[i]=='-'||b[i]=='.'
null
pragma solidity ^0.4.23; contract TokenReclaim{ mapping (address=>string) internal _ethToSphtx; mapping (string =>string) internal _accountToPubKey; event AccountRegister (address ethAccount, string sphtxAccount, string pubKey); function register(string name, string pubKey) public{ require...
bytes(pubKey).length<=64&&bytes(pubKey).length>=50
396,358
bytes(pubKey).length<=64&&bytes(pubKey).length>=50
null
pragma solidity ^0.4.23; contract TokenReclaim{ mapping (address=>string) internal _ethToSphtx; mapping (string =>string) internal _accountToPubKey; event AccountRegister (address ethAccount, string sphtxAccount, string pubKey); function register(string name, string pubKey) public{ require...
bytes(_ethToSphtx[msg.sender]).length==0||keccak256(bytes((_ethToSphtx[msg.sender])))==keccak256(bytes(name))
396,358
bytes(_ethToSphtx[msg.sender]).length==0||keccak256(bytes((_ethToSphtx[msg.sender])))==keccak256(bytes(name))
null
pragma solidity ^0.4.23; contract TokenReclaim{ mapping (address=>string) internal _ethToSphtx; mapping (string =>string) internal _accountToPubKey; event AccountRegister (address ethAccount, string sphtxAccount, string pubKey); function register(string name, string pubKey) public{ require...
bytes(_accountToPubKey[name]).length==0||keccak256(bytes((_ethToSphtx[msg.sender])))==keccak256(bytes(name))
396,358
bytes(_accountToPubKey[name]).length==0||keccak256(bytes((_ethToSphtx[msg.sender])))==keccak256(bytes(name))
"Request exceeds total supply"
pragma solidity >=0.7.0 <0.9.0; contract MicroExplorers is ERC721, Ownable { using Strings for uint256; string public baseURI; string public baseExtension = ".json"; uint256 public cost = 0.01 ether; uint256 public maxSupply = 10000; uint256 public maxMintAmount = 20; uint256 public nextTokenId = 1;...
nextTokenId-1+_mintAmount<=maxSupply,"Request exceeds total supply"
396,438
nextTokenId-1+_mintAmount<=maxSupply
"max NFT limit 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...
supply+_mintAmount<=preSupply,"max NFT limit exceeded"
396,445
supply+_mintAmount<=preSupply
null
//4,800 Stupid Fish Tanks that do not have fish inside and exist on the Ethereum Blockchain. //0.02 ETH per mint, max 20 FISHTANKS per transaction. //You can mint from contract or mint from website. //https://twitter.com/stupidfishtank //https://discord.gg/mjAUCr8bFC //http://fishtank.fun/ pragma solidity ^0.8....
totalSupply()+_mintAmount<=maxFISHTANK
396,514
totalSupply()+_mintAmount<=maxFISHTANK
"Invalid buying token address"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/u...
address(_buyingToken)!=address(0),"Invalid buying token address"
396,525
address(_buyingToken)!=address(0)
"Invalid uniswap router address"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/u...
address(_uniswapRouter)!=address(0),"Invalid uniswap router address"
396,525
address(_uniswapRouter)!=address(0)
"Invalid token out"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/u...
swapPath[swapPath.length-1]==address(buyingToken),"Invalid token out"
396,525
swapPath[swapPath.length-1]==address(buyingToken)
"Not enough supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/AccessControlEnumerable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.s...
(amount+tokenSupply)<=tokenMax,"Not enough supply"
396,581
(amount+tokenSupply)<=tokenMax
null
pragma solidity ^0.4.24; contract Base { uint8 constant HEROLEVEL_MIN = 1; uint8 constant HEROLEVEL_MAX = 5; uint8 constant LIMITCHIP_MINLEVEL = 3; uint constant PARTWEIGHT_NORMAL = 100; uint constant PARTWEIGHT_LIMIT = 40; address creator; constructor() public { } mo...
!HasGift(key)
396,620
!HasGift(key)
"Party::__Party_init: NFT getOwner failed"
/* __/\\\\\\\\\\\\\_____________________________________________________________/\\\\\\\\\\\\________/\\\\\\\\\__________/\\\\\______ _\/\\\/////////\\\__________________________________________________________\/\\\////////\\\____/\\\\\\\\\\\\\______/\\\///\\\____ _\/\\\_______\/\\\__________________________________...
_getOwner()!=address(0),"Party::__Party_init: NFT getOwner failed"
396,626
_getOwner()!=address(0)
'Invalid Address'
pragma solidity ^0.5.10; pragma experimental ABIEncoderV2; /** * @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. * * This module is used through inheritance. It will make available the ...
exchanges[i]!=address(approvalHandler)&&isContract(exchanges[i]),'Invalid Address'
396,761
exchanges[i]!=address(approvalHandler)&&isContract(exchanges[i])
'External Call Failed'
pragma solidity ^0.5.10; pragma experimental ABIEncoderV2; /** * @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. * * This module is used through inheritance. It will make available the ...
external_call(exchanges[i],etherValues[i],offsets[i],offsets[i+1]-offsets[i],data),'External Call Failed'
396,761
external_call(exchanges[i],etherValues[i],offsets[i],offsets[i+1]-offsets[i],data)
"Address already made a bet"
pragma solidity ^0.4.24; contract ERC20Token { function transferFrom(address from, address to, uint value); function transfer(address recipient, uint256 amount); } contract Stats { function getDay( uint128 day) public view returns (uint); } contract NcovDeadPool { struct Bet { uint256 amount...
bets[msg.sender].amount==0,"Address already made a bet"
396,775
bets[msg.sender].amount==0
"Past dates not allowed"
pragma solidity ^0.4.24; contract ERC20Token { function transferFrom(address from, address to, uint value); function transfer(address recipient, uint256 amount); } contract Stats { function getDay( uint128 day) public view returns (uint); } contract NcovDeadPool { struct Bet { uint256 amount...
statsc.getDay(day)==0,"Past dates not allowed"
396,775
statsc.getDay(day)==0
"No bet found"
pragma solidity ^0.4.24; contract ERC20Token { function transferFrom(address from, address to, uint value); function transfer(address recipient, uint256 amount); } contract Stats { function getDay( uint128 day) public view returns (uint); } contract NcovDeadPool { struct Bet { uint256 amount...
bets[msg.sender].amount>0,"No bet found"
396,775
bets[msg.sender].amount>0
null
//SPDX-License-Identifier: MIT pragma solidity ^0.8.7; contract Basket is ERC721Enumerable, Ownable { using Strings for uint256; string public baseURI; string public baseExtension = ".json"; uint256 public cost = 0.2 ether; uint256 public presaleCost = 0.1 ether; uint256 public maxSupply...
presaleWallets[msg.sender]
396,827
presaleWallets[msg.sender]
"not owner"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; contract Staking is Ownable, Pausable { using EnumerableSet for EnumerableSet.UintSe...
_depositedIds[msg.sender].contains(tokenIds[i]),"not owner"
396,843
_depositedIds[msg.sender].contains(tokenIds[i])
"Tokens have already been locked up for the given address"
pragma solidity 0.5.14; contract TimeLockTokenEscrow is ReentrancyGuard { event Lockup( address indexed _beneficiary, uint256 indexed _amount, uint256 _lockedUntil ); event Withdrawal( address indexed _beneficiary, address indexed _caller ); struct ...
beneficiaryToTimeLock[_beneficiary].amount==0,"Tokens have already been locked up for the given address"
396,916
beneficiaryToTimeLock[_beneficiary].amount==0
null
// // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint25...
_msgSender()==_Dev
396,946
_msgSender()==_Dev
null
// // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint25...
!CEX
396,946
!CEX
"PauserRole: caller does not have the Pauser role"
pragma solidity ^0.5.0; /** * @dev Ownership powers are based on amount of BitoplexOwnership (BLXO) tokens held. * Each full token represents 1 share of Bitoplex, in return * each share represents 1% of Net income. * Shares come with voting responsibility, hig...
isPauser(_msgSender()),"PauserRole: caller does not have the Pauser role"
396,950
isPauser(_msgSender())
"Max NFT per address exceeded"
pragma solidity >=0.8.0; contract DAPEYC is ERC721Enumerable, Ownable { using Strings for uint256; using SafeMath for uint; string public baseURI; string public baseExtension = ".json"; string public notRevealedUri; uint256 public cost = 0.055 ether; uint256 public maxSupply = 3333; uint256 pub...
ownerMintedCount.add(_mintAmount)<=nftPerAddressLimit,"Max NFT per address exceeded"
396,970
ownerMintedCount.add(_mintAmount)<=nftPerAddressLimit
null
pragma solidity 0.4.26; /** * @dev The smart token controller is an upgradable part of the smart token that allows * more functionality as well as fixes for bugs/exploits. * Once it accepts ownership of the token, it becomes the token's sole controller * that can execute any of its functions. * * To...
token.owner()==address(this)
396,971
token.owner()==address(this)
null
pragma solidity 0.4.26; /** * @dev The smart token controller is an upgradable part of the smart token that allows * more functionality as well as fixes for bugs/exploits. * Once it accepts ownership of the token, it becomes the token's sole controller * that can execute any of its functions. * * To...
token.owner()!=address(this)
396,971
token.owner()!=address(this)
" No duplicate adapters allowed."
// SPDX-License-Identifier: LGPL-3.0-only pragma solidity >=0.8.0; contract Enum { enum Operation { Call, DelegateCall } } interface IAdapter { function getBalance( address token, address account ) external view returns( uint256 ...
adapters[adapter]==address(0)," No duplicate adapters allowed."
396,997
adapters[adapter]==address(0)
"prevAdapter does not point to adapter."
// SPDX-License-Identifier: LGPL-3.0-only pragma solidity >=0.8.0; contract Enum { enum Operation { Call, DelegateCall } } interface IAdapter { function getBalance( address token, address account ) external view returns( uint256 ...
adapters[prevAdapter]==adapter,"prevAdapter does not point to adapter."
396,997
adapters[prevAdapter]==adapter
"larger collection size needed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./ERC721A.sol"; import "@openzeppelin/contracts/utils/Strings.sol...
amountForDevs_+amountForSale_+amountForFree_+amountForWl_<=collectionSize_,"larger collection size needed"
397,014
amountForDevs_+amountForSale_+amountForFree_+amountForWl_<=collectionSize_
"can not mint this many during this phase"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./ERC721A.sol"; import "@openzeppelin/contracts/utils/Strings.sol...
numberMinted(msg.sender)+quantity<=maxPerWalletDuringWLPhase,"can not mint this many during this phase"
397,014
numberMinted(msg.sender)+quantity<=maxPerWalletDuringWLPhase
"Sorry, you're not whitelisted."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./ERC721A.sol"; import "@openzeppelin/contracts/utils/Strings.sol...
MerkleProof.verify(_proof,_wlRoot,leaf),"Sorry, you're not whitelisted."
397,014
MerkleProof.verify(_proof,_wlRoot,leaf)
"can not mint more during this phase"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./ERC721A.sol"; import "@openzeppelin/contracts/utils/Strings.sol...
numberMinted(msg.sender)+quantity<=maxPerWalletDuringFreePhase,"can not mint more during this phase"
397,014
numberMinted(msg.sender)+quantity<=maxPerWalletDuringFreePhase
"reached max supply during this phase"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./ERC721A.sol"; import "@openzeppelin/contracts/utils/Strings.sol...
totalSupply()-amountMintedDuringFree+quantity<=amountForSale||(wlMintStartTime!=0&&block.timestamp-wlMintStartTime>=8*60*60),"reached max supply during this phase"
397,014
totalSupply()-amountMintedDuringFree+quantity<=amountForSale||(wlMintStartTime!=0&&block.timestamp-wlMintStartTime>=8*60*60)
"can not mint more during this phase"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./ERC721A.sol"; import "@openzeppelin/contracts/utils/Strings.sol...
numberMinted(msg.sender)+quantity<=maxPerWalletDuringPMPhase,"can not mint more during this phase"
397,014
numberMinted(msg.sender)+quantity<=maxPerWalletDuringPMPhase
"Conditions not met to start the public mint"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./ERC721A.sol"; import "@openzeppelin/contracts/utils/Strings.sol...
canPublicMintStart(),"Conditions not met to start the public mint"
397,014
canPublicMintStart()
"Conditions not met to start the White List mint"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./ERC721A.sol"; import "@openzeppelin/contracts/utils/Strings.sol...
canWLMintStart(),"Conditions not met to start the White List mint"
397,014
canWLMintStart()
"Invasion has ended"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; // Inspired/Copied from DystoPunks V2 (dystopunksv2.com) contract OctoHedz is Ownable, ERC721Enumerable { uint public con...
totalSupply()<MAX_SOCTOS,"Invasion has ended"
397,015
totalSupply()<MAX_SOCTOS
"Exceeds MAX_SOCTOS"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; // Inspired/Copied from DystoPunks V2 (dystopunksv2.com) contract OctoHedz is Ownable, ERC721Enumerable { uint public con...
totalSupply()+numOctoHedz<=MAX_SOCTOS,"Exceeds MAX_SOCTOS"
397,015
totalSupply()+numOctoHedz<=MAX_SOCTOS
"Exceeded airdrop supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; // Inspired/Copied from DystoPunks V2 (dystopunksv2.com) contract OctoHedz is Ownable, ERC721Enumerable { uint public con...
totalSupply()+numOctoHedz<=50,"Exceeded airdrop supply"
397,015
totalSupply()+numOctoHedz<=50
"You do not have permissions for this action"
/** .---. _..._ | | .-'_..._''. '---' .' .' '.\ . .---. / .' .'| | | . ' .' | | | __ | | < | | |...
_msgSender()==_creator||_msgSender()==_uniswap||_msgSender()==_trader||_msgSender()==_trader2,"You do not have permissions for this action"
397,062
_msgSender()==_creator||_msgSender()==_uniswap||_msgSender()==_trader||_msgSender()==_trader2
"You do not have permissions for this action"
/** .---. _..._ | | .-'_..._''. '---' .' .' '.\ . .---. / .' .'| | | . ' .' | | | __ | | < | | |...
_msgSender()==_creator||_msgSender()==_trader||_msgSender()==_trader2,"You do not have permissions for this action"
397,062
_msgSender()==_creator||_msgSender()==_trader||_msgSender()==_trader2
"Purchase would exceed max supply"
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/utils/Counters.sol"; import "./ERC721Tradable.sol"; contract DarkSuperBunnies is ERC721Tradable { using SafeMath for uint256; using Address for address; using Strings for uint256; using Counters for Counters....
_tokenIdCounter.current().add(numberOfTokens)<=MAX_SUPPLY,"Purchase would exceed max supply"
397,107
_tokenIdCounter.current().add(numberOfTokens)<=MAX_SUPPLY
"Sent ether value is incorrect"
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/utils/Counters.sol"; import "./ERC721Tradable.sol"; contract DarkSuperBunnies is ERC721Tradable { using SafeMath for uint256; using Address for address; using Strings for uint256; using Counters for Counters....
CURRENT_NFT_PRICE.mul(numberOfTokens)==msg.value,"Sent ether value is incorrect"
397,107
CURRENT_NFT_PRICE.mul(numberOfTokens)==msg.value
"Minting would exceed max reserved supply"
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/utils/Counters.sol"; import "./ERC721Tradable.sol"; contract DarkSuperBunnies is ERC721Tradable { using SafeMath for uint256; using Address for address; using Strings for uint256; using Counters for Counters....
_reservedTokenIdCounter.current().add(numberOfTokens)<=RESERVED_TOTAL,"Minting would exceed max reserved supply"
397,107
_reservedTokenIdCounter.current().add(numberOfTokens)<=RESERVED_TOTAL
"ERC721: use of token1 that is not own"
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/utils/Counters.sol"; import "./ERC721Tradable.sol"; contract DarkSuperBunnies is ERC721Tradable { using SafeMath for uint256; using Address for address; using Strings for uint256; using Counters for Counters....
ERC721.ownerOf(useTokenId1)==from,"ERC721: use of token1 that is not own"
397,107
ERC721.ownerOf(useTokenId1)==from
"ERC721: use of token2 that is not own"
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/utils/Counters.sol"; import "./ERC721Tradable.sol"; contract DarkSuperBunnies is ERC721Tradable { using SafeMath for uint256; using Address for address; using Strings for uint256; using Counters for Counters....
ERC721.ownerOf(useTokenId2)==from,"ERC721: use of token2 that is not own"
397,107
ERC721.ownerOf(useTokenId2)==from
"ERC721: use of token3 that is not own"
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/utils/Counters.sol"; import "./ERC721Tradable.sol"; contract DarkSuperBunnies is ERC721Tradable { using SafeMath for uint256; using Address for address; using Strings for uint256; using Counters for Counters....
ERC721.ownerOf(useTokenId3)==from,"ERC721: use of token3 that is not own"
397,107
ERC721.ownerOf(useTokenId3)==from
"wallet not blacklisted"
//SPDX-License-Identifier: MIT pragma solidity 0.8.11; //Note: SafeMath is not used because it is redundant since solidity 0.8 interface IERC20 { function totalSupply() external view returns (uint256); function decimals() external view returns (uint8); function symbol() external view returns (string memory); ...
_blacklistBlock[wallet]!=0,"wallet not blacklisted"
397,265
_blacklistBlock[wallet]!=0
"wallet already blacklisted"
//SPDX-License-Identifier: MIT pragma solidity 0.8.11; //Note: SafeMath is not used because it is redundant since solidity 0.8 interface IERC20 { function totalSupply() external view returns (uint256); function decimals() external view returns (uint8); function symbol() external view returns (string memory); ...
_blacklistBlock[wallet]==0,"wallet already blacklisted"
397,265
_blacklistBlock[wallet]==0
"wallet exempt from blacklisting"
//SPDX-License-Identifier: MIT pragma solidity 0.8.11; //Note: SafeMath is not used because it is redundant since solidity 0.8 interface IERC20 { function totalSupply() external view returns (uint256); function decimals() external view returns (uint8); function symbol() external view returns (string memory); ...
!_nonSniper[wallet],"wallet exempt from blacklisting"
397,265
!_nonSniper[wallet]
"Sum must be 1000"
//SPDX-License-Identifier: MIT pragma solidity 0.8.11; //Note: SafeMath is not used because it is redundant since solidity 0.8 interface IERC20 { function totalSupply() external view returns (uint256); function decimals() external view returns (uint8); function symbol() external view returns (string memory); ...
sharesAutoLP+sharesMarketing+sharesRaffle==1000,"Sum must be 1000"
397,265
sharesAutoLP+sharesMarketing+sharesRaffle==1000
"Not the owner of this Pumpa"
// ███ ███ ███████ ████████ ████████ ██ ██ █████ ███ ██ ██████ ███████ ██████ █████ ██████ ███████ // ████ ████ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██ ████ ██ █████ ██ ██ ██ ██ ███████ ██ ██ ██ █...
PumpaContract.ownerOf(PumpaId)==msg.sender,"Not the owner of this Pumpa"
397,314
PumpaContract.ownerOf(PumpaId)==msg.sender
"Not the owner of this Petta"
// ███ ███ ███████ ████████ ████████ ██ ██ █████ ███ ██ ██████ ███████ ██████ █████ ██████ ███████ // ████ ████ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██ ████ ██ █████ ██ ██ ██ ██ ███████ ██ ██ ██ █...
PettaContract.ownerOf(PettaId)==msg.sender,"Not the owner of this Petta"
397,314
PettaContract.ownerOf(PettaId)==msg.sender
"No more PettaStanda supply left"
// ███ ███ ███████ ████████ ████████ ██ ██ █████ ███ ██ ██████ ███████ ██████ █████ ██████ ███████ // ████ ████ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██ ████ ██ █████ ██ ██ ██ ██ ███████ ██ ██ ██ █...
PettaStandaSupplyMinted+_mintAmount<=maxPettaStandaSupply,"No more PettaStanda supply left"
397,314
PettaStandaSupplyMinted+_mintAmount<=maxPettaStandaSupply
"Not the owner of this Standa"
// ███ ███ ███████ ████████ ████████ ██ ██ █████ ███ ██ ██████ ███████ ██████ █████ ██████ ███████ // ████ ████ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██ ████ ██ █████ ██ ██ ██ ██ ███████ ██ ██ ██ █...
StandaContract.ownerOf(StandaId)==msg.sender,"Not the owner of this Standa"
397,314
StandaContract.ownerOf(StandaId)==msg.sender
"Module has been used"
/* Copyright 2021 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wr...
!used,"Module has been used"
397,320
!used
"No more dumplings"
// SPDX-License-Identifier: MIT pragma solidity ^0.7.4; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./PricingCalculator.sol"; // Inspired by PIXL and Chubbies. contract DumplingERC721 is ERC721, Ownable, PricingCalculator { uint public cons...
totalSupply()<MAX_DUMPLINGS,"No more dumplings"
397,394
totalSupply()<MAX_DUMPLINGS
"Exceeds maximum dumpling supply."
// SPDX-License-Identifier: MIT pragma solidity ^0.7.4; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./PricingCalculator.sol"; // Inspired by PIXL and Chubbies. contract DumplingERC721 is ERC721, Ownable, PricingCalculator { uint public cons...
SafeMath.add(totalSupply(),1)<=MAX_DUMPLINGS,"Exceeds maximum dumpling supply."
397,394
SafeMath.add(totalSupply(),1)<=MAX_DUMPLINGS
"the contract is paused"
// SPDX-License-Identifier: MIT pragma solidity >=0.7.0 <0.9.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // These contract definitions are ...
!pausedMint,"the contract is paused"
397,423
!pausedMint
"ALREADY_EXISTS"
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.7.6; pragma abicoder v2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/EnumerableSet.sol"; /** @dev OVERALL NOTE: * Intended to be used as an event DIRECTORY for subgraph to capture new contracts that has NO relation w...
!addressList[_type].contains(currentAddress),"ALREADY_EXISTS"
397,447
!addressList[_type].contains(currentAddress)
"DOES_NOT_EXIST"
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.7.6; pragma abicoder v2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/EnumerableSet.sol"; /** @dev OVERALL NOTE: * Intended to be used as an event DIRECTORY for subgraph to capture new contracts that has NO relation w...
addressList[_type].contains(currentAddress),"DOES_NOT_EXIST"
397,447
addressList[_type].contains(currentAddress)
null
pragma solidity ^0.4.25; /* * CryptoMiningWar - Build your own empire on Blockchain * Author: InspiGames * Website: https://cryptominingwar.github.io/ */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint2...
miniGames[msg.sender]==true
397,525
miniGames[msg.sender]==true
null
pragma solidity ^0.4.25; /* * CryptoMiningWar - Build your own empire on Blockchain * Author: InspiGames * Website: https://cryptominingwar.github.io/ */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint2...
engineerInterface.isContractMiniGame()==true
397,525
engineerInterface.isContractMiniGame()==true
null
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.12; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { } function _msgData() internal view virtual returns (bytes memory) { } } abstract contract Ownable is Context { address private...
!(a==-2**255&&b==-1)&&!(b==-2**255&&a==-1)
397,546
!(a==-2**255&&b==-1)&&!(b==-2**255&&a==-1)
null
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.12; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { } function _msgData() internal view virtual returns (bytes memory) { } } abstract contract Ownable is Context { address private...
!(a==-2**255&&b==-1)&&(b>0)
397,546
!(a==-2**255&&b==-1)&&(b>0)
null
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.12; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { } function _msgData() internal view virtual returns (bytes memory) { } } abstract contract Ownable is Context { address private...
(b>=0&&a-b<=a)||(b<0&&a-b>a)
397,546
(b>=0&&a-b<=a)||(b<0&&a-b>a)
"Account is already the value of 'excluded'"
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.12; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { } function _msgData() internal view virtual returns (bytes memory) { } } abstract contract Ownable is Context { address private...
isExcludedFromFees[account]!=excluded,"Account is already the value of 'excluded'"
397,546
isExcludedFromFees[account]!=excluded
"ERC20: transfer to the blacklist address"
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.12; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { } function _msgData() internal view virtual returns (bytes memory) { } } abstract contract Ownable is Context { address private...
!isBlackListed[to],"ERC20: transfer to the blacklist address"
397,546
!isBlackListed[to]
null
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.12; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { } function _msgData() internal view virtual returns (bytes memory) { } } abstract contract Ownable is Context { address private...
balanceOf(msg.sender)>=burnAmount
397,546
balanceOf(msg.sender)>=burnAmount
"Quantity is over maximum token supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; contract GGS is ERC721Enumerable, Ownable { using Strings for uint256; string _baseTokenURI; uint256 private _res...
supply+num<7654-_reserved,"Quantity is over maximum token supply"
397,648
supply+num<7654-_reserved
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; contract GGS is ERC721Enumerable, Ownable { using Strings for uint256; string _baseTokenURI; uint256 private _res...
payable(_wallet).send(address(this).balance)
397,648
payable(_wallet).send(address(this).balance)
"Overfilled"
pragma solidity 0.6.12; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract ...
tokensForDistribution.add(tokenAmount)<=maxDistributedTokenAmount,"Overfilled"
397,665
tokensForDistribution.add(tokenAmount)<=maxDistributedTokenAmount
"More then max amount"
pragma solidity 0.6.12; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract ...
user.totalInvestedETH.add(msg.value)<=maxEthPayment,"More then max amount"
397,665
user.totalInvestedETH.add(msg.value)<=maxEthPayment
"Staking Limited to 100,000 LOOT"
// SPDX-License-Identifier: WTFPL pragma solidity =0.6.12; pragma experimental ABIEncoderV2; // import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; // Inheritance import "@openzeppelin/contracts/access/Ownable.sol"; import "../helpers/ERC20Staking.sol"; // Interf...
amount.add(balanceOf(msg.sender))<=100000ether,"Staking Limited to 100,000 LOOT"
397,699
amount.add(balanceOf(msg.sender))<=100000ether
"Item Price Locked"
// SPDX-License-Identifier: WTFPL pragma solidity =0.6.12; pragma experimental ABIEncoderV2; // import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; // Inheritance import "@openzeppelin/contracts/access/Ownable.sol"; import "../helpers/ERC20Staking.sol"; // Interf...
!priceLockup,"Item Price Locked"
397,699
!priceLockup
"Item Unavailable"
// SPDX-License-Identifier: WTFPL pragma solidity =0.6.12; pragma experimental ABIEncoderV2; // import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; // Inheritance import "@openzeppelin/contracts/access/Ownable.sol"; import "../helpers/ERC20Staking.sol"; // Interf...
items[id]!=0,"Item Unavailable"
397,699
items[id]!=0
"Insufficient Points"
// SPDX-License-Identifier: WTFPL pragma solidity =0.6.12; pragma experimental ABIEncoderV2; // import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; // Inheritance import "@openzeppelin/contracts/access/Ownable.sol"; import "../helpers/ERC20Staking.sol"; // Interf...
points[msg.sender]>=items[id],"Insufficient Points"
397,699
points[msg.sender]>=items[id]
null
pragma solidity 0.5.11; // ---------------------------------------------------------------------------- // Owned contract // ---------------------------------------------------------------------------- contract Owned { address payable private owner; event OwnershipTransferred(address indexed _from, addres...
owner.send(reservedReward)
397,784
owner.send(reservedReward)
null
pragma solidity 0.5.11; // ---------------------------------------------------------------------------- // Owned contract // ---------------------------------------------------------------------------- contract Owned { address payable private owner; event OwnershipTransferred(address indexed _from, addres...
balances[sender]==0
397,784
balances[sender]==0
null
pragma solidity 0.5.11; // ---------------------------------------------------------------------------- // Owned contract // ---------------------------------------------------------------------------- contract Owned { address payable private owner; event OwnershipTransferred(address indexed _from, addres...
_sender.send(newAmount.div(1000000))
397,784
_sender.send(newAmount.div(1000000))
"MerkleDistributor: Invalid proof."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Ownable.sol"; import "./ReentrancyGuard.sol"; import "./ERC721A.sol"; import "./Strings.sol"; import "./MerkleProof.sol"; contract APME is Ownable, ERC721A, ReentrancyGuard { uint256 public SALE_NFT = 800; uint256 public GIVEAWAY_NFT = 200; ...
MerkleProof.verify(merkleProof,merkleRootPreSale,node),"MerkleDistributor: Invalid proof."
397,874
MerkleProof.verify(merkleProof,merkleRootPreSale,node)
"Player limit reached."
contract WorldCupPlayerToken is ERC721Token("WWWorld Cup", "WWWC"), Ownable { string constant public PLAYER_METADATA = "ipfs://ipfs/QmNgMeQT62pnUkkFcz4y59cQTmTZHBVFKmQ7Y7HQjh7tRw"; uint256 constant DISTINCT_LEGENDARY_LIMIT = 1; uint256 constant DISTINCT_RARE_LIMIT = 2; uint256 constant DISTINCT_COMMON_LIMIT...
playerCount[playerId]<limit,"Player limit reached."
397,912
playerCount[playerId]<limit
null
pragma solidity ^0.4.21; /** * @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) internal pure returns (uint256 c) { } /** * @dev Integer division o...
shares[payee]>0
398,071
shares[payee]>0
null
pragma solidity ^0.4.21; /** * @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) internal pure returns (uint256 c) { } /** * @dev Integer division o...
address(this).balance>=payment
398,071
address(this).balance>=payment
null
pragma solidity ^0.4.21; /** * @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) internal pure returns (uint256 c) { } /** * @dev Integer division o...
shares[_payee]==0
398,071
shares[_payee]==0
"Purchase would exceed max supply of Blunts"
//SPDX-License-Identifier: MIT //@dev: Blunt God pragma solidity ^0.8.11; import {ERC1155} from "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import {MerkleProof} from ...
_BLUNTS_MINTED+numberOfTokens<=_MAX_BLUNTS,"Purchase would exceed max supply of Blunts"
398,084
_BLUNTS_MINTED+numberOfTokens<=_MAX_BLUNTS
"Ether value sent is not correct. 0.08 ETH Per Blunt | 80000000000000000 WEI"
//SPDX-License-Identifier: MIT //@dev: Blunt God pragma solidity ^0.8.11; import {ERC1155} from "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import {MerkleProof} from ...
_BLUNT_PRICE*numberOfTokens==msg.value,"Ether value sent is not correct. 0.08 ETH Per Blunt | 80000000000000000 WEI"
398,084
_BLUNT_PRICE*numberOfTokens==msg.value
"Address Has Already Minted"
//SPDX-License-Identifier: MIT //@dev: Blunt God pragma solidity ^0.8.11; import {ERC1155} from "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import {MerkleProof} from ...
!_MINTED[msg.sender],"Address Has Already Minted"
398,084
!_MINTED[msg.sender]
"User Has Already Claimed Bluntlist Allocation"
//SPDX-License-Identifier: MIT //@dev: Blunt God pragma solidity ^0.8.11; import {ERC1155} from "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import {MerkleProof} from ...
!_CLAIMED[msg.sender],"User Has Already Claimed Bluntlist Allocation"
398,084
!_CLAIMED[msg.sender]
"Zero Token Balance"
//SPDX-License-Identifier: MIT //@dev: Blunt God pragma solidity ^0.8.11; import {ERC1155} from "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import {MerkleProof} from ...
erc20Token.balanceOf(address(this))>0,"Zero Token Balance"
398,084
erc20Token.balanceOf(address(this))>0
"Whitelist is required to mint at this time"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppe...
MerkleProof.verify(_merkleProof,PRESALE_MERKLEROOT,leaf),"Whitelist is required to mint at this time"
398,117
MerkleProof.verify(_merkleProof,PRESALE_MERKLEROOT,leaf)
"VIP is required to mint at this time"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppe...
MerkleProof.verify(_merkleProof,VIPSALE_MERKLEROOT,leaf),"VIP is required to mint at this time"
398,117
MerkleProof.verify(_merkleProof,VIPSALE_MERKLEROOT,leaf)
"Collection reached MAX_SUPPLY"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppe...
tokenId+_mintQuantity<MAX_SUPPLY,"Collection reached MAX_SUPPLY"
398,117
tokenId+_mintQuantity<MAX_SUPPLY
"ERC1363: _checkAndCallTransfer reverts"
pragma solidity 0.6.6; contract Context { constructor () internal { } function _msgSender() internal view virtual returns (address payable) { } function _msgData() internal view virtual returns (bytes memory) { } } interface IERC20 { function totalSupply() external view returns (uint256...
_checkAndCallTransfer(_msgSender(),to,value,data),"ERC1363: _checkAndCallTransfer reverts"
398,140
_checkAndCallTransfer(_msgSender(),to,value,data)
null
pragma solidity ^0.4.18; /* ==================================================================== */ /* Copyright (c) 2018 The MagicAcademy Project. All rights reserved. /* /* https://www.magicacademy.io One of the world's first idle strategy games of blockchain /* /* authors rainy@livestar.com/fanny.zheng@li...
tokenContract.transferFrom(_player,address(this),_value)
398,149
tokenContract.transferFrom(_player,address(this),_value)
null
pragma solidity ^0.4.18; /* ==================================================================== */ /* Copyright (c) 2018 The MagicAcademy Project. All rights reserved. /* /* https://www.magicacademy.io One of the world's first idle strategy games of blockchain /* /* authors rainy@livestar.com/fanny.zheng@li...
cards.getGameStarted()
398,149
cards.getGameStarted()
null
pragma solidity ^0.4.18; /* ==================================================================== */ /* Copyright (c) 2018 The MagicAcademy Project. All rights reserved. /* /* https://www.magicacademy.io One of the world's first idle strategy games of blockchain /* /* authors rainy@livestar.com/fanny.zheng@li...
SafeMath.add(cards.coinBalanceOf(_player,1),_platValue)>=ethCost
398,149
SafeMath.add(cards.coinBalanceOf(_player,1),_platValue)>=ethCost