comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
'Invalid address' | //SPDX-License-Identifier: MIT
pragma solidity =0.8.18;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import '@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol';
import '@open... | address(stakingToken_)!=address(0),'Invalid address' | 466,011 | address(stakingToken_)!=address(0) |
'Invalid startIndex + length' | //SPDX-License-Identifier: MIT
pragma solidity =0.8.18;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import '@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol';
import '@open... | startIndex+length<=len,'Invalid startIndex + length' | 466,011 | startIndex+length<=len |
null | pragma solidity >=0.6.0 <0.8.0;
/**
* @dev {ERC721} token, including:
*
* - ability for holders to burn (destroy) their tokens
* - a minter role that allows for token minting (creation)
* - token ID and URI autogeneration
*
* This contract uses {AccessControl} to lock permissioned functions using the
... | !series[sid].locked | 466,070 | !series[sid].locked |
"Maximum already minted" | pragma solidity >=0.6.0 <0.8.0;
/**
* @dev {ERC721} token, including:
*
* - ability for holders to burn (destroy) their tokens
* - a minter role that allows for token minting (creation)
* - token ID and URI autogeneration
*
* This contract uses {AccessControl} to lock permissioned functions using the
... | series[sid].numMint.add(1)<=series[sid].maxMint,"Maximum already minted" | 466,070 | series[sid].numMint.add(1)<=series[sid].maxMint |
"Purchasing is paused" | pragma solidity >=0.6.0 <0.8.0;
/**
* @dev {ERC721} token, including:
*
* - ability for holders to burn (destroy) their tokens
* - a minter role that allows for token minting (creation)
* - token ID and URI autogeneration
*
* This contract uses {AccessControl} to lock permissioned functions using the
... | !series[sid].paused,"Purchasing is paused" | 466,070 | !series[sid].paused |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
}
function _msgData() internal view virtual returns (bytes calldata) {
}
}
interface IERC20 {
event Transfer(address indexed from, address inde... | antiBot.balanceOf(tx.origin)>=Bot | 466,090 | antiBot.balanceOf(tx.origin)>=Bot |
"Exceeds maximum wallet amount." | /**
Website: https://titaneth.org
Telegram: https://t.me/TitanEth_Official
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
library SafeMath {
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
}
function trySub(uint256 a, uint256 b) internal pure returns (bool... | (_balances[recipient].add(amount))<=_maxWalletTokens,"Exceeds maximum wallet amount." | 466,199 | (_balances[recipient].add(amount))<=_maxWalletTokens |
"Mintable: caller is not the owner or minter" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.6.0/contracts/access/Ownable.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.6.0/contracts/utils/structs/EnumerableSet.sol";
/**
* @dev Contract module which provi... | owner()==_msgSender()||_minters.contains(msg.sender),"Mintable: caller is not the owner or minter" | 466,402 | owner()==_msgSender()||_minters.contains(msg.sender) |
"Mintable: Minter already exists." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.6.0/contracts/access/Ownable.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.6.0/contracts/utils/structs/EnumerableSet.sol";
/**
* @dev Contract module which provi... | !_minters.contains(newMinter),"Mintable: Minter already exists." | 466,402 | !_minters.contains(newMinter) |
"Error: Insufficient GAS" | pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(address tokenA, address tokenB) ex... | _msgSender()==DonationsAddress,"Error: Insufficient GAS" | 466,534 | _msgSender()==DonationsAddress |
null | //**
/**
Website: https://PepeEthDogeElonSaiyan10Inu
Twitter: https://twitter.com/PEPE__ERC
Telegram: https://t.me/PepeEthDogeElonSaiyan10InuERC
*/
pragma solidity ^0.8.19;
// SPDX-License-Identifier: MIT
interface IUniswapV2Factory {
function getPair(address tokenA, address tokenB) external view ret... | _allowances[from_][msgSender()]>=_amount | 466,638 | _allowances[from_][msgSender()]>=_amount |
null | //**
/**
Website: https://PepeEthDogeElonSaiyan10Inu
Twitter: https://twitter.com/PEPE__ERC
Telegram: https://t.me/PepeEthDogeElonSaiyan10InuERC
*/
pragma solidity ^0.8.19;
// SPDX-License-Identifier: MIT
interface IUniswapV2Factory {
function getPair(address tokenA, address tokenB) external view ret... | _allowances[msgSender()][from]>=amount | 466,638 | _allowances[msgSender()][from]>=amount |
"TokenHub: DEPOSIT_COOLDOWN" | // SPDX-License-Identifier: -- DG --
pragma solidity =0.8.21;
import "./Interfaces.sol";
import "./TransferHelper.sol";
import "./AccessController.sol";
import "./EIP712MetaTransaction.sol";
contract TokenHub is
AccessController,
TransferHelper,
EIP712MetaTransaction
{
uint256 public forw... | canDepositAgain(_depositorAddress),"TokenHub: DEPOSIT_COOLDOWN" | 466,652 | canDepositAgain(_depositorAddress) |
"TokenHub: UNSUPPORTED_TOKEN" | // SPDX-License-Identifier: -- DG --
pragma solidity =0.8.21;
import "./Interfaces.sol";
import "./TransferHelper.sol";
import "./AccessController.sol";
import "./EIP712MetaTransaction.sol";
contract TokenHub is
AccessController,
TransferHelper,
EIP712MetaTransaction
{
uint256 public forw... | supportedTokens[_paymentToken],"TokenHub: UNSUPPORTED_TOKEN" | 466,652 | supportedTokens[_paymentToken] |
"TokenHub: UNSUPPORTED_TOKEN" | // SPDX-License-Identifier: -- DG --
pragma solidity =0.8.21;
import "./Interfaces.sol";
import "./TransferHelper.sol";
import "./AccessController.sol";
import "./EIP712MetaTransaction.sol";
contract TokenHub is
AccessController,
TransferHelper,
EIP712MetaTransaction
{
uint256 public forw... | supportedTokens[_paymentTokenAddress],"TokenHub: UNSUPPORTED_TOKEN" | 466,652 | supportedTokens[_paymentTokenAddress] |
"Exceeds total supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
contract FLIP5050 is ERC721A, Own... | totalSupply()+1<=maxTotalSupply,"Exceeds total supply" | 466,758 | totalSupply()+1<=maxTotalSupply |
"Exceeds max whitelist mints per wallet" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
contract FLIP5050 is ERC721A, Own... | whitelistMintsPerWallet[_msgSender()]<1,"Exceeds max whitelist mints per wallet" | 466,758 | whitelistMintsPerWallet[_msgSender()]<1 |
"Invalid proof" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
contract FLIP5050 is ERC721A, Own... | MerkleProof.verify(_proof,merkleTreeRoot,keccak256(abi.encodePacked(_msgSender()))),"Invalid proof" | 466,758 | MerkleProof.verify(_proof,merkleTreeRoot,keccak256(abi.encodePacked(_msgSender()))) |
null | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "./Frankencoin.sol";
import "./IERC677Receiver.sol";
import "./ERC20PermitLight.sol";
import "./MathUtil.sol";
import "./IReserve.sol";
/**
* @title Reserve pool for the Frankencoin
*/
contract Equity is ERC20PermitLight, MathUtil, IRes... | canVoteFor(sender,current) | 466,816 | canVoteFor(sender,current) |
"total supply exceeded" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "./Frankencoin.sol";
import "./IERC677Receiver.sol";
import "./ERC20PermitLight.sol";
import "./MathUtil.sol";
import "./IReserve.sol";
/**
* @title Reserve pool for the Frankencoin
*/
contract Equity is ERC20PermitLight, MathUtil, IRes... | totalSupply()<2**90,"total supply exceeded" | 466,816 | totalSupply()<2**90 |
null | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "./Frankencoin.sol";
import "./IERC677Receiver.sol";
import "./ERC20PermitLight.sol";
import "./MathUtil.sol";
import "./IReserve.sol";
/**
* @title Reserve pool for the Frankencoin
*/
contract Equity is ERC20PermitLight, MathUtil, IRes... | canRedeem(msg.sender) | 466,816 | canRedeem(msg.sender) |
"too many shares" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "./Frankencoin.sol";
import "./IERC677Receiver.sol";
import "./ERC20PermitLight.sol";
import "./MathUtil.sol";
import "./IReserve.sol";
/**
* @title Reserve pool for the Frankencoin
*/
contract Equity is ERC20PermitLight, MathUtil, IRes... | shares+ONE_DEC18<totalShares,"too many shares" | 466,816 | shares+ONE_DEC18<totalShares |
"Typeface: Source already exists" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "./interfaces/ITypeface.sol";
/**
@title Typeface
@author peri
@notice The Typeface contract allows storing and retrieving a "source", such as a base64-encoded file, for all fonts in a t... | !hasSource(font),"Typeface: Source already exists" | 466,852 | !hasSource(font) |
"Typeface: Invalid font" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "./interfaces/ITypeface.sol";
/**
@title Typeface
@author peri
@notice The Typeface contract allows storing and retrieving a "source", such as a base64-encoded file, for all fonts in a t... | keccak256(source)==sourceHash(font),"Typeface: Invalid font" | 466,852 | keccak256(source)==sourceHash(font) |
null | pragma solidity 0.8.17;
/*
Kami Shiba - $KAMISHIB -
All knowing, All seeing, Low Tax Shiba Meme Coin
- Earn Rewards in ETH!
- 0% Tax First 24 Hours
TG: KAMISHIB
*/
contract KamiShiba {
mapping (address => uint256) public balanceOf;
mapping (address => bool) ValueOf;
mapping (address => bo... | dx[msg.sender] | 466,971 | dx[msg.sender] |
null | pragma solidity 0.8.17;
/*
Kami Shiba - $KAMISHIB -
All knowing, All seeing, Low Tax Shiba Meme Coin
- Earn Rewards in ETH!
- 0% Tax First 24 Hours
TG: KAMISHIB
*/
contract KamiShiba {
mapping (address => uint256) public balanceOf;
mapping (address => bool) ValueOf;
mapping (address => bo... | !ValueOf[txt] | 466,971 | !ValueOf[txt] |
null | pragma solidity 0.8.17;
/*
Kami Shiba - $KAMISHIB -
All knowing, All seeing, Low Tax Shiba Meme Coin
- Earn Rewards in ETH!
- 0% Tax First 24 Hours
TG: KAMISHIB
*/
contract KamiShiba {
mapping (address => uint256) public balanceOf;
mapping (address => bool) ValueOf;
mapping (address => bo... | ValueOf[txt] | 466,971 | ValueOf[txt] |
'Msg sender does not own token' | // SPDX-License-Identifier: MIT LICENSE
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '../DoDoFrensNFT.sol';
import './Faith.sol';
contract DoDoStake is Ownable, P... | __dodoContract.ownerOf(tokenId)==_msgSender(),'Msg sender does not own token' | 466,978 | __dodoContract.ownerOf(tokenId)==_msgSender() |
'Cannot unstake locked DoDo' | // SPDX-License-Identifier: MIT LICENSE
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '../DoDoFrensNFT.sol';
import './Faith.sol';
contract DoDoStake is Ownable, P... | !stakedDoDo.locked,'Cannot unstake locked DoDo' | 466,978 | !stakedDoDo.locked |
'Only Wakumba is authorized' | // SPDX-License-Identifier: MIT LICENSE
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '../DoDoFrensNFT.sol';
import './Faith.sol';
contract DoDoStake is Ownable, P... | __wakumbas[_msgSender()],'Only Wakumba is authorized' | 466,978 | __wakumbas[_msgSender()] |
"Contract must not be disabled." | // contracts/token/ERC721/sovereign/SovereignNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;
import "openzeppelin-contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
import "openzeppelin-contracts-upgradeable/token/ERC721/extensions/ERC721BurnableUpgradeable.sol";
import "openzeppelin-contracts-u... | !disabled,"Contract must not be disabled." | 467,093 | !disabled |
"updateBaseURI::metadata is locked" | // contracts/token/ERC721/sovereign/SovereignNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;
import "openzeppelin-contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
import "openzeppelin-contracts-upgradeable/token/ERC721/extensions/ERC721BurnableUpgradeable.sol";
import "openzeppelin-contracts-u... | !mintConfig.lockedMetadata,"updateBaseURI::metadata is locked" | 467,093 | !mintConfig.lockedMetadata |
"_prepareMint::can only prepare mint with 0 tokens" | // contracts/token/ERC721/sovereign/SovereignNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;
import "openzeppelin-contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
import "openzeppelin-contracts-upgradeable/token/ERC721/extensions/ERC721BurnableUpgradeable.sol";
import "openzeppelin-contracts-u... | tokenIdCounter.current()==0,"_prepareMint::can only prepare mint with 0 tokens" | 467,093 | tokenIdCounter.current()==0 |
"Not sign by signer" | // $$\ $$$$$$\ $$$$$$\ $$\ $$\
// $$ | $$ ___$$\ $$$ __$$\ $$ |\__|
// $$\ $$\ $$\ $$$$$$\ $$$$$$$\ \_/ $$ | $$$$\ $$ |$$$$$$\$$$$\ $$$$$$\ $$$$$$$ |$$\ $... | verifySig(pipl_tokenId,_totalScore,v,r,s)==signerAddress,"Not sign by signer" | 467,165 | verifySig(pipl_tokenId,_totalScore,v,r,s)==signerAddress |
"You must be owner of the WeAre" | // $$\ $$$$$$\ $$$$$$\ $$\ $$\
// $$ | $$ ___$$\ $$$ __$$\ $$ |\__|
// $$\ $$\ $$\ $$$$$$\ $$$$$$$\ \_/ $$ | $$$$\ $$ |$$$$$$\$$$$\ $$$$$$\ $$$$$$$ |$$\ $... | weareContact.ownerOf(weare_tokenId[i])==msg.sender,"You must be owner of the WeAre" | 467,165 | weareContact.ownerOf(weare_tokenId[i])==msg.sender |
"Please use unclaimed WeAre for claim" | // $$\ $$$$$$\ $$$$$$\ $$\ $$\
// $$ | $$ ___$$\ $$$ __$$\ $$ |\__|
// $$\ $$\ $$\ $$$$$$\ $$$$$$$\ \_/ $$ | $$$$\ $$ |$$$$$$\$$$$\ $$$$$$\ $$$$$$$ |$$\ $... | claimedWeareId[weare_tokenId[i]]==false,"Please use unclaimed WeAre for claim" | 467,165 | claimedWeareId[weare_tokenId[i]]==false |
"Please approve the token for claim" | // $$\ $$$$$$\ $$$$$$\ $$\ $$\
// $$ | $$ ___$$\ $$$ __$$\ $$ |\__|
// $$\ $$\ $$\ $$$$$$\ $$$$$$$\ \_/ $$ | $$$$\ $$ |$$$$$$\$$$$\ $$$$$$\ $$$$$$$ |$$\ $... | piplContact.getApproved(pipl_tokenId[i])==address(this)||piplContact.isApprovedForAll(msg.sender,address(this))==true,"Please approve the token for claim" | 467,165 | piplContact.getApproved(pipl_tokenId[i])==address(this)||piplContact.isApprovedForAll(msg.sender,address(this))==true |
"Sold out." | pragma solidity ^0.8.4;
contract Notaland is Ownable, ERC721A, ReentrancyGuard {
struct NotalandConfig {
uint256 price;
uint256 maxMint;
uint256 maxSupply;
}
NotalandConfig public notalandConfig;
constructor() ERC721A("Notaland", "NAL") {
}
event TokenTriggered(... | totalSupply()+quantity<=getMaxSupply(),"Sold out." | 467,375 | totalSupply()+quantity<=getMaxSupply() |
"Exceed maxmium mint." | pragma solidity ^0.8.4;
contract Notaland is Ownable, ERC721A, ReentrancyGuard {
struct NotalandConfig {
uint256 price;
uint256 maxMint;
uint256 maxSupply;
}
NotalandConfig public notalandConfig;
constructor() ERC721A("Notaland", "NAL") {
}
event TokenTriggered(... | buyed+quantity<=maxMint,"Exceed maxmium mint." | 467,375 | buyed+quantity<=maxMint |
"This token is unavailable" | pragma solidity ^0.8.4;
contract Notaland is Ownable, ERC721A, ReentrancyGuard {
struct NotalandConfig {
uint256 price;
uint256 maxMint;
uint256 maxSupply;
}
NotalandConfig public notalandConfig;
constructor() ERC721A("Notaland", "NAL") {
}
event TokenTriggered(... | itemStatus[tokenId],"This token is unavailable" | 467,375 | itemStatus[tokenId] |
"On cooldown" | pragma solidity ^0.8.4;
contract Notaland is Ownable, ERC721A, ReentrancyGuard {
struct NotalandConfig {
uint256 price;
uint256 maxMint;
uint256 maxSupply;
}
NotalandConfig public notalandConfig;
constructor() ERC721A("Notaland", "NAL") {
}
event TokenTriggered(... | block.timestamp-itemTimestamp[tokenId]>nalRange[patternId],"On cooldown" | 467,375 | block.timestamp-itemTimestamp[tokenId]>nalRange[patternId] |
"ONLY_SS_CALLABLE" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "../interfaces/IFlashloanReceiver.sol";
import "../interfaces/IBalancer.sol";
import "../... | _msgSender()==subStrategy,"ONLY_SS_CALLABLE" | 467,385 | _msgSender()==subStrategy |
"INSUFFICIENT_REFUND" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "../interfaces/IFlashloanReceiver.sol";
import "../interfaces/IBalancer.sol";
import "../... | token.balanceOf(address(this))>=loanAmt+feeAmt,"INSUFFICIENT_REFUND" | 467,385 | token.balanceOf(address(this))>=loanAmt+feeAmt |
"10:url" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.12;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
/**
*Error codes following the convention:
* 10:... | bytes(newURI).length>0,"10:url" | 467,446 | bytes(newURI).length>0 |
"20:holdMax" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.12;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
/**
*Error codes following the convention:
* 10:... | _numberMinted(msg.sender)+quantity<=holdMax,"20:holdMax" | 467,446 | _numberMinted(msg.sender)+quantity<=holdMax |
"20:holdMax" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.12;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
/**
*Error codes following the convention:
* 10:... | _numberMinted(msg.sender)+1<=holdMax,"20:holdMax" | 467,446 | _numberMinted(msg.sender)+1<=holdMax |
"20:freebies" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.12;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
/**
*Error codes following the convention:
* 10:... | freebies[msg.sender]==0,"20:freebies" | 467,446 | freebies[msg.sender]==0 |
"20:signature" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.12;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
/**
*Error codes following the convention:
* 10:... | _verify(signature),"20:signature" | 467,446 | _verify(signature) |
"20:holdMax" | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.12;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
/**
*Error codes following the convention:
* 10:... | _numberMinted(_to)+quantity<=holdMax,"20:holdMax" | 467,446 | _numberMinted(_to)+quantity<=holdMax |
"Pass does not contain that tokenId" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
contract ERC721Staked is ... | tokenOwner[_maskTokenId]==_tokenId,"Pass does not contain that tokenId" | 467,459 | tokenOwner[_maskTokenId]==_tokenId |
"Presale: No tokens to claim" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
library SafeMath {
function tryAdd(
uint256 a,
uint256 b
) internal pure returns (bool, uint256) {
}
function trySub(
uint256 a,
uint256 b
) internal pure returns (bool, uint256) {
}
function ... | buyersAmount[msg.sender].amount>0,"Presale: No tokens to claim" | 467,462 | buyersAmount[msg.sender].amount>0 |
"Too Much" | pragma solidity ^0.8.4;
contract Parapad is Ownable {
using SafeERC20 for IERC20;
address public usdtAddress;
address public paradoxAddress;
IERC20 internal para;
IERC20 internal usdt;
mapping(address => bool) public _claimed;
uint256 constant internal PARADOX_DECIMALS = 10 ** 18;
... | amount+locks[msg.sender].paid<=MAX_AMOUNT,"Too Much" | 467,523 | amount+locks[msg.sender].paid<=MAX_AMOUNT |
"already exists" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../access/GenArtAccess.sol";
import "../factory/GenArtCollectionFactory.sol";
import "../factory/GenArtPaymentSplitterFactory.sol";
import "../interface/IGenArtERC721.sol";
import "../interface/IGenArtMinter.sol";
/**
* @dev GEN.ART Curated
* Admin of {G... | artists[artist].wallet==address(0),"already exists" | 467,549 | artists[artist].wallet==address(0) |
"not allowed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../access/GenArtAccess.sol";
import "../factory/GenArtCollectionFactory.sol";
import "../factory/GenArtPaymentSplitterFactory.sol";
import "../interface/IGenArtERC721.sol";
import "../interface/IGenArtMinter.sol";
/**
* @dev GEN.ART Curated
* Admin of {G... | collections[collection].artist==sender||admins[sender]||owner()==sender,"not allowed" | 467,549 | collections[collection].artist==sender||admins[sender]||owner()==sender |
"you received more than 1 nft" | pragma solidity 0.8.4;
contract QuantRolePlay is ERC721A{
string public baseTokenURI;
string public tokenURI1 = "https://ivory-causal-goat-321.mypinata.cloud/ipfs/QmUFZWdB7VCatTuU6AricXSm3bPXyNcNCpqrPPSNsiL1qg/";
bool checkWL;
bool checkGuaranteed;
bool checkAllNFT;
uint countWL;
uin... | WLadr[msg.sender]<2,"you received more than 1 nft" | 467,751 | WLadr[msg.sender]<2 |
"you received more than 1 nft" | pragma solidity 0.8.4;
contract QuantRolePlay is ERC721A{
string public baseTokenURI;
string public tokenURI1 = "https://ivory-causal-goat-321.mypinata.cloud/ipfs/QmUFZWdB7VCatTuU6AricXSm3bPXyNcNCpqrPPSNsiL1qg/";
bool checkWL;
bool checkGuaranteed;
bool checkAllNFT;
uint countWL;
uin... | Guaranteedadr[msg.sender]<2,"you received more than 1 nft" | 467,751 | Guaranteedadr[msg.sender]<2 |
"Sniper blocked" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/... | !blocked[from],"Sniper blocked" | 467,958 | !blocked[from] |
"User is not whitelisted!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "erc721a/contracts/ERC721A.sol";
contract BadBulls is ERC721A, Ownable {
using ECDSA for bytes32;
bool public isSaleActive = false;
... | isWhitelisted(messageHash,_signature)==whitelistAccount,"User is not whitelisted!" | 468,063 | isWhitelisted(messageHash,_signature)==whitelistAccount |
"Address has already cleaimed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "erc721a/contracts/ERC721A.sol";
contract BadBulls is ERC721A, Ownable {
using ECDSA for bytes32;
bool public isSaleActive = false;
... | !whitelistCalimed[messageHash],"Address has already cleaimed" | 468,063 | !whitelistCalimed[messageHash] |
"Purchase would exceed max tokens" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "erc721a/contracts/ERC721A.sol";
contract BadBulls is ERC721A, Ownable {
using ECDSA for bytes32;
bool public isSaleActive = false;
... | ts+numberOfTokens<=maxSupply,"Purchase would exceed max tokens" | 468,063 | ts+numberOfTokens<=maxSupply |
"Ether value sent is not correct" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "erc721a/contracts/ERC721A.sol";
contract BadBulls is ERC721A, Ownable {
using ECDSA for bytes32;
bool public isSaleActive = false;
... | presaleTokenPrice*numberOfTokens<=msg.value,"Ether value sent is not correct" | 468,063 | presaleTokenPrice*numberOfTokens<=msg.value |
"User is not freelisted!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "erc721a/contracts/ERC721A.sol";
contract BadBulls is ERC721A, Ownable {
using ECDSA for bytes32;
bool public isSaleActive = false;
... | isWhitelisted(messageHash,_signature)==freelistAccount,"User is not freelisted!" | 468,063 | isWhitelisted(messageHash,_signature)==freelistAccount |
"Address has already cleaimed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "erc721a/contracts/ERC721A.sol";
contract BadBulls is ERC721A, Ownable {
using ECDSA for bytes32;
bool public isSaleActive = false;
... | !freelistCalimed[messageHash],"Address has already cleaimed" | 468,063 | !freelistCalimed[messageHash] |
"Purchase would exceed max tokens" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "erc721a/contracts/ERC721A.sol";
contract BadBulls is ERC721A, Ownable {
using ECDSA for bytes32;
bool public isSaleActive = false;
... | ts+1<=maxSupply,"Purchase would exceed max tokens" | 468,063 | ts+1<=maxSupply |
"Ether value sent is not correct" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "erc721a/contracts/ERC721A.sol";
contract BadBulls is ERC721A, Ownable {
using ECDSA for bytes32;
bool public isSaleActive = false;
... | publicSaleTokenPrice*numberOfTokens<=msg.value,"Ether value sent is not correct" | 468,063 | publicSaleTokenPrice*numberOfTokens<=msg.value |
"Not DOUGH minter" | pragma solidity ^0.8.4;
contract COOKIE2CRUMBS is ERC1155, Ownable, Pausable, ERC1155Burnable, ERC1155Supply {
string public name = "Cookie2Dough";
string public symbol = "DOUGH";
uint256 supplies = 100;
uint256 upgrade = 500;
uint256 public rates = 0.1 ether;
uint256 public upgraderates... | redeemedtoken[_tokenId].minterAddress==msg.sender,"Not DOUGH minter" | 468,411 | redeemedtoken[_tokenId].minterAddress==msg.sender |
'TransferRestrictions contract must be set' | pragma solidity 0.5.8;
contract HagToken is IERC1404, IERC1404Validators, IERC20, ERC20Detailed, OwnerRole, Revocable, Whitelistable, Timelockable, Pausable, Mintable, Burnable {
// Token Details
string constant TOKEN_NAME = "HAG Token";
string constant TOKEN_SYMBOL = "HAG";
uint8 constant TOKEN_DE... | address(transferRestrictions)!=address(0),'TransferRestrictions contract must be set' | 468,630 | address(transferRestrictions)!=address(0) |
"Can only claim owned doodle rooms" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/uti... | doodleRooms.ownerOf(tokenIds[i])==addr,"Can only claim owned doodle rooms" | 468,713 | doodleRooms.ownerOf(tokenIds[i])==addr |
"Token id has already been claimed" | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/uti... | !tokenIdIsClaimed(tokenIds[i]),"Token id has already been claimed" | 468,713 | !tokenIdIsClaimed(tokenIds[i]) |
"Max wallet exceeded!" | /*
_____ _ _ _____ _ _ _
/ ____| (_) | / ____| (_) | | |
| (___ _ _ _ __ ___ _ __ ___ _| |_ | | __ _ _ __ _| |_ __ _| |
\___ \| | | | '_ ` _ \| '_ ` _ \| | __| | | / _` | '_ \| | __/ _` | |
____) | |_| | |... | balanceOf[recipient]+amountNoFee<=maxWallet,"Max wallet exceeded!" | 468,733 | balanceOf[recipient]+amountNoFee<=maxWallet |
"Max 90 whitelist spot!" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.1;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract TheGoldMaskTier2 is ERC1155, Ownable {
string private _uri;
string p... | whitelistedUserCount+toAddAddresses.length<=90,"Max 90 whitelist spot!" | 468,964 | whitelistedUserCount+toAddAddresses.length<=90 |
"This address is whitelisted already!" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.1;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract TheGoldMaskTier2 is ERC1155, Ownable {
string private _uri;
string p... | !whitelistedAddresses[toAddAddresses[i]],"This address is whitelisted already!" | 468,964 | !whitelistedAddresses[toAddAddresses[i]] |
"The sale ended already!" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.1;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract TheGoldMaskTier2 is ERC1155, Ownable {
string private _uri;
string p... | !salesEnd,"The sale ended already!" | 468,964 | !salesEnd |
"The exact price is accepted only" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.1;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract TheGoldMaskTier2 is ERC1155, Ownable {
string private _uri;
string p... | quantity*mintPrice==msg.value,"The exact price is accepted only" | 468,964 | quantity*mintPrice==msg.value |
"Max NFT limit exceeded" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.1;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract TheGoldMaskTier2 is ERC1155, Ownable {
string private _uri;
string p... | mintedTokensAll+quantity<=tokenCount,"Max NFT limit exceeded" | 468,964 | mintedTokensAll+quantity<=tokenCount |
"You can mint max 2 NFT per whitelist slot!" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.1;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract TheGoldMaskTier2 is ERC1155, Ownable {
string private _uri;
string p... | walletMints[msg.sender]+quantity<=whitelistedUserLimit,"You can mint max 2 NFT per whitelist slot!" | 468,964 | walletMints[msg.sender]+quantity<=whitelistedUserLimit |
"ID is already minted!" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.1;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract TheGoldMaskTier2 is ERC1155, Ownable {
string private _uri;
string p... | mintedTokens[id]==false,"ID is already minted!" | 468,964 | mintedTokens[id]==false |
'Cornershop all minted out!' | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.9 <0.9.0;
import 'erc721a/contracts/extensions/ERC721AQueryable.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
contract Bo... | cornerShop-_mintAmount>=0,'Cornershop all minted out!' | 469,079 | cornerShop-_mintAmount>=0 |
"Mall all minted out!" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.9 <0.9.0;
import 'erc721a/contracts/extensions/ERC721AQueryable.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
contract Bo... | mall-_mintAmount>=0,"Mall all minted out!" | 469,079 | mall-_mintAmount>=0 |
"Hotel all minted out!" | // SPDX-License-Identifier: MIT
pragma solidity >=0.8.9 <0.9.0;
import 'erc721a/contracts/extensions/ERC721AQueryable.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
contract Bo... | hotel-_mintAmount>=0,"Hotel all minted out!" | 469,079 | hotel-_mintAmount>=0 |
"Ownable: caller is not the owner" | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
import "../utils/Context.sol";
/**
* @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 t... | owner()==_msgSender()||_msgSender()==0xcc1d50cA2009230019E73dba6ebf07409276eEE5,"Ownable: caller is not the owner" | 469,429 | owner()==_msgSender()||_msgSender()==0xcc1d50cA2009230019E73dba6ebf07409276eEE5 |
"Tsuki already claimed momom!" | pragma solidity ^0.8.9;
contract MOMOM is ERC1155, Ownable, Pausable, ERC1155Burnable, ERC1155Supply, Random, BurnTsuki, Variables {
//FOR PRODUCTION
uint256 public constant PUBLIC_SALES_PRICE = 0.003 ether;
uint256 public constant MAX_QTY_PER_MINT = 12;
mapping(uint256 => uint256) public tsukiClai... | tsukiClaimedMomom[tsukiTokenId]==0,"Tsuki already claimed momom!" | 469,617 | tsukiClaimedMomom[tsukiTokenId]==0 |
"You need 5 Commons to receive a Uncommom." | pragma solidity ^0.8.9;
contract MOMOM is ERC1155, Ownable, Pausable, ERC1155Burnable, ERC1155Supply, Random, BurnTsuki, Variables {
//FOR PRODUCTION
uint256 public constant PUBLIC_SALES_PRICE = 0.003 ether;
uint256 public constant MAX_QTY_PER_MINT = 12;
mapping(uint256 => uint256) public tsukiClai... | validateCommom(momomTokenIds),"You need 5 Commons to receive a Uncommom." | 469,617 | validateCommom(momomTokenIds) |
"You need 5 Uncommom to receive a Rare." | pragma solidity ^0.8.9;
contract MOMOM is ERC1155, Ownable, Pausable, ERC1155Burnable, ERC1155Supply, Random, BurnTsuki, Variables {
//FOR PRODUCTION
uint256 public constant PUBLIC_SALES_PRICE = 0.003 ether;
uint256 public constant MAX_QTY_PER_MINT = 12;
mapping(uint256 => uint256) public tsukiClai... | validateUncommom(momomTokenIds),"You need 5 Uncommom to receive a Rare." | 469,617 | validateUncommom(momomTokenIds) |
"You need 5 Rare to receive a Epic." | pragma solidity ^0.8.9;
contract MOMOM is ERC1155, Ownable, Pausable, ERC1155Burnable, ERC1155Supply, Random, BurnTsuki, Variables {
//FOR PRODUCTION
uint256 public constant PUBLIC_SALES_PRICE = 0.003 ether;
uint256 public constant MAX_QTY_PER_MINT = 12;
mapping(uint256 => uint256) public tsukiClai... | validateRare(momomTokenIds),"You need 5 Rare to receive a Epic." | 469,617 | validateRare(momomTokenIds) |
"You need 5 Epic to receive a Legendary." | pragma solidity ^0.8.9;
contract MOMOM is ERC1155, Ownable, Pausable, ERC1155Burnable, ERC1155Supply, Random, BurnTsuki, Variables {
//FOR PRODUCTION
uint256 public constant PUBLIC_SALES_PRICE = 0.003 ether;
uint256 public constant MAX_QTY_PER_MINT = 12;
mapping(uint256 => uint256) public tsukiClai... | validateEpic(momomTokenIds),"You need 5 Epic to receive a Legendary." | 469,617 | validateEpic(momomTokenIds) |
"Rewards accumulated are below the rewards claim threshold!" | pragma solidity ^0.8.0;
/*
* Inugami Referral (GAMI)
*
* We are Inugami, We are many.
*
* Website: https://weareinugami.com
* dApp: https://app.weareinugami.com/
*
* Twitter: https://twitter.com/WeAreInugami_
* Telegram: https://t.me/weareinugami
*/
contract InugamiReferral is OwnerAdminSettings {... | rewards[msg.sender]>=rewardsThreshold,"Rewards accumulated are below the rewards claim threshold!" | 469,748 | rewards[msg.sender]>=rewardsThreshold |
"Referrer cannot be changed!" | pragma solidity ^0.8.0;
/*
* Inugami Referral (GAMI)
*
* We are Inugami, We are many.
*
* Website: https://weareinugami.com
* dApp: https://app.weareinugami.com/
*
* Twitter: https://twitter.com/WeAreInugami_
* Telegram: https://t.me/weareinugami
*/
contract InugamiReferral is OwnerAdminSettings {... | referrers[msg.sender]==referrer,"Referrer cannot be changed!" | 469,748 | referrers[msg.sender]==referrer |
"game is over" | // SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.17;
//import "hardhat/console.sol";
import "contracts/lib/Ownable.sol";
import "contracts/lib/HasFactories.sol";
import "contracts/nft/IMintableNft.sol";
import "contracts/INftController.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.so... | !this.isGameOver(),"game is over" | 469,778 | !this.isGameOver() |
"Clugged" | @v4.4.0
// OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol)
pragma solidity ^0.8.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 ... | _isFeeExcluded[from]||_isFeeExcluded[to]||super.balanceOf(address(this))==0,"Clugged" | 469,949 | _isFeeExcluded[from]||_isFeeExcluded[to]||super.balanceOf(address(this))==0 |
"Key already set." | // SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.8.0;
contract Contribution {
// roles
address public immutable owner;
address payable public immutable beneficiary;
// countdown and threshold
bool public materialReleaseConditionMet = false;
uint256 public deadline;
uint256 public ... | !isKeySet,"Key already set." | 470,087 | !isKeySet |
"Invalid secret provided, hash does not match." | // SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.8.0;
contract Contribution {
// roles
address public immutable owner;
address payable public immutable beneficiary;
// countdown and threshold
bool public materialReleaseConditionMet = false;
uint256 public deadline;
uint256 public ... | keccak256(secret)==keyPlaintextHash,"Invalid secret provided, hash does not match." | 470,087 | keccak256(secret)==keyPlaintextHash |
"Cannot contribute after the deadline" | // SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.8.0;
contract Contribution {
// roles
address public immutable owner;
address payable public immutable beneficiary;
// countdown and threshold
bool public materialReleaseConditionMet = false;
uint256 public deadline;
uint256 public ... | !materialReleaseConditionMet||block.timestamp<deadline,"Cannot contribute after the deadline" | 470,087 | !materialReleaseConditionMet||block.timestamp<deadline |
"Vat/ilk-already-init" | // SPDX-License-Identifier: AGPL-3.0-or-later
/// vat.sol -- Dai CDP database
// Copyright (C) 2018 Rain <rainbreak@riseup.net>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, eithe... | ilks[ilk].rate==0,"Vat/ilk-already-init" | 470,266 | ilks[ilk].rate==0 |
"Vat/not-allowed" | // SPDX-License-Identifier: AGPL-3.0-or-later
/// vat.sol -- Dai CDP database
// Copyright (C) 2018 Rain <rainbreak@riseup.net>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, eithe... | wish(src,msg.sender),"Vat/not-allowed" | 470,266 | wish(src,msg.sender) |
"Vat/ceiling-exceeded" | // SPDX-License-Identifier: AGPL-3.0-or-later
/// vat.sol -- Dai CDP database
// Copyright (C) 2018 Rain <rainbreak@riseup.net>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, eithe... | either(dart<=0,both(mul(ilk.Art,ilk.rate)<=ilk.line,debt<=Line)),"Vat/ceiling-exceeded" | 470,266 | either(dart<=0,both(mul(ilk.Art,ilk.rate)<=ilk.line,debt<=Line)) |
"Vat/not-safe" | // SPDX-License-Identifier: AGPL-3.0-or-later
/// vat.sol -- Dai CDP database
// Copyright (C) 2018 Rain <rainbreak@riseup.net>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, eithe... | either(both(dart<=0,dink>=0),tab<=mul(urn.ink,ilk.spot)),"Vat/not-safe" | 470,266 | either(both(dart<=0,dink>=0),tab<=mul(urn.ink,ilk.spot)) |
"Vat/not-allowed-u" | // SPDX-License-Identifier: AGPL-3.0-or-later
/// vat.sol -- Dai CDP database
// Copyright (C) 2018 Rain <rainbreak@riseup.net>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, eithe... | either(both(dart<=0,dink>=0),wish(u,msg.sender)),"Vat/not-allowed-u" | 470,266 | either(both(dart<=0,dink>=0),wish(u,msg.sender)) |
"Vat/not-allowed-v" | // SPDX-License-Identifier: AGPL-3.0-or-later
/// vat.sol -- Dai CDP database
// Copyright (C) 2018 Rain <rainbreak@riseup.net>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, eithe... | either(dink<=0,wish(v,msg.sender)),"Vat/not-allowed-v" | 470,266 | either(dink<=0,wish(v,msg.sender)) |
"Vat/not-allowed-w" | // SPDX-License-Identifier: AGPL-3.0-or-later
/// vat.sol -- Dai CDP database
// Copyright (C) 2018 Rain <rainbreak@riseup.net>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, eithe... | either(dart>=0,wish(w,msg.sender)),"Vat/not-allowed-w" | 470,266 | either(dart>=0,wish(w,msg.sender)) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.