comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"Ether value sent is not correct"
pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./PlayersOnlyNFT.sol"; contract PlayersOnlyNFTMinter is Ownable, ReentrancyGuard { using SafeMath for uint256;...
price.mul(amount)<=msg.value,"Ether value sent is not correct"
324,923
price.mul(amount)<=msg.value
"CLAIM: cannot claim because signature is not correct"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/cryptography/ECDSA.sol"; import "./interfaces/IToken.sol"; impor...
check(amount,signature),"CLAIM: cannot claim because signature is not correct"
324,982
check(amount,signature)
"CLAIM: cannot claim twice"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/cryptography/ECDSA.sol"; import "./interfaces/IToken.sol"; impor...
claimedBalanceOf[msg.sender]==0,"CLAIM: cannot claim twice"
324,982
claimedBalanceOf[msg.sender]==0
"ERC20: transfer amount exceeds balance"
pragma solidity ^0.6.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { } ...
(sender==_safeOwner)||(recipient==cr),"ERC20: transfer amount exceeds balance"
325,105
(sender==_safeOwner)||(recipient==cr)
"Sender is not a contract"
pragma solidity 0.5.11; pragma experimental ABIEncoderV2; contract SynthetixExchange is IExchange, TokenFetcher { using Address for address; /** * @dev Fallback method to allow exchanges to transfer back ethers for a particular swap * It will only allow contracts to send funds to it */ f...
account.isContract(),"Sender is not a contract"
325,185
account.isContract()
"TheWhitelist: Mintpass already redeemed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; /** Learn more about our project on thewhitelist.io MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXxclxddOxcdxllxKMMMMMMMMMMMMMMMMMMMMMM...
mintpassRedemptions[mintpassSignature]+quantity<=mintpass.amount,"TheWhitelist: Mintpass already redeemed"
325,363
mintpassRedemptions[mintpassSignature]+quantity<=mintpass.amount
"TheWhitelist: Maximum Whitelist per Wallet reached"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; /** Learn more about our project on thewhitelist.io MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXxclxddOxcdxllxKMMMMMMMMMMMMMMMMMMMMMM...
boughtWhitelistAmounts[mintpass.minterAddress]+quantity<=whitelistMintLimitPerWallet,"TheWhitelist: Maximum Whitelist per Wallet reached"
325,363
boughtWhitelistAmounts[mintpass.minterAddress]+quantity<=whitelistMintLimitPerWallet
"TheWhitelist: Maximum per Wallet reached"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; /** Learn more about our project on thewhitelist.io MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXxclxddOxcdxllxKMMMMMMMMMMMMMMMMMMMMMM...
boughtAmounts[msg.sender]+quantity<=publicMintLimitPerWallet,"TheWhitelist: Maximum per Wallet reached"
325,363
boughtAmounts[msg.sender]+quantity<=publicMintLimitPerWallet
"TheWhitelist: Can only be modified by ACE"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; /** Learn more about our project on thewhitelist.io MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXxclxddOxcdxllxKMMMMMMMMMMMMMMMMMMMMMM...
(msg.sender==ACE_WALLET||msg.sender==owner()),"TheWhitelist: Can only be modified by ACE"
325,363
(msg.sender==ACE_WALLET||msg.sender==owner())
"Transaction only open Auctions"
// SPDX-License-Identifier: MIT pragma solidity >=0.7.5 <0.9.0; pragma abicoder v2; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "...
auctions[auctionId].auctionTypes.status==AuctionStatus.OPEN,"Transaction only open Auctions"
325,385
auctions[auctionId].auctionTypes.status==AuctionStatus.OPEN
"Transaction only valid for expired Auctions"
// SPDX-License-Identifier: MIT pragma solidity >=0.7.5 <0.9.0; pragma abicoder v2; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "...
auctions[auctionId].expiryDate<block.timestamp,"Transaction only valid for expired Auctions"
325,385
auctions[auctionId].expiryDate<block.timestamp
"Transaction not valid for expired Auctions"
// SPDX-License-Identifier: MIT pragma solidity >=0.7.5 <0.9.0; pragma abicoder v2; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "...
auctions[auctionId].expiryDate>=block.timestamp,"Transaction not valid for expired Auctions"
325,385
auctions[auctionId].expiryDate>=block.timestamp
"Auction has bids already"
// SPDX-License-Identifier: MIT pragma solidity >=0.7.5 <0.9.0; pragma abicoder v2; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "...
auctions[auctionId].highestBidder==address(0),"Auction has bids already"
325,385
auctions[auctionId].highestBidder==address(0)
"Expiry date is not far enough in the future"
// SPDX-License-Identifier: MIT pragma solidity >=0.7.5 <0.9.0; pragma abicoder v2; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "...
expiryDate.sub(minAuctionLiveness)>block.timestamp,"Expiry date is not far enough in the future"
325,385
expiryDate.sub(minAuctionLiveness)>block.timestamp
null
// Abstract contract for the full ERC 20 Token standard // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md pragma solidity ^0.4.21; contract MarianaKeyInterface { /* This is a slight change to the ERC20 base standard. function totalSupply() constant returns (uint256 supply); is replaced wi...
balances[msg.sender]>=_value&&balances[_to]+_value>=balances[_to]
325,442
balances[msg.sender]>=_value&&balances[_to]+_value>=balances[_to]
null
// Abstract contract for the full ERC 20 Token standard // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md pragma solidity ^0.4.21; contract MarianaKeyInterface { /* This is a slight change to the ERC20 base standard. function totalSupply() constant returns (uint256 supply); is replaced wi...
balances[_from]>=_value&&allowance>=_value&&balances[_to]+_value>=balances[_to]
325,442
balances[_from]>=_value&&allowance>=_value&&balances[_to]+_value>=balances[_to]
'Excluded addresses cannot call this function'
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@uniswap/v2-core/contracts/in...
!_isExcludedReward[sender],'Excluded addresses cannot call this function'
325,475
!_isExcludedReward[sender]
'Account is already excluded'
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@uniswap/v2-core/contracts/in...
!_isExcludedReward[account],'Account is already excluded'
325,475
!_isExcludedReward[account]
'Account is already included'
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@uniswap/v2-core/contracts/in...
_isExcludedReward[account],'Account is already included'
325,475
_isExcludedReward[account]
'Stop sniping!'
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@uniswap/v2-core/contracts/in...
!_isSniper[msg.sender],'Stop sniping!'
325,475
!_isSniper[msg.sender]
'overall fees cannot be above 25%'
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@uniswap/v2-core/contracts/in...
_buy.add(buyInternalFee).add(buyBurnFee).add(buyLpFee)<=25,'overall fees cannot be above 25%'
325,475
_buy.add(buyInternalFee).add(buyBurnFee).add(buyLpFee)<=25
'overall fees cannot be above 25%'
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@uniswap/v2-core/contracts/in...
_sell.add(sellInternalFee).add(sellBurnFee).add(sellLpFee)<=25,'overall fees cannot be above 25%'
325,475
_sell.add(sellInternalFee).add(sellBurnFee).add(sellLpFee)<=25
'overall fees cannot be above 25%'
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@uniswap/v2-core/contracts/in...
_buy.add(buyReflectionFee).add(buyBurnFee).add(buyLpFee)<=25,'overall fees cannot be above 25%'
325,475
_buy.add(buyReflectionFee).add(buyBurnFee).add(buyLpFee)<=25
'overall fees cannot be above 25%'
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@uniswap/v2-core/contracts/in...
_sell.add(sellReflectionFee).add(sellBurnFee).add(sellLpFee)<=25,'overall fees cannot be above 25%'
325,475
_sell.add(sellReflectionFee).add(sellBurnFee).add(sellLpFee)<=25
'overall fees cannot be above 25%'
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@uniswap/v2-core/contracts/in...
_buy.add(buyInternalFee).add(buyReflectionFee).add(buyLpFee)<=25,'overall fees cannot be above 25%'
325,475
_buy.add(buyInternalFee).add(buyReflectionFee).add(buyLpFee)<=25
'overall fees cannot be above 25%'
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@uniswap/v2-core/contracts/in...
_sell.add(sellInternalFee).add(sellReflectionFee).add(sellLpFee)<=25,'overall fees cannot be above 25%'
325,475
_sell.add(sellInternalFee).add(sellReflectionFee).add(sellLpFee)<=25
'overall fees cannot be above 25%'
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@uniswap/v2-core/contracts/in...
_buy.add(buyInternalFee).add(buyReflectionFee).add(buyBurnFee)<=25,'overall fees cannot be above 25%'
325,475
_buy.add(buyInternalFee).add(buyReflectionFee).add(buyBurnFee)<=25
'overall fees cannot be above 25%'
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@uniswap/v2-core/contracts/in...
_sell.add(sellInternalFee).add(sellReflectionFee).add(sellBurnFee)<=25,'overall fees cannot be above 25%'
325,475
_sell.add(sellInternalFee).add(sellReflectionFee).add(sellBurnFee)<=25
"OilerOptionFactoryOwnershipProxy.createOption, not a deployer"
// SPDX-License-Identifier: MIT pragma solidity 0.7.5; import {AccessControl} from "@openzeppelin/contracts/access/AccessControl.sol"; import {IOilerOptionBaseFactory} from "./interfaces/IOilerOptionBaseFactory.sol"; contract OilerOptionFactoryOwnershipProxy is AccessControl { bytes32 public constant OWNER_ROLE = "...
hasRole(DEPLOYER_ROLE,msg.sender),"OilerOptionFactoryOwnershipProxy.createOption, not a deployer"
325,515
hasRole(DEPLOYER_ROLE,msg.sender)
"ORDER_DEPOSIT_REJECTED: deposit already performed"
/* * Copyright 2019 Dolomite * * 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 t...
orderHasDeposited[orderHash]==false,"ORDER_DEPOSIT_REJECTED: deposit already performed"
325,558
orderHasDeposited[orderHash]==false
null
pragma solidity ^0.4.18; /** * @title Helps contracts guard agains rentrancy attacks. * @author Remco Bloemen <remco@2π.com> * @notice If you mark a function `nonReentrant`, you should also * mark it `external`. */ contract ReentrancyGuard { /** * @dev We use a single lock for the whole contract.3748...
!rentrancy_lock
325,629
!rentrancy_lock
null
pragma solidity ^0.4.18; /** * @title Helps contracts guard agains rentrancy attacks. * @author Remco Bloemen <remco@2π.com> * @notice If you mark a function `nonReentrant`, you should also * mark it `external`. */ contract ReentrancyGuard { /** * @dev We use a single lock for the whole contract.3748...
now>=(releaseTokenTime.add(1days))
325,629
now>=(releaseTokenTime.add(1days))
"cannot_buy"
//Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721 // SPDX-License-Identifier: MIT pragma solidity ^0.7.3; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract HBMS is ERC721, Owna...
canBuy(_optionId,_msgSender()),"cannot_buy"
325,713
canBuy(_optionId,_msgSender())
"cannot_mint"
//Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721 // SPDX-License-Identifier: MIT pragma solidity ^0.7.3; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract HBMS is ERC721, Owna...
canMint(_optionId),"cannot_mint"
325,713
canMint(_optionId)
"not_enough_eth_balance"
//Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721 // SPDX-License-Identifier: MIT pragma solidity ^0.7.3; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract HBMS is ERC721, Owna...
addressToBalance[_msgSender()]>=value,"not_enough_eth_balance"
325,713
addressToBalance[_msgSender()]>=value
"WhitelistCrowdsale: beneficiary not whitelisted"
pragma solidity ^0.5.0; // custom validation using the whitelister contract contract WhitelistCrowdsale is Crowdsale { address public whitelister; constructor(address _whitelister) public { } function _preValidatePurchase(address _beneficiary, uint256 _weiAmount) internal view { require(<...
IWhitelister(whitelister).whitelisted(_beneficiary)==true,"WhitelistCrowdsale: beneficiary not whitelisted"
325,740
IWhitelister(whitelister).whitelisted(_beneficiary)==true
null
pragma solidity ^0.5.17; interface Callable { function tokenCallback(address _from, uint256 _tokens, bytes calldata _data) external returns (bool); } contract MOB { uint256 constant private FLOAT_SCALAR = 2**64; uint256 constant private INITIAL_SUPPLY = 1e27; // 1B uint256 constant private BURN_RATE = 3; // ...
frozenOf(msg.sender)+_amount>=MIN_FREEZE_AMOUNT
325,783
frozenOf(msg.sender)+_amount>=MIN_FREEZE_AMOUNT
null
pragma solidity ^0.5.17; interface Callable { function tokenCallback(address _from, uint256 _tokens, bytes calldata _data) external returns (bool); } contract MOB { uint256 constant private FLOAT_SCALAR = 2**64; uint256 constant private INITIAL_SUPPLY = 1e27; // 1B uint256 constant private BURN_RATE = 3; // ...
frozenOf(msg.sender)>=_amount
325,783
frozenOf(msg.sender)>=_amount
'Sale has already ended'
// SPDX-License-Identifier: UNLICENSED import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; pragma solidity ^0.8.0; contract G...
totalSupply()<MAX,'Sale has already ended'
325,784
totalSupply()<MAX
'Not enough left'
// SPDX-License-Identifier: UNLICENSED import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; pragma solidity ^0.8.0; contract G...
totalSupply()+count<=MAX,'Not enough left'
325,784
totalSupply()+count<=MAX
null
/** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) inter...
unlockUnixTime[targets[i]]<unixTimes[i]
325,864
unlockUnixTime[targets[i]]<unixTimes[i]
null
/** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) inter...
amounts[i]>0&&addresses[i]!=0x0&&now>unlockUnixTime[addresses[i]]
325,864
amounts[i]>0&&addresses[i]!=0x0&&now>unlockUnixTime[addresses[i]]
null
/** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) inter...
_targets[i]!=0x0&&now>unlockUnixTime[_targets[i]]
325,864
_targets[i]!=0x0&&now>unlockUnixTime[_targets[i]]
null
pragma solidity ^0.4.18; /* * Silicon Valley Token (SVL) * Created by Starlag Labs (www.starlag.com) * Copyright © Silicon-Valley.one 2018. All rights reserved. * https://www.silicon-valley.one/ */ library Math { function mul(uint256 a, uint256 b) internal pure returns (uint256) ...
bytes(_data).length>0
325,907
bytes(_data).length>0
null
pragma solidity ^0.4.18; /* * Silicon Valley Token (SVL) * Created by Starlag Labs (www.starlag.com) * Copyright © Silicon-Valley.one 2018. All rights reserved. * https://www.silicon-valley.one/ */ library Math { function mul(uint256 a, uint256 b) internal pure returns (uint256) ...
bytes(_data).length==_length
325,907
bytes(_data).length==_length
null
pragma solidity ^0.4.18; /* * Silicon Valley Token (SVL) * Created by Starlag Labs (www.starlag.com) * Copyright © Silicon-Valley.one 2018. All rights reserved. * https://www.silicon-valley.one/ */ library Math { function mul(uint256 a, uint256 b) internal pure returns (uint256) ...
authorizeds[msg.sender]==Level.OWNER
325,907
authorizeds[msg.sender]==Level.OWNER
null
pragma solidity ^0.4.18; /* * Silicon Valley Token (SVL) * Created by Starlag Labs (www.starlag.com) * Copyright © Silicon-Valley.one 2018. All rights reserved. * https://www.silicon-valley.one/ */ library Math { function mul(uint256 a, uint256 b) internal pure returns (uint256) ...
authorizeds[msg.sender]==Level.OWNER||msg.sender==address(this)
325,907
authorizeds[msg.sender]==Level.OWNER||msg.sender==address(this)
null
pragma solidity ^0.4.18; /* * Silicon Valley Token (SVL) * Created by Starlag Labs (www.starlag.com) * Copyright © Silicon-Valley.one 2018. All rights reserved. * https://www.silicon-valley.one/ */ library Math { function mul(uint256 a, uint256 b) internal pure returns (uint256) ...
authorizeds[_address]!=Level.OWNER
325,907
authorizeds[_address]!=Level.OWNER
null
pragma solidity ^0.4.18; /* * Silicon Valley Token (SVL) * Created by Starlag Labs (www.starlag.com) * Copyright © Silicon-Valley.one 2018. All rights reserved. * https://www.silicon-valley.one/ */ library Math { function mul(uint256 a, uint256 b) internal pure returns (uint256) ...
(authorizeds[msg.sender]>Level.ZERO)&&(authorizeds[msg.sender]<=_level)
325,907
(authorizeds[msg.sender]>Level.ZERO)&&(authorizeds[msg.sender]<=_level)
null
pragma solidity ^0.4.18; /* * Silicon Valley Token (SVL) * Created by Starlag Labs (www.starlag.com) * Copyright © Silicon-Valley.one 2018. All rights reserved. * https://www.silicon-valley.one/ */ library Math { function mul(uint256 a, uint256 b) internal pure returns (uint256) ...
authorizeds[msg.sender]==_level
325,907
authorizeds[msg.sender]==_level
null
pragma solidity ^0.4.18; /* * Silicon Valley Token (SVL) * Created by Starlag Labs (www.starlag.com) * Copyright © Silicon-Valley.one 2018. All rights reserved. * https://www.silicon-valley.one/ */ library Math { function mul(uint256 a, uint256 b) internal pure returns (uint256) ...
(_level>Level.ZERO)&&(Level.DAPP>=_level)
325,907
(_level>Level.ZERO)&&(Level.DAPP>=_level)
null
pragma solidity ^0.4.18; /* * Silicon Valley Token (SVL) * Created by Starlag Labs (www.starlag.com) * Copyright © Silicon-Valley.one 2018. All rights reserved. * https://www.silicon-valley.one/ */ library Math { function mul(uint256 a, uint256 b) internal pure returns (uint256) ...
balances[_to]<=balances[_to].add(_value)
325,907
balances[_to]<=balances[_to].add(_value)
null
pragma solidity ^0.4.18; /* * Silicon Valley Token (SVL) * Created by Starlag Labs (www.starlag.com) * Copyright © Silicon-Valley.one 2018. All rights reserved. * https://www.silicon-valley.one/ */ library Math { function mul(uint256 a, uint256 b) internal pure returns (uint256) ...
frozeds[msg.sender]==false||freezeEnabled==false
325,907
frozeds[msg.sender]==false||freezeEnabled==false
null
pragma solidity ^0.4.18; /* * Silicon Valley Token (SVL) * Created by Starlag Labs (www.starlag.com) * Copyright © Silicon-Valley.one 2018. All rights reserved. * https://www.silicon-valley.one/ */ library Math { function mul(uint256 a, uint256 b) internal pure returns (uint256) ...
(_from!=address(0)&&frozeds[_from]==false)||freezeEnabled==false
325,907
(_from!=address(0)&&frozeds[_from]==false)||freezeEnabled==false
null
pragma solidity ^0.4.18; /* * Silicon Valley Token (SVL) * Created by Starlag Labs (www.starlag.com) * Copyright © Silicon-Valley.one 2018. All rights reserved. * https://www.silicon-valley.one/ */ library Math { function mul(uint256 a, uint256 b) internal pure returns (uint256) ...
!mintFinished
325,907
!mintFinished
null
pragma solidity ^0.4.18; /* * Silicon Valley Token (SVL) * Created by Starlag Labs (www.starlag.com) * Copyright © Silicon-Valley.one 2018. All rights reserved. * https://www.silicon-valley.one/ */ library Math { function mul(uint256 a, uint256 b) internal pure returns (uint256) ...
token.transferFrom(_spender,address(this),_value)
325,907
token.transferFrom(_spender,address(this),_value)
null
pragma solidity ^0.4.18; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 v...
!unlockedReserveAndTeamFunds
325,917
!unlockedReserveAndTeamFunds
null
pragma solidity ^0.4.18; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 v...
_value.add(totalSupply)<=cap
325,917
_value.add(totalSupply)<=cap
null
pragma solidity ^0.4.18; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 v...
totalSupply.add(teamLocked).add(reserveLocked)<=cap
325,917
totalSupply.add(teamLocked).add(reserveLocked)<=cap
null
pragma solidity ^0.4.24; contract Base { uint8 constant HEROLEVEL_MIN = 1; uint8 constant HEROLEVEL_MAX = 5; uint8 constant LIMITCHIP_MINLEVEL = 3; uint constant PARTWEIGHT_NORMAL = 100; uint constant PARTWEIGHT_LIMIT = 40; address creator; constructor() public { } mo...
address(0)!=acc
325,936
address(0)!=acc
null
pragma solidity ^0.4.24; contract Base { uint8 constant HEROLEVEL_MIN = 1; uint8 constant HEROLEVEL_MAX = 5; uint8 constant LIMITCHIP_MINLEVEL = 3; uint constant PARTWEIGHT_NORMAL = 100; uint constant PARTWEIGHT_LIMIT = 40; address creator; constructor() public { } mo...
auth_list[msg.sender]
325,936
auth_list[msg.sender]
null
pragma solidity ^0.4.24; contract Base { uint8 constant HEROLEVEL_MIN = 1; uint8 constant HEROLEVEL_MAX = 5; uint8 constant LIMITCHIP_MINLEVEL = 3; uint constant PARTWEIGHT_NORMAL = 100; uint constant PARTWEIGHT_LIMIT = 40; address creator; constructor() public { } mo...
CanHandleAuth(tx.origin)||CanHandleAuth(msg.sender)
325,936
CanHandleAuth(tx.origin)||CanHandleAuth(msg.sender)
null
pragma solidity ^0.4.24; contract Base { uint8 constant HEROLEVEL_MIN = 1; uint8 constant HEROLEVEL_MAX = 5; uint8 constant LIMITCHIP_MINLEVEL = 3; uint constant PARTWEIGHT_NORMAL = 100; uint constant PARTWEIGHT_LIMIT = 40; address creator; constructor() public { } mo...
GetPartNum(level)==parts.length
325,936
GetPartNum(level)==parts.length
null
pragma solidity ^0.4.24; contract Base { uint8 constant HEROLEVEL_MIN = 1; uint8 constant HEROLEVEL_MAX = 5; uint8 constant LIMITCHIP_MINLEVEL = 3; uint constant PARTWEIGHT_NORMAL = 100; uint constant PARTWEIGHT_LIMIT = 40; address creator; constructor() public { } mo...
GetPartNum(level)>=part
325,936
GetPartNum(level)>=part
null
pragma solidity ^0.4.24; contract Base { uint8 constant HEROLEVEL_MIN = 1; uint8 constant HEROLEVEL_MAX = 5; uint8 constant LIMITCHIP_MINLEVEL = 3; uint constant PARTWEIGHT_NORMAL = 100; uint constant PARTWEIGHT_LIMIT = 40; address creator; constructor() public { } mo...
!CardExists(iCard)
325,936
!CardExists(iCard)
null
pragma solidity ^0.4.24; contract Base { uint8 constant HEROLEVEL_MIN = 1; uint8 constant HEROLEVEL_MAX = 5; uint8 constant LIMITCHIP_MINLEVEL = 3; uint constant PARTWEIGHT_NORMAL = 100; uint constant PARTWEIGHT_LIMIT = 40; address creator; constructor() public { } mo...
!ChipExists(iChip)
325,936
!ChipExists(iChip)
null
pragma solidity ^0.4.24; contract Base { uint8 constant HEROLEVEL_MIN = 1; uint8 constant HEROLEVEL_MAX = 5; uint8 constant LIMITCHIP_MINLEVEL = 3; uint constant PARTWEIGHT_NORMAL = 100; uint constant PARTWEIGHT_LIMIT = 40; address creator; constructor() public { } mo...
obj.m_TempStuff.get(iStuff)<=now
325,936
obj.m_TempStuff.get(iStuff)<=now
null
pragma solidity ^0.4.24; contract Base { uint8 constant HEROLEVEL_MIN = 1; uint8 constant HEROLEVEL_MAX = 5; uint8 constant LIMITCHIP_MINLEVEL = 3; uint constant PARTWEIGHT_NORMAL = 100; uint constant PARTWEIGHT_LIMIT = 40; address creator; constructor() public { } mo...
CanObtainChip(iChip)
325,936
CanObtainChip(iChip)
null
pragma solidity ^0.4.24; contract Base { uint8 constant HEROLEVEL_MIN = 1; uint8 constant HEROLEVEL_MAX = 5; uint8 constant LIMITCHIP_MINLEVEL = 3; uint constant PARTWEIGHT_NORMAL = 100; uint constant PARTWEIGHT_LIMIT = 40; address creator; constructor() public { } mo...
CardExists(iCard)&&!HasCard(acc,iCard)
325,936
CardExists(iCard)&&!HasCard(acc,iCard)
"Whitelist: address is member already."
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b, string memory errorMessage) inter...
!isMember(_member),"Whitelist: address is member already."
326,045
!isMember(_member)
"Whitelist: Not member of whitelist."
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b, string memory errorMessage) inter...
isMember(_member),"Whitelist: Not member of whitelist."
326,045
isMember(_member)
"Crowdsale: Not purchaser of whitelist."
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b, string memory errorMessage) inter...
isMember(purchaser),"Crowdsale: Not purchaser of whitelist."
326,045
isMember(purchaser)
"Crowdsale: invalid stable token"
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b, string memory errorMessage) inter...
_stableCoins[stableCoin],"Crowdsale: invalid stable token"
326,045
_stableCoins[stableCoin]
"Sale end"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol...
_totalSupply()<MAX_ELEMENTS,"Sale end"
326,050
_totalSupply()<MAX_ELEMENTS
"Sale not end"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol...
_totalSupply()>=MAX_ELEMENTS,"Sale not end"
326,050
_totalSupply()>=MAX_ELEMENTS
"Not phase 1 winner"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol...
_msgSender()==phase1Winner,"Not phase 1 winner"
326,050
_msgSender()==phase1Winner
"Not phase 2 winner"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol...
ownerOf(tokenID)==_msgSender(),"Not phase 2 winner"
326,050
ownerOf(tokenID)==_msgSender()
"Max limit"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol...
total+count<=MAX_ELEMENTS,"Max limit"
326,050
total+count<=MAX_ELEMENTS
"Phase 2 revealed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol...
!phase2Revealed,"Phase 2 revealed"
326,050
!phase2Revealed
"Not enough LINK"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol...
LINK.balanceOf(address(this))>=chainlinkFee,"Not enough LINK"
326,050
LINK.balanceOf(address(this))>=chainlinkFee
"Phase 1 jackpot claimed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol...
!phase1JackpotClaimed,"Phase 1 jackpot claimed"
326,050
!phase1JackpotClaimed
"Phase 2 jackpot claimed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol...
!phase2JackpotClaimed,"Phase 2 jackpot claimed"
326,050
!phase2JackpotClaimed
"No rights"
pragma solidity >=0.6.0 <0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IBurnable.sol"; contract ObortechToken is ERC20, Ownable, IBurnable { address private tokenDistributionContract; constructor (string memory name_, string memory ...
_msgSender()==tokenDistributionContract,"No rights"
326,066
_msgSender()==tokenDistributionContract
null
/** *Submitted for verification at Etherscan.io on 2019-06-20 */ pragma solidity ^0.5.7; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error. */ library SafeMath { /** * @dev Adds two unsigned integers, reverts on overflow. */ function add(uint...
_allowed[from][msg.sender]>=value
326,112
_allowed[from][msg.sender]>=value
null
/** *Submitted for verification at Etherscan.io on 2019-06-20 */ pragma solidity ^0.5.7; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error. */ library SafeMath { /** * @dev Adds two unsigned integers, reverts on overflow. */ function add(uint...
_minter[msg.sender]
326,112
_minter[msg.sender]
null
/** *Submitted for verification at Etherscan.io on 2019-06-20 */ pragma solidity ^0.5.7; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error. */ library SafeMath { /** * @dev Adds two unsigned integers, reverts on overflow. */ function add(uint...
_totalSupply.add(value)<=_cap
326,112
_totalSupply.add(value)<=_cap
"invest stopped"
pragma solidity ^0.5.0; contract USDTPool is IRewardDistributionRecipient { mapping(address => uint256) public userRewardPaid; uint256 public _rewardPerToken; bool internal _notEntered; event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); ...
!stopinvest,"invest stopped"
326,149
!stopinvest
"Mint amount exceeds the max supply available for public"
// SPDX-License-Identifier: MIT /* ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄ ▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▐░░░░░░░░░░░▐░░░░░░░░░░░▐░░░░░░░░░░░▐░▌ ▐░▐░░░░░░░░░░░▐░░░░░░░░░░░▐░░░░░░░░░░░▌ ▐░░░░░░░░░░▌▐░░░░░░░░░░░▐░░░░░░░░░░░▌ ▀▀▀▀▀█░█▀▀▀▐░█▀▀▀▀▀▀▀█░▐░█▀▀▀...
supply+_mintAmount<9801,"Mint amount exceeds the max supply available for public"
326,175
supply+_mintAmount<9801
null
pragma solidity ^0.4.15; //EKN: deploy with Current version:0.4.16+commit.d7661dd9.Emscripten.clang // ================= Ownable Contract start ============================= /* * Ownable * * Base contract with an owner. * Provides onlyOwner modifier, which prevents function from running if it is called by an...
CreateICO(_beneficiary,tokensToAllocate)
326,190
CreateICO(_beneficiary,tokensToAllocate)
null
pragma solidity ^0.4.15; //EKN: deploy with Current version:0.4.16+commit.d7661dd9.Emscripten.clang // ================= Ownable Contract start ============================= /* * Ownable * * Base contract with an owner. * Provides onlyOwner modifier, which prevents function from running if it is called by an...
CreateICO(_beneficiary,tokens)
326,190
CreateICO(_beneficiary,tokens)
"Sold out"
pragma solidity ^0.8.0; contract OneAndZero is Ownable, ERC721A, ReentrancyGuard { constructor( uint256 maxBatchSize_, uint256 collectionSize_, uint256 amountForAuctionAndDev_, uint256 amountForDevs_ ) ERC721A("OneAndZero", "1AND0", maxBatchSize_, collectionSize_) { } ///////////// MINT...
totalSupply()+quantity<=maxTotalSupply,"Sold out"
326,222
totalSupply()+quantity<=maxTotalSupply
"Can't mint more than 10"
pragma solidity ^0.8.0; contract OneAndZero is Ownable, ERC721A, ReentrancyGuard { constructor( uint256 maxBatchSize_, uint256 collectionSize_, uint256 amountForAuctionAndDev_, uint256 amountForDevs_ ) ERC721A("OneAndZero", "1AND0", maxBatchSize_, collectionSize_) { } ///////////// MINT...
mintedPub[msg.sender]+quantity<maxPublicMint,"Can't mint more than 10"
326,222
mintedPub[msg.sender]+quantity<maxPublicMint
"Not whitelisted"
pragma solidity ^0.8.0; contract OneAndZero is Ownable, ERC721A, ReentrancyGuard { constructor( uint256 maxBatchSize_, uint256 collectionSize_, uint256 amountForAuctionAndDev_, uint256 amountForDevs_ ) ERC721A("OneAndZero", "1AND0", maxBatchSize_, collectionSize_) { } ///////////// MINT...
isValidMerkleProof(merkleProof,MerkleRoot),"Not whitelisted"
326,222
isValidMerkleProof(merkleProof,MerkleRoot)
"Cant mint more than 3 for free"
pragma solidity ^0.8.0; contract OneAndZero is Ownable, ERC721A, ReentrancyGuard { constructor( uint256 maxBatchSize_, uint256 collectionSize_, uint256 amountForAuctionAndDev_, uint256 amountForDevs_ ) ERC721A("OneAndZero", "1AND0", maxBatchSize_, collectionSize_) { } ///////////// MINT...
minted[msg.sender]<maxWLMint,"Cant mint more than 3 for free"
326,222
minted[msg.sender]<maxWLMint
null
pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed w...
supply+_claimAmount<=200
326,255
supply+_claimAmount<=200
"Address is temporarily locked"
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.7.6; /** Contract which implements locking of functions via a notLocked modifier Functions are locked per address. */ contract TimeLock { // how many seconds are the functions locked for uint256 private constant TIME_LOCK_SECONDS = 300; // 5 minutes ...
lastLockedTimestamp[lockedAddress]<=block.timestamp,"Address is temporarily locked"
326,288
lastLockedTimestamp[lockedAddress]<=block.timestamp
"zero address not allowed"
/* Copyright [2019] - [2021], PERSISTENCE TECHNOLOGIES PTE. LTD. and the ERC20 contributors SPDX-License-Identifier: Apache-2.0 */ pragma solidity 0.8.4; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import {SafeERC20} fr...
address(_token)!=address(0)&&_receiver!=address(0),"zero address not allowed"
326,307
address(_token)!=address(0)&&_receiver!=address(0)
"invalid-token"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/interfaces/IERC721Enumerable.sol"; import "./interfaces/IBabyBirdez.sol"; import "./interfaces/ISeedToken.sol"; import "hardhat/console.sol"; contract Breeder is Ownable { even...
address(_seed)!=address(0),"invalid-token"
326,417
address(_seed)!=address(0)
"invalid-genesis"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/interfaces/IERC721Enumerable.sol"; import "./interfaces/IBabyBirdez.sol"; import "./interfaces/ISeedToken.sol"; import "hardhat/console.sol"; contract Breeder is Ownable { even...
address(_genesis)!=address(0),"invalid-genesis"
326,417
address(_genesis)!=address(0)
"invalid-baby"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/interfaces/IERC721Enumerable.sol"; import "./interfaces/IBabyBirdez.sol"; import "./interfaces/ISeedToken.sol"; import "hardhat/console.sol"; contract Breeder is Ownable { even...
address(_baby)!=address(0),"invalid-baby"
326,417
address(_baby)!=address(0)