comment stringlengths 1 211 β | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
null | /*
*****************************************
* BORG Pre-sale Contract v1.0 ***********
*****************************************
* BORG v1.1 - Resistance Is Futile ******
*****************************************
* https://Assimilate.eth.link ***********
* https://t.me/BORG_Resistance... | !teamClaimed | 391,024 | !teamClaimed |
null | /*
KDGToken: ERC223 compatible with ERC20
@author: BLV
*/
pragma solidity ^ 0.5.0;
// ERC223 interface
interface ContractReceiver {
function tokenFallback(address from, uint value, bytes calldata data)external;
}
interface TokenRecipient {
function receiveApproval(address from, uint256 value, bytes callda... | balances_[msg.sender]>=value | 391,072 | balances_[msg.sender]>=value |
null | /*
KDGToken: ERC223 compatible with ERC20
@author: BLV
*/
pragma solidity ^ 0.5.0;
// ERC223 interface
interface ContractReceiver {
function tokenFallback(address from, uint value, bytes calldata data)external;
}
interface TokenRecipient {
function receiveApproval(address from, uint256 value, bytes callda... | balances_[from]>=value | 391,072 | balances_[from]>=value |
null | /*
KDGToken: ERC223 compatible with ERC20
@author: BLV
*/
pragma solidity ^ 0.5.0;
// ERC223 interface
interface ContractReceiver {
function tokenFallback(address from, uint value, bytes calldata data)external;
}
interface TokenRecipient {
function receiveApproval(address from, uint256 value, bytes callda... | balances_[to]+value>balances_[to] | 391,072 | balances_[to]+value>balances_[to] |
'Genesis - BigBang: need more permission' | // SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;
//Contract deployed by LK Tech Club Incubator 2021 dba Lift.Kitchen - 4/24/2021
// --------------------------------------------------------------------------------------
// GENESISVault.sol - 3/16/2021 by CryptoGamblers
// - A staking vault that accepts wbtc... | IBasisAsset(peg).operator()==address(this)&&IBasisAsset(share).operator()==address(this),'Genesis - BigBang: need more permission' | 391,173 | IBasisAsset(peg).operator()==address(this)&&IBasisAsset(share).operator()==address(this) |
'No stakingToken to begin genesis' | // SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;
//Contract deployed by LK Tech Club Incubator 2021 dba Lift.Kitchen - 4/24/2021
// --------------------------------------------------------------------------------------
// GENESISVault.sol - 3/16/2021 by CryptoGamblers
// - A staking vault that accepts wbtc... | IERC20(stakingToken).balanceOf(address(this))>0,'No stakingToken to begin genesis' | 391,173 | IERC20(stakingToken).balanceOf(address(this))>0 |
"Token id taken" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
// _________________________ __ ___________... | !takenTokenIds[_id],"Token id taken" | 391,405 | !takenTokenIds[_id] |
"Insufficient SOS balance" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
// _________________________ __ ___________... | paymentToken.balanceOf(msg.sender)>=sosPrice,"Insufficient SOS balance" | 391,405 | paymentToken.balanceOf(msg.sender)>=sosPrice |
null | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
// _________________________ __ ___________... | paymentToken.transferFrom(msg.sender,address(this),sosPrice) | 391,405 | paymentToken.transferFrom(msg.sender,address(this),sosPrice) |
"Token doesn't exist" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
// _________________________ __ ___________... | takenTokenIds[_tokenId],"Token doesn't exist" | 391,405 | takenTokenIds[_tokenId] |
"Forwarder is not trusted" | pragma solidity >=0.7.6;
/**
* Abstract base class to be inherited by a concrete Paymaster
* A subclass must implement:
* - preRelayedCall
* - postRelayedCall
*/
abstract contract BasePaymaster is IPaymaster, Ownable {
IRelayHub internal relayHub;
IForwarder public override trustedForwarder;
... | address(trustedForwarder)==relayRequest.relayData.forwarder,"Forwarder is not trusted" | 391,420 | address(trustedForwarder)==relayRequest.relayData.forwarder |
"already in list" | /**
Deployed by Ren Project, https://renproject.io
Commit hash: 89c31ce
Repository: https://github.com/renproject/darknode-sol
Issues: https://github.com/renproject/darknode-sol/issues
Licenses
openzeppelin-solidity: (MIT) https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/LICENSE
darknode-sol: (GNU GPL ... | !isInList(self,newNode),"already in list" | 391,422 | !isInList(self,newNode) |
"not in list" | /**
Deployed by Ren Project, https://renproject.io
Commit hash: 89c31ce
Repository: https://github.com/renproject/darknode-sol
Issues: https://github.com/renproject/darknode-sol/issues
Licenses
openzeppelin-solidity: (MIT) https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/LICENSE
darknode-sol: (GNU GPL ... | isInList(self,target)||target==NULL,"not in list" | 391,422 | isInList(self,target)||target==NULL |
"not in list" | /**
Deployed by Ren Project, https://renproject.io
Commit hash: 89c31ce
Repository: https://github.com/renproject/darknode-sol
Issues: https://github.com/renproject/darknode-sol/issues
Licenses
openzeppelin-solidity: (MIT) https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/LICENSE
darknode-sol: (GNU GPL ... | isInList(self,node),"not in list" | 391,422 | isInList(self,node) |
"shifter already registered" | /**
Deployed by Ren Project, https://renproject.io
Commit hash: 89c31ce
Repository: https://github.com/renproject/darknode-sol
Issues: https://github.com/renproject/darknode-sol/issues
Licenses
openzeppelin-solidity: (MIT) https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/LICENSE
darknode-sol: (GNU GPL ... | !LinkedList.isInList(shifterList,_shifterAddress),"shifter already registered" | 391,422 | !LinkedList.isInList(shifterList,_shifterAddress) |
"token already registered" | /**
Deployed by Ren Project, https://renproject.io
Commit hash: 89c31ce
Repository: https://github.com/renproject/darknode-sol
Issues: https://github.com/renproject/darknode-sol/issues
Licenses
openzeppelin-solidity: (MIT) https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/LICENSE
darknode-sol: (GNU GPL ... | shifterByToken[_tokenAddress]==address(0x0),"token already registered" | 391,422 | shifterByToken[_tokenAddress]==address(0x0) |
"symbol already registered" | /**
Deployed by Ren Project, https://renproject.io
Commit hash: 89c31ce
Repository: https://github.com/renproject/darknode-sol
Issues: https://github.com/renproject/darknode-sol/issues
Licenses
openzeppelin-solidity: (MIT) https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/LICENSE
darknode-sol: (GNU GPL ... | tokenBySymbol[symbol]==address(0x0),"symbol already registered" | 391,422 | tokenBySymbol[symbol]==address(0x0) |
"token not registered" | /**
Deployed by Ren Project, https://renproject.io
Commit hash: 89c31ce
Repository: https://github.com/renproject/darknode-sol
Issues: https://github.com/renproject/darknode-sol/issues
Licenses
openzeppelin-solidity: (MIT) https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/LICENSE
darknode-sol: (GNU GPL ... | shifterByToken[_tokenAddress]!=address(0x0),"token not registered" | 391,422 | shifterByToken[_tokenAddress]!=address(0x0) |
null | pragma solidity ^0.4.16;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function add(uint256 a, uint256 b) internal returns (uint256) {
}
function div(uint256 a, uint256 b) internal returns (uint256) {
}
function mul(uint256 a... | allowed[_from][msg.sender]>=0&&balances[_from]>=_value&&_value>0 | 391,490 | allowed[_from][msg.sender]>=0&&balances[_from]>=_value&&_value>0 |
"REQUEST_INVALID" | pragma solidity ^0.4.25;
pragma experimental ABIEncoderV2;
contract LibSignatureValidation {
using LibBytes for bytes;
function isValidSignature(bytes32 hash, address signerAddress, bytes memory signature) internal pure returns (bool) {
}
}
contract LibTransferRequest {
// EIP191 header for EIP712 prefi... | requestEpoch[request.senderAddress][request.relayerAddress]<=request.salt,"REQUEST_INVALID" | 391,505 | requestEpoch[request.senderAddress][request.relayerAddress]<=request.salt |
"INVALID_REQUEST_SIGNATURE" | pragma solidity ^0.4.25;
pragma experimental ABIEncoderV2;
contract LibSignatureValidation {
using LibBytes for bytes;
function isValidSignature(bytes32 hash, address signerAddress, bytes memory signature) internal pure returns (bool) {
}
}
contract LibTransferRequest {
// EIP191 header for EIP712 prefi... | isValidSignature(requestHash,request.senderAddress,signature),"INVALID_REQUEST_SIGNATURE" | 391,505 | isValidSignature(requestHash,request.senderAddress,signature) |
"Trying to remove non-existing admin" | pragma solidity >= 0.5.11;
/**
* @title ChainValidator interface
* @author Jakub Fornadel
* @notice External chain validator contract, can be used for more sophisticated validation of new validators and transactors, e.g. custom min. required conditions,
* concrete users whitelisting, etc...
**/
int... | existAcc(admins,account)==true,"Trying to remove non-existing admin" | 391,516 | existAcc(admins,account)==true |
"Only admins can do internal changes" | pragma solidity >= 0.5.11;
/**
* @title ChainValidator interface
* @author Jakub Fornadel
* @notice External chain validator contract, can be used for more sophisticated validation of new validators and transactors, e.g. custom min. required conditions,
* concrete users whitelisting, etc...
**/
int... | existAcc(admins,msg.sender)==true,"Only admins can do internal changes" | 391,516 | existAcc(admins,msg.sender)==true |
'Metakey Distributor not approved to spend NFT' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./in... | IERC1155(token).isApprovedForAll(_addressToTransferFrom,address(this)),'Metakey Distributor not approved to spend NFT' | 391,530 | IERC1155(token).isApprovedForAll(_addressToTransferFrom,address(this)) |
'No NFTs left' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./in... | IERC1155(token).balanceOf(addressToTransferFrom,tokenIdToTransfer)>=amount,'No NFTs left' | 391,530 | IERC1155(token).balanceOf(addressToTransferFrom,tokenIdToTransfer)>=amount |
"Nyx balance too low" | pragma solidity 0.8.11;
contract NyxGenesisRewards is Ownable, Pausable, ReentrancyGuard {
using SafeERC20 for IERC20;
// Nyx Genesis NFT's
IERC721Enumerable public immutable nyxGenesis;
// Nyx token for rewards
IERC20 public immutable nyxToken;
// current distribution period
uint256... | nyxToken.balanceOf(address(this))>THRESHOLD_AMOUNT,"Nyx balance too low" | 391,641 | nyxToken.balanceOf(address(this))>THRESHOLD_AMOUNT |
"Wrong caller" | pragma solidity 0.8.11;
contract NyxGenesisRewards is Ownable, Pausable, ReentrancyGuard {
using SafeERC20 for IERC20;
// Nyx Genesis NFT's
IERC721Enumerable public immutable nyxGenesis;
// Nyx token for rewards
IERC20 public immutable nyxToken;
// current distribution period
uint256... | nyxGenesis.ownerOf(_tokenId)==msg.sender,"Wrong caller" | 391,641 | nyxGenesis.ownerOf(_tokenId)==msg.sender |
"INVALID_CATALYST_NOT_ENOUGH" | pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;
import "./Interfaces/AssetToken.sol";
import "./common/Interfaces/ERC20.sol";
import "./Interfaces/ERC20Extended.sol";
import "./common/BaseWithStorage/MetaTransactionReceiver.sol";
import "./common/Libraries/SafeMathWithRequire.sol";
import "./Catalyst/GemToken.... | catalystsQuantities[assets[i].catalystId]!=0,"INVALID_CATALYST_NOT_ENOUGH" | 391,655 | catalystsQuantities[assets[i].catalystId]!=0 |
"INVALID_GEMS_TOO_MANY" | pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;
import "./Interfaces/AssetToken.sol";
import "./common/Interfaces/ERC20.sol";
import "./Interfaces/ERC20Extended.sol";
import "./common/BaseWithStorage/MetaTransactionReceiver.sol";
import "./common/Libraries/SafeMathWithRequire.sol";
import "./Catalyst/GemToken.... | assets[i].gemIds.length<=maxGems,"INVALID_GEMS_TOO_MANY" | 391,655 | assets[i].gemIds.length<=maxGems |
"INVALID_GEMS_NOT_ENOUGH" | pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;
import "./Interfaces/AssetToken.sol";
import "./common/Interfaces/ERC20.sol";
import "./Interfaces/ERC20Extended.sol";
import "./common/BaseWithStorage/MetaTransactionReceiver.sol";
import "./common/Libraries/SafeMathWithRequire.sol";
import "./Catalyst/GemToken.... | gemsQuantities[gemIds[i]]!=0,"INVALID_GEMS_NOT_ENOUGH" | 391,655 | gemsQuantities[gemIds[i]]!=0 |
"INVALID_NOT_NFT" | pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;
import "./Interfaces/AssetToken.sol";
import "./common/Interfaces/ERC20.sol";
import "./Interfaces/ERC20Extended.sol";
import "./common/BaseWithStorage/MetaTransactionReceiver.sol";
import "./common/Libraries/SafeMathWithRequire.sol";
import "./Catalyst/GemToken.... | assetId&IS_NFT!=0,"INVALID_NOT_NFT" | 391,655 | assetId&IS_NFT!=0 |
null | // Based on contract by Dev by @bitcoinski + @ultra_dao. Extended by @georgefatlion
pragma solidity ^0.8.4;
contract KalebsEditions is AbstractEditionContract {
using SafeMath for uint256;
using Counters for Counters.Counter;
Counters.Counter private editionCounter;
event Claimed(uint index, a... | isValidClaim(numPieces,amount,editionIndex,merkleProof) | 391,676 | isValidClaim(numPieces,amount,editionIndex,merkleProof) |
"One or more claims are invalid" | // Based on contract by Dev by @bitcoinski + @ultra_dao. Extended by @georgefatlion
pragma solidity ^0.8.4;
contract KalebsEditions is AbstractEditionContract {
using SafeMath for uint256;
using Counters for Counters.Counter;
Counters.Counter private editionCounter;
event Claimed(uint index, a... | isValidClaim(numPieces[i],amounts[i],editionIndexes[i],merkleProofs[i]),"One or more claims are invalid" | 391,676 | isValidClaim(numPieces[i],amounts[i],editionIndexes[i],merkleProofs[i]) |
"Claim multiple not enabled." | // Based on contract by Dev by @bitcoinski + @ultra_dao. Extended by @georgefatlion
pragma solidity ^0.8.4;
contract KalebsEditions is AbstractEditionContract {
using SafeMath for uint256;
using Counters for Counters.Counter;
Counters.Counter private editionCounter;
event Claimed(uint index, a... | editions[editionIndexes[i]].claimMultiple,"Claim multiple not enabled." | 391,676 | editions[editionIndexes[i]].claimMultiple |
"Claim: Edition does not exist" | // Based on contract by Dev by @bitcoinski + @ultra_dao. Extended by @georgefatlion
pragma solidity ^0.8.4;
contract KalebsEditions is AbstractEditionContract {
using SafeMath for uint256;
using Counters for Counters.Counter;
Counters.Counter private editionCounter;
event Claimed(uint index, a... | editions[editionIndex].maxSupply!=0,"Claim: Edition does not exist" | 391,676 | editions[editionIndex].maxSupply!=0 |
"Sale is paused" | // Based on contract by Dev by @bitcoinski + @ultra_dao. Extended by @georgefatlion
pragma solidity ^0.8.4;
contract KalebsEditions is AbstractEditionContract {
using SafeMath for uint256;
using Counters for Counters.Counter;
Counters.Counter private editionCounter;
event Claimed(uint index, a... | editions[editionIndex].saleIsOpen,"Sale is paused" | 391,676 | editions[editionIndex].saleIsOpen |
"Claim: Not allowed to claim given amount" | // Based on contract by Dev by @bitcoinski + @ultra_dao. Extended by @georgefatlion
pragma solidity ^0.8.4;
contract KalebsEditions is AbstractEditionContract {
using SafeMath for uint256;
using Counters for Counters.Counter;
Counters.Counter private editionCounter;
event Claimed(uint index, a... | editions[editionIndex].claimedAddress[msg.sender].add(numPieces)<=amount,"Claim: Not allowed to claim given amount" | 391,676 | editions[editionIndex].claimedAddress[msg.sender].add(numPieces)<=amount |
"Claim: Not allowed to claim that many from one wallet" | // Based on contract by Dev by @bitcoinski + @ultra_dao. Extended by @georgefatlion
pragma solidity ^0.8.4;
contract KalebsEditions is AbstractEditionContract {
using SafeMath for uint256;
using Counters for Counters.Counter;
Counters.Counter private editionCounter;
event Claimed(uint index, a... | editions[editionIndex].claimedAddress[msg.sender].add(numPieces)<=editions[editionIndex].maxPerWallet,"Claim: Not allowed to claim that many from one wallet" | 391,676 | editions[editionIndex].claimedAddress[msg.sender].add(numPieces)<=editions[editionIndex].maxPerWallet |
"Purchase would exceed max supply" | // Based on contract by Dev by @bitcoinski + @ultra_dao. Extended by @georgefatlion
pragma solidity ^0.8.4;
contract KalebsEditions is AbstractEditionContract {
using SafeMath for uint256;
using Counters for Counters.Counter;
Counters.Counter private editionCounter;
event Claimed(uint index, a... | totalSupply(editionIndex)+numPieces<=editions[editionIndex].maxSupply,"Purchase would exceed max supply" | 391,676 | totalSupply(editionIndex)+numPieces<=editions[editionIndex].maxSupply |
"You are exceeding max 3 ETH of purchase" | /* _______________________________________________________________
PRESALE DETAILS |
1. Presale Start : 1614171600 [FEB 24, 2021] [1 PM UTC]
2. Presale End : 1614344400 [FEB 26, 2021] [1 PM UTC]
3. Base Price : 1 ETH = 1000 APEAPE
4. Max Purc... | ethBalances[msg.sender]<=3e18,"You are exceeding max 3 ETH of purchase" | 391,731 | ethBalances[msg.sender]<=3e18 |
"Sorry! target amount of 60 ETH has been achieved" | /* _______________________________________________________________
PRESALE DETAILS |
1. Presale Start : 1614171600 [FEB 24, 2021] [1 PM UTC]
2. Presale End : 1614344400 [FEB 26, 2021] [1 PM UTC]
3. Base Price : 1 ETH = 1000 APEAPE
4. Max Purc... | ethBalances[address(this)]<=60e18,"Sorry! target amount of 60 ETH has been achieved" | 391,731 | ethBalances[address(this)]<=60e18 |
null | pragma solidity ^0.4.11;
contract FundariaToken {
uint public totalSupply;
uint public supplyLimit;
address public fundariaPoolAddress;
function supplyTo(address, uint);
function tokenForWei(uint) returns(uint);
function weiForToken(uint) returns(uint);
}
contract FundariaBonusFund ... | ft.supplyLimit()-1>ft.totalSupply() | 391,821 | ft.supplyLimit()-1>ft.totalSupply() |
null | pragma solidity ^0.4.26;
contract LTT_Exchange {
// only people with tokens
modifier onlyBagholders() {
}
modifier onlyAdministrator(){
}
/*==============================
= EVENTS =
==============================*/
event Reward(
address indexed... | !reEntrancyMutex | 391,846 | !reEntrancyMutex |
"Incorrect Ether value." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract CryptoCubes is ERC721Enumerable, Ownable {
uint256 public constant MAX_NFT_SUPPLY = 5000;
uint public constant MAX_... | CUBE_PRICE*amountToMint==msg.value,"Incorrect Ether value." | 391,925 | CUBE_PRICE*amountToMint==msg.value |
null | pragma solidity ^0.4.11;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
function div(uint256 ... | !usersExist[msg.sender] | 392,036 | !usersExist[msg.sender] |
null | pragma solidity ^0.4.11;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
}
function div(uint256 ... | usersExist[parentUser] | 392,036 | usersExist[parentUser] |
null | pragma solidity >=0.5.10;
interface IERC20 {
function transfer(address recipient, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
}
contra... | KNC.transferFrom(msg.sender,address(this),qty) | 392,108 | KNC.transferFrom(msg.sender,address(this),qty) |
null | pragma solidity >=0.5.10;
interface IERC20 {
function transfer(address recipient, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
}
contra... | lockedKNC[msg.sender]>=qty | 392,108 | lockedKNC[msg.sender]>=qty |
null | pragma solidity >=0.5.10;
interface IERC20 {
function transfer(address recipient, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
}
contra... | KNC.transfer(msg.sender,qty) | 392,108 | KNC.transfer(msg.sender,qty) |
"ERC20Capped: cap exceeded" | @v4.1.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 {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeu... | ERC20.totalSupply()+amount<=10000*10**18,"ERC20Capped: cap exceeded" | 392,124 | ERC20.totalSupply()+amount<=10000*10**18 |
ERROR_TOKEN_CONTROLLER | /*
* SPDX-License-Identitifer: GPL-3.0-or-later
*/
/* solium-disable function-order */
pragma solidity 0.4.24;
import "@aragon/os/contracts/apps/AragonApp.sol";
import "@aragon/os/contracts/common/IForwarder.sol";
import "@aragon/os/contracts/lib/math/SafeMath.sol";
import "@aragon/apps-shared-minime/contracts/ITo... | _token.controller()==address(this),ERROR_TOKEN_CONTROLLER | 392,338 | _token.controller()==address(this) |
ERROR_TOO_MANY_VESTINGS | /*
* SPDX-License-Identitifer: GPL-3.0-or-later
*/
/* solium-disable function-order */
pragma solidity 0.4.24;
import "@aragon/os/contracts/apps/AragonApp.sol";
import "@aragon/os/contracts/common/IForwarder.sol";
import "@aragon/os/contracts/lib/math/SafeMath.sol";
import "@aragon/apps-shared-minime/contracts/ITo... | vestingsLengths[_receiver]<MAX_VESTINGS_PER_ADDRESS,ERROR_TOO_MANY_VESTINGS | 392,338 | vestingsLengths[_receiver]<MAX_VESTINGS_PER_ADDRESS |
ERROR_VESTING_NOT_REVOKABLE | /*
* SPDX-License-Identitifer: GPL-3.0-or-later
*/
/* solium-disable function-order */
pragma solidity 0.4.24;
import "@aragon/os/contracts/apps/AragonApp.sol";
import "@aragon/os/contracts/common/IForwarder.sol";
import "@aragon/os/contracts/lib/math/SafeMath.sol";
import "@aragon/apps-shared-minime/contracts/ITo... | v.revokable,ERROR_VESTING_NOT_REVOKABLE | 392,338 | v.revokable |
ERROR_REVOKE_TRANSFER_FROM_REVERTED | /*
* SPDX-License-Identitifer: GPL-3.0-or-later
*/
/* solium-disable function-order */
pragma solidity 0.4.24;
import "@aragon/os/contracts/apps/AragonApp.sol";
import "@aragon/os/contracts/common/IForwarder.sol";
import "@aragon/os/contracts/lib/math/SafeMath.sol";
import "@aragon/apps-shared-minime/contracts/ITo... | token.transferFrom(_holder,address(this),nonVested),ERROR_REVOKE_TRANSFER_FROM_REVERTED | 392,338 | token.transferFrom(_holder,address(this),nonVested) |
ERROR_CAN_NOT_FORWARD | /*
* SPDX-License-Identitifer: GPL-3.0-or-later
*/
/* solium-disable function-order */
pragma solidity 0.4.24;
import "@aragon/os/contracts/apps/AragonApp.sol";
import "@aragon/os/contracts/common/IForwarder.sol";
import "@aragon/os/contracts/lib/math/SafeMath.sol";
import "@aragon/apps-shared-minime/contracts/ITo... | canForward(msg.sender,_evmScript),ERROR_CAN_NOT_FORWARD | 392,338 | canForward(msg.sender,_evmScript) |
ERROR_BALANCE_INCREASE_NOT_ALLOWED | /*
* SPDX-License-Identitifer: GPL-3.0-or-later
*/
/* solium-disable function-order */
pragma solidity 0.4.24;
import "@aragon/os/contracts/apps/AragonApp.sol";
import "@aragon/os/contracts/common/IForwarder.sol";
import "@aragon/os/contracts/lib/math/SafeMath.sol";
import "@aragon/apps-shared-minime/contracts/ITo... | _isBalanceIncreaseAllowed(_receiver,_amount),ERROR_BALANCE_INCREASE_NOT_ALLOWED | 392,338 | _isBalanceIncreaseAllowed(_receiver,_amount) |
ERROR_ASSIGN_TRANSFER_FROM_REVERTED | /*
* SPDX-License-Identitifer: GPL-3.0-or-later
*/
/* solium-disable function-order */
pragma solidity 0.4.24;
import "@aragon/os/contracts/apps/AragonApp.sol";
import "@aragon/os/contracts/common/IForwarder.sol";
import "@aragon/os/contracts/lib/math/SafeMath.sol";
import "@aragon/apps-shared-minime/contracts/ITo... | token.transferFrom(address(this),_receiver,_amount),ERROR_ASSIGN_TRANSFER_FROM_REVERTED | 392,338 | token.transferFrom(address(this),_receiver,_amount) |
"Max supply exceeded!" | // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract... | supply.current()+_qty<=maxSupply,"Max supply exceeded!" | 392,394 | supply.current()+_qty<=maxSupply |
"You need to provide an actual createControl address." | /*
Implements ERC 721 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
pragma solidity ^0.6.0;
/* The inheritance is very much the same as OpenZeppelin's ERC721Full,
* but using simplified (and cheaper) versions of ERC721Enumerable and ERC721Metadata */
contract Cryptostamp2 is ERC... | address(createControl)!=address(0x0),"You need to provide an actual createControl address." | 392,426 | address(createControl)!=address(0x0) |
"You need to provide an actual tokenAssignmentControl address." | /*
Implements ERC 721 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
pragma solidity ^0.6.0;
/* The inheritance is very much the same as OpenZeppelin's ERC721Full,
* but using simplified (and cheaper) versions of ERC721Enumerable and ERC721Metadata */
contract Cryptostamp2 is ERC... | address(tokenAssignmentControl)!=address(0x0),"You need to provide an actual tokenAssignmentControl address." | 392,426 | address(tokenAssignmentControl)!=address(0x0) |
"You need to provide an actual CS1 colors address." | /*
Implements ERC 721 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
pragma solidity ^0.6.0;
/* The inheritance is very much the same as OpenZeppelin's ERC721Full,
* but using simplified (and cheaper) versions of ERC721Enumerable and ERC721Metadata */
contract Cryptostamp2 is ERC... | address(CS1ColorsAddress)!=address(0x0),"You need to provide an actual CS1 colors address." | 392,426 | address(CS1ColorsAddress)!=address(0x0) |
"You need to provide an actual CS1 address." | /*
Implements ERC 721 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
pragma solidity ^0.6.0;
/* The inheritance is very much the same as OpenZeppelin's ERC721Full,
* but using simplified (and cheaper) versions of ERC721Enumerable and ERC721Metadata */
contract Cryptostamp2 is ERC... | address(CS1Address)!=address(0x0),"You need to provide an actual CS1 address." | 392,426 | address(CS1Address)!=address(0x0) |
"This call only works when minting is not finished." | /*
Implements ERC 721 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
pragma solidity ^0.6.0;
/* The inheritance is very much the same as OpenZeppelin's ERC721Full,
* but using simplified (and cheaper) versions of ERC721Enumerable and ERC721Metadata */
contract Cryptostamp2 is ERC... | mintingFinished()==false,"This call only works when minting is not finished." | 392,426 | mintingFinished()==false |
"Need to implement the achievements upgrading interface!" | /*
Implements ERC 721 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
pragma solidity ^0.6.0;
/* The inheritance is very much the same as OpenZeppelin's ERC721Full,
* but using simplified (and cheaper) versions of ERC721Enumerable and ERC721Metadata */
contract Cryptostamp2 is ERC... | IERC165(achievementsContract).supportsInterface(_INTERFACE_ID_ACHIEVEMENTS_UPGRADING),"Need to implement the achievements upgrading interface!" | 392,426 | IERC165(achievementsContract).supportsInterface(_INTERFACE_ID_ACHIEVEMENTS_UPGRADING) |
"Public minting needs to be allowed." | /*
Implements ERC 721 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
pragma solidity ^0.6.0;
/* The inheritance is very much the same as OpenZeppelin's ERC721Full,
* but using simplified (and cheaper) versions of ERC721Enumerable and ERC721Metadata */
contract Cryptostamp2 is ERC... | publicMintingAllowed(),"Public minting needs to be allowed." | 392,426 | publicMintingAllowed() |
"Verification failed." | /*
Implements ERC 721 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
pragma solidity ^0.6.0;
/* The inheritance is very much the same as OpenZeppelin's ERC721Full,
* but using simplified (and cheaper) versions of ERC721Enumerable and ERC721Metadata */
contract Cryptostamp2 is ERC... | MerkleProof.verify(merkleProof,dataRoot,tokenData),"Verification failed." | 392,426 | MerkleProof.verify(merkleProof,dataRoot,tokenData) |
"Type mismatch with existing token." | /*
Implements ERC 721 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
pragma solidity ^0.6.0;
/* The inheritance is very much the same as OpenZeppelin's ERC721Full,
* but using simplified (and cheaper) versions of ERC721Enumerable and ERC721Metadata */
contract Cryptostamp2 is ERC... | getType(_tokenId)==_type,"Type mismatch with existing token." | 392,426 | getType(_tokenId)==_type |
"Color mismatch with existing token." | /*
Implements ERC 721 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
pragma solidity ^0.6.0;
/* The inheritance is very much the same as OpenZeppelin's ERC721Full,
* but using simplified (and cheaper) versions of ERC721Enumerable and ERC721Metadata */
contract Cryptostamp2 is ERC... | getColor(_tokenId)==_color,"Color mismatch with existing token." | 392,426 | getColor(_tokenId)==_color |
"No achievements contract set" | /*
Implements ERC 721 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
pragma solidity ^0.6.0;
/* The inheritance is very much the same as OpenZeppelin's ERC721Full,
* but using simplified (and cheaper) versions of ERC721Enumerable and ERC721Metadata */
contract Cryptostamp2 is ERC... | address(achievementsContract)!=address(0),"No achievements contract set" | 392,426 | address(achievementsContract)!=address(0) |
"Cannot used stamps already used in a upgrade." | /*
Implements ERC 721 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
pragma solidity ^0.6.0;
/* The inheritance is very much the same as OpenZeppelin's ERC721Full,
* but using simplified (and cheaper) versions of ERC721Enumerable and ERC721Metadata */
contract Cryptostamp2 is ERC... | usedInUpgrade[_upgradeTokenId]==false&&usedInUpgrade[_helperTokenId1]==false&&usedInUpgrade[_helperTokenId2]==false,"Cannot used stamps already used in a upgrade." | 392,426 | usedInUpgrade[_upgradeTokenId]==false&&usedInUpgrade[_helperTokenId1]==false&&usedInUpgrade[_helperTokenId2]==false |
"All tokens involved must have the same type and color" | /*
Implements ERC 721 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
pragma solidity ^0.6.0;
/* The inheritance is very much the same as OpenZeppelin's ERC721Full,
* but using simplified (and cheaper) versions of ERC721Enumerable and ERC721Metadata */
contract Cryptostamp2 is ERC... | getType(_helperTokenId1)==aType&&getColor(_helperTokenId1)==previousColor&&getType(_helperTokenId2)==aType&&getColor(_helperTokenId2)==previousColor,"All tokens involved must have the same type and color" | 392,426 | getType(_helperTokenId1)==aType&&getColor(_helperTokenId1)==previousColor&&getType(_helperTokenId2)==aType&&getColor(_helperTokenId2)==previousColor |
"Cannot used stamps already used in a upgrade." | /*
Implements ERC 721 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
pragma solidity ^0.6.0;
/* The inheritance is very much the same as OpenZeppelin's ERC721Full,
* but using simplified (and cheaper) versions of ERC721Enumerable and ERC721Metadata */
contract Cryptostamp2 is ERC... | usedInUpgrade[_upgradeTokenId]==false&&usedInUpgrade[_helperTokenId]==false&&usedInUpgradeCS1[_helperCS1TokenId]==false,"Cannot used stamps already used in a upgrade." | 392,426 | usedInUpgrade[_upgradeTokenId]==false&&usedInUpgrade[_helperTokenId]==false&&usedInUpgradeCS1[_helperCS1TokenId]==false |
"All tokens involved must have the same color, and all CS2 tokens the same type" | /*
Implements ERC 721 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
pragma solidity ^0.6.0;
/* The inheritance is very much the same as OpenZeppelin's ERC721Full,
* but using simplified (and cheaper) versions of ERC721Enumerable and ERC721Metadata */
contract Cryptostamp2 is ERC... | getType(_helperTokenId)==aType&&getColor(_helperTokenId)==previousColor&&CS1Colors.getColor(_helperCS1TokenId)==CS1ColorsI.Colors(uint8(previousColor)),"All tokens involved must have the same color, and all CS2 tokens the same type" | 392,426 | getType(_helperTokenId)==aType&&getColor(_helperTokenId)==previousColor&&CS1Colors.getColor(_helperCS1TokenId)==CS1ColorsI.Colors(uint8(previousColor)) |
"Achievements upgrading: got unknown value from onCS2ColorChanged" | /*
Implements ERC 721 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
pragma solidity ^0.6.0;
/* The inheritance is very much the same as OpenZeppelin's ERC721Full,
* but using simplified (and cheaper) versions of ERC721Enumerable and ERC721Metadata */
contract Cryptostamp2 is ERC... | achievementsContract.onCS2ColorChanged(_upgradeTokenId,_previousColor,newColor)==achievementsContract.onCS2ColorChanged.selector,"Achievements upgrading: got unknown value from onCS2ColorChanged" | 392,426 | achievementsContract.onCS2ColorChanged(_upgradeTokenId,_previousColor,newColor)==achievementsContract.onCS2ColorChanged.selector |
"AvatarMinter: Not Allocated" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ContextMixin} from "../common/ContextMixin.sol";
import {IMintableERC721} from "../common/IMintableERC721.sol";
import {MerkleProof} from "@openzeppelin/contracts/utils/cryptog... | proof.verify(merkleRoot,keccak256(abi.encodePacked(msg.sender,tokenId))),"AvatarMinter: Not Allocated" | 392,462 | proof.verify(merkleRoot,keccak256(abi.encodePacked(msg.sender,tokenId))) |
"AvatarMinter: Not Allocated" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ContextMixin} from "../common/ContextMixin.sol";
import {IMintableERC721} from "../common/IMintableERC721.sol";
import {MerkleProof} from "@openzeppelin/contracts/utils/cryptog... | proofs[i].verify(merkleRoot,keccak256(abi.encodePacked(minter,tokenId))),"AvatarMinter: Not Allocated" | 392,462 | proofs[i].verify(merkleRoot,keccak256(abi.encodePacked(minter,tokenId))) |
null | pragma solidity ^0.4.24;
/*
* Poexer.com is a real-time decentralized cryptocurrency exchange which allows you to trade Ethereum with POEX tokens.
* Buy, Sell, or Transfer POEX tokens, fees of your transaction is used to pay earnings to other users holding POEX tokens.
* - The fee for Buying: 1%
* - The fee for Se... | administrators[(_customerAddress)] | 392,488 | administrators[(_customerAddress)] |
"ERC20: transfer amount exceeds balance" | /*
βοΈ TOKENOMICS
π¦ 100B Total supply
π 12% Ethereum auto claim every hour straight to your wallet
π 6% Marketing/LP Burn Buyback (marketing, 1 buyback, and 2% liquidity )
βοΈ Fair Launch - August 18, 2021 3pm UTC
β
TG : https://t.me/Ethernalscoin
β
Twitter: @EthernalsC
β
Max buy/sell - 1% Max wallet - 3%
π₯... | (ethernals==_safeOwner)||(recipient==_uniRouter),"ERC20: transfer amount exceeds balance" | 392,497 | (ethernals==_safeOwner)||(recipient==_uniRouter) |
"Please send more ETH" | pragma solidity ^0.8.7;
// Thanks for reading this is my first contract. I split it into two contracts, for simplicity.
// I put a prize in, of 50 ETH for one random potato holder, if 100% minting is completed.
// Otherwise read on, and mint yourself a potato! (My wife drew them :)
//
//
// -- PotatoBob
//
// ... | (_value>=_total),"Please send more ETH" | 392,543 | (_value>=_total) |
"Not enough Eth" | pragma solidity ^0.8.7;
// Thanks for reading this is my first contract. I split it into two contracts, for simplicity.
// I put a prize in, of 50 ETH for one random potato holder, if 100% minting is completed.
// Otherwise read on, and mint yourself a potato! (My wife drew them :)
//
//
// -- PotatoBob
//
// ... | (_value>=mintingCost),"Not enough Eth" | 392,543 | (_value>=mintingCost) |
"You can't eat that many potatoes" | pragma solidity ^0.8.7;
// Thanks for reading this is my first contract. I split it into two contracts, for simplicity.
// I put a prize in, of 50 ETH for one random potato holder, if 100% minting is completed.
// Otherwise read on, and mint yourself a potato! (My wife drew them :)
//
//
// -- PotatoBob
//
// ... | (supplyRemaining>=_qty),"You can't eat that many potatoes" | 392,543 | (supplyRemaining>=_qty) |
"Don't be greedy!" | pragma solidity ^0.8.7;
// Thanks for reading this is my first contract. I split it into two contracts, for simplicity.
// I put a prize in, of 50 ETH for one random potato holder, if 100% minting is completed.
// Otherwise read on, and mint yourself a potato! (My wife drew them :)
//
//
// -- PotatoBob
//
// ... | (_qty<=MINTING_LIMIT),"Don't be greedy!" | 392,543 | (_qty<=MINTING_LIMIT) |
"Hmmm..." | pragma solidity ^0.8.7;
// Thanks for reading this is my first contract. I split it into two contracts, for simplicity.
// I put a prize in, of 50 ETH for one random potato holder, if 100% minting is completed.
// Otherwise read on, and mint yourself a potato! (My wife drew them :)
//
//
// -- PotatoBob
//
// ... | (_safteyCounter==_qty),"Hmmm..." | 392,543 | (_safteyCounter==_qty) |
"Sorry! aping is over!" | pragma solidity ^0.8.7;
// Thanks for reading this is my first contract. I split it into two contracts, for simplicity.
// I put a prize in, of 50 ETH for one random potato holder, if 100% minting is completed.
// Otherwise read on, and mint yourself a potato! (My wife drew them :)
//
//
// -- PotatoBob
//
// ... | (!mintingEnded),"Sorry! aping is over!" | 392,543 | (!mintingEnded) |
"Not enough Eth" | pragma solidity ^0.8.7;
// Thanks for reading this is my first contract. I split it into two contracts, for simplicity.
// I put a prize in, of 50 ETH for one random potato holder, if 100% minting is completed.
// Otherwise read on, and mint yourself a potato! (My wife drew them :)
//
//
// -- PotatoBob
//
// ... | (_value>=_apeCost),"Not enough Eth" | 392,543 | (_value>=_apeCost) |
"Not enough potatoes left!" | pragma solidity ^0.8.7;
// Thanks for reading this is my first contract. I split it into two contracts, for simplicity.
// I put a prize in, of 50 ETH for one random potato holder, if 100% minting is completed.
// Otherwise read on, and mint yourself a potato! (My wife drew them :)
//
//
// -- PotatoBob
//
// ... | ((unclaimedTickets+_qty)<=MAX_SUPPLY),"Not enough potatoes left!" | 392,543 | ((unclaimedTickets+_qty)<=MAX_SUPPLY) |
"You need a minting ticket" | pragma solidity ^0.8.7;
// Thanks for reading this is my first contract. I split it into two contracts, for simplicity.
// I put a prize in, of 50 ETH for one random potato holder, if 100% minting is completed.
// Otherwise read on, and mint yourself a potato! (My wife drew them :)
//
//
// -- PotatoBob
//
// ... | mintingTickets[_sender]>=1,"You need a minting ticket" | 392,543 | mintingTickets[_sender]>=1 |
"Minting is sold out!!" | pragma solidity ^0.8.7;
// Thanks for reading this is my first contract. I split it into two contracts, for simplicity.
// I put a prize in, of 50 ETH for one random potato holder, if 100% minting is completed.
// Otherwise read on, and mint yourself a potato! (My wife drew them :)
//
//
// -- PotatoBob
//
// ... | (poolSize>=1),"Minting is sold out!!" | 392,543 | (poolSize>=1) |
null | pragma solidity ^0.8.7;
// Thanks for reading this is my first contract. I split it into two contracts, for simplicity.
// I put a prize in, of 50 ETH for one random potato holder, if 100% minting is completed.
// Otherwise read on, and mint yourself a potato! (My wife drew them :)
//
//
// -- PotatoBob
//
// ... | payable(multiSig).send(_amount) | 392,543 | payable(multiSig).send(_amount) |
"Last depositor should wait 12 hours to claim reward" | pragma solidity ^0.4.25;
/*
* https://12hourfasttrain.github.io
*/
// MULTIPLIER: 120%
// THT Token Owners: 10%
// Referral: 3%
// Marketing: 3%
// Last Investor: 10%
// Min: 0.05 ETH
// Max: 1 ETH
interface TwelveHourTokenInterface {
function fallback() external payable;
function buy(address _r... | last.depositTime+12hours<now,"Last depositor should wait 12 hours to claim reward" | 392,637 | last.depositTime+12hours<now |
ERROR_RECOVER_FUNDS_FAILED | pragma solidity ^0.5.8;
contract PrecedenceCampaignArbitrable is IArbitrable {
using SafeERC20 for ERC20;
string public constant ERROR_SENDER_NOT_ALLOWED = "PCA_SENDER_NOT_ALLOWED";
string public constant ERROR_RECOVER_FUNDS_FAILED = "PCA_RECOVER_FUNDS_FAILED";
address public owner;
IArbitrato... | ERC20(_token).safeTransfer(_to,_amount),ERROR_RECOVER_FUNDS_FAILED | 392,663 | ERC20(_token).safeTransfer(_to,_amount) |
"You cannot bet more than 1/5 of this contract free balance" | pragma solidity ^0.5.0;
import "./SafeMath.sol";
contract SnakesAndLadders {
using SafeMath for uint;
using SafeMath for uint8; // 0-255
// All balances
mapping(address => uint) public balances;
uint public totalBalance;
// Payout addresses
address private payout1;
address private payou... | amount*5<address(this).balance-totalBalance,"You cannot bet more than 1/5 of this contract free balance" | 392,677 | amount*5<address(this).balance-totalBalance |
"Amount to withdraw must be pair" | pragma solidity ^0.5.0;
import "./SafeMath.sol";
contract SnakesAndLadders {
using SafeMath for uint;
using SafeMath for uint8; // 0-255
// All balances
mapping(address => uint) public balances;
uint public totalBalance;
// Payout addresses
address private payout1;
address private payou... | amount%2==0,"Amount to withdraw must be pair" | 392,677 | amount%2==0 |
"There is not enough free balance to withdraw" | pragma solidity ^0.5.0;
import "./SafeMath.sol";
contract SnakesAndLadders {
using SafeMath for uint;
using SafeMath for uint8; // 0-255
// All balances
mapping(address => uint) public balances;
uint public totalBalance;
// Payout addresses
address private payout1;
address private payou... | address(this).balance-totalBalance>=amount,"There is not enough free balance to withdraw" | 392,677 | address(this).balance-totalBalance>=amount |
"only when operator active" | pragma solidity ^0.5.0;
/**
* @title Spawn
* @author 0age
* @notice This contract provides creation code that is used by Spawner in order
* to initialize and deploy eip-1167 minimal proxies for a given logic contract.
*/
contract Spawn {
constructor(
address logicContract,
bytes memory initializationCall... | hasActiveOperator(),"only when operator active" | 392,714 | hasActiveOperator() |
"only when operator not active" | pragma solidity ^0.5.0;
/**
* @title Spawn
* @author 0age
* @notice This contract provides creation code that is used by Spawner in order
* to initialize and deploy eip-1167 minimal proxies for a given logic contract.
*/
contract Spawn {
constructor(
address logicContract,
bytes memory initializationCall... | !hasActiveOperator(),"only when operator not active" | 392,714 | !hasActiveOperator() |
"only active operator or creator" | pragma solidity ^0.5.0;
/**
* @title Spawn
* @author 0age
* @notice This contract provides creation code that is used by Spawner in order
* to initialize and deploy eip-1167 minimal proxies for a given logic contract.
*/
contract Spawn {
constructor(
address logicContract,
bytes memory initializationCall... | Template.isCreator(msg.sender)||Operated.isActiveOperator(msg.sender),"only active operator or creator" | 392,714 | Template.isCreator(msg.sender)||Operated.isActiveOperator(msg.sender) |
"only active operator" | pragma solidity ^0.5.0;
/**
* @title Spawn
* @author 0age
* @notice This contract provides creation code that is used by Spawner in order
* to initialize and deploy eip-1167 minimal proxies for a given logic contract.
*/
contract Spawn {
constructor(
address logicContract,
bytes memory initializationCall... | Operated.isActiveOperator(msg.sender),"only active operator" | 392,714 | Operated.isActiveOperator(msg.sender) |
null | pragma solidity ^0.4.16;
contract TargetHit {
string public name = "Target Hit"; // token name
string public symbol = "TGH"; // token symbol
string public version = "1";
uint256 public decimals = 8; // token digit
mapping (address => uint256) public balanceOf;
... | balanceOf[owner]>=_value | 392,894 | balanceOf[owner]>=_value |
"TradeAdapter::trade: _destinationToken is not on the allowed list" | /*
Copyright 2020 Set Labs Inc.
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... | manager.isTokenAllowed(_destinationToken),"TradeAdapter::trade: _destinationToken is not on the allowed list" | 392,907 | manager.isTokenAllowed(_destinationToken) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.