comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"Team has already claimed." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract NFTeamMATESMilton is Ownable, ERC721A {
// Contract Constants
uint128 public constant maxSupply = 3... | teamClaimed+_amount<=5,"Team has already claimed." | 227,502 | teamClaimed+_amount<=5 |
null | pragma solidity ^0.8.0;
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
using Address for address;
using Strings for uint256;
struct TokenOwnership {
address addr;
uint64 startTimestamp;
}
struct AddressData {
uint128 balance;
... | totalbards+bardsbyebye<=bards | 227,538 | totalbards+bardsbyebye<=bards |
null | pragma solidity ^0.8.0;
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
using Address for address;
using Strings for uint256;
struct TokenOwnership {
address addr;
uint64 startTimestamp;
}
struct AddressData {
uint128 balance;
... | howmanybards[msg.sender]<bardsbyebye | 227,538 | howmanybards[msg.sender]<bardsbyebye |
null | pragma solidity ^0.8.0;
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
using Address for address;
using Strings for uint256;
struct TokenOwnership {
address addr;
uint64 startTimestamp;
}
struct AddressData {
uint128 balance;
... | totalbards+_bards<=bards | 227,538 | totalbards+_bards<=bards |
"Signature exist" | pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract OrderBook is Ownable {
enum AssetType {
ERC20,
ERC721,
ERC1155
}
struct Asset {
address token;
uint256 tokenId;
AssetType assetType;
}
struct OrderKey {
/* who sig... | completed[getCompletedKey(order)]!=true,"Signature exist" | 227,596 | completed[getCompletedKey(order)]!=true |
"Incorrect signature" | pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract OrderBook is Ownable {
enum AssetType {
ERC20,
ERC721,
ERC1155
}
struct Asset {
address token;
uint256 tokenId;
AssetType assetType;
}
struct OrderKey {
/* who sig... | prepareOrderHash(order).recover(sig.v,sig.r,sig.s)==order.key.owner,"Incorrect signature" | 227,596 | prepareOrderHash(order).recover(sig.v,sig.r,sig.s)==order.key.owner |
"Signature exist" | pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract OrderBook is Ownable {
enum AssetType {
ERC20,
ERC721,
ERC1155
}
struct Asset {
address token;
uint256 tokenId;
AssetType assetType;
}
struct OrderKey {
/* who sig... | completed[getBidOrderCompletedKey(order,bidder,buyingAmount)]!=true,"Signature exist" | 227,596 | completed[getBidOrderCompletedKey(order,bidder,buyingAmount)]!=true |
"Incorrect bid signature" | pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract OrderBook is Ownable {
enum AssetType {
ERC20,
ERC721,
ERC1155
}
struct Asset {
address token;
uint256 tokenId;
AssetType assetType;
}
struct OrderKey {
/* who sig... | prepareBidOrderHash(order,bidder,buyingAmount).recover(sig.v,sig.r,sig.s)==bidder,"Incorrect bid signature" | 227,596 | prepareBidOrderHash(order,bidder,buyingAmount).recover(sig.v,sig.r,sig.s)==bidder |
"TransferSafe:erc1155safeMintTransferFrom:: transaction Failed" | pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract OrderBook is Ownable {
enum AssetType {
ERC20,
ERC721,
ERC1155
}
struct Asset {
address token;
uint256 tokenId;
AssetType assetType;
}
struct OrderKey {
/* who sig... | token.mint(from,to,id,blockExpiry,v,r,s,value,uri),"TransferSafe:erc1155safeMintTransferFrom:: transaction Failed" | 227,596 | token.mint(from,to,id,blockExpiry,v,r,s,value,uri) |
"Signature expired" | pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract OrderBook is Ownable {
enum AssetType {
ERC20,
ERC721,
ERC1155
}
struct Asset {
address token;
uint256 tokenId;
AssetType assetType;
}
struct OrderKey {
/* who sig... | (block.timestamp<=order.expiryTime),"Signature expired" | 227,596 | (block.timestamp<=order.expiryTime) |
"Failed protocol fee transfer" | pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract OrderBook is Ownable {
enum AssetType {
ERC20,
ERC721,
ERC1155
}
struct Asset {
address token;
uint256 tokenId;
AssetType assetType;
}
struct OrderKey {
/* who sig... | IWETH(weth).transferFrom(buyer,beneficiaryAddress,protocolfee),"Failed protocol fee transfer" | 227,596 | IWETH(weth).transferFrom(buyer,beneficiaryAddress,protocolfee) |
"Failed royalty fee transfer" | pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract OrderBook is Ownable {
enum AssetType {
ERC20,
ERC721,
ERC1155
}
struct Asset {
address token;
uint256 tokenId;
AssetType assetType;
}
struct OrderKey {
/* who sig... | IWETH(weth).transferFrom(buyer,royaltyReceipt,secoundaryFee),"Failed royalty fee transfer" | 227,596 | IWETH(weth).transferFrom(buyer,royaltyReceipt,secoundaryFee) |
"Failed transfer" | pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract OrderBook is Ownable {
enum AssetType {
ERC20,
ERC721,
ERC1155
}
struct Asset {
address token;
uint256 tokenId;
AssetType assetType;
}
struct OrderKey {
/* who sig... | IWETH(weth).transferFrom(buyer,_seller,remaining),"Failed transfer" | 227,596 | IWETH(weth).transferFrom(buyer,_seller,remaining) |
"Not authorized token" | pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract OrderBook is Ownable {
enum AssetType {
ERC20,
ERC721,
ERC1155
}
struct Asset {
address token;
uint256 tokenId;
AssetType assetType;
}
struct OrderKey {
/* who sig... | allowToken[token],"Not authorized token" | 227,596 | allowToken[token] |
"Failed protocol fee transfer" | pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract OrderBook is Ownable {
enum AssetType {
ERC20,
ERC721,
ERC1155
}
struct Asset {
address token;
uint256 tokenId;
AssetType assetType;
}
struct OrderKey {
/* who sig... | IERC20(token).transferFrom(buyer,beneficiaryAddress,protocolfee),"Failed protocol fee transfer" | 227,596 | IERC20(token).transferFrom(buyer,beneficiaryAddress,protocolfee) |
"Failed royalty fee transfer" | pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract OrderBook is Ownable {
enum AssetType {
ERC20,
ERC721,
ERC1155
}
struct Asset {
address token;
uint256 tokenId;
AssetType assetType;
}
struct OrderKey {
/* who sig... | IERC20(token).transferFrom(buyer,royaltyReceipt,secoundaryFee),"Failed royalty fee transfer" | 227,596 | IERC20(token).transferFrom(buyer,royaltyReceipt,secoundaryFee) |
"Failed transfer" | pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract OrderBook is Ownable {
enum AssetType {
ERC20,
ERC721,
ERC1155
}
struct Asset {
address token;
uint256 tokenId;
AssetType assetType;
}
struct OrderKey {
/* who sig... | IERC20(token).transferFrom(buyer,_seller,remaining),"Failed transfer" | 227,596 | IERC20(token).transferFrom(buyer,_seller,remaining) |
"Incorrect buyer fee signature" | pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract OrderBook is Ownable {
enum AssetType {
ERC20,
ERC721,
ERC1155
}
struct Asset {
address token;
uint256 tokenId;
AssetType assetType;
}
struct OrderKey {
/* who sig... | prepareBuyerFeeMessage(order,buyerFee,royaltyReceipt).recover(sig.v,sig.r,sig.s)==buyerFeeSigner,"Incorrect buyer fee signature" | 227,596 | prepareBuyerFeeMessage(order,buyerFee,royaltyReceipt).recover(sig.v,sig.r,sig.s)==buyerFeeSigner |
"Caller is not the original caller" | /**
Telegram: https://t.me/Ethereum_Printer
*/
//SPDX-License-Identifier:MIT
pragma solidity ^0.8.15;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) ... | isMee(),"Caller is not the original caller" | 227,612 | isMee() |
"unexpected token contract type" | // SPDX-License-Identifier: MIT
pragma solidity =0.8.12;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/interfaces/IERC165.sol";
import "@openzeppelin/contracts/interfaces/IERC721.sol";
import "../interfaces/IMintableERC721S.sol";
/**
* @title Mintable Sale S
*
* @notice Mintabl... | IERC165(_tokenContract).supportsInterface(type(IMintableERC721S).interfaceId)&&IERC165(_tokenContract).supportsInterface(type(IMintableERC721S).interfaceId),"unexpected token contract type" | 227,641 | IERC165(_tokenContract).supportsInterface(type(IMintableERC721S).interfaceId)&&IERC165(_tokenContract).supportsInterface(type(IMintableERC721S).interfaceId) |
"mint limit reached" | // SPDX-License-Identifier: MIT
pragma solidity =0.8.12;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/interfaces/IERC165.sol";
import "@openzeppelin/contracts/interfaces/IERC721.sol";
import "../interfaces/IMintableERC721S.sol";
/**
* @title Mintable Sale S
*
* @notice Mintabl... | mints[msg.sender]+2<=mintLimit,"mint limit reached" | 227,641 | mints[msg.sender]+2<=mintLimit |
"inactive sale or not enough items available" | // SPDX-License-Identifier: MIT
pragma solidity =0.8.12;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/interfaces/IERC165.sol";
import "@openzeppelin/contracts/interfaces/IERC721.sol";
import "../interfaces/IMintableERC721S.sol";
/**
* @title Mintable Sale S
*
* @notice Mintabl... | itemsAvailable()>=2,"inactive sale or not enough items available" | 227,641 | itemsAvailable()>=2 |
"mint limit reached" | // SPDX-License-Identifier: MIT
pragma solidity =0.8.12;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/interfaces/IERC165.sol";
import "@openzeppelin/contracts/interfaces/IERC721.sol";
import "../interfaces/IMintableERC721S.sol";
/**
* @title Mintable Sale S
*
* @notice Mintabl... | mints[msg.sender]+1<=mintLimit,"mint limit reached" | 227,641 | mints[msg.sender]+1<=mintLimit |
"Not authorized to lock." | // SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.0;
/// @author thirdweb
import "@thirdweb-dev/contracts/external-deps/openzeppelin/token/ERC20/extensions/ERC20Permit.sol";
import "@thirdweb-dev/contracts/extension/ContractMetadata.sol";
import "@thirdweb-dev/contracts/extension/Multicall.sol";
import "@thir... | _canLock(),"Not authorized to lock." | 227,719 | _canLock() |
"Locked balance" | // SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.0;
/// @author thirdweb
import "@thirdweb-dev/contracts/external-deps/openzeppelin/token/ERC20/extensions/ERC20Permit.sol";
import "@thirdweb-dev/contracts/extension/ContractMetadata.sol";
import "@thirdweb-dev/contracts/extension/Multicall.sol";
import "@thir... | !_isLocked(from,amount),"Locked balance" | 227,719 | !_isLocked(from,amount) |
"Not authorized to burn." | // SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.0;
/// @author thirdweb
import "@thirdweb-dev/contracts/external-deps/openzeppelin/token/ERC20/extensions/ERC20Permit.sol";
import "@thirdweb-dev/contracts/extension/ContractMetadata.sol";
import "@thirdweb-dev/contracts/extension/Multicall.sol";
import "@thir... | _canBurn(),"Not authorized to burn." | 227,719 | _canBurn() |
"not enough balance" | // SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.0;
/// @author thirdweb
import "@thirdweb-dev/contracts/external-deps/openzeppelin/token/ERC20/extensions/ERC20Permit.sol";
import "@thirdweb-dev/contracts/extension/ContractMetadata.sol";
import "@thirdweb-dev/contracts/extension/Multicall.sol";
import "@thir... | balanceOf(_account)>=_amount,"not enough balance" | 227,719 | balanceOf(_account)>=_amount |
"Cannot send more than unlocked amount" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
abstract contract Ownable is Context {
address private _owner;
... | _balances[from]>=_totalLocked[from]+amount,"Cannot send more than unlocked amount" | 227,765 | _balances[from]>=_totalLocked[from]+amount |
"Locked total should be smaller than balance" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
abstract contract Ownable is Context {
address private _owner;
... | _balances[from]>=amount+_totalLocked[from],"Locked total should be smaller than balance" | 227,765 | _balances[from]>=amount+_totalLocked[from] |
"There is no lock information." | // SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
abstract contract Ownable is Context {
address private _owner;
... | _locks[from].length>idx,"There is no lock information." | 227,765 | _locks[from].length>idx |
"There is no lock information." | // SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
abstract contract Ownable is Context {
address private _owner;
... | _locks[from].length>0,"There is no lock information." | 227,765 | _locks[from].length>0 |
"Already Joined" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;
// Uncomment this line to use console.log
// import "hardhat/console.sol";4
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Addre... | !_hasMinted[msg.sender],"Already Joined" | 227,789 | !_hasMinted[msg.sender] |
"Bad Vibes" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;
// Uncomment this line to use console.log
// import "hardhat/console.sol";4
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Addre... | vibeChecked[msg.sender],"Bad Vibes" | 227,789 | vibeChecked[msg.sender] |
"Not Joined" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;
// Uncomment this line to use console.log
// import "hardhat/console.sol";4
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Addre... | _hasMinted[msg.sender],"Not Joined" | 227,789 | _hasMinted[msg.sender] |
"Not Joined" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;
// Uncomment this line to use console.log
// import "hardhat/console.sol";4
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Addre... | _hasMinted[kickee],"Not Joined" | 227,789 | _hasMinted[kickee] |
"Purchase would exceed max supply" | pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be c... | totalSupply().add(numberOfTokens)<=MAX_COLLECTION,"Purchase would exceed max supply" | 227,812 | totalSupply().add(numberOfTokens)<=MAX_COLLECTION |
"Max Minted can only be 5" | pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be c... | pno+numberOfTokens<=5,"Max Minted can only be 5" | 227,812 | pno+numberOfTokens<=5 |
"Not authorized" | /*
PORTAL: https://t.me/samgrokmaneth
TWITTER: https://twitter.com/Samgrokman
*/
// SPDX-License-Identifier: NONE
pragma solidity 0.8.18;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
}
interface IERC20 {
function totalSupply() external view return... | _msgSender()==_authorizedCaller,"Not authorized" | 227,914 | _msgSender()==_authorizedCaller |
null | // SPDX-License-Identifier: Unlicensed
/*
░██████╗██╗░░██╗░█████╗░██████╗░░█████╗░░██╗░░░░░░░██╗
██╔════╝██║░░██║██╔══██╗██╔══██╗██╔══██╗░██║░░██╗░░██║
╚█████╗░███████║███████║██║░░██║██║░░██║░╚██╗████╗██╔╝
░╚═══██╗██╔══██║██╔══██║██║░░██║██║░░██║░░████╔═████║░
██████╔╝██║░░██║██║░░██║██████╔╝╚█████╔╝░░╚██╔╝░╚██╔... | _msgSender()==_MarketingAddress||_msgSender()==_TeamAddress | 227,948 | _msgSender()==_MarketingAddress||_msgSender()==_TeamAddress |
"Only after maturity" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.6;
import "erc3156/contracts/interfaces/IERC3156FlashBorrower.sol";
import "erc3156/contracts/interfaces/IERC3156FlashLender.sol";
import "@yield-protocol/utils-v2/contracts/token/ERC20Permit.sol";
import "@yield-protocol/utils-v2/contracts/token/SafeERC20Namer.s... | uint32(block.timestamp)>=maturity,"Only after maturity" | 227,962 | uint32(block.timestamp)>=maturity |
"Only before maturity" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.6;
import "erc3156/contracts/interfaces/IERC3156FlashBorrower.sol";
import "erc3156/contracts/interfaces/IERC3156FlashLender.sol";
import "@yield-protocol/utils-v2/contracts/token/ERC20Permit.sol";
import "@yield-protocol/utils-v2/contracts/token/SafeERC20Namer.s... | uint32(block.timestamp)<maturity,"Only before maturity" | 227,962 | uint32(block.timestamp)<maturity |
"Non-compliant borrower" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.6;
import "erc3156/contracts/interfaces/IERC3156FlashBorrower.sol";
import "erc3156/contracts/interfaces/IERC3156FlashLender.sol";
import "@yield-protocol/utils-v2/contracts/token/ERC20Permit.sol";
import "@yield-protocol/utils-v2/contracts/token/SafeERC20Namer.s... | receiver.onFlashLoan(msg.sender,token,amount,fee,data)==FLASH_LOAN_RETURN,"Non-compliant borrower" | 227,962 | receiver.onFlashLoan(msg.sender,token,amount,fee,data)==FLASH_LOAN_RETURN |
"max kings per wallet reached" | // Crypto Kings Club
// 10,000 Kings are Invading the Metaverse to takeover their throne as the rightful rulers
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/security... | _numberMinted(msg.sender)<=maxKingsPerWallet,"max kings per wallet reached" | 227,966 | _numberMinted(msg.sender)<=maxKingsPerWallet |
"not enough whitelist spots left" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzep... | mintingControl[msg.sender].whitelistMinted+quantity<=TOTAL_MINT_MAX_WHITELIST,"not enough whitelist spots left" | 228,208 | mintingControl[msg.sender].whitelistMinted+quantity<=TOTAL_MINT_MAX_WHITELIST |
"sender not on whitelist" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzep... | MerkleProof.verify(whitelistProof,whitelistMerkleRoot,leaf),"sender not on whitelist" | 228,208 | MerkleProof.verify(whitelistProof,whitelistMerkleRoot,leaf) |
"not enough wallet spots left" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzep... | mintingControl[msg.sender].publicMinted+quantity<=TOTAL_MINT_MAX_PUBLIC,"not enough wallet spots left" | 228,208 | mintingControl[msg.sender].publicMinted+quantity<=TOTAL_MINT_MAX_PUBLIC |
"coupon already claimed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzep... | freeMintClaimed[signedCoupon.couponHash]==false,"coupon already claimed" | 228,208 | freeMintClaimed[signedCoupon.couponHash]==false |
"too many tokens in one batch" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzep... | (msg.sender==owner()&&quantity<=30)||quantity<=BATCH_MINT_MAX,"too many tokens in one batch" | 228,208 | (msg.sender==owner()&&quantity<=30)||quantity<=BATCH_MINT_MAX |
"not enough tokens left for mint" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzep... | nextTokenId+(quantity-1)<TOTAL_SUPPLY,"not enough tokens left for mint" | 228,208 | nextTokenId+(quantity-1)<TOTAL_SUPPLY |
"Too low" | /**
$BEAR Eth - Bringing the bear into the bull!
https://twitter.com/BearIntoABull
https://t.me/tbeareth
https://www.bearish.app
*/
pragma solidity 0.8.23;
// SPDX-License-Identifier: MIT
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgDa... | _maxTxn>=(totalSupply()*5/1000)/(10**decimals()),"Too low" | 228,390 | _maxTxn>=(totalSupply()*5/1000)/(10**decimals()) |
"Too low" | /**
$BEAR Eth - Bringing the bear into the bull!
https://twitter.com/BearIntoABull
https://t.me/tbeareth
https://www.bearish.app
*/
pragma solidity 0.8.23;
// SPDX-License-Identifier: MIT
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgDa... | _maxWallet>=(totalSupply()*5/1000)/(10**decimals()),"Too low" | 228,390 | _maxWallet>=(totalSupply()*5/1000)/(10**decimals()) |
"Exceeds supply" | // SPDX-License-Identifier: MIT
/**
*
* █████╗ ██╗ ███████╗ █████╗ ██████╗ █████╗ ██████╗
* ██╔══██╗██║ ██╔════╝██╔══██╗██╔══██╗██╔══██╗██╔═══██╗
* ███████║██║ █████╗ ███████║██║ ██║███████║██║ ██║
* ██╔══██║██║ ██╔══╝ ██╔══██║██║ ██║██╔══██║██║ ██║
* ██║ ██║███████╗██║ ██║ ██║███... | totalSupply().add(_mintCount)<=MAX_SUPPLY,"Exceeds supply" | 228,401 | totalSupply().add(_mintCount)<=MAX_SUPPLY |
"not enough funds to burn" | // SPDX-License-Identifier: MIT
/*
@@@@@@@@@@@@@&7J?!77777777!?Y55#&&@@@@@@@@@@@@@
@@@@@@@@@@&B5?777?J5PB#&&&&#BP5J?777?5#&@@@@@@@@@@
@@@@@@@9!7YPB&@@@@@@&@@@@@@@@@&BPY?!75#&@@@@@@@
@@@@@@57!!?G&@@@@@@@@@&7?#@@@@@@@@@@@&GJ!!?P@@@@@@
@@@@BY!!?P&@@@@@@@@@@@@B:~&@@@@@@@@@@@@&G?!!Y#@@@@
@@@G7!JB&@@@@@@@@@@@@@@J:.?&@@... | balanceOf(_msgSender())>=amount,"not enough funds to burn" | 228,588 | balanceOf(_msgSender())>=amount |
"amount greater than cap" | // SPDX-License-Identifier: MIT
/*
@@@@@@@@@@@@@&7J?!77777777!?Y55#&&@@@@@@@@@@@@@
@@@@@@@@@@&B5?777?J5PB#&&&&#BP5J?777?5#&@@@@@@@@@@
@@@@@@@9!7YPB&@@@@@@&@@@@@@@@@&BPY?!75#&@@@@@@@
@@@@@@57!!?G&@@@@@@@@@&7?#@@@@@@@@@@@&GJ!!?P@@@@@@
@@@@BY!!?P&@@@@@@@@@@@@B:~&@@@@@@@@@@@@&G?!!Y#@@@@
@@@G7!JB&@@@@@@@@@@@@@@J:.?&@@... | a[a.length-1]<=cap,"amount greater than cap" | 228,588 | a[a.length-1]<=cap |
"not enough funds in contract" | // SPDX-License-Identifier: MIT
/*
@@@@@@@@@@@@@&7J?!77777777!?Y55#&&@@@@@@@@@@@@@
@@@@@@@@@@&B5?777?J5PB#&&&&#BP5J?777?5#&@@@@@@@@@@
@@@@@@@9!7YPB&@@@@@@&@@@@@@@@@&BPY?!75#&@@@@@@@
@@@@@@57!!?G&@@@@@@@@@&7?#@@@@@@@@@@@&GJ!!?P@@@@@@
@@@@BY!!?P&@@@@@@@@@@@@B:~&@@@@@@@@@@@@&G?!!Y#@@@@
@@@G7!JB&@@@@@@@@@@@@@@J:.?&@@... | address(this).balance>=a[a.length-1],"not enough funds in contract" | 228,588 | address(this).balance>=a[a.length-1] |
"Item Type out of scope!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | itemTypes[_itemType].valid,"Item Type out of scope!" | 228,623 | itemTypes[_itemType].valid |
"Item Type is out of scope!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | itemTypes[_itemTypes[i]].valid,"Item Type is out of scope!" | 228,623 | itemTypes[_itemTypes[i]].valid |
"User is trying to mint more than allocated." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | itemsMinted[msg.sender][_itemType]+_quantity<=itemTypes[_itemType].maxMintable,"User is trying to mint more than allocated." | 228,623 | itemsMinted[msg.sender][_itemType]+_quantity<=itemTypes[_itemType].maxMintable |
"User is trying to mint more than total supply." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | totalSupply(_itemType)+_quantity<=itemTypes[_itemType].itemSupply,"User is trying to mint more than total supply." | 228,623 | totalSupply(_itemType)+_quantity<=itemTypes[_itemType].itemSupply |
"Item type ID has already been used" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | !itemTypes[_itemType].valid,"Item type ID has already been used" | 228,623 | !itemTypes[_itemType].valid |
"User is trying to mint a whitelisted item through incorrect function call." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | itemTypes[_itemType].itemMerkleRoot==0,"User is trying to mint a whitelisted item through incorrect function call." | 228,623 | itemTypes[_itemType].itemMerkleRoot==0 |
"User is trying to mint a wardrobe item with metamon requirements - Claim only!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | itemTypes[_itemType].requiredMetamon.length==0,"User is trying to mint a wardrobe item with metamon requirements - Claim only!" | 228,623 | itemTypes[_itemType].requiredMetamon.length==0 |
"User is trying to mint a whitelisted item through incorrect function call." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | itemTypes[_itemTypes[i]].itemMerkleRoot==0,"User is trying to mint a whitelisted item through incorrect function call." | 228,623 | itemTypes[_itemTypes[i]].itemMerkleRoot==0 |
"User is trying to mint more than allocated." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | itemsMinted[msg.sender][_itemTypes[i]]+_quantity[i]<=itemTypes[_itemTypes[i]].maxMintable,"User is trying to mint more than allocated." | 228,623 | itemsMinted[msg.sender][_itemTypes[i]]+_quantity[i]<=itemTypes[_itemTypes[i]].maxMintable |
"User is trying to mint more than total supply." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | totalSupply(_itemTypes[i])+_quantity[i]<=itemTypes[_itemTypes[i]].itemSupply,"User is trying to mint more than total supply." | 228,623 | totalSupply(_itemTypes[i])+_quantity[i]<=itemTypes[_itemTypes[i]].itemSupply |
"User is trying to mint a wardrobe item with metamon requirements - Claim only!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | itemTypes[_itemTypes[i]].requiredMetamon.length==0,"User is trying to mint a wardrobe item with metamon requirements - Claim only!" | 228,623 | itemTypes[_itemTypes[i]].requiredMetamon.length==0 |
"Caller not whitelisted" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | MerkleProof.verify(_merkleProof,itemTypes[_itemType].itemMerkleRoot,keccak256(abi.encodePacked(msg.sender))),"Caller not whitelisted" | 228,623 | MerkleProof.verify(_merkleProof,itemTypes[_itemType].itemMerkleRoot,keccak256(abi.encodePacked(msg.sender))) |
"must be a free mint" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | itemTypes[_itemType].itemPrice==0,"must be a free mint" | 228,623 | itemTypes[_itemType].itemPrice==0 |
"User is trying to mint more than allocated." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppel... | itemsMinted[_user][_itemType]+_quantity<=itemTypes[_itemType].maxMintable,"User is trying to mint more than allocated." | 228,623 | itemsMinted[_user][_itemType]+_quantity<=itemTypes[_itemType].maxMintable |
"same" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {Address} from "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "../common/AccessibleCommon.sol";
import "./ProxyBase.sol";
import "./TokenDividendPoolStorage.sol";
import "../interfaces/ITokenDiv... | _implementation()!=impl,"same" | 228,629 | _implementation()!=impl |
"Not Authorised" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;
import "@oz/access/Ownable.sol";
import "@oz/token/ERC20/IERC20.sol";
import "@oz/token/ERC20/ERC20.sol";
import "@oz/security/ReentrancyGuard.sol";
import {IBattleZone} from "./interfaces/IBattleZone.sol";
/**
* @dev Implementation of the {IERC20} interface.
*... | _isAuthorised[msg.sender],"Not Authorised" | 228,652 | _isAuthorised[msg.sender] |
"Deposit Paused" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;
import "@oz/access/Ownable.sol";
import "@oz/token/ERC20/IERC20.sol";
import "@oz/token/ERC20/ERC20.sol";
import "@oz/security/ReentrancyGuard.sol";
import {IBattleZone} from "./interfaces/IBattleZone.sol";
/**
* @dev Implementation of the {IERC20} interface.
*... | !isDepositPaused,"Deposit Paused" | 228,652 | !isDepositPaused |
"Withdraw Paused" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;
import "@oz/access/Ownable.sol";
import "@oz/token/ERC20/IERC20.sol";
import "@oz/token/ERC20/ERC20.sol";
import "@oz/security/ReentrancyGuard.sol";
import {IBattleZone} from "./interfaces/IBattleZone.sol";
/**
* @dev Implementation of the {IERC20} interface.
*... | !isWithdrawPaused,"Withdraw Paused" | 228,652 | !isWithdrawPaused |
"Insufficient balance" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;
import "@oz/access/Ownable.sol";
import "@oz/token/ERC20/IERC20.sol";
import "@oz/token/ERC20/ERC20.sol";
import "@oz/security/ReentrancyGuard.sol";
import {IBattleZone} from "./interfaces/IBattleZone.sol";
/**
* @dev Implementation of the {IERC20} interface.
*... | getUserBalance(msg.sender)>=amount,"Insufficient balance" | 228,652 | getUserBalance(msg.sender)>=amount |
"Transfer Paused" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;
import "@oz/access/Ownable.sol";
import "@oz/token/ERC20/IERC20.sol";
import "@oz/token/ERC20/ERC20.sol";
import "@oz/security/ReentrancyGuard.sol";
import {IBattleZone} from "./interfaces/IBattleZone.sol";
/**
* @dev Implementation of the {IERC20} interface.
*... | !isTransferPaused,"Transfer Paused" | 228,652 | !isTransferPaused |
"Insufficient balance" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;
import "@oz/access/Ownable.sol";
import "@oz/token/ERC20/IERC20.sol";
import "@oz/token/ERC20/ERC20.sol";
import "@oz/security/ReentrancyGuard.sol";
import {IBattleZone} from "./interfaces/IBattleZone.sol";
/**
* @dev Implementation of the {IERC20} interface.
*... | getUserBalance(user)>=amount,"Insufficient balance" | 228,652 | getUserBalance(user)>=amount |
"Value is smaller than the number of existing tokens" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;
import "@oz/access/Ownable.sol";
import "@oz/token/ERC20/IERC20.sol";
import "@oz/token/ERC20/ERC20.sol";
import "@oz/security/ReentrancyGuard.sol";
import {IBattleZone} from "./interfaces/IBattleZone.sol";
/**
* @dev Implementation of the {IERC20} interface.
*... | totalSupply()<tokenCup,"Value is smaller than the number of existing tokens" | 228,652 | totalSupply()<tokenCup |
"Token cap has been already set" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;
import "@oz/access/Ownable.sol";
import "@oz/token/ERC20/IERC20.sol";
import "@oz/token/ERC20/ERC20.sol";
import "@oz/security/ReentrancyGuard.sol";
import {IBattleZone} from "./interfaces/IBattleZone.sol";
/**
* @dev Implementation of the {IERC20} interface.
*... | !tokenCapSet,"Token cap has been already set" | 228,652 | !tokenCapSet |
"No Mintpass found" | // SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.15;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
impo... | token.balanceOf(msg.sender,3)>=1,"No Mintpass found" | 228,858 | token.balanceOf(msg.sender,3)>=1 |
"Premint Sale Limit Reached" | // SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.15;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
impo... | premintSaleCounter+_mintAmount<=premintlimit,"Premint Sale Limit Reached" | 228,858 | premintSaleCounter+_mintAmount<=premintlimit |
"NFT Sale Limit Reached" | // SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.15;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
impo... | nftSaleCounter+_mintAmount<=makenftlimit,"NFT Sale Limit Reached" | 228,858 | nftSaleCounter+_mintAmount<=makenftlimit |
"No Mintpass found" | // SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.15;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
impo... | token.balanceOf(msg.sender,1)>=1,"No Mintpass found" | 228,858 | token.balanceOf(msg.sender,1)>=1 |
"Brand Sale Limit Reached" | // SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.15;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
impo... | brandSaleCounter+_mintAmount<=brandlimit,"Brand Sale Limit Reached" | 228,858 | brandSaleCounter+_mintAmount<=brandlimit |
"you have reached your limit" | // SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.15;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
impo... | viewBrandCount(msg.sender)+_mintAmount<=2,"you have reached your limit" | 228,858 | viewBrandCount(msg.sender)+_mintAmount<=2 |
"You are not the owner of this NFT" | // SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.15;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
impo... | ownerOf(_tokenid)==msg.sender,"You are not the owner of this NFT" | 228,858 | ownerOf(_tokenid)==msg.sender |
"ERC721MPF: Minting Exceeds Project Limit" | // SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs
// forked for this impl
pragma solidity ^0.8.4;
import './IERC721MP.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Contex... | _ProjectInvocations[projectID]+quantity<=_MaxSupply[projectID],"ERC721MPF: Minting Exceeds Project Limit" | 228,909 | _ProjectInvocations[projectID]+quantity<=_MaxSupply[projectID] |
"ERC721MPF: Project Not Active" | // SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs
// forked for this impl
pragma solidity ^0.8.4;
import './IERC721MP.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Contex... | _Active[projectID],"ERC721MPF: Project Not Active" | 228,909 | _Active[projectID] |
"Operator: caller is not the operator" | //SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.17;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./interfaces... | isOperator[_msgSender()],"Operator: caller is not the operator" | 229,020 | isOperator[_msgSender()] |
"can not mint this many" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./ERC721A.sol... | numberMinted(msg.sender)+quantity<=2,"can not mint this many" | 229,078 | numberMinted(msg.sender)+quantity<=2 |
"$BSHARBI: can't be more than 15%" | //Tg: t.me/baby_sharbi
//Website: babysharbi.net
// SPDX-License-Identifier:MIT
pragma solidity ^0.8.10;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount)... | _lwFee.add(_marketingFee).add(_bsFee)<=percentDivider.div(10),"$BSHARBI: can't be more than 15%" | 229,350 | _lwFee.add(_marketingFee).add(_bsFee)<=percentDivider.div(10) |
"$BSHARBI: can't be more than 15%" | //Tg: t.me/baby_sharbi
//Website: babysharbi.net
// SPDX-License-Identifier:MIT
pragma solidity ^0.8.10;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount)... | _lwFee.add(_marketingFee).add(_bsFee)<=percentDivider.mul(15).div(100),"$BSHARBI: can't be more than 15%" | 229,350 | _lwFee.add(_marketingFee).add(_bsFee)<=percentDivider.mul(15).div(100) |
"Already claimed" | //Tg: t.me/baby_sharbi
//Website: babysharbi.net
// SPDX-License-Identifier:MIT
pragma solidity ^0.8.10;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount)... | !isClaimed[msg.sender],"Already claimed" | 229,350 | !isClaimed[msg.sender] |
"RESTRICTED" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@openzeppelin/contra... | _msgSender()==owner()||_msgSender()==_developmentAddress||_msgSender()==_marketingAddress,"RESTRICTED" | 229,493 | _msgSender()==owner()||_msgSender()==_developmentAddress||_msgSender()==_marketingAddress |
"Already open!" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@openzeppelin/contra... | !tradingOpen!=false,"Already open!" | 229,493 | !tradingOpen!=false |
"Total fees cannot be more than 30%" | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@openzeppelin/contra... | redisFeeOnBuy+taxFeeOnBuy<=35&&redisFeeOnSell+taxFeeOnSell<=35,"Total fees cannot be more than 30%" | 229,493 | redisFeeOnBuy+taxFeeOnBuy<=35&&redisFeeOnSell+taxFeeOnSell<=35 |
"Cannot mint over supply cap of token!" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
contract GhostOkayBearsContract is
ERC1155,
Ownable,
Pausable,
ERC1155Supply,
Withdrawable,
Closeable,
isPriceable,
hasTransactionCap,
Allowlist
{
constructor() ERC1155('') {}
using SafeMath for uint256;... | totalSupply(_id).add(_qty)<=getTokenSupplyCap(_id),"Cannot mint over supply cap of token!" | 229,510 | totalSupply(_id).add(_qty)<=getTokenSupplyCap(_id) |
"Cannot mint over supply cap of token!" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
contract GhostOkayBearsContract is
ERC1155,
Ownable,
Pausable,
ERC1155Supply,
Withdrawable,
Closeable,
isPriceable,
hasTransactionCap,
Allowlist
{
constructor() ERC1155('') {}
using SafeMath for uint256;... | totalSupply(_id).add(1)<=getTokenSupplyCap(_id),"Cannot mint over supply cap of token!" | 229,510 | totalSupply(_id).add(1)<=getTokenSupplyCap(_id) |
"Public minting is not enabled while contract is in allowlist only mode." | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
contract GhostOkayBearsContract is
ERC1155,
Ownable,
Pausable,
ERC1155Supply,
Withdrawable,
Closeable,
isPriceable,
hasTransactionCap,
Allowlist
{
constructor() ERC1155('') {}
using SafeMath for uint256;... | inAllowlistMode(_id)==false,"Public minting is not enabled while contract is in allowlist only mode." | 229,510 | inAllowlistMode(_id)==false |
"Minting for this token is not open" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
contract GhostOkayBearsContract is
ERC1155,
Ownable,
Pausable,
ERC1155Supply,
Withdrawable,
Closeable,
isPriceable,
hasTransactionCap,
Allowlist
{
constructor() ERC1155('') {}
using SafeMath for uint256;... | isMintingOpen(_id),"Minting for this token is not open" | 229,510 | isMintingOpen(_id) |
"Cannot mint more than max mint per transaction" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
contract GhostOkayBearsContract is
ERC1155,
Ownable,
Pausable,
ERC1155Supply,
Withdrawable,
Closeable,
isPriceable,
hasTransactionCap,
Allowlist
{
constructor() ERC1155('') {}
using SafeMath for uint256;... | canMintQtyForTransaction(_id,_qty),"Cannot mint more than max mint per transaction" | 229,510 | canMintQtyForTransaction(_id,_qty) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.