ETH Price: $3,467.76 (+2.95%)
Gas: 3.9 Gwei

Latent Ink by Eko33 (LIEKO33)
 

Overview

TokenID

5

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x0876A196...B5ca5059c
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
DailyArtCollection

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 13 : art.sol
// 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
    }
}

File 2 of 13 : Math.sol
// 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;
    }
}

File 3 of 13 : ERC721.sol
// 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))
                    }
                }
            }
        }
    }
}

File 4 of 13 : Ownable.sol
// 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);
    }
}

File 5 of 13 : draft-IERC6093.sol
// 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);
}

File 6 of 13 : ERC165.sol
// 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;
    }
}

File 7 of 13 : Strings.sol
// 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));
    }
}

File 8 of 13 : Context.sol
// 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;
    }
}

File 9 of 13 : IERC721Metadata.sol
// 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);
}

File 10 of 13 : IERC721Receiver.sol
// 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);
}

File 11 of 13 : IERC721.sol
// 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);
}

File 12 of 13 : IERC165.sol
// 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);
}

File 13 of 13 : SignedMath.sol
// 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);
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "remappings": []
}

Contract Security Audit

Contract ABI

[{"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"}]

60a06040526064600b5534801562000015575f80fd5b506040516200241038038062002410833981016040819052620000389162000310565b3386865f6200004883826200045b565b5060016200005782826200045b565b5050506001600160a01b0381166200008957604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620000948162000201565b505f8311620000e65760405162461bcd60e51b815260206004820152601b60248201527f4d617820737570706c79206d757374206e6f74206265207a65726f0000000000604482015260640162000080565b6001600160a01b038216620001545760405162461bcd60e51b815260206004820152602d60248201527f526f79616c7479207265636569766572206d757374206e6f742062652074686560448201526c207a65726f206164647265737360981b606482015260840162000080565b6064811115620001be5760405162461bcd60e51b815260206004820152602e60248201527f526f79616c7479206672616374696f6e206d757374206e6f742062652067726560448201526d61746572207468616e203130302560901b606482015260840162000080565b6080839052600d620001d185826200045b565b50600780546001600160a01b0319166001600160a01b039390931692909217909155600a55506200052392505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011262000276575f80fd5b81516001600160401b038082111562000293576200029362000252565b604051601f8301601f19908116603f01168101908282118183101715620002be57620002be62000252565b81604052838152602092508683858801011115620002da575f80fd5b5f91505b83821015620002fd5785820183015181830184015290820190620002de565b5f93810190920192909252949350505050565b5f805f805f8060c0878903121562000326575f80fd5b86516001600160401b03808211156200033d575f80fd5b6200034b8a838b0162000266565b9750602089015191508082111562000361575f80fd5b6200036f8a838b0162000266565b9650604089015191508082111562000385575f80fd5b506200039489828a0162000266565b606089015160808a0151919650945090506001600160a01b0381168114620003ba575f80fd5b8092505060a087015190509295509295509295565b600181811c90821680620003e457607f821691505b6020821081036200040357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000456575f81815260208120601f850160051c81016020861015620004315750805b601f850160051c820191505b8181101562000452578281556001016200043d565b5050505b505050565b81516001600160401b0381111562000477576200047762000252565b6200048f81620004888454620003cf565b8462000409565b602080601f831160018114620004c5575f8415620004ad5750858301515b5f19600386901b1c1916600185901b17855562000452565b5f85815260208120601f198616915b82811015620004f557888601518255948401946001909101908401620004d4565b50858210156200051357878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b608051611ebf620005515f395f81816106d10152818161081101528181610ac20152610cc40152611ebf5ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c8063715018a611610109578063c87b56dd1161009e578063ecededad1161006e578063ecededad146103ff578063f2fde38b14610412578063fca3b5aa14610425578063fd8d7ed314610438575f80fd5b8063c87b56dd146103bd578063e7dee99f146103d0578063e985e9c5146103d9578063ea8876fa146103ec575f80fd5b806395d89b41116100d957806395d89b411461037c5780639fbc871314610384578063a22cb46514610397578063b88d4fde146103aa575f80fd5b8063715018a6146103465780638da5cb5b1461034e5780638dc251e314610356578063931688cb14610369575f80fd5b806323b872dd1161017f57806342842e0e1161014f57806342842e0e146103055780636352211e146103185780636c0360eb1461032b57806370a0823114610333575f80fd5b806323b872dd1461029a5780632a55205a146102ad57806335209821146102df57806340c10f19146102f2575f80fd5b8063081812fc116101ba578063081812fc14610248578063095ea7b31461025b578063113b98e01461027057806318160ddd14610283575f80fd5b806301ffc9a7146101e057806306fdde0314610208578063075461721461021d575b5f80fd5b6101f36101ee366004611753565b610441565b60405190151581526020015b60405180910390f35b6102106104e3565b6040516101ff91906117bb565b600854610230906001600160a01b031681565b6040516001600160a01b0390911681526020016101ff565b6102306102563660046117cd565b610572565b61026e6102693660046117ff565b610599565b005b61026e61027e366004611827565b6105a8565b61028c600c5481565b6040519081526020016101ff565b61026e6102a8366004611840565b610723565b6102c06102bb366004611879565b6107ac565b604080516001600160a01b0390931683526020830191909152016101ff565b600954610230906001600160a01b031681565b61026e6103003660046117ff565b6107da565b61026e610313366004611840565b61088a565b6102306103263660046117cd565b6108a9565b6102106108b3565b61028c610341366004611827565b61093f565b61026e610984565b610230610997565b61026e610364366004611827565b6109af565b61026e610377366004611899565b610a45565b610210610b15565b600754610230906001600160a01b031681565b61026e6103a5366004611905565b610b24565b61026e6103b83660046119aa565b610b2f565b6102106103cb3660046117cd565b610b46565b61028c600a5481565b6101f36103e7366004611a4e565b610c60565b61026e6103fa366004611a76565b610c8d565b61026e61040d366004611879565b610db4565b61026e610420366004611827565b610e89565b61026e610433366004611827565b610ec6565b61028c600b5481565b5f6380ac58cd60e01b6001600160e01b0319831614806104715750635b5e139f60e01b6001600160e01b03198316145b8061048c575063152a902d60e11b6001600160e01b03198316145b806104a75750632483248360e11b6001600160e01b03198316145b806104c257506307f5828d60e41b6001600160e01b03198316145b806104dd57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60605f80546104f190611aa6565b80601f016020809104026020016040519081016040528092919081815260200182805461051d90611aa6565b80156105685780601f1061053f57610100808354040283529160200191610568565b820191905f5260205f20905b81548152906001019060200180831161054b57829003601f168201915b5050505050905090565b5f61057c82610ef0565b505f828152600460205260409020546001600160a01b03166104dd565b6105a4828233610f28565b5050565b6105b0610f35565b6001600160a01b0381166106265760405162461bcd60e51b815260206004820152603260248201527f4e6577206d657461646174612064656c6567617465206d757374206e6f7420626044820152716520746865207a65726f206164647265737360701b60648201526084015b60405180910390fd5b5f816001600160a01b03163b116106905760405162461bcd60e51b815260206004820152602860248201527f4e6577206d657461646174612064656c6567617465206d75737420626520612060448201526718dbdb9d1c9858dd60c21b606482015260840161061d565b60408051602081019091525f8152600d906106ab9082611b2b565b50600980546001600160a01b0319166001600160a01b03831617905560408051600181527f000000000000000000000000000000000000000000000000000000000000000060208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a150565b6001600160a01b03821661074c57604051633250574960e11b81525f600482015260240161061d565b5f610758838333610f67565b9050836001600160a01b0316816001600160a01b0316146107a6576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161061d565b50505050565b600754600a54600b546001600160a01b03909216915f916107d191859190600161105b565b90509250929050565b6008546001600160a01b0316331461080557604051639cdc2ed560e01b815260040160405180910390fd5b5f8111801561083457507f00000000000000000000000000000000000000000000000000000000000000008111155b6108735760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a59081d1bdad95b88125160821b604482015260640161061d565b61087d82826110aa565b5050600c80546001019055565b6108a483838360405180602001604052805f815250610b2f565b505050565b5f6104dd82610ef0565b600d80546108c090611aa6565b80601f01602080910402602001604051908101604052809291908181526020018280546108ec90611aa6565b80156109375780601f1061090e57610100808354040283529160200191610937565b820191905f5260205f20905b81548152906001019060200180831161091a57829003601f168201915b505050505081565b5f6001600160a01b038216610969576040516322718ad960e21b81525f600482015260240161061d565b506001600160a01b03165f9081526003602052604090205490565b61098c610f35565b6109955f61110b565b565b5f6109aa6006546001600160a01b031690565b905090565b6109b7610f35565b6001600160a01b038116610a235760405162461bcd60e51b815260206004820152602d60248201527f526f79616c7479207265636569766572206d757374206e6f742062652074686560448201526c207a65726f206164647265737360981b606482015260840161061d565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b610a4d610f35565b80610a9a5760405162461bcd60e51b815260206004820152601d60248201527f4e6577206261736520555249206d7573742062652070726f7669646564000000604482015260640161061d565b600d610aa7828483611be7565b50600980546001600160a01b031916905560408051600181527f000000000000000000000000000000000000000000000000000000000000000060208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a15050565b6060600180546104f190611aa6565b6105a433838361115c565b610b3a848484610723565b6107a6848484846111fa565b6060610b5182610ef0565b505f600d8054610b6090611aa6565b90501115610b9a57600d610b7383611320565b604051602001610b84929190611ca2565b6040516020818303038152906040529050919050565b6009546001600160a01b031615610c185760095460405163c87b56dd60e01b8152600481018490526001600160a01b039091169063c87b56dd906024015f60405180830381865afa158015610bf1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104dd9190810190611d35565b60405162461bcd60e51b815260206004820152601760248201527f746f6b656e555249206e6f7420636f6e66696775726564000000000000000000604482015260640161061d565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314610cb857604051639cdc2ed560e01b815260040160405180910390fd5b5f82118015610ce757507f00000000000000000000000000000000000000000000000000000000000000008111155b610d295760405162461bcd60e51b8152602060048201526013602482015272496e76616c696420746f6b656e2072616e676560681b604482015260640161061d565b80821115610d8f5760405162461bcd60e51b815260206004820152602d60248201527f5374617274204944206d757374206265206c657373207468616e206f7220657160448201526c1d585b081d1bc8195b99081251609a1b606482015260840161061d565b815b8181116107a657610da284826107da565b80610dac81611db2565b915050610d91565b610dbc610f35565b805f03610e175760405162461bcd60e51b8152602060048201526024808201527f526f79616c74792064656e6f6d696e61746f72206d757374206e6f74206265206044820152637a65726f60e01b606482015260840161061d565b80821115610e7e5760405162461bcd60e51b815260206004820152602e60248201527f526f79616c7479206672616374696f6e206d757374206e6f742062652067726560448201526d61746572207468616e203130302560901b606482015260840161061d565b600a91909155600b55565b610e91610f35565b6001600160a01b038116610eba57604051631e4fbdf760e01b81525f600482015260240161061d565b610ec38161110b565b50565b610ece610f35565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b5f818152600260205260408120546001600160a01b0316806104dd57604051637e27328960e01b81526004810184905260240161061d565b6108a483838360016113b0565b33610f3e610997565b6001600160a01b0316146109955760405163118cdaa760e01b815233600482015260240161061d565b5f828152600260205260408120546001600160a01b0390811690831615610f9357610f938184866114b4565b6001600160a01b03811615610fcd57610fae5f855f806113b0565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b03851615610ffb576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a490505b9392505050565b5f80611068868686611518565b9050611073836115d7565b801561108e57505f848061108957611089611dca565b868809115b156110a15761109e600182611dde565b90505b95945050505050565b6001600160a01b0382166110d357604051633250574960e11b81525f600482015260240161061d565b5f6110df83835f610f67565b90506001600160a01b038116156108a4576040516339e3563760e11b81525f600482015260240161061d565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03821661118e57604051630b61174360e31b81526001600160a01b038316600482015260240161061d565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156107a657604051630a85bd0160e11b81526001600160a01b0384169063150b7a029061123c903390889087908790600401611df1565b6020604051808303815f875af1925050508015611276575060408051601f3d908101601f1916820190925261127391810190611e2d565b60015b6112dd573d8080156112a3576040519150601f19603f3d011682016040523d82523d5f602084013e6112a8565b606091505b5080515f036112d557604051633250574960e11b81526001600160a01b038516600482015260240161061d565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b1461131957604051633250574960e11b81526001600160a01b038516600482015260240161061d565b5050505050565b60605f61132c83611603565b60010190505f8167ffffffffffffffff81111561134b5761134b61193e565b6040519080825280601f01601f191660200182016040528015611375576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461137f57509392505050565b80806113c457506001600160a01b03821615155b15611485575f6113d384610ef0565b90506001600160a01b038316158015906113ff5750826001600160a01b0316816001600160a01b031614155b801561141257506114108184610c60565b155b1561143b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161061d565b81156114835783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b6114bf8383836116da565b6108a4576001600160a01b0383166114ed57604051637e27328960e01b81526004810182905260240161061d565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161061d565b5f838302815f1985870982811083820303915050805f0361154c5783828161154257611542611dca565b0492505050611054565b80841161156c5760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f60028260038111156115ec576115ec611e48565b6115f69190611e5c565b60ff166001149050919050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116415772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061166d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061168b57662386f26fc10000830492506010015b6305f5e10083106116a3576305f5e100830492506008015b61271083106116b757612710830492506004015b606483106116c9576064830492506002015b600a83106104dd5760010192915050565b5f6001600160a01b038316158015906117365750826001600160a01b0316846001600160a01b0316148061171357506117138484610c60565b8061173657505f828152600460205260409020546001600160a01b038481169116145b949350505050565b6001600160e01b031981168114610ec3575f80fd5b5f60208284031215611763575f80fd5b81356110548161173e565b5f5b83811015611788578181015183820152602001611770565b50505f910152565b5f81518084526117a781602086016020860161176e565b601f01601f19169290920160200192915050565b602081525f6110546020830184611790565b5f602082840312156117dd575f80fd5b5035919050565b80356001600160a01b03811681146117fa575f80fd5b919050565b5f8060408385031215611810575f80fd5b611819836117e4565b946020939093013593505050565b5f60208284031215611837575f80fd5b611054826117e4565b5f805f60608486031215611852575f80fd5b61185b846117e4565b9250611869602085016117e4565b9150604084013590509250925092565b5f806040838503121561188a575f80fd5b50508035926020909101359150565b5f80602083850312156118aa575f80fd5b823567ffffffffffffffff808211156118c1575f80fd5b818501915085601f8301126118d4575f80fd5b8135818111156118e2575f80fd5b8660208285010111156118f3575f80fd5b60209290920196919550909350505050565b5f8060408385031215611916575f80fd5b61191f836117e4565b915060208301358015158114611933575f80fd5b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561197b5761197b61193e565b604052919050565b5f67ffffffffffffffff82111561199c5761199c61193e565b50601f01601f191660200190565b5f805f80608085870312156119bd575f80fd5b6119c6856117e4565b93506119d4602086016117e4565b925060408501359150606085013567ffffffffffffffff8111156119f6575f80fd5b8501601f81018713611a06575f80fd5b8035611a19611a1482611983565b611952565b818152886020838501011115611a2d575f80fd5b816020840160208301375f6020838301015280935050505092959194509250565b5f8060408385031215611a5f575f80fd5b611a68836117e4565b91506107d1602084016117e4565b5f805f60608486031215611a88575f80fd5b611a91846117e4565b95602085013595506040909401359392505050565b600181811c90821680611aba57607f821691505b602082108103611ad857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156108a4575f81815260208120601f850160051c81016020861015611b045750805b601f850160051c820191505b81811015611b2357828155600101611b10565b505050505050565b815167ffffffffffffffff811115611b4557611b4561193e565b611b5981611b538454611aa6565b84611ade565b602080601f831160018114611b8c575f8415611b755750858301515b5f19600386901b1c1916600185901b178555611b23565b5f85815260208120601f198616915b82811015611bba57888601518255948401946001909101908401611b9b565b5085821015611bd757878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b67ffffffffffffffff831115611bff57611bff61193e565b611c1383611c0d8354611aa6565b83611ade565b5f601f841160018114611c44575f8515611c2d5750838201355b5f19600387901b1c1916600186901b178355611319565b5f83815260209020601f19861690835b82811015611c745786850135825560209485019460019092019101611c54565b5086821015611c90575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b5f808454611caf81611aa6565b60018281168015611cc75760018114611cdc57611d08565b60ff1984168752821515830287019450611d08565b885f526020805f205f5b85811015611cff5781548a820152908401908201611ce6565b50505082870194505b505050508351611d1c81836020880161176e565b64173539b7b760d91b9101908152600501949350505050565b5f60208284031215611d45575f80fd5b815167ffffffffffffffff811115611d5b575f80fd5b8201601f81018413611d6b575f80fd5b8051611d79611a1482611983565b818152856020838501011115611d8d575f80fd5b6110a182602083016020860161176e565b634e487b7160e01b5f52601160045260245ffd5b5f60018201611dc357611dc3611d9e565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b808201808211156104dd576104dd611d9e565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611e2390830184611790565b9695505050505050565b5f60208284031215611e3d575f80fd5b81516110548161173e565b634e487b7160e01b5f52602160045260245ffd5b5f60ff831680611e7a57634e487b7160e01b5f52601260045260245ffd5b8060ff8416069150509291505056fea2646970667358221220e75958725346e7312ff4210297a6983114bfa6505ceddf59e6cb30f9fdb497a364736f6c6343000815003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000dffcf2162fd04005cde705d02e0acf98000d5825000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000164455434b2062792052616368656c204d61636c65616e0000000000000000000000000000000000000000000000000000000000000000000000000000000000044455434b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c8063715018a611610109578063c87b56dd1161009e578063ecededad1161006e578063ecededad146103ff578063f2fde38b14610412578063fca3b5aa14610425578063fd8d7ed314610438575f80fd5b8063c87b56dd146103bd578063e7dee99f146103d0578063e985e9c5146103d9578063ea8876fa146103ec575f80fd5b806395d89b41116100d957806395d89b411461037c5780639fbc871314610384578063a22cb46514610397578063b88d4fde146103aa575f80fd5b8063715018a6146103465780638da5cb5b1461034e5780638dc251e314610356578063931688cb14610369575f80fd5b806323b872dd1161017f57806342842e0e1161014f57806342842e0e146103055780636352211e146103185780636c0360eb1461032b57806370a0823114610333575f80fd5b806323b872dd1461029a5780632a55205a146102ad57806335209821146102df57806340c10f19146102f2575f80fd5b8063081812fc116101ba578063081812fc14610248578063095ea7b31461025b578063113b98e01461027057806318160ddd14610283575f80fd5b806301ffc9a7146101e057806306fdde0314610208578063075461721461021d575b5f80fd5b6101f36101ee366004611753565b610441565b60405190151581526020015b60405180910390f35b6102106104e3565b6040516101ff91906117bb565b600854610230906001600160a01b031681565b6040516001600160a01b0390911681526020016101ff565b6102306102563660046117cd565b610572565b61026e6102693660046117ff565b610599565b005b61026e61027e366004611827565b6105a8565b61028c600c5481565b6040519081526020016101ff565b61026e6102a8366004611840565b610723565b6102c06102bb366004611879565b6107ac565b604080516001600160a01b0390931683526020830191909152016101ff565b600954610230906001600160a01b031681565b61026e6103003660046117ff565b6107da565b61026e610313366004611840565b61088a565b6102306103263660046117cd565b6108a9565b6102106108b3565b61028c610341366004611827565b61093f565b61026e610984565b610230610997565b61026e610364366004611827565b6109af565b61026e610377366004611899565b610a45565b610210610b15565b600754610230906001600160a01b031681565b61026e6103a5366004611905565b610b24565b61026e6103b83660046119aa565b610b2f565b6102106103cb3660046117cd565b610b46565b61028c600a5481565b6101f36103e7366004611a4e565b610c60565b61026e6103fa366004611a76565b610c8d565b61026e61040d366004611879565b610db4565b61026e610420366004611827565b610e89565b61026e610433366004611827565b610ec6565b61028c600b5481565b5f6380ac58cd60e01b6001600160e01b0319831614806104715750635b5e139f60e01b6001600160e01b03198316145b8061048c575063152a902d60e11b6001600160e01b03198316145b806104a75750632483248360e11b6001600160e01b03198316145b806104c257506307f5828d60e41b6001600160e01b03198316145b806104dd57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60605f80546104f190611aa6565b80601f016020809104026020016040519081016040528092919081815260200182805461051d90611aa6565b80156105685780601f1061053f57610100808354040283529160200191610568565b820191905f5260205f20905b81548152906001019060200180831161054b57829003601f168201915b5050505050905090565b5f61057c82610ef0565b505f828152600460205260409020546001600160a01b03166104dd565b6105a4828233610f28565b5050565b6105b0610f35565b6001600160a01b0381166106265760405162461bcd60e51b815260206004820152603260248201527f4e6577206d657461646174612064656c6567617465206d757374206e6f7420626044820152716520746865207a65726f206164647265737360701b60648201526084015b60405180910390fd5b5f816001600160a01b03163b116106905760405162461bcd60e51b815260206004820152602860248201527f4e6577206d657461646174612064656c6567617465206d75737420626520612060448201526718dbdb9d1c9858dd60c21b606482015260840161061d565b60408051602081019091525f8152600d906106ab9082611b2b565b50600980546001600160a01b0319166001600160a01b03831617905560408051600181527f000000000000000000000000000000000000000000000000000000000000001e60208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a150565b6001600160a01b03821661074c57604051633250574960e11b81525f600482015260240161061d565b5f610758838333610f67565b9050836001600160a01b0316816001600160a01b0316146107a6576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161061d565b50505050565b600754600a54600b546001600160a01b03909216915f916107d191859190600161105b565b90509250929050565b6008546001600160a01b0316331461080557604051639cdc2ed560e01b815260040160405180910390fd5b5f8111801561083457507f000000000000000000000000000000000000000000000000000000000000001e8111155b6108735760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a59081d1bdad95b88125160821b604482015260640161061d565b61087d82826110aa565b5050600c80546001019055565b6108a483838360405180602001604052805f815250610b2f565b505050565b5f6104dd82610ef0565b600d80546108c090611aa6565b80601f01602080910402602001604051908101604052809291908181526020018280546108ec90611aa6565b80156109375780601f1061090e57610100808354040283529160200191610937565b820191905f5260205f20905b81548152906001019060200180831161091a57829003601f168201915b505050505081565b5f6001600160a01b038216610969576040516322718ad960e21b81525f600482015260240161061d565b506001600160a01b03165f9081526003602052604090205490565b61098c610f35565b6109955f61110b565b565b5f6109aa6006546001600160a01b031690565b905090565b6109b7610f35565b6001600160a01b038116610a235760405162461bcd60e51b815260206004820152602d60248201527f526f79616c7479207265636569766572206d757374206e6f742062652074686560448201526c207a65726f206164647265737360981b606482015260840161061d565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b610a4d610f35565b80610a9a5760405162461bcd60e51b815260206004820152601d60248201527f4e6577206261736520555249206d7573742062652070726f7669646564000000604482015260640161061d565b600d610aa7828483611be7565b50600980546001600160a01b031916905560408051600181527f000000000000000000000000000000000000000000000000000000000000001e60208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a15050565b6060600180546104f190611aa6565b6105a433838361115c565b610b3a848484610723565b6107a6848484846111fa565b6060610b5182610ef0565b505f600d8054610b6090611aa6565b90501115610b9a57600d610b7383611320565b604051602001610b84929190611ca2565b6040516020818303038152906040529050919050565b6009546001600160a01b031615610c185760095460405163c87b56dd60e01b8152600481018490526001600160a01b039091169063c87b56dd906024015f60405180830381865afa158015610bf1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104dd9190810190611d35565b60405162461bcd60e51b815260206004820152601760248201527f746f6b656e555249206e6f7420636f6e66696775726564000000000000000000604482015260640161061d565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314610cb857604051639cdc2ed560e01b815260040160405180910390fd5b5f82118015610ce757507f000000000000000000000000000000000000000000000000000000000000001e8111155b610d295760405162461bcd60e51b8152602060048201526013602482015272496e76616c696420746f6b656e2072616e676560681b604482015260640161061d565b80821115610d8f5760405162461bcd60e51b815260206004820152602d60248201527f5374617274204944206d757374206265206c657373207468616e206f7220657160448201526c1d585b081d1bc8195b99081251609a1b606482015260840161061d565b815b8181116107a657610da284826107da565b80610dac81611db2565b915050610d91565b610dbc610f35565b805f03610e175760405162461bcd60e51b8152602060048201526024808201527f526f79616c74792064656e6f6d696e61746f72206d757374206e6f74206265206044820152637a65726f60e01b606482015260840161061d565b80821115610e7e5760405162461bcd60e51b815260206004820152602e60248201527f526f79616c7479206672616374696f6e206d757374206e6f742062652067726560448201526d61746572207468616e203130302560901b606482015260840161061d565b600a91909155600b55565b610e91610f35565b6001600160a01b038116610eba57604051631e4fbdf760e01b81525f600482015260240161061d565b610ec38161110b565b50565b610ece610f35565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b5f818152600260205260408120546001600160a01b0316806104dd57604051637e27328960e01b81526004810184905260240161061d565b6108a483838360016113b0565b33610f3e610997565b6001600160a01b0316146109955760405163118cdaa760e01b815233600482015260240161061d565b5f828152600260205260408120546001600160a01b0390811690831615610f9357610f938184866114b4565b6001600160a01b03811615610fcd57610fae5f855f806113b0565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b03851615610ffb576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a490505b9392505050565b5f80611068868686611518565b9050611073836115d7565b801561108e57505f848061108957611089611dca565b868809115b156110a15761109e600182611dde565b90505b95945050505050565b6001600160a01b0382166110d357604051633250574960e11b81525f600482015260240161061d565b5f6110df83835f610f67565b90506001600160a01b038116156108a4576040516339e3563760e11b81525f600482015260240161061d565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03821661118e57604051630b61174360e31b81526001600160a01b038316600482015260240161061d565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156107a657604051630a85bd0160e11b81526001600160a01b0384169063150b7a029061123c903390889087908790600401611df1565b6020604051808303815f875af1925050508015611276575060408051601f3d908101601f1916820190925261127391810190611e2d565b60015b6112dd573d8080156112a3576040519150601f19603f3d011682016040523d82523d5f602084013e6112a8565b606091505b5080515f036112d557604051633250574960e11b81526001600160a01b038516600482015260240161061d565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b1461131957604051633250574960e11b81526001600160a01b038516600482015260240161061d565b5050505050565b60605f61132c83611603565b60010190505f8167ffffffffffffffff81111561134b5761134b61193e565b6040519080825280601f01601f191660200182016040528015611375576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461137f57509392505050565b80806113c457506001600160a01b03821615155b15611485575f6113d384610ef0565b90506001600160a01b038316158015906113ff5750826001600160a01b0316816001600160a01b031614155b801561141257506114108184610c60565b155b1561143b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161061d565b81156114835783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b6114bf8383836116da565b6108a4576001600160a01b0383166114ed57604051637e27328960e01b81526004810182905260240161061d565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161061d565b5f838302815f1985870982811083820303915050805f0361154c5783828161154257611542611dca565b0492505050611054565b80841161156c5760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f60028260038111156115ec576115ec611e48565b6115f69190611e5c565b60ff166001149050919050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116415772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061166d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061168b57662386f26fc10000830492506010015b6305f5e10083106116a3576305f5e100830492506008015b61271083106116b757612710830492506004015b606483106116c9576064830492506002015b600a83106104dd5760010192915050565b5f6001600160a01b038316158015906117365750826001600160a01b0316846001600160a01b0316148061171357506117138484610c60565b8061173657505f828152600460205260409020546001600160a01b038481169116145b949350505050565b6001600160e01b031981168114610ec3575f80fd5b5f60208284031215611763575f80fd5b81356110548161173e565b5f5b83811015611788578181015183820152602001611770565b50505f910152565b5f81518084526117a781602086016020860161176e565b601f01601f19169290920160200192915050565b602081525f6110546020830184611790565b5f602082840312156117dd575f80fd5b5035919050565b80356001600160a01b03811681146117fa575f80fd5b919050565b5f8060408385031215611810575f80fd5b611819836117e4565b946020939093013593505050565b5f60208284031215611837575f80fd5b611054826117e4565b5f805f60608486031215611852575f80fd5b61185b846117e4565b9250611869602085016117e4565b9150604084013590509250925092565b5f806040838503121561188a575f80fd5b50508035926020909101359150565b5f80602083850312156118aa575f80fd5b823567ffffffffffffffff808211156118c1575f80fd5b818501915085601f8301126118d4575f80fd5b8135818111156118e2575f80fd5b8660208285010111156118f3575f80fd5b60209290920196919550909350505050565b5f8060408385031215611916575f80fd5b61191f836117e4565b915060208301358015158114611933575f80fd5b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561197b5761197b61193e565b604052919050565b5f67ffffffffffffffff82111561199c5761199c61193e565b50601f01601f191660200190565b5f805f80608085870312156119bd575f80fd5b6119c6856117e4565b93506119d4602086016117e4565b925060408501359150606085013567ffffffffffffffff8111156119f6575f80fd5b8501601f81018713611a06575f80fd5b8035611a19611a1482611983565b611952565b818152886020838501011115611a2d575f80fd5b816020840160208301375f6020838301015280935050505092959194509250565b5f8060408385031215611a5f575f80fd5b611a68836117e4565b91506107d1602084016117e4565b5f805f60608486031215611a88575f80fd5b611a91846117e4565b95602085013595506040909401359392505050565b600181811c90821680611aba57607f821691505b602082108103611ad857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156108a4575f81815260208120601f850160051c81016020861015611b045750805b601f850160051c820191505b81811015611b2357828155600101611b10565b505050505050565b815167ffffffffffffffff811115611b4557611b4561193e565b611b5981611b538454611aa6565b84611ade565b602080601f831160018114611b8c575f8415611b755750858301515b5f19600386901b1c1916600185901b178555611b23565b5f85815260208120601f198616915b82811015611bba57888601518255948401946001909101908401611b9b565b5085821015611bd757878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b67ffffffffffffffff831115611bff57611bff61193e565b611c1383611c0d8354611aa6565b83611ade565b5f601f841160018114611c44575f8515611c2d5750838201355b5f19600387901b1c1916600186901b178355611319565b5f83815260209020601f19861690835b82811015611c745786850135825560209485019460019092019101611c54565b5086821015611c90575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b5f808454611caf81611aa6565b60018281168015611cc75760018114611cdc57611d08565b60ff1984168752821515830287019450611d08565b885f526020805f205f5b85811015611cff5781548a820152908401908201611ce6565b50505082870194505b505050508351611d1c81836020880161176e565b64173539b7b760d91b9101908152600501949350505050565b5f60208284031215611d45575f80fd5b815167ffffffffffffffff811115611d5b575f80fd5b8201601f81018413611d6b575f80fd5b8051611d79611a1482611983565b818152856020838501011115611d8d575f80fd5b6110a182602083016020860161176e565b634e487b7160e01b5f52601160045260245ffd5b5f60018201611dc357611dc3611d9e565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b808201808211156104dd576104dd611d9e565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611e2390830184611790565b9695505050505050565b5f60208284031215611e3d575f80fd5b81516110548161173e565b634e487b7160e01b5f52602160045260245ffd5b5f60ff831680611e7a57634e487b7160e01b5f52601260045260245ffd5b8060ff8416069150509291505056fea2646970667358221220e75958725346e7312ff4210297a6983114bfa6505ceddf59e6cb30f9fdb497a364736f6c63430008150033

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;;;;;1512:32:13;;;1494:51;;1482:2;1467:18;457:21:12;1348:203:13;3497:154:2;;;;;;:::i;:::-;;:::i;3323:113::-;;;;;;:::i;:::-;;:::i;:::-;;5209:407:12;;;;;;:::i;:::-;;:::i;664:26::-;;;;;;;;;2515:25:13;;;2503:2;2488:18;664:26:12;2369:177:13;4143:578:2;;;;;;:::i;:::-;;:::i;6485:356:12:-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3329:32:13;;;3311:51;;3393:2;3378:18;;3371:34;;;;3284:18;6485:356:12;3137: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;;7040:2:13;5308:85:12::1;::::0;::::1;7022:21:13::0;7079:2;7059:18;;;7052:30;7118:34;7098:18;;;7091:62;-1:-1:-1;;;7169:18:13;;;7162:48;7227: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;;7459:2:13;5403:77:12::1;::::0;::::1;7441:21:13::0;7498:2;7478:18;;;7471:30;7537:34;7517:18;;;7510:62;-1:-1:-1;;;7588:18:13;;;7581:38;7636:19;;5403:77:12::1;7257: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;10052:25:13;;5598:10:12::1;10108:2:13::0;10093:18;;10086:34;5575::12::1;::::0;10025: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;;;1494:51:13;1467:18;;4276:33:2;1348: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;;;;;10389:15:13;;;4654:50:2;;;10371:34:13;10421:18;;;10414:34;;;10484:15;;10464:18;;;10457:43;10306:18;;4654:50:2;10131:375: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;;10713:2:13;2627:65:12::1;::::0;::::1;10695:21:13::0;10752:2;10732:18;;;10725:30;-1:-1:-1;;;10771:18:13;;;10764:46;10827:18;;2627:65:12::1;10511: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;;;1494:51:13;1467:18;;2048:30:2;1348: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;;11058:2:13;3679:88:12::1;::::0;::::1;11040:21:13::0;11097:2;11077:18;;;11070:30;11136:34;11116:18;;;11109:62;-1:-1:-1;;;11187:18:13;;;11180:43;11240:19;;3679:88:12::1;10856: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;;11472:2:13;4768:68:12::1;::::0;::::1;11454:21:13::0;11511:2;11491:18;;;11484:30;11550:31;11530:18;;;11523:59;11599:18;;4768:68:12::1;11270: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;10052:25:13;;4962:10:12::1;10108:2:13::0;10093:18;;10086:34;4939::12::1;::::0;10025: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;;;;;2515:25:13;;;-1:-1:-1;;;;;6105:16:12;;;;6089:42;;2488:18:13;;6089:51:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6089:51:12;;;;;;;;;;;;:::i;6023:128::-;6161:33;;-1:-1:-1;;;6161:33:12;;14886:2:13;6161:33:12;;;14868:21:13;14925:2;14905:18;;;14898:30;14964:25;14944:18;;;14937:53;15007:18;;6161:33:12;14684: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;;15238:2:13;2975:66:12::1;::::0;::::1;15220:21:13::0;15277:2;15257:18;;;15250:30;-1:-1:-1;;;15296:18:13;;;15289:49;15355:18;;2975:66:12::1;15036:343:13::0;2975:66:12::1;3070:5;3059:7;:16;;3051:74;;;::::0;-1:-1:-1;;;3051:74:12;;15586:2:13;3051:74:12::1;::::0;::::1;15568:21:13::0;15625:2;15605:18;;;15598:30;15664:34;15644:18;;;15637:62;-1:-1:-1;;;15715:18:13;;;15708:43;15768:19;;3051:74:12::1;15384: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;;16272:2:13;4081:73:12::1;::::0;::::1;16254:21:13::0;16311:2;16291:18;;;16284:30;16350:34;16330:18;;;16323:62;-1:-1:-1;;;16401:18:13;;;16394:34;16445:19;;4081:73:12::1;16070:400:13::0;4081:73:12::1;4192:19;4172:16;:39;;4164:98;;;::::0;-1:-1:-1;;;4164:98:12;;16677:2:13;4164:98:12::1;::::0;::::1;16659:21:13::0;16716:2;16696:18;;;16689:30;16755:34;16735:18;;;16728:62;-1:-1:-1;;;16806:18:13;;;16799:44;16860:19;;4164:98:12::1;16475: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;1494:51:13::0;1467:18;;2672:31:0::1;1348: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;;;;;2515:25:13;;;2488:18;;16309:31:2;2369: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;;;1494:51:13;1467:18;;1901:40:0;1348: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;;;1494:51:13;1467:18;;10061:33:2;1348: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;;;1494:51:13;1467:18;;10234:31:2;1348: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;;;;;1512:32:13;;15743:31:2;;;1494:51:13;1467:18;;15743:31:2;1348: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;;;;;1512:32:13;;17430:25:2;;;1494:51:13;1467:18;;17430:25:2;1348: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;;;;;1512:32:13;;17272:25:2;;;1494:51:13;1467:18;;17272:25:2;1348: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;;;;;1512:32:13;;15189:27:2;;;1494:51:13;1467:18;;15189:27:2;1348: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;;;;;2515:25:13;;;2488:18;;7298:31:2;2369:177:13;7248:186:2;7375:44;;-1:-1:-1;;;7375:44:2;;-1:-1:-1;;;;;3329:32:13;;7375:44:2;;;3311:51:13;3378:18;;;3371:34;;;3284:18;;7375:44:2;3137: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:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:13;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:13;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:13:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1556:180::-;1615:6;1668:2;1656:9;1647:7;1643:23;1639:32;1636:52;;;1684:1;1681;1674:12;1636:52;-1:-1:-1;1707:23:13;;1556:180;-1:-1:-1;1556:180:13:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:13;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:13:o;2178:186::-;2237:6;2290:2;2278:9;2269:7;2265:23;2261:32;2258:52;;;2306:1;2303;2296:12;2258:52;2329:29;2348:9;2329:29;:::i;2551:328::-;2628:6;2636;2644;2697:2;2685:9;2676:7;2672:23;2668:32;2665:52;;;2713:1;2710;2703:12;2665:52;2736:29;2755:9;2736:29;:::i;:::-;2726:39;;2784:38;2818:2;2807:9;2803:18;2784:38;:::i;:::-;2774:48;;2869:2;2858:9;2854:18;2841:32;2831:42;;2551:328;;;;;:::o;2884:248::-;2952:6;2960;3013:2;3001:9;2992:7;2988:23;2984:32;2981:52;;;3029:1;3026;3019:12;2981:52;-1:-1:-1;;3052:23:13;;;3122:2;3107:18;;;3094:32;;-1:-1:-1;2884:248:13:o;3416:592::-;3487:6;3495;3548:2;3536:9;3527:7;3523:23;3519:32;3516:52;;;3564:1;3561;3554:12;3516:52;3604:9;3591:23;3633:18;3674:2;3666:6;3663:14;3660:34;;;3690:1;3687;3680:12;3660:34;3728:6;3717:9;3713:22;3703:32;;3773:7;3766:4;3762:2;3758:13;3754:27;3744:55;;3795:1;3792;3785:12;3744:55;3835:2;3822:16;3861:2;3853:6;3850:14;3847:34;;;3877:1;3874;3867:12;3847:34;3922:7;3917:2;3908:6;3904:2;3900:15;3896:24;3893:37;3890:57;;;3943:1;3940;3933:12;3890:57;3974:2;3966:11;;;;;3996:6;;-1:-1:-1;3416:592:13;;-1:-1:-1;;;;3416:592:13:o;4013:347::-;4078:6;4086;4139:2;4127:9;4118:7;4114:23;4110:32;4107:52;;;4155:1;4152;4145:12;4107:52;4178:29;4197:9;4178:29;:::i;:::-;4168:39;;4257:2;4246:9;4242:18;4229:32;4304:5;4297:13;4290:21;4283:5;4280:32;4270:60;;4326:1;4323;4316:12;4270:60;4349:5;4339:15;;;4013:347;;;;;:::o;4365:127::-;4426:10;4421:3;4417:20;4414:1;4407:31;4457:4;4454:1;4447:15;4481:4;4478:1;4471:15;4497:275;4568:2;4562:9;4633:2;4614:13;;-1:-1:-1;;4610:27:13;4598:40;;4668:18;4653:34;;4689:22;;;4650:62;4647:88;;;4715:18;;:::i;:::-;4751:2;4744:22;4497:275;;-1:-1:-1;4497:275:13:o;4777:186::-;4825:4;4858:18;4850:6;4847:30;4844:56;;;4880:18;;:::i;:::-;-1:-1:-1;4946:2:13;4925:15;-1:-1:-1;;4921:29:13;4952:4;4917:40;;4777:186::o;4968:888::-;5063:6;5071;5079;5087;5140:3;5128:9;5119:7;5115:23;5111:33;5108:53;;;5157:1;5154;5147:12;5108:53;5180:29;5199:9;5180:29;:::i;:::-;5170:39;;5228:38;5262:2;5251:9;5247:18;5228:38;:::i;:::-;5218:48;;5313:2;5302:9;5298:18;5285:32;5275:42;;5368:2;5357:9;5353:18;5340:32;5395:18;5387:6;5384:30;5381:50;;;5427:1;5424;5417:12;5381:50;5450:22;;5503:4;5495:13;;5491:27;-1:-1:-1;5481:55:13;;5532:1;5529;5522:12;5481:55;5568:2;5555:16;5593:48;5609:31;5637:2;5609:31;:::i;:::-;5593:48;:::i;:::-;5664:2;5657:5;5650:17;5704:7;5699:2;5694;5690;5686:11;5682:20;5679:33;5676:53;;;5725:1;5722;5715:12;5676:53;5780:2;5775;5771;5767:11;5762:2;5755:5;5751:14;5738:45;5824:1;5819:2;5814;5807:5;5803:14;5799:23;5792:34;5845:5;5835:15;;;;;4968:888;;;;;;;:::o;5861:260::-;5929:6;5937;5990:2;5978:9;5969:7;5965:23;5961:32;5958:52;;;6006:1;6003;5996:12;5958:52;6029:29;6048:9;6029:29;:::i;:::-;6019:39;;6077:38;6111:2;6100:9;6096:18;6077:38;:::i;6126:322::-;6203:6;6211;6219;6272:2;6260:9;6251:7;6247:23;6243:32;6240:52;;;6288:1;6285;6278:12;6240:52;6311:29;6330:9;6311:29;:::i;:::-;6301:39;6387:2;6372:18;;6359:32;;-1:-1:-1;6438:2:13;6423:18;;;6410:32;;6126:322;-1:-1:-1;;;6126:322:13:o;6453:380::-;6532:1;6528:12;;;;6575;;;6596:61;;6650:4;6642:6;6638:17;6628:27;;6596:61;6703:2;6695:6;6692:14;6672:18;6669:38;6666:161;;6749:10;6744:3;6740:20;6737:1;6730:31;6784:4;6781:1;6774:15;6812:4;6809:1;6802:15;6666:161;;6453:380;;;:::o;7792:545::-;7894:2;7889:3;7886:11;7883:448;;;7930:1;7955:5;7951:2;7944:17;8000:4;7996:2;7986:19;8070:2;8058:10;8054:19;8051:1;8047:27;8041:4;8037:38;8106:4;8094:10;8091:20;8088:47;;;-1:-1:-1;8129:4:13;8088:47;8184:2;8179:3;8175:12;8172:1;8168:20;8162:4;8158:31;8148:41;;8239:82;8257:2;8250:5;8247:13;8239:82;;;8302:17;;;8283:1;8272:13;8239:82;;;8243:3;;;7792:545;;;:::o;8513:1352::-;8639:3;8633:10;8666:18;8658:6;8655:30;8652:56;;;8688:18;;:::i;:::-;8717:97;8807:6;8767:38;8799:4;8793:11;8767:38;:::i;:::-;8761:4;8717:97;:::i;:::-;8869:4;;8933:2;8922:14;;8950:1;8945:663;;;;9652:1;9669:6;9666:89;;;-1:-1:-1;9721:19:13;;;9715:26;9666:89;-1:-1:-1;;8470:1:13;8466:11;;;8462:24;8458:29;8448:40;8494:1;8490:11;;;8445:57;9768:81;;8915:944;;8945:663;7739:1;7732:14;;;7776:4;7763:18;;-1:-1:-1;;8981:20:13;;;9099:236;9113:7;9110:1;9107:14;9099:236;;;9202:19;;;9196:26;9181:42;;9294:27;;;;9262:1;9250:14;;;;9129:19;;9099:236;;;9103:3;9363:6;9354:7;9351:19;9348:201;;;9424:19;;;9418:26;-1:-1:-1;;9507:1:13;9503:14;;;9519:3;9499:24;9495:37;9491:42;9476:58;9461:74;;9348:201;-1:-1:-1;;;;;9595:1:13;9579:14;;;9575:22;9562:36;;-1:-1:-1;8513:1352:13:o;11628:1206::-;11752:18;11747:3;11744:27;11741:53;;;11774:18;;:::i;:::-;11803:94;11893:3;11853:38;11885:4;11879:11;11853:38;:::i;:::-;11847:4;11803:94;:::i;:::-;11923:1;11948:2;11943:3;11940:11;11965:1;11960:616;;;;12620:1;12637:3;12634:93;;;-1:-1:-1;12693:19:13;;;12680:33;12634:93;-1:-1:-1;;8470:1:13;8466:11;;;8462:24;8458:29;8448:40;8494:1;8490:11;;;8445:57;12740:78;;11933:895;;11960:616;7739:1;7732:14;;;7776:4;7763:18;;-1:-1:-1;;11996:17:13;;;12097:9;12119:229;12133:7;12130:1;12127:14;12119:229;;;12222:19;;;12209:33;12194:49;;12329:4;12314:20;;;;12282:1;12270:14;;;;12149:12;12119:229;;;12123:3;12376;12367:7;12364:16;12361:159;;;12500:1;12496:6;12490:3;12484;12481:1;12477:11;12473:21;12469:34;12465:39;12452:9;12447:3;12443:19;12430:33;12426:79;12418:6;12411:95;12361:159;;;12563:1;12557:3;12554:1;12550:11;12546:19;12540:4;12533:33;11933:895;;11628:1206;;;:::o;12839:1187::-;13116:3;13145:1;13178:6;13172:13;13208:36;13234:9;13208:36;:::i;:::-;13263:1;13280:18;;;13307:133;;;;13454:1;13449:356;;;;13273:532;;13307:133;-1:-1:-1;;13340:24:13;;13328:37;;13413:14;;13406:22;13394:35;;13385:45;;;-1:-1:-1;13307:133:13;;13449:356;13480:6;13477:1;13470:17;13510:4;13555:2;13552:1;13542:16;13580:1;13594:165;13608:6;13605:1;13602:13;13594:165;;;13686:14;;13673:11;;;13666:35;13729:16;;;;13623:10;;13594:165;;;13598:3;;;13788:6;13783:3;13779:16;13772:23;;13273:532;;;;;13836:6;13830:13;13852:68;13911:8;13906:3;13899:4;13891:6;13887:17;13852:68;:::i;:::-;-1:-1:-1;;;13942:18:13;;13969:22;;;14018:1;14007:13;;12839:1187;-1:-1:-1;;;;12839:1187:13:o;14031:648::-;14111:6;14164:2;14152:9;14143:7;14139:23;14135:32;14132:52;;;14180:1;14177;14170:12;14132:52;14213:9;14207:16;14246:18;14238:6;14235:30;14232:50;;;14278:1;14275;14268:12;14232:50;14301:22;;14354:4;14346:13;;14342:27;-1:-1:-1;14332:55:13;;14383:1;14380;14373:12;14332:55;14412:2;14406:9;14437:48;14453:31;14481:2;14453:31;:::i;14437:48::-;14508:2;14501:5;14494:17;14548:7;14543:2;14538;14534;14530:11;14526:20;14523:33;14520:53;;;14569:1;14566;14559:12;14520:53;14582:67;14646:2;14641;14634:5;14630:14;14625:2;14621;14617:11;14582:67;:::i;15798:127::-;15859:10;15854:3;15850:20;15847:1;15840:31;15890:4;15887:1;15880:15;15914:4;15911:1;15904:15;15930:135;15969:3;15990:17;;;15987:43;;16010:18;;:::i;:::-;-1:-1:-1;16057:1:13;16046:13;;15930:135::o;16890:127::-;16951:10;16946:3;16942:20;16939:1;16932:31;16982:4;16979:1;16972:15;17006:4;17003:1;16996:15;17022:125;17087:9;;;17108:10;;;17105:36;;;17121:18;;:::i;17152:489::-;-1:-1:-1;;;;;17421:15:13;;;17403:34;;17473:15;;17468:2;17453:18;;17446:43;17520:2;17505:18;;17498:34;;;17568:3;17563:2;17548:18;;17541:31;;;17346:4;;17589:46;;17615:19;;17607:6;17589:46;:::i;:::-;17581:54;17152:489;-1:-1:-1;;;;;;17152:489:13:o;17646:249::-;17715:6;17768:2;17756:9;17747:7;17743:23;17739:32;17736:52;;;17784:1;17781;17774:12;17736:52;17816:9;17810:16;17835:30;17859:5;17835:30;:::i;17900:127::-;17961:10;17956:3;17952:20;17949:1;17942:31;17992:4;17989:1;17982:15;18016:4;18013:1;18006:15;18032:254;18062:1;18096:4;18093:1;18089:12;18120:3;18110:134;;18166:10;18161:3;18157:20;18154:1;18147:31;18201:4;18198:1;18191:15;18229:4;18226:1;18219:15;18110:134;18276:3;18269:4;18266:1;18262:12;18258:22;18253:27;;;18032:254;;;;:::o

Swarm Source

ipfs://e75958725346e7312ff4210297a6983114bfa6505ceddf59e6cb30f9fdb497a3
Loading...
Loading
Loading...
Loading
[ 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.