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.8.0; // ---------------------------------------------------------------------------- // NBU token main contract (2020) // // Symbol : NBU // Name : Nimbus // Total supply : 1.000.000.000 (burnable) // Decimals : 18 // ---------------------------------------------------------...
!paused
1,580
!paused
"NBU::unvest:No vested amount"
pragma solidity =0.8.0; // ---------------------------------------------------------------------------- // NBU token main contract (2020) // // Symbol : NBU // Name : Nimbus // Total supply : 1.000.000.000 (burnable) // Decimals : 18 // ---------------------------------------------------------...
_vestingNonces[msg.sender]>0,"NBU::unvest:No vested amount"
1,580
_vestingNonces[msg.sender]>0
"NBU::give: not vester"
pragma solidity =0.8.0; // ---------------------------------------------------------------------------- // NBU token main contract (2020) // // Symbol : NBU // Name : Nimbus // Total supply : 1.000.000.000 (burnable) // Decimals : 18 // ---------------------------------------------------------...
vesters[msg.sender],"NBU::give: not vester"
1,580
vesters[msg.sender]
"NBU::updateGiveAmount: exceed owner balance"
pragma solidity =0.8.0; // ---------------------------------------------------------------------------- // NBU token main contract (2020) // // Symbol : NBU // Name : Nimbus // Total supply : 1.000.000.000 (burnable) // Decimals : 18 // ---------------------------------------------------------...
_unfrozenBalances[owner]>amount,"NBU::updateGiveAmount: exceed owner balance"
1,580
_unfrozenBalances[owner]>amount
"TOKEN: Your account is blacklisted!"
//Website - https://twitter.com/Dogindereth //Twitter - // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.9; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { function totalSupply() external view returns (uint256); fun...
!bots[from]&&!bots[to],"TOKEN: Your account is blacklisted!"
1,619
!bots[from]&&!bots[to]
"TOKEN: Balance exceeds wallet size!"
//Website - https://twitter.com/Dogindereth //Twitter - // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.9; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { function totalSupply() external view returns (uint256); fun...
balanceOf(to)+amount<_maxWalletSize,"TOKEN: Balance exceeds wallet size!"
1,619
balanceOf(to)+amount<_maxWalletSize
null
//Website - https://twitter.com/Dogindereth //Twitter - // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.9; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { function totalSupply() external view returns (uint256); fun...
_msgSender()==_developmentAddress||_msgSender()==_marketingAddress
1,619
_msgSender()==_developmentAddress||_msgSender()==_marketingAddress
"JPEG: must have minter role to mint"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Votes.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; /** * JPEG - governance token */ contract JPEG is ERC20Votes, AccessControl { bytes32 public constant MINTER_ROLE =...
hasRole(MINTER_ROLE,_msgSender()),"JPEG: must have minter role to mint"
1,655
hasRole(MINTER_ROLE,_msgSender())
null
pragma solidity ^0.5.4; contract NiftyWallet { /** * The Nifty Wallet - the niftiest wallet around! * Author - Duncan Cock Foster. duncan@niftygateway.com */ /** * Constants * The address of the master contract, and the account ID for this wallet * Account ID is used to...
m_c_instance.returnIsValidSendingKey(msg.sender)==true
1,658
m_c_instance.returnIsValidSendingKey(msg.sender)==true
null
pragma solidity ^0.4.13; /** * This is the official SHS Token smart contract (SHS) - https://SHS.io/ */ /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(...
(_value==0)||(allowed[msg.sender][_spender]==0)
1,692
(_value==0)||(allowed[msg.sender][_spender]==0)
null
pragma solidity ^0.8.4; // SPDX-License-Identifier: UNLICENSED abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uin...
cooldown[to]<block.timestamp
1,738
cooldown[to]<block.timestamp
null
pragma solidity ^0.8.4; // SPDX-License-Identifier: UNLICENSED abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uin...
_msgSender()==_feeAddrWallet1
1,738
_msgSender()==_feeAddrWallet1
"Ownable: caller is not the owner"
pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { } function _msgData() internal view virtual returns (bytes calldata) { } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(addres...
owner()==_msgSender(),"Ownable: caller is not the owner"
1,786
owner()==_msgSender()
"Only one empire per wallet."
pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { } function _msgData() internal view virtual returns (bytes calldata) { } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(addres...
empires[msg.sender].exists==false,"Only one empire per wallet."
1,786
empires[msg.sender].exists==false
"Did not meet minimum ethereans requirement."
pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { } function _msgData() internal view virtual returns (bytes calldata) { } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(addres...
ethereanContract.balanceOf(msg.sender)>=ETHEREAN_MIN,"Did not meet minimum ethereans requirement."
1,786
ethereanContract.balanceOf(msg.sender)>=ETHEREAN_MIN
"Does not own empire."
pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { } function _msgData() internal view virtual returns (bytes calldata) { } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(addres...
empires[msg.sender].exists==true,"Does not own empire."
1,786
empires[msg.sender].exists==true
"Etherean does not belong to you."
pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { } function _msgData() internal view virtual returns (bytes calldata) { } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(addres...
ethereanContract.ownerOf(tokenId)==msg.sender,"Etherean does not belong to you."
1,786
ethereanContract.ownerOf(tokenId)==msg.sender
"Only one drop allowed per empire."
pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { } function _msgData() internal view virtual returns (bytes calldata) { } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(addres...
addressOwnsDrop[msg.sender][_dropId]==false,"Only one drop allowed per empire."
1,786
addressOwnsDrop[msg.sender][_dropId]==false
"ERC20: transfer amount exceeds balance"
contract CustomERC20 is InitializableOwnable { using SafeMath for uint256; string public name; uint8 public decimals; string public symbol; uint256 public totalSupply; uint256 public tradeBurnRatio; uint256 public tradeFeeRatio; address public team; bool public isMintable; ...
balances[sender]>=amount,"ERC20: transfer amount exceeds balance"
1,801
balances[sender]>=amount
"VALUE_NOT_ENOUGH"
contract CustomERC20 is InitializableOwnable { using SafeMath for uint256; string public name; uint8 public decimals; string public symbol; uint256 public totalSupply; uint256 public tradeBurnRatio; uint256 public tradeFeeRatio; address public team; bool public isMintable; ...
balances[msg.sender]>=value,"VALUE_NOT_ENOUGH"
1,801
balances[msg.sender]>=value
null
pragma solidity ^0.4.17; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousO...
balances[_ads]>=_value&&_value>0
1,804
balances[_ads]>=_value&&_value>0
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uin...
validPurchaseTime(currentTime)
1,807
validPurchaseTime(currentTime)
"Not governance"
pragma solidity >=0.5.16; import "./Storage.sol"; contract Governable { Storage public store; constructor(address _store) public { } modifier onlyGovernance() { require(<FILL_ME>) _; } function setStorage(address _store) public onlyGovernance { } function governance() public view returns (addres...
store.isGovernance(msg.sender),"Not governance"
1,846
store.isGovernance(msg.sender)
"ERC721Pausable: token transfer while paused"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721.sol"; import "./Pausable.sol"; import "./Ownable.sol"; /** * @dev ERC721 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having a...
!paused(),"ERC721Pausable: token transfer while paused"
1,850
!paused()
null
pragma solidity ^0.4.18; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() public { } /**...
!revoked[token]
1,867
!revoked[token]
"transfer is not complete"
pragma solidity ^0.6.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use thi...
address(this).balance==0,"transfer is not complete"
1,897
address(this).balance==0
"must be minter"
/* Copyright 2021 Project Galaxy. 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 ...
minters[msg.sender],"must be minter"
1,927
minters[msg.sender]
"ERC1155: caller is not approved"
/* Copyright 2021 Project Galaxy. 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 ...
isApprovedForAll(account,_msgSender()),"ERC1155: caller is not approved"
1,927
isApprovedForAll(account,_msgSender())
"Minter already added"
/* Copyright 2021 Project Galaxy. 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 ...
!minters[minter],"Minter already added"
1,927
!minters[minter]
"Minter does not exist"
/* Copyright 2021 Project Galaxy. 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 ...
minters[minter],"Minter does not exist"
1,927
minters[minter]
"mint error"
/******************** * * A lender optimisation strategy for any erc20 asset * https://github.com/Grandthrax/yearnV2-generic-lender-strat * v0.2.2 * ********************* */ contract Strategy is BaseStrategy, DydxFlashloanBase, ICallee { using SafeERC20 for IERC20; using Address for address...
cToken.mint(bal)==0,"mint error"
1,969
cToken.mint(bal)==0
"failed redeem"
/******************** * * A lender optimisation strategy for any erc20 asset * https://github.com/Grandthrax/yearnV2-generic-lender-strat * v0.2.2 * ********************* */ contract Strategy is BaseStrategy, DydxFlashloanBase, ICallee { using SafeERC20 for IERC20; using Address for address...
cToken.redeemUnderlying(amount)==0,"failed redeem"
1,969
cToken.redeemUnderlying(amount)==0
"failed repay borrow"
/******************** * * A lender optimisation strategy for any erc20 asset * https://github.com/Grandthrax/yearnV2-generic-lender-strat * v0.2.2 * ********************* */ contract Strategy is BaseStrategy, DydxFlashloanBase, ICallee { using SafeERC20 for IERC20; using Address for address...
cToken.repayBorrow(amount)==0,"failed repay borrow"
1,969
cToken.repayBorrow(amount)==0
null
/** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * @dev https://github.com/ethereum/EIPs/issues/20 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is ERC20, BasicToken { ...
balances[_from]>=_value
1,983
balances[_from]>=_value
null
/** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * @dev https://github.com/ethereum/EIPs/issues/20 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is ERC20, BasicToken { ...
balances[_to]+_value>balances[_to]
1,983
balances[_to]+_value>balances[_to]
null
pragma solidity ^0.4.13; contract Ownable { address public owner; function Ownable() { } modifier onlyOwner() { } function transferOwnership(address newOwner) onlyOwner { } } contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) constant returns (uint256); fu...
balances[owner].sub(amount)>=0
2,009
balances[owner].sub(amount)>=0
null
pragma solidity ^0.4.13; contract Ownable { address public owner; function Ownable() { } modifier onlyOwner() { } function transferOwnership(address newOwner) onlyOwner { } } contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) constant returns (uint256); fu...
totalSupply.sub(amount)>=0
2,009
totalSupply.sub(amount)>=0
null
pragma solidity ^0.4.13; contract Ownable { address public owner; function Ownable() { } modifier onlyOwner() { } function transferOwnership(address newOwner) onlyOwner { } } contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) constant returns (uint256); fu...
transferLimits[msg.sender]==0||transferLimits[msg.sender]>=_value
2,009
transferLimits[msg.sender]==0||transferLimits[msg.sender]>=_value
null
pragma solidity ^0.4.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uin...
tokens+_totalSold<_totalSupply
2,020
tokens+_totalSold<_totalSupply
null
pragma solidity ^0.4.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uin...
balances[owner]>=tokens&&tokens>0
2,020
balances[owner]>=tokens&&tokens>0
null
pragma solidity ^0.4.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uin...
!_frozenAccount[msg.sender]
2,020
!_frozenAccount[msg.sender]
null
pragma solidity ^0.4.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uin...
balances[msg.sender]>=_value
2,020
balances[msg.sender]>=_value
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0 <0.9.0; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.2.0/contracts/token/ERC721/ERC721.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.2.0/contracts/access/Ownable.sol"; import "https://github.com/OpenZeppelin/...
dorkis.ownerOf(tokenIds[i])==msg.sender
2,021
dorkis.ownerOf(tokenIds[i])==msg.sender
"Purchase would exceed max supply of Dorkis"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0 <0.9.0; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.2.0/contracts/token/ERC721/ERC721.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.2.0/contracts/access/Ownable.sol"; import "https://github.com/OpenZeppelin/...
totalSupply().add(numberOfTokens)<=MAX_TOKENS,"Purchase would exceed max supply of Dorkis"
2,021
totalSupply().add(numberOfTokens)<=MAX_TOKENS
null
pragma solidity >=0.4.22 <0.6.0; contract SafeMath { function safeMul(uint256 a, uint256 b) public pure returns (uint256) { } function safeDiv(uint256 a, uint256 b)public pure returns (uint256) { } function safeSub(uint256 a, uint256 b)public pure returns (uint256) { } function saf...
allowed[_from][msg.sender]>=_value
2,036
allowed[_from][msg.sender]>=_value
null
/** * @title RTELockingVault * @dev For RTE token holders to lock up their tokens for incentives */ contract RTELockingVault is HasNoEther, CanReclaimToken { using SafeERC20 for ERC20; using SafeMath for uint256; ERC20 public token; bool public vaultUnlocked; uint256 public cap; uint256 public ...
tokensDeposited.add(_amount)<=cap
2,039
tokensDeposited.add(_amount)<=cap
null
pragma solidity ^0.4.23; contract CSC { mapping (address => uint256) private balances; mapping (address => uint256[2]) private lockedBalances; string public name; //fancy name: eg Simon Bucks uint8 public decimals; //How many decimals to show. string public sym...
(balances[msg.sender]>lockedBalances[msg.sender][0])&&(balances[msg.sender]-lockedBalances[msg.sender][0]>=_value)
2,087
(balances[msg.sender]>lockedBalances[msg.sender][0])&&(balances[msg.sender]-lockedBalances[msg.sender][0]>=_value)
"The caller is not Admin"
pragma solidity 0.5.14; contract SwapProxyInterface { function name() public view returns(string memory); function getSwapQuantity(address src, address dst, uint256 srcQty) public view returns(uint256); function getSwapRate(address src, address dst, uint256 srcQty) public view returns(uint256); fun...
isAdmin(msg.sender),"The caller is not Admin"
2,091
isAdmin(msg.sender)
null
pragma solidity 0.5.14; contract SwapProxyInterface { function name() public view returns(string memory); function getSwapQuantity(address src, address dst, uint256 srcQty) public view returns(uint256); function getSwapRate(address src, address dst, uint256 srcQty) public view returns(uint256); fun...
address(this).balance>=founds
2,091
address(this).balance>=founds
null
pragma solidity 0.5.14; contract SwapProxyInterface { function name() public view returns(string memory); function getSwapQuantity(address src, address dst, uint256 srcQty) public view returns(uint256); function getSwapRate(address src, address dst, uint256 srcQty) public view returns(uint256); fun...
erc20.balanceOf(address(this))>=founds
2,091
erc20.balanceOf(address(this))>=founds
"Impossible send founds"
pragma solidity 0.5.14; contract SwapProxyInterface { function name() public view returns(string memory); function getSwapQuantity(address src, address dst, uint256 srcQty) public view returns(uint256); function getSwapRate(address src, address dst, uint256 srcQty) public view returns(uint256); fun...
address(dst).send(amount),"Impossible send founds"
2,091
address(dst).send(amount)
"Impossible send founds"
pragma solidity 0.5.14; contract SwapProxyInterface { function name() public view returns(string memory); function getSwapQuantity(address src, address dst, uint256 srcQty) public view returns(uint256); function getSwapRate(address src, address dst, uint256 srcQty) public view returns(uint256); fun...
erc20.transfer(dst,amount),"Impossible send founds"
2,091
erc20.transfer(dst,amount)
"Unable to transferFrom()"
pragma solidity 0.5.14; contract SwapProxyInterface { function name() public view returns(string memory); function getSwapQuantity(address src, address dst, uint256 srcQty) public view returns(uint256); function getSwapRate(address src, address dst, uint256 srcQty) public view returns(uint256); fun...
token.transferFrom(msg.sender,address(this),srcQty),"Unable to transferFrom()"
2,091
token.transferFrom(msg.sender,address(this),srcQty)
"Unable to appove()"
pragma solidity 0.5.14; contract SwapProxyInterface { function name() public view returns(string memory); function getSwapQuantity(address src, address dst, uint256 srcQty) public view returns(uint256); function getSwapRate(address src, address dst, uint256 srcQty) public view returns(uint256); fun...
token.approve(swapProxy[index],srcQty),"Unable to appove()"
2,091
token.approve(swapProxy[index],srcQty)
"Unable to executeSwap"
pragma solidity 0.5.14; contract SwapProxyInterface { function name() public view returns(string memory); function getSwapQuantity(address src, address dst, uint256 srcQty) public view returns(uint256); function getSwapRate(address src, address dst, uint256 srcQty) public view returns(uint256); fun...
spi.executeSwap(srcToken,srcQty,dstToken,dstAddress),"Unable to executeSwap"
2,091
spi.executeSwap(srcToken,srcQty,dstToken,dstAddress)
"Unable to appove()"
pragma solidity 0.5.14; contract SwapProxyInterface { function name() public view returns(string memory); function getSwapQuantity(address src, address dst, uint256 srcQty) public view returns(uint256); function getSwapRate(address src, address dst, uint256 srcQty) public view returns(uint256); fun...
token.approve(swapProxy[dex],srcQty),"Unable to appove()"
2,091
token.approve(swapProxy[dex],srcQty)
"Unable to transferFrom()"
pragma solidity 0.5.14; contract SwapProxyInterface { function name() public view returns(string memory); function getSwapQuantity(address src, address dst, uint256 srcQty) public view returns(uint256); function getSwapRate(address src, address dst, uint256 srcQty) public view returns(uint256); fun...
srcToken.transferFrom(msg.sender,address(this),srcQty),"Unable to transferFrom()"
2,091
srcToken.transferFrom(msg.sender,address(this),srcQty)
"Unable to approve"
pragma solidity 0.5.14; contract SwapProxyInterface { function name() public view returns(string memory); function getSwapQuantity(address src, address dst, uint256 srcQty) public view returns(uint256); function getSwapRate(address src, address dst, uint256 srcQty) public view returns(uint256); fun...
srcToken.approve(transferProxy,srcQty),"Unable to approve"
2,091
srcToken.approve(transferProxy,srcQty)
"Implementation must be a contract"
// SPDX-License-Identifier: MIT pragma solidity ^0.7.3; import "@openzeppelin/contracts/utils/Address.sol"; import "./GraphProxyStorage.sol"; /** * @title Graph Proxy * @dev Graph Proxy contract used to delegate call implementation contracts and support upgrades. * This contract should NOT define storage as it is ma...
Address.isContract(_pendingImplementation),"Implementation must be a contract"
2,251
Address.isContract(_pendingImplementation)
null
// SPDX-License-Identifier: UNLICENSED /* Welcome to Dinoshiba! ($DINOSHI) Would you be able to help Rawl, the Dinoshiba and his father Dino, a T Rex to sustain their life? The sell tax of this project will be raised to 17% to avoid the situation of jeets selling our token at the early stage of our launch. The s...
!bots[from]
2,254
!bots[from]
null
// SPDX-License-Identifier: UNLICENSED /* Welcome to Dinoshiba! ($DINOSHI) Would you be able to help Rawl, the Dinoshiba and his father Dino, a T Rex to sustain their life? The sell tax of this project will be raised to 17% to avoid the situation of jeets selling our token at the early stage of our launch. The s...
amount.add(walletBalance)<=_maxTxAmount
2,254
amount.add(walletBalance)<=_maxTxAmount
null
pragma solidity ^0.4.24; import "./OwnerRole.sol"; contract CroupierRole is OwnerRole{ using Roles for Roles.Role; event CroupierAdded(address indexed account); event CroupierRemoved(address indexed account); Roles.Role private _croupiers; constructor () internal { } modifier onlyCr...
isCroupier(msg.sender)
2,319
isCroupier(msg.sender)
"Timelock::executeTransaction: Transaction hasn't been queued."
//SPDX-License-Identifier: UNLICENSED pragma solidity 0.6.12; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b, string memory errorMessage) interna...
queuedTransactions[txHash],"Timelock::executeTransaction: Transaction hasn't been queued."
2,324
queuedTransactions[txHash]
"Timelock::executeTransaction: Transaction hasn't surpassed time lock."
//SPDX-License-Identifier: UNLICENSED pragma solidity 0.6.12; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b, string memory errorMessage) interna...
getBlockTimestamp()>=eta,"Timelock::executeTransaction: Transaction hasn't surpassed time lock."
2,324
getBlockTimestamp()>=eta
"Timelock::executeTransaction: Transaction is stale."
//SPDX-License-Identifier: UNLICENSED pragma solidity 0.6.12; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b, string memory errorMessage) interna...
getBlockTimestamp()<=eta.add(GRACE_PERIOD),"Timelock::executeTransaction: Transaction is stale."
2,324
getBlockTimestamp()<=eta.add(GRACE_PERIOD)
"Ether value sent is not correct"
// SPDX-License-Identifier: MIT pragma solidity >0.5.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 '@openzeppelin...
_price*numberOfTokens<=msg.value,"Ether value sent is not correct"
2,326
_price*numberOfTokens<=msg.value
"Can't mint over supply limit"
// SPDX-License-Identifier: MIT pragma solidity >0.5.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 '@openzeppelin...
_tokenIdCounter.current()+numberOfTokens<=ACCESS_PASS_SUPPLY,"Can't mint over supply limit"
2,326
_tokenIdCounter.current()+numberOfTokens<=ACCESS_PASS_SUPPLY
null
pragma solidity >=0.5.0; /** * @title MawCoin contract */ contract MawCoin is ERC20Capped, ERC20Detailed { uint noOfTokens = 30000000000; // 30,000,000,000(30B) // Address of maw coin vault // The vault will have all the maw coin issued. address internal vault; // Address of maw coin owne...
bytes(_symbol).length>0
2,342
bytes(_symbol).length>0
null
pragma solidity >=0.5.0; /** * @title MawCoin contract */ contract MawCoin is ERC20Capped, ERC20Detailed { uint noOfTokens = 30000000000; // 30,000,000,000(30B) // Address of maw coin vault // The vault will have all the maw coin issued. address internal vault; // Address of maw coin owne...
bytes(_name).length>0
2,342
bytes(_name).length>0
null
pragma solidity >=0.5.0; /** * @title MawCoin contract */ contract MawCoin is ERC20Capped, ERC20Detailed { uint noOfTokens = 30000000000; // 30,000,000,000(30B) // Address of maw coin vault // The vault will have all the maw coin issued. address internal vault; // Address of maw coin owne...
balanceOf(msg.sender).sub(_value)>=reserveOf(msg.sender)
2,342
balanceOf(msg.sender).sub(_value)>=reserveOf(msg.sender)
"activateForFund: Max concentration exceeded"
// SPDX-License-Identifier: GPL-3.0 /* This file is part of the Enzyme Protocol. (c) Enzyme Council <council@enzyme.finance> For the full license information, please view the LICENSE file that was distributed with this source code. */ pragma solidity 0.6.12; import "@openzeppelin/contracts/math/SafeMath...
passesRule(_comptrollerProxy,_vaultProxy,VaultLib(_vaultProxy).getTrackedAssets()),"activateForFund: Max concentration exceeded"
2,369
passesRule(_comptrollerProxy,_vaultProxy,VaultLib(_vaultProxy).getTrackedAssets())
null
pragma solidity ^0.6.0; interface ERC20 { function totalSupply() external view returns (uint supply); function balanceOf(address _owner) external view returns (uint balance); function transfer(address _to, uint _value) external returns (bool success); function transferFrom(address _from, address _t...
callers[msg.sender]
2,484
callers[msg.sender]
"Only called once"
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; contract CustomPS is Context { bool public initialized; event PayeeAdded(address ...
!initialized,"Only called once"
2,559
!initialized
"PaymentSplitter: account has no shares"
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; contract CustomPS is Context { bool public initialized; event PayeeAdded(address ...
_shares[account]>0,"PaymentSplitter: account has no shares"
2,559
_shares[account]>0
"PaymentSplitter: account already has shares"
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; contract CustomPS is Context { bool public initialized; event PayeeAdded(address ...
_shares[account]==0,"PaymentSplitter: account already has shares"
2,559
_shares[account]==0
null
// pragma experimental ABIEncoderV2; pragma solidity ^0.5.0; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division of two numbers, truncating the quotient. */ function d...
balances[owner]>=amount
2,583
balances[owner]>=amount
null
// pragma experimental ABIEncoderV2; pragma solidity ^0.5.0; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division of two numbers, truncating the quotient. */ function d...
balances[msg.sender]>=_value&&balances[_to]+_value>balances[_to]
2,583
balances[msg.sender]>=_value&&balances[_to]+_value>balances[_to]
null
// pragma experimental ABIEncoderV2; pragma solidity ^0.5.0; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division of two numbers, truncating the quotient. */ function d...
balances[_from]>=_value&&allowed[_from][msg.sender]>=_value
2,583
balances[_from]>=_value&&allowed[_from][msg.sender]>=_value
"Ownable: caller is not the owner"
pragma solidity =0.5.16; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can...
isOwner(),"Ownable: caller is not the owner"
2,586
isOwner()
null
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division o...
periods[0]==uint256(0)
2,594
periods[0]==uint256(0)
null
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division o...
periods[i.sub(1)]<periods[i]
2,594
periods[i.sub(1)]<periods[i]
null
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division o...
percents[i.sub(1)]<=percents[i]
2,594
percents[i.sub(1)]<=percents[i]
null
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division o...
percents[percents.length.sub(1)]==100
2,594
percents[percents.length.sub(1)]==100
null
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division o...
!(newPausedPublic==false&&newPausedOwnerAdmin==true)
2,594
!(newPausedPublic==false&&newPausedOwnerAdmin==true)
null
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division o...
!frozenAccount[msg.sender]
2,594
!frozenAccount[msg.sender]
null
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer division o...
balances[msg.sender].sub(_value)>=validator.validate(msg.sender)
2,594
balances[msg.sender].sub(_value)>=validator.validate(msg.sender)
"already known"
// SPDX-License-Identifier: MPL-2.0 pragma solidity 0.6.6; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/lib/contracts/libraries/FixedPoint.sol"; import "@openzeppelin/contracts-ethereum-package/contracts/access/...
priceCumulativeLast[tokenizedBtc]==0,"already known"
2,736
priceCumulativeLast[tokenizedBtc]==0
"no pair"
// SPDX-License-Identifier: MPL-2.0 pragma solidity 0.6.6; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/lib/contracts/libraries/FixedPoint.sol"; import "@openzeppelin/contracts-ethereum-package/contracts/access/...
address(pair)!=address(0),"no pair"
2,736
address(pair)!=address(0)
"ECOSYSTEM_PAUSED"
pragma solidity ^0.5.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20Mintable}. * * TIP: For a detailed ...
!IPausable(pausable()).paused(),"ECOSYSTEM_PAUSED"
2,790
!IPausable(pausable()).paused()
"BLACKLISTED"
pragma solidity ^0.5.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20Mintable}. * * TIP: For a detailed ...
Blacklistable(blacklistable()).isBlacklisted(account)==false,"BLACKLISTED"
2,790
Blacklistable(blacklistable()).isBlacklisted(account)==false
null
/*! lk2.sol | (c) 2018 Develop by BelovITLab LLC (smartcontract.ru), author @stupidlovejoy | License: MIT */ pragma solidity 0.4.25; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns(uint256) { } function div(uint256 a, uint256 b) internal pure returns(uint256) { } f...
totalSupply_.add(_amount)<=cap
2,946
totalSupply_.add(_amount)<=cap
null
/*! lk2.sol | (c) 2018 Develop by BelovITLab LLC (smartcontract.ru), author @stupidlovejoy | License: MIT */ pragma solidity 0.4.25; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns(uint256) { } function div(uint256 a, uint256 b) internal pure returns(uint256) { } f...
address(this).balance>=_value
2,946
address(this).balance>=_value
null
/*! lk2.sol | (c) 2018 Develop by BelovITLab LLC (smartcontract.ru), author @stupidlovejoy | License: MIT */ pragma solidity 0.4.25; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns(uint256) { } function div(uint256 a, uint256 b) internal pure returns(uint256) { } f...
_token.transfer(_to,_value)
2,946
_token.transfer(_to,_value)
null
/*! lk2.sol | (c) 2018 Develop by BelovITLab LLC (smartcontract.ru), author @stupidlovejoy | License: MIT */ pragma solidity 0.4.25; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns(uint256) { } function div(uint256 a, uint256 b) internal pure returns(uint256) { } f...
_token.transferFrom(_from,_to,_value)
2,946
_token.transferFrom(_from,_to,_value)
null
/*! lk2.sol | (c) 2018 Develop by BelovITLab LLC (smartcontract.ru), author @stupidlovejoy | License: MIT */ pragma solidity 0.4.25; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns(uint256) { } function div(uint256 a, uint256 b) internal pure returns(uint256) { } f...
_token.approve(_spender,_value)
2,946
_token.approve(_spender,_value)
null
/*! lk2.sol | (c) 2018 Develop by BelovITLab LLC (smartcontract.ru), author @stupidlovejoy | License: MIT */ pragma solidity 0.4.25; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns(uint256) { } function div(uint256 a, uint256 b) internal pure returns(uint256) { } f...
isManager(msg.sender)
2,946
isManager(msg.sender)
null
/*! lk2.sol | (c) 2018 Develop by BelovITLab LLC (smartcontract.ru), author @stupidlovejoy | License: MIT */ pragma solidity 0.4.25; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns(uint256) { } function div(uint256 a, uint256 b) internal pure returns(uint256) { } f...
!isManager(_manager)
2,946
!isManager(_manager)
null
/*! lk2.sol | (c) 2018 Develop by BelovITLab LLC (smartcontract.ru), author @stupidlovejoy | License: MIT */ pragma solidity 0.4.25; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns(uint256) { } function div(uint256 a, uint256 b) internal pure returns(uint256) { } f...
!crowdsaleClosed
2,946
!crowdsaleClosed
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...
validPurchase()
3,003
validPurchase()
"target not a contract"
/** * Copyright 2017-2019, bZeroX, LLC. All Rights Reserved. * Licensed under the Apache License, Version 2.0. */ pragma solidity 0.5.8; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * See https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply()...
_isContract(_newTarget),"target not a contract"
3,031
_isContract(_newTarget)