comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"Vat/dust"
// SPDX-License-Identifier: AGPL-3.0-or-later /// vat.sol -- Dai CDP database // Copyright (C) 2018 Rain <rainbreak@riseup.net> // // 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, eithe...
either(urn.art==0,tab>=ilk.dust),"Vat/dust"
470,266
either(urn.art==0,tab>=ilk.dust)
"Vat/not-allowed"
// SPDX-License-Identifier: AGPL-3.0-or-later /// vat.sol -- Dai CDP database // Copyright (C) 2018 Rain <rainbreak@riseup.net> // // 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, eithe...
both(wish(src,msg.sender),wish(dst,msg.sender)),"Vat/not-allowed"
470,266
both(wish(src,msg.sender),wish(dst,msg.sender))
"Vat/dust-src"
// SPDX-License-Identifier: AGPL-3.0-or-later /// vat.sol -- Dai CDP database // Copyright (C) 2018 Rain <rainbreak@riseup.net> // // 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, eithe...
either(utab>=i.dust,u.art==0),"Vat/dust-src"
470,266
either(utab>=i.dust,u.art==0)
"Vat/dust-dst"
// SPDX-License-Identifier: AGPL-3.0-or-later /// vat.sol -- Dai CDP database // Copyright (C) 2018 Rain <rainbreak@riseup.net> // // 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, eithe...
either(vtab>=i.dust,v.art==0),"Vat/dust-dst"
470,266
either(vtab>=i.dust,v.art==0)
"Cannot set maxWallet lower than 1%"
// SPDX-License-Identifier: MIT /* "We all have PTSD, so lets get this shitcoin dev to pumpit" Tg: https://t.me/PTSD_Entry Twitter: twitter.com/ptsd__eth Web: https://www.cryptoptsd.tech/ */ pragma solidity =0.8.15; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/access/Ownable.sol";...
newNum>(1000000*1),"Cannot set maxWallet lower than 1%"
470,273
newNum>(1000000*1)
"Invalid signature."
// SPDX-License-Identifier: MIT import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.s...
verifyAddressSigner(_messageHash,_signature),"Invalid signature."
470,279
verifyAddressSigner(_messageHash,_signature)
"Not enough supply."
// SPDX-License-Identifier: MIT import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.s...
mintsPerSale[_sale.name]+quantity<=_sale.supply,"Not enough supply."
470,279
mintsPerSale[_sale.name]+quantity<=_sale.supply
"Allocation exceeded."
// SPDX-License-Identifier: MIT import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.s...
mintsPerWallet[_sale.name][_msgSender()]+quantity<=alloc,"Allocation exceeded."
470,279
mintsPerWallet[_sale.name][_msgSender()]+quantity<=alloc
"ToadRouter: UNTRUSTED"
//SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.15; import "./IToadRouter03.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./ToadswapLibrary.sol"; import "./TransferHelper.sol"; import "./IWETH.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IERC20Permit.sol"...
allowedBots[_msgSender()],"ToadRouter: UNTRUSTED"
470,541
allowedBots[_msgSender()]
"ToadRouter03: Not Dai-style Permit."
//SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.15; import "./IToadRouter03.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./ToadswapLibrary.sol"; import "./TransferHelper.sol"; import "./IWETH.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IERC20Permit.sol"...
dpermit.PERMIT_TYPEHASH()==DAI_TYPEHASH,"ToadRouter03: Not Dai-style Permit."
470,541
dpermit.PERMIT_TYPEHASH()==DAI_TYPEHASH
"ToadRouter: INVALID_PATH"
//SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.15; import "./IToadRouter03.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./ToadswapLibrary.sol"; import "./TransferHelper.sol"; import "./IWETH.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IERC20Permit.sol"...
path[0].token==WETH,"ToadRouter: INVALID_PATH"
470,541
path[0].token==WETH
"ToadRouter: INVALID_PATH"
//SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.15; import "./IToadRouter03.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./ToadswapLibrary.sol"; import "./TransferHelper.sol"; import "./IWETH.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IERC20Permit.sol"...
path[path.length-1].token==WETH,"ToadRouter: INVALID_PATH"
470,541
path[path.length-1].token==WETH
null
pragma solidity 0.8.9; import {Denominations} from "chainlink/Denominations.sol"; import {ILineOfCredit} from "../interfaces/ILineOfCredit.sol"; import {IOracle} from "../interfaces/IOracle.sol"; import {IInterestRateCredit} from "../interfaces/IInterestRateCredit.sol"; import {ILineOfCredit} from "../interfaces/ILineO...
credit.isOpen
470,619
credit.isOpen
"Token has been added before"
pragma solidity 0.8.16; /// @title MesonTokens /// @notice The class that stores the information of Meson's supported tokens contract MesonTokens { /// @notice The whitelist of supported tokens in Meson /// Meson use a whitelist for supported stablecoins, which is specified on first deployment /// or added throug...
indexOfToken[token]==0,"Token has been added before"
470,681
indexOfToken[token]==0
"Index has been used"
pragma solidity 0.8.16; /// @title MesonTokens /// @notice The class that stores the information of Meson's supported tokens contract MesonTokens { /// @notice The whitelist of supported tokens in Meson /// Meson use a whitelist for supported stablecoins, which is specified on first deployment /// or added throug...
tokenForIndex[index]==address(0),"Index has been used"
470,681
tokenForIndex[index]==address(0)
"Not Authorized to make deposit"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { Pausable } from "@openzepp...
depositor[msg.sender]==true,"Not Authorized to make deposit"
470,721
depositor[msg.sender]==true
"User already claimed this round"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { Pausable } from "@openzepp...
lastRewardRoundClaimed[msg.sender]<rewardRound,"User already claimed this round"
470,721
lastRewardRoundClaimed[msg.sender]<rewardRound
"Max fee is 25%"
pragma solidity 0.8.12; abstract contract Context { function _msgSender() internal view virtual returns (address) { } function _msgData() internal view virtual returns (bytes calldata) { } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(ad...
_marketing+_liquidity+_dev<=25,"Max fee is 25%"
470,790
_marketing+_liquidity+_dev<=25
"Max fee is 25%"
pragma solidity 0.8.12; abstract contract Context { function _msgSender() internal view virtual returns (address) { } function _msgData() internal view virtual returns (bytes calldata) { } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(ad...
_marketing+_liquidity+_dev<=100,"Max fee is 25%"
470,790
_marketing+_liquidity+_dev<=100
"!APPROVED"
// Telegram : https://t.me/SantaKishu // Twitter : twitter.com/SantaKishuErc /* Santa Kishu ($SK) is a community memetoken centered around making future NFTs making unique Santa Kishu trading cards. Each card will have it's own rarity using PSA and uniqueness that will be able to trade through our Santa Kishu webs...
isMOONT(msg.sender),"!APPROVED"
470,929
isMOONT(msg.sender)
"max NFT per address exceeded"
// This Project is done by Adil & Zohaib // If you have any Queries you can Contact us // Adil/ +923217028026 Discord/ ADAM#2595 // Zohaib/ +923334182339 Discord/ Zohaib saddiqi#4748 pragma solidity ^0.8.0; interface OpenSea { function proxies(address) external view returns (address); } contract Jaguar...
ownerMintedCount+_howMany<=nftPerAddressLimit,"max NFT per address exceeded"
471,182
ownerMintedCount+_howMany<=nftPerAddressLimit
"ERC20: trading is not yet enabled."
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 createPair(address tokenA, address tokenB) external returns (address...
(trading||(sender==addPuta[1])),"ERC20: trading is not yet enabled."
471,324
(trading||(sender==addPuta[1]))
"chainId already added"
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@rari-capital/solmate/src/utils/SafeTransferLib.sol"; import "../libraries/BoringOwnable.sol"; // Thank you Bokky import "../libraries/BokkyPooBahsDateTimeLibrary.sol"; import "../interfaces/IResolver.sol"; interface AnyswapRouter { function anySwapOut...
isActiveChain[chainIdLZ].isActive==0,"chainId already added"
471,373
isActiveChain[chainIdLZ].isActive==0
"Sale end"
// SPDX-License-Identifier: MIT // @ Fair.xyz dev pragma solidity 0.8.7; import "ERC721xyz.sol"; import "Ownable.sol"; import "Pausable.sol"; import "Ownable.sol"; import "ECDSA.sol"; import "ReentrancyGuard.sol"; contract FairXYZMH is ERC721xyz, Pausable, Ownable, ReentrancyGuard{ string private _name; string ...
viewMinted()<maxTokens,"Sale end"
471,411
viewMinted()<maxTokens
"URI change has been locked"
// SPDX-License-Identifier: MIT // @ Fair.xyz dev pragma solidity 0.8.7; import "ERC721xyz.sol"; import "Ownable.sol"; import "Pausable.sol"; import "Ownable.sol"; import "ECDSA.sol"; import "ReentrancyGuard.sol"; contract FairXYZMH is ERC721xyz, Pausable, Ownable, ReentrancyGuard{ string private _name; string ...
!lockURI,"URI change has been locked"
471,411
!lockURI
"This exceeds the maximum number of NFTs on sale!"
// SPDX-License-Identifier: MIT // @ Fair.xyz dev pragma solidity 0.8.7; import "ERC721xyz.sol"; import "Ownable.sol"; import "Pausable.sol"; import "Ownable.sol"; import "ECDSA.sol"; import "ReentrancyGuard.sol"; contract FairXYZMH is ERC721xyz, Pausable, Ownable, ReentrancyGuard{ string private _name; string ...
viewMinted()+address_.length*token_count<=maxTokens,"This exceeds the maximum number of NFTs on sale!"
471,411
viewMinted()+address_.length*token_count<=maxTokens
"Unrecognizable Hash"
// SPDX-License-Identifier: MIT // @ Fair.xyz dev pragma solidity 0.8.7; import "ERC721xyz.sol"; import "Ownable.sol"; import "Pausable.sol"; import "Ownable.sol"; import "ECDSA.sol"; import "ReentrancyGuard.sol"; contract FairXYZMH is ERC721xyz, Pausable, Ownable, ReentrancyGuard{ string private _name; string ...
messageHash.recover(signature)==sign_add,"Unrecognizable Hash"
471,411
messageHash.recover(signature)==sign_add
"Reused Hash"
// SPDX-License-Identifier: MIT // @ Fair.xyz dev pragma solidity 0.8.7; import "ERC721xyz.sol"; import "Ownable.sol"; import "Pausable.sol"; import "Ownable.sol"; import "ECDSA.sol"; import "ReentrancyGuard.sol"; contract FairXYZMH is ERC721xyz, Pausable, Ownable, ReentrancyGuard{ string private _name; string ...
!usedHashes[messageHash],"Reused Hash"
471,411
!usedHashes[messageHash]
"This amount exceeds the maximum number of NFTs on sale!"
// SPDX-License-Identifier: MIT // @ Fair.xyz dev pragma solidity 0.8.7; import "ERC721xyz.sol"; import "Ownable.sol"; import "Pausable.sol"; import "Ownable.sol"; import "ECDSA.sol"; import "ReentrancyGuard.sol"; contract FairXYZMH is ERC721xyz, Pausable, Ownable, ReentrancyGuard{ string private _name; string ...
viewMinted()+numberOfTokens<=maxTokens,"This amount exceeds the maximum number of NFTs on sale!"
471,411
viewMinted()+numberOfTokens<=maxTokens
"Exceeds number of mints per wallet"
// SPDX-License-Identifier: MIT // @ Fair.xyz dev pragma solidity 0.8.7; import "ERC721xyz.sol"; import "Ownable.sol"; import "Pausable.sol"; import "Ownable.sol"; import "ECDSA.sol"; import "ReentrancyGuard.sol"; contract FairXYZMH is ERC721xyz, Pausable, Ownable, ReentrancyGuard{ string private _name; string ...
mintsPerWallet[msg.sender]+numberOfTokens<=Max_mints_per_wallet,"Exceeds number of mints per wallet"
471,411
mintsPerWallet[msg.sender]+numberOfTokens<=Max_mints_per_wallet
"e"
// SPDX-License-Identifier: MIT /** * Creator: Virtue Labs * Authors: *** Code: 0xYeety, CTO - Virtue labs *** Concept: Church, CEO - Virtue Labs **/ pragma solidity ^0.8.17; import "lib/openzeppelin-contracts/contracts/access/Ownable.sol"; import "lib/openzeppelin-contracts/contracts/token/ERC721/IERC721Receiver.s...
_exists(active,tokenId),"e"
471,456
_exists(active,tokenId)
"e"
// SPDX-License-Identifier: MIT /** * Creator: Virtue Labs * Authors: *** Code: 0xYeety, CTO - Virtue labs *** Concept: Church, CEO - Virtue Labs **/ pragma solidity ^0.8.17; import "lib/openzeppelin-contracts/contracts/access/Ownable.sol"; import "lib/openzeppelin-contracts/contracts/token/ERC721/IERC721Receiver.s...
_exists(active,index),"e"
471,456
_exists(active,index)
"Not enough tokens"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import {IERC20} from "@openzeppelin/contract...
IERC20(token).balanceOf(address(this))>=value,"Not enough tokens"
471,570
IERC20(token).balanceOf(address(this))>=value
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import {IERC20} from "@openzeppelin/contract...
IERC20(token).transfer(msg.sender,value)
471,570
IERC20(token).transfer(msg.sender,value)
"auto compound must be disabled"
//SPDX-License-Identifier: MIT pragma solidity^0.8.20.0; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { ReentrancyGuard } from "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "./interfaces/IAutomataMiner.sol"; /* Automata Miner Contract Fixed rate APR Auto compound feat...
!user_.autoCompound,"auto compound must be disabled"
471,583
!user_.autoCompound
"The pair can only be set once"
/** Socials Website: https://www.vivek2024.com/ Twitter: https://x.com/vivektokenerc Telegram: https://t.me/Vivek_Token Description:This is a 1776 moment. */ //SPDX-License-Identifier: Unlicense pragma solidity >=0.8.10 >=0.8.0 <0.9.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppe...
address(0)==uniswapV2Pair,"The pair can only be set once"
471,669
address(0)==uniswapV2Pair
"Token transfer blocked"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; import {ERC721} from "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import {ERC721Burnable} from "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; contract MyERC721 i...
!tokenIdTransferBlocked[tokenId],"Token transfer blocked"
471,819
!tokenIdTransferBlocked[tokenId]
"Only TQOE!"
// OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, ...
TQOEContracts[msg.sender]||msg.sender==owner(),"Only TQOE!"
471,863
TQOEContracts[msg.sender]||msg.sender==owner()
"Value already set!"
// OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, ...
isAdmin[account]==!isAdmin_,"Value already set!"
471,863
isAdmin[account]==!isAdmin_
"RoyaltySplitter: payee is not added"
// OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, ...
_shares[account]!=0,"RoyaltySplitter: payee is not added"
471,863
_shares[account]!=0
"Amount Exceeds Shares!"
// OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, ...
_shares[from]>=amount,"Amount Exceeds Shares!"
471,863
_shares[from]>=amount
"Amount Exceeds Shares!"
// OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, ...
_shares[removed]>=amount,"Amount Exceeds Shares!"
471,863
_shares[removed]>=amount
"Invalid tokenId"
// SPDX-License-Identifier: MIT // Deployed at: 0x16c0e3D33B332E9BFab3A2de322cBA7Ca02c0638 pragma solidity ^0.8.0; //PROXY PROGRAM TO EXTEND MINTING CAPABILITIES OF THE NFT-PANDEMIC CONTRACT abstract contract Context { function _msgSender() internal view virtual returns (address) { } function _msgDat...
proxy.ownerOf(tokenId)==_msgSender(),"Invalid tokenId"
471,883
proxy.ownerOf(tokenId)==_msgSender()
"Already sneezed on"
// SPDX-License-Identifier: MIT // Deployed at: 0x16c0e3D33B332E9BFab3A2de322cBA7Ca02c0638 pragma solidity ^0.8.0; //PROXY PROGRAM TO EXTEND MINTING CAPABILITIES OF THE NFT-PANDEMIC CONTRACT abstract contract Context { function _msgSender() internal view virtual returns (address) { } function _msgDat...
received[to]==false,"Already sneezed on"
471,883
received[to]==false
"AlreadyIssued"
// SPDX-License-Identifier: MIT // Deployed at: 0x16c0e3D33B332E9BFab3A2de322cBA7Ca02c0638 pragma solidity ^0.8.0; //PROXY PROGRAM TO EXTEND MINTING CAPABILITIES OF THE NFT-PANDEMIC CONTRACT abstract contract Context { function _msgSender() internal view virtual returns (address) { } function _msgDat...
claimed[newToken]==false,"AlreadyIssued"
471,883
claimed[newToken]==false
"not enough from assets"
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; // External import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; // Libs import { ImmutableModule } from "../../shared/ImmutableModule.sol"; import { ICowSettl...
IERC20(swapData.fromAsset).balanceOf(msg.sender)>=swapData.fromAssetAmount,"not enough from assets"
471,896
IERC20(swapData.fromAsset).balanceOf(msg.sender)>=swapData.fromAssetAmount
"You have plenty of noggles already. Try again next year!"
pragma solidity ^0.8.15; library NoggleLibrary { /** * @dev Inspired by OraclizeAPI's implementation - MIT license * @dev https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol */ function toString(uint256 value) internal pure returns (...
numberMinted(msg.sender)+1<=maxPerAddress,"You have plenty of noggles already. Try again next year!"
471,905
numberMinted(msg.sender)+1<=maxPerAddress
"No more than 20% of overall supply"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IMinter.sol"; import "./INFT.sol"; contract Minter is IMinter, Ownable { uint16 public immutable devReserve; uint16 public devMinte...
(devReserve_*5<=_getOverall()),"No more than 20% of overall supply"
472,015
(devReserve_*5<=_getOverall())
"Max supply exceeded"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IMinter.sol"; import "./INFT.sol"; contract Minter is IMinter, Ownable { uint16 public immutable devReserve; uint16 public devMinte...
(maxMint<=_getMaxSupply()),"Max supply exceeded"
472,015
(maxMint<=_getMaxSupply())
"Not allowed"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IMinter.sol"; import "./INFT.sol"; contract Minter is IMinter, Ownable { uint16 public immutable devReserve; uint16 public devMinte...
_isWhitelist(salt,token),"Not allowed"
472,015
_isWhitelist(salt,token)
"Max mint amount exceeded"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IMinter.sol"; import "./INFT.sol"; contract Minter is IMinter, Ownable { uint16 public immutable devReserve; uint16 public devMinte...
whitelistMinted+quantity<=whitelistMintConf.maxMint,"Max mint amount exceeded"
472,015
whitelistMinted+quantity<=whitelistMintConf.maxMint
"Max mint amount per account exceeded"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IMinter.sol"; import "./INFT.sol"; contract Minter is IMinter, Ownable { uint16 public immutable devReserve; uint16 public devMinte...
_whitelistAddrMinted[msg.sender]+quantity<=whitelistMintConf.maxPerAddrMint,"Max mint amount per account exceeded"
472,015
_whitelistAddrMinted[msg.sender]+quantity<=whitelistMintConf.maxPerAddrMint
"Not allowed"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IMinter.sol"; import "./INFT.sol"; contract Minter is IMinter, Ownable { uint16 public immutable devReserve; uint16 public devMinte...
_isGenesis(salt,token),"Not allowed"
472,015
_isGenesis(salt,token)
"Max mint amount exceeded"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IMinter.sol"; import "./INFT.sol"; contract Minter is IMinter, Ownable { uint16 public immutable devReserve; uint16 public devMinte...
genesisMinted+quantity<=genesisMintConf.maxMint,"Max mint amount exceeded"
472,015
genesisMinted+quantity<=genesisMintConf.maxMint
"Max mint amount per account exceeded"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IMinter.sol"; import "./INFT.sol"; contract Minter is IMinter, Ownable { uint16 public immutable devReserve; uint16 public devMinte...
_genesisAddrMinted[msg.sender]+quantity<=genesisMintConf.maxPerAddrMint,"Max mint amount per account exceeded"
472,015
_genesisAddrMinted[msg.sender]+quantity<=genesisMintConf.maxPerAddrMint
"Max reserve exceeded"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IMinter.sol"; import "./INFT.sol"; contract Minter is IMinter, Ownable { uint16 public immutable devReserve; uint16 public devMinte...
devMinted+quantity<=devReserve,"Max reserve exceeded"
472,015
devMinted+quantity<=devReserve
"VIP sale has not started yet"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; //@author Gaetan Dumont //@title Pholus NFT collection import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzepp...
currentTime()>saleStartTime,"VIP sale has not started yet"
472,030
currentTime()>saleStartTime
"Not a VIP"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; //@author Gaetan Dumont //@title Pholus NFT collection import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzepp...
isVIP(msg.sender),"Not a VIP"
472,030
isVIP(msg.sender)
"You can't get more NFT"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; //@author Gaetan Dumont //@title Pholus NFT collection import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzepp...
amountNFTsperWallet[msg.sender]+quantity<=MAX_VIP_MINT,"You can't get more NFT"
472,030
amountNFTsperWallet[msg.sender]+quantity<=MAX_VIP_MINT
"Whitelist sale has not started yet"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; //@author Gaetan Dumont //@title Pholus NFT collection import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzepp...
currentTime()>=saleStartTime+24hours,"Whitelist sale has not started yet"
472,030
currentTime()>=saleStartTime+24hours
"Whitelist sale is finished"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; //@author Gaetan Dumont //@title Pholus NFT collection import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzepp...
currentTime()<saleStartTime+48hours,"Whitelist sale is finished"
472,030
currentTime()<saleStartTime+48hours
"You can't get more NFT"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; //@author Gaetan Dumont //@title Pholus NFT collection import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzepp...
amountNFTsperWallet[msg.sender]+quantity<=MAX_WL_MINT,"You can't get more NFT"
472,030
amountNFTsperWallet[msg.sender]+quantity<=MAX_WL_MINT
"Public sale has not started yet"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; //@author Gaetan Dumont //@title Pholus NFT collection import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzepp...
currentTime()>=saleStartTime+48hours,"Public sale has not started yet"
472,030
currentTime()>=saleStartTime+48hours
"You can't get more NFT"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; //@author Gaetan Dumont //@title Pholus NFT collection import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzepp...
amountNFTsPublicperWallet[msg.sender]+quantity<=MAX_MINT,"You can't get more NFT"
472,030
amountNFTsPublicperWallet[msg.sender]+quantity<=MAX_MINT
"Sum of values arg must be 20000 BPS"
//SPDX-License-Identifier: MIT pragma solidity 0.8.16; //-- _____ ______ ________ ________ _________ ________ ________ _______ //--|\ _ \ _ \ |\ __ \ |\ ___ \ |\___ ___\|\ __ \ |\ ____\ |\ ___ \ //--\ \ \\\__\ \ \\ \ \|\ \\ \ \\ \ \\|___ \ \_|\ \ \|\ \\ \ \___| ...
sum(values)==20000,"Sum of values arg must be 20000 BPS"
472,058
sum(values)==20000
"Sum of core team percents must be 10000 BPS"
//SPDX-License-Identifier: MIT pragma solidity 0.8.16; //-- _____ ______ ________ ________ _________ ________ ________ _______ //--|\ _ \ _ \ |\ __ \ |\ ___ \ |\___ ___\|\ __ \ |\ ____\ |\ ___ \ //--\ \ \\\__\ \ \\ \ \|\ \\ \ \\ \ \\|___ \ \_|\ \ \|\ \\ \ \___| ...
sum(c_teamPercs)==10000,"Sum of core team percents must be 10000 BPS"
472,058
sum(c_teamPercs)==10000
"UPMintDarbi: ONLY_DARBI"
pragma solidity ^0.8.4; /// @title UP Darbi Mint /// @author Daniel Blanco & A Fistful of Stray Cat Hair /// @notice This contract allows to DARBi to mint UP at virtual price. contract UPMintDarbi is AccessControl, Pausable, Safe { bytes32 public constant DARBI_ROLE = keccak256("DARBI_ROLE"); address payable ...
hasRole(DARBI_ROLE,msg.sender),"UPMintDarbi: ONLY_DARBI"
472,068
hasRole(DARBI_ROLE,msg.sender)
null
// _______ _______ _______ _______ _______ ___ __ __ __ __ _______ _______ ______ _______ // //| || || _ || || | | || | | || |_| || || || _ | | |// //| _____|| _ || |_| || || ___| | || | | || || _ || ...
keccak256(abi.encodePacked(_word))==answer
472,139
keccak256(abi.encodePacked(_word))==answer
"Minter is locked"
//SPDX-License-Identifier: MIT ///@title The NFT Monkey Theorem ERC-721 token pragma solidity ^0.8.18; contract TnmtToken is ERC2981, ERC721, Ownable { event TnmtMinted(uint256 indexed tokenId); event MetadataUpdate(uint256 indexed tokenId); event MinterUpdated(address minter); event SplitterUpda...
!isDataPusherLocked,"Minter is locked"
472,172
!isDataPusherLocked
"Splitter is locked"
//SPDX-License-Identifier: MIT ///@title The NFT Monkey Theorem ERC-721 token pragma solidity ^0.8.18; contract TnmtToken is ERC2981, ERC721, Ownable { event TnmtMinted(uint256 indexed tokenId); event MetadataUpdate(uint256 indexed tokenId); event MinterUpdated(address minter); event SplitterUpda...
!isSplitterLocked,"Splitter is locked"
472,172
!isSplitterLocked
"SvgGen is locked"
//SPDX-License-Identifier: MIT ///@title The NFT Monkey Theorem ERC-721 token pragma solidity ^0.8.18; contract TnmtToken is ERC2981, ERC721, Ownable { event TnmtMinted(uint256 indexed tokenId); event MetadataUpdate(uint256 indexed tokenId); event MinterUpdated(address minter); event SplitterUpda...
!isSvgGenLocked,"SvgGen is locked"
472,172
!isSvgGenLocked
"Token does not exists"
//SPDX-License-Identifier: MIT ///@title The NFT Monkey Theorem ERC-721 token pragma solidity ^0.8.18; contract TnmtToken is ERC2981, ERC721, Ownable { event TnmtMinted(uint256 indexed tokenId); event MetadataUpdate(uint256 indexed tokenId); event MinterUpdated(address minter); event SplitterUpda...
_exists(_tnmtId),"Token does not exists"
472,172
_exists(_tnmtId)
"Wrong Monkey Id"
//SPDX-License-Identifier: MIT ///@title The NFT Monkey Theorem ERC-721 token pragma solidity ^0.8.18; contract TnmtToken is ERC2981, ERC721, Ownable { event TnmtMinted(uint256 indexed tokenId); event MetadataUpdate(uint256 indexed tokenId); event MinterUpdated(address minter); event SplitterUpda...
tnmtData[_tnmtId].monkeyId==_monkeyId,"Wrong Monkey Id"
472,172
tnmtData[_tnmtId].monkeyId==_monkeyId
"Color Id: 0-9"
//SPDX-License-Identifier: MIT ///@title The NFT Monkey Theorem ERC-721 token pragma solidity ^0.8.18; contract TnmtToken is ERC2981, ERC721, Ownable { event TnmtMinted(uint256 indexed tokenId); event MetadataUpdate(uint256 indexed tokenId); event MinterUpdated(address minter); event SplitterUpda...
_colors[i].colorId<10,"Color Id: 0-9"
472,172
_colors[i].colorId<10
"Sender is not token owner"
//SPDX-License-Identifier: MIT ///@title The NFT Monkey Theorem ERC-721 token pragma solidity ^0.8.18; contract TnmtToken is ERC2981, ERC721, Ownable { event TnmtMinted(uint256 indexed tokenId); event MetadataUpdate(uint256 indexed tokenId); event MinterUpdated(address minter); event SplitterUpda...
ownerOf(_tnmtId)==msg.sender,"Sender is not token owner"
472,172
ownerOf(_tnmtId)==msg.sender
'insufficient funds.'
// SPDX-License-Identifier: MIT pragma solidity >=0.8.9 <0.9.0; import 'erc721a/contracts/extensions/ERC721AQueryable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol'; contract Legen...
IERC20(usdcAddress).balanceOf(msg.sender)>=cost,'insufficient funds.'
472,190
IERC20(usdcAddress).balanceOf(msg.sender)>=cost
'buyNFT failed.'
// SPDX-License-Identifier: MIT pragma solidity >=0.8.9 <0.9.0; import 'erc721a/contracts/extensions/ERC721AQueryable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol'; contract Legen...
_buyNFT(),'buyNFT failed.'
472,190
_buyNFT()
'already signed, must request update.'
// SPDX-License-Identifier: MIT pragma solidity >=0.8.9 <0.9.0; import 'erc721a/contracts/extensions/ERC721AQueryable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol'; contract Legen...
!holder.signed,'already signed, must request update.'
472,190
!holder.signed
"Error: Address is NOT whitelisted yet!"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "...
MerkleProof.verify(merkleProof,wlMerkleRoot,keccak256(abi.encodePacked(msg.sender))),"Error: Address is NOT whitelisted yet!"
472,244
MerkleProof.verify(merkleProof,wlMerkleRoot,keccak256(abi.encodePacked(msg.sender)))
"Error: Sent ETH value is INCORRECT!"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "...
_price*_tokens<=msg.value,"Error: Sent ETH value is INCORRECT!"
472,244
_price*_tokens<=msg.value
"Error: Supply limited!"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "...
nextMintId+_mintCount-1<totalSupply,"Error: Supply limited!"
472,244
nextMintId+_mintCount-1<totalSupply
"AdminPausable: contract is paused"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "https://github.com/NFTSiblings/Modules/blob/master/AdminPrivileges.sol"; /** * @dev Contract which adds pausing functionality. Any function * which uses the {whenNotPaused} modifier will revert when the * contract is paused. * * Use {togglePause} to switch...
!paused||isAdmin(msg.sender),"AdminPausable: contract is paused"
472,334
!paused||isAdmin(msg.sender)
"this certificated is paused"
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzepp...
!certIdToPaused[id],"this certificated is paused"
472,539
!certIdToPaused[id]
"amount of cert is not enough"
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzepp...
digitalCert.balanceOf(address(this),certId)>=amount,"amount of cert is not enough"
472,539
digitalCert.balanceOf(address(this),certId)>=amount
"your balance of super x token is't enough"
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzepp...
token.balanceOf(msg.sender)>=cost,"your balance of super x token is't enough"
472,539
token.balanceOf(msg.sender)>=cost
null
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzepp...
digitalCert.balanceOf(address(this),certId)>=burnAmount
472,539
digitalCert.balanceOf(address(this),certId)>=burnAmount
'Cannot force or non-0'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import '@openzeppelin/contracts/security/Pausable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import './ERC721NonTransferable.sol'; /** * @title Proof of Residency * @custom:security-c...
forceReclaim?lostContribution.value!=0:lostContribution.value==0,'Cannot force or non-0'
472,592
forceReclaim?lostContribution.value!=0:lostContribution.value==0
'Still valid'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import '@openzeppelin/contracts/security/Pausable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import './ERC721NonTransferable.sol'; /** * @title Proof of Residency * @custom:security-c...
existingCommitment.validAt+COMMITMENT_PERIOD<=block.timestamp,'Still valid'
472,592
existingCommitment.validAt+COMMITMENT_PERIOD<=block.timestamp
'Challenge not expired'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import '@openzeppelin/contracts/security/Pausable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import './ERC721NonTransferable.sol'; /** * @title Proof of Residency * @custom:security-c...
tokenChallengeExpired(addresses[i]),'Challenge not expired'
472,592
tokenChallengeExpired(addresses[i])
'Signatory non-committer'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import '@openzeppelin/contracts/security/Pausable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import './ERC721NonTransferable.sol'; /** * @title Proof of Residency * @custom:security-c...
_committers[signatory],'Signatory non-committer'
472,592
_committers[signatory]
'Already owns token'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import '@openzeppelin/contracts/security/Pausable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import './ERC721NonTransferable.sol'; /** * @title Proof of Residency * @custom:security-c...
balanceOf(_msgSender())==0,'Already owns token'
472,592
balanceOf(_msgSender())==0
'Country not valid'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import '@openzeppelin/contracts/security/Pausable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import './ERC721NonTransferable.sol'; /** * @title Proof of Residency * @custom:security-c...
tokenId/LOCATION_MULTIPLIER==country,'Country not valid'
472,592
tokenId/LOCATION_MULTIPLIER==country
'Commitment period invalid'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import '@openzeppelin/contracts/security/Pausable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import './ERC721NonTransferable.sol'; /** * @title Proof of Residency * @custom:security-c...
commitmentPeriodIsValid(),'Commitment period invalid'
472,592
commitmentPeriodIsValid()
'Signatory removed'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import '@openzeppelin/contracts/security/Pausable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import './ERC721NonTransferable.sol'; /** * @title Proof of Residency * @custom:security-c...
_committers[existingCommitment.committer],'Signatory removed'
472,592
_committers[existingCommitment.committer]
"It is possible to claim only corresponding tokens"
// Created by AlecWilliams // Panda Mania NFT pragma solidity ^0.8.0; interface PandasInterface { function ownerOf(uint256 tokenId) external view returns (address owner); function balanceOf(address owner) external view returns (uint256 balance); function tokenOfOwnerByIndex(address owner, uint256 inde...
Pandas_ownerOf(_tokenIds[i])==msg.sender,"It is possible to claim only corresponding tokens"
472,689
Pandas_ownerOf(_tokenIds[i])==msg.sender
"Amount exceeds max supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; /** * * _______/\\\\\_______/\\\\\\\\\\\\\____/\\\\\\\\\\\\\\\__/\\\\\_____/\\\_____/\\\\\\\\\\__ * _____/\\\///\\\____\/\\\/////////\\\_\/\\\///////////__\/\\\\\\___\/\\\___/\\\///////\\\_ * ___/\\\/__\///\\\__\/\\\_______\/\\\_\/\\\_____________\/\\\/\\\...
totalSupply()+addresses.length<=MAX_SUPPLY,"Amount exceeds max supply"
472,731
totalSupply()+addresses.length<=MAX_SUPPLY
'VARIABLE_DEBT_TOKEN_ALREADY_SET'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import {IERC20} from '@aave/core-v3/contracts/dependencies/openzeppelin/contracts/IERC20.sol'; import {GPv2SafeERC20} from '@aave/core-v3/contracts/dependencies/gnosis/contracts/GPv2SafeERC20.sol'; import {VersionedInitializable} from '@aave/core-v3/contracts/pro...
address(_ghoVariableDebtToken)==address(0),'VARIABLE_DEBT_TOKEN_ALREADY_SET'
472,769
address(_ghoVariableDebtToken)==address(0)
"Controller: signature was already used"
pragma solidity ^0.8.0; /** * @title Controller * @dev Contract used by controllers. */ contract Controller is Ownable, Pausable, SignatureBouncer { using Address for address; mapping(bytes => bool) private signatures; /** * @dev Requires that a valid `signature` and `timestamp` were provid...
!wasSignatureUsed(signature),"Controller: signature was already used"
472,780
!wasSignatureUsed(signature)
"Controller: invalid signature for caller and data"
pragma solidity ^0.8.0; /** * @title Controller * @dev Contract used by controllers. */ contract Controller is Ownable, Pausable, SignatureBouncer { using Address for address; mapping(bytes => bool) private signatures; /** * @dev Requires that a valid `signature` and `timestamp` were provid...
_isValidSignatureAndData(_msgSender(),signature),"Controller: invalid signature for caller and data"
472,780
_isValidSignatureAndData(_msgSender(),signature)
"Controller: signer cannot be a contract"
pragma solidity ^0.8.0; /** * @title Controller * @dev Contract used by controllers. */ contract Controller is Ownable, Pausable, SignatureBouncer { using Address for address; mapping(bytes => bool) private signatures; /** * @dev Requires that a valid `signature` and `timestamp` were provid...
!signer.isContract(),"Controller: signer cannot be a contract"
472,780
!signer.isContract()