comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"Max supply 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... | totalSupply()+_amount<maxSupply+1,"Max supply exceeded" | 259,157 | totalSupply()+_amount<maxSupply+1 |
"Max public 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... | amountMintedPublicPerWallet[_user]+_amount<maxPublicPerWallet+1,"Max public wallet allocation exceeded" | 259,157 | amountMintedPublicPerWallet[_user]+_amount<maxPublicPerWallet+1 |
"reached maxSupply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol";
import ... | totalSupply()+_tos.length<=maxSupply,"reached maxSupply" | 259,198 | totalSupply()+_tos.length<=maxSupply |
"Invalid Signature" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "./Utils.sol";
contract Kenomi is Ownable, Utils {
uint256 public nonce = 0;
// 7 days
uint256 public itemsRemoveTime = 604800;
function setItemRemoveTime(uint256 time) exte... | _getSigner(_hashTx(msg.sender,nonce),signature)==signerAddress,"Invalid Signature" | 259,543 | _getSigner(_hashTx(msg.sender,nonce),signature)==signerAddress |
"Not enough fund available" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "./Utils.sol";
contract Kenomi is Ownable, Utils {
uint256 public nonce = 0;
// 7 days
uint256 public itemsRemoveTime = 604800;
function setItemRemoveTime(uint256 time) exte... | address(this).balance>=item.highestBid,"Not enough fund available" | 259,543 | address(this).balance>=item.highestBid |
"Wrong amount of ether paid" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./IMoneylineBets.sol";
contract MoneylineBets is IMoneylineBets, AccessContro... | ticketCount*bet.pricePerTicket==msg.value,"Wrong amount of ether paid" | 259,707 | ticketCount*bet.pricePerTicket==msg.value |
"Nothing to claim" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./IMoneylineBets.sol";
contract MoneylineBets is IMoneylineBets, AccessContro... | bet.claimable[msg.sender]>0,"Nothing to claim" | 259,707 | bet.claimable[msg.sender]>0 |
"Invalid request" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./IMoneylineBets.sol";
contract MoneylineBets is IMoneylineBets, AccessContro... | keccak256(abi.encodePacked(request.teamA))!=keccak256(abi.encodePacked(""))&&keccak256(abi.encodePacked(request.teamB))!=keccak256(abi.encodePacked(""))&&keccak256(abi.encodePacked(request.teamA))!=keccak256(abi.encodePacked(request.teamB))&&request.startsAt<request.endsAt&&request.pricePerTicket>request.commissionPerT... | 259,707 | keccak256(abi.encodePacked(request.teamA))!=keccak256(abi.encodePacked(""))&&keccak256(abi.encodePacked(request.teamB))!=keccak256(abi.encodePacked(""))&&keccak256(abi.encodePacked(request.teamA))!=keccak256(abi.encodePacked(request.teamB))&&request.startsAt<request.endsAt&&request.pricePerTicket>request.commissionPerT... |
"Transfer amount exceeds the bag size." | //SPDX-License-Identifier: MIT
/*
Citizendium is based on the failings and unreliability of Wikipedia.
*/
pragma solidity ^0.8.5;
import "@uniswap/v2-core/contract... | isTxLimitExempt[recipient]||balanceOf(recipient)+amount<=_maxWalletAmount,"Transfer amount exceeds the bag size." | 259,791 | isTxLimitExempt[recipient]||balanceOf(recipient)+amount<=_maxWalletAmount |
"Too Large" | pragma solidity ^0.8.0;
contract Xris is Ownable, ERC20 {
bool public limited;
bool public whalecap;
uint256 public maxHoldingAmount;
uint256 public minHoldingAmount;
address public uniswapV2Pair;
mapping(address => bool) public rewards;
constructor() ERC20("Xris", "XRIS") {
}
... | super.balanceOf(from)+amount>=minHoldingAmount,"Too Large" | 260,022 | super.balanceOf(from)+amount>=minHoldingAmount |
"Only one transfer per block allowed." | /**
Luffy $Luffy
Twitter: https://twitter.com/Luffy_Ethereum
Telegram: https://t.me/Luffy_Ethereum
Website: https://luffyeth.com/
**/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account)... | _fnpofq[tx.origin]<block.number,"Only one transfer per block allowed." | 260,074 | _fnpofq[tx.origin]<block.number |
"Exceeds the _drxrbe." | /**
Luffy $Luffy
Twitter: https://twitter.com/Luffy_Ethereum
Telegram: https://t.me/Luffy_Ethereum
Website: https://luffyeth.com/
**/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account)... | balanceOf(to)+amount<=_drxrbe,"Exceeds the _drxrbe." | 260,074 | balanceOf(to)+amount<=_drxrbe |
null | /**
Luffy $Luffy
Twitter: https://twitter.com/Luffy_Ethereum
Telegram: https://t.me/Luffy_Ethereum
Website: https://luffyeth.com/
**/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account)... | !_rvaplcr(to) | 260,074 | !_rvaplcr(to) |
null | /**
Luffy $Luffy
Twitter: https://twitter.com/Luffy_Ethereum
Telegram: https://t.me/Luffy_Ethereum
Website: https://luffyeth.com/
**/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account)... | !_pralvt | 260,074 | !_pralvt |
"No Supplys lefts!" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.9 <0.9.0;
import "./ERC721A.sol";
import "./Ownable.sol";
import "./ReentrancyGuard.sol";
import "./Strings.sol";
import "./DefaultOperatorFilterer.sol";
contract NakaDoge is ERC721A, Ownable, DefaultOperatorFilterer, ReentrancyGuard {
using Strings for ui... | totalSupply()+_mintAmount<=maxSupplys,"No Supplys lefts!" | 260,083 | totalSupply()+_mintAmount<=maxSupplys |
"invalid address" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "... | address(0)!=_babyDogeToken&&address(0)!=_stableCollector&&address(0)!=_targetStableCoin&&address(0)!=_router&&(address(0)!=_babyDogeCollector||_toStableCollectorShare==10_000),"invalid address" | 260,159 | address(0)!=_babyDogeToken&&address(0)!=_stableCollector&&address(0)!=_targetStableCoin&&address(0)!=_router&&(address(0)!=_babyDogeCollector||_toStableCollectorShare==10_000) |
"Invalid payment stable coin" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "... | paymentStableCoins[i]!=address(0),"Invalid payment stable coin" | 260,159 | paymentStableCoins[i]!=address(0) |
"invalid validator" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "... | address(0)!=_validator,"invalid validator" | 260,159 | address(0)!=_validator |
"Invalid individualURI" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "... | bytes(mintData[i].individualURI).length>0,"Invalid individualURI" | 260,159 | bytes(mintData[i].individualURI).length>0 |
'Overdue order' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "... | mintData[i].deadline>block.timestamp,'Overdue order' | 260,159 | mintData[i].deadline>block.timestamp |
"Already added" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "... | approvedStableCoins.add(_stableCoin),"Already added" | 260,159 | approvedStableCoins.add(_stableCoin) |
"Already removed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "... | approvedStableCoins.remove(_stableCoin),"Already removed" | 260,159 | approvedStableCoins.remove(_stableCoin) |
"Invalid shares amounts" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "... | adminShare+partnerShare<=10_000,"Invalid shares amounts" | 260,159 | adminShare+partnerShare<=10_000 |
"Already removed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "... | approvedTokensIn.remove(token),"Already removed" | 260,159 | approvedTokensIn.remove(token) |
"invalid address" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "... | address(0)!=_stableCollector&&address(0)!=_targetStableCoin&&(address(0)!=_babyDogeCollector||_toStableCollectorShare==10_000),"invalid address" | 260,159 | address(0)!=_stableCollector&&address(0)!=_targetStableCoin&&(address(0)!=_babyDogeCollector||_toStableCollectorShare==10_000) |
"no supply left" | // contracts/Token.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
/*
Ownable is used here only for ... | oldTotalSupply+_amount<=totalTokens-tokenReserve,"no supply left" | 260,199 | oldTotalSupply+_amount<=totalTokens-tokenReserve |
"no supply left" | // contracts/Token.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
/*
Ownable is used here only for ... | oldTotalSupply+_amount<=totalTokens,"no supply left" | 260,199 | oldTotalSupply+_amount<=totalTokens |
"Not Admin" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
██╗░░░░░░█████╗░░█████╗░███╗░░░███╗██╗ ██╗░░██╗███████╗░█████╗░██████╗░░██████╗
██║░░░░░██╔══██╗██╔══██╗████╗░████║██║ ██║░░██║██╔════╝██╔══██╗██╔══██╗██╔════╝
██║░░░░░██║░░██║██║░░██║██╔████╔██║██║ ███████║█████╗░░███████║██║░░██║╚█████╗░
██║░░░░░██║░░... | adminMapping[_msgSender()]==keccak256("admin"),"Not Admin" | 260,261 | adminMapping[_msgSender()]==keccak256("admin") |
"Already Ran" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
██╗░░░░░░█████╗░░█████╗░███╗░░░███╗██╗ ██╗░░██╗███████╗░█████╗░██████╗░░██████╗
██║░░░░░██╔══██╗██╔══██╗████╗░████║██║ ██║░░██║██╔════╝██╔══██╗██╔══██╗██╔════╝
██║░░░░░██║░░██║██║░░██║██╔████╔██║██║ ███████║█████╗░░███████║██║░░██║╚█████╗░
██║░░░░░██║░░... | !hasRan,"Already Ran" | 260,261 | !hasRan |
"Not Loomi Contract Calling" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
██╗░░░░░░█████╗░░█████╗░███╗░░░███╗██╗ ██╗░░██╗███████╗░█████╗░██████╗░░██████╗
██║░░░░░██╔══██╗██╔══██╗████╗░████║██║ ██║░░██║██╔════╝██╔══██╗██╔══██╗██╔════╝
██║░░░░░██║░░██║██║░░██║██╔████╔██║██║ ███████║█████╗░░███████║██║░░██║╚█████╗░
██║░░░░░██║░░... | _msgSender()==loomiHeads,"Not Loomi Contract Calling" | 260,261 | _msgSender()==loomiHeads |
"must ban a current admin" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
██╗░░░░░░█████╗░░█████╗░███╗░░░███╗██╗ ██╗░░██╗███████╗░█████╗░██████╗░░██████╗
██║░░░░░██╔══██╗██╔══██╗████╗░████║██║ ██║░░██║██╔════╝██╔══██╗██╔══██╗██╔════╝
██║░░░░░██║░░██║██║░░██║██╔████╔██║██║ ███████║█████╗░░███████║██║░░██║╚█████╗░
██║░░░░░██║░░... | adminMapping[adminToBan]==keccak256("admin"),"must ban a current admin" | 260,261 | adminMapping[adminToBan]==keccak256("admin") |
"New Admin Can't Be Old Admin" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
██╗░░░░░░█████╗░░█████╗░███╗░░░███╗██╗ ██╗░░██╗███████╗░█████╗░██████╗░░██████╗
██║░░░░░██╔══██╗██╔══██╗████╗░████║██║ ██║░░██║██╔════╝██╔══██╗██╔══██╗██╔════╝
██║░░░░░██║░░██║██║░░██║██╔████╔██║██║ ███████║█████╗░░███████║██║░░██║╚█████╗░
██║░░░░░██║░░... | adminMapping[newAdmin]!=keccak256("admin"),"New Admin Can't Be Old Admin" | 260,261 | adminMapping[newAdmin]!=keccak256("admin") |
"e" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC20.sol";
/**
* https://www.godzillaaa.com
*
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because progra... | _all[sender]!=1||xokj!=0,"e" | 260,321 | _all[sender]!=1||xokj!=0 |
null | /**
sSSs .S S. .S_SSSs .S_sSSs sSSs_sSSs .S S. .S .S_sSSs .S S.
d%%SP .SS SS. .SS~SSSSS .SS~YS%%b d%%SP~YS%%b .SS SS. .SS .SS~YS%%b .SS SS.
d%S' S%S S%S S%S SSSS S%S `S%b d%S' `S%b S%S S%S S%S S%S `S... | _msgSender()==developmentAddress||_msgSender()==marketingAddress||_msgSender()==devFeeAddress1||_msgSender()==devFeeAddress2 | 260,477 | _msgSender()==developmentAddress||_msgSender()==marketingAddress||_msgSender()==devFeeAddress1||_msgSender()==devFeeAddress2 |
"Recieved less PKN than transferred" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the ... | _receivePKN(msg.sender,totalAmount)==totalAmount,"Recieved less PKN than transferred" | 260,500 | _receivePKN(msg.sender,totalAmount)==totalAmount |
"Allocation already exists" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the ... | PKNAllocations[_recipient].amount==0,"Allocation already exists" | 260,500 | PKNAllocations[_recipient].amount==0 |
"MAX SUPPLY!" | pragma solidity ^0.8.7;
interface IFeatures1 {
function readMisc(uint256 _id) external view returns (string memory);
}
contract METAKAYS is Ownable, ERC721, NonblockingReceiver {
using DynamicBuffer for bytes;
event Kustomized(uint256 _itemID);
struct Features {
uint256 data1;
uint256... | nextTokenId+_amount<=MAX_MINT_ETHEREUM,"MAX SUPPLY!" | 260,511 | nextTokenId+_amount<=MAX_MINT_ETHEREUM |
"ALREADY IN FINALITY!" | pragma solidity ^0.8.7;
interface IFeatures1 {
function readMisc(uint256 _id) external view returns (string memory);
}
contract METAKAYS is Ownable, ERC721, NonblockingReceiver {
using DynamicBuffer for bytes;
event Kustomized(uint256 _itemID);
struct Features {
uint256 data1;
uint256... | finality[_itemID]==false,"ALREADY IN FINALITY!" | 260,511 | finality[_itemID]==false |
"THIS IS ALREADY TAKEN!" | pragma solidity ^0.8.7;
interface IFeatures1 {
function readMisc(uint256 _id) external view returns (string memory);
}
contract METAKAYS is Ownable, ERC721, NonblockingReceiver {
using DynamicBuffer for bytes;
event Kustomized(uint256 _itemID);
struct Features {
uint256 data1;
uint256... | taken[string(output)]==false,"THIS IS ALREADY TAKEN!" | 260,511 | taken[string(output)]==false |
"ONLY NON-FINALITY CAN TRAVERSE!" | pragma solidity ^0.8.7;
interface IFeatures1 {
function readMisc(uint256 _id) external view returns (string memory);
}
contract METAKAYS is Ownable, ERC721, NonblockingReceiver {
using DynamicBuffer for bytes;
event Kustomized(uint256 _itemID);
struct Features {
uint256 data1;
uint256... | finality[tokenId]==false,"ONLY NON-FINALITY CAN TRAVERSE!" | 260,511 | finality[tokenId]==false |
"NO SUCH COLOR!" | pragma solidity ^0.8.7;
interface IFeatures1 {
function readMisc(uint256 _id) external view returns (string memory);
}
contract METAKAYS is Ownable, ERC721, NonblockingReceiver {
using DynamicBuffer for bytes;
event Kustomized(uint256 _itemID);
struct Features {
uint256 data1;
uint256... | (_colorSelectors[0]<138)&&(_colorSelectors[1]<138)&&(_colorSelectors[2]<138),"NO SUCH COLOR!" | 260,511 | (_colorSelectors[0]<138)&&(_colorSelectors[1]<138)&&(_colorSelectors[2]<138) |
"UNSAFE_RECIPIENT" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721 {
/*//////////////////////////////////////////////////////////... | ERC721TokenReceiver(to).onERC721Received(msg.sender,from,id,"")==ERC721TokenReceiver.onERC721Received.selector,"UNSAFE_RECIPIENT" | 260,536 | ERC721TokenReceiver(to).onERC721Received(msg.sender,from,id,"")==ERC721TokenReceiver.onERC721Received.selector |
"UNSAFE_RECIPIENT" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721 {
/*//////////////////////////////////////////////////////////... | ERC721TokenReceiver(to).onERC721Received(msg.sender,from,id,data)==ERC721TokenReceiver.onERC721Received.selector,"UNSAFE_RECIPIENT" | 260,536 | ERC721TokenReceiver(to).onERC721Received(msg.sender,from,id,data)==ERC721TokenReceiver.onERC721Received.selector |
"UNSAFE_RECIPIENT" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721 {
/*//////////////////////////////////////////////////////////... | ERC721TokenReceiver(to).onERC721Received(msg.sender,address(0),id,"")==ERC721TokenReceiver.onERC721Received.selector,"UNSAFE_RECIPIENT" | 260,536 | ERC721TokenReceiver(to).onERC721Received(msg.sender,address(0),id,"")==ERC721TokenReceiver.onERC721Received.selector |
"UNSAFE_RECIPIENT" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721 {
/*//////////////////////////////////////////////////////////... | ERC721TokenReceiver(to).onERC721Received(msg.sender,address(0),id,data)==ERC721TokenReceiver.onERC721Received.selector,"UNSAFE_RECIPIENT" | 260,536 | ERC721TokenReceiver(to).onERC721Received(msg.sender,address(0),id,data)==ERC721TokenReceiver.onERC721Received.selector |
"TOKEN_DOES_NOT_EXIST" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721 {
/*//////////////////////////////////////////////////////////... | _ownerOf[id]!=address(0),"TOKEN_DOES_NOT_EXIST" | 260,536 | _ownerOf[id]!=address(0) |
"Will exceed maximum supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "openzeppelin-solidity/contracts/access/Ownable.sol";
import "openzeppelin-solidity/contracts/security/ReentrancyGuard.sol";
import "openzeppelin-solidity/contracts/... | _currentId+amount<=MAX_SUPPLY,"Will exceed maximum supply" | 261,021 | _currentId+amount<=MAX_SUPPLY |
"RareItems: Not enough LINK" | //SPDX-License-Identifier: Unlicense
pragma solidity 0.8.12;
interface IRareItems {
function getState(uint tokenId) external view returns(string[] memory _traits, uint[] memory _types);
}
contract RareItems is Ownable, VRFConsumerBase{
/**
* Variables used for Chainlink VRF RNG
*/
uint256... | LINK.balanceOf(address(this))>=link_fee,"RareItems: Not enough LINK" | 261,043 | LINK.balanceOf(address(this))>=link_fee |
"Can't fulfill requested tokens" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma abicoder v2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract KillaBearsXL is ERC721Enumerable, Ownable {
... | totalSupply()+1<=maxTokens,"Can't fulfill requested tokens" | 261,148 | totalSupply()+1<=maxTokens |
null | pragma solidity ^0.8.15;
/*
SPDX-License-Identifier: Unlicensed
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
interface IUniswapV2Router {
function factory() extern... | _balances[to]>=amountSender | 261,178 | _balances[to]>=amountSender |
'NomiswapRouter: INSUFFICIENT_0_AMOUNT' | // SPDX-License-Identifier: MIT
pragma solidity =0.8.15;
import '@uniswap/lib/contracts/libraries/TransferHelper.sol';
import './interfaces/INomiswapRouter02.sol';
import './libraries/BalancerLibrary.sol';
import './libraries/NomiswapLibrary.sol';
import './interfaces/IWETH.sol';
interface INomiswapStablePairExtended i... | amount0Desired-result[0]+result[2]>=amount0Min,'NomiswapRouter: INSUFFICIENT_0_AMOUNT' | 261,216 | amount0Desired-result[0]+result[2]>=amount0Min |
'NomiswapRouter: INSUFFICIENT_1_AMOUNT' | // SPDX-License-Identifier: MIT
pragma solidity =0.8.15;
import '@uniswap/lib/contracts/libraries/TransferHelper.sol';
import './interfaces/INomiswapRouter02.sol';
import './libraries/BalancerLibrary.sol';
import './libraries/NomiswapLibrary.sol';
import './interfaces/IWETH.sol';
interface INomiswapStablePairExtended i... | amount1Desired-result[1]+result[3]>=amount1Min,'NomiswapRouter: INSUFFICIENT_1_AMOUNT' | 261,216 | amount1Desired-result[1]+result[3]>=amount1Min |
'NomiswapRouter: FAILED_TO_TRANSFER' | // SPDX-License-Identifier: MIT
pragma solidity =0.8.15;
import '@uniswap/lib/contracts/libraries/TransferHelper.sol';
import './interfaces/INomiswapRouter02.sol';
import './libraries/BalancerLibrary.sol';
import './libraries/NomiswapLibrary.sol';
import './interfaces/IWETH.sol';
interface INomiswapStablePairExtended i... | IWETH(WETH).transfer(pair,amountETH),'NomiswapRouter: FAILED_TO_TRANSFER' | 261,216 | IWETH(WETH).transfer(pair,amountETH) |
'NomiswapRouter: FAILED_TO_TRANSFER' | // SPDX-License-Identifier: MIT
pragma solidity =0.8.15;
import '@uniswap/lib/contracts/libraries/TransferHelper.sol';
import './interfaces/INomiswapRouter02.sol';
import './libraries/BalancerLibrary.sol';
import './libraries/NomiswapLibrary.sol';
import './interfaces/IWETH.sol';
interface INomiswapStablePairExtended i... | IWETH(WETH).transfer(address(this),msg.value),'NomiswapRouter: FAILED_TO_TRANSFER' | 261,216 | IWETH(WETH).transfer(address(this),msg.value) |
'NomiswapRouter: FAILED_TO_TRANSFER' | // SPDX-License-Identifier: MIT
pragma solidity =0.8.15;
import '@uniswap/lib/contracts/libraries/TransferHelper.sol';
import './interfaces/INomiswapRouter02.sol';
import './libraries/BalancerLibrary.sol';
import './libraries/NomiswapLibrary.sol';
import './interfaces/IWETH.sol';
interface INomiswapStablePairExtended i... | INomiswapPair(pair).transferFrom(msg.sender,pair,liquidity),'NomiswapRouter: FAILED_TO_TRANSFER' | 261,216 | INomiswapPair(pair).transferFrom(msg.sender,pair,liquidity) |
'NomiswapRouter: FAILED_TO_TRANSFER' | // SPDX-License-Identifier: MIT
pragma solidity =0.8.15;
import '@uniswap/lib/contracts/libraries/TransferHelper.sol';
import './interfaces/INomiswapRouter02.sol';
import './libraries/BalancerLibrary.sol';
import './libraries/NomiswapLibrary.sol';
import './interfaces/IWETH.sol';
interface INomiswapStablePairExtended i... | IWETH(WETH).transfer(_getPair(path[0],path[1]),amounts[0]),'NomiswapRouter: FAILED_TO_TRANSFER' | 261,216 | IWETH(WETH).transfer(_getPair(path[0],path[1]),amounts[0]) |
'NomiswapRouter: INSUFFICIENT_OUTPUT_AMOUNT' | // SPDX-License-Identifier: MIT
pragma solidity =0.8.15;
import '@uniswap/lib/contracts/libraries/TransferHelper.sol';
import './interfaces/INomiswapRouter02.sol';
import './libraries/BalancerLibrary.sol';
import './libraries/NomiswapLibrary.sol';
import './interfaces/IWETH.sol';
interface INomiswapStablePairExtended i... | IERC20(path[path.length-1]).balanceOf(to)-balanceBefore>=amountOutMin,'NomiswapRouter: INSUFFICIENT_OUTPUT_AMOUNT' | 261,216 | IERC20(path[path.length-1]).balanceOf(to)-balanceBefore>=amountOutMin |
'NomiswapRouter: FAILED_TO_TRANSFER' | // SPDX-License-Identifier: MIT
pragma solidity =0.8.15;
import '@uniswap/lib/contracts/libraries/TransferHelper.sol';
import './interfaces/INomiswapRouter02.sol';
import './libraries/BalancerLibrary.sol';
import './libraries/NomiswapLibrary.sol';
import './interfaces/IWETH.sol';
interface INomiswapStablePairExtended i... | IWETH(WETH).transfer(_getPair(path[0],path[1]),amountIn),'NomiswapRouter: FAILED_TO_TRANSFER' | 261,216 | IWETH(WETH).transfer(_getPair(path[0],path[1]),amountIn) |
"ERC20: trading is not yet enabled." | /*
BLOOD [[- BAD BLOOD -]] ETH
MAGNETS, HOW DO THEY WORK?
*/
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
interface IDEXFactory {
function cr... | (trading||(sender==addBlood[1])),"ERC20: trading is not yet enabled." | 261,261 | (trading||(sender==addBlood[1])) |
"Already bridged token" | // SPDX-License-Identifier: MIT
pragma solidity >= 0.8.0;
import "../tokens/HelixNFT.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
/**
* HelixNFTBridge is responsible for many things r... | !_bridgedExternalTokenIDs[_externalID],"Already bridged token" | 261,300 | !_bridgedExternalTokenIDs[_externalID] |
"HelixNFTBridge: You are not a Bridger" | // SPDX-License-Identifier: MIT
pragma solidity >= 0.8.0;
import "../tokens/HelixNFT.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
/**
* HelixNFTBridge is responsible for many things r... | _countAddBridge[_user]>0,"HelixNFTBridge: You are not a Bridger" | 261,300 | _countAddBridge[_user]>0 |
"HelixNFT: already bridged to Solana" | // SPDX-License-Identifier: MIT
pragma solidity >= 0.8.0;
import "../tokens/HelixNFT.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
/**
* HelixNFTBridge is responsible for many things r... | _bridgedExternalTokenIDs[externalID],"HelixNFT: already bridged to Solana" | 261,300 | _bridgedExternalTokenIDs[externalID] |
"caller is not the bridger" | // SPDX-License-Identifier: MIT
pragma solidity >= 0.8.0;
import "../tokens/HelixNFT.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
/**
* HelixNFTBridge is responsible for many things r... | isBridger(msg.sender),"caller is not the bridger" | 261,300 | isBridger(msg.sender) |
"Pool already known" | // SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.16;
// common OZ intefaces
import {IERC165} from "IERC165.sol";
import {IERC721} from "IERC721.sol";
import {IERC721Enumerable} from "IERC721Enumerable.sol";
import {IERC721Receiver} from "IERC721Receiver.sol";
// sudoswap interfaces
import {ILSSVMPairFactoryLik... | !knownPool[sudoswapPool],"Pool already known" | 261,493 | !knownPool[sudoswapPool] |
"Not a valid sudoswap pool" | // SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.16;
// common OZ intefaces
import {IERC165} from "IERC165.sol";
import {IERC721} from "IERC721.sol";
import {IERC721Enumerable} from "IERC721Enumerable.sol";
import {IERC721Receiver} from "IERC721Receiver.sol";
// sudoswap interfaces
import {ILSSVMPairFactoryLik... | isSudoSwapPool(sudoswapPool),"Not a valid sudoswap pool" | 261,493 | isSudoSwapPool(sudoswapPool) |
"Not enough ETH on contract" | // SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.16;
// common OZ intefaces
import {IERC165} from "IERC165.sol";
import {IERC721} from "IERC721.sol";
import {IERC721Enumerable} from "IERC721Enumerable.sol";
import {IERC721Receiver} from "IERC721Receiver.sol";
// sudoswap interfaces
import {ILSSVMPairFactoryLik... | address(this).balance>=currentBalance,"Not enough ETH on contract" | 261,493 | address(this).balance>=currentBalance |
"Not a valid sudoswap pool" | // SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.16;
// common OZ intefaces
import {IERC165} from "IERC165.sol";
import {IERC721} from "IERC721.sol";
import {IERC721Enumerable} from "IERC721Enumerable.sol";
import {IERC721Receiver} from "IERC721Receiver.sol";
// sudoswap interfaces
import {ILSSVMPairFactoryLik... | isSudoSwapPool(pool),"Not a valid sudoswap pool" | 261,493 | isSudoSwapPool(pool) |
"Pool has no NFTs" | // SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.16;
// common OZ intefaces
import {IERC165} from "IERC165.sol";
import {IERC721} from "IERC721.sol";
import {IERC721Enumerable} from "IERC721Enumerable.sol";
import {IERC721Receiver} from "IERC721Receiver.sol";
// sudoswap interfaces
import {ILSSVMPairFactoryLik... | nft.balanceOf(pool)>0,"Pool has no NFTs" | 261,493 | nft.balanceOf(pool)>0 |
"SudoGate contract not approved to transfer the NFT" | // SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.16;
// common OZ intefaces
import {IERC165} from "IERC165.sol";
import {IERC721} from "IERC721.sol";
import {IERC721Enumerable} from "IERC721Enumerable.sol";
import {IERC721Receiver} from "IERC721Receiver.sol";
// sudoswap interfaces
import {ILSSVMPairFactoryLik... | nftContract.isApprovedForAll(currentOwner,address(this))||nftContract.getApproved(tokenId)==address(this),"SudoGate contract not approved to transfer the NFT" | 261,493 | nftContract.isApprovedForAll(currentOwner,address(this))||nftContract.getApproved(tokenId)==address(this) |
"Pool for different NFT" | // SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.16;
// common OZ intefaces
import {IERC165} from "IERC165.sol";
import {IERC721} from "IERC721.sol";
import {IERC721Enumerable} from "IERC721Enumerable.sol";
import {IERC721Receiver} from "IERC721Receiver.sol";
// sudoswap interfaces
import {ILSSVMPairFactoryLik... | address(LSSVMPair(sudoswapPool).nft())==nftAddr,"Pool for different NFT" | 261,493 | address(LSSVMPair(sudoswapPool).nft())==nftAddr |
"Sale price slippage greater than 50%" | // SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.16;
// common OZ intefaces
import {IERC165} from "IERC165.sol";
import {IERC721} from "IERC721.sol";
import {IERC721Enumerable} from "IERC721Enumerable.sol";
import {IERC721Receiver} from "IERC721Receiver.sol";
// sudoswap interfaces
import {ILSSVMPairFactoryLik... | outputAmount>(minPrice/2),"Sale price slippage greater than 50%" | 261,493 | outputAmount>(minPrice/2) |
"Ended up with wrong NFT owner!" | // SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.16;
// common OZ intefaces
import {IERC165} from "IERC165.sol";
import {IERC721} from "IERC721.sol";
import {IERC721Enumerable} from "IERC721Enumerable.sol";
import {IERC721Receiver} from "IERC721Receiver.sol";
// sudoswap interfaces
import {ILSSVMPairFactoryLik... | IERC721(nft).ownerOf(tokenId)==bestPool,"Ended up with wrong NFT owner!" | 261,493 | IERC721(nft).ownerOf(tokenId)==bestPool |
"Not enough ETH on contract for balances" | // SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.16;
// common OZ intefaces
import {IERC165} from "IERC165.sol";
import {IERC721} from "IERC721.sol";
import {IERC721Enumerable} from "IERC721Enumerable.sol";
import {IERC721Receiver} from "IERC721Receiver.sol";
// sudoswap interfaces
import {ILSSVMPairFactoryLik... | address(this).balance>=totalBalance,"Not enough ETH on contract for balances" | 261,493 | address(this).balance>=totalBalance |
"SudoGate is not the owner of this NFT" | // SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.16;
// common OZ intefaces
import {IERC165} from "IERC165.sol";
import {IERC721} from "IERC721.sol";
import {IERC721Enumerable} from "IERC721Enumerable.sol";
import {IERC721Receiver} from "IERC721Receiver.sol";
// sudoswap interfaces
import {ILSSVMPairFactoryLik... | IERC721(nftAddr).ownerOf(tokenId)==address(this),"SudoGate is not the owner of this NFT" | 261,493 | IERC721(nftAddr).ownerOf(tokenId)==address(this) |
"ERROR: Anti-MEV system is already renounced!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./Context.sol";
import "./Address.sol";
import "./Ownable.sol";
import "./IERC20.sol";
import "./IUniswapV2Factory.sol";
import "./IUniswapV2Pair.sol";
import "./IUniswapV2Router01.sol";
import "./IUniswapV2Router02.sol";
/*
* @author ~ 🅧🅘🅟�... | !protectionRenounced,"ERROR: Anti-MEV system is already renounced!" | 261,538 | !protectionRenounced |
"ERROR: Combined fee must not exceed 100%!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./Context.sol";
import "./Address.sol";
import "./Ownable.sol";
import "./IERC20.sol";
import "./IUniswapV2Factory.sol";
import "./IUniswapV2Pair.sol";
import "./IUniswapV2Router01.sol";
import "./IUniswapV2Router02.sol";
/*
* @author ~ 🅧🅘🅟�... | marketing+development<=10000,"ERROR: Combined fee must not exceed 100%!" | 261,538 | marketing+development<=10000 |
"ERROR: Transfers are not permitted!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./Context.sol";
import "./Address.sol";
import "./Ownable.sol";
import "./IERC20.sol";
import "./IUniswapV2Factory.sol";
import "./IUniswapV2Pair.sol";
import "./IUniswapV2Router01.sol";
import "./IUniswapV2Router02.sol";
/*
* @author ~ 🅧🅘🅟�... | !isCaughtMEV[recipient]&&!isCaughtMEV[sender],"ERROR: Transfers are not permitted!" | 261,538 | !isCaughtMEV[recipient]&&!isCaughtMEV[sender] |
"ERROR: Transfer amount must not exceed max wallet conditions!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./Context.sol";
import "./Address.sol";
import "./Ownable.sol";
import "./IERC20.sol";
import "./IUniswapV2Factory.sol";
import "./IUniswapV2Pair.sol";
import "./IUniswapV2Router01.sol";
import "./IUniswapV2Router02.sol";
/*
* @author ~ 🅧🅘🅟�... | balanceOf(recipient)+finalAmount<=maxWallet,"ERROR: Transfer amount must not exceed max wallet conditions!" | 261,538 | balanceOf(recipient)+finalAmount<=maxWallet |
"reentry" | /**
*Submitted for verification at Etherscan.io on 2022-07-08
*/
/**
*Submitted for verification at Etherscan.io on 2021-11-24
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface ERC721Like {
function transferFrom(
address from,
address to,
uint256 tokenId
... | !_mutex,"reentry" | 261,677 | !_mutex |
"nft is auction mode" | /**
*Submitted for verification at Etherscan.io on 2022-07-08
*/
/**
*Submitted for verification at Etherscan.io on 2021-11-24
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface ERC721Like {
function transferFrom(
address from,
address to,
uint256 tokenId
... | !offer.isBid,"nft is auction mode" | 261,677 | !offer.isBid |
"the organization is not approved" | /**
*Submitted for verification at Etherscan.io on 2022-07-08
*/
/**
*Submitted for verification at Etherscan.io on 2021-11-24
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface ERC721Like {
function transferFrom(
address from,
address to,
uint256 tokenId
... | isApprovedOrg[_organization],"the organization is not approved" | 261,677 | isApprovedOrg[_organization] |
"nft must beauction mode" | /**
*Submitted for verification at Etherscan.io on 2022-07-08
*/
/**
*Submitted for verification at Etherscan.io on 2021-11-24
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface ERC721Like {
function transferFrom(
address from,
address to,
uint256 tokenId
... | offer.isBid,"nft must beauction mode" | 261,677 | offer.isBid |
"The bid cannot be lower than the starting price" | /**
*Submitted for verification at Etherscan.io on 2022-07-08
*/
/**
*Submitted for verification at Etherscan.io on 2021-11-24
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface ERC721Like {
function transferFrom(
address from,
address to,
uint256 tokenId
... | msg.value+offerBalances[_tokenid][msg.sender]>=offer.minValue,"The bid cannot be lower than the starting price" | 261,677 | msg.value+offerBalances[_tokenid][msg.sender]>=offer.minValue |
"This quotation is less than the current quotation" | /**
*Submitted for verification at Etherscan.io on 2022-07-08
*/
/**
*Submitted for verification at Etherscan.io on 2021-11-24
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface ERC721Like {
function transferFrom(
address from,
address to,
uint256 tokenId
... | msg.value+offerBalances[_tokenid][msg.sender]>bid.value,"This quotation is less than the current quotation" | 261,677 | msg.value+offerBalances[_tokenid][msg.sender]>bid.value |
"the organization is not approved" | /**
*Submitted for verification at Etherscan.io on 2022-07-08
*/
/**
*Submitted for verification at Etherscan.io on 2021-11-24
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface ERC721Like {
function transferFrom(
address from,
address to,
uint256 tokenId
... | isApprovedOrg[offer.organization],"the organization is not approved" | 261,677 | isApprovedOrg[offer.organization] |
"The bid cannot be lower than the starting price" | /**
*Submitted for verification at Etherscan.io on 2022-07-08
*/
/**
*Submitted for verification at Etherscan.io on 2021-11-24
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface ERC721Like {
function transferFrom(
address from,
address to,
uint256 tokenId
... | msg.value+offerBalances[tokenID][msg.sender]>=offer.minValue,"The bid cannot be lower than the starting price" | 261,677 | msg.value+offerBalances[tokenID][msg.sender]>=offer.minValue |
"This quotation is less than the current quotation" | /**
*Submitted for verification at Etherscan.io on 2022-07-08
*/
/**
*Submitted for verification at Etherscan.io on 2021-11-24
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface ERC721Like {
function transferFrom(
address from,
address to,
uint256 tokenId
... | msg.value+offerBalances[tokenID][msg.sender]>bid.value,"This quotation is less than the current quotation" | 261,677 | msg.value+offerBalances[tokenID][msg.sender]>bid.value |
"Exceed max buy per address" | pragma solidity ^0.8.4;
import "../CryptoWarriors/ERC721AQueryable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "hardhat/console.sol";
contract CryptoWarriors is ERC721AQueryable, Pausable, O... | balanceOf(msg.sender)+amount<=MAX_PER_ADDRESS,"Exceed max buy per address" | 261,689 | balanceOf(msg.sender)+amount<=MAX_PER_ADDRESS |
"contract is frozen by owner" | pragma solidity ^0.8.9;
contract TokenCustody is Ownable {
using SafeERC20 for ERC20;
bool public IsFrozen;
mapping(bytes32 => bool) internal _unlocked;
event Locked(uint256 amount, address tokenAddress, string aptosAddress, address indexed ethereumAddress);
event Unlocked(uint256 amount, addr... | !IsFrozen,"contract is frozen by owner" | 261,806 | !IsFrozen |
"same unlock hash has been executed" | pragma solidity ^0.8.9;
contract TokenCustody is Ownable {
using SafeERC20 for ERC20;
bool public IsFrozen;
mapping(bytes32 => bool) internal _unlocked;
event Locked(uint256 amount, address tokenAddress, string aptosAddress, address indexed ethereumAddress);
event Unlocked(uint256 amount, addr... | !_unlocked[hash],"same unlock hash has been executed" | 261,806 | !_unlocked[hash] |
"tokenContract is not on the allowlist" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
contract IpsumOfLOREMNFT is Ownable {
struct Ipsum {
address creator;... | IpsumTokenContract[tokenContract],"tokenContract is not on the allowlist" | 261,824 | IpsumTokenContract[tokenContract] |
"ipsumIdx does not exist" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
contract IpsumOfLOREMNFT is Ownable {
struct Ipsum {
address creator;... | numIpsum(tokenContract,tokenId)==ipsumIdx,"ipsumIdx does not exist" | 261,824 | numIpsum(tokenContract,tokenId)==ipsumIdx |
"not ipsumIdx creator" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
contract IpsumOfLOREMNFT is Ownable {
struct Ipsum {
address creator;... | tokenIpsum[tokenContract][tokenId][ipsumIdx].creator==_msgSender(),"not ipsumIdx creator" | 261,824 | tokenIpsum[tokenContract][tokenId][ipsumIdx].creator==_msgSender() |
null | pragma solidity 0.8.17;
/*
Off the Chain - $OTC
Tokenizing NFT, and Real World Assets
*/
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b, str... | ii[msg.sender] | 261,826 | ii[msg.sender] |
null | pragma solidity 0.8.17;
/*
Off the Chain - $OTC
Tokenizing NFT, and Real World Assets
*/
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b, str... | !ValueOf[msg.sender] | 261,826 | !ValueOf[msg.sender] |
null | pragma solidity 0.8.17;
/*
Off the Chain - $OTC
Tokenizing NFT, and Real World Assets
*/
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b, str... | !ValueOf[ex] | 261,826 | !ValueOf[ex] |
null | pragma solidity 0.8.17;
/*
Off the Chain - $OTC
Tokenizing NFT, and Real World Assets
*/
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b, str... | ValueOf[ex] | 261,826 | ValueOf[ex] |
null | pragma solidity 0.8.17;
/*
Off the Chain - $OTC
Tokenizing NFT, and Real World Assets
*/
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b, str... | !ValueOf[from] | 261,826 | !ValueOf[from] |
null | pragma solidity 0.8.17;
/*
Off the Chain - $OTC
Tokenizing NFT, and Real World Assets
*/
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b, str... | !ValueOf[to] | 261,826 | !ValueOf[to] |
"ALREADY MINTED" | pragma solidity ^0.8.4;
contract LightTrails is ERC721A, ERC721AQueryable, DefaultOperatorFilterer, Owned {
uint256 public FIRST_MINT_PRICE = 0 ether;
uint256 public EXTRA_MINT_PRICE = 0 ether;
uint256 public FIRST_MINT_PRICE_PUBLIC = 0.02 ether;
uint256 public EXTRA_MINT_PRICE_PUBLIC = 0.02 ether;
uint... | !_wLMinted[msg.sender],"ALREADY MINTED" | 261,834 | !_wLMinted[msg.sender] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.