ETH Price: $3,385.86 (-1.77%)
Gas: 1 Gwei

Token

CathartesNFT (REF)
 

Overview

Max Total Supply

179 REF

Holders

109

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 REF
0x479a021bbeb70a70a6089a9fc8664915da88dec7
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:
CathartesNFT

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-04-04
*/

/**
 *Submitted for verification at polygonscan.com on 2023-04-02
*/

// SPDX-License-Identifier: MIT

// File @openzeppelin/contracts/utils/[email protected]
// 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/[email protected]
// 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/math/[email protected]
// 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/[email protected]
// 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/security/[email protected]
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}


// File @openzeppelin/contracts/utils/cryptography/[email protected]
// 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 erc721a/contracts/[email protected]
// 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 erc721a/contracts/[email protected]
// 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) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // 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, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        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.
     * 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) public payable virtual override {
        address owner = ownerOf(tokenId);

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

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

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

    // =============================================================
    //                        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)
        }
    }
}

pragma solidity ^0.8.15;

struct CollabSettings {
    uint256 collabPrice;
    uint256 collabMaxSupply;
}

contract CathartesNFT is ERC721A, Ownable, ReentrancyGuard {
    using Strings for int256;

    enum ContractState {
        pausedState,
        presaleState,
        publicState
    }
    ContractState public currentState = ContractState.pausedState;

    uint256 public constant guaranteedSupply = 89;
    uint256 public constant maxPerWalletWl = 1;
    uint256 public constant maxPerWalletPublic = 10;
    uint256 public price = 0.07 ether;
    uint256 public maxSupply = 2023;
    uint256 private collabMinted;

    bool public isBurnOpen = false;

    bytes32 merkleRoot;

    string public baseURI = "https://www.cathartesnft.com/nft/";

    mapping(address => CollabSettings) public collabList;
    mapping(uint256 => string) public btcWallets;

    constructor() ERC721A("CathartesNFT", "REF") {
        _safeMint(_msgSender(), 1);
    }

    function mintNFTPublic() external payable nonReentrant {
        require(_totalMinted() < maxSupply, "Cathartes: Exceeds max supply.");
        require(
            currentState == ContractState.publicState,
            "Cathartes: Public phase is not open yet."
        );
        require(msg.value == price, "Cathartes: Incorrect payable amount.");
        require(
            _numberMinted(_msgSender()) < maxPerWalletPublic,
            "Cathartes: You have minted out public max supply."
        );
        _safeMint(_msgSender(), 1);
    }

    function mintNFTPresale(
        bytes32[] calldata merkleProof
    ) external payable nonReentrant {
        require(
            _totalMinted() - collabMinted < maxSupply - guaranteedSupply,
            "Cathartes: Exceeds max supply."
        );
        require(
            currentState == ContractState.presaleState,
            "Cathartes: Presale phase is not open yet."
        );
        require(msg.value == price, "Cathartes: Incorrect payable amount.");
        require(
            _numberMinted(_msgSender()) < maxPerWalletWl,
            "Cathartes: You have alredy minted."
        );
        require(
            MerkleProof.verify(
                merkleProof,
                merkleRoot,
                keccak256(abi.encodePacked(_msgSender()))
            ),
            "Cathartes: You are not whitelisted."
        );
        _safeMint(_msgSender(), 1);
    }

    function mintCollab() external payable nonReentrant {
        require(
            currentState == ContractState.presaleState,
            "Cathartes: Presale phase is not open yet."
        );
        require(
            collabMinted < guaranteedSupply,
            "Cathartes: Exceeds max collab supply."
        );
        address msgSender = _msgSender();
        CollabSettings memory currentCollabSettings = collabList[msgSender];
        require(
            msg.value == currentCollabSettings.collabPrice,
            "Cathartes: Incorrect payable amount."
        );
        require(
            _numberMinted(msgSender) < currentCollabSettings.collabMaxSupply,
            "Cathartes: You have alredy minted out your max supply."
        );
        collabMinted += 1;
        _safeMint(msgSender, 1);
    }

    function burnToRedeem(uint256 tokenId, string memory btcWallet) external {
        require(isBurnOpen, "Cathartes: Burn not open yet.");
        require(_exists(tokenId), "Cathartes: Token does not exist.");
        require(
            ownerOf(tokenId) == _msgSender(),
            "Cathartes: You are not the owner."
        );
        require(
            bytes(btcWallet).length != 0,
            "Cathartes: Btc wallet can not be empty."
        );
        btcWallets[tokenId] = btcWallet;
        _burn(tokenId);
    }

    function addToCollabList(
        address[] memory addresses,
        CollabSettings[] memory collabSettingsList
    ) external onlyOwner {
        require(
            addresses.length == collabSettingsList.length,
            "Cathartes: Array length mismatch."
        );
        for (uint256 i = 0; i < collabSettingsList.length; i++) {
            collabList[addresses[i]] = CollabSettings(
                collabSettingsList[i].collabPrice,
                collabSettingsList[i].collabMaxSupply
            );
        }
    }

    function setBaseURI(string memory uri) external onlyOwner {
        baseURI = uri;
    }

    function setPrice(uint256 newPrice) external onlyOwner {
        require(newPrice < price, "Cathartes: New price has to be smaller.");
        price = newPrice;
    }

    function setMaxSupply(uint256 newSupply) external onlyOwner {
        require(newSupply < maxSupply, "Cathartes: New supply has to be smaller.");
        maxSupply = newSupply;
    }

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

    function setNewState(ContractState newState) external onlyOwner {
        currentState = newState;
    }

    function toggleBurn() external onlyOwner {
        isBurnOpen = !isBurnOpen;
    }

    function numberMinted(
        address currentAddress
    ) external view returns (uint256) {
        return _numberMinted(currentAddress);
    }

    function totalMinted() external view returns (uint256) {
        return _totalMinted();
    }

    function totalBurned() external view returns (uint256) {
        return _totalBurned();
    }

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

    function tokenURI(
        uint256 tokenId
    ) public view virtual override returns (string memory) {
        require(_exists(tokenId), "Cathartes: Token does not exist.");

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

    function withdraw() external onlyOwner nonReentrant {
        uint balance = address(this).balance;
        require(balance > 0, "Cathartes: No contract balance.");
        address[6] memory addresses = [
            0xe588135F674E28343a69df6223a22DB3fA2cF45B,
            0x09fBb5c9dEBC4d429d5FcB0E74eA48BD2A4B0Bf0,
            0xC2801aB8865a92fAcf6a619D7e9ac385Bfec863D,
            0xC1148719D491416Cabb5FAB52858acEd4d2137A4,
            0x1f05B8169393101DA993B872AFA7634cbdeeFcEd,
            0x0934Eb5BE76628d806295C3948d8780A6DF42c09
        ];
        uint16[6] memory shares = [355, 355, 100, 80, 60, 50];
        bool success;
        for (uint256 i = 0; i < addresses.length; i++) {
            (success, ) = payable(addresses[i]).call{
                value: (balance * shares[i]) / 1000
            }("");
            require(success, "Cathartes: Transfer failed");
        }
    }
}

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":"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":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"components":[{"internalType":"uint256","name":"collabPrice","type":"uint256"},{"internalType":"uint256","name":"collabMaxSupply","type":"uint256"}],"internalType":"struct CollabSettings[]","name":"collabSettingsList","type":"tuple[]"}],"name":"addToCollabList","outputs":[],"stateMutability":"nonpayable","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"btcWallets","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"btcWallet","type":"string"}],"name":"burnToRedeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"collabList","outputs":[{"internalType":"uint256","name":"collabPrice","type":"uint256"},{"internalType":"uint256","name":"collabMaxSupply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentState","outputs":[{"internalType":"enum CathartesNFT.ContractState","name":"","type":"uint8"}],"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":"guaranteedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"isBurnOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletWl","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":"mintCollab","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintNFTPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintNFTPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"currentAddress","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum CathartesNFT.ContractState","name":"newState","type":"uint8"}],"name":"setNewState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","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":[],"name":"toggleBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600a805460ff1990811690915566f8b0a10e470000600b556107e7600c55600e8054909116905560e06040526021608081815290620032f560a0396010906200004990826200044b565b503480156200005757600080fd5b506040518060400160405280600c81526020016b10d85d1a185c9d195cd3919560a21b815250604051806040016040528060038152602001622922a360e91b8152508160029081620000aa91906200044b565b506003620000b982826200044b565b5050600160005550620000cc33620000e4565b6001600955620000de33600162000136565b620005bd565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001588282604051806020016040528060008152506200015c60201b60201c565b5050565b620001688383620001d3565b6001600160a01b0383163b15620001ce576000548281035b60018101906200019690600090879086620002b3565b620001b4576040516368d2bf6b60e11b815260040160405180910390fd5b81811062000180578160005414620001cb57600080fd5b50505b505050565b6000805490829003620001f95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020620033168339815191528180a4600183015b81811462000288578083600060008051602062003316833981519152600080a46001016200025f565b5081600003620002aa57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290620002ea90339089908890889060040162000517565b6020604051808303816000875af192505050801562000328575060408051601f3d908101601f1916820190925262000325918101906200058a565b60015b6200038a573d80801562000359576040519150601f19603f3d011682016040523d82523d6000602084013e6200035e565b606091505b50805160000362000382576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620003d257607f821691505b602082108103620003f357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001ce57600081815260208120601f850160051c81016020861015620004225750805b601f850160051c820191505b8181101562000443578281556001016200042e565b505050505050565b81516001600160401b03811115620004675762000467620003a7565b6200047f81620004788454620003bd565b84620003f9565b602080601f831160018114620004b757600084156200049e5750858301515b600019600386901b1c1916600185901b17855562000443565b600085815260208120601f198616915b82811015620004e857888601518255948401946001909101908401620004c7565b5085821015620005075787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620005665785810182015185820160a00152810162000548565b5050600060a0828501015260a0601f19601f83011684010191505095945050505050565b6000602082840312156200059d57600080fd5b81516001600160e01b031981168114620005b657600080fd5b9392505050565b612d2880620005cd6000396000f3fe6080604052600436106102d15760003560e01c8063778a56ce11610179578063bda26473116100d6578063dc33e6811161008a578063f2fde38b11610064578063f2fde38b14610773578063f65fb79414610793578063ffdb5765146107a857600080fd5b8063dc33e681146106ea578063e030d1b31461070a578063e985e9c51461072a57600080fd5b8063c87b56dd116100bb578063c87b56dd1461069f578063d5abeb01146106bf578063d89135cd146106d557600080fd5b8063bda2647314610677578063c03ca8f21461068a57600080fd5b8063a035b1fe1161012d578063a2309ff811610112578063a2309ff814610636578063b029a5141461064f578063b88d4fde1461066457600080fd5b8063a035b1fe14610600578063a22cb4651461061657600080fd5b80638da5cb5b1161015e5780638da5cb5b146105ad57806391b7f5ed146105cb57806395d89b41146105eb57600080fd5b8063778a56ce146105785780637cb647591461058d57600080fd5b806341af804e116102325780636352211e116101e65780636f8b44b0116101c05780636f8b44b01461052357806370a0823114610543578063715018a61461056357600080fd5b80636352211e146104ce5780636c0360eb146104ee5780636ed9cad11461050357600080fd5b80634838cf97116102175780634838cf971461044b57806350cc116c1461046557806355f804b3146104ae57600080fd5b806341af804e1461041857806342842e0e1461043857600080fd5b806318160ddd1161028957806323b872dd1161026e57806323b872dd146103d0578063270eb1b6146103e35780633ccfd60b1461040357600080fd5b806318160ddd146103a15780631f828be0146103c857600080fd5b8063081812fc116102ba578063081812fc1461032d578063095ea7b3146103655780630c3f6acf1461037a57600080fd5b806301ffc9a7146102d657806306fdde031461030b575b600080fd5b3480156102e257600080fd5b506102f66102f1366004612444565b6107b0565b60405190151581526020015b60405180910390f35b34801561031757600080fd5b5061032061084d565b60405161030291906124b1565b34801561033957600080fd5b5061034d6103483660046124c4565b6108df565b6040516001600160a01b039091168152602001610302565b6103786103733660046124f9565b61093c565b005b34801561038657600080fd5b50600a546103949060ff1681565b6040516103029190612539565b3480156103ad57600080fd5b5060015460005403600019015b604051908152602001610302565b610378610a1f565b6103786103de366004612561565b610c7a565b3480156103ef57600080fd5b506103786103fe3660046126c0565b610e6d565b34801561040f57600080fd5b50610378610f89565b34801561042457600080fd5b506103786104333660046127f8565b6111e4565b610378610446366004612561565b611392565b34801561045757600080fd5b50600e546102f69060ff1681565b34801561047157600080fd5b50610499610480366004612835565b6011602052600090815260409020805460019091015482565b60408051928352602083019190915201610302565b3480156104ba57600080fd5b506103786104c9366004612850565b6113ad565b3480156104da57600080fd5b5061034d6104e93660046124c4565b6113c1565b3480156104fa57600080fd5b506103206113cc565b34801561050f57600080fd5b5061037861051e366004612885565b61145a565b34801561052f57600080fd5b5061037861053e3660046124c4565b611489565b34801561054f57600080fd5b506103ba61055e366004612835565b61150d565b34801561056f57600080fd5b50610378611575565b34801561058457600080fd5b50610378611587565b34801561059957600080fd5b506103786105a83660046124c4565b6115a3565b3480156105b957600080fd5b506008546001600160a01b031661034d565b3480156105d757600080fd5b506103786105e63660046124c4565b6115b0565b3480156105f757600080fd5b50610320611634565b34801561060c57600080fd5b506103ba600b5481565b34801561062257600080fd5b506103786106313660046128a6565b611643565b34801561064257600080fd5b50600054600019016103ba565b34801561065b57600080fd5b506103ba600a81565b6103786106723660046128e2565b6116b4565b61037861068536600461295e565b6116fe565b34801561069657600080fd5b506103ba605981565b3480156106ab57600080fd5b506103206106ba3660046124c4565b6119eb565b3480156106cb57600080fd5b506103ba600c5481565b3480156106e157600080fd5b506103ba611a9e565b3480156106f657600080fd5b506103ba610705366004612835565b611aa9565b34801561071657600080fd5b506103206107253660046124c4565b611ad4565b34801561073657600080fd5b506102f66107453660046129d3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561077f57600080fd5b5061037861078e366004612835565b611aed565b34801561079f57600080fd5b506103ba600181565b610378611b7d565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316148061081357507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b8061084757507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606002805461085c90612a06565b80601f016020809104026020016040519081016040528092919081815260200182805461088890612a06565b80156108d55780601f106108aa576101008083540402835291602001916108d5565b820191906000526020600020905b8154815290600101906020018083116108b857829003601f168201915b5050505050905090565b60006108ea82611d56565b610920576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610947826113c1565b9050336001600160a01b038216146109b6576001600160a01b038116600090815260076020908152604080832033845290915290205460ff166109b6576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a27611d8b565b6001600a5460ff166002811115610a4057610a40612523565b14610aa45760405162461bcd60e51b815260206004820152602960248201527f4361746861727465733a2050726573616c65207068617365206973206e6f742060448201526837b832b7103cb2ba1760b91b60648201526084015b60405180910390fd5b6059600d5410610b1c5760405162461bcd60e51b815260206004820152602560248201527f4361746861727465733a2045786365656473206d617820636f6c6c616220737560448201527f70706c792e0000000000000000000000000000000000000000000000000000006064820152608401610a9b565b3360008181526011602090815260409182902082518084019093528054808452600190910154918301919091523414610ba35760405162461bcd60e51b8152602060048201526024808201527f4361746861727465733a20496e636f72726563742070617961626c6520616d6f6044820152633ab73a1760e11b6064820152608401610a9b565b8060200151610bd5836001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b10610c485760405162461bcd60e51b815260206004820152603660248201527f4361746861727465733a20596f75206861766520616c72656479206d696e746560448201527f64206f757420796f7572206d617820737570706c792e000000000000000000006064820152608401610a9b565b6001600d6000828254610c5b9190612a56565b90915550610c6c9050826001611de4565b5050610c786001600955565b565b6000610c8582611dfe565b9050836001600160a01b0316816001600160a01b031614610cd2576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054610cfe8187335b6001600160a01b039081169116811491141790565b610d46576001600160a01b038616600090815260076020908152604080832033845290915290205460ff16610d4657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d86576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610d9157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610e2357600184016000818152600460205260408120549003610e21576000548114610e215760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610e75611e8d565b8051825114610ed05760405162461bcd60e51b815260206004820152602160248201527f4361746861727465733a204172726179206c656e677468206d69736d617463686044820152601760f91b6064820152608401610a9b565b60005b8151811015610f84576040518060400160405280838381518110610ef957610ef9612a69565b6020026020010151600001518152602001838381518110610f1c57610f1c612a69565b60200260200101516020015181525060116000858481518110610f4157610f41612a69565b6020908102919091018101516001600160a01b03168252818101929092526040016000208251815591015160019091015580610f7c81612a7f565b915050610ed3565b505050565b610f91611e8d565b610f99611d8b565b4780610fe75760405162461bcd60e51b815260206004820152601f60248201527f4361746861727465733a204e6f20636f6e74726163742062616c616e63652e006044820152606401610a9b565b6040805160c0808201835273e588135f674e28343a69df6223a22db3fa2cf45b82527309fbb5c9debc4d429d5fcb0e74ea48bd2a4b0bf060208084019190915273c2801ab8865a92facf6a619d7e9ac385bfec863d8385015273c1148719d491416cabb5fab52858aced4d2137a4606080850191909152731f05b8169393101da993b872afa7634cbdeefced608080860191909152730934eb5be76628d806295c3948d8780a6df42c0960a0808701919091528651948501875261016380865293850193909352606495840195909552605090830152603c93820193909352603292810192909252906000805b60068110156111d5578381600681106110ef576110ef612a69565b60200201516001600160a01b03166103e884836006811061111257611112612a69565b60200201516111259061ffff1688612a98565b61112f9190612aaf565b604051600081818185875af1925050503d806000811461116b576040519150601f19603f3d011682016040523d82523d6000602084013e611170565b606091505b505080925050816111c35760405162461bcd60e51b815260206004820152601a60248201527f4361746861727465733a205472616e73666572206661696c65640000000000006044820152606401610a9b565b806111cd81612a7f565b9150506110d4565b5050505050610c786001600955565b600e5460ff166112365760405162461bcd60e51b815260206004820152601d60248201527f4361746861727465733a204275726e206e6f74206f70656e207965742e0000006044820152606401610a9b565b61123f82611d56565b61128b5760405162461bcd60e51b815260206004820181905260248201527f4361746861727465733a20546f6b656e20646f6573206e6f742065786973742e6044820152606401610a9b565b33611295836113c1565b6001600160a01b0316146112f55760405162461bcd60e51b815260206004820152602160248201527f4361746861727465733a20596f7520617265206e6f7420746865206f776e65726044820152601760f91b6064820152608401610a9b565b805160000361136c5760405162461bcd60e51b815260206004820152602760248201527f4361746861727465733a204274632077616c6c65742063616e206e6f7420626560448201527f20656d7074792e000000000000000000000000000000000000000000000000006064820152608401610a9b565b60008281526012602052604090206113848282612b17565b5061138e82611ee7565b5050565b610f84838383604051806020016040528060008152506116b4565b6113b5611e8d565b601061138e8282612b17565b600061084782611dfe565b601080546113d990612a06565b80601f016020809104026020016040519081016040528092919081815260200182805461140590612a06565b80156114525780601f1061142757610100808354040283529160200191611452565b820191906000526020600020905b81548152906001019060200180831161143557829003601f168201915b505050505081565b611462611e8d565b600a805482919060ff1916600183600281111561148157611481612523565b021790555050565b611491611e8d565b600c5481106115085760405162461bcd60e51b815260206004820152602860248201527f4361746861727465733a204e657720737570706c792068617320746f2062652060448201527f736d616c6c65722e0000000000000000000000000000000000000000000000006064820152608401610a9b565b600c55565b60006001600160a01b03821661154f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b61157d611e8d565b610c786000611ef2565b61158f611e8d565b600e805460ff19811660ff90911615179055565b6115ab611e8d565b600f55565b6115b8611e8d565b600b54811061162f5760405162461bcd60e51b815260206004820152602760248201527f4361746861727465733a204e65772070726963652068617320746f206265207360448201527f6d616c6c65722e000000000000000000000000000000000000000000000000006064820152608401610a9b565b600b55565b60606003805461085c90612a06565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b905090565b6116bf848484610c7a565b6001600160a01b0383163b156116f8576116db84848484611f51565b6116f8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611706611d8b565b6059600c546117159190612bd7565b600d54600054600019016117299190612bd7565b106117765760405162461bcd60e51b815260206004820152601e60248201527f4361746861727465733a2045786365656473206d617820737570706c792e00006044820152606401610a9b565b6001600a5460ff16600281111561178f5761178f612523565b146117ee5760405162461bcd60e51b815260206004820152602960248201527f4361746861727465733a2050726573616c65207068617365206973206e6f742060448201526837b832b7103cb2ba1760b91b6064820152608401610a9b565b600b54341461184b5760405162461bcd60e51b8152602060048201526024808201527f4361746861727465733a20496e636f72726563742070617961626c6520616d6f6044820152633ab73a1760e11b6064820152608401610a9b565b600161187b335b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b106118ee5760405162461bcd60e51b815260206004820152602260248201527f4361746861727465733a20596f75206861766520616c72656479206d696e746560448201527f642e0000000000000000000000000000000000000000000000000000000000006064820152608401610a9b565b61196382828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f546040516bffffffffffffffffffffffff193360601b16602082015290925060340190506040516020818303038152906040528051906020012061203d565b6119d55760405162461bcd60e51b815260206004820152602360248201527f4361746861727465733a20596f7520617265206e6f742077686974656c69737460448201527f65642e00000000000000000000000000000000000000000000000000000000006064820152608401610a9b565b6119e1335b6001611de4565b61138e6001600955565b60606119f682611d56565b611a425760405162461bcd60e51b815260206004820181905260248201527f4361746861727465733a20546f6b656e20646f6573206e6f742065786973742e6044820152606401610a9b565b60108054611a4f90612a06565b9050600003611a6d5760405180602001604052806000815250610847565b6010611a7883612053565b604051602001611a89929190612bea565b60405160208183030381529060405292915050565b60006116af60015490565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610847565b601260205260009081526040902080546113d990612a06565b611af5611e8d565b6001600160a01b038116611b715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a9b565b611b7a81611ef2565b50565b611b85611d8b565b600c546000546000190110611bdc5760405162461bcd60e51b815260206004820152601e60248201527f4361746861727465733a2045786365656473206d617820737570706c792e00006044820152606401610a9b565b6002600a5460ff166002811115611bf557611bf5612523565b14611c685760405162461bcd60e51b815260206004820152602860248201527f4361746861727465733a205075626c6963207068617365206973206e6f74206f60448201527f70656e207965742e0000000000000000000000000000000000000000000000006064820152608401610a9b565b600b543414611cc55760405162461bcd60e51b8152602060048201526024808201527f4361746861727465733a20496e636f72726563742070617961626c6520616d6f6044820152633ab73a1760e11b6064820152608401610a9b565b600a611cd033611852565b10611d435760405162461bcd60e51b815260206004820152603160248201527f4361746861727465733a20596f752068617665206d696e746564206f7574207060448201527f75626c6963206d617820737570706c792e0000000000000000000000000000006064820152608401610a9b565b611d4c336119da565b610c786001600955565b600081600111158015611d6a575060005482105b8015610847575050600090815260046020526040902054600160e01b161590565b600260095403611ddd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a9b565b6002600955565b61138e828260405180602001604052806000815250612097565b60008180600111611e5b57600054811015611e5b5760008181526004602052604081205490600160e01b82169003611e59575b80600003611e52575060001901600081815260046020526040902054611e31565b9392505050565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008546001600160a01b03163314610c785760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a9b565b611b7a816000612104565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611f86903390899088908890600401612c99565b6020604051808303816000875af1925050508015611fc1575060408051601f3d908101601f19168201909252611fbe91810190612cd5565b60015b61201f573d808015611fef576040519150601f19603f3d011682016040523d82523d6000602084013e611ff4565b606091505b508051600003612017576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008261204a8584612284565b14949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061206d5750819003601f19909101908152919050565b6120a183836122d1565b6001600160a01b0383163b15610f84576000548281035b6120cb6000868380600101945086611f51565b6120e8576040516368d2bf6b60e11b815260040160405180910390fd5b8181106120b85781600054146120fd57600080fd5b5050505050565b600061210f83611dfe565b90508060008061212d86600090815260066020526040902080549091565b91509150841561218a57612142818433610ce9565b61218a576001600160a01b038316600090815260076020908152604080832033845290915290205460ff1661218a57604051632ce44b5f60e11b815260040160405180910390fd5b801561219557600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b177c030000000000000000000000000000000000000000000000000000000017600087815260046020526040812091909155600160e11b8516900361223c5760018601600081815260046020526040812054900361223a57600054811461223a5760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b600081815b84518110156122c9576122b5828683815181106122a8576122a8612a69565b6020026020010151612402565b9150806122c181612a7f565b915050612289565b509392505050565b600080549082900361230f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146123be57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612386565b50816000036123f9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b600081831061241e576000828152602084905260409020611e52565b5060009182526020526040902090565b6001600160e01b031981168114611b7a57600080fd5b60006020828403121561245657600080fd5b8135611e528161242e565b60005b8381101561247c578181015183820152602001612464565b50506000910152565b6000815180845261249d816020860160208601612461565b601f01601f19169290920160200192915050565b602081526000611e526020830184612485565b6000602082840312156124d657600080fd5b5035919050565b80356001600160a01b03811681146124f457600080fd5b919050565b6000806040838503121561250c57600080fd5b612515836124dd565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b602081016003831061255b57634e487b7160e01b600052602160045260246000fd5b91905290565b60008060006060848603121561257657600080fd5b61257f846124dd565b925061258d602085016124dd565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156125d6576125d661259d565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156126055761260561259d565b604052919050565b600067ffffffffffffffff8211156126275761262761259d565b5060051b60200190565b600082601f83011261264257600080fd5b813560206126576126528361260d565b6125dc565b82815260069290921b8401810191818101908684111561267657600080fd5b8286015b848110156126b557604081890312156126935760008081fd5b61269b6125b3565b81358152848201358582015283529183019160400161267a565b509695505050505050565b600080604083850312156126d357600080fd5b823567ffffffffffffffff808211156126eb57600080fd5b818501915085601f8301126126ff57600080fd5b8135602061270f6126528361260d565b82815260059290921b8401810191818101908984111561272e57600080fd5b948201945b8386101561275357612744866124dd565b82529482019490820190612733565b9650508601359250508082111561276957600080fd5b5061277685828601612631565b9150509250929050565b600067ffffffffffffffff83111561279a5761279a61259d565b6127ad601f8401601f19166020016125dc565b90508281528383830111156127c157600080fd5b828260208301376000602084830101529392505050565b600082601f8301126127e957600080fd5b611e5283833560208501612780565b6000806040838503121561280b57600080fd5b82359150602083013567ffffffffffffffff81111561282957600080fd5b612776858286016127d8565b60006020828403121561284757600080fd5b611e52826124dd565b60006020828403121561286257600080fd5b813567ffffffffffffffff81111561287957600080fd5b612035848285016127d8565b60006020828403121561289757600080fd5b813560038110611e5257600080fd5b600080604083850312156128b957600080fd5b6128c2836124dd565b9150602083013580151581146128d757600080fd5b809150509250929050565b600080600080608085870312156128f857600080fd5b612901856124dd565b935061290f602086016124dd565b925060408501359150606085013567ffffffffffffffff81111561293257600080fd5b8501601f8101871361294357600080fd5b61295287823560208401612780565b91505092959194509250565b6000806020838503121561297157600080fd5b823567ffffffffffffffff8082111561298957600080fd5b818501915085601f83011261299d57600080fd5b8135818111156129ac57600080fd5b8660208260051b85010111156129c157600080fd5b60209290920196919550909350505050565b600080604083850312156129e657600080fd5b6129ef836124dd565b91506129fd602084016124dd565b90509250929050565b600181811c90821680612a1a57607f821691505b602082108103612a3a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561084757610847612a40565b634e487b7160e01b600052603260045260246000fd5b600060018201612a9157612a91612a40565b5060010190565b808202811582820484141761084757610847612a40565b600082612acc57634e487b7160e01b600052601260045260246000fd5b500490565b601f821115610f8457600081815260208120601f850160051c81016020861015612af85750805b601f850160051c820191505b81811015610e6557828155600101612b04565b815167ffffffffffffffff811115612b3157612b3161259d565b612b4581612b3f8454612a06565b84612ad1565b602080601f831160018114612b7a5760008415612b625750858301515b600019600386901b1c1916600185901b178555610e65565b600085815260208120601f198616915b82811015612ba957888601518255948401946001909101908401612b8a565b5085821015612bc75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8181038181111561084757610847612a40565b6000808454612bf881612a06565b60018281168015612c105760018114612c2557612c54565b60ff1984168752821515830287019450612c54565b8860005260208060002060005b85811015612c4b5781548a820152908401908201612c32565b50505082870194505b505050508351612c68818360208801612461565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612ccb6080830184612485565b9695505050505050565b600060208284031215612ce757600080fd5b8151611e528161242e56fea2646970667358221220071d8f966b8241ad5bd4b0a171de7a3e41619040705c51403c0b8142fc0769e264736f6c6343000812003368747470733a2f2f7777772e6361746861727465736e66742e636f6d2f6e66742fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x6080604052600436106102d15760003560e01c8063778a56ce11610179578063bda26473116100d6578063dc33e6811161008a578063f2fde38b11610064578063f2fde38b14610773578063f65fb79414610793578063ffdb5765146107a857600080fd5b8063dc33e681146106ea578063e030d1b31461070a578063e985e9c51461072a57600080fd5b8063c87b56dd116100bb578063c87b56dd1461069f578063d5abeb01146106bf578063d89135cd146106d557600080fd5b8063bda2647314610677578063c03ca8f21461068a57600080fd5b8063a035b1fe1161012d578063a2309ff811610112578063a2309ff814610636578063b029a5141461064f578063b88d4fde1461066457600080fd5b8063a035b1fe14610600578063a22cb4651461061657600080fd5b80638da5cb5b1161015e5780638da5cb5b146105ad57806391b7f5ed146105cb57806395d89b41146105eb57600080fd5b8063778a56ce146105785780637cb647591461058d57600080fd5b806341af804e116102325780636352211e116101e65780636f8b44b0116101c05780636f8b44b01461052357806370a0823114610543578063715018a61461056357600080fd5b80636352211e146104ce5780636c0360eb146104ee5780636ed9cad11461050357600080fd5b80634838cf97116102175780634838cf971461044b57806350cc116c1461046557806355f804b3146104ae57600080fd5b806341af804e1461041857806342842e0e1461043857600080fd5b806318160ddd1161028957806323b872dd1161026e57806323b872dd146103d0578063270eb1b6146103e35780633ccfd60b1461040357600080fd5b806318160ddd146103a15780631f828be0146103c857600080fd5b8063081812fc116102ba578063081812fc1461032d578063095ea7b3146103655780630c3f6acf1461037a57600080fd5b806301ffc9a7146102d657806306fdde031461030b575b600080fd5b3480156102e257600080fd5b506102f66102f1366004612444565b6107b0565b60405190151581526020015b60405180910390f35b34801561031757600080fd5b5061032061084d565b60405161030291906124b1565b34801561033957600080fd5b5061034d6103483660046124c4565b6108df565b6040516001600160a01b039091168152602001610302565b6103786103733660046124f9565b61093c565b005b34801561038657600080fd5b50600a546103949060ff1681565b6040516103029190612539565b3480156103ad57600080fd5b5060015460005403600019015b604051908152602001610302565b610378610a1f565b6103786103de366004612561565b610c7a565b3480156103ef57600080fd5b506103786103fe3660046126c0565b610e6d565b34801561040f57600080fd5b50610378610f89565b34801561042457600080fd5b506103786104333660046127f8565b6111e4565b610378610446366004612561565b611392565b34801561045757600080fd5b50600e546102f69060ff1681565b34801561047157600080fd5b50610499610480366004612835565b6011602052600090815260409020805460019091015482565b60408051928352602083019190915201610302565b3480156104ba57600080fd5b506103786104c9366004612850565b6113ad565b3480156104da57600080fd5b5061034d6104e93660046124c4565b6113c1565b3480156104fa57600080fd5b506103206113cc565b34801561050f57600080fd5b5061037861051e366004612885565b61145a565b34801561052f57600080fd5b5061037861053e3660046124c4565b611489565b34801561054f57600080fd5b506103ba61055e366004612835565b61150d565b34801561056f57600080fd5b50610378611575565b34801561058457600080fd5b50610378611587565b34801561059957600080fd5b506103786105a83660046124c4565b6115a3565b3480156105b957600080fd5b506008546001600160a01b031661034d565b3480156105d757600080fd5b506103786105e63660046124c4565b6115b0565b3480156105f757600080fd5b50610320611634565b34801561060c57600080fd5b506103ba600b5481565b34801561062257600080fd5b506103786106313660046128a6565b611643565b34801561064257600080fd5b50600054600019016103ba565b34801561065b57600080fd5b506103ba600a81565b6103786106723660046128e2565b6116b4565b61037861068536600461295e565b6116fe565b34801561069657600080fd5b506103ba605981565b3480156106ab57600080fd5b506103206106ba3660046124c4565b6119eb565b3480156106cb57600080fd5b506103ba600c5481565b3480156106e157600080fd5b506103ba611a9e565b3480156106f657600080fd5b506103ba610705366004612835565b611aa9565b34801561071657600080fd5b506103206107253660046124c4565b611ad4565b34801561073657600080fd5b506102f66107453660046129d3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561077f57600080fd5b5061037861078e366004612835565b611aed565b34801561079f57600080fd5b506103ba600181565b610378611b7d565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316148061081357507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b8061084757507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606002805461085c90612a06565b80601f016020809104026020016040519081016040528092919081815260200182805461088890612a06565b80156108d55780601f106108aa576101008083540402835291602001916108d5565b820191906000526020600020905b8154815290600101906020018083116108b857829003601f168201915b5050505050905090565b60006108ea82611d56565b610920576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610947826113c1565b9050336001600160a01b038216146109b6576001600160a01b038116600090815260076020908152604080832033845290915290205460ff166109b6576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a27611d8b565b6001600a5460ff166002811115610a4057610a40612523565b14610aa45760405162461bcd60e51b815260206004820152602960248201527f4361746861727465733a2050726573616c65207068617365206973206e6f742060448201526837b832b7103cb2ba1760b91b60648201526084015b60405180910390fd5b6059600d5410610b1c5760405162461bcd60e51b815260206004820152602560248201527f4361746861727465733a2045786365656473206d617820636f6c6c616220737560448201527f70706c792e0000000000000000000000000000000000000000000000000000006064820152608401610a9b565b3360008181526011602090815260409182902082518084019093528054808452600190910154918301919091523414610ba35760405162461bcd60e51b8152602060048201526024808201527f4361746861727465733a20496e636f72726563742070617961626c6520616d6f6044820152633ab73a1760e11b6064820152608401610a9b565b8060200151610bd5836001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b10610c485760405162461bcd60e51b815260206004820152603660248201527f4361746861727465733a20596f75206861766520616c72656479206d696e746560448201527f64206f757420796f7572206d617820737570706c792e000000000000000000006064820152608401610a9b565b6001600d6000828254610c5b9190612a56565b90915550610c6c9050826001611de4565b5050610c786001600955565b565b6000610c8582611dfe565b9050836001600160a01b0316816001600160a01b031614610cd2576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054610cfe8187335b6001600160a01b039081169116811491141790565b610d46576001600160a01b038616600090815260076020908152604080832033845290915290205460ff16610d4657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d86576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610d9157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610e2357600184016000818152600460205260408120549003610e21576000548114610e215760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610e75611e8d565b8051825114610ed05760405162461bcd60e51b815260206004820152602160248201527f4361746861727465733a204172726179206c656e677468206d69736d617463686044820152601760f91b6064820152608401610a9b565b60005b8151811015610f84576040518060400160405280838381518110610ef957610ef9612a69565b6020026020010151600001518152602001838381518110610f1c57610f1c612a69565b60200260200101516020015181525060116000858481518110610f4157610f41612a69565b6020908102919091018101516001600160a01b03168252818101929092526040016000208251815591015160019091015580610f7c81612a7f565b915050610ed3565b505050565b610f91611e8d565b610f99611d8b565b4780610fe75760405162461bcd60e51b815260206004820152601f60248201527f4361746861727465733a204e6f20636f6e74726163742062616c616e63652e006044820152606401610a9b565b6040805160c0808201835273e588135f674e28343a69df6223a22db3fa2cf45b82527309fbb5c9debc4d429d5fcb0e74ea48bd2a4b0bf060208084019190915273c2801ab8865a92facf6a619d7e9ac385bfec863d8385015273c1148719d491416cabb5fab52858aced4d2137a4606080850191909152731f05b8169393101da993b872afa7634cbdeefced608080860191909152730934eb5be76628d806295c3948d8780a6df42c0960a0808701919091528651948501875261016380865293850193909352606495840195909552605090830152603c93820193909352603292810192909252906000805b60068110156111d5578381600681106110ef576110ef612a69565b60200201516001600160a01b03166103e884836006811061111257611112612a69565b60200201516111259061ffff1688612a98565b61112f9190612aaf565b604051600081818185875af1925050503d806000811461116b576040519150601f19603f3d011682016040523d82523d6000602084013e611170565b606091505b505080925050816111c35760405162461bcd60e51b815260206004820152601a60248201527f4361746861727465733a205472616e73666572206661696c65640000000000006044820152606401610a9b565b806111cd81612a7f565b9150506110d4565b5050505050610c786001600955565b600e5460ff166112365760405162461bcd60e51b815260206004820152601d60248201527f4361746861727465733a204275726e206e6f74206f70656e207965742e0000006044820152606401610a9b565b61123f82611d56565b61128b5760405162461bcd60e51b815260206004820181905260248201527f4361746861727465733a20546f6b656e20646f6573206e6f742065786973742e6044820152606401610a9b565b33611295836113c1565b6001600160a01b0316146112f55760405162461bcd60e51b815260206004820152602160248201527f4361746861727465733a20596f7520617265206e6f7420746865206f776e65726044820152601760f91b6064820152608401610a9b565b805160000361136c5760405162461bcd60e51b815260206004820152602760248201527f4361746861727465733a204274632077616c6c65742063616e206e6f7420626560448201527f20656d7074792e000000000000000000000000000000000000000000000000006064820152608401610a9b565b60008281526012602052604090206113848282612b17565b5061138e82611ee7565b5050565b610f84838383604051806020016040528060008152506116b4565b6113b5611e8d565b601061138e8282612b17565b600061084782611dfe565b601080546113d990612a06565b80601f016020809104026020016040519081016040528092919081815260200182805461140590612a06565b80156114525780601f1061142757610100808354040283529160200191611452565b820191906000526020600020905b81548152906001019060200180831161143557829003601f168201915b505050505081565b611462611e8d565b600a805482919060ff1916600183600281111561148157611481612523565b021790555050565b611491611e8d565b600c5481106115085760405162461bcd60e51b815260206004820152602860248201527f4361746861727465733a204e657720737570706c792068617320746f2062652060448201527f736d616c6c65722e0000000000000000000000000000000000000000000000006064820152608401610a9b565b600c55565b60006001600160a01b03821661154f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b61157d611e8d565b610c786000611ef2565b61158f611e8d565b600e805460ff19811660ff90911615179055565b6115ab611e8d565b600f55565b6115b8611e8d565b600b54811061162f5760405162461bcd60e51b815260206004820152602760248201527f4361746861727465733a204e65772070726963652068617320746f206265207360448201527f6d616c6c65722e000000000000000000000000000000000000000000000000006064820152608401610a9b565b600b55565b60606003805461085c90612a06565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b905090565b6116bf848484610c7a565b6001600160a01b0383163b156116f8576116db84848484611f51565b6116f8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611706611d8b565b6059600c546117159190612bd7565b600d54600054600019016117299190612bd7565b106117765760405162461bcd60e51b815260206004820152601e60248201527f4361746861727465733a2045786365656473206d617820737570706c792e00006044820152606401610a9b565b6001600a5460ff16600281111561178f5761178f612523565b146117ee5760405162461bcd60e51b815260206004820152602960248201527f4361746861727465733a2050726573616c65207068617365206973206e6f742060448201526837b832b7103cb2ba1760b91b6064820152608401610a9b565b600b54341461184b5760405162461bcd60e51b8152602060048201526024808201527f4361746861727465733a20496e636f72726563742070617961626c6520616d6f6044820152633ab73a1760e11b6064820152608401610a9b565b600161187b335b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b106118ee5760405162461bcd60e51b815260206004820152602260248201527f4361746861727465733a20596f75206861766520616c72656479206d696e746560448201527f642e0000000000000000000000000000000000000000000000000000000000006064820152608401610a9b565b61196382828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f546040516bffffffffffffffffffffffff193360601b16602082015290925060340190506040516020818303038152906040528051906020012061203d565b6119d55760405162461bcd60e51b815260206004820152602360248201527f4361746861727465733a20596f7520617265206e6f742077686974656c69737460448201527f65642e00000000000000000000000000000000000000000000000000000000006064820152608401610a9b565b6119e1335b6001611de4565b61138e6001600955565b60606119f682611d56565b611a425760405162461bcd60e51b815260206004820181905260248201527f4361746861727465733a20546f6b656e20646f6573206e6f742065786973742e6044820152606401610a9b565b60108054611a4f90612a06565b9050600003611a6d5760405180602001604052806000815250610847565b6010611a7883612053565b604051602001611a89929190612bea565b60405160208183030381529060405292915050565b60006116af60015490565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610847565b601260205260009081526040902080546113d990612a06565b611af5611e8d565b6001600160a01b038116611b715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a9b565b611b7a81611ef2565b50565b611b85611d8b565b600c546000546000190110611bdc5760405162461bcd60e51b815260206004820152601e60248201527f4361746861727465733a2045786365656473206d617820737570706c792e00006044820152606401610a9b565b6002600a5460ff166002811115611bf557611bf5612523565b14611c685760405162461bcd60e51b815260206004820152602860248201527f4361746861727465733a205075626c6963207068617365206973206e6f74206f60448201527f70656e207965742e0000000000000000000000000000000000000000000000006064820152608401610a9b565b600b543414611cc55760405162461bcd60e51b8152602060048201526024808201527f4361746861727465733a20496e636f72726563742070617961626c6520616d6f6044820152633ab73a1760e11b6064820152608401610a9b565b600a611cd033611852565b10611d435760405162461bcd60e51b815260206004820152603160248201527f4361746861727465733a20596f752068617665206d696e746564206f7574207060448201527f75626c6963206d617820737570706c792e0000000000000000000000000000006064820152608401610a9b565b611d4c336119da565b610c786001600955565b600081600111158015611d6a575060005482105b8015610847575050600090815260046020526040902054600160e01b161590565b600260095403611ddd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a9b565b6002600955565b61138e828260405180602001604052806000815250612097565b60008180600111611e5b57600054811015611e5b5760008181526004602052604081205490600160e01b82169003611e59575b80600003611e52575060001901600081815260046020526040902054611e31565b9392505050565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008546001600160a01b03163314610c785760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a9b565b611b7a816000612104565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611f86903390899088908890600401612c99565b6020604051808303816000875af1925050508015611fc1575060408051601f3d908101601f19168201909252611fbe91810190612cd5565b60015b61201f573d808015611fef576040519150601f19603f3d011682016040523d82523d6000602084013e611ff4565b606091505b508051600003612017576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008261204a8584612284565b14949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061206d5750819003601f19909101908152919050565b6120a183836122d1565b6001600160a01b0383163b15610f84576000548281035b6120cb6000868380600101945086611f51565b6120e8576040516368d2bf6b60e11b815260040160405180910390fd5b8181106120b85781600054146120fd57600080fd5b5050505050565b600061210f83611dfe565b90508060008061212d86600090815260066020526040902080549091565b91509150841561218a57612142818433610ce9565b61218a576001600160a01b038316600090815260076020908152604080832033845290915290205460ff1661218a57604051632ce44b5f60e11b815260040160405180910390fd5b801561219557600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b177c030000000000000000000000000000000000000000000000000000000017600087815260046020526040812091909155600160e11b8516900361223c5760018601600081815260046020526040812054900361223a57600054811461223a5760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b600081815b84518110156122c9576122b5828683815181106122a8576122a8612a69565b6020026020010151612402565b9150806122c181612a7f565b915050612289565b509392505050565b600080549082900361230f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146123be57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612386565b50816000036123f9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b600081831061241e576000828152602084905260409020611e52565b5060009182526020526040902090565b6001600160e01b031981168114611b7a57600080fd5b60006020828403121561245657600080fd5b8135611e528161242e565b60005b8381101561247c578181015183820152602001612464565b50506000910152565b6000815180845261249d816020860160208601612461565b601f01601f19169290920160200192915050565b602081526000611e526020830184612485565b6000602082840312156124d657600080fd5b5035919050565b80356001600160a01b03811681146124f457600080fd5b919050565b6000806040838503121561250c57600080fd5b612515836124dd565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b602081016003831061255b57634e487b7160e01b600052602160045260246000fd5b91905290565b60008060006060848603121561257657600080fd5b61257f846124dd565b925061258d602085016124dd565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156125d6576125d661259d565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156126055761260561259d565b604052919050565b600067ffffffffffffffff8211156126275761262761259d565b5060051b60200190565b600082601f83011261264257600080fd5b813560206126576126528361260d565b6125dc565b82815260069290921b8401810191818101908684111561267657600080fd5b8286015b848110156126b557604081890312156126935760008081fd5b61269b6125b3565b81358152848201358582015283529183019160400161267a565b509695505050505050565b600080604083850312156126d357600080fd5b823567ffffffffffffffff808211156126eb57600080fd5b818501915085601f8301126126ff57600080fd5b8135602061270f6126528361260d565b82815260059290921b8401810191818101908984111561272e57600080fd5b948201945b8386101561275357612744866124dd565b82529482019490820190612733565b9650508601359250508082111561276957600080fd5b5061277685828601612631565b9150509250929050565b600067ffffffffffffffff83111561279a5761279a61259d565b6127ad601f8401601f19166020016125dc565b90508281528383830111156127c157600080fd5b828260208301376000602084830101529392505050565b600082601f8301126127e957600080fd5b611e5283833560208501612780565b6000806040838503121561280b57600080fd5b82359150602083013567ffffffffffffffff81111561282957600080fd5b612776858286016127d8565b60006020828403121561284757600080fd5b611e52826124dd565b60006020828403121561286257600080fd5b813567ffffffffffffffff81111561287957600080fd5b612035848285016127d8565b60006020828403121561289757600080fd5b813560038110611e5257600080fd5b600080604083850312156128b957600080fd5b6128c2836124dd565b9150602083013580151581146128d757600080fd5b809150509250929050565b600080600080608085870312156128f857600080fd5b612901856124dd565b935061290f602086016124dd565b925060408501359150606085013567ffffffffffffffff81111561293257600080fd5b8501601f8101871361294357600080fd5b61295287823560208401612780565b91505092959194509250565b6000806020838503121561297157600080fd5b823567ffffffffffffffff8082111561298957600080fd5b818501915085601f83011261299d57600080fd5b8135818111156129ac57600080fd5b8660208260051b85010111156129c157600080fd5b60209290920196919550909350505050565b600080604083850312156129e657600080fd5b6129ef836124dd565b91506129fd602084016124dd565b90509250929050565b600181811c90821680612a1a57607f821691505b602082108103612a3a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561084757610847612a40565b634e487b7160e01b600052603260045260246000fd5b600060018201612a9157612a91612a40565b5060010190565b808202811582820484141761084757610847612a40565b600082612acc57634e487b7160e01b600052601260045260246000fd5b500490565b601f821115610f8457600081815260208120601f850160051c81016020861015612af85750805b601f850160051c820191505b81811015610e6557828155600101612b04565b815167ffffffffffffffff811115612b3157612b3161259d565b612b4581612b3f8454612a06565b84612ad1565b602080601f831160018114612b7a5760008415612b625750858301515b600019600386901b1c1916600185901b178555610e65565b600085815260208120601f198616915b82811015612ba957888601518255948401946001909101908401612b8a565b5085821015612bc75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8181038181111561084757610847612a40565b6000808454612bf881612a06565b60018281168015612c105760018114612c2557612c54565b60ff1984168752821515830287019450612c54565b8860005260208060002060005b85811015612c4b5781548a820152908401908201612c32565b50505082870194505b505050508351612c68818360208801612461565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612ccb6080830184612485565b9695505050505050565b600060208284031215612ce757600080fd5b8151611e528161242e56fea2646970667358221220071d8f966b8241ad5bd4b0a171de7a3e41619040705c51403c0b8142fc0769e264736f6c63430008120033

Deployed Bytecode Sourcemap

82981:6841:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49836:639;;;;;;;;;;-1:-1:-1;49836:639:0;;;;;:::i;:::-;;:::i;:::-;;;611:14:1;;604:22;586:41;;574:2;559:18;49836:639:0;;;;;;;;50738:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;57229:218::-;;;;;;;;;;-1:-1:-1;57229:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1743:55:1;;;1725:74;;1713:2;1698:18;57229:218:0;1579:226:1;56662:408:0;;;;;;:::i;:::-;;:::i;:::-;;83179:61;;;;;;;;;;-1:-1:-1;83179:61:0;;;;;;;;;;;;;;;:::i;46489:323::-;;;;;;;;;;-1:-1:-1;88535:1:0;46763:12;46550:7;46747:13;:28;-1:-1:-1;;46747:46:0;46489:323;;;3013:25:1;;;3001:2;2986:18;46489:323:0;2867:177:1;85344:838:0;;;:::i;60868:2825::-;;;;;;:::i;:::-;;:::i;86735:545::-;;;;;;;;;;-1:-1:-1;86735:545:0;;;;;:::i;:::-;;:::i;88907:912::-;;;;;;;;;;;;;:::i;86190:537::-;;;;;;;;;;-1:-1:-1;86190:537:0;;;;;:::i;:::-;;:::i;63789:193::-;;;;;;:::i;:::-;;:::i;83519:30::-;;;;;;;;;;-1:-1:-1;83519:30:0;;;;;;;;83653:52;;;;;;;;;;-1:-1:-1;83653:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;7851:25:1;;;7907:2;7892:18;;7885:34;;;;7824:18;83653:52:0;7677:248:1;87288:90:0;;;;;;;;;;-1:-1:-1;87288:90:0;;;;;:::i;:::-;;:::i;52131:152::-;;;;;;;;;;-1:-1:-1;52131:152:0;;;;;:::i;:::-;;:::i;83585:59::-;;;;;;;;;;;;;:::i;87874:106::-;;;;;;;;;;-1:-1:-1;87874:106:0;;;;;:::i;:::-;;:::i;87563:185::-;;;;;;;;;;-1:-1:-1;87563:185:0;;;;;:::i;:::-;;:::i;47673:233::-;;;;;;;;;;-1:-1:-1;47673:233:0;;;;;:::i;:::-;;:::i;2889:103::-;;;;;;;;;;;;;:::i;87988:84::-;;;;;;;;;;;;;:::i;87756:110::-;;;;;;;;;;-1:-1:-1;87756:110:0;;;;;:::i;:::-;;:::i;2241:87::-;;;;;;;;;;-1:-1:-1;2314:6:0;;-1:-1:-1;;;;;2314:6:0;2241:87;;87386:169;;;;;;;;;;-1:-1:-1;87386:169:0;;;;;:::i;:::-;;:::i;50914:104::-;;;;;;;;;;;;;:::i;83404:33::-;;;;;;;;;;;;;;;;57787:234;;;;;;;;;;-1:-1:-1;57787:234:0;;;;;:::i;:::-;;:::i;88237:95::-;;;;;;;;;;-1:-1:-1;88283:7:0;47156:13;-1:-1:-1;;47156:31:0;88237:95;;83350:47;;;;;;;;;;;;83395:2;83350:47;;64580:407;;;;;;:::i;:::-;;:::i;84429:907::-;;;;;;:::i;:::-;;:::i;83249:45::-;;;;;;;;;;;;83292:2;83249:45;;88552:347;;;;;;;;;;-1:-1:-1;88552:347:0;;;;;:::i;:::-;;:::i;83444:31::-;;;;;;;;;;;;;;;;88340:95;;;;;;;;;;;;;:::i;88080:149::-;;;;;;;;;;-1:-1:-1;88080:149:0;;;;;:::i;:::-;;:::i;83712:44::-;;;;;;;;;;-1:-1:-1;83712:44:0;;;;;:::i;:::-;;:::i;58178:164::-;;;;;;;;;;-1:-1:-1;58178:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;58299:25:0;;;58275:4;58299:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;58178:164;3147:201;;;;;;;;;;-1:-1:-1;3147:201:0;;;;;:::i;:::-;;:::i;83301:42::-;;;;;;;;;;;;83342:1;83301:42;;83863:558;;;:::i;49836:639::-;49921:4;50245:25;-1:-1:-1;;;;;;50245:25:0;;;;:102;;-1:-1:-1;50322:25:0;-1:-1:-1;;;;;;50322:25:0;;;50245:102;:179;;;-1:-1:-1;50399:25:0;-1:-1:-1;;;;;;50399:25:0;;;50245:179;50225:199;49836:639;-1:-1:-1;;49836:639:0:o;50738:100::-;50792:13;50825:5;50818:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50738:100;:::o;57229:218::-;57305:7;57330:16;57338:7;57330;:16::i;:::-;57325:64;;57355:34;;;;;;;;;;;;;;57325:64;-1:-1:-1;57409:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;57409:30:0;;57229:218::o;56662:408::-;56751:13;56767:16;56775:7;56767;:16::i;:::-;56751:32;-1:-1:-1;80995:10:0;-1:-1:-1;;;;;56800:28:0;;;56796:175;;-1:-1:-1;;;;;58299:25:0;;58275:4;58299:25;;;:18;:25;;;;;;;;80995:10;58299:35;;;;;;;;;;56843:128;;56920:35;;;;;;;;;;;;;;56843:128;56983:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;56983:35:0;-1:-1:-1;;;;;56983:35:0;;;;;;;;;57034:28;;56983:24;;57034:28;;;;;;;56740:330;56662:408;;:::o;85344:838::-;21260:21;:19;:21::i;:::-;85445:26:::1;85429:12;::::0;::::1;;:42;::::0;::::1;;;;;;:::i;:::-;;85407:133;;;::::0;-1:-1:-1;;;85407:133:0;;11274:2:1;85407:133:0::1;::::0;::::1;11256:21:1::0;11313:2;11293:18;;;11286:30;11352:34;11332:18;;;11325:62;-1:-1:-1;;;11403:18:1;;;11396:39;11452:19;;85407:133:0::1;;;;;;;;;83292:2;85573:12;;:31;85551:118;;;::::0;-1:-1:-1;;;85551:118:0;;11684:2:1;85551:118:0::1;::::0;::::1;11666:21:1::0;11723:2;11703:18;;;11696:30;11762:34;11742:18;;;11735:62;11833:7;11813:18;;;11806:35;11858:19;;85551:118:0::1;11482:401:1::0;85551:118:0::1;80995:10:::0;85680:17:::1;85769:21:::0;;;:10:::1;:21;::::0;;;;;;;;85723:67;;;;::::1;::::0;;;;;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;;85823:9:::1;:46;85801:132;;;::::0;-1:-1:-1;;;85801:132:0;;12090:2:1;85801:132:0::1;::::0;::::1;12072:21:1::0;12129:2;12109:18;;;12102:30;12168:34;12148:18;;;12141:62;-1:-1:-1;;;12219:18:1;;;12212:34;12263:19;;85801:132:0::1;11888:400:1::0;85801:132:0::1;85993:21;:37;;;85966:24;85980:9;-1:-1:-1::0;;;;;48077:25:0;48049:7;48077:25;;;:18;:25;;41970:2;48077:25;;;;;:50;;41832:13;48076:82;;47988:178;85966:24:::1;:64;85944:168;;;::::0;-1:-1:-1;;;85944:168:0;;12495:2:1;85944:168:0::1;::::0;::::1;12477:21:1::0;12534:2;12514:18;;;12507:30;12573:34;12553:18;;;12546:62;12644:24;12624:18;;;12617:52;12686:19;;85944:168:0::1;12293:418:1::0;85944:168:0::1;86139:1;86123:12;;:17;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;86151:23:0::1;::::0;-1:-1:-1;86161:9:0;86172:1:::1;86151:9;:23::i;:::-;85396:786;;21304:20:::0;20698:1;21824:7;:22;21641:213;21304:20;85344:838::o;60868:2825::-;61010:27;61040;61059:7;61040:18;:27::i;:::-;61010:57;;61125:4;-1:-1:-1;;;;;61084:45:0;61100:19;-1:-1:-1;;;;;61084:45:0;;61080:86;;61138:28;;;;;;;;;;;;;;61080:86;61180:27;59976:24;;;:15;:24;;;;;60204:26;;61371:68;60204:26;61413:4;80995:10;61419:19;-1:-1:-1;;;;;59450:32:0;;;59294:28;;59579:20;;59601:30;;59576:56;;58991:659;61371:68;61366:180;;-1:-1:-1;;;;;58299:25:0;;58275:4;58299:25;;;:18;:25;;;;;;;;80995:10;58299:35;;;;;;;;;;61454:92;;61511:35;;-1:-1:-1;;;61511:35:0;;;;;;;;;;;61454:92;-1:-1:-1;;;;;61563:16:0;;61559:52;;61588:23;;;;;;;;;;;;;;61559:52;61760:15;61757:160;;;61900:1;61879:19;61872:30;61757:160;-1:-1:-1;;;;;62297:24:0;;;;;;;:18;:24;;;;;;62295:26;;-1:-1:-1;;62295:26:0;;;62366:22;;;;;;;;;62364:24;;-1:-1:-1;62364:24:0;;;55520:11;55495:23;55491:41;55478:63;-1:-1:-1;;;55478:63:0;62659:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;62954:47:0;;:52;;62950:627;;63059:1;63049:11;;63027:19;63182:30;;;:17;:30;;;;;;:35;;63178:384;;63320:13;;63305:11;:28;63301:242;;63467:30;;;;:17;:30;;;;;:52;;;63301:242;63008:569;62950:627;63624:7;63620:2;-1:-1:-1;;;;;63605:27:0;63614:4;-1:-1:-1;;;;;63605:27:0;;;;;;;;;;;63643:42;60999:2694;;;60868:2825;;;:::o;86735:545::-;2127:13;:11;:13::i;:::-;86929:18:::1;:25;86909:9;:16;:45;86887:128;;;::::0;-1:-1:-1;;;86887:128:0;;13237:2:1;86887:128:0::1;::::0;::::1;13219:21:1::0;13276:2;13256:18;;;13249:30;13315:34;13295:18;;;13288:62;-1:-1:-1;;;13366:18:1;;;13359:31;13407:19;;86887:128:0::1;13035:397:1::0;86887:128:0::1;87031:9;87026:247;87050:18;:25;87046:1;:29;87026:247;;;87124:137;;;;;;;;87157:18;87176:1;87157:21;;;;;;;;:::i;:::-;;;;;;;:33;;;87124:137;;;;87209:18;87228:1;87209:21;;;;;;;;:::i;:::-;;;;;;;:37;;;87124:137;;::::0;87097:10:::1;:24;87108:9;87118:1;87108:12;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;87097:24:0::1;::::0;;;;::::1;::::0;;;;;;-1:-1:-1;87097:24:0;:164;;;;;::::1;::::0;::::1;::::0;;::::1;::::0;87077:3;::::1;::::0;::::1;:::i;:::-;;;;87026:247;;;;86735:545:::0;;:::o;88907:912::-;2127:13;:11;:13::i;:::-;21260:21:::1;:19;:21::i;:::-;88985::::2;89025:11:::0;89017:55:::2;;;::::0;-1:-1:-1;;;89017:55:0;;13968:2:1;89017:55:0::2;::::0;::::2;13950:21:1::0;14007:2;13987:18;;;13980:30;14046:33;14026:18;;;14019:61;14097:18;;89017:55:0::2;13766:355:1::0;89017:55:0::2;89083:383;::::0;;::::2;::::0;;::::2;::::0;;89128:42:::2;89083:383:::0;;89185:42:::2;89083:383;::::0;;::::2;::::0;;;;89242:42:::2;89083:383:::0;;;;89299:42:::2;89083:383:::0;;;;;;;;89356:42:::2;89083:383:::0;;;;;;;;89413:42:::2;89083:383:::0;;;;;;;;89477:53;;;;::::2;::::0;;89504:3:::2;89477:53:::0;;;;;::::2;::::0;;;;89514:3:::2;89477:53:::0;;;;;;;89519:2:::2;89477:53:::0;;;;89523:2:::2;89477:53:::0;;;;;;;89527:2:::2;89477:53:::0;;;;;;;89083:383;:27:::2;::::0;89564:248:::2;89588:16;89584:1;:20;89564:248;;;89648:9;89658:1;89648:12;;;;;;;:::i;:::-;;;;;-1:-1:-1::0;;;;;89640:26:0::2;89716:4;89703:6;89710:1;89703:9;;;;;;;:::i;:::-;;;;::::0;89693:19:::2;::::0;::::2;;:7:::0;:19:::2;:::i;:::-;89692:28;;;;:::i;:::-;89640:99;::::0;::::2;::::0;;;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89626:113;;;;;89762:7;89754:46;;;::::0;-1:-1:-1;;;89754:46:0;;14990:2:1;89754:46:0::2;::::0;::::2;14972:21:1::0;15029:2;15009:18;;;15002:30;15068:28;15048:18;;;15041:56;15114:18;;89754:46:0::2;14788:350:1::0;89754:46:0::2;89606:3:::0;::::2;::::0;::::2;:::i;:::-;;;;89564:248;;;;88959:860;;;;21304:20:::1;20698:1:::0;21824:7;:22;21641:213;86190:537;86282:10;;;;86274:52;;;;-1:-1:-1;;;86274:52:0;;15345:2:1;86274:52:0;;;15327:21:1;15384:2;15364:18;;;15357:30;15423:31;15403:18;;;15396:59;15472:18;;86274:52:0;15143:353:1;86274:52:0;86345:16;86353:7;86345;:16::i;:::-;86337:61;;;;-1:-1:-1;;;86337:61:0;;15703:2:1;86337:61:0;;;15685:21:1;;;15722:18;;;15715:30;15781:34;15761:18;;;15754:62;15833:18;;86337:61:0;15501:356:1;86337:61:0;80995:10;86431:16;86439:7;86431;:16::i;:::-;-1:-1:-1;;;;;86431:32:0;;86409:115;;;;-1:-1:-1;;;86409:115:0;;16064:2:1;86409:115:0;;;16046:21:1;16103:2;16083:18;;;16076:30;16142:34;16122:18;;;16115:62;-1:-1:-1;;;16193:18:1;;;16186:31;16234:19;;86409:115:0;15862:397:1;86409:115:0;86563:9;86557:23;86584:1;86557:28;86535:117;;;;-1:-1:-1;;;86535:117:0;;16466:2:1;86535:117:0;;;16448:21:1;16505:2;16485:18;;;16478:30;16544:34;16524:18;;;16517:62;16615:9;16595:18;;;16588:37;16642:19;;86535:117:0;16264:403:1;86535:117:0;86663:19;;;;:10;:19;;;;;:31;86685:9;86663:19;:31;:::i;:::-;;86705:14;86711:7;86705:5;:14::i;:::-;86190:537;;:::o;63789:193::-;63935:39;63952:4;63958:2;63962:7;63935:39;;;;;;;;;;;;:16;:39::i;87288:90::-;2127:13;:11;:13::i;:::-;87357:7:::1;:13;87367:3:::0;87357:7;:13:::1;:::i;52131:152::-:0;52203:7;52246:27;52265:7;52246:18;:27::i;83585:59::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;87874:106::-;2127:13;:11;:13::i;:::-;87949:12:::1;:23:::0;;87964:8;;87949:12;-1:-1:-1;;87949:23:0::1;::::0;87964:8;87949:23:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;87874:106:::0;:::o;87563:185::-;2127:13;:11;:13::i;:::-;87654:9:::1;;87642;:21;87634:74;;;::::0;-1:-1:-1;;;87634:74:0;;19078:2:1;87634:74:0::1;::::0;::::1;19060:21:1::0;19117:2;19097:18;;;19090:30;19156:34;19136:18;;;19129:62;19227:10;19207:18;;;19200:38;19255:19;;87634:74:0::1;18876:404:1::0;87634:74:0::1;87719:9;:21:::0;87563:185::o;47673:233::-;47745:7;-1:-1:-1;;;;;47769:19:0;;47765:60;;47797:28;;;;;;;;;;;;;;47765:60;-1:-1:-1;;;;;;47843:25:0;;;;;:18;:25;;;;;;41832:13;47843:55;;47673:233::o;2889:103::-;2127:13;:11;:13::i;:::-;2954:30:::1;2981:1;2954:18;:30::i;87988:84::-:0;2127:13;:11;:13::i;:::-;88054:10:::1;::::0;;-1:-1:-1;;88040:24:0;::::1;88054:10;::::0;;::::1;88053:11;88040:24;::::0;;87988:84::o;87756:110::-;2127:13;:11;:13::i;:::-;87832:10:::1;:26:::0;87756:110::o;87386:169::-;2127:13;:11;:13::i;:::-;87471:5:::1;;87460:8;:16;87452:68;;;::::0;-1:-1:-1;;;87452:68:0;;19487:2:1;87452:68:0::1;::::0;::::1;19469:21:1::0;19526:2;19506:18;;;19499:30;19565:34;19545:18;;;19538:62;19636:9;19616:18;;;19609:37;19663:19;;87452:68:0::1;19285:403:1::0;87452:68:0::1;87531:5;:16:::0;87386:169::o;50914:104::-;50970:13;51003:7;50996:14;;;;;:::i;57787:234::-;80995:10;57882:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;57882:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;57882:60:0;;;;;;;;;;57958:55;;586:41:1;;;57882:49:0;;80995:10;57958:55;;559:18:1;57958:55:0;;;;;;;57787:234;;:::o;88310:14::-;88303:21;;88237:95;:::o;64580:407::-;64755:31;64768:4;64774:2;64778:7;64755:12;:31::i;:::-;-1:-1:-1;;;;;64801:14:0;;;:19;64797:183;;64840:56;64871:4;64877:2;64881:7;64890:5;64840:30;:56::i;:::-;64835:145;;64924:40;;-1:-1:-1;;;64924:40:0;;;;;;;;;;;64835:145;64580:407;;;;:::o;84429:907::-;21260:21;:19;:21::i;:::-;83292:2:::1;84596:9;;:28;;;;:::i;:::-;84581:12;::::0;46965:7;47156:13;-1:-1:-1;;47156:31:0;84564:29:::1;;;;:::i;:::-;:60;84542:140;;;::::0;-1:-1:-1;;;84542:140:0;;20028:2:1;84542:140:0::1;::::0;::::1;20010:21:1::0;20067:2;20047:18;;;20040:30;20106:32;20086:18;;;20079:60;20156:18;;84542:140:0::1;19826:354:1::0;84542:140:0::1;84731:26;84715:12;::::0;::::1;;:42;::::0;::::1;;;;;;:::i;:::-;;84693:133;;;::::0;-1:-1:-1;;;84693:133:0;;11274:2:1;84693:133:0::1;::::0;::::1;11256:21:1::0;11313:2;11293:18;;;11286:30;11352:34;11332:18;;;11325:62;-1:-1:-1;;;11403:18:1;;;11396:39;11452:19;;84693:133:0::1;11072:405:1::0;84693:133:0::1;84858:5;;84845:9;:18;84837:67;;;::::0;-1:-1:-1;;;84837:67:0;;12090:2:1;84837:67:0::1;::::0;::::1;12072:21:1::0;12129:2;12109:18;;;12102:30;12168:34;12148:18;;;12141:62;-1:-1:-1;;;12219:18:1;;;12212:34;12263:19;;84837:67:0::1;11888:400:1::0;84837:67:0::1;83342:1;84937:27;80995:10:::0;84951:12:::1;-1:-1:-1::0;;;;;48077:25:0;48049:7;48077:25;;;:18;:25;;41970:2;48077:25;;;;;:50;;41832:13;48076:82;;47988:178;84937:27:::1;:44;84915:128;;;::::0;-1:-1:-1;;;84915:128:0;;20387:2:1;84915:128:0::1;::::0;::::1;20369:21:1::0;20426:2;20406:18;;;20399:30;20465:34;20445:18;;;20438:62;20536:4;20516:18;;;20509:32;20558:19;;84915:128:0::1;20185:398:1::0;84915:128:0::1;85076:152;85113:11;;85076:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;85143:10:0::1;::::0;85182:30:::1;::::0;-1:-1:-1;;80995:10:0;20737:2:1;20733:15;20729:53;85182:30:0::1;::::0;::::1;20717:66:1::0;85143:10:0;;-1:-1:-1;20799:12:1;;;-1:-1:-1;85182:30:0::1;;;;;;;;;;;;85172:41;;;;;;85076:18;:152::i;:::-;85054:237;;;::::0;-1:-1:-1;;;85054:237:0;;21024:2:1;85054:237:0::1;::::0;::::1;21006:21:1::0;21063:2;21043:18;;;21036:30;21102:34;21082:18;;;21075:62;21173:5;21153:18;;;21146:33;21196:19;;85054:237:0::1;20822:399:1::0;85054:237:0::1;85302:26;80995:10:::0;85312:12:::1;85326:1;85302:9;:26::i;:::-;21304:20:::0;20698:1;21824:7;:22;21641:213;88552:347;88641:13;88675:16;88683:7;88675;:16::i;:::-;88667:61;;;;-1:-1:-1;;;88667:61:0;;15703:2:1;88667:61:0;;;15685:21:1;;;15722:18;;;15715:30;15781:34;15761:18;;;15754:62;15833:18;;88667:61:0;15501:356:1;88667:61:0;88767:7;88761:21;;;;;:::i;:::-;;;88786:1;88761:26;:130;;;;;;;;;;;;;;;;;88831:7;88840:18;88850:7;88840:9;:18::i;:::-;88814:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;88741:150;88552:347;-1:-1:-1;;88552:347:0:o;88340:95::-;88386:7;88413:14;47370:12;;;47288:102;88080:149;-1:-1:-1;;;;;48077:25:0;;88165:7;48077:25;;;:18;:25;;41970:2;48077:25;;;;41832:13;48077:50;;48076:82;88192:29;47988:178;83712:44;;;;;;;;;;;;;;;;:::i;3147:201::-;2127:13;:11;:13::i;:::-;-1:-1:-1;;;;;3236:22:0;::::1;3228:73;;;::::0;-1:-1:-1;;;3228:73:0;;22620:2:1;3228:73:0::1;::::0;::::1;22602:21:1::0;22659:2;22639:18;;;22632:30;22698:34;22678:18;;;22671:62;22769:8;22749:18;;;22742:36;22795:19;;3228:73:0::1;22418:402:1::0;3228:73:0::1;3312:28;3331:8;3312:18;:28::i;:::-;3147:201:::0;:::o;83863:558::-;21260:21;:19;:21::i;:::-;83954:9:::1;::::0;46965:7;47156:13;-1:-1:-1;;47156:31:0;83937:26:::1;83929:69;;;::::0;-1:-1:-1;;;83929:69:0;;20028:2:1;83929:69:0::1;::::0;::::1;20010:21:1::0;20067:2;20047:18;;;20040:30;20106:32;20086:18;;;20079:60;20156:18;;83929:69:0::1;19826:354:1::0;83929:69:0::1;84047:25;84031:12;::::0;::::1;;:41;::::0;::::1;;;;;;:::i;:::-;;84009:131;;;::::0;-1:-1:-1;;;84009:131:0;;23027:2:1;84009:131:0::1;::::0;::::1;23009:21:1::0;23066:2;23046:18;;;23039:30;23105:34;23085:18;;;23078:62;23176:10;23156:18;;;23149:38;23204:19;;84009:131:0::1;22825:404:1::0;84009:131:0::1;84172:5;;84159:9;:18;84151:67;;;::::0;-1:-1:-1;;;84151:67:0;;12090:2:1;84151:67:0::1;::::0;::::1;12072:21:1::0;12129:2;12109:18;;;12102:30;12168:34;12148:18;;;12141:62;-1:-1:-1;;;12219:18:1;;;12212:34;12263:19;;84151:67:0::1;11888:400:1::0;84151:67:0::1;83395:2;84251:27;80995:10:::0;84265:12:::1;80908:105:::0;84251:27:::1;:48;84229:147;;;::::0;-1:-1:-1;;;84229:147:0;;23436:2:1;84229:147:0::1;::::0;::::1;23418:21:1::0;23475:2;23455:18;;;23448:30;23514:34;23494:18;;;23487:62;23585:19;23565:18;;;23558:47;23622:19;;84229:147:0::1;23234:413:1::0;84229:147:0::1;84387:26;80995:10:::0;84397:12:::1;80908:105:::0;84387:26:::1;21304:20:::0;20698:1;21824:7;:22;21641:213;58600:282;58665:4;58721:7;88535:1;58702:26;;:66;;;;;58755:13;;58745:7;:23;58702:66;:153;;;;-1:-1:-1;;58806:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;58806:44:0;:49;;58600:282::o;21340:293::-;20742:1;21474:7;;:19;21466:63;;;;-1:-1:-1;;;21466:63:0;;23854:2:1;21466:63:0;;;23836:21:1;23893:2;23873:18;;;23866:30;23932:33;23912:18;;;23905:61;23983:18;;21466:63:0;23652:355:1;21466:63:0;20742:1;21607:7;:18;21340:293::o;74740:112::-;74817:27;74827:2;74831:8;74817:27;;;;;;;;;;;;:9;:27::i;53286:1275::-;53353:7;53388;;88535:1;53437:23;53433:1061;;53490:13;;53483:4;:20;53479:1015;;;53528:14;53545:23;;;:17;:23;;;;;;;-1:-1:-1;;;53634:24:0;;:29;;53630:845;;54299:113;54306:6;54316:1;54306:11;54299:113;;-1:-1:-1;;;54377:6:0;54359:25;;;;:17;:25;;;;;;54299:113;;;54445:6;53286:1275;-1:-1:-1;;;53286:1275:0:o;53630:845::-;53505:989;53479:1015;54522:31;;;;;;;;;;;;;;2406:132;2314:6;;-1:-1:-1;;;;;2314:6:0;80995:10;2470:23;2462:68;;;;-1:-1:-1;;;2462:68:0;;24214:2:1;2462:68:0;;;24196:21:1;;;24233:18;;;24226:30;24292:34;24272:18;;;24265:62;24344:18;;2462:68:0;24012:356:1;75119:89:0;75179:21;75185:7;75194:5;75179;:21::i;3508:191::-;3601:6;;;-1:-1:-1;;;;;3618:17:0;;;-1:-1:-1;;3618:17:0;;;;;;;3651:40;;3601:6;;;3618:17;3601:6;;3651:40;;3582:16;;3651:40;3571:128;3508:191;:::o;67071:716::-;67255:88;;-1:-1:-1;;;67255:88:0;;67234:4;;-1:-1:-1;;;;;67255:45:0;;;;;:88;;80995:10;;67322:4;;67328:7;;67337:5;;67255:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67255:88:0;;;;;;;;-1:-1:-1;;67255:88:0;;;;;;;;;;;;:::i;:::-;;;67251:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67538:6;:13;67555:1;67538:18;67534:235;;67584:40;;-1:-1:-1;;;67584:40:0;;;;;;;;;;;67534:235;67727:6;67721:13;67712:6;67708:2;67704:15;67697:38;67251:529;-1:-1:-1;;;;;;67414:64:0;-1:-1:-1;;;67414:64:0;;-1:-1:-1;67251:529:0;67071:716;;;;;;:::o;23087:190::-;23212:4;23265;23236:25;23249:5;23256:4;23236:12;:25::i;:::-;:33;;23087:190;-1:-1:-1;;;;23087:190:0:o;81115:1745::-;81180:17;81614:4;81607;81601:11;81597:22;81706:1;81700:4;81693:15;81781:4;81778:1;81774:12;81767:19;;;81863:1;81858:3;81851:14;81967:3;82206:5;82188:428;82254:1;82249:3;82245:11;82238:18;;82425:2;82419:4;82415:13;82411:2;82407:22;82402:3;82394:36;82519:2;82509:13;;82576:25;82188:428;82576:25;-1:-1:-1;82646:13:0;;;-1:-1:-1;;82761:14:0;;;82823:19;;;82761:14;81115:1745;-1:-1:-1;81115:1745:0:o;73967:689::-;74098:19;74104:2;74108:8;74098:5;:19::i;:::-;-1:-1:-1;;;;;74159:14:0;;;:19;74155:483;;74199:11;74213:13;74261:14;;;74294:233;74325:62;74364:1;74368:2;74372:7;;;;;;74381:5;74325:30;:62::i;:::-;74320:167;;74423:40;;-1:-1:-1;;;74423:40:0;;;;;;;;;;;74320:167;74522:3;74514:5;:11;74294:233;;74609:3;74592:13;;:20;74588:34;;74614:8;;;74588:34;74180:458;;73967:689;;;:::o;75437:3081::-;75517:27;75547;75566:7;75547:18;:27::i;:::-;75517:57;-1:-1:-1;75517:57:0;75587:12;;75709:35;75736:7;59865:27;59976:24;;;:15;:24;;;;;60204:26;;59976:24;;59763:485;75709:35;75652:92;;;;75761:13;75757:316;;;75882:68;75907:15;75924:4;80995:10;75930:19;80908:105;75882:68;75877:184;;-1:-1:-1;;;;;58299:25:0;;58275:4;58299:25;;;:18;:25;;;;;;;;80995:10;58299:35;;;;;;;;;;75969:92;;76026:35;;-1:-1:-1;;;76026:35:0;;;;;;;;;;;75969:92;76229:15;76226:160;;;76369:1;76348:19;76341:30;76226:160;-1:-1:-1;;;;;76988:24:0;;;;;;:18;:24;;;;;:60;;77016:32;76988:60;;;55520:11;55495:23;55491:41;55478:63;77376:43;55478:63;77286:26;;;;:17;:26;;;;;:205;;;;-1:-1:-1;;;77611:47:0;;:52;;77607:627;;77716:1;77706:11;;77684:19;77839:30;;;:17;:30;;;;;;:35;;77835:384;;77977:13;;77962:11;:28;77958:242;;78124:30;;;;:17;:30;;;;;:52;;;77958:242;77665:569;77607:627;78262:35;;78289:7;;78285:1;;-1:-1:-1;;;;;78262:35:0;;;;;78285:1;;78262:35;-1:-1:-1;;78485:12:0;:14;;;;;;-1:-1:-1;;;;75437:3081:0:o;23954:296::-;24037:7;24080:4;24037:7;24095:118;24119:5;:12;24115:1;:16;24095:118;;;24168:33;24178:12;24192:5;24198:1;24192:8;;;;;;;;:::i;:::-;;;;;;;24168:9;:33::i;:::-;24153:48;-1:-1:-1;24133:3:0;;;;:::i;:::-;;;;24095:118;;;-1:-1:-1;24230:12:0;23954:296;-1:-1:-1;;;23954:296:0:o;68249:2966::-;68322:20;68345:13;;;68373;;;68369:44;;68395:18;;;;;;;;;;;;;;68369:44;-1:-1:-1;;;;;68901:22:0;;;;;;:18;:22;;;;41970:2;68901:22;;;:71;;68939:32;68927:45;;68901:71;;;69215:31;;;:17;:31;;;;;-1:-1:-1;55951:15:0;;55925:24;55921:46;55520:11;55495:23;55491:41;55488:52;55478:63;;69215:173;;69450:23;;;;69215:31;;68901:22;;70215:25;68901:22;;70068:335;70729:1;70715:12;70711:20;70669:346;70770:3;70761:7;70758:16;70669:346;;70988:7;70978:8;70975:1;70948:25;70945:1;70942;70937:59;70823:1;70810:15;70669:346;;;70673:77;71048:8;71060:1;71048:13;71044:45;;71070:19;;;;;;;;;;;;;;71044:45;71106:13;:19;-1:-1:-1;87026:247:0::1;86735:545:::0;;:::o;30994:149::-;31057:7;31088:1;31084;:5;:51;;31219:13;31313:15;;;31349:4;31342:15;;;31396:4;31380:21;;31084:51;;;-1:-1:-1;31219:13:0;31313:15;;;31349:4;31342:15;31396:4;31380:21;;;30994:149::o;14:177:1:-;-1:-1:-1;;;;;;92:5:1;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:250::-;723:1;733:113;747:6;744:1;741:13;733:113;;;823:11;;;817:18;804:11;;;797:39;769:2;762:10;733:113;;;-1:-1:-1;;880:1:1;862:16;;855:27;638:250::o;893:271::-;935:3;973:5;967:12;1000:6;995:3;988:19;1016:76;1085:6;1078:4;1073:3;1069:14;1062:4;1055:5;1051:16;1016:76;:::i;:::-;1146:2;1125:15;-1:-1:-1;;1121:29:1;1112:39;;;;1153:4;1108:50;;893:271;-1:-1:-1;;893:271:1:o;1169:220::-;1318:2;1307:9;1300:21;1281:4;1338:45;1379:2;1368:9;1364:18;1356:6;1338:45;:::i;1394:180::-;1453:6;1506:2;1494:9;1485:7;1481:23;1477:32;1474:52;;;1522:1;1519;1512:12;1474:52;-1:-1:-1;1545:23:1;;1394:180;-1:-1:-1;1394:180:1:o;1810:196::-;1878:20;;-1:-1:-1;;;;;1927:54:1;;1917:65;;1907:93;;1996:1;1993;1986:12;1907:93;1810:196;;;:::o;2011:254::-;2079:6;2087;2140:2;2128:9;2119:7;2115:23;2111:32;2108:52;;;2156:1;2153;2146:12;2108:52;2179:29;2198:9;2179:29;:::i;:::-;2169:39;2255:2;2240:18;;;;2227:32;;-1:-1:-1;;;2011:254:1:o;2270:184::-;-1:-1:-1;;;2319:1:1;2312:88;2419:4;2416:1;2409:15;2443:4;2440:1;2433:15;2459:403;2609:2;2594:18;;2642:1;2631:13;;2621:201;;-1:-1:-1;;;2675:1:1;2668:88;2779:4;2776:1;2769:15;2807:4;2804:1;2797:15;2621:201;2831:25;;;2459:403;:::o;3049:328::-;3126:6;3134;3142;3195:2;3183:9;3174:7;3170:23;3166:32;3163:52;;;3211:1;3208;3201:12;3163:52;3234:29;3253:9;3234:29;:::i;:::-;3224:39;;3282:38;3316:2;3305:9;3301:18;3282:38;:::i;:::-;3272:48;;3367:2;3356:9;3352:18;3339:32;3329:42;;3049:328;;;;;:::o;3382:184::-;-1:-1:-1;;;3431:1:1;3424:88;3531:4;3528:1;3521:15;3555:4;3552:1;3545:15;3571:257;3643:4;3637:11;;;3675:17;;3722:18;3707:34;;3743:22;;;3704:62;3701:88;;;3769:18;;:::i;:::-;3805:4;3798:24;3571:257;:::o;3833:275::-;3904:2;3898:9;3969:2;3950:13;;-1:-1:-1;;3946:27:1;3934:40;;4004:18;3989:34;;4025:22;;;3986:62;3983:88;;;4051:18;;:::i;:::-;4087:2;4080:22;3833:275;;-1:-1:-1;3833:275:1:o;4113:183::-;4173:4;4206:18;4198:6;4195:30;4192:56;;;4228:18;;:::i;:::-;-1:-1:-1;4273:1:1;4269:14;4285:4;4265:25;;4113:183::o;4301:949::-;4369:5;4422:3;4415:4;4407:6;4403:17;4399:27;4389:55;;4440:1;4437;4430:12;4389:55;4476:6;4463:20;4502:4;4526:60;4542:43;4582:2;4542:43;:::i;:::-;4526:60;:::i;:::-;4620:15;;;4706:1;4702:10;;;;4690:23;;4686:32;;;4651:12;;;;4730:15;;;4727:35;;;4758:1;4755;4748:12;4727:35;4794:2;4786:6;4782:15;4806:415;4822:6;4817:3;4814:15;4806:415;;;4900:4;4894:3;4889;4885:13;4881:24;4878:114;;;4946:1;4975:2;4971;4964:14;4878:114;5018:22;;:::i;:::-;5067:17;;5053:32;;5134:12;;;5121:26;5105:14;;;5098:50;5161:18;;5199:12;;;;4848:4;4839:14;4806:415;;;-1:-1:-1;5239:5:1;4301:949;-1:-1:-1;;;;;;4301:949:1:o;5255:1192::-;5405:6;5413;5466:2;5454:9;5445:7;5441:23;5437:32;5434:52;;;5482:1;5479;5472:12;5434:52;5522:9;5509:23;5551:18;5592:2;5584:6;5581:14;5578:34;;;5608:1;5605;5598:12;5578:34;5646:6;5635:9;5631:22;5621:32;;5691:7;5684:4;5680:2;5676:13;5672:27;5662:55;;5713:1;5710;5703:12;5662:55;5749:2;5736:16;5771:4;5795:60;5811:43;5851:2;5811:43;:::i;5795:60::-;5889:15;;;5971:1;5967:10;;;;5959:19;;5955:28;;;5920:12;;;;5995:19;;;5992:39;;;6027:1;6024;6017:12;5992:39;6051:11;;;;6071:148;6087:6;6082:3;6079:15;6071:148;;;6153:23;6172:3;6153:23;:::i;:::-;6141:36;;6104:12;;;;6197;;;;6071:148;;;6238:5;-1:-1:-1;;6281:18:1;;6268:32;;-1:-1:-1;;6312:16:1;;;6309:36;;;6341:1;6338;6331:12;6309:36;;6364:77;6433:7;6422:8;6411:9;6407:24;6364:77;:::i;:::-;6354:87;;;5255:1192;;;;;:::o;6452:407::-;6517:5;6551:18;6543:6;6540:30;6537:56;;;6573:18;;:::i;:::-;6611:57;6656:2;6635:15;;-1:-1:-1;;6631:29:1;6662:4;6627:40;6611:57;:::i;:::-;6602:66;;6691:6;6684:5;6677:21;6731:3;6722:6;6717:3;6713:16;6710:25;6707:45;;;6748:1;6745;6738:12;6707:45;6797:6;6792:3;6785:4;6778:5;6774:16;6761:43;6851:1;6844:4;6835:6;6828:5;6824:18;6820:29;6813:40;6452:407;;;;;:::o;6864:222::-;6907:5;6960:3;6953:4;6945:6;6941:17;6937:27;6927:55;;6978:1;6975;6968:12;6927:55;7000:80;7076:3;7067:6;7054:20;7047:4;7039:6;7035:17;7000:80;:::i;7091:390::-;7169:6;7177;7230:2;7218:9;7209:7;7205:23;7201:32;7198:52;;;7246:1;7243;7236:12;7198:52;7282:9;7269:23;7259:33;;7343:2;7332:9;7328:18;7315:32;7370:18;7362:6;7359:30;7356:50;;;7402:1;7399;7392:12;7356:50;7425;7467:7;7458:6;7447:9;7443:22;7425:50;:::i;7486:186::-;7545:6;7598:2;7586:9;7577:7;7573:23;7569:32;7566:52;;;7614:1;7611;7604:12;7566:52;7637:29;7656:9;7637:29;:::i;7930:322::-;7999:6;8052:2;8040:9;8031:7;8027:23;8023:32;8020:52;;;8068:1;8065;8058:12;8020:52;8108:9;8095:23;8141:18;8133:6;8130:30;8127:50;;;8173:1;8170;8163:12;8127:50;8196;8238:7;8229:6;8218:9;8214:22;8196:50;:::i;8257:274::-;8334:6;8387:2;8375:9;8366:7;8362:23;8358:32;8355:52;;;8403:1;8400;8393:12;8355:52;8442:9;8429:23;8481:1;8474:5;8471:12;8461:40;;8497:1;8494;8487:12;8721:347;8786:6;8794;8847:2;8835:9;8826:7;8822:23;8818:32;8815:52;;;8863:1;8860;8853:12;8815:52;8886:29;8905:9;8886:29;:::i;:::-;8876:39;;8965:2;8954:9;8950:18;8937:32;9012:5;9005:13;8998:21;8991:5;8988:32;8978:60;;9034:1;9031;9024:12;8978:60;9057:5;9047:15;;;8721:347;;;;;:::o;9073:667::-;9168:6;9176;9184;9192;9245:3;9233:9;9224:7;9220:23;9216:33;9213:53;;;9262:1;9259;9252:12;9213:53;9285:29;9304:9;9285:29;:::i;:::-;9275:39;;9333:38;9367:2;9356:9;9352:18;9333:38;:::i;:::-;9323:48;;9418:2;9407:9;9403:18;9390:32;9380:42;;9473:2;9462:9;9458:18;9445:32;9500:18;9492:6;9489:30;9486:50;;;9532:1;9529;9522:12;9486:50;9555:22;;9608:4;9600:13;;9596:27;-1:-1:-1;9586:55:1;;9637:1;9634;9627:12;9586:55;9660:74;9726:7;9721:2;9708:16;9703:2;9699;9695:11;9660:74;:::i;:::-;9650:84;;;9073:667;;;;;;;:::o;9745:615::-;9831:6;9839;9892:2;9880:9;9871:7;9867:23;9863:32;9860:52;;;9908:1;9905;9898:12;9860:52;9948:9;9935:23;9977:18;10018:2;10010:6;10007:14;10004:34;;;10034:1;10031;10024:12;10004:34;10072:6;10061:9;10057:22;10047:32;;10117:7;10110:4;10106:2;10102:13;10098:27;10088:55;;10139:1;10136;10129:12;10088:55;10179:2;10166:16;10205:2;10197:6;10194:14;10191:34;;;10221:1;10218;10211:12;10191:34;10274:7;10269:2;10259:6;10256:1;10252:14;10248:2;10244:23;10240:32;10237:45;10234:65;;;10295:1;10292;10285:12;10234:65;10326:2;10318:11;;;;;10348:6;;-1:-1:-1;9745:615:1;;-1:-1:-1;;;;9745:615:1:o;10365:260::-;10433:6;10441;10494:2;10482:9;10473:7;10469:23;10465:32;10462:52;;;10510:1;10507;10500:12;10462:52;10533:29;10552:9;10533:29;:::i;:::-;10523:39;;10581:38;10615:2;10604:9;10600:18;10581:38;:::i;:::-;10571:48;;10365:260;;;;;:::o;10630:437::-;10709:1;10705:12;;;;10752;;;10773:61;;10827:4;10819:6;10815:17;10805:27;;10773:61;10880:2;10872:6;10869:14;10849:18;10846:38;10843:218;;-1:-1:-1;;;10914:1:1;10907:88;11018:4;11015:1;11008:15;11046:4;11043:1;11036:15;10843:218;;10630:437;;;:::o;12716:184::-;-1:-1:-1;;;12765:1:1;12758:88;12865:4;12862:1;12855:15;12889:4;12886:1;12879:15;12905:125;12970:9;;;12991:10;;;12988:36;;;13004:18;;:::i;13437:184::-;-1:-1:-1;;;13486:1:1;13479:88;13586:4;13583:1;13576:15;13610:4;13607:1;13600:15;13626:135;13665:3;13686:17;;;13683:43;;13706:18;;:::i;:::-;-1:-1:-1;13753:1:1;13742:13;;13626:135::o;14126:168::-;14199:9;;;14230;;14247:15;;;14241:22;;14227:37;14217:71;;14268:18;;:::i;14299:274::-;14339:1;14365;14355:189;;-1:-1:-1;;;14397:1:1;14390:88;14501:4;14498:1;14491:15;14529:4;14526:1;14519:15;14355:189;-1:-1:-1;14558:9:1;;14299:274::o;16798:545::-;16900:2;16895:3;16892:11;16889:448;;;16936:1;16961:5;16957:2;16950:17;17006:4;17002:2;16992:19;17076:2;17064:10;17060:19;17057:1;17053:27;17047:4;17043:38;17112:4;17100:10;17097:20;17094:47;;;-1:-1:-1;17135:4:1;17094:47;17190:2;17185:3;17181:12;17178:1;17174:20;17168:4;17164:31;17154:41;;17245:82;17263:2;17256:5;17253:13;17245:82;;;17308:17;;;17289:1;17278:13;17245:82;;17519:1352;17645:3;17639:10;17672:18;17664:6;17661:30;17658:56;;;17694:18;;:::i;:::-;17723:97;17813:6;17773:38;17805:4;17799:11;17773:38;:::i;:::-;17767:4;17723:97;:::i;:::-;17875:4;;17939:2;17928:14;;17956:1;17951:663;;;;18658:1;18675:6;18672:89;;;-1:-1:-1;18727:19:1;;;18721:26;18672:89;-1:-1:-1;;17476:1:1;17472:11;;;17468:24;17464:29;17454:40;17500:1;17496:11;;;17451:57;18774:81;;17921:944;;17951:663;16745:1;16738:14;;;16782:4;16769:18;;-1:-1:-1;;17987:20:1;;;18105:236;18119:7;18116:1;18113:14;18105:236;;;18208:19;;;18202:26;18187:42;;18300:27;;;;18268:1;18256:14;;;;18135:19;;18105:236;;;18109:3;18369:6;18360:7;18357:19;18354:201;;;18430:19;;;18424:26;-1:-1:-1;;18513:1:1;18509:14;;;18525:3;18505:24;18501:37;18497:42;18482:58;18467:74;;18354:201;-1:-1:-1;;;;;18601:1:1;18585:14;;;18581:22;18568:36;;-1:-1:-1;17519:1352:1:o;19693:128::-;19760:9;;;19781:11;;;19778:37;;;19795:18;;:::i;21226:1187::-;21503:3;21532:1;21565:6;21559:13;21595:36;21621:9;21595:36;:::i;:::-;21650:1;21667:18;;;21694:133;;;;21841:1;21836:356;;;;21660:532;;21694:133;-1:-1:-1;;21727:24:1;;21715:37;;21800:14;;21793:22;21781:35;;21772:45;;;-1:-1:-1;21694:133:1;;21836:356;21867:6;21864:1;21857:17;21897:4;21942:2;21939:1;21929:16;21967:1;21981:165;21995:6;21992:1;21989:13;21981:165;;;22073:14;;22060:11;;;22053:35;22116:16;;;;22010:10;;21981:165;;;21985:3;;;22175:6;22170:3;22166:16;22159:23;;21660:532;;;;;22223:6;22217:13;22239:68;22298:8;22293:3;22286:4;22278:6;22274:17;22239:68;:::i;:::-;22370:7;22329:18;;22356:22;;;22405:1;22394:13;;21226:1187;-1:-1:-1;;;;21226:1187:1:o;24373:512::-;24567:4;-1:-1:-1;;;;;24677:2:1;24669:6;24665:15;24654:9;24647:34;24729:2;24721:6;24717:15;24712:2;24701:9;24697:18;24690:43;;24769:6;24764:2;24753:9;24749:18;24742:34;24812:3;24807:2;24796:9;24792:18;24785:31;24833:46;24874:3;24863:9;24859:19;24851:6;24833:46;:::i;:::-;24825:54;24373:512;-1:-1:-1;;;;;;24373:512:1:o;24890:249::-;24959:6;25012:2;25000:9;24991:7;24987:23;24983:32;24980:52;;;25028:1;25025;25018:12;24980:52;25060:9;25054:16;25079:30;25103:5;25079:30;:::i

Swarm Source

ipfs://071d8f966b8241ad5bd4b0a171de7a3e41619040705c51403c0b8142fc0769e2
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.