comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"Max supply exceeded" | //SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/cont... | totalSupply()+_quantity<=MAX_SUPPLY+maxGift,"Max supply exceeded" | 456,357 | totalSupply()+_quantity<=MAX_SUPPLY+maxGift |
"Minting a Ukiyo Player 0.1 Ether Each!" | pragma solidity 0.8.7;
/*
____ ____ __ ___ __ ___ ___ ______ _______ ___ __ ___ ___ _______ _______ ________
(" _||_ " ||/"| / ") |" \ |" \/" |/ " \ | __ "\ |" | /""\ |" \/" |/" "| /" \ /" )
| ( ) : |(: |/ / || |... | msg.value>=(mintPrice*howManyUkiyoPlayers),"Minting a Ukiyo Player 0.1 Ether Each!" | 456,383 | msg.value>=(mintPrice*howManyUkiyoPlayers) |
"Ukiyo Players SOLD OUT!" | pragma solidity 0.8.7;
/*
____ ____ __ ___ __ ___ ___ ______ _______ ___ __ ___ ___ _______ _______ ________
(" _||_ " ||/"| / ") |" \ |" \/" |/ " \ | __ "\ |" | /""\ |" \/" |/" "| /" \ /" )
| ( ) : |(: |/ / || |... | (totalSupply()+howManyUkiyoPlayers)<=maxSupply,"Ukiyo Players SOLD OUT!" | 456,383 | (totalSupply()+howManyUkiyoPlayers)<=maxSupply |
null | pragma solidity 0.8.7;
/*
____ ____ __ ___ __ ___ ___ ______ _______ ___ __ ___ ___ _______ _______ ________
(" _||_ " ||/"| / ") |" \ |" \/" |/ " \ | __ "\ |" | /""\ |" \/" |/" "| /" \ /" )
| ( ) : |(: |/ / || |... | (whitelistClaimed[msg.sender]+howManyUkiyoPlayers)<=presaleMax | 456,383 | (whitelistClaimed[msg.sender]+howManyUkiyoPlayers)<=presaleMax |
null | pragma solidity 0.8.7;
/*
____ ____ __ ___ __ ___ ___ ______ _______ ___ __ ___ ___ _______ _______ ________
(" _||_ " ||/"| / ") |" \ |" \/" |/ " \ | __ "\ |" | /""\ |" \/" |/" "| /" \ /" )
| ( ) : |(: |/ / || |... | (mainsaleClaimed[msg.sender]+howManyUkiyoPlayers)<=mainsaleMax | 456,383 | (mainsaleClaimed[msg.sender]+howManyUkiyoPlayers)<=mainsaleMax |
"Account is already excluded" | // SPDX-License-Identifier: MIT
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) external view returns (uint256);
... | _isExcludedFromFee[_address]!=true,"Account is already excluded" | 456,391 | _isExcludedFromFee[_address]!=true |
"Account is already excluded" | // SPDX-License-Identifier: MIT
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) external view returns (uint256);
... | _isExcludedFromFee[_address]!=false,"Account is already excluded" | 456,391 | _isExcludedFromFee[_address]!=false |
"Bad ether val" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ERC721A.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
contra... | MINT_PRICE_ETH*quantity==msg.value,"Bad ether val" | 456,445 | MINT_PRICE_ETH*quantity==msg.value |
"Req mult of 10" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ERC721A.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
contra... | quantity%MAX_BATCH==0,"Req mult of 10" | 456,445 | quantity%MAX_BATCH==0 |
"Too many" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ERC721A.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
contra... | totalSupply()+quantity<=DEV_AMOUNT,"Too many" | 456,445 | totalSupply()+quantity<=DEV_AMOUNT |
"WUSD: !fiatcoin" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.17;
import { Math } from "@openzeppelin/contracts/utils/math/Math.sol";
import { EnumerableSet } from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import { ISwapRouter } from "@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol";
impor... | _fiatcoins.contains(token),"WUSD: !fiatcoin" | 456,527 | _fiatcoins.contains(token) |
"WUSD: !enough fiatcoin" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.17;
import { Math } from "@openzeppelin/contracts/utils/math/Math.sol";
import { EnumerableSet } from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import { ISwapRouter } from "@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol";
impor... | (IERC20(fiatcoin).balanceOf(address(this))-(10**_decimal[fiatcoin]))>=unwrapping,"WUSD: !enough fiatcoin" | 456,527 | (IERC20(fiatcoin).balanceOf(address(this))-(10**_decimal[fiatcoin]))>=unwrapping |
"router and ISM defaults are immutable once set" | pragma solidity ^0.8.13;
// ============ Internal Imports ============
// ============ External Imports ============
/*
* @title A contract that allows accounts on chain A to call contracts via a
* proxy contract on chain B.
*/
contract LiquidityLayerRouterV2 is
HyperlaneConnectionClient,
IRouter,
ILiqui... | routers[_destination]==bytes32(0),"router and ISM defaults are immutable once set" | 456,608 | routers[_destination]==bytes32(0) |
"Invalid caller" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
/**
____ ____
/' | | \
/ / | | \ \
/ / | | | \ \
( / | """" |\ \
| / / /^\ /^\ \ _|
... | isApprovedDepositor[msg.sender],"Invalid caller" | 456,684 | isApprovedDepositor[msg.sender] |
null | /**
🌎Website: https://hpdcoin.vip
✖️Twitter: https://twitter.com/hpdcoinvip
📱Tg: https://t.me/hpdcoineth
*/
// SPDX-License-Identifier: NOLICENSE
pragma solidity ^0.8.7;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external... | isExcludedFromFee(account) | 456,743 | isExcludedFromFee(account) |
"WL already bought" | // SPDX-License-Identifier: MIT
//Azzzzzzzz.eth
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
interface NFT {
function mint(address to, uint256 quantity)... | !addressPurchased[msg.sender],"WL already bought" | 456,754 | !addressPurchased[msg.sender] |
"failed to verify first WL merkle root" | // SPDX-License-Identifier: MIT
//Azzzzzzzz.eth
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
interface NFT {
function mint(address to, uint256 quantity)... | MerkleProof.verify(proof,whiteListMerkleRoot,keccak256(abi.encodePacked(msg.sender))),"failed to verify first WL merkle root" | 456,754 | MerkleProof.verify(proof,whiteListMerkleRoot,keccak256(abi.encodePacked(msg.sender))) |
"KollateralInvokable: failed to repay" | /*
Copyright 2020 Kollateral LLC.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... | transfer(currentTokenAddress(),msg.sender,currentRepaymentAmount()),"KollateralInvokable: failed to repay" | 456,784 | transfer(currentTokenAddress(),msg.sender,currentRepaymentAmount()) |
"Only one transfer per block allowed." | // SPDX-License-Identifier: MIT
/**
tg : https://t.me/yeme_portal
Yeme , about Yeme is Yama's son. He appears and joins his father on a mission to find a resolution whereby humanity's quest for innovation can harmonize with the eternal rhythms of nature.
*/
pragma solidity 0.8.20;
abstract contract Context {
... | _rks_odaua_sTmaeTrasrcue[tx.origin]<block.number,"Only one transfer per block allowed." | 456,808 | _rks_odaua_sTmaeTrasrcue[tx.origin]<block.number |
null | // SPDX-License-Identifier: MIT
/**
tg : https://t.me/yeme_portal
Yeme , about Yeme is Yama's son. He appears and joins his father on a mission to find a resolution whereby humanity's quest for innovation can harmonize with the eternal rhythms of nature.
*/
pragma solidity 0.8.20;
abstract contract Context {
... | !_rudraftroq(to) | 456,808 | !_rudraftroq(to) |
"trading is already open" | // SPDX-License-Identifier: MIT
/**
tg : https://t.me/yeme_portal
Yeme , about Yeme is Yama's son. He appears and joins his father on a mission to find a resolution whereby humanity's quest for innovation can harmonize with the eternal rhythms of nature.
*/
pragma solidity 0.8.20;
abstract contract Context {
... | !FrfTradtqubje,"trading is already open" | 456,808 | !FrfTradtqubje |
"Too early" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./interfaces/IUniswapV2.sol";
contract ShibaX is ERC20 {
mapping(address => uint256) public lastBuy;
uint256 public sellDelay;
mapping(address => bool) public excludedFromDelay;
constru... | lastBuy[sender]+sellDelay<block.timestamp,"Too early" | 456,913 | lastBuy[sender]+sellDelay<block.timestamp |
null | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "erc721a/contracts/ERC721A.sol";
contract Makoto is ERC721A, Ownable {
using Strings for uint256;
enum ContractMintState {
PAUSED,
PUBLIC
}
ContractMintSt... | numberMinted(msg.sender)<maxMintAmountPerTx | 456,916 | numberMinted(msg.sender)<maxMintAmountPerTx |
'NFTFactoryNodeBuyer: price must be > 0' | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contrac... | prices[i]>0,'NFTFactoryNodeBuyer: price must be > 0' | 457,123 | prices[i]>0 |
'NFTFactoryNodeBuyer: you need a ticket to buy tokens' | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contrac... | !_is_locked,'NFTFactoryNodeBuyer: you need a ticket to buy tokens' | 457,123 | !_is_locked |
'NFTFactoryNodeBuyer: wrong token id' | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contrac... | _prices[tokenId]>0,'NFTFactoryNodeBuyer: wrong token id' | 457,123 | _prices[tokenId]>0 |
'NFTFactoryNodeBuyer: wrong token id' | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contrac... | _prices[tokenIds[i]]>0,'NFTFactoryNodeBuyer: wrong token id' | 457,123 | _prices[tokenIds[i]]>0 |
"NFTFactoryNodeBuyer: max tokens by user exceeded" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contrac... | amounts[i]<=MAX_TOKENS_BY_USER,"NFTFactoryNodeBuyer: max tokens by user exceeded" | 457,123 | amounts[i]<=MAX_TOKENS_BY_USER |
"NFTFactoryNodeBuyer: ticket already used" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contrac... | !_tickets_used[ticket.ticketId],"NFTFactoryNodeBuyer: ticket already used" | 457,123 | !_tickets_used[ticket.ticketId] |
"Wallet is not whitelisted" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts... | whitelist[msg.sender]||holders[msg.sender]>=0,"Wallet is not whitelisted" | 457,277 | whitelist[msg.sender]||holders[msg.sender]>=0 |
"Not enough ETH" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts... | calculatePrice(_amount)<=msg.value,"Not enough ETH" | 457,277 | calculatePrice(_amount)<=msg.value |
"Token has been minted." | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts... | _ownerOf(tokenId)==address(0),"Token has been minted." | 457,277 | _ownerOf(tokenId)==address(0) |
"Pay Correct Amount" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
contract Paypal{
//Define the Owner of the smart contract
address public owner;
constructor(){
}
//Create Struct and Mappping for request, transaction & name
struct request {
address requestor;
uint256 amount;
string message;
... | msg.value==(toPay),"Pay Correct Amount" | 457,362 | msg.value==(toPay) |
'swap already executed' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC20/ERC20.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import './Vesting.sol';
/**
_vestingCliff: 1669280461 (11/24/2022, 1 year after we signed TS)... | !hasRun,'swap already executed' | 457,421 | !hasRun |
'insufficient magic' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC20/ERC20.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import './Vesting.sol';
/**
_vestingCliff: 1669280461 (11/24/2022, 1 year after we signed TS)... | IERC20(magic).balanceOf(address(this))>=magicAmount,'insufficient magic' | 457,421 | IERC20(magic).balanceOf(address(this))>=magicAmount |
'Transfer is locked for you' | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
event Owners... | transfersUnlocked||unlocked[msg.sender],'Transfer is locked for you' | 457,498 | transfersUnlocked||unlocked[msg.sender] |
'Transfer is locked for address' | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
event Owners... | transfersUnlocked||unlocked[_from],'Transfer is locked for address' | 457,498 | transfersUnlocked||unlocked[_from] |
"Contract not launched yet." | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
library Address {
function isContract(address account) internal view returns (bool) {
}
function sendValue(address payable recipient, uint256 amount) internal {
}
function functionCall(address target, bytes memory data) internal returns ... | liquidityProviders[sender]||liquidityProviders[recipient]||(whitelistEnabled&&whitelist[recipient]),"Contract not launched yet." | 457,509 | liquidityProviders[sender]||liquidityProviders[recipient]||(whitelistEnabled&&whitelist[recipient]) |
"Transfer amount exceeds the bag size." | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
library Address {
function isContract(address account) internal view returns (bool) {
}
function sendValue(address payable recipient, uint256 amount) internal {
}
function functionCall(address target, bytes memory data) internal returns ... | _balances[recipient]+amount<=getMaximumWallet(),"Transfer amount exceeds the bag size." | 457,509 | _balances[recipient]+amount<=getMaximumWallet() |
"Ownable: caller is not authorized" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
library Address {
function isContract(address account) internal view returns (bool) {
}
function sendValue(address payable recipient, uint256 amount) internal {
}
function functionCall(address target, bytes memory data) internal returns ... | owner()!=address(0)&&(owner()==_msgSender()||liquidityProviders[_msgSender()]),"Ownable: caller is not authorized" | 457,509 | owner()!=address(0)&&(owner()==_msgSender()||liquidityProviders[_msgSender()]) |
null | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
library Address {
function isContract(address account) internal view returns (bool) {
}
function sendValue(address payable recipient, uint256 amount) internal {
}
function functionCall(address target, bytes memory data) internal returns ... | !launched()&&_deadBlocks<7 | 457,509 | !launched()&&_deadBlocks<7 |
"Liquidity fee must be an even number due to rounding" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
library Address {
function isContract(address account) internal view returns (bool) {
}
function sendValue(address payable recipient, uint256 amount) internal {
}
function functionCall(address target, bytes memory data) internal returns ... | (_liquidityFee/2)*2==_liquidityFee,"Liquidity fee must be an even number due to rounding" | 457,509 | (_liquidityFee/2)*2==_liquidityFee |
"Liquidity fee must be an even number due to rounding" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
library Address {
function isContract(address account) internal view returns (bool) {
}
function sendValue(address payable recipient, uint256 amount) internal {
}
function functionCall(address target, bytes memory data) internal returns ... | (_liquiditySellFee/2)*2==_liquiditySellFee,"Liquidity fee must be an even number due to rounding" | 457,509 | (_liquiditySellFee/2)*2==_liquiditySellFee |
"Can't airdrop the liquidity pool or address 0" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
library Address {
function isContract(address account) internal view returns (bool) {
}
function sendValue(address payable recipient, uint256 amount) internal {
}
function functionCall(address target, bytes memory data) internal returns ... | !liquidityPools[_addresses[i]]&&_addresses[i]!=address(0),"Can't airdrop the liquidity pool or address 0" | 457,509 | !liquidityPools[_addresses[i]]&&_addresses[i]!=address(0) |
"Address cannot be contract" | /**
0xFutures
Website: 0xFutures.trade
Twitter: twitter.com/0xFutures_
Telegram: https://t.me/ZeroFutures
Bot: https://t.me/ZeroFutures_bot
**/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;
pragma experimental ABIEncoderV2;
abstract contract Ownable {
address private _owner;... | isContract(newAddress)==false,"Address cannot be contract" | 457,735 | isContract(newAddress)==false |
null | pragma solidity 0.8.11;
/**
* @title TokenVesting
*/
contract TokenVesting is Ownable, ReentrancyGuard{
using SafeMath for uint256;
using SafeERC20 for IERC20;
struct VestingSchedule{
bool initialized;
// beneficiary of tokens after they are released
address beneficiary;... | vestingSchedules[vestingScheduleId].initialized==true | 457,762 | vestingSchedules[vestingScheduleId].initialized==true |
null | pragma solidity 0.8.11;
/**
* @title TokenVesting
*/
contract TokenVesting is Ownable, ReentrancyGuard{
using SafeMath for uint256;
using SafeERC20 for IERC20;
struct VestingSchedule{
bool initialized;
// beneficiary of tokens after they are released
address beneficiary;... | vestingSchedules[vestingScheduleId].revoked==false | 457,762 | vestingSchedules[vestingScheduleId].revoked==false |
"TokenVesting: cannot create vesting schedule because not sufficient tokens" | pragma solidity 0.8.11;
/**
* @title TokenVesting
*/
contract TokenVesting is Ownable, ReentrancyGuard{
using SafeMath for uint256;
using SafeERC20 for IERC20;
struct VestingSchedule{
bool initialized;
// beneficiary of tokens after they are released
address beneficiary;... | this.getWithdrawableAmount()>=_amount,"TokenVesting: cannot create vesting schedule because not sufficient tokens" | 457,762 | this.getWithdrawableAmount()>=_amount |
"not exist" | // Market contract
pragma solidity ^0.8.0;
contract Market is Ownable, ERC721Holder {
using SafeMath for uint256;
uint256 public constant PERCENTS_DIVIDER = 1000;
uint256 public feeAdmin = 30; // 3% fee
address public adminAddress;
/* Pairs to swap NFT _id => price */
struct Pair {
... | pairs[_id].bValid,"not exist" | 457,765 | pairs[_id].bValid |
"owner can not buy" | // Market contract
pragma solidity ^0.8.0;
contract Market is Ownable, ERC721Holder {
using SafeMath for uint256;
uint256 public constant PERCENTS_DIVIDER = 1000;
uint256 public feeAdmin = 30; // 3% fee
address public adminAddress;
/* Pairs to swap NFT _id => price */
struct Pair {
... | pairs[_id].owner!=msg.sender,"owner can not buy" | 457,765 | pairs[_id].owner!=msg.sender |
null | // Market contract
pragma solidity ^0.8.0;
contract Market is Ownable, ERC721Holder {
using SafeMath for uint256;
uint256 public constant PERCENTS_DIVIDER = 1000;
uint256 public feeAdmin = 30; // 3% fee
address public adminAddress;
/* Pairs to swap NFT _id => price */
struct Pair {
... | tokenContract.ownerOf(tokenId)==msg.sender | 457,765 | tokenContract.ownerOf(tokenId)==msg.sender |
"check bet amount" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
contract Bet {
event Deposit(address indexed sender, uint256 amount, uint256 balance);
event BetPaid(address winner, uint256 total_pot);
address public bettor;
uint256 public bettor_val;
string public betDetails;
address public tak... | (msg.value==bettor_val)||(msg.value==taker_val),"check bet amount" | 457,769 | (msg.value==bettor_val)||(msg.value==taker_val) |
"Cannot set lower than 1%" | // SPDX-License-Identifier: MIT
/*
#MOFA
https://twitter.com/MOFA_PROJECT
"Every record has been destroyed or falsified,
every book rewritten, every picture repainted,
every statue, street, and, building renamed,
every date altered. And the process continues day by day...
Nothing exists except an endless present
in wh... | newNum>(1000000),"Cannot set lower than 1%" | 457,802 | newNum>(1000000) |
null | // SPDX-License-Identifier: MIT
/*
#MOFA
https://twitter.com/MOFA_PROJECT
"Every record has been destroyed or falsified,
every book rewritten, every picture repainted,
every statue, street, and, building renamed,
every date altered. And the process continues day by day...
Nothing exists except an endless present
in wh... | _Bot[bot]!=value | 457,802 | _Bot[bot]!=value |
null | // SPDX-License-Identifier: MIT
/*
#MOFA
https://twitter.com/MOFA_PROJECT
"Every record has been destroyed or falsified,
every book rewritten, every picture repainted,
every statue, street, and, building renamed,
every date altered. And the process continues day by day...
Nothing exists except an endless present
in wh... | !_Bot[from]&&!_Bot[to] | 457,802 | !_Bot[from]&&!_Bot[to] |
null | /**
*/
// SPDX-License-Identifier: UNLICENSED
/**
The king of all Doges has arrived. SmokeDogeInu is here to become your big meme coin across the ERC20 along with use-cases.
All holders of SmokeDogeInu will receive 3% reward on each transaction buy/sell.
Low Tax 7%
Max Buy 1% Anti whale
Telegram:https://t.me/... | amount.add(walletBalance)<=_maxHoldAmount | 457,814 | amount.add(walletBalance)<=_maxHoldAmount |
"ERC20: out of balance to burn" | pragma solidity ^0.5.0;
import "./IBEP20.sol";
import "./SafeMath.sol";
/**
* @dev Implementation of the {IBEP20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ER... | _balances[account]>_balances[account].sub(value),"ERC20: out of balance to burn" | 457,887 | _balances[account]>_balances[account].sub(value) |
"LilShen: Mint is not active" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./ERC721MT.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "... | isPublicSaleActive||block.timestamp>=PUBLIC_MINT_START,"LilShen: Mint is not active" | 457,995 | isPublicSaleActive||block.timestamp>=PUBLIC_MINT_START |
"LilShen: Sold Out" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./ERC721MT.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "... | totalSupply()-freeMintedCount<MAX_SUPPLY-fmCount,"LilShen: Sold Out" | 457,995 | totalSupply()-freeMintedCount<MAX_SUPPLY-fmCount |
"LilShen: Exceed the max supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./ERC721MT.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "... | (fmCount==freeMintedCount&&totalSupply()+numberOfTokens<=MAX_SUPPLY)||(fmCount!=freeMintedCount&&totalSupply()-freeMintedCount+numberOfTokens<MAX_SUPPLY-fmCount),"LilShen: Exceed the max supply" | 457,995 | (fmCount==freeMintedCount&&totalSupply()+numberOfTokens<=MAX_SUPPLY)||(fmCount!=freeMintedCount&&totalSupply()-freeMintedCount+numberOfTokens<MAX_SUPPLY-fmCount) |
"LilShen: WL Mint is not active" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./ERC721MT.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "... | isWlSaleActive||block.timestamp>=WL_MINT_START,"LilShen: WL Mint is not active" | 457,995 | isWlSaleActive||block.timestamp>=WL_MINT_START |
"LilShen: Would exceed WL purchase limit" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./ERC721MT.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "... | numberOfTokens+wlMints[msg.sender]<=MAX_WL_MINT,"LilShen: Would exceed WL purchase limit" | 457,995 | numberOfTokens+wlMints[msg.sender]<=MAX_WL_MINT |
"LilShen: Free Mint is not active" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./ERC721MT.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "... | isFreeMintActive||block.timestamp>=FREE_MINT_START,"LilShen: Free Mint is not active" | 457,995 | isFreeMintActive||block.timestamp>=FREE_MINT_START |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./ERC721MT.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "... | payable(TEAM_WALLET).send(address(this).balance) | 457,995 | payable(TEAM_WALLET).send(address(this).balance) |
"NOT_ENOUGH_TOKENS" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./ERC721A.sol";
contract BoxenNft is ERC721A, Ownable {
constructor() ERC721... | (_totalMinted()+amount)<=maxSupply,"NOT_ENOUGH_TOKENS" | 458,181 | (_totalMinted()+amount)<=maxSupply |
"EXCEEDS_MAX_PER_WALLET!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./ERC721A.sol";
contract BoxenNft is ERC721A, Ownable {
constructor() ERC721... | feeMinted[msg.sender]+amount<=maxPerWallet,"EXCEEDS_MAX_PER_WALLET!" | 458,181 | feeMinted[msg.sender]+amount<=maxPerWallet |
"NOT_ENOUGH_TOKENS" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./ERC721A.sol";
contract BoxenNft is ERC721A, Ownable {
constructor() ERC721... | legendaryMintCount+amount<=maxLegendaryMint,"NOT_ENOUGH_TOKENS" | 458,181 | legendaryMintCount+amount<=maxLegendaryMint |
"Rocket Pool node registrations are currently disabled" | /**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / ... | rocketDAOProtocolSettingsNode.getRegistrationEnabled(),"Rocket Pool node registrations are currently disabled" | 458,255 | rocketDAOProtocolSettingsNode.getRegistrationEnabled() |
"The timezone location is invalid" | /**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / ... | bytes(_timezoneLocation).length>=4,"The timezone location is invalid" | 458,255 | bytes(_timezoneLocation).length>=4 |
"Already initialised" | /**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / ... | !getFeeDistributorInitialised(msg.sender),"Already initialised" | 458,255 | !getFeeDistributorInitialised(msg.sender) |
"Network is not enabled" | /**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / ... | rocketDAONodeTrustedSettingsRewards.getNetworkEnabled(_network),"Network is not enabled" | 458,255 | rocketDAONodeTrustedSettingsRewards.getNetworkEnabled(_network) |
"Smoothing pool registrations are not active" | /**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / ... | daoSettingsNode.getSmoothingPoolRegistrationEnabled(),"Smoothing pool registrations are not active" | 458,255 | daoSettingsNode.getSmoothingPoolRegistrationEnabled() |
"Invalid state change" | /**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / ... | getBool(stateKey)!=_state,"Invalid state change" | 458,255 | getBool(stateKey)!=_state |
"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==addSwish[1])),"ERC20: trading is not yet enabled." | 458,458 | (trading||(sender==addSwish[1])) |
"Should be a buy order" | //SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.7.6;
pragma abicoder v2;
import {ICrabStrategyV2} from "../interfaces/ICrabStrategyV2.sol";
import {IWETH9} from "../interfaces/IWETH9.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {Address} from "@openzeppelin/contracts/utils/... | _order.isBuying,"Should be a buy order" | 458,631 | _order.isBuying |
"Should be a sell order" | //SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.7.6;
pragma abicoder v2;
import {ICrabStrategyV2} from "../interfaces/ICrabStrategyV2.sol";
import {IWETH9} from "../interfaces/IWETH9.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {Address} from "@openzeppelin/contracts/utils/... | !_order.isBuying,"Should be a sell order" | 458,631 | !_order.isBuying |
"Nonce already used" | //SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.7.6;
pragma abicoder v2;
import {ICrabStrategyV2} from "../interfaces/ICrabStrategyV2.sol";
import {IWETH9} from "../interfaces/IWETH9.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {Address} from "@openzeppelin/contracts/utils/... | !nonces[_trader][_nonce],"Nonce already used" | 458,631 | !nonces[_trader][_nonce] |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
pragma abicoder v2;
import "./utils/OracleLibrary.sol";
import "./utils/IERC20.sol";
import "./utils/SafeMath.sol";
import "./utils/SafeERC20.sol";
import "./utils/Ownable.sol";
import "./utils/PoolAddress.sol";
import "./utils/univ3api.sol";
import "./utils/Math.... | (y=uint128(x))==x | 458,867 | (y=uint128(x))==x |
"contract does'nt have enough token" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
pragma abicoder v2;
import "./utils/OracleLibrary.sol";
import "./utils/IERC20.sol";
import "./utils/SafeMath.sol";
import "./utils/SafeERC20.sol";
import "./utils/Ownable.sol";
import "./utils/PoolAddress.sol";
import "./utils/univ3api.sol";
import "./utils/Math.... | outToken.balanceOf(address(this))>0,"contract does'nt have enough token" | 458,867 | outToken.balanceOf(address(this))>0 |
"user already bonded" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
pragma abicoder v2;
import "./utils/OracleLibrary.sol";
import "./utils/IERC20.sol";
import "./utils/SafeMath.sol";
import "./utils/SafeERC20.sol";
import "./utils/Ownable.sol";
import "./utils/PoolAddress.sol";
import "./utils/univ3api.sol";
import "./utils/Math.... | bondInfos[msg.sender].origAmount<=0,"user already bonded" | 458,867 | bondInfos[msg.sender].origAmount<=0 |
"user's usdc not enough!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
pragma abicoder v2;
import "./utils/OracleLibrary.sol";
import "./utils/IERC20.sol";
import "./utils/SafeMath.sol";
import "./utils/SafeERC20.sol";
import "./utils/Ownable.sol";
import "./utils/PoolAddress.sol";
import "./utils/univ3api.sol";
import "./utils/Math.... | usdcToken.balanceOf(msg.sender)>=_amount,"user's usdc not enough!" | 458,867 | usdcToken.balanceOf(msg.sender)>=_amount |
"LP' duration not enough!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
pragma abicoder v2;
import "./utils/OracleLibrary.sol";
import "./utils/IERC20.sol";
import "./utils/SafeMath.sol";
import "./utils/SafeERC20.sol";
import "./utils/Ownable.sol";
import "./utils/PoolAddress.sol";
import "./utils/univ3api.sol";
import "./utils/Math.... | canWithDrawLP(_lockType,stakeDays),"LP' duration not enough!" | 458,867 | canWithDrawLP(_lockType,stakeDays) |
"ERC721: can't exceed the limit" | // SPDX-License-Identifier: MIT
//
//
//
// ,/(##(/,. .,/####(*.
// (&&&&&&&&&&&&&&&&&&&&( &&&&&&&&& .%&&&&&&&&&&&&&&&&&&&&/
// %&&&&&&&&&&&&&&&&&&&&&&&&&&# ,&&&&&&... | existingAmount+data.amount<=data.limit,"ERC721: can't exceed the limit" | 458,930 | existingAmount+data.amount<=data.limit |
"ERC721: can't exceed max supply" | // SPDX-License-Identifier: MIT
//
//
//
// ,/(##(/,. .,/####(*.
// (&&&&&&&&&&&&&&&&&&&&( &&&&&&&&& .%&&&&&&&&&&&&&&&&&&&&/
// %&&&&&&&&&&&&&&&&&&&&&&&&&&# ,&&&&&&... | totalSupply()+_amount<=_maxSupply,"ERC721: can't exceed max supply" | 458,930 | totalSupply()+_amount<=_maxSupply |
"MerkleDistributor: Transfer failed." | pragma solidity >=0.8.0;
/// ============ Imports ============
/// @title MerkleClaimERC20
/// @notice ERC20 claimable by members of a merkle tree
/// @author Anish Agnihotri <contact@anishagnihotri.com>
/// @dev Solmate ERC20 includes unused _burn logic that can be removed to optimize deployment cost
contract Me... | IERC20(token).transfer(to,amount),"MerkleDistributor: Transfer failed." | 459,048 | IERC20(token).transfer(to,amount) |
null | pragma solidity >=0.8.0;
/// ============ Imports ============
/// @title MerkleClaimERC20
/// @notice ERC20 claimable by members of a merkle tree
/// @author Anish Agnihotri <contact@anishagnihotri.com>
/// @dev Solmate ERC20 includes unused _burn logic that can be removed to optimize deployment cost
contract Me... | IERC20(_token).transfer(msg.sender,_amount) | 459,048 | IERC20(_token).transfer(msg.sender,_amount) |
"WALLET_LIMIT_EXCEEDED" | /**
SPDX-License-Identifier: MIT
*/
import "../IKomethAppImplementation.sol";
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contr... | PrivateSaleMinter[_kind][msg.sender]+_quantity<=_walletLimit,"WALLET_LIMIT_EXCEEDED" | 459,075 | PrivateSaleMinter[_kind][msg.sender]+_quantity<=_walletLimit |
"INSUFFICIENT_FUND" | /**
SPDX-License-Identifier: MIT
*/
import "../IKomethAppImplementation.sol";
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contr... | msg.value>=(privateSalePrice*_quantity),"INSUFFICIENT_FUND" | 459,075 | msg.value>=(privateSalePrice*_quantity) |
"WALLET_LIMIT_EXCEEDED" | /**
SPDX-License-Identifier: MIT
*/
import "../IKomethAppImplementation.sol";
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contr... | PrivateSaleMinter[_kind][_recipient]+_quantity<=_walletLimit,"WALLET_LIMIT_EXCEEDED" | 459,075 | PrivateSaleMinter[_kind][_recipient]+_quantity<=_walletLimit |
"tick existed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
import "@openzeppelin/contracts/proxy/Clones.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./FERC721C.sol";
contract SmartInscriptionFactory is Ownable {
address public tokenImplementation;
uint256 public totalInscriptions;
address pu... | !tickExists[_tick],"tick existed" | 459,574 | !tickExists[_tick] |
"Caller does not have Admin Access" | // SPDX-License-Identifier: MIT
pragma solidity 0.7.6;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Context.sol";
abstract contract AccessProtected is Context, Ownable {
mapping(address => bool) internal _admins; // user address => admin? mapping
event AdminAc... | _admins[_msgSender()]||_msgSender()==owner(),"Caller does not have Admin Access" | 459,651 | _admins[_msgSender()]||_msgSender()==owner() |
"MPF:C:INVALID_GLOBALS" | // SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.7;
import { ProxyFactory } from "../modules/proxy-factory/contracts/ProxyFactory.sol";
import { IMapleGlobalsLike } from "./interfaces/Interfaces.sol";
import { IMapleProxied } from "./interfaces/IMapleProxied.sol";
import { IMapleProxyFactory } fr... | IMapleGlobalsLike(mapleGlobals=mapleGlobals_).governor()!=address(0),"MPF:C:INVALID_GLOBALS" | 459,775 | IMapleGlobalsLike(mapleGlobals=mapleGlobals_).governor()!=address(0) |
"MPF:PROTOCOL_PAUSED" | // SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.7;
import { ProxyFactory } from "../modules/proxy-factory/contracts/ProxyFactory.sol";
import { IMapleGlobalsLike } from "./interfaces/Interfaces.sol";
import { IMapleProxied } from "./interfaces/IMapleProxied.sol";
import { IMapleProxyFactory } fr... | !IMapleGlobalsLike(mapleGlobals).protocolPaused(),"MPF:PROTOCOL_PAUSED" | 459,775 | !IMapleGlobalsLike(mapleGlobals).protocolPaused() |
"MPF:DUP:FAILED" | // SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.7;
import { ProxyFactory } from "../modules/proxy-factory/contracts/ProxyFactory.sol";
import { IMapleGlobalsLike } from "./interfaces/Interfaces.sol";
import { IMapleProxied } from "./interfaces/IMapleProxied.sol";
import { IMapleProxyFactory } fr... | _registerMigrator(fromVersion_,toVersion_,address(0)),"MPF:DUP:FAILED" | 459,775 | _registerMigrator(fromVersion_,toVersion_,address(0)) |
"MPF:EUP:FAILED" | // SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.7;
import { ProxyFactory } from "../modules/proxy-factory/contracts/ProxyFactory.sol";
import { IMapleGlobalsLike } from "./interfaces/Interfaces.sol";
import { IMapleProxied } from "./interfaces/IMapleProxied.sol";
import { IMapleProxyFactory } fr... | _registerMigrator(fromVersion_,toVersion_,migrator_),"MPF:EUP:FAILED" | 459,775 | _registerMigrator(fromVersion_,toVersion_,migrator_) |
"MPF:RI:FAIL_FOR_IMPLEMENTATION" | // SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.7;
import { ProxyFactory } from "../modules/proxy-factory/contracts/ProxyFactory.sol";
import { IMapleGlobalsLike } from "./interfaces/Interfaces.sol";
import { IMapleProxied } from "./interfaces/IMapleProxied.sol";
import { IMapleProxyFactory } fr... | _registerImplementation(version_,implementationAddress_),"MPF:RI:FAIL_FOR_IMPLEMENTATION" | 459,775 | _registerImplementation(version_,implementationAddress_) |
"MPF:RI:FAIL_FOR_MIGRATOR" | // SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.7;
import { ProxyFactory } from "../modules/proxy-factory/contracts/ProxyFactory.sol";
import { IMapleGlobalsLike } from "./interfaces/Interfaces.sol";
import { IMapleProxied } from "./interfaces/IMapleProxied.sol";
import { IMapleProxyFactory } fr... | _registerMigrator(version_,version_,initializer_),"MPF:RI:FAIL_FOR_MIGRATOR" | 459,775 | _registerMigrator(version_,version_,initializer_) |
"MPF:SG:INVALID_GLOBALS" | // SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.7;
import { ProxyFactory } from "../modules/proxy-factory/contracts/ProxyFactory.sol";
import { IMapleGlobalsLike } from "./interfaces/Interfaces.sol";
import { IMapleProxied } from "./interfaces/IMapleProxied.sol";
import { IMapleProxyFactory } fr... | IMapleGlobalsLike(mapleGlobals_).governor()!=address(0),"MPF:SG:INVALID_GLOBALS" | 459,775 | IMapleGlobalsLike(mapleGlobals_).governor()!=address(0) |
"MPF:UI:NOT_ALLOWED" | // SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.7;
import { ProxyFactory } from "../modules/proxy-factory/contracts/ProxyFactory.sol";
import { IMapleGlobalsLike } from "./interfaces/Interfaces.sol";
import { IMapleProxied } from "./interfaces/IMapleProxied.sol";
import { IMapleProxyFactory } fr... | upgradeEnabledForPath[fromVersion][toVersion_],"MPF:UI:NOT_ALLOWED" | 459,775 | upgradeEnabledForPath[fromVersion][toVersion_] |
"MPF:UI:FAILED" | // SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.7;
import { ProxyFactory } from "../modules/proxy-factory/contracts/ProxyFactory.sol";
import { IMapleGlobalsLike } from "./interfaces/Interfaces.sol";
import { IMapleProxied } from "./interfaces/IMapleProxied.sol";
import { IMapleProxyFactory } fr... | _upgradeInstance(msg.sender,toVersion_,arguments_),"MPF:UI:FAILED" | 459,775 | _upgradeInstance(msg.sender,toVersion_,arguments_) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.