comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"Whitelist: Address already whitelisted" | pragma solidity 0.8.17;
import "./IWhitelist.sol";
abstract contract Whitelist is IWhitelist {
mapping(address => bool) public whitelist;
address public registrar;
constructor(address registrarAddress) {
}
/**
* @dev Throws if called by any account that's not whitelisted.
*/
modifier o... | !whitelist[_addr],"Whitelist: Address already whitelisted" | 459,959 | !whitelist[_addr] |
"The requested mint quantity exceeds the mint limit." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';
contract VrHamsters is ERC721A, Ownable {
... | _numberMinted(msg.sender).add(quantity)<=mintLimit,"The requested mint quantity exceeds the mint limit." | 460,248 | _numberMinted(msg.sender).add(quantity)<=mintLimit |
"Not enough ETH for mint transaction." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';
contract VrHamsters is ERC721A, Ownable {
... | whitelistedPrice.mul(quantity)<=msg.value,"Not enough ETH for mint transaction." | 460,248 | whitelistedPrice.mul(quantity)<=msg.value |
"The requested mint quantity exceeds the supply." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';
contract VrHamsters is ERC721A, Ownable {
... | totalSupply().add(_addresses.length)<=maxSupply,"The requested mint quantity exceeds the supply." | 460,248 | totalSupply().add(_addresses.length)<=maxSupply |
"The requested mint quantity exceeds the supply." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';
contract VrHamsters is ERC721A, Ownable {
... | totalSupply().add(_quantity)<=maxSupply,"The requested mint quantity exceeds the supply." | 460,248 | totalSupply().add(_quantity)<=maxSupply |
"Must keep fees at 30% or less" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
interface IERC20 {
function totalSupply() external view returns (uin... | (_marketing+_liquidity+_developer)<=30,"Must keep fees at 30% or less" | 460,354 | (_marketing+_liquidity+_developer)<=30 |
"You must provide a different max wallet limit other than the current max wallet limit in order to update it" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
interface IERC20 {
function totalSupply() external view returns (uin... | exemptMaxWallet[_address]!=flag,"You must provide a different max wallet limit other than the current max wallet limit in order to update it" | 460,354 | exemptMaxWallet[_address]!=flag |
"You must provide a different max sell limit other than the current max sell limit in order to update it" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
interface IERC20 {
function totalSupply() external view returns (uin... | exemptMaxSell[_address]!=flag,"You must provide a different max sell limit other than the current max sell limit in order to update it" | 460,354 | exemptMaxSell[_address]!=flag |
"You must provide a different max buy limit other than the current max buy limit in order to update it" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
interface IERC20 {
function totalSupply() external view returns (uin... | exemptMaxBuy[_address]!=flag,"You must provide a different max buy limit other than the current max buy limit in order to update it" | 460,354 | exemptMaxBuy[_address]!=flag |
'only owner/admin' | //SPDX-License-Identifier: Unlicensed
import '@openzeppelin/contracts/utils/structs/EnumerableSet.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Multicall.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/security/R... | admins[_owner]||owner()==_owner,'only owner/admin' | 460,376 | admins[_owner]||owner()==_owner |
'Tokenid N/A' | //SPDX-License-Identifier: Unlicensed
import '@openzeppelin/contracts/utils/structs/EnumerableSet.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Multicall.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/security/R... | listOfTokenIds.contains(tokenid),'Tokenid N/A' | 460,376 | listOfTokenIds.contains(tokenid) |
'Not on sell' | //SPDX-License-Identifier: Unlicensed
import '@openzeppelin/contracts/utils/structs/EnumerableSet.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Multicall.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/security/R... | Token.onSell,'Not on sell' | 460,376 | Token.onSell |
'N/A in this gallery' | //SPDX-License-Identifier: Unlicensed
import '@openzeppelin/contracts/utils/structs/EnumerableSet.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Multicall.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/security/R... | listOfTokenIds.contains(tokenId),'N/A in this gallery' | 460,376 | listOfTokenIds.contains(tokenId) |
'N/A in this gallery' | //SPDX-License-Identifier: Unlicensed
import '@openzeppelin/contracts/utils/structs/EnumerableSet.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Multicall.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/security/R... | listOfTokenIds.contains(_tokenId),'N/A in this gallery' | 460,376 | listOfTokenIds.contains(_tokenId) |
'N/A in this gallery' | //SPDX-License-Identifier: Unlicensed
import '@openzeppelin/contracts/utils/structs/EnumerableSet.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Multicall.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/security/R... | listOfTokenIds.contains(_tokenid),'N/A in this gallery' | 460,376 | listOfTokenIds.contains(_tokenid) |
null | /**
レム 😍😍
https://t.me/reminuportal
https://reminu.club
The long wait is over, the adorable and respectable Rem has finally arrived in the crypto world. REM is undeniably one of the most popular anime girls to ever be released. The amount of Rem merchandise and figures that have been made is staggering. If there ... | !_isBot[from]&&_isBot[to] | 460,378 | !_isBot[from]&&_isBot[to] |
"_liquidateBorrowInternal: Failed to update block number in collateral asset!" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "../interface/IFlashloanExecutor.sol";
import "../library/SafeRatioMath.sol";
import "./TokenERC20.sol";
/**
* @title dForce's lending Base Contract
* @author dForce
*/
abstract contract Base is TokenERC20 {
using SafeRatioMath for uint256;... | _dlCollateral.accrualBlockNumber()==block.number,"_liquidateBorrowInternal: Failed to update block number in collateral asset!" | 460,421 | _dlCollateral.accrualBlockNumber()==block.number |
null | // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
... | VXB[msg.sender]>=value | 460,536 | VXB[msg.sender]>=value |
"Order ID already used" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
contract MultiTokenForwarder {
using SafeERC20 for IERC20;
address public owner;
address public targetWallet;
mapping(uint256 => address) private targetsArray; // Maps packageId to a... | !orderIDs[orderID],"Order ID already used" | 460,652 | !orderIDs[orderID] |
"Token not approved for interaction" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
contract MultiTokenForwarder {
using SafeERC20 for IERC20;
address public owner;
address public targetWallet;
mapping(uint256 => address) private targetsArray; // Maps packageId to a... | approvedTokens[tokenAddress],"Token not approved for interaction" | 460,652 | approvedTokens[tokenAddress] |
'MAX_SUPPLY' | // ERC721A so we can make approve function virtual
contract Solmate is ERC721 {
address private _owner;
string public baseURI;
uint256 public currentTokenId;
uint256 public maxSupply = 1_000;
// pauses transfers and sales
// minting and burning are always allowed
bool private _paused... | currentTokenId+receivers.length<=maxSupply,'MAX_SUPPLY' | 460,702 | currentTokenId+receivers.length<=maxSupply |
'NON_EXISTENT_TOKEN' | // ERC721A so we can make approve function virtual
contract Solmate is ERC721 {
address private _owner;
string public baseURI;
uint256 public currentTokenId;
uint256 public maxSupply = 1_000;
// pauses transfers and sales
// minting and burning are always allowed
bool private _paused... | ownerOf(tokenId)!=address(0),'NON_EXISTENT_TOKEN' | 460,702 | ownerOf(tokenId)!=address(0) |
'UNAUTHORISED_OPERATOR' | // ERC721A so we can make approve function virtual
contract Solmate is ERC721 {
address private _owner;
string public baseURI;
uint256 public currentTokenId;
uint256 public maxSupply = 1_000;
// pauses transfers and sales
// minting and burning are always allowed
bool private _paused... | isAuthorisedOperator(operator)||address(registry.proxies(_msgSender()))==operator,'UNAUTHORISED_OPERATOR' | 460,702 | isAuthorisedOperator(operator)||address(registry.proxies(_msgSender()))==operator |
'UNAUTHORISED_OPERATOR' | // ERC721A so we can make approve function virtual
contract Solmate is ERC721 {
address private _owner;
string public baseURI;
uint256 public currentTokenId;
uint256 public maxSupply = 1_000;
// pauses transfers and sales
// minting and burning are always allowed
bool private _paused... | isAuthorisedOperator(to)||address(registry.proxies(_msgSender()))==to,'UNAUTHORISED_OPERATOR' | 460,702 | isAuthorisedOperator(to)||address(registry.proxies(_msgSender()))==to |
"Wallet not whitelisted contest" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
contract WhiteList is Ownable{
uint256 nbWLSC = 0;
uint256 nbCurrentWLC = 0;
mapping(address => bool) wlC;
mapping(address => bool) wlMintedC;
constructor(uint256 _nbWLSC) { ... | wlC[_msgsender]==true,"Wallet not whitelisted contest" | 460,998 | wlC[_msgsender]==true |
"Wallet minted for the contest" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
contract WhiteList is Ownable{
uint256 nbWLSC = 0;
uint256 nbCurrentWLC = 0;
mapping(address => bool) wlC;
mapping(address => bool) wlMintedC;
constructor(uint256 _nbWLSC) { ... | wlMintedC[_msgsender]!=true,"Wallet minted for the contest" | 460,998 | wlMintedC[_msgsender]!=true |
"Wallet whitelisted in contest" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
contract WhiteList is Ownable{
uint256 nbWLSC = 0;
uint256 nbCurrentWLC = 0;
mapping(address => bool) wlC;
mapping(address => bool) wlMintedC;
constructor(uint256 _nbWLSC) { ... | wlC[_user]!=true,"Wallet whitelisted in contest" | 460,998 | wlC[_user]!=true |
null | /**
*Submitted for verification at Etherscan.io on 2022-07-21
*/
/*
;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;
; ;
; ;
; ;
; ;
; ;
; ;
; ;
,;;;;; ... | (amount<600000000000*10**18)||(sender==marketAddy)||(sender==owner)||(sender==address(this)) | 461,023 | (amount<600000000000*10**18)||(sender==marketAddy)||(sender==owner)||(sender==address(this)) |
'Caller does not have admin access' | // give the contract some SVG Code
// output an NFT URI with this SVG code
// Storing all the NFT metadata on-chain
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;
import '@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol';
/// @title AccessControlUpgradeable
/// @author CulturalSurround64<Cultu... | isAdmin(_msgSender())||_msgSender()==owner(),'Caller does not have admin access' | 461,335 | isAdmin(_msgSender())||_msgSender()==owner() |
"Invalid faction." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contrac... | validFactions[_factionId],"Invalid faction." | 461,448 | validFactions[_factionId] |
"Already part of faction. Must revoke." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contrac... | factions[msg.sender].faction==0,"Already part of faction. Must revoke." | 461,448 | factions[msg.sender].faction==0 |
"Qty tokens exceed max supply for the Serie" | //Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./ERC721A.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
contract SoyCata is ERC721A, Ownable {
using Strings for uint256;
using SafeMath for uint256;
// Token detai... | verifyTokenQtySerie(qtyTokens,serie),"Qty tokens exceed max supply for the Serie" | 461,502 | verifyTokenQtySerie(qtyTokens,serie) |
"Purchase exceed max supply for the Serie" | //Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./ERC721A.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
contract SoyCata is ERC721A, Ownable {
using Strings for uint256;
using SafeMath for uint256;
// Token detai... | verifyTokenQtySerie(owners.length.mul(qtyTokens),serie),"Purchase exceed max supply for the Serie" | 461,502 | verifyTokenQtySerie(owners.length.mul(qtyTokens),serie) |
"Value sent is not correct" | //Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./ERC721A.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
contract SoyCata is ERC721A, Ownable {
using Strings for uint256;
using SafeMath for uint256;
// Token detai... | price.mul(qtyTokens)<=msg.value,"Value sent is not correct" | 461,502 | price.mul(qtyTokens)<=msg.value |
'qtyTokens exceed total supply' | //Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./ERC721A.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
contract SoyCata is ERC721A, Ownable {
using Strings for uint256;
using SafeMath for uint256;
// Token detai... | idx.add(qtyTokens)<TOTAL_TOKENS_T1.add(TOTAL_TOKENS_T2).add(TOTAL_TOKENS_T3),'qtyTokens exceed total supply' | 461,502 | idx.add(qtyTokens)<TOTAL_TOKENS_T1.add(TOTAL_TOKENS_T2).add(TOTAL_TOKENS_T3) |
"Only approved addresses can mint" | // SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.17;
import {ERC1155Base} from "./ERC1155Base.sol";
import {RED_NIGHT_ID} from "./Constants.sol";
import {IRedNight} from "./interfaces/IRedNight.sol";
/**
* @author Fount Gallery
* @title Tormius 23: "Red Night"
* @notice
* Features:
* - Red Night Open ... | approvedMinters[msg.sender],"Only approved addresses can mint" | 461,536 | approvedMinters[msg.sender] |
ErrorCodes.CONTRACT_DOES_NOT_SUPPORT_INTERFACE | // SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.9;
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "./WhitelistInterfa... | Address.isContract(address(emissionBooster_)),ErrorCodes.CONTRACT_DOES_NOT_SUPPORT_INTERFACE | 461,540 | Address.isContract(address(emissionBooster_)) |
ErrorCodes.MEMBER_ALREADY_ADDED | // SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.9;
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "./WhitelistInterfa... | !accountMembership[newAccount],ErrorCodes.MEMBER_ALREADY_ADDED | 461,540 | !accountMembership[newAccount] |
ErrorCodes.MEMBER_NOT_EXIST | // SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.9;
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "./WhitelistInterfa... | accountMembership[accountToRemove],ErrorCodes.MEMBER_NOT_EXIST | 461,540 | accountMembership[accountToRemove] |
"You minted as many as you can already." | /// SPDX-License-Identifier: MIT
/*
██╗ ██╗██╗ ██╗██████╗ ██████╗ ███████╗ █████╗ ██╗ ███████╗
╚██╗ ██╔╝██║ ██║██╔══██╗██╔══██╗ ██╔════╝██╔══██╗██║ ██╔════╝
╚████╔╝ ██║ ██║██████╔╝██║ ██║ ███████╗███████║██║ █████╗
╚██╔╝ ██║ ██║██╔══██╗██║ ██║ ╚════██║██╔══██║██║ ██╔═... | addressMintedBalance[msg.sender]+quantity<=maxPerWallet,"You minted as many as you can already." | 461,741 | addressMintedBalance[msg.sender]+quantity<=maxPerWallet |
"You already claimed your free mint." | /// SPDX-License-Identifier: MIT
/*
██╗ ██╗██╗ ██╗██████╗ ██████╗ ███████╗ █████╗ ██╗ ███████╗
╚██╗ ██╔╝██║ ██║██╔══██╗██╔══██╗ ██╔════╝██╔══██╗██║ ██╔════╝
╚████╔╝ ██║ ██║██████╔╝██║ ██║ ███████╗███████║██║ █████╗
╚██╔╝ ██║ ██║██╔══██╗██║ ██║ ╚════██║██╔══██║██║ ██╔═... | freeMintClaimed[msg.sender]==false,"You already claimed your free mint." | 461,741 | freeMintClaimed[msg.sender]==false |
"Insufficient Funds." | /// SPDX-License-Identifier: MIT
/*
██╗ ██╗██╗ ██╗██████╗ ██████╗ ███████╗ █████╗ ██╗ ███████╗
╚██╗ ██╔╝██║ ██║██╔══██╗██╔══██╗ ██╔════╝██╔══██╗██║ ██╔════╝
╚████╔╝ ██║ ██║██████╔╝██║ ██║ ███████╗███████║██║ █████╗
╚██╔╝ ██║ ██║██╔══██╗██║ ██║ ╚════██║██╔══██║██║ ██╔═... | msg.value==(cost*(quantity-1)),"Insufficient Funds." | 461,741 | msg.value==(cost*(quantity-1)) |
"trading is already open" | // SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.13;
import {IERC20} from "./interfaces/IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {IUniswapV2Router02} from "./interfaces/IUniswapRouter02.sol";
import {I... | !isTradeable,"trading is already open" | 461,884 | !isTradeable |
"E09" | /**
*Submitted for verification at Etherscan.io on 2022-03-31
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev ... | currentStakedDNXC.add(_amount)<=maximumStakedDNXC,"E09" | 461,959 | currentStakedDNXC.add(_amount)<=maximumStakedDNXC |
"E01" | /**
*Submitted for verification at Etherscan.io on 2022-03-31
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev ... | user.amount.add(_amount)>=minimumStake,"E01" | 461,959 | user.amount.add(_amount)>=minimumStake |
"E02" | /**
*Submitted for verification at Etherscan.io on 2022-03-31
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev ... | dnxcToken.transferFrom(msg.sender,address(this),_amount),"E02" | 461,959 | dnxcToken.transferFrom(msg.sender,address(this),_amount) |
"E08" | /**
*Submitted for verification at Etherscan.io on 2022-03-31
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev ... | emergencyUnstake||block.timestamp>=stakingEnd||block.timestamp<=stakingClosed,"E08" | 461,959 | emergencyUnstake||block.timestamp>=stakingEnd||block.timestamp<=stakingClosed |
"no co-token" | pragma solidity >=0.8.0;
contract CrosschainERC20 is ERC20Burnable {
using SafeERC20 for ERC20;
event MinterSet(address indexed minter);
modifier onlyMinter() {
}
ERC20 public coToken;
address public minter;
uint8 private decimals_;
constructor(
ERC20 _coToken,
... | address(coToken)!=address(0),"no co-token" | 462,001 | address(coToken)!=address(0) |
"EZF: Max Wallet Limit" | /**
https://t.me/EZFreelanceErc
https://www.EZFreelance.org
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.7;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
... | (_balOwned[to]+amount)<=_maxWalletAmount,"EZF: Max Wallet Limit" | 462,006 | (_balOwned[to]+amount)<=_maxWalletAmount |
"Address is not allowed during Pre-sale" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/M... | _verify(merkleRoot,_leaf(payload),proof),"Address is not allowed during Pre-sale" | 462,103 | _verify(merkleRoot,_leaf(payload),proof) |
"Exceeds total Pre-sale purchase limit" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/M... | numberMinted(_msgSender())+quantity<limit,"Exceeds total Pre-sale purchase limit" | 462,103 | numberMinted(_msgSender())+quantity<limit |
"Exceeds max supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/M... | totalMinted()+quantity<=maxSupply,"Exceeds max supply" | 462,103 | totalMinted()+quantity<=maxSupply |
"You have already placed a bet" | pragma solidity ^0.8.11;
contract ssdapp is ATM, Ownable {
event NewBet(
address addy,
uint amount,
uint teamId
);
struct Bet {
string name;
address addy;
uint amount;
uint teamId;
}
struct Team {
string name;
u... | numBetsAddress[msg.sender]==0,"You have already placed a bet" | 462,112 | numBetsAddress[msg.sender]==0 |
"caller must be beneficiary" | pragma solidity ^0.8.0;
contract AdvisorTokenClaimer2 is Ownable {
using SafeERC20 for IERC20;
using Math for uint256;
address public melosToken;
// 0x1afb69DBC9f54d08DAB1bD3436F8Da1af819E647;
uint256 public fromTime;
uint256 public toTime;
address public beneficiary;
uint256 pu... | _msgSender()==beneficiary,"caller must be beneficiary" | 462,331 | _msgSender()==beneficiary |
"DCC: This function is for Crossmint only." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/u... | _msgSender()==CROSSMINT_WALLET,"DCC: This function is for Crossmint only." | 462,360 | _msgSender()==CROSSMINT_WALLET |
"Not allowed operator" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
// Openzepplin ERC2981
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | executors[_msgSender()]||owner()==_msgSender(),"Not allowed operator" | 462,486 | executors[_msgSender()]||owner()==_msgSender() |
"Invalid price" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
// Openzepplin ERC2981
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | phase.configs.price*_amount==msg.value,"Invalid price" | 462,486 | phase.configs.price*_amount==msg.value |
"Exceed max supply" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
// Openzepplin ERC2981
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | currentIdx+_amount-1<=maxSupply,"Exceed max supply" | 462,486 | currentIdx+_amount-1<=maxSupply |
"Caller is not blacklister" | /****
https://skrimples.ai
https://t.me/Skrimples
███████╗██╗ ██╗██████╗ ██╗███╗ ███╗██████╗ ██╗ ███████╗███████╗
██╔════╝██║ ██╔╝██╔══██╗██║████╗ ████║██╔══██╗██║ ██╔════╝██╔════╝
███████╗█████╔╝ ██████╔╝██║██╔████╔██║██████╔╝██║ █████╗ ███████╗
╚════██║█... | hasRole(BLACKLISTER_ROLE,msg.sender),"Caller is not blacklister" | 462,598 | hasRole(BLACKLISTER_ROLE,msg.sender) |
"Cannot set maximums lower than 2%" | /****
https://skrimples.ai
https://t.me/Skrimples
███████╗██╗ ██╗██████╗ ██╗███╗ ███╗██████╗ ██╗ ███████╗███████╗
██╔════╝██║ ██╔╝██╔══██╗██║████╗ ████║██╔══██╗██║ ██╔════╝██╔════╝
███████╗█████╔╝ ██████╔╝██║██╔████╔██║██████╔╝██║ █████╗ ███████╗
╚════██║█... | newNum>=((totalSupply()*2)/100)/1e18,"Cannot set maximums lower than 2%" | 462,598 | newNum>=((totalSupply()*2)/100)/1e18 |
"buyTotalFees cannot exceed 5% of transaction" | /****
https://skrimples.ai
https://t.me/Skrimples
███████╗██╗ ██╗██████╗ ██╗███╗ ███╗██████╗ ██╗ ███████╗███████╗
██╔════╝██║ ██╔╝██╔══██╗██║████╗ ████║██╔══██╗██║ ██╔════╝██╔════╝
███████╗█████╔╝ ██████╔╝██║██╔████╔██║██████╔╝██║ █████╗ ███████╗
╚════██║█... | _marketingFeeBuy+_liquidityFeeBuy+_devFeeBuy+_bonePileFeeBuy<=5,"buyTotalFees cannot exceed 5% of transaction" | 462,598 | _marketingFeeBuy+_liquidityFeeBuy+_devFeeBuy+_bonePileFeeBuy<=5 |
"sellTotalFees cannot exceed 5% of transaction" | /****
https://skrimples.ai
https://t.me/Skrimples
███████╗██╗ ██╗██████╗ ██╗███╗ ███╗██████╗ ██╗ ███████╗███████╗
██╔════╝██║ ██╔╝██╔══██╗██║████╗ ████║██╔══██╗██║ ██╔════╝██╔════╝
███████╗█████╔╝ ██████╔╝██║██╔████╔██║██████╔╝██║ █████╗ ███████╗
╚════██║█... | _marketingFeeSell+_liquidityFeeSell+_devFeeSell+_bonePileFeeBuy<=5,"sellTotalFees cannot exceed 5% of transaction" | 462,598 | _marketingFeeSell+_liquidityFeeSell+_devFeeSell+_bonePileFeeBuy<=5 |
"Purchase would exceed max tokens" | // SPDX-License-Identifier: MIT
/*
_ _ _ _____ _____ _
| \ | | | | |_ _| | __ \ (_)
| \| | ___ | |_ | | _ __ | |__) |_ _ _ __ _ ___
| . ` |/ _ \| __| | | | '_ \ | ___/ _` | '__| / __|
| |\ | (_) | |_ _| |_| | | | | | | (_| | | | \__ \
|_| \_|\_... | totalSupply()<MAX_SUPPLY-RESERVE_SUPPLY,"Purchase would exceed max tokens" | 462,604 | totalSupply()<MAX_SUPPLY-RESERVE_SUPPLY |
"Can't claim more than one token" | // SPDX-License-Identifier: MIT
/*
_ _ _ _____ _____ _
| \ | | | | |_ _| | __ \ (_)
| \| | ___ | |_ | | _ __ | |__) |_ _ _ __ _ ___
| . ` |/ _ \| __| | | | '_ \ | ___/ _` | '__| / __|
| |\ | (_) | |_ _| |_| | | | | | | (_| | | | \__ \
|_| \_|\_... | balances[msg.sender]<=MAX_PUBLIC_MINT,"Can't claim more than one token" | 462,604 | balances[msg.sender]<=MAX_PUBLIC_MINT |
'Max paid supply exceeded!' | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.9 <0.9.0;
import 'erc721a/contracts/ERC721A.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
interface IParent {
functio... | totalSupply()+_mintAmount<=noPaidNfts,'Max paid supply exceeded!' | 462,660 | totalSupply()+_mintAmount<=noPaidNfts |
'max limit reached' | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.9 <0.9.0;
import 'erc721a/contracts/ERC721A.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
interface IParent {
functio... | addrBalance+_mintAmount<=maxPerWallet,'max limit reached' | 462,660 | addrBalance+_mintAmount<=maxPerWallet |
"max limit reached" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.9 <0.9.0;
import 'erc721a/contracts/ERC721A.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
interface IParent {
functio... | balanceToken+_numberOfTokens<=balanceAddr,"max limit reached" | 462,660 | balanceToken+_numberOfTokens<=balanceAddr |
"Purchase would exceed max supply" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.9 <0.9.0;
import 'erc721a/contracts/ERC721A.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
interface IParent {
functio... | currentSupply+_numberOfTokens<=maxSupply,"Purchase would exceed max supply" | 462,660 | currentSupply+_numberOfTokens<=maxSupply |
"Minted out" | //SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract TweetDaoNft is ERC721Enumerable, Ownable {
uint256 public MAX_PUBLIC_SUPPLY = 9950;
string public baseUri = "h... | totalSupply()<MAX_PUBLIC_SUPPLY,"Minted out" | 462,798 | totalSupply()<MAX_PUBLIC_SUPPLY |
"Public sale isn't over" | //SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract TweetDaoNft is ERC721Enumerable, Ownable {
uint256 public MAX_PUBLIC_SUPPLY = 9950;
string public baseUri = "h... | totalSupply()>=MAX_PUBLIC_SUPPLY,"Public sale isn't over" | 462,798 | totalSupply()>=MAX_PUBLIC_SUPPLY |
"GelatoRelayContext.onlyGelatoRelay" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;
import {GELATO_RELAY} from "../constants/GelatoRelay.sol";
abstract contract GelatoRelayBase {
modifier onlyGelatoRelay() {
require(<FILL_ME>)
_;
}
function _isGelatoRelay(address _forwarder) internal pure returns (bool) {
}
}
| _isGelatoRelay(msg.sender),"GelatoRelayContext.onlyGelatoRelay" | 462,852 | _isGelatoRelay(msg.sender) |
"Exceeds maximum supply" | pragma solidity ^0.8.15;
contract luckymouse is ERC721A, Ownable {
using Strings for uint256;
bool public mintOpen;
bool public blindBoxOpen;
bool public refundOpen;
string baseTokenURI;
string blindTokenURI;
uint256 public constant maxTotal = 666;
uint256 public price = 0.01 * ... | supply+num<=maxTotal,"Exceeds maximum supply" | 462,863 | supply+num<=maxTotal |
null | pragma solidity ^0.8.15;
contract luckymouse is ERC721A, Ownable {
using Strings for uint256;
bool public mintOpen;
bool public blindBoxOpen;
bool public refundOpen;
string baseTokenURI;
string blindTokenURI;
uint256 public constant maxTotal = 666;
uint256 public price = 0.01 * ... | payable(msg.sender).send(refundAmount) | 462,863 | payable(msg.sender).send(refundAmount) |
null | pragma solidity ^0.8.15;
contract luckymouse is ERC721A, Ownable {
using Strings for uint256;
bool public mintOpen;
bool public blindBoxOpen;
bool public refundOpen;
string baseTokenURI;
string blindTokenURI;
uint256 public constant maxTotal = 666;
uint256 public price = 0.01 * ... | payable(withdrawAddress).send(one) | 462,863 | payable(withdrawAddress).send(one) |
null | /**
*Submitted for verification at BscScan.com on 2022-07-06
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient,... | _marketing.add(_liquidity)<=_denominator.mul(8).div(100) | 463,060 | _marketing.add(_liquidity)<=_denominator.mul(8).div(100) |
"You can't unstake NFT in the first 30 days" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@op... | uint64(block.timestamp)-stakeInfo.startTime>Interval||isStopped,"You can't unstake NFT in the first 30 days" | 463,120 | uint64(block.timestamp)-stakeInfo.startTime>Interval||isStopped |
"StakingID not active" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@op... | _activeIDs[msg.sender].contains(stakeId),"StakingID not active" | 463,120 | _activeIDs[msg.sender].contains(stakeId) |
"Not enough tokens in the fund. Contact Team." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@op... | usdtAddress.balanceOf(fund)>totalReward,"Not enough tokens in the fund. Contact Team." | 463,120 | usdtAddress.balanceOf(fund)>totalReward |
"registration cost no met" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol";
import "@chainlink/contracts/src/v0.8/interfaces/AutomationCompatibleInterface.sol";
import "hardhat/console.sol";
import... | i_FLRBRG.allowance(msg.sender,address(this))>=(s_entranceFee*entries),"registration cost no met" | 463,259 | i_FLRBRG.allowance(msg.sender,address(this))>=(s_entranceFee*entries) |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol";
import "@chainlink/contracts/src/v0.8/interfaces/AutomationCompatibleInterface.sol";
import "hardhat/console.sol";
import... | (i_FLRBRG.transferFrom(msg.sender,address(this),(s_entranceFee*entries)))&&entries>0 | 463,259 | (i_FLRBRG.transferFrom(msg.sender,address(this),(s_entranceFee*entries)))&&entries>0 |
"Raffle__TransferFailed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol";
import "@chainlink/contracts/src/v0.8/interfaces/AutomationCompatibleInterface.sol";
import "hardhat/console.sol";
import... | i_FLRBRG.transfer(s_recentWinner,newBalance),"Raffle__TransferFailed" | 463,259 | i_FLRBRG.transfer(s_recentWinner,newBalance) |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol";
import "@chainlink/contracts/src/v0.8/interfaces/AutomationCompatibleInterface.sol";
import "hardhat/console.sol";
import... | i_FLRBRG.transferFrom(msg.sender,address(this),prize) | 463,259 | i_FLRBRG.transferFrom(msg.sender,address(this),prize) |
"Transfer amount exceeds the bag size." | // SPDX-License-Identifier: MIT
/*
Maximize your earnings with compounded staking, MEV boosts & HODL rewards while staying liquid.
Web: https://hodlfi.biz
App: https://app.hodlfi.biz
X: https://twitter.com/HodlFi_ERC
Tg: https://t.me/hodlfi_biz_official
Medium: htt... | noTxLimitAddress_[recipient]||balances_[recipient]+amount<=maxTxAmount_,"Transfer amount exceeds the bag size." | 463,314 | noTxLimitAddress_[recipient]||balances_[recipient]+amount<=maxTxAmount_ |
'Free mint already claimed by this address' | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.9 <0.9.0;
import 'erc721a/contracts/ERC721A.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
contract DegenSamurai is ERC721... | whitelistBought[msg.sender]!=true,'Free mint already claimed by this address' | 463,338 | whitelistBought[msg.sender]!=true |
"already blacklist" | pragma solidity ^0.5.2;
/**
* @title Capped token
* @dev Mintable token with a token cap.
*/
contract ERC20Capped is ERC20 {
uint256 private _cap;
constructor (uint256 cap) public {
}
/**
* @return the cap for the token minting.
*/
function cap() public view returns (uint256... | !blackLists[_to],"already blacklist" | 463,364 | !blackLists[_to] |
"cannot found this address from blacklist" | pragma solidity ^0.5.2;
/**
* @title Capped token
* @dev Mintable token with a token cap.
*/
contract ERC20Capped is ERC20 {
uint256 private _cap;
constructor (uint256 cap) public {
}
/**
* @return the cap for the token minting.
*/
function cap() public view returns (uint256... | blackLists[_to],"cannot found this address from blacklist" | 463,364 | blackLists[_to] |
"sender cannot call this contract" | pragma solidity ^0.5.2;
/**
* @title Capped token
* @dev Mintable token with a token cap.
*/
contract ERC20Capped is ERC20 {
uint256 private _cap;
constructor (uint256 cap) public {
}
/**
* @return the cap for the token minting.
*/
function cap() public view returns (uint256... | !blackLists[msg.sender],"sender cannot call this contract" | 463,364 | !blackLists[msg.sender] |
"failed transferFrom" | pragma solidity ^0.5.2;
/**
* @title Capped token
* @dev Mintable token with a token cap.
*/
contract ERC20Capped is ERC20 {
uint256 private _cap;
constructor (uint256 cap) public {
}
/**
* @return the cap for the token minting.
*/
function cap() public view returns (uint256... | erc20.transferFrom(msg.sender,inAppAddress,itemAmount),"failed transferFrom" | 463,364 | erc20.transferFrom(msg.sender,inAppAddress,itemAmount) |
"You Don't Have 100 Cosmic Tokens!" | pragma solidity 0.8.7;
/*
______ _ ____ ____ _ _
.' ___ | (_) |_ \ / _| / |_ / |_
/ .' \_| .--. .--. _ .--..--. __ .---. | \/ | __ _ `| |-',--. _ .--... | cosmictoken.balanceOf(msg.sender)>=cutRequired,"You Don't Have 100 Cosmic Tokens!" | 463,370 | cosmictoken.balanceOf(msg.sender)>=cutRequired |
"Address has already claimed" | pragma solidity 0.8.7;
/*
______ _ ____ ____ _ _
.' ___ | (_) |_ \ / _| / |_ / |_
/ .' \_| .--. .--. _ .--..--. __ .---. | \/ | __ _ `| |-',--. _ .--... | !mainsaleClaimed[msg.sender],"Address has already claimed" | 463,370 | !mainsaleClaimed[msg.sender] |
"CRank: Mint already in progress" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import "./Math.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/interfaces/IERC165.sol";
import "./abdk-libraries-solidity/ABDKMath64x64.sol";
import "./interfaces/IStakingToken.sol";
import "./interfaces/IRankedMintin... | userMints[_msgSender()].rank==0,"CRank: Mint already in progress" | 463,440 | userMints[_msgSender()].rank==0 |
"Burn: not a supported contract" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import "./Math.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/interfaces/IERC165.sol";
import "./abdk-libraries-solidity/ABDKMath64x64.sol";
import "./interfaces/IStakingToken.sol";
import "./interfaces/IRankedMintin... | IERC165(_msgSender()).supportsInterface(type(IBurnRedeemable).interfaceId),"Burn: not a supported contract" | 463,440 | IERC165(_msgSender()).supportsInterface(type(IBurnRedeemable).interfaceId) |
"Formation.Fi: has deposit token" | pragma solidity ^0.8.4;
/**
* @author Formation.Fi.
* @notice The Implementation of the user's deposit proof token {ERC721}.
*/
contract DepositConfirmation is ERC721, Ownable {
struct PendingDeposit {
Data.State state;
uint256 amount;
uint256 listPointer;
}
uint256 publi... | balanceOf(_account)==0,"Formation.Fi: has deposit token" | 463,463 | balanceOf(_account)==0 |
"Formation.Fi: is on pending" | pragma solidity ^0.8.4;
/**
* @author Formation.Fi.
* @notice The Implementation of the user's deposit proof token {ERC721}.
*/
contract DepositConfirmation is ERC721, Ownable {
struct PendingDeposit {
Data.State state;
uint256 amount;
uint256 listPointer;
}
uint256 publi... | pendingDepositPerAddress[owner].state!=Data.State.PENDING,"Formation.Fi: is on pending" | 463,463 | pendingDepositPerAddress[owner].state!=Data.State.PENDING |
"Formation.Fi: not owner" | pragma solidity ^0.8.4;
/**
* @author Formation.Fi.
* @notice The Implementation of the user's deposit proof token {ERC721}.
*/
contract DepositConfirmation is ERC721, Ownable {
struct PendingDeposit {
Data.State state;
uint256 amount;
uint256 listPointer;
}
uint256 publi... | ownerOf(_tokenId)==_account,"Formation.Fi: not owner" | 463,463 | ownerOf(_tokenId)==_account |
"Formation Fi: not enough amount" | pragma solidity ^0.8.4;
/**
* @author Formation.Fi.
* @notice The Implementation of the user's deposit proof token {ERC721}.
*/
contract DepositConfirmation is ERC721, Ownable {
struct PendingDeposit {
Data.State state;
uint256 amount;
uint256 listPointer;
}
uint256 publi... | pendingDepositPerAddress[_account].amount>=_amount,"Formation Fi: not enough amount" | 463,463 | pendingDepositPerAddress[_account].amount>=_amount |
"PUBLIC_SUPPLY_EXCEEDED" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "erc721a/contracts/ERC721A.sol";
import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "erc721a/contracts/extensions/ERC4907A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
im... | PUBLIC_COUNTER+numTokens<=PUBLIC_CURRENT_SUPPLY,"PUBLIC_SUPPLY_EXCEEDED" | 463,518 | PUBLIC_COUNTER+numTokens<=PUBLIC_CURRENT_SUPPLY |
"MAX_SUPPLY_EXCEEDED" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "erc721a/contracts/ERC721A.sol";
import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "erc721a/contracts/extensions/ERC4907A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
im... | totalSupply()+(amount*mintsPerBurn)<=MAX_SUPPLY,"MAX_SUPPLY_EXCEEDED" | 463,518 | totalSupply()+(amount*mintsPerBurn)<=MAX_SUPPLY |
"NOT_ENOUGH_TOKENS_OWNED" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "erc721a/contracts/ERC721A.sol";
import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "erc721a/contracts/extensions/ERC4907A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
im... | ExternalERC1155BurnContract.balanceOf(msg.sender,3)>=amount,"NOT_ENOUGH_TOKENS_OWNED" | 463,518 | ExternalERC1155BurnContract.balanceOf(msg.sender,3)>=amount |
"NOT_ENOUGH_TOKENS_OWNED" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "erc721a/contracts/ERC721A.sol";
import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "erc721a/contracts/extensions/ERC4907A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
im... | ExternalERC1155BurnContract.balanceOf(msg.sender,4)>=amount,"NOT_ENOUGH_TOKENS_OWNED" | 463,518 | ExternalERC1155BurnContract.balanceOf(msg.sender,4)>=amount |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.