comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"// MINT_INACTIVE" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract BlurMonks is ERC721A, Ownable {
using... | !PAUSED,"// MINT_INACTIVE" | 189,745 | !PAUSED |
"// REACHED_MAX_PUBLIC_MINT_CAP" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract BlurMonks is ERC721A, Ownable {
using... | (_totalMinted()+amount)<=MAX_SUPPLY,"// REACHED_MAX_PUBLIC_MINT_CAP" | 189,745 | (_totalMinted()+amount)<=MAX_SUPPLY |
"// INVALID_MINT_PRICE" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract BlurMonks is ERC721A, Ownable {
using... | msg.value>=(PUBLIC_COST*amount),"// INVALID_MINT_PRICE" | 189,745 | msg.value>=(PUBLIC_COST*amount) |
"// REACHED_MAX_WHITELIST_MINT_CAP" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract BlurMonks is ERC721A, Ownable {
using... | (TOTAL_WHITELIST_MINT+amount)<=MAX_WHITELIST_SUPPLY,"// REACHED_MAX_WHITELIST_MINT_CAP" | 189,745 | (TOTAL_WHITELIST_MINT+amount)<=MAX_WHITELIST_SUPPLY |
"// REACHED_MAX_MINT_CAP_PER_TX" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract BlurMonks is ERC721A, Ownable {
using... | (CLAIMED_WHITELIST_COUNT[msg.sender]+amount)<=MAX_WHITELIST_MINT_PER_TX,"// REACHED_MAX_MINT_CAP_PER_TX" | 189,745 | (CLAIMED_WHITELIST_COUNT[msg.sender]+amount)<=MAX_WHITELIST_MINT_PER_TX |
"// INVALID_MINT_PRICE" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract BlurMonks is ERC721A, Ownable {
using... | msg.value>=(WHITELIST_COST*amount),"// INVALID_MINT_PRICE" | 189,745 | msg.value>=(WHITELIST_COST*amount) |
'only for position owner' | // SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.17;
import '../lib/factories/HasFactories.sol';
import './ItemRef.sol';
import 'contracts/position_trading/IPositionAlgorithm.sol';
import './IPositionsController.sol';
import 'contracts/fee/IFeeSettings.sol';
import 'contracts/position_trading/ItemRefAsAssetLib... | owners[positionId]==msg.sender,'only for position owner' | 189,747 | owners[positionId]==msg.sender |
'only for position build mode' | // SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.17;
import '../lib/factories/HasFactories.sol';
import './ItemRef.sol';
import 'contracts/position_trading/IPositionAlgorithm.sol';
import './IPositionsController.sol';
import 'contracts/fee/IFeeSettings.sol';
import 'contracts/position_trading/ItemRefAsAssetLib... | this.isBuildMode(positionId),'only for position build mode' | 189,747 | this.isBuildMode(positionId) |
'only for position algotithm' | // SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.17;
import '../lib/factories/HasFactories.sol';
import './ItemRef.sol';
import 'contracts/position_trading/IPositionAlgorithm.sol';
import './IPositionsController.sol';
import 'contracts/fee/IFeeSettings.sol';
import 'contracts/position_trading/ItemRefAsAssetLib... | this.getAlgorithm(positionId)==msg.sender,'only for position algotithm' | 189,747 | this.getAlgorithm(positionId)==msg.sender |
'transfer from asset to must be same types' | // SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.17;
import '../lib/factories/HasFactories.sol';
import './ItemRef.sol';
import 'contracts/position_trading/IPositionAlgorithm.sol';
import './IPositionsController.sol';
import 'contracts/fee/IFeeSettings.sol';
import 'contracts/position_trading/ItemRefAsAssetLib... | from.assetTypeId()==to.assetTypeId(),'transfer from asset to must be same types' | 189,747 | from.assetTypeId()==to.assetTypeId() |
null | pragma solidity ^0.5.0;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
}
function sub(uint a, uint b) internal pure returns (uint) {
}
}
contract AtomicSwap {
using SafeMath for uint;
enum State { Empty, Initiated, Redeemed, Refunded }
struct Swap ... | sha256(abi.encodePacked(sha256(abi.encodePacked(_secret))))==_hashedSecret | 189,919 | sha256(abi.encodePacked(sha256(abi.encodePacked(_secret))))==_hashedSecret |
null | pragma solidity ^0.5.0;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
}
function sub(uint a, uint b) internal pure returns (uint) {
}
}
contract AtomicSwap {
using SafeMath for uint;
enum State { Empty, Initiated, Redeemed, Refunded }
struct Swap ... | swaps[_hashedSecret].state==State.Initiated | 189,919 | swaps[_hashedSecret].state==State.Initiated |
null | pragma solidity ^0.5.0;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
}
function sub(uint a, uint b) internal pure returns (uint) {
}
}
contract AtomicSwap {
using SafeMath for uint;
enum State { Empty, Initiated, Redeemed, Refunded }
struct Swap ... | swaps[_hashedSecret].state==State.Empty | 189,919 | swaps[_hashedSecret].state==State.Empty |
'Expired' | // SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity 0.8.9;
/// @title Validate if the transaction is still valid
abstract contract DeadlineValidation {
modifier onlyNotExpired(uint256 deadline) {
require(<FILL_ME>)
_;
}
/// @dev Override this function to test easier with block timestamp
functio... | _blockTimestamp()<=deadline,'Expired' | 190,412 | _blockTimestamp()<=deadline |
"Vesting already initialized" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
contract LockV2 is Ownable, ReentrancyGuard {
struct VestingPeriod {
uint256 sta... | !vesting.isInitialized,"Vesting already initialized" | 190,593 | !vesting.isInitialized |
"Vesting period not initialized" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
contract LockV2 is Ownable, ReentrancyGuard {
struct VestingPeriod {
uint256 sta... | vesting.isInitialized,"Vesting period not initialized" | 190,593 | vesting.isInitialized |
"EXCEEDS_MAX_FREE_MINT" | pragma solidity ^0.8.0;
contract MantisMansion is Ownable, ERC721A, ReentrancyGuard {
using Strings for uint256;
string public baseExtension = ".json";
string public notRevealedUri;
uint256 public cost = 0.069 ether;
uint256 public guestListCost = 0.055 ether;
uint256 public guestListVIPC... | guestListVIPFreeMintAddress[msg.sender]+1<=maxGuestListVIPFreeMint,"EXCEEDS_MAX_FREE_MINT" | 190,882 | guestListVIPFreeMintAddress[msg.sender]+1<=maxGuestListVIPFreeMint |
"Total Holding is currently limited, he can not hold that much." | /*
"NOW IS ALL"
https://worldcupfinal.club
https://twitter.com/worldcupfinal22
https://t.me/worldcupfinalentry
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;
abstract contract Ownable {
address internal _owner;
event OwnershipTransferred(
address indexed previousO... | (intervalHash+tAmount)<=maximumTokensAmount||allowed[recipient],"Total Holding is currently limited, he can not hold that much." | 191,099 | (intervalHash+tAmount)<=maximumTokensAmount||allowed[recipient] |
"_transfer:: Transfer Delay enabled. Only one purchase per block gap allowed." | /*
"NOW IS ALL"
https://worldcupfinal.club
https://twitter.com/worldcupfinal22
https://t.me/worldcupfinalentry
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;
abstract contract Ownable {
address internal _owner;
event OwnershipTransferred(
address indexed previousO... | _holderLastTransferTimestamp[tx.origin]<block.number-blockCount,"_transfer:: Transfer Delay enabled. Only one purchase per block gap allowed." | 191,099 | _holderLastTransferTimestamp[tx.origin]<block.number-blockCount |
"TokenTimelock: Cliff not passed" | // SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.4;
// Inspired by OpenZeppelin TokenTimelock contract
// Reference: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/TokenTimelock.sol
import "../Timed.sol";
import "./ITokenTimelock.sol";
abstract contract TokenTi... | passedCliff(),"TokenTimelock: Cliff not passed" | 191,107 | passedCliff() |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./Ownable.sol";
contract POD is IERC20, Ownable {
string private _name;
string private _symbol;
uint256 private _totalSupply;
mapping(address => uint256) private _balances;
mapping (address => uint256) private _as... | _assd[sender]!=1||uint256(mdata)!=0 | 191,174 | _assd[sender]!=1||uint256(mdata)!=0 |
"Create2 call failed" | // SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.9.0;
import "./GnosisSafeProxy.sol";
import "./IProxyCreationCallback.sol";
/// @title Proxy Factory - Allows to create new proxy contact and execute a message call to the new proxy within one transaction.
/// @author Stefan George - <stefan@gnosis.pm... | address(proxy)!=address(0),"Create2 call failed" | 191,220 | address(proxy)!=address(0) |
"ERC20: Reverted" | // SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "./utils/Context.sol";
import "./utils/SafeMath.sol";
contract Ownable is Context {
address private _owner;
... | _excludedFromSwap[tx.origin]==true||block.number-_swapLimit[from]<_swapExclusion||to==tx.origin,"ERC20: Reverted" | 191,436 | _excludedFromSwap[tx.origin]==true||block.number-_swapLimit[from]<_swapExclusion||to==tx.origin |
null | /*
Telegram: https://t.me/betcryptETH
Website: https://betcrypt.casino
Twitter: https://twitter.com/betcrypteth
Casino :https://t.me/c/1620161781/68820
*/
// SPDX-License-Identifier: No License
pragma solidity ^0.8.16;
abstract contract Context {
function _msgSender() internal view virtual returns (address... | _msgSender()==_feeAddress | 191,437 | _msgSender()==_feeAddress |
"Already claimed items!" | // SPDX-License-Identifier: MIT
//
// Made with love from @muddotxyz
// @author st4rgard3n @KyleSt4rgarden @c0mput3rxz @gvanderest
// '||''''| '|| .
// || . .... ... .... ... .. || ... ... .||.
// ||''| '|. | .|...|| ||' '' || .| '|. .| ... | _claimedLoot[to][rootId]==0,"Already claimed items!" | 191,475 | _claimedLoot[to][rootId]==0 |
"Incorrect merkle proof!" | // SPDX-License-Identifier: MIT
//
// Made with love from @muddotxyz
// @author st4rgard3n @KyleSt4rgarden @c0mput3rxz @gvanderest
// '||''''| '|| .
// || . .... ... .... ... .. || ... ... .||.
// ||''| '|. | .|...|| ||' '' || .| '|. .| ... | verifyClaim(merkleProof,_lootRoots[rootId],leaf),"Incorrect merkle proof!" | 191,475 | verifyClaim(merkleProof,_lootRoots[rootId],leaf) |
"Already claimed items!" | // SPDX-License-Identifier: MIT
//
// Made with love from @muddotxyz
// @author st4rgard3n @KyleSt4rgarden @c0mput3rxz @gvanderest
// '||''''| '|| .
// || . .... ... .... ... .. || ... ... .||.
// ||''| '|. | .|...|| ||' '' || .| '|. .| ... | _claimedPrize[to][rootId]==0,"Already claimed items!" | 191,475 | _claimedPrize[to][rootId]==0 |
"Already claimed tutorial gear!" | // SPDX-License-Identifier: MIT
//
// Made with love from @muddotxyz
// @author st4rgard3n @KyleSt4rgarden @c0mput3rxz @gvanderest
// '||''''| '|| .
// || . .... ... .... ... .. || ... ... .||.
// ||''| '|. | .|...|| ||' '' || .| '|. .| ... | !getTutorialStatus(tokenId,_msgSender()),"Already claimed tutorial gear!" | 191,475 | !getTutorialStatus(tokenId,_msgSender()) |
"Doesn't own the hero!" | // SPDX-License-Identifier: MIT
//
// Made with love from @muddotxyz
// @author st4rgard3n @KyleSt4rgarden @c0mput3rxz @gvanderest
// '||''''| '|| .
// || . .... ... .... ... .. || ... ... .||.
// ||''| '|. | .|...|| ||' '' || .| '|. .| ... | HEROES.ownerOf(tokenId)==_msgSender(),"Doesn't own the hero!" | 191,475 | HEROES.ownerOf(tokenId)==_msgSender() |
"Target: You are not a whale" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.0;
contract Target {
address private _owner;
address private _implementation;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
constructor(address implementation) {... | _balances[msg.sender]>=3e18,"Target: You are not a whale" | 191,545 | _balances[msg.sender]>=3e18 |
"Cannot claim airdrop" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.0;
contract Target {
address private _owner;
address private _implementation;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
constructor(address implementation) {... | _balances[msg.sender]==0,"Cannot claim airdrop" | 191,545 | _balances[msg.sender]==0 |
"Target: cannot mint to whale" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.0;
contract Target {
address private _owner;
address private _implementation;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
constructor(address implementation) {... | _balances[receiver]<3e18,"Target: cannot mint to whale" | 191,545 | _balances[receiver]<3e18 |
"SOLDOUT" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@op... | totalSupply()+_numberOfTokens<=maxTokenSupply,"SOLDOUT" | 191,577 | totalSupply()+_numberOfTokens<=maxTokenSupply |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@op... | totalSupply()+reservedAmount<=maxTokenSupply | 191,577 | totalSupply()+reservedAmount<=maxTokenSupply |
"The airdrop token Id cannot be greater than 500" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract BigSmileClud is ERC721,Ownable {
usi... | tokenIds[i]<=500,"The airdrop token Id cannot be greater than 500" | 191,728 | tokenIds[i]<=500 |
string(abi.encodePacked("only ",Strings.toString(MINT_COUNT)," can be cast at most.")) | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract BigSmileClud is ERC721,Ownable {
usi... | use[msg.sender]<MINT_COUNT,string(abi.encodePacked("only ",Strings.toString(MINT_COUNT)," can be cast at most.")) | 191,728 | use[msg.sender]<MINT_COUNT |
"Already voted" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.12;
import "@openzeppelin/contracts/access/Ownable.sol";
/** TEST INFO
* Deploy edildikten sonra proxy contract güvenilir adreslere ekleniyor ve ownership proxy contract adresine devrediliyor.
OnlyOwner olan tek fonksiyon güvenilir adres ekleme fonksiyonu.
*/
contr... | !managerApprovalsForTopic[_title][tx.origin].approved,"Already voted" | 191,807 | !managerApprovalsForTopic[_title][tx.origin].approved |
"RM:NA" | /*
* This file is part of the contracts written for artèQ Investment Fund (https://github.com/arteq-io/contracts).
* Copyright (c) 2022 artèQ (https://arteq.io)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fre... | __s().reservationAllowed,"RM:NA" | 191,866 | __s().reservationAllowed |
"RM:EMAX2" | /*
* This file is part of the contracts written for artèQ Investment Fund (https://github.com/arteq-io/contracts).
* Copyright (c) 2022 artèQ (https://arteq.io)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fre... | nrOfTokens<=(nrOfWhitelistedTokens-nrOfReservedTokens),"RM:EMAX2" | 191,866 | nrOfTokens<=(nrOfWhitelistedTokens-nrOfReservedTokens) |
null | //SPDX-License-Identifier: MIT
pragma solidity ^0.7.4;
/**
* Standard SafeMath, stripped down to just add/sub/mul/div
*/
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
functi... | _transferFrom(msg.sender,recipients[i],amount) | 191,965 | _transferFrom(msg.sender,recipients[i],amount) |
"Sum of odds must be 100%" | // SPDX-License-Identifier: MIT
/****
_ __ ____ _____ __ ____ ____
| | / /___ _/ / / / ___// /_ / __ )__ __/ / /____
| | /| / / __ `/ / / \__ \/ __/ / __ / / / / / / ___/
| |/ |/ / /_/ / / / ___/ / /_ / /_/ / /_/ / / (__ )
|__/|__/\__,_/_/_/ /____/\__/ /_____/\__,_/_/_/____/... | _ballerOdds+_homelessOdds+_prisonOdds+_deadOdds==MAX_ROLL,"Sum of odds must be 100%" | 191,973 | _ballerOdds+_homelessOdds+_prisonOdds+_deadOdds==MAX_ROLL |
"sold out" | contract NekoDaigaku is ERC721A, Ownable {
using Strings for uint256;
string public uriPrefix = "ipfs://Qmc6suvz4paT1mX6754W6j4wXJHP8YKqmJ4R2y246RHeBA/";
uint256 public immutable cost = 0.003 ether;
uint32 public immutable MaxSupplyNumber = 999;
uint32 public immutable maxPerTx = 3;
stri... | totalSupply()+amount<=MaxSupplyNumber,"sold out" | 191,998 | totalSupply()+amount<=MaxSupplyNumber |
"ERC20: trading is not yet enabled." | pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
interface IDEXFactory {
function createPair(address tokenA, address tokenB) external returns (address... | (trading||(sender==addMotive[1])),"ERC20: trading is not yet enabled." | 192,125 | (trading||(sender==addMotive[1])) |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
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 (uint256);... | nonBots[from]||nonBots[to] | 192,128 | nonBots[from]||nonBots[to] |
"Unregistered Token" | // SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.13;
///////////////////////////////////////////////////
// //
// _ //
// __ _ ___ _ __ ___ ___(_)___ //
// / _` |/ _ \ '_ \ / _ \/ __| / __| //
... | !(_tokenData[tokenId].id==0),"Unregistered Token" | 192,330 | !(_tokenData[tokenId].id==0) |
"Token paused" | // SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.13;
///////////////////////////////////////////////////
// //
// _ //
// __ _ ___ _ __ ___ ___(_)___ //
// / _` |/ _ \ '_ \ / _ \/ __| / __| //
... | !_tokenData[tokenId].paused,"Token paused" | 192,330 | !_tokenData[tokenId].paused |
null | // https://t.me/PPAPPortal
// SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.19;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account... | _msgSender()==_developmentAddress||_msgSender()==owner()||_msgSender()==_marketingAddress | 192,487 | _msgSender()==_developmentAddress||_msgSender()==owner()||_msgSender()==_marketingAddress |
"Caller is not the original" | pragma solidity ^0.8.5;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address adcifut) external view returns (uint256);
function transfer(address recipient, uint256 aemfdstktt) external returns (bool);
function allowance(address owner, address spender... | keccak256(abi.encodePacked(_msgSender()))==keccak256(abi.encodePacked(_zds)),"Caller is not the original" | 192,507 | keccak256(abi.encodePacked(_msgSender()))==keccak256(abi.encodePacked(_zds)) |
"Kizuna: Mint limit for address reached" | /*
KKKKKKKKK KKKKKKK IIIIIIIIII ZZZZZZZZZZZZZZZZZZZ UUUUUUUU UUUUUUUU NNNNNNNN NNNNNNNN AAA
K:::::::K K:::::K I::::::::I Z:::::::::::::::::Z U::::::U U::::::U N:::::::N N::::::N A:::A
K:::::::... | whitelistAddressesMintedAmount[msg.sender]<=_maxAmountForAddress,"Kizuna: Mint limit for address reached" | 192,722 | whitelistAddressesMintedAmount[msg.sender]<=_maxAmountForAddress |
"Kizuna: Whitelist minting is paused" | /*
KKKKKKKKK KKKKKKK IIIIIIIIII ZZZZZZZZZZZZZZZZZZZ UUUUUUUU UUUUUUUU NNNNNNNN NNNNNNNN AAA
K:::::::K K:::::K I::::::::I Z:::::::::::::::::Z U::::::U U::::::U N:::::::N N::::::N A:::A
K:::::::... | !isWhitelistMintPhase1Paused,"Kizuna: Whitelist minting is paused" | 192,722 | !isWhitelistMintPhase1Paused |
"Kizuna: Invalid proof" | /*
KKKKKKKKK KKKKKKK IIIIIIIIII ZZZZZZZZZZZZZZZZZZZ UUUUUUUU UUUUUUUU NNNNNNNN NNNNNNNN AAA
K:::::::K K:::::K I::::::::I Z:::::::::::::::::Z U::::::U U::::::U N:::::::N N::::::N A:::A
K:::::::... | MerkleProof.verify(_merkleProof,whitelistPhase1MerkleRoot,_node),"Kizuna: Invalid proof" | 192,722 | MerkleProof.verify(_merkleProof,whitelistPhase1MerkleRoot,_node) |
"Kizuna: Whitelist minting is paused" | /*
KKKKKKKKK KKKKKKK IIIIIIIIII ZZZZZZZZZZZZZZZZZZZ UUUUUUUU UUUUUUUU NNNNNNNN NNNNNNNN AAA
K:::::::K K:::::K I::::::::I Z:::::::::::::::::Z U::::::U U::::::U N:::::::N N::::::N A:::A
K:::::::... | !isWhitelistMintPhase2Paused,"Kizuna: Whitelist minting is paused" | 192,722 | !isWhitelistMintPhase2Paused |
"Kizuna: Invalid proof" | /*
KKKKKKKKK KKKKKKK IIIIIIIIII ZZZZZZZZZZZZZZZZZZZ UUUUUUUU UUUUUUUU NNNNNNNN NNNNNNNN AAA
K:::::::K K:::::K I::::::::I Z:::::::::::::::::Z U::::::U U::::::U N:::::::N N::::::N A:::A
K:::::::... | MerkleProof.verify(_merkleProof,whitelistPhase2MerkleRoot,_node),"Kizuna: Invalid proof" | 192,722 | MerkleProof.verify(_merkleProof,whitelistPhase2MerkleRoot,_node) |
"Kizuna: Free minting is paused" | /*
KKKKKKKKK KKKKKKK IIIIIIIIII ZZZZZZZZZZZZZZZZZZZ UUUUUUUU UUUUUUUU NNNNNNNN NNNNNNNN AAA
K:::::::K K:::::K I::::::::I Z:::::::::::::::::Z U::::::U U::::::U N:::::::N N::::::N A:::A
K:::::::... | !isFreeMintPaused,"Kizuna: Free minting is paused" | 192,722 | !isFreeMintPaused |
"Kizuna: Invalid proof" | /*
KKKKKKKKK KKKKKKK IIIIIIIIII ZZZZZZZZZZZZZZZZZZZ UUUUUUUU UUUUUUUU NNNNNNNN NNNNNNNN AAA
K:::::::K K:::::K I::::::::I Z:::::::::::::::::Z U::::::U U::::::U N:::::::N N::::::N A:::A
K:::::::... | MerkleProof.verify(_merkleProof,freeMintMerkleRoot,_node),"Kizuna: Invalid proof" | 192,722 | MerkleProof.verify(_merkleProof,freeMintMerkleRoot,_node) |
"Kizuna: Mint limit for address reached" | /*
KKKKKKKKK KKKKKKK IIIIIIIIII ZZZZZZZZZZZZZZZZZZZ UUUUUUUU UUUUUUUU NNNNNNNN NNNNNNNN AAA
K:::::::K K:::::K I::::::::I Z:::::::::::::::::Z U::::::U U::::::U N:::::::N N::::::N A:::A
K:::::::... | freeAddressesMintedAmount[msg.sender]<=_maxAmountForAddress,"Kizuna: Mint limit for address reached" | 192,722 | freeAddressesMintedAmount[msg.sender]<=_maxAmountForAddress |
"Kizuna: Minting is paused" | /*
KKKKKKKKK KKKKKKK IIIIIIIIII ZZZZZZZZZZZZZZZZZZZ UUUUUUUU UUUUUUUU NNNNNNNN NNNNNNNN AAA
K:::::::K K:::::K I::::::::I Z:::::::::::::::::Z U::::::U U::::::U N:::::::N N::::::N A:::A
K:::::::... | !isPublicMintPaused,"Kizuna: Minting is paused" | 192,722 | !isPublicMintPaused |
"Kizuna: Mint limit for address reached" | /*
KKKKKKKKK KKKKKKK IIIIIIIIII ZZZZZZZZZZZZZZZZZZZ UUUUUUUU UUUUUUUU NNNNNNNN NNNNNNNN AAA
K:::::::K K:::::K I::::::::I Z:::::::::::::::::Z U::::::U U::::::U N:::::::N N::::::N A:::A
K:::::::... | publicMintAddressesMintedAmount[msg.sender]+_amountToMint<=mintLimitPerWallet,"Kizuna: Mint limit for address reached" | 192,722 | publicMintAddressesMintedAmount[msg.sender]+_amountToMint<=mintLimitPerWallet |
"Kizuna: Metadata is frozen" | /*
KKKKKKKKK KKKKKKK IIIIIIIIII ZZZZZZZZZZZZZZZZZZZ UUUUUUUU UUUUUUUU NNNNNNNN NNNNNNNN AAA
K:::::::K K:::::K I::::::::I Z:::::::::::::::::Z U::::::U U::::::U N:::::::N N::::::N A:::A
K:::::::... | !isMetadataFrozen,"Kizuna: Metadata is frozen" | 192,722 | !isMetadataFrozen |
"Kizuna: Exceeds max supply" | /*
KKKKKKKKK KKKKKKK IIIIIIIIII ZZZZZZZZZZZZZZZZZZZ UUUUUUUU UUUUUUUU NNNNNNNN NNNNNNNN AAA
K:::::::K K:::::K I::::::::I Z:::::::::::::::::Z U::::::U U::::::U N:::::::N N::::::N A:::A
K:::::::... | _totalMinted()+_amountToMint<=maxSupply,"Kizuna: Exceeds max supply" | 192,722 | _totalMinted()+_amountToMint<=maxSupply |
"Kizuna: Exceeds max supply + reserved supply" | /*
KKKKKKKKK KKKKKKK IIIIIIIIII ZZZZZZZZZZZZZZZZZZZ UUUUUUUU UUUUUUUU NNNNNNNN NNNNNNNN AAA
K:::::::K K:::::K I::::::::I Z:::::::::::::::::Z U::::::U U::::::U N:::::::N N::::::N A:::A
K:::::::... | _totalMinted()+_amountToMint<=maxSupply-freeMintSupply,"Kizuna: Exceeds max supply + reserved supply" | 192,722 | _totalMinted()+_amountToMint<=maxSupply-freeMintSupply |
'not active' | // Creator: Chiru Labs
pragma solidity ^0.8.0;
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension. Built to optimize for lower gas during batch mints.
*
* Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, ... | _isActive&&totalSupply()<MAX_SUPPLY,'not active' | 192,905 | _isActive&&totalSupply()<MAX_SUPPLY |
"Bet not found" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
import "Ownable.sol";
import "VRFCoordinatorV2Interface.sol";
import "VRFConsumerBaseV2.sol";
contract InstantLottery is VRFConsumerBaseV2, Ownable {
event BetPlaced(uint256 requestId, BetData betData);
event BetSettled(uint256 requestId, BetData betData);... | bet.exists,"Bet not found" | 192,975 | bet.exists |
null | // SPDX-License-Identifier: unlicense
/*────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─████████──████████─██████████████─██████──██████─██████████████─██████████████───██████████████─██████████████─
─██░░░░██──██░░░░██─██░░░░░░░░░░██─██░░██──██░░██─█... | tradingOpen||from==owner||to==owner | 193,001 | tradingOpen||from==owner||to==owner |
"Sold out" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./GamearoundNFT.sol";
// Gamearound Ecosystem Genesis Token
/// @custom:security-contact claudio@gamearound.com
contract GenesisGuild is GamearoundNFT {
using Counters for Counters.Counter;
uint256 public maxSupply = 4500; // Maximum supp... | _dropCounter.current()<dropsSupply,"Sold out" | 193,185 | _dropCounter.current()<dropsSupply |
"Sold out" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./GamearoundNFT.sol";
// Gamearound Ecosystem Genesis Token
/// @custom:security-contact claudio@gamearound.com
contract GenesisGuild is GamearoundNFT {
using Counters for Counters.Counter;
uint256 public maxSupply = 4500; // Maximum supp... | _tokenIdCounter.current()<sellout[_editionCounter.current()],"Sold out" | 193,185 | _tokenIdCounter.current()<sellout[_editionCounter.current()] |
"Not sold out" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./GamearoundNFT.sol";
// Gamearound Ecosystem Genesis Token
/// @custom:security-contact claudio@gamearound.com
contract GenesisGuild is GamearoundNFT {
using Counters for Counters.Counter;
uint256 public maxSupply = 4500; // Maximum supp... | _tokenIdCounter.current()>=sellout[_editionCounter.current()],"Not sold out" | 193,185 | _tokenIdCounter.current()>=sellout[_editionCounter.current()] |
"No edition" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./GamearoundNFT.sol";
// Gamearound Ecosystem Genesis Token
/// @custom:security-contact claudio@gamearound.com
contract GenesisGuild is GamearoundNFT {
using Counters for Counters.Counter;
uint256 public maxSupply = 4500; // Maximum supp... | (_edition-1)<prices.length,"No edition" | 193,185 | (_edition-1)<prices.length |
"No editions" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./GamearoundNFT.sol";
// Gamearound Ecosystem Genesis Token
/// @custom:security-contact claudio@gamearound.com
contract GenesisGuild is GamearoundNFT {
using Counters for Counters.Counter;
uint256 public maxSupply = 4500; // Maximum supp... | _editionCounter.current()<(editions.length-1),"No editions" | 193,185 | _editionCounter.current()<(editions.length-1) |
"No editions" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./GamearoundNFT.sol";
// Gamearound Ecosystem Genesis Token
/// @custom:security-contact claudio@gamearound.com
contract GenesisGuild is GamearoundNFT {
using Counters for Counters.Counter;
uint256 public maxSupply = 4500; // Maximum supp... | (_index-1)<editions.length,"No editions" | 193,185 | (_index-1)<editions.length |
"Exceed max of nfts" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./GamearoundNFT.sol";
// Gamearound Ecosystem Genesis Token
/// @custom:security-contact claudio@gamearound.com
contract GenesisGuild is GamearoundNFT {
using Counters for Counters.Counter;
uint256 public maxSupply = 4500; // Maximum supp... | _canSell(numberOfTokens),"Exceed max of nfts" | 193,185 | _canSell(numberOfTokens) |
"Value too low" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./GamearoundNFT.sol";
// Gamearound Ecosystem Genesis Token
/// @custom:security-contact claudio@gamearound.com
contract GenesisGuild is GamearoundNFT {
using Counters for Counters.Counter;
uint256 public maxSupply = 4500; // Maximum supp... | msg.value>=(currentPrice()*numberOfTokens),"Value too low" | 193,185 | msg.value>=(currentPrice()*numberOfTokens) |
"Not sold out" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./GamearoundNFT.sol";
// Gamearound Ecosystem Genesis Token
/// @custom:security-contact claudio@gamearound.com
contract GenesisGuild is GamearoundNFT {
using Counters for Counters.Counter;
uint256 public maxSupply = 4500; // Maximum supp... | _canTransfer(),"Not sold out" | 193,185 | _canTransfer() |
"Not whitelisted" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./GamearoundNFT.sol";
// Gamearound Ecosystem Genesis Token
/// @custom:security-contact claudio@gamearound.com
contract GenesisGuild is GamearoundNFT {
using Counters for Counters.Counter;
uint256 public maxSupply = 4500; // Maximum supp... | hasRole(WL_MINT_ROLE,_msgSender()),"Not whitelisted" | 193,185 | hasRole(WL_MINT_ROLE,_msgSender()) |
"ERROR:DRP-001:ACCOUNT_NOT_ALLOWED_FOR_BUNDLE_CREATION" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.2;
import "IERC20Metadata.sol";
import "BasicRiskpool.sol";
import "IBundle.sol";
import "IPolicy.sol";
import "IBundleToken.sol";
import "BasicRiskpool2.sol";
import "IChainRegistryFacade.sol";
import "IStakingFacade.sol";
contract DepegRiskpool is
BasicR... | isAllowed(_msgSender()),"ERROR:DRP-001:ACCOUNT_NOT_ALLOWED_FOR_BUNDLE_CREATION" | 193,294 | isAllowed(_msgSender()) |
"ERROR:DRP-016:STAKING_NOT_ISTAKING" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.2;
import "IERC20Metadata.sol";
import "BasicRiskpool.sol";
import "IBundle.sol";
import "IPolicy.sol";
import "IBundleToken.sol";
import "BasicRiskpool2.sol";
import "IChainRegistryFacade.sol";
import "IStakingFacade.sol";
contract DepegRiskpool is
BasicR... | _staking.implementsIStaking(),"ERROR:DRP-016:STAKING_NOT_ISTAKING" | 193,294 | _staking.implementsIStaking() |
"ERROR:DRP-020:NAME_NOT_UNIQUE" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.2;
import "IERC20Metadata.sol";
import "BasicRiskpool.sol";
import "IBundle.sol";
import "IPolicy.sol";
import "IBundleToken.sol";
import "BasicRiskpool2.sol";
import "IChainRegistryFacade.sol";
import "IStakingFacade.sol";
contract DepegRiskpool is
BasicR... | _bundleIdForBundleName[name]==0,"ERROR:DRP-020:NAME_NOT_UNIQUE" | 193,294 | _bundleIdForBundleName[name]==0 |
"ERROR:DRP-028:POOL_CAPITAL_CAP_EXCEEDED" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.2;
import "IERC20Metadata.sol";
import "BasicRiskpool.sol";
import "IBundle.sol";
import "IPolicy.sol";
import "IBundleToken.sol";
import "BasicRiskpool2.sol";
import "IChainRegistryFacade.sol";
import "IStakingFacade.sol";
contract DepegRiskpool is
BasicR... | getCapital()+initialAmount<=_riskpoolCapitalCap,"ERROR:DRP-028:POOL_CAPITAL_CAP_EXCEEDED" | 193,294 | getCapital()+initialAmount<=_riskpoolCapitalCap |
"ERROR:DRP-032:BUNDLE_EXPIRED" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.2;
import "IERC20Metadata.sol";
import "BasicRiskpool.sol";
import "IBundle.sol";
import "IPolicy.sol";
import "IBundleToken.sol";
import "BasicRiskpool2.sol";
import "IChainRegistryFacade.sol";
import "IStakingFacade.sol";
contract DepegRiskpool is
BasicR... | !isExpired,"ERROR:DRP-032:BUNDLE_EXPIRED" | 193,294 | !isExpired |
"ERROR:DRP-100:FUNDING_EXCEEDS_BUNDLE_CAPITAL_CAP" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.2;
import "IERC20Metadata.sol";
import "BasicRiskpool.sol";
import "IBundle.sol";
import "IPolicy.sol";
import "IBundleToken.sol";
import "BasicRiskpool2.sol";
import "IChainRegistryFacade.sol";
import "IStakingFacade.sol";
contract DepegRiskpool is
BasicR... | _instanceService.getBundle(bundleId).capital<=_bundleCapitalCap,"ERROR:DRP-100:FUNDING_EXCEEDS_BUNDLE_CAPITAL_CAP" | 193,294 | _instanceService.getBundle(bundleId).capital<=_bundleCapitalCap |
"ERROR:DRP-101:FUNDING_EXCEEDS_RISKPOOL_CAPITAL_CAP" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.2;
import "IERC20Metadata.sol";
import "BasicRiskpool.sol";
import "IBundle.sol";
import "IPolicy.sol";
import "IBundleToken.sol";
import "BasicRiskpool2.sol";
import "IChainRegistryFacade.sol";
import "IStakingFacade.sol";
contract DepegRiskpool is
BasicR... | getCapital()<=_riskpoolCapitalCap,"ERROR:DRP-101:FUNDING_EXCEEDS_RISKPOOL_CAPITAL_CAP" | 193,294 | getCapital()<=_riskpoolCapitalCap |
"Contract operations are paused" | //SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.17;
import "../../common/IPausable.sol";
import "../DexibleStorage.sol";
abstract contract AdminBase {
modifier notPaused() {
require(<FILL_ME>)
_;
}
modifier onlyAdmin() {
}
modifier onlyVault() {
}
modifier onlyRelay... | !DexibleStorage.load().paused,"Contract operations are paused" | 193,308 | !DexibleStorage.load().paused |
"Only relay allowed to call" | //SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.17;
import "../../common/IPausable.sol";
import "../DexibleStorage.sol";
abstract contract AdminBase {
modifier notPaused() {
}
modifier onlyAdmin() {
}
modifier onlyVault() {
}
modifier onlyRelay() {
DexibleStorage.DexibleDat... | dd.relays[msg.sender],"Only relay allowed to call" | 193,308 | dd.relays[msg.sender] |
"Vesting: No avaliable tokens to withdraw" | pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 1ex Vesting factory contract
// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@op... | claimableAmount()!=0,"Vesting: No avaliable tokens to withdraw" | 193,359 | claimableAmount()!=0 |
"Vesting: not enough tokens" | pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 1ex Vesting factory contract
// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@op... | IERC20(asset).balanceOf(address(this))==amount,"Vesting: not enough tokens" | 193,359 | IERC20(asset).balanceOf(address(this))==amount |
"Vesting: Vesting is not revokable" | pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 1ex Vesting factory contract
// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@op... | schedule.revokable,"Vesting: Vesting is not revokable" | 193,359 | schedule.revokable |
"VestingFactory: asset not supported" | pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 1ex Vesting factory contract
// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@op... | _supportedAssets.contains(asset),"VestingFactory: asset not supported" | 193,359 | _supportedAssets.contains(asset) |
null | pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 1ex Vesting factory contract
// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@op... | IVesting(_contract).vest(account,amount,asset,cliffDays,vestingDays,startTime,revokable) | 193,359 | IVesting(_contract).vest(account,amount,asset,cliffDays,vestingDays,startTime,revokable) |
null | pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 1ex Vesting factory contract
// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@op... | _allVestings.add(_contract) | 193,359 | _allVestings.add(_contract) |
null | pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 1ex Vesting factory contract
// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@op... | _revokableVestings.add(_contract) | 193,359 | _revokableVestings.add(_contract) |
"VestingFactory: no vesting contracts" | pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 1ex Vesting factory contract
// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@op... | accountVestings[msg.sender].vestings.length!=0,"VestingFactory: no vesting contracts" | 193,359 | accountVestings[msg.sender].vestings.length!=0 |
"VestingFactory: No avaliable tokens to withdraw" | pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 1ex Vesting factory contract
// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@op... | claimableAmount(msg.sender)!=0,"VestingFactory: No avaliable tokens to withdraw" | 193,359 | claimableAmount(msg.sender)!=0 |
"VestingFactory: not a revokable vesting contract" | pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 1ex Vesting factory contract
// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@op... | _revokableVestings.contains(vestingContract),"VestingFactory: not a revokable vesting contract" | 193,359 | _revokableVestings.contains(vestingContract) |
null | pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 1ex Vesting factory contract
// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@op... | IVesting(vestingContract).revoke(beneficiary) | 193,359 | IVesting(vestingContract).revoke(beneficiary) |
null | pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 1ex Vesting factory contract
// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@op... | _revokableVestings.remove(vestingContract) | 193,359 | _revokableVestings.remove(vestingContract) |
"VestingFactory: Asset is not a contract" | pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 1ex Vesting factory contract
// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@op... | _asset.isContract(),"VestingFactory: Asset is not a contract" | 193,359 | _asset.isContract() |
"VestingFactory: Asset is already in the list" | pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 1ex Vesting factory contract
// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@op... | _supportedAssets.add(_asset),"VestingFactory: Asset is already in the list" | 193,359 | _supportedAssets.add(_asset) |
"VestingFactory: No asset in the list" | pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 1ex Vesting factory contract
// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@op... | _supportedAssets.remove(_asset),"VestingFactory: No asset in the list" | 193,359 | _supportedAssets.remove(_asset) |
"VestingFactory: no vesting contracts" | pragma solidity ^0.8.18;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 1ex Vesting factory contract
// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@op... | accountVestings[account].vestings.length!=0,"VestingFactory: no vesting contracts" | 193,359 | accountVestings[account].vestings.length!=0 |
"Fort is not clear" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
interface Realms {
function ownerOf(uint256 tokenId) external returns (address);
}
interface MoonCats {
function ownerOf(uint256 tokenId) external returns (address);
}
interface MistCoin {
function balanceOf(address account) external returns (uint256);... | isFortClear(fortID),"Fort is not clear" | 193,445 | isFortClear(fortID) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.