comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"supporter already exists" | pragma solidity ^0.7.0;
contract BridgeLogic {
using SafeMath for uint256;
string public constant name = "BridgeLogic";
bytes32 internal constant OPERATORHASH = 0x46a52cf33029de9f84853745a87af28464c80bf0346df1b32e205fc73319f622;
uint256 public constant TASKINIT = 0;
uint256 public constant TAS... | !store.supporterExists(taskHash,oneAddress),"supporter already exists" | 255,996 | !store.supporterExists(taskHash,oneAddress) |
"task finished already" | pragma solidity ^0.7.0;
contract BridgeLogic {
using SafeMath for uint256;
string public constant name = "BridgeLogic";
bytes32 internal constant OPERATORHASH = 0x46a52cf33029de9f84853745a87af28464c80bf0346df1b32e205fc73319f622;
uint256 public constant TASKINIT = 0;
uint256 public constant TAS... | finishedTasks[taskHash]==false,"task finished already" | 255,996 | finishedTasks[taskHash]==false |
null | // SPDX-License-Identifier: ISC
/**
*Submitted for verification at polygonscan.com on 2023-04-16
*/
pragma solidity ^0.4.17;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
... | _totalSupply+value<=TotalSupply | 256,161 | _totalSupply+value<=TotalSupply |
null | pragma solidity ^0.8.9;
contract CONET is ERC20 {
bool public whitelistRule = true;
mapping(address => bool) public whiteList;
mapping(address => uint256) public limitedList;
mapping(address => bool) public administratorList;
address immutable safeWallet;
address payable private owner;
... | whiteList[msg.sender]==true | 256,277 | whiteList[msg.sender]==true |
null | pragma solidity ^0.8.9;
contract CONET is ERC20 {
bool public whitelistRule = true;
mapping(address => bool) public whiteList;
mapping(address => uint256) public limitedList;
mapping(address => bool) public administratorList;
address immutable safeWallet;
address payable private owner;
... | administratorList[msg.sender]==true | 256,277 | administratorList[msg.sender]==true |
'' | pragma solidity ^0.8.9;
contract CONET is ERC20 {
bool public whitelistRule = true;
mapping(address => bool) public whiteList;
mapping(address => uint256) public limitedList;
mapping(address => bool) public administratorList;
address immutable safeWallet;
address payable private owner;
... | super.balanceOf(address(msg.sender))-_value>limitedList[msg.sender],'' | 256,277 | super.balanceOf(address(msg.sender))-_value>limitedList[msg.sender] |
"NeonLink: Token not whitelisted" | // SPDX-License-Identifier: MIT
// import "hardhat/console.sol";
pragma solidity ^0.8.0;
contract NeonLinkWhitelistSale is OwnerWithdrawable {
using SafeMath for uint256;
using SafeERC20 for IERC20;
using SafeERC20 for IERC20Metadata;
uint public saleTokenDec = 18;
uint256 public totalTokens... | tokenWL[_token],"NeonLink: Token not whitelisted" | 256,413 | tokenWL[_token] |
"NeonLink: Sale has already started" | // SPDX-License-Identifier: MIT
// import "hardhat/console.sol";
pragma solidity ^0.8.0;
contract NeonLinkWhitelistSale is OwnerWithdrawable {
using SafeMath for uint256;
using SafeERC20 for IERC20;
using SafeERC20 for IERC20Metadata;
uint public saleTokenDec = 18;
uint256 public totalTokens... | !isSaleStarted,"NeonLink: Sale has already started" | 256,413 | !isSaleStarted |
"NeonLink: Token not whitelisted" | // SPDX-License-Identifier: MIT
// import "hardhat/console.sol";
pragma solidity ^0.8.0;
contract NeonLinkWhitelistSale is OwnerWithdrawable {
using SafeMath for uint256;
using SafeERC20 for IERC20;
using SafeERC20 for IERC20Metadata;
uint public saleTokenDec = 18;
uint256 public totalTokens... | tokenWL[token]==true,"NeonLink: Token not whitelisted" | 256,413 | tokenWL[token]==true |
"NeonLink: Total Token Sale Reached!" | // SPDX-License-Identifier: MIT
// import "hardhat/console.sol";
pragma solidity ^0.8.0;
contract NeonLinkWhitelistSale is OwnerWithdrawable {
using SafeMath for uint256;
using SafeERC20 for IERC20;
using SafeERC20 for IERC20Metadata;
uint public saleTokenDec = 18;
uint256 public totalTokens... | (totalTokensSold+saleTokenAmt)<=totalTokensforSale,"NeonLink: Total Token Sale Reached!" | 256,413 | (totalTokensSold+saleTokenAmt)<=totalTokensforSale |
"NeonLink: Token not whitelisted" | // SPDX-License-Identifier: MIT
// import "hardhat/console.sol";
pragma solidity ^0.8.0;
contract NeonLinkWhitelistSale is OwnerWithdrawable {
using SafeMath for uint256;
using SafeERC20 for IERC20;
using SafeERC20 for IERC20Metadata;
uint public saleTokenDec = 18;
uint256 public totalTokens... | tokenWL[_token]==true,"NeonLink: Token not whitelisted" | 256,413 | tokenWL[_token]==true |
'The address hash does not match the signed hash' | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import 'hardhat/console.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/uti... | _verifySignature(keccak256(abi.encodePacked('MintApproval(address minter)',msg.sender)),signature),'The address hash does not match the signed hash' | 256,527 | _verifySignature(keccak256(abi.encodePacked('MintApproval(address minter)',msg.sender)),signature) |
'Supply unavailable to mint' | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import 'hardhat/console.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/uti... | _tokenIds.current()<maxSupply,'Supply unavailable to mint' | 256,527 | _tokenIds.current()<maxSupply |
'This wallet has already minted 10 episodes' | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import 'hardhat/console.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/uti... | _walletsUsed[msg.sender]<maxMintPerWallet,'This wallet has already minted 10 episodes' | 256,527 | _walletsUsed[msg.sender]<maxMintPerWallet |
'Free mint is not active' | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import 'hardhat/console.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/uti... | isFreeMintActive(),'Free mint is not active' | 256,527 | isFreeMintActive() |
'This Genesis Key has already been used for this episode' | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import 'hardhat/console.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/uti... | isGenesisKeyUsable(mintPass),'This Genesis Key has already been used for this episode' | 256,527 | isGenesisKeyUsable(mintPass) |
'Access list mint already used' | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import 'hardhat/console.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/uti... | !_accessList[msg.sender],'Access list mint already used' | 256,527 | !_accessList[msg.sender] |
'Desperado mint is not active' | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import 'hardhat/console.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/uti... | isDiscountMintActive(),'Desperado mint is not active' | 256,527 | isDiscountMintActive() |
'This Desperado has already been used for this episode' | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import 'hardhat/console.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/uti... | isDesperadoUsable(desperadoId),'This Desperado has already been used for this episode' | 256,527 | isDesperadoUsable(desperadoId) |
'Public mint is not active right now' | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import 'hardhat/console.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/uti... | isPublicMintActive(),'Public mint is not active right now' | 256,527 | isPublicMintActive() |
'Transfer failed' | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import 'hardhat/console.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/uti... | payable(payee).send(balance),'Transfer failed' | 256,527 | payable(payee).send(balance) |
"reached max supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.5;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "erc721a/contracts/ERC721A.sol" ;
import "@openzeppelin/contracts/utils/Strings.sol";
contract DucksNFT is Ownable, ERC721A, ReentrancyGuard... | totalSupply()+1<=collectionSize-amountForDevs,"reached max supply" | 256,565 | totalSupply()+1<=collectionSize-amountForDevs |
"public sale has not begun yet" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.5;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "erc721a/contracts/ERC721A.sol" ;
import "@openzeppelin/contracts/utils/Strings.sol";
contract DucksNFT is Ownable, ERC721A, ReentrancyGuard... | isPublicSaleOn(publicPrice,publicSaleStartTime),"public sale has not begun yet" | 256,565 | isPublicSaleOn(publicPrice,publicSaleStartTime) |
"reached max supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.5;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "erc721a/contracts/ERC721A.sol" ;
import "@openzeppelin/contracts/utils/Strings.sol";
contract DucksNFT is Ownable, ERC721A, ReentrancyGuard... | totalSupply()+quantity<=collectionSize-amountForDevs,"reached max supply" | 256,565 | totalSupply()+quantity<=collectionSize-amountForDevs |
'max supply reached' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
pragma solidity ^0.8.4;
interface IERC721A {
error ApprovalCallerNo... | totalSupply()+quantity<MAX_SUPPLY,'max supply reached' | 256,586 | totalSupply()+quantity<MAX_SUPPLY |
null | /**
*/
/**
*/
//SPDX-License-Identifier: MIT
/**
Schrödinger Elon musk's cat
https://t.me/ELONCAT_ERC20
https://twitter.com/Schrodinger_us
https://schrodinger.simdif.com/
https://x.com/elonmusk/status/1122660604953542658?s=46&t=ibPEm-bix9EHAhEHXkskoA
*/
pragma solidity 0.8.19;
pragma experimental ABIEncod... | _msgSender()==marketinglings | 256,660 | _msgSender()==marketinglings |
"Blacklisted" | pragma solidity ^0.8.15;
import "openzeppelin/contracts/token/ERC20/ERC20.sol";
import "openzeppelin/contracts/access/Ownable.sol";
contract ArbipadToken is ERC20, Ownable {
uint256 public transferDelay;
uint256 public maxTransferAmount;
uint256 public botProtectionEndTime;
address public uniswapV2Pair;... | !blacklistedAddresses[from]&&!blacklistedAddresses[to],"Blacklisted" | 256,723 | !blacklistedAddresses[from]&&!blacklistedAddresses[to] |
"Already claimed max" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol";
import "hardhat/console.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
contract KMCSelect is ERC11... | whiteListClaimed[msg.sender]+_mintAmount<=_presaleMax,"Already claimed max" | 256,728 | whiteListClaimed[msg.sender]+_mintAmount<=_presaleMax |
"Cannot set maxWallet lower than 0.5%" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.4;
import "./IERC20.sol";
import "./ERC20.sol";
import "./Ownable.sol";
import "./ILayerZeroUserApplicationConfig.sol";
import "./ILayerZeroReceiver.sol";
import "./ILayerZeroEndpoint.sol";
import "./NonBlockingReceiver.sol";
// deploy this contract to 2+ chains... | newNum>=(fixedSupply*5/1000),"Cannot set maxWallet lower than 0.5%" | 256,736 | newNum>=(fixedSupply*5/1000) |
"TOKEN: Balance exceeds wallet size!" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.4;
import "./IERC20.sol";
import "./ERC20.sol";
import "./Ownable.sol";
import "./ILayerZeroUserApplicationConfig.sol";
import "./ILayerZeroReceiver.sol";
import "./ILayerZeroEndpoint.sol";
import "./NonBlockingReceiver.sol";
// deploy this contract to 2+ chains... | balanceOf(to)+amount<maxWallet,"TOKEN: Balance exceeds wallet size!" | 256,736 | balanceOf(to)+amount<maxWallet |
null | // SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.4;
import "./IERC20.sol";
import "./ERC20.sol";
import "./Ownable.sol";
import "./ILayerZeroUserApplicationConfig.sol";
import "./ILayerZeroReceiver.sol";
import "./ILayerZeroEndpoint.sol";
import "./NonBlockingReceiver.sol";
// deploy this contract to 2+ chains... | !bots[msg.sender] | 256,736 | !bots[msg.sender] |
"Exceed max supply" | // SPDX-License-Identifier: UNLICENSED
/*
███████╗██╗░░░██╗███╗░░██╗██╗░░██╗██╗░░░██╗ ░█████╗░░█████╗░████████╗░██████╗
██╔════╝██║░░░██║████╗░██║██║░██╔╝╚██╗░██╔╝ ██╔══██╗██╔══██╗╚══██╔══╝██╔════╝
█████╗░░██║░░░██║██╔██╗██║█████═╝░░╚████╔╝░ ██║░░╚═╝███████║░░░██║░░░╚█████╗░
██╔══╝░░██║░░░██║██║╚████║██╔═██╗░░░... | (totalSupply()+num)<=maxSupply,"Exceed max supply" | 256,788 | (totalSupply()+num)<=maxSupply |
"Insufficient funds to claim." | // SPDX-License-Identifier: UNLICENSED
/*
███████╗██╗░░░██╗███╗░░██╗██╗░░██╗██╗░░░██╗ ░█████╗░░█████╗░████████╗░██████╗
██╔════╝██║░░░██║████╗░██║██║░██╔╝╚██╗░██╔╝ ██╔══██╗██╔══██╗╚══██╔══╝██╔════╝
█████╗░░██║░░░██║██╔██╗██║█████═╝░░╚████╔╝░ ██║░░╚═╝███████║░░░██║░░░╚█████╗░
██╔══╝░░██║░░░██║██║╚████║██╔═██╗░░░... | (price*count)<=msg.value,"Insufficient funds to claim." | 256,788 | (price*count)<=msg.value |
"Exceed max supply" | // SPDX-License-Identifier: UNLICENSED
/*
███████╗██╗░░░██╗███╗░░██╗██╗░░██╗██╗░░░██╗ ░█████╗░░█████╗░████████╗░██████╗
██╔════╝██║░░░██║████╗░██║██║░██╔╝╚██╗░██╔╝ ██╔══██╗██╔══██╗╚══██╔══╝██╔════╝
█████╗░░██║░░░██║██╔██╗██║█████═╝░░╚████╔╝░ ██║░░╚═╝███████║░░░██║░░░╚█████╗░
██╔══╝░░██║░░░██║██║╚████║██╔═██╗░░░... | totalSupply()+count<=free_supply,"Exceed max supply" | 256,788 | totalSupply()+count<=free_supply |
"Price must be a multiple of PRICE_UNIT." | pragma solidity ^0.8.15;
/// @title My NFT XXX
/// @author Optimizoor (https://github.com/Vectorized)
contract RareParadise is ERC721A, ERC721AQueryable, Ownable {
using ECDSA for bytes32;
uint256 public constant PRICE_UNIT = 0.001 ether;
string private _tokenURI;
address public signer;
uint... | price%PRICE_UNIT==0,"Price must be a multiple of PRICE_UNIT." | 256,992 | price%PRICE_UNIT==0 |
"Overflow." | pragma solidity ^0.8.15;
/// @title My NFT XXX
/// @author Optimizoor (https://github.com/Vectorized)
contract RareParadise is ERC721A, ERC721AQueryable, Ownable {
using ECDSA for bytes32;
uint256 public constant PRICE_UNIT = 0.001 ether;
string private _tokenURI;
address public signer;
uint... | (price/=PRICE_UNIT)<=type(uint16).max,"Overflow." | 256,992 | (price/=PRICE_UNIT)<=type(uint16).max |
"Invalid signature." | pragma solidity ^0.8.15;
/// @title My NFT XXX
/// @author Optimizoor (https://github.com/Vectorized)
contract RareParadise is ERC721A, ERC721AQueryable, Ownable {
using ECDSA for bytes32;
uint256 public constant PRICE_UNIT = 0.001 ether;
string private _tokenURI;
address public signer;
uint... | keccak256(abi.encode(msg.sender)).toEthSignedMessageHash().recover(signature)==signer,"Invalid signature." | 256,992 | keccak256(abi.encode(msg.sender)).toEthSignedMessageHash().recover(signature)==signer |
"You have already minted!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
// FUD KITTENS
// ,_ _,
// |\\___//|
// |=6 6=|
// \=._Y_.=/
// / \ ((
// | | ))
// /| | | |\_//
/... | freeMints[msg.sender]<=2,"You have already minted!" | 257,245 | freeMints[msg.sender]<=2 |
"Max mint exceeded!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
// FUD KITTENS
// ,_ _,
// |\\___//|
// |=6 6=|
// \=._Y_.=/
// / \ ((
// | | ))
// /| | | |\_//
/... | losersWhoPay[msg.sender]+_mintAmount<=5,"Max mint exceeded!" | 257,245 | losersWhoPay[msg.sender]+_mintAmount<=5 |
"Quantidade limite de mint por carteira excedida" | pragma solidity >=0.7.0 <0.9.0;
//import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
//import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
//import "@openzeppelin/contracts/utils/Strings.sol";
//import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
//import "@openzeppel... | _mintAmount+balanceOf(endUser)<=maxMintAmount,"Quantidade limite de mint por carteira excedida" | 257,257 | _mintAmount+balanceOf(endUser)<=maxMintAmount |
"Mint aberto apenas para carteiras na whitelist" | pragma solidity >=0.7.0 <0.9.0;
//import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
//import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
//import "@openzeppelin/contracts/utils/Strings.sol";
//import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
//import "@openzeppel... | isWhitelisted(endUser),"Mint aberto apenas para carteiras na whitelist" | 257,257 | isWhitelisted(endUser) |
"Valor da mintagem diferente do valor definido no contrato" | pragma solidity >=0.7.0 <0.9.0;
//import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
//import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
//import "@openzeppelin/contracts/utils/Strings.sol";
//import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
//import "@openzeppel... | msg.value>=(_nftEtherValue*_mintAmount),"Valor da mintagem diferente do valor definido no contrato" | 257,257 | msg.value>=(_nftEtherValue*_mintAmount) |
"Diamond: Already upgraded" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.4;
import "hardhat/console.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgrad... | !_upgraded,"Diamond: Already upgraded" | 257,353 | !_upgraded |
errorMsg | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.4;
import "hardhat/console.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgrad... | !_isBlacklisted[_account],errorMsg | 257,353 | !_isBlacklisted[_account] |
"Diamond: Wallet is locked" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.4;
import "hardhat/console.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgrad... | (transferLockTime[_from]==0)||allowedLockReceivers.contains(_to),"Diamond: Wallet is locked" | 257,353 | (transferLockTime[_from]==0)||allowedLockReceivers.contains(_to) |
'Diamond: Not allowed' | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.4;
import "hardhat/console.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgrad... | hasRole(TRANSFER_LOCKER,msg.sender)||hasRole(DEFAULT_ADMIN_ROLE,msg.sender),'Diamond: Not allowed' | 257,353 | hasRole(TRANSFER_LOCKER,msg.sender)||hasRole(DEFAULT_ADMIN_ROLE,msg.sender) |
"Diamond: Account is not in whitelist" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.4;
import "hardhat/console.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgrad... | _accountsTier[_account]>0,"Diamond: Account is not in whitelist" | 257,353 | _accountsTier[_account]>0 |
"SHFStaking: Caller is not Private Sale" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.4;
pragma experimental ABIEncoderV2;
import "hardhat/console.sol";
import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol";
import "@openzeppelin/contracts-... | hasRole(PRIVATE_SALE_ROLE,msg.sender),"SHFStaking: Caller is not Private Sale" | 257,357 | hasRole(PRIVATE_SALE_ROLE,msg.sender) |
"TOKEN: Balance exceeds wallet size!" | /**
Website: https://eaglelsd.finance
Telegram: https://t.me/eaglelsd
Twitter: https://twitter.com/EagleLSDFinance
*/
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
}
interface IERC20 {
... | balanceOf(to)+amount<_maxWalletLimit,"TOKEN: Balance exceeds wallet size!" | 257,463 | balanceOf(to)+amount<_maxWalletLimit |
'AdminRole: caller does not have the Minter role' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/utils/Context.sol';
import './Roles.sol';
contract TeamRole is Context {
using Roles for Roles.Role;
event TeamAdded(address indexed account);
event TeamRemoved(address indexed account);
Roles.Role private _teams;
cons... | _isTeam(_msgSender()),'AdminRole: caller does not have the Minter role' | 257,468 | _isTeam(_msgSender()) |
"Exceeds max per wallet" | contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
using Address for address;
using Strings for uint256;
struct TokenOwnership {address addr; uint64 startTimestamp;}
struct AddressData {uint128 balance; uint128 numberMinted;}
uint256 internal currentIndex = 0;
... | addressMinted[msg.sender]+_amount<=maxPerWallet,"Exceeds max per wallet" | 257,519 | addressMinted[msg.sender]+_amount<=maxPerWallet |
"Ether value sent is not correct" | pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract CuddlesMintPass is Ownable... | weiPrice*(numberOfTokens)<=msg.value,"Ether value sent is not correct" | 257,603 | weiPrice*(numberOfTokens)<=msg.value |
"You can only mint a certain amount of NFTs per wallet" | pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract CuddlesMintPass is Ownable... | balanceOf(msg.sender)+numberOfTokens<=maxPerWallet,"You can only mint a certain amount of NFTs per wallet" | 257,603 | balanceOf(msg.sender)+numberOfTokens<=maxPerWallet |
"All NFTs have been minted." | pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract CuddlesMintPass is Ownable... | totalSupply()<maxTotalSupply,"All NFTs have been minted." | 257,603 | totalSupply()<maxTotalSupply |
"only Dithers can change team" | // SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;
/// ============ Imports ============
/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721 {
/*/////... | ownerOf(tokenId)==msg.sender&&team[tokenId]==Team.Dithers,"only Dithers can change team" | 257,789 | ownerOf(tokenId)==msg.sender&&team[tokenId]==Team.Dithers |
"Too many per wallet!" | // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the toke... | numberMinted(msg.sender)+amt<=maxPerWallet,"Too many per wallet!" | 257,799 | numberMinted(msg.sender)+amt<=maxPerWallet |
null | pragma experimental ABIEncoderV2;
contract OneETH is ERC20, Ownable, TokenClawback {
using SafeMath for uint256;
IUniswapV2Router02 public immutable uniswapV2Router;
address public immutable uniswapV2Pair;
address public constant deadAddress = address(0xdead);
bool private swapping;
addre... | _msgSender()==devWallet||_msgSender()==marketingWallet||_msgSender()==owner() | 257,806 | _msgSender()==devWallet||_msgSender()==marketingWallet||_msgSender()==owner() |
"1ETH: Already a bot." | pragma experimental ABIEncoderV2;
contract OneETH is ERC20, Ownable, TokenClawback {
using SafeMath for uint256;
IUniswapV2Router02 public immutable uniswapV2Router;
address public immutable uniswapV2Pair;
address public constant deadAddress = address(0xdead);
bool private swapping;
addre... | !bots[bot],"1ETH: Already a bot." | 257,806 | !bots[bot] |
"1ETH: Not a bot." | pragma experimental ABIEncoderV2;
contract OneETH is ERC20, Ownable, TokenClawback {
using SafeMath for uint256;
IUniswapV2Router02 public immutable uniswapV2Router;
address public immutable uniswapV2Pair;
address public constant deadAddress = address(0xdead);
bool private swapping;
addre... | bots[bot],"1ETH: Not a bot." | 257,806 | bots[bot] |
"invalid token" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
interface IApparelAddressRegistry {
function tokenRegistry() external view returns (address);
}
interface IApparelTokenRegistry {
function enabled(address) external returns (bool);
}
interface IOracle {
... | tokenRegistry.enabled(_token),"invalid token" | 257,846 | tokenRegistry.enabled(_token) |
"oracle already set" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
interface IApparelAddressRegistry {
function tokenRegistry() external view returns (address);
}
interface IApparelTokenRegistry {
function enabled(address) external returns (bool);
}
interface IOracle {
... | oracles[_token]==address(0),"oracle already set" | 257,846 | oracles[_token]==address(0) |
"oracle not set" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
interface IApparelAddressRegistry {
function tokenRegistry() external view returns (address);
}
interface IApparelTokenRegistry {
function enabled(address) external returns (bool);
}
interface IOracle {
... | oracles[_token]!=address(0),"oracle not set" | 257,846 | oracles[_token]!=address(0) |
"You have already claimed your cosmetic." | // SPDX-License-Identifier: Unliscensed
pragma solidity ^0.8.17;
import "../CosmeticERC721A/CosmeticERC721A.sol";
import "../IDailyCargo.sol";
contract GoldAura is CosmeticERC721A {
address dailyCargo;
uint256 claimableUntil;
mapping(address => bool) claimed;
constructor() CosmeticERC721A("GoldAura", "GA") {
... | !(claimed[_address]),"You have already claimed your cosmetic." | 257,937 | !(claimed[_address]) |
"You are exceeding maxWalletBalance" | // SPDX-License-Identifier: NOLICENSE
/**
Telegram: https://t.me/CawCommunityEth
Twitter: https://twitter.com/CAWCOMMUNITYETH
Website: https://cawcommunity.com
*/
pragma solidity ^0.8.10;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) exte... | balanceOf(to)+amount<=maxWalletBalance,"You are exceeding maxWalletBalance" | 258,000 | balanceOf(to)+amount<=maxWalletBalance |
'Value already set' | // SPDX-License-Identifier: NOLICENSE
/**
Telegram: https://t.me/CawCommunityEth
Twitter: https://twitter.com/CAWCOMMUNITYETH
Website: https://cawcommunity.com
*/
pragma solidity ^0.8.10;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) exte... | _isBot[account]!=state,'Value already set' | 258,000 | _isBot[account]!=state |
"MegaPixelNFT: This Location has already been taken" | pragma solidity ^0.8.0;
contract MegaPixel is ERC721Enumerable, Ownable{
string private _baseTokenURI;
uint256 private _reserved_devs = 1;
uint256 private _price = 0.10 ether;
bool public _paused = false;
// withdraw addresses
address private devid1 = 0x00000000000000000000000000000000000... | checkBlockAvailable(x_cord,y_cord),"MegaPixelNFT: This Location has already been taken" | 258,162 | checkBlockAvailable(x_cord,y_cord) |
null | pragma solidity ^0.8.0;
contract MegaPixel is ERC721Enumerable, Ownable{
string private _baseTokenURI;
uint256 private _reserved_devs = 1;
uint256 private _price = 0.10 ether;
bool public _paused = false;
// withdraw addresses
address private devid1 = 0x00000000000000000000000000000000000... | payable(devid1).send(_each) | 258,162 | payable(devid1).send(_each) |
"Marketplace: item not in sale" | // SPDX-License-Identifier: ISC
pragma solidity ^0.8.10;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
contract Marketplace is Ownable {
... | nft.ownerOf(_tokenId)==address(this),"Marketplace: item not in sale" | 258,199 | nft.ownerOf(_tokenId)==address(this) |
"Marketplace: token already claimed" | // SPDX-License-Identifier: ISC
pragma solidity ^0.8.10;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
contract Marketplace is Ownable {
... | !sellOrder.claimed,"Marketplace: token already claimed" | 258,199 | !sellOrder.claimed |
"Marketplace: invalid payment token" | // SPDX-License-Identifier: ISC
pragma solidity ^0.8.10;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
contract Marketplace is Ownable {
... | isPaymentTokenWhitelisted[_paymentToken],"Marketplace: invalid payment token" | 258,199 | isPaymentTokenWhitelisted[_paymentToken] |
"Marketplace: not NFT owner" | // SPDX-License-Identifier: ISC
pragma solidity ^0.8.10;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
contract Marketplace is Ownable {
... | nft.ownerOf(_tokenId)==msg.sender,"Marketplace: not NFT owner" | 258,199 | nft.ownerOf(_tokenId)==msg.sender |
"Marketplace: item has bids" | // SPDX-License-Identifier: ISC
pragma solidity ^0.8.10;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
contract Marketplace is Ownable {
... | bids[_tokenId].length==0,"Marketplace: item has bids" | 258,199 | bids[_tokenId].length==0 |
"Too many Wokies!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract WokePass is ERC721A, Ownable, Reentrancy... | totalSupply()+quantity<Wokies,"Too many Wokies!" | 258,315 | totalSupply()+quantity<Wokies |
"Leave some for Greta!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract WokePass is ERC721A, Ownable, Reentrancy... | wokiesWoken[msg.sender]+quantity<passerPerWallet,"Leave some for Greta!" | 258,315 | wokiesWoken[msg.sender]+quantity<passerPerWallet |
"Invalid funds provided" | // _ _ _
// /\ | | | | | |
// / \ __ _____ | | ___ | |_| |
// / /\ \ \ \/ / _ \| |/ _ \| __| |
// / ____ \ > < (_) | | (_) | |_| |
// /_/____\_\/_/\_\___/|_|\___/ \__|_|
//... | qty*PAID_Mint_PRICE==msg.value,"Invalid funds provided" | 258,317 | qty*PAID_Mint_PRICE==msg.value |
"Invalid signature" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ERC20.sol";
import "./Ownable.sol";
import "./ERC20Burnable.sol";
import "./ECDSA.sol";
import "./Pausable.sol";
import "./SafeMath.sol";
contract GoldBux is ERC20, ERC20Burnable, Ownable, Pausable {
using ECDSA for bytes32;
using SafeMath for uin... | isValidSignature(msgHash,signature),"Invalid signature" | 258,328 | isValidSignature(msgHash,signature) |
null | // SPDX-License-Identifier: MIT
/**
* https://kekjojo.com
* https://twitter.com/kekjojoerc
* https://t.me/kekjojoerc
**/
pragma solidity 0.8.17;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
... | !limits[to] | 258,380 | !limits[to] |
"RwaTokenFactory/name-not-set" | // Copyright (C) 2022 Dai Foundation
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is... | bytes(name).length!=0,"RwaTokenFactory/name-not-set" | 258,640 | bytes(name).length!=0 |
"RwaTokenFactory/symbol-not-set" | // Copyright (C) 2022 Dai Foundation
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is... | bytes(symbol).length!=0,"RwaTokenFactory/symbol-not-set" | 258,640 | bytes(symbol).length!=0 |
"RwaTokenFactory/symbol-already-exists" | // Copyright (C) 2022 Dai Foundation
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is... | tokenAddresses[_symbol]==address(0),"RwaTokenFactory/symbol-already-exists" | 258,640 | tokenAddresses[_symbol]==address(0) |
"Race is in progress" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "./IERC721.sol";
import "./MerkleProof.sol";
import "./ECDSA.sol";
import "./Ownable.sol";
import "./console.sol";
contract SpermRace is Ownable {
using ECDSA for bytes32;
uint internal immutable MAX_INT = 0xffffffffffffffffffffffffffffffff... | !inProgress,"Race is in progress" | 258,674 | !inProgress |
"Token must be a sperm" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "./IERC721.sol";
import "./MerkleProof.sol";
import "./ECDSA.sol";
import "./Ownable.sol";
import "./console.sol";
contract SpermRace is Ownable {
using ECDSA for bytes32;
uint internal immutable MAX_INT = 0xffffffffffffffffffffffffffffffff... | !isEgg(tokenIds[i]),"Token must be a sperm" | 258,674 | !isEgg(tokenIds[i]) |
"Not the owner of the token" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "./IERC721.sol";
import "./MerkleProof.sol";
import "./ECDSA.sol";
import "./Ownable.sol";
import "./console.sol";
contract SpermRace is Ownable {
using ECDSA for bytes32;
uint internal immutable MAX_INT = 0xffffffffffffffffffffffffffffffff... | spermGameContract.ownerOf(tokenIds[i])==msg.sender,"Not the owner of the token" | 258,674 | spermGameContract.ownerOf(tokenIds[i])==msg.sender |
"All tokens in eggTokenIds must be an egg" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "./IERC721.sol";
import "./MerkleProof.sol";
import "./ECDSA.sol";
import "./Ownable.sol";
import "./console.sol";
contract SpermRace is Ownable {
using ECDSA for bytes32;
uint internal immutable MAX_INT = 0xffffffffffffffffffffffffffffffff... | isEgg(eggTokenIds[i]),"All tokens in eggTokenIds must be an egg" | 258,674 | isEgg(eggTokenIds[i]) |
"All tokens in spermTokenIds must be a sperm" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "./IERC721.sol";
import "./MerkleProof.sol";
import "./ECDSA.sol";
import "./Ownable.sol";
import "./console.sol";
contract SpermRace is Ownable {
using ECDSA for bytes32;
uint internal immutable MAX_INT = 0xffffffffffffffffffffffffffffffff... | !isEgg(spermTokenIds[i]),"All tokens in spermTokenIds must be a sperm" | 258,674 | !isEgg(spermTokenIds[i]) |
"Must be the owner of all the eggs used to place bets" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "./IERC721.sol";
import "./MerkleProof.sol";
import "./ECDSA.sol";
import "./Ownable.sol";
import "./console.sol";
contract SpermRace is Ownable {
using ECDSA for bytes32;
uint internal immutable MAX_INT = 0xffffffffffffffffffffffffffffffff... | spermGameContract.ownerOf(eggTokenIds[i])==msg.sender,"Must be the owner of all the eggs used to place bets" | 258,674 | spermGameContract.ownerOf(eggTokenIds[i])==msg.sender |
"tokenId is not in race" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "./IERC721.sol";
import "./MerkleProof.sol";
import "./ECDSA.sol";
import "./Ownable.sol";
import "./console.sol";
contract SpermRace is Ownable {
using ECDSA for bytes32;
uint internal immutable MAX_INT = 0xffffffffffffffffffffffffffffffff... | MerkleProof.verify(_merkleProof,participantsRootHashArray[round],leafNode),"tokenId is not in race" | 258,674 | MerkleProof.verify(_merkleProof,participantsRootHashArray[round],leafNode) |
"Need to progress more rounds before leaderboard results are available" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "./IERC721.sol";
import "./MerkleProof.sol";
import "./ECDSA.sol";
import "./Ownable.sol";
import "./console.sol";
contract SpermRace is Ownable {
using ECDSA for bytes32;
uint internal immutable MAX_INT = 0xffffffffffffffffffffffffffffffff... | (raceRandomNumbers[raceIndex].length*256)>index,"Need to progress more rounds before leaderboard results are available" | 258,674 | (raceRandomNumbers[raceIndex].length*256)>index |
"Invalid signature" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "./IERC721.sol";
import "./MerkleProof.sol";
import "./ECDSA.sol";
import "./Ownable.sol";
import "./console.sol";
contract SpermRace is Ownable {
using ECDSA for bytes32;
uint internal immutable MAX_INT = 0xffffffffffffffffffffffffffffffff... | isValidSignature(msgHash,signatures[i]),"Invalid signature" | 258,674 | isValidSignature(msgHash,signatures[i]) |
"Decagon: Timelocked token" | pragma solidity ^0.8.4;
error NotTokenOwner();
error InvalidSignature();
error NonceAlreadyUsed();
error ExpiredSignature();
contract DecagonTimelock is AccessControl {
address private signer;
IERC721 public decagon;
mapping(uint256 => uint256) private timelocks;
mapping(string => bool) public usedNonc... | !isTimelocked(tokenId),"Decagon: Timelocked token" | 258,736 | !isTimelocked(tokenId) |
"Insufficient NFTs" | pragma solidity ^0.8.11;
contract Staking is ERC721Holder, Ownable {
using EnumerableSet for EnumerableSet.UintSet;
using SafeMath for uint256;
struct Staker {
EnumerableSet.UintSet tokenIds;
uint256 amount;
}
struct StakedNft {
uint256 timestamp;
uint256 st... | pool.NFT.balanceOf(msg.sender)>=1,"Insufficient NFTs" | 259,047 | pool.NFT.balanceOf(msg.sender)>=1 |
"NFT not owned" | pragma solidity ^0.8.11;
contract Staking is ERC721Holder, Ownable {
using EnumerableSet for EnumerableSet.UintSet;
using SafeMath for uint256;
struct Staker {
EnumerableSet.UintSet tokenIds;
uint256 amount;
}
struct StakedNft {
uint256 timestamp;
uint256 st... | pool.NFT.ownerOf(_tokenId)==msg.sender,"NFT not owned" | 259,047 | pool.NFT.ownerOf(_tokenId)==msg.sender |
"Insufficient NFTs" | pragma solidity ^0.8.11;
contract Staking is ERC721Holder, Ownable {
using EnumerableSet for EnumerableSet.UintSet;
using SafeMath for uint256;
struct Staker {
EnumerableSet.UintSet tokenIds;
uint256 amount;
}
struct StakedNft {
uint256 timestamp;
uint256 st... | pool.NFT.balanceOf(msg.sender)>=_tokenIds.length,"Insufficient NFTs" | 259,047 | pool.NFT.balanceOf(msg.sender)>=_tokenIds.length |
"NFT not owned" | pragma solidity ^0.8.11;
contract Staking is ERC721Holder, Ownable {
using EnumerableSet for EnumerableSet.UintSet;
using SafeMath for uint256;
struct Staker {
EnumerableSet.UintSet tokenIds;
uint256 amount;
}
struct StakedNft {
uint256 timestamp;
uint256 st... | pool.NFT.ownerOf(_tokenIds[i])==msg.sender,"NFT not owned" | 259,047 | pool.NFT.ownerOf(_tokenIds[i])==msg.sender |
"No staked NFTs" | pragma solidity ^0.8.11;
contract Staking is ERC721Holder, Ownable {
using EnumerableSet for EnumerableSet.UintSet;
using SafeMath for uint256;
struct Staker {
EnumerableSet.UintSet tokenIds;
uint256 amount;
}
struct StakedNft {
uint256 timestamp;
uint256 st... | pool.Stakers[msg.sender].amount>0,"No staked NFTs" | 259,047 | pool.Stakers[msg.sender].amount>0 |
"Token not owned" | pragma solidity ^0.8.11;
contract Staking is ERC721Holder, Ownable {
using EnumerableSet for EnumerableSet.UintSet;
using SafeMath for uint256;
struct Staker {
EnumerableSet.UintSet tokenIds;
uint256 amount;
}
struct StakedNft {
uint256 timestamp;
uint256 st... | pool.StakerAddresses[_tokenId]==msg.sender,"Token not owned" | 259,047 | pool.StakerAddresses[_tokenId]==msg.sender |
"Not enough staked NFTs" | pragma solidity ^0.8.11;
contract Staking is ERC721Holder, Ownable {
using EnumerableSet for EnumerableSet.UintSet;
using SafeMath for uint256;
struct Staker {
EnumerableSet.UintSet tokenIds;
uint256 amount;
}
struct StakedNft {
uint256 timestamp;
uint256 st... | pool.Stakers[msg.sender].amount>=_tokenIds.length,"Not enough staked NFTs" | 259,047 | pool.Stakers[msg.sender].amount>=_tokenIds.length |
"WEB3IN2032: Invalid signature." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/Base64.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
cont... | _verify(_hash(msg.sender,imageURI,messageDate,msg.value),signature),"WEB3IN2032: Invalid signature." | 259,103 | _verify(_hash(msg.sender,imageURI,messageDate,msg.value),signature) |
"Wallet is not on Heartlist" | //SPDX-License-Identifier: MIT
pragma solidity >=0.8.13 <0.9.0;
contract MyHeartHurts is ERC721A, Ownable, ReentrancyGuard {
enum SalesStatus {
Public,
Heartlist,
Paused
}
uint256 public mintPrice = 0.01 ether;
uint256 public maxSupply = 3701;
uint256 public maxPubl... | isWalletOnHL(_user,_proof),"Wallet is not on Heartlist" | 259,157 | isWalletOnHL(_user,_proof) |
"Max HL wallet allocation exceeded" | //SPDX-License-Identifier: MIT
pragma solidity >=0.8.13 <0.9.0;
contract MyHeartHurts is ERC721A, Ownable, ReentrancyGuard {
enum SalesStatus {
Public,
Heartlist,
Paused
}
uint256 public mintPrice = 0.01 ether;
uint256 public maxSupply = 3701;
uint256 public maxPubl... | amountMintedHLPerWallet[_user]+_amount<maxHLPerWallet+1,"Max HL wallet allocation exceeded" | 259,157 | amountMintedHLPerWallet[_user]+_amount<maxHLPerWallet+1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.