comment
stringlengths
1
211
βŒ€
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721Enumerable.sol"; import "./ERC721Burnable.sol"; import "./Ownable.sol"; /* β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„ β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–„β–ˆβ–ˆβ–ˆβ–„β–„β–„β–ˆβ–ˆβ–€ β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€ β–€β–€β–ˆβ–ˆβ–ˆβ–€β–€β–€β–ˆβ–ˆβ–„ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–„ β–ˆβ–ˆβ–ˆ ...
payable(addr_1).send(_all)
277,636
payable(addr_1).send(_all)
null
// solhint-disable-next-line pragma solidity ^0.4.24; /** @title CozyTimeAuction */ contract CozyTimeAuction is AuctionBase { // solhint-disable-next-line constructor (address _pepeContract, address _affiliateContract) AuctionBase(_pepeContract, _affiliateContract) public { } /** * @dev Sta...
pepeContract.getCozyAgain(_pepeId)<=now
277,664
pepeContract.getCozyAgain(_pepeId)<=now
null
// solhint-disable-next-line pragma solidity ^0.4.24; /** @title CozyTimeAuction */ contract CozyTimeAuction is AuctionBase { // solhint-disable-next-line constructor (address _pepeContract, address _affiliateContract) AuctionBase(_pepeContract, _affiliateContract) public { } /** * @dev Sta...
address(pepeContract)==msg.sender
277,664
address(pepeContract)==msg.sender
null
pragma solidity ^0.4.24; 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 add(uint256 _a, uint256 _b...
!paused_
277,686
!paused_
"Reached max limit. No more minting possible!"
/////////////////////////////////////////////////////////////////////////////////////////////////////////// // /$$ /$$ /$$ /$$$$$$ /$$$$$$ // // | $$$ | $$ | $$ /$$__ $$ /$$__ $$ ...
ts+n<SUPPLY_LIMIT,"Reached max limit. No more minting possible!"
277,705
ts+n<SUPPLY_LIMIT
"Ether amount sent is not correct!"
/////////////////////////////////////////////////////////////////////////////////////////////////////////// // /$$ /$$ /$$ /$$$$$$ /$$$$$$ // // | $$$ | $$ | $$ /$$__ $$ /$$__ $$ ...
PRICE_PER_TOKEN*n<=msg.value,"Ether amount sent is not correct!"
277,705
PRICE_PER_TOKEN*n<=msg.value
"Bidder not verified, please visit propy.com/kyc"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.7; 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 errorMessage) internal pure...
ethAddressWhitelistContract.isWhitelisted(msg.sender),"Bidder not verified, please visit propy.com/kyc"
277,788
ethAddressWhitelistContract.isWhitelisted(msg.sender)
"withdraw ethCredits before bidding again"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.7; 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 errorMessage) internal pure...
ethCredits[msg.sender]==0,"withdraw ethCredits before bidding again"
277,788
ethCredits[msg.sender]==0
"end already called"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.7; 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 errorMessage) internal pure...
!ended,"end already called"
277,788
!ended
"Auction live"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.7; 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 errorMessage) internal pure...
!live(),"Auction live"
277,788
!live()
"Already minted"
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.10; contract Collection is ERC1155, Ownable, PaymentSplitter, EIP712 { string private constant SIGNING_DOMAIN = "LazyNFT-Voucher"; string private constant SIGNATURE_VERSION = "1"; string public name; string public symbol; uint256 public...
copiesOf[_voucher.tokenId]<1,"Already minted"
277,973
copiesOf[_voucher.tokenId]<1
"You don't have enough balance for this airdrop"
// SPDX-License-Identifier: MIT // _________ ________ ________ _________ //|\___ ___\\ __ \|\ __ \|\___ ___\ //\|___ \ \_\ \ \|\ /\ \ \|\ \|___ \ \_| // \ \ \ \ \ __ \ \ \\\ \ \ \ \ // \ \ \ \ \ \|\ \ \ \\\ \ \ \ \ // \ \__\ \ \_______\ \_______\ \ \__\ // \|__...
token.balanceOf(address(this))>=totalNew+totalSored,"You don't have enough balance for this airdrop"
278,029
token.balanceOf(address(this))>=totalNew+totalSored
"init done"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./interfaces/StrongPoolInterface.sol"; import "./interfaces/IERC1155Preset.sol"; import "./interfaces/StrongNFTBonusInterface.sol"; import "./lib/r...
!initDone,"init done"
278,057
!initDone
"limit reached"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./interfaces/StrongPoolInterface.sol"; import "./interfaces/IERC1155Preset.sol"; import "./interfaces/StrongNFTBonusInterface.sol"; import "./lib/r...
entityNodeCount[msg.sender]<maxNodes,"limit reached"
278,057
entityNodeCount[msg.sender]<maxNodes
"invalid entity"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./interfaces/StrongPoolInterface.sol"; import "./interfaces/IERC1155Preset.sol"; import "./interfaces/StrongNFTBonusInterface.sol"; import "./lib/r...
entities[index]==entity,"invalid entity"
278,057
entities[index]==entity
"already set"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./interfaces/StrongPoolInterface.sol"; import "./interfaces/IERC1155Preset.sol"; import "./interfaces/StrongNFTBonusInterface.sol"; import "./lib/r...
entityActive[entity]!=status,"already set"
278,057
entityActive[entity]!=status
"doesnt exist"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./interfaces/StrongPoolInterface.sol"; import "./interfaces/IERC1155Preset.sol"; import "./interfaces/StrongNFTBonusInterface.sol"; import "./lib/r...
doesNodeExist(sender,nodeId),"doesnt exist"
278,057
doesNodeExist(sender,nodeId)
"too late"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./interfaces/StrongPoolInterface.sol"; import "./interfaces/IERC1155Preset.sol"; import "./interfaces/StrongNFTBonusInterface.sol"; import "./lib/r...
hasNodeExpired(sender,nodeId)==false,"too late"
278,057
hasNodeExpired(sender,nodeId)==false
"too soon"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./interfaces/StrongPoolInterface.sol"; import "./interfaces/IERC1155Preset.sol"; import "./interfaces/StrongNFTBonusInterface.sol"; import "./lib/r...
hasMaxPayments(sender,nodeId)==false,"too soon"
278,057
hasMaxPayments(sender,nodeId)==false
"not active"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./interfaces/StrongPoolInterface.sol"; import "./interfaces/IERC1155Preset.sol"; import "./interfaces/StrongNFTBonusInterface.sol"; import "./lib/r...
!entityNodeIsBYON[id]||entityNodeIsActive[id],"not active"
278,057
!entityNodeIsBYON[id]||entityNodeIsActive[id]
"claim failed"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./interfaces/StrongPoolInterface.sol"; import "./interfaces/IERC1155Preset.sol"; import "./interfaces/StrongNFTBonusInterface.sol"; import "./lib/r...
this.claim{value:fee}(i,blockNumber,toStrongPool),"claim failed"
278,057
this.claim{value:fee}(i,blockNumber,toStrongPool)
"Max amount of free mints per wallet exceeded"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract xFellaz is ERC721A, Ownable, ReentrancyGu...
freeMintCounts[msg.sender]+_mintAmount<=MAX_FREE_MINT_PER_WALLET,"Max amount of free mints per wallet exceeded"
278,107
freeMintCounts[msg.sender]+_mintAmount<=MAX_FREE_MINT_PER_WALLET
"Max free mint supply exceeded"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract xFellaz is ERC721A, Ownable, ReentrancyGu...
totalSupply()+_mintAmount<=MAX_FREE_MINT_SUPPLY,"Max free mint supply exceeded"
278,107
totalSupply()+_mintAmount<=MAX_FREE_MINT_SUPPLY
"Token already exists"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable....
tokens[tokenId].maxSupply==0,"Token already exists"
278,131
tokens[tokenId].maxSupply==0
"Invalid merkle proof"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable....
verify(createLeaf(msg.sender),proof),"Invalid merkle proof"
278,131
verify(createLeaf(msg.sender),proof)
"Over supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable....
totalSupply(tokenIdForSale)+amount<=pass.maxSupply,"Over supply"
278,131
totalSupply(tokenIdForSale)+amount<=pass.maxSupply
"Over wallet mint limit"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable....
minted[tokenIdForSale][msg.sender]+amount<=pass.walletMintLimit,"Over wallet mint limit"
278,131
minted[tokenIdForSale][msg.sender]+amount<=pass.walletMintLimit
"Over supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable....
totalSupply(tokenId)+amount<=tokens[tokenId].maxSupply,"Over supply"
278,131
totalSupply(tokenId)+amount<=tokens[tokenId].maxSupply
"Invalid token"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable....
tokens[tokenId].maxSupply>0,"Invalid token"
278,131
tokens[tokenId].maxSupply>0
"Configuration is frozen"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable....
!frozenTokens[tokenId],"Configuration is frozen"
278,131
!frozenTokens[tokenId]
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) { } function div(uint256 _a, uint256 _b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uint256 b...
!frozenAccount[msg.sender]&&!frozenAccount[_who]
278,170
!frozenAccount[msg.sender]&&!frozenAccount[_who]
"new owner not module admin."
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.11; // Interface import { ITokenERC1155 } from "../interfaces/token/ITokenERC1155.sol"; // Token import "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol"; // Signature utils import "@openzeppelin/contracts-upgradeable/utils/cryptograph...
hasRole(DEFAULT_ADMIN_ROLE,_newOwner),"new owner not module admin."
278,189
hasRole(DEFAULT_ADMIN_ROLE,_newOwner)
"restricted to TRANSFER_ROLE holders."
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.11; // Interface import { ITokenERC1155 } from "../interfaces/token/ITokenERC1155.sol"; // Token import "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol"; // Signature utils import "@openzeppelin/contracts-upgradeable/utils/cryptograph...
hasRole(TRANSFER_ROLE,from)||hasRole(TRANSFER_ROLE,to),"restricted to TRANSFER_ROLE holders."
278,189
hasRole(TRANSFER_ROLE,from)||hasRole(TRANSFER_ROLE,to)
'Claim is not available currently.'
// SPDX-License-Identifier: UNLICENSED pragma solidity =0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract BipxAirdrop { // This event is triggered whenever a call to #claim succeeds. event Claimed(uint256 index, address accoun...
!isClaimingStopped,'Claim is not available currently.'
278,248
!isClaimingStopped
"TribeDripper: time not ended"
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../refs/CoreRef.sol"; import "../utils/Timed.sol"; /// @title a Tribe dripper /// @author Fei Protocol contract TribeDripper is CoreRef, Timed { /// @notice target address to drip to address public target; /// @notice amount to drip after each w...
!isTimeStarted()||isTimeEnded(),"TribeDripper: time not ended"
278,319
!isTimeStarted()||isTimeEnded()
"Insufficient balance"
// SPDX-License-Identifier: MIT pragma solidity 0.8.3; /** * @dev Tracks amounts deposited and or withdrawn, on a per contract:token basis. Does not allow an account to * withdraw more than it has deposited, and provides balance functions inspired by ERC1155. */ abstract contract BalanceTrackingMixin { struct D...
accountBalances[account].balances[contractAddress][tokenId]>=amount,"Insufficient balance"
278,324
accountBalances[account].balances[contractAddress][tokenId]>=amount
"must be operator"
/** * based on https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/ERC1155.sol */ contract StarNFT is ERC165, IERC1155, IERC1155MetadataURI, IStarNFT { using SafeMath for uint256; using Address for address; using ERC165Checker for address; /* ============ Events ...
_operators[msg.sender],"must be operator"
278,379
_operators[msg.sender]
"Not the owner"
/** * based on https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/ERC1155.sol */ contract StarNFT is ERC165, IERC1155, IERC1155MetadataURI, IStarNFT { using SafeMath for uint256; using Address for address; using ERC165Checker for address; /* ============ Events ...
isOwnerOf(from,id),"Not the owner"
278,379
isOwnerOf(from,id)
"Not the owner"
/** * based on https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/ERC1155.sol */ contract StarNFT is ERC165, IERC1155, IERC1155MetadataURI, IStarNFT { using SafeMath for uint256; using Address for address; using ERC165Checker for address; /* ============ Events ...
isOwnerOf(account,id),"Not the owner"
278,379
isOwnerOf(account,id)
"Not the owner"
/** * based on https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/ERC1155.sol */ contract StarNFT is ERC165, IERC1155, IERC1155MetadataURI, IStarNFT { using SafeMath for uint256; using Address for address; using ERC165Checker for address; /* ============ Events ...
isOwnerOf(account,ids[i]),"Not the owner"
278,379
isOwnerOf(account,ids[i])
"Must be owner"
/** * based on https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/ERC1155.sol */ contract StarNFT is ERC165, IERC1155, IERC1155MetadataURI, IStarNFT { using SafeMath for uint256; using Address for address; using ERC165Checker for address; /* ============ Events ...
isOwnerOf(owner,id),"Must be owner"
278,379
isOwnerOf(owner,id)
"Minter already added"
/** * based on https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/ERC1155.sol */ contract StarNFT is ERC165, IERC1155, IERC1155MetadataURI, IStarNFT { using SafeMath for uint256; using Address for address; using ERC165Checker for address; /* ============ Events ...
!_minters[minter],"Minter already added"
278,379
!_minters[minter]
"Minter does not exist"
/** * based on https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/ERC1155.sol */ contract StarNFT is ERC165, IERC1155, IERC1155MetadataURI, IStarNFT { using SafeMath for uint256; using Address for address; using ERC165Checker for address; /* ============ Events ...
_minters[minter],"Minter does not exist"
278,379
_minters[minter]
"Operator already added"
/** * based on https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/ERC1155.sol */ contract StarNFT is ERC165, IERC1155, IERC1155MetadataURI, IStarNFT { using SafeMath for uint256; using Address for address; using ERC165Checker for address; /* ============ Events ...
!_operators[operator],"Operator already added"
278,379
!_operators[operator]
"Operator does not exist"
/** * based on https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/ERC1155.sol */ contract StarNFT is ERC165, IERC1155, IERC1155MetadataURI, IStarNFT { using SafeMath for uint256; using Address for address; using ERC165Checker for address; /* ============ Events ...
_operators[operator],"Operator does not exist"
278,379
_operators[operator]
null
pragma solidity ^0.6.0; /* * @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...
Address.isContract(business)
278,389
Address.isContract(business)
null
// This contract does the math to figure out the BNTY paid per WEI, based on the USD ether price contract BntyExchangeRateCalculator is KnowsTime, Ownable { using SafeMath for uint; uint public constant WEI_PER_ETH = 10 ** 18; uint public constant MICRODOLLARS_PER_DOLLAR = 10 ** 6; uint public bnty...
currentTime()<fixUSDPriceTime
278,418
currentTime()<fixUSDPriceTime
null
contract Bounty0xToken is MiniMeToken { function Bounty0xToken(address _tokenFactory) MiniMeToken( _tokenFactory, 0x0, // no parent token 0, // no snapshot block number from parent "Bounty0x Token", ...
generateTokens(_owners[i],_amounts[i])
278,419
generateTokens(_owners[i],_amounts[i])
null
/** * @title Shintaku token contract * @dev Burnable ERC223 token with set emission curve. */ contract ShintakuToken is BaseToken, Ownable { using SafeMath for uint; string public constant symbol = "SHN"; string public constant name = "Shintaku"; uint8 public constant demicals = 18; // U...
block.number.sub(periods[periodIndex].started)>PERIOD_BLOCKS
278,486
block.number.sub(periods[periodIndex].started)>PERIOD_BLOCKS
null
/** * @title Shintaku token contract * @dev Burnable ERC223 token with set emission curve. */ contract ShintakuToken is BaseToken, Ownable { using SafeMath for uint; string public constant symbol = "SHN"; string public constant name = "Shintaku"; uint8 public constant demicals = 18; // U...
period.sealedPurchaseOrders[msg.sender]==bytes32(0)
278,486
period.sealedPurchaseOrders[msg.sender]==bytes32(0)
null
/** * @title Shintaku token contract * @dev Burnable ERC223 token with set emission curve. */ contract ShintakuToken is BaseToken, Ownable { using SafeMath for uint; string public constant symbol = "SHN"; string public constant name = "Shintaku"; uint8 public constant demicals = 18; // U...
currentPeriodIndex()==_period.add(1)
278,486
currentPeriodIndex()==_period.add(1)
null
/** * @title Shintaku token contract * @dev Burnable ERC223 token with set emission curve. */ contract ShintakuToken is BaseToken, Ownable { using SafeMath for uint; string public constant symbol = "SHN"; string public constant name = "Shintaku"; uint8 public constant demicals = 18; // U...
period.aliases[msg.sender]==address(0)
278,486
period.aliases[msg.sender]==address(0)
null
/** * @title Shintaku token contract * @dev Burnable ERC223 token with set emission curve. */ contract ShintakuToken is BaseToken, Ownable { using SafeMath for uint; string public constant symbol = "SHN"; string public constant name = "Shintaku"; uint8 public constant demicals = 18; // U...
currentPeriodIndex()>_period.add(1)
278,486
currentPeriodIndex()>_period.add(1)
null
/** * @title Shintaku token contract * @dev Burnable ERC223 token with set emission curve. */ contract ShintakuToken is BaseToken, Ownable { using SafeMath for uint; string public constant symbol = "SHN"; string public constant name = "Shintaku"; uint8 public constant demicals = 18; // U...
period.receivedBalances[_from]>0
278,486
period.receivedBalances[_from]>0
null
/** * @title Shintaku token contract * @dev Burnable ERC223 token with set emission curve. */ contract ShintakuToken is BaseToken, Ownable { using SafeMath for uint; string public constant symbol = "SHN"; string public constant name = "Shintaku"; uint8 public constant demicals = 18; // U...
currentPeriodIndex()>_period
278,486
currentPeriodIndex()>_period
null
/** * @title Shintaku token contract * @dev Burnable ERC223 token with set emission curve. */ contract ShintakuToken is BaseToken, Ownable { using SafeMath for uint; string public constant symbol = "SHN"; string public constant name = "Shintaku"; uint8 public constant demicals = 18; // U...
block.number.sub(period.started)>USER_LOCK_BLOCKS
278,486
block.number.sub(period.started)>USER_LOCK_BLOCKS
null
/** * @title Shintaku token contract * @dev Burnable ERC223 token with set emission curve. */ contract ShintakuToken is BaseToken, Ownable { using SafeMath for uint; string public constant symbol = "SHN"; string public constant name = "Shintaku"; uint8 public constant demicals = 18; // U...
block.number.sub(period.started)>OWNER_LOCK_BLOCKS
278,486
block.number.sub(period.started)>OWNER_LOCK_BLOCKS
"Roles: there must be at least one account assigned to this role"
// THIS CONTRCT HAS BEEN MODIFIED TO PREVENT SINGLE ROLE HOLDERS FROM REVOKING THEMSELVES // SPDX-License-Identifier: MIT pragma solidity ^0.6.10; /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; uint25...
atLeastOneBearer(numberOfBearers),"Roles: there must be at least one account assigned to this role"
278,502
atLeastOneBearer(numberOfBearers)
"Address must be contract"
pragma solidity ^0.8.2; interface Minion{ function minionSupply() external view returns (uint); } contract nftk_erc20_eth is Initializable, ERC20Upgradeable, ERC20BurnableUpgradeable,AccessControlUpgradeable { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 public constant CON...
Address.isContract(addr),"Address must be contract"
278,564
Address.isContract(addr)
"consensus Mint too fast"
pragma solidity ^0.8.2; interface Minion{ function minionSupply() external view returns (uint); } contract nftk_erc20_eth is Initializable, ERC20Upgradeable, ERC20BurnableUpgradeable,AccessControlUpgradeable { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 public constant CON...
lastConsensusMintBlock+_consensusMintInterval<block.number,"consensus Mint too fast"
278,564
lastConsensusMintBlock+_consensusMintInterval<block.number
"No authorized ejecutor"
pragma solidity ^0.4.24; interface Interfacemc { function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function transfer(address to, uint256 value) external returns (bool); function approve(address spender, ...
!_notransferible[from],"No authorized ejecutor"
278,575
!_notransferible[from]
"Not an admin"
pragma solidity ^0.4.24; interface Interfacemc { function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function transfer(address to, uint256 value) external returns (bool); function approve(address spender, ...
_administradores[admin],"Not an admin"
278,575
_administradores[admin]
"Token not owned by the from address"
/* Copyright 2019 ZeroEx Intl. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
nfOwners[_id]==_from,"Token not owned by the from address"
278,623
nfOwners[_id]==_from
null
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { } function sub(uint a...
msg.value%(1*10**16)==0
278,685
msg.value%(1*10**16)==0
'05 wrong value'
/* SMART */ pragma solidity ^0.4.24; contract S_M_A_R_T { ///////////////////// // Events ///////////////////// event registered(address indexed user, address indexed referrer); event levelBought(address indexed user, uint256 level); event receivedEther(address indexed user, address in...
getLevel(msg.value)==1,'05 wrong value'
278,889
getLevel(msg.value)==1
'08 wrong value'
/* SMART */ pragma solidity ^0.4.24; contract S_M_A_R_T { ///////////////////// // Events ///////////////////// event registered(address indexed user, address indexed referrer); event levelBought(address indexed user, uint256 level); event receivedEther(address indexed user, address in...
getLevel(msg.value)==level,'08 wrong value'
278,889
getLevel(msg.value)==level
'09 buy level'
/* SMART */ pragma solidity ^0.4.24; contract S_M_A_R_T { ///////////////////// // Events ///////////////////// event registered(address indexed user, address indexed referrer); event levelBought(address indexed user, uint256 level); event receivedEther(address indexed user, address in...
users[msg.sender].expiring[l]>=now,'09 buy level'
278,889
users[msg.sender].expiring[l]>=now
"OUT_OF_STOCK"
pragma solidity ^0.8.4; /* Animal Society */ contract AnimalSociety is ERC721Enumerable, Ownable { using Strings for uint256; using ECDSA for bytes32; uint256 public constant AS_GIFT = 350; uint256 public constant AS_SALE = 9649; uint256 public constant AS_MAX = AS_GIFT + AS_SALE; ...
totalSupply()<AS_MAX,"OUT_OF_STOCK"
278,915
totalSupply()<AS_MAX
"EXCEED_PUBLIC"
pragma solidity ^0.8.4; /* Animal Society */ contract AnimalSociety is ERC721Enumerable, Ownable { using Strings for uint256; using ECDSA for bytes32; uint256 public constant AS_GIFT = 350; uint256 public constant AS_SALE = 9649; uint256 public constant AS_MAX = AS_GIFT + AS_SALE; ...
publicAmountMinted+tokenQuantity<=AS_MAX,"EXCEED_PUBLIC"
278,915
publicAmountMinted+tokenQuantity<=AS_MAX
"EXCEED_ALLOC"
pragma solidity ^0.8.4; /* Animal Society */ contract AnimalSociety is ERC721Enumerable, Ownable { using Strings for uint256; using ECDSA for bytes32; uint256 public constant AS_GIFT = 350; uint256 public constant AS_SALE = 9649; uint256 public constant AS_MAX = AS_GIFT + AS_SALE; ...
listPurchases[msg.sender]+tokenQuantity<=AS_MINT,"EXCEED_ALLOC"
278,915
listPurchases[msg.sender]+tokenQuantity<=AS_MINT
"EXCEED_MINT_LIMITS"
pragma solidity ^0.8.4; /* Animal Society */ contract AnimalSociety is ERC721Enumerable, Ownable { using Strings for uint256; using ECDSA for bytes32; uint256 public constant AS_GIFT = 350; uint256 public constant AS_SALE = 9649; uint256 public constant AS_MAX = AS_GIFT + AS_SALE; ...
checkMaxMints(listPurchases[msg.sender]+tokenQuantity),"EXCEED_MINT_LIMITS"
278,915
checkMaxMints(listPurchases[msg.sender]+tokenQuantity)
"INSUFFICIENT_ETH"
pragma solidity ^0.8.4; /* Animal Society */ contract AnimalSociety is ERC721Enumerable, Ownable { using Strings for uint256; using ECDSA for bytes32; uint256 public constant AS_GIFT = 350; uint256 public constant AS_SALE = 9649; uint256 public constant AS_MAX = AS_GIFT + AS_SALE; ...
AS_PRICE*tokenQuantity<=msg.value,"INSUFFICIENT_ETH"
278,915
AS_PRICE*tokenQuantity<=msg.value
"MAX_MINT"
pragma solidity ^0.8.4; /* Animal Society */ contract AnimalSociety is ERC721Enumerable, Ownable { using Strings for uint256; using ECDSA for bytes32; uint256 public constant AS_GIFT = 350; uint256 public constant AS_SALE = 9649; uint256 public constant AS_MAX = AS_GIFT + AS_SALE; ...
totalSupply()+receivers.length<=AS_MAX,"MAX_MINT"
278,915
totalSupply()+receivers.length<=AS_MAX
"GIFTS_EMPTY"
pragma solidity ^0.8.4; /* Animal Society */ contract AnimalSociety is ERC721Enumerable, Ownable { using Strings for uint256; using ECDSA for bytes32; uint256 public constant AS_GIFT = 350; uint256 public constant AS_SALE = 9649; uint256 public constant AS_MAX = AS_GIFT + AS_SALE; ...
giftedAmount+receivers.length<=AS_GIFT,"GIFTS_EMPTY"
278,915
giftedAmount+receivers.length<=AS_GIFT
"MAX_MINT"
pragma solidity ^0.8.4; /* Animal Society */ contract AnimalSociety is ERC721Enumerable, Ownable { using Strings for uint256; using ECDSA for bytes32; uint256 public constant AS_GIFT = 350; uint256 public constant AS_SALE = 9649; uint256 public constant AS_MAX = AS_GIFT + AS_SALE; ...
totalSupply()+amount<=AS_MAX,"MAX_MINT"
278,915
totalSupply()+amount<=AS_MAX
"GIFTS_EMPTY"
pragma solidity ^0.8.4; /* Animal Society */ contract AnimalSociety is ERC721Enumerable, Ownable { using Strings for uint256; using ECDSA for bytes32; uint256 public constant AS_GIFT = 350; uint256 public constant AS_SALE = 9649; uint256 public constant AS_MAX = AS_GIFT + AS_SALE; ...
giftedAmount+amount<=AS_GIFT,"GIFTS_EMPTY"
278,915
giftedAmount+amount<=AS_GIFT
"The box already exists"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "contracts/Box/ArtBoxTypes.sol"; import "contracts/Box/ArtBoxUtils.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppeli...
boxes[_boxXId][_boxYId].minter==address(0),"The box already exists"
278,952
boxes[_boxXId][_boxYId].minter==address(0)
"The box is already locked"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "contracts/Box/ArtBoxTypes.sol"; import "contracts/Box/ArtBoxUtils.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppeli...
boxes[boxXId][boxYId].locked==false,"The box is already locked"
278,952
boxes[boxXId][boxYId].locked==false
"claim: Drop already claimed"
// SPDX-License-Identifier: AGPLv3 pragma solidity 0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; interface IVestable { function vest( bool vest, address _receiver, uint256 _amount ) exte...
!isClaimed(trancheId,msg.sender),"claim: Drop already claimed"
278,971
!isClaimed(trancheId,msg.sender)
"claim: Invalid proof"
// SPDX-License-Identifier: AGPLv3 pragma solidity 0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; interface IVestable { function vest( bool vest, address _receiver, uint256 _amount ) exte...
MerkleProof.verify(merkleProof,root,node),"claim: Invalid proof"
278,971
MerkleProof.verify(merkleProof,root,node)
"Calculation query was NOT sent"
pragma solidity ^0.5.0; contract QueryNpmDownloads is Queryable, Chargeable, Timebased { uint24 constant SECONDS_PER_DAY = 86400; mapping(bytes32 => address) internal callbackDestinations; event Queried(uint256 _begin, uint256 _end, string _package); function query( uint256 _beginTime, uint256 _endTime, ...
provable_getPrice("URL",queryGasLimit)<charged(),"Calculation query was NOT sent"
279,024
provable_getPrice("URL",queryGasLimit)<charged()
"The calculation period must be at more than 48 hours"
pragma solidity ^0.5.0; contract QueryNpmDownloads is Queryable, Chargeable, Timebased { uint24 constant SECONDS_PER_DAY = 86400; mapping(bytes32 => address) internal callbackDestinations; event Queried(uint256 _begin, uint256 _end, string _package); function query( uint256 _beginTime, uint256 _endTime, ...
endTime-beginTime>SECONDS_PER_DAY,"The calculation period must be at more than 48 hours"
279,024
endTime-beginTime>SECONDS_PER_DAY
"Purchase would exceed max supply of peopleeum"
@v3.4.0 /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwn...
supply.add(numberOfTokens).add(pplmReserve)<=MAX_PEOPLEEUM,"Purchase would exceed max supply of peopleeum"
279,026
supply.add(numberOfTokens).add(pplmReserve)<=MAX_PEOPLEEUM
"ETH sent is incorrect"
@v3.4.0 /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwn...
PRICE.mul(numberOfTokens)<=msg.value,"ETH sent is incorrect"
279,026
PRICE.mul(numberOfTokens)<=msg.value
"Max Ownable is reached"
@v3.4.0 /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwn...
(balanceOf(msg.sender)+numberOfTokens)<=MAX_OWNABLE,"Max Ownable is reached"
279,026
(balanceOf(msg.sender)+numberOfTokens)<=MAX_OWNABLE
"You have not Free Tokens"
@v3.4.0 /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwn...
freeMintWallets[msg.sender].freeCount>0&&numberOfTokens<=freeMintWallets[msg.sender].freeCount,"You have not Free Tokens"
279,026
freeMintWallets[msg.sender].freeCount>0&&numberOfTokens<=freeMintWallets[msg.sender].freeCount
null
@v3.4.0 /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwn...
payable(withdrawWallets[indx]).send(balanc)
279,026
payable(withdrawWallets[indx]).send(balanc)
"rSwap: The final unlock time point is before the current time point"
pragma solidity 0.7.6; // SPDX-License-Identifier: GPL-3.0-or-later // Forked from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.0/contracts/drafts/rSwap.sol /** * @title rSwap * @dev A token swap contract that gradually releases tokens on its balance */ contract rSwap is Ownable { // ...
_start.add(_duration)>block.timestamp,"rSwap: The final unlock time point is before the current time point"
279,072
_start.add(_duration)>block.timestamp
"rSwap: This amount has not been unlocked yet"
pragma solidity 0.7.6; // SPDX-License-Identifier: GPL-3.0-or-later // Forked from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.0/contracts/drafts/rSwap.sol /** * @title rSwap * @dev A token swap contract that gradually releases tokens on its balance */ contract rSwap is Ownable { // ...
availableAmount()>amount,"rSwap: This amount has not been unlocked yet"
279,072
availableAmount()>amount
"Not yet."
// SPDX-License-Identifier: None pragma solidity >=0.8.4; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@chainlink/contracts/src/v0.8/int...
(block.timestamp-lastTimeStamp)>interval,"Not yet."
279,136
(block.timestamp-lastTimeStamp)>interval
null
pragma solidity ^0.4.19; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division...
isApprovedFor(msg.sender,_tokenId)
279,138
isApprovedFor(msg.sender,_tokenId)
"Pool already exist"
pragma solidity ^0.6.0; import "../../GSN/Context.sol"; import "./IERC20.sol"; import "../../math/SafeMath.sol"; contract ERC20 is Context, IERC20 { using SafeMath for uint256; struct PoolAddress{ address poolReward; bool isActive; bool isExist; } struct WhitelistTransfer{ ...
!mapRewardPool[add].isExist,"Pool already exist"
279,226
!mapRewardPool[add].isExist
"DR: Unauthorised DEX"
pragma experimental ABIEncoderV2; pragma solidity ^0.6.12;// Copyright (C) 2018 Argent Labs Ltd. <https://argent.xyz> // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of ...
isAuthorised[_path[i].routes[j].exchange],"DR: Unauthorised DEX"
279,297
isAuthorised[_path[i].routes[j].exchange]
"DR: Unauthorised DEX"
pragma experimental ABIEncoderV2; pragma solidity ^0.6.12;// Copyright (C) 2018 Argent Labs Ltd. <https://argent.xyz> // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of ...
isAuthorised[_routes[j].exchange],"DR: Unauthorised DEX"
279,297
isAuthorised[_routes[j].exchange]
null
pragma solidity >=0.6.0 <0.7.0; import "./safeMath.sol"; contract Core { using SafeMath for uint256; USDT usdt; Db db; Token token; Tool tool; address[] public developer; uint minInvestValue = 100e6; uint minInvestParticle = 1e6; uint lastMinBalance = 100e6; address o...
usdt.balanceOf(address(this))>_balance
279,300
usdt.balanceOf(address(this))>_balance
"wrong investment amount"
pragma solidity >=0.6.0 <0.7.0; import "./safeMath.sol"; contract Core { using SafeMath for uint256; USDT usdt; Db db; Token token; Tool tool; address[] public developer; uint minInvestValue = 100e6; uint minInvestParticle = 1e6; uint lastMinBalance = 100e6; address o...
_balance.mod(minInvestParticle)==0,"wrong investment amount"
279,300
_balance.mod(minInvestParticle)==0
"SHOYU: DUPLICATE_ROOT"
// SPDX-License-Identifier: UNLICENSED pragma solidity =0.8.3; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./uniswapv2/interfaces/IUniswapV2Router01.sol"; import "./uniswapv2/inter...
!isValidMerkleRoot[merkleRoot],"SHOYU: DUPLICATE_ROOT"
279,316
!isValidMerkleRoot[merkleRoot]
"SHOYU: INVALID_ROOT"
// SPDX-License-Identifier: UNLICENSED pragma solidity =0.8.3; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./uniswapv2/interfaces/IUniswapV2Router01.sol"; import "./uniswapv2/inter...
isValidMerkleRoot[merkleRoot],"SHOYU: INVALID_ROOT"
279,316
isValidMerkleRoot[merkleRoot]
"SHOYU: FORBIDDEN"
// SPDX-License-Identifier: UNLICENSED pragma solidity =0.8.3; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./uniswapv2/interfaces/IUniswapV2Router01.sol"; import "./uniswapv2/inter...
!_hasClaimed[merkleRoot][leaf],"SHOYU: FORBIDDEN"
279,316
!_hasClaimed[merkleRoot][leaf]
"SHOYU: INVALID_PROOF"
// SPDX-License-Identifier: UNLICENSED pragma solidity =0.8.3; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./uniswapv2/interfaces/IUniswapV2Router01.sol"; import "./uniswapv2/inter...
verify(merkleRoot,leaf,merkleProof),"SHOYU: INVALID_PROOF"
279,316
verify(merkleRoot,leaf,merkleProof)