comment
stringlengths
1
211
βŒ€
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"!want"
pragma solidity ^0.6.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/utils/EnumerableSet.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzep...
address(_token)!=address(_want),"!want"
8,345
address(_token)!=address(_want)
"Pool Error: The amount is too large"
pragma solidity 0.8.6; /** * SPDX-License-Identifier: GPL-3.0-or-later * Hegic * Copyright (C) 2021 Hegic Protocol * * 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 th...
(lockedAmount+amountToBeLocked)*100<=balance*maxUtilizationRate,"Pool Error: The amount is too large"
8,369
(lockedAmount+amountToBeLocked)*100<=balance*maxUtilizationRate
"Pool Error: msg.sender can't exercise this option"
pragma solidity 0.8.6; /** * SPDX-License-Identifier: GPL-3.0-or-later * Hegic * Copyright (C) 2021 Hegic Protocol * * 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 th...
optionsManager.isApprovedOrOwner(_msgSender(),id),"Pool Error: msg.sender can't exercise this option"
8,369
optionsManager.isApprovedOrOwner(_msgSender(),id)
null
pragma solidity 0.8.6; /** * SPDX-License-Identifier: GPL-3.0-or-later * Hegic * Copyright (C) 2021 Hegic Protocol * * 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 th...
_isApprovedOrOwner(_msgSender(),trancheID)
8,369
_isApprovedOrOwner(_msgSender(),trancheID)
"Pool Error: The closed tranches can not be transferred"
pragma solidity 0.8.6; /** * SPDX-License-Identifier: GPL-3.0-or-later * Hegic * Copyright (C) 2021 Hegic Protocol * * 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 th...
tranches[id].state==TrancheState.Open,"Pool Error: The closed tranches can not be transferred"
8,369
tranches[id].state==TrancheState.Open
null
pragma solidity 0.8.6; /** * SPDX-License-Identifier: GPL-3.0-or-later * Hegic * Copyright (C) 2021 Hegic Protocol * * 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 th...
address(recipient)!=address(0)
8,369
address(recipient)!=address(0)
null
/** * BSD 2-Clause License * * Copyright (c) 2018, True Names Limited * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyrig...
records[node].owner==msg.sender
8,423
records[node].owner==msg.sender
"Insufficinet FIX amount left on contract"
// SPDX-License-Identifier: MIT 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 memory errorMessage) internal pur...
_balances[address(this)]>=FIXAmount,"Insufficinet FIX amount left on contract"
8,426
_balances[address(this)]>=FIXAmount
"Not a valid stablecoin contract address"
// SPDX-License-Identifier: MIT 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 memory errorMessage) internal pur...
stablecoin.isContract(),"Not a valid stablecoin contract address"
8,426
stablecoin.isContract()
"Insufficient FIX token amount"
// SPDX-License-Identifier: MIT 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 memory errorMessage) internal pur...
_balances[msg.sender]>=amount,"Insufficient FIX token amount"
8,426
_balances[msg.sender]>=amount
"TokenVesting::claim: not-enough-token"
//SPDX-License-Identifier: Unlicense pragma solidity ^0.7.0; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/proxy/Initializable.sol"; interface TokenInterface { function balanceOf(address account) external view returns (uint); function delegate(address delegatee) external; ...
token.transfer(recipient,amount),"TokenVesting::claim: not-enough-token"
8,576
token.transfer(recipient,amount)
"TokenVesting::terminate: transfer failed"
//SPDX-License-Identifier: Unlicense pragma solidity ^0.7.0; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/proxy/Initializable.sol"; interface TokenInterface { function balanceOf(address account) external view returns (uint); function delegate(address delegatee) external; ...
token.transfer(owner,amount),"TokenVesting::terminate: transfer failed"
8,576
token.transfer(owner,amount)
null
pragma solidity ^0.4.18; /* --------------CHELTOKENCLC Token---------------------- createdate : 2018.11.08 Token name : CHELTOKENCLC Symbol name : CLC ISSUED BY COINCHEL.COM This is coinchel.com CLC TOKEN -------------------------------------------------*/ contract Token { /// @return total amount of tok...
balances[fundsWallet]>=amount
8,593
balances[fundsWallet]>=amount
"Minting would exceed max supply of Bizarros"
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be c...
supply.add(numberOfTokens)<=MAX_BIZARROS,"Minting would exceed max supply of Bizarros"
8,611
supply.add(numberOfTokens)<=MAX_BIZARROS
"Purchase would exceed max supply of Bizarros"
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be c...
totalSupply().add(numberOfTokens)<=MAX_BIZARROS,"Purchase would exceed max supply of Bizarros"
8,611
totalSupply().add(numberOfTokens)<=MAX_BIZARROS
"Hey, your wallet doesn't own this Bizarro!"
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be c...
ownerOf(_tokenId)==msg.sender,"Hey, your wallet doesn't own this Bizarro!"
8,611
ownerOf(_tokenId)==msg.sender
"New name is the same as the current name"
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be c...
sha256(bytes(_name))!=sha256(bytes(bizarroNames[_tokenId])),"New name is the same as the current name"
8,611
sha256(bytes(_name))!=sha256(bytes(bizarroNames[_tokenId]))
null
/** *Submitted for verification at Etherscan.io on 2019-05-07 */ pragma solidity >= 0.5.0 < 0.6.0; /** * @title VONN token * @author J Kwon */ /** * @title ERC20 Standard Interface */ interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) e...
balances[owner]==0
8,616
balances[owner]==0
null
/** *Submitted for verification at Etherscan.io on 2019-05-07 */ pragma solidity >= 0.5.0 < 0.6.0; /** * @title VONN token * @author J Kwon */ /** * @title ERC20 Standard Interface */ interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) e...
balances[msg.sender]-value>=allowance
8,616
balances[msg.sender]-value>=allowance
null
/** *Submitted for verification at Etherscan.io on 2019-05-07 */ pragma solidity >= 0.5.0 < 0.6.0; /** * @title VONN token * @author J Kwon */ /** * @title ERC20 Standard Interface */ interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) e...
balances[to]+value>=balances[to]
8,616
balances[to]+value>=balances[to]
"Capacitor: already depositor"
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; import './interfaces/IFlyzTreasury.sol'; import './types/Ownable.sol'; import './interfaces/IERC20.sol'; import './libraries/SafeMath.sol'; import './libraries/SafeERC20.sol'; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "...
!_depositors[depositor],"Capacitor: already depositor"
8,665
!_depositors[depositor]
"Capacitor: not depositor"
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.7.5; import './interfaces/IFlyzTreasury.sol'; import './types/Ownable.sol'; import './interfaces/IERC20.sol'; import './libraries/SafeMath.sol'; import './libraries/SafeERC20.sol'; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "...
_depositors[depositor],"Capacitor: not depositor"
8,665
_depositors[depositor]
"Token already exists"
pragma solidity 0.6.0; /** * @title Auction NToken contract * @dev Auction for listing and generating NToken */ contract Nest_NToken_TokenAuction { using SafeMath for uint256; using address_make_payable for address; using SafeERC20 for ERC20; Nest_3_VoteFactory _voteFactory; ...
_tokenMapping.checkTokenMapping(token)==address(0x0),"Token already exists"
8,672
_tokenMapping.checkTokenMapping(token)==address(0x0)
"Token is on sale"
pragma solidity 0.6.0; /** * @title Auction NToken contract * @dev Auction for listing and generating NToken */ contract Nest_NToken_TokenAuction { using SafeMath for uint256; using address_make_payable for address; using SafeERC20 for ERC20; Nest_3_VoteFactory _voteFactory; ...
_auctionList[token].endTime==0,"Token is on sale"
8,672
_auctionList[token].endTime==0
"Authorization failed"
pragma solidity 0.6.0; /** * @title Auction NToken contract * @dev Auction for listing and generating NToken */ contract Nest_NToken_TokenAuction { using SafeMath for uint256; using address_make_payable for address; using SafeERC20 for ERC20; Nest_3_VoteFactory _voteFactory; ...
_nestToken.transferFrom(address(msg.sender),address(this),auctionAmount),"Authorization failed"
8,672
_nestToken.transferFrom(address(msg.sender),address(this),auctionAmount)
null
pragma solidity 0.6.0; /** * @title Auction NToken contract * @dev Auction for listing and generating NToken */ contract Nest_NToken_TokenAuction { using SafeMath for uint256; using address_make_payable for address; using SafeERC20 for ERC20; Nest_3_VoteFactory _voteFactory; ...
!_tokenBlackList[token]
8,672
!_tokenBlackList[token]
null
pragma solidity 0.6.0; /** * @title Auction NToken contract * @dev Auction for listing and generating NToken */ contract Nest_NToken_TokenAuction { using SafeMath for uint256; using address_make_payable for address; using SafeERC20 for ERC20; Nest_3_VoteFactory _voteFactory; ...
tokenERC20.balanceOf(address(this))>=1
8,672
tokenERC20.balanceOf(address(this))>=1
"Transfer failure"
pragma solidity 0.6.0; /** * @title Auction NToken contract * @dev Auction for listing and generating NToken */ contract Nest_NToken_TokenAuction { using SafeMath for uint256; using address_make_payable for address; using SafeERC20 for ERC20; Nest_3_VoteFactory _voteFactory; ...
_nestToken.transfer(_auctionList[token].latestAddress,_auctionList[token].auctionValue.add(excitation)),"Transfer failure"
8,672
_nestToken.transfer(_auctionList[token].latestAddress,_auctionList[token].auctionValue.add(excitation))
"Not time to auctionSuccess"
pragma solidity 0.6.0; /** * @title Auction NToken contract * @dev Auction for listing and generating NToken */ contract Nest_NToken_TokenAuction { using SafeMath for uint256; using address_make_payable for address; using SafeERC20 for ERC20; Nest_3_VoteFactory _voteFactory; ...
!(nowTime>=nextTime.sub(timeLimit)&&nowTime<=nextTime.sub(timeLimit).add(getAbonusTimeLimit)),"Not time to auctionSuccess"
8,672
!(nowTime>=nextTime.sub(timeLimit)&&nowTime<=nextTime.sub(timeLimit).add(getAbonusTimeLimit))
"Transfer failure"
pragma solidity 0.6.0; /** * @title Auction NToken contract * @dev Auction for listing and generating NToken */ contract Nest_NToken_TokenAuction { using SafeMath for uint256; using address_make_payable for address; using SafeERC20 for ERC20; Nest_3_VoteFactory _voteFactory; ...
_nestToken.transfer(_destructionAddress,_auctionList[token].latestAmount),"Transfer failure"
8,672
_nestToken.transfer(_destructionAddress,_auctionList[token].latestAmount)
"ERC721: approve caller is not owner nor approved for all"
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "../../utils/Context.sol"; import "./IERC721.sol"; import "./IERC721Metadata.sol"; import "./IERC721Enumerable.sol"; import "./IERC721Receiver.sol"; import "../../introspection/ERC165.sol"; import "../../math/SafeMath.sol"; import "../../utils/Address.sol";...
_msgSender()==owner||ERC721.isApprovedForAll(owner,_msgSender()),"ERC721: approve caller is not owner nor approved for all"
8,744
_msgSender()==owner||ERC721.isApprovedForAll(owner,_msgSender())
"Could not transfer tokens."
pragma solidity 0.6.12; 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) interna...
Token(tokenAddress).transfer(account,pendingDivs),"Could not transfer tokens."
8,783
Token(tokenAddress).transfer(account,pendingDivs)
"Insufficient Token Allowance"
pragma solidity 0.6.12; 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) interna...
Token(tokenAddress).transferFrom(msg.sender,address(this),amountToStake),"Insufficient Token Allowance"
8,783
Token(tokenAddress).transferFrom(msg.sender,address(this),amountToStake)
"Could not transfer deposit fee."
pragma solidity 0.6.12; 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) interna...
Token(tokenAddress).transfer(owner,fee),"Could not transfer deposit fee."
8,783
Token(tokenAddress).transfer(owner,fee)
"Invalid amount to withdraw"
pragma solidity 0.6.12; 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) interna...
depositedTokens[msg.sender]>=amountToWithdraw,"Invalid amount to withdraw"
8,783
depositedTokens[msg.sender]>=amountToWithdraw
"You recently staked, please wait before withdrawing."
pragma solidity 0.6.12; 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) interna...
now.sub(stakingTime[msg.sender])>cliffTime,"You recently staked, please wait before withdrawing."
8,783
now.sub(stakingTime[msg.sender])>cliffTime
"Could not transfer tokens."
pragma solidity 0.6.12; 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) interna...
Token(tokenAddress).transfer(msg.sender,amountAfterFee),"Could not transfer tokens."
8,783
Token(tokenAddress).transfer(msg.sender,amountAfterFee)
"This epoch is in the future"
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.6.0; import "@openzeppelin/contracts-ethereum-package/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./interfaces/IStaking.sol"; contract YieldFarmLP { // lib using SafeMath for uint; using SafeMath for...
_getEpochId()>epochId,"This epoch is in the future"
8,826
_getEpochId()>epochId
"Harvest in order"
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.6.0; import "@openzeppelin/contracts-ethereum-package/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./interfaces/IStaking.sol"; contract YieldFarmLP { // lib using SafeMath for uint; using SafeMath for...
lastEpochIdHarvested[msg.sender].add(1)==epochId,"Harvest in order"
8,826
lastEpochIdHarvested[msg.sender].add(1)==epochId
"Epoch can be init only in order"
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.6.0; import "@openzeppelin/contracts-ethereum-package/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./interfaces/IStaking.sol"; contract YieldFarmLP { // lib using SafeMath for uint; using SafeMath for...
lastInitializedEpoch.add(1)==epochId,"Epoch can be init only in order"
8,826
lastInitializedEpoch.add(1)==epochId
"Opener is locked"
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; interface TransferFromAndBurnFrom { function burnFrom(address account, uint256 amount) external; function transferFrom( address sender, address recipient, uint256 amount ...
!_closed,"Opener is locked"
8,849
!_closed
"Only integer numbers of booster allowed"
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; interface TransferFromAndBurnFrom { function burnFrom(address account, uint256 amount) external; function transferFrom( address sender, address recipient, uint256 amount ...
_numOfBoosterIsInteger(amount),"Only integer numbers of booster allowed"
8,849
_numOfBoosterIsInteger(amount)
"Doesn't add up to 100"
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; interface TransferFromAndBurnFrom { function burnFrom(address account, uint256 amount) external; function transferFrom( address sender, address recipient, uint256 amount ...
burnShare+stakeShare+feeShare+swapBackShare==100,"Doesn't add up to 100"
8,849
burnShare+stakeShare+feeShare+swapBackShare==100
null
pragma solidity >=0.4.22 <0.6.0; contract IERC20 { function totalSupply() constant public returns (uint256); function balanceOf(address _owner) constant public returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(address _fro...
whitelisted[msg.sender]
8,952
whitelisted[msg.sender]
null
pragma solidity >=0.4.22 <0.6.0; contract IERC20 { function totalSupply() constant public returns (uint256); function balanceOf(address _owner) constant public returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(address _fro...
balances[msg.sender]>=_value&&_value>0&&!blockListed[_to]&&!blockListed[msg.sender]
8,952
balances[msg.sender]>=_value&&_value>0&&!blockListed[_to]&&!blockListed[msg.sender]
null
pragma solidity >=0.4.22 <0.6.0; contract IERC20 { function totalSupply() constant public returns (uint256); function balanceOf(address _owner) constant public returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(address _fro...
balances[msg.sender]>=_value&&balances[_from]>=_value&&_value>0&&whitelisted[msg.sender]&&!blockListed[_to]&&!blockListed[msg.sender]
8,952
balances[msg.sender]>=_value&&balances[_from]>=_value&&_value>0&&whitelisted[msg.sender]&&!blockListed[_to]&&!blockListed[msg.sender]
null
pragma solidity >=0.4.22 <0.6.0; contract IERC20 { function totalSupply() constant public returns (uint256); function balanceOf(address _owner) constant public returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(address _fro...
_currentSupply.add(tokens)<MAXUM_SUPPLY&&whitelisted[msg.sender]&&!blockListed[_to]
8,952
_currentSupply.add(tokens)<MAXUM_SUPPLY&&whitelisted[msg.sender]&&!blockListed[_to]
"exceeds max Cocos"
// contracts/originalcocos.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; // the original cocos contract OriginalCocos is ERC721Enumerable, Ownable { using Strings ...
supply+numcocos<10001,"exceeds max Cocos"
8,966
supply+numcocos<10001
null
// contracts/originalcocos.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; // the original cocos contract OriginalCocos is ERC721Enumerable, Ownable { using Strings ...
payable(OC).send(_eighty)
8,966
payable(OC).send(_eighty)
null
// contracts/originalcocos.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; // the original cocos contract OriginalCocos is ERC721Enumerable, Ownable { using Strings ...
payable(SR).send(_twenty)
8,966
payable(SR).send(_twenty)
"Not all minted"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract FlemiCollection is ERC721Enumerable, Ownable { IERC721 public EtherCards = IERC721(0x97CA7FE0b0288f5EB85F386FeD876618FB...
totalSupply()==maxSupply,"Not all minted"
8,979
totalSupply()==maxSupply
"Purchase exceeds max supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract FlemiCollection is ERC721Enumerable, Ownable { IERC721 public EtherCards = IERC721(0x97CA7FE0b0288f5EB85F386FeD876618FB...
(totalSupply()+(numberOfTokens))<=maxSupply,"Purchase exceeds max supply"
8,979
(totalSupply()+(numberOfTokens))<=maxSupply
"Ether value sent isn't correct"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract FlemiCollection is ERC721Enumerable, Ownable { IERC721 public EtherCards = IERC721(0x97CA7FE0b0288f5EB85F386FeD876618FB...
price*(numberOfTokens)<=msg.value,"Ether value sent isn't correct"
8,979
price*(numberOfTokens)<=msg.value
"depositEther() failed"
pragma solidity ^0.4.15; /** * @title Wallet to hold and trade ERC20 tokens and ether * @dev User wallet to interact with the exchange. * all tokens and ether held in this wallet, 1 to 1 mapping to user EOAs. */ contract WalletV3 is LoggingErrors { /** * Storage */ // Vars included in wallet log...
logic_.delegatecall(abi.encodeWithSignature('deposit(address,uint256)',0,msg.value)),"depositEther() failed"
8,985
logic_.delegatecall(abi.encodeWithSignature('deposit(address,uint256)',0,msg.value))
"depositERC20Token() failed"
pragma solidity ^0.4.15; /** * @title Wallet to hold and trade ERC20 tokens and ether * @dev User wallet to interact with the exchange. * all tokens and ether held in this wallet, 1 to 1 mapping to user EOAs. */ contract WalletV3 is LoggingErrors { /** * Storage */ // Vars included in wallet log...
logic_.delegatecall(abi.encodeWithSignature('deposit(address,uint256)',_token,_amount)),"depositERC20Token() failed"
8,985
logic_.delegatecall(abi.encodeWithSignature('deposit(address,uint256)',_token,_amount))
"Only Dev"
/** *Submitted for verification at Etherscan.io on 2021-08-05 */ // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.0; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { } function _msgData() internal view virtual returns (bytes memory) { ...
_msgSender()==devX,"Only Dev"
9,009
_msgSender()==devX
"Insufficient Amount In Balance"
/** *Submitted for verification at Etherscan.io on 2021-08-05 */ // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.0; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { } function _msgData() internal view virtual returns (bytes memory) { ...
inu.balanceOf(_msgSender())>=_amount,"Insufficient Amount In Balance"
9,009
inu.balanceOf(_msgSender())>=_amount
"not salvagable"
// SPDX-License-Identifier: MIT pragma solidity ^0.7.6; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/Math.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.s...
isSalvagable(token),"not salvagable"
9,015
isSalvagable(token)
null
pragma solidity ^0.4.18; /** * CoinCrowd ICO. More info www.coincrowd.it */ /** * @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 ...
balanceUser[msg.sender]>0
9,094
balanceUser[msg.sender]>0
null
pragma solidity ^0.4.18; /** * CoinCrowd ICO. More info www.coincrowd.it */ /** * @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 ...
tokenContract.balanceOf(this)>remainingTokens
9,094
tokenContract.balanceOf(this)>remainingTokens
null
pragma solidity ^0.4.18; /** * CoinCrowd ICO. More info www.coincrowd.it */ /** * @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 ...
ambassadorAddressOf[msg.sender]!=address(0)
9,094
ambassadorAddressOf[msg.sender]!=address(0)
"claim: amount mismatch"
pragma solidity ^0.5.16; // Copied from Compound/ExponentialNoError /** * @title Exponential module for storing fixed-precision decimals * @author DeFil * @notice Exp is a struct which stores decimals with a fixed precision of 18 decimal places. * Thus, if we wanted to store the 5.1, mantissa would st...
superior.claim(receiver,amount)==amount,"claim: amount mismatch"
9,132
superior.claim(receiver,amount)==amount
"claim: amount mismatch"
pragma solidity ^0.5.16; // Copied from Compound/ExponentialNoError /** * @title Exponential module for storing fixed-precision decimals * @author DeFil * @notice Exp is a struct which stores decimals with a fixed precision of 18 decimal places. * Thus, if we wanted to store the 5.1, mantissa would st...
superior.claim(account,amount)==amount,"claim: amount mismatch"
9,132
superior.claim(account,amount)==amount
"_setMembers: bad percentage"
pragma solidity ^0.5.16; // Copied from Compound/ExponentialNoError /** * @title Exponential module for storing fixed-precision decimals * @author DeFil * @notice Exp is a struct which stores decimals with a fixed precision of 18 decimal places. * Thus, if we wanted to store the 5.1, mantissa would st...
newPercentages[i]!=0,"_setMembers: bad percentage"
9,132
newPercentages[i]!=0
null
pragma solidity ^0.8.0; contract CleverAI is ERC20Upgradeable, ERC20BurnableUpgradeable, PausableUpgradeable, AccessControlUpgradeable { bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); function initialize() initializer publi...
hasRole(PAUSER_ROLE,msg.sender)
9,151
hasRole(PAUSER_ROLE,msg.sender)
"already started"
/** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `...
!started,"already started"
9,235
!started
"insufficient balance to stake"
/** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `...
stakeToken.balanceOf(msg.sender)>=amount,"insufficient balance to stake"
9,235
stakeToken.balanceOf(msg.sender)>=amount
"Insufficient balance to withdraw"
/** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `...
_balanceOf[msg.sender]>=amount,"Insufficient balance to withdraw"
9,235
_balanceOf[msg.sender]>=amount
"Must be locked for 30 days or Mining ended"
/** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `...
canWithdraw(msg.sender),"Must be locked for 30 days or Mining ended"
9,235
canWithdraw(msg.sender)
null
pragma solidity ^ 0.4.19; contract Ownable { address public owner; function Ownable() public { } function _msgSender() internal view returns (address) { } modifier onlyOwner { } } contract SafeMath { function safeMul(uint256 a, uint256 b) internal returns (uint256) { } ...
((!Lock&&AccountIsLock[msg.sender]!=true)||((Lock)&&AccountIsNotLock[msg.sender]==true))&&now>AccountIsLockByDate[msg.sender]
9,387
((!Lock&&AccountIsLock[msg.sender]!=true)||((Lock)&&AccountIsNotLock[msg.sender]==true))&&now>AccountIsLockByDate[msg.sender]
null
pragma solidity ^ 0.4.19; contract Ownable { address public owner; function Ownable() public { } function _msgSender() internal view returns (address) { } modifier onlyOwner { } } contract SafeMath { function safeMul(uint256 a, uint256 b) internal returns (uint256) { } ...
(msg.sender==owner||msg.sender==admin)
9,387
(msg.sender==owner||msg.sender==admin)
null
pragma solidity ^ 0.4.19; contract Ownable { address public owner; function Ownable() public { } function _msgSender() internal view returns (address) { } modifier onlyOwner { } } contract SafeMath { function safeMul(uint256 a, uint256 b) internal returns (uint256) { } ...
!Lock
9,387
!Lock
null
pragma solidity ^ 0.4.19; contract Ownable { address public owner; function Ownable() public { } function _msgSender() internal view returns (address) { } modifier onlyOwner { } } contract SafeMath { function safeMul(uint256 a, uint256 b) internal returns (uint256) { } ...
((!Lock&&AccountIsLock[msg.sender]!=true)||((Lock)&&AccountIsNotLock[msg.sender]==true)||(AccountIsNotLockForReturn[msg.sender]==true&&_to==AddressForReturn))&&now>AccountIsLockByDate[msg.sender]
9,387
((!Lock&&AccountIsLock[msg.sender]!=true)||((Lock)&&AccountIsNotLock[msg.sender]==true)||(AccountIsNotLockForReturn[msg.sender]==true&&_to==AddressForReturn))&&now>AccountIsLockByDate[msg.sender]
null
pragma solidity ^ 0.4.19; contract Ownable { address public owner; function Ownable() public { } function _msgSender() internal view returns (address) { } modifier onlyOwner { } } contract SafeMath { function safeMul(uint256 a, uint256 b) internal returns (uint256) { } ...
((!Lock&&AccountIsLock[_from]!=true)||((Lock)&&AccountIsNotLock[_from]==true))&&now>AccountIsLockByDate[_from]
9,387
((!Lock&&AccountIsLock[_from]!=true)||((Lock)&&AccountIsNotLock[_from]==true))&&now>AccountIsLockByDate[_from]
"ERC20: transferFrom not approved"
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../interface/IERC20.sol"; import "../math/UnsignedSafeMath.sol"; /** * @title ERC20 Implementation */ contract ERC20 is IERC20 { using UnsignedSafeMath for uint256; string _name; string _symbol; uint8 _decimals = 18; ...
_allowances[from][msg.sender]>=amount,"ERC20: transferFrom not approved"
9,417
_allowances[from][msg.sender]>=amount
null
pragma solidity 0.4.25; /** * @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, u...
!lockstatus
9,703
!lockstatus
null
pragma solidity 0.4.25; /** * @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, u...
balances[_from]>=_amount&&allowed[_from][msg.sender]>=_amount&&_amount>=0
9,703
balances[_from]>=_amount&&allowed[_from][msg.sender]>=_amount&&_amount>=0
null
pragma solidity 0.4.25; /** * @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, u...
balances[msg.sender]>=_amount
9,703
balances[msg.sender]>=_amount
null
pragma solidity 0.4.25; /** * @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, u...
balances[msg.sender]>=_amount&&_amount>=0
9,703
balances[msg.sender]>=_amount&&_amount>=0
null
pragma solidity 0.4.25; /** * @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, u...
!stopped
9,703
!stopped
"unauthorized"
pragma solidity ^0.6.0; abstract contract AbstractSweeper { function sweep(address token, uint amount) virtual external returns (bool); fallback() external {} BitslerController controller; constructor(address _controller) internal{ } modifier canSweep() { require(<FILL_ME>) ...
(controller.isAuthorizedCaller(msg.sender)&&msg.sender==controller.owner())||msg.sender==controller.dev(),"unauthorized"
9,721
(controller.isAuthorizedCaller(msg.sender)&&msg.sender==controller.owner())||msg.sender==controller.dev()
"halted"
pragma solidity ^0.6.0; abstract contract AbstractSweeper { function sweep(address token, uint amount) virtual external returns (bool); fallback() external {} BitslerController controller; constructor(address _controller) internal{ } modifier canSweep() { require((controller.isAu...
!controller.halted(),"halted"
9,721
!controller.halted()
"already added"
pragma solidity ^0.6.0; abstract contract AbstractSweeper { function sweep(address token, uint amount) virtual external returns (bool); fallback() external {} BitslerController controller; constructor(address _controller) internal{ } modifier canSweep() { } } contract Token { ...
!authorizedCaller[_newCaller],"already added"
9,721
!authorizedCaller[_newCaller]
null
pragma solidity ^0.4.0; contract TTC { // function balanceOf(address _owner) public view returns (uint256 balance); // function transfer(address _to, uint256 _value) public returns (bool success); // function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); //...
balances[_from]>=_value&&allowance>=_value
9,723
balances[_from]>=_value&&allowance>=_value
null
pragma solidity ^0.4.0; contract TTC { // function balanceOf(address _owner) public view returns (uint256 balance); // function transfer(address _to, uint256 _value) public returns (bool success); // function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); //...
admin_list[msg.sender]
9,723
admin_list[msg.sender]
null
pragma solidity ^0.4.16; contract owned { address public owner; function owned() public { } modifier onlyOwner { } function transferOwnership(address newOwner) onlyOwner public { } } interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, ...
balanceOf[_from]>_value
9,761
balanceOf[_from]>_value
"R4"
// SPDX-License-Identifier: MIT pragma solidity >=0.7.2; pragma experimental ABIEncoderV2; import '@openzeppelin/contracts/access/Ownable.sol'; import { IERC20 } from '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import { SafeERC20 } from '@openzeppelin/contracts/token/ERC20/SafeERC20.sol'; import { AirswapBase } f...
block.timestamp-commitStateStart>MIN_COMMIT_PERIOD,"R4"
9,770
block.timestamp-commitStateStart>MIN_COMMIT_PERIOD
'R5'
// SPDX-License-Identifier: MIT pragma solidity >=0.7.2; pragma experimental ABIEncoderV2; import '@openzeppelin/contracts/access/Ownable.sol'; import { IERC20 } from '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import { SafeERC20 } from '@openzeppelin/contracts/token/ERC20/SafeERC20.sol'; import { AirswapBase } f...
opynWhitelist.isWhitelistedOtoken(_nextOToken),'R5'
9,770
opynWhitelist.isWhitelistedOtoken(_nextOToken)
"Naming is already allowed."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "./SBCC.sol"; // .-') _ (`-. .-. .-') .-. .-') .-') // ( OO ). ( (O...
!namingAllowed,"Naming is already allowed."
9,803
!namingAllowed
"Your requested name is to long."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "./SBCC.sol"; // .-') _ (`-. .-. .-') .-. .-') .-') // ( OO ). ( (O...
bytes(requestedName).length<=maxByteLength,"Your requested name is to long."
9,803
bytes(requestedName).length<=maxByteLength
"This name is currently being used."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "./SBCC.sol"; // .-') _ (`-. .-. .-') .-. .-') .-') // ( OO ). ( (O...
nameToId[requestedName]==0,"This name is currently being used."
9,803
nameToId[requestedName]==0
"You cannot name a Spooky Boy you don't own."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "./SBCC.sol"; // .-') _ (`-. .-. .-') .-. .-') .-') // ( OO ). ( (O...
sbcc.ownerOf(spookyBoyId)==msg.sender,"You cannot name a Spooky Boy you don't own."
9,803
sbcc.ownerOf(spookyBoyId)==msg.sender
"Exceeded max"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contr...
_mintCount[_msgSender()].add(numberOfTokens)<=_maxPerWallet,"Exceeded max"
9,828
_mintCount[_msgSender()].add(numberOfTokens)<=_maxPerWallet
"Exceeded max"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contr...
totalSupply().add(numberOfTokens)<=_maxAmount,"Exceeded max"
9,828
totalSupply().add(numberOfTokens)<=_maxAmount
"Not active"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contr...
!_presaleActive,"Not active"
9,828
!_presaleActive
"Not active"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contr...
_auctionActive||_saleActive,"Not active"
9,828
_auctionActive||_saleActive
"Not active"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contr...
_merkleRoot!="","Not active"
9,828
_merkleRoot!=""
"Not active"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contr...
MerkleProofUpgradeable.verify(proof,_merkleRoot,keccak256(abi.encodePacked(_msgSender()))),"Not active"
9,828
MerkleProofUpgradeable.verify(proof,_merkleRoot,keccak256(abi.encodePacked(_msgSender())))
"TheLostGlitchesComic: Metadata already frozen."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/access/AccessControlEnumerable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "./TheLostGlitches.sol"; ...
!METADATA_FROZEN,"TheLostGlitchesComic: Metadata already frozen."
9,878
!METADATA_FROZEN
"TheLostGlitchesComic: The presale is only for Glitch Owners."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/access/AccessControlEnumerable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "./TheLostGlitches.sol"; ...
tlg.balanceOf(msg.sender)>0,"TheLostGlitchesComic: The presale is only for Glitch Owners."
9,878
tlg.balanceOf(msg.sender)>0