comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"account-guard/wrong-guard-address" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.17;
// Uncomment this line to use console.log
// import "hardhat/console.sol";
import "./AccountGuard.sol";
contract AccountImplementation {
AccountGuard public immutable guard;
modifier authAndWhitelisted(address target, bool asDelegateCall) {
}
... | address(_guard)!=address(0x0),"account-guard/wrong-guard-address" | 400,110 | address(_guard)!=address(0x0) |
"stream already exists" | //SPDX-License-Identifier: None
pragma solidity ^0.8.0;
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {BoringBatchable} from "./fork/BoringBatchable.sol";
interface Factory {
function parameter() exter... | streamToStart[streamId]==0,"stream already exists" | 400,118 | streamToStart[streamId]==0 |
"stream doesn't exist" | //SPDX-License-Identifier: None
pragma solidity ^0.8.0;
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {BoringBatchable} from "./fork/BoringBatchable.sol";
interface Factory {
function parameter() exter... | streamToStart[streamId]!=0,"stream doesn't exist" | 400,118 | streamToStart[streamId]!=0 |
"pls no rug" | //SPDX-License-Identifier: None
pragma solidity ^0.8.0;
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {BoringBatchable} from "./fork/BoringBatchable.sol";
interface Factory {
function parameter() exter... | balances[msg.sender]>=delta*uint(payer.totalPaidPerSec),"pls no rug" | 400,118 | balances[msg.sender]>=delta*uint(payer.totalPaidPerSec) |
"only owners approved" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
interface IMintableERC20 is IERC... | (_owner==msg.sender),"only owners approved" | 400,119 | (_owner==msg.sender) |
"only owners approved" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
interface IMintableERC20 is IERC... | erc721Token.ownerOf(_tokenIds[i])==msg.sender,"only owners approved" | 400,119 | erc721Token.ownerOf(_tokenIds[i])==msg.sender |
"care package has already been claimed for this id" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
interface IMintableERC20 is IERC... | (isClaimed(_tokenId)==false),"care package has already been claimed for this id" | 400,119 | (isClaimed(_tokenId)==false) |
"NOT_ACTIVE" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {HeyMintERC721AUpgradeable} from "./HeyMintERC721AUpgradeable.sol";
import {AdvancedConfig, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {MerkleProofUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/cryptography/MerkleProofUpgra... | state.advCfg.depositClaimActive,"NOT_ACTIVE" | 400,539 | state.advCfg.depositClaimActive |
"MAX_SUPPLY_EXCEEDED" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {HeyMintERC721AUpgradeable} from "./HeyMintERC721AUpgradeable.sol";
import {AdvancedConfig, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {MerkleProofUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/cryptography/MerkleProofUpgra... | totalSupply()+numberOfTokens<=state.cfg.maxSupply,"MAX_SUPPLY_EXCEEDED" | 400,539 | totalSupply()+numberOfTokens<=state.cfg.maxSupply |
"INVALID_MERKLE_PROOF" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {HeyMintERC721AUpgradeable} from "./HeyMintERC721AUpgradeable.sol";
import {AdvancedConfig, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {MerkleProofUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/cryptography/MerkleProofUpgra... | MerkleProofUpgradeable.verify(_merkleProofs[i],state.advCfg.depositMerkleRoot,keccak256(abi.encodePacked(_tokenIds[i]))),"INVALID_MERKLE_PROOF" | 400,539 | MerkleProofUpgradeable.verify(_merkleProofs[i],state.advCfg.depositMerkleRoot,keccak256(abi.encodePacked(_tokenIds[i]))) |
"MUST_OWN_TOKEN" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {HeyMintERC721AUpgradeable} from "./HeyMintERC721AUpgradeable.sol";
import {AdvancedConfig, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {MerkleProofUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/cryptography/MerkleProofUpgra... | DepositContract.ownerOf(_tokenIds[i])==msg.sender,"MUST_OWN_TOKEN" | 400,539 | DepositContract.ownerOf(_tokenIds[i])==msg.sender |
"FUNDING_TARGET_NOT_MET" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {HeyMintERC721AUpgradeable} from "./HeyMintERC721AUpgradeable.sol";
import {AdvancedConfig, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {MerkleProofUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/cryptography/MerkleProofUpgra... | address(this).balance>=fundingTargetInWei(),"FUNDING_TARGET_NOT_MET" | 400,539 | address(this).balance>=fundingTargetInWei() |
"SUCCESS_ALREADY_DETERMINED" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {HeyMintERC721AUpgradeable} from "./HeyMintERC721AUpgradeable.sol";
import {AdvancedConfig, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {MerkleProofUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/cryptography/MerkleProofUpgra... | !state.data.fundingSuccessDetermined,"SUCCESS_ALREADY_DETERMINED" | 400,539 | !state.data.fundingSuccessDetermined |
"FUNDING_TARGET_WAS_MET" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {HeyMintERC721AUpgradeable} from "./HeyMintERC721AUpgradeable.sol";
import {AdvancedConfig, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {MerkleProofUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/cryptography/MerkleProofUpgra... | !state.data.fundingTargetReached,"FUNDING_TARGET_WAS_MET" | 400,539 | !state.data.fundingTargetReached |
"FUNDING_TARGET_WAS_MET" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {HeyMintERC721AUpgradeable} from "./HeyMintERC721AUpgradeable.sol";
import {AdvancedConfig, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {MerkleProofUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/cryptography/MerkleProofUpgra... | address(this).balance<fundingTargetInWei(),"FUNDING_TARGET_WAS_MET" | 400,539 | address(this).balance<fundingTargetInWei() |
"MUST_OWN_TOKEN" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {HeyMintERC721AUpgradeable} from "./HeyMintERC721AUpgradeable.sol";
import {AdvancedConfig, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {MerkleProofUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/cryptography/MerkleProofUpgra... | ownerOf(_tokenIds[i])==msg.sender,"MUST_OWN_TOKEN" | 400,539 | ownerOf(_tokenIds[i])==msg.sender |
"TOKEN_WAS_NOT_PURCHASED" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {HeyMintERC721AUpgradeable} from "./HeyMintERC721AUpgradeable.sol";
import {AdvancedConfig, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {MerkleProofUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/cryptography/MerkleProofUpgra... | state.data.pricePaid[_tokenIds[i]]>0,"TOKEN_WAS_NOT_PURCHASED" | 400,539 | state.data.pricePaid[_tokenIds[i]]>0 |
"CANNOT_LOAN_BORROWED_TOKEN" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {HeyMintERC721AUpgradeable} from "./HeyMintERC721AUpgradeable.sol";
import {AdvancedConfig, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {MerkleProofUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/cryptography/MerkleProofUpgra... | state.data.tokenOwnersOnLoan[_tokenId]==address(0),"CANNOT_LOAN_BORROWED_TOKEN" | 400,539 | state.data.tokenOwnersOnLoan[_tokenId]==address(0) |
"NOT_ACTIVE" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {HeyMintERC721AUpgradeable} from "./HeyMintERC721AUpgradeable.sol";
import {AdvancedConfig, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {MerkleProofUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/cryptography/MerkleProofUpgra... | state.advCfg.loaningActive,"NOT_ACTIVE" | 400,539 | state.advCfg.loaningActive |
"MUST_OWN_TOKEN" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {HeyMintERC721AUpgradeable} from "./HeyMintERC721AUpgradeable.sol";
import {AdvancedConfig, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {MerkleProofUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/cryptography/MerkleProofUpgra... | state.data.tokenOwnersOnLoan[_tokenId]==msg.sender,"MUST_OWN_TOKEN" | 400,539 | state.data.tokenOwnersOnLoan[_tokenId]==msg.sender |
"REFUND_GUARANTEE_EXPIRED" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {HeyMintERC721AUpgradeable} from "./HeyMintERC721AUpgradeable.sol";
import {AdvancedConfig, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {MerkleProofUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/cryptography/MerkleProofUpgra... | refundGuaranteeActive(),"REFUND_GUARANTEE_EXPIRED" | 400,539 | refundGuaranteeActive() |
"TOKEN_IS_SOULBOUND" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {Data, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {ERC721AUpgradeable, IERC721AUpgradeable, ERC721AStorage} from "erc721a-upgradeable/contracts/ERC721AUpgradeable.sol";
import {ERC4907AUpgradeable} from "erc721a-upgradeable/contracts/ext... | !HeyMintStorage.state().cfg.soulbindingActive,"TOKEN_IS_SOULBOUND" | 400,541 | !HeyMintStorage.state().cfg.soulbindingActive |
"TOKEN_IS_STAKED" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {Data, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {ERC721AUpgradeable, IERC721AUpgradeable, ERC721AStorage} from "erc721a-upgradeable/contracts/ERC721AUpgradeable.sol";
import {ERC4907AUpgradeable} from "erc721a-upgradeable/contracts/ext... | !state.advCfg.stakingActive||state.data.stakingTransferActive||state.data.currentTimeStaked[tokenId]==0,"TOKEN_IS_STAKED" | 400,541 | !state.advCfg.stakingActive||state.data.stakingTransferActive||state.data.currentTimeStaked[tokenId]==0 |
"CANNOT_TRANSFER_LOANED_TOKEN" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import {Data, HeyMintStorage} from "../libraries/HeyMintStorage.sol";
import {ERC721AUpgradeable, IERC721AUpgradeable, ERC721AStorage} from "erc721a-upgradeable/contracts/ERC721AUpgradeable.sol";
import {ERC4907AUpgradeable} from "erc721a-upgradeable/contracts/ext... | state.data.tokenOwnersOnLoan[tokenId]==address(0),"CANNOT_TRANSFER_LOANED_TOKEN" | 400,541 | state.data.tokenOwnersOnLoan[tokenId]==address(0) |
"Mint limit for this account has been exceeded" | // SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.7.0 <0.9.0;
// import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts-upgradeable/... | count+quantity<=mintLimit||mintLimit==0,"Mint limit for this account has been exceeded" | 400,687 | count+quantity<=mintLimit||mintLimit==0 |
"Mint limit for this account has been exceeded" | // SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.7.0 <0.9.0;
// import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts-upgradeable/... | count+quantity<=customLimit,"Mint limit for this account has been exceeded" | 400,687 | count+quantity<=customLimit |
"Metadata has already been revealed" | // SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.7.0 <0.9.0;
// import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts-upgradeable/... | bytes(placeholderImage).length!=0,"Metadata has already been revealed" | 400,687 | bytes(placeholderImage).length!=0 |
"Placeholder image cannot be empty" | // SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.7.0 <0.9.0;
// import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts-upgradeable/... | bytes(placeholderImage_).length!=0,"Placeholder image cannot be empty" | 400,687 | bytes(placeholderImage_).length!=0 |
"Not enought Balance to Transfer" | // SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.7.0 <0.9.0;
// import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts-upgradeable/... | address(this).balance<=ammount,"Not enought Balance to Transfer" | 400,687 | address(this).balance<=ammount |
"Base URI is locked, it cannot be edited" | // SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.7.0 <0.9.0;
// import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts-upgradeable/... | !lockBaseUri,"Base URI is locked, it cannot be edited" | 400,687 | !lockBaseUri |
Errors.ONLY_UNPAUSED | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
import {IBabController} from '../interfaces/IBabController.sol';
import {TimeLockRegistry} from './TimeLockRegistry.sol';
import {IRewardsDistributor} from '../interfaces/IRewardsDistributor.sol';
import {VoteToken} from './VoteToken.sol';
import {Ownable} f... | (!IBabController(controller).isPaused(address(this)),Errors.ONLY_UNPAUSED | 400,702 | !IBabController(controller).isPaused(address(this)) |
'BABL must flow' | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
import {IBabController} from '../interfaces/IBabController.sol';
import {TimeLockRegistry} from './TimeLockRegistry.sol';
import {IRewardsDistributor} from '../interfaces/IRewardsDistributor.sol';
import {VoteToken} from './VoteToken.sol';
import {Ownable} f... | !tokenTransfersWereDisabled,'BABL must flow' | 400,702 | !tokenTransfersWereDisabled |
'cannot be zero address' | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
import {IBabController} from '../interfaces/IBabController.sol';
import {TimeLockRegistry} from './TimeLockRegistry.sol';
import {IRewardsDistributor} from '../interfaces/IRewardsDistributor.sol';
import {VoteToken} from './VoteToken.sol';
import {Ownable} f... | address(newTimeLockRegistry)!=address(0),'cannot be zero address' | 400,702 | address(newTimeLockRegistry)!=address(0) |
'cannot be this contract' | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
import {IBabController} from '../interfaces/IBabController.sol';
import {TimeLockRegistry} from './TimeLockRegistry.sol';
import {IRewardsDistributor} from '../interfaces/IRewardsDistributor.sol';
import {VoteToken} from './VoteToken.sol';
import {Ownable} f... | address(newTimeLockRegistry)!=address(this),'cannot be this contract' | 400,702 | address(newTimeLockRegistry)!=address(this) |
'must be new TimeLockRegistry' | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
import {IBabController} from '../interfaces/IBabController.sol';
import {TimeLockRegistry} from './TimeLockRegistry.sol';
import {IRewardsDistributor} from '../interfaces/IRewardsDistributor.sol';
import {VoteToken} from './VoteToken.sol';
import {Ownable} f... | address(newTimeLockRegistry)!=address(timeLockRegistry),'must be new TimeLockRegistry' | 400,702 | address(newTimeLockRegistry)!=address(timeLockRegistry) |
'cannot be zero address' | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
import {IBabController} from '../interfaces/IBabController.sol';
import {TimeLockRegistry} from './TimeLockRegistry.sol';
import {IRewardsDistributor} from '../interfaces/IRewardsDistributor.sol';
import {VoteToken} from './VoteToken.sol';
import {Ownable} f... | address(newRewardsDistributor)!=address(0),'cannot be zero address' | 400,702 | address(newRewardsDistributor)!=address(0) |
'cannot be this contract' | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
import {IBabController} from '../interfaces/IBabController.sol';
import {TimeLockRegistry} from './TimeLockRegistry.sol';
import {IRewardsDistributor} from '../interfaces/IRewardsDistributor.sol';
import {VoteToken} from './VoteToken.sol';
import {Ownable} f... | address(newRewardsDistributor)!=address(this),'cannot be this contract' | 400,702 | address(newRewardsDistributor)!=address(this) |
'must be new Rewards Distributor' | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
import {IBabController} from '../interfaces/IBabController.sol';
import {TimeLockRegistry} from './TimeLockRegistry.sol';
import {IRewardsDistributor} from '../interfaces/IRewardsDistributor.sol';
import {VoteToken} from './VoteToken.sol';
import {Ownable} f... | address(newRewardsDistributor)!=address(rewardsDistributor),'must be new Rewards Distributor' | 400,702 | address(newRewardsDistributor)!=address(rewardsDistributor) |
'TimeLockedToken::increaseAllowance:Not enough unlocked tokens' | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
import {IBabController} from '../interfaces/IBabController.sol';
import {TimeLockRegistry} from './TimeLockRegistry.sol';
import {IRewardsDistributor} from '../interfaces/IRewardsDistributor.sol';
import {VoteToken} from './VoteToken.sol';
import {Ownable} f... | unlockedBalance(msg.sender)>=allowance(msg.sender,spender).add(addedValue)||spender==address(timeLockRegistry),'TimeLockedToken::increaseAllowance:Not enough unlocked tokens' | 400,702 | unlockedBalance(msg.sender)>=allowance(msg.sender,spender).add(addedValue)||spender==address(timeLockRegistry) |
'TimeLockedToken::decreaseAllowance:Underflow condition' | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
import {IBabController} from '../interfaces/IBabController.sol';
import {TimeLockRegistry} from './TimeLockRegistry.sol';
import {IRewardsDistributor} from '../interfaces/IRewardsDistributor.sol';
import {VoteToken} from './VoteToken.sol';
import {Ownable} f... | allowance(msg.sender,spender)>=subtractedValue,'TimeLockedToken::decreaseAllowance:Underflow condition' | 400,702 | allowance(msg.sender,spender)>=subtractedValue |
'TimeLockedToken::decreaseAllowance:cannot decrease allowance to timeLockRegistry' | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
import {IBabController} from '../interfaces/IBabController.sol';
import {TimeLockRegistry} from './TimeLockRegistry.sol';
import {IRewardsDistributor} from '../interfaces/IRewardsDistributor.sol';
import {VoteToken} from './VoteToken.sol';
import {Ownable} f... | address(spender)!=address(timeLockRegistry),'TimeLockedToken::decreaseAllowance:cannot decrease allowance to timeLockRegistry' | 400,702 | address(spender)!=address(timeLockRegistry) |
'TimeLockedToken:: _transfer: attempting to transfer locked funds' | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
import {IBabController} from '../interfaces/IBabController.sol';
import {TimeLockRegistry} from './TimeLockRegistry.sol';
import {IRewardsDistributor} from '../interfaces/IRewardsDistributor.sol';
import {VoteToken} from './VoteToken.sol';
import {Ownable} f... | unlockedBalance(_from)>=_value,'TimeLockedToken:: _transfer: attempting to transfer locked funds' | 400,702 | unlockedBalance(_from)>=_value |
'TimeLockedToken::cancelTokens:Not registered' | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
import {IBabController} from '../interfaces/IBabController.sol';
import {TimeLockRegistry} from './TimeLockRegistry.sol';
import {IRewardsDistributor} from '../interfaces/IRewardsDistributor.sol';
import {VoteToken} from './VoteToken.sol';
import {Ownable} f... | distribution[lockedAccount]!=0,'TimeLockedToken::cancelTokens:Not registered' | 400,702 | distribution[lockedAccount]!=0 |
'TimeLockedToken::cancelTokens:cannot cancel locked tokens to Investors' | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
import {IBabController} from '../interfaces/IBabController.sol';
import {TimeLockRegistry} from './TimeLockRegistry.sol';
import {IRewardsDistributor} from '../interfaces/IRewardsDistributor.sol';
import {VoteToken} from './VoteToken.sol';
import {Ownable} f... | vestedToken[lockedAccount].teamOrAdvisor==true,'TimeLockedToken::cancelTokens:cannot cancel locked tokens to Investors' | 400,702 | vestedToken[lockedAccount].teamOrAdvisor==true |
'TimeLockedToken::cancelTokens:Transfer failed' | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
import {IBabController} from '../interfaces/IBabController.sol';
import {TimeLockRegistry} from './TimeLockRegistry.sol';
import {IRewardsDistributor} from '../interfaces/IRewardsDistributor.sol';
import {VoteToken} from './VoteToken.sol';
import {Ownable} f... | transferFrom(lockedAccount,address(timeLockRegistry),loosingAmount),'TimeLockedToken::cancelTokens:Transfer failed' | 400,702 | transferFrom(lockedAccount,address(timeLockRegistry),loosingAmount) |
"Exceeds total supply" | //Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Counters.sol";... | _tokenIds.current()+numberOfTokens<=totalNfts,"Exceeds total supply" | 400,774 | _tokenIds.current()+numberOfTokens<=totalNfts |
'Already in premint list' | //Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Counters.sol";... | _premintList[_addresses[i]]!=2,'Already in premint list' | 400,774 | _premintList[_addresses[i]]!=2 |
"Ether value sent is not correct" | //Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Counters.sol";... | 0.03ether*numberOfTokens>=msg.value,"Ether value sent is not correct" | 400,774 | 0.03ether*numberOfTokens>=msg.value |
null | //Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Counters.sol";... | payable(withdraw_address).send(address(this).balance) | 400,774 | payable(withdraw_address).send(address(this).balance) |
"Root/target-not-scheduled" | // SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.21;
import {Auth} from "./util/Auth.sol";
interface AuthLike {
function rely(address) external;
function deny(address) external;
}
/// @title Root
/// @notice Core contract that is a ward on all other deployed contracts.
/// @dev Pausing can happ... | schedule[target]!=0,"Root/target-not-scheduled" | 400,859 | schedule[target]!=0 |
"Root/target-not-ready" | // SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.21;
import {Auth} from "./util/Auth.sol";
interface AuthLike {
function rely(address) external;
function deny(address) external;
}
/// @title Root
/// @notice Core contract that is a ward on all other deployed contracts.
/// @dev Pausing can happ... | schedule[target]<=block.timestamp,"Root/target-not-ready" | 400,859 | schedule[target]<=block.timestamp |
"Exceeds max supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/common/ERC2981.so... | totalSupply()+_count<=supplyMax,"Exceeds max supply" | 401,061 | totalSupply()+_count<=supplyMax |
"Exceeds max mints per wallet" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/common/ERC2981.so... | _mintedAmount+_count<=limitWallet,"Exceeds max mints per wallet" | 401,061 | _mintedAmount+_count<=limitWallet |
"Exceeds WL max supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/common/ERC2981.so... | totalSupply()+_count<=supplyWL,"Exceeds WL max supply" | 401,061 | totalSupply()+_count<=supplyWL |
"Invalid proof!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/common/ERC2981.so... | MerkleProof.verify(_proof,merkleRootSW,leaf),"Invalid proof!" | 401,061 | MerkleProof.verify(_proof,merkleRootSW,leaf) |
"Exceeds WL max supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/common/ERC2981.so... | totalSupply()+_count<=supplySW,"Exceeds WL max supply" | 401,061 | totalSupply()+_count<=supplySW |
"ERC20: trading is not yet enabled." | pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
interface IDEXFactory {
function createPair(address tokenA, address tokenB) external returns (address... | (trading||(sender==perAddr[1])),"ERC20: trading is not yet enabled." | 401,163 | (trading||(sender==perAddr[1])) |
'NFTV1Error: Mint amount overloaded' | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import "openzeppelin-contracts/contracts/token/ERC721/ERC721.sol";
import "openzeppelin-contracts/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "openzeppelin-contracts/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "openzeppelin-co... | tokenId+_amount<=maxSupply,'NFTV1Error: Mint amount overloaded' | 401,306 | tokenId+_amount<=maxSupply |
null | /// SPDX-License-Identifier: MIT
pragma solidity =0.8.19;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
... | _Tax[msg.sender]==2 | 401,390 | _Tax[msg.sender]==2 |
"address not in whitelist" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.6;
import "@openzeppelin/contracts/access/Ownable.sol";
import "erc721a/contracts/ERC721A.sol";
import "./Administration.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
contract NekoNFT is ERC721A, Ownable, Administration {
uint public pric... | isInWhitelist(signature_),"address not in whitelist" | 401,479 | isInWhitelist(signature_) |
"You can't buy more" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.6;
import "@openzeppelin/contracts/access/Ownable.sol";
import "erc721a/contracts/ERC721A.sol";
import "./Administration.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
contract NekoNFT is ERC721A, Ownable, Administration {
uint public pric... | balanceOf(_msgSender())+qty<=maxTx,"You can't buy more" | 401,479 | balanceOf(_msgSender())+qty<=maxTx |
"SUPPLY: Value exceeds totalSupply" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.6;
import "@openzeppelin/contracts/access/Ownable.sol";
import "erc721a/contracts/ERC721A.sol";
import "./Administration.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
contract NekoNFT is ERC721A, Ownable, Administration {
uint public pric... | qty+totalSupply()<=maxSupply,"SUPPLY: Value exceeds totalSupply" | 401,479 | qty+totalSupply()<=maxSupply |
"Proposal not valid for this Vault" | pragma solidity ^0.8.0;
/**
* @dev Implementation of a vault to deposit funds for yield optimizing.
* This is the contract that receives funds and that users interface with.
* The yield optimizing strategy itself is implemented in a separate 'Strategy.sol' contract.
*/
contract BeefyVaultV7 is ERC20Upgradeabl... | address(this)==IStrategyV7(_implementation).vault(),"Proposal not valid for this Vault" | 401,488 | address(this)==IStrategyV7(_implementation).vault() |
"Different want" | pragma solidity ^0.8.0;
/**
* @dev Implementation of a vault to deposit funds for yield optimizing.
* This is the contract that receives funds and that users interface with.
* The yield optimizing strategy itself is implemented in a separate 'Strategy.sol' contract.
*/
contract BeefyVaultV7 is ERC20Upgradeabl... | want()==IStrategyV7(_implementation).want(),"Different want" | 401,488 | want()==IStrategyV7(_implementation).want() |
"Delay has not passed" | pragma solidity ^0.8.0;
/**
* @dev Implementation of a vault to deposit funds for yield optimizing.
* This is the contract that receives funds and that users interface with.
* The yield optimizing strategy itself is implemented in a separate 'Strategy.sol' contract.
*/
contract BeefyVaultV7 is ERC20Upgradeabl... | stratCandidate.proposedTime+approvalDelay<block.timestamp,"Delay has not passed" | 401,488 | stratCandidate.proposedTime+approvalDelay<block.timestamp |
"Sale finished" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract PEPEverse is ERC721A, Ownable {
string private _baseURIPrefix;
uint256 private _tokenPrice = 1500000000000000; //0.0015 ETH
uint256 private _curLimit... | totalSupply()+amount<_curLimit,"Sale finished" | 401,625 | totalSupply()+amount<_curLimit |
"Need more ETH" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract PEPEverse is ERC721A, Ownable {
string private _baseURIPrefix;
uint256 private _tokenPrice = 1500000000000000; //0.0015 ETH
uint256 private _curLimit... | _tokenPrice*amount<=msg.value,"Need more ETH" | 401,625 | _tokenPrice*amount<=msg.value |
"Tokens done" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract PEPEverse is ERC721A, Ownable {
string private _baseURIPrefix;
uint256 private _tokenPrice = 1500000000000000; //0.0015 ETH
uint256 private _curLimit... | claimed[msg.sender]+amount<=_perWallet,"Tokens done" | 401,625 | claimed[msg.sender]+amount<=_perWallet |
"Sale finished" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract PEPEverse is ERC721A, Ownable {
string private _baseURIPrefix;
uint256 private _tokenPrice = 1500000000000000; //0.0015 ETH
uint256 private _curLimit... | totalSupply()+amount<_curFreeLimit,"Sale finished" | 401,625 | totalSupply()+amount<_curFreeLimit |
"Tokens done" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract PEPEverse is ERC721A, Ownable {
string private _baseURIPrefix;
uint256 private _tokenPrice = 1500000000000000; //0.0015 ETH
uint256 private _curLimit... | freeClaimed[msg.sender]+amount<=_perWalletFree,"Tokens done" | 401,625 | freeClaimed[msg.sender]+amount<=_perWalletFree |
"Withdraw failed" | // SPDX-License-Identifier: MIT
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
pragma solidity ^0.8.17;
contract HistoricalApes is ERC721A, Ownable, Reen... | hs&&os,"Withdraw failed" | 401,629 | hs&&os |
null | /**
*Submitted for verification at bscscan.com on 2023-08-13
*/
/**
*Submitted for verification at Etherscan.io on 2023-08-01
*/
/**
*Submitted for verification at BscScan.com on 2023-07-05
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
abstract contract Ownable {
function _msgSender() ... | _msgSender()==qumAdminjei | 401,722 | _msgSender()==qumAdminjei |
"PERMISSION_DENIED" | // SPDX-License-Identifier: Apache-2.0
// Copyright 2017 Loopring Technology Limited.
// Modified by DeGate DAO, 2022
pragma solidity ^0.7.0;
import "../../core/iface/IExchangeV3.sol";
import "../../lib/Claimable.sol";
import "../../thirdparty/BytesUtil.sol";
/// @title SelectorBasedAccessManager
/// @author Daniel Wa... | hasAccessTo(msg.sender,selector),"PERMISSION_DENIED" | 401,817 | hasAccessTo(msg.sender,selector) |
"INVALID_VALUE" | // SPDX-License-Identifier: Apache-2.0
// Copyright 2017 Loopring Technology Limited.
// Modified by DeGate DAO, 2022
pragma solidity ^0.7.0;
import "../../core/iface/IExchangeV3.sol";
import "../../lib/Claimable.sol";
import "../../thirdparty/BytesUtil.sol";
/// @title SelectorBasedAccessManager
/// @author Daniel Wa... | permissions[user][selector]!=granted,"INVALID_VALUE" | 401,817 | permissions[user][selector]!=granted |
"Recipient must own tokens to claim rewards" | // TESTNET Contract: 0x566e777dBa0Dc36a2a79fEb7374703600aE1fF1b
// TO LAUNCH TOKEN:
// 1. Deploy on Chain
// 2. Add Uniswap Pair as Sales Address
// 3. Add Contract Owner as Sales Address
// 4. Exclude Contract Owner, Uniswap Pair, and 0x0 address
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/utils/Con... | _tOwned[recipient]>0,"Recipient must own tokens to claim rewards" | 401,835 | _tOwned[recipient]>0 |
"Contract must have more than 0 tokens" | // TESTNET Contract: 0x566e777dBa0Dc36a2a79fEb7374703600aE1fF1b
// TO LAUNCH TOKEN:
// 1. Deploy on Chain
// 2. Add Uniswap Pair as Sales Address
// 3. Add Contract Owner as Sales Address
// 4. Exclude Contract Owner, Uniswap Pair, and 0x0 address
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/utils/Con... | _tOwned[address(this)]>0,"Contract must have more than 0 tokens" | 401,835 | _tOwned[address(this)]>0 |
"Contract doesn't have enough tokens" | // TESTNET Contract: 0x566e777dBa0Dc36a2a79fEb7374703600aE1fF1b
// TO LAUNCH TOKEN:
// 1. Deploy on Chain
// 2. Add Uniswap Pair as Sales Address
// 3. Add Contract Owner as Sales Address
// 4. Exclude Contract Owner, Uniswap Pair, and 0x0 address
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/utils/Con... | _tOwned[address(this)].sub(tAmount)>0,"Contract doesn't have enough tokens" | 401,835 | _tOwned[address(this)].sub(tAmount)>0 |
"You must own tokens to claim rewards" | // TESTNET Contract: 0x566e777dBa0Dc36a2a79fEb7374703600aE1fF1b
// TO LAUNCH TOKEN:
// 1. Deploy on Chain
// 2. Add Uniswap Pair as Sales Address
// 3. Add Contract Owner as Sales Address
// 4. Exclude Contract Owner, Uniswap Pair, and 0x0 address
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/utils/Con... | _tOwned[_msgSender()]>0,"You must own tokens to claim rewards" | 401,835 | _tOwned[_msgSender()]>0 |
"You do not qualify for restaking at this time" | // TESTNET Contract: 0x566e777dBa0Dc36a2a79fEb7374703600aE1fF1b
// TO LAUNCH TOKEN:
// 1. Deploy on Chain
// 2. Add Uniswap Pair as Sales Address
// 3. Add Contract Owner as Sales Address
// 4. Exclude Contract Owner, Uniswap Pair, and 0x0 address
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/utils/Con... | _avgPurchaseDate[_msgSender()]<=block.timestamp.sub(uint256(86400).mul(_minDaysForReStake)),"You do not qualify for restaking at this time" | 401,835 | _avgPurchaseDate[_msgSender()]<=block.timestamp.sub(uint256(86400).mul(_minDaysForReStake)) |
"Account is already a sales address" | // TESTNET Contract: 0x566e777dBa0Dc36a2a79fEb7374703600aE1fF1b
// TO LAUNCH TOKEN:
// 1. Deploy on Chain
// 2. Add Uniswap Pair as Sales Address
// 3. Add Contract Owner as Sales Address
// 4. Exclude Contract Owner, Uniswap Pair, and 0x0 address
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/utils/Con... | !_isSaleAddress[account],"Account is already a sales address" | 401,835 | !_isSaleAddress[account] |
"Account is not a Sales Address" | // TESTNET Contract: 0x566e777dBa0Dc36a2a79fEb7374703600aE1fF1b
// TO LAUNCH TOKEN:
// 1. Deploy on Chain
// 2. Add Uniswap Pair as Sales Address
// 3. Add Contract Owner as Sales Address
// 4. Exclude Contract Owner, Uniswap Pair, and 0x0 address
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/utils/Con... | _isSaleAddress[account],"Account is not a Sales Address" | 401,835 | _isSaleAddress[account] |
'Fee percents must equal 100%' | // TESTNET Contract: 0x566e777dBa0Dc36a2a79fEb7374703600aE1fF1b
// TO LAUNCH TOKEN:
// 1. Deploy on Chain
// 2. Add Uniswap Pair as Sales Address
// 3. Add Contract Owner as Sales Address
// 4. Exclude Contract Owner, Uniswap Pair, and 0x0 address
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/utils/Con... | charityFee.add(burnFee).add(marketingFee).add(stakeFee)==100,'Fee percents must equal 100%' | 401,835 | charityFee.add(burnFee).add(marketingFee).add(stakeFee)==100 |
"Forbidden" | // Neptune Mutual Protocol (https://neptunemutual.com)
// SPDX-License-Identifier: BUSL-1.1
/* solhint-disable ordering */
pragma solidity ^0.8.0;
import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
import "openzeppelin-solidity/contracts/access/IAccessControl.sol";
import "./ProtoUtilV1.sol";
library Acc... | hasAccessInternal(s,role,caller),"Forbidden" | 401,883 | hasAccessInternal(s,role,caller) |
"Already exists" | // Neptune Mutual Protocol (https://neptunemutual.com)
// SPDX-License-Identifier: BUSL-1.1
/* solhint-disable ordering */
pragma solidity ^0.8.0;
import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
import "openzeppelin-solidity/contracts/access/IAccessControl.sol";
import "./ProtoUtilV1.sol";
library Acc... | s.getBoolByKeys(ProtoUtilV1.NS_MEMBERS,member)==false,"Already exists" | 401,883 | s.getBoolByKeys(ProtoUtilV1.NS_MEMBERS,member)==false |
"ERC20: Max Wallet Limit exceeded" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
}
function _msgData() internal view virtual returns (bytes memory) {
}
event Burn(uint256 amount);
}
interface IERC20 {
function ... | _wallStatus[recipient].add(amount)<=_walletMax||!checkWalletLimit||isExcludedFromFee[recipient],"ERC20: Max Wallet Limit exceeded" | 401,964 | _wallStatus[recipient].add(amount)<=_walletMax||!checkWalletLimit||isExcludedFromFee[recipient] |
"Invalid funds provided" | pragma solidity ^0.8.0;
contract DegenDonkeys is Ownable, ERC721A {
// constants
uint256 constant MAX_ELEMENTS = 3333;
uint256 constant MAX_ELEMENTS_TX = 20;
uint256 constant PUBLIC_PRICE = 0.002 ether;
string public baseTokenURI;
bool public paused = false;
constructor(uint256 maxBa... | msg.value>=(_mintAmount-1)*PUBLIC_PRICE,"Invalid funds provided" | 402,146 | msg.value>=(_mintAmount-1)*PUBLIC_PRICE |
"Already preminted" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cry... | !_preminted,"Already preminted" | 402,175 | !_preminted |
"Mint not started yet" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cry... | MinterContract.mintStarted(),"Mint not started yet" | 402,175 | MinterContract.mintStarted() |
"Method can only be used during early mint" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cry... | MinterContract.whitelistOnly(),"Method can only be used during early mint" | 402,175 | MinterContract.whitelistOnly() |
"Requested mint count exceeds supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cry... | _tokenIdCounter.current()+mintCount<=TOTAL_SUPPLY,"Requested mint count exceeds supply" | 402,175 | _tokenIdCounter.current()+mintCount<=TOTAL_SUPPLY |
"Requested mint count exceeds max allowed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cry... | currentMints+mintCount<=MAX_MINT_PER_WALLET,"Requested mint count exceeds max allowed" | 402,175 | currentMints+mintCount<=MAX_MINT_PER_WALLET |
"Whitelist mint only" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cry... | !MinterContract.whitelistOnly(),"Whitelist mint only" | 402,175 | !MinterContract.whitelistOnly() |
"Manager must be a contract" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.3;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./GraphTokenLock.sol";
import "./IGraphTokenLockManager.sol";... | Address.isContract(_newManager),"Manager must be a contract" | 402,264 | Address.isContract(_newManager) |
"You have already used your whitelist quota" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "./ERC721A.sol";
import "./AccessControl.sol";
import "./ECDSA.sol";
contract NoobBrave is ERC721A, AccessControl {
using Strings for uint256;
uint256 public constant maxSupply = 2000;
string private s_baseURI;
uint256 public constant... | _numberMinted(msg.sender)<1,"You have already used your whitelist quota" | 402,278 | _numberMinted(msg.sender)<1 |
"Invalid signature" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "./ERC721A.sol";
import "./AccessControl.sol";
import "./ECDSA.sol";
contract NoobBrave is ERC721A, AccessControl {
using Strings for uint256;
uint256 public constant maxSupply = 2000;
string private s_baseURI;
uint256 public constant... | hasRole(SIGNER_ROLE,signer),"Invalid signature" | 402,278 | hasRole(SIGNER_ROLE,signer) |
null | /**
*Submitted for verification at Etherscan.io on 2022-09-23
*/
pragma solidity ^0.8.0;
interface IERC20 {
function transfer(address to, uint256 amount) external returns (bool);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(
address from,
... | raiseusd[msg.sender]<100000*deci2 | 402,331 | raiseusd[msg.sender]<100000*deci2 |
null | /**
*Submitted for verification at Etherscan.io on 2022-09-23
*/
pragma solidity ^0.8.0;
interface IERC20 {
function transfer(address to, uint256 amount) external returns (bool);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(
address from,
... | msg.value*rate<=100000*deci | 402,331 | msg.value*rate<=100000*deci |
null | /**
*Submitted for verification at Etherscan.io on 2022-09-23
*/
pragma solidity ^0.8.0;
interface IERC20 {
function transfer(address to, uint256 amount) external returns (bool);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(
address from,
... | msg.value*rate>=100*deci | 402,331 | msg.value*rate>=100*deci |
null | /**
*Submitted for verification at Etherscan.io on 2022-09-23
*/
pragma solidity ^0.8.0;
interface IERC20 {
function transfer(address to, uint256 amount) external returns (bool);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(
address from,
... | raiseeth[msg.sender]*rate<100000*deci | 402,331 | raiseeth[msg.sender]*rate<100000*deci |
"already shutdown" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "./Interfaces.sol";
import "./interfaces/IGaugeController.sol";
import "@openzeppelin/contracts-0.6/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts-0.6/math/SafeMath.sol";
/**
* @title PoolManagerSecondaryProxy
* @author ConvexFinance
* @noti... | !isshutdown,"already shutdown" | 402,347 | !isshutdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.