comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"You do not own all these apes"
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...
ownsAllTheApes(_apeIds,msg.sender),"You do not own all these apes"
368,688
ownsAllTheApes(_apeIds,msg.sender)
"Must own a Genesis ape"
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...
apeContract.balanceOf(msg.sender)>0,"Must own a Genesis ape"
368,688
apeContract.balanceOf(msg.sender)>0
"Mint amount will exceed total collection amount."
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...
totalPotionPunks+1<=totalCount,"Mint amount will exceed total collection amount."
368,688
totalPotionPunks+1<=totalCount
"These apes have already been claimed"
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...
claimedAllTheApes(_apeIds),"These apes have already been claimed"
368,688
claimedAllTheApes(_apeIds)
'Raffle has already been drawn and completed.'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/interfaces/IERC20.sol'; import '@openzeppelin/contracts/interfaces/IERC721.sol'; import './MTGYSpend.sol'; /** * @title MTGYRaffle * @dev This is the main contract that supports...
!_raffle.isComplete,'Raffle has already been drawn and completed.'
368,751
!_raffle.isComplete
"Type is already created"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./Governable.sol"; import "./Signature.sol"; contract DeFineBadge is Governable, ERC1155, Signature { ...
typeList[_type]==0,"Type is already created"
368,770
typeList[_type]==0
"mint max cap reached"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./Governable.sol"; import "./Signature.sol"; contract DeFineBadge is Governable, ERC1155, Signature { ...
mintedCount[_id]<badge._maxCount,"mint max cap reached"
368,770
mintedCount[_id]<badge._maxCount
"mint per user limit reached"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./Governable.sol"; import "./Signature.sol"; contract DeFineBadge is Governable, ERC1155, Signature { ...
(userMinted[_id])[_to]<badge._mintLimit,"mint per user limit reached"
368,770
(userMinted[_id])[_to]<badge._mintLimit
null
pragma solidity ^0.4.19; contract ERC20Basic { uint256 public totalSupply; string public name; string public symbol; uint8 public decimals; function balanceOf(address who) constant public returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Tra...
allowances[_from][msg.sender]>=_value&&_to!=0x0&&balances[_from]>=_value&&_value>0
368,885
allowances[_from][msg.sender]>=_value&&_to!=0x0&&balances[_from]>=_value&&_value>0
"Only owner can stake car"
pragma solidity ^0.6.2; contract CarMechanics is OwnableActiveTime { using SafeMath for uint256; using EnumerableSet for EnumerableSet.UintSet; // Structure for the NFT info struct CarStructure { uint256 carType; uint256 carLevel; } // Car contract address public _c...
_msgSender()==_carContract.ownerOf(carId),"Only owner can stake car"
368,891
_msgSender()==_carContract.ownerOf(carId)
"Car is not staked"
pragma solidity ^0.6.2; contract CarMechanics is OwnableActiveTime { using SafeMath for uint256; using EnumerableSet for EnumerableSet.UintSet; // Structure for the NFT info struct CarStructure { uint256 carType; uint256 carLevel; } // Car contract address public _c...
address(this)==_carContract.ownerOf(carId),"Car is not staked"
368,891
address(this)==_carContract.ownerOf(carId)
"Can only be called by auction"
pragma solidity ^0.6.2; contract CarMechanics is OwnableActiveTime { using SafeMath for uint256; using EnumerableSet for EnumerableSet.UintSet; // Structure for the NFT info struct CarStructure { uint256 carType; uint256 carLevel; } // Car contract address public _c...
_msgSender()==_auctionAddress,"Can only be called by auction"
368,891
_msgSender()==_auctionAddress
"Not allowed"
pragma solidity ^0.6.2; contract CarMechanics is OwnableActiveTime { using SafeMath for uint256; using EnumerableSet for EnumerableSet.UintSet; // Structure for the NFT info struct CarStructure { uint256 carType; uint256 carLevel; } // Car contract address public _c...
_msgSender()==owner||_msgSender()==address(this)||_msgSender()==_carAddress||_msgSender()==_auctionAddress,"Not allowed"
368,891
_msgSender()==owner||_msgSender()==address(this)||_msgSender()==_carAddress||_msgSender()==_auctionAddress
null
pragma solidity ^0.4.24; /* * Creator: BAC Team */ /* * Abstract Token Smart Contract * */ /* * Safe Math Smart Contract. * https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol */ contract SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uin...
accounts[msg.sender]>=_value
368,965
accounts[msg.sender]>=_value
null
pragma solidity ^0.4.24; /* * Creator: BAC Team */ /* * Abstract Token Smart Contract * */ /* * Safe Math Smart Contract. * https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol */ contract SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uin...
burningAccount[msg.sender]
368,965
burningAccount[msg.sender]
"Caller is not a wiper"
pragma solidity 0.6.10; /** * @title AEDST * @author Protofire * @dev Implementation of the AEDST stablecoin. */ contract AEDST is ERC20, AccessControl, Claimer { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 public constant WIPER_ROLE = keccak256("WIPER_ROLE"); bytes32 public ...
hasRole(WIPER_ROLE,msg.sender),"Caller is not a wiper"
368,990
hasRole(WIPER_ROLE,msg.sender)
"Caller is not a registry manager"
pragma solidity 0.6.10; /** * @title AEDST * @author Protofire * @dev Implementation of the AEDST stablecoin. */ contract AEDST is ERC20, AccessControl, Claimer { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 public constant WIPER_ROLE = keccak256("WIPER_ROLE"); bytes32 public ...
hasRole(REGISTRY_MANAGER_ROLE,msg.sender),"Caller is not a registry manager"
368,990
hasRole(REGISTRY_MANAGER_ROLE,msg.sender)
"There is no balance for this user"
pragma solidity =0.6.6; // The Claimable staker holds strategy tokens and queries the claim policy to determine how many reeth can be minted // Reeth is minted upon unstaking unless the user chooses to bypass the normal unstake process interface Claimer { function getClaimable(address) external returns (uint256...
allUsersInfo[_user].depositAmount>0,"There is no balance for this user"
369,171
allUsersInfo[_user].depositAmount>0
"User has never deposited"
pragma solidity =0.6.6; // The Claimable staker holds strategy tokens and queries the claim policy to determine how many reeth can be minted // Reeth is minted upon unstaking unless the user chooses to bypass the normal unstake process interface Claimer { function getClaimable(address) external returns (uint256...
allUsersInfo[_user].lastActionTime>0,"User has never deposited"
369,171
allUsersInfo[_user].lastActionTime>0
'ERC20: Minting failed'
/** * @dev LEEDO ERC20 Token Contract * * _ ______ * | | | _ \ * | | ___ ___| | | |___ * | | / _ \/ _ \ | | / _ \ * | |___| __/ __/ |/ / (_) | * \_____/\___|\___|___/ \___/ * LEEDO Project */ pragma solidity ^0.8.0; interface ILeedoNft { fu...
_safeMint(_raffleAddr,rafflePrize.mul(_decimal)),'ERC20: Minting failed'
369,219
_safeMint(_raffleAddr,rafflePrize.mul(_decimal))
'ERC20: Minting failed'
/** * @dev LEEDO ERC20 Token Contract * * _ ______ * | | | _ \ * | | ___ ___| | | |___ * | | / _ \/ _ \ | | / _ \ * | |___| __/ __/ |/ / (_) | * \_____/\___|\___|___/ \___/ * LEEDO Project */ pragma solidity ^0.8.0; interface ILeedoNft { fu...
_safeMint(_to,_amount),'ERC20: Minting failed'
369,219
_safeMint(_to,_amount)
'ERC20: Minting failed'
/** * @dev LEEDO ERC20 Token Contract * * _ ______ * | | | _ \ * | | ___ ___| | | |___ * | | / _ \/ _ \ | | / _ \ * | |___| __/ __/ |/ / (_) | * \_____/\___|\___|___/ \___/ * LEEDO Project */ pragma solidity ^0.8.0; interface ILeedoNft { fu...
_safeMint(_devAddr,_amount.mul(_decimal)),'ERC20: Minting failed'
369,219
_safeMint(_devAddr,_amount.mul(_decimal))
'ERC20: DAO is already initialized'
/** * @dev LEEDO ERC20 Token Contract * * _ ______ * | | | _ \ * | | ___ ___| | | |___ * | | / _ \/ _ \ | | / _ \ * | |___| __/ __/ |/ / (_) | * \_____/\___|\___|___/ \___/ * LEEDO Project */ pragma solidity ^0.8.0; interface ILeedoNft { fu...
!daoInitialized,'ERC20: DAO is already initialized'
369,219
!daoInitialized
'ERC20: Minting failed'
/** * @dev LEEDO ERC20 Token Contract * * _ ______ * | | | _ \ * | | ___ ___| | | |___ * | | / _ \/ _ \ | | / _ \ * | |___| __/ __/ |/ / (_) | * \_____/\___|\___|___/ \___/ * LEEDO Project */ pragma solidity ^0.8.0; interface ILeedoNft { fu...
_safeMint(_daoAddr,_amount.mul(_decimal)),'ERC20: Minting failed'
369,219
_safeMint(_daoAddr,_amount.mul(_decimal))
'ERC20: does not meet claimBlockRequired'
/** * @dev LEEDO ERC20 Token Contract * * _ ______ * | | | _ \ * | | ___ ___| | | |___ * | | / _ \/ _ \ | | / _ \ * | |___| __/ __/ |/ / (_) | * \_____/\___|\___|___/ \___/ * LEEDO Project */ pragma solidity ^0.8.0; interface ILeedoNft { fu...
sNFT.lastBlocks(_msgSender())+claimBlocksRequired<block.number,'ERC20: does not meet claimBlockRequired'
369,219
sNFT.lastBlocks(_msgSender())+claimBlocksRequired<block.number
'ERC20: tokenId is already claimed'
/** * @dev LEEDO ERC20 Token Contract * * _ ______ * | | | _ \ * | | ___ ___| | | |___ * | | / _ \/ _ \ | | / _ \ * | |___| __/ __/ |/ / (_) | * \_____/\___|\___|___/ \___/ * LEEDO Project */ pragma solidity ^0.8.0; interface ILeedoNft { fu...
claims[season][tokenId]==false,'ERC20: tokenId is already claimed'
369,219
claims[season][tokenId]==false
'ERC20: Only Staked NFT owner can claim'
/** * @dev LEEDO ERC20 Token Contract * * _ ______ * | | | _ \ * | | ___ ___| | | |___ * | | / _ \/ _ \ | | / _ \ * | |___| __/ __/ |/ / (_) | * \_____/\___|\___|___/ \___/ * LEEDO Project */ pragma solidity ^0.8.0; interface ILeedoNft { fu...
_msgSender()==sNFT.ownerOf(tokenId),'ERC20: Only Staked NFT owner can claim'
369,219
_msgSender()==sNFT.ownerOf(tokenId)
'SquidERC20: Minting failed'
/** * @dev LEEDO ERC20 Token Contract * * _ ______ * | | | _ \ * | | ___ ___| | | |___ * | | / _ \/ _ \ | | / _ \ * | |___| __/ __/ |/ / (_) | * \_____/\___|\___|___/ \___/ * LEEDO Project */ pragma solidity ^0.8.0; interface ILeedoNft { fu...
_safeMint(_msgSender(),total.mul(_decimal)),'SquidERC20: Minting failed'
369,219
_safeMint(_msgSender(),total.mul(_decimal))
"paused"
pragma solidity ^0.6.12; // SPDX-License-Identifier: Unlicensed interface IERC20 { function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @de...
!paused||sender==owner()||recipient==owner(),"paused"
369,239
!paused||sender==owner()||recipient==owner()
"Purchase would exceed max supply of DDs"
pragma solidity 0.7.0; /** * @title DD Contract, inspired from the WC contract. * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract DeadDude is ERC721, Ownable { using SafeMath for uint256; string public PROV = ""; uint256 public ddPrice = 80000000000000000; // 0.0...
totalSupply().add(numberOfTokens)<=max_dds,"Purchase would exceed max supply of DDs"
369,273
totalSupply().add(numberOfTokens)<=max_dds
"Ether value sent is not correct"
pragma solidity 0.7.0; /** * @title DD Contract, inspired from the WC contract. * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract DeadDude is ERC721, Ownable { using SafeMath for uint256; string public PROV = ""; uint256 public ddPrice = 80000000000000000; // 0.0...
ddPrice.mul(numberOfTokens)<=msg.value,"Ether value sent is not correct"
369,273
ddPrice.mul(numberOfTokens)<=msg.value
null
/** *Submitted for verification at Etherscan.io on 2019-02-18 */ pragma solidity ^0.4.24; contract Manager { address public owner; address public newOwner; event TransferOwnership(address oldaddr, address newaddr); modifier onlyOwner() { } constructor() public { } function transferOwnership...
balanceOf[_from].sub(_value)>=frozenAccount[_from].amount
369,393
balanceOf[_from].sub(_value)>=frozenAccount[_from].amount
"PurchaseExeedsPresaleSupply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "../../access/Whitelistable.sol"; import "../../access/TXLimiter.sol"; import "../../access/PurchaseLimiter.sol"; import "../ERC721Collection.sol"...
totalSupply().add(quantity)<=presaleSupply,"PurchaseExeedsPresaleSupply"
369,408
totalSupply().add(quantity)<=presaleSupply
"IncorrectPresaleValue"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "../../access/Whitelistable.sol"; import "../../access/TXLimiter.sol"; import "../../access/PurchaseLimiter.sol"; import "../ERC721Collection.sol"...
presalePrice.mul(quantity)<=msg.value,"IncorrectPresaleValue"
369,408
presalePrice.mul(quantity)<=msg.value
"Amount exceeds maximum supply of 0xBatz."
pragma solidity ^0.8.10; contract xBatz is ERC721Enumerable, Ownable { using Strings for uint256; using Address for address; address public teamWallet; bool public mintEnabled = false; uint8 public perMint = 3; uint256 public price = 0 ether; uint256 public mintPrice = .01 ether; uint16 public ...
psupply+amount<=maxSupply-reserved,"Amount exceeds maximum supply of 0xBatz."
369,507
psupply+amount<=maxSupply-reserved
"fee payment failed"
/** * @dev The NokuCustomERC20AdvancedService contract . */ contract NokuCustomERC20AdvancedService is NokuCustomService { event LogNokuCustomERC20AdvancedServiceCreated(address caller, address indexed _pricingPlan); uint256 public constant CREATE_AMOUNT = 1 * 10**18; bytes32 public constant CUSTOM_ER...
_pricingPlan.payFee(CUSTOM_ERC20ADVANCED_CREATE_SERVICE_NAME,CREATE_AMOUNT,msg.sender),"fee payment failed"
369,573
_pricingPlan.payFee(CUSTOM_ERC20ADVANCED_CREATE_SERVICE_NAME,CREATE_AMOUNT,msg.sender)
"Not authorized to access!"
/* * Copyright(C) 2018 by @phalexo (gitter) and Big Deeper Advisors, Inc. a Wyoming corporation. * All rights reserved. * * A non-exclusive, non-transferable, perpetual license to use is hereby granted to Expercoin, Inc. * For questions about the license contact: bigdeeperadvisors@gmail.com * * Expercoin,...
authorized[_address][_authorization]||authorized[_address][PRESIDENT],"Not authorized to access!"
369,644
authorized[_address][_authorization]||authorized[_address][PRESIDENT]
"!K"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; interface IUniswapV2Pair { function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view re...
KP3R.keepers(msg.sender),"!K"
369,645
KP3R.keepers(msg.sender)
'PE'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; interface IUniswapV2Pair { function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view re...
address(feeds[pair])==address(0),'PE'
369,645
address(feeds[pair])==address(0)
"!W"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; interface IUniswapV2Pair { function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view re...
feeds[pair].update(),"!W"
369,645
feeds[pair].update()
"ERC721: transfer to non ERC721Receiver implementer"
// SPDX-License-Identifier: MIT // @author: @CoolMonkes - Boosts - CMBSTS // (/@@&#%&@@@@((((@@@@@@@,&@@@&%&@ // &@@&(((((((((((((((((((((@@%(((#%&((((@@ // @...
_checkOnERC721Received(address(0),to,_mint(to),''),"ERC721: transfer to non ERC721Receiver implementer"
369,716
_checkOnERC721Received(address(0),to,_mint(to),'')
"Boosts are sold out!"
// SPDX-License-Identifier: MIT // @author: @CoolMonkes - Boosts - CMBSTS // (/@@&#%&@@@@((((@@@@@@@,&@@@&%&@ // &@@&(((((((((((((((((((((@@%(((#%&((((@@ // @...
_owners.length+amount<=maxBoosts,"Boosts are sold out!"
369,716
_owners.length+amount<=maxBoosts
"Can not repeat a prior transaction!"
// SPDX-License-Identifier: MIT // @author: @CoolMonkes - Boosts - CMBSTS // (/@@&#%&@@@@((((@@@@@@@,&@@@&%&@ // &@@&(((((((((((((((((((((@@%(((#%&((((@@ // @...
nounceTracker[_msgSender()]<nounce,"Can not repeat a prior transaction!"
369,716
nounceTracker[_msgSender()]<nounce
"Boosts must be minted from our website"
// SPDX-License-Identifier: MIT // @author: @CoolMonkes - Boosts - CMBSTS // (/@@&#%&@@@@((((@@@@@@@,&@@@&%&@ // &@@&(((((((((((((((((((((@@%(((#%&((((@@ // @...
verify(enforcerAddress,_msgSender(),amount,price,nounce,signature)==true,"Boosts must be minted from our website"
369,716
verify(enforcerAddress,_msgSender(),amount,price,nounce,signature)==true
null
pragma solidity ^0.5; pragma experimental ABIEncoderV2; contract owned { address payable public owner; constructor () public { } modifier onlyOwner { } function transferOwnership(address payable newOwner) onlyOwner public { } } interface IERC20 { function transfer(address _to,...
campaigns[idCampaign].advertiser==msg.sender
369,742
campaigns[idCampaign].advertiser==msg.sender
null
pragma solidity ^0.5; pragma experimental ABIEncoderV2; contract owned { address payable public owner; constructor () public { } modifier onlyOwner { } function transferOwnership(address payable newOwner) onlyOwner public { } } interface IERC20 { function transfer(address _to,...
campaigns[idCampaign].campaignState==status.Prepared
369,742
campaigns[idCampaign].campaignState==status.Prepared
null
pragma solidity ^0.5; pragma experimental ABIEncoderV2; contract owned { address payable public owner; constructor () public { } modifier onlyOwner { } function transferOwnership(address payable newOwner) onlyOwner public { } } interface IERC20 { function transfer(address _to,...
campaigns[idCampaign].rewardType==RewardType.Ratio
369,742
campaigns[idCampaign].rewardType==RewardType.Ratio
null
pragma solidity ^0.5; pragma experimental ABIEncoderV2; contract owned { address payable public owner; constructor () public { } modifier onlyOwner { } function transferOwnership(address payable newOwner) onlyOwner public { } } interface IERC20 { function transfer(address _to,...
campaigns[idCampaign].rewardType==RewardType.Reach
369,742
campaigns[idCampaign].rewardType==RewardType.Reach
null
pragma solidity ^0.5; pragma experimental ABIEncoderV2; contract owned { address payable public owner; constructor () public { } modifier onlyOwner { } function transferOwnership(address payable newOwner) onlyOwner public { } } interface IERC20 { function transfer(address _to,...
campaigns[idCampaign].campaignState==status.Prepared||campaigns[idCampaign].campaignState==status.Running
369,742
campaigns[idCampaign].campaignState==status.Prepared||campaigns[idCampaign].campaignState==status.Running
null
pragma solidity ^0.5; pragma experimental ABIEncoderV2; contract owned { address payable public owner; constructor () public { } modifier onlyOwner { } function transferOwnership(address payable newOwner) onlyOwner public { } } interface IERC20 { function transfer(address _to,...
campaigns[idCampaign].funds.token==address(0)||campaigns[idCampaign].funds.token==token
369,742
campaigns[idCampaign].funds.token==address(0)||campaigns[idCampaign].funds.token==token
null
pragma solidity ^0.5; pragma experimental ABIEncoderV2; contract owned { address payable public owner; constructor () public { } modifier onlyOwner { } function transferOwnership(address payable newOwner) onlyOwner public { } } interface IERC20 { function transfer(address _to,...
!isAlreadyUsed[prom]
369,742
!isAlreadyUsed[prom]
null
pragma solidity ^0.5; pragma experimental ABIEncoderV2; contract owned { address payable public owner; constructor () public { } modifier onlyOwner { } function transferOwnership(address payable newOwner) onlyOwner public { } } interface IERC20 { function transfer(address _to,...
proms[idProm].idCampaign==idCampaign
369,742
proms[idProm].idCampaign==idCampaign
null
pragma solidity ^0.5; pragma experimental ABIEncoderV2; contract owned { address payable public owner; constructor () public { } modifier onlyOwner { } function transferOwnership(address payable newOwner) onlyOwner public { } } interface IERC20 { function transfer(address _to,...
campaigns[idCampaign].reserve>amount
369,742
campaigns[idCampaign].reserve>amount
null
pragma solidity ^0.5; pragma experimental ABIEncoderV2; contract owned { address payable public owner; constructor () public { } modifier onlyOwner { } function transferOwnership(address payable newOwner) onlyOwner public { } } interface IERC20 { function transfer(address _to,...
campaigns[idCampaign].advertiser==msg.sender||msg.sender==owner
369,742
campaigns[idCampaign].advertiser==msg.sender||msg.sender==owner
null
pragma solidity ^0.5; pragma experimental ABIEncoderV2; contract owned { address payable public owner; constructor () public { } modifier onlyOwner { } function transferOwnership(address payable newOwner) onlyOwner public { } } interface IERC20 { function transfer(address _to,...
campaigns[idCampaign].campaignState==status.Running
369,742
campaigns[idCampaign].campaignState==status.Running
null
pragma solidity ^0.5; pragma experimental ABIEncoderV2; contract owned { address payable public owner; constructor () public { } modifier onlyOwner { } function transferOwnership(address payable newOwner) onlyOwner public { } } interface IERC20 { function transfer(address _to,...
proms[idProm].influencer==msg.sender
369,742
proms[idProm].influencer==msg.sender
null
pragma solidity ^0.5; pragma experimental ABIEncoderV2; contract owned { address payable public owner; constructor () public { } modifier onlyOwner { } function transferOwnership(address payable newOwner) onlyOwner public { } } interface IERC20 { function transfer(address _to,...
campaigns[idCampaign].rewardType!=RewardType.Reach||campaigns[idCampaign].campaignState!=status.Running
369,742
campaigns[idCampaign].rewardType!=RewardType.Reach||campaigns[idCampaign].campaignState!=status.Running
"Invalid payout_id"
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // ExchangeArbitrage token contract // // Symbol : EXARB // Name : Exchange Arbitrage Token // Decimals : 18 // // ---------------------------------------------------------------------------- ...
payouts[payout_id].block_id>0,"Invalid payout_id"
369,758
payouts[payout_id].block_id>0
"This address has no history on this contract."
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // ExchangeArbitrage token contract // // Symbol : EXARB // Name : Exchange Arbitrage Token // Decimals : 18 // // ---------------------------------------------------------------------------- ...
block_balances[msg.sender].length>0,"This address has no history on this contract."
369,758
block_balances[msg.sender].length>0
"Payment already collected"
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // ExchangeArbitrage token contract // // Symbol : EXARB // Name : Exchange Arbitrage Token // Decimals : 18 // // ---------------------------------------------------------------------------- ...
collected_payouts[msg.sender][payout_id]==0,"Payment already collected"
369,758
collected_payouts[msg.sender][payout_id]==0
"Balance is too low."
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // ExchangeArbitrage token contract // // Symbol : EXARB // Name : Exchange Arbitrage Token // Decimals : 18 // // ---------------------------------------------------------------------------- ...
address(this).balance>=payout,"Balance is too low."
369,758
address(this).balance>=payout
"Contract Fully Funded. Try again later."
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // ExchangeArbitrage token contract // // Symbol : EXARB // Name : Exchange Arbitrage Token // Decimals : 18 // // ---------------------------------------------------------------------------- ...
msg.value.mul(exchange_rate)+minted_tokens<max_minted_supply,"Contract Fully Funded. Try again later."
369,758
msg.value.mul(exchange_rate)+minted_tokens<max_minted_supply
null
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // ExchangeArbitrage token contract // // Symbol : EXARB // Name : Exchange Arbitrage Token // Decimals : 18 // // ---------------------------------------------------------------------------- ...
payouts[payout_id].block_id==0
369,758
payouts[payout_id].block_id==0
"Proposer does not have enough collateral posted"
// SPDX-License-Identifier: MIT pragma solidity >0.5.0 <0.8.0; pragma experimental ABIEncoderV2; /* Library Imports */ import { Lib_OVMCodec } from "../../libraries/codec/Lib_OVMCodec.sol"; import { Lib_AddressResolver } from "../../libraries/resolver/Lib_AddressResolver.sol"; import { Lib_MerkleTree } from "../../libr...
iOVM_BondManager(resolve("OVM_BondManager")).isCollateralized(msg.sender),"Proposer does not have enough collateral posted"
369,850
iOVM_BondManager(resolve("OVM_BondManager")).isCollateralized(msg.sender)
"Number of state roots cannot exceed the number of canonical transactions."
// SPDX-License-Identifier: MIT pragma solidity >0.5.0 <0.8.0; pragma experimental ABIEncoderV2; /* Library Imports */ import { Lib_OVMCodec } from "../../libraries/codec/Lib_OVMCodec.sol"; import { Lib_AddressResolver } from "../../libraries/resolver/Lib_AddressResolver.sol"; import { Lib_MerkleTree } from "../../libr...
getTotalElements()+_batch.length<=iOVM_CanonicalTransactionChain(resolve("OVM_CanonicalTransactionChain")).getTotalElements(),"Number of state roots cannot exceed the number of canonical transactions."
369,850
getTotalElements()+_batch.length<=iOVM_CanonicalTransactionChain(resolve("OVM_CanonicalTransactionChain")).getTotalElements()
"Invalid batch header."
// SPDX-License-Identifier: MIT pragma solidity >0.5.0 <0.8.0; pragma experimental ABIEncoderV2; /* Library Imports */ import { Lib_OVMCodec } from "../../libraries/codec/Lib_OVMCodec.sol"; import { Lib_AddressResolver } from "../../libraries/resolver/Lib_AddressResolver.sol"; import { Lib_MerkleTree } from "../../libr...
_isValidBatchHeader(_batchHeader),"Invalid batch header."
369,850
_isValidBatchHeader(_batchHeader)
"State batches can only be deleted within the fraud proof window."
// SPDX-License-Identifier: MIT pragma solidity >0.5.0 <0.8.0; pragma experimental ABIEncoderV2; /* Library Imports */ import { Lib_OVMCodec } from "../../libraries/codec/Lib_OVMCodec.sol"; import { Lib_AddressResolver } from "../../libraries/resolver/Lib_AddressResolver.sol"; import { Lib_MerkleTree } from "../../libr...
insideFraudProofWindow(_batchHeader),"State batches can only be deleted within the fraud proof window."
369,850
insideFraudProofWindow(_batchHeader)
"Invalid inclusion proof."
// SPDX-License-Identifier: MIT pragma solidity >0.5.0 <0.8.0; pragma experimental ABIEncoderV2; /* Library Imports */ import { Lib_OVMCodec } from "../../libraries/codec/Lib_OVMCodec.sol"; import { Lib_AddressResolver } from "../../libraries/resolver/Lib_AddressResolver.sol"; import { Lib_MerkleTree } from "../../libr...
Lib_MerkleTree.verify(_batchHeader.batchRoot,_element,_proof.index,_proof.siblings,_batchHeader.batchSize),"Invalid inclusion proof."
369,850
Lib_MerkleTree.verify(_batchHeader.batchRoot,_element,_proof.index,_proof.siblings,_batchHeader.batchSize)
"Cannot publish state roots within the sequencer publication window."
// SPDX-License-Identifier: MIT pragma solidity >0.5.0 <0.8.0; pragma experimental ABIEncoderV2; /* Library Imports */ import { Lib_OVMCodec } from "../../libraries/codec/Lib_OVMCodec.sol"; import { Lib_AddressResolver } from "../../libraries/resolver/Lib_AddressResolver.sol"; import { Lib_MerkleTree } from "../../libr...
lastSequencerTimestamp+SEQUENCER_PUBLISH_WINDOW<block.timestamp,"Cannot publish state roots within the sequencer publication window."
369,850
lastSequencerTimestamp+SEQUENCER_PUBLISH_WINDOW<block.timestamp
"BallerFactory: Hash has already been used."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract BallerFactory is ERC721, Ac...
hashes[mdHash]!=1,"BallerFactory: Hash has already been used."
370,060
hashes[mdHash]!=1
"BallerFactory: There are no ballers left for this team!"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract BallerFactory is ERC721, Ac...
ballersInCirculation[team]<maxBallers,"BallerFactory: There are no ballers left for this team!"
370,060
ballersInCirculation[team]<maxBallers
'Queue is empty'
pragma solidity ^0.5.0; /// @title A Queue for Players /// @author Jason Fabrit @bugbytesinc /// @notice Implements a helper contract for first-in-first-out /// queue of players having identical moves. Tracks the address /// of the player and their bet. Pvoides helper methods to the /// parent contract for repo...
!isEmpty(),'Queue is empty'
370,111
!isEmpty()
"Too Many Bets of the same type."
pragma solidity ^0.5.0; /// @title A Queue for Players /// @author Jason Fabrit @bugbytesinc /// @notice Implements a helper contract for first-in-first-out /// queue of players having identical moves. Tracks the address /// of the player and their bet. Pvoides helper methods to the /// parent contract for repo...
openingMovers.count()<maxQueueCount,"Too Many Bets of the same type."
370,111
openingMovers.count()<maxQueueCount
"Not enough NFTs left!"
//SPDX-License-Identifier: MIT pragma solidity ^0.6.6; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract NFTResolutions is ERC721, Ownable { uint public constant ethCost = 0.01 ether; uint256 public tokenCounter; constructor() public ERC7...
tokenCounter+1<=2022,"Not enough NFTs left!"
370,121
tokenCounter+1<=2022
"AAM: adapter exists!"
pragma solidity 0.6.2; pragma experimental ABIEncoderV2; interface ERC20 { function approve(address, uint256) external returns (bool); function transfer(address, uint256) external returns (bool); function transferFrom(address, address, uint256) external returns (bool); function balanceOf(address) ...
adapters[newAdapter]==address(0),"AAM: adapter exists!"
370,292
adapters[newAdapter]==address(0)
"AAM: invalid adapter!"
pragma solidity 0.6.2; pragma experimental ABIEncoderV2; interface ERC20 { function approve(address, uint256) external returns (bool); function transfer(address, uint256) external returns (bool); function transferFrom(address, address, uint256) external returns (bool); function balanceOf(address) ...
isValidAdapter(adapter),"AAM: invalid adapter!"
370,292
isValidAdapter(adapter)
'Not eligible for pre-sale'
// contracts/GenerativeCollection.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/ERC721.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol'; impo...
presaleContract.balanceOf(sender)>0,'Not eligible for pre-sale'
370,318
presaleContract.balanceOf(sender)>0
"dataStore address error"
pragma solidity ^0.5.11; import "./SafeMath.sol"; import "./HDOTStorage.sol"; contract HDOTLogic { using SafeMath for uint256; string public constant name = "HDOTLogic"; uint256 public constant TASKINIT = 0; uint256 public constant TASKPROCESSING = 1; uint256 public constant TASKCANCELLED = 2; u...
address(store)!=address(0),"dataStore address error"
370,505
address(store)!=address(0)
"Cannot claim twice per quarter"
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "../Ownable.sol" ; //@title SEPA Token contract interface interface SEPA_token { function balanceOf(address owner) external returns (uint256); function transfer(address to, uint256 amount) external returns ...
block.timestamp-last_claim>=3*MONTH,"Cannot claim twice per quarter"
370,511
block.timestamp-last_claim>=3*MONTH
'SDAO_REGISTRAR_ERC721_GENERATOR: INVALID_ERC721_ADDRESS'
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import {SDaoRegistrar} from '../SDaoRegistrar.sol'; interface IERC721Minter is IERC721 { function mintTo(address to, uint256 tokenId) external; } /** * @title SDaoRegistrarERC721Generator contract. * ...
address(erc721Minter)!=address(0),'SDAO_REGISTRAR_ERC721_GENERATOR: INVALID_ERC721_ADDRESS'
370,628
address(erc721Minter)!=address(0)
'SDAO_REGISTRAR_ERC721_GENERATOR: ALREADY_TOKEN_OWNER'
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import {SDaoRegistrar} from '../SDaoRegistrar.sol'; interface IERC721Minter is IERC721 { function mintTo(address to, uint256 tokenId) external; } /** * @title SDaoRegistrarERC721Generator contract. * ...
ERC721_TOKEN.balanceOf(account)==0||account==owner(),'SDAO_REGISTRAR_ERC721_GENERATOR: ALREADY_TOKEN_OWNER'
370,628
ERC721_TOKEN.balanceOf(account)==0||account==owner()
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; contract CleverGirls is ERC721Enumerable, Ownable { using Address for address; // Starting and stopping sale and presale ...
payable(a1).send(percent*43)
370,717
payable(a1).send(percent*43)
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; contract CleverGirls is ERC721Enumerable, Ownable { using Address for address; // Starting and stopping sale and presale ...
payable(a2).send(percent*24)
370,717
payable(a2).send(percent*24)
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; contract CleverGirls is ERC721Enumerable, Ownable { using Address for address; // Starting and stopping sale and presale ...
payable(a3).send(percent*24)
370,717
payable(a3).send(percent*24)
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; contract CleverGirls is ERC721Enumerable, Ownable { using Address for address; // Starting and stopping sale and presale ...
payable(a4).send(percent*5)
370,717
payable(a4).send(percent*5)
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; contract CleverGirls is ERC721Enumerable, Ownable { using Address for address; // Starting and stopping sale and presale ...
payable(a5).send(percent*4)
370,717
payable(a5).send(percent*4)
"No artworks remaining in tier!"
pragma solidity ^0.8.0; //SPDX-License-Identifier: MIT import "./ILockingLayers.sol"; import "./VRFConsumerBase.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/cont...
artworksRemainingInTier[uint256(tier)]>0,"No artworks remaining in tier!"
370,752
artworksRemainingInTier[uint256(tier)]>0
"Artwork has already been started!"
pragma solidity ^0.8.0; //SPDX-License-Identifier: MIT import "./ILockingLayers.sol"; import "./VRFConsumerBase.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/cont...
!hasStarted(),"Artwork has already been started!"
370,752
!hasStarted()
"Cannot start the artwork before all works are sold out or until after sale period"
pragma solidity ^0.8.0; //SPDX-License-Identifier: MIT import "./ILockingLayers.sol"; import "./VRFConsumerBase.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/cont...
availableArtworks()==0||firstPurchaseBlock>0&&block.number>firstPurchaseBlock+AUTOMATIC_START_BLOCK_DELAY,"Cannot start the artwork before all works are sold out or until after sale period"
370,752
availableArtworks()==0||firstPurchaseBlock>0&&block.number>firstPurchaseBlock+AUTOMATIC_START_BLOCK_DELAY
"Art event has not begun!"
pragma solidity ^0.8.0; //SPDX-License-Identifier: MIT import "./ILockingLayers.sol"; import "./VRFConsumerBase.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/cont...
hasStarted(),"Art event has not begun!"
370,752
hasStarted()
"Must be artwork owner!"
pragma solidity ^0.8.0; //SPDX-License-Identifier: MIT import "./ILockingLayers.sol"; import "./VRFConsumerBase.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/cont...
_msgSender()==ownerOf(artworkId),"Must be artwork owner!"
370,752
_msgSender()==ownerOf(artworkId)
"No locks remaining!"
pragma solidity ^0.8.0; //SPDX-License-Identifier: MIT import "./ILockingLayers.sol"; import "./VRFConsumerBase.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/cont...
canLock(artworkId),"No locks remaining!"
370,752
canLock(artworkId)
'Presale is still active'
@v4.3.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 with {transferOwn...
!isPresaleActive,'Presale is still active'
370,828
!isPresaleActive
"Purchase would exceed max public supply of NFTs"
@v4.3.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 with {transferOwn...
totalSupply().add(_numOfTokens).sub(giveawayCount)<=MAX_NFT_PUBLIC,"Purchase would exceed max public supply of NFTs"
370,828
totalSupply().add(_numOfTokens).sub(giveawayCount)<=MAX_NFT_PUBLIC
"Not whitelisted"
@v4.3.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 with {transferOwn...
verify(_proof,bytes32(uint256(uint160(msg.sender)))),"Not whitelisted"
370,828
verify(_proof,bytes32(uint256(uint160(msg.sender))))
'All public tokens have been minted'
@v4.3.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 with {transferOwn...
totalSupply()<MAX_NFT_PUBLIC,'All public tokens have been minted'
370,828
totalSupply()<MAX_NFT_PUBLIC
'Purchase exceeds max whiteed'
@v4.3.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 with {transferOwn...
whiteListClaimed[msg.sender].add(_numOfTokens)<=WHITELIST_MAX_MINT,'Purchase exceeds max whiteed'
370,828
whiteListClaimed[msg.sender].add(_numOfTokens)<=WHITELIST_MAX_MINT
'All tokens have been minted'
@v4.3.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 with {transferOwn...
totalSupply()<MAX_NFT,'All tokens have been minted'
370,828
totalSupply()<MAX_NFT
'Already claimed giveaway'
@v4.3.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 with {transferOwn...
!giveawayMintClaimed[msg.sender],'Already claimed giveaway'
370,828
!giveawayMintClaimed[msg.sender]
"Tokens number to mint must exceed number of public tokens"
@v4.3.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 with {transferOwn...
_tokenId[i]>=MAX_NFT_PUBLIC,"Tokens number to mint must exceed number of public tokens"
370,828
_tokenId[i]>=MAX_NFT_PUBLIC