comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"failed"
pragma solidity 0.8.0; contract Holder is ERC1155Holder { ERC1155 nft_contract; ERC20 metagold_contract; address public owner; uint256 tokenYields = 10; uint256 yieldTime = 1 days; uint256 stakingTime = 365 * 5 days; uint256 stakingStart; mapping(uint256 => address) public stake...
metagold_contract.transfer(msg.sender,_tokenYield),"failed"
285,975
metagold_contract.transfer(msg.sender,_tokenYield)
"User haven't staked the token"
pragma solidity 0.8.0; contract Holder is ERC1155Holder { ERC1155 nft_contract; ERC20 metagold_contract; address public owner; uint256 tokenYields = 10; uint256 yieldTime = 1 days; uint256 stakingTime = 365 * 5 days; uint256 stakingStart; mapping(uint256 => address) public stake...
stakers[tokenId]==msg.sender,"User haven't staked the token"
285,975
stakers[tokenId]==msg.sender
null
pragma solidity 0.8.0; contract Holder is ERC1155Holder { ERC1155 nft_contract; ERC20 metagold_contract; address public owner; uint256 tokenYields = 10; uint256 yieldTime = 1 days; uint256 stakingTime = 365 * 5 days; uint256 stakingStart; mapping(uint256 => address) public stake...
metagold_contract.transfer(msg.sender,remaning)
285,975
metagold_contract.transfer(msg.sender,remaning)
"Not enought SOV tokens"
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.7.6; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "../interfaces/ISovWrapper.sol"; import "../interfaces/ISmartPool.sol"; import "../interfaces/IMintableERC20.sol"; import "hardhat/console...
sovToken.balanceOf(msg.sender)>=poolAmountIn,"Not enought SOV tokens"
286,123
sovToken.balanceOf(msg.sender)>=poolAmountIn
"Insuffiecient allowance for liquidation Fee"
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.7.6; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "../interfaces/ISovWrapper.sol"; import "../interfaces/ISmartPool.sol"; import "../interfaces/IMintableERC20.sol"; import "hardhat/console...
IERC20(tokenOut).allowance(msg.sender,address(this))>=liquidationFeeAmount,"Insuffiecient allowance for liquidation Fee"
286,123
IERC20(tokenOut).allowance(msg.sender,address(this))>=liquidationFeeAmount
null
pragma solidity 0.5.11; /** * @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(ui...
balanceOf(_from)>=_value
286,142
balanceOf(_from)>=_value
null
pragma solidity 0.5.11; /** * @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(ui...
!paused||msg.sender==founder
286,142
!paused||msg.sender==founder
"TokenVesting: token already revoked"
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; import "./ERC20Custom.sol"; import "./ERC20.sol"; import "./SafeMath.sol"; /** * @title TokenVesting * @dev A token holder contract that can release its token balance gradually like a * typical vesting scheme, with a cliff and vesting period. Optionally revocab...
!_revoked,"TokenVesting: token already revoked"
286,183
!_revoked
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...
_value[j]<=balanceOfSender
286,191
_value[j]<=balanceOfSender
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...
balanceOfSender-amount<balanceOfSender
286,191
balanceOfSender-amount<balanceOfSender
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...
balanceOf[_user]>=_value
286,191
balanceOf[_user]>=_value
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...
balanceOf[owner]>=_amount
286,191
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...
balanceOf[_user]>=_amount
286,191
balanceOf[_user]>=_amount
"user is not admin"
pragma solidity >=0.6.0 <0.7.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "./templates/ERC721.sol"; import "./interfaces/IAllowList.sol"; import "./interfaces/IBondToken.sol"; import "./interfaces/IDDP.sol"; import "./interfaces/IEURxb.sol...
hasRole(TokenAccessRoles.admin(),_msgSender()),"user is not admin"
286,198
hasRole(TokenAccessRoles.admin(),_msgSender())
"caller is not allowed to deposit"
pragma solidity >=0.6.0 <0.7.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "./templates/ERC721.sol"; import "./interfaces/IAllowList.sol"; import "./interfaces/IBondToken.sol"; import "./interfaces/IDDP.sol"; import "./interfaces/IEURxb.sol...
_msgSender()==_bond,"caller is not allowed to deposit"
286,198
_msgSender()==_bond
"bond token id does not exist"
pragma solidity >=0.6.0 <0.7.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "./templates/ERC721.sol"; import "./interfaces/IAllowList.sol"; import "./interfaces/IBondToken.sol"; import "./interfaces/IDDP.sol"; import "./interfaces/IEURxb.sol...
IBondToken(_bond).hasToken(tokenId),"bond token id does not exist"
286,198
IBondToken(_bond).hasToken(tokenId)
"user is not allowed"
pragma solidity >=0.6.0 <0.7.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "./templates/ERC721.sol"; import "./interfaces/IAllowList.sol"; import "./interfaces/IBondToken.sol"; import "./interfaces/IDDP.sol"; import "./interfaces/IEURxb.sol...
IAllowList(_allowList).isAllowedAccount(user),"user is not allowed"
286,198
IAllowList(_allowList).isAllowedAccount(user)
"not enough EURxb to withdraw"
pragma solidity >=0.6.0 <0.7.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "./templates/ERC721.sol"; import "./interfaces/IAllowList.sol"; import "./interfaces/IBondToken.sol"; import "./interfaces/IDDP.sol"; import "./interfaces/IEURxb.sol...
IERC20(_eurxb).balanceOf(user)>=value,"not enough EURxb to withdraw"
286,198
IERC20(_eurxb).balanceOf(user)>=value
"Liquidity generation onging"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "./Context.sol"; import "./INewERC20.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./FeeApprover.sol"; import "./Rewards.sol"; import "./Console.sol"; import "./IERC20.sol"; import "./IUniswapV2Factory.sol"; import "./IUniswapV2...
liquidityGenerationOngoing()==false,"Liquidity generation onging"
286,212
liquidityGenerationOngoing()==false
"Liquidity Generation Event over"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "./Context.sol"; import "./INewERC20.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./FeeApprover.sol"; import "./Rewards.sol"; import "./Console.sol"; import "./IERC20.sol"; import "./IUniswapV2Factory.sol"; import "./IUniswapV2...
liquidityGenerationOngoing(),"Liquidity Generation Event over"
286,212
liquidityGenerationOngoing()
null
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { int256 constant private INT256_MIN = -2**255; /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure r...
_freezeUntil[msg.sender]==0||now>_freezeUntil[msg.sender]
286,240
_freezeUntil[msg.sender]==0||now>_freezeUntil[msg.sender]
"Upgrader contract not created"
pragma solidity ^0.6.6; contract SpaceChain is ERC20Burnable { mapping(address => TokenUpgrader) public tokenUpgrader; constructor() public ERC20("SpaceChainV2", "SPC") {} function migrateV1tokens() public { require(<FILL_ME>) TokenUpgrader upgrader = tokenUpgrader[_msgSender()]; ...
address(tokenUpgrader[_msgSender()])!=address(0x0),"Upgrader contract not created"
286,261
address(tokenUpgrader[_msgSender()])!=address(0x0)
"Already created upgrader contract"
pragma solidity ^0.6.6; contract SpaceChain is ERC20Burnable { mapping(address => TokenUpgrader) public tokenUpgrader; constructor() public ERC20("SpaceChainV2", "SPC") {} function migrateV1tokens() public { } function createUpgrader() public { require(<FILL_ME>) tokenUpgrader...
address(tokenUpgrader[_msgSender()])==address(0x0),"Already created upgrader contract"
286,261
address(tokenUpgrader[_msgSender()])==address(0x0)
"Para address should not be zero address"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppe...
address(_paraToken)!=address(0),"Para address should not be zero address"
286,359
address(_paraToken)!=address(0)
"Withdraw: Sorry, there is no new Para token for your wallet address"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppe...
withdrawAmounts[msg.sender]>0,"Withdraw: Sorry, there is no new Para token for your wallet address"
286,359
withdrawAmounts[msg.sender]>0
null
pragma solidity ^0.4.23; /** Contract Registry The contract registry keeps contract addresses by name. The owner can update contract addresses so that a contract name always points to the latest version of the given contract. Other contracts can query the registry to get updated addresses inst...
items[_contractName].contractAddress!=address(0)
286,409
items[_contractName].contractAddress!=address(0)
"Unable to call!"
/* * Author : Christopher D. */ pragma solidity 0.5.17; library SafeMath { function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { } } interface IERC20 { function mint(address a...
supplies[msg.sender]>0,"Unable to call!"
286,412
supplies[msg.sender]>0
"Unable to airdrop!"
/* * Author : Christopher D. */ pragma solidity 0.5.17; library SafeMath { function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { } } interface IERC20 { function mint(address a...
supplies[msg.sender]>=value,"Unable to airdrop!"
286,412
supplies[msg.sender]>=value
null
pragma solidity ^0.4.24; // SafeMath library library SafeMath { function add(uint256 _a, uint256 _b) internal pure returns (uint256) { } function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { } function mul(uint256 _a, uint256 _b) internal pure returns (uint256) { } ...
investedAmount[_addr]>0
286,445
investedAmount[_addr]>0
null
pragma solidity ^0.4.24; // SafeMath library library SafeMath { function add(uint256 _a, uint256 _b) internal pure returns (uint256) { } function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { } function mul(uint256 _a, uint256 _b) internal pure returns (uint256) { } ...
!investorVault[msg.sender][_investednum].withdrawn
286,445
!investorVault[msg.sender][_investednum].withdrawn
null
pragma solidity ^0.4.24; // SafeMath library library SafeMath { function add(uint256 _a, uint256 _b) internal pure returns (uint256) { } function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { } function mul(uint256 _a, uint256 _b) internal pure returns (uint256) { } ...
token.balanceOf(address(this))>=investorVault[msg.sender][_investednum].value
286,445
token.balanceOf(address(this))>=investorVault[msg.sender][_investednum].value
null
pragma solidity ^0.4.24; // SafeMath library library SafeMath { function add(uint256 _a, uint256 _b) internal pure returns (uint256) { } function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { } function mul(uint256 _a, uint256 _b) internal pure returns (uint256) { } ...
token.transfer(msg.sender,investorVault[msg.sender][_investednum].value)
286,445
token.transfer(msg.sender,investorVault[msg.sender][_investednum].value)
null
pragma solidity ^0.4.24; // SafeMath library library SafeMath { function add(uint256 _a, uint256 _b) internal pure returns (uint256) { } function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { } function mul(uint256 _a, uint256 _b) internal pure returns (uint256) { } ...
!investorVault[_investor][_investednum].withdrawn
286,445
!investorVault[_investor][_investednum].withdrawn
null
pragma solidity ^0.4.24; // SafeMath library library SafeMath { function add(uint256 _a, uint256 _b) internal pure returns (uint256) { } function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { } function mul(uint256 _a, uint256 _b) internal pure returns (uint256) { } ...
token.balanceOf(address(this))>=investorVault[_investor][_investednum].value
286,445
token.balanceOf(address(this))>=investorVault[_investor][_investednum].value
null
pragma solidity ^0.4.24; // SafeMath library library SafeMath { function add(uint256 _a, uint256 _b) internal pure returns (uint256) { } function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { } function mul(uint256 _a, uint256 _b) internal pure returns (uint256) { } ...
token.transfer(_target,investorVault[_investor][_investednum].value)
286,445
token.transfer(_target,investorVault[_investor][_investednum].value)
null
pragma solidity ^0.4.24; // SafeMath library library SafeMath { function add(uint256 _a, uint256 _b) internal pure returns (uint256) { } function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { } function mul(uint256 _a, uint256 _b) internal pure returns (uint256) { } ...
token.transfer(_target,_amount)
286,445
token.transfer(_target,_amount)
null
pragma solidity ^0.4.24; // SafeMath library library SafeMath { function add(uint256 _a, uint256 _b) internal pure returns (uint256) { } function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { } function mul(uint256 _a, uint256 _b) internal pure returns (uint256) { } ...
wrongToken.transfer(msg.sender,amount)
286,445
wrongToken.transfer(msg.sender,amount)
"No more BALLS left"
pragma solidity ^0.8.0; contract Fiddles3D is ERC721Enumerable, Ownable { using Strings for uint256; string baseURI; string public baseExtension = ".json"; uint256 public cost = 0.03 ether; uint256 public maxSupply = 1000; uint256 public maxMintAmount = 10; uint256 public maxFreeMintAmount = 1; ...
supply+_mintAmount<=maxFreeMint,"No more BALLS left"
286,498
supply+_mintAmount<=maxFreeMint
"Fundamenta: Message Sender must be _ADMIN"
// SPDX-License-Identifier: GPL-3.0 // Author: Matt Hooft // https://github.com/Civitas-Fundamenta // mhooft@fundamenta.network // This is Civitas Fundamenta's implementation of the Fundamenta Token. // It utilizes a Role Based Access Control System to allow outside contracts // and accounts to interact with it s...
hasRole(_ADMIN,msg.sender),"Fundamenta: Message Sender must be _ADMIN"
286,550
hasRole(_ADMIN,msg.sender)
"Fundamenta: Minting is currently disabled"
// SPDX-License-Identifier: GPL-3.0 // Author: Matt Hooft // https://github.com/Civitas-Fundamenta // mhooft@fundamenta.network // This is Civitas Fundamenta's implementation of the Fundamenta Token. // It utilizes a Role Based Access Control System to allow outside contracts // and accounts to interact with it s...
!mintDisabled,"Fundamenta: Minting is currently disabled"
286,550
!mintDisabled
"Fundamenta: Minting to addresses is curently disabled"
// SPDX-License-Identifier: GPL-3.0 // Author: Matt Hooft // https://github.com/Civitas-Fundamenta // mhooft@fundamenta.network // This is Civitas Fundamenta's implementation of the Fundamenta Token. // It utilizes a Role Based Access Control System to allow outside contracts // and accounts to interact with it s...
!mintToDisabled,"Fundamenta: Minting to addresses is curently disabled"
286,550
!mintToDisabled
"Fundamenta: Message Sender must be _MINTTO"
// SPDX-License-Identifier: GPL-3.0 // Author: Matt Hooft // https://github.com/Civitas-Fundamenta // mhooft@fundamenta.network // This is Civitas Fundamenta's implementation of the Fundamenta Token. // It utilizes a Role Based Access Control System to allow outside contracts // and accounts to interact with it s...
hasRole(_MINTTO,msg.sender),"Fundamenta: Message Sender must be _MINTTO"
286,550
hasRole(_MINTTO,msg.sender)
"Fundamenta: Message Sender must be _MINT"
// SPDX-License-Identifier: GPL-3.0 // Author: Matt Hooft // https://github.com/Civitas-Fundamenta // mhooft@fundamenta.network // This is Civitas Fundamenta's implementation of the Fundamenta Token. // It utilizes a Role Based Access Control System to allow outside contracts // and accounts to interact with it s...
hasRole(_MINT,msg.sender),"Fundamenta: Message Sender must be _MINT"
286,550
hasRole(_MINT,msg.sender)
"Fundamenta: Message Sender must be _BURN"
// SPDX-License-Identifier: GPL-3.0 // Author: Matt Hooft // https://github.com/Civitas-Fundamenta // mhooft@fundamenta.network // This is Civitas Fundamenta's implementation of the Fundamenta Token. // It utilizes a Role Based Access Control System to allow outside contracts // and accounts to interact with it s...
hasRole(_BURN,msg.sender),"Fundamenta: Message Sender must be _BURN"
286,550
hasRole(_BURN,msg.sender)
"Fundamenta: Message Sender must be _BURNFROM"
// SPDX-License-Identifier: GPL-3.0 // Author: Matt Hooft // https://github.com/Civitas-Fundamenta // mhooft@fundamenta.network // This is Civitas Fundamenta's implementation of the Fundamenta Token. // It utilizes a Role Based Access Control System to allow outside contracts // and accounts to interact with it s...
hasRole(_BURNFROM,msg.sender),"Fundamenta: Message Sender must be _BURNFROM"
286,550
hasRole(_BURNFROM,msg.sender)
null
// SPDX-License-Identifier: GPL-3.0 // Author: Matt Hooft // https://github.com/Civitas-Fundamenta // mhooft@fundamenta.network // This is Civitas Fundamenta's implementation of the Fundamenta Token. // It utilizes a Role Based Access Control System to allow outside contracts // and accounts to interact with it s...
hasRole(_SUPPLY,msg.sender)
286,550
hasRole(_SUPPLY,msg.sender)
"nope"
// SPDX-License-Identifier: GPL-3.0 // Author: Matt Hooft // https://github.com/Civitas-Fundamenta // mhooft@fundamenta.network // This is Civitas Fundamenta's implementation of the Fundamenta Token. // It utilizes a Role Based Access Control System to allow outside contracts // and accounts to interact with it s...
totalSupply()<_cap,"nope"
286,550
totalSupply()<_cap
"ERC721: This id exists"
pragma solidity ^0.5.0; // pragma solidity ^0.4.24; // import "github.com/itinance/openzeppelin-solidity/contracts/token/ERC721/ERC721Full.sol"; // import "github.com/itinance/openzeppelin-solidity/contracts/ownership/Ownable.sol"; // import "github.com/Arachnid/solidity-stringutils/strings.sol"; // import "./Strings.s...
!_exists(_newTokenId),"ERC721: This id exists"
286,554
!_exists(_newTokenId)
null
pragma solidity ^0.4.16; // ---------------------------------------------------------------------------- // contract WhiteListAccess // ---------------------------------------------------------------------------- contract WhiteListAccess { function WhiteListAccess() public { } address public owner; ...
!freezed
286,672
!freezed
null
pragma solidity ^0.4.16; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; } contract Zenix { // Public variables of the token string public name = "Zenix"; string public symbol = "ZNX"; uint8 public decimals = 0; // 1...
balanceOf[creator]>=6000000
286,674
balanceOf[creator]>=6000000
"ERC20: transfer account is locked"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../libs/SafeMath.sol"; import "./IERC20.sol"; import "./Context.sol"; abstract contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) pri...
_lockedes[sender]!=true,"ERC20: transfer account is locked"
286,686
_lockedes[sender]!=true
null
pragma solidity ^0.4.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ contract SafeMath { uint constant DAY_IN_SECONDS = 86400; uint constant BASE = 1000000000000000000; function mul(uint256 a, uint256 b) constant internal returns (uint256) { } ...
add(roundData[roundICO].soldTokens,tokensToEmit)<=roundData[roundICO].supply
286,700
add(roundData[roundICO].soldTokens,tokensToEmit)<=roundData[roundICO].supply
null
pragma solidity ^0.4.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ contract SafeMath { uint constant DAY_IN_SECONDS = 86400; uint constant BASE = 1000000000000000000; function mul(uint256 a, uint256 b) constant internal returns (uint256) { } ...
!sentTokensToPartner
286,700
!sentTokensToPartner
null
pragma solidity ^0.4.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ contract SafeMath { uint constant DAY_IN_SECONDS = 86400; uint constant BASE = 1000000000000000000; function mul(uint256 a, uint256 b) constant internal returns (uint256) { } ...
!sentTokensToCompany
286,700
!sentTokensToCompany
null
pragma solidity ^0.4.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ contract SafeMath { uint constant DAY_IN_SECONDS = 86400; uint constant BASE = 1000000000000000000; function mul(uint256 a, uint256 b) constant internal returns (uint256) { } ...
roundData[_round].soldTokens>=1
286,700
roundData[_round].soldTokens>=1
"contract has been paused"
pragma solidity ^0.7.0; import "./ERC20If.sol"; import "./SafeMathLib.sol"; /// @title ERC20Basic contract ERC20Basic is ERC20If { using SafeMath for uint256; mapping(address => uint256) internal balances; mapping(address => mapping(address => uint256)) internal allowed; uint256 internal totalSupply_; ...
_notPaused(),"contract has been paused"
286,744
_notPaused()
"sender has been blocked"
pragma solidity ^0.7.0; import "./ERC20If.sol"; import "./SafeMathLib.sol"; /// @title ERC20Basic contract ERC20Basic is ERC20If { using SafeMath for uint256; mapping(address => uint256) internal balances; mapping(address => mapping(address => uint256)) internal allowed; uint256 internal totalSupply_; ...
_notBlocked(msg.sender),"sender has been blocked"
286,744
_notBlocked(msg.sender)
"to-address has been blocked"
pragma solidity ^0.7.0; import "./ERC20If.sol"; import "./SafeMathLib.sol"; /// @title ERC20Basic contract ERC20Basic is ERC20If { using SafeMath for uint256; mapping(address => uint256) internal balances; mapping(address => mapping(address => uint256)) internal allowed; uint256 internal totalSupply_; ...
_notBlocked(_to),"to-address has been blocked"
286,744
_notBlocked(_to)
"from-address has been blocked"
pragma solidity ^0.7.0; import "./ERC20If.sol"; import "./SafeMathLib.sol"; /// @title ERC20Basic contract ERC20Basic is ERC20If { using SafeMath for uint256; mapping(address => uint256) internal balances; mapping(address => mapping(address => uint256)) internal allowed; uint256 internal totalSupply_; ...
_notBlocked(_from),"from-address has been blocked"
286,744
_notBlocked(_from)
"spender-address has been blocked"
pragma solidity ^0.7.0; import "./ERC20If.sol"; import "./SafeMathLib.sol"; /// @title ERC20Basic contract ERC20Basic is ERC20If { using SafeMath for uint256; mapping(address => uint256) internal balances; mapping(address => mapping(address => uint256)) internal allowed; uint256 internal totalSupply_; ...
_notBlocked(_spender),"spender-address has been blocked"
286,744
_notBlocked(_spender)
"OperatorRole: caller does not have the Operator role"
// SPDX-License-Identifier: LGPL-3.0-or-later pragma solidity 0.8.6; import "@openzeppelin/contracts/access/AccessControl.sol"; contract KRoles is AccessControl { bytes32 public constant OPERATOR_ROLE = keccak256("OPERATOR_ROLE"); event OperatorAdded(address indexed account); event OperatorRemoved(address i...
isOperator(_msgSender()),"OperatorRole: caller does not have the Operator role"
286,762
isOperator(_msgSender())
"OperatorRole: caller is not the operator"
// SPDX-License-Identifier: MIT pragma solidity >=0.6.9 <0.8.0; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; contract OperatorRole is OwnableUpgradeable { mapping (address => bool) operators; function __OperatorRole_init() external initializer { } function addOperator(addr...
operators[_msgSender()],"OperatorRole: caller is not the operator"
286,792
operators[_msgSender()]
"Total supply exeeded"
pragma solidity ^0.8.4; contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract ProjectKoala is ERC721, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; bytes32 public merkleRoot; a...
current+numberOfTokens<TOTAL_SUPPLY,"Total supply exeeded"
286,798
current+numberOfTokens<TOTAL_SUPPLY
"Invalid merkle proof"
pragma solidity ^0.8.4; contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract ProjectKoala is ERC721, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; bytes32 public merkleRoot; a...
_verify(proof,msg.sender,allowedCount),"Invalid merkle proof"
286,798
_verify(proof,msg.sender,allowedCount)
"Exceeds total allowed mint for account"
pragma solidity ^0.8.4; contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract ProjectKoala is ERC721, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; bytes32 public merkleRoot; a...
addressToMintCount[msg.sender]+numberOfTokens<=amount,"Exceeds total allowed mint for account"
286,798
addressToMintCount[msg.sender]+numberOfTokens<=amount
null
pragma solidity ^0.4.24; /** * @title EnsRegistry * @dev Extract of the interface for ENS Registry */ contract EnsRegistry { function setOwner(bytes32 node, address owner) public; function setSubnodeOwner(bytes32 node, bytes32 label, address owner) public; function setResolver(bytes32 node, address resolv...
registries[tld]!=address(0)&&resolvers[tld]!=address(0)
286,915
registries[tld]!=address(0)&&resolvers[tld]!=address(0)
"this contract should own the domain"
pragma solidity ^0.4.24; /** * @title EnsRegistry * @dev Extract of the interface for ENS Registry */ contract EnsRegistry { function setOwner(bytes32 node, address owner) public; function setSubnodeOwner(bytes32 node, bytes32 label, address owner) public; function setResolver(bytes32 node, address resolv...
registries[_topdomain].owner(domainNamehash)==address(this),"this contract should own the domain"
286,915
registries[_topdomain].owner(domainNamehash)==address(this)
"sub domain already owned"
pragma solidity ^0.4.24; /** * @title EnsRegistry * @dev Extract of the interface for ENS Registry */ contract EnsRegistry { function setOwner(bytes32 node, address owner) public; function setSubnodeOwner(bytes32 node, bytes32 label, address owner) public; function setResolver(bytes32 node, address resolv...
registries[_topdomain].owner(subdomainNamehash)==address(0)||registries[_topdomain].owner(subdomainNamehash)==msg.sender,"sub domain already owned"
286,915
registries[_topdomain].owner(subdomainNamehash)==address(0)||registries[_topdomain].owner(subdomainNamehash)==msg.sender
"new registry should be different from old"
pragma solidity ^0.4.24; /** * @title EnsRegistry * @dev Extract of the interface for ENS Registry */ contract EnsRegistry { function setOwner(bytes32 node, address owner) public; function setSubnodeOwner(bytes32 node, bytes32 label, address owner) public; function setResolver(bytes32 node, address resolv...
registries[tld]!=_registry,"new registry should be different from old"
286,915
registries[tld]!=_registry
"new resolver should be different from old"
pragma solidity ^0.4.24; /** * @title EnsRegistry * @dev Extract of the interface for ENS Registry */ contract EnsRegistry { function setOwner(bytes32 node, address owner) public; function setSubnodeOwner(bytes32 node, bytes32 label, address owner) public; function setResolver(bytes32 node, address resolv...
resolvers[tld]!=_resolver,"new resolver should be different from old"
286,915
resolvers[tld]!=_resolver
"Only the proxy can call"
// SPDX-License-Identifier: MIT pragma solidity 0.7.5; contract OwnedwManager { address public owner; address public manager; address public nominatedOwner; constructor(address _owner, address _manager) { } function nominateNewOwner(address _owner) external onlyOwner { } function acceptO...
Proxy(msg.sender)==proxy,"Only the proxy can call"
286,986
Proxy(msg.sender)==proxy
null
pragma solidity ^0.4.19; contract Dappster { /// Lease record, store card tenants details /// and lease details struct LeaseCard { uint id; address tenant; uint price; uint untilBlock; string title; string url; string image; } /// ...
cardStructs[cardId].owner==address(0)
287,063
cardStructs[cardId].owner==address(0)
null
pragma solidity ^0.4.19; contract Dappster { /// Lease record, store card tenants details /// and lease details struct LeaseCard { uint id; address tenant; uint price; uint untilBlock; string title; string url; string image; } /// ...
cardStructs[cardId].owner!=address(0)
287,063
cardStructs[cardId].owner!=address(0)
null
pragma solidity ^0.4.19; contract Dappster { /// Lease record, store card tenants details /// and lease details struct LeaseCard { uint id; address tenant; uint price; uint untilBlock; string title; string url; string image; } /// ...
cardDetailsStructs[cardId].availableBuy
287,063
cardDetailsStructs[cardId].availableBuy
null
pragma solidity ^0.4.19; contract Dappster { /// Lease record, store card tenants details /// and lease details struct LeaseCard { uint id; address tenant; uint price; uint untilBlock; string title; string url; string image; } /// ...
!cardDetailsStructs[cardId].availableBuy
287,063
!cardDetailsStructs[cardId].availableBuy
null
pragma solidity ^0.4.19; contract Dappster { /// Lease record, store card tenants details /// and lease details struct LeaseCard { uint id; address tenant; uint price; uint untilBlock; string title; string url; string image; } /// ...
details.availableLease
287,063
details.availableLease
"WhitelistAdminRole: caller does not have the WhitelistAdmin role"
/** * @title WhitelistAdminRole * @dev WhitelistAdmins are responsible for assigning and removing Whitelisted accounts. */ contract WhitelistAdminRole { using Roles for Roles.Role; event WhitelistAdminAdded(address indexed account); event WhitelistAdminRemoved(address indexed account); Roles....
isWhitelistAdmin(msg.sender),"WhitelistAdminRole: caller does not have the WhitelistAdmin role"
287,088
isWhitelistAdmin(msg.sender)
"ERC721: transfer to non ERC721Receiver implementer"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn mo...
_checkOnERC721Received(from,to,tokenId,""),"ERC721: transfer to non ERC721Receiver implementer"
287,101
_checkOnERC721Received(from,to,tokenId,"")
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn mo...
_minted[msg.sender]<_totalMintsAllowed
287,101
_minted[msg.sender]<_totalMintsAllowed
null
/** *Submitted for verification at Etherscan.io on 2018-02-25 */ pragma solidity ^0.4.19; 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) int...
vestingMap[vestingPeriod].length>0
287,254
vestingMap[vestingPeriod].length>0
null
/** *Submitted for verification at Etherscan.io on 2018-02-25 */ pragma solidity ^0.4.19; 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) int...
vestingMap[vestingPeriod][0].balance>0
287,254
vestingMap[vestingPeriod][0].balance>0
null
/** *Submitted for verification at Etherscan.io on 2018-02-25 */ pragma solidity ^0.4.19; 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) int...
_spender.call(_data)
287,254
_spender.call(_data)
null
/** *Submitted for verification at Etherscan.io on 2018-02-25 */ pragma solidity ^0.4.19; 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) int...
_to.call(_data)
287,254
_to.call(_data)
"Metadata already frozen"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openze...
!frozenMetadata,"Metadata already frozen"
287,304
!frozenMetadata
"Not Bloot owner"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openze...
bloot.ownerOf(tokenId)==msg.sender,"Not Bloot owner"
287,304
bloot.ownerOf(tokenId)==msg.sender
"already rolled today"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@chainlink/contracts/src/v0.6/VRFConsumerBase.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract LotteryFee is VRFConsumerBase, Ownable { bytes32 internal keyHash; uint256 internal fee; uint256 constant DICE_SIZE = 42; //42; ...
rolledDiceAtDay[getCurrentDayTimestamp()]==0,"already rolled today"
287,307
rolledDiceAtDay[getCurrentDayTimestamp()]==0
"Unable to transfer"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@chainlink/contracts/src/v0.6/VRFConsumerBase.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract LotteryFee is VRFConsumerBase, Ownable { bytes32 internal keyHash; uint256 internal fee; uint256 constant DICE_SIZE = 42; //42; ...
LINK.transfer(msg.sender,LINK.balanceOf(address(this))),"Unable to transfer"
287,307
LINK.transfer(msg.sender,LINK.balanceOf(address(this)))
"You are in block list."
// ██████ ██████ ██ ███ ██ ██████ ██████ ███████ ███████ ███████ // ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ ██ ███ ██████ █████ ███████ ███████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██████ ██████ ██ ██...
!m_BlackList[_sender],"You are in block list."
287,388
!m_BlackList[_sender]
"You are in block list."
// ██████ ██████ ██ ███ ██ ██████ ██████ ███████ ███████ ███████ // ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ ██ ███ ██████ █████ ███████ ███████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██████ ██████ ██ ██...
!m_BlackList[_recipient],"You are in block list."
287,388
!m_BlackList[_recipient]
"The balance is big too"
// ██████ ██████ ██ ███ ██ ██████ ██████ ███████ ███████ ███████ // ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ ██ ███ ██████ █████ ███████ ███████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██████ ██████ ██ ██...
ERC20.balanceOf(_recipient)<=m_MaxWalletSize,"The balance is big too"
287,388
ERC20.balanceOf(_recipient)<=m_MaxWalletSize
"Liquidity pool already created"
// ██████ ██████ ██ ███ ██ ██████ ██████ ███████ ███████ ███████ // ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ ██ ███ ██████ █████ ███████ ███████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██████ ██████ ██ ██...
!m_SwapEnabled,"Liquidity pool already created"
287,388
!m_SwapEnabled
null
pragma solidity 0.4.18; contract FHFTokenInterface { /* Public parameters of the token */ string public standard = 'Token 0.1'; string public name = 'Forever Has Fallen'; string public symbol = 'FC'; uint8 public decimals = 18; function approveCrowdsale(address _crowdsaleAddress) external...
isICOActive()
287,417
isICOActive()
null
pragma solidity 0.4.18; contract FHFTokenInterface { /* Public parameters of the token */ string public standard = 'Token 0.1'; string public name = 'Forever Has Fallen'; string public symbol = 'FC'; uint8 public decimals = 18; function approveCrowdsale(address _crowdsaleAddress) external...
!isICOActive()
287,417
!isICOActive()
"GovernorMeow::propose: proposer votes below proposal threshold"
pragma solidity ^0.5.16; pragma experimental ABIEncoderV2; /// @notice Based on Compound Governance Governor 'Alpha'. contract GovernorMeow { /// @notice The name of this contract string public name; /// @notice The number of votes in support of a proposal required in order for a quorum to be reached ...
token.getPriorVotes(msg.sender,sub256(block.number,1))>proposalThreshold,"GovernorMeow::propose: proposer votes below proposal threshold"
287,421
token.getPriorVotes(msg.sender,sub256(block.number,1))>proposalThreshold
"sender must be auction or marketplace"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/introspection/IERC165.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contr...
addressRegistry.auction()==_msgSender()||addressRegistry.marketplace()==_msgSender(),"sender must be auction or marketplace"
287,461
addressRegistry.auction()==_msgSender()||addressRegistry.marketplace()==_msgSender()
"already listed"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/introspection/IERC165.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contr...
owners[bundleID]==address(0)||(owners[bundleID]==_msgSender()&&listings[_msgSender()][bundleID].price==0),"already listed"
287,461
owners[bundleID]==address(0)||(owners[bundleID]==_msgSender()&&listings[_msgSender()][bundleID].price==0)
"item not approved"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/introspection/IERC165.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contr...
nft.isApprovedForAll(_msgSender(),address(this)),"item not approved"
287,461
nft.isApprovedForAll(_msgSender(),address(this))
"not listed"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/introspection/IERC165.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contr...
listings[_msgSender()][bundleID].price>0,"not listed"
287,461
listings[_msgSender()][bundleID].price>0
"not buyable"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/introspection/IERC165.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contr...
_getNow()>=listing.startingTime,"not buyable"
287,461
_getNow()>=listing.startingTime
"invalid id"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/introspection/IERC165.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contr...
owners[bundleID]!=address(0),"invalid id"
287,461
owners[bundleID]!=address(0)