ETH Price: $3,953.35 (+1.58%)

Token

SuperSapienssNTP (SuperSapienssNTP)
 

Overview

Max Total Supply

290 SuperSapienssNTP

Holders

207

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 SuperSapienssNTP
0xf52fea813fc0c2e58c39b5b889af3c426b4ed6aa
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
SuperSapienssNTP

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// File contracts/IApprovalProxy.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IApprovalProxy {
  function setApprovalForAll(address _owner, address _spender, bool _approved) external;
  function isApprovedForAll(address _owner, address _spender, bool _approved) external view returns(bool);
}


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

pragma solidity ^0.8.13;

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


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

pragma solidity ^0.8.13;

abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

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

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            // Allow spending tokens from addresses with balance
            // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
            // from an EOA.
            if (from == msg.sender) {
                _;
                return;
            }
            if (
                !(
                    operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)
                        && operatorFilterRegistry.isOperatorAllowed(address(this), from)
                )
            ) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}


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

pragma solidity ^0.8.13;

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

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


// File @openzeppelin/contracts/utils/[email protected]

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

pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/access/[email protected]

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/access/[email protected]

// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}


// File @openzeppelin/contracts/utils/math/[email protected]

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]

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

pragma solidity ^0.8.0;

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

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

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

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

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


// File @openzeppelin/contracts/utils/introspection/[email protected]

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

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/utils/introspection/[email protected]

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

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/access/[email protected]

// OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;




/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(account),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}


// File @openzeppelin/contracts/utils/cryptography/[email protected]

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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


// File @openzeppelin/contracts/token/ERC721/[email protected]

// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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


// File @openzeppelin/contracts/token/ERC721/[email protected]

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}


// File @openzeppelin/contracts/utils/[email protected]

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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


// File @openzeppelin/contracts/token/ERC721/[email protected]

// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;







/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner or approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _ownerOf(tokenId) != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId, 1);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId, 1);

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId, 1);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @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, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256, /* firstTokenId */
        uint256 batchSize
    ) internal virtual {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}
}


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev See {ERC721-_burn}. This override additionally checks to see if a
     * token-specific URI was set for the token, and if so, it deletes the token URI from
     * the storage mapping.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}


// File contracts/NFTOasisV2.sol

pragma solidity ^0.8.0;






abstract contract NFTOasisV2 is AccessControl, ERC721URIStorage, DefaultOperatorFilterer, Ownable {
  bytes32 public constant ADMIN_MINTER_ROLE = keccak256("ADMIN_MINTER_ROLE");

  string private baseURI;

  address payable private _payoutAddress;

  uint256 private _tokenIdCounter = 1;
  uint256 private _totalSupply;
  uint256 private _normalSaleSupply;
  uint256 private _allowListSaleSupply;

  uint256 private _maxNumOfBalancePerAddress;
  uint256 private _maxNumOfAllowListSalePerAddress;
  uint256 private _maxNumOfOneMintForNormalSale;
  uint256 private _maxNumOfOneMintForAllowListSale;
  uint256 private _maxNumOfTotalSupply;
  // note: saleSupply is not normalSaleSupply.
  // saleSupply = (normalSaleSupply + allowListSaleSupply)
  // normalSaleSupply = saleSupply - allowListSaleSupply
  uint256 private _maxNumOfSaleSupply;
  uint256 private _maxNumOfAllowListSaleSupply;

  uint256 private _normalSalePrice;
  uint256 private _allowListSalePrice;

  uint256 private _normalSaleOpenDt;
  uint256 private _normalSaleCloseDt;
  uint256 private _allowListSaleOpenDt;
  uint256 private _allowListSaleCloseDt;
  uint256 private _ticketOpenDt;
  uint256 private _ticketCloseDt;

  mapping (bytes32 => bool) private _ticketBodySigToUsed;
  mapping (address => uint256) private _addressToAllowListSaleNum;

  struct MintTicket {
    uint256 collectionId;
    uint256 sigType;
    uint256 num;
    address bodySigner;
    bytes uuid;
    bytes headSig;
    bytes bodySig;
  }

  IApprovalProxy public approvalProxy;

  event MintForNormalSale(address caller, uint256 num);
  event MintForAllowListSale(address caller, uint256 num);
  event MintWithTicket(address caller, bytes bodySig, uint256 num);
  event UpdateSettings();
  event UpdateApprovalProxy(address newProxyContract);

  constructor (
    string memory name,
    string memory symbol,
    address payoutAddress_,
    uint256[7] memory maxNumSetting,
    uint256[2] memory priceSetting,
    uint256[6] memory openCloseSetting
  ) ERC721(name, symbol) {
    _setupRole(ADMIN_MINTER_ROLE, _msgSender());

    _payoutAddress = payable(payoutAddress_);

    _maxNumOfBalancePerAddress = maxNumSetting[0];
    _maxNumOfAllowListSalePerAddress = maxNumSetting[1];
    _maxNumOfOneMintForNormalSale = maxNumSetting[2];
    _maxNumOfOneMintForAllowListSale = maxNumSetting[3];
    _maxNumOfTotalSupply = maxNumSetting[4];
    _maxNumOfSaleSupply = maxNumSetting[5];
    _maxNumOfAllowListSaleSupply = maxNumSetting[6];

    _normalSalePrice = priceSetting[0];
    _allowListSalePrice = priceSetting[1];

    _normalSaleOpenDt = openCloseSetting[0];
    _normalSaleCloseDt = openCloseSetting[1];
    _allowListSaleOpenDt = openCloseSetting[2];
    _allowListSaleCloseDt = openCloseSetting[3];
    _ticketOpenDt = openCloseSetting[4];
    _ticketCloseDt = openCloseSetting[5];
  }

  modifier supplyLimited(uint256 num) {
    require((_totalSupply + num) <= _maxNumOfTotalSupply);
    _;
  }

  modifier mintNumberLimited(uint256 num, uint256 max) {
    require(0 < num && num <= max);
    _;
  }

  modifier possessionNumberLimited(uint256 num) {
    require(_maxNumOfBalancePerAddress == 0 || (balanceOf(msg.sender) + num) <= _maxNumOfBalancePerAddress);
    _;
  }

  modifier amountLimited(uint256 amount) {
    require(msg.value == amount);
    _;
  }

  modifier periodLimited(uint256 openDt, uint256 closeDt, bool allowZero) {
    if (allowZero) {
      require(openDt == 0 || openDt <= block.timestamp);
      require(closeDt == 0 || block.timestamp <= closeDt);
    } else {
      require(openDt <= block.timestamp && block.timestamp <= closeDt);
    }
    _;
  }

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

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

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

  function mint(address to, uint256 tokenId)
    public
    supplyLimited(1)
  {
    require(
      hasRole(ADMIN_MINTER_ROLE, _msgSender()),
      "ERC721Mintble: must have minter role to mint"
    );
    _mint(to, tokenId);
    _totalSupply++;
  }

  function mint(address[] memory toList, uint256[] memory tokenIdList)
    external
    supplyLimited(tokenIdList.length)
  {
    require(
      toList.length == tokenIdList.length,
      "input length must be same"
    );
    for (uint256 i = 0; i < tokenIdList.length; i++) {
      mint(toList[i], tokenIdList[i]);
    }
  }

  function mintFor(address to, uint256 tokenId) public {
    mint(to, tokenId);
  }

  /**
   * @dev See {IERC721Metadata-tokenURI}.
   */
  function tokenURI(uint256 tokenId) public view virtual override returns(string memory) {
    return string(abi.encodePacked(super.tokenURI(tokenId), ".json"));
  }

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

  function exists(uint256 tokenId) public view returns(bool) {
    return _exists(tokenId);
  }

  function setApprovalProxy(address _new) public onlyOwner {
    approvalProxy = IApprovalProxy(_new);
    emit UpdateApprovalProxy(_new);
  }

  function setApprovalForAll(address spender, bool approved) public virtual override {
    if (address(approvalProxy) != address(0x0) && Address.isContract(spender)) {
      approvalProxy.setApprovalForAll(msg.sender, spender, approved);
    }
    super.setApprovalForAll(spender, approved);
  }

  function isApprovedForAll(address owner, address spender) public view override returns(bool) {
    bool approved = super.isApprovedForAll(owner, spender);
    if (address(approvalProxy) != address(0x0)) {
      return approvalProxy.isApprovedForAll(owner, spender, approved);
    }
    return approved;
  }

  function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControl, ERC721) returns(bool) {
    return AccessControl.supportsInterface(interfaceId) || ERC721.supportsInterface(interfaceId);
  }

  function _baseURI() internal view override returns(string memory) {
    if (bytes(baseURI).length > 0) {
      return baseURI;
    }
    return string(abi.encodePacked(
      "https://nft.financie.io/metadata/",
      symbol(),
      "/"
    ));
  }

  function mintForNormalSale(uint256 num)
    public
    payable
    mintNumberLimited(num, _maxNumOfOneMintForNormalSale)
    possessionNumberLimited(num)
    amountLimited(_normalSalePrice * num)
    periodLimited(_normalSaleOpenDt, _normalSaleCloseDt, true)
    supplyLimited(num)
  {
    require((_allowListSaleSupply + _normalSaleSupply + num) <= _maxNumOfSaleSupply);
    _mintTokens(num);
    _normalSaleSupply += num;
    _payoutAddress.transfer(msg.value);
    emit MintForNormalSale(msg.sender, num);
  }

  function mintForAllowListSale(MintTicket calldata mintTicket)
    public
    payable
    mintNumberLimited(mintTicket.num, _maxNumOfOneMintForAllowListSale)
    possessionNumberLimited(mintTicket.num)
    amountLimited(_allowListSalePrice * mintTicket.num)
    periodLimited(_allowListSaleOpenDt, _allowListSaleCloseDt, false)
    supplyLimited(mintTicket.num)
  {
    require(mintTicket.sigType == 0);
    require((_addressToAllowListSaleNum[msg.sender] + mintTicket.num) <= _maxNumOfAllowListSalePerAddress);
    require((_allowListSaleSupply + mintTicket.num) <= _maxNumOfAllowListSaleSupply);

    _mintWithTicket(mintTicket);
    _allowListSaleSupply += mintTicket.num;
    _addressToAllowListSaleNum[msg.sender] += mintTicket.num;
    _payoutAddress.transfer(msg.value);
    emit MintForAllowListSale(msg.sender, mintTicket.num);
  }

  function mintWithTicket(MintTicket calldata mintTicket)
    public
    periodLimited(_ticketOpenDt, _ticketCloseDt, true)
    supplyLimited(mintTicket.num)
  {
    require(mintTicket.sigType == 1 || mintTicket.sigType == 2);

    _mintWithTicket(mintTicket);
    _ticketBodySigToUsed[keccak256(mintTicket.bodySig)] = true;
    emit MintWithTicket(msg.sender, mintTicket.bodySig, mintTicket.num);
  }

  function mintWithTicketMultiple(MintTicket[] calldata mintTickets) public {
    for (uint256 i = 0; i < mintTickets.length; i++) {
      mintWithTicket(mintTickets[i]);
    }
  }

  function _mintWithTicket(MintTicket calldata mintTicket) private {
    require(mintTicket.num > 0);
    require(!_ticketBodySigToUsed[keccak256(mintTicket.bodySig)]);

    (address headSigner, address bodySigner) = _recoverSigners(mintTicket);
    require(headSigner == owner() && bodySigner == mintTicket.bodySigner, "invalid signanature");

    _mintTokens(mintTicket.num);
  }

  function _recoverSigners(MintTicket calldata mintTicket) private view returns(address, address) {
    require(mintTicket.sigType == 0 || mintTicket.sigType == 1 || mintTicket.sigType == 2);

    string memory signedMessage = "\x19Ethereum Signed Message:\n32";

    bytes32 headHash = keccak256(abi.encodePacked(
      signedMessage,
      keccak256(abi.encodePacked(mintTicket.bodySigner))
    ));
    address headSigner = ECDSA.recover(headHash, mintTicket.headSig);
    bytes32 bodyHash;
    if (mintTicket.sigType == 0) {
      bodyHash = keccak256(abi.encodePacked(
        signedMessage,
        keccak256(abi.encodePacked(mintTicket.sigType, mintTicket.collectionId, mintTicket.uuid, msg.sender))
      ));
    } else if(mintTicket.sigType == 1) {
      bodyHash = keccak256(abi.encodePacked(
        signedMessage,
        keccak256(abi.encodePacked(mintTicket.sigType, mintTicket.collectionId, mintTicket.uuid, mintTicket.num))
      ));
    } else {
      // sigType == 2
      bodyHash = keccak256(abi.encodePacked(
        signedMessage,
        keccak256(abi.encodePacked(mintTicket.sigType, mintTicket.collectionId, mintTicket.uuid, mintTicket.num, msg.sender))
      ));
    }
    address bodySigner = ECDSA.recover(bodyHash, mintTicket.bodySig);

    return (headSigner, bodySigner);
  }

  function _mintTokens(uint256 num) private {
    uint256 mintCount = 0;
    uint256 tokenCount = 0;
    uint256 computedTokenId = _tokenIdCounter + tokenCount;

    while (mintCount < num) {
      while(_exists(computedTokenId)) {
        tokenCount++;
        computedTokenId = _tokenIdCounter + tokenCount;
      }
      _mint(_msgSender(), computedTokenId);
      mintCount++;
    }
    _totalSupply += num;
    _tokenIdCounter = computedTokenId + 1;
  }

  function updateSettings(
    address payoutAddress_,
    uint256[7] memory maxNumSetting,
    uint256[2] memory priceSetting,
    uint256[6] memory openCloseSetting
  ) public onlyOwner {
    _payoutAddress = payable(payoutAddress_);

    _maxNumOfBalancePerAddress = maxNumSetting[0];
    _maxNumOfAllowListSalePerAddress = maxNumSetting[1];
    _maxNumOfOneMintForNormalSale = maxNumSetting[2];
    _maxNumOfOneMintForAllowListSale = maxNumSetting[3];
    _maxNumOfTotalSupply = maxNumSetting[4];
    _maxNumOfSaleSupply = maxNumSetting[5];
    _maxNumOfAllowListSaleSupply = maxNumSetting[6];

    _normalSalePrice = priceSetting[0];
    _allowListSalePrice = priceSetting[1];

    _normalSaleOpenDt = openCloseSetting[0];
    _normalSaleCloseDt = openCloseSetting[1];
    _allowListSaleOpenDt = openCloseSetting[2];
    _allowListSaleCloseDt = openCloseSetting[3];
    _ticketOpenDt = openCloseSetting[4];
    _ticketCloseDt = openCloseSetting[5];

    emit UpdateSettings();
  }

  function isUsedTicket(bytes calldata ticketBodySig) public view returns(bool) {
    return _ticketBodySigToUsed[keccak256(ticketBodySig)];
  }

  function allowListSaleNum(address owner) public view returns(uint256) {
    return _addressToAllowListSaleNum[owner];
  }

  function payoutAddress() public view returns(address) {
    return _payoutAddress;
  }

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

  function normalSaleSupply() public view returns(uint256) {
    return _normalSaleSupply;
  }

  function allowListSaleSupply() public view returns(uint256) {
    return _allowListSaleSupply;
  }

  function getMaxNumSetting() public view returns(uint256[7] memory) {
    return [
      _maxNumOfBalancePerAddress,
      _maxNumOfAllowListSalePerAddress,
      _maxNumOfOneMintForNormalSale,
      _maxNumOfOneMintForAllowListSale,
      _maxNumOfTotalSupply,
      _maxNumOfSaleSupply,
      _maxNumOfAllowListSaleSupply
    ];
  }

  function getPriceSetting() public view returns(uint256[2] memory) {
    return [
      _normalSalePrice,
      _allowListSalePrice
    ];
  }

  function getOpenCloseSetting() public view returns(uint256[6] memory) {
    return [
      _normalSaleOpenDt,
      _normalSaleCloseDt,
      _allowListSaleOpenDt,
      _allowListSaleCloseDt,
      _ticketOpenDt,
      _ticketCloseDt
    ];
  }
}


// File contracts/NFTokenV2.sol

pragma solidity ^0.8.0;

contract SuperSapienssNTP is NFTOasisV2 {
  constructor() NFTOasisV2(
    "SuperSapienssNTP",
    "SuperSapienssNTP",
    address(0x81c476a7B5ce987E3A1D74C0A44Df2ce46F8c74b),
    [
      uint256(1),
      1,
      1,
      1,
      290,
      230,
      1
    ],
    [
      uint256(40000000000000000),
      30000000000000000
    ],
    [
      uint256(1682298000),
      1682334000,
      1682125200,
      1682244000,
      0,
      0
    ]
  ) {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"num","type":"uint256"}],"name":"MintForAllowListSale","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"num","type":"uint256"}],"name":"MintForNormalSale","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"bytes","name":"bodySig","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"num","type":"uint256"}],"name":"MintWithTicket","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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newProxyContract","type":"address"}],"name":"UpdateApprovalProxy","type":"event"},{"anonymous":false,"inputs":[],"name":"UpdateSettings","type":"event"},{"inputs":[],"name":"ADMIN_MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"allowListSaleNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListSaleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"approvalProxy","outputs":[{"internalType":"contract IApprovalProxy","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxNumSetting","outputs":[{"internalType":"uint256[7]","name":"","type":"uint256[7]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOpenCloseSetting","outputs":[{"internalType":"uint256[6]","name":"","type":"uint256[6]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPriceSetting","outputs":[{"internalType":"uint256[2]","name":"","type":"uint256[2]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"ticketBodySig","type":"bytes"}],"name":"isUsedTicket","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"toList","type":"address[]"},{"internalType":"uint256[]","name":"tokenIdList","type":"uint256[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"collectionId","type":"uint256"},{"internalType":"uint256","name":"sigType","type":"uint256"},{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"address","name":"bodySigner","type":"address"},{"internalType":"bytes","name":"uuid","type":"bytes"},{"internalType":"bytes","name":"headSig","type":"bytes"},{"internalType":"bytes","name":"bodySig","type":"bytes"}],"internalType":"struct NFTOasisV2.MintTicket","name":"mintTicket","type":"tuple"}],"name":"mintForAllowListSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mintForNormalSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"collectionId","type":"uint256"},{"internalType":"uint256","name":"sigType","type":"uint256"},{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"address","name":"bodySigner","type":"address"},{"internalType":"bytes","name":"uuid","type":"bytes"},{"internalType":"bytes","name":"headSig","type":"bytes"},{"internalType":"bytes","name":"bodySig","type":"bytes"}],"internalType":"struct NFTOasisV2.MintTicket","name":"mintTicket","type":"tuple"}],"name":"mintWithTicket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"collectionId","type":"uint256"},{"internalType":"uint256","name":"sigType","type":"uint256"},{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"address","name":"bodySigner","type":"address"},{"internalType":"bytes","name":"uuid","type":"bytes"},{"internalType":"bytes","name":"headSig","type":"bytes"},{"internalType":"bytes","name":"bodySig","type":"bytes"}],"internalType":"struct NFTOasisV2.MintTicket[]","name":"mintTickets","type":"tuple[]"}],"name":"mintWithTicketMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"normalSaleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payoutAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_new","type":"address"}],"name":"setApprovalProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"payoutAddress_","type":"address"},{"internalType":"uint256[7]","name":"maxNumSetting","type":"uint256[7]"},{"internalType":"uint256[2]","name":"priceSetting","type":"uint256[2]"},{"internalType":"uint256[6]","name":"openCloseSetting","type":"uint256[6]"}],"name":"updateSettings","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001600b553480156200001657600080fd5b506040518060400160405280601081526020016f0537570657253617069656e73734e54560841b8152506040518060400160405280601081526020016f0537570657253617069656e73734e54560841b8152507381c476a7b5ce987e3a1d74c0a44df2ce46f8c74b6040518060e0016040528060018152602001600181526020016001815260200160018152602001610122815260200160e6815260200160018152506040518060400160405280668e1bc9bf0400008152602001666a94d74f4300008152506040518060c00160405280636445d4908152602001636446613081526020016364433190815260200163644501a08152602001600081526020016000815250733cc6cdda760b79bafa08df41ecfa224f810dceb66001878781600190805190602001906200014c9291906200047a565b508051620001629060029060208401906200047a565b5050506daaeb6d7670e522a718067333cd4e3b15620002aa578015620001f857604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620001d957600080fd5b505af1158015620001ee573d6000803e3d6000fd5b50505050620002aa565b6001600160a01b03821615620002495760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620001be565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200029057600080fd5b505af1158015620002a5573d6000803e3d6000fd5b505050505b50620002b890503362000378565b620002e47fbe6a453fdd049461aaa0af9a3f749ab4b8f74b99e5f20df66f381f07e8a3cf5b33620003ca565b600a80546001600160a01b0319166001600160a01b0395909516949094179093558151600f5560208083015160105560408084015160115560608085015160125560808086015160135560a08087015160145560c090960151601555845160165593830151601755855160185591850151601955840151601a55830151601b55820151601c550151601d55506200055c9050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620003d68282620003da565b5050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620003d6576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620004363390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b828054620004889062000520565b90600052602060002090601f016020900481019282620004ac5760008555620004f7565b82601f10620004c757805160ff1916838001178555620004f7565b82800160010185558215620004f7579182015b82811115620004f7578251825591602001919060010190620004da565b506200050592915062000509565b5090565b5b808211156200050557600081556001016200050a565b600181811c908216806200053557607f821691505b6020821081036200055657634e487b7160e01b600052602260045260246000fd5b50919050565b613d66806200056c6000396000f3fe6080604052600436106102675760003560e01c80636352211e11610144578063ab9d922d116100b6578063d547741f1161007a578063d547741f14610754578063da1919b314610774578063e467f7e014610794578063e985e9c5146107b4578063f2fde38b146107d4578063f48f428f146107f457600080fd5b8063ab9d922d146106b2578063b879cc78146106d2578063b88d4fde146106f4578063c776576e14610714578063c87b56dd1461073457600080fd5b806391d148541161010857806391d148541461060857806395d89b411461062857806399d6d3d31461063d5780639bb5c9c31461065d578063a217fddf1461067d578063a22cb4651461069257600080fd5b80636352211e1461056157806370a0823114610581578063715018a6146105a1578063772906ac146105b65780638da5cb5b146105ea57600080fd5b80632f8156b9116101dd5780634dd09f33116101a15780634dd09f33146104b95780634f558e79146104d957806351d63627146104f957806355f804b31461050e5780635b8d02d71461052e5780636281354d1461054c57600080fd5b80632f8156b91461041757806336568abe1461043957806340c10f191461045957806342842e0e1461047957806347823d141461049957600080fd5b80630af9c86b1161022f5780630af9c86b1461033057806318160ddd146103525780631d464dc81461037157806323b872dd146103a7578063248a9ca3146103c75780632f2ff15d146103f757600080fd5b806301ffc9a71461026c57806306fdde03146102a157806307f73c82146102c3578063081812fc146102d8578063095ea7b314610310575b600080fd5b34801561027857600080fd5b5061028c6102873660046130c3565b610807565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b6610827565b6040516102989190613138565b6102d66102d136600461314b565b6108b9565b005b3480156102e457600080fd5b506102f86102f3366004613185565b610a98565b6040516001600160a01b039091168152602001610298565b34801561031c57600080fd5b506102d661032b3660046131ba565b610abf565b34801561033c57600080fd5b50610345610bd9565b60405161029891906131e4565b34801561035e57600080fd5b50600c545b604051908152602001610298565b34801561037d57600080fd5b5061036361038c366004613215565b6001600160a01b03166000908152601f602052604090205490565b3480156103b357600080fd5b506102d66103c2366004613230565b610bfc565b3480156103d357600080fd5b506103636103e2366004613185565b60009081526020819052604090206001015490565b34801561040357600080fd5b506102d661041236600461326c565b610d58565b34801561042357600080fd5b5061042c610d7d565b6040516102989190613298565b34801561044557600080fd5b506102d661045436600461326c565b610dc3565b34801561046557600080fd5b506102d66104743660046131ba565b610e41565b34801561048557600080fd5b506102d6610494366004613230565b610f0e565b3480156104a557600080fd5b5061028c6104b43660046132c0565b61105f565b3480156104c557600080fd5b506020546102f8906001600160a01b031681565b3480156104e557600080fd5b5061028c6104f4366004613185565b611099565b34801561050557600080fd5b50600e54610363565b34801561051a57600080fd5b506102d66105293660046133f6565b6110b8565b34801561053a57600080fd5b50600a546001600160a01b03166102f8565b34801561055857600080fd5b50600d54610363565b34801561056d57600080fd5b506102f861057c366004613185565b6110d3565b34801561058d57600080fd5b5061036361059c366004613215565b611133565b3480156105ad57600080fd5b506102d66111b9565b3480156105c257600080fd5b506103637fbe6a453fdd049461aaa0af9a3f749ab4b8f74b99e5f20df66f381f07e8a3cf5b81565b3480156105f657600080fd5b506008546001600160a01b03166102f8565b34801561061457600080fd5b5061028c61062336600461326c565b6111cd565b34801561063457600080fd5b506102b66111f6565b34801561064957600080fd5b506102d661065836600461314b565b611205565b34801561066957600080fd5b506102d6610678366004613215565b61131f565b34801561068957600080fd5b50610363600081565b34801561069e57600080fd5b506102d66106ad36600461344c565b611378565b3480156106be57600080fd5b506102d66106cd366004613515565b611418565b3480156106de57600080fd5b506106e76114d5565b60405161029891906135cb565b34801561070057600080fd5b506102d661070f3660046135f3565b611523565b34801561072057600080fd5b506102d661072f36600461366e565b611682565b34801561074057600080fd5b506102b661074f366004613185565b6116c6565b34801561076057600080fd5b506102d661076f36600461326c565b6116f7565b34801561078057600080fd5b506102d661078f3660046131ba565b61171c565b3480156107a057600080fd5b506102d66107af36600461375e565b611726565b3480156107c057600080fd5b5061028c6107cf36600461381d565b6117ef565b3480156107e057600080fd5b506102d66107ef366004613215565b6118b2565b6102d6610802366004613185565b61192b565b600061081282611a9c565b80610821575061082182611ad1565b92915050565b60606001805461083690613847565b80601f016020809104026020016040519081016040528092919081815260200182805461086290613847565b80156108af5780601f10610884576101008083540402835291602001916108af565b820191906000526020600020905b81548152906001019060200180831161089257829003601f168201915b5050505050905090565b80604001356012548160001080156108d15750808211155b6108da57600080fd5b8260400135600f54600014806109055750600f54816108f833611133565b6109029190613897565b11155b61090e57600080fd5b836040013560175461092091906138af565b80341461092c57600080fd5b601a54601b5460004283111580156109445750814211155b61094d57600080fd5b876040013560135481600c546109639190613897565b111561096e57600080fd5b60208901351561097d57600080fd5b601054336000908152601f6020526040908190205461099f918c013590613897565b11156109aa57600080fd5b6015548960400135600e546109bf9190613897565b11156109ca57600080fd5b6109d389611b11565b8860400135600e60008282546109e99190613897565b9091555050336000908152601f60205260408082208054918c0135929091610a12908490613897565b9091555050600a546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015610a50573d6000803e3d6000fd5b5060408051338152818b013560208201527f52d63ae03a554c1be30e172e8b5acb648c07c1900cb404285280948c9244d82791015b60405180910390a1505050505050505050565b6000610aa382611c19565b506000908152600560205260409020546001600160a01b031690565b6000610aca826110d3565b9050806001600160a01b0316836001600160a01b031603610b3c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610b585750610b5881336117ef565b610bca5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610b33565b610bd48383611c78565b505050565b610be1612fba565b50604080518082019091526016548152601754602082015290565b826daaeb6d7670e522a718067333cd4e3b15610d4757336001600160a01b03821603610c3257610c2d848484611ce6565b610d52565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610c81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca591906138ce565b8015610d285750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610d04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2891906138ce565b610d4757604051633b79c77360e21b8152336004820152602401610b33565b610d52848484611ce6565b50505050565b600082815260208190526040902060010154610d7381611d17565b610bd48383611d21565b610d85612fd8565b6040518060c0016040528060185481526020016019548152602001601a548152602001601b548152602001601c548152602001601d54815250905090565b6001600160a01b0381163314610e335760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610b33565b610e3d8282611da5565b5050565b600160135481600c54610e549190613897565b1115610e5f57600080fd5b610e897fbe6a453fdd049461aaa0af9a3f749ab4b8f74b99e5f20df66f381f07e8a3cf5b336111cd565b610eea5760405162461bcd60e51b815260206004820152602c60248201527f4552433732314d696e74626c653a206d7573742068617665206d696e7465722060448201526b1c9bdb19481d1bc81b5a5b9d60a21b6064820152608401610b33565b610ef48383611e0a565b600c8054906000610f04836138eb565b9190505550505050565b826daaeb6d7670e522a718067333cd4e3b1561105457336001600160a01b03821603610f3f57610c2d848484611fa3565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610f8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb291906138ce565b80156110355750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611011573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103591906138ce565b61105457604051633b79c77360e21b8152336004820152602401610b33565b610d52848484611fa3565b6000601e60008484604051611075929190613904565b604080519182900390912082526020820192909252016000205460ff169392505050565b6000818152600360205260408120546001600160a01b03161515610821565b6110c0611fbe565b8051610e3d906009906020840190612ff6565b6000818152600360205260408120546001600160a01b0316806108215760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610b33565b60006001600160a01b03821661119d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610b33565b506001600160a01b031660009081526004602052604090205490565b6111c1611fbe565b6111cb6000612018565b565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606002805461083690613847565b601c54601d54600182158061121a5750428311155b61122357600080fd5b8115806112305750814211155b61123957600080fd5b836040013560135481600c5461124f9190613897565b111561125a57600080fd5b846020013560011480611271575084602001356002145b61127a57600080fd5b61128385611b11565b6001601e600061129660c0890189613914565b6040516112a4929190613904565b60408051918290039091208252602082019290925201600020805460ff19169115159190911790557f48cde5cbee6b6f6a9900a0a7b7686b03a80d1f6dca0f966f4beba30128efa6f0336112fb60c0880188613914565b8860400135604051611310949392919061395a565b60405180910390a15050505050565b611327611fbe565b602080546001600160a01b0319166001600160a01b03831690811782556040519081527f12be4820d03362d1f48434d870b2fc1549b3a3d16d891eeaac7c3073f3ded8b7910160405180910390a150565b6020546001600160a01b03161580159061139b57506001600160a01b0382163b15155b1561140e57602054604051631b3b02e560e11b81523360048201526001600160a01b03848116602483015283151560448301529091169063367605ca90606401600060405180830381600087803b1580156113f557600080fd5b505af1158015611409573d6000803e3d6000fd5b505050505b610e3d828261206a565b611420611fbe565b600a80546001600160a01b0319166001600160a01b0386161790558251600f5560208084015160105560408085015160115560608086015160125560808087015160135560a08088015160145560c088015160155586516016558685015160175585516018559385015160195584830151601a5590840151601b55830151601c5590820151601d55517f50831a4922f5d35421d5a5fd859255e2f0ebcb1c082417f0fc078ed433444e5e90600090a150505050565b6114dd61307a565b6040518060e00160405280600f54815260200160105481526020016011548152602001601254815260200160135481526020016014548152602001601554815250905090565b836daaeb6d7670e522a718067333cd4e3b1561166f57336001600160a01b0382160361155a5761155585858585612075565b61167b565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156115a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cd91906138ce565b80156116505750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561162c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165091906138ce565b61166f57604051633b79c77360e21b8152336004820152602401610b33565b61167b85858585612075565b5050505050565b60005b81811015610bd4576116b48383838181106116a2576116a26139a4565b905060200281019061065891906139ba565b806116be816138eb565b915050611685565b60606116d1826120a7565b6040516020016116e191906139da565b6040516020818303038152906040529050919050565b60008281526020819052604090206001015461171281611d17565b610bd48383611da5565b610e3d8282610e41565b805160135481600c546117399190613897565b111561174457600080fd5b81518351146117955760405162461bcd60e51b815260206004820152601960248201527f696e707574206c656e677468206d7573742062652073616d65000000000000006044820152606401610b33565b60005b8251811015610d52576117dd8482815181106117b6576117b66139a4565b60200260200101518483815181106117d0576117d06139a4565b6020026020010151610e41565b806117e7816138eb565b915050611798565b6001600160a01b038281166000908152600660209081526040808320858516845282528220549054919260ff9091169116156118ab576020546040516346e67e2960e11b81526001600160a01b0386811660048301528581166024830152831515604483015290911690638dccfc5290606401602060405180830381865afa15801561187f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a391906138ce565b915050610821565b9392505050565b6118ba611fbe565b6001600160a01b03811661191f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b33565b61192881612018565b50565b8060115481600010801561193f5750808211155b61194857600080fd5b82600f546000148061196f5750600f548161196233611133565b61196c9190613897565b11155b61197857600080fd5b8360165461198691906138af565b80341461199257600080fd5b60185460195460018215806119a75750428311155b6119b057600080fd5b8115806119bd5750814211155b6119c657600080fd5b8760135481600c546119d89190613897565b11156119e357600080fd5b60145489600d54600e546119f79190613897565b611a019190613897565b1115611a0c57600080fd5b611a15896121aa565b88600d6000828254611a279190613897565b9091555050600a546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611a65573d6000803e3d6000fd5b5060408051338152602081018b90527f1c843154872953e2df5774b0bf858b07cee902d268cf479d2b0c7e2c4a8d81d39101610a85565b60006001600160e01b03198216637965db0b60e01b148061082157506301ffc9a760e01b6001600160e01b0319831614610821565b60006001600160e01b031982166380ac58cd60e01b1480611b0257506001600160e01b03198216635b5e139f60e01b145b80610821575061082182611a9c565b6000816040013511611b2257600080fd5b601e6000611b3360c0840184613914565b604051611b41929190613904565b604080519182900390912082526020820192909252016000205460ff1615611b6857600080fd5b600080611b7483612250565b91509150611b8a6008546001600160a01b031690565b6001600160a01b0316826001600160a01b0316148015611bca5750611bb56080840160608501613215565b6001600160a01b0316816001600160a01b0316145b611c0c5760405162461bcd60e51b8152602060048201526013602482015272696e76616c6964207369676e616e617475726560681b6044820152606401610b33565b610bd483604001356121aa565b6000818152600360205260409020546001600160a01b03166119285760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610b33565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611cad826110d3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611cf033826124c2565b611d0c5760405162461bcd60e51b8152600401610b3390613a03565b610bd4838383612520565b6119288133612691565b611d2b82826111cd565b610e3d576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611d613390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611daf82826111cd565b15610e3d576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038216611e605760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b33565b6000818152600360205260409020546001600160a01b031615611ec55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b33565b611ed36000838360016126ea565b6000818152600360205260409020546001600160a01b031615611f385760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b33565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b610bd483838360405180602001604052806000815250611523565b6008546001600160a01b031633146111cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b33565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e3d338383612772565b61207f33836124c2565b61209b5760405162461bcd60e51b8152600401610b3390613a03565b610d5284848484612840565b60606120b282611c19565b600082815260076020526040812080546120cb90613847565b80601f01602080910402602001604051908101604052809291908181526020018280546120f790613847565b80156121445780601f1061211957610100808354040283529160200191612144565b820191906000526020600020905b81548152906001019060200180831161212757829003601f168201915b505050505090506000612155612873565b90508051600003612167575092915050565b815115612199578082604051602001612181929190613a50565b60405160208183030381529060405292505050919050565b6121a2846128c5565b949350505050565b600080600081600b546121bd9190613897565b90505b83831015612224575b6000818152600360205260409020546001600160a01b03161561220857816121f0816138eb565b92505081600b546122019190613897565b90506121c9565b6122123382611e0a565b8261221c816138eb565b9350506121c0565b83600c60008282546122369190613897565b909155506122479050816001613897565b600b5550505050565b60008060208301351580612268575082602001356001145b80612277575082602001356002145b61228057600080fd5b60408051808201909152601c81527f19457468657265756d205369676e6564204d6573736167653a0a33320000000060208201526000816122c76080870160608801613215565b6040516020016122ea919060609190911b6001600160601b031916815260140190565b60405160208183030381529060405280519060200120604051602001612311929190613a7f565b60408051601f198184030181529190528051602090910120905060006123788261233e60a0890189613914565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061292b92505050565b9050600086602001356000036123f657836020880135883561239d60808b018b613914565b336040516020016123b2959493929190613aa1565b604051602081830303815290604052805190602001206040516020016123d9929190613a7f565b6040516020818303038152906040528051906020012090506124a0565b866020013560010361243057836020880135883561241760808b018b613914565b8b604001356040516020016123b2959493929190613ad8565b836020880135883561244560808b018b613914565b8b604001353360405160200161246096959493929190613afa565b60405160208183030381529060405280519060200120604051602001612487929190613a7f565b6040516020818303038152906040528051906020012090505b60006124b38261233e60c08b018b613914565b92989297509195505050505050565b6000806124ce836110d3565b9050806001600160a01b0316846001600160a01b031614806124f557506124f581856117ef565b806121a25750836001600160a01b031661250e84610a98565b6001600160a01b031614949350505050565b826001600160a01b0316612533826110d3565b6001600160a01b0316146125595760405162461bcd60e51b8152600401610b3390613b32565b6001600160a01b0382166125bb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b33565b6125c883838360016126ea565b826001600160a01b03166125db826110d3565b6001600160a01b0316146126015760405162461bcd60e51b8152600401610b3390613b32565b600081815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61269b82826111cd565b610e3d576126a88161294f565b6126b3836020612961565b6040516020016126c4929190613b77565b60408051601f198184030181529082905262461bcd60e51b8252610b3391600401613138565b6001811115610d52576001600160a01b03841615612730576001600160a01b0384166000908152600460205260408120805483929061272a908490613bec565b90915550505b6001600160a01b03831615610d52576001600160a01b03831660009081526004602052604081208054839290612767908490613897565b909155505050505050565b816001600160a01b0316836001600160a01b0316036127d35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b33565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61284b848484612520565b61285784848484612afc565b610d525760405162461bcd60e51b8152600401610b3390613c03565b606060006009805461288490613847565b90501115612899576009805461083690613847565b6128a16111f6565b6040516020016128b19190613c55565b604051602081830303815290604052905090565b60606128d082611c19565b60006128da612873565b905060008151116128fa57604051806020016040528060008152506118ab565b8061290484612bfd565b604051602001612915929190613a50565b6040516020818303038152906040529392505050565b600080600061293a8585612c8f565b9150915061294781612cd4565b509392505050565b60606108216001600160a01b03831660145b606060006129708360026138af565b61297b906002613897565b6001600160401b0381111561299257612992613331565b6040519080825280601f01601f1916602001820160405280156129bc576020820181803683370190505b509050600360fc1b816000815181106129d7576129d76139a4565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612a0657612a066139a4565b60200101906001600160f81b031916908160001a9053506000612a2a8460026138af565b612a35906001613897565b90505b6001811115612aad576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612a6957612a696139a4565b1a60f81b828281518110612a7f57612a7f6139a4565b60200101906001600160f81b031916908160001a90535060049490941c93612aa681613ca9565b9050612a38565b5083156118ab5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610b33565b60006001600160a01b0384163b15612bf257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612b40903390899088908890600401613cc0565b6020604051808303816000875af1925050508015612b7b575060408051601f3d908101601f19168201909252612b7891810190613cfd565b60015b612bd8573d808015612ba9576040519150601f19603f3d011682016040523d82523d6000602084013e612bae565b606091505b508051600003612bd05760405162461bcd60e51b8152600401610b3390613c03565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506121a2565b506001949350505050565b60606000612c0a83612e1e565b60010190506000816001600160401b03811115612c2957612c29613331565b6040519080825280601f01601f191660200182016040528015612c53576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084612c5d57509392505050565b6000808251604103612cc55760208301516040840151606085015160001a612cb987828585612ef6565b94509450505050612ccd565b506000905060025b9250929050565b6000816004811115612ce857612ce8613d1a565b03612cf05750565b6001816004811115612d0457612d04613d1a565b03612d515760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610b33565b6002816004811115612d6557612d65613d1a565b03612db25760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610b33565b6003816004811115612dc657612dc6613d1a565b036119285760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610b33565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612e5d5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612e89576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612ea757662386f26fc10000830492506010015b6305f5e1008310612ebf576305f5e100830492506008015b6127108310612ed357612710830492506004015b60648310612ee5576064830492506002015b600a83106108215760010192915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612f2d5750600090506003612fb1565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612f81573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612faa57600060019250925050612fb1565b9150600090505b94509492505050565b60405180604001604052806002906020820280368337509192915050565b6040518060c001604052806006906020820280368337509192915050565b82805461300290613847565b90600052602060002090601f016020900481019282613024576000855561306a565b82601f1061303d57805160ff191683800117855561306a565b8280016001018555821561306a579182015b8281111561306a57825182559160200191906001019061304f565b50613076929150613098565b5090565b6040518060e001604052806007906020820280368337509192915050565b5b808211156130765760008155600101613099565b6001600160e01b03198116811461192857600080fd5b6000602082840312156130d557600080fd5b81356118ab816130ad565b60005b838110156130fb5781810151838201526020016130e3565b83811115610d525750506000910152565b600081518084526131248160208601602086016130e0565b601f01601f19169290920160200192915050565b6020815260006118ab602083018461310c565b60006020828403121561315d57600080fd5b81356001600160401b0381111561317357600080fd5b820160e081850312156118ab57600080fd5b60006020828403121561319757600080fd5b5035919050565b80356001600160a01b03811681146131b557600080fd5b919050565b600080604083850312156131cd57600080fd5b6131d68361319e565b946020939093013593505050565b60408101818360005b600281101561320c5781518352602092830192909101906001016131ed565b50505092915050565b60006020828403121561322757600080fd5b6118ab8261319e565b60008060006060848603121561324557600080fd5b61324e8461319e565b925061325c6020850161319e565b9150604084013590509250925092565b6000806040838503121561327f57600080fd5b8235915061328f6020840161319e565b90509250929050565b60c08101818360005b600681101561320c5781518352602092830192909101906001016132a1565b600080602083850312156132d357600080fd5b82356001600160401b03808211156132ea57600080fd5b818501915085601f8301126132fe57600080fd5b81358181111561330d57600080fd5b86602082850101111561331f57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561336957613369613331565b60405290565b604051601f8201601f191681016001600160401b038111828210171561339757613397613331565b604052919050565b60006001600160401b038311156133b8576133b8613331565b6133cb601f8401601f191660200161336f565b90508281528383830111156133df57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561340857600080fd5b81356001600160401b0381111561341e57600080fd5b8201601f8101841361342f57600080fd5b6121a28482356020840161339f565b801515811461192857600080fd5b6000806040838503121561345f57600080fd5b6134688361319e565b915060208301356134788161343e565b809150509250929050565b6000604051604081018181106001600160401b03821117156134a7576134a7613331565b806040525080915060408301848111156134c057600080fd5b835b8181101561320c5780358352602092830192016134c2565b600060405160c081018181106001600160401b03821117156134fe576134fe613331565b60405290508060c08301848111156134c057600080fd5b600080600080610200858703121561352c57600080fd5b6135358561319e565b9350602086603f87011261354857600080fd5b613550613347565b8061010088018981111561356357600080fd5b8389015b8181101561357e5780358452928401928401613567565b508196508961011f8a011261359257600080fd5b61359c8a82613483565b9550505050508561015f8601126135b257600080fd5b6135c08661014087016134da565b905092959194509250565b60e08101818360005b600781101561320c5781518352602092830192909101906001016135d4565b6000806000806080858703121561360957600080fd5b6136128561319e565b93506136206020860161319e565b92506040850135915060608501356001600160401b0381111561364257600080fd5b8501601f8101871361365357600080fd5b6136628782356020840161339f565b91505092959194509250565b6000806020838503121561368157600080fd5b82356001600160401b038082111561369857600080fd5b818501915085601f8301126136ac57600080fd5b8135818111156136bb57600080fd5b8660208260051b850101111561331f57600080fd5b60006001600160401b038211156136e9576136e9613331565b5060051b60200190565b600082601f83011261370457600080fd5b81356020613719613714836136d0565b61336f565b82815260059290921b8401810191818101908684111561373857600080fd5b8286015b84811015613753578035835291830191830161373c565b509695505050505050565b6000806040838503121561377157600080fd5b82356001600160401b038082111561378857600080fd5b818501915085601f83011261379c57600080fd5b813560206137ac613714836136d0565b82815260059290921b840181019181810190898411156137cb57600080fd5b948201945b838610156137f0576137e18661319e565b825294820194908201906137d0565b9650508601359250508082111561380657600080fd5b50613813858286016136f3565b9150509250929050565b6000806040838503121561383057600080fd5b6138398361319e565b915061328f6020840161319e565b600181811c9082168061385b57607f821691505b60208210810361387b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156138aa576138aa613881565b500190565b60008160001904831182151516156138c9576138c9613881565b500290565b6000602082840312156138e057600080fd5b81516118ab8161343e565b6000600182016138fd576138fd613881565b5060010190565b8183823760009101908152919050565b6000808335601e1984360301811261392b57600080fd5b8301803591506001600160401b0382111561394557600080fd5b602001915036819003821315612ccd57600080fd5b6001600160a01b038516815260606020820181905281018390528284608083013760006080848301015260006080601f19601f860116830101905082604083015295945050505050565b634e487b7160e01b600052603260045260246000fd5b6000823560de198336030181126139d057600080fd5b9190910192915050565b600082516139ec8184602087016130e0565b64173539b7b760d91b920191825250600501919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60008351613a628184602088016130e0565b835190830190613a768183602088016130e0565b01949350505050565b60008351613a918184602088016130e0565b9190910191825250602001919050565b8581528460208201528284604083013760609190911b6001600160601b031916604091909201908101919091526054019392505050565b8581528460208201528284604083013760409201918201526060019392505050565b868152856020820152838560408301376040930192830191909152606090811b6001600160601b031916908201526074019392505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613baf8160178501602088016130e0565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613be08160288401602088016130e0565b01602801949350505050565b600082821015613bfe57613bfe613881565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b7f68747470733a2f2f6e66742e66696e616e6369652e696f2f6d6574616461746181526000602f60f81b8060208401528351613c988160218601602088016130e0565b602193019283015250602201919050565b600081613cb857613cb8613881565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613cf39083018461310c565b9695505050505050565b600060208284031215613d0f57600080fd5b81516118ab816130ad565b634e487b7160e01b600052602160045260246000fdfea26469706673582212202c2611bda2830a559c95d41d4e2e8b7ba012ce8a80c06018d16be988d7eaddd864736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106102675760003560e01c80636352211e11610144578063ab9d922d116100b6578063d547741f1161007a578063d547741f14610754578063da1919b314610774578063e467f7e014610794578063e985e9c5146107b4578063f2fde38b146107d4578063f48f428f146107f457600080fd5b8063ab9d922d146106b2578063b879cc78146106d2578063b88d4fde146106f4578063c776576e14610714578063c87b56dd1461073457600080fd5b806391d148541161010857806391d148541461060857806395d89b411461062857806399d6d3d31461063d5780639bb5c9c31461065d578063a217fddf1461067d578063a22cb4651461069257600080fd5b80636352211e1461056157806370a0823114610581578063715018a6146105a1578063772906ac146105b65780638da5cb5b146105ea57600080fd5b80632f8156b9116101dd5780634dd09f33116101a15780634dd09f33146104b95780634f558e79146104d957806351d63627146104f957806355f804b31461050e5780635b8d02d71461052e5780636281354d1461054c57600080fd5b80632f8156b91461041757806336568abe1461043957806340c10f191461045957806342842e0e1461047957806347823d141461049957600080fd5b80630af9c86b1161022f5780630af9c86b1461033057806318160ddd146103525780631d464dc81461037157806323b872dd146103a7578063248a9ca3146103c75780632f2ff15d146103f757600080fd5b806301ffc9a71461026c57806306fdde03146102a157806307f73c82146102c3578063081812fc146102d8578063095ea7b314610310575b600080fd5b34801561027857600080fd5b5061028c6102873660046130c3565b610807565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b6610827565b6040516102989190613138565b6102d66102d136600461314b565b6108b9565b005b3480156102e457600080fd5b506102f86102f3366004613185565b610a98565b6040516001600160a01b039091168152602001610298565b34801561031c57600080fd5b506102d661032b3660046131ba565b610abf565b34801561033c57600080fd5b50610345610bd9565b60405161029891906131e4565b34801561035e57600080fd5b50600c545b604051908152602001610298565b34801561037d57600080fd5b5061036361038c366004613215565b6001600160a01b03166000908152601f602052604090205490565b3480156103b357600080fd5b506102d66103c2366004613230565b610bfc565b3480156103d357600080fd5b506103636103e2366004613185565b60009081526020819052604090206001015490565b34801561040357600080fd5b506102d661041236600461326c565b610d58565b34801561042357600080fd5b5061042c610d7d565b6040516102989190613298565b34801561044557600080fd5b506102d661045436600461326c565b610dc3565b34801561046557600080fd5b506102d66104743660046131ba565b610e41565b34801561048557600080fd5b506102d6610494366004613230565b610f0e565b3480156104a557600080fd5b5061028c6104b43660046132c0565b61105f565b3480156104c557600080fd5b506020546102f8906001600160a01b031681565b3480156104e557600080fd5b5061028c6104f4366004613185565b611099565b34801561050557600080fd5b50600e54610363565b34801561051a57600080fd5b506102d66105293660046133f6565b6110b8565b34801561053a57600080fd5b50600a546001600160a01b03166102f8565b34801561055857600080fd5b50600d54610363565b34801561056d57600080fd5b506102f861057c366004613185565b6110d3565b34801561058d57600080fd5b5061036361059c366004613215565b611133565b3480156105ad57600080fd5b506102d66111b9565b3480156105c257600080fd5b506103637fbe6a453fdd049461aaa0af9a3f749ab4b8f74b99e5f20df66f381f07e8a3cf5b81565b3480156105f657600080fd5b506008546001600160a01b03166102f8565b34801561061457600080fd5b5061028c61062336600461326c565b6111cd565b34801561063457600080fd5b506102b66111f6565b34801561064957600080fd5b506102d661065836600461314b565b611205565b34801561066957600080fd5b506102d6610678366004613215565b61131f565b34801561068957600080fd5b50610363600081565b34801561069e57600080fd5b506102d66106ad36600461344c565b611378565b3480156106be57600080fd5b506102d66106cd366004613515565b611418565b3480156106de57600080fd5b506106e76114d5565b60405161029891906135cb565b34801561070057600080fd5b506102d661070f3660046135f3565b611523565b34801561072057600080fd5b506102d661072f36600461366e565b611682565b34801561074057600080fd5b506102b661074f366004613185565b6116c6565b34801561076057600080fd5b506102d661076f36600461326c565b6116f7565b34801561078057600080fd5b506102d661078f3660046131ba565b61171c565b3480156107a057600080fd5b506102d66107af36600461375e565b611726565b3480156107c057600080fd5b5061028c6107cf36600461381d565b6117ef565b3480156107e057600080fd5b506102d66107ef366004613215565b6118b2565b6102d6610802366004613185565b61192b565b600061081282611a9c565b80610821575061082182611ad1565b92915050565b60606001805461083690613847565b80601f016020809104026020016040519081016040528092919081815260200182805461086290613847565b80156108af5780601f10610884576101008083540402835291602001916108af565b820191906000526020600020905b81548152906001019060200180831161089257829003601f168201915b5050505050905090565b80604001356012548160001080156108d15750808211155b6108da57600080fd5b8260400135600f54600014806109055750600f54816108f833611133565b6109029190613897565b11155b61090e57600080fd5b836040013560175461092091906138af565b80341461092c57600080fd5b601a54601b5460004283111580156109445750814211155b61094d57600080fd5b876040013560135481600c546109639190613897565b111561096e57600080fd5b60208901351561097d57600080fd5b601054336000908152601f6020526040908190205461099f918c013590613897565b11156109aa57600080fd5b6015548960400135600e546109bf9190613897565b11156109ca57600080fd5b6109d389611b11565b8860400135600e60008282546109e99190613897565b9091555050336000908152601f60205260408082208054918c0135929091610a12908490613897565b9091555050600a546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015610a50573d6000803e3d6000fd5b5060408051338152818b013560208201527f52d63ae03a554c1be30e172e8b5acb648c07c1900cb404285280948c9244d82791015b60405180910390a1505050505050505050565b6000610aa382611c19565b506000908152600560205260409020546001600160a01b031690565b6000610aca826110d3565b9050806001600160a01b0316836001600160a01b031603610b3c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610b585750610b5881336117ef565b610bca5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610b33565b610bd48383611c78565b505050565b610be1612fba565b50604080518082019091526016548152601754602082015290565b826daaeb6d7670e522a718067333cd4e3b15610d4757336001600160a01b03821603610c3257610c2d848484611ce6565b610d52565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610c81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca591906138ce565b8015610d285750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610d04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2891906138ce565b610d4757604051633b79c77360e21b8152336004820152602401610b33565b610d52848484611ce6565b50505050565b600082815260208190526040902060010154610d7381611d17565b610bd48383611d21565b610d85612fd8565b6040518060c0016040528060185481526020016019548152602001601a548152602001601b548152602001601c548152602001601d54815250905090565b6001600160a01b0381163314610e335760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610b33565b610e3d8282611da5565b5050565b600160135481600c54610e549190613897565b1115610e5f57600080fd5b610e897fbe6a453fdd049461aaa0af9a3f749ab4b8f74b99e5f20df66f381f07e8a3cf5b336111cd565b610eea5760405162461bcd60e51b815260206004820152602c60248201527f4552433732314d696e74626c653a206d7573742068617665206d696e7465722060448201526b1c9bdb19481d1bc81b5a5b9d60a21b6064820152608401610b33565b610ef48383611e0a565b600c8054906000610f04836138eb565b9190505550505050565b826daaeb6d7670e522a718067333cd4e3b1561105457336001600160a01b03821603610f3f57610c2d848484611fa3565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610f8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb291906138ce565b80156110355750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611011573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103591906138ce565b61105457604051633b79c77360e21b8152336004820152602401610b33565b610d52848484611fa3565b6000601e60008484604051611075929190613904565b604080519182900390912082526020820192909252016000205460ff169392505050565b6000818152600360205260408120546001600160a01b03161515610821565b6110c0611fbe565b8051610e3d906009906020840190612ff6565b6000818152600360205260408120546001600160a01b0316806108215760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610b33565b60006001600160a01b03821661119d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610b33565b506001600160a01b031660009081526004602052604090205490565b6111c1611fbe565b6111cb6000612018565b565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606002805461083690613847565b601c54601d54600182158061121a5750428311155b61122357600080fd5b8115806112305750814211155b61123957600080fd5b836040013560135481600c5461124f9190613897565b111561125a57600080fd5b846020013560011480611271575084602001356002145b61127a57600080fd5b61128385611b11565b6001601e600061129660c0890189613914565b6040516112a4929190613904565b60408051918290039091208252602082019290925201600020805460ff19169115159190911790557f48cde5cbee6b6f6a9900a0a7b7686b03a80d1f6dca0f966f4beba30128efa6f0336112fb60c0880188613914565b8860400135604051611310949392919061395a565b60405180910390a15050505050565b611327611fbe565b602080546001600160a01b0319166001600160a01b03831690811782556040519081527f12be4820d03362d1f48434d870b2fc1549b3a3d16d891eeaac7c3073f3ded8b7910160405180910390a150565b6020546001600160a01b03161580159061139b57506001600160a01b0382163b15155b1561140e57602054604051631b3b02e560e11b81523360048201526001600160a01b03848116602483015283151560448301529091169063367605ca90606401600060405180830381600087803b1580156113f557600080fd5b505af1158015611409573d6000803e3d6000fd5b505050505b610e3d828261206a565b611420611fbe565b600a80546001600160a01b0319166001600160a01b0386161790558251600f5560208084015160105560408085015160115560608086015160125560808087015160135560a08088015160145560c088015160155586516016558685015160175585516018559385015160195584830151601a5590840151601b55830151601c5590820151601d55517f50831a4922f5d35421d5a5fd859255e2f0ebcb1c082417f0fc078ed433444e5e90600090a150505050565b6114dd61307a565b6040518060e00160405280600f54815260200160105481526020016011548152602001601254815260200160135481526020016014548152602001601554815250905090565b836daaeb6d7670e522a718067333cd4e3b1561166f57336001600160a01b0382160361155a5761155585858585612075565b61167b565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156115a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cd91906138ce565b80156116505750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561162c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165091906138ce565b61166f57604051633b79c77360e21b8152336004820152602401610b33565b61167b85858585612075565b5050505050565b60005b81811015610bd4576116b48383838181106116a2576116a26139a4565b905060200281019061065891906139ba565b806116be816138eb565b915050611685565b60606116d1826120a7565b6040516020016116e191906139da565b6040516020818303038152906040529050919050565b60008281526020819052604090206001015461171281611d17565b610bd48383611da5565b610e3d8282610e41565b805160135481600c546117399190613897565b111561174457600080fd5b81518351146117955760405162461bcd60e51b815260206004820152601960248201527f696e707574206c656e677468206d7573742062652073616d65000000000000006044820152606401610b33565b60005b8251811015610d52576117dd8482815181106117b6576117b66139a4565b60200260200101518483815181106117d0576117d06139a4565b6020026020010151610e41565b806117e7816138eb565b915050611798565b6001600160a01b038281166000908152600660209081526040808320858516845282528220549054919260ff9091169116156118ab576020546040516346e67e2960e11b81526001600160a01b0386811660048301528581166024830152831515604483015290911690638dccfc5290606401602060405180830381865afa15801561187f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a391906138ce565b915050610821565b9392505050565b6118ba611fbe565b6001600160a01b03811661191f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b33565b61192881612018565b50565b8060115481600010801561193f5750808211155b61194857600080fd5b82600f546000148061196f5750600f548161196233611133565b61196c9190613897565b11155b61197857600080fd5b8360165461198691906138af565b80341461199257600080fd5b60185460195460018215806119a75750428311155b6119b057600080fd5b8115806119bd5750814211155b6119c657600080fd5b8760135481600c546119d89190613897565b11156119e357600080fd5b60145489600d54600e546119f79190613897565b611a019190613897565b1115611a0c57600080fd5b611a15896121aa565b88600d6000828254611a279190613897565b9091555050600a546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611a65573d6000803e3d6000fd5b5060408051338152602081018b90527f1c843154872953e2df5774b0bf858b07cee902d268cf479d2b0c7e2c4a8d81d39101610a85565b60006001600160e01b03198216637965db0b60e01b148061082157506301ffc9a760e01b6001600160e01b0319831614610821565b60006001600160e01b031982166380ac58cd60e01b1480611b0257506001600160e01b03198216635b5e139f60e01b145b80610821575061082182611a9c565b6000816040013511611b2257600080fd5b601e6000611b3360c0840184613914565b604051611b41929190613904565b604080519182900390912082526020820192909252016000205460ff1615611b6857600080fd5b600080611b7483612250565b91509150611b8a6008546001600160a01b031690565b6001600160a01b0316826001600160a01b0316148015611bca5750611bb56080840160608501613215565b6001600160a01b0316816001600160a01b0316145b611c0c5760405162461bcd60e51b8152602060048201526013602482015272696e76616c6964207369676e616e617475726560681b6044820152606401610b33565b610bd483604001356121aa565b6000818152600360205260409020546001600160a01b03166119285760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610b33565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611cad826110d3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611cf033826124c2565b611d0c5760405162461bcd60e51b8152600401610b3390613a03565b610bd4838383612520565b6119288133612691565b611d2b82826111cd565b610e3d576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611d613390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611daf82826111cd565b15610e3d576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038216611e605760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b33565b6000818152600360205260409020546001600160a01b031615611ec55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b33565b611ed36000838360016126ea565b6000818152600360205260409020546001600160a01b031615611f385760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b33565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b610bd483838360405180602001604052806000815250611523565b6008546001600160a01b031633146111cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b33565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e3d338383612772565b61207f33836124c2565b61209b5760405162461bcd60e51b8152600401610b3390613a03565b610d5284848484612840565b60606120b282611c19565b600082815260076020526040812080546120cb90613847565b80601f01602080910402602001604051908101604052809291908181526020018280546120f790613847565b80156121445780601f1061211957610100808354040283529160200191612144565b820191906000526020600020905b81548152906001019060200180831161212757829003601f168201915b505050505090506000612155612873565b90508051600003612167575092915050565b815115612199578082604051602001612181929190613a50565b60405160208183030381529060405292505050919050565b6121a2846128c5565b949350505050565b600080600081600b546121bd9190613897565b90505b83831015612224575b6000818152600360205260409020546001600160a01b03161561220857816121f0816138eb565b92505081600b546122019190613897565b90506121c9565b6122123382611e0a565b8261221c816138eb565b9350506121c0565b83600c60008282546122369190613897565b909155506122479050816001613897565b600b5550505050565b60008060208301351580612268575082602001356001145b80612277575082602001356002145b61228057600080fd5b60408051808201909152601c81527f19457468657265756d205369676e6564204d6573736167653a0a33320000000060208201526000816122c76080870160608801613215565b6040516020016122ea919060609190911b6001600160601b031916815260140190565b60405160208183030381529060405280519060200120604051602001612311929190613a7f565b60408051601f198184030181529190528051602090910120905060006123788261233e60a0890189613914565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061292b92505050565b9050600086602001356000036123f657836020880135883561239d60808b018b613914565b336040516020016123b2959493929190613aa1565b604051602081830303815290604052805190602001206040516020016123d9929190613a7f565b6040516020818303038152906040528051906020012090506124a0565b866020013560010361243057836020880135883561241760808b018b613914565b8b604001356040516020016123b2959493929190613ad8565b836020880135883561244560808b018b613914565b8b604001353360405160200161246096959493929190613afa565b60405160208183030381529060405280519060200120604051602001612487929190613a7f565b6040516020818303038152906040528051906020012090505b60006124b38261233e60c08b018b613914565b92989297509195505050505050565b6000806124ce836110d3565b9050806001600160a01b0316846001600160a01b031614806124f557506124f581856117ef565b806121a25750836001600160a01b031661250e84610a98565b6001600160a01b031614949350505050565b826001600160a01b0316612533826110d3565b6001600160a01b0316146125595760405162461bcd60e51b8152600401610b3390613b32565b6001600160a01b0382166125bb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b33565b6125c883838360016126ea565b826001600160a01b03166125db826110d3565b6001600160a01b0316146126015760405162461bcd60e51b8152600401610b3390613b32565b600081815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61269b82826111cd565b610e3d576126a88161294f565b6126b3836020612961565b6040516020016126c4929190613b77565b60408051601f198184030181529082905262461bcd60e51b8252610b3391600401613138565b6001811115610d52576001600160a01b03841615612730576001600160a01b0384166000908152600460205260408120805483929061272a908490613bec565b90915550505b6001600160a01b03831615610d52576001600160a01b03831660009081526004602052604081208054839290612767908490613897565b909155505050505050565b816001600160a01b0316836001600160a01b0316036127d35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b33565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61284b848484612520565b61285784848484612afc565b610d525760405162461bcd60e51b8152600401610b3390613c03565b606060006009805461288490613847565b90501115612899576009805461083690613847565b6128a16111f6565b6040516020016128b19190613c55565b604051602081830303815290604052905090565b60606128d082611c19565b60006128da612873565b905060008151116128fa57604051806020016040528060008152506118ab565b8061290484612bfd565b604051602001612915929190613a50565b6040516020818303038152906040529392505050565b600080600061293a8585612c8f565b9150915061294781612cd4565b509392505050565b60606108216001600160a01b03831660145b606060006129708360026138af565b61297b906002613897565b6001600160401b0381111561299257612992613331565b6040519080825280601f01601f1916602001820160405280156129bc576020820181803683370190505b509050600360fc1b816000815181106129d7576129d76139a4565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612a0657612a066139a4565b60200101906001600160f81b031916908160001a9053506000612a2a8460026138af565b612a35906001613897565b90505b6001811115612aad576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612a6957612a696139a4565b1a60f81b828281518110612a7f57612a7f6139a4565b60200101906001600160f81b031916908160001a90535060049490941c93612aa681613ca9565b9050612a38565b5083156118ab5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610b33565b60006001600160a01b0384163b15612bf257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612b40903390899088908890600401613cc0565b6020604051808303816000875af1925050508015612b7b575060408051601f3d908101601f19168201909252612b7891810190613cfd565b60015b612bd8573d808015612ba9576040519150601f19603f3d011682016040523d82523d6000602084013e612bae565b606091505b508051600003612bd05760405162461bcd60e51b8152600401610b3390613c03565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506121a2565b506001949350505050565b60606000612c0a83612e1e565b60010190506000816001600160401b03811115612c2957612c29613331565b6040519080825280601f01601f191660200182016040528015612c53576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084612c5d57509392505050565b6000808251604103612cc55760208301516040840151606085015160001a612cb987828585612ef6565b94509450505050612ccd565b506000905060025b9250929050565b6000816004811115612ce857612ce8613d1a565b03612cf05750565b6001816004811115612d0457612d04613d1a565b03612d515760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610b33565b6002816004811115612d6557612d65613d1a565b03612db25760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610b33565b6003816004811115612dc657612dc6613d1a565b036119285760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610b33565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612e5d5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612e89576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612ea757662386f26fc10000830492506010015b6305f5e1008310612ebf576305f5e100830492506008015b6127108310612ed357612710830492506004015b60648310612ee5576064830492506002015b600a83106108215760010192915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612f2d5750600090506003612fb1565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612f81573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612faa57600060019250925050612fb1565b9150600090505b94509492505050565b60405180604001604052806002906020820280368337509192915050565b6040518060c001604052806006906020820280368337509192915050565b82805461300290613847565b90600052602060002090601f016020900481019282613024576000855561306a565b82601f1061303d57805160ff191683800117855561306a565b8280016001018555821561306a579182015b8281111561306a57825182559160200191906001019061304f565b50613076929150613098565b5090565b6040518060e001604052806007906020820280368337509192915050565b5b808211156130765760008155600101613099565b6001600160e01b03198116811461192857600080fd5b6000602082840312156130d557600080fd5b81356118ab816130ad565b60005b838110156130fb5781810151838201526020016130e3565b83811115610d525750506000910152565b600081518084526131248160208601602086016130e0565b601f01601f19169290920160200192915050565b6020815260006118ab602083018461310c565b60006020828403121561315d57600080fd5b81356001600160401b0381111561317357600080fd5b820160e081850312156118ab57600080fd5b60006020828403121561319757600080fd5b5035919050565b80356001600160a01b03811681146131b557600080fd5b919050565b600080604083850312156131cd57600080fd5b6131d68361319e565b946020939093013593505050565b60408101818360005b600281101561320c5781518352602092830192909101906001016131ed565b50505092915050565b60006020828403121561322757600080fd5b6118ab8261319e565b60008060006060848603121561324557600080fd5b61324e8461319e565b925061325c6020850161319e565b9150604084013590509250925092565b6000806040838503121561327f57600080fd5b8235915061328f6020840161319e565b90509250929050565b60c08101818360005b600681101561320c5781518352602092830192909101906001016132a1565b600080602083850312156132d357600080fd5b82356001600160401b03808211156132ea57600080fd5b818501915085601f8301126132fe57600080fd5b81358181111561330d57600080fd5b86602082850101111561331f57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561336957613369613331565b60405290565b604051601f8201601f191681016001600160401b038111828210171561339757613397613331565b604052919050565b60006001600160401b038311156133b8576133b8613331565b6133cb601f8401601f191660200161336f565b90508281528383830111156133df57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561340857600080fd5b81356001600160401b0381111561341e57600080fd5b8201601f8101841361342f57600080fd5b6121a28482356020840161339f565b801515811461192857600080fd5b6000806040838503121561345f57600080fd5b6134688361319e565b915060208301356134788161343e565b809150509250929050565b6000604051604081018181106001600160401b03821117156134a7576134a7613331565b806040525080915060408301848111156134c057600080fd5b835b8181101561320c5780358352602092830192016134c2565b600060405160c081018181106001600160401b03821117156134fe576134fe613331565b60405290508060c08301848111156134c057600080fd5b600080600080610200858703121561352c57600080fd5b6135358561319e565b9350602086603f87011261354857600080fd5b613550613347565b8061010088018981111561356357600080fd5b8389015b8181101561357e5780358452928401928401613567565b508196508961011f8a011261359257600080fd5b61359c8a82613483565b9550505050508561015f8601126135b257600080fd5b6135c08661014087016134da565b905092959194509250565b60e08101818360005b600781101561320c5781518352602092830192909101906001016135d4565b6000806000806080858703121561360957600080fd5b6136128561319e565b93506136206020860161319e565b92506040850135915060608501356001600160401b0381111561364257600080fd5b8501601f8101871361365357600080fd5b6136628782356020840161339f565b91505092959194509250565b6000806020838503121561368157600080fd5b82356001600160401b038082111561369857600080fd5b818501915085601f8301126136ac57600080fd5b8135818111156136bb57600080fd5b8660208260051b850101111561331f57600080fd5b60006001600160401b038211156136e9576136e9613331565b5060051b60200190565b600082601f83011261370457600080fd5b81356020613719613714836136d0565b61336f565b82815260059290921b8401810191818101908684111561373857600080fd5b8286015b84811015613753578035835291830191830161373c565b509695505050505050565b6000806040838503121561377157600080fd5b82356001600160401b038082111561378857600080fd5b818501915085601f83011261379c57600080fd5b813560206137ac613714836136d0565b82815260059290921b840181019181810190898411156137cb57600080fd5b948201945b838610156137f0576137e18661319e565b825294820194908201906137d0565b9650508601359250508082111561380657600080fd5b50613813858286016136f3565b9150509250929050565b6000806040838503121561383057600080fd5b6138398361319e565b915061328f6020840161319e565b600181811c9082168061385b57607f821691505b60208210810361387b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156138aa576138aa613881565b500190565b60008160001904831182151516156138c9576138c9613881565b500290565b6000602082840312156138e057600080fd5b81516118ab8161343e565b6000600182016138fd576138fd613881565b5060010190565b8183823760009101908152919050565b6000808335601e1984360301811261392b57600080fd5b8301803591506001600160401b0382111561394557600080fd5b602001915036819003821315612ccd57600080fd5b6001600160a01b038516815260606020820181905281018390528284608083013760006080848301015260006080601f19601f860116830101905082604083015295945050505050565b634e487b7160e01b600052603260045260246000fd5b6000823560de198336030181126139d057600080fd5b9190910192915050565b600082516139ec8184602087016130e0565b64173539b7b760d91b920191825250600501919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60008351613a628184602088016130e0565b835190830190613a768183602088016130e0565b01949350505050565b60008351613a918184602088016130e0565b9190910191825250602001919050565b8581528460208201528284604083013760609190911b6001600160601b031916604091909201908101919091526054019392505050565b8581528460208201528284604083013760409201918201526060019392505050565b868152856020820152838560408301376040930192830191909152606090811b6001600160601b031916908201526074019392505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613baf8160178501602088016130e0565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613be08160288401602088016130e0565b01602801949350505050565b600082821015613bfe57613bfe613881565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b7f68747470733a2f2f6e66742e66696e616e6369652e696f2f6d6574616461746181526000602f60f81b8060208401528351613c988160218601602088016130e0565b602193019283015250602201919050565b600081613cb857613cb8613881565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613cf39083018461310c565b9695505050505050565b600060208284031215613d0f57600080fd5b81516118ab816130ad565b634e487b7160e01b600052602160045260246000fdfea26469706673582212202c2611bda2830a559c95d41d4e2e8b7ba012ce8a80c06018d16be988d7eaddd864736f6c634300080d0033

Deployed Bytecode Sourcemap

94924:479:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87717:218;;;;;;;;;;-1:-1:-1;87717:218:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;87717:218:0;;;;;;;;64567:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;88737:857::-;;;;;;:::i;:::-;;:::i;:::-;;66079:171;;;;;;;;;;-1:-1:-1;66079:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2087:32:1;;;2069:51;;2057:2;2042:18;66079:171:0;1923:203:1;65597:416:0;;;;;;;;;;-1:-1:-1;65597:416:0;;;;;:::i;:::-;;:::i;94447:146::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;93802:84::-;;;;;;;;;;-1:-1:-1;93868:12:0;;93802:84;;;3213:25:1;;;3201:2;3186:18;93802:84:0;3067:177:1;93579:123:0;;;;;;;;;;-1:-1:-1;93579:123:0;;;;;:::i;:::-;-1:-1:-1;;;;;93663:33:0;93640:7;93663:33;;;:26;:33;;;;;;;93579:123;85268:157;;;;;;;;;;-1:-1:-1;85268:157:0;;;;;:::i;:::-;;:::i;33198:131::-;;;;;;;;;;-1:-1:-1;33198:131:0;;;;;:::i;:::-;33272:7;33299:12;;;;;;;;;;:22;;;;33198:131;33639:147;;;;;;;;;;-1:-1:-1;33639:147:0;;;;;:::i;:::-;;:::i;94599:254::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;34783:218::-;;;;;;;;;;-1:-1:-1;34783:218:0;;;;;:::i;:::-;;:::i;85822:257::-;;;;;;;;;;-1:-1:-1;85822:257:0;;;;;:::i;:::-;;:::i;85431:165::-;;;;;;;;;;-1:-1:-1;85431:165:0;;;;;:::i;:::-;;:::i;93429:144::-;;;;;;;;;;-1:-1:-1;93429:144:0;;;;;:::i;:::-;;:::i;83050:35::-;;;;;;;;;;-1:-1:-1;83050:35:0;;;;-1:-1:-1;;;;;83050:35:0;;;86845:95;;;;;;;;;;-1:-1:-1;86845:95:0;;;;;:::i;:::-;;:::i;93992:100::-;;;;;;;;;;-1:-1:-1;94066:20:0;;93992:100;;86743:96;;;;;;;;;;-1:-1:-1;86743:96:0;;;;;:::i;:::-;;:::i;93708:88::-;;;;;;;;;;-1:-1:-1;93776:14:0;;-1:-1:-1;;;;;93776:14:0;93708:88;;93892:94;;;;;;;;;;-1:-1:-1;93963:17:0;;93892:94;;64277:223;;;;;;;;;;-1:-1:-1;64277:223:0;;;;;:::i;:::-;;:::i;64008:207::-;;;;;;;;;;-1:-1:-1;64008:207:0;;;;;:::i;:::-;;:::i;7765:103::-;;;;;;;;;;;;;:::i;81622:74::-;;;;;;;;;;;;81666:30;81622:74;;7117:87;;;;;;;;;;-1:-1:-1;7190:6:0;;-1:-1:-1;;;;;7190:6:0;7117:87;;31671:147;;;;;;;;;;-1:-1:-1;31671:147:0;;;;;:::i;:::-;;:::i;64736:104::-;;;;;;;;;;;;;:::i;89600:409::-;;;;;;;;;;-1:-1:-1;89600:409:0;;;;;:::i;:::-;;:::i;86946:143::-;;;;;;;;;;-1:-1:-1;86946:143:0;;;;;:::i;:::-;;:::i;30776:49::-;;;;;;;;;;-1:-1:-1;30776:49:0;30821:4;30776:49;;87095:298;;;;;;;;;;-1:-1:-1;87095:298:0;;;;;:::i;:::-;;:::i;92413:1010::-;;;;;;;;;;-1:-1:-1;92413:1010:0;;;;;:::i;:::-;;:::i;94098:343::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;85602:214::-;;;;;;;;;;-1:-1:-1;85602:214:0;;;;;:::i;:::-;;:::i;90015:182::-;;;;;;;;;;-1:-1:-1;90015:182:0;;;;;:::i;:::-;;:::i;86572:165::-;;;;;;;;;;-1:-1:-1;86572:165:0;;;;;:::i;:::-;;:::i;34079:149::-;;;;;;;;;;-1:-1:-1;34079:149:0;;;;;:::i;:::-;;:::i;86426:83::-;;;;;;;;;;-1:-1:-1;86426:83:0;;;;;:::i;:::-;;:::i;86085:335::-;;;;;;;;;;-1:-1:-1;86085:335:0;;;;;:::i;:::-;;:::i;87399:312::-;;;;;;;;;;-1:-1:-1;87399:312:0;;;;;:::i;:::-;;:::i;8023:201::-;;;;;;;;;;-1:-1:-1;8023:201:0;;;;;:::i;:::-;;:::i;88205:526::-;;;;;;:::i;:::-;;:::i;87717:218::-;87824:4;87844:44;87876:11;87844:31;:44::i;:::-;:85;;;;87892:37;87917:11;87892:24;:37::i;:::-;87837:92;87717:218;-1:-1:-1;;87717:218:0:o;64567:100::-;64621:13;64654:5;64647:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64567:100;:::o;88737:857::-;88847:10;:14;;;88863:32;;84634:3;84630:1;:7;:21;;;;;84648:3;84641;:10;;84630:21;84622:30;;;;;;88926:10:::1;:14;;;84733:26;;84763:1;84733:31;:94;;;;84801:26;;84793:3;84769:21;84779:10;84769:9;:21::i;:::-;:27;;;;:::i;:::-;84768:59;;84733:94;84725:103;;;::::0;::::1;;88983:10:::2;:14;;;88961:19;;:36;;;;:::i;:::-;84915:6;84902:9;:19;84894:28;;;::::0;::::2;;89018:20:::3;::::0;89040:21:::3;::::0;89063:5:::3;85195:15;85185:6;:25;;:55;;;;;85233:7;85214:15;:26;;85185:55;85177:64;;;::::0;::::3;;89089:10:::4;:14;;;84521:20;;84513:3;84498:12;;:18;;;;:::i;:::-;84497:44;;84489:53;;;::::0;::::4;;89123:18:::5;::::0;::::5;;:23:::0;89115:32:::5;;;::::0;::::5;;89223;::::0;89190:10:::5;89163:38;::::0;;;:26:::5;:38;::::0;89204:14:::5;89163:38:::0;;;;;:55:::5;::::0;89204:14;::::5;;::::0;89163:55:::5;:::i;:::-;89162:93;;89154:102;;;::::0;::::5;;89314:28;;89295:10;:14;;;89272:20;;:37;;;;:::i;:::-;89271:71;;89263:80;;;::::0;::::5;;89352:27;89368:10;89352:15;:27::i;:::-;89410:10;:14;;;89386:20;;:38;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;89458:10:0::5;89431:38;::::0;;;:26:::5;:38;::::0;89473:14:::5;89431:38:::0;;;:56;;89473:14;;::::5;;::::0;89431:38;;:56:::5;::::0;89473:14;;89431:56:::5;:::i;:::-;::::0;;;-1:-1:-1;;89494:14:0::5;::::0;:34:::5;::::0;-1:-1:-1;;;;;89494:14:0;;::::5;::::0;89518:9:::5;89494:34:::0;::::5;;;::::0;:14:::5;:34:::0;:14;:34;89518:9;89494:14;:34;::::5;;;;;;;;;;;;;::::0;::::5;;;;;-1:-1:-1::0;89573:14:0::5;89540:48:::0;;89561:10:::5;15105:51:1::0;;89573:14:0;;::::5;;15187:2:1::0;15172:18;;15165:34;89540:48:0::5;::::0;15078:18:1;89540:48:0::5;;;;;;;;85255:1:::4;84929::::3;;;84835::::2;84659::::1;88737:857:::0;;;:::o;66079:171::-;66155:7;66175:23;66190:7;66175:14;:23::i;:::-;-1:-1:-1;66218:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;66218:24:0;;66079:171::o;65597:416::-;65678:13;65694:23;65709:7;65694:14;:23::i;:::-;65678:39;;65742:5;-1:-1:-1;;;;;65736:11:0;:2;-1:-1:-1;;;;;65736:11:0;;65728:57;;;;-1:-1:-1;;;65728:57:0;;15412:2:1;65728:57:0;;;15394:21:1;15451:2;15431:18;;;15424:30;15490:34;15470:18;;;15463:62;-1:-1:-1;;;15541:18:1;;;15534:31;15582:19;;65728:57:0;;;;;;;;;5744:10;-1:-1:-1;;;;;65820:21:0;;;;:62;;-1:-1:-1;65845:37:0;65862:5;5744:10;87399:312;:::i;65845:37::-;65798:173;;;;-1:-1:-1;;;65798:173:0;;15814:2:1;65798:173:0;;;15796:21:1;15853:2;15833:18;;;15826:30;15892:34;15872:18;;;15865:62;15963:31;15943:18;;;15936:59;16012:19;;65798:173:0;15612:425:1;65798:173:0;65984:21;65993:2;65997:7;65984:8;:21::i;:::-;65667:346;65597:416;;:::o;94447:146::-;94494:17;;:::i;:::-;-1:-1:-1;94520:67:0;;;;;;;;;94536:16;;94520:67;;94561:19;;94520:67;;;;;94447:146::o;85268:157::-;85369:4;2779:42;3919:43;:47;3915:699;;4206:10;-1:-1:-1;;;;;4198:18:0;;;4194:85;;85382:37:::1;85401:4;85407:2;85411:7;85382:18;:37::i;:::-;4257:7:::0;;4194:85;4339:67;;-1:-1:-1;;;4339:67:0;;4388:4;4339:67;;;16254:34:1;4395:10:0;16304:18:1;;;16297:43;2779:42:0;;4339:40;;16189:18:1;;4339:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4435:61:0;;-1:-1:-1;;;4435:61:0;;4484:4;4435:61;;;16254:34:1;-1:-1:-1;;;;;16324:15:1;;16304:18;;;16297:43;2779:42:0;;4435:40;;16189:18:1;;4435:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4293:310;;4557:30;;-1:-1:-1;;;4557:30:0;;4576:10;4557:30;;;2069:51:1;2042:18;;4557:30:0;1923:203:1;4293:310:0;85382:37:::1;85401:4;85407:2;85411:7;85382:18;:37::i;:::-;85268:157:::0;;;;:::o;33639:147::-;33272:7;33299:12;;;;;;;;;;:22;;;31267:16;31278:4;31267:10;:16::i;:::-;33753:25:::1;33764:4;33770:7;33753:10;:25::i;94599:254::-:0;94650:17;;:::i;:::-;94676:171;;;;;;;;94692:17;;94676:171;;;;94718:18;;94676:171;;;;94745:20;;94676:171;;;;94774:21;;94676:171;;;;94804:13;;94676:171;;;;94826:14;;94676:171;;;;;94599:254;:::o;34783:218::-;-1:-1:-1;;;;;34879:23:0;;5744:10;34879:23;34871:83;;;;-1:-1:-1;;;34871:83:0;;16803:2:1;34871:83:0;;;16785:21:1;16842:2;16822:18;;;16815:30;16881:34;16861:18;;;16854:62;-1:-1:-1;;;16932:18:1;;;16925:45;16987:19;;34871:83:0;16601:411:1;34871:83:0;34967:26;34979:4;34985:7;34967:11;:26::i;:::-;34783:218;;:::o;85822:257::-;85896:1;84521:20;;84513:3;84498:12;;:18;;;;:::i;:::-;84497:44;;84489:53;;;;;;85925:40:::1;81666:30;5744:10:::0;31671:147;:::i;85925:40::-:1;85909:118;;;::::0;-1:-1:-1;;;85909:118:0;;17219:2:1;85909:118:0::1;::::0;::::1;17201:21:1::0;17258:2;17238:18;;;17231:30;17297:34;17277:18;;;17270:62;-1:-1:-1;;;17348:18:1;;;17341:42;17400:19;;85909:118:0::1;17017:408:1::0;85909:118:0::1;86034:18;86040:2;86044:7;86034:5;:18::i;:::-;86059:12;:14:::0;;;:12:::1;:14;::::0;::::1;:::i;:::-;;;;;;85822:257:::0;;;:::o;85431:165::-;85536:4;2779:42;3919:43;:47;3915:699;;4206:10;-1:-1:-1;;;;;4198:18:0;;;4194:85;;85549:41:::1;85572:4;85578:2;85582:7;85549:22;:41::i;4194:85::-:0;4339:67;;-1:-1:-1;;;4339:67:0;;4388:4;4339:67;;;16254:34:1;4395:10:0;16304:18:1;;;16297:43;2779:42:0;;4339:40;;16189:18:1;;4339:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4435:61:0;;-1:-1:-1;;;4435:61:0;;4484:4;4435:61;;;16254:34:1;-1:-1:-1;;;;;16324:15:1;;16304:18;;;16297:43;2779:42:0;;4435:40;;16189:18:1;;4435:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4293:310;;4557:30;;-1:-1:-1;;;4557:30:0;;4576:10;4557:30;;;2069:51:1;2042:18;;4557:30:0;1923:203:1;4293:310:0;85549:41:::1;85572:4;85578:2;85582:7;85549:22;:41::i;93429:144::-:0;93501:4;93521:20;:46;93552:13;;93542:24;;;;;;;:::i;:::-;;;;;;;;;;;93521:46;;;;;;;;;;-1:-1:-1;93521:46:0;;;;;93429:144;-1:-1:-1;;;93429:144:0:o;86845:95::-;86898:4;69164:16;;;:7;:16;;;;;;-1:-1:-1;;;;;69164:16:0;69590:31;;86918:16;69501:128;86743:96;7003:13;:11;:13::i;:::-;86814:19;;::::1;::::0;:7:::1;::::0;:19:::1;::::0;::::1;::::0;::::1;:::i;64277:223::-:0;64349:7;69164:16;;;:7;:16;;;;;;-1:-1:-1;;;;;69164:16:0;;64413:56;;;;-1:-1:-1;;;64413:56:0;;18048:2:1;64413:56:0;;;18030:21:1;18087:2;18067:18;;;18060:30;-1:-1:-1;;;18106:18:1;;;18099:54;18170:18;;64413:56:0;17846:348:1;64008:207:0;64080:7;-1:-1:-1;;;;;64108:19:0;;64100:73;;;;-1:-1:-1;;;64100:73:0;;18401:2:1;64100:73:0;;;18383:21:1;18440:2;18420:18;;;18413:30;18479:34;18459:18;;;18452:62;-1:-1:-1;;;18530:18:1;;;18523:39;18579:19;;64100:73:0;18199:405:1;64100:73:0;-1:-1:-1;;;;;;64191:16:0;;;;;:9;:16;;;;;;;64008:207::o;7765:103::-;7003:13;:11;:13::i;:::-;7830:30:::1;7857:1;7830:18;:30::i;:::-;7765:103::o:0;31671:147::-;31757:4;31781:12;;;;;;;;;;;-1:-1:-1;;;;;31781:29:0;;;;;;;;;;;;;;;31671:147::o;64736:104::-;64792:13;64825:7;64818:14;;;;;:::i;89600:409::-;89687:13;;89702:14;;89718:4;85053:11;;;:40;;;85078:15;85068:6;:25;;85053:40;85045:49;;;;;;85111:12;;;:42;;;85146:7;85127:15;:26;;85111:42;85103:51;;;;;;89743:10:::1;:14;;;84521:20;;84513:3;84498:12;;:18;;;;:::i;:::-;84497:44;;84489:53;;;::::0;::::1;;89777:10:::2;:18;;;89799:1;89777:23;:50;;;;89804:10;:18;;;89826:1;89804:23;89777:50;89769:59;;;::::0;::::2;;89837:27;89853:10;89837:15;:27::i;:::-;89925:4;89871:20;:51;89902:18;;::::0;::::2;:10:::0;:18:::2;:::i;:::-;89892:29;;;;;;;:::i;:::-;;::::0;;;;;::::2;::::0;;;89871:51;;::::2;::::0;::::2;::::0;;;;;-1:-1:-1;89871:51:0;:58;;-1:-1:-1;;89871:58:0::2;::::0;::::2;;::::0;;;::::2;::::0;;89941:62:::2;89956:10;89968:18;;::::0;::::2;::::0;::::2;:::i;:::-;89988:10;:14;;;89941:62;;;;;;;;;:::i;:::-;;;;;;;;85255:1:::1;89600:409:::0;;;;:::o;86946:143::-;7003:13;:11;:13::i;:::-;87010::::1;:36:::0;;-1:-1:-1;;;;;;87010:36:0::1;-1:-1:-1::0;;;;;87010:36:0;::::1;::::0;;::::1;::::0;;87058:25:::1;::::0;2069:51:1;;;87058:25:0::1;::::0;2042:18:1;87058:25:0::1;;;;;;;86946:143:::0;:::o;87095:298::-;87197:13;;-1:-1:-1;;;;;87197:13:0;87189:38;;;;:69;;-1:-1:-1;;;;;;53511:19:0;;;:23;;87231:27;87185:154;;;87269:13;;:62;;-1:-1:-1;;;87269:62:0;;87301:10;87269:62;;;19933:34:1;-1:-1:-1;;;;;20003:15:1;;;19983:18;;;19976:43;20062:14;;20055:22;20035:18;;;20028:50;87269:13:0;;;;:31;;19868:18:1;;87269:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87185:154;87345:42;87369:7;87378:8;87345:23;:42::i;92413:1010::-;7003:13;:11;:13::i;:::-;92611:14:::1;:40:::0;;-1:-1:-1;;;;;;92611:40:0::1;-1:-1:-1::0;;;;;92611:40:0;::::1;;::::0;;92689:16;;92660:26:::1;:45:::0;92689:16:::1;92747::::0;;::::1;::::0;92712:32:::1;:51:::0;92802:16;;;::::1;::::0;92770:29:::1;:48:::0;92860:16;;;::::1;::::0;92825:32:::1;:51:::0;92906:16;;;::::1;::::0;92883:20:::1;:39:::0;92951:16;;;::::1;::::0;92929:19:::1;:38:::0;93005:16;;::::1;::::0;92974:28:::1;:47:::0;93049:15;;93030:16:::1;:34:::0;93093:15;;::::1;::::0;93071:19:::1;:37:::0;93137:19;;93117:17:::1;:39:::0;93184:19;;::::1;::::0;93163:18:::1;:40:::0;93233:19;;::::1;::::0;93210:20:::1;:42:::0;93283:19;;::::1;::::0;93259:21:::1;:43:::0;93325:19;::::1;::::0;93309:13:::1;:35:::0;93368:19;;::::1;::::0;93351:14:::1;:36:::0;93401:16;::::1;::::0;-1:-1:-1;;93401:16:0::1;92413:1010:::0;;;;:::o;94098:343::-;94146:17;;:::i;:::-;94172:263;;;;;;;;94188:26;;94172:263;;;;94223:32;;94172:263;;;;94264:29;;94172:263;;;;94302:32;;94172:263;;;;94343:20;;94172:263;;;;94372:19;;94172:263;;;;94400:28;;94172:263;;;;;94098:343;:::o;85602:214::-;85747:4;2779:42;3919:43;:47;3915:699;;4206:10;-1:-1:-1;;;;;4198:18:0;;;4194:85;;85763:47:::1;85786:4;85792:2;85796:7;85805:4;85763:22;:47::i;:::-;4257:7:::0;;4194:85;4339:67;;-1:-1:-1;;;4339:67:0;;4388:4;4339:67;;;16254:34:1;4395:10:0;16304:18:1;;;16297:43;2779:42:0;;4339:40;;16189:18:1;;4339:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4435:61:0;;-1:-1:-1;;;4435:61:0;;4484:4;4435:61;;;16254:34:1;-1:-1:-1;;;;;16324:15:1;;16304:18;;;16297:43;2779:42:0;;4435:40;;16189:18:1;;4435:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4293:310;;4557:30;;-1:-1:-1;;;4557:30:0;;4576:10;4557:30;;;2069:51:1;2042:18;;4557:30:0;1923:203:1;4293:310:0;85763:47:::1;85786:4;85792:2;85796:7;85805:4;85763:22;:47::i;:::-;85602:214:::0;;;;;:::o;90015:182::-;90101:9;90096:96;90116:22;;;90096:96;;;90154:30;90169:11;;90181:1;90169:14;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;90154:30::-;90140:3;;;;:::i;:::-;;;;90096:96;;86572:165;86644:13;86697:23;86712:7;86697:14;:23::i;:::-;86680:50;;;;;;;;:::i;:::-;;;;;;;;;;;;;86666:65;;86572:165;;;:::o;34079:149::-;33272:7;33299:12;;;;;;;;;;:22;;;31267:16;31278:4;31267:10;:16::i;:::-;34194:26:::1;34206:4;34212:7;34194:11;:26::i;86426:83::-:0;86486:17;86491:2;86495:7;86486:4;:17::i;86085:335::-;86187:11;:18;84521:20;;84513:3;84498:12;;:18;;;;:::i;:::-;84497:44;;84489:53;;;;;;86250:11:::1;:18;86233:6;:13;:35;86217:94;;;::::0;-1:-1:-1;;;86217:94:0;;21204:2:1;86217:94:0::1;::::0;::::1;21186:21:1::0;21243:2;21223:18;;;21216:30;21282:27;21262:18;;;21255:55;21327:18;;86217:94:0::1;21002:349:1::0;86217:94:0::1;86323:9;86318:97;86342:11;:18;86338:1;:22;86318:97;;;86376:31;86381:6;86388:1;86381:9;;;;;;;;:::i;:::-;;;;;;;86392:11;86404:1;86392:14;;;;;;;;:::i;:::-;;;;;;;86376:4;:31::i;:::-;86362:3:::0;::::1;::::0;::::1;:::i;:::-;;;;86318:97;;87399:312:::0;-1:-1:-1;;;;;66669:25:0;;;87486:4;66669:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;87572:13;;87486:4;;66669:35;;;;;87572:13;87564:38;87560:124;;87620:13;;:56;;-1:-1:-1;;;87620:56:0;;-1:-1:-1;;;;;19951:15:1;;;87620:56:0;;;19933:34:1;20003:15;;;19983:18;;;19976:43;20062:14;;20055:22;20035:18;;;20028:50;87620:13:0;;;;:30;;19868:18:1;;87620:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;87613:63;;;;;87560:124;87697:8;87399:312;-1:-1:-1;;;87399:312:0:o;8023:201::-;7003:13;:11;:13::i;:::-;-1:-1:-1;;;;;8112:22:0;::::1;8104:73;;;::::0;-1:-1:-1;;;8104:73:0;;21558:2:1;8104:73:0::1;::::0;::::1;21540:21:1::0;21597:2;21577:18;;;21570:30;21636:34;21616:18;;;21609:62;-1:-1:-1;;;21687:18:1;;;21680:36;21733:19;;8104:73:0::1;21356:402:1::0;8104:73:0::1;8188:28;8207:8;8188:18;:28::i;:::-;8023:201:::0;:::o;88205:526::-;88293:3;88298:29;;84634:3;84630:1;:7;:21;;;;;84648:3;84641;:10;;84630:21;84622:30;;;;;;88358:3:::1;84733:26;;84763:1;84733:31;:94;;;;84801:26;;84793:3;84769:21;84779:10;84769:9;:21::i;:::-;:27;;;;:::i;:::-;84768:59;;84733:94;84725:103;;;::::0;::::1;;88401:3:::2;88382:16;;:22;;;;:::i;:::-;84915:6;84902:9;:19;84894:28;;;::::0;::::2;;88425:17:::3;::::0;88444:18:::3;::::0;88464:4:::3;85053:11:::0;;;:40:::3;;;85078:15;85068:6;:25;;85053:40;85045:49;;;::::0;::::3;;85111:12:::0;;;:42:::3;;;85146:7;85127:15;:26;;85111:42;85103:51;;;::::0;::::3;;88489:3:::4;84521:20;;84513:3;84498:12;;:18;;;;:::i;:::-;84497:44;;84489:53;;;::::0;::::4;;88564:19:::5;;88556:3;88536:17;;88513:20;;:40;;;;:::i;:::-;:46;;;;:::i;:::-;88512:71;;88504:80;;;::::0;::::5;;88591:16;88603:3;88591:11;:16::i;:::-;88635:3;88614:17;;:24;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;88645:14:0::5;::::0;:34:::5;::::0;-1:-1:-1;;;;;88645:14:0;;::::5;::::0;88669:9:::5;88645:34:::0;::::5;;;::::0;:14:::5;:34:::0;:14;:34;88669:9;88645:14;:34;::::5;;;;;;;;;;;;;::::0;::::5;;;;;-1:-1:-1::0;88691:34:0::5;::::0;;88709:10:::5;15105:51:1::0;;15187:2;15172:18;;15165:34;;;88691::0::5;::::0;15078:18:1;88691:34:0::5;14931:274:1::0;31375:204:0;31460:4;-1:-1:-1;;;;;;31484:47:0;;-1:-1:-1;;;31484:47:0;;:87;;-1:-1:-1;;;;;;;;;;28739:40:0;;;31535:36;28630:157;63639:305;63741:4;-1:-1:-1;;;;;;63778:40:0;;-1:-1:-1;;;63778:40:0;;:105;;-1:-1:-1;;;;;;;63835:48:0;;-1:-1:-1;;;63835:48:0;63778:105;:158;;;;63900:36;63924:11;63900:23;:36::i;90203:387::-;90300:1;90283:10;:14;;;:18;90275:27;;;;;;90318:20;:51;90349:18;;;;:10;:18;:::i;:::-;90339:29;;;;;;;:::i;:::-;;;;;;;;;;;90318:51;;;;;;;;;;-1:-1:-1;90318:51:0;;;;90317:52;90309:61;;;;;;90380:18;90400;90422:27;90438:10;90422:15;:27::i;:::-;90379:70;;;;90478:7;7190:6;;-1:-1:-1;;;;;7190:6:0;;7117:87;90478:7;-1:-1:-1;;;;;90464:21:0;:10;-1:-1:-1;;;;;90464:21:0;;:60;;;;-1:-1:-1;90503:21:0;;;;;;;;:::i;:::-;-1:-1:-1;;;;;90489:35:0;:10;-1:-1:-1;;;;;90489:35:0;;90464:60;90456:92;;;;-1:-1:-1;;;90456:92:0;;21965:2:1;90456:92:0;;;21947:21:1;22004:2;21984:18;;;21977:30;-1:-1:-1;;;22023:18:1;;;22016:49;22082:18;;90456:92:0;21763:343:1;90456:92:0;90557:27;90569:10;:14;;;90557:11;:27::i;75898:135::-;69566:4;69164:16;;;:7;:16;;;;;;-1:-1:-1;;;;;69164:16:0;75972:53;;;;-1:-1:-1;;;75972:53:0;;18048:2:1;75972:53:0;;;18030:21:1;18087:2;18067:18;;;18060:30;-1:-1:-1;;;18106:18:1;;;18099:54;18170:18;;75972:53:0;17846:348:1;75177:174:0;75252:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;75252:29:0;-1:-1:-1;;;;;75252:29:0;;;;;;;;:24;;75306:23;75252:24;75306:14;:23::i;:::-;-1:-1:-1;;;;;75297:46:0;;;;;;;;;;;75177:174;;:::o;66779:335::-;66974:41;5744:10;67007:7;66974:18;:41::i;:::-;66966:99;;;;-1:-1:-1;;;66966:99:0;;;;;;;:::i;:::-;67078:28;67088:4;67094:2;67098:7;67078:9;:28::i;32122:105::-;32189:30;32200:4;5744:10;32189;:30::i;36380:238::-;36464:22;36472:4;36478:7;36464;:22::i;:::-;36459:152;;36503:6;:12;;;;;;;;;;;-1:-1:-1;;;;;36503:29:0;;;;;;;;;:36;;-1:-1:-1;;36503:36:0;36535:4;36503:36;;;36586:12;5744:10;;5664:98;36586:12;-1:-1:-1;;;;;36559:40:0;36577:7;-1:-1:-1;;;;;36559:40:0;36571:4;36559:40;;;;;;;;;;36380:238;;:::o;36798:239::-;36882:22;36890:4;36896:7;36882;:22::i;:::-;36878:152;;;36953:5;36921:12;;;;;;;;;;;-1:-1:-1;;;;;36921:29:0;;;;;;;;;;:37;;-1:-1:-1;;36921:37:0;;;36978:40;5744:10;;36921:12;;36978:40;;36953:5;36978:40;36798:239;;:::o;71394:942::-;-1:-1:-1;;;;;71474:16:0;;71466:61;;;;-1:-1:-1;;;71466:61:0;;22727:2:1;71466:61:0;;;22709:21:1;;;22746:18;;;22739:30;22805:34;22785:18;;;22778:62;22857:18;;71466:61:0;22525:356:1;71466:61:0;69566:4;69164:16;;;:7;:16;;;;;;-1:-1:-1;;;;;69164:16:0;69590:31;71538:58;;;;-1:-1:-1;;;71538:58:0;;23088:2:1;71538:58:0;;;23070:21:1;23127:2;23107:18;;;23100:30;23166;23146:18;;;23139:58;23214:18;;71538:58:0;22886:352:1;71538:58:0;71609:48;71638:1;71642:2;71646:7;71655:1;71609:20;:48::i;:::-;69566:4;69164:16;;;:7;:16;;;;;;-1:-1:-1;;;;;69164:16:0;69590:31;71747:58;;;;-1:-1:-1;;;71747:58:0;;23088:2:1;71747:58:0;;;23070:21:1;23127:2;23107:18;;;23100:30;23166;23146:18;;;23139:58;23214:18;;71747:58:0;22886:352:1;71747:58:0;-1:-1:-1;;;;;72154:13:0;;;;;;:9;:13;;;;;;;;:18;;72171:1;72154:18;;;72196:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;72196:21:0;;;;;72235:33;72204:7;;72154:13;;72235:33;;72154:13;;72235:33;34783:218;;:::o;67185:185::-;67323:39;67340:4;67346:2;67350:7;67323:39;;;;;;;;;;;;:16;:39::i;7282:132::-;7190:6;;-1:-1:-1;;;;;7190:6:0;5744:10;7346:23;7338:68;;;;-1:-1:-1;;;7338:68:0;;23445:2:1;7338:68:0;;;23427:21:1;;;23464:18;;;23457:30;23523:34;23503:18;;;23496:62;23575:18;;7338:68:0;23243:356:1;8384:191:0;8477:6;;;-1:-1:-1;;;;;8494:17:0;;;-1:-1:-1;;;;;;8494:17:0;;;;;;;8527:40;;8477:6;;;8494:17;8477:6;;8527:40;;8458:16;;8527:40;8447:128;8384:191;:::o;66322:155::-;66417:52;5744:10;66450:8;66460;66417:18;:52::i;67441:322::-;67615:41;5744:10;67648:7;67615:18;:41::i;:::-;67607:99;;;;-1:-1:-1;;;67607:99:0;;;;;;;:::i;:::-;67717:38;67731:4;67737:2;67741:7;67750:4;67717:13;:38::i;80009:624::-;80082:13;80108:23;80123:7;80108:14;:23::i;:::-;80144;80170:19;;;:10;:19;;;;;80144:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80200:18;80221:10;:8;:10::i;:::-;80200:31;;80313:4;80307:18;80329:1;80307:23;80303:72;;-1:-1:-1;80354:9:0;80009:624;-1:-1:-1;;80009:624:0:o;80303:72::-;80479:23;;:27;80475:108;;80554:4;80560:9;80537:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;80523:48;;;;80009:624;;;:::o;80475:108::-;80602:23;80617:7;80602:14;:23::i;:::-;80595:30;80009:624;-1:-1:-1;;;;80009:624:0:o;91936:471::-;91985:17;92013:18;92042:23;92086:10;92068:15;;:28;;;;:::i;:::-;92042:54;;92105:227;92124:3;92112:9;:15;92105:227;;;92138:122;69566:4;69164:16;;;:7;:16;;;;;;-1:-1:-1;;;;;69164:16:0;69590:31;92138:122;;92181:12;;;;:::i;:::-;;;;92240:10;92222:15;;:28;;;;:::i;:::-;92204:46;;92138:122;;;92268:36;5744:10;92288:15;92268:5;:36::i;:::-;92313:11;;;;:::i;:::-;;;;92105:227;;;92354:3;92338:12;;:19;;;;;;;:::i;:::-;;;;-1:-1:-1;92382:19:0;;-1:-1:-1;92382:15:0;92400:1;92382:19;:::i;:::-;92364:15;:37;-1:-1:-1;;;;91936:471:0:o;90596:1334::-;90674:7;;90707:18;;;;:23;;:50;;;90734:10;:18;;;90756:1;90734:23;90707:50;:77;;;;90761:10;:18;;;90783:1;90761:23;90707:77;90699:86;;;;;;90794:64;;;;;;;;;;;;;;;;;:27;:64;90970:21;;;;;;;;:::i;:::-;90953:39;;;;;;;24228:2:1;24224:15;;;;-1:-1:-1;;;;;;24220:53:1;24208:66;;24299:2;24290:12;;24079:229;90953:39:0;;;;;;;;;;;;;90943:50;;;;;;90896:104;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;90896:104:0;;;;;;;;;90886:115;;90896:104;90886:115;;;;;-1:-1:-1;91008:18:0;91029:43;90886:115;91053:18;;;;:10;:18;:::i;:::-;91029:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;91029:13:0;;-1:-1:-1;;;91029:43:0:i;:::-;91008:64;;91079:16;91106:10;:18;;;91128:1;91106:23;91102:712;;91188:13;91239:18;;;;91259:23;;91284:15;;;;91239:10;91284:15;:::i;:::-;91301:10;91222:90;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;91212:101;;;;;;91161:161;;;;;;;;;:::i;:::-;;;;;;;;;;;;;91151:172;;;;;;91140:183;;91102:712;;;91340:10;:18;;;91362:1;91340:23;91337:477;;91422:13;91473:18;;;;91493:23;;91518:15;;;;91473:10;91518:15;:::i;:::-;91535:10;:14;;;91456:94;;;;;;;;;;;;:::i;91337:477::-;91655:13;91706:18;;;;91726:23;;91751:15;;;;91706:10;91751:15;:::i;:::-;91768:10;:14;;;91784:10;91689:106;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;91679:117;;;;;;91628:177;;;;;;;;;:::i;:::-;;;;;;;;;;;;;91618:188;;;;;;91607:199;;91337:477;91820:18;91841:43;91855:8;91865:18;;;;:10;:18;:::i;91841:43::-;91901:10;;91820:64;;-1:-1:-1;90596:1334:0;;-1:-1:-1;;;;;;90596:1334:0:o;69796:264::-;69889:4;69906:13;69922:23;69937:7;69922:14;:23::i;:::-;69906:39;;69975:5;-1:-1:-1;;;;;69964:16:0;:7;-1:-1:-1;;;;;69964:16:0;;:52;;;;69984:32;70001:5;70008:7;69984:16;:32::i;:::-;69964:87;;;;70044:7;-1:-1:-1;;;;;70020:31:0;:20;70032:7;70020:11;:20::i;:::-;-1:-1:-1;;;;;70020:31:0;;69956:96;69796:264;-1:-1:-1;;;;69796:264:0:o;73795:1263::-;73954:4;-1:-1:-1;;;;;73927:31:0;:23;73942:7;73927:14;:23::i;:::-;-1:-1:-1;;;;;73927:31:0;;73919:81;;;;-1:-1:-1;;;73919:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;74019:16:0;;74011:65;;;;-1:-1:-1;;;74011:65:0;;26828:2:1;74011:65:0;;;26810:21:1;26867:2;26847:18;;;26840:30;26906:34;26886:18;;;26879:62;-1:-1:-1;;;26957:18:1;;;26950:34;27001:19;;74011:65:0;26626:400:1;74011:65:0;74089:42;74110:4;74116:2;74120:7;74129:1;74089:20;:42::i;:::-;74261:4;-1:-1:-1;;;;;74234:31:0;:23;74249:7;74234:14;:23::i;:::-;-1:-1:-1;;;;;74234:31:0;;74226:81;;;;-1:-1:-1;;;74226:81:0;;;;;;;:::i;:::-;74379:24;;;;:15;:24;;;;;;;;74372:31;;-1:-1:-1;;;;;;74372:31:0;;;;;;-1:-1:-1;;;;;74855:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;74855:20:0;;;74890:13;;;;;;;;;:18;;74372:31;74890:18;;;74930:16;;;:7;:16;;;;;;:21;;;;;;;;;;74969:27;;74395:7;;74969:27;;;65667:346;65597:416;;:::o;32517:492::-;32606:22;32614:4;32620:7;32606;:22::i;:::-;32601:401;;32794:28;32814:7;32794:19;:28::i;:::-;32895:38;32923:4;32930:2;32895:19;:38::i;:::-;32699:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;32699:257:0;;;;;;;;;;-1:-1:-1;;;32645:345:0;;;;;;;:::i;78182:410::-;78372:1;78360:9;:13;78356:229;;;-1:-1:-1;;;;;78394:18:0;;;78390:87;;-1:-1:-1;;;;;78433:15:0;;;;;;:9;:15;;;;;:28;;78452:9;;78433:15;:28;;78452:9;;78433:28;:::i;:::-;;;;-1:-1:-1;;78390:87:0;-1:-1:-1;;;;;78495:16:0;;;78491:83;;-1:-1:-1;;;;;78532:13:0;;;;;;:9;:13;;;;;:26;;78549:9;;78532:13;:26;;78549:9;;78532:26;:::i;:::-;;;;-1:-1:-1;;78182:410:0;;;;:::o;75494:315::-;75649:8;-1:-1:-1;;;;;75640:17:0;:5;-1:-1:-1;;;;;75640:17:0;;75632:55;;;;-1:-1:-1;;;75632:55:0;;28154:2:1;75632:55:0;;;28136:21:1;28193:2;28173:18;;;28166:30;28232:27;28212:18;;;28205:55;28277:18;;75632:55:0;27952:349:1;75632:55:0;-1:-1:-1;;;;;75698:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;75698:46:0;;;;;;;;;;75760:41;;540::1;;;75760::0;;513:18:1;75760:41:0;;;;;;;75494:315;;;:::o;68644:313::-;68800:28;68810:4;68816:2;68820:7;68800:9;:28::i;:::-;68847:47;68870:4;68876:2;68880:7;68889:4;68847:22;:47::i;:::-;68839:110;;;;-1:-1:-1;;;68839:110:0;;;;;;;:::i;87941:258::-;87992:13;88042:1;88024:7;88018:21;;;;;:::i;:::-;;;:25;88014:62;;;88061:7;88054:14;;;;;:::i;88014:62::-;88165:8;:6;:8::i;:::-;88096:96;;;;;;;;:::i;:::-;;;;;;;;;;;;;88082:111;;87941:258;:::o;64911:281::-;64984:13;65010:23;65025:7;65010:14;:23::i;:::-;65046:21;65070:10;:8;:10::i;:::-;65046:34;;65122:1;65104:7;65098:21;:25;:86;;;;;;;;;;;;;;;;;65150:7;65159:18;:7;:16;:18::i;:::-;65133:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65091:93;64911:281;-1:-1:-1;;;64911:281:0:o;40804:231::-;40882:7;40903:17;40922:18;40944:27;40955:4;40961:9;40944:10;:27::i;:::-;40902:69;;;;40982:18;40994:5;40982:11;:18::i;:::-;-1:-1:-1;41018:9:0;40804:231;-1:-1:-1;;;40804:231:0:o;26680:151::-;26738:13;26771:52;-1:-1:-1;;;;;26783:22:0;;24835:2;26076:447;26151:13;26177:19;26209:10;26213:6;26209:1;:10;:::i;:::-;:14;;26222:1;26209:14;:::i;:::-;-1:-1:-1;;;;;26199:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26199:25:0;;26177:47;;-1:-1:-1;;;26235:6:0;26242:1;26235:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;26235:15:0;;;;;;;;;-1:-1:-1;;;26261:6:0;26268:1;26261:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;26261:15:0;;;;;;;;-1:-1:-1;26292:9:0;26304:10;26308:6;26304:1;:10;:::i;:::-;:14;;26317:1;26304:14;:::i;:::-;26292:26;;26287:131;26324:1;26320;:5;26287:131;;;-1:-1:-1;;;26368:5:0;26376:3;26368:11;26359:21;;;;;;;:::i;:::-;;;;26347:6;26354:1;26347:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;26347:33:0;;;;;;;;-1:-1:-1;26405:1:0;26395:11;;;;;26327:3;;;:::i;:::-;;;26287:131;;;-1:-1:-1;26436:10:0;;26428:55;;;;-1:-1:-1;;;26428:55:0;;29731:2:1;26428:55:0;;;29713:21:1;;;29750:18;;;29743:30;29809:34;29789:18;;;29782:62;29861:18;;26428:55:0;29529:356:1;76597:853:0;76751:4;-1:-1:-1;;;;;76772:13:0;;53511:19;:23;76768:675;;76808:71;;-1:-1:-1;;;76808:71:0;;-1:-1:-1;;;;;76808:36:0;;;;;:71;;5744:10;;76859:4;;76865:7;;76874:4;;76808:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76808:71:0;;;;;;;;-1:-1:-1;;76808:71:0;;;;;;;;;;;;:::i;:::-;;;76804:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77049:6;:13;77066:1;77049:18;77045:328;;77092:60;;-1:-1:-1;;;77092:60:0;;;;;;;:::i;77045:328::-;77323:6;77317:13;77308:6;77304:2;77300:15;77293:38;76804:584;-1:-1:-1;;;;;;76930:51:0;-1:-1:-1;;;76930:51:0;;-1:-1:-1;76923:58:0;;76768:675;-1:-1:-1;77427:4:0;76597:853;;;;;;:::o;24944:716::-;25000:13;25051:14;25068:17;25079:5;25068:10;:17::i;:::-;25088:1;25068:21;25051:38;;25104:20;25138:6;-1:-1:-1;;;;;25127:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25127:18:0;-1:-1:-1;25104:41:0;-1:-1:-1;25269:28:0;;;25285:2;25269:28;25326:288;-1:-1:-1;;25358:5:0;-1:-1:-1;;;25495:2:0;25484:14;;25479:30;25358:5;25466:44;25556:2;25547:11;;;-1:-1:-1;25577:21:0;25326:288;25577:21;-1:-1:-1;25635:6:0;24944:716;-1:-1:-1;;;24944:716:0:o;39255:747::-;39336:7;39345:12;39374:9;:16;39394:2;39374:22;39370:625;;39718:4;39703:20;;39697:27;39768:4;39753:20;;39747:27;39826:4;39811:20;;39805:27;39413:9;39797:36;39869:25;39880:4;39797:36;39697:27;39747;39869:10;:25::i;:::-;39862:32;;;;;;;;;39370:625;-1:-1:-1;39943:1:0;;-1:-1:-1;39947:35:0;39370:625;39255:747;;;;;:::o;37648:521::-;37726:20;37717:5;:29;;;;;;;;:::i;:::-;;37713:449;;37648:521;:::o;37713:449::-;37824:29;37815:5;:38;;;;;;;;:::i;:::-;;37811:351;;37870:34;;-1:-1:-1;;;37870:34:0;;31104:2:1;37870:34:0;;;31086:21:1;31143:2;31123:18;;;31116:30;31182:26;31162:18;;;31155:54;31226:18;;37870:34:0;30902:348:1;37811:351:0;37935:35;37926:5;:44;;;;;;;;:::i;:::-;;37922:240;;37987:41;;-1:-1:-1;;;37987:41:0;;31457:2:1;37987:41:0;;;31439:21:1;31496:2;31476:18;;;31469:30;31535:33;31515:18;;;31508:61;31586:18;;37987:41:0;31255:355:1;37922:240:0;38059:30;38050:5;:39;;;;;;;;:::i;:::-;;38046:116;;38106:44;;-1:-1:-1;;;38106:44:0;;31817:2:1;38106:44:0;;;31799:21:1;31856:2;31836:18;;;31829:30;31895:34;31875:18;;;31868:62;-1:-1:-1;;;31946:18:1;;;31939:32;31988:19;;38106:44:0;31615:398:1;21806:922:0;21859:7;;-1:-1:-1;;;21937:15:0;;21933:102;;-1:-1:-1;;;21973:15:0;;;-1:-1:-1;22017:2:0;22007:12;21933:102;22062:6;22053:5;:15;22049:102;;22098:6;22089:15;;;-1:-1:-1;22133:2:0;22123:12;22049:102;22178:6;22169:5;:15;22165:102;;22214:6;22205:15;;;-1:-1:-1;22249:2:0;22239:12;22165:102;22294:5;22285;:14;22281:99;;22329:5;22320:14;;;-1:-1:-1;22363:1:0;22353:11;22281:99;22407:5;22398;:14;22394:99;;22442:5;22433:14;;;-1:-1:-1;22476:1:0;22466:11;22394:99;22520:5;22511;:14;22507:99;;22555:5;22546:14;;;-1:-1:-1;22589:1:0;22579:11;22507:99;22633:5;22624;:14;22620:66;;22669:1;22659:11;22714:6;21806:922;-1:-1:-1;;21806:922:0:o;42256:1520::-;42387:7;;43321:66;43308:79;;43304:163;;;-1:-1:-1;43420:1:0;;-1:-1:-1;43424:30:0;43404:51;;43304:163;43581:24;;;43564:14;43581:24;;;;;;;;;32245:25:1;;;32318:4;32306:17;;32286:18;;;32279:45;;;;32340:18;;;32333:34;;;32383:18;;;32376:34;;;43581:24:0;;32217:19:1;;43581:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;43581:24:0;;-1:-1:-1;;43581:24:0;;;-1:-1:-1;;;;;;;43620:20:0;;43616:103;;43673:1;43677:29;43657:50;;;;;;;43616:103;43739:6;-1:-1:-1;43747:20:0;;-1:-1:-1;42256:1520:0;;;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:390::-;1432:6;1485:2;1473:9;1464:7;1460:23;1456:32;1453:52;;;1501:1;1498;1491:12;1453:52;1541:9;1528:23;-1:-1:-1;;;;;1566:6:1;1563:30;1560:50;;;1606:1;1603;1596:12;1560:50;1629:22;;1685:3;1667:16;;;1663:26;1660:46;;;1702:1;1699;1692:12;1738:180;1797:6;1850:2;1838:9;1829:7;1825:23;1821:32;1818:52;;;1866:1;1863;1856:12;1818:52;-1:-1:-1;1889:23:1;;1738:180;-1:-1:-1;1738:180:1:o;2131:173::-;2199:20;;-1:-1:-1;;;;;2248:31:1;;2238:42;;2228:70;;2294:1;2291;2284:12;2228:70;2131:173;;;:::o;2309:254::-;2377:6;2385;2438:2;2426:9;2417:7;2413:23;2409:32;2406:52;;;2454:1;2451;2444:12;2406:52;2477:29;2496:9;2477:29;:::i;:::-;2467:39;2553:2;2538:18;;;;2525:32;;-1:-1:-1;;;2309:254:1:o;2568:494::-;2748:2;2733:18;;2737:9;2828:6;2706:4;2862:194;2876:4;2873:1;2870:11;2862:194;;;2935:13;;2923:26;;2972:4;2996:12;;;;3031:15;;;;2896:1;2889:9;2862:194;;;2866:3;;;2568:494;;;;:::o;3249:186::-;3308:6;3361:2;3349:9;3340:7;3336:23;3332:32;3329:52;;;3377:1;3374;3367:12;3329:52;3400:29;3419:9;3400:29;:::i;3440:328::-;3517:6;3525;3533;3586:2;3574:9;3565:7;3561:23;3557:32;3554:52;;;3602:1;3599;3592:12;3554:52;3625:29;3644:9;3625:29;:::i;:::-;3615:39;;3673:38;3707:2;3696:9;3692:18;3673:38;:::i;:::-;3663:48;;3758:2;3747:9;3743:18;3730:32;3720:42;;3440:328;;;;;:::o;4140:254::-;4208:6;4216;4269:2;4257:9;4248:7;4244:23;4240:32;4237:52;;;4285:1;4282;4275:12;4237:52;4321:9;4308:23;4298:33;;4350:38;4384:2;4373:9;4369:18;4350:38;:::i;:::-;4340:48;;4140:254;;;;;:::o;4399:495::-;4579:3;4564:19;;4568:9;4660:6;4537:4;4694:194;4708:4;4705:1;4702:11;4694:194;;;4767:13;;4755:26;;4804:4;4828:12;;;;4863:15;;;;4728:1;4721:9;4694:194;;4899:591;4969:6;4977;5030:2;5018:9;5009:7;5005:23;5001:32;4998:52;;;5046:1;5043;5036:12;4998:52;5086:9;5073:23;-1:-1:-1;;;;;5156:2:1;5148:6;5145:14;5142:34;;;5172:1;5169;5162:12;5142:34;5210:6;5199:9;5195:22;5185:32;;5255:7;5248:4;5244:2;5240:13;5236:27;5226:55;;5277:1;5274;5267:12;5226:55;5317:2;5304:16;5343:2;5335:6;5332:14;5329:34;;;5359:1;5356;5349:12;5329:34;5404:7;5399:2;5390:6;5386:2;5382:15;5378:24;5375:37;5372:57;;;5425:1;5422;5415:12;5372:57;5456:2;5448:11;;;;;5478:6;;-1:-1:-1;4899:591:1;;-1:-1:-1;;;;4899:591:1:o;5724:127::-;5785:10;5780:3;5776:20;5773:1;5766:31;5816:4;5813:1;5806:15;5840:4;5837:1;5830:15;5856:252;5928:2;5922:9;5970:3;5958:16;;-1:-1:-1;;;;;5989:34:1;;6025:22;;;5986:62;5983:88;;;6051:18;;:::i;:::-;6087:2;6080:22;5856:252;:::o;6113:275::-;6184:2;6178:9;6249:2;6230:13;;-1:-1:-1;;6226:27:1;6214:40;;-1:-1:-1;;;;;6269:34:1;;6305:22;;;6266:62;6263:88;;;6331:18;;:::i;:::-;6367:2;6360:22;6113:275;;-1:-1:-1;6113:275:1:o;6393:407::-;6458:5;-1:-1:-1;;;;;6484:6:1;6481:30;6478:56;;;6514:18;;:::i;:::-;6552:57;6597:2;6576:15;;-1:-1:-1;;6572:29:1;6603:4;6568:40;6552:57;:::i;:::-;6543:66;;6632:6;6625:5;6618:21;6672:3;6663:6;6658:3;6654:16;6651:25;6648:45;;;6689:1;6686;6679:12;6648:45;6738:6;6733:3;6726:4;6719:5;6715:16;6702:43;6792:1;6785:4;6776:6;6769:5;6765:18;6761:29;6754:40;6393:407;;;;;:::o;6805:451::-;6874:6;6927:2;6915:9;6906:7;6902:23;6898:32;6895:52;;;6943:1;6940;6933:12;6895:52;6983:9;6970:23;-1:-1:-1;;;;;7008:6:1;7005:30;7002:50;;;7048:1;7045;7038:12;7002:50;7071:22;;7124:4;7116:13;;7112:27;-1:-1:-1;7102:55:1;;7153:1;7150;7143:12;7102:55;7176:74;7242:7;7237:2;7224:16;7219:2;7215;7211:11;7176:74;:::i;7261:118::-;7347:5;7340:13;7333:21;7326:5;7323:32;7313:60;;7369:1;7366;7359:12;7384:315;7449:6;7457;7510:2;7498:9;7489:7;7485:23;7481:32;7478:52;;;7526:1;7523;7516:12;7478:52;7549:29;7568:9;7549:29;:::i;:::-;7539:39;;7628:2;7617:9;7613:18;7600:32;7641:28;7663:5;7641:28;:::i;:::-;7688:5;7678:15;;;7384:315;;;;;:::o;7704:610::-;7782:5;7822:2;7816:9;7864:2;7856:6;7852:15;7933:6;7921:10;7918:22;-1:-1:-1;;;;;7885:10:1;7882:34;7879:62;7876:88;;;7944:18;;:::i;:::-;7984:10;7980:2;7973:22;;8013:6;8004:15;;8080:2;8072:6;8068:15;8106:3;8098:6;8095:15;8092:35;;;8123:1;8120;8113:12;8092:35;8147:6;8162:146;8178:6;8173:3;8170:15;8162:146;;;8246:17;;8234:30;;8293:4;8284:14;;;;8195;8162:146;;8319:601;8386:5;8426:2;8420:9;8468:3;8460:6;8456:16;8538:6;8526:10;8523:22;-1:-1:-1;;;;;8490:10:1;8487:34;8484:62;8481:88;;;8549:18;;:::i;:::-;8585:2;8578:22;8618:6;-1:-1:-1;8618:6:1;8685:3;8673:16;;8701:15;;;8698:35;;;8729:1;8726;8719:12;8925:1085;9080:6;9088;9096;9104;9157:3;9145:9;9136:7;9132:23;9128:33;9125:53;;;9174:1;9171;9164:12;9125:53;9197:29;9216:9;9197:29;:::i;:::-;9187:39;;9245:2;9290:7;9285:2;9274:9;9270:18;9266:32;9256:60;;9312:1;9309;9302:12;9256:60;9336:22;;:::i;:::-;9380:3;9421;9410:9;9406:19;9448:7;9440:6;9437:19;9434:39;;;9469:1;9466;9459:12;9434:39;9508:2;9497:9;9493:18;9520:142;9536:6;9531:3;9528:15;9520:142;;;9602:17;;9590:30;;9640:12;;;;9553;;9520:142;;;9524:3;9681:5;9671:15;;9730:7;9724:3;9713:9;9709:19;9705:33;9695:61;;9752:1;9749;9742:12;9695:61;9775:69;9836:7;9828:6;9775:69;:::i;:::-;9765:79;;;;;;9888:7;9882:3;9871:9;9867:19;9863:33;9853:61;;9910:1;9907;9900:12;9853:61;9933:71;9996:7;9990:3;9979:9;9975:19;9933:71;:::i;:::-;9923:81;;8925:1085;;;;;;;:::o;10015:495::-;10195:3;10180:19;;10184:9;10276:6;10153:4;10310:194;10324:4;10321:1;10318:11;10310:194;;;10383:13;;10371:26;;10420:4;10444:12;;;;10479:15;;;;10344:1;10337:9;10310:194;;10515:667;10610:6;10618;10626;10634;10687:3;10675:9;10666:7;10662:23;10658:33;10655:53;;;10704:1;10701;10694:12;10655:53;10727:29;10746:9;10727:29;:::i;:::-;10717:39;;10775:38;10809:2;10798:9;10794:18;10775:38;:::i;:::-;10765:48;;10860:2;10849:9;10845:18;10832:32;10822:42;;10915:2;10904:9;10900:18;10887:32;-1:-1:-1;;;;;10934:6:1;10931:30;10928:50;;;10974:1;10971;10964:12;10928:50;10997:22;;11050:4;11042:13;;11038:27;-1:-1:-1;11028:55:1;;11079:1;11076;11069:12;11028:55;11102:74;11168:7;11163:2;11150:16;11145:2;11141;11137:11;11102:74;:::i;:::-;11092:84;;;10515:667;;;;;;;:::o;11187:645::-;11303:6;11311;11364:2;11352:9;11343:7;11339:23;11335:32;11332:52;;;11380:1;11377;11370:12;11332:52;11420:9;11407:23;-1:-1:-1;;;;;11490:2:1;11482:6;11479:14;11476:34;;;11506:1;11503;11496:12;11476:34;11544:6;11533:9;11529:22;11519:32;;11589:7;11582:4;11578:2;11574:13;11570:27;11560:55;;11611:1;11608;11601:12;11560:55;11651:2;11638:16;11677:2;11669:6;11666:14;11663:34;;;11693:1;11690;11683:12;11663:34;11746:7;11741:2;11731:6;11728:1;11724:14;11720:2;11716:23;11712:32;11709:45;11706:65;;;11767:1;11764;11757:12;11837:183;11897:4;-1:-1:-1;;;;;11922:6:1;11919:30;11916:56;;;11952:18;;:::i;:::-;-1:-1:-1;11997:1:1;11993:14;12009:4;11989:25;;11837:183::o;12025:662::-;12079:5;12132:3;12125:4;12117:6;12113:17;12109:27;12099:55;;12150:1;12147;12140:12;12099:55;12186:6;12173:20;12212:4;12236:60;12252:43;12292:2;12252:43;:::i;:::-;12236:60;:::i;:::-;12330:15;;;12416:1;12412:10;;;;12400:23;;12396:32;;;12361:12;;;;12440:15;;;12437:35;;;12468:1;12465;12458:12;12437:35;12504:2;12496:6;12492:15;12516:142;12532:6;12527:3;12524:15;12516:142;;;12598:17;;12586:30;;12636:12;;;;12549;;12516:142;;;-1:-1:-1;12676:5:1;12025:662;-1:-1:-1;;;;;;12025:662:1:o;12692:1146::-;12810:6;12818;12871:2;12859:9;12850:7;12846:23;12842:32;12839:52;;;12887:1;12884;12877:12;12839:52;12927:9;12914:23;-1:-1:-1;;;;;12997:2:1;12989:6;12986:14;12983:34;;;13013:1;13010;13003:12;12983:34;13051:6;13040:9;13036:22;13026:32;;13096:7;13089:4;13085:2;13081:13;13077:27;13067:55;;13118:1;13115;13108:12;13067:55;13154:2;13141:16;13176:4;13200:60;13216:43;13256:2;13216:43;:::i;13200:60::-;13294:15;;;13376:1;13372:10;;;;13364:19;;13360:28;;;13325:12;;;;13400:19;;;13397:39;;;13432:1;13429;13422:12;13397:39;13456:11;;;;13476:148;13492:6;13487:3;13484:15;13476:148;;;13558:23;13577:3;13558:23;:::i;:::-;13546:36;;13509:12;;;;13602;;;;13476:148;;;13643:5;-1:-1:-1;;13686:18:1;;13673:32;;-1:-1:-1;;13717:16:1;;;13714:36;;;13746:1;13743;13736:12;13714:36;;13769:63;13824:7;13813:8;13802:9;13798:24;13769:63;:::i;:::-;13759:73;;;12692:1146;;;;;:::o;13843:260::-;13911:6;13919;13972:2;13960:9;13951:7;13947:23;13943:32;13940:52;;;13988:1;13985;13978:12;13940:52;14011:29;14030:9;14011:29;:::i;:::-;14001:39;;14059:38;14093:2;14082:9;14078:18;14059:38;:::i;14108:380::-;14187:1;14183:12;;;;14230;;;14251:61;;14305:4;14297:6;14293:17;14283:27;;14251:61;14358:2;14350:6;14347:14;14327:18;14324:38;14321:161;;14404:10;14399:3;14395:20;14392:1;14385:31;14439:4;14436:1;14429:15;14467:4;14464:1;14457:15;14321:161;;14108:380;;;:::o;14493:127::-;14554:10;14549:3;14545:20;14542:1;14535:31;14585:4;14582:1;14575:15;14609:4;14606:1;14599:15;14625:128;14665:3;14696:1;14692:6;14689:1;14686:13;14683:39;;;14702:18;;:::i;:::-;-1:-1:-1;14738:9:1;;14625:128::o;14758:168::-;14798:7;14864:1;14860;14856:6;14852:14;14849:1;14846:21;14841:1;14834:9;14827:17;14823:45;14820:71;;;14871:18;;:::i;:::-;-1:-1:-1;14911:9:1;;14758:168::o;16351:245::-;16418:6;16471:2;16459:9;16450:7;16446:23;16442:32;16439:52;;;16487:1;16484;16477:12;16439:52;16519:9;16513:16;16538:28;16560:5;16538:28;:::i;17430:135::-;17469:3;17490:17;;;17487:43;;17510:18;;:::i;:::-;-1:-1:-1;17557:1:1;17546:13;;17430:135::o;17570:271::-;17753:6;17745;17740:3;17727:33;17709:3;17779:16;;17804:13;;;17779:16;17570:271;-1:-1:-1;17570:271:1:o;18609:521::-;18686:4;18692:6;18752:11;18739:25;18846:2;18842:7;18831:8;18815:14;18811:29;18807:43;18787:18;18783:68;18773:96;;18865:1;18862;18855:12;18773:96;18892:33;;18944:20;;;-1:-1:-1;;;;;;18976:30:1;;18973:50;;;19019:1;19016;19009:12;18973:50;19052:4;19040:17;;-1:-1:-1;19083:14:1;19079:27;;;19069:38;;19066:58;;;19120:1;19117;19110:12;19135:559;-1:-1:-1;;;;;19348:32:1;;19330:51;;19417:2;19412;19397:18;;19390:30;;;19436:18;;19429:34;;;19456:6;19506;19500:3;19485:19;;19472:49;19571:1;19565:3;19556:6;19545:9;19541:22;19537:32;19530:43;19311:4;19641:3;19634:2;19630:7;19625:2;19617:6;19613:15;19609:29;19598:9;19594:45;19590:55;19582:63;;19681:6;19676:2;19665:9;19661:18;19654:34;19135:559;;;;;;;:::o;20089:127::-;20150:10;20145:3;20141:20;20138:1;20131:31;20181:4;20178:1;20171:15;20205:4;20202:1;20195:15;20221:328;20317:4;20375:11;20362:25;20469:3;20465:8;20454;20438:14;20434:29;20430:44;20410:18;20406:69;20396:97;;20489:1;20486;20479:12;20396:97;20510:33;;;;;20221:328;-1:-1:-1;;20221:328:1:o;20554:443::-;20786:3;20824:6;20818:13;20840:53;20886:6;20881:3;20874:4;20866:6;20862:17;20840:53;:::i;:::-;-1:-1:-1;;;20915:16:1;;20940:22;;;-1:-1:-1;20989:1:1;20978:13;;20554:443;-1:-1:-1;20554:443:1:o;22111:409::-;22313:2;22295:21;;;22352:2;22332:18;;;22325:30;22391:34;22386:2;22371:18;;22364:62;-1:-1:-1;;;22457:2:1;22442:18;;22435:43;22510:3;22495:19;;22111:409::o;23604:470::-;23783:3;23821:6;23815:13;23837:53;23883:6;23878:3;23871:4;23863:6;23859:17;23837:53;:::i;:::-;23953:13;;23912:16;;;;23975:57;23953:13;23912:16;24009:4;23997:17;;23975:57;:::i;:::-;24048:20;;23604:470;-1:-1:-1;;;;23604:470:1:o;24313:372::-;24472:3;24510:6;24504:13;24526:53;24572:6;24567:3;24560:4;24552:6;24548:17;24526:53;:::i;:::-;24601:16;;;;24626:21;;;-1:-1:-1;24674:4:1;24663:16;;24313:372;-1:-1:-1;24313:372:1:o;24690:499::-;24943:6;24938:3;24931:19;24980:6;24975:2;24970:3;24966:12;24959:28;25031:6;25023;25018:2;25013:3;25009:12;24996:42;25110:2;25106:15;;;;-1:-1:-1;;;;;;25102:53:1;25097:2;25057:16;;;;25089:11;;;25082:74;;;;25180:2;25172:11;;24690:499;-1:-1:-1;;;24690:499:1:o;25194:452::-;25447:6;25442:3;25435:19;25484:6;25479:2;25474:3;25470:12;25463:28;25535:6;25527;25522:2;25517:3;25513:12;25500:42;25601:2;25561:16;;25593:11;;;25586:27;25637:2;25629:11;;25194:452;-1:-1:-1;;;25194:452:1:o;25651:564::-;25932:6;25927:3;25920:19;25969:6;25964:2;25959:3;25955:12;25948:28;26020:6;26012;26007:2;26002:3;25998:12;25985:42;26086:2;26046:16;;26078:11;;;26071:27;;;;26135:2;26131:15;;;-1:-1:-1;;;;;;26127:53:1;26114:11;;;26107:74;26205:3;26197:12;;25651:564;-1:-1:-1;;;25651:564:1:o;26220:401::-;26422:2;26404:21;;;26461:2;26441:18;;;26434:30;26500:34;26495:2;26480:18;;26473:62;-1:-1:-1;;;26566:2:1;26551:18;;26544:35;26611:3;26596:19;;26220:401::o;27031:786::-;27442:25;27437:3;27430:38;27412:3;27497:6;27491:13;27513:62;27568:6;27563:2;27558:3;27554:12;27547:4;27539:6;27535:17;27513:62;:::i;:::-;-1:-1:-1;;;27634:2:1;27594:16;;;27626:11;;;27619:40;27684:13;;27706:63;27684:13;27755:2;27747:11;;27740:4;27728:17;;27706:63;:::i;:::-;27789:17;27808:2;27785:26;;27031:786;-1:-1:-1;;;;27031:786:1:o;27822:125::-;27862:4;27890:1;27887;27884:8;27881:34;;;27895:18;;:::i;:::-;-1:-1:-1;27932:9:1;;27822:125::o;28306:414::-;28508:2;28490:21;;;28547:2;28527:18;;;28520:30;28586:34;28581:2;28566:18;;28559:62;-1:-1:-1;;;28652:2:1;28637:18;;28630:48;28710:3;28695:19;;28306:414::o;28725:658::-;29088:34;29083:3;29076:47;29058:3;-1:-1:-1;;;29175:2:1;29170;29165:3;29161:12;29154:24;29207:6;29201:13;29223:60;29276:6;29271:2;29266:3;29262:12;29257:2;29249:6;29245:15;29223:60;:::i;:::-;29342:2;29302:16;;29334:11;;;29327:23;-1:-1:-1;29374:2:1;29366:11;;28725:658;-1:-1:-1;28725:658:1:o;29388:136::-;29427:3;29455:5;29445:39;;29464:18;;:::i;:::-;-1:-1:-1;;;29500:18:1;;29388:136::o;29890:489::-;-1:-1:-1;;;;;30159:15:1;;;30141:34;;30211:15;;30206:2;30191:18;;30184:43;30258:2;30243:18;;30236:34;;;30306:3;30301:2;30286:18;;30279:31;;;30084:4;;30327:46;;30353:19;;30345:6;30327:46;:::i;:::-;30319:54;29890:489;-1:-1:-1;;;;;;29890:489:1:o;30384:249::-;30453:6;30506:2;30494:9;30485:7;30481:23;30477:32;30474:52;;;30522:1;30519;30512:12;30474:52;30554:9;30548:16;30573:30;30597:5;30573:30;:::i;30770:127::-;30831:10;30826:3;30822:20;30819:1;30812:31;30862:4;30859:1;30852:15;30886:4;30883:1;30876:15

Swarm Source

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