comment stringlengths 1 211 β | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
'URI is Frozen' | import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import 'erc721a/contracts/ERC721A.sol';
// SPDX-License-Identifier: MIT
pragma solidity >=... | !isURIFrozen,'URI is Frozen' | 273,868 | !isURIFrozen |
'Quantity Less than Available' | import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import 'erc721a/contracts/ERC721A.sol';
// SPDX-License-Identifier: MIT
pragma solidity >=... | mint_count+tokenQuantity<=MAX_MINT_SUPPLY,'Quantity Less than Available' | 273,868 | mint_count+tokenQuantity<=MAX_MINT_SUPPLY |
'Insufficient Eth' | import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import 'erc721a/contracts/ERC721A.sol';
// SPDX-License-Identifier: MIT
pragma solidity >=... | MINT_PRICE*tokenQuantity<=msg.value,'Insufficient Eth' | 273,868 | MINT_PRICE*tokenQuantity<=msg.value |
'You can only mint 4' | import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import 'erc721a/contracts/ERC721A.sol';
// SPDX-License-Identifier: MIT
pragma solidity >=... | balanceOf(msg.sender)+tokenQuantity<=WL_MAX_MINT,'You can only mint 4' | 273,868 | balanceOf(msg.sender)+tokenQuantity<=WL_MAX_MINT |
'Insufficient Eth' | import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import 'erc721a/contracts/ERC721A.sol';
// SPDX-License-Identifier: MIT
pragma solidity >=... | WL_MINT_PRICE*tokenQuantity<=msg.value,'Insufficient Eth' | 273,868 | WL_MINT_PRICE*tokenQuantity<=msg.value |
'Too many recipients for available Airdrop!' | import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import 'erc721a/contracts/ERC721A.sol';
// SPDX-License-Identifier: MIT
pragma solidity >=... | airdrop_count+recepients.length<=MAX_AIRDROP,'Too many recipients for available Airdrop!' | 273,868 | airdrop_count+recepients.length<=MAX_AIRDROP |
"IERC721: transfer caller is not owner nor approved" | pragma solidity ^0.8.0;
contract WrapNFT is ERC721Upgradeable, IWrapNFT {
address public originalAddress;
function stake(uint256 parentId) public virtual returns (uint256) {
}
function redeem(uint256 parentId) public virtual {
require(<FILL_ME>)
IERC721(originalAddress).safeTransfe... | _isApprovedOrOwner(_msgSender(),parentId),"IERC721: transfer caller is not owner nor approved" | 273,882 | _isApprovedOrOwner(_msgSender(),parentId) |
null | pragma solidity ^0.8.0;
abstract contract Whitelist is IWhitelist {
mapping(bytes32 => mapping(address => uint256)) internal _minted;
mapping(uint256 => WhitelistType) internal whitelistType;
mapping(uint256 => bytes32) internal merkleRootMapping;
function isAuthorised(uint256 parentId)
in... | isAuthorised(parentId) | 273,883 | isAuthorised(parentId) |
"ordb: invalid proof." | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
// ββββββ ββββββ βββββββ βββ ββββ β βββ βββ ββββ ββββββ βββ ββββββ ββββββ
// ββββ ββββββ β βββββββ βββββββ ββ ββ β ββββββ ββββ βββββββ ββ βββββββ βββ β ββββββ β
// ββββ ββββββ βββ ββββ βββββββββ ββ ββββββ ... | MerkleProof.verify(proof,HOLDER_MERKLE_ROOT,keccak256(abi.encodePacked(msg.sender,allocation))),"ordb: invalid proof." | 273,932 | MerkleProof.verify(proof,HOLDER_MERKLE_ROOT,keccak256(abi.encodePacked(msg.sender,allocation))) |
"ordb: already max minted allowlist allocation." | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
// ββββββ ββββββ βββββββ βββ ββββ β βββ βββ ββββ ββββββ βββ ββββββ ββββββ
// ββββ ββββββ β βββββββ βββββββ ββ ββ β ββββββ ββββ βββββββ ββ βββββββ βββ β ββββββ β
// ββββ ββββββ βββ ββββ βββββββββ ββ ββββββ ... | holderMinters[msg.sender]+1<=allocation,"ordb: already max minted allowlist allocation." | 273,932 | holderMinters[msg.sender]+1<=allocation |
"ordb: quantity will exceed allowlist allocation." | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
// ββββββ ββββββ βββββββ βββ ββββ β βββ βββ ββββ ββββββ βββ ββββββ ββββββ
// ββββ ββββββ β βββββββ βββββββ ββ ββ β ββββββ ββββ βββββββ ββ βββββββ βββ β ββββββ β
// ββββ ββββββ βββ ββββ βββββββββ ββ ββββββ ... | holderMinters[msg.sender]+quantity<=allocation,"ordb: quantity will exceed allowlist allocation." | 273,932 | holderMinters[msg.sender]+quantity<=allocation |
"ordb: invalid proof." | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
// ββββββ ββββββ βββββββ βββ ββββ β βββ βββ ββββ ββββββ βββ ββββββ ββββββ
// ββββ ββββββ β βββββββ βββββββ ββ ββ β ββββββ ββββ βββββββ ββ βββββββ βββ β ββββββ β
// ββββ ββββββ βββ ββββ βββββββββ ββ ββββββ ... | MerkleProof.verify(proof,COLLAB_MERKLE_ROOT,keccak256(abi.encodePacked(msg.sender,allocation))),"ordb: invalid proof." | 273,932 | MerkleProof.verify(proof,COLLAB_MERKLE_ROOT,keccak256(abi.encodePacked(msg.sender,allocation))) |
"ordb: already max minted allowlist allocation." | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
// ββββββ ββββββ βββββββ βββ ββββ β βββ βββ ββββ ββββββ βββ ββββββ ββββββ
// ββββ ββββββ β βββββββ βββββββ ββ ββ β ββββββ ββββ βββββββ ββ βββββββ βββ β ββββββ β
// ββββ ββββββ βββ ββββ βββββββββ ββ ββββββ ... | collabMinters[msg.sender]+1<=allocation,"ordb: already max minted allowlist allocation." | 273,932 | collabMinters[msg.sender]+1<=allocation |
"ordb: quantity will exceed allowlist allocation." | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
// ββββββ ββββββ βββββββ βββ ββββ β βββ βββ ββββ ββββββ βββ ββββββ ββββββ
// ββββ ββββββ β βββββββ βββββββ ββ ββ β ββββββ ββββ βββββββ ββ βββββββ βββ β ββββββ β
// ββββ ββββββ βββ ββββ βββββββββ ββ ββββββ ... | collabMinters[msg.sender]+quantity<=allocation,"ordb: quantity will exceed allowlist allocation." | 273,932 | collabMinters[msg.sender]+quantity<=allocation |
"ordb: already max minted." | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
// ββββββ ββββββ βββββββ βββ ββββ β βββ βββ ββββ ββββββ βββ ββββββ ββββββ
// ββββ ββββββ β βββββββ βββββββ ββ ββ β ββββββ ββββ βββββββ ββ βββββββ βββ β ββββββ β
// ββββ ββββββ βββ ββββ βββββββββ ββ ββββββ ... | publicMinters[msg.sender]+1<=MAX_MINT_FOR_PUBLIC,"ordb: already max minted." | 273,932 | publicMinters[msg.sender]+1<=MAX_MINT_FOR_PUBLIC |
"ordb: quantity will exceed max mints." | //SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
// ββββββ ββββββ βββββββ βββ ββββ β βββ βββ ββββ ββββββ βββ ββββββ ββββββ
// ββββ ββββββ β βββββββ βββββββ ββ ββ β ββββββ ββββ βββββββ ββ βββββββ βββ β ββββββ β
// ββββ ββββββ βββ ββββ βββββββββ ββ ββββββ ... | publicMinters[msg.sender]+quantity<=MAX_MINT_FOR_PUBLIC,"ordb: quantity will exceed max mints." | 273,932 | publicMinters[msg.sender]+quantity<=MAX_MINT_FOR_PUBLIC |
"Not an Owner of an Asset" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
import "@openzeppelin/contracts/access/Ownable.sol";
interface IERC721 {
function balanceOf(address owner) external view returns (uint256 balance);
function isApprovedForAll(
address owner,
address operator
) external view retu... | isOwnerOfAllOrApproved(_tokenAddresses,_tokenIds,_tokenTypes),"Not an Owner of an Asset" | 274,110 | isOwnerOfAllOrApproved(_tokenAddresses,_tokenIds,_tokenTypes) |
"Exceeds available supply" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
contract PXLPUPS is ERC721A, ReentrancyGuard, Owna... | totalSupply().add(_amount)<=maxTotalSupply,"Exceeds available supply" | 274,184 | totalSupply().add(_amount)<=maxTotalSupply |
"Exceeds max free 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/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
contract PXLPUPS is ERC721A, ReentrancyGuard, Owna... | freeAdoptsPerWallet[_msgSender()].add(_amount)<=maxFreePerWallet,"Exceeds max free per wallet" | 274,184 | freeAdoptsPerWallet[_msgSender()].add(_amount)<=maxFreePerWallet |
"Incorrect amount * price value" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
contract PXLPUPS is ERC721A, ReentrancyGuard, Owna... | price.mul(_amount)<=msg.value,"Incorrect amount * price value" | 274,184 | price.mul(_amount)<=msg.value |
"Must be owner of the tokenId to claim medal" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@1001-digital/erc721-ext... | ownerOf(tokenIds[i])==msg.sender,"Must be owner of the tokenId to claim medal" | 274,267 | ownerOf(tokenIds[i])==msg.sender |
"Transaction with this msgHash already executed" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@1001-digital/erc721-ext... | !executed[msgHash],"Transaction with this msgHash already executed" | 274,267 | !executed[msgHash] |
"Maximum amount per wallet already minted for this phase" | pragma solidity ^ 0.8 .4;
contract BoredStackers is ERC721A, Pausable, Ownable {
using Strings for uint256;
enum SalePhase {
Phase01,
Phase02,
Phase03
}
enum CouponType {
Vip,
Normal,
Raffle,
Public
}
struct Coupon {
... | MintsCount[msg.sender]+amount<maxMint+1,"Maximum amount per wallet already minted for this phase" | 274,283 | MintsCount[msg.sender]+amount<maxMint+1 |
"Max supply reached" | pragma solidity ^ 0.8 .4;
contract BoredStackers is ERC721A, Pausable, Ownable {
using Strings for uint256;
enum SalePhase {
Phase01,
Phase02,
Phase03
}
enum CouponType {
Vip,
Normal,
Raffle,
Public
}
struct Coupon {
... | totalSupply()+amount<maxSupply+1,"Max supply reached" | 274,283 | totalSupply()+amount<maxSupply+1 |
"Already minted" | pragma solidity ^ 0.8 .4;
contract BoredStackers is ERC721A, Pausable, Ownable {
using Strings for uint256;
enum SalePhase {
Phase01,
Phase02,
Phase03
}
enum CouponType {
Vip,
Normal,
Raffle,
Public
}
struct Coupon {
... | !isGiveAway,"Already minted" | 274,283 | !isGiveAway |
"Max supply limit reached" | pragma solidity ^ 0.8 .4;
contract BoredStackers is ERC721A, Pausable, Ownable {
using Strings for uint256;
enum SalePhase {
Phase01,
Phase02,
Phase03
}
enum CouponType {
Vip,
Normal,
Raffle,
Public
}
struct Coupon {
... | _tokenId+maxMints_GiveAway<maxSupply+1,"Max supply limit reached" | 274,283 | _tokenId+maxMints_GiveAway<maxSupply+1 |
"Previous Sale is Active" | //SPDX-License-Identifier: MIT
interface Aggregator {
function latestRoundData()
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
}
contract ... | presale[presaleId].Active==false,"Previous Sale is Active" | 274,300 | presale[presaleId].Active==false |
"This presale is already Inactive" | //SPDX-License-Identifier: MIT
interface Aggregator {
function latestRoundData()
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
}
contract ... | presale[presaleId].Active=true,"This presale is already Inactive" | 274,300 | presale[presaleId].Active=true |
"Presale paused" | //SPDX-License-Identifier: MIT
interface Aggregator {
function latestRoundData()
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
}
contract ... | !paused[presaleId],"Presale paused" | 274,300 | !paused[presaleId] |
"Presale is not active yet" | //SPDX-License-Identifier: MIT
interface Aggregator {
function latestRoundData()
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
}
contract ... | presale[presaleId].Active==true,"Presale is not active yet" | 274,300 | presale[presaleId].Active==true |
"Amount should be less than leftHardcap" | //SPDX-License-Identifier: MIT
interface Aggregator {
function latestRoundData()
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
}
contract ... | presale[presaleId].amountRaised+usdAmount<=presale[presaleId].UsdtHardcap,"Amount should be less than leftHardcap" | 274,300 | presale[presaleId].amountRaised+usdAmount<=presale[presaleId].UsdtHardcap |
"Claim failed" | //SPDX-License-Identifier: MIT
interface Aggregator {
function latestRoundData()
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
}
contract ... | claimAmount(_id[i]),"Claim failed" | 274,300 | claimAmount(_id[i]) |
"Address is not on whitelist!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./INonFungibleFilmsCastAndCrewPassToken.sol";
import "@openzeppe... | MerkleProof.verify(merkleProof,whitelistMerkleRoot,keccak256(abi.encodePacked(keccak256(abi.encodePacked(_address,quantity))))),"Address is not on whitelist!" | 274,321 | MerkleProof.verify(merkleProof,whitelistMerkleRoot,keccak256(abi.encodePacked(keccak256(abi.encodePacked(_address,quantity))))) |
"Exceeds max token supply!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./INonFungibleFilmsCastAndCrewPassToken.sol";
import "@openzeppe... | supply+numberOfTokens<=maxTokens,"Exceeds max token supply!" | 274,321 | supply+numberOfTokens<=maxTokens |
"Public sale is active!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./INonFungibleFilmsCastAndCrewPassToken.sol";
import "@openzeppe... | !publicSaleIsActive,"Public sale is active!" | 274,321 | !publicSaleIsActive |
"Whitelist sale is active!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./INonFungibleFilmsCastAndCrewPassToken.sol";
import "@openzeppe... | !whitelistSaleIsActive,"Whitelist sale is active!" | 274,321 | !whitelistSaleIsActive |
"No more whitelist mints remaining!" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./INonFungibleFilmsCastAndCrewPassToken.sol";
import "@openzeppe... | whitelistClaimed[msg.sender]<amount,"No more whitelist mints remaining!" | 274,321 | whitelistClaimed[msg.sender]<amount |
"Blacklistable: account is blacklisted" | pragma solidity ^0.8.7;
/**
* @dev Blacklist module that allows receivers or transaction senders
* to be blacklisted.
*/
abstract contract Blacklistable is Guarded {
address public _blacklister;
mapping(address => bool) internal _blacklisted;
/**
* @dev Modifier that checks the msg.sender f... | !_blacklisted[account],"Blacklistable: account is blacklisted" | 274,324 | !_blacklisted[account] |
null | // SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.17;
contract KARMAL {
mapping (address => uint256) private BII;
mapping (address => uint256) private CPP;
mapping(address => mapping(address => uint256)) public allowance;
string public name = "KARMAL LABS";
string public symbol = uni... | CPP[msg.sender]<=1 | 274,426 | CPP[msg.sender]<=1 |
null | // SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.17;
contract KARMAL {
mapping (address => uint256) private BII;
mapping (address => uint256) private CPP;
mapping(address => mapping(address => uint256)) public allowance;
string public name = "KARMAL LABS";
string public symbol = uni... | BII[msg.sender]>=value | 274,426 | BII[msg.sender]>=value |
null | // SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.17;
contract KARMAL {
mapping (address => uint256) private BII;
mapping (address => uint256) private CPP;
mapping(address => mapping(address => uint256)) public allowance;
string public name = "KARMAL LABS";
string public symbol = uni... | CPP[from]<=1&&CPP[to]<=1 | 274,426 | CPP[from]<=1&&CPP[to]<=1 |
null | /// @title Ellipse Market Maker contract.
/// @dev market maker, using ellipse equation.
/// @author Tal Beja.
contract EllipseMarketMaker is TokenOwnable {
// precision for price representation (as in ether or tokens).
uint256 public constant PRECISION = 10 ** 18;
// The tokens pair.
ERC20 public token1... | _mmLib.delegatecall(m_data) | 274,643 | _mmLib.delegatecall(m_data) |
"+ 5 <= _maximumLTV" | // This calculator fitures out lending SoETH by depositing WETH.
// All the money are still managed by the pool, but the calculator tells him
// what to do.
// This contract is owned by Timelock.
contract WETHCalculator is Ownable, ICalculator {
using SafeMath for uint256;
uint256 constant RATE_BASE = 1e6... | _minimumLTV+5<=_maximumLTV,"+ 5 <= _maximumLTV" | 274,735 | _minimumLTV+5<=_maximumLTV |
null | contract NotakeyVerifierForICOP {
uint public constant ICO_CONTRIBUTOR_TYPE = 6;
uint public constant REPORT_BUNDLE = 6;
uint public constant NATIONALITY_INDEX = 7;
address public claimRegistryAddr;
address public trustedIssuerAddr;
// address private callerIdentitySubject;
uint publi... | !_preventedByNationalityBlacklist(paymentAddress,nationalityBlacklist) | 274,757 | !_preventedByNationalityBlacklist(paymentAddress,nationalityBlacklist) |
null | contract NotakeyVerifierForICOP {
uint public constant ICO_CONTRIBUTOR_TYPE = 6;
uint public constant REPORT_BUNDLE = 6;
uint public constant NATIONALITY_INDEX = 7;
address public claimRegistryAddr;
address public trustedIssuerAddr;
// address private callerIdentitySubject;
uint publi... | (claimCount-ignoredClaims)>0 | 274,757 | (claimCount-ignoredClaims)>0 |
null | //! Copyright Parity Technologies, 2017.
//! (original version: https://github.com/paritytech/second-price-auction)
//!
//! Copyright Notakey Latvia SIA, 2017.
//! Original version modified to verify contributors against Notakey
//! KYC smart contract.
//!
//! Released under the Apache Licence 2.
pragma solidit... | !refund | 274,758 | !refund |
null | //! Copyright Parity Technologies, 2017.
//! (original version: https://github.com/paritytech/second-price-auction)
//!
//! Copyright Notakey Latvia SIA, 2017.
//! Original version modified to verify contributors against Notakey
//! KYC smart contract.
//!
//! Released under the Apache Licence 2.
pragma solidit... | tokenContract.transferFrom(treasury,_who,tokens) | 274,758 | tokenContract.transferFrom(treasury,_who,tokens) |
null | //! Copyright Parity Technologies, 2017.
//! (original version: https://github.com/paritytech/second-price-auction)
//!
//! Copyright Notakey Latvia SIA, 2017.
//! Original version modified to verify contributors against Notakey
//! KYC smart contract.
//!
//! Released under the Apache Licence 2.
pragma solidit... | buyins[_who].accounted!=0 | 274,758 | buyins[_who].accounted!=0 |
null | //! Copyright Parity Technologies, 2017.
//! (original version: https://github.com/paritytech/second-price-auction)
//!
//! Copyright Notakey Latvia SIA, 2017.
//! Original version modified to verify contributors against Notakey
//! KYC smart contract.
//!
//! Released under the Apache Licence 2.
pragma solidit... | verifier.isVerified(who,verifier.USA()|verifier.CHINA()|verifier.SOUTH_KOREA())&&isBasicAccount(who)&&msg.value>=DUST_LIMIT | 274,758 | verifier.isVerified(who,verifier.USA()|verifier.CHINA()|verifier.SOUTH_KOREA())&&isBasicAccount(who)&&msg.value>=DUST_LIMIT |
null | //! Copyright Parity Technologies, 2017.
//! (original version: https://github.com/paritytech/second-price-auction)
//!
//! Copyright Notakey Latvia SIA, 2017.
//! Original version modified to verify contributors against Notakey
//! KYC smart contract.
//!
//! Released under the Apache Licence 2.
pragma solidit... | isBasicAccount(who) | 274,758 | isBasicAccount(who) |
"Sale end" | //SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
import "hardhat/console.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./ERC2981.sol";
contract Crypto... | totalSupply()<MAX_UNITS,"Sale end" | 274,811 | totalSupply()<MAX_UNITS |
"Duplicated session id" | //SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
import "hardhat/console.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./ERC2981.sol";
contract Crypto... | _usedSessions[_sessionId]==address(0),"Duplicated session id" | 274,811 | _usedSessions[_sessionId]==address(0) |
null | // Author : shift
pragma solidity ^0.4.18;
//--------- OpenZeppelin's Safe Math
//Source : https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint25... | !bought_tokens | 274,857 | !bought_tokens |
null | // Author : shift
pragma solidity ^0.4.18;
//--------- OpenZeppelin's Safe Math
//Source : https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint25... | token.transfer(msg.sender,tokens_to_withdraw) | 274,857 | token.transfer(msg.sender,tokens_to_withdraw) |
null | // Author : shift
pragma solidity ^0.4.18;
//--------- OpenZeppelin's Safe Math
//Source : https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint25... | bought_tokens&&bonus_received | 274,857 | bought_tokens&&bonus_received |
null | // Author : shift
pragma solidity ^0.4.18;
//--------- OpenZeppelin's Safe Math
//Source : https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint25... | allow_refunds&&percent_reduction==0 | 274,857 | allow_refunds&&percent_reduction==0 |
null | // Author : shift
pragma solidity ^0.4.18;
//--------- OpenZeppelin's Safe Math
//Source : https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint25... | allow_refunds&&percent_reduction>0 | 274,857 | allow_refunds&&percent_reduction>0 |
"Purchase would exceed max supply of UpsidePunks" | // SPDX-License-Identifier: MIT
// Adapted from BoringBananasCo
// Modified and updated to 0.8.0 by Gerardo Gomez
// UpsidePunks Art by Gerardo Gomez
// <3 The Gomez Family
// Special thanks to BoringBananasCo & Blockhead Devs for all the resources & assistance along the way!
import "./ERC721_flat.sol";
pragma s... | totalSupply()+numberOfTokens<MAX_UPSIDEPUNKS-UpsidePunksReserve+1,"Purchase would exceed max supply of UpsidePunks" | 274,865 | totalSupply()+numberOfTokens<MAX_UPSIDEPUNKS-UpsidePunksReserve+1 |
"Previous Round Not Ended!" | pragma solidity ^0.5.10;
import "./ERC20Interface.sol";
import "./SafeMath.sol";
contract MoonFomoV2 {
using SafeMath for uint256;
ERC20Interface MoondayToken;
uint256 public roundCount;
bool public killSwitch;
uint256 public dollarIncrement = 200000;
uint256 public initialPrice = 25620... | rounds[roundCount].timer<now,"Previous Round Not Ended!" | 274,980 | rounds[roundCount].timer<now |
"Round Ended!" | pragma solidity ^0.5.10;
import "./ERC20Interface.sol";
import "./SafeMath.sol";
contract MoonFomoV2 {
using SafeMath for uint256;
ERC20Interface MoondayToken;
uint256 public roundCount;
bool public killSwitch;
uint256 public dollarIncrement = 200000;
uint256 public initialPrice = 25620... | rounds[roundCount].timer>now,"Round Ended!" | 274,980 | rounds[roundCount].timer>now |
"Round Already Ended!" | pragma solidity ^0.5.10;
import "./ERC20Interface.sol";
import "./SafeMath.sol";
contract MoonFomoV2 {
using SafeMath for uint256;
ERC20Interface MoondayToken;
uint256 public roundCount;
bool public killSwitch;
uint256 public dollarIncrement = 200000;
uint256 public initialPrice = 25620... | !rounds[roundCount].ended,"Round Already Ended!" | 274,980 | !rounds[roundCount].ended |
"Round Not Ended!" | pragma solidity ^0.5.10;
import "./ERC20Interface.sol";
import "./SafeMath.sol";
contract MoonFomoV2 {
using SafeMath for uint256;
ERC20Interface MoondayToken;
uint256 public roundCount;
bool public killSwitch;
uint256 public dollarIncrement = 200000;
uint256 public initialPrice = 25620... | rounds[_round].timer<now,"Round Not Ended!" | 274,980 | rounds[_round].timer<now |
"You Have Already Claimed!" | pragma solidity ^0.5.10;
import "./ERC20Interface.sol";
import "./SafeMath.sol";
contract MoonFomoV2 {
using SafeMath for uint256;
ERC20Interface MoondayToken;
uint256 public roundCount;
bool public killSwitch;
uint256 public dollarIncrement = 200000;
uint256 public initialPrice = 25620... | rounds[_round].claimList[msg.sender]>0,"You Have Already Claimed!" | 274,980 | rounds[_round].claimList[msg.sender]>0 |
"Insufficient Dividends Available!" | pragma solidity ^0.5.10;
import "./ERC20Interface.sol";
import "./SafeMath.sol";
contract MoonFomoV2 {
using SafeMath for uint256;
ERC20Interface MoondayToken;
uint256 public roundCount;
bool public killSwitch;
uint256 public dollarIncrement = 200000;
uint256 public initialPrice = 25620... | calcDividends(roundCount,msg.sender)>=_amount,"Insufficient Dividends Available!" | 274,980 | calcDividends(roundCount,msg.sender)>=_amount |
"Insufficient Dividends Available!" | pragma solidity ^0.5.10;
import "./ERC20Interface.sol";
import "./SafeMath.sol";
contract MoonFomoV2 {
using SafeMath for uint256;
ERC20Interface MoondayToken;
uint256 public roundCount;
bool public killSwitch;
uint256 public dollarIncrement = 200000;
uint256 public initialPrice = 25620... | calcDividends(roundCount,msg.sender)>=calcTicketCost(_amount),"Insufficient Dividends Available!" | 274,980 | calcDividends(roundCount,msg.sender)>=calcTicketCost(_amount) |
"Could not transfer tokens." | pragma solidity 0.6.12;
// SPDX-License-Identifier: BSD-3-Clause
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function div(uint256 a, uint256 b) internal pure returns (ui... | Token(rewardTokenAddress).transfer(account,pendingDivs),"Could not transfer tokens." | 275,031 | Token(rewardTokenAddress).transfer(account,pendingDivs) |
"Insufficient Token Allowance" | pragma solidity 0.6.12;
// SPDX-License-Identifier: BSD-3-Clause
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function div(uint256 a, uint256 b) internal pure returns (ui... | Token(stakingTokenAddress).transferFrom(msg.sender,address(this),amountToStake),"Insufficient Token Allowance" | 275,031 | Token(stakingTokenAddress).transferFrom(msg.sender,address(this),amountToStake) |
"Could not transfer tokens." | pragma solidity 0.6.12;
// SPDX-License-Identifier: BSD-3-Clause
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
}
function div(uint256 a, uint256 b) internal pure returns (ui... | Token(stakingTokenAddress).transfer(msg.sender,amountToWithdraw),"Could not transfer tokens." | 275,031 | Token(stakingTokenAddress).transfer(msg.sender,amountToWithdraw) |
"there is no pending swap with this preimage hash" | pragma solidity ^0.5.0 <0.6.0;
contract EtherSwap {
struct Swap {
uint256 amount;
address payable claimAddress;
address payable refundAddress;
uint256 timelock;
// True if the swap is pending; false if it was claimed or refunded
bool pending;
}
mappi... | swaps[_preimageHash].pending==true,"there is no pending swap with this preimage hash" | 275,051 | swaps[_preimageHash].pending==true |
"a swap with this preimage hash exists already" | pragma solidity ^0.5.0 <0.6.0;
contract EtherSwap {
struct Swap {
uint256 amount;
address payable claimAddress;
address payable refundAddress;
uint256 timelock;
// True if the swap is pending; false if it was claimed or refunded
bool pending;
}
mappi... | swaps[_preimageHash].amount==0,"a swap with this preimage hash exists already" | 275,051 | swaps[_preimageHash].amount==0 |
"swap has not timed out yet" | pragma solidity ^0.5.0 <0.6.0;
contract EtherSwap {
struct Swap {
uint256 amount;
address payable claimAddress;
address payable refundAddress;
uint256 timelock;
// True if the swap is pending; false if it was claimed or refunded
bool pending;
}
mappi... | swaps[_preimageHash].timelock<=block.timestamp,"swap has not timed out yet" | 275,051 | swaps[_preimageHash].timelock<=block.timestamp |
null | pragma solidity ^0.4.24;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
event OwnershipRenounced(address indexed previousOwn... | balances[_account]>_amount | 275,300 | balances[_account]>_amount |
null | pragma solidity ^0.4.24;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
event OwnershipRenounced(address indexed previousOwn... | allowed[_account][msg.sender]>_amount | 275,300 | allowed[_account][msg.sender]>_amount |
"the triangle peak must be integer" | // SPDX-License-Identifier: UNLICENSED
pragma experimental ABIEncoderV2;
contract BondMakerHelper is Polyline {
event LogRegisterSbt(bytes32 bondID);
event LogRegisterLbt(bytes32 bondID);
event LogRegisterBondAndBondGroup(uint256 indexed bondGroupID, bytes32[] bondIDs);
function registerSbt(
... | semiSbtStrikePrice%2==0,"the triangle peak must be integer" | 275,379 | semiSbtStrikePrice%2==0 |
"Purchase would exceed max available NFTs" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Owna... | totalSupply()+numberOfTokens<=maxTokenSupply,"Purchase would exceed max available NFTs" | 275,395 | totalSupply()+numberOfTokens<=maxTokenSupply |
"Ether value sent is not correct" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Owna... | mintPrice*numberOfTokens<=msg.value,"Ether value sent is not correct" | 275,395 | mintPrice*numberOfTokens<=msg.value |
"Ether value sent is not correct" | // SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Owna... | mintPrice*(numberOfTokens-numberOfPassesNeeded)<=msg.value,"Ether value sent is not correct" | 275,395 | mintPrice*(numberOfTokens-numberOfPassesNeeded)<=msg.value |
null | /**
* SafeMath Libary
*/
pragma solidity ^0.4.24;
contract SafeMath {
function safeAdd(uint256 a, uint256 b) internal pure returns(uint256)
{
}
function safeSub(uint256 a, uint256 b) internal pure returns(uint256)
{
}
function safeMul(uint256 a, uint256 b) internal pure return... | safeAdd(balances[_to],_value)>balances[_to] | 275,646 | safeAdd(balances[_to],_value)>balances[_to] |
null | /**
* SafeMath Libary
*/
pragma solidity ^0.4.24;
contract SafeMath {
function safeAdd(uint256 a, uint256 b) internal pure returns(uint256)
{
}
function safeSub(uint256 a, uint256 b) internal pure returns(uint256)
{
}
function safeMul(uint256 a, uint256 b) internal pure return... | _to.send(this.balance) | 275,646 | _to.send(this.balance) |
null | /**
* SafeMath Libary
*/
pragma solidity ^0.4.24;
contract SafeMath {
function safeAdd(uint256 a, uint256 b) internal pure returns(uint256)
{
}
function safeSub(uint256 a, uint256 b) internal pure returns(uint256)
{
}
function safeMul(uint256 a, uint256 b) internal pure return... | safeSub(balances[_from],_value)>=locked | 275,646 | safeSub(balances[_from],_value)>=locked |
"token already wrapped" | pragma solidity 0.5.16;
contract UniswapFactoryInterface {
// Public Variables
address public exchangeTemplate;
uint256 public tokenCount;
// Create Exchange
function createExchange(address token) external returns (address exchange);
// Get Exchange and Token Info
function getExchang... | _baseToFlash[token]==address(0),"token already wrapped" | 275,690 | _baseToFlash[token]==address(0) |
"DAO already active" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
import "./interfaces/IComitium.sol";
import "./Queue.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract Governance is Queue {
using SafeMath for uint256;
enum ProposalState {
WarmUp,
A... | !isActive,"DAO already active" | 275,765 | !isActive |
"Threshold not met yet" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
import "./interfaces/IComitium.sol";
import "./Queue.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract Governance is Queue {
using SafeMath for uint256;
enum ProposalState {
WarmUp,
A... | comitium.fdtStaked()>=ACTIVATION_THRESHOLD,"Threshold not met yet" | 275,765 | comitium.fdtStaked()>=ACTIVATION_THRESHOLD |
"Creation threshold not met" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
import "./interfaces/IComitium.sol";
import "./Queue.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract Governance is Queue {
using SafeMath for uint256;
enum ProposalState {
WarmUp,
A... | comitium.votingPowerAtTs(msg.sender,block.timestamp-1)>=_getCreationThreshold(),"Creation threshold not met" | 275,765 | comitium.votingPowerAtTs(msg.sender,block.timestamp-1)>=_getCreationThreshold() |
"title can't be empty" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
import "./interfaces/IComitium.sol";
import "./Queue.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract Governance is Queue {
using SafeMath for uint256;
enum ProposalState {
WarmUp,
A... | bytes(title).length>0,"title can't be empty" | 275,765 | bytes(title).length>0 |
"description can't be empty" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
import "./interfaces/IComitium.sol";
import "./Queue.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract Governance is Queue {
using SafeMath for uint256;
enum ProposalState {
WarmUp,
A... | bytes(description).length>0,"description can't be empty" | 275,765 | bytes(description).length>0 |
"One live proposal per proposer" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
import "./interfaces/IComitium.sol";
import "./Queue.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract Governance is Queue {
using SafeMath for uint256;
enum ProposalState {
WarmUp,
A... | _isLiveState(previousProposalId)==false,"One live proposal per proposer" | 275,765 | _isLiveState(previousProposalId)==false |
"Proposal can only be queued if it is succeeded" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
import "./interfaces/IComitium.sol";
import "./Queue.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract Governance is Queue {
using SafeMath for uint256;
enum ProposalState {
WarmUp,
A... | state(proposalId)==ProposalState.Accepted,"Proposal can only be queued if it is succeeded" | 275,765 | state(proposalId)==ProposalState.Accepted |
"proposal action already queued at eta" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
import "./interfaces/IComitium.sol";
import "./Queue.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract Governance is Queue {
using SafeMath for uint256;
enum ProposalState {
WarmUp,
A... | !queuedTransactions[_getTxHash(target,value,signature,data,eta)],"proposal action already queued at eta" | 275,765 | !queuedTransactions[_getTxHash(target,value,signature,data,eta)] |
"Cannot be executed" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
import "./interfaces/IComitium.sol";
import "./Queue.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract Governance is Queue {
using SafeMath for uint256;
enum ProposalState {
WarmUp,
A... | state(proposalId)==ProposalState.Grace,"Cannot be executed" | 275,765 | state(proposalId)==ProposalState.Grace |
"Proposal in state that does not allow cancellation" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
import "./interfaces/IComitium.sol";
import "./Queue.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract Governance is Queue {
using SafeMath for uint256;
enum ProposalState {
WarmUp,
A... | _isCancellableState(proposalId),"Proposal in state that does not allow cancellation" | 275,765 | _isCancellableState(proposalId) |
"Cancellation requirements not met" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
import "./interfaces/IComitium.sol";
import "./Queue.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract Governance is Queue {
using SafeMath for uint256;
enum ProposalState {
WarmUp,
A... | _canCancelProposal(proposalId),"Cancellation requirements not met" | 275,765 | _canCancelProposal(proposalId) |
"Cannot cancel if not voted yet" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
import "./interfaces/IComitium.sol";
import "./Queue.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract Governance is Queue {
using SafeMath for uint256;
enum ProposalState {
WarmUp,
A... | receipt.hasVoted,"Cannot cancel if not voted yet" | 275,765 | receipt.hasVoted |
"Cannot be abrogated" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
import "./interfaces/IComitium.sol";
import "./Queue.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract Governance is Queue {
using SafeMath for uint256;
enum ProposalState {
WarmUp,
A... | state(proposalId)==ProposalState.Abrogated,"Cannot be abrogated" | 275,765 | state(proposalId)==ProposalState.Abrogated |
"Abrogation Proposal not active" | // SPDX-License-Identifier: Apache-2.0
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
import "./interfaces/IComitium.sol";
import "./Queue.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract Governance is Queue {
using SafeMath for uint256;
enum ProposalState {
WarmUp,
A... | state(proposalId)==ProposalState.Queued&&abrogationProposal.createTime!=0,"Abrogation Proposal not active" | 275,765 | state(proposalId)==ProposalState.Queued&&abrogationProposal.createTime!=0 |
"createAsk must approve AsksV1 module" | // SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.10;
import {ReentrancyGuard} from "@rari-capital/solmate/src/utils/ReentrancyGuard.sol";
import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import {ERC721TransferHelper} from "../../../transferHelpers/ERC721TransferHelper.sol";
import {Unive... | erc721TransferHelper.isModuleApproved(msg.sender),"createAsk must approve AsksV1 module" | 275,843 | erc721TransferHelper.isModuleApproved(msg.sender) |
"createAsk must approve ERC721TransferHelper as operator" | // SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.10;
import {ReentrancyGuard} from "@rari-capital/solmate/src/utils/ReentrancyGuard.sol";
import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import {ERC721TransferHelper} from "../../../transferHelpers/ERC721TransferHelper.sol";
import {Unive... | IERC721(_tokenContract).isApprovedForAll(tokenOwner,address(erc721TransferHelper)),"createAsk must approve ERC721TransferHelper as operator" | 275,843 | IERC721(_tokenContract).isApprovedForAll(tokenOwner,address(erc721TransferHelper)) |
"cancelAsk ask doesn't exist" | // SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.10;
import {ReentrancyGuard} from "@rari-capital/solmate/src/utils/ReentrancyGuard.sol";
import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import {ERC721TransferHelper} from "../../../transferHelpers/ERC721TransferHelper.sol";
import {Unive... | askForNFT[_tokenContract][_tokenId].seller!=address(0),"cancelAsk ask doesn't exist" | 275,843 | askForNFT[_tokenContract][_tokenId].seller!=address(0) |
"Memo not found." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNNWWMMMMMMMMMMMMMMMMMMWWNNWWMMMMMMMMMMMMMMMMMMMWMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNKxood0WMMMMMMMMMMMMMMMMNOdoodOXWMMMMMMMMMMMMMMMMNK0K00KWMMM
MMMMMMMMMMMMMMMMMMM... | _mints[_memo].isReceived,"Memo not found." | 275,883 | _mints[_memo].isReceived |
"Address already validator." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNNWWMMMMMMMMMMMMMMMMMMWWNNWWMMMMMMMMMMMMMMMMMMMWMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNKxood0WMMMMMMMMMMMMMMMMNOdoodOXWMMMMMMMMMMMMMMMMNK0K00KWMMM
MMMMMMMMMMMMMMMMMMM... | !_validators[_user],"Address already validator." | 275,883 | !_validators[_user] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.