comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"Already claimed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma abicoder v2;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/structs/BitMaps.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import ".... | !isClaimedByIndex(index),"Already claimed" | 355,359 | !isClaimedByIndex(index) |
"Is start" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma abicoder v2;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/structs/BitMaps.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import ".... | !isStart,"Is start" | 355,359 | !isStart |
"SALE_IS_NOT_ACTIVE" | pragma solidity ^0.8.10;
/**
* @title Nas Academy x Curious Addys Zombie Edition Contract
* @author Mai Akiyoshi & Ben Yu (https://twitter.com/mai_on_chain & https://twitter.com/intenex)
* @notice This contract handles minting Nas Academy NFT tokens.
*/
contract NasAcademyXCuriousAddysZombieEdition is ERC721,... | isFirstSaleActive||isSecondSaleActive,"SALE_IS_NOT_ACTIVE" | 355,456 | isFirstSaleActive||isSecondSaleActive |
"MINT_TOO_LARGE" | pragma solidity ^0.8.10;
/**
* @title Nas Academy x Curious Addys Zombie Edition Contract
* @author Mai Akiyoshi & Ben Yu (https://twitter.com/mai_on_chain & https://twitter.com/intenex)
* @notice This contract handles minting Nas Academy NFT tokens.
*/
contract NasAcademyXCuriousAddysZombieEdition is ERC721,... | (tokenIds.current()-1+(receivers.length*mintNumber))<=maxSupply,"MINT_TOO_LARGE" | 355,456 | (tokenIds.current()-1+(receivers.length*mintNumber))<=maxSupply |
"OxyFarmsNFT::mint: Sold out." | pragma solidity ^0.8.0;
// SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
/**
* @title OxyFarmsNFT
* @dev The NFTrees token contract for the first... | totalSupply().add(_quantity)<=MAX_NFTREES,"OxyFarmsNFT::mint: Sold out." | 355,563 | totalSupply().add(_quantity)<=MAX_NFTREES |
"OxyFarmsNFT::preMint: The user is not allowed to do further presale buyings." | pragma solidity ^0.8.0;
// SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
/**
* @title OxyFarmsNFT
* @dev The NFTrees token contract for the first... | whitelistedAllowance[msg.sender].sub(_quantity)>=0,"OxyFarmsNFT::preMint: The user is not allowed to do further presale buyings." | 355,563 | whitelistedAllowance[msg.sender].sub(_quantity)>=0 |
"OxyFarmsNFT::preMint: This address is not allowed to buy that quantity." | pragma solidity ^0.8.0;
// SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
/**
* @title OxyFarmsNFT
* @dev The NFTrees token contract for the first... | whitelistedAllowance[msg.sender]>=_quantity,"OxyFarmsNFT::preMint: This address is not allowed to buy that quantity." | 355,563 | whitelistedAllowance[msg.sender]>=_quantity |
"vote not exist" | pragma solidity >=0.4.21 <0.6.0;
contract MultiSigInterface{
function update_and_check_reach_majority(uint64 id, string memory name, bytes32 hash, address sender) public returns (bool);
function is_signer(address addr) public view returns(bool);
}
contract MultiSigTools{
MultiSigInterface public multisig_co... | vote_status[_hash].exist,"vote not exist" | 355,583 | vote_status[_hash].exist |
"already exist" | pragma solidity >=0.4.21 <0.6.0;
contract MultiSigInterface{
function update_and_check_reach_majority(uint64 id, string memory name, bytes32 hash, address sender) public returns (bool);
function is_signer(address addr) public view returns(bool);
}
contract MultiSigTools{
MultiSigInterface public multisig_co... | !vote_status[_hash].exist,"already exist" | 355,583 | !vote_status[_hash].exist |
"not determined" | pragma solidity >=0.4.21 <0.6.0;
contract MultiSigInterface{
function update_and_check_reach_majority(uint64 id, string memory name, bytes32 hash, address sender) public returns (bool);
function is_signer(address addr) public view returns(bool);
}
contract MultiSigTools{
MultiSigInterface public multisig_co... | vote_status[_hash].determined,"not determined" | 355,583 | vote_status[_hash].determined |
null | pragma solidity ^0.4.25;
/**
*
* World War Goo - Competitive Idle Game
*
* https://ethergoo.io
*
*/
contract Army {
GooToken constant goo = GooToken(0xdf0960778c6e6597f197ed9a25f12f5d971da86c);
Clans clans = Clans(0x0);
uint224 public totalArmyPower; // Global power of players (attack + ... | operator[msg.sender] | 355,597 | operator[msg.sender] |
null | pragma solidity ^0.4.25;
/**
*
* World War Goo - Competitive Idle Game
*
* https://ethergoo.io
*
*/
contract Army {
GooToken constant goo = GooToken(0xdf0960778c6e6597f197ed9a25f12f5d971da86c);
Clans clans = Clans(0x0);
uint224 public totalArmyPower; // Global power of players (attack + ... | now+6hours>nextSnapshotTime | 355,597 | now+6hours>nextSnapshotTime |
"Auction has already ended" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
contract Auction is Ownab... | !_auctionStatus.ended,"Auction has already ended" | 355,664 | !_auctionStatus.ended |
"Auction hasn't started yet" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
contract Auction is Ownab... | _auctionStatus.started,"Auction hasn't started yet" | 355,664 | _auctionStatus.started |
"Auction has already started" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
contract Auction is Ownab... | !_auctionStatus.started,"Auction has already started" | 355,664 | !_auctionStatus.started |
"Auction hasn't ended yet" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
contract Auction is Ownab... | _auctionStatus.ended,"Auction hasn't ended yet" | 355,664 | _auctionStatus.ended |
"Auction can't be stopped until due" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
contract Auction is Ownab... | block.timestamp>=(auctionStart+auctionLengthInHours*60*60),"Auction can't be stopped until due" | 355,664 | block.timestamp>=(auctionStart+auctionLengthInHours*60*60) |
"Unit price step too small" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
contract Auction is Ownab... | finalUnitPrice%unitPriceStepSize==0,"Unit price step too small" | 355,664 | finalUnitPrice%unitPriceStepSize==0 |
"Quantity * Unit Price != Total Value" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
contract Auction is Ownab... | finalQuantity*finalUnitPrice==finalBalance,"Quantity * Unit Price != Total Value" | 355,664 | finalQuantity*finalUnitPrice==finalBalance |
"backfill disabled" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
contract Auction is Ownab... | !backfillingDisabled,"backfill disabled" | 355,664 | !backfillingDisabled |
"NOT OWNER OR NOT EXIST" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.4;
// Uncomment if needed.
// import "hardhat/console.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openz... | owners[tokenId]==msg.sender,"NOT OWNER OR NOT EXIST" | 355,779 | owners[tokenId]==msg.sender |
"Affiliate Split must be between 0-100%" | pragma solidity ^0.5.12;
contract HEX {
function xfLobbyEnter(address referrerAddr)
external
payable;
function xfLobbyExit(uint256 enterDay, uint256 count)
external;
function xfLobbyPendingDays(address memberAddr)
external
view
returns (uint256[2] memory words);
functi... | affiliateRankPercentages[affiliateRank]>0&&affiliateRankPercentages[affiliateRank]<=100,"Affiliate Split must be between 0-100%" | 355,912 | affiliateRankPercentages[affiliateRank]>0&&affiliateRankPercentages[affiliateRank]<=100 |
"Hearts received for a lobby is 0" | pragma solidity ^0.5.12;
contract HEX {
function xfLobbyEnter(address referrerAddr)
external
payable;
function xfLobbyExit(uint256 enterDay, uint256 count)
external;
function xfLobbyPendingDays(address memberAddr)
external
view
returns (uint256[2] memory words);
functi... | totalValueByDay[currentState.nextPendingDay].heartsReceived>0,"Hearts received for a lobby is 0" | 355,912 | totalValueByDay[currentState.nextPendingDay].heartsReceived>0 |
null | pragma solidity ^0.4.19;
contract PRIVATE_ETH_CELL
{
mapping (address=>uint256) public balances;
uint public MinSum;
LogFile Log;
bool intitalized;
function SetMinSum(uint _val)
public
{
require(<FILL_ME>)
MinSum = _val;
}
function SetLogFile(address _... | !intitalized | 355,967 | !intitalized |
"Exceeded giveaway limit" | // SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./Base64.sol";
import "./PonziRugsGenerator.sol";
contract PonziRugs is ERC721, Ownable{
// On Tupac's Soul
uint256 public MAX_S... | totalSupply+rugs<=RUG_GIVEAWAY,"Exceeded giveaway limit" | 356,188 | totalSupply+rugs<=RUG_GIVEAWAY |
"Ether Amount invalid to get rugged do: getRuggedInEther * rugs" | // SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./Base64.sol";
import "./PonziRugsGenerator.sol";
contract PonziRugs is ERC721, Ownable{
// On Tupac's Soul
uint256 public MAX_S... | GET_RUGGED_IN_ETHER*rugs==msg.value,"Ether Amount invalid to get rugged do: getRuggedInEther * rugs" | 356,188 | GET_RUGGED_IN_ETHER*rugs==msg.value |
null | // SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./Base64.sol";
import "./PonziRugsGenerator.sol";
contract PonziRugs is ERC721, Ownable{
// On Tupac's Soul
uint256 public MAX_S... | totalSupply+rugPulls<MAX_SUPPLY | 356,188 | totalSupply+rugPulls<MAX_SUPPLY |
null | // SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./Base64.sol";
import "./PonziRugsGenerator.sol";
contract PonziRugs is ERC721, Ownable{
// On Tupac's Soul
uint256 public MAX_S... | !PonziRugsGenerator.isTryingToRug(msg.sender) | 356,188 | !PonziRugsGenerator.isTryingToRug(msg.sender) |
"Purchase would exceed max supply of Guardians." | // SPDX-License-Identifier: MIT
/*
+ + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+ . . . . . +
+ . _ ____ U _____ u +
. U /"\ u . U /"_... | totalSupply()+numberOfTokens<=MAX_AGES,"Purchase would exceed max supply of Guardians." | 356,199 | totalSupply()+numberOfTokens<=MAX_AGES |
"Ether value sent is not correct." | // SPDX-License-Identifier: MIT
/*
+ + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+ . . . . . +
+ . _ ____ U _____ u +
. U /"\ u . U /"_... | AGE_PRICE*numberOfTokens<=msg.value,"Ether value sent is not correct." | 356,199 | AGE_PRICE*numberOfTokens<=msg.value |
"Now is pre mint." | // SPDX-License-Identifier: MIT
/*
+ + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+ . . . . . +
+ . _ ____ U _____ u +
. U /"\ u . U /"_... | !preSaleActive,"Now is pre mint." | 356,199 | !preSaleActive |
"Pre mint is not active." | // SPDX-License-Identifier: MIT
/*
+ + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+ . . . . . +
+ . _ ____ U _____ u +
. U /"\ u . U /"_... | preSaleActive&&preStage>0,"Pre mint is not active." | 356,199 | preSaleActive&&preStage>0 |
"Pre mint already the max purchase." | // SPDX-License-Identifier: MIT
/*
+ + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+ . . . . . +
+ . _ ____ U _____ u +
. U /"\ u . U /"_... | mintedNum+numberOfTokens<=maxNumber,"Pre mint already the max purchase." | 356,199 | mintedNum+numberOfTokens<=maxNumber |
"You are not in pre mint list." | // SPDX-License-Identifier: MIT
/*
+ + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+ . . . . . +
+ . _ ____ U _____ u +
. U /"\ u . U /"_... | MerkleProof.verify(proof,root,node),"You are not in pre mint list." | 356,199 | MerkleProof.verify(proof,root,node) |
"Not enough Ether to mint." | // SPDX-License-Identifier: MIT
/*
+ + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+ . . . . . +
+ . _ ____ U _____ u +
. U /"\ u . U /"_... | AGE_PRICE*numberOfTokens/10<=msg.value,"Not enough Ether to mint." | 356,199 | AGE_PRICE*numberOfTokens/10<=msg.value |
"Only vault can burn token." | // SPDX-License-Identifier: MIT
/*
+ + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+ . . . . . +
+ . _ ____ U _____ u +
. U /"\ u . U /"_... | _msgSender()==address(guardVault),"Only vault can burn token." | 356,199 | _msgSender()==address(guardVault) |
"Amount cannot exceeed the balance" | pragma solidity 0.5.11;
/**
* @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[receiver]>=_amount,"Amount cannot exceeed the balance" | 356,280 | balances[receiver]>=_amount |
"ERR_NOT_APPROVED" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
/* ========== External Inheritance ========== */
import "@openzeppelin/contracts/access/Ownable.sol";
/* ========== External Interfaces ========== */
import "@indexed-finance/proxies/contracts/interfaces/IDelegateCallProxyMana... | isApprovedController[msg.sender],"ERR_NOT_APPROVED" | 356,310 | isApprovedController[msg.sender] |
"Purchase would exceed max supply of JimmyJims" | pragma solidity 0.7.0;
/**
* @title WickedCraniums contract
* @dev Extends ERC721 Non-Fungible Token Standard basic implementation
*/
contract JimmyJims is ERC721, Ownable {
using SafeMath for uint256;
uint256 public constant JimmyPrice = 50000000000000000; // 0.05 ETH
uint public constant maxJim... | totalSupply().add(numberOfTokens)<=MAX_JIMMYS,"Purchase would exceed max supply of JimmyJims" | 356,365 | totalSupply().add(numberOfTokens)<=MAX_JIMMYS |
"Ether value sent is not correct" | pragma solidity 0.7.0;
/**
* @title WickedCraniums contract
* @dev Extends ERC721 Non-Fungible Token Standard basic implementation
*/
contract JimmyJims is ERC721, Ownable {
using SafeMath for uint256;
uint256 public constant JimmyPrice = 50000000000000000; // 0.05 ETH
uint public constant maxJim... | JimmyPrice.mul(numberOfTokens)<=msg.value,"Ether value sent is not correct" | 356,365 | JimmyPrice.mul(numberOfTokens)<=msg.value |
"max NFT limit exceeded" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
contract AshesOfLight is ERC721Enumerable, Ownable {
using Strings for uint256;
string public baseURI;
string public notRevealedUri;
uint256 public cost = 0.08 ether;
uint256 public maxSupply =... | supply+_mintAmount<=maxSupply-rewardAmountTotal,"max NFT limit exceeded" | 356,414 | supply+_mintAmount<=maxSupply-rewardAmountTotal |
"No rewards to claim for your account" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
contract AshesOfLight is ERC721Enumerable, Ownable {
using Strings for uint256;
string public baseURI;
string public notRevealedUri;
uint256 public cost = 0.08 ether;
uint256 public maxSupply =... | hasReward(msg.sender),"No rewards to claim for your account" | 356,414 | hasReward(msg.sender) |
"max NFT limit exceeded" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
contract AshesOfLight is ERC721Enumerable, Ownable {
using Strings for uint256;
string public baseURI;
string public notRevealedUri;
uint256 public cost = 0.08 ether;
uint256 public maxSupply =... | supply+rewardAmount<=maxSupply-rewardAmountTotal,"max NFT limit exceeded" | 356,414 | supply+rewardAmount<=maxSupply-rewardAmountTotal |
"max NFT per address exceeded" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
contract AshesOfLight is ERC721Enumerable, Ownable {
using Strings for uint256;
string public baseURI;
string public notRevealedUri;
uint256 public cost = 0.08 ether;
uint256 public maxSupply =... | ownerMintedCount+rewardAmount<=nftPerAddressLimit,"max NFT per address exceeded" | 356,414 | ownerMintedCount+rewardAmount<=nftPerAddressLimit |
"PLEDGE:SAFE_TRANSFER_ERROR" | pragma solidity ^0.5.8;
import "./IERC20.sol";
import "./TransferHelper.sol";
import "./ReentrancyGuard.sol";
import "./IPledgeMining.sol";
import "./SafeMath.sol";
//质押挖矿合约逻辑
//ADAO质押币
//WDAO收益币
//一.质押erc20代币ADAO:质押时间为30/60/90/120/150/180天,到期才能赎回,未到时间不予赎回,且按质押数量定挖。
//质押币本位精算到天结算:30天为总挖矿5/千,60天为总挖矿12/千,90天总挖矿... | address(_tokenA).safeTransfer(msg.sender,tokenAAmount),"PLEDGE:SAFE_TRANSFER_ERROR" | 356,419 | address(_tokenA).safeTransfer(msg.sender,tokenAAmount) |
"PLEDGE:SAFE_TRANSFER_ERROR" | pragma solidity ^0.5.8;
import "./IERC20.sol";
import "./TransferHelper.sol";
import "./ReentrancyGuard.sol";
import "./IPledgeMining.sol";
import "./SafeMath.sol";
//质押挖矿合约逻辑
//ADAO质押币
//WDAO收益币
//一.质押erc20代币ADAO:质押时间为30/60/90/120/150/180天,到期才能赎回,未到时间不予赎回,且按质押数量定挖。
//质押币本位精算到天结算:30天为总挖矿5/千,60天为总挖矿12/千,90天总挖矿... | address(_tokenB).safeTransfer(msg.sender,tokenBAmount),"PLEDGE:SAFE_TRANSFER_ERROR" | 356,419 | address(_tokenB).safeTransfer(msg.sender,tokenBAmount) |
"PLEDGE:AMOUNT_ERROR" | pragma solidity ^0.5.8;
import "./IERC20.sol";
import "./TransferHelper.sol";
import "./ReentrancyGuard.sol";
import "./IPledgeMining.sol";
import "./SafeMath.sol";
//质押挖矿合约逻辑
//ADAO质押币
//WDAO收益币
//一.质押erc20代币ADAO:质押时间为30/60/90/120/150/180天,到期才能赎回,未到时间不予赎回,且按质押数量定挖。
//质押币本位精算到天结算:30天为总挖矿5/千,60天为总挖矿12/千,90天总挖矿... | _amount>=(10**uint(18)),"PLEDGE:AMOUNT_ERROR" | 356,419 | _amount>=(10**uint(18)) |
"PLEDGE:TYPE_ERROR" | pragma solidity ^0.5.8;
import "./IERC20.sol";
import "./TransferHelper.sol";
import "./ReentrancyGuard.sol";
import "./IPledgeMining.sol";
import "./SafeMath.sol";
//质押挖矿合约逻辑
//ADAO质押币
//WDAO收益币
//一.质押erc20代币ADAO:质押时间为30/60/90/120/150/180天,到期才能赎回,未到时间不予赎回,且按质押数量定挖。
//质押币本位精算到天结算:30天为总挖矿5/千,60天为总挖矿12/千,90天总挖矿... | typeConfig[_type]!=uint256(0),"PLEDGE:TYPE_ERROR" | 356,419 | typeConfig[_type]!=uint256(0) |
"PLEDGE:SAFE_TRANSFER_FROM_ERROR" | pragma solidity ^0.5.8;
import "./IERC20.sol";
import "./TransferHelper.sol";
import "./ReentrancyGuard.sol";
import "./IPledgeMining.sol";
import "./SafeMath.sol";
//质押挖矿合约逻辑
//ADAO质押币
//WDAO收益币
//一.质押erc20代币ADAO:质押时间为30/60/90/120/150/180天,到期才能赎回,未到时间不予赎回,且按质押数量定挖。
//质押币本位精算到天结算:30天为总挖矿5/千,60天为总挖矿12/千,90天总挖矿... | address(_tokenA).safeTransferFrom(msg.sender,address(this),_amount),"PLEDGE:SAFE_TRANSFER_FROM_ERROR" | 356,419 | address(_tokenA).safeTransferFrom(msg.sender,address(this),_amount) |
"PLEDGE:SAFE_TRANSFER_ERROR" | pragma solidity ^0.5.8;
import "./IERC20.sol";
import "./TransferHelper.sol";
import "./ReentrancyGuard.sol";
import "./IPledgeMining.sol";
import "./SafeMath.sol";
//质押挖矿合约逻辑
//ADAO质押币
//WDAO收益币
//一.质押erc20代币ADAO:质押时间为30/60/90/120/150/180天,到期才能赎回,未到时间不予赎回,且按质押数量定挖。
//质押币本位精算到天结算:30天为总挖矿5/千,60天为总挖矿12/千,90天总挖矿... | address(_tokenB).safeTransfer(msg.sender,income),"PLEDGE:SAFE_TRANSFER_ERROR" | 356,419 | address(_tokenB).safeTransfer(msg.sender,income) |
"PLEDGE:SAFE_TRANSFER_ERROR" | pragma solidity ^0.5.8;
import "./IERC20.sol";
import "./TransferHelper.sol";
import "./ReentrancyGuard.sol";
import "./IPledgeMining.sol";
import "./SafeMath.sol";
//质押挖矿合约逻辑
//ADAO质押币
//WDAO收益币
//一.质押erc20代币ADAO:质押时间为30/60/90/120/150/180天,到期才能赎回,未到时间不予赎回,且按质押数量定挖。
//质押币本位精算到天结算:30天为总挖矿5/千,60天为总挖矿12/千,90天总挖矿... | address(_tokenA).safeTransfer(msg.sender,r.pledgeAmount),"PLEDGE:SAFE_TRANSFER_ERROR" | 356,419 | address(_tokenA).safeTransfer(msg.sender,r.pledgeAmount) |
"ERC20Capped: cap exceeded" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.2;
import "./ERC20.sol";
import "./ERC20Burnable.sol";
import "./MinterRole.sol";
contract Token is ERC20("TownCoin", "TOWN"), ERC20Burnable, MinterRole {
address public owner;
uint256 private _totalMinted;
uint256 private _cap;
constructor() p... | totalMinted().add(amount)<=cap(),"ERC20Capped: cap exceeded" | 356,424 | totalMinted().add(amount)<=cap() |
"Address is not whitelisted for presale." | pragma solidity ^0.8.7;
contract MightyAxolotl is Ownable, ERC721Enumerable {
uint256 public preSaleTime = 1632168000; // Sep 20 6PM EST // 10PM CEST
uint256 public saleTime = 1632427200; // Sep 23 6PM EST // 10PM CEST
uint256 public price = 0.02 ether;
uint256 public maxSupply = 10000;
uint25... | preSaleWallets[msg.sender],"Address is not whitelisted for presale." | 356,440 | preSaleWallets[msg.sender] |
"Reserves maxed out" | pragma solidity ^0.8.7;
contract MightyAxolotl is Ownable, ERC721Enumerable {
uint256 public preSaleTime = 1632168000; // Sep 20 6PM EST // 10PM CEST
uint256 public saleTime = 1632427200; // Sep 23 6PM EST // 10PM CEST
uint256 public price = 0.02 ether;
uint256 public maxSupply = 10000;
uint25... | balanceOf(msg.sender)+_count<=RESERVES,"Reserves maxed out" | 356,440 | balanceOf(msg.sender)+_count<=RESERVES |
"Sold out!" | pragma solidity ^0.8.7;
contract MightyAxolotl is Ownable, ERC721Enumerable {
uint256 public preSaleTime = 1632168000; // Sep 20 6PM EST // 10PM CEST
uint256 public saleTime = 1632427200; // Sep 23 6PM EST // 10PM CEST
uint256 public price = 0.02 ether;
uint256 public maxSupply = 10000;
uint25... | totalSupply+_count<=maxSupply,"Sold out!" | 356,440 | totalSupply+_count<=maxSupply |
"NFT_LIMIT_REACHED" | pragma solidity 0.8.0;
contract ZombieZebras is Ownable, ERC721, ReentrancyGuard {
uint256 public nftPrice = 0.05 ether;
uint256 public nftLimit = 3333;
uint256 public giftRemaining = 150;
uint256 public capPresale = 15;
uint256 public capPublic = 20;
uint256 public totalSupply = 0;
... | totalSupply+_amount<=(nftLimit-giftRemaining),"NFT_LIMIT_REACHED" | 356,453 | totalSupply+_amount<=(nftLimit-giftRemaining) |
"ADDRESS_NOT_WHITELISTED" | pragma solidity 0.8.0;
contract ZombieZebras is Ownable, ERC721, ReentrancyGuard {
uint256 public nftPrice = 0.05 ether;
uint256 public nftLimit = 3333;
uint256 public giftRemaining = 150;
uint256 public capPresale = 15;
uint256 public capPublic = 20;
uint256 public totalSupply = 0;
... | MerkleProof.verify(proof,merkleRoot,keccak256(abi.encodePacked(_msgSender()))),"ADDRESS_NOT_WHITELISTED" | 356,453 | MerkleProof.verify(proof,merkleRoot,keccak256(abi.encodePacked(_msgSender()))) |
"MINT_CAP_REACHED" | pragma solidity 0.8.0;
contract ZombieZebras is Ownable, ERC721, ReentrancyGuard {
uint256 public nftPrice = 0.05 ether;
uint256 public nftLimit = 3333;
uint256 public giftRemaining = 150;
uint256 public capPresale = 15;
uint256 public capPublic = 20;
uint256 public totalSupply = 0;
... | presaleAddresses[_msgSender()]+_amount<=capPresale,"MINT_CAP_REACHED" | 356,453 | presaleAddresses[_msgSender()]+_amount<=capPresale |
"NFT_LIMIT_REACHED" | pragma solidity 0.8.0;
contract ZombieZebras is Ownable, ERC721, ReentrancyGuard {
uint256 public nftPrice = 0.05 ether;
uint256 public nftLimit = 3333;
uint256 public giftRemaining = 150;
uint256 public capPresale = 15;
uint256 public capPublic = 20;
uint256 public totalSupply = 0;
... | totalSupply+_tos.length<=nftLimit,"NFT_LIMIT_REACHED" | 356,453 | totalSupply+_tos.length<=nftLimit |
"Not mature" | pragma solidity ^0.6.0;
// This contract locked token in 1 year
contract TimelockDev is Ownable {
IERC20 public token;
uint256 public lockTime;
uint256 public startTime;
// _lockTime: in seconds
constructor(uint256 _lockTime) public {
}
function withdraw() public onlyOwner() {
... | startTime+lockTime<block.timestamp,"Not mature" | 356,504 | startTime+lockTime<block.timestamp |
params.requiredAmount | // SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.7.0;
import "./FarmStaking.sol";
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
}
}
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOw... | dHolder.init(address(_rewardToken),params.requiredAmount | 356,508 | address(_rewardToken) |
"Purchase would exceed public sale supply." | pragma solidity ^0.8.0;
// SPDX-License-Identifier: LGPL-3.0-or-later
// crypto
// moments mon
// cry ts @
// pt ts p ts
// @c to me t
// c r cry m
// to cmoments to om
// crypto me crypto @
// @ t moments p
// t ... | totalSupply().add(_amount)<=_PUBLIC_TOKENS,"Purchase would exceed public sale supply." | 356,599 | totalSupply().add(_amount)<=_PUBLIC_TOKENS |
"Insufficient funds to purchase" | pragma solidity ^0.8.0;
// SPDX-License-Identifier: LGPL-3.0-or-later
// crypto
// moments mon
// cry ts @
// pt ts p ts
// @c to me t
// c r cry m
// to cmoments to om
// crypto me crypto @
// @ t moments p
// t ... | getTokenPrice().mul(_amount)<=msg.value,"Insufficient funds to purchase" | 356,599 | getTokenPrice().mul(_amount)<=msg.value |
"Purchase would exceed max supply of Crypto Moments" | pragma solidity ^0.8.0;
// SPDX-License-Identifier: LGPL-3.0-or-later
// crypto
// moments mon
// cry ts @
// pt ts p ts
// @c to me t
// c r cry m
// to cmoments to om
// crypto me crypto @
// @ t moments p
// t ... | totalSupply()<TOKEN_LIMIT,"Purchase would exceed max supply of Crypto Moments" | 356,599 | totalSupply()<TOKEN_LIMIT |
"Not authorised" | pragma solidity ^0.8.0;
// SPDX-License-Identifier: LGPL-3.0-or-later
// crypto
// moments mon
// cry ts @
// pt ts p ts
// @c to me t
// c r cry m
// to cmoments to om
// crypto me crypto @
// @ t moments p
// t ... | _privateSaleAddresses[address(msg.sender)],"Not authorised" | 356,599 | _privateSaleAddresses[address(msg.sender)] |
"Public sale did not end yet." | pragma solidity ^0.8.0;
// SPDX-License-Identifier: LGPL-3.0-or-later
// crypto
// moments mon
// cry ts @
// pt ts p ts
// @c to me t
// c r cry m
// to cmoments to om
// crypto me crypto @
// @ t moments p
// t ... | totalSupply()>=_PUBLIC_TOKENS,"Public sale did not end yet." | 356,599 | totalSupply()>=_PUBLIC_TOKENS |
"Purchase would exceed max supply of Crypto Moments" | pragma solidity ^0.8.0;
// SPDX-License-Identifier: LGPL-3.0-or-later
// crypto
// moments mon
// cry ts @
// pt ts p ts
// @c to me t
// c r cry m
// to cmoments to om
// crypto me crypto @
// @ t moments p
// t ... | totalSupply().add(1)<=TOKEN_LIMIT,"Purchase would exceed max supply of Crypto Moments" | 356,599 | totalSupply().add(1)<=TOKEN_LIMIT |
"Bonus already claimed" | pragma solidity ^0.8.0;
// SPDX-License-Identifier: LGPL-3.0-or-later
// crypto
// moments mon
// cry ts @
// pt ts p ts
// @c to me t
// c r cry m
// to cmoments to om
// crypto me crypto @
// @ t moments p
// t ... | !_bonusAlreadyClaimed[address(msg.sender)],"Bonus already claimed" | 356,599 | !_bonusAlreadyClaimed[address(msg.sender)] |
"Not a proud owner of a piece of crypto history." | pragma solidity ^0.8.0;
// SPDX-License-Identifier: LGPL-3.0-or-later
// crypto
// moments mon
// cry ts @
// pt ts p ts
// @c to me t
// c r cry m
// to cmoments to om
// crypto me crypto @
// @ t moments p
// t ... | balanceOfPreviousMoments(address(msg.sender))>0,"Not a proud owner of a piece of crypto history." | 356,599 | balanceOfPreviousMoments(address(msg.sender))>0 |
"Invalid whitelist proof" | // SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.s... | MerkleProof.verify(_merkleProof,c.merkleRoot,node),"Invalid whitelist proof" | 356,692 | MerkleProof.verify(_merkleProof,c.merkleRoot,node) |
"already withdraw" | // SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.s... | !c.isFundWithdraw,"already withdraw" | 356,692 | !c.isFundWithdraw |
null | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
contract ExecutiveHusky is ERC721Enumerable, Ownable {
using Strings for uint256;
string public baseURI;
string public baseExtension = ".json";
uint256 public cost = 0.07 ether;
uint25... | WalletTokenCount+_mintAmount<=maxSupplyPerWallet | 356,804 | WalletTokenCount+_mintAmount<=maxSupplyPerWallet |
null | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
contract ExecutiveHusky is ERC721Enumerable, Ownable {
using Strings for uint256;
string public baseURI;
string public baseExtension = ".json";
uint256 public cost = 0.07 ether;
uint25... | payable(_65_Member1).send(_65_Member1_Share) | 356,804 | payable(_65_Member1).send(_65_Member1_Share) |
null | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
contract ExecutiveHusky is ERC721Enumerable, Ownable {
using Strings for uint256;
string public baseURI;
string public baseExtension = ".json";
uint256 public cost = 0.07 ether;
uint25... | payable(_25_Member2).send(_25_Member2_Share) | 356,804 | payable(_25_Member2).send(_25_Member2_Share) |
null | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
contract ExecutiveHusky is ERC721Enumerable, Ownable {
using Strings for uint256;
string public baseURI;
string public baseExtension = ".json";
uint256 public cost = 0.07 ether;
uint25... | payable(_5_Member3).send(_5_Member3_Share) | 356,804 | payable(_5_Member3).send(_5_Member3_Share) |
null | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
contract ExecutiveHusky is ERC721Enumerable, Ownable {
using Strings for uint256;
string public baseURI;
string public baseExtension = ".json";
uint256 public cost = 0.07 ether;
uint25... | payable(_5_Member4).send(_5_Member4_Share) | 356,804 | payable(_5_Member4).send(_5_Member4_Share) |
'unauthorized' | pragma solidity ^0.5.17;
interface IERC20 {
function totalSupply() external view returns (uint);
function balanceOf(address account) external view returns (uint);
function transfer(address recipient, uint amount) external returns (bool);
function allowance(address owner, address spender) external v... | stakers[from_],'unauthorized' | 356,841 | stakers[from_] |
"Contract not approved" | /*
***The Shuffle Raffle***
https://shuffle-raffle.com/
The shuffle raffle is a game built on top of the Shuffle Monster token (https://shuffle.monster/).
Players can buy tickets with SHUF tokens. Each week a winner is randomly picked.
*/
pragma solidity ^0.5.8;
contract ERC20Token {
function totalSupply() p... | shuf.allowance(msg.sender,address(this))>=bill,"Contract not approved" | 356,852 | shuf.allowance(msg.sender,address(this))>=bill |
"Not enough SHUF balance." | /*
***The Shuffle Raffle***
https://shuffle-raffle.com/
The shuffle raffle is a game built on top of the Shuffle Monster token (https://shuffle.monster/).
Players can buy tickets with SHUF tokens. Each week a winner is randomly picked.
*/
pragma solidity ^0.5.8;
contract ERC20Token {
function totalSupply() p... | shuf.balanceOf(msg.sender)>=bill,"Not enough SHUF balance." | 356,852 | shuf.balanceOf(msg.sender)>=bill |
"caller is not the owner" | pragma solidity 0.5.16;
pragma experimental ABIEncoderV2;
contract Yielder is ContractWithFlashLoan, Ownable {
using SafeMath for uint256;
address public constant ETHER = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
constructor(address _aaveLPProvider)
public
payable
ContractW... | owner()==messageSender,"caller is not the owner" | 356,866 | owner()==messageSender |
"cream transfer failed" | pragma solidity 0.5.16;
pragma experimental ABIEncoderV2;
contract Yielder is ContractWithFlashLoan, Ownable {
using SafeMath for uint256;
address public constant ETHER = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
constructor(address _aaveLPProvider)
public
payable
ContractW... | compToken.transfer(receiver,totalCompBalance),"cream transfer failed" | 356,866 | compToken.transfer(receiver,totalCompBalance) |
"Not Enough ROYA" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.0;
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
}
... | ROYA.balanceOf(address(this))>=_amount,"Not Enough ROYA" | 356,871 | ROYA.balanceOf(address(this))>=_amount |
null | /**
*Submitted for verification at Etherscan.io on 2019-08-14
*/
pragma solidity ^0.4.26;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Integer divis... | lockAddrs[msg.sender]==false | 356,876 | lockAddrs[msg.sender]==false |
null | /**
*Submitted for verification at Etherscan.io on 2019-08-14
*/
pragma solidity ^0.4.26;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Integer divis... | SafeMath.add(balanceOf[_to],_value)>balanceOf[_to] | 356,876 | SafeMath.add(balanceOf[_to],_value)>balanceOf[_to] |
null | /**
*Submitted for verification at Etherscan.io on 2019-08-14
*/
pragma solidity ^0.4.26;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Integer divis... | lockAddrs[_from]==false | 356,876 | lockAddrs[_from]==false |
'TokenPool: Cannot claim token held by the contract' | pragma solidity 0.5.0;
contract TokenPool {
IERC20 public token;
address public _owner;
modifier onlyOwner() {
}
constructor(IERC20 _token) public {
}
function balance() public view returns (uint256) {
}
function transfer(address to, uint256 value) external onlyOwner return... | address(token)!=tokenToRescue,'TokenPool: Cannot claim token held by the contract' | 356,935 | address(token)!=tokenToRescue |
"Transaction will exceed maximum supply of CBWC" | pragma solidity 0.8.11;
contract CryptoBearWatchClub is ERC721, Ownable, ReentrancyGuard {
using MerkleProof for bytes32[];
enum SALE_STATUS {
OFF,
PRIVATE_SALE,
PRESALE,
AUCTION
}
SALE_STATUS public saleStatus;
string baseTokenURI;
// To store total nu... | totalSupply()+_count<=MAX_CBWC,"Transaction will exceed maximum supply of CBWC" | 356,937 | totalSupply()+_count<=MAX_CBWC |
"Invalid allowance amount" | pragma solidity 0.8.11;
contract CryptoBearWatchClub is ERC721, Ownable, ReentrancyGuard {
using MerkleProof for bytes32[];
enum SALE_STATUS {
OFF,
PRIVATE_SALE,
PRESALE,
AUCTION
}
SALE_STATUS public saleStatus;
string baseTokenURI;
// To store total nu... | _allowedCount[i]>0,"Invalid allowance amount" | 356,937 | _allowedCount[i]>0 |
"Zero Address" | pragma solidity 0.8.11;
contract CryptoBearWatchClub is ERC721, Ownable, ReentrancyGuard {
using MerkleProof for bytes32[];
enum SALE_STATUS {
OFF,
PRIVATE_SALE,
PRESALE,
AUCTION
}
SALE_STATUS public saleStatus;
string baseTokenURI;
// To store total nu... | _whitelistAddresses[i]!=address(0),"Zero Address" | 356,937 | _whitelistAddresses[i]!=address(0) |
"Address not eligible for private sale mint" | pragma solidity 0.8.11;
contract CryptoBearWatchClub is ERC721, Ownable, ReentrancyGuard {
using MerkleProof for bytes32[];
enum SALE_STATUS {
OFF,
PRIVATE_SALE,
PRESALE,
AUCTION
}
SALE_STATUS public saleStatus;
string baseTokenURI;
// To store total nu... | privateSaleMintCount[msg.sender]>0,"Address not eligible for private sale mint" | 356,937 | privateSaleMintCount[msg.sender]>0 |
"Address not eligible for presale mint" | pragma solidity 0.8.11;
contract CryptoBearWatchClub is ERC721, Ownable, ReentrancyGuard {
using MerkleProof for bytes32[];
enum SALE_STATUS {
OFF,
PRIVATE_SALE,
PRESALE,
AUCTION
}
SALE_STATUS public saleStatus;
string baseTokenURI;
// To store total nu... | MerkleProof.verify(_proof,merkleRoot,keccak256(abi.encodePacked(msg.sender,_allowedCount))),"Address not eligible for presale mint" | 356,937 | MerkleProof.verify(_proof,merkleRoot,keccak256(abi.encodePacked(msg.sender,_allowedCount))) |
"Can only mint max 20 CBWC per block" | pragma solidity 0.8.11;
contract CryptoBearWatchClub is ERC721, Ownable, ReentrancyGuard {
using MerkleProof for bytes32[];
enum SALE_STATUS {
OFF,
PRIVATE_SALE,
PRESALE,
AUCTION
}
SALE_STATUS public saleStatus;
string baseTokenURI;
// To store total nu... | lastMintBlock[msg.sender]!=block.number,"Can only mint max 20 CBWC per block" | 356,937 | lastMintBlock[msg.sender]!=block.number |
"invalid forwarder for recipient" | // SPDX-License-Identifier:MIT
pragma solidity ^0.6.2;
pragma experimental ABIEncoderV2;
import "../interfaces/GsnTypes.sol";
import "../interfaces/IRelayRecipient.sol";
import "../forwarder/IForwarder.sol";
import "./GsnUtils.sol";
/**
* Bridge Library to map GSN RelayRequest into a call of a Forwarder
*/
library Gs... | abi.decode(ret,(bool)),"invalid forwarder for recipient" | 356,944 | abi.decode(ret,(bool)) |
"This NTF does not belong to msg.sender address" | // SPDX-License-Identifier: MIT LICENSE
pragma solidity >=0.6.0 <0.8.9;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
interface ISimps {
function ownerOf(uint id) external view returns (address);
function isQueen(... | simpsCity.ownerOf(tokenIds[i])==msg.sender,"This NTF does not belong to msg.sender address" | 356,948 | simpsCity.ownerOf(tokenIds[i])==msg.sender |
"Need to wait 2 days since last claim" | // SPDX-License-Identifier: MIT LICENSE
pragma solidity >=0.6.0 <0.8.9;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
interface ISimps {
function ownerOf(uint id) external view returns (address);
function isQueen(... | !(unstake&&block.timestamp-stake.value<MINIMUM_TIME_TO_EXIT),"Need to wait 2 days since last claim" | 356,948 | !(unstake&&block.timestamp-stake.value<MINIMUM_TIME_TO_EXIT) |
"This NTF does not belong to contract address" | // SPDX-License-Identifier: MIT LICENSE
pragma solidity >=0.6.0 <0.8.9;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
interface ISimps {
function ownerOf(uint id) external view returns (address);
function isQueen(... | simpsCity.ownerOf(tokenId)==address(this),"This NTF does not belong to contract address" | 356,948 | simpsCity.ownerOf(tokenId)==address(this) |
"error" | pragma solidity ^0.5.16;
interface IERC20 {
function totalSupply() external view returns (uint);
function balanceOf(address account) external view returns (uint);
function transfer(address recipient, uint amount) external returns (bool);
function allowance(address owner, address spender) external v... | !user[sender],"error" | 356,949 | !user[sender] |
"Purchase would exceed max supply of Masks" | pragma solidity >=0.7.0 <0.9.0;
import "ERC721Enumerable.sol";
import "Ownable.sol";
contract TheMaskSociety is ERC721Enumerable, Ownable {
using Strings for uint256;
uint256 public constant cost = 0.04 ether;
uint256 public constant maxSupply = 4447;
uint256 public maxMintAmount = 5;
uint25... | supply+_mintAmount<=maxSupply-reserve,"Purchase would exceed max supply of Masks" | 357,052 | supply+_mintAmount<=maxSupply-reserve |
"FPB: Max token allocation is reached." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
/**
@author: dotyigit - twitter.com/dotyigit
$$$$$$$$\ $$$$$$$\ $$$$$$$\
$$ _____|$$ __$$\ $$ __$$\
$$ | $$ | $$ |$$ | $$ |
$$$$$\ $$$$$$$ |$$$$$$$\ |
$$ __| $$ ____/ $$ __$$\
$$ | $$ | $$ | $$ |
$$ | $$ | $$$$$$$ |
\__| ... | lastCheckedFPB+quantity<=MAX_TOKEN_FPB,"FPB: Max token allocation is reached." | 357,126 | lastCheckedFPB+quantity<=MAX_TOKEN_FPB |
"FPB: Max token allocation is reached." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
/**
@author: dotyigit - twitter.com/dotyigit
$$$$$$$$\ $$$$$$$\ $$$$$$$\
$$ _____|$$ __$$\ $$ __$$\
$$ | $$ | $$ |$$ | $$ |
$$$$$\ $$$$$$$ |$$$$$$$\ |
$$ __| $$ ____/ $$ __$$\
$$ | $$ | $$ | $$ |
$$ | $$ | $$$$$$$ |
\__| ... | lastCheckedFPB99+quantity<=MAX_TOKEN_FPB99,"FPB: Max token allocation is reached." | 357,126 | lastCheckedFPB99+quantity<=MAX_TOKEN_FPB99 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.