comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"insufficent-seed-tokens"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/interfaces/IERC721Enumerable.sol"; import "./interfaces/IBabyBirdez.sol"; import "./interfaces/ISeedToken.sol"; import "hardhat/console.sol"; contract Breeder is Ownable { even...
seed.balanceOf(msg.sender)>=BIO_COST,"insufficent-seed-tokens"
326,417
seed.balanceOf(msg.sender)>=BIO_COST
"insufficent-seed-tokens"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/interfaces/IERC721Enumerable.sol"; import "./interfaces/IBabyBirdez.sol"; import "./interfaces/ISeedToken.sol"; import "hardhat/console.sol"; contract Breeder is Ownable { even...
seed.balanceOf(msg.sender)>=NAME_COST,"insufficent-seed-tokens"
326,417
seed.balanceOf(msg.sender)>=NAME_COST
"not-enough-genesis"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/interfaces/IERC721Enumerable.sol"; import "./interfaces/IBabyBirdez.sol"; import "./interfaces/ISeedToken.sol"; import "hardhat/console.sol"; contract Breeder is Ownable { even...
_getGenesisCount(msg.sender)>=2,"not-enough-genesis"
326,417
_getGenesisCount(msg.sender)>=2
"insufficent-seed-tokens"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/interfaces/IERC721Enumerable.sol"; import "./interfaces/IBabyBirdez.sol"; import "./interfaces/ISeedToken.sol"; import "hardhat/console.sol"; contract Breeder is Ownable { even...
seed.balanceOf(msg.sender)>=_cost,"insufficent-seed-tokens"
326,417
seed.balanceOf(msg.sender)>=_cost
"NOT_A_SUPER_ADMIN"
pragma solidity 0.5.16; pragma experimental ABIEncoderV2; import "../../libraries/LibOrder.sol"; import "../../libraries/LibOrderAmounts.sol"; import "../../libraries/LibOutcome.sol"; import "../../interfaces/IEscrow.sol"; import "../../interfaces/IOutcomeReporter.sol"; import "../../interfaces/permissions/ISuperAdminR...
superAdminRole.isSuperAdmin(operator),"NOT_A_SUPER_ADMIN"
326,561
superAdminRole.isSuperAdmin(operator)
"MARKET_NOT_TRADEABLE"
pragma solidity 0.5.16; pragma experimental ABIEncoderV2; import "../../libraries/LibOrder.sol"; import "../../libraries/LibOrderAmounts.sol"; import "../../libraries/LibOutcome.sol"; import "../../interfaces/IEscrow.sol"; import "../../interfaces/IOutcomeReporter.sol"; import "../../interfaces/permissions/ISuperAdminR...
outcomeReporter.getReportTime(order.marketHash)==0,"MARKET_NOT_TRADEABLE"
326,561
outcomeReporter.getReportTime(order.marketHash)==0
"INSUFFICIENT_SPACE"
pragma solidity 0.5.16; pragma experimental ABIEncoderV2; import "../../libraries/LibOrder.sol"; import "../../libraries/LibOrderAmounts.sol"; import "../../libraries/LibOutcome.sol"; import "../../interfaces/IEscrow.sol"; import "../../interfaces/IOutcomeReporter.sol"; import "../../interfaces/permissions/ISuperAdminR...
fills.orderHasSpace(order,takerAmount),"INSUFFICIENT_SPACE"
326,561
fills.orderHasSpace(order,takerAmount)
"CANNOT_TRANSFER_TAKER_ESCROW"
pragma solidity 0.5.16; pragma experimental ABIEncoderV2; import "../../libraries/LibOrder.sol"; import "../../libraries/LibOrderAmounts.sol"; import "../../libraries/LibOutcome.sol"; import "../../interfaces/IEscrow.sol"; import "../../interfaces/IOutcomeReporter.sol"; import "../../interfaces/permissions/ISuperAdminR...
transferViaProxy(order.baseToken,order.maker,address(escrow),orderAmounts.takerAmount),"CANNOT_TRANSFER_TAKER_ESCROW"
326,561
transferViaProxy(order.baseToken,order.maker,address(escrow),orderAmounts.takerAmount)
"CANNOT_TRANSFER_TAKER_ESCROW"
pragma solidity 0.5.16; pragma experimental ABIEncoderV2; import "../../libraries/LibOrder.sol"; import "../../libraries/LibOrderAmounts.sol"; import "../../libraries/LibOutcome.sol"; import "../../interfaces/IEscrow.sol"; import "../../interfaces/IOutcomeReporter.sol"; import "../../interfaces/permissions/ISuperAdminR...
transferViaProxy(order.baseToken,taker,address(escrow),orderAmounts.takerEscrow),"CANNOT_TRANSFER_TAKER_ESCROW"
326,561
transferViaProxy(order.baseToken,taker,address(escrow),orderAmounts.takerEscrow)
"IdolToken: mint request from unauthorized address"
// contracts/IdolToken.sol // SPDX-License-Identifier: MIT 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); /...
_msgSender()==minter,"IdolToken: mint request from unauthorized address"
326,582
_msgSender()==minter
'Sent amount does not match outstanding'
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; // ---------------------------------------------------------------------------- // 'FBond' token contract // // Deployed to : 0x22d9e4f1e44b4f3581139affc6559a5e8831825e // Symbol : FBond // Name : FBond Token // Total supply: 100 /...
msg.value==(issuedAmount-_totalSupply)*weiRateMultiplier,'Sent amount does not match outstanding'
326,623
msg.value==(issuedAmount-_totalSupply)*weiRateMultiplier
'Contract has insufficient funds'
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; // ---------------------------------------------------------------------------- // 'FBond' token contract // // Deployed to : 0x22d9e4f1e44b4f3581139affc6559a5e8831825e // Symbol : FBond // Name : FBond Token // Total supply: 100 /...
issuer.balance>=(issuedAmount-_totalSupply)*weiRateMultiplier,'Contract has insufficient funds'
326,623
issuer.balance>=(issuedAmount-_totalSupply)*weiRateMultiplier
"CALLER_IS_NOT_STAKER"
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC7...
tokenOwner[_tokenIds[i]]==_msgSender(),"CALLER_IS_NOT_STAKER"
326,724
tokenOwner[_tokenIds[i]]==_msgSender()
"STAKING_IS_ALREADY_LIVE"
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC7...
!stakingLive,"STAKING_IS_ALREADY_LIVE"
326,724
!stakingLive
"TIER_ALREADY_SET"
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC7...
tokenIdTier[_tokenIds[i]]==0,"TIER_ALREADY_SET"
326,724
tokenIdTier[_tokenIds[i]]==0
"ADDRESS_DOES_NOT_HAVE_PERMISSION_TO_BURN"
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC7...
allowedAddresses[_msgSender()],"ADDRESS_DOES_NOT_HAVE_PERMISSION_TO_BURN"
326,724
allowedAddresses[_msgSender()]
"CBWC_NFT_IS_NOT_YOURS"
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC7...
CryptoBearWatchClub.ownerOf(_tokenIds[i])==_msgSender(),"CBWC_NFT_IS_NOT_YOURS"
326,724
CryptoBearWatchClub.ownerOf(_tokenIds[i])==_msgSender()
"The owner must be the one attempting the update"
// SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppel...
ownerOf(_tokenID)==msg.sender,"The owner must be the one attempting the update"
326,848
ownerOf(_tokenID)==msg.sender
"App ID must exist"
// SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppel...
apps[_appId].id!=0,"App ID must exist"
326,848
apps[_appId].id!=0
"Must be a developer to create an app"
// SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppel...
hasRole(DEVELOPER_ROLE,msg.sender)||(_requireDeveloperOnboarding==false),"Must be a developer to create an app"
326,848
hasRole(DEVELOPER_ROLE,msg.sender)||(_requireDeveloperOnboarding==false)
"Must be a developer to create an app"
// SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppel...
hasRole(DEVELOPER_ROLE,msg.sender),"Must be a developer to create an app"
326,848
hasRole(DEVELOPER_ROLE,msg.sender)
"App ID must exist"
// SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppel...
apps[appId].id!=0,"App ID must exist"
326,848
apps[appId].id!=0
"Insufficient funds provided"
pragma solidity ^0.8.7; // IMPORTS // /** * @dev ERC721 token standard */ /** * @dev Modifier 'onlyOwner' becomes available where owner is the contract deployer */ /** * @dev Verification of Merkle trees */ /** * @dev Generates words etc */ // LIBRARIES // /// [MIT License] /// @title Base64 //...
msg.value>=(2*10**16),"Insufficient funds provided"
326,860
msg.value>=(2*10**16)
"Already claimed"
pragma solidity ^0.8.7; // IMPORTS // /** * @dev ERC721 token standard */ /** * @dev Modifier 'onlyOwner' becomes available where owner is the contract deployer */ /** * @dev Verification of Merkle trees */ /** * @dev Generates words etc */ // LIBRARIES // /// [MIT License] /// @title Base64 //...
hasClaimed[msg.sender]==false,"Already claimed"
326,860
hasClaimed[msg.sender]==false
"Not on pre-approved claim list"
pragma solidity ^0.8.7; // IMPORTS // /** * @dev ERC721 token standard */ /** * @dev Modifier 'onlyOwner' becomes available where owner is the contract deployer */ /** * @dev Verification of Merkle trees */ /** * @dev Generates words etc */ // LIBRARIES // /// [MIT License] /// @title Base64 //...
MerkleProof.verify(proof,root,keccak256(abi.encodePacked(msg.sender)))==true,"Not on pre-approved claim list"
326,860
MerkleProof.verify(proof,root,keccak256(abi.encodePacked(msg.sender)))==true
"Shuffled max amount already"
pragma solidity ^0.8.7; // IMPORTS // /** * @dev ERC721 token standard */ /** * @dev Modifier 'onlyOwner' becomes available where owner is the contract deployer */ /** * @dev Verification of Merkle trees */ /** * @dev Generates words etc */ // LIBRARIES // /// [MIT License] /// @title Base64 //...
shuffleCount[_tokenId]<5,"Shuffled max amount already"
326,860
shuffleCount[_tokenId]<5
"No words selected to be shuffled"
pragma solidity ^0.8.7; // IMPORTS // /** * @dev ERC721 token standard */ /** * @dev Modifier 'onlyOwner' becomes available where owner is the contract deployer */ /** * @dev Verification of Merkle trees */ /** * @dev Generates words etc */ // LIBRARIES // /// [MIT License] /// @title Base64 //...
(one+two+three+four+five+six+seven+eight)>0,"No words selected to be shuffled"
326,860
(one+two+three+four+five+six+seven+eight)>0
"AF_IC"
/** * Copyright 2017–2019, LaborX PTY * Licensed under the AGPL Version 3 license. */ pragma solidity ^0.4.25; contract FeeApplicable is Object { uint constant MAX_FEE = 100; // 100 = 1% uint constant FEE_PRECISION = 10000; // Fee calculation: value * (fee / FEE_PRECISION) address private _servic...
_isFeeAdmin(msg.sender),"AF_IC"
326,869
_isFeeAdmin(msg.sender)
null
pragma solidity ^0.5.0; /* * @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 when dealing with GSN meta-transact...
tokenContract.destroyTokens(_owner,_tokensToBurn)
326,903
tokenContract.destroyTokens(_owner,_tokensToBurn)
"The game is drawing, try again later."
pragma solidity 0.5.8; /* * Lottery 5 of 36 (Weekly) v0.0.4 */ contract SmartLotto { // CONSTANTS ////////////////////////////////////////////////////////////////////////////////////////////////////// uint private constant TICKET_PRICE = 0.01 ether; uint8 private constant REQ_NUMBERS = 5; uint...
games[gameNum].status==0,"The game is drawing, try again later."
326,925
games[gameNum].status==0
"The game is drawing, try again later."
pragma solidity 0.5.8; /* * Lottery 5 of 36 (Weekly) v0.0.4 */ contract SmartLotto { // CONSTANTS ////////////////////////////////////////////////////////////////////////////////////////////////////// uint private constant TICKET_PRICE = 0.01 ether; uint8 private constant REQ_NUMBERS = 5; uint...
!isDrawTime,"The game is drawing, try again later."
326,925
!isDrawTime
"Exceeds max mints for presale."
pragma solidity >=0.8.4; /** $$\ $$\ $$\ $$\ $$\ $$\ $$$\ $$$ | $$ | $$$\ $$$ | \__| $$$$\ $$$$ | $$$$$$\ $$$$$$\ $$$$$$\ ...
_presaleClaimed[account]+_mintAmount<=maxPerPresaleAddress,"Exceeds max mints for presale."
326,999
_presaleClaimed[account]+_mintAmount<=maxPerPresaleAddress
"Exceeds max of 50 reserved."
pragma solidity >=0.8.4; /** $$\ $$\ $$\ $$\ $$\ $$\ $$$\ $$$ | $$ | $$$\ $$$ | \__| $$$$\ $$$$ | $$$$$$\ $$$$$$\ $$$$$$\ ...
reserveCount+_mintAmount<=reserveLimit,"Exceeds max of 50 reserved."
326,999
reserveCount+_mintAmount<=reserveLimit
"start block already set"
pragma solidity 0.7.6; contract ProxyCoin is ERC20Burnable, Ownable { using SafeMath for uint256; uint256 public perBlockSupply = 2391000 * 1e18; uint256 public lastMintBlock; uint256 public mintDuration = 210000; address public treasuryWallet; uint256 public mintCycle; uint256 public mintCycleCap...
!startBlockSet,"start block already set"
327,075
!startBlockSet
"Err: Minting Finished"
pragma solidity 0.7.6; contract ProxyCoin is ERC20Burnable, Ownable { using SafeMath for uint256; uint256 public perBlockSupply = 2391000 * 1e18; uint256 public lastMintBlock; uint256 public mintDuration = 210000; address public treasuryWallet; uint256 public mintCycle; uint256 public mintCycleCap...
!mintingFinished(),"Err: Minting Finished"
327,075
!mintingFinished()
"Err: Minting not allowed"
pragma solidity 0.7.6; contract ProxyCoin is ERC20Burnable, Ownable { using SafeMath for uint256; uint256 public perBlockSupply = 2391000 * 1e18; uint256 public lastMintBlock; uint256 public mintDuration = 210000; address public treasuryWallet; uint256 public mintCycle; uint256 public mintCycleCap...
getMintingStatus(),"Err: Minting not allowed"
327,075
getMintingStatus()
"INVALID_ADDRESS"
// SPDX-License-Identifier: BUSDL-1.1 pragma solidity 0.6.11; import {Address} from "@openzeppelin/contracts/utils/Address.sol"; import {EnumerableSet} from "@openzeppelin/contracts/utils/EnumerableSet.sol"; import {IAssetAllocation, INameIdentifier} from "contracts/common/Imports.sol"; import {IZap, ISwap} from "contr...
Address.isContract(address(namedAddress)),"INVALID_ADDRESS"
327,315
Address.isContract(address(namedAddress))
"DUPLICATE_ADDRESS"
// SPDX-License-Identifier: BUSDL-1.1 pragma solidity 0.6.11; import {Address} from "@openzeppelin/contracts/utils/Address.sol"; import {EnumerableSet} from "@openzeppelin/contracts/utils/EnumerableSet.sol"; import {IAssetAllocation, INameIdentifier} from "contracts/common/Imports.sol"; import {IZap, ISwap} from "contr...
!set._namedAddresses.contains(address(namedAddress)),"DUPLICATE_ADDRESS"
327,315
!set._namedAddresses.contains(address(namedAddress))
"DUPLICATE_NAME"
// SPDX-License-Identifier: BUSDL-1.1 pragma solidity 0.6.11; import {Address} from "@openzeppelin/contracts/utils/Address.sol"; import {EnumerableSet} from "@openzeppelin/contracts/utils/EnumerableSet.sol"; import {IAssetAllocation, INameIdentifier} from "contracts/common/Imports.sol"; import {IZap, ISwap} from "contr...
address(set._nameLookup[name])==address(0),"DUPLICATE_NAME"
327,315
address(set._nameLookup[name])==address(0)
null
pragma solidity ^0.4.21; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, u...
balances[_from]>=_value&&allow>=_value
327,481
balances[_from]>=_value&&allow>=_value
"Vesting: not enough time"
pragma solidity ^0.6.12; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract SATVesting is Ow...
_lastClaim[_msgSender()]<now,"Vesting: not enough time"
327,583
_lastClaim[_msgSender()]<now
null
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // SencTokenSale - SENC Token Sale Contract // // Copyright (c) 2018 InfoCorp Technologies Pte Ltd. // // The MIT Licence. // ---------------------------------------------------------------------------- // -...
totalSupply_.add(_amount)<=TOTALSUPPLY
327,673
totalSupply_.add(_amount)<=TOTALSUPPLY
"ERR_ALLOWED_ADDRESS_ONLY"
// SPDX-License-Identifier: No License (None) pragma solidity ^0.6.9; import "./SafeMath.sol"; import "./Ownable.sol"; import "./provableAPI_0.6.sol"; interface IGateway { function validatorCallback(uint256 requestId, address tokenForeign, address user, uint256 balanceForeign) external returns(bool); } inte...
isAllowedAddress[msg.sender],"ERR_ALLOWED_ADDRESS_ONLY"
327,721
isAllowedAddress[msg.sender]
"Insufficient balance"
// SPDX-License-Identifier: No License (None) pragma solidity ^0.6.9; import "./SafeMath.sol"; import "./Ownable.sol"; import "./provableAPI_0.6.sol"; interface IGateway { function validatorCallback(uint256 requestId, address tokenForeign, address user, uint256 balanceForeign) external returns(bool); } inte...
provable_getPrice("URL")<=address(this).balance,"Insufficient balance"
327,721
provable_getPrice("URL")<=address(this).balance
null
pragma solidity ^0.4.24; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); ...
!isPauseOn||msg.sender==owner
327,807
!isPauseOn||msg.sender==owner
"Supply limit reached"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "openzeppelin-solidity/contracts/token/ERC721/ERC721.sol"; import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "openzeppelin-solidity/contracts/access/Ownable.sol"; import "openzeppelin-solidity/contracts/utils/math...
remaining()>0,"Supply limit reached"
327,882
remaining()>0
"Can-not-transfer"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC20.sol"; import "./ERC20Capped.sol"; import "./ERC20Burnable.sol"; import "./Ownable.sol"; contract DSCVR is ERC20, ERC20Capped, ERC20Burnable, Ownable { uint256 public constant HARD_CAP = 100_000 * (10 ** 18); // 100k tokens bool allowTransf...
allowTransfer||whiteListTransfer[msg.sender],"Can-not-transfer"
327,891
allowTransfer||whiteListTransfer[msg.sender]
"Already-allowed"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC20.sol"; import "./ERC20Capped.sol"; import "./ERC20Burnable.sol"; import "./Ownable.sol"; contract DSCVR is ERC20, ERC20Capped, ERC20Burnable, Ownable { uint256 public constant HARD_CAP = 100_000 * (10 ** 18); // 100k tokens bool allowTransf...
!allowTransfer,"Already-allowed"
327,891
!allowTransfer
null
contract InsightsNetwork3 is InsightsNetwork2Base { function importBalanceOf(address account) public onlyOwner canMint returns (bool) { require(<FILL_ME>) InsightsNetwork2Base source = InsightsNetwork2Base(predecessor); uint256 amount = source.balanceOf(account); require(amount ...
!imported[account]
327,911
!imported[account]
null
pragma solidity 0.5.16; contract Event { using SafeMath for uint256; bytes5 constant public version = "2.2.1"; uint8 constant private CLAPS_PER_ATTENDEE = 100; uint8 constant private MAX_ATTENDEES = 50; uint8 constant private ATTENDEE_UNREGISTERED = 0; uint8 constant private ATTENDEE_REGI...
states[_attendee]==ATTENDEE_UNREGISTERED
327,919
states[_attendee]==ATTENDEE_UNREGISTERED
null
pragma solidity 0.5.16; contract Event { using SafeMath for uint256; bytes5 constant public version = "2.2.1"; uint8 constant private CLAPS_PER_ATTENDEE = 100; uint8 constant private MAX_ATTENDEES = 50; uint8 constant private ATTENDEE_UNREGISTERED = 0; uint8 constant private ATTENDEE_REGI...
states[_clapper]==ATTENDEE_REGISTERED
327,919
states[_clapper]==ATTENDEE_REGISTERED
null
/** *Submitted for verification at Etherscan.io on 2019-10-30 */ /** * ____ __ __ __ __ * / __ / \.\/./ \.\/./ * / /__ //\\ //\\ * \___ / /_/ \_\ /_/ \_\ * * * * https://cxx.global/ * https://cxx.global/exchange * * * ====================================* * No guarantees a...
isInHelloCXX_[msg.sender]
328,050
isInHelloCXX_[msg.sender]
null
pragma solidity ^0.4.23; /** * @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...
receivedTokens[_tokenAddress].rate>0
328,077
receivedTokens[_tokenAddress].rate>0
null
pragma solidity ^0.4.23; /** * @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...
_tokenAddress.transferFrom(_sender,address(this),foreignTokenAmount)
328,077
_tokenAddress.transferFrom(_sender,address(this),foreignTokenAmount)
null
pragma solidity ^0.4.16; contract MyEtherTeller { //Author: Nidscom.io //Date: 23 March 2018 //Version: MyEtherTeller v1.0 MainNet address public owner; //Each buyer address consist of an array of EscrowStruct //Used to store buyer's transactions and for buyer...
buyerDatabase[buyerAddress][buyerID].release_approval==false&&buyerDatabase[buyerAddress][buyerID].refund_approval==false
328,164
buyerDatabase[buyerAddress][buyerID].release_approval==false&&buyerDatabase[buyerAddress][buyerID].refund_approval==false
null
pragma solidity ^0.4.16; contract MyEtherTeller { //Author: Nidscom.io //Date: 23 March 2018 //Version: MyEtherTeller v1.0 MainNet address public owner; //Each buyer address consist of an array of EscrowStruct //Used to store buyer's transactions and for buyer...
buyerDatabase[buyerAddress][buyerID].escrow_intervention==false&&buyerDatabase[buyerAddress][buyerID].release_approval==false&&buyerDatabase[buyerAddress][buyerID].refund_approval==false
328,164
buyerDatabase[buyerAddress][buyerID].escrow_intervention==false&&buyerDatabase[buyerAddress][buyerID].release_approval==false&&buyerDatabase[buyerAddress][buyerID].refund_approval==false
null
pragma solidity ^0.4.16; contract MyEtherTeller { //Author: Nidscom.io //Date: 23 March 2018 //Version: MyEtherTeller v1.0 MainNet address public owner; //Each buyer address consist of an array of EscrowStruct //Used to store buyer's transactions and for buyer...
buyerDatabase[buyerAddress][buyerID].release_approval==false&&buyerDatabase[buyerAddress][buyerID].escrow_intervention==true&&buyerDatabase[buyerAddress][buyerID].refund_approval==false
328,164
buyerDatabase[buyerAddress][buyerID].release_approval==false&&buyerDatabase[buyerAddress][buyerID].escrow_intervention==true&&buyerDatabase[buyerAddress][buyerID].refund_approval==false
"Not granted"
pragma solidity ^0.5.0; pragma experimental ABIEncoderV2; contract Vesting is Ownable { using SafeMath for uint256; struct VestingStruct{ uint256 starttime; uint256 period; uint256 release_periods; uint256 amount; uint256 withdrawn; uint256 group_id; ...
isGranted(account),"Not granted"
328,245
isGranted(account)
"Already granted"
pragma solidity ^0.5.0; pragma experimental ABIEncoderV2; contract Vesting is Ownable { using SafeMath for uint256; struct VestingStruct{ uint256 starttime; uint256 period; uint256 release_periods; uint256 amount; uint256 withdrawn; uint256 group_id; ...
!isGranted(account),"Already granted"
328,245
!isGranted(account)
null
pragma solidity ^0.4.19; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, ...
asideTokensHaveBeenMinted&&now>asideTokensMintDate+TOKEN_TRADABLE_DELAY
328,290
asideTokensHaveBeenMinted&&now>asideTokensMintDate+TOKEN_TRADABLE_DELAY
null
pragma solidity ^0.4.19; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, ...
(msg.sender==owner)||(msg.sender==whiteLister)
328,290
(msg.sender==owner)||(msg.sender==whiteLister)
null
pragma solidity ^0.4.19; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, ...
(reserveAddress!=0x0)&&(communityAddress!=0x0)&&(vestedAddress!=0x0)
328,290
(reserveAddress!=0x0)&&(communityAddress!=0x0)&&(vestedAddress!=0x0)
null
pragma solidity ^0.4.19; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, ...
!asideTokensHaveBeenMinted
328,290
!asideTokensHaveBeenMinted
"Sender isn't registered on Dakiya"
pragma solidity ^0.8.0; contract Messaging { uint256 public threadCount = 1; mapping(uint256 => Thread) public threads; mapping(uint256 => Message[]) public messages; uint256 public messagesIndex = 0; mapping(address => string) private pubEncKeys; // mapping of address to public encryption key...
bytes(pubEncKeys[msg.sender]).length!=0,"Sender isn't registered on Dakiya"
328,330
bytes(pubEncKeys[msg.sender]).length!=0
"OP01"
pragma solidity ^0.6.0; /** * @title Operable * @dev The Operable contract enable the restrictions of operations to a set of operators * * @author Cyril Lapinte - <cyril.lapinte@openfiz.com> * * Error messages * OP01: Message sender must be an operator * OP02: Address must be an operator * OP03: Addr...
operators_[msg.sender],"OP01"
328,516
operators_[msg.sender]
"OP02"
pragma solidity ^0.6.0; /** * @title Operable * @dev The Operable contract enable the restrictions of operations to a set of operators * * @author Cyril Lapinte - <cyril.lapinte@openfiz.com> * * Error messages * OP01: Message sender must be an operator * OP02: Address must be an operator * OP03: Addr...
operators_[_address],"OP02"
328,516
operators_[_address]
"OP03"
pragma solidity ^0.6.0; /** * @title Operable * @dev The Operable contract enable the restrictions of operations to a set of operators * * @author Cyril Lapinte - <cyril.lapinte@openfiz.com> * * Error messages * OP01: Message sender must be an operator * OP02: Address must be an operator * OP03: Addr...
!operators_[_address],"OP03"
328,516
!operators_[_address]
"Must have deliver role to deliver"
// // XX: pragma solidity 0.6.2; pragma solidity 0.6.12; pragma experimental ABIEncoderV2; contract BaseToken is ERC20PresetMinterPauser { bytes32 public constant ADJUST_ROLE = keccak256("ADJUST_ROLE"); bytes32 public constant DELIVER_ROLE = keccak256("DELIVER_ROLE"); string[30] private txidArray; ...
hasRole(DELIVER_ROLE,_msgSender()),"Must have deliver role to deliver"
328,537
hasRole(DELIVER_ROLE,_msgSender())
"The txid has existed"
// // XX: pragma solidity 0.6.2; pragma solidity 0.6.12; pragma experimental ABIEncoderV2; contract BaseToken is ERC20PresetMinterPauser { bytes32 public constant ADJUST_ROLE = keccak256("ADJUST_ROLE"); bytes32 public constant DELIVER_ROLE = keccak256("DELIVER_ROLE"); string[30] private txidArray; ...
keccak256(abi.encodePacked(txidArray[i]))!=keccak256(abi.encodePacked(txid)),"The txid has existed"
328,537
keccak256(abi.encodePacked(txidArray[i]))!=keccak256(abi.encodePacked(txid))
"Adjust role required"
// // XX: pragma solidity 0.6.2; pragma solidity 0.6.12; pragma experimental ABIEncoderV2; contract BaseToken is ERC20PresetMinterPauser { bytes32 public constant ADJUST_ROLE = keccak256("ADJUST_ROLE"); bytes32 public constant DELIVER_ROLE = keccak256("DELIVER_ROLE"); string[30] private txidArray; ...
hasRole(ADJUST_ROLE,_msgSender()),"Adjust role required"
328,537
hasRole(ADJUST_ROLE,_msgSender())
"No enough balance available to distribute"
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; /** * @title FreewayTokenDistributor * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * *...
_token.balanceOf(address(this))>=_totalShares,"No enough balance available to distribute"
328,571
_token.balanceOf(address(this))>=_totalShares
"already finalized"
/** * @title Finalizable crowdsale * @dev This contract is developed based on OpenZeppelin's FinalizableCrowdsale contract * with a different inherited contract. * @author Validity Labs AG <info@validitylabs.org> */ // solhint-disable-next-line compiler-fixed, compiler-gt-0_5 pragma solidity ^0.5.0; /** ...
!_finalized,"already finalized"
328,619
!_finalized
null
pragma solidity ^0.4.24; // Terrion Fund: collecting fund for our company contract Ownable { address public owner; function Ownable() public { } modifier onlyOwner() { } } contract TerrionFund is Ownable { uint constant minContribution = 200000000000000000; // 0.2 ETH address publ...
contributors[msg.sender]>0
328,711
contributors[msg.sender]>0
null
pragma solidity ^0.4.19; library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uint256 a, uint256 b) internal constant returns (uint256) { } function add(uint256 a, uint2...
isFreezed[msg.sender]==false
328,776
isFreezed[msg.sender]==false
null
pragma solidity ^0.4.19; library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uint256 a, uint256 b) internal constant returns (uint256) { } function add(uint256 a, uint2...
_value*length<=balances[msg.sender]
328,776
_value*length<=balances[msg.sender]
null
pragma solidity ^0.4.19; library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uint256 a, uint256 b) internal constant returns (uint256) { } function add(uint256 a, uint2...
founderLockance[msg.sender].remainRound>0
328,776
founderLockance[msg.sender].remainRound>0
null
pragma solidity ^0.4.19; library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uint256 a, uint256 b) internal constant returns (uint256) { } function add(uint256 a, uint2...
founderLockance[_target].amount>=_value
328,776
founderLockance[_target].amount>=_value
"Can-not-transfer"
pragma solidity ^0.7.0; contract SotaToken is ERC20, ERC20Capped, ERC20Burnable, Ownable { uint public allowTransferOn = 1617235200; // 2021-03-31 00:00:00 (GMT time) mapping (address => bool ) public whiteListTransfer; /** * @dev Constructor function of SotaToken * @dev set name, symbol and...
whiteListTransfer[msg.sender]||block.timestamp>allowTransferOn,"Can-not-transfer"
328,786
whiteListTransfer[msg.sender]||block.timestamp>allowTransferOn
"Lack of balance"
pragma solidity ^0.4.26; /** * Math operations with safety checks */ library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } } contract CFT { string public name; string public ...
balanceOf[this]>=_value,"Lack of balance"
328,957
balanceOf[this]>=_value
null
/*! SPDX-License-Identifier: MIT License */ pragma solidity 0.6.8; interface IEtherChain { function drawPool() external; function pool_last_draw() view external returns(uint40); } contract Ownable { address payable private _owner; event OwnershipTransferred(address indexed previousOwner, address...
etherChain.pool_last_draw()+1days<block.timestamp
329,071
etherChain.pool_last_draw()+1days<block.timestamp
"Need to approve contract"
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol"; impo...
nftContract.isApprovedForAll(msg.sender,address(this)),"Need to approve contract"
329,082
nftContract.isApprovedForAll(msg.sender,address(this))
"Don't have enough qty"
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol"; impo...
nftContract.balanceOf(msg.sender,nftId)>=quantity,"Don't have enough qty"
329,082
nftContract.balanceOf(msg.sender,nftId)>=quantity
"Invalid whitelist proof"
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol"; impo...
verifyWhitelist(campaignId,user,quantity,whitelistProof),"Invalid whitelist proof"
329,082
verifyWhitelist(campaignId,user,quantity,whitelistProof)
"Already claimed"
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol"; impo...
claimedQty[campaignId][user]==0,"Already claimed"
329,082
claimedQty[campaignId][user]==0
"Vault already exists"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.8; // vault: (address, name, decimals, symbol, strategies[], archivedStrategies[], tokens[], governance) [getPricePerFullShare] interface IVault { function token() external view returns (address); function underlying() external view returns (address); ...
!vaults.contains(_vault),"Vault already exists"
329,110
!vaults.contains(_vault)
null
/** * @title ConditionalEscrow * @dev Base abstract escrow to only allow withdrawal if a condition is met. * @dev Intended usage: See Escrow.sol. Same usage guidelines apply here. */ contract ConditionalEscrow is Escrow { /** * @dev Returns whether an address is allowed to withdraw their funds. To be ...
withdrawalAllowed(payee)
329,230
withdrawalAllowed(payee)
"Restricted"
// 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/access/Ownable.sol"; import "./TheArchive.sol"; contract ArchiveRoyalt...
TheArchive(archiveAddress).isTeam(msg.sender),"Restricted"
329,270
TheArchive(archiveAddress).isTeam(msg.sender)
null
pragma solidity 0.8.3; import "./Withdrawable.sol"; import "./ERC721.sol"; contract ERC721Map is Withdrawable { event ERC721NameSet(address indexed _address, uint256 indexed _tokenId, string _name); event AddressBanned(address indexed _address); event AddressUnbanned(address indexed _address); // All ad...
nft.supportsInterface(0x80ac58cd)
329,383
nft.supportsInterface(0x80ac58cd)
null
pragma solidity 0.8.3; import "./Withdrawable.sol"; import "./ERC721.sol"; contract ERC721Map is Withdrawable { event ERC721NameSet(address indexed _address, uint256 indexed _tokenId, string _name); event AddressBanned(address indexed _address); event AddressUnbanned(address indexed _address); // All ad...
!this.isBanned(nft.ownerOf(_tokenId))
329,383
!this.isBanned(nft.ownerOf(_tokenId))
null
pragma solidity ^0.4.16; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) constant public returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract ERC20 is ERC2...
msg.data.length>=(3*32)+4
329,444
msg.data.length>=(3*32)+4
null
pragma solidity >=0.5.2; /** This is hackathon edition of our Furance contract. Will be replaced with production version later. */ interface IPyroToken { function mint(address, uint) external returns(bool); } contract Furance is Ownable { event Burn(address indexed sender, address indexed token, uint value...
!extinguished
329,518
!extinguished
null
pragma solidity >=0.5.2; /** This is hackathon edition of our Furance contract. Will be replaced with production version later. */ interface IPyroToken { function mint(address, uint) external returns(bool); } contract Furance is Ownable { event Burn(address indexed sender, address indexed token, uint value...
address(0)==address(pyro)
329,518
address(0)==address(pyro)
null
pragma solidity >=0.5.2; /** This is hackathon edition of our Furance contract. Will be replaced with production version later. */ interface IPyroToken { function mint(address, uint) external returns(bool); } contract Furance is Ownable { event Burn(address indexed sender, address indexed token, uint value...
IERC20(token_).transferFrom(msg.sender,address(this),value)
329,518
IERC20(token_).transferFrom(msg.sender,address(this),value)
null
pragma solidity >=0.5.2; /** This is hackathon edition of our Furance contract. Will be replaced with production version later. */ interface IPyroToken { function mint(address, uint) external returns(bool); } contract Furance is Ownable { event Burn(address indexed sender, address indexed token, uint value...
t.enabled
329,518
t.enabled
"Sold out item"
pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; contract CollectionStoreV1 is Ownable { using SafeMath for uint256; struct CollectionData { address beneficiary; mapping (uint256 => uint256) pricePerOptionId; mapping (uint256 => uint256) availableQtyPerOptionId; } ...
collection.availableQtyPerOptionId[optionId]>0,"Sold out item"
329,557
collection.availableQtyPerOptionId[optionId]>0
"CSV1#buy: TRANSFER_TOKENS_FAILED"
pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; contract CollectionStoreV1 is Ownable { using SafeMath for uint256; struct CollectionData { address beneficiary; mapping (uint256 => uint256) pricePerOptionId; mapping (uint256 => uint256) availableQtyPerOptionId; } ...
acceptedToken.transferFrom(msg.sender,collection.beneficiary,finalPrice),"CSV1#buy: TRANSFER_TOKENS_FAILED"
329,557
acceptedToken.transferFrom(msg.sender,collection.beneficiary,finalPrice)
"Can't Trade"
// SPDX-License-Identifier: MIT // po-dev pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; contract FTPAntiBot is Context, Ownable { bool private m_TradeOpen = true; mapping(address => bool) private m_IgnoreTradeList; mapping(address => bool) private m_WhiteList; mapp...
!_isTrade(_sender,_recipient),"Can't Trade"
329,600
!_isTrade(_sender,_recipient)
"Address is in blacklist"
// SPDX-License-Identifier: MIT // po-dev pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; contract FTPAntiBot is Context, Ownable { bool private m_TradeOpen = true; mapping(address => bool) private m_IgnoreTradeList; mapping(address => bool) private m_WhiteList; mapp...
!m_BlackList[_sender]&&!m_BlackList[_recipient],"Address is in blacklist"
329,600
!m_BlackList[_sender]&&!m_BlackList[_recipient]
null
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // SencTokenSale - SENC Token Sale Contract // // Copyright (c) 2018 InfoCorp Technologies Pte Ltd. // http://www.sentinel-chain.org/ // // The MIT Licence. // -----------------------------------------------...
entries[beneficiary].tokens==0
329,687
entries[beneficiary].tokens==0
null
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // SencTokenSale - SENC Token Sale Contract // // Copyright (c) 2018 InfoCorp Technologies Pte Ltd. // http://www.sentinel-chain.org/ // // The MIT Licence. // -----------------------------------------------...
token.transfer(beneficiary,_withdrawable)
329,687
token.transfer(beneficiary,_withdrawable)