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.5.0; contract OldBaseRegistrarImplementation is BaseRegistrar, ERC721 { // Expiration timestamp for migrated domains. uint public transferPeriodEnds; // The interim registrar Registrar public previousRegistrar; // A map of expiry times mapping(uint256=>uint) expiries; ...
expiries[tokenId]>now
364,001
expiries[tokenId]>now
null
pragma solidity ^0.5.0; contract OldBaseRegistrarImplementation is BaseRegistrar, ERC721 { // Expiration timestamp for migrated domains. uint public transferPeriodEnds; // The interim registrar Registrar public previousRegistrar; // A map of expiry times mapping(uint256=>uint) expiries; ...
now+duration+GRACE_PERIOD>now+GRACE_PERIOD
364,001
now+duration+GRACE_PERIOD>now+GRACE_PERIOD
null
pragma solidity ^0.5.0; contract OldBaseRegistrarImplementation is BaseRegistrar, ERC721 { // Expiration timestamp for migrated domains. uint public transferPeriodEnds; // The interim registrar Registrar public previousRegistrar; // A map of expiry times mapping(uint256=>uint) expiries; ...
expiries[id]+GRACE_PERIOD>=now
364,001
expiries[id]+GRACE_PERIOD>=now
null
pragma solidity ^0.5.0; contract OldBaseRegistrarImplementation is BaseRegistrar, ERC721 { // Expiration timestamp for migrated domains. uint public transferPeriodEnds; // The interim registrar Registrar public previousRegistrar; // A map of expiry times mapping(uint256=>uint) expiries; ...
expiries[id]==0
364,001
expiries[id]==0
"Claim send failed"
contract EscrowLibrary { enum SettlementType { Claim, Refund } struct EscrowParams { bytes32 puzzleA; bytes32 puzzleB; address tokenAddress; uint escrowAmount; uint timeLockA; uint timeLockB; address payable claimAddress; ...
escrow.send(claimAddress,escrowAmount),"Claim send failed"
364,057
escrow.send(claimAddress,escrowAmount)
"Refund send failed"
contract EscrowLibrary { enum SettlementType { Claim, Refund } struct EscrowParams { bytes32 puzzleA; bytes32 puzzleB; address tokenAddress; uint escrowAmount; uint timeLockA; uint timeLockB; address payable claimAddress; ...
escrow.send(refundAddress,balance),"Refund send failed"
364,057
escrow.send(refundAddress,balance)
"Tokens cannot be transferred from user account"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.6; // ---------------------------------------------------------------------------- // 'HAPPYHOUR' Staking smart contract // // Enter our universe : cocktailbar.finance // // Come join the disscussion: https://t.me/cocktailbar_discussion // // ...
REWARDTOKEN(rewtkn).transferFrom(msg.sender,address(this),tokens),"Tokens cannot be transferred from user account"
364,220
REWARDTOKEN(rewtkn).transferFrom(msg.sender,address(this),tokens)
"Error in un-staking tokens"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.6; // ---------------------------------------------------------------------------- // 'HAPPYHOUR' Staking smart contract // // Enter our universe : cocktailbar.finance // // Come join the disscussion: https://t.me/cocktailbar_discussion // // ...
REWARDTOKEN(rewtkn).transfer(msg.sender,tokens.sub(_unstakingFee)),"Error in un-staking tokens"
364,220
REWARDTOKEN(rewtkn).transfer(msg.sender,tokens.sub(_unstakingFee))
"You have Already Claimed"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.6; // ---------------------------------------------------------------------------- // 'HAPPYHOUR' Staking smart contract // // Enter our universe : cocktailbar.finance // // Come join the disscussion: https://t.me/cocktailbar_discussion // // ...
stakers[msg.sender].lastClaim!=reward.rewardstart,"You have Already Claimed"
364,220
stakers[msg.sender].lastClaim!=reward.rewardstart
null
contract EtherealFoundationOwned { address private Owner; function IsOwner(address addr) view public returns(bool) { } function TransferOwner(address newOwner) public onlyOwner { } function EtherealFoundationOwned() public { } function Terminate() public onlyOwner { } modifier onlyOwner(){ ...
balances[_to]+amtToken>balances[_to]
364,344
balances[_to]+amtToken>balances[_to]
null
contract EtherealFoundationOwned { address private Owner; function IsOwner(address addr) view public returns(bool) { } function TransferOwner(address newOwner) public onlyOwner { } function EtherealFoundationOwned() public { } function Terminate() public onlyOwner { } modifier onlyOwner(){ ...
token.transfer(_to,amtToken)
364,344
token.transfer(_to,amtToken)
null
contract EtherealFoundationOwned { address private Owner; function IsOwner(address addr) view public returns(bool) { } function TransferOwner(address newOwner) public onlyOwner { } function EtherealFoundationOwned() public { } function Terminate() public onlyOwner { } modifier onlyOwner(){ ...
balances[this]+tokensToBuy>balances[this]
364,344
balances[this]+tokensToBuy>balances[this]
"StakeRewardRefill/cannot-refill"
pragma solidity ^0.6.7; abstract contract ERC20Events { event Approval(address indexed src, address indexed guy, uint wad); event Transfer(address indexed src, address indexed dst, uint wad); } abstract contract ERC20 is ERC20Events { function totalSupply() virtual public view returns (uint); fun...
either(openRefill==1,authorizedAccounts[msg.sender]==1),"StakeRewardRefill/cannot-refill"
364,407
either(openRefill==1,authorizedAccounts[msg.sender]==1)
"AegisGovernance::proposeFreed voting is not closed"
pragma solidity ^0.5.16; pragma experimental ABIEncoderV2; import "./EIP20Interface.sol"; import "./EIP20NonStandardInterface.sol"; /** * @notice AegisGovernance * @author Aegis */ contract AegisGovernance { string public constant name = "Aegis Governor"; function passVotes() public pure returns (uint) { ...
state(_proposalId)!=ProposalState.Active,"AegisGovernance::proposeFreed voting is not closed"
364,418
state(_proposalId)!=ProposalState.Active
"AegisGovernance::proposeFreed insufficient coins"
pragma solidity ^0.5.16; pragma experimental ABIEncoderV2; import "./EIP20Interface.sol"; import "./EIP20NonStandardInterface.sol"; /** * @notice AegisGovernance * @author Aegis */ contract AegisGovernance { string public constant name = "Aegis Governor"; function passVotes() public pure returns (uint) { ...
checkPointProposal[_account]>0,"AegisGovernance::proposeFreed insufficient coins"
364,418
checkPointProposal[_account]>0
"AegisGovernance::votesLockup voting is closed"
pragma solidity ^0.5.16; pragma experimental ABIEncoderV2; import "./EIP20Interface.sol"; import "./EIP20NonStandardInterface.sol"; /** * @notice AegisGovernance * @author Aegis */ contract AegisGovernance { string public constant name = "Aegis Governor"; function passVotes() public pure returns (uint) { ...
state(_proposalId)==ProposalState.Active,"AegisGovernance::votesLockup voting is closed"
364,418
state(_proposalId)==ProposalState.Active
"AegisGovernance::propose: proposer votes below proposal threshold"
pragma solidity ^0.5.16; pragma experimental ABIEncoderV2; import "./EIP20Interface.sol"; import "./EIP20NonStandardInterface.sol"; /** * @notice AegisGovernance * @author Aegis */ contract AegisGovernance { string public constant name = "Aegis Governor"; function passVotes() public pure returns (uint) { ...
checkPointProposal[msg.sender]>=proposalThreshold(),"AegisGovernance::propose: proposer votes below proposal threshold"
364,418
checkPointProposal[msg.sender]>=proposalThreshold()
"AegisGovernance::queue: proposal can only be queued if it is succeeded"
pragma solidity ^0.5.16; pragma experimental ABIEncoderV2; import "./EIP20Interface.sol"; import "./EIP20NonStandardInterface.sol"; /** * @notice AegisGovernance * @author Aegis */ contract AegisGovernance { string public constant name = "Aegis Governor"; function passVotes() public pure returns (uint) { ...
state(_proposalId)==ProposalState.Succeeded,"AegisGovernance::queue: proposal can only be queued if it is succeeded"
364,418
state(_proposalId)==ProposalState.Succeeded
"AegisGovernance::_queueOrRevert: proposal action already queued at eta"
pragma solidity ^0.5.16; pragma experimental ABIEncoderV2; import "./EIP20Interface.sol"; import "./EIP20NonStandardInterface.sol"; /** * @notice AegisGovernance * @author Aegis */ contract AegisGovernance { string public constant name = "Aegis Governor"; function passVotes() public pure returns (uint) { ...
!timelock.queuedTransactions(keccak256(abi.encode(_target,_value,_signature,_data,_eta))),"AegisGovernance::_queueOrRevert: proposal action already queued at eta"
364,418
!timelock.queuedTransactions(keccak256(abi.encode(_target,_value,_signature,_data,_eta)))
"AegisGovernance::execute: proposal can only be executed if it is queued"
pragma solidity ^0.5.16; pragma experimental ABIEncoderV2; import "./EIP20Interface.sol"; import "./EIP20NonStandardInterface.sol"; /** * @notice AegisGovernance * @author Aegis */ contract AegisGovernance { string public constant name = "Aegis Governor"; function passVotes() public pure returns (uint) { ...
state(_proposalId)==ProposalState.Queued,"AegisGovernance::execute: proposal can only be executed if it is queued"
364,418
state(_proposalId)==ProposalState.Queued
"AegisGovernance::castVote not enough votes"
pragma solidity ^0.5.16; pragma experimental ABIEncoderV2; import "./EIP20Interface.sol"; import "./EIP20NonStandardInterface.sol"; /** * @notice AegisGovernance * @author Aegis */ contract AegisGovernance { string public constant name = "Aegis Governor"; function passVotes() public pure returns (uint) { ...
getPriorVotes(msg.sender,_proposalId)>0,"AegisGovernance::castVote not enough votes"
364,418
getPriorVotes(msg.sender,_proposalId)>0
"Max supply reached"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721Tradable.sol"; contract Lady is ERC721Tradable { bool public saleIsActive; uint256 public maxByMint; uint256 public maxSupply; uint256 public maxPublicSupply; uint256 public maxReservedSupply; uint256 public totalPublicSuppl...
totalPublicSupply+numberOfTokens<=maxPublicSupply,"Max supply reached"
364,480
totalPublicSupply+numberOfTokens<=maxPublicSupply
"Eth val incorrect"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721Tradable.sol"; contract Lady is ERC721Tradable { bool public saleIsActive; uint256 public maxByMint; uint256 public maxSupply; uint256 public maxPublicSupply; uint256 public maxReservedSupply; uint256 public totalPublicSuppl...
fixedPrice*numberOfTokens<=msg.value,"Eth val incorrect"
364,480
fixedPrice*numberOfTokens<=msg.value
null
pragma solidity ^0.4.23; library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an address access to this role */ function add(Role storage role, address addr) internal { } /** * @dev remove an address' access to this role */ function remove(...
birthBlock[_dragonID]==0
364,515
birthBlock[_dragonID]==0
null
pragma solidity ^0.4.23; library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an address access to this role */ function add(Role storage role, address addr) internal { } /** * @dev remove an address' access to this role */ function remove(...
deathBlock[_dragonID]==0
364,515
deathBlock[_dragonID]==0
"PRESALE_NOT_LIVE"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; impo...
!isPublicSaleLive&&isPresaleLive,"PRESALE_NOT_LIVE"
364,610
!isPublicSaleLive&&isPresaleLive
"ALL_FOXS_SOLD_OUT"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; impo...
totalSupply()<FOX_TOTAL_SUPPLY,"ALL_FOXS_SOLD_OUT"
364,610
totalSupply()<FOX_TOTAL_SUPPLY
"INVALID_HASH"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; impo...
hashTransaction(msg.sender,quantity,isOG)==hash,"INVALID_HASH"
364,610
hashTransaction(msg.sender,quantity,isOG)==hash
"EXCEED_PRESALES_MINT"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; impo...
_presalerQuantity[msg.sender]<3,"EXCEED_PRESALES_MINT"
364,610
_presalerQuantity[msg.sender]<3
"EXCEED_PUBLIC_SUPPLY"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; impo...
totalSupply()+quantity<=FOX_TOTAL_SUPPLY,"EXCEED_PUBLIC_SUPPLY"
364,610
totalSupply()+quantity<=FOX_TOTAL_SUPPLY
"INVALID_ETH_AMOUNT"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; impo...
OG_PRICE*quantity==msg.value,"INVALID_ETH_AMOUNT"
364,610
OG_PRICE*quantity==msg.value
"SEND_FAIL_TO_A1"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; impo...
payable(_oAddress).send(_a1),"SEND_FAIL_TO_A1"
364,610
payable(_oAddress).send(_a1)
"SEND_FAIL_TO_A2"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; impo...
payable(_hAddress).send(_a2),"SEND_FAIL_TO_A2"
364,610
payable(_hAddress).send(_a2)
"SEND_FAIL_TO_A3"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; impo...
payable(_mAddress).send(_a3),"SEND_FAIL_TO_A3"
364,610
payable(_mAddress).send(_a3)
null
pragma solidity ^0.4.23; /** * Math operations with safety checks */ library SafeMath { function mul(uint256 a, uint256 b) public pure returns (uint256) { } function div(uint256 a, uint256 b) public pure returns (uint256) { } function sub(uint256 a, uint256 b) public pure returns (uint256) { } ...
!frozenAccount[msg.sender]&&!frozenAccount[_to]
364,682
!frozenAccount[msg.sender]&&!frozenAccount[_to]
null
pragma solidity ^0.4.23; /** * Math operations with safety checks */ library SafeMath { function mul(uint256 a, uint256 b) public pure returns (uint256) { } function div(uint256 a, uint256 b) public pure returns (uint256) { } function sub(uint256 a, uint256 b) public pure returns (uint256) { } ...
balanceOf[this]>convert(_amount)
364,682
balanceOf[this]>convert(_amount)
null
pragma solidity ^0.4.23; /** * Math operations with safety checks */ library SafeMath { function mul(uint256 a, uint256 b) public pure returns (uint256) { } function div(uint256 a, uint256 b) public pure returns (uint256) { } function sub(uint256 a, uint256 b) public pure returns (uint256) { } ...
balanceOf[this]>=convert(_value)
364,682
balanceOf[this]>=convert(_value)
null
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'Kaasy' CROWDSALE token contract // // Deployed to : 0x06d5697043f8e611807b221e74f08a28bb4e6e13 // Symbol : KAAS // Name : KAASY.AI Token // Total supply: 500000000 // Decimals : 18 // //...
msg.value+ethDeposits[msg.sender]<=maxAmountETH
364,693
msg.value+ethDeposits[msg.sender]<=maxAmountETH
null
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'Kaasy' CROWDSALE token contract // // Deployed to : 0x06d5697043f8e611807b221e74f08a28bb4e6e13 // Symbol : KAAS // Name : KAASY.AI Token // Total supply: 500000000 // Decimals : 18 // //...
kycAddressState[msg.sender]==true
364,693
kycAddressState[msg.sender]==true
null
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'Kaasy' CROWDSALE token contract // // Deployed to : 0x06d5697043f8e611807b221e74f08a28bb4e6e13 // Symbol : KAAS // Name : KAASY.AI Token // Total supply: 500000000 // Decimals : 18 // //...
safeAdd(soldSupply,tokens)<=maxSellable
364,693
safeAdd(soldSupply,tokens)<=maxSellable
null
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'Kaasy' CROWDSALE token contract // // Deployed to : 0x06d5697043f8e611807b221e74f08a28bb4e6e13 // Symbol : KAAS // Name : KAASY.AI Token // Total supply: 500000000 // Decimals : 18 // //...
isMintingFinished&&isOwnBlockchainLaunched==false
364,693
isMintingFinished&&isOwnBlockchainLaunched==false
null
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'Kaasy' CROWDSALE token contract // // Deployed to : 0x06d5697043f8e611807b221e74f08a28bb4e6e13 // Symbol : KAAS // Name : KAASY.AI Token // Total supply: 500000000 // Decimals : 18 // //...
!isMintingFinished
364,693
!isMintingFinished
null
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'Kaasy' CROWDSALE token contract // // Deployed to : 0x06d5697043f8e611807b221e74f08a28bb4e6e13 // Symbol : KAAS // Name : KAASY.AI Token // Total supply: 500000000 // Decimals : 18 // //...
!isOwnBlockchainLaunched
364,693
!isOwnBlockchainLaunched
'The token is locked and you cannot change its metadata.'
// SPDX-License-Identifier: MIT pragma solidity >=0.4.22 <0.9.0; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@manifoldxyz/libraries-solidity/contracts/access/AdminControl.sol"; import "@manifoldxyz/royalty-registry-solidity/contracts/specs/IEIP2981.sol"; // The Token // Look beyond the Image, th...
!_configs[tokenId].locked,'The token is locked and you cannot change its metadata.'
364,696
!_configs[tokenId].locked
'A token is locked and you cannot mint with this configuration.'
// SPDX-License-Identifier: MIT pragma solidity >=0.4.22 <0.9.0; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@manifoldxyz/libraries-solidity/contracts/access/AdminControl.sol"; import "@manifoldxyz/royalty-registry-solidity/contracts/specs/IEIP2981.sol"; // The Token // Look beyond the Image, th...
!_configs[ids[i]].locked,'A token is locked and you cannot mint with this configuration.'
364,696
!_configs[ids[i]].locked
null
/* * This is the source code of the smart contract for the SOUL token, aka Soul Napkins. * Copyright 2017 and all rights reserved by the owner of the following Ethereum address: * 0x10E44C6bc685c4E4eABda326c211561d5367EEec */ pragma solidity ^0.4.17; // ERC Token standard #20 Interface // https://github.com/ethe...
bytes(reason).length>0
364,728
bytes(reason).length>0
null
/* * This is the source code of the smart contract for the SOUL token, aka Soul Napkins. * Copyright 2017 and all rights reserved by the owner of the following Ethereum address: * 0x10E44C6bc685c4E4eABda326c211561d5367EEec */ pragma solidity ^0.4.17; // ERC Token standard #20 Interface // https://github.com/ethe...
bytes(has_reason).length==0
364,728
bytes(has_reason).length==0
null
/* * This is the source code of the smart contract for the SOUL token, aka Soul Napkins. * Copyright 2017 and all rights reserved by the owner of the following Ethereum address: * 0x10E44C6bc685c4E4eABda326c211561d5367EEec */ pragma solidity ^0.4.17; // ERC Token standard #20 Interface // https://github.com/ethe...
soulPrices[msg.sender]==0
364,728
soulPrices[msg.sender]==0
null
/* * This is the source code of the smart contract for the SOUL token, aka Soul Napkins. * Copyright 2017 and all rights reserved by the owner of the following Ethereum address: * 0x10E44C6bc685c4E4eABda326c211561d5367EEec */ pragma solidity ^0.4.17; // ERC Token standard #20 Interface // https://github.com/ethe...
ownedBy[msg.sender]==address(0)
364,728
ownedBy[msg.sender]==address(0)
null
/* * This is the source code of the smart contract for the SOUL token, aka Soul Napkins. * Copyright 2017 and all rights reserved by the owner of the following Ethereum address: * 0x10E44C6bc685c4E4eABda326c211561d5367EEec */ pragma solidity ^0.4.17; // ERC Token standard #20 Interface // https://github.com/ethe...
ownedBy[noSoulMate]==address(0)
364,728
ownedBy[noSoulMate]==address(0)
null
/* * This is the source code of the smart contract for the SOUL token, aka Soul Napkins. * Copyright 2017 and all rights reserved by the owner of the following Ethereum address: * 0x10E44C6bc685c4E4eABda326c211561d5367EEec */ pragma solidity ^0.4.17; // ERC Token standard #20 Interface // https://github.com/ethe...
bytes(reasons[noSoulMate]).length>0
364,728
bytes(reasons[noSoulMate]).length>0
null
/* * This is the source code of the smart contract for the SOUL token, aka Soul Napkins. * Copyright 2017 and all rights reserved by the owner of the following Ethereum address: * 0x10E44C6bc685c4E4eABda326c211561d5367EEec */ pragma solidity ^0.4.17; // ERC Token standard #20 Interface // https://github.com/ethe...
soulsOwned[msg.sender]+1>soulsOwned[msg.sender]
364,728
soulsOwned[msg.sender]+1>soulsOwned[msg.sender]
null
/* * This is the source code of the smart contract for the SOUL token, aka Soul Napkins. * Copyright 2017 and all rights reserved by the owner of the following Ethereum address: * 0x10E44C6bc685c4E4eABda326c211561d5367EEec */ pragma solidity ^0.4.17; // ERC Token standard #20 Interface // https://github.com/ethe...
ownedBy[noSoulMate]==msg.sender
364,728
ownedBy[noSoulMate]==msg.sender
null
/* * This is the source code of the smart contract for the SOUL token, aka Soul Napkins. * Copyright 2017 and all rights reserved by the owner of the following Ethereum address: * 0x10E44C6bc685c4E4eABda326c211561d5367EEec */ pragma solidity ^0.4.17; // ERC Token standard #20 Interface // https://github.com/ethe...
soulsOwned[_to]+1>soulsOwned[_to]
364,728
soulsOwned[_to]+1>soulsOwned[_to]
"DUPLICATE_ENTRY"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
!presalerListAlloc[entry],"DUPLICATE_ENTRY"
364,922
!presalerListAlloc[entry]
"OUT_OF_STOCK"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
totalAmountMintedLocal+tokenQuantity<=OTTER_MAX,"OUT_OF_STOCK"
364,922
totalAmountMintedLocal+tokenQuantity<=OTTER_MAX
"INSUFFICIENT_ETH"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
OTTER_MINT_PRICE*tokenQuantity<=msg.value,"INSUFFICIENT_ETH"
364,922
OTTER_MINT_PRICE*tokenQuantity<=msg.value
"EXCEED_PRIVATE"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
privateAmountMintedLocal+tokenQuantity<=OTTER_PRESALE_MAX,"EXCEED_PRIVATE"
364,922
privateAmountMintedLocal+tokenQuantity<=OTTER_PRESALE_MAX
"NOT_ELIGIBLE"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
presalerListAlloc[msg.sender],"NOT_ELIGIBLE"
364,922
presalerListAlloc[msg.sender]
"INSUFFICIENT_ETH"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
OTTER_PRESALE_PRICE*tokenQuantity<=msg.value,"INSUFFICIENT_ETH"
364,922
OTTER_PRESALE_PRICE*tokenQuantity<=msg.value
"OUT_OF_STOCK"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
totalAmountMinted+1<=OTTER_MAX,"OUT_OF_STOCK"
364,922
totalAmountMinted+1<=OTTER_MAX
"EXCEED_GIVE_AWAY"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
giveAwayAmountMinted+1<=OTTER_GIVE_AWAY_MAX,"EXCEED_GIVE_AWAY"
364,922
giveAwayAmountMinted+1<=OTTER_GIVE_AWAY_MAX
"NOT_QUALIFIED"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
giveAwayListAlloc[msg.sender]>0,"NOT_QUALIFIED"
364,922
giveAwayListAlloc[msg.sender]>0
"MAX_MINT"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
totalAmountMinted+receivers.length<=OTTER_MAX,"MAX_MINT"
364,922
totalAmountMinted+receivers.length<=OTTER_MAX
"EXCEED_AIR_DROP"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
airDropAmount+receivers.length<=OTTER_AIR_DROP_MAX,"EXCEED_AIR_DROP"
364,922
airDropAmount+receivers.length<=OTTER_AIR_DROP_MAX
"INSUFFICIENT_ETH"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
isDelete||OTTER_COMPANION_PRICE<=msg.value,"INSUFFICIENT_ETH"
364,922
isDelete||OTTER_COMPANION_PRICE<=msg.value
"INSUFFICIENT_ETH"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
isDelete||OTTER_WING_PRICE<=msg.value,"INSUFFICIENT_ETH"
364,922
isDelete||OTTER_WING_PRICE<=msg.value
"Fair minting has already completed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
!mintingFinalized,"Fair minting has already completed"
364,922
!mintingFinalized
"Cannot query non-existent imageId"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
tokenIdToImageId[tokenId]>0,"Cannot query non-existent imageId"
364,922
tokenIdToImageId[tokenId]>0
"Not enough LINK - fill contract with faucet"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
LINK.balanceOf(address(this))>=randomLinkFee,"Not enough LINK - fill contract with faucet"
364,922
LINK.balanceOf(address(this))>=randomLinkFee
"Flippening otter should only be assigned once"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
!flipped,"Flippening otter should only be assigned once"
364,922
!flipped
"Flippening event must have already happened"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* /$$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ | $$_____/| $$|__/ |__/ /$$__ $$ | $$ | $$ ...
isFlipped(),"Flippening event must have already happened"
364,922
isFlipped()
"Non-mintable project"
// contracts/BaseballWords.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // import "./util/console.sol"; import "./util/base64.sol"; import "./structs.sol"; import "./Words.so...
_mappings.projects[projectId].mintable==true,"Non-mintable project"
365,035
_mappings.projects[projectId].mintable==true
"Max supply minted"
// contracts/BaseballWords.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // import "./util/console.sol"; import "./util/base64.sol"; import "./structs.sol"; import "./Words.so...
_mappings.projects[projectId].minted<_mappings.projects[projectId].maxSupply,"Max supply minted"
365,035
_mappings.projects[projectId].minted<_mappings.projects[projectId].maxSupply
"Not enough balls"
// contracts/BaseballWords.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // import "./util/console.sol"; import "./util/base64.sol"; import "./structs.sol"; import "./Words.so...
_contracts.baseballs.balanceOf(_msgSender())>=burnFee,"Not enough balls"
365,035
_contracts.baseballs.balanceOf(_msgSender())>=burnFee
"Name is empty"
// contracts/BaseballWords.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // import "./util/console.sol"; import "./util/base64.sol"; import "./structs.sol"; import "./Words.so...
bytes(text[0]).length>0,"Name is empty"
365,035
bytes(text[0]).length>0
"Description is empty"
// contracts/BaseballWords.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // import "./util/console.sol"; import "./util/base64.sol"; import "./structs.sol"; import "./Words.so...
bytes(text[1]).length>0,"Description is empty"
365,035
bytes(text[1]).length>0
"Max supply is zero"
// contracts/BaseballWords.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // import "./util/console.sol"; import "./util/base64.sol"; import "./structs.sol"; import "./Words.so...
mintInfo[0]>0,"Max supply is zero"
365,035
mintInfo[0]>0
"IPFS is empty"
// contracts/BaseballWords.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // import "./util/console.sol"; import "./util/base64.sol"; import "./structs.sol"; import "./Words.so...
bytes(text[2]).length>0,"IPFS is empty"
365,035
bytes(text[2]).length>0
"Invalid burnFee"
// contracts/BaseballWords.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // import "./util/console.sol"; import "./util/base64.sol"; import "./structs.sol"; import "./Words.so...
mintInfo[1]>0,"Invalid burnFee"
365,035
mintInfo[1]>0
"Burn fee too high"
// contracts/BaseballWords.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // import "./util/console.sol"; import "./util/base64.sol"; import "./structs.sol"; import "./Words.so...
totalBurnFee+_burnFeeSum<249173ether,"Burn fee too high"
365,035
totalBurnFee+_burnFeeSum<249173ether
"Invalid project"
// contracts/BaseballWords.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // import "./util/console.sol"; import "./util/base64.sol"; import "./structs.sol"; import "./Words.so...
_mappings.projects[projectId].id==projectId,"Invalid project"
365,035
_mappings.projects[projectId].id==projectId
"Invalid attribute category"
// contracts/BaseballWords.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // import "./util/console.sol"; import "./util/base64.sol"; import "./structs.sol"; import "./Words.so...
bytes(_contracts.words.word(categoryId)).length>0,"Invalid attribute category"
365,035
bytes(_contracts.words.word(categoryId)).length>0
"Invalid attribute"
// contracts/BaseballWords.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // import "./util/console.sol"; import "./util/base64.sol"; import "./structs.sol"; import "./Words.so...
bytes(_contracts.words.word(attributeId)).length>0,"Invalid attribute"
365,035
bytes(_contracts.words.word(attributeId)).length>0
"Purchase would exceed max supply of monster"
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be c...
(totalSupply()+1)<=MAX_monster,"Purchase would exceed max supply of monster"
365,157
(totalSupply()+1)<=MAX_monster
"This contract is not approved to spend your token"
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be c...
saletoken.allowance(msg.sender,address(this))>=monsterPrice,"This contract is not approved to spend your token"
365,157
saletoken.allowance(msg.sender,address(this))>=monsterPrice
"Presale must be active to mint monster"
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be c...
claim(leaf,proof),"Presale must be active to mint monster"
365,157
claim(leaf,proof)
"only owners approved"
pragma solidity ^0.8.10; import "OwnableUpgradeable.sol"; import "PausableUpgradeable.sol"; import "ReentrancyGuardUpgradeable.sol"; import "IERC721ReceiverUpgradeable.sol"; import "ECDSAUpgradeable.sol"; import "EnumerableSetUpgradeable.sol"; import "Strings.sol"; import "IChubbyKaijuDAOStakingV1.sol"; import "IChubby...
(account==msg.sender),"only owners approved"
365,272
(account==msg.sender)
"only owners approved"
pragma solidity ^0.8.10; import "OwnableUpgradeable.sol"; import "PausableUpgradeable.sol"; import "ReentrancyGuardUpgradeable.sol"; import "IERC721ReceiverUpgradeable.sol"; import "ECDSAUpgradeable.sol"; import "EnumerableSetUpgradeable.sol"; import "Strings.sol"; import "IChubbyKaijuDAOStakingV1.sol"; import "IChubby...
chubbykaijuGen1.ownerOf(tokenIds[i])==msg.sender,"only owners approved"
365,272
chubbykaijuGen1.ownerOf(tokenIds[i])==msg.sender
"need 1 day to unstake"
pragma solidity ^0.8.10; import "OwnableUpgradeable.sol"; import "PausableUpgradeable.sol"; import "ReentrancyGuardUpgradeable.sol"; import "IERC721ReceiverUpgradeable.sol"; import "ECDSAUpgradeable.sol"; import "EnumerableSetUpgradeable.sol"; import "Strings.sol"; import "IChubbyKaijuDAOStakingV1.sol"; import "IChubby...
!(unstake&&block.timestamp-stake.time<MINIMUM_TO_EXIT),"need 1 day to unstake"
365,272
!(unstake&&block.timestamp-stake.time<MINIMUM_TO_EXIT)
"Cannot withdraw before unlocking period pass if competition still active"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "hardhat/console.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@ope...
depositUnlockTimestamp[msg.sender]<=block.timestamp||competitionEnded,"Cannot withdraw before unlocking period pass if competition still active"
365,285
depositUnlockTimestamp[msg.sender]<=block.timestamp||competitionEnded
"Cannot deposit on inactive competition"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "hardhat/console.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@ope...
!competitionEnded,"Cannot deposit on inactive competition"
365,285
!competitionEnded
"Purchase would exceed max supply of Bananas"
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be c...
totalSupply().add(numberOfTokens)<=MAX_BANANAS,"Purchase would exceed max supply of Bananas"
365,313
totalSupply().add(numberOfTokens)<=MAX_BANANAS
"New name is same as the current one"
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be c...
sha256(bytes(_name))!=sha256(bytes(bananaNames[_tokenId])),"New name is same as the current one"
365,313
sha256(bytes(_name))!=sha256(bytes(bananaNames[_tokenId]))
"Invalid token."
pragma solidity 0.7.6; pragma abicoder v2; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } /** * @dev Integer division of two numbers, truncating the quotient. */ func...
idToOwner[_tokenId]!=address(0),"Invalid token."
365,365
idToOwner[_tokenId]!=address(0)
"must be unlocked"
pragma solidity 0.7.6; pragma abicoder v2; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } /** * @dev Integer division of two numbers, truncating the quotient. */ func...
lockedBy[_canvasId]==address(0),"must be unlocked"
365,365
lockedBy[_canvasId]==address(0)
"must be owner"
pragma solidity 0.7.6; pragma abicoder v2; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } /** * @dev Integer division of two numbers, truncating the quotient. */ func...
idToOwner[_canvasId]==msg.sender,"must be owner"
365,365
idToOwner[_canvasId]==msg.sender
"must be locked"
pragma solidity 0.7.6; pragma abicoder v2; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } /** * @dev Integer division of two numbers, truncating the quotient. */ func...
lockedBy[_canvasId]!=address(0),"must be locked"
365,365
lockedBy[_canvasId]!=address(0)
"must be transferred"
pragma solidity 0.7.6; pragma abicoder v2; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } /** * @dev Integer division of two numbers, truncating the quotient. */ func...
lockedBy[_canvasId]!=idToOwner[_canvasId],"must be transferred"
365,365
lockedBy[_canvasId]!=idToOwner[_canvasId]
"chroma not in canvas"
pragma solidity 0.7.6; pragma abicoder v2; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } /** * @dev Integer division of two numbers, truncating the quotient. */ func...
chromaToCanvas[_chromaId]==_canvasId||_chromaId==baseChroma[_canvasId],"chroma not in canvas"
365,365
chromaToCanvas[_chromaId]==_canvasId||_chromaId==baseChroma[_canvasId]