ERC-721
Overview
Max Total Supply
1,000 EHTP
Holders
127
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
584 EHTPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
DailyArtCollection
Compiler Version
v0.8.28+commit.7893614a
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Copyright (c) 2024 daily.xyz pragma solidity ^0.8.17; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; /// @title Token Base /// @notice Shared logic for token contracts contract DailyArtCollection is ERC721, Ownable { uint256 private immutable MAX_SUPPLY; address public royaltyReceiver; address public minter; address public metadataContract; uint256 public royaltyFraction; uint256 public royaltyDenominator = 100; /// @notice Count of valid NFTs tracked by this contract uint256 public totalSupply; /// @notice Return the baseURI used for computing `tokenURI` values string public baseURI; error OnlyMinter(); /// @dev This event emits when the metadata of a token is changed. Anyone aware of ERC-4906 can update cached /// attributes related to a given `tokenId`. event MetadataUpdate(uint256 tokenId); /// @dev This event emits when the metadata of a range of tokens is changed. Anyone aware of ERC-4906 can update /// cached attributes for tokens in the designated range. event BatchMetadataUpdate(uint256 fromTokenId, uint256 toTokenId); constructor( string memory name, string memory symbol, string memory baseURI_, uint256 maxSupply, address royaltyReceiver_, uint256 royaltyPercent ) ERC721(name, symbol) Ownable(msg.sender) { // CHECKS inputs require(maxSupply > 0, "Max supply must not be zero"); require(royaltyReceiver_ != address(0), "Royalty receiver must not be the zero address"); require(royaltyPercent <= 100, "Royalty fraction must not be greater than 100%"); // EFFECTS MAX_SUPPLY = maxSupply; baseURI = baseURI_; royaltyReceiver = royaltyReceiver_; royaltyFraction = royaltyPercent; } modifier onlyMinter() { if (msg.sender != minter) revert OnlyMinter(); _; } /// @inheritdoc Ownable function owner() public view virtual override(Ownable) returns (address) { return Ownable.owner(); } // MINTER FUNCTIONS /// @notice Mint an unclaimed token to the given address /// @dev Can only be called by the `minter` address /// @param to The new token owner that will receive the minted token /// @param tokenId The token being claimed. Reverts if invalid or already claimed. function mint(address to, uint256 tokenId) public onlyMinter { // CHECKS inputs require(tokenId > 0 && tokenId <= MAX_SUPPLY, "Invalid token ID"); // CHECKS + EFFECTS (not _safeMint, so no interactions) _mint(to, tokenId); // More EFFECTS unchecked { totalSupply++; } } function mintRange(address to, uint256 idStart, uint256 idEnd) external onlyMinter { require(idStart > 0 && idEnd <= MAX_SUPPLY, "Invalid token range"); require(idStart <= idEnd, "Start ID must be less than or equal to end ID"); for (uint256 tokenId = idStart; tokenId <= idEnd; tokenId++) { mint(to, tokenId); } } // OWNER FUNCTIONS /// @notice Set the `minter` address /// @dev Can only be called by the contract `owner` function setMinter(address minter_) external onlyOwner { minter = minter_; } /// @notice Set the `royaltyReceiver` address /// @dev Can only be called by the contract `owner` function setRoyaltyReceiver(address royaltyReceiver_) external onlyOwner { // CHECKS inputs require(royaltyReceiver_ != address(0), "Royalty receiver must not be the zero address"); // EFFECTS royaltyReceiver = royaltyReceiver_; } /// @notice Update the royalty fraction /// @dev Can only be called by the contract `owner` function setRoyaltyFraction(uint256 royaltyFraction_, uint256 royaltyDenominator_) external onlyOwner { // CHECKS inputss require(royaltyDenominator_ != 0, "Royalty denominator must not be zero"); require(royaltyFraction_ <= royaltyDenominator_, "Royalty fraction must not be greater than 100%"); // EFFECTS royaltyFraction = royaltyFraction_; royaltyDenominator = royaltyDenominator_; } /// @notice Update the baseURI for all metadata /// @dev Can only be called by the contract `owner`. Emits an ERC-4906 event. /// @param baseURI_ The new URI base. When specified, token URIs are created by concatenating the baseURI, /// token ID, and ".json". function updateBaseURI(string calldata baseURI_) external onlyOwner { // CHECKS inputs require(bytes(baseURI_).length > 0, "New base URI must be provided"); // EFFECTS baseURI = baseURI_; metadataContract = address(0); emit BatchMetadataUpdate(1, MAX_SUPPLY); } /// @notice Delegate all `tokenURI` calls to another contract /// @dev Can only be called by the contract `owner`. Emits an ERC-4906 event. /// @param delegate The contract that will handle `tokenURI` responses function delegateTokenURIs(address delegate) external onlyOwner { // CHECKS inputs require(delegate != address(0), "New metadata delegate must not be the zero address"); require(delegate.code.length > 0, "New metadata delegate must be a contract"); // EFFECTS baseURI = ""; metadataContract = delegate; emit BatchMetadataUpdate(1, MAX_SUPPLY); } // VIEW FUNCTIONS /// @notice The URI for the given token /// @dev Throws if `tokenId` is not valid or has not been minted function tokenURI(uint256 tokenId) public view override returns (string memory) { _requireOwned(tokenId); if (bytes(baseURI).length > 0) { return string(abi.encodePacked(baseURI, Strings.toString(tokenId), ".json")); } if (address(metadataContract) != address(0)) { return IERC721Metadata(metadataContract).tokenURI(tokenId); } revert("tokenURI not configured"); } /// @notice Calculate how much royalty is owed and to whom /// @param salePrice - the sale price of the NFT asset /// @return receiver - address of where the royalty payment should be sent /// @return royaltyAmount - the royalty payment amount for salePrice function royaltyInfo(uint256, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount) { receiver = royaltyReceiver; // Use OpenZeppelin math utils for full precision multiply and divide without overflow royaltyAmount = Math.mulDiv(salePrice, royaltyFraction, royaltyDenominator, Math.Rounding.Ceil); } /// @notice Query if a contract implements an interface /// @dev Interface identification is specified in ERC-165. This function uses less than 30,000 gas. /// @param interfaceId The interface identifier, as specified in ERC-165 /// @return `true` if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, `false` otherwise function supportsInterface(bytes4 interfaceId) public pure virtual override returns (bool) { return interfaceId == 0x80ac58cd || // ERC-721 Non-Fungible Token Standard interfaceId == 0x5b5e139f || // ERC-721 Non-Fungible Token Standard - metadata extension interfaceId == 0x2a55205a || // ERC-2981 NFT Royalty Standard interfaceId == 0x49064906 || // ERC-4906 Metadata Update Extension interfaceId == 0x7f5828d0 || // ERC-173 Contract Ownership Standard interfaceId == 0x01ffc9a7; // ERC-165 Standard Interface Detection } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.20; import {IERC721} from "./IERC721.sol"; import {IERC721Receiver} from "./IERC721Receiver.sol"; import {IERC721Metadata} from "./extensions/IERC721Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {Strings} from "../../utils/Strings.sol"; import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol"; import {IERC721Errors} from "../../interfaces/draft-IERC6093.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors { using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; mapping(uint256 tokenId => address) private _owners; mapping(address owner => uint256) private _balances; mapping(uint256 tokenId => address) private _tokenApprovals; mapping(address owner => mapping(address operator => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual returns (uint256) { if (owner == address(0)) { revert ERC721InvalidOwner(address(0)); } return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual returns (address) { return _requireOwned(tokenId); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual returns (string memory) { _requireOwned(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string.concat(baseURI, tokenId.toString()) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual { _approve(to, tokenId, _msgSender()); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual returns (address) { _requireOwned(tokenId); return _getApproved(tokenId); } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } // Setting an "auth" arguments enables the `_isAuthorized` check which verifies that the token exists // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here. address previousOwner = _update(to, tokenId, _msgSender()); if (previousOwner != from) { revert ERC721IncorrectOwner(from, tokenId, previousOwner); } } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual { transferFrom(from, to, tokenId); _checkOnERC721Received(from, to, tokenId, data); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist * * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the * core ERC721 logic MUST be matched with the use of {_increaseBalance} to keep balances * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`. */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted. */ function _getApproved(uint256 tokenId) internal view virtual returns (address) { return _tokenApprovals[tokenId]; } /** * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in * particular (ignoring whether it is owned by `owner`). * * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this * assumption. */ function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) { return spender != address(0) && (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender); } /** * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner. * Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets * the `spender` for the specific `tokenId`. * * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this * assumption. */ function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual { if (!_isAuthorized(owner, spender, tokenId)) { if (owner == address(0)) { revert ERC721NonexistentToken(tokenId); } else { revert ERC721InsufficientApproval(spender, tokenId); } } } /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that * a uint256 would ever overflow from increments when these increments are bounded to uint128 values. * * WARNING: Increasing an account's balance using this function tends to be paired with an override of the * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership * remain consistent with one another. */ function _increaseBalance(address account, uint128 value) internal virtual { unchecked { _balances[account] += value; } } /** * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update. * * The `auth` argument is optional. If the value passed is non 0, then this function will check that * `auth` is either the owner of the token, or approved to operate on the token (by the owner). * * Emits a {Transfer} event. * * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}. */ function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) { address from = _ownerOf(tokenId); // Perform (optional) operator check if (auth != address(0)) { _checkAuthorized(from, auth, tokenId); } // Execute the update if (from != address(0)) { // Clear approval. No need to re-authorize or emit the Approval event _approve(address(0), tokenId, address(0), false); unchecked { _balances[from] -= 1; } } if (to != address(0)) { unchecked { _balances[to] += 1; } } _owners[tokenId] = to; emit Transfer(from, to, tokenId); return from; } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } address previousOwner = _update(to, tokenId, address(0)); if (previousOwner != address(0)) { revert ERC721InvalidSender(address(0)); } } /** * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual { _mint(to, tokenId); _checkOnERC721Received(address(0), to, tokenId, data); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal { address previousOwner = _update(address(0), tokenId, address(0)); if (previousOwner == address(0)) { revert ERC721NonexistentToken(tokenId); } } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } address previousOwner = _update(to, tokenId, address(0)); if (previousOwner == address(0)) { revert ERC721NonexistentToken(tokenId); } else if (previousOwner != from) { revert ERC721IncorrectOwner(from, tokenId, previousOwner); } } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients * are aware of the ERC721 standard to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is like {safeTransferFrom} in the sense that it invokes * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `tokenId` token must exist and be owned by `from`. * - `to` cannot be the zero address. * - `from` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId) internal { _safeTransfer(from, to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual { _transfer(from, to, tokenId); _checkOnERC721Received(from, to, tokenId, data); } /** * @dev Approve `to` to operate on `tokenId` * * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is * either the owner of the token, or approved to operate on all tokens held by this owner. * * Emits an {Approval} event. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address to, uint256 tokenId, address auth) internal { _approve(to, tokenId, auth, true); } /** * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not * emitted in the context of transfers. */ function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual { // Avoid reading the owner unless necessary if (emitEvent || auth != address(0)) { address owner = _requireOwned(tokenId); // We do not use _isAuthorized because single-token approvals should not be able to call approve if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) { revert ERC721InvalidApprover(auth); } if (emitEvent) { emit Approval(owner, to, tokenId); } } _tokenApprovals[tokenId] = to; } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Requirements: * - operator can't be the address zero. * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll(address owner, address operator, bool approved) internal virtual { if (operator == address(0)) { revert ERC721InvalidOperator(operator); } _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned). * Returns the owner. * * Overrides to ownership logic should be done to {_ownerOf}. */ function _requireOwned(uint256 tokenId) internal view returns (address) { address owner = _ownerOf(tokenId); if (owner == address(0)) { revert ERC721NonexistentToken(tokenId); } return owner; } /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the * recipient doesn't accept the token transfer. The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private { if (to.code.length > 0) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { if (retval != IERC721Receiver.onERC721Received.selector) { revert ERC721InvalidReceiver(to); } } catch (bytes memory reason) { if (reason.length == 0) { revert ERC721InvalidReceiver(to); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; import {IERC165} from "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; import {Math} from "./math/Math.sol"; import {SignedMath} from "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal * representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.20; import {IERC721} from "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.20; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be * reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.20; import {IERC165} from "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon * a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or * {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon * a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the address zero. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "remappings": [] }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"address","name":"royaltyReceiver_","type":"address"},{"internalType":"uint256","name":"royaltyPercent","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"inputs":[],"name":"MathOverflowedMulDiv","type":"error"},{"inputs":[],"name":"OnlyMinter","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"}],"name":"BatchMetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegate","type":"address"}],"name":"delegateTokenURIs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"idStart","type":"uint256"},{"internalType":"uint256","name":"idEnd","type":"uint256"}],"name":"mintRange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyFraction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter_","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"royaltyFraction_","type":"uint256"},{"internalType":"uint256","name":"royaltyDenominator_","type":"uint256"}],"name":"setRoyaltyFraction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltyReceiver_","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040526064600b55348015610014575f5ffd5b506040516123a63803806123a6833981016040819052610033916102da565b3386865f6100418382610423565b50600161004e8282610423565b5050506001600160a01b03811661007f57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b610088816101ec565b505f83116100d85760405162461bcd60e51b815260206004820152601b60248201527f4d617820737570706c79206d757374206e6f74206265207a65726f00000000006044820152606401610076565b6001600160a01b0382166101445760405162461bcd60e51b815260206004820152602d60248201527f526f79616c7479207265636569766572206d757374206e6f742062652074686560448201526c207a65726f206164647265737360981b6064820152608401610076565b60648111156101ac5760405162461bcd60e51b815260206004820152602e60248201527f526f79616c7479206672616374696f6e206d757374206e6f742062652067726560448201526d61746572207468616e203130302560901b6064820152608401610076565b6080839052600d6101bd8582610423565b50600780546001600160a01b0319166001600160a01b039390931692909217909155600a55506104dd92505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610260575f5ffd5b81516001600160401b038111156102795761027961023d565b604051601f8201601f19908116603f011681016001600160401b03811182821017156102a7576102a761023d565b6040528181528382016020018510156102be575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b5f5f5f5f5f5f60c087890312156102ef575f5ffd5b86516001600160401b03811115610304575f5ffd5b61031089828a01610251565b602089015190975090506001600160401b0381111561032d575f5ffd5b61033989828a01610251565b604089015190965090506001600160401b03811115610356575f5ffd5b61036289828a01610251565b606089015160808a0151919650945090506001600160a01b0381168114610387575f5ffd5b60a09790970151959894975092959194919391925050565b600181811c908216806103b357607f821691505b6020821081036103d157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561041e57805f5260205f20601f840160051c810160208510156103fc5750805b601f840160051c820191505b8181101561041b575f8155600101610408565b50505b505050565b81516001600160401b0381111561043c5761043c61023d565b6104508161044a845461039f565b846103d7565b6020601f821160018114610482575f831561046b5750848201515b5f19600385901b1c1916600184901b17845561041b565b5f84815260208120601f198516915b828110156104b15787850151825560209485019460019092019101610491565b50848210156104ce57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b608051611e9c61050a5f395f81816106d10152818161081101528181610ac20152610cc40152611e9c5ff3fe608060405234801561000f575f5ffd5b50600436106101dc575f3560e01c8063715018a611610109578063c87b56dd1161009e578063ecededad1161006e578063ecededad146103ff578063f2fde38b14610412578063fca3b5aa14610425578063fd8d7ed314610438575f5ffd5b8063c87b56dd146103bd578063e7dee99f146103d0578063e985e9c5146103d9578063ea8876fa146103ec575f5ffd5b806395d89b41116100d957806395d89b411461037c5780639fbc871314610384578063a22cb46514610397578063b88d4fde146103aa575f5ffd5b8063715018a6146103465780638da5cb5b1461034e5780638dc251e314610356578063931688cb14610369575f5ffd5b806323b872dd1161017f57806342842e0e1161014f57806342842e0e146103055780636352211e146103185780636c0360eb1461032b57806370a0823114610333575f5ffd5b806323b872dd1461029a5780632a55205a146102ad57806335209821146102df57806340c10f19146102f2575f5ffd5b8063081812fc116101ba578063081812fc14610248578063095ea7b31461025b578063113b98e01461027057806318160ddd14610283575f5ffd5b806301ffc9a7146101e057806306fdde0314610208578063075461721461021d575b5f5ffd5b6101f36101ee366004611753565b610441565b60405190151581526020015b60405180910390f35b6102106104e3565b6040516101ff919061179c565b600854610230906001600160a01b031681565b6040516001600160a01b0390911681526020016101ff565b6102306102563660046117ae565b610572565b61026e6102693660046117e0565b610599565b005b61026e61027e366004611808565b6105a8565b61028c600c5481565b6040519081526020016101ff565b61026e6102a8366004611821565b610723565b6102c06102bb36600461185b565b6107ac565b604080516001600160a01b0390931683526020830191909152016101ff565b600954610230906001600160a01b031681565b61026e6103003660046117e0565b6107da565b61026e610313366004611821565b61088a565b6102306103263660046117ae565b6108a9565b6102106108b3565b61028c610341366004611808565b61093f565b61026e610984565b610230610997565b61026e610364366004611808565b6109af565b61026e61037736600461187b565b610a45565b610210610b15565b600754610230906001600160a01b031681565b61026e6103a53660046118e9565b610b24565b61026e6103b836600461198e565b610b2f565b6102106103cb3660046117ae565b610b46565b61028c600a5481565b6101f36103e7366004611a32565b610c60565b61026e6103fa366004611a5a565b610c8d565b61026e61040d36600461185b565b610db4565b61026e610420366004611808565b610e89565b61026e610433366004611808565b610ec6565b61028c600b5481565b5f6380ac58cd60e01b6001600160e01b0319831614806104715750635b5e139f60e01b6001600160e01b03198316145b8061048c575063152a902d60e11b6001600160e01b03198316145b806104a75750632483248360e11b6001600160e01b03198316145b806104c257506307f5828d60e41b6001600160e01b03198316145b806104dd57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60605f80546104f190611a8a565b80601f016020809104026020016040519081016040528092919081815260200182805461051d90611a8a565b80156105685780601f1061053f57610100808354040283529160200191610568565b820191905f5260205f20905b81548152906001019060200180831161054b57829003601f168201915b5050505050905090565b5f61057c82610ef0565b505f828152600460205260409020546001600160a01b03166104dd565b6105a4828233610f28565b5050565b6105b0610f35565b6001600160a01b0381166106265760405162461bcd60e51b815260206004820152603260248201527f4e6577206d657461646174612064656c6567617465206d757374206e6f7420626044820152716520746865207a65726f206164647265737360701b60648201526084015b60405180910390fd5b5f816001600160a01b03163b116106905760405162461bcd60e51b815260206004820152602860248201527f4e6577206d657461646174612064656c6567617465206d75737420626520612060448201526718dbdb9d1c9858dd60c21b606482015260840161061d565b60408051602081019091525f8152600d906106ab9082611b06565b50600980546001600160a01b0319166001600160a01b03831617905560408051600181527f000000000000000000000000000000000000000000000000000000000000000060208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a150565b6001600160a01b03821661074c57604051633250574960e11b81525f600482015260240161061d565b5f610758838333610f67565b9050836001600160a01b0316816001600160a01b0316146107a6576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161061d565b50505050565b600754600a54600b546001600160a01b03909216915f916107d191859190600161105b565b90509250929050565b6008546001600160a01b0316331461080557604051639cdc2ed560e01b815260040160405180910390fd5b5f8111801561083457507f00000000000000000000000000000000000000000000000000000000000000008111155b6108735760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a59081d1bdad95b88125160821b604482015260640161061d565b61087d82826110aa565b5050600c80546001019055565b6108a483838360405180602001604052805f815250610b2f565b505050565b5f6104dd82610ef0565b600d80546108c090611a8a565b80601f01602080910402602001604051908101604052809291908181526020018280546108ec90611a8a565b80156109375780601f1061090e57610100808354040283529160200191610937565b820191905f5260205f20905b81548152906001019060200180831161091a57829003601f168201915b505050505081565b5f6001600160a01b038216610969576040516322718ad960e21b81525f600482015260240161061d565b506001600160a01b03165f9081526003602052604090205490565b61098c610f35565b6109955f61110b565b565b5f6109aa6006546001600160a01b031690565b905090565b6109b7610f35565b6001600160a01b038116610a235760405162461bcd60e51b815260206004820152602d60248201527f526f79616c7479207265636569766572206d757374206e6f742062652074686560448201526c207a65726f206164647265737360981b606482015260840161061d565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b610a4d610f35565b80610a9a5760405162461bcd60e51b815260206004820152601d60248201527f4e6577206261736520555249206d7573742062652070726f7669646564000000604482015260640161061d565b600d610aa7828483611bc1565b50600980546001600160a01b031916905560408051600181527f000000000000000000000000000000000000000000000000000000000000000060208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a15050565b6060600180546104f190611a8a565b6105a433838361115c565b610b3a848484610723565b6107a6848484846111fa565b6060610b5182610ef0565b505f600d8054610b6090611a8a565b90501115610b9a57600d610b7383611320565b604051602001610b84929190611c7b565b6040516020818303038152906040529050919050565b6009546001600160a01b031615610c185760095460405163c87b56dd60e01b8152600481018490526001600160a01b039091169063c87b56dd906024015f60405180830381865afa158015610bf1573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104dd9190810190611d06565b60405162461bcd60e51b815260206004820152601760248201527f746f6b656e555249206e6f7420636f6e66696775726564000000000000000000604482015260640161061d565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314610cb857604051639cdc2ed560e01b815260040160405180910390fd5b5f82118015610ce757507f00000000000000000000000000000000000000000000000000000000000000008111155b610d295760405162461bcd60e51b8152602060048201526013602482015272496e76616c696420746f6b656e2072616e676560681b604482015260640161061d565b80821115610d8f5760405162461bcd60e51b815260206004820152602d60248201527f5374617274204944206d757374206265206c657373207468616e206f7220657160448201526c1d585b081d1bc8195b99081251609a1b606482015260840161061d565b815b8181116107a657610da284826107da565b80610dac81611d8f565b915050610d91565b610dbc610f35565b805f03610e175760405162461bcd60e51b8152602060048201526024808201527f526f79616c74792064656e6f6d696e61746f72206d757374206e6f74206265206044820152637a65726f60e01b606482015260840161061d565b80821115610e7e5760405162461bcd60e51b815260206004820152602e60248201527f526f79616c7479206672616374696f6e206d757374206e6f742062652067726560448201526d61746572207468616e203130302560901b606482015260840161061d565b600a91909155600b55565b610e91610f35565b6001600160a01b038116610eba57604051631e4fbdf760e01b81525f600482015260240161061d565b610ec38161110b565b50565b610ece610f35565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b5f818152600260205260408120546001600160a01b0316806104dd57604051637e27328960e01b81526004810184905260240161061d565b6108a483838360016113b0565b33610f3e610997565b6001600160a01b0316146109955760405163118cdaa760e01b815233600482015260240161061d565b5f828152600260205260408120546001600160a01b0390811690831615610f9357610f938184866114b4565b6001600160a01b03811615610fcd57610fae5f855f5f6113b0565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b03851615610ffb576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a490505b9392505050565b5f5f611068868686611518565b9050611073836115d7565b801561108e57505f848061108957611089611da7565b868809115b156110a15761109e600182611dbb565b90505b95945050505050565b6001600160a01b0382166110d357604051633250574960e11b81525f600482015260240161061d565b5f6110df83835f610f67565b90506001600160a01b038116156108a4576040516339e3563760e11b81525f600482015260240161061d565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03821661118e57604051630b61174360e31b81526001600160a01b038316600482015260240161061d565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156107a657604051630a85bd0160e11b81526001600160a01b0384169063150b7a029061123c903390889087908790600401611dce565b6020604051808303815f875af1925050508015611276575060408051601f3d908101601f1916820190925261127391810190611e0a565b60015b6112dd573d8080156112a3576040519150601f19603f3d011682016040523d82523d5f602084013e6112a8565b606091505b5080515f036112d557604051633250574960e11b81526001600160a01b038516600482015260240161061d565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b1461131957604051633250574960e11b81526001600160a01b038516600482015260240161061d565b5050505050565b60605f61132c83611603565b60010190505f8167ffffffffffffffff81111561134b5761134b611922565b6040519080825280601f01601f191660200182016040528015611375576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461137f57509392505050565b80806113c457506001600160a01b03821615155b15611485575f6113d384610ef0565b90506001600160a01b038316158015906113ff5750826001600160a01b0316816001600160a01b031614155b801561141257506114108184610c60565b155b1561143b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161061d565b81156114835783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b6114bf8383836116da565b6108a4576001600160a01b0383166114ed57604051637e27328960e01b81526004810182905260240161061d565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161061d565b5f838302815f1985870982811083820303915050805f0361154c5783828161154257611542611da7565b0492505050611054565b80841161156c5760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f60028260038111156115ec576115ec611e25565b6115f69190611e39565b60ff166001149050919050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116415772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061166d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061168b57662386f26fc10000830492506010015b6305f5e10083106116a3576305f5e100830492506008015b61271083106116b757612710830492506004015b606483106116c9576064830492506002015b600a83106104dd5760010192915050565b5f6001600160a01b038316158015906117365750826001600160a01b0316846001600160a01b0316148061171357506117138484610c60565b8061173657505f828152600460205260409020546001600160a01b038481169116145b949350505050565b6001600160e01b031981168114610ec3575f5ffd5b5f60208284031215611763575f5ffd5b81356110548161173e565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f611054602083018461176e565b5f602082840312156117be575f5ffd5b5035919050565b80356001600160a01b03811681146117db575f5ffd5b919050565b5f5f604083850312156117f1575f5ffd5b6117fa836117c5565b946020939093013593505050565b5f60208284031215611818575f5ffd5b611054826117c5565b5f5f5f60608486031215611833575f5ffd5b61183c846117c5565b925061184a602085016117c5565b929592945050506040919091013590565b5f5f6040838503121561186c575f5ffd5b50508035926020909101359150565b5f5f6020838503121561188c575f5ffd5b823567ffffffffffffffff8111156118a2575f5ffd5b8301601f810185136118b2575f5ffd5b803567ffffffffffffffff8111156118c8575f5ffd5b8560208284010111156118d9575f5ffd5b6020919091019590945092505050565b5f5f604083850312156118fa575f5ffd5b611903836117c5565b915060208301358015158114611917575f5ffd5b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561195f5761195f611922565b604052919050565b5f67ffffffffffffffff82111561198057611980611922565b50601f01601f191660200190565b5f5f5f5f608085870312156119a1575f5ffd5b6119aa856117c5565b93506119b8602086016117c5565b925060408501359150606085013567ffffffffffffffff8111156119da575f5ffd5b8501601f810187136119ea575f5ffd5b80356119fd6119f882611967565b611936565b818152886020838501011115611a11575f5ffd5b816020840160208301375f6020838301015280935050505092959194509250565b5f5f60408385031215611a43575f5ffd5b611a4c836117c5565b91506107d1602084016117c5565b5f5f5f60608486031215611a6c575f5ffd5b611a75846117c5565b95602085013595506040909401359392505050565b600181811c90821680611a9e57607f821691505b602082108103611abc57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156108a457805f5260205f20601f840160051c81016020851015611ae75750805b601f840160051c820191505b81811015611319575f8155600101611af3565b815167ffffffffffffffff811115611b2057611b20611922565b611b3481611b2e8454611a8a565b84611ac2565b6020601f821160018114611b66575f8315611b4f5750848201515b5f19600385901b1c1916600184901b178455611319565b5f84815260208120601f198516915b82811015611b955787850151825560209485019460019092019101611b75565b5084821015611bb257868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b67ffffffffffffffff831115611bd957611bd9611922565b611bed83611be78354611a8a565b83611ac2565b5f601f841160018114611c1e575f8515611c075750838201355b5f19600387901b1c1916600186901b178355611319565b5f83815260208120601f198716915b82811015611c4d5786850135825560209485019460019092019101611c2d565b5086821015611c69575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b5f5f8454611c8881611a8a565b600182168015611c9f5760018114611cb457611ce1565b60ff1983168652811515820286019350611ce1565b875f5260205f205f5b83811015611cd957815488820152600190910190602001611cbd565b505081860193505b50505083518060208601835e64173539b7b760d91b9101908152600501949350505050565b5f60208284031215611d16575f5ffd5b815167ffffffffffffffff811115611d2c575f5ffd5b8201601f81018413611d3c575f5ffd5b8051611d4a6119f882611967565b818152856020838501011115611d5e575f5ffd5b8160208401602083015e5f91810160200191909152949350505050565b634e487b7160e01b5f52601160045260245ffd5b5f60018201611da057611da0611d7b565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b808201808211156104dd576104dd611d7b565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611e009083018461176e565b9695505050505050565b5f60208284031215611e1a575f5ffd5b81516110548161173e565b634e487b7160e01b5f52602160045260245ffd5b5f60ff831680611e5757634e487b7160e01b5f52601260045260245ffd5b8060ff8416069150509291505056fea26469706673582212206f71949c0fe200ca029b3f7797d705d1b1651b6518d8ef198ffc9653a697eb2c64736f6c634300081c003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000003e800000000000000000000000007ab7a2b8cacf9361b39b1fa50bdadce2d50ff920000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000002745766f6c7665642048616c6c7563696e6174696f6e7320627920547265766f72205061676c656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000445485450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561000f575f5ffd5b50600436106101dc575f3560e01c8063715018a611610109578063c87b56dd1161009e578063ecededad1161006e578063ecededad146103ff578063f2fde38b14610412578063fca3b5aa14610425578063fd8d7ed314610438575f5ffd5b8063c87b56dd146103bd578063e7dee99f146103d0578063e985e9c5146103d9578063ea8876fa146103ec575f5ffd5b806395d89b41116100d957806395d89b411461037c5780639fbc871314610384578063a22cb46514610397578063b88d4fde146103aa575f5ffd5b8063715018a6146103465780638da5cb5b1461034e5780638dc251e314610356578063931688cb14610369575f5ffd5b806323b872dd1161017f57806342842e0e1161014f57806342842e0e146103055780636352211e146103185780636c0360eb1461032b57806370a0823114610333575f5ffd5b806323b872dd1461029a5780632a55205a146102ad57806335209821146102df57806340c10f19146102f2575f5ffd5b8063081812fc116101ba578063081812fc14610248578063095ea7b31461025b578063113b98e01461027057806318160ddd14610283575f5ffd5b806301ffc9a7146101e057806306fdde0314610208578063075461721461021d575b5f5ffd5b6101f36101ee366004611753565b610441565b60405190151581526020015b60405180910390f35b6102106104e3565b6040516101ff919061179c565b600854610230906001600160a01b031681565b6040516001600160a01b0390911681526020016101ff565b6102306102563660046117ae565b610572565b61026e6102693660046117e0565b610599565b005b61026e61027e366004611808565b6105a8565b61028c600c5481565b6040519081526020016101ff565b61026e6102a8366004611821565b610723565b6102c06102bb36600461185b565b6107ac565b604080516001600160a01b0390931683526020830191909152016101ff565b600954610230906001600160a01b031681565b61026e6103003660046117e0565b6107da565b61026e610313366004611821565b61088a565b6102306103263660046117ae565b6108a9565b6102106108b3565b61028c610341366004611808565b61093f565b61026e610984565b610230610997565b61026e610364366004611808565b6109af565b61026e61037736600461187b565b610a45565b610210610b15565b600754610230906001600160a01b031681565b61026e6103a53660046118e9565b610b24565b61026e6103b836600461198e565b610b2f565b6102106103cb3660046117ae565b610b46565b61028c600a5481565b6101f36103e7366004611a32565b610c60565b61026e6103fa366004611a5a565b610c8d565b61026e61040d36600461185b565b610db4565b61026e610420366004611808565b610e89565b61026e610433366004611808565b610ec6565b61028c600b5481565b5f6380ac58cd60e01b6001600160e01b0319831614806104715750635b5e139f60e01b6001600160e01b03198316145b8061048c575063152a902d60e11b6001600160e01b03198316145b806104a75750632483248360e11b6001600160e01b03198316145b806104c257506307f5828d60e41b6001600160e01b03198316145b806104dd57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60605f80546104f190611a8a565b80601f016020809104026020016040519081016040528092919081815260200182805461051d90611a8a565b80156105685780601f1061053f57610100808354040283529160200191610568565b820191905f5260205f20905b81548152906001019060200180831161054b57829003601f168201915b5050505050905090565b5f61057c82610ef0565b505f828152600460205260409020546001600160a01b03166104dd565b6105a4828233610f28565b5050565b6105b0610f35565b6001600160a01b0381166106265760405162461bcd60e51b815260206004820152603260248201527f4e6577206d657461646174612064656c6567617465206d757374206e6f7420626044820152716520746865207a65726f206164647265737360701b60648201526084015b60405180910390fd5b5f816001600160a01b03163b116106905760405162461bcd60e51b815260206004820152602860248201527f4e6577206d657461646174612064656c6567617465206d75737420626520612060448201526718dbdb9d1c9858dd60c21b606482015260840161061d565b60408051602081019091525f8152600d906106ab9082611b06565b50600980546001600160a01b0319166001600160a01b03831617905560408051600181527f00000000000000000000000000000000000000000000000000000000000003e860208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a150565b6001600160a01b03821661074c57604051633250574960e11b81525f600482015260240161061d565b5f610758838333610f67565b9050836001600160a01b0316816001600160a01b0316146107a6576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161061d565b50505050565b600754600a54600b546001600160a01b03909216915f916107d191859190600161105b565b90509250929050565b6008546001600160a01b0316331461080557604051639cdc2ed560e01b815260040160405180910390fd5b5f8111801561083457507f00000000000000000000000000000000000000000000000000000000000003e88111155b6108735760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a59081d1bdad95b88125160821b604482015260640161061d565b61087d82826110aa565b5050600c80546001019055565b6108a483838360405180602001604052805f815250610b2f565b505050565b5f6104dd82610ef0565b600d80546108c090611a8a565b80601f01602080910402602001604051908101604052809291908181526020018280546108ec90611a8a565b80156109375780601f1061090e57610100808354040283529160200191610937565b820191905f5260205f20905b81548152906001019060200180831161091a57829003601f168201915b505050505081565b5f6001600160a01b038216610969576040516322718ad960e21b81525f600482015260240161061d565b506001600160a01b03165f9081526003602052604090205490565b61098c610f35565b6109955f61110b565b565b5f6109aa6006546001600160a01b031690565b905090565b6109b7610f35565b6001600160a01b038116610a235760405162461bcd60e51b815260206004820152602d60248201527f526f79616c7479207265636569766572206d757374206e6f742062652074686560448201526c207a65726f206164647265737360981b606482015260840161061d565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b610a4d610f35565b80610a9a5760405162461bcd60e51b815260206004820152601d60248201527f4e6577206261736520555249206d7573742062652070726f7669646564000000604482015260640161061d565b600d610aa7828483611bc1565b50600980546001600160a01b031916905560408051600181527f00000000000000000000000000000000000000000000000000000000000003e860208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a15050565b6060600180546104f190611a8a565b6105a433838361115c565b610b3a848484610723565b6107a6848484846111fa565b6060610b5182610ef0565b505f600d8054610b6090611a8a565b90501115610b9a57600d610b7383611320565b604051602001610b84929190611c7b565b6040516020818303038152906040529050919050565b6009546001600160a01b031615610c185760095460405163c87b56dd60e01b8152600481018490526001600160a01b039091169063c87b56dd906024015f60405180830381865afa158015610bf1573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104dd9190810190611d06565b60405162461bcd60e51b815260206004820152601760248201527f746f6b656e555249206e6f7420636f6e66696775726564000000000000000000604482015260640161061d565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314610cb857604051639cdc2ed560e01b815260040160405180910390fd5b5f82118015610ce757507f00000000000000000000000000000000000000000000000000000000000003e88111155b610d295760405162461bcd60e51b8152602060048201526013602482015272496e76616c696420746f6b656e2072616e676560681b604482015260640161061d565b80821115610d8f5760405162461bcd60e51b815260206004820152602d60248201527f5374617274204944206d757374206265206c657373207468616e206f7220657160448201526c1d585b081d1bc8195b99081251609a1b606482015260840161061d565b815b8181116107a657610da284826107da565b80610dac81611d8f565b915050610d91565b610dbc610f35565b805f03610e175760405162461bcd60e51b8152602060048201526024808201527f526f79616c74792064656e6f6d696e61746f72206d757374206e6f74206265206044820152637a65726f60e01b606482015260840161061d565b80821115610e7e5760405162461bcd60e51b815260206004820152602e60248201527f526f79616c7479206672616374696f6e206d757374206e6f742062652067726560448201526d61746572207468616e203130302560901b606482015260840161061d565b600a91909155600b55565b610e91610f35565b6001600160a01b038116610eba57604051631e4fbdf760e01b81525f600482015260240161061d565b610ec38161110b565b50565b610ece610f35565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b5f818152600260205260408120546001600160a01b0316806104dd57604051637e27328960e01b81526004810184905260240161061d565b6108a483838360016113b0565b33610f3e610997565b6001600160a01b0316146109955760405163118cdaa760e01b815233600482015260240161061d565b5f828152600260205260408120546001600160a01b0390811690831615610f9357610f938184866114b4565b6001600160a01b03811615610fcd57610fae5f855f5f6113b0565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b03851615610ffb576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a490505b9392505050565b5f5f611068868686611518565b9050611073836115d7565b801561108e57505f848061108957611089611da7565b868809115b156110a15761109e600182611dbb565b90505b95945050505050565b6001600160a01b0382166110d357604051633250574960e11b81525f600482015260240161061d565b5f6110df83835f610f67565b90506001600160a01b038116156108a4576040516339e3563760e11b81525f600482015260240161061d565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03821661118e57604051630b61174360e31b81526001600160a01b038316600482015260240161061d565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156107a657604051630a85bd0160e11b81526001600160a01b0384169063150b7a029061123c903390889087908790600401611dce565b6020604051808303815f875af1925050508015611276575060408051601f3d908101601f1916820190925261127391810190611e0a565b60015b6112dd573d8080156112a3576040519150601f19603f3d011682016040523d82523d5f602084013e6112a8565b606091505b5080515f036112d557604051633250574960e11b81526001600160a01b038516600482015260240161061d565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b1461131957604051633250574960e11b81526001600160a01b038516600482015260240161061d565b5050505050565b60605f61132c83611603565b60010190505f8167ffffffffffffffff81111561134b5761134b611922565b6040519080825280601f01601f191660200182016040528015611375576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461137f57509392505050565b80806113c457506001600160a01b03821615155b15611485575f6113d384610ef0565b90506001600160a01b038316158015906113ff5750826001600160a01b0316816001600160a01b031614155b801561141257506114108184610c60565b155b1561143b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161061d565b81156114835783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b6114bf8383836116da565b6108a4576001600160a01b0383166114ed57604051637e27328960e01b81526004810182905260240161061d565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161061d565b5f838302815f1985870982811083820303915050805f0361154c5783828161154257611542611da7565b0492505050611054565b80841161156c5760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f60028260038111156115ec576115ec611e25565b6115f69190611e39565b60ff166001149050919050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116415772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061166d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061168b57662386f26fc10000830492506010015b6305f5e10083106116a3576305f5e100830492506008015b61271083106116b757612710830492506004015b606483106116c9576064830492506002015b600a83106104dd5760010192915050565b5f6001600160a01b038316158015906117365750826001600160a01b0316846001600160a01b0316148061171357506117138484610c60565b8061173657505f828152600460205260409020546001600160a01b038481169116145b949350505050565b6001600160e01b031981168114610ec3575f5ffd5b5f60208284031215611763575f5ffd5b81356110548161173e565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f611054602083018461176e565b5f602082840312156117be575f5ffd5b5035919050565b80356001600160a01b03811681146117db575f5ffd5b919050565b5f5f604083850312156117f1575f5ffd5b6117fa836117c5565b946020939093013593505050565b5f60208284031215611818575f5ffd5b611054826117c5565b5f5f5f60608486031215611833575f5ffd5b61183c846117c5565b925061184a602085016117c5565b929592945050506040919091013590565b5f5f6040838503121561186c575f5ffd5b50508035926020909101359150565b5f5f6020838503121561188c575f5ffd5b823567ffffffffffffffff8111156118a2575f5ffd5b8301601f810185136118b2575f5ffd5b803567ffffffffffffffff8111156118c8575f5ffd5b8560208284010111156118d9575f5ffd5b6020919091019590945092505050565b5f5f604083850312156118fa575f5ffd5b611903836117c5565b915060208301358015158114611917575f5ffd5b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561195f5761195f611922565b604052919050565b5f67ffffffffffffffff82111561198057611980611922565b50601f01601f191660200190565b5f5f5f5f608085870312156119a1575f5ffd5b6119aa856117c5565b93506119b8602086016117c5565b925060408501359150606085013567ffffffffffffffff8111156119da575f5ffd5b8501601f810187136119ea575f5ffd5b80356119fd6119f882611967565b611936565b818152886020838501011115611a11575f5ffd5b816020840160208301375f6020838301015280935050505092959194509250565b5f5f60408385031215611a43575f5ffd5b611a4c836117c5565b91506107d1602084016117c5565b5f5f5f60608486031215611a6c575f5ffd5b611a75846117c5565b95602085013595506040909401359392505050565b600181811c90821680611a9e57607f821691505b602082108103611abc57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156108a457805f5260205f20601f840160051c81016020851015611ae75750805b601f840160051c820191505b81811015611319575f8155600101611af3565b815167ffffffffffffffff811115611b2057611b20611922565b611b3481611b2e8454611a8a565b84611ac2565b6020601f821160018114611b66575f8315611b4f5750848201515b5f19600385901b1c1916600184901b178455611319565b5f84815260208120601f198516915b82811015611b955787850151825560209485019460019092019101611b75565b5084821015611bb257868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b67ffffffffffffffff831115611bd957611bd9611922565b611bed83611be78354611a8a565b83611ac2565b5f601f841160018114611c1e575f8515611c075750838201355b5f19600387901b1c1916600186901b178355611319565b5f83815260208120601f198716915b82811015611c4d5786850135825560209485019460019092019101611c2d565b5086821015611c69575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b5f5f8454611c8881611a8a565b600182168015611c9f5760018114611cb457611ce1565b60ff1983168652811515820286019350611ce1565b875f5260205f205f5b83811015611cd957815488820152600190910190602001611cbd565b505081860193505b50505083518060208601835e64173539b7b760d91b9101908152600501949350505050565b5f60208284031215611d16575f5ffd5b815167ffffffffffffffff811115611d2c575f5ffd5b8201601f81018413611d3c575f5ffd5b8051611d4a6119f882611967565b818152856020838501011115611d5e575f5ffd5b8160208401602083015e5f91810160200191909152949350505050565b634e487b7160e01b5f52601160045260245ffd5b5f60018201611da057611da0611d7b565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b808201808211156104dd576104dd611d7b565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611e009083018461176e565b9695505050505050565b5f60208284031215611e1a575f5ffd5b81516110548161173e565b634e487b7160e01b5f52602160045260245ffd5b5f60ff831680611e5757634e487b7160e01b5f52601260045260245ffd5b8060ff8416069150509291505056fea26469706673582212206f71949c0fe200ca029b3f7797d705d1b1651b6518d8ef198ffc9653a697eb2c64736f6c634300081c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000003e800000000000000000000000007ab7a2b8cacf9361b39b1fa50bdadce2d50ff920000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000002745766f6c7665642048616c6c7563696e6174696f6e7320627920547265766f72205061676c656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000445485450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Evolved Hallucinations by Trevor Paglen
Arg [1] : symbol (string): EHTP
Arg [2] : baseURI_ (string):
Arg [3] : maxSupply (uint256): 1000
Arg [4] : royaltyReceiver_ (address): 0x07Ab7A2B8CACF9361B39B1fA50BdadCE2D50FF92
Arg [5] : royaltyPercent (uint256): 5
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [4] : 00000000000000000000000007ab7a2b8cacf9361b39b1fa50bdadce2d50ff92
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000027
Arg [7] : 45766f6c7665642048616c6c7563696e6174696f6e7320627920547265766f72
Arg [8] : 205061676c656e00000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [10] : 4548545000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
325:7490:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7207:606;;;;;;:::i;:::-;;:::i;:::-;;;565:14:13;;558:22;540:41;;528:2;513:18;7207:606:12;;;;;;;;2365:89:2;;;:::i;:::-;;;;;;;:::i;457:21:12:-;;;;;-1:-1:-1;;;;;457:21:12;;;;;;-1:-1:-1;;;;;1275:32:13;;;1257:51;;1245:2;1230:18;457:21:12;1111:203:13;3497:154:2;;;;;;:::i;:::-;;:::i;3323:113::-;;;;;;:::i;:::-;;:::i;:::-;;5209:407:12;;;;;;:::i;:::-;;:::i;664:26::-;;;;;;;;;2370:25:13;;;2358:2;2343:18;664:26:12;2224:177:13;4143:578:2;;;;;;:::i;:::-;;:::i;6485:356:12:-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3328:32:13;;;3310:51;;3392:2;3377:18;;3370:34;;;;3283:18;6485:356:12;3136:274:13;484:31:12;;;;;-1:-1:-1;;;;;484:31:12;;;2531:341;;;;;;:::i;:::-;;:::i;4787:132:2:-;;;;;;:::i;:::-;;:::i;2185:118::-;;;;;;:::i;:::-;;:::i;769:21:12:-;;;:::i;1920:208:2:-;;;;;;:::i;:::-;;:::i;2293:101:0:-;;;:::i;2111:112:12:-;;;:::i;3571:266::-;;;;;;:::i;:::-;;:::i;4665:315::-;;;;;;:::i;:::-;;:::i;2518:93:2:-;;;:::i;421:30:12:-;;;;;-1:-1:-1;;;;;421:30:12;;;3718:144:2;;;;;;:::i;:::-;;:::i;4985:208::-;;;;;;:::i;:::-;;:::i;5758:443:12:-;;;;;;:::i;:::-;;:::i;522:30::-;;;;;;3928:153:2;;;;;;:::i;:::-;;:::i;2882:363:12:-;;;;;;:::i;:::-;;:::i;3943:439::-;;;;;;:::i;:::-;;:::i;2543:215:0:-;;;;;;:::i;:::-;;:::i;3371:88:12:-;;;;;;:::i;:::-;;:::i;558:39::-;;;;;;7207:606;7292:4;-1:-1:-1;;;;;;;;;7327:25:12;;;;:105;;-1:-1:-1;;;;;;;;;;7407:25:12;;;7327:105;:206;;;-1:-1:-1;;;;;;;;;;7508:25:12;;;7327:206;:280;;;-1:-1:-1;;;;;;;;;;7582:25:12;;;7327:280;:359;;;-1:-1:-1;;;;;;;;;;7661:25:12;;;7327:359;:439;;;-1:-1:-1;;;;;;;;;;7741:25:12;;;7327:439;7308:458;7207:606;-1:-1:-1;;7207:606:12:o;2365:89:2:-;2410:13;2442:5;2435:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2365:89;:::o;3497:154::-;3564:7;3583:22;3597:7;3583:13;:22::i;:::-;-1:-1:-1;6008:7:2;6034:24;;;:15;:24;;;;;;-1:-1:-1;;;;;6034:24:2;3623:21;5938:127;3323:113;3394:35;3403:2;3407:7;735:10:6;3394:8:2;:35::i;:::-;3323:113;;:::o;5209:407:12:-;1531:13:0;:11;:13::i;:::-;-1:-1:-1;;;;;5316:22:12;::::1;5308:85;;;::::0;-1:-1:-1;;;5308:85:12;;7202:2:13;5308:85:12::1;::::0;::::1;7184:21:13::0;7241:2;7221:18;;;7214:30;7280:34;7260:18;;;7253:62;-1:-1:-1;;;7331:18:13;;;7324:48;7389:19;;5308:85:12::1;;;;;;;;;5434:1;5411:8;-1:-1:-1::0;;;;;5411:20:12::1;;:24;5403:77;;;::::0;-1:-1:-1;;;5403:77:12;;7621:2:13;5403:77:12::1;::::0;::::1;7603:21:13::0;7660:2;7640:18;;;7633:30;7699:34;7679:18;;;7672:62;-1:-1:-1;;;7750:18:13;;;7743:38;7798:19;;5403:77:12::1;7419:404:13::0;5403:77:12::1;5510:12;::::0;;::::1;::::0;::::1;::::0;;;-1:-1:-1;5510:12:12;;:7:::1;::::0;:12:::1;::::0;:7;:12:::1;:::i;:::-;-1:-1:-1::0;5532:16:12::1;:27:::0;;-1:-1:-1;;;;;;5532:27:12::1;-1:-1:-1::0;;;;;5532:27:12;::::1;;::::0;;5575:34:::1;::::0;;-1:-1:-1;10134:25:13;;5598:10:12::1;10190:2:13::0;10175:18;;10168:34;5575::12::1;::::0;10107:18:13;5575:34:12::1;;;;;;;5209:407:::0;:::o;4143:578:2:-;-1:-1:-1;;;;;4237:16:2;;4233:87;;4276:33;;-1:-1:-1;;;4276:33:2;;4306:1;4276:33;;;1257:51:13;1230:18;;4276:33:2;1111:203:13;4233:87:2;4538:21;4562:34;4570:2;4574:7;735:10:6;4562:7:2;:34::i;:::-;4538:58;;4627:4;-1:-1:-1;;;;;4610:21:2;:13;-1:-1:-1;;;;;4610:21:2;;4606:109;;4654:50;;-1:-1:-1;;;4654:50:2;;-1:-1:-1;;;;;10433:32:13;;;4654:50:2;;;10415:51:13;10482:18;;;10475:34;;;10545:32;;10525:18;;;10518:60;10388:18;;4654:50:2;10213:371:13;4606:109:2;4223:498;4143:578;;;:::o;6485:356:12:-;6619:15;;6778;;6795:18;;-1:-1:-1;;;;;6619:15:12;;;;6557:16;;6755:79;;6767:9;;6778:15;6619;6755:11;:79::i;:::-;6739:95;;6485:356;;;;;:::o;2531:341::-;2032:6;;-1:-1:-1;;;;;2032:6:12;2018:10;:20;2014:45;;2047:12;;-1:-1:-1;;;2047:12:12;;;;;;;;;;;2014:45;2645:1:::1;2635:7;:11;:36;;;;;2661:10;2650:7;:21;;2635:36;2627:65;;;::::0;-1:-1:-1;;;2627:65:12;;10791:2:13;2627:65:12::1;::::0;::::1;10773:21:13::0;10830:2;10810:18;;;10803:30;-1:-1:-1;;;10849:18:13;;;10842:46;10905:18;;2627:65:12::1;10589:340:13::0;2627:65:12::1;2766:18;2772:2;2776:7;2766:5;:18::i;:::-;-1:-1:-1::0;;2842:11:12::1;:13:::0;;::::1;;::::0;;2531:341::o;4787:132:2:-;4873:39;4890:4;4896:2;4900:7;4873:39;;;;;;;;;;;;:16;:39::i;:::-;4787:132;;;:::o;2185:118::-;2248:7;2274:22;2288:7;2274:13;:22::i;769:21:12:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1920:208:2:-;1983:7;-1:-1:-1;;;;;2006:19:2;;2002:87;;2048:30;;-1:-1:-1;;;2048:30:2;;2075:1;2048:30;;;1257:51:13;1230:18;;2048:30:2;1111:203:13;2002:87:2;-1:-1:-1;;;;;;2105:16:2;;;;;:9;:16;;;;;;;1920:208::o;2293:101:0:-;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;:::-;2293:101::o:0;2111:112:12:-;2175:7;2201:15;1710:6:0;;-1:-1:-1;;;;;1710:6:0;;1638:85;2201:15:12;2194:22;;2111:112;:::o;3571:266::-;1531:13:0;:11;:13::i;:::-;-1:-1:-1;;;;;3687:30:12;::::1;3679:88;;;::::0;-1:-1:-1;;;3679:88:12;;11136:2:13;3679:88:12::1;::::0;::::1;11118:21:13::0;11175:2;11155:18;;;11148:30;11214:34;11194:18;;;11187:62;-1:-1:-1;;;11265:18:13;;;11258:43;11318:19;;3679:88:12::1;10934:409:13::0;3679:88:12::1;3796:15;:34:::0;;-1:-1:-1;;;;;;3796:34:12::1;-1:-1:-1::0;;;;;3796:34:12;;;::::1;::::0;;;::::1;::::0;;3571:266::o;4665:315::-;1531:13:0;:11;:13::i;:::-;4776:26:12;4768:68:::1;;;::::0;-1:-1:-1;;;4768:68:12;;11550:2:13;4768:68:12::1;::::0;::::1;11532:21:13::0;11589:2;11569:18;;;11562:30;11628:31;11608:18;;;11601:59;11677:18;;4768:68:12::1;11348:353:13::0;4768:68:12::1;4866:7;:18;4876:8:::0;;4866:7;:18:::1;:::i;:::-;-1:-1:-1::0;4894:16:12::1;:29:::0;;-1:-1:-1;;;;;;4894:29:12::1;::::0;;4939:34:::1;::::0;;-1:-1:-1;10134:25:13;;4962:10:12::1;10190:2:13::0;10175:18;;10168:34;4939::12::1;::::0;10107:18:13;4939:34:12::1;;;;;;;4665:315:::0;;:::o;2518:93:2:-;2565:13;2597:7;2590:14;;;;;:::i;3718:144::-;3803:52;735:10:6;3836:8:2;3846;3803:18;:52::i;4985:208::-;5098:31;5111:4;5117:2;5121:7;5098:12;:31::i;:::-;5139:47;5162:4;5168:2;5172:7;5181:4;5139:22;:47::i;5758:443:12:-;5823:13;5848:22;5862:7;5848:13;:22::i;:::-;;5909:1;5891:7;5885:21;;;;;:::i;:::-;;;:25;5881:132;;;5957:7;5966:25;5983:7;5966:16;:25::i;:::-;5940:61;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5926:76;;5758:443;;;:::o;5881:132::-;6035:16;;-1:-1:-1;;;;;6035:16:12;6027:39;6023:128;;6105:16;;6089:51;;-1:-1:-1;;;6089:51:12;;;;;2370:25:13;;;-1:-1:-1;;;;;6105:16:12;;;;6089:42;;2343:18:13;;6089:51:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6089:51:12;;;;;;;;;;;;:::i;6023:128::-;6161:33;;-1:-1:-1;;;6161:33:12;;14911:2:13;6161:33:12;;;14893:21:13;14950:2;14930:18;;;14923:30;14989:25;14969:18;;;14962:53;15032:18;;6161:33:12;14709:347:13;3928:153:2;-1:-1:-1;;;;;4039:25:2;;;4016:4;4039:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;3928:153::o;2882:363:12:-;2032:6;;-1:-1:-1;;;;;2032:6:12;2018:10;:20;2014:45;;2047:12;;-1:-1:-1;;;2047:12:12;;;;;;;;;;;2014:45;2993:1:::1;2983:7;:11;:34;;;;;3007:10;2998:5;:19;;2983:34;2975:66;;;::::0;-1:-1:-1;;;2975:66:12;;15263:2:13;2975:66:12::1;::::0;::::1;15245:21:13::0;15302:2;15282:18;;;15275:30;-1:-1:-1;;;15321:18:13;;;15314:49;15380:18;;2975:66:12::1;15061:343:13::0;2975:66:12::1;3070:5;3059:7;:16;;3051:74;;;::::0;-1:-1:-1;;;3051:74:12;;15611:2:13;3051:74:12::1;::::0;::::1;15593:21:13::0;15650:2;15630:18;;;15623:30;15689:34;15669:18;;;15662:62;-1:-1:-1;;;15740:18:13;;;15733:43;15793:19;;3051:74:12::1;15409:409:13::0;3051:74:12::1;3159:7:::0;3136:103:::1;3179:5;3168:7;:16;3136:103;;3211:17;3216:2;3220:7;3211:4;:17::i;:::-;3186:9:::0;::::1;::::0;::::1;:::i;:::-;;;;3136:103;;3943:439:::0;1531:13:0;:11;:13::i;:::-;4089:19:12::1;4112:1;4089:24:::0;4081:73:::1;;;::::0;-1:-1:-1;;;4081:73:12;;16297:2:13;4081:73:12::1;::::0;::::1;16279:21:13::0;16336:2;16316:18;;;16309:30;16375:34;16355:18;;;16348:62;-1:-1:-1;;;16426:18:13;;;16419:34;16470:19;;4081:73:12::1;16095:400:13::0;4081:73:12::1;4192:19;4172:16;:39;;4164:98;;;::::0;-1:-1:-1;;;4164:98:12;;16702:2:13;4164:98:12::1;::::0;::::1;16684:21:13::0;16741:2;16721:18;;;16714:30;16780:34;16760:18;;;16753:62;-1:-1:-1;;;16831:18:13;;;16824:44;16885:19;;4164:98:12::1;16500:410:13::0;4164:98:12::1;4291:15;:34:::0;;;;4335:18:::1;:40:::0;3943:439::o;2543:215:0:-;1531:13;:11;:13::i;:::-;-1:-1:-1;;;;;2627:22:0;::::1;2623:91;;2672:31;::::0;-1:-1:-1;;;2672:31:0;;2700:1:::1;2672:31;::::0;::::1;1257:51:13::0;1230:18;;2672:31:0::1;1111:203:13::0;2623:91:0::1;2723:28;2742:8;2723:18;:28::i;:::-;2543:215:::0;:::o;3371:88:12:-;1531:13:0;:11;:13::i;:::-;3436:6:12::1;:16:::0;;-1:-1:-1;;;;;;3436:16:12::1;-1:-1:-1::0;;;;;3436:16:12;;;::::1;::::0;;;::::1;::::0;;3371:88::o;16138:241:2:-;16201:7;5799:16;;;:7;:16;;;;;;-1:-1:-1;;;;;5799:16:2;;16263:88;;16309:31;;-1:-1:-1;;;16309:31:2;;;;;2370:25:13;;;2343:18;;16309:31:2;2224:177:13;14418:120:2;14498:33;14507:2;14511:7;14520:4;14526;14498:8;:33::i;1796:162:0:-;735:10:6;1855:7:0;:5;:7::i;:::-;-1:-1:-1;;;;;1855:23:0;;1851:101;;1901:40;;-1:-1:-1;;;1901:40:0;;735:10:6;1901:40:0;;;1257:51:13;1230:18;;1901:40:0;1111:203:13;8838:795:2;8924:7;5799:16;;;:7;:16;;;;;;-1:-1:-1;;;;;5799:16:2;;;;9035:18;;;9031:86;;9069:37;9086:4;9092;9098:7;9069:16;:37::i;:::-;-1:-1:-1;;;;;9161:18:2;;;9157:256;;9277:48;9294:1;9298:7;9315:1;9319:5;9277:8;:48::i;:::-;-1:-1:-1;;;;;9368:15:2;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;9368:20:2;;;9157:256;-1:-1:-1;;;;;9427:16:2;;;9423:107;;-1:-1:-1;;;;;9487:13:2;;;;;;:9;:13;;;;;:18;;9504:1;9487:18;;;9423:107;9540:16;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9540:21:2;-1:-1:-1;;;;;9540:21:2;;;;;;;;;9577:27;;9540:16;;9577:27;;;;;;;9622:4;-1:-1:-1;8838:795:2;;;;;;:::o;8051:302:10:-;8152:7;8171:14;8188:25;8195:1;8198;8201:11;8188:6;:25::i;:::-;8171:42;;8227:26;8244:8;8227:16;:26::i;:::-;:59;;;;;8285:1;8270:11;8257:25;;;;;:::i;:::-;8267:1;8264;8257:25;:29;8227:59;8223:101;;;8302:11;8312:1;8302:11;;:::i;:::-;;;8223:101;8340:6;8051:302;-1:-1:-1;;;;;8051:302:10:o;9955:327:2:-;-1:-1:-1;;;;;10022:16:2;;10018:87;;10061:33;;-1:-1:-1;;;10061:33:2;;10091:1;10061:33;;;1257:51:13;1230:18;;10061:33:2;1111:203:13;10018:87:2;10114:21;10138:32;10146:2;10150:7;10167:1;10138:7;:32::i;:::-;10114:56;-1:-1:-1;;;;;;10184:27:2;;;10180:96;;10234:31;;-1:-1:-1;;;10234:31:2;;10262:1;10234:31;;;1257:51:13;1230:18;;10234:31:2;1111:203:13;2912:187:0;3004:6;;;-1:-1:-1;;;;;3020:17:0;;;-1:-1:-1;;;;;;3020:17:0;;;;;;;3052:40;;3004:6;;;3020:17;3004:6;;3052:40;;2985:16;;3052:40;2975:124;2912:187;:::o;15591:312:2:-;-1:-1:-1;;;;;15698:22:2;;15694:91;;15743:31;;-1:-1:-1;;;15743:31:2;;-1:-1:-1;;;;;1275:32:13;;15743:31:2;;;1257:51:13;1230:18;;15743:31:2;1111:203:13;15694:91:2;-1:-1:-1;;;;;15794:25:2;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;15794:46:2;;;;;;;;;;15855:41;;540::13;;;15855::2;;513:18:13;15855:41:2;;;;;;;15591:312;;;:::o;16918:782::-;-1:-1:-1;;;;;17034:14:2;;;:18;17030:664;;17072:71;;-1:-1:-1;;;17072:71:2;;-1:-1:-1;;;;;17072:36:2;;;;;:71;;735:10:6;;17123:4:2;;17129:7;;17138:4;;17072:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17072:71:2;;;;;;;;-1:-1:-1;;17072:71:2;;;;;;;;;;;;:::i;:::-;;;17068:616;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17381:6;:13;17398:1;17381:18;17377:293;;17430:25;;-1:-1:-1;;;17430:25:2;;-1:-1:-1;;;;;1275:32:13;;17430:25:2;;;1257:51:13;1230:18;;17430:25:2;1111:203:13;17377:293:2;17622:6;17616:13;17607:6;17603:2;17599:15;17592:38;17068:616;-1:-1:-1;;;;;;17190:51:2;;-1:-1:-1;;;17190:51:2;17186:130;;17272:25;;-1:-1:-1;;;17272:25:2;;-1:-1:-1;;;;;1275:32:13;;17272:25:2;;;1257:51:13;1230:18;;17272:25:2;1111:203:13;17186:130:2;17144:186;16918:782;;;;:::o;637:698:7:-;693:13;742:14;759:17;770:5;759:10;:17::i;:::-;779:1;759:21;742:38;;794:20;828:6;817:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:18:7;-1:-1:-1;794:41:7;-1:-1:-1;955:28:7;;;971:2;955:28;1010:282;-1:-1:-1;;1041:5:7;-1:-1:-1;;;1175:2:7;1164:14;;1159:32;1041:5;1146:46;1236:2;1227:11;;;-1:-1:-1;1256:21:7;1010:282;1256:21;-1:-1:-1;1312:6:7;637:698;-1:-1:-1;;;637:698:7:o;14720:662:2:-;14880:9;:31;;;-1:-1:-1;;;;;;14893:18:2;;;;14880:31;14876:460;;;14927:13;14943:22;14957:7;14943:13;:22::i;:::-;14927:38;-1:-1:-1;;;;;;15093:18:2;;;;;;:35;;;15124:4;-1:-1:-1;;;;;15115:13:2;:5;-1:-1:-1;;;;;15115:13:2;;;15093:35;:69;;;;;15133:29;15150:5;15157:4;15133:16;:29::i;:::-;15132:30;15093:69;15089:142;;;15189:27;;-1:-1:-1;;;15189:27:2;;-1:-1:-1;;;;;1275:32:13;;15189:27:2;;;1257:51:13;1230:18;;15189:27:2;1111:203:13;15089:142:2;15249:9;15245:81;;;15303:7;15299:2;-1:-1:-1;;;;;15283:28:2;15292:5;-1:-1:-1;;;;;15283:28:2;;;;;;;;;;;15245:81;14913:423;14876:460;-1:-1:-1;;15346:24:2;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;15346:29:2;-1:-1:-1;;;;;15346:29:2;;;;;;;;;;14720:662::o;7082:368::-;7194:38;7208:5;7215:7;7224;7194:13;:38::i;:::-;7189:255;;-1:-1:-1;;;;;7252:19:2;;7248:186;;7298:31;;-1:-1:-1;;;7298:31:2;;;;;2370:25:13;;;2343:18;;7298:31:2;2224:177:13;7248:186:2;7375:44;;-1:-1:-1;;;7375:44:2;;-1:-1:-1;;;;;3328:32:13;;7375:44:2;;;3310:51:13;3377:18;;;3370:34;;;3283:18;;7375:44:2;3136:274:13;3803:4116:10;3885:14;4248:5;;;3885:14;-1:-1:-1;;4252:1:10;4248;4420:20;4493:5;4489:2;4486:13;4478:5;4474:2;4470:14;4466:34;4457:43;;;4595:5;4604:1;4595:10;4591:368;;4933:11;4925:5;:19;;;;;:::i;:::-;;4918:26;;;;;;4591:368;5080:5;5065:11;:20;5061:88;;5112:22;;-1:-1:-1;;;5112:22:10;;;;;;;;;;;5061:88;5404:17;5539:11;5536:1;5533;5526:25;5939:12;5969:15;;;5954:31;;6088:22;;;;;6813:1;6794;:15;;6793:21;;7046;;;7042:25;;7031:36;7115:21;;;7111:25;;7100:36;7185:21;;;7181:25;;7170:36;7255:21;;;7251:25;;7240:36;7325:21;;;7321:25;;7310:36;7396:21;;;7392:25;;;7381:36;6333:12;;;;6329:23;;;6354:1;6325:31;5653:20;;;5642:32;;;6445:12;;;;5700:21;;;;6186:16;;;;6436:21;;;;7860:15;;;;;-1:-1:-1;;3803:4116:10;;;;;:::o;14993:122::-;15061:4;15102:1;15090:8;15084:15;;;;;;;;:::i;:::-;:19;;;;:::i;:::-;:24;;15107:1;15084:24;15077:31;;14993:122;;;:::o;12214:916::-;12267:7;;-1:-1:-1;;;12342:17:10;;12338:103;;-1:-1:-1;;;12379:17:10;;;-1:-1:-1;12424:2:10;12414:12;12338:103;12467:8;12458:5;:17;12454:103;;12504:8;12495:17;;;-1:-1:-1;12540:2:10;12530:12;12454:103;12583:8;12574:5;:17;12570:103;;12620:8;12611:17;;;-1:-1:-1;12656:2:10;12646:12;12570:103;12699:7;12690:5;:16;12686:100;;12735:7;12726:16;;;-1:-1:-1;12770:1:10;12760:11;12686:100;12812:7;12803:5;:16;12799:100;;12848:7;12839:16;;;-1:-1:-1;12883:1:10;12873:11;12799:100;12925:7;12916:5;:16;12912:100;;12961:7;12952:16;;;-1:-1:-1;12996:1:10;12986:11;12912:100;13038:7;13029:5;:16;13025:66;;13075:1;13065:11;13117:6;12214:916;-1:-1:-1;;12214:916:10:o;6376:272:2:-;6479:4;-1:-1:-1;;;;;6514:21:2;;;;;;:127;;;6561:7;-1:-1:-1;;;;;6552:16:2;:5;-1:-1:-1;;;;;6552:16:2;;:52;;;;6572:32;6589:5;6596:7;6572:16;:32::i;:::-;6552:88;;;-1:-1:-1;6008:7:2;6034:24;;;:15;:24;;;;;;-1:-1:-1;;;;;6608:32:2;;;6034:24;;6608:32;6552:88;6495:146;6376:272;-1:-1:-1;;;;6376:272:2:o;14:131:13:-;-1:-1:-1;;;;;;88:32:13;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:289::-;634:3;672:5;666:12;699:6;694:3;687:19;755:6;748:4;741:5;737:16;730:4;725:3;721:14;715:47;807:1;800:4;791:6;786:3;782:16;778:27;771:38;870:4;863:2;859:7;854:2;846:6;842:15;838:29;833:3;829:39;825:50;818:57;;;592:289;;;;:::o;886:220::-;1035:2;1024:9;1017:21;998:4;1055:45;1096:2;1085:9;1081:18;1073:6;1055:45;:::i;1319:226::-;1378:6;1431:2;1419:9;1410:7;1406:23;1402:32;1399:52;;;1447:1;1444;1437:12;1399:52;-1:-1:-1;1492:23:13;;1319:226;-1:-1:-1;1319:226:13:o;1550:173::-;1618:20;;-1:-1:-1;;;;;1667:31:13;;1657:42;;1647:70;;1713:1;1710;1703:12;1647:70;1550:173;;;:::o;1728:300::-;1796:6;1804;1857:2;1845:9;1836:7;1832:23;1828:32;1825:52;;;1873:1;1870;1863:12;1825:52;1896:29;1915:9;1896:29;:::i;:::-;1886:39;1994:2;1979:18;;;;1966:32;;-1:-1:-1;;;1728:300:13:o;2033:186::-;2092:6;2145:2;2133:9;2124:7;2120:23;2116:32;2113:52;;;2161:1;2158;2151:12;2113:52;2184:29;2203:9;2184:29;:::i;2406:374::-;2483:6;2491;2499;2552:2;2540:9;2531:7;2527:23;2523:32;2520:52;;;2568:1;2565;2558:12;2520:52;2591:29;2610:9;2591:29;:::i;:::-;2581:39;;2639:38;2673:2;2662:9;2658:18;2639:38;:::i;:::-;2406:374;;2629:48;;-1:-1:-1;;;2746:2:13;2731:18;;;;2718:32;;2406:374::o;2785:346::-;2853:6;2861;2914:2;2902:9;2893:7;2889:23;2885:32;2882:52;;;2930:1;2927;2920:12;2882:52;-1:-1:-1;;2975:23:13;;;3095:2;3080:18;;;3067:32;;-1:-1:-1;2785:346:13:o;3415:587::-;3486:6;3494;3547:2;3535:9;3526:7;3522:23;3518:32;3515:52;;;3563:1;3560;3553:12;3515:52;3603:9;3590:23;3636:18;3628:6;3625:30;3622:50;;;3668:1;3665;3658:12;3622:50;3691:22;;3744:4;3736:13;;3732:27;-1:-1:-1;3722:55:13;;3773:1;3770;3763:12;3722:55;3813:2;3800:16;3839:18;3831:6;3828:30;3825:50;;;3871:1;3868;3861:12;3825:50;3916:7;3911:2;3902:6;3898:2;3894:15;3890:24;3887:37;3884:57;;;3937:1;3934;3927:12;3884:57;3968:2;3960:11;;;;;3990:6;;-1:-1:-1;3415:587:13;-1:-1:-1;;;3415:587:13:o;4007:347::-;4072:6;4080;4133:2;4121:9;4112:7;4108:23;4104:32;4101:52;;;4149:1;4146;4139:12;4101:52;4172:29;4191:9;4172:29;:::i;:::-;4162:39;;4251:2;4240:9;4236:18;4223:32;4298:5;4291:13;4284:21;4277:5;4274:32;4264:60;;4320:1;4317;4310:12;4264:60;4343:5;4333:15;;;4007:347;;;;;:::o;4359:127::-;4420:10;4415:3;4411:20;4408:1;4401:31;4451:4;4448:1;4441:15;4475:4;4472:1;4465:15;4491:275;4562:2;4556:9;4627:2;4608:13;;-1:-1:-1;;4604:27:13;4592:40;;4662:18;4647:34;;4683:22;;;4644:62;4641:88;;;4709:18;;:::i;:::-;4745:2;4738:22;4491:275;;-1:-1:-1;4491:275:13:o;4771:186::-;4819:4;4852:18;4844:6;4841:30;4838:56;;;4874:18;;:::i;:::-;-1:-1:-1;4940:2:13;4919:15;-1:-1:-1;;4915:29:13;4946:4;4911:40;;4771:186::o;4962:958::-;5057:6;5065;5073;5081;5134:3;5122:9;5113:7;5109:23;5105:33;5102:53;;;5151:1;5148;5141:12;5102:53;5174:29;5193:9;5174:29;:::i;:::-;5164:39;;5222:38;5256:2;5245:9;5241:18;5222:38;:::i;:::-;5212:48;-1:-1:-1;5329:2:13;5314:18;;5301:32;;-1:-1:-1;5408:2:13;5393:18;;5380:32;5435:18;5424:30;;5421:50;;;5467:1;5464;5457:12;5421:50;5490:22;;5543:4;5535:13;;5531:27;-1:-1:-1;5521:55:13;;5572:1;5569;5562:12;5521:55;5612:2;5599:16;5637:52;5653:35;5681:6;5653:35;:::i;:::-;5637:52;:::i;:::-;5712:6;5705:5;5698:21;5760:7;5755:2;5746:6;5742:2;5738:15;5734:24;5731:37;5728:57;;;5781:1;5778;5771:12;5728:57;5836:6;5831:2;5827;5823:11;5818:2;5811:5;5807:14;5794:49;5888:1;5883:2;5874:6;5867:5;5863:18;5859:27;5852:38;5909:5;5899:15;;;;;4962:958;;;;;;;:::o;5925:260::-;5993:6;6001;6054:2;6042:9;6033:7;6029:23;6025:32;6022:52;;;6070:1;6067;6060:12;6022:52;6093:29;6112:9;6093:29;:::i;:::-;6083:39;;6141:38;6175:2;6164:9;6160:18;6141:38;:::i;6190:420::-;6267:6;6275;6283;6336:2;6324:9;6315:7;6311:23;6307:32;6304:52;;;6352:1;6349;6342:12;6304:52;6375:29;6394:9;6375:29;:::i;:::-;6365:39;6473:2;6458:18;;6445:32;;-1:-1:-1;6574:2:13;6559:18;;;6546:32;;6190:420;-1:-1:-1;;;6190:420:13:o;6615:380::-;6694:1;6690:12;;;;6737;;;6758:61;;6812:4;6804:6;6800:17;6790:27;;6758:61;6865:2;6857:6;6854:14;6834:18;6831:38;6828:161;;6911:10;6906:3;6902:20;6899:1;6892:31;6946:4;6943:1;6936:15;6974:4;6971:1;6964:15;6828:161;;6615:380;;;:::o;7954:518::-;8056:2;8051:3;8048:11;8045:421;;;8092:5;8089:1;8082:16;8136:4;8133:1;8123:18;8206:2;8194:10;8190:19;8187:1;8183:27;8177:4;8173:38;8242:4;8230:10;8227:20;8224:47;;;-1:-1:-1;8265:4:13;8224:47;8320:2;8315:3;8311:12;8308:1;8304:20;8298:4;8294:31;8284:41;;8375:81;8393:2;8386:5;8383:13;8375:81;;;8452:1;8438:16;;8419:1;8408:13;8375:81;;8648:1299;8774:3;8768:10;8801:18;8793:6;8790:30;8787:56;;;8823:18;;:::i;:::-;8852:97;8942:6;8902:38;8934:4;8928:11;8902:38;:::i;:::-;8896:4;8852:97;:::i;:::-;8998:4;9029:2;9018:14;;9046:1;9041:649;;;;9734:1;9751:6;9748:89;;;-1:-1:-1;9803:19:13;;;9797:26;9748:89;-1:-1:-1;;8605:1:13;8601:11;;;8597:24;8593:29;8583:40;8629:1;8625:11;;;8580:57;9850:81;;9011:930;;9041:649;7901:1;7894:14;;;7938:4;7925:18;;-1:-1:-1;;9077:20:13;;;9195:222;9209:7;9206:1;9203:14;9195:222;;;9291:19;;;9285:26;9270:42;;9398:4;9383:20;;;;9351:1;9339:14;;;;9225:12;9195:222;;;9199:3;9445:6;9436:7;9433:19;9430:201;;;9506:19;;;9500:26;-1:-1:-1;;9589:1:13;9585:14;;;9601:3;9581:24;9577:37;9573:42;9558:58;9543:74;;9430:201;-1:-1:-1;;;;9677:1:13;9661:14;;;9657:22;9644:36;;-1:-1:-1;8648:1299:13:o;11706:1198::-;11830:18;11825:3;11822:27;11819:53;;;11852:18;;:::i;:::-;11881:94;11971:3;11931:38;11963:4;11957:11;11931:38;:::i;:::-;11925:4;11881:94;:::i;:::-;12001:1;12026:2;12021:3;12018:11;12043:1;12038:608;;;;12690:1;12707:3;12704:93;;;-1:-1:-1;12763:19:13;;;12750:33;12704:93;-1:-1:-1;;8605:1:13;8601:11;;;8597:24;8593:29;8583:40;8629:1;8625:11;;;8580:57;12810:78;;12011:887;;12038:608;7901:1;7894:14;;;7938:4;7925:18;;-1:-1:-1;;12074:17:13;;;12189:229;12203:7;12200:1;12197:14;12189:229;;;12292:19;;;12279:33;12264:49;;12399:4;12384:20;;;;12352:1;12340:14;;;;12219:12;12189:229;;;12193:3;12446;12437:7;12434:16;12431:159;;;12570:1;12566:6;12560:3;12554;12551:1;12547:11;12543:21;12539:34;12535:39;12522:9;12517:3;12513:19;12500:33;12496:79;12488:6;12481:95;12431:159;;;12633:1;12627:3;12624:1;12620:11;12616:19;12610:4;12603:33;12011:887;;11706:1198;;;:::o;12909:1104::-;13186:3;13215:1;13248:6;13242:13;13278:36;13304:9;13278:36;:::i;:::-;13345:1;13330:17;;13356:133;;;;13503:1;13498:332;;;;13323:507;;13356:133;-1:-1:-1;;13389:24:13;;13377:37;;13462:14;;13455:22;13443:35;;13434:45;;;-1:-1:-1;13356:133:13;;13498:332;13529:6;13526:1;13519:17;13577:4;13574:1;13564:18;13604:1;13618:166;13632:6;13629:1;13626:13;13618:166;;;13712:14;;13699:11;;;13692:35;13768:1;13755:15;;;;13654:4;13647:12;13618:166;;;13622:3;;13813:6;13808:3;13804:16;13797:23;;13323:507;;;;13861:6;13855:13;13907:8;13900:4;13892:6;13888:17;13883:3;13877:39;-1:-1:-1;;;13935:18:13;;13962:19;;;14005:1;13997:10;;12909:1104;-1:-1:-1;;;;12909:1104:13:o;14018:686::-;14098:6;14151:2;14139:9;14130:7;14126:23;14122:32;14119:52;;;14167:1;14164;14157:12;14119:52;14200:9;14194:16;14233:18;14225:6;14222:30;14219:50;;;14265:1;14262;14255:12;14219:50;14288:22;;14341:4;14333:13;;14329:27;-1:-1:-1;14319:55:13;;14370:1;14367;14360:12;14319:55;14403:2;14397:9;14428:52;14444:35;14472:6;14444:35;:::i;14428:52::-;14503:6;14496:5;14489:21;14551:7;14546:2;14537:6;14533:2;14529:15;14525:24;14522:37;14519:57;;;14572:1;14569;14562:12;14519:57;14620:6;14615:2;14611;14607:11;14602:2;14595:5;14591:14;14585:42;14672:1;14647:18;;;14667:2;14643:27;14636:38;;;;14651:5;14018:686;-1:-1:-1;;;;14018:686:13:o;15823:127::-;15884:10;15879:3;15875:20;15872:1;15865:31;15915:4;15912:1;15905:15;15939:4;15936:1;15929:15;15955:135;15994:3;16015:17;;;16012:43;;16035:18;;:::i;:::-;-1:-1:-1;16082:1:13;16071:13;;15955:135::o;16915:127::-;16976:10;16971:3;16967:20;16964:1;16957:31;17007:4;17004:1;16997:15;17031:4;17028:1;17021:15;17047:125;17112:9;;;17133:10;;;17130:36;;;17146:18;;:::i;17177:485::-;-1:-1:-1;;;;;17408:32:13;;;17390:51;;17477:32;;17472:2;17457:18;;17450:60;17541:2;17526:18;;17519:34;;;17589:3;17584:2;17569:18;;17562:31;;;-1:-1:-1;;17610:46:13;;17636:19;;17628:6;17610:46;:::i;:::-;17602:54;17177:485;-1:-1:-1;;;;;;17177:485:13:o;17667:249::-;17736:6;17789:2;17777:9;17768:7;17764:23;17760:32;17757:52;;;17805:1;17802;17795:12;17757:52;17837:9;17831:16;17856:30;17880:5;17856:30;:::i;17921:127::-;17982:10;17977:3;17973:20;17970:1;17963:31;18013:4;18010:1;18003:15;18037:4;18034:1;18027:15;18053:254;18083:1;18117:4;18114:1;18110:12;18141:3;18131:134;;18187:10;18182:3;18178:20;18175:1;18168:31;18222:4;18219:1;18212:15;18250:4;18247:1;18240:15;18131:134;18297:3;18290:4;18287:1;18283:12;18279:22;18274:27;;;18053:254;;;;:::o
Swarm Source
ipfs://6f71949c0fe200ca029b3f7797d705d1b1651b6518d8ef198ffc9653a697eb2c
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.