comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"block already stored"
/*********************************************************** * This file is part of the Slock.it IoT Layer. * * The Slock.it IoT Layer contains: * * - USN (Universal Sharing Network) * * - INCUBED (Trustless INcentivized remote Node Network) * ***************...
blockhashMapping[_blockNumber]==0x0,"block already stored"
11,984
blockhashMapping[_blockNumber]==0x0
"invalid offset"
/*********************************************************** * This file is part of the Slock.it IoT Layer. * * The Slock.it IoT Layer contains: * * - USN (Universal Sharing Network) * * - INCUBED (Trustless INcentivized remote Node Network) * ***************...
_offset+len<=_data.length,"invalid offset"
11,984
_offset+len<=_data.length
"invalid length"
/*********************************************************** * This file is part of the Slock.it IoT Layer. * * The Slock.it IoT Layer contains: * * - USN (Universal Sharing Network) * * - INCUBED (Trustless INcentivized remote Node Network) * ***************...
offset+32<_blockheader.length,"invalid length"
11,984
offset+32<_blockheader.length
null
pragma solidity ^0.4.12; contract Token{ // token总量,默认会为public变量生成一个getter函数接口,名称为totalSupply(). uint256 public totalSupply; /// 获取账户_owner拥有token的数量 function balanceOf(address _owner) constant returns (uint256 balance); //从消息发送者账户中往_to账户转数量为_value的token function transfer(address _to, ui...
frozenTime[_from]<=now
12,043
frozenTime[_from]<=now
"Not enough mints remaining to mint"
//SPDX-License-Identifier: MIT //Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) pragma solidity ^0.8.0; contract EllaOrtenDAO is ERC721A, IERC2981, Ownable, ReentrancyGuard { using Counters for Counters.Counter; using Strings for u...
totalSupply()+numberOfTokens<=maxSupply,"Not enough mints remaining to mint"
12,052
totalSupply()+numberOfTokens<=maxSupply
"Not enough free mints remain"
//SPDX-License-Identifier: MIT //Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) pragma solidity ^0.8.0; contract EllaOrtenDAO is ERC721A, IERC2981, Ownable, ReentrancyGuard { using Counters for Counters.Counter; using Strings for u...
totalSupply()<=NUM_FREE_MINTS,"Not enough free mints remain"
12,052
totalSupply()<=NUM_FREE_MINTS
"Incorrect ETH value sent"
//SPDX-License-Identifier: MIT //Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) pragma solidity ^0.8.0; contract EllaOrtenDAO is ERC721A, IERC2981, Ownable, ReentrancyGuard { using Counters for Counters.Counter; using Strings for u...
(price*numberOfTokens)==msg.value,"Incorrect ETH value sent"
12,052
(price*numberOfTokens)==msg.value
"TokenController: An amount of tokens is already locked"
/* Copyright (C) 2020 NexusMutual.io This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in th...
_tokensLocked(_of,_reason)==0,"TokenController: An amount of tokens is already locked"
12,175
_tokensLocked(_of,_reason)==0
"TokenController: Tokens can be locked for 180 days maximum"
/* Copyright (C) 2020 NexusMutual.io This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in th...
validity.add(_time).sub(block.timestamp)<=180days,"TokenController: Tokens can be locked for 180 days maximum"
12,175
validity.add(_time).sub(block.timestamp)<=180days
"TokenController: No tokens locked"
/* Copyright (C) 2020 NexusMutual.io This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in th...
_tokensLocked(msg.sender,"CLA")>0,"TokenController: No tokens locked"
12,175
_tokensLocked(msg.sender,"CLA")>0
"TokenController: No tokens locked"
/* Copyright (C) 2020 NexusMutual.io This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in th...
_tokensLocked(_of,_reason)>0,"TokenController: No tokens locked"
12,175
_tokensLocked(_of,_reason)>0
"TokenController: Bad reason index"
/* Copyright (C) 2020 NexusMutual.io This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in th...
lockReason[_of][_reasonIndex]==_reason,"TokenController: Bad reason index"
12,175
lockReason[_of][_reasonIndex]==_reason
"TokenController: bad reason index"
/* Copyright (C) 2020 NexusMutual.io This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in th...
lockReason[_of][_index]==_reason,"TokenController: bad reason index"
12,175
lockReason[_of][_index]==_reason
"TokenController: reason amount is not zero"
/* Copyright (C) 2020 NexusMutual.io This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in th...
locked[_of][_reason].amount==0,"TokenController: reason amount is not zero"
12,175
locked[_of][_reason].amount==0
null
pragma solidity >=0.4.22 <0.6.0; interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); function totalS...
(_value==0)||(allowance[msg.sender][_spender]==0)
12,200
(_value==0)||(allowance[msg.sender][_spender]==0)
"Free token already claimed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract NFT is ERC721Enumerable, Ownable { using Strings for uint256; uint256 public constant COST_ONE = 0.1 ether; uin...
_claimed[msg.sender]==0,"Free token already claimed"
12,327
_claimed[msg.sender]==0
"All tokens minted"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract NFT is ERC721Enumerable, Ownable { using Strings for uint256; uint256 public constant COST_ONE = 0.1 ether; uin...
totalSupply()<MAX_SUPPLY,"All tokens minted"
12,327
totalSupply()<MAX_SUPPLY
"All tokens minted"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract NFT is ERC721Enumerable, Ownable { using Strings for uint256; uint256 public constant COST_ONE = 0.1 ether; uin...
totalSupply()<MAX_SUPPLY+1,"All tokens minted"
12,327
totalSupply()<MAX_SUPPLY+1
"Exceeds private supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract NFT is ERC721Enumerable, Ownable { using Strings for uint256; uint256 public constant COST_ONE = 0.1 ether; uin...
totalPrivateSupply+num<MAX_PRIVATE_SUPPLY+1,"Exceeds private supply"
12,327
totalPrivateSupply+num<MAX_PRIVATE_SUPPLY+1
"Can't remove the null address"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract NFT is ERC721Enumerable, Ownable { using Strings for uint256; uint256 public constant COST_ONE = 0.1 ether; uin...
addresses[i]!=address(0),"Can't remove the null address"
12,327
addresses[i]!=address(0)
"Set Base URI before activating"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract NFT is ERC721Enumerable, Ownable { using Strings for uint256; uint256 public constant COST_ONE = 0.1 ether; uin...
bytes(_baseTokenURI).length!=0,"Set Base URI before activating"
12,327
bytes(_baseTokenURI).length!=0
"You are not on the Whitelist"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract NFT is ERC721Enumerable, Ownable { using Strings for uint256; uint256 public constant COST_ONE = 0.1 ether; uin...
_whitelist[msg.sender],"You are not on the Whitelist"
12,327
_whitelist[msg.sender]
"Whitelist tokens already claimed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract NFT is ERC721Enumerable, Ownable { using Strings for uint256; uint256 public constant COST_ONE = 0.1 ether; uin...
_whitelistClaimed[msg.sender]+num<whitelistMaxMint+1,"Whitelist tokens already claimed"
12,327
_whitelistClaimed[msg.sender]+num<whitelistMaxMint+1
"ETH amount is not correct"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract NFT is ERC721Enumerable, Ownable { using Strings for uint256; uint256 public constant COST_ONE = 0.1 ether; uin...
whitelistCost*num<=msg.value,"ETH amount is not correct"
12,327
whitelistCost*num<=msg.value
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract NFT is ERC721Enumerable, Ownable { using Strings for uint256; uint256 public constant COST_ONE = 0.1 ether; uin...
payable(ADDRESS_1).send(split)
12,327
payable(ADDRESS_1).send(split)
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract NFT is ERC721Enumerable, Ownable { using Strings for uint256; uint256 public constant COST_ONE = 0.1 ether; uin...
payable(ADDRESS_2).send(split)
12,327
payable(ADDRESS_2).send(split)
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract NFT is ERC721Enumerable, Ownable { using Strings for uint256; uint256 public constant COST_ONE = 0.1 ether; uin...
payable(ADDRESS_3).send(operating)
12,327
payable(ADDRESS_3).send(operating)
"Ethereum value sent is not correct"
// Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) // SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contr...
hillbillyPrice.mul(_mintAmount)<=msg.value,"Ethereum value sent is not correct"
12,355
hillbillyPrice.mul(_mintAmount)<=msg.value
"Not enough Hillbillies for request"
// Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) // SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contr...
supply.add(_mintAmount)<=maxSupply,"Not enough Hillbillies for request"
12,355
supply.add(_mintAmount)<=maxSupply
"No more Hillbillies :("
// Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) // SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contr...
userMintedCount+_mintAmount<=standardPerAddressLimit,"No more Hillbillies :("
12,355
userMintedCount+_mintAmount<=standardPerAddressLimit
"You are not whitelisted, please wait for public minting"
// Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) // SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contr...
MerkleProof.verify(_merkleProof,merkleRoot,leaf),"You are not whitelisted, please wait for public minting"
12,355
MerkleProof.verify(_merkleProof,merkleRoot,leaf)
"Exceeded 2 Hillbillies per whitelisted address"
// Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) // SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contr...
whitelistedMintedCount+_mintAmount<=whitelistedPerAddressLimit,"Exceeded 2 Hillbillies per whitelisted address"
12,355
whitelistedMintedCount+_mintAmount<=whitelistedPerAddressLimit
"Not enough Hillbillies for request"
// Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) // SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contr...
supply.add(_amount)<=maxSupply,"Not enough Hillbillies for request"
12,355
supply.add(_amount)<=maxSupply
null
pragma solidity 0.5.12; 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...
wallets[msg.sender].freezedAmount==0&&wallets[msg.sender].tokensAmount>=_amount&&_amount>0
12,359
wallets[msg.sender].freezedAmount==0&&wallets[msg.sender].tokensAmount>=_amount&&_amount>0
null
pragma solidity 0.5.12; 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...
wallets[msg.sender].freezedAmount>0&&now>=wallets[msg.sender].unfreezeDate
12,359
wallets[msg.sender].freezedAmount>0&&now>=wallets[msg.sender].unfreezeDate
null
pragma solidity 0.5.12; 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...
freezeAllowance(msg.sender)
12,359
freezeAllowance(msg.sender)
null
pragma solidity 0.5.12; 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...
checkIfCanUseTokens(owner,value)&&wallets[owner].tokensAmount>=value
12,359
checkIfCanUseTokens(owner,value)&&wallets[owner].tokensAmount>=value
"Mint would exceed max supply of NFT"
pragma solidity ^0.7.0; /** * @title contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation * @dev copy from bayc */ contract SpaceOutStation is ERC721, Ownable { using SafeMath for uint256; uint public constant maxNFTPurchase = 10; bool public saleIsActive = false; ...
totalSupply().add(numberOfTokens)<=maxSupply,"Mint would exceed max supply of NFT"
12,401
totalSupply().add(numberOfTokens)<=maxSupply
'SuniswapRouter: INSUFFICIENT_OUTPUT_AMOUNT'
pragma solidity =0.6.12; contract SuniswapRouter02 is ISuniswapRouter02 { using SafeMathSuniswap for uint; address public immutable override factory; address public immutable override WETH; modifier ensure(uint deadline) { } constructor(address _factory, address _WETH) public { } ...
amounts[amounts.length-1]>=amountOutMin,'SuniswapRouter: INSUFFICIENT_OUTPUT_AMOUNT'
12,432
amounts[amounts.length-1]>=amountOutMin
'SuniswapRouter: EXCESSIVE_INPUT_AMOUNT'
pragma solidity =0.6.12; contract SuniswapRouter02 is ISuniswapRouter02 { using SafeMathSuniswap for uint; address public immutable override factory; address public immutable override WETH; modifier ensure(uint deadline) { } constructor(address _factory, address _WETH) public { } ...
amounts[0]<=amountInMax,'SuniswapRouter: EXCESSIVE_INPUT_AMOUNT'
12,432
amounts[0]<=amountInMax
'SuniswapRouter: INVALID_PATH'
pragma solidity =0.6.12; contract SuniswapRouter02 is ISuniswapRouter02 { using SafeMathSuniswap for uint; address public immutable override factory; address public immutable override WETH; modifier ensure(uint deadline) { } constructor(address _factory, address _WETH) public { } ...
path[0]==WETH,'SuniswapRouter: INVALID_PATH'
12,432
path[0]==WETH
'SuniswapRouter: INVALID_PATH'
pragma solidity =0.6.12; contract SuniswapRouter02 is ISuniswapRouter02 { using SafeMathSuniswap for uint; address public immutable override factory; address public immutable override WETH; modifier ensure(uint deadline) { } constructor(address _factory, address _WETH) public { } ...
path[path.length-1]==WETH,'SuniswapRouter: INVALID_PATH'
12,432
path[path.length-1]==WETH
'SuniswapRouter: EXCESSIVE_INPUT_AMOUNT'
pragma solidity =0.6.12; contract SuniswapRouter02 is ISuniswapRouter02 { using SafeMathSuniswap for uint; address public immutable override factory; address public immutable override WETH; modifier ensure(uint deadline) { } constructor(address _factory, address _WETH) public { } ...
amounts[0]<=msg.value,'SuniswapRouter: EXCESSIVE_INPUT_AMOUNT'
12,432
amounts[0]<=msg.value
'SuniswapRouter: INSUFFICIENT_OUTPUT_AMOUNT'
pragma solidity =0.6.12; contract SuniswapRouter02 is ISuniswapRouter02 { using SafeMathSuniswap for uint; address public immutable override factory; address public immutable override WETH; modifier ensure(uint deadline) { } constructor(address _factory, address _WETH) public { } ...
IERC20Uniswap(path[path.length-1]).balanceOf(to).sub(balanceBefore)>=amountOutMin,'SuniswapRouter: INSUFFICIENT_OUTPUT_AMOUNT'
12,432
IERC20Uniswap(path[path.length-1]).balanceOf(to).sub(balanceBefore)>=amountOutMin
"migrate: no migrator"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/utils/EnumerableSet.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/acces...
address(migrator)!=address(0),"migrate: no migrator"
12,462
address(migrator)!=address(0)
'ETH_AMOUNT is higher than balance'
/** *Submitted for verification at Etherscan.io on 2020-10-27 */ pragma solidity ^0.6.6; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external retur...
address(this).balance>=config_eth_amount,'ETH_AMOUNT is higher than balance'
12,470
address(this).balance>=config_eth_amount
"Tokens cannot be transferred from user account"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.6; // ---------------------------------------------------------------------------- // CocktailBar Stake COCETH to earn MOJITO // Enter our universe : cocktailbar.finance // // Come join the disscussion: https://t.me/cocktailbar_discussion // // ...
COC(stakeTokenAdd).transferFrom(msg.sender,address(this),tokens),"Tokens cannot be transferred from user account"
12,500
COC(stakeTokenAdd).transferFrom(msg.sender,address(this),tokens)
"Invalid token amount to withdraw"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.6; // ---------------------------------------------------------------------------- // CocktailBar Stake COCETH to earn MOJITO // Enter our universe : cocktailbar.finance // // Come join the disscussion: https://t.me/cocktailbar_discussion // // ...
stakers[msg.sender].stakedAmount>=tokens&&tokens>0,"Invalid token amount to withdraw"
12,500
stakers[msg.sender].stakedAmount>=tokens&&tokens>0
"Error in un-staking tokens"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.6; // ---------------------------------------------------------------------------- // CocktailBar Stake COCETH to earn MOJITO // Enter our universe : cocktailbar.finance // // Come join the disscussion: https://t.me/cocktailbar_discussion // // ...
COC(stakeTokenAdd).transfer(msg.sender,tokens.sub(_unstakingFee)),"Error in un-staking tokens"
12,500
COC(stakeTokenAdd).transfer(msg.sender,tokens.sub(_unstakingFee))
"you need to stake some coins"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.6; // ---------------------------------------------------------------------------- // CocktailBar Stake COCETH to earn MOJITO // Enter our universe : cocktailbar.finance // // Come join the disscussion: https://t.me/cocktailbar_discussion // // ...
stakers[msg.sender].stakedAmount>0,"you need to stake some coins"
12,500
stakers[msg.sender].stakedAmount>0
"ERROR: error in sending reward from contract"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.6; // ---------------------------------------------------------------------------- // CocktailBar Stake COCETH to earn MOJITO // Enter our universe : cocktailbar.finance // // Come join the disscussion: https://t.me/cocktailbar_discussion // // ...
MOJITO(rewardToken).transfer(msg.sender,rewardToGive),"ERROR: error in sending reward from contract"
12,500
MOJITO(rewardToken).transfer(msg.sender,rewardToGive)
"It is not an existing administrator wallet, and it must not be the owner wallet of the token."
pragma solidity 0.4.25; 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 va...
admin[newAdmin]!=true&&owner!=newAdmin,"It is not an existing administrator wallet, and it must not be the owner wallet of the token."
12,529
admin[newAdmin]!=true&&owner!=newAdmin
"This is an existing admin wallet, it must not be a token holder wallet."
pragma solidity 0.4.25; 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 va...
admin[Admin]!=false&&owner!=Admin,"This is an existing admin wallet, it must not be a token holder wallet."
12,529
admin[Admin]!=false&&owner!=Admin
"An error occurred in the calculation process"
pragma solidity 0.4.25; 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 va...
c*b==a,"An error occurred in the calculation process"
12,529
c*b==a
"The number to be processed is more than the total amount and the number currently frozen."
pragma solidity 0.4.25; 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 va...
freezeOf[msg.sender]>=_value,"The number to be processed is more than the total amount and the number currently frozen."
12,529
freezeOf[msg.sender]>=_value
"Attempting to send more than the locked number"
pragma solidity 0.4.25; 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 va...
balances[msg.sender].sub(_value)>=locker[msg.sender],"Attempting to send more than the locked number"
12,529
balances[msg.sender].sub(_value)>=locker[msg.sender]
"Attempting to send more than the locked number"
pragma solidity 0.4.25; 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 va...
balances[_from].sub(_value)>=locker[_from],"Attempting to send more than the locked number"
12,529
balances[_from].sub(_value)>=locker[_from]
'Please check the address'
pragma solidity 0.4.25; 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 va...
_recipients[i]!=address(0),'Please check the address'
12,529
_recipients[i]!=address(0)
"ERC1155: balance query for nonexistent token"
pragma solidity ^0.6.0; /** * @title Standard ERC1155 token * * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 */ contract ERC1155 is ERC165, IERC1155 { using SafeMath for uin...
_exists(id),"ERC1155: balance query for nonexistent token"
12,557
_exists(id)
"ERC1155: some token in batch balance query does not exist"
pragma solidity ^0.6.0; /** * @title Standard ERC1155 token * * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 */ contract ERC1155 is ERC165, IERC1155 { using SafeMath for uin...
_exists(ids[i]),"ERC1155: some token in batch balance query does not exist"
12,557
_exists(ids[i])
"ERC1155: got unknown value from onERC1155Received"
pragma solidity ^0.6.0; /** * @title Standard ERC1155 token * * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 */ contract ERC1155 is ERC165, IERC1155 { using SafeMath for uin...
IERC1155Receiver(to).onERC1155Received(operator,from,id,value,data)==IERC1155Receiver(to).onERC1155Received.selector,"ERC1155: got unknown value from onERC1155Received"
12,557
IERC1155Receiver(to).onERC1155Received(operator,from,id,value,data)==IERC1155Receiver(to).onERC1155Received.selector
"ERC1155: got unknown value from onERC1155BatchReceived"
pragma solidity ^0.6.0; /** * @title Standard ERC1155 token * * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 */ contract ERC1155 is ERC165, IERC1155 { using SafeMath for uin...
IERC1155Receiver(to).onERC1155BatchReceived(operator,from,ids,values,data)==IERC1155Receiver(to).onERC1155BatchReceived.selector,"ERC1155: got unknown value from onERC1155BatchReceived"
12,557
IERC1155Receiver(to).onERC1155BatchReceived(operator,from,ids,values,data)==IERC1155Receiver(to).onERC1155BatchReceived.selector
null
// https://www.howeycoins.com/index.html // // Participate in the ICO by sending ETH to this contract. 1 ETH = 10 HOW // // // DON'T MISS THIS EXCLUSIVE OPPORTUNITY TO PARTICIPATE IN // HOWEYCOINS TRAVEL NETWORK NOW! // // // Combining the two most growth-oriented segments of the digital economy – // blockch...
_transfer(_dests[i],_amounts[i])
12,625
_transfer(_dests[i],_amounts[i])
null
pragma solidity ^0.5.8; contract ERC20_Coin{ string public name;//名称 string public symbol;//缩写 uint8 public decimals = 18;//精确的小数位数 uint256 public totalSupply;//总发行量 address internal admin;//管理员 mapping (address => uint256) public balanceOf;//客户群体 bool public isAct = true;//合约活动标记 ...
balanceOf[msg.sender]>=_total
12,658
balanceOf[msg.sender]>=_total
"AaveRewardToken: aave address provider cannot be zero address"
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "./interfaces/AaveInterfaces.sol"; import "../ContinuousRewardToken.sol"; /** * @title AaveRewardToken contract * @notice ERC20 token which wraps underly...
address(_aaveAddressProvider)!=address(0),"AaveRewardToken: aave address provider cannot be zero address"
12,675
address(_aaveAddressProvider)!=address(0)
"Token is already staked"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol"; import "./EggToken.sol"; import "./DenOfDragons.sol"; contract StakingOfDragons is ERC721Holder { address public developer; address public stakingContract = address(this); mapping(ad...
!isStaked[_nftId],"Token is already staked"
12,788
!isStaked[_nftId]
"Token is not staked"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol"; import "./EggToken.sol"; import "./DenOfDragons.sol"; contract StakingOfDragons is ERC721Holder { address public developer; address public stakingContract = address(this); mapping(ad...
isStaked[_nftId],"Token is not staked"
12,788
isStaked[_nftId]
"You dont own this NFT"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol"; import "./EggToken.sol"; import "./DenOfDragons.sol"; contract StakingOfDragons is ERC721Holder { address public developer; address public stakingContract = address(this); mapping(ad...
originalOwner[_nftId]==msg.sender,"You dont own this NFT"
12,788
originalOwner[_nftId]==msg.sender
"Token is already staked"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol"; import "./EggToken.sol"; import "./DenOfDragons.sol"; contract StakingOfDragons is ERC721Holder { address public developer; address public stakingContract = address(this); mapping(ad...
isStaked[_tokenId]==false,"Token is already staked"
12,788
isStaked[_tokenId]==false
"Token is not staked"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol"; import "./EggToken.sol"; import "./DenOfDragons.sol"; contract StakingOfDragons is ERC721Holder { address public developer; address public stakingContract = address(this); mapping(ad...
isStaked[_tokenId]==true,"Token is not staked"
12,788
isStaked[_tokenId]==true
"Token locked"
pragma solidity 0.5.5; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ 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, ui...
!_lockToken,"Token locked"
12,954
!_lockToken
"Sender address is locked"
pragma solidity 0.5.5; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ 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, ui...
!locked[msg.sender],"Sender address is locked"
12,954
!locked[msg.sender]
"From address is locked"
pragma solidity 0.5.5; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ 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, ui...
!locked[_from],"From address is locked"
12,954
!locked[_from]
"ERC20Pausable: token transfer while paused"
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./ERC20.sol"; import "../utils/Pausable.sol"; import "hardhat/console.sol"; /** * @dev ERC20 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, o...
!paused()||whitelist[from]==true,"ERC20Pausable: token transfer while paused"
13,005
!paused()||whitelist[from]==true
null
pragma solidity 0.5.4; import 'SafeMath.sol'; import 'Ownable.sol'; import 'IERC20.sol'; contract ZildFinanceCoin is Ownable, IERC20 { using SafeMath for uint256; string public constant name = 'Zild Finance Coin'; string public constant symbol = 'Zild'; uint8 public constant decimals = 18; ...
!frozenAccount[to]
13,039
!frozenAccount[to]
"ZildFinanceCoin: exceeded the maximum allowable burning amount"
pragma solidity 0.5.4; import 'SafeMath.sol'; import 'Ownable.sol'; import 'IERC20.sol'; contract ZildFinanceCoin is Ownable, IERC20 { using SafeMath for uint256; string public constant name = 'Zild Finance Coin'; string public constant symbol = 'Zild'; uint8 public constant decimals = 18; ...
tokenDestroyed.add(_burntAmount)<=allowBurn,"ZildFinanceCoin: exceeded the maximum allowable burning amount"
13,039
tokenDestroyed.add(_burntAmount)<=allowBurn
null
pragma solidity 0.5.4; import 'SafeMath.sol'; import 'Ownable.sol'; import 'IERC20.sol'; contract ZildFinanceCoin is Ownable, IERC20 { using SafeMath for uint256; string public constant name = 'Zild Finance Coin'; string public constant symbol = 'Zild'; uint8 public constant decimals = 18; ...
_balances[msg.sender]>=_burntAmount&&_burntAmount>0
13,039
_balances[msg.sender]>=_burntAmount&&_burntAmount>0
null
pragma solidity 0.5.4; import 'SafeMath.sol'; import 'Ownable.sol'; import 'IERC20.sol'; contract ZildFinanceCoin is Ownable, IERC20 { using SafeMath for uint256; string public constant name = 'Zild Finance Coin'; string public constant symbol = 'Zild'; uint8 public constant decimals = 18; ...
!frozenAccount[from]
13,039
!frozenAccount[from]
"ZildFinanceCoin: minter has been initialized"
pragma solidity 0.5.4; import 'SafeMath.sol'; import 'Ownable.sol'; import 'IERC20.sol'; contract ZildFinanceCoin is Ownable, IERC20 { using SafeMath for uint256; string public constant name = 'Zild Finance Coin'; string public constant symbol = 'Zild'; uint8 public constant decimals = 18; ...
_balances[minter]==0,"ZildFinanceCoin: minter has been initialized"
13,039
_balances[minter]==0
"ZildFinanceCoin: furnace has been initialized"
pragma solidity 0.5.4; import 'SafeMath.sol'; import 'Ownable.sol'; import 'IERC20.sol'; contract ZildFinanceCoin is Ownable, IERC20 { using SafeMath for uint256; string public constant name = 'Zild Finance Coin'; string public constant symbol = 'Zild'; uint8 public constant decimals = 18; ...
_balances[furnace]==0,"ZildFinanceCoin: furnace has been initialized"
13,039
_balances[furnace]==0
null
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 o...
address(msg.sender)==owner
13,040
address(msg.sender)==owner
null
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 o...
!launch
13,040
!launch
null
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 o...
foundersWithdrawTokens.add(tokens)<=viewFoundersTokens().mul(10**decimals)
13,040
foundersWithdrawTokens.add(tokens)<=viewFoundersTokens().mul(10**decimals)
null
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 o...
partnersWithdrawTokens.add(tokens)<=viewPartnersTokens().mul(10**decimals)
13,040
partnersWithdrawTokens.add(tokens)<=viewPartnersTokens().mul(10**decimals)
"ERR: Uniswap only"
//RRR (RRR) //2% Deflationary yes //Bot Protect yes // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { function totalSupply() external view returns (uint256); functio...
_msgSender()==address(uniswapV2Router)||_msgSender()==uniswapV2Pair,"ERR: Uniswap only"
13,043
_msgSender()==address(uniswapV2Router)||_msgSender()==uniswapV2Pair
null
//RRR (RRR) //2% Deflationary yes //Bot Protect yes // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { function totalSupply() external view returns (uint256); functio...
_msgSender()==_teamAddress
13,043
_msgSender()==_teamAddress
null
pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ 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, ...
msg.sender.send(this.balance)
13,059
msg.sender.send(this.balance)
null
pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ 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, ...
bidStates[_bidId]==_state
13,059
bidStates[_bidId]==_state
null
pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ 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, ...
_amount<=(balances[_advertiser]-onBids[_advertiser])
13,059
_amount<=(balances[_advertiser]-onBids[_advertiser])
null
pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ 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, ...
bidStates[bidId]==BidState.DoesNotExist
13,059
bidStates[bidId]==BidState.DoesNotExist
null
pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ 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, ...
didSign(_advertiser,bidId,v,r,s,sigMode)
13,059
didSign(_advertiser,bidId,v,r,s,sigMode)
null
pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ 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, ...
didSign(msg.sender,bidId,v,r,s,sigMode)
13,059
didSign(msg.sender,bidId,v,r,s,sigMode)
null
pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ 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, ...
token.transferFrom(msg.sender,address(this),_amount)
13,059
token.transferFrom(msg.sender,address(this),_amount)
null
pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ 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, ...
token.transfer(msg.sender,_amount)
13,059
token.transfer(msg.sender,_amount)
null
// SPDX-License-Identifier: BUSL-1.1 pragma solidity >=0.5.0; import './BitMath.sol'; /// @title Packed tick initialized state library /// @notice Stores a packed mapping of tick index to its initialized state /// @dev The mapping uses int16 for keys since ticks are represented as int24 and there are 256 (2^8) values p...
tick%tickSpacing==0
13,065
tick%tickSpacing==0
null
pragma solidity ^0.4.25; interface IToken { function name() external view returns(string); function symbol() external view returns(string); function decimals() external view returns(uint8); function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uin...
isPauser(msg.sender)
13,111
isPauser(msg.sender)
"Max supply exceeded!"
pragma solidity >=0.7.0 <0.9.0; contract GenieDoodles is ERC721, Ownable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private supply; string public uriPrefix = "ipfs://QmZf74BMoE4Mrs2tYBoJFeBm34YKRShmKKNaS9W6Z1LMMU/"; string public uriSuffix = ".json"; string pub...
supply.current()+_mintAmount<=maxSupply,"Max supply exceeded!"
13,221
supply.current()+_mintAmount<=maxSupply
"Initializable: contract is already initialized"
pragma solidity ^0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initi...
_initializing||!_initialized,"Initializable: contract is already initialized"
13,225
_initializing||!_initialized
'add: lpToken already added'
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; interface IVestable { function vest(address _receiver, uint256 _amount) external; } in...
!activeLpTokens[address(_lpToken)],'add: lpToken already added'
13,250
!activeLpTokens[address(_lpToken)]
"Not a spendable token"
pragma solidity ^0.6.0; /* ▓█████▄ ▓█████ ████ ▒██▓ ▓█████ ▄████▄ ▄▄▄█████▓ ██▓███ ▒█████ ▒█████ ██▓ ▒██▀ ██▌▓█ ▀ ▓██ ▒▓██▒ ▓█ ▀ ▒██▀ ▀█ ▓ ██▒ ▓▒ ▓██░ ██▒▒██▒ ██▒▒██▒ ██▒ ▓██▒ ░██ █▌▒███ ▒████ ░▒██░ ▒███ ▒▓█ ▄ ██░ ▒ ▓██░ ██▓▒▒██ ██▒▒██░ ██▒ ▒██░ ░▓█▄...
deflector.isSpendableTokenInContract(address(this),_token),"Not a spendable token"
13,309
deflector.isSpendableTokenInContract(address(this),_token)