comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"StakingBitgear: Could not send gear tokens"
pragma solidity ^0.6.0; contract StakingBitgear is Ownable { using SafeMath for uint256; IUniswapV2Pair public pair; bool private ifGearZeroTokenInPair; IERC20 public gearAddress; uint256 public zeroDayStartTime; uint256 public dayDurationSec; uint256 constant public numDaysInMonth ...
gearAddress.transfer(sender,amount),"StakingBitgear: Could not send gear tokens"
385,265
gearAddress.transfer(sender,amount)
"StakingBitgear: LP token transfer failed"
pragma solidity ^0.6.0; contract StakingBitgear is Ownable { using SafeMath for uint256; IUniswapV2Pair public pair; bool private ifGearZeroTokenInPair; IERC20 public gearAddress; uint256 public zeroDayStartTime; uint256 public dayDurationSec; uint256 constant public numDaysInMonth ...
pair.transferFrom(sender,address(this),amount),"StakingBitgear: LP token transfer failed"
385,265
pair.transferFrom(sender,address(this),amount)
"StakingBitgear: Wrong MonthsApyPercents parameters"
pragma solidity ^0.6.0; contract StakingBitgear is Ownable { using SafeMath for uint256; IUniswapV2Pair public pair; bool private ifGearZeroTokenInPair; IERC20 public gearAddress; uint256 public zeroDayStartTime; uint256 public dayDurationSec; uint256 constant public numDaysInMonth ...
amount.mul(MonthsApyPercentsNumerator[0]).div(MonthsApyPercentsDenominator[0])>=amount.mul(5).div(100),"StakingBitgear: Wrong MonthsApyPercents parameters"
385,265
amount.mul(MonthsApyPercentsNumerator[0]).div(MonthsApyPercentsDenominator[0])>=amount.mul(5).div(100)
"StakingBitgear: Wrong MonthsApyPercents parameters"
pragma solidity ^0.6.0; contract StakingBitgear is Ownable { using SafeMath for uint256; IUniswapV2Pair public pair; bool private ifGearZeroTokenInPair; IERC20 public gearAddress; uint256 public zeroDayStartTime; uint256 public dayDurationSec; uint256 constant public numDaysInMonth ...
amount.mul(MonthsApyPercentsNumerator[1]).div(MonthsApyPercentsDenominator[1])>=amount.mul(7).div(100),"StakingBitgear: Wrong MonthsApyPercents parameters"
385,265
amount.mul(MonthsApyPercentsNumerator[1]).div(MonthsApyPercentsDenominator[1])>=amount.mul(7).div(100)
"StakingBitgear: Wrong MonthsApyPercents parameters"
pragma solidity ^0.6.0; contract StakingBitgear is Ownable { using SafeMath for uint256; IUniswapV2Pair public pair; bool private ifGearZeroTokenInPair; IERC20 public gearAddress; uint256 public zeroDayStartTime; uint256 public dayDurationSec; uint256 constant public numDaysInMonth ...
amount.mul(MonthsApyPercentsNumerator[2]).div(MonthsApyPercentsDenominator[2])>=amount.mul(10).div(100),"StakingBitgear: Wrong MonthsApyPercents parameters"
385,265
amount.mul(MonthsApyPercentsNumerator[2]).div(MonthsApyPercentsDenominator[2])>=amount.mul(10).div(100)
null
pragma solidity ^0.4.18; /** * @title Implementation of token that conforms the ERC-20 Token Standard */ contract Restriction { address internal owner = msg.sender; mapping(address => bool) internal granted; modifier onlyOwner { } /** * @notice Change the owner of the contract * @param _owner New ow...
totalSupply+_amount>totalSupply
385,266
totalSupply+_amount>totalSupply
null
pragma solidity ^0.4.18; /** * @title Implementation of token that conforms the ERC-20 Token Standard */ contract Restriction { address internal owner = msg.sender; mapping(address => bool) internal granted; modifier onlyOwner { } /** * @notice Change the owner of the contract * @param _owner New ow...
balances[msg.sender]>_amount
385,266
balances[msg.sender]>_amount
null
pragma solidity ^0.4.19; contract Ownable { address public owner; /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() internal { } /** * @dev Throws if called by any account other than the owner. */ modifier...
major_partner_address.call.gas(gas).value(major_fee)()
385,325
major_partner_address.call.gas(gas).value(major_fee)()
null
pragma solidity ^0.4.19; contract Ownable { address public owner; /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() internal { } /** * @dev Throws if called by any account other than the owner. */ modifier...
minor_partner_address.call.gas(gas).value(minor_fee)()
385,325
minor_partner_address.call.gas(gas).value(minor_fee)()
null
pragma solidity ^0.4.19; contract Ownable { address public owner; /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() internal { } /** * @dev Throws if called by any account other than the owner. */ modifier...
investment_address.call.gas(gas).value(transfer_amount-major_fee-minor_fee)()
385,325
investment_address.call.gas(gas).value(transfer_amount-major_fee-minor_fee)()
null
pragma solidity ^0.4.19; contract Ownable { address public owner; /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() internal { } /** * @dev Throws if called by any account other than the owner. */ modifier...
msg.sender.call.gas(gas).value(this.balance)()
385,325
msg.sender.call.gas(gas).value(this.balance)()
"Incorrect Ether value."
pragma solidity ^0.8.0; contract DaringDragonDen is ERC721Enumerable, Ownable { uint256 public constant MAX_NFT_SUPPLY = 6000; uint public constant MAX_PURCHASABLE = 20; uint256 public constant SALE_START_TIME = 1627239600; // 3pm ET July 25th 2021 uint256 public constant DRAGONS_PRICE = 300000000...
DRAGONS_PRICE*amountToMint==msg.value,"Incorrect Ether value."
385,329
DRAGONS_PRICE*amountToMint==msg.value
"unlocking..."
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; import "@openzeppelin/contracts/math/SafeMath.sol"; import "../libs/ERC20.sol"; import "../libs/DaoOwnable.sol"; contract vGaas is ERC20, DaoOwnable { using SafeMath for uint256; IERC20 public wsMeta; mapping(address => uint256) pub...
unstakeTime[msg.sender]<=block.timestamp,"unlocking..."
385,608
unstakeTime[msg.sender]<=block.timestamp
null
pragma solidity ^0.4.18; /** * @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 of ...
deposited[_wallet]>0
385,621
deposited[_wallet]>0
null
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.7.6; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@uniswap/v3-core/contracts/...
Visor(from).owner()==msg.sender
385,638
Visor(from).owner()==msg.sender
null
pragma solidity ^0.5.0; interface Niguez { function ra() external view returns (uint256); function rx() external view returns (uint256); } interface Target { function bet(uint _diceOne, uint _diceTwo) payable external; } contract CatchFireE66C { address owner = msg.sender; Niguez inter...
address(this).balance>initialBalance
385,806
address(this).balance>initialBalance
"Calling account is not an administrator."
pragma solidity 0.5.0; /** This contract allows a list of administrators to be tracked. This list can then be enforced on functions with administrative permissions. Only the owner of the contract should be allowed to modify the administrator list. */ contract Administratable is Ownable { // The mapping to...
isAdministrator(msg.sender),"Calling account is not an administrator."
385,811
isAdministrator(msg.sender)
"Account to be added to admin list is already an admin"
pragma solidity 0.5.0; /** This contract allows a list of administrators to be tracked. This list can then be enforced on functions with administrative permissions. Only the owner of the contract should be allowed to modify the administrator list. */ contract Administratable is Ownable { // The mapping to...
administrators[adminToAdd]==false,"Account to be added to admin list is already an admin"
385,811
administrators[adminToAdd]==false
"Account to be removed from admin list is not already an admin"
pragma solidity 0.5.0; /** This contract allows a list of administrators to be tracked. This list can then be enforced on functions with administrative permissions. Only the owner of the contract should be allowed to modify the administrator list. */ contract Administratable is Ownable { // The mapping to...
administrators[adminToRemove]==true,"Account to be removed from admin list is not already an admin"
385,811
administrators[adminToRemove]==true
null
pragma solidity ^0.4.23; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract owned{ address public owner; constructor ()public{ } function changeOwner(address newOwner) public onlyOwner{ } modifier only...
_allowance[from][msg.sender]>=value
385,816
_allowance[from][msg.sender]>=value
null
pragma solidity ^0.4.23; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract owned{ address public owner; constructor ()public{ } function changeOwner(address newOwner) public onlyOwner{ } modifier only...
_balanceOf[from]>=amount
385,816
_balanceOf[from]>=amount
null
pragma solidity ^0.4.23; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract owned{ address public owner; constructor ()public{ } function changeOwner(address newOwner) public onlyOwner{ } modifier only...
_balanceOf[from]-amount<=_balanceOf[from]
385,816
_balanceOf[from]-amount<=_balanceOf[from]
null
pragma solidity ^0.4.23; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract owned{ address public owner; constructor ()public{ } function changeOwner(address newOwner) public onlyOwner{ } modifier only...
_allowance[msg.sender][from]>=amount
385,816
_allowance[msg.sender][from]>=amount
null
pragma solidity ^0.4.23; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract owned{ address public owner; constructor ()public{ } function changeOwner(address newOwner) public onlyOwner{ } modifier only...
_balanceOf[to]+amount>=_balanceOf[to]
385,816
_balanceOf[to]+amount>=_balanceOf[to]
null
pragma solidity ^0.4.23; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract owned{ address public owner; constructor ()public{ } function changeOwner(address newOwner) public onlyOwner{ } modifier only...
_totalSupply+amount>=_totalSupply
385,816
_totalSupply+amount>=_totalSupply
null
pragma solidity ^0.4.23; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract owned{ address public owner; constructor ()public{ } function changeOwner(address newOwner) public onlyOwner{ } modifier only...
_balanceOf[from]>=value
385,816
_balanceOf[from]>=value
null
pragma solidity ^0.4.23; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract owned{ address public owner; constructor ()public{ } function changeOwner(address newOwner) public onlyOwner{ } modifier only...
_balanceOf[to]+value>=_balanceOf[to]
385,816
_balanceOf[to]+value>=_balanceOf[to]
null
pragma solidity 0.4.25; // Констракт. contract MyMileage { // Владелец контракта. address private owner; // Отображение хеш сумм фотографий и дат. mapping(bytes32 => uint) private map; // Модификатор доступа "только владелец". modifier onlyOwner { } // Конструктор. constru...
free(imageHash)
385,819
free(imageHash)
null
pragma solidity ^0.6; contract AdminControlled { address public admin; uint public paused; constructor(address _admin, uint flags) public { } modifier onlyAdmin { } modifier pausable(uint flag) { require(<FILL_ME>) _; } function adminPause(uint flags) publ...
(paused&flag)==0||msg.sender==admin
385,855
(paused&flag)==0||msg.sender==admin
"Exceeds max Nfts per wallet."
pragma solidity ^0.8.7; library Address { function isContract(address account) internal view returns (bool) { } } abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; ...
nftPerAddress[msg.sender]+_mintAmount<=maxMintAmountPerWallet,"Exceeds max Nfts per wallet."
385,900
nftPerAddress[msg.sender]+_mintAmount<=maxMintAmountPerWallet
"You are not whitelisted"
pragma solidity ^0.8.7; library Address { function isContract(address account) internal view returns (bool) { } } abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; ...
_verify(leafnode,merkleProof,whitelistMerkleRoot),"You are not whitelisted"
385,900
_verify(leafnode,merkleProof,whitelistMerkleRoot)
"Exceeds max NFT per wallet"
pragma solidity ^0.8.7; library Address { function isContract(address account) internal view returns (bool) { } } abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; ...
nftPerWLAddress[msg.sender]+_mintAmount<=maxWLMintAmountPerWallet,"Exceeds max NFT per wallet"
385,900
nftPerWLAddress[msg.sender]+_mintAmount<=maxWLMintAmountPerWallet
"Only 1022 NFTs are available for Presale"
pragma solidity ^0.8.7; library Address { function isContract(address account) internal view returns (bool) { } } abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; ...
totalSupply+_mintAmount<1023,"Only 1022 NFTs are available for Presale"
385,900
totalSupply+_mintAmount<1023
"Reserve mint would exceed max supply of tokens"
pragma solidity ^0.7.6; contract AlienArchives is ERC721, Ownable { using SafeMath for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint256 public constant MAX_TOKENS = 10000; uint256 public constant PRICE_PER_TOKEN = 51000000000000000; // 0.051 uint25...
totalSupply().add(amountToReserve)<=MAX_TOKENS,"Reserve mint would exceed max supply of tokens"
385,914
totalSupply().add(amountToReserve)<=MAX_TOKENS
"You are not allowed to withdraw"
pragma solidity ^0.7.6; contract AlienArchives is ERC721, Ownable { using SafeMath for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint256 public constant MAX_TOKENS = 10000; uint256 public constant PRICE_PER_TOKEN = 51000000000000000; // 0.051 uint25...
(msg.sender==CURATORS_ADDRESS||msg.sender==CRYPTOCRACY_ADDRESS),"You are not allowed to withdraw"
385,914
(msg.sender==CURATORS_ADDRESS||msg.sender==CRYPTOCRACY_ADDRESS)
"Not enough Ether was sent to mint the requested number of tokens"
pragma solidity ^0.7.6; contract AlienArchives is ERC721, Ownable { using SafeMath for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint256 public constant MAX_TOKENS = 10000; uint256 public constant PRICE_PER_TOKEN = 51000000000000000; // 0.051 uint25...
PRICE_PER_PRESALE_TOKEN.mul(numberOfTokens)<=msg.value,"Not enough Ether was sent to mint the requested number of tokens"
385,914
PRICE_PER_PRESALE_TOKEN.mul(numberOfTokens)<=msg.value
"Not enough Ether was sent to mint the requested number of tokens"
pragma solidity ^0.7.6; contract AlienArchives is ERC721, Ownable { using SafeMath for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint256 public constant MAX_TOKENS = 10000; uint256 public constant PRICE_PER_TOKEN = 51000000000000000; // 0.051 uint25...
PRICE_PER_TOKEN.mul(numberOfTokens)<=msg.value,"Not enough Ether was sent to mint the requested number of tokens"
385,914
PRICE_PER_TOKEN.mul(numberOfTokens)<=msg.value
"Not enough mints remaining to mint"
//SPDX-License-Identifier: MIT //Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) pragma solidity ^0.8.0; contract ClubPenguinNFT is ERC721, IERC2981, Ownable, ReentrancyGuard { using Counters for Counters.Counter; using Strings for ...
tokenCounter.current()+numberOfTokens<=maxSupply,"Not enough mints remaining to mint"
386,149
tokenCounter.current()+numberOfTokens<=maxSupply
null
pragma solidity ^0.4.13; contract DependentOnIPFS { /** * @dev Validate a multihash bytes value */ function isValidIPFSMultihash(bytes _multihashBytes) internal pure returns (bool) { } } contract Poll is DependentOnIPFS { // There isn't a way around using time to determine when votes can be cast ...
isValidIPFSMultihash(_ipfsHash)
386,161
isValidIPFSMultihash(_ipfsHash)
"RewardedPbtcWethUniV2Pair: _uniV2 not a contract"
pragma solidity ^0.5.0; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/ownership/Ownable.sol"; import "@uniswap/v2...
Address.isContract(_uniV2),"RewardedPbtcWethUniV2Pair: _uniV2 not a contract"
386,216
Address.isContract(_uniV2)
"RewardedPbtcWethUniV2Pair: amount not approved"
pragma solidity ^0.5.0; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/ownership/Ownable.sol"; import "@uniswap/v2...
modifiedUnipool.allowance(msg.sender,address(this))>=uniV2SenderBalance,"RewardedPbtcWethUniV2Pair: amount not approved"
386,216
modifiedUnipool.allowance(msg.sender,address(this))>=uniV2SenderBalance
"already a guranteed contributor, cannot more than once"
// 100000000000000000, "membership in Casa Crypto", 1546300799, "0x8855Ef4b740Fc23D822dC8e1cb44782e52c07e87", 20, 5, 5000000000000000000 // 100000000000000000, "Ethereum coding workshop 24th August 2018", 1538351999, "0x09b25F7627A8d509E5FaC01cB7692fdBc26A2663", 12, 3, 5000000000000000000 // For instance: effering li...
guaranteedContributions[msg.sender]==0,"already a guranteed contributor, cannot more than once"
386,325
guaranteedContributions[msg.sender]==0
"InvalidETHAmount"
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract WantedPunks is Ownable, ERC721Enumerable { using Strings for uint256...
PRE_PRICE*punks==msg.value,"InvalidETHAmount"
386,456
PRE_PRICE*punks==msg.value
"MintingExceedsMaxSupply"
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract WantedPunks is Ownable, ERC721Enumerable { using Strings for uint256...
ts+punks<=sl,"MintingExceedsMaxSupply"
386,456
ts+punks<=sl
"InvalidETHAmount"
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract WantedPunks is Ownable, ERC721Enumerable { using Strings for uint256...
PRICE*punks==msg.value,"InvalidETHAmount"
386,456
PRICE*punks==msg.value
"MintingExceedsSpecialReserve"
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract WantedPunks is Ownable, ERC721Enumerable { using Strings for uint256...
specialReserveCounter+punks<=SPECIAL_RESERVE,"MintingExceedsSpecialReserve"
386,456
specialReserveCounter+punks<=SPECIAL_RESERVE
"StrangerDetected"
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract WantedPunks is Ownable, ERC721Enumerable { using Strings for uint256...
(msg.sender==owner())||(msg.sender==DEV_WALLET),"StrangerDetected"
386,456
(msg.sender==owner())||(msg.sender==DEV_WALLET)
"TokenURILockedErr"
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract WantedPunks is Ownable, ERC721Enumerable { using Strings for uint256...
!tokenURILocked,"TokenURILockedErr"
386,456
!tokenURILocked
null
pragma solidity ^0.4.25; /** Multiplier ETHMOON_V2: returns 125%-150% of each investment! Fully transparent smartcontract with automatic payments proven professionals. An additional level of protection against fraud - you can make only two deposits, until you get 125%-150%. 1. Send any sum to smart contrac...
(msg.value>=MIN_DEPOSIT)&&(msg.value<=MAX_DEPOSIT)
386,463
(msg.value>=MIN_DEPOSIT)&&(msg.value<=MAX_DEPOSIT)
null
pragma solidity ^0.4.24; contract DACCToken { string public name = "Decentralized Accessible Content Chain"; string public symbol = "DACC"; uint256 public decimals = 6; mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; uint2...
amount+_values[i]>=amount
386,544
amount+_values[i]>=amount
null
pragma solidity ^0.4.24; contract DACCToken { string public name = "Decentralized Accessible Content Chain"; string public symbol = "DACC"; uint256 public decimals = 6; mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; uint2...
balanceOf[_DACusers[i]]+_values[i]>=balanceOf[_DACusers[i]]
386,544
balanceOf[_DACusers[i]]+_values[i]>=balanceOf[_DACusers[i]]
"Whitelist is sold out"
pragma solidity ^0.8.2; contract WeedApes is ERC721, Ownable, ReentrancyGuard { using Counters for Counters.Counter; using SafeMath for uint256; using ECDSA for bytes32; using Strings for uint256; Counters.Counter private tokenSupply; Counters.Counter private influncerGiveawaySupply; ...
tokenSupply.current().add(_quantity)<=MAX_SUPPLY_WHITELIST,"Whitelist is sold out"
386,565
tokenSupply.current().add(_quantity)<=MAX_SUPPLY_WHITELIST
"You are not allowed to use this function"
pragma solidity ^0.8.2; contract WeedApes is ERC721, Ownable, ReentrancyGuard { using Counters for Counters.Counter; using SafeMath for uint256; using ECDSA for bytes32; using Strings for uint256; Counters.Counter private tokenSupply; Counters.Counter private influncerGiveawaySupply; ...
influncerGiveaways[msg.sender]==true,"You are not allowed to use this function"
386,565
influncerGiveaways[msg.sender]==true
"This purchase would exceed the max supply"
pragma solidity ^0.8.2; contract WeedApes is ERC721, Ownable, ReentrancyGuard { using Counters for Counters.Counter; using SafeMath for uint256; using ECDSA for bytes32; using Strings for uint256; Counters.Counter private tokenSupply; Counters.Counter private influncerGiveawaySupply; ...
tokenSupply.current().add(5)<=MAX_SUPPLY,"This purchase would exceed the max supply"
386,565
tokenSupply.current().add(5)<=MAX_SUPPLY
null
pragma solidity ^0.8.2; contract WeedApes is ERC721, Ownable, ReentrancyGuard { using Counters for Counters.Counter; using SafeMath for uint256; using ECDSA for bytes32; using Strings for uint256; Counters.Counter private tokenSupply; Counters.Counter private influncerGiveawaySupply; ...
influncerGiveawaySupply.current().add(5)<=MAX_GIVEAWAY_INFLUENCER
386,565
influncerGiveawaySupply.current().add(5)<=MAX_GIVEAWAY_INFLUENCER
"This purchase would exceed the max supply"
pragma solidity ^0.8.2; contract WeedApes is ERC721, Ownable, ReentrancyGuard { using Counters for Counters.Counter; using SafeMath for uint256; using ECDSA for bytes32; using Strings for uint256; Counters.Counter private tokenSupply; Counters.Counter private influncerGiveawaySupply; ...
tokenSupply.current().add(_quantity)<=MAX_SUPPLY,"This purchase would exceed the max supply"
386,565
tokenSupply.current().add(_quantity)<=MAX_SUPPLY
"Token transfer failed"
//SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; pragma solidity 0.8.4; contract PathLPStaking is Ownable{ IERC20 public stakingToken; IERC20 public rewardToken; uint public rewardRate = 0; uint public rewardsDur...
stakingToken.transfer(msg.sender,_amount),"Token transfer failed"
386,577
stakingToken.transfer(msg.sender,_amount)
"transfer failed"
//SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; pragma solidity 0.8.4; contract PathLPStaking is Ownable{ IERC20 public stakingToken; IERC20 public rewardToken; uint public rewardRate = 0; uint public rewardsDur...
IERC20(tokenAddress).transfer(msg.sender,tokenAmount),"transfer failed"
386,577
IERC20(tokenAddress).transfer(msg.sender,tokenAmount)
null
/* * @title: LAMBO * @website: lambotoken.finance * @telegram: @lambotokenofficial * _ _______ _______ ______ _______ * ( \ ( ___ )( )( ___ \ ( ___ ) * | ( | ( ) || () () || ( ) )| ( ) | * | | | (___) || || || || (__/ / | | | | * | | | ___ || |(_)| |...
totalSupply().add(value)<=_supplyCap
386,623
totalSupply().add(value)<=_supplyCap
null
pragma solidity ^0.4.23; contract CoinAtc // @eachvar { // ======== 初始化代币相关逻辑 ============== // 地址信息 address public admin_address = 0x6dFe4B3AC236A392a6dB25A8cAc27b0fC563B0Da; // @eachvar address public account_address = 0x6dFe4B3AC236A392a6dB25A8cAc27b0fC563B0Da; // @eachvar 初始化后转入代币的地址 // 定...
balances[direct_drop_address]>=decimalsAmount
386,651
balances[direct_drop_address]>=decimalsAmount
null
pragma solidity ^0.4.23; contract CoinAtc // @eachvar { // ======== 初始化代币相关逻辑 ============== // 地址信息 address public admin_address = 0x6dFe4B3AC236A392a6dB25A8cAc27b0fC563B0Da; // @eachvar address public account_address = 0x6dFe4B3AC236A392a6dB25A8cAc27b0fC563B0Da; // @eachvar 初始化后转入代币的地址 // 定...
airdrop_times[_beneficiary]<=air_drop_count
386,651
airdrop_times[_beneficiary]<=air_drop_count
null
pragma solidity ^0.4.23; contract CoinAtc // @eachvar { // ======== 初始化代币相关逻辑 ============== // 地址信息 address public admin_address = 0x6dFe4B3AC236A392a6dB25A8cAc27b0fC563B0Da; // @eachvar address public account_address = 0x6dFe4B3AC236A392a6dB25A8cAc27b0fC563B0Da; // @eachvar 初始化后转入代币的地址 // 定...
balances[air_drop_address]>=decimalsAmount
386,651
balances[air_drop_address]>=decimalsAmount
'Must not send more than balance'
pragma solidity 0.6.4; //ERC20 Interface interface ERC20 { function totalSupply() external view returns (uint); function balanceOf(address account) external view returns (uint); function transfer(address, uint) external returns (bool); function allowance(address owner, address spender) external vi...
_balances[_from]>=_value,'Must not send more than balance'
386,767
_balances[_from]>=_value
null
pragma solidity 0.6.4; //ERC20 Interface interface ERC20 { function totalSupply() external view returns (uint); function balanceOf(address account) external view returns (uint); function transfer(address, uint) external returns (bool); function allowance(address owner, address spender) external vi...
VETH(vether1).currentDay()>=upgradeHeight||VETH(vether1).currentEra()>1
386,767
VETH(vether1).currentDay()>=upgradeHeight||VETH(vether1).currentEra()>1
"cannot revoke active strategy"
// https://github.com/iearn-finance/jars/blob/master/contracts/controllers/StrategyControllerV1.sol pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; import "./lib/erc20.sol"; import "./lib/safe-math.sol"; import "./interfaces/jar.sol"; import "./interfaces/jar-converter.sol"; import "./interfaces/strategyv2.s...
strategies[_pool]!=_strategy,"cannot revoke active strategy"
386,838
strategies[_pool]!=_strategy
"!approved"
// https://github.com/iearn-finance/jars/blob/master/contracts/controllers/StrategyControllerV1.sol pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; import "./lib/erc20.sol"; import "./lib/safe-math.sol"; import "./interfaces/jar.sol"; import "./interfaces/jar-converter.sol"; import "./interfaces/strategyv2.s...
approvedStrategies[_pool][_strategy]==true,"!approved"
386,838
approvedStrategies[_pool][_strategy]==true
"constructor: wethToken's decimals is not MAX_DECIMALS"
pragma solidity 0.5.11; import "./ERC20InterfaceV5.sol"; import "./KyberReserveInterfaceV5.sol"; import "./WithdrawableV5.sol"; import "./UtilsV5.sol"; import "./OtcInterfaceV5.sol"; contract WethInterface is ERC20 { function deposit() public payable; function withdraw(uint) public; } contract Eth2DaiReserve is...
getDecimals(wethToken)==MAX_DECIMALS,"constructor: wethToken's decimals is not MAX_DECIMALS"
386,886
getDecimals(wethToken)==MAX_DECIMALS
"constructor: failed to approve otc (wethToken)"
pragma solidity 0.5.11; import "./ERC20InterfaceV5.sol"; import "./KyberReserveInterfaceV5.sol"; import "./WithdrawableV5.sol"; import "./UtilsV5.sol"; import "./OtcInterfaceV5.sol"; contract WethInterface is ERC20 { function deposit() public payable; function withdraw(uint) public; } contract Eth2DaiReserve is...
wethToken.approve(_otc,2**255),"constructor: failed to approve otc (wethToken)"
386,886
wethToken.approve(_otc,2**255)
"trade: doTrade returns false"
pragma solidity 0.5.11; import "./ERC20InterfaceV5.sol"; import "./KyberReserveInterfaceV5.sol"; import "./WithdrawableV5.sol"; import "./UtilsV5.sol"; import "./OtcInterfaceV5.sol"; contract WethInterface is ERC20 { function deposit() public payable; function withdraw(uint) public; } contract Eth2DaiReserve is...
doTrade(srcToken,srcAmount,destToken,destAddress,conversionRate,validate),"trade: doTrade returns false"
386,886
doTrade(srcToken,srcAmount,destToken,destAddress,conversionRate,validate)
"doTrade: (useInternalInventory) can not transfer back token"
pragma solidity 0.5.11; import "./ERC20InterfaceV5.sol"; import "./KyberReserveInterfaceV5.sol"; import "./WithdrawableV5.sol"; import "./UtilsV5.sol"; import "./OtcInterfaceV5.sol"; contract WethInterface is ERC20 { function deposit() public payable; function withdraw(uint) public; } contract Eth2DaiReserve is...
destToken.transfer(destAddress,userExpectedDestAmount),"doTrade: (useInternalInventory) can not transfer back token"
386,886
destToken.transfer(destAddress,userExpectedDestAmount)
"Token Locked"
pragma solidity ^0.7.6; contract UnifarmV2Fixed is Ownable { struct lockabelToken { uint256 lockableDays; bool optionableStatus; } Unifarm public uniV2; using SafeMath for uint256; uint256[] public intervalDays = [1, 8, 15, 22, 29, 36]; uint256 public constant DAYS = 1 days; mapping(addr...
lockableDetailsB[tokenAddress[stakeId]].lockableDays<=block.timestamp,"Token Locked"
387,089
lockableDetailsB[tokenAddress[stakeId]].lockableDays<=block.timestamp
"Locked in optional lock"
pragma solidity ^0.7.6; contract UnifarmV2Fixed is Ownable { struct lockabelToken { uint256 lockableDays; bool optionableStatus; } Unifarm public uniV2; using SafeMath for uint256; uint256[] public intervalDays = [1, 8, 15, 22, 29, 36]; uint256 public constant DAYS = 1 days; mapping(addr...
startTime[stakeId].add(uniV2.stakeDuration())<=block.timestamp,"Locked in optional lock"
387,089
startTime[stakeId].add(uniV2.stakeDuration())<=block.timestamp
"UNSTAKE : Insufficient Balance"
pragma solidity ^0.7.6; contract UnifarmV2Fixed is Ownable { struct lockabelToken { uint256 lockableDays; bool optionableStatus; } Unifarm public uniV2; using SafeMath for uint256; uint256[] public intervalDays = [1, 8, 15, 22, 29, 36]; uint256 public constant DAYS = 1 days; mapping(addr...
IERC20(tokenAddress[stakeId]).balanceOf(address(this))>=stakedAmount[stakeId],"UNSTAKE : Insufficient Balance"
387,089
IERC20(tokenAddress[stakeId]).balanceOf(address(this))>=stakedAmount[stakeId]
"SAFEWITHDRAW: Transfer failed"
pragma solidity ^0.7.6; contract UnifarmV2Fixed is Ownable { struct lockabelToken { uint256 lockableDays; bool optionableStatus; } Unifarm public uniV2; using SafeMath for uint256; uint256[] public intervalDays = [1, 8, 15, 22, 29, 36]; uint256 public constant DAYS = 1 days; mapping(addr...
IERC20(tokenAddress).transfer(_owner,amount)==true,"SAFEWITHDRAW: Transfer failed"
387,089
IERC20(tokenAddress).transfer(_owner,amount)==true
"EMERGENCY : Insufficient Reward Balance"
pragma solidity ^0.7.6; contract UnifarmV2Fixed is Ownable { struct lockabelToken { uint256 lockableDays; bool optionableStatus; } Unifarm public uniV2; using SafeMath for uint256; uint256[] public intervalDays = [1, 8, 15, 22, 29, 36]; uint256 public constant DAYS = 1 days; mapping(addr...
IERC20(rewardtokens[i]).balanceOf(address(this))>=amount[i],"EMERGENCY : Insufficient Reward Balance"
387,089
IERC20(rewardtokens[i]).balanceOf(address(this))>=amount[i]
"EMERGENCY : Transfer Failed"
pragma solidity ^0.7.6; contract UnifarmV2Fixed is Ownable { struct lockabelToken { uint256 lockableDays; bool optionableStatus; } Unifarm public uniV2; using SafeMath for uint256; uint256[] public intervalDays = [1, 8, 15, 22, 29, 36]; uint256 public constant DAYS = 1 days; mapping(addr...
IERC20(rewardtokens[i]).transfer(referrerAddress[stakeId],refEarned),"EMERGENCY : Transfer Failed"
387,089
IERC20(rewardtokens[i]).transfer(referrerAddress[stakeId],refEarned)
"Transfer Failed"
pragma solidity ^0.7.6; contract UnifarmV2Fixed is Ownable { struct lockabelToken { uint256 lockableDays; bool optionableStatus; } Unifarm public uniV2; using SafeMath for uint256; uint256[] public intervalDays = [1, 8, 15, 22, 29, 36]; uint256 public constant DAYS = 1 days; mapping(addr...
IERC20(stakedToken).transfer(referrerAddress,refEarned),"Transfer Failed"
387,089
IERC20(stakedToken).transfer(referrerAddress,refEarned)
"Transfer Failed"
pragma solidity ^0.7.6; contract UnifarmV2Fixed is Ownable { struct lockabelToken { uint256 lockableDays; bool optionableStatus; } Unifarm public uniV2; using SafeMath for uint256; uint256[] public intervalDays = [1, 8, 15, 22, 29, 36]; uint256 public constant DAYS = 1 days; mapping(addr...
IERC20(rewardToken).transfer(referrerAddress,refEarned),"Transfer Failed"
387,089
IERC20(rewardToken).transfer(referrerAddress,refEarned)
"Token transfer could not be executed."
pragma solidity ^0.4.24; /// @title Version contract Version { string public semanticVersion; /// @notice Constructor saves a public version of the deployed Contract. /// @param _version Semantic version of the contract. constructor(string _version) internal { } } /// @title Factory contra...
erc20token.transfer(owner,balance),"Token transfer could not be executed."
387,105
erc20token.transfer(owner,balance)
"Function was already called"
pragma solidity 0.6.12; 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...
!_tokenAddressGiven,"Function was already called"
387,296
!_tokenAddressGiven
"makeUnchangeable() function was already called"
pragma solidity 0.6.12; 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...
!unchangeable(),"makeUnchangeable() function was already called"
387,296
!unchangeable()
"It has not been 3 days since you staked yet"
pragma solidity 0.6.12; 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...
timePooled[msg.sender]+3days<=now,"It has not been 3 days since you staked yet"
387,296
timePooled[msg.sender]+3days<=now
"You have to stake at least a little bit to withdraw referral rewards"
pragma solidity 0.6.12; 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...
timePooled[msg.sender]!=0,"You have to stake at least a little bit to withdraw referral rewards"
387,296
timePooled[msg.sender]!=0
null
pragma solidity ^0.4.16; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } /** * owned是合约的管理者 */ contract owned { address public owner; /** * 初台化构造函数 */ function owned () public { } /** * 判断...
balanceOf[_from]+1>=_value
387,391
balanceOf[_from]+1>=_value
null
pragma solidity ^0.4.16; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } /** * owned是合约的管理者 */ contract owned { address public owner; /** * 初台化构造函数 */ function owned () public { } /** * 判断...
balanceOf[msg.sender]+1>=_value
387,391
balanceOf[msg.sender]+1>=_value
null
pragma solidity ^0.4.16; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } /** * owned是合约的管理者 */ contract owned { address public owner; /** * 初台化构造函数 */ function owned () public { } /** * 判断...
balanceOf[_from]+1>_value
387,391
balanceOf[_from]+1>_value
null
pragma solidity ^0.4.16; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } /** * owned是合约的管理者 */ contract owned { address public owner; /** * 初台化构造函数 */ function owned () public { } /** * 判断...
balanceOf[_to]+_value+1>balanceOf[_to]
387,391
balanceOf[_to]+_value+1>balanceOf[_to]
"genesis sale not live"
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/ut...
_tokenIds.current()+qty<=genesis[0],"genesis sale not live"
387,403
_tokenIds.current()+qty<=genesis[0]
"genesis price not correct"
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/ut...
genesis[2]*qty==msg.value,"genesis price not correct"
387,403
genesis[2]*qty==msg.value
"pioneer sale not live"
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/ut...
_tokenIds.current()+qty>genesis[0]&&_tokenIds.current()+qty<=pioneer[0],"pioneer sale not live"
387,403
_tokenIds.current()+qty>genesis[0]&&_tokenIds.current()+qty<=pioneer[0]
"pioneer price not correct"
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/ut...
pioneer[2]*qty==msg.value,"pioneer price not correct"
387,403
pioneer[2]*qty==msg.value
"builder sale not live"
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/ut...
_tokenIds.current()+qty>pioneer[0]&&_tokenIds.current()+qty<=builder[0],"builder sale not live"
387,403
_tokenIds.current()+qty>pioneer[0]&&_tokenIds.current()+qty<=builder[0]
"builder price not correct"
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/ut...
builder[2]*qty==msg.value,"builder price not correct"
387,403
builder[2]*qty==msg.value
"dao sale not live"
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/ut...
_tokenIds.current()+qty>builder[0]&&_tokenIds.current()+qty<=dao[0],"dao sale not live"
387,403
_tokenIds.current()+qty>builder[0]&&_tokenIds.current()+qty<=dao[0]
"dao price not correct"
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/ut...
dao[2]*qty<=msg.value,"dao price not correct"
387,403
dao[2]*qty<=msg.value
"public sale out of stock"
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/ut...
(_tokenIds.current()-builder[0])+qty<=maxDaoSupply,"public sale out of stock"
387,403
(_tokenIds.current()-builder[0])+qty<=maxDaoSupply
"you already claimed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/ut...
claimedPerID[nftID]<maxFreeNFTperID,"you already claimed"
387,403
claimedPerID[nftID]<maxFreeNFTperID
"ownership required"
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/ut...
ownerOf(nftID)==msg.sender,"ownership required"
387,403
ownerOf(nftID)==msg.sender
"out of stock"
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/ut...
_tokenIds.current()+qty<=maxSupply,"out of stock"
387,403
_tokenIds.current()+qty<=maxSupply
"!voter"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.7; pragma experimental ABIEncoderV2; import "../lib/safe-math.sol"; import "../lib/erc20.sol"; import "../interfaces/univ3/IUniswapV3PositionsNFT.sol"; import "../interfaces/backscratcher/FraxGauge.sol"; interface IProxy { function execute( address to, ...
voters[msg.sender],"!voter"
387,440
voters[msg.sender]