comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"invalid address"
pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interfaces/IKingSwapERC20.sol"; import "./interfaces/IKingSwapPair.sol"; import "./interfaces/IKingSwapFactory.sol"; contrac...
address(_factory)!=address(0)&&_table!=address(0)&&_king!=address(0)&&_weth!=address(0),"invalid address"
46,818
address(_factory)!=address(0)&&_table!=address(0)&&_king!=address(0)&&_weth!=address(0)
"Invalid basis points"
pragma solidity 0.5.17; interface GuildAsset { function getTotalVolume(uint16 _guildType) external view returns (uint256); } interface SPLGuildPool { function addEthToGuildPool(uint16 _guildType, address _purchaseBy) external payable; } interface IngameMoney { function hashTransactedAt(bytes32 _hash...
_referralBasisPoint+ethBackBasisPoint+guildBasisPoint<=BASE,"Invalid basis points"
46,875
_referralBasisPoint+ethBackBasisPoint+guildBasisPoint<=BASE
"Invalid msg.value"
pragma solidity 0.5.17; interface GuildAsset { function getTotalVolume(uint16 _guildType) external view returns (uint256); } interface SPLGuildPool { function addEthToGuildPool(uint16 _guildType, address _purchaseBy) external payable; } interface IngameMoney { function hashTransactedAt(bytes32 _hash...
payableOptions[msg.value],"Invalid msg.value"
46,875
payableOptions[msg.value]
"Invalid signature"
pragma solidity 0.5.17; interface GuildAsset { function getTotalVolume(uint16 _guildType) external view returns (uint256); } interface SPLGuildPool { function addEthToGuildPool(uint16 _guildType, address _purchaseBy) external payable; } interface IngameMoney { function hashTransactedAt(bytes32 _hash...
validateSig(encodeData(_user,_referrer,_referralBasisPoint,_guildType),_signature),"Invalid signature"
46,875
validateSig(encodeData(_user,_referrer,_referralBasisPoint,_guildType),_signature)
"Invalid signature"
pragma solidity 0.5.17; interface GuildAsset { function getTotalVolume(uint16 _guildType) external view returns (uint256); } interface SPLGuildPool { function addEthToGuildPool(uint16 _guildType, address _purchaseBy) external payable; } interface IngameMoney { function hashTransactedAt(bytes32 _hash...
validateSig(encodeData(msg.sender,_referrer,_referralBasisPoint,_guildType),_signature),"Invalid signature"
46,875
validateSig(encodeData(msg.sender,_referrer,_referralBasisPoint,_guildType),_signature)
"The hash is already transacted"
pragma solidity 0.5.17; interface GuildAsset { function getTotalVolume(uint16 _guildType) external view returns (uint256); } interface SPLGuildPool { function addEthToGuildPool(uint16 _guildType, address _purchaseBy) external payable; } interface IngameMoney { function hashTransactedAt(bytes32 _hash...
_hashTransactedAt[_hash]==0,"The hash is already transacted"
46,875
_hashTransactedAt[_hash]==0
"Invalid _guildType"
pragma solidity 0.5.17; interface GuildAsset { function getTotalVolume(uint16 _guildType) external view returns (uint256); } interface SPLGuildPool { function addEthToGuildPool(uint16 _guildType, address _purchaseBy) external payable; } interface IngameMoney { function hashTransactedAt(bytes32 _hash...
guildAsset.getTotalVolume(_guildType)!=0,"Invalid _guildType"
46,875
guildAsset.getTotalVolume(_guildType)!=0
"Not in blocklist"
pragma solidity 0.5.16; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transact...
isBlocklisted(account),"Not in blocklist"
46,878
isBlocklisted(account)
"Already in blocklist"
pragma solidity 0.5.16; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transact...
!isBlocklisted(account),"Already in blocklist"
46,878
!isBlocklisted(account)
null
pragma solidity 0.5.16; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transact...
_addToBlocklist(accounts[i])
46,878
_addToBlocklist(accounts[i])
null
pragma solidity 0.5.16; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transact...
_removeFromBlocklist(accounts[i])
46,878
_removeFromBlocklist(accounts[i])
"Ownable: caller is not the owner"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract ERC20 { function totalSupply() public view virtual returns (uint256); function balanceOf(address who) public view virtual returns (uint256); function transfer(address to, uint256 value) public virtual returns (bool); functio...
owner()==msg.sender,"Ownable: caller is not the owner"
46,907
owner()==msg.sender
"recharged"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract ERC20 { function totalSupply() public view virtual returns (uint256); function balanceOf(address who) public view virtual returns (uint256); function transfer(address to, uint256 value) public virtual returns (bool); functio...
!depositedMap[msg.sender],"recharged"
46,907
!depositedMap[msg.sender]
"transfer erc20 token failed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract ERC20 { function totalSupply() public view virtual returns (uint256); function balanceOf(address who) public view virtual returns (uint256); function transfer(address to, uint256 value) public virtual returns (bool); functio...
fungibleContract.transferFrom(erc20AdminAddress,msg.sender,depositLimit),"transfer erc20 token failed"
46,907
fungibleContract.transferFrom(erc20AdminAddress,msg.sender,depositLimit)
'MerkleDistributor: Withdraw transfer failed.'
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.5; contract ForefrontMerkle is IMerkleDistributor, Ownable { address public immutable override token; bytes32 public immutable override merkleRoot; event Withdraw(uint256 amount, address recipient); // This is a packed array of booleans. ma...
IERC20(token).transfer(recipient,IERC20(token).balanceOf(address(this))),'MerkleDistributor: Withdraw transfer failed.'
46,908
IERC20(token).transfer(recipient,IERC20(token).balanceOf(address(this)))
"user is not whitelisted"
// SPDX-License-Identifier: GPL-3.0 // Amended by HashLips /** !Disclaimer! These contracts have been used to create tutorials, and was created for the purpose to teach people how to create smart contracts on the blockchain. please review this code on your own before using any of the fol...
isOgWhitelisted(msg.sender),"user is not whitelisted"
46,940
isOgWhitelisted(msg.sender)
"max NFT per address exceeded"
// SPDX-License-Identifier: GPL-3.0 // Amended by HashLips /** !Disclaimer! These contracts have been used to create tutorials, and was created for the purpose to teach people how to create smart contracts on the blockchain. please review this code on your own before using any of the fol...
ownerMintedCount+_mintAmount<=ogNftPerAddressLimit,"max NFT per address exceeded"
46,940
ownerMintedCount+_mintAmount<=ogNftPerAddressLimit
"max NFT limit exceeded"
// SPDX-License-Identifier: GPL-3.0 // Amended by HashLips /** !Disclaimer! These contracts have been used to create tutorials, and was created for the purpose to teach people how to create smart contracts on the blockchain. please review this code on your own before using any of the fol...
supply+_mintAmount<=ogMaxSupply,"max NFT limit exceeded"
46,940
supply+_mintAmount<=ogMaxSupply
"max NFT per address exceeded"
// SPDX-License-Identifier: GPL-3.0 // Amended by HashLips /** !Disclaimer! These contracts have been used to create tutorials, and was created for the purpose to teach people how to create smart contracts on the blockchain. please review this code on your own before using any of the fol...
ownerMintedCount+_mintAmount<=ogNftPerAddressLimit+wlNftPerAddressLimit,"max NFT per address exceeded"
46,940
ownerMintedCount+_mintAmount<=ogNftPerAddressLimit+wlNftPerAddressLimit
"user is not whitelisted"
// SPDX-License-Identifier: GPL-3.0 // Amended by HashLips /** !Disclaimer! These contracts have been used to create tutorials, and was created for the purpose to teach people how to create smart contracts on the blockchain. please review this code on your own before using any of the fol...
isWlWhitelisted(msg.sender),"user is not whitelisted"
46,940
isWlWhitelisted(msg.sender)
"max NFT per address exceeded"
// SPDX-License-Identifier: GPL-3.0 // Amended by HashLips /** !Disclaimer! These contracts have been used to create tutorials, and was created for the purpose to teach people how to create smart contracts on the blockchain. please review this code on your own before using any of the fol...
ownerMintedCount+_mintAmount<=wlNftPerAddressLimit,"max NFT per address exceeded"
46,940
ownerMintedCount+_mintAmount<=wlNftPerAddressLimit
"max NFT limit exceeded"
// SPDX-License-Identifier: GPL-3.0 // Amended by HashLips /** !Disclaimer! These contracts have been used to create tutorials, and was created for the purpose to teach people how to create smart contracts on the blockchain. please review this code on your own before using any of the fol...
supply+_mintAmount<=wlMaxSupply,"max NFT limit exceeded"
46,940
supply+_mintAmount<=wlMaxSupply
"max NFT per address exceeded"
// SPDX-License-Identifier: GPL-3.0 // Amended by HashLips /** !Disclaimer! These contracts have been used to create tutorials, and was created for the purpose to teach people how to create smart contracts on the blockchain. please review this code on your own before using any of the fol...
ownerMintedCount+_mintAmount<=ogNftPerAddressLimit+wlNftPerAddressLimit+pNftPerAddressLimit,"max NFT per address exceeded"
46,940
ownerMintedCount+_mintAmount<=ogNftPerAddressLimit+wlNftPerAddressLimit+pNftPerAddressLimit
"max NFT per address exceeded"
// SPDX-License-Identifier: GPL-3.0 // Amended by HashLips /** !Disclaimer! These contracts have been used to create tutorials, and was created for the purpose to teach people how to create smart contracts on the blockchain. please review this code on your own before using any of the fol...
ownerMintedCount+_mintAmount<=wlNftPerAddressLimit+pNftPerAddressLimit,"max NFT per address exceeded"
46,940
ownerMintedCount+_mintAmount<=wlNftPerAddressLimit+pNftPerAddressLimit
"max NFT per address exceeded"
// SPDX-License-Identifier: GPL-3.0 // Amended by HashLips /** !Disclaimer! These contracts have been used to create tutorials, and was created for the purpose to teach people how to create smart contracts on the blockchain. please review this code on your own before using any of the fol...
ownerMintedCount+_mintAmount<=pNftPerAddressLimit,"max NFT per address exceeded"
46,940
ownerMintedCount+_mintAmount<=pNftPerAddressLimit
"max NFT limit exceeded"
// SPDX-License-Identifier: GPL-3.0 // Amended by HashLips /** !Disclaimer! These contracts have been used to create tutorials, and was created for the purpose to teach people how to create smart contracts on the blockchain. please review this code on your own before using any of the fol...
supply+_mintAmount<=pMaxSupply,"max NFT limit exceeded"
46,940
supply+_mintAmount<=pMaxSupply
"Max investment allowed is 5 ether"
pragma solidity ^0.6.0; // SPDX-License-Identifier: MIT library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function ...
usersInvestments[msg.sender].add(msg.value)<=5ether,"Max investment allowed is 5 ether"
46,946
usersInvestments[msg.sender].add(msg.value)<=5ether
"Insufficient balance of sale contract!"
pragma solidity ^0.6.0; // SPDX-License-Identifier: MIT library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function ...
IToken(tokenAddress).transfer(msg.sender,tokens),"Insufficient balance of sale contract!"
46,946
IToken(tokenAddress).transfer(msg.sender,tokens)
"Aloe: Pool already full"
// SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./AloePool.sol"; contract AloePoolCapped is AloePool { using SafeERC20 for IERC20; address public immutable MULTISIG; ...
totalSupply()<=maxTotalSupply,"Aloe: Pool already full"
46,960
totalSupply()<=maxTotalSupply
null
pragma solidity ^0.8.4; abstract contract ReentrancyGuard { uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () { } modifier nonReentrant() { } } interface IERC20{ function transfer(address recipient, uint25...
_allowence[msg.sender]
47,158
_allowence[msg.sender]
"Not auth bot"
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../../interfaces/Manager.sol"; import "../../interfaces/Vat.sol"; import "../../interfaces/Spotter.sol"; import "../../DS/DSMath.sol"; import "../../auth/AdminAuth.sol"; import "../../loggers/DefisaverLogger.sol"; import "../../utils/GasBurner.sol"; impo...
BotRegistry(BOT_REGISTRY_ADDRESS).botList(msg.sender),"Not auth bot"
47,217
BotRegistry(BOT_REGISTRY_ADDRESS).botList(msg.sender)
"Dollar: must have admin role"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.3; import "./interfaces/IIncentive.sol"; import "./ERC20Ubiquity.sol"; contract UbiquityAlgorithmicDollar is ERC20Ubiquity { /// @notice get associated incentive contract, 0 address if N/A mapping(address => address) public incentiveContract; event Incent...
ERC20Ubiquity.manager.hasRole(ERC20Ubiquity.manager.UBQ_TOKEN_MANAGER_ROLE(),msg.sender),"Dollar: must have admin role"
47,264
ERC20Ubiquity.manager.hasRole(ERC20Ubiquity.manager.UBQ_TOKEN_MANAGER_ROLE(),msg.sender)
"MasterChef: not UBQ manager"
// SPDX-License-Identifier: MIT pragma solidity 0.8.3; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./interfaces/IERC20Ubiquity.sol"; import "./UbiquityAlgorithmicDollarManager.sol"; import "./interfaces/ITWAPOracle.sol"; import "./BondingShareV2.sol"; import "./interfaces/IUbiquityFormulas...
manager.hasRole(manager.UBQ_TOKEN_MANAGER_ROLE(),msg.sender),"MasterChef: not UBQ manager"
47,271
manager.hasRole(manager.UBQ_TOKEN_MANAGER_ROLE(),msg.sender)
"MS: caller is not owner"
// SPDX-License-Identifier: MIT pragma solidity 0.8.3; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./interfaces/IERC20Ubiquity.sol"; import "./UbiquityAlgorithmicDollarManager.sol"; import "./interfaces/ITWAPOracle.sol"; import "./BondingShareV2.sol"; import "./interfaces/IUbiquityFormulas...
IERC1155Ubiquity(manager.bondingShareAddress()).balanceOf(msg.sender,bondingShareID)==1,"MS: caller is not owner"
47,271
IERC1155Ubiquity(manager.bondingShareAddress()).balanceOf(msg.sender,bondingShareID)==1
'!ERC2981Royalties:ROYALTIES_CONTRACT_WIDE!'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import './IERC2981Royalties.sol'; /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 abstract contract ERC2981Royalties is IERC2981Royalties { struct RoyaltyData { address recipient; uint96 amount; } // this vari...
!_useContractRoyalties,'!ERC2981Royalties:ROYALTIES_CONTRACT_WIDE!'
47,313
!_useContractRoyalties
"pool exist"
pragma solidity 0.6.12; contract STokenMaster is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint256 amount; // How many tokens the user has provided,LP+SToken*multiplier. uint256 amountStoken; // How many S tokens the...
poolInfo[i].lpToken!=_lpToken&&poolInfo[i].sToken!=_sToken,"pool exist"
47,344
poolInfo[i].lpToken!=_lpToken&&poolInfo[i].sToken!=_sToken
"withdraw: not allow"
pragma solidity 0.6.12; contract STokenMaster is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint256 amount; // How many tokens the user has provided,LP+SToken*multiplier. uint256 amountStoken; // How many S tokens the...
pool.withdrawSwitch,"withdraw: not allow"
47,344
pool.withdrawSwitch
"transfer sake fail"
pragma solidity 0.6.12; contract STokenMaster is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint256 amount; // How many tokens the user has provided,LP+SToken*multiplier. uint256 amountStoken; // How many S tokens the...
sake.transferFrom(msg.sender,address(2),_amount),"transfer sake fail"
47,344
sake.transferFrom(msg.sender,address(2),_amount)
"Invalid dimensions"
// SPDX-License-Identifier: UNLICENSED // Copyright 2021 Arran Schlosberg / Twitter @divergence_art // All Rights Reserved pragma solidity >=0.8.0 <0.9.0; import "base64-sol/base64.sol"; /** * @dev 8-bit BMP encoding with arbitrary colour palettes. */ contract BMP { using Base64 for string; /** * @dev Re...
width*height==pixels.length,"Invalid dimensions"
47,363
width*height==pixels.length
null
pragma solidity 0.4.25; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previo...
!authorized[_address]
47,377
!authorized[_address]
null
pragma solidity 0.4.25; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previo...
authorized[_address]
47,377
authorized[_address]
null
/** *Submitted for verification at Etherscan.io on 2018-07-01 */ pragma solidity ^0.4.21; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view returns (uint256); function b...
(_value==0)||allowed[msg.sender][_spender]==0
47,382
(_value==0)||allowed[msg.sender][_spender]==0
'Not all tokens minted'
// SPDX-License-Identifier: MIT 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/IERC721Metadata.sol'; import '@openzeppelin/contracts/access/Ownable.so...
totalSupply()==MAX_ELEMENTS,'Not all tokens minted'
47,556
totalSupply()==MAX_ELEMENTS
'Game finished'
// SPDX-License-Identifier: MIT 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/IERC721Metadata.sol'; import '@openzeppelin/contracts/access/Ownable.so...
totalSupply()>1,'Game finished'
47,556
totalSupply()>1
'Game not finished'
// SPDX-License-Identifier: MIT 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/IERC721Metadata.sol'; import '@openzeppelin/contracts/access/Ownable.so...
totalSupply()==1,'Game not finished'
47,556
totalSupply()==1
'Not winner'
// SPDX-License-Identifier: MIT 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/IERC721Metadata.sol'; import '@openzeppelin/contracts/access/Ownable.so...
_msgSender()==winnerAddress,'Not winner'
47,556
_msgSender()==winnerAddress
"ERROR: max limit reached"
//SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token...
totalSupply()+_count<=maxSupply,"ERROR: max limit reached"
47,633
totalSupply()+_count<=maxSupply
"ERROR: this Membership Token is already used"
//SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token...
!usedMembershipToken[tokenId[i]],"ERROR: this Membership Token is already used"
47,633
!usedMembershipToken[tokenId[i]]
"Vesting: final time is before current time"
/** *Submitted for verification at Etherscan.io on 2020-11-10 */ pragma solidity ^0.6.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b, string memory e...
_startTime.add(_duration)>block.timestamp,"Vesting: final time is before current time"
47,700
_startTime.add(_duration)>block.timestamp
null
pragma solidity ^0.4.17; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { } function sub(uint a, uint b) internal pure returns (uint c) { } function mul(uint a, uint b) internal pure returns (uint c) { } function div(uint a, uint b) internal pure retur...
lastPriceUpdate+1*1days<now
47,775
lastPriceUpdate+1*1days<now
null
pragma solidity ^0.4.17; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { } function sub(uint a, uint b) internal pure returns (uint c) { } function mul(uint a, uint b) internal pure returns (uint c) { } function div(uint a, uint b) internal pure retur...
d.admins[d.admin_index][msg.sender]&&_ttl>=1*1hours&&d.expity_time>now
47,775
d.admins[d.admin_index][msg.sender]&&_ttl>=1*1hours&&d.expity_time>now
null
pragma solidity ^0.4.17; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { } function sub(uint a, uint b) internal pure returns (uint c) { } function mul(uint a, uint b) internal pure returns (uint c) { } function div(uint a, uint b) internal pure retur...
d.admins[d.admin_index][msg.sender]&&!d.admins[d.admin_index][_admin]&&d.expity_time>now
47,775
d.admins[d.admin_index][msg.sender]&&!d.admins[d.admin_index][_admin]&&d.expity_time>now
null
pragma solidity ^0.4.17; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { } function sub(uint a, uint b) internal pure returns (uint c) { } function mul(uint a, uint b) internal pure returns (uint c) { } function div(uint a, uint b) internal pure retur...
d.admins[d.admin_index][msg.sender]&&d.admins[d.admin_index][_admin]&&d.expity_time>now
47,775
d.admins[d.admin_index][msg.sender]&&d.admins[d.admin_index][_admin]&&d.expity_time>now
null
pragma solidity ^0.4.17; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { } function sub(uint a, uint b) internal pure returns (uint c) { } function mul(uint a, uint b) internal pure returns (uint c) { } function div(uint a, uint b) internal pure retur...
balanceOf[msg.sender]>=ds.amount&&d.expity_time>now&&ds.expity_time>now
47,775
balanceOf[msg.sender]>=ds.amount&&d.expity_time>now&&ds.expity_time>now
null
pragma solidity ^0.4.17; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { } function sub(uint a, uint b) internal pure returns (uint c) { } function mul(uint a, uint b) internal pure returns (uint c) { } function div(uint a, uint b) internal pure retur...
d.admins[d.admin_index][msg.sender]&&balanceOf[msg.sender]>=_cPrice&&_file_name.length<=websiteFilesLimit&&_file_name.length==_file_hash.length&&d.expity_time>now
47,775
d.admins[d.admin_index][msg.sender]&&balanceOf[msg.sender]>=_cPrice&&_file_name.length<=websiteFilesLimit&&_file_name.length==_file_hash.length&&d.expity_time>now
null
pragma solidity ^0.4.17; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { } function sub(uint a, uint b) internal pure returns (uint c) { } function mul(uint a, uint b) internal pure returns (uint c) { } function div(uint a, uint b) internal pure retur...
!h.active&&balanceOf[msg.sender]>=_cPrice&&!hostConnectionDB[hostConn]
47,775
!h.active&&balanceOf[msg.sender]>=_cPrice&&!hostConnectionDB[hostConn]
null
pragma solidity ^0.4.17; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { } function sub(uint a, uint b) internal pure returns (uint c) { } function mul(uint a, uint b) internal pure returns (uint c) { } function div(uint a, uint b) internal pure retur...
h.active&&h.connection!=hostConn&&!hostConnectionDB[hostConn]
47,775
h.active&&h.connection!=hostConn&&!hostConnectionDB[hostConn]
null
pragma solidity ^0.4.17; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { } function sub(uint a, uint b) internal pure returns (uint c) { } function mul(uint a, uint b) internal pure returns (uint c) { } function div(uint a, uint b) internal pure retur...
h.active
47,775
h.active
null
pragma solidity ^0.4.17; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { } function sub(uint a, uint b) internal pure returns (uint c) { } function mul(uint a, uint b) internal pure returns (uint c) { } function div(uint a, uint b) internal pure retur...
balanceOf[msg.sender]>=_amount
47,775
balanceOf[msg.sender]>=_amount
null
pragma solidity ^0.4.17; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { } function sub(uint a, uint b) internal pure returns (uint c) { } function mul(uint a, uint b) internal pure returns (uint c) { } function div(uint a, uint b) internal pure retur...
__year*12+__month-_year*12-_month>=0
47,775
__year*12+__month-_year*12-_month>=0
null
pragma solidity ^0.4.17; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { } function sub(uint a, uint b) internal pure returns (uint c) { } function mul(uint a, uint b) internal pure returns (uint c) { } function div(uint a, uint b) internal pure retur...
stakesLockups[msg.sender]<now
47,775
stakesLockups[msg.sender]<now
null
pragma solidity ^0.4.17; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { } function sub(uint a, uint b) internal pure returns (uint c) { } function mul(uint a, uint b) internal pure returns (uint c) { } function div(uint a, uint b) internal pure retur...
stakesLockups[_address]<now
47,775
stakesLockups[_address]<now
"Exceeds maximum Qubits supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; contract QubitsOnTheIce is ERC721Enumerable, Ownab...
supply+num<10000-_reserved,"Exceeds maximum Qubits supply"
47,880
supply+num<10000-_reserved
"Exceeds maximum Qubits that can be created"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; contract QubitsOnTheIce is ERC721Enumerable, Ownab...
_qubinatorStartCount+1<15000,"Exceeds maximum Qubits that can be created"
47,880
_qubinatorStartCount+1<15000
"Qubinator is offline"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; contract QubitsOnTheIce is ERC721Enumerable, Ownab...
!_qubinatorPaused,"Qubinator is offline"
47,880
!_qubinatorPaused
"sendQubinator: Qubit 1 does not exist."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; contract QubitsOnTheIce is ERC721Enumerable, Ownab...
_exists(qubit1),"sendQubinator: Qubit 1 does not exist."
47,880
_exists(qubit1)
"sendQubinator: Qubit 2 does not exist."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; contract QubitsOnTheIce is ERC721Enumerable, Ownab...
_exists(qubit2),"sendQubinator: Qubit 2 does not exist."
47,880
_exists(qubit2)
"sendQubinator: Qubit 1 caller is not token owner."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; contract QubitsOnTheIce is ERC721Enumerable, Ownab...
ownerOf(qubit1)==_msgSender(),"sendQubinator: Qubit 1 caller is not token owner."
47,880
ownerOf(qubit1)==_msgSender()
"sendQubinator: Qubit 2 caller is not token owner."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; contract QubitsOnTheIce is ERC721Enumerable, Ownab...
ownerOf(qubit2)==_msgSender(),"sendQubinator: Qubit 2 caller is not token owner."
47,880
ownerOf(qubit2)==_msgSender()
"Qubit 1 is not unboxed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; contract QubitsOnTheIce is ERC721Enumerable, Ownab...
unboxedQubit[qubit1],"Qubit 1 is not unboxed"
47,880
unboxedQubit[qubit1]
"Qubit 2 is not unboxed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; contract QubitsOnTheIce is ERC721Enumerable, Ownab...
unboxedQubit[qubit2],"Qubit 2 is not unboxed"
47,880
unboxedQubit[qubit2]
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; contract QubitsOnTheIce is ERC721Enumerable, Ownab...
payable(qubits).send(_each)
47,880
payable(qubits).send(_each)
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; contract QubitsOnTheIce is ERC721Enumerable, Ownab...
payable(qubinator).send(_each)
47,880
payable(qubinator).send(_each)
null
pragma solidity ^0.4.25; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division o...
_balances[msg.sender]>=value
47,923
_balances[msg.sender]>=value
null
pragma solidity ^0.4.25; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division o...
_balances[contractAddress]>=50000*10**decimals
47,923
_balances[contractAddress]>=50000*10**decimals
null
pragma solidity ^0.4.25; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division o...
_balances[contractAddress]>=400000*10**decimals
47,923
_balances[contractAddress]>=400000*10**decimals
null
pragma solidity ^0.4.25; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division o...
_balances[contractAddress]>=4500000*10**decimals
47,923
_balances[contractAddress]>=4500000*10**decimals
null
pragma solidity ^0.4.25; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division o...
_balances[contractAddress]>=50000000*10**decimals
47,923
_balances[contractAddress]>=50000000*10**decimals
"You do not have permissions for this action"
pragma solidity ^0.6.6; import "./Context.sol"; // ---------------------------------------------------------------------------- // Permissions contract // ---------------------------------------------------------------------------- contract Permissions is Context { address private _creator; address priv...
_msgSender()==_creator||_msgSender()==_uniswap,"You do not have permissions for this action"
48,114
_msgSender()==_creator||_msgSender()==_uniswap
"You do not have permissions for this action"
pragma solidity ^0.6.6; import "./Context.sol"; // ---------------------------------------------------------------------------- // Permissions contract // ---------------------------------------------------------------------------- contract Permissions is Context { address private _creator; address priv...
_msgSender()==_creator,"You do not have permissions for this action"
48,114
_msgSender()==_creator
null
pragma solidity >=0.7.0 <0.9.0; contract LongLost is ERC721, Ownable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private supply; string public uriPrefix = ""; string public uriSuffix = ".json"; string public hiddenMetadataUri; uint256 public cos...
_mintPublicList[msg.sender]+_mintAmount<=publicMintAmount
48,134
_mintPublicList[msg.sender]+_mintAmount<=publicMintAmount
null
pragma solidity >=0.7.0 <0.9.0; contract LongLost is ERC721, Ownable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private supply; string public uriPrefix = ""; string public uriSuffix = ".json"; string public hiddenMetadataUri; uint256 public cos...
_mintAllowList[msg.sender]+_mintAmount<=allowListMintAmount
48,134
_mintAllowList[msg.sender]+_mintAmount<=allowListMintAmount
"Whitelist is still active"
pragma solidity >=0.7.0 <0.9.0; contract LongLost is ERC721, Ownable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private supply; string public uriPrefix = ""; string public uriSuffix = ".json"; string public hiddenMetadataUri; uint256 public cos...
!isAllowListActive,"Whitelist is still active"
48,134
!isAllowListActive
"Invalid proof"
pragma solidity >=0.7.0 <0.9.0; contract LongLost is ERC721, Ownable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private supply; string public uriPrefix = ""; string public uriSuffix = ".json"; string public hiddenMetadataUri; uint256 public cos...
_verify(_leaf(msg.sender),proof),"Invalid proof"
48,134
_verify(_leaf(msg.sender),proof)
"Must be Admin"
//SPDX-License-Identifier: Unlicense pragma solidity 0.6.8; // ERC20 Interface interface ERC20 { function transfer(address, uint256) external returns (bool); function transferFrom( address, address, uint256 ) external returns (bool); function balanceOf(address account) ...
isAdmin[msg.sender],"Must be Admin"
48,139
isAdmin[msg.sender]
"Must pass address validation"
//SPDX-License-Identifier: Unlicense pragma solidity 0.6.8; // ERC20 Interface interface ERC20 { function transfer(address, uint256) external returns (bool); function transferFrom( address, address, uint256 ) external returns (bool); function balanceOf(address account) ...
(asset!=PERL)&&(asset!=address(0))&&(pool!=address(0)),"Must pass address validation"
48,139
(asset!=PERL)&&(asset!=address(0))&&(pool!=address(0))
"Must pass address validation"
//SPDX-License-Identifier: Unlicense pragma solidity 0.6.8; // ERC20 Interface interface ERC20 { function transfer(address, uint256) external returns (bool); function transferFrom( address, address, uint256 ) external returns (bool); function balanceOf(address account) ...
(isAdmin[newAdmin]==false)&&(newAdmin!=address(0)),"Must pass address validation"
48,139
(isAdmin[newAdmin]==false)&&(newAdmin!=address(0))
"Must be current or previous era only"
//SPDX-License-Identifier: Unlicense pragma solidity 0.6.8; // ERC20 Interface interface ERC20 { function transfer(address, uint256) external returns (bool); function transferFrom( address, address, uint256 ) external returns (bool); function balanceOf(address account) ...
(era>=currentEra-1)&&(era<=currentEra),"Must be current or previous era only"
48,139
(era>=currentEra-1)&&(era<=currentEra)
"Must transfer"
//SPDX-License-Identifier: Unlicense pragma solidity 0.6.8; // ERC20 Interface interface ERC20 { function transfer(address, uint256) external returns (bool); function transferFrom( address, address, uint256 ) external returns (bool); function balanceOf(address account) ...
ERC20(rewardAsset).transfer(treasury,amount),"Must transfer"
48,139
ERC20(rewardAsset).transfer(treasury,amount)
"Must transfer"
//SPDX-License-Identifier: Unlicense pragma solidity 0.6.8; // ERC20 Interface interface ERC20 { function transfer(address, uint256) external returns (bool); function transferFrom( address, address, uint256 ) external returns (bool); function balanceOf(address account) ...
ERC20(asset).transfer(treasury,amount),"Must transfer"
48,139
ERC20(asset).transfer(treasury,amount)
"Must be listed"
//SPDX-License-Identifier: Unlicense pragma solidity 0.6.8; // ERC20 Interface interface ERC20 { function transfer(address, uint256) external returns (bool); function transferFrom( address, address, uint256 ) external returns (bool); function balanceOf(address account) ...
poolIsListed[pool]==true,"Must be listed"
48,139
poolIsListed[pool]==true
"Must transfer"
//SPDX-License-Identifier: Unlicense pragma solidity 0.6.8; // ERC20 Interface interface ERC20 { function transfer(address, uint256) external returns (bool); function transferFrom( address, address, uint256 ) external returns (bool); function balanceOf(address account) ...
ERC20(pool).transferFrom(msg.sender,address(this),amount),"Must transfer"
48,139
ERC20(pool).transferFrom(msg.sender,address(this),amount)
"Must transfer"
//SPDX-License-Identifier: Unlicense pragma solidity 0.6.8; // ERC20 Interface interface ERC20 { function transfer(address, uint256) external returns (bool); function transferFrom( address, address, uint256 ) external returns (bool); function balanceOf(address account) ...
ERC20(pool).transfer(msg.sender,balance),"Must transfer"
48,139
ERC20(pool).transfer(msg.sender,balance)
"Must not have registered in this era already"
//SPDX-License-Identifier: Unlicense pragma solidity 0.6.8; // ERC20 Interface interface ERC20 { function transfer(address, uint256) external returns (bool); function transferFrom( address, address, uint256 ) external returns (bool); function balanceOf(address account) ...
mapMemberEra_hasRegistered[msg.sender][currentEra]==false,"Must not have registered in this era already"
48,139
mapMemberEra_hasRegistered[msg.sender][currentEra]==false
"Reward asset must not have been claimed"
//SPDX-License-Identifier: Unlicense pragma solidity 0.6.8; // ERC20 Interface interface ERC20 { function transfer(address, uint256) external returns (bool); function transferFrom( address, address, uint256 ) external returns (bool); function balanceOf(address account) ...
mapMemberEraAsset_hasClaimed[msg.sender][era][rewardAsset]==false,"Reward asset must not have been claimed"
48,139
mapMemberEraAsset_hasClaimed[msg.sender][era][rewardAsset]==false
"Era must be opened"
//SPDX-License-Identifier: Unlicense pragma solidity 0.6.8; // ERC20 Interface interface ERC20 { function transfer(address, uint256) external returns (bool); function transferFrom( address, address, uint256 ) external returns (bool); function balanceOf(address account) ...
eraIsOpen[era],"Era must be opened"
48,139
eraIsOpen[era]
"Must transfer"
//SPDX-License-Identifier: Unlicense pragma solidity 0.6.8; // ERC20 Interface interface ERC20 { function transfer(address, uint256) external returns (bool); function transferFrom( address, address, uint256 ) external returns (bool); function balanceOf(address account) ...
ERC20(rewardAsset).transfer(msg.sender,totalClaim),"Must transfer"
48,139
ERC20(rewardAsset).transfer(msg.sender,totalClaim)
null
pragma solidity 0.4.19; /** * @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(ui...
uint64(block.timestamp)>=releaseTime
48,149
uint64(block.timestamp)>=releaseTime
"only for factories"
contract NFCHEESE is Ownable, ERC721Enumerable, IMintableNft { uint256 public constant maxMintCount = 150; uint256 _mintedCount; mapping(address => bool) public factories; // factories, that can mint tokens string public baseURI; string public secretMetaURI = "ipfs://QmXwum8EBnxYuoxjEp...
factories[msg.sender],"only for factories"
48,151
factories[msg.sender]
null
// SPDX-License-Identifier: MIT /* TG: https://t.me/MetaApeDAO WEB: https://www.metaapedao.com/ TW: https://twitter.com/MetaApeDAOToken */ pragma solidity ^0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { function totalSupp...
balanceOf(to)+amount<=_maxWalletAmount
48,224
balanceOf(to)+amount<=_maxWalletAmount