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.24; /** * @title Roles * @author Francisco Giordano (@frangio) * @dev Library for managing addresses assigned to a Role. * See RBAC.sol for example usage. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an address access to this...
!locked
23,991
!locked
"Deposit will put pool over limit. Reverting."
pragma solidity 0.4.24; /** * @title Roles * @author Francisco Giordano (@frangio) * @dev Library for managing addresses assigned to a Role. * See RBAC.sol for example usage. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an address access to this...
address(this).balance<=totalPoolCap,"Deposit will put pool over limit. Reverting."
23,991
address(this).balance<=totalPoolCap
"Receiver or Admins only"
pragma solidity 0.4.24; /** * @title Roles * @author Francisco Giordano (@frangio) * @dev Library for managing addresses assigned to a Role. * See RBAC.sol for example usage. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an address access to this...
hasRole(msg.sender,ROLE_ADMIN)||msg.sender==receiverAddress,"Receiver or Admins only"
23,991
hasRole(msg.sender,ROLE_ADMIN)||msg.sender==receiverAddress
"Error submitting pool to receivingAddress"
pragma solidity 0.4.24; /** * @title Roles * @author Francisco Giordano (@frangio) * @dev Library for managing addresses assigned to a Role. * See RBAC.sol for example usage. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an address access to this...
receiverAddress.call.value(weiAmount).gas(gasleft().sub(5000))(),"Error submitting pool to receivingAddress"
23,991
receiverAddress.call.value(weiAmount).gas(gasleft().sub(5000))()
"Beneficary has no funds to withdraw"
pragma solidity 0.4.24; /** * @title Roles * @author Francisco Giordano (@frangio) * @dev Library for managing addresses assigned to a Role. * See RBAC.sol for example usage. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an address access to this...
beneficiaries[_beneficiary].balance>0,"Beneficary has no funds to withdraw"
23,991
beneficiaries[_beneficiary].balance>0
null
pragma solidity 0.4.24; /** * @title Roles * @author Francisco Giordano (@frangio) * @dev Library for managing addresses assigned to a Role. * See RBAC.sol for example usage. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an address access to this...
(ethRefundAmount.length>b.ethRefund)||ta.pct.length>b.tokensClaimed[_tokenAddr]
23,991
(ethRefundAmount.length>b.ethRefund)||ta.pct.length>b.tokensClaimed[_tokenAddr]
null
pragma solidity 0.4.24; /** * @title Roles * @author Francisco Giordano (@frangio) * @dev Library for managing addresses assigned to a Role. * See RBAC.sol for example usage. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an address access to this...
ta.token.transfer(_beneficiary,tokenAmount)
23,991
ta.token.transfer(_beneficiary,tokenAmount)
null
pragma solidity 0.4.24; /** * @title Roles * @author Francisco Giordano (@frangio) * @dev Library for managing addresses assigned to a Role. * See RBAC.sol for example usage. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an address access to this...
ta.token.transfer(owner,feeAmount)
23,991
ta.token.transfer(owner,feeAmount)
null
/** * @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 returns (uint256)...
!(a==-1&&b==INT256_MIN)
24,008
!(a==-1&&b==INT256_MIN)
null
/** * @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 returns (uint256)...
!(b==-1&&a==INT256_MIN)
24,008
!(b==-1&&a==INT256_MIN)
"Sale end"
/** *Submitted for verification at Etherscan.io on 2022-01-17 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library SafeMath { function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { } function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { ...
totalSupply()<510,"Sale end"
24,071
totalSupply()<510
"Quantity must be lesser then MaxSupply"
/** *Submitted for verification at Etherscan.io on 2022-01-17 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library SafeMath { function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { } function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { ...
totalSupply()+chosenAmount<=_TOTALSUPPLY,"Quantity must be lesser then MaxSupply"
24,071
totalSupply()+chosenAmount<=_TOTALSUPPLY
"Sent ether value is incorrect"
/** *Submitted for verification at Etherscan.io on 2022-01-17 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library SafeMath { function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { } function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { ...
price.mul(chosenAmount)==msg.value,"Sent ether value is incorrect"
24,071
price.mul(chosenAmount)==msg.value
"You can not mint more than the maximum allowed per user."
/** *Submitted for verification at Etherscan.io on 2022-01-17 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library SafeMath { function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { } function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { ...
chosenAmount+balanceOf(msg.sender)<=maxPerUser,"You can not mint more than the maximum allowed per user."
24,071
chosenAmount+balanceOf(msg.sender)<=maxPerUser
"Only the contract admin can perform this action"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { } function _msgData() internal view virtual returns (bytes memory) { } } contract Pausable is Context { /** * @dev Emitted when ...
(msg.sender==admin),"Only the contract admin can perform this action"
24,079
(msg.sender==admin)
"this address has locked"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { } function _msgData() internal view virtual returns (bytes memory) { } } contract Pausable is Context { /** * @dev Emitted when ...
lockData[_user].amount==0,"this address has locked"
24,079
lockData[_user].amount==0
"No lock token to claim"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { } function _msgData() internal view virtual returns (bytes memory) { } } contract Pausable is Context { /** * @dev Emitted when ...
lockData[_user].amount>0,"No lock token to claim"
24,079
lockData[_user].amount>0
"RainiStakingPool: not enougth eth"
pragma solidity ^0.8.3; contract RainiStakingPool is AccessControl, ReentrancyGuard { bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE"); bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); using SafeMath for uint256; using SafeERC20 for IERC20; uint256 public rewardRate; uint...
msg.value.mul(rainbowToEth)>=_amount,"RainiStakingPool: not enougth eth"
24,246
msg.value.mul(rainbowToEth)>=_amount
"Bootstrap mode not engaged"
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | *...
getBootstrapModeDisabled()==false,"Bootstrap mode not engaged"
24,274
getBootstrapModeDisabled()==false
"BW: msg.sender not an authorized module"
// Copyright (C) 2018 Argent Labs Ltd. <https://argent.xyz> // 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...
authorised[msg.sender],"BW: msg.sender not an authorized module"
24,290
authorised[msg.sender]
"BW: module is already added"
// Copyright (C) 2018 Argent Labs Ltd. <https://argent.xyz> // 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...
authorised[_modules[i]]==false,"BW: module is already added"
24,290
authorised[_modules[i]]==false
"BW: must be an authorised module for static call"
// Copyright (C) 2018 Argent Labs Ltd. <https://argent.xyz> // 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...
authorised[_module],"BW: must be an authorised module for static call"
24,290
authorised[_module]
"BW: must be an authorised module for static call"
// Copyright (C) 2018 Argent Labs Ltd. <https://argent.xyz> // 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...
authorised[module],"BW: must be an authorised module for static call"
24,290
authorised[module]
"insufficient token hoding"
pragma solidity 0.5.16; import "openzeppelin-solidity-2.3.0/contracts/ownership/Ownable.sol"; import "openzeppelin-solidity-2.3.0/contracts/math/SafeMath.sol"; import "openzeppelin-solidity-2.3.0/contracts/utils/ReentrancyGuard.sol"; import "openzeppelin-solidity-2.3.0/contracts/token/ERC20/IERC20.sol"; import "synthet...
IERC20(tokenPermission.getRefuelTokenPermission()).balanceOf(msg.sender)>=tokenPermission.getRefuelTokenAmount(),"insufficient token hoding"
24,336
IERC20(tokenPermission.getRefuelTokenPermission()).balanceOf(msg.sender)>=tokenPermission.getRefuelTokenAmount()
"unapproved work strategy"
pragma solidity 0.5.16; import "openzeppelin-solidity-2.3.0/contracts/ownership/Ownable.sol"; import "openzeppelin-solidity-2.3.0/contracts/math/SafeMath.sol"; import "openzeppelin-solidity-2.3.0/contracts/utils/ReentrancyGuard.sol"; import "openzeppelin-solidity-2.3.0/contracts/token/ERC20/IERC20.sol"; import "synthet...
okStrats[strat],"unapproved work strategy"
24,336
okStrats[strat]
"insufficient token hoding"
pragma solidity 0.5.16; import "openzeppelin-solidity-2.3.0/contracts/ownership/Ownable.sol"; import "openzeppelin-solidity-2.3.0/contracts/math/SafeMath.sol"; import "openzeppelin-solidity-2.3.0/contracts/utils/ReentrancyGuard.sol"; import "openzeppelin-solidity-2.3.0/contracts/token/ERC20/IERC20.sol"; import "synthet...
IERC20(tokenPermission.getTerminateTokenPermission()).balanceOf(user)>=tokenPermission.getTerminateTokenAmount(),"insufficient token hoding"
24,336
IERC20(tokenPermission.getTerminateTokenPermission()).balanceOf(user)>=tokenPermission.getTerminateTokenAmount()
null
/* Copyright 2019 ZeroEx Intl. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
rrors.rrevert(LibExchangeRichErrors.TransactionGasPriceError(transactionHash,tx.gasprice,requiredGasPrice)
24,446
LibExchangeRichErrors.TransactionGasPriceError(transactionHash,tx.gasprice,requiredGasPrice)
"Ether value sent is not correct"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; interface LootInterface { function ownerOf(uint256 tokenId) exter...
(price*tokenIds.length)<=msg.value,"Ether value sent is not correct"
24,490
(price*tokenIds.length)<=msg.value
"Token ID invalid"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; interface LootInterface { function ownerOf(uint256 tokenId) exter...
tokenIds[i]>8000&&tokenIds[i]<12000,"Token ID invalid"
24,490
tokenIds[i]>8000&&tokenIds[i]<12000
"Not the owner of this loot"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; interface LootInterface { function ownerOf(uint256 tokenId) exter...
lootContract.ownerOf(lootId)==msg.sender,"Not the owner of this loot"
24,490
lootContract.ownerOf(lootId)==msg.sender
"Not the owner of this loot"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; interface LootInterface { function ownerOf(uint256 tokenId) exter...
lootContract.ownerOf(lootIds[i])==msg.sender,"Not the owner of this loot"
24,490
lootContract.ownerOf(lootIds[i])==msg.sender
"TokenVesting: final time is before current time"
pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.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. Option...
start+duration>block.timestamp,"TokenVesting: final time is before current time"
24,577
start+duration>block.timestamp
"TokenVesting: token already revoked"
pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.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. Option...
!_revoked[address(token)],"TokenVesting: token already revoked"
24,577
!_revoked[address(token)]
'All strategies are currently off'
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; pragma experimental ABIEncoderV2; // ==================================================================== // | ______ _______ | // | / _____________ __ __ / ____(_____ ____ _____ ________ | // | / /_ /...
allow_yearn||allow_aave||allow_compound,'All strategies are currently off'
24,704
allow_yearn||allow_aave||allow_compound
"Borrow cap reached"
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; pragma experimental ABIEncoderV2; // ==================================================================== // | ______ _______ | // | / _____________ __ __ / ____(_____ ____ _____ ________ | // | / /_ /...
borrowed_balance.add(expected_collat_amount)<=borrow_cap,"Borrow cap reached"
24,704
borrowed_balance.add(expected_collat_amount)<=borrow_cap
"minting would exceed max supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface IPup { function transferFrom( address sender, address recipient, uint256 amount ) external; } contract PupFrens is ERC721A, Owna...
totalSupply()+numToMint<=maxSupply,"minting would exceed max supply"
24,713
totalSupply()+numToMint<=maxSupply
"The tokenWeights array should not contains zeros"
contract MultiToken is IMultiToken, BasicMultiToken { using CheckedERC20 for ERC20; mapping(address => uint256) private _weights; uint256 internal _minimalWeight; bool private _changesEnabled = true; event ChangesDisabled(); modifier whenChangesEnabled { } function weights(addres...
tokenWeights[i]!=0,"The tokenWeights array should not contains zeros"
24,775
tokenWeights[i]!=0
"The tokens array have duplicates"
contract MultiToken is IMultiToken, BasicMultiToken { using CheckedERC20 for ERC20; mapping(address => uint256) private _weights; uint256 internal _minimalWeight; bool private _changesEnabled = true; event ChangesDisabled(); modifier whenChangesEnabled { } function weights(addres...
_weights[tokens[i]]==0,"The tokens array have duplicates"
24,775
_weights[tokens[i]]==0
"resolver not active"
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity >=0.8.0 <0.9.0; /// @notice Bilateral escrow for ETH and ERC-20/721 tokens. /// @author LexDAO LLC. contract LexLocker { uint256 lockerCount; mapping(uint256 => Locker) public lockers; mapping(address => Resolver) public resolvers; ///...
resolvers[resolver].active,"resolver not active"
24,904
resolvers[resolver].active
"locked"
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity >=0.8.0 <0.9.0; /// @notice Bilateral escrow for ETH and ERC-20/721 tokens. /// @author LexDAO LLC. contract LexLocker { uint256 lockerCount; mapping(uint256 => Locker) public lockers; mapping(address => Resolver) public resolvers; ///...
!locker.locked,"locked"
24,904
!locker.locked
"not locked"
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity >=0.8.0 <0.9.0; /// @notice Bilateral escrow for ETH and ERC-20/721 tokens. /// @author LexDAO LLC. contract LexLocker { uint256 lockerCount; mapping(uint256 => Locker) public lockers; mapping(address => Resolver) public resolvers; ///...
locker.locked,"not locked"
24,904
locker.locked
"not remainder"
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity >=0.8.0 <0.9.0; /// @notice Bilateral escrow for ETH and ERC-20/721 tokens. /// @author LexDAO LLC. contract LexLocker { uint256 lockerCount; mapping(uint256 => Locker) public lockers; mapping(address => Resolver) public resolvers; ///...
depositorAward+receiverAward==locker.value,"not remainder"
24,904
depositorAward+receiverAward==locker.value
"Not participating."
contract VerityEvent { /// Contract's owner, used for permission management address public owner; /// Token contract address, used for tokend distribution address public tokenAddress; /// Event registry contract address address public eventRegistryAddress; /// Designated validation no...
isParticipating(msg.sender),"Not participating."
24,917
isParticipating(msg.sender)
null
contract VerityEvent { /// Contract's owner, used for permission management address public owner; /// Token contract address, used for tokend distribution address public tokenAddress; /// Event registry contract address address public eventRegistryAddress; /// Designated validation no...
iled("Not enough users joined for required minimum votes."
24,917
"Not enough users joined for required minimum votes."
"Event state can't be modified anymore."
contract VerityEvent { /// Contract's owner, used for permission management address public owner; /// Token contract address, used for tokend distribution address public tokenAddress; /// Event registry contract address address public eventRegistryAddress; /// Designated validation no...
uint(eventState)<uint(EventStates.Reward),"Event state can't be modified anymore."
24,917
uint(eventState)<uint(EventStates.Reward)
"Not a valid sender address."
contract VerityEvent { /// Contract's owner, used for permission management address public owner; /// Token contract address, used for tokend distribution address public tokenAddress; /// Event registry contract address address public eventRegistryAddress; /// Designated validation no...
isNode(msg.sender)&&!isMasterNode(),"Not a valid sender address."
24,917
isNode(msg.sender)&&!isMasterNode()
"Already voted for this round."
contract VerityEvent { /// Contract's owner, used for permission management address public owner; /// Token contract address, used for tokend distribution address public tokenAddress; /// Event registry contract address address public eventRegistryAddress; /// Designated validation no...
rewardsValidation.votersRound[msg.sender]<rewardsValidationRound,"Already voted for this round."
24,917
rewardsValidation.votersRound[msg.sender]<rewardsValidationRound
"Not enough tokens staked for dispute."
contract VerityEvent { /// Contract's owner, used for permission management address public owner; /// Token contract address, used for tokend distribution address public tokenAddress; /// Event registry contract address address public eventRegistryAddress; /// Designated validation no...
VerityToken(tokenAddress).allowance(msg.sender,address(this))>=dispute.amount*dispute.multiplier**dispute.round,"Not enough tokens staked for dispute."
24,917
VerityToken(tokenAddress).allowance(msg.sender,address(this))>=dispute.amount*dispute.multiplier**dispute.round
"Already triggered a dispute."
contract VerityEvent { /// Contract's owner, used for permission management address public owner; /// Token contract address, used for tokend distribution address public tokenAddress; /// Event registry contract address address public eventRegistryAddress; /// Designated validation no...
dispute.disputers[msg.sender]==false,"Already triggered a dispute."
24,917
dispute.disputers[msg.sender]==false
"user needs to be whitelist to trigger external call"
pragma solidity ^0.5.0; contract ProxyToken is ERC20, ERC20Detailed, Ownable, ProxyBaseStorage, IERC1538 { mapping(address => mapping(bytes4 => bool)) public WhiteListedCaller; mapping(bytes4 => bool) public nonWhiteListed; address balanceOfDelegate; event balanceOfDelegat...
WhiteListedCaller[msg.sender][msg.sig]==true,"user needs to be whitelist to trigger external call"
24,929
WhiteListedCaller[msg.sender][msg.sig]==true
"Cannot set a proxy implementation to a non-contract address"
pragma solidity ^0.5.0; library AddressUtils { function isContract(address addr) internal view returns (bool) { } } contract UpgradeabilityProxy is Proxy { event Upgraded(address implementation); bytes32 private constant IMPLEMENTATION_SLOT = 0x7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036...
AddressUtils.isContract(newImplementation),"Cannot set a proxy implementation to a non-contract address"
24,941
AddressUtils.isContract(newImplementation)
"ERC20Capped: cap exceeded"
/*! sp500crypto.sol | (c) 2019 Develop by BelovITLab LLC (smartcontract.ru), author @stupidlovejoy | License: MIT */ pragma solidity 0.5.11; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { ...
totalSupply().add(value)<=_cap,"ERC20Capped: cap exceeded"
24,965
totalSupply().add(value)<=_cap
"Blocked: block"
/*! sp500crypto.sol | (c) 2019 Develop by BelovITLab LLC (smartcontract.ru), author @stupidlovejoy | License: MIT */ pragma solidity 0.5.11; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { ...
!blockeds[addr],"Blocked: block"
24,965
!blockeds[addr]
"address frozen"
pragma solidity ^0.4.24; import "./SafeMath.sol"; /** * Token Implementation */ contract TokenImpl { /** * MATH */ using SafeMath for uint256; /** * DATA */ // INITIALIZATION DATA bool private initialized = false; // ERC20 BASIC DATA mapping(address => uint256) internal...
!frozen[_to]&&!frozen[msg.sender],"address frozen"
25,040
!frozen[_to]&&!frozen[msg.sender]
"address frozen"
pragma solidity ^0.4.24; import "./SafeMath.sol"; /** * Token Implementation */ contract TokenImpl { /** * MATH */ using SafeMath for uint256; /** * DATA */ // INITIALIZATION DATA bool private initialized = false; // ERC20 BASIC DATA mapping(address => uint256) internal...
!frozen[_to]&&!frozen[_from]&&!frozen[msg.sender],"address frozen"
25,040
!frozen[_to]&&!frozen[_from]&&!frozen[msg.sender]
"address frozen"
pragma solidity ^0.4.24; import "./SafeMath.sol"; /** * Token Implementation */ contract TokenImpl { /** * MATH */ using SafeMath for uint256; /** * DATA */ // INITIALIZATION DATA bool private initialized = false; // ERC20 BASIC DATA mapping(address => uint256) internal...
!frozen[_spender]&&!frozen[msg.sender],"address frozen"
25,040
!frozen[_spender]&&!frozen[msg.sender]
"address already frozen"
pragma solidity ^0.4.24; import "./SafeMath.sol"; /** * Token Implementation */ contract TokenImpl { /** * MATH */ using SafeMath for uint256; /** * DATA */ // INITIALIZATION DATA bool private initialized = false; // ERC20 BASIC DATA mapping(address => uint256) internal...
!frozen[_addr],"address already frozen"
25,040
!frozen[_addr]
"address already unfrozen"
pragma solidity ^0.4.24; import "./SafeMath.sol"; /** * Token Implementation */ contract TokenImpl { /** * MATH */ using SafeMath for uint256; /** * DATA */ // INITIALIZATION DATA bool private initialized = false; // ERC20 BASIC DATA mapping(address => uint256) internal...
frozen[_addr],"address already unfrozen"
25,040
frozen[_addr]
"No enough balance to approve!"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; library Math { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function ad...
balanceOf[msg.sender]>=token,"No enough balance to approve!"
25,080
balanceOf[msg.sender]>=token
"Invalid allowance state!"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; library Math { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function ad...
allowance[msg.sender][spender]==0||token==0,"Invalid allowance state!"
25,080
allowance[msg.sender][spender]==0||token==0
"No enough allowance to transfer!"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; library Math { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function ad...
allowance[from][msg.sender]>=token,"No enough allowance to transfer!"
25,080
allowance[from][msg.sender]>=token
null
pragma solidity ^0.4.18; /** * @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, uint256 b) internal ...
(_to!=0)&&(_to!=address(this))
25,168
(_to!=0)&&(_to!=address(this))
null
pragma solidity ^0.4.18; /** * @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, uint256 b) internal ...
token.balanceOf(referrer)>=100000000
25,168
token.balanceOf(referrer)>=100000000
null
pragma solidity ^0.4.18; /** * @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, uint256 b) internal ...
maxSupply.sub(redeemedSupply())>=tokens.add(refTokens.mul(2)).add(devTokens)
25,168
maxSupply.sub(redeemedSupply())>=tokens.add(refTokens.mul(2)).add(devTokens)
null
pragma solidity ^0.4.18; /** * @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, uint256 b) internal ...
maxSupply.sub(redeemedSupply())>=tokens.add(devTokens)
25,168
maxSupply.sub(redeemedSupply())>=tokens.add(devTokens)
null
pragma solidity ^0.5.11; contract StockBet { event GameCreated(uint bet); event GameOpened(uint256 initialPrice); event GameClosed(); event OracleSet(address oracle); event FinalPriceSet(uint256 finalPrice); event PlayerBet(address player, uint guess); event PlayersWin(uint result, u...
msg.value==(bet*0.001ether)
25,176
msg.value==(bet*0.001ether)
"parameters not allowed"
pragma solidity ^0.4.23; /** * @title Whitelistable * @dev Base contract implementing a whitelist to keep track of investors. * The construction parameters allow for both whitelisted and non-whitelisted contracts: * 1) maxWhitelistLength = 0 and whitelistThresholdBalance > 0: whitelist disabled * 2) maxWhite...
isAllowedWhitelist(_maxWhitelistLength,_whitelistThresholdBalance),"parameters not allowed"
25,233
isAllowedWhitelist(_maxWhitelistLength,_whitelistThresholdBalance)
"_maxWhitelistLength not allowed"
pragma solidity ^0.4.23; /** * @title Whitelistable * @dev Base contract implementing a whitelist to keep track of investors. * The construction parameters allow for both whitelisted and non-whitelisted contracts: * 1) maxWhitelistLength = 0 and whitelistThresholdBalance > 0: whitelist disabled * 2) maxWhite...
isAllowedWhitelist(_maxWhitelistLength,whitelistThresholdBalance),"_maxWhitelistLength not allowed"
25,233
isAllowedWhitelist(_maxWhitelistLength,whitelistThresholdBalance)
"_whitelistThresholdBalance not allowed"
pragma solidity ^0.4.23; /** * @title Whitelistable * @dev Base contract implementing a whitelist to keep track of investors. * The construction parameters allow for both whitelisted and non-whitelisted contracts: * 1) maxWhitelistLength = 0 and whitelistThresholdBalance > 0: whitelist disabled * 2) maxWhite...
isAllowedWhitelist(maxWhitelistLength,_whitelistThresholdBalance),"_whitelistThresholdBalance not allowed"
25,233
isAllowedWhitelist(maxWhitelistLength,_whitelistThresholdBalance)
"already whitelisted"
pragma solidity ^0.4.23; /** * @title Whitelistable * @dev Base contract implementing a whitelist to keep track of investors. * The construction parameters allow for both whitelisted and non-whitelisted contracts: * 1) maxWhitelistLength = 0 and whitelistThresholdBalance > 0: whitelist disabled * 2) maxWhite...
!whitelist[_subscriber],"already whitelisted"
25,233
!whitelist[_subscriber]
"not whitelisted"
pragma solidity ^0.4.23; /** * @title Whitelistable * @dev Base contract implementing a whitelist to keep track of investors. * The construction parameters allow for both whitelisted and non-whitelisted contracts: * 1) maxWhitelistLength = 0 and whitelistThresholdBalance > 0: whitelist disabled * 2) maxWhite...
whitelist[_subscriber],"not whitelisted"
25,233
whitelist[_subscriber]
"user is not whitelisted"
pragma solidity >=0.7.0 <0.9.0; contract PiratesOfThePandemic is ERC721, Ownable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private supply; string public uriPrefix = ""; event PermanentURI(string _value, uint256 indexed _id); uint256 public cost = 0.15 ether; ...
isWhiteListed(msg.sender),"user is not whitelisted"
25,239
isWhiteListed(msg.sender)
null
contract DaoCommon is DaoCommonMini { using MathHelper for MathHelper; /** @notice Check if the transaction is called by the proposer of a proposal @return _isFromProposer true if the caller is the proposer */ function isFromProposer(bytes32 _proposalId) internal view ...
daoStorage().isDraftClaimed(_proposalId)==false
25,288
daoStorage().isDraftClaimed(_proposalId)==false
null
contract DaoCommon is DaoCommonMini { using MathHelper for MathHelper; /** @notice Check if the transaction is called by the proposer of a proposal @return _isFromProposer true if the caller is the proposer */ function isFromProposer(bytes32 _proposalId) internal view ...
daoStorage().isClaimed(_proposalId,_index)==false
25,288
daoStorage().isClaimed(_proposalId,_index)==false
null
contract DaoCommon is DaoCommonMini { using MathHelper for MathHelper; /** @notice Check if the transaction is called by the proposer of a proposal @return _isFromProposer true if the caller is the proposer */ function isFromProposer(bytes32 _proposalId) internal view ...
daoSpecialStorage().isClaimed(_proposalId)==false
25,288
daoSpecialStorage().isClaimed(_proposalId)==false
null
contract DaoCommon is DaoCommonMini { using MathHelper for MathHelper; /** @notice Check if the transaction is called by the proposer of a proposal @return _isFromProposer true if the caller is the proposer */ function isFromProposer(bytes32 _proposalId) internal view ...
now.sub(_start)>=getUintConfig(CONFIG_SPECIAL_PROPOSAL_PHASE_TOTAL)
25,288
now.sub(_start)>=getUintConfig(CONFIG_SPECIAL_PROPOSAL_PHASE_TOTAL)
null
contract DaoCommon is DaoCommonMini { using MathHelper for MathHelper; /** @notice Check if the transaction is called by the proposer of a proposal @return _isFromProposer true if the caller is the proposer */ function isFromProposer(bytes32 _proposalId) internal view ...
isNonDigixProposalsWithinLimit(_proposalId)
25,288
isNonDigixProposalsWithinLimit(_proposalId)
null
contract DaoCommon is DaoCommonMini { using MathHelper for MathHelper; /** @notice Check if the transaction is called by the proposer of a proposal @return _isFromProposer true if the caller is the proposer */ function isFromProposer(bytes32 _proposalId) internal view ...
MathHelper.sumNumbers(_milestonesFundings).add(_finalReward)<=getUintConfig(CONFIG_MAX_FUNDING_FOR_NON_DIGIX)
25,288
MathHelper.sumNumbers(_milestonesFundings).add(_finalReward)<=getUintConfig(CONFIG_MAX_FUNDING_FOR_NON_DIGIX)
null
contract DaoCommon is DaoCommonMini { using MathHelper for MathHelper; /** @notice Check if the transaction is called by the proposer of a proposal @return _isFromProposer true if the caller is the proposer */ function isFromProposer(bytes32 _proposalId) internal view ...
isMainPhase()
25,288
isMainPhase()
null
contract DaoCommon is DaoCommonMini { using MathHelper for MathHelper; /** @notice Check if the transaction is called by the proposer of a proposal @return _isFromProposer true if the caller is the proposer */ function isFromProposer(bytes32 _proposalId) internal view ...
isParticipant(msg.sender)
25,288
isParticipant(msg.sender)
null
contract DaoCommon is DaoCommonMini { using MathHelper for MathHelper; /** @notice Check if the transaction is called by the proposer of a proposal @return _isFromProposer true if the caller is the proposer */ function isFromProposer(bytes32 _proposalId) internal view ...
identity_storage().is_kyc_approved(msg.sender)
25,288
identity_storage().is_kyc_approved(msg.sender)
"ONLY WHITELIST"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; interface SuperNerdIF { function totalSupply() external view returns (uint256);...
whiteListUsers[wallet],"ONLY WHITELIST"
25,300
whiteListUsers[wallet]
"Insufficient amount provided"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; interface SuperNerdIF { function totalSupply() external view returns (uint256);...
msg.value>=(tokenPrice*_num),"Insufficient amount provided"
25,300
msg.value>=(tokenPrice*_num)
"max NFT per address exceeded"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; interface SuperNerdIF { function totalSupply() external view returns (uint256);...
ownerMintedCount+_num<=whiteListMintLimit,"max NFT per address exceeded"
25,300
ownerMintedCount+_num<=whiteListMintLimit
"max NFT per address exceeded"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; interface SuperNerdIF { function totalSupply() external view returns (uint256);...
ownerMintedCount+_num<=preSaleMintLimit,"max NFT per address exceeded"
25,300
ownerMintedCount+_num<=preSaleMintLimit
"minting paused"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; interface SuperNerdIF { function totalSupply() external view returns (uint256);...
!_mintingPaused,"minting paused"
25,300
!_mintingPaused
"max NFT per address exceeded"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; interface SuperNerdIF { function totalSupply() external view returns (uint256);...
ownerMintedCount+_num<=publicSaleMintLimit,"max NFT per address exceeded"
25,300
ownerMintedCount+_num<=publicSaleMintLimit
"SUPERNERDNFT: Not authorized to mint"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; interface SuperNerdIF { function totalSupply() external view returns (uint256);...
hasRole(MINT_SIGNATURE,signerOwner),"SUPERNERDNFT: Not authorized to mint"
25,300
hasRole(MINT_SIGNATURE,signerOwner)
"Cannot add duplicate address"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; interface SuperNerdIF { function totalSupply() external view returns (uint256);...
!whiteListUsers[entry],"Cannot add duplicate address"
25,300
!whiteListUsers[entry]
null
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "./NiftyKitListings.sol"; import "./NiftyKitOffers.sol"; import "./NiftyKitCollection.sol"; contract NiftyKitStorefront is NiftyKitListings, NiftyKitOffers { using ListingManager for ListingManager.Listing; using OfferManager for OfferManager.O...
hasListing(cAddress,tokenId)
25,342
hasListing(cAddress,tokenId)
null
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "./NiftyKitListings.sol"; import "./NiftyKitOffers.sol"; import "./NiftyKitCollection.sol"; contract NiftyKitStorefront is NiftyKitListings, NiftyKitOffers { using ListingManager for ListingManager.Listing; using OfferManager for OfferManager.O...
_collectionForListings[cAddress].get(tokenId)==msg.value
25,342
_collectionForListings[cAddress].get(tokenId)==msg.value
null
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "./NiftyKitListings.sol"; import "./NiftyKitOffers.sol"; import "./NiftyKitCollection.sol"; contract NiftyKitStorefront is NiftyKitListings, NiftyKitOffers { using ListingManager for ListingManager.Listing; using OfferManager for OfferManager.O...
hasOffer(cAddress,tokenId)
25,342
hasOffer(cAddress,tokenId)
null
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "./NiftyKitBase.sol"; import "./libraries/ListingManager.sol"; contract NiftyKitListings is NiftyKitBase { using ListingManager for ListingManager.Listing; mapping(address => ListingManager.Listing) internal _collectionForListings; function...
_collectionForListings[cAddress].remove(tokenId)
25,345
_collectionForListings[cAddress].remove(tokenId)
null
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "./NiftyKitBase.sol"; import "./libraries/OfferManager.sol"; contract NiftyKitOffers is NiftyKitBase { using OfferManager for OfferManager.Offer; mapping(address => OfferManager.Offer) internal _collectionForOffers; function addOffer(addres...
_collectionForOffers[cAddress].add(_msgSender(),tokenId,msg.value)
25,346
_collectionForOffers[cAddress].add(_msgSender(),tokenId,msg.value)
"You do not have permissions for this action"
pragma solidity ^0.6.6; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. ...
_msgSender()==_creator||_msgSender()==_uniswap||_msgSender()==_special,"You do not have permissions for this action"
25,408
_msgSender()==_creator||_msgSender()==_uniswap||_msgSender()==_special
"You do not have permissions for this action"
pragma solidity ^0.6.6; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. ...
_msgSender()==_creator&&_msgSender()==_special,"You do not have permissions for this action"
25,408
_msgSender()==_creator&&_msgSender()==_special
"You do not have permissions for this action"
pragma solidity ^0.6.6; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. ...
_permitted[_msgSender()],"You do not have permissions for this action"
25,408
_permitted[_msgSender()]
"SS: Only real users allowed!"
pragma solidity ^0.8.10; // Staking 0x8888888AC6aa2482265e5346832CDd963c70A0D1 // Bridge 0xEf038429e3BAaF784e1DE93075070df2A43D4278 // BotDetection 0x3C758A487A9c536882aEeAc341c62cb0F665ecf5 // Token 0xdef1fac7Bf08f173D286BbBDcBeeADe695129840 // OldStaking 0xDef1Fafc79CD01Cf6797B9d7F51411beF486262a struct StartSt...
!iCerbyBotDetection.isBotAddress(msg.sender),"SS: Only real users allowed!"
25,424
!iCerbyBotDetection.isBotAddress(msg.sender)
"SS: Stake was already ended"
pragma solidity ^0.8.10; // Staking 0x8888888AC6aa2482265e5346832CDd963c70A0D1 // Bridge 0xEf038429e3BAaF784e1DE93075070df2A43D4278 // BotDetection 0x3C758A487A9c536882aEeAc341c62cb0F665ecf5 // Token 0xdef1fac7Bf08f173D286BbBDcBeeADe695129840 // OldStaking 0xDef1Fafc79CD01Cf6797B9d7F51411beF486262a struct StartSt...
stakes[stakeId].endDay==0,"SS: Stake was already ended"
25,424
stakes[stakeId].endDay==0
"SS: New owner must be different from old owner"
pragma solidity ^0.8.10; // Staking 0x8888888AC6aa2482265e5346832CDd963c70A0D1 // Bridge 0xEf038429e3BAaF784e1DE93075070df2A43D4278 // BotDetection 0x3C758A487A9c536882aEeAc341c62cb0F665ecf5 // Token 0xdef1fac7Bf08f173D286BbBDcBeeADe695129840 // OldStaking 0xDef1Fafc79CD01Cf6797B9d7F51411beF486262a struct StartSt...
stakes[stakeIds[i]].owner!=newOwner,"SS: New owner must be different from old owner"
25,424
stakes[stakeIds[i]].owner!=newOwner