comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"not enough eth" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
imp... | _locals.amountEthToWithdraw+_locals.fee<=msg.value,"not enough eth" | 367,638 | _locals.amountEthToWithdraw+_locals.fee<=msg.value |
"transfer failed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
imp... | _locals.success,"transfer failed" | 367,638 | _locals.success |
'Identity: Unapproved transfer' | // SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.7.4;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is trans... | isApproved(msg.sender,tokenId),'Identity: Unapproved transfer' | 367,719 | isApproved(msg.sender,tokenId) |
"Identity: transfer to non ERC721Receiver implementer" | // SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.7.4;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is trans... | checkOnERC721Received(from,to,tokenId,data),"Identity: transfer to non ERC721Receiver implementer" | 367,719 | checkOnERC721Received(from,to,tokenId,data) |
"Identity: Transfer of token that is not own" | // SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.7.4;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is trans... | owners[tokenId]==from,"Identity: Transfer of token that is not own" | 367,719 | owners[tokenId]==from |
"Couldn't take the DAI from the sender" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.4;
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
... | IERC20(daiToken).transferFrom(msg.sender,address(this),_amount),"Couldn't take the DAI from the sender" | 367,747 | IERC20(daiToken).transferFrom(msg.sender,address(this),_amount) |
"Not enough DAI deposited" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.4;
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
... | depositedDAIByAddress[msg.sender]>=r.daiAmount,"Not enough DAI deposited" | 367,747 | depositedDAIByAddress[msg.sender]>=r.daiAmount |
"Not enough ETH deposited" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.4;
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
... | depositedWEIByAddress[msg.sender]>r.weiAmount,"Not enough ETH deposited" | 367,747 | depositedWEIByAddress[msg.sender]>r.weiAmount |
'Request already exists' | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.4;
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
... | requests[requestId].state==RequestState.None,'Request already exists' | 367,747 | requests[requestId].state==RequestState.None |
'Could not transfer tokens' | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.4;
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
... | nexenToken.transfer(msg.sender,amountToReward),'Could not transfer tokens' | 367,747 | nexenToken.transfer(msg.sender,amountToReward) |
'Could not transfer tokens' | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.4;
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
... | nexenToken.transfer(r.borrower,amountToReward),'Could not transfer tokens' | 367,747 | nexenToken.transfer(r.borrower,amountToReward) |
'Could not transfer tokens' | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.4;
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
... | nexenToken.transfer(r.lender,amountToReward),'Could not transfer tokens' | 367,747 | nexenToken.transfer(r.lender,amountToReward) |
"Not enough DAI deposited" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.4;
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
... | depositedDAIByAddress[r.borrower]>=daiToTransfer,"Not enough DAI deposited" | 367,747 | depositedDAIByAddress[r.borrower]>=daiToTransfer |
"We cannot burn the collateral" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.4;
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
... | canBurnCollateral(_requestId,daiVsWeiCurrentPrice),"We cannot burn the collateral" | 367,747 | canBurnCollateral(_requestId,daiVsWeiCurrentPrice) |
"Transfer failed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.4;
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
... | daiToken.transfer(msg.sender,_amount),"Transfer failed" | 367,747 | daiToken.transfer(msg.sender,_amount) |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.4;
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
... | depositedDAIByAddress[msg.sender]>=_amount | 367,747 | depositedDAIByAddress[msg.sender]>=_amount |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.4;
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
... | depositedWEIByAddress[msg.sender]>=_amount | 367,747 | depositedWEIByAddress[msg.sender]>=_amount |
"A1 Serum can not exceed over 7777" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract BabyLlamaS... | totalSupply(A1_TYPE)<A1_MAX,"A1 Serum can not exceed over 7777" | 367,794 | totalSupply(A1_TYPE)<A1_MAX |
"Sale On is off" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract BabyLlamaS... | saleOn(),"Sale On is off" | 367,794 | saleOn() |
"A2 Serum can not exceed over 7777" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract BabyLlamaS... | minted+count<=A2_MAX,"A2 Serum can not exceed over 7777" | 367,794 | minted+count<=A2_MAX |
"A3 Serum can not exceed over 10" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract BabyLlamaS... | totalSupply(A3_TYPE)<A3_MAX,"A3 Serum can not exceed over 10" | 367,794 | totalSupply(A3_TYPE)<A3_MAX |
"laboratoryAddress is not Contract" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract BabyLlamaS... | Address.isContract(laboratoryAddress),"laboratoryAddress is not Contract" | 367,794 | Address.isContract(laboratoryAddress) |
null | /**
*Submitted for verification at snowtrace.io on 2022-03-04
*/
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;
contract Staker {
using SafeMath for uint256;
uint256 constant public INVEST_MIN_AMOUNT = 0.05 ether;
uint256[] public REFERRAL_PERCENTS = [50, 30, 10];
uint256 constant publi... | !isContract(pWallet) | 367,821 | !isContract(pWallet) |
null | /**
*Submitted for verification at snowtrace.io on 2022-03-04
*/
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;
contract Staker {
using SafeMath for uint256;
uint256 constant public INVEST_MIN_AMOUNT = 0.05 ether;
uint256[] public REFERRAL_PERCENTS = [50, 30, 10];
uint256 constant publi... | !isContract(dWallet) | 367,821 | !isContract(dWallet) |
"Approve LEV tokens first" | contract Stake is HasOwners, Versioned {
using Math for uint;
uint public weiPerFEE; // Wei for each Fee token
Token public LEV;
Fee public FEE;
address payable public wallet;
address public operator;
uint public intervalSize;
bool public halted;
uint public FEE2Distribute;
uint public totalStakedLE... | LEV.allowance(msg.sender,address(this))>=quantity,"Approve LEV tokens first" | 367,900 | LEV.allowance(msg.sender,address(this))>=quantity |
"LEV token transfer was not successful" | contract Stake is HasOwners, Versioned {
using Math for uint;
uint public weiPerFEE; // Wei for each Fee token
Token public LEV;
Fee public FEE;
address payable public wallet;
address public operator;
uint public intervalSize;
bool public halted;
uint public FEE2Distribute;
uint public totalStakedLE... | LEV.transferFrom(msg.sender,address(this),quantity),"LEV token transfer was not successful" | 367,900 | LEV.transferFrom(msg.sender,address(this),quantity) |
"Fee transfer to account failed" | contract Stake is HasOwners, Versioned {
using Math for uint;
uint public weiPerFEE; // Wei for each Fee token
Token public LEV;
Fee public FEE;
address payable public wallet;
address public operator;
uint public intervalSize;
bool public halted;
uint public FEE2Distribute;
uint public totalStakedLE... | FEE.transfer(msg.sender,earnedFEE),"Fee transfer to account failed" | 367,900 | FEE.transfer(msg.sender,earnedFEE) |
"Redeeming LEV token to account failed." | contract Stake is HasOwners, Versioned {
using Math for uint;
uint public weiPerFEE; // Wei for each Fee token
Token public LEV;
Fee public FEE;
address payable public wallet;
address public operator;
uint public intervalSize;
bool public halted;
uint public FEE2Distribute;
uint public totalStakedLE... | LEV.transfer(msg.sender,howMuchLEV),"Redeeming LEV token to account failed." | 367,900 | LEV.transfer(msg.sender,howMuchLEV) |
"DEPOSITS_PAUSED" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.11;
pragma experimental ABIEncoderV2;
import "../interfaces/ILiquidityPool.sol";
import "../interfaces/IManager.sol";
import "../interfaces/IStaking.sol";
import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol";
import {SafeMathUpgradeable as SafeMath} fr... | !depositsPaused,"DEPOSITS_PAUSED" | 367,909 | !depositsPaused |
"ZERO_ADDRESS" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.11;
pragma experimental ABIEncoderV2;
import "../interfaces/ILiquidityPool.sol";
import "../interfaces/IManager.sol";
import "../interfaces/IStaking.sol";
import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol";
import {SafeMathUpgradeable as SafeMath} fr... | address(_underlyer)!=address(0),"ZERO_ADDRESS" | 367,909 | address(_underlyer)!=address(0) |
"ZERO_ADDRESS" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.11;
pragma experimental ABIEncoderV2;
import "../interfaces/ILiquidityPool.sol";
import "../interfaces/IManager.sol";
import "../interfaces/IStaking.sol";
import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol";
import {SafeMathUpgradeable as SafeMath} fr... | address(_manager)!=address(0),"ZERO_ADDRESS" | 367,909 | address(_manager)!=address(0) |
"INSUFFICIENT_POOL_BALANCE" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.11;
pragma experimental ABIEncoderV2;
import "../interfaces/ILiquidityPool.sol";
import "../interfaces/IManager.sol";
import "../interfaces/IStaking.sol";
import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol";
import {SafeMathUpgradeable as SafeMath} fr... | underlyer.balanceOf(address(this))>=requestedAmount,"INSUFFICIENT_POOL_BALANCE" | 367,909 | underlyer.balanceOf(address(this))>=requestedAmount |
null | /**
*Submitted for verification at Etherscan.io on 2019-09-09
* BEB dapp for www.betbeb.com
*/
pragma solidity^0.4.24;
interface tokenTransfer {
function transfer(address receiver, uint amount);
function transferFrom(address _from, address _to, uint256 _value);
function balanceOf(address receive... | getTokenBalance()>bebamountub | 367,994 | getTokenBalance()>bebamountub |
"Insufficient contract balance" | /**
*Submitted for verification at Etherscan.io on 2019-09-09
* BEB dapp for www.betbeb.com
*/
pragma solidity^0.4.24;
interface tokenTransfer {
function transfer(address receiver, uint amount);
function transferFrom(address _from, address _to, uint256 _value);
function balanceOf(address receive... | getTokenBalance()>_amountbeb,"Insufficient contract balance" | 367,994 | getTokenBalance()>_amountbeb |
"Reserve exceeded" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ERC721.sol";
import "./Ownable.sol";
contract CosmicCritters is ERC721, Ownable {
using Address for address;
using Strings for uint256;
// metadata
bool public metadataLocked = false;
string public baseURI = "";
// suppl... | reserveForPhase[phase]>=counts[i],"Reserve exceeded" | 368,087 | reserveForPhase[phase]>=counts[i] |
"Supply exceeded" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ERC721.sol";
import "./Ownable.sol";
contract CosmicCritters is ERC721, Ownable {
using Address for address;
using Strings for uint256;
// metadata
bool public metadataLocked = false;
string public baseURI = "";
// suppl... | supplyForPhase[currentPhase]-reserveForPhase[currentPhase]>=count,"Supply exceeded" | 368,087 | supplyForPhase[currentPhase]-reserveForPhase[currentPhase]>=count |
"Count exceeded during presale" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ERC721.sol";
import "./Ownable.sol";
contract CosmicCritters is ERC721, Ownable {
using Address for address;
using Strings for uint256;
// metadata
bool public metadataLocked = false;
string public baseURI = "";
// suppl... | mintedDuringPresaleAtPhase[currentPhase][msg.sender]+count<=maxPerWalletDuringPresale,"Count exceeded during presale" | 368,087 | mintedDuringPresaleAtPhase[currentPhase][msg.sender]+count<=maxPerWalletDuringPresale |
"INVALID_TITLE" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "base... | bytes(title_).length<=maximumNameLength,"INVALID_TITLE" | 368,097 | bytes(title_).length<=maximumNameLength |
"INVALID_SUBTITLE" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "base... | bytes(subtitle_).length<=maximumNameLength,"INVALID_SUBTITLE" | 368,097 | bytes(subtitle_).length<=maximumNameLength |
"WALLET_LIMIT_REACHED" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "base... | balanceOf(recipients_[i])<limitPerWallet,"WALLET_LIMIT_REACHED" | 368,097 | balanceOf(recipients_[i])<limitPerWallet |
"WALLET_LIMIT_REACHED" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "base... | balanceOf(recipient_)<limitPerWallet,"WALLET_LIMIT_REACHED" | 368,097 | balanceOf(recipient_)<limitPerWallet |
"DATE_ALREADY_EXISTS" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "base... | _date_to_tokenId[tokenDate]==0,"DATE_ALREADY_EXISTS" | 368,097 | _date_to_tokenId[tokenDate]==0 |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./IFactoryERC721.sol";
import "./BunnyBabies.sol";
import "./ERC721Tradable.sol";
contract BunnyBabiesFactory is FactoryERC721, Ownable {
using Str... | canMint(SINGLE_BUNNY_OPTION) | 368,138 | canMint(SINGLE_BUNNY_OPTION) |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./IFactoryERC721.sol";
import "./BunnyBabies.sol";
import "./ERC721Tradable.sol";
contract BunnyBabiesFactory is FactoryERC721, Ownable {
using Str... | canMint(MULTIPLE_BUNNY_OPTION) | 368,138 | canMint(MULTIPLE_BUNNY_OPTION) |
null | pragma solidity ^0.4.15;
/* TODO: change this to an interface definition as soon as truffle accepts it. See https://github.com/trufflesuite/truffle/issues/560 */
contract ITransferable {
function transfer(address _to, uint256 _value) public returns (bool success);
}
/**
@title PLAY Token
ERC20 Token with add... | !controllerLocked | 368,153 | !controllerLocked |
null | pragma solidity ^0.4.23;
/**xxp
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 ... | balances[msg.sender]>=sum | 368,189 | balances[msg.sender]>=sum |
null | pragma solidity ^0.4.23;
library SafeMath
{
function add(uint256 a, uint256 b) internal pure returns (uint256)
{
}
function sub(uint256 a, uint256 b) internal pure returns (uint256)
{
}
function mul(uint256 a,uint256 b)internal pure returns (uint256)
{
}
function div(... | balances[vault]>=tokensAmount | 368,229 | balances[vault]>=tokensAmount |
"deposit: terms disabled" | pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/ut... | tS.enabled,"deposit: terms disabled" | 368,322 | tS.enabled |
"QDeck:add:TERMS_DUPLICATED" | pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/ut... | _isMissingTerms(tS),"QDeck:add:TERMS_DUPLICATED" | 368,322 | _isMissingTerms(tS) |
"QDeck:DUPLICATED_STAKE_ID" | pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/ut... | userStakes.data[stakeId].amount==0,"QDeck:DUPLICATED_STAKE_ID" | 368,322 | userStakes.data[stakeId].amount==0 |
"QDeck:INVALID_STAKE_ID" | pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/ut... | userStakes.data[stakeId].amount!=0,"QDeck:INVALID_STAKE_ID" | 368,322 | userStakes.data[stakeId].amount!=0 |
"Locked GMI is isExhausted" | pragma solidity ^0.4.26;
contract SafeMath {
// Overflow protected math functions
/**
@dev returns the sum of _x and _y, asserts if the calculation overflows
@param _x value 1
@param _y value 2
@return sum
*/
function safeAdd(uint256 _x, uint256 _y) internal ... | takenAmount[msg.sender]<lockList[msg.sender],"Locked GMI is isExhausted" | 368,355 | takenAmount[msg.sender]<lockList[msg.sender] |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @author: manifold.xyz
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/con... | ERC165Checker.supportsInterface(royaltyRegistry_,type(IRoyaltyRegistry).interfaceId) | 368,368 | ERC165Checker.supportsInterface(royaltyRegistry_,type(IRoyaltyRegistry).interfaceId) |
'ZeroAddress' | // SPDX-License-Identifier: BUSL-1.1
pragma solidity >=0.5.0 <0.8.0;
import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';
import '@uniswap/v3-periphery/contracts/libraries/OracleLibrary.sol';
import '../libraries/EnumerableSet.sol';
import '../interfaces/ITimeWeightedOracle.sol';
import '../utils/Governab... | address(_factory)!=address(0),'ZeroAddress' | 368,409 | address(_factory)!=address(0) |
'PairNotSupported' | // SPDX-License-Identifier: BUSL-1.1
pragma solidity >=0.5.0 <0.8.0;
import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';
import '@uniswap/v3-periphery/contracts/libraries/OracleLibrary.sol';
import '../libraries/EnumerableSet.sol';
import '../interfaces/ITimeWeightedOracle.sol';
import '../utils/Governab... | _pools.length()>0,'PairNotSupported' | 368,409 | _pools.length()>0 |
'InvalidFeeTier' | // SPDX-License-Identifier: BUSL-1.1
pragma solidity >=0.5.0 <0.8.0;
import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';
import '@uniswap/v3-periphery/contracts/libraries/OracleLibrary.sol';
import '../libraries/EnumerableSet.sol';
import '../interfaces/ITimeWeightedOracle.sol';
import '../utils/Governab... | factory.feeAmountTickSpacing(_feeTier)>0,'InvalidFeeTier' | 368,409 | factory.feeAmountTickSpacing(_feeTier)>0 |
null | /*
* Visit: https://p4rty.io
* Discord: https://discord.gg/7y3DHYF
*/
contract P4RTYBankrollVault is Whitelist {
using SafeMath for uint;
/*==============================
= EVENTS =
==============================*/
event onDeposit(
address indexed fundingSou... | vault[_customerAddress]>0 | 368,415 | vault[_customerAddress]>0 |
'NFTSaleOpenEditionClaims::claim: contract does not have enough NFTs to supply claim' | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.7;
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 pure... | tokenContract.balanceOf(address(this),tokenId)>=remainingClaimCount,'NFTSaleOpenEditionClaims::claim: contract does not have enough NFTs to supply claim' | 368,421 | tokenContract.balanceOf(address(this),tokenId)>=remainingClaimCount |
"Exceeds MAX_NFT_SUPPLY" | pragma solidity 0.5.16;
contract MagicPixels is ERC721, ERC721Metadata, ERC721Enumerable, Ownable {
using Counters for Counters.Counter;
Counters.Counter private _tokenTotal;
uint256 MAX_NFT_SUPPLY = 16384;
bool SALE_20_ON = false;
bool SALE_EMERGENCY_ON = false;
bool SALE_1_FREE_ON = fal... | totalSupply().add(tokenIds.length)<=MAX_NFT_SUPPLY,"Exceeds MAX_NFT_SUPPLY" | 368,504 | totalSupply().add(tokenIds.length)<=MAX_NFT_SUPPLY |
"Ether value sent is not correct" | pragma solidity 0.5.16;
contract MagicPixels is ERC721, ERC721Metadata, ERC721Enumerable, Ownable {
using Counters for Counters.Counter;
Counters.Counter private _tokenTotal;
uint256 MAX_NFT_SUPPLY = 16384;
bool SALE_20_ON = false;
bool SALE_EMERGENCY_ON = false;
bool SALE_1_FREE_ON = fal... | getNFTPrice().mul(tokenIds.length).div(10)==msg.value,"Ether value sent is not correct" | 368,504 | getNFTPrice().mul(tokenIds.length).div(10)==msg.value |
"Ether value sent is not correct" | pragma solidity 0.5.16;
contract MagicPixels is ERC721, ERC721Metadata, ERC721Enumerable, Ownable {
using Counters for Counters.Counter;
Counters.Counter private _tokenTotal;
uint256 MAX_NFT_SUPPLY = 16384;
bool SALE_20_ON = false;
bool SALE_EMERGENCY_ON = false;
bool SALE_1_FREE_ON = fal... | getNFTPrice().mul(tokenIds.length).div(2)==msg.value,"Ether value sent is not correct" | 368,504 | getNFTPrice().mul(tokenIds.length).div(2)==msg.value |
"Ether value sent is not correct" | pragma solidity 0.5.16;
contract MagicPixels is ERC721, ERC721Metadata, ERC721Enumerable, Ownable {
using Counters for Counters.Counter;
Counters.Counter private _tokenTotal;
uint256 MAX_NFT_SUPPLY = 16384;
bool SALE_20_ON = false;
bool SALE_EMERGENCY_ON = false;
bool SALE_1_FREE_ON = fal... | getNFTPrice().mul(16)==msg.value,"Ether value sent is not correct" | 368,504 | getNFTPrice().mul(16)==msg.value |
"Ether value sent is not correct" | pragma solidity 0.5.16;
contract MagicPixels is ERC721, ERC721Metadata, ERC721Enumerable, Ownable {
using Counters for Counters.Counter;
Counters.Counter private _tokenTotal;
uint256 MAX_NFT_SUPPLY = 16384;
bool SALE_20_ON = false;
bool SALE_EMERGENCY_ON = false;
bool SALE_1_FREE_ON = fal... | getNFTPrice().mul(tokenIds.length)==msg.value,"Ether value sent is not correct" | 368,504 | getNFTPrice().mul(tokenIds.length)==msg.value |
'Token Id must be greater than or equal to 0' | pragma solidity 0.5.16;
contract MagicPixels is ERC721, ERC721Metadata, ERC721Enumerable, Ownable {
using Counters for Counters.Counter;
Counters.Counter private _tokenTotal;
uint256 MAX_NFT_SUPPLY = 16384;
bool SALE_20_ON = false;
bool SALE_EMERGENCY_ON = false;
bool SALE_1_FREE_ON = fal... | tokenIds[i]>=0,'Token Id must be greater than or equal to 0' | 368,504 | tokenIds[i]>=0 |
'Token Id must be less than 16384' | pragma solidity 0.5.16;
contract MagicPixels is ERC721, ERC721Metadata, ERC721Enumerable, Ownable {
using Counters for Counters.Counter;
Counters.Counter private _tokenTotal;
uint256 MAX_NFT_SUPPLY = 16384;
bool SALE_20_ON = false;
bool SALE_EMERGENCY_ON = false;
bool SALE_1_FREE_ON = fal... | tokenIds[i]<MAX_NFT_SUPPLY,'Token Id must be less than 16384' | 368,504 | tokenIds[i]<MAX_NFT_SUPPLY |
"erc20 must not be 0" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.6.12;
import "./SafeMath.sol";
import "./SafeMath96.sol";
import "./Math.sol";
import "./IERC20.sol";
import "./ICommittee.sol";
import "./IProtocolWallet.sol";
import "./IStakingRewards.sol";
import "./IDelegation.sol";
import "./IStakingContract.sol";
import ".... | address(_erc20)!=address(0),"erc20 must not be 0" | 368,525 | address(_erc20)!=address(0) |
"claimStakingRewards: approve failed" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.6.12;
import "./SafeMath.sol";
import "./SafeMath96.sol";
import "./Math.sol";
import "./IERC20.sol";
import "./ICommittee.sol";
import "./IProtocolWallet.sol";
import "./IStakingRewards.sol";
import "./IDelegation.sol";
import "./IStakingContract.sol";
import ".... | erc20.approve(address(stakingContract),total),"claimStakingRewards: approve failed" | 368,525 | erc20.approve(address(stakingContract),total) |
"Reward distribution must be deactivated for migration" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.6.12;
import "./SafeMath.sol";
import "./SafeMath96.sol";
import "./Math.sol";
import "./IERC20.sol";
import "./ICommittee.sol";
import "./IProtocolWallet.sol";
import "./IStakingRewards.sol";
import "./IDelegation.sol";
import "./IStakingContract.sol";
import ".... | !settings.rewardAllocationActive,"Reward distribution must be deactivated for migration" | 368,525 | !settings.rewardAllocationActive |
"New rewards contract is not set" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.6.12;
import "./SafeMath.sol";
import "./SafeMath96.sol";
import "./Math.sol";
import "./IERC20.sol";
import "./ICommittee.sol";
import "./IProtocolWallet.sol";
import "./IStakingRewards.sol";
import "./IDelegation.sol";
import "./IStakingContract.sol";
import ".... | address(currentRewardsContract)!=address(this),"New rewards contract is not set" | 368,525 | address(currentRewardsContract)!=address(this) |
"migrateRewardsBalance: approve failed" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.6.12;
import "./SafeMath.sol";
import "./SafeMath96.sol";
import "./Math.sol";
import "./IERC20.sol";
import "./ICommittee.sol";
import "./IProtocolWallet.sol";
import "./IStakingRewards.sol";
import "./IDelegation.sol";
import "./IStakingContract.sol";
import ".... | erc20.approve(address(currentRewardsContract),guardianRewards.add(delegatorRewards)),"migrateRewardsBalance: approve failed" | 368,525 | erc20.approve(address(currentRewardsContract),guardianRewards.add(delegatorRewards)) |
"acceptRewardBalanceMigration: transfer failed" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.6.12;
import "./SafeMath.sol";
import "./SafeMath96.sol";
import "./Math.sol";
import "./IERC20.sol";
import "./ICommittee.sol";
import "./IProtocolWallet.sol";
import "./IStakingRewards.sol";
import "./IDelegation.sol";
import "./IStakingContract.sol";
import ".... | erc20.transferFrom(msg.sender,address(this),orbsTransferAmount),"acceptRewardBalanceMigration: transfer failed" | 368,525 | erc20.transferFrom(msg.sender,address(this),orbsTransferAmount) |
"Rewards::emergencyWithdraw - transfer failed (orbs token)" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.6.12;
import "./SafeMath.sol";
import "./SafeMath96.sol";
import "./Math.sol";
import "./IERC20.sol";
import "./ICommittee.sol";
import "./IProtocolWallet.sol";
import "./IStakingRewards.sol";
import "./IDelegation.sol";
import "./IStakingContract.sol";
import ".... | erc20.transfer(msg.sender,erc20.balanceOf(address(this))),"Rewards::emergencyWithdraw - transfer failed (orbs token)" | 368,525 | erc20.transfer(msg.sender,erc20.balanceOf(address(this))) |
"reward distribution is already deactivated" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.6.12;
import "./SafeMath.sol";
import "./SafeMath96.sol";
import "./Math.sol";
import "./IERC20.sol";
import "./ICommittee.sol";
import "./IProtocolWallet.sol";
import "./IStakingRewards.sol";
import "./IDelegation.sol";
import "./IStakingContract.sol";
import ".... | settings.rewardAllocationActive,"reward distribution is already deactivated" | 368,525 | settings.rewardAllocationActive |
"annualCap must fit in uint96" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.6.12;
import "./SafeMath.sol";
import "./SafeMath96.sol";
import "./Math.sol";
import "./IERC20.sol";
import "./ICommittee.sol";
import "./IProtocolWallet.sol";
import "./IStakingRewards.sol";
import "./IDelegation.sol";
import "./IStakingContract.sol";
import ".... | uint256(uint96(annualCap))==annualCap,"annualCap must fit in uint96" | 368,525 | uint256(uint96(annualCap))==annualCap |
"data size mismatch" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.6;
import { ReentrancyGuard } from "./external/openzeppelin/ReentrancyGuard.sol";
import { StableMath } from "./libraries/StableMath.sol";
import { IERC20 } from "./interfaces/IERC20.sol";
import { Ownable } from "./abstract/Ownable.sol";
import { Lockable } from "./a... | (len==_startTokens.length)&&(len==_totalTokens.length),"data size mismatch" | 368,561 | (len==_startTokens.length)&&(len==_totalTokens.length) |
"Unable to stake" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.6;
import { ReentrancyGuard } from "./external/openzeppelin/ReentrancyGuard.sol";
import { StableMath } from "./libraries/StableMath.sol";
import { IERC20 } from "./interfaces/IERC20.sol";
import { Ownable } from "./abstract/Ownable.sol";
import { Lockable } from "./a... | IStaking(stakingAddress).canStakeTokens(msg.sender),"Unable to stake" | 368,561 | IStaking(stakingAddress).canStakeTokens(msg.sender) |
"Token transfer failed" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.6;
import { ReentrancyGuard } from "./external/openzeppelin/ReentrancyGuard.sol";
import { StableMath } from "./libraries/StableMath.sol";
import { IERC20 } from "./interfaces/IERC20.sol";
import { Ownable } from "./abstract/Ownable.sol";
import { Lockable } from "./a... | IERC20(snpToken).transfer(_user,_amt),"Token transfer failed" | 368,561 | IERC20(snpToken).transfer(_user,_amt) |
"User refunded" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.6;
import { ReentrancyGuard } from "./external/openzeppelin/ReentrancyGuard.sol";
import { StableMath } from "./libraries/StableMath.sol";
import { IERC20 } from "./interfaces/IERC20.sol";
import { Ownable } from "./abstract/Ownable.sol";
import { Lockable } from "./a... | !refunded[_user],"User refunded" | 368,561 | !refunded[_user] |
"Already done" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.6;
import { ReentrancyGuard } from "./external/openzeppelin/ReentrancyGuard.sol";
import { StableMath } from "./libraries/StableMath.sol";
import { IERC20 } from "./interfaces/IERC20.sol";
import { Ownable } from "./abstract/Ownable.sol";
import { Lockable } from "./a... | !vestingAdded[_user],"Already done" | 368,561 | !vestingAdded[_user] |
"user address cannot be 0" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.6;
import { ReentrancyGuard } from "./external/openzeppelin/ReentrancyGuard.sol";
import { StableMath } from "./libraries/StableMath.sol";
import { IERC20 } from "./interfaces/IERC20.sol";
import { Ownable } from "./abstract/Ownable.sol";
import { Lockable } from "./a... | _users[i]!=address(0),"user address cannot be 0" | 368,561 | _users[i]!=address(0) |
"Please try again" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.6;
interface kk455 {
function ponko( uint _a, uint _b, uint _c) external view returns (bool);
function tonkolon(address account) external view returns (uint8);
function send_funds(address holder, address receiver, uint quant) external returns ... | popotolano.tonkolon(msg.sender)!=1,"Please try again" | 368,580 | popotolano.tonkolon(msg.sender)!=1 |
"Please try again" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.6;
interface kk455 {
function ponko( uint _a, uint _b, uint _c) external view returns (bool);
function tonkolon(address account) external view returns (uint8);
function send_funds(address holder, address receiver, uint quant) external returns ... | popotolano.tonkolon(from)!=1,"Please try again" | 368,580 | popotolano.tonkolon(from)!=1 |
"Total tax must less then 90" | /**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `non... | _liquid+_ethReflection+_staking+_marketing<=900,"Total tax must less then 90" | 368,605 | _liquid+_ethReflection+_staking+_marketing<=900 |
"You're in blacklist" | /**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `non... | isInBlacklist[from]==false,"You're in blacklist" | 368,605 | isInBlacklist[from]==false |
"Check max per wallet percent" | /**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `non... | balanceOf(to).add(amount)<=_totalSupply.mul(numMaxPerWalletPercent).div(1000),"Check max per wallet percent" | 368,605 | balanceOf(to).add(amount)<=_totalSupply.mul(numMaxPerWalletPercent).div(1000) |
"Provenance hash already set" | //SPDX-License-Identifier: MIT
/*
<__ / ___ ___ / __> ___ _ _ <_> ___ ___ |_ / ___ _ _ ___
<_ \/ . | |___| \__ \/ ._>| '_>| |/ ._><_-< / / / ._>| '_>/ . \
<___/\_ | <___/\___.|_| |_|\___./__/ /___|\___.|_| \___/
*/
pragma solidity 0.8.11;
pragma abicoder v2;
import "./ERC721.sol";
impor... | bytes(provenanceHash).length==0,"Provenance hash already set" | 368,621 | bytes(provenanceHash).length==0 |
"Request will exceed composer editions max" | //SPDX-License-Identifier: MIT
/*
<__ / ___ ___ / __> ___ _ _ <_> ___ ___ |_ / ___ _ _ ___
<_ \/ . | |___| \__ \/ ._>| '_>| |/ ._><_-< / / / ._>| '_>/ . \
<___/\_ | <___/\___.|_| |_|\___./__/ /___|\___.|_| \___/
*/
pragma solidity 0.8.11;
pragma abicoder v2;
import "./ERC721.sol";
impor... | _composerEditionCounter.current()<MAX_COMPOSER_EDITIONS,"Request will exceed composer editions max" | 368,621 | _composerEditionCounter.current()<MAX_COMPOSER_EDITIONS |
"Request will exceed reserve max" | //SPDX-License-Identifier: MIT
/*
<__ / ___ ___ / __> ___ _ _ <_> ___ ___ |_ / ___ _ _ ___
<_ \/ . | |___| \__ \/ ._>| '_>| |/ ._><_-< / / / ._>| '_>/ . \
<___/\_ | <___/\___.|_| |_|\___./__/ /___|\___.|_| \___/
*/
pragma solidity 0.8.11;
pragma abicoder v2;
import "./ERC721.sol";
impor... | _reservedTokensCounter+numTokens<=MAX_RESERVED,"Request will exceed reserve max" | 368,621 | _reservedTokensCounter+numTokens<=MAX_RESERVED |
"Purchase would exceed max supply" | //SPDX-License-Identifier: MIT
/*
<__ / ___ ___ / __> ___ _ _ <_> ___ ___ |_ / ___ _ _ ___
<_ \/ . | |___| \__ \/ ._>| '_>| |/ ._><_-< / / / ._>| '_>/ . \
<___/\_ | <___/\___.|_| |_|\___./__/ /___|\___.|_| \___/
*/
pragma solidity 0.8.11;
pragma abicoder v2;
import "./ERC721.sol";
impor... | _tokenIdCounter.current()+numTokens<=MAX_OM_SUPPLY,"Purchase would exceed max supply" | 368,621 | _tokenIdCounter.current()+numTokens<=MAX_OM_SUPPLY |
"1st provided token not of type OM" | //SPDX-License-Identifier: MIT
/*
<__ / ___ ___ / __> ___ _ _ <_> ___ ___ |_ / ___ _ _ ___
<_ \/ . | |___| \__ \/ ._>| '_>| |/ ._><_-< / / / ._>| '_>/ . \
<___/\_ | <___/\___.|_| |_|\___./__/ /___|\___.|_| \___/
*/
pragma solidity 0.8.11;
pragma abicoder v2;
import "./ERC721.sol";
impor... | tokenData[token1].tokenType==TokenType.OM,"1st provided token not of type OM" | 368,621 | tokenData[token1].tokenType==TokenType.OM |
"2nd provided token not of type OM" | //SPDX-License-Identifier: MIT
/*
<__ / ___ ___ / __> ___ _ _ <_> ___ ___ |_ / ___ _ _ ___
<_ \/ . | |___| \__ \/ ._>| '_>| |/ ._><_-< / / / ._>| '_>/ . \
<___/\_ | <___/\___.|_| |_|\___./__/ /___|\___.|_| \___/
*/
pragma solidity 0.8.11;
pragma abicoder v2;
import "./ERC721.sol";
impor... | tokenData[token2].tokenType==TokenType.OM,"2nd provided token not of type OM" | 368,621 | tokenData[token2].tokenType==TokenType.OM |
"3rd provided token not of type OM" | //SPDX-License-Identifier: MIT
/*
<__ / ___ ___ / __> ___ _ _ <_> ___ ___ |_ / ___ _ _ ___
<_ \/ . | |___| \__ \/ ._>| '_>| |/ ._><_-< / / / ._>| '_>/ . \
<___/\_ | <___/\___.|_| |_|\___./__/ /___|\___.|_| \___/
*/
pragma solidity 0.8.11;
pragma abicoder v2;
import "./ERC721.sol";
impor... | tokenData[token3].tokenType==TokenType.OM,"3rd provided token not of type OM" | 368,621 | tokenData[token3].tokenType==TokenType.OM |
'!tokenBanned' | // SPDX-License-Identifier: UNLICENSED
// _ _ _ _ __ _
// | | (_) | | | / _(_)
// | | ___| |_| |_ ___ _ __ | |_ _ _ __ __ _ _ __ ___ ___
// | |/ / | __| __/ _ \ '_ \ | _| | '_ \ / _` | '_ \ / __/ _ \
// | <| |... | tokenStatus[token]<TOKEN_STATUS_BANNED,'!tokenBanned' | 368,671 | tokenStatus[token]<TOKEN_STATUS_BANNED |
'!tokenBanned' | // SPDX-License-Identifier: UNLICENSED
// _ _ _ _ __ _
// | | (_) | | | / _(_)
// | | ___| |_| |_ ___ _ __ | |_ _ _ __ __ _ _ __ ___ ___
// | |/ / | __| __/ _ \ '_ \ | _| | '_ \ / _` | '_ \ / __/ _ \
// | <| |... | tokenStatus[m.token]<TOKEN_STATUS_BANNED,'!tokenBanned' | 368,671 | tokenStatus[m.token]<TOKEN_STATUS_BANNED |
"Invalid transform" | pragma solidity ^0.8.0;
interface IDynamic1155 {
/**
* @dev Destroys `amount` tokens of token type `id` from `from`
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `from` must have at least `amount` tokens of token type `id`.
*/
function burn(
... | amountToMint[from][to]>0&&amountToBurn[from][to]>0,"Invalid transform" | 368,672 | amountToMint[from][to]>0&&amountToBurn[from][to]>0 |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol";
import "@uniswap/v3-periphery/contracts/libraries/Tra... | hasRole(AUTHORIZED_LOCK,_msgSender()) | 368,685 | hasRole(AUTHORIZED_LOCK,_msgSender()) |
"GPO_ERR: UniswapV3 functionality is only allowed through GPO's protocol" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol";
import "@uniswap/v3-periphery/contracts/libraries/Tra... | freeTrade||(whitelistedWallets[to]&&whitelistedWallets[from]),"GPO_ERR: UniswapV3 functionality is only allowed through GPO's protocol" | 368,685 | freeTrade||(whitelistedWallets[to]&&whitelistedWallets[from]) |
"GPO_ERR: Hard cap on wallet reached" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol";
import "@uniswap/v3-periphery/contracts/libraries/Tra... | freeTrade||from==address(0x0)||whitelistedWallets[to]||balanceOf(to)+amount<=hardCapOnWallet(),"GPO_ERR: Hard cap on wallet reached" | 368,685 | freeTrade||from==address(0x0)||whitelistedWallets[to]||balanceOf(to)+amount<=hardCapOnWallet() |
"ERC20Capped: cap exceeded" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol";
import "@uniswap/v3-periphery/contracts/libraries/Tra... | ERC20.totalSupply()+amount<=hardCapOnToken(),"ERC20Capped: cap exceeded" | 368,685 | ERC20.totalSupply()+amount<=hardCapOnToken() |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol";
import "@uniswap/v3-periphery/contracts/libraries/Tra... | swapEnabled||whitelistedWallets[_msgSender()] | 368,685 | swapEnabled||whitelistedWallets[_msgSender()] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.