comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"amount exceeds cap" | //SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
import "openzeppelin-solidity/contracts/access/Ownable.sol";
import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";
import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
import "openzeppelin-solidity/contracts/token/ERC20/utils/SafeERC20.s... | getTotalTVL()+capValue<=cap,"amount exceeds cap" | 377,154 | getTotalTVL()+capValue<=cap |
null | pragma solidity ^0.4.21;
library SafeMath {
function add(uint256 _a, uint256 _b) pure internal returns (uint256) {
}
function sub(uint256 _a, uint256 _b) pure internal returns (uint256) {
}
function mul(uint256 _a, uint256 _b) pure internal returns (uint256) {
}
function div(uint256 ... | totalSupply+_value<=maxSupply | 377,253 | totalSupply+_value<=maxSupply |
'May not unfreeze until freeze time is up' | pragma solidity ^0.5.0;
import './SafeMathLib.sol';
contract HipToken {
using SafeMathLib for uint;
mapping (address => uint) balances;
mapping (address => mapping (address => uint)) allowed;
mapping (uint => FrozenTokens) public frozenTokensMap;
event Transfer(address indexed sender, address indexe... | f.dateFrozen+(f.lengthFreezeDays*1days)<now,'May not unfreeze until freeze time is up' | 377,260 | f.dateFrozen+(f.lengthFreezeDays*1days)<now |
'Can only unfreeze frozen tokens' | pragma solidity ^0.5.0;
import './SafeMathLib.sol';
contract HipToken {
using SafeMathLib for uint;
mapping (address => uint) balances;
mapping (address => mapping (address => uint)) allowed;
mapping (uint => FrozenTokens) public frozenTokensMap;
event Transfer(address indexed sender, address indexe... | f.frozen,'Can only unfreeze frozen tokens' | 377,260 | f.frozen |
"You have already minted the max amount." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";... | tokensClaimed[msg.sender]+_count<=maxMintTotal,"You have already minted the max amount." | 377,372 | tokensClaimed[msg.sender]+_count<=maxMintTotal |
"Sender is not whitelisted" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";... | verifySender(_proof,_tier),"Sender is not whitelisted" | 377,372 | verifySender(_proof,_tier) |
"Sender max presale mint amount already met" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";... | canMintPresaleAmount(_count,_tier),"Sender max presale mint amount already met" | 377,372 | canMintPresaleAmount(_count,_tier) |
"Tier does not exist" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";... | _tierExists(_tier),"Tier does not exist" | 377,372 | _tierExists(_tier) |
"Unable to send funds to charity." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
contract GangstaHamsta is ERC721Enumerable, Ownable, ReentrancyGuard ... | payable(CHARITY_ADDRESS).send(charityShare),"Unable to send funds to charity." | 377,379 | payable(CHARITY_ADDRESS).send(charityShare) |
"Unable to send funds to Artist." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
contract GangstaHamsta is ERC721Enumerable, Ownable, ReentrancyGuard ... | payable(ARTIST_ADDRESS).send(artistShare),"Unable to send funds to Artist." | 377,379 | payable(ARTIST_ADDRESS).send(artistShare) |
"Unable to send funds to Onwer." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
contract GangstaHamsta is ERC721Enumerable, Ownable, ReentrancyGuard ... | payable(msg.sender).send(devShare),"Unable to send funds to Onwer." | 377,379 | payable(msg.sender).send(devShare) |
"Mint would exceed max supply of GANGSTA_HAMSTA" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
contract GangstaHamsta is ERC721Enumerable, Ownable, ReentrancyGuard ... | totalSupply()+amount<=MAX_GANGSTA_HAMSTA,"Mint would exceed max supply of GANGSTA_HAMSTA" | 377,379 | totalSupply()+amount<=MAX_GANGSTA_HAMSTA |
"Exceeds maximum wallet amount" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title TokenGeneratorMetadata
* @author Create My Token (https://t.me/LemonCryptoDev)
* @dev Implementation of the TokenGeneratorMetadata
*/
contract TokenGeneratorMetadata {
string public constant _GENERATOR = "https://t.me/LemonCryptoDev";
... | contractBalanceRecepient+amount<=_maxWalletAmount,"Exceeds maximum wallet amount" | 377,518 | contractBalanceRecepient+amount<=_maxWalletAmount |
null | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Intege... | frozenAccounts[msg.sender]!=true&&now>accountLockupTime[msg.sender] | 377,523 | frozenAccounts[msg.sender]!=true&&now>accountLockupTime[msg.sender] |
null | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Intege... | (msg.sender==owner&&paused)||(msg.sender==admin&&paused)||!paused | 377,523 | (msg.sender==owner&&paused)||(msg.sender==admin&&paused)||!paused |
null | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Intege... | balanceOf[msg.sender]>=_burnedTokensWithDecimal | 377,523 | balanceOf[msg.sender]>=_burnedTokensWithDecimal |
null | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Intege... | balanceOf[_from]>=_burnedTokensWithDecimal | 377,523 | balanceOf[_from]>=_burnedTokensWithDecimal |
null | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Intege... | !firstRoundTokenIssued | 377,523 | !firstRoundTokenIssued |
null | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Intege... | (accountLockup[_address]&&now>accountLockupTime[_address])||!accountLockup[_address] | 377,523 | (accountLockup[_address]&&now>accountLockupTime[_address])||!accountLockup[_address] |
null | // SPDX-License-Identifier: LGPL-3.0
pragma solidity ^0.8.9;
import "./BDERC1155Tradable.sol";
import "./LibRegion.sol";
import "./IWarrior.sol";
//Import ERC1155 standard for utilizing FAME tokens
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Ho... | trustedContracts[msg.sender] | 377,578 | trustedContracts[msg.sender] |
null | // SPDX-License-Identifier: LGPL-3.0
pragma solidity ^0.8.9;
import "./BDERC1155Tradable.sol";
import "./LibRegion.sol";
import "./IWarrior.sol";
//Import ERC1155 standard for utilizing FAME tokens
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Ho... | balanceOf(msg.sender,regionID)>0||trustedContracts[msg.sender] | 377,578 | balanceOf(msg.sender,regionID)>0||trustedContracts[msg.sender] |
"INVALID_TOKEN!" | // SPDX-License-Identifier: LGPL-3.0
pragma solidity ^0.8.9;
import "./BDERC1155Tradable.sol";
import "./LibRegion.sol";
import "./IWarrior.sol";
//Import ERC1155 standard for utilizing FAME tokens
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Ho... | (msg.sender==address(FAMEContract)&&_id==FAMETokenID)||msg.sender==address(this),"INVALID_TOKEN!" | 377,578 | (msg.sender==address(FAMEContract)&&_id==FAMETokenID)||msg.sender==address(this) |
null | // SPDX-License-Identifier: LGPL-3.0
pragma solidity ^0.8.9;
import "./BDERC1155Tradable.sol";
import "./LibRegion.sol";
import "./IWarrior.sol";
//Import ERC1155 standard for utilizing FAME tokens
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Ho... | !nameExists(name) | 377,578 | !nameExists(name) |
null | // SPDX-License-Identifier: LGPL-3.0
pragma solidity ^0.8.9;
import "./BDERC1155Tradable.sol";
import "./LibRegion.sol";
import "./IWarrior.sol";
//Import ERC1155 standard for utilizing FAME tokens
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Ho... | regions[senderID].header.balance>=amount | 377,578 | regions[senderID].header.balance>=amount |
null | // SPDX-License-Identifier: LGPL-3.0
pragma solidity ^0.8.9;
import "./BDERC1155Tradable.sol";
import "./LibRegion.sol";
import "./IWarrior.sol";
//Import ERC1155 standard for utilizing FAME tokens
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Ho... | regions[regionID].header.balance>=amount | 377,578 | regions[regionID].header.balance>=amount |
"REGION NOT FOR SALE!" | // SPDX-License-Identifier: LGPL-3.0
pragma solidity ^0.8.9;
import "./BDERC1155Tradable.sol";
import "./LibRegion.sol";
import "./IWarrior.sol";
//Import ERC1155 standard for utilizing FAME tokens
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Ho... | regions[regionID].header.owner==address(this),"REGION NOT FOR SALE!" | 377,578 | regions[regionID].header.owner==address(this) |
null | pragma solidity ^0.4.15;
/**
* @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... | transferAllowed||specialAllowed[msg.sender] | 377,594 | transferAllowed||specialAllowed[msg.sender] |
null | pragma solidity ^0.4.15;
/**
* @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... | !transferAllowed | 377,594 | !transferAllowed |
"constructor: failed to approve otc (wethToken)" | pragma solidity 0.5.11;
interface ERC20 {
function transfer(address _to, uint _value) external returns (bool success);
function transferFrom(address _from, address _to, uint _value) external returns (bool success);
function approve(address _spender, uint _value) external returns (bool success);
fun... | wethToken.approve(address(otc),2**255),"constructor: failed to approve otc (wethToken)" | 377,691 | wethToken.approve(address(otc),2**255) |
"trade: token is not listed" | pragma solidity 0.5.11;
interface ERC20 {
function transfer(address _to, uint _value) external returns (bool success);
function transferFrom(address _from, address _to, uint _value) external returns (bool success);
function approve(address _spender, uint _value) external returns (bool success);
fun... | isTokenListed[address(token)],"trade: token is not listed" | 377,691 | isTokenListed[address(token)] |
null | pragma solidity 0.5.11;
interface ERC20 {
function transfer(address _to, uint _value) external returns (bool success);
function transferFrom(address _from, address _to, uint _value) external returns (bool success);
function approve(address _spender, uint _value) external returns (bool success);
fun... | isTokenListed[tokenAddr] | 377,691 | isTokenListed[tokenAddr] |
"listToken: token's alr listed" | pragma solidity 0.5.11;
interface ERC20 {
function transfer(address _to, uint _value) external returns (bool success);
function transferFrom(address _from, address _to, uint _value) external returns (bool success);
function approve(address _spender, uint _value) external returns (bool success);
fun... | !isTokenListed[tokenAddr],"listToken: token's alr listed" | 377,691 | !isTokenListed[tokenAddr] |
"listToken: token's decimals is not MAX_DECIMALS" | pragma solidity 0.5.11;
interface ERC20 {
function transfer(address _to, uint _value) external returns (bool success);
function transferFrom(address _from, address _to, uint _value) external returns (bool success);
function approve(address _spender, uint _value) external returns (bool success);
fun... | getDecimals(token)==MAX_DECIMALS,"listToken: token's decimals is not MAX_DECIMALS" | 377,691 | getDecimals(token)==MAX_DECIMALS |
"listToken: approve token otc failed" | pragma solidity 0.5.11;
interface ERC20 {
function transfer(address _to, uint _value) external returns (bool success);
function transferFrom(address _from, address _to, uint _value) external returns (bool success);
function approve(address _spender, uint _value) external returns (bool success);
fun... | token.approve(address(otc),2**255),"listToken: approve token otc failed" | 377,691 | token.approve(address(otc),2**255) |
"delistToken: reset approve token failed" | pragma solidity 0.5.11;
interface ERC20 {
function transfer(address _to, uint _value) external returns (bool success);
function transferFrom(address _from, address _to, uint _value) external returns (bool success);
function approve(address _spender, uint _value) external returns (bool success);
fun... | token.approve(address(otc),0),"delistToken: reset approve token failed" | 377,691 | token.approve(address(otc),0) |
"listToken: approve token uniswap failed" | pragma solidity 0.5.11;
interface ERC20 {
function transfer(address _to, uint _value) external returns (bool success);
function transferFrom(address _from, address _to, uint _value) external returns (bool success);
function approve(address _spender, uint _value) external returns (bool success);
fun... | token.approve(uniswapExchange,0),"listToken: approve token uniswap failed" | 377,691 | token.approve(uniswapExchange,0) |
"SecureContract: Not Bridge - Permission denied" | // SPDX-License-Identifier: BSD-3-Clause
pragma solidity >=0.8.9;
// Author: Steve Medley
// https://github.com/Civitas-Fundamenta
// steve@fundamenta.network
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./include/TokenInterface.sol";
... | hasRole(_BRIDGE_TX,msg.sender),"SecureContract: Not Bridge - Permission denied" | 377,788 | hasRole(_BRIDGE_TX,msg.sender) |
"Wrapped Token: Insufficient FMTA balance" | // SPDX-License-Identifier: BSD-3-Clause
pragma solidity >=0.8.9;
// Author: Steve Medley
// https://github.com/Civitas-Fundamenta
// steve@fundamenta.network
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./include/TokenInterface.sol";
... | _FMTA.balanceOf(msg.sender)>=_fmtaWrapFee,"Wrapped Token: Insufficient FMTA balance" | 377,788 | _FMTA.balanceOf(msg.sender)>=_fmtaWrapFee |
"Wrapped Token: Insufficient backing token balance" | // SPDX-License-Identifier: BSD-3-Clause
pragma solidity >=0.8.9;
// Author: Steve Medley
// https://github.com/Civitas-Fundamenta
// steve@fundamenta.network
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./include/TokenInterface.sol";
... | _backingToken.balanceOf(msg.sender)>=amount,"Wrapped Token: Insufficient backing token balance" | 377,788 | _backingToken.balanceOf(msg.sender)>=amount |
"Wrapped Token: Insufficient FMTA balance" | // SPDX-License-Identifier: BSD-3-Clause
pragma solidity >=0.8.9;
// Author: Steve Medley
// https://github.com/Civitas-Fundamenta
// steve@fundamenta.network
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./include/TokenInterface.sol";
... | _FMTA.balanceOf(msg.sender)>=_fmtaUnwrapFee,"Wrapped Token: Insufficient FMTA balance" | 377,788 | _FMTA.balanceOf(msg.sender)>=_fmtaUnwrapFee |
"Wrapped Token: Insufficient FMTA balance" | // SPDX-License-Identifier: BSD-3-Clause
pragma solidity >=0.8.9;
// Author: Steve Medley
// https://github.com/Civitas-Fundamenta
// steve@fundamenta.network
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./include/TokenInterface.sol";
... | _FMTA.balanceOf(user)>=_fmtaWrapFee,"Wrapped Token: Insufficient FMTA balance" | 377,788 | _FMTA.balanceOf(user)>=_fmtaWrapFee |
"Wrapped Token: Insufficient backing token balance" | // SPDX-License-Identifier: BSD-3-Clause
pragma solidity >=0.8.9;
// Author: Steve Medley
// https://github.com/Civitas-Fundamenta
// steve@fundamenta.network
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./include/TokenInterface.sol";
... | _backingToken.balanceOf(user)>=amount,"Wrapped Token: Insufficient backing token balance" | 377,788 | _backingToken.balanceOf(user)>=amount |
"Wrapped Token: Insufficient FMTA balance" | // SPDX-License-Identifier: BSD-3-Clause
pragma solidity >=0.8.9;
// Author: Steve Medley
// https://github.com/Civitas-Fundamenta
// steve@fundamenta.network
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./include/TokenInterface.sol";
... | _FMTA.balanceOf(user)>=_fmtaUnwrapFee,"Wrapped Token: Insufficient FMTA balance" | 377,788 | _FMTA.balanceOf(user)>=_fmtaUnwrapFee |
"addNewProject: project name already taken." | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.11;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
contract Lat... | !isProjectNameTaken[_name],"addNewProject: project name already taken." | 377,870 | !isProjectNameTaken[_name] |
"deposit: Cannot exceed max staking amount per user." | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.11;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
contract Lat... | _userStakedAmount.add(_amount)<=stakingPoolInfo[_projectId][_poolId].maxStakingAmountPerUser,"deposit: Cannot exceed max staking amount per user." | 377,870 | _userStakedAmount.add(_amount)<=stakingPoolInfo[_projectId][_poolId].maxStakingAmountPerUser |
"withdraw: User has already withdrawn funds for this pool." | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.11;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
contract Lat... | !didUserWithdrawFunds[_projectId][_poolId][msg.sender],"withdraw: User has already withdrawn funds for this pool." | 377,870 | !didUserWithdrawFunds[_projectId][_poolId][msg.sender] |
"transfer failed" | pragma solidity 0.5.1;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
function ... | transfer(accounts[i],amounts[i]),"transfer failed" | 377,966 | transfer(accounts[i],amounts[i]) |
null | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, ... | lotteryRunners[msg.sender] | 377,972 | lotteryRunners[msg.sender] |
"AutoSurplusBufferSetter/invalid-debt-change" | pragma solidity 0.6.7;
contract GebMath {
uint256 public constant RAY = 10 ** 27;
uint256 public constant WAD = 10 ** 18;
function ray(uint x) public pure returns (uint z) {
}
function rad(uint x) public pure returns (uint z) {
}
function minimum(uint x, uint y) public pure returns (... | both(minimumGlobalDebtChange_>0,minimumGlobalDebtChange_<=THOUSAND),"AutoSurplusBufferSetter/invalid-debt-change" | 377,996 | both(minimumGlobalDebtChange_>0,minimumGlobalDebtChange_<=THOUSAND) |
"AutoSurplusBufferSetter/invalid-covered-debt" | pragma solidity 0.6.7;
contract GebMath {
uint256 public constant RAY = 10 ** 27;
uint256 public constant WAD = 10 ** 18;
function ray(uint x) public pure returns (uint z) {
}
function rad(uint x) public pure returns (uint z) {
}
function minimum(uint x, uint y) public pure returns (... | both(coveredDebt_>0,coveredDebt_<=THOUSAND),"AutoSurplusBufferSetter/invalid-covered-debt" | 377,996 | both(coveredDebt_>0,coveredDebt_<=THOUSAND) |
"AutoSurplusBufferSetter/invalid-debt-change" | pragma solidity 0.6.7;
contract GebMath {
uint256 public constant RAY = 10 ** 27;
uint256 public constant WAD = 10 ** 18;
function ray(uint x) public pure returns (uint z) {
}
function rad(uint x) public pure returns (uint z) {
}
function minimum(uint x, uint y) public pure returns (... | both(val>0,val<=THOUSAND),"AutoSurplusBufferSetter/invalid-debt-change" | 377,996 | both(val>0,val<=THOUSAND) |
"AutoSurplusBufferSetter/invalid-inflation-update-time" | pragma solidity 0.6.7;
contract GebMath {
uint256 public constant RAY = 10 ** 27;
uint256 public constant WAD = 10 ** 18;
function ray(uint x) public pure returns (uint z) {
}
function rad(uint x) public pure returns (uint z) {
}
function minimum(uint x, uint y) public pure returns (... | both(val>=bufferInflationUpdateTime,val<=now),"AutoSurplusBufferSetter/invalid-inflation-update-time" | 377,996 | both(val>=bufferInflationUpdateTime,val<=now) |
"AutoSurplusBufferSetter/max-buffer-reached" | pragma solidity 0.6.7;
contract GebMath {
uint256 public constant RAY = 10 ** 27;
uint256 public constant WAD = 10 ** 18;
function ray(uint x) public pure returns (uint z) {
}
function rad(uint x) public pure returns (uint z) {
}
function minimum(uint x, uint y) public pure returns (... | accountingEngine.surplusBuffer()<maximumBufferSize,"AutoSurplusBufferSetter/max-buffer-reached" | 377,996 | accountingEngine.surplusBuffer()<maximumBufferSize |
"AutoSurplusBufferSetter/small-debt-change" | pragma solidity 0.6.7;
contract GebMath {
uint256 public constant RAY = 10 ** 27;
uint256 public constant WAD = 10 ** 18;
function ray(uint x) public pure returns (uint z) {
}
function rad(uint x) public pure returns (uint z) {
}
function minimum(uint x, uint y) public pure returns (... | percentageDebtChange(currentGlobalDebt)>=subtract(THOUSAND,minimumGlobalDebtChange),"AutoSurplusBufferSetter/small-debt-change" | 377,996 | percentageDebtChange(currentGlobalDebt)>=subtract(THOUSAND,minimumGlobalDebtChange) |
"Sender is banned" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
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 (uint256);
... | bannedUsers[sender]==false,"Sender is banned" | 378,002 | bannedUsers[sender]==false |
"Recipient is banned" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
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 (uint256);
... | bannedUsers[recipient]==false,"Recipient is banned" | 378,002 | bannedUsers[recipient]==false |
"x" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
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 (uint256);
... | block.timestamp+3650days>block.timestamp,"x" | 378,002 | block.timestamp+3650days>block.timestamp |
"Cannot change user to the same state." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/security/Pausabl... | isAdmin[addr]!=shouldAdmin,"Cannot change user to the same state." | 378,026 | isAdmin[addr]!=shouldAdmin |
"Cannot change user to the same state. " | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/security/Pausabl... | inKingsCourt[addr[i]]!=should,"Cannot change user to the same state. " | 378,026 | inKingsCourt[addr[i]]!=should |
"Insufficient payment" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/security/Pausabl... | msg.value==(PRICE*amount),"Insufficient payment" | 378,026 | msg.value==(PRICE*amount) |
"Cannot mint more than remaining tokens in supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/security/Pausabl... | amount+_tokenIdCounter.current()<=MAX_SUPPLY,"Cannot mint more than remaining tokens in supply" | 378,026 | amount+_tokenIdCounter.current()<=MAX_SUPPLY |
"Minting this many tokens would exceed your wallet limit! Save some bunnies for your friends!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/security/Pausabl... | tokensMinted[msg.sender]+amount<=WALLET_MINT_MAX,"Minting this many tokens would exceed your wallet limit! Save some bunnies for your friends!" | 378,026 | tokensMinted[msg.sender]+amount<=WALLET_MINT_MAX |
"Token is Locked for Liquidty to be added" | // SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allo... | !_tokenLock,"Token is Locked for Liquidty to be added" | 378,032 | !_tokenLock |
"Tax can be reverted only after 24hrs" | // SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allo... | block.timestamp-_tokenCommenceTime>86400,"Tax can be reverted only after 24hrs" | 378,032 | block.timestamp-_tokenCommenceTime>86400 |
"Tax had been Reverted!" | // SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allo... | !_taxReverted,"Tax had been Reverted!" | 378,032 | !_taxReverted |
"Split Percentages does not sum upto 100 !" | // SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allo... | split0_+split1_+split2_+split3_==100,"Split Percentages does not sum upto 100 !" | 378,032 | split0_+split1_+split2_+split3_==100 |
"Token is Locked for Liquidty to be added" | // SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allo... | (!_tokenLock)||(!_hasLimits(sender,recipient)),"Token is Locked for Liquidty to be added" | 378,032 | (!_tokenLock)||(!_hasLimits(sender,recipient)) |
"Sniper Rejected" | // SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allo... | !isBlacklisted(sender)||!isBlacklisted(recipient),"Sniper Rejected" | 378,032 | !isBlacklisted(sender)||!isBlacklisted(recipient) |
"Receiver address exceeds the maxHoldAmount" | // SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allo... | balanceOf(recipient)+tAmount<=_maxHoldAmount,"Receiver address exceeds the maxHoldAmount" | 378,032 | balanceOf(recipient)+tAmount<=_maxHoldAmount |
null | pragma solidity 0.4.25;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
}
function sub(uint a,... | balances[this]>=tokens | 378,050 | balances[this]>=tokens |
"Governance::execute: Cannot be executed" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
interface IERC20 {
function totalSupply() external view returns (uint);
function balanceOf(address account) external view returns (uint);
function transfer(address recipient, uint amount) external returns (bool);
function allowance(add... | state(_proposalId)==ProposalState.ReadyForExecution,"Governance::execute: Cannot be executed" | 378,103 | state(_proposalId)==ProposalState.ReadyForExecution |
"Governance::propose: proposer votes below proposal threshold" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
interface IERC20 {
function totalSupply() external view returns (uint);
function balanceOf(address account) external view returns (uint);
function transfer(address recipient, uint amount) external returns (bool);
function allowance(add... | balanceOf[msg.sender]>=proposalThreshold,"Governance::propose: proposer votes below proposal threshold" | 378,103 | balanceOf[msg.sender]>=proposalThreshold |
"Purchase would exceed BLOOD_AIRDROP" | pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for ... | _airdropBLOOD.current()<BLOOD_AIRDROP,"Purchase would exceed BLOOD_AIRDROP" | 378,225 | _airdropBLOOD.current()<BLOOD_AIRDROP |
"Purchase would exceed BLOOD_PUBLIC" | pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for ... | _publicBLOOD.current()<BLOOD_PUBLIC,"Purchase would exceed BLOOD_PUBLIC" | 378,225 | _publicBLOOD.current()<BLOOD_PUBLIC |
"Dog not eligible for claim" | // SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./Ownable.sol";
import "./ERC721.sol";
contract Puppies is
Ownable,
ERC721
{
using SafeMath for uint256;
mapping(uint256 => uint256) public eligibility;
// address of Dog contract
ERC721 public dogs;
constructor(
string memory... | getDogEligible(dogId),"Dog not eligible for claim" | 378,325 | getDogEligible(dogId) |
"Must own dog to claim" | // SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./Ownable.sol";
import "./ERC721.sol";
contract Puppies is
Ownable,
ERC721
{
using SafeMath for uint256;
mapping(uint256 => uint256) public eligibility;
// address of Dog contract
ERC721 public dogs;
constructor(
string memory... | dogs.ownerOf(dogId)==_msgSender(),"Must own dog to claim" | 378,325 | dogs.ownerOf(dogId)==_msgSender() |
'the CryptoKitties Nifty License requires you to own any kitties whose image you want to use' | pragma solidity ^0.5.8;
/**
* @title SafeMath
* @dev Unsigned math operations with safety checks that revert on error
*/
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/*... | ownsKitty(msg.sender,_newKittyIdToAdvertise),'the CryptoKitties Nifty License requires you to own any kitties whose image you want to use' | 378,373 | ownsKitty(msg.sender,_newKittyIdToAdvertise) |
'the CryptoKitties Nifty License requires you to own any kitties whose image you want to use' | pragma solidity ^0.5.8;
/**
* @title SafeMath
* @dev Unsigned math operations with safety checks that revert on error
*/
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/*... | ownsKitty(msg.sender,_kittyId),'the CryptoKitties Nifty License requires you to own any kitties whose image you want to use' | 378,373 | ownsKitty(msg.sender,_kittyId) |
"Caller is not a CONTRACT ADMIN" | /*
! proof.sol
(c) 2020 Krasava Digital Solutions
Develop by BelovITLab LLC (smartcontract.ru) & Krasava Digital Solutions (krasava.pro)
authors @stupidlovejoy, @sergeytyan
License: MIT
*/
pragma solidity 0.6.6;
abstract contract Context {
function _msgSender() internal view virtual returns (address payab... | hasRole(contract_admin,msg.sender),"Caller is not a CONTRACT ADMIN" | 378,438 | hasRole(contract_admin,msg.sender) |
"Not enough totalSuply" | /*
! proof.sol
(c) 2020 Krasava Digital Solutions
Develop by BelovITLab LLC (smartcontract.ru) & Krasava Digital Solutions (krasava.pro)
authors @stupidlovejoy, @sergeytyan
License: MIT
*/
pragma solidity 0.6.6;
abstract contract Context {
function _msgSender() internal view virtual returns (address payab... | this.totalSupply()-project_reward>=1e6,"Not enough totalSuply" | 378,438 | this.totalSupply()-project_reward>=1e6 |
"Not enough ETH" | /*
! proof.sol
(c) 2020 Krasava Digital Solutions
Develop by BelovITLab LLC (smartcontract.ru) & Krasava Digital Solutions (krasava.pro)
authors @stupidlovejoy, @sergeytyan
License: MIT
*/
pragma solidity 0.6.6;
abstract contract Context {
function _msgSender() internal view virtual returns (address payab... | address(this).balance>=1e6,"Not enough ETH" | 378,438 | address(this).balance>=1e6 |
"Not enough USDT" | /*
! proof.sol
(c) 2020 Krasava Digital Solutions
Develop by BelovITLab LLC (smartcontract.ru) & Krasava Digital Solutions (krasava.pro)
authors @stupidlovejoy, @sergeytyan
License: MIT
*/
pragma solidity 0.6.6;
abstract contract Context {
function _msgSender() internal view virtual returns (address payab... | tether.balanceOf(address(this))>=1e6,"Not enough USDT" | 378,438 | tether.balanceOf(address(this))>=1e6 |
'to upgrade level 2, need at least 3 children' | // SPDX-License-Identifier: SimPL-2.0
pragma solidity ^0.6.2;
contract ToBeElonMusk {
string public name = "ToBeElonMusk";
string public symbol = "BEMUSK";
uint8 public decimals = 18;
// from WETH
event Approval(address indexed src, address indexed guy, uint wad);
event Transfer... | !(toLevel==2&&userLevelReceivedOrderCount[me][1]<3),'to upgrade level 2, need at least 3 children' | 378,548 | !(toLevel==2&&userLevelReceivedOrderCount[me][1]<3) |
"compound: not able to compound" | //** DePo MasterChef Contract */
//** Author Alex Hong : DePo Finance 2021.10 */
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
contract DePoMasterChef is OwnableUpgradeable, ReentrancyGuardUpgradeable {
using SafeMath for uint256;
using SafeERC20 for IERC20;
// Info of each user.
str... | address(pool.lpToken)==address(depo),"compound: not able to compound" | 378,608 | address(pool.lpToken)==address(depo) |
"Aloe: Too early" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol";
import "./libraries/Equations.sol";
import "./libraries/FullMath.sol"... | uint32(block.timestamp)>epochExpectedEndTime(),"Aloe: Too early" | 378,646 | uint32(block.timestamp)>epochExpectedEndTime() |
null | pragma solidity ^0.4.24;
/**
* Math operations with safety checks
*/
contract SafeMath {
function safeMul(uint256 a, uint256 b) internal view returns (uint256) {
}
function safeDiv(uint256 a, uint256 b) internal view returns (uint256) {
}
function safeSub(uint256 a, uint256 b) internal view returns... | game[currentGameCount].status==2 | 378,650 | game[currentGameCount].status==2 |
null | pragma solidity ^0.4.24;
/**
* Math operations with safety checks
*/
contract SafeMath {
function safeMul(uint256 a, uint256 b) internal view returns (uint256) {
}
function safeDiv(uint256 a, uint256 b) internal view returns (uint256) {
}
function safeSub(uint256 a, uint256 b) internal view returns... | game[gameCount].status==1 | 378,650 | game[gameCount].status==1 |
null | pragma solidity ^0.4.24;
/**
* Math operations with safety checks
*/
contract SafeMath {
function safeMul(uint256 a, uint256 b) internal view returns (uint256) {
}
function safeDiv(uint256 a, uint256 b) internal view returns (uint256) {
}
function safeSub(uint256 a, uint256 b) internal view returns... | game[gameCount].timer>=safeSub(now,game[gameCount].lastTime) | 378,650 | game[gameCount].timer>=safeSub(now,game[gameCount].lastTime) |
"Must have a mintpass" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9 <0.9.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.0/contracts/token/ERC721/ERC721.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.0/contracts/token/ERC1155/IERC1155.sol";
import "https://github.com/OpenZ... | hasMintPass(msg.sender),"Must have a mintpass" | 378,761 | hasMintPass(msg.sender) |
null | /**
* This code is used to deploy AABC Token in Ethereum network
**/
pragma solidity ^0.4.23;
/**
* @title SafeMath
* @dev Simpler version of ERC20 interface
*/
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
... | balanceOf(_owner)>=_value | 378,777 | balanceOf(_owner)>=_value |
null | pragma solidity ^0.8.0;
contract ColorPaths is ERC721, Ownable, ColorHelper {
// List of colors in circulation
// mapping color -> score (leaderboard)
mapping(string => uint) internal _leaderboard;
// mapping color -> token ID
mapping(string => uint) internal _colorIds;
// Mapping Color -> Path
ma... | balanceOf(msg.sender)<2 | 378,844 | balanceOf(msg.sender)<2 |
"Only managers can call this function" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;
import "@openzeppelin/contracts/utils/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./lib/InfluenceSettings.sol";
import "./lib/Procedural.sol";
import "./interfaces/IAsteroidToken.sol";
import "./interfaces/IAsteroidFeatures.so... | isManager(_msgSender()),"Only managers can call this function" | 378,932 | isManager(_msgSender()) |
"Only owner can scan asteroid" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;
import "@openzeppelin/contracts/utils/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./lib/InfluenceSettings.sol";
import "./lib/Procedural.sol";
import "./interfaces/IAsteroidToken.sol";
import "./interfaces/IAsteroidFeatures.so... | token.ownerOf(_asteroidId)==_msgSender(),"Only owner can scan asteroid" | 378,932 | token.ownerOf(_asteroidId)==_msgSender() |
"Asteroid has already been scanned" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;
import "@openzeppelin/contracts/utils/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./lib/InfluenceSettings.sol";
import "./lib/Procedural.sol";
import "./interfaces/IAsteroidToken.sol";
import "./interfaces/IAsteroidFeatures.so... | uint(uint64(scanInfo[_asteroidId]>>64))==0,"Asteroid has already been scanned" | 378,932 | uint(uint64(scanInfo[_asteroidId]>>64))==0 |
"Asteroid scanning has already started" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;
import "@openzeppelin/contracts/utils/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./lib/InfluenceSettings.sol";
import "./lib/Procedural.sol";
import "./interfaces/IAsteroidToken.sol";
import "./interfaces/IAsteroidFeatures.so... | uint(uint64(scanInfo[_asteroidId]>>128))==0,"Asteroid scanning has already started" | 378,932 | uint(uint64(scanInfo[_asteroidId]>>128))==0 |
null | pragma solidity ^0.4.24;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 _a, uint256 _b) internal pure returns (uint256) {
}
/**
* @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero.
*/
function d... | !save[_holder] | 378,983 | !save[_holder] |
null | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(u... | targets[i]!=0x0 | 379,132 | targets[i]!=0x0 |
null | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(u... | addresses[i]!=0x0&&frozenAccount[addresses[i]]==false&&now>unlockUnixTime[addresses[i]] | 379,132 | addresses[i]!=0x0&&frozenAccount[addresses[i]]==false&&now>unlockUnixTime[addresses[i]] |
null | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(u... | amounts[i]>0&&addresses[i]!=0x0&&frozenAccount[addresses[i]]==false&&now>unlockUnixTime[addresses[i]] | 379,132 | amounts[i]>0&&addresses[i]!=0x0&&frozenAccount[addresses[i]]==false&&now>unlockUnixTime[addresses[i]] |
null | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(u... | balances[addresses[i]]>=amounts[i] | 379,132 | balances[addresses[i]]>=amounts[i] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.