ETH Price: $3,501.36 (+3.86%)
Gas: 4 Gwei

Token

CoolBastards (CB)
 

Overview

Max Total Supply

6,429 CB

Holders

1,739

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 CB
0x9b5cd82f64203d174c0ec3dbec22d6ea9f62d423
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:
CoolBastards

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// File: operator-filter-registry/src/IOperatorFilterRegistry.sol


pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

// File: operator-filter-registry/src/OperatorFilterer.sol


pragma solidity ^0.8.13;


/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

// File: operator-filter-registry/src/DefaultOperatorFilterer.sol


pragma solidity ^0.8.13;


/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

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

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

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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


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

pragma solidity ^0.8.0;


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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables
     * (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`,
     * checking first that contract recipients are aware of the ERC721 protocol
     * to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move
     * this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external payable;

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom}
     * whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external payable;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);

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

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

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

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

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

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

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

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

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        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)
        }
    }
}

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


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

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


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

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: contracts/coolbastards.sol





//	 ██████╗ ██████╗  ██████╗ ██╗         ██████╗  █████╗ ███████╗████████╗ █████╗ ██████╗ ██████╗ ███████╗
//	██╔════╝██╔═══██╗██╔═══██╗██║         ██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔══██╗██╔════╝
//	██║     ██║   ██║██║   ██║██║         ██████╔╝███████║███████╗   ██║   ███████║██████╔╝██║  ██║███████╗
//	██║     ██║   ██║██║   ██║██║         ██╔══██╗██╔══██║╚════██║   ██║   ██╔══██║██╔══██╗██║  ██║╚════██║
//	╚██████╗╚██████╔╝╚██████╔╝███████╗    ██████╔╝██║  ██║███████║   ██║   ██║  ██║██║  ██║██████╔╝███████║
//	 ╚═════╝ ╚═════╝  ╚═════╝ ╚══════╝    ╚═════╝ ╚═╝  ╚═╝╚══════╝   ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝╚═════╝ ╚══════╝



pragma solidity ^0.8.13;








contract CoolBastards is ERC721A, Ownable, ReentrancyGuard, DefaultOperatorFilterer {

            using Strings for uint256;
            uint256 public _maxSupply = 8900;
            uint256 public maxMintAmountPerWallet = 4;
            uint256 public maxMintAmountPerTx = 4;
            string baseURL = "";
            string ExtensionURL = ".json";
            uint256 _initalPrice = 0 ether;
            uint256 public costOfNFT = 0.002 ether;
            uint256 public numberOfFreeNFTs = 2;
            
            uint256 currentFreeSupply = 0;
            uint256 freeSupplyLimit = 4000;
            string HiddenURL;
            bool revealed = false;
            bool public paused = true;
            
            error ContractPaused();
            error MaxMintWalletExceeded();
            error MaxSupply();
            error InvalidMintAmount();
            error InsufficientFund();
            error NoSmartContract();
            error TokenNotExisting();

        constructor(string memory _initBaseURI) ERC721A("CoolBastards", "CB") {
            baseURL = _initBaseURI;
        }

        // ================== Mint Function =======================

        modifier mintCompliance(uint256 _mintAmount) {
            if (msg.sender != tx.origin) revert NoSmartContract();
            if (totalSupply()  + _mintAmount > _maxSupply) revert MaxSupply();
            if (_mintAmount > maxMintAmountPerTx) revert InvalidMintAmount();
            if(paused) revert ContractPaused();
            _;
        }

        modifier mintPriceCompliance(uint256 _mintAmount) {
            if(balanceOf(msg.sender) + _mintAmount > maxMintAmountPerWallet) revert MaxMintWalletExceeded();
            if (_mintAmount < 0 || _mintAmount > maxMintAmountPerWallet) revert InvalidMintAmount();
              if (msg.value < checkCost(_mintAmount)) revert InsufficientFund();
            _;
        }
        

        function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount){
          currentFreeSupply = currentFreeSupply + checkFreemint(_mintAmount);
          _safeMint(msg.sender, _mintAmount);
          }

        function checkCost(uint256 _mintAmount) public view returns (uint256) {
          uint256 totalMints = _mintAmount + balanceOf(msg.sender);
          if ((totalMints <= numberOfFreeNFTs) && (currentFreeSupply < freeSupplyLimit)) {
          return _initalPrice;
          } else if ((balanceOf(msg.sender) == 0) && (totalMints > numberOfFreeNFTs) && (currentFreeSupply < freeSupplyLimit)) { 
          uint256 total = costOfNFT * (_mintAmount - numberOfFreeNFTs);
          return total;
          } 
          else {
          uint256 total2 = costOfNFT * _mintAmount;
          return total2;
            }
        }
        
        function checkFreemint(uint256 _mintAmount) public view returns (uint256) {
          uint256 totalMints = _mintAmount + balanceOf(msg.sender);
          if ((totalMints <= numberOfFreeNFTs) && (currentFreeSupply < freeSupplyLimit)) {
          return totalMints;
          } else 
          if ((balanceOf(msg.sender) == 0) && (totalMints > numberOfFreeNFTs) && (currentFreeSupply < freeSupplyLimit)) { 
          return numberOfFreeNFTs;
          } 
          else {
          return 0;
            }
        }

        function changeFreeSupplyLimit(uint256 _newSupply)public onlyOwner {
          freeSupplyLimit = _newSupply;
        }
        

        function airdrop(address[] memory accounts, uint256 amount)public onlyOwner {
          for(uint256 i = 0; i < accounts.length; i++){
          _safeMint(accounts[i], amount);
          }
        }

        // =================== Orange Functions (Owner Only) ===============

        function pause() public onlyOwner {
          paused = !paused;
        }

        

        function setbaseURL(string memory uri) public onlyOwner{
          baseURL = uri;
        }

        function setExtensionURL(string memory uri) public onlyOwner{
          ExtensionURL = uri;
        }

        function setCostPrice(uint256 _cost) public onlyOwner{
          costOfNFT = _cost;
        } 

        function setSupply(uint256 supply) public onlyOwner{
          _maxSupply = supply;
        }

        function setMaxMintAmountPerTx(uint256 perTx) public onlyOwner{
          maxMintAmountPerTx = perTx;
        }

        function setMaxMintAmountPerWallet(uint256 perWallet) public onlyOwner{
          maxMintAmountPerWallet = perWallet;
        }  
        
        function setnumberOfFreeNFTs(uint256 perWallet) public onlyOwner{
          numberOfFreeNFTs = perWallet;
        }            

        // ================================ Withdraw Function ====================

        function withdraw() public onlyOwner nonReentrant{
          

          

        (bool owner, ) = payable(owner()).call{value: address(this).balance}('');
        require(owner);
        }
        // =================== Blue Functions (View Only) ====================

        function tokenURI(uint256 tokenId) public view override(ERC721A) returns (string memory) {
          if (!_exists(tokenId)) revert TokenNotExisting();   

        

        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), ExtensionURL))
        : '';
        }
        
        function _startTokenId() internal view virtual override returns (uint256) {
          return 1;
        }

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

        
        function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) {
          super.transferFrom(from, to, tokenId);
        }

        function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) {
          super.safeTransferFrom(from, to, tokenId);
        }

        function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from) {
          super.safeTransferFrom(from, to, tokenId, data);
        }  

      }

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ContractPaused","type":"error"},{"inputs":[],"name":"InsufficientFund","type":"error"},{"inputs":[],"name":"InvalidMintAmount","type":"error"},{"inputs":[],"name":"MaxMintWalletExceeded","type":"error"},{"inputs":[],"name":"MaxSupply","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NoSmartContract","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TokenNotExisting","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"airdrop","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":[{"internalType":"uint256","name":"_newSupply","type":"uint256"}],"name":"changeFreeSupplyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"checkCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"checkFreemint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"costOfNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberOfFreeNFTs","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"_cost","type":"uint256"}],"name":"setCostPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setExtensionURL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"perTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"perWallet","type":"uint256"}],"name":"setMaxMintAmountPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setbaseURL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"perWallet","type":"uint256"}],"name":"setnumberOfFreeNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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"}]

60806040526122c4600a556004600b556004600c5560405180602001604052806000815250600d90805190602001906200003b929190620004f6565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600e908051906020019062000089929190620004f6565b506000600f5566071afd498d000060105560026011556000601255610fa06013556000601560006101000a81548160ff0219169083151502179055506001601560016101000a81548160ff021916908315150217905550348015620000ed57600080fd5b5060405162003d0538038062003d05833981810160405281019062000113919062000743565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600c81526020017f436f6f6c426173746172647300000000000000000000000000000000000000008152506040518060400160405280600281526020017f43420000000000000000000000000000000000000000000000000000000000008152508160029080519060200190620001ae929190620004f6565b508060039080519060200190620001c7929190620004f6565b50620001d86200041f60201b60201c565b600081905550505062000200620001f46200042860201b60201c565b6200043060201b60201c565b600160098190555060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620003fd578015620002c3576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b815260040162000289929190620007d9565b600060405180830381600087803b158015620002a457600080fd5b505af1158015620002b9573d6000803e3d6000fd5b50505050620003fc565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200037d576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b815260040162000343929190620007d9565b600060405180830381600087803b1580156200035e57600080fd5b505af115801562000373573d6000803e3d6000fd5b50505050620003fb565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620003c6919062000806565b600060405180830381600087803b158015620003e157600080fd5b505af1158015620003f6573d6000803e3d6000fd5b505050505b5b5b505080600d908051906020019062000417929190620004f6565b505062000887565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620005049062000852565b90600052602060002090601f01602090048101928262000528576000855562000574565b82601f106200054357805160ff191683800117855562000574565b8280016001018555821562000574579182015b828111156200057357825182559160200191906001019062000556565b5b50905062000583919062000587565b5090565b5b80821115620005a257600081600090555060010162000588565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200060f82620005c4565b810181811067ffffffffffffffff82111715620006315762000630620005d5565b5b80604052505050565b600062000646620005a6565b905062000654828262000604565b919050565b600067ffffffffffffffff821115620006775762000676620005d5565b5b6200068282620005c4565b9050602081019050919050565b60005b83811015620006af57808201518184015260208101905062000692565b83811115620006bf576000848401525b50505050565b6000620006dc620006d68462000659565b6200063a565b905082815260208101848484011115620006fb57620006fa620005bf565b5b620007088482856200068f565b509392505050565b600082601f830112620007285762000727620005ba565b5b81516200073a848260208601620006c5565b91505092915050565b6000602082840312156200075c576200075b620005b0565b5b600082015167ffffffffffffffff8111156200077d576200077c620005b5565b5b6200078b8482850162000710565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007c18262000794565b9050919050565b620007d381620007b4565b82525050565b6000604082019050620007f06000830185620007c8565b620007ff6020830184620007c8565b9392505050565b60006020820190506200081d6000830184620007c8565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200086b57607f821691505b60208210810362000881576200088062000823565b5b50919050565b61346e80620008976000396000f3fe6080604052600436106102255760003560e01c8063766b7d0911610123578063b0fe6414116100ab578063c87b56dd1161006f578063c87b56dd14610774578063e098ff73146107b1578063e2edb001146107dc578063e985e9c514610819578063f2fde38b1461085657610225565b8063b0fe6414146106b0578063b245ddf9146106db578063b88d4fde14610704578063bc951b9114610720578063c204642c1461074b57610225565b806394354fd0116100f257806394354fd0146105ec57806395d89b4114610617578063a0712d6814610642578063a22cb4651461065e578063b071401b1461068757610225565b8063766b7d09146105585780638456cb59146105815780638da5cb5b1461059857806393e90b23146105c357610225565b80633ccfd60b116101b1578063626ab3b811610175578063626ab3b8146104755780636352211e1461049e578063676f2602146104db57806370a0823114610504578063715018a61461054157610225565b80633ccfd60b146103c357806341f43434146103da57806342842e0e146104055780634d534a7d146104215780635c975abb1461044a57610225565b806311b4a832116101f857806311b4a832146102eb57806318160ddd1461032857806322f4596f1461035357806323b872dd1461037e5780633b4c4b251461039a57610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190612641565b61087f565b60405161025e9190612689565b60405180910390f35b34801561027357600080fd5b5061027c610911565b604051610289919061273d565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190612795565b6109a3565b6040516102c69190612803565b60405180910390f35b6102e960048036038101906102e4919061284a565b610a22565b005b3480156102f757600080fd5b50610312600480360381019061030d9190612795565b610b66565b60405161031f9190612899565b60405180910390f35b34801561033457600080fd5b5061033d610c17565b60405161034a9190612899565b60405180910390f35b34801561035f57600080fd5b50610368610c2e565b6040516103759190612899565b60405180910390f35b610398600480360381019061039391906128b4565b610c34565b005b3480156103a657600080fd5b506103c160048036038101906103bc9190612795565b610c83565b005b3480156103cf57600080fd5b506103d8610c95565b005b3480156103e657600080fd5b506103ef610d2d565b6040516103fc9190612966565b60405180910390f35b61041f600480360381019061041a91906128b4565b610d3f565b005b34801561042d57600080fd5b5061044860048036038101906104439190612ab6565b610d8e565b005b34801561045657600080fd5b5061045f610db0565b60405161046c9190612689565b60405180910390f35b34801561048157600080fd5b5061049c60048036038101906104979190612ab6565b610dc3565b005b3480156104aa57600080fd5b506104c560048036038101906104c09190612795565b610de5565b6040516104d29190612803565b60405180910390f35b3480156104e757600080fd5b5061050260048036038101906104fd9190612795565b610df7565b005b34801561051057600080fd5b5061052b60048036038101906105269190612aff565b610e09565b6040516105389190612899565b60405180910390f35b34801561054d57600080fd5b50610556610ec1565b005b34801561056457600080fd5b5061057f600480360381019061057a9190612795565b610ed5565b005b34801561058d57600080fd5b50610596610ee7565b005b3480156105a457600080fd5b506105ad610f1b565b6040516105ba9190612803565b60405180910390f35b3480156105cf57600080fd5b506105ea60048036038101906105e59190612795565b610f45565b005b3480156105f857600080fd5b50610601610f57565b60405161060e9190612899565b60405180910390f35b34801561062357600080fd5b5061062c610f5d565b604051610639919061273d565b60405180910390f35b61065c60048036038101906106579190612795565b610fef565b005b34801561066a57600080fd5b5061068560048036038101906106809190612b58565b61122a565b005b34801561069357600080fd5b506106ae60048036038101906106a99190612795565b611335565b005b3480156106bc57600080fd5b506106c5611347565b6040516106d29190612899565b60405180910390f35b3480156106e757600080fd5b5061070260048036038101906106fd9190612795565b61134d565b005b61071e60048036038101906107199190612c39565b61135f565b005b34801561072c57600080fd5b506107356113b0565b6040516107429190612899565b60405180910390f35b34801561075757600080fd5b50610772600480360381019061076d9190612d84565b6113b6565b005b34801561078057600080fd5b5061079b60048036038101906107969190612795565b611406565b6040516107a8919061273d565b60405180910390f35b3480156107bd57600080fd5b506107c66114a7565b6040516107d39190612899565b60405180910390f35b3480156107e857600080fd5b5061080360048036038101906107fe9190612795565b6114ad565b6040516108109190612899565b60405180910390f35b34801561082557600080fd5b50610840600480360381019061083b9190612de0565b61152c565b60405161084d9190612689565b60405180910390f35b34801561086257600080fd5b5061087d60048036038101906108789190612aff565b6115c0565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108da57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061090a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461092090612e4f565b80601f016020809104026020016040519081016040528092919081815260200182805461094c90612e4f565b80156109995780601f1061096e57610100808354040283529160200191610999565b820191906000526020600020905b81548152906001019060200180831161097c57829003601f168201915b5050505050905090565b60006109ae82611643565b6109e4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a2d82610de5565b90508073ffffffffffffffffffffffffffffffffffffffff16610a4e6116a2565b73ffffffffffffffffffffffffffffffffffffffff1614610ab157610a7a81610a756116a2565b61152c565b610ab0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080610b7233610e09565b83610b7d9190612eaf565b90506011548111158015610b945750601354601254105b15610ba457600f54915050610c12565b6000610baf33610e09565b148015610bbd575060115481115b8015610bcc5750601354601254105b15610bfa57600060115484610be19190612f05565b601054610bee9190612f39565b90508092505050610c12565b600083601054610c0a9190612f39565b905080925050505b919050565b6000610c216116aa565b6001546000540303905090565b600a5481565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c7257610c71336116b3565b5b610c7d8484846117b0565b50505050565b610c8b611ad2565b80600a8190555050565b610c9d611ad2565b610ca5611b50565b6000610caf610f1b565b73ffffffffffffffffffffffffffffffffffffffff1647604051610cd290612fc4565b60006040518083038185875af1925050503d8060008114610d0f576040519150601f19603f3d011682016040523d82523d6000602084013e610d14565b606091505b5050905080610d2257600080fd5b50610d2b611b9f565b565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d7d57610d7c336116b3565b5b610d88848484611ba9565b50505050565b610d96611ad2565b80600e9080519060200190610dac929190612532565b5050565b601560019054906101000a900460ff1681565b610dcb611ad2565b80600d9080519060200190610de1929190612532565b5050565b6000610df082611bc9565b9050919050565b610dff611ad2565b8060108190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e70576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610ec9611ad2565b610ed36000611c95565b565b610edd611ad2565b80600b8190555050565b610eef611ad2565b601560019054906101000a900460ff1615601560016101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f4d611ad2565b8060118190555050565b600c5481565b606060038054610f6c90612e4f565b80601f0160208091040260200160405190810160405280929190818152602001828054610f9890612e4f565b8015610fe55780601f10610fba57610100808354040283529160200191610fe5565b820191906000526020600020905b815481529060010190602001808311610fc857829003601f168201915b5050505050905090565b803273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611055576040517f4af0169e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5481611061610c17565b61106b9190612eaf565b11156110a3576040517fb36c128400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c548111156110df576040517fccfad01800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601560019054906101000a900460ff1615611126576040517fab35696f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600b548161113433610e09565b61113e9190612eaf565b1115611176576040517f6a3eaa7b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008110806111865750600b5481115b156111bd576040517fccfad01800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111c681610b66565b3410156111ff576040517fd44b3c6200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611208836114ad565b6012546112159190612eaf565b6012819055506112253384611d5b565b505050565b80600760006112376116a2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112e46116a2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113299190612689565b60405180910390a35050565b61133d611ad2565b80600c8190555050565b60115481565b611355611ad2565b8060138190555050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461139d5761139c336116b3565b5b6113a985858585611d79565b5050505050565b600b5481565b6113be611ad2565b60005b8251811015611401576113ee8382815181106113e0576113df612fd9565b5b602002602001015183611d5b565b80806113f990613008565b9150506113c1565b505050565b606061141182611643565b611447576040517f2f9aab5800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611451611dec565b90506000815111611471576040518060200160405280600081525061149f565b8061147b84611e7e565b600e60405160200161148f93929190613120565b6040516020818303038152906040525b915050919050565b60105481565b6000806114b933610e09565b836114c49190612eaf565b905060115481111580156114db5750601354601254105b156114e95780915050611527565b60006114f433610e09565b148015611502575060115481115b80156115115750601354601254105b1561152157601154915050611527565b60009150505b919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115c8611ad2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162e906131c3565b60405180910390fd5b61164081611c95565b50565b60008161164e6116aa565b1115801561165d575060005482105b801561169b575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156117ad576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161172a9291906131e3565b602060405180830381865afa158015611747573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176b9190613221565b6117ac57806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016117a39190612803565b60405180910390fd5b5b50565b60006117bb82611bc9565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611822576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061182e84611f4c565b91509150611844818761183f6116a2565b611f73565b61189057611859866118546116a2565b61152c565b61188f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036118f6576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119038686866001611fb7565b801561190e57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506119dc856119b8888887611fbd565b7c020000000000000000000000000000000000000000000000000000000017611fe5565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603611a625760006001850190506000600460008381526020019081526020016000205403611a60576000548114611a5f578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611aca8686866001612010565b505050505050565b611ada612016565b73ffffffffffffffffffffffffffffffffffffffff16611af8610f1b565b73ffffffffffffffffffffffffffffffffffffffff1614611b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b459061329a565b60405180910390fd5b565b600260095403611b95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8c90613306565b60405180910390fd5b6002600981905550565b6001600981905550565b611bc48383836040518060200160405280600081525061135f565b505050565b60008082905080611bd86116aa565b11611c5e57600054811015611c5d5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611c5b575b60008103611c51576004600083600190039350838152602001908152602001600020549050611c27565b8092505050611c90565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611d7582826040518060200160405280600081525061201e565b5050565b611d84848484610c34565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611de657611daf848484846120bb565b611de5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060600d8054611dfb90612e4f565b80601f0160208091040260200160405190810160405280929190818152602001828054611e2790612e4f565b8015611e745780601f10611e4957610100808354040283529160200191611e74565b820191906000526020600020905b815481529060010190602001808311611e5757829003601f168201915b5050505050905090565b606060006001611e8d8461220b565b01905060008167ffffffffffffffff811115611eac57611eab61298b565b5b6040519080825280601f01601f191660200182016040528015611ede5781602001600182028036833780820191505090505b509050600082602001820190505b600115611f41578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611f3557611f34613326565b5b04945060008503611eec575b819350505050919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611fd486868461235e565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b6120288383612367565b60008373ffffffffffffffffffffffffffffffffffffffff163b146120b657600080549050600083820390505b61206860008683806001019450866120bb565b61209e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106120555781600054146120b357600080fd5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026120e16116a2565b8786866040518563ffffffff1660e01b815260040161210394939291906133aa565b6020604051808303816000875af192505050801561213f57506040513d601f19601f8201168201806040525081019061213c919061340b565b60015b6121b8573d806000811461216f576040519150601f19603f3d011682016040523d82523d6000602084013e612174565b606091505b5060008151036121b0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612269577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161225f5761225e613326565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106122a6576d04ee2d6d415b85acef8100000000838161229c5761229b613326565b5b0492506020810190505b662386f26fc1000083106122d557662386f26fc1000083816122cb576122ca613326565b5b0492506010810190505b6305f5e10083106122fe576305f5e10083816122f4576122f3613326565b5b0492506008810190505b612710831061232357612710838161231957612318613326565b5b0492506004810190505b60648310612346576064838161233c5761233b613326565b5b0492506002810190505b600a8310612355576001810190505b80915050919050565b60009392505050565b600080549050600082036123a7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123b46000848385611fb7565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061242b8361241c6000866000611fbd565b61242585612522565b17611fe5565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146124cc57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612491565b5060008203612507576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061251d6000848385612010565b505050565b60006001821460e11b9050919050565b82805461253e90612e4f565b90600052602060002090601f01602090048101928261256057600085556125a7565b82601f1061257957805160ff19168380011785556125a7565b828001600101855582156125a7579182015b828111156125a657825182559160200191906001019061258b565b5b5090506125b491906125b8565b5090565b5b808211156125d15760008160009055506001016125b9565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61261e816125e9565b811461262957600080fd5b50565b60008135905061263b81612615565b92915050565b600060208284031215612657576126566125df565b5b60006126658482850161262c565b91505092915050565b60008115159050919050565b6126838161266e565b82525050565b600060208201905061269e600083018461267a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156126de5780820151818401526020810190506126c3565b838111156126ed576000848401525b50505050565b6000601f19601f8301169050919050565b600061270f826126a4565b61271981856126af565b93506127298185602086016126c0565b612732816126f3565b840191505092915050565b600060208201905081810360008301526127578184612704565b905092915050565b6000819050919050565b6127728161275f565b811461277d57600080fd5b50565b60008135905061278f81612769565b92915050565b6000602082840312156127ab576127aa6125df565b5b60006127b984828501612780565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006127ed826127c2565b9050919050565b6127fd816127e2565b82525050565b600060208201905061281860008301846127f4565b92915050565b612827816127e2565b811461283257600080fd5b50565b6000813590506128448161281e565b92915050565b60008060408385031215612861576128606125df565b5b600061286f85828601612835565b925050602061288085828601612780565b9150509250929050565b6128938161275f565b82525050565b60006020820190506128ae600083018461288a565b92915050565b6000806000606084860312156128cd576128cc6125df565b5b60006128db86828701612835565b93505060206128ec86828701612835565b92505060406128fd86828701612780565b9150509250925092565b6000819050919050565b600061292c612927612922846127c2565b612907565b6127c2565b9050919050565b600061293e82612911565b9050919050565b600061295082612933565b9050919050565b61296081612945565b82525050565b600060208201905061297b6000830184612957565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6129c3826126f3565b810181811067ffffffffffffffff821117156129e2576129e161298b565b5b80604052505050565b60006129f56125d5565b9050612a0182826129ba565b919050565b600067ffffffffffffffff821115612a2157612a2061298b565b5b612a2a826126f3565b9050602081019050919050565b82818337600083830152505050565b6000612a59612a5484612a06565b6129eb565b905082815260208101848484011115612a7557612a74612986565b5b612a80848285612a37565b509392505050565b600082601f830112612a9d57612a9c612981565b5b8135612aad848260208601612a46565b91505092915050565b600060208284031215612acc57612acb6125df565b5b600082013567ffffffffffffffff811115612aea57612ae96125e4565b5b612af684828501612a88565b91505092915050565b600060208284031215612b1557612b146125df565b5b6000612b2384828501612835565b91505092915050565b612b358161266e565b8114612b4057600080fd5b50565b600081359050612b5281612b2c565b92915050565b60008060408385031215612b6f57612b6e6125df565b5b6000612b7d85828601612835565b9250506020612b8e85828601612b43565b9150509250929050565b600067ffffffffffffffff821115612bb357612bb261298b565b5b612bbc826126f3565b9050602081019050919050565b6000612bdc612bd784612b98565b6129eb565b905082815260208101848484011115612bf857612bf7612986565b5b612c03848285612a37565b509392505050565b600082601f830112612c2057612c1f612981565b5b8135612c30848260208601612bc9565b91505092915050565b60008060008060808587031215612c5357612c526125df565b5b6000612c6187828801612835565b9450506020612c7287828801612835565b9350506040612c8387828801612780565b925050606085013567ffffffffffffffff811115612ca457612ca36125e4565b5b612cb087828801612c0b565b91505092959194509250565b600067ffffffffffffffff821115612cd757612cd661298b565b5b602082029050602081019050919050565b600080fd5b6000612d00612cfb84612cbc565b6129eb565b90508083825260208201905060208402830185811115612d2357612d22612ce8565b5b835b81811015612d4c5780612d388882612835565b845260208401935050602081019050612d25565b5050509392505050565b600082601f830112612d6b57612d6a612981565b5b8135612d7b848260208601612ced565b91505092915050565b60008060408385031215612d9b57612d9a6125df565b5b600083013567ffffffffffffffff811115612db957612db86125e4565b5b612dc585828601612d56565b9250506020612dd685828601612780565b9150509250929050565b60008060408385031215612df757612df66125df565b5b6000612e0585828601612835565b9250506020612e1685828601612835565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612e6757607f821691505b602082108103612e7a57612e79612e20565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612eba8261275f565b9150612ec58361275f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612efa57612ef9612e80565b5b828201905092915050565b6000612f108261275f565b9150612f1b8361275f565b925082821015612f2e57612f2d612e80565b5b828203905092915050565b6000612f448261275f565b9150612f4f8361275f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612f8857612f87612e80565b5b828202905092915050565b600081905092915050565b50565b6000612fae600083612f93565b9150612fb982612f9e565b600082019050919050565b6000612fcf82612fa1565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006130138261275f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361304557613044612e80565b5b600182019050919050565b600081905092915050565b6000613066826126a4565b6130708185613050565b93506130808185602086016126c0565b80840191505092915050565b60008190508160005260206000209050919050565b600081546130ae81612e4f565b6130b88186613050565b945060018216600081146130d357600181146130e457613117565b60ff19831686528186019350613117565b6130ed8561308c565b60005b8381101561310f578154818901526001820191506020810190506130f0565b838801955050505b50505092915050565b600061312c828661305b565b9150613138828561305b565b915061314482846130a1565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006131ad6026836126af565b91506131b882613151565b604082019050919050565b600060208201905081810360008301526131dc816131a0565b9050919050565b60006040820190506131f860008301856127f4565b61320560208301846127f4565b9392505050565b60008151905061321b81612b2c565b92915050565b600060208284031215613237576132366125df565b5b60006132458482850161320c565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006132846020836126af565b915061328f8261324e565b602082019050919050565b600060208201905081810360008301526132b381613277565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006132f0601f836126af565b91506132fb826132ba565b602082019050919050565b6000602082019050818103600083015261331f816132e3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600081519050919050565b600082825260208201905092915050565b600061337c82613355565b6133868185613360565b93506133968185602086016126c0565b61339f816126f3565b840191505092915050565b60006080820190506133bf60008301876127f4565b6133cc60208301866127f4565b6133d9604083018561288a565b81810360608301526133eb8184613371565b905095945050505050565b60008151905061340581612615565b92915050565b600060208284031215613421576134206125df565b5b600061342f848285016133f6565b9150509291505056fea2646970667358221220e08df9ee09e6855b9bd69a8575ccbaa6f98e0021457325046660d4a68d7264ba64736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d624531426d4a47705337737144317738625648423676695053506e6f7952434355563348564b45446537636f2f00000000000000000000

Deployed Bytecode

0x6080604052600436106102255760003560e01c8063766b7d0911610123578063b0fe6414116100ab578063c87b56dd1161006f578063c87b56dd14610774578063e098ff73146107b1578063e2edb001146107dc578063e985e9c514610819578063f2fde38b1461085657610225565b8063b0fe6414146106b0578063b245ddf9146106db578063b88d4fde14610704578063bc951b9114610720578063c204642c1461074b57610225565b806394354fd0116100f257806394354fd0146105ec57806395d89b4114610617578063a0712d6814610642578063a22cb4651461065e578063b071401b1461068757610225565b8063766b7d09146105585780638456cb59146105815780638da5cb5b1461059857806393e90b23146105c357610225565b80633ccfd60b116101b1578063626ab3b811610175578063626ab3b8146104755780636352211e1461049e578063676f2602146104db57806370a0823114610504578063715018a61461054157610225565b80633ccfd60b146103c357806341f43434146103da57806342842e0e146104055780634d534a7d146104215780635c975abb1461044a57610225565b806311b4a832116101f857806311b4a832146102eb57806318160ddd1461032857806322f4596f1461035357806323b872dd1461037e5780633b4c4b251461039a57610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190612641565b61087f565b60405161025e9190612689565b60405180910390f35b34801561027357600080fd5b5061027c610911565b604051610289919061273d565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190612795565b6109a3565b6040516102c69190612803565b60405180910390f35b6102e960048036038101906102e4919061284a565b610a22565b005b3480156102f757600080fd5b50610312600480360381019061030d9190612795565b610b66565b60405161031f9190612899565b60405180910390f35b34801561033457600080fd5b5061033d610c17565b60405161034a9190612899565b60405180910390f35b34801561035f57600080fd5b50610368610c2e565b6040516103759190612899565b60405180910390f35b610398600480360381019061039391906128b4565b610c34565b005b3480156103a657600080fd5b506103c160048036038101906103bc9190612795565b610c83565b005b3480156103cf57600080fd5b506103d8610c95565b005b3480156103e657600080fd5b506103ef610d2d565b6040516103fc9190612966565b60405180910390f35b61041f600480360381019061041a91906128b4565b610d3f565b005b34801561042d57600080fd5b5061044860048036038101906104439190612ab6565b610d8e565b005b34801561045657600080fd5b5061045f610db0565b60405161046c9190612689565b60405180910390f35b34801561048157600080fd5b5061049c60048036038101906104979190612ab6565b610dc3565b005b3480156104aa57600080fd5b506104c560048036038101906104c09190612795565b610de5565b6040516104d29190612803565b60405180910390f35b3480156104e757600080fd5b5061050260048036038101906104fd9190612795565b610df7565b005b34801561051057600080fd5b5061052b60048036038101906105269190612aff565b610e09565b6040516105389190612899565b60405180910390f35b34801561054d57600080fd5b50610556610ec1565b005b34801561056457600080fd5b5061057f600480360381019061057a9190612795565b610ed5565b005b34801561058d57600080fd5b50610596610ee7565b005b3480156105a457600080fd5b506105ad610f1b565b6040516105ba9190612803565b60405180910390f35b3480156105cf57600080fd5b506105ea60048036038101906105e59190612795565b610f45565b005b3480156105f857600080fd5b50610601610f57565b60405161060e9190612899565b60405180910390f35b34801561062357600080fd5b5061062c610f5d565b604051610639919061273d565b60405180910390f35b61065c60048036038101906106579190612795565b610fef565b005b34801561066a57600080fd5b5061068560048036038101906106809190612b58565b61122a565b005b34801561069357600080fd5b506106ae60048036038101906106a99190612795565b611335565b005b3480156106bc57600080fd5b506106c5611347565b6040516106d29190612899565b60405180910390f35b3480156106e757600080fd5b5061070260048036038101906106fd9190612795565b61134d565b005b61071e60048036038101906107199190612c39565b61135f565b005b34801561072c57600080fd5b506107356113b0565b6040516107429190612899565b60405180910390f35b34801561075757600080fd5b50610772600480360381019061076d9190612d84565b6113b6565b005b34801561078057600080fd5b5061079b60048036038101906107969190612795565b611406565b6040516107a8919061273d565b60405180910390f35b3480156107bd57600080fd5b506107c66114a7565b6040516107d39190612899565b60405180910390f35b3480156107e857600080fd5b5061080360048036038101906107fe9190612795565b6114ad565b6040516108109190612899565b60405180910390f35b34801561082557600080fd5b50610840600480360381019061083b9190612de0565b61152c565b60405161084d9190612689565b60405180910390f35b34801561086257600080fd5b5061087d60048036038101906108789190612aff565b6115c0565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108da57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061090a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461092090612e4f565b80601f016020809104026020016040519081016040528092919081815260200182805461094c90612e4f565b80156109995780601f1061096e57610100808354040283529160200191610999565b820191906000526020600020905b81548152906001019060200180831161097c57829003601f168201915b5050505050905090565b60006109ae82611643565b6109e4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a2d82610de5565b90508073ffffffffffffffffffffffffffffffffffffffff16610a4e6116a2565b73ffffffffffffffffffffffffffffffffffffffff1614610ab157610a7a81610a756116a2565b61152c565b610ab0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080610b7233610e09565b83610b7d9190612eaf565b90506011548111158015610b945750601354601254105b15610ba457600f54915050610c12565b6000610baf33610e09565b148015610bbd575060115481115b8015610bcc5750601354601254105b15610bfa57600060115484610be19190612f05565b601054610bee9190612f39565b90508092505050610c12565b600083601054610c0a9190612f39565b905080925050505b919050565b6000610c216116aa565b6001546000540303905090565b600a5481565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c7257610c71336116b3565b5b610c7d8484846117b0565b50505050565b610c8b611ad2565b80600a8190555050565b610c9d611ad2565b610ca5611b50565b6000610caf610f1b565b73ffffffffffffffffffffffffffffffffffffffff1647604051610cd290612fc4565b60006040518083038185875af1925050503d8060008114610d0f576040519150601f19603f3d011682016040523d82523d6000602084013e610d14565b606091505b5050905080610d2257600080fd5b50610d2b611b9f565b565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d7d57610d7c336116b3565b5b610d88848484611ba9565b50505050565b610d96611ad2565b80600e9080519060200190610dac929190612532565b5050565b601560019054906101000a900460ff1681565b610dcb611ad2565b80600d9080519060200190610de1929190612532565b5050565b6000610df082611bc9565b9050919050565b610dff611ad2565b8060108190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e70576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610ec9611ad2565b610ed36000611c95565b565b610edd611ad2565b80600b8190555050565b610eef611ad2565b601560019054906101000a900460ff1615601560016101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f4d611ad2565b8060118190555050565b600c5481565b606060038054610f6c90612e4f565b80601f0160208091040260200160405190810160405280929190818152602001828054610f9890612e4f565b8015610fe55780601f10610fba57610100808354040283529160200191610fe5565b820191906000526020600020905b815481529060010190602001808311610fc857829003601f168201915b5050505050905090565b803273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611055576040517f4af0169e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5481611061610c17565b61106b9190612eaf565b11156110a3576040517fb36c128400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c548111156110df576040517fccfad01800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601560019054906101000a900460ff1615611126576040517fab35696f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600b548161113433610e09565b61113e9190612eaf565b1115611176576040517f6a3eaa7b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008110806111865750600b5481115b156111bd576040517fccfad01800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111c681610b66565b3410156111ff576040517fd44b3c6200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611208836114ad565b6012546112159190612eaf565b6012819055506112253384611d5b565b505050565b80600760006112376116a2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112e46116a2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113299190612689565b60405180910390a35050565b61133d611ad2565b80600c8190555050565b60115481565b611355611ad2565b8060138190555050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461139d5761139c336116b3565b5b6113a985858585611d79565b5050505050565b600b5481565b6113be611ad2565b60005b8251811015611401576113ee8382815181106113e0576113df612fd9565b5b602002602001015183611d5b565b80806113f990613008565b9150506113c1565b505050565b606061141182611643565b611447576040517f2f9aab5800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611451611dec565b90506000815111611471576040518060200160405280600081525061149f565b8061147b84611e7e565b600e60405160200161148f93929190613120565b6040516020818303038152906040525b915050919050565b60105481565b6000806114b933610e09565b836114c49190612eaf565b905060115481111580156114db5750601354601254105b156114e95780915050611527565b60006114f433610e09565b148015611502575060115481115b80156115115750601354601254105b1561152157601154915050611527565b60009150505b919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115c8611ad2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162e906131c3565b60405180910390fd5b61164081611c95565b50565b60008161164e6116aa565b1115801561165d575060005482105b801561169b575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156117ad576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161172a9291906131e3565b602060405180830381865afa158015611747573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176b9190613221565b6117ac57806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016117a39190612803565b60405180910390fd5b5b50565b60006117bb82611bc9565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611822576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061182e84611f4c565b91509150611844818761183f6116a2565b611f73565b61189057611859866118546116a2565b61152c565b61188f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036118f6576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119038686866001611fb7565b801561190e57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506119dc856119b8888887611fbd565b7c020000000000000000000000000000000000000000000000000000000017611fe5565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603611a625760006001850190506000600460008381526020019081526020016000205403611a60576000548114611a5f578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611aca8686866001612010565b505050505050565b611ada612016565b73ffffffffffffffffffffffffffffffffffffffff16611af8610f1b565b73ffffffffffffffffffffffffffffffffffffffff1614611b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b459061329a565b60405180910390fd5b565b600260095403611b95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8c90613306565b60405180910390fd5b6002600981905550565b6001600981905550565b611bc48383836040518060200160405280600081525061135f565b505050565b60008082905080611bd86116aa565b11611c5e57600054811015611c5d5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611c5b575b60008103611c51576004600083600190039350838152602001908152602001600020549050611c27565b8092505050611c90565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611d7582826040518060200160405280600081525061201e565b5050565b611d84848484610c34565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611de657611daf848484846120bb565b611de5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060600d8054611dfb90612e4f565b80601f0160208091040260200160405190810160405280929190818152602001828054611e2790612e4f565b8015611e745780601f10611e4957610100808354040283529160200191611e74565b820191906000526020600020905b815481529060010190602001808311611e5757829003601f168201915b5050505050905090565b606060006001611e8d8461220b565b01905060008167ffffffffffffffff811115611eac57611eab61298b565b5b6040519080825280601f01601f191660200182016040528015611ede5781602001600182028036833780820191505090505b509050600082602001820190505b600115611f41578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611f3557611f34613326565b5b04945060008503611eec575b819350505050919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611fd486868461235e565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b6120288383612367565b60008373ffffffffffffffffffffffffffffffffffffffff163b146120b657600080549050600083820390505b61206860008683806001019450866120bb565b61209e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106120555781600054146120b357600080fd5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026120e16116a2565b8786866040518563ffffffff1660e01b815260040161210394939291906133aa565b6020604051808303816000875af192505050801561213f57506040513d601f19601f8201168201806040525081019061213c919061340b565b60015b6121b8573d806000811461216f576040519150601f19603f3d011682016040523d82523d6000602084013e612174565b606091505b5060008151036121b0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612269577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161225f5761225e613326565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106122a6576d04ee2d6d415b85acef8100000000838161229c5761229b613326565b5b0492506020810190505b662386f26fc1000083106122d557662386f26fc1000083816122cb576122ca613326565b5b0492506010810190505b6305f5e10083106122fe576305f5e10083816122f4576122f3613326565b5b0492506008810190505b612710831061232357612710838161231957612318613326565b5b0492506004810190505b60648310612346576064838161233c5761233b613326565b5b0492506002810190505b600a8310612355576001810190505b80915050919050565b60009392505050565b600080549050600082036123a7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123b46000848385611fb7565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061242b8361241c6000866000611fbd565b61242585612522565b17611fe5565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146124cc57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612491565b5060008203612507576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061251d6000848385612010565b505050565b60006001821460e11b9050919050565b82805461253e90612e4f565b90600052602060002090601f01602090048101928261256057600085556125a7565b82601f1061257957805160ff19168380011785556125a7565b828001600101855582156125a7579182015b828111156125a657825182559160200191906001019061258b565b5b5090506125b491906125b8565b5090565b5b808211156125d15760008160009055506001016125b9565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61261e816125e9565b811461262957600080fd5b50565b60008135905061263b81612615565b92915050565b600060208284031215612657576126566125df565b5b60006126658482850161262c565b91505092915050565b60008115159050919050565b6126838161266e565b82525050565b600060208201905061269e600083018461267a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156126de5780820151818401526020810190506126c3565b838111156126ed576000848401525b50505050565b6000601f19601f8301169050919050565b600061270f826126a4565b61271981856126af565b93506127298185602086016126c0565b612732816126f3565b840191505092915050565b600060208201905081810360008301526127578184612704565b905092915050565b6000819050919050565b6127728161275f565b811461277d57600080fd5b50565b60008135905061278f81612769565b92915050565b6000602082840312156127ab576127aa6125df565b5b60006127b984828501612780565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006127ed826127c2565b9050919050565b6127fd816127e2565b82525050565b600060208201905061281860008301846127f4565b92915050565b612827816127e2565b811461283257600080fd5b50565b6000813590506128448161281e565b92915050565b60008060408385031215612861576128606125df565b5b600061286f85828601612835565b925050602061288085828601612780565b9150509250929050565b6128938161275f565b82525050565b60006020820190506128ae600083018461288a565b92915050565b6000806000606084860312156128cd576128cc6125df565b5b60006128db86828701612835565b93505060206128ec86828701612835565b92505060406128fd86828701612780565b9150509250925092565b6000819050919050565b600061292c612927612922846127c2565b612907565b6127c2565b9050919050565b600061293e82612911565b9050919050565b600061295082612933565b9050919050565b61296081612945565b82525050565b600060208201905061297b6000830184612957565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6129c3826126f3565b810181811067ffffffffffffffff821117156129e2576129e161298b565b5b80604052505050565b60006129f56125d5565b9050612a0182826129ba565b919050565b600067ffffffffffffffff821115612a2157612a2061298b565b5b612a2a826126f3565b9050602081019050919050565b82818337600083830152505050565b6000612a59612a5484612a06565b6129eb565b905082815260208101848484011115612a7557612a74612986565b5b612a80848285612a37565b509392505050565b600082601f830112612a9d57612a9c612981565b5b8135612aad848260208601612a46565b91505092915050565b600060208284031215612acc57612acb6125df565b5b600082013567ffffffffffffffff811115612aea57612ae96125e4565b5b612af684828501612a88565b91505092915050565b600060208284031215612b1557612b146125df565b5b6000612b2384828501612835565b91505092915050565b612b358161266e565b8114612b4057600080fd5b50565b600081359050612b5281612b2c565b92915050565b60008060408385031215612b6f57612b6e6125df565b5b6000612b7d85828601612835565b9250506020612b8e85828601612b43565b9150509250929050565b600067ffffffffffffffff821115612bb357612bb261298b565b5b612bbc826126f3565b9050602081019050919050565b6000612bdc612bd784612b98565b6129eb565b905082815260208101848484011115612bf857612bf7612986565b5b612c03848285612a37565b509392505050565b600082601f830112612c2057612c1f612981565b5b8135612c30848260208601612bc9565b91505092915050565b60008060008060808587031215612c5357612c526125df565b5b6000612c6187828801612835565b9450506020612c7287828801612835565b9350506040612c8387828801612780565b925050606085013567ffffffffffffffff811115612ca457612ca36125e4565b5b612cb087828801612c0b565b91505092959194509250565b600067ffffffffffffffff821115612cd757612cd661298b565b5b602082029050602081019050919050565b600080fd5b6000612d00612cfb84612cbc565b6129eb565b90508083825260208201905060208402830185811115612d2357612d22612ce8565b5b835b81811015612d4c5780612d388882612835565b845260208401935050602081019050612d25565b5050509392505050565b600082601f830112612d6b57612d6a612981565b5b8135612d7b848260208601612ced565b91505092915050565b60008060408385031215612d9b57612d9a6125df565b5b600083013567ffffffffffffffff811115612db957612db86125e4565b5b612dc585828601612d56565b9250506020612dd685828601612780565b9150509250929050565b60008060408385031215612df757612df66125df565b5b6000612e0585828601612835565b9250506020612e1685828601612835565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612e6757607f821691505b602082108103612e7a57612e79612e20565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612eba8261275f565b9150612ec58361275f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612efa57612ef9612e80565b5b828201905092915050565b6000612f108261275f565b9150612f1b8361275f565b925082821015612f2e57612f2d612e80565b5b828203905092915050565b6000612f448261275f565b9150612f4f8361275f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612f8857612f87612e80565b5b828202905092915050565b600081905092915050565b50565b6000612fae600083612f93565b9150612fb982612f9e565b600082019050919050565b6000612fcf82612fa1565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006130138261275f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361304557613044612e80565b5b600182019050919050565b600081905092915050565b6000613066826126a4565b6130708185613050565b93506130808185602086016126c0565b80840191505092915050565b60008190508160005260206000209050919050565b600081546130ae81612e4f565b6130b88186613050565b945060018216600081146130d357600181146130e457613117565b60ff19831686528186019350613117565b6130ed8561308c565b60005b8381101561310f578154818901526001820191506020810190506130f0565b838801955050505b50505092915050565b600061312c828661305b565b9150613138828561305b565b915061314482846130a1565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006131ad6026836126af565b91506131b882613151565b604082019050919050565b600060208201905081810360008301526131dc816131a0565b9050919050565b60006040820190506131f860008301856127f4565b61320560208301846127f4565b9392505050565b60008151905061321b81612b2c565b92915050565b600060208284031215613237576132366125df565b5b60006132458482850161320c565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006132846020836126af565b915061328f8261324e565b602082019050919050565b600060208201905081810360008301526132b381613277565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006132f0601f836126af565b91506132fb826132ba565b602082019050919050565b6000602082019050818103600083015261331f816132e3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600081519050919050565b600082825260208201905092915050565b600061337c82613355565b6133868185613360565b93506133968185602086016126c0565b61339f816126f3565b840191505092915050565b60006080820190506133bf60008301876127f4565b6133cc60208301866127f4565b6133d9604083018561288a565b81810360608301526133eb8184613371565b905095945050505050565b60008151905061340581612615565b92915050565b600060208284031215613421576134206125df565b5b600061342f848285016133f6565b9150509291505056fea2646970667358221220e08df9ee09e6855b9bd69a8575ccbaa6f98e0021457325046660d4a68d7264ba64736f6c634300080d0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d624531426d4a47705337737144317738625648423676695053506e6f7952434355563348564b45446537636f2f00000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string): ipfs://QmbE1BmJGpS7sqD1w8bVHB6viPSPnoyRCCUV3HVKEDe7co/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d624531426d4a4770533773714431773862564842367669
Arg [3] : 5053506e6f7952434355563348564b45446537636f2f00000000000000000000


Deployed Bytecode Sourcemap

89888:6444:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51535:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52437:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;58928:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;58361:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;92120:630;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;48188:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;90029:32;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;95723:177;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;94168:95;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;94778:197;;;;;;;;;;;;;:::i;:::-;;2927:143;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;95912:185;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;93945:103;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;90580:25;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;93840:93;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;53830:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;94060:95;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;49372:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;87342:103;;;;;;;;;;;;;:::i;:::-;;94400:129;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;93741:75;;;;;;;;;;;;;:::i;:::-;;86694:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;94551:117;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;90132:37;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52613:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;91858:250;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;59486:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;94275:113;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;90360:35;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;93306:120;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;96109:210;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;90076:41;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;93448:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;95067:381;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;90307:38;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;92770:524;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;59877:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;87600:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;51535:639;51620:4;51959:10;51944:25;;:11;:25;;;;:102;;;;52036:10;52021:25;;:11;:25;;;;51944:102;:179;;;;52113:10;52098:25;;:11;:25;;;;51944:179;51924:199;;51535:639;;;:::o;52437:100::-;52491:13;52524:5;52517:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52437:100;:::o;58928:218::-;59004:7;59029:16;59037:7;59029;:16::i;:::-;59024:64;;59054:34;;;;;;;;;;;;;;59024:64;59108:15;:24;59124:7;59108:24;;;;;;;;;;;:30;;;;;;;;;;;;59101:37;;58928:218;;;:::o;58361:408::-;58450:13;58466:16;58474:7;58466;:16::i;:::-;58450:32;;58522:5;58499:28;;:19;:17;:19::i;:::-;:28;;;58495:175;;58547:44;58564:5;58571:19;:17;:19::i;:::-;58547:16;:44::i;:::-;58542:128;;58619:35;;;;;;;;;;;;;;58542:128;58495:175;58715:2;58682:15;:24;58698:7;58682:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;58753:7;58749:2;58733:28;;58742:5;58733:28;;;;;;;;;;;;58439:330;58361:408;;:::o;92120:630::-;92181:7;92203:18;92238:21;92248:10;92238:9;:21::i;:::-;92224:11;:35;;;;:::i;:::-;92203:56;;92291:16;;92277:10;:30;;92276:73;;;;;92333:15;;92313:17;;:35;92276:73;92272:467;;;92371:12;;92364:19;;;;;92272:467;92433:1;92408:21;92418:10;92408:9;:21::i;:::-;:26;92407:63;;;;;92453:16;;92440:10;:29;92407:63;:104;;;;;92495:15;;92475:17;;:35;92407:104;92403:336;;;92527:13;92570:16;;92556:11;:30;;;;:::i;:::-;92543:9;;:44;;;;:::i;:::-;92527:60;;92607:5;92600:12;;;;;;92403:336;92657:14;92686:11;92674:9;;:23;;;;:::i;:::-;92657:40;;92717:6;92710:13;;;;92120:630;;;;:::o;48188:323::-;48249:7;48477:15;:13;:15::i;:::-;48462:12;;48446:13;;:28;:46;48439:53;;48188:323;:::o;90029:32::-;;;;:::o;95723:177::-;95832:4;4276:10;4268:18;;:4;:18;;;4264:83;;4303:32;4324:10;4303:20;:32::i;:::-;4264:83;95851:37:::1;95870:4;95876:2;95880:7;95851:18;:37::i;:::-;95723:177:::0;;;;:::o;94168:95::-;86580:13;:11;:13::i;:::-;94245:6:::1;94232:10;:19;;;;94168:95:::0;:::o;94778:197::-;86580:13;:11;:13::i;:::-;7770:21:::1;:19;:21::i;:::-;94867:10:::2;94891:7;:5;:7::i;:::-;94883:21;;94912;94883:55;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94866:72;;;94957:5;94949:14;;;::::0;::::2;;94827:148;7814:20:::1;:18;:20::i;:::-;94778:197::o:0;2927:143::-;3027:42;2927:143;:::o;95912:185::-;96025:4;4276:10;4268:18;;:4;:18;;;4264:83;;4303:32;4324:10;4303:20;:32::i;:::-;4264:83;96044:41:::1;96067:4;96073:2;96077:7;96044:22;:41::i;:::-;95912:185:::0;;;;:::o;93945:103::-;86580:13;:11;:13::i;:::-;94033:3:::1;94018:12;:18;;;;;;;;;;;;:::i;:::-;;93945:103:::0;:::o;90580:25::-;;;;;;;;;;;;;:::o;93840:93::-;86580:13;:11;:13::i;:::-;93918:3:::1;93908:7;:13;;;;;;;;;;;;:::i;:::-;;93840:93:::0;:::o;53830:152::-;53902:7;53945:27;53964:7;53945:18;:27::i;:::-;53922:52;;53830:152;;;:::o;94060:95::-;86580:13;:11;:13::i;:::-;94138:5:::1;94126:9;:17;;;;94060:95:::0;:::o;49372:233::-;49444:7;49485:1;49468:19;;:5;:19;;;49464:60;;49496:28;;;;;;;;;;;;;;49464:60;43531:13;49542:18;:25;49561:5;49542:25;;;;;;;;;;;;;;;;:55;49535:62;;49372:233;;;:::o;87342:103::-;86580:13;:11;:13::i;:::-;87407:30:::1;87434:1;87407:18;:30::i;:::-;87342:103::o:0;94400:129::-;86580:13;:11;:13::i;:::-;94508:9:::1;94483:22;:34;;;;94400:129:::0;:::o;93741:75::-;86580:13;:11;:13::i;:::-;93798:6:::1;;;;;;;;;;;93797:7;93788:6;;:16;;;;;;;;;;;;;;;;;;93741:75::o:0;86694:87::-;86740:7;86767:6;;;;;;;;;;;86760:13;;86694:87;:::o;94551:117::-;86580:13;:11;:13::i;:::-;94647:9:::1;94628:16;:28;;;;94551:117:::0;:::o;90132:37::-;;;;:::o;52613:104::-;52669:13;52702:7;52695:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52613:104;:::o;91858:250::-;91923:11;91181:9;91167:23;;:10;:23;;;91163:53;;91199:17;;;;;;;;;;;;;;91163:53;91266:10;;91252:11;91235:13;:11;:13::i;:::-;:28;;;;:::i;:::-;:41;91231:65;;;91285:11;;;;;;;;;;;;;;91231:65;91329:18;;91315:11;:32;91311:64;;;91356:19;;;;;;;;;;;;;;91311:64;91393:6;;;;;;;;;;;91390:34;;;91408:16;;;;;;;;;;;;;;91390:34;91956:11:::1;91570:22;;91556:11;91532:21;91542:10;91532:9;:21::i;:::-;:35;;;;:::i;:::-;:60;91529:95;;;91601:23;;;;;;;;;;;;;;91529:95;91657:1;91643:11;:15;:55;;;;91676:22;;91662:11;:36;91643:55;91639:87;;;91707:19;;;;;;;;;;;;;;91639:87;91759:22;91769:11;91759:9;:22::i;:::-;91747:9;:34;91743:65;;;91790:18;;;;;;;;;;;;;;91743:65;92021:26:::2;92035:11;92021:13;:26::i;:::-;92001:17;;:46;;;;:::i;:::-;91981:17;:66;;;;92060:34;92070:10;92082:11;92060:9;:34::i;:::-;91439:1:::1;91858:250:::0;;:::o;59486:234::-;59633:8;59581:18;:39;59600:19;:17;:19::i;:::-;59581:39;;;;;;;;;;;;;;;:49;59621:8;59581:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;59693:8;59657:55;;59672:19;:17;:19::i;:::-;59657:55;;;59703:8;59657:55;;;;;;:::i;:::-;;;;;;;;59486:234;;:::o;94275:113::-;86580:13;:11;:13::i;:::-;94371:5:::1;94350:18;:26;;;;94275:113:::0;:::o;90360:35::-;;;;:::o;93306:120::-;86580:13;:11;:13::i;:::-;93404:10:::1;93386:15;:28;;;;93306:120:::0;:::o;96109:210::-;96241:4;4276:10;4268:18;;:4;:18;;;4264:83;;4303:32;4324:10;4303:20;:32::i;:::-;4264:83;96260:47:::1;96283:4;96289:2;96293:7;96302:4;96260:22;:47::i;:::-;96109:210:::0;;;;;:::o;90076:41::-;;;;:::o;93448:201::-;86580:13;:11;:13::i;:::-;93541:9:::1;93537:101;93560:8;:15;93556:1;:19;93537:101;;;93594:30;93604:8;93613:1;93604:11;;;;;;;;:::i;:::-;;;;;;;;93617:6;93594:9;:30::i;:::-;93577:3;;;;;:::i;:::-;;;;93537:101;;;;93448:201:::0;;:::o;95067:381::-;95141:13;95174:16;95182:7;95174;:16::i;:::-;95169:48;;95199:18;;;;;;;;;;;;;;95169:48;95245:28;95276:10;:8;:10::i;:::-;95245:41;;95335:1;95310:14;95304:28;:32;:132;;;;;;;;;;;;;;;;;95372:14;95388:18;:7;:16;:18::i;:::-;95408:12;95355:66;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;95304:132;95297:139;;;95067:381;;;:::o;90307:38::-;;;;:::o;92770:524::-;92835:7;92857:18;92892:21;92902:10;92892:9;:21::i;:::-;92878:11;:35;;;;:::i;:::-;92857:56;;92945:16;;92931:10;:30;;92930:73;;;;;92987:15;;92967:17;;:35;92930:73;92926:357;;;93025:10;93018:17;;;;;92926:357;93097:1;93072:21;93082:10;93072:9;:21::i;:::-;:26;93071:63;;;;;93117:16;;93104:10;:29;93071:63;:104;;;;;93159:15;;93139:17;;:35;93071:104;93067:216;;;93198:16;;93191:23;;;;;93067:216;93266:1;93259:8;;;92770:524;;;;:::o;59877:164::-;59974:4;59998:18;:25;60017:5;59998:25;;;;;;;;;;;;;;;:35;60024:8;59998:35;;;;;;;;;;;;;;;;;;;;;;;;;59991:42;;59877:164;;;;:::o;87600:201::-;86580:13;:11;:13::i;:::-;87709:1:::1;87689:22;;:8;:22;;::::0;87681:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;87765:28;87784:8;87765:18;:28::i;:::-;87600:201:::0;:::o;60299:282::-;60364:4;60420:7;60401:15;:13;:15::i;:::-;:26;;:66;;;;;60454:13;;60444:7;:23;60401:66;:153;;;;;60553:1;44307:8;60505:17;:26;60523:7;60505:26;;;;;;;;;;;;:44;:49;60401:153;60381:173;;60299:282;;;:::o;82607:105::-;82667:7;82694:10;82687:17;;82607:105;:::o;95468:107::-;95533:7;95562:1;95555:8;;95468:107;:::o;4506:419::-;4745:1;3027:42;4697:45;;;:49;4693:225;;;3027:42;4768;;;4819:4;4826:8;4768:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4763:144;;4882:8;4863:28;;;;;;;;;;;:::i;:::-;;;;;;;;4763:144;4693:225;4506:419;:::o;62567:2825::-;62709:27;62739;62758:7;62739:18;:27::i;:::-;62709:57;;62824:4;62783:45;;62799:19;62783:45;;;62779:86;;62837:28;;;;;;;;;;;;;;62779:86;62879:27;62908:23;62935:35;62962:7;62935:26;:35::i;:::-;62878:92;;;;63070:68;63095:15;63112:4;63118:19;:17;:19::i;:::-;63070:24;:68::i;:::-;63065:180;;63158:43;63175:4;63181:19;:17;:19::i;:::-;63158:16;:43::i;:::-;63153:92;;63210:35;;;;;;;;;;;;;;63153:92;63065:180;63276:1;63262:16;;:2;:16;;;63258:52;;63287:23;;;;;;;;;;;;;;63258:52;63323:43;63345:4;63351:2;63355:7;63364:1;63323:21;:43::i;:::-;63459:15;63456:160;;;63599:1;63578:19;63571:30;63456:160;63996:18;:24;64015:4;63996:24;;;;;;;;;;;;;;;;63994:26;;;;;;;;;;;;64065:18;:22;64084:2;64065:22;;;;;;;;;;;;;;;;64063:24;;;;;;;;;;;64387:146;64424:2;64473:45;64488:4;64494:2;64498:19;64473:14;:45::i;:::-;44587:8;64445:73;64387:18;:146::i;:::-;64358:17;:26;64376:7;64358:26;;;;;;;;;;;:175;;;;64704:1;44587:8;64653:19;:47;:52;64649:627;;64726:19;64758:1;64748:7;:11;64726:33;;64915:1;64881:17;:30;64899:11;64881:30;;;;;;;;;;;;:35;64877:384;;65019:13;;65004:11;:28;65000:242;;65199:19;65166:17;:30;65184:11;65166:30;;;;;;;;;;;:52;;;;65000:242;64877:384;64707:569;64649:627;65323:7;65319:2;65304:27;;65313:4;65304:27;;;;;;;;;;;;65342:42;65363:4;65369:2;65373:7;65382:1;65342:20;:42::i;:::-;62698:2694;;;62567:2825;;;:::o;86859:132::-;86934:12;:10;:12::i;:::-;86923:23;;:7;:5;:7::i;:::-;:23;;;86915:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;86859:132::o;7850:293::-;7252:1;7984:7;;:19;7976:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;7252:1;8117:7;:18;;;;7850:293::o;8151:213::-;7208:1;8334:7;:22;;;;8151:213::o;65488:193::-;65634:39;65651:4;65657:2;65661:7;65634:39;;;;;;;;;;;;:16;:39::i;:::-;65488:193;;;:::o;54985:1275::-;55052:7;55072:12;55087:7;55072:22;;55155:4;55136:15;:13;:15::i;:::-;:23;55132:1061;;55189:13;;55182:4;:20;55178:1015;;;55227:14;55244:17;:23;55262:4;55244:23;;;;;;;;;;;;55227:40;;55361:1;44307:8;55333:6;:24;:29;55329:845;;55998:113;56015:1;56005:6;:11;55998:113;;56058:17;:25;56076:6;;;;;;;56058:25;;;;;;;;;;;;56049:34;;55998:113;;;56144:6;56137:13;;;;;;55329:845;55204:989;55178:1015;55132:1061;56221:31;;;;;;;;;;;;;;54985:1275;;;;:::o;87961:191::-;88035:16;88054:6;;;;;;;;;;;88035:25;;88080:8;88071:6;;:17;;;;;;;;;;;;;;;;;;88135:8;88104:40;;88125:8;88104:40;;;;;;;;;;;;88024:128;87961:191;:::o;76439:112::-;76516:27;76526:2;76530:8;76516:27;;;;;;;;;;;;:9;:27::i;:::-;76439:112;;:::o;66279:407::-;66454:31;66467:4;66473:2;66477:7;66454:12;:31::i;:::-;66518:1;66500:2;:14;;;:19;66496:183;;66539:56;66570:4;66576:2;66580:7;66589:5;66539:30;:56::i;:::-;66534:145;;66623:40;;;;;;;;;;;;;;66534:145;66496:183;66279:407;;;;:::o;95587:114::-;95647:13;95682:7;95675:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95587:114;:::o;31237:716::-;31293:13;31344:14;31381:1;31361:17;31372:5;31361:10;:17::i;:::-;:21;31344:38;;31397:20;31431:6;31420:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31397:41;;31453:11;31582:6;31578:2;31574:15;31566:6;31562:28;31555:35;;31619:288;31626:4;31619:288;;;31651:5;;;;;;;;31793:8;31788:2;31781:5;31777:14;31772:30;31767:3;31759:44;31849:2;31840:11;;;;;;:::i;:::-;;;;;31883:1;31874:5;:10;31619:288;31870:21;31619:288;31928:6;31921:13;;;;;31237:716;;;:::o;61462:485::-;61564:27;61593:23;61634:38;61675:15;:24;61691:7;61675:24;;;;;;;;;;;61634:65;;61852:18;61829:41;;61909:19;61903:26;61884:45;;61814:126;61462:485;;;:::o;60690:659::-;60839:11;61004:16;60997:5;60993:28;60984:37;;61164:16;61153:9;61149:32;61136:45;;61314:15;61303:9;61300:30;61292:5;61281:9;61278:20;61275:56;61265:66;;60690:659;;;;;:::o;67348:159::-;;;;;:::o;81916:311::-;82051:7;82071:16;44711:3;82097:19;:41;;82071:68;;44711:3;82165:31;82176:4;82182:2;82186:9;82165:10;:31::i;:::-;82157:40;;:62;;82150:69;;;81916:311;;;;;:::o;56808:450::-;56888:14;57056:16;57049:5;57045:28;57036:37;;57233:5;57219:11;57194:23;57190:41;57187:52;57180:5;57177:63;57167:73;;56808:450;;;;:::o;68172:158::-;;;;;:::o;85245:98::-;85298:7;85325:10;85318:17;;85245:98;:::o;75666:689::-;75797:19;75803:2;75807:8;75797:5;:19::i;:::-;75876:1;75858:2;:14;;;:19;75854:483;;75898:11;75912:13;;75898:27;;75944:13;75966:8;75960:3;:14;75944:30;;75993:233;76024:62;76063:1;76067:2;76071:7;;;;;;76080:5;76024:30;:62::i;:::-;76019:167;;76122:40;;;;;;;;;;;;;;76019:167;76221:3;76213:5;:11;75993:233;;76308:3;76291:13;;:20;76287:34;;76313:8;;;76287:34;75879:458;;75854:483;75666:689;;;:::o;68770:716::-;68933:4;68979:2;68954:45;;;69000:19;:17;:19::i;:::-;69021:4;69027:7;69036:5;68954:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;68950:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69254:1;69237:6;:13;:18;69233:235;;69283:40;;;;;;;;;;;;;;69233:235;69426:6;69420:13;69411:6;69407:2;69403:15;69396:38;68950:529;69123:54;;;69113:64;;;:6;:64;;;;69106:71;;;68770:716;;;;;;:::o;28103:922::-;28156:7;28176:14;28193:1;28176:18;;28243:6;28234:5;:15;28230:102;;28279:6;28270:15;;;;;;:::i;:::-;;;;;28314:2;28304:12;;;;28230:102;28359:6;28350:5;:15;28346:102;;28395:6;28386:15;;;;;;:::i;:::-;;;;;28430:2;28420:12;;;;28346:102;28475:6;28466:5;:15;28462:102;;28511:6;28502:15;;;;;;:::i;:::-;;;;;28546:2;28536:12;;;;28462:102;28591:5;28582;:14;28578:99;;28626:5;28617:14;;;;;;:::i;:::-;;;;;28660:1;28650:11;;;;28578:99;28704:5;28695;:14;28691:99;;28739:5;28730:14;;;;;;:::i;:::-;;;;;28773:1;28763:11;;;;28691:99;28817:5;28808;:14;28804:99;;28852:5;28843:14;;;;;;:::i;:::-;;;;;28886:1;28876:11;;;;28804:99;28930:5;28921;:14;28917:66;;28966:1;28956:11;;;;28917:66;29011:6;29004:13;;;28103:922;;;:::o;81617:147::-;81754:6;81617:147;;;;;:::o;69948:2966::-;70021:20;70044:13;;70021:36;;70084:1;70072:8;:13;70068:44;;70094:18;;;;;;;;;;;;;;70068:44;70125:61;70155:1;70159:2;70163:12;70177:8;70125:21;:61::i;:::-;70669:1;43669:2;70639:1;:26;;70638:32;70626:8;:45;70600:18;:22;70619:2;70600:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;70948:139;70985:2;71039:33;71062:1;71066:2;71070:1;71039:14;:33::i;:::-;71006:30;71027:8;71006:20;:30::i;:::-;:66;70948:18;:139::i;:::-;70914:17;:31;70932:12;70914:31;;;;;;;;;;;:173;;;;71104:16;71135:11;71164:8;71149:12;:23;71135:37;;71685:16;71681:2;71677:25;71665:37;;72057:12;72017:8;71976:1;71914:25;71855:1;71794;71767:335;72428:1;72414:12;72410:20;72368:346;72469:3;72460:7;72457:16;72368:346;;72687:7;72677:8;72674:1;72647:25;72644:1;72641;72636:59;72522:1;72513:7;72509:15;72498:26;;72368:346;;;72372:77;72759:1;72747:8;:13;72743:45;;72769:19;;;;;;;;;;;;;;72743:45;72821:3;72805:13;:19;;;;70374:2462;;72846:60;72875:1;72879:2;72883:12;72897:8;72846:20;:60::i;:::-;70010:2904;69948:2966;;:::o;57360:324::-;57430:14;57663:1;57653:8;57650:15;57624:24;57620:46;57610:56;;57360:324;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:307::-;1866:1;1876:113;1890:6;1887:1;1884:13;1876:113;;;1975:1;1970:3;1966:11;1960:18;1956:1;1951:3;1947:11;1940:39;1912:2;1909:1;1905:10;1900:15;;1876:113;;;2007:6;2004:1;2001:13;1998:101;;;2087:1;2078:6;2073:3;2069:16;2062:27;1998:101;1847:258;1798:307;;;:::o;2111:102::-;2152:6;2203:2;2199:7;2194:2;2187:5;2183:14;2179:28;2169:38;;2111:102;;;:::o;2219:364::-;2307:3;2335:39;2368:5;2335:39;:::i;:::-;2390:71;2454:6;2449:3;2390:71;:::i;:::-;2383:78;;2470:52;2515:6;2510:3;2503:4;2496:5;2492:16;2470:52;:::i;:::-;2547:29;2569:6;2547:29;:::i;:::-;2542:3;2538:39;2531:46;;2311:272;2219:364;;;;:::o;2589:313::-;2702:4;2740:2;2729:9;2725:18;2717:26;;2789:9;2783:4;2779:20;2775:1;2764:9;2760:17;2753:47;2817:78;2890:4;2881:6;2817:78;:::i;:::-;2809:86;;2589:313;;;;:::o;2908:77::-;2945:7;2974:5;2963:16;;2908:77;;;:::o;2991:122::-;3064:24;3082:5;3064:24;:::i;:::-;3057:5;3054:35;3044:63;;3103:1;3100;3093:12;3044:63;2991:122;:::o;3119:139::-;3165:5;3203:6;3190:20;3181:29;;3219:33;3246:5;3219:33;:::i;:::-;3119:139;;;;:::o;3264:329::-;3323:6;3372:2;3360:9;3351:7;3347:23;3343:32;3340:119;;;3378:79;;:::i;:::-;3340:119;3498:1;3523:53;3568:7;3559:6;3548:9;3544:22;3523:53;:::i;:::-;3513:63;;3469:117;3264:329;;;;:::o;3599:126::-;3636:7;3676:42;3669:5;3665:54;3654:65;;3599:126;;;:::o;3731:96::-;3768:7;3797:24;3815:5;3797:24;:::i;:::-;3786:35;;3731:96;;;:::o;3833:118::-;3920:24;3938:5;3920:24;:::i;:::-;3915:3;3908:37;3833:118;;:::o;3957:222::-;4050:4;4088:2;4077:9;4073:18;4065:26;;4101:71;4169:1;4158:9;4154:17;4145:6;4101:71;:::i;:::-;3957:222;;;;:::o;4185:122::-;4258:24;4276:5;4258:24;:::i;:::-;4251:5;4248:35;4238:63;;4297:1;4294;4287:12;4238:63;4185:122;:::o;4313:139::-;4359:5;4397:6;4384:20;4375:29;;4413:33;4440:5;4413:33;:::i;:::-;4313:139;;;;:::o;4458:474::-;4526:6;4534;4583:2;4571:9;4562:7;4558:23;4554:32;4551:119;;;4589:79;;:::i;:::-;4551:119;4709:1;4734:53;4779:7;4770:6;4759:9;4755:22;4734:53;:::i;:::-;4724:63;;4680:117;4836:2;4862:53;4907:7;4898:6;4887:9;4883:22;4862:53;:::i;:::-;4852:63;;4807:118;4458:474;;;;;:::o;4938:118::-;5025:24;5043:5;5025:24;:::i;:::-;5020:3;5013:37;4938:118;;:::o;5062:222::-;5155:4;5193:2;5182:9;5178:18;5170:26;;5206:71;5274:1;5263:9;5259:17;5250:6;5206:71;:::i;:::-;5062:222;;;;:::o;5290:619::-;5367:6;5375;5383;5432:2;5420:9;5411:7;5407:23;5403:32;5400:119;;;5438:79;;:::i;:::-;5400:119;5558:1;5583:53;5628:7;5619:6;5608:9;5604:22;5583:53;:::i;:::-;5573:63;;5529:117;5685:2;5711:53;5756:7;5747:6;5736:9;5732:22;5711:53;:::i;:::-;5701:63;;5656:118;5813:2;5839:53;5884:7;5875:6;5864:9;5860:22;5839:53;:::i;:::-;5829:63;;5784:118;5290:619;;;;;:::o;5915:60::-;5943:3;5964:5;5957:12;;5915:60;;;:::o;5981:142::-;6031:9;6064:53;6082:34;6091:24;6109:5;6091:24;:::i;:::-;6082:34;:::i;:::-;6064:53;:::i;:::-;6051:66;;5981:142;;;:::o;6129:126::-;6179:9;6212:37;6243:5;6212:37;:::i;:::-;6199:50;;6129:126;;;:::o;6261:157::-;6342:9;6375:37;6406:5;6375:37;:::i;:::-;6362:50;;6261:157;;;:::o;6424:193::-;6542:68;6604:5;6542:68;:::i;:::-;6537:3;6530:81;6424:193;;:::o;6623:284::-;6747:4;6785:2;6774:9;6770:18;6762:26;;6798:102;6897:1;6886:9;6882:17;6873:6;6798:102;:::i;:::-;6623:284;;;;:::o;6913:117::-;7022:1;7019;7012:12;7036:117;7145:1;7142;7135:12;7159:180;7207:77;7204:1;7197:88;7304:4;7301:1;7294:15;7328:4;7325:1;7318:15;7345:281;7428:27;7450:4;7428:27;:::i;:::-;7420:6;7416:40;7558:6;7546:10;7543:22;7522:18;7510:10;7507:34;7504:62;7501:88;;;7569:18;;:::i;:::-;7501:88;7609:10;7605:2;7598:22;7388:238;7345:281;;:::o;7632:129::-;7666:6;7693:20;;:::i;:::-;7683:30;;7722:33;7750:4;7742:6;7722:33;:::i;:::-;7632:129;;;:::o;7767:308::-;7829:4;7919:18;7911:6;7908:30;7905:56;;;7941:18;;:::i;:::-;7905:56;7979:29;8001:6;7979:29;:::i;:::-;7971:37;;8063:4;8057;8053:15;8045:23;;7767:308;;;:::o;8081:154::-;8165:6;8160:3;8155;8142:30;8227:1;8218:6;8213:3;8209:16;8202:27;8081:154;;;:::o;8241:412::-;8319:5;8344:66;8360:49;8402:6;8360:49;:::i;:::-;8344:66;:::i;:::-;8335:75;;8433:6;8426:5;8419:21;8471:4;8464:5;8460:16;8509:3;8500:6;8495:3;8491:16;8488:25;8485:112;;;8516:79;;:::i;:::-;8485:112;8606:41;8640:6;8635:3;8630;8606:41;:::i;:::-;8325:328;8241:412;;;;;:::o;8673:340::-;8729:5;8778:3;8771:4;8763:6;8759:17;8755:27;8745:122;;8786:79;;:::i;:::-;8745:122;8903:6;8890:20;8928:79;9003:3;8995:6;8988:4;8980:6;8976:17;8928:79;:::i;:::-;8919:88;;8735:278;8673:340;;;;:::o;9019:509::-;9088:6;9137:2;9125:9;9116:7;9112:23;9108:32;9105:119;;;9143:79;;:::i;:::-;9105:119;9291:1;9280:9;9276:17;9263:31;9321:18;9313:6;9310:30;9307:117;;;9343:79;;:::i;:::-;9307:117;9448:63;9503:7;9494:6;9483:9;9479:22;9448:63;:::i;:::-;9438:73;;9234:287;9019:509;;;;:::o;9534:329::-;9593:6;9642:2;9630:9;9621:7;9617:23;9613:32;9610:119;;;9648:79;;:::i;:::-;9610:119;9768:1;9793:53;9838:7;9829:6;9818:9;9814:22;9793:53;:::i;:::-;9783:63;;9739:117;9534:329;;;;:::o;9869:116::-;9939:21;9954:5;9939:21;:::i;:::-;9932:5;9929:32;9919:60;;9975:1;9972;9965:12;9919:60;9869:116;:::o;9991:133::-;10034:5;10072:6;10059:20;10050:29;;10088:30;10112:5;10088:30;:::i;:::-;9991:133;;;;:::o;10130:468::-;10195:6;10203;10252:2;10240:9;10231:7;10227:23;10223:32;10220:119;;;10258:79;;:::i;:::-;10220:119;10378:1;10403:53;10448:7;10439:6;10428:9;10424:22;10403:53;:::i;:::-;10393:63;;10349:117;10505:2;10531:50;10573:7;10564:6;10553:9;10549:22;10531:50;:::i;:::-;10521:60;;10476:115;10130:468;;;;;:::o;10604:307::-;10665:4;10755:18;10747:6;10744:30;10741:56;;;10777:18;;:::i;:::-;10741:56;10815:29;10837:6;10815:29;:::i;:::-;10807:37;;10899:4;10893;10889:15;10881:23;;10604:307;;;:::o;10917:410::-;10994:5;11019:65;11035:48;11076:6;11035:48;:::i;:::-;11019:65;:::i;:::-;11010:74;;11107:6;11100:5;11093:21;11145:4;11138:5;11134:16;11183:3;11174:6;11169:3;11165:16;11162:25;11159:112;;;11190:79;;:::i;:::-;11159:112;11280:41;11314:6;11309:3;11304;11280:41;:::i;:::-;11000:327;10917:410;;;;;:::o;11346:338::-;11401:5;11450:3;11443:4;11435:6;11431:17;11427:27;11417:122;;11458:79;;:::i;:::-;11417:122;11575:6;11562:20;11600:78;11674:3;11666:6;11659:4;11651:6;11647:17;11600:78;:::i;:::-;11591:87;;11407:277;11346:338;;;;:::o;11690:943::-;11785:6;11793;11801;11809;11858:3;11846:9;11837:7;11833:23;11829:33;11826:120;;;11865:79;;:::i;:::-;11826:120;11985:1;12010:53;12055:7;12046:6;12035:9;12031:22;12010:53;:::i;:::-;12000:63;;11956:117;12112:2;12138:53;12183:7;12174:6;12163:9;12159:22;12138:53;:::i;:::-;12128:63;;12083:118;12240:2;12266:53;12311:7;12302:6;12291:9;12287:22;12266:53;:::i;:::-;12256:63;;12211:118;12396:2;12385:9;12381:18;12368:32;12427:18;12419:6;12416:30;12413:117;;;12449:79;;:::i;:::-;12413:117;12554:62;12608:7;12599:6;12588:9;12584:22;12554:62;:::i;:::-;12544:72;;12339:287;11690:943;;;;;;;:::o;12639:311::-;12716:4;12806:18;12798:6;12795:30;12792:56;;;12828:18;;:::i;:::-;12792:56;12878:4;12870:6;12866:17;12858:25;;12938:4;12932;12928:15;12920:23;;12639:311;;;:::o;12956:117::-;13065:1;13062;13055:12;13096:710;13192:5;13217:81;13233:64;13290:6;13233:64;:::i;:::-;13217:81;:::i;:::-;13208:90;;13318:5;13347:6;13340:5;13333:21;13381:4;13374:5;13370:16;13363:23;;13434:4;13426:6;13422:17;13414:6;13410:30;13463:3;13455:6;13452:15;13449:122;;;13482:79;;:::i;:::-;13449:122;13597:6;13580:220;13614:6;13609:3;13606:15;13580:220;;;13689:3;13718:37;13751:3;13739:10;13718:37;:::i;:::-;13713:3;13706:50;13785:4;13780:3;13776:14;13769:21;;13656:144;13640:4;13635:3;13631:14;13624:21;;13580:220;;;13584:21;13198:608;;13096:710;;;;;:::o;13829:370::-;13900:5;13949:3;13942:4;13934:6;13930:17;13926:27;13916:122;;13957:79;;:::i;:::-;13916:122;14074:6;14061:20;14099:94;14189:3;14181:6;14174:4;14166:6;14162:17;14099:94;:::i;:::-;14090:103;;13906:293;13829:370;;;;:::o;14205:684::-;14298:6;14306;14355:2;14343:9;14334:7;14330:23;14326:32;14323:119;;;14361:79;;:::i;:::-;14323:119;14509:1;14498:9;14494:17;14481:31;14539:18;14531:6;14528:30;14525:117;;;14561:79;;:::i;:::-;14525:117;14666:78;14736:7;14727:6;14716:9;14712:22;14666:78;:::i;:::-;14656:88;;14452:302;14793:2;14819:53;14864:7;14855:6;14844:9;14840:22;14819:53;:::i;:::-;14809:63;;14764:118;14205:684;;;;;:::o;14895:474::-;14963:6;14971;15020:2;15008:9;14999:7;14995:23;14991:32;14988:119;;;15026:79;;:::i;:::-;14988:119;15146:1;15171:53;15216:7;15207:6;15196:9;15192:22;15171:53;:::i;:::-;15161:63;;15117:117;15273:2;15299:53;15344:7;15335:6;15324:9;15320:22;15299:53;:::i;:::-;15289:63;;15244:118;14895:474;;;;;:::o;15375:180::-;15423:77;15420:1;15413:88;15520:4;15517:1;15510:15;15544:4;15541:1;15534:15;15561:320;15605:6;15642:1;15636:4;15632:12;15622:22;;15689:1;15683:4;15679:12;15710:18;15700:81;;15766:4;15758:6;15754:17;15744:27;;15700:81;15828:2;15820:6;15817:14;15797:18;15794:38;15791:84;;15847:18;;:::i;:::-;15791:84;15612:269;15561:320;;;:::o;15887:180::-;15935:77;15932:1;15925:88;16032:4;16029:1;16022:15;16056:4;16053:1;16046:15;16073:305;16113:3;16132:20;16150:1;16132:20;:::i;:::-;16127:25;;16166:20;16184:1;16166:20;:::i;:::-;16161:25;;16320:1;16252:66;16248:74;16245:1;16242:81;16239:107;;;16326:18;;:::i;:::-;16239:107;16370:1;16367;16363:9;16356:16;;16073:305;;;;:::o;16384:191::-;16424:4;16444:20;16462:1;16444:20;:::i;:::-;16439:25;;16478:20;16496:1;16478:20;:::i;:::-;16473:25;;16517:1;16514;16511:8;16508:34;;;16522:18;;:::i;:::-;16508:34;16567:1;16564;16560:9;16552:17;;16384:191;;;;:::o;16581:348::-;16621:7;16644:20;16662:1;16644:20;:::i;:::-;16639:25;;16678:20;16696:1;16678:20;:::i;:::-;16673:25;;16866:1;16798:66;16794:74;16791:1;16788:81;16783:1;16776:9;16769:17;16765:105;16762:131;;;16873:18;;:::i;:::-;16762:131;16921:1;16918;16914:9;16903:20;;16581:348;;;;:::o;16935:147::-;17036:11;17073:3;17058:18;;16935:147;;;;:::o;17088:114::-;;:::o;17208:398::-;17367:3;17388:83;17469:1;17464:3;17388:83;:::i;:::-;17381:90;;17480:93;17569:3;17480:93;:::i;:::-;17598:1;17593:3;17589:11;17582:18;;17208:398;;;:::o;17612:379::-;17796:3;17818:147;17961:3;17818:147;:::i;:::-;17811:154;;17982:3;17975:10;;17612:379;;;:::o;17997:180::-;18045:77;18042:1;18035:88;18142:4;18139:1;18132:15;18166:4;18163:1;18156:15;18183:233;18222:3;18245:24;18263:5;18245:24;:::i;:::-;18236:33;;18291:66;18284:5;18281:77;18278:103;;18361:18;;:::i;:::-;18278:103;18408:1;18401:5;18397:13;18390:20;;18183:233;;;:::o;18422:148::-;18524:11;18561:3;18546:18;;18422:148;;;;:::o;18576:377::-;18682:3;18710:39;18743:5;18710:39;:::i;:::-;18765:89;18847:6;18842:3;18765:89;:::i;:::-;18758:96;;18863:52;18908:6;18903:3;18896:4;18889:5;18885:16;18863:52;:::i;:::-;18940:6;18935:3;18931:16;18924:23;;18686:267;18576:377;;;;:::o;18959:141::-;19008:4;19031:3;19023:11;;19054:3;19051:1;19044:14;19088:4;19085:1;19075:18;19067:26;;18959:141;;;:::o;19130:845::-;19233:3;19270:5;19264:12;19299:36;19325:9;19299:36;:::i;:::-;19351:89;19433:6;19428:3;19351:89;:::i;:::-;19344:96;;19471:1;19460:9;19456:17;19487:1;19482:137;;;;19633:1;19628:341;;;;19449:520;;19482:137;19566:4;19562:9;19551;19547:25;19542:3;19535:38;19602:6;19597:3;19593:16;19586:23;;19482:137;;19628:341;19695:38;19727:5;19695:38;:::i;:::-;19755:1;19769:154;19783:6;19780:1;19777:13;19769:154;;;19857:7;19851:14;19847:1;19842:3;19838:11;19831:35;19907:1;19898:7;19894:15;19883:26;;19805:4;19802:1;19798:12;19793:17;;19769:154;;;19952:6;19947:3;19943:16;19936:23;;19635:334;;19449:520;;19237:738;;19130:845;;;;:::o;19981:589::-;20206:3;20228:95;20319:3;20310:6;20228:95;:::i;:::-;20221:102;;20340:95;20431:3;20422:6;20340:95;:::i;:::-;20333:102;;20452:92;20540:3;20531:6;20452:92;:::i;:::-;20445:99;;20561:3;20554:10;;19981:589;;;;;;:::o;20576:225::-;20716:34;20712:1;20704:6;20700:14;20693:58;20785:8;20780:2;20772:6;20768:15;20761:33;20576:225;:::o;20807:366::-;20949:3;20970:67;21034:2;21029:3;20970:67;:::i;:::-;20963:74;;21046:93;21135:3;21046:93;:::i;:::-;21164:2;21159:3;21155:12;21148:19;;20807:366;;;:::o;21179:419::-;21345:4;21383:2;21372:9;21368:18;21360:26;;21432:9;21426:4;21422:20;21418:1;21407:9;21403:17;21396:47;21460:131;21586:4;21460:131;:::i;:::-;21452:139;;21179:419;;;:::o;21604:332::-;21725:4;21763:2;21752:9;21748:18;21740:26;;21776:71;21844:1;21833:9;21829:17;21820:6;21776:71;:::i;:::-;21857:72;21925:2;21914:9;21910:18;21901:6;21857:72;:::i;:::-;21604:332;;;;;:::o;21942:137::-;21996:5;22027:6;22021:13;22012:22;;22043:30;22067:5;22043:30;:::i;:::-;21942:137;;;;:::o;22085:345::-;22152:6;22201:2;22189:9;22180:7;22176:23;22172:32;22169:119;;;22207:79;;:::i;:::-;22169:119;22327:1;22352:61;22405:7;22396:6;22385:9;22381:22;22352:61;:::i;:::-;22342:71;;22298:125;22085:345;;;;:::o;22436:182::-;22576:34;22572:1;22564:6;22560:14;22553:58;22436:182;:::o;22624:366::-;22766:3;22787:67;22851:2;22846:3;22787:67;:::i;:::-;22780:74;;22863:93;22952:3;22863:93;:::i;:::-;22981:2;22976:3;22972:12;22965:19;;22624:366;;;:::o;22996:419::-;23162:4;23200:2;23189:9;23185:18;23177:26;;23249:9;23243:4;23239:20;23235:1;23224:9;23220:17;23213:47;23277:131;23403:4;23277:131;:::i;:::-;23269:139;;22996:419;;;:::o;23421:181::-;23561:33;23557:1;23549:6;23545:14;23538:57;23421:181;:::o;23608:366::-;23750:3;23771:67;23835:2;23830:3;23771:67;:::i;:::-;23764:74;;23847:93;23936:3;23847:93;:::i;:::-;23965:2;23960:3;23956:12;23949:19;;23608:366;;;:::o;23980:419::-;24146:4;24184:2;24173:9;24169:18;24161:26;;24233:9;24227:4;24223:20;24219:1;24208:9;24204:17;24197:47;24261:131;24387:4;24261:131;:::i;:::-;24253:139;;23980:419;;;:::o;24405:180::-;24453:77;24450:1;24443:88;24550:4;24547:1;24540:15;24574:4;24571:1;24564:15;24591:98;24642:6;24676:5;24670:12;24660:22;;24591:98;;;:::o;24695:168::-;24778:11;24812:6;24807:3;24800:19;24852:4;24847:3;24843:14;24828:29;;24695:168;;;;:::o;24869:360::-;24955:3;24983:38;25015:5;24983:38;:::i;:::-;25037:70;25100:6;25095:3;25037:70;:::i;:::-;25030:77;;25116:52;25161:6;25156:3;25149:4;25142:5;25138:16;25116:52;:::i;:::-;25193:29;25215:6;25193:29;:::i;:::-;25188:3;25184:39;25177:46;;24959:270;24869:360;;;;:::o;25235:640::-;25430:4;25468:3;25457:9;25453:19;25445:27;;25482:71;25550:1;25539:9;25535:17;25526:6;25482:71;:::i;:::-;25563:72;25631:2;25620:9;25616:18;25607:6;25563:72;:::i;:::-;25645;25713:2;25702:9;25698:18;25689:6;25645:72;:::i;:::-;25764:9;25758:4;25754:20;25749:2;25738:9;25734:18;25727:48;25792:76;25863:4;25854:6;25792:76;:::i;:::-;25784:84;;25235:640;;;;;;;:::o;25881:141::-;25937:5;25968:6;25962:13;25953:22;;25984:32;26010:5;25984:32;:::i;:::-;25881:141;;;;:::o;26028:349::-;26097:6;26146:2;26134:9;26125:7;26121:23;26117:32;26114:119;;;26152:79;;:::i;:::-;26114:119;26272:1;26297:63;26352:7;26343:6;26332:9;26328:22;26297:63;:::i;:::-;26287:73;;26243:127;26028:349;;;;:::o

Swarm Source

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