comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
null | pragma solidity ^0.5.1;
contract RubyToken{
mapping (address => uint256) public balanceOf;
mapping (address => bool) private transferable;
mapping(address => mapping (address => uint256)) allowed;
uint256 private _totalSupply=10000000000000000000000000000;
string private _name= "RubyToken";
... | allowed[_from][msg.sender]>=amount | 372,570 | allowed[_from][msg.sender]>=amount |
null | pragma solidity ^0.5.1;
contract RubyToken{
mapping (address => uint256) public balanceOf;
mapping (address => bool) private transferable;
mapping(address => mapping (address => uint256)) allowed;
uint256 private _totalSupply=10000000000000000000000000000;
string private _name= "RubyToken";
... | balanceOf[account]>value | 372,570 | balanceOf[account]>value |
"Exceeds maximum SharkCats limit" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
import "./MerkleProof.sol";
contract SharkCatPlanet is ERC721Enumerable, Ownable {
using Strings for uint256;
uint256 public constant MAX_SUPPLY = 9999;
uint256 public reservedGiveaway = ... | totalSupply()+_mintAmount<=MAX_SUPPLY-reservedGiveaway,"Exceeds maximum SharkCats limit" | 372,646 | totalSupply()+_mintAmount<=MAX_SUPPLY-reservedGiveaway |
"Not whitelisted" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
import "./MerkleProof.sol";
contract SharkCatPlanet is ERC721Enumerable, Ownable {
using Strings for uint256;
uint256 public constant MAX_SUPPLY = 9999;
uint256 public reservedGiveaway = ... | isWhitelisted(SaleRound.OG,_proof),"Not whitelisted" | 372,646 | isWhitelisted(SaleRound.OG,_proof) |
"Mint SharkCat per address exceeded, come back again next round" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
import "./MerkleProof.sol";
contract SharkCatPlanet is ERC721Enumerable, Ownable {
using Strings for uint256;
uint256 public constant MAX_SUPPLY = 9999;
uint256 public reservedGiveaway = ... | preSaleMintAddressesMintedCount[saleRound][msg.sender]+_mintAmount<=4,"Mint SharkCat per address exceeded, come back again next round" | 372,646 | preSaleMintAddressesMintedCount[saleRound][msg.sender]+_mintAmount<=4 |
"Not whitelisted" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
import "./MerkleProof.sol";
contract SharkCatPlanet is ERC721Enumerable, Ownable {
using Strings for uint256;
uint256 public constant MAX_SUPPLY = 9999;
uint256 public reservedGiveaway = ... | isWhitelisted(SaleRound.WL,_proof)||isWhitelisted(SaleRound.OG,_proof),"Not whitelisted" | 372,646 | isWhitelisted(SaleRound.WL,_proof)||isWhitelisted(SaleRound.OG,_proof) |
"Mint SharkCat per address exceeded, come back again next round" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
import "./MerkleProof.sol";
contract SharkCatPlanet is ERC721Enumerable, Ownable {
using Strings for uint256;
uint256 public constant MAX_SUPPLY = 9999;
uint256 public reservedGiveaway = ... | preSaleMintAddressesMintedCount[saleRound][msg.sender]+_mintAmount<=2,"Mint SharkCat per address exceeded, come back again next round" | 372,646 | preSaleMintAddressesMintedCount[saleRound][msg.sender]+_mintAmount<=2 |
"Exceeds maximum SharkCats limit" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
import "./MerkleProof.sol";
contract SharkCatPlanet is ERC721Enumerable, Ownable {
using Strings for uint256;
uint256 public constant MAX_SUPPLY = 9999;
uint256 public reservedGiveaway = ... | supply+_mintAmount<=MAX_SUPPLY-reservedGiveaway,"Exceeds maximum SharkCats limit" | 372,646 | supply+_mintAmount<=MAX_SUPPLY-reservedGiveaway |
"Exceeds maximum SharkCats limit" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
import "./MerkleProof.sol";
contract SharkCatPlanet is ERC721Enumerable, Ownable {
using Strings for uint256;
uint256 public constant MAX_SUPPLY = 9999;
uint256 public reservedGiveaway = ... | supply+_tokensId.length<=MAX_SUPPLY,"Exceeds maximum SharkCats limit" | 372,646 | supply+_tokensId.length<=MAX_SUPPLY |
"Token ID out of range" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
import "./MerkleProof.sol";
contract SharkCatPlanet is ERC721Enumerable, Ownable {
using Strings for uint256;
uint256 public constant MAX_SUPPLY = 9999;
uint256 public reservedGiveaway = ... | _tokensId[i]>=9901&&_tokensId[i]<=MAX_SUPPLY,"Token ID out of range" | 372,646 | _tokensId[i]>=9901&&_tokensId[i]<=MAX_SUPPLY |
"Token already exists" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
import "./MerkleProof.sol";
contract SharkCatPlanet is ERC721Enumerable, Ownable {
using Strings for uint256;
uint256 public constant MAX_SUPPLY = 9999;
uint256 public reservedGiveaway = ... | !_exists(_tokensId[i]),"Token already exists" | 372,646 | !_exists(_tokensId[i]) |
"Generative Art: Can't mint more than 10,000 NFTs" | pragma solidity ^0.8.0;
// ============ Imports ============
contract generativeNFT is ERC721, Ownable, VRFConsumerBase {
// ============ Mutable storage ============
// Number of nfts minted as of mow
uint public nftsMinted;
// Minting Price
uint256 public mintPrice;
// Maximum number o... | (_numNFTs+nftsMinted)<=nftMintLimit,"Generative Art: Can't mint more than 10,000 NFTs" | 372,647 | (_numNFTs+nftsMinted)<=nftMintLimit |
"Generative Art: Insufficient ETH provided to mint NFTs." | pragma solidity ^0.8.0;
// ============ Imports ============
contract generativeNFT is ERC721, Ownable, VRFConsumerBase {
// ============ Mutable storage ============
// Number of nfts minted as of mow
uint public nftsMinted;
// Minting Price
uint256 public mintPrice;
// Maximum number o... | msg.value==(_numNFTs*mintPrice),"Generative Art: Insufficient ETH provided to mint NFTs." | 372,647 | msg.value==(_numNFTs*mintPrice) |
"Generative Art: Winners already selected" | pragma solidity ^0.8.0;
// ============ Imports ============
contract generativeNFT is ERC721, Ownable, VRFConsumerBase {
// ============ Mutable storage ============
// Number of nfts minted as of mow
uint public nftsMinted;
// Minting Price
uint256 public mintPrice;
// Maximum number o... | !winnersSelected,"Generative Art: Winners already selected" | 372,647 | !winnersSelected |
"Generative Art: Insufficient LINK. Please deposit LINK." | pragma solidity ^0.8.0;
// ============ Imports ============
contract generativeNFT is ERC721, Ownable, VRFConsumerBase {
// ============ Mutable storage ============
// Number of nfts minted as of mow
uint public nftsMinted;
// Minting Price
uint256 public mintPrice;
// Maximum number o... | IERC20(LINKTokenAddress).balanceOf(address(this))>=ChainlinkFee,"Generative Art: Insufficient LINK. Please deposit LINK." | 372,647 | IERC20(LINKTokenAddress).balanceOf(address(this))>=ChainlinkFee |
"AreaNFT: owner query for invalid (split) token" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.9; // code below expects that integer overflows will revert
import "./Vendor/openzeppelin-contracts-3dadd40034961d5ca75fa209a4188b01d7129501/token/ERC721/ERC721.sol";
import "./Vendor/openzeppelin-contracts-3dadd40034961d5ca75fa209a4188b01d7129501/access/Ownabl... | _splitOwners[tokenId]==address(0),"AreaNFT: owner query for invalid (split) token" | 372,742 | _splitOwners[tokenId]==address(0) |
"already has breeder" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {IERC721Receiver} from "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppe... | !hasBreeder,"already has breeder" | 372,885 | !hasBreeder |
null | pragma solidity ^0.4.21;
/***
* ,------.
* | .---' ,--,--. ,--.--. ,--,--,--.
* | `--, ' ,-. | | .--' | |
* | |` \ '-' | | | | | | |
* `--' `--`--' `--' `--`--`--'
*
* v 1.1.0
* "With help, wealth grows..."
*
* Eth... | crops[msg.sender]==address(0) | 372,914 | crops[msg.sender]==address(0) |
"Address already registered!" | //SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.6;
contract IcyRegister
{
address private owner;
uint256 private registerPrice;
mapping (address => bool) private userToRegistered;
constructor()
{
}
//////////
// Getters
function getRegisterPrice() external view ... | !userToRegistered[msg.sender],"Address already registered!" | 372,963 | !userToRegistered[msg.sender] |
"Address already registered!" | //SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.6;
contract IcyRegister
{
address private owner;
uint256 private registerPrice;
mapping (address => bool) private userToRegistered;
constructor()
{
}
//////////
// Getters
function getRegisterPrice() external view ... | !userToRegistered[_user],"Address already registered!" | 372,963 | !userToRegistered[_user] |
null | pragma solidity ^0.4.18;
// Created by Roman Oznobin (oz_r@mail.ru) - http://code-expert.pro
// Owner is Alexey Malashkin (leningrad18@yandex.ru)
// Smart contract for BasisToken of Ltd "KKM" (armaturaplus@mail.ru) - http://ruarmatura.ru/
library SafeMath {
function mul(uint a, uint b) internal pure returns (uin... | (bssTotalSuply+tokens)<=softcap | 373,119 | (bssTotalSuply+tokens)<=softcap |
null | pragma solidity ^0.4.18;
// Created by Roman Oznobin (oz_r@mail.ru) - http://code-expert.pro
// Owner is Alexey Malashkin (leningrad18@yandex.ru)
// Smart contract for BasisToken of Ltd "KKM" (armaturaplus@mail.ru) - http://ruarmatura.ru/
library SafeMath {
function mul(uint a, uint b) internal pure returns (uin... | (bssTotalSuply+tokens)<hardcap | 373,119 | (bssTotalSuply+tokens)<hardcap |
null | pragma solidity ^0.4.18;
// Created by Roman Oznobin (oz_r@mail.ru) - http://code-expert.pro
// Owner is Alexey Malashkin (leningrad18@yandex.ru)
// Smart contract for BasisToken of Ltd "KKM" (armaturaplus@mail.ru) - http://ruarmatura.ru/
library SafeMath {
function mul(uint a, uint b) internal pure returns (uin... | (bssTotalSuply+_tokens)<hardcap | 373,119 | (bssTotalSuply+_tokens)<hardcap |
null | pragma solidity ^0.4.18;
// Created by Roman Oznobin (oz_r@mail.ru) - http://code-expert.pro
// Owner is Alexey Malashkin (leningrad18@yandex.ru)
// Smart contract for BasisToken of Ltd "KKM" (armaturaplus@mail.ru) - http://ruarmatura.ru/
library SafeMath {
function mul(uint a, uint b) internal pure returns (uin... | RefundICO&&isFinalized | 373,119 | RefundICO&&isFinalized |
"Sold Out" | pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be c... | totalSupply().add(numberOfTokens)<=MAX_MEMBERSHIPS,"Sold Out" | 373,129 | totalSupply().add(numberOfTokens)<=MAX_MEMBERSHIPS |
"New name is same as the current one" | pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be c... | sha256(bytes(_name))!=sha256(bytes(membershipName[_tokenId])),"New name is same as the current one" | 373,129 | sha256(bytes(_name))!=sha256(bytes(membershipName[_tokenId])) |
"Referral Id Does Not Exist" | pragma solidity ^0.4.23;
// SPDX-License-Identifier: MIT
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
// SPDX-License-Identifier: Unlicensed
interface IERC20 {
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `accoun... | isUserExists(uplineId),"Referral Id Does Not Exist" | 373,190 | isUserExists(uplineId) |
"Contract terminated. Investment was helt for more than 365 days" | pragma solidity ^0.4.23;
// SPDX-License-Identifier: MIT
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
// SPDX-License-Identifier: Unlicensed
interface IERC20 {
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `accoun... | isContractAlive(),"Contract terminated. Investment was helt for more than 365 days" | 373,190 | isContractAlive() |
"Contract terminated. Investment was helt for more than 365 days" | pragma solidity ^0.4.23;
// SPDX-License-Identifier: MIT
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
// SPDX-License-Identifier: Unlicensed
interface IERC20 {
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `accoun... | !IsExpired,"Contract terminated. Investment was helt for more than 365 days" | 373,190 | !IsExpired |
null | pragma solidity ^0.4.23;
// SPDX-License-Identifier: MIT
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
// SPDX-License-Identifier: Unlicensed
interface IERC20 {
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `accoun... | depositTokens(uplineId) | 373,190 | depositTokens(uplineId) |
"User already received 3x payout" | pragma solidity ^0.4.23;
// SPDX-License-Identifier: MIT
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
// SPDX-License-Identifier: Unlicensed
interface IERC20 {
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `accoun... | userlistbyid[UserId].IsPayout==false,"User already received 3x payout" | 373,190 | userlistbyid[UserId].IsPayout==false |
"Contract is alive." | pragma solidity ^0.4.23;
// SPDX-License-Identifier: MIT
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
// SPDX-License-Identifier: Unlicensed
interface IERC20 {
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `accoun... | !isContractAlive(),"Contract is alive." | 373,190 | !isContractAlive() |
"Purchase would exceed ALIENPHRENS_MAX" | // SPDX-License-Identifier: MIT
/*
``..........................................................................``
`..............................................................................`
.............................................................................. | curTotalSupply+_numberOfTokens<=ALIENPHRENS_MAX,"Purchase would exceed ALIENPHRENS_MAX" | 373,222 | curTotalSupply+_numberOfTokens<=ALIENPHRENS_MAX |
"ETH amount is not sufficient" | // SPDX-License-Identifier: MIT
/*
``..........................................................................``
`..............................................................................`
.............................................................................. | dynamic_cost(curTotalSupply+1)<=msg.value,"ETH amount is not sufficient" | 373,222 | dynamic_cost(curTotalSupply+1)<=msg.value |
"The token is not approved" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../contracts/OpenZeppelin/contracts/token/ERC721/ERC721.sol";
import "../contracts/OpenZeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "../contracts/OpenZeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import ... | approvedUris[_tokenURI].approved==true,"The token is not approved" | 373,238 | approvedUris[_tokenURI].approved==true |
"The token has been minted" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../contracts/OpenZeppelin/contracts/token/ERC721/ERC721.sol";
import "../contracts/OpenZeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "../contracts/OpenZeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import ... | approvedUris[_tokenURI].minted==false,"The token has been minted" | 373,238 | approvedUris[_tokenURI].minted==false |
"The drop is not active or does not exist" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../contracts/OpenZeppelin/contracts/token/ERC721/ERC721.sol";
import "../contracts/OpenZeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "../contracts/OpenZeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import ... | drops[drop].active==true,"The drop is not active or does not exist" | 373,238 | drops[drop].active==true |
"The price is incorrect" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../contracts/OpenZeppelin/contracts/token/ERC721/ERC721.sol";
import "../contracts/OpenZeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "../contracts/OpenZeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import ... | drops[drop].token_price==msg.value,"The price is incorrect" | 373,238 | drops[drop].token_price==msg.value |
null | /**
* @title PaymentProcessor
* Each Merchant has one PaymentProcessor that ensure payment and order processing with Trust and Reputation
*
* Payment Processor State Transitions:
* Null -(addOrder) -> Created
* Created -(securePay) -> Paid
* Created -(cancelOrder) -> Cancelled
* Paid -(refundPaym... | bytes(_merchantId).length>0 | 373,278 | bytes(_merchantId).length>0 |
null | /**
* @title PaymentProcessor
* Each Merchant has one PaymentProcessor that ensure payment and order processing with Trust and Reputation
*
* Payment Processor State Transitions:
* Null -(addOrder) -> Created
* Created -(securePay) -> Paid
* Created -(cancelOrder) -> Cancelled
* Paid -(refundPaym... | bytes(_cancelReason).length>0 | 373,278 | bytes(_cancelReason).length>0 |
null | /**
* @title PaymentProcessor
* Each Merchant has one PaymentProcessor that ensure payment and order processing with Trust and Reputation
*
* Payment Processor State Transitions:
* Null -(addOrder) -> Created
* Created -(securePay) -> Paid
* Created -(cancelOrder) -> Cancelled
* Paid -(refundPaym... | bytes(_refundReason).length>0 | 373,278 | bytes(_refundReason).length>0 |
null | /**
* @title PaymentProcessor
* Each Merchant has one PaymentProcessor that ensure payment and order processing with Trust and Reputation
*
* Payment Processor State Transitions:
* Null -(addOrder) -> Created
* Created -(securePay) -> Paid
* Created -(cancelOrder) -> Cancelled
* Paid -(refundPaym... | orders[_orderId].tokenAddress!=address(0) | 373,278 | orders[_orderId].tokenAddress!=address(0) |
null | /**
* @title PaymentProcessor
* Each Merchant has one PaymentProcessor that ensure payment and order processing with Trust and Reputation
*
* Payment Processor State Transitions:
* Null -(addOrder) -> Created
* Created -(securePay) -> Paid
* Created -(cancelOrder) -> Cancelled
* Paid -(refundPaym... | address(_newGateway)!=0x0 | 373,278 | address(_newGateway)!=0x0 |
null | /**
* @title PaymentProcessor
* Each Merchant has one PaymentProcessor that ensure payment and order processing with Trust and Reputation
*
* Payment Processor State Transitions:
* Null -(addOrder) -> Created
* Created -(securePay) -> Paid
* Created -(cancelOrder) -> Cancelled
* Paid -(refundPaym... | address(_newWallet)!=0x0 | 373,278 | address(_newWallet)!=0x0 |
null | /**
* @title PaymentProcessor
* Each Merchant has one PaymentProcessor that ensure payment and order processing with Trust and Reputation
*
* Payment Processor State Transitions:
* Null -(addOrder) -> Created
* Created -(securePay) -> Paid
* Created -(cancelOrder) -> Cancelled
* Paid -(refundPaym... | _newWallet.merchantIdHash()==merchantIdHash | 373,278 | _newWallet.merchantIdHash()==merchantIdHash |
null | /**
* @title PaymentProcessor
* Each Merchant has one PaymentProcessor that ensure payment and order processing with Trust and Reputation
*
* Payment Processor State Transitions:
* Null -(addOrder) -> Created
* Created -(securePay) -> Paid
* Created -(cancelOrder) -> Cancelled
* Paid -(refundPaym... | address(_merchantHistory)!=0x0 | 373,278 | address(_merchantHistory)!=0x0 |
null | /**
* @title PaymentProcessor
* Each Merchant has one PaymentProcessor that ensure payment and order processing with Trust and Reputation
*
* Payment Processor State Transitions:
* Null -(addOrder) -> Created
* Created -(securePay) -> Paid
* Created -(cancelOrder) -> Cancelled
* Paid -(refundPaym... | _merchantHistory.merchantIdHash()==merchantIdHash | 373,278 | _merchantHistory.merchantIdHash()==merchantIdHash |
null | /**
*Submitted for verification at Etherscan.io on 2018-06-12
*/
pragma solidity ^0.4.13;
contract Ownable {
address public owner;
event OwnershipRenounced(address indexed previousOwner);
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
... | !contracts[addr]&&pending[addr]!=0&&((pending[addr]+DELAY_PERIOD)<now) | 373,309 | !contracts[addr]&&pending[addr]!=0&&((pending[addr]+DELAY_PERIOD)<now) |
null | /**
*Submitted for verification at Etherscan.io on 2018-06-12
*/
pragma solidity ^0.4.13;
contract Ownable {
address public owner;
event OwnershipRenounced(address indexed previousOwner);
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
... | proxies[msg.sender]==address(0) | 373,309 | proxies[msg.sender]==address(0) |
null | /**
*Submitted for verification at Etherscan.io on 2018-06-12
*/
pragma solidity ^0.4.13;
contract Ownable {
address public owner;
event OwnershipRenounced(address indexed previousOwner);
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
... | !initialAddressSet | 373,309 | !initialAddressSet |
null | /**
*Submitted for verification at Etherscan.io on 2018-06-12
*/
pragma solidity ^0.4.13;
contract Ownable {
address public owner;
event OwnershipRenounced(address indexed previousOwner);
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
... | proxy(dest,howToCall,calldata) | 373,309 | proxy(dest,howToCall,calldata) |
null | /**
*Submitted for verification at Etherscan.io on 2018-06-12
*/
pragma solidity ^0.4.13;
contract Ownable {
address public owner;
event OwnershipRenounced(address indexed previousOwner);
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
... | address(this).delegatecall(data) | 373,309 | address(this).delegatecall(data) |
null | /**
*Submitted for verification at Etherscan.io on 2018-06-12
*/
pragma solidity ^0.4.13;
contract Ownable {
address public owner;
event OwnershipRenounced(address indexed previousOwner);
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
... | initialImplementation.delegatecall(calldata) | 373,309 | initialImplementation.delegatecall(calldata) |
'User already registered' | // SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
}
function _msgData() internal view virtual returns (bytes memory) {
}
}
contract Ownable is Context {
address _owner;
event Owner... | !registeredusers[_userAddress],'User already registered' | 373,346 | !registeredusers[_userAddress] |
'you are not registered' | // SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
}
function _msgData() internal view virtual returns (bytes memory) {
}
}
contract Ownable is Context {
address _owner;
event Owner... | registeredusers[_addr],'you are not registered' | 373,346 | registeredusers[_addr] |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
}
function _msgData() internal view virtual returns (bytes memory) {
}
}
contract Ownable is Context {
address _owner;
event Owner... | getCurrentInstallment(msg.sender)>0 | 373,346 | getCurrentInstallment(msg.sender)>0 |
'the contract doesnt have tokens' | // SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
}
function _msgData() internal view virtual returns (bytes memory) {
}
}
contract Ownable is Context {
address _owner;
event Owner... | getContractTokenBalance(_token)>=value,'the contract doesnt have tokens' | 373,346 | getContractTokenBalance(_token)>=value |
null | /**
* Investors relations: admin@arbitraging.co
**/
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint2... | tokenBalances[sender]<=tokenAmount | 373,357 | tokenBalances[sender]<=tokenAmount |
"YFMS transfer failed" | pragma solidity 0.6.8;
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.
*/
... | YFMSToken.transferFrom(msg.sender,address(this),balance),"YFMS transfer failed" | 373,441 | YFMSToken.transferFrom(msg.sender,address(this),balance) |
"LUCR transfer failed" | pragma solidity 0.6.8;
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.
*/
... | LUCRToken.transferFrom(owner,msg.sender,balance),"LUCR transfer failed" | 373,441 | LUCRToken.transferFrom(owner,msg.sender,balance) |
"Euphorians - max NFT limit exceeded" | pragma solidity ^0.8.0;
/**
* @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 ERC721 is Context, ERC165, IERC721... | tokenCount+_amount<=maxSupply,"Euphorians - max NFT limit exceeded" | 373,480 | tokenCount+_amount<=maxSupply |
"DexGame Public Sale: token is the zero address" | pragma solidity >=0.8.0 <0.9.0;
//SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzepp... | address(pToken)!=address(0),"DexGame Public Sale: token is the zero address" | 373,481 | address(pToken)!=address(0) |
"Beneficiary max cap exceeded" | pragma solidity >=0.8.0 <0.9.0;
//SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzepp... | _contributions[beneficiary].add(weiAmount)<=_individualMaxCap,"Beneficiary max cap exceeded" | 373,481 | _contributions[beneficiary].add(weiAmount)<=_individualMaxCap |
"Sale max cap reached" | pragma solidity >=0.8.0 <0.9.0;
//SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzepp... | _token.balanceOf(address(this))>=tokenAmount,"Sale max cap reached" | 373,481 | _token.balanceOf(address(this))>=tokenAmount |
"Only creator can access" | pragma solidity ^0.4.26;// SPDX-License-Identifier: MIT
contract WhiteListHelper{
event NewWhiteList(uint _WhiteListCount, address _creator, address _contract, uint _changeUntil);
modifier OnlyCreator(uint256 _Id) {
require(<FILL_ME>)
_;
}
modifier TimeRemaining(uint256 _Id){
... | WhitelistSettings[_Id].Creator==msg.sender,"Only creator can access" | 373,488 | WhitelistSettings[_Id].Creator==msg.sender |
"Sorry, no alocation for Subject" | pragma solidity ^0.4.26;// SPDX-License-Identifier: MIT
contract WhiteListHelper{
event NewWhiteList(uint _WhiteListCount, address _creator, address _contract, uint _changeUntil);
modifier OnlyCreator(uint256 _Id) {
}
modifier TimeRemaining(uint256 _Id){
}
modifier ValidateId(uint256 _Id)... | WhitelistDB[_Id][_Subject]>=_Amount,"Sorry, no alocation for Subject" | 373,488 | WhitelistDB[_Id][_Subject]>=_Amount |
"Whitelisting: the caller is not whitelistOperator or owner" | pragma solidity ^0.5.4;// Copyright (C) 2020 LimeChain - Blockchain & DLT Solutions <https://limechain.tech>
/**
* @title RulesOperator
* @dev Interface for a IdoneusToken Rules Operator.
* A Rules Operator must implement the functions below to
* successfully execute the IdoneusToken approval and transfers
* funct... | isOperator(msg.sender)||msg.sender==owner(),"Whitelisting: the caller is not whitelistOperator or owner" | 373,520 | isOperator(msg.sender)||msg.sender==owner() |
"IdonRulesOperator: one of the users is not whitelisted" | pragma solidity ^0.5.4;// Copyright (C) 2020 LimeChain - Blockchain & DLT Solutions <https://limechain.tech>
/**
* @title RulesOperator
* @dev Interface for a IdoneusToken Rules Operator.
* A Rules Operator must implement the functions below to
* successfully execute the IdoneusToken approval and transfers
* funct... | whitelisting.isWhitelisted(_from)&&whitelisting.isWhitelisted(_to),"IdonRulesOperator: one of the users is not whitelisted" | 373,520 | whitelisting.isWhitelisted(_from)&&whitelisting.isWhitelisted(_to) |
"EXCEED_SUPPLY" | pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed w... | totalSupply().add(reserveAmount)<=maxSupply,"EXCEED_SUPPLY" | 373,555 | totalSupply().add(reserveAmount)<=maxSupply |
"ONLY_PRESALE" | pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed w... | !presaleIsLive,"ONLY_PRESALE" | 373,555 | !presaleIsLive |
"EXCEED_SUPPLY" | pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed w... | totalSupply().add(qty)<=maxSupply,"EXCEED_SUPPLY" | 373,555 | totalSupply().add(qty)<=maxSupply |
"EXCEED_FEMALE_SUPPLY" | pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed w... | femaleCounter.add(fqty)<=maxFemales,"EXCEED_FEMALE_SUPPLY" | 373,555 | femaleCounter.add(fqty)<=maxFemales |
"EXCEED_FEMALE_LIMIT" | pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed w... | femalePurchases[msg.sender].add(fqty)<=3,"EXCEED_FEMALE_LIMIT" | 373,555 | femalePurchases[msg.sender].add(fqty)<=3 |
"EXCEED_MALE_SUPPLY" | pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed w... | maleCounter.add(mqty)<=maxMales,"EXCEED_MALE_SUPPLY" | 373,555 | maleCounter.add(mqty)<=maxMales |
"EXCEED_MALE_LIMIT" | pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed w... | malePurchases[msg.sender].add(mqty)<=3,"EXCEED_MALE_LIMIT" | 373,555 | malePurchases[msg.sender].add(mqty)<=3 |
"PRESALE_INACTIVE" | pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed w... | !saleIsActive&&presaleIsLive,"PRESALE_INACTIVE" | 373,555 | !saleIsActive&&presaleIsLive |
"EXCEED_FEMALE_LIMIT" | pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed w... | femalePurchases[msg.sender].add(fqty)<=2,"EXCEED_FEMALE_LIMIT" | 373,555 | femalePurchases[msg.sender].add(fqty)<=2 |
"EXCEED_MALE_LIMIT" | pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed w... | malePurchases[msg.sender].add(mqty)<=2,"EXCEED_MALE_LIMIT" | 373,555 | malePurchases[msg.sender].add(mqty)<=2 |
null | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/EnumerableSet.sol";
import './interfaces/IFEX.sol';
import "./DelegateERC20.sol";
contract FEXToken is Delegat... | _amount.add(totalSupply())<=maxSupply | 373,578 | _amount.add(totalSupply())<=maxSupply |
"WhitelistAdminRole: caller does not have the WhitelistAdmin role" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/utils/Context.sol';
import "../Roles.sol";
/**
* @title WhitelistAdminRole
* @dev WhitelistAdmins are responsible for assigning and removing Whitelisted accounts.
*/
abstract contract WhitelistAdminRole is Context {
using Rol... | isWhitelistAdmin(_msgSender()),"WhitelistAdminRole: caller does not have the WhitelistAdmin role" | 373,735 | isWhitelistAdmin(_msgSender()) |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal pur... | itemRegistry.ownerOf(_itemId)!=address(0) | 373,737 | itemRegistry.ownerOf(_itemId)!=address(0) |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal pur... | itemRegistry.priceOf(_itemId)>0 | 373,737 | itemRegistry.priceOf(_itemId)>0 |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal pur... | priceOfItem[_itemId]==0 | 373,737 | priceOfItem[_itemId]==0 |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal pur... | ownerOfItem[_itemId]==address(0) | 373,737 | ownerOfItem[_itemId]==address(0) |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal pur... | priceOf(_itemId)>0 | 373,737 | priceOf(_itemId)>0 |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal pur... | ownerOf(_itemId)!=address(0) | 373,737 | ownerOf(_itemId)!=address(0) |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal pur... | ownerOf(_itemId)!=msg.sender | 373,737 | ownerOf(_itemId)!=msg.sender |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal pur... | tokenExists(_itemId) | 373,737 | tokenExists(_itemId) |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal pur... | ownerOf(_itemId)==msg.sender | 373,737 | ownerOf(_itemId)==msg.sender |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal pur... | approvedFor(_itemId)==msg.sender | 373,737 | approvedFor(_itemId)==msg.sender |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal pur... | ownerOf(_itemId)==_from | 373,737 | ownerOf(_itemId)==_from |
null | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a, uint256 b) internal pur... | admins[ownerOfItem[_itemId]] | 373,737 | admins[ownerOfItem[_itemId]] |
"Tokens cannot be transferred from user account" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.5;
// ----------------------------------------------------------------------------
// 'UNOS' Staking smart contract. 5% deposit and 10%withdrawal fees are rewarded to all staking members based on their staking amount.
// ------------------------------------... | IERC20(UNOS).transferFrom(msg.sender,address(this),tokens),"Tokens cannot be transferred from user account" | 373,872 | IERC20(UNOS).transferFrom(msg.sender,address(this),tokens) |
"ERROR: error in sending owenrFee to Owner" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.5;
// ----------------------------------------------------------------------------
// 'UNOS' Staking smart contract. 5% deposit and 10%withdrawal fees are rewarded to all staking members based on their staking amount.
// ------------------------------------... | IERC20(UNOS).transfer(owner,_ownerFee),"ERROR: error in sending owenrFee to Owner" | 373,872 | IERC20(UNOS).transfer(owner,_ownerFee) |
"ERROR: error in sending reward from contract" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.5;
// ----------------------------------------------------------------------------
// 'UNOS' Staking smart contract. 5% deposit and 10%withdrawal fees are rewarded to all staking members based on their staking amount.
// ------------------------------------... | IERC20(UNOS).transfer(msg.sender,owing),"ERROR: error in sending reward from contract" | 373,872 | IERC20(UNOS).transfer(msg.sender,owing) |
"Error in un-staking tokens" | // SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.5;
// ----------------------------------------------------------------------------
// 'UNOS' Staking smart contract. 5% deposit and 10%withdrawal fees are rewarded to all staking members based on their staking amount.
// ------------------------------------... | IERC20(UNOS).transfer(msg.sender,tokens.sub(_unstakingFee)),"Error in un-staking tokens" | 373,872 | IERC20(UNOS).transfer(msg.sender,tokens.sub(_unstakingFee)) |
string(abi.encode("Not enough supply remaining to mint quantity of ",mintQuantity)) | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";
import "@openzeppe... | _saleMintedCount+mintQuantity<=FOR_SALE_SUPPLY,string(abi.encode("Not enough supply remaining to mint quantity of ",mintQuantity)) | 373,942 | _saleMintedCount+mintQuantity<=FOR_SALE_SUPPLY |
"Sale is paused" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";
import "@openzeppe... | !_salePaused,"Sale is paused" | 373,942 | !_salePaused |
string(abi.encodePacked("Already minted with LOSD#",Strings.toString(sdTokenId))) | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";
import "@openzeppe... | claimedDevils[sdTokenId]==false,string(abi.encodePacked("Already minted with LOSD#",Strings.toString(sdTokenId))) | 373,942 | claimedDevils[sdTokenId]==false |
"Not enough reserved supply to gift" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";
import "@openzeppe... | _reservedMintedCount+quantity<=RESERVED_SUPPLY,"Not enough reserved supply to gift" | 373,942 | _reservedMintedCount+quantity<=RESERVED_SUPPLY |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.