ETH Price: $4,037.32 (+4.70%)

Token

FruitLoops (LOOP)
 

Overview

Max Total Supply

5,555 LOOP

Holders

1,254

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 LOOP
0xe3a2ad830ec8a2f977a7a771e4856e804765e462
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:
FruitLoops

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT

// 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/utils/math/Math.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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


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

pragma solidity ^0.8.0;


/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV // Deprecated in v4.8
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: @openzeppelin/contracts/finance/PaymentSplitter.sol


// OpenZeppelin Contracts (last updated v4.8.0) (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;




/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned. The distribution of shares is set at the
 * time of contract deployment and can't be updated thereafter.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    mapping(IERC20 => uint256) private _erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20
     * contract.
     */
    function totalReleased(IERC20 token) public view returns (uint256) {
        return _erc20TotalReleased[token];
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an
     * IERC20 contract.
     */
    function released(IERC20 token, address account) public view returns (uint256) {
        return _erc20Released[token][account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Getter for the amount of payee's releasable Ether.
     */
    function releasable(address account) public view returns (uint256) {
        uint256 totalReceived = address(this).balance + totalReleased();
        return _pendingPayment(account, totalReceived, released(account));
    }

    /**
     * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an
     * IERC20 contract.
     */
    function releasable(IERC20 token, address account) public view returns (uint256) {
        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        return _pendingPayment(account, totalReceived, released(token, account));
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 payment = releasable(account);

        require(payment != 0, "PaymentSplitter: account is not due payment");

        // _totalReleased is the sum of all values in _released.
        // If "_totalReleased += payment" does not overflow, then "_released[account] += payment" cannot overflow.
        _totalReleased += payment;
        unchecked {
            _released[account] += payment;
        }

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their
     * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20
     * contract.
     */
    function release(IERC20 token, address account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 payment = releasable(token, account);

        require(payment != 0, "PaymentSplitter: account is not due payment");

        // _erc20TotalReleased[token] is the sum of all values in _erc20Released[token].
        // If "_erc20TotalReleased[token] += payment" does not overflow, then "_erc20Released[token][account] += payment"
        // cannot overflow.
        _erc20TotalReleased[token] += payment;
        unchecked {
            _erc20Released[token][account] += payment;
        }

        SafeERC20.safeTransfer(token, account, payment);
        emit ERC20PaymentReleased(token, account, payment);
    }

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

// 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: https://github.com/chiru-labs/ERC721A/blob/main/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        address owner = ownerOf(tokenId);

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: FruitLoops.sol


 
pragma solidity ^ 0.8.2;


contract FruitLoops is ERC721A, ReentrancyGuard, PaymentSplitter, Ownable, DefaultOperatorFilterer {
 
   /// @notice status booleans for phases
   bool public isAllowlistActive = false;
   bool public isPublicActive = false;
   bool public isPresaleActive = false;
 
   /// @notice settings for future burn utility
   address public burnContract;
   bool public isBurnActive = false;
   bool public burnDependent = false;
 
   /// @notice signer for allowlist
   address private signer = 0xE9c5b07c27f564CAF40E546C1B7AFf1Df5ba9feF;
 
   /// @notice collection settings
   uint256 public MAX_SUPPLY = 5555;
   uint256 public MAX_SUPPLY_PRESALE = 1111;
   uint256 public PRICE_PER_TOKEN = 0.08 ether;
 
   /// @notice set to 1 for allowlist
   uint256 private maxMintPerWallet = 1;
   uint256 private maxMintPerTxPublic = 20;
 
   /// @notice collection payouts
   address[] private addressList = [
   0xbF7e42Af0314Dad70acd3527156e3e86f2818Cea,
   0xebA40446B7A0729692f2a1893bd8309683059b1D,
   0x6b4831e5666617359B2C7C3d6508feF5cA119D84,
   0x47B27023C3d94DebDBe1FB0B325f5eCc3e2Cce41,
   0x381A8Db83976d6493F60dD283b20390f996E46CB,
   0x3B8a68E2ddFc6a11D22eccA548D6Bc4e53C04046,
   0x30832069b3eaD871CBE70Ee2341a6abE88906C02];
 
   uint[] private shareList = [
   400,
   350,
   125,
   50,
   25,
   25,
   25];
 
   /// @notice metadata path
   string public _metadata;
 
   /// @notice tracks number minted per person
   mapping(address => uint256) public numMintedPerPerson;
 
   constructor() ERC721A("FruitLoops", "LOOP") PaymentSplitter(addressList, shareList) {}
 
   /// @notice mint allowlist
   function mintAllowlist(address _address, bytes calldata _voucher, uint256 _tokenAmount) external payable nonReentrant {
       uint256 ts = totalSupply();
       require(isAllowlistActive);
       require(_tokenAmount <= maxMintPerWallet, "Purchase would exceed max tokens per tx in this phase");
       require(ts + _tokenAmount <= MAX_SUPPLY, "Purchase would exceed max tokens total");
       require(ts + _tokenAmount <= MAX_SUPPLY_PRESALE, "Purchase would exceed max tokens in the presale");
       require(msg.sender == _address, "Not your voucher");
       require(msg.sender == tx.origin);
       require(numMintedPerPerson[_address] + _tokenAmount <= maxMintPerWallet, "Purchase would exceed max tokens per Wallet");
 
       bytes32 hash = keccak256(
           abi.encodePacked(_address)
       );
       require(_verifySignature(signer, hash, _voucher), "Invalid voucher");
 
       _safeMint(_address, _tokenAmount);
       numMintedPerPerson[_address] += _tokenAmount;
   }

   /// @notice mint presale
   function mintPresale(address _address, uint256 _tokenAmount) external payable nonReentrant {
       uint256 ts = totalSupply();
       require(isPresaleActive);
       require(_tokenAmount <= maxMintPerWallet, "Purchase would exceed max tokens per tx in this phase");
       require(ts + _tokenAmount <= MAX_SUPPLY, "Purchase would exceed max tokens total");
       require(ts + _tokenAmount <= MAX_SUPPLY_PRESALE, "Purchase would exceed max tokens in the presale");
       require(msg.sender == _address, "Not your voucher");
       require(msg.sender == tx.origin);
       require(numMintedPerPerson[_address] + _tokenAmount <= maxMintPerWallet, "Purchase would exceed max tokens per Wallet");
 
       _safeMint(_address, _tokenAmount);
       numMintedPerPerson[_address] += _tokenAmount;
   }

 
   /// @notice mint public
   function mintPublic(uint256 _tokenAmount) external payable nonReentrant {
       uint256 ts = totalSupply();
       require(isPublicActive);
       require(_tokenAmount <= maxMintPerTxPublic, "Purchase would exceed max tokens per tx in public");
       require(ts + _tokenAmount <= MAX_SUPPLY, "Purchase would exceed max tokens total");
       require(msg.value >= PRICE_PER_TOKEN * _tokenAmount, "Ether value sent is not correct");
       require(msg.sender == tx.origin);
       _safeMint(msg.sender, _tokenAmount);
   }
 
   /// @notice reserve to wallets, only owner
   function reserve(address addr, uint256 _tokenAmount) public onlyOwner {
       uint256 ts = totalSupply();
       require(ts + _tokenAmount <= MAX_SUPPLY);
       _safeMint(addr, _tokenAmount);
   }
 
   /// @notice burn token, future utility
   function burnToken(uint256 token) external {
       require(isBurnActive);
       if (burnDependent) {
           require(tx.origin == burnContract || msg.sender == burnContract);
           _burn(token);
       } else {
           require(ownerOf(token) == msg.sender);
           _burn(token);
       }
   }
 
   /// @notice verify voucher
   function _verifySignature(address _signer, bytes32 _hash, bytes memory _signature) private pure returns(bool) {
       return _signer == ECDSA.recover(ECDSA.toEthSignedMessageHash(_hash), _signature);
   }
 
   /// @notice set signer for signature
   function setSigner(address _signer) external onlyOwner {
       signer = _signer;
   }
 
   /// @notice set price
   function setPrice(uint256 _newPrice) external onlyOwner {
       PRICE_PER_TOKEN = _newPrice;
   }
 
   /// @notice set allowlist active
   function setAllowlist(bool _status) external onlyOwner {
       isAllowlistActive = _status;
   }

   /// @notice set allowlist active
   function setPresale(bool _status) external onlyOwner {
       isPresaleActive = _status;
   }
  
   /// @notice set public active
   function setPublic(bool _status) external onlyOwner {
       isPublicActive = _status;
   }
 
   /// @notice set burn active
   function setBurn(bool _status) external onlyOwner {
       isBurnActive = _status;
   }
 
   /// @notice set future burn utility contract
   function setBurnContract(address _contract) external onlyOwner {
       burnContract = _contract;
   }
 
   /// @notice set burn dependent on a external contract
   function setBurnDependent(bool _status) external onlyOwner {
       burnDependent = _status;
   }
 
   /// @notice set max mint per wallet/tx
   function setMaxMintPerWallet(uint256 _amount) external onlyOwner {
       maxMintPerWallet = _amount;
   }
 
   /// @notice set metadata path
   function setMetadata(string memory metadata_) external onlyOwner {
       _metadata = metadata_;
   }
 
   /// @notice read metadata
   function _baseURI() internal view virtual override returns(string memory) {
       return _metadata;
   }
 
   /// @notice withdraw funds to deployer wallet
   function withdraw() public payable onlyOwner {
       (bool success, ) = payable(msg.sender).call {
           value: address(this).balance
       }("");
       require(success);
   }
 
   function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
       super.setApprovalForAll(operator, approved);
   }
 
   function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) {
       super.approve(operator, tokenId);
   }
 
   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
       override
       payable
       onlyAllowedOperator(from)
   {
       super.safeTransferFrom(from, to, tokenId, data);
   }
 
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PER_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_metadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnDependent","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"token","type":"uint256"}],"name":"burnToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAllowlistActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"isBurnActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bytes","name":"_voucher","type":"bytes"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"mintAllowlist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numMintedPerPerson","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"reserve","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":"bool","name":"_status","type":"bool"}],"name":"setAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setBurnContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setBurnDependent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxMintPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"metadata_","type":"string"}],"name":"setMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6010805462ffffff60a01b191690556011805461ffff60a01b19169055601280546001600160a01b03191673e9c5b07c27f564caf40e546c1b7aff1df5ba9fef1790556115b3601355610457601490815567011c37937e080000601555600160165560175561016060405273bf7e42af0314dad70acd3527156e3e86f2818cea608090815273eba40446b7a0729692f2a1893bd8309683059b1d60a052736b4831e5666617359b2c7c3d6508fef5ca119d8460c0527347b27023c3d94debdbe1fb0b325f5ecc3e2cce4160e05273381a8db83976d6493f60dd283b20390f996e46cb61010052733b8a68e2ddfc6a11d22ecca548d6bc4e53c04046610120527330832069b3ead871cbe70ee2341a6abe88906c02610140526200012790601890600762000794565b506040805160e081018252610190815261015e6020820152607d918101919091526032606082015260196080820181905260a0820181905260c0820181905262000173916007620007fe565b503480156200018157600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016018805480602002602001604051908101604052809291908181526020018280548015620001f157602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311620001d2575b505050505060198054806020026020016040519081016040528092919081815260200182805480156200024457602002820191906000526020600020905b8154815260200190600101908083116200022f575b50505050506040518060400160405280600a81526020016946727569744c6f6f707360b01b8152506040518060400160405280600481526020016304c4f4f560e41b81525081600290816200029a9190620008fe565b506003620002a98282620008fe565b5060008055505060016008558051825114620003275760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b60008251116200037a5760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200031e565b60005b8251811015620003e657620003d1838281518110620003a057620003a0620009ca565b6020026020010151838381518110620003bd57620003bd620009ca565b60200260200101516200055060201b60201c565b80620003dd81620009f6565b9150506200037d565b50505062000403620003fd6200073e60201b60201c565b62000742565b6daaeb6d7670e522a718067333cd4e3b15620005485780156200049657604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200047757600080fd5b505af11580156200048c573d6000803e3d6000fd5b5050505062000548565b6001600160a01b03821615620004e75760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200045c565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200052e57600080fd5b505af115801562000543573d6000803e3d6000fd5b505050505b505062000a2e565b6001600160a01b038216620005bd5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200031e565b600081116200060f5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200031e565b6001600160a01b0382166000908152600b6020526040902054156200068b5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200031e565b600d8054600181019091557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0384169081179091556000908152600b60205260409020819055600954620006f590829062000a12565b600955604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b3390565b601080546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054828255906000526020600020908101928215620007ec579160200282015b82811115620007ec57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620007b5565b50620007fa92915062000842565b5090565b828054828255906000526020600020908101928215620007ec579160200282015b82811115620007ec578251829061ffff169055916020019190600101906200081f565b5b80821115620007fa576000815560010162000843565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200088457607f821691505b602082108103620008a557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620008f957600081815260208120601f850160051c81016020861015620008d45750805b601f850160051c820191505b81811015620008f557828155600101620008e0565b5050505b505050565b81516001600160401b038111156200091a576200091a62000859565b62000932816200092b84546200086f565b84620008ab565b602080601f8311600181146200096a5760008415620009515750858301515b600019600386901b1c1916600185901b178555620008f5565b600085815260208120601f198616915b828110156200099b578886015182559484019460019091019084016200097a565b5085821015620009ba5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820162000a0b5762000a0b620009e0565b5060010190565b8082018082111562000a285762000a28620009e0565b92915050565b6131ff8062000a3e6000396000f3fe60806040526004361061036f5760003560e01c80638b83209b116101c6578063bd55cf0d116100f7578063d2d515cc11610095578063e4f20fb21161006f578063e4f20fb214610a41578063e985e9c514610a54578063efd0cbf914610a9d578063f2fde38b14610ab057600080fd5b8063d2d515cc146109d5578063d79779b2146109f6578063e33b7de314610a2c57600080fd5b8063c54e73e3116100d1578063c54e73e31461093f578063c87b56dd1461095f578063cc47a40b1461097f578063ce7c2ac21461099f57600080fd5b8063bd55cf0d146108de578063bdd87a66146108fe578063c45ac0501461091f57600080fd5b8063a3330d2511610164578063abcae5d51161013e578063abcae5d514610874578063afdf61341461088a578063b1a6676e146108aa578063b88d4fde146108cb57600080fd5b8063a3330d2514610813578063a3f8eace14610834578063a49a1e7d1461085457600080fd5b806395d89b41116101a057806395d89b4114610788578063964a65af1461079d5780639852595c146107bd578063a22cb465146107f357600080fd5b80638b83209b1461072a5780638da5cb5b1461074a57806391b7f5ed1461076857600080fd5b8063406072a9116102a05780636352211e1161023e578063715018a611610218578063715018a6146106cc5780637b47ec1a146106e1578063833b94991461070157806386c843151461071757600080fd5b80636352211e1461066c5780636c19e7831461068c57806370a08231146106ac57600080fd5b806348b750441161027a57806348b75044146105eb5780635ad1c1b51461060b5780635cbcec4e1461062b57806360d938dc1461064b57600080fd5b8063406072a91461057057806341f43434146105b657806342842e0e146105d857600080fd5b80631c0973a41161030d57806337beafe0116102e757806337beafe01461051e57806339371b251461053e5780633a98ef39146105535780633ccfd60b1461056857600080fd5b80631c0973a4146104d557806323b872dd146104f557806332cb6b0c1461050857600080fd5b8063081812fc11610349578063081812fc1461044f578063095ea7b31461048757806318160ddd1461049c57806319165587146104b557600080fd5b806301ffc9a7146103bd578063066589fb146103f257806306fdde031461042d57600080fd5b366103b8577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103c957600080fd5b506103dd6103d83660046129a5565b610ad0565b60405190151581526020015b60405180910390f35b3480156103fe57600080fd5b5061041f61040d3660046129d7565b601b6020526000908152604090205481565b6040519081526020016103e9565b34801561043957600080fd5b50610442610b22565b6040516103e99190612a44565b34801561045b57600080fd5b5061046f61046a366004612a57565b610bb4565b6040516001600160a01b0390911681526020016103e9565b61049a610495366004612a70565b610bf8565b005b3480156104a857600080fd5b506001546000540361041f565b3480156104c157600080fd5b5061049a6104d03660046129d7565b610c11565b3480156104e157600080fd5b5060115461046f906001600160a01b031681565b61049a610503366004612a9c565b610d01565b34801561051457600080fd5b5061041f60135481565b34801561052a57600080fd5b5061049a6105393660046129d7565b610d2c565b34801561054a57600080fd5b50610442610d56565b34801561055f57600080fd5b5060095461041f565b61049a610de4565b34801561057c57600080fd5b5061041f61058b366004612add565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b3480156105c257600080fd5b5061046f6daaeb6d7670e522a718067333cd4e81565b61049a6105e6366004612a9c565b610e44565b3480156105f757600080fd5b5061049a610606366004612add565b610e69565b34801561061757600080fd5b5061049a610626366004612b24565b610f7a565b34801561063757600080fd5b5061049a610646366004612b24565b610fa0565b34801561065757600080fd5b506010546103dd90600160b01b900460ff1681565b34801561067857600080fd5b5061046f610687366004612a57565b610fc6565b34801561069857600080fd5b5061049a6106a73660046129d7565b610fd1565b3480156106b857600080fd5b5061041f6106c73660046129d7565b610ffb565b3480156106d857600080fd5b5061049a61104a565b3480156106ed57600080fd5b5061049a6106fc366004612a57565b61105e565b34801561070d57600080fd5b5061041f60155481565b61049a610725366004612b41565b6110d8565b34801561073657600080fd5b5061046f610745366004612a57565b611322565b34801561075657600080fd5b506010546001600160a01b031661046f565b34801561077457600080fd5b5061049a610783366004612a57565b611352565b34801561079457600080fd5b5061044261135f565b3480156107a957600080fd5b5061049a6107b8366004612b24565b61136e565b3480156107c957600080fd5b5061041f6107d83660046129d7565b6001600160a01b03166000908152600c602052604090205490565b3480156107ff57600080fd5b5061049a61080e366004612bcc565b611394565b34801561081f57600080fd5b506010546103dd90600160a81b900460ff1681565b34801561084057600080fd5b5061041f61084f3660046129d7565b6113a8565b34801561086057600080fd5b5061049a61086f366004612c86565b6113f0565b34801561088057600080fd5b5061041f60145481565b34801561089657600080fd5b5061049a6108a5366004612a57565b611408565b3480156108b657600080fd5b506011546103dd90600160a01b900460ff1681565b61049a6108d9366004612ccf565b611415565b3480156108ea57600080fd5b5061049a6108f9366004612b24565b611442565b34801561090a57600080fd5b506011546103dd90600160a81b900460ff1681565b34801561092b57600080fd5b5061041f61093a366004612add565b611468565b34801561094b57600080fd5b5061049a61095a366004612b24565b611533565b34801561096b57600080fd5b5061044261097a366004612a57565b611559565b34801561098b57600080fd5b5061049a61099a366004612a70565b6115dc565b3480156109ab57600080fd5b5061041f6109ba3660046129d7565b6001600160a01b03166000908152600b602052604090205490565b3480156109e157600080fd5b506010546103dd90600160a01b900460ff1681565b348015610a0257600080fd5b5061041f610a113660046129d7565b6001600160a01b03166000908152600e602052604090205490565b348015610a3857600080fd5b50600a5461041f565b61049a610a4f366004612a70565b611618565b348015610a6057600080fd5b506103dd610a6f366004612add565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61049a610aab366004612a57565b61179d565b348015610abc57600080fd5b5061049a610acb3660046129d7565b6118d0565b60006301ffc9a760e01b6001600160e01b031983161480610b0157506380ac58cd60e01b6001600160e01b03198316145b80610b1c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610b3190612d4f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5d90612d4f565b8015610baa5780601f10610b7f57610100808354040283529160200191610baa565b820191906000526020600020905b815481529060010190602001808311610b8d57829003601f168201915b5050505050905090565b6000610bbf82611946565b610bdc576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610c028161196d565b610c0c8383611a26565b505050565b6001600160a01b0381166000908152600b6020526040902054610c4f5760405162461bcd60e51b8152600401610c4690612d89565b60405180910390fd5b6000610c5a826113a8565b905080600003610c7c5760405162461bcd60e51b8152600401610c4690612dcf565b80600a6000828254610c8e9190612e30565b90915550506001600160a01b0382166000908152600c60205260409020805482019055610cbb8282611a32565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b826001600160a01b0381163314610d1b57610d1b3361196d565b610d26848484611b4b565b50505050565b610d34611cdc565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b601a8054610d6390612d4f565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8f90612d4f565b8015610ddc5780601f10610db157610100808354040283529160200191610ddc565b820191906000526020600020905b815481529060010190602001808311610dbf57829003601f168201915b505050505081565b610dec611cdc565b604051600090339047908381818185875af1925050503d8060008114610e2e576040519150601f19603f3d011682016040523d82523d6000602084013e610e33565b606091505b5050905080610e4157600080fd5b50565b826001600160a01b0381163314610e5e57610e5e3361196d565b610d26848484611d36565b6001600160a01b0381166000908152600b6020526040902054610e9e5760405162461bcd60e51b8152600401610c4690612d89565b6000610eaa8383611468565b905080600003610ecc5760405162461bcd60e51b8152600401610c4690612dcf565b6001600160a01b0383166000908152600e602052604081208054839290610ef4908490612e30565b90915550506001600160a01b038084166000908152600f60209081526040808320938616835292905220805482019055610f2f838383611d51565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b610f82611cdc565b60108054911515600160a01b0260ff60a01b19909216919091179055565b610fa8611cdc565b60108054911515600160a81b0260ff60a81b19909216919091179055565b6000610b1c82611da3565b610fd9611cdc565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216611024576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b611052611cdc565b61105c6000611e24565b565b601154600160a01b900460ff1661107457600080fd5b601154600160a81b900460ff16156110bb576011546001600160a01b03163214806110a957506011546001600160a01b031633145b6110b257600080fd5b610e4181611e76565b336110c582610fc6565b6001600160a01b0316146110b257600080fd5b6110e0611e81565b60006110ef6001546000540390565b601054909150600160a01b900460ff1661110857600080fd5b60165482111561112a5760405162461bcd60e51b8152600401610c4690612e43565b6013546111378383612e30565b11156111555760405162461bcd60e51b8152600401610c4690612e86565b6014546111628383612e30565b11156111805760405162461bcd60e51b8152600401610c4690612eba565b336001600160a01b038616146111cb5760405162461bcd60e51b815260206004820152601060248201526f2737ba103cb7bab9103b37bab1b432b960811b6044820152606401610c46565b3332146111d757600080fd5b6016546001600160a01b0386166000908152601b60205260409020546111fe908490612e30565b111561121c5760405162461bcd60e51b8152600401610c4690612ef7565b6040516bffffffffffffffffffffffff19606087901b16602082015260009060340160408051601f198184030181528282528051602091820120601254601f890183900483028501830190935287845293506112a0926001600160a01b039092169184918990899081908401838280828437600092019190915250611eda92505050565b6112de5760405162461bcd60e51b815260206004820152600f60248201526e24b73b30b634b2103b37bab1b432b960891b6044820152606401610c46565b6112e88684611f59565b6001600160a01b0386166000908152601b602052604081208054859290611310908490612e30565b9091555050600160085550610d269050565b6000600d828154811061133757611337612f30565b6000918252602090912001546001600160a01b031692915050565b61135a611cdc565b601555565b606060038054610b3190612d4f565b611376611cdc565b60118054911515600160a81b0260ff60a81b19909216919091179055565b8161139e8161196d565b610c0c8383611f73565b6000806113b4600a5490565b6113be9047612e30565b90506113e983826113e4866001600160a01b03166000908152600c602052604090205490565b611fdf565b9392505050565b6113f8611cdc565b601a6114048282612f8c565b5050565b611410611cdc565b601655565b836001600160a01b038116331461142f5761142f3361196d565b61143b8585858561201d565b5050505050565b61144a611cdc565b60118054911515600160a01b0260ff60a01b19909216919091179055565b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa1580156114c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114eb919061304c565b6114f59190612e30565b6001600160a01b038086166000908152600f602090815260408083209388168352929052205490915061152b9084908390611fdf565b949350505050565b61153b611cdc565b60108054911515600160b01b0260ff60b01b19909216919091179055565b606061156482611946565b61158157604051630a14c4b560e41b815260040160405180910390fd5b600061158b612061565b905080516000036115ab57604051806020016040528060008152506113e9565b806115b584612070565b6040516020016115c6929190613065565b6040516020818303038152906040529392505050565b6115e4611cdc565b60006115f36001546000540390565b6013549091506116038383612e30565b111561160e57600080fd5b610c0c8383611f59565b611620611e81565b600061162f6001546000540390565b601054909150600160b01b900460ff1661164857600080fd5b60165482111561166a5760405162461bcd60e51b8152600401610c4690612e43565b6013546116778383612e30565b11156116955760405162461bcd60e51b8152600401610c4690612e86565b6014546116a28383612e30565b11156116c05760405162461bcd60e51b8152600401610c4690612eba565b336001600160a01b0384161461170b5760405162461bcd60e51b815260206004820152601060248201526f2737ba103cb7bab9103b37bab1b432b960811b6044820152606401610c46565b33321461171757600080fd5b6016546001600160a01b0384166000908152601b602052604090205461173e908490612e30565b111561175c5760405162461bcd60e51b8152600401610c4690612ef7565b6117668383611f59565b6001600160a01b0383166000908152601b60205260408120805484929061178e908490612e30565b90915550506001600855505050565b6117a5611e81565b60006117b46001546000540390565b601054909150600160a81b900460ff166117cd57600080fd5b6017548211156118275760405162461bcd60e51b8152602060048201526031602482015260008051602061318a8339815191526044820152702070657220747820696e207075626c696360781b6064820152608401610c46565b6013546118348383612e30565b11156118525760405162461bcd60e51b8152600401610c4690612e86565b816015546118609190613094565b3410156118af5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610c46565b3332146118bb57600080fd5b6118c53383611f59565b50610e416001600855565b6118d8611cdc565b6001600160a01b03811661193d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c46565b610e4181611e24565b6000805482108015610b1c575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610e4157604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156119da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fe91906130ab565b610e4157604051633b79c77360e21b81526001600160a01b0382166004820152602401610c46565b611404828260016120b4565b80471015611a825760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c46565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611acf576040519150601f19603f3d011682016040523d82523d6000602084013e611ad4565b606091505b5050905080610c0c5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c46565b6000611b5682611da3565b9050836001600160a01b0316816001600160a01b031614611b895760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054611bb58187335b6001600160a01b039081169116811491141790565b611be057611bc38633610a6f565b611be057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516611c0757604051633a954ecd60e21b815260040160405180910390fd5b8015611c1257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611ca457600184016000818152600460205260408120549003611ca2576000548114611ca25760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03166000805160206131aa83398151915260405160405180910390a45b505050505050565b6010546001600160a01b0316331461105c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c46565b610c0c83838360405180602001604052806000815250611415565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610c0c90849061215b565b60008181526004602052604081205490600160e01b82169003611e0b5780600003611e06576000548210611dea57604051636f96cda160e11b815260040160405180910390fd5b5b50600019016000818152600460205260409020548015611deb575b919050565b604051636f96cda160e11b815260040160405180910390fd5b601080546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e4181600061222d565b600260085403611ed35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c46565b6002600855565b6000611f3c611f36846040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b83612365565b6001600160a01b0316846001600160a01b03161490509392505050565b611404828260405180602001604052806000815250612389565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6009546001600160a01b0384166000908152600b6020526040812054909183916120099086613094565b61201391906130c8565b61152b91906130ea565b612028848484610d01565b6001600160a01b0383163b15610d2657612044848484846123ef565b610d26576040516368d2bf6b60e11b815260040160405180910390fd5b6060601a8054610b3190612d4f565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061208a5750819003601f19909101908152919050565b60006120bf83610fc6565b905081156120fe57336001600160a01b038216146120fe576120e18133610a6f565b6120fe576040516367d9dca160e11b815260040160405180910390fd5b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b60006121b0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166124da9092919063ffffffff16565b805190915015610c0c57808060200190518101906121ce91906130ab565b610c0c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c46565b600061223883611da3565b90508060008061225686600090815260066020526040902080549091565b9150915084156122965761226b818433611ba0565b612296576122798333610a6f565b61229657604051632ce44b5f60e11b815260040160405180910390fd5b80156122a157600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b8516900361232f5760018601600081815260046020526040812054900361232d57600054811461232d5760008181526004602052604090208590555b505b60405186906000906001600160a01b038616906000805160206131aa833981519152908390a45050600180548101905550505050565b600080600061237485856124e9565b915091506123818161252e565b509392505050565b6123938383612678565b6001600160a01b0383163b15610c0c576000548281035b6123bd60008683806001019450866123ef565b6123da576040516368d2bf6b60e11b815260040160405180910390fd5b8181106123aa57816000541461143b57600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906124249033908990889088906004016130fd565b6020604051808303816000875af192505050801561245f575060408051601f3d908101601f1916820190925261245c9181019061313a565b60015b6124bd573d80801561248d576040519150601f19603f3d011682016040523d82523d6000602084013e612492565b606091505b5080516000036124b5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606061152b8484600085612752565b600080825160410361251f5760208301516040840151606085015160001a6125138782858561282d565b94509450505050612527565b506000905060025b9250929050565b600081600481111561254257612542613157565b0361254a5750565b600181600481111561255e5761255e613157565b036125ab5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610c46565b60028160048111156125bf576125bf613157565b0361260c5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610c46565b600381600481111561262057612620613157565b03610e415760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610c46565b600080549082900361269d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083906000805160206131aa8339815191528180a4600183015b81811461272857808360006000805160206131aa833981519152600080a4600101612702565b508160000361274957604051622e076360e81b815260040160405180910390fd5b60005550505050565b6060824710156127b35760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610c46565b600080866001600160a01b031685876040516127cf919061316d565b60006040518083038185875af1925050503d806000811461280c576040519150601f19603f3d011682016040523d82523d6000602084013e612811565b606091505b5091509150612822878383876128f1565b979650505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561286457506000905060036128e8565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156128b8573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166128e1576000600192509250506128e8565b9150600090505b94509492505050565b60608315612960578251600003612959576001600160a01b0385163b6129595760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c46565b508161152b565b61152b83838151156129755781518083602001fd5b8060405162461bcd60e51b8152600401610c469190612a44565b6001600160e01b031981168114610e4157600080fd5b6000602082840312156129b757600080fd5b81356113e98161298f565b6001600160a01b0381168114610e4157600080fd5b6000602082840312156129e957600080fd5b81356113e9816129c2565b60005b83811015612a0f5781810151838201526020016129f7565b50506000910152565b60008151808452612a308160208601602086016129f4565b601f01601f19169290920160200192915050565b6020815260006113e96020830184612a18565b600060208284031215612a6957600080fd5b5035919050565b60008060408385031215612a8357600080fd5b8235612a8e816129c2565b946020939093013593505050565b600080600060608486031215612ab157600080fd5b8335612abc816129c2565b92506020840135612acc816129c2565b929592945050506040919091013590565b60008060408385031215612af057600080fd5b8235612afb816129c2565b91506020830135612b0b816129c2565b809150509250929050565b8015158114610e4157600080fd5b600060208284031215612b3657600080fd5b81356113e981612b16565b60008060008060608587031215612b5757600080fd5b8435612b62816129c2565b9350602085013567ffffffffffffffff80821115612b7f57600080fd5b818701915087601f830112612b9357600080fd5b813581811115612ba257600080fd5b886020828501011115612bb457600080fd5b95986020929092019750949560400135945092505050565b60008060408385031215612bdf57600080fd5b8235612bea816129c2565b91506020830135612b0b81612b16565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612c2b57612c2b612bfa565b604051601f8501601f19908116603f01168101908282118183101715612c5357612c53612bfa565b81604052809350858152868686011115612c6c57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612c9857600080fd5b813567ffffffffffffffff811115612caf57600080fd5b8201601f81018413612cc057600080fd5b61152b84823560208401612c10565b60008060008060808587031215612ce557600080fd5b8435612cf0816129c2565b93506020850135612d00816129c2565b925060408501359150606085013567ffffffffffffffff811115612d2357600080fd5b8501601f81018713612d3457600080fd5b612d4387823560208401612c10565b91505092959194509250565b600181811c90821680612d6357607f821691505b602082108103612d8357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610b1c57610b1c612e1a565b602080825260359082015260008051602061318a8339815191526040820152742070657220747820696e207468697320706861736560581b606082015260800190565b602080825260269082015260008051602061318a833981519152604082015265081d1bdd185b60d21b606082015260800190565b6020808252602f9082015260008051602061318a83398151915260408201526e20696e207468652070726573616c6560881b606082015260800190565b6020808252602b9082015260008051602061318a83398151915260408201526a081c195c8815d85b1b195d60aa1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b601f821115610c0c57600081815260208120601f850160051c81016020861015612f6d5750805b601f850160051c820191505b81811015611cd457828155600101612f79565b815167ffffffffffffffff811115612fa657612fa6612bfa565b612fba81612fb48454612d4f565b84612f46565b602080601f831160018114612fef5760008415612fd75750858301515b600019600386901b1c1916600185901b178555611cd4565b600085815260208120601f198616915b8281101561301e57888601518255948401946001909101908401612fff565b508582101561303c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561305e57600080fd5b5051919050565b600083516130778184602088016129f4565b83519083019061308b8183602088016129f4565b01949350505050565b8082028115828204841417610b1c57610b1c612e1a565b6000602082840312156130bd57600080fd5b81516113e981612b16565b6000826130e557634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610b1c57610b1c612e1a565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061313090830184612a18565b9695505050505050565b60006020828403121561314c57600080fd5b81516113e98161298f565b634e487b7160e01b600052602160045260246000fd5b6000825161317f8184602087016129f4565b919091019291505056fe507572636861736520776f756c6420657863656564206d617820746f6b656e73ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122076472baed17907b98e86dd593cca8a8dd3a274876d656ad099e7c60d83229e1664736f6c63430008110033

Deployed Bytecode

0x60806040526004361061036f5760003560e01c80638b83209b116101c6578063bd55cf0d116100f7578063d2d515cc11610095578063e4f20fb21161006f578063e4f20fb214610a41578063e985e9c514610a54578063efd0cbf914610a9d578063f2fde38b14610ab057600080fd5b8063d2d515cc146109d5578063d79779b2146109f6578063e33b7de314610a2c57600080fd5b8063c54e73e3116100d1578063c54e73e31461093f578063c87b56dd1461095f578063cc47a40b1461097f578063ce7c2ac21461099f57600080fd5b8063bd55cf0d146108de578063bdd87a66146108fe578063c45ac0501461091f57600080fd5b8063a3330d2511610164578063abcae5d51161013e578063abcae5d514610874578063afdf61341461088a578063b1a6676e146108aa578063b88d4fde146108cb57600080fd5b8063a3330d2514610813578063a3f8eace14610834578063a49a1e7d1461085457600080fd5b806395d89b41116101a057806395d89b4114610788578063964a65af1461079d5780639852595c146107bd578063a22cb465146107f357600080fd5b80638b83209b1461072a5780638da5cb5b1461074a57806391b7f5ed1461076857600080fd5b8063406072a9116102a05780636352211e1161023e578063715018a611610218578063715018a6146106cc5780637b47ec1a146106e1578063833b94991461070157806386c843151461071757600080fd5b80636352211e1461066c5780636c19e7831461068c57806370a08231146106ac57600080fd5b806348b750441161027a57806348b75044146105eb5780635ad1c1b51461060b5780635cbcec4e1461062b57806360d938dc1461064b57600080fd5b8063406072a91461057057806341f43434146105b657806342842e0e146105d857600080fd5b80631c0973a41161030d57806337beafe0116102e757806337beafe01461051e57806339371b251461053e5780633a98ef39146105535780633ccfd60b1461056857600080fd5b80631c0973a4146104d557806323b872dd146104f557806332cb6b0c1461050857600080fd5b8063081812fc11610349578063081812fc1461044f578063095ea7b31461048757806318160ddd1461049c57806319165587146104b557600080fd5b806301ffc9a7146103bd578063066589fb146103f257806306fdde031461042d57600080fd5b366103b8577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103c957600080fd5b506103dd6103d83660046129a5565b610ad0565b60405190151581526020015b60405180910390f35b3480156103fe57600080fd5b5061041f61040d3660046129d7565b601b6020526000908152604090205481565b6040519081526020016103e9565b34801561043957600080fd5b50610442610b22565b6040516103e99190612a44565b34801561045b57600080fd5b5061046f61046a366004612a57565b610bb4565b6040516001600160a01b0390911681526020016103e9565b61049a610495366004612a70565b610bf8565b005b3480156104a857600080fd5b506001546000540361041f565b3480156104c157600080fd5b5061049a6104d03660046129d7565b610c11565b3480156104e157600080fd5b5060115461046f906001600160a01b031681565b61049a610503366004612a9c565b610d01565b34801561051457600080fd5b5061041f60135481565b34801561052a57600080fd5b5061049a6105393660046129d7565b610d2c565b34801561054a57600080fd5b50610442610d56565b34801561055f57600080fd5b5060095461041f565b61049a610de4565b34801561057c57600080fd5b5061041f61058b366004612add565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b3480156105c257600080fd5b5061046f6daaeb6d7670e522a718067333cd4e81565b61049a6105e6366004612a9c565b610e44565b3480156105f757600080fd5b5061049a610606366004612add565b610e69565b34801561061757600080fd5b5061049a610626366004612b24565b610f7a565b34801561063757600080fd5b5061049a610646366004612b24565b610fa0565b34801561065757600080fd5b506010546103dd90600160b01b900460ff1681565b34801561067857600080fd5b5061046f610687366004612a57565b610fc6565b34801561069857600080fd5b5061049a6106a73660046129d7565b610fd1565b3480156106b857600080fd5b5061041f6106c73660046129d7565b610ffb565b3480156106d857600080fd5b5061049a61104a565b3480156106ed57600080fd5b5061049a6106fc366004612a57565b61105e565b34801561070d57600080fd5b5061041f60155481565b61049a610725366004612b41565b6110d8565b34801561073657600080fd5b5061046f610745366004612a57565b611322565b34801561075657600080fd5b506010546001600160a01b031661046f565b34801561077457600080fd5b5061049a610783366004612a57565b611352565b34801561079457600080fd5b5061044261135f565b3480156107a957600080fd5b5061049a6107b8366004612b24565b61136e565b3480156107c957600080fd5b5061041f6107d83660046129d7565b6001600160a01b03166000908152600c602052604090205490565b3480156107ff57600080fd5b5061049a61080e366004612bcc565b611394565b34801561081f57600080fd5b506010546103dd90600160a81b900460ff1681565b34801561084057600080fd5b5061041f61084f3660046129d7565b6113a8565b34801561086057600080fd5b5061049a61086f366004612c86565b6113f0565b34801561088057600080fd5b5061041f60145481565b34801561089657600080fd5b5061049a6108a5366004612a57565b611408565b3480156108b657600080fd5b506011546103dd90600160a01b900460ff1681565b61049a6108d9366004612ccf565b611415565b3480156108ea57600080fd5b5061049a6108f9366004612b24565b611442565b34801561090a57600080fd5b506011546103dd90600160a81b900460ff1681565b34801561092b57600080fd5b5061041f61093a366004612add565b611468565b34801561094b57600080fd5b5061049a61095a366004612b24565b611533565b34801561096b57600080fd5b5061044261097a366004612a57565b611559565b34801561098b57600080fd5b5061049a61099a366004612a70565b6115dc565b3480156109ab57600080fd5b5061041f6109ba3660046129d7565b6001600160a01b03166000908152600b602052604090205490565b3480156109e157600080fd5b506010546103dd90600160a01b900460ff1681565b348015610a0257600080fd5b5061041f610a113660046129d7565b6001600160a01b03166000908152600e602052604090205490565b348015610a3857600080fd5b50600a5461041f565b61049a610a4f366004612a70565b611618565b348015610a6057600080fd5b506103dd610a6f366004612add565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61049a610aab366004612a57565b61179d565b348015610abc57600080fd5b5061049a610acb3660046129d7565b6118d0565b60006301ffc9a760e01b6001600160e01b031983161480610b0157506380ac58cd60e01b6001600160e01b03198316145b80610b1c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610b3190612d4f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5d90612d4f565b8015610baa5780601f10610b7f57610100808354040283529160200191610baa565b820191906000526020600020905b815481529060010190602001808311610b8d57829003601f168201915b5050505050905090565b6000610bbf82611946565b610bdc576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610c028161196d565b610c0c8383611a26565b505050565b6001600160a01b0381166000908152600b6020526040902054610c4f5760405162461bcd60e51b8152600401610c4690612d89565b60405180910390fd5b6000610c5a826113a8565b905080600003610c7c5760405162461bcd60e51b8152600401610c4690612dcf565b80600a6000828254610c8e9190612e30565b90915550506001600160a01b0382166000908152600c60205260409020805482019055610cbb8282611a32565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b826001600160a01b0381163314610d1b57610d1b3361196d565b610d26848484611b4b565b50505050565b610d34611cdc565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b601a8054610d6390612d4f565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8f90612d4f565b8015610ddc5780601f10610db157610100808354040283529160200191610ddc565b820191906000526020600020905b815481529060010190602001808311610dbf57829003601f168201915b505050505081565b610dec611cdc565b604051600090339047908381818185875af1925050503d8060008114610e2e576040519150601f19603f3d011682016040523d82523d6000602084013e610e33565b606091505b5050905080610e4157600080fd5b50565b826001600160a01b0381163314610e5e57610e5e3361196d565b610d26848484611d36565b6001600160a01b0381166000908152600b6020526040902054610e9e5760405162461bcd60e51b8152600401610c4690612d89565b6000610eaa8383611468565b905080600003610ecc5760405162461bcd60e51b8152600401610c4690612dcf565b6001600160a01b0383166000908152600e602052604081208054839290610ef4908490612e30565b90915550506001600160a01b038084166000908152600f60209081526040808320938616835292905220805482019055610f2f838383611d51565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b610f82611cdc565b60108054911515600160a01b0260ff60a01b19909216919091179055565b610fa8611cdc565b60108054911515600160a81b0260ff60a81b19909216919091179055565b6000610b1c82611da3565b610fd9611cdc565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216611024576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b611052611cdc565b61105c6000611e24565b565b601154600160a01b900460ff1661107457600080fd5b601154600160a81b900460ff16156110bb576011546001600160a01b03163214806110a957506011546001600160a01b031633145b6110b257600080fd5b610e4181611e76565b336110c582610fc6565b6001600160a01b0316146110b257600080fd5b6110e0611e81565b60006110ef6001546000540390565b601054909150600160a01b900460ff1661110857600080fd5b60165482111561112a5760405162461bcd60e51b8152600401610c4690612e43565b6013546111378383612e30565b11156111555760405162461bcd60e51b8152600401610c4690612e86565b6014546111628383612e30565b11156111805760405162461bcd60e51b8152600401610c4690612eba565b336001600160a01b038616146111cb5760405162461bcd60e51b815260206004820152601060248201526f2737ba103cb7bab9103b37bab1b432b960811b6044820152606401610c46565b3332146111d757600080fd5b6016546001600160a01b0386166000908152601b60205260409020546111fe908490612e30565b111561121c5760405162461bcd60e51b8152600401610c4690612ef7565b6040516bffffffffffffffffffffffff19606087901b16602082015260009060340160408051601f198184030181528282528051602091820120601254601f890183900483028501830190935287845293506112a0926001600160a01b039092169184918990899081908401838280828437600092019190915250611eda92505050565b6112de5760405162461bcd60e51b815260206004820152600f60248201526e24b73b30b634b2103b37bab1b432b960891b6044820152606401610c46565b6112e88684611f59565b6001600160a01b0386166000908152601b602052604081208054859290611310908490612e30565b9091555050600160085550610d269050565b6000600d828154811061133757611337612f30565b6000918252602090912001546001600160a01b031692915050565b61135a611cdc565b601555565b606060038054610b3190612d4f565b611376611cdc565b60118054911515600160a81b0260ff60a81b19909216919091179055565b8161139e8161196d565b610c0c8383611f73565b6000806113b4600a5490565b6113be9047612e30565b90506113e983826113e4866001600160a01b03166000908152600c602052604090205490565b611fdf565b9392505050565b6113f8611cdc565b601a6114048282612f8c565b5050565b611410611cdc565b601655565b836001600160a01b038116331461142f5761142f3361196d565b61143b8585858561201d565b5050505050565b61144a611cdc565b60118054911515600160a01b0260ff60a01b19909216919091179055565b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa1580156114c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114eb919061304c565b6114f59190612e30565b6001600160a01b038086166000908152600f602090815260408083209388168352929052205490915061152b9084908390611fdf565b949350505050565b61153b611cdc565b60108054911515600160b01b0260ff60b01b19909216919091179055565b606061156482611946565b61158157604051630a14c4b560e41b815260040160405180910390fd5b600061158b612061565b905080516000036115ab57604051806020016040528060008152506113e9565b806115b584612070565b6040516020016115c6929190613065565b6040516020818303038152906040529392505050565b6115e4611cdc565b60006115f36001546000540390565b6013549091506116038383612e30565b111561160e57600080fd5b610c0c8383611f59565b611620611e81565b600061162f6001546000540390565b601054909150600160b01b900460ff1661164857600080fd5b60165482111561166a5760405162461bcd60e51b8152600401610c4690612e43565b6013546116778383612e30565b11156116955760405162461bcd60e51b8152600401610c4690612e86565b6014546116a28383612e30565b11156116c05760405162461bcd60e51b8152600401610c4690612eba565b336001600160a01b0384161461170b5760405162461bcd60e51b815260206004820152601060248201526f2737ba103cb7bab9103b37bab1b432b960811b6044820152606401610c46565b33321461171757600080fd5b6016546001600160a01b0384166000908152601b602052604090205461173e908490612e30565b111561175c5760405162461bcd60e51b8152600401610c4690612ef7565b6117668383611f59565b6001600160a01b0383166000908152601b60205260408120805484929061178e908490612e30565b90915550506001600855505050565b6117a5611e81565b60006117b46001546000540390565b601054909150600160a81b900460ff166117cd57600080fd5b6017548211156118275760405162461bcd60e51b8152602060048201526031602482015260008051602061318a8339815191526044820152702070657220747820696e207075626c696360781b6064820152608401610c46565b6013546118348383612e30565b11156118525760405162461bcd60e51b8152600401610c4690612e86565b816015546118609190613094565b3410156118af5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610c46565b3332146118bb57600080fd5b6118c53383611f59565b50610e416001600855565b6118d8611cdc565b6001600160a01b03811661193d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c46565b610e4181611e24565b6000805482108015610b1c575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610e4157604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156119da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fe91906130ab565b610e4157604051633b79c77360e21b81526001600160a01b0382166004820152602401610c46565b611404828260016120b4565b80471015611a825760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c46565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611acf576040519150601f19603f3d011682016040523d82523d6000602084013e611ad4565b606091505b5050905080610c0c5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c46565b6000611b5682611da3565b9050836001600160a01b0316816001600160a01b031614611b895760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054611bb58187335b6001600160a01b039081169116811491141790565b611be057611bc38633610a6f565b611be057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516611c0757604051633a954ecd60e21b815260040160405180910390fd5b8015611c1257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611ca457600184016000818152600460205260408120549003611ca2576000548114611ca25760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03166000805160206131aa83398151915260405160405180910390a45b505050505050565b6010546001600160a01b0316331461105c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c46565b610c0c83838360405180602001604052806000815250611415565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610c0c90849061215b565b60008181526004602052604081205490600160e01b82169003611e0b5780600003611e06576000548210611dea57604051636f96cda160e11b815260040160405180910390fd5b5b50600019016000818152600460205260409020548015611deb575b919050565b604051636f96cda160e11b815260040160405180910390fd5b601080546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e4181600061222d565b600260085403611ed35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c46565b6002600855565b6000611f3c611f36846040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b83612365565b6001600160a01b0316846001600160a01b03161490509392505050565b611404828260405180602001604052806000815250612389565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6009546001600160a01b0384166000908152600b6020526040812054909183916120099086613094565b61201391906130c8565b61152b91906130ea565b612028848484610d01565b6001600160a01b0383163b15610d2657612044848484846123ef565b610d26576040516368d2bf6b60e11b815260040160405180910390fd5b6060601a8054610b3190612d4f565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061208a5750819003601f19909101908152919050565b60006120bf83610fc6565b905081156120fe57336001600160a01b038216146120fe576120e18133610a6f565b6120fe576040516367d9dca160e11b815260040160405180910390fd5b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b60006121b0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166124da9092919063ffffffff16565b805190915015610c0c57808060200190518101906121ce91906130ab565b610c0c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c46565b600061223883611da3565b90508060008061225686600090815260066020526040902080549091565b9150915084156122965761226b818433611ba0565b612296576122798333610a6f565b61229657604051632ce44b5f60e11b815260040160405180910390fd5b80156122a157600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b8516900361232f5760018601600081815260046020526040812054900361232d57600054811461232d5760008181526004602052604090208590555b505b60405186906000906001600160a01b038616906000805160206131aa833981519152908390a45050600180548101905550505050565b600080600061237485856124e9565b915091506123818161252e565b509392505050565b6123938383612678565b6001600160a01b0383163b15610c0c576000548281035b6123bd60008683806001019450866123ef565b6123da576040516368d2bf6b60e11b815260040160405180910390fd5b8181106123aa57816000541461143b57600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906124249033908990889088906004016130fd565b6020604051808303816000875af192505050801561245f575060408051601f3d908101601f1916820190925261245c9181019061313a565b60015b6124bd573d80801561248d576040519150601f19603f3d011682016040523d82523d6000602084013e612492565b606091505b5080516000036124b5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606061152b8484600085612752565b600080825160410361251f5760208301516040840151606085015160001a6125138782858561282d565b94509450505050612527565b506000905060025b9250929050565b600081600481111561254257612542613157565b0361254a5750565b600181600481111561255e5761255e613157565b036125ab5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610c46565b60028160048111156125bf576125bf613157565b0361260c5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610c46565b600381600481111561262057612620613157565b03610e415760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610c46565b600080549082900361269d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083906000805160206131aa8339815191528180a4600183015b81811461272857808360006000805160206131aa833981519152600080a4600101612702565b508160000361274957604051622e076360e81b815260040160405180910390fd5b60005550505050565b6060824710156127b35760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610c46565b600080866001600160a01b031685876040516127cf919061316d565b60006040518083038185875af1925050503d806000811461280c576040519150601f19603f3d011682016040523d82523d6000602084013e612811565b606091505b5091509150612822878383876128f1565b979650505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561286457506000905060036128e8565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156128b8573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166128e1576000600192509250506128e8565b9150600090505b94509492505050565b60608315612960578251600003612959576001600160a01b0385163b6129595760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c46565b508161152b565b61152b83838151156129755781518083602001fd5b8060405162461bcd60e51b8152600401610c469190612a44565b6001600160e01b031981168114610e4157600080fd5b6000602082840312156129b757600080fd5b81356113e98161298f565b6001600160a01b0381168114610e4157600080fd5b6000602082840312156129e957600080fd5b81356113e9816129c2565b60005b83811015612a0f5781810151838201526020016129f7565b50506000910152565b60008151808452612a308160208601602086016129f4565b601f01601f19169290920160200192915050565b6020815260006113e96020830184612a18565b600060208284031215612a6957600080fd5b5035919050565b60008060408385031215612a8357600080fd5b8235612a8e816129c2565b946020939093013593505050565b600080600060608486031215612ab157600080fd5b8335612abc816129c2565b92506020840135612acc816129c2565b929592945050506040919091013590565b60008060408385031215612af057600080fd5b8235612afb816129c2565b91506020830135612b0b816129c2565b809150509250929050565b8015158114610e4157600080fd5b600060208284031215612b3657600080fd5b81356113e981612b16565b60008060008060608587031215612b5757600080fd5b8435612b62816129c2565b9350602085013567ffffffffffffffff80821115612b7f57600080fd5b818701915087601f830112612b9357600080fd5b813581811115612ba257600080fd5b886020828501011115612bb457600080fd5b95986020929092019750949560400135945092505050565b60008060408385031215612bdf57600080fd5b8235612bea816129c2565b91506020830135612b0b81612b16565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612c2b57612c2b612bfa565b604051601f8501601f19908116603f01168101908282118183101715612c5357612c53612bfa565b81604052809350858152868686011115612c6c57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612c9857600080fd5b813567ffffffffffffffff811115612caf57600080fd5b8201601f81018413612cc057600080fd5b61152b84823560208401612c10565b60008060008060808587031215612ce557600080fd5b8435612cf0816129c2565b93506020850135612d00816129c2565b925060408501359150606085013567ffffffffffffffff811115612d2357600080fd5b8501601f81018713612d3457600080fd5b612d4387823560208401612c10565b91505092959194509250565b600181811c90821680612d6357607f821691505b602082108103612d8357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610b1c57610b1c612e1a565b602080825260359082015260008051602061318a8339815191526040820152742070657220747820696e207468697320706861736560581b606082015260800190565b602080825260269082015260008051602061318a833981519152604082015265081d1bdd185b60d21b606082015260800190565b6020808252602f9082015260008051602061318a83398151915260408201526e20696e207468652070726573616c6560881b606082015260800190565b6020808252602b9082015260008051602061318a83398151915260408201526a081c195c8815d85b1b195d60aa1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b601f821115610c0c57600081815260208120601f850160051c81016020861015612f6d5750805b601f850160051c820191505b81811015611cd457828155600101612f79565b815167ffffffffffffffff811115612fa657612fa6612bfa565b612fba81612fb48454612d4f565b84612f46565b602080601f831160018114612fef5760008415612fd75750858301515b600019600386901b1c1916600185901b178555611cd4565b600085815260208120601f198616915b8281101561301e57888601518255948401946001909101908401612fff565b508582101561303c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561305e57600080fd5b5051919050565b600083516130778184602088016129f4565b83519083019061308b8183602088016129f4565b01949350505050565b8082028115828204841417610b1c57610b1c612e1a565b6000602082840312156130bd57600080fd5b81516113e981612b16565b6000826130e557634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610b1c57610b1c612e1a565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061313090830184612a18565b9695505050505050565b60006020828403121561314c57600080fd5b81516113e98161298f565b634e487b7160e01b600052602160045260246000fd5b6000825161317f8184602087016129f4565b919091019291505056fe507572636861736520776f756c6420657863656564206d617820746f6b656e73ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122076472baed17907b98e86dd593cca8a8dd3a274876d656ad099e7c60d83229e1664736f6c63430008110033

Deployed Bytecode Sourcemap

116632:7755:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55552:40;30177:10;55552:40;;;-1:-1:-1;;;;;206:32:1;;;188:51;;55582:9:0;270:2:1;255:18;;248:34;161:18;55552:40:0;;;;;;;116632:7755;;;;;82332:639;;;;;;;;;;-1:-1:-1;82332:639:0;;;;;:::i;:::-;;:::i;:::-;;;844:14:1;;837:22;819:41;;807:2;792:18;82332:639:0;;;;;;;;118105:53;;;;;;;;;;-1:-1:-1;118105:53:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;1405:25:1;;;1393:2;1378:18;118105:53:0;1259:177:1;83234:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;89634:218::-;;;;;;;;;;-1:-1:-1;89634:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2546:32:1;;;2528:51;;2516:2;2501:18;89634:218:0;2382:203:1;123610:163:0;;;;;;:::i;:::-;;:::i;:::-;;78985:323;;;;;;;;;;-1:-1:-1;79259:12:0;;79046:7;79243:13;:28;78985:323;;58073:671;;;;;;;;;;-1:-1:-1;58073:671:0;;;;;:::i;:::-;;:::i;116959:27::-;;;;;;;;;;-1:-1:-1;116959:27:0;;;;-1:-1:-1;;;;;116959:27:0;;;123781:169;;;;;;:::i;:::-;;:::i;117221:32::-;;;;;;;;;;;;;;;;122456:104;;;;;;;;;;-1:-1:-1;122456:104:0;;;;;:::i;:::-;;:::i;118025:23::-;;;;;;;;;;;;;:::i;55683:91::-;;;;;;;;;;-1:-1:-1;55754:12:0;;55683:91;;123232:188;;;:::i;56812:135::-;;;;;;;;;;-1:-1:-1;56812:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;56909:21:0;;;56882:7;56909:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;56812:135;2960:143;;;;;;;;;;;;3060:42;2960:143;;123958:177;;;;;;:::i;:::-;;:::i;59012:792::-;;;;;;;;;;-1:-1:-1;59012:792:0;;;;;:::i;:::-;;:::i;121896:99::-;;;;;;;;;;-1:-1:-1;121896:99:0;;;;;:::i;:::-;;:::i;122177:93::-;;;;;;;;;;-1:-1:-1;122177:93:0;;;;;:::i;:::-;;:::i;116866:35::-;;;;;;;;;;-1:-1:-1;116866:35:0;;;;-1:-1:-1;;;116866:35:0;;;;;;84627:152;;;;;;;;;;-1:-1:-1;84627:152:0;;;;;:::i;:::-;;:::i;121629:88::-;;;;;;;;;;-1:-1:-1;121629:88:0;;;;;:::i;:::-;;:::i;80169:233::-;;;;;;;;;;-1:-1:-1;80169:233:0;;;;;:::i;:::-;;:::i;32194:103::-;;;;;;;;;;;;;:::i;121016:318::-;;;;;;;;;;-1:-1:-1;121016:318:0;;;;;:::i;:::-;;:::i;117305:43::-;;;;;;;;;;;;;;;;118292:1003;;;;;;:::i;:::-;;:::i;57038:100::-;;;;;;;;;;-1:-1:-1;57038:100:0;;;;;:::i;:::-;;:::i;31546:87::-;;;;;;;;;;-1:-1:-1;31619:6:0;;-1:-1:-1;;;;;31619:6:0;31546:87;;121751:100;;;;;;;;;;-1:-1:-1;121751:100:0;;;;;:::i;:::-;;:::i;83410:104::-;;;;;;;;;;;;;:::i;122626:99::-;;;;;;;;;;-1:-1:-1;122626:99:0;;;;;:::i;:::-;;:::i;56534:109::-;;;;;;;;;;-1:-1:-1;56534:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;56617:18:0;56590:7;56617:18;;;:9;:18;;;;;;;56534:109;123428:174;;;;;;;;;;-1:-1:-1;123428:174:0;;;;;:::i;:::-;;:::i;116826:34::-;;;;;;;;;;-1:-1:-1;116826:34:0;;;;-1:-1:-1;;;116826:34:0;;;;;;57228:225;;;;;;;;;;-1:-1:-1;57228:225:0;;;;;:::i;:::-;;:::i;122926:103::-;;;;;;;;;;-1:-1:-1;122926:103:0;;;;;:::i;:::-;;:::i;117259:40::-;;;;;;;;;;;;;;;;122776:108;;;;;;;;;;-1:-1:-1;122776:108:0;;;;;:::i;:::-;;:::i;116992:32::-;;;;;;;;;;-1:-1:-1;116992:32:0;;;;-1:-1:-1;;;116992:32:0;;;;;;124143:238;;;;;;:::i;:::-;;:::i;122310:89::-;;;;;;;;;;-1:-1:-1;122310:89:0;;;;;:::i;:::-;;:::i;117030:33::-;;;;;;;;;;-1:-1:-1;117030:33:0;;;;-1:-1:-1;;;117030:33:0;;;;;;57613:260;;;;;;;;;;-1:-1:-1;57613:260:0;;;;;:::i;:::-;;:::i;122039:95::-;;;;;;;;;;-1:-1:-1;122039:95:0;;;;;:::i;:::-;;:::i;83620:318::-;;;;;;;;;;-1:-1:-1;83620:318:0;;;;;:::i;:::-;;:::i;120763:202::-;;;;;;;;;;-1:-1:-1;120763:202:0;;;;;:::i;:::-;;:::i;56330:105::-;;;;;;;;;;-1:-1:-1;56330:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;56411:16:0;56384:7;56411:16;;;:7;:16;;;;;;;56330:105;116783:37;;;;;;;;;;-1:-1:-1;116783:37:0;;;;-1:-1:-1;;;116783:37:0;;;;;;56120:119;;;;;;;;;;-1:-1:-1;56120:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;56205:26:0;56178:7;56205:26;;;:19;:26;;;;;;;56120:119;55868:95;;;;;;;;;;-1:-1:-1;55941:14:0;;55868:95;;119331:809;;;;;;:::i;:::-;;:::i;90583:164::-;;;;;;;;;;-1:-1:-1;90583:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;90704:25:0;;;90680:4;90704:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;90583:164;120178:530;;;;;;:::i;:::-;;:::i;32452:201::-;;;;;;;;;;-1:-1:-1;32452:201:0;;;;;:::i;:::-;;:::i;82332:639::-;82417:4;-1:-1:-1;;;;;;;;;82741:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;82818:25:0;;;82741:102;:179;;;-1:-1:-1;;;;;;;;;;82895:25:0;;;82741:179;82721:199;82332:639;-1:-1:-1;;82332:639:0:o;83234:100::-;83288:13;83321:5;83314:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83234:100;:::o;89634:218::-;89710:7;89735:16;89743:7;89735;:16::i;:::-;89730:64;;89760:34;;-1:-1:-1;;;89760:34:0;;;;;;;;;;;89730:64;-1:-1:-1;89814:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;89814:30:0;;89634:218::o;123610:163::-;123714:8;4481:30;4502:8;4481:20;:30::i;:::-;123734:32:::1;123748:8;123758:7;123734:13;:32::i;:::-;123610:163:::0;;;:::o;58073:671::-;-1:-1:-1;;;;;58149:16:0;;58168:1;58149:16;;;:7;:16;;;;;;58141:71;;;;-1:-1:-1;;;58141:71:0;;;;;;;:::i;:::-;;;;;;;;;58225:15;58243:19;58254:7;58243:10;:19::i;:::-;58225:37;;58283:7;58294:1;58283:12;58275:68;;;;-1:-1:-1;;;58275:68:0;;;;;;;:::i;:::-;58556:7;58538:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;58599:18:0;;;;;;:9;:18;;;;;:29;;;;;;58652:35;58609:7;58621;58652:17;:35::i;:::-;58703:33;;;-1:-1:-1;;;;;206:32:1;;188:51;;270:2;255:18;;248:34;;;58703:33:0;;161:18:1;58703:33:0;;;;;;;58130:614;58073:671;:::o;123781:169::-;123890:4;-1:-1:-1;;;;;4301:18:0;;4309:10;4301:18;4297:83;;4336:32;4357:10;4336:20;:32::i;:::-;123906:37:::1;123925:4;123931:2;123935:7;123906:18;:37::i;:::-;123781:169:::0;;;;:::o;122456:104::-;31432:13;:11;:13::i;:::-;122529:12:::1;:24:::0;;-1:-1:-1;;;;;;122529:24:0::1;-1:-1:-1::0;;;;;122529:24:0;;;::::1;::::0;;;::::1;::::0;;122456:104::o;118025:23::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;123232:188::-;31432:13;:11;:13::i;:::-;123306:81:::1;::::0;123288:12:::1;::::0;123314:10:::1;::::0;123352:21:::1;::::0;123288:12;123306:81;123288:12;123306:81;123352:21;123314:10;123306:81:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;123287:100;;;123405:7;123397:16;;;::::0;::::1;;123277:143;123232:188::o:0;123958:177::-;124071:4;-1:-1:-1;;;;;4301:18:0;;4309:10;4301:18;4297:83;;4336:32;4357:10;4336:20;:32::i;:::-;124087:41:::1;124110:4;124116:2;124120:7;124087:22;:41::i;59012:792::-:0;-1:-1:-1;;;;;59094:16:0;;59113:1;59094:16;;;:7;:16;;;;;;59086:71;;;;-1:-1:-1;;;59086:71:0;;;;;;;:::i;:::-;59170:15;59188:26;59199:5;59206:7;59188:10;:26::i;:::-;59170:44;;59235:7;59246:1;59235:12;59227:68;;;;-1:-1:-1;;;59227:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;59550:26:0;;;;;;:19;:26;;;;;:37;;59580:7;;59550:26;:37;;59580:7;;59550:37;:::i;:::-;;;;-1:-1:-1;;;;;;;59623:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;:41;;;;;;59688:47;59638:5;59645:7;59657;59688:22;:47::i;:::-;59751:45;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;59751:45:0;;;;;161:18:1;59751:45:0;;;;;;;59075:729;59012:792;;:::o;121896:99::-;31432:13;:11;:13::i;:::-;121961:17:::1;:27:::0;;;::::1;;-1:-1:-1::0;;;121961:27:0::1;-1:-1:-1::0;;;;121961:27:0;;::::1;::::0;;;::::1;::::0;;121896:99::o;122177:93::-;31432:13;:11;:13::i;:::-;122239:14:::1;:24:::0;;;::::1;;-1:-1:-1::0;;;122239:24:0::1;-1:-1:-1::0;;;;122239:24:0;;::::1;::::0;;;::::1;::::0;;122177:93::o;84627:152::-;84699:7;84742:27;84761:7;84742:18;:27::i;121629:88::-;31432:13;:11;:13::i;:::-;121694:6:::1;:16:::0;;-1:-1:-1;;;;;;121694:16:0::1;-1:-1:-1::0;;;;;121694:16:0;;;::::1;::::0;;;::::1;::::0;;121629:88::o;80169:233::-;80241:7;-1:-1:-1;;;;;80265:19:0;;80261:60;;80293:28;;-1:-1:-1;;;80293:28:0;;;;;;;;;;;80261:60;-1:-1:-1;;;;;;80339:25:0;;;;;:18;:25;;;;;;74328:13;80339:55;;80169:233::o;32194:103::-;31432:13;:11;:13::i;:::-;32259:30:::1;32286:1;32259:18;:30::i;:::-;32194:103::o:0;121016:318::-;121077:12;;-1:-1:-1;;;121077:12:0;;;;121069:21;;;;;;121104:13;;-1:-1:-1;;;121104:13:0;;;;121100:228;;;121154:12;;-1:-1:-1;;;;;121154:12:0;121141:9;:25;;:55;;-1:-1:-1;121184:12:0;;-1:-1:-1;;;;;121184:12:0;121170:10;:26;121141:55;121133:64;;;;;;121211:12;121217:5;121211;:12::i;121100:228::-;121280:10;121262:14;121270:5;121262:7;:14::i;:::-;-1:-1:-1;;;;;121262:28:0;;121254:37;;;;;118292:1003;63247:21;:19;:21::i;:::-;118420:10:::1;118433:13;79259:12:::0;;79046:7;79243:13;:28;;78985:323;118433:13:::1;118464:17;::::0;118420:26;;-1:-1:-1;;;;118464:17:0;::::1;;;118456:26;;;::::0;::::1;;118516:16;;118500:12;:32;;118492:98;;;;-1:-1:-1::0;;;118492:98:0::1;;;;;;;:::i;:::-;118629:10;::::0;118608:17:::1;118613:12:::0;118608:2;:17:::1;:::i;:::-;:31;;118600:82;;;;-1:-1:-1::0;;;118600:82:0::1;;;;;;;:::i;:::-;118721:18;::::0;118700:17:::1;118705:12:::0;118700:2;:17:::1;:::i;:::-;:39;;118692:99;;;;-1:-1:-1::0;;;118692:99:0::1;;;;;;;:::i;:::-;118809:10;-1:-1:-1::0;;;;;118809:22:0;::::1;;118801:51;;;::::0;-1:-1:-1;;;118801:51:0;;11928:2:1;118801:51:0::1;::::0;::::1;11910:21:1::0;11967:2;11947:18;;;11940:30;-1:-1:-1;;;11986:18:1;;;11979:46;12042:18;;118801:51:0::1;11726:340:1::0;118801:51:0::1;118870:10;118884:9;118870:23;118862:32;;;::::0;::::1;;118959:16;::::0;-1:-1:-1;;;;;118912:28:0;::::1;;::::0;;;:18:::1;:28;::::0;;;;;:43:::1;::::0;118943:12;;118912:43:::1;:::i;:::-;:63;;118904:119;;;;-1:-1:-1::0;;;118904:119:0::1;;;;;;;:::i;:::-;119074:26;::::0;-1:-1:-1;;12632:2:1;12628:15;;;12624:53;119074:26:0::1;::::0;::::1;12612:66:1::0;119036:12:0::1;::::0;12694::1;;119074:26:0::1;::::0;;-1:-1:-1;;119074:26:0;;::::1;::::0;;;;;;119051:59;;119074:26:::1;119051:59:::0;;::::1;::::0;119145:6:::1;::::0;119128:40:::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;;119051:59;-1:-1:-1;119128:40:0::1;::::0;-1:-1:-1;;;;;119145:6:0;;::::1;::::0;119051:59;;119159:8;;;;;;119128:40;::::1;119159:8:::0;;;;119128:40;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;119128:16:0::1;::::0;-1:-1:-1;;;119128:40:0:i:1;:::-;119120:68;;;::::0;-1:-1:-1;;;119120:68:0;;12919:2:1;119120:68:0::1;::::0;::::1;12901:21:1::0;12958:2;12938:18;;;12931:30;-1:-1:-1;;;12977:18:1;;;12970:45;13032:18;;119120:68:0::1;12717:339:1::0;119120:68:0::1;119201:33;119211:8;119221:12;119201:9;:33::i;:::-;-1:-1:-1::0;;;;;119244:28:0;::::1;;::::0;;;:18:::1;:28;::::0;;;;:44;;119276:12;;119244:28;:44:::1;::::0;119276:12;;119244:44:::1;:::i;:::-;::::0;;;-1:-1:-1;;62685:1:0;63811:7;:22;-1:-1:-1;63291:20:0;;-1:-1:-1;63628:213:0;57038:100;57089:7;57116;57124:5;57116:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;57116:14:0;;57038:100;-1:-1:-1;;57038:100:0:o;121751:::-;31432:13;:11;:13::i;:::-;121817:15:::1;:27:::0;121751:100::o;83410:104::-;83466:13;83499:7;83492:14;;;;;:::i;122626:99::-;31432:13;:11;:13::i;:::-;122695::::1;:23:::0;;;::::1;;-1:-1:-1::0;;;122695:23:0::1;-1:-1:-1::0;;;;122695:23:0;;::::1;::::0;;;::::1;::::0;;122626:99::o;123428:174::-;123532:8;4481:30;4502:8;4481:20;:30::i;:::-;123552:43:::1;123576:8;123586;123552:23;:43::i;57228:225::-:0;57286:7;57306:21;57354:15;55941:14;;;55868:95;57354:15;57330:39;;:21;:39;:::i;:::-;57306:63;;57387:58;57403:7;57412:13;57427:17;57436:7;-1:-1:-1;;;;;56617:18:0;56590:7;56617:18;;;:9;:18;;;;;;;56534:109;57427:17;57387:15;:58::i;:::-;57380:65;57228:225;-1:-1:-1;;;57228:225:0:o;122926:103::-;31432:13;:11;:13::i;:::-;123001:9:::1;:21;123013:9:::0;123001;:21:::1;:::i;:::-;;122926:103:::0;:::o;122776:108::-;31432:13;:11;:13::i;:::-;122851:16:::1;:26:::0;122776:108::o;124143:238::-;124307:4;-1:-1:-1;;;;;4301:18:0;;4309:10;4301:18;4297:83;;4336:32;4357:10;4336:20;:32::i;:::-;124327:47:::1;124350:4;124356:2;124360:7;124369:4;124327:22;:47::i;:::-;124143:238:::0;;;;;:::o;122310:89::-;31432:13;:11;:13::i;:::-;122370:12:::1;:22:::0;;;::::1;;-1:-1:-1::0;;;122370:22:0::1;-1:-1:-1::0;;;;122370:22:0;;::::1;::::0;;;::::1;::::0;;122310:89::o;57613:260::-;-1:-1:-1;;;;;56205:26:0;;57685:7;56205:26;;;:19;:26;;;;;;57685:7;;57729:30;;-1:-1:-1;;;57729:30:0;;57753:4;57729:30;;;2528:51:1;-1:-1:-1;;;;;57729:15:0;;;;;2501:18:1;;57729:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;56909:21:0;;;56882:7;56909:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;57705:77;;-1:-1:-1;57800:65:0;;57816:7;;57705:77;;57387:15;:58::i;57800:65::-;57793:72;57613:260;-1:-1:-1;;;;57613:260:0:o;122039:95::-;31432:13;:11;:13::i;:::-;122102:15:::1;:25:::0;;;::::1;;-1:-1:-1::0;;;122102:25:0::1;-1:-1:-1::0;;;;122102:25:0;;::::1;::::0;;;::::1;::::0;;122039:95::o;83620:318::-;83693:13;83724:16;83732:7;83724;:16::i;:::-;83719:59;;83749:29;;-1:-1:-1;;;83749:29:0;;;;;;;;;;;83719:59;83791:21;83815:10;:8;:10::i;:::-;83791:34;;83849:7;83843:21;83868:1;83843:26;:87;;;;;;;;;;;;;;;;;83896:7;83905:18;83915:7;83905:9;:18::i;:::-;83879:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;83836:94;83620:318;-1:-1:-1;;;83620:318:0:o;120763:202::-;31432:13;:11;:13::i;:::-;120843:10:::1;120856:13;79259:12:::0;;79046:7;79243:13;:28;;78985:323;120856:13:::1;120908:10;::::0;120843:26;;-1:-1:-1;120887:17:0::1;120892:12:::0;120843:26;120887:17:::1;:::i;:::-;:31;;120879:40;;;::::0;::::1;;120929:29;120939:4;120945:12;120929:9;:29::i;119331:809::-:0;63247:21;:19;:21::i;:::-;119432:10:::1;119445:13;79259:12:::0;;79046:7;79243:13;:28;;78985:323;119445:13:::1;119476:15;::::0;119432:26;;-1:-1:-1;;;;119476:15:0;::::1;;;119468:24;;;::::0;::::1;;119526:16;;119510:12;:32;;119502:98;;;;-1:-1:-1::0;;;119502:98:0::1;;;;;;;:::i;:::-;119639:10;::::0;119618:17:::1;119623:12:::0;119618:2;:17:::1;:::i;:::-;:31;;119610:82;;;;-1:-1:-1::0;;;119610:82:0::1;;;;;;;:::i;:::-;119731:18;::::0;119710:17:::1;119715:12:::0;119710:2;:17:::1;:::i;:::-;:39;;119702:99;;;;-1:-1:-1::0;;;119702:99:0::1;;;;;;;:::i;:::-;119819:10;-1:-1:-1::0;;;;;119819:22:0;::::1;;119811:51;;;::::0;-1:-1:-1;;;119811:51:0;;11928:2:1;119811:51:0::1;::::0;::::1;11910:21:1::0;11967:2;11947:18;;;11940:30;-1:-1:-1;;;11986:18:1;;;11979:46;12042:18;;119811:51:0::1;11726:340:1::0;119811:51:0::1;119880:10;119894:9;119880:23;119872:32;;;::::0;::::1;;119969:16;::::0;-1:-1:-1;;;;;119922:28:0;::::1;;::::0;;;:18:::1;:28;::::0;;;;;:43:::1;::::0;119953:12;;119922:43:::1;:::i;:::-;:63;;119914:119;;;;-1:-1:-1::0;;;119914:119:0::1;;;;;;;:::i;:::-;120046:33;120056:8;120066:12;120046:9;:33::i;:::-;-1:-1:-1::0;;;;;120089:28:0;::::1;;::::0;;;:18:::1;:28;::::0;;;;:44;;120121:12;;120089:28;:44:::1;::::0;120121:12;;120089:44:::1;:::i;:::-;::::0;;;-1:-1:-1;;62685:1:0;63811:7;:22;-1:-1:-1;123001:21:0::1;122926:103:::0;:::o;120178:530::-;63247:21;:19;:21::i;:::-;120260:10:::1;120273:13;79259:12:::0;;79046:7;79243:13;:28;;78985:323;120273:13:::1;120304:14;::::0;120260:26;;-1:-1:-1;;;;120304:14:0;::::1;;;120296:23;;;::::0;::::1;;120353:18;;120337:12;:34;;120329:96;;;::::0;-1:-1:-1;;;120329:96:0;;16289:2:1;120329:96:0::1;::::0;::::1;16271:21:1::0;16328:2;16308:18;;;16301:30;-1:-1:-1;;;;;;;;;;;16347:18:1;;;16340:62;-1:-1:-1;;;16418:18:1;;;16411:47;16475:19;;120329:96:0::1;16087:413:1::0;120329:96:0::1;120464:10;::::0;120443:17:::1;120448:12:::0;120443:2;:17:::1;:::i;:::-;:31;;120435:82;;;;-1:-1:-1::0;;;120435:82:0::1;;;;;;;:::i;:::-;120566:12;120548:15;;:30;;;;:::i;:::-;120535:9;:43;;120527:87;;;::::0;-1:-1:-1;;;120527:87:0;;16880:2:1;120527:87:0::1;::::0;::::1;16862:21:1::0;16919:2;16899:18;;;16892:30;16958:33;16938:18;;;16931:61;17009:18;;120527:87:0::1;16678:355:1::0;120527:87:0::1;120632:10;120646:9;120632:23;120624:32;;;::::0;::::1;;120666:35;120676:10;120688:12;120666:9;:35::i;:::-;120250:458;63291:20:::0;62685:1;63811:7;:22;63628:213;32452:201;31432:13;:11;:13::i;:::-;-1:-1:-1;;;;;32541:22:0;::::1;32533:73;;;::::0;-1:-1:-1;;;32533:73:0;;17240:2:1;32533:73:0::1;::::0;::::1;17222:21:1::0;17279:2;17259:18;;;17252:30;17318:34;17298:18;;;17291:62;-1:-1:-1;;;17369:18:1;;;17362:36;17415:19;;32533:73:0::1;17038:402:1::0;32533:73:0::1;32617:28;32636:8;32617:18;:28::i;91005:282::-:0;91070:4;91160:13;;91150:7;:23;91107:153;;;;-1:-1:-1;;91211:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;91211:44:0;:49;;91005:282::o;4539:419::-;3060:42;4730:45;:49;4726:225;;4801:67;;-1:-1:-1;;;4801:67:0;;4852:4;4801:67;;;17657:34:1;-1:-1:-1;;;;;17727:15:1;;17707:18;;;17700:43;3060:42:0;;4801;;17592:18:1;;4801:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4796:144;;4896:28;;-1:-1:-1;;;4896:28:0;;-1:-1:-1;;;;;2546:32:1;;4896:28:0;;;2528:51:1;2501:18;;4896:28:0;2382:203:1;89351:124:0;89440:27;89449:2;89453:7;89462:4;89440:8;:27::i;35505:317::-;35620:6;35595:21;:31;;35587:73;;;;-1:-1:-1;;;35587:73:0;;18206:2:1;35587:73:0;;;18188:21:1;18245:2;18225:18;;;18218:30;18284:31;18264:18;;;18257:59;18333:18;;35587:73:0;18004:353:1;35587:73:0;35674:12;35692:9;-1:-1:-1;;;;;35692:14:0;35714:6;35692:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35673:52;;;35744:7;35736:78;;;;-1:-1:-1;;;35736:78:0;;18564:2:1;35736:78:0;;;18546:21:1;18603:2;18583:18;;;18576:30;18642:34;18622:18;;;18615:62;18713:28;18693:18;;;18686:56;18759:19;;35736:78:0;18362:422:1;93273:2825:0;93415:27;93445;93464:7;93445:18;:27::i;:::-;93415:57;;93530:4;-1:-1:-1;;;;;93489:45:0;93505:19;-1:-1:-1;;;;;93489:45:0;;93485:86;;93543:28;;-1:-1:-1;;;93543:28:0;;;;;;;;;;;93485:86;93585:27;92381:24;;;:15;:24;;;;;92609:26;;93776:68;92609:26;93818:4;30177:10;93824:19;-1:-1:-1;;;;;91855:32:0;;;91699:28;;91984:20;;92006:30;;91981:56;;91396:659;93776:68;93771:180;;93864:43;93881:4;30177:10;90583:164;:::i;93864:43::-;93859:92;;93916:35;;-1:-1:-1;;;93916:35:0;;;;;;;;;;;93859:92;-1:-1:-1;;;;;93968:16:0;;93964:52;;93993:23;;-1:-1:-1;;;93993:23:0;;;;;;;;;;;93964:52;94165:15;94162:160;;;94305:1;94284:19;94277:30;94162:160;-1:-1:-1;;;;;94702:24:0;;;;;;;:18;:24;;;;;;94700:26;;-1:-1:-1;;94700:26:0;;;94771:22;;;;;;;;;94769:24;;-1:-1:-1;94769:24:0;;;88453:11;88428:23;88424:41;88411:63;-1:-1:-1;;;88411:63:0;95064:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;95359:47:0;;:52;;95355:627;;95464:1;95454:11;;95432:19;95587:30;;;:17;:30;;;;;;:35;;95583:384;;95725:13;;95710:11;:28;95706:242;;95872:30;;;;:17;:30;;;;;:52;;;95706:242;95413:569;95355:627;96029:7;96025:2;-1:-1:-1;;;;;96010:27:0;96019:4;-1:-1:-1;;;;;96010:27:0;-1:-1:-1;;;;;;;;;;;96010:27:0;;;;;;;;;96048:42;93404:2694;;;93273:2825;;;:::o;31711:132::-;31619:6;;-1:-1:-1;;;;;31619:6:0;30177:10;31775:23;31767:68;;;;-1:-1:-1;;;31767:68:0;;18991:2:1;31767:68:0;;;18973:21:1;;;19010:18;;;19003:30;19069:34;19049:18;;;19042:62;19121:18;;31767:68:0;18789:356:1;96194:193:0;96340:39;96357:4;96363:2;96367:7;96340:39;;;;;;;;;;;;:16;:39::i;48397:211::-;48541:58;;;-1:-1:-1;;;;;206:32:1;;48541:58:0;;;188:51:1;255:18;;;;248:34;;;48541:58:0;;;;;;;;;;161:18:1;;;;48541:58:0;;;;;;;;-1:-1:-1;;;;;48541:58:0;-1:-1:-1;;;48541:58:0;;;48514:86;;48534:5;;48514:19;:86::i;85782:1712::-;85932:26;;;;:17;:26;;;;;;;-1:-1:-1;;;86008:24:0;;:29;;86004:1423;;86147:6;86157:1;86147:11;86143:981;;86198:13;;86187:7;:24;86183:68;;86220:31;;-1:-1:-1;;;86220:31:0;;;;;;;;;;;86183:68;86848:257;-1:-1:-1;;;86952:9:0;86934:28;;;;:17;:28;;;;;;87016:25;;86848:257;87016:25;;85782:1712;;;:::o;86004:1423::-;87455:31;;-1:-1:-1;;;87455:31:0;;;;;;;;;;;32813:191;32906:6;;;-1:-1:-1;;;;;32923:17:0;;;-1:-1:-1;;;;;;32923:17:0;;;;;;;32956:40;;32906:6;;;32923:17;32906:6;;32956:40;;32887:16;;32956:40;32876:128;32813:191;:::o;108822:89::-;108882:21;108888:7;108897:5;108882;:21::i;63327:293::-;62729:1;63461:7;;:19;63453:63;;;;-1:-1:-1;;;63453:63:0;;19352:2:1;63453:63:0;;;19334:21:1;19391:2;19371:18;;;19364:30;19430:33;19410:18;;;19403:61;19481:18;;63453:63:0;19150:355:1;63453:63:0;62729:1;63594:7;:18;63327:293::o;121373:207::-;121477:4;121511:62;121525:35;121554:5;28305:58;;20518:66:1;28305:58:0;;;20506:79:1;20601:12;;;20594:28;;;28172:7:0;;20638:12:1;;28305:58:0;;;;;;;;;;;;28295:69;;;;;;28288:76;;28103:269;;;;121525:35;121562:10;121511:13;:62::i;:::-;-1:-1:-1;;;;;121500:73:0;:7;-1:-1:-1;;;;;121500:73:0;;121493:80;;121373:207;;;;;:::o;107145:112::-;107222:27;107232:2;107236:8;107222:27;;;;;;;;;;;;:9;:27::i;90192:234::-;30177:10;90287:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;90287:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;90287:60:0;;;;;;;;;;90363:55;;819:41:1;;;90287:49:0;;30177:10;90363:55;;792:18:1;90363:55:0;;;;;;;90192:234;;:::o;59982:248::-;60192:12;;-1:-1:-1;;;;;60172:16:0;;60128:7;60172:16;;;:7;:16;;;;;;60128:7;;60207:15;;60156:32;;:13;:32;:::i;:::-;60155:49;;;;:::i;:::-;:67;;;;:::i;96985:407::-;97160:31;97173:4;97179:2;97183:7;97160:12;:31::i;:::-;-1:-1:-1;;;;;97206:14:0;;;:19;97202:183;;97245:56;97276:4;97282:2;97286:7;97295:5;97245:30;:56::i;:::-;97240:145;;97329:40;;-1:-1:-1;;;97329:40:0;;;;;;;;;;;123067:107;123126:13;123158:9;123151:16;;;;;:::i;114818:1745::-;114883:17;115317:4;115310;115304:11;115300:22;115409:1;115403:4;115396:15;115484:4;115481:1;115477:12;115470:19;;;115566:1;115561:3;115554:14;115670:3;115909:5;115891:428;115957:1;115952:3;115948:11;115941:18;;116128:2;116122:4;116118:13;116114:2;116110:22;116105:3;116097:36;116222:2;116212:13;;116279:25;115891:428;116279:25;-1:-1:-1;116349:13:0;;;-1:-1:-1;;116464:14:0;;;116526:19;;;116464:14;114818:1745;-1:-1:-1;114818:1745:0:o;108063:492::-;108192:13;108208:16;108216:7;108208;:16::i;:::-;108192:32;;108241:13;108237:219;;;30177:10;-1:-1:-1;;;;;108273:28:0;;;108269:187;;108325:44;108342:5;30177:10;90583:164;:::i;108325:44::-;108320:136;;108401:35;;-1:-1:-1;;;108401:35:0;;;;;;;;;;;108320:136;108468:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;108468:35:0;-1:-1:-1;;;;;108468:35:0;;;;;;;;;108519:28;;108468:24;;108519:28;;;;;;;108181:374;108063:492;;;:::o;51464:716::-;51888:23;51914:69;51942:4;51914:69;;;;;;;;;;;;;;;;;51922:5;-1:-1:-1;;;;;51914:27:0;;;:69;;;;;:::i;:::-;51998:17;;51888:95;;-1:-1:-1;51998:21:0;51994:179;;52095:10;52084:30;;;;;;;;;;;;:::i;:::-;52076:85;;;;-1:-1:-1;;;52076:85:0;;20067:2:1;52076:85:0;;;20049:21:1;20106:2;20086:18;;;20079:30;20145:34;20125:18;;;20118:62;-1:-1:-1;;;20196:18:1;;;20189:40;20246:19;;52076:85:0;19865:406:1;109140:3081:0;109220:27;109250;109269:7;109250:18;:27::i;:::-;109220:57;-1:-1:-1;109220:57:0;109290:12;;109412:35;109439:7;92270:27;92381:24;;;:15;:24;;;;;92609:26;;92381:24;;92168:485;109412:35;109355:92;;;;109464:13;109460:316;;;109585:68;109610:15;109627:4;30177:10;109633:19;30097:98;109585:68;109580:184;;109677:43;109694:4;30177:10;90583:164;:::i;109677:43::-;109672:92;;109729:35;;-1:-1:-1;;;109729:35:0;;;;;;;;;;;109672:92;109932:15;109929:160;;;110072:1;110051:19;110044:30;109929:160;-1:-1:-1;;;;;110691:24:0;;;;;;:18;:24;;;;;:60;;110719:32;110691:60;;;88453:11;88428:23;88424:41;88411:63;-1:-1:-1;;;88411:63:0;110989:26;;;;:17;:26;;;;;:205;;;;-1:-1:-1;;;111314:47:0;;:52;;111310:627;;111419:1;111409:11;;111387:19;111542:30;;;:17;:30;;;;;;:35;;111538:384;;111680:13;;111665:11;:28;111661:242;;111827:30;;;;:17;:30;;;;;:52;;;111661:242;111368:569;111310:627;111965:35;;111992:7;;111988:1;;-1:-1:-1;;;;;111965:35:0;;;-1:-1:-1;;;;;;;;;;;111965:35:0;111988:1;;111965:35;-1:-1:-1;;112188:12:0;:14;;;;;;-1:-1:-1;;;;109140:3081:0:o;24413:231::-;24491:7;24512:17;24531:18;24553:27;24564:4;24570:9;24553:10;:27::i;:::-;24511:69;;;;24591:18;24603:5;24591:11;:18::i;:::-;-1:-1:-1;24627:9:0;24413:231;-1:-1:-1;;;24413:231:0:o;106372:689::-;106503:19;106509:2;106513:8;106503:5;:19::i;:::-;-1:-1:-1;;;;;106564:14:0;;;:19;106560:483;;106604:11;106618:13;106666:14;;;106699:233;106730:62;106769:1;106773:2;106777:7;;;;;;106786:5;106730:30;:62::i;:::-;106725:167;;106828:40;;-1:-1:-1;;;106828:40:0;;;;;;;;;;;106725:167;106927:3;106919:5;:11;106699:233;;107014:3;106997:13;;:20;106993:34;;107019:8;;;99476:716;99660:88;;-1:-1:-1;;;99660:88:0;;99639:4;;-1:-1:-1;;;;;99660:45:0;;;;;:88;;30177:10;;99727:4;;99733:7;;99742:5;;99660:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;99660:88:0;;;;;;;;-1:-1:-1;;99660:88:0;;;;;;;;;;;;:::i;:::-;;;99656:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99943:6;:13;99960:1;99943:18;99939:235;;99989:40;;-1:-1:-1;;;99989:40:0;;;;;;;;;;;99939:235;100132:6;100126:13;100117:6;100113:2;100109:15;100102:38;99656:529;-1:-1:-1;;;;;;99819:64:0;-1:-1:-1;;;99819:64:0;;-1:-1:-1;99476:716:0;;;;;;:::o;37001:229::-;37138:12;37170:52;37192:6;37200:4;37206:1;37209:12;37170:21;:52::i;22864:747::-;22945:7;22954:12;22983:9;:16;23003:2;22983:22;22979:625;;23327:4;23312:20;;23306:27;23377:4;23362:20;;23356:27;23435:4;23420:20;;23414:27;23022:9;23406:36;23478:25;23489:4;23406:36;23306:27;23356;23478:10;:25::i;:::-;23471:32;;;;;;;;;22979:625;-1:-1:-1;23552:1:0;;-1:-1:-1;23556:35:0;22979:625;22864:747;;;;;:::o;21257:521::-;21335:20;21326:5;:29;;;;;;;;:::i;:::-;;21322:449;;21257:521;:::o;21322:449::-;21433:29;21424:5;:38;;;;;;;;:::i;:::-;;21420:351;;21479:34;;-1:-1:-1;;;21479:34:0;;21743:2:1;21479:34:0;;;21725:21:1;21782:2;21762:18;;;21755:30;21821:26;21801:18;;;21794:54;21865:18;;21479:34:0;21541:348:1;21420:351:0;21544:35;21535:5;:44;;;;;;;;:::i;:::-;;21531:240;;21596:41;;-1:-1:-1;;;21596:41:0;;22096:2:1;21596:41:0;;;22078:21:1;22135:2;22115:18;;;22108:30;22174:33;22154:18;;;22147:61;22225:18;;21596:41:0;21894:355:1;21531:240:0;21668:30;21659:5;:39;;;;;;;;:::i;:::-;;21655:116;;21715:44;;-1:-1:-1;;;21715:44:0;;22456:2:1;21715:44:0;;;22438:21:1;22495:2;22475:18;;;22468:30;22534:34;22514:18;;;22507:62;-1:-1:-1;;;22585:18:1;;;22578:32;22627:19;;21715:44:0;22254:398:1;100654:2966:0;100727:20;100750:13;;;100778;;;100774:44;;100800:18;;-1:-1:-1;;;100800:18:0;;;;;;;;;;;100774:44;-1:-1:-1;;;;;101306:22:0;;;;;;:18;:22;;;;74466:2;101306:22;;;:71;;101344:32;101332:45;;101306:71;;;101620:31;;;:17;:31;;;;;-1:-1:-1;88884:15:0;;88858:24;88854:46;88453:11;88428:23;88424:41;88421:52;88411:63;;101620:173;;101855:23;;;;101620:31;;101306:22;;-1:-1:-1;;;;;;;;;;;101306:22:0;;102473:335;103134:1;103120:12;103116:20;103074:346;103175:3;103166:7;103163:16;103074:346;;103393:7;103383:8;103380:1;-1:-1:-1;;;;;;;;;;;103350:1:0;103347;103342:59;103228:1;103215:15;103074:346;;;103078:77;103453:8;103465:1;103453:13;103449:45;;103475:19;;-1:-1:-1;;;103475:19:0;;;;;;;;;;;103449:45;103511:13;:19;-1:-1:-1;123610:163:0;;;:::o;38121:455::-;38291:12;38349:5;38324:21;:30;;38316:81;;;;-1:-1:-1;;;38316:81:0;;22859:2:1;38316:81:0;;;22841:21:1;22898:2;22878:18;;;22871:30;22937:34;22917:18;;;22910:62;-1:-1:-1;;;22988:18:1;;;22981:36;23034:19;;38316:81:0;22657:402:1;38316:81:0;38409:12;38423:23;38450:6;-1:-1:-1;;;;;38450:11:0;38469:5;38476:4;38450:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38408:73;;;;38499:69;38526:6;38534:7;38543:10;38555:12;38499:26;:69::i;:::-;38492:76;38121:455;-1:-1:-1;;;;;;;38121:455:0:o;25865:1520::-;25996:7;;26930:66;26917:79;;26913:163;;;-1:-1:-1;27029:1:0;;-1:-1:-1;27033:30:0;27013:51;;26913:163;27190:24;;;27173:14;27190:24;;;;;;;;;23583:25:1;;;23656:4;23644:17;;23624:18;;;23617:45;;;;23678:18;;;23671:34;;;23721:18;;;23714:34;;;27190:24:0;;23555:19:1;;27190:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27190:24:0;;-1:-1:-1;;27190:24:0;;;-1:-1:-1;;;;;;;27229:20:0;;27225:103;;27282:1;27286:29;27266:50;;;;;;;27225:103;27348:6;-1:-1:-1;27356:20:0;;-1:-1:-1;25865:1520:0;;;;;;;;:::o;40694:644::-;40879:12;40908:7;40904:427;;;40936:10;:17;40957:1;40936:22;40932:290;;-1:-1:-1;;;;;34539:19:0;;;41146:60;;;;-1:-1:-1;;;41146:60:0;;23961:2:1;41146:60:0;;;23943:21:1;24000:2;23980:18;;;23973:30;24039:31;24019:18;;;24012:59;24088:18;;41146:60:0;23759:353:1;41146:60:0;-1:-1:-1;41243:10:0;41236:17;;40904:427;41286:33;41294:10;41306:12;42041:17;;:21;42037:388;;42273:10;42267:17;42330:15;42317:10;42313:2;42309:19;42302:44;42037:388;42400:12;42393:20;;-1:-1:-1;;;42393:20:0;;;;;;;;:::i;293:131:1:-;-1:-1:-1;;;;;;367:32:1;;357:43;;347:71;;414:1;411;404:12;429:245;487:6;540:2;528:9;519:7;515:23;511:32;508:52;;;556:1;553;546:12;508:52;595:9;582:23;614:30;638:5;614:30;:::i;871:131::-;-1:-1:-1;;;;;946:31:1;;936:42;;926:70;;992:1;989;982:12;1007:247;1066:6;1119:2;1107:9;1098:7;1094:23;1090:32;1087:52;;;1135:1;1132;1125:12;1087:52;1174:9;1161:23;1193:31;1218:5;1193:31;:::i;1441:250::-;1526:1;1536:113;1550:6;1547:1;1544:13;1536:113;;;1626:11;;;1620:18;1607:11;;;1600:39;1572:2;1565:10;1536:113;;;-1:-1:-1;;1683:1:1;1665:16;;1658:27;1441:250::o;1696:271::-;1738:3;1776:5;1770:12;1803:6;1798:3;1791:19;1819:76;1888:6;1881:4;1876:3;1872:14;1865:4;1858:5;1854:16;1819:76;:::i;:::-;1949:2;1928:15;-1:-1:-1;;1924:29:1;1915:39;;;;1956:4;1911:50;;1696:271;-1:-1:-1;;1696:271:1:o;1972:220::-;2121:2;2110:9;2103:21;2084:4;2141:45;2182:2;2171:9;2167:18;2159:6;2141:45;:::i;2197:180::-;2256:6;2309:2;2297:9;2288:7;2284:23;2280:32;2277:52;;;2325:1;2322;2315:12;2277:52;-1:-1:-1;2348:23:1;;2197:180;-1:-1:-1;2197:180:1:o;2590:315::-;2658:6;2666;2719:2;2707:9;2698:7;2694:23;2690:32;2687:52;;;2735:1;2732;2725:12;2687:52;2774:9;2761:23;2793:31;2818:5;2793:31;:::i;:::-;2843:5;2895:2;2880:18;;;;2867:32;;-1:-1:-1;;;2590:315:1:o;3170:456::-;3247:6;3255;3263;3316:2;3304:9;3295:7;3291:23;3287:32;3284:52;;;3332:1;3329;3322:12;3284:52;3371:9;3358:23;3390:31;3415:5;3390:31;:::i;:::-;3440:5;-1:-1:-1;3497:2:1;3482:18;;3469:32;3510:33;3469:32;3510:33;:::i;:::-;3170:456;;3562:7;;-1:-1:-1;;;3616:2:1;3601:18;;;;3588:32;;3170:456::o;3631:403::-;3714:6;3722;3775:2;3763:9;3754:7;3750:23;3746:32;3743:52;;;3791:1;3788;3781:12;3743:52;3830:9;3817:23;3849:31;3874:5;3849:31;:::i;:::-;3899:5;-1:-1:-1;3956:2:1;3941:18;;3928:32;3969:33;3928:32;3969:33;:::i;:::-;4021:7;4011:17;;;3631:403;;;;;:::o;4278:118::-;4364:5;4357:13;4350:21;4343:5;4340:32;4330:60;;4386:1;4383;4376:12;4401:241;4457:6;4510:2;4498:9;4489:7;4485:23;4481:32;4478:52;;;4526:1;4523;4516:12;4478:52;4565:9;4552:23;4584:28;4606:5;4584:28;:::i;4647:794::-;4735:6;4743;4751;4759;4812:2;4800:9;4791:7;4787:23;4783:32;4780:52;;;4828:1;4825;4818:12;4780:52;4867:9;4854:23;4886:31;4911:5;4886:31;:::i;:::-;4936:5;-1:-1:-1;4992:2:1;4977:18;;4964:32;5015:18;5045:14;;;5042:34;;;5072:1;5069;5062:12;5042:34;5110:6;5099:9;5095:22;5085:32;;5155:7;5148:4;5144:2;5140:13;5136:27;5126:55;;5177:1;5174;5167:12;5126:55;5217:2;5204:16;5243:2;5235:6;5232:14;5229:34;;;5259:1;5256;5249:12;5229:34;5304:7;5299:2;5290:6;5286:2;5282:15;5278:24;5275:37;5272:57;;;5325:1;5322;5315:12;5272:57;4647:794;;5356:2;5348:11;;;;;-1:-1:-1;5378:6:1;;5431:2;5416:18;5403:32;;-1:-1:-1;4647:794:1;-1:-1:-1;;;4647:794:1:o;5446:382::-;5511:6;5519;5572:2;5560:9;5551:7;5547:23;5543:32;5540:52;;;5588:1;5585;5578:12;5540:52;5627:9;5614:23;5646:31;5671:5;5646:31;:::i;:::-;5696:5;-1:-1:-1;5753:2:1;5738:18;;5725:32;5766:30;5725:32;5766:30;:::i;5833:127::-;5894:10;5889:3;5885:20;5882:1;5875:31;5925:4;5922:1;5915:15;5949:4;5946:1;5939:15;5965:632;6030:5;6060:18;6101:2;6093:6;6090:14;6087:40;;;6107:18;;:::i;:::-;6182:2;6176:9;6150:2;6236:15;;-1:-1:-1;;6232:24:1;;;6258:2;6228:33;6224:42;6212:55;;;6282:18;;;6302:22;;;6279:46;6276:72;;;6328:18;;:::i;:::-;6368:10;6364:2;6357:22;6397:6;6388:15;;6427:6;6419;6412:22;6467:3;6458:6;6453:3;6449:16;6446:25;6443:45;;;6484:1;6481;6474:12;6443:45;6534:6;6529:3;6522:4;6514:6;6510:17;6497:44;6589:1;6582:4;6573:6;6565;6561:19;6557:30;6550:41;;;;5965:632;;;;;:::o;6602:451::-;6671:6;6724:2;6712:9;6703:7;6699:23;6695:32;6692:52;;;6740:1;6737;6730:12;6692:52;6780:9;6767:23;6813:18;6805:6;6802:30;6799:50;;;6845:1;6842;6835:12;6799:50;6868:22;;6921:4;6913:13;;6909:27;-1:-1:-1;6899:55:1;;6950:1;6947;6940:12;6899:55;6973:74;7039:7;7034:2;7021:16;7016:2;7012;7008:11;6973:74;:::i;7058:795::-;7153:6;7161;7169;7177;7230:3;7218:9;7209:7;7205:23;7201:33;7198:53;;;7247:1;7244;7237:12;7198:53;7286:9;7273:23;7305:31;7330:5;7305:31;:::i;:::-;7355:5;-1:-1:-1;7412:2:1;7397:18;;7384:32;7425:33;7384:32;7425:33;:::i;:::-;7477:7;-1:-1:-1;7531:2:1;7516:18;;7503:32;;-1:-1:-1;7586:2:1;7571:18;;7558:32;7613:18;7602:30;;7599:50;;;7645:1;7642;7635:12;7599:50;7668:22;;7721:4;7713:13;;7709:27;-1:-1:-1;7699:55:1;;7750:1;7747;7740:12;7699:55;7773:74;7839:7;7834:2;7821:16;7816:2;7812;7808:11;7773:74;:::i;:::-;7763:84;;;7058:795;;;;;;;:::o;8518:380::-;8597:1;8593:12;;;;8640;;;8661:61;;8715:4;8707:6;8703:17;8693:27;;8661:61;8768:2;8760:6;8757:14;8737:18;8734:38;8731:161;;8814:10;8809:3;8805:20;8802:1;8795:31;8849:4;8846:1;8839:15;8877:4;8874:1;8867:15;8731:161;;8518:380;;;:::o;8903:402::-;9105:2;9087:21;;;9144:2;9124:18;;;9117:30;9183:34;9178:2;9163:18;;9156:62;-1:-1:-1;;;9249:2:1;9234:18;;9227:36;9295:3;9280:19;;8903:402::o;9310:407::-;9512:2;9494:21;;;9551:2;9531:18;;;9524:30;9590:34;9585:2;9570:18;;9563:62;-1:-1:-1;;;9656:2:1;9641:18;;9634:41;9707:3;9692:19;;9310:407::o;9722:127::-;9783:10;9778:3;9774:20;9771:1;9764:31;9814:4;9811:1;9804:15;9838:4;9835:1;9828:15;9854:125;9919:9;;;9940:10;;;9937:36;;;9953:18;;:::i;10481:417::-;10683:2;10665:21;;;10722:2;10702:18;;;10695:30;-1:-1:-1;;;;;;;;;;;10756:2:1;10741:18;;10734:62;-1:-1:-1;;;10827:2:1;10812:18;;10805:51;10888:3;10873:19;;10481:417::o;10903:402::-;11105:2;11087:21;;;11144:2;11124:18;;;11117:30;-1:-1:-1;;;;;;;;;;;11178:2:1;11163:18;;11156:62;-1:-1:-1;;;11249:2:1;11234:18;;11227:36;11295:3;11280:19;;10903:402::o;11310:411::-;11512:2;11494:21;;;11551:2;11531:18;;;11524:30;-1:-1:-1;;;;;;;;;;;11585:2:1;11570:18;;11563:62;-1:-1:-1;;;11656:2:1;11641:18;;11634:45;11711:3;11696:19;;11310:411::o;12071:407::-;12273:2;12255:21;;;12312:2;12292:18;;;12285:30;-1:-1:-1;;;;;;;;;;;12346:2:1;12331:18;;12324:62;-1:-1:-1;;;12417:2:1;12402:18;;12395:41;12468:3;12453:19;;12071:407::o;13061:127::-;13122:10;13117:3;13113:20;13110:1;13103:31;13153:4;13150:1;13143:15;13177:4;13174:1;13167:15;13319:545;13421:2;13416:3;13413:11;13410:448;;;13457:1;13482:5;13478:2;13471:17;13527:4;13523:2;13513:19;13597:2;13585:10;13581:19;13578:1;13574:27;13568:4;13564:38;13633:4;13621:10;13618:20;13615:47;;;-1:-1:-1;13656:4:1;13615:47;13711:2;13706:3;13702:12;13699:1;13695:20;13689:4;13685:31;13675:41;;13766:82;13784:2;13777:5;13774:13;13766:82;;;13829:17;;;13810:1;13799:13;13766:82;;14040:1352;14166:3;14160:10;14193:18;14185:6;14182:30;14179:56;;;14215:18;;:::i;:::-;14244:97;14334:6;14294:38;14326:4;14320:11;14294:38;:::i;:::-;14288:4;14244:97;:::i;:::-;14396:4;;14460:2;14449:14;;14477:1;14472:663;;;;15179:1;15196:6;15193:89;;;-1:-1:-1;15248:19:1;;;15242:26;15193:89;-1:-1:-1;;13997:1:1;13993:11;;;13989:24;13985:29;13975:40;14021:1;14017:11;;;13972:57;15295:81;;14442:944;;14472:663;13266:1;13259:14;;;13303:4;13290:18;;-1:-1:-1;;14508:20:1;;;14626:236;14640:7;14637:1;14634:14;14626:236;;;14729:19;;;14723:26;14708:42;;14821:27;;;;14789:1;14777:14;;;;14656:19;;14626:236;;;14630:3;14890:6;14881:7;14878:19;14875:201;;;14951:19;;;14945:26;-1:-1:-1;;15034:1:1;15030:14;;;15046:3;15026:24;15022:37;15018:42;15003:58;14988:74;;14875:201;-1:-1:-1;;;;;15122:1:1;15106:14;;;15102:22;15089:36;;-1:-1:-1;14040:1352:1:o;15397:184::-;15467:6;15520:2;15508:9;15499:7;15495:23;15491:32;15488:52;;;15536:1;15533;15526:12;15488:52;-1:-1:-1;15559:16:1;;15397:184;-1:-1:-1;15397:184:1:o;15586:496::-;15765:3;15803:6;15797:13;15819:66;15878:6;15873:3;15866:4;15858:6;15854:17;15819:66;:::i;:::-;15948:13;;15907:16;;;;15970:70;15948:13;15907:16;16017:4;16005:17;;15970:70;:::i;:::-;16056:20;;15586:496;-1:-1:-1;;;;15586:496:1:o;16505:168::-;16578:9;;;16609;;16626:15;;;16620:22;;16606:37;16596:71;;16647:18;;:::i;17754:245::-;17821:6;17874:2;17862:9;17853:7;17849:23;17845:32;17842:52;;;17890:1;17887;17880:12;17842:52;17922:9;17916:16;17941:28;17963:5;17941:28;:::i;19510:217::-;19550:1;19576;19566:132;;19620:10;19615:3;19611:20;19608:1;19601:31;19655:4;19652:1;19645:15;19683:4;19680:1;19673:15;19566:132;-1:-1:-1;19712:9:1;;19510:217::o;19732:128::-;19799:9;;;19820:11;;;19817:37;;;19834:18;;:::i;20661:489::-;-1:-1:-1;;;;;20930:15:1;;;20912:34;;20982:15;;20977:2;20962:18;;20955:43;21029:2;21014:18;;21007:34;;;21077:3;21072:2;21057:18;;21050:31;;;20855:4;;21098:46;;21124:19;;21116:6;21098:46;:::i;:::-;21090:54;20661:489;-1:-1:-1;;;;;;20661:489:1:o;21155:249::-;21224:6;21277:2;21265:9;21256:7;21252:23;21248:32;21245:52;;;21293:1;21290;21283:12;21245:52;21325:9;21319:16;21344:30;21368:5;21344:30;:::i;21409:127::-;21470:10;21465:3;21461:20;21458:1;21451:31;21501:4;21498:1;21491:15;21525:4;21522:1;21515:15;23064:287;23193:3;23231:6;23225:13;23247:66;23306:6;23301:3;23294:4;23286:6;23282:17;23247:66;:::i;:::-;23329:16;;;;;23064:287;-1:-1:-1;;23064:287:1:o

Swarm Source

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