ETH Price: $2,953.52 (+0.56%)

Token

Overview

Max Total Supply

0

Holders

73,078

Market

Onchain Market Cap

-

Circulating Supply Market Cap

-
Filtered by Token Holder
asockolov.linea.eth
0x89e408bcbfe98708df3a76efe79692385cc62b18
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
Match3OAT

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at lineascan.build/ on 2023-09-19
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.8.18;

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

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

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

/**
 * @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. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        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);
    }
}

// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/EIP712.sol)

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

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

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

/**
 * @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) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 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 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

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

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

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

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

/**
 * @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 `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        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);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

/**
 * @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 message) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, "\x19Ethereum Signed Message:\n32")
            mstore(0x1c, hash)
            message := keccak256(0x00, 0x3c)
        }
    }

    /**
     * @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 data) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, "\x19\x01")
            mstore(add(ptr, 0x02), domainSeparator)
            mstore(add(ptr, 0x22), structHash)
            data := keccak256(ptr, 0x42)
        }
    }

    /**
     * @dev Returns an Ethereum Signed Data with intended validator, created from a
     * `validator` and `data` according to the version 0 of EIP-191.
     *
     * See {recover}.
     */
    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x00", validator, data));
    }
}

// OpenZeppelin Contracts (last updated v4.9.0) (utils/ShortStrings.sol)

// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._
 * _Available since v4.9 for `string`, `bytes`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` with member `value` located at `slot`.
     */
    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` with member `value` located at `slot`.
     */
    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }
}

// | string  | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA   |
// | length  | 0x                                                              BB |
type ShortString is bytes32;

/**
 * @dev This library provides functions to convert short memory strings
 * into a `ShortString` type that can be used as an immutable variable.
 *
 * Strings of arbitrary length can be optimized using this library if
 * they are short enough (up to 31 bytes) by packing them with their
 * length (1 byte) in a single EVM word (32 bytes). Additionally, a
 * fallback mechanism can be used for every other case.
 *
 * Usage example:
 *
 * ```solidity
 * contract Named {
 *     using ShortStrings for *;
 *
 *     ShortString private immutable _name;
 *     string private _nameFallback;
 *
 *     constructor(string memory contractName) {
 *         _name = contractName.toShortStringWithFallback(_nameFallback);
 *     }
 *
 *     function name() external view returns (string memory) {
 *         return _name.toStringWithFallback(_nameFallback);
 *     }
 * }
 * ```
 */
library ShortStrings {
    // Used as an identifier for strings longer than 31 bytes.
    bytes32 private constant _FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF;

    error StringTooLong(string str);
    error InvalidShortString();

    /**
     * @dev Encode a string of at most 31 chars into a `ShortString`.
     *
     * This will trigger a `StringTooLong` error is the input string is too long.
     */
    function toShortString(string memory str) internal pure returns (ShortString) {
        bytes memory bstr = bytes(str);
        if (bstr.length > 31) {
            revert StringTooLong(str);
        }
        return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length));
    }

    /**
     * @dev Decode a `ShortString` back to a "normal" string.
     */
    function toString(ShortString sstr) internal pure returns (string memory) {
        uint256 len = byteLength(sstr);
        // using `new string(len)` would work locally but is not memory safe.
        string memory str = new string(32);
        /// @solidity memory-safe-assembly
        assembly {
            mstore(str, len)
            mstore(add(str, 0x20), sstr)
        }
        return str;
    }

    /**
     * @dev Return the length of a `ShortString`.
     */
    function byteLength(ShortString sstr) internal pure returns (uint256) {
        uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF;
        if (result > 31) {
            revert InvalidShortString();
        }
        return result;
    }

    /**
     * @dev Encode a string into a `ShortString`, or write it to storage if it is too long.
     */
    function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) {
        if (bytes(value).length < 32) {
            return toShortString(value);
        } else {
            StorageSlot.getStringSlot(store).value = value;
            return ShortString.wrap(_FALLBACK_SENTINEL);
        }
    }

    /**
     * @dev Decode a string that was encoded to `ShortString` or written to storage using {setWithFallback}.
     */
    function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) {
        if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) {
            return toString(value);
        } else {
            return store;
        }
    }

    /**
     * @dev Return the length of a string that was encoded to `ShortString` or written to storage using {setWithFallback}.
     *
     * WARNING: This will return the "byte length" of the string. This may not reflect the actual length in terms of
     * actual characters as the UTF-8 encoding of a single character can span over multiple bytes.
     */
    function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) {
        if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) {
            return byteLength(value);
        } else {
            return bytes(store).length;
        }
    }
}

// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5267.sol)

interface IERC5267 {
    /**
     * @dev MAY be emitted to signal that the domain could have changed.
     */
    event EIP712DomainChanged();

    /**
     * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712
     * signature.
     */
    function eip712Domain()
        external
        view
        returns (
            bytes1 fields,
            string memory name,
            string memory version,
            uint256 chainId,
            address verifyingContract,
            bytes32 salt,
            uint256[] memory extensions
        );
}

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain
 * separator of the implementation contract. This will cause the `_domainSeparatorV4` function to always rebuild the
 * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.
 *
 * _Available since v3.4._
 *
 * @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment
 */
abstract contract EIP712 is IERC5267 {
    using ShortStrings for *;

    bytes32 private constant _TYPE_HASH =
        keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");

    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _cachedDomainSeparator;
    uint256 private immutable _cachedChainId;
    address private immutable _cachedThis;

    bytes32 private immutable _hashedName;
    bytes32 private immutable _hashedVersion;

    ShortString private immutable _name;
    ShortString private immutable _version;
    string private _nameFallback;
    string private _versionFallback;

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        _name = name.toShortStringWithFallback(_nameFallback);
        _version = version.toShortStringWithFallback(_versionFallback);
        _hashedName = keccak256(bytes(name));
        _hashedVersion = keccak256(bytes(version));

        _cachedChainId = block.chainid;
        _cachedDomainSeparator = _buildDomainSeparator();
        _cachedThis = address(this);
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _cachedThis && block.chainid == _cachedChainId) {
            return _cachedDomainSeparator;
        } else {
            return _buildDomainSeparator();
        }
    }

    function _buildDomainSeparator() private view returns (bytes32) {
        return keccak256(abi.encode(_TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }

    /**
     * @dev See {EIP-5267}.
     *
     * _Available since v4.9._
     */
    function eip712Domain()
        public
        view
        virtual
        override
        returns (
            bytes1 fields,
            string memory name,
            string memory version,
            uint256 chainId,
            address verifyingContract,
            bytes32 salt,
            uint256[] memory extensions
        )
    {
        return (
            hex"0f", // 01111
            _name.toStringWithFallback(_nameFallback),
            _version.toStringWithFallback(_versionFallback),
            block.chainid,
            address(this),
            bytes32(0),
            new uint256[](0)
        );
    }
}

// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/ERC1155.sol)

// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/IERC1155.sol)

// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] calldata accounts,
        uint256[] calldata ids
    ) external view returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

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

/**
 * @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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/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.8.0/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);
        }
    }
}

// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC1155).interfaceId ||
            interfaceId == type(IERC1155MetadataURI).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: address zero is not a valid owner");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] memory accounts,
        uint256[] memory ids
    ) public view virtual override returns (uint256[] memory) {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC1155-isApprovedForAll}.
     */
    function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[account][operator];
    }

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(address to, uint256 id, uint256 amount, bytes memory data) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(address from, uint256 id, uint256 amount) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(address from, uint256[] memory ids, uint256[] memory amounts) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `ids` and `amounts` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non-ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non-ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol)

/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates whether any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        if (from == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] += amounts[i];
            }
        }

        if (to == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                uint256 id = ids[i];
                uint256 amount = amounts[i];
                uint256 supply = _totalSupply[id];
                require(supply >= amount, "ERC1155: burn amount exceeds totalSupply");
                unchecked {
                    _totalSupply[id] = supply - amount;
                }
            }
        }
    }
}

// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/extensions/ERC1155Burnable.sol)

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(address account, uint256 id, uint256 value) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(address account, uint256[] memory ids, uint256[] memory values) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );

        _burnBatch(account, ids, values);
    }
}

contract Match3OAT is Ownable, EIP712, ERC1155, ERC1155Burnable, ERC1155Supply {
    address public approvalSigner;
    bytes32 private constant _CLAIM_SIG_TYPE_HASH =
        keccak256("Claim(address wallet,uint256 tokenId)");

    constructor(string memory uri_) EIP712("Match3OAT", "1") ERC1155(uri_) {}

    function setApprovalSigner(address signer) external onlyOwner {
        approvalSigner = signer;
    }

    function setURI(string calldata uri_) external onlyOwner {
        _setURI(uri_);
    }

    function claim(uint256 tokenId, bytes calldata signature) external {
        address sender = _msgSender();

        if (!_verifyClaimSignature(tokenId, signature)) {
            revert("Invalid signature");
        }

        if (balanceOf(sender, tokenId) == 0) {
            _mint(_msgSender(), tokenId, 1, "");
        }
    }

    function _verifyClaimSignature(
        uint256 tokenId,
        bytes calldata signature
    ) private view returns (bool) {
        bytes32 digest = _hashTypedDataV4(
            keccak256(abi.encode(_CLAIM_SIG_TYPE_HASH, _msgSender(), tokenId))
        );
        return ECDSA.recover(digest, signature) == approvalSigner;
    }

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal override(ERC1155, ERC1155Supply) {
        if (from == address(0) || to == address(0)) {
            super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
        } else {
            revert("Transfer not allowed");
        }
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":[],"name":"EIP712DomainChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"approvalSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setApprovalSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

6101606040523480156200001257600080fd5b5060405162002db038038062002db08339810160408190526200003591620002af565b806040518060400160405280600981526020016813585d18da0cd3d05560ba1b815250604051806040016040528060018152602001603160f81b8152506200008c620000866200016e60201b60201c565b62000172565b620000a7600183620001c260201b6200091c1790919060201c565b61012052620000c4816002620001c2602090811b6200091c17901c565b61014052815160208084019190912060e052815190820120610100524660a0526200015260e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c052620001668162000212565b50506200051c565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602083511015620001e257620001da8362000224565b90506200020c565b82620001f9836200027060201b6200094d1760201c565b90620002069082620003f6565b5060ff90505b92915050565b6005620002208282620003f6565b5050565b600080829050601f815111156200025b578260405163305a27a960e01b8152600401620002529190620004c2565b60405180910390fd5b80516200026882620004f7565b179392505050565b90565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620002a65781810151838201526020016200028c565b50506000910152565b600060208284031215620002c257600080fd5b81516001600160401b0380821115620002da57600080fd5b818401915084601f830112620002ef57600080fd5b81518181111562000304576200030462000273565b604051601f8201601f19908116603f011681019083821181831017156200032f576200032f62000273565b816040528281528760208487010111156200034957600080fd5b6200035c83602083016020880162000289565b979650505050505050565b600181811c908216806200037c57607f821691505b6020821081036200039d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003f157600081815260208120601f850160051c81016020861015620003cc5750805b601f850160051c820191505b81811015620003ed57828155600101620003d8565b5050505b505050565b81516001600160401b0381111562000412576200041262000273565b6200042a8162000423845462000367565b84620003a3565b602080601f831160018114620004625760008415620004495750858301515b600019600386901b1c1916600185901b178555620003ed565b600085815260208120601f198616915b82811015620004935788860151825594840194600190910190840162000472565b5085821015620004b25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020815260008251806020840152620004e381604085016020870162000289565b601f01601f19169190910160400192915050565b805160208083015191908110156200039d5760001960209190910360031b1b16919050565b60805160a05160c05160e0516101005161012051610140516128396200057760003960006107960152600061076b0152600061190e015260006118e6015260006118410152600061186b0152600061189501526128396000f3fe608060405234801561001057600080fd5b506004361061012b5760003560e01c8063715018a6116100ad578063bd919f7911610071578063bd919f79146102bb578063e985e9c5146102ce578063f242432a1461030a578063f2fde38b1461031d578063f5298aca1461033057600080fd5b8063715018a61461025457806384b0196e1461025c5780638da5cb5b14610277578063a22cb46514610288578063bd85b0391461029b57600080fd5b80632eb2c2d6116100f45780632eb2c2d6146101d957806338926b6d146101ec5780634e1273f4146101ff5780634f558e791461021f5780636b20c4541461024157600080fd5b8062fdd58e1461013057806301ffc9a71461015657806302fe5305146101795780630e89341c1461018e57806318b1b60e146101ae575b600080fd5b61014361013e366004611bfb565b610343565b6040519081526020015b60405180910390f35b610169610164366004611c3b565b6103de565b604051901515815260200161014d565b61018c610187366004611ca0565b61042e565b005b6101a161019c366004611ce1565b610479565b60405161014d9190611d40565b6007546101c1906001600160a01b031681565b6040516001600160a01b03909116815260200161014d565b61018c6101e7366004611e9c565b61050d565b61018c6101fa366004611f45565b610559565b61021261020d366004611f90565b6105d8565b60405161014d9190612095565b61016961022d366004611ce1565b600090815260066020526040902054151590565b61018c61024f3660046120a8565b610701565b61018c610749565b61026461075d565b60405161014d979695949392919061211b565b6000546001600160a01b03166101c1565b61018c61029636600461218b565b6107e6565b6101436102a9366004611ce1565b60009081526006602052604090205490565b61018c6102c93660046121c7565b6107f1565b6101696102dc3660046121e2565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b61018c610318366004612215565b61081b565b61018c61032b3660046121c7565b610860565b61018c61033e366004612279565b6108d9565b60006001600160a01b0383166103b35760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b5060008181526003602090815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b148061040f57506001600160e01b031982166303a24d0760e21b145b806103d857506301ffc9a760e01b6001600160e01b03198316146103d8565b610436610950565b61047582828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506109aa92505050565b5050565b606060058054610488906122ac565b80601f01602080910402602001604051908101604052809291908181526020018280546104b4906122ac565b80156105015780601f106104d657610100808354040283529160200191610501565b820191906000526020600020905b8154815290600101906020018083116104e457829003601f168201915b50505050509050919050565b6001600160a01b038516331480610529575061052985336102dc565b6105455760405162461bcd60e51b81526004016103aa906122e6565b61055285858585856109b6565b5050505050565b33610565848484610b63565b6105a55760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b60448201526064016103aa565b6105af8185610343565b6000036105d2576105d23385600160405180602001604052806000815250610c30565b50505050565b6060815183511461063d5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016103aa565b600083516001600160401b0381111561065857610658611d53565b604051908082528060200260200182016040528015610681578160200160208202803683370190505b50905060005b84518110156106f9576106cc8582815181106106a5576106a5612334565b60200260200101518583815181106106bf576106bf612334565b6020026020010151610343565b8282815181106106de576106de612334565b60209081029190910101526106f281612360565b9050610687565b509392505050565b6001600160a01b03831633148061071d575061071d83336102dc565b6107395760405162461bcd60e51b81526004016103aa906122e6565b610744838383610d55565b505050565b610751610950565b61075b6000610ef4565b565b6000606080828080836107917f00000000000000000000000000000000000000000000000000000000000000006001610f44565b6107bc7f00000000000000000000000000000000000000000000000000000000000000006002610f44565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b610475338383610fe8565b6107f9610950565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038516331480610837575061083785336102dc565b6108535760405162461bcd60e51b81526004016103aa906122e6565b61055285858585856110c8565b610868610950565b6001600160a01b0381166108cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103aa565b6108d681610ef4565b50565b6001600160a01b0383163314806108f557506108f583336102dc565b6109115760405162461bcd60e51b81526004016103aa906122e6565b610744838383611204565b60006020835110156109385761093183611320565b90506103d8565b8161094384826123bf565b5060ff90506103d8565b90565b6000546001600160a01b0316331461075b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103aa565b600561047582826123bf565b81518351146109d75760405162461bcd60e51b81526004016103aa9061247e565b6001600160a01b0384166109fd5760405162461bcd60e51b81526004016103aa906124c6565b33610a0c81878787878761135e565b60005b8451811015610af5576000858281518110610a2c57610a2c612334565b602002602001015190506000858381518110610a4a57610a4a612334565b60209081029190910181015160008481526003835260408082206001600160a01b038e168352909352919091205490915081811015610a9b5760405162461bcd60e51b81526004016103aa9061250b565b60008381526003602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290610ada908490612555565b9250508190555050505080610aee90612360565b9050610a0f565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610b45929190612568565b60405180910390a4610b5b8187878787876113d2565b505050505050565b600080610bcb7f1757418389a1c3422998e883b8eee9911cd6a643b940e6f09dbfcd817e0b39c6336040805160208101939093526001600160a01b0390911690820152606081018790526080016040516020818303038152906040528051906020012061152d565b600754604080516020601f88018190048102820181019092528681529293506001600160a01b0390911691610c1d91849190889088908190840183828082843760009201919091525061155a92505050565b6001600160a01b03161495945050505050565b6001600160a01b038416610c905760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016103aa565b336000610c9c85611576565b90506000610ca985611576565b9050610cba8360008985858961135e565b60008681526003602090815260408083206001600160a01b038b16845290915281208054879290610cec908490612555565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610d4c836000898989896115c1565b50505050505050565b6001600160a01b038316610d7b5760405162461bcd60e51b81526004016103aa90612596565b8051825114610d9c5760405162461bcd60e51b81526004016103aa9061247e565b6000339050610dbf8185600086866040518060200160405280600081525061135e565b60005b8351811015610e87576000848281518110610ddf57610ddf612334565b602002602001015190506000848381518110610dfd57610dfd612334565b60209081029190910181015160008481526003835260408082206001600160a01b038c168352909352919091205490915081811015610e4e5760405162461bcd60e51b81526004016103aa906125d9565b60009283526003602090815260408085206001600160a01b038b1686529091529092209103905580610e7f81612360565b915050610dc2565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051610ed8929190612568565b60405180910390a46040805160208101909152600090526105d2565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606060ff8314610f57576109318361167c565b818054610f63906122ac565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8f906122ac565b8015610fdc5780601f10610fb157610100808354040283529160200191610fdc565b820191906000526020600020905b815481529060010190602001808311610fbf57829003601f168201915b505050505090506103d8565b816001600160a01b0316836001600160a01b03160361105b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016103aa565b6001600160a01b03838116600081815260046020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166110ee5760405162461bcd60e51b81526004016103aa906124c6565b3360006110fa85611576565b9050600061110785611576565b905061111783898985858961135e565b60008681526003602090815260408083206001600160a01b038c1684529091529020548581101561115a5760405162461bcd60e51b81526004016103aa9061250b565b60008781526003602090815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290611199908490612555565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46111f9848a8a8a8a8a6115c1565b505050505050505050565b6001600160a01b03831661122a5760405162461bcd60e51b81526004016103aa90612596565b33600061123684611576565b9050600061124384611576565b90506112638387600085856040518060200160405280600081525061135e565b60008581526003602090815260408083206001600160a01b038a168452909152902054848110156112a65760405162461bcd60e51b81526004016103aa906125d9565b60008681526003602090815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4604080516020810190915260009052610d4c565b600080829050601f8151111561134b578260405163305a27a960e01b81526004016103aa9190611d40565b80516113568261261d565b179392505050565b6001600160a01b038516158061137b57506001600160a01b038416155b156113935761138e8686868686866116bb565b610b5b565b60405162461bcd60e51b8152602060048201526014602482015273151c985b9cd9995c881b9bdd08185b1b1bddd95960621b60448201526064016103aa565b6001600160a01b0384163b15610b5b5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906114169089908990889088908890600401612641565b6020604051808303816000875af1925050508015611451575060408051601f3d908101601f1916820190925261144e9181019061269f565b60015b6114fd5761145d6126bc565b806308c379a00361149657506114716126d7565b8061147c5750611498565b8060405162461bcd60e51b81526004016103aa9190611d40565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016103aa565b6001600160e01b0319811663bc197c8160e01b14610d4c5760405162461bcd60e51b81526004016103aa90612760565b60006103d861153a611834565b8360405161190160f01b8152600281019290925260228201526042902090565b60008060006115698585611964565b915091506106f9816119a9565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106115b0576115b0612334565b602090810291909101015292915050565b6001600160a01b0384163b15610b5b5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061160590899089908890889088906004016127a8565b6020604051808303816000875af1925050508015611640575060408051601f3d908101601f1916820190925261163d9181019061269f565b60015b61164c5761145d6126bc565b6001600160e01b0319811663f23a6e6160e01b14610d4c5760405162461bcd60e51b81526004016103aa90612760565b6060600061168983611af3565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6001600160a01b0385166117425760005b8351811015611740578281815181106116e7576116e7612334565b60200260200101516006600086848151811061170557611705612334565b60200260200101518152602001908152602001600020600082825461172a9190612555565b90915550611739905081612360565b90506116cc565b505b6001600160a01b038416610b5b5760005b8351811015610d4c57600084828151811061177057611770612334565b60200260200101519050600084838151811061178e5761178e612334565b60200260200101519050600060066000848152602001908152602001600020549050818110156118115760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f74604482015267616c537570706c7960c01b60648201526084016103aa565b6000928352600660205260409092209103905561182d81612360565b9050611753565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561188d57507f000000000000000000000000000000000000000000000000000000000000000046145b156118b757507f000000000000000000000000000000000000000000000000000000000000000090565b61195f604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b905090565b600080825160410361199a5760208301516040840151606085015160001a61198e87828585611b1b565b945094505050506119a2565b506000905060025b9250929050565b60008160048111156119bd576119bd6127ed565b036119c55750565b60018160048111156119d9576119d96127ed565b03611a265760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016103aa565b6002816004811115611a3a57611a3a6127ed565b03611a875760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016103aa565b6003816004811115611a9b57611a9b6127ed565b036108d65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016103aa565b600060ff8216601f8111156103d857604051632cd44ac360e21b815260040160405180910390fd5b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611b525750600090506003611bd6565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611ba6573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611bcf57600060019250925050611bd6565b9150600090505b94509492505050565b80356001600160a01b0381168114611bf657600080fd5b919050565b60008060408385031215611c0e57600080fd5b611c1783611bdf565b946020939093013593505050565b6001600160e01b0319811681146108d657600080fd5b600060208284031215611c4d57600080fd5b8135611c5881611c25565b9392505050565b60008083601f840112611c7157600080fd5b5081356001600160401b03811115611c8857600080fd5b6020830191508360208285010111156119a257600080fd5b60008060208385031215611cb357600080fd5b82356001600160401b03811115611cc957600080fd5b611cd585828601611c5f565b90969095509350505050565b600060208284031215611cf357600080fd5b5035919050565b6000815180845260005b81811015611d2057602081850181015186830182015201611d04565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000611c586020830184611cfa565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715611d8e57611d8e611d53565b6040525050565b60006001600160401b03821115611dae57611dae611d53565b5060051b60200190565b600082601f830112611dc957600080fd5b81356020611dd682611d95565b604051611de38282611d69565b83815260059390931b8501820192828101915086841115611e0357600080fd5b8286015b84811015611e1e5780358352918301918301611e07565b509695505050505050565b600082601f830112611e3a57600080fd5b81356001600160401b03811115611e5357611e53611d53565b604051611e6a601f8301601f191660200182611d69565b818152846020838601011115611e7f57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215611eb457600080fd5b611ebd86611bdf565b9450611ecb60208701611bdf565b935060408601356001600160401b0380821115611ee757600080fd5b611ef389838a01611db8565b94506060880135915080821115611f0957600080fd5b611f1589838a01611db8565b93506080880135915080821115611f2b57600080fd5b50611f3888828901611e29565b9150509295509295909350565b600080600060408486031215611f5a57600080fd5b8335925060208401356001600160401b03811115611f7757600080fd5b611f8386828701611c5f565b9497909650939450505050565b60008060408385031215611fa357600080fd5b82356001600160401b0380821115611fba57600080fd5b818501915085601f830112611fce57600080fd5b81356020611fdb82611d95565b604051611fe88282611d69565b83815260059390931b850182019282810191508984111561200857600080fd5b948201945b8386101561202d5761201e86611bdf565b8252948201949082019061200d565b9650508601359250508082111561204357600080fd5b5061205085828601611db8565b9150509250929050565b600081518084526020808501945080840160005b8381101561208a5781518752958201959082019060010161206e565b509495945050505050565b602081526000611c58602083018461205a565b6000806000606084860312156120bd57600080fd5b6120c684611bdf565b925060208401356001600160401b03808211156120e257600080fd5b6120ee87838801611db8565b9350604086013591508082111561210457600080fd5b5061211186828701611db8565b9150509250925092565b60ff60f81b8816815260e06020820152600061213a60e0830189611cfa565b828103604084015261214c8189611cfa565b606084018890526001600160a01b038716608085015260a0840186905283810360c0850152905061217d818561205a565b9a9950505050505050505050565b6000806040838503121561219e57600080fd5b6121a783611bdf565b9150602083013580151581146121bc57600080fd5b809150509250929050565b6000602082840312156121d957600080fd5b611c5882611bdf565b600080604083850312156121f557600080fd5b6121fe83611bdf565b915061220c60208401611bdf565b90509250929050565b600080600080600060a0868803121561222d57600080fd5b61223686611bdf565b945061224460208701611bdf565b9350604086013592506060860135915060808601356001600160401b0381111561226d57600080fd5b611f3888828901611e29565b60008060006060848603121561228e57600080fd5b61229784611bdf565b95602085013595506040909401359392505050565b600181811c908216806122c057607f821691505b6020821081036122e057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016123725761237261234a565b5060010190565b601f82111561074457600081815260208120601f850160051c810160208610156123a05750805b601f850160051c820191505b81811015610b5b578281556001016123ac565b81516001600160401b038111156123d8576123d8611d53565b6123ec816123e684546122ac565b84612379565b602080601f83116001811461242157600084156124095750858301515b600019600386901b1c1916600185901b178555610b5b565b600085815260208120601f198616915b8281101561245057888601518255948401946001909101908401612431565b508582101561246e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b808201808211156103d8576103d861234a565b60408152600061257b604083018561205a565b828103602084015261258d818561205a565b95945050505050565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b805160208083015191908110156122e05760001960209190910360031b1b16919050565b6001600160a01b0386811682528516602082015260a06040820181905260009061266d9083018661205a565b828103606084015261267f818661205a565b905082810360808401526126938185611cfa565b98975050505050505050565b6000602082840312156126b157600080fd5b8151611c5881611c25565b600060033d111561094d5760046000803e5060005160e01c90565b600060443d10156126e55790565b6040516003193d81016004833e81513d6001600160401b03816024840111818411171561271457505050505090565b828501915081518181111561272c5750505050505090565b843d87010160208285010111156127465750505050505090565b61275560208286010187611d69565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906127e290830184611cfa565b979650505050505050565b634e487b7160e01b600052602160045260246000fdfea264697066735822122083a0cb646d3a79c37ff36f6daf30e774e5f1995e939a8fe5ceee14375983b04864736f6c6343000812003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012b5760003560e01c8063715018a6116100ad578063bd919f7911610071578063bd919f79146102bb578063e985e9c5146102ce578063f242432a1461030a578063f2fde38b1461031d578063f5298aca1461033057600080fd5b8063715018a61461025457806384b0196e1461025c5780638da5cb5b14610277578063a22cb46514610288578063bd85b0391461029b57600080fd5b80632eb2c2d6116100f45780632eb2c2d6146101d957806338926b6d146101ec5780634e1273f4146101ff5780634f558e791461021f5780636b20c4541461024157600080fd5b8062fdd58e1461013057806301ffc9a71461015657806302fe5305146101795780630e89341c1461018e57806318b1b60e146101ae575b600080fd5b61014361013e366004611bfb565b610343565b6040519081526020015b60405180910390f35b610169610164366004611c3b565b6103de565b604051901515815260200161014d565b61018c610187366004611ca0565b61042e565b005b6101a161019c366004611ce1565b610479565b60405161014d9190611d40565b6007546101c1906001600160a01b031681565b6040516001600160a01b03909116815260200161014d565b61018c6101e7366004611e9c565b61050d565b61018c6101fa366004611f45565b610559565b61021261020d366004611f90565b6105d8565b60405161014d9190612095565b61016961022d366004611ce1565b600090815260066020526040902054151590565b61018c61024f3660046120a8565b610701565b61018c610749565b61026461075d565b60405161014d979695949392919061211b565b6000546001600160a01b03166101c1565b61018c61029636600461218b565b6107e6565b6101436102a9366004611ce1565b60009081526006602052604090205490565b61018c6102c93660046121c7565b6107f1565b6101696102dc3660046121e2565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b61018c610318366004612215565b61081b565b61018c61032b3660046121c7565b610860565b61018c61033e366004612279565b6108d9565b60006001600160a01b0383166103b35760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b5060008181526003602090815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b148061040f57506001600160e01b031982166303a24d0760e21b145b806103d857506301ffc9a760e01b6001600160e01b03198316146103d8565b610436610950565b61047582828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506109aa92505050565b5050565b606060058054610488906122ac565b80601f01602080910402602001604051908101604052809291908181526020018280546104b4906122ac565b80156105015780601f106104d657610100808354040283529160200191610501565b820191906000526020600020905b8154815290600101906020018083116104e457829003601f168201915b50505050509050919050565b6001600160a01b038516331480610529575061052985336102dc565b6105455760405162461bcd60e51b81526004016103aa906122e6565b61055285858585856109b6565b5050505050565b33610565848484610b63565b6105a55760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b60448201526064016103aa565b6105af8185610343565b6000036105d2576105d23385600160405180602001604052806000815250610c30565b50505050565b6060815183511461063d5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016103aa565b600083516001600160401b0381111561065857610658611d53565b604051908082528060200260200182016040528015610681578160200160208202803683370190505b50905060005b84518110156106f9576106cc8582815181106106a5576106a5612334565b60200260200101518583815181106106bf576106bf612334565b6020026020010151610343565b8282815181106106de576106de612334565b60209081029190910101526106f281612360565b9050610687565b509392505050565b6001600160a01b03831633148061071d575061071d83336102dc565b6107395760405162461bcd60e51b81526004016103aa906122e6565b610744838383610d55565b505050565b610751610950565b61075b6000610ef4565b565b6000606080828080836107917f4d61746368334f415400000000000000000000000000000000000000000000096001610f44565b6107bc7f31000000000000000000000000000000000000000000000000000000000000016002610f44565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b610475338383610fe8565b6107f9610950565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038516331480610837575061083785336102dc565b6108535760405162461bcd60e51b81526004016103aa906122e6565b61055285858585856110c8565b610868610950565b6001600160a01b0381166108cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103aa565b6108d681610ef4565b50565b6001600160a01b0383163314806108f557506108f583336102dc565b6109115760405162461bcd60e51b81526004016103aa906122e6565b610744838383611204565b60006020835110156109385761093183611320565b90506103d8565b8161094384826123bf565b5060ff90506103d8565b90565b6000546001600160a01b0316331461075b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103aa565b600561047582826123bf565b81518351146109d75760405162461bcd60e51b81526004016103aa9061247e565b6001600160a01b0384166109fd5760405162461bcd60e51b81526004016103aa906124c6565b33610a0c81878787878761135e565b60005b8451811015610af5576000858281518110610a2c57610a2c612334565b602002602001015190506000858381518110610a4a57610a4a612334565b60209081029190910181015160008481526003835260408082206001600160a01b038e168352909352919091205490915081811015610a9b5760405162461bcd60e51b81526004016103aa9061250b565b60008381526003602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290610ada908490612555565b9250508190555050505080610aee90612360565b9050610a0f565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610b45929190612568565b60405180910390a4610b5b8187878787876113d2565b505050505050565b600080610bcb7f1757418389a1c3422998e883b8eee9911cd6a643b940e6f09dbfcd817e0b39c6336040805160208101939093526001600160a01b0390911690820152606081018790526080016040516020818303038152906040528051906020012061152d565b600754604080516020601f88018190048102820181019092528681529293506001600160a01b0390911691610c1d91849190889088908190840183828082843760009201919091525061155a92505050565b6001600160a01b03161495945050505050565b6001600160a01b038416610c905760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016103aa565b336000610c9c85611576565b90506000610ca985611576565b9050610cba8360008985858961135e565b60008681526003602090815260408083206001600160a01b038b16845290915281208054879290610cec908490612555565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610d4c836000898989896115c1565b50505050505050565b6001600160a01b038316610d7b5760405162461bcd60e51b81526004016103aa90612596565b8051825114610d9c5760405162461bcd60e51b81526004016103aa9061247e565b6000339050610dbf8185600086866040518060200160405280600081525061135e565b60005b8351811015610e87576000848281518110610ddf57610ddf612334565b602002602001015190506000848381518110610dfd57610dfd612334565b60209081029190910181015160008481526003835260408082206001600160a01b038c168352909352919091205490915081811015610e4e5760405162461bcd60e51b81526004016103aa906125d9565b60009283526003602090815260408085206001600160a01b038b1686529091529092209103905580610e7f81612360565b915050610dc2565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051610ed8929190612568565b60405180910390a46040805160208101909152600090526105d2565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606060ff8314610f57576109318361167c565b818054610f63906122ac565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8f906122ac565b8015610fdc5780601f10610fb157610100808354040283529160200191610fdc565b820191906000526020600020905b815481529060010190602001808311610fbf57829003601f168201915b505050505090506103d8565b816001600160a01b0316836001600160a01b03160361105b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016103aa565b6001600160a01b03838116600081815260046020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166110ee5760405162461bcd60e51b81526004016103aa906124c6565b3360006110fa85611576565b9050600061110785611576565b905061111783898985858961135e565b60008681526003602090815260408083206001600160a01b038c1684529091529020548581101561115a5760405162461bcd60e51b81526004016103aa9061250b565b60008781526003602090815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290611199908490612555565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46111f9848a8a8a8a8a6115c1565b505050505050505050565b6001600160a01b03831661122a5760405162461bcd60e51b81526004016103aa90612596565b33600061123684611576565b9050600061124384611576565b90506112638387600085856040518060200160405280600081525061135e565b60008581526003602090815260408083206001600160a01b038a168452909152902054848110156112a65760405162461bcd60e51b81526004016103aa906125d9565b60008681526003602090815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4604080516020810190915260009052610d4c565b600080829050601f8151111561134b578260405163305a27a960e01b81526004016103aa9190611d40565b80516113568261261d565b179392505050565b6001600160a01b038516158061137b57506001600160a01b038416155b156113935761138e8686868686866116bb565b610b5b565b60405162461bcd60e51b8152602060048201526014602482015273151c985b9cd9995c881b9bdd08185b1b1bddd95960621b60448201526064016103aa565b6001600160a01b0384163b15610b5b5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906114169089908990889088908890600401612641565b6020604051808303816000875af1925050508015611451575060408051601f3d908101601f1916820190925261144e9181019061269f565b60015b6114fd5761145d6126bc565b806308c379a00361149657506114716126d7565b8061147c5750611498565b8060405162461bcd60e51b81526004016103aa9190611d40565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016103aa565b6001600160e01b0319811663bc197c8160e01b14610d4c5760405162461bcd60e51b81526004016103aa90612760565b60006103d861153a611834565b8360405161190160f01b8152600281019290925260228201526042902090565b60008060006115698585611964565b915091506106f9816119a9565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106115b0576115b0612334565b602090810291909101015292915050565b6001600160a01b0384163b15610b5b5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061160590899089908890889088906004016127a8565b6020604051808303816000875af1925050508015611640575060408051601f3d908101601f1916820190925261163d9181019061269f565b60015b61164c5761145d6126bc565b6001600160e01b0319811663f23a6e6160e01b14610d4c5760405162461bcd60e51b81526004016103aa90612760565b6060600061168983611af3565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6001600160a01b0385166117425760005b8351811015611740578281815181106116e7576116e7612334565b60200260200101516006600086848151811061170557611705612334565b60200260200101518152602001908152602001600020600082825461172a9190612555565b90915550611739905081612360565b90506116cc565b505b6001600160a01b038416610b5b5760005b8351811015610d4c57600084828151811061177057611770612334565b60200260200101519050600084838151811061178e5761178e612334565b60200260200101519050600060066000848152602001908152602001600020549050818110156118115760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f74604482015267616c537570706c7960c01b60648201526084016103aa565b6000928352600660205260409092209103905561182d81612360565b9050611753565b6000306001600160a01b037f00000000000000000000000083af5eed7115c72cf3262453ce8b9fe87ae2de3c1614801561188d57507f000000000000000000000000000000000000000000000000000000000000e70846145b156118b757507f53e1f8b7b5d086c93e8b9e8daef075efe22ff319c9fe40c2e9e95a2bbc3d0a9590565b61195f604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527fdfcbc26c698627aa53c2aa8b0fe06781f052da99115f03422fccef969085a5ec918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b905090565b600080825160410361199a5760208301516040840151606085015160001a61198e87828585611b1b565b945094505050506119a2565b506000905060025b9250929050565b60008160048111156119bd576119bd6127ed565b036119c55750565b60018160048111156119d9576119d96127ed565b03611a265760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016103aa565b6002816004811115611a3a57611a3a6127ed565b03611a875760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016103aa565b6003816004811115611a9b57611a9b6127ed565b036108d65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016103aa565b600060ff8216601f8111156103d857604051632cd44ac360e21b815260040160405180910390fd5b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611b525750600090506003611bd6565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611ba6573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611bcf57600060019250925050611bd6565b9150600090505b94509492505050565b80356001600160a01b0381168114611bf657600080fd5b919050565b60008060408385031215611c0e57600080fd5b611c1783611bdf565b946020939093013593505050565b6001600160e01b0319811681146108d657600080fd5b600060208284031215611c4d57600080fd5b8135611c5881611c25565b9392505050565b60008083601f840112611c7157600080fd5b5081356001600160401b03811115611c8857600080fd5b6020830191508360208285010111156119a257600080fd5b60008060208385031215611cb357600080fd5b82356001600160401b03811115611cc957600080fd5b611cd585828601611c5f565b90969095509350505050565b600060208284031215611cf357600080fd5b5035919050565b6000815180845260005b81811015611d2057602081850181015186830182015201611d04565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000611c586020830184611cfa565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715611d8e57611d8e611d53565b6040525050565b60006001600160401b03821115611dae57611dae611d53565b5060051b60200190565b600082601f830112611dc957600080fd5b81356020611dd682611d95565b604051611de38282611d69565b83815260059390931b8501820192828101915086841115611e0357600080fd5b8286015b84811015611e1e5780358352918301918301611e07565b509695505050505050565b600082601f830112611e3a57600080fd5b81356001600160401b03811115611e5357611e53611d53565b604051611e6a601f8301601f191660200182611d69565b818152846020838601011115611e7f57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215611eb457600080fd5b611ebd86611bdf565b9450611ecb60208701611bdf565b935060408601356001600160401b0380821115611ee757600080fd5b611ef389838a01611db8565b94506060880135915080821115611f0957600080fd5b611f1589838a01611db8565b93506080880135915080821115611f2b57600080fd5b50611f3888828901611e29565b9150509295509295909350565b600080600060408486031215611f5a57600080fd5b8335925060208401356001600160401b03811115611f7757600080fd5b611f8386828701611c5f565b9497909650939450505050565b60008060408385031215611fa357600080fd5b82356001600160401b0380821115611fba57600080fd5b818501915085601f830112611fce57600080fd5b81356020611fdb82611d95565b604051611fe88282611d69565b83815260059390931b850182019282810191508984111561200857600080fd5b948201945b8386101561202d5761201e86611bdf565b8252948201949082019061200d565b9650508601359250508082111561204357600080fd5b5061205085828601611db8565b9150509250929050565b600081518084526020808501945080840160005b8381101561208a5781518752958201959082019060010161206e565b509495945050505050565b602081526000611c58602083018461205a565b6000806000606084860312156120bd57600080fd5b6120c684611bdf565b925060208401356001600160401b03808211156120e257600080fd5b6120ee87838801611db8565b9350604086013591508082111561210457600080fd5b5061211186828701611db8565b9150509250925092565b60ff60f81b8816815260e06020820152600061213a60e0830189611cfa565b828103604084015261214c8189611cfa565b606084018890526001600160a01b038716608085015260a0840186905283810360c0850152905061217d818561205a565b9a9950505050505050505050565b6000806040838503121561219e57600080fd5b6121a783611bdf565b9150602083013580151581146121bc57600080fd5b809150509250929050565b6000602082840312156121d957600080fd5b611c5882611bdf565b600080604083850312156121f557600080fd5b6121fe83611bdf565b915061220c60208401611bdf565b90509250929050565b600080600080600060a0868803121561222d57600080fd5b61223686611bdf565b945061224460208701611bdf565b9350604086013592506060860135915060808601356001600160401b0381111561226d57600080fd5b611f3888828901611e29565b60008060006060848603121561228e57600080fd5b61229784611bdf565b95602085013595506040909401359392505050565b600181811c908216806122c057607f821691505b6020821081036122e057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016123725761237261234a565b5060010190565b601f82111561074457600081815260208120601f850160051c810160208610156123a05750805b601f850160051c820191505b81811015610b5b578281556001016123ac565b81516001600160401b038111156123d8576123d8611d53565b6123ec816123e684546122ac565b84612379565b602080601f83116001811461242157600084156124095750858301515b600019600386901b1c1916600185901b178555610b5b565b600085815260208120601f198616915b8281101561245057888601518255948401946001909101908401612431565b508582101561246e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b808201808211156103d8576103d861234a565b60408152600061257b604083018561205a565b828103602084015261258d818561205a565b95945050505050565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b805160208083015191908110156122e05760001960209190910360031b1b16919050565b6001600160a01b0386811682528516602082015260a06040820181905260009061266d9083018661205a565b828103606084015261267f818661205a565b905082810360808401526126938185611cfa565b98975050505050505050565b6000602082840312156126b157600080fd5b8151611c5881611c25565b600060033d111561094d5760046000803e5060005160e01c90565b600060443d10156126e55790565b6040516003193d81016004833e81513d6001600160401b03816024840111818411171561271457505050505090565b828501915081518181111561272c5750505050505090565b843d87010160208285010111156127465750505050505090565b61275560208286010187611d69565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906127e290830184611cfa565b979650505050505050565b634e487b7160e01b600052602160045260246000fdfea264697066735822122083a0cb646d3a79c37ff36f6daf30e774e5f1995e939a8fe5ceee14375983b04864736f6c63430008120033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : uri_ (string):

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

85881:1688:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67585:230;;;;;;:::i;:::-;;:::i;:::-;;;597:25:1;;;585:2;570:18;67585:230:0;;;;;;;;66608:310;;;;;;:::i;:::-;;:::i;:::-;;;1184:14:1;;1177:22;1159:41;;1147:2;1132:18;66608:310:0;1019:187:1;86312:89:0;;;;;;:::i;:::-;;:::i;:::-;;67329:105;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;85967:29::-;;;;;-1:-1:-1;;;;;85967:29:0;;;;;;-1:-1:-1;;;;;2982:32:1;;;2964:51;;2952:2;2937:18;85967:29:0;2818:203:1;69503:438:0;;;;;;:::i;:::-;;:::i;86409:340::-;;;;;;:::i;:::-;;:::i;67981:499::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;83781:122::-;;;;;;:::i;:::-;83838:4;83659:16;;;:12;:16;;;;;;-1:-1:-1;;;83781:122:0;85550:324;;;;;;:::i;:::-;;:::i;2660:103::-;;;:::i;46557:657::-;;;:::i;:::-;;;;;;;;;;;;;:::i;2019:87::-;2065:7;2092:6;-1:-1:-1;;;;;2092:6:0;2019:87;;68553:155;;;;;;:::i;:::-;;:::i;83570:113::-;;;;;;:::i;:::-;83632:7;83659:16;;;:12;:16;;;;;;;83570:113;86200:104;;;;;;:::i;:::-;;:::i;68780:168::-;;;;;;:::i;:::-;-1:-1:-1;;;;;68903:27:0;;;68879:4;68903:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;68780:168;69020:406;;;;;;:::i;:::-;;:::i;2918:201::-;;;;;;:::i;:::-;;:::i;85250:292::-;;;;;;:::i;:::-;;:::i;67585:230::-;67671:7;-1:-1:-1;;;;;67699:21:0;;67691:76;;;;-1:-1:-1;;;67691:76:0;;11786:2:1;67691:76:0;;;11768:21:1;11825:2;11805:18;;;11798:30;11864:34;11844:18;;;11837:62;-1:-1:-1;;;11915:18:1;;;11908:40;11965:19;;67691:76:0;;;;;;;;;-1:-1:-1;67785:13:0;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;67785:22:0;;;;;;;;;;67585:230;;;;;:::o;66608:310::-;66710:4;-1:-1:-1;;;;;;66747:41:0;;-1:-1:-1;;;66747:41:0;;:110;;-1:-1:-1;;;;;;;66805:52:0;;-1:-1:-1;;;66805:52:0;66747:110;:163;;;-1:-1:-1;;;;;;;;;;65643:40:0;;;66874:36;65534:157;86312:89;1905:13;:11;:13::i;:::-;86380::::1;86388:4;;86380:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;86380:7:0::1;::::0;-1:-1:-1;;;86380:13:0:i:1;:::-;86312:89:::0;;:::o;67329:105::-;67389:13;67422:4;67415:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67329:105;;;:::o;69503:438::-;-1:-1:-1;;;;;69736:20:0;;808:10;69736:20;;:60;;-1:-1:-1;69760:36:0;69777:4;808:10;68780:168;:::i;69760:36::-;69714:156;;;;-1:-1:-1;;;69714:156:0;;;;;;;:::i;:::-;69881:52;69904:4;69910:2;69914:3;69919:7;69928:4;69881:22;:52::i;:::-;69503:438;;;;;:::o;86409:340::-;808:10;86534:41;86556:7;86565:9;;86534:21;:41::i;:::-;86529:102;;86592:27;;-1:-1:-1;;;86592:27:0;;12997:2:1;86592:27:0;;;12979:21:1;13036:2;13016:18;;;13009:30;-1:-1:-1;;;13055:18:1;;;13048:47;13112:18;;86592:27:0;12795:341:1;86529:102:0;86647:26;86657:6;86665:7;86647:9;:26::i;:::-;86677:1;86647:31;86643:99;;86695:35;808:10;86715:7;86724:1;86695:35;;;;;;;;;;;;:5;:35::i;:::-;86476:273;86409:340;;;:::o;67981:499::-;68117:16;68173:3;:10;68154:8;:15;:29;68146:83;;;;-1:-1:-1;;;68146:83:0;;13343:2:1;68146:83:0;;;13325:21:1;13382:2;13362:18;;;13355:30;13421:34;13401:18;;;13394:62;-1:-1:-1;;;13472:18:1;;;13465:39;13521:19;;68146:83:0;13141:405:1;68146:83:0;68242:30;68289:8;:15;-1:-1:-1;;;;;68275:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68275:30:0;;68242:63;;68323:9;68318:122;68342:8;:15;68338:1;:19;68318:122;;;68398:30;68408:8;68417:1;68408:11;;;;;;;;:::i;:::-;;;;;;;68421:3;68425:1;68421:6;;;;;;;;:::i;:::-;;;;;;;68398:9;:30::i;:::-;68379:13;68393:1;68379:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;68359:3;;;:::i;:::-;;;68318:122;;;-1:-1:-1;68459:13:0;67981:499;-1:-1:-1;;;67981:499:0:o;85550:324::-;-1:-1:-1;;;;;85681:23:0;;808:10;85681:23;;:66;;-1:-1:-1;85708:39:0;85725:7;808:10;68780:168;:::i;85708:39::-;85659:162;;;;-1:-1:-1;;;85659:162:0;;;;;;;:::i;:::-;85834:32;85845:7;85854:3;85859:6;85834:10;:32::i;:::-;85550:324;;;:::o;2660:103::-;1905:13;:11;:13::i;:::-;2725:30:::1;2752:1;2725:18;:30::i;:::-;2660:103::o:0;46557:657::-;46678:13;46706:18;;46678:13;;;46706:18;46980:41;:5;47007:13;46980:26;:41::i;:::-;47036:47;:8;47066:16;47036:29;:47::i;:::-;47179:16;;;47162:1;47179:16;;;;;;;;;-1:-1:-1;;;46927:279:0;;;-1:-1:-1;46927:279:0;;-1:-1:-1;47098:13:0;;-1:-1:-1;47134:4:0;;-1:-1:-1;47162:1:0;-1:-1:-1;47179:16:0;-1:-1:-1;46927:279:0;-1:-1:-1;46557:657:0:o;68553:155::-;68648:52;808:10;68681:8;68691;68648:18;:52::i;86200:104::-;1905:13;:11;:13::i;:::-;86273:14:::1;:23:::0;;-1:-1:-1;;;;;;86273:23:0::1;-1:-1:-1::0;;;;;86273:23:0;;;::::1;::::0;;;::::1;::::0;;86200:104::o;69020:406::-;-1:-1:-1;;;;;69228:20:0;;808:10;69228:20;;:60;;-1:-1:-1;69252:36:0;69269:4;808:10;68780:168;:::i;69252:36::-;69206:156;;;;-1:-1:-1;;;69206:156:0;;;;;;;:::i;:::-;69373:45;69391:4;69397:2;69401;69405:6;69413:4;69373:17;:45::i;2918:201::-;1905:13;:11;:13::i;:::-;-1:-1:-1;;;;;3007:22:0;::::1;2999:73;;;::::0;-1:-1:-1;;;2999:73:0;;14157:2:1;2999:73:0::1;::::0;::::1;14139:21:1::0;14196:2;14176:18;;;14169:30;14235:34;14215:18;;;14208:62;-1:-1:-1;;;14286:18:1;;;14279:36;14332:19;;2999:73:0::1;13955:402:1::0;2999:73:0::1;3083:28;3102:8;3083:18;:28::i;:::-;2918:201:::0;:::o;85250:292::-;-1:-1:-1;;;;;85356:23:0;;808:10;85356:23;;:66;;-1:-1:-1;85383:39:0;85400:7;808:10;68780:168;:::i;85383:39::-;85334:162;;;;-1:-1:-1;;;85334:162:0;;;;;;;:::i;:::-;85509:25;85515:7;85524:2;85528:5;85509;:25::i;39525:348::-;39621:11;39671:2;39655:5;39649:19;:24;39645:221;;;39697:20;39711:5;39697:13;:20::i;:::-;39690:27;;;;39645:221;39776:5;39750:46;39791:5;39776;39750:46;:::i;:::-;-1:-1:-1;37954:66:0;;-1:-1:-1;39811:43:0;;35884:207;36063:10;35884:207::o;2184:132::-;2065:7;2092:6;-1:-1:-1;;;;;2092:6:0;808:10;2248:23;2240:68;;;;-1:-1:-1;;;2240:68:0;;16768:2:1;2240:68:0;;;16750:21:1;;;16787:18;;;16780:30;16846:34;16826:18;;;16819:62;16898:18;;2240:68:0;16566:356:1;73727:88:0;73794:4;:13;73801:6;73794:4;:13;:::i;71737:1146::-;71964:7;:14;71950:3;:10;:28;71942:81;;;;-1:-1:-1;;;71942:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;72042:16:0;;72034:66;;;;-1:-1:-1;;;72034:66:0;;;;;;;:::i;:::-;808:10;72157:60;808:10;72188:4;72194:2;72198:3;72203:7;72212:4;72157:20;:60::i;:::-;72235:9;72230:421;72254:3;:10;72250:1;:14;72230:421;;;72286:10;72299:3;72303:1;72299:6;;;;;;;;:::i;:::-;;;;;;;72286:19;;72320:14;72337:7;72345:1;72337:10;;;;;;;;:::i;:::-;;;;;;;;;;;;72364:19;72386:13;;;:9;:13;;;;;;-1:-1:-1;;;;;72386:19:0;;;;;;;;;;;;72337:10;;-1:-1:-1;72428:21:0;;;;72420:76;;;;-1:-1:-1;;;72420:76:0;;;;;;;:::i;:::-;72540:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;72540:19:0;;;;;;;;;;72562:20;;;72540:42;;72612:17;;;;;;;:27;;72562:20;;72540:13;72612:27;;72562:20;;72612:27;:::i;:::-;;;;;;;;72271:380;;;72266:3;;;;:::i;:::-;;;72230:421;;;;72698:2;-1:-1:-1;;;;;72668:47:0;72692:4;-1:-1:-1;;;;;72668:47:0;72682:8;-1:-1:-1;;;;;72668:47:0;;72702:3;72707:7;72668:47;;;;;;;:::i;:::-;;;;;;;;72800:75;72836:8;72846:4;72852:2;72856:3;72861:7;72870:4;72800:35;:75::i;:::-;71931:952;71737:1146;;;;;:::o;86757:339::-;86878:4;;86912:108;86060:50;808:10;86953:55;;;;;;18955:25:1;;;;-1:-1:-1;;;;;19016:32:1;;;18996:18;;;18989:60;19065:18;;;19058:34;;;18928:18;;86953:55:0;;;;;;;;;;;;86943:66;;;;;;86912:16;:108::i;:::-;87074:14;;87038:32;;;;;;;;;;;;;;;;;;;;;;86895:125;;-1:-1:-1;;;;;;87074:14:0;;;;87038:32;;86895:125;;87038:32;87060:9;;;;;;87038:32;;87060:9;;;;87038:32;;;;;;;;;-1:-1:-1;87038:13:0;;-1:-1:-1;;;87038:32:0:i;:::-;-1:-1:-1;;;;;87038:50:0;;;86757:339;-1:-1:-1;;;;;86757:339:0:o;74201:686::-;-1:-1:-1;;;;;74311:16:0;;74303:62;;;;-1:-1:-1;;;74303:62:0;;19305:2:1;74303:62:0;;;19287:21:1;19344:2;19324:18;;;19317:30;19383:34;19363:18;;;19356:62;-1:-1:-1;;;19434:18:1;;;19427:31;19475:19;;74303:62:0;19103:397:1;74303:62:0;808:10;74378:16;74443:21;74461:2;74443:17;:21::i;:::-;74420:44;;74475:24;74502:25;74520:6;74502:17;:25::i;:::-;74475:52;;74540:66;74561:8;74579:1;74583:2;74587:3;74592:7;74601:4;74540:20;:66::i;:::-;74619:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;74619:17:0;;;;;;;;;:27;;74640:6;;74619:13;:27;;74640:6;;74619:27;:::i;:::-;;;;-1:-1:-1;;74662:52:0;;;19679:25:1;;;19735:2;19720:18;;19713:34;;;-1:-1:-1;;;;;74662:52:0;;;;74695:1;;74662:52;;;;;;19652:18:1;74662:52:0;;;;;;;74805:74;74836:8;74854:1;74858:2;74862;74866:6;74874:4;74805:30;:74::i;:::-;74292:595;;;74201:686;;;;:::o;77425:935::-;-1:-1:-1;;;;;77543:18:0;;77535:66;;;;-1:-1:-1;;;77535:66:0;;;;;;;:::i;:::-;77634:7;:14;77620:3;:10;:28;77612:81;;;;-1:-1:-1;;;77612:81:0;;;;;;;:::i;:::-;77706:16;808:10;77706:31;;77750:66;77771:8;77781:4;77795:1;77799:3;77804:7;77750:66;;;;;;;;;;;;:20;:66::i;:::-;77834:9;77829:373;77853:3;:10;77849:1;:14;77829:373;;;77885:10;77898:3;77902:1;77898:6;;;;;;;;:::i;:::-;;;;;;;77885:19;;77919:14;77936:7;77944:1;77936:10;;;;;;;;:::i;:::-;;;;;;;;;;;;77963:19;77985:13;;;:9;:13;;;;;;-1:-1:-1;;;;;77985:19:0;;;;;;;;;;;;77936:10;;-1:-1:-1;78027:21:0;;;;78019:70;;;;-1:-1:-1;;;78019:70:0;;;;;;;:::i;:::-;78133:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;78133:19:0;;;;;;;;;;78155:20;;78133:42;;77865:3;;;;:::i;:::-;;;;77829:373;;;;78257:1;-1:-1:-1;;;;;78219:55:0;78243:4;-1:-1:-1;;;;;78219:55:0;78233:8;-1:-1:-1;;;;;78219:55:0;;78261:3;78266:7;78219:55;;;;;;;:::i;:::-;;;;;;;;78287:65;;;;;;;;;78331:1;78287:65;;;71737:1146;3279:191;3353:16;3372:6;;-1:-1:-1;;;;;3389:17:0;;;-1:-1:-1;;;;;;3389:17:0;;;;;;3422:40;;3372:6;;;;;;;3422:40;;3353:16;3422:40;3342:128;3279:191;:::o;40009:274::-;40103:13;37954:66;40133:47;;40129:147;;40204:15;40213:5;40204:8;:15::i;40129:147::-;40259:5;40252:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78503:297;78624:8;-1:-1:-1;;;;;78615:17:0;:5;-1:-1:-1;;;;;78615:17:0;;78607:71;;;;-1:-1:-1;;;78607:71:0;;20769:2:1;78607:71:0;;;20751:21:1;20808:2;20788:18;;;20781:30;20847:34;20827:18;;;20820:62;-1:-1:-1;;;20898:18:1;;;20891:39;20947:19;;78607:71:0;20567:405:1;78607:71:0;-1:-1:-1;;;;;78689:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;78689:46:0;;;;;;;;;;78751:41;;1159::1;;;78751::0;;1132:18:1;78751:41:0;;;;;;;78503:297;;;:::o;70405:974::-;-1:-1:-1;;;;;70593:16:0;;70585:66;;;;-1:-1:-1;;;70585:66:0;;;;;;;:::i;:::-;808:10;70664:16;70729:21;70747:2;70729:17;:21::i;:::-;70706:44;;70761:24;70788:25;70806:6;70788:17;:25::i;:::-;70761:52;;70826:60;70847:8;70857:4;70863:2;70867:3;70872:7;70881:4;70826:20;:60::i;:::-;70899:19;70921:13;;;:9;:13;;;;;;;;-1:-1:-1;;;;;70921:19:0;;;;;;;;;;70959:21;;;;70951:76;;;;-1:-1:-1;;;70951:76:0;;;;;;;:::i;:::-;71063:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;71063:19:0;;;;;;;;;;71085:20;;;71063:42;;71127:17;;;;;;;:27;;71085:20;;71063:13;71127:27;;71085:20;;71127:27;:::i;:::-;;;;-1:-1:-1;;71172:46:0;;;19679:25:1;;;19735:2;19720:18;;19713:34;;;-1:-1:-1;;;;;71172:46:0;;;;;;;;;;;;;;19652:18:1;71172:46:0;;;;;;;71303:68;71334:8;71344:4;71350:2;71354;71358:6;71366:4;71303:30;:68::i;:::-;70574:805;;;;70405:974;;;;;:::o;76401:774::-;-1:-1:-1;;;;;76494:18:0;;76486:66;;;;-1:-1:-1;;;76486:66:0;;;;;;;:::i;:::-;808:10;76565:16;76630:21;76648:2;76630:17;:21::i;:::-;76607:44;;76662:24;76689:25;76707:6;76689:17;:25::i;:::-;76662:52;;76727:66;76748:8;76758:4;76772:1;76776:3;76781:7;76727:66;;;;;;;;;;;;:20;:66::i;:::-;76806:19;76828:13;;;:9;:13;;;;;;;;-1:-1:-1;;;;;76828:19:0;;;;;;;;;;76866:21;;;;76858:70;;;;-1:-1:-1;;;76858:70:0;;;;;;;:::i;:::-;76964:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;76964:19:0;;;;;;;;;;;;76986:20;;;76964:42;;77035:54;;19679:25:1;;;19720:18;;;19713:34;;;76964:19:0;;77035:54;;;;;;19652:18:1;77035:54:0;;;;;;;77102:65;;;;;;;;;77146:1;77102:65;;;71737:1146;38282:292;38347:11;38371:17;38397:3;38371:30;;38430:2;38416:4;:11;:16;38412:74;;;38470:3;38456:18;;-1:-1:-1;;;38456:18:0;;;;;;;;:::i;38412:74::-;38553:11;;38536:13;38553:4;38536:13;:::i;:::-;38528:36;;38282:292;-1:-1:-1;;;38282:292:0:o;87104:462::-;-1:-1:-1;;;;;87363:18:0;;;;:38;;-1:-1:-1;;;;;;87385:16:0;;;87363:38;87359:200;;;87418:66;87445:8;87455:4;87461:2;87465:3;87470:7;87479:4;87418:26;:66::i;:::-;87359:200;;;87517:30;;-1:-1:-1;;;87517:30:0;;21481:2:1;87517:30:0;;;21463:21:1;21520:2;21500:18;;;21493:30;-1:-1:-1;;;21539:18:1;;;21532:50;21599:18;;87517:30:0;21279:344:1;81914:813:0;-1:-1:-1;;;;;82154:13:0;;56903:19;:23;82150:570;;82190:79;;-1:-1:-1;;;82190:79:0;;-1:-1:-1;;;;;82190:43:0;;;;;:79;;82234:8;;82244:4;;82250:3;;82255:7;;82264:4;;82190:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82190:79:0;;;;;;;;-1:-1:-1;;82190:79:0;;;;;;;;;;;;:::i;:::-;;;82186:523;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;82582:6;82575:14;;-1:-1:-1;;;82575:14:0;;;;;;;;:::i;82186:523::-;;;82631:62;;-1:-1:-1;;;82631:62:0;;23776:2:1;82631:62:0;;;23758:21:1;23815:2;23795:18;;;23788:30;23854:34;23834:18;;;23827:62;-1:-1:-1;;;23905:18:1;;;23898:50;23965:19;;82631:62:0;23574:416:1;82186:523:0;-1:-1:-1;;;;;;82351:60:0;;-1:-1:-1;;;82351:60:0;82347:159;;82436:50;;-1:-1:-1;;;82436:50:0;;;;;;;:::i;46295:167::-;46372:7;46399:55;46421:20;:18;:20::i;:::-;46443:10;31832:4;31826:11;-1:-1:-1;;;31851:23:0;;31904:4;31895:14;;31888:39;;;;31957:4;31948:14;;31941:34;32012:4;31997:20;;;31629:406;26845:231;26923:7;26944:17;26963:18;26985:27;26996:4;27002:9;26985:10;:27::i;:::-;26943:69;;;;27023:18;27035:5;27023:11;:18::i;82735:198::-;82855:16;;;82869:1;82855:16;;;;;;;;;82801;;82830:22;;82855:16;;;;;;;;;;;;-1:-1:-1;82855:16:0;82830:41;;82893:7;82882:5;82888:1;82882:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;82920:5;82735:198;-1:-1:-1;;82735:198:0:o;81162:744::-;-1:-1:-1;;;;;81377:13:0;;56903:19;:23;81373:526;;81413:72;;-1:-1:-1;;;81413:72:0;;-1:-1:-1;;;;;81413:38:0;;;;;:72;;81452:8;;81462:4;;81468:2;;81472:6;;81480:4;;81413:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;81413:72:0;;;;;;;;-1:-1:-1;;81413:72:0;;;;;;;;;;;;:::i;:::-;;;81409:479;;;;:::i;:::-;-1:-1:-1;;;;;;81535:55:0;;-1:-1:-1;;;81535:55:0;81531:154;;81615:50;;-1:-1:-1;;;81615:50:0;;;;;;;:::i;38663:415::-;38722:13;38748:11;38762:16;38773:4;38762:10;:16::i;:::-;38888:14;;;38899:2;38888:14;;;;;;;;;38748:30;;-1:-1:-1;38868:17:0;;38888:14;;;;;;;;;-1:-1:-1;;;38981:16:0;;;-1:-1:-1;39027:4:0;39018:14;;39011:28;;;;-1:-1:-1;38981:16:0;38663:415::o;83978:931::-;-1:-1:-1;;;;;84300:18:0;;84296:160;;84340:9;84335:110;84359:3;:10;84355:1;:14;84335:110;;;84419:7;84427:1;84419:10;;;;;;;;:::i;:::-;;;;;;;84395:12;:20;84408:3;84412:1;84408:6;;;;;;;;:::i;:::-;;;;;;;84395:20;;;;;;;;;;;;:34;;;;;;;:::i;:::-;;;;-1:-1:-1;84371:3:0;;-1:-1:-1;84371:3:0;;:::i;:::-;;;84335:110;;;;84296:160;-1:-1:-1;;;;;84472:16:0;;84468:434;;84510:9;84505:386;84529:3;:10;84525:1;:14;84505:386;;;84565:10;84578:3;84582:1;84578:6;;;;;;;;:::i;:::-;;;;;;;84565:19;;84603:14;84620:7;84628:1;84620:10;;;;;;;;:::i;:::-;;;;;;;84603:27;;84649:14;84666:12;:16;84679:2;84666:16;;;;;;;;;;;;84649:33;;84719:6;84709;:16;;84701:69;;;;-1:-1:-1;;;84701:69:0;;25172:2:1;84701:69:0;;;25154:21:1;25211:2;25191:18;;;25184:30;25250:34;25230:18;;;25223:62;-1:-1:-1;;;25301:18:1;;;25294:38;25349:19;;84701:69:0;24970:404:1;84701:69:0;84822:16;;;;:12;:16;;;;;;84841:15;;84822:34;;84541:3;;;:::i;:::-;;;84505:386;;45195:268;45248:7;45280:4;-1:-1:-1;;;;;45289:11:0;45272:28;;:63;;;;;45321:14;45304:13;:31;45272:63;45268:188;;;-1:-1:-1;45359:22:0;;45195:268::o;45268:188::-;45421:23;45563:81;;;43387:95;45563:81;;;26886:25:1;45586:11:0;26927:18:1;;;26920:34;;;;45599:14:0;26970:18:1;;;26963:34;45615:13:0;27013:18:1;;;27006:34;45638:4:0;27056:19:1;;;27049:61;45526:7:0;;26858:19:1;;45563:81:0;;;;;;;;;;;;45553:92;;;;;;45546:99;;45471:182;;45421:23;45414:30;;45195:268;:::o;25296:747::-;25377:7;25386:12;25415:9;:16;25435:2;25415:22;25411:625;;25759:4;25744:20;;25738:27;25809:4;25794:20;;25788:27;25867:4;25852:20;;25846:27;25454:9;25838:36;25910:25;25921:4;25838:36;25738:27;25788;25910:10;:25::i;:::-;25903:32;;;;;;;;;25411:625;-1:-1:-1;25984:1:0;;-1:-1:-1;25988:35:0;25411:625;25296:747;;;;;:::o;23689:521::-;23767:20;23758:5;:29;;;;;;;;:::i;:::-;;23754:449;;23689:521;:::o;23754:449::-;23865:29;23856:5;:38;;;;;;;;:::i;:::-;;23852:351;;23911:34;;-1:-1:-1;;;23911:34:0;;25713:2:1;23911:34:0;;;25695:21:1;25752:2;25732:18;;;25725:30;25791:26;25771:18;;;25764:54;25835:18;;23911:34:0;25511:348:1;23852:351:0;23976:35;23967:5;:44;;;;;;;;:::i;:::-;;23963:240;;24028:41;;-1:-1:-1;;;24028:41:0;;26066:2:1;24028:41:0;;;26048:21:1;26105:2;26085:18;;;26078:30;26144:33;26124:18;;;26117:61;26195:18;;24028:41:0;25864:355:1;23963:240:0;24100:30;24091:5;:39;;;;;;;;:::i;:::-;;24087:116;;24147:44;;-1:-1:-1;;;24147:44:0;;26426:2:1;24147:44:0;;;26408:21:1;26465:2;26445:18;;;26438:30;26504:34;26484:18;;;26477:62;-1:-1:-1;;;26555:18:1;;;26548:32;26597:19;;24147:44:0;26224:398:1;39155:251:0;39216:7;39289:4;39253:40;;39317:2;39308:11;;39304:71;;;39343:20;;-1:-1:-1;;;39343:20:0;;;;;;;;;;;28229:1477;28317:7;;29251:66;29238:79;;29234:163;;;-1:-1:-1;29350:1:0;;-1:-1:-1;29354:30:0;29334:51;;29234:163;29511:24;;;29494:14;29511:24;;;;;;;;;27348:25:1;;;27421:4;27409:17;;27389:18;;;27382:45;;;;27443:18;;;27436:34;;;27486:18;;;27479:34;;;29511:24:0;;27320:19:1;;29511:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;29511:24:0;;-1:-1:-1;;29511:24:0;;;-1:-1:-1;;;;;;;29550:20:0;;29546:103;;29603:1;29607:29;29587:50;;;;;;;29546:103;29669:6;-1:-1:-1;29677:20:0;;-1:-1:-1;28229:1477:0;;;;;;;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:254::-;260:6;268;321:2;309:9;300:7;296:23;292:32;289:52;;;337:1;334;327:12;289:52;360:29;379:9;360:29;:::i;:::-;350:39;436:2;421:18;;;;408:32;;-1:-1:-1;;;192:254:1:o;633:131::-;-1:-1:-1;;;;;;707:32:1;;697:43;;687:71;;754:1;751;744:12;769:245;827:6;880:2;868:9;859:7;855:23;851:32;848:52;;;896:1;893;886:12;848:52;935:9;922:23;954:30;978:5;954:30;:::i;:::-;1003:5;769:245;-1:-1:-1;;;769:245:1:o;1211:348::-;1263:8;1273:6;1327:3;1320:4;1312:6;1308:17;1304:27;1294:55;;1345:1;1342;1335:12;1294:55;-1:-1:-1;1368:20:1;;-1:-1:-1;;;;;1400:30:1;;1397:50;;;1443:1;1440;1433:12;1397:50;1480:4;1472:6;1468:17;1456:29;;1532:3;1525:4;1516:6;1508;1504:19;1500:30;1497:39;1494:59;;;1549:1;1546;1539:12;1564:411;1635:6;1643;1696:2;1684:9;1675:7;1671:23;1667:32;1664:52;;;1712:1;1709;1702:12;1664:52;1752:9;1739:23;-1:-1:-1;;;;;1777:6:1;1774:30;1771:50;;;1817:1;1814;1807:12;1771:50;1856:59;1907:7;1898:6;1887:9;1883:22;1856:59;:::i;:::-;1934:8;;1830:85;;-1:-1:-1;1564:411:1;-1:-1:-1;;;;1564:411:1:o;1980:180::-;2039:6;2092:2;2080:9;2071:7;2067:23;2063:32;2060:52;;;2108:1;2105;2098:12;2060:52;-1:-1:-1;2131:23:1;;1980:180;-1:-1:-1;1980:180:1:o;2165:423::-;2207:3;2245:5;2239:12;2272:6;2267:3;2260:19;2297:1;2307:162;2321:6;2318:1;2315:13;2307:162;;;2383:4;2439:13;;;2435:22;;2429:29;2411:11;;;2407:20;;2400:59;2336:12;2307:162;;;2311:3;2514:1;2507:4;2498:6;2493:3;2489:16;2485:27;2478:38;2577:4;2570:2;2566:7;2561:2;2553:6;2549:15;2545:29;2540:3;2536:39;2532:50;2525:57;;;2165:423;;;;:::o;2593:220::-;2742:2;2731:9;2724:21;2705:4;2762:45;2803:2;2792:9;2788:18;2780:6;2762:45;:::i;3026:127::-;3087:10;3082:3;3078:20;3075:1;3068:31;3118:4;3115:1;3108:15;3142:4;3139:1;3132:15;3158:249;3268:2;3249:13;;-1:-1:-1;;3245:27:1;3233:40;;-1:-1:-1;;;;;3288:34:1;;3324:22;;;3285:62;3282:88;;;3350:18;;:::i;:::-;3386:2;3379:22;-1:-1:-1;;3158:249:1:o;3412:183::-;3472:4;-1:-1:-1;;;;;3497:6:1;3494:30;3491:56;;;3527:18;;:::i;:::-;-1:-1:-1;3572:1:1;3568:14;3584:4;3564:25;;3412:183::o;3600:724::-;3654:5;3707:3;3700:4;3692:6;3688:17;3684:27;3674:55;;3725:1;3722;3715:12;3674:55;3761:6;3748:20;3787:4;3810:43;3850:2;3810:43;:::i;:::-;3882:2;3876:9;3894:31;3922:2;3914:6;3894:31;:::i;:::-;3960:18;;;4052:1;4048:10;;;;4036:23;;4032:32;;;3994:15;;;;-1:-1:-1;4076:15:1;;;4073:35;;;4104:1;4101;4094:12;4073:35;4140:2;4132:6;4128:15;4152:142;4168:6;4163:3;4160:15;4152:142;;;4234:17;;4222:30;;4272:12;;;;4185;;4152:142;;;-1:-1:-1;4312:6:1;3600:724;-1:-1:-1;;;;;;3600:724:1:o;4329:555::-;4371:5;4424:3;4417:4;4409:6;4405:17;4401:27;4391:55;;4442:1;4439;4432:12;4391:55;4478:6;4465:20;-1:-1:-1;;;;;4500:2:1;4497:26;4494:52;;;4526:18;;:::i;:::-;4575:2;4569:9;4587:67;4642:2;4623:13;;-1:-1:-1;;4619:27:1;4648:4;4615:38;4569:9;4587:67;:::i;:::-;4678:2;4670:6;4663:18;4724:3;4717:4;4712:2;4704:6;4700:15;4696:26;4693:35;4690:55;;;4741:1;4738;4731:12;4690:55;4805:2;4798:4;4790:6;4786:17;4779:4;4771:6;4767:17;4754:54;4852:1;4828:15;;;4845:4;4824:26;4817:37;;;;4832:6;4329:555;-1:-1:-1;;;4329:555:1:o;4889:943::-;5043:6;5051;5059;5067;5075;5128:3;5116:9;5107:7;5103:23;5099:33;5096:53;;;5145:1;5142;5135:12;5096:53;5168:29;5187:9;5168:29;:::i;:::-;5158:39;;5216:38;5250:2;5239:9;5235:18;5216:38;:::i;:::-;5206:48;;5305:2;5294:9;5290:18;5277:32;-1:-1:-1;;;;;5369:2:1;5361:6;5358:14;5355:34;;;5385:1;5382;5375:12;5355:34;5408:61;5461:7;5452:6;5441:9;5437:22;5408:61;:::i;:::-;5398:71;;5522:2;5511:9;5507:18;5494:32;5478:48;;5551:2;5541:8;5538:16;5535:36;;;5567:1;5564;5557:12;5535:36;5590:63;5645:7;5634:8;5623:9;5619:24;5590:63;:::i;:::-;5580:73;;5706:3;5695:9;5691:19;5678:33;5662:49;;5736:2;5726:8;5723:16;5720:36;;;5752:1;5749;5742:12;5720:36;;5775:51;5818:7;5807:8;5796:9;5792:24;5775:51;:::i;:::-;5765:61;;;4889:943;;;;;;;;:::o;5837:478::-;5916:6;5924;5932;5985:2;5973:9;5964:7;5960:23;5956:32;5953:52;;;6001:1;5998;5991:12;5953:52;6037:9;6024:23;6014:33;;6098:2;6087:9;6083:18;6070:32;-1:-1:-1;;;;;6117:6:1;6114:30;6111:50;;;6157:1;6154;6147:12;6111:50;6196:59;6247:7;6238:6;6227:9;6223:22;6196:59;:::i;:::-;5837:478;;6274:8;;-1:-1:-1;6170:85:1;;-1:-1:-1;;;;5837:478:1:o;6320:1208::-;6438:6;6446;6499:2;6487:9;6478:7;6474:23;6470:32;6467:52;;;6515:1;6512;6505:12;6467:52;6555:9;6542:23;-1:-1:-1;;;;;6625:2:1;6617:6;6614:14;6611:34;;;6641:1;6638;6631:12;6611:34;6679:6;6668:9;6664:22;6654:32;;6724:7;6717:4;6713:2;6709:13;6705:27;6695:55;;6746:1;6743;6736:12;6695:55;6782:2;6769:16;6804:4;6827:43;6867:2;6827:43;:::i;:::-;6899:2;6893:9;6911:31;6939:2;6931:6;6911:31;:::i;:::-;6977:18;;;7065:1;7061:10;;;;7053:19;;7049:28;;;7011:15;;;;-1:-1:-1;7089:19:1;;;7086:39;;;7121:1;7118;7111:12;7086:39;7145:11;;;;7165:148;7181:6;7176:3;7173:15;7165:148;;;7247:23;7266:3;7247:23;:::i;:::-;7235:36;;7198:12;;;;7291;;;;7165:148;;;7332:6;-1:-1:-1;;7376:18:1;;7363:32;;-1:-1:-1;;7407:16:1;;;7404:36;;;7436:1;7433;7426:12;7404:36;;7459:63;7514:7;7503:8;7492:9;7488:24;7459:63;:::i;:::-;7449:73;;;6320:1208;;;;;:::o;7533:435::-;7586:3;7624:5;7618:12;7651:6;7646:3;7639:19;7677:4;7706:2;7701:3;7697:12;7690:19;;7743:2;7736:5;7732:14;7764:1;7774:169;7788:6;7785:1;7782:13;7774:169;;;7849:13;;7837:26;;7883:12;;;;7918:15;;;;7810:1;7803:9;7774:169;;;-1:-1:-1;7959:3:1;;7533:435;-1:-1:-1;;;;;7533:435:1:o;7973:261::-;8152:2;8141:9;8134:21;8115:4;8172:56;8224:2;8213:9;8209:18;8201:6;8172:56;:::i;8239:669::-;8366:6;8374;8382;8435:2;8423:9;8414:7;8410:23;8406:32;8403:52;;;8451:1;8448;8441:12;8403:52;8474:29;8493:9;8474:29;:::i;:::-;8464:39;;8554:2;8543:9;8539:18;8526:32;-1:-1:-1;;;;;8618:2:1;8610:6;8607:14;8604:34;;;8634:1;8631;8624:12;8604:34;8657:61;8710:7;8701:6;8690:9;8686:22;8657:61;:::i;:::-;8647:71;;8771:2;8760:9;8756:18;8743:32;8727:48;;8800:2;8790:8;8787:16;8784:36;;;8816:1;8813;8806:12;8784:36;;8839:63;8894:7;8883:8;8872:9;8868:24;8839:63;:::i;:::-;8829:73;;;8239:669;;;;;:::o;8913:920::-;9319:3;9314;9310:13;9302:6;9298:26;9287:9;9280:45;9361:3;9356:2;9345:9;9341:18;9334:31;9261:4;9388:46;9429:3;9418:9;9414:19;9406:6;9388:46;:::i;:::-;9482:9;9474:6;9470:22;9465:2;9454:9;9450:18;9443:50;9516:33;9542:6;9534;9516:33;:::i;:::-;9580:2;9565:18;;9558:34;;;-1:-1:-1;;;;;9629:32:1;;9623:3;9608:19;;9601:61;9649:3;9678:19;;9671:35;;;9743:22;;;9737:3;9722:19;;9715:51;9502:47;-1:-1:-1;9783:44:1;9502:47;9812:6;9783:44;:::i;:::-;9775:52;8913:920;-1:-1:-1;;;;;;;;;;8913:920:1:o;9838:347::-;9903:6;9911;9964:2;9952:9;9943:7;9939:23;9935:32;9932:52;;;9980:1;9977;9970:12;9932:52;10003:29;10022:9;10003:29;:::i;:::-;9993:39;;10082:2;10071:9;10067:18;10054:32;10129:5;10122:13;10115:21;10108:5;10105:32;10095:60;;10151:1;10148;10141:12;10095:60;10174:5;10164:15;;;9838:347;;;;;:::o;10190:186::-;10249:6;10302:2;10290:9;10281:7;10277:23;10273:32;10270:52;;;10318:1;10315;10308:12;10270:52;10341:29;10360:9;10341:29;:::i;10381:260::-;10449:6;10457;10510:2;10498:9;10489:7;10485:23;10481:32;10478:52;;;10526:1;10523;10516:12;10478:52;10549:29;10568:9;10549:29;:::i;:::-;10539:39;;10597:38;10631:2;10620:9;10616:18;10597:38;:::i;:::-;10587:48;;10381:260;;;;;:::o;10646:606::-;10750:6;10758;10766;10774;10782;10835:3;10823:9;10814:7;10810:23;10806:33;10803:53;;;10852:1;10849;10842:12;10803:53;10875:29;10894:9;10875:29;:::i;:::-;10865:39;;10923:38;10957:2;10946:9;10942:18;10923:38;:::i;:::-;10913:48;;11008:2;10997:9;10993:18;10980:32;10970:42;;11059:2;11048:9;11044:18;11031:32;11021:42;;11114:3;11103:9;11099:19;11086:33;-1:-1:-1;;;;;11134:6:1;11131:30;11128:50;;;11174:1;11171;11164:12;11128:50;11197:49;11238:7;11229:6;11218:9;11214:22;11197:49;:::i;11257:322::-;11334:6;11342;11350;11403:2;11391:9;11382:7;11378:23;11374:32;11371:52;;;11419:1;11416;11409:12;11371:52;11442:29;11461:9;11442:29;:::i;:::-;11432:39;11518:2;11503:18;;11490:32;;-1:-1:-1;11569:2:1;11554:18;;;11541:32;;11257:322;-1:-1:-1;;;11257:322:1:o;11995:380::-;12074:1;12070:12;;;;12117;;;12138:61;;12192:4;12184:6;12180:17;12170:27;;12138:61;12245:2;12237:6;12234:14;12214:18;12211:38;12208:161;;12291:10;12286:3;12282:20;12279:1;12272:31;12326:4;12323:1;12316:15;12354:4;12351:1;12344:15;12208:161;;11995:380;;;:::o;12380:410::-;12582:2;12564:21;;;12621:2;12601:18;;;12594:30;12660:34;12655:2;12640:18;;12633:62;-1:-1:-1;;;12726:2:1;12711:18;;12704:44;12780:3;12765:19;;12380:410::o;13551:127::-;13612:10;13607:3;13603:20;13600:1;13593:31;13643:4;13640:1;13633:15;13667:4;13664:1;13657:15;13683:127;13744:10;13739:3;13735:20;13732:1;13725:31;13775:4;13772:1;13765:15;13799:4;13796:1;13789:15;13815:135;13854:3;13875:17;;;13872:43;;13895:18;;:::i;:::-;-1:-1:-1;13942:1:1;13931:13;;13815:135::o;14488:545::-;14590:2;14585:3;14582:11;14579:448;;;14626:1;14651:5;14647:2;14640:17;14696:4;14692:2;14682:19;14766:2;14754:10;14750:19;14747:1;14743:27;14737:4;14733:38;14802:4;14790:10;14787:20;14784:47;;;-1:-1:-1;14825:4:1;14784:47;14880:2;14875:3;14871:12;14868:1;14864:20;14858:4;14854:31;14844:41;;14935:82;14953:2;14946:5;14943:13;14935:82;;;14998:17;;;14979:1;14968:13;14935:82;;15209:1352;15335:3;15329:10;-1:-1:-1;;;;;15354:6:1;15351:30;15348:56;;;15384:18;;:::i;:::-;15413:97;15503:6;15463:38;15495:4;15489:11;15463:38;:::i;:::-;15457:4;15413:97;:::i;:::-;15565:4;;15629:2;15618:14;;15646:1;15641:663;;;;16348:1;16365:6;16362:89;;;-1:-1:-1;16417:19:1;;;16411:26;16362:89;-1:-1:-1;;15166:1:1;15162:11;;;15158:24;15154:29;15144:40;15190:1;15186:11;;;15141:57;16464:81;;15611:944;;15641:663;14435:1;14428:14;;;14472:4;14459:18;;-1:-1:-1;;15677:20:1;;;15795:236;15809:7;15806:1;15803:14;15795:236;;;15898:19;;;15892:26;15877:42;;15990:27;;;;15958:1;15946:14;;;;15825:19;;15795:236;;;15799:3;16059:6;16050:7;16047:19;16044:201;;;16120:19;;;16114:26;-1:-1:-1;;16203:1:1;16199:14;;;16215:3;16195:24;16191:37;16187:42;16172:58;16157:74;;16044:201;-1:-1:-1;;;;;16291:1:1;16275:14;;;16271:22;16258:36;;-1:-1:-1;15209:1352:1:o;16927:404::-;17129:2;17111:21;;;17168:2;17148:18;;;17141:30;17207:34;17202:2;17187:18;;17180:62;-1:-1:-1;;;17273:2:1;17258:18;;17251:38;17321:3;17306:19;;16927:404::o;17336:401::-;17538:2;17520:21;;;17577:2;17557:18;;;17550:30;17616:34;17611:2;17596:18;;17589:62;-1:-1:-1;;;17682:2:1;17667:18;;17660:35;17727:3;17712:19;;17336:401::o;17742:406::-;17944:2;17926:21;;;17983:2;17963:18;;;17956:30;18022:34;18017:2;18002:18;;17995:62;-1:-1:-1;;;18088:2:1;18073:18;;18066:40;18138:3;18123:19;;17742:406::o;18153:125::-;18218:9;;;18239:10;;;18236:36;;;18252:18;;:::i;18283:465::-;18540:2;18529:9;18522:21;18503:4;18566:56;18618:2;18607:9;18603:18;18595:6;18566:56;:::i;:::-;18670:9;18662:6;18658:22;18653:2;18642:9;18638:18;18631:50;18698:44;18735:6;18727;18698:44;:::i;:::-;18690:52;18283:465;-1:-1:-1;;;;;18283:465:1:o;19758:399::-;19960:2;19942:21;;;19999:2;19979:18;;;19972:30;20038:34;20033:2;20018:18;;20011:62;-1:-1:-1;;;20104:2:1;20089:18;;20082:33;20147:3;20132:19;;19758:399::o;20162:400::-;20364:2;20346:21;;;20403:2;20383:18;;;20376:30;20442:34;20437:2;20422:18;;20415:62;-1:-1:-1;;;20508:2:1;20493:18;;20486:34;20552:3;20537:19;;20162:400::o;20977:297::-;21095:12;;21142:4;21131:16;;;21125:23;;21095:12;21160:16;;21157:111;;;-1:-1:-1;;21234:4:1;21230:17;;;;21227:1;21223:25;21219:38;21208:50;;20977:297;-1:-1:-1;20977:297:1:o;21628:827::-;-1:-1:-1;;;;;22025:15:1;;;22007:34;;22077:15;;22072:2;22057:18;;22050:43;21987:3;22124:2;22109:18;;22102:31;;;21950:4;;22156:57;;22193:19;;22185:6;22156:57;:::i;:::-;22261:9;22253:6;22249:22;22244:2;22233:9;22229:18;22222:50;22295:44;22332:6;22324;22295:44;:::i;:::-;22281:58;;22388:9;22380:6;22376:22;22370:3;22359:9;22355:19;22348:51;22416:33;22442:6;22434;22416:33;:::i;:::-;22408:41;21628:827;-1:-1:-1;;;;;;;;21628:827:1:o;22460:249::-;22529:6;22582:2;22570:9;22561:7;22557:23;22553:32;22550:52;;;22598:1;22595;22588:12;22550:52;22630:9;22624:16;22649:30;22673:5;22649:30;:::i;22714:179::-;22749:3;22791:1;22773:16;22770:23;22767:120;;;22837:1;22834;22831;22816:23;-1:-1:-1;22874:1:1;22868:8;22863:3;22859:18;22714:179;:::o;22898:671::-;22937:3;22979:4;22961:16;22958:26;22955:39;;;22898:671;:::o;22955:39::-;23021:2;23015:9;-1:-1:-1;;23086:16:1;23082:25;;23079:1;23015:9;23058:50;23137:4;23131:11;23161:16;-1:-1:-1;;;;;23267:2:1;23260:4;23252:6;23248:17;23245:25;23240:2;23232:6;23229:14;23226:45;23223:58;;;23274:5;;;;;22898:671;:::o;23223:58::-;23311:6;23305:4;23301:17;23290:28;;23347:3;23341:10;23374:2;23366:6;23363:14;23360:27;;;23380:5;;;;;;22898:671;:::o;23360:27::-;23464:2;23445:16;23439:4;23435:27;23431:36;23424:4;23415:6;23410:3;23406:16;23402:27;23399:69;23396:82;;;23471:5;;;;;;22898:671;:::o;23396:82::-;23487:57;23538:4;23529:6;23521;23517:19;23513:30;23507:4;23487:57;:::i;:::-;-1:-1:-1;23560:3:1;;22898:671;-1:-1:-1;;;;;22898:671:1:o;23995:404::-;24197:2;24179:21;;;24236:2;24216:18;;;24209:30;24275:34;24270:2;24255:18;;24248:62;-1:-1:-1;;;24341:2:1;24326:18;;24319:38;24389:3;24374:19;;23995:404::o;24404:561::-;-1:-1:-1;;;;;24701:15:1;;;24683:34;;24753:15;;24748:2;24733:18;;24726:43;24800:2;24785:18;;24778:34;;;24843:2;24828:18;;24821:34;;;24663:3;24886;24871:19;;24864:32;;;24626:4;;24913:46;;24939:19;;24931:6;24913:46;:::i;:::-;24905:54;24404:561;-1:-1:-1;;;;;;;24404:561:1:o;25379:127::-;25440:10;25435:3;25431:20;25428:1;25421:31;25471:4;25468:1;25461:15;25495:4;25492:1;25485:15

Swarm Source

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