comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"Invalid payment amount sale" | //Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
... | amount*MINT_PRICE==value,"Invalid payment amount sale" | 314,980 | amount*MINT_PRICE==value |
"Public sale currently paused" | //Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
... | !mintWithEthPaused,"Public sale currently paused" | 314,980 | !mintWithEthPaused |
"ERC721Metadata: Nonexistent token" | //Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
... | beesContract.doesExist(tokenId),"ERC721Metadata: Nonexistent token" | 314,980 | beesContract.doesExist(tokenId) |
null | pragma solidity ^0.4.2;
contract owned {
address public owner;
function owned() {
}
function changeOwner(address newOwner) onlyOwner {
}
modifier onlyOwner {
}
}
contract tokenRecipient {function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData);}
contract Utils {
/**
... | !allAgingTimesHasBeenAdded | 315,008 | !allAgingTimesHasBeenAdded |
null | pragma solidity ^0.4.2;
contract owned {
address public owner;
function owned() {
}
function changeOwner(address newOwner) onlyOwner {
}
modifier onlyOwner {
}
}
contract tokenRecipient {function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData);}
contract Utils {
/**
... | accountBalance(msg.sender)>=_value | 315,008 | accountBalance(msg.sender)>=_value |
null | pragma solidity ^0.4.2;
contract owned {
address public owner;
function owned() {
}
function changeOwner(address newOwner) onlyOwner {
}
modifier onlyOwner {
}
}
contract tokenRecipient {function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData);}
contract Utils {
/**
... | accountBalance(_from)>=_value | 315,008 | accountBalance(_from)>=_value |
null | pragma solidity ^0.4.2;
contract owned {
address public owner;
function owned() {
}
function changeOwner(address newOwner) onlyOwner {
}
modifier onlyOwner {
}
}
contract tokenRecipient {function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData);}
contract Utils {
/**
... | accountBalance(_from)>=_amount | 315,008 | accountBalance(_from)>=_amount |
null | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.0;
contract Initializable {
/**
* @dev Indicates that the contract has been initialized.
*/
bool private initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool private initializing;
/... | isUpdater[msg.sender] | 315,177 | isUpdater[msg.sender] |
"job closed or not exist" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.0;
contract Initializable {
/**
* @dev Indicates that the contract has been initialized.
*/
bool private initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool private initializing;
/... | isJobActive[_jobId],"job closed or not exist" | 315,177 | isJobActive[_jobId] |
"unauthorised" | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.0;
contract Initializable {
/**
* @dev Indicates that the contract has been initialized.
*/
bool private initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool private initializing;
/... | jobs[_jobId].creator==msg.sender,"unauthorised" | 315,177 | jobs[_jobId].creator==msg.sender |
null | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.0;
contract Initializable {
/**
* @dev Indicates that the contract has been initialized.
*/
bool private initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool private initializing;
/... | calls[_callId]==keccak256(abi.encodePacked(to,callTime,data,fee,gaslimit,gasprice)) | 315,177 | calls[_callId]==keccak256(abi.encodePacked(to,callTime,data,fee,gaslimit,gasprice)) |
null | pragma solidity ^0.4.24;
/**
* Audited by VZ Chains (vzchains.com)
* HashRushICO.sol creates the client's token for crowdsale and allows for subsequent token sales and minting of tokens
* Crowdsale contracts edited from original contract code at https://www.ethereum.org/crowdsale#crowdfund-your-idea
* Addition... | !crowdsaleClosed&&(now<stopTime)&&(msg.value>=minimumInvestment)&&(totalSupply_.add(msg.value.mul(price).mul(multiplier).div(1ether))<=fixedTotalSupply)&&(amountRaised.add(msg.value.div(1ether))<=crowdsaleTarget) | 315,190 | !crowdsaleClosed&&(now<stopTime)&&(msg.value>=minimumInvestment)&&(totalSupply_.add(msg.value.mul(price).mul(multiplier).div(1ether))<=fixedTotalSupply)&&(amountRaised.add(msg.value.div(1ether))<=crowdsaleTarget) |
null | pragma solidity ^0.4.24;
/**
* Audited by VZ Chains (vzchains.com)
* HashRushICO.sol creates the client's token for crowdsale and allows for subsequent token sales and minting of tokens
* Crowdsale contracts edited from original contract code at https://www.ethereum.org/crowdsale#crowdfund-your-idea
* Addition... | totalSupply_.add(amount)<=fixedTotalSupply | 315,190 | totalSupply_.add(amount)<=fixedTotalSupply |
"max NFT per address exceeded" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "hardhat/console.sol";
contract MonkeyPoly is ERC721Enumerable, Ownable {
using Strings for uint256;
string public baseUR... | ownerMintedCount+_mintAmount<=2,"max NFT per address exceeded" | 315,245 | ownerMintedCount+_mintAmount<=2 |
null | /**
* Copyright 2017–2018, bZeroX, LLC. All Rights Reserved.
* Licensed under the Apache License, Version 2.0.
*/
pragma solidity 0.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
... | !lockingFinished | 315,254 | !lockingFinished |
"canTransfer is false" | /**
* Copyright 2017–2018, bZeroX, LLC. All Rights Reserved.
* Licensed under the Apache License, Version 2.0.
*/
pragma solidity 0.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
... | canTransfer(_spender,_from,_value),"canTransfer is false" | 315,254 | canTransfer(_spender,_from,_value) |
null | pragma solidity ^0.4.24;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* 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(... | !isLockedWalletEntity(msg.sender) | 315,353 | !isLockedWalletEntity(msg.sender) |
null | pragma solidity ^0.4.24;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* 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(... | !isLockedWalletEntity(from)&&!isLockedWalletEntity(msg.sender) | 315,353 | !isLockedWalletEntity(from)&&!isLockedWalletEntity(msg.sender) |
null | pragma solidity ^0.4.24;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* 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(... | lockedUserEntity[holder].length>=idx | 315,353 | lockedUserEntity[holder].length>=idx |
null | // SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
pragma solidity ^0.8.0;
contract HAYC is ERC721("Hex Ape Yacht Club", "HAYC"), Ownable {
using Counters for Counters.Count... | payable(a).send(bal) | 315,363 | payable(a).send(bal) |
null | pragma solidity ^0.4.25;
// ----------------------------------------------------------------------------
// BokkyPooBah's Pricefeed from a single source
//
// Deployed to: 0xD649c9b68BB78e8fd25c0B7a9c22c42f57768c91
//
// Enjoy. (c) BokkyPooBah / Bok Consulting Pty Ltd 2018. The MIT Licence.
// ------------------... | operators[msg.sender]||owner==msg.sender | 315,444 | operators[msg.sender]||owner==msg.sender |
null | pragma solidity ^0.4.25;
// ----------------------------------------------------------------------------
// BokkyPooBah's Pricefeed from a single source
//
// Deployed to: 0xD649c9b68BB78e8fd25c0B7a9c22c42f57768c91
//
// Enjoy. (c) BokkyPooBah / Bok Consulting Pty Ltd 2018. The MIT Licence.
// ------------------... | !operators[_operator] | 315,444 | !operators[_operator] |
null | pragma solidity ^0.4.25;
// ----------------------------------------------------------------------------
// BokkyPooBah's Pricefeed from a single source
//
// Deployed to: 0xD649c9b68BB78e8fd25c0B7a9c22c42f57768c91
//
// Enjoy. (c) BokkyPooBah / Bok Consulting Pty Ltd 2018. The MIT Licence.
// ------------------... | operators[_operator] | 315,444 | operators[_operator] |
"Transfer failed" | pragma solidity ^0.5.16;
import "openzeppelin-solidity-2.3.0/contracts/token/ERC20/ERC20.sol";
import "openzeppelin-solidity-2.3.0/contracts/math/Math.sol";
import "openzeppelin-solidity-2.3.0/contracts/math/SafeMath.sol";
import "synthetix-2.43.1/contracts/SafeDecimalMath.sol";
import "openzeppelin-solidity-2.3.0/cont... | ERC20(token).transferFrom(msg.sender,address(this),_amount),"Transfer failed" | 315,493 | ERC20(token).transferFrom(msg.sender,address(this),_amount) |
"Contract can only be selfdestruct a year after endtime" | pragma solidity ^0.5.16;
import "openzeppelin-solidity-2.3.0/contracts/token/ERC20/ERC20.sol";
import "openzeppelin-solidity-2.3.0/contracts/math/Math.sol";
import "openzeppelin-solidity-2.3.0/contracts/math/SafeMath.sol";
import "synthetix-2.43.1/contracts/SafeDecimalMath.sol";
import "openzeppelin-solidity-2.3.0/cont... | block.timestamp>(endTime+365days),"Contract can only be selfdestruct a year after endtime" | 315,493 | block.timestamp>(endTime+365days) |
null | pragma solidity ^0.5.16;
import "openzeppelin-solidity-2.3.0/contracts/token/ERC20/ERC20.sol";
import "openzeppelin-solidity-2.3.0/contracts/math/Math.sol";
import "openzeppelin-solidity-2.3.0/contracts/math/SafeMath.sol";
import "synthetix-2.43.1/contracts/SafeDecimalMath.sol";
import "openzeppelin-solidity-2.3.0/cont... | ERC20(token).transfer(msg.sender,claimable) | 315,493 | ERC20(token).transfer(msg.sender,claimable) |
"Color name can have a maximum length of 32 characters" | 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... | bytes(colorName).length<=32,"Color name can have a maximum length of 32 characters" | 315,504 | bytes(colorName).length<=32 |
"Color name requires a minimum of 1 character" | 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... | bytes(colorName).length>=1,"Color name requires a minimum of 1 character" | 315,504 | bytes(colorName).length>=1 |
"Redeeming is not yet profitable." | pragma solidity 0.6.12;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
}
... | is_profitable(),"Redeeming is not yet profitable." | 315,511 | is_profitable() |
"already deployed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "./RallyV1CreatorCoinDeployer.sol";
/// @title Creator Coin V1 Factory
/// @notice Deploys and tracks the Creator Coin ERC20 contracts for bridging
/// individual coins from rally sidechain to ethereum ma... | getMainnetCreatorCoinAddress[pricingCurveIdHash]==address(0),"already deployed" | 315,516 | getMainnetCreatorCoinAddress[pricingCurveIdHash]==address(0) |
"not supported" | pragma solidity ^0.5.0;
import "./Math.sol";
import "./SafeERC20.sol";
import "./IRewardDistributionRecipient.sol";
contract Govern is IERC20 {
function make_profit(uint256 amount) external returns (bool);
}
library SafeGovern {
using SafeMath for uint256;
using Address for address;
function safeMakePro... | _tokens[token]!=address(0),"not supported" | 315,734 | _tokens[token]!=address(0) |
"Pausable.whenNotPaused: PAUSED" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/* DATA STRUCT IMPORTS */
import "./PausableStore.sol";
/* INHERITANCE IMPORTS */
import "../../utils/Context.sol";
import "./interfaces/PausableEvents.sol";
/* STORAGE */
import "../../ERC20/ERC20Storage.sol";
contract Pausable is Context, PausableEvents, ERC20St... | !_paused_(),"Pausable.whenNotPaused: PAUSED" | 315,773 | !_paused_() |
"Pausable.whenPaused: NOT_PAUSED" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/* DATA STRUCT IMPORTS */
import "./PausableStore.sol";
/* INHERITANCE IMPORTS */
import "../../utils/Context.sol";
import "./interfaces/PausableEvents.sol";
/* STORAGE */
import "../../ERC20/ERC20Storage.sol";
contract Pausable is Context, PausableEvents, ERC20St... | _paused_(),"Pausable.whenPaused: NOT_PAUSED" | 315,773 | _paused_() |
"You're not invited" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
// by: stormwalkerz ⭐️
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/cont... | MerkleProof.verify(proof_,merkleRoot,keccak256(abi.encodePacked(msg.sender))),"You're not invited" | 315,805 | MerkleProof.verify(proof_,merkleRoot,keccak256(abi.encodePacked(msg.sender))) |
"Max supply exceeded" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
// by: stormwalkerz ⭐️
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/cont... | totalSupply(TOKEN_ID)+quantity_<=maxSupply,"Max supply exceeded" | 315,805 | totalSupply(TOKEN_ID)+quantity_<=maxSupply |
"Whitelist sale not started" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
// by: stormwalkerz ⭐️
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/cont... | whitelistMintEnabled&&block.timestamp>=whitelistMintTime,"Whitelist sale not started" | 315,805 | whitelistMintEnabled&&block.timestamp>=whitelistMintTime |
"You don't own the token" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
// by: stormwalkerz ⭐️
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/cont... | balanceOf(msg.sender,TOKEN_ID)>0,"You don't own the token" | 315,805 | balanceOf(msg.sender,TOKEN_ID)>0 |
"Max supply exceeded!" | pragma solidity ^0.8.0;
contract SugarBabes is ERC721, Ownable {
using Strings for uint256;
using Counters for Counters.Counter;
Counters.Counter private supply;
string public uriPrefix = "ipfs://QmVXSqwcz7583M9Xaa4iMASuuhVJeiPd42jEhkP3FJ3ToV/";
string public uriSuffix = ".json";
string public hidden... | supply.current()+_mintAmount<=availableToMint,"Max supply exceeded!" | 315,912 | supply.current()+_mintAmount<=availableToMint |
"Max NFT mint limit reached. Try minting in public sale" | pragma solidity ^0.8.0;
contract SugarBabes is ERC721, Ownable {
using Strings for uint256;
using Counters for Counters.Counter;
Counters.Counter private supply;
string public uriPrefix = "ipfs://QmVXSqwcz7583M9Xaa4iMASuuhVJeiPd42jEhkP3FJ3ToV/";
string public uriSuffix = ".json";
string public hidden... | ownerMintedCount+_mintAmount<=preSaleWalletLimit,"Max NFT mint limit reached. Try minting in public sale" | 315,912 | ownerMintedCount+_mintAmount<=preSaleWalletLimit |
"Max NFT mint limit reached. Try minting in next sale" | pragma solidity ^0.8.0;
contract SugarBabes is ERC721, Ownable {
using Strings for uint256;
using Counters for Counters.Counter;
Counters.Counter private supply;
string public uriPrefix = "ipfs://QmVXSqwcz7583M9Xaa4iMASuuhVJeiPd42jEhkP3FJ3ToV/";
string public uriSuffix = ".json";
string public hidden... | balanceOf(msg.sender)+_mintAmount<=publicSaleWalletLimit,"Max NFT mint limit reached. Try minting in next sale" | 315,912 | balanceOf(msg.sender)+_mintAmount<=publicSaleWalletLimit |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/co... | baseToken.totalSupply()>0 | 316,027 | baseToken.totalSupply()>0 |
'Claims temporarily unavailable' | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/co... | !halt,'Claims temporarily unavailable' | 316,027 | !halt |
"You need to own the token to claim the reward" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/co... | baseToken.ownerOf(_tokenID)==msg.sender,"You need to own the token to claim the reward" | 316,027 | baseToken.ownerOf(_tokenID)==msg.sender |
"You need to own the token to claim the reward" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/co... | baseToken.ownerOf(DojiID)==msg.sender,"You need to own the token to claim the reward" | 316,027 | baseToken.ownerOf(DojiID)==msg.sender |
"Error while updating balances" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/co... | NFT1155accounting.RemoveBalanceOfTokenId(_contract,DojiID,tokenID,_amount),"Error while updating balances" | 316,027 | NFT1155accounting.RemoveBalanceOfTokenId(_contract,DojiID,tokenID,_amount) |
null | /**
*Submitted for verification at Etherscan.io on 2020-01-14
*/
pragma solidity ^0.4.24;
pragma experimental ABIEncoderV2;
contract TradeProfile {
event LogTraderTradingTransaction(string tradingTx);
event LogAggregatedFollowersTradingTransaction(bytes32 aggregatedTxsHash);
mapping(address=>bool) ... | errand[msg.sender] | 316,049 | errand[msg.sender] |
"Ether value sent is not correct" | pragma solidity ^0.8.4;
contract CryptoGolf is ERC721("CryptoGolf", "GOLFPUNKS"), ERC721Enumerable, Ownable {
using SafeMath for uint256;
using Strings for uint256;
struct OfferedPrice {
address buyer;
uint256 price;
uint256 tokenType;
uint256 date;
}
struct... | tokenPrice.mul(_numOfTokens)==msg.value,"Ether value sent is not correct" | 316,073 | tokenPrice.mul(_numOfTokens)==msg.value |
"Token owner does not matched" | pragma solidity ^0.8.4;
contract CryptoGolf is ERC721("CryptoGolf", "GOLFPUNKS"), ERC721Enumerable, Ownable {
using SafeMath for uint256;
using Strings for uint256;
struct OfferedPrice {
address buyer;
uint256 price;
uint256 tokenType;
uint256 date;
}
struct... | ERC721.ownerOf(_tokenId)==msg.sender,"Token owner does not matched" | 316,073 | ERC721.ownerOf(_tokenId)==msg.sender |
"Not approved user" | pragma solidity ^0.8.4;
contract CryptoGolf is ERC721("CryptoGolf", "GOLFPUNKS"), ERC721Enumerable, Ownable {
using SafeMath for uint256;
using Strings for uint256;
struct OfferedPrice {
address buyer;
uint256 price;
uint256 tokenType;
uint256 date;
}
struct... | ERC20(golfContractAddress).allowance(_to,address(this))>0,"Not approved user" | 316,073 | ERC20(golfContractAddress).allowance(_to,address(this))>0 |
"Inefficient GOLF funds" | pragma solidity ^0.8.4;
contract CryptoGolf is ERC721("CryptoGolf", "GOLFPUNKS"), ERC721Enumerable, Ownable {
using SafeMath for uint256;
using Strings for uint256;
struct OfferedPrice {
address buyer;
uint256 price;
uint256 tokenType;
uint256 date;
}
struct... | ERC20(golfContractAddress).balanceOf(msg.sender)>=_price,"Inefficient GOLF funds" | 316,073 | ERC20(golfContractAddress).balanceOf(msg.sender)>=_price |
"Owner can't buy his token" | pragma solidity ^0.8.4;
contract CryptoGolf is ERC721("CryptoGolf", "GOLFPUNKS"), ERC721Enumerable, Ownable {
using SafeMath for uint256;
using Strings for uint256;
struct OfferedPrice {
address buyer;
uint256 price;
uint256 tokenType;
uint256 date;
}
struct... | ERC721.ownerOf(_tokenId)!=msg.sender,"Owner can't buy his token" | 316,073 | ERC721.ownerOf(_tokenId)!=msg.sender |
"Not correct price" | pragma solidity ^0.8.4;
contract CryptoGolf is ERC721("CryptoGolf", "GOLFPUNKS"), ERC721Enumerable, Ownable {
using SafeMath for uint256;
using Strings for uint256;
struct OfferedPrice {
address buyer;
uint256 price;
uint256 tokenType;
uint256 date;
}
struct... | listedPrice[_tokenId][owner].tokenPrice==msg.value,"Not correct price" | 316,073 | listedPrice[_tokenId][owner].tokenPrice==msg.value |
"Not eligible for claim." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import './ERC721B.sol';
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.so... | verify(maxClaimNum,SIGNATURE),"Not eligible for claim." | 316,265 | verify(maxClaimNum,SIGNATURE) |
"This stage is sold out!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import './ERC721B.sol';
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.so... | totalSupply.add(quantity)<=STAGE_LIMIT,"This stage is sold out!" | 316,265 | totalSupply.add(quantity)<=STAGE_LIMIT |
"Not eligible for presale." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import './ERC721B.sol';
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.so... | verify(maxClaimNumOnPresale,SIGNATURE),"Not eligible for presale." | 316,265 | verify(maxClaimNumOnPresale,SIGNATURE) |
"Exceeds MAX_SAMURAI." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import './ERC721B.sol';
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.so... | totalSupply.add(quantity)<=MAX_SAMURAI,"Exceeds MAX_SAMURAI." | 316,265 | totalSupply.add(quantity)<=MAX_SAMURAI |
"This stage is sold out!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import './ERC721B.sol';
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.so... | totalSupply.add(numPurchase)<=STAGE_LIMIT,"This stage is sold out!" | 316,265 | totalSupply.add(numPurchase)<=STAGE_LIMIT |
"Sold out!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import './ERC721B.sol';
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.so... | totalSupply.add(numPurchase)<=MAX_SAMURAI,"Sold out!" | 316,265 | totalSupply.add(numPurchase)<=MAX_SAMURAI |
null | /*
Tokyo Ghoul is a massive favorite among the anime faithful. It’s tragic tale of the young, innocent Ken Kaneki is the mastermind behind the best-selling anime of all time, A College student who is sucked dry on a date with his beloved ghoul, A being that feeds on human flesh. He later receives an organ transplant f... | !capturedBotter[sender] | 316,267 | !capturedBotter[sender] |
"!pause manager" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/... | hasRole(PAUSE_MANAGER_ROLE,_msgSender()),"!pause manager" | 316,313 | hasRole(PAUSE_MANAGER_ROLE,_msgSender()) |
"!transfer manager" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/... | hasRole(TRANSFER_MANAGER_ROLE,_msgSender()),"!transfer manager" | 316,313 | hasRole(TRANSFER_MANAGER_ROLE,_msgSender()) |
"transfers paused" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/... | !paused()||hasRole(WHITELISTED_ROLE,_msgSender()),"transfers paused" | 316,313 | !paused()||hasRole(WHITELISTED_ROLE,_msgSender()) |
"N.A" | pragma solidity 0.5.16;
interface IOracleAggregator {
function __callback(uint256 timestamp, uint256 data) external;
function hasData(address oracleId, uint256 timestamp) external view returns(bool result);
}
interface IOracleSubId {
function getResult() external view returns (uint256);
}
contract Onchain... | !oracleAggregator.hasData(address(this),_timestamp)&&_timestamp<now,"N.A" | 316,329 | !oracleAggregator.hasData(address(this),_timestamp)&&_timestamp<now |
"O.R" | pragma solidity 0.5.16;
interface IOracleAggregator {
function __callback(uint256 timestamp, uint256 data) external;
function hasData(address oracleId, uint256 timestamp) external view returns(bool result);
}
interface IOracleSubId {
function getResult() external view returns (uint256);
}
contract Onchain... | resolvers[_timestamp]==address(0),"O.R" | 316,329 | resolvers[_timestamp]==address(0) |
"N.E" | pragma solidity 0.5.16;
interface IOracleAggregator {
function __callback(uint256 timestamp, uint256 data) external;
function hasData(address oracleId, uint256 timestamp) external view returns(bool result);
}
interface IOracleSubId {
function getResult() external view returns (uint256);
}
contract Onchain... | !oracleAggregator.hasData(address(this),_timestamp)&&_timestamp+EMERGENCY_PERIOD<now,"N.E" | 316,329 | !oracleAggregator.hasData(address(this),_timestamp)&&_timestamp+EMERGENCY_PERIOD<now |
"AKAP: operator query for nonexistent node" | // Copyright (C) 2019 Christian Felde
// Copyright (C) 2019 Mohamed Elshami
// 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 re... | _exists(nodeId),"AKAP: operator query for nonexistent node" | 316,376 | _exists(nodeId) |
"AKAP: set value caller is not owner nor approved" | // Copyright (C) 2019 Christian Felde
// Copyright (C) 2019 Mohamed Elshami
// 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 re... | _exists(nodeId)&&_isApprovedOrOwner(_msgSender(),nodeId),"AKAP: set value caller is not owner nor approved" | 316,376 | _exists(nodeId)&&_isApprovedOrOwner(_msgSender(),nodeId) |
"no tokens left" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "hardhat/console.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
contract TitanTiki is ERC1155, Ownable {
using Counters for Coun... | tokensLeft()>=amount,"no tokens left" | 316,409 | tokensLeft()>=amount |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "hardhat/console.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
contract TitanTiki is ERC1155, Ownable {
using Counters for Coun... | payable(_devAddress).send(devShare) | 316,409 | payable(_devAddress).send(devShare) |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "hardhat/console.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
contract TitanTiki is ERC1155, Ownable {
using Counters for Coun... | payable(_payoutAddress).send(payoutShare) | 316,409 | payable(_payoutAddress).send(payoutShare) |
"will exceed max tokens" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "hardhat/console.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
contract TitanTiki is ERC1155, Ownable {
using Counters for Coun... | tokensLeft()-reservedsLeft>=amount,"will exceed max tokens" | 316,409 | tokensLeft()-reservedsLeft>=amount |
"Valid signature required" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
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/token/ERC721/ext... | owner()==recoverAddress(tokenId,_tokenURI,v,r,s),"Valid signature required" | 316,663 | owner()==recoverAddress(tokenId,_tokenURI,v,r,s) |
"Valid signature required" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
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/token/ERC721/ext... | owner()==recoverAddressBulk(tokenId,_tokenURIs,v,r,s),"Valid signature required" | 316,663 | owner()==recoverAddressBulk(tokenId,_tokenURIs,v,r,s) |
"The presale ended!" | // SPDX-License-Identifier: MIT
// www.thecreatiiives.com
pragma solidity >=0.7.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "erc721a/contracts/ERC721A.sol";
contract SigmaBeasts is Ownable, ERC721A {
using Strings for uint256;
string public uriPrefix = "";
string public uriSuffix = ".jso... | totalSupply()+_mintAmount<=wlSupply,"The presale ended!" | 316,722 | totalSupply()+_mintAmount<=wlSupply |
"not eligible for allowlist mint" | // SPDX-License-Identifier: MIT
// www.thecreatiiives.com
pragma solidity >=0.7.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "erc721a/contracts/ERC721A.sol";
contract SigmaBeasts is Ownable, ERC721A {
using Strings for uint256;
string public uriPrefix = "";
string public uriSuffix = ".jso... | allowlist[msg.sender]-_mintAmount>=0,"not eligible for allowlist mint" | 316,722 | allowlist[msg.sender]-_mintAmount>=0 |
"MaxList.setPoints: Sender must be operator" | pragma solidity 0.6.12;
/**
* @dev Set an uint max amount for all addresses
* @dev uint256 public maxPoints;
* @dev This amount can be changed by an operator
*/
import "../OpenZeppelin/math/SafeMath.sol";
import "./MISOAccessControls.sol";
import "../interfaces/IPointList.sol";
contract MaxList is IPointList, MISOA... | hasAdminRole(msg.sender)||hasOperatorRole(msg.sender),"MaxList.setPoints: Sender must be operator" | 316,738 | hasAdminRole(msg.sender)||hasOperatorRole(msg.sender) |
"same-fuse-pool" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.3;
import "../compound/CompoundStrategy.sol";
import "../../interfaces/rari-fuse/IComptroller.sol";
import "../../interfaces/rari-fuse/IFusePoolDirectory.sol";
/// @title This strategy will deposit collateral token in a Rari Fuse Pool and earn interest.
abstract contr... | address(cToken)!=_newCToken,"same-fuse-pool" | 316,757 | address(cToken)!=_newCToken |
"withdraw-from-fuse-pool-failed" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.3;
import "../compound/CompoundStrategy.sol";
import "../../interfaces/rari-fuse/IComptroller.sol";
import "../../interfaces/rari-fuse/IFusePoolDirectory.sol";
/// @title This strategy will deposit collateral token in a Rari Fuse Pool and earn interest.
abstract contr... | cToken.redeem(cToken.balanceOf(address(this)))==0,"withdraw-from-fuse-pool-failed" | 316,757 | cToken.redeem(cToken.balanceOf(address(this)))==0 |
"deposit-to-fuse-pool-failed" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.3;
import "../compound/CompoundStrategy.sol";
import "../../interfaces/rari-fuse/IComptroller.sol";
import "../../interfaces/rari-fuse/IFusePoolDirectory.sol";
/// @title This strategy will deposit collateral token in a Rari Fuse Pool and earn interest.
abstract contr... | CToken(_newCToken).mint(_collateralBalance)==0,"deposit-to-fuse-pool-failed" | 316,757 | CToken(_newCToken).mint(_collateralBalance)==0 |
null | pragma solidity 0.4.25;
/**
* @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 Integer... | !saleClosed | 316,779 | !saleClosed |
null | contract ShopinToken is StandardToken, Ownable {
using SafeMath for uint256;
string public constant name = "Shopin Token"; // solium-disable-line uppercase
string public constant symbol = "SHOP"; // solium-disable-line uppercase
uint8 public constant decimals = 9; // solium-disable-line uppercase
... | _investorWallets[i]!=address(0) | 316,830 | _investorWallets[i]!=address(0) |
null | contract ShopinToken is StandardToken, Ownable {
using SafeMath for uint256;
string public constant name = "Shopin Token"; // solium-disable-line uppercase
string public constant symbol = "SHOP"; // solium-disable-line uppercase
uint8 public constant decimals = 9; // solium-disable-line uppercase
... | _investorAmounts[i]>0 | 316,830 | _investorAmounts[i]>0 |
null | pragma solidity ^0.4.17;
//Developed by Zenos Pavlakou
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
... | allowances[_from][msg.sender]>=_amount&&balances[_from]>=_amount | 316,976 | allowances[_from][msg.sender]>=_amount&&balances[_from]>=_amount |
null | pragma solidity ^0.4.17;
//Developed by Zenos Pavlakou
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
}
... | (_amount==0)||(allowances[msg.sender][_spender]==0) | 316,976 | (_amount==0)||(allowances[msg.sender][_spender]==0) |
null | /**
* @title TokenCappedCrowdsale
* @dev Extension of Crowdsale with a max amount of tokens sold
*/
contract TokenCappedCrowdsale is Crowdsale {
using SafeMath for uint256;
uint256 public tokenSold;
uint256 public tokenPresaleCap;
uint256 public tokenPresaleSold;
uint256 public saleStart... | tokenPresaleSold.add(tokenAmount)<=tokenPresaleCap | 317,049 | tokenPresaleSold.add(tokenAmount)<=tokenPresaleCap |
null | /**
* @title TokenCappedCrowdsale
* @dev Extension of Crowdsale with a max amount of tokens sold
*/
contract TokenCappedCrowdsale is Crowdsale {
using SafeMath for uint256;
uint256 public tokenSold;
uint256 public tokenPresaleCap;
uint256 public tokenPresaleSold;
uint256 public saleStart... | tokenSold.add(tokenAmount)<=totalTokenSaleCap | 317,049 | tokenSold.add(tokenAmount)<=totalTokenSaleCap |
null | /**
* @title Pausable token
* @dev StandardToken modified with pausable transfers.
**/
contract PausableToken is StandardToken, Pausable {
function transfer(
address _to,
uint256 _value
)
public
whenNotPaused
returns (bool)
{
}
function transferFrom(
address _from,
... | totalSupply_.add(_value)<=limit | 317,057 | totalSupply_.add(_value)<=limit |
'PublicSale: Deposit limits reached!' | //SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.4;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import { InvestorsVesting, IVesting } from './InvestorsVesting.sol';
import { LiquidityProv... | totalDeposits.add(msg.value)<=HARD_CAP_ETH_AMOUNT,'PublicSale: Deposit limits reached!' | 317,147 | totalDeposits.add(msg.value)<=HARD_CAP_ETH_AMOUNT |
'PublicSale: Limit is reached or not enough amount!' | //SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.4;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import { InvestorsVesting, IVesting } from './InvestorsVesting.sol';
import { LiquidityProv... | _deposits[msg.sender].add(msg.value)>=MIN_DEPOSIT_ETH_AMOUNT&&_deposits[msg.sender].add(msg.value)<=MAX_DEPOSIT_ETH_AMOUNT,'PublicSale: Limit is reached or not enough amount!' | 317,147 | _deposits[msg.sender].add(msg.value)>=MIN_DEPOSIT_ETH_AMOUNT&&_deposits[msg.sender].add(msg.value)<=MAX_DEPOSIT_ETH_AMOUNT |
'PublicSale: Its time for whitelisted investors only!' | //SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.4;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import { InvestorsVesting, IVesting } from './InvestorsVesting.sol';
import { LiquidityProv... | _whitelistedAmount[msg.sender]>0,'PublicSale: Its time for whitelisted investors only!' | 317,147 | _whitelistedAmount[msg.sender]>0 |
'PublicSale: Sent amount should not be bigger from allowed limit!' | //SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.4;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import { InvestorsVesting, IVesting } from './InvestorsVesting.sol';
import { LiquidityProv... | _whitelistedAmount[msg.sender]>=msg.value,'PublicSale: Sent amount should not be bigger from allowed limit!' | 317,147 | _whitelistedAmount[msg.sender]>=msg.value |
'addLiquidity: Pool already created!' | //SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.4;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import { InvestorsVesting, IVesting } from './InvestorsVesting.sol';
import { LiquidityProv... | !liquidityPoolCreated,'addLiquidity: Pool already created!' | 317,147 | !liquidityPoolCreated |
'addPrivateAllocations: Private sale is ended!' | //SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.4;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import { InvestorsVesting, IVesting } from './InvestorsVesting.sol';
import { LiquidityProv... | !privateSaleFinished,'addPrivateAllocations: Private sale is ended!' | 317,147 | !privateSaleFinished |
"You must own the vNFT or be a care taker to buy addons" | pragma solidity ^0.6.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155Holder.sol";
import "@openzeppelin/contracts/utils/EnumerableSet.sol";
import "./inte... | vnft.ownerOf(_id)==msg.sender||vnft.careTaker(_id,vnft.ownerOf(_id))==msg.sender,"You must own the vNFT or be a care taker to buy addons" | 317,211 | vnft.ownerOf(_id)==msg.sender||vnft.careTaker(_id,vnft.ownerOf(_id))==msg.sender |
"!own the addon to use it" | pragma solidity ^0.6.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155Holder.sol";
import "@openzeppelin/contracts/utils/EnumerableSet.sol";
import "./inte... | addons.balanceOf(msg.sender,_addonID)>=1,"!own the addon to use it" | 317,211 | addons.balanceOf(msg.sender,_addonID)>=1 |
"SuperDogeNFT: Cannot mint more than the max supply." | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.10;
import "./common/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Str... | s+amt<=maximumSupply,"SuperDogeNFT: Cannot mint more than the max supply." | 317,380 | s+amt<=maximumSupply |
"SuperDogeNFT: Cannot mint more than max supply." | // SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.10;
import "./common/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Str... | s+t<=maximumSupply,"SuperDogeNFT: Cannot mint more than max supply." | 317,380 | s+t<=maximumSupply |
"Matic token address is not valid" | pragma solidity 0.5.2;
/**
* @title TokenVesting
* @dev A token holder contract that can release its token balance gradually like a
* typical vesting scheme, with a cliff and vesting period. Optionally revocable by the
* owner.
*/
contract GhoulxVesting is Ownable {
using SafeMath for uint256;
usi... | address(_token)!=address(0x0),"Matic token address is not valid" | 317,403 | address(_token)!=address(0x0) |
VESTING_ALREADY_RELEASED | pragma solidity 0.5.2;
/**
* @title TokenVesting
* @dev A token holder contract that can release its token balance gradually like a
* typical vesting scheme, with a cliff and vesting period. Optionally revocable by the
* owner.
*/
contract GhoulxVesting is Ownable {
using SafeMath for uint256;
usi... | !vesting.released,VESTING_ALREADY_RELEASED | 317,403 | !vesting.released |
INSUFFICIENT_BALANCE | pragma solidity 0.5.2;
/**
* @title TokenVesting
* @dev A token holder contract that can release its token balance gradually like a
* typical vesting scheme, with a cliff and vesting period. Optionally revocable by the
* owner.
*/
contract GhoulxVesting is Ownable {
using SafeMath for uint256;
usi... | GhoulxToken.balanceOf(address(this))>=vesting.amount,INSUFFICIENT_BALANCE | 317,403 | GhoulxToken.balanceOf(address(this))>=vesting.amount |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.