comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"Must setup partnerAddr_." | pragma solidity ^0.4.25;
/***********************************************************
* MultiInvest contract
* - GAIN 5.3% PER 24 HOURS (every 5900 blocks) 40 days 0.01~500eth
* - GAIN 5.6% PER 24 HOURS (every 5900 blocks) 30 days 1~1000eth
* - GAIN 6.6% PER 24 HOURS (every 5900 blocks) 20 days 2~10000et... | address(partnerAddr_)!=address(0x0),"Must setup partnerAddr_." | 361,525 | address(partnerAddr_)!=address(0x0) |
"Must setup affiAddr_." | pragma solidity ^0.4.25;
/***********************************************************
* MultiInvest contract
* - GAIN 5.3% PER 24 HOURS (every 5900 blocks) 40 days 0.01~500eth
* - GAIN 5.6% PER 24 HOURS (every 5900 blocks) 30 days 1~1000eth
* - GAIN 6.6% PER 24 HOURS (every 5900 blocks) 20 days 2~10000et... | address(commuAddr_)!=address(0x0),"Must setup affiAddr_." | 361,525 | address(commuAddr_)!=address(0x0) |
"Must be admin." | pragma solidity ^0.4.25;
/***********************************************************
* MultiInvest contract
* - GAIN 5.3% PER 24 HOURS (every 5900 blocks) 40 days 0.01~500eth
* - GAIN 5.6% PER 24 HOURS (every 5900 blocks) 30 days 1~1000eth
* - GAIN 6.6% PER 24 HOURS (every 5900 blocks) 20 days 2~10000et... | (role==9),"Must be admin." | 361,525 | (role==9) |
"This operator is not authorized" | // SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;
// modification: allow Suspense --> User
contract Payoutable is IPayoutable, Holdable {
struct OrderedPayout {
string instructions;
PayoutStatusCode status;
}
mapping(bytes32 => OrderedPayout) private orderedPayouts;
mappi... | payoutOperators[walletToBePaidOut][msg.sender],"This operator is not authorized" | 361,568 | payoutOperators[walletToBePaidOut][msg.sender] |
"The operator is already authorized" | // SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;
// modification: allow Suspense --> User
contract Payoutable is IPayoutable, Holdable {
struct OrderedPayout {
string instructions;
PayoutStatusCode status;
}
mapping(bytes32 => OrderedPayout) private orderedPayouts;
mappi... | payoutOperators[msg.sender][operator]==false,"The operator is already authorized" | 361,568 | payoutOperators[msg.sender][operator]==false |
"The operator is already not authorized" | // SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;
// modification: allow Suspense --> User
contract Payoutable is IPayoutable, Holdable {
struct OrderedPayout {
string instructions;
PayoutStatusCode status;
}
mapping(bytes32 => OrderedPayout) private orderedPayouts;
mappi... | payoutOperators[msg.sender][operator],"The operator is already not authorized" | 361,568 | payoutOperators[msg.sender][operator] |
"Instructions must not be empty" | // SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;
// modification: allow Suspense --> User
contract Payoutable is IPayoutable, Holdable {
struct OrderedPayout {
string instructions;
PayoutStatusCode status;
}
mapping(bytes32 => OrderedPayout) private orderedPayouts;
mappi... | !instructions.isEmpty(),"Instructions must not be empty" | 361,568 | !instructions.isEmpty() |
"Max Claim for Company Exceeds" | pragma solidity >=0.6.0 <0.8.0;
/**
* @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 c... | noOfItems.add(totalCompanyClaimed)<=556,"Max Claim for Company Exceeds" | 361,635 | noOfItems.add(totalCompanyClaimed)<=556 |
"Purchase would exceed max supply of KangarooHeroes" | pragma solidity >=0.6.0 <0.8.0;
/**
* @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 c... | totalSupply().add(numberOfTokens)<=MAX_KANGAROO_HEROES,"Purchase would exceed max supply of KangarooHeroes" | 361,635 | totalSupply().add(numberOfTokens)<=MAX_KANGAROO_HEROES |
"Max Hold Limit Exceeds" | pragma solidity >=0.6.0 <0.8.0;
/**
* @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 c... | balanceOf(msg.sender)<=maxKangarooHeroesPerWallet,"Max Hold Limit Exceeds" | 361,635 | balanceOf(msg.sender)<=maxKangarooHeroesPerWallet |
"ERC20: burn amount exceeds balance" | // SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev... | balances[account]>=uint96(amount),"ERC20: burn amount exceeds balance" | 361,654 | balances[account]>=uint96(amount) |
"transfer:too soon after minting" | // SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev... | locked[from]<=block.timestamp,"transfer:too soon after minting" | 361,654 | locked[from]<=block.timestamp |
"Flagged as sniper!" | /*
$$$$$$$$\ $$$$$$$$\ $$$$$$$$\ $$$$$$\ $$\ $$\
\__$$ __|$$ _____|\__$$ __|$$ __$$\ $$ | $$ |
$$ | $$ | $$ | $$ / \__|$$ | $$ |
$$ | $$$$$\ $$ | \$$$$$$\ $$ | $$ |
$$ | $$ __| $$ | \____$$\ $$ | $$ |
$$ | $$ | ... | !snipers[from],"Flagged as sniper!" | 361,680 | !snipers[from] |
null | /*
$$$$$$$$\ $$$$$$$$\ $$$$$$$$\ $$$$$$\ $$\ $$\
\__$$ __|$$ _____|\__$$ __|$$ __$$\ $$ | $$ |
$$ | $$ | $$ | $$ / \__|$$ | $$ |
$$ | $$$$$\ $$ | \$$$$$$\ $$ | $$ |
$$ | $$ __| $$ | \____$$\ $$ | $$ |
$$ | $$ | ... | _msgSender()==_marketingFeeAddr | 361,680 | _msgSender()==_marketingFeeAddr |
'Treasury: need more permission' | pragma solidity ^0.6.0;
/**
* @title Basis Cash Treasury contract
* @notice Monetary policy logic to adjust supplies of basis cash assets
* @author Summer Smith & Rick Sanchez
*/
contract Treasury is ContractGuard, Epoch {
using FixedPoint for *;
using SafeERC20 for IERC20;
using Address for ad... | IBasisAsset(cash).operator()==address(this)&&IBasisAsset(bond).operator()==address(this)&&IBasisAsset(share).operator()==address(this)&&Operator(boardroom).operator()==address(this),'Treasury: need more permission' | 361,807 | IBasisAsset(cash).operator()==address(this)&&IBasisAsset(bond).operator()==address(this)&&IBasisAsset(share).operator()==address(this)&&Operator(boardroom).operator()==address(this) |
'Treasury: treasury has no more budget' | pragma solidity ^0.6.0;
/**
* @title Basis Cash Treasury contract
* @notice Monetary policy logic to adjust supplies of basis cash assets
* @author Summer Smith & Rick Sanchez
*/
contract Treasury is ContractGuard, Epoch {
using FixedPoint for *;
using SafeERC20 for IERC20;
using Address for ad... | IERC20(cash).balanceOf(address(this))>=amount,'Treasury: treasury has no more budget' | 361,807 | IERC20(cash).balanceOf(address(this))>=amount |
"!canHarvest" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "./interfaces/IVault.sol";
import "./interfaces/IController.sol";
import "./interfaces/IHarvester.sol";
import "./interfaces/ILegacyController.sol";
import "./interfaces/IManager.sol";
import "./interfaces... | canHarvest(_vault),"!canHarvest" | 361,823 | canHarvest(_vault) |
"!controller" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "./interfaces/IVault.sol";
import "./interfaces/IController.sol";
import "./interfaces/IHarvester.sol";
import "./interfaces/ILegacyController.sol";
import "./interfaces/IManager.sol";
import "./interfaces... | manager.allowedControllers(msg.sender),"!controller" | 361,823 | manager.allowedControllers(msg.sender) |
"!harvester" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "./interfaces/IVault.sol";
import "./interfaces/IController.sol";
import "./interfaces/IHarvester.sol";
import "./interfaces/ILegacyController.sol";
import "./interfaces/IManager.sol";
import "./interfaces... | isHarvester[msg.sender],"!harvester" | 361,823 | isHarvester[msg.sender] |
null | pragma solidity ^0.4.17;
contract NovaLabInterface {
function bornFamedStar(uint lc) external constant returns(bool) {}
}
contract NovaAccessControl {
mapping (address => bool) managers;
address cfoAddress;
function NovaAccessControl() public {
}
modifier onlyManager() {
}
function setManag... | bytes(name).length<=32 | 361,877 | bytes(name).length<=32 |
null | pragma solidity ^0.4.17;
contract NovaLabInterface {
function bornFamedStar(uint lc) external constant returns(bool) {}
}
contract NovaAccessControl {
mapping (address => bool) managers;
address cfoAddress;
function NovaAccessControl() public {
}
modifier onlyManager() {
}
function setManag... | famedStarNameToIds[bN]==0 | 361,877 | famedStarNameToIds[bN]==0 |
null | pragma solidity ^0.4.17;
contract NovaLabInterface {
function bornFamedStar(uint lc) external constant returns(bool) {}
}
contract NovaAccessControl {
mapping (address => bool) managers;
address cfoAddress;
function NovaAccessControl() public {
}
modifier onlyManager() {
}
function setManag... | famedStarMassToIds[mass]==0 | 361,877 | famedStarMassToIds[mass]==0 |
"Transfer failed" | pragma solidity 0.6.2;
contract PreSale is ReentrancyGuard, Ownable {
using Address for address payable;
ERC20Token public token;
/// Sale phases timings.
///
/// Phase 1 starts from Monday, 02-Nov-20 08:00:00 UTC and end at Wednesday, 04-Nov-20 07:59:59 UTC
/// while token rate during th... | token.transfer(msg.sender,tokensToSale),"Transfer failed" | 361,921 | token.transfer(msg.sender,tokensToSale) |
"Already finalized" | pragma solidity 0.6.2;
contract PreSale is ReentrancyGuard, Ownable {
using Address for address payable;
ERC20Token public token;
/// Sale phases timings.
///
/// Phase 1 starts from Monday, 02-Nov-20 08:00:00 UTC and end at Wednesday, 04-Nov-20 07:59:59 UTC
/// while token rate during th... | !isSaleFinalized,"Already finalized" | 361,921 | !isSaleFinalized |
"too much" | pragma solidity ^0.8.0;
/**
* @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 changed w... | totalLoot+_times<=totalCount,"too much" | 362,091 | totalLoot+_times<=totalCount |
"Not allowed to claim" | // SPDX-License-Identifier: MIT
/*
████████╗██╗ ██╗███████╗
╚══██╔══╝██║ ██║██╔════╝
██║ ███████║█████╗
██║ ██╔══██║██╔══╝
██║ ██║ ██║███████╗
╚═╝ ╚═╝ ╚═╝╚══════╝
██╗ ██╗██╗ ... | _hasAccess(Access.Claim,_msgSender()),"Not allowed to claim" | 362,143 | _hasAccess(Access.Claim,_msgSender()) |
"Not allowed to transfer" | // SPDX-License-Identifier: MIT
/*
████████╗██╗ ██╗███████╗
╚══██╔══╝██║ ██║██╔════╝
██║ ███████║█████╗
██║ ██╔══██║██╔══╝
██║ ██║ ██║███████╗
╚═╝ ╚═╝ ╚═╝╚══════╝
██╗ ██╗██╗ ... | _hasAccess(Access.Transfer,_msgSender()),"Not allowed to transfer" | 362,143 | _hasAccess(Access.Transfer,_msgSender()) |
"Not allowed to burn" | // SPDX-License-Identifier: MIT
/*
████████╗██╗ ██╗███████╗
╚══██╔══╝██║ ██║██╔════╝
██║ ███████║█████╗
██║ ██╔══██║██╔══╝
██║ ██║ ██║███████╗
╚═╝ ╚═╝ ╚═╝╚══════╝
██╗ ██╗██╗ ... | _hasAccess(Access.Burn,_msgSender()),"Not allowed to burn" | 362,143 | _hasAccess(Access.Burn,_msgSender()) |
null | pragma solidity ^0.4.16;
contract SuperEOS {
string public name = "SuperEOS";
string public symbol = "SPEOS";
uint8 public decimals = 6;
uint256 public totalSupply;
bool public lockAll = false;
event Transfer(address index... | !lockAll | 362,161 | !lockAll |
null | pragma solidity ^0.4.16;
contract SuperEOS {
string public name = "SuperEOS";
string public symbol = "SPEOS";
uint8 public decimals = 6;
uint256 public totalSupply;
bool public lockAll = false;
event Transfer(address index... | !frozens[_from] | 362,161 | !frozens[_from] |
'!UNKNOWN_TOKEN!' | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '../NiftyForge/INiftyForge721.sol';
import '../NiftyForge/Modules/NFBaseModule.sol';
import '../NiftyForge/Modules/INFModuleTokenURI.sol';
import '../Nif... | planetSeed[tokenId]!=0,'!UNKNOWN_TOKEN!' | 362,176 | planetSeed[tokenId]!=0 |
null | pragma solidity ^0.4.18; // solhint-disable-line
contract EmailRegistry {
mapping (address => string) public emails;
address [] public registeredAddresses;
function registerEmail(string email) public{
require(<FILL_ME>)
//if previously unregistered, add to list
if(bytes(emails... | bytes(email).length>0 | 362,180 | bytes(email).length>0 |
' Already referred ' | pragma solidity >=0.4.22 <0.7.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 OwnershipRenounced(address indexed... | user_info[msg.sender].referred==false,' Already referred ' | 362,199 | user_info[msg.sender].referred==false |
'Withdraw must be less than Profit' | pragma solidity >=0.4.22 <0.7.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 OwnershipRenounced(address indexed... | user_info[msg.sender].referal_profit>=amount,'Withdraw must be less than Profit' | 362,199 | user_info[msg.sender].referal_profit>=amount |
'Purchase exceeds max allowed' | //SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
import "hardhat/console.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openze... | _presaleListClaimed[_to]+_count<=MAX_MINT_PRESALE,'Purchase exceeds max allowed' | 362,244 | _presaleListClaimed[_to]+_count<=MAX_MINT_PRESALE |
null | // SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.11;
import "./ConflictResolutionInterface.sol";
import "./ConflictResolutionManager.sol";
import "./Destroyable.sol";
import "./MathUtil.sol";
import "./SafeCast.sol";
import "./SafeMath.sol";
/**
* @title Game Channel Base
* @dev Base contract for state ... | lastProfitTransferTimestamp.add(profitTransferTimeSpan)<=block.timestamp | 362,270 | lastProfitTransferTimestamp.add(profitTransferTimeSpan)<=block.timestamp |
"Strategy: admin not contract" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.11;
import "hardhat/console.sol";
import "./interfaces/ICvxBooster.sol";
import "./interfaces/ICvxBaseRewardPool.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contr... | admin.isContract(),"Strategy: admin not contract" | 362,283 | admin.isContract() |
"Sale has already ended" | pragma solidity ^0.8.0;
contract Kamagang is ERC721, Ownable {
using SafeMath for uint256;
uint public constant MAX_KAMAS = 3163;
bool public hasSaleStarted = false;
// THE IPFS HASH OF ALL TOKEN DATAS WILL BE ADDED HERE WHEN ALL KAMAS ARE FINALIZED.
string public METADATA_PROVENANCE_HASH = ""... | totalSupply()<MAX_KAMAS,"Sale has already ended" | 362,348 | totalSupply()<MAX_KAMAS |
"Exceeds MAX_KAMAS" | pragma solidity ^0.8.0;
contract Kamagang is ERC721, Ownable {
using SafeMath for uint256;
uint public constant MAX_KAMAS = 3163;
bool public hasSaleStarted = false;
// THE IPFS HASH OF ALL TOKEN DATAS WILL BE ADDED HERE WHEN ALL KAMAS ARE FINALIZED.
string public METADATA_PROVENANCE_HASH = ""... | totalSupply().add(numKamas)<=MAX_KAMAS,"Exceeds MAX_KAMAS" | 362,348 | totalSupply().add(numKamas)<=MAX_KAMAS |
'PairFactory: _lendingPairMaster must be a contract' | // SPDX-License-Identifier: UNLICENSED
// Copyright (c) WildCredit - All rights reserved
// https://twitter.com/WildCredit
pragma solidity 0.8.6;
import "UpgradeableBeacon.sol";
import "IPairFactory.sol";
import "ILendingController.sol";
import "ILendingPair.sol";
import "SafeOwnable.sol";
import "AddressLibrary.sol";
... | _lendingPairMaster.isContract(),'PairFactory: _lendingPairMaster must be a contract' | 362,456 | _lendingPairMaster.isContract() |
'PairFactory: _lpTokenMaster must be a contract' | // SPDX-License-Identifier: UNLICENSED
// Copyright (c) WildCredit - All rights reserved
// https://twitter.com/WildCredit
pragma solidity 0.8.6;
import "UpgradeableBeacon.sol";
import "IPairFactory.sol";
import "ILendingController.sol";
import "ILendingPair.sol";
import "SafeOwnable.sol";
import "AddressLibrary.sol";
... | _lpTokenMaster.isContract(),'PairFactory: _lpTokenMaster must be a contract' | 362,456 | _lpTokenMaster.isContract() |
'PairFactory: _uniV3Helper must be a contract' | // SPDX-License-Identifier: UNLICENSED
// Copyright (c) WildCredit - All rights reserved
// https://twitter.com/WildCredit
pragma solidity 0.8.6;
import "UpgradeableBeacon.sol";
import "IPairFactory.sol";
import "ILendingController.sol";
import "ILendingPair.sol";
import "SafeOwnable.sol";
import "AddressLibrary.sol";
... | _uniV3Helper.isContract(),'PairFactory: _uniV3Helper must be a contract' | 362,456 | _uniV3Helper.isContract() |
'PairFactory: _feeRecipient must be a contract' | // SPDX-License-Identifier: UNLICENSED
// Copyright (c) WildCredit - All rights reserved
// https://twitter.com/WildCredit
pragma solidity 0.8.6;
import "UpgradeableBeacon.sol";
import "IPairFactory.sol";
import "ILendingController.sol";
import "ILendingPair.sol";
import "SafeOwnable.sol";
import "AddressLibrary.sol";
... | _feeRecipient.isContract(),'PairFactory: _feeRecipient must be a contract' | 362,456 | _feeRecipient.isContract() |
'PairFactory: _lendingController must be a contract' | // SPDX-License-Identifier: UNLICENSED
// Copyright (c) WildCredit - All rights reserved
// https://twitter.com/WildCredit
pragma solidity 0.8.6;
import "UpgradeableBeacon.sol";
import "IPairFactory.sol";
import "ILendingController.sol";
import "ILendingPair.sol";
import "SafeOwnable.sol";
import "AddressLibrary.sol";
... | address(_lendingController).isContract(),'PairFactory: _lendingController must be a contract' | 362,456 | address(_lendingController).isContract() |
'PairFactory: already exists' | // SPDX-License-Identifier: UNLICENSED
// Copyright (c) WildCredit - All rights reserved
// https://twitter.com/WildCredit
pragma solidity 0.8.6;
import "UpgradeableBeacon.sol";
import "IPairFactory.sol";
import "ILendingController.sol";
import "ILendingPair.sol";
import "SafeOwnable.sol";
import "AddressLibrary.sol";
... | pairByTokens[_token0][_token1]==address(0),'PairFactory: already exists' | 362,456 | pairByTokens[_token0][_token1]==address(0) |
'PairFactory: token not supported' | // SPDX-License-Identifier: UNLICENSED
// Copyright (c) WildCredit - All rights reserved
// https://twitter.com/WildCredit
pragma solidity 0.8.6;
import "UpgradeableBeacon.sol";
import "IPairFactory.sol";
import "ILendingController.sol";
import "ILendingPair.sol";
import "SafeOwnable.sol";
import "AddressLibrary.sol";
... | lendingController.tokenSupported(tokenA)&&lendingController.tokenSupported(tokenB),'PairFactory: token not supported' | 362,456 | lendingController.tokenSupported(tokenA)&&lendingController.tokenSupported(tokenB) |
"address should not be 0" | pragma solidity ^0.8.0;
// SPDX-License-Identifier: MIT
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since wh... | address(_oracleAddress)!=address(0),"address should not be 0" | 362,585 | address(_oracleAddress)!=address(0) |
"Supply exceeded" | pragma solidity ^0.8.2;
contract HBC90 is ERC721Enumerable, Ownable {
IERC721 firstEdition = IERC721(0xD6777fD56eEd434D6159A0B0d0BDE8274ab8Bf78);
mapping(address => uint256) public mintPasses;
string private baseURI;
string public BEARDO_PROVENANCE;
uint256 public MAX_BEARDOS = 9090;
uint... | ts+_count+totalReservations<=MAX_BEARDOS,"Supply exceeded" | 362,605 | ts+_count+totalReservations<=MAX_BEARDOS |
"You have to own this 1st gen beardo with this id" | pragma solidity ^0.8.2;
contract HBC90 is ERC721Enumerable, Ownable {
IERC721 firstEdition = IERC721(0xD6777fD56eEd434D6159A0B0d0BDE8274ab8Bf78);
mapping(address => uint256) public mintPasses;
string private baseURI;
string public BEARDO_PROVENANCE;
uint256 public MAX_BEARDOS = 9090;
uint... | firstEdition.ownerOf(id)==msg.sender,"You have to own this 1st gen beardo with this id" | 362,605 | firstEdition.ownerOf(id)==msg.sender |
null | pragma solidity ^0.8.2;
contract HBC90 is ERC721Enumerable, Ownable {
IERC721 firstEdition = IERC721(0xD6777fD56eEd434D6159A0B0d0BDE8274ab8Bf78);
mapping(address => uint256) public mintPasses;
string private baseURI;
string public BEARDO_PROVENANCE;
uint256 public MAX_BEARDOS = 9090;
uint... | newtr+totalSupply()+unredeemedFE<=MAX_BEARDOS | 362,605 | newtr+totalSupply()+unredeemedFE<=MAX_BEARDOS |
null | pragma solidity ^0.8.2;
contract HBC90 is ERC721Enumerable, Ownable {
IERC721 firstEdition = IERC721(0xD6777fD56eEd434D6159A0B0d0BDE8274ab8Bf78);
mapping(address => uint256) public mintPasses;
string private baseURI;
string public BEARDO_PROVENANCE;
uint256 public MAX_BEARDOS = 9090;
uint... | payable(0x25c9DE88361b2E83f7C82446C7CCca2a369327dd).send(address(this).balance) | 362,605 | payable(0x25c9DE88361b2E83f7C82446C7CCca2a369327dd).send(address(this).balance) |
"Public sale is already active" | pragma solidity ^0.8.0;
/**
*
* Impact Theory Founders Key
*
*/
contract ImpactTheoryFoundersKey is
Ownable,
ERC721Burnable,
ERC721Enumerable,
ERC721Pausable
{
using SafeMath for uint256;
using Strings for uint256;
using ECDSA for bytes32;
// Public tier info
stru... | !publicSaleActive&&publicSaleStartTime==0,"Public sale is already active" | 362,671 | !publicSaleActive&&publicSaleStartTime==0 |
"Public sale is not active" | pragma solidity ^0.8.0;
/**
*
* Impact Theory Founders Key
*
*/
contract ImpactTheoryFoundersKey is
Ownable,
ERC721Burnable,
ERC721Enumerable,
ERC721Pausable
{
using SafeMath for uint256;
using Strings for uint256;
using ECDSA for bytes32;
// Public tier info
stru... | owner()==_msgSender()||publicSaleActive,"Public sale is not active" | 362,671 | owner()==_msgSender()||publicSaleActive |
"Direct mint disallowed" | pragma solidity ^0.8.0;
/**
*
* Impact Theory Founders Key
*
*/
contract ImpactTheoryFoundersKey is
Ownable,
ERC721Burnable,
ERC721Enumerable,
ERC721Pausable
{
using SafeMath for uint256;
using Strings for uint256;
using ECDSA for bytes32;
// Public tier info
stru... | matchAddressSigner(_hash,_signature),"Direct mint disallowed" | 362,671 | matchAddressSigner(_hash,_signature) |
"Hash failed" | pragma solidity ^0.8.0;
/**
*
* Impact Theory Founders Key
*
*/
contract ImpactTheoryFoundersKey is
Ownable,
ERC721Burnable,
ERC721Enumerable,
ERC721Pausable
{
using SafeMath for uint256;
using Strings for uint256;
using ECDSA for bytes32;
// Public tier info
stru... | hashTransaction(_msgSender(),_amount,_nonce)==_hash,"Hash failed" | 362,671 | hashTransaction(_msgSender(),_amount,_nonce)==_hash |
"Minting would exceed max supply" | pragma solidity ^0.8.0;
/**
*
* Impact Theory Founders Key
*
*/
contract ImpactTheoryFoundersKey is
Ownable,
ERC721Burnable,
ERC721Enumerable,
ERC721Pausable
{
using SafeMath for uint256;
using Strings for uint256;
using ECDSA for bytes32;
// Public tier info
stru... | getMintsLeft(tier.id).sub(_amount)>=0,"Minting would exceed max supply" | 362,671 | getMintsLeft(tier.id).sub(_amount)>=0 |
"Requested amount exceeds maximum whitelist mint amount" | pragma solidity ^0.8.0;
/**
*
* Impact Theory Founders Key
*
*/
contract ImpactTheoryFoundersKey is
Ownable,
ERC721Burnable,
ERC721Enumerable,
ERC721Pausable
{
using SafeMath for uint256;
using Strings for uint256;
using ECDSA for bytes32;
// Public tier info
stru... | currentTierAmount.add(amount)<=tierInfo.maxPerClosedPresale,"Requested amount exceeds maximum whitelist mint amount" | 362,671 | currentTierAmount.add(amount)<=tierInfo.maxPerClosedPresale |
"Requested amount exceeds maximum total mint amount" | pragma solidity ^0.8.0;
/**
*
* Impact Theory Founders Key
*
*/
contract ImpactTheoryFoundersKey is
Ownable,
ERC721Burnable,
ERC721Enumerable,
ERC721Pausable
{
using SafeMath for uint256;
using Strings for uint256;
using ECDSA for bytes32;
// Public tier info
stru... | currentTierAmount.add(amount)<=tierInfo.maxTotalMint,"Requested amount exceeds maximum total mint amount" | 362,671 | currentTierAmount.add(amount)<=tierInfo.maxTotalMint |
"Tier not active" | pragma solidity ^0.8.0;
/**
*
* Impact Theory Founders Key
*
*/
contract ImpactTheoryFoundersKey is
Ownable,
ERC721Burnable,
ERC721Enumerable,
ERC721Pausable
{
using SafeMath for uint256;
using Strings for uint256;
using ECDSA for bytes32;
// Public tier info
stru... | !tierInfo.saleEnded,"Tier not active" | 362,671 | !tierInfo.saleEnded |
"Minting would exceed max supply of Moose" | pragma solidity >=0.6.0 <0.8.0;
/**
* @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 c... | totalSupply()<MAX_MOOSE,"Minting would exceed max supply of Moose" | 362,726 | totalSupply()<MAX_MOOSE |
"Must own the Swaggy Cow for requested tokenId to mint a Swaggy Moose" | pragma solidity >=0.6.0 <0.8.0;
/**
* @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 c... | swaggycows.ownerOf(swaggycowsTokenId)==msg.sender,"Must own the Swaggy Cow for requested tokenId to mint a Swaggy Moose" | 362,726 | swaggycows.ownerOf(swaggycowsTokenId)==msg.sender |
null | /*
badERC20 POC Fix by SECBIT Team
USE WITH CAUTION & NO WARRANTY
REFERENCE & RELATED READING
- https://github.com/ethereum/solidity/issues/4116
- https://medium.com/@chris_77367/explaining-unexpected-reverts-starting-with-solidity-0-4-22-3ada6e82308c
- https://medium.com/coinmonks/missing-return-value-bug-at-lea... | _erc20Addr.call(bytes4(keccak256("transfer(address,uint256)")),_to,_value) | 362,954 | _erc20Addr.call(bytes4(keccak256("transfer(address,uint256)")),_to,_value) |
null | /*
badERC20 POC Fix by SECBIT Team
USE WITH CAUTION & NO WARRANTY
REFERENCE & RELATED READING
- https://github.com/ethereum/solidity/issues/4116
- https://medium.com/@chris_77367/explaining-unexpected-reverts-starting-with-solidity-0-4-22-3ada6e82308c
- https://medium.com/coinmonks/missing-return-value-bug-at-lea... | _erc20Addr.call(bytes4(keccak256("transferFrom(address,address,uint256)")),_from,_to,_value) | 362,954 | _erc20Addr.call(bytes4(keccak256("transferFrom(address,address,uint256)")),_from,_to,_value) |
null | /*
badERC20 POC Fix by SECBIT Team
USE WITH CAUTION & NO WARRANTY
REFERENCE & RELATED READING
- https://github.com/ethereum/solidity/issues/4116
- https://medium.com/@chris_77367/explaining-unexpected-reverts-starting-with-solidity-0-4-22-3ada6e82308c
- https://medium.com/coinmonks/missing-return-value-bug-at-lea... | _erc20Addr.call(bytes4(keccak256("approve(address,uint256)")),_spender,_value) | 362,954 | _erc20Addr.call(bytes4(keccak256("approve(address,uint256)")),_spender,_value) |
"ERC721XX: transfer of token that is not own" | // SPDX-License-Identifier: MIT
// ERC721XX.org
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/token/ERC721... | ERC721XX.ownerOf(tokenId)==from,"ERC721XX: transfer of token that is not own" | 363,117 | ERC721XX.ownerOf(tokenId)==from |
"transfer fails" | /**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
pragma solidity ^0.6.6;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `accoun... | token.transferFrom(address(this),address(this),0),"transfer fails" | 363,162 | token.transferFrom(address(this),address(this),0) |
"Burnable: Only allowed from redeemable contract" | // SPDX-License-Identifier: MIT
/*
cc:ccccccldONMMMNxccc:cc:cc:co0WMMMMMKocccckNMMMMMM0l:c:c::ccldOXWMMNkcc:ccc:ccc::lOW0l:cc:cccccoxKWMMWkccccc:ccccccOWXdcccl0WMMW0l:co0WXdcccc::ccc::c
c:cccc:c:cclxKWMNxcc:cccccccco0WMMMMNxc::ccoKWMMMMW0lcc:cc:cc:cldKWMNkc:::ccccccccl0W0l:cc:ccc:cccoONMWkccccccccccclOWXd::ccdKWMW0l::o... | mintPasses[mpIndex].redeemableContract==msg.sender,"Burnable: Only allowed from redeemable contract" | 363,278 | mintPasses[mpIndex].redeemableContract==msg.sender |
null | // SPDX-License-Identifier: MIT
/*
cc:ccccccldONMMMNxccc:cc:cc:co0WMMMMMKocccckNMMMMMM0l:c:c::ccldOXWMMNkcc:ccc:ccc::lOW0l:cc:cccccoxKWMMWkccccc:ccccccOWXdcccl0WMMW0l:co0WXdcccc::ccc::c
c:cccc:c:cclxKWMNxcc:cccccccco0WMMMMNxc::ccoKWMMMMW0lcc:cc:cc:cldKWMNkc:::ccccccccl0W0l:cc:ccc:cccoONMWkccccccccccclOWXd::ccdKWMW0l::o... | isValidClaim(numPasses,amount,mpIndex,merkleProof) | 363,278 | isValidClaim(numPasses,amount,mpIndex,merkleProof) |
"Claim: claim cannot contain duplicate merkle proof indexes" | // SPDX-License-Identifier: MIT
/*
cc:ccccccldONMMMNxccc:cc:cc:co0WMMMMMKocccckNMMMMMM0l:c:c::ccldOXWMMNkcc:ccc:ccc::lOW0l:cc:cccccoxKWMMWkccccc:ccccccOWXdcccl0WMMW0l:co0WXdcccc::ccc::c
c:cccc:c:cclxKWMNxcc:cccccccco0WMMMMNxc::ccoKWMMMMW0lcc:cc:cc:cldKWMNkc:::ccccccccl0W0l:cc:ccc:cccoONMWkccccccccccclOWXd::ccdKWMW0l::o... | arrayIsUnique(mpIndexs),"Claim: claim cannot contain duplicate merkle proof indexes" | 363,278 | arrayIsUnique(mpIndexs) |
"One or more claims are invalid" | // SPDX-License-Identifier: MIT
/*
cc:ccccccldONMMMNxccc:cc:cc:co0WMMMMMKocccckNMMMMMM0l:c:c::ccldOXWMMNkcc:ccc:ccc::lOW0l:cc:cccccoxKWMMWkccccc:ccccccOWXdcccl0WMMW0l:co0WXdcccc::ccc::c
c:cccc:c:cclxKWMNxcc:cccccccco0WMMMMNxc::ccoKWMMMMW0lcc:cc:cc:cldKWMNkc:::ccccccccl0W0l:cc:ccc:cccoONMWkccccccccccclOWXd::ccdKWMW0l::o... | isValidClaim(numPasses[i],amounts[i],mpIndexs[i],merkleProofs[i]),"One or more claims are invalid" | 363,278 | isValidClaim(numPasses[i],amounts[i],mpIndexs[i],merkleProofs[i]) |
"Sale is paused" | // SPDX-License-Identifier: MIT
/*
cc:ccccccldONMMMNxccc:cc:cc:co0WMMMMMKocccckNMMMMMM0l:c:c::ccldOXWMMNkcc:ccc:ccc::lOW0l:cc:cccccoxKWMMWkccccc:ccccccOWXdcccl0WMMW0l:co0WXdcccc::ccc::c
c:cccc:c:cclxKWMNxcc:cccccccco0WMMMMNxc::ccoKWMMMMW0lcc:cc:cc:cldKWMNkc:::ccccccccl0W0l:cc:ccc:cccoONMWkccccccccccclOWXd::ccdKWMW0l::o... | mintPasses[mpIndex].saleIsOpen,"Sale is paused" | 363,278 | mintPasses[mpIndex].saleIsOpen |
"Claim: Mint pass does not exist" | // SPDX-License-Identifier: MIT
/*
cc:ccccccldONMMMNxccc:cc:cc:co0WMMMMMKocccckNMMMMMM0l:c:c::ccldOXWMMNkcc:ccc:ccc::lOW0l:cc:cccccoxKWMMWkccccc:ccccccOWXdcccl0WMMW0l:co0WXdcccc::ccc::c
c:cccc:c:cclxKWMNxcc:cccccccco0WMMMMNxc::ccoKWMMMMW0lcc:cc:cc:cldKWMNkc:::ccccccccl0W0l:cc:ccc:cccoONMWkccccccccccclOWXd::ccdKWMW0l::o... | mintPasses[mpIndex].windowOpens!=0,"Claim: Mint pass does not exist" | 363,278 | mintPasses[mpIndex].windowOpens!=0 |
"Claim: Not allowed to claim given amount" | // SPDX-License-Identifier: MIT
/*
cc:ccccccldONMMMNxccc:cc:cc:co0WMMMMMKocccckNMMMMMM0l:c:c::ccldOXWMMNkcc:ccc:ccc::lOW0l:cc:cccccoxKWMMWkccccc:ccccccOWXdcccl0WMMW0l:co0WXdcccc::ccc::c
c:cccc:c:cclxKWMNxcc:cccccccco0WMMMMNxc::ccoKWMMMMW0lcc:cc:cc:cldKWMNkc:::ccccccccl0W0l:cc:ccc:cccoONMWkccccccccccclOWXd::ccdKWMW0l::o... | mintPasses[mpIndex].claimedMPs[msg.sender].add(numPasses)<=amount,"Claim: Not allowed to claim given amount" | 363,278 | mintPasses[mpIndex].claimedMPs[msg.sender].add(numPasses)<=amount |
"Claim: Not allowed to claim that many from one wallet" | // SPDX-License-Identifier: MIT
/*
cc:ccccccldONMMMNxccc:cc:cc:co0WMMMMMKocccckNMMMMMM0l:c:c::ccldOXWMMNkcc:ccc:ccc::lOW0l:cc:cccccoxKWMMWkccccc:ccccccOWXdcccl0WMMW0l:co0WXdcccc::ccc::c
c:cccc:c:cclxKWMNxcc:cccccccco0WMMMMNxc::ccoKWMMMMW0lcc:cc:cc:cldKWMNkc:::ccccccccl0W0l:cc:ccc:cccoONMWkccccccccccclOWXd::ccdKWMW0l::o... | mintPasses[mpIndex].claimedMPs[msg.sender].add(numPasses)<=mintPasses[mpIndex].maxPerWallet,"Claim: Not allowed to claim that many from one wallet" | 363,278 | mintPasses[mpIndex].claimedMPs[msg.sender].add(numPasses)<=mintPasses[mpIndex].maxPerWallet |
"Purchase would exceed max supply" | // SPDX-License-Identifier: MIT
/*
cc:ccccccldONMMMNxccc:cc:cc:co0WMMMMMKocccckNMMMMMM0l:c:c::ccldOXWMMNkcc:ccc:ccc::lOW0l:cc:cccccoxKWMMWkccccc:ccccccOWXdcccl0WMMW0l:co0WXdcccc::ccc::c
c:cccc:c:cclxKWMNxcc:cccccccco0WMMMMNxc::ccoKWMMMMW0lcc:cc:cc:cldKWMNkc:::ccccccccl0W0l:cc:ccc:cccoONMWkccccccccccclOWXd::ccdKWMW0l::o... | totalSupply(mpIndex)+numPasses<=mintPasses[mpIndex].maxSupply,"Purchase would exceed max supply" | 363,278 | totalSupply(mpIndex)+numPasses<=mintPasses[mpIndex].maxSupply |
"URI: nonexistent token" | // SPDX-License-Identifier: MIT
/*
cc:ccccccldONMMMNxccc:cc:cc:co0WMMMMMKocccckNMMMMMM0l:c:c::ccldOXWMMNkcc:ccc:ccc::lOW0l:cc:cccccoxKWMMWkccccc:ccccccOWXdcccl0WMMW0l:co0WXdcccc::ccc::c
c:cccc:c:cclxKWMNxcc:cccccccco0WMMMMNxc::ccoKWMMMMW0lcc:cc:cc:cldKWMNkc:::ccccccccl0W0l:cc:ccc:cccoONMWkccccccccccclOWXd::ccdKWMW0l::o... | totalSupply(_id)>0,"URI: nonexistent token" | 363,278 | totalSupply(_id)>0 |
"SafeCast: value doesn't fit in 128 bits" | pragma solidity ^0.7.0;
/**
* @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
* checks.
*
* Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
* easily result in undesired exploitation or bugs, since developers usually
* assume that overflows ... | value>=-2**127&&value<2**127,"SafeCast: value doesn't fit in 128 bits" | 363,303 | value>=-2**127&&value<2**127 |
"SafeCast: value doesn't fit in 64 bits" | pragma solidity ^0.7.0;
/**
* @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
* checks.
*
* Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
* easily result in undesired exploitation or bugs, since developers usually
* assume that overflows ... | value>=-2**63&&value<2**63,"SafeCast: value doesn't fit in 64 bits" | 363,303 | value>=-2**63&&value<2**63 |
"SafeCast: value doesn't fit in 32 bits" | pragma solidity ^0.7.0;
/**
* @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
* checks.
*
* Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
* easily result in undesired exploitation or bugs, since developers usually
* assume that overflows ... | value>=-2**31&&value<2**31,"SafeCast: value doesn't fit in 32 bits" | 363,303 | value>=-2**31&&value<2**31 |
"SafeCast: value doesn't fit in 16 bits" | pragma solidity ^0.7.0;
/**
* @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
* checks.
*
* Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
* easily result in undesired exploitation or bugs, since developers usually
* assume that overflows ... | value>=-2**15&&value<2**15,"SafeCast: value doesn't fit in 16 bits" | 363,303 | value>=-2**15&&value<2**15 |
"SafeCast: value doesn't fit in 8 bits" | pragma solidity ^0.7.0;
/**
* @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
* checks.
*
* Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
* easily result in undesired exploitation or bugs, since developers usually
* assume that overflows ... | value>=-2**7&&value<2**7,"SafeCast: value doesn't fit in 8 bits" | 363,303 | value>=-2**7&&value<2**7 |
"You are not whitelisted" | // SPDX-License-Identifier: UNLICENSED
// solium-disable linebreak-style
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import ... | _whitelisted[msg.sender],"You are not whitelisted" | 363,322 | _whitelisted[msg.sender] |
"invalid coin amount" | // SPDX-License-Identifier: UNLICENSED
// solium-disable linebreak-style
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import ... | _amount*currentTokenPrice==msg.value,"invalid coin amount" | 363,322 | _amount*currentTokenPrice==msg.value |
"mint: maxSupply reached" | // SPDX-License-Identifier: UNLICENSED
// solium-disable linebreak-style
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import ... | _currentSupply+_amount<=maxSupply,"mint: maxSupply reached" | 363,322 | _currentSupply+_amount<=maxSupply |
"mint: limit tokens for this wallet reached" | // SPDX-License-Identifier: UNLICENSED
// solium-disable linebreak-style
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import ... | _purchasedByWallet+_amount<=LIMIT_TOKENS_PER_WALLET_PUBLIC,"mint: limit tokens for this wallet reached" | 363,322 | _purchasedByWallet+_amount<=LIMIT_TOKENS_PER_WALLET_PUBLIC |
"createGiveawaysTokens: limit tokens for giveaway wallet reached" | // SPDX-License-Identifier: UNLICENSED
// solium-disable linebreak-style
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import ... | _purchasedTokensByWallet+tokensAmount<=LIMIT_TOKENS_FOR_GIVEAWAYS,"createGiveawaysTokens: limit tokens for giveaway wallet reached" | 363,322 | _purchasedTokensByWallet+tokensAmount<=LIMIT_TOKENS_FOR_GIVEAWAYS |
"createGiveawaysTokens: Total tokens limit reached" | // SPDX-License-Identifier: UNLICENSED
// solium-disable linebreak-style
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import ... | _currentSupply+tokensAmount<=maxSupply,"createGiveawaysTokens: Total tokens limit reached" | 363,322 | _currentSupply+tokensAmount<=maxSupply |
"ERC721: transfer of token that is not own" | pragma solidity ^0.8.11;
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
//----------------------------------------------------------------------------
// Openzeppelin contracts
//---------------------... | ERC721QD.ownerOf(tokenId)==from,"ERC721: transfer of token that is not own" | 363,388 | ERC721QD.ownerOf(tokenId)==from |
"invalid message must be 'rotate'" | pragma solidity ^0.6.6;
pragma experimental ABIEncoderV2;
import "./SymbolConfiguration.sol";
import "../OpenOraclePriceData.sol";
interface AnchorOracle {
function numBlocksPerPeriod() external view returns (uint); // approximately 1 hour: 60 seconds/minute * 60 minutes/hour * 1 block/15 seconds
function asset... | keccak256(abi.encodePacked(decoded_message))==keccak256(abi.encodePacked("rotate")),"invalid message must be 'rotate'" | 363,504 | keccak256(abi.encodePacked(decoded_message))==keccak256(abi.encodePacked("rotate")) |
"invalidation message must come from the reporter" | pragma solidity ^0.6.6;
pragma experimental ABIEncoderV2;
import "./SymbolConfiguration.sol";
import "../OpenOraclePriceData.sol";
interface AnchorOracle {
function numBlocksPerPeriod() external view returns (uint); // approximately 1 hour: 60 seconds/minute * 60 minutes/hour * 1 block/15 seconds
function asset... | priceData.source(message,signature)==reporter,"invalidation message must come from the reporter" | 363,504 | priceData.source(message,signature)==reporter |
"Cannot exceed max mint amount." | // Creator: Chiru Labs
pragma solidity ^0.8.4;
error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error MintToZero... | totalSupply()+quantity<=MAX_MINT,"Cannot exceed max mint amount." | 363,640 | totalSupply()+quantity<=MAX_MINT |
null | pragma solidity ^0.6.0;
/**
*
* UniPower's Liquidity Vault
*
* Simple smart contract to decentralize the uniswap liquidity, providing proof of liquidity indefinitely.
* For more info visit: https://unipower.network
*
*/
contract LiquidityVault {
ERC20 constant AludraNetwork = ERC20(0xb339FcA531... | lastTradingFeeDistribution+7days<now | 363,649 | lastTradingFeeDistribution+7days<now |
null | pragma solidity ^0.4.11;
//
// SafeMath
//
// Ownable
// Destructible
// Pausable
//
// ERC20Basic
// ERC20 : ERC20Basic
// BasicToken : ERC20Basic
// StandardToken : ERC20, BasicToken
// MintableToken : StandardToken, Ownable
// PausableToken : StandardToken, Pausable
//
// VanityToken : MintableToken, ... | registeredInDay[msg.sender]==0 | 363,739 | registeredInDay[msg.sender]==0 |
null | pragma solidity ^0.4.11;
//
// SafeMath
//
// Ownable
// Destructible
// Pausable
//
// ERC20Basic
// ERC20 : ERC20Basic
// BasicToken : ERC20Basic
// StandardToken : ERC20, BasicToken
// MintableToken : StandardToken, Ownable
// PausableToken : StandardToken, Pausable
//
// VanityToken : MintableToken, ... | finalized&&!distributed | 363,739 | finalized&&!distributed |
"CrownyToken: totalSupply cannot exceed the max supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
contract CrownyToken is ERC20, Pausable, ... | totalSupply().add(amount)<=maxSupply,"CrownyToken: totalSupply cannot exceed the max supply" | 363,758 | totalSupply().add(amount)<=maxSupply |
null | pragma solidity ^0.5.12;
// EtherBuy is a DApp to buy and sell anything on Ethereum.
contract EtherBuy {
struct oneSale {
address payable seller;
string title;
string content;
uint price;
uint locked; //money will be locked until the buyer sends feedback or the seller cancels sale
bool available;
... | sales[SaleID].available | 363,883 | sales[SaleID].available |
null | pragma solidity ^0.5.11;
contract Owned {
// State variable
address payable owner;
// Modifiers
modifier onlyOwner() {
}
// constructor
constructor() public {
}
}
contract MoneyPotSystem is Owned {
// Custom types
struct Donation {
address payable donor;
... | myMoneyPot.open | 363,977 | myMoneyPot.open |
null | pragma solidity ^0.5.11;
contract Owned {
// State variable
address payable owner;
// Modifiers
modifier onlyOwner() {
}
// constructor
constructor() public {
}
}
contract MoneyPotSystem is Owned {
// Custom types
struct Donation {
address payable donor;
... | !donorFound | 363,977 | !donorFound |
null | pragma solidity ^0.5.11;
contract Owned {
// State variable
address payable owner;
// Modifiers
modifier onlyOwner() {
}
// constructor
constructor() public {
}
}
contract MoneyPotSystem is Owned {
// Custom types
struct Donation {
address payable donor;
... | !contractOpen | 363,977 | !contractOpen |
null | pragma solidity ^0.5.0;
contract OldBaseRegistrarImplementation is BaseRegistrar, ERC721 {
// Expiration timestamp for migrated domains.
uint public transferPeriodEnds;
// The interim registrar
Registrar public previousRegistrar;
// A map of expiry times
mapping(uint256=>uint) expiries;
... | ens.owner(baseNode)==address(this) | 364,001 | ens.owner(baseNode)==address(this) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.