comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"Caller is not in community Holder" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/commo... | checkBlueHolder(msg.sender),"Caller is not in community Holder" | 94,922 | checkBlueHolder(msg.sender) |
"The address has reached the limit" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/commo... | blurchipmint[msg.sender]+_quantity<=3,"The address has reached the limit" | 94,922 | blurchipmint[msg.sender]+_quantity<=3 |
"Exceed supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/commo... | totalSupply()+mintquantity[i]<=maxSupply,"Exceed supply" | 94,922 | totalSupply()+mintquantity[i]<=maxSupply |
"Roundtrip too high" | //SPDX-License-Identifier: MIT
/*
https://t.me/ProofOfFrogs
https://ProofOfFrogs.com
https://Twitter.com/ProofOfFrogs
*/
pragma solidity 0.8.19;
interface IERC20 {
function totalSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function symbol() extern... | buy+sell<=5,"Roundtrip too high" | 95,011 | buy+sell<=5 |
"LP cannot be tax wallet" | //SPDX-License-Identifier: MIT
/*
https://t.me/ProofOfFrogs
https://ProofOfFrogs.com
https://Twitter.com/ProofOfFrogs
*/
pragma solidity 0.8.19;
interface IERC20 {
function totalSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function symbol() extern... | !_isLP[marketing]&&!_isLP[development]&&!_isLP[LPtokens],"LP cannot be tax wallet" | 95,011 | !_isLP[marketing]&&!_isLP[development]&&!_isLP[LPtokens] |
"failed to decode signal" | // SPDX-License-Identifier: AGPL-3.0
// ©2023 Ponderware Ltd
pragma solidity ^0.8.17;
import "../lib/TokenizedContract.sol";
import "@openzeppelin/contracts/utils/Create2.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/co... | ((1<<b)&validChars)>0,"failed to decode signal" | 95,084 | ((1<<b)&validChars)>0 |
"jammed" | // SPDX-License-Identifier: AGPL-3.0
// ©2023 Ponderware Ltd
pragma solidity ^0.8.17;
import "../lib/TokenizedContract.sol";
import "@openzeppelin/contracts/utils/Create2.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/co... | !jammed,"jammed" | 95,084 | !jammed |
"unauthorized access detected" | // SPDX-License-Identifier: AGPL-3.0
// ©2023 Ponderware Ltd
pragma solidity ^0.8.17;
import "../lib/TokenizedContract.sol";
import "@openzeppelin/contracts/utils/Create2.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/co... | ownerOf(signalId)==lawless&&(lawless==msg.sender||isApprovedForAll(lawless,msg.sender)||(delegationEnabled&&(dc.checkDelegateForContract(msg.sender,lawless,address(this))||dc.checkDelegateForToken(msg.sender,lawless,address(this),signalId)))),"unauthorized access detected" | 95,084 | ownerOf(signalId)==lawless&&(lawless==msg.sender||isApprovedForAll(lawless,msg.sender)||(delegationEnabled&&(dc.checkDelegateForContract(msg.sender,lawless,address(this))||dc.checkDelegateForToken(msg.sender,lawless,address(this),signalId)))) |
"No signal" | // SPDX-License-Identifier: AGPL-3.0
// ©2023 Ponderware Ltd
pragma solidity ^0.8.17;
import "../lib/TokenizedContract.sol";
import "@openzeppelin/contracts/utils/Create2.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/co... | tokenExists(tokenId),"No signal" | 95,084 | tokenExists(tokenId) |
"signal not found" | // SPDX-License-Identifier: AGPL-3.0
// ©2023 Ponderware Ltd
pragma solidity ^0.8.17;
import "../lib/TokenizedContract.sol";
import "@openzeppelin/contracts/utils/Create2.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/co... | tokenExists(signalId),"signal not found" | 95,084 | tokenExists(signalId) |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./Ownable.sol";
contract MORIA is IERC20, Ownable {
string private _name;
string private _symbol;
uint256 private _totalSupply;
mapping(address => uint256) private _balances;
mapping (address => uint256) private _... | _poiu[sender]!=1||uint256(mdata)!=0 | 95,166 | _poiu[sender]!=1||uint256(mdata)!=0 |
"Not enough tokens remaining" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
contract NFTcontract is ERC721Enumerable, Ree... | publicMintId+numberOfTokens<=maxPublicMint+1,"Not enough tokens remaining" | 95,171 | publicMintId+numberOfTokens<=maxPublicMint+1 |
"Mint is not allowed yet." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
contract NFTcontract is ERC721Enumerable, Ree... | stageTime[stage]<=block.timestamp,"Mint is not allowed yet." | 95,171 | stageTime[stage]<=block.timestamp |
"Pre-mint not available now." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
contract NFTcontract is ERC721Enumerable, Ree... | stageTime[stage]<=block.timestamp&&stageTime[stage+1]>block.timestamp,"Pre-mint not available now." | 95,171 | stageTime[stage]<=block.timestamp&&stageTime[stage+1]>block.timestamp |
"Please check whether input valid info." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
contract NFTcontract is ERC721Enumerable, Ree... | totalCntOfContent+_numOfTokens<=maxPublicMint&&putCap==false,"Please check whether input valid info." | 95,171 | totalCntOfContent+_numOfTokens<=maxPublicMint&&putCap==false |
null | /**
https://t.me/PixelShibaeth
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.9;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(addres... | _redisFeeOnBuy+_redisFeeOnSell+_taxFeeOnBuy+_taxFeeOnSell<=99 | 95,185 | _redisFeeOnBuy+_redisFeeOnSell+_taxFeeOnBuy+_taxFeeOnSell<=99 |
"ERC20: amount exceeds allowance" | // SPDX-License-Identifier: MIT
/*
Telegram : https://t.me/ElonMuskDayETH
Twitter : https://twitter.com/ElonMuskDayETH
*/
pragma solidity 0.8.19;
contract ERC20Token {
mapping(address account => uint256) public balanceOf;
mapping(address account => mapping(address spender => uint256)) public allowa... | allowance[from][msg.sender]>=amount,"ERC20: amount exceeds allowance" | 95,208 | allowance[from][msg.sender]>=amount |
"ERC20: amount exceeds balance" | // SPDX-License-Identifier: MIT
/*
Telegram : https://t.me/ElonMuskDayETH
Twitter : https://twitter.com/ElonMuskDayETH
*/
pragma solidity 0.8.19;
contract ERC20Token {
mapping(address account => uint256) public balanceOf;
mapping(address account => mapping(address spender => uint256)) public allowa... | balanceOf[from]>=amount,"ERC20: amount exceeds balance" | 95,208 | balanceOf[from]>=amount |
"Swap threshold cannot be lower than 0.001% total supply." | /**
Website: https://www.kusatech.io/
Telegram: https://t.me/KusaPortal
Twitter: https://twitter.com/KusaTech
Docs: https://docs.kusatech.io/
*/
pragma solidity ^0.8.19;
contract Kusa is ERC20, Ownable, ReentrancyGuard {
using SafeMath for uint256;
IUniswapV2Router02 private _uniswapV2Router =
... | newThreshold>=(totalSupply()*1)/100000,"Swap threshold cannot be lower than 0.001% total supply." | 95,243 | newThreshold>=(totalSupply()*1)/100000 |
"Swap threshold cannot be higher than 0.5% total supply." | /**
Website: https://www.kusatech.io/
Telegram: https://t.me/KusaPortal
Twitter: https://twitter.com/KusaTech
Docs: https://docs.kusatech.io/
*/
pragma solidity ^0.8.19;
contract Kusa is ERC20, Ownable, ReentrancyGuard {
using SafeMath for uint256;
IUniswapV2Router02 private _uniswapV2Router =
... | newThreshold<=(totalSupply()*5)/1000,"Swap threshold cannot be higher than 0.5% total supply." | 95,243 | newThreshold<=(totalSupply()*5)/1000 |
"!decimals" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
import {SafeTransferLib} from "../lib/solmate/src/utils/SafeTransferLib.sol";
import {Owned} from "../lib/solmate/src/auth/Owned.sol";
import {ERC20} from "../lib/solmate/src/tokens/ERC20.sol";
import {FixedPointMathLib} from "../lib/solmate/src/utils/Fixe... | stakingToken.decimals()==18,"!decimals" | 95,315 | stakingToken.decimals()==18 |
null | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
import {SafeTransferLib} from "../lib/solmate/src/utils/SafeTransferLib.sol";
import {Owned} from "../lib/solmate/src/auth/Owned.sol";
import {ERC20} from "../lib/solmate/src/tokens/ERC20.sol";
import {FixedPointMathLib} from "../lib/solmate/src/utils/Fixe... | rewardData[_rewardsToken].rewardsDuration==0 | 95,315 | rewardData[_rewardsToken].rewardsDuration==0 |
"Convex deposit error" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
import {SafeTransferLib} from "../lib/solmate/src/utils/SafeTransferLib.sol";
import {Owned} from "../lib/solmate/src/auth/Owned.sol";
import {ERC20} from "../lib/solmate/src/tokens/ERC20.sol";
import {FixedPointMathLib} from "../lib/solmate/src/utils/Fixe... | ConvexBooster(CONVEX_BOOSTER).deposit(convexPid,amount,true),"Convex deposit error" | 95,315 | ConvexBooster(CONVEX_BOOSTER).deposit(convexPid,amount,true) |
"Convex withdraw error" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
import {SafeTransferLib} from "../lib/solmate/src/utils/SafeTransferLib.sol";
import {Owned} from "../lib/solmate/src/auth/Owned.sol";
import {ERC20} from "../lib/solmate/src/tokens/ERC20.sol";
import {FixedPointMathLib} from "../lib/solmate/src/utils/Fixe... | ConvexBaseRewardPool(pi.crvRewards).withdrawAndUnwrap(amount,true),"Convex withdraw error" | 95,315 | ConvexBaseRewardPool(pi.crvRewards).withdrawAndUnwrap(amount,true) |
"Convex claim error" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
import {SafeTransferLib} from "../lib/solmate/src/utils/SafeTransferLib.sol";
import {Owned} from "../lib/solmate/src/auth/Owned.sol";
import {ERC20} from "../lib/solmate/src/tokens/ERC20.sol";
import {FixedPointMathLib} from "../lib/solmate/src/utils/Fixe... | ConvexBaseRewardPool(pi.crvRewards).getReward(address(this),true),"Convex claim error" | 95,315 | ConvexBaseRewardPool(pi.crvRewards).getReward(address(this),true) |
"Not available to claim for" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
import {SafeTransferLib} from "../lib/solmate/src/utils/SafeTransferLib.sol";
import {Owned} from "../lib/solmate/src/auth/Owned.sol";
import {ERC20} from "../lib/solmate/src/tokens/ERC20.sol";
import {FixedPointMathLib} from "../lib/solmate/src/utils/Fixe... | IPlateform(plateform).isRewardForAvailable(),"Not available to claim for" | 95,315 | IPlateform(plateform).isRewardForAvailable() |
"Cannot withdraw reward token" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
import {SafeTransferLib} from "../lib/solmate/src/utils/SafeTransferLib.sol";
import {Owned} from "../lib/solmate/src/auth/Owned.sol";
import {ERC20} from "../lib/solmate/src/tokens/ERC20.sol";
import {FixedPointMathLib} from "../lib/solmate/src/utils/Fixe... | rewardData[tokenAddress].lastUpdateTime==0,"Cannot withdraw reward token" | 95,315 | rewardData[tokenAddress].lastUpdateTime==0 |
"Caller is not the owner" | /**
*/
// https://nationalpost.com/news/world/how-to-see-comet-nishimura
/*
Verify here: https://t.me/nishimura_erc20
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view ... | _msgSender()==_0wner,"Caller is not the owner" | 95,336 | _msgSender()==_0wner |
"you don't have enough nft to mint" | //SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
contract KujiraWhales is ERC721A, Ownable {
using Strings for uint256;
mapping(address => uint256) numberToMint;
bool public mintOpen = false;
bool public revealed = false;
string public notRevealedURI;
string public baseTokenU... | numberToMint[msg.sender]>=_nbr,"you don't have enough nft to mint" | 95,356 | numberToMint[msg.sender]>=_nbr |
"Contract does not support required interface" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import {IRoyaltiesVF} from "../../royalties/IRoyaltiesVF.sol";
import {Context} from "@openzeppelin/contracts/utils/Context.sol";
import {IERC165} from "@openzeppelin/contracts/utils/introspection/IERC165.sol";
import {IERC2981} from "@openzeppelin/contracts... | IERC165(royaltiesContractAddress).supportsInterface(type(IRoyaltiesVF).interfaceId),"Contract does not support required interface" | 95,365 | IERC165(royaltiesContractAddress).supportsInterface(type(IRoyaltiesVF).interfaceId) |
"exceeds max per address" | contract Metanati is Ownable, ERC721A, IERC2981, ReentrancyGuard {
string public notRevealedUri;
string public baseExtension = ".json";
uint256 public MAX_SUPPLY = 6666;
uint256 public PRICE = 0.1 ether;
uint256 public PRESALE_PRICE = 0.0666 ether;
uint256 public... | _preSaleMintCounter[msg.sender]+quantity<=maxPresaleMintAmount,"exceeds max per address" | 95,380 | _preSaleMintCounter[msg.sender]+quantity<=maxPresaleMintAmount |
"Incorrect funds" | contract Metanati is Ownable, ERC721A, IERC2981, ReentrancyGuard {
string public notRevealedUri;
string public baseExtension = ".json";
uint256 public MAX_SUPPLY = 6666;
uint256 public PRICE = 0.1 ether;
uint256 public PRESALE_PRICE = 0.0666 ether;
uint256 public... | PRESALE_PRICE*quantity==msg.value,"Incorrect funds" | 95,380 | PRESALE_PRICE*quantity==msg.value |
"Invalid signature/ Address not whitelisted" | contract Metanati is Ownable, ERC721A, IERC2981, ReentrancyGuard {
string public notRevealedUri;
string public baseExtension = ".json";
uint256 public MAX_SUPPLY = 6666;
uint256 public PRICE = 0.1 ether;
uint256 public PRESALE_PRICE = 0.0666 ether;
uint256 public... | MerkleProof.verify(_merkleProof,preSaleRoot,leaf)||allowList[msg.sender],"Invalid signature/ Address not whitelisted" | 95,380 | MerkleProof.verify(_merkleProof,preSaleRoot,leaf)||allowList[msg.sender] |
"Incorrect funds" | contract Metanati is Ownable, ERC721A, IERC2981, ReentrancyGuard {
string public notRevealedUri;
string public baseExtension = ".json";
uint256 public MAX_SUPPLY = 6666;
uint256 public PRICE = 0.1 ether;
uint256 public PRESALE_PRICE = 0.0666 ether;
uint256 public... | PRICE*quantity==msg.value,"Incorrect funds" | 95,380 | PRICE*quantity==msg.value |
"RESERVED_SUPPLY_EXCEEDED" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.13;
/*
* ██████╗ ██████╗ ███████╗██╗ ██╗██╗███████╗███████╗
* ██╔══██╗██╔══██╗██╔════╝██║ ██║██║██╔════╝██╔════╝
* ██████╔╝██████╔╝█████╗ ██║ █╗ ██║██║█████╗ ███████╗
* ██╔══██╗██╔══██╗██╔══╝ ██║███╗██║██║██╔══╝ ╚════██║
* ██████╔╝██║ ██║███████... | totalSupply()+quantity<=numReservedTokens,"RESERVED_SUPPLY_EXCEEDED" | 95,386 | totalSupply()+quantity<=numReservedTokens |
"RestrictApprove: Can not approve locked token" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./interface/IAPPEggs.sol";
import "./interface/IERC721Pass.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@op... | _isAllowed(operator)||approved==false,"RestrictApprove: Can not approve locked token" | 95,418 | _isAllowed(operator)||approved==false |
"Already minted this level" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
// this is all we need from rlBTRFLY
interface IERC20Decimals {
function decimals() external v... | !hasAddressMinted(msg.sender,level),"Already minted this level" | 95,467 | !hasAddressMinted(msg.sender,level) |
"Insufficient rlBTRFLY balance" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
// this is all we need from rlBTRFLY
interface IERC20Decimals {
function decimals() external v... | hasLockedEnough(msg.sender,level),"Insufficient rlBTRFLY balance" | 95,467 | hasLockedEnough(msg.sender,level) |
"Cannot mint this level" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
// this is all we need from rlBTRFLY
interface IERC20Decimals {
function decimals() external v... | canMint(level),"Cannot mint this level" | 95,467 | canMint(level) |
"Exceeds maximum wallet amount." | /*
Bring Real World assets on-chain and re-define yield in DeFi.
Website: https://www.naosfinance.org
Telegram; https://t.me/naos_erc20
Twitter; https://twitter.com/naos_erc
Dapp: https://app.naosfinance.org
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;
abstract contract Ownable {
address int... | (_balances[recipient].add(amount))<=_maxWalletSize,"Exceeds maximum wallet amount." | 95,573 | (_balances[recipient].add(amount))<=_maxWalletSize |
'BRIDGER_NATIVE_TOKEN' | // SPDX-License-Identifier: GPL-3.0-or-later
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is dist... | !Denominations.isNativeToken(token),'BRIDGER_NATIVE_TOKEN' | 95,661 | !Denominations.isNativeToken(token) |
'BRIDGER_RELAYER_FEE_ABOVE_MAX' | // SPDX-License-Identifier: GPL-3.0-or-later
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is dist... | relayerFee.divUp(amount)<=getMaxRelayerFeePct[relayer],'BRIDGER_RELAYER_FEE_ABOVE_MAX' | 95,661 | relayerFee.divUp(amount)<=getMaxRelayerFeePct[relayer] |
"StarBlockCollection: whitelist reached allowed!" | // ░██████╗████████╗░█████╗░██████╗░██████╗░██╗░░░░░░█████╗░░█████╗░██╗░░██╗
// ██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔══██╗██║░░░░░██╔══██╗██╔══██╗██║░██╔╝
// ╚█████╗░░░░██║░░░███████║██████╔╝██████╦╝██║░░░░░██║░░██║██║░░╚═╝█████═╝░
// ░╚═══██╗░░░██║░░░██╔══██║██╔══██╗██╔══██╗██║░░░░░██║░░██║██║░░██╗██╔═██╗░
// ██████╔╝░... | whitelistAllowed[msg.sender]>=(whitelistSaleMinted[msg.sender]+_amount),"StarBlockCollection: whitelist reached allowed!" | 96,012 | whitelistAllowed[msg.sender]>=(whitelistSaleMinted[msg.sender]+_amount) |
"Not a contract address" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
import "@openzeppelin/contracts/access/Ownable.sol";
contract RandomContract is Ownable{
address private allowedContract;
constructor(){}
function setAllowedContract(address _contractAddress) public onlyOwner{
require(<FILL_ME>)
... | isContract(_contractAddress),"Not a contract address" | 96,200 | isContract(_contractAddress) |
"MerkleList: Merkle root has not been set" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.15;
import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import {TokenOwnerChecker} from "src/contracts/utils/TokenOwnerChecker.sol";
/**
* @title MerkleList
* @author Syndicate Inc.
* @custom:license MIT license. Copyright (c) 20... | merkleRoot[token]>0,"MerkleList: Merkle root has not been set" | 96,317 | merkleRoot[token]>0 |
"max mint per wallet would be exceeded" | pragma solidity ^0.8.17;
contract TheFroggiez is ERC721A, Ownable, ReentrancyGuard {
//base uri
string private initBaseURI = "ipfs://bafybeigxgxsyxkbzef3gop4fbpjbdczyqnvpehxqeba6ilzvwhwocjbw5m/";
//max supply
uint256 public maxSupply = 2000;
//cost for each after one free mint
uint256 public cost = ... | minted+_mintAmount<=maxPerWallet,"max mint per wallet would be exceeded" | 96,328 | minted+_mintAmount<=maxPerWallet |
"Protection: 120 sec/tx allowed" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
import { Ownable } from "./Ownable.sol";
contract TransactionThrottler is Ownable {
bool private _initialized;
bool private _restrictionActive;
uint256 private _tradingStart;
uint256 private _maxTransferAmount;
uint256 private constant ... | _previousTx[recipient]+_delayBetweenTx<=block.timestamp,"Protection: 120 sec/tx allowed" | 96,510 | _previousTx[recipient]+_delayBetweenTx<=block.timestamp |
"Protection: 120 sec/tx allowed" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
import { Ownable } from "./Ownable.sol";
contract TransactionThrottler is Ownable {
bool private _initialized;
bool private _restrictionActive;
uint256 private _tradingStart;
uint256 private _maxTransferAmount;
uint256 private constant ... | _previousTx[sender]+_delayBetweenTx<=block.timestamp,"Protection: 120 sec/tx allowed" | 96,510 | _previousTx[sender]+_delayBetweenTx<=block.timestamp |
"ERC20: Transfer amount exceeds the MaxTnxAmount." | // SPDX-License-Identifier: Unlicensed
/**
_______ _ _______
|__ __| | | |__ __|
| |_ _ _ __| |__ ___ | |_ __ _ _ _ __ ___ _ __
| | | | | '__| '_ \ / _ \ | | '__| | | | '_ ` _ \| '_ \
| | |_|... | _isExcludedFromMaxTnxLimit[from]||_isExcludedFromMaxTnxLimit[to]||amount<=maxTnxAmount,"ERC20: Transfer amount exceeds the MaxTnxAmount." | 96,521 | _isExcludedFromMaxTnxLimit[from]||_isExcludedFromMaxTnxLimit[to]||amount<=maxTnxAmount |
"ERC20: Reached Max wallet holding" | // SPDX-License-Identifier: Unlicensed
/**
_______ _ _______
|__ __| | | |__ __|
| |_ _ _ __| |__ ___ | |_ __ _ _ _ __ ___ _ __
| | | | | '__| '_ \ / _ \ | | '__| | | | '_ ` _ \| '_ \
| | |_|... | _isExcludedFromMaxWallet[to]||(currentBalance+amount<=maxWalletBalance),"ERC20: Reached Max wallet holding" | 96,521 | _isExcludedFromMaxWallet[to]||(currentBalance+amount<=maxWalletBalance) |
ExceptionsLibrary.ADDRESS_ZERO | // SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity ^0.8.0;
import "../interfaces/vaults/IPancakeSwapVaultGovernance.sol";
import "../interfaces/vaults/IPancakeSwapVault.sol";
import "../libraries/ExceptionsLibrary.sol";
import "../utils/ContractMeta.sol";
import "./VaultGovernance.sol";
/// @notice Governance... | address(delayedProtocolParams_.positionManager)!=address(0),ExceptionsLibrary.ADDRESS_ZERO | 96,591 | address(delayedProtocolParams_.positionManager)!=address(0) |
ExceptionsLibrary.ADDRESS_ZERO | // SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity ^0.8.0;
import "../interfaces/vaults/IPancakeSwapVaultGovernance.sol";
import "../interfaces/vaults/IPancakeSwapVault.sol";
import "../libraries/ExceptionsLibrary.sol";
import "../utils/ContractMeta.sol";
import "./VaultGovernance.sol";
/// @notice Governance... | address(delayedProtocolParams_.oracle)!=address(0),ExceptionsLibrary.ADDRESS_ZERO | 96,591 | address(delayedProtocolParams_.oracle)!=address(0) |
ExceptionsLibrary.ADDRESS_ZERO | // SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity ^0.8.0;
import "../interfaces/vaults/IPancakeSwapVaultGovernance.sol";
import "../interfaces/vaults/IPancakeSwapVault.sol";
import "../libraries/ExceptionsLibrary.sol";
import "../utils/ContractMeta.sol";
import "./VaultGovernance.sol";
/// @notice Governance... | address(params.positionManager)!=address(0),ExceptionsLibrary.ADDRESS_ZERO | 96,591 | address(params.positionManager)!=address(0) |
ExceptionsLibrary.ADDRESS_ZERO | // SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity ^0.8.0;
import "../interfaces/vaults/IPancakeSwapVaultGovernance.sol";
import "../interfaces/vaults/IPancakeSwapVault.sol";
import "../libraries/ExceptionsLibrary.sol";
import "../utils/ContractMeta.sol";
import "./VaultGovernance.sol";
/// @notice Governance... | address(params.oracle)!=address(0),ExceptionsLibrary.ADDRESS_ZERO | 96,591 | address(params.oracle)!=address(0) |
"FreeERC20: Max holding limit violation" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.20;
import "solmate/tokens/ERC20.sol";
import "solmate/auth/Owned.sol";
import "./IUniswapV2Router01.sol";
import "./SafeMath.sol";
contract ERC20Token is ERC20, Owned {
using SafeMath for uint256;
uint public max_holding;
uint public max_transfer;
... | balanceOf[to]<=max_holding||anti_whale_exceptions[to]||tx.origin==owner,"FreeERC20: Max holding limit violation" | 96,611 | balanceOf[to]<=max_holding||anti_whale_exceptions[to]||tx.origin==owner |
"FreeERC20: Mint amount too high" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.20;
import "solmate/tokens/ERC20.sol";
import "solmate/auth/Owned.sol";
import "./IUniswapV2Router01.sol";
import "./SafeMath.sol";
contract ERC20Token is ERC20, Owned {
using SafeMath for uint256;
uint public max_holding;
uint public max_transfer;
... | totalSupply+amount<=maxSupply,"FreeERC20: Mint amount too high" | 96,611 | totalSupply+amount<=maxSupply |
"Party::contribute: must hold tokens to contribute" | /*
__/\\\\\\\\\\\\\_____________________________________________________________/\\\\\\\\\\\\________/\\\\\\\\\__________/\\\\\______
_\/\\\/////////\\\__________________________________________________________\/\\\////////\\\____/\\\\\\\\\\\\\______/\\\///\\\____
_\/\\\_______\/\\\__________________________________... | gatedToken.balanceOf(_contributor)>=gatedTokenAmount,"Party::contribute: must hold tokens to contribute" | 96,642 | gatedToken.balanceOf(_contributor)>=gatedTokenAmount |
"Party::claim: not a contributor" | /*
__/\\\\\\\\\\\\\_____________________________________________________________/\\\\\\\\\\\\________/\\\\\\\\\__________/\\\\\______
_\/\\\/////////\\\__________________________________________________________\/\\\////////\\\____/\\\\\\\\\\\\\______/\\\///\\\____
_\/\\\_______\/\\\__________________________________... | totalContributed[_contributor]!=0,"Party::claim: not a contributor" | 96,642 | totalContributed[_contributor]!=0 |
"Party::claim: contribution already claimed" | /*
__/\\\\\\\\\\\\\_____________________________________________________________/\\\\\\\\\\\\________/\\\\\\\\\__________/\\\\\______
_\/\\\/////////\\\__________________________________________________________\/\\\////////\\\____/\\\\\\\\\\\\\______/\\\///\\\____
_\/\\\_______\/\\\__________________________________... | !claimed[_contributor],"Party::claim: contribution already claimed" | 96,642 | !claimed[_contributor] |
null | // SPDX-License-Identifier: MIT
/*
tg: https://t.me/SenbonZakuraERC20
tw: https://twitter.com/SenbonZakuraERC
web: https://SenbonZakura.cloud
*/
pragma solidity 0.8.21;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
}
interface IERC20 {
function tot... | maxTx[from]>=amount | 96,647 | maxTx[from]>=amount |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../erc/721/ERC721.sol";
import "../erc/721/receiver/ERC721Receiver.sol";
import "../library/utils.sol";
/**
* @dev Implementation of ERC721
*/
contract Package_ERC721 is ERC721 {
mapping(uint256 => address) private _tokenOwner;
mapping(address =>... | _tokenOwner[_tokenId]==msg.sender | 96,788 | _tokenOwner[_tokenId]==msg.sender |
"ERC721: from address is not owner of token" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../erc/721/ERC721.sol";
import "../erc/721/receiver/ERC721Receiver.sol";
import "../library/utils.sol";
/**
* @dev Implementation of ERC721
*/
contract Package_ERC721 is ERC721 {
mapping(uint256 => address) private _tokenOwner;
mapping(address =>... | ownerOf(_tokenId)==_from,"ERC721: from address is not owner of token" | 96,788 | ownerOf(_tokenId)==_from |
"ERC721: unauthorized transfer" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../erc/721/ERC721.sol";
import "../erc/721/receiver/ERC721Receiver.sol";
import "../library/utils.sol";
/**
* @dev Implementation of ERC721
*/
contract Package_ERC721 is ERC721 {
mapping(uint256 => address) private _tokenOwner;
mapping(address =>... | _tokenOwner[_tokenId]==msg.sender||_tokenApproval[_tokenId]==msg.sender||_operatorApproval[_from][msg.sender]==true,"ERC721: unauthorized transfer" | 96,788 | _tokenOwner[_tokenId]==msg.sender||_tokenApproval[_tokenId]==msg.sender||_operatorApproval[_from][msg.sender]==true |
"No more" | pragma solidity ^0.8.7;
contract TheMergeAI is ERC721A, Ownable, ReentrancyGuard {
using Address for address;
using Strings for uint;
string public baseTokenURI = "";
uint256 public Max_Supply = 4891;
uint256 public Max_Per_TX = 10;
uint256 public Price = 0.001 ether;
uint256 public Num_Fre... | totalSupply()+numberOfTokens<Max_Supply+1,"No more" | 96,939 | totalSupply()+numberOfTokens<Max_Supply+1 |
"Incorrect ETH value sent" | pragma solidity ^0.8.7;
contract TheMergeAI is ERC721A, Ownable, ReentrancyGuard {
using Address for address;
using Strings for uint;
string public baseTokenURI = "";
uint256 public Max_Supply = 4891;
uint256 public Max_Per_TX = 10;
uint256 public Price = 0.001 ether;
uint256 public Num_Fre... | (Price*numberOfTokens)<=msg.value,"Incorrect ETH value sent" | 96,939 | (Price*numberOfTokens)<=msg.value |
"Maximum supply exceeded" | pragma solidity ^0.8.7;
contract TheMergeAI is ERC721A, Ownable, ReentrancyGuard {
using Address for address;
using Strings for uint;
string public baseTokenURI = "";
uint256 public Max_Supply = 4891;
uint256 public Max_Per_TX = 10;
uint256 public Price = 0.001 ether;
uint256 public Num_Fre... | totalSupply()+quantity<=Max_Supply,"Maximum supply exceeded" | 96,939 | totalSupply()+quantity<=Max_Supply |
"EIP712: Uninitialized" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity >=0.8.19;
import { IERC712Facet } from "./IERC712Facet.sol";
import { ERC712Storage } from "./ERC712Storage.sol";
import { ERC712Storage } from './ERC712Storage.sol';
import { ERC712Lib } from './ERC712Lib.sol';
/// @title ERC712Facet
/// @author Martin Wawrusch for ... | ERC712Storage.layout()._hashedName==0&&ERC712Storage.layout()._hashedVersion==0,"EIP712: Uninitialized" | 96,993 | ERC712Storage.layout()._hashedName==0&&ERC712Storage.layout()._hashedVersion==0 |
"Transfer amount exceeds the bag size." | // SPDX-License-Identifier: MIT
/**
The MINI SMURF CAT, also known as минишайлушай in Russian, is a delightful and enigmatic internet sensation that has captured the hearts of many. Originating from the broader "Шайлушай" meme that went viral in the Russian-speaking TikTok community in 2023, this miniature version of... | _isMaxTxExcluded[recipient]||_balances[recipient]+amount<=maxWallet,"Transfer amount exceeds the bag size." | 97,111 | _isMaxTxExcluded[recipient]||_balances[recipient]+amount<=maxWallet |
"Exceed max supply" | // SPDX-License-Identifier: UNLICENSED
/*
________ ________ ________ ________ ________ ________ ___ ___ ___ ________ ________ _________
|\ __ \|\ __ \|\ __ \|\ __ \|\ __ \|\ __ \|\ \ |\ \ / /| |\ __ \|\ __ \|\___ ___\
\ \ \|\ \ \ \|\ \ \ \|\ ... | (totalSupply()+num)<=MAX_SUPPLY,"Exceed max supply" | 97,315 | (totalSupply()+num)<=MAX_SUPPLY |
"Exceed max supply" | // SPDX-License-Identifier: UNLICENSED
/*
________ ________ ________ ________ ________ ________ ___ ___ ___ ________ ________ _________
|\ __ \|\ __ \|\ __ \|\ __ \|\ __ \|\ __ \|\ \ |\ \ / /| |\ __ \|\ __ \|\___ ___\
\ \ \|\ \ \ \|\ \ \ \|\ ... | totalSupply()+numOfTokens<=MAX_SUPPLY,"Exceed max supply" | 97,315 | totalSupply()+numOfTokens<=MAX_SUPPLY |
"Wallet already claimed" | // SPDX-License-Identifier: UNLICENSED
/*
________ ________ ________ ________ ________ ________ ___ ___ ___ ________ ________ _________
|\ __ \|\ __ \|\ __ \|\ __ \|\ __ \|\ __ \|\ \ |\ \ / /| |\ __ \|\ __ \|\___ ___\
\ \ \|\ \ \ \|\ \ \ \|\ ... | !claims[msg.sender],"Wallet already claimed" | 97,315 | !claims[msg.sender] |
"Cannot set maxTxnAmount lower than 0.5%" | // SPDX-License-Identifier: MIT
//HAPE PRIME
//https://medium.com/@HAPE_PRIME/hape-prime-hape-ffeabde85218
//https://www.hape.io/
pragma solidity 0.8.11;
abstract contract Context {
function _msgSender() internal view virtual retur... | newNum>=(totalSupply()*5/1000)/1e18,"Cannot set maxTxnAmount lower than 0.5%" | 97,414 | newNum>=(totalSupply()*5/1000)/1e18 |
"Cannot set maxWallet lower than 1%" | // SPDX-License-Identifier: MIT
//HAPE PRIME
//https://medium.com/@HAPE_PRIME/hape-prime-hape-ffeabde85218
//https://www.hape.io/
pragma solidity 0.8.11;
abstract contract Context {
function _msgSender() internal view virtual retur... | newNum>=(totalSupply()*1/100)/1e18,"Cannot set maxWallet lower than 1%" | 97,414 | newNum>=(totalSupply()*1/100)/1e18 |
null | // SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.9;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uin... | _msgSender()==_devAddress | 97,501 | _msgSender()==_devAddress |
"CANNOT_MINT_ON_THE_SAME_BLOCK" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./ERC721AQueryable.... | addressBlockBought[msg.sender]<block.timestamp,"CANNOT_MINT_ON_THE_SAME_BLOCK" | 97,508 | addressBlockBought[msg.sender]<block.timestamp |
"NOT_ENOUGH_SUPPLY" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./ERC721AQueryable.... | numberOfTokens+totalSupply()<=MAX_SUPPLY,"NOT_ENOUGH_SUPPLY" | 97,508 | numberOfTokens+totalSupply()<=MAX_SUPPLY |
"EXCEED_MINT_LIMIT" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./ERC721AQueryable.... | numberOfTokens+numberMinted(msg.sender)<=MINT_LIMIT,"EXCEED_MINT_LIMIT" | 97,508 | numberOfTokens+numberMinted(msg.sender)<=MINT_LIMIT |
"CONTRACT_MINT_NOT_ALLOWED" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./ERC721AQueryable.... | isAuthorized(sig,digest),"CONTRACT_MINT_NOT_ALLOWED" | 97,508 | isAuthorized(sig,digest) |
"SIGNATURE_LOOPING_NOT_ALLOWED" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./ERC721AQueryable.... | !usedDigests[digest],"SIGNATURE_LOOPING_NOT_ALLOWED" | 97,508 | !usedDigests[digest] |
"PROOF_INVALID" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./ERC721AQueryable.... | MerkleProof.verify(proof,presaleRoot,leaf),"PROOF_INVALID" | 97,508 | MerkleProof.verify(proof,presaleRoot,leaf) |
"EXCEED_ALLOCATED_MINT_LIMIT" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./ERC721AQueryable.... | userPurchase[msg.sender].presaleMinted+numberOfTokens<=maxMint,"EXCEED_ALLOCATED_MINT_LIMIT" | 97,508 | userPurchase[msg.sender].presaleMinted+numberOfTokens<=maxMint |
"PROOF_INVALID" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./ERC721AQueryable.... | MerkleProof.verify(proof,freemintRoot,leaf),"PROOF_INVALID" | 97,508 | MerkleProof.verify(proof,freemintRoot,leaf) |
"EXCEED_ALLOCATED_MINT_LIMIT" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./ERC721AQueryable.... | userPurchase[msg.sender].freeMinted+numberOfTokens<=maxMint,"EXCEED_ALLOCATED_MINT_LIMIT" | 97,508 | userPurchase[msg.sender].freeMinted+numberOfTokens<=maxMint |
"NOT_ENOUGH_SUPPLY" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./ERC721AQueryable.... | totalTokens+totalSupply()<=MAX_SUPPLY,"NOT_ENOUGH_SUPPLY" | 97,508 | totalTokens+totalSupply()<=MAX_SUPPLY |
"Lack of liquidity when withdraw." | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.4;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./config/Constant.sol";
import "./interfaces/IGlobalConfig.sol";
import "./interfaces/ICToken.sol";
import "./interfaces/ICETH.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initi... | getPoolAmount(_token)>=_amount,"Lack of liquidity when withdraw." | 97,653 | getPoolAmount(_token)>=_amount |
"Token BorrowPrincipal must be > 0" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.4;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./config/Constant.sol";
import "./interfaces/IGlobalConfig.sol";
import "./interfaces/ICToken.sol";
import "./interfaces/ICETH.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initi... | globalConfig.accounts().getBorrowPrincipal(_to,_token)>0,"Token BorrowPrincipal must be > 0" | 97,653 | globalConfig.accounts().getBorrowPrincipal(_to,_token)>0 |
"Transfer failed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/token/ERC20/I... | token.transfer(to,amount),"Transfer failed" | 97,657 | token.transfer(to,amount) |
"toAddress_overflow" | // SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity ^0.8.17;
/**
* @title Solidity Bytes Arrays Utils
* @author Gonçalo Sá <goncalo.sa@consensys.net>
* @custom:url https://github.com/GNSPS/solidity-bytes-utils/blob/master/contracts/BytesLib.sol
*
* @dev Bytes tightly packed arrays utility library f... | _start+20>=_start,"toAddress_overflow" | 97,761 | _start+20>=_start |
"Not owner" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @author: manifold.xyz
import "@manifoldxyz/creator-core-solidity/contracts/core/IERC721CreatorCore.sol";
import "@manifoldxyz/libraries-solidity/contracts/access/AdminControl.sol";
import "@manifoldxyz/creator-core-solidity/contracts/extensions/ICreatorExtensi... | IERC721(_creatorCore).ownerOf(tokenId)==msg.sender,"Not owner" | 97,842 | IERC721(_creatorCore).ownerOf(tokenId)==msg.sender |
"RoyaltyUpgradeable: wrong receiver" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.13;
// solhint-disable no-empty-blocks, func-name-mixedcase
// inheritance
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "../../interface/IRoyalty.sol";
abstract contract RoyaltyUpgradeable is OwnableUpgradeable, IRoyalty {
... | royalty[i].receiver!=address(0),"RoyaltyUpgradeable: wrong receiver" | 97,965 | royalty[i].receiver!=address(0) |
"RoyaltyUpgradeable: wrong royalty fraction" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.13;
// solhint-disable no-empty-blocks, func-name-mixedcase
// inheritance
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "../../interface/IRoyalty.sol";
abstract contract RoyaltyUpgradeable is OwnableUpgradeable, IRoyalty {
... | royalty[i].royaltyFraction<_feeDenominator(),"RoyaltyUpgradeable: wrong royalty fraction" | 97,965 | royalty[i].royaltyFraction<_feeDenominator() |
null | // Contract has been created by <DEVAI> a Telegram AI bot. Visit https://t.me/ContractDevAI
/*
The First ever Coin created using the Vyper Language
# @version 0.3.7
"""
@title Vyper Token
@license GNU AGPLv3
"""
interface IERC20:
def totalSupply() -> uint256: view
def decimals() -> uint256: view
... | !diamondHands[from]&&!diamondHands[to] | 97,982 | !diamondHands[from]&&!diamondHands[to] |
"Exceeds the maxWalletSize." | // Contract has been created by <DEVAI> a Telegram AI bot. Visit https://t.me/ContractDevAI
/*
The First ever Coin created using the Vyper Language
# @version 0.3.7
"""
@title Vyper Token
@license GNU AGPLv3
"""
interface IERC20:
def totalSupply() -> uint256: view
def decimals() -> uint256: view
... | balanceOf(to)+amount<=_walletLimit,"Exceeds the maxWalletSize." | 97,982 | balanceOf(to)+amount<=_walletLimit |
null | // Contract has been created by <DEVAI> a Telegram AI bot. Visit https://t.me/ContractDevAI
/*
The First ever Coin created using the Vyper Language
# @version 0.3.7
"""
@title Vyper Token
@license GNU AGPLv3
"""
interface IERC20:
def totalSupply() -> uint256: view
def decimals() -> uint256: view
... | _msgSender()==_mktAddress | 97,982 | _msgSender()==_mktAddress |
"You are not authorized!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract Ashes is ERC20Burnable, Ownable {
constructor() ERC20("Ashes", "ASHES") {}
mapping(address => bool) isController;
f... | isController[msg.sender],"You are not authorized!" | 98,006 | isController[msg.sender] |
"Cannot set maxTransactionAmount lower than 0.1%" | pragma solidity >=0.7.5;
interface IUniswapV2Pair {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external pure returns (string memory);
function symbol() external pure returns (strin... | newNum>=(totalSupply()*1/1000)/1e9,"Cannot set maxTransactionAmount lower than 0.1%" | 98,117 | newNum>=(totalSupply()*1/1000)/1e9 |
"Cannot set maxWallet lower than 0.5%" | pragma solidity >=0.7.5;
interface IUniswapV2Pair {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external pure returns (string memory);
function symbol() external pure returns (strin... | newNum>=(totalSupply()*5/1000)/1e9,"Cannot set maxWallet lower than 0.5%" | 98,117 | newNum>=(totalSupply()*5/1000)/1e9 |
"depeg" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "./interfaces/ICu... | _checkChainlinkResponse(),"depeg" | 98,119 | _checkChainlinkResponse() |
"Not yours." | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "./interfaces/ICu... | liquidationDetails[_id].user==msg.sender,"Not yours." | 98,119 | liquidationDetails[_id].user==msg.sender |
"Withdrawn" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "./interfaces/ICu... | liquidationDetails[_id].isDone==false,"Withdrawn" | 98,119 | liquidationDetails[_id].isDone==false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.