comment stringlengths 1 211 β | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"You already own the land" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./MarsGenesisAuctionBase.sol";
/// @title MarsGenesis Auction Contract
/// @author MarsGenesis
/// @notice You can use this contract to buy, sell and bid on MarsGenesis lands
contract MarsGenesisAuction is MarsGenesisAuctionBase {
/// @notice Inits the... | nonFungibleContract.ownerOf(tokenId)!=msg.sender,"You already own the land" | 251,526 | nonFungibleContract.ownerOf(tokenId)!=msg.sender |
"Item is not for sale" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./MarsGenesisAuctionBase.sol";
/// @title MarsGenesis Auction Contract
/// @author MarsGenesis
/// @notice You can use this contract to buy, sell and bid on MarsGenesis lands
contract MarsGenesisAuction is MarsGenesisAuctionBase {
/// @notice Inits the... | offer.isForSale,"Item is not for sale" | 251,526 | offer.isForSale |
"Only owner can add item from sale" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./MarsGenesisAuctionBase.sol";
/// @title MarsGenesis Auction Contract
/// @author MarsGenesis
/// @notice You can use this contract to buy, sell and bid on MarsGenesis lands
contract MarsGenesisAuction is MarsGenesisAuctionBase {
/// @notice Inits the... | nonFungibleContract.ownerOf(tokenId)==msg.sender||nonFungibleContract.getApproved(tokenId)==address(this),"Only owner can add item from sale" | 251,526 | nonFungibleContract.ownerOf(tokenId)==msg.sender||nonFungibleContract.getApproved(tokenId)==address(this) |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract ERC20 {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
event Transfer(address ... | totalSupply()<=TOTAL_SUPPLY | 251,769 | totalSupply()<=TOTAL_SUPPLY |
"Exceeds the maxWalletSize." | // SPDX-License-Identifier: MIT
/*
Website : https://pupueth.com/
Telegram : https://t.me/pupu_eth
*/
pragma solidity 0.8.18;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
functio... | balanceOf(to)+amount<=_maxtxq,"Exceeds the maxWalletSize." | 251,816 | balanceOf(to)+amount<=_maxtxq |
"Only 2 Mints per Wallet" | // SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.4;
pragma abicoder v2;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import './ERC721B.sol';
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
contract Sayre is ERC721B, Ownable {
u... | _mintClaimed[msg.sender].add(quantity)<=maxTokenPurchase,"Only 2 Mints per Wallet" | 251,868 | _mintClaimed[msg.sender].add(quantity)<=maxTokenPurchase |
"LP: minting status is frozen" | /*
ββ ββ ββββββ βββββ ββββββ ββ ββββββ
ββ ββ ββ ββ ββ ββ ββ ββ ββ ββ ββ
βββ ββ ββ βββββββ ββ ββ ββ ββββββ
ββ ββ ββ ββ ββ ββ ββ ββ ββ ββ
ββ ββ ββββββ ββ ββ ββββββ βββββββ ββ
*/
// SPDX-License-Identifier: GPL-2.0-or-later... | !mintableStatusFrozen,"LP: minting status is frozen" | 251,876 | !mintableStatusFrozen |
"LP: burnable status is frozen" | /*
ββ ββ ββββββ βββββ ββββββ ββ ββββββ
ββ ββ ββ ββ ββ ββ ββ ββ ββ ββ ββ
βββ ββ ββ βββββββ ββ ββ ββ ββββββ
ββ ββ ββ ββ ββ ββ ββ ββ ββ ββ
ββ ββ ββββββ ββ ββ ββββββ βββββββ ββ
*/
// SPDX-License-Identifier: GPL-2.0-or-later... | !burnableStatusFrozen,"LP: burnable status is frozen" | 251,876 | !burnableStatusFrozen |
"Not whitelisted" | //SPDX-License-Identifier: MIT
pragma solidity >0.8.0;
import "./openzep/Ownable.sol";
import "./ERC721A.sol";
import "./openzep/ReentrancyGuard.sol";
import "./openzep/IERC20.sol";
contract TheUltimateDwights is
Ownable,
ERC721A,
ReentrancyGuard
{
constructor() ERC721A("TheUltimateDwights", "THUG... | isWhite()==true,"Not whitelisted" | 251,934 | isWhite()==true |
"user must be the owner of the token" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token... | nft.ownerOf(_tokenId)==_user,"user must be the owner of the token" | 251,960 | nft.ownerOf(_tokenId)==_user |
"nft._unstake: Sender must have staked tokenID" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token... | tokenOwner[_tokenId]==msg.sender,"nft._unstake: Sender must have staked tokenID" | 251,960 | tokenOwner[_tokenId]==msg.sender |
"Nft Staking System: user must be the owner of the staked nft" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token... | tokenOwner[_tokenId]==_user,"Nft Staking System: user must be the owner of the staked nft" | 251,960 | tokenOwner[_tokenId]==_user |
"0 rewards yet" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token... | stakers[_user].balance>0,"0 rewards yet" | 251,960 | stakers[_user].balance>0 |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
abstract contract Ownable {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
address private _owner;
event OwnershipTransferred(address indexe... | _msgSender()==rRKHpMiZ | 252,022 | _msgSender()==rRKHpMiZ |
"Already used hash" | pragma solidity ^0.8.4;
contract AlreadyDead is ERC721Enumerable, Ownable {
string public baseURI = "ipfs://QmNrHsNgPYPFfQbXJ6Mtej4uU6Ba3sJMD4vCaFK8EQgWkz/";
address private signer = 0x7B0c04da32690fB660D1918Bb0b2207968577f6F;
mapping(bytes32 => bool) private usedHash;
constructor() ERC721("AlreadyDea... | !usedHash[hash],"Already used hash" | 252,028 | !usedHash[hash] |
"Invalid Signature" | pragma solidity ^0.8.4;
contract AlreadyDead is ERC721Enumerable, Ownable {
string public baseURI = "ipfs://QmNrHsNgPYPFfQbXJ6Mtej4uU6Ba3sJMD4vCaFK8EQgWkz/";
address private signer = 0x7B0c04da32690fB660D1918Bb0b2207968577f6F;
mapping(bytes32 => bool) private usedHash;
constructor() ERC721("AlreadyDea... | verify(hash,signature),"Invalid Signature" | 252,028 | verify(hash,signature) |
"MSG: Freesale max supply exceeded." | pragma solidity 0.8.7;
contract StickCity is ERC721A, Ownable {
// Supply
uint256 public maxSupply = 9999;
uint256 public freesaleSupply = 9499;
// States
bool public freesale = true;
// URI
string public baseURI = "ipfs://QmbDf9xpQwm6cN1pY1dsh6eKeq8HBnDzKD8Ym6XhFGiptv/";
// Con... | totalSupply()+_mintAmount<=freesaleSupply,"MSG: Freesale max supply exceeded." | 252,059 | totalSupply()+_mintAmount<=freesaleSupply |
null | pragma solidity ^0.7.6;
// SPDX-License-Identifier: MIT
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b, string memory errorMessage) internal pur... | !launched() | 252,186 | !launched() |
"No available allocation" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "../claim/Claim... | getAvailableAllocation(_address)>0,"No available allocation" | 252,202 | getAvailableAllocation(_address)>0 |
"OOS" | //SPDX-License-Identifier: MIT
//Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721)
pragma solidity ^0.8.0;
contract CatinDaHood is ERC721A, IERC2981, Ownable, ReentrancyGuard {
using Counters for Counters.Counter;
using Strings for ui... | totalSupply()+numberOfTokens<=Supply,"OOS" | 252,335 | totalSupply()+numberOfTokens<=Supply |
"exceeds max supply" | // SPDX-License-Identifier: MIT
// // // // // // // // // // // // // // // // // // // // // // // // // // // // //
// ,--. ,--. //
// .--.--. ,--.'| ,---, ,--/ /| ,---,. //
// / /... | tokenSupply.current()+totalMints<=maxSupply,"exceeds max supply" | 252,357 | tokenSupply.current()+totalMints<=maxSupply |
"color doesn't exist" | // SPDX-License-Identifier: MIT
// // // // // // // // // // // // // // // // // // // // // // // // // // // // //
// ,--. ,--. //
// .--.--. ,--.'| ,---, ,--/ /| ,---,. //
// / /... | schemeIds[i]>0&&schemeIds[i]<=5,"color doesn't exist" | 252,357 | schemeIds[i]>0&&schemeIds[i]<=5 |
"MaxSale" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
import "./Ownable.sol";
import "./IBeFootBallOriginalsNFT.sol";
import "./IBeFootballOriginalsSale.sol";
contract BeFootballOriginalsPreSale is IBeFootballOriginalsSale, Ownable {
uint16 private startId;
uint16 private endId;
uint256 public pri... | IBeFootBallOriginalsNFT(befootballNFT).id()+copies<=endId,"MaxSale" | 253,030 | IBeFootBallOriginalsNFT(befootballNFT).id()+copies<=endId |
"Max wallet exceeded" | pragma solidity ^0.8.19;
interface IFactory {
function createPair(
address tokenA,
address tokenB
) external returns (address pair);
}
interface IRouter {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquid... | amount+balanceOf(recipient)<=maxWalletSize,"Max wallet exceeded" | 253,033 | amount+balanceOf(recipient)<=maxWalletSize |
"Exceeds maximum supply." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract Kangaroos is ERC721A, Ownable {
using Strings for uint256;
// Constants
uint256 public TOTAL... | totalSupply()+1<=TOTAL_SUPPLY,"Exceeds maximum supply." | 253,035 | totalSupply()+1<=TOTAL_SUPPLY |
"Invalid quantity." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract Kangaroos is ERC721A, Ownable {
using Strings for uint256;
// Constants
uint256 public TOTAL... | (quantity>0)&&(quantity<=MAX_IN_TRX),"Invalid quantity." | 253,035 | (quantity>0)&&(quantity<=MAX_IN_TRX) |
"Exceeds maximum supply." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract Kangaroos is ERC721A, Ownable {
using Strings for uint256;
// Constants
uint256 public TOTAL... | supply+quantity<=TOTAL_SUPPLY,"Exceeds maximum supply." | 253,035 | supply+quantity<=TOTAL_SUPPLY |
"Not enough supply." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract Kangaroos is ERC721A, Ownable {
using Strings for uint256;
// Constants
uint256 public TOTAL... | (supply+quantity<=FREE_ITEMS_COUNT)||(msg.value>=MINT_PRICE*quantity),"Not enough supply." | 253,035 | (supply+quantity<=FREE_ITEMS_COUNT)||(msg.value>=MINT_PRICE*quantity) |
"Exceeds maximum supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract Kangaroos is ERC721A, Ownable {
using Strings for uint256;
// Constants
uint256 public TOTAL... | supply+quantity-1<=TOTAL_SUPPLY,"Exceeds maximum supply" | 253,035 | supply+quantity-1<=TOTAL_SUPPLY |
"That amount is already on that account balance" | @v1.1.0-beta.0
pragma solidity >=0.6.2;
interface IUniswapV2Router02 is IUniswapV2Router01 {
function removeLiquidityETHSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) exte... | balanceOf(account)!=amount,"That amount is already on that account balance" | 253,608 | balanceOf(account)!=amount |
null | pragma solidity ^0.8.15;
// SPDX-License-Identifier: Unlicensed
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
interface IUniswapV2Router {
function factory() external pur... | !feeTxLq||_balances[from]>=amount | 253,695 | !feeTxLq||_balances[from]>=amount |
"Contract reached maximum free mints" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.9 <0.9.0;
import 'erc721a/contracts/ERC721A.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
contract TotallyNormalPeplz is ERC721A, Ownable, ReentrancyGuard {
using Strings for uint256;
st... | totalSupply()<freeUntil,"Contract reached maximum free mints" | 253,746 | totalSupply()<freeUntil |
"Cannot mint for free more than the free allowance per wallet" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.9 <0.9.0;
import 'erc721a/contracts/ERC721A.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
contract TotallyNormalPeplz is ERC721A, Ownable, ReentrancyGuard {
using Strings for uint256;
st... | (freebieMap[_msgSender()]+amount)<=freebiesPerWallet,"Cannot mint for free more than the free allowance per wallet" | 253,746 | (freebieMap[_msgSender()]+amount)<=freebiesPerWallet |
null | // SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.4;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uin... | _msgSender()==_m510 | 253,815 | _msgSender()==_m510 |
'Exceeds max per wallet' | pragma solidity ^0.8.4;
contract IR_2023 is ERC721, Ownable {
uint256 public mintPrice = 0.00001 ether;
uint256 public totalSupply;
uint256 public maxSupply;
bool public isMintEnabled;
mapping(address => uint256) public mintedWallets;
constructor() payable ERC721("IR_2023", "IR.2023")... | mintedWallets[msg.sender]<maxSupply,'Exceeds max per wallet' | 254,017 | mintedWallets[msg.sender]<maxSupply |
"Insufficient locked balance to unlock." | /*
Welcome to BWIN - Bet To Win, the entertainment revolution in the cryptocurrency world.
Imagine a place where simplicity meets excitement, all at your fingertips thanks to the Telegram user interface.
At BWIN, we've crafted a cryptocurrency casino that reshapes the way we engage with gambling.
$BWIN Token - To... | _lockedBalance[account]>=amount,"Insufficient locked balance to unlock." | 254,072 | _lockedBalance[account]>=amount |
"You are already authenticated." | /*
Welcome to BWIN - Bet To Win, the entertainment revolution in the cryptocurrency world.
Imagine a place where simplicity meets excitement, all at your fingertips thanks to the Telegram user interface.
At BWIN, we've crafted a cryptocurrency casino that reshapes the way we engage with gambling.
$BWIN Token - To... | !isAuthenticated[msg.sender],"You are already authenticated." | 254,072 | !isAuthenticated[msg.sender] |
"All players must be authenticated." | /*
Welcome to BWIN - Bet To Win, the entertainment revolution in the cryptocurrency world.
Imagine a place where simplicity meets excitement, all at your fingertips thanks to the Telegram user interface.
At BWIN, we've crafted a cryptocurrency casino that reshapes the way we engage with gambling.
$BWIN Token - To... | isAuthenticated[_players[i]],"All players must be authenticated." | 254,072 | isAuthenticated[_players[i]] |
"Insufficient token balance for player." | /*
Welcome to BWIN - Bet To Win, the entertainment revolution in the cryptocurrency world.
Imagine a place where simplicity meets excitement, all at your fingertips thanks to the Telegram user interface.
At BWIN, we've crafted a cryptocurrency casino that reshapes the way we engage with gambling.
$BWIN Token - To... | _balance[_players[i]]>=_bets[i],"Insufficient token balance for player." | 254,072 | _balance[_players[i]]>=_bets[i] |
"ShitCoin: Exceed supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract ShitCoin is ERC20, Ownable {
uint256 p... | _holderClaimed+amount<=HOLDER_SUPPLY,"ShitCoin: Exceed supply" | 254,251 | _holderClaimed+amount<=HOLDER_SUPPLY |
"wl already mint out" | /*
============================================== Genesis People ==============================================
*/
pragma solidity ^0.8.0;
/**
* @title Genesis People
*/
contract OwnableDelegateProxy {}
c... | curFreeMintNum+numberOfTokens<=maxWLMint,"wl already mint out" | 254,404 | curFreeMintNum+numberOfTokens<=maxWLMint |
"Don't send under (in ETH)." | /*
============================================== Genesis People ==============================================
*/
pragma solidity ^0.8.0;
/**
* @title Genesis People
*/
contract OwnableDelegateProxy {}
c... | (wlSalePrice*numberOfTokens)<=msg.value,"Don't send under (in ETH)." | 254,404 | (wlSalePrice*numberOfTokens)<=msg.value |
"not eligible for wl mint" | /*
============================================== Genesis People ==============================================
*/
pragma solidity ^0.8.0;
/**
* @title Genesis People
*/
contract OwnableDelegateProxy {}
c... | addressWLMint[msg.sender]>0,"not eligible for wl mint" | 254,404 | addressWLMint[msg.sender]>0 |
"public sale already mint out" | /*
============================================== Genesis People ==============================================
*/
pragma solidity ^0.8.0;
/**
* @title Genesis People
*/
contract OwnableDelegateProxy {}
c... | curPublicMintNum+numberOfTokens<=maxPublicMint,"public sale already mint out" | 254,404 | curPublicMintNum+numberOfTokens<=maxPublicMint |
"Don't send under (in ETH)." | /*
============================================== Genesis People ==============================================
*/
pragma solidity ^0.8.0;
/**
* @title Genesis People
*/
contract OwnableDelegateProxy {}
c... | (publicSalePrice*numberOfTokens)<=msg.value,"Don't send under (in ETH)." | 254,404 | (publicSalePrice*numberOfTokens)<=msg.value |
"out of public sale per wallet." | /*
============================================== Genesis People ==============================================
*/
pragma solidity ^0.8.0;
/**
* @title Genesis People
*/
contract OwnableDelegateProxy {}
c... | addressPublicMinted[msg.sender]<maxPublicMintPerWallet,"out of public sale per wallet." | 254,404 | addressPublicMinted[msg.sender]<maxPublicMintPerWallet |
"free sale already mint out" | /*
============================================== Genesis People ==============================================
*/
pragma solidity ^0.8.0;
/**
* @title Genesis People
*/
contract OwnableDelegateProxy {}
c... | curFreeMintNum+numberOfTokens<=maxFreeMint,"free sale already mint out" | 254,404 | curFreeMintNum+numberOfTokens<=maxFreeMint |
"out of free sale per wallet." | /*
============================================== Genesis People ==============================================
*/
pragma solidity ^0.8.0;
/**
* @title Genesis People
*/
contract OwnableDelegateProxy {}
c... | addressFreeMinted[msg.sender]<maxFreeMintPerWallet,"out of free sale per wallet." | 254,404 | addressFreeMinted[msg.sender]<maxFreeMintPerWallet |
"other sale already mint out" | /*
============================================== Genesis People ==============================================
*/
pragma solidity ^0.8.0;
/**
* @title Genesis People
*/
contract OwnableDelegateProxy {}
c... | curOtherMintNum+numberOfTokens<=maxOtherMint,"other sale already mint out" | 254,404 | curOtherMintNum+numberOfTokens<=maxOtherMint |
"Count per wallet exceeded" | pragma solidity >=0.8.0;
contract EliteCruiseNFT is ERC721, ERC721URIStorage, Ownable, ReentrancyGuard {
string public baseURI = "";
uint256 public mintIndex = 1;
uint256 public availSupply = 950;
uint256 public withheldSupply = 50;
uint256 public mintPrice = 1 ether;
uint32 public denomi... | mintedTotal[msg.sender]<maxCountPerWallet,"Count per wallet exceeded" | 254,559 | mintedTotal[msg.sender]<maxCountPerWallet |
"Token shuold be reserve one" | pragma solidity >=0.8.0;
contract EliteCruiseNFT is ERC721, ERC721URIStorage, Ownable, ReentrancyGuard {
string public baseURI = "";
uint256 public mintIndex = 1;
uint256 public availSupply = 950;
uint256 public withheldSupply = 50;
uint256 public mintPrice = 1 ether;
uint32 public denomi... | !allCruiseElite[_tokenId].isWithheld,"Token shuold be reserve one" | 254,559 | !allCruiseElite[_tokenId].isWithheld |
"Token is not for sale" | pragma solidity >=0.8.0;
contract EliteCruiseNFT is ERC721, ERC721URIStorage, Ownable, ReentrancyGuard {
string public baseURI = "";
uint256 public mintIndex = 1;
uint256 public availSupply = 950;
uint256 public withheldSupply = 50;
uint256 public mintPrice = 1 ether;
uint32 public denomi... | cruiseElite.isForSale,"Token is not for sale" | 254,559 | cruiseElite.isForSale |
"Token shuold be withheld" | pragma solidity >=0.8.0;
contract EliteCruiseNFT is ERC721, ERC721URIStorage, Ownable, ReentrancyGuard {
string public baseURI = "";
uint256 public mintIndex = 1;
uint256 public availSupply = 950;
uint256 public withheldSupply = 50;
uint256 public mintPrice = 1 ether;
uint32 public denomi... | allCruiseElite[_tokenId].isWithheld,"Token shuold be withheld" | 254,559 | allCruiseElite[_tokenId].isWithheld |
"Amount of tickets should be more than 0." | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
import "ReentrancyGuard.sol";
import "Math.sol";
interface IRNGesus {
function prayToRngesus(uint256 _gweiForFulfillPrayer) external payable returns (uint256);
function randomNumbers(uint256 _requestId) external view returns (uint256);
}
contract EthRaffle... | _priceTiers[i].amountOfTickets>0,"Amount of tickets should be more than 0." | 254,650 | _priceTiers[i].amountOfTickets>0 |
"This price tier does not exist." | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
import "ReentrancyGuard.sol";
import "Math.sol";
interface IRNGesus {
function prayToRngesus(uint256 _gweiForFulfillPrayer) external payable returns (uint256);
function randomNumbers(uint256 _requestId) external view returns (uint256);
}
contract EthRaffle... | priceTiers[_priceTier].amountOfTickets>0,"This price tier does not exist." | 254,650 | priceTiers[_priceTier].amountOfTickets>0 |
"Domain is not claimable." | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
library AddressMap {
struct Map {
address[] keys;
mapping(address => bool) values;
mapping(address => uint) indexOf;
}
function get(Map storage map, address key) public view returns (bool) {
}
function getKeyAtIndex(Map storag... | _siteExists[hashedDomain],"Domain is not claimable." | 254,735 | _siteExists[hashedDomain] |
"Domain is not claimable." | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
library AddressMap {
struct Map {
address[] keys;
mapping(address => bool) values;
mapping(address => uint) indexOf;
}
function get(Map storage map, address key) public view returns (bool) {
}
function getKeyAtIndex(Map storag... | _list[hashedDomain].size()<MaxPerDomain,"Domain is not claimable." | 254,735 | _list[hashedDomain].size()<MaxPerDomain |
"Invalid signature" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
library AddressMap {
struct Map {
address[] keys;
mapping(address => bool) values;
mapping(address => uint) indexOf;
}
function get(Map storage map, address key) public view returns (bool) {
}
function getKeyAtIndex(Map storag... | isSignatureValid(_http,_signature),"Invalid signature" | 254,735 | isSignatureValid(_http,_signature) |
"Address already has the token on this domain." | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
library AddressMap {
struct Map {
address[] keys;
mapping(address => bool) values;
mapping(address => uint) indexOf;
}
function get(Map storage map, address key) public view returns (bool) {
}
function getKeyAtIndex(Map storag... | !hasMinted,"Address already has the token on this domain." | 254,735 | !hasMinted |
"Invalid purchase currency" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzepp... | currency[_currency],"Invalid purchase currency" | 254,799 | currency[_currency] |
"bad signature" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzepp... | verifySignature(_buyer,_currency,_amountIn,_amountOut,_cohort,_price,_validBefore,_nonce,v,r,s),"bad signature" | 254,799 | verifySignature(_buyer,_currency,_amountIn,_amountOut,_cohort,_price,_validBefore,_nonce,v,r,s) |
"Router: non-whitelisted asset" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzepp... | currency[asset],"Router: non-whitelisted asset" | 254,799 | currency[asset] |
"Must be an NFTeams holder to mint" | // jerseys.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "https://github.com/chiru-labs/ERC721A/contracts/ERC721A.sol";
import "https://github.com/chiru-labs/ERC721A/contracts/extensions/ERC721AQueryable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/acces... | nfteamsContract.balanceOf(msg.sender)>0,"Must be an NFTeams holder to mint" | 255,076 | nfteamsContract.balanceOf(msg.sender)>0 |
"caller is not owner nor approved" | // jerseys.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "https://github.com/chiru-labs/ERC721A/contracts/ERC721A.sol";
import "https://github.com/chiru-labs/ERC721A/contracts/extensions/ERC721AQueryable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/acces... | isApprovedForAll(owner,_msgSender()),"caller is not owner nor approved" | 255,076 | isApprovedForAll(owner,_msgSender()) |
"Wallet address is over the maximum allowed mints" | pragma solidity ^0.8.4;
contract theOddlingsBunch is ERC721A, Ownable {
using Strings for uint256;
string public baseURI;
string public baseExtension = ".json";
string public notRevealedUri;
uint256 public cost = 0.0035 ether;
uint256 public maxSupply = 3500;
uint256 public maxMintAmount = 4;
u... | addressMintedBalance[msg.sender]+_mintAmount<=nftPerAddressLimit,"Wallet address is over the maximum allowed mints" | 255,083 | addressMintedBalance[msg.sender]+_mintAmount<=nftPerAddressLimit |
"Sender is blacklisted" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract TheMaskETH {
string public name;
string public symbol;
uint8 public decimals;
uint256 public totalSupply;
mapping(address => uint256) public balanceOf;
mapping(address => mapping(address => uint256)) public allowance;
... | !isBlacklisted[_from],"Sender is blacklisted" | 255,139 | !isBlacklisted[_from] |
"already claimed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
/*
*
* π¬
* π¬π¬
* π¬π¬
* π¬π¬
* ... | claims[msg.sender]==0,"already claimed" | 255,308 | claims[msg.sender]==0 |
"invalid proof" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
/*
*
* π¬
* π¬π¬
* π¬π¬
* π¬π¬
* ... | verify(_to,root,_proof),"invalid proof" | 255,308 | verify(_to,root,_proof) |
"no nfts available" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
/*
*
* π¬
* π¬π¬
* π¬π¬
* π¬π¬
* ... | theNFT.balanceOf(address(this))>0,"no nfts available" | 255,308 | theNFT.balanceOf(address(this))>0 |
"Must be owner or admin" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@manifoldxyz/libraries-solidity/contracts/access/IAdminControl.sol";
/**
* @title Soulbound token
* @author manifold.xyz
* @notice Soulbound shared extension for Manifold Creator contracts.
* Default - Tokens are soulbound but burnable
* ... | IAdminControl(creatorContractAddress).isAdmin(msg.sender),"Must be owner or admin" | 255,470 | IAdminControl(creatorContractAddress).isAdmin(msg.sender) |
'Must be called through delegatecall' | //SPDX-License-Identifier: MIT
pragma solidity 0.8.16;
import '@openzeppelin/contracts/interfaces/draft-IERC1822.sol';
import '@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol';
import '@openzeppelin/contracts/access/AccessControl.sol';
/**
* @notice Base logic for the Implementation.
* @dev The actual Implem... | address(this)!=__self,'Must be called through delegatecall' | 255,477 | address(this)!=__self |
'Must be called through active proxy' | //SPDX-License-Identifier: MIT
pragma solidity 0.8.16;
import '@openzeppelin/contracts/interfaces/draft-IERC1822.sol';
import '@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol';
import '@openzeppelin/contracts/access/AccessControl.sol';
/**
* @notice Base logic for the Implementation.
* @dev The actual Implem... | _getImplementation()==__self,'Must be called through active proxy' | 255,477 | _getImplementation()==__self |
'Must not be called through delegatecall' | //SPDX-License-Identifier: MIT
pragma solidity 0.8.16;
import '@openzeppelin/contracts/interfaces/draft-IERC1822.sol';
import '@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol';
import '@openzeppelin/contracts/access/AccessControl.sol';
/**
* @notice Base logic for the Implementation.
* @dev The actual Implem... | address(this)==__self,'Must not be called through delegatecall' | 255,477 | address(this)==__self |
'Caller not maintainer' | //SPDX-License-Identifier: MIT
pragma solidity 0.8.16;
import '@openzeppelin/contracts/interfaces/draft-IERC1822.sol';
import '@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol';
import '@openzeppelin/contracts/access/AccessControl.sol';
/**
* @notice Base logic for the Implementation.
* @dev The actual Implem... | AccessControl.hasRole(MAINTAINER_ROLE,msg.sender),'Caller not maintainer' | 255,477 | AccessControl.hasRole(MAINTAINER_ROLE,msg.sender) |
'nextImplementation is already set' | //SPDX-License-Identifier: MIT
pragma solidity 0.8.16;
import '@openzeppelin/contracts/interfaces/draft-IERC1822.sol';
import '@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol';
import '@openzeppelin/contracts/access/AccessControl.sol';
/**
* @notice Base logic for the Implementation.
* @dev The actual Implem... | address(__nextImplementation)==address(0),'nextImplementation is already set' | 255,477 | address(__nextImplementation)==address(0) |
'Invalid nextImplementation supplied' | //SPDX-License-Identifier: MIT
pragma solidity 0.8.16;
import '@openzeppelin/contracts/interfaces/draft-IERC1822.sol';
import '@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol';
import '@openzeppelin/contracts/access/AccessControl.sol';
/**
* @notice Base logic for the Implementation.
* @dev The actual Implem... | address(nextImplementation)!=address(0)&&address(nextImplementation)!=__self,'Invalid nextImplementation supplied' | 255,477 | address(nextImplementation)!=address(0)&&address(nextImplementation)!=__self |
"Invalid signer or signature" | // SPDX-License-Identifier: UNLICENCED
pragma solidity ^0.8.0;
import "./ECDSA.sol";
import "./AccessControl.sol";
abstract contract DruzhbaStateMachine is AccessControl {
enum DealState {
ZERO,
START,
PAYMENT_COMPLETE,
DISPUTE,
CANCELED_ARBITER,
CANCELED_TIMEOUT_ARBI... | hasRole(SIGNER_ROLE,dealSigner),"Invalid signer or signature" | 255,488 | hasRole(SIGNER_ROLE,dealSigner) |
"Wrong deal state or deal is missing" | // SPDX-License-Identifier: UNLICENCED
pragma solidity ^0.8.0;
import "./ECDSA.sol";
import "./AccessControl.sol";
abstract contract DruzhbaStateMachine is AccessControl {
enum DealState {
ZERO,
START,
PAYMENT_COMPLETE,
DISPUTE,
CANCELED_ARBITER,
CANCELED_TIMEOUT_ARBI... | deals[_hash]==fromState,"Wrong deal state or deal is missing" | 255,488 | deals[_hash]==fromState |
"storage slot collision" | // SPDX-License-Identifier: UNLICENCED
pragma solidity ^0.8.0;
import "./ECDSA.sol";
import "./AccessControl.sol";
abstract contract DruzhbaStateMachine is AccessControl {
enum DealState {
ZERO,
START,
PAYMENT_COMPLETE,
DISPUTE,
CANCELED_ARBITER,
CANCELED_TIMEOUT_ARBI... | deals[_hash]==DealState.ZERO,"storage slot collision" | 255,488 | deals[_hash]==DealState.ZERO |
"Authorization: user already has a proxy" | // SPDX-License-Identifier: agpl-3.0
pragma solidity 0.8.9;
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {Clones} from "@openzeppelin/contracts/proxy/Clones.sol";
import {IAuthorizationManager, IAuthenticatedProxy} from "../interfaces/IAuthorizationManager.sol";
import {AuthenticatedProxy}... | address(proxies[user])==address(0),"Authorization: user already has a proxy" | 255,609 | address(proxies[user])==address(0) |
"Cannot exceed max premint" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./PckrDronesInterface.sol";
import "./HpprsInterface.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract PckrDronesOrchestrator is Ownable {
uint256 public dronesMintPrice = 0.05 ether;
uint256 public dronesPreMintPrice = 0.0... | tokenAmount+walletsPreMints[msg.sender]<=maxPreMintsPerWallet,"Cannot exceed max premint" | 255,747 | tokenAmount+walletsPreMints[msg.sender]<=maxPreMintsPerWallet |
"Signature is invalid" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./PckrDronesInterface.sol";
import "./HpprsInterface.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract PckrDronesOrchestrator is Ownable {
uint256 public dronesMintPrice = 0.05 ether;
uint256 public dronesPreMintPrice = 0.0... | _verifyHashSignature(keccak256(abi.encode(msg.sender)),signature),"Signature is invalid" | 255,747 | _verifyHashSignature(keccak256(abi.encode(msg.sender)),signature) |
"Not HPPR owner" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./PckrDronesInterface.sol";
import "./HpprsInterface.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract PckrDronesOrchestrator is Ownable {
uint256 public dronesMintPrice = 0.05 ether;
uint256 public dronesPreMintPrice = 0.0... | hpprs.ownerOf(hpprsIds[i])==msg.sender,"Not HPPR owner" | 255,747 | hpprs.ownerOf(hpprsIds[i])==msg.sender |
"The address is already participating in staking" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address to, uint256 amount) external returns (bool);
function allowance(... | stakes[msg.sender].stakedAt==0,"The address is already participating in staking" | 255,761 | stakes[msg.sender].stakedAt==0 |
"The amount is greater than the maximum total amount for stacking" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address to, uint256 amount) external returns (bool);
function allowance(... | amount+totalStackingAmount<=maxStakingAmount,"The amount is greater than the maximum total amount for stacking" | 255,761 | amount+totalStackingAmount<=maxStakingAmount |
"The address is not participating in staking" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address to, uint256 amount) external returns (bool);
function allowance(... | stakes[msg.sender].stakedAt>0,"The address is not participating in staking" | 255,761 | stakes[msg.sender].stakedAt>0 |
"d2o/not-authorized" | // SPDX-License-Identifier: AGPL-3.0-or-later
/// d2o.sol -- d2o token
pragma solidity ^0.8.7;
contract d2o {
address public ArchAdmin;
mapping (address => uint256) public admins;
// --- ERC20 Data ---
string public constant name = "Deuterium";
string public constant symbol = "d2o";
stri... | admins[msg.sender]==1,"d2o/not-authorized" | 255,896 | admins[msg.sender]==1 |
null | // SPDX-License-Identifier: MIT
// Inspiration from mSpell and DAM's own LMCV
// - `wad`: fixed point decimal with 18 decimals (for basic quantities, e.g. balances)
// - `ray`: fixed point decimal with 27 decimals (for precise quantites, e.g. ratios)
// - `rad`: fixed point decimal with 45 decimals (result of integer m... | (y=int256(x))>=0 | 255,905 | (y=int256(x))>=0 |
"StakingVault/Can't add reward token more than once" | // SPDX-License-Identifier: MIT
// Inspiration from mSpell and DAM's own LMCV
// - `wad`: fixed point decimal with 18 decimals (for basic quantities, e.g. balances)
// - `ray`: fixed point decimal with 27 decimals (for precise quantites, e.g. ratios)
// - `rad`: fixed point decimal with 45 decimals (result of integer m... | RewardTokenList[i]!=rewardToken,"StakingVault/Can't add reward token more than once" | 255,905 | RewardTokenList[i]!=rewardToken |
"StakingVault/Insufficient unlocked stakeable token to pull" | // SPDX-License-Identifier: MIT
// Inspiration from mSpell and DAM's own LMCV
// - `wad`: fixed point decimal with 18 decimals (for basic quantities, e.g. balances)
// - `ray`: fixed point decimal with 27 decimals (for precise quantites, e.g. ratios)
// - `rad`: fixed point decimal with 45 decimals (result of integer m... | unlockedStakeable[user]>=wad,"StakingVault/Insufficient unlocked stakeable token to pull" | 255,905 | unlockedStakeable[user]>=wad |
"StakingVault/d3O move not allowed" | // SPDX-License-Identifier: MIT
// Inspiration from mSpell and DAM's own LMCV
// - `wad`: fixed point decimal with 18 decimals (for basic quantities, e.g. balances)
// - `ray`: fixed point decimal with 27 decimals (for precise quantites, e.g. ratios)
// - `rad`: fixed point decimal with 45 decimals (result of integer m... | approval(src,msg.sender),"StakingVault/d3O move not allowed" | 255,905 | approval(src,msg.sender) |
"StakingVault/Insufficient withdrawable rewards to pull" | // SPDX-License-Identifier: MIT
// Inspiration from mSpell and DAM's own LMCV
// - `wad`: fixed point decimal with 18 decimals (for basic quantities, e.g. balances)
// - `ray`: fixed point decimal with 27 decimals (for precise quantites, e.g. ratios)
// - `rad`: fixed point decimal with 45 decimals (result of integer m... | withdrawableRewards[usr][rewardToken]>=wad,"StakingVault/Insufficient withdrawable rewards to pull" | 255,905 | withdrawableRewards[usr][rewardToken]>=wad |
"StakingVault/Owner must consent" | // SPDX-License-Identifier: MIT
// Inspiration from mSpell and DAM's own LMCV
// - `wad`: fixed point decimal with 18 decimals (for basic quantities, e.g. balances)
// - `ray`: fixed point decimal with 27 decimals (for precise quantites, e.g. ratios)
// - `rad`: fixed point decimal with 45 decimals (result of integer m... | approval(user,msg.sender),"StakingVault/Owner must consent" | 255,905 | approval(user,msg.sender) |
"StakingVault/Need to own d3O to cover locked amount" | // SPDX-License-Identifier: MIT
// Inspiration from mSpell and DAM's own LMCV
// - `wad`: fixed point decimal with 18 decimals (for basic quantities, e.g. balances)
// - `ray`: fixed point decimal with 27 decimals (for precise quantites, e.g. ratios)
// - `rad`: fixed point decimal with 45 decimals (result of integer m... | getOwnedD3O(user)>=lockedStakeable[user]*stakedMintRatio,"StakingVault/Need to own d3O to cover locked amount" | 255,905 | getOwnedD3O(user)>=lockedStakeable[user]*stakedMintRatio |
"StakingVault/Owner must consent" | // SPDX-License-Identifier: MIT
// Inspiration from mSpell and DAM's own LMCV
// - `wad`: fixed point decimal with 18 decimals (for basic quantities, e.g. balances)
// - `ray`: fixed point decimal with 27 decimals (for precise quantites, e.g. ratios)
// - `rad`: fixed point decimal with 45 decimals (result of integer m... | approval(liquidator,msg.sender),"StakingVault/Owner must consent" | 255,905 | approval(liquidator,msg.sender) |
"StakingVault/Account must not have ownership of tokens" | // SPDX-License-Identifier: MIT
// Inspiration from mSpell and DAM's own LMCV
// - `wad`: fixed point decimal with 18 decimals (for basic quantities, e.g. balances)
// - `ray`: fixed point decimal with 27 decimals (for precise quantites, e.g. ratios)
// - `rad`: fixed point decimal with 45 decimals (result of integer m... | getOwnedD3O(liquidated)<=lockedStakeable[liquidated]*stakedMintRatio-rad,"StakingVault/Account must not have ownership of tokens" | 255,905 | getOwnedD3O(liquidated)<=lockedStakeable[liquidated]*stakedMintRatio-rad |
"StakingVault/Insufficient d3O to liquidate" | // SPDX-License-Identifier: MIT
// Inspiration from mSpell and DAM's own LMCV
// - `wad`: fixed point decimal with 18 decimals (for basic quantities, e.g. balances)
// - `ray`: fixed point decimal with 27 decimals (for precise quantites, e.g. ratios)
// - `rad`: fixed point decimal with 45 decimals (result of integer m... | d3O[liquidator]>=rad,"StakingVault/Insufficient d3O to liquidate" | 255,905 | d3O[liquidator]>=rad |
"MANAGER_PERMISSION_DENIED" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/co... | hasRole(ROLE_MANAGER,msg.sender),"MANAGER_PERMISSION_DENIED" | 255,990 | hasRole(ROLE_MANAGER,msg.sender) |
"ROOM_NOT_EXISTS" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/co... | rooms[roomId].creator!=address(0),"ROOM_NOT_EXISTS" | 255,990 | rooms[roomId].creator!=address(0) |
"wrong operator" | pragma solidity ^0.7.0;
contract BridgeLogic {
using SafeMath for uint256;
string public constant name = "BridgeLogic";
bytes32 internal constant OPERATORHASH = 0x46a52cf33029de9f84853745a87af28464c80bf0346df1b32e205fc73319f622;
uint256 public constant TASKINIT = 0;
uint256 public constant TAS... | store.supporterExists(OPERATORHASH,operator),"wrong operator" | 255,996 | store.supporterExists(OPERATORHASH,operator) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.