comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
null
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // SencTokenSale - SENC Token Sale Contract // // Copyright (c) 2018 InfoCorp Technologies Pte Ltd. // http://www.sentinel-chain.org/ // // The MIT Licence. // -----------------------------------------------...
!started||address(oddToken)!=address(token)
329,687
!started||address(oddToken)!=address(token)
null
pragma solidity ^0.5.7; /** * @title SafeMath */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint a, uint b) internal pure returns (uint c) { } /** * @dev Integer division of two numbers, truncating the quotient. */ function...
(_to!=address(0))
329,817
(_to!=address(0))
null
pragma solidity 0.4.24; interface IArbitrage { function executeArbitrage( address token, uint256 amount, address dest, bytes data ) external returns (bool); } pragma solidity 0.4.24; contract IBank { function totalSupplyOf(address token) public view returns (...
IBank(bank).totalSupplyOf(token)>=(balance.add(feeAmount))
329,879
IBank(bank).totalSupplyOf(token)>=(balance.add(feeAmount))
"Query for a token you don't own"
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import {Pausable} from "@openzeppelin/contracts/security/Pausable.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {Math} from "@openzeppelin/contracts/utils/math/Math.sol"; import {EnumerableSet} from "@openzeppelin/contracts/utils...
_depositsOf[msg.sender].contains(tokenIds[i]),"Query for a token you don't own"
329,885
_depositsOf[msg.sender].contains(tokenIds[i])
"ceiling reached"
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; pragma experimental ABIEncoderV2; import "../../Math/SafeMath.sol"; import "../../XUS/XUS.sol"; import "../../XUSD/XUSD.sol"; import "../../ERC20/ERC20.sol"; import "../../Oracle/UniswapPairOracle.sol"; import "./XUSDPoolLibrary.sol"; contract Pool_DAI_NEW { u...
(collateral_token.balanceOf(address(this))).sub(unclaimedPoolCollateral).add(collat_amount)<=pool_ceiling,"ceiling reached"
329,937
(collateral_token.balanceOf(address(this))).sub(unclaimedPoolCollateral).add(collat_amount)<=pool_ceiling
"pool ceiling reached"
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; pragma experimental ABIEncoderV2; import "../../Math/SafeMath.sol"; import "../../XUS/XUS.sol"; import "../../XUSD/XUSD.sol"; import "../../ERC20/ERC20.sol"; import "../../Oracle/UniswapPairOracle.sol"; import "./XUSDPoolLibrary.sol"; contract Pool_DAI_NEW { u...
collateral_token.balanceOf(address(this)).sub(unclaimedPoolCollateral).add(collat_amount)<=pool_ceiling,"pool ceiling reached"
329,937
collateral_token.balanceOf(address(this)).sub(unclaimedPoolCollateral).add(collat_amount)<=pool_ceiling
"wait 1 block"
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; pragma experimental ABIEncoderV2; import "../../Math/SafeMath.sol"; import "../../XUS/XUS.sol"; import "../../XUSD/XUSD.sol"; import "../../ERC20/ERC20.sol"; import "../../Oracle/UniswapPairOracle.sol"; import "./XUSDPoolLibrary.sol"; contract Pool_DAI_NEW { u...
(lastRedeemed[msg.sender].add(redemption_delay))<=block.number,"wait 1 block"
329,937
(lastRedeemed[msg.sender].add(redemption_delay))<=block.number
"Not enough supply"
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /////////////////////////////////////////////////////////////////////////////////////////...
lastTokenId+qty<=totalSupply,"Not enough supply"
330,088
lastTokenId+qty<=totalSupply
"Tokens cannot be transferred from user for locking"
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.7.5; // ---------------------------------------------------------------------------- // SafeMath library // ---------------------------------------------------------------------------- library SafeMath { /** * @dev Returns the addition of two unsi...
IERC20(BBPLP).transferFrom(msg.sender,address(lpLockAddress),tokens),"Tokens cannot be transferred from user for locking"
330,096
IERC20(BBPLP).transferFrom(msg.sender,address(lpLockAddress),tokens)
"Error in un-staking tokens"
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.7.5; // ---------------------------------------------------------------------------- // SafeMath library // ---------------------------------------------------------------------------- library SafeMath { /** * @dev Returns the addition of two unsi...
IERC20(BBPLP).transfer(msg.sender,tokens),"Error in un-staking tokens"
330,096
IERC20(BBPLP).transfer(msg.sender,tokens)
"Error in retrieving tokens"
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.7.5; // ---------------------------------------------------------------------------- // SafeMath library // ---------------------------------------------------------------------------- library SafeMath { /** * @dev Returns the addition of two unsi...
IERC20(BBPLP).transfer(owner,IERC20(BBPLP).balanceOf(address(this))),"Error in retrieving tokens"
330,096
IERC20(BBPLP).transfer(owner,IERC20(BBPLP).balanceOf(address(this)))
"Error in retrieving bbp tokens"
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.7.5; // ---------------------------------------------------------------------------- // SafeMath library // ---------------------------------------------------------------------------- library SafeMath { /** * @dev Returns the addition of two unsi...
IERC20(BBP).transfer(owner,IERC20(BBP).balanceOf(address(this))),"Error in retrieving bbp tokens"
330,096
IERC20(BBP).transfer(owner,IERC20(BBP).balanceOf(address(this)))
"nonDuplicated: duplicated"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./library/SafeERC20...
poolExistence[_StakingToken]==false,"nonDuplicated: duplicated"
330,098
poolExistence[_StakingToken]==false
null
pragma solidity ^0.4.18; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public constant returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract ERC20 is ER...
(now>start0&&now<start0+30days)||(now>start1&&now<start1+60days)
330,126
(now>start0&&now<start0+30days)||(now>start1&&now<start1+60days)
null
pragma solidity ^0.4.18; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public constant returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract ERC20 is ER...
this.balance+msg.value<=hardcap
330,126
this.balance+msg.value<=hardcap
null
pragma solidity ^0.4.18; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public constant returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract ERC20 is ER...
token.totalSupply()+tokenAdd<hardcapTokens
330,126
token.totalSupply()+tokenAdd<hardcapTokens
null
pragma solidity ^0.4.18; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public constant returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract ERC20 is ER...
(now>start0+30days&&this.balance<softcap0)||(now>start1+60days&&this.balance<softcap1)
330,126
(now>start0+30days&&this.balance<softcap0)||(now>start1+60days&&this.balance<softcap1)
null
pragma solidity ^0.4.18; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public constant returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract ERC20 is ER...
!refunded[msg.sender]
330,126
!refunded[msg.sender]
null
pragma solidity ^0.4.18; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public constant returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract ERC20 is ER...
saleBalances[msg.sender]!=0
330,126
saleBalances[msg.sender]!=0
null
pragma solidity ^0.4.18; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public constant returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract ERC20 is ER...
msg.sender.send(refund)
330,126
msg.sender.send(refund)
"SRF01"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/proxy/Clones.sol"; import "./interfaces/IERC20Stakin...
!stakingPaused,"SRF01"
330,215
!stakingPaused
null
pragma solidity ^0.4.13; /** * This contract handles the actions for every collectible on MisfitArt... */ contract DigitalArtCollectible { // MisfitArt's account address owner; // starts turned off to prepare the drawings before going public bool isExecutionAllowed = false; // ERC20 token standard ...
drawingIdToCollectibles[drawingId].drawingId!=0
330,222
drawingIdToCollectibles[drawingId].drawingId!=0
null
pragma solidity ^0.4.13; /** * This contract handles the actions for every collectible on MisfitArt... */ contract DigitalArtCollectible { // MisfitArt's account address owner; // starts turned off to prepare the drawings before going public bool isExecutionAllowed = false; // ERC20 token standard ...
(printIndex<(collectible.totalSupply+collectible.initialPrintIndex))&&(printIndex>=collectible.initialPrintIndex)
330,222
(printIndex<(collectible.totalSupply+collectible.initialPrintIndex))&&(printIndex>=collectible.initialPrintIndex)
null
pragma solidity ^0.4.13; /** * This contract handles the actions for every collectible on MisfitArt... */ contract DigitalArtCollectible { // MisfitArt's account address owner; // starts turned off to prepare the drawings before going public bool isExecutionAllowed = false; // ERC20 token standard ...
DrawingPrintToAddress[printIndex]!=msg.sender
330,222
DrawingPrintToAddress[printIndex]!=msg.sender
null
pragma solidity ^0.4.13; /** * This contract handles the actions for every collectible on MisfitArt... */ contract DigitalArtCollectible { // MisfitArt's account address owner; // starts turned off to prepare the drawings before going public bool isExecutionAllowed = false; // ERC20 token standard ...
DrawingPrintToAddress[printIndex]==0x0
330,222
DrawingPrintToAddress[printIndex]==0x0
null
pragma solidity ^0.4.13; /** * This contract handles the actions for every collectible on MisfitArt... */ contract DigitalArtCollectible { // MisfitArt's account address owner; // starts turned off to prepare the drawings before going public bool isExecutionAllowed = false; // ERC20 token standard ...
DrawingPrintToAddress[printIndex]!=0x0
330,222
DrawingPrintToAddress[printIndex]!=0x0
null
pragma solidity ^0.4.13; /** * This contract handles the actions for every collectible on MisfitArt... */ contract DigitalArtCollectible { // MisfitArt's account address owner; // starts turned off to prepare the drawings before going public bool isExecutionAllowed = false; // ERC20 token standard ...
DrawingPrintToAddress[printIndex]==msg.sender
330,222
DrawingPrintToAddress[printIndex]==msg.sender
null
pragma solidity ^0.4.13; /** * This contract handles the actions for every collectible on MisfitArt... */ contract DigitalArtCollectible { // MisfitArt's account address owner; // starts turned off to prepare the drawings before going public bool isExecutionAllowed = false; // ERC20 token standard ...
drawingIdToCollectibles[drawingId].drawingId==0
330,222
drawingIdToCollectibles[drawingId].drawingId==0
"Must be in 0.001 ETH increments"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/interfaces/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contrac...
msg.value%ETH1_1000==0,"Must be in 0.001 ETH increments"
330,386
msg.value%ETH1_1000==0
"Too many deposits"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/interfaces/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contrac...
poolWriteCursor-poolReadCursor<250,"Too many deposits"
330,386
poolWriteCursor-poolReadCursor<250
"Settle previous auction first"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/interfaces/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contrac...
!activeAuction||currentNounId==nounId,"Settle previous auction first"
330,386
!activeAuction||currentNounId==nounId
"Fee transfer failed"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/interfaces/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contrac...
fracTokenVault.transfer(nounsPartyTreasuryAddress,fee),"Fee transfer failed"
330,386
fracTokenVault.transfer(nounsPartyTreasuryAddress,fee)
"Token transfer failed"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/interfaces/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contrac...
fracTokenVault.transfer(msg.sender,c.tokens),"Token transfer failed"
330,386
fracTokenVault.transfer(msg.sender,c.tokens)
"Auction is hot"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/interfaces/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contrac...
!auctionIsHot(),"Auction is hot"
330,386
!auctionIsHot()
"Inactive auction"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/interfaces/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contrac...
!settled,"Inactive auction"
330,386
!settled
"Insufficient balance"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/interfaces/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contrac...
address(this).balance>=newBid,"Insufficient balance"
330,386
address(this).balance>=newBid
"Target account not set"
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; interface ERC20Basic { function balanceOf(address who) external view returns (uint256 balance); function transfer(address to, uint256 value) external returns (bool trans1); function allowance(address owner, address spender) external ...
bytes(_t).length>0,"Target account not set"
330,471
bytes(_t).length>0
"WAG8.transferFrom failure"
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; interface ERC20Basic { function balanceOf(address who) external view returns (uint256 balance); function transfer(address to, uint256 value) external returns (bool trans1); function allowance(address owner, address spender) external ...
WAG8.transferFrom(_payer,address(this),amount),"WAG8.transferFrom failure"
330,471
WAG8.transferFrom(_payer,address(this),amount)
'LP token already added'
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; import {Ownable} from '@openzeppelin/contracts/access/Ownable.sol'; import {IERC20} from '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import {SafeMath} from '@openzeppelin/contracts/math/SafeMath.sol'; import {SafeERC20} fro...
lpTokenExists[_lpToken]==false,'LP token already added'
330,537
lpTokenExists[_lpToken]==false
'Caller is not owner or rewards manager'
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; import {Ownable} from '@openzeppelin/contracts/access/Ownable.sol'; import {IERC20} from '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import {SafeMath} from '@openzeppelin/contracts/math/SafeMath.sol'; import {SafeERC20} fro...
owner()==msg.sender||msg.sender==rewardsManager,'Caller is not owner or rewards manager'
330,537
owner()==msg.sender||msg.sender==rewardsManager
"Not enough tokens left."
// SPDX-License-Identifier: None pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract S2TMPass is Ownable, ERC721 { ...
totalSupply.add(_numberOfTokens)<=supplyLimit,"Not enough tokens left."
330,544
totalSupply.add(_numberOfTokens)<=supplyLimit
"Purchase would exceed max supply of Hamsters"
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "./Ownable.sol"; import "./ERC721.sol"; /** * @dev Contract module defining blockchain Hamster's Squad ERC721 NFT Token. * There is a total supply of 8000 hamsters to be minted, each hamster cost .01 ETH. * 500 of the hamsters are reserved for presale and...
totalSupply+_numberOfTokens<8001,"Purchase would exceed max supply of Hamsters"
330,566
totalSupply+_numberOfTokens<8001
"Purchase would exceed max supply of Hamsters"
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "./Ownable.sol"; import "./ERC721.sol"; /** * @dev Contract module defining blockchain Hamster's Squad ERC721 NFT Token. * There is a total supply of 8000 hamsters to be minted, each hamster cost .01 ETH. * 500 of the hamsters are reserved for presale and...
totalSupply+_numberOfTokens+_hamsterReserve<8001,"Purchase would exceed max supply of Hamsters"
330,566
totalSupply+_numberOfTokens+_hamsterReserve<8001
"wake too much"
import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; pragma solidity ^0.8.0; contract WorldOfSquish is ERC721URIStorage, Ownable{ using Strings for uint256; event MintSquish (addres...
totalSquish+_times<=totalCount,"wake too much"
330,615
totalSquish+_times<=totalCount
null
pragma solidity 0.4.21; library SafeMath { function mul(uint256 a, uint256 b) pure internal returns (uint256) { } function div(uint256 a, uint256 b) pure internal returns (uint256) { } function sub(uint256 a, uint256 b) pure internal returns (uint256) { } function add(uint256 a, uint...
isAdministrator(_oldAddress)
330,620
isAdministrator(_oldAddress)
null
pragma solidity 0.4.21; library SafeMath { function mul(uint256 a, uint256 b) pure internal returns (uint256) { } function div(uint256 a, uint256 b) pure internal returns (uint256) { } function sub(uint256 a, uint256 b) pure internal returns (uint256) { } function add(uint256 a, uint...
!isAdministrator(_newAddress)
330,620
!isAdministrator(_newAddress)
null
pragma solidity ^0.4.18; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uin...
address(0)!=_owner&&amount>0&&duration>0&&balanceOf(_owner)>=amount
330,669
address(0)!=_owner&&amount>0&&duration>0&&balanceOf(_owner)>=amount
null
pragma solidity ^0.4.18; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uin...
addressFrozenFund[_owner].release<=now&&addressFrozenFund[_owner].amount==0
330,669
addressFrozenFund[_owner].release<=now&&addressFrozenFund[_owner].amount==0
null
pragma solidity ^0.4.18; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uin...
address(0)!=_owner&&lockedBalanceOf(_owner)>0&&releaseTimeOf(_owner)<=now
330,669
address(0)!=_owner&&lockedBalanceOf(_owner)>0&&releaseTimeOf(_owner)<=now
null
pragma solidity ^0.4.18; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uin...
_tos[i]!=address(0)&&!isContract(_tos[i])
330,669
_tos[i]!=address(0)&&!isContract(_tos[i])
"You are flagged for malicious bot activity!"
//SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.6; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { } function _msgData() internal view virtual returns (bytes memory) { } } interface IERC20 { function totalSupply() external view ...
!_IsBot[recipient],"You are flagged for malicious bot activity!"
330,756
!_IsBot[recipient]
"You are flagged for malicious bot activity!"
//SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.6; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { } function _msgData() internal view virtual returns (bytes memory) { } } interface IERC20 { function totalSupply() external view ...
!_IsBot[msg.sender],"You are flagged for malicious bot activity!"
330,756
!_IsBot[msg.sender]
"Selling is not yet enabled"
//SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.6; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { } function _msgData() internal view virtual returns (bytes memory) { } } interface IERC20 { function totalSupply() external view ...
!sellingDisabled,"Selling is not yet enabled"
330,756
!sellingDisabled
"All presale tokens available have been minted"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/...
totalSupply()<MAX_PRESALE_SUPPLY,"All presale tokens available have been minted"
330,773
totalSupply()<MAX_PRESALE_SUPPLY
"The specified ETH value is incorrect"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/...
(MINT_PRICE*tokensCount)<=msg.value,"The specified ETH value is incorrect"
330,773
(MINT_PRICE*tokensCount)<=msg.value
null
pragma solidity ^0.4.26; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uint256 b) intern...
sellOutNum[_from]==0
330,863
sellOutNum[_from]==0
null
pragma solidity ^0.4.18; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uint256 b) intern...
!frozen[_account]
331,009
!frozen[_account]
null
pragma solidity ^0.4.18; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uint256 b) intern...
!emergencyFreeze
331,009
!emergencyFreeze
"Median/contract-not-whitelisted"
pragma solidity >=0.5.10; contract LibNote { event LogNote( bytes4 indexed sig, address indexed usr, bytes32 indexed arg1, bytes32 indexed arg2, bytes data ) anonymous; modifier note { } } contract Median is LibNote { // --- A...
bud[msg.sender]==1,"Median/contract-not-whitelisted"
331,022
bud[msg.sender]==1
"Median/invalid-oracle"
pragma solidity >=0.5.10; contract LibNote { event LogNote( bytes4 indexed sig, address indexed usr, bytes32 indexed arg1, bytes32 indexed arg2, bytes data ) anonymous; modifier note { } } contract Median is LibNote { // --- A...
orcl[signer]==1,"Median/invalid-oracle"
331,022
orcl[signer]==1
"Median/stale-message"
pragma solidity >=0.5.10; contract LibNote { event LogNote( bytes4 indexed sig, address indexed usr, bytes32 indexed arg1, bytes32 indexed arg2, bytes data ) anonymous; modifier note { } } contract Median is LibNote { // --- A...
age_[i]>zzz,"Median/stale-message"
331,022
age_[i]>zzz
"Median/messages-not-in-order"
pragma solidity >=0.5.10; contract LibNote { event LogNote( bytes4 indexed sig, address indexed usr, bytes32 indexed arg1, bytes32 indexed arg2, bytes data ) anonymous; modifier note { } } contract Median is LibNote { // --- A...
val_[i]>=last,"Median/messages-not-in-order"
331,022
val_[i]>=last
"Median/oracle-already-signed"
pragma solidity >=0.5.10; contract LibNote { event LogNote( bytes4 indexed sig, address indexed usr, bytes32 indexed arg1, bytes32 indexed arg2, bytes data ) anonymous; modifier note { } } contract Median is LibNote { // --- A...
(bloom>>sl)%2==0,"Median/oracle-already-signed"
331,022
(bloom>>sl)%2==0
"Median/no-oracle-0"
pragma solidity >=0.5.10; contract LibNote { event LogNote( bytes4 indexed sig, address indexed usr, bytes32 indexed arg1, bytes32 indexed arg2, bytes data ) anonymous; modifier note { } } contract Median is LibNote { // --- A...
a[i]!=address(0),"Median/no-oracle-0"
331,022
a[i]!=address(0)
"Median/signer-already-exists"
pragma solidity >=0.5.10; contract LibNote { event LogNote( bytes4 indexed sig, address indexed usr, bytes32 indexed arg1, bytes32 indexed arg2, bytes data ) anonymous; modifier note { } } contract Median is LibNote { // --- A...
slot[s]==address(0),"Median/signer-already-exists"
331,022
slot[s]==address(0)
"Median/quorum-not-odd-number"
pragma solidity >=0.5.10; contract LibNote { event LogNote( bytes4 indexed sig, address indexed usr, bytes32 indexed arg1, bytes32 indexed arg2, bytes data ) anonymous; modifier note { } } contract Median is LibNote { // --- A...
bar_%2!=0,"Median/quorum-not-odd-number"
331,022
bar_%2!=0
"contract did not get the loan"
pragma solidity ^0.5.17; pragma experimental ABIEncoderV2; interface Structs { struct Val { uint256 value; } enum ActionType { Deposit, // supply tokens Withdraw, // borrow tokens Transfer, // transfer balance between accounts Buy, // buy an amount of some...
balanceAfter-balanceBefore==flashAmount,"contract did not get the loan"
331,033
balanceAfter-balanceBefore==flashAmount
"Invalid _sale address"
pragma solidity 0.5.11; /** * @title Sale contract interface * @notice This interface declares functions of Sale contract deployed at 0x9C666C69595c278063278a604FF12c70691AB234 address */ interface ISale { function updateRate(uint256 newRate) external; function withdraw() external; function withd...
address(_sale)!=address(0),"Invalid _sale address"
331,174
address(_sale)!=address(0)
"Integer overflow"
pragma solidity 0.5.11; /** * @title Sale contract interface * @notice This interface declares functions of Sale contract deployed at 0x9C666C69595c278063278a604FF12c70691AB234 address */ interface ISale { function updateRate(uint256 newRate) external; function withdraw() external; function withd...
newRateMultiplied/100==newRate,"Integer overflow"
331,174
newRateMultiplied/100==newRate
"New rate is too high"
pragma solidity 0.5.11; /** * @title Sale contract interface * @notice This interface declares functions of Sale contract deployed at 0x9C666C69595c278063278a604FF12c70691AB234 address */ interface ISale { function updateRate(uint256 newRate) external; function withdraw() external; function withd...
newRate*99<=rate*100,"New rate is too high"
331,174
newRate*99<=rate*100
"Transfer amount exceeds allowance"
pragma solidity ^0.5.11; 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) { } function div(uint256 a, uint256 b) interna...
_allowances[_sender][_recipient]>=_amount,"Transfer amount exceeds allowance"
331,209
_allowances[_sender][_recipient]>=_amount
"Transfer amount exceeds balance"
pragma solidity ^0.5.11; 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) { } function div(uint256 a, uint256 b) interna...
_balances[_sender]>=_amount,"Transfer amount exceeds balance"
331,209
_balances[_sender]>=_amount
"Changing parameters: token sale already finished"
pragma solidity ^0.5.11; 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) { } function div(uint256 a, uint256 b) interna...
!SALE_FINALIZED,"Changing parameters: token sale already finished"
331,209
!SALE_FINALIZED
null
pragma solidity ^0.5.11; 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) { } function div(uint256 a, uint256 b) interna...
BTU.transfer(msg.sender,thisTokenBalance)
331,209
BTU.transfer(msg.sender,thisTokenBalance)
null
pragma solidity ^0.5.11; 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) { } function div(uint256 a, uint256 b) interna...
BTU.transfer(msg.sender,bruttoTake)
331,209
BTU.transfer(msg.sender,bruttoTake)
"Token selfdrop: recipient not validated"
pragma solidity ^0.5.11; 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) { } function div(uint256 a, uint256 b) interna...
!SELFDROP_ALLRECIPS[msg.sender]&&msg.sender.balance>=RECIP_ADDIT_TEST,"Token selfdrop: recipient not validated"
331,209
!SELFDROP_ALLRECIPS[msg.sender]&&msg.sender.balance>=RECIP_ADDIT_TEST
null
pragma solidity ^0.5.11; 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) { } function div(uint256 a, uint256 b) interna...
BTU.transfer(msg.sender,bruttoGive)
331,209
BTU.transfer(msg.sender,bruttoGive)
"Token airdrop: the contract address has not enough tokens"
pragma solidity ^0.5.11; 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) { } function div(uint256 a, uint256 b) interna...
BTU.balanceOf(address(this))>=recipsLength*bruttoGive,"Token airdrop: the contract address has not enough tokens"
331,209
BTU.balanceOf(address(this))>=recipsLength*bruttoGive
null
pragma solidity ^0.5.11; 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) { } function div(uint256 a, uint256 b) interna...
BTU.transfer(_batchRecips[i],bruttoGive)
331,209
BTU.transfer(_batchRecips[i],bruttoGive)
null
pragma solidity ^0.5.11; 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) { } function div(uint256 a, uint256 b) interna...
BTU.transfer(_partner,bruttoGive)
331,209
BTU.transfer(_partner,bruttoGive)
"Token withdrawal: cannot withdraw funds while token distribution is active"
pragma solidity ^0.5.11; 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) { } function div(uint256 a, uint256 b) interna...
!(SELFDROP_ACTIVE||SALE_ACTIVE),"Token withdrawal: cannot withdraw funds while token distribution is active"
331,209
!(SELFDROP_ACTIVE||SALE_ACTIVE)
null
pragma solidity ^0.5.11; 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) { } function div(uint256 a, uint256 b) interna...
BTU.transfer(msg.sender,_amount)
331,209
BTU.transfer(msg.sender,_amount)
"Finalizing token sale: requirements not met"
pragma solidity ^0.5.11; 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) { } function div(uint256 a, uint256 b) interna...
!(SELFDROP_ACTIVE||SALE_ACTIVE)&&BTU.balanceOf(address(this))==0,"Finalizing token sale: requirements not met"
331,209
!(SELFDROP_ACTIVE||SALE_ACTIVE)&&BTU.balanceOf(address(this))==0
"Position locked"
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable....
block.timestamp.sub(position.creationTimestamp)>=buyersLockupPeriod,"Position locked"
331,223
block.timestamp.sub(position.creationTimestamp)>=buyersLockupPeriod
"Funds are locked"
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable....
lastDepositTimestamp[msg.sender].add(lpsLockupPeriod)<=block.timestamp,"Funds are locked"
331,223
lastDepositTimestamp[msg.sender].add(lpsLockupPeriod)<=block.timestamp
"Collateral ratio broken"
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable....
emergencyWithdrawAllowed||getTokenBalance().sub(totalPositionUnitsAmount)>=_tokenAmount,"Collateral ratio broken"
331,223
emergencyWithdrawAllowed||getTokenBalance().sub(totalPositionUnitsAmount)>=_tokenAmount
"Recipient refuses locked tokens"
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable....
!revertLockedTransfered[to],"Recipient refuses locked tokens"
331,223
!revertLockedTransfered[to]
"Decimals must be 18"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "./interfaces/IGovernanceToken.sol"; import "../lib/openzeppelin-contracts/contracts/access/Ownable.sol"; /** * @title Delegator Contract * @author Cryptex.Finance * @notice Contract in charge of handling delegations. */ contract Delegator is Ownable { ...
IGovernanceToken(token_).decimals()==18,"Decimals must be 18"
331,243
IGovernanceToken(token_).decimals()==18
"Transfer failed"
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "./interfaces/IGovernanceToken.sol"; import "../lib/openzeppelin-contracts/contracts/access/Ownable.sol"; /** * @title Delegator Contract * @author Cryptex.Finance * @notice Contract in charge of handling delegations. */ contract Delegator is Ownable { ...
IGovernanceToken(token).transfer(staker_,amount_),"Transfer failed"
331,243
IGovernanceToken(token).transfer(staker_,amount_)
null
pragma solidity ^0.4.25; /** * @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 private _owner; event OwnershipTransferred( address indexed p...
(msg.value>=minDeposite)&&(msg.value<=maxDeposite)
331,256
(msg.value>=minDeposite)&&(msg.value<=maxDeposite)
"EW10: ETH sender isn't Etheria contract"
// Solidity 0.8.7-e28d00a7 optimization 200 (default) pragma solidity ^0.8.6; interface Etheria { function getOwner(uint8 col, uint8 row) external view returns(address); function getOfferers(uint8 col, uint8 row) external view returns (address[] memory); function getOffers(uint8 col, uint8 row) externa...
_msgSender()==_etheriaAddress,"EW10: ETH sender isn't Etheria contract"
331,307
_msgSender()==_etheriaAddress
"EW10: You must be the tile owner to start the wrapping process."
// Solidity 0.8.7-e28d00a7 optimization 200 (default) pragma solidity ^0.8.6; interface Etheria { function getOwner(uint8 col, uint8 row) external view returns(address); function getOfferers(uint8 col, uint8 row) external view returns (address[] memory); function getOffers(uint8 col, uint8 row) externa...
_etheria.getOwner(col,row)==msg.sender,"EW10: You must be the tile owner to start the wrapping process."
331,307
_etheria.getOwner(col,row)==msg.sender
"EW10: The offer/ers arrays for this tile must be empty. Reject all offers."
// Solidity 0.8.7-e28d00a7 optimization 200 (default) pragma solidity ^0.8.6; interface Etheria { function getOwner(uint8 col, uint8 row) external view returns(address); function getOfferers(uint8 col, uint8 row) external view returns (address[] memory); function getOffers(uint8 col, uint8 row) externa...
_etheria.getOffers(col,row).length==0,"EW10: The offer/ers arrays for this tile must be empty. Reject all offers."
331,307
_etheria.getOffers(col,row).length==0
"EW10: The offerer in position 0 should be this wrapper address."
// Solidity 0.8.7-e28d00a7 optimization 200 (default) pragma solidity ^0.8.6; interface Etheria { function getOwner(uint8 col, uint8 row) external view returns(address); function getOfferers(uint8 col, uint8 row) external view returns (address[] memory); function getOffers(uint8 col, uint8 row) externa...
_etheria.getOfferers(col,row)[0]==address(this),"EW10: The offerer in position 0 should be this wrapper address."
331,307
_etheria.getOfferers(col,row)[0]==address(this)
"EW10: The offer in position 0 should be 0.01 ETH."
// Solidity 0.8.7-e28d00a7 optimization 200 (default) pragma solidity ^0.8.6; interface Etheria { function getOwner(uint8 col, uint8 row) external view returns(address); function getOfferers(uint8 col, uint8 row) external view returns (address[] memory); function getOffers(uint8 col, uint8 row) externa...
_etheria.getOffers(col,row)[0]==10000000000000000,"EW10: The offer in position 0 should be 0.01 ETH."
331,307
_etheria.getOffers(col,row)[0]==10000000000000000
"EW10: You are not the wrapInitializer for this tile. Call makeOfferViaWrapper first."
// Solidity 0.8.7-e28d00a7 optimization 200 (default) pragma solidity ^0.8.6; interface Etheria { function getOwner(uint8 col, uint8 row) external view returns(address); function getOfferers(uint8 col, uint8 row) external view returns (address[] memory); function getOffers(uint8 col, uint8 row) externa...
wrapInitializers[_locationID]==msg.sender,"EW10: You are not the wrapInitializer for this tile. Call makeOfferViaWrapper first."
331,307
wrapInitializers[_locationID]==msg.sender
"EW10: Tile is not yet owned by this wrapper. Call etheria.acceptOffer to give the wrapper ownership, then finishWrap to complete."
// Solidity 0.8.7-e28d00a7 optimization 200 (default) pragma solidity ^0.8.6; interface Etheria { function getOwner(uint8 col, uint8 row) external view returns(address); function getOfferers(uint8 col, uint8 row) external view returns (address[] memory); function getOffers(uint8 col, uint8 row) externa...
_etheria.getOwner(col,row)==address(this),"EW10: Tile is not yet owned by this wrapper. Call etheria.acceptOffer to give the wrapper ownership, then finishWrap to complete."
331,307
_etheria.getOwner(col,row)==address(this)
"EW10: 721 was not created as it should have been. Reverting."
// Solidity 0.8.7-e28d00a7 optimization 200 (default) pragma solidity ^0.8.6; interface Etheria { function getOwner(uint8 col, uint8 row) external view returns(address); function getOfferers(uint8 col, uint8 row) external view returns (address[] memory); function getOffers(uint8 col, uint8 row) externa...
_exists(_locationID),"EW10: 721 was not created as it should have been. Reverting."
331,307
_exists(_locationID)
"EW10: wrapInitializer was not reset to 0. Reverting."
// Solidity 0.8.7-e28d00a7 optimization 200 (default) pragma solidity ^0.8.6; interface Etheria { function getOwner(uint8 col, uint8 row) external view returns(address); function getOfferers(uint8 col, uint8 row) external view returns (address[] memory); function getOffers(uint8 col, uint8 row) externa...
wrapInitializers[_locationID]==address(0),"EW10: wrapInitializer was not reset to 0. Reverting."
331,307
wrapInitializers[_locationID]==address(0)
"EW10: Offers array must be 1 less than before. It is not. Reverting."
// Solidity 0.8.7-e28d00a7 optimization 200 (default) pragma solidity ^0.8.6; interface Etheria { function getOwner(uint8 col, uint8 row) external view returns(address); function getOfferers(uint8 col, uint8 row) external view returns (address[] memory); function getOffers(uint8 col, uint8 row) externa...
_etheria.getOffers(col,row).length==(offersLength-1),"EW10: Offers array must be 1 less than before. It is not. Reverting."
331,307
_etheria.getOffers(col,row).length==(offersLength-1)