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.6.7;
contract Versus {
function rewardPrediction(address user, uint256 amount) public {}
}
contract Prediction {
address public owner;
address public versusContract;
address public versusRewards;
address public nyanRewards;
address public devFund;
address[] publi... | userPrediction[msg.sender].pair!=address(0) | 341,982 | userPrediction[msg.sender].pair!=address(0) |
null | pragma solidity ^0.4.24;
contract LiquidPledging {
/// Create a "giver" pledge admin for the sender & donate
/// @param idReceiver The Admin receiving the donation; can be any Admin:
/// the Giver themselves, another Giver, a Delegate or a Project
/// @param token The address of the token being d... | EIP20Interface(token).approve(address(liquidPledging),amount) | 342,029 | EIP20Interface(token).approve(address(liquidPledging),amount) |
null | pragma solidity ^0.4.24;
contract LiquidPledging {
/// Create a "giver" pledge admin for the sender & donate
/// @param idReceiver The Admin receiving the donation; can be any Admin:
/// the Giver themselves, another Giver, a Delegate or a Project
/// @param token The address of the token being d... | EIP20Interface(token).approve(address(kyberProxy),0) | 342,029 | EIP20Interface(token).approve(address(kyberProxy),0) |
null | pragma solidity ^0.4.24;
contract LiquidPledging {
/// Create a "giver" pledge admin for the sender & donate
/// @param idReceiver The Admin receiving the donation; can be any Admin:
/// the Giver themselves, another Giver, a Delegate or a Project
/// @param token The address of the token being d... | EIP20Interface(token).approve(address(kyberProxy),amount) | 342,029 | EIP20Interface(token).approve(address(kyberProxy),amount) |
null | pragma solidity ^0.4.24;
contract LiquidPledging {
/// Create a "giver" pledge admin for the sender & donate
/// @param idReceiver The Admin receiving the donation; can be any Admin:
/// the Giver themselves, another Giver, a Delegate or a Project
/// @param token The address of the token being d... | EIP20Interface(token).approve(address(liquidPledging),receiverAmount) | 342,029 | EIP20Interface(token).approve(address(liquidPledging),receiverAmount) |
null | contract MoonRaffleMain {
address addressOne;
address moonRaffleFactoryAddress;
uint256 moonRaffleCounter = 0; //Keeps track of how many raffles have been completed
string publicMessage = "when moon? buy your ticket now!";
// ECONOMIC SETTINGS
uint256 pricePerTicket = 1 finney;
uin... | MoonRaffleContractInterface(currentMoonRaffleAddress).isRetractable()==true | 342,113 | MoonRaffleContractInterface(currentMoonRaffleAddress).isRetractable()==true |
null | contract MoonRaffleMain {
address addressOne;
address moonRaffleFactoryAddress;
uint256 moonRaffleCounter = 0; //Keeps track of how many raffles have been completed
string publicMessage = "when moon? buy your ticket now!";
// ECONOMIC SETTINGS
uint256 pricePerTicket = 1 finney;
uin... | _newPrizePoolPercentage+_newContractFeePercentage+_newRolloverPercentage+_newReferralPercentage==100 | 342,113 | _newPrizePoolPercentage+_newContractFeePercentage+_newRolloverPercentage+_newReferralPercentage==100 |
null | contract MoonRaffleMain {
address addressOne;
address moonRaffleFactoryAddress;
uint256 moonRaffleCounter = 0; //Keeps track of how many raffles have been completed
string publicMessage = "when moon? buy your ticket now!";
// ECONOMIC SETTINGS
uint256 pricePerTicket = 1 finney;
uin... | address(this).balance>=_amountAdded | 342,113 | address(this).balance>=_amountAdded |
"Purchase would exceed max supply of Toads" | 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_TOADS,"Purchase would exceed max supply of Toads" | 342,203 | totalSupply().add(numberOfTokens)<=MAX_TOADS |
"Ether value sent is not correct" | 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... | toadPrice.mul(numberOfTokens)<=msg.value,"Ether value sent is not correct" | 342,203 | toadPrice.mul(numberOfTokens)<=msg.value |
'Giveaway not supported' | // SPDX-License-Identifier: UNLICENSED
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import './lib/IGiveaway.sol';
pragma solidity ^0.8.0;
contract CodeMakesArt is ERC721Enumerable, ... | address(drop.giveaway)!=address(0),'Giveaway not supported' | 342,225 | address(drop.giveaway)!=address(0) |
'Not enough left' | // SPDX-License-Identifier: UNLICENSED
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import './lib/IGiveaway.sol';
pragma solidity ^0.8.0;
contract CodeMakesArt is ERC721Enumerable, ... | drop.minted+count<=drop.maxSupply,'Not enough left' | 342,225 | drop.minted+count<=drop.maxSupply |
'Not available' | // SPDX-License-Identifier: UNLICENSED
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import './lib/IGiveaway.sol';
pragma solidity ^0.8.0;
contract CodeMakesArt is ERC721Enumerable, ... | bytes(drops[dropId].script).length!=0||drops[dropId].lib>0,'Not available' | 342,225 | bytes(drops[dropId].script).length!=0||drops[dropId].lib>0 |
'Drop locked' | // SPDX-License-Identifier: UNLICENSED
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import './lib/IGiveaway.sol';
pragma solidity ^0.8.0;
contract CodeMakesArt is ERC721Enumerable, ... | drops[dropId].state!=State.Locked,'Drop locked' | 342,225 | drops[dropId].state!=State.Locked |
"Must meet required conditions to activate mint" | /*
HTTPS://QBURN.CASH
HTTPS://T.ME/QUICKBURN
----------------------------------------------
Community driven project
----------------------------------------------
_______ ______ _______ _
( ___ )( ___ \ |\ /|( ____ )( ( /|
| ( ) || ( ) )| ) ( || ( )|| \ ( |
| | | |... | qburnAddress.balanceOf(msg.sender)>=_mint,"Must meet required conditions to activate mint" | 342,381 | qburnAddress.balanceOf(msg.sender)>=_mint |
null | pragma solidity 0.4.24;
contract AbcdEfg {
mapping (address => uint256) private balances;
mapping (address => uint256) private marked;
uint256 private totalSupply_ = 1000;
uint256 private markId = 0;
mapping (uint256 => bytes) public marks;
string public name = "abcdEfg";
string public symbol = "a... | _value+marked[msg.sender]<=balances[msg.sender] | 342,410 | _value+marked[msg.sender]<=balances[msg.sender] |
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 ... | proxyMinterInterface(proxyMinter).proxyMint(nonce,challenge_digest) | 342,445 | proxyMinterInterface(proxyMinter).proxyMint(nonce,challenge_digest) |
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 ... | mintForwarderInterface(proxyMinter).mintForwarder(nonce,challenge_digest,remainingProxyMintArray) | 342,445 | mintForwarderInterface(proxyMinter).mintForwarder(nonce,challenge_digest,remainingProxyMintArray) |
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 ... | ERC918Interface(minedToken).epochCount()==previousEpochCount.add(1) | 342,445 | ERC918Interface(minedToken).epochCount()==previousEpochCount.add(1) |
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 ... | ERC20Interface(minedToken).transfer(newKing,balance) | 342,445 | ERC20Interface(minedToken).transfer(newKing,balance) |
"_isExcludedFromMaxWallet already set to that value for one wallet" | // SPDX-License-Identifier: NOLICENSE
pragma solidity ^0.8.0;
/*
$$$$$$$\ $$\ $$$$$$\ $$\
$$ __$$\ $$ | $$ __$$\ \__|
$$ | $$ | $$$$$$\ $$$$$$\ $$ | $$\ $$ / $$ |$$$$$$$\ $... | _isExcludedFromMaxWallet[accounts[i]]!=excluded,"_isExcludedFromMaxWallet already set to that value for one wallet" | 342,490 | _isExcludedFromMaxWallet[accounts[i]]!=excluded |
"Recipient cannot hold more than maxWalletAmount" | // SPDX-License-Identifier: NOLICENSE
pragma solidity ^0.8.0;
/*
$$$$$$$\ $$\ $$$$$$\ $$\
$$ __$$\ $$ | $$ __$$\ \__|
$$ | $$ | $$$$$$\ $$$$$$\ $$ | $$\ $$ / $$ |$$$$$$$\ $... | _isExcludedFromMaxWallet[recipient]||balanceOf(recipient)<=maxWalletAmount,"Recipient cannot hold more than maxWalletAmount" | 342,490 | _isExcludedFromMaxWallet[recipient]||balanceOf(recipient)<=maxWalletAmount |
"Automated market maker pair is already set to that value" | // SPDX-License-Identifier: NOLICENSE
pragma solidity ^0.8.0;
/*
$$$$$$$\ $$\ $$$$$$\ $$\
$$ __$$\ $$ | $$ __$$\ \__|
$$ | $$ | $$$$$$\ $$$$$$\ $$ | $$\ $$ / $$ |$$$$$$$\ $... | isAutomatedMarketMakerPair[_pair]!=value,"Automated market maker pair is already set to that value" | 342,490 | isAutomatedMarketMakerPair[_pair]!=value |
"address provided is already not blacklisted" | // SPDX-License-Identifier: NOLICENSE
pragma solidity ^0.8.0;
/*
$$$$$$$\ $$\ $$$$$$\ $$\
$$ __$$\ $$ | $$ __$$\ \__|
$$ | $$ | $$$$$$\ $$$$$$\ $$ | $$\ $$ / $$ |$$$$$$$\ $... | !isBot[botAddress],"address provided is already not blacklisted" | 342,490 | !isBot[botAddress] |
"_isExcludedFromMaxWallet already set to that value" | // SPDX-License-Identifier: NOLICENSE
pragma solidity ^0.8.0;
/*
$$$$$$$\ $$\ $$$$$$\ $$\
$$ __$$\ $$ | $$ __$$\ \__|
$$ | $$ | $$$$$$\ $$$$$$\ $$ | $$\ $$ / $$ |$$$$$$$\ $... | _isExcludedFromMaxWallet[account]!=excluded,"_isExcludedFromMaxWallet already set to that value" | 342,490 | _isExcludedFromMaxWallet[account]!=excluded |
"msg.sender is not a signer" | // SPDX-License-Identifier: MIT
// this is copied from MintableOwnableToken
// https://etherscan.io/address/0x987a4d3edbe363bc351771bb8abdf2a332a19131#code
// modified by TART-tokyo
pragma solidity =0.8.6;
import "../interface/iSignerRole.sol";
import "@openzeppelin/contracts/access/AccessControlEnumerable.sol";
contra... | isSigner(msg.sender),"msg.sender is not a signer" | 342,552 | isSigner(msg.sender) |
"Mint limit exceeded" | // ββββββ ββββββ ββββββ βββ βββ βββββββ ββββββ βββββ ββ ββ ββ ββ
// ββ ββ ββ ββ ββ ββ ββββ ββββ ββ ββ ββ ββ ββ ββ ββ ββ ββ
// ββ ββ ββ ββ ββ ββ ββ ββββ ββ βββββββ ββ ββ βββββββ ββββ βββ
// ββ ββ ββ ββ ββ ββ ββ ββ ββ ββ ββ ββ ββ ββ ββ ... | minted[msg.sender]+_mintAmount<=mintPerAddress,"Mint limit exceeded" | 342,573 | minted[msg.sender]+_mintAmount<=mintPerAddress |
"HARDCORE: liquidVault + burnPercentage incorrect sets" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "./facades/ERC20Like.sol";
contract FeeDistributor is Ownable {
using SafeMath for uint;
ERC20Like public hcore;
struct FeeRecipient {
... | liquidVaultShare.add(burnPercentage)<=100,"HARDCORE: liquidVault + burnPercentage incorrect sets" | 342,735 | liquidVaultShare.add(burnPercentage)<=100 |
"HARDCORE: transfer to liquidVault failed" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "./facades/ERC20Like.sol";
contract FeeDistributor is Ownable {
using SafeMath for uint;
ERC20Like public hcore;
struct FeeRecipient {
... | hcore.transfer(recipients.liquidVault,liquidShare),"HARDCORE: transfer to liquidVault failed" | 342,735 | hcore.transfer(recipients.liquidVault,liquidShare) |
"HARDCORE: transfer to dev failed" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "./facades/ERC20Like.sol";
contract FeeDistributor is Ownable {
using SafeMath for uint;
ERC20Like public hcore;
struct FeeRecipient {
... | hcore.transfer(recipients.dev,balance.sub(liquidShare).sub(burningShare)),"HARDCORE: transfer to dev failed" | 342,735 | hcore.transfer(recipients.dev,balance.sub(liquidShare).sub(burningShare)) |
null | pragma solidity ^0.4.24; contract DSMath {
function add(uint x, uint y) internal pure returns (uint z) {
}
function sub(uint x, uint y) internal pure returns (uint z) {
}
function mul(uint x, uint y) internal pure returns (uint z) {
}
function min(uint x, uint y) internal pure returns... | min(amount,balances[msg.sender])==amount | 342,962 | min(amount,balances[msg.sender])==amount |
null | pragma solidity ^0.4.24; contract DSMath {
function add(uint x, uint y) internal pure returns (uint z) {
}
function sub(uint x, uint y) internal pure returns (uint z) {
}
function mul(uint x, uint y) internal pure returns (uint z) {
}
function min(uint x, uint y) internal pure returns... | max(maxBid,price)==maxBid | 342,962 | max(maxBid,price)==maxBid |
null | pragma solidity ^0.4.24; contract DSMath {
function add(uint x, uint y) internal pure returns (uint z) {
}
function sub(uint x, uint y) internal pure returns (uint z) {
}
function mul(uint x, uint y) internal pure returns (uint z) {
}
function min(uint x, uint y) internal pure returns... | min(maxBid,balances[msg.sender])==maxBid | 342,962 | min(maxBid,balances[msg.sender])==maxBid |
null | pragma solidity ^0.4.24; contract DSMath {
function add(uint x, uint y) internal pure returns (uint z) {
}
function sub(uint x, uint y) internal pure returns (uint z) {
}
function mul(uint x, uint y) internal pure returns (uint z) {
}
function min(uint x, uint y) internal pure returns... | min(resalePrice,maxResalePrice())==resalePrice | 342,962 | min(resalePrice,maxResalePrice())==resalePrice |
null | pragma solidity ^0.4.24; contract DSMath {
function add(uint x, uint y) internal pure returns (uint z) {
}
function sub(uint x, uint y) internal pure returns (uint z) {
}
function mul(uint x, uint y) internal pure returns (uint z) {
}
function min(uint x, uint y) internal pure returns... | !buyArtMutex | 342,962 | !buyArtMutex |
"Not enough Bikerz 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;
/*
CHAIN BIKERZ - EXCITE WHITELIST NFT GAME
*/
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contr... | tokenCounter.current()+numberOfTokens<=maxBikerz-maxGiftedBikerz,"Not enough Bikerz remaining to mint" | 342,994 | tokenCounter.current()+numberOfTokens<=maxBikerz-maxGiftedBikerz |
"Not enough Free Bikerz 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;
/*
CHAIN BIKERZ - EXCITE WHITELIST NFT GAME
*/
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contr... | tokenCounter.current()+numberOfTokens<=maxFreeBikerz,"Not enough Free Bikerz remaining to mint" | 342,994 | tokenCounter.current()+numberOfTokens<=maxFreeBikerz |
"Not enough Bikerz remaining to gift" | //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;
/*
CHAIN BIKERZ - EXCITE WHITELIST NFT GAME
*/
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contr... | numGiftedBikerz+num<=maxGiftedBikerz,"Not enough Bikerz remaining to gift" | 342,994 | numGiftedBikerz+num<=maxGiftedBikerz |
"Not enough Bikerz 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;
/*
CHAIN BIKERZ - EXCITE WHITELIST NFT GAME
*/
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contr... | tokenCounter.current()+num<=maxBikerz,"Not enough Bikerz remaining to mint" | 342,994 | tokenCounter.current()+num<=maxBikerz |
"you're trying to cheat!" | // SPDX-License-Identifier: MIT LICENSE
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/Pausable.sol";
import "./interfaces/IShatteredEON.sol";
import "./interfaces/IPytheas.sol";
import "./interfaces/IOrbitalBlockade.sol";
import "./interfaces/IColonist.sol";
import "./interfaces/ITColonist.sol... | admins[msg.sender]||(msg.sender==tx.origin&&size==0),"you're trying to cheat!" | 343,030 | admins[msg.sender]||(msg.sender==tx.origin&&size==0) |
"Contracts not set" | // SPDX-License-Identifier: MIT LICENSE
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/Pausable.sol";
import "./interfaces/IShatteredEON.sol";
import "./interfaces/IPytheas.sol";
import "./interfaces/IOrbitalBlockade.sol";
import "./interfaces/IColonist.sol";
import "./interfaces/ITColonist.sol... | address(raw)!=address(0)&&address(EON)!=address(0)&&address(colTraits)!=address(0)&&address(colonistNFT)!=address(0)&&address(pytheas)!=address(0)&&address(orbital)!=address(0)&&address(imperialGuild)!=address(0)&&address(randomizer)!=address(0),"Contracts not set" | 343,030 | address(raw)!=address(0)&&address(EON)!=address(0)&&address(colTraits)!=address(0)&&address(colonistNFT)!=address(0)&&address(pytheas)!=address(0)&&address(orbital)!=address(0)&&address(imperialGuild)!=address(0)&&address(randomizer)!=address(0) |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
import "./Ownable.sol";
import "./SafeMath.sol";
import "./IERC20.sol";
contract PinknodeLiquidityMining is Ownable {
using SafeMath for uint;
// Events
event Deposit(uint256 _timestmap, address indexed _address, uint256 indexed _pid, uint256 _amount);
... | PNODE.transferFrom(fundingAddress,address(this),_amount) | 343,032 | PNODE.transferFrom(fundingAddress,address(this),_amount) |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
import "./Ownable.sol";
import "./SafeMath.sol";
import "./IERC20.sol";
contract PinknodeLiquidityMining is Ownable {
using SafeMath for uint;
// Events
event Deposit(uint256 _timestmap, address indexed _address, uint256 indexed _pid, uint256 _amount);
... | PNODE.transfer(_to,_amount) | 343,032 | PNODE.transfer(_to,_amount) |
"NOT_APPROVED_FOR_ALL" | // SPDX-License-Identifier: UNLICENCED
pragma solidity ^0.8.4;
interface IERC721 {
function ownerOf(uint256 tokenId) external view returns (address owner);
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
function isApprovedForAll(address ... | IERC721(_token).isApprovedForAll(msg.sender,address(this)),"NOT_APPROVED_FOR_ALL" | 343,038 | IERC721(_token).isApprovedForAll(msg.sender,address(this)) |
null | //"SPDX-License-Identifier: UNLICENSED"
pragma solidity ^0.5.0;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
}
function sub(uint a, uint b) internal pure returns (uint c) {
}
function mul(uint a, uint b) internal pure returns (uint c) {
}
function... | balances[from]>=value&&allowance>=value | 343,177 | balances[from]>=value&&allowance>=value |
null | pragma solidity ^0.4.19;
// Wolf Crypto pooling contract for DML
// written by @iamdefinitelyahuman
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function add(uint256 a, uint256 b) intern... | capAmounts[i]<=capAmounts[0] | 343,208 | capAmounts[i]<=capAmounts[0] |
null | pragma solidity ^0.4.19;
// Wolf Crypto pooling contract for DML
// written by @iamdefinitelyahuman
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function add(uint256 a, uint256 b) intern... | whitelist[contributor].balance>0 | 343,208 | whitelist[contributor].balance>0 |
null | pragma solidity ^0.4.19;
// Wolf Crypto pooling contract for DML
// written by @iamdefinitelyahuman
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function add(uint256 a, uint256 b) intern... | (ethRefundAmount.length>c.ethRefund)||d.pct.length>c.tokensClaimed[tokenAddr] | 343,208 | (ethRefundAmount.length>c.ethRefund)||d.pct.length>c.tokensClaimed[tokenAddr] |
null | pragma solidity ^0.4.19;
// Wolf Crypto pooling contract for DML
// written by @iamdefinitelyahuman
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function add(uint256 a, uint256 b) intern... | !whitelist[addr].authorized | 343,208 | !whitelist[addr].authorized |
null | pragma solidity ^0.4.19;
// Wolf Crypto pooling contract for DML
// written by @iamdefinitelyahuman
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function add(uint256 a, uint256 b) intern... | (cap>0&&cap<contributionCaps.length)||(cap>=contributionMin&&cap<=contributionCaps[0]) | 343,208 | (cap>0&&cap<contributionCaps.length)||(cap>=contributionMin&&cap<=contributionCaps[0]) |
null | pragma solidity ^0.4.19;
// Wolf Crypto pooling contract for DML
// written by @iamdefinitelyahuman
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function add(uint256 a, uint256 b) intern... | whitelist[addr].authorized | 343,208 | whitelist[addr].authorized |
null | pragma solidity ^0.4.19;
// Wolf Crypto pooling contract for DML
// written by @iamdefinitelyahuman
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function add(uint256 a, uint256 b) intern... | whitelistContract.checkMemberLevel(addr)==0 | 343,208 | whitelistContract.checkMemberLevel(addr)==0 |
null | pragma solidity ^0.4.19;
// Wolf Crypto pooling contract for DML
// written by @iamdefinitelyahuman
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function add(uint256 a, uint256 b) intern... | c.authorized | 343,208 | c.authorized |
null | pragma solidity ^0.4.19;
// Wolf Crypto pooling contract for DML
// written by @iamdefinitelyahuman
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function add(uint256 a, uint256 b) intern... | contributionCaps[i+1]<=cap[i]&&contributionCaps[0]>=cap[i] | 343,208 | contributionCaps[i+1]<=cap[i]&&contributionCaps[0]>=cap[i] |
null | pragma solidity ^0.4.25;
/**
.----------------. .----------------. .----------------. .----------------.
| .--------------. || .--------------. || .--------------. || .--------------. |
| | ____ ____ | || | ____ | || | _____ | || | ________ | |
| | |_ || _| | || | ... | EthereumVault[tokenAddress]>0 | 343,279 | EthereumVault[tokenAddress]>0 |
"Balance exceeds max.limit" | // SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.6.2;
//UniswapV2 interface
interface ERC20 {
function balanceOf(address _owner) external view returns (uint256 balance);
function approve(address _spender, uint256 _value) external returns (bool success);
function transfer(address dst, uint wa... | balanceOf(to)+amount<=maxbuy_amount,"Balance exceeds max.limit" | 343,295 | balanceOf(to)+amount<=maxbuy_amount |
"You are not the owner" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
contract GM is ERC721, Ownable {
using Counters for Counters.Counter;
Counters.Counter priva... | _msgSender()==ERC721.ownerOf(0),"You are not the owner" | 343,322 | _msgSender()==ERC721.ownerOf(0) |
"Wallet has already claimed sale limit" | pragma solidity ^0.8.7;
contract Tothejpg is ERC721A, Ownable {
using Strings for uint256;
uint256 public constant MAX_SUPPLY = 666;
uint256 public constant MINT_PRICE = 0.066 ether;
uint256 public constant MAX_PER_TX = 2;
uint256 public constant MAX_PER_WALLET = 2;
bool public isSaleActi... | _saleClaimed[msg.sender]<MAX_PER_WALLET,"Wallet has already claimed sale limit" | 343,350 | _saleClaimed[msg.sender]<MAX_PER_WALLET |
"Invalid ETH amount provided" | pragma solidity ^0.8.7;
contract Tothejpg is ERC721A, Ownable {
using Strings for uint256;
uint256 public constant MAX_SUPPLY = 666;
uint256 public constant MINT_PRICE = 0.066 ether;
uint256 public constant MAX_PER_TX = 2;
uint256 public constant MAX_PER_WALLET = 2;
bool public isSaleActi... | MINT_PRICE*quantity<=msg.value,"Invalid ETH amount provided" | 343,350 | MINT_PRICE*quantity<=msg.value |
"Cannot mint a Chapter 2 token for given genesis token because it is not yours" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppe... | genesisPork1984Contract.ownerOf(genesisTokenId)==to,"Cannot mint a Chapter 2 token for given genesis token because it is not yours" | 343,394 | genesisPork1984Contract.ownerOf(genesisTokenId)==to |
"Cannot mint a Chapter 2 token for given genesis token because it is already used" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppe... | canMintForGenesisToken(genesisTokenId),"Cannot mint a Chapter 2 token for given genesis token because it is already used" | 343,394 | canMintForGenesisToken(genesisTokenId) |
'Data contains not staked token ID' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/utils/structs/EnumerableSet.sol';
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppeli... | level1TokenIds[_msgSender()].contains(tokenId),'Data contains not staked token ID' | 343,523 | level1TokenIds[_msgSender()].contains(tokenId) |
'Data contains not staked token ID' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/utils/structs/EnumerableSet.sol';
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppeli... | level2TokenIds[_msgSender()].contains(tokenId),'Data contains not staked token ID' | 343,523 | level2TokenIds[_msgSender()].contains(tokenId) |
"Nothing staked" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/utils/structs/EnumerableSet.sol';
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppeli... | level1TokenIdsSetSize.add(level2TokenIdsSetSize)>0,"Nothing staked" | 343,523 | level1TokenIdsSetSize.add(level2TokenIdsSetSize)>0 |
"Exceeds max supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/utils/structs/EnumerableSet.sol';
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppeli... | nftsReserved.add(amount)<=maxTotalSupply,"Exceeds max supply" | 343,523 | nftsReserved.add(amount)<=maxTotalSupply |
"20" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/co... | token.mintingConfig.fusionOpen,"20" | 343,526 | token.mintingConfig.fusionOpen |
"5" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/co... | isSaleOpen(_tokenIndexes[i]),"5" | 343,526 | isSaleOpen(_tokenIndexes[i]) |
"8" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/co... | tokens[_tokenIndexes[i]].claimedTokens[msg.sender].add(_quantities[i])<=_merkleAmounts[i],"8" | 343,526 | tokens[_tokenIndexes[i]].claimedTokens[msg.sender].add(_quantities[i])<=_merkleAmounts[i] |
"9" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/co... | tokens[_tokenIndexes[i]].claimedTokens[msg.sender].add(_quantities[i])<=tokens[_tokenIndexes[i]].mintingConfig.maxPerWallet,"9" | 343,526 | tokens[_tokenIndexes[i]].claimedTokens[msg.sender].add(_quantities[i])<=tokens[_tokenIndexes[i]].mintingConfig.maxPerWallet |
"10" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/co... | _quantities[i]<=tokens[_tokenIndexes[i]].mintingConfig.maxMintPerTxn,"10" | 343,526 | _quantities[i]<=tokens[_tokenIndexes[i]].mintingConfig.maxMintPerTxn |
"11" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/co... | getTokenSupply(_tokenIndexes[i])+_quantities[i]<=tokens[_tokenIndexes[i]].mintingConfig.maxSupply,"11" | 343,526 | getTokenSupply(_tokenIndexes[i])+_quantities[i]<=tokens[_tokenIndexes[i]].mintingConfig.maxSupply |
"3" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/co... | !paused()&&msg.value>=totalPrice,"3" | 343,526 | !paused()&&msg.value>=totalPrice |
"12" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/co... | verifyWhitelist(sender,tokenIndex,i,returnAllocationOnly)>0,"12" | 343,526 | verifyWhitelist(sender,tokenIndex,i,returnAllocationOnly)>0 |
"14" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/co... | token.claimedTokens[sender].add(quantity)<=totalAllowed,"14" | 343,526 | token.claimedTokens[sender].add(quantity)<=totalAllowed |
"15" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/co... | verifyMerkleProof(merkleProof,tokenIndex,amount),"15" | 343,526 | verifyMerkleProof(merkleProof,tokenIndex,amount) |
"16" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/co... | getTokenSupply(_id)>0,"16" | 343,526 | getTokenSupply(_id)>0 |
null | /*
* This contract is a registry which maps the Ethereum Address to their
* endpoint i.e sockets.
* The Ethereum address registers his address in this registry.
* @proofsuite was here testing on the mainnet
*/
pragma solidity ^0.4.11;
contract EndpointRegistry{
string constant public contract_version =... | equals(str,"")!=true | 343,554 | equals(str,"")!=true |
null | pragma solidity ^0.4.21;
interface itoken {
function freezeAccount(address _target, bool _freeze) external;
function freezeAccountPartialy(address _target, uint256 _value) external;
function transferFrom(address _from, address _to, uint256 _value) external returns (bool);
function balanceOf(address... | owned.allowance(msg.sender,this)>0 | 343,651 | owned.allowance(msg.sender,this)>0 |
null | pragma solidity ^0.4.21;
interface itoken {
function freezeAccount(address _target, bool _freeze) external;
function freezeAccountPartialy(address _target, uint256 _value) external;
function transferFrom(address _from, address _to, uint256 _value) external returns (bool);
function balanceOf(address... | owned.transferFrom(msg.sender,_target,_value) | 343,651 | owned.transferFrom(msg.sender,_target,_value) |
null | pragma solidity ^0.4.21;
interface itoken {
function freezeAccount(address _target, bool _freeze) external;
function freezeAccountPartialy(address _target, uint256 _value) external;
function transferFrom(address _from, address _to, uint256 _value) external returns (bool);
function balanceOf(address... | _targets[i]!=address(0) | 343,651 | _targets[i]!=address(0) |
null | // KpopCeleb is a ERC-721 celeb (https://github.com/ethereum/eips/issues/721)
// Kpop celebrity cards as digital collectibles
// Kpop.io is the official website
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev ... | ownerOf(_celebId)==_from | 343,810 | ownerOf(_celebId)==_from |
null | // KpopCeleb is a ERC-721 celeb (https://github.com/ethereum/eips/issues/721)
// Kpop celebrity cards as digital collectibles
// Kpop.io is the official website
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev ... | !isNullAddress(_to) | 343,810 | !isNullAddress(_to) |
null | // KpopCeleb is a ERC-721 celeb (https://github.com/ethereum/eips/issues/721)
// Kpop celebrity cards as digital collectibles
// Kpop.io is the official website
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev ... | balanceOf(_from)>0 | 343,810 | balanceOf(_from)>0 |
null | // KpopCeleb is a ERC-721 celeb (https://github.com/ethereum/eips/issues/721)
// Kpop celebrity cards as digital collectibles
// Kpop.io is the official website
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev ... | !isNullAddress(msg.sender) | 343,810 | !isNullAddress(msg.sender) |
null | // KpopCeleb is a ERC-721 celeb (https://github.com/ethereum/eips/issues/721)
// Kpop celebrity cards as digital collectibles
// Kpop.io is the official website
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev ... | !isNullAddress(_coauthor) | 343,810 | !isNullAddress(_coauthor) |
null | // KpopCeleb is a ERC-721 celeb (https://github.com/ethereum/eips/issues/721)
// Kpop celebrity cards as digital collectibles
// Kpop.io is the official website
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev ... | !isNullAddress(_address) | 343,810 | !isNullAddress(_address) |
null | // KpopCeleb is a ERC-721 celeb (https://github.com/ethereum/eips/issues/721)
// Kpop celebrity cards as digital collectibles
// Kpop.io is the official website
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev ... | isApproved(_to,_celebId) | 343,810 | isApproved(_to,_celebId) |
null | // KpopCeleb is a ERC-721 celeb (https://github.com/ethereum/eips/issues/721)
// Kpop celebrity cards as digital collectibles
// Kpop.io is the official website
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev ... | isApproved(msg.sender,_celebId) | 343,810 | isApproved(msg.sender,_celebId) |
"LEAD transfer failed" | // hevm: flattened sources of contracts/Alchemist.sol
pragma solidity ^0.4.24;
////// contracts/openzeppelin/IERC20.sol
/* pragma solidity ^0.4.24; */
/**
* @title ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/20
*/
interface IERC20 {
function totalSupply() external view returns (ui... | IERC20(LEAD).transferFrom(msg.sender,address(this),_mass),"LEAD transfer failed" | 343,893 | IERC20(LEAD).transferFrom(msg.sender,address(this),_mass) |
"GOLD transfer failed" | // hevm: flattened sources of contracts/Alchemist.sol
pragma solidity ^0.4.24;
////// contracts/openzeppelin/IERC20.sol
/* pragma solidity ^0.4.24; */
/**
* @title ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/20
*/
interface IERC20 {
function totalSupply() external view returns (ui... | IERC20(GOLD).transfer(msg.sender,_mass),"GOLD transfer failed" | 343,893 | IERC20(GOLD).transfer(msg.sender,_mass) |
"Target not Authorized" | // ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// βββββββββββββββββββββββββββββββββββββββββββββββββββββ... | approvedTargets[_swapTarget],"Target not Authorized" | 344,209 | approvedTargets[_swapTarget] |
null | pragma solidity ^0.5.8;
/**
* @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(ui... | checkHolderBalance(msg.sender,_value) | 344,332 | checkHolderBalance(msg.sender,_value) |
null | pragma solidity ^0.5.8;
/**
* @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(ui... | checkHolderBalance(_from,_value) | 344,332 | checkHolderBalance(_from,_value) |
"CHFRY: only SmartAccount could emit Event in EventCenter" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import {IERC20Metadata} from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import {SafeMath} from "@openzeppelin/contracts/utils/math/SafeMath.sol";
import {AccountCenterInterface} from ".... | AccountCenterInterface(accountCenter).isSmartAccountofTypeN(msg.sender,1)||AccountCenterInterface(accountCenter).isSmartAccountofTypeN(msg.sender,2),"CHFRY: only SmartAccount could emit Event in EventCenter" | 344,354 | AccountCenterInterface(accountCenter).isSmartAccountofTypeN(msg.sender,1)||AccountCenterInterface(accountCenter).isSmartAccountofTypeN(msg.sender,2) |
"You have no free mints available (or pool has ran out)." | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openz... | userHasFreeApe(msg.sender),"You have no free mints available (or pool has ran out)." | 344,364 | userHasFreeApe(msg.sender) |
"There are not that many ape outcasts remaining." | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openz... | _numMinted+_numOfApes<=MAX_SUPPLY,"There are not that many ape outcasts remaining." | 344,364 | _numMinted+_numOfApes<=MAX_SUPPLY |
"Destination address already owns a token" | pragma solidity ^0.5.16;
/**
* @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.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be apl... | tokenOwned[to]==0,"Destination address already owns a token" | 344,419 | tokenOwned[to]==0 |
"ERC721: token already minted" | pragma solidity ^0.5.16;
/**
* @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.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be apl... | tokenOwner[tokenId]==address(0),"ERC721: token already minted" | 344,419 | tokenOwner[tokenId]==address(0) |
"ERC721: token does not exist" | pragma solidity ^0.5.16;
/**
* @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.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be apl... | tokenOwner[tokenId]!=address(0),"ERC721: token does not exist" | 344,419 | tokenOwner[tokenId]!=address(0) |
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 ... | _spender.call.value(msg.value)(_data) | 344,458 | _spender.call.value(msg.value)(_data) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.