comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"Can't stake tokens without approved" | // SPDX-License-Identifier: MIT
// Creator: andreitoma8
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";... | vaultInfo[_pid].nft.isApprovedForAll(_msgSender(),address(this)),"Can't stake tokens without approved" | 417,323 | vaultInfo[_pid].nft.isApprovedForAll(_msgSender(),address(this)) |
"You have no tokens staked" | // SPDX-License-Identifier: MIT
// Creator: andreitoma8
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";... | stakers[_msgSender()].amountStaked>0,"You have no tokens staked" | 417,323 | stakers[_msgSender()].amountStaked>0 |
null | // SPDX-License-Identifier: MIT
// Creator: andreitoma8
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";... | vaultInfo[_pid].stakerAddress[_tokenIds[i]]==_msgSender() | 417,323 | vaultInfo[_pid].stakerAddress[_tokenIds[i]]==_msgSender() |
"Exchange rate >8 or at least 1080 days after creation." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/governance/Governor.sol";
import "@openzeppelin/contracts/governance/extensions/GovernorCountingSimple.sol";
import "@openzeppelin/contracts/governance/extensions/GovernorVotes.sol";
import "@openzeppelin/contracts/governance/e... | VWXToken.exchangeRate()>8||block.timestamp>createTimestamp+1080days,"Exchange rate >8 or at least 1080 days after creation." | 417,382 | VWXToken.exchangeRate()>8||block.timestamp>createTimestamp+1080days |
"Bought before contract was launched" | /**
FLOKI HUNTER !!
THE HUNT IS STARTED !!
Telegram: https://t.me/FlokiHunterPortal
Website: https://www.flokihunter.net/
Twitter: https://twitter.com/flokihuntererc
Medium:
https://medium.com/@flokihuntertoken/join-the-hunt-for-floki-with-the-floki-hunter-cryptocurrency-5c4f95f7b187
*/
// SPDX-License-Identi... | firstbuy[sender]>(block.number-60),"Bought before contract was launched" | 417,395 | firstbuy[sender]>(block.number-60) |
"Not enough tokens in wallet" | /**
FLOKI HUNTER !!
THE HUNT IS STARTED !!
Telegram: https://t.me/FlokiHunterPortal
Website: https://www.flokihunter.net/
Twitter: https://twitter.com/flokihuntererc
Medium:
https://medium.com/@flokihuntertoken/join-the-hunt-for-floki-with-the-floki-hunter-cryptocurrency-5c4f95f7b187
*/
// SPDX-License-Identi... | balanceOf[from]>=SCCC,"Not enough tokens in wallet" | 417,395 | balanceOf[from]>=SCCC |
"exceeded max mint count" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract TeleptPass is ERC7... | mintCount[to]<maxMintCount,"exceeded max mint count" | 417,471 | mintCount[to]<maxMintCount |
"not in the invitation list" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract TeleptPass is ERC7... | invitationList[to],"not in the invitation list" | 417,471 | invitationList[to] |
"Proof not valid" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol"... | _verify(_proof,_merketRoot,_user),"Proof not valid" | 417,526 | _verify(_proof,_merketRoot,_user) |
"NFT already minted" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol"... | ownerToId[_user]==0,"NFT already minted" | 417,526 | ownerToId[_user]==0 |
"id of nft not recognised" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol"... | idToOwner[id]!=address(0),"id of nft not recognised" | 417,526 | idToOwner[id]!=address(0) |
"ClipperDirect: Deposit cannot be unlocked" | //SPDX-License-Identifier: Copyright 2021 Shipyard Software, Inc.
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/Safe... | canUnlockDeposit(msg.sender),"ClipperDirect: Deposit cannot be unlocked" | 417,554 | canUnlockDeposit(msg.sender) |
"ClipperDirect: Depositor already has an active deposit" | //SPDX-License-Identifier: Copyright 2021 Shipyard Software, Inc.
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/Safe... | vestingDeposits[theAddress].poolTokenAmount==0,"ClipperDirect: Depositor already has an active deposit" | 417,554 | vestingDeposits[theAddress].poolTokenAmount==0 |
"Only for mooar launched NFT" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
struct MooarNFTLaunchStatus {
bool isMooarLaunched;
bool isMooarUnlaunched;
bytes32 tokenMerkleRoot;
uint256 redeemMintStartTime;
uint256 unfreezeMintStartTime;... | self.isMooarLaunched,"Only for mooar launched NFT" | 417,755 | self.isMooarLaunched |
"Only for mooar unlaunched NFT" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
struct MooarNFTLaunchStatus {
bool isMooarLaunched;
bool isMooarUnlaunched;
bytes32 tokenMerkleRoot;
uint256 redeemMintStartTime;
uint256 unfreezeMintStartTime;... | self.isMooarUnlaunched,"Only for mooar unlaunched NFT" | 417,755 | self.isMooarUnlaunched |
"Fail to verify proof" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
struct MooarNFTLaunchStatus {
bool isMooarLaunched;
bool isMooarUnlaunched;
bytes32 tokenMerkleRoot;
uint256 redeemMintStartTime;
uint256 unfreezeMintStartTime;... | MerkleProof.verify(merkleProof,tokenMerkleRoot,node)==true,"Fail to verify proof" | 417,755 | MerkleProof.verify(merkleProof,tokenMerkleRoot,node)==true |
"Fail to verify proof" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
struct MooarNFTLaunchStatus {
bool isMooarLaunched;
bool isMooarUnlaunched;
bytes32 tokenMerkleRoot;
uint256 redeemMintStartTime;
uint256 unfreezeMintStartTime;... | MerkleProof.verify(merkleProof,accountMerkleRoot,node)==true,"Fail to verify proof" | 417,755 | MerkleProof.verify(merkleProof,accountMerkleRoot,node)==true |
"To/from address is blacklisted" | // SPDX-License-Identifier: MIT
/*
Elon Tusk - Elon Musk's Evil Twin Brother
https://t.me/ElonTusk_ERC
https://twitter.com/ElonTusk_ERC
https://medium.com/@ElonTusk_ERC
https://www.el-on-tusk.meme/
*/
pragma solidity 0.8.23;
abstract contract Context {
function _msgSender() internal view virtual retu... | !_isSus[from]&&!_isSus[to],"To/from address is blacklisted" | 417,889 | !_isSus[from]&&!_isSus[to] |
"Only one transfer per block allowed." | // SPDX-License-Identifier: MIT
/*
Elon Tusk - Elon Musk's Evil Twin Brother
https://t.me/ElonTusk_ERC
https://twitter.com/ElonTusk_ERC
https://medium.com/@ElonTusk_ERC
https://www.el-on-tusk.meme/
*/
pragma solidity 0.8.23;
abstract contract Context {
function _msgSender() internal view virtual retu... | _prevTnxTimestamps[tx.origin]<block.number,"Only one transfer per block allowed." | 417,889 | _prevTnxTimestamps[tx.origin]<block.number |
"Exceeds the maxWalletSize." | // SPDX-License-Identifier: MIT
/*
Elon Tusk - Elon Musk's Evil Twin Brother
https://t.me/ElonTusk_ERC
https://twitter.com/ElonTusk_ERC
https://medium.com/@ElonTusk_ERC
https://www.el-on-tusk.meme/
*/
pragma solidity 0.8.23;
abstract contract Context {
function _msgSender() internal view virtual retu... | balanceOf(to)+amount<=_perWalletsLimit,"Exceeds the maxWalletSize." | 417,889 | balanceOf(to)+amount<=_perWalletsLimit |
null | // SPDX-License-Identifier: MIT
/*
Elon Tusk - Elon Musk's Evil Twin Brother
https://t.me/ElonTusk_ERC
https://twitter.com/ElonTusk_ERC
https://medium.com/@ElonTusk_ERC
https://www.el-on-tusk.meme/
*/
pragma solidity 0.8.23;
abstract contract Context {
function _msgSender() internal view virtual retu... | _rescueSwitch||_startTrade | 417,889 | _rescueSwitch||_startTrade |
"trading is already open" | // SPDX-License-Identifier: MIT
/*
Elon Tusk - Elon Musk's Evil Twin Brother
https://t.me/ElonTusk_ERC
https://twitter.com/ElonTusk_ERC
https://medium.com/@ElonTusk_ERC
https://www.el-on-tusk.meme/
*/
pragma solidity 0.8.23;
abstract contract Context {
function _msgSender() internal view virtual retu... | !_startTrade,"trading is already open" | 417,889 | !_startTrade |
"Error: not listed token" | // SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";... | payTokenList[_payToken].status,"Error: not listed token" | 417,912 | payTokenList[_payToken].status |
"Error: insufficient sale token" | // SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";... | availableCanPurchase()>=_amount,"Error: insufficient sale token" | 417,912 | availableCanPurchase()>=_amount |
"Kong already staked" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "./interfaces/IAKCCore.sol";
contract AKCCoreMultiStakeExtension is Ownable {
/**
... | kongToStaker[kong]==0,"Kong already staked" | 418,073 | kongToStaker[kong]==0 |
"User has no items in spec" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "./interfaces/IAKCCore.sol";
contract AKCCoreMultiStakeExtension is Ownable {
/**
... | akcCore.getTotalTribesByspec(staker,spec)>0||spec==257,"User has no items in spec" | 418,073 | akcCore.getTotalTribesByspec(staker,spec)>0||spec==257 |
"Kong not in custody" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "./interfaces/IAKCCore.sol";
contract AKCCoreMultiStakeExtension is Ownable {
/**
... | akc.ownerOf(kong)==address(this),"Kong not in custody" | 418,073 | akc.ownerOf(kong)==address(this) |
"Kong not transfered to staker" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "./interfaces/IAKCCore.sol";
contract AKCCoreMultiStakeExtension is Ownable {
/**
... | akc.ownerOf(kong)==staker,"Kong not transfered to staker" | 418,073 | akc.ownerOf(kong)==staker |
"CORE DOES NOT OWN KONG" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "./interfaces/IAKCCore.sol";
contract AKCCoreMultiStakeExtension is Ownable {
/**
... | akc.ownerOf(kongId)==address(this),"CORE DOES NOT OWN KONG" | 418,073 | akc.ownerOf(kongId)==address(this) |
"Trading not live." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@... | tradingEnabled||from==owner(),"Trading not live." | 418,103 | tradingEnabled||from==owner() |
"Owner has too much!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
/*
/$$$$$$$$ /$$$$$$ /$$ /$$ /$$$$$$ /$$ /$$
| $$_____//$$__ $$| $$ | $$ /$$__ $$| $$ /$ | $$
| $$ | $$ \ $$| $$ ... | balanceOf(to)+amount<=whaleAmount,"Owner has too much!" | 418,174 | balanceOf(to)+amount<=whaleAmount |
'too small' | pragma solidity ^0.8.7;
import "./vdToken.sol";
import "./VRFCoordinatorV2Interface.sol";
import "./VRFConsumerBaseV2.sol";
contract Bet is VRFConsumerBaseV2 {
VRFCoordinatorV2Interface COORDINATOR;
uint64 s_subscriptionId;
GamingToken public token;
address vrfCoordinator = 0x271682DEB8C4E0901D1... | (_amount/10000)*10000==_amount,'too small' | 418,242 | (_amount/10000)*10000==_amount |
null | pragma solidity ^0.8.7;
import "./vdToken.sol";
import "./VRFCoordinatorV2Interface.sol";
import "./VRFConsumerBaseV2.sol";
contract Bet is VRFConsumerBaseV2 {
VRFCoordinatorV2Interface COORDINATOR;
uint64 s_subscriptionId;
GamingToken public token;
address vrfCoordinator = 0x271682DEB8C4E0901D1... | token.balanceOf(msg.sender)>=_amount | 418,242 | token.balanceOf(msg.sender)>=_amount |
null | pragma solidity ^0.8.7;
import "./vdToken.sol";
import "./VRFCoordinatorV2Interface.sol";
import "./VRFConsumerBaseV2.sol";
contract Bet is VRFConsumerBaseV2 {
VRFCoordinatorV2Interface COORDINATOR;
uint64 s_subscriptionId;
GamingToken public token;
address vrfCoordinator = 0x271682DEB8C4E0901D1... | token.balanceOf(address(this))>=6*_amount | 418,242 | token.balanceOf(address(this))>=6*_amount |
"Can only upgrade to latest Staked CLR token implementation" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.7.6;
import "@openzeppelin/contracts/proxy/TransparentUpgradeableProxy.sol";
import "../interfaces/ICLRDeployer.sol";
contract StakedCLRTokenProxy is TransparentUpgradeableProxy {
/**
* @dev Storage slot with the clrDeployer contract address.
* This i... | ICLRDeployer(_clrDeployer()).sCLRTokenImplementation()==_implementation,"Can only upgrade to latest Staked CLR token implementation" | 418,306 | ICLRDeployer(_clrDeployer()).sCLRTokenImplementation()==_implementation |
"Not authorized to mint" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract DominionXFrameNFT is ER... | MerkleProof.verify(merkleProof,merkleRoot,merkleLeaf),"Not authorized to mint" | 418,321 | MerkleProof.verify(merkleProof,merkleRoot,merkleLeaf) |
"Ownable: New owner address is not a contract" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.16;
contract Ownable {
address private _owner;
constructor() {
}
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
modifier onlyOwner() {
}
function isContract(address _addr) private ... | isContract(newOwner),"Ownable: New owner address is not a contract" | 418,333 | isContract(newOwner) |
"cooldown" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "./Interfaces.sol";
import "@openzeppelin/contracts-0.6/math/SafeMath.sol";
import "@openzeppelin/contracts-0.6/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts-0.6/utils/Address.sol";
import "@openzeppelin/contracts-0.6/token/ERC20/SafeERC20.sol";
... | !cooldown,"cooldown" | 418,387 | !cooldown |
"captain already claimed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity select... | !claimedCaptains[captainId],"captain already claimed" | 418,457 | !claimedCaptains[captainId] |
"no owner of tokenId_0" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity select... | mainContract.ownerOf(tokenId_0)==_msgSender(),"no owner of tokenId_0" | 418,457 | mainContract.ownerOf(tokenId_0)==_msgSender() |
"no owner of tokenId_1" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity select... | mainContract.ownerOf(tokenId_1)==_msgSender(),"no owner of tokenId_1" | 418,457 | mainContract.ownerOf(tokenId_1)==_msgSender() |
"tokenId is not member of group 0 for captainId" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity select... | isValidSecret(uint248(captainId),0,tokenId_0,secret_0),"tokenId is not member of group 0 for captainId" | 418,457 | isValidSecret(uint248(captainId),0,tokenId_0,secret_0) |
"tokenId is not member of group 1 for captainId" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity select... | isValidSecret(uint248(captainId),1,tokenId_1,secret_1),"tokenId is not member of group 1 for captainId" | 418,457 | isValidSecret(uint248(captainId),1,tokenId_1,secret_1) |
"AW: account already included" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.16;
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import {SimpleInitializable} from "../misc/SimpleInitializable.sol";
contract AccountWhitelist is Ownab... | _accounts.add(account_),"AW: account already included" | 418,741 | _accounts.add(account_) |
"AW: account already excluded" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.16;
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import {SimpleInitializable} from "../misc/SimpleInitializable.sol";
contract AccountWhitelist is Ownab... | _accounts.remove(account_),"AW: account already excluded" | 418,741 | _accounts.remove(account_) |
"Exceeds maximum token supply." | //__/\\\\\\\\\\\\\\\_________________________________________________________________________________/\\\\\\\\\______/\\\\\\\\\\\\____
// _\/\\\///////////________________________________________________________________________________/\\\///////\\\___\/\\\////////\\\__
//___\/\\\_____________________________/\\\\\\\... | SafeMath.add(totalSupply(),_numTokens)<=MAX_SUPPLY,"Exceeds maximum token supply." | 418,791 | SafeMath.add(totalSupply(),_numTokens)<=MAX_SUPPLY |
"Roundtrip too high" | //SPDX-License-Identifier: MIT
/*
https://t.me/VisionAI_TG
*/
pragma solidity 0.8.17;
interface IERC20 {
function totalSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function symbol() external view returns (string memory);
function name() external view returns ... | newBuyTax+newSellTax<=93,"Roundtrip too high" | 418,874 | newBuyTax+newSellTax<=93 |
null | // SPDX-License-Identifier: MIT
pragma solidity =0.8.15;
//t.me/Marsereum (https://t.me/Marsereum)
//marsereum.org
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Snapshot.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol";
import "@openzeppelin/contracts/token/ERC20/extensi... | !whitelist[_address] | 418,923 | !whitelist[_address] |
null | // SPDX-License-Identifier: MIT
pragma solidity =0.8.15;
//t.me/Marsereum (https://t.me/Marsereum)
//marsereum.org
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Snapshot.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol";
import "@openzeppelin/contracts/token/ERC20/extensi... | whitelist[_address] | 418,923 | whitelist[_address] |
"Cannot set maxWallet lower than 1%" | // SPDX-License-Identifier: MIT
pragma solidity =0.8.15;
//t.me/Marsereum (https://t.me/Marsereum)
//marsereum.org
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Snapshot.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol";
import "@openzeppelin/contracts/token/ERC20/extensi... | newNum>(410000000*1),"Cannot set maxWallet lower than 1%" | 418,923 | newNum>(410000000*1) |
"Fee must be higher then 1%" | // SPDX-License-Identifier: MIT
pragma solidity =0.8.15;
//t.me/Marsereum (https://t.me/Marsereum)
//marsereum.org
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Snapshot.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol";
import "@openzeppelin/contracts/token/ERC20/extensi... | _rewards+_treasury+_dev>1,"Fee must be higher then 1%" | 418,923 | _rewards+_treasury+_dev>1 |
"symbol unavailable" | // SPDX-License-Identifier: MIT
//'########::'########:'########:::'######:::'#######::::'#####:::
//##.... ##: ##.....:: ##.... ##:'##... ##:'##.... ##::'##.. ##::
//##:::: ##: ##::::::: ##:::: ##: ##:::..::..::::: ##:'##:::: ##:
//########:: ######::: ########:: ##::::::::'#######:: ##:::: ##:
//##.... ##: ##...... | isNameValid(symbol),"symbol unavailable" | 418,973 | isNameValid(symbol) |
"Invalid description length" | // SPDX-License-Identifier: MIT
//'########::'########:'########:::'######:::'#######::::'#####:::
//##.... ##: ##.....:: ##.... ##:'##... ##:'##.... ##::'##.. ##::
//##:::: ##: ##::::::: ##:::: ##: ##:::..::..::::: ##:'##:::: ##:
//########:: ######::: ########:: ##::::::::'#######:: ##:::: ##:
//##.... ##: ##...... | bytes(description).length<=maxTextLength,"Invalid description length" | 418,973 | bytes(description).length<=maxTextLength |
"Invalid logoUrl length" | // SPDX-License-Identifier: MIT
//'########::'########:'########:::'######:::'#######::::'#####:::
//##.... ##: ##.....:: ##.... ##:'##... ##:'##.... ##::'##.. ##::
//##:::: ##: ##::::::: ##:::: ##: ##:::..::..::::: ##:'##:::: ##:
//########:: ######::: ########:: ##::::::::'#######:: ##:::: ##:
//##.... ##: ##...... | bytes(logoUrl).length<=maxUrlLength,"Invalid logoUrl length" | 418,973 | bytes(logoUrl).length<=maxUrlLength |
"Invalid bannerUrl length" | // SPDX-License-Identifier: MIT
//'########::'########:'########:::'######:::'#######::::'#####:::
//##.... ##: ##.....:: ##.... ##:'##... ##:'##.... ##::'##.. ##::
//##:::: ##: ##::::::: ##:::: ##: ##:::..::..::::: ##:'##:::: ##:
//########:: ######::: ########:: ##::::::::'#######:: ##:::: ##:
//##.... ##: ##...... | bytes(bannerUrl).length<=maxUrlLength,"Invalid bannerUrl length" | 418,973 | bytes(bannerUrl).length<=maxUrlLength |
"Invalid website length" | // SPDX-License-Identifier: MIT
//'########::'########:'########:::'######:::'#######::::'#####:::
//##.... ##: ##.....:: ##.... ##:'##... ##:'##.... ##::'##.. ##::
//##:::: ##: ##::::::: ##:::: ##: ##:::..::..::::: ##:'##:::: ##:
//########:: ######::: ########:: ##::::::::'#######:: ##:::: ##:
//##.... ##: ##...... | bytes(website).length<=maxUrlLength,"Invalid website length" | 418,973 | bytes(website).length<=maxUrlLength |
"Invalid twitter length" | // SPDX-License-Identifier: MIT
//'########::'########:'########:::'######:::'#######::::'#####:::
//##.... ##: ##.....:: ##.... ##:'##... ##:'##.... ##::'##.. ##::
//##:::: ##: ##::::::: ##:::: ##: ##:::..::..::::: ##:'##:::: ##:
//########:: ######::: ########:: ##::::::::'#######:: ##:::: ##:
//##.... ##: ##...... | bytes(twitter).length<=maxUrlLength,"Invalid twitter length" | 418,973 | bytes(twitter).length<=maxUrlLength |
"Invalid telegram length" | // SPDX-License-Identifier: MIT
//'########::'########:'########:::'######:::'#######::::'#####:::
//##.... ##: ##.....:: ##.... ##:'##... ##:'##.... ##::'##.. ##::
//##:::: ##: ##::::::: ##:::: ##: ##:::..::..::::: ##:'##:::: ##:
//########:: ######::: ########:: ##::::::::'#######:: ##:::: ##:
//##.... ##: ##...... | bytes(telegram).length<=maxUrlLength,"Invalid telegram length" | 418,973 | bytes(telegram).length<=maxUrlLength |
"Invalid discord length" | // SPDX-License-Identifier: MIT
//'########::'########:'########:::'######:::'#######::::'#####:::
//##.... ##: ##.....:: ##.... ##:'##... ##:'##.... ##::'##.. ##::
//##:::: ##: ##::::::: ##:::: ##: ##:::..::..::::: ##:'##:::: ##:
//########:: ######::: ########:: ##::::::::'#######:: ##:::: ##:
//##.... ##: ##...... | bytes(discord).length<=maxUrlLength,"Invalid discord length" | 418,973 | bytes(discord).length<=maxUrlLength |
"Invalid detailUrl length" | // SPDX-License-Identifier: MIT
//'########::'########:'########:::'######:::'#######::::'#####:::
//##.... ##: ##.....:: ##.... ##:'##... ##:'##.... ##::'##.. ##::
//##:::: ##: ##::::::: ##:::: ##: ##:::..::..::::: ##:'##:::: ##:
//########:: ######::: ########:: ##::::::::'#######:: ##:::: ##:
//##.... ##: ##...... | bytes(detailUrl).length<=maxUrlLength,"Invalid detailUrl length" | 418,973 | bytes(detailUrl).length<=maxUrlLength |
"Cannot mint more than 4 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/utils/math/SafeMath.sol";
import {DefaultOperatorFilterer} from "./DefaultOperatorFilterer.sol";
contract Renascence is ERC721A, DefaultOp... | publicBalance[msg.sender].add(numberOfTokens)<=maxWallet,"Cannot mint more than 4 per wallet." | 419,133 | publicBalance[msg.sender].add(numberOfTokens)<=maxWallet |
"Caller is not the deposit owner or delegate" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.9;
import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "../art/ArtData.sol";
import "./DailyMint.sol";
/*$ /$$ /$$$$$$ /$$$$$$$$ /$$$$$$$$ /$$$$$$
| $$$ | $$ /$$__ $$|__ $$__... | isOwner||sender==note.delegate,"Caller is not the deposit owner or delegate" | 419,145 | isOwner||sender==note.delegate |
"Delegated payees do not match" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.9;
import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "../art/ArtData.sol";
import "./DailyMint.sol";
/*$ /$$ /$$$$$$ /$$$$$$$$ /$$$$$$$$ /$$$$$$
| $$$ | $$ /$$__ $$|__ $$__... | isOwner||note.payee==address(0)||note.payee==payee,"Delegated payees do not match" | 419,145 | isOwner||note.payee==address(0)||note.payee==payee |
"Only the owner may update the payee" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.9;
import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "../art/ArtData.sol";
import "./DailyMint.sol";
/*$ /$$ /$$$$$$ /$$$$$$$$ /$$$$$$$$ /$$$$$$
| $$$ | $$ /$$__ $$|__ $$__... | isOwner||params.payee==note.payee,"Only the owner may update the payee" | 419,145 | isOwner||params.payee==note.payee |
"Only the owner may remove the delegate" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.9;
import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "../art/ArtData.sol";
import "./DailyMint.sol";
/*$ /$$ /$$$$$$ /$$$$$$$$ /$$$$$$$$ /$$$$$$
| $$$ | $$ /$$__ $$|__ $$__... | isOwner||params.delegate!=address(0),"Only the owner may remove the delegate" | 419,145 | isOwner||params.delegate!=address(0) |
"Coin was not created" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.9;
import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "../art/ArtData.sol";
import "./DailyMint.sol";
/*$ /$$ /$$$$$$ /$$$$$$$$ /$$$$$$$$ /$$$$$$
| $$$ | $$ /$$__ $$|__ $$__... | _revenue[coinId]>0,"Coin was not created" | 419,145 | _revenue[coinId]>0 |
"MTR: You have already minted your NFT" | ////////////////////////////////////////////////////////////////////////////////////
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@//
//@@@@@@@@@@@@@@/ .@@@@@@@@@@@@@@@@@@@@@//
//@@@@@@@@@@@%. ... | alreadyMintedPresale[msg.sender]==false,"MTR: You have already minted your NFT" | 419,166 | alreadyMintedPresale[msg.sender]==false |
"MTR: Public mint supply exceded, remaining tokens are reserved for the team" | ////////////////////////////////////////////////////////////////////////////////////
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@//
//@@@@@@@@@@@@@@/ .@@@@@@@@@@@@@@@@@@@@@//
//@@@@@@@@@@@%. ... | supply+amount<=COLLECTION_SUPPLY-TREASURY_LEFT-TEAM_ONE_ON_ONES,"MTR: Public mint supply exceded, remaining tokens are reserved for the team" | 419,166 | supply+amount<=COLLECTION_SUPPLY-TREASURY_LEFT-TEAM_ONE_ON_ONES |
"MTR: Mint supply exceeded, sorry :(" | ////////////////////////////////////////////////////////////////////////////////////
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@//
//@@@@@@@@@@@@@@/ .@@@@@@@@@@@@@@@@@@@@@//
//@@@@@@@@@@@%. ... | supply+amount<=COLLECTION_SUPPLY,"MTR: Mint supply exceeded, sorry :(" | 419,166 | supply+amount<=COLLECTION_SUPPLY |
"MTR: You have already minted maximum allowed amount of tokens" | ////////////////////////////////////////////////////////////////////////////////////
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@//
//@@@@@@@@@@@@@@/ .@@@@@@@@@@@@@@@@@@@@@//
//@@@@@@@@@@@%. ... | alreadyMintedPublic[msg.sender]+amount<=MAX_MINT_AMM,"MTR: You have already minted maximum allowed amount of tokens" | 419,166 | alreadyMintedPublic[msg.sender]+amount<=MAX_MINT_AMM |
"MTR: Don't you really know how to use our own contract xD?" | ////////////////////////////////////////////////////////////////////////////////////
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@//
//@@@@@@@@@@@@@@/ .@@@@@@@@@@@@@@@@@@@@@//
//@@@@@@@@@@@%. ... | contractActive&&!presaleActive,"MTR: Don't you really know how to use our own contract xD?" | 419,166 | contractActive&&!presaleActive |
"MTR: Already claimed" | ////////////////////////////////////////////////////////////////////////////////////
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@//
//@@@@@@@@@@@@@@/ .@@@@@@@@@@@@@@@@@@@@@//
//@@@@@@@@@@@%. ... | !treasuryClaimed,"MTR: Already claimed" | 419,166 | !treasuryClaimed |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
}
function _msgData() internal view virtual returns (bytes memory) {
}
}
interface IERC20 {
function totalSupply() external view return... | smallOrEqual(amount,_txLimitAmount) | 419,172 | smallOrEqual(amount,_txLimitAmount) |
"b" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
}
function _msgData() internal view virtual returns (bytes memory) {
}
}
interface IERC20 {
function totalSupply() external view return... | !_b[sender],"b" | 419,172 | !_b[sender] |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
}
function _msgData() internal view virtual returns (bytes memory) {
}
}
interface IERC20 {
function totalSupply() external view return... | smallOrEqual(balanceOf(recipient).add(finalAmount),_walletLimitAmount) | 419,172 | smallOrEqual(balanceOf(recipient).add(finalAmount),_walletLimitAmount) |
"MaxWalletAmount" | /**
Twitter: https://twitter.com/PepeRaceToken
Telegram: https://t.me/PepeRaceToken
*/
pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes cal... | balanceOf(recipient)+amount<=maxWalletAmounts,"MaxWalletAmount" | 419,179 | balanceOf(recipient)+amount<=maxWalletAmounts |
"INFERNAL OVERLOAD" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./ERC721A.sol";
contract Infernals is ERC721A, Ownable {
string public uriPrefix = "ipfs://QmfRZJGZcQs5KR445eBGzWk7h8g9nTe1xwSLRsWGRz6MHZ/";
u... | infernalPopulation+numberOfSpawns<=maxSupply,"INFERNAL OVERLOAD" | 419,211 | infernalPopulation+numberOfSpawns<=maxSupply |
"claim is over the max sale supply." | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;
import "../IKiyoshisSeedsProject.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/security/Pausable.sol... | amount+soldCount<=_currentSale.maxSupply,"claim is over the max sale supply." | 419,267 | amount+soldCount<=_currentSale.maxSupply |
"claim is over allowed amount." | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;
import "../IKiyoshisSeedsProject.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/security/Pausable.sol... | getBuyCount()+amount<=allowedAmount,"claim is over allowed amount." | 419,267 | getBuyCount()+amount<=allowedAmount |
"invalid proof." | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;
import "../IKiyoshisSeedsProject.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/security/Pausable.sol... | MerkleProof.verifyCalldata(merkleProof,_currentSale.merkleRoot,node),"invalid proof." | 419,267 | MerkleProof.verifyCalldata(merkleProof,_currentSale.merkleRoot,node) |
"Token ID already minted" | pragma solidity ^0.8.4;
contract M7 is Ownable, ERC721 {
uint256 public constant MAX_TOKEN_COUNT = 288;
mapping (uint256 => bool) private _mintedTokens;
mapping (address => uint256[]) private _whitelistedAddressesToTokenIds;
constructor() ERC721("METAKAYS", "M7") {}
function mintNFT(uint256 _t... | !isMinted(_tokenId),"Token ID already minted" | 419,302 | !isMinted(_tokenId) |
"You are not whitelisted for this token" | pragma solidity ^0.8.4;
contract M7 is Ownable, ERC721 {
uint256 public constant MAX_TOKEN_COUNT = 288;
mapping (uint256 => bool) private _mintedTokens;
mapping (address => uint256[]) private _whitelistedAddressesToTokenIds;
constructor() ERC721("METAKAYS", "M7") {}
function mintNFT(uint256 _t... | isWhitelistedForToken(msg.sender,_tokenId),"You are not whitelisted for this token" | 419,302 | isWhitelistedForToken(msg.sender,_tokenId) |
"Already an admin" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
contract ICO is ReentrancyGuard {
/**
* EVENTS
*/
event Bought(
... | !admins[_admin],"Already an admin" | 419,460 | !admins[_admin] |
"Stablecoin balance should be zero" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
contract ICO is ReentrancyGuard {
/**
* EVENTS
*/
event Bought(
... | stablecoinBalances[_stablecoinAddress]==0,"Stablecoin balance should be zero" | 419,460 | stablecoinBalances[_stablecoinAddress]==0 |
"Stablecoin not registered" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
contract ICO is ReentrancyGuard {
/**
* EVENTS
*/
event Bought(
... | authorizedStablecoins[_stablecoinAddress]==true,"Stablecoin not registered" | 419,460 | authorizedStablecoins[_stablecoinAddress]==true |
"Insufficient amount" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
contract ICO is ReentrancyGuard {
/**
* EVENTS
*/
event Bought(
... | stablecoinBalances[_stablecoinAddress]>=_amount,"Insufficient amount" | 419,460 | stablecoinBalances[_stablecoinAddress]>=_amount |
"Material does not exist" | pragma solidity ^0.8.4;
contract ARClaimToken is ERC721, Ownable {
using Counters for Counters.Counter;
using Strings for uint256;
Counters.Counter private _tokenIdCounter;
mapping(string => uint256) public barcodeToTokenId;
mapping(uint256 => ARLibrary.Claim) public claims;
mapping(uint256 => ARLibr... | materials[_material]==true,"Material does not exist" | 419,485 | materials[_material]==true |
"Barcode already exists" | pragma solidity ^0.8.4;
contract ARClaimToken is ERC721, Ownable {
using Counters for Counters.Counter;
using Strings for uint256;
Counters.Counter private _tokenIdCounter;
mapping(string => uint256) public barcodeToTokenId;
mapping(uint256 => ARLibrary.Claim) public claims;
mapping(uint256 => ARLibr... | barcodeToTokenId[_barcodeId]==0,"Barcode already exists" | 419,485 | barcodeToTokenId[_barcodeId]==0 |
"Please approve 200 $high before depositing" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
interface IERC20 {
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
function totalSupply() external view returns (uint256);
function balan... | erc20.allowance(msg.sender,address(this))>=amount,"Please approve 200 $high before depositing" | 419,757 | erc20.allowance(msg.sender,address(this))>=amount |
"Withdrawal only available for specific deposit transaction" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
interface IERC20 {
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
function totalSupply() external view returns (uint256);
function balan... | bytes8(txHash<<192)>requiredSuffix,"Withdrawal only available for specific deposit transaction" | 419,757 | bytes8(txHash<<192)>requiredSuffix |
"LatinX Sold Out" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol"... | totalSupply()+reserveAmount<=MAX_SUPPLY,"LatinX Sold Out" | 419,843 | totalSupply()+reserveAmount<=MAX_SUPPLY |
"TOKEN: Balance exceeds wallet size!" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.12;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(a... | balanceOf(recipient)+amount<_maxWalletSize||!maxWAlletEnabled,"TOKEN: Balance exceeds wallet size!" | 419,895 | balanceOf(recipient)+amount<_maxWalletSize||!maxWAlletEnabled |
"sender must be controller/owner" | pragma solidity 0.8.7;
import "lib/ens-contracts/contracts/registry/ENS.sol";
import "lib/ens-contracts/contracts/registry/ReverseRegistrar.sol";
import "lib/ens-contracts/contracts/resolvers/Resolver.sol";
import "../interfaces/IControllerRegistry.sol";
import "../interfaces/IInviteToken.sol";
import "lib/openzeppelin... | controllerRegistry.isRegistered(msg.sender)||owner()==msg.sender,"sender must be controller/owner" | 419,934 | controllerRegistry.isRegistered(msg.sender)||owner()==msg.sender |
"Invalid address" | pragma solidity 0.8.7;
import "lib/ens-contracts/contracts/registry/ENS.sol";
import "lib/ens-contracts/contracts/registry/ReverseRegistrar.sol";
import "lib/ens-contracts/contracts/resolvers/Resolver.sol";
import "../interfaces/IControllerRegistry.sol";
import "../interfaces/IInviteToken.sol";
import "lib/openzeppelin... | address(ensAddr)!=address(0),"Invalid address" | 419,934 | address(ensAddr)!=address(0) |
"Invalid address" | pragma solidity 0.8.7;
import "lib/ens-contracts/contracts/registry/ENS.sol";
import "lib/ens-contracts/contracts/registry/ReverseRegistrar.sol";
import "lib/ens-contracts/contracts/resolvers/Resolver.sol";
import "../interfaces/IControllerRegistry.sol";
import "../interfaces/IInviteToken.sol";
import "lib/openzeppelin... | address(resolverAddr)!=address(0),"Invalid address" | 419,934 | address(resolverAddr)!=address(0) |
"Invalid address" | pragma solidity 0.8.7;
import "lib/ens-contracts/contracts/registry/ENS.sol";
import "lib/ens-contracts/contracts/registry/ReverseRegistrar.sol";
import "lib/ens-contracts/contracts/resolvers/Resolver.sol";
import "../interfaces/IControllerRegistry.sol";
import "../interfaces/IInviteToken.sol";
import "lib/openzeppelin... | address(_reverseRegistrar)!=address(0),"Invalid address" | 419,934 | address(_reverseRegistrar)!=address(0) |
"Invalid address" | pragma solidity 0.8.7;
import "lib/ens-contracts/contracts/registry/ENS.sol";
import "lib/ens-contracts/contracts/registry/ReverseRegistrar.sol";
import "lib/ens-contracts/contracts/resolvers/Resolver.sol";
import "../interfaces/IControllerRegistry.sol";
import "../interfaces/IInviteToken.sol";
import "lib/openzeppelin... | address(controllerRegistryAddr)!=address(0),"Invalid address" | 419,934 | address(controllerRegistryAddr)!=address(0) |
"Invalid address" | pragma solidity 0.8.7;
import "lib/ens-contracts/contracts/registry/ENS.sol";
import "lib/ens-contracts/contracts/registry/ReverseRegistrar.sol";
import "lib/ens-contracts/contracts/resolvers/Resolver.sol";
import "../interfaces/IControllerRegistry.sol";
import "../interfaces/IInviteToken.sol";
import "lib/openzeppelin... | address(inviteTokenAddr)!=address(0),"Invalid address" | 419,934 | address(inviteTokenAddr)!=address(0) |
"safe must have SHIP token" | pragma solidity 0.8.7;
import "lib/ens-contracts/contracts/registry/ENS.sol";
import "lib/ens-contracts/contracts/registry/ReverseRegistrar.sol";
import "lib/ens-contracts/contracts/resolvers/Resolver.sol";
import "../interfaces/IControllerRegistry.sol";
import "../interfaces/IInviteToken.sol";
import "lib/openzeppelin... | inviteToken.balanceOf(podSafe)>0,"safe must have SHIP token" | 419,934 | inviteToken.balanceOf(podSafe)>0 |
"controller not registered" | pragma solidity 0.8.7;
import "lib/ens-contracts/contracts/registry/ENS.sol";
import "lib/ens-contracts/contracts/registry/ReverseRegistrar.sol";
import "lib/ens-contracts/contracts/resolvers/Resolver.sol";
import "../interfaces/IControllerRegistry.sol";
import "../interfaces/IInviteToken.sol";
import "lib/openzeppelin... | controllerRegistry.isRegistered(msg.sender),"controller not registered" | 419,934 | controllerRegistry.isRegistered(msg.sender) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.