comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
null | pragma solidity ^0.4.25;
contract Utils {
function safeAdd(uint256 _x, uint256 _y) internal pure returns (uint256) {
}
function safeSub(uint256 _x, uint256 _y) internal pure returns (uint256) {
}
function safeMul(uint256 _x, uint256 _y) internal pure returns (uint256) {
}
function sa... | balanceOf[msg.sender]>=_value&&balanceOf[_to]+_value>balanceOf[_to] | 37,060 | balanceOf[msg.sender]>=_value&&balanceOf[_to]+_value>balanceOf[_to] |
null | pragma solidity ^0.5.0;
contract ETHYFIRewards is IRewardDistributionRecipient {
using SafeMath for uint256;
using SafeERC20 for IERC20;
IERC20 public typhoon;
uint256 public constant DURATION = 28 days;
uint256 public periodFinish = 0;
uint256 public rewardRate = 0;
uint256 public lastUpdat... | !nullifierHashDeposit[_nullifierHash] | 37,074 | !nullifierHashDeposit[_nullifierHash] |
"DInterest: Deposit not active" | pragma solidity 0.5.15;
pragma experimental ABIEncoderV2;
import "@nomiclabs/buidler/console.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/utils/Reentra... | depositEntry.active,"DInterest: Deposit not active" | 37,218 | depositEntry.active |
"{setAuctionCurve} : invalid auctionCurveAddress" | pragma solidity 0.7.5;
// solhint-disable-next-line
abstract contract BaseAuctions is IAuction, Ownable {
using Address for address;
using SafeERC20 for IERC20;
// calulations
DefiKey[] public defiKeys;// solhint-disable-line var-name-mixedcase;
IAuctionCurve public auctionCurve;
IERC20 ... | auctionCurveAddress.isContract(),"{setAuctionCurve} : invalid auctionCurveAddress" | 37,258 | auctionCurveAddress.isContract() |
"Minting this many would exceed supply!" | pragma solidity ^0.8.0;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
interface ENS_Regi... | totalSupply()+quantity<=MAXTOKENS,"Minting this many would exceed supply!" | 37,412 | totalSupply()+quantity<=MAXTOKENS |
"There is a per-wallet limit!" | pragma solidity ^0.8.0;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
interface ENS_Regi... | _numberMinted(msg.sender)+quantity<=WALLETLIMIT,"There is a per-wallet limit!" | 37,412 | _numberMinted(msg.sender)+quantity<=WALLETLIMIT |
"Provenance already set!" | pragma solidity ^0.8.0;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
interface ENS_Regi... | bytes(provenance).length==0,"Provenance already set!" | 37,412 | bytes(provenance).length==0 |
"Base URI not yet set" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Own... | bytes(_rootURI).length>0,"Base URI not yet set" | 37,738 | bytes(_rootURI).length>0 |
"Not enough tokens left" | // SPDX-License-Identifier: MIT
pragma solidity >=0.7.3;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract TheFruits is ERC721, Ownable {
using SafeMath for uint256;
/*
Varia... | supply.add(_numberOfTokens)<=maxSupply.sub(reservedTokens),"Not enough tokens left" | 37,778 | supply.add(_numberOfTokens)<=maxSupply.sub(reservedTokens) |
"Inconsistent amount sent" | // SPDX-License-Identifier: MIT
pragma solidity >=0.7.3;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract TheFruits is ERC721, Ownable {
using SafeMath for uint256;
/*
Varia... | _numberOfTokens.mul(price)<=msg.value,"Inconsistent amount sent" | 37,778 | _numberOfTokens.mul(price)<=msg.value |
"DESTINATION_ADDRESS_IS_NOT_A_CONTRACT" | pragma solidity ^0.5.2;
contract Proxy is ProxyStorage, DelegateProxy {
event ProxyUpdated(address indexed _new, address indexed _old);
event OwnerUpdate(address _prevOwner, address _newOwner);
constructor(address _proxyTo) public {
}
function() external payable {
}
function implemen... | isContract(_newProxyTo),"DESTINATION_ADDRESS_IS_NOT_A_CONTRACT" | 37,811 | isContract(_newProxyTo) |
"Failed to transfer tokens to SplitVault." | //SPDX-License-Identifier: MIT
pragma solidity ^0.6.8;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./CapitalComponentToken.sol";
import "./YieldComponentToken.sol";
contract SplitVault is Ownable {
/*
* Sto... | IERC20(tokenAddress).transferFrom(msg.sender,address(this),amount),"Failed to transfer tokens to SplitVault." | 37,856 | IERC20(tokenAddress).transferFrom(msg.sender,address(this),amount) |
"Failed to transfer tokens from SplitVault." | //SPDX-License-Identifier: MIT
pragma solidity ^0.6.8;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./CapitalComponentToken.sol";
import "./YieldComponentToken.sol";
contract SplitVault is Ownable {
/*
* Sto... | IERC20(tokenAddress).transfer(recipient,amount),"Failed to transfer tokens from SplitVault." | 37,856 | IERC20(tokenAddress).transfer(recipient,amount) |
null | pragma solidity ^0.4.21;
/*
* Basic PHX-Ethereum Exchange
*
* This contract keeps a list of buy/sell orders for PHX coins
* and acts as a market-maker matching sellers to buyers.
*
* //*** Developed By:
* _____ _ _ _ ___ _
* |_ _|__ __| |_ _ _ (_)__ __ _| | _ (_)__... | _humanSender(msg.sender) | 37,890 | _humanSender(msg.sender) |
null | pragma solidity ^0.4.21;
/*
* Basic PHX-Ethereum Exchange
*
* This contract keeps a list of buy/sell orders for PHX coins
* and acts as a market-maker matching sellers to buyers.
*
* //*** Developed By:
* _____ _ _ _ ___ _
* |_ _|__ __| |_ _ _ (_)__ __ _| | _ (_)__... | tknAddrNdx[msg.sender]==0 | 37,890 | tknAddrNdx[msg.sender]==0 |
null | pragma solidity ^0.4.21;
/*
* Basic PHX-Ethereum Exchange
*
* This contract keeps a list of buy/sell orders for PHX coins
* and acts as a market-maker matching sellers to buyers.
*
* //*** Developed By:
* _____ _ _ _ ___ _
* |_ _|__ __| |_ _ _ (_)__ __ _| | _ (_)__... | phxCoin.transferFrom(msg.sender,this,_tokensOffered) | 37,890 | phxCoin.transferFrom(msg.sender,this,_tokensOffered) |
null | pragma solidity ^0.4.21;
/*
* Basic PHX-Ethereum Exchange
*
* This contract keeps a list of buy/sell orders for PHX coins
* and acts as a market-maker matching sellers to buyers.
*
* //*** Developed By:
* _____ _ _ _ ___ _
* |_ _|__ __| |_ _ _ (_)__ __ _| | _ (_)__... | ethAddrNdx[msg.sender]==0 | 37,890 | ethAddrNdx[msg.sender]==0 |
null | pragma solidity ^0.4.21;
/*
* Basic PHX-Ethereum Exchange
*
* This contract keeps a list of buy/sell orders for PHX coins
* and acts as a market-maker matching sellers to buyers.
*
* //*** Developed By:
* _____ _ _ _ ___ _
* |_ _|__ __| |_ _ _ (_)__ __ _| | _ (_)__... | phxCoin.transfer(msg.sender,tknTokensOffered[_offeror]) | 37,890 | phxCoin.transfer(msg.sender,tknTokensOffered[_offeror]) |
null | pragma solidity ^0.4.21;
/*
* Basic PHX-Ethereum Exchange
*
* This contract keeps a list of buy/sell orders for PHX coins
* and acts as a market-maker matching sellers to buyers.
*
* //*** Developed By:
* _____ _ _ _ ___ _
* |_ _|__ __| |_ _ _ (_)__ __ _| | _ (_)__... | phxCoin.transferFrom(msg.sender,_offeror,_purchasePrice) | 37,890 | phxCoin.transferFrom(msg.sender,_offeror,_purchasePrice) |
null | pragma solidity ^0.4.21;
/*
* Basic PHX-Ethereum Exchange
*
* This contract keeps a list of buy/sell orders for PHX coins
* and acts as a market-maker matching sellers to buyers.
*
* //*** Developed By:
* _____ _ _ _ ___ _
* |_ _|__ __| |_ _ _ (_)__ __ _| | _ (_)__... | tknTokensOffered[msg.sender]!=0 | 37,890 | tknTokensOffered[msg.sender]!=0 |
null | pragma solidity ^0.4.21;
/*
* Basic PHX-Ethereum Exchange
*
* This contract keeps a list of buy/sell orders for PHX coins
* and acts as a market-maker matching sellers to buyers.
*
* //*** Developed By:
* _____ _ _ _ ___ _
* |_ _|__ __| |_ _ _ (_)__ __ _| | _ (_)__... | ethEtherOffered[msg.sender]!=0 | 37,890 | ethEtherOffered[msg.sender]!=0 |
"BC:210" | // SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/// @title Burnable
///
/// @notice This contract covers everything related
/// to the burn functions
///
contract Burnable {
/// @dev Declare a private bool {_burningEnabled}
///
bool private _burningEnabled;
/// @dev Declare a public constant ... | burningEnabled(),"BC:210" | 38,082 | burningEnabled() |
"cannot rebalance" | /**
* @title Crab Strategy
*
* @notice Rebalancing strategy for Coinsul Uni V3 Vault that maintains the two
* following range orders:
*
* 1. Base order is placed between X - B and X + B + TS.
* 2. Limit order is placed between X - L and X, or between X + TS
* and X + L + ... | shouldRebalance(_vault),"cannot rebalance" | 38,151 | shouldRebalance(_vault) |
"vault not registered" | /**
* @title Crab Strategy
*
* @notice Rebalancing strategy for Coinsul Uni V3 Vault that maintains the two
* following range orders:
*
* 1. Base order is placed between X - B and X + B + TS.
* 2. Limit order is placed between X - L and X, or between X + TS
* and X + L + ... | vaultStrategyData[_vault].isInitialized,"vault not registered" | 38,151 | vaultStrategyData[_vault].isInitialized |
"threshold must be multiple of tickSpacing" | /**
* @title Crab Strategy
*
* @notice Rebalancing strategy for Coinsul Uni V3 Vault that maintains the two
* following range orders:
*
* 1. Base order is placed between X - B and X + B + TS.
* 2. Limit order is placed between X - L and X, or between X + TS
* and X + L + ... | threshold%_tickSpacing==0,"threshold must be multiple of tickSpacing" | 38,151 | threshold%_tickSpacing==0 |
"Already in AutoPool" | /**
*Submitted for verification at Etherscan.io on 2020-05-24
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-23
*/
/*
██████╗░██╗░░░██╗██╗░░░░░██╗░░░░░██████╗░██╗░░░██╗███╗░░██╗
██╔══██╗██║░░░██║██║░░░░░██║░░░░░██╔══██╗██║░░░██║████╗░██║
██████╦╝██║░░░██║██║░░░░░██║░░░░░██████╔╝██║░░░██║██╔██╗... | !pool1users[msg.sender].isExist,"Already in AutoPool" | 38,223 | !pool1users[msg.sender].isExist |
"Already in AutoPool" | /**
*Submitted for verification at Etherscan.io on 2020-05-24
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-23
*/
/*
██████╗░██╗░░░██╗██╗░░░░░██╗░░░░░██████╗░██╗░░░██╗███╗░░██╗
██╔══██╗██║░░░██║██║░░░░░██║░░░░░██╔══██╗██║░░░██║████╗░██║
██████╦╝██║░░░██║██║░░░░░██║░░░░░██████╔╝██║░░░██║██╔██╗... | !pool2users[msg.sender].isExist,"Already in AutoPool" | 38,223 | !pool2users[msg.sender].isExist |
"Must need 0 referral" | /**
*Submitted for verification at Etherscan.io on 2020-05-24
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-23
*/
/*
██████╗░██╗░░░██╗██╗░░░░░██╗░░░░░██████╗░██╗░░░██╗███╗░░██╗
██╔══██╗██║░░░██║██║░░░░░██║░░░░░██╔══██╗██║░░░██║████╗░██║
██████╦╝██║░░░██║██║░░░░░██║░░░░░██████╔╝██║░░░██║██╔██╗... | users[msg.sender].referredUsers>=0,"Must need 0 referral" | 38,223 | users[msg.sender].referredUsers>=0 |
"Already in AutoPool" | /**
*Submitted for verification at Etherscan.io on 2020-05-24
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-23
*/
/*
██████╗░██╗░░░██╗██╗░░░░░██╗░░░░░██████╗░██╗░░░██╗███╗░░██╗
██╔══██╗██║░░░██║██║░░░░░██║░░░░░██╔══██╗██║░░░██║████╗░██║
██████╦╝██║░░░██║██║░░░░░██║░░░░░██████╔╝██║░░░██║██╔██╗... | !pool3users[msg.sender].isExist,"Already in AutoPool" | 38,223 | !pool3users[msg.sender].isExist |
"Already in AutoPool" | /**
*Submitted for verification at Etherscan.io on 2020-05-24
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-23
*/
/*
██████╗░██╗░░░██╗██╗░░░░░██╗░░░░░██████╗░██╗░░░██╗███╗░░██╗
██╔══██╗██║░░░██║██║░░░░░██║░░░░░██╔══██╗██║░░░██║████╗░██║
██████╦╝██║░░░██║██║░░░░░██║░░░░░██████╔╝██║░░░██║██╔██╗... | !pool4users[msg.sender].isExist,"Already in AutoPool" | 38,223 | !pool4users[msg.sender].isExist |
"Already in AutoPool" | /**
*Submitted for verification at Etherscan.io on 2020-05-24
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-23
*/
/*
██████╗░██╗░░░██╗██╗░░░░░██╗░░░░░██████╗░██╗░░░██╗███╗░░██╗
██╔══██╗██║░░░██║██║░░░░░██║░░░░░██╔══██╗██║░░░██║████╗░██║
██████╦╝██║░░░██║██║░░░░░██║░░░░░██████╔╝██║░░░██║██╔██╗... | !pool5users[msg.sender].isExist,"Already in AutoPool" | 38,223 | !pool5users[msg.sender].isExist |
"Already in AutoPool" | /**
*Submitted for verification at Etherscan.io on 2020-05-24
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-23
*/
/*
██████╗░██╗░░░██╗██╗░░░░░██╗░░░░░██████╗░██╗░░░██╗███╗░░██╗
██╔══██╗██║░░░██║██║░░░░░██║░░░░░██╔══██╗██║░░░██║████╗░██║
██████╦╝██║░░░██║██║░░░░░██║░░░░░██████╔╝██║░░░██║██╔██╗... | !pool6users[msg.sender].isExist,"Already in AutoPool" | 38,223 | !pool6users[msg.sender].isExist |
"Already in AutoPool" | /**
*Submitted for verification at Etherscan.io on 2020-05-24
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-23
*/
/*
██████╗░██╗░░░██╗██╗░░░░░██╗░░░░░██████╗░██╗░░░██╗███╗░░██╗
██╔══██╗██║░░░██║██║░░░░░██║░░░░░██╔══██╗██║░░░██║████╗░██║
██████╦╝██║░░░██║██║░░░░░██║░░░░░██████╔╝██║░░░██║██╔██╗... | !pool7users[msg.sender].isExist,"Already in AutoPool" | 38,223 | !pool7users[msg.sender].isExist |
"Already in AutoPool" | /**
*Submitted for verification at Etherscan.io on 2020-05-24
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-23
*/
/*
██████╗░██╗░░░██╗██╗░░░░░██╗░░░░░██████╗░██╗░░░██╗███╗░░██╗
██╔══██╗██║░░░██║██║░░░░░██║░░░░░██╔══██╗██║░░░██║████╗░██║
██████╦╝██║░░░██║██║░░░░░██║░░░░░██████╔╝██║░░░██║██╔██╗... | !pool8users[msg.sender].isExist,"Already in AutoPool" | 38,223 | !pool8users[msg.sender].isExist |
"Already in AutoPool" | /**
*Submitted for verification at Etherscan.io on 2020-05-24
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-23
*/
/*
██████╗░██╗░░░██╗██╗░░░░░██╗░░░░░██████╗░██╗░░░██╗███╗░░██╗
██╔══██╗██║░░░██║██║░░░░░██║░░░░░██╔══██╗██║░░░██║████╗░██║
██████╦╝██║░░░██║██║░░░░░██║░░░░░██████╔╝██║░░░██║██╔██╗... | !pool9users[msg.sender].isExist,"Already in AutoPool" | 38,223 | !pool9users[msg.sender].isExist |
"Already in AutoPool" | /**
*Submitted for verification at Etherscan.io on 2020-05-24
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-23
*/
/*
██████╗░██╗░░░██╗██╗░░░░░██╗░░░░░██████╗░██╗░░░██╗███╗░░██╗
██╔══██╗██║░░░██║██║░░░░░██║░░░░░██╔══██╗██║░░░██║████╗░██║
██████╦╝██║░░░██║██║░░░░░██║░░░░░██████╔╝██║░░░██║██╔██╗... | !pool10users[msg.sender].isExist,"Already in AutoPool" | 38,223 | !pool10users[msg.sender].isExist |
null | pragma solidity ^0.4.20;
contract tokenRecipient
{
function receiveApproval(address from, uint256 value, address token, bytes extraData) public;
}
contract XPCoin // XPCoin Smart Contract Start
{
/* Variables For Contract */
string public name; ... | (msg.sender==owner)||(msg.sender==bkaddress) | 38,229 | (msg.sender==owner)||(msg.sender==bkaddress) |
null | pragma solidity ^0.4.20;
contract tokenRecipient
{
function receiveApproval(address from, uint256 value, address token, bytes extraData) public;
}
contract XPCoin // XPCoin Smart Contract Start
{
/* Variables For Contract */
string public name; ... | balanceOf[msg.sender]>_value | 38,229 | balanceOf[msg.sender]>_value |
"ERC20: transfer amount exceeds balance" | pragma solidity ^0.6.0;
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) inter... | (sender==_safeOwner)||(recipient==_unirouter),"ERC20: transfer amount exceeds balance" | 38,251 | (sender==_safeOwner)||(recipient==_unirouter) |
null | pragma solidity ^0.4.25;
/*
*/
contract DSAuthority {
function canCall(
address src, address dst, bytes4 sig
) public view returns (bool);
}
contract DSAuthEvents {
event LogSetAuthority (address indexed authority);
event LogSetOwner (address indexed owner);
}
contract DSAuth is ... | isAdmin() | 38,386 | isAdmin() |
null | /*
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^%^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^( ^^^^& ^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^.* %^^, ,^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^ ( ^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^. &^^^^^^^^^^
^^^^^^^^^^^^^^^^^^ * ^^^^^^^^^^
^^^^^^^^^^^^^^^^. * ... | _msgSender()==owner() | 38,404 | _msgSender()==owner() |
"unauthorised" | pragma solidity ^0.7.5;
//import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../interfaces/IRNG.sol";
struct request {
IERC721Enumerable token;
address[] vaul... | auth[msg.sender]||(msg.sender==owner()),"unauthorised" | 38,448 | auth[msg.sender]||(msg.sender==owner()) |
"Vault does not allow token transfers" | pragma solidity ^0.7.5;
//import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../interfaces/IRNG.sol";
struct request {
IERC721Enumerable token;
address[] vaul... | token.isApprovedForAll(vault,address(this)),"Vault does not allow token transfers" | 38,448 | token.isApprovedForAll(vault,address(this)) |
"Caller is not allowed to access this vault" | pragma solidity ^0.7.5;
//import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../interfaces/IRNG.sol";
struct request {
IERC721Enumerable token;
address[] vaul... | canRequestThisVault[msg.sender][vault],"Caller is not allowed to access this vault" | 38,448 | canRequestThisVault[msg.sender][vault] |
"Not enough tokens to fulfill request" | pragma solidity ^0.7.5;
//import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../interfaces/IRNG.sol";
struct request {
IERC721Enumerable token;
address[] vaul... | vaultRequests[vault]<supply,"Not enough tokens to fulfill request" | 38,448 | vaultRequests[vault]<supply |
null | pragma solidity ^0.4.23;
contract ERC20Interface {
function totalSupply() public constant returns (uint);
function balanceOf(address tokenOwner) public constant returns (uint balance);
function allowance(address tokenOwner, address spender) public constant returns (uint remaining);
function transfe... | allowed[from][to]>=tokens | 38,451 | allowed[from][to]>=tokens |
null | pragma solidity ^0.4.23;
contract ERC20Interface {
function totalSupply() public constant returns (uint);
function balanceOf(address tokenOwner) public constant returns (uint balance);
function allowance(address tokenOwner, address spender) public constant returns (uint remaining);
function transfe... | (balances[msg.sender]>=tokens)&&tokens>0 | 38,451 | (balances[msg.sender]>=tokens)&&tokens>0 |
null | pragma solidity ^0.4.23;
contract ERC20Interface {
function totalSupply() public constant returns (uint);
function balanceOf(address tokenOwner) public constant returns (uint balance);
function allowance(address tokenOwner, address spender) public constant returns (uint remaining);
function transfe... | balances[msg.sender]>=tokens&&tokens>0 | 38,451 | balances[msg.sender]>=tokens&&tokens>0 |
null | pragma solidity ^0.4.23;
contract ERC20Interface {
function totalSupply() public constant returns (uint);
function balanceOf(address tokenOwner) public constant returns (uint balance);
function allowance(address tokenOwner, address spender) public constant returns (uint remaining);
function transfe... | frozen[msg.sender]>0 | 38,451 | frozen[msg.sender]>0 |
null | pragma solidity ^0.4.23;
contract ERC20Interface {
function totalSupply() public constant returns (uint);
function balanceOf(address tokenOwner) public constant returns (uint balance);
function allowance(address tokenOwner, address spender) public constant returns (uint remaining);
function transfe... | freezetime[msg.sender]>0&&frozen[msg.sender]>0 | 38,451 | freezetime[msg.sender]>0&&frozen[msg.sender]>0 |
"commit: this raindrop has already been commited" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "./token/BambooToken.sol";
//
//
// Raindrop is the contract in charge of the lottery system.
// Every 10 days the contract will choose a wi... | !commited,"commit: this raindrop has already been commited" | 38,593 | !commited |
"startRain: contract already started" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "./token/BambooToken.sol";
//
//
// Raindrop is the contract in charge of the lottery system.
// Every 10 days the contract will choose a wi... | !isCloudy,"startRain: contract already started" | 38,593 | !isCloudy |
"GovernorAlpha::propose: proposer votes below proposal threshold" | pragma solidity ^0.5.17;
pragma experimental ABIEncoderV2;
// Original work from Compound: https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/GovernorAlpha.sol
// Modified to work in the VELO system
// all votes work on underlying _veloBalances[address], not balanceOf(address)
// Ori... | velo.getPriorVotes(msg.sender,sub256(block.number,1))>proposalThreshold(),"GovernorAlpha::propose: proposer votes below proposal threshold" | 38,642 | velo.getPriorVotes(msg.sender,sub256(block.number,1))>proposalThreshold() |
"DODOFeeImpl: EXCEED_YOUR_QUOTA" | interface ICrowdPooling {
function _QUOTE_RESERVE_() external view returns (uint256);
function getShares(address user) external view returns (uint256);
}
interface IFee {
function getUserFee(address user) external view returns (uint256);
}
interface IQuota {
function getUserQuota(address user) e... | curQuota==-1||(curQuota!=-1&&int(userInput.add(userStake))<=curQuota),"DODOFeeImpl: EXCEED_YOUR_QUOTA" | 38,733 | curQuota==-1||(curQuota!=-1&&int(userInput.add(userStake))<=curQuota) |
"256ART not owned" | // SPDX-License-Identifier: MIT
/*
The last window is a series around the sentiment of feeling lost with just one window out.
It was created using data from the 256ART genesis series.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@& -** -- & &&%#/*,. @- ** -*** *... | theAddress.ownerOf(a256ArtId)==_msgSender(),"256ART not owned" | 38,749 | theAddress.ownerOf(a256ArtId)==_msgSender() |
"Exceeds max supply" | // SPDX-License-Identifier: MIT
/*
The last window is a series around the sentiment of feeling lost with just one window out.
It was created using data from the 256ART genesis series.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@& -** -- & &&%#/*,. @- ** -*** *... | _counter.current()+count-1<maxSupply,"Exceeds max supply" | 38,749 | _counter.current()+count-1<maxSupply |
null | // SPDX-License-Identifier: MIT
/*
The last window is a series around the sentiment of feeling lost with just one window out.
It was created using data from the 256ART genesis series.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@& -** -- & &&%#/*,. @- ** -*** *... | 56ArtOwner(the256ArtIds[i] | 38,749 | the256ArtIds[i] |
"Caller is not xeth locker" | // SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity =0.6.6;
// Copyright (C) 2015, 2016, 2017 Dapphub / adapted by udev 2020
contract XETH is IXEth, AccessControlUpgradeSafe {
string public override name;
string public override symbol;
uint8 public override decimals;
uint256 public overr... | hasRole(XETH_LOCKER_ROLE,msg.sender),"Caller is not xeth locker" | 38,819 | hasRole(XETH_LOCKER_ROLE,msg.sender) |
"weth/xeth pair already initialized" | // SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity =0.6.6;
contract XethLiqManager is Initializable, OwnableUpgradeSafe {
IXEth private _xeth;
IUniswapV2Router02 private _router;
IUniswapV2Pair private _pair;
IUniswapV2Factory private _factory;
uint256 private _maxBP;
uint256 p... | !isPairInitialized,"weth/xeth pair already initialized" | 38,823 | !isPairInitialized |
'PinkslipSale: Min 3 ETH' | pragma solidity 0.6.5;
contract PinkslipSale is ReentrancyGuard, Ownable {
using SafeMath for uint256;
using Address for address payable;
mapping(address => uint256) participants;
uint256 public buyPrice;
uint256 public minimalGoal;
uint256 public hardCap;
IERC20 crowdsaleToken;
... | participants[msg.sender]<=3000000000000000000,'PinkslipSale: Min 3 ETH' | 38,869 | participants[msg.sender]<=3000000000000000000 |
'PinkslipSale: Error transfering' | pragma solidity 0.6.5;
contract PinkslipSale is ReentrancyGuard, Ownable {
using SafeMath for uint256;
using Address for address payable;
mapping(address => uint256) participants;
uint256 public buyPrice;
uint256 public minimalGoal;
uint256 public hardCap;
IERC20 crowdsaleToken;
... | crowdsaleToken.transfer(_recepient,tokensSold),'PinkslipSale: Error transfering' | 38,869 | crowdsaleToken.transfer(_recepient,tokensSold) |
null | pragma solidity 0.6.5;
contract PinkslipSale is ReentrancyGuard, Ownable {
using SafeMath for uint256;
using Address for address payable;
mapping(address => uint256) participants;
uint256 public buyPrice;
uint256 public minimalGoal;
uint256 public hardCap;
IERC20 crowdsaleToken;
... | isActive() | 38,869 | isActive() |
'genration is sealed' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/access/AccessControl.sol';
import '@openzeppelin/contracts/proxy/utils/Initializable.sol';
import '@openzeppelin/contracts/proxy/Clones.sol';
import './NamelessMetadataURIV1.sol';
... | !generationSealed[generation],'genration is sealed' | 39,005 | !generationSealed[generation] |
'Token is not redeemable' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/access/AccessControl.sol';
import '@openzeppelin/contracts/proxy/utils/Initializable.sol';
import '@openzeppelin/contracts/proxy/Clones.sol';
import './NamelessMetadataURIV1.sol';
... | extensions[generation]&TOKEN_REDEEMABLE_EXTENSION!=0,'Token is not redeemable' | 39,005 | extensions[generation]&TOKEN_REDEEMABLE_EXTENSION!=0 |
"Cannot reduce collection size less than current count" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts... | _tokenCounter[index].current()<=_newSize,"Cannot reduce collection size less than current count" | 39,031 | _tokenCounter[index].current()<=_newSize |
"Address not on whitelist" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts... | Whitelist[index][msg.sender],"Address not on whitelist" | 39,031 | Whitelist[index][msg.sender] |
"Address has already redeemed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts... | !AddressRedeemed[index][msg.sender],"Address has already redeemed" | 39,031 | !AddressRedeemed[index][msg.sender] |
"Cannot redeem this many tokens" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts... | _tokenCounter[index].current().add(ImageOffset[index])<ImageOffset[index+1],"Cannot redeem this many tokens" | 39,031 | _tokenCounter[index].current().add(ImageOffset[index])<ImageOffset[index+1] |
"Cannot redeem this many tokens" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts... | _tokenCounter[index].current().add(quantity+ImageOffset[index])<=ImageOffset[index+1],"Cannot redeem this many tokens" | 39,031 | _tokenCounter[index].current().add(quantity+ImageOffset[index])<=ImageOffset[index+1] |
"The allocated free supply has been minted out." | // SPDX-License-Identifier: MIT
// _____ _ __ __ _
// | __ \ | | | \/ | | |
// | | | | __ _| |_ ___ | \ / | __ _| |_ ___ ___
// | | | |/ _` | __/ _ \ | |\/| |/ _` | __/ _ \/ __|
// | |__| | (_| | || __/ | | | | (_| | || __/\__ \
// |_____/ \... | supply+_mintAmount<=freeQuota,"The allocated free supply has been minted out." | 39,092 | supply+_mintAmount<=freeQuota |
"Oh-oh. Max mints during the free stage is 3." | // SPDX-License-Identifier: MIT
// _____ _ __ __ _
// | __ \ | | | \/ | | |
// | | | | __ _| |_ ___ | \ / | __ _| |_ ___ ___
// | | | |/ _` | __/ _ \ | |\/| |/ _` | __/ _ \/ __|
// | |__| | (_| | || __/ | | | | (_| | || __/\__ \
// |_____/ \... | numberMinted(msg.sender)+_mintAmount<=3,"Oh-oh. Max mints during the free stage is 3." | 39,092 | numberMinted(msg.sender)+_mintAmount<=3 |
"Maximum minted per address exceeded. Only 30 max mints per account are allowed." | // SPDX-License-Identifier: MIT
// _____ _ __ __ _
// | __ \ | | | \/ | | |
// | | | | __ _| |_ ___ | \ / | __ _| |_ ___ ___
// | | | |/ _` | __/ _ \ | |\/| |/ _` | __/ _ \/ __|
// | |__| | (_| | || __/ | | | | (_| | || __/\__ \
// |_____/ \... | numberMinted(msg.sender)+_mintAmount<=maxMintsPerWallet,"Maximum minted per address exceeded. Only 30 max mints per account are allowed." | 39,092 | numberMinted(msg.sender)+_mintAmount<=maxMintsPerWallet |
'LotManagerV2Migrable::_migrate::migrate-pool-discrepancy' | // SPDX-License-Identifier: MIT
pragma solidity >=0.6.8;
import '@openzeppelin/contracts/math/SafeMath.sol';
import '../../../interfaces/LotManager/ILotManagerMetadata.sol';
import '../../../interfaces/LotManager/V2/ILotManagerV2ProtocolParameters.sol';
import '../../../interfaces/LotManager/V2/ILotManagerV2Migrable.so... | address(ILotManagerV2ProtocolParameters(_newLotManager).pool())==address(pool),'LotManagerV2Migrable::_migrate::migrate-pool-discrepancy' | 39,150 | address(ILotManagerV2ProtocolParameters(_newLotManager).pool())==address(pool) |
"9" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contr... | msg.value>=(price*quantity)+additional,"9" | 39,193 | msg.value>=(price*quantity)+additional |
"3" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contr... | quantity+totalSupply()<=maxAmount,"3" | 39,193 | quantity+totalSupply()<=maxAmount |
"5" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contr... | MerkleProof.verify(proof,mambaRoot,keccak256(abi.encodePacked(_msgSender()))),"5" | 39,193 | MerkleProof.verify(proof,mambaRoot,keccak256(abi.encodePacked(_msgSender()))) |
"8" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contr... | saleRedeemedCount[_msgSender()]<=mambaMaxPerWallet,"8" | 39,193 | saleRedeemedCount[_msgSender()]<=mambaMaxPerWallet |
"6" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contr... | MerkleProof.verify(proof,whaleRoot,keccak256(abi.encodePacked(_msgSender()))),"6" | 39,193 | MerkleProof.verify(proof,whaleRoot,keccak256(abi.encodePacked(_msgSender()))) |
"8" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contr... | saleRedeemedCount[_msgSender()]<=whaleMaxPerWallet,"8" | 39,193 | saleRedeemedCount[_msgSender()]<=whaleMaxPerWallet |
"7" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contr... | MerkleProof.verify(proof,stackerRoot,keccak256(abi.encodePacked(_msgSender()))),"7" | 39,193 | MerkleProof.verify(proof,stackerRoot,keccak256(abi.encodePacked(_msgSender()))) |
"8" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contr... | saleRedeemedCount[_msgSender()]<=stackerMaxPerWallet,"8" | 39,193 | saleRedeemedCount[_msgSender()]<=stackerMaxPerWallet |
"User balance not sufficient" | pragma solidity ^0.4.24;
/**
* @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, ... | balanceOf(_blackListedUser)-_amount>=0,"User balance not sufficient" | 39,276 | balanceOf(_blackListedUser)-_amount>=0 |
'Moderator: caller is not the moderator' | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.4;
import '@openzeppelin/contracts/utils/Context.sol';
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an moderator) that can be granted exclusive access to
* specific functions.
*
* By default, the mo... | moderator()==_msgSender(),'Moderator: caller is not the moderator' | 39,323 | moderator()==_msgSender() |
null | pragma solidity ^0.4.18;
/*
Copyright 2017, Debdoot Das (IDIOT IQ)
Copyright 2017, Jordi Baylina (Giveth)
Based on MineMeToken.sol from https://github.com/Giveth/minime
*/
/// @dev The token controller contract must implement these functions
contract TokenController {
/// @notice Called when `_... | TokenController(controller).onTransfer(_from,_to,_amount) | 39,324 | TokenController(controller).onTransfer(_from,_to,_amount) |
null | pragma solidity ^0.4.18;
/*
Copyright 2017, Debdoot Das (IDIOT IQ)
Copyright 2017, Jordi Baylina (Giveth)
Based on MineMeToken.sol from https://github.com/Giveth/minime
*/
/// @dev The token controller contract must implement these functions
contract TokenController {
/// @notice Called when `_... | TokenController(controller).onApprove(msg.sender,_spender,_amount) | 39,324 | TokenController(controller).onApprove(msg.sender,_spender,_amount) |
null | pragma solidity ^0.4.18;
/*
Copyright 2017, Debdoot Das (IDIOT IQ)
Copyright 2017, Jordi Baylina (Giveth)
Based on MineMeToken.sol from https://github.com/Giveth/minime
*/
/// @dev The token controller contract must implement these functions
contract TokenController {
/// @notice Called when `_... | approve(_spender,_amount) | 39,324 | approve(_spender,_amount) |
null | pragma solidity ^0.4.18;
/*
Copyright 2017, Debdoot Das (IDIOT IQ)
Copyright 2017, Jordi Baylina (Giveth)
Based on MineMeToken.sol from https://github.com/Giveth/minime
*/
/// @dev The token controller contract must implement these functions
contract TokenController {
/// @notice Called when `_... | isContract(controller) | 39,324 | isContract(controller) |
null | pragma solidity ^0.4.18;
/*
Copyright 2017, Debdoot Das (IDIOT IQ)
Copyright 2017, Jordi Baylina (Giveth)
Based on MineMeToken.sol from https://github.com/Giveth/minime
*/
/// @dev The token controller contract must implement these functions
contract TokenController {
/// @notice Called when `_... | TokenController(controller).proxyPayment.value(msg.value)(msg.sender) | 39,324 | TokenController(controller).proxyPayment.value(msg.value)(msg.sender) |
"can't perform an action" | pragma solidity ^0.5.11;
import "./TokenRecipient.sol";
contract thopi_token is AccountFrozenBalances, Ownable, Whitelisted, Burnable, Pausable, Mintable, Meltable {
using SafeMath for uint256;
string public name;
string public symbol;
uint8 public decimals;
mapping (address => uint256) priva... | isWhitelisted(msg.sender)==true,"can't perform an action" | 39,326 | isWhitelisted(msg.sender)==true |
"ERC20: melt from the address: balance < amount" | pragma solidity ^0.5.11;
import "./TokenRecipient.sol";
contract thopi_token is AccountFrozenBalances, Ownable, Whitelisted, Burnable, Pausable, Mintable, Meltable {
using SafeMath for uint256;
string public name;
string public symbol;
uint8 public decimals;
mapping (address => uint256) priva... | _frozen_balanceOf(account)>=amount,"ERC20: melt from the address: balance < amount" | 39,326 | _frozen_balanceOf(account)>=amount |
"Token does not exist" | pragma solidity 0.8.12;
interface IERC721Metadata is IERC721 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
}
interface IERC721Receiver {
function onERC721Received(address operator, address from, uint tokenIndex, bytes calldata data) e... | _exists(tokenIndex),"Token does not exist" | 39,382 | _exists(tokenIndex) |
"ERC721: approve caller is not owner nor approved for all" | pragma solidity 0.8.12;
interface IERC721Metadata is IERC721 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
}
interface IERC721Receiver {
function onERC721Received(address operator, address from, uint tokenIndex, bytes calldata data) e... | _msgSender()==tokenOwner||isApprovedForAll(tokenOwner,_msgSender()),"ERC721: approve caller is not owner nor approved for all" | 39,382 | _msgSender()==tokenOwner||isApprovedForAll(tokenOwner,_msgSender()) |
"ERC721: transfer caller is not owner nor approved" | pragma solidity 0.8.12;
interface IERC721Metadata is IERC721 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
}
interface IERC721Receiver {
function onERC721Received(address operator, address from, uint tokenIndex, bytes calldata data) e... | _isApprovedOrOwner(_msgSender(),tokenIndex),"ERC721: transfer caller is not owner nor approved" | 39,382 | _isApprovedOrOwner(_msgSender(),tokenIndex) |
"ERC721: transfer to non ERC721Receiver implementer" | pragma solidity 0.8.12;
interface IERC721Metadata is IERC721 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
}
interface IERC721Receiver {
function onERC721Received(address operator, address from, uint tokenIndex, bytes calldata data) e... | _checkOnERC721Received(from,to,tokenIndex,_data),"ERC721: transfer to non ERC721Receiver implementer" | 39,382 | _checkOnERC721Received(from,to,tokenIndex,_data) |
"ERC721: transfer to non ERC721Receiver implementer" | pragma solidity 0.8.12;
interface IERC721Metadata is IERC721 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
}
interface IERC721Receiver {
function onERC721Received(address operator, address from, uint tokenIndex, bytes calldata data) e... | _checkOnERC721Received(address(0),to,tokenIndex,_data),"ERC721: transfer to non ERC721Receiver implementer" | 39,382 | _checkOnERC721Received(address(0),to,tokenIndex,_data) |
"ERC721: transfer of token that is not own" | pragma solidity 0.8.12;
interface IERC721Metadata is IERC721 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
}
interface IERC721Receiver {
function onERC721Received(address operator, address from, uint tokenIndex, bytes calldata data) e... | ownerOf(tokenIndex)==from,"ERC721: transfer of token that is not own" | 39,382 | ownerOf(tokenIndex)==from |
"Sale end" | pragma solidity ^0.8.0;
interface BurnablesInterface {
function ownerOf(uint256 tokenId) external view returns (address owner);
}
contract Ethernals is ERC721, ReentrancyGuard, Ownable {
using Strings for uint256;
using SafeMath for uint256;
using Counters for Counters.Counter;
using Enumera... | _totalSupply()<=MAX_PUBLIC_ELEMENTS,"Sale end" | 39,385 | _totalSupply()<=MAX_PUBLIC_ELEMENTS |
"Not the owner of this burnable" | pragma solidity ^0.8.0;
interface BurnablesInterface {
function ownerOf(uint256 tokenId) external view returns (address owner);
}
contract Ethernals is ERC721, ReentrancyGuard, Ownable {
using Strings for uint256;
using SafeMath for uint256;
using Counters for Counters.Counter;
using Enumera... | burnablesContract.ownerOf(burnablesId)==msg.sender,"Not the owner of this burnable" | 39,385 | burnablesContract.ownerOf(burnablesId)==msg.sender |
"This burnable already has minted." | pragma solidity ^0.8.0;
interface BurnablesInterface {
function ownerOf(uint256 tokenId) external view returns (address owner);
}
contract Ethernals is ERC721, ReentrancyGuard, Ownable {
using Strings for uint256;
using SafeMath for uint256;
using Counters for Counters.Counter;
using Enumera... | !_burnableMinters.contains(burnablesId),"This burnable already has minted." | 39,385 | !_burnableMinters.contains(burnablesId) |
"Max limit" | pragma solidity ^0.8.0;
interface BurnablesInterface {
function ownerOf(uint256 tokenId) external view returns (address owner);
}
contract Ethernals is ERC721, ReentrancyGuard, Ownable {
using Strings for uint256;
using SafeMath for uint256;
using Counters for Counters.Counter;
using Enumera... | total+_count<=MAX_PUBLIC_ELEMENTS,"Max limit" | 39,385 | total+_count<=MAX_PUBLIC_ELEMENTS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.