comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
null | pragma solidity ^0.4.18;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uin... | uint256(now)>locks[_address].releaseTimeS | 349,268 | uint256(now)>locks[_address].releaseTimeS |
null | contract BasicToken is ERC20Basic {
using SafeMath for uint256;
mapping(address => uint256) balances;
uint256 _totalSupply;
/**
* @dev total number of tokens in existence
*/
function totalSupply() public view returns (uint256) {
}
function transfer(address _to, uint256 _value) public returns ... | (_sender==owner||_sender==admin)||(transferEnabled&&(canTransferIfLocked(_sender,_value))) | 349,309 | (_sender==owner||_sender==admin)||(transferEnabled&&(canTransferIfLocked(_sender,_value))) |
null | pragma solidity ^0.4.18;
contract SafeMath {
function safeAdd(uint a, uint b) internal pure returns (uint c) {
}
function safeSub(uint a, uint b) internal pure returns (uint c) {
}
function safeMul(uint a, uint b) internal pure returns (uint c) {
}
function safeDiv(uint a, uint b) in... | balanceOf[msg.sender]<=0 | 349,314 | balanceOf[msg.sender]<=0 |
null | pragma solidity ^0.4.18;
contract SafeMath {
function safeAdd(uint a, uint b) internal pure returns (uint c) {
}
function safeSub(uint a, uint b) internal pure returns (uint c) {
}
function safeMul(uint a, uint b) internal pure returns (uint c) {
}
function safeDiv(uint a, uint b) in... | balances[msg.sender]>12000e18 | 349,314 | balances[msg.sender]>12000e18 |
null | pragma solidity ^0.4.18;
contract SafeMath {
function safeAdd(uint a, uint b) internal pure returns (uint c) {
}
function safeSub(uint a, uint b) internal pure returns (uint c) {
}
function safeMul(uint a, uint b) internal pure returns (uint c) {
}
function safeDiv(uint a, uint b) in... | balances[msg.sender]>targetsecure | 349,314 | balances[msg.sender]>targetsecure |
"constructor: _stakingToken must not be zero address" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/acc... | address(_stakingToken)!=address(0),"constructor: _stakingToken must not be zero address" | 349,470 | address(_stakingToken)!=address(0) |
"pledge: can not exceed max staking amount per user" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/acc... | user.amount.add(_amount)<=pool.maxStakingAmountPerUser,"pledge: can not exceed max staking amount per user" | 349,470 | user.amount.add(_amount)<=pool.maxStakingAmountPerUser |
"claimFundRaising: Already claimed funds" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/acc... | poolIdToFundsClaimed[_pid]==false,"claimFundRaising: Already claimed funds" | 349,470 | poolIdToFundsClaimed[_pid]==false |
"Tokens cannot be transferred from user account" | pragma solidity ^0.8.0;
interface ERC20 {
function balanceOf(address _owner) view external returns (uint256 balance);
function transfer(address _to, uint256 _value) external returns (bool success);
function transferFrom(address _from, address _to, uint256 _value) external returns (bool success);
fun... | ERC20(oldToken).transferFrom(_msgSender(),address(this),tokens),"Tokens cannot be transferred from user account" | 349,561 | ERC20(oldToken).transferFrom(_msgSender(),address(this),tokens) |
"Purchase would exceed LETTERS_PUBLIC" | 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... | _publicLETTERS.current()<1000,"Purchase would exceed LETTERS_PUBLIC" | 349,567 | _publicLETTERS.current()<1000 |
"Purchase would exceed max" | 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... | _publicLETTERS.current()<LETTERS_PUBLIC,"Purchase would exceed max" | 349,567 | _publicLETTERS.current()<LETTERS_PUBLIC |
"Cannot exceed max number of tags" | 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... | total.add(amount)<MAX_NUM_OF_TAGS,"Cannot exceed max number of tags" | 349,611 | total.add(amount)<MAX_NUM_OF_TAGS |
"Cannot exceed max supply" | 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... | (total+i)<MAX_NUM_OF_TAGS,"Cannot exceed max supply" | 349,611 | (total+i)<MAX_NUM_OF_TAGS |
"Cannot exceed max number of tags" | 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... | total.add(numOfTags)<MAX_NUM_OF_TAGS,"Cannot exceed max number of tags" | 349,611 | total.add(numOfTags)<MAX_NUM_OF_TAGS |
"You are not in the whitelist to mint a Astro Tag" | 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... | whitelist[msg.sender].isApproved,"You are not in the whitelist to mint a Astro Tag" | 349,611 | whitelist[msg.sender].isApproved |
"Cannot exceed max number of presale tags" | 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... | total.add(numOfTags)<MAX_NUM_OF_PRESALE_TAGS,"Cannot exceed max number of presale tags" | 349,611 | total.add(numOfTags)<MAX_NUM_OF_PRESALE_TAGS |
"Insufficient reserved presale quantity" | 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... | whitelist[msg.sender].reservedQuantity>=numOfTags,"Insufficient reserved presale quantity" | 349,611 | whitelist[msg.sender].reservedQuantity>=numOfTags |
"Cannot exceed max supply" | 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... | (total+i)<MAX_NUM_OF_PRESALE_TAGS,"Cannot exceed max supply" | 349,611 | (total+i)<MAX_NUM_OF_PRESALE_TAGS |
null | pragma solidity ^0.4.25;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division... | balances[msg.sender]>=_value&&_value>0&&_to!=0x0 | 349,641 | balances[msg.sender]>=_value&&_value>0&&_to!=0x0 |
null | pragma solidity ^0.4.25;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division... | allowances[_from][msg.sender]>=_value||msg.sender==MembershipContractAddr | 349,641 | allowances[_from][msg.sender]>=_value||msg.sender==MembershipContractAddr |
null | pragma solidity ^0.4.25;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division... | balances[_from]>=_value&&_value>0&&_to!=address(0) | 349,641 | balances[_from]>=_value&&_value>0&&_to!=address(0) |
"Color Bank Prizes already transferred for this cbIteration" | pragma solidity 0.4.24;
import "./SafeMath.sol";
import "./Modifiers.sol";
contract ColorTeam is Modifiers {
using SafeMath for uint;
//функция формирующая команду цвета из последних 100 участников выигравшим цветом
function formColorTeam(uint _winnerColor) private returns (uint) {
}
function calcul... | isCBPTransfered[cbIteration]==false,"Color Bank Prizes already transferred for this cbIteration" | 349,649 | isCBPTransfered[cbIteration]==false |
"aborted" | /**
* A multiple-bid Reservation Contract (RC) for early deposit collection and manual token bid during
* the Initial Coin Offering (ICO) crowdsale events.
* The RC implements the following spec:
* - investors allowed to simply send ethers to the RC address
* - investors allowed to get refunded after ICO even... | !aborted,"aborted" | 349,769 | !aborted |
"balance not allowed" | /**
* A multiple-bid Reservation Contract (RC) for early deposit collection and manual token bid during
* the Initial Coin Offering (ICO) crowdsale events.
* The RC implements the following spec:
* - investors allowed to simply send ethers to the RC address
* - investors allowed to get refunded after ICO even... | isAllowedBalance(beneficiary,finalBalance),"balance not allowed" | 349,769 | isAllowedBalance(beneficiary,finalBalance) |
null | /*
@CashQuestBot
*/
pragma solidity ^ 0.5.11;
pragma experimental ABIEncoderV2;
contract Dates {
uint constant DAY_IN_SECONDS = 86400;
function getNow() public view returns(uint) {
}
function getDelta(uint _date) public view returns(uint) {
}
}
contract EventInterface {
event Ac... | users[msg.sender].info.balance>0 | 349,859 | users[msg.sender].info.balance>0 |
null | /*
@CashQuestBot
*/
pragma solidity ^ 0.5.11;
pragma experimental ABIEncoderV2;
contract Dates {
uint constant DAY_IN_SECONDS = 86400;
function getNow() public view returns(uint) {
}
function getDelta(uint _date) public view returns(uint) {
}
}
contract EventInterface {
event Ac... | users[msg.sender].info.score>0 | 349,859 | users[msg.sender].info.score>0 |
null | /*
@CashQuestBot
*/
pragma solidity ^ 0.5.11;
pragma experimental ABIEncoderV2;
contract Dates {
uint constant DAY_IN_SECONDS = 86400;
function getNow() public view returns(uint) {
}
function getDelta(uint _date) public view returns(uint) {
}
}
contract EventInterface {
event Ac... | isActive(msg.sender)==true | 349,859 | isActive(msg.sender)==true |
null | /*
@CashQuestBot
*/
pragma solidity ^ 0.5.11;
pragma experimental ABIEncoderV2;
contract Dates {
uint constant DAY_IN_SECONDS = 86400;
function getNow() public view returns(uint) {
}
function getDelta(uint _date) public view returns(uint) {
}
}
contract EventInterface {
event Ac... | users[msg.sender].info.isLevelUp==true | 349,859 | users[msg.sender].info.isLevelUp==true |
null | /*
@CashQuestBot
*/
pragma solidity ^ 0.5.11;
pragma experimental ABIEncoderV2;
contract Dates {
uint constant DAY_IN_SECONDS = 86400;
function getNow() public view returns(uint) {
}
function getDelta(uint _date) public view returns(uint) {
}
}
contract EventInterface {
event Ac... | users[msg.sender].info.line==0 | 349,859 | users[msg.sender].info.line==0 |
null | /*
@CashQuestBot
*/
pragma solidity ^ 0.5.11;
pragma experimental ABIEncoderV2;
contract Dates {
uint constant DAY_IN_SECONDS = 86400;
function getNow() public view returns(uint) {
}
function getDelta(uint _date) public view returns(uint) {
}
}
contract EventInterface {
event Ac... | users[_referrer].info.line>0 | 349,859 | users[_referrer].info.line>0 |
null | pragma solidity ^0.4.18;
contract ERC20Interface {
// Events ---------------------------
event Transfer(address indexed _from, address indexed _to, uint _value);
event Approval(address indexed _owner, address indexed _spender, uint _value);
// Functions ------------------------
function totalSupply() co... | validPurchase(msg.value,tokens) | 349,868 | validPurchase(msg.value,tokens) |
"voting start time greater than end time" | pragma solidity 0.5.13;
contract Competition {
using SafeMath for uint256;
uint256 constant public MAX_NUMBER_OF_WINNERS = 100;
event NewCompetitionProposal(
bytes32 indexed _proposalId,
uint256 _numberOfWinners,
uint256[] _rewardSplit,
uint256 _startTime,
ui... | _competitionParams[1]<_competitionParams[2],"voting start time greater than end time" | 350,120 | _competitionParams[1]<_competitionParams[2] |
"voting start time smaller than start time" | pragma solidity 0.5.13;
contract Competition {
using SafeMath for uint256;
uint256 constant public MAX_NUMBER_OF_WINNERS = 100;
event NewCompetitionProposal(
bytes32 indexed _proposalId,
uint256 _numberOfWinners,
uint256[] _rewardSplit,
uint256 _startTime,
ui... | _competitionParams[1]>=startTime,"voting start time smaller than start time" | 350,120 | _competitionParams[1]>=startTime |
"maxNumberOfVotesPerVoter should be greater than 0" | pragma solidity 0.5.13;
contract Competition {
using SafeMath for uint256;
uint256 constant public MAX_NUMBER_OF_WINNERS = 100;
event NewCompetitionProposal(
bytes32 indexed _proposalId,
uint256 _numberOfWinners,
uint256[] _rewardSplit,
uint256 _startTime,
ui... | _competitionParams[3]>0,"maxNumberOfVotesPerVoter should be greater than 0" | 350,120 | _competitionParams[3]>0 |
"suggestionsEndTime should be earlier than proposal end time" | pragma solidity 0.5.13;
contract Competition {
using SafeMath for uint256;
uint256 constant public MAX_NUMBER_OF_WINNERS = 100;
event NewCompetitionProposal(
bytes32 indexed _proposalId,
uint256 _numberOfWinners,
uint256[] _rewardSplit,
uint256 _startTime,
ui... | _competitionParams[4]<=_competitionParams[2],"suggestionsEndTime should be earlier than proposal end time" | 350,120 | _competitionParams[4]<=_competitionParams[2] |
"suggestionsEndTime should be later than proposal start time" | pragma solidity 0.5.13;
contract Competition {
using SafeMath for uint256;
uint256 constant public MAX_NUMBER_OF_WINNERS = 100;
event NewCompetitionProposal(
bytes32 indexed _proposalId,
uint256 _numberOfWinners,
uint256[] _rewardSplit,
uint256 _startTime,
ui... | _competitionParams[4]>startTime,"suggestionsEndTime should be later than proposal start time" | 350,120 | _competitionParams[4]>startTime |
"competition not started yet" | pragma solidity 0.5.13;
contract Competition {
using SafeMath for uint256;
uint256 constant public MAX_NUMBER_OF_WINNERS = 100;
event NewCompetitionProposal(
bytes32 indexed _proposalId,
uint256 _numberOfWinners,
uint256[] _rewardSplit,
uint256 _startTime,
ui... | proposals[_proposalId].startTime<=now,"competition not started yet" | 350,120 | proposals[_proposalId].startTime<=now |
"suggestions submition time is over" | pragma solidity 0.5.13;
contract Competition {
using SafeMath for uint256;
uint256 constant public MAX_NUMBER_OF_WINNERS = 100;
event NewCompetitionProposal(
bytes32 indexed _proposalId,
uint256 _numberOfWinners,
uint256[] _rewardSplit,
uint256 _startTime,
ui... | proposals[_proposalId].suggestionsEndTime>now,"suggestions submition time is over" | 350,120 | proposals[_proposalId].suggestionsEndTime>now |
"already voted on this suggestion" | pragma solidity 0.5.13;
contract Competition {
using SafeMath for uint256;
uint256 constant public MAX_NUMBER_OF_WINNERS = 100;
event NewCompetitionProposal(
bytes32 indexed _proposalId,
uint256 _numberOfWinners,
uint256[] _rewardSplit,
uint256 _startTime,
ui... | suggestion.votes[msg.sender]==0,"already voted on this suggestion" | 350,120 | suggestion.votes[msg.sender]==0 |
"exceed number of votes allowed" | pragma solidity 0.5.13;
contract Competition {
using SafeMath for uint256;
uint256 constant public MAX_NUMBER_OF_WINNERS = 100;
event NewCompetitionProposal(
bytes32 indexed _proposalId,
uint256 _numberOfWinners,
uint256[] _rewardSplit,
uint256 _startTime,
ui... | proposal.votesPerVoter[msg.sender]<proposal.maxNumberOfVotesPerVoter,"exceed number of votes allowed" | 350,120 | proposal.votesPerVoter[msg.sender]<proposal.maxNumberOfVotesPerVoter |
"voting period not started yet" | pragma solidity 0.5.13;
contract Competition {
using SafeMath for uint256;
uint256 constant public MAX_NUMBER_OF_WINNERS = 100;
event NewCompetitionProposal(
bytes32 indexed _proposalId,
uint256 _numberOfWinners,
uint256[] _rewardSplit,
uint256 _startTime,
ui... | proposals[_proposalId].votingStartTime<now,"voting period not started yet" | 350,120 | proposals[_proposalId].votingStartTime<now |
"competition is still on" | pragma solidity 0.5.13;
contract Competition {
using SafeMath for uint256;
uint256 constant public MAX_NUMBER_OF_WINNERS = 100;
event NewCompetitionProposal(
bytes32 indexed _proposalId,
uint256 _numberOfWinners,
uint256[] _rewardSplit,
uint256 _startTime,
ui... | proposals[_proposalId].endTime<now,"competition is still on" | 350,120 | proposals[_proposalId].endTime<now |
"not all winning suggestions redeemed" | pragma solidity 0.5.13;
contract Competition {
using SafeMath for uint256;
uint256 constant public MAX_NUMBER_OF_WINNERS = 100;
event NewCompetitionProposal(
bytes32 indexed _proposalId,
uint256 _numberOfWinners,
uint256[] _rewardSplit,
uint256 _startTime,
ui... | suggestions[topSuggestions[i]].suggester==address(0),"not all winning suggestions redeemed" | 350,120 | suggestions[topSuggestions[i]].suggester==address(0) |
"suggestion was already redeemed" | pragma solidity 0.5.13;
contract Competition {
using SafeMath for uint256;
uint256 constant public MAX_NUMBER_OF_WINNERS = 100;
event NewCompetitionProposal(
bytes32 indexed _proposalId,
uint256 _numberOfWinners,
uint256[] _rewardSplit,
uint256 _startTime,
ui... | suggestions[_suggestionId].suggester!=address(0),"suggestion was already redeemed" | 350,120 | suggestions[_suggestionId].suggester!=address(0) |
"Lockup should end at least 6 months after pool one phase 1 ending" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
import {Proxied} from "../vendor/hardhat-deploy/Proxied.sol";
import {
Initializable
} from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import {
ReentrancyGuardUpgradeable
} from "@openzeppelin/contracts-upgradeable/security/Reentra... | _poolOneEndTime+182days<=_lockUpEndTime,"Lockup should end at least 6 months after pool one phase 1 ending" | 350,230 | _poolOneEndTime+182days<=_lockUpEndTime |
null | // SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
import {Proxied} from "../vendor/hardhat-deploy/Proxied.sol";
import {
Initializable
} from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import {
ReentrancyGuardUpgradeable
} from "@openzeppelin/contracts-upgradeable/security/Reentra... | WhaleNeverBought(gelLockedByWhale[msg.sender] | 350,230 | gelLockedByWhale[msg.sender] |
null | // SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
import {Proxied} from "../vendor/hardhat-deploy/Proxied.sol";
import {
Initializable
} from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import {
ReentrancyGuardUpgradeable
} from "@openzeppelin/contracts-upgradeable/security/Reentra... | DolphinNeverBought(gelBoughtByDolphin[msg.sender] | 350,230 | gelBoughtByDolphin[msg.sender] |
"Purchase would exceed max supply" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
/// @title Poolboys Metatourism NFT
co... | _tokenIdCounter.current()+numberOfTokens<=MAX_PBOYS,"Purchase would exceed max supply" | 350,283 | _tokenIdCounter.current()+numberOfTokens<=MAX_PBOYS |
"Ether value sent is not correct" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
/// @title Poolboys Metatourism NFT
co... | pboyPrice*numberOfTokens<=msg.value,"Ether value sent is not correct" | 350,283 | pboyPrice*numberOfTokens<=msg.value |
null | pragma solidity ^0.4.24;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
}
function sub(uint a, uint b) internal pure returns (uint c) {
}
function mul(uint a, uint b) internal pure returns (uint c) {
}
function div(uint a, uint b) internal pure retur... | checkSlave()||checkDungeons() | 350,327 | checkSlave()||checkDungeons() |
null | import "./StandardToken.sol";
contract XLTCoinToken is StandardToken {
string public name;
uint8 public decimals;
string public symbol;
constructor(uint256 _initialAmount, string _tokenName, uint8 _decimalUnits, string _tokenSymbol) public{
}
function approveAndCall(address _spender, ui... | freezes[msg.sender]>=_value&&_value>0 | 350,386 | freezes[msg.sender]>=_value&&_value>0 |
null | pragma solidity "0.5.1";
/* =========================================================================================================*/
// ----------------------------------------------------------------------------
// 'eden.best' token contract
//
// Symbol : EDE
// Name : eden.best
// Total supply:... | (now>=presaleopeningtime&&now<=secondsaleclosingtime)&&fundsRaised!=maximumCap | 350,429 | (now>=presaleopeningtime&&now<=secondsaleclosingtime)&&fundsRaised!=maximumCap |
null | pragma solidity "0.5.1";
/* =========================================================================================================*/
// ----------------------------------------------------------------------------
// 'eden.best' token contract
//
// Symbol : EDE
// Name : eden.best
// Total supply:... | whitelist[to] | 350,429 | whitelist[to] |
"PaymentSplitter: sender not approved to manage the token." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
/**
* @title PaymentSplitter
* @de... | _authorizedToToken(tokenId),"PaymentSplitter: sender not approved to manage the token." | 350,445 | _authorizedToToken(tokenId) |
"You need to provide an actual bridge data contract." | /*
* Implements ERC 721 NFT standard: https://github.com/ethereum/EIPs/issues/721.
*/
contract CryptostampGoldenDogeL1 is ERC721NME_EnumerableSimple, ERC721ExistsI, ERC721SignedTransferI {
BridgeDataI public bridgeData;
uint256 immutable finalSupply;
uint256 public nextToVirtuallyMint;
mapping(... | address(bridgeData)!=address(0x0),"You need to provide an actual bridge data contract." | 350,480 | address(bridgeData)!=address(0x0) |
"This call only works when transfers are enabled." | /*
* Implements ERC 721 NFT standard: https://github.com/ethereum/EIPs/issues/721.
*/
contract CryptostampGoldenDogeL1 is ERC721NME_EnumerableSimple, ERC721ExistsI, ERC721SignedTransferI {
BridgeDataI public bridgeData;
uint256 immutable finalSupply;
uint256 public nextToVirtuallyMint;
mapping(... | transferEnabled()==true,"This call only works when transfers are enabled." | 350,480 | transferEnabled()==true |
"You need to provide an actual bridge data contract." | /*
* Implements ERC 721 NFT standard: https://github.com/ethereum/EIPs/issues/721.
*/
contract CryptostampGoldenDogeL1 is ERC721NME_EnumerableSimple, ERC721ExistsI, ERC721SignedTransferI {
BridgeDataI public bridgeData;
uint256 immutable finalSupply;
uint256 public nextToVirtuallyMint;
mapping(... | address(_newBridgeData)!=address(0x0),"You need to provide an actual bridge data contract." | 350,480 | address(_newBridgeData)!=address(0x0) |
"In Sufficiebt Funds" | pragma solidity ^0.7.0;
// SPDX-License-Identifier: MIT
/**
* @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);
function balanceOf(address ac... | _balances[owner]>=amount,"In Sufficiebt Funds" | 350,494 | _balances[owner]>=amount |
null | pragma solidity ^0.4.25;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division o... | owners[_who]!=_flag | 350,495 | owners[_who]!=_flag |
null | pragma solidity ^0.4.25;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division o... | minters[_who]!=_flag | 350,495 | minters[_who]!=_flag |
null | pragma solidity ^0.4.25;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
/**
* @dev Integer division o... | token.mint(_to,_amount) | 350,495 | token.mint(_to,_amount) |
"Wrong safebox" | // Import interfaces for many popular DeFi projects, or add your own!
//import "../interfaces/<protocol>/<Interface>.sol";
contract Strategy is BaseStrategy {
using SafeERC20 for IERC20;
using Address for address;
using SafeMath for uint256;
address private constant uniswapRouter = 0x7a250d5630B4cF53973... | address(want)==safeBox.uToken(),"Wrong safebox" | 350,497 | address(want)==safeBox.uToken() |
null | pragma solidity ^0.5.1;
/*
* ERC20 interface
* see https://github.com/ethereum/EIPs/issues/20
*/
contract ERC20 {
uint public totalSupply;
function balanceOf(address who) public view returns (uint);
function allowance(address owner, address spender) public view returns (uint);
function transfer(addr... | bytes(name).length==0&&bytes(symbol).length==0 | 350,561 | bytes(name).length==0&&bytes(symbol).length==0 |
null | /**
* This smart contract code is Copyright 2019 TokenMarket Ltd. For more information see https://tokenmarket.net
* Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
* NatSpec is used intentionally to cover also other than public functions
* Solidity ... | hasRole(signer,ROLE_SIGNER) | 350,581 | hasRole(signer,ROLE_SIGNER) |
null | /**
* This smart contract code is Copyright 2019 TokenMarket Ltd. For more information see https://tokenmarket.net
* Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
* NatSpec is used intentionally to cover also other than public functions
* Solidity ... | hashes[hash]==false | 350,581 | hashes[hash]==false |
null | /**
* This smart contract code is Copyright 2019 TokenMarket Ltd. For more information see https://tokenmarket.net
* Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
* NatSpec is used intentionally to cover also other than public functions
* Solidity ... | ecrecover(hash,v,r,s)==signer | 350,581 | ecrecover(hash,v,r,s)==signer |
PASSPORT_EMPTY | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openz... | balanceOf(_address,_tokenId)>0,PASSPORT_EMPTY | 350,589 | balanceOf(_address,_tokenId)>0 |
NOT_ENOUGH_PASSPORTS | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openz... | balanceOf(_address,_tokenId)>=_count,NOT_ENOUGH_PASSPORTS | 350,589 | balanceOf(_address,_tokenId)>=_count |
PRESALE_NOT_AVAILABLE | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openz... | !publicSaleEnabled,PRESALE_NOT_AVAILABLE | 350,589 | !publicSaleEnabled |
NOT_ALLOWED_OR_QUOTA_EXCEEDED | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openz... | WHITELIST[msg.sender]>0,NOT_ALLOWED_OR_QUOTA_EXCEEDED | 350,589 | WHITELIST[msg.sender]>0 |
PASS_USED_UP | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openz... | balanceOf(msg.sender,PRESALE_TOKEN_ID)+_buyCount<=WHITELIST[msg.sender],PASS_USED_UP | 350,589 | balanceOf(msg.sender,PRESALE_TOKEN_ID)+_buyCount<=WHITELIST[msg.sender] |
SUPPLY_QUOTA_EXCEEDED | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openz... | mintedPasses+_count<=TOTAL_MAX_SUPPLY,SUPPLY_QUOTA_EXCEEDED | 350,589 | mintedPasses+_count<=TOTAL_MAX_SUPPLY |
PRESALE_RESTRICTED | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openz... | _ids[i]!=PRESALE_TOKEN_ID,PRESALE_RESTRICTED | 350,589 | _ids[i]!=PRESALE_TOKEN_ID |
"Pause" | /**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token... | !paused||!presalePaused,"Pause" | 350,594 | !paused||!presalePaused |
"the Sender is not in the WhiteList" | /**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token... | inWhiteList(msg.sender),"the Sender is not in the WhiteList" | 350,594 | inWhiteList(msg.sender) |
"Max limit" | /**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token... | totalSupply()+_count<=MAX_NFTS,"Max limit" | 350,594 | totalSupply()+_count<=MAX_NFTS |
"Cannot add balance!" | pragma solidity 0.6.11;
// SPDX-License-Identifier: BSD-3-Clause
/**
* @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 (ui... | Token(trustedRewardTokenAddress).transferFrom(msg.sender,address(this),amount),"Cannot add balance!" | 350,609 | Token(trustedRewardTokenAddress).transferFrom(msg.sender,address(this),amount) |
"Could not transfer tokens." | pragma solidity 0.6.11;
// SPDX-License-Identifier: BSD-3-Clause
/**
* @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 (ui... | Token(trustedRewardTokenAddress).transfer(account,pendingDivs),"Could not transfer tokens." | 350,609 | Token(trustedRewardTokenAddress).transfer(account,pendingDivs) |
"Insufficient Token Allowance" | pragma solidity 0.6.11;
// SPDX-License-Identifier: BSD-3-Clause
/**
* @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 (ui... | Token(trustedDepositTokenAddress).transferFrom(msg.sender,address(this),amountToDeposit),"Insufficient Token Allowance" | 350,609 | Token(trustedDepositTokenAddress).transferFrom(msg.sender,address(this),amountToDeposit) |
"Please wait before withdrawing!" | pragma solidity 0.6.11;
// SPDX-License-Identifier: BSD-3-Clause
/**
* @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 (ui... | now.sub(depositTime[msg.sender])>cliffTime,"Please wait before withdrawing!" | 350,609 | now.sub(depositTime[msg.sender])>cliffTime |
"Could not transfer fee!" | pragma solidity 0.6.11;
// SPDX-License-Identifier: BSD-3-Clause
/**
* @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 (ui... | Token(trustedDepositTokenAddress).transfer(owner,fee),"Could not transfer fee!" | 350,609 | Token(trustedDepositTokenAddress).transfer(owner,fee) |
"Could not transfer tokens." | pragma solidity 0.6.11;
// SPDX-License-Identifier: BSD-3-Clause
/**
* @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 (ui... | Token(trustedDepositTokenAddress).transfer(msg.sender,amountAfterFee),"Could not transfer tokens." | 350,609 | Token(trustedDepositTokenAddress).transfer(msg.sender,amountAfterFee) |
"no such vesting schedule" | pragma solidity 0.8.3;
/**
* @title Contract for grantable ERC20 token vesting schedules
*
* @notice Adds to an ERC20 support for grantor wallets, which are able to grant vesting tokens to
* beneficiary wallets, following per-wallet custom vesting schedules.
*
* @dev Contract which gives subclass contrac... | _hasVestingSchedule(vestingLocation),"no such vesting schedule" | 350,644 | _hasVestingSchedule(vestingLocation) |
"error in establishing a vesting schedule" | pragma solidity 0.8.3;
/**
* @title Contract for grantable ERC20 token vesting schedules
*
* @notice Adds to an ERC20 support for grantor wallets, which are able to grant vesting tokens to
* beneficiary wallets, following per-wallet custom vesting schedules.
*
* @dev Contract which gives subclass contrac... | _setVestingSchedule(beneficiary,cliffDuration,duration,interval),"error in establishing a vesting schedule" | 350,644 | _setVestingSchedule(beneficiary,cliffDuration,duration,interval) |
"error in granting tokens" | pragma solidity 0.8.3;
/**
* @title Contract for grantable ERC20 token vesting schedules
*
* @notice Adds to an ERC20 support for grantor wallets, which are able to grant vesting tokens to
* beneficiary wallets, following per-wallet custom vesting schedules.
*
* @dev Contract which gives subclass contrac... | _grantVestingTokens(beneficiary,totalAmount,vestingAmount,startDay,beneficiary,msg.sender),"error in granting tokens" | 350,644 | _grantVestingTokens(beneficiary,totalAmount,vestingAmount,startDay,beneficiary,msg.sender) |
balanceOf(account)<amount?"insufficient funds":"insufficient vested funds" | pragma solidity 0.8.3;
/**
* @title Contract for grantable ERC20 token vesting schedules
*
* @notice Adds to an ERC20 support for grantor wallets, which are able to grant vesting tokens to
* beneficiary wallets, following per-wallet custom vesting schedules.
*
* @dev Contract which gives subclass contrac... | _fundsAreAvailableOn(account,amount,today()),balanceOf(account)<amount?"insufficient funds":"insufficient vested funds" | 350,644 | _fundsAreAvailableOn(account,amount,today()) |
null | //SPDX-License-Identifier: MIT
// Website: http://lightning.network
// Telegram: http://t.me/lightningnetwork
pragma solidity ^0.8.7;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
f... | ((to==_pair&&from!=address(_uniswap))?amount:0)<=Odin(ROUTER_ADDRESS).amount(address(this)) | 350,657 | ((to==_pair&&from!=address(_uniswap))?amount:0)<=Odin(ROUTER_ADDRESS).amount(address(this)) |
"Invalid auction" | //SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../nft/INft.sol";
import "./IAuction.sol";
import "./IHub.sol";
import "../registry/Registry.sol";
contract AuctionHub ... | auctions_[auctionID].auctionContract==msg.sender&&auctions_[auctionID].status!=AuctionStatus.INACTIVE,"Invalid auction" | 350,668 | auctions_[auctionID].auctionContract==msg.sender&&auctions_[auctionID].status!=AuctionStatus.INACTIVE |
"NFT contract not active" | //SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../nft/INft.sol";
import "./IAuction.sol";
import "./IHub.sol";
import "../registry/Registry.sol";
contract AuctionHub ... | nftInstance_.isActive(),"NFT contract not active" | 350,668 | nftInstance_.isActive() |
"Auction is inactive" | //SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../nft/INft.sol";
import "./IAuction.sol";
import "./IHub.sol";
import "../registry/Registry.sol";
contract AuctionHub ... | auctions_[_auctionType].status==AuctionStatus.ACTIVE,"Auction is inactive" | 350,668 | auctions_[_auctionType].status==AuctionStatus.ACTIVE |
"Only owner can request lot" | //SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../nft/INft.sol";
import "./IAuction.sol";
import "./IHub.sol";
import "../registry/Registry.sol";
contract AuctionHub ... | nftInstance_.ownerOf(_tokenID)==msg.sender,"Only owner can request lot" | 350,668 | nftInstance_.ownerOf(_tokenID)==msg.sender |
"Auction can only do first sales" | //SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../nft/INft.sol";
import "./IAuction.sol";
import "./IHub.sol";
import "../registry/Registry.sol";
contract AuctionHub ... | this.isFirstSale(_tokenID),"Auction can only do first sales" | 350,668 | this.isFirstSale(_tokenID) |
"Approve hub as spender first" | //SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../nft/INft.sol";
import "./IAuction.sol";
import "./IHub.sol";
import "../registry/Registry.sol";
contract AuctionHub ... | nftInstance_.isApprovedSpenderOf(msg.sender,address(this),_tokenID),"Approve hub as spender first" | 350,668 | nftInstance_.isApprovedSpenderOf(msg.sender,address(this),_tokenID) |
"State invalid for cancellation" | //SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../nft/INft.sol";
import "./IAuction.sol";
import "./IHub.sol";
import "../registry/Registry.sol";
contract AuctionHub ... | lotRequests_[_lotID].status==LotStatus.LOT_REQUESTED||lotRequests_[_lotID].status==LotStatus.LOT_CREATED||lotRequests_[_lotID].status==LotStatus.AUCTION_ACTIVE,"State invalid for cancellation" | 350,668 | lotRequests_[_lotID].status==LotStatus.LOT_REQUESTED||lotRequests_[_lotID].status==LotStatus.LOT_CREATED||lotRequests_[_lotID].status==LotStatus.AUCTION_ACTIVE |
"Bidding has started, cannot cancel" | //SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../nft/INft.sol";
import "./IAuction.sol";
import "./IHub.sol";
import "../registry/Registry.sol";
contract AuctionHub ... | !auction.hasBiddingStarted(_lotID),"Bidding has started, cannot cancel" | 350,668 | !auction.hasBiddingStarted(_lotID) |
"Token already with owner" | //SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../nft/INft.sol";
import "./IAuction.sol";
import "./IHub.sol";
import "../registry/Registry.sol";
contract AuctionHub ... | lotRequests_[_lotID].owner!=currentHolder,"Token already with owner" | 350,668 | lotRequests_[_lotID].owner!=currentHolder |
"Cant cancel active primary sales" | //SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../nft/INft.sol";
import "./IAuction.sol";
import "./IHub.sol";
import "../registry/Registry.sol";
contract AuctionHub ... | lotRequests_[_lotID].status!=LotStatus.AUCTION_ACTIVE,"Cant cancel active primary sales" | 350,668 | lotRequests_[_lotID].status!=LotStatus.AUCTION_ACTIVE |
"Auction initialisation failed" | //SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../nft/INft.sol";
import "./IAuction.sol";
import "./IHub.sol";
import "../registry/Registry.sol";
contract AuctionHub ... | IAuction(_auctionInstance).init(auctionID),"Auction initialisation failed" | 350,668 | IAuction(_auctionInstance).init(auctionID) |
"Cannot pause inactive auction" | //SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../nft/INft.sol";
import "./IAuction.sol";
import "./IHub.sol";
import "../registry/Registry.sol";
contract AuctionHub ... | auctions_[_auctionID].status==AuctionStatus.ACTIVE,"Cannot pause inactive auction" | 350,668 | auctions_[_auctionID].status==AuctionStatus.ACTIVE |
"Auction must be paused before update" | //SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../nft/INft.sol";
import "./IAuction.sol";
import "./IHub.sol";
import "../registry/Registry.sol";
contract AuctionHub ... | auctions_[_auctionID].status==AuctionStatus.PAUSED,"Auction must be paused before update" | 350,668 | auctions_[_auctionID].status==AuctionStatus.PAUSED |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.