ETH Price: $3,271.95 (+0.33%)
Gas: 2 Gwei

Token

ITAMI (ITM)
 

Overview

Max Total Supply

420 ITM

Holders

158

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
kaifka.eth
Balance
1 ITM
0x036D0560582c444ff13d5822e2759A9f1E3D1e1e
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Itami

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-11-21
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Context.sol

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @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: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed 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;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _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: @openzeppelin/contracts/utils/Counters.sol


// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// File: @openzeppelin/contracts/utils/math/Math.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @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 up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (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; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 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.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            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 (rounding == Rounding.Up && 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 down.
     *
     * 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 + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * 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 + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * 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 + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * 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 10, 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 + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;


/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @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), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @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) {
        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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        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);
    }
}

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

// File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/IERC721A.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @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`,
     * 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 be 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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom}
     * whenever possible.
     *
     * 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 payable;

    /**
     * @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 payable;

    /**
     * @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 caller.
     *
     * 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);

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @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);

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

// File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;


/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

    // Mapping from token ID to approved address.
    mapping(uint256 => TokenApprovalRef) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) {
        if (_startTokenId() <= tokenId) {
            packed = _packedOwnerships[tokenId];
            // If not burned.
            if (packed & _BITMASK_BURNED == 0) {
                // If the data at the starting slot does not exist, start the scan.
                if (packed == 0) {
                    if (tokenId >= _currentIndex) revert OwnerQueryForNonexistentToken();
                    // Invariant:
                    // There will always be an initialized ownership slot
                    // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                    // before an unintialized ownership slot
                    // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                    // Hence, `tokenId` will not underflow.
                    //
                    // We can directly compare the packed value.
                    // If the address is zero, packed will be zero.
                    for (;;) {
                        unchecked {
                            packed = _packedOwnerships[--tokenId];
                        }
                        if (packed == 0) continue;
                        return packed;
                    }
                }
                // Otherwise, the data exists and is not burned. We can skip the scan.
                // This is possible because we have already achieved the target condition.
                // This saves 2143 gas on transfers of initialized tokens.
                return packed;
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        _approve(to, tokenId, true);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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 caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                       APPROVAL OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_approve(to, tokenId, false)`.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _approve(to, tokenId, false);
    }

    /**
     * @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:
     *
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        address owner = ownerOf(tokenId);

        if (approvalCheck)
            if (_msgSenderERC721A() != owner)
                if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                    revert ApprovalCallerNotOwnerNorApproved();
                }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

// File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/extensions/IERC721AQueryable.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;


/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

// File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/extensions/ERC721AQueryable.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;



/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

// File: contracts/ITAMI.sol


pragma solidity 0.8.17;

contract Itami is ERC721AQueryable, Ownable {
  using Strings for uint256;
  using Counters for Counters.Counter;

  Counters.Counter private supply;

  string public uriPrefix = "https://www.itami.gg/nft/json/";
  string public uriSuffix = ".json";
  string public _contractURI = "";
  string public hiddenMetadataUri;

  uint256 public maxSupply = 5555;
  uint256 public maxMintAmountPerTxWS = 2;
  uint256 public maxMintAmountPerTxPS = 25;
  uint256 public walletLimitWS = 2;
  uint256 public walletLimitPS = 25;

  bool public paused = true;
  bool public revealed = false;

  uint256 public whitelistPhase = 0;

  uint256 public whitelistCost = 0.03 ether;
  uint256 public publicCost = 0.04 ether;
  uint256 public discountedCost = 0.02925 ether;

  mapping (address => uint256) public alreadyMinted;

// MERKEL TREE STUFF
  bytes32 public merkleRoot = 0xcc93a018d97ffec5bbf8db87a8ea0f83d6484533fa369fa1c7a608e168ed8c4c;
  bytes32 public discountMerkleRoot = 0xc96fc4932287a214e3e871952418c62909836839c8d9924ec6cad6c1ccdafc6e;
  
  constructor() ERC721A("ITAMI", "ITM") {
    _startTokenId();
    setHiddenMetadataUri("ipfs://bafybeie3zlugqiocq3cwo6hk2epjmmoulow7xmisxmykj5rtrqrp3y2xme/");
    setContractURI("https://www.itami.gg/nft/itmContract.json");
  }

  function _startTokenId()
        internal
        pure
        override
        returns(uint256)
    {
        return 1;
    }

// RUNS BEFORE ALL MINT FUNCTIONS
  modifier mintCompliance (uint256 _mintAmount) 
  {
    require(!paused, "Minting is PAUSED!");
    require(msg.sender == tx.origin, "No Bots!");
    require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!");
    _;
  }

// ---------------! SETTERS !------------------

  function setMerkleRoot(bytes32 newMerkleRoot) external onlyOwner
  {
    merkleRoot = newMerkleRoot;
  }

  function setDiscountMerkleRoot(bytes32 newRefMerkleRoot) external onlyOwner
  {
      discountMerkleRoot = newRefMerkleRoot;
  }

  function setWalletLimitWS(uint256 _walletLimit) external onlyOwner
  {
      walletLimitWS = _walletLimit;
  }

  function setWalletLimitPS(uint256 _walletLimit) external onlyOwner
  {
      walletLimitPS = _walletLimit;
  }

  function setMaxMintAmountPerTxWS(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxMintAmountPerTxWS = _maxMintAmountPerTx;
  }

  function setMaxMintAmountPerTxPS(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxMintAmountPerTxPS = _maxMintAmountPerTx;
  }

  function setWhitelistMintCost(uint256 _mintCost) external onlyOwner
  {
      whitelistCost = _mintCost;
  }

  function setDiscountedMintCost(uint256 _mintCost) external onlyOwner
  {
      discountedCost = _mintCost;
  }

  function setPublicMintCost(uint256 _mintCost) external onlyOwner
  {
      publicCost = _mintCost;
  }

  function setRevealed(bool _state) public onlyOwner 
  {
    revealed = _state;
  }

  function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner 
  {
    hiddenMetadataUri = _hiddenMetadataUri;
  }

  function setUriPrefix(string memory _uriPrefix) public onlyOwner 
  {
    uriPrefix = _uriPrefix;
  }

  function setUriSuffix(string memory _uriSuffix) public onlyOwner 
  {
    uriSuffix = _uriSuffix;
  }

  function setContractURI(string memory newContractURI) public onlyOwner 
  {
    _contractURI = newContractURI;
  }

  function setPaused(bool _state) public onlyOwner 
  {
    paused = _state;
  }

  function setWhitelistPhase(uint256 _state) public onlyOwner 
  {
    whitelistPhase = _state;
  }

// ---------------! GETTERS !----------------------

  function getAlreadyMinted(address a) public view returns (uint256)
  {
    return alreadyMinted[a];
  }

  function getWhitelistState() public view returns (uint256)
  {
    return whitelistPhase;
  }


  function getPausedState() public view returns (bool)
  {
    return paused;
  }

  function getTotalSupply() public view returns (uint256)
  {
    return totalSupply();
  }

  

// ---------------! MINT FUNCTIONS !-------------------

  function whitelistMint(bytes32[] calldata _merkleProof, uint256 _mintAmount) external mintCompliance(_mintAmount) payable
  {
    require(whitelistPhase == 0, "Whitelist Sale Not Active");

    bytes32 leaf = keccak256(abi.encodePacked(msg.sender));

    require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Not on the Whitelist");
    require(msg.value >= _mintAmount * whitelistCost, "Insufficient funds!");
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTxWS, "Invalid mint amount!");
    require(alreadyMinted[msg.sender] + _mintAmount <= walletLimitWS, "Max Mints Per Wallet Reached!");

    alreadyMinted[msg.sender] += _mintAmount;
    _safeMint(msg.sender, _mintAmount);
  }

  function discountedMint(bytes32[] calldata _merkleProof, uint256 _mintAmount) external mintCompliance(_mintAmount) payable
  {
    require(whitelistPhase == 0, "Whitelist Sale Not Active");
    
    bytes32 leaf = keccak256(abi.encodePacked(msg.sender));

    require(MerkleProof.verify(_merkleProof, discountMerkleRoot, leaf), "Not on the Discount List");
    require(msg.value >= _mintAmount * discountedCost, "Insufficient funds!");
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTxWS, "Invalid mint amount!");
    require(alreadyMinted[msg.sender] + _mintAmount <= walletLimitWS, "Max Mints Per Wallet Reached!");

    alreadyMinted[msg.sender] += _mintAmount;
    _safeMint(msg.sender, _mintAmount);
  }

  function publicMint(uint256 _mintAmount, address receiver) external mintCompliance(_mintAmount) payable
  {
    require(whitelistPhase == 1, "Public Sale Not Active");
    require(msg.value >= _mintAmount * publicCost, "Insufficient funds!");
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTxPS, "Invalid mint amount!");
    require(alreadyMinted[msg.sender] + _mintAmount <= walletLimitPS, "Max Mints Per Wallet Reached!");

    alreadyMinted[msg.sender] += _mintAmount;
    _safeMint(msg.sender, _mintAmount);
  }

  function mintForAddress(uint256 _mintAmount, address _receiver) public payable onlyOwner 
  {
    require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!");
    _safeMint(_receiver, _mintAmount);
  }

  function mintForAddressMultiple(address[] calldata addresses, uint256[] calldata amount) public onlyOwner
  {
    for (uint256 i; i < addresses.length; i++)
    {
      require(totalSupply() + amount[i] <= maxSupply, "Max supply exceeded!");
      _safeMint(addresses[i], amount[i]);
    }
  }

// ---------------! BASELINE FUNCTIONS !---------------

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
    uint256 currentTokenId = 1;
    uint256 ownedTokenIndex = 0;

    while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) {
      address currentTokenOwner = ownerOf(currentTokenId);

      if (currentTokenOwner == _owner) {
        ownedTokenIds[ownedTokenIndex] = currentTokenId;

        ownedTokenIndex++;
      }

      currentTokenId++;
    }

    return ownedTokenIds;
  }

  function tokenURI(uint256 _tokenId)
    public
    view
    virtual
    override (ERC721A, IERC721A)
    returns (string memory)
  {
    require(
      _exists(_tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

    string memory currentBaseURI = _baseURI();

    if (revealed == false) {
      currentBaseURI = hiddenMetadataUri;
    }

    
    return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, _toString(_tokenId), uriSuffix))
        : "";
  }

  function contractURI() 
  public 
  view 
  returns (string memory) 
  {
        return bytes(_contractURI).length > 0
          ? string(abi.encodePacked(_contractURI))
          : "";
  }

  function withdraw(uint256 amount) public onlyOwner 
  {
    payable(msg.sender).transfer(amount);
  }

  function withdrawAll() public onlyOwner {
    (bool os, ) = payable(owner()).call{value: address(this).balance}("");
    require(os);
  }

  function _baseURI() internal view virtual override returns (string memory) {
    return uriPrefix;
  }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","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":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":[],"name":"_contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"alreadyMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"discountMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"discountedCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"discountedMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"getAlreadyMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPausedState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelistState","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxMintAmountPerTxPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTxWS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"mintForAddressMultiple","outputs":[],"stateMutability":"nonpayable","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRefMerkleRoot","type":"bytes32"}],"name":"setDiscountMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintCost","type":"uint256"}],"name":"setDiscountedMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTxPS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTxWS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintCost","type":"uint256"}],"name":"setPublicMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_walletLimit","type":"uint256"}],"name":"setWalletLimitPS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_walletLimit","type":"uint256"}],"name":"setWalletLimitWS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintCost","type":"uint256"}],"name":"setWhitelistMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_state","type":"uint256"}],"name":"setWhitelistPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"walletLimitPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"walletLimitWS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistPhase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c0604052601e60809081527f68747470733a2f2f7777772e6974616d692e67672f6e66742f6a736f6e2f000060a052600a906200003e908262000379565b50604080518082019091526005815264173539b7b760d91b6020820152600b906200006a908262000379565b50604080516020810190915260008152600c9062000089908262000379565b506115b3600e556002600f8190556019601081905560119190915560128190556013805461ffff191660011790556000601455666a94d74f430000601555668e1bc9bf0400006016556667eab853ae20006017557fcc93a018d97ffec5bbf8db87a8ea0f83d6484533fa369fa1c7a608e168ed8c4c90557fc96fc4932287a214e3e871952418c62909836839c8d9924ec6cad6c1ccdafc6e601a553480156200013157600080fd5b50604051806040016040528060058152602001644954414d4960d81b8152506040518060400160405280600381526020016249544d60e81b81525081600290816200017d919062000379565b5060036200018c828262000379565b50506001600055506200019f33620001ed565b620001c36040518060800160405280604381526020016200343d604391396200023f565b620001e760405180606001604052806029815260200162003480602991396200025b565b62000445565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200024962000273565b600d62000257828262000379565b5050565b6200026562000273565b600c62000257828262000379565b6008546001600160a01b03163314620002d25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002ff57607f821691505b6020821081036200032057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200037457600081815260208120601f850160051c810160208610156200034f5750805b601f850160051c820191505b8181101562000370578281556001016200035b565b5050505b505050565b81516001600160401b03811115620003955762000395620002d4565b620003ad81620003a68454620002ea565b8462000326565b602080601f831160018114620003e55760008415620003cc5750858301515b600019600386901b1c1916600185901b17855562000370565b600085815260208120601f198616915b828110156200041657888601518255948401946001909101908401620003f5565b5085821015620004355787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612fe880620004556000396000f3fe6080604052600436106103ef5760003560e01c80637ec4a65911610208578063b88d4fde11610118578063de2cc4ba116100ab578063e8a3d4851161007a578063e8a3d48514610b15578063e985e9c514610b2a578063efbd73f414610b73578063f2fde38b14610b86578063f42349ff14610ba657600080fd5b8063de2cc4ba14610aa9578063de6c6d3614610abf578063e0a8085314610adf578063e7b99ec714610aff57600080fd5b8063c71fbb71116100e7578063c71fbb7114610a27578063c87b56dd14610a5d578063ce2fc39514610a7d578063d5abeb0114610a9357600080fd5b8063b88d4fde146109bd578063c0e72740146109d0578063c23dc68f146109e5578063c4e41b2214610a1257600080fd5b8063938e3d7b1161019b578063a22cb4651161016a578063a22cb46514610932578063a45ba8e714610952578063ac0ebefb14610967578063b4638a1014610987578063b6520c54146109a757600080fd5b8063938e3d7b146108c857806395d89b41146108e857806399a2557a146108fd5780639dddc2921461091d57600080fd5b8063853828b6116101d7578063853828b61461085f5780638693da2014610874578063877850ef1461088a5780638da5cb5b146108aa57600080fd5b80637ec4a659146107e957806380eae57814610809578063815d544c146108295780638462151c1461083f57600080fd5b80632eb4a7ab116103035780635503a0e8116102965780636352211e116102655780636352211e1461075457806370a0823114610774578063715018a6146107945780637cb64759146107a95780637cd6a9a9146107c957600080fd5b80635503a0e8146106e35780635bbb2177146106f85780635c975abb1461072557806362b99ad41461073f57600080fd5b8063438b6300116102d2578063438b6300146106575780634da88859146106845780634fdd43cb146106a457806351830227146106c457600080fd5b80632eb4a7ab1461060557806340d341331461061b57806341a38e7f1461063157806342842e0e1461064457600080fd5b806318160ddd1161038657806323b872dd1161035557806323b872dd146105895780632904e6d91461059c5780632b15bbeb146105af5780632b54cf98146105c55780632e1a7d4d146105e557600080fd5b806318160ddd146105295780631abae6861461053e5780631c0de0511461055e5780631c9b80d81461057657600080fd5b80630a398b88116103c25780630a398b88146104985780630c2703e5146104d357806316ba10e0146104e957806316c38b3c1461050957600080fd5b806301ffc9a7146103f457806306fdde0314610429578063081812fc1461044b578063095ea7b314610483575b600080fd5b34801561040057600080fd5b5061041461040f36600461270f565b610bc6565b60405190151581526020015b60405180910390f35b34801561043557600080fd5b5061043e610c18565b604051610420919061277c565b34801561045757600080fd5b5061046b61046636600461278f565b610caa565b6040516001600160a01b039091168152602001610420565b6104966104913660046127bf565b610cee565b005b3480156104a457600080fd5b506104c56104b33660046127e9565b60186020526000908152604090205481565b604051908152602001610420565b3480156104df57600080fd5b506104c560115481565b3480156104f557600080fd5b5061049661050436600461288f565b610cfe565b34801561051557600080fd5b506104966105243660046128e7565b610d12565b34801561053557600080fd5b506104c5610d2d565b34801561054a57600080fd5b5061049661055936600461278f565b610d3b565b34801561056a57600080fd5b5060135460ff16610414565b61049661058436600461294d565b610d48565b610496610597366004612998565b611024565b6104966105aa36600461294d565b6111bd565b3480156105bb57600080fd5b506104c560175481565b3480156105d157600080fd5b506104966105e036600461278f565b61134b565b3480156105f157600080fd5b5061049661060036600461278f565b611358565b34801561061157600080fd5b506104c560195481565b34801561062757600080fd5b506104c5601a5481565b61049661063f3660046129d4565b61138d565b610496610652366004612998565b611597565b34801561066357600080fd5b506106776106723660046127e9565b6115b2565b6040516104209190612a00565b34801561069057600080fd5b5061049661069f36600461278f565b611691565b3480156106b057600080fd5b506104966106bf36600461288f565b61169e565b3480156106d057600080fd5b5060135461041490610100900460ff1681565b3480156106ef57600080fd5b5061043e6116b2565b34801561070457600080fd5b50610718610713366004612a38565b611740565b6040516104209190612ab5565b34801561073157600080fd5b506013546104149060ff1681565b34801561074b57600080fd5b5061043e61180b565b34801561076057600080fd5b5061046b61076f36600461278f565b611818565b34801561078057600080fd5b506104c561078f3660046127e9565b611823565b3480156107a057600080fd5b50610496611871565b3480156107b557600080fd5b506104966107c436600461278f565b611885565b3480156107d557600080fd5b506104966107e436600461278f565b611892565b3480156107f557600080fd5b5061049661080436600461288f565b61189f565b34801561081557600080fd5b5061049661082436600461278f565b6118b3565b34801561083557600080fd5b506104c560145481565b34801561084b57600080fd5b5061067761085a3660046127e9565b6118c0565b34801561086b57600080fd5b506104966119c8565b34801561088057600080fd5b506104c560165481565b34801561089657600080fd5b506104966108a536600461278f565b611a44565b3480156108b657600080fd5b506008546001600160a01b031661046b565b3480156108d457600080fd5b506104966108e336600461288f565b611a51565b3480156108f457600080fd5b5061043e611a65565b34801561090957600080fd5b50610677610918366004612af7565b611a74565b34801561092957600080fd5b506014546104c5565b34801561093e57600080fd5b5061049661094d366004612b2a565b611bfb565b34801561095e57600080fd5b5061043e611c67565b34801561097357600080fd5b5061049661098236600461278f565b611c74565b34801561099357600080fd5b506104966109a236600461278f565b611c81565b3480156109b357600080fd5b506104c560125481565b6104966109cb366004612b54565b611c8e565b3480156109dc57600080fd5b5061043e611cd8565b3480156109f157600080fd5b50610a05610a0036600461278f565b611ce5565b6040516104209190612bcf565b348015610a1e57600080fd5b506104c5611d6d565b348015610a3357600080fd5b506104c5610a423660046127e9565b6001600160a01b031660009081526018602052604090205490565b348015610a6957600080fd5b5061043e610a7836600461278f565b611d7c565b348015610a8957600080fd5b506104c560105481565b348015610a9f57600080fd5b506104c5600e5481565b348015610ab557600080fd5b506104c5600f5481565b348015610acb57600080fd5b50610496610ada366004612bdd565b611eec565b348015610aeb57600080fd5b50610496610afa3660046128e7565b611fa5565b348015610b0b57600080fd5b506104c560155481565b348015610b2157600080fd5b5061043e611fc7565b348015610b3657600080fd5b50610414610b45366004612c48565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610496610b813660046129d4565b612018565b348015610b9257600080fd5b50610496610ba13660046127e9565b61205e565b348015610bb257600080fd5b50610496610bc136600461278f565b6120d4565b60006301ffc9a760e01b6001600160e01b031983161480610bf757506380ac58cd60e01b6001600160e01b03198316145b80610c125750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610c2790612c72565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5390612c72565b8015610ca05780601f10610c7557610100808354040283529160200191610ca0565b820191906000526020600020905b815481529060010190602001808311610c8357829003601f168201915b5050505050905090565b6000610cb5826120e1565b610cd2576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b610cfa82826001612116565b5050565b610d066121bd565b600b610cfa8282612cf2565b610d1a6121bd565b6013805460ff1916911515919091179055565b600154600054036000190190565b610d436121bd565b601a55565b601354819060ff1615610d765760405162461bcd60e51b8152600401610d6d90612db1565b60405180910390fd5b333214610d955760405162461bcd60e51b8152600401610d6d90612ddd565b600e5481610da1610d2d565b610dab9190612e15565b1115610dc95760405162461bcd60e51b8152600401610d6d90612e28565b60145415610e155760405162461bcd60e51b815260206004820152601960248201527857686974656c6973742053616c65204e6f742041637469766560381b6044820152606401610d6d565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610e8f85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601a549150849050612217565b610edb5760405162461bcd60e51b815260206004820152601860248201527f4e6f74206f6e2074686520446973636f756e74204c69737400000000000000006044820152606401610d6d565b601754610ee89084612e56565b341015610f2d5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610d6d565b600083118015610f3f5750600f548311155b610f825760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610d6d565b60115433600090815260186020526040902054610fa0908590612e15565b1115610fee5760405162461bcd60e51b815260206004820152601d60248201527f4d6178204d696e7473205065722057616c6c65742052656163686564210000006044820152606401610d6d565b336000908152601860205260408120805485929061100d908490612e15565b9091555061101d9050338461222d565b5050505050565b600061102f82612247565b9050836001600160a01b0316816001600160a01b0316146110625760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176110af576110928633610b45565b6110af57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166110d657604051633a954ecd60e21b815260040160405180910390fd5b80156110e157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611173576001840160008181526004602052604081205490036111715760005481146111715760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b601354819060ff16156111e25760405162461bcd60e51b8152600401610d6d90612db1565b3332146112015760405162461bcd60e51b8152600401610d6d90612ddd565b600e548161120d610d2d565b6112179190612e15565b11156112355760405162461bcd60e51b8152600401610d6d90612e28565b601454156112815760405162461bcd60e51b815260206004820152601960248201527857686974656c6973742053616c65204e6f742041637469766560381b6044820152606401610d6d565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506112fb858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506019549150849050612217565b61133e5760405162461bcd60e51b8152602060048201526014602482015273139bdd081bdb881d1a194815da1a5d195b1a5cdd60621b6044820152606401610d6d565b601554610ee89084612e56565b6113536121bd565b600f55565b6113606121bd565b604051339082156108fc029083906000818181858888f19350505050158015610cfa573d6000803e3d6000fd5b601354829060ff16156113b25760405162461bcd60e51b8152600401610d6d90612db1565b3332146113d15760405162461bcd60e51b8152600401610d6d90612ddd565b600e54816113dd610d2d565b6113e79190612e15565b11156114055760405162461bcd60e51b8152600401610d6d90612e28565b6014546001146114505760405162461bcd60e51b81526020600482015260166024820152755075626c69632053616c65204e6f742041637469766560501b6044820152606401610d6d565b60165461145d9084612e56565b3410156114a25760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610d6d565b6000831180156114b457506010548311155b6114f75760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610d6d565b60125433600090815260186020526040902054611515908590612e15565b11156115635760405162461bcd60e51b815260206004820152601d60248201527f4d6178204d696e7473205065722057616c6c65742052656163686564210000006044820152606401610d6d565b3360009081526018602052604081208054859290611582908490612e15565b909155506115929050338461222d565b505050565b61159283838360405180602001604052806000815250611c8e565b606060006115bf83611823565b90506000816001600160401b038111156115db576115db612804565b604051908082528060200260200182016040528015611604578160200160208202803683370190505b509050600160005b838110801561161d5750600e548211155b1561168757600061162d83611818565b9050866001600160a01b0316816001600160a01b031603611674578284838151811061165b5761165b612e6d565b60209081029190910101528161167081612e83565b9250505b8261167e81612e83565b9350505061160c565b5090949350505050565b6116996121bd565b601155565b6116a66121bd565b600d610cfa8282612cf2565b600b80546116bf90612c72565b80601f01602080910402602001604051908101604052809291908181526020018280546116eb90612c72565b80156117385780601f1061170d57610100808354040283529160200191611738565b820191906000526020600020905b81548152906001019060200180831161171b57829003601f168201915b505050505081565b6060816000816001600160401b0381111561175d5761175d612804565b6040519080825280602002602001820160405280156117af57816020015b60408051608081018252600080825260208083018290529282018190526060820152825260001990920191018161177b5790505b50905060005b828114611802576117dd8686838181106117d1576117d1612e6d565b90506020020135611ce5565b8282815181106117ef576117ef612e6d565b60209081029190910101526001016117b5565b50949350505050565b600a80546116bf90612c72565b6000610c1282612247565b60006001600160a01b03821661184c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6118796121bd565b61188360006122d3565b565b61188d6121bd565b601955565b61189a6121bd565b601555565b6118a76121bd565b600a610cfa8282612cf2565b6118bb6121bd565b601655565b606060008060006118d085611823565b90506000816001600160401b038111156118ec576118ec612804565b604051908082528060200260200182016040528015611915578160200160208202803683370190505b50905061194260408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146119bc5761195581612325565b915081604001516119b45781516001600160a01b03161561197557815194505b876001600160a01b0316856001600160a01b0316036119b457808387806001019850815181106119a7576119a7612e6d565b6020026020010181815250505b600101611945565b50909695505050505050565b6119d06121bd565b60006119e46008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611a2e576040519150601f19603f3d011682016040523d82523d6000602084013e611a33565b606091505b5050905080611a4157600080fd5b50565b611a4c6121bd565b601455565b611a596121bd565b600c610cfa8282612cf2565b606060038054610c2790612c72565b6060818310611a9657604051631960ccad60e11b815260040160405180910390fd5b600080611aa260005490565b90506001851015611ab257600194505b80841115611abe578093505b6000611ac987611823565b905084861015611ae85785850381811015611ae2578091505b50611aec565b5060005b6000816001600160401b03811115611b0657611b06612804565b604051908082528060200260200182016040528015611b2f578160200160208202803683370190505b50905081600003611b45579350611bf492505050565b6000611b5088611ce5565b905060008160400151611b61575080515b885b888114158015611b735750848714155b15611be857611b8181612325565b92508260400151611be05782516001600160a01b031615611ba157825191505b8a6001600160a01b0316826001600160a01b031603611be05780848880600101995081518110611bd357611bd3612e6d565b6020026020010181815250505b600101611b63565b50505092835250909150505b9392505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600d80546116bf90612c72565b611c7c6121bd565b601255565b611c896121bd565b601755565b611c99848484611024565b6001600160a01b0383163b15611cd257611cb584848484612361565b611cd2576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600c80546116bf90612c72565b6040805160808101825260008082526020820181905291810182905260608101919091526040805160808101825260008082526020820181905291810182905260608101919091526001831080611d3e57506000548310155b15611d495792915050565b611d5283612325565b9050806040015115611d645792915050565b611bf48361244d565b6000611d77610d2d565b905090565b6060611d87826120e1565b611deb5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d6d565b6000611df5612482565b601354909150610100900460ff161515600003611e9a57600d8054611e1990612c72565b80601f0160208091040260200160405190810160405280929190818152602001828054611e4590612c72565b8015611e925780601f10611e6757610100808354040283529160200191611e92565b820191906000526020600020905b815481529060010190602001808311611e7557829003601f168201915b505050505090505b6000815111611eb85760405180602001604052806000815250611bf4565b80611ec284612491565b600b604051602001611ed693929190612f0f565b6040516020818303038152906040529392505050565b611ef46121bd565b60005b8381101561101d57600e54838383818110611f1457611f14612e6d565b90506020020135611f23610d2d565b611f2d9190612e15565b1115611f4b5760405162461bcd60e51b8152600401610d6d90612e28565b611f93858583818110611f6057611f60612e6d565b9050602002016020810190611f7591906127e9565b848484818110611f8757611f87612e6d565b9050602002013561222d565b80611f9d81612e83565b915050611ef7565b611fad6121bd565b601380549115156101000261ff0019909216919091179055565b60606000600c8054611fd890612c72565b905011611ff2575060408051602081019091526000815290565b600c6040516020016120049190612f4c565b604051602081830303815290604052905090565b6120206121bd565b600e548261202c610d2d565b6120369190612e15565b11156120545760405162461bcd60e51b8152600401610d6d90612e28565b610cfa818361222d565b6120666121bd565b6001600160a01b0381166120cb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d6d565b611a41816122d3565b6120dc6121bd565b601055565b6000816001111580156120f5575060005482105b8015610c12575050600090815260046020526040902054600160e01b161590565b600061212183611818565b9050811561216057336001600160a01b03821614612160576121438133610b45565b612160576040516367d9dca160e11b815260040160405180910390fd5b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6008546001600160a01b031633146118835760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d6d565b60008261222485846124d5565b14949350505050565b610cfa828260405180602001604052806000815250612522565b6000816001116122ba575060008181526004602052604081205490600160e01b821690036122ba57806000036122b557600054821061229957604051636f96cda160e11b815260040160405180910390fd5b5b5060001901600081815260046020526040902054801561229a575b919050565b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610c1290612588565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612396903390899088908890600401612f58565b6020604051808303816000875af19250505080156123d1575060408051601f3d908101601f191682019092526123ce91810190612f95565b60015b61242f573d8080156123ff576040519150601f19603f3d011682016040523d82523d6000602084013e612404565b606091505b508051600003612427576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610c1261247d83612247565b612588565b6060600a8054610c2790612c72565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806124ab5750819003601f19909101908152919050565b600081815b845181101561251a57612506828683815181106124f9576124f9612e6d565b60200260200101516125cf565b91508061251281612e83565b9150506124da565b509392505050565b61252c83836125fb565b6001600160a01b0383163b15611592576000548281035b6125566000868380600101945086612361565b612573576040516368d2bf6b60e11b815260040160405180910390fd5b81811061254357816000541461101d57600080fd5b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b60008183106125eb576000828152602084905260409020611bf4565b5060009182526020526040902090565b60008054908290036126205760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146126cf57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612697565b50816000036126f057604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114611a4157600080fd5b60006020828403121561272157600080fd5b8135611bf4816126f9565b60005b8381101561274757818101518382015260200161272f565b50506000910152565b6000815180845261276881602086016020860161272c565b601f01601f19169290920160200192915050565b602081526000611bf46020830184612750565b6000602082840312156127a157600080fd5b5035919050565b80356001600160a01b03811681146122b557600080fd5b600080604083850312156127d257600080fd5b6127db836127a8565b946020939093013593505050565b6000602082840312156127fb57600080fd5b611bf4826127a8565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561283457612834612804565b604051601f8501601f19908116603f0116810190828211818310171561285c5761285c612804565b8160405280935085815286868601111561287557600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156128a157600080fd5b81356001600160401b038111156128b757600080fd5b8201601f810184136128c857600080fd5b6124458482356020840161281a565b803580151581146122b557600080fd5b6000602082840312156128f957600080fd5b611bf4826128d7565b60008083601f84011261291457600080fd5b5081356001600160401b0381111561292b57600080fd5b6020830191508360208260051b850101111561294657600080fd5b9250929050565b60008060006040848603121561296257600080fd5b83356001600160401b0381111561297857600080fd5b61298486828701612902565b909790965060209590950135949350505050565b6000806000606084860312156129ad57600080fd5b6129b6846127a8565b92506129c4602085016127a8565b9150604084013590509250925092565b600080604083850312156129e757600080fd5b823591506129f7602084016127a8565b90509250929050565b6020808252825182820181905260009190848201906040850190845b818110156119bc57835183529284019291840191600101612a1c565b60008060208385031215612a4b57600080fd5b82356001600160401b03811115612a6157600080fd5b612a6d85828601612902565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b818110156119bc57612ae4838551612a79565b9284019260809290920191600101612ad1565b600080600060608486031215612b0c57600080fd5b612b15846127a8565b95602085013595506040909401359392505050565b60008060408385031215612b3d57600080fd5b612b46836127a8565b91506129f7602084016128d7565b60008060008060808587031215612b6a57600080fd5b612b73856127a8565b9350612b81602086016127a8565b92506040850135915060608501356001600160401b03811115612ba357600080fd5b8501601f81018713612bb457600080fd5b612bc38782356020840161281a565b91505092959194509250565b60808101610c128284612a79565b60008060008060408587031215612bf357600080fd5b84356001600160401b0380821115612c0a57600080fd5b612c1688838901612902565b90965094506020870135915080821115612c2f57600080fd5b50612c3c87828801612902565b95989497509550505050565b60008060408385031215612c5b57600080fd5b612c64836127a8565b91506129f7602084016127a8565b600181811c90821680612c8657607f821691505b602082108103612ca657634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561159257600081815260208120601f850160051c81016020861015612cd35750805b601f850160051c820191505b818110156111b557828155600101612cdf565b81516001600160401b03811115612d0b57612d0b612804565b612d1f81612d198454612c72565b84612cac565b602080601f831160018114612d545760008415612d3c5750858301515b600019600386901b1c1916600185901b1785556111b5565b600085815260208120601f198616915b82811015612d8357888601518255948401946001909101908401612d64565b5085821015612da15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252601290820152714d696e74696e67206973205041555345442160701b604082015260600190565b6020808252600890820152674e6f20426f74732160c01b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610c1257610c12612dff565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b8082028115828204841417610c1257610c12612dff565b634e487b7160e01b600052603260045260246000fd5b600060018201612e9557612e95612dff565b5060010190565b60008154612ea981612c72565b60018281168015612ec15760018114612ed657612f05565b60ff1984168752821515830287019450612f05565b8560005260208060002060005b85811015612efc5781548a820152908401908201612ee3565b50505082870194505b5050505092915050565b60008451612f2181846020890161272c565b845190830190612f3581836020890161272c565b612f4181830186612e9c565b979650505050505050565b6000611bf48284612e9c565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f8b90830184612750565b9695505050505050565b600060208284031215612fa757600080fd5b8151611bf4816126f956fea2646970667358221220450d157e600e35b6ea4b075bf424827a95ea858fea2be458c6c29545df26b25064736f6c63430008110033697066733a2f2f6261667962656965337a6c756771696f63713363776f36686b3265706a6d6d6f756c6f7737786d6973786d796b6a35727472717270337932786d652f68747470733a2f2f7777772e6974616d692e67672f6e66742f69746d436f6e74726163742e6a736f6e

Deployed Bytecode

0x6080604052600436106103ef5760003560e01c80637ec4a65911610208578063b88d4fde11610118578063de2cc4ba116100ab578063e8a3d4851161007a578063e8a3d48514610b15578063e985e9c514610b2a578063efbd73f414610b73578063f2fde38b14610b86578063f42349ff14610ba657600080fd5b8063de2cc4ba14610aa9578063de6c6d3614610abf578063e0a8085314610adf578063e7b99ec714610aff57600080fd5b8063c71fbb71116100e7578063c71fbb7114610a27578063c87b56dd14610a5d578063ce2fc39514610a7d578063d5abeb0114610a9357600080fd5b8063b88d4fde146109bd578063c0e72740146109d0578063c23dc68f146109e5578063c4e41b2214610a1257600080fd5b8063938e3d7b1161019b578063a22cb4651161016a578063a22cb46514610932578063a45ba8e714610952578063ac0ebefb14610967578063b4638a1014610987578063b6520c54146109a757600080fd5b8063938e3d7b146108c857806395d89b41146108e857806399a2557a146108fd5780639dddc2921461091d57600080fd5b8063853828b6116101d7578063853828b61461085f5780638693da2014610874578063877850ef1461088a5780638da5cb5b146108aa57600080fd5b80637ec4a659146107e957806380eae57814610809578063815d544c146108295780638462151c1461083f57600080fd5b80632eb4a7ab116103035780635503a0e8116102965780636352211e116102655780636352211e1461075457806370a0823114610774578063715018a6146107945780637cb64759146107a95780637cd6a9a9146107c957600080fd5b80635503a0e8146106e35780635bbb2177146106f85780635c975abb1461072557806362b99ad41461073f57600080fd5b8063438b6300116102d2578063438b6300146106575780634da88859146106845780634fdd43cb146106a457806351830227146106c457600080fd5b80632eb4a7ab1461060557806340d341331461061b57806341a38e7f1461063157806342842e0e1461064457600080fd5b806318160ddd1161038657806323b872dd1161035557806323b872dd146105895780632904e6d91461059c5780632b15bbeb146105af5780632b54cf98146105c55780632e1a7d4d146105e557600080fd5b806318160ddd146105295780631abae6861461053e5780631c0de0511461055e5780631c9b80d81461057657600080fd5b80630a398b88116103c25780630a398b88146104985780630c2703e5146104d357806316ba10e0146104e957806316c38b3c1461050957600080fd5b806301ffc9a7146103f457806306fdde0314610429578063081812fc1461044b578063095ea7b314610483575b600080fd5b34801561040057600080fd5b5061041461040f36600461270f565b610bc6565b60405190151581526020015b60405180910390f35b34801561043557600080fd5b5061043e610c18565b604051610420919061277c565b34801561045757600080fd5b5061046b61046636600461278f565b610caa565b6040516001600160a01b039091168152602001610420565b6104966104913660046127bf565b610cee565b005b3480156104a457600080fd5b506104c56104b33660046127e9565b60186020526000908152604090205481565b604051908152602001610420565b3480156104df57600080fd5b506104c560115481565b3480156104f557600080fd5b5061049661050436600461288f565b610cfe565b34801561051557600080fd5b506104966105243660046128e7565b610d12565b34801561053557600080fd5b506104c5610d2d565b34801561054a57600080fd5b5061049661055936600461278f565b610d3b565b34801561056a57600080fd5b5060135460ff16610414565b61049661058436600461294d565b610d48565b610496610597366004612998565b611024565b6104966105aa36600461294d565b6111bd565b3480156105bb57600080fd5b506104c560175481565b3480156105d157600080fd5b506104966105e036600461278f565b61134b565b3480156105f157600080fd5b5061049661060036600461278f565b611358565b34801561061157600080fd5b506104c560195481565b34801561062757600080fd5b506104c5601a5481565b61049661063f3660046129d4565b61138d565b610496610652366004612998565b611597565b34801561066357600080fd5b506106776106723660046127e9565b6115b2565b6040516104209190612a00565b34801561069057600080fd5b5061049661069f36600461278f565b611691565b3480156106b057600080fd5b506104966106bf36600461288f565b61169e565b3480156106d057600080fd5b5060135461041490610100900460ff1681565b3480156106ef57600080fd5b5061043e6116b2565b34801561070457600080fd5b50610718610713366004612a38565b611740565b6040516104209190612ab5565b34801561073157600080fd5b506013546104149060ff1681565b34801561074b57600080fd5b5061043e61180b565b34801561076057600080fd5b5061046b61076f36600461278f565b611818565b34801561078057600080fd5b506104c561078f3660046127e9565b611823565b3480156107a057600080fd5b50610496611871565b3480156107b557600080fd5b506104966107c436600461278f565b611885565b3480156107d557600080fd5b506104966107e436600461278f565b611892565b3480156107f557600080fd5b5061049661080436600461288f565b61189f565b34801561081557600080fd5b5061049661082436600461278f565b6118b3565b34801561083557600080fd5b506104c560145481565b34801561084b57600080fd5b5061067761085a3660046127e9565b6118c0565b34801561086b57600080fd5b506104966119c8565b34801561088057600080fd5b506104c560165481565b34801561089657600080fd5b506104966108a536600461278f565b611a44565b3480156108b657600080fd5b506008546001600160a01b031661046b565b3480156108d457600080fd5b506104966108e336600461288f565b611a51565b3480156108f457600080fd5b5061043e611a65565b34801561090957600080fd5b50610677610918366004612af7565b611a74565b34801561092957600080fd5b506014546104c5565b34801561093e57600080fd5b5061049661094d366004612b2a565b611bfb565b34801561095e57600080fd5b5061043e611c67565b34801561097357600080fd5b5061049661098236600461278f565b611c74565b34801561099357600080fd5b506104966109a236600461278f565b611c81565b3480156109b357600080fd5b506104c560125481565b6104966109cb366004612b54565b611c8e565b3480156109dc57600080fd5b5061043e611cd8565b3480156109f157600080fd5b50610a05610a0036600461278f565b611ce5565b6040516104209190612bcf565b348015610a1e57600080fd5b506104c5611d6d565b348015610a3357600080fd5b506104c5610a423660046127e9565b6001600160a01b031660009081526018602052604090205490565b348015610a6957600080fd5b5061043e610a7836600461278f565b611d7c565b348015610a8957600080fd5b506104c560105481565b348015610a9f57600080fd5b506104c5600e5481565b348015610ab557600080fd5b506104c5600f5481565b348015610acb57600080fd5b50610496610ada366004612bdd565b611eec565b348015610aeb57600080fd5b50610496610afa3660046128e7565b611fa5565b348015610b0b57600080fd5b506104c560155481565b348015610b2157600080fd5b5061043e611fc7565b348015610b3657600080fd5b50610414610b45366004612c48565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610496610b813660046129d4565b612018565b348015610b9257600080fd5b50610496610ba13660046127e9565b61205e565b348015610bb257600080fd5b50610496610bc136600461278f565b6120d4565b60006301ffc9a760e01b6001600160e01b031983161480610bf757506380ac58cd60e01b6001600160e01b03198316145b80610c125750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610c2790612c72565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5390612c72565b8015610ca05780601f10610c7557610100808354040283529160200191610ca0565b820191906000526020600020905b815481529060010190602001808311610c8357829003601f168201915b5050505050905090565b6000610cb5826120e1565b610cd2576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b610cfa82826001612116565b5050565b610d066121bd565b600b610cfa8282612cf2565b610d1a6121bd565b6013805460ff1916911515919091179055565b600154600054036000190190565b610d436121bd565b601a55565b601354819060ff1615610d765760405162461bcd60e51b8152600401610d6d90612db1565b60405180910390fd5b333214610d955760405162461bcd60e51b8152600401610d6d90612ddd565b600e5481610da1610d2d565b610dab9190612e15565b1115610dc95760405162461bcd60e51b8152600401610d6d90612e28565b60145415610e155760405162461bcd60e51b815260206004820152601960248201527857686974656c6973742053616c65204e6f742041637469766560381b6044820152606401610d6d565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610e8f85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601a549150849050612217565b610edb5760405162461bcd60e51b815260206004820152601860248201527f4e6f74206f6e2074686520446973636f756e74204c69737400000000000000006044820152606401610d6d565b601754610ee89084612e56565b341015610f2d5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610d6d565b600083118015610f3f5750600f548311155b610f825760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610d6d565b60115433600090815260186020526040902054610fa0908590612e15565b1115610fee5760405162461bcd60e51b815260206004820152601d60248201527f4d6178204d696e7473205065722057616c6c65742052656163686564210000006044820152606401610d6d565b336000908152601860205260408120805485929061100d908490612e15565b9091555061101d9050338461222d565b5050505050565b600061102f82612247565b9050836001600160a01b0316816001600160a01b0316146110625760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176110af576110928633610b45565b6110af57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166110d657604051633a954ecd60e21b815260040160405180910390fd5b80156110e157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611173576001840160008181526004602052604081205490036111715760005481146111715760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b601354819060ff16156111e25760405162461bcd60e51b8152600401610d6d90612db1565b3332146112015760405162461bcd60e51b8152600401610d6d90612ddd565b600e548161120d610d2d565b6112179190612e15565b11156112355760405162461bcd60e51b8152600401610d6d90612e28565b601454156112815760405162461bcd60e51b815260206004820152601960248201527857686974656c6973742053616c65204e6f742041637469766560381b6044820152606401610d6d565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506112fb858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506019549150849050612217565b61133e5760405162461bcd60e51b8152602060048201526014602482015273139bdd081bdb881d1a194815da1a5d195b1a5cdd60621b6044820152606401610d6d565b601554610ee89084612e56565b6113536121bd565b600f55565b6113606121bd565b604051339082156108fc029083906000818181858888f19350505050158015610cfa573d6000803e3d6000fd5b601354829060ff16156113b25760405162461bcd60e51b8152600401610d6d90612db1565b3332146113d15760405162461bcd60e51b8152600401610d6d90612ddd565b600e54816113dd610d2d565b6113e79190612e15565b11156114055760405162461bcd60e51b8152600401610d6d90612e28565b6014546001146114505760405162461bcd60e51b81526020600482015260166024820152755075626c69632053616c65204e6f742041637469766560501b6044820152606401610d6d565b60165461145d9084612e56565b3410156114a25760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610d6d565b6000831180156114b457506010548311155b6114f75760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610d6d565b60125433600090815260186020526040902054611515908590612e15565b11156115635760405162461bcd60e51b815260206004820152601d60248201527f4d6178204d696e7473205065722057616c6c65742052656163686564210000006044820152606401610d6d565b3360009081526018602052604081208054859290611582908490612e15565b909155506115929050338461222d565b505050565b61159283838360405180602001604052806000815250611c8e565b606060006115bf83611823565b90506000816001600160401b038111156115db576115db612804565b604051908082528060200260200182016040528015611604578160200160208202803683370190505b509050600160005b838110801561161d5750600e548211155b1561168757600061162d83611818565b9050866001600160a01b0316816001600160a01b031603611674578284838151811061165b5761165b612e6d565b60209081029190910101528161167081612e83565b9250505b8261167e81612e83565b9350505061160c565b5090949350505050565b6116996121bd565b601155565b6116a66121bd565b600d610cfa8282612cf2565b600b80546116bf90612c72565b80601f01602080910402602001604051908101604052809291908181526020018280546116eb90612c72565b80156117385780601f1061170d57610100808354040283529160200191611738565b820191906000526020600020905b81548152906001019060200180831161171b57829003601f168201915b505050505081565b6060816000816001600160401b0381111561175d5761175d612804565b6040519080825280602002602001820160405280156117af57816020015b60408051608081018252600080825260208083018290529282018190526060820152825260001990920191018161177b5790505b50905060005b828114611802576117dd8686838181106117d1576117d1612e6d565b90506020020135611ce5565b8282815181106117ef576117ef612e6d565b60209081029190910101526001016117b5565b50949350505050565b600a80546116bf90612c72565b6000610c1282612247565b60006001600160a01b03821661184c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6118796121bd565b61188360006122d3565b565b61188d6121bd565b601955565b61189a6121bd565b601555565b6118a76121bd565b600a610cfa8282612cf2565b6118bb6121bd565b601655565b606060008060006118d085611823565b90506000816001600160401b038111156118ec576118ec612804565b604051908082528060200260200182016040528015611915578160200160208202803683370190505b50905061194260408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146119bc5761195581612325565b915081604001516119b45781516001600160a01b03161561197557815194505b876001600160a01b0316856001600160a01b0316036119b457808387806001019850815181106119a7576119a7612e6d565b6020026020010181815250505b600101611945565b50909695505050505050565b6119d06121bd565b60006119e46008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611a2e576040519150601f19603f3d011682016040523d82523d6000602084013e611a33565b606091505b5050905080611a4157600080fd5b50565b611a4c6121bd565b601455565b611a596121bd565b600c610cfa8282612cf2565b606060038054610c2790612c72565b6060818310611a9657604051631960ccad60e11b815260040160405180910390fd5b600080611aa260005490565b90506001851015611ab257600194505b80841115611abe578093505b6000611ac987611823565b905084861015611ae85785850381811015611ae2578091505b50611aec565b5060005b6000816001600160401b03811115611b0657611b06612804565b604051908082528060200260200182016040528015611b2f578160200160208202803683370190505b50905081600003611b45579350611bf492505050565b6000611b5088611ce5565b905060008160400151611b61575080515b885b888114158015611b735750848714155b15611be857611b8181612325565b92508260400151611be05782516001600160a01b031615611ba157825191505b8a6001600160a01b0316826001600160a01b031603611be05780848880600101995081518110611bd357611bd3612e6d565b6020026020010181815250505b600101611b63565b50505092835250909150505b9392505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600d80546116bf90612c72565b611c7c6121bd565b601255565b611c896121bd565b601755565b611c99848484611024565b6001600160a01b0383163b15611cd257611cb584848484612361565b611cd2576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600c80546116bf90612c72565b6040805160808101825260008082526020820181905291810182905260608101919091526040805160808101825260008082526020820181905291810182905260608101919091526001831080611d3e57506000548310155b15611d495792915050565b611d5283612325565b9050806040015115611d645792915050565b611bf48361244d565b6000611d77610d2d565b905090565b6060611d87826120e1565b611deb5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d6d565b6000611df5612482565b601354909150610100900460ff161515600003611e9a57600d8054611e1990612c72565b80601f0160208091040260200160405190810160405280929190818152602001828054611e4590612c72565b8015611e925780601f10611e6757610100808354040283529160200191611e92565b820191906000526020600020905b815481529060010190602001808311611e7557829003601f168201915b505050505090505b6000815111611eb85760405180602001604052806000815250611bf4565b80611ec284612491565b600b604051602001611ed693929190612f0f565b6040516020818303038152906040529392505050565b611ef46121bd565b60005b8381101561101d57600e54838383818110611f1457611f14612e6d565b90506020020135611f23610d2d565b611f2d9190612e15565b1115611f4b5760405162461bcd60e51b8152600401610d6d90612e28565b611f93858583818110611f6057611f60612e6d565b9050602002016020810190611f7591906127e9565b848484818110611f8757611f87612e6d565b9050602002013561222d565b80611f9d81612e83565b915050611ef7565b611fad6121bd565b601380549115156101000261ff0019909216919091179055565b60606000600c8054611fd890612c72565b905011611ff2575060408051602081019091526000815290565b600c6040516020016120049190612f4c565b604051602081830303815290604052905090565b6120206121bd565b600e548261202c610d2d565b6120369190612e15565b11156120545760405162461bcd60e51b8152600401610d6d90612e28565b610cfa818361222d565b6120666121bd565b6001600160a01b0381166120cb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d6d565b611a41816122d3565b6120dc6121bd565b601055565b6000816001111580156120f5575060005482105b8015610c12575050600090815260046020526040902054600160e01b161590565b600061212183611818565b9050811561216057336001600160a01b03821614612160576121438133610b45565b612160576040516367d9dca160e11b815260040160405180910390fd5b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6008546001600160a01b031633146118835760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d6d565b60008261222485846124d5565b14949350505050565b610cfa828260405180602001604052806000815250612522565b6000816001116122ba575060008181526004602052604081205490600160e01b821690036122ba57806000036122b557600054821061229957604051636f96cda160e11b815260040160405180910390fd5b5b5060001901600081815260046020526040902054801561229a575b919050565b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610c1290612588565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612396903390899088908890600401612f58565b6020604051808303816000875af19250505080156123d1575060408051601f3d908101601f191682019092526123ce91810190612f95565b60015b61242f573d8080156123ff576040519150601f19603f3d011682016040523d82523d6000602084013e612404565b606091505b508051600003612427576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610c1261247d83612247565b612588565b6060600a8054610c2790612c72565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806124ab5750819003601f19909101908152919050565b600081815b845181101561251a57612506828683815181106124f9576124f9612e6d565b60200260200101516125cf565b91508061251281612e83565b9150506124da565b509392505050565b61252c83836125fb565b6001600160a01b0383163b15611592576000548281035b6125566000868380600101945086612361565b612573576040516368d2bf6b60e11b815260040160405180910390fd5b81811061254357816000541461101d57600080fd5b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b60008183106125eb576000828152602084905260409020611bf4565b5060009182526020526040902090565b60008054908290036126205760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146126cf57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612697565b50816000036126f057604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114611a4157600080fd5b60006020828403121561272157600080fd5b8135611bf4816126f9565b60005b8381101561274757818101518382015260200161272f565b50506000910152565b6000815180845261276881602086016020860161272c565b601f01601f19169290920160200192915050565b602081526000611bf46020830184612750565b6000602082840312156127a157600080fd5b5035919050565b80356001600160a01b03811681146122b557600080fd5b600080604083850312156127d257600080fd5b6127db836127a8565b946020939093013593505050565b6000602082840312156127fb57600080fd5b611bf4826127a8565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561283457612834612804565b604051601f8501601f19908116603f0116810190828211818310171561285c5761285c612804565b8160405280935085815286868601111561287557600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156128a157600080fd5b81356001600160401b038111156128b757600080fd5b8201601f810184136128c857600080fd5b6124458482356020840161281a565b803580151581146122b557600080fd5b6000602082840312156128f957600080fd5b611bf4826128d7565b60008083601f84011261291457600080fd5b5081356001600160401b0381111561292b57600080fd5b6020830191508360208260051b850101111561294657600080fd5b9250929050565b60008060006040848603121561296257600080fd5b83356001600160401b0381111561297857600080fd5b61298486828701612902565b909790965060209590950135949350505050565b6000806000606084860312156129ad57600080fd5b6129b6846127a8565b92506129c4602085016127a8565b9150604084013590509250925092565b600080604083850312156129e757600080fd5b823591506129f7602084016127a8565b90509250929050565b6020808252825182820181905260009190848201906040850190845b818110156119bc57835183529284019291840191600101612a1c565b60008060208385031215612a4b57600080fd5b82356001600160401b03811115612a6157600080fd5b612a6d85828601612902565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b818110156119bc57612ae4838551612a79565b9284019260809290920191600101612ad1565b600080600060608486031215612b0c57600080fd5b612b15846127a8565b95602085013595506040909401359392505050565b60008060408385031215612b3d57600080fd5b612b46836127a8565b91506129f7602084016128d7565b60008060008060808587031215612b6a57600080fd5b612b73856127a8565b9350612b81602086016127a8565b92506040850135915060608501356001600160401b03811115612ba357600080fd5b8501601f81018713612bb457600080fd5b612bc38782356020840161281a565b91505092959194509250565b60808101610c128284612a79565b60008060008060408587031215612bf357600080fd5b84356001600160401b0380821115612c0a57600080fd5b612c1688838901612902565b90965094506020870135915080821115612c2f57600080fd5b50612c3c87828801612902565b95989497509550505050565b60008060408385031215612c5b57600080fd5b612c64836127a8565b91506129f7602084016127a8565b600181811c90821680612c8657607f821691505b602082108103612ca657634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561159257600081815260208120601f850160051c81016020861015612cd35750805b601f850160051c820191505b818110156111b557828155600101612cdf565b81516001600160401b03811115612d0b57612d0b612804565b612d1f81612d198454612c72565b84612cac565b602080601f831160018114612d545760008415612d3c5750858301515b600019600386901b1c1916600185901b1785556111b5565b600085815260208120601f198616915b82811015612d8357888601518255948401946001909101908401612d64565b5085821015612da15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252601290820152714d696e74696e67206973205041555345442160701b604082015260600190565b6020808252600890820152674e6f20426f74732160c01b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610c1257610c12612dff565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b8082028115828204841417610c1257610c12612dff565b634e487b7160e01b600052603260045260246000fd5b600060018201612e9557612e95612dff565b5060010190565b60008154612ea981612c72565b60018281168015612ec15760018114612ed657612f05565b60ff1984168752821515830287019450612f05565b8560005260208060002060005b85811015612efc5781548a820152908401908201612ee3565b50505082870194505b5050505092915050565b60008451612f2181846020890161272c565b845190830190612f3581836020890161272c565b612f4181830186612e9c565b979650505050505050565b6000611bf48284612e9c565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f8b90830184612750565b9695505050505050565b600060208284031215612fa757600080fd5b8151611bf4816126f956fea2646970667358221220450d157e600e35b6ea4b075bf424827a95ea858fea2be458c6c29545df26b25064736f6c63430008110033

Deployed Bytecode Sourcemap

91687:8531:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48333:639;;;;;;;;;;-1:-1:-1;48333:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;48333:639:0;;;;;;;;49235:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;55635:218::-;;;;;;;;;;-1:-1:-1;55635:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;55635:218:0;1533:203:1;55352:124:0;;;;;;:::i;:::-;;:::i;:::-;;92469:49;;;;;;;;;;-1:-1:-1;92469:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;2515:25:1;;;2503:2;2488:18;92469:49:0;2369:177:1;92146:32:0;;;;;;;;;;;;;;;;94922:104;;;;;;;;;;-1:-1:-1;94922:104:0;;;;;:::i;:::-;;:::i;95155:81::-;;;;;;;;;;-1:-1:-1;95155:81:0;;;;;:::i;:::-;;:::i;44986:323::-;;;;;;;;;;;;;:::i;93577:131::-;;;;;;;;;;-1:-1:-1;93577:131:0;;;;;:::i;:::-;;:::i;95619:82::-;;;;;;;;;;-1:-1:-1;95689:6:0;;;;95619:82;;96594:736;;;;;;:::i;:::-;;:::i;59274:2825::-;;;;;;:::i;:::-;;:::i;95870:718::-;;;;;;:::i;:::-;;:::i;92417:45::-;;;;;;;;;;;;;;;;93952:134;;;;;;;;;;-1:-1:-1;93952:134:0;;;;;:::i;:::-;;:::i;99853:104::-;;;;;;;;;;-1:-1:-1;99853:104:0;;;;;:::i;:::-;;:::i;92547:94::-;;;;;;;;;;;;;;;;92646:102;;;;;;;;;;;;;;;;97336:539;;;;;;:::i;:::-;;:::i;62195:193::-;;;;;;:::i;:::-;;:::i;98471:635::-;;;;;;;;;;-1:-1:-1;98471:635:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;93714:113::-;;;;;;;;;;-1:-1:-1;93714:113:0;;;;;:::i;:::-;;:::i;94670:136::-;;;;;;;;;;-1:-1:-1;94670:136:0;;;;;:::i;:::-;;:::i;92253:28::-;;;;;;;;;;-1:-1:-1;92253:28:0;;;;;;;;;;;91909:33;;;;;;;;;;;;;:::i;86843:528::-;;;;;;;;;;-1:-1:-1;86843:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;92223:25::-;;;;;;;;;;-1:-1:-1;92223:25:0;;;;;;;;91846:58;;;;;;;;;;;;;:::i;50628:152::-;;;;;;;;;;-1:-1:-1;50628:152:0;;;;;:::i;:::-;;:::i;46170:233::-;;;;;;;;;;-1:-1:-1;46170:233:0;;;;;:::i;:::-;;:::i;2807:103::-;;;;;;;;;;;;;:::i;93464:107::-;;;;;;;;;;-1:-1:-1;93464:107:0;;;;;:::i;:::-;;:::i;94232:111::-;;;;;;;;;;-1:-1:-1;94232:111:0;;;;;:::i;:::-;;:::i;94812:104::-;;;;;;;;;;-1:-1:-1;94812:104:0;;;;;:::i;:::-;;:::i;94468:105::-;;;;;;;;;;-1:-1:-1;94468:105:0;;;;;:::i;:::-;;:::i;92288:33::-;;;;;;;;;;;;;;;;90719:900;;;;;;;;;;-1:-1:-1;90719:900:0;;;;;:::i;:::-;;:::i;99963:140::-;;;;;;;;;;;;;:::i;92374:38::-;;;;;;;;;;;;;;;;95242:100;;;;;;;;;;-1:-1:-1;95242:100:0;;;;;:::i;:::-;;:::i;2159:87::-;;;;;;;;;;-1:-1:-1;2232:6:0;;-1:-1:-1;;;;;2232:6:0;2159:87;;95032:117;;;;;;;;;;-1:-1:-1;95032:117:0;;;;;:::i;:::-;;:::i;49411:104::-;;;;;;;;;;;;;:::i;87759:2513::-;;;;;;;;;;-1:-1:-1;87759:2513:0;;;;;:::i;:::-;;:::i;95515:96::-;;;;;;;;;;-1:-1:-1;95591:14:0;;95515:96;;56193:234;;;;;;;;;;-1:-1:-1;56193:234:0;;;;;:::i;:::-;;:::i;91983:31::-;;;;;;;;;;;;;:::i;93833:113::-;;;;;;;;;;-1:-1:-1;93833:113:0;;;;;:::i;:::-;;:::i;94349:::-;;;;;;;;;;-1:-1:-1;94349:113:0;;;;;:::i;:::-;;:::i;92183:33::-;;;;;;;;;;;;;;;;62986:407;;;;;;:::i;:::-;;:::i;91947:31::-;;;;;;;;;;;;;:::i;86256:428::-;;;;;;;;;;-1:-1:-1;86256:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;95707:92::-;;;;;;;;;;;;;:::i;95403:106::-;;;;;;;;;;-1:-1:-1;95403:106:0;;;;;:::i;:::-;-1:-1:-1;;;;;95487:16:0;95461:7;95487:16;;;:13;:16;;;;;;;95403:106;99112:532;;;;;;;;;;-1:-1:-1;99112:532:0;;;;;:::i;:::-;;:::i;92101:40::-;;;;;;;;;;;;;;;;92021:31;;;;;;;;;;;;;;;;92057:39;;;;;;;;;;;;;;;;98106:300;;;;;;;;;;-1:-1:-1;98106:300:0;;;;;:::i;:::-;;:::i;94579:85::-;;;;;;;;;;-1:-1:-1;94579:85:0;;;;;:::i;:::-;;:::i;92328:41::-;;;;;;;;;;;;;;;;99650:197;;;;;;;;;;;;;:::i;56584:164::-;;;;;;;;;;-1:-1:-1;56584:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;56705:25:0;;;56681:4;56705:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;56584:164;97881:219;;;;;;:::i;:::-;;:::i;3065:201::-;;;;;;;;;;-1:-1:-1;3065:201:0;;;;;:::i;:::-;;:::i;94092:134::-;;;;;;;;;;-1:-1:-1;94092:134:0;;;;;:::i;:::-;;:::i;48333:639::-;48418:4;-1:-1:-1;;;;;;;;;48742:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;48819:25:0;;;48742:102;:179;;;-1:-1:-1;;;;;;;;;;48896:25:0;;;48742:179;48722:199;48333:639;-1:-1:-1;;48333:639:0:o;49235:100::-;49289:13;49322:5;49315:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49235:100;:::o;55635:218::-;55711:7;55736:16;55744:7;55736;:16::i;:::-;55731:64;;55761:34;;-1:-1:-1;;;55761:34:0;;;;;;;;;;;55731:64;-1:-1:-1;55815:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;55815:30:0;;55635:218::o;55352:124::-;55441:27;55450:2;55454:7;55463:4;55441:8;:27::i;:::-;55352:124;;:::o;94922:104::-;2045:13;:11;:13::i;:::-;94998:9:::1;:22;95010:10:::0;94998:9;:22:::1;:::i;95155:81::-:0;2045:13;:11;:13::i;:::-;95215:6:::1;:15:::0;;-1:-1:-1;;95215:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;95155:81::o;44986:323::-;93117:1;45260:12;45047:7;45244:13;:28;-1:-1:-1;;45244:46:0;;44986:323::o;93577:131::-;2045:13;:11;:13::i;:::-;93665:18:::1;:37:::0;93577:131::o;96594:736::-;93233:6;;96696:11;;93233:6;;93232:7;93224:38;;;;-1:-1:-1;;;93224:38:0;;;;;;;:::i;:::-;;;;;;;;;93277:10;93291:9;93277:23;93269:44;;;;-1:-1:-1;;;93269:44:0;;;;;;;:::i;:::-;93359:9;;93344:11;93328:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;93320:73;;;;-1:-1:-1;;;93320:73:0;;;;;;;:::i;:::-;96735:14:::1;::::0;:19;96727:57:::1;;;::::0;-1:-1:-1;;;96727:57:0;;14788:2:1;96727:57:0::1;::::0;::::1;14770:21:1::0;14827:2;14807:18;;;14800:30;-1:-1:-1;;;14846:18:1;;;14839:55;14911:18;;96727:57:0::1;14586:349:1::0;96727:57:0::1;96822:28;::::0;-1:-1:-1;;96839:10:0::1;15089:2:1::0;15085:15;15081:53;96822:28:0::1;::::0;::::1;15069:66:1::0;96797:12:0::1;::::0;15151::1;;96822:28:0::1;;;;;;;;;;;;96812:39;;;;;;96797:54;;96868:58;96887:12;;96868:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;96901:18:0::1;::::0;;-1:-1:-1;96921:4:0;;-1:-1:-1;96868:18:0::1;:58::i;:::-;96860:95;;;::::0;-1:-1:-1;;;96860:95:0;;15376:2:1;96860:95:0::1;::::0;::::1;15358:21:1::0;15415:2;15395:18;;;15388:30;15454:26;15434:18;;;15427:54;15498:18;;96860:95:0::1;15174:348:1::0;96860:95:0::1;96997:14;::::0;96983:28:::1;::::0;:11;:28:::1;:::i;:::-;96970:9;:41;;96962:73;;;::::0;-1:-1:-1;;;96962:73:0;;15902:2:1;96962:73:0::1;::::0;::::1;15884:21:1::0;15941:2;15921:18;;;15914:30;-1:-1:-1;;;15960:18:1;;;15953:49;16019:18;;96962:73:0::1;15700:343:1::0;96962:73:0::1;97064:1;97050:11;:15;:54;;;;;97084:20;;97069:11;:35;;97050:54;97042:87;;;::::0;-1:-1:-1;;;97042:87:0;;16250:2:1;97042:87:0::1;::::0;::::1;16232:21:1::0;16289:2;16269:18;;;16262:30;-1:-1:-1;;;16308:18:1;;;16301:50;16368:18;;97042:87:0::1;16048:344:1::0;97042:87:0::1;97187:13;::::0;97158:10:::1;97144:25;::::0;;;:13:::1;:25;::::0;;;;;:39:::1;::::0;97172:11;;97144:39:::1;:::i;:::-;:56;;97136:98;;;::::0;-1:-1:-1;;;97136:98:0;;16599:2:1;97136:98:0::1;::::0;::::1;16581:21:1::0;16638:2;16618:18;;;16611:30;16677:31;16657:18;;;16650:59;16726:18;;97136:98:0::1;16397:353:1::0;97136:98:0::1;97257:10;97243:25;::::0;;;:13:::1;:25;::::0;;;;:40;;97272:11;;97243:25;:40:::1;::::0;97272:11;;97243:40:::1;:::i;:::-;::::0;;;-1:-1:-1;97290:34:0::1;::::0;-1:-1:-1;97300:10:0::1;97312:11:::0;97290:9:::1;:34::i;:::-;96720:610;96594:736:::0;;;;:::o;59274:2825::-;59416:27;59446;59465:7;59446:18;:27::i;:::-;59416:57;;59531:4;-1:-1:-1;;;;;59490:45:0;59506:19;-1:-1:-1;;;;;59490:45:0;;59486:86;;59544:28;;-1:-1:-1;;;59544:28:0;;;;;;;;;;;59486:86;59586:27;58382:24;;;:15;:24;;;;;58610:26;;80699:10;58007:30;;;-1:-1:-1;;;;;57700:28:0;;57985:20;;;57982:56;59772:180;;59865:43;59882:4;80699:10;56584:164;:::i;59865:43::-;59860:92;;59917:35;;-1:-1:-1;;;59917:35:0;;;;;;;;;;;59860:92;-1:-1:-1;;;;;59969:16:0;;59965:52;;59994:23;;-1:-1:-1;;;59994:23:0;;;;;;;;;;;59965:52;60166:15;60163:160;;;60306:1;60285:19;60278:30;60163:160;-1:-1:-1;;;;;60703:24:0;;;;;;;:18;:24;;;;;;60701:26;;-1:-1:-1;;60701:26:0;;;60772:22;;;;;;;;;60770:24;;-1:-1:-1;60770:24:0;;;54454:11;54429:23;54425:41;54412:63;-1:-1:-1;;;54412:63:0;61065:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;61360:47:0;;:52;;61356:627;;61465:1;61455:11;;61433:19;61588:30;;;:17;:30;;;;;;:35;;61584:384;;61726:13;;61711:11;:28;61707:242;;61873:30;;;;:17;:30;;;;;:52;;;61707:242;61414:569;61356:627;62030:7;62026:2;-1:-1:-1;;;;;62011:27:0;62020:4;-1:-1:-1;;;;;62011:27:0;;;;;;;;;;;62049:42;59405:2694;;;59274:2825;;;:::o;95870:718::-;93233:6;;95971:11;;93233:6;;93232:7;93224:38;;;;-1:-1:-1;;;93224:38:0;;;;;;;:::i;:::-;93277:10;93291:9;93277:23;93269:44;;;;-1:-1:-1;;;93269:44:0;;;;;;;:::i;:::-;93359:9;;93344:11;93328:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;93320:73;;;;-1:-1:-1;;;93320:73:0;;;;;;;:::i;:::-;96010:14:::1;::::0;:19;96002:57:::1;;;::::0;-1:-1:-1;;;96002:57:0;;14788:2:1;96002:57:0::1;::::0;::::1;14770:21:1::0;14827:2;14807:18;;;14800:30;-1:-1:-1;;;14846:18:1;;;14839:55;14911:18;;96002:57:0::1;14586:349:1::0;96002:57:0::1;96093:28;::::0;-1:-1:-1;;96110:10:0::1;15089:2:1::0;15085:15;15081:53;96093:28:0::1;::::0;::::1;15069:66:1::0;96068:12:0::1;::::0;15151::1;;96093:28:0::1;;;;;;;;;;;;96083:39;;;;;;96068:54;;96139:50;96158:12;;96139:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;96172:10:0::1;::::0;;-1:-1:-1;96184:4:0;;-1:-1:-1;96139:18:0::1;:50::i;:::-;96131:83;;;::::0;-1:-1:-1;;;96131:83:0;;16957:2:1;96131:83:0::1;::::0;::::1;16939:21:1::0;16996:2;16976:18;;;16969:30;-1:-1:-1;;;17015:18:1;;;17008:50;17075:18;;96131:83:0::1;16755:344:1::0;96131:83:0::1;96256:13;::::0;96242:27:::1;::::0;:11;:27:::1;:::i;93952:134::-:0;2045:13;:11;:13::i;:::-;94038:20:::1;:42:::0;93952:134::o;99853:104::-;2045:13;:11;:13::i;:::-;99915:36:::1;::::0;99923:10:::1;::::0;99915:36;::::1;;;::::0;99944:6;;99915:36:::1;::::0;;;99944:6;99923:10;99915:36;::::1;;;;;;;;;;;;;::::0;::::1;;;;97336:539:::0;93233:6;;97419:11;;93233:6;;93232:7;93224:38;;;;-1:-1:-1;;;93224:38:0;;;;;;;:::i;:::-;93277:10;93291:9;93277:23;93269:44;;;;-1:-1:-1;;;93269:44:0;;;;;;;:::i;:::-;93359:9;;93344:11;93328:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;93320:73;;;;-1:-1:-1;;;93320:73:0;;;;;;;:::i;:::-;97458:14:::1;;97476:1;97458:19;97450:54;;;::::0;-1:-1:-1;;;97450:54:0;;17306:2:1;97450:54:0::1;::::0;::::1;17288:21:1::0;17345:2;17325:18;;;17318:30;-1:-1:-1;;;17364:18:1;;;17357:52;17426:18;;97450:54:0::1;17104:346:1::0;97450:54:0::1;97546:10;::::0;97532:24:::1;::::0;:11;:24:::1;:::i;:::-;97519:9;:37;;97511:69;;;::::0;-1:-1:-1;;;97511:69:0;;15902:2:1;97511:69:0::1;::::0;::::1;15884:21:1::0;15941:2;15921:18;;;15914:30;-1:-1:-1;;;15960:18:1;;;15953:49;16019:18;;97511:69:0::1;15700:343:1::0;97511:69:0::1;97609:1;97595:11;:15;:54;;;;;97629:20;;97614:11;:35;;97595:54;97587:87;;;::::0;-1:-1:-1;;;97587:87:0;;16250:2:1;97587:87:0::1;::::0;::::1;16232:21:1::0;16289:2;16269:18;;;16262:30;-1:-1:-1;;;16308:18:1;;;16301:50;16368:18;;97587:87:0::1;16048:344:1::0;97587:87:0::1;97732:13;::::0;97703:10:::1;97689:25;::::0;;;:13:::1;:25;::::0;;;;;:39:::1;::::0;97717:11;;97689:39:::1;:::i;:::-;:56;;97681:98;;;::::0;-1:-1:-1;;;97681:98:0;;16599:2:1;97681:98:0::1;::::0;::::1;16581:21:1::0;16638:2;16618:18;;;16611:30;16677:31;16657:18;;;16650:59;16726:18;;97681:98:0::1;16397:353:1::0;97681:98:0::1;97802:10;97788:25;::::0;;;:13:::1;:25;::::0;;;;:40;;97817:11;;97788:25;:40:::1;::::0;97817:11;;97788:40:::1;:::i;:::-;::::0;;;-1:-1:-1;97835:34:0::1;::::0;-1:-1:-1;97845:10:0::1;97857:11:::0;97835:9:::1;:34::i;:::-;97336:539:::0;;;:::o;62195:193::-;62341:39;62358:4;62364:2;62368:7;62341:39;;;;;;;;;;;;:16;:39::i;98471:635::-;98546:16;98574:23;98600:17;98610:6;98600:9;:17::i;:::-;98574:43;;98624:30;98671:15;-1:-1:-1;;;;;98657:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;98657:30:0;-1:-1:-1;98624:63:0;-1:-1:-1;98719:1:0;98694:22;98763:309;98788:15;98770;:33;:64;;;;;98825:9;;98807:14;:27;;98770:64;98763:309;;;98845:25;98873:23;98881:14;98873:7;:23::i;:::-;98845:51;;98932:6;-1:-1:-1;;;;;98911:27:0;:17;-1:-1:-1;;;;;98911:27:0;;98907:131;;98984:14;98951:13;98965:15;98951:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;99011:17;;;;:::i;:::-;;;;98907:131;99048:16;;;;:::i;:::-;;;;98836:236;98763:309;;;-1:-1:-1;99087:13:0;;98471:635;-1:-1:-1;;;;98471:635:0:o;93714:113::-;2045:13;:11;:13::i;:::-;93793::::1;:28:::0;93714:113::o;94670:136::-;2045:13;:11;:13::i;:::-;94762:17:::1;:38;94782:18:::0;94762:17;:38:::1;:::i;91909:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;86843:528::-;86987:23;87078:8;87053:22;87078:8;-1:-1:-1;;;;;87145:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87145:36:0;;-1:-1:-1;;87145:36:0;;;;;;;;;;;;87108:73;;87201:9;87196:125;87217:14;87212:1;:19;87196:125;;87273:32;87293:8;;87302:1;87293:11;;;;;;;:::i;:::-;;;;;;;87273:19;:32::i;:::-;87257:10;87268:1;87257:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;87233:3;;87196:125;;;-1:-1:-1;87342:10:0;86843:528;-1:-1:-1;;;;86843:528:0:o;91846:58::-;;;;;;;:::i;50628:152::-;50700:7;50743:27;50762:7;50743:18;:27::i;46170:233::-;46242:7;-1:-1:-1;;;;;46266:19:0;;46262:60;;46294:28;;-1:-1:-1;;;46294:28:0;;;;;;;;;;;46262:60;-1:-1:-1;;;;;;46340:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;46340:55:0;;46170:233::o;2807:103::-;2045:13;:11;:13::i;:::-;2872:30:::1;2899:1;2872:18;:30::i;:::-;2807:103::o:0;93464:107::-;2045:13;:11;:13::i;:::-;93539:10:::1;:26:::0;93464:107::o;94232:111::-;2045:13;:11;:13::i;:::-;94312::::1;:25:::0;94232:111::o;94812:104::-;2045:13;:11;:13::i;:::-;94888:9:::1;:22;94900:10:::0;94888:9;:22:::1;:::i;94468:105::-:0;2045:13;:11;:13::i;:::-;94545:10:::1;:22:::0;94468:105::o;90719:900::-;90797:16;90851:19;90885:25;90925:22;90950:16;90960:5;90950:9;:16::i;:::-;90925:41;;90981:25;91023:14;-1:-1:-1;;;;;91009:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;91009:29:0;;90981:57;;91053:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91053:31:0;93117:1;91099:472;91148:14;91133:11;:29;91099:472;;91200:15;91213:1;91200:12;:15::i;:::-;91188:27;;91238:9;:16;;;91279:8;91234:73;91329:14;;-1:-1:-1;;;;;91329:28:0;;91325:111;;91402:14;;;-1:-1:-1;91325:111:0;91479:5;-1:-1:-1;;;;;91458:26:0;:17;-1:-1:-1;;;;;91458:26:0;;91454:102;;91535:1;91509:8;91518:13;;;;;;91509:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;91454:102;91164:3;;91099:472;;;-1:-1:-1;91592:8:0;;90719:900;-1:-1:-1;;;;;;90719:900:0:o;99963:140::-;2045:13;:11;:13::i;:::-;100011:7:::1;100032;2232:6:::0;;-1:-1:-1;;;;;2232:6:0;;2159:87;100032:7:::1;-1:-1:-1::0;;;;;100024:21:0::1;100053;100024:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100010:69;;;100094:2;100086:11;;;::::0;::::1;;100003:100;99963:140::o:0;95242:100::-;2045:13;:11;:13::i;:::-;95313:14:::1;:23:::0;95242:100::o;95032:117::-;2045:13;:11;:13::i;:::-;95114:12:::1;:29;95129:14:::0;95114:12;:29:::1;:::i;49411:104::-:0;49467:13;49500:7;49493:14;;;;;:::i;87759:2513::-;87902:16;87969:4;87960:5;:13;87956:45;;87982:19;;-1:-1:-1;;;87982:19:0;;;;;;;;;;;87956:45;88016:19;88050:17;88070:14;44728:7;44755:13;;44673:103;88070:14;88050:34;-1:-1:-1;93117:1:0;88162:5;:23;88158:87;;;93117:1;88206:23;;88158:87;88321:9;88314:4;:16;88310:73;;;88358:9;88351:16;;88310:73;88397:25;88425:16;88435:5;88425:9;:16::i;:::-;88397:44;;88619:4;88611:5;:12;88607:278;;;88666:12;;;88701:31;;;88697:111;;;88777:11;88757:31;;88697:111;88625:198;88607:278;;;-1:-1:-1;88868:1:0;88607:278;88899:25;88941:17;-1:-1:-1;;;;;88927:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;88927:32:0;;88899:60;;88978:17;88999:1;88978:22;88974:78;;89028:8;-1:-1:-1;89021:15:0;;-1:-1:-1;;;89021:15:0;88974:78;89196:31;89230:26;89250:5;89230:19;:26::i;:::-;89196:60;;89271:25;89516:9;:16;;;89511:92;;-1:-1:-1;89573:14:0;;89511:92;89634:5;89617:478;89646:4;89641:1;:9;;:45;;;;;89669:17;89654:11;:32;;89641:45;89617:478;;;89724:15;89737:1;89724:12;:15::i;:::-;89712:27;;89762:9;:16;;;89803:8;89758:73;89853:14;;-1:-1:-1;;;;;89853:28:0;;89849:111;;89926:14;;;-1:-1:-1;89849:111:0;90003:5;-1:-1:-1;;;;;89982:26:0;:17;-1:-1:-1;;;;;89982:26:0;;89978:102;;90059:1;90033:8;90042:13;;;;;;90033:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;89978:102;89688:3;;89617:478;;;-1:-1:-1;;;90180:29:0;;;-1:-1:-1;90187:8:0;;-1:-1:-1;;87759:2513:0;;;;;;:::o;56193:234::-;80699:10;56288:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;56288:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;56288:60:0;;;;;;;;;;56364:55;;540:41:1;;;56288:49:0;;80699:10;56364:55;;513:18:1;56364:55:0;;;;;;;56193:234;;:::o;91983:31::-;;;;;;;:::i;93833:113::-;2045:13;:11;:13::i;:::-;93912::::1;:28:::0;93833:113::o;94349:::-;2045:13;:11;:13::i;:::-;94430:14:::1;:26:::0;94349:113::o;62986:407::-;63161:31;63174:4;63180:2;63184:7;63161:12;:31::i;:::-;-1:-1:-1;;;;;63207:14:0;;;:19;63203:183;;63246:56;63277:4;63283:2;63287:7;63296:5;63246:30;:56::i;:::-;63241:145;;63330:40;;-1:-1:-1;;;63330:40:0;;;;;;;;;;;63241:145;62986:407;;;;:::o;91947:31::-;;;;;;;:::i;86256:428::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93117:1:0;86420:7;:25;:54;;;-1:-1:-1;44728:7:0;44755:13;86449:7;:25;;86420:54;86416:103;;;86498:9;86256:428;-1:-1:-1;;86256:428:0:o;86416:103::-;86541:21;86554:7;86541:12;:21::i;:::-;86529:33;;86577:9;:16;;;86573:65;;;86617:9;86256:428;-1:-1:-1;;86256:428:0:o;86573:65::-;86655:21;86668:7;86655:12;:21::i;95707:92::-;95754:7;95780:13;:11;:13::i;:::-;95773:20;;95707:92;:::o;99112:532::-;99231:13;99272:17;99280:8;99272:7;:17::i;:::-;99256:98;;;;-1:-1:-1;;;99256:98:0;;18139:2:1;99256:98:0;;;18121:21:1;18178:2;18158:18;;;18151:30;18217:34;18197:18;;;18190:62;-1:-1:-1;;;18268:18:1;;;18261:45;18323:19;;99256:98:0;17937:411:1;99256:98:0;99363:28;99394:10;:8;:10::i;:::-;99417:8;;99363:41;;-1:-1:-1;99417:8:0;;;;;:17;;99429:5;99417:17;99413:74;;99462:17;99445:34;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99413:74;99539:1;99514:14;99508:28;:32;:130;;;;;;;;;;;;;;;;;99576:14;99592:19;99602:8;99592:9;:19::i;:::-;99613:9;99559:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;99501:137;99112:532;-1:-1:-1;;;99112:532:0:o;98106:300::-;2045:13;:11;:13::i;:::-;98227:9:::1;98222:179;98238:20:::0;;::::1;98222:179;;;98316:9;;98303:6;;98310:1;98303:9;;;;;;;:::i;:::-;;;;;;;98287:13;:11;:13::i;:::-;:25;;;;:::i;:::-;:38;;98279:71;;;;-1:-1:-1::0;;;98279:71:0::1;;;;;;;:::i;:::-;98359:34;98369:9;;98379:1;98369:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;98383:6;;98390:1;98383:9;;;;;;;:::i;:::-;;;;;;;98359;:34::i;:::-;98260:3:::0;::::1;::::0;::::1;:::i;:::-;;;;98222:179;;94579:85:::0;2045:13;:11;:13::i;:::-;94641:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;94641:17:0;;::::1;::::0;;;::::1;::::0;;94579:85::o;99650:197::-;99706:13;99772:1;99749:12;99743:26;;;;;:::i;:::-;;;:30;:98;;-1:-1:-1;99743:98:0;;;;;;;;;-1:-1:-1;99743:98:0;;;95707:92::o;99743:98::-;99811:12;99794:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;99736:105;;99650:197;:::o;97881:219::-;2045:13;:11;:13::i;:::-;98020:9:::1;;98005:11;97989:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;97981:73;;;;-1:-1:-1::0;;;97981:73:0::1;;;;;;;:::i;:::-;98061:33;98071:9;98082:11;98061:9;:33::i;3065:201::-:0;2045:13;:11;:13::i;:::-;-1:-1:-1;;;;;3154:22:0;::::1;3146:73;;;::::0;-1:-1:-1;;;3146:73:0;;20065:2:1;3146:73:0::1;::::0;::::1;20047:21:1::0;20104:2;20084:18;;;20077:30;20143:34;20123:18;;;20116:62;-1:-1:-1;;;20194:18:1;;;20187:36;20240:19;;3146:73:0::1;19863:402:1::0;3146:73:0::1;3230:28;3249:8;3230:18;:28::i;94092:134::-:0;2045:13;:11;:13::i;:::-;94178:20:::1;:42:::0;94092:134::o;57006:282::-;57071:4;57127:7;93117:1;57108:26;;:66;;;;;57161:13;;57151:7;:23;57108:66;:153;;;;-1:-1:-1;;57212:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;57212:44:0;:49;;57006:282::o;74064:492::-;74193:13;74209:16;74217:7;74209;:16::i;:::-;74193:32;;74242:13;74238:219;;;80699:10;-1:-1:-1;;;;;74274:28:0;;;74270:187;;74326:44;74343:5;80699:10;56584:164;:::i;74326:44::-;74321:136;;74402:35;;-1:-1:-1;;;74402:35:0;;;;;;;;;;;74321:136;74469:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;74469:35:0;-1:-1:-1;;;;;74469:35:0;;;;;;;;;74520:28;;74469:24;;74520:28;;;;;;;74182:374;74064:492;;;:::o;2324:132::-;2232:6;;-1:-1:-1;;;;;2232:6:0;80699:10;2388:23;2380:68;;;;-1:-1:-1;;;2380:68:0;;20472:2:1;2380:68:0;;;20454:21:1;;;20491:18;;;20484:30;20550:34;20530:18;;;20523:62;20602:18;;2380:68:0;20270:356:1;21510:190:0;21635:4;21688;21659:25;21672:5;21679:4;21659:12;:25::i;:::-;:33;;21510:190;-1:-1:-1;;;;21510:190:0:o;73146:112::-;73223:27;73233:2;73237:8;73223:27;;;;;;;;;;;;:9;:27::i;51783:1712::-;51850:14;51900:7;93117:1;51881:26;51877:1562;;-1:-1:-1;51933:26:0;;;;:17;:26;;;;;;;-1:-1:-1;;;52009:24:0;;:29;;52005:1423;;52148:6;52158:1;52148:11;52144:981;;52199:13;;52188:7;:24;52184:68;;52221:31;;-1:-1:-1;;;52221:31:0;;;;;;;;;;;52184:68;52849:257;-1:-1:-1;;;52953:9:0;52935:28;;;;:17;:28;;;;;;53017:25;;52849:257;53017:25;;51783:1712;;;:::o;52005:1423::-;53456:31;;-1:-1:-1;;;53456:31:0;;;;;;;;;;;3426:191;3519:6;;;-1:-1:-1;;;;;3536:17:0;;;-1:-1:-1;;;;;;3536:17:0;;;;;;;3569:40;;3519:6;;;3536:17;3519:6;;3569:40;;3500:16;;3569:40;3489:128;3426:191;:::o;51231:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51359:24:0;;;;:17;:24;;;;;;51340:44;;:18;:44::i;65477:716::-;65661:88;;-1:-1:-1;;;65661:88:0;;65640:4;;-1:-1:-1;;;;;65661:45:0;;;;;:88;;80699:10;;65728:4;;65734:7;;65743:5;;65661:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65661:88:0;;;;;;;;-1:-1:-1;;65661:88:0;;;;;;;;;;;;:::i;:::-;;;65657:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65944:6;:13;65961:1;65944:18;65940:235;;65990:40;;-1:-1:-1;;;65990:40:0;;;;;;;;;;;65940:235;66133:6;66127:13;66118:6;66114:2;66110:15;66103:38;65657:529;-1:-1:-1;;;;;;65820:64:0;-1:-1:-1;;;65820:64:0;;-1:-1:-1;65657:529:0;65477:716;;;;;;:::o;50969:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51080:47:0;51099:27;51118:7;51099:18;:27::i;:::-;51080:18;:47::i;100109:104::-;100169:13;100198:9;100191:16;;;;;:::i;80819:1745::-;80884:17;81318:4;81311;81305:11;81301:22;81410:1;81404:4;81397:15;81485:4;81482:1;81478:12;81471:19;;;81567:1;81562:3;81555:14;81671:3;81910:5;81892:428;81958:1;81953:3;81949:11;81942:18;;82129:2;82123:4;82119:13;82115:2;82111:22;82106:3;82098:36;82223:2;82213:13;;82280:25;81892:428;82280:25;-1:-1:-1;82350:13:0;;;-1:-1:-1;;82465:14:0;;;82527:19;;;82465:14;80819:1745;-1:-1:-1;80819:1745:0:o;22377:296::-;22460:7;22503:4;22460:7;22518:118;22542:5;:12;22538:1;:16;22518:118;;;22591:33;22601:12;22615:5;22621:1;22615:8;;;;;;;;:::i;:::-;;;;;;;22591:9;:33::i;:::-;22576:48;-1:-1:-1;22556:3:0;;;;:::i;:::-;;;;22518:118;;;-1:-1:-1;22653:12:0;22377:296;-1:-1:-1;;;22377:296:0:o;72373:689::-;72504:19;72510:2;72514:8;72504:5;:19::i;:::-;-1:-1:-1;;;;;72565:14:0;;;:19;72561:483;;72605:11;72619:13;72667:14;;;72700:233;72731:62;72770:1;72774:2;72778:7;;;;;;72787:5;72731:30;:62::i;:::-;72726:167;;72829:40;;-1:-1:-1;;;72829:40:0;;;;;;;;;;;72726:167;72928:3;72920:5;:11;72700:233;;73015:3;72998:13;;:20;72994:34;;73020:8;;;53594:366;-1:-1:-1;;;;;;;;;;;;;53704:41:0;;;;40988:3;53790:33;;;-1:-1:-1;;;;;53756:68:0;-1:-1:-1;;;53756:68:0;-1:-1:-1;;;53854:24:0;;:29;;-1:-1:-1;;;53835:48:0;;;;41509:3;53923:28;;;;-1:-1:-1;;;53894:58:0;-1:-1:-1;53594:366:0:o;29417:149::-;29480:7;29511:1;29507;:5;:51;;29642:13;29736:15;;;29772:4;29765:15;;;29819:4;29803:21;;29507:51;;;-1:-1:-1;29642:13:0;29736:15;;;29772:4;29765:15;29819:4;29803:21;;;29417:149::o;66655:2966::-;66728:20;66751:13;;;66779;;;66775:44;;66801:18;;-1:-1:-1;;;66801:18:0;;;;;;;;;;;66775:44;-1:-1:-1;;;;;67307:22:0;;;;;;:18;:22;;;;40467:2;67307:22;;;:71;;67345:32;67333:45;;67307:71;;;67621:31;;;:17;:31;;;;;-1:-1:-1;54885:15:0;;54859:24;54855:46;54454:11;54429:23;54425:41;54422:52;54412:63;;67621:173;;67856:23;;;;67621:31;;67307:22;;68621:25;67307:22;;68474:335;69135:1;69121:12;69117:20;69075:346;69176:3;69167:7;69164:16;69075:346;;69394:7;69384:8;69381:1;69354:25;69351:1;69348;69343:59;69229:1;69216:15;69075:346;;;69079:77;69454:8;69466:1;69454:13;69450:45;;69476:19;;-1:-1:-1;;;69476:19:0;;;;;;;;;;;69450:45;69512:13;:19;-1:-1:-1;97336:539:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;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:1;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:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;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:1: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:127::-;2612:10;2607:3;2603:20;2600:1;2593:31;2643:4;2640:1;2633:15;2667:4;2664:1;2657:15;2683:632;2748:5;-1:-1:-1;;;;;2819:2:1;2811:6;2808:14;2805:40;;;2825:18;;:::i;:::-;2900:2;2894:9;2868:2;2954:15;;-1:-1:-1;;2950:24:1;;;2976:2;2946:33;2942:42;2930:55;;;3000:18;;;3020:22;;;2997:46;2994:72;;;3046:18;;:::i;:::-;3086:10;3082:2;3075:22;3115:6;3106:15;;3145:6;3137;3130:22;3185:3;3176:6;3171:3;3167:16;3164:25;3161:45;;;3202:1;3199;3192:12;3161:45;3252:6;3247:3;3240:4;3232:6;3228:17;3215:44;3307:1;3300:4;3291:6;3283;3279:19;3275:30;3268:41;;;;2683:632;;;;;:::o;3320:451::-;3389:6;3442:2;3430:9;3421:7;3417:23;3413:32;3410:52;;;3458:1;3455;3448:12;3410:52;3498:9;3485:23;-1:-1:-1;;;;;3523:6:1;3520:30;3517:50;;;3563:1;3560;3553:12;3517:50;3586:22;;3639:4;3631:13;;3627:27;-1:-1:-1;3617:55:1;;3668:1;3665;3658:12;3617:55;3691:74;3757:7;3752:2;3739:16;3734:2;3730;3726:11;3691:74;:::i;3776:160::-;3841:20;;3897:13;;3890:21;3880:32;;3870:60;;3926:1;3923;3916:12;3941:180;3997:6;4050:2;4038:9;4029:7;4025:23;4021:32;4018:52;;;4066:1;4063;4056:12;4018:52;4089:26;4105:9;4089:26;:::i;4311:367::-;4374:8;4384:6;4438:3;4431:4;4423:6;4419:17;4415:27;4405:55;;4456:1;4453;4446:12;4405:55;-1:-1:-1;4479:20:1;;-1:-1:-1;;;;;4511:30:1;;4508:50;;;4554:1;4551;4544:12;4508:50;4591:4;4583:6;4579:17;4567:29;;4651:3;4644:4;4634:6;4631:1;4627:14;4619:6;4615:27;4611:38;4608:47;4605:67;;;4668:1;4665;4658:12;4605:67;4311:367;;;;;:::o;4683:505::-;4778:6;4786;4794;4847:2;4835:9;4826:7;4822:23;4818:32;4815:52;;;4863:1;4860;4853:12;4815:52;4903:9;4890:23;-1:-1:-1;;;;;4928:6:1;4925:30;4922:50;;;4968:1;4965;4958:12;4922:50;5007:70;5069:7;5060:6;5049:9;5045:22;5007:70;:::i;:::-;5096:8;;4981:96;;-1:-1:-1;5178:2:1;5163:18;;;;5150:32;;4683:505;-1:-1:-1;;;;4683:505:1:o;5193:328::-;5270:6;5278;5286;5339:2;5327:9;5318:7;5314:23;5310:32;5307:52;;;5355:1;5352;5345:12;5307:52;5378:29;5397:9;5378:29;:::i;:::-;5368:39;;5426:38;5460:2;5449:9;5445:18;5426:38;:::i;:::-;5416:48;;5511:2;5500:9;5496:18;5483:32;5473:42;;5193:328;;;;;:::o;5708:254::-;5776:6;5784;5837:2;5825:9;5816:7;5812:23;5808:32;5805:52;;;5853:1;5850;5843:12;5805:52;5889:9;5876:23;5866:33;;5918:38;5952:2;5941:9;5937:18;5918:38;:::i;:::-;5908:48;;5708:254;;;;;:::o;5967:632::-;6138:2;6190:21;;;6260:13;;6163:18;;;6282:22;;;6109:4;;6138:2;6361:15;;;;6335:2;6320:18;;;6109:4;6404:169;6418:6;6415:1;6412:13;6404:169;;;6479:13;;6467:26;;6548:15;;;;6513:12;;;;6440:1;6433:9;6404:169;;6604:437;6690:6;6698;6751:2;6739:9;6730:7;6726:23;6722:32;6719:52;;;6767:1;6764;6757:12;6719:52;6807:9;6794:23;-1:-1:-1;;;;;6832:6:1;6829:30;6826:50;;;6872:1;6869;6862:12;6826:50;6911:70;6973:7;6964:6;6953:9;6949:22;6911:70;:::i;:::-;7000:8;;6885:96;;-1:-1:-1;6604:437:1;-1:-1:-1;;;;6604:437:1:o;7046:349::-;7130:12;;-1:-1:-1;;;;;7126:38:1;7114:51;;7218:4;7207:16;;;7201:23;-1:-1:-1;;;;;7197:48:1;7181:14;;;7174:72;7309:4;7298:16;;;7292:23;7285:31;7278:39;7262:14;;;7255:63;7371:4;7360:16;;;7354:23;7379:8;7350:38;7334:14;;7327:62;7046:349::o;7400:724::-;7635:2;7687:21;;;7757:13;;7660:18;;;7779:22;;;7606:4;;7635:2;7858:15;;;;7832:2;7817:18;;;7606:4;7901:197;7915:6;7912:1;7909:13;7901:197;;;7964:52;8012:3;8003:6;7997:13;7964:52;:::i;:::-;8073:15;;;;8045:4;8036:14;;;;;7937:1;7930:9;7901:197;;8129:322;8206:6;8214;8222;8275:2;8263:9;8254:7;8250:23;8246:32;8243:52;;;8291:1;8288;8281:12;8243:52;8314:29;8333:9;8314:29;:::i;:::-;8304:39;8390:2;8375:18;;8362:32;;-1:-1:-1;8441:2:1;8426:18;;;8413:32;;8129:322;-1:-1:-1;;;8129:322:1:o;8456:254::-;8521:6;8529;8582:2;8570:9;8561:7;8557:23;8553:32;8550:52;;;8598:1;8595;8588:12;8550:52;8621:29;8640:9;8621:29;:::i;:::-;8611:39;;8669:35;8700:2;8689:9;8685:18;8669:35;:::i;8715:667::-;8810:6;8818;8826;8834;8887:3;8875:9;8866:7;8862:23;8858:33;8855:53;;;8904:1;8901;8894:12;8855:53;8927:29;8946:9;8927:29;:::i;:::-;8917:39;;8975:38;9009:2;8998:9;8994:18;8975:38;:::i;:::-;8965:48;;9060:2;9049:9;9045:18;9032:32;9022:42;;9115:2;9104:9;9100:18;9087:32;-1:-1:-1;;;;;9134:6:1;9131:30;9128:50;;;9174:1;9171;9164:12;9128:50;9197:22;;9250:4;9242:13;;9238:27;-1:-1:-1;9228:55:1;;9279:1;9276;9269:12;9228:55;9302:74;9368:7;9363:2;9350:16;9345:2;9341;9337:11;9302:74;:::i;:::-;9292:84;;;8715:667;;;;;;;:::o;9387:268::-;9585:3;9570:19;;9598:51;9574:9;9631:6;9598:51;:::i;9660:773::-;9782:6;9790;9798;9806;9859:2;9847:9;9838:7;9834:23;9830:32;9827:52;;;9875:1;9872;9865:12;9827:52;9915:9;9902:23;-1:-1:-1;;;;;9985:2:1;9977:6;9974:14;9971:34;;;10001:1;9998;9991:12;9971:34;10040:70;10102:7;10093:6;10082:9;10078:22;10040:70;:::i;:::-;10129:8;;-1:-1:-1;10014:96:1;-1:-1:-1;10217:2:1;10202:18;;10189:32;;-1:-1:-1;10233:16:1;;;10230:36;;;10262:1;10259;10252:12;10230:36;;10301:72;10365:7;10354:8;10343:9;10339:24;10301:72;:::i;:::-;9660:773;;;;-1:-1:-1;10392:8:1;-1:-1:-1;;;;9660:773:1:o;10438:260::-;10506:6;10514;10567:2;10555:9;10546:7;10542:23;10538:32;10535:52;;;10583:1;10580;10573:12;10535:52;10606:29;10625:9;10606:29;:::i;:::-;10596:39;;10654:38;10688:2;10677:9;10673:18;10654:38;:::i;10703:380::-;10782:1;10778:12;;;;10825;;;10846:61;;10900:4;10892:6;10888:17;10878:27;;10846:61;10953:2;10945:6;10942:14;10922:18;10919:38;10916:161;;10999:10;10994:3;10990:20;10987:1;10980:31;11034:4;11031:1;11024:15;11062:4;11059:1;11052:15;10916:161;;10703:380;;;:::o;11214:545::-;11316:2;11311:3;11308:11;11305:448;;;11352:1;11377:5;11373:2;11366:17;11422:4;11418:2;11408:19;11492:2;11480:10;11476:19;11473:1;11469:27;11463:4;11459:38;11528:4;11516:10;11513:20;11510:47;;;-1:-1:-1;11551:4:1;11510:47;11606:2;11601:3;11597:12;11594:1;11590:20;11584:4;11580:31;11570:41;;11661:82;11679:2;11672:5;11669:13;11661:82;;;11724:17;;;11705:1;11694:13;11661:82;;11935:1352;12061:3;12055:10;-1:-1:-1;;;;;12080:6:1;12077:30;12074:56;;;12110:18;;:::i;:::-;12139:97;12229:6;12189:38;12221:4;12215:11;12189:38;:::i;:::-;12183:4;12139:97;:::i;:::-;12291:4;;12355:2;12344:14;;12372:1;12367:663;;;;13074:1;13091:6;13088:89;;;-1:-1:-1;13143:19:1;;;13137:26;13088:89;-1:-1:-1;;11892:1:1;11888:11;;;11884:24;11880:29;11870:40;11916:1;11912:11;;;11867:57;13190:81;;12337:944;;12367:663;11161:1;11154:14;;;11198:4;11185:18;;-1:-1:-1;;12403:20:1;;;12521:236;12535:7;12532:1;12529:14;12521:236;;;12624:19;;;12618:26;12603:42;;12716:27;;;;12684:1;12672:14;;;;12551:19;;12521:236;;;12525:3;12785:6;12776:7;12773:19;12770:201;;;12846:19;;;12840:26;-1:-1:-1;;12929:1:1;12925:14;;;12941:3;12921:24;12917:37;12913:42;12898:58;12883:74;;12770:201;-1:-1:-1;;;;;13017:1:1;13001:14;;;12997:22;12984:36;;-1:-1:-1;11935:1352:1:o;13292:342::-;13494:2;13476:21;;;13533:2;13513:18;;;13506:30;-1:-1:-1;;;13567:2:1;13552:18;;13545:48;13625:2;13610:18;;13292:342::o;13639:331::-;13841:2;13823:21;;;13880:1;13860:18;;;13853:29;-1:-1:-1;;;13913:2:1;13898:18;;13891:38;13961:2;13946:18;;13639:331::o;13975:127::-;14036:10;14031:3;14027:20;14024:1;14017:31;14067:4;14064:1;14057:15;14091:4;14088:1;14081:15;14107:125;14172:9;;;14193:10;;;14190:36;;;14206:18;;:::i;14237:344::-;14439:2;14421:21;;;14478:2;14458:18;;;14451:30;-1:-1:-1;;;14512:2:1;14497:18;;14490:50;14572:2;14557:18;;14237:344::o;15527:168::-;15600:9;;;15631;;15648:15;;;15642:22;;15628:37;15618:71;;15669:18;;:::i;17455:127::-;17516:10;17511:3;17507:20;17504:1;17497:31;17547:4;17544:1;17537:15;17571:4;17568:1;17561:15;17587:135;17626:3;17647:17;;;17644:43;;17667:18;;:::i;:::-;-1:-1:-1;17714:1:1;17703:13;;17587:135::o;18353:722::-;18403:3;18444:5;18438:12;18473:36;18499:9;18473:36;:::i;:::-;18528:1;18545:18;;;18572:133;;;;18719:1;18714:355;;;;18538:531;;18572:133;-1:-1:-1;;18605:24:1;;18593:37;;18678:14;;18671:22;18659:35;;18650:45;;;-1:-1:-1;18572:133:1;;18714:355;18745:5;18742:1;18735:16;18774:4;18819:2;18816:1;18806:16;18844:1;18858:165;18872:6;18869:1;18866:13;18858:165;;;18950:14;;18937:11;;;18930:35;18993:16;;;;18887:10;;18858:165;;;18862:3;;;19052:6;19047:3;19043:16;19036:23;;18538:531;;;;;18353:722;;;;:::o;19080:576::-;19304:3;19342:6;19336:13;19358:66;19417:6;19412:3;19405:4;19397:6;19393:17;19358:66;:::i;:::-;19487:13;;19446:16;;;;19509:70;19487:13;19446:16;19556:4;19544:17;;19509:70;:::i;:::-;19595:55;19640:8;19633:5;19629:20;19621:6;19595:55;:::i;:::-;19588:62;19080:576;-1:-1:-1;;;;;;;19080:576:1:o;19661:197::-;19789:3;19814:38;19848:3;19840:6;19814:38;:::i;20631:489::-;-1:-1:-1;;;;;20900:15:1;;;20882:34;;20952:15;;20947:2;20932:18;;20925:43;20999:2;20984:18;;20977:34;;;21047:3;21042:2;21027:18;;21020:31;;;20825:4;;21068:46;;21094:19;;21086:6;21068:46;:::i;:::-;21060:54;20631:489;-1:-1:-1;;;;;;20631:489:1:o;21125:249::-;21194:6;21247:2;21235:9;21226:7;21222:23;21218:32;21215:52;;;21263:1;21260;21253:12;21215:52;21295:9;21289:16;21314:30;21338:5;21314:30;:::i

Swarm Source

ipfs://450d157e600e35b6ea4b075bf424827a95ea858fea2be458c6c29545df26b250
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.