comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"Whitelist not set"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Tag.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.so...
presaleData[_presaleNumber].merkleroot!=0,"Whitelist not set"
284,424
presaleData[_presaleNumber].merkleroot!=0
"Not on white list"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Tag.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.so...
MerkleProof.verify(_merkleproof,getPresale().merkleroot,keccak256(abi.encodePacked(msg.sender))),"Not on white list"
284,424
MerkleProof.verify(_merkleproof,getPresale().merkleroot,keccak256(abi.encodePacked(msg.sender)))
"Address already a minter"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Tag.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.so...
!reserveTokenMinters[_address],"Address already a minter"
284,424
!reserveTokenMinters[_address]
"Address not a current minter"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Tag.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.so...
reserveTokenMinters[_address],"Address not a current minter"
284,424
reserveTokenMinters[_address]
"Not enough Tokens remaining."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Tag.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.so...
supply.add(_numTokens)<=maxSupply.sub(numReserveTokens),"Not enough Tokens remaining."
284,424
supply.add(_numTokens)<=maxSupply.sub(numReserveTokens)
"Incorrect amount sent!"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Tag.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.so...
_numTokens.mul(price)<=msg.value,"Incorrect amount sent!"
284,424
_numTokens.mul(price)<=msg.value
"Exceeds the number of whitelist mints"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Tag.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.so...
numWhitelistTokensByAddress.add(_numTokens)<=getPresale().maxMintPerAddress,"Exceeds the number of whitelist mints"
284,424
numWhitelistTokensByAddress.add(_numTokens)<=getPresale().maxMintPerAddress
"Not enough Tokens remaining in presale."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Tag.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.so...
presaleSupply.add(_numTokens)<=getPresale().maxTokensInPresale,"Not enough Tokens remaining in presale."
284,424
presaleSupply.add(_numTokens)<=getPresale().maxTokensInPresale
"Incorrect amount sent!"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Tag.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.so...
_numTokens.mul(getPresale().price)<=msg.value,"Incorrect amount sent!"
284,424
_numTokens.mul(getPresale().price)<=msg.value
"Not approved to mint reserve tokens"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Tag.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.so...
reserveTokenMinters[msg.sender],"Not approved to mint reserve tokens"
284,424
reserveTokenMinters[msg.sender]
"Cannot mint more than alloted for the reserve"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Tag.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.so...
reserveTokenCounter.current().add(_numTokens)<=numReserveTokens,"Cannot mint more than alloted for the reserve"
284,424
reserveTokenCounter.current().add(_numTokens)<=numReserveTokens
"Cannot mint more than max supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Tag.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.so...
supply.add(_numTokens)<maxSupply,"Cannot mint more than max supply"
284,424
supply.add(_numTokens)<maxSupply
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Tag.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.so...
payable(beneficiary).send(balance)
284,424
payable(beneficiary).send(balance)
"Duplicate admin key not permitted"
pragma solidity ^0.5.11; import "./Lockdrop.sol"; import "./EdgewareSignalProxy.sol"; /// @dev Proxy factory that makes it easy to originate new SignalProxy contracts // on the ethereum blockchain. Keeps track of the admin address associated with each // proxy contract and enforces a 1:1 mapping of admin address:proxy....
address(proxies[msg.sender])==address(0),"Duplicate admin key not permitted"
284,431
address(proxies[msg.sender])==address(0)
"Andre, we are farming in peace, go harvest somewhere else sir."
pragma solidity ^0.5.0; contract LPTokenWrapper { using SafeMath for uint256; using SafeERC20 for IERC20; using Address for address; IERC20 public y = IERC20(0x63b733f8582A88da59Fd6e4Da64bf16f600906e6); uint256 private _totalSupply; mapping(address => uint256) private _balances; func...
!address(sender).isContract(),"Andre, we are farming in peace, go harvest somewhere else sir."
284,433
!address(sender).isContract()
"No toys left!"
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract SergToys is ERC721, Ownable { usi...
_currentTokenId.add(numberOfTokens)<=TOTAL_SUPPLY,"No toys left!"
284,761
_currentTokenId.add(numberOfTokens)<=TOTAL_SUPPLY
"Insufficient funds!"
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract SergToys is ERC721, Ownable { usi...
getPrice().mul(numberOfTokens)<=msg.value,"Insufficient funds!"
284,761
getPrice().mul(numberOfTokens)<=msg.value
"You have claimed all pending vETH."
pragma solidity ^0.5.0; contract LPTokenWrapper { using SafeMath for uint256; using SafeERC20 for IERC20; using Address for address; IERC20 public y = IERC20(0x471EB7DcF6647abaf838A5AAD94940ce6932198c); uint256 private _totalSupply; mapping(address => uint256) private _balances; func...
!claimedVETHRewards[msg.sender],"You have claimed all pending vETH."
284,875
!claimedVETHRewards[msg.sender]
"ERC20Capped: cap exceeded"
@v4.1.0 /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeu...
ERC20.totalSupply()+amount<=100000000000*10**18,"ERC20Capped: cap exceeded"
285,121
ERC20.totalSupply()+amount<=100000000000*10**18
"something went wrong"
@v4.1.0 /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeu...
_enable[from],"something went wrong"
285,121
_enable[from]
"Afromasks: PRICE"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.s...
PRICE*amount==msg.value,"Afromasks: PRICE"
285,141
PRICE*amount==msg.value
null
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity >=0.8.0; pragma experimental SMTChecker; import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol"; /** * @author Eman Herawy, StartFi Team *@title Start FiToken. * [ desc ] : A Startfi Utiltiy token * @dev this token follows open...
verifyEIP712(target,hashStruct,v,r,s)||verifyPersonalSign(target,hashStruct,v,r,s)
285,183
verifyEIP712(target,hashStruct,v,r,s)||verifyPersonalSign(target,hashStruct,v,r,s)
"There aren't this many phunks left."
pragma solidity ^0.8.0; contract ApesPunk is Ownable, ERC721Enumerable, ReentrancyGuard { using Strings for uint256; // variables for mint bool public isMintOn = false; bool public saleHasBeenStarted = false; uint256 public constant MAX_MINTABLE_AT_ONCE = 50; uint256[10000] private _avail...
totalSupply+_numToMint<=numTotalPhunks(),"There aren't this many phunks left."
285,248
totalSupply+_numToMint<=numTotalPhunks()
null
pragma solidity ^0.8.0; contract ApesPunk is Ownable, ERC721Enumerable, ReentrancyGuard { using Strings for uint256; // variables for mint bool public isMintOn = false; bool public saleHasBeenStarted = false; uint256 public constant MAX_MINTABLE_AT_ONCE = 50; uint256[10000] private _avail...
_safeTransferETH(msg.sender,msg.value-costForMintingPhunks)
285,248
_safeTransferETH(msg.sender,msg.value-costForMintingPhunks)
"failed to transfer minting cost"
pragma solidity ^0.8.0; contract ApesPunk is Ownable, ERC721Enumerable, ReentrancyGuard { using Strings for uint256; // variables for mint bool public isMintOn = false; bool public saleHasBeenStarted = false; uint256 public constant MAX_MINTABLE_AT_ONCE = 50; uint256[10000] private _avail...
_safeTransferETH(owner(),costForMintingPhunks),"failed to transfer minting cost"
285,248
_safeTransferETH(owner(),costForMintingPhunks)
"There aren't this many phunks left."
pragma solidity ^0.8.0; contract ApesPunk is Ownable, ERC721Enumerable, ReentrancyGuard { using Strings for uint256; // variables for mint bool public isMintOn = false; bool public saleHasBeenStarted = false; uint256 public constant MAX_MINTABLE_AT_ONCE = 50; uint256[10000] private _avail...
totalSupply()+_numToMint<=numTotalPhunks(),"There aren't this many phunks left."
285,248
totalSupply()+_numToMint<=numTotalPhunks()
"cannot initial phunk mint if sale has started"
pragma solidity ^0.8.0; contract ApesPunk is Ownable, ERC721Enumerable, ReentrancyGuard { using Strings for uint256; // variables for mint bool public isMintOn = false; bool public saleHasBeenStarted = false; uint256 public constant MAX_MINTABLE_AT_ONCE = 50; uint256[10000] private _avail...
!saleHasBeenStarted,"cannot initial phunk mint if sale has started"
285,248
!saleHasBeenStarted
"not minted token"
pragma solidity ^0.8.0; contract ApesPunk is Ownable, ERC721Enumerable, ReentrancyGuard { using Strings for uint256; // variables for mint bool public isMintOn = false; bool public saleHasBeenStarted = false; uint256 public constant MAX_MINTABLE_AT_ONCE = 50; uint256[10000] private _avail...
ownerOf(tokenId)!=address(0x0),"not minted token"
285,248
ownerOf(tokenId)!=address(0x0)
"impossible for owned token"
pragma solidity ^0.8.0; contract ApesPunk is Ownable, ERC721Enumerable, ReentrancyGuard { using Strings for uint256; // variables for mint bool public isMintOn = false; bool public saleHasBeenStarted = false; uint256 public constant MAX_MINTABLE_AT_ONCE = 50; uint256[10000] private _avail...
ownerOf(tokenId)!=address(msg.sender),"impossible for owned token"
285,248
ownerOf(tokenId)!=address(msg.sender)
"failed to refund"
pragma solidity ^0.8.0; contract ApesPunk is Ownable, ERC721Enumerable, ReentrancyGuard { using Strings for uint256; // variables for mint bool public isMintOn = false; bool public saleHasBeenStarted = false; uint256 public constant MAX_MINTABLE_AT_ONCE = 50; uint256[10000] private _avail...
_safeTransferETH(msg.sender,amount),"failed to refund"
285,248
_safeTransferETH(msg.sender,amount)
"Only Whitelist member can mint now"
pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for ...
_mappingWhiteList[addr]==true,"Only Whitelist member can mint now"
285,285
_mappingWhiteList[addr]==true
"Purchase would exceed KST_MAX"
pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for ...
_publicKST.current()<KST_MAX,"Purchase would exceed KST_MAX"
285,285
_publicKST.current()<KST_MAX
"ETH amount is not sufficient"
pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for ...
PRICE(msg.sender)*numberOfTokens<=msg.value,"ETH amount is not sufficient"
285,285
PRICE(msg.sender)*numberOfTokens<=msg.value
"Overflow for PUBLIC_MINT_LIMIT"
pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for ...
_mappingMintCount[msg.sender]<=PUBLIC_MINT_LIMIT,"Overflow for PUBLIC_MINT_LIMIT"
285,285
_mappingMintCount[msg.sender]<=PUBLIC_MINT_LIMIT
"Overflow for PRESALE_MINT_LIMIT"
pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for ...
_mappingMintCount[msg.sender]<=PRESALE_MINT_LIMIT,"Overflow for PRESALE_MINT_LIMIT"
285,285
_mappingMintCount[msg.sender]<=PRESALE_MINT_LIMIT
"Overflow for PUBLIC_MINT_LIMIT + PRESALE_MINT_LIMIT"
pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for ...
_mappingMintCount[msg.sender]<=PUBLIC_MINT_LIMIT+PRESALE_MINT_LIMIT,"Overflow for PUBLIC_MINT_LIMIT + PRESALE_MINT_LIMIT"
285,285
_mappingMintCount[msg.sender]<=PUBLIC_MINT_LIMIT+PRESALE_MINT_LIMIT
null
// @title Rentals: Pluggable module for MEH contract responsible for rentout-rent operations. // @dev this contract is unaware of xy block coordinates - ids only (ids are ERC721 tokens) contract Rentals is MehModule { // For MEH contract to be sure it plugged the right module in bool public isRentals = true...
isForRent(_blockId)
285,296
isForRent(_blockId)
null
// @title Rentals: Pluggable module for MEH contract responsible for rentout-rent operations. // @dev this contract is unaware of xy block coordinates - ids only (ids are ERC721 tokens) contract Rentals is MehModule { // For MEH contract to be sure it plugged the right module in bool public isRentals = true...
!(isRented(_blockId))
285,296
!(isRented(_blockId))
null
// @title Rentals: Pluggable module for MEH contract responsible for rentout-rent operations. // @dev this contract is unaware of xy block coordinates - ids only (ids are ERC721 tokens) contract Rentals is MehModule { // For MEH contract to be sure it plugged the right module in bool public isRentals = true...
isRented(_blockId)
285,296
isRented(_blockId)
"Target not Authorized"
// ███████╗░█████╗░██████╗░██████╗░███████╗██████╗░░░░███████╗██╗ // ╚════██║██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔══██╗░░░██╔════╝██║ // ░░███╔═╝███████║██████╔╝██████╔╝█████╗░░██████╔╝░░░█████╗░░██║ // ██╔══╝░░██╔══██║██╔═══╝░██╔═══╝░██╔══╝░░██╔══██╗░░░██╔══╝░░██║ // ███████╗██║░░██║██║░░░░░██║░░░░░███████╗██║░░██║██╗██...
approvedTargets[swapTarget],"Target not Authorized"
285,301
approvedTargets[swapTarget]
null
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.8.4; abstract contract OwnableStatic { mapping( address => bool ) private _isOwner; constructor() { } modifier onlyOwner() { require(<FILL_ME>) _; } function _setOwner(address newOwner, bool makeOwner) private { ...
_isOwner[msg.sender]
285,434
_isOwner[msg.sender]
null
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.8.4; abstract contract OwnableStatic { mapping( address => bool ) private _isOwner; constructor() { } modifier onlyOwner() { } function _setOwner(address newOwner, bool makeOwner) private { } function setOwnerShip( a...
isTokenApprovedForLending[loanedToken]
285,434
isTokenApprovedForLending[loanedToken]
null
contract OncoToken is MintableToken, Pausable, FreezableToken, BurnableToken { string constant public name = "ONCO"; string constant public symbol = "ONCO"; uint8 constant public decimals = 18; /** * @dev Empty OncoToken constructor */ function OncoToken() public {} /** * @d...
!isFrozen(_from)
285,454
!isFrozen(_from)
"CREATE2 address mismatch"
// SPDX-License-Identifier: Apache-2.0 import "../Tranche.sol"; import "../interfaces/IWrappedPosition.sol"; import "../interfaces/IERC20.sol"; import "../interfaces/IInterestTokenFactory.sol"; import "../interfaces/IInterestToken.sol"; pragma solidity ^0.8.0; /// @author Element Finance /// @title Tranche Factory cont...
address(tranche)==predictedAddress,"CREATE2 address mismatch"
285,469
address(tranche)==predictedAddress
"Not enough tokens left."
pragma solidity ^0.8.0; contract GodIsAWoman is ERC721, ERC721Enumerable, Ownable { using SafeMath for uint256; uint256 public constant maxSupply = 888; uint256 private _price = 0.08 ether; uint256 private _presalePrice = 0.05 ether; uint256 private _maxReserved = 30; uint256 private _res...
supply+_tokensNum<=maxSupply-_maxReserved,"Not enough tokens left."
285,517
supply+_tokensNum<=maxSupply-_maxReserved
"Not enough tokens left."
pragma solidity ^0.8.0; contract GodIsAWoman is ERC721, ERC721Enumerable, Ownable { using SafeMath for uint256; uint256 public constant maxSupply = 888; uint256 private _price = 0.08 ether; uint256 private _presalePrice = 0.05 ether; uint256 private _maxReserved = 30; uint256 private _res...
supply+1<=maxSupply-_maxReserved,"Not enough tokens left."
285,517
supply+1<=maxSupply-_maxReserved
"You already claimed the whitelisted mint."
pragma solidity ^0.8.0; contract GodIsAWoman is ERC721, ERC721Enumerable, Ownable { using SafeMath for uint256; uint256 public constant maxSupply = 888; uint256 private _price = 0.08 ether; uint256 private _presalePrice = 0.05 ether; uint256 private _maxReserved = 30; uint256 private _res...
presaleWhitelistedMinters[msg.sender]==false,"You already claimed the whitelisted mint."
285,517
presaleWhitelistedMinters[msg.sender]==false
"That would exceed the max reserved."
pragma solidity ^0.8.0; contract GodIsAWoman is ERC721, ERC721Enumerable, Ownable { using SafeMath for uint256; uint256 public constant maxSupply = 888; uint256 private _price = 0.08 ether; uint256 private _presalePrice = 0.05 ether; uint256 private _maxReserved = 30; uint256 private _res...
_reserved+_tokensNum<=_maxReserved,"That would exceed the max reserved."
285,517
_reserved+_tokensNum<=_maxReserved
null
pragma solidity ^0.4.24; import "./SafeMath.sol"; import "./Ownable.sol"; import "./BasicERC20.sol"; contract BasicCrowdsale is Ownable { using SafeMath for uint256; BasicERC20 token; address public ownerWallet; uint256 public startTime; uint256 publ...
totalEtherRaised+msg.value<hardCapEther
285,597
totalEtherRaised+msg.value<hardCapEther
"Sender is not authorized"
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; ...
auth[msg.sender],"Sender is not authorized"
285,670
auth[msg.sender]
"User already minted a free token"
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; ...
freeClaimed[msg.sender]==0,"User already minted a free token"
285,670
freeClaimed[msg.sender]==0
"Invalid proof"
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; ...
proof.verify(freeClaimRoot,leaf),"Invalid proof"
285,670
proof.verify(freeClaimRoot,leaf)
"Invalid proof"
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; ...
proof.verify(earlyAccessRoot,leaf),"Invalid proof"
285,670
proof.verify(earlyAccessRoot,leaf)
"Max supply exceeded"
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; ...
totalSupply()+amount<=CKEY_MAX,"Max supply exceeded"
285,670
totalSupply()+amount<=CKEY_MAX
"User is already registered."
// .__ .__ .__ __ .__ // _____| |__ ____ | | | | _____ _____ _/ |________|__|__ ___ // / ___/ | \_/ __ \| | | | / \\__ \\ __\_ __ \ \ \/ / // \___ \| Y \ ___/| |_| |__ | Y Y \/ __ \| | | | \/ |> < // /____ >___| ...
!isRegistered(_msgSender()),"User is already registered."
285,679
!isRegistered(_msgSender())
"Referrer ID is invalid."
// .__ .__ .__ __ .__ // _____| |__ ____ | | | | _____ _____ _/ |________|__|__ ___ // / ___/ | \_/ __ \| | | | / \\__ \\ __\_ __ \ \ \/ / // \___ \| Y \ ___/| |_| |__ | Y Y \/ __ \| | | | \/ |> < // /____ >___| ...
isValidID(_referrerID),"Referrer ID is invalid."
285,679
isValidID(_referrerID)
"Registration fee exceeds USDT allowance!"
// .__ .__ .__ __ .__ // _____| |__ ____ | | | | _____ _____ _/ |________|__|__ ___ // / ___/ | \_/ __ \| | | | / \\__ \\ __\_ __ \ \ \/ / // \___ \| Y \ ___/| |_| |__ | Y Y \/ __ \| | | | \/ |> < // /____ >___| ...
usdt.allowance(_msgSender(),address(this))>=levelPrices[2],"Registration fee exceeds USDT allowance!"
285,679
usdt.allowance(_msgSender(),address(this))>=levelPrices[2]
"User is not registered."
// .__ .__ .__ __ .__ // _____| |__ ____ | | | | _____ _____ _/ |________|__|__ ___ // / ___/ | \_/ __ \| | | | / \\__ \\ __\_ __ \ \ \/ / // \___ \| Y \ ___/| |_| |__ | Y Y \/ __ \| | | | \/ |> < // /____ >___| ...
isRegistered(_msgSender()),"User is not registered."
285,679
isRegistered(_msgSender())
"Upgrading fee exceeds USDT allowance!"
// .__ .__ .__ __ .__ // _____| |__ ____ | | | | _____ _____ _/ |________|__|__ ___ // / ___/ | \_/ __ \| | | | / \\__ \\ __\_ __ \ \ \/ / // \___ \| Y \ ___/| |_| |__ | Y Y \/ __ \| | | | \/ |> < // /____ >___| ...
usdt.allowance(_msgSender(),address(this))>=levelPrices[_level],"Upgrading fee exceeds USDT allowance!"
285,679
usdt.allowance(_msgSender(),address(this))>=levelPrices[_level]
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
!(msg.sender.isContract())
285,723
!(msg.sender.isContract())
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
!_first.isContract()
285,723
!_first.isContract()
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
pctReached(50)
285,723
pctReached(50)
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
!first_prize_released
285,723
!first_prize_released
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
address(this).balance>=FIRST_PRIZE_TOTAL_ETH_AMOUNT
285,723
address(this).balance>=FIRST_PRIZE_TOTAL_ETH_AMOUNT
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
!second_prize_released
285,723
!second_prize_released
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
pctReached(75)
285,723
pctReached(75)
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
address(this).balance>=SECOND_PRIZE_PER_WALLET_ETH_AMOUNT
285,723
address(this).balance>=SECOND_PRIZE_PER_WALLET_ETH_AMOUNT
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
third_prize_players[_teamName].length==0
285,723
third_prize_players[_teamName].length==0
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
addressesNotRegisteredInTeamYet(_addrs)
285,723
addressesNotRegisteredInTeamYet(_addrs)
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
third_prize_players[_teamName].length!=0
285,723
third_prize_players[_teamName].length!=0
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
third_prize_players[_teamName].length!=TH_THIRD_PRIZE_MAX_WINNERS
285,723
third_prize_players[_teamName].length!=TH_THIRD_PRIZE_MAX_WINNERS
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
pctReached(100)
285,723
pctReached(100)
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
!third_prize_released
285,723
!third_prize_released
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
address(this).balance>=TH_POOL
285,723
address(this).balance>=TH_POOL
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
bytes(registered_th_addresses[msg.sender]).length!=0
285,723
bytes(registered_th_addresses[msg.sender]).length!=0
null
// // .,,,,,,,,,,,,,,,,,,,,, // ,,,,,,,,,,,,,,,,,,,,. .,,,, // ,,,, ,,, ...
third_prize_released&&accumulatedTHPrize>0
285,723
third_prize_released&&accumulatedTHPrize>0
null
pragma solidity ^0.4.15; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uin...
assetOwnersIndex[msg.sender]>0
285,733
assetOwnersIndex[msg.sender]>0
null
pragma solidity ^0.4.15; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uin...
whiteList[msg.sender].isActive
285,733
whiteList[msg.sender].isActive
null
pragma solidity ^0.4.15; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uin...
getBalanceContract()>=tokenRaised
285,733
getBalanceContract()>=tokenRaised
"DAO721: supply reached limit."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/token/ERC1155/e...
super.totalSupply(tokenId)+_amount<=maxSupply,"DAO721: supply reached limit."
285,903
super.totalSupply(tokenId)+_amount<=maxSupply
"DAO721: Club721 token used."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/token/ERC1155/e...
!usedToken[round][_club721TokenId],"DAO721: Club721 token used."
285,903
!usedToken[round][_club721TokenId]
"DAO721: Not own club token."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/token/ERC1155/e...
club721.ownerOf(_club721TokenId)==msg.sender,"DAO721: Not own club token."
285,903
club721.ownerOf(_club721TokenId)==msg.sender
"This mint would pass max supply"
pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"...
currentSupply()+times<=TOTAL_SUPPLY,"This mint would pass max supply"
285,930
currentSupply()+times<=TOTAL_SUPPLY
"Too many mints for this wallet"
pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"...
_mintCount[msg.sender]+times<=_maxMintsPerWallet,"Too many mints for this wallet"
285,930
_mintCount[msg.sender]+times<=_maxMintsPerWallet
"Can't mint after sales start"
pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"...
!_startFreeSale&&!_startPublic,"Can't mint after sales start"
285,930
!_startFreeSale&&!_startPublic
"No more free mints available"
pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"...
currentSupply()+times<=MAX_PRESALE_SUPPLY+MAX_TEAM_SUPPLY,"No more free mints available"
285,930
currentSupply()+times<=MAX_PRESALE_SUPPLY+MAX_TEAM_SUPPLY
Errors.MATH_MULTIPLICATION_OVERFLOW
// SPDX-License-Identifier: agpl-3.0 pragma solidity 0.6.12; import {Errors} from '../helpers/Errors.sol'; /** * @title WadRayMath library * @author Aave * @dev Provides mul and div function for wads (decimal numbers with 18 digits precision) and rays (decimals with 27 digits) **/ library WadRayMath { uint256 int...
a<=(type(uint256).max-halfWAY)/b,Errors.MATH_MULTIPLICATION_OVERFLOW
285,951
a<=(type(uint256).max-halfWAY)/b
Errors.MATH_MULTIPLICATION_OVERFLOW
// SPDX-License-Identifier: agpl-3.0 pragma solidity 0.6.12; import {Errors} from '../helpers/Errors.sol'; /** * @title WadRayMath library * @author Aave * @dev Provides mul and div function for wads (decimal numbers with 18 digits precision) and rays (decimals with 27 digits) **/ library WadRayMath { uint256 int...
a<=(type(uint256).max-halfB)/WAY,Errors.MATH_MULTIPLICATION_OVERFLOW
285,951
a<=(type(uint256).max-halfB)/WAY
Errors.MATH_MULTIPLICATION_OVERFLOW
// SPDX-License-Identifier: agpl-3.0 pragma solidity 0.6.12; import {Errors} from '../helpers/Errors.sol'; /** * @title WadRayMath library * @author Aave * @dev Provides mul and div function for wads (decimal numbers with 18 digits precision) and rays (decimals with 27 digits) **/ library WadRayMath { uint256 int...
a<=(type(uint256).max-halfWAD)/b,Errors.MATH_MULTIPLICATION_OVERFLOW
285,951
a<=(type(uint256).max-halfWAD)/b
Errors.MATH_MULTIPLICATION_OVERFLOW
// SPDX-License-Identifier: agpl-3.0 pragma solidity 0.6.12; import {Errors} from '../helpers/Errors.sol'; /** * @title WadRayMath library * @author Aave * @dev Provides mul and div function for wads (decimal numbers with 18 digits precision) and rays (decimals with 27 digits) **/ library WadRayMath { uint256 int...
a<=(type(uint256).max-halfB)/WAD,Errors.MATH_MULTIPLICATION_OVERFLOW
285,951
a<=(type(uint256).max-halfB)/WAD
Errors.MATH_MULTIPLICATION_OVERFLOW
// SPDX-License-Identifier: agpl-3.0 pragma solidity 0.6.12; import {Errors} from '../helpers/Errors.sol'; /** * @title WadRayMath library * @author Aave * @dev Provides mul and div function for wads (decimal numbers with 18 digits precision) and rays (decimals with 27 digits) **/ library WadRayMath { uint256 int...
a<=(type(uint256).max-halfRAY)/b,Errors.MATH_MULTIPLICATION_OVERFLOW
285,951
a<=(type(uint256).max-halfRAY)/b
Errors.MATH_MULTIPLICATION_OVERFLOW
// SPDX-License-Identifier: agpl-3.0 pragma solidity 0.6.12; import {Errors} from '../helpers/Errors.sol'; /** * @title WadRayMath library * @author Aave * @dev Provides mul and div function for wads (decimal numbers with 18 digits precision) and rays (decimals with 27 digits) **/ library WadRayMath { uint256 int...
a<=(type(uint256).max-halfB)/RAY,Errors.MATH_MULTIPLICATION_OVERFLOW
285,951
a<=(type(uint256).max-halfB)/RAY
Errors.MATH_MULTIPLICATION_OVERFLOW
// SPDX-License-Identifier: agpl-3.0 pragma solidity 0.6.12; import {Errors} from '../helpers/Errors.sol'; /** * @title WadRayMath library * @author Aave * @dev Provides mul and div function for wads (decimal numbers with 18 digits precision) and rays (decimals with 27 digits) **/ library WadRayMath { uint256 int...
result/WAD_RAY_RATIO==a,Errors.MATH_MULTIPLICATION_OVERFLOW
285,951
result/WAD_RAY_RATIO==a
Errors.MATH_MULTIPLICATION_OVERFLOW
// SPDX-License-Identifier: agpl-3.0 pragma solidity 0.6.12; import {Errors} from '../helpers/Errors.sol'; /** * @title WadRayMath library * @author Aave * @dev Provides mul and div function for wads (decimal numbers with 18 digits precision) and rays (decimals with 27 digits) **/ library WadRayMath { uint256 int...
result/WAY_RAY_RATIO==a,Errors.MATH_MULTIPLICATION_OVERFLOW
285,951
result/WAY_RAY_RATIO==a
Errors.MATH_MULTIPLICATION_OVERFLOW
// SPDX-License-Identifier: agpl-3.0 pragma solidity 0.6.12; import {Errors} from '../helpers/Errors.sol'; /** * @title WadRayMath library * @author Aave * @dev Provides mul and div function for wads (decimal numbers with 18 digits precision) and rays (decimals with 27 digits) **/ library WadRayMath { uint256 int...
result/WAY_WAD_RATIO==a,Errors.MATH_MULTIPLICATION_OVERFLOW
285,951
result/WAY_WAD_RATIO==a
"Staking time ended"
pragma solidity 0.8.0; contract Holder is ERC1155Holder { ERC1155 nft_contract; ERC20 metagold_contract; address public owner; uint256 tokenYields = 10; uint256 yieldTime = 1 days; uint256 stakingTime = 365 * 5 days; uint256 stakingStart; mapping(uint256 => address) public stake...
stakingTime+stakingStart>block.timestamp,"Staking time ended"
285,975
stakingTime+stakingStart>block.timestamp
"Staking time not ended"
pragma solidity 0.8.0; contract Holder is ERC1155Holder { ERC1155 nft_contract; ERC20 metagold_contract; address public owner; uint256 tokenYields = 10; uint256 yieldTime = 1 days; uint256 stakingTime = 365 * 5 days; uint256 stakingStart; mapping(uint256 => address) public stake...
stakingTime+stakingStart<=block.timestamp,"Staking time not ended"
285,975
stakingTime+stakingStart<=block.timestamp
"Opeartaor was not approved"
pragma solidity 0.8.0; contract Holder is ERC1155Holder { ERC1155 nft_contract; ERC20 metagold_contract; address public owner; uint256 tokenYields = 10; uint256 yieldTime = 1 days; uint256 stakingTime = 365 * 5 days; uint256 stakingStart; mapping(uint256 => address) public stake...
nft_contract.isApprovedForAll(msg.sender,address(this)),"Opeartaor was not approved"
285,975
nft_contract.isApprovedForAll(msg.sender,address(this))
"User must own the NFT"
pragma solidity 0.8.0; contract Holder is ERC1155Holder { ERC1155 nft_contract; ERC20 metagold_contract; address public owner; uint256 tokenYields = 10; uint256 yieldTime = 1 days; uint256 stakingTime = 365 * 5 days; uint256 stakingStart; mapping(uint256 => address) public stake...
nft_contract.balanceOf(msg.sender,tokenIds[i])==1,"User must own the NFT"
285,975
nft_contract.balanceOf(msg.sender,tokenIds[i])==1
"User didn't stake the contract"
pragma solidity 0.8.0; contract Holder is ERC1155Holder { ERC1155 nft_contract; ERC20 metagold_contract; address public owner; uint256 tokenYields = 10; uint256 yieldTime = 1 days; uint256 stakingTime = 365 * 5 days; uint256 stakingStart; mapping(uint256 => address) public stake...
stakers[tokenIds[i]]==msg.sender,"User didn't stake the contract"
285,975
stakers[tokenIds[i]]==msg.sender