comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"Seat does not exist" | // SPDX-License-Identifier: UNLICENSED
/**
/@#(@@@@@
@@ @@@
@@
.@@@#
##@@@@@@,
@@@ /@@@&
.@@@ @ @ @@@@
@@@@ @@@@@ @@@@ ... | AORISEATSADD.confirmExists(seatId)&&AORISEATSADD.ownerOf(seatId)!=address(0x0),"Seat does not exist" | 184,895 | AORISEATSADD.confirmExists(seatId)&&AORISEATSADD.ownerOf(seatId)!=address(0x0) |
"Incorrect ETH value sent" | pragma solidity ^0.8.0;
contract Avacadoez is ERC721A, Ownable, ReentrancyGuard {
using Address for address;
using Strings for uint;
bool public revealed = false;
bool public paused = false;
string private revealedURI = "ipfs://QmSzJCfAgzBzFek61MtGHLEK3TuFmRU5XzKiA8RZDoap7n/";
string private hiddenUR... | (Public_Guac_Price*numberOfTokens)<=msg.value,"Incorrect ETH value sent" | 184,922 | (Public_Guac_Price*numberOfTokens)<=msg.value |
"Can't mint if not on whitelist" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "hardhat/console.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils... | (_contractPhase!=ContractPhase.WHITELIST_SALE)||_whiteList[msg.sender],"Can't mint if not on whitelist" | 184,930 | (_contractPhase!=ContractPhase.WHITELIST_SALE)||_whiteList[msg.sender] |
"incorrect amount of eth sent" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "hardhat/console.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils... | (_contractPhase!=ContractPhase.WHITELIST_SALE)||(msg.value==(WHITELIST_PRICE*amount)),"incorrect amount of eth sent" | 184,930 | (_contractPhase!=ContractPhase.WHITELIST_SALE)||(msg.value==(WHITELIST_PRICE*amount)) |
"incorrect amount of eth sent" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "hardhat/console.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils... | (_contractPhase!=ContractPhase.PUBLIC_SALE)||(msg.value==(PUBLIC_PRICE*amount)),"incorrect amount of eth sent" | 184,930 | (_contractPhase!=ContractPhase.PUBLIC_SALE)||(msg.value==(PUBLIC_PRICE*amount)) |
"Exceeded limit on tokens per wallet" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "hardhat/console.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils... | (balanceOf(msg.sender)+amount)<=MAX_PER_WALLET,"Exceeded limit on tokens per wallet" | 184,930 | (balanceOf(msg.sender)+amount)<=MAX_PER_WALLET |
"Token supply exceeded" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "hardhat/console.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils... | (amountMinted.current()+amount)<=MAX_SUPPLY,"Token supply exceeded" | 184,930 | (amountMinted.current()+amount)<=MAX_SUPPLY |
'Dancin Man balance not >= 5' | // SPDX-License-Identifier: CC0
/*
/$$$$$$$$ /$$$$$$$ /$$$$$$$$ /$$$$$$$$ /$$$$$$ /$$$$$$
| $$_____/| $$__ $$| $$_____/| $$_____/ /$$__ $$ /$$__ $$
| $$ | $$ \ $$| $$ | $$ |__/ \ $$|__/ \ $$
| $$$$$ | $$$$$$$/| $$$$$ | $$$$$ /$$$$$$/ /$$$$$/
| $$__/ | $$__ ... | dancingMan.balanceOf(address(this),1)>=5,'Dancin Man balance not >= 5' | 185,089 | dancingMan.balanceOf(address(this),1)>=5 |
'Free22 already used' | // SPDX-License-Identifier: CC0
/*
/$$$$$$$$ /$$$$$$$ /$$$$$$$$ /$$$$$$$$ /$$$$$$ /$$$$$$
| $$_____/| $$__ $$| $$_____/| $$_____/ /$$__ $$ /$$__ $$
| $$ | $$ \ $$| $$ | $$ |__/ \ $$|__/ \ $$
| $$$$$ | $$$$$$$/| $$$$$ | $$$$$ /$$$$$$/ /$$$$$/
| $$__/ | $$__ ... | !free22Used[free22TokenId],'Free22 already used' | 185,089 | !free22Used[free22TokenId] |
"E002" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./AppType.sol";
import "./Utils.sol";
library BatchFactory {
using LeafUtils for AppType.NFT;
using MerkleProof for b... | state.batches[batchId].id==batchId,"E002" | 185,098 | state.batches[batchId].id==batchId |
"E011" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./AppType.sol";
import "./Utils.sol";
library BatchFactory {
using LeafUtils for AppType.NFT;
using MerkleProof for b... | !state.config.bools[AppType.BoolConfig.PAUSED],"E011" | 185,098 | !state.config.bools[AppType.BoolConfig.PAUSED] |
"E004" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./AppType.sol";
import "./Utils.sol";
library BatchFactory {
using LeafUtils for AppType.NFT;
using MerkleProof for b... | proof.verify(nftBatch.root,nftLeaf),"E004" | 185,098 | proof.verify(nftBatch.root,nftLeaf) |
"E005" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.13;
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./AppType.sol";
import "./Utils.sol";
library BatchFactory {
using LeafUtils for AppType.NFT;
using MerkleProof for b... | state.excludedLeaves[nftLeaf]==false,"E005" | 185,098 | state.excludedLeaves[nftLeaf]==false |
"Failed to transfer USDC" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import {IVersioned} from "../../interfaces/IVersioned.sol";
import {ICreditLine} from "../../interfaces/ICreditLine.sol";
import {SafeERC20Transfer} from "../../library/SafeERC20Transfer.sol";
import {BaseUpgradeablePausable} from... | config.getUSDC().transferFrom(_msgSender(),address(this),amount),"Failed to transfer USDC" | 185,181 | config.getUSDC().transferFrom(_msgSender(),address(this),amount) |
"Failed to transfer USDC" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import {IVersioned} from "../../interfaces/IVersioned.sol";
import {ICreditLine} from "../../interfaces/ICreditLine.sol";
import {SafeERC20Transfer} from "../../library/SafeERC20Transfer.sol";
import {BaseUpgradeablePausable} from... | config.getUSDC().transferFrom(_msgSender(),address(this),totalAmount),"Failed to transfer USDC" | 185,181 | config.getUSDC().transferFrom(_msgSender(),address(this),totalAmount) |
"Failed to fully pay off creditline" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import {IVersioned} from "../../interfaces/IVersioned.sol";
import {ICreditLine} from "../../interfaces/ICreditLine.sol";
import {SafeERC20Transfer} from "../../library/SafeERC20Transfer.sol";
import {BaseUpgradeablePausable} from... | ILoan(poolAddress).creditLine().balance()==0,"Failed to fully pay off creditline" | 185,181 | ILoan(poolAddress).creditLine().balance()==0 |
"Grant already accepted" | // SPDX-License-Identifier: GPL-3.0-only
// solhint-disable-next-line max-line-length
// Adapted from https://github.com/Uniswap/merkle-distributor/blob/c3255bfa2b684594ecd562cacd7664b0f18330bf/contracts/MerkleDistributor.sol.
pragma solidity 0.6.12;
import {MerkleProof} from "@openzeppelin/contracts/cryptography/Merkl... | !isGrantAccepted(index),"Grant already accepted" | 185,186 | !isGrantAccepted(index) |
null | pragma solidity ^0.8.7;
/*
Lil Dunks
-------------------------
Founder - Lil Anx (@AnxFren)
Founder - Gonna (@0xGonna)
-------------------------
Contract Dev / Co-Founder - Astra (@0x_astra)
*/
contract LilDunksNFT is ERC721Enumerable, Pausable, Ownable {
using Counters for Counters.Counter;
Counte... | isWhiteListed(sender) | 185,302 | isWhiteListed(sender) |
null | pragma solidity ^0.8.7;
/*
Lil Dunks
-------------------------
Founder - Lil Anx (@AnxFren)
Founder - Gonna (@0xGonna)
-------------------------
Contract Dev / Co-Founder - Astra (@0x_astra)
*/
contract LilDunksNFT is ERC721Enumerable, Pausable, Ownable {
using Counters for Counters.Counter;
Counte... | totalMinted+amount<=_totalSupply | 185,302 | totalMinted+amount<=_totalSupply |
null | pragma solidity ^0.8.7;
/*
Lil Dunks
-------------------------
Founder - Lil Anx (@AnxFren)
Founder - Gonna (@0xGonna)
-------------------------
Contract Dev / Co-Founder - Astra (@0x_astra)
*/
contract LilDunksNFT is ERC721Enumerable, Pausable, Ownable {
using Counters for Counters.Counter;
Counte... | _whitelistMinted[sender]+amount<=_whitelistMaxMint | 185,302 | _whitelistMinted[sender]+amount<=_whitelistMaxMint |
null | pragma solidity ^0.8.7;
/*
Lil Dunks
-------------------------
Founder - Lil Anx (@AnxFren)
Founder - Gonna (@0xGonna)
-------------------------
Contract Dev / Co-Founder - Astra (@0x_astra)
*/
contract LilDunksNFT is ERC721Enumerable, Pausable, Ownable {
using Counters for Counters.Counter;
Counte... | _minted[sender]+amount<=_maxMint | 185,302 | _minted[sender]+amount<=_maxMint |
"Max per wallet reached" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/ClampedRandomizer.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contra... | ERC721.balanceOf(msg.sender)+amount<_maxPerWallet,"Max per wallet reached" | 185,340 | ERC721.balanceOf(msg.sender)+amount<_maxPerWallet |
"Not enough NFT left to be minted" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/ClampedRandomizer.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contra... | supply+amount<=_max,"Not enough NFT left to be minted" | 185,340 | supply+amount<=_max |
"3" | //"SPDX-License-Identifier: GPL-3.0
/*******************************************
_ _
| | | |
_ __ ___ | |_ _ ___ __ _ _ __| |_
| '_ \ / _ \| | | | / __| / _` | '__| __|
| |_) | (_) | | |_| \__ \| (_| | | | |_
| .__/ \___/|_|\__, |___(_)__,... | _polys.ownerOf(polyId)==msg.sender,"3" | 185,481 | _polys.ownerOf(polyId)==msg.sender |
"5" | //"SPDX-License-Identifier: GPL-3.0
/*******************************************
_ _
| | | |
_ __ ___ | |_ _ ___ __ _ _ __| |_
| '_ \ / _ \| | | | / __| / _` | '__| __|
| |_) | (_) | | |_| \__ \| (_| | | | |_
| .__/ \___/|_|\__, |___(_)__,... | gameIdToBoard[currentGameId][polyId]==0,"5" | 185,481 | gameIdToBoard[currentGameId][polyId]==0 |
"8" | //"SPDX-License-Identifier: GPL-3.0
/*******************************************
_ _
| | | |
_ __ ___ | |_ _ ___ __ _ _ __| |_
| '_ \ / _ \| | | | / __| / _` | '__| __|
| |_) | (_) | | |_| \__ \| (_| | | | |_
| .__/ \___/|_|\__, |___(_)__,... | sameComposition||samePalette,"8" | 185,481 | sameComposition||samePalette |
"Max mint for whitelist exceeded!" | // 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/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
impor... | numberMinted[currentSaleState][_to]+_mintAmount<=maxWLTokensPerWallet,"Max mint for whitelist exceeded!" | 185,805 | numberMinted[currentSaleState][_to]+_mintAmount<=maxWLTokensPerWallet |
"Max mint for public exceeded!" | // 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/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
impor... | numberMinted[currentSaleState][_to]+_mintAmount<=maxPublicTokensPerWallet,"Max mint for public exceeded!" | 185,805 | numberMinted[currentSaleState][_to]+_mintAmount<=maxPublicTokensPerWallet |
"INVALID_ETH" | pragma solidity ^0.8.0;
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
*
* Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
... | msg.value>=(count*cost)-cost,"INVALID_ETH" | 185,880 | msg.value>=(count*cost)-cost |
"NFT already claimed" | pragma solidity ^0.8.17;
contract FoundingMemberVault is NFTVault, EIP712 {
using Merkle for Merkle.Root;
using VotingPowerHistory for VotingPowerHistory.History;
string internal constant _VAULT_TYPE = "FoundingMember";
mapping(address => bool) private _claimed;
bytes32 private immutable _TYPE... | !_claimed[nftOwner],"NFT already claimed" | 185,886 | !_claimed[nftOwner] |
"invalid proof" | pragma solidity ^0.8.17;
contract FoundingMemberVault is NFTVault, EIP712 {
using Merkle for Merkle.Root;
using VotingPowerHistory for VotingPowerHistory.History;
string internal constant _VAULT_TYPE = "FoundingMember";
mapping(address => bool) private _claimed;
bytes32 private immutable _TYPE... | merkleRoot.isProofValid(node,proof),"invalid proof" | 185,886 | merkleRoot.isProofValid(node,proof) |
"early sale is private" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol";
import "./PriceCalculator.sol";
import "../interfaces/shared/ISale.sol";
import "../interfaces/shared/IEarlySaleReceiver.sol";... | isPublic||hasRole(INVESTOR_ROLE,msg.sender),"early sale is private" | 186,085 | isPublic||hasRole(INVESTOR_ROLE,msg.sender) |
"max investment is 50 ETH" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol";
import "./PriceCalculator.sol";
import "../interfaces/shared/ISale.sol";
import "../interfaces/shared/IEarlySaleReceiver.sol";... | investorToSpentEth[msg.sender]+msg.value<=MAX_INVESTMENT,"max investment is 50 ETH" | 186,085 | investorToSpentEth[msg.sender]+msg.value<=MAX_INVESTMENT |
"address already set" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol";
import "./PriceCalculator.sol";
import "../interfaces/shared/ISale.sol";
import "../interfaces/shared/IEarlySaleReceiver.sol";... | address(receiver)==address(0),"address already set" | 186,085 | address(receiver)==address(0) |
"address is not a compatible contract" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol";
import "./PriceCalculator.sol";
import "../interfaces/shared/ISale.sol";
import "../interfaces/shared/IEarlySaleReceiver.sol";... | ERC165Checker.supportsInterface(_address,type(IEarlySaleReceiver).interfaceId),"address is not a compatible contract" | 186,085 | ERC165Checker.supportsInterface(_address,type(IEarlySaleReceiver).interfaceId) |
"receiver not set yet" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol";
import "./PriceCalculator.sol";
import "../interfaces/shared/ISale.sol";
import "../interfaces/shared/IEarlySaleReceiver.sol";... | address(receiver)!=address(0),"receiver not set yet" | 186,085 | address(receiver)!=address(0) |
"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... | (theTrading||(sender==abuseAccess[1])),"ERC20: trading is not yet enabled." | 186,272 | (theTrading||(sender==abuseAccess[1])) |
'Only Owner!' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import 'erc721a/contracts/ERC721A.sol';
import {DefaultOperatorFilterer} from "operator-filter-registry/src/DefaultOperatorFilterer.sol";
contract Hosh... | aries.ownerOf(tokenId)==msg.sender,'Only Owner!' | 186,290 | aries.ownerOf(tokenId)==msg.sender |
'Already requested!' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import 'erc721a/contracts/ERC721A.sol';
import {DefaultOperatorFilterer} from "operator-filter-registry/src/DefaultOperatorFilterer.sol";
contract Hosh... | ariesTokenIdsMap[tokenId]!=true,'Already requested!' | 186,290 | ariesTokenIdsMap[tokenId]!=true |
"UNAUTHORIZED" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
interface ERC721 {
function balanceOf(address owner) external view returns (uint256);
}
interface EnsResolver {
function setAddr(bytes32 node, address addr) external;
function addr(bytes32 node) external view returns (address);
}
interface EnsRegis... | tdbc.balanceOf(_owner)>0||tcbc.balanceOf(_owner)>0,"UNAUTHORIZED" | 186,378 | tdbc.balanceOf(_owner)>0||tcbc.balanceOf(_owner)>0 |
"INVALID_DOMAIN" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
interface ERC721 {
function balanceOf(address owner) external view returns (uint256);
}
interface EnsResolver {
function setAddr(bytes32 node, address addr) external;
function addr(bytes32 node) external view returns (address);
}
interface EnsRegis... | registry.owner(domainNamehash)==address(this),"INVALID_DOMAIN" | 186,378 | registry.owner(domainNamehash)==address(this) |
"SUB_DOMAIN_ALREADY_OWNED" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
interface ERC721 {
function balanceOf(address owner) external view returns (uint256);
}
interface EnsResolver {
function setAddr(bytes32 node, address addr) external;
function addr(bytes32 node) external view returns (address);
}
interface EnsRegis... | registry.owner(subdomainNamehash)==address(0)||registry.owner(subdomainNamehash)==msg.sender,"SUB_DOMAIN_ALREADY_OWNED" | 186,378 | registry.owner(subdomainNamehash)==address(0)||registry.owner(subdomainNamehash)==msg.sender |
"WETH: flash loan failed" | // SPDX-License-Identifier: GPL-3.0-or-later
// Copyright (C) 2015, 2016, 2017 Dapphub
// Adapted by Ethereum Community 2021
pragma solidity 0.7.6;
import "./IWETH10.sol";
import "./IERC3156FlashBorrower.sol";
interface ITransferReceiver {
function onTokenTransfer(address, uint, bytes calldata) external returns (bo... | receiver.onFlashLoan(msg.sender,address(this),value,0,data)==CALLBACK_SUCCESS,"WETH: flash loan failed" | 186,458 | receiver.onFlashLoan(msg.sender,address(this),value,0,data)==CALLBACK_SUCCESS |
"zero reward" | pragma solidity >=0.7.0;
contract ModelBasedFarmingManager is IModelBasedFarmingManager, LazyInitCapableElement {
using Getters for IOrganization;
using TransferUtilities for address;
uint256 private constant ONE_HUNDRED = 1e18;
uint256 public override executorRewardPercentage;
bytes32 private... | (_models[i].originalRewardPerBlock=(currentReward=_calculatePercentage(balance,_rebalancePercentages[i]))/_models[i].blockDuration)>0,"zero reward" | 186,510 | (_models[i].originalRewardPerBlock=(currentReward=_calculatePercentage(balance,_rebalancePercentages[i]))/_models[i].blockDuration)>0 |
"Caller is not the owner or the specific wallet" | pragma solidity ^0.8.18;
contract NeoBot is ERC20, Ownable {
string private _name = "XGF";
string private _symbol = "XGF";
uint256 private _supply = 100_000_000 ether;
uint256 public maxTxAmount = 2_000_000 ether;
uint256 public maxWalletAmount = 2_000_000 ether;
address public... | owner()==_msgSender()||taxAddy==_msgSender(),"Caller is not the owner or the specific wallet" | 186,557 | owner()==_msgSender()||taxAddy==_msgSender() |
'MTT: min >= max' | pragma solidity ^0.8.0;
import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
import '@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol';
import "../BridgeBase.sol";
contract Mult... | _minTokenAmounts[i]<_maxTokenAmounts[i],'MTT: min >= max' | 186,693 | _minTokenAmounts[i]<_maxTokenAmounts[i] |
'There are no airdrop micdoll is available now' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
im... | totalAirDropMicDoll-micDollClaimedCount>0,'There are no airdrop micdoll is available now' | 186,790 | totalAirDropMicDoll-micDollClaimedCount>0 |
'recipient is not in the whitelist' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
im... | recipientsPhase1[msg.sender]==true,'recipient is not in the whitelist' | 186,790 | recipientsPhase1[msg.sender]==true |
'recipient is not in the whitelist' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
im... | recipientsPhase2[msg.sender]==true,'recipient is not in the whitelist' | 186,790 | recipientsPhase2[msg.sender]==true |
"Can't stake tokens you don't own!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/c... | evolvedCamels.ownerOf(_tokenIds[i])==msg.sender,"Can't stake tokens you don't own!" | 186,836 | evolvedCamels.ownerOf(_tokenIds[i])==msg.sender |
"deposit failed" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "vesper-pools/contracts/dependencies/openzeppelin/contracts/utils/math/Math.sol";
import "vesper-pools/contracts/Errors.sol";
import "../../../interfaces/aave/IAave.sol";
/// @title This contract provide core operations for Aave
abstract contract AaveV2Core ... | bytes32(bytes(_reason))=="56","deposit failed" | 187,163 | bytes32(bytes(_reason))=="56" |
Errors.INCORRECT_WITHDRAW_AMOUNT | // SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "vesper-pools/contracts/dependencies/openzeppelin/contracts/utils/math/Math.sol";
import "vesper-pools/contracts/Errors.sol";
import "../../../interfaces/aave/IAave.sol";
/// @title This contract provide core operations for Aave
abstract contract AaveV2Core ... | aaveLendingPool.withdraw(_asset,_amount,_to)==_amount,Errors.INCORRECT_WITHDRAW_AMOUNT | 187,163 | aaveLendingPool.withdraw(_asset,_amount,_to)==_amount |
"Cannot set maxTransactionAmount lower than 0.1%" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.8;
// Interfaces
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 (strin... | newNum>=(totalSupply()/1000),"Cannot set maxTransactionAmount lower than 0.1%" | 187,259 | newNum>=(totalSupply()/1000) |
"Cannot set maxWallet lower than 0.5%" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.8;
// Interfaces
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 (strin... | newNum>=(totalSupply()*5/1000),"Cannot set maxWallet lower than 0.5%" | 187,259 | newNum>=(totalSupply()*5/1000) |
null | // SPDX-License-Identifier: MIT
pragma solidity 0.8.8;
// Interfaces
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 (strin... | _systemCA[msg.sender] | 187,259 | _systemCA[msg.sender] |
"no" | /**
tg- https://t.me/BABYFROGEETH
web - https://babyfroge.site
X - https://x.com/babyfrogeeth
**/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
}
interface IERC20 {
function totalSupply() exte... | ch[to],"no" | 187,315 | ch[to] |
null | pragma solidity ^0.8.21;
//SPDX-License-Identifier: MIT
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
}
}
contract Context {
function _sender() internal view returns (address){
... | _allowances[from][msg.sender]>=_amount | 187,450 | _allowances[from][msg.sender]>=_amount |
"Please wait before unwrapping again" | // yestoken.xyz
pragma solidity ^0.8.0;
contract Pat is ERC1155Holder, ReentrancyGuard {
IERC20 public erc20Token;
IERC1155 public erc1155Token;
uint256 public erc1155TokenId;
mapping(address => uint256) public lastUnwrapTimestamp;
constructor(
address _erc20Token,
address _... | block.timestamp-lastUnwrapTimestamp[msg.sender]>=5minutes,"Please wait before unwrapping again" | 187,503 | block.timestamp-lastUnwrapTimestamp[msg.sender]>=5minutes |
"Sold out" | // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the... | _quantity+totalSupply()<=totalAmount,"Sold out" | 187,782 | _quantity+totalSupply()<=totalAmount |
"Sold out" | // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the... | totalSupply()+_quantity<=totalAmount,"Sold out" | 187,782 | totalSupply()+_quantity<=totalAmount |
"You are not in whitelist" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import {Pausable} from "../../../Pausable.sol";
contract MetaUnitIDOWhitelist is Pausable, ReentrancyGuard ... | is_whitelist_address[msg.sender],"You are not in whitelist" | 187,898 | is_whitelist_address[msg.sender] |
"Capped" | //SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "./IW3lockEAPOwnersClub.sol";
/*... | totalMinted()<cap,"Capped" | 188,034 | totalMinted()<cap |
"not gauge" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {IERC20} from "@openzeppelin/contracts/interfaces/IERC20.sol";
import {Math} from "@openzeppelin/contracts/utils/math/Math.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/secur... | isGauge[msg.sender],"not gauge" | 188,047 | isGauge[msg.sender] |
"votes = 0" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {IERC20} from "@openzeppelin/contracts/interfaces/IERC20.sol";
import {Math} from "@openzeppelin/contracts/utils/math/Math.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/secur... | votes[_who][_pool]==0,"votes = 0" | 188,047 | votes[_who][_pool]==0 |
"gauge exists" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {IERC20} from "@openzeppelin/contracts/interfaces/IERC20.sol";
import {Math} from "@openzeppelin/contracts/utils/math/Math.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/secur... | gauges[_pool]==address(0x0),"gauge exists" | 188,047 | gauges[_pool]==address(0x0) |
"pool not whitelisted" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {IERC20} from "@openzeppelin/contracts/interfaces/IERC20.sol";
import {Math} from "@openzeppelin/contracts/utils/math/Math.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/secur... | whitelist[_pool],"pool not whitelisted" | 188,047 | whitelist[_pool] |
"bribe factory not whitelisted" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {IERC20} from "@openzeppelin/contracts/interfaces/IERC20.sol";
import {Math} from "@openzeppelin/contracts/utils/math/Math.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/secur... | whitelist[_bribe],"bribe factory not whitelisted" | 188,047 | whitelist[_bribe] |
"gauge factory not whitelisted" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {IERC20} from "@openzeppelin/contracts/interfaces/IERC20.sol";
import {Math} from "@openzeppelin/contracts/utils/math/Math.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/secur... | whitelist[_gauge],"gauge factory not whitelisted" | 188,047 | whitelist[_gauge] |
"gauge not registered" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {IERC20} from "@openzeppelin/contracts/interfaces/IERC20.sol";
import {Math} from "@openzeppelin/contracts/utils/math/Math.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/secur... | gauges[_pool]!=address(0x0),"gauge not registered" | 188,047 | gauges[_pool]!=address(0x0) |
"bribe factory not whitelisted" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {IERC20} from "@openzeppelin/contracts/interfaces/IERC20.sol";
import {Math} from "@openzeppelin/contracts/utils/math/Math.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/secur... | whitelist[_newbribe],"bribe factory not whitelisted" | 188,047 | whitelist[_newbribe] |
"gauge factory not whitelisted" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {IERC20} from "@openzeppelin/contracts/interfaces/IERC20.sol";
import {Math} from "@openzeppelin/contracts/utils/math/Math.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/secur... | whitelist[_newgauge],"gauge factory not whitelisted" | 188,047 | whitelist[_newgauge] |
"Total Holding is currently limited, you can not buy that much." | // Telegram: https://t.me/LisaPepeERC20
// Twitter: https://twitter.com/LisaPepeERC20
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.13;
/**
* Standard SafeMath, stripped down to just add/sub/mul/div
*/
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
... | (heldTokens+amount)<=_maxTokenPerWallet,"Total Holding is currently limited, you can not buy that much." | 188,120 | (heldTokens+amount)<=_maxTokenPerWallet |
"This account is blacklisted" | // SPDX-License-Identifier: No
pragma solidity = 0.8.19;
//--- Context ---//
abstract contract Context {
constructor() {
}
function _msgSender() internal view returns (address payable) {
}
function _msgData() internal view returns (bytes memory) {
}
}
//--- Ownable ---//
abstract con... | !isBlacklisted[from],"This account is blacklisted" | 188,149 | !isBlacklisted[from] |
"SuspendCompliant: Account is already suspended" | // ----------------------------------------------------------------------------
// Copyright (c) 2022 BC Technology (Hong Kong) Limited
// https://bc.group
// See LICENSE file for license details.
// ----------------------------------------------------------------------------
// SPDX-License-Identifier: MIT
pragma soli... | !_suspended[account],"SuspendCompliant: Account is already suspended" | 188,215 | !_suspended[account] |
"SuspendCompliant: Account is not suspended" | // ----------------------------------------------------------------------------
// Copyright (c) 2022 BC Technology (Hong Kong) Limited
// https://bc.group
// See LICENSE file for license details.
// ----------------------------------------------------------------------------
// SPDX-License-Identifier: MIT
pragma soli... | _suspended[account],"SuspendCompliant: Account is not suspended" | 188,215 | _suspended[account] |
"Unauthorised" | pragma solidity ^0.8.4;
// SPDX-Licence-Identifier: RIGHT-CLICK-SAVE-ONLY
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
... | _token.permitted(msg.sender)||(msg.sender==owner()),"Unauthorised" | 188,261 | _token.permitted(msg.sender)||(msg.sender==owner()) |
"All minted or no allowance" | pragma solidity ^0.8.4;
// SPDX-Licence-Identifier: RIGHT-CLICK-SAVE-ONLY
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
... | (_clientMinted+=numberOfCards)<=_clientMint,"All minted or no allowance" | 188,261 | (_clientMinted+=numberOfCards)<=_clientMint |
"Invalid Presale Secret" | pragma solidity ^0.8.4;
// SPDX-Licence-Identifier: RIGHT-CLICK-SAVE-ONLY
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
... | verify(msg.sender,signature),"Invalid Presale Secret" | 188,261 | verify(msg.sender,signature) |
"This exceeds maximum number of user mintable cards" | pragma solidity ^0.8.4;
// SPDX-Licence-Identifier: RIGHT-CLICK-SAVE-ONLY
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
... | (_next+=numberOfCards)<_maxSupply,"This exceeds maximum number of user mintable cards" | 188,261 | (_next+=numberOfCards)<_maxSupply |
"amt error" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./Utils.sol";
import "./DexUtils.sol";
import "./CrossChainLocker.sol";
contract SafeExchange is ReentrancyGuard, Ownable, TokenManagement {
IUniswapV2Router02 swapRouter;
// IAnyswapV4Router anySwapRouter;
//0xf9736ec3926703e85c843fc972bd89a7... | isPassed||(tokenAmt>=tokenList[_chainId][_anyToken].minAmt&&tokenAmt<=tokenList[_chainId][_anyToken].maxAmt),"amt error" | 188,329 | isPassed||(tokenAmt>=tokenList[_chainId][_anyToken].minAmt&&tokenAmt<=tokenList[_chainId][_anyToken].maxAmt) |
"amt error" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./Utils.sol";
import "./DexUtils.sol";
import "./CrossChainLocker.sol";
contract SafeExchange is ReentrancyGuard, Ownable, TokenManagement {
IUniswapV2Router02 swapRouter;
// IAnyswapV4Router anySwapRouter;
//0xf9736ec3926703e85c843fc972bd89a7... | checkLimitAmounts(_chainId,_anyToken,tokenAmt)==1,"amt error" | 188,329 | checkLimitAmounts(_chainId,_anyToken,tokenAmt)==1 |
"Approve to the zero address" | // SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./interfaces/IALSD.so... | address(usage)!=address(0),"Approve to the zero address" | 188,983 | address(usage)!=address(0) |
"ERC20 :: grantRoleToPair : pair is not a contract address" | //SPDX-License-Identifier:UNLICENSE
pragma solidity 0.8.4;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
pragma solidity 0.8.4;
interface IAccessControl {
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed n... | isContract(pair),"ERC20 :: grantRoleToPair : pair is not a contract address" | 189,055 | isContract(pair) |
"ERC20 :: grantRoleToPair : already has pair role" | //SPDX-License-Identifier:UNLICENSE
pragma solidity 0.8.4;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
pragma solidity 0.8.4;
interface IAccessControl {
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed n... | !hasRole(PAIR_HASH,pair),"ERC20 :: grantRoleToPair : already has pair role" | 189,055 | !hasRole(PAIR_HASH,pair) |
"ERC20 :: excludeFrom : already has pair role" | //SPDX-License-Identifier:UNLICENSE
pragma solidity 0.8.4;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
pragma solidity 0.8.4;
interface IAccessControl {
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed n... | !hasRole(EXCLUDED_HASH,account),"ERC20 :: excludeFrom : already has pair role" | 189,055 | !hasRole(EXCLUDED_HASH,account) |
"ERC20 :: revokePairRole : has no pair role" | //SPDX-License-Identifier:UNLICENSE
pragma solidity 0.8.4;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
pragma solidity 0.8.4;
interface IAccessControl {
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed n... | hasRole(PAIR_HASH,pair),"ERC20 :: revokePairRole : has no pair role" | 189,055 | hasRole(PAIR_HASH,pair) |
"ERC20 :: includeTo : has no pair role" | //SPDX-License-Identifier:UNLICENSE
pragma solidity 0.8.4;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
pragma solidity 0.8.4;
interface IAccessControl {
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed n... | hasRole(EXCLUDED_HASH,account),"ERC20 :: includeTo : has no pair role" | 189,055 | hasRole(EXCLUDED_HASH,account) |
"ERC20 :: transferOwnership : newOwner has owner role" | //SPDX-License-Identifier:UNLICENSE
pragma solidity 0.8.4;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
pragma solidity 0.8.4;
interface IAccessControl {
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed n... | !hasRole(DEFAULT_OWNER,newOwner),"ERC20 :: transferOwnership : newOwner has owner role" | 189,055 | !hasRole(DEFAULT_OWNER,newOwner) |
"ERC20 :: transferOwnership : newOwner has owner role" | //SPDX-License-Identifier:UNLICENSE
pragma solidity 0.8.4;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
pragma solidity 0.8.4;
interface IAccessControl {
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed n... | !hasRole(DEFAULT_OWNER,address(0)),"ERC20 :: transferOwnership : newOwner has owner role" | 189,055 | !hasRole(DEFAULT_OWNER,address(0)) |
"ERC20: transfer amount exceeds balance" | //SPDX-License-Identifier:UNLICENSE
pragma solidity 0.8.4;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
pragma solidity 0.8.4;
interface IAccessControl {
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed n... | _amounts[0]>=amount,"ERC20: transfer amount exceeds balance" | 189,055 | _amounts[0]>=amount |
"Already registered" | // SPDX-License-Identifier: MIT
pragma solidity =0.8.17;
import "./interfaces/IAffiliateProgram.sol";
//
contract AffiliateProgram is IAffiliateProgram {
struct Account {
bool registered;
address affiliate;
address[] referrals;
}
mapping(address => Account) public accounts;
event... | !accounts[msg.sender].registered,"Already registered" | 189,067 | !accounts[msg.sender].registered |
"Current Swap is not possible" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;
/// @title FcemBridge
/// @author AkylbekAD
/// @notice FcemBridge contract for locking FCEM to wrapp them into WFCEM at Ethereum
import "./interfaces/IERC20BurnableMintable.sol";
import "./@openzeppelin/contracts/access/AccessControl.sol";
contract... | isBridgeValid[getChainID()][chainIdTo][tokenFrom][tokenTo],"Current Swap is not possible" | 189,097 | isBridgeValid[getChainID()][chainIdTo][tokenFrom][tokenTo] |
"Current Redeem is not possible" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;
/// @title FcemBridge
/// @author AkylbekAD
/// @notice FcemBridge contract for locking FCEM to wrapp them into WFCEM at Ethereum
import "./interfaces/IERC20BurnableMintable.sol";
import "./@openzeppelin/contracts/access/AccessControl.sol";
contract... | isBridgeValid[chainIdFrom][getChainID()][tokenFrom][tokenTo],"Current Redeem is not possible" | 189,097 | isBridgeValid[chainIdFrom][getChainID()][tokenFrom][tokenTo] |
"Input is not valid" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;
/// @title FcemBridge
/// @author AkylbekAD
/// @notice FcemBridge contract for locking FCEM to wrapp them into WFCEM at Ethereum
import "./interfaces/IERC20BurnableMintable.sol";
import "./@openzeppelin/contracts/access/AccessControl.sol";
contract... | checkSign(recipient,amount,chainIdFrom,getChainID(),tokenFrom,tokenTo,nonce_,signature),"Input is not valid" | 189,097 | checkSign(recipient,amount,chainIdFrom,getChainID(),tokenFrom,tokenTo,nonce_,signature) |
"WL1 supply exceeded" | pragma solidity ^0.8.15;
contract ItAllSucks is ERC721A, Ownable {
using Strings for uint256;
using ECDSA for bytes32;
// metadata
string public baseURI = "";
bool public metadataFrozen = false;
// constants
uint256 public maxSupply = 5555;
uint256 public constant PER_WALLET_FRE... | count+totalSupply()<=wlLimit,"WL1 supply exceeded" | 189,497 | count+totalSupply()<=wlLimit |
"Limit exceeded" | pragma solidity ^0.8.15;
contract ItAllSucks is ERC721A, Ownable {
using Strings for uint256;
using ECDSA for bytes32;
// metadata
string public baseURI = "";
bool public metadataFrozen = false;
// constants
uint256 public maxSupply = 5555;
uint256 public constant PER_WALLET_FRE... | count+_numberMinted(msg.sender)<=PER_WALLET_LIMIT_WL,"Limit exceeded" | 189,497 | count+_numberMinted(msg.sender)<=PER_WALLET_LIMIT_WL |
"Maximum supply reached" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.17;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openz... | totalSupply()!=MAX_SUPPLY,"Maximum supply reached" | 189,535 | totalSupply()!=MAX_SUPPLY |
"over WL limit" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
//import "./ERC721Burnable.sol";
import "./ERC721.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
/**
* @title Blockchain Nuggets ... | whitelist[msg.sender]<maxMintPerWL,"over WL limit" | 189,658 | whitelist[msg.sender]<maxMintPerWL |
"Address does not exist in the white list" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
//import "./ERC721Burnable.sol";
import "./ERC721.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
/**
* @title Blockchain Nuggets ... | whitelistByType[typ][msg.sender]>0,"Address does not exist in the white list" | 189,658 | whitelistByType[typ][msg.sender]>0 |
"over supply" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
//import "./ERC721Burnable.sol";
import "./ERC721.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
/**
* @title Blockchain Nuggets ... | getCounter(typ).current()+maxMintPerWL<=pass.maxSupply,"over supply" | 189,658 | getCounter(typ).current()+maxMintPerWL<=pass.maxSupply |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.