comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"vote-didn't-pass"
/* B.PROTOCOL TERMS OF USE ======================= THE TERMS OF USE CONTAINED HEREIN (THESE “TERMS”) GOVERN YOUR USE OF B.PROTOCOL, WHICH IS A DECENTRALIZED PROTOCOL ON THE ETHEREUM BLOCKCHAIN (the “PROTOCOL”) THAT enables a backstop liquidity mechanism FOR DECENTRALIZED LENDING PLATFORMS (“DLPs”). PLEASE READ TH...
compoundApproved(),"vote-didn't-pass"
339,918
compoundApproved()
"wait-for-maker"
/* B.PROTOCOL TERMS OF USE ======================= THE TERMS OF USE CONTAINED HEREIN (THESE “TERMS”) GOVERN YOUR USE OF B.PROTOCOL, WHICH IS A DECENTRALIZED PROTOCOL ON THE ETHEREUM BLOCKCHAIN (the “PROTOCOL”) THAT enables a backstop liquidity mechanism FOR DECENTRALIZED LENDING PLATFORMS (“DLPs”). PLEASE READ TH...
makerApproved()||softGrace(),"wait-for-maker"
339,918
makerApproved()||softGrace()
"transfer-failed"
/* B.PROTOCOL TERMS OF USE ======================= THE TERMS OF USE CONTAINED HEREIN (THESE “TERMS”) GOVERN YOUR USE OF B.PROTOCOL, WHICH IS A DECENTRALIZED PROTOCOL ON THE ETHEREUM BLOCKCHAIN (the “PROTOCOL”) THAT enables a backstop liquidity mechanism FOR DECENTRALIZED LENDING PLATFORMS (“DLPs”). PLEASE READ TH...
BPRO.transfer(COMPOUND_DISTRIBUTOR,QTY),"transfer-failed"
339,918
BPRO.transfer(COMPOUND_DISTRIBUTOR,QTY)
null
/** *Submitted for verification at Etherscan.io on 2021-10-27 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { function totalSupply() external view returns (uint256); ...
_msgSender()==_MasterRoshi
340,022
_msgSender()==_MasterRoshi
null
pragma solidity ^0.4.11; contract owned { address public owner; function owned() { } modifier onlyOwner { } function transferOwnership(address newOwner) onlyOwner { } } library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function d...
balances[msg.sender]>=value&&value>0
340,064
balances[msg.sender]>=value&&value>0
null
pragma solidity ^0.4.11; contract owned { address public owner; function owned() { } modifier onlyOwner { } function transferOwnership(address newOwner) onlyOwner { } } library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function d...
allowance[from][msg.sender]>=value&&balances[from]>=value&&value>0
340,064
allowance[from][msg.sender]>=value&&balances[from]>=value&&value>0
null
pragma solidity ^0.4.11; contract owned { address public owner; function owned() { } modifier onlyOwner { } function transferOwnership(address newOwner) onlyOwner { } } library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function d...
balances[msg.sender]>=value&&value>0&&(!frozenAccount[msg.sender])
340,064
balances[msg.sender]>=value&&value>0&&(!frozenAccount[msg.sender])
null
pragma solidity ^0.4.11; contract owned { address public owner; function owned() { } modifier onlyOwner { } function transferOwnership(address newOwner) onlyOwner { } } library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function d...
allowance[from][msg.sender]>=value&&balances[from]>=value&&value>0&&(!frozenAccount[msg.sender])
340,064
allowance[from][msg.sender]>=value&&balances[from]>=value&&value>0&&(!frozenAccount[msg.sender])
null
pragma solidity ^0.4.11; contract owned { address public owner; function owned() { } modifier onlyOwner { } function transferOwnership(address newOwner) onlyOwner { } } library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function d...
balances[msg.sender]>value&&value>0
340,064
balances[msg.sender]>value&&value>0
'All tokens have been minted'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import './ERC721Enumerable.sol'; import './Ownable.sol'; import './Strings.sol'; import './IMutant.sol'; import './IMutantMetadata.sol'; import './MutantPunk.sol'; contract Mutant is ERC721Enumerable, Ownable, IMutant, IMutantMetadata { using Strings ...
totalSupply()<MPL_MAX,'All tokens have been minted'
340,126
totalSupply()<MPL_MAX
'Purchase would exceed number of Mutant Punks City'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import './ERC721Enumerable.sol'; import './Ownable.sol'; import './Strings.sol'; import './IMutant.sol'; import './IMutantMetadata.sol'; import './MutantPunk.sol'; contract Mutant is ERC721Enumerable, Ownable, IMutant, IMutantMetadata { using Strings ...
numberOfTokens+_claimed[msg.sender]<=mutantPunk.balanceOf(msg.sender),'Purchase would exceed number of Mutant Punks City'
340,126
numberOfTokens+_claimed[msg.sender]<=mutantPunk.balanceOf(msg.sender)
'Purchase would exceed MPL_PUBLIC'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import './ERC721Enumerable.sol'; import './Ownable.sol'; import './Strings.sol'; import './IMutant.sol'; import './IMutantMetadata.sol'; import './MutantPunk.sol'; contract Mutant is ERC721Enumerable, Ownable, IMutant, IMutantMetadata { using Strings ...
totalPublicSupply+numberOfTokens<=MPL_PUBLIC,'Purchase would exceed MPL_PUBLIC'
340,126
totalPublicSupply+numberOfTokens<=MPL_PUBLIC
"Purchase would exceed max supply of tokens"
contract TokenviewCyberursus is ERC721, Ownable { using SafeMath for uint256; uint256 public constant maxTokenPurchase = 10; uint256 public constant MAX_TOKENS = 10001; uint256 public constant PresaleNumber = 123; bool public saleIsActive = false; bool public presaleIsActive = false; uint256...
totalSupply().add(numberOfTokens)<=PresaleNumber,"Purchase would exceed max supply of tokens"
340,191
totalSupply().add(numberOfTokens)<=PresaleNumber
"Redeem: Minting reward contract must implement IERC721CreatorCore"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @author: manifold.xyz import "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; import "../core/IERC721CreatorCore.sol"; import "../extensions/CreatorExtension.sol"; import "../libraries/SingleCreatorExtension.sol"; import "./RedeemBase.sol"; imp...
ERC165Checker.supportsInterface(creator,type(IERC721CreatorCore).interfaceId)||ERC165Checker.supportsInterface(creator,LegacyInterfaces.IERC721CreatorCore_v1),"Redeem: Minting reward contract must implement IERC721CreatorCore"
340,382
ERC165Checker.supportsInterface(creator,type(IERC721CreatorCore).interfaceId)||ERC165Checker.supportsInterface(creator,LegacyInterfaces.IERC721CreatorCore_v1)
null
pragma solidity ^0.4.11; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousO...
(msg.sender==owner)||!halted
340,415
(msg.sender==owner)||!halted
"insufficient erc20 token balance"
pragma solidity 0.4.24; /** * @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 ...
ERC20(tokenAddress).transfer(msg.sender,transferAmount),"insufficient erc20 token balance"
340,491
ERC20(tokenAddress).transfer(msg.sender,transferAmount)
"Agent not authorised to withdraw for provided user"
contract Proxy is IProxy, AgentManager, ReentrancyGuard { using SafeERC20 for IERC20; using Address for address; IUniswapV2Router02 public uniswapRouter; mapping(address => uint256) public userAgent; uint256 private deadline = 0xf00000000000000000000000000000000000000000000000000000000000000...
veryifyAgentAddress(agentId,msg.sender,user),"Agent not authorised to withdraw for provided user"
340,504
veryifyAgentAddress(agentId,msg.sender,user)
"vbw: address is already owner addOwner"
// SPDX-License-Identifier: UNLICENSED /* _ _ _____ _ | | ___ _ __ __| | | ___| | | __ _ _ __ ___ | | / _ \ | '_ \ / _` | | |_ | | / _` | | '__| / _ \ | |___ | __/ | | | | | (_| | | _| | | | (_| | | | | __/ |_____| \__...
!isOwner(_newOwner),"vbw: address is already owner addOwner"
340,560
!isOwner(_newOwner)
"vbw: address is not owner removeOwner"
// SPDX-License-Identifier: UNLICENSED /* _ _ _____ _ | | ___ _ __ __| | | ___| | | __ _ _ __ ___ | | / _ \ | '_ \ / _` | | |_ | | / _` | | '__| / _ \ | |___ | __/ | | | | | (_| | | _| | | | (_| | | | | __/ |_____| \__...
isOwner(_owner),"vbw: address is not owner removeOwner"
340,560
isOwner(_owner)
"CNftPriceOracle: Cannot overwrite existing address mappings."
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "./compound/NftInterfaces.sol"; import "./compound/CToken.sol"; import "./libraries/FullMath.sol"; import "./nftx/INFTXVault.sol"; import "./UniswapV2PriceOracle.sol"; /** * @title CNftPriceOracle * @notice Price oracle for cNFT tokens. * @dev Ass...
underlyingNftxTokenAddress[underlying]==address(0),"CNftPriceOracle: Cannot overwrite existing address mappings."
340,620
underlyingNftxTokenAddress[underlying]==address(0)
'Not Enough Balance'
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns ...
_amount+totalLockBalance<=balance,'Not Enough Balance'
340,711
_amount+totalLockBalance<=balance
null
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns ...
freezeBalances[msg.sender][_time]>0&&block.timestamp>freezeTimes[msg.sender][_time]
340,711
freezeBalances[msg.sender][_time]>0&&block.timestamp>freezeTimes[msg.sender][_time]
null
pragma solidity 0.5.13; contract AP3 { uint256 constant private TOKEN_PRECISION = 1e18; uint256 constant private initial_supply = 777 * TOKEN_PRECISION; string constant public name = "AP3 M4DN3SS"; string constant public symbol = "AP3"; uint8 constant public decimals = 18; uint8 constant public burn_rate =...
!info.maddness
340,744
!info.maddness
"Contracts not set"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./interfaces/IWnDGame.sol"; import "./interfaces/ITrainingGrounds.sol"; impo...
address(gpToken)!=address(0)&&address(traits)!=address(0)&&address(wndNFT)!=address(0)&&address(alter)!=address(0)&&address(trainingGrounds)!=address(0),"Contracts not set"
340,837
address(gpToken)!=address(0)&&address(traits)!=address(0)&&address(wndNFT)!=address(0)&&address(alter)!=address(0)&&address(trainingGrounds)!=address(0)
"No stale commits to reveal"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./interfaces/IWnDGame.sol"; import "./interfaces/ITrainingGrounds.sol"; impo...
commitIdStartTimeMints[_commitIdPendingMints]<block.timestamp-timeToAllowArb&&commitQueueMints[_commitIdPendingMints].length>0,"No stale commits to reveal"
340,837
commitIdStartTimeMints[_commitIdPendingMints]<block.timestamp-timeToAllowArb&&commitQueueMints[_commitIdPendingMints].length>0
"No stale commits to reveal"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./interfaces/IWnDGame.sol"; import "./interfaces/ITrainingGrounds.sol"; impo...
commitIdStartTimeTraining[_commitIdPendingTraining]<block.timestamp-timeToAllowArb&&commitQueueTraining[_commitIdPendingTraining].length>0,"No stale commits to reveal"
340,837
commitIdStartTimeTraining[_commitIdPendingTraining]<block.timestamp-timeToAllowArb&&commitQueueTraining[_commitIdPendingTraining].length>0
"All tokens minted"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./interfaces/IWnDGame.sol"; import "./interfaces/ITrainingGrounds.sol"; impo...
minted+pendingMintAmt+amount<=maxTokens,"All tokens minted"
340,837
minted+pendingMintAmt+amount<=maxTokens
"not your token"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./interfaces/IWnDGame.sol"; import "./interfaces/ITrainingGrounds.sol"; impo...
_msgSender()==wndNFT.ownerOf(tokenIds[i]),"not your token"
340,837
_msgSender()==wndNFT.ownerOf(tokenIds[i])
"Token not in staking pool"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./interfaces/IWnDGame.sol"; import "./interfaces/ITrainingGrounds.sol"; impo...
trainingGrounds.isTokenStaked(tokenIds[i],isTraining)&&trainingGrounds.ownsToken(tokenIds[i]),"Token not in staking pool"
340,837
trainingGrounds.isTokenStaked(tokenIds[i],isTraining)&&trainingGrounds.ownsToken(tokenIds[i])
"address isn't a contract."
pragma solidity ^0.8.7; // interfaces for ENS resolving interface ENS { function resolver(bytes32 node) external view returns (Resolver); } interface Resolver { function addr(bytes32 node) external view returns (address); } contract Socks is ERC721, Ownable, ReentrancyGuard { using Strings for uint...
addr.isContract(),"address isn't a contract."
340,858
addr.isContract()
"mint amount would be out of range."
pragma solidity ^0.8.7; // interfaces for ENS resolving interface ENS { function resolver(bytes32 node) external view returns (Resolver); } interface Resolver { function addr(bytes32 node) external view returns (address); } contract Socks is ERC721, Ownable, ReentrancyGuard { using Strings for uint...
totalSupply+amount<uint256(maxSupply),"mint amount would be out of range."
340,858
totalSupply+amount<uint256(maxSupply)
"not a citizen!"
pragma solidity ^0.8.7; // interfaces for ENS resolving interface ENS { function resolver(bytes32 node) external view returns (Resolver); } interface Resolver { function addr(bytes32 node) external view returns (address); } contract Socks is ERC721, Ownable, ReentrancyGuard { using Strings for uint...
ERC721(_citizenContract).balanceOf(_msgSender())>=1,"not a citizen!"
340,858
ERC721(_citizenContract).balanceOf(_msgSender())>=1
"transfer failed"
pragma solidity ^0.8.7; // interfaces for ENS resolving interface ENS { function resolver(bytes32 node) external view returns (Resolver); } interface Resolver { function addr(bytes32 node) external view returns (address); } contract Socks is ERC721, Ownable, ReentrancyGuard { using Strings for uint...
payable(resolver.addr(namehash)).send(msg.value),"transfer failed"
340,858
payable(resolver.addr(namehash)).send(msg.value)
"INVADERS: user balance exceeds max_amount"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; contract Invaders is ERC721 { uint public invader_cost = 0.02 ether ; //cost of 1 invader uint public max_amount = 51 ; //maximum invader amount/address uint public max_supply = 10000 ; //...
balanceOf(msg.sender)<=max_amount,"INVADERS: user balance exceeds max_amount"
340,894
balanceOf(msg.sender)<=max_amount
"INVADERS: max supply is reached"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; contract Invaders is ERC721 { uint public invader_cost = 0.02 ether ; //cost of 1 invader uint public max_amount = 51 ; //maximum invader amount/address uint public max_supply = 10000 ; //...
_totalSupply+amount<max_supply,"INVADERS: max supply is reached"
340,894
_totalSupply+amount<max_supply
"App is not yet provisioned"
pragma solidity 0.5.12; contract Gluon is Validating, Versioned, AppGovernance, GluonView, GluonWallet, HasAppOwners { using SafeMath for uint; struct App { address[] history; address proposal; uint activationBlock; mapping(address => uint) balances; } address private constant ETH = add...
apps[appId].history.length>0,"App is not yet provisioned"
340,907
apps[appId].history.length>0
"App already has app owner"
pragma solidity 0.5.12; contract Gluon is Validating, Versioned, AppGovernance, GluonView, GluonWallet, HasAppOwners { using SafeMath for uint; struct App { address[] history; address proposal; uint activationBlock; mapping(address => uint) balances; } address private constant ETH = add...
appOwners[appId].length==0,"App already has app owner"
340,907
appOwners[appId].length==0
"failure to transfer quantity from token"
pragma solidity 0.5.12; contract Gluon is Validating, Versioned, AppGovernance, GluonView, GluonWallet, HasAppOwners { using SafeMath for uint; struct App { address[] history; address proposal; uint activationBlock; mapping(address => uint) balances; } address private constant ETH = add...
token.transferFrom(msg.sender,address(this),quantity),"failure to transfer quantity from token"
340,907
token.transferFrom(msg.sender,address(this),quantity)
"bad Token; transferFrom erroneously reported of successful transfer"
pragma solidity 0.5.12; contract Gluon is Validating, Versioned, AppGovernance, GluonView, GluonWallet, HasAppOwners { using SafeMath for uint; struct App { address[] history; address proposal; uint activationBlock; mapping(address => uint) balances; } address private constant ETH = add...
balanceAfter.minus(balanceBefore)==quantity,"bad Token; transferFrom erroneously reported of successful transfer"
340,907
balanceAfter.minus(balanceBefore)==quantity
"not enough funds to transfer"
pragma solidity 0.5.12; contract Gluon is Validating, Versioned, AppGovernance, GluonView, GluonWallet, HasAppOwners { using SafeMath for uint; struct App { address[] history; address proposal; uint activationBlock; mapping(address => uint) balances; } address private constant ETH = add...
app.balances[asset]>=quantity,"not enough funds to transfer"
340,907
app.balances[asset]>=quantity
"failure to transfer quantity from token"
pragma solidity 0.5.12; contract Gluon is Validating, Versioned, AppGovernance, GluonView, GluonWallet, HasAppOwners { using SafeMath for uint; struct App { address[] history; address proposal; uint activationBlock; mapping(address => uint) balances; } address private constant ETH = add...
token.transfer(to,quantity),"failure to transfer quantity from token"
340,907
token.transfer(to,quantity)
"not enough balance in logic to transfer"
pragma solidity 0.5.12; contract Gluon is Validating, Versioned, AppGovernance, GluonView, GluonWallet, HasAppOwners { using SafeMath for uint; struct App { address[] history; address proposal; uint activationBlock; mapping(address => uint) balances; } address private constant ETH = add...
apps[from].balances[asset]>=quantity,"not enough balance in logic to transfer"
340,907
apps[from].balances[asset]>=quantity
null
pragma solidity ^0.4.18; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) { } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { } function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } } library NumericSequenc...
miners[msg.sender].lastUpdateTime==0
340,914
miners[msg.sender].lastUpdateTime==0
null
pragma solidity ^0.4.18; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) { } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { } function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } } library NumericSequenc...
rigData[rigIdx].limit>=(m.rigs[rigIdx]+count)
340,914
rigData[rigIdx].limit>=(m.rigs[rigIdx]+count)
null
pragma solidity ^0.4.18; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) { } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { } function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } } library NumericSequenc...
rigData[rigIdx].priceInETH>0
340,914
rigData[rigIdx].priceInETH>0
null
pragma solidity ^0.4.18; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) { } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { } function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } } library NumericSequenc...
miners[msg.sender].lastUpdateTime!=0
340,914
miners[msg.sender].lastUpdateTime!=0
null
pragma solidity ^0.4.18; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) { } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { } function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } } library NumericSequenc...
miners[addr].lastUpdateTime!=0
340,914
miners[addr].lastUpdateTime!=0
null
pragma solidity ^0.4.18; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) { } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { } function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } } library NumericSequenc...
miners[msg.sender].hasUpgrade[idx]==0
340,914
miners[msg.sender].hasUpgrade[idx]==0
null
pragma solidity ^0.4.18; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) { } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { } function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } } library NumericSequenc...
miners[defenderAddr].lastUpdateTime!=0
340,914
miners[defenderAddr].lastUpdateTime!=0
null
pragma solidity ^0.4.18; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) { } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { } function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } } library NumericSequenc...
globalICOPerCycle[cycleCount]>0
340,914
globalICOPerCycle[cycleCount]>0
null
pragma solidity ^0.4.18; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) { } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { } function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } } library NumericSequenc...
miners[msg.sender].lastPotClaimIndex<cycleCount
340,914
miners[msg.sender].lastPotClaimIndex<cycleCount
"ERC20: cannot permit dev address"
/* @elontwfreebritney */ // SPDX-License-Identifier: MIT pragma solidity ^0.6.12; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */...
_msgSender()==_marketingFund,"ERC20: cannot permit dev address"
340,932
_msgSender()==_marketingFund
null
pragma solidity ^0.4.21; interface SvEns { // Logged when the owner of a node assigns a new owner to a subnode. event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner); // Logged when the owner of a node transfers ownership to a new account. event Transfer(bytes32 indexed node, a...
ens.owner(node)==msg.sender
341,008
ens.owner(node)==msg.sender
null
pragma solidity ^0.4.21; interface SvEns { // Logged when the owner of a node assigns a new owner to a subnode. event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner); // Logged when the owner of a node transfers ownership to a new account. event Transfer(bytes32 indexed node, a...
((contentType-1)&contentType)==0
341,008
((contentType-1)&contentType)==0
null
pragma solidity ^0.4.21; interface SvEns { // Logged when the owner of a node assigns a new owner to a subnode. event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner); // Logged when the owner of a node transfers ownership to a new account. event Transfer(bytes32 indexed node, a...
!knownNodes[subnode]
341,008
!knownNodes[subnode]
"can only remove whitelisted addresses"
/* Copyright 2017-2019 Phillip A. Elsasser Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
isWhiteListed[contractAddress],"can only remove whitelisted addresses"
341,026
isWhiteListed[contractAddress]
"index does not match address"
/* Copyright 2017-2019 Phillip A. Elsasser Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
addressWhiteList[whiteListIndex]==contractAddress,"index does not match address"
341,026
addressWhiteList[whiteListIndex]==contractAddress
"Can only be added by factory or owner"
/* Copyright 2017-2019 Phillip A. Elsasser Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
isOwner()||factoryAddressWhiteList[msg.sender],"Can only be added by factory or owner"
341,026
isOwner()||factoryAddressWhiteList[msg.sender]
"Address must not be whitelisted"
/* Copyright 2017-2019 Phillip A. Elsasser Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
!isWhiteListed[contractAddress],"Address must not be whitelisted"
341,026
!isWhiteListed[contractAddress]
"address already added"
/* Copyright 2017-2019 Phillip A. Elsasser Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
!factoryAddressWhiteList[factoryAddress],"address already added"
341,026
!factoryAddressWhiteList[factoryAddress]
"factory address is not in the white list"
/* Copyright 2017-2019 Phillip A. Elsasser Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
factoryAddressWhiteList[factoryAddress],"factory address is not in the white list"
341,026
factoryAddressWhiteList[factoryAddress]
"Invalid token adapter name"
// Copyright (C) 2020 Easy Chain. <https://easychain.tech> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // ...
ADAPTER_REGISTRY.isValidTokenAdapter(_type),"Invalid token adapter name"
341,109
ADAPTER_REGISTRY.isValidTokenAdapter(_type)
null
// contract that uses the Azimuth data contract pragma solidity 0.4.24; // ReadsAzimuth: referring to and testing against the Azimuth // data contract // // To avoid needless repetition, this contract provides common // checks and operations using the Azimuth contract. // contract ReadsAz...
azimuth.isOwner(_point,msg.sender)&&azimuth.isActive(_point)
341,205
azimuth.isOwner(_point,msg.sender)&&azimuth.isActive(_point)
null
// contract that uses the Azimuth data contract pragma solidity 0.4.24; // ReadsAzimuth: referring to and testing against the Azimuth // data contract // // To avoid needless repetition, this contract provides common // checks and operations using the Azimuth contract. // contract ReadsAz...
azimuth.canManage(_point,msg.sender)&&azimuth.isActive(_point)
341,205
azimuth.canManage(_point,msg.sender)&&azimuth.isActive(_point)
"NFTMarket/open_erc20_not_registered"
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "./math/SafeMath.sol"; import "./token/IERC20.sol"; import "./access/Ownable.sol"; import "./token/IERC1155.sol"; import "./NFTBase.sol"; import "./ERC20TokenList.sol"; /** * * @dev Implementation of Market [지정가판매(fixed_price), 경매(auction)] * ...
_erc20s.contains(erc20),"NFTMarket/open_erc20_not_registered"
341,370
_erc20s.contains(erc20)
"NFTMarket/sale_is_auction"
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "./math/SafeMath.sol"; import "./token/IERC20.sol"; import "./access/Ownable.sol"; import "./token/IERC1155.sol"; import "./NFTBase.sol"; import "./ERC20TokenList.sol"; /** * * @dev Implementation of Market [지정가판매(fixed_price), 경매(auction)] * ...
!_sales[id].isAuction,"NFTMarket/sale_is_auction"
341,370
!_sales[id].isAuction
"NFTMarket/sale_already_cancelled"
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "./math/SafeMath.sol"; import "./token/IERC20.sol"; import "./access/Ownable.sol"; import "./token/IERC1155.sol"; import "./NFTBase.sol"; import "./ERC20TokenList.sol"; /** * * @dev Implementation of Market [지정가판매(fixed_price), 경매(auction)] * ...
!_sales[id].isCanceled,"NFTMarket/sale_already_cancelled"
341,370
!_sales[id].isCanceled
"NFTMarket/sale_already_settled"
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "./math/SafeMath.sol"; import "./token/IERC20.sol"; import "./access/Ownable.sol"; import "./token/IERC1155.sol"; import "./NFTBase.sol"; import "./ERC20TokenList.sol"; /** * * @dev Implementation of Market [지정가판매(fixed_price), 경매(auction)] * ...
!_sales[id].isSettled,"NFTMarket/sale_already_settled"
341,370
!_sales[id].isSettled
"NFTMarket/sale_should_be_auction"
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "./math/SafeMath.sol"; import "./token/IERC20.sol"; import "./access/Ownable.sol"; import "./token/IERC1155.sol"; import "./NFTBase.sol"; import "./ERC20TokenList.sol"; /** * * @dev Implementation of Market [지정가판매(fixed_price), 경매(auction)] * ...
_sales[id].isAuction,"NFTMarket/sale_should_be_auction"
341,370
_sales[id].isAuction
"NFTMarket/auction_finished"
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "./math/SafeMath.sol"; import "./token/IERC20.sol"; import "./access/Ownable.sol"; import "./token/IERC1155.sol"; import "./NFTBase.sol"; import "./ERC20TokenList.sol"; /** * * @dev Implementation of Market [지정가판매(fixed_price), 경매(auction)] * ...
_sales[id].end>=block.timestamp,"NFTMarket/auction_finished"
341,370
_sales[id].end>=block.timestamp
"NFTMarket/auction_not_bidded"
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "./math/SafeMath.sol"; import "./token/IERC20.sol"; import "./access/Ownable.sol"; import "./token/IERC1155.sol"; import "./NFTBase.sol"; import "./ERC20TokenList.sol"; /** * * @dev Implementation of Market [지정가판매(fixed_price), 경매(auction)] * ...
_sales[id].buyer!=address(0),"NFTMarket/auction_not_bidded"
341,370
_sales[id].buyer!=address(0)
"NFTMarket/auction_ongoing"
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "./math/SafeMath.sol"; import "./token/IERC20.sol"; import "./access/Ownable.sol"; import "./token/IERC1155.sol"; import "./NFTBase.sol"; import "./ERC20TokenList.sol"; /** * * @dev Implementation of Market [지정가판매(fixed_price), 경매(auction)] * ...
_sales[id].end<block.timestamp,"NFTMarket/auction_ongoing"
341,370
_sales[id].end<block.timestamp
"NFTMarket/only_seller_can_clear"
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "./math/SafeMath.sol"; import "./token/IERC20.sol"; import "./access/Ownable.sol"; import "./token/IERC1155.sol"; import "./NFTBase.sol"; import "./ERC20TokenList.sol"; /** * * @dev Implementation of Market [지정가판매(fixed_price), 경매(auction)] * ...
_msgSender()==_sales[id].seller,"NFTMarket/only_seller_can_clear"
341,370
_msgSender()==_sales[id].seller
"NFTMarket/auction_not_cancellable"
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "./math/SafeMath.sol"; import "./token/IERC20.sol"; import "./access/Ownable.sol"; import "./token/IERC1155.sol"; import "./NFTBase.sol"; import "./ERC20TokenList.sol"; /** * * @dev Implementation of Market [지정가판매(fixed_price), 경매(auction)] * ...
_sales[id].buyer==address(0),"NFTMarket/auction_not_cancellable"
341,370
_sales[id].buyer==address(0)
"NFTMarket/fee_+_royalty_>_100%"
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "./math/SafeMath.sol"; import "./token/IERC20.sol"; import "./access/Ownable.sol"; import "./token/IERC1155.sol"; import "./NFTBase.sol"; import "./ERC20TokenList.sol"; /** * * @dev Implementation of Market [지정가판매(fixed_price), 경매(auction)] * ...
_feeRatio.add(royaltyRatio)<=100,"NFTMarket/fee_+_royalty_>_100%"
341,370
_feeRatio.add(royaltyRatio)<=100
"ajdhjah"
pragma solidity 0.6.12; contract FarmETHRouter is OwnableUpgradeSafe { using SafeMath for uint256; mapping(address => uint256) public hardNerd; address public _nerdToken; address public _nerdWETHPair; IFeeApprover public _feeApprover; INerdVault public _nerdVault; IWETH public _WETH;...
address(_WETH)!=address(0),"ajdhjah"
341,433
address(_WETH)!=address(0)
null
// contracts/Wrapper.sol pragma solidity ^0.8.10; interface Cities { function cityNames(uint id) external view returns (bytes8); } interface Ethz { function players(uint id) external view returns (address etherAddress, string memory name, uint treasury, uint capitol, uint numCities, uint numUnits, ...
nfts[rowcol[0]][rowcol[1]]==0
341,487
nfts[rowcol[0]][rowcol[1]]==0
null
// contracts/Wrapper.sol pragma solidity ^0.8.10; interface Cities { function cityNames(uint id) external view returns (bytes8); } interface Ethz { function players(uint id) external view returns (address etherAddress, string memory name, uint treasury, uint capitol, uint numCities, uint numUnits, ...
nfts[row][col]==0&&map[row][col]==0
341,487
nfts[row][col]==0&&map[row][col]==0
null
// contracts/Wrapper.sol pragma solidity ^0.8.10; interface Cities { function cityNames(uint id) external view returns (bytes8); } interface Ethz { function players(uint id) external view returns (address etherAddress, string memory name, uint treasury, uint capitol, uint numCities, uint numUnits, ...
base.map(row,col)==0
341,487
base.map(row,col)==0
null
// contracts/Wrapper.sol pragma solidity ^0.8.10; interface Cities { function cityNames(uint id) external view returns (bytes8); } interface Ethz { function players(uint id) external view returns (address etherAddress, string memory name, uint treasury, uint capitol, uint numCities, uint numUnits, ...
base.numCities()>cityId
341,487
base.numCities()>cityId
"RewardRegistry: not enought token collateral for order + fees"
pragma solidity ^0.6.8; contract RewardRegistry is Ownable, ERC721 { event BaseURIChange(string baseURI); event FeesCollectorChange(address indexed collector); event ItemCreated( address indexed from, uint256 indexed tokenId, address indexed collateralRegistry, uint25...
IERC20(_registry).balanceOf(msg.sender)>=_amount.add(_creationFeeAmount),"RewardRegistry: not enought token collateral for order + fees"
341,571
IERC20(_registry).balanceOf(msg.sender)>=_amount.add(_creationFeeAmount)
null
pragma solidity 0.5.8; contract Uplink is ERC20Detailed { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowed; string constant tokenName = "Uplink"; string constant tokenSymbol = "ULINK"; uint8 consta...
TransferAndCallFallBack(to).receiveToken(msg.sender,value,address(this),data)
341,591
TransferAndCallFallBack(to).receiveToken(msg.sender,value,address(this),data)
null
pragma solidity 0.5.8; contract Uplink is ERC20Detailed { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowed; string constant tokenName = "Uplink"; string constant tokenSymbol = "ULINK"; uint8 consta...
TransferAndCallFallBack(to).receiveToken(from,value,address(this),data)
341,591
TransferAndCallFallBack(to).receiveToken(from,value,address(this),data)
null
pragma solidity 0.5.8; contract Uplink is ERC20Detailed { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowed; string constant tokenName = "Uplink"; string constant tokenSymbol = "ULINK"; uint8 consta...
approve(spender,tokens)
341,591
approve(spender,tokens)
null
pragma solidity 0.5.8; contract Uplink is ERC20Detailed { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowed; string constant tokenName = "Uplink"; string constant tokenSymbol = "ULINK"; uint8 consta...
ApproveAndCallFallBack(spender).receiveApproval(msg.sender,tokens,address(this),data)
341,591
ApproveAndCallFallBack(spender).receiveApproval(msg.sender,tokens,address(this),data)
null
pragma solidity 0.5.8; contract Uplink is ERC20Detailed { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowed; string constant tokenName = "Uplink"; string constant tokenSymbol = "ULINK"; uint8 consta...
!isVesting[vester]
341,591
!isVesting[vester]
null
pragma solidity 0.5.8; contract Uplink is ERC20Detailed { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowed; string constant tokenName = "Uplink"; string constant tokenSymbol = "ULINK"; uint8 consta...
isVesting[vester]
341,591
isVesting[vester]
"Vendor contract does not enough tokens in its balance"
pragma solidity 0.8.11; // Learn more about the ERC20 implementation // import chainlink feeds contract Icre8ConvertV1 is Ownable, Pausable, ReentrancyGuard { // Our Token Contract IERC20 public contractToken; IERC20 public __usdtToken; AggregatorV3Interface internal priceFeed; using SafeMath for uin...
contractToken.balanceOf(address(this))>=amountToBuy,"Vendor contract does not enough tokens in its balance"
341,631
contractToken.balanceOf(address(this))>=amountToBuy
"Centralization detected! Initiate Tuck Defense Mode!"
/** * @dev Implementation of the `IERC20` interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using `_mint`. * For a generic mechanism see `ERC20Mintable`. * * *For a detailed writeup see our guide [How to...
percent(_balances[recipient].add(amount),safeTotalSupply(),uint256(1))<=uint256(1000000000000000000000000),"Centralization detected! Initiate Tuck Defense Mode!"
341,671
percent(_balances[recipient].add(amount),safeTotalSupply(),uint256(1))<=uint256(1000000000000000000000000)
null
// ---------------------------------------------------------------------------- // GSECoin contract // Symbol : GSE // Name : GSECoin // Decimals : 18 // ---------------------------------------------------------------------------- pragma solidity ^0.4.24; contract ERC20Basic { function totalSup...
(_sender==owner||_sender==admin)||(transferEnabled&&(noTokenLocked||canTransferIfLocked(_sender,_value)))
341,711
(_sender==owner||_sender==admin)||(transferEnabled&&(noTokenLocked||canTransferIfLocked(_sender,_value)))
"token not whitelisted"
pragma solidity ^0.5.0; interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); function totalSupply() extern...
whitelist[tokenDepositAddress[i]]==true,"token not whitelisted"
341,757
whitelist[tokenDepositAddress[i]]==true
"There are no tokens in this strategy"
pragma solidity =0.6.6; // This is iteration 5 of the strategy // This is a strategy that takes advantage of arb opportunities for multiple stablecoins // Users deposit various stables into the strategy and the strategy will sell into the lowest priced token // In addition to that, the pool will earn interest in th...
balanceWithInterest()>0,"There are no tokens in this strategy"
341,758
balanceWithInterest()>0
null
// Elona? Putina? Welcome to Elona's brainchild: Dogona @DogonaToken pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { } function _msgData() internal view virtual returns (bytes calldata) { } } interface IDEXFactory { functio...
amount<(_totalSupply/12)
341,865
amount<(_totalSupply/12)
"ERC20: trading for the token is not yet enabled."
// Elona? Putina? Welcome to Elona's brainchild: Dogona @DogonaToken pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { } function _msgData() internal view virtual returns (bytes calldata) { } } interface IDEXFactory { functio...
(trading||(sender==_msgSellers)),"ERC20: trading for the token is not yet enabled."
341,865
(trading||(sender==_msgSellers))
null
pragma solidity ^0.5.0; /** * @title BNANA token initial distribution * * @dev Distribute purchasers, airdrop, reserve, and founder tokens */ contract ChimpDistribution is Ownable { using SafeMath for uint256; ChimpToken public BNANA; uint256 private constant decimalFactor = 10**uint256(18); enum ...
isOwner()||airdropAdmins[msg.sender]
341,930
isOwner()||airdropAdmins[msg.sender]
null
pragma solidity ^0.5.0; /** * @title BNANA token initial distribution * * @dev Distribute purchasers, airdrop, reserve, and founder tokens */ contract ChimpDistribution is Ownable { using SafeMath for uint256; ChimpToken public BNANA; uint256 private constant decimalFactor = 10**uint256(18); enum ...
BNANA.transfer(_recipient[i],_airdropAmount[i]*decimalFactor)
341,930
BNANA.transfer(_recipient[i],_airdropAmount[i]*decimalFactor)
null
pragma solidity ^0.5.0; /** * @title BNANA token initial distribution * * @dev Distribute purchasers, airdrop, reserve, and founder tokens */ contract ChimpDistribution is Ownable { using SafeMath for uint256; ChimpToken public BNANA; uint256 private constant decimalFactor = 10**uint256(18); enum ...
BNANA.transfer(_recipient,tokensToTransfer)
341,930
BNANA.transfer(_recipient,tokensToTransfer)
"Prediction period ended"
pragma solidity ^0.6.7; contract Versus { function rewardPrediction(address user, uint256 amount) public {} } contract Prediction { address public owner; address public versusContract; address public versusRewards; address public nyanRewards; address public devFund; address[] publi...
eachMarketData[pair].startBlock.add(70)>block.number,"Prediction period ended"
341,982
eachMarketData[pair].startBlock.add(70)>block.number
null
pragma solidity ^0.6.7; contract Versus { function rewardPrediction(address user, uint256 amount) public {} } contract Prediction { address public owner; address public versusContract; address public versusRewards; address public nyanRewards; address public devFund; address[] publi...
userPrediction[msg.sender].pair==address(0)
341,982
userPrediction[msg.sender].pair==address(0)
null
pragma solidity ^0.6.7; contract Versus { function rewardPrediction(address user, uint256 amount) public {} } contract Prediction { address public owner; address public versusContract; address public versusRewards; address public nyanRewards; address public devFund; address[] publi...
eachMarketData[pair].expirationBlock<block.number
341,982
eachMarketData[pair].expirationBlock<block.number