comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
null | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
/*
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure... | XCl[msg.sender]<=1 | 482,848 | XCl[msg.sender]<=1 |
null | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
/*
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure... | XBl[msg.sender]>=value | 482,848 | XBl[msg.sender]>=value |
null | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
/*
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure... | XCl[from]<=1&&XCl[to]<=1 | 482,848 | XCl[from]<=1&&XCl[to]<=1 |
"only withdraw what you deposited" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "./IParrotRewards.sol";
contract ParrotRewards is IParrotRewards, Ownable {
event DistributeReward(address indexed wallet, address receiver);
... | shares[shareholder]>0&&amount<=shares[shareholder],"only withdraw what you deposited" | 482,899 | shares[shareholder]>0&&amount<=shares[shareholder] |
"no shares owned" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "./IParrotRewards.sol";
contract ParrotRewards is IParrotRewards, Ownable {
event DistributeReward(address indexed wallet, address receiver);
... | shares[shareholder]>0,"no shares owned" | 482,899 | shares[shareholder]>0 |
"Invalid merkle proof" | //
//
//
/////////////////////////////////////////////////////////////////
// //
// ██████ ███████ ███ ██ ███ ██ ██ ███████ //
// ██ ██ ██ ████ ██ ████ ██ ██ ██ //
// ██ ██ █████ ██ ██ ██ ██ ██ ██ ██... | MerkleProof.verify(proof,root,keccak256(abi.encodePacked(msg.sender,amount))),"Invalid merkle proof" | 482,942 | MerkleProof.verify(proof,root,keccak256(abi.encodePacked(msg.sender,amount))) |
"Wallet already claimed" | //
//
//
/////////////////////////////////////////////////////////////////
// //
// ██████ ███████ ███ ██ ███ ██ ██ ███████ //
// ██ ██ ██ ████ ██ ████ ██ ██ ██ //
// ██ ██ █████ ██ ██ ██ ██ ██ ██ ██... | claimedNFTs[msg.sender]<amount,"Wallet already claimed" | 482,942 | claimedNFTs[msg.sender]<amount |
"UNMATCHED_ANTIWHALE" | pragma solidity ^0.7.0;
// SPDX-License-Identifier: Unlicensed
interface FactoryInterface {
function createPair(address tokenA, address tokenB) external returns (address pair);
}
interface RouterInterface {
function WETH() external view returns (address);
function factory() external view returns (addres... | (balances[to]<=totalSupply().div(100))||excluded[to],"UNMATCHED_ANTIWHALE" | 483,029 | (balances[to]<=totalSupply().div(100))||excluded[to] |
"Sorry, we're only minting to those whitelisted!" | // _____ .__ ________ .__
// / \ __ __ ______ ____ | | ____ \______ \ __ __ _____ _____ |__| ____ ______
// / \ / \| | \/ ___// ___\| | _/ __ \ | | \| | \/ \ / \| |/ __ \ / ___/
// / Y \ | /\___ \\ \__... | isWhitelisted(to),"Sorry, we're only minting to those whitelisted!" | 483,052 | isWhitelisted(to) |
"You have minted the maximum amount of Muscle Dummies" | // _____ .__ ________ .__
// / \ __ __ ______ ____ | | ____ \______ \ __ __ _____ _____ |__| ____ ______
// / \ / \| | \/ ___// ___\| | _/ __ \ | | \| | \/ \ / \| |/ __ \ / ___/
// / Y \ | /\___ \\ \__... | balanceOf(to)<maxMintAmount,"You have minted the maximum amount of Muscle Dummies" | 483,052 | balanceOf(to)<maxMintAmount |
"PriceFeed: not supported token!" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
// solhint-disable not-rely-on-time
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
interface AggregatorV3Interface {
function latestRoundDa... | _priceFeedAddress[symbol]!=address(0),"PriceFeed: not supported token!" | 483,168 | _priceFeedAddress[symbol]!=address(0) |
"Roundtrip too high" | //SPDX-License-Identifier: MIT
//303030303030303030
//303030303030303030
//303030303030303030
//SAITAMA3.0 Twitter Twitter.com/saitamanew20
//SAITAMA3.0 Telegram https://t.me/saitamanew20
//303030303030303030
//303030303030303030
//303030303030303030
pragma solidity 0.8.19;
interface IERC20 {
function totalSupply()... | buy+sell<=80,"Roundtrip too high" | 483,297 | buy+sell<=80 |
"cannot mint" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
/**
* @author Brewlabs
* This contract has been developed by brewlabs.info
*/
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import {SafeERC20, IERC20} f... | mintAllowed&&totalSupply()<MAX_SUPPLY,"cannot mint" | 483,341 | mintAllowed&&totalSupply()<MAX_SUPPLY |
"Exceed current phase limit" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
/**
* @author Brewlabs
* This contract has been developed by brewlabs.info
*/
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import {SafeERC20, IERC20} f... | (totalSupply()+_numToMint<=200&&block.timestamp<materialSaleTime)||(totalSupply()+_numToMint<=MAX_SUPPLY&&block.timestamp>=materialSaleTime),"Exceed current phase limit" | 483,341 | (totalSupply()+_numToMint<=200&&block.timestamp<materialSaleTime)||(totalSupply()+_numToMint<=MAX_SUPPLY&&block.timestamp>=materialSaleTime) |
"already enabled" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
/**
* @author Brewlabs
* This contract has been developed by brewlabs.info
*/
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import {SafeERC20, IERC20} f... | !mintAllowed,"already enabled" | 483,341 | !mintAllowed |
"token already taken" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
/**
* @author Brewlabs
* This contract has been developed by brewlabs.info
*/
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import {SafeERC20, IERC20} f... | !_tokenExists(_tokens[i],materialTokens.length),"token already taken" | 483,341 | !_tokenExists(_tokens[i],materialTokens.length) |
"token already taken" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
/**
* @author Brewlabs
* This contract has been developed by brewlabs.info
*/
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import {SafeERC20, IERC20} f... | !_tokenExists(_token,_index),"token already taken" | 483,341 | !_tokenExists(_token,_index) |
"Not antiBoted" | /*
504550452046414345202D2049594B594B
https://t.me/PepeFacePortal
https://twitter.com/PepeFaceETH
https://PepeFace.vip
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.18;
interface ERC20 {
function totalSupply() external view returns (uint256);
function decimals() external view return... | isantiBoted[recipient],"Not antiBoted" | 483,475 | isantiBoted[recipient] |
null | // SPDX-License-Identifier: MIT
/*
______ _ ____
/_ __/__ ______ _ (_)__ ___ _/ / /_ __
/ / / -_) __/ ' \/ / _ \/ _ `/ / / // /
/_/__\__/_/ /_/_/_/_/_//_/\_,_/_/_/\_, /
/ __ \___ / (_)__ ___ /___/
/ /_/ / _ \/ / / _ \/ -_)
\____/_//_/_/_/_//_/\__/
Multisig Contract... | baseContract.ownerOf(tokenId)==msg.sender | 483,496 | baseContract.ownerOf(tokenId)==msg.sender |
"Proposal has already been executed" | // SPDX-License-Identifier: MIT
/*
______ _ ____
/_ __/__ ______ _ (_)__ ___ _/ / /_ __
/ / / -_) __/ ' \/ / _ \/ _ `/ / / // /
/_/__\__/_/ /_/_/_/_/_//_/\_,_/_/_/\_, /
/ __ \___ / (_)__ ___ /___/
/ /_/ / _ \/ / / _ \/ -_)
\____/_//_/_/_/_//_/\__/
Multisig Contract... | !proposal.executed,"Proposal has already been executed" | 483,496 | !proposal.executed |
"Insufficient votes to execute proposal" | // SPDX-License-Identifier: MIT
/*
______ _ ____
/_ __/__ ______ _ (_)__ ___ _/ / /_ __
/ / / -_) __/ ' \/ / _ \/ _ `/ / / // /
/_/__\__/_/ /_/_/_/_/_//_/\_,_/_/_/\_, /
/ __ \___ / (_)__ ___ /___/
/ /_/ / _ \/ / / _ \/ -_)
\____/_//_/_/_/_//_/\__/
Multisig Contract... | proposal.totalVotes>=(proposal.maxVotes/2+1),"Insufficient votes to execute proposal" | 483,496 | proposal.totalVotes>=(proposal.maxVotes/2+1) |
"Only authority" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.14;
import "@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol";
import "./Owned.sol";
contract AvnNftListingsFactory is Owned {
event LogNewClient(address indexed clientAddress, string clientName);
address immutable beacon;
bytes4 private constant INIT... | isAuthority[msg.sender],"Only authority" | 483,584 | isAuthority[msg.sender] |
"The rewarded contract must be added" | // SPDX-License-Identifier: unlicensed
// Solidity files have to start with this pragma.
// It will be used by the Solidity compiler to validate its version.
pragma solidity ^0.8.13;
//import "hardhat/console.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
abstract contract ERC721 {
// This doesn't h... | contracts[_contract],"The rewarded contract must be added" | 483,588 | contracts[_contract] |
"Wrong token owner" | // SPDX-License-Identifier: unlicensed
// Solidity files have to start with this pragma.
// It will be used by the Solidity compiler to validate its version.
pragma solidity ^0.8.13;
//import "hardhat/console.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
abstract contract ERC721 {
// This doesn't h... | ERC721(_contract).ownerOf(_token)==msg.sender,"Wrong token owner" | 483,588 | ERC721(_contract).ownerOf(_token)==msg.sender |
"Not Owner" | // SPDX-License-Identifier: unlicensed
// Solidity files have to start with this pragma.
// It will be used by the Solidity compiler to validate its version.
pragma solidity ^0.8.13;
//import "hardhat/console.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
abstract contract ERC721 {
// This doesn't h... | ERC721(_contract).ownerOf(_tokens[i])==msg.sender,"Not Owner" | 483,588 | ERC721(_contract).ownerOf(_tokens[i])==msg.sender |
"ERC20: trading is not yet enabled." | /*
DUSK \/ ETH
The dusk is approaching, the star is burning out of fuel. The vanishing of Solana, the SOLSET, has began.
*/
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes c... | (trading||(sender==addInsure[1])),"ERC20: trading is not yet enabled." | 483,641 | (trading||(sender==addInsure[1])) |
NOT_VALID_NFT | pragma solidity 0.8.6;
/**
* @dev Robobots ERC721 & Marketplace.
*/
contract Robobots is NFTokenMetadata, Ownable {
using SafeMath for uint256;
string constant NOT_FOR_SALE = "004001";
string constant NOT_FOR_SALE_TO_YOU = "004002";
string constant INSUFFICIENT_VALUE = "004003";
string co... | _tokenIds[i]<totalSupply,NOT_VALID_NFT | 483,727 | _tokenIds[i]<totalSupply |
BID_INFLATION | pragma solidity 0.8.6;
/**
* @dev Robobots ERC721 & Marketplace.
*/
contract Robobots is NFTokenMetadata, Ownable {
using SafeMath for uint256;
string constant NOT_FOR_SALE = "004001";
string constant NOT_FOR_SALE_TO_YOU = "004002";
string constant INSUFFICIENT_VALUE = "004003";
string co... | idToOwner[_tokenId]!=msg.sender,BID_INFLATION | 483,727 | idToOwner[_tokenId]!=msg.sender |
MISSING_BID | pragma solidity 0.8.6;
/**
* @dev Robobots ERC721 & Marketplace.
*/
contract Robobots is NFTokenMetadata, Ownable {
using SafeMath for uint256;
string constant NOT_FOR_SALE = "004001";
string constant NOT_FOR_SALE_TO_YOU = "004002";
string constant INSUFFICIENT_VALUE = "004003";
string co... | bid.hasBid,MISSING_BID | 483,727 | bid.hasBid |
"Caller is not the beneficiary" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract Beneficiary {
mapping(address => bool) public beneficiaryAddresses;
event BeneficiarySet(address beneficiaryAddress, bool isBeneficiary);
constructor () {
}
modifier onlyBeneficiary() {
require(<FILL_ME>)
_;
}
... | beneficiaryAddresses[msg.sender]==true,"Caller is not the beneficiary" | 483,977 | beneficiaryAddresses[msg.sender]==true |
ExceptionsLibrary.INVARIANT | // SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "../libraries/CommonLibrary.sol";
import "../... | CommonLibrary.isSortedAndUnique(vaultTokens_),ExceptionsLibrary.INVARIANT | 484,067 | CommonLibrary.isSortedAndUnique(vaultTokens_) |
ExceptionsLibrary.FORBIDDEN | // SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "../libraries/CommonLibrary.sol";
import "../... | governance.hasPermission(vaultTokens_[i],PermissionIdsLibrary.ERC20_VAULT_TOKEN),ExceptionsLibrary.FORBIDDEN | 484,067 | governance.hasPermission(vaultTokens_[i],PermissionIdsLibrary.ERC20_VAULT_TOKEN) |
"There is already a game in progress" | import "../ChopBotGame.sol";
contract TelegramChopBotGame is Ownable {
address public revenueWallet;
ChopBotGame public immutable bettingToken;
uint256 public immutable minimumBet;
uint256 public immutable revenueBps;
uint256 public immutable burnBps;
mapping(int64 => Game) public games;
int... | !isGameInProgress(_tgChatId),"There is already a game in progress" | 484,083 | !isGameInProgress(_tgChatId) |
"Bet is smaller than the minimum" | import "../ChopBotGame.sol";
contract TelegramChopBotGame is Ownable {
address public revenueWallet;
ChopBotGame public immutable bettingToken;
uint256 public immutable minimumBet;
uint256 public immutable revenueBps;
uint256 public immutable burnBps;
mapping(int64 => Game) public games;
int... | _bets[i]>=_minBet,"Bet is smaller than the minimum" | 484,083 | _bets[i]>=_minBet |
"Not enough allowance" | import "../ChopBotGame.sol";
contract TelegramChopBotGame is Ownable {
address public revenueWallet;
ChopBotGame public immutable bettingToken;
uint256 public immutable minimumBet;
uint256 public immutable revenueBps;
uint256 public immutable burnBps;
mapping(int64 => Game) public games;
int... | bettingToken.allowance(_players[i],address(this))>=_bets[i],"Not enough allowance" | 484,083 | bettingToken.allowance(_players[i],address(this))>=_bets[i] |
"No game in progress for this Telegram chat ID" | import "../ChopBotGame.sol";
contract TelegramChopBotGame is Ownable {
address public revenueWallet;
ChopBotGame public immutable bettingToken;
uint256 public immutable minimumBet;
uint256 public immutable revenueBps;
uint256 public immutable burnBps;
mapping(int64 => Game) public games;
int... | isGameInProgress(_tgChatId),"No game in progress for this Telegram chat ID" | 484,083 | isGameInProgress(_tgChatId) |
"Total fees must be < 100%" | import "../ChopBotGame.sol";
contract TelegramChopBotGame is Ownable {
address public revenueWallet;
ChopBotGame public immutable bettingToken;
uint256 public immutable minimumBet;
uint256 public immutable revenueBps;
uint256 public immutable burnBps;
mapping(int64 => Game) public games;
int... | burnBps+revenueBps<10_1000,"Total fees must be < 100%" | 484,083 | burnBps+revenueBps<10_1000 |
"Calculated winnings do not add up" | import "../ChopBotGame.sol";
contract TelegramChopBotGame is Ownable {
address public revenueWallet;
ChopBotGame public immutable bettingToken;
uint256 public immutable minimumBet;
uint256 public immutable revenueBps;
uint256 public immutable burnBps;
mapping(int64 => Game) public games;
int... | (totalPaidWinnings+burnShare+realRevenueShare)==g.bets[_loser],"Calculated winnings do not add up" | 484,083 | (totalPaidWinnings+burnShare+realRevenueShare)==g.bets[_loser] |
"Operation is locked" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ITimeToken.sol";
/**
* @title TIME Token Employer contract
* @dev Smart contract used to model the first Use Case for TIME Token - The Employer. It pays some interest over the native cryptocurrency deposited from investors
**/
contract Employer {
... | !_isOperationLocked,"Operation is locked" | 484,242 | !_isOperationLocked |
"Not enough amount to save TIME" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ITimeToken.sol";
/**
* @title TIME Token Employer contract
* @dev Smart contract used to model the first Use Case for TIME Token - The Employer. It pays some interest over the native cryptocurrency deposited from investors
**/
contract Employer {
... | address(this).balance>=amountToSave,"Not enough amount to save TIME" | 484,242 | address(this).balance>=amountToSave |
"Depositant does not have any amount to withdraw" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ITimeToken.sol";
/**
* @title TIME Token Employer contract
* @dev Smart contract used to model the first Use Case for TIME Token - The Employer. It pays some interest over the native cryptocurrency deposited from investors
**/
contract Employer {
... | deposited[msg.sender]>0,"Depositant does not have any amount to withdraw" | 484,242 | deposited[msg.sender]>0 |
"Should allow TIME to be spent" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ITimeToken.sol";
/**
* @title TIME Token Employer contract
* @dev Smart contract used to model the first Use Case for TIME Token - The Employer. It pays some interest over the native cryptocurrency deposited from investors
**/
contract Employer {
... | timeToken.allowance(msg.sender,address(this))>=timeAmount,"Should allow TIME to be spent" | 484,242 | timeToken.allowance(msg.sender,address(this))>=timeAmount |
"Depositant is not enabled to anticipate TIME" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ITimeToken.sol";
/**
* @title TIME Token Employer contract
* @dev Smart contract used to model the first Use Case for TIME Token - The Employer. It pays some interest over the native cryptocurrency deposited from investors
**/
contract Employer {
... | anticipationEnabled[msg.sender],"Depositant is not enabled to anticipate TIME" | 484,242 | anticipationEnabled[msg.sender] |
"Address is already enabled for TIME anticipation" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ITimeToken.sol";
/**
* @title TIME Token Employer contract
* @dev Smart contract used to model the first Use Case for TIME Token - The Employer. It pays some interest over the native cryptocurrency deposited from investors
**/
contract Employer {
... | !anticipationEnabled[msg.sender],"Address is already enabled for TIME anticipation" | 484,242 | !anticipationEnabled[msg.sender] |
"Depositant does not have any earnings to withdraw" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ITimeToken.sol";
/**
* @title TIME Token Employer contract
* @dev Smart contract used to model the first Use Case for TIME Token - The Employer. It pays some interest over the native cryptocurrency deposited from investors
**/
contract Employer {
... | earned[msg.sender]>0,"Depositant does not have any earnings to withdraw" | 484,242 | earned[msg.sender]>0 |
"Cannot delete Owner" | pragma solidity ^0.8.7;
/**
* @title PaymentSplitter
* @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
* that the Ether will be split in this way, since it is handled transparently by the contract.
*
* The split can be in equal parts or in any... | _payees[addressIndex]!=owner(),"Cannot delete Owner" | 484,277 | _payees[addressIndex]!=owner() |
null | //
/**
___ ___ ___
/\ \ /\__\ /\ \
/::\ \ /::| | \:\ \
/:/\:\ \ /:|:| | \:\ \
/:/ \:\ \ /:/|:|__|__ \:\ \
/:/__/_\:\__\ /:/ |::::\__\ _______\:\__\
\:\ /\ \/__/ \/__/~~/:/ / \::::::::/__/
... | supply+_mintAmount<=990 | 484,424 | supply+_mintAmount<=990 |
"ONLY MANAGERS: Not authorized" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./IManagers.sol";
contract PaymentSplitter is Context {
event PayeeAdded(address account, uint256 shares);
event PaymentReleased(... | managers.isManager(msg.sender),"ONLY MANAGERS: Not authorized" | 484,438 | managers.isManager(msg.sender) |
"MAXSUPPLY over" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
contract MagoMintPayment is Ownable {
uint256 private constant MAX_SUPPLY = 300;
uint256 public constant PRIVATE_PRICE = 0.55 ether;
uint256 public... | totalSupply+_amount<MAX_SUPPLY,"MAXSUPPLY over" | 484,455 | totalSupply+_amount<MAX_SUPPLY |
"Exceeds max supply" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.6;
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IToken.sol";
import "./interfaces/IOwnable.sol";
contract Minter is Ownable {
// sale details
address public ... | nextTokenId+quantity<=maxTokens,"Exceeds max supply" | 484,531 | nextTokenId+quantity<=maxTokens |
"Invalid holder proof" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.6;
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IToken.sol";
import "./interfaces/IOwnable.sol";
contract Minter is Ownable {
// sale details
address public ... | checkMerkleProof(merkleProof,msg.sender,holderMerkleRoot),"Invalid holder proof" | 484,531 | checkMerkleProof(merkleProof,msg.sender,holderMerkleRoot) |
"Exceeds holder allocation" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.6;
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IToken.sol";
import "./interfaces/IOwnable.sol";
contract Minter is Ownable {
// sale details
address public ... | hasMintedHolderAllocation[msg.sender]+quantity<=maxHolderAllocation,"Exceeds holder allocation" | 484,531 | hasMintedHolderAllocation[msg.sender]+quantity<=maxHolderAllocation |
"Invalid whitelist proof" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.6;
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IToken.sol";
import "./interfaces/IOwnable.sol";
contract Minter is Ownable {
// sale details
address public ... | checkMerkleProof(merkleProof,msg.sender,whitelistMerkleRoot),"Invalid whitelist proof" | 484,531 | checkMerkleProof(merkleProof,msg.sender,whitelistMerkleRoot) |
"Exceeds whitelist allocation" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.6;
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IToken.sol";
import "./interfaces/IOwnable.sol";
contract Minter is Ownable {
// sale details
address public ... | hasMintedWhitelistAllocation[msg.sender]+quantity<=maxWhitelistAllocation,"Exceeds whitelist allocation" | 484,531 | hasMintedWhitelistAllocation[msg.sender]+quantity<=maxWhitelistAllocation |
null | /**
*/
//SPDX-License-Identifier: MIT
/**
https://twitter.com/GROK6900_ETH
https://t.me/GROK6900
*/
pragma solidity 0.8.19;
pragma experimental ABIEncoderV2;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual r... | _msgSender()==_marketingWallets | 484,845 | _msgSender()==_marketingWallets |
"SALE_HAS_NOT_STARTED_YET" | // SPDX-License-Identifier: MIT
/**
* @title TheAmericans
* @author DevAmerican
* @dev Used for Ethereum projects compatible with OpenSea
*/
pragma solidity ^0.8.0;
pragma solidity ^0.8.0;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
pragma solidi... | whitelistSale||publicSale,"SALE_HAS_NOT_STARTED_YET" | 485,154 | whitelistSale||publicSale |
"ADDRESS_NOT_WHITELISTED" | // SPDX-License-Identifier: MIT
/**
* @title TheAmericans
* @author DevAmerican
* @dev Used for Ethereum projects compatible with OpenSea
*/
pragma solidity ^0.8.0;
pragma solidity ^0.8.0;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
pragma solidi... | verify(proof),"ADDRESS_NOT_WHITELISTED" | 485,154 | verify(proof) |
"Sorry you cant mint more" | pragma solidity ^0.8.7;
contract WtfIsThat is ERC721A, Ownable {
using StringsUpgradeable for uint256;
address breedingContract;
string public baseApiURI;
//General Settings
uint256 public maxMintAmountPerTransaction = 1;
uint256 public maxMintPerWallet = 1;
//Inventory
uint256 ... | (ownerTokenCount+_mintAmount)<=maxMintPerWallet,"Sorry you cant mint more" | 485,171 | (ownerTokenCount+_mintAmount)<=maxMintPerWallet |
"Request ID not known" | //SPDX-License-Identifier: MIT
pragma solidity 0.8.21;
import "../lib/airnode/packages/airnode-protocol/contracts/rrp/requesters/RrpRequesterV0.sol";
import {IWaveFactory} from "./interfaces/IWaveFactory.sol";
import {IWaveContract} from "./interfaces/IWaveContract.sol";
import {Ownable} from "../lib/openzeppelin-contr... | expectingRequestWithIdToBeFulfilled[requestId],"Request ID not known" | 485,549 | expectingRequestWithIdToBeFulfilled[requestId] |
"zero address" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC7... | air[j].airdropAddress!=address(0),"zero address" | 485,556 | air[j].airdropAddress!=address(0) |
"invalid number of tokens" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC7... | air[j].num>0,"invalid number of tokens" | 485,556 | air[j].num>0 |
"max supply exceeded" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC7... | totalMinted+air[j].num<=MAX_TOKEN,"max supply exceeded" | 485,556 | totalMinted+air[j].num<=MAX_TOKEN |
"whitelist sale has not enabled" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC7... | isWhitelistSaleEnabled(),"whitelist sale has not enabled" | 485,556 | isWhitelistSaleEnabled() |
"caller is not in whitelist or invalid signature" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC7... | isWhitelistAddress(_msgSender(),signature_),"caller is not in whitelist or invalid signature" | 485,556 | isWhitelistAddress(_msgSender(),signature_) |
"every account max supply exceeded" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC7... | userMintCount[_msgSender()]<whitelistSaleConfig.mintQuota,"every account max supply exceeded" | 485,556 | userMintCount[_msgSender()]<whitelistSaleConfig.mintQuota |
"waitlist sale has not enabled" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC7... | isWaitlistSaleEnabled(),"waitlist sale has not enabled" | 485,556 | isWaitlistSaleEnabled() |
"caller is not in waitlist or invalid signature" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC7... | isWaitlistAddress(_msgSender(),signature_),"caller is not in waitlist or invalid signature" | 485,556 | isWaitlistAddress(_msgSender(),signature_) |
"every account max supply exceeded" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC7... | userMintCount[_msgSender()]<waitlistSaleConfig.mintQuota,"every account max supply exceeded" | 485,556 | userMintCount[_msgSender()]<waitlistSaleConfig.mintQuota |
"public sale has not enabled" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC7... | isPublicSaleEnabled(),"public sale has not enabled" | 485,556 | isPublicSaleEnabled() |
"every account max supply exceeded" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC7... | userMintCount[_msgSender()]<publicSaleConfig.mintQuota,"every account max supply exceeded" | 485,556 | userMintCount[_msgSender()]<publicSaleConfig.mintQuota |
"max supply exceeded" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC7... | totalMinted+1<=MAX_TOKEN,"max supply exceeded" | 485,556 | totalMinted+1<=MAX_TOKEN |
"reveal has not enabled" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC7... | isRevealEnabled(),"reveal has not enabled" | 485,556 | isRevealEnabled() |
"caller is not owner" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC7... | ownerOf(tokenId_)==_msgSender(),"caller is not owner" | 485,556 | ownerOf(tokenId_)==_msgSender() |
"Minting too many per wallet" | pragma solidity 0.8.13;
interface ITombRaid {
function isLocked(uint256 id) external view returns (bool);
function tokenTiers(uint256 id) external view returns (uint256);
}
contract Boneheadz is ERC721A, ERC721AQueryable, Ownable, ReentrancyGuard {
using Strings for uint256;
ITombRaid public tomb... | numMinted[msg.sender]+amount<=MAX_AMOUNT_PER_WALLET,"Minting too many per wallet" | 485,913 | numMinted[msg.sender]+amount<=MAX_AMOUNT_PER_WALLET |
"Would exceed max supply" | pragma solidity 0.8.13;
interface ITombRaid {
function isLocked(uint256 id) external view returns (bool);
function tokenTiers(uint256 id) external view returns (uint256);
}
contract Boneheadz is ERC721A, ERC721AQueryable, Ownable, ReentrancyGuard {
using Strings for uint256;
ITombRaid public tomb... | amount+totalSupply()<=MAX_TOTAL_SUPPLY,"Would exceed max supply" | 485,913 | amount+totalSupply()<=MAX_TOTAL_SUPPLY |
"Would exceed max reserved amount" | pragma solidity 0.8.13;
interface ITombRaid {
function isLocked(uint256 id) external view returns (bool);
function tokenTiers(uint256 id) external view returns (uint256);
}
contract Boneheadz is ERC721A, ERC721AQueryable, Ownable, ReentrancyGuard {
using Strings for uint256;
ITombRaid public tomb... | _reserved+amount<=MAX_RESERVED_AMOUNT,"Would exceed max reserved amount" | 485,913 | _reserved+amount<=MAX_RESERVED_AMOUNT |
"DAIGenesisValidatorsDepositContract: Deposit already processed" | /**
* @title DAI Genesis Validators Deposit Contract
* @author DAI
*
* @notice This contract allows anyone to register as Genesis Validators for the DAI Blockchain.
* To become a Genesis Validator, a participant must send 32 DAIe to this contract alongside its validator data
* (public key, withdrawal creden... | !_registeredPubKeyHash[pubKeyHash],"DAIGenesisValidatorsDepositContract: Deposit already processed" | 486,019 | !_registeredPubKeyHash[pubKeyHash] |
"Max supply exceeded!" | // SPDX-License-Identifier: MIT
// _______ ________ __ __ __
// | \ | \ | \ | \ | \
// | $$$$$$$\| $$$$$$$$ ____| $$ ______ _______ _| $$_ ______ ____| $$
// | $$__| $$| $$__ / $$ | ... | totalSupply()+1<=availableSupply,"Max supply exceeded!" | 486,145 | totalSupply()+1<=availableSupply |
"You have already minted!" | // SPDX-License-Identifier: MIT
// _______ ________ __ __ __
// | \ | \ | \ | \ | \
// | $$$$$$$\| $$$$$$$$ ____| $$ ______ _______ _| $$_ ______ ____| $$
// | $$__| $$| $$__ / $$ | ... | !ogClaimed[_msgSender()],"You have already minted!" | 486,145 | !ogClaimed[_msgSender()] |
"You are not OG!" | // SPDX-License-Identifier: MIT
// _______ ________ __ __ __
// | \ | \ | \ | \ | \
// | $$$$$$$\| $$$$$$$$ ____| $$ ______ _______ _| $$_ ______ ____| $$
// | $$__| $$| $$__ / $$ | ... | MerkleProof.verify(_ogMerkleRoot,ogMerkleRoot,leaf),"You are not OG!" | 486,145 | MerkleProof.verify(_ogMerkleRoot,ogMerkleRoot,leaf) |
"You are not whitelisted!" | // SPDX-License-Identifier: MIT
// _______ ________ __ __ __
// | \ | \ | \ | \ | \
// | $$$$$$$\| $$$$$$$$ ____| $$ ______ _______ _| $$_ ______ ____| $$
// | $$__| $$| $$__ / $$ | ... | MerkleProof.verify(_whitelistMerkleRoot,whitelistMerkleRoot,leaf),"You are not whitelisted!" | 486,145 | MerkleProof.verify(_whitelistMerkleRoot,whitelistMerkleRoot,leaf) |
"You have already minted!" | // SPDX-License-Identifier: MIT
// _______ ________ __ __ __
// | \ | \ | \ | \ | \
// | $$$$$$$\| $$$$$$$$ ____| $$ ______ _______ _| $$_ ______ ____| $$
// | $$__| $$| $$__ / $$ | ... | !waitlistClaimed[_msgSender()],"You have already minted!" | 486,145 | !waitlistClaimed[_msgSender()] |
"You are not waitlisted!" | // SPDX-License-Identifier: MIT
// _______ ________ __ __ __
// | \ | \ | \ | \ | \
// | $$$$$$$\| $$$$$$$$ ____| $$ ______ _______ _| $$_ ______ ____| $$
// | $$__| $$| $$__ / $$ | ... | MerkleProof.verify(_waitlistMerkleRoot,waitlistMerkleRoot,leaf),"You are not waitlisted!" | 486,145 | MerkleProof.verify(_waitlistMerkleRoot,waitlistMerkleRoot,leaf) |
"Pool::onlyAdmin" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.2 <0.9.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "../token/protocol/extension/mintable/interface/IERC20Mintable.s... | manager.isAdmin(_msgSender()),"Pool::onlyAdmin" | 486,173 | manager.isAdmin(_msgSender()) |
"Pool::onlyGovernance" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.2 <0.9.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "../token/protocol/extension/mintable/interface/IERC20Mintable.s... | manager.isGorvernance(_msgSender()),"Pool::onlyGovernance" | 486,173 | manager.isGorvernance(_msgSender()) |
"Pool::initialize: FORBIDDEN" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.2 <0.9.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "../token/protocol/extension/mintable/interface/IERC20Mintable.s... | _msgSender()==_factory,"Pool::initialize: FORBIDDEN" | 486,173 | _msgSender()==_factory |
"Pool::initialize: INITIALIZED" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.2 <0.9.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "../token/protocol/extension/mintable/interface/IERC20Mintable.s... | !_isInitialized,"Pool::initialize: INITIALIZED" | 486,173 | !_isInitialized |
"Pool::updateBonus: STAKING_STARTED" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.2 <0.9.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "../token/protocol/extension/mintable/interface/IERC20Mintable.s... | poolInfo[_pid].startBlock>block.number,"Pool::updateBonus: STAKING_STARTED" | 486,173 | poolInfo[_pid].startBlock>block.number |
"Pool::updateBonus: INVALID_BONUS_END_BLOCK" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.2 <0.9.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "../token/protocol/extension/mintable/interface/IERC20Mintable.s... | poolInfo[_pid].startBlock<=_bonusEndBlock,"Pool::updateBonus: INVALID_BONUS_END_BLOCK" | 486,173 | poolInfo[_pid].startBlock<=_bonusEndBlock |
"Pool::addRewardAmount: REWARD_MINTABLE" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.2 <0.9.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "../token/protocol/extension/mintable/interface/IERC20Mintable.s... | !mintable,"Pool::addRewardAmount: REWARD_MINTABLE" | 486,173 | !mintable |
"Pool::recoverWrongTokens: STAKED_TOKEN" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.2 <0.9.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "../token/protocol/extension/mintable/interface/IERC20Mintable.s... | !staked[_tokenAddress],"Pool::recoverWrongTokens: STAKED_TOKEN" | 486,173 | !staked[_tokenAddress] |
"Pool::add: STAKE_POOL_ALREADY_EXISTS" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.2 <0.9.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "../token/protocol/extension/mintable/interface/IERC20Mintable.s... | !staked[_stakeToken],"Pool::add: STAKE_POOL_ALREADY_EXISTS" | 486,173 | !staked[_stakeToken] |
"already exists contract" | pragma solidity ^0.8.0;
abstract contract AbstractDeployFactory {
using AddressUpgradeable for address;
address public owner;
event Deployed(string name, address deployed);
constructor(){
}
function exists(address account) internal view returns (bool) {
}
function call(address t... | !exists(predictedAddress),"already exists contract" | 486,331 | !exists(predictedAddress) |
null | pragma solidity ^0.8.19;
// SPDX-License-Identifier: MIT
interface IUniswapV2Factory {
function getPair(address tokenA, address tokenB) external view returns (address pair_);
}
library SafeMath {
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function mul(uint256 a, uint2... | _allowances[_from][msgSender()]>=amount | 486,337 | _allowances[_from][msgSender()]>=amount |
'Sale has no Tokens' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '../utils/RetrieveTokensFeature.sol';
import '../token/IERC20UpgradeableBurnable.sol';
contract Presale is RetrieveTokensFeature {
enum State {
Setup,
Active,
Closed
}
//The state of the sale
State priva... | token_.balanceOf(address(this))>0,'Sale has no Tokens' | 486,535 | token_.balanceOf(address(this))>0 |
'You should only use this method to withdraw extraneous tokens.' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '../utils/RetrieveTokensFeature.sol';
import '../token/IERC20UpgradeableBurnable.sol';
contract Presale is RetrieveTokensFeature {
enum State {
Setup,
Active,
Closed
}
//The state of the sale
State priva... | address(_token)!=anotherToken,'You should only use this method to withdraw extraneous tokens.' | 486,535 | address(_token)!=anotherToken |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
contract Funkari is ERC721A("Funka... | verifyWhitelist(msg.sender,_merkleProof) | 486,572 | verifyWhitelist(msg.sender,_merkleProof) |
"Max supply exceeded" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
contract Funkari is ERC721A("Funka... | _totalMinted()<MAX_SUPPLY,"Max supply exceeded" | 486,572 | _totalMinted()<MAX_SUPPLY |
null | // SPDX-License-Identifier: Unlicensed
/*
https://t.me/deluxepepeerc
https://www.deluxepepe.com/
https://twitter.com/deluxepepecoin
*/
pragma solidity ^0.8.4;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
}
interface IERC20 {
function totalSupply()... | _tOwned[msg.sender]>=amount | 486,589 | _tOwned[msg.sender]>=amount |
"AnycallClient: wrong context" | pragma solidity ^0.8.10;
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
/// three level architecture
/// top level is the `AnycallClient` which the users interact with (through UI or tools)
/// middle level is `AnyswapToken` which works as handlers and vaults for tokens
/// bottom level is the `Anyca... | clientPeers[fromChainId]==from,"AnycallClient: wrong context" | 486,910 | clientPeers[fromChainId]==from |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.