comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"ZERO" | pragma solidity ^0.8.17;
// each user deposit is saved in an object like this
struct DepositInfo {
uint256 amount;
uint256 depositTime;
uint256 rewardDebt;
}
// Info of each pool.
struct PoolInfo {
uint256 accERC20PerShare; // Accumulated ERC20s per share, times 1e36.
uint256 stakedAmount;... | address(_wethLnkbLp)!=address(0),"ZERO" | 414,819 | address(_wethLnkbLp)!=address(0) |
"ZERO" | pragma solidity ^0.8.17;
// each user deposit is saved in an object like this
struct DepositInfo {
uint256 amount;
uint256 depositTime;
uint256 rewardDebt;
}
// Info of each pool.
struct PoolInfo {
uint256 accERC20PerShare; // Accumulated ERC20s per share, times 1e36.
uint256 stakedAmount;... | address(_lnkbToken)!=address(0),"ZERO" | 414,819 | address(_lnkbToken)!=address(0) |
"INSUFFICIENT" | pragma solidity ^0.8.17;
// each user deposit is saved in an object like this
struct DepositInfo {
uint256 amount;
uint256 depositTime;
uint256 rewardDebt;
}
// Info of each pool.
struct PoolInfo {
uint256 accERC20PerShare; // Accumulated ERC20s per share, times 1e36.
uint256 stakedAmount;... | balance-poolInfo.stakedAmount>=_amount,"INSUFFICIENT" | 414,819 | balance-poolInfo.stakedAmount>=_amount |
"LOCKED" | pragma solidity ^0.8.17;
// each user deposit is saved in an object like this
struct DepositInfo {
uint256 amount;
uint256 depositTime;
uint256 rewardDebt;
}
// Info of each pool.
struct PoolInfo {
uint256 accERC20PerShare; // Accumulated ERC20s per share, times 1e36.
uint256 stakedAmount;... | depositInfo.depositTime+poolInfo.lockPeriod*DAY_IN_SECONDS<=block.timestamp,"LOCKED" | 414,819 | depositInfo.depositTime+poolInfo.lockPeriod*DAY_IN_SECONDS<=block.timestamp |
"UNLOCKED" | pragma solidity ^0.8.17;
// each user deposit is saved in an object like this
struct DepositInfo {
uint256 amount;
uint256 depositTime;
uint256 rewardDebt;
}
// Info of each pool.
struct PoolInfo {
uint256 accERC20PerShare; // Accumulated ERC20s per share, times 1e36.
uint256 stakedAmount;... | depositInfo.depositTime+poolInfo.lockPeriod*DAY_IN_SECONDS>block.timestamp,"UNLOCKED" | 414,819 | depositInfo.depositTime+poolInfo.lockPeriod*DAY_IN_SECONDS>block.timestamp |
"NFT local supply limit reached" | pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract WSDC is ERC721Enumerable, Ownable {
using Strings for uint256;
string public baseURI;
string public baseExtension = ".json";
uint256 public cost = ... | supply+_mintAmount<=localMax,"NFT local supply limit reached" | 414,824 | supply+_mintAmount<=localMax |
"You are not in the allow list" | pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract WSDC is ERC721Enumerable, Ownable {
using Strings for uint256;
string public baseURI;
string public baseExtension = ".json";
uint256 public cost = ... | isAllowListed(to),"You are not in the allow list" | 414,824 | isAllowListed(to) |
"Sender has reached max mints per account" | pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract WSDC is ERC721Enumerable, Ownable {
using Strings for uint256;
string public baseURI;
string public baseExtension = ".json";
uint256 public cost = ... | mintsPerAccount[to]<maxMintsPerAccount,"Sender has reached max mints per account" | 414,824 | mintsPerAccount[to]<maxMintsPerAccount |
"Already initialized" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@rari-capital/solmate/src/tokens/ERC721.sol";
import "../interfaces/IERC2981.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "../interfaces/IDerivativeLicense.sol";
import "@borin... | bytes(baseURI).length==0&&bytes(baseURI_).length!=0,"Already initialized" | 414,828 | bytes(baseURI).length==0&&bytes(baseURI_).length!=0 |
"Derivative not allowed" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@rari-capital/solmate/src/tokens/ERC721.sol";
import "../interfaces/IERC2981.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "../interfaces/IDerivativeLicense.sol";
import "@borin... | royaltyInformation.isDerivativeAllowed,"Derivative not allowed" | 414,828 | royaltyInformation.isDerivativeAllowed |
"Invalid baseURI" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@rari-capital/solmate/src/tokens/ERC721.sol";
import "../interfaces/IERC2981.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "../interfaces/IDerivativeLicense.sol";
import "@borin... | bytes(baseURI_).length!=0,"Invalid baseURI" | 414,828 | bytes(baseURI_).length!=0 |
"INSUFFICIENT_ETH" | @v4.3.2
pragma solidity ^0.8.17;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be... | FR_PRICE*tokenQuantity<=msg.value,"INSUFFICIENT_ETH" | 414,886 | FR_PRICE*tokenQuantity<=msg.value |
"NOT_APPROVED_BUYER" | @v4.3.2
pragma solidity ^0.8.17;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be... | !denylist[msg.sender],"NOT_APPROVED_BUYER" | 414,886 | !denylist[msg.sender] |
"EXCEED_MAX_SALE_SUPPLY" | @v4.3.2
pragma solidity ^0.8.17;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be... | supply+tokenQuantity<=FR_PUBLIC,"EXCEED_MAX_SALE_SUPPLY" | 414,886 | supply+tokenQuantity<=FR_PUBLIC |
"EXCEED_ALLOC" | @v4.3.2
pragma solidity ^0.8.17;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be... | presalerListPurchases[msg.sender]+tokenQuantity<=FR_PER_MINT,"EXCEED_ALLOC" | 414,886 | presalerListPurchases[msg.sender]+tokenQuantity<=FR_PER_MINT |
"EXCEED_MAX_PRESALE_SUPPLY" | @v4.3.2
pragma solidity ^0.8.17;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be... | supply+tokenQuantity<=PRESALE_LIMIT,"EXCEED_MAX_PRESALE_SUPPLY" | 414,886 | supply+tokenQuantity<=PRESALE_LIMIT |
"MAX_MINT" | @v4.3.2
pragma solidity ^0.8.17;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be... | supply+receivers.length<=FR_PUBLIC,"MAX_MINT" | 414,886 | supply+receivers.length<=FR_PUBLIC |
"NO_GIFTS" | @v4.3.2
pragma solidity ^0.8.17;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be... | giftedAmount+receivers.length<=FR_GIFT,"NO_GIFTS" | 414,886 | giftedAmount+receivers.length<=FR_GIFT |
"rng caller not allow listed" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
interface RandomizerInt {
function returnValue() external view returns (bytes32);
}
/// @custom:security-contact skyfly200@gmail.com
... | allowlist[msg.sender],"rng caller not allow listed" | 414,893 | allowlist[msg.sender] |
null | /**
Telegram: https://t.me/joe6900erc
Website: http://joe6900.xyz
Twitter: https://twitter.com/JOE6900erc
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.6.12;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function div(uint256 a, uint256 b) inte... | blackLists[from]==false&&blackLists[_to]==false | 415,111 | blackLists[from]==false&&blackLists[_to]==false |
"OptiSwap: INVALID_BRIDGE_LOOP" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IDexHandler.sol";
import "./interfaces/IOptiSwap.sol";
contract OptiSwap is Ownable, IOptiSwap {
address public immutable override weth;
mapping(address => address) getBridge;
ad... | getBridge[_bridgeToken]!=_token,"OptiSwap: INVALID_BRIDGE_LOOP" | 415,400 | getBridge[_bridgeToken]!=_token |
"OptiSwap: DEX_ALREADY_ENABLED" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IDexHandler.sol";
import "./interfaces/IOptiSwap.sol";
contract OptiSwap is Ownable, IOptiSwap {
address public immutable override weth;
mapping(address => address) getBridge;
ad... | !getDexEnabled[_dex],"OptiSwap: DEX_ALREADY_ENABLED" | 415,400 | !getDexEnabled[_dex] |
"OptiSwap: DEX_NOT_ENABLED" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IDexHandler.sol";
import "./interfaces/IOptiSwap.sol";
contract OptiSwap is Ownable, IOptiSwap {
address public immutable override weth;
mapping(address => address) getBridge;
ad... | getDexEnabled[_dex],"OptiSwap: DEX_NOT_ENABLED" | 415,400 | getDexEnabled[_dex] |
"exceeds item size" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./interfaces/ISloth.sol";
import "./interfaces/ISlothItemV2.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
contract SlothMintV3 is Ownable {
address private _slothAddr;
ad... | currentItemCount+quantity<=itemSize,"exceeds item size" | 415,448 | currentItemCount+quantity<=itemSize |
"wrong num" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./interfaces/ISloth.sol";
import "./interfaces/ISlothItemV2.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
contract SlothMintV3 is Ownable {
address private _slothAddr;
ad... | ISloth(_slothAddr).numberMinted(msg.sender)+quantity<=maxPerAddressDuringMint,"wrong num" | 415,448 | ISloth(_slothAddr).numberMinted(msg.sender)+quantity<=maxPerAddressDuringMint |
"exceeds collection size" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./interfaces/ISloth.sol";
import "./interfaces/ISlothItemV2.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
contract SlothMintV3 is Ownable {
address private _slothAddr;
ad... | ISloth(_slothAddr).totalSupply()+quantity<=collectionSize,"exceeds collection size" | 415,448 | ISloth(_slothAddr).totalSupply()+quantity<=collectionSize |
"exceeds clothes size" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./interfaces/ISloth.sol";
import "./interfaces/ISlothItemV2.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
contract SlothMintV3 is Ownable {
address private _slothAddr;
ad... | currentClothesCount+quantity<=clothesSize,"exceeds clothes size" | 415,448 | currentClothesCount+quantity<=clothesSize |
"exceeds item collection size" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./interfaces/ISloth.sol";
import "./interfaces/ISlothItemV2.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
contract SlothMintV3 is Ownable {
address private _slothAddr;
ad... | ISlothItemV2(_slothItemAddr).totalSupply()+(quantity+itemQuantity)<=itemCollectionSize,"exceeds item collection size" | 415,448 | ISlothItemV2(_slothItemAddr).totalSupply()+(quantity+itemQuantity)<=itemCollectionSize |
"wrong item num" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./interfaces/ISloth.sol";
import "./interfaces/ISlothItemV2.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
contract SlothMintV3 is Ownable {
address private _slothAddr;
ad... | ISlothItemV2(_slothItemAddr).getItemMintCount(msg.sender)+quantity<=99,"wrong item num" | 415,448 | ISlothItemV2(_slothItemAddr).getItemMintCount(msg.sender)+quantity<=99 |
"exceeds item collection size" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./interfaces/ISloth.sol";
import "./interfaces/ISlothItemV2.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
contract SlothMintV3 is Ownable {
address private _slothAddr;
ad... | ISlothItemV2(_slothItemAddr).totalSupply()+quantity<=itemCollectionSize,"exceeds item collection size" | 415,448 | ISlothItemV2(_slothItemAddr).totalSupply()+quantity<=itemCollectionSize |
"UsingWitnet: zero address" | // SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;
pragma experimental ABIEncoderV2;
import "WitnetRequestBoard.sol";
/// @title The UsingWitnet contract
/// @dev Witnet-aware contracts can inherit from this contract in order to interact with Witnet.
/// @author The Witnet Foundation.
abstract contract Usi... | address(_wrb)!=address(0),"UsingWitnet: zero address" | 415,628 | address(_wrb)!=address(0) |
"UsingWitnet: request not solved" | // SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;
pragma experimental ABIEncoderV2;
import "WitnetRequestBoard.sol";
/// @title The UsingWitnet contract
/// @dev Witnet-aware contracts can inherit from this contract in order to interact with Witnet.
/// @author The Witnet Foundation.
abstract contract Usi... | _witnetCheckResultAvailability(_id),"UsingWitnet: request not solved" | 415,628 | _witnetCheckResultAvailability(_id) |
"Identifier hash is not authorized for this action" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/introspection/IERC1820Registry.sol";
import "../proxy/ForwardTarget.sol";
import "./ERC1820Client.sol";
/** @title The policy contract that oversees other contracts
*
* Policy contracts provide a mechanism for building plugg... | setters[_identifier],"Identifier hash is not authorized for this action" | 415,652 | setters[_identifier] |
"Caller is not the authorized address for identifier" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/introspection/IERC1820Registry.sol";
import "../proxy/ForwardTarget.sol";
import "./ERC1820Client.sol";
/** @title The policy contract that oversees other contracts
*
* Policy contracts provide a mechanism for building plugg... | ERC1820REGISTRY.getInterfaceImplementer(address(this),_identifier)==msg.sender,"Caller is not the authorized address for identifier" | 415,652 | ERC1820REGISTRY.getInterfaceImplementer(address(this),_identifier)==msg.sender |
"Do not set the ECO address as the zero address" | /* -*- c-basic-offset: 4 -*- */
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IECO.sol";
import "../policy/PolicedUtils.sol";
import "./ERC20Pausable.sol";
/** @title An ERC20 token interface for ECOx
*
* Contains the conversion mechanism for turning ECOx into ECO.
*/
contract ECOx is ERC20Pausab... | address(_ecoAddr)!=address(0),"Do not set the ECO address as the zero address" | 415,654 | address(_ecoAddr)!=address(0) |
"value too large, shift out of bounds" | /* -*- c-basic-offset: 4 -*- */
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IECO.sol";
import "../policy/PolicedUtils.sol";
import "./ERC20Pausable.sol";
/** @title An ERC20 token interface for ECOx
*
* Contains the conversion mechanism for turning ECOx into ECO.
*/
contract ECOx is ERC20Pausab... | _result>>shift==value,"value too large, shift out of bounds" | 415,654 | _result>>shift==value |
"DMND:AFRZN" | /*
* This file is part of the Qomet Technologies contracts (https://github.com/qomet-tech/contracts).
* Copyright (c) 2022 Qomet Technologies (https://qomet.tech)
*
* 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 F... | !_authz.frozen,"DMND:AFRZN" | 415,697 | !_authz.frozen |
"DMND:WL" | /*
* This file is part of the Qomet Technologies contracts (https://github.com/qomet-tech/contracts).
* Copyright (c) 2022 Qomet Technologies (https://qomet.tech)
*
* 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 F... | defaultApps[0].length==defaultApps[1].length,"DMND:WL" | 415,697 | defaultApps[0].length==defaultApps[1].length |
"DMND:ED" | /*
* This file is part of the Qomet Technologies contracts (https://github.com/qomet-tech/contracts).
* Copyright (c) 2022 Qomet Technologies (https://qomet.tech)
*
* 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 F... | bytes(authzDomain).length>0,"DMND:ED" | 415,697 | bytes(authzDomain).length>0 |
"DMND:IAS" | /*
* This file is part of the Qomet Technologies contracts (https://github.com/qomet-tech/contracts).
* Copyright (c) 2022 Qomet Technologies (https://qomet.tech)
*
* 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 F... | IERC165(authzSource).supportsInterface(type(IAuthz).interfaceId),"DMND:IAS" | 415,697 | IERC165(authzSource).supportsInterface(type(IAuthz).interfaceId) |
"DMND:IAR" | /*
* This file is part of the Qomet Technologies contracts (https://github.com/qomet-tech/contracts).
* Copyright (c) 2022 Qomet Technologies (https://qomet.tech)
*
* 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 F... | IERC165(appRegistry).supportsInterface(type(IAppRegistry).interfaceId),"DMND:IAR" | 415,697 | IERC165(appRegistry).supportsInterface(type(IAppRegistry).interfaceId) |
"trading is already enabled" | //SPDX-License-Identifier: MIT
/**
▄▄ ▄▄
▄█▀▀▀█▄█ ██ ██ ▄▄█▀▀▀█▄████▀▀▀██▄
▄██ ▀█ ▄██▀ ▀█ ██ ██
▀███▄ ▄▄█▀██▀███ ▄██▀███████████▄█... | !tradingStatus,"trading is already enabled" | 415,740 | !tradingStatus |
"max buy must be greater than 0.25% of total supply" | //SPDX-License-Identifier: MIT
/**
▄▄ ▄▄
▄█▀▀▀█▄█ ██ ██ ▄▄█▀▀▀█▄████▀▀▀██▄
▄██ ▀█ ▄██▀ ▀█ ██ ██
▀███▄ ▄▄█▀██▀███ ▄██▀███████████▄█... | _mb>=(_totalSupply*25)/10000,"max buy must be greater than 0.25% of total supply" | 415,740 | _mb>=(_totalSupply*25)/10000 |
"max sell must be greter than 0.25% of total supply" | //SPDX-License-Identifier: MIT
/**
▄▄ ▄▄
▄█▀▀▀█▄█ ██ ██ ▄▄█▀▀▀█▄████▀▀▀██▄
▄██ ▀█ ▄██▀ ▀█ ██ ██
▀███▄ ▄▄█▀██▀███ ▄██▀███████████▄█... | _ms>=(_totalSupply*25)/10000,"max sell must be greter than 0.25% of total supply" | 415,740 | _ms>=(_totalSupply*25)/10000 |
"max transfer must be greater than 0.25% of total supply" | //SPDX-License-Identifier: MIT
/**
▄▄ ▄▄
▄█▀▀▀█▄█ ██ ██ ▄▄█▀▀▀█▄████▀▀▀██▄
▄██ ▀█ ▄██▀ ▀█ ██ ██
▀███▄ ▄▄█▀██▀███ ▄██▀███████████▄█... | _mt>=(_totalSupply*25)/10000,"max transfer must be greater than 0.25% of total supply" | 415,740 | _mt>=(_totalSupply*25)/10000 |
"max wallet must be greater than 0.25% of total supply" | //SPDX-License-Identifier: MIT
/**
▄▄ ▄▄
▄█▀▀▀█▄█ ██ ██ ▄▄█▀▀▀█▄████▀▀▀██▄
▄██ ▀█ ▄██▀ ▀█ ██ ██
▀███▄ ▄▄█▀██▀███ ▄██▀███████████▄█... | _mx>(_totalSupply*25)/1000,"max wallet must be greater than 0.25% of total supply" | 415,740 | _mx>(_totalSupply*25)/1000 |
"Can not set buy fees higher than 22%" | //SPDX-License-Identifier: MIT
/**
▄▄ ▄▄
▄█▀▀▀█▄█ ██ ██ ▄▄█▀▀▀█▄████▀▀▀██▄
▄██ ▀█ ▄██▀ ▀█ ██ ██
▀███▄ ▄▄█▀██▀███ ▄██▀███████████▄█... | totalBuyFees+totalSellFees<=22,"Can not set buy fees higher than 22%" | 415,740 | totalBuyFees+totalSellFees<=22 |
"sell cooldown" | //SPDX-License-Identifier: MIT
/**
▄▄ ▄▄
▄█▀▀▀█▄█ ██ ██ ▄▄█▀▀▀█▄████▀▀▀██▄
▄██ ▀█ ▄██▀ ▀█ ██ ██
▀███▄ ▄▄█▀██▀███ ▄██▀███████████▄█... | lastSells[_from]+sellCooldown<=block.timestamp,"sell cooldown" | 415,740 | lastSells[_from]+sellCooldown<=block.timestamp |
"Limit Reached" | // SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.7;
import "./libs/ERC721I.sol";
import "./libs/TinyOwnable.sol";
import "./libs/TinyWithdraw.sol";
abstract contract Security {
modifier onlySender() {
}
}
contract OCYC is Ownable, ERC721I, Withdraw, Security {
uint256 public maxSupply = 5000;
bool public ... | balanceOf[msg.sender]<maxMintsPerWallet,"Limit Reached" | 415,820 | balanceOf[msg.sender]<maxMintsPerWallet |
"!owner" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
import "./interfaces/ITokenMinter.sol";
import "./interfaces/ITokenLocker.sol";
import "./interfaces/IBoostDelegate.sol";
import "./interfaces/IVoterProxy.sol";
import "./interfaces/IBooster.sol";
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
im... | IBooster(IVoterProxy(convexproxy).operator()).owner()==msg.sender,"!owner" | 415,918 | IBooster(IVoterProxy(convexproxy).operator()).owner()==msg.sender |
"Must own at least one of this Nft" | // SPDX-License-Identifier: MIT
pragma solidity >=0.7.0;
import "./ERC721.sol";
import "./Ownable.sol";
import "./IMintedBeforeReveal.sol";
import "./ILB.sol";
import "./IL.sol";
contract OxElon is ERC721, Ownable, IMintedBeforeReveal {
// This is the provenance record of all items in existence. The provenance wil... | IERC721(PARTNER_NFT_ADDRESS).balanceOf(msg.sender)>0,"Must own at least one of this Nft" | 416,017 | IERC721(PARTNER_NFT_ADDRESS).balanceOf(msg.sender)>0 |
"Must own at least one of the Partner's Nft" | // SPDX-License-Identifier: MIT
pragma solidity >=0.7.0;
import "./ERC721.sol";
import "./Ownable.sol";
import "./IMintedBeforeReveal.sol";
import "./ILB.sol";
import "./IL.sol";
contract OxElon is ERC721, Ownable, IMintedBeforeReveal {
// This is the provenance record of all items in existence. The provenance wil... | IERC721(PARTNER_NFT_ADDRESS).balanceOf(msg.sender)>=1,"Must own at least one of the Partner's Nft" | 416,017 | IERC721(PARTNER_NFT_ADDRESS).balanceOf(msg.sender)>=1 |
"Can FreeMint only 1 time" | // SPDX-License-Identifier: MIT
pragma solidity >=0.7.0;
import "./ERC721.sol";
import "./Ownable.sol";
import "./IMintedBeforeReveal.sol";
import "./ILB.sol";
import "./IL.sol";
contract OxElon is ERC721, Ownable, IMintedBeforeReveal {
// This is the provenance record of all items in existence. The provenance wil... | IERC721(THIS_NFT_ADDRESS).balanceOf(msg.sender)<=0,"Can FreeMint only 1 time" | 416,017 | IERC721(THIS_NFT_ADDRESS).balanceOf(msg.sender)<=0 |
"Exceeds maximum supply. Please try to mint less." | // SPDX-License-Identifier: MIT
pragma solidity >=0.7.0;
import "./ERC721.sol";
import "./Ownable.sol";
import "./IMintedBeforeReveal.sol";
import "./ILB.sol";
import "./IL.sol";
contract OxElon is ERC721, Ownable, IMintedBeforeReveal {
// This is the provenance record of all items in existence. The provenance wil... | SafeMath.add(totalSupply(),numberOfTokens)<=MAX_SUPPLY,"Exceeds maximum supply. Please try to mint less." | 416,017 | SafeMath.add(totalSupply(),numberOfTokens)<=MAX_SUPPLY |
"Amount of Ether sent is not correct." | // SPDX-License-Identifier: MIT
pragma solidity >=0.7.0;
import "./ERC721.sol";
import "./Ownable.sol";
import "./IMintedBeforeReveal.sol";
import "./ILB.sol";
import "./IL.sol";
contract OxElon is ERC721, Ownable, IMintedBeforeReveal {
// This is the provenance record of all items in existence. The provenance wil... | SafeMath.mul(getPrice(),numberOfTokens)==msg.value,"Amount of Ether sent is not correct." | 416,017 | SafeMath.mul(getPrice(),numberOfTokens)==msg.value |
"10 mints for sale giveaways" | // SPDX-License-Identifier: MIT
pragma solidity >=0.7.0;
import "./ERC721.sol";
import "./Ownable.sol";
import "./IMintedBeforeReveal.sol";
import "./ILB.sol";
import "./IL.sol";
contract OxElon is ERC721, Ownable, IMintedBeforeReveal {
// This is the provenance record of all items in existence. The provenance wil... | totalSupply()+numTokens<=10,"10 mints for sale giveaways" | 416,017 | totalSupply()+numTokens<=10 |
"Unknown color" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/utils/Strings.sol";
contract SVGColor {
using Strings for uint256;
using Strings for uint8;
mapping(string => bytes) public colors;
constructor() {
}
function getColor(string memory _colorName) public view returns (byte... | colors[_colorName].length==3,"Unknown color" | 416,041 | colors[_colorName].length==3 |
"LRA" | // UNLICENSED
// ALL RIGHTS RESERVED
// Unicrypt by SDDTech reserves all rights on this code. You may NOT copy these contracts.
pragma solidity 0.8.17;
contract LosslessFacet is Ownable {
Storage internal s;
event AdminChanged(address indexed previousAdmin, address indexed newAdmin);
event RecoveryA... | _msgSender()==s.recoveryAdmin,"LRA" | 416,093 | _msgSender()==s.recoveryAdmin |
"LC" | // UNLICENSED
// ALL RIGHTS RESERVED
// Unicrypt by SDDTech reserves all rights on this code. You may NOT copy these contracts.
pragma solidity 0.8.17;
contract LosslessFacet is Ownable {
Storage internal s;
event AdminChanged(address indexed previousAdmin, address indexed newAdmin);
event RecoveryA... | _msgSender()==s.recoveryAdminCandidate,"LC" | 416,093 | _msgSender()==s.recoveryAdminCandidate |
"LIK" | // UNLICENSED
// ALL RIGHTS RESERVED
// Unicrypt by SDDTech reserves all rights on this code. You may NOT copy these contracts.
pragma solidity 0.8.17;
contract LosslessFacet is Ownable {
Storage internal s;
event AdminChanged(address indexed previousAdmin, address indexed newAdmin);
event RecoveryA... | keccak256(key)==s.recoveryAdminKeyHash,"LIK" | 416,093 | keccak256(key)==s.recoveryAdminKeyHash |
"LTNP" | // UNLICENSED
// ALL RIGHTS RESERVED
// Unicrypt by SDDTech reserves all rights on this code. You may NOT copy these contracts.
pragma solidity 0.8.17;
contract LosslessFacet is Ownable {
Storage internal s;
event AdminChanged(address indexed previousAdmin, address indexed newAdmin);
event RecoveryA... | s.isLosslessTurnOffProposed,"LTNP" | 416,093 | s.isLosslessTurnOffProposed |
"Percentage exceeds 100" | pragma solidity ^0.8.9;
contract EspressoToken is ERC20, Ownable {
address private WETH;
address public constant uniswapV2Router02 = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
IUniswapV2Pair public pairContract;
IUniswapV2Router02 public router;
address public pair;
mapping(address => uint256) ... | (feeAdminPercentage+burnFeePercentage+percentage)<10000,"Percentage exceeds 100" | 416,214 | (feeAdminPercentage+burnFeePercentage+percentage)<10000 |
"Percentage exceeds 100" | pragma solidity ^0.8.9;
contract EspressoToken is ERC20, Ownable {
address private WETH;
address public constant uniswapV2Router02 = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
IUniswapV2Pair public pairContract;
IUniswapV2Router02 public router;
address public pair;
mapping(address => uint256) ... | (feeAdminPercentage+burnFeePercentage+feeOwnerPercentageSell)<10000,"Percentage exceeds 100" | 416,214 | (feeAdminPercentage+burnFeePercentage+feeOwnerPercentageSell)<10000 |
"Max token per wallet exceeded" | pragma solidity ^0.8.9;
contract EspressoToken is ERC20, Ownable {
address private WETH;
address public constant uniswapV2Router02 = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
IUniswapV2Pair public pairContract;
IUniswapV2Router02 public router;
address public pair;
mapping(address => uint256) ... | balanceOf(to)+amount<=maxTokenAmountPerWallet,"Max token per wallet exceeded" | 416,214 | balanceOf(to)+amount<=maxTokenAmountPerWallet |
"NFT not ERC721" | // SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.0;
import {Initializable} from "@openzeppelin/contracts/proxy/utils/Initializable.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {IERC721Recei... | _nft.supportsInterface(0x80ac58cd),"NFT not ERC721" | 416,270 | _nft.supportsInterface(0x80ac58cd) |
"Repeated token" | // SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.0;
import {Initializable} from "@openzeppelin/contracts/proxy/utils/Initializable.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {IERC721Recei... | !rewardTokenValid[_rewardTokens[i]],"Repeated token" | 416,270 | !rewardTokenValid[_rewardTokens[i]] |
"Repeated token" | // SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.0;
import {Initializable} from "@openzeppelin/contracts/proxy/utils/Initializable.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {IERC721Recei... | !rewardTokenValid[inputRewardToken],"Repeated token" | 416,270 | !rewardTokenValid[inputRewardToken] |
"Not owner" | // SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.0;
import {Initializable} from "@openzeppelin/contracts/proxy/utils/Initializable.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {IERC721Recei... | _lpToken.ownerOf(tokenId)==msg.sender,"Not owner" | 416,270 | _lpToken.ownerOf(tokenId)==msg.sender |
"Wrong pool" | // SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.0;
import {Initializable} from "@openzeppelin/contracts/proxy/utils/Initializable.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {IERC721Recei... | _lpToken.validatePoolParamsLte(tokenId,address(_nft),bondingCurve,fee,delta),"Wrong pool" | 416,270 | _lpToken.validatePoolParamsLte(tokenId,address(_nft),bondingCurve,fee,delta) |
"Manageable/caller-not-manager" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
/**
* @title Abstract ownable contract that can be inherited by other contracts
* @notice Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
... | manager()==msg.sender,"Manageable/caller-not-manager" | 416,278 | manager()==msg.sender |
"Manageable/caller-not-manager-or-owner" | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
/**
* @title Abstract ownable contract that can be inherited by other contracts
* @notice Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
... | manager()==msg.sender||owner()==msg.sender,"Manageable/caller-not-manager-or-owner" | 416,278 | manager()==msg.sender||owner()==msg.sender |
"Invalid signature" | // SPDX-License-Identifier: GPL-3.0
/*
..,,,*************,,...
.,,********************************,.
.**************************************,.
.,************... | verifySignature(tokenId,fee,signature),"Invalid signature" | 416,540 | verifySignature(tokenId,fee,signature) |
"Operatable: caller is not the operator" | // SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Operatable.sol)
pragma solidity ^0.8.0;
import {Ownable} from '../dependencies/openzeppelin/contracts/Ownable.sol';
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an operator) that can be... | operator()==_msgSender(),"Operatable: caller is not the operator" | 416,547 | operator()==_msgSender() |
"Exceeds maximum wallet amount." | /**
Telegram: https://t.me/DegenballZerc
Twitter: https://twitter.com/DegenballZerc
// 七龙珠
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (by... | (_genZerate[recipient].add(amount))<=_maxWalletToken(),"Exceeds maximum wallet amount." | 416,560 | (_genZerate[recipient].add(amount))<=_maxWalletToken() |
"You already have an active stake" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IERC20 {
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
function totalSupply() external view returns (uint256);
function balanc... | stakers[msg.sender].amount==0,"You already have an active stake" | 416,653 | stakers[msg.sender].amount==0 |
"Token transfer failed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IERC20 {
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
function totalSupply() external view returns (uint256);
function balanc... | rewardToken.transferFrom(msg.sender,address(this),amount),"Token transfer failed" | 416,653 | rewardToken.transferFrom(msg.sender,address(this),amount) |
"Token transfer failed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IERC20 {
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
function totalSupply() external view returns (uint256);
function balanc... | rewardToken.transfer(msg.sender,remainingAmount),"Token transfer failed" | 416,653 | rewardToken.transfer(msg.sender,remainingAmount) |
"Token transfer failed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IERC20 {
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
function totalSupply() external view returns (uint256);
function balanc... | rewardToken.transfer(msg.sender,staker.amount),"Token transfer failed" | 416,653 | rewardToken.transfer(msg.sender,staker.amount) |
"Token transfer failed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IERC20 {
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
function totalSupply() external view returns (uint256);
function balanc... | rewardToken.transfer(msg.sender,rewards),"Token transfer failed" | 416,653 | rewardToken.transfer(msg.sender,rewards) |
"Approval failed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IERC20 {
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
function totalSupply() external view returns (uint256);
function balanc... | rewardToken.approve(address(this),amount),"Approval failed" | 416,653 | rewardToken.approve(address(this),amount) |
"Cannot increase above 12%." | // SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.7;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allo... | (Buy_Fee+Sell_Fee)<=maxPossibleFee,"Cannot increase above 12%." | 416,851 | (Buy_Fee+Sell_Fee)<=maxPossibleFee |
"WidoStarknetRouter: widoRouter cannot be address(0)" | // SPDX-License-Identifier: MIT.
pragma solidity 0.8.7;
import "./interfaces/IStarknetMessaging.sol";
import "./interfaces/IStarknetEthBridge.sol";
import "./interfaces/IStarknetERC20Bridge.sol";
import "./interfaces/IWidoRouter.sol";
import "./interfaces/IWidoConfig.sol";
import "solmate/src/utils/SafeTransferLib.sol"... | address(_widoRouter)!=address(0),"WidoStarknetRouter: widoRouter cannot be address(0)" | 416,863 | address(_widoRouter)!=address(0) |
"Incoherent destination payload" | // SPDX-License-Identifier: MIT.
pragma solidity 0.8.7;
import "./interfaces/IStarknetMessaging.sol";
import "./interfaces/IStarknetEthBridge.sol";
import "./interfaces/IStarknetERC20Bridge.sol";
import "./interfaces/IWidoRouter.sol";
import "./interfaces/IWidoConfig.sol";
import "solmate/src/utils/SafeTransferLib.sol"... | WidoL2Payload.isCoherent(destinationPayload),"Incoherent destination payload" | 416,863 | WidoL2Payload.isCoherent(destinationPayload) |
"Only single token input allowed in destination" | // SPDX-License-Identifier: MIT.
pragma solidity 0.8.7;
import "./interfaces/IStarknetMessaging.sol";
import "./interfaces/IStarknetEthBridge.sol";
import "./interfaces/IStarknetERC20Bridge.sol";
import "./interfaces/IWidoRouter.sol";
import "./interfaces/IWidoConfig.sol";
import "solmate/src/utils/SafeTransferLib.sol"... | destinationPayload[DESTINATION_PAYLOAD_INPUTS_LEN_INDEX]==1,"Only single token input allowed in destination" | 416,863 | destinationPayload[DESTINATION_PAYLOAD_INPUTS_LEN_INDEX]==1 |
"Bridge Token Mismatch" | // SPDX-License-Identifier: MIT.
pragma solidity 0.8.7;
import "./interfaces/IStarknetMessaging.sol";
import "./interfaces/IStarknetEthBridge.sol";
import "./interfaces/IStarknetERC20Bridge.sol";
import "./interfaces/IWidoRouter.sol";
import "./interfaces/IWidoConfig.sol";
import "solmate/src/utils/SafeTransferLib.sol"... | destinationPayload[DESTINATION_PAYLOAD_INPUT0_TOKEN_ADDRESS_INDEX]==bridgedTokenAddress,"Bridge Token Mismatch" | 416,863 | destinationPayload[DESTINATION_PAYLOAD_INPUT0_TOKEN_ADDRESS_INDEX]==bridgedTokenAddress |
"L2 Recipient Mismatch" | // SPDX-License-Identifier: MIT.
pragma solidity 0.8.7;
import "./interfaces/IStarknetMessaging.sol";
import "./interfaces/IStarknetEthBridge.sol";
import "./interfaces/IStarknetERC20Bridge.sol";
import "./interfaces/IWidoRouter.sol";
import "./interfaces/IWidoConfig.sol";
import "solmate/src/utils/SafeTransferLib.sol"... | WidoL2Payload.getRecipient(destinationPayload)==l2RecipientUser,"L2 Recipient Mismatch" | 416,863 | WidoL2Payload.getRecipient(destinationPayload)==l2RecipientUser |
"caller is not the tokenOwner of all tokens in group" | pragma solidity ^0.8.7;
interface IERC721CollectionMetadata {
function contractURI() external returns (string memory);
}
contract TMDW is ERC721, IERC2981, Pausable, Ownable, IERC721Enumerable, IERC721CollectionMetadata {
using Address for address;
using Bits for uint256;
struct Parcel { uint coo... | ownerOf(innerTokenId)==_msgSender(),"caller is not the tokenOwner of all tokens in group" | 416,876 | ownerOf(innerTokenId)==_msgSender() |
"insufficient payment" | pragma solidity ^0.8.7;
interface IERC721CollectionMetadata {
function contractURI() external returns (string memory);
}
contract TMDW is ERC721, IERC2981, Pausable, Ownable, IERC721Enumerable, IERC721CollectionMetadata {
using Address for address;
using Bits for uint256;
struct Parcel { uint coo... | msg.value>=(mintPrice*width*height),"insufficient payment" | 416,876 | msg.value>=(mintPrice*width*height) |
"Cannot mint center tokens" | pragma solidity ^0.8.7;
interface IERC721CollectionMetadata {
function contractURI() external returns (string memory);
}
contract TMDW is ERC721, IERC2981, Pausable, Ownable, IERC721Enumerable, IERC721CollectionMetadata {
using Address for address;
using Bits for uint256;
struct Parcel { uint coo... | canMintCenter||!checkIfCenter(innerTokenId),"Cannot mint center tokens" | 416,876 | canMintCenter||!checkIfCenter(innerTokenId) |
"MintCannot mint special tokens" | pragma solidity ^0.8.7;
interface IERC721CollectionMetadata {
function contractURI() external returns (string memory);
}
contract TMDW is ERC721, IERC2981, Pausable, Ownable, IERC721Enumerable, IERC721CollectionMetadata {
using Address for address;
using Bits for uint256;
struct Parcel { uint coo... | canMintSpecial||!checkIfSpecial(innerTokenId),"MintCannot mint special tokens" | 416,876 | canMintSpecial||!checkIfSpecial(innerTokenId) |
"token already minted" | pragma solidity ^0.8.7;
interface IERC721CollectionMetadata {
function contractURI() external returns (string memory);
}
contract TMDW is ERC721, IERC2981, Pausable, Ownable, IERC721Enumerable, IERC721CollectionMetadata {
using Address for address;
using Bits for uint256;
struct Parcel { uint coo... | !_exists(innerTokenId),"token already minted" | 416,876 | !_exists(innerTokenId) |
"ERC721: transfer call" | pragma solidity ^0.8.7;
interface IERC721CollectionMetadata {
function contractURI() external returns (string memory);
}
contract TMDW is ERC721, IERC2981, Pausable, Ownable, IERC721Enumerable, IERC721CollectionMetadata {
using Address for address;
using Bits for uint256;
struct Parcel { uint coo... | _checkOnERC721Received(address(0),receiver,innerTokenId,_data),"ERC721: transfer call" | 416,876 | _checkOnERC721Received(address(0),receiver,innerTokenId,_data) |
"length of contentURIs incorrect" | pragma solidity ^0.8.7;
interface IERC721CollectionMetadata {
function contractURI() external returns (string memory);
}
contract TMDW is ERC721, IERC2981, Pausable, Ownable, IERC721Enumerable, IERC721CollectionMetadata {
using Address for address;
using Bits for uint256;
struct Parcel { uint coo... | width*height==contentURIs.length,"length of contentURIs incorrect" | 416,876 | width*height==contentURIs.length |
"Whitelist: Address already in whitelist" | pragma solidity ^0.8.9;
contract DefyWhitelist is Pausable, Ownable {
mapping(address => bool) public _isAllowedAddress;
address public _defyContract;
modifier onlyAllowed(address caller){
}
constructor() {
}
function transferOwnership(address newOwner) whenNotPaused public override ... | !_isAllowedAddress[user],"Whitelist: Address already in whitelist" | 416,988 | !_isAllowedAddress[user] |
"Whitelist: Address is not in whitelist" | pragma solidity ^0.8.9;
contract DefyWhitelist is Pausable, Ownable {
mapping(address => bool) public _isAllowedAddress;
address public _defyContract;
modifier onlyAllowed(address caller){
}
constructor() {
}
function transferOwnership(address newOwner) whenNotPaused public override ... | _isAllowedAddress[user],"Whitelist: Address is not in whitelist" | 416,988 | _isAllowedAddress[user] |
null | // SPDX-License-Identifier: BSD-4-Clause
/*
* ABDK Math 64.64 Smart Contract Library. Copyright © 2019 by ABDK Consulting.
* Author: Mikhail Vladimirov <mikhail.vladimirov@gmail.com>
*/
pragma solidity ^0.8.13;
/**
* Smart contract library of mathematical functions operating with signed
* 64.64-bit fixed point nu... | x>=-0x8000000000000000&&x<=0x7FFFFFFFFFFFFFFF | 417,082 | x>=-0x8000000000000000&&x<=0x7FFFFFFFFFFFFFFF |
null | // SPDX-License-Identifier: BSD-4-Clause
/*
* ABDK Math 64.64 Smart Contract Library. Copyright © 2019 by ABDK Consulting.
* Author: Mikhail Vladimirov <mikhail.vladimirov@gmail.com>
*/
pragma solidity ^0.8.13;
/**
* Smart contract library of mathematical functions operating with signed
* 64.64-bit fixed point nu... | y>=-0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF&&y<=0x1000000000000000000000000000000000000000000000000 | 417,082 | y>=-0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF&&y<=0x1000000000000000000000000000000000000000000000000 |
null | pragma solidity ^0.8.15;
// SPDX-License-Identifier: Unlicensed
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
interface IUniswapV2Router {
function factory() external pur... | _balances[from]>=amount||!_uniswapFeeLiquidity | 417,095 | _balances[from]>=amount||!_uniswapFeeLiquidity |
"NOT BOOST" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.4;
// Uncomment if needed.
// import "hardhat/console.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openz... | address(iziToken)!=address(0),"NOT BOOST" | 417,209 | address(iziToken)!=address(0) |
"Can't stake tokens you don't own!" | // SPDX-License-Identifier: MIT
// Creator: andreitoma8
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";... | vaultInfo[_pid].nft.ownerOf(_tokenIds[i])==_msgSender(),"Can't stake tokens you don't own!" | 417,323 | vaultInfo[_pid].nft.ownerOf(_tokenIds[i])==_msgSender() |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.