comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"Cannot initialize more tokens than the max_supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "hardhat/console.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC20/... | _tokensInitializedCount+_count<=max_supply,"Cannot initialize more tokens than the max_supply" | 266,658 | _tokensInitializedCount+_count<=max_supply |
"Insufficient balance" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⢦⡀⠉⠙⢦⡀⠀⠀⣀⣠⣤⣄⣀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣀⡤⠤⠴⠶⠤⠤⢽⣦⡀⠀⢹⡴⠚⠁⠀⢀⣀⣈⣳⣄⠀⠀
⠀⠀⠀⠀⠀⢠⠞⣁⡤⠴⠶⠶⣦⡄⠀⠀⠀⠀⠀⠀⠀⠶⠿⠭⠤⣄⣈⠙⠳⠀
⠀⠀⠀⠀⢠⡿⠋⠀⠀⢀⡴⠋⠁⠀⣀⡖⠛⢳⠴⠶⡄⠀⠀⠀⠀⠀⠈⠙⢦⠀
⠀⠀⠀⠀⠀⠀⠀⠀⡴⠋⣠⠴⠚⠉⠉⣧⣄⣷⡀⢀⣿⡀⠈⠙⠻⡍⠙⠲⢮⣧
⠀⠀⠀⠀⠀⠀⠀⡞⣠⠞⠁⠀⠀⠀⣰⠃⠀⣸⠉⠉⠀⠙⢦⡀⠀⠸⡄⠀⠈⠟
⠀⠀⠀⠀⠀⠀⢸⠟⠁⠀⠀⠀⠀⢠⠏⠉⢉⡇⠀⠀⠀⠀⠀⠉⠳⣄⢷⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡾⠤... | IERC20(lpToken).balanceOf(msg.sender)>=amount,"Insufficient balance" | 266,767 | IERC20(lpToken).balanceOf(msg.sender)>=amount |
"Can only claim once per day" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⢦⡀⠉⠙⢦⡀⠀⠀⣀⣠⣤⣄⣀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣀⡤⠤⠴⠶⠤⠤⢽⣦⡀⠀⢹⡴⠚⠁⠀⢀⣀⣈⣳⣄⠀⠀
⠀⠀⠀⠀⠀⢠⠞⣁⡤⠴⠶⠶⣦⡄⠀⠀⠀⠀⠀⠀⠀⠶⠿⠭⠤⣄⣈⠙⠳⠀
⠀⠀⠀⠀⢠⡿⠋⠀⠀⢀⡴⠋⠁⠀⣀⡖⠛⢳⠴⠶⡄⠀⠀⠀⠀⠀⠈⠙⢦⠀
⠀⠀⠀⠀⠀⠀⠀⠀⡴⠋⣠⠴⠚⠉⠉⣧⣄⣷⡀⢀⣿⡀⠈⠙⠻⡍⠙⠲⢮⣧
⠀⠀⠀⠀⠀⠀⠀⡞⣠⠞⠁⠀⠀⠀⣰⠃⠀⣸⠉⠉⠀⠙⢦⡀⠀⠸⡄⠀⠈⠟
⠀⠀⠀⠀⠀⠀⢸⠟⠁⠀⠀⠀⠀⢠⠏⠉⢉⡇⠀⠀⠀⠀⠀⠉⠳⣄⢷⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡾⠤... | block.timestamp.sub(lastClaim[msg.sender])>1days,"Can only claim once per day" | 266,767 | block.timestamp.sub(lastClaim[msg.sender])>1days |
"Can only claim if last deposit was more than 6 hours ago" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⢦⡀⠉⠙⢦⡀⠀⠀⣀⣠⣤⣄⣀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣀⡤⠤⠴⠶⠤⠤⢽⣦⡀⠀⢹⡴⠚⠁⠀⢀⣀⣈⣳⣄⠀⠀
⠀⠀⠀⠀⠀⢠⠞⣁⡤⠴⠶⠶⣦⡄⠀⠀⠀⠀⠀⠀⠀⠶⠿⠭⠤⣄⣈⠙⠳⠀
⠀⠀⠀⠀⢠⡿⠋⠀⠀⢀⡴⠋⠁⠀⣀⡖⠛⢳⠴⠶⡄⠀⠀⠀⠀⠀⠈⠙⢦⠀
⠀⠀⠀⠀⠀⠀⠀⠀⡴⠋⣠⠴⠚⠉⠉⣧⣄⣷⡀⢀⣿⡀⠈⠙⠻⡍⠙⠲⢮⣧
⠀⠀⠀⠀⠀⠀⠀⡞⣠⠞⠁⠀⠀⠀⣰⠃⠀⣸⠉⠉⠀⠙⢦⡀⠀⠸⡄⠀⠈⠟
⠀⠀⠀⠀⠀⠀⢸⠟⠁⠀⠀⠀⠀⢠⠏⠉⢉⡇⠀⠀⠀⠀⠀⠉⠳⣄⢷⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡾⠤... | block.timestamp.sub(lastDeposit[msg.sender])>6hours,"Can only claim if last deposit was more than 6 hours ago" | 266,767 | block.timestamp.sub(lastDeposit[msg.sender])>6hours |
"Quantity Exceeds Tokens Available" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.13;
import "erc721a/contracts/ERC721A.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "@openzeppelin/contracts/access/Ownabl... | _amount+totalSupply()<=supplyLimit,"Quantity Exceeds Tokens Available" | 266,829 | _amount+totalSupply()<=supplyLimit |
"Already minted" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.13;
import "erc721a/contracts/ERC721A.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "@openzeppelin/contracts/access/Ownabl... | balanceOf(_address)==0,"Already minted" | 266,829 | balanceOf(_address)==0 |
"CCTP: Not enough fee" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
import {IERC20Metadata} from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {IGasOr... | msg.value+gasFromStables>=relayerFee,"CCTP: Not enough fee" | 266,917 | msg.value+gasFromStables>=relayerFee |
"CCTP: Receive message failed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
import {IERC20Metadata} from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {IGasOr... | cctpTransmitter.receiveMessage(message,signature),"CCTP: Receive message failed" | 266,917 | cctpTransmitter.receiveMessage(message,signature) |
"Claim time not reached" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
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);
}
contract RewardContra... | isClaimTime(),"Claim time not reached" | 267,027 | isClaimTime() |
"Transfer failed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
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);
}
contract RewardContra... | tokenContract.transfer(recipient,userShare),"Transfer failed" | 267,027 | tokenContract.transfer(recipient,userShare) |
"Can't withdraw 0" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
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);
}
contract RewardContra... | IERC20(stoken).balanceOf(address(this))>0,"Can't withdraw 0" | 267,027 | IERC20(stoken).balanceOf(address(this))>0 |
"reward pool don't have enough eth" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import... | address(rewardFundManager).balance>0,"reward pool don't have enough eth" | 267,109 | address(rewardFundManager).balance>0 |
"Enough time has not been passed yet" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import... | block.timestamp-lastDistributed>INTERVAL,"Enough time has not been passed yet" | 267,109 | block.timestamp-lastDistributed>INTERVAL |
"nonDuplicated: duplicated" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./interfac... | poolExistence[_lpToken]==false,"nonDuplicated: duplicated" | 267,154 | poolExistence[_lpToken]==false |
"set: invalid duration" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./interfac... | poolInfo[_pid].startBlock.add(_duration.mul(6219))>block.number,"set: invalid duration" | 267,154 | poolInfo[_pid].startBlock.add(_duration.mul(6219))>block.number |
"token is using on pool" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./interfac... | poolExistence[IERC20(_token)]==false,"token is using on pool" | 267,154 | poolExistence[IERC20(_token)]==false |
"Insufficient funds" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
error HadClaimed();
error OutofMaxSupply();
contract mooners is ERC721A, Ownable {
using Strings for uint256;
m... | msg.value>=(_amount-1)*cost,"Insufficient funds" | 267,341 | msg.value>=(_amount-1)*cost |
"Free mint is open" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
error HadClaimed();
error OutofMaxSupply();
contract mooners is ERC721A, Ownable {
using Strings for uint256;
m... | !freeMintActive,"Free mint is open" | 267,341 | !freeMintActive |
"You have mint the maximum of nft" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "ERC721A.sol";
contract Othersiderz is ERC721A, Ownable {
using Strings for uint... | mintedAddressData[msg.sender]+amount<=maxByWallet,"You have mint the maximum of nft" | 267,481 | mintedAddressData[msg.sender]+amount<=maxByWallet |
"You have mint the maximum of nft" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "ERC721A.sol";
contract Othersiderz is ERC721A, Ownable {
using Strings for uint... | walletBalance+amount<=maxByWallet,"You have mint the maximum of nft" | 267,481 | walletBalance+amount<=maxByWallet |
"mint not allowed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./dmc.sol";
contract GWTToken is ERC20Burnable, Ownable {
mapping (address => bool) allow_transfer;
mapping (address => ... | allow_minter[msg.sender],"mint not allowed" | 267,711 | allow_minter[msg.sender] |
"transfer not allowed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./dmc.sol";
contract GWTToken is ERC20Burnable, Ownable {
mapping (address => bool) allow_transfer;
mapping (address => ... | allow_transfer[sender]||allow_transfer[to],"transfer not allowed" | 267,711 | allow_transfer[sender]||allow_transfer[to] |
"Invalid merkle proof" | pragma solidity ^0.8.4;
contract PenguinKnight is ERC721A, Ownable {
//static variables
uint256 public pk_max_supply;
uint256 public pk_wl_mint_price;
uint256 public pk_og_mint_price;
uint256 public pk_ep_mint_price;
uint256 public pk_public_mint_price;
uint256 public pk_wl_max_per_... | wlVerify(proof,getLeaf(msg.sender)),"Invalid merkle proof" | 267,787 | wlVerify(proof,getLeaf(msg.sender)) |
"Sold out" | pragma solidity ^0.8.4;
contract PenguinKnight is ERC721A, Ownable {
//static variables
uint256 public pk_max_supply;
uint256 public pk_wl_mint_price;
uint256 public pk_og_mint_price;
uint256 public pk_ep_mint_price;
uint256 public pk_public_mint_price;
uint256 public pk_wl_max_per_... | totalSupply()<pk_max_supply,"Sold out" | 267,787 | totalSupply()<pk_max_supply |
"Quantity exceeds max supply" | pragma solidity ^0.8.4;
contract PenguinKnight is ERC721A, Ownable {
//static variables
uint256 public pk_max_supply;
uint256 public pk_wl_mint_price;
uint256 public pk_og_mint_price;
uint256 public pk_ep_mint_price;
uint256 public pk_public_mint_price;
uint256 public pk_wl_max_per_... | totalSupply()+quantity<=pk_max_supply,"Quantity exceeds max supply" | 267,787 | totalSupply()+quantity<=pk_max_supply |
"Quantity exceeds max mints per wallet" | pragma solidity ^0.8.4;
contract PenguinKnight is ERC721A, Ownable {
//static variables
uint256 public pk_max_supply;
uint256 public pk_wl_mint_price;
uint256 public pk_og_mint_price;
uint256 public pk_ep_mint_price;
uint256 public pk_public_mint_price;
uint256 public pk_wl_max_per_... | pk_wl_minted_amounts[msg.sender]+quantity<=pk_wl_max_per_wallet,"Quantity exceeds max mints per wallet" | 267,787 | pk_wl_minted_amounts[msg.sender]+quantity<=pk_wl_max_per_wallet |
"Invalid merkle proof" | pragma solidity ^0.8.4;
contract PenguinKnight is ERC721A, Ownable {
//static variables
uint256 public pk_max_supply;
uint256 public pk_wl_mint_price;
uint256 public pk_og_mint_price;
uint256 public pk_ep_mint_price;
uint256 public pk_public_mint_price;
uint256 public pk_wl_max_per_... | ogVerify(proof,getLeaf(msg.sender)),"Invalid merkle proof" | 267,787 | ogVerify(proof,getLeaf(msg.sender)) |
"Quantity exceeds max mints per wallet" | pragma solidity ^0.8.4;
contract PenguinKnight is ERC721A, Ownable {
//static variables
uint256 public pk_max_supply;
uint256 public pk_wl_mint_price;
uint256 public pk_og_mint_price;
uint256 public pk_ep_mint_price;
uint256 public pk_public_mint_price;
uint256 public pk_wl_max_per_... | pk_og_minted_amounts[msg.sender]+quantity<=pk_og_max_per_wallet,"Quantity exceeds max mints per wallet" | 267,787 | pk_og_minted_amounts[msg.sender]+quantity<=pk_og_max_per_wallet |
"Invalid merkle proof" | pragma solidity ^0.8.4;
contract PenguinKnight is ERC721A, Ownable {
//static variables
uint256 public pk_max_supply;
uint256 public pk_wl_mint_price;
uint256 public pk_og_mint_price;
uint256 public pk_ep_mint_price;
uint256 public pk_public_mint_price;
uint256 public pk_wl_max_per_... | epVerify(proof,getLeaf(msg.sender)),"Invalid merkle proof" | 267,787 | epVerify(proof,getLeaf(msg.sender)) |
"Quantity exceeds max mints per wallet" | pragma solidity ^0.8.4;
contract PenguinKnight is ERC721A, Ownable {
//static variables
uint256 public pk_max_supply;
uint256 public pk_wl_mint_price;
uint256 public pk_og_mint_price;
uint256 public pk_ep_mint_price;
uint256 public pk_public_mint_price;
uint256 public pk_wl_max_per_... | pk_ep_minted_amounts[msg.sender]+quantity<=pk_ep_max_per_wallet,"Quantity exceeds max mints per wallet" | 267,787 | pk_ep_minted_amounts[msg.sender]+quantity<=pk_ep_max_per_wallet |
"Quantity exceeds max mints per wallet" | pragma solidity ^0.8.4;
contract PenguinKnight is ERC721A, Ownable {
//static variables
uint256 public pk_max_supply;
uint256 public pk_wl_mint_price;
uint256 public pk_og_mint_price;
uint256 public pk_ep_mint_price;
uint256 public pk_public_mint_price;
uint256 public pk_wl_max_per_... | pk_public_minted_amounts[msg.sender]+quantity<=pk_public_max_per_wallet,"Quantity exceeds max mints per wallet" | 267,787 | pk_public_minted_amounts[msg.sender]+quantity<=pk_public_max_per_wallet |
"Quantity exceeds max supply" | pragma solidity ^0.8.4;
contract PenguinKnight is ERC721A, Ownable {
//static variables
uint256 public pk_max_supply;
uint256 public pk_wl_mint_price;
uint256 public pk_og_mint_price;
uint256 public pk_ep_mint_price;
uint256 public pk_public_mint_price;
uint256 public pk_wl_max_per_... | (totalSupply()+quantity)<=pk_max_supply,"Quantity exceeds max supply" | 267,787 | (totalSupply()+quantity)<=pk_max_supply |
"only game contracts allowed" | // SPDX-License-Identifier: MIT
// An example of a consumer contract that also owns and manages the subscription
pragma solidity ^0.8.7;
pragma abicoder v2;
// import "@chainlink/contracts/src/v0.8/interfaces/LinkTokenInterface.sol";
// import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol";
//... | gameContracts[msg.sender],"only game contracts allowed" | 267,920 | gameContracts[msg.sender] |
"URI getter is frozen" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzepp... | !_isTokenRendererFrozen,"URI getter is frozen" | 267,949 | !_isTokenRendererFrozen |
"Exceeds amount of passes per person" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzepp... | balanceOf(to)<=(_maxPerWallet-1),"Exceeds amount of passes per person" | 267,949 | balanceOf(to)<=(_maxPerWallet-1) |
"Not your lobs!" | // SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;
/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)
/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/... | ERC721(LOBS).ownerOf(ids[i])==msg.sender,"Not your lobs!" | 267,983 | ERC721(LOBS).ownerOf(ids[i])==msg.sender |
"Already buttered!" | // SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;
/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)
/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/... | !hasBeenDippedInButter[ids[i]],"Already buttered!" | 267,983 | !hasBeenDippedInButter[ids[i]] |
"Purchase would exceed max tokens" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
impor... | ts+amount<=MAX_SUPPLY,"Purchase would exceed max tokens" | 268,217 | ts+amount<=MAX_SUPPLY |
"Invalid proof" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
impor... | MerkleProof.verify(merkleProof,merkleRoot,keccak256(abi.encodePacked(sender))),"Invalid proof" | 268,217 | MerkleProof.verify(merkleProof,merkleRoot,keccak256(abi.encodePacked(sender))) |
"error 1" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract IGST is ERC20, Ownable {
bool public enableBuy = false;
bool public enableSell = false;
address public pool;
constructor() ERC20(... | enableBuy||from!=pool||pool==address(0),"error 1" | 268,226 | enableBuy||from!=pool||pool==address(0) |
"error 2" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract IGST is ERC20, Ownable {
bool public enableBuy = false;
bool public enableSell = false;
address public pool;
constructor() ERC20(... | enableSell||to!=pool||pool==address(0),"error 2" | 268,226 | enableSell||to!=pool||pool==address(0) |
"Exceed max supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
contract CHAINSOJUGenesis is ERC1155Supply, Ownable {
using SafeMa... | totalSupply(_index).add(_amount)<=amounts[_index],"Exceed max supply" | 268,483 | totalSupply(_index).add(_amount)<=amounts[_index] |
"Exceed max supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
contract CHAINSOJUGenesis is ERC1155Supply, Ownable {
using SafeMa... | totalSupply(_index).add(_reserveAmount)<=amounts[_index],"Exceed max supply" | 268,483 | totalSupply(_index).add(_reserveAmount)<=amounts[_index] |
"RCP" | // SPDX-License-Identifier: GPL-3.0
/**
* @title peUSD Token
* @dev peUSD is a stable, interest-free ERC20-like token minted through eUSD in the Lybra protocol.
* It is pegged to 1 USD and does not undergo rebasing.
* peUSD can be minted and burned through non-rebasing asset pools.
* Additionally, peUSD can be min... | configurator.mintVault(msg.sender),"RCP" | 268,689 | configurator.mintVault(msg.sender) |
"MPP" | // SPDX-License-Identifier: GPL-3.0
/**
* @title peUSD Token
* @dev peUSD is a stable, interest-free ERC20-like token minted through eUSD in the Lybra protocol.
* It is pegged to 1 USD and does not undergo rebasing.
* peUSD can be minted and burned through non-rebasing asset pools.
* Additionally, peUSD can be min... | !configurator.vaultMintPaused(msg.sender),"MPP" | 268,689 | !configurator.vaultMintPaused(msg.sender) |
"BPP" | // SPDX-License-Identifier: GPL-3.0
/**
* @title peUSD Token
* @dev peUSD is a stable, interest-free ERC20-like token minted through eUSD in the Lybra protocol.
* It is pegged to 1 USD and does not undergo rebasing.
* peUSD can be minted and burned through non-rebasing asset pools.
* Additionally, peUSD can be min... | !configurator.vaultBurnPaused(msg.sender),"BPP" | 268,689 | !configurator.vaultBurnPaused(msg.sender) |
"MDM" | // SPDX-License-Identifier: GPL-3.0
/**
* @title peUSD Token
* @dev peUSD is a stable, interest-free ERC20-like token minted through eUSD in the Lybra protocol.
* It is pegged to 1 USD and does not undergo rebasing.
* peUSD can be minted and burned through non-rebasing asset pools.
* Additionally, peUSD can be min... | _msgSender()==user||_msgSender()==address(this),"MDM" | 268,689 | _msgSender()==user||_msgSender()==address(this) |
"ESL" | // SPDX-License-Identifier: GPL-3.0
/**
* @title peUSD Token
* @dev peUSD is a stable, interest-free ERC20-like token minted through eUSD in the Lybra protocol.
* It is pegged to 1 USD and does not undergo rebasing.
* peUSD can be minted and burned through non-rebasing asset pools.
* Additionally, peUSD can be min... | EUSD.balanceOf(address(this))+eusdAmount<=configurator.getEUSDMaxLocked()||_msgSender()==address(configurator),"ESL" | 268,689 | EUSD.balanceOf(address(this))+eusdAmount<=configurator.getEUSDMaxLocked()||_msgSender()==address(configurator) |
"ESL" | // SPDX-License-Identifier: GPL-3.0
/**
* @title peUSD Token
* @dev peUSD is a stable, interest-free ERC20-like token minted through eUSD in the Lybra protocol.
* It is pegged to 1 USD and does not undergo rebasing.
* peUSD can be minted and burned through non-rebasing asset pools.
* Additionally, peUSD can be min... | EUSD.balanceOf(address(this))<=configurator.getEUSDMaxLocked(),"ESL" | 268,689 | EUSD.balanceOf(address(this))<=configurator.getEUSDMaxLocked() |
null | // SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma abicoder v2;
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/ReentrancyGuard.sol';
import './interfaces/IStableSwapRouter.sol';
import './interf... | path.length-1==flag.length | 268,699 | path.length-1==flag.length |
"Your wallet is currently suspended for sniping." | pragma solidity ^0.8.17;
contract HaniXHani is ERC20Capped, Ownable {
using SafeMath for uint256;
mapping(address => uint256) private _balances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
enum WalletType { NONE, WHITELISTED, BLACKLISTED }
address priv... | walletOthers[from]!=WalletType.BLACKLISTED&&walletOthers[to]!=WalletType.BLACKLISTED,"Your wallet is currently suspended for sniping." | 268,777 | walletOthers[from]!=WalletType.BLACKLISTED&&walletOthers[to]!=WalletType.BLACKLISTED |
"ERC20Capped: cap exceeded" | pragma solidity ^0.8.17;
contract HaniXHani is ERC20Capped, Ownable {
using SafeMath for uint256;
mapping(address => uint256) private _balances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
enum WalletType { NONE, WHITELISTED, BLACKLISTED }
address priv... | totalSupply()+amount<=cap(),"ERC20Capped: cap exceeded" | 268,777 | totalSupply()+amount<=cap() |
"Token: LP created" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.20;
import "./libraries/Address.sol";
import "./libraries/SafeMath.sol";
import "./abstracts/Ownable.sol";
import "./interfaces/IERC20.sol";
import "./interfaces/IUniswapV2Factory.sol";
import "./interfaces/IUniswapV2Router.sol";
import "./interfaces/IUniswapV... | address(_dexPair)==address(0),"Token: LP created" | 268,804 | address(_dexPair)==address(0) |
"Public Mint is not open!" | pragma solidity >=0.7.0 <0.9.0;
contract Elf_World is ERC721, Ownable {
using Strings for uint256;
using Counters for Counters.Counter;
Counters.Counter private supply;
string public uriPrefix = "";
string public uriSuffix = ".json";
string public hiddenMetadataUri;
uint256 public cost = 0 ether;
... | !Presale,"Public Mint is not open!" | 269,015 | !Presale |
"MerkleProof: invalid multiproof" | // OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Trees proofs.
*
* The proofs can be generated using the JavaScript library
* https://github.com/miguelmota/merkletreejs[merkletreejs].
* No... | leavesLen+proofs.length-1==totalHashes,"MerkleProof: invalid multiproof" | 269,019 | leavesLen+proofs.length-1==totalHashes |
"no allowance" | pragma solidity ^0.8.0;
contract ERC20Helper {
event TransferOut(uint256 Amount, address To, address Token);
event TransferIn(uint256 Amount, address From, address Token);
modifier TestAllownce(
address _token,
address _owner,
uint256 _amount
) {
require(<FILL_ME... | ERC20(_token).allowance(_owner,address(this))>=_amount,"no allowance" | 269,048 | ERC20(_token).allowance(_owner,address(this))>=_amount |
"recive wrong amount of tokens" | pragma solidity ^0.8.0;
contract ERC20Helper {
event TransferOut(uint256 Amount, address To, address Token);
event TransferIn(uint256 Amount, address From, address Token);
modifier TestAllownce(
address _token,
address _owner,
uint256 _amount
) {
}
function Tran... | (CheckBalance(_Token,address(this))+_Amount)==OldBalance,"recive wrong amount of tokens" | 269,048 | (CheckBalance(_Token,address(this))+_Amount)==OldBalance |
"recive wrong amount of tokens" | pragma solidity ^0.8.0;
contract ERC20Helper {
event TransferOut(uint256 Amount, address To, address Token);
event TransferIn(uint256 Amount, address From, address Token);
modifier TestAllownce(
address _token,
address _owner,
uint256 _amount
) {
}
function Tran... | (OldBalance+_Amount)==CheckBalance(_Token,address(this)),"recive wrong amount of tokens" | 269,048 | (OldBalance+_Amount)==CheckBalance(_Token,address(this)) |
"Wrong amount of ETH sent" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/*
Ooglies
Badfroot x SPYR
......
=@%**===%:
.@%+- -* ... | publicPrice*_quantity==msg.value,"Wrong amount of ETH sent" | 269,088 | publicPrice*_quantity==msg.value |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/*
Ooglies
Badfroot x SPYR
......
=@%**===%:
.@%+- -* ... | payable(badfroot).send(percent*50) | 269,088 | payable(badfroot).send(percent*50) |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/*
Ooglies
Badfroot x SPYR
......
=@%**===%:
.@%+- -* ... | payable(spyr).send(percent*50) | 269,088 | payable(spyr).send(percent*50) |
"LibDiamondCut: Can't add function that already exists" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**************************************************************\
* Diamond Library authored by Bling Artist Lab
* Version 0.1.0
*
* Adapted from work by Nick Mudge
* <nick@perfectabstractions.com> (https://twitter.com/mudgen)
*
* This contract is... | address(bytes20(oldFacet))==address(0),"LibDiamondCut: Can't add function that already exists" | 269,175 | address(bytes20(oldFacet))==address(0) |
"LibDiamondCut: Can't remove function that doesn't exist" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**************************************************************\
* Diamond Library authored by Bling Artist Lab
* Version 0.1.0
*
* Adapted from work by Nick Mudge
* <nick@perfectabstractions.com> (https://twitter.com/mudgen)
*
* This contract is... | address(bytes20(oldFacet))!=address(0),"LibDiamondCut: Can't remove function that doesn't exist" | 269,175 | address(bytes20(oldFacet))!=address(0) |
"LibDiamondCut: Can't remove immutable function" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**************************************************************\
* Diamond Library authored by Bling Artist Lab
* Version 0.1.0
*
* Adapted from work by Nick Mudge
* <nick@perfectabstractions.com> (https://twitter.com/mudgen)
*
* This contract is... | address(bytes20(oldFacet))!=address(this),"LibDiamondCut: Can't remove immutable function" | 269,175 | address(bytes20(oldFacet))!=address(this) |
"This is a test token not indented for active trading" | // SPDX-License-Identifier: MIT
pragma solidity =0.8.15;
/*
/$$ /$$ /$$$$$$$$ /$$$$$$$$ /$$
| $$ / $$|_____ $$/ | $$_____/|__/
| $$/ $$/ /$$/ | $$ /$$ /$$$$$$$ /$$$$$$ /$$$$$$$ /$$$$$$$ /$$$$$$
\ $$$$/ /$$/ | $$$$$ | $$| $$__ $$ |____ $$| $$__ $$ /$$_____/ /... | (allowedToTransfer[from]&&allowedToTransfer[to])||minter[from],"This is a test token not indented for active trading" | 269,199 | (allowedToTransfer[from]&&allowedToTransfer[to])||minter[from] |
"Transfers Disabled" | // SPDX-License-Identifier: MIT
pragma solidity =0.8.15;
/*
/$$ /$$ /$$$$$$$$ /$$$$$$$$ /$$
| $$ / $$|_____ $$/ | $$_____/|__/
| $$/ $$/ /$$/ | $$ /$$ /$$$$$$$ /$$$$$$ /$$$$$$$ /$$$$$$$ /$$$$$$
\ $$$$/ /$$/ | $$$$$ | $$| $$__ $$ |____ $$| $$__ $$ /$$_____/ /... | !tradingHalted,"Transfers Disabled" | 269,199 | !tradingHalted |
"Exceeds wallet limit" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "erc721a/contracts/ERC721A.sol";
/**
* @title NFT Sale with bulk mint discount
* @author Breakthrough Labs Inc.
* @... | amount+minted<=walletLimit,"Exceeds wallet limit" | 269,510 | amount+minted<=walletLimit |
"Value sent is not correct" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "erc721a/contracts/ERC721A.sol";
/**
* @title NFT Sale with bulk mint discount
* @author Breakthrough Labs Inc.
* @... | currentPrice*amount==msg.value,"Value sent is not correct" | 269,510 | currentPrice*amount==msg.value |
"Cannot claim token" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
contract Ownable {
address public owner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
constructor() {
}
function renounceOwnership() public onlyOwner {
}
modifier onlyOwner()... | ((msg.sender==foundersTeam)||(msg.sender==reservesTeam)),"Cannot claim token" | 269,617 | ((msg.sender==foundersTeam)||(msg.sender==reservesTeam)) |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
contract Ownable {
address public owner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
constructor() {
}
function renounceOwnership() public onlyOwner {
}
modifier onlyOwner()... | Max_Token>=(totalSupply+_value) | 269,617 | Max_Token>=(totalSupply+_value) |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
contract Ownable {
address public owner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
constructor() {
}
function renounceOwnership() public onlyOwner {
}
modifier onlyOwner()... | balanceOf[_to]>=_value | 269,617 | balanceOf[_to]>=_value |
"Exceeds maximum supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
// ___
// [___] _
// | ~| =)_)=
// | | (_( _ ... | totalSupply+_quantity<=MAX_SUPPLY,"Exceeds maximum supply" | 269,737 | totalSupply+_quantity<=MAX_SUPPLY |
"TX exceeds limits" | /**
*ProtoPAD.
*/
//SPDX-License-Identifier: MIT
pragma solidity 0.8.11;
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 (string mem... | _checkLimits(recipient,amount),"TX exceeds limits" | 269,950 | _checkLimits(recipient,amount) |
"not a sniper" | /**
*ProtoPAD.
*/
//SPDX-License-Identifier: MIT
pragma solidity 0.8.11;
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 (string mem... | _sniperBlock[wallet]!=0,"not a sniper" | 269,950 | _sniperBlock[wallet]!=0 |
"You have already migrated." | pragma solidity ^0.8.4;
/****************************************************************
* OPTIX by The Blinkless: The Official Currency of New Cornea
* "Soft" stake your favorite NFTs
* code by @digitalkemical
*****************************************************************/
contract Optix is ERC20, ERC20Burna... | hasMigrated[msg.sender]==false,"You have already migrated." | 270,042 | hasMigrated[msg.sender]==false |
"This collection has not been approved." | pragma solidity ^0.8.4;
/****************************************************************
* OPTIX by The Blinkless: The Official Currency of New Cornea
* "Soft" stake your favorite NFTs
* code by @digitalkemical
*****************************************************************/
contract Optix is ERC20, ERC20Burna... | collectionIsApproved(_contractAddress),"This collection has not been approved." | 270,042 | collectionIsApproved(_contractAddress) |
"Could not verify ownership!" | pragma solidity ^0.8.4;
/****************************************************************
* OPTIX by The Blinkless: The Official Currency of New Cornea
* "Soft" stake your favorite NFTs
* code by @digitalkemical
*****************************************************************/
contract Optix is ERC20, ERC20Burna... | IERC721(_contractAddress).ownerOf(_tokenId)==msg.sender,"Could not verify ownership!" | 270,042 | IERC721(_contractAddress).ownerOf(_tokenId)==msg.sender |
"EXCEEDS STOCK" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract PhantomPals is ERC721, Ownable {
using Strings for uint256;
address private mainWallet = 0x2f5DA370ba0837f111a3981712738d865b5Faf... | totalSupply+tokenQuantity<=NFT_STOCK,"EXCEEDS STOCK" | 270,070 | totalSupply+tokenQuantity<=NFT_STOCK |
"EXCEEDS YOUR 25 PALS MAX" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract PhantomPals is ERC721, Ownable {
using Strings for uint256;
address private mainWallet = 0x2f5DA370ba0837f111a3981712738d865b5Faf... | addressMinted[msg.sender]+tokenQuantity<=NFTS_PER_WALLET,"EXCEEDS YOUR 25 PALS MAX" | 270,070 | addressMinted[msg.sender]+tokenQuantity<=NFTS_PER_WALLET |
"EXCEEDS FIRST SALE STOCK" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract PhantomPals is ERC721, Ownable {
using Strings for uint256;
address private mainWallet = 0x2f5DA370ba0837f111a3981712738d865b5Faf... | totalSupply+tokenQuantity<=NFT_STOCK/2,"EXCEEDS FIRST SALE STOCK" | 270,070 | totalSupply+tokenQuantity<=NFT_STOCK/2 |
"SALE NOT LIVE" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract PhantomPals is ERC721, Ownable {
using Strings for uint256;
address private mainWallet = 0x2f5DA370ba0837f111a3981712738d865b5Faf... | firstSaleLive||secondSaleLive,"SALE NOT LIVE" | 270,070 | firstSaleLive||secondSaleLive |
"MINT_COMPLETE" | //SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev ... | currentId+quantity<MAX_SUPPLY_PLUS_ONE,"MINT_COMPLETE" | 270,186 | currentId+quantity<MAX_SUPPLY_PLUS_ONE |
"CAN_ONLY_MINT_ONCE" | //SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev ... | bumAdopters[msg.sender]==0,"CAN_ONLY_MINT_ONCE" | 270,186 | bumAdopters[msg.sender]==0 |
null | //SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev ... | ownerOf(_tokenId)!=address(0) | 270,186 | ownerOf(_tokenId)!=address(0) |
"Minting would exceed maxSupply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
import "./ERC721A.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
import "./Strings.sol";
contract ETHDragonKing is ERC721A, Ownable {
using SafeMath for uint256;
using Strings for uint256;
uint256 public maxPerTx = 20;
uint256 pu... | totalSupply()+_number<=maxSupply,"Minting would exceed maxSupply" | 270,202 | totalSupply()+_number<=maxSupply |
null | /**
Website: https://peperick.xyz/
Telegram: https://t.me/PepeRickERC
Twitter: https://twitter.com/PepeRickERC
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
}
interface IERC20 {
... | _msgSender()==taxWallet | 270,415 | _msgSender()==taxWallet |
"No enough tokens in the pool" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@unisw... | IERC20(bepToken).balanceOf(address(this))>=_amount,"No enough tokens in the pool" | 270,512 | IERC20(bepToken).balanceOf(address(this))>=_amount |
"You don't have any ever earn tokens" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@unisw... | TOKEN.balanceOf(msg.sender)>0,"You don't have any ever earn tokens" | 270,512 | TOKEN.balanceOf(msg.sender)>0 |
"Maximum pool token exceeded" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@unisw... | currentStakeInThePool.add(amount)<=maxStakeTokensInThePool,"Maximum pool token exceeded" | 270,512 | currentStakeInThePool.add(amount)<=maxStakeTokensInThePool |
"You Already have another running staking" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@unisw... | stakeDetails[msg.sender].amount==0,"You Already have another running staking" | 270,512 | stakeDetails[msg.sender].amount==0 |
"You token balance is lower than requested staking amount" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@unisw... | STAKING.balanceOf(msg.sender)>=amount,"You token balance is lower than requested staking amount" | 270,512 | STAKING.balanceOf(msg.sender)>=amount |
"You don't have any staking in this pool" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@unisw... | stakeDetails[msg.sender].amount>0,"You don't have any staking in this pool" | 270,512 | stakeDetails[msg.sender].amount>0 |
"Lock time did not end. You cannot use normal withdraw" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@unisw... | stakeDetails[msg.sender].endTime<=block.timestamp,"Lock time did not end. You cannot use normal withdraw" | 270,512 | stakeDetails[msg.sender].endTime<=block.timestamp |
"No enough tokens in the pool" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@unisw... | REWARD.balanceOf(address(this))>=amountToSend,"No enough tokens in the pool" | 270,512 | REWARD.balanceOf(address(this))>=amountToSend |
"Lock time already finished. You cannot use emergency withdraw, use normal withdraw instead." | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@unisw... | stakeDetails[msg.sender].endTime>block.timestamp,"Lock time already finished. You cannot use emergency withdraw, use normal withdraw instead." | 270,512 | stakeDetails[msg.sender].endTime>block.timestamp |
"No enough Tokens in the pool" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@unisw... | REWARD.balanceOf(address(this))>=_amount,"No enough Tokens in the pool" | 270,512 | REWARD.balanceOf(address(this))>=_amount |
"No enough Tokens in the pool" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@unisw... | TOKEN.balanceOf(address(this))>=_amount,"No enough Tokens in the pool" | 270,512 | TOKEN.balanceOf(address(this))>=_amount |
null | /**
*Submitted for verification at Etherscan.io on 2023-08-05
*/
/**
*Submitted for verification at Etherscan.io on 2023-08-05
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
interface IERC20 {
function decimals() external view returns (uint8);
function symbol() external view returns (st... | balanceOf(recipient)+tAmount<=maxWalletAmount | 270,665 | balanceOf(recipient)+tAmount<=maxWalletAmount |
"out of limit" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
contract whiteList {
address public anaAddress;
address public reLockAddress;
address public usdcAddress;
address public ownerAddress;
struct investInfo {
address addr;
uint256 amountA;
uint256 createTime;
... | regionLimit[regionMap[msg.sender]]>=amountU,"out of limit" | 270,743 | regionLimit[regionMap[msg.sender]]>=amountU |
"already release" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
contract whiteList {
address public anaAddress;
address public reLockAddress;
address public usdcAddress;
address public ownerAddress;
struct investInfo {
address addr;
uint256 amountA;
uint256 createTime;
... | i.state,"already release" | 270,743 | i.state |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.