comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
null
/** *Submitted for verification at Etherscan.io on 2021-10-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* _____ _ _____ _ / ____| | | | __ \ | | | | _ __ _ _ _ __ | |_ ___ | |__) | _ _______| | ___ ...
tokenIndexToAddress[tokenIndex]==msg.sender
320,981
tokenIndexToAddress[tokenIndex]==msg.sender
null
/** *Submitted for verification at Etherscan.io on 2021-10-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* _____ _ _____ _ / ____| | | | __ \ | | | | _ __ _ _ _ __ | |_ ___ | |__) | _ _______| | ___ ...
msg.value==(forceBuyPrice)
320,981
msg.value==(forceBuyPrice)
null
/** *Submitted for verification at Etherscan.io on 2021-10-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* _____ _ _____ _ / ____| | | | __ \ | | | | _ __ _ _ _ __ | |_ ___ | |__) | _ _______| | ___ ...
tokenIndexToAddress[tokenIndex]!=address(0x0)
320,981
tokenIndexToAddress[tokenIndex]!=address(0x0)
null
/** *Submitted for verification at Etherscan.io on 2021-10-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* _____ _ _____ _ / ____| | | | __ \ | | | | _ __ _ _ _ __ | |_ ___ | |__) | _ _______| | ___ ...
tokenIndexToAddress[tokenIndex]!=msg.sender
320,981
tokenIndexToAddress[tokenIndex]!=msg.sender
null
/** *Submitted for verification at Etherscan.io on 2021-10-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* _____ _ _____ _ / ____| | | | __ \ | | | | _ __ _ _ _ __ | |_ ___ | |__) | _ _______| | ___ ...
tokenIndexToAddress[familyId.add(5000)]==address(0x0)
320,981
tokenIndexToAddress[familyId.add(5000)]==address(0x0)
"Trade offer was cancelled."
/** *Submitted for verification at Etherscan.io on 2021-10-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* _____ _ _____ _ / ____| | | | __ \ | | | | _ __ _ _ _ __ | |_ ___ | |__) | _ _______| | ___ ...
cancelledTrade[hashCancel]==false,"Trade offer was cancelled."
320,981
cancelledTrade[hashCancel]==false
"Signature not valid."
/** *Submitted for verification at Etherscan.io on 2021-10-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* _____ _ _____ _ / ____| | | | __ \ | | | | _ __ _ _ _ __ | |_ ___ | |__) | _ _______| | ___ ...
verify(trade.maker,trade,signature),"Signature not valid."
320,981
verify(trade.maker,trade,signature)
"Maker does not have sufficient balance."
/** *Submitted for verification at Etherscan.io on 2021-10-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* _____ _ _____ _ / ____| | | | __ \ | | | | _ __ _ _ _ __ | |_ ___ | |__) | _ _______| | ___ ...
pendingWithdrawals[trade.maker]>=trade.makerWei,"Maker does not have sufficient balance."
320,981
pendingWithdrawals[trade.maker]>=trade.makerWei
"At least one maker token doesn't belong to maker."
/** *Submitted for verification at Etherscan.io on 2021-10-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* _____ _ _____ _ / ____| | | | __ \ | | | | _ __ _ _ _ __ | |_ ___ | |__) | _ _______| | ___ ...
tokenIndexToAddress[trade.makerIds[i]]==trade.maker,"At least one maker token doesn't belong to maker."
320,981
tokenIndexToAddress[trade.makerIds[i]]==trade.maker
"Already Mint"
/** *Submitted for verification at Etherscan.io on 2021-10-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* _____ _ _____ _ / ____| | | | __ \ | | | | _ __ _ _ _ __ | |_ ___ | |__) | _ _______| | ___ ...
tokenIndexToAddress[trade.makerIds[i].add(24).div(25).add(5000)]==address(0x0),"Already Mint"
320,981
tokenIndexToAddress[trade.makerIds[i].add(24).div(25).add(5000)]==address(0x0)
"At least one taker token doesn't belong to taker."
/** *Submitted for verification at Etherscan.io on 2021-10-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* _____ _ _____ _ / ____| | | | __ \ | | | | _ __ _ _ _ __ | |_ ___ | |__) | _ _______| | ___ ...
tokenIndexToAddress[trade.takerIds[i]]==msg.sender,"At least one taker token doesn't belong to taker."
320,981
tokenIndexToAddress[trade.takerIds[i]]==msg.sender
"Already Mint"
/** *Submitted for verification at Etherscan.io on 2021-10-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* _____ _ _____ _ / ____| | | | __ \ | | | | _ __ _ _ _ __ | |_ ___ | |__) | _ _______| | ___ ...
tokenIndexToAddress[trade.takerIds[i].add(24).div(25).add(5000)]==address(0x0),"Already Mint"
320,981
tokenIndexToAddress[trade.takerIds[i].add(24).div(25).add(5000)]==address(0x0)
"At least one taker token doesn't belong to taker."
/** *Submitted for verification at Etherscan.io on 2021-10-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* _____ _ _____ _ / ____| | | | __ \ | | | | _ __ _ _ _ __ | |_ ___ | |__) | _ _______| | ___ ...
tokenIndexToAddress[trade.takerIds[i]]==trade.taker,"At least one taker token doesn't belong to taker."
320,981
tokenIndexToAddress[trade.takerIds[i]]==trade.taker
"Trade not valid."
/** *Submitted for verification at Etherscan.io on 2021-10-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* _____ _ _____ _ / ____| | | | __ \ | | | | _ __ _ _ _ __ | |_ ___ | |__) | _ _______| | ___ ...
tradeValid(maker,makerWei,makerIds,taker,takerWei,takerIds,expiry,signature),"Trade not valid."
320,981
tradeValid(maker,makerWei,makerIds,taker,takerWei,takerIds,expiry,signature)
"Insufficient funds to execute trade."
/** *Submitted for verification at Etherscan.io on 2021-10-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* _____ _ _____ _ / ____| | | | __ \ | | | | _ __ _ _ _ __ | |_ ___ | |__) | _ _______| | ___ ...
pendingWithdrawals[msg.sender]>=trade.takerWei,"Insufficient funds to execute trade."
320,981
pendingWithdrawals[msg.sender]>=trade.takerWei
null
pragma solidity ^0.4.15; /* @file * @title Coin * @version 1.2.1 */ contract Coin { string public constant symbol = "BTRC"; string public constant name = "BITUBER"; uint8 public constant decimals = 18; uint256 public _totalSupply = 0; uint256 public price = 1500; bool private workingState = fal...
(msg.sender==owner)||(msg.sender==cur_coin)
321,115
(msg.sender==owner)||(msg.sender==cur_coin)
null
contract HeroInfinityToken is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool private swapping; uint256 public launchTime; address public marketingWallet; address public devWallet; address public liquidityWallet; uint2...
dailyThreshold*1e18>(_totalSupply*5)/10000
321,184
dailyThreshold*1e18>(_totalSupply*5)/10000
"airdrop duplicated"
contract HeroInfinityToken is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool private swapping; uint256 public launchTime; address public marketingWallet; address public devWallet; address public liquidityWallet; uint2...
presaleAmount[to]==0,"airdrop duplicated"
321,184
presaleAmount[to]==0
"Vesting period is not ended yet"
contract HeroInfinityToken is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool private swapping; uint256 public launchTime; address public marketingWallet; address public devWallet; address public liquidityWallet; uint2...
balanceOf(from)>=presaleAmount[from]-unlockedAmount,"Vesting period is not ended yet"
321,184
balanceOf(from)>=presaleAmount[from]-unlockedAmount
null
pragma solidity ^0.4.24; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 a, uint256 b) internal pur...
canBuy()
321,212
canBuy()
"Target balance not equal 0"
pragma solidity >=0.4.21 <0.6.0; contract SafeMath { function safeMul(uint a, uint b) internal pure returns(uint) { } function safeSub(uint a, uint b) internal pure returns(uint) { } function safeAdd(uint a, uint b) internal pure returns(uint) { } } contract DatrixoEquityToken is SafeMa...
balanceOf[_to]==0,"Target balance not equal 0"
321,267
balanceOf[_to]==0
"Shareholder is not exist."
pragma solidity >=0.4.21 <0.6.0; contract SafeMath { function safeMul(uint a, uint b) internal pure returns(uint) { } function safeSub(uint a, uint b) internal pure returns(uint) { } function safeAdd(uint a, uint b) internal pure returns(uint) { } } contract DatrixoEquityToken is SafeMa...
checkShareholderExist(_addr),"Shareholder is not exist."
321,267
checkShareholderExist(_addr)
"Value more then available amount"
pragma solidity >=0.4.21 <0.6.0; contract SafeMath { function safeMul(uint a, uint b) internal pure returns(uint) { } function safeSub(uint a, uint b) internal pure returns(uint) { } function safeAdd(uint a, uint b) internal pure returns(uint) { } } contract DatrixoEquityToken is SafeMa...
safeSub(balanceOf[msg.sender],_value)>=0,"Value more then available amount"
321,267
safeSub(balanceOf[msg.sender],_value)>=0
"Value more then balance amount"
pragma solidity >=0.4.21 <0.6.0; contract SafeMath { function safeMul(uint a, uint b) internal pure returns(uint) { } function safeSub(uint a, uint b) internal pure returns(uint) { } function safeAdd(uint a, uint b) internal pure returns(uint) { } } contract DatrixoEquityToken is SafeMa...
safeSub(balanceOf[_from],_value)>=0,"Value more then balance amount"
321,267
safeSub(balanceOf[_from],_value)>=0
"Target balance has first transfer amount."
pragma solidity >=0.4.21 <0.6.0; contract SafeMath { function safeMul(uint a, uint b) internal pure returns(uint) { } function safeSub(uint a, uint b) internal pure returns(uint) { } function safeAdd(uint a, uint b) internal pure returns(uint) { } } contract DatrixoEquityToken is SafeMa...
firstPurchaseTime[_to]==0,"Target balance has first transfer amount."
321,267
firstPurchaseTime[_to]==0
"Purchase would exceed max supply of Cactus"
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be c...
totalSupply().add(numberOfTokens)<=MAX_CACTUS,"Purchase would exceed max supply of Cactus"
321,290
totalSupply().add(numberOfTokens)<=MAX_CACTUS
"New name is same as the current one"
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be c...
sha256(bytes(_name))!=sha256(bytes(cactusNames[_tokenId])),"New name is same as the current one"
321,290
sha256(bytes(_name))!=sha256(bytes(cactusNames[_tokenId]))
"timer over"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./TimerLib.sol"; /** * @dev Timer lib provides functionality to use time easily...
_isTimerRunning(),"timer over"
321,343
_isTimerRunning()
"BurnVault: sender already added"
//SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "../libraries/math/SafeMath.sol"; import "../libraries/token/IERC20.sol"; import "../libraries/utils/ReentrancyGuard.sol"; import "../interfaces/IXVIX.sol"; import "../interfaces/IFloor.sol"; import "../interfaces/IX2Fund.sol"; contract BurnVault is Reentran...
!senders[_sender],"BurnVault: sender already added"
321,433
!senders[_sender]
"BurnVault: invalid sender"
//SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "../libraries/math/SafeMath.sol"; import "../libraries/token/IERC20.sol"; import "../libraries/utils/ReentrancyGuard.sol"; import "../interfaces/IXVIX.sol"; import "../interfaces/IFloor.sol"; import "../interfaces/IX2Fund.sol"; contract BurnVault is Reentran...
senders[_sender],"BurnVault: invalid sender"
321,433
senders[_sender]
"BurnVault: forbidden"
//SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "../libraries/math/SafeMath.sol"; import "../libraries/token/IERC20.sol"; import "../libraries/utils/ReentrancyGuard.sol"; import "../interfaces/IXVIX.sol"; import "../interfaces/IFloor.sol"; import "../interfaces/IX2Fund.sol"; contract BurnVault is Reentran...
senders[msg.sender],"BurnVault: forbidden"
321,433
senders[msg.sender]
"BurnVault: insufficient balance"
//SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "../libraries/math/SafeMath.sol"; import "../libraries/token/IERC20.sol"; import "../libraries/utils/ReentrancyGuard.sol"; import "../interfaces/IXVIX.sol"; import "../interfaces/IFloor.sol"; import "../interfaces/IX2Fund.sol"; contract BurnVault is Reentran...
balances[_account]>=scaledAmount,"BurnVault: insufficient balance"
321,433
balances[_account]>=scaledAmount
null
pragma solidity ^0.4.11; contract DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop { uint256 nothing; function DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop() { } } //*************** Ownable contract Ownable { address public owner; function Ownable() { } modifier onlyOwner() { ...
address(goldtoken)!=0x0
321,523
address(goldtoken)!=0x0
null
pragma solidity ^0.4.11; contract DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop { uint256 nothing; function DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop() { } } //*************** Ownable contract Ownable { address public owner; function Ownable() { } modifier onlyOwner() { ...
!permissions[x].blocked
321,523
!permissions[x].blocked
null
pragma solidity ^0.4.11; contract DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop { uint256 nothing; function DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop() { } } //*************** Ownable contract Ownable { address public owner; function Ownable() { } modifier onlyOwner() { ...
permissions[x].passedKYC
321,523
permissions[x].passedKYC
null
pragma solidity ^0.4.11; contract DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop { uint256 nothing; function DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop() { } } //*************** Ownable contract Ownable { address public owner; function Ownable() { } modifier onlyOwner() { ...
!funding()
321,523
!funding()
null
pragma solidity ^0.4.11; contract DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop { uint256 nothing; function DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop() { } } //*************** Ownable contract Ownable { address public owner; function Ownable() { } modifier onlyOwner() { ...
funding()
321,523
funding()
null
pragma solidity ^0.4.11; contract DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop { uint256 nothing; function DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop() { } } //*************** Ownable contract Ownable { address public owner; function Ownable() { } modifier onlyOwner() { ...
deposits[recipient]<personalMax
321,523
deposits[recipient]<personalMax
null
pragma solidity ^0.4.11; contract DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop { uint256 nothing; function DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop() { } } //*************** Ownable contract Ownable { address public owner; function Ownable() { } modifier onlyOwner() { ...
token.transferFrom(HGT_Reserve,recipient,totalTokens)
321,523
token.transferFrom(HGT_Reserve,recipient,totalTokens)
null
pragma solidity ^0.4.11; contract DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop { uint256 nothing; function DoNotDeployThisGetTheRightOneCosParityPutsThisOnTop() { } } //*************** Ownable contract Ownable { address public owner; function Ownable() { } modifier onlyOwner() { ...
token.transferFrom(HGT_Reserve,grantee,numTokens)
321,523
token.transferFrom(HGT_Reserve,grantee,numTokens)
"Transfer lock : true"
pragma solidity ^0.5.17; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) { } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { } } contract Variable { string public name; string public symbol; uint256 public decimals; uint256 public...
allowedAddress[_from]||transferLock==false,"Transfer lock : true"
321,597
allowedAddress[_from]||transferLock==false
"Blocked address"
pragma solidity ^0.5.17; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) { } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { } } contract Variable { string public name; string public symbol; uint256 public decimals; uint256 public...
!blockedAddress[_from]&&!blockedAddress[_to]&&!blockedAddress[msg.sender],"Blocked address"
321,597
!blockedAddress[_from]&&!blockedAddress[_to]&&!blockedAddress[msg.sender]
"Invalid balance"
pragma solidity ^0.5.17; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) { } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { } } contract Variable { string public name; string public symbol; uint256 public decimals; uint256 public...
balanceOf[_from]>=_value&&(balanceOf[_to].add(_value))>=balanceOf[_to],"Invalid balance"
321,597
balanceOf[_from]>=_value&&(balanceOf[_to].add(_value))>=balanceOf[_to]
"Invalid balance"
pragma solidity ^0.5.17; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) { } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { } } contract Variable { string public name; string public symbol; uint256 public decimals; uint256 public...
balanceOf[msg.sender]>=_value&&(balanceOf[_to].add(_value))>=balanceOf[_to],"Invalid balance"
321,597
balanceOf[msg.sender]>=_value&&(balanceOf[_to].add(_value))>=balanceOf[_to]
"must wait 24 hours before unstaking"
pragma solidity 0.5.13; interface Callable { function tokenCallback(address _from, uint256 _tokens, bytes calldata _data) external returns (bool); } contract DeFiFirefly { uint256 constant public INITIAL_SUPPLY = 9e13; // 900,000 uint256 public unallocatedEth; uint256 id; mapping(uint256 => address) idToAd...
info.users[msg.sender].stakeTimestamp+24hours<=now,"must wait 24 hours before unstaking"
321,668
info.users[msg.sender].stakeTimestamp+24hours<=now
"Address isn`t a contract"
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <= 0.9.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "./ILions.sol"; contract YieldToken is ERC20("SexyToken", "SEXY") { using...
msg.sender.isContract(),"Address isn`t a contract"
321,740
msg.sender.isContract()
"Not allowed from EOA"
pragma solidity ^0.5.0; pragma experimental ABIEncoderV2; /** * @title The entrance of Furucombo * @author Ben Huang */ contract Proxy is Cache, Config { using Address for address; using SafeERC20 for IERC20; // keccak256 hash of "furucombo.handler.registry" // prettier-ignore bytes32 ...
Address.isContract(msg.sender),"Not allowed from EOA"
321,782
Address.isContract(msg.sender)
"Invalid caller"
pragma solidity ^0.5.0; pragma experimental ABIEncoderV2; /** * @title The entrance of Furucombo * @author Ben Huang */ contract Proxy is Cache, Config { using Address for address; using SafeERC20 for IERC20; // keccak256 hash of "furucombo.handler.registry" // prettier-ignore bytes32 ...
_isValid(msg.sender),"Invalid caller"
321,782
_isValid(msg.sender)
"Invalid handler"
pragma solidity ^0.5.0; pragma experimental ABIEncoderV2; /** * @title The entrance of Furucombo * @author Ben Huang */ contract Proxy is Cache, Config { using Address for address; using SafeERC20 for IERC20; // keccak256 hash of "furucombo.handler.registry" // prettier-ignore bytes32 ...
_isValid(_to),"Invalid handler"
321,782
_isValid(_to)
null
pragma solidity ^0.4.20; // ---------------------------------------------------------------------------- // // GZR 'Gizer Gaming' token public sale contract // // For details, please visit: http://www.gizer.io // // ---------------------------------------------------------------------------- // ----------------...
isAdmin[_a]==false
321,788
isAdmin[_a]==false
null
pragma solidity ^0.4.20; // ---------------------------------------------------------------------------- // // GZR 'Gizer Gaming' token public sale contract // // For details, please visit: http://www.gizer.io // // ---------------------------------------------------------------------------- // ----------------...
isAdmin[_a]==true
321,788
isAdmin[_a]==true
null
pragma solidity ^0.4.20; // ---------------------------------------------------------------------------- // // GZR 'Gizer Gaming' token public sale contract // // For details, please visit: http://www.gizer.io // // ---------------------------------------------------------------------------- // ----------------...
TOKEN_SUPPLY_OWNER+TOKEN_SUPPLY_CROWD==TOKEN_SUPPLY_TOTAL
321,788
TOKEN_SUPPLY_OWNER+TOKEN_SUPPLY_CROWD==TOKEN_SUPPLY_TOTAL
null
pragma solidity ^0.4.20; // ---------------------------------------------------------------------------- // // GZR 'Gizer Gaming' token public sale contract // // For details, please visit: http://www.gizer.io // // ---------------------------------------------------------------------------- // ----------------...
atNow()>DATE_ICO_START&&atNow()<date_ico_end
321,788
atNow()>DATE_ICO_START&&atNow()<date_ico_end
null
pragma solidity ^0.4.20; // ---------------------------------------------------------------------------- // // GZR 'Gizer Gaming' token public sale contract // // For details, please visit: http://www.gizer.io // // ---------------------------------------------------------------------------- // ----------------...
tradeable()
321,788
tradeable()
null
pragma solidity ^0.4.20; // ---------------------------------------------------------------------------- // // GZR 'Gizer Gaming' token public sale contract // // For details, please visit: http://www.gizer.io // // ---------------------------------------------------------------------------- // ----------------...
unlockedTokens(msg.sender)>=_amount
321,788
unlockedTokens(msg.sender)>=_amount
null
pragma solidity ^0.4.20; // ---------------------------------------------------------------------------- // // GZR 'Gizer Gaming' token public sale contract // // For details, please visit: http://www.gizer.io // // ---------------------------------------------------------------------------- // ----------------...
unlockedTokens(_from)>=_amount
321,788
unlockedTokens(_from)>=_amount
null
pragma solidity 0.6.12; pragma experimental ABIEncoderV2; interface IMasterChefV2 { function lpToken(uint256 pid) external view returns (IERC20 _lpToken); } /// @author @0xKeno contract SirenRewarder is IRewarder, BoringOwnable{ using BoringMath for uint256; using BoringMath128 for uint128; us...
IMasterChefV2(MASTERCHEF_V2).lpToken(pid)==masterLpToken
321,797
IMasterChefV2(MASTERCHEF_V2).lpToken(pid)==masterLpToken
null
pragma solidity ^0.4.16; //Define the pool contract SmartPool { //Pool info uint currAmount; //Current amount in the pool (=balance) uint ticketPrice; //Price of one ticket uint startDate; //The date of opening uint endDate; //The date of closing (or 0 if still open) //Block infos (bett...
now+_duration>=now
321,839
now+_duration>=now
null
pragma solidity ^0.4.16; //Define the pool contract SmartPool { //Pool info uint currAmount; //Current amount in the pool (=balance) uint ticketPrice; //Price of one ticket uint startDate; //The date of opening uint endDate; //The date of closing (or 0 if still open) //Block infos (bett...
_ticketCount*_ticketPrice>=_ticketPrice
321,839
_ticketCount*_ticketPrice>=_ticketPrice
null
pragma solidity ^0.4.16; //Define the pool contract SmartPool { //Pool info uint currAmount; //Current amount in the pool (=balance) uint ticketPrice; //Price of one ticket uint startDate; //The date of opening uint endDate; //The date of closing (or 0 if still open) //Block infos (bett...
ended&&!terminated
321,839
ended&&!terminated
null
pragma solidity ^0.4.16; //Define the pool contract SmartPool { //Pool info uint currAmount; //Current amount in the pool (=balance) uint ticketPrice; //Price of one ticket uint startDate; //The date of opening uint endDate; //The date of closing (or 0 if still open) //Block infos (bett...
block.number-endBlock>=minWaitDuration
321,839
block.number-endBlock>=minWaitDuration
null
pragma solidity ^0.4.16; //Define the pool contract SmartPool { //Pool info uint currAmount; //Current amount in the pool (=balance) uint ticketPrice; //Price of one ticket uint startDate; //The date of opening uint endDate; //The date of closing (or 0 if still open) //Block infos (bett...
!moneySent
321,839
!moneySent
null
pragma solidity ^0.4.16; //Define the pool contract SmartPool { //Pool info uint currAmount; //Current amount in the pool (=balance) uint ticketPrice; //Price of one ticket uint startDate; //The date of opening uint endDate; //The date of closing (or 0 if still open) //Block infos (bett...
!pool.isEnded()
321,839
!pool.isEnded()
null
pragma solidity ^0.4.16; //Define the pool contract SmartPool { //Pool info uint currAmount; //Current amount in the pool (=balance) uint ticketPrice; //Price of one ticket uint startDate; //The date of opening uint endDate; //The date of closing (or 0 if still open) //Block infos (bett...
pool.isTerminated()
321,839
pool.isTerminated()
null
pragma solidity ^0.4.16; //Define the pool contract SmartPool { //Pool info uint currAmount; //Current amount in the pool (=balance) uint ticketPrice; //Price of one ticket uint startDate; //The date of opening uint endDate; //The date of closing (or 0 if still open) //Block infos (bett...
!pool.isMoneySent()
321,839
!pool.isMoneySent()
"<start"
//SPDX-License-Identifier: MIT /* * MIT License * =========== * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
proposals[id].start<block.timestamp,"<start"
321,878
proposals[id].start<block.timestamp
">end"
//SPDX-License-Identifier: MIT /* * MIT License * =========== * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
proposals[id].end>block.timestamp,">end"
321,878
proposals[id].end>block.timestamp
"cannot switch votes"
//SPDX-License-Identifier: MIT /* * MIT License * =========== * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
proposals[id].againstVotes[msg.sender]==0,"cannot switch votes"
321,878
proposals[id].againstVotes[msg.sender]==0
"cannot switch votes"
//SPDX-License-Identifier: MIT /* * MIT License * =========== * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
proposals[id].forVotes[msg.sender]==0,"cannot switch votes"
321,878
proposals[id].forVotes[msg.sender]==0
"tokens locked"
//SPDX-License-Identifier: MIT /* * MIT License * =========== * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
voteLock[msg.sender]<block.timestamp,"tokens locked"
321,878
voteLock[msg.sender]<block.timestamp
"non-existent proposal"
//SPDX-License-Identifier: MIT /* * MIT License * =========== * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
proposals[id].proposer!=address(0),"non-existent proposal"
321,878
proposals[id].proposer!=address(0)
"ongoing proposal"
//SPDX-License-Identifier: MIT /* * MIT License * =========== * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
proposals[id].end<block.timestamp,"ongoing proposal"
321,878
proposals[id].end<block.timestamp
"already resolved"
//SPDX-License-Identifier: MIT /* * MIT License * =========== * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
proposals[id].totalSupply==0,"already resolved"
321,878
proposals[id].totalSupply==0
null
pragma solidity ^0.5.1; contract Token{ // ERC20 Token, with the addition of symbol, name and decimals and a // fixed supply string public constant symbol = 'ARS-TIG'; string public constant name = 'ARS Tigereum'; uint8 public constant decimals = 2; uint public constant _totalSupply = 100...
allowed[from][msg.sender]>=tokens&&balances[from]>=tokens&&tokens>0
321,886
allowed[from][msg.sender]>=tokens&&balances[from]>=tokens&&tokens>0
"vault: key is taken"
/* * Here we have a list of constants. In order to get access to an address * managed by ValueVaultMaster, the calling contract should copy and define * some of these constants and use them as keys. * Keys themselves are immutable. Addresses can be immutable or mutable. * * Vault addresses are immutable onc...
vaultByKey[_key]==address(0),"vault: key is taken"
321,960
vaultByKey[_key]==address(0)
"sender not vault"
interface IStrategyV2p1 { function approve(IERC20 _token) external; function approveForSpender(IERC20 _token, address spender) external; // Deposit tokens to a farm to yield more tokens. function deposit(address _vault, uint256 _amount) external; // IStrategy function deposit(uint256 _poolId, u...
valueVaultMaster.isVault(msg.sender),"sender not vault"
321,961
valueVaultMaster.isVault(msg.sender)
"sender not vault"
interface IStrategyV2p1 { function approve(IERC20 _token) external; function approveForSpender(IERC20 _token, address spender) external; // Deposit tokens to a farm to yield more tokens. function deposit(address _vault, uint256 _amount) external; // IStrategy function deposit(uint256 _poolId, u...
poolMap[_poolId].vault==msg.sender,"sender not vault"
321,961
poolMap[_poolId].vault==msg.sender
"not vault"
interface IStrategyV2p1 { function approve(IERC20 _token) external; function approveForSpender(IERC20 _token, address spender) external; // Deposit tokens to a farm to yield more tokens. function deposit(address _vault, uint256 _amount) external; // IStrategy function deposit(uint256 _poolId, u...
valueVaultMaster.isVault(_vault),"not vault"
321,961
valueVaultMaster.isVault(_vault)
"!vault && !governance"
interface IStrategyV2p1 { function approve(IERC20 _token) external; function approveForSpender(IERC20 _token, address spender) external; // Deposit tokens to a farm to yield more tokens. function deposit(address _vault, uint256 _amount) external; // IStrategy function deposit(uint256 _poolId, u...
valueVaultMaster.isVault(msg.sender)||msg.sender==governance,"!vault && !governance"
321,961
valueVaultMaster.isVault(msg.sender)||msg.sender==governance
"not strategy"
interface IStrategyV2p1 { function approve(IERC20 _token) external; function approveForSpender(IERC20 _token, address spender) external; // Deposit tokens to a farm to yield more tokens. function deposit(address _vault, uint256 _amount) external; // IStrategy function deposit(uint256 _poolId, u...
valueVaultMaster.isStrategy(_dest),"not strategy"
321,961
valueVaultMaster.isStrategy(_dest)
"!lpToken"
interface IStrategyV2p1 { function approve(IERC20 _token) external; function approveForSpender(IERC20 _token, address spender) external; // Deposit tokens to a farm to yield more tokens. function deposit(address _vault, uint256 _amount) external; // IStrategy function deposit(uint256 _poolId, u...
IStrategyV2p1(_dest).getLpToken()==address(lpToken),"!lpToken"
321,961
IStrategyV2p1(_dest).getLpToken()==address(lpToken)
"transferFrom() failure. Make sure that your balance is not lower than the allowance you set"
// SPDX-License-Identifier: MIT pragma solidity ^ 0.8.9; interface IERC20 { function transfer(address recipient, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); } contract BridgeAssist { address public owner; IERC...
tokenInterface.transferFrom(_sender,address(this),_amount),"transferFrom() failure. Make sure that your balance is not lower than the allowance you set"
322,056
tokenInterface.transferFrom(_sender,address(this),_amount)
"transfer() failure. Contact contract owner"
// SPDX-License-Identifier: MIT pragma solidity ^ 0.8.9; interface IERC20 { function transfer(address recipient, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); } contract BridgeAssist { address public owner; IERC...
tokenInterface.transfer(_sender,_amount),"transfer() failure. Contact contract owner"
322,056
tokenInterface.transfer(_sender,_amount)
"Insufficient supply"
// 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/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzep...
totalSupply().add(numberOfTokens)<=MAX_BULLS,"Insufficient supply"
322,116
totalSupply().add(numberOfTokens)<=MAX_BULLS
"Ether value sent is incorrect"
// 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/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzep...
PRICE_PER_BULL.mul(numberOfTokens)==msg.value,"Ether value sent is incorrect"
322,116
PRICE_PER_BULL.mul(numberOfTokens)==msg.value
null
pragma solidity ^0.4.19; /** * XC Plugin Contract Interface. */ interface XCPluginInterface { /** * Open the contract service status. */ function start() external; /** * Close the contract service status. */ function stop() external; /** * Get contract servic...
_existPublicKey(publicKey)
322,177
_existPublicKey(publicKey)
null
pragma solidity ^0.4.19; /** * XC Plugin Contract Interface. */ interface XCPluginInterface { /** * Open the contract service status. */ function start() external; /** * Close the contract service status. */ function stop() external; /** * Get contract servic...
(admin.status&&_existCaller(msg.sender))||msg.sender==admin.account
322,177
(admin.status&&_existCaller(msg.sender))||msg.sender==admin.account
null
pragma solidity ^0.4.19; /** * XC Plugin Contract Interface. */ interface XCPluginInterface { /** * Open the contract service status. */ function start() external; /** * Close the contract service status. */ function stop() external; /** * Get contract servic...
!platform.proposals[txid].status
322,177
!platform.proposals[txid].status
null
pragma solidity ^0.4.19; /** * XC Plugin Contract Interface. */ interface XCPluginInterface { /** * Open the contract service status. */ function start() external; /** * Close the contract service status. */ function stop() external; /** * Get contract servic...
admin.status
322,177
admin.status
"max single trade 1% of current total supply"
/* ABN = AutoBurn token Deflationary. Low gas. Made simple. This token has decreasing supply and increasing price achieved by 3% burn and 3% added to liquidity on each transaction except wallet to wallet transactions (non-contract). This is done by direct balance adjustments which are much cheaper than calling ex...
_totalSupply.div(transferToAmount)>=99,"max single trade 1% of current total supply"
322,255
_totalSupply.div(transferToAmount)>=99
"_serviceName in invalid"
/** * @dev The NokuFlatPlan contract implements a flat pricing plan, manageable by the contract owner. */ contract NokuFlatPlan is NokuPricingPlan, Ownable { using SafeMath for uint256; event LogNokuFlatPlanCreated( address indexed caller, uint256 indexed paymentInterval, uint256...
isValidService(_serviceName),"_serviceName in invalid"
322,308
isValidService(_serviceName)
"INVALID_SIG_S"
// SPDX-License-Identifier: LGPL-3.0-or-later pragma solidity 0.7.6; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interfaces/ITokenWrapper.sol"; import "./interfaces/IDAI.sol"; /** * @title DAITokenWrapper * @notice Contract for wrapping ca...
uint256(_s)<=0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0,"INVALID_SIG_S"
322,384
uint256(_s)<=0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0
null
contract HEXCrowdSale is Ownerable, SafeMath, ATXICOToken { uint256 public maxHEXCap; uint256 public minHEXCap; uint256 public ethRate; uint256 public atxRate; /* uint256 public ethFunded; uint256 public atxFunded; */ address[] public ethInvestors; mapping (address => uint256) public ethInvestor...
kyc.registeredAddress(msg.sender)
322,414
kyc.registeredAddress(msg.sender)
null
contract HEXCrowdSale is Ownerable, SafeMath, ATXICOToken { uint256 public maxHEXCap; uint256 public minHEXCap; uint256 public ethRate; uint256 public atxRate; /* uint256 public ethFunded; uint256 public atxFunded; */ address[] public ethInvestors; mapping (address => uint256) public ethInvestor...
maxReached()==false
322,414
maxReached()==false
null
contract HEXCrowdSale is Ownerable, SafeMath, ATXICOToken { uint256 public maxHEXCap; uint256 public minHEXCap; uint256 public ethRate; uint256 public atxRate; /* uint256 public ethFunded; uint256 public atxFunded; */ address[] public ethInvestors; mapping (address => uint256) public ethInvestor...
onSale()
322,414
onSale()
null
contract HEXCrowdSale is Ownerable, SafeMath, ATXICOToken { uint256 public maxHEXCap; uint256 public minHEXCap; uint256 public ethRate; uint256 public atxRate; /* uint256 public ethFunded; uint256 public atxFunded; */ address[] public ethInvestors; mapping (address => uint256) public ethInvestor...
kyc.registeredAddress(_from)
322,414
kyc.registeredAddress(_from)
null
contract HEXCrowdSale is Ownerable, SafeMath, ATXICOToken { uint256 public maxHEXCap; uint256 public minHEXCap; uint256 public ethRate; uint256 public atxRate; /* uint256 public ethFunded; uint256 public atxFunded; */ address[] public ethInvestors; mapping (address => uint256) public ethInvestor...
currAtxBal+_amount>=currAtxBal
322,414
currAtxBal+_amount>=currAtxBal
null
contract HEXCrowdSale is Ownerable, SafeMath, ATXICOToken { uint256 public maxHEXCap; uint256 public minHEXCap; uint256 public ethRate; uint256 public atxRate; /* uint256 public ethFunded; uint256 public atxFunded; */ address[] public ethInvestors; mapping (address => uint256) public ethInvestor...
periods[periods.length-1].endTime<_start
322,414
periods[periods.length-1].endTime<_start
'Contract already whitelisted.'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; // ,@@@@@@@, // ,,,. ,@@@@@@/@@, .oo8888o. // ,&%%&%&&%,@@@@@/@@@@@@,8888\88/8o // ,%&\%&&%&&%,@@...
!whitelistMap[_contractAddress].isValid,'Contract already whitelisted.'
322,442
!whitelistMap[_contractAddress].isValid
'Not a valid whitelisted contract.'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; // ,@@@@@@@, // ,,,. ,@@@@@@/@@, .oo8888o. // ,&%%&%&&%,@@@@@/@@@@@@,8888\88/8o // ,%&\%&&%&&%,@@...
whitelistMap[_contractAddress].isValid,'Not a valid whitelisted contract.'
322,442
whitelistMap[_contractAddress].isValid