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.11; contract Challenge { address public owner; address public previous_owner; address public creator; bytes32 public flag_hash = 0xfa9b079005103147ac67299be9119fb4a47e29801f2d8d5025f36b248ce23695; function Challenge() public { } function withdraw() public { ...
keccak256(data)==flag_hash
317,409
keccak256(data)==flag_hash
"Purchase would exceed max supply of tokens"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract nftattoo is ERC721, Ownable { bool public isActive = true; uint16 private totalSuppl...
totalSupply_+pixels.length<=4774,"Purchase would exceed max supply of tokens"
317,420
totalSupply_+pixels.length<=4774
"Ether value sent is not correct"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract nftattoo is ERC721, Ownable { bool public isActive = true; uint16 private totalSuppl...
0.069ether*pixels.length<=msg.value,"Ether value sent is not correct"
317,420
0.069ether*pixels.length<=msg.value
"This pixel is not for sale!"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract nftattoo is ERC721, Ownable { bool public isActive = true; uint16 private totalSuppl...
pixels[i]!=forbiddenPixels[j],"This pixel is not for sale!"
317,420
pixels[i]!=forbiddenPixels[j]
null
pragma solidity 0.4.24; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) ...
!noPOSRewards[_address]
317,437
!noPOSRewards[_address]
"Too many HAYC"
pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed w...
totalPaidHAYC+_times<=totalCount,"Too many HAYC"
317,668
totalPaidHAYC+_times<=totalCount
"Too many HAYC"
pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed w...
totalFreeHAYC+_times<=totalCount,"Too many HAYC"
317,668
totalFreeHAYC+_times<=totalCount
"Mint amount will exceed total collection amount."
pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed w...
totalFreeHAYC+1<=totalCount,"Mint amount will exceed total collection amount."
317,668
totalFreeHAYC+1<=totalCount
"Signature verification failed"
pragma solidity ^0.8.0; contract Signed is Delegated{ using Strings for uint256; using ECDSA for bytes32; string private _secret; address private _signer; function setSecret( string calldata secret ) external onlyOwner{ } function setSigner( address signer ) external onlyOwner{ } function cr...
isAuthorizedSigner(extracted),"Signature verification failed"
317,708
isAuthorizedSigner(extracted)
"BlaaToken: Issued exceeds maximum supply"
pragma solidity ^0.5.0; import "./Ownable.sol"; import "./Math.sol"; import "./ERC20.sol"; import "./ERC20Detailed.sol"; import "./LockAmount.sol"; contract BlaaToken is ERC20, ERC20Detailed, LockAmount { using Math for uint256; uint256 private _maxSupply; constructor(string memory name, string memory symbo...
_totalSupply.add(amount)<=_maxSupply,"BlaaToken: Issued exceeds maximum supply"
317,741
_totalSupply.add(amount)<=_maxSupply
"BlaaToken: exceeded amount available"
pragma solidity ^0.5.0; import "./Ownable.sol"; import "./Math.sol"; import "./ERC20.sol"; import "./ERC20Detailed.sol"; import "./LockAmount.sol"; contract BlaaToken is ERC20, ERC20Detailed, LockAmount { using Math for uint256; uint256 private _maxSupply; constructor(string memory name, string memory symbo...
_balances[sender].sub(amount)>=lockedAmount,"BlaaToken: exceeded amount available"
317,741
_balances[sender].sub(amount)>=lockedAmount
"Early mint full"
//SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/...
totalSupply()<MAX_EARLY_SALE_SUPPLY,"Early mint full"
317,770
totalSupply()<MAX_EARLY_SALE_SUPPLY
'Already minted'
//SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/...
!didMintEarly[msg.sender],'Already minted'
317,770
!didMintEarly[msg.sender]
'Not on the list'
//SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/...
MerkleProof.verify(_merkleProof,freeSaleMerkleRoot,leaf),'Not on the list'
317,770
MerkleProof.verify(_merkleProof,freeSaleMerkleRoot,leaf)
"Can only mint 3"
//SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/...
allowListMintCount[msg.sender]+_amount<4,"Can only mint 3"
317,770
allowListMintCount[msg.sender]+_amount<4
"Wrong ETH amount"
//SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/...
price*_amount==msg.value,"Wrong ETH amount"
317,770
price*_amount==msg.value
'Not on the list'
//SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/...
MerkleProof.verify(_merkleProof,allowListMerkleRoot,leaf),'Not on the list'
317,770
MerkleProof.verify(_merkleProof,allowListMerkleRoot,leaf)
"Nonce already used"
//SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/...
!usedNonces[_nonce],"Nonce already used"
317,770
!usedNonces[_nonce]
"Invalid signature"
//SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/...
isValidSignature(keccak256(abi.encodePacked(msg.sender,_amount,_nonce)),_signature),"Invalid signature"
317,770
isValidSignature(keccak256(abi.encodePacked(msg.sender,_amount,_nonce)),_signature)
"Already minted our Cats"
//SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/...
!teamMintFinished,"Already minted our Cats"
317,770
!teamMintFinished
'Exceeds max supply'
//SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/...
totalSupply()+25<MAX_SUPPLY,'Exceeds max supply'
317,770
totalSupply()+25<MAX_SUPPLY
null
pragma solidity ^0.4.24; /** * @title Ownable */ contract Ownable { address public owner; struct Admins { mapping(address=>bool) isAdmin; } Admins internal admins; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed previousOwner, a...
admins.isAdmin[msg.sender]==true
317,836
admins.isAdmin[msg.sender]==true
null
pragma solidity ^0.4.17; 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...
(value==0)||(allowances[msg.sender][spender]==0)
317,838
(value==0)||(allowances[msg.sender][spender]==0)
null
pragma solidity ^0.4.0; contract owned { address public owner; function owned() payable { } modifier onlyOwner { } function changeOwner(address _owner) onlyOwner public { } } contract OsmiumCrowdsale is owned { uint256 public totalSupply; mapping (address => uint256) publ...
balanceOf[this]>0
317,859
balanceOf[this]>0
"Cannot mint above max supply"
/** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. ...
supply+_mintAmount<=maxSupply+privateMintAmount,"Cannot mint above max supply"
317,866
supply+_mintAmount<=maxSupply+privateMintAmount
"Cannot mint above 9999"
/** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. ...
supply+_mintAmount<=9999,"Cannot mint above 9999"
317,866
supply+_mintAmount<=9999
"Cannot mint more than the maximum per wallet"
/** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. ...
balanceOf(msg.sender)+_mintAmount<=maximumWalletHoldings,"Cannot mint more than the maximum per wallet"
317,866
balanceOf(msg.sender)+_mintAmount<=maximumWalletHoldings
null
pragma solidity ^0.4.16; contract owned { address public owner; function owned() public { } modifier onlyOwner { } function transferOwnership(address newOwner) onlyOwner public{ } } contract RLLToken is owned { ...
balanceOf[_from]-_value>=lockOf[_from]
317,917
balanceOf[_from]-_value>=lockOf[_from]
"You can only mint 8 per address."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "ERC721.sol"; import "IERC721.sol"; import "IERC20.sol"; import "Ownable.sol"; import "SafeMath.sol"; import "ECDSA.sol"; import "Counters.sol"; import "Strings.sol"; import "ReentrancyGuard.sol"; contract KAPC is ERC721, Ownable, ReentrancyGuard { usin...
totalAddressMintCount[msg.sender].add(_quantity)<=MAX_KAPC_PER_ADDRESS,"You can only mint 8 per address."
318,259
totalAddressMintCount[msg.sender].add(_quantity)<=MAX_KAPC_PER_ADDRESS
"You are allowed to mint 5 per address in the main sale."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "ERC721.sol"; import "IERC721.sol"; import "IERC20.sol"; import "Ownable.sol"; import "SafeMath.sol"; import "ECDSA.sol"; import "Counters.sol"; import "Strings.sol"; import "ReentrancyGuard.sol"; contract KAPC is ERC721, Ownable, ReentrancyGuard { usin...
mainsaleAddressMintCount[msg.sender].add(_quantity)<=MAX_KAPC_MAINSALE_CAP,"You are allowed to mint 5 per address in the main sale."
318,259
mainsaleAddressMintCount[msg.sender].add(_quantity)<=MAX_KAPC_MAINSALE_CAP
"This purchase would exceed max supply of KAPCs"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "ERC721.sol"; import "IERC721.sol"; import "IERC20.sol"; import "Ownable.sol"; import "SafeMath.sol"; import "ECDSA.sol"; import "Counters.sol"; import "Strings.sol"; import "ReentrancyGuard.sol"; contract KAPC is ERC721, Ownable, ReentrancyGuard { usin...
tokenSupply.current().add(_quantity)<=MAX_KAPC,"This purchase would exceed max supply of KAPCs"
318,259
tokenSupply.current().add(_quantity)<=MAX_KAPC
"Reserves have already been minted."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "ERC721.sol"; import "IERC721.sol"; import "IERC20.sol"; import "Ownable.sol"; import "SafeMath.sol"; import "ECDSA.sol"; import "Counters.sol"; import "Strings.sol"; import "ReentrancyGuard.sol"; contract KAPC is ERC721, Ownable, ReentrancyGuard { usin...
!reservesMinted,"Reserves have already been minted."
318,259
!reservesMinted
"This mint would exceed max supply of KAPCs"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "ERC721.sol"; import "IERC721.sol"; import "IERC20.sol"; import "Ownable.sol"; import "SafeMath.sol"; import "ECDSA.sol"; import "Counters.sol"; import "Strings.sol"; import "ReentrancyGuard.sol"; contract KAPC is ERC721, Ownable, ReentrancyGuard { usin...
tokenSupply.current().add(RESERVED_KAPC)<=MAX_KAPC,"This mint would exceed max supply of KAPCs"
318,259
tokenSupply.current().add(RESERVED_KAPC)<=MAX_KAPC
"Can't upgrade a token you don't own."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "ERC721.sol"; import "IERC721.sol"; import "IERC20.sol"; import "Ownable.sol"; import "SafeMath.sol"; import "ECDSA.sol"; import "Counters.sol"; import "Strings.sol"; import "ReentrancyGuard.sol"; contract KAPC is ERC721, Ownable, ReentrancyGuard { usin...
this.ownerOf(token)==msg.sender,"Can't upgrade a token you don't own."
318,259
this.ownerOf(token)==msg.sender
"Token fully upgraded"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "ERC721.sol"; import "IERC721.sol"; import "IERC20.sol"; import "Ownable.sol"; import "SafeMath.sol"; import "ECDSA.sol"; import "Counters.sol"; import "Strings.sol"; import "ReentrancyGuard.sol"; contract KAPC is ERC721, Ownable, ReentrancyGuard { usin...
this.upgradeLevel(token)<maximumUpgrade,"Token fully upgraded"
318,259
this.upgradeLevel(token)<maximumUpgrade
"Must send upgradePrice tokens to upgrade"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "ERC721.sol"; import "IERC721.sol"; import "IERC20.sol"; import "Ownable.sol"; import "SafeMath.sol"; import "ECDSA.sol"; import "Counters.sol"; import "Strings.sol"; import "ReentrancyGuard.sol"; contract KAPC is ERC721, Ownable, ReentrancyGuard { usin...
IERC20(upgradeToken).transferFrom(msg.sender,reservee,upgradePrice),"Must send upgradePrice tokens to upgrade"
318,259
IERC20(upgradeToken).transferFrom(msg.sender,reservee,upgradePrice)
null
pragma solidity ^0.4.24; contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); }...
uint64(block.timestamp)>head
318,318
uint64(block.timestamp)>head
"User not allowed to make transaction at this time"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.3; import "./util.sol"; contract KOMAINU is Context, IBEP20, Ownable { using SafeMath for uint256; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => bool) private _isExcludedFromF...
block.timestamp-_transactionCheckpoint[_msgSender()]>=_transactionLockTime||_isExcludedFromTransactionlock[_msgSender()],"User not allowed to make transaction at this time"
318,462
block.timestamp-_transactionCheckpoint[_msgSender()]>=_transactionLockTime||_isExcludedFromTransactionlock[_msgSender()]
"You are banned"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.3; import "./util.sol"; contract KOMAINU is Context, IBEP20, Ownable { using SafeMath for uint256; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => bool) private _isExcludedFromF...
_isBlacklisted[from]==false,"You are banned"
318,462
_isBlacklisted[from]==false
"The recipient is banned"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.3; import "./util.sol"; contract KOMAINU is Context, IBEP20, Ownable { using SafeMath for uint256; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => bool) private _isExcludedFromF...
_isBlacklisted[to]==false,"The recipient is banned"
318,462
_isBlacklisted[to]==false
null
pragma solidity ^0.4.25; /******************************************************************************* * * Copyright (c) 2019 Decentralization Authority MDAO. * Released under the MIT License. * * ZeroPriceIndex - Management system for maintaining the trade prices of * ERC tokens & coll...
_zer0netDb.getBool(keccak256(abi.encodePacked(msg.sender,'.has.auth.for.zero.price.index')))==true
318,506
_zer0netDb.getBool(keccak256(abi.encodePacked(msg.sender,'.has.auth.for.zero.price.index')))==true
null
pragma solidity ^0.4.11; /** * @title Crowdsale * @dev Crowdsale is a base contract for managing a token crowdsale. * Crowdsales have a start and end timestamps, where investors can make * token purchases and the crowdsale will assign them tokens based * on a token per ETH rate. Funds collected are forwarded...
tokenBalances[wallet]>=tokenAmount
318,530
tokenBalances[wallet]>=tokenAmount
null
pragma solidity ^0.4.25; library SafeMath { function mul(uint a, uint b) internal pure returns (uint) { } function div(uint a, uint b) internal pure returns (uint) { } function sub(uint a, uint b) internal pure returns (uint) { } function add(uint a, uint b) internal pure returns (uint) { } ...
_spender.call(abi.encodeWithSelector(bytes4(keccak256("receiveApproval(address,uint256,address,bytes)")),msg.sender,_value,this,_extraData))
318,548
_spender.call(abi.encodeWithSelector(bytes4(keccak256("receiveApproval(address,uint256,address,bytes)")),msg.sender,_value,this,_extraData))
null
pragma solidity ^0.4.25; library SafeMath { function mul(uint a, uint b) internal pure returns (uint) { } function div(uint a, uint b) internal pure returns (uint) { } function sub(uint a, uint b) internal pure returns (uint) { } function add(uint a, uint b) internal pure returns (uint) { } ...
balances[msg.sender]>=_burnValue
318,548
balances[msg.sender]>=_burnValue
null
contract InkPublicPresale is Ownable { using SafeMath for uint256; // Flag to indicate whether or not the presale is currently active or is paused. // This flag is used both before the presale is finalized as well as after. // Pausing the presale before finalize means that no further contributions can //...
!refundable
318,594
!refundable
null
contract InkPublicPresale is Ownable { using SafeMath for uint256; // Flag to indicate whether or not the presale is currently active or is paused. // This flag is used both before the presale is finalized as well as after. // Pausing the presale before finalize means that no further contributions can //...
!contributors[_account].whitelisted
318,594
!contributors[_account].whitelisted
null
contract InkPublicPresale is Ownable { using SafeMath for uint256; // Flag to indicate whether or not the presale is currently active or is paused. // This flag is used both before the presale is finalized as well as after. // Pausing the presale before finalize means that no further contributions can //...
contributors[_account].whitelisted
318,594
contributors[_account].whitelisted
null
contract InkPublicPresale is Ownable { using SafeMath for uint256; // Flag to indicate whether or not the presale is currently active or is paused. // This flag is used both before the presale is finalized as well as after. // Pausing the presale before finalize means that no further contributions can //...
contributors[msg.sender].whitelisted
318,594
contributors[msg.sender].whitelisted
null
contract InkPublicPresale is Ownable { using SafeMath for uint256; // Flag to indicate whether or not the presale is currently active or is paused. // This flag is used both before the presale is finalized as well as after. // Pausing the presale before finalize means that no further contributions can //...
contributors[msg.sender].balance.add(msg.value)>=globalMin
318,594
contributors[msg.sender].balance.add(msg.value)>=globalMin
"PitchSwap/overflow"
// Copyright (C) 2018 Rain <rainbreak@riseup.net> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. //...
int(wad)>=0,"PitchSwap/overflow"
318,617
int(wad)>=0
"PitchSwap/failed-transfer"
// Copyright (C) 2018 Rain <rainbreak@riseup.net> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. //...
pitch.transferFrom(msg.sender,address(this),wad),"PitchSwap/failed-transfer"
318,617
pitch.transferFrom(msg.sender,address(this),wad)
"PitchSwap/failed-transfer"
// Copyright (C) 2018 Rain <rainbreak@riseup.net> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. //...
pitch.transfer(usr,wad),"PitchSwap/failed-transfer"
318,617
pitch.transfer(usr,wad)
"TOKEN_DOES_NOT_EXIST"
pragma solidity ^0.5.0; contract DmmController is IPausable, Pausable, CommonConstants, IDmmController, Ownable { using SafeMath for uint; using SafeERC20 for IERC20; using Address for address; /******************************** * Events */ event InterestRateInterfaceChanged(address...
dmmTokenIdToDmmTokenAddressMap[dmmTokenId]!=address(0x0),"TOKEN_DOES_NOT_EXIST"
318,686
dmmTokenIdToDmmTokenAddressMap[dmmTokenId]!=address(0x0)
"TOKEN_ALREADY_EXISTS"
pragma solidity ^0.5.0; contract DmmController is IPausable, Pausable, CommonConstants, IDmmController, Ownable { using SafeMath for uint; using SafeERC20 for IERC20; using Address for address; /******************************** * Events */ event InterestRateInterfaceChanged(address...
underlyingTokenAddressToDmmTokenIdMap[underlyingToken]==0,"TOKEN_ALREADY_EXISTS"
318,686
underlyingTokenAddressToDmmTokenIdMap[underlyingToken]==0
"DMM_TOKEN_IS_NOT_CONTRACT"
pragma solidity ^0.5.0; contract DmmController is IPausable, Pausable, CommonConstants, IDmmController, Ownable { using SafeMath for uint; using SafeERC20 for IERC20; using Address for address; /******************************** * Events */ event InterestRateInterfaceChanged(address...
dmmToken.isContract(),"DMM_TOKEN_IS_NOT_CONTRACT"
318,686
dmmToken.isContract()
"UNDERLYING_TOKEN_IS_NOT_CONTRACT"
pragma solidity ^0.5.0; contract DmmController is IPausable, Pausable, CommonConstants, IDmmController, Ownable { using SafeMath for uint; using SafeERC20 for IERC20; using Address for address; /******************************** * Events */ event InterestRateInterfaceChanged(address...
underlyingToken.isContract(),"UNDERLYING_TOKEN_IS_NOT_CONTRACT"
318,686
underlyingToken.isContract()
"INVALID_DMM_TOKEN_OWNERSHIP"
pragma solidity ^0.5.0; contract DmmController is IPausable, Pausable, CommonConstants, IDmmController, Ownable { using SafeMath for uint; using SafeERC20 for IERC20; using Address for address; /******************************** * Events */ event InterestRateInterfaceChanged(address...
Ownable(dmmToken).owner()==address(this),"INVALID_DMM_TOKEN_OWNERSHIP"
318,686
Ownable(dmmToken).owner()==address(this)
"NEW_CONTROLLER_IS_NOT_CONTRACT"
pragma solidity ^0.5.0; contract DmmController is IPausable, Pausable, CommonConstants, IDmmController, Ownable { using SafeMath for uint; using SafeERC20 for IERC20; using Address for address; /******************************** * Events */ event InterestRateInterfaceChanged(address...
newController.isContract(),"NEW_CONTROLLER_IS_NOT_CONTRACT"
318,686
newController.isContract()
"MARKET_ALREADY_ENABLED"
pragma solidity ^0.5.0; contract DmmController is IPausable, Pausable, CommonConstants, IDmmController, Ownable { using SafeMath for uint; using SafeERC20 for IERC20; using Address for address; /******************************** * Events */ event InterestRateInterfaceChanged(address...
dmmTokenIdToIsDisabledMap[dmmTokenId],"MARKET_ALREADY_ENABLED"
318,686
dmmTokenIdToIsDisabledMap[dmmTokenId]
"MARKET_ALREADY_DISABLED"
pragma solidity ^0.5.0; contract DmmController is IPausable, Pausable, CommonConstants, IDmmController, Ownable { using SafeMath for uint; using SafeERC20 for IERC20; using Address for address; /******************************** * Events */ event InterestRateInterfaceChanged(address...
!dmmTokenIdToIsDisabledMap[dmmTokenId],"MARKET_ALREADY_DISABLED"
318,686
!dmmTokenIdToIsDisabledMap[dmmTokenId]
"INSUFFICIENT_COLLATERAL"
pragma solidity ^0.5.0; contract DmmController is IPausable, Pausable, CommonConstants, IDmmController, Ownable { using SafeMath for uint; using SafeERC20 for IERC20; using Address for address; /******************************** * Events */ event InterestRateInterfaceChanged(address...
getTotalCollateralization()>=minCollateralization,"INSUFFICIENT_COLLATERAL"
318,686
getTotalCollateralization()>=minCollateralization
null
/** * Edgeless Casino Proxy Contract. Serves as a proxy for game functionality. * Allows the players to deposit and withdraw funds. * Allows authorized addresses to make game transactions. * author: Julia Altenried **/ pragma solidity ^0.4.17; contract token { function transferFrom(address sender, address...
withdrawAfter[msg.sender]>0&&now>withdrawAfter[msg.sender]
318,733
withdrawAfter[msg.sender]>0&&now>withdrawAfter[msg.sender]
null
/** * Edgeless Casino Proxy Contract. Serves as a proxy for game functionality. * Allows the players to deposit and withdraw funds. * Allows authorized addresses to make game transactions. * author: Julia Altenried **/ pragma solidity ^0.4.17; contract token { function transferFrom(address sender, address...
authorizedByUser[player][msg.sender]
318,733
authorizedByUser[player][msg.sender]
null
/** * Edgeless Casino Proxy Contract. Serves as a proxy for game functionality. * Allows the players to deposit and withdraw funds. * Allows authorized addresses to make game transactions. * author: Julia Altenried **/ pragma solidity ^0.4.17; contract token { function transferFrom(address sender, address...
withdrawAfter[player]==0||now<withdrawAfter[player]
318,733
withdrawAfter[player]==0||now<withdrawAfter[player]
null
pragma solidity ^0.4.21; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } /// ERC20 contract interface With ERC23/ERC223 Extensions contract ERC20 { uint256 public totalSupply; // ERC223 and ERC20 functions and events func...
balances[owner]>0
318,766
balances[owner]>0
null
pragma solidity ^0.4.21; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } /// ERC20 contract interface With ERC23/ERC223 Extensions contract ERC20 { uint256 public totalSupply; // ERC223 and ERC20 functions and events func...
!SC_locked
318,766
!SC_locked
null
pragma solidity ^0.4.21; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } /// ERC20 contract interface With ERC23/ERC223 Extensions contract ERC20 { uint256 public totalSupply; // ERC223 and ERC20 functions and events func...
SmartContract_Allowed[_to]
318,766
SmartContract_Allowed[_to]
"Transit: Insufficient balance of C8"
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.5.16; contract C8BridgeToBSC is Ownable { using SafeMath for uint; struct TxInfo { address from; address to; uint256 amount; } uint private _lockedC8; uint private _feeAmount; address payable private _feeReceiver; address p...
C8.balanceOf(msg.sender)>=_amount,"Transit: Insufficient balance of C8"
318,851
C8.balanceOf(msg.sender)>=_amount
"Deliver: Duplicated hash"
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.5.16; contract C8BridgeToBSC is Ownable { using SafeMath for uint; struct TxInfo { address from; address to; uint256 amount; } uint private _lockedC8; uint private _feeAmount; address payable private _feeReceiver; address p...
depositTxHash[_txHash]==false,"Deliver: Duplicated hash"
318,851
depositTxHash[_txHash]==false
"Deliver: Insufficient balance of C8"
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.5.16; contract C8BridgeToBSC is Ownable { using SafeMath for uint; struct TxInfo { address from; address to; uint256 amount; } uint private _lockedC8; uint private _feeAmount; address payable private _feeReceiver; address p...
C8.balanceOf(address(this))>=_amount,"Deliver: Insufficient balance of C8"
318,851
C8.balanceOf(address(this))>=_amount
"Claim NFT is not open please try again later"
pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721...
(freeClaim==true),"Claim NFT is not open please try again later"
318,869
(freeClaim==true)
"You have claimed allowd NFTs for this account"
pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721...
balanceOf(msg.sender)<nft.balanceOf(msg.sender),"You have claimed allowd NFTs for this account"
318,869
balanceOf(msg.sender)<nft.balanceOf(msg.sender)
"All allowed NFTs claimed"
pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721...
totalSupply()+nft.balanceOf(msg.sender)<=(FREECLAIM_RESERVED),"All allowed NFTs claimed"
318,869
totalSupply()+nft.balanceOf(msg.sender)<=(FREECLAIM_RESERVED)
"Sale is not open please try again later"
pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721...
(saleOpen==true),"Sale is not open please try again later"
318,869
(saleOpen==true)
"You have reached maximum NFT minting limit per account"
pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721...
balanceOf(msg.sender)<MAX_ALLOWED,"You have reached maximum NFT minting limit per account"
318,869
balanceOf(msg.sender)<MAX_ALLOWED
"All NFTs sold"
pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721...
totalSupply()+_count<=(MAX_SUPPLY),"All NFTs sold"
318,869
totalSupply()+_count<=(MAX_SUPPLY)
"Airdrop minting will exceed maximum supply"
pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721...
totalSupply()+_recipients.length<=MAX_SUPPLY,"Airdrop minting will exceed maximum supply"
318,869
totalSupply()+_recipients.length<=MAX_SUPPLY
"old token transfer exception"
pragma solidity 0.4.25; /** * @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 of...
oldContract.transferFrom(msg.sender,this,_amount),"old token transfer exception"
318,899
oldContract.transferFrom(msg.sender,this,_amount)
"code can't be empty"
pragma solidity 0.4.25; /** * @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 of...
_code!="","code can't be empty"
318,899
_code!=""
"code is already used"
pragma solidity 0.4.25; /** * @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 of...
referralCodeOwners(_code)==address(0),"code is already used"
318,899
referralCodeOwners(_code)==address(0)
"another code is already set"
pragma solidity 0.4.25; /** * @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 of...
userReferralCodes(msg.sender)=="","another code is already set"
318,899
userReferralCodes(msg.sender)==""
"no referral with this code"
pragma solidity 0.4.25; /** * @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 of...
referralCodeOwners(_code)!=address(0),"no referral with this code"
318,899
referralCodeOwners(_code)!=address(0)
"referral is already set"
pragma solidity 0.4.25; /** * @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 of...
referrals(msg.sender)==address(0),"referral is already set"
318,899
referrals(msg.sender)==address(0)
"Day mining deposit exceeded"
pragma solidity 0.4.25; /** * @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 of...
getCurrentDayDeposited().add(_amount)<=DAY_MINING_DEPOSIT_LIMIT,"Day mining deposit exceeded"
318,899
getCurrentDayDeposited().add(_amount)<=DAY_MINING_DEPOSIT_LIMIT
"Total mining deposit exceeded"
pragma solidity 0.4.25; /** * @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 of...
miningTotalDeposited.add(_amount)<=TOTAL_MINING_DEPOSIT_LIMIT,"Total mining deposit exceeded"
318,899
miningTotalDeposited.add(_amount)<=TOTAL_MINING_DEPOSIT_LIMIT
"not enough mining tokens"
pragma solidity 0.4.25; /** * @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 of...
miningBalances[msg.sender]>=_amount,"not enough mining tokens"
318,899
miningBalances[msg.sender]>=_amount
null
pragma solidity ^0.4.24; 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...
addresses[j]!=0x0&&frozenAccount[addresses[j]]==false&&now>unlockUnixTime[addresses[j]]
319,008
addresses[j]!=0x0&&frozenAccount[addresses[j]]==false&&now>unlockUnixTime[addresses[j]]
null
pragma solidity ^0.4.24; 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...
amounts[j]>0&&addresses[j]!=0x0&&frozenAccount[addresses[j]]==false&&now>unlockUnixTime[addresses[j]]
319,008
amounts[j]>0&&addresses[j]!=0x0&&frozenAccount[addresses[j]]==false&&now>unlockUnixTime[addresses[j]]
null
pragma solidity ^0.4.24; 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...
balanceOf[addresses[j]]>=amounts[j]
319,008
balanceOf[addresses[j]]>=amounts[j]
null
pragma solidity ^0.4.15; contract BTCRelay { function getLastBlockHeight() public returns (int); function getBlockchainHead() public returns (int); function getFeeAmount(int blockHash) public returns (int); function getBlockHeader(int blockHash) public returns (bytes32[5]); function storeBlock...
needsInitialization()
319,009
needsInitialization()
null
pragma solidity ^0.4.15; contract BTCRelay { function getLastBlockHeight() public returns (int); function getBlockchainHead() public returns (int); function getFeeAmount(int blockHash) public returns (int); function getBlockHeader(int blockHash) public returns (bytes32[5]); function storeBlock...
_numTickets*_ticketPrice>_jackpot
319,009
_numTickets*_ticketPrice>_jackpot
null
pragma solidity ^0.4.15; contract BTCRelay { function getLastBlockHeight() public returns (int); function getBlockchainHead() public returns (int); function getFeeAmount(int blockHash) public returns (int); function getBlockHeader(int blockHash) public returns (bytes32[5]); function storeBlock...
needsBlockFinalization()
319,009
needsBlockFinalization()
null
pragma solidity ^0.4.15; contract BTCRelay { function getLastBlockHeight() public returns (int); function getBlockchainHead() public returns (int); function getFeeAmount(int blockHash) public returns (int); function getBlockHeader(int blockHash) public returns (bytes32[5]); function storeBlock...
needsLotteryFinalization()
319,009
needsLotteryFinalization()
null
pragma solidity ^0.4.15; contract BTCRelay { function getLastBlockHeight() public returns (int); function getBlockchainHead() public returns (int); function getFeeAmount(int blockHash) public returns (int); function getBlockHeader(int blockHash) public returns (bytes32[5]); function storeBlock...
lotteries[_id].winner!=0
319,009
lotteries[_id].winner!=0
null
pragma solidity ^0.4.15; contract BTCRelay { function getLastBlockHeight() public returns (int); function getBlockchainHead() public returns (int); function getFeeAmount(int blockHash) public returns (int); function getBlockHeader(int blockHash) public returns (bytes32[5]); function storeBlock...
lotteries[_id].winner==msg.sender
319,009
lotteries[_id].winner==msg.sender
null
pragma solidity ^0.4.15; contract BTCRelay { function getLastBlockHeight() public returns (int); function getBlockchainHead() public returns (int); function getFeeAmount(int blockHash) public returns (int); function getBlockHeader(int blockHash) public returns (bytes32[5]); function storeBlock...
getMessageLength(_message)<=500
319,009
getMessageLength(_message)<=500
null
pragma solidity ^0.4.15; contract BTCRelay { function getLastBlockHeight() public returns (int); function getBlockchainHead() public returns (int); function getFeeAmount(int blockHash) public returns (int); function getBlockHeader(int blockHash) public returns (bytes32[5]); function storeBlock...
_offset+_n<=lotteries[_id].numTickets
319,009
_offset+_n<=lotteries[_id].numTickets
"ETH amount is incorrect"
pragma solidity >=0.7.0 <0.9.0; contract GodjiraMFers is ERC721A, Ownable { using SafeMath for uint256; using Strings for uint256; uint256 public constant MAX_PER_MINT = 20; address public constant w1 = 0x8031eF52D8693cABa9025CBdCF08d2257E42b63D; address public constant w2 = 0xCfc7913A97BafD6d...
price*tokens<=msg.value,"ETH amount is incorrect"
319,072
price*tokens<=msg.value
"Submitting prices is currently disabled"
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | *...
rocketDAOProtocolSettingsNetwork.getSubmitPricesEnabled(),"Submitting prices is currently disabled"
319,175
rocketDAOProtocolSettingsNetwork.getSubmitPricesEnabled()
"Duplicate submission from node"
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | *...
!getBool(nodeSubmissionKey),"Duplicate submission from node"
319,175
!getBool(nodeSubmissionKey)