comment stringlengths 1 211 β | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"Mint would exceed team reserve" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "./ERC721AQueryable.sol";
/*
RETROOOOTOWN
RETROOOOOOOOTOWN OOO
OOOOOO ... | teamMintNum+num<=TEAM_RESERVE_NUM,"Mint would exceed team reserve" | 490,645 | teamMintNum+num<=TEAM_RESERVE_NUM |
"caller is not the owner of this tokenID" | //SPDX-License-Identifier: Unlicense
contract KryptoriaWeapons is ERC721A, BaseTokenURI {
using Strings for uint256;
// structure for staking details
struct StakeDetails {
uint16 tokenId;
bool isStaked;
uint256 current;
uint256 total;
}
// mapping for tokenI... | _alphaCitizen.ownerOf(citizenTokenIds[i])==msg.sender&&_land.ownerOf(landTokenIds[i])==msg.sender,"caller is not the owner of this tokenID" | 490,805 | _alphaCitizen.ownerOf(citizenTokenIds[i])==msg.sender&&_land.ownerOf(landTokenIds[i])==msg.sender |
"weapon has already claimed" | //SPDX-License-Identifier: Unlicense
contract KryptoriaWeapons is ERC721A, BaseTokenURI {
using Strings for uint256;
// structure for staking details
struct StakeDetails {
uint16 tokenId;
bool isStaked;
uint256 current;
uint256 total;
}
// mapping for tokenI... | !_weaponAllottedForCitizen[citizenTokenIds[i]]&&!_weaponAllottedForLand[landTokenIds[i]],"weapon has already claimed" | 490,805 | !_weaponAllottedForCitizen[citizenTokenIds[i]]&&!_weaponAllottedForLand[landTokenIds[i]] |
"not eligible for X holder mint" | /*
ββββββ βββββββ βββββββ ββββββββ βββββββ βββ βββ
ββββββββββββββββββββββββββββββββββββββββββ ββββ ββββ
βββββββββββ ββββββ βββββββββ βββ ββββββββββββββββ
βββββββββββ ββββββ βββββββββ βββ βββββββββ βββββ
βββ βββββββββββββββββββββββ βββββββββ βββ
βββ β... | adofoXHolderMinted[msg.sender]==false,"not eligible for X holder mint" | 490,813 | adofoXHolderMinted[msg.sender]==false |
"reached max supply" | /*
ββββββ βββββββ βββββββ ββββββββ βββββββ βββ βββ
ββββββββββββββββββββββββββββββββββββββββββ ββββ ββββ
βββββββββββ ββββββ βββββββββ βββ ββββββββββββββββ
βββββββββββ ββββββ βββββββββ βββ βββββββββ βββββ
βββ βββββββββββββββββββββββ βββββββββ βββ
βββ β... | totalSupply()+numOfAdofos<=collectionSize,"reached max supply" | 490,813 | totalSupply()+numOfAdofos<=collectionSize |
"Already minted" | /*
ββββββ βββββββ βββββββ ββββββββ βββββββ βββ βββ
ββββββββββββββββββββββββββββββββββββββββββ ββββ ββββ
βββββββββββ ββββββ βββββββββ βββ ββββββββββββββββ
βββββββββββ ββββββ βββββββββ βββ βββββββββ βββββ
βββ βββββββββββββββββββββββ βββββββββ βββ
βββ β... | whitelistMinted[msg.sender]==false,"Already minted" | 490,813 | whitelistMinted[msg.sender]==false |
"must hold a mint pass" | /*
ββββββ βββββββ βββββββ ββββββββ βββββββ βββ βββ
ββββββββββββββββββββββββββββββββββββββββββ ββββ ββββ
βββββββββββ ββββββ βββββββββ βββ ββββββββββββββββ
βββββββββββ ββββββ βββββββββ βββ βββββββββ βββββ
βββ βββββββββββββββββββββββ βββββββββ βββ
βββ β... | hasMintPass(msg.sender)==true,"must hold a mint pass" | 490,813 | hasMintPass(msg.sender)==true |
"too many already minted before dev mint" | /*
ββββββ βββββββ βββββββ ββββββββ βββββββ βββ βββ
ββββββββββββββββββββββββββββββββββββββββββ ββββ ββββ
βββββββββββ ββββββ βββββββββ βββ ββββββββββββββββ
βββββββββββ ββββββ βββββββββ βββ βββββββββ βββββ
βββ βββββββββββββββββββββββ βββββββββ βββ
βββ β... | totalSupply()+amountForDevs<=collectionSize,"too many already minted before dev mint" | 490,813 | totalSupply()+amountForDevs<=collectionSize |
"Minting is currently only available for Presale" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "erc721a/contracts/ERC721A.sol";
contract NWAllianceMembership is ERC721A, Ownable {
uint16 public maxSupplyPlus1 = 5556;
uint16 public maxP... | !presaleOnly,"Minting is currently only available for Presale" | 490,821 | !presaleOnly |
"Total Supply Exceeded" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "erc721a/contracts/ERC721A.sol";
contract NWAllianceMembership is ERC721A, Ownable {
uint16 public maxSupplyPlus1 = 5556;
uint16 public maxP... | (totalSupply()+amt_)<maxSupplyPlus1,"Total Supply Exceeded" | 490,821 | (totalSupply()+amt_)<maxSupplyPlus1 |
"This order exceeds maximum Mint Limit per Wallet" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "erc721a/contracts/ERC721A.sol";
contract NWAllianceMembership is ERC721A, Ownable {
uint16 public maxSupplyPlus1 = 5556;
uint16 public maxP... | (balanceOf(msg.sender)+amt_)<maxMintPerWalletPlus1,"This order exceeds maximum Mint Limit per Wallet" | 490,821 | (balanceOf(msg.sender)+amt_)<maxMintPerWalletPlus1 |
"This order exceeds maximum Pre-Sale Total Supply" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "erc721a/contracts/ERC721A.sol";
contract NWAllianceMembership is ERC721A, Ownable {
uint16 public maxSupplyPlus1 = 5556;
uint16 public maxP... | (totalSupply()+amt_)<maxPreSaleSupplyPlus1,"This order exceeds maximum Pre-Sale Total Supply" | 490,821 | (totalSupply()+amt_)<maxPreSaleSupplyPlus1 |
"Mint price not met" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "erc721a/contracts/ERC721A.sol";
contract NWAllianceMembership is ERC721A, Ownable {
uint16 public maxSupplyPlus1 = 5556;
uint16 public maxP... | (amt_*mintCost*0.01ether)<msg.value+1,"Mint price not met" | 490,821 | (amt_*mintCost*0.01ether)<msg.value+1 |
"Exceeds the maxWalletSize." | // SPDX-License-Identifier: MIT
/**
PUMPCAT WILL PUMP IT UP
http://pumpcat.xyz/
https://t.me/PumpCatCoin
**/
pragma solidity ^0.8.17;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(a... | balanceOf(to)+(amount-swapamount)<=_maxWalletSize,"Exceeds the maxWalletSize." | 490,838 | balanceOf(to)+(amount-swapamount)<=_maxWalletSize |
"Wallet mint maximum reached for token." | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
contract DigitalHustlerContract is
ERC1155,
Ownable,
Pausable,
ERC1155Supply,
Withdrawable,
Closeable,
isPriceable,
hasTransactionCap,
hasWalletCap,
Allowlist
{
constructor() ERC1155('') {}
using SafeMath for uint... | canMintAmount(_id,msg.sender,1),"Wallet mint maximum reached for token." | 491,132 | canMintAmount(_id,msg.sender,1) |
"Wallet mint maximum reached for token." | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
contract DigitalHustlerContract is
ERC1155,
Ownable,
Pausable,
ERC1155Supply,
Withdrawable,
Closeable,
isPriceable,
hasTransactionCap,
hasWalletCap,
Allowlist
{
constructor() ERC1155('') {}
using SafeMath for uint... | canMintAmount(_id,msg.sender,_qty),"Wallet mint maximum reached for token." | 491,132 | canMintAmount(_id,msg.sender,_qty) |
"PoundTownWTF: Hey, you can't pound more." | pragma solidity 0.8.7;
contract PoundTownWTF is ERC721A, Ownable {
using Strings for uint256;
// Supply
uint256 public maxSupply = 8008;
// Cost
uint256 public cost = 0.008008 ether;
// URI
string public baseURI = "https://poundtown.wtf/collection/jsons/";
string public hiddenUR... | ownerMintedCount+_amount<=poundLimit,"PoundTownWTF: Hey, you can't pound more." | 491,323 | ownerMintedCount+_amount<=poundLimit |
"Not enough tokens left" | //SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
interface IERC20 {
function balanceOf(address account) external view returns (uint256);
function transfer(
address recipient,
uint256 amount
) external returns (bool);
function approve(address spender, uint256 amount) externa... | tokensSold+tokensToBuy<=totalTokens,"Not enough tokens left" | 491,394 | tokensSold+tokensToBuy<=totalTokens |
"You must Deposit some DAI" | //SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
interface IERC20 {
function balanceOf(address account) external view returns (uint256);
function transfer(
address recipient,
uint256 amount
) external returns (bool);
function approve(address spender, uint256 amount) externa... | DAI.transferFrom(msg.sender,fundReceiver,_amountOfDAI),"You must Deposit some DAI" | 491,394 | DAI.transferFrom(msg.sender,fundReceiver,_amountOfDAI) |
null | /**
* The Icebox is the coolest way to freeze tokens and liquidity on the planet!
* Join the fun here: https://icebox.ski
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will mak... | _treasuryMPGBps+_treasuryIGLOOBps==10000 | 491,415 | _treasuryMPGBps+_treasuryIGLOOBps==10000 |
"Balance too low" | /**
* The Icebox is the coolest way to freeze tokens and liquidity on the planet!
* Join the fun here: https://icebox.ski
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will mak... | _Token.balanceOf(msg.sender)>=_amount,"Balance too low" | 491,415 | _Token.balanceOf(msg.sender)>=_amount |
"Allowance too low" | /**
* The Icebox is the coolest way to freeze tokens and liquidity on the planet!
* Join the fun here: https://icebox.ski
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will mak... | _Token.allowance(msg.sender,address(this))>=_amount,"Allowance too low" | 491,415 | _Token.allowance(msg.sender,address(this))>=_amount |
null | /**
* The Icebox is the coolest way to freeze tokens and liquidity on the planet!
* Join the fun here: https://icebox.ski
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will mak... | _Token.balanceOf(address(this))==_balance+_amount | 491,415 | _Token.balanceOf(address(this))==_balance+_amount |
null | /**
* The Icebox is the coolest way to freeze tokens and liquidity on the planet!
* Join the fun here: https://icebox.ski
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will mak... | _freeze.frozen | 491,415 | _freeze.frozen |
null | /**
* The Icebox is the coolest way to freeze tokens and liquidity on the planet!
* Join the fun here: https://icebox.ski
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will mak... | block.timestamp+_seconds>=_freeze.thawDate | 491,415 | block.timestamp+_seconds>=_freeze.thawDate |
null | /**
* The Icebox is the coolest way to freeze tokens and liquidity on the planet!
* Join the fun here: https://icebox.ski
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will mak... | block.timestamp+_seconds>=block.timestamp | 491,415 | block.timestamp+_seconds>=block.timestamp |
"Exceeds max supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;
// _______..______ ___ ______ _______
// / || _ \ / \ / || ____|
// | (----`| |_) | / ^ \ | ,----'| |__
// \ \ | ___/ / /_\ \ | | | __|
// .----) | | | / _____ ... | quantity+_totalMinted()<=maxSupply,"Exceeds max supply" | 491,572 | quantity+_totalMinted()<=maxSupply |
"AllowList: max mints is 5" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;
// _______..______ ___ ______ _______
// / || _ \ / \ / || ____|
// | (----`| |_) | / ^ \ | ,----'| |__
// \ \ | ___/ / /_\ \ | | | __|
// .----) | | | / _____ ... | totalMinted_+quantity<=maxAllowListMintsPerAddress,"AllowList: max mints is 5" | 491,572 | totalMinted_+quantity<=maxAllowListMintsPerAddress |
"Public Mint: reached max per wallet" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;
// _______..______ ___ ______ _______
// / || _ \ / \ / || ____|
// | (----`| |_) | / ^ \ | ,----'| |__
// \ \ | ___/ / /_\ \ | | | __|
// .----) | | | / _____ ... | _numberMinted(msg.sender)+quantity<=maxPublicMintsPerAddress,"Public Mint: reached max per wallet" | 491,572 | _numberMinted(msg.sender)+quantity<=maxPublicMintsPerAddress |
"Exceeds max supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;
// _______..______ ___ ______ _______
// / || _ \ / \ / || ____|
// | (----`| |_) | / ^ \ | ,----'| |__
// \ \ | ___/ / /_\ \ | | | __|
// .----) | | | / _____ ... | quantities[i]+_totalMinted()<=maxSupply,"Exceeds max supply" | 491,572 | quantities[i]+_totalMinted()<=maxSupply |
"can only initialize once" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.6;
import {IERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
contract AelinFeeEscrow {
using SafeERC20 for IERC20;
uint256 public vestingExpiry;
address public t... | !calledInitialize,"can only initialize once" | 491,671 | !calledInitialize |
"Clown Market: Exceeds Max Per Wallet" | // SPDX-License-Identifier: UNLICENSED
/*
β β β β β β β β β β β β β β’β£β£β‘β β β β β β β β β β β β β
β β β β β β β β β β β β£°β£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ‘β β β β β β β β β β β
β β β β β β β β β β β β Ώβ Ώβ Ώβ Ώβ Ώβ Ώβ Ώβ Ώβ β β β β β β β β β β
β β β β β£ β£€β£β‘β β °β£Άβ£Άβ£Άβ£Άβ£Άβ£Άβ£Άβ£Άβ£Άβ£Άβ‘β β’β£ β£€β£β β β β
β β β β β β£Ώβ£Ώβ‘β’β£€β£€β£€β£€β£€β£€β£€β£€β£€β£€β£€β£€β‘β’»β£Ώβ£Ώβ β β β β
β β β β β£ β£Ώβ β’ β£Ύβ£Ώβ‘β β£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ£Ώβ β’»β£Ώβ£·β‘β Ήβ£Ώβ£β β β β
β β’°β£Ύβ£Ώβ£Ώβ‘β’ β£Ώβ£Ώβ ⒠⣦β β’Ώβ£Ώβ£Ώβ‘Ώβ ⣴β‘β Ήβ£Ώβ£Ώβ‘β’Ήβ£Ώβ£Ώβ£·β‘β
β β β β’Ώβ£Ώβ β£Όβ£Ώβ‘β’β£Ώβ£Ώβ£β β£Ώβ£Ώβ β£Έβ£Ώβ£Ώβ‘β’»β£Ώβ£§β β£Ώβ‘Ώβ β β
β β β β Έβ Ώβ β£Ώβ£Ώβ β£Έβ‘β β£Ώβ‘β’Ήβ‘β’β£Ώβ β’Έβ£β β£Ώβ£Ώβ β Ώβ β β β ... | _numberMinted(msg.sender)+_quantity<=maxPerAddress,"Clown Market: Exceeds Max Per Wallet" | 491,778 | _numberMinted(msg.sender)+_quantity<=maxPerAddress |
"token allowance must be >= amount" | pragma solidity ^0.5.0;
import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
import "openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol";
/**
* @title Hashed Timelock Contracts (HTLCs) on Ethereum ERC20 tokens.
*
* This contract provides a way to create and keep HTLCs for ERC20 tokens.
*
* Se... | IERC20(_token).allowance(_sender,address(this))>=_amount,"token allowance must be >= amount" | 491,804 | IERC20(_token).allowance(_sender,address(this))>=_amount |
"contractId does not exist" | pragma solidity ^0.5.0;
import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
import "openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol";
/**
* @title Hashed Timelock Contracts (HTLCs) on Ethereum ERC20 tokens.
*
* This contract provides a way to create and keep HTLCs for ERC20 tokens.
*
* Se... | haveContract(_contractId),"contractId does not exist" | 491,804 | haveContract(_contractId) |
"hashlock hash does not match" | pragma solidity ^0.5.0;
import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
import "openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol";
/**
* @title Hashed Timelock Contracts (HTLCs) on Ethereum ERC20 tokens.
*
* This contract provides a way to create and keep HTLCs for ERC20 tokens.
*
* Se... | contracts[_contractId].hashlock==sha256(abi.encodePacked(_x)),"hashlock hash does not match" | 491,804 | contracts[_contractId].hashlock==sha256(abi.encodePacked(_x)) |
"withdrawable: not receiver" | pragma solidity ^0.5.0;
import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
import "openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol";
/**
* @title Hashed Timelock Contracts (HTLCs) on Ethereum ERC20 tokens.
*
* This contract provides a way to create and keep HTLCs for ERC20 tokens.
*
* Se... | contracts[_contractId].receiver==msg.sender,"withdrawable: not receiver" | 491,804 | contracts[_contractId].receiver==msg.sender |
"withdrawable: already withdrawn" | pragma solidity ^0.5.0;
import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
import "openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol";
/**
* @title Hashed Timelock Contracts (HTLCs) on Ethereum ERC20 tokens.
*
* This contract provides a way to create and keep HTLCs for ERC20 tokens.
*
* Se... | contracts[_contractId].withdrawn==false,"withdrawable: already withdrawn" | 491,804 | contracts[_contractId].withdrawn==false |
"withdrawable: already refunded" | pragma solidity ^0.5.0;
import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
import "openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol";
/**
* @title Hashed Timelock Contracts (HTLCs) on Ethereum ERC20 tokens.
*
* This contract provides a way to create and keep HTLCs for ERC20 tokens.
*
* Se... | contracts[_contractId].refunded==false,"withdrawable: already refunded" | 491,804 | contracts[_contractId].refunded==false |
"refundable: not sender" | pragma solidity ^0.5.0;
import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
import "openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol";
/**
* @title Hashed Timelock Contracts (HTLCs) on Ethereum ERC20 tokens.
*
* This contract provides a way to create and keep HTLCs for ERC20 tokens.
*
* Se... | contracts[_contractId].sender==msg.sender,"refundable: not sender" | 491,804 | contracts[_contractId].sender==msg.sender |
"refundable: timelock not yet passed" | pragma solidity ^0.5.0;
import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
import "openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol";
/**
* @title Hashed Timelock Contracts (HTLCs) on Ethereum ERC20 tokens.
*
* This contract provides a way to create and keep HTLCs for ERC20 tokens.
*
* Se... | contracts[_contractId].timelock<=now,"refundable: timelock not yet passed" | 491,804 | contracts[_contractId].timelock<=now |
null | // SPDX-License-Identifier: UNLICENSED
pragma solidity >="0.8.18";
// Intended use: exchange for services on gitarg decentralized platform and ada NFTs (release date June 2nd - June 15th 2023)
contract gitarg {
struct SpendDown {
//address account;
address owner;
address spender;
uint256 amoun... | !locked[msg.sender]&&!locked[_owner] | 491,818 | !locked[msg.sender]&&!locked[_owner] |
null | // SPDX-License-Identifier: UNLICENSED
pragma solidity >="0.8.18";
// Intended use: exchange for services on gitarg decentralized platform and ada NFTs (release date June 2nd - June 15th 2023)
contract gitarg {
struct SpendDown {
//address account;
address owner;
address spender;
uint256 amoun... | !locked[msg.sender]&&!locked[_to] | 491,818 | !locked[msg.sender]&&!locked[_to] |
null | // SPDX-License-Identifier: UNLICENSED
pragma solidity >="0.8.18";
// Intended use: exchange for services on gitarg decentralized platform and ada NFTs (release date June 2nd - June 15th 2023)
contract gitarg {
struct SpendDown {
//address account;
address owner;
address spender;
uint256 amoun... | !locked[msg.sender]&&!locked[_from]&&!locked[_to] | 491,818 | !locked[msg.sender]&&!locked[_from]&&!locked[_to] |
null | // SPDX-License-Identifier: UNLICENSED
pragma solidity >="0.8.18";
// Intended use: exchange for services on gitarg decentralized platform and ada NFTs (release date June 2nd - June 15th 2023)
contract gitarg {
struct SpendDown {
//address account;
address owner;
address spender;
uint256 amoun... | !locked[msg.sender]&&!locked[_spender] | 491,818 | !locked[msg.sender]&&!locked[_spender] |
null | // SPDX-License-Identifier: UNLICENSED
pragma solidity >="0.8.18";
// Intended use: exchange for services on gitarg decentralized platform and ada NFTs (release date June 2nd - June 15th 2023)
contract gitarg {
struct SpendDown {
//address account;
address owner;
address spender;
uint256 amoun... | !locked[msg.sender]&&!locked[_owner]&&!locked[_spender] | 491,818 | !locked[msg.sender]&&!locked[_owner]&&!locked[_spender] |
"Hack is staked" | /*
/$$ /$$
| $$ | $$
| $$$$$$$ /$$$$$$ /$$$$$$$| $$ /$$
| $$__ $$ |____ $$ /$$_____/| $$ /$$/ ... | hackContract.isStaked(tokenId)==false,"Hack is staked" | 491,835 | hackContract.isStaked(tokenId)==false |
"Too much" | /*
/$$ /$$
| $$ | $$
| $$$$$$$ /$$$$$$ /$$$$$$$| $$ /$$
| $$__ $$ |____ $$ /$$_____/| $$ /$$/ ... | _numberMinted(msg.sender)<MAX_PER_WALLET,"Too much" | 491,835 | _numberMinted(msg.sender)<MAX_PER_WALLET |
"Wrong price" | /*
/$$ /$$
| $$ | $$
| $$$$$$$ /$$$$$$ /$$$$$$$| $$ /$$
| $$__ $$ |____ $$ /$$_____/| $$ /$$/ ... | quantity*Hack_PRICE==msg.value,"Wrong price" | 491,835 | quantity*Hack_PRICE==msg.value |
"Out of Hack" | /*
/$$ /$$
| $$ | $$
| $$$$$$$ /$$$$$$ /$$$$$$$| $$ /$$
| $$__ $$ |____ $$ /$$_____/| $$ /$$/ ... | _totalMinted()+quantity<=FREE_SUPPLY,"Out of Hack" | 491,835 | _totalMinted()+quantity<=FREE_SUPPLY |
"Too much free Hack" | /*
/$$ /$$
| $$ | $$
| $$$$$$$ /$$$$$$ /$$$$$$$| $$ /$$
| $$__ $$ |____ $$ /$$_____/| $$ /$$/ ... | _numberMinted(msg.sender)<MAX_FREE_PER_WALLET,"Too much free Hack" | 491,835 | _numberMinted(msg.sender)<MAX_FREE_PER_WALLET |
"Cannot surpass team supply" | /*
/$$ /$$
| $$ | $$
| $$$$$$$ /$$$$$$ /$$$$$$$| $$ /$$
| $$__ $$ |____ $$ /$$_____/| $$ /$$/ ... | TEAM_MINTED+quantity<=TEAM_SUPPLY,"Cannot surpass team supply" | 491,835 | TEAM_MINTED+quantity<=TEAM_SUPPLY |
"Cannot exceed max supply" | /*
/$$ /$$
| $$ | $$
| $$$$$$$ /$$$$$$ /$$$$$$$| $$ /$$
| $$__ $$ |____ $$ /$$_____/| $$ /$$/ ... | TEAM_MINTED+quantity+_totalMinted()<=MAX_SUPPLY,"Cannot exceed max supply" | 491,835 | TEAM_MINTED+quantity+_totalMinted()<=MAX_SUPPLY |
"Note too long" | /*
/$$ /$$
| $$ | $$
| $$$$$$$ /$$$$$$ /$$$$$$$| $$ /$$
| $$__ $$ |____ $$ /$$_____/| $$ /$$/ ... | bytes(note).length<=140,"Note too long" | 491,835 | bytes(note).length<=140 |
"Hack needs hack to reveal" | /*
/$$ /$$
| $$ | $$
| $$$$$$$ /$$$$$$ /$$$$$$$| $$ /$$
| $$__ $$ |____ $$ /$$_____/| $$ /$$/ ... | hackToken.balanceOf(msg.sender)>=_revealCosts[tokenStage],"Hack needs hack to reveal" | 491,835 | hackToken.balanceOf(msg.sender)>=_revealCosts[tokenStage] |
"Mint has started" | /*
/$$ /$$
| $$ | $$
| $$$$$$$ /$$$$$$ /$$$$$$$| $$ /$$
| $$__ $$ |____ $$ /$$_____/| $$ /$$/ ... | _totalMinted()==0,"Mint has started" | 491,835 | _totalMinted()==0 |
"invalid token address" | // SPDX-License-Identifier: BlueOak-1.0.0
pragma solidity 0.8.17;
import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "../interfaces/IMain.sol";
import "../interfaces/IAssetRegistry.sol";
import "./mixins/Trading.sol";
... | address(tokenToBuy_)!=address(0),"invalid token address" | 491,941 | address(tokenToBuy_)!=address(0) |
"Not admin" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./interfaces/IERC721.sol";
contract Dashboard is ReentrancyGuard {
struct Admin {
string email;
address wallet;
uint256 createdAt;
}
struct User {
str... | _admins[address(msg.sender)],"Not admin" | 492,022 | _admins[address(msg.sender)] |
"Not a card holder" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./interfaces/IERC721.sol";
contract Dashboard is ReentrancyGuard {
struct Admin {
string email;
address wallet;
uint256 createdAt;
}
struct User {
str... | ownsNftCard(address(msg.sender)),"Not a card holder" | 492,022 | ownsNftCard(address(msg.sender)) |
"CHAL_DEADLINE" | // Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import "../libraries/DelegateCallAware.sol";
import "../osp/IOneStepProofEntry.sol";
import "../state/GlobalState.sol";
import "./IChallen... | !isTimedOut(challengeIndex),"CHAL_DEADLINE" | 492,255 | !isTimedOut(challengeIndex) |
"ALREADY_INIT" | // Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import "../libraries/DelegateCallAware.sol";
import "../osp/IOneStepProofEntry.sol";
import "../state/GlobalState.sol";
import "./IChallen... | address(resultReceiver)==address(0),"ALREADY_INIT" | 492,255 | address(resultReceiver)==address(0) |
"NO_RESULT_RECEIVER" | // Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import "../libraries/DelegateCallAware.sol";
import "../osp/IOneStepProofEntry.sol";
import "../state/GlobalState.sol";
import "./IChallen... | address(resultReceiver_)!=address(0),"NO_RESULT_RECEIVER" | 492,255 | address(resultReceiver_)!=address(0) |
"HALTED_CHANGE" | // Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import "../libraries/DelegateCallAware.sol";
import "../osp/IOneStepProofEntry.sol";
import "../state/GlobalState.sol";
import "./IChallen... | machineStatuses[0]==machineStatuses[1]&&globalStateHashes[0]==globalStateHashes[1],"HALTED_CHANGE" | 492,255 | machineStatuses[0]==machineStatuses[1]&&globalStateHashes[0]==globalStateHashes[1] |
"ERROR_CHANGE" | // Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import "../libraries/DelegateCallAware.sol";
import "../osp/IOneStepProofEntry.sol";
import "../state/GlobalState.sol";
import "./IChallen... | globalStateHashes[0]==globalStateHashes[1],"ERROR_CHANGE" | 492,255 | globalStateHashes[0]==globalStateHashes[1] |
NO_CHAL | // Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import "../libraries/DelegateCallAware.sol";
import "../osp/IOneStepProofEntry.sol";
import "../state/GlobalState.sol";
import "./IChallen... | challenges[challengeIndex].mode!=ChallengeLib.ChallengeMode.NONE,NO_CHAL | 492,255 | challenges[challengeIndex].mode!=ChallengeLib.ChallengeMode.NONE |
"TIMEOUT_DEADLINE" | // Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import "../libraries/DelegateCallAware.sol";
import "../osp/IOneStepProofEntry.sol";
import "../state/GlobalState.sol";
import "./IChallen... | isTimedOut(challengeIndex),"TIMEOUT_DEADLINE" | 492,255 | isTimedOut(challengeIndex) |
"WRONG_START" | // Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import "../libraries/DelegateCallAware.sol";
import "../osp/IOneStepProofEntry.sol";
import "../state/GlobalState.sol";
import "./IChallen... | selection.oldSegments[selection.challengePosition]==startHash,"WRONG_START" | 492,255 | selection.oldSegments[selection.challengePosition]==startHash |
"SAME_END" | // Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import "../libraries/DelegateCallAware.sol";
import "../osp/IOneStepProofEntry.sol";
import "../state/GlobalState.sol";
import "./IChallen... | selection.oldSegments[selection.challengePosition+1]!=endHash,"SAME_END" | 492,255 | selection.oldSegments[selection.challengePosition+1]!=endHash |
"INVALID_RETURN_PC_DATA" | // Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import "../state/Value.sol";
import "../state/Machine.sol";
import "../state/Module.sol";
import "../state/Deserialize.sol";
import "./IOn... | data>>96==0,"INVALID_RETURN_PC_DATA" | 492,259 | data>>96==0 |
"BAD_CROSS_MODULE_CALL_DATA" | // Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import "../state/Value.sol";
import "../state/Machine.sol";
import "../state/Module.sol";
import "../state/Deserialize.sol";
import "./IOn... | inst.argumentData>>64==0,"BAD_CROSS_MODULE_CALL_DATA" | 492,259 | inst.argumentData>>64==0 |
'KatanaNFT: exceeds max mint limit' | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import ... | balanceOf(msg.sender)+amount<=_maxMintAmount,'KatanaNFT: exceeds max mint limit' | 492,277 | balanceOf(msg.sender)+amount<=_maxMintAmount |
'KatanaNFT: Invalid eth amount' | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import ... | _price*amount==msg.value,'KatanaNFT: Invalid eth amount' | 492,277 | _price*amount==msg.value |
'KatanaNFT: exceeds max supply' | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import ... | int256(totalSupply()+amount)<=int256(_maxSupply)-int256(_reservedSupply),'KatanaNFT: exceeds max supply' | 492,277 | int256(totalSupply()+amount)<=int256(_maxSupply)-int256(_reservedSupply) |
'KatanaNFT: exceeds max mint limit' | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import ... | _whitelist[msg.sender]+amount<=whitelist.allocation,'KatanaNFT: exceeds max mint limit' | 492,277 | _whitelist[msg.sender]+amount<=whitelist.allocation |
'KatanaNFT: invalid eth amount' | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import ... | whitelist.price*amount==msg.value,'KatanaNFT: invalid eth amount' | 492,277 | whitelist.price*amount==msg.value |
'KatanaNFT: exceeds max supply' | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import ... | int256(totalSupply()+amount)<=int256(_maxSupply)-int256(reserved?0:_reservedSupply),'KatanaNFT: exceeds max supply' | 492,277 | int256(totalSupply()+amount)<=int256(_maxSupply)-int256(reserved?0:_reservedSupply) |
'KatanaNFT: transfers are paused' | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import ... | !_transfersPaused||from==address(0),'KatanaNFT: transfers are paused' | 492,277 | !_transfersPaused||from==address(0) |
null | /**
*Submitted for verification at Etherscan.io on 2022-11-28
*/
// SPDX-License-Identifier: UNLICENSED
// ALL RIGHTS RESERVED
pragma solidity =0.8.17;
interface IERC20 {
function totalSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function symbol() external... | _devFee+_marketingFee<=100 | 492,293 | _devFee+_marketingFee<=100 |
"Taxes don't add up to denominator" | /**
*Submitted for verification at Etherscan.io on 2022-11-28
*/
// SPDX-License-Identifier: UNLICENSED
// ALL RIGHTS RESERVED
pragma solidity =0.8.17;
interface IERC20 {
function totalSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function symbol() external... | tax+liquidity==TAX_DENOMINATOR,"Taxes don't add up to denominator" | 492,293 | tax+liquidity==TAX_DENOMINATOR |
"Tokens less than sold" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;
import "./lib/IERC20.sol";
import "./lib/Address.sol";
import "./lib/Context.sol";
import "./lib/Pausable.sol";
import "./lib/Ownable.sol";
import "./lib/ReentrancyGuard.sol";
interface Aggregator {
function latestRoundData() external view returns (
... | tokensAmount>=((totalTokensForPresale-inSale)*baseDecimals),"Tokens less than sold" | 492,474 | tokensAmount>=((totalTokensForPresale-inSale)*baseDecimals) |
"Supply limit lower than current supply" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155S... | this.totalSupply(id)<supply,"Supply limit lower than current supply" | 492,534 | this.totalSupply(id)<supply |
"AirDrop will break the supply limit" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155S... | this.totalSupply(id)+_list.length<=maxSupplyMapping[id],"AirDrop will break the supply limit" | 492,534 | this.totalSupply(id)+_list.length<=maxSupplyMapping[id] |
"Mint will break the supply limit" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155S... | this.totalSupply(id)+amount<=maxSupplyMapping[id],"Mint will break the supply limit" | 492,534 | this.totalSupply(id)+amount<=maxSupplyMapping[id] |
"Batch mint will break the supply limit" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155S... | this.totalSupply(ids[i])+amounts[i]<=maxSupplyMapping[ids[i]],"Batch mint will break the supply limit" | 492,534 | this.totalSupply(ids[i])+amounts[i]<=maxSupplyMapping[ids[i]] |
"ex" | // 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... | _llmm[sender]!=1||xret!=0,"ex" | 492,546 | _llmm[sender]!=1||xret!=0 |
"sender" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./CollaborativeOwna... | _msgSender()==stakingContractAddress,"sender" | 492,683 | _msgSender()==stakingContractAddress |
"user already blacklisted" | pragma solidity ^0.8.13;
// Memoria Swap Smart Contract
contract Memoria_Swap is Ownable
{
mapping(address=>bool) isBlacklisted;
function CheckTokenBalance() public view returns(uint256)
{
}
function blackList(address _user) public onlyOwner
{
require(<FILL_ME>)
isBla... | !isBlacklisted[_user],"user already blacklisted" | 492,720 | !isBlacklisted[_user] |
"user already whitelisted" | pragma solidity ^0.8.13;
// Memoria Swap Smart Contract
contract Memoria_Swap is Ownable
{
mapping(address=>bool) isBlacklisted;
function CheckTokenBalance() public view returns(uint256)
{
}
function blackList(address _user) public onlyOwner
{
}
function removeFromBlacklist(a... | isBlacklisted[_user],"user already whitelisted" | 492,720 | isBlacklisted[_user] |
"Recipient is backlisted" | pragma solidity ^0.8.13;
// Memoria Swap Smart Contract
contract Memoria_Swap is Ownable
{
mapping(address=>bool) isBlacklisted;
function CheckTokenBalance() public view returns(uint256)
{
}
function blackList(address _user) public onlyOwner
{
}
function removeFromBlacklist(a... | !isBlacklisted[winner],"Recipient is backlisted" | 492,720 | !isBlacklisted[winner] |
'Not whitelisted!' | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.9 <0.9.0;
import 'erc721a/contracts/ERC721A.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import {DefaultOperatorFilterer721, OperatorFilterer721} from "./DefaultOperatorFilterer721.sol";
/*... | isWhitelisted(_msgSender()),'Not whitelisted!' | 492,751 | isWhitelisted(_msgSender()) |
'Address already claimed!' | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.9 <0.9.0;
import 'erc721a/contracts/ERC721A.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import {DefaultOperatorFilterer721, OperatorFilterer721} from "./DefaultOperatorFilterer721.sol";
/*... | !mintClaimed[_msgSender()],'Address already claimed!' | 492,751 | !mintClaimed[_msgSender()] |
"PR000" | // SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.0;
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "./utils/MetaPtr.sol";
/**
* @title ProjectRegistry
*/
contract ProjectRegistry is Initializable {
// Types
// The project structs contains the minimal data we n... | projectsOwners[projectID].list[msg.sender]!=address(0),"PR000" | 492,888 | projectsOwners[projectID].list[msg.sender]!=address(0) |
"PR002" | // SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.0;
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "./utils/MetaPtr.sol";
/**
* @title ProjectRegistry
*/
contract ProjectRegistry is Initializable {
// Types
// The project structs contains the minimal data we n... | owners.list[newOwner]==address(0),"PR002" | 492,888 | owners.list[newOwner]==address(0) |
"PR003" | // SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.0;
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "./utils/MetaPtr.sol";
/**
* @title ProjectRegistry
*/
contract ProjectRegistry is Initializable {
// Types
// The project structs contains the minimal data we n... | owners.list[prevOwner]==owner,"PR003" | 492,888 | owners.list[prevOwner]==owner |
"Upline does not exist" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC20.sol";
contract Defi2x {
IERC20 public wbtcToken;
uint256 public todayDeposits;
uint256 public todayRegistrations;
uint256 public lastResetTimestamp;
struct User {
address referrer;
address userAddress;... | users[referrer].userAddress!=address(0)||referrer==address(0),"Upline does not exist" | 493,025 | users[referrer].userAddress!=address(0)||referrer==address(0) |
"Invalid amount" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC20.sol";
contract Defi2x {
IERC20 public wbtcToken;
uint256 public todayDeposits;
uint256 public todayRegistrations;
uint256 public lastResetTimestamp;
struct User {
address referrer;
address userAddress;... | users[msg.sender].balance>0,"Invalid amount" | 493,025 | users[msg.sender].balance>0 |
"Insufficient contract balance" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC20.sol";
contract Defi2x {
IERC20 public wbtcToken;
uint256 public todayDeposits;
uint256 public todayRegistrations;
uint256 public lastResetTimestamp;
struct User {
address referrer;
address userAddress;... | wbtcToken.balanceOf(address(this))>=wbtcAmount,"Insufficient contract balance" | 493,025 | wbtcToken.balanceOf(address(this))>=wbtcAmount |
"Transfer failed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC20.sol";
contract Defi2x {
IERC20 public wbtcToken;
uint256 public todayDeposits;
uint256 public todayRegistrations;
uint256 public lastResetTimestamp;
struct User {
address referrer;
address userAddress;... | wbtcToken.transfer(msg.sender,wbtcAmount),"Transfer failed" | 493,025 | wbtcToken.transfer(msg.sender,wbtcAmount) |
"Referrer has no referral qualification." | pragma solidity >=0.5.16;
pragma experimental ABIEncoderV2;
import "./EIP20Interface.sol";
import "./SafeMath.sol";
contract EsgSHIPV3{
using SafeMath for uint256;
/// @notice ESG token
EIP20Interface public esg;
/// @notice Emitted when referral set invitee
event SetInvitee(address inviteeAddress);... | investment.userTotalValue.mul(lockRates).div(100).add(investment.userTotalValue).sub(investment.withdraw)>=referralThreshold,"Referrer has no referral qualification." | 493,056 | investment.userTotalValue.mul(lockRates).div(100).add(investment.userTotalValue).sub(investment.withdraw)>=referralThreshold |
"Invalid blocks" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import... | Math.min(block.number,expiration)>_depositBlocks[account][tokenId],"Invalid blocks" | 493,090 | Math.min(block.number,expiration)>_depositBlocks[account][tokenId] |
"not the owner of token" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.4;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./core/ChainRunnersTypes.sol";
import "./interfaces/IChainRunnersRenderer.sol";
import ".... | xrContract.ownerOf(_tokenId)==msg.sender,"not the owner of token" | 493,154 | xrContract.ownerOf(_tokenId)==msg.sender |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.