ETH Price: $3,456.55 (+4.18%)

Contract

0x1F4a76AA3CA7D88324716a5F1c15Ca19cfC97725
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
165892642023-02-09 5:58:59653 days ago1675922339  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PFPNFT

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIXED

// Sources flattened with hardhat v2.12.3 https://hardhat.org

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

// License-Identifier: MIT
// 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 AddressUpgradeable {
    /**
     * @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 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-upgradeable/proxy/utils/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts.
     *
     * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a
     * constructor.
     *
     * Emits an {Initialized} event.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * A reinitializer may be used after the original initialization step. This is essential to configure modules that
     * are added through upgrades and that require initialization.
     *
     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
     * cannot be nested. If one is invoked in the context of another, execution will revert.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     *
     * WARNING: setting the version to 255 will prevent any future reinitialization.
     *
     * Emits an {Initialized} event.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     *
     * Emits an {Initialized} event the first time it is successfully executed.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized < type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }

    /**
     * @dev Internal function that returns the initialized version. Returns `_initialized`
     */
    function _getInitializedVersion() internal view returns (uint8) {
        return _initialized;
    }

    /**
     * @dev Internal function that returns the initialized version. Returns `_initializing`
     */
    function _isInitializing() internal view returns (bool) {
        return _initializing;
    }
}


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

// License-Identifier: MIT
// 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 ContextUpgradeable is Initializable {
    function __Context_init() internal onlyInitializing {
    }

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}


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

// License-Identifier: MIT
// 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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _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);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}


// File @openzeppelin/contracts-upgradeable/security/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;


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

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

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    function __Pausable_init() internal onlyInitializing {
        __Pausable_init_unchained();
    }

    function __Pausable_init_unchained() internal onlyInitializing {
        _paused = false;
    }

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

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

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

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

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}


// File @openzeppelin/contracts-upgradeable/interfaces/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)

pragma solidity ^0.8.0;

/**
 * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified
 * proxy whose upgrades are fully controlled by the current implementation.
 */
interface IERC1822ProxiableUpgradeable {
    /**
     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation
     * address.
     *
     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
     * function revert if invoked through a proxy.
     */
    function proxiableUUID() external view returns (bytes32);
}


// File @openzeppelin/contracts-upgradeable/proxy/beacon/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)

pragma solidity ^0.8.0;

/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeaconUpgradeable {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function implementation() external view returns (address);
}


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

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)

pragma solidity ^0.8.0;

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

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

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

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

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

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


// File @openzeppelin/contracts-upgradeable/proxy/ERC1967/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (proxy/ERC1967/ERC1967Upgrade.sol)

pragma solidity ^0.8.2;





/**
 * @dev This abstract contract provides getters and event emitting update functions for
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
 *
 * _Available since v4.1._
 *
 * @custom:oz-upgrades-unsafe-allow delegatecall
 */
abstract contract ERC1967UpgradeUpgradeable is Initializable {
    function __ERC1967Upgrade_init() internal onlyInitializing {
    }

    function __ERC1967Upgrade_init_unchained() internal onlyInitializing {
    }
    // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Returns the current implementation address.
     */
    function _getImplementation() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(AddressUpgradeable.isContract(newImplementation), "ERC1967: new implementation is not a contract");
        StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
    }

    /**
     * @dev Perform implementation upgrade
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Perform implementation upgrade with additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCall(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        _upgradeTo(newImplementation);
        if (data.length > 0 || forceCall) {
            _functionDelegateCall(newImplementation, data);
        }
    }

    /**
     * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCallUUPS(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        // Upgrades from old implementations will perform a rollback test. This test requires the new
        // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing
        // this special case will break upgrade paths from old UUPS implementation to new ones.
        if (StorageSlotUpgradeable.getBooleanSlot(_ROLLBACK_SLOT).value) {
            _setImplementation(newImplementation);
        } else {
            try IERC1822ProxiableUpgradeable(newImplementation).proxiableUUID() returns (bytes32 slot) {
                require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID");
            } catch {
                revert("ERC1967Upgrade: new implementation is not UUPS");
            }
            _upgradeToAndCall(newImplementation, data, forceCall);
        }
    }

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @dev Returns the current admin.
     */
    function _getAdmin() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        require(newAdmin != address(0), "ERC1967: new admin is the zero address");
        StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value = newAdmin;
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     */
    function _changeAdmin(address newAdmin) internal {
        emit AdminChanged(_getAdmin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
     */
    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;

    /**
     * @dev Emitted when the beacon is upgraded.
     */
    event BeaconUpgraded(address indexed beacon);

    /**
     * @dev Returns the current beacon.
     */
    function _getBeacon() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value;
    }

    /**
     * @dev Stores a new beacon in the EIP1967 beacon slot.
     */
    function _setBeacon(address newBeacon) private {
        require(AddressUpgradeable.isContract(newBeacon), "ERC1967: new beacon is not a contract");
        require(
            AddressUpgradeable.isContract(IBeaconUpgradeable(newBeacon).implementation()),
            "ERC1967: beacon implementation is not a contract"
        );
        StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value = newBeacon;
    }

    /**
     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does
     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).
     *
     * Emits a {BeaconUpgraded} event.
     */
    function _upgradeBeaconToAndCall(
        address newBeacon,
        bytes memory data,
        bool forceCall
    ) internal {
        _setBeacon(newBeacon);
        emit BeaconUpgraded(newBeacon);
        if (data.length > 0 || forceCall) {
            _functionDelegateCall(IBeaconUpgradeable(newBeacon).implementation(), data);
        }
    }

    /**
     * @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) private returns (bytes memory) {
        require(AddressUpgradeable.isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return AddressUpgradeable.verifyCallResult(success, returndata, "Address: low-level delegate call failed");
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}


// File @openzeppelin/contracts-upgradeable/proxy/utils/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (proxy/utils/UUPSUpgradeable.sol)

pragma solidity ^0.8.0;



/**
 * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an
 * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.
 *
 * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is
 * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing
 * `UUPSUpgradeable` with a custom implementation of upgrades.
 *
 * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.
 *
 * _Available since v4.1._
 */
abstract contract UUPSUpgradeable is Initializable, IERC1822ProxiableUpgradeable, ERC1967UpgradeUpgradeable {
    function __UUPSUpgradeable_init() internal onlyInitializing {
    }

    function __UUPSUpgradeable_init_unchained() internal onlyInitializing {
    }
    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment
    address private immutable __self = address(this);

    /**
     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is
     * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case
     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a
     * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to
     * fail.
     */
    modifier onlyProxy() {
        require(address(this) != __self, "Function must be called through delegatecall");
        require(_getImplementation() == __self, "Function must be called through active proxy");
        _;
    }

    /**
     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be
     * callable on the implementing contract but not through proxies.
     */
    modifier notDelegated() {
        require(address(this) == __self, "UUPSUpgradeable: must not be called through delegatecall");
        _;
    }

    /**
     * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the
     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.
     *
     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.
     */
    function proxiableUUID() external view virtual override notDelegated returns (bytes32) {
        return _IMPLEMENTATION_SLOT;
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     */
    function upgradeTo(address newImplementation) external virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallUUPS(newImplementation, new bytes(0), false);
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call
     * encoded in `data`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     */
    function upgradeToAndCall(address newImplementation, bytes memory data) external payable virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallUUPS(newImplementation, data, true);
    }

    /**
     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by
     * {upgradeTo} and {upgradeToAndCall}.
     *
     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.
     *
     * ```solidity
     * function _authorizeUpgrade(address) internal override onlyOwner {}
     * ```
     */
    function _authorizeUpgrade(address newImplementation) internal virtual;

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}


// File @openzeppelin/contracts-upgradeable/security/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    function __ReentrancyGuard_init() internal onlyInitializing {
        __ReentrancyGuard_init_unchained();
    }

    function __ReentrancyGuard_init_unchained() internal onlyInitializing {
        _status = _NOT_ENTERED;
    }

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

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}


// File contracts/common/UniversalUpgradeable.sol

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




contract UniversalUpgradeable is UUPSUpgradeable, OwnableUpgradeable, PausableUpgradeable, ReentrancyGuardUpgradeable {
    function __UniversalUpgradeable_init(address owner) internal onlyInitializing {
        __Ownable_init();
        __Pausable_init();
        __ReentrancyGuard_init();

        _transferOwnership(owner);
    }

    function _authorizeUpgrade(address) internal virtual override onlyOwner {}

    function pause() public virtual onlyOwner {
        _pause();
    }

    function unpause() public virtual onlyOwner {
        _unpause();
    }
}


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

// License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControlUpgradeable {
    /**
     * @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-upgradeable/access/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerableUpgradeable is IAccessControlUpgradeable {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}


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

// License-Identifier: MIT
// 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 MathUpgradeable {
    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-upgradeable/utils/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library StringsUpgradeable {
    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 = MathUpgradeable.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, MathUpgradeable.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-upgradeable/utils/introspection/[email protected]

// License-Identifier: MIT
// 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 IERC165Upgradeable {
    /**
     * @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-upgradeable/utils/introspection/[email protected]

// License-Identifier: MIT
// 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 ERC165Upgradeable is Initializable, IERC165Upgradeable {
    function __ERC165_init() internal onlyInitializing {
    }

    function __ERC165_init_unchained() internal onlyInitializing {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165Upgradeable).interfaceId;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}


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

// License-Identifier: MIT
// 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 AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControlUpgradeable, ERC165Upgradeable {
    function __AccessControl_init() internal onlyInitializing {
    }

    function __AccessControl_init_unchained() internal onlyInitializing {
    }
    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(IAccessControlUpgradeable).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 ",
                        StringsUpgradeable.toHexString(account),
                        " is missing role ",
                        StringsUpgradeable.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());
        }
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}


// File @openzeppelin/contracts-upgradeable/utils/structs/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSetUpgradeable {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}


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

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)

pragma solidity ^0.8.0;




/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerableUpgradeable is Initializable, IAccessControlEnumerableUpgradeable, AccessControlUpgradeable {
    function __AccessControlEnumerable_init() internal onlyInitializing {
    }

    function __AccessControlEnumerable_init_unchained() internal onlyInitializing {
    }
    using EnumerableSetUpgradeable for EnumerableSetUpgradeable.AddressSet;

    mapping(bytes32 => EnumerableSetUpgradeable.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {_grantRole} to track enumerable memberships
     */
    function _grantRole(bytes32 role, address account) internal virtual override {
        super._grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {_revokeRole} to track enumerable memberships
     */
    function _revokeRole(bytes32 role, address account) internal virtual override {
        super._revokeRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}


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

// License-Identifier: MIT
// 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 IERC721ReceiverUpgradeable {
    /**
     * @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-upgradeable/token/ERC721/[email protected]

// License-Identifier: MIT
// 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 IERC721Upgradeable is IERC165Upgradeable {
    /**
     * @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-upgradeable/token/ERC721/extensions/[email protected]

// License-Identifier: MIT
// 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 IERC721MetadataUpgradeable is IERC721Upgradeable {
    /**
     * @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-upgradeable/token/ERC721/[email protected]

// License-Identifier: MIT
// 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 ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable {
    using AddressUpgradeable for address;
    using StringsUpgradeable 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.
     */
    function __ERC721_init(string memory name_, string memory symbol_) internal onlyInitializing {
        __ERC721_init_unchained(name_, symbol_);
    }

    function __ERC721_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) {
        return
            interfaceId == type(IERC721Upgradeable).interfaceId ||
            interfaceId == type(IERC721MetadataUpgradeable).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 = ERC721Upgradeable.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 = ERC721Upgradeable.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 = ERC721Upgradeable.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721Upgradeable.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(ERC721Upgradeable.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(ERC721Upgradeable.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(ERC721Upgradeable.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 IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721ReceiverUpgradeable.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 {}

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[44] private __gap;
}


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

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721EnumerableUpgradeable is IERC721Upgradeable {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}


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

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721EnumerableUpgradeable is Initializable, ERC721Upgradeable, IERC721EnumerableUpgradeable {
    function __ERC721Enumerable_init() internal onlyInitializing {
    }

    function __ERC721Enumerable_init_unchained() internal onlyInitializing {
    }
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Upgradeable.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721EnumerableUpgradeable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);

        if (batchSize > 1) {
            // Will only trigger during construction. Batch transferring (minting) is not available afterwards.
            revert("ERC721Enumerable: consecutive transfers not supported");
        }

        uint256 tokenId = firstTokenId;

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721Upgradeable.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721Upgradeable.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[46] private __gap;
}


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

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;



/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be burned (destroyed).
 */
abstract contract ERC721BurnableUpgradeable is Initializable, ContextUpgradeable, ERC721Upgradeable {
    function __ERC721Burnable_init() internal onlyInitializing {
    }

    function __ERC721Burnable_init_unchained() internal onlyInitializing {
    }
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _burn(tokenId);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}


// File @openzeppelin/contracts-upgradeable/interfaces/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981Upgradeable is IERC165Upgradeable {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}


// File @openzeppelin/contracts-upgradeable/token/common/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981Upgradeable is Initializable, IERC2981Upgradeable, ERC165Upgradeable {
    function __ERC2981_init() internal onlyInitializing {
    }

    function __ERC2981_init_unchained() internal onlyInitializing {
    }
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981Upgradeable
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[48] private __gap;
}


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

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Royalty.sol)

pragma solidity ^0.8.0;




/**
 * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment
 * information.
 *
 * Royalty information can be specified globally for all token ids via {ERC2981-_setDefaultRoyalty}, and/or individually for
 * specific token ids via {ERC2981-_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC721RoyaltyUpgradeable is Initializable, ERC2981Upgradeable, ERC721Upgradeable {
    function __ERC721Royalty_init() internal onlyInitializing {
    }

    function __ERC721Royalty_init_unchained() internal onlyInitializing {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Upgradeable, ERC2981Upgradeable) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);
        _resetTokenRoyalty(tokenId);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}


// File contracts/common/ERC721Base.sol

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




contract ERC721Base is
    AccessControlEnumerableUpgradeable,
    ERC721EnumerableUpgradeable,
    ERC721BurnableUpgradeable,
    ERC721RoyaltyUpgradeable,
    UniversalUpgradeable
{
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    string private _baseTokenURI;
    string private _contractURI;

    function __ERC721Base_init(
        address owner,
        string memory name,
        string memory symbol,
        string memory baseTokenURI,
        string memory contractURI_,
        address feeReceiver,
        uint96 feeNumerator
    ) internal onlyInitializing {
        __ERC721_init(name, symbol);
        __UniversalUpgradeable_init(owner);

        _setupRole(DEFAULT_ADMIN_ROLE, owner);
        _setupRole(MINTER_ROLE, owner);

        _setDefaultRoyalty(feeReceiver, feeNumerator);

        _baseTokenURI = baseTokenURI;
        _contractURI = contractURI_;
    }

    modifier onlyMinter() {
        require(hasRole(MINTER_ROLE, _msgSender()), "ERC721Base: only minter");
        _;
    }

    function setBaseURI(string memory newBaseURI) external onlyOwner {
        _baseTokenURI = newBaseURI;
    }

    function setContractURI(string memory newContractURI) external onlyOwner {
        _contractURI = newContractURI;
    }

    function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwner {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) external onlyOwner {
        _setTokenRoyalty(tokenId, receiver, feeNumerator);
    }

    function mint(address to, uint256 tokenId) public virtual onlyMinter {
        _mint(to, tokenId);
    }

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

    function contractURI() public view virtual returns (string memory) {
        return _contractURI;
    }

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

    function _burn(uint256 tokenId) internal virtual override(ERC721Upgradeable, ERC721RoyaltyUpgradeable) {
        super._burn(tokenId);
    }

    function supportsInterface(
        bytes4 interfaceId
    )
        public
        view
        virtual
        override(
            AccessControlEnumerableUpgradeable,
            ERC721Upgradeable,
            ERC721EnumerableUpgradeable,
            ERC721RoyaltyUpgradeable
        )
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override(ERC721Upgradeable, ERC721EnumerableUpgradeable) {
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);
    }
}


// File contracts/pokavz/PFPNFT.sol

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

contract PFPNFT is ERC721Base {
    uint256 private _tokenCount;

    function initialize(
        address owner,
        string memory name,
        string memory symbol,
        string memory baseTokenURI,
        string memory contractURI,
        address feeReceiver,
        uint96 feeNumerator
    ) public virtual initializer {
        __ERC721Base_init(owner, name, symbol, baseTokenURI, contractURI, feeReceiver, feeNumerator);
    }

    function mintTo(address to, uint256 quantity) public virtual onlyMinter {
        for (uint256 i = 0; i < quantity; ) {
            ++_tokenCount;
            _mint(to, _tokenCount);
            unchecked {
                ++i;
            }
        }
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"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":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"string","name":"contractURI","type":"string"},{"internalType":"address","name":"feeReceiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"}]

60a06040523060805234801561001457600080fd5b50608051613b2661004c60003960008181610c5d01528181610c9d01528181610e9301528181610ed301526110170152613b266000f3fe6080604052600436106102725760003560e01c806355f804b31161014f57806395d89b41116100c1578063ca15c8731161007a578063ca15c87314610760578063d539139314610780578063d547741f146107a2578063e8a3d485146107c2578063e985e9c5146107d7578063f2fde38b1461082157600080fd5b806395d89b41146106b657806398dd69c8146106cb578063a217fddf146106eb578063a22cb46514610700578063b88d4fde14610720578063c87b56dd1461074057600080fd5b8063715018a611610113578063715018a61461060d5780638456cb59146106225780638da5cb5b146106375780639010d07c1461065657806391d1485414610676578063938e3d7b1461069657600080fd5b806355f804b3146105745780635944c753146105945780635c975abb146105b45780636352211e146105cd57806370a08231146105ed57600080fd5b806336568abe116101e857806342966c68116101ac57806342966c68146104cc578063449a52f8146104ec5780634f1ef2861461050c5780634f558e791461051f5780634f6ccce71461053f57806352d1902d1461055f57600080fd5b806336568abe146104375780633659cfe6146104575780633f4ba83a1461047757806340c10f191461048c57806342842e0e146104ac57600080fd5b806318160ddd1161023a57806318160ddd1461034857806323b872dd14610368578063248a9ca3146103885780632a55205a146103b85780632f2ff15d146103f75780632f745c591461041757600080fd5b806301ffc9a71461027757806304634d8d146102ac57806306fdde03146102ce578063081812fc146102f0578063095ea7b314610328575b600080fd5b34801561028357600080fd5b50610297610292366004613058565b610841565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102cc6102c73660046130a8565b610852565b005b3480156102da57600080fd5b506102e3610868565b6040516102a3919061312b565b3480156102fc57600080fd5b5061031061030b36600461313e565b6108fb565b6040516001600160a01b0390911681526020016102a3565b34801561033457600080fd5b506102cc610343366004613157565b610923565b34801561035457600080fd5b50610193545b6040519081526020016102a3565b34801561037457600080fd5b506102cc610383366004613181565b610a3d565b34801561039457600080fd5b5061035a6103a336600461313e565b600090815260c9602052604090206001015490565b3480156103c457600080fd5b506103d86103d33660046131bd565b610a6f565b604080516001600160a01b0390931683526020830191909152016102a3565b34801561040357600080fd5b506102cc6104123660046131df565b610b1d565b34801561042357600080fd5b5061035a610432366004613157565b610b42565b34801561044357600080fd5b506102cc6104523660046131df565b610bd9565b34801561046357600080fd5b506102cc610472366004613202565b610c53565b34801561048357600080fd5b506102cc610d32565b34801561049857600080fd5b506102cc6104a7366004613157565b610d44565b3480156104b857600080fd5b506102cc6104c7366004613181565b610dac565b3480156104d857600080fd5b506102cc6104e736600461313e565b610dc7565b3480156104f857600080fd5b506102cc610507366004613157565b610df5565b6102cc61051a3660046132c0565b610e89565b34801561052b57600080fd5b5061029761053a36600461313e565b610f55565b34801561054b57600080fd5b5061035a61055a36600461313e565b610f75565b34801561056b57600080fd5b5061035a61100a565b34801561058057600080fd5b506102cc61058f36600461330e565b6110bd565b3480156105a057600080fd5b506102cc6105af366004613343565b6110d2565b3480156105c057600080fd5b506102595460ff16610297565b3480156105d957600080fd5b506103106105e836600461313e565b6110e5565b3480156105f957600080fd5b5061035a610608366004613202565b611146565b34801561061957600080fd5b506102cc6111cd565b34801561062e57600080fd5b506102cc6111df565b34801561064357600080fd5b50610227546001600160a01b0316610310565b34801561066257600080fd5b506103106106713660046131bd565b6111ef565b34801561068257600080fd5b506102976106913660046131df565b61120e565b3480156106a257600080fd5b506102cc6106b136600461330e565b611239565b3480156106c257600080fd5b506102e361124e565b3480156106d757600080fd5b506102cc6106e636600461337f565b61125e565b3480156106f757600080fd5b5061035a600081565b34801561070c57600080fd5b506102cc61071b36600461345e565b61137d565b34801561072c57600080fd5b506102cc61073b36600461349a565b611388565b34801561074c57600080fd5b506102e361075b36600461313e565b6113c0565b34801561076c57600080fd5b5061035a61077b36600461313e565b611426565b34801561078c57600080fd5b5061035a600080516020613ad183398151915281565b3480156107ae57600080fd5b506102cc6107bd3660046131df565b61143d565b3480156107ce57600080fd5b506102e3611462565b3480156107e357600080fd5b506102976107f2366004613502565b6001600160a01b0391821660009081526101646020908152604080832093909416825291909152205460ff1690565b34801561082d57600080fd5b506102cc61083c366004613202565b611472565b600061084c826114e8565b92915050565b61085a6114f3565b610864828261154e565b5050565b606061015f80546108789061352c565b80601f01602080910402602001604051908101604052809291908181526020018280546108a49061352c565b80156108f15780601f106108c6576101008083540402835291602001916108f1565b820191906000526020600020905b8154815290600101906020018083116108d457829003601f168201915b5050505050905090565b600061090682611609565b50600090815261016360205260409020546001600160a01b031690565b600061092e826110e5565b9050806001600160a01b0316836001600160a01b0316036109a05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806109bc57506109bc81336107f2565b610a2e5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610997565b610a388383611669565b505050565b610a48335b826116d8565b610a645760405162461bcd60e51b815260040161099790613566565b610a38838383611758565b600082815261012e602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610ae657506040805180820190915261012d546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610b05906001600160601b0316876135c9565b610b0f91906135e0565b915196919550909350505050565b600082815260c96020526040902060010154610b38816118cc565b610a3883836118d6565b6000610b4d83611146565b8210610baf5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610997565b506001600160a01b0391909116600090815261019160209081526040808320938352929052205490565b6001600160a01b0381163314610c495760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610997565b61086482826118f8565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610c9b5760405162461bcd60e51b815260040161099790613602565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610ce4600080516020613a8a833981519152546001600160a01b031690565b6001600160a01b031614610d0a5760405162461bcd60e51b81526004016109979061364e565b610d138161191a565b60408051600080825260208201909252610d2f91839190611922565b50565b610d3a6114f3565b610d42611a8d565b565b610d5c600080516020613ad18339815191523361120e565b610da25760405162461bcd60e51b815260206004820152601760248201527622a9219b9918a130b9b29d1037b7363c9036b4b73a32b960491b6044820152606401610997565b6108648282611ae0565b610a3883838360405180602001604052806000815250611388565b610dd033610a42565b610dec5760405162461bcd60e51b815260040161099790613566565b610d2f81611c7d565b610e0d600080516020613ad18339815191523361120e565b610e535760405162461bcd60e51b815260206004820152601760248201527622a9219b9918a130b9b29d1037b7363c9036b4b73a32b960491b6044820152606401610997565b60005b81811015610a38576102bf60008154610e6e9061369a565b909155506102bf54610e81908490611ae0565b600101610e56565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610ed15760405162461bcd60e51b815260040161099790613602565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610f1a600080516020613a8a833981519152546001600160a01b031690565b6001600160a01b031614610f405760405162461bcd60e51b81526004016109979061364e565b610f498261191a565b61086482826001611922565b600081815261016160205260408120546001600160a01b0316151561084c565b6000610f816101935490565b8210610fe45760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610997565b6101938281548110610ff857610ff86136b3565b90600052602060002001549050919050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146110aa5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610997565b50600080516020613a8a83398151915290565b6110c56114f3565b6102bd6108648282613717565b6110da6114f3565b610a38838383611c86565b600081815261016160205260408120546001600160a01b03168061084c5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610997565b60006001600160a01b0382166111b05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610997565b506001600160a01b03166000908152610162602052604090205490565b6111d56114f3565b610d426000611d52565b6111e76114f3565b610d42611da5565b600082815260fb602052604081206112079083611de3565b9392505050565b600091825260c9602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6112416114f3565b6102be6108648282613717565b606061016080546108789061352c565b600054610100900460ff161580801561127e5750600054600160ff909116105b806112985750303b158015611298575060005460ff166001145b6112fb5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610997565b6000805460ff19166001179055801561131e576000805461ff0019166101001790555b61132d88888888888888611def565b8015611373576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b610864338383611e71565b61139233836116d8565b6113ae5760405162461bcd60e51b815260040161099790613566565b6113ba84848484611f40565b50505050565b60606113cb82611609565b60006113d5611f73565b905060008151116113f55760405180602001604052806000815250611207565b806113ff84611f83565b6040516020016114109291906137d7565b6040516020818303038152906040529392505050565b600081815260fb6020526040812061084c90612016565b600082815260c96020526040902060010154611458816118cc565b610a3883836118f8565b60606102be80546108789061352c565b61147a6114f3565b6001600160a01b0381166114df5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610997565b610d2f81611d52565b600061084c82612020565b610227546001600160a01b03163314610d425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610997565b6127106001600160601b03821611156115795760405162461bcd60e51b815260040161099790613806565b6001600160a01b0382166115cf5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610997565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b9091021761012d55565b600081815261016160205260409020546001600160a01b0316610d2f5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610997565b60008181526101636020526040902080546001600160a01b0319166001600160a01b038416908117909155819061169f826110e5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806116e4836110e5565b9050806001600160a01b0316846001600160a01b0316148061172c57506001600160a01b038082166000908152610164602090815260408083209388168352929052205460ff165b806117505750836001600160a01b0316611745846108fb565b6001600160a01b0316145b949350505050565b826001600160a01b031661176b826110e5565b6001600160a01b0316146117915760405162461bcd60e51b815260040161099790613850565b6001600160a01b0382166117f35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610997565b6118008383836001612045565b826001600160a01b0316611813826110e5565b6001600160a01b0316146118395760405162461bcd60e51b815260040161099790613850565b60008181526101636020908152604080832080546001600160a01b03199081169091556001600160a01b03878116808652610162855283862080546000190190559087168086528386208054600101905586865261016190945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610d2f8133612051565b6118e082826120aa565b600082815260fb60205260409020610a389082612130565b6119028282612145565b600082815260fb60205260409020610a3890826121ac565b610d2f6114f3565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561195557610a38836121c1565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156119af575060408051601f3d908101601f191682019092526119ac91810190613895565b60015b611a125760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610997565b600080516020613a8a8339815191528114611a815760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610997565b50610a3883838361225d565b611a95612282565b610259805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216611b365760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610997565b600081815261016160205260409020546001600160a01b031615611b9c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610997565b611baa600083836001612045565b600081815261016160205260409020546001600160a01b031615611c105760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610997565b6001600160a01b0382166000818152610162602090815260408083208054600101905584835261016190915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b610d2f816122cc565b6127106001600160601b0382161115611cb15760405162461bcd60e51b815260040161099790613806565b6001600160a01b038216611d075760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610997565b6040805180820182526001600160a01b0393841681526001600160601b039283166020808301918252600096875261012e90529190942093519051909116600160a01b029116179055565b61022780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611dad6122e7565b610259805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ac33390565b6000611207838361232e565b600054610100900460ff16611e165760405162461bcd60e51b8152600401610997906138ae565b611e208686612358565b611e2987612389565b611e346000886123c8565b611e4c600080516020613ad1833981519152886123c8565b611e56828261154e565b6102bd611e638582613717565b506102be6113738482613717565b816001600160a01b0316836001600160a01b031603611ed25760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610997565b6001600160a01b0383811660008181526101646020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611f4b848484611758565b611f57848484846123d2565b6113ba5760405162461bcd60e51b8152600401610997906138f9565b60606102bd80546108789061352c565b60606000611f90836124d3565b600101905060008167ffffffffffffffff811115611fb057611fb061321d565b6040519080825280601f01601f191660200182016040528015611fda576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611fe457509392505050565b600061084c825490565b60006001600160e01b0319821663780e9d6360e01b148061084c575061084c826125ab565b6113ba848484846125eb565b61205b828261120e565b610864576120688161272d565b61207383602061273f565b60405160200161208492919061394b565b60408051601f198184030181529082905262461bcd60e51b82526109979160040161312b565b6120b4828261120e565b61086457600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff191660011790556120ec3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611207836001600160a01b0384166128db565b61214f828261120e565b1561086457600082815260c9602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611207836001600160a01b03841661292a565b6001600160a01b0381163b61222e5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610997565b600080516020613a8a83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61226683612a1d565b6000825111806122735750805b15610a38576113ba8383612a5d565b6102595460ff16610d425760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610997565b6122d581612b51565b600090815261012e6020526040812055565b6102595460ff1615610d425760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610997565b6000826000018281548110612345576123456136b3565b9060005260206000200154905092915050565b600054610100900460ff1661237f5760405162461bcd60e51b8152600401610997906138ae565b6108648282612bf7565b600054610100900460ff166123b05760405162461bcd60e51b8152600401610997906138ae565b6123b8612c39565b6123c0612c68565b6114df612c97565b61086482826118d6565b60006001600160a01b0384163b156124c857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906124169033908990889088906004016139c0565b6020604051808303816000875af1925050508015612451575060408051601f3d908101601f1916820190925261244e918101906139fd565b60015b6124ae573d80801561247f576040519150601f19603f3d011682016040523d82523d6000602084013e612484565b606091505b5080516000036124a65760405162461bcd60e51b8152600401610997906138f9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611750565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106125125772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061253e576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061255c57662386f26fc10000830492506010015b6305f5e1008310612574576305f5e100830492506008015b612710831061258857612710830492506004015b6064831061259a576064830492506002015b600a831061084c5760010192915050565b60006001600160e01b031982166380ac58cd60e01b14806125dc57506001600160e01b03198216635b5e139f60e01b145b8061084c575061084c82612cc6565b6125f784848484612ceb565b60018111156126665760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610997565b816001600160a01b0385166126c4576126bf816101938054600083815261019460205260408120829055600182018355919091527ffc8af01f449989052b52093a58fc9f42d0b11f0c6dd5dca0463dab62346ccc680155565b6126e7565b836001600160a01b0316856001600160a01b0316146126e7576126e78582612d75565b6001600160a01b038416612703576126fe81612e17565b612726565b846001600160a01b0316846001600160a01b031614612726576127268482612ecc565b5050505050565b606061084c6001600160a01b03831660145b6060600061274e8360026135c9565b612759906002613a1a565b67ffffffffffffffff8111156127715761277161321d565b6040519080825280601f01601f19166020018201604052801561279b576020820181803683370190505b509050600360fc1b816000815181106127b6576127b66136b3565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106127e5576127e56136b3565b60200101906001600160f81b031916908160001a90535060006128098460026135c9565b612814906001613a1a565b90505b600181111561288c576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612848576128486136b3565b1a60f81b82828151811061285e5761285e6136b3565b60200101906001600160f81b031916908160001a90535060049490941c9361288581613a2d565b9050612817565b5083156112075760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610997565b60008181526001830160205260408120546129225750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561084c565b50600061084c565b60008181526001830160205260408120548015612a1357600061294e600183613a44565b855490915060009061296290600190613a44565b90508181146129c7576000866000018281548110612982576129826136b3565b90600052602060002001549050808760000184815481106129a5576129a56136b3565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806129d8576129d8613a57565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061084c565b600091505061084c565b612a26816121c1565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b612ac55760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610997565b600080846001600160a01b031684604051612ae09190613a6d565b600060405180830381855af49150503d8060008114612b1b576040519150601f19603f3d011682016040523d82523d6000602084013e612b20565b606091505b5091509150612b488282604051806060016040528060278152602001613aaa60279139612f12565b95945050505050565b6000612b5c826110e5565b9050612b6c816000846001612045565b612b75826110e5565b60008381526101636020908152604080832080546001600160a01b03199081169091556001600160a01b03851680855261016284528285208054600019019055878552610161909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600054610100900460ff16612c1e5760405162461bcd60e51b8152600401610997906138ae565b61015f612c2b8382613717565b50610160610a388282613717565b600054610100900460ff16612c605760405162461bcd60e51b8152600401610997906138ae565b610d42612f2b565b600054610100900460ff16612c8f5760405162461bcd60e51b8152600401610997906138ae565b610d42612f5b565b600054610100900460ff16612cbe5760405162461bcd60e51b8152600401610997906138ae565b610d42612f8f565b60006001600160e01b0319821663152a902d60e11b148061084c575061084c82612fbe565b60018111156113ba576001600160a01b03841615612d32576001600160a01b0384166000908152610162602052604081208054839290612d2c908490613a44565b90915550505b6001600160a01b038316156113ba576001600160a01b0383166000908152610162602052604081208054839290612d6a908490613a1a565b909155505050505050565b60006001612d8284611146565b612d8c9190613a44565b60008381526101926020526040902054909150808214612de2576001600160a01b038416600090815261019160209081526040808320858452825280832054848452818420819055835261019290915290208190555b506000918252610192602090815260408084208490556001600160a01b03909416835261019181528383209183525290812055565b61019354600090612e2a90600190613a44565b600083815261019460205260408120546101938054939450909284908110612e5457612e546136b3565b90600052602060002001549050806101938381548110612e7657612e766136b3565b60009182526020808320909101929092558281526101949091526040808220849055858252812055610193805480612eb057612eb0613a57565b6001900381819060005260206000200160009055905550505050565b6000612ed783611146565b6001600160a01b0390931660009081526101916020908152604080832086845282528083208590559382526101929052919091209190915550565b60608315612f21575081611207565b6112078383612fe3565b600054610100900460ff16612f525760405162461bcd60e51b8152600401610997906138ae565b610d4233611d52565b600054610100900460ff16612f825760405162461bcd60e51b8152600401610997906138ae565b610259805460ff19169055565b600054610100900460ff16612fb65760405162461bcd60e51b8152600401610997906138ae565b600161028b55565b60006001600160e01b03198216635a05180f60e01b148061084c575061084c8261300d565b815115612ff35781518083602001fd5b8060405162461bcd60e51b8152600401610997919061312b565b60006001600160e01b03198216637965db0b60e01b148061084c57506301ffc9a760e01b6001600160e01b031983161461084c565b6001600160e01b031981168114610d2f57600080fd5b60006020828403121561306a57600080fd5b813561120781613042565b80356001600160a01b038116811461308c57600080fd5b919050565b80356001600160601b038116811461308c57600080fd5b600080604083850312156130bb57600080fd5b6130c483613075565b91506130d260208401613091565b90509250929050565b60005b838110156130f65781810151838201526020016130de565b50506000910152565b600081518084526131178160208601602086016130db565b601f01601f19169290920160200192915050565b60208152600061120760208301846130ff565b60006020828403121561315057600080fd5b5035919050565b6000806040838503121561316a57600080fd5b61317383613075565b946020939093013593505050565b60008060006060848603121561319657600080fd5b61319f84613075565b92506131ad60208501613075565b9150604084013590509250925092565b600080604083850312156131d057600080fd5b50508035926020909101359150565b600080604083850312156131f257600080fd5b823591506130d260208401613075565b60006020828403121561321457600080fd5b61120782613075565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261324457600080fd5b813567ffffffffffffffff8082111561325f5761325f61321d565b604051601f8301601f19908116603f011681019082821181831017156132875761328761321d565b816040528381528660208588010111156132a057600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156132d357600080fd5b6132dc83613075565b9150602083013567ffffffffffffffff8111156132f857600080fd5b61330485828601613233565b9150509250929050565b60006020828403121561332057600080fd5b813567ffffffffffffffff81111561333757600080fd5b61175084828501613233565b60008060006060848603121561335857600080fd5b8335925061336860208501613075565b915061337660408501613091565b90509250925092565b600080600080600080600060e0888a03121561339a57600080fd5b6133a388613075565b9650602088013567ffffffffffffffff808211156133c057600080fd5b6133cc8b838c01613233565b975060408a01359150808211156133e257600080fd5b6133ee8b838c01613233565b965060608a013591508082111561340457600080fd5b6134108b838c01613233565b955060808a013591508082111561342657600080fd5b506134338a828b01613233565b93505061344260a08901613075565b915061345060c08901613091565b905092959891949750929550565b6000806040838503121561347157600080fd5b61347a83613075565b91506020830135801515811461348f57600080fd5b809150509250929050565b600080600080608085870312156134b057600080fd5b6134b985613075565b93506134c760208601613075565b925060408501359150606085013567ffffffffffffffff8111156134ea57600080fd5b6134f687828801613233565b91505092959194509250565b6000806040838503121561351557600080fd5b61351e83613075565b91506130d260208401613075565b600181811c9082168061354057607f821691505b60208210810361356057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761084c5761084c6135b3565b6000826135fd57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6000600182016136ac576136ac6135b3565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f821115610a3857600081815260208120601f850160051c810160208610156136f05750805b601f850160051c820191505b8181101561370f578281556001016136fc565b505050505050565b815167ffffffffffffffff8111156137315761373161321d565b6137458161373f845461352c565b846136c9565b602080601f83116001811461377a57600084156137625750858301515b600019600386901b1c1916600185901b17855561370f565b600085815260208120601f198616915b828110156137a95788860151825594840194600190910190840161378a565b50858210156137c75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600083516137e98184602088016130db565b8351908301906137fd8183602088016130db565b01949350505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6000602082840312156138a757600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516139838160178501602088016130db565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516139b48160288401602088016130db565b01602801949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906139f3908301846130ff565b9695505050505050565b600060208284031215613a0f57600080fd5b815161120781613042565b8082018082111561084c5761084c6135b3565b600081613a3c57613a3c6135b3565b506000190190565b8181038181111561084c5761084c6135b3565b634e487b7160e01b600052603160045260246000fd5b60008251613a7f8184602087016130db565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65649f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a264697066735822122084a2e5d7e56c7544e167200e3e6d55b02faa2d9381c2777a7fe900bb5d818e2764736f6c63430008110033

Deployed Bytecode

0x6080604052600436106102725760003560e01c806355f804b31161014f57806395d89b41116100c1578063ca15c8731161007a578063ca15c87314610760578063d539139314610780578063d547741f146107a2578063e8a3d485146107c2578063e985e9c5146107d7578063f2fde38b1461082157600080fd5b806395d89b41146106b657806398dd69c8146106cb578063a217fddf146106eb578063a22cb46514610700578063b88d4fde14610720578063c87b56dd1461074057600080fd5b8063715018a611610113578063715018a61461060d5780638456cb59146106225780638da5cb5b146106375780639010d07c1461065657806391d1485414610676578063938e3d7b1461069657600080fd5b806355f804b3146105745780635944c753146105945780635c975abb146105b45780636352211e146105cd57806370a08231146105ed57600080fd5b806336568abe116101e857806342966c68116101ac57806342966c68146104cc578063449a52f8146104ec5780634f1ef2861461050c5780634f558e791461051f5780634f6ccce71461053f57806352d1902d1461055f57600080fd5b806336568abe146104375780633659cfe6146104575780633f4ba83a1461047757806340c10f191461048c57806342842e0e146104ac57600080fd5b806318160ddd1161023a57806318160ddd1461034857806323b872dd14610368578063248a9ca3146103885780632a55205a146103b85780632f2ff15d146103f75780632f745c591461041757600080fd5b806301ffc9a71461027757806304634d8d146102ac57806306fdde03146102ce578063081812fc146102f0578063095ea7b314610328575b600080fd5b34801561028357600080fd5b50610297610292366004613058565b610841565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102cc6102c73660046130a8565b610852565b005b3480156102da57600080fd5b506102e3610868565b6040516102a3919061312b565b3480156102fc57600080fd5b5061031061030b36600461313e565b6108fb565b6040516001600160a01b0390911681526020016102a3565b34801561033457600080fd5b506102cc610343366004613157565b610923565b34801561035457600080fd5b50610193545b6040519081526020016102a3565b34801561037457600080fd5b506102cc610383366004613181565b610a3d565b34801561039457600080fd5b5061035a6103a336600461313e565b600090815260c9602052604090206001015490565b3480156103c457600080fd5b506103d86103d33660046131bd565b610a6f565b604080516001600160a01b0390931683526020830191909152016102a3565b34801561040357600080fd5b506102cc6104123660046131df565b610b1d565b34801561042357600080fd5b5061035a610432366004613157565b610b42565b34801561044357600080fd5b506102cc6104523660046131df565b610bd9565b34801561046357600080fd5b506102cc610472366004613202565b610c53565b34801561048357600080fd5b506102cc610d32565b34801561049857600080fd5b506102cc6104a7366004613157565b610d44565b3480156104b857600080fd5b506102cc6104c7366004613181565b610dac565b3480156104d857600080fd5b506102cc6104e736600461313e565b610dc7565b3480156104f857600080fd5b506102cc610507366004613157565b610df5565b6102cc61051a3660046132c0565b610e89565b34801561052b57600080fd5b5061029761053a36600461313e565b610f55565b34801561054b57600080fd5b5061035a61055a36600461313e565b610f75565b34801561056b57600080fd5b5061035a61100a565b34801561058057600080fd5b506102cc61058f36600461330e565b6110bd565b3480156105a057600080fd5b506102cc6105af366004613343565b6110d2565b3480156105c057600080fd5b506102595460ff16610297565b3480156105d957600080fd5b506103106105e836600461313e565b6110e5565b3480156105f957600080fd5b5061035a610608366004613202565b611146565b34801561061957600080fd5b506102cc6111cd565b34801561062e57600080fd5b506102cc6111df565b34801561064357600080fd5b50610227546001600160a01b0316610310565b34801561066257600080fd5b506103106106713660046131bd565b6111ef565b34801561068257600080fd5b506102976106913660046131df565b61120e565b3480156106a257600080fd5b506102cc6106b136600461330e565b611239565b3480156106c257600080fd5b506102e361124e565b3480156106d757600080fd5b506102cc6106e636600461337f565b61125e565b3480156106f757600080fd5b5061035a600081565b34801561070c57600080fd5b506102cc61071b36600461345e565b61137d565b34801561072c57600080fd5b506102cc61073b36600461349a565b611388565b34801561074c57600080fd5b506102e361075b36600461313e565b6113c0565b34801561076c57600080fd5b5061035a61077b36600461313e565b611426565b34801561078c57600080fd5b5061035a600080516020613ad183398151915281565b3480156107ae57600080fd5b506102cc6107bd3660046131df565b61143d565b3480156107ce57600080fd5b506102e3611462565b3480156107e357600080fd5b506102976107f2366004613502565b6001600160a01b0391821660009081526101646020908152604080832093909416825291909152205460ff1690565b34801561082d57600080fd5b506102cc61083c366004613202565b611472565b600061084c826114e8565b92915050565b61085a6114f3565b610864828261154e565b5050565b606061015f80546108789061352c565b80601f01602080910402602001604051908101604052809291908181526020018280546108a49061352c565b80156108f15780601f106108c6576101008083540402835291602001916108f1565b820191906000526020600020905b8154815290600101906020018083116108d457829003601f168201915b5050505050905090565b600061090682611609565b50600090815261016360205260409020546001600160a01b031690565b600061092e826110e5565b9050806001600160a01b0316836001600160a01b0316036109a05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806109bc57506109bc81336107f2565b610a2e5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610997565b610a388383611669565b505050565b610a48335b826116d8565b610a645760405162461bcd60e51b815260040161099790613566565b610a38838383611758565b600082815261012e602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610ae657506040805180820190915261012d546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610b05906001600160601b0316876135c9565b610b0f91906135e0565b915196919550909350505050565b600082815260c96020526040902060010154610b38816118cc565b610a3883836118d6565b6000610b4d83611146565b8210610baf5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610997565b506001600160a01b0391909116600090815261019160209081526040808320938352929052205490565b6001600160a01b0381163314610c495760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610997565b61086482826118f8565b6001600160a01b037f0000000000000000000000001f4a76aa3ca7d88324716a5f1c15ca19cfc97725163003610c9b5760405162461bcd60e51b815260040161099790613602565b7f0000000000000000000000001f4a76aa3ca7d88324716a5f1c15ca19cfc977256001600160a01b0316610ce4600080516020613a8a833981519152546001600160a01b031690565b6001600160a01b031614610d0a5760405162461bcd60e51b81526004016109979061364e565b610d138161191a565b60408051600080825260208201909252610d2f91839190611922565b50565b610d3a6114f3565b610d42611a8d565b565b610d5c600080516020613ad18339815191523361120e565b610da25760405162461bcd60e51b815260206004820152601760248201527622a9219b9918a130b9b29d1037b7363c9036b4b73a32b960491b6044820152606401610997565b6108648282611ae0565b610a3883838360405180602001604052806000815250611388565b610dd033610a42565b610dec5760405162461bcd60e51b815260040161099790613566565b610d2f81611c7d565b610e0d600080516020613ad18339815191523361120e565b610e535760405162461bcd60e51b815260206004820152601760248201527622a9219b9918a130b9b29d1037b7363c9036b4b73a32b960491b6044820152606401610997565b60005b81811015610a38576102bf60008154610e6e9061369a565b909155506102bf54610e81908490611ae0565b600101610e56565b6001600160a01b037f0000000000000000000000001f4a76aa3ca7d88324716a5f1c15ca19cfc97725163003610ed15760405162461bcd60e51b815260040161099790613602565b7f0000000000000000000000001f4a76aa3ca7d88324716a5f1c15ca19cfc977256001600160a01b0316610f1a600080516020613a8a833981519152546001600160a01b031690565b6001600160a01b031614610f405760405162461bcd60e51b81526004016109979061364e565b610f498261191a565b61086482826001611922565b600081815261016160205260408120546001600160a01b0316151561084c565b6000610f816101935490565b8210610fe45760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610997565b6101938281548110610ff857610ff86136b3565b90600052602060002001549050919050565b6000306001600160a01b037f0000000000000000000000001f4a76aa3ca7d88324716a5f1c15ca19cfc9772516146110aa5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610997565b50600080516020613a8a83398151915290565b6110c56114f3565b6102bd6108648282613717565b6110da6114f3565b610a38838383611c86565b600081815261016160205260408120546001600160a01b03168061084c5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610997565b60006001600160a01b0382166111b05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610997565b506001600160a01b03166000908152610162602052604090205490565b6111d56114f3565b610d426000611d52565b6111e76114f3565b610d42611da5565b600082815260fb602052604081206112079083611de3565b9392505050565b600091825260c9602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6112416114f3565b6102be6108648282613717565b606061016080546108789061352c565b600054610100900460ff161580801561127e5750600054600160ff909116105b806112985750303b158015611298575060005460ff166001145b6112fb5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610997565b6000805460ff19166001179055801561131e576000805461ff0019166101001790555b61132d88888888888888611def565b8015611373576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b610864338383611e71565b61139233836116d8565b6113ae5760405162461bcd60e51b815260040161099790613566565b6113ba84848484611f40565b50505050565b60606113cb82611609565b60006113d5611f73565b905060008151116113f55760405180602001604052806000815250611207565b806113ff84611f83565b6040516020016114109291906137d7565b6040516020818303038152906040529392505050565b600081815260fb6020526040812061084c90612016565b600082815260c96020526040902060010154611458816118cc565b610a3883836118f8565b60606102be80546108789061352c565b61147a6114f3565b6001600160a01b0381166114df5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610997565b610d2f81611d52565b600061084c82612020565b610227546001600160a01b03163314610d425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610997565b6127106001600160601b03821611156115795760405162461bcd60e51b815260040161099790613806565b6001600160a01b0382166115cf5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610997565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b9091021761012d55565b600081815261016160205260409020546001600160a01b0316610d2f5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610997565b60008181526101636020526040902080546001600160a01b0319166001600160a01b038416908117909155819061169f826110e5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806116e4836110e5565b9050806001600160a01b0316846001600160a01b0316148061172c57506001600160a01b038082166000908152610164602090815260408083209388168352929052205460ff165b806117505750836001600160a01b0316611745846108fb565b6001600160a01b0316145b949350505050565b826001600160a01b031661176b826110e5565b6001600160a01b0316146117915760405162461bcd60e51b815260040161099790613850565b6001600160a01b0382166117f35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610997565b6118008383836001612045565b826001600160a01b0316611813826110e5565b6001600160a01b0316146118395760405162461bcd60e51b815260040161099790613850565b60008181526101636020908152604080832080546001600160a01b03199081169091556001600160a01b03878116808652610162855283862080546000190190559087168086528386208054600101905586865261016190945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610d2f8133612051565b6118e082826120aa565b600082815260fb60205260409020610a389082612130565b6119028282612145565b600082815260fb60205260409020610a3890826121ac565b610d2f6114f3565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561195557610a38836121c1565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156119af575060408051601f3d908101601f191682019092526119ac91810190613895565b60015b611a125760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610997565b600080516020613a8a8339815191528114611a815760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610997565b50610a3883838361225d565b611a95612282565b610259805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216611b365760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610997565b600081815261016160205260409020546001600160a01b031615611b9c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610997565b611baa600083836001612045565b600081815261016160205260409020546001600160a01b031615611c105760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610997565b6001600160a01b0382166000818152610162602090815260408083208054600101905584835261016190915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b610d2f816122cc565b6127106001600160601b0382161115611cb15760405162461bcd60e51b815260040161099790613806565b6001600160a01b038216611d075760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610997565b6040805180820182526001600160a01b0393841681526001600160601b039283166020808301918252600096875261012e90529190942093519051909116600160a01b029116179055565b61022780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611dad6122e7565b610259805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ac33390565b6000611207838361232e565b600054610100900460ff16611e165760405162461bcd60e51b8152600401610997906138ae565b611e208686612358565b611e2987612389565b611e346000886123c8565b611e4c600080516020613ad1833981519152886123c8565b611e56828261154e565b6102bd611e638582613717565b506102be6113738482613717565b816001600160a01b0316836001600160a01b031603611ed25760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610997565b6001600160a01b0383811660008181526101646020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611f4b848484611758565b611f57848484846123d2565b6113ba5760405162461bcd60e51b8152600401610997906138f9565b60606102bd80546108789061352c565b60606000611f90836124d3565b600101905060008167ffffffffffffffff811115611fb057611fb061321d565b6040519080825280601f01601f191660200182016040528015611fda576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611fe457509392505050565b600061084c825490565b60006001600160e01b0319821663780e9d6360e01b148061084c575061084c826125ab565b6113ba848484846125eb565b61205b828261120e565b610864576120688161272d565b61207383602061273f565b60405160200161208492919061394b565b60408051601f198184030181529082905262461bcd60e51b82526109979160040161312b565b6120b4828261120e565b61086457600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff191660011790556120ec3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611207836001600160a01b0384166128db565b61214f828261120e565b1561086457600082815260c9602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611207836001600160a01b03841661292a565b6001600160a01b0381163b61222e5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610997565b600080516020613a8a83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61226683612a1d565b6000825111806122735750805b15610a38576113ba8383612a5d565b6102595460ff16610d425760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610997565b6122d581612b51565b600090815261012e6020526040812055565b6102595460ff1615610d425760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610997565b6000826000018281548110612345576123456136b3565b9060005260206000200154905092915050565b600054610100900460ff1661237f5760405162461bcd60e51b8152600401610997906138ae565b6108648282612bf7565b600054610100900460ff166123b05760405162461bcd60e51b8152600401610997906138ae565b6123b8612c39565b6123c0612c68565b6114df612c97565b61086482826118d6565b60006001600160a01b0384163b156124c857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906124169033908990889088906004016139c0565b6020604051808303816000875af1925050508015612451575060408051601f3d908101601f1916820190925261244e918101906139fd565b60015b6124ae573d80801561247f576040519150601f19603f3d011682016040523d82523d6000602084013e612484565b606091505b5080516000036124a65760405162461bcd60e51b8152600401610997906138f9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611750565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106125125772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061253e576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061255c57662386f26fc10000830492506010015b6305f5e1008310612574576305f5e100830492506008015b612710831061258857612710830492506004015b6064831061259a576064830492506002015b600a831061084c5760010192915050565b60006001600160e01b031982166380ac58cd60e01b14806125dc57506001600160e01b03198216635b5e139f60e01b145b8061084c575061084c82612cc6565b6125f784848484612ceb565b60018111156126665760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610997565b816001600160a01b0385166126c4576126bf816101938054600083815261019460205260408120829055600182018355919091527ffc8af01f449989052b52093a58fc9f42d0b11f0c6dd5dca0463dab62346ccc680155565b6126e7565b836001600160a01b0316856001600160a01b0316146126e7576126e78582612d75565b6001600160a01b038416612703576126fe81612e17565b612726565b846001600160a01b0316846001600160a01b031614612726576127268482612ecc565b5050505050565b606061084c6001600160a01b03831660145b6060600061274e8360026135c9565b612759906002613a1a565b67ffffffffffffffff8111156127715761277161321d565b6040519080825280601f01601f19166020018201604052801561279b576020820181803683370190505b509050600360fc1b816000815181106127b6576127b66136b3565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106127e5576127e56136b3565b60200101906001600160f81b031916908160001a90535060006128098460026135c9565b612814906001613a1a565b90505b600181111561288c576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612848576128486136b3565b1a60f81b82828151811061285e5761285e6136b3565b60200101906001600160f81b031916908160001a90535060049490941c9361288581613a2d565b9050612817565b5083156112075760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610997565b60008181526001830160205260408120546129225750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561084c565b50600061084c565b60008181526001830160205260408120548015612a1357600061294e600183613a44565b855490915060009061296290600190613a44565b90508181146129c7576000866000018281548110612982576129826136b3565b90600052602060002001549050808760000184815481106129a5576129a56136b3565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806129d8576129d8613a57565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061084c565b600091505061084c565b612a26816121c1565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b612ac55760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610997565b600080846001600160a01b031684604051612ae09190613a6d565b600060405180830381855af49150503d8060008114612b1b576040519150601f19603f3d011682016040523d82523d6000602084013e612b20565b606091505b5091509150612b488282604051806060016040528060278152602001613aaa60279139612f12565b95945050505050565b6000612b5c826110e5565b9050612b6c816000846001612045565b612b75826110e5565b60008381526101636020908152604080832080546001600160a01b03199081169091556001600160a01b03851680855261016284528285208054600019019055878552610161909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600054610100900460ff16612c1e5760405162461bcd60e51b8152600401610997906138ae565b61015f612c2b8382613717565b50610160610a388282613717565b600054610100900460ff16612c605760405162461bcd60e51b8152600401610997906138ae565b610d42612f2b565b600054610100900460ff16612c8f5760405162461bcd60e51b8152600401610997906138ae565b610d42612f5b565b600054610100900460ff16612cbe5760405162461bcd60e51b8152600401610997906138ae565b610d42612f8f565b60006001600160e01b0319821663152a902d60e11b148061084c575061084c82612fbe565b60018111156113ba576001600160a01b03841615612d32576001600160a01b0384166000908152610162602052604081208054839290612d2c908490613a44565b90915550505b6001600160a01b038316156113ba576001600160a01b0383166000908152610162602052604081208054839290612d6a908490613a1a565b909155505050505050565b60006001612d8284611146565b612d8c9190613a44565b60008381526101926020526040902054909150808214612de2576001600160a01b038416600090815261019160209081526040808320858452825280832054848452818420819055835261019290915290208190555b506000918252610192602090815260408084208490556001600160a01b03909416835261019181528383209183525290812055565b61019354600090612e2a90600190613a44565b600083815261019460205260408120546101938054939450909284908110612e5457612e546136b3565b90600052602060002001549050806101938381548110612e7657612e766136b3565b60009182526020808320909101929092558281526101949091526040808220849055858252812055610193805480612eb057612eb0613a57565b6001900381819060005260206000200160009055905550505050565b6000612ed783611146565b6001600160a01b0390931660009081526101916020908152604080832086845282528083208590559382526101929052919091209190915550565b60608315612f21575081611207565b6112078383612fe3565b600054610100900460ff16612f525760405162461bcd60e51b8152600401610997906138ae565b610d4233611d52565b600054610100900460ff16612f825760405162461bcd60e51b8152600401610997906138ae565b610259805460ff19169055565b600054610100900460ff16612fb65760405162461bcd60e51b8152600401610997906138ae565b600161028b55565b60006001600160e01b03198216635a05180f60e01b148061084c575061084c8261300d565b815115612ff35781518083602001fd5b8060405162461bcd60e51b8152600401610997919061312b565b60006001600160e01b03198216637965db0b60e01b148061084c57506301ffc9a760e01b6001600160e01b031983161461084c565b6001600160e01b031981168114610d2f57600080fd5b60006020828403121561306a57600080fd5b813561120781613042565b80356001600160a01b038116811461308c57600080fd5b919050565b80356001600160601b038116811461308c57600080fd5b600080604083850312156130bb57600080fd5b6130c483613075565b91506130d260208401613091565b90509250929050565b60005b838110156130f65781810151838201526020016130de565b50506000910152565b600081518084526131178160208601602086016130db565b601f01601f19169290920160200192915050565b60208152600061120760208301846130ff565b60006020828403121561315057600080fd5b5035919050565b6000806040838503121561316a57600080fd5b61317383613075565b946020939093013593505050565b60008060006060848603121561319657600080fd5b61319f84613075565b92506131ad60208501613075565b9150604084013590509250925092565b600080604083850312156131d057600080fd5b50508035926020909101359150565b600080604083850312156131f257600080fd5b823591506130d260208401613075565b60006020828403121561321457600080fd5b61120782613075565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261324457600080fd5b813567ffffffffffffffff8082111561325f5761325f61321d565b604051601f8301601f19908116603f011681019082821181831017156132875761328761321d565b816040528381528660208588010111156132a057600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156132d357600080fd5b6132dc83613075565b9150602083013567ffffffffffffffff8111156132f857600080fd5b61330485828601613233565b9150509250929050565b60006020828403121561332057600080fd5b813567ffffffffffffffff81111561333757600080fd5b61175084828501613233565b60008060006060848603121561335857600080fd5b8335925061336860208501613075565b915061337660408501613091565b90509250925092565b600080600080600080600060e0888a03121561339a57600080fd5b6133a388613075565b9650602088013567ffffffffffffffff808211156133c057600080fd5b6133cc8b838c01613233565b975060408a01359150808211156133e257600080fd5b6133ee8b838c01613233565b965060608a013591508082111561340457600080fd5b6134108b838c01613233565b955060808a013591508082111561342657600080fd5b506134338a828b01613233565b93505061344260a08901613075565b915061345060c08901613091565b905092959891949750929550565b6000806040838503121561347157600080fd5b61347a83613075565b91506020830135801515811461348f57600080fd5b809150509250929050565b600080600080608085870312156134b057600080fd5b6134b985613075565b93506134c760208601613075565b925060408501359150606085013567ffffffffffffffff8111156134ea57600080fd5b6134f687828801613233565b91505092959194509250565b6000806040838503121561351557600080fd5b61351e83613075565b91506130d260208401613075565b600181811c9082168061354057607f821691505b60208210810361356057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761084c5761084c6135b3565b6000826135fd57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6000600182016136ac576136ac6135b3565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f821115610a3857600081815260208120601f850160051c810160208610156136f05750805b601f850160051c820191505b8181101561370f578281556001016136fc565b505050505050565b815167ffffffffffffffff8111156137315761373161321d565b6137458161373f845461352c565b846136c9565b602080601f83116001811461377a57600084156137625750858301515b600019600386901b1c1916600185901b17855561370f565b600085815260208120601f198616915b828110156137a95788860151825594840194600190910190840161378a565b50858210156137c75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600083516137e98184602088016130db565b8351908301906137fd8183602088016130db565b01949350505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6000602082840312156138a757600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516139838160178501602088016130db565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516139b48160288401602088016130db565b01602801949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906139f3908301846130ff565b9695505050505050565b600060208284031215613a0f57600080fd5b815161120781613042565b8082018082111561084c5761084c6135b3565b600081613a3c57613a3c6135b3565b506000190190565b8181038181111561084c5761084c6135b3565b634e487b7160e01b600052603160045260246000fd5b60008251613a7f8184602087016130db565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65649f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a264697066735822122084a2e5d7e56c7544e167200e3e6d55b02faa2d9381c2777a7fe900bb5d818e2764736f6c63430008110033

Deployed Bytecode Sourcemap

138748:731:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;137951:392;;;;;;;;;;-1:-1:-1;137951:392:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;137951:392:0;;;;;;;;137012:146;;;;;;;;;;-1:-1:-1;137012:146:0;;;;;:::i;:::-;;:::i;:::-;;102347:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;103870:171::-;;;;;;;;;;-1:-1:-1;103870:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2322:32:1;;;2304:51;;2292:2;2277:18;103870:171:0;2158:203:1;103377:427:0;;;;;;;;;;-1:-1:-1;103377:427:0;;;;;:::i;:::-;;:::i;120790:113::-;;;;;;;;;;-1:-1:-1;120878:10:0;:17;120790:113;;;2771:25:1;;;2759:2;2744:18;120790:113:0;2625:177:1;104570:335:0;;;;;;;;;;-1:-1:-1;104570:335:0;;;;;:::i;:::-;;:::i;71818:131::-;;;;;;;;;;-1:-1:-1;71818:131:0;;;;;:::i;:::-;71892:7;71919:12;;;:6;:12;;;;;:22;;;;71818:131;130688:442;;;;;;;;;;-1:-1:-1;130688:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3952:32:1;;;3934:51;;4016:2;4001:18;;3994:34;;;;3907:18;130688:442:0;3760:274:1;72259:147:0;;;;;;;;;;-1:-1:-1;72259:147:0;;;;;:::i;:::-;;:::i;120447:267::-;;;;;;;;;;-1:-1:-1;120447:267:0;;;;;:::i;:::-;;:::i;73403:218::-;;;;;;;;;;-1:-1:-1;73403:218:0;;;;;:::i;:::-;;:::i;39055:200::-;;;;;;;;;;-1:-1:-1;39055:200:0;;;;;:::i;:::-;;:::i;44663:73::-;;;;;;;;;;;;;:::i;137342:106::-;;;;;;;;;;-1:-1:-1;137342:106:0;;;;;:::i;:::-;;:::i;104976:185::-;;;;;;;;;;-1:-1:-1;104976:185:0;;;;;:::i;:::-;;:::i;127217:242::-;;;;;;;;;;-1:-1:-1;127217:242:0;;;;;:::i;:::-;;:::i;139211:265::-;;;;;;;;;;-1:-1:-1;139211:265:0;;;;;:::i;:::-;;:::i;39514:225::-;;;;;;:::i;:::-;;:::i;137456:102::-;;;;;;;;;;-1:-1:-1;137456:102:0;;;;;:::i;:::-;;:::i;120980:244::-;;;;;;;;;;-1:-1:-1;120980:244:0;;;;;:::i;:::-;;:::i;38733:133::-;;;;;;;;;;;;;:::i;136765:110::-;;;;;;;;;;-1:-1:-1;136765:110:0;;;;;:::i;:::-;;:::i;137166:168::-;;;;;;;;;;-1:-1:-1;137166:168:0;;;;;:::i;:::-;;:::i;22101:86::-;;;;;;;;;;-1:-1:-1;22172:7:0;;;;22101:86;;102057:223;;;;;;;;;;-1:-1:-1;102057:223:0;;;;;:::i;:::-;;:::i;101788:207::-;;;;;;;;;;-1:-1:-1;101788:207:0;;;;;:::i;:::-;;:::i;19063:103::-;;;;;;;;;;;;;:::i;44586:69::-;;;;;;;;;;;;;:::i;18415:87::-;;;;;;;;;;-1:-1:-1;18488:6:0;;-1:-1:-1;;;;;18488:6:0;18415:87;;91116:153;;;;;;;;;;-1:-1:-1;91116:153:0;;;;;:::i;:::-;;:::i;70269:147::-;;;;;;;;;;-1:-1:-1;70269:147:0;;;;;:::i;:::-;;:::i;136883:121::-;;;;;;;;;;-1:-1:-1;136883:121:0;;;;;:::i;:::-;;:::i;102516:104::-;;;;;;;;;;;;;:::i;138821:382::-;;;;;;;;;;-1:-1:-1;138821:382:0;;;;;:::i;:::-;;:::i;69363:49::-;;;;;;;;;;-1:-1:-1;69363:49:0;69408:4;69363:49;;104113:155;;;;;;;;;;-1:-1:-1;104113:155:0;;;;;:::i;:::-;;:::i;105232:322::-;;;;;;;;;;-1:-1:-1;105232:322:0;;;;;:::i;:::-;;:::i;102691:281::-;;;;;;;;;;-1:-1:-1;102691:281:0;;;;;:::i;:::-;;:::i;91443:142::-;;;;;;;;;;-1:-1:-1;91443:142:0;;;;;:::i;:::-;;:::i;135889:62::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;135889:62:0;;72699:149;;;;;;;;;;-1:-1:-1;72699:149:0;;;;;:::i;:::-;;:::i;137566:105::-;;;;;;;;;;;;;:::i;104339:164::-;;;;;;;;;;-1:-1:-1;104339:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;104460:25:0;;;104436:4;104460:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;104339:164;19321:201;;;;;;;;;;-1:-1:-1;19321:201:0;;;;;:::i;:::-;;:::i;137951:392::-;138270:4;138299:36;138323:11;138299:23;:36::i;:::-;138292:43;137951:392;-1:-1:-1;;137951:392:0:o;137012:146::-;18301:13;:11;:13::i;:::-;137108:42:::1;137127:8;137137:12;137108:18;:42::i;:::-;137012:146:::0;;:::o;102347:100::-;102401:13;102434:5;102427:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;102347:100;:::o;103870:171::-;103946:7;103966:23;103981:7;103966:14;:23::i;:::-;-1:-1:-1;104009:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;104009:24:0;;103870:171::o;103377:427::-;103458:13;103474:34;103500:7;103474:25;:34::i;:::-;103458:50;;103533:5;-1:-1:-1;;;;;103527:11:0;:2;-1:-1:-1;;;;;103527:11:0;;103519:57;;;;-1:-1:-1;;;103519:57:0;;9567:2:1;103519:57:0;;;9549:21:1;9606:2;9586:18;;;9579:30;9645:34;9625:18;;;9618:62;-1:-1:-1;;;9696:18:1;;;9689:31;9737:19;;103519:57:0;;;;;;;;;16501:10;-1:-1:-1;;;;;103611:21:0;;;;:62;;-1:-1:-1;103636:37:0;103653:5;16501:10;104339:164;:::i;103636:37::-;103589:173;;;;-1:-1:-1;;;103589:173:0;;9969:2:1;103589:173:0;;;9951:21:1;10008:2;9988:18;;;9981:30;10047:34;10027:18;;;10020:62;10118:31;10098:18;;;10091:59;10167:19;;103589:173:0;9767:425:1;103589:173:0;103775:21;103784:2;103788:7;103775:8;:21::i;:::-;103447:357;103377:427;;:::o;104570:335::-;104765:41;16501:10;104784:12;104798:7;104765:18;:41::i;:::-;104757:99;;;;-1:-1:-1;;;104757:99:0;;;;;;;:::i;:::-;104869:28;104879:4;104885:2;104889:7;104869:9;:28::i;130688:442::-;130785:7;130843:27;;;:17;:27;;;;;;;;130814:56;;;;;;;;;-1:-1:-1;;;;;130814:56:0;;;;;-1:-1:-1;;;130814:56:0;;;-1:-1:-1;;;;;130814:56:0;;;;;;;;130785:7;;130883:92;;-1:-1:-1;130934:29:0;;;;;;;;;130944:19;130934:29;-1:-1:-1;;;;;130934:29:0;;;;-1:-1:-1;;;130934:29:0;;-1:-1:-1;;;;;130934:29:0;;;;;130883:92;131025:23;;;;130987:21;;131496:5;;131012:36;;-1:-1:-1;;;;;131012:36:0;:10;:36;:::i;:::-;131011:58;;;;:::i;:::-;131090:16;;;;;-1:-1:-1;130688:442:0;;-1:-1:-1;;;;130688:442:0:o;72259:147::-;71892:7;71919:12;;;:6;:12;;;;;:22;;;69854:16;69865:4;69854:10;:16::i;:::-;72373:25:::1;72384:4;72390:7;72373:10;:25::i;120447:267::-:0;120544:7;120580:34;120608:5;120580:27;:34::i;:::-;120572:5;:42;120564:98;;;;-1:-1:-1;;;120564:98:0;;11472:2:1;120564:98:0;;;11454:21:1;11511:2;11491:18;;;11484:30;11550:34;11530:18;;;11523:62;-1:-1:-1;;;11601:18:1;;;11594:41;11652:19;;120564:98:0;11270:407:1;120564:98:0;-1:-1:-1;;;;;;120680:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;120447:267::o;73403:218::-;-1:-1:-1;;;;;73499:23:0;;16501:10;73499:23;73491:83;;;;-1:-1:-1;;;73491:83:0;;11884:2:1;73491:83:0;;;11866:21:1;11923:2;11903:18;;;11896:30;11962:34;11942:18;;;11935:62;-1:-1:-1;;;12013:18:1;;;12006:45;12068:19;;73491:83:0;11682:411:1;73491:83:0;73587:26;73599:4;73605:7;73587:11;:26::i;39055:200::-;-1:-1:-1;;;;;37603:6:0;37586:23;37594:4;37586:23;37578:80;;;;-1:-1:-1;;;37578:80:0;;;;;;;:::i;:::-;37701:6;-1:-1:-1;;;;;37677:30:0;:20;-1:-1:-1;;;;;;;;;;;29358:65:0;-1:-1:-1;;;;;29358:65:0;;29278:153;37677:20;-1:-1:-1;;;;;37677:30:0;;37669:87;;;;-1:-1:-1;;;37669:87:0;;;;;;;:::i;:::-;39139:36:::1;39157:17;39139;:36::i;:::-;39227:12;::::0;;39237:1:::1;39227:12:::0;;;::::1;::::0;::::1;::::0;;;39186:61:::1;::::0;39208:17;;39227:12;39186:21:::1;:61::i;:::-;39055:200:::0;:::o;44663:73::-;18301:13;:11;:13::i;:::-;44718:10:::1;:8;:10::i;:::-;44663:73::o:0;137342:106::-;136675:34;-1:-1:-1;;;;;;;;;;;16501:10:0;70269:147;:::i;136675:34::-;136667:70;;;;-1:-1:-1;;;136667:70:0;;13126:2:1;136667:70:0;;;13108:21:1;13165:2;13145:18;;;13138:30;-1:-1:-1;;;13184:18:1;;;13177:53;13247:18;;136667:70:0;12924:347:1;136667:70:0;137422:18:::1;137428:2;137432:7;137422:5;:18::i;104976:185::-:0;105114:39;105131:4;105137:2;105141:7;105114:39;;;;;;;;;;;;:16;:39::i;127217:242::-;127335:41;16501:10;127354:12;16421:98;127335:41;127327:99;;;;-1:-1:-1;;;127327:99:0;;;;;;;:::i;:::-;127437:14;127443:7;127437:5;:14::i;139211:265::-;136675:34;-1:-1:-1;;;;;;;;;;;16501:10:0;70269:147;:::i;136675:34::-;136667:70;;;;-1:-1:-1;;;136667:70:0;;13126:2:1;136667:70:0;;;13108:21:1;13165:2;13145:18;;;13138:30;-1:-1:-1;;;13184:18:1;;;13177:53;13247:18;;136667:70:0;12924:347:1;136667:70:0;139299:9:::1;139294:175;139318:8;139314:1;:12;139294:175;;;139347:11;;139345:13;;;;;:::i;:::-;::::0;;;-1:-1:-1;139383:11:0::1;::::0;139373:22:::1;::::0;139379:2;;139373:5:::1;:22::i;:::-;139439:3;;139294:175;;39514:225:::0;-1:-1:-1;;;;;37603:6:0;37586:23;37594:4;37586:23;37578:80;;;;-1:-1:-1;;;37578:80:0;;;;;;;:::i;:::-;37701:6;-1:-1:-1;;;;;37677:30:0;:20;-1:-1:-1;;;;;;;;;;;29358:65:0;-1:-1:-1;;;;;29358:65:0;;29278:153;37677:20;-1:-1:-1;;;;;37677:30:0;;37669:87;;;;-1:-1:-1;;;37669:87:0;;;;;;;:::i;:::-;39632:36:::1;39650:17;39632;:36::i;:::-;39679:52;39701:17;39720:4;39726;39679:21;:52::i;137456:102::-:0;137510:4;106955:16;;;:7;:16;;;;;;-1:-1:-1;;;;;106955:16:0;107381:31;;137534:16;107292:128;120980:244;121055:7;121091:41;120878:10;:17;;120790:113;121091:41;121083:5;:49;121075:106;;;;-1:-1:-1;;;121075:106:0;;13618:2:1;121075:106:0;;;13600:21:1;13657:2;13637:18;;;13630:30;13696:34;13676:18;;;13669:62;-1:-1:-1;;;13747:18:1;;;13740:42;13799:19;;121075:106:0;13416:408:1;121075:106:0;121199:10;121210:5;121199:17;;;;;;;;:::i;:::-;;;;;;;;;121192:24;;120980:244;;;:::o;38733:133::-;38811:7;38039:4;-1:-1:-1;;;;;38048:6:0;38031:23;;38023:92;;;;-1:-1:-1;;;38023:92:0;;14163:2:1;38023:92:0;;;14145:21:1;14202:2;14182:18;;;14175:30;14241:34;14221:18;;;14214:62;14312:26;14292:18;;;14285:54;14356:19;;38023:92:0;13961:420:1;38023:92:0;-1:-1:-1;;;;;;;;;;;;38733:133:0;:::o;136765:110::-;18301:13;:11;:13::i;:::-;136841::::1;:26;136857:10:::0;136841:13;:26:::1;:::i;137166:168::-:0;18301:13;:11;:13::i;:::-;137277:49:::1;137294:7;137303:8;137313:12;137277:16;:49::i;102057:223::-:0;102129:7;106955:16;;;:7;:16;;;;;;-1:-1:-1;;;;;106955:16:0;;102193:56;;;;-1:-1:-1;;;102193:56:0;;16792:2:1;102193:56:0;;;16774:21:1;16831:2;16811:18;;;16804:30;-1:-1:-1;;;16850:18:1;;;16843:54;16914:18;;102193:56:0;16590:348:1;101788:207:0;101860:7;-1:-1:-1;;;;;101888:19:0;;101880:73;;;;-1:-1:-1;;;101880:73:0;;17145:2:1;101880:73:0;;;17127:21:1;17184:2;17164:18;;;17157:30;17223:34;17203:18;;;17196:62;-1:-1:-1;;;17274:18:1;;;17267:39;17323:19;;101880:73:0;16943:405:1;101880:73:0;-1:-1:-1;;;;;;101971:16:0;;;;;:9;:16;;;;;;;101788:207::o;19063:103::-;18301:13;:11;:13::i;:::-;19128:30:::1;19155:1;19128:18;:30::i;44586:69::-:0;18301:13;:11;:13::i;:::-;44639:8:::1;:6;:8::i;91116:153::-:0;91206:7;91233:18;;;:12;:18;;;;;:28;;91255:5;91233:21;:28::i;:::-;91226:35;91116:153;-1:-1:-1;;;91116:153:0:o;70269:147::-;70355:4;70379:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;70379:29:0;;;;;;;;;;;;;;;70269:147::o;136883:121::-;18301:13;:11;:13::i;:::-;136967:12:::1;:29;136982:14:::0;136967:12;:29:::1;:::i;102516:104::-:0;102572:13;102605:7;102598:14;;;;;:::i;138821:382::-;12067:19;12090:13;;;;;;12089:14;;12137:34;;;;-1:-1:-1;12155:12:0;;12170:1;12155:12;;;;:16;12137:34;12136:108;;;-1:-1:-1;12216:4:0;1696:19;:23;;;12177:66;;-1:-1:-1;12226:12:0;;;;;:17;12177:66;12114:204;;;;-1:-1:-1;;;12114:204:0;;17555:2:1;12114:204:0;;;17537:21:1;17594:2;17574:18;;;17567:30;17633:34;17613:18;;;17606:62;-1:-1:-1;;;17684:18:1;;;17677:44;17738:19;;12114:204:0;17353:410:1;12114:204:0;12329:12;:16;;-1:-1:-1;;12329:16:0;12344:1;12329:16;;;12356:67;;;;12391:13;:20;;-1:-1:-1;;12391:20:0;;;;;12356:67;139103:92:::1;139121:5;139128:4;139134:6;139142:12;139156:11;139169;139182:12;139103:17;:92::i;:::-;12449:14:::0;12445:102;;;12496:5;12480:21;;-1:-1:-1;;12480:21:0;;;12521:14;;-1:-1:-1;17920:36:1;;12521:14:0;;17908:2:1;17893:18;12521:14:0;;;;;;;12445:102;12056:498;138821:382;;;;;;;:::o;104113:155::-;104208:52;16501:10;104241:8;104251;104208:18;:52::i;105232:322::-;105406:41;16501:10;105439:7;105406:18;:41::i;:::-;105398:99;;;;-1:-1:-1;;;105398:99:0;;;;;;;:::i;:::-;105508:38;105522:4;105528:2;105532:7;105541:4;105508:13;:38::i;:::-;105232:322;;;;:::o;102691:281::-;102764:13;102790:23;102805:7;102790:14;:23::i;:::-;102826:21;102850:10;:8;:10::i;:::-;102826:34;;102902:1;102884:7;102878:21;:25;:86;;;;;;;;;;;;;;;;;102930:7;102939:18;:7;:16;:18::i;:::-;102913:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;102871:93;102691:281;-1:-1:-1;;;102691:281:0:o;91443:142::-;91523:7;91550:18;;;:12;:18;;;;;:27;;:25;:27::i;72699:149::-;71892:7;71919:12;;;:6;:12;;;;;:22;;;69854:16;69865:4;69854:10;:16::i;:::-;72814:26:::1;72826:4;72832:7;72814:11;:26::i;137566:105::-:0;137618:13;137651:12;137644:19;;;;;:::i;19321:201::-;18301:13;:11;:13::i;:::-;-1:-1:-1;;;;;19410:22:0;::::1;19402:73;;;::::0;-1:-1:-1;;;19402:73:0;;18670:2:1;19402:73:0::1;::::0;::::1;18652:21:1::0;18709:2;18689:18;;;18682:30;18748:34;18728:18;;;18721:62;-1:-1:-1;;;18799:18:1;;;18792:36;18845:19;;19402:73:0::1;18468:402:1::0;19402:73:0::1;19486:28;19505:8;19486:18;:28::i;134824:192::-:0;134948:4;134972:36;134996:11;134972:23;:36::i;18580:132::-;18488:6;;-1:-1:-1;;;;;18488:6:0;16501:10;18644:23;18636:68;;;;-1:-1:-1;;;18636:68:0;;19077:2:1;18636:68:0;;;19059:21:1;;;19096:18;;;19089:30;19155:34;19135:18;;;19128:62;19207:18;;18636:68:0;18875:356:1;131780:332:0;131496:5;-1:-1:-1;;;;;131883:33:0;;;;131875:88;;;;-1:-1:-1;;;131875:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;131982:22:0;;131974:60;;;;-1:-1:-1;;;131974:60:0;;19849:2:1;131974:60:0;;;19831:21:1;19888:2;19868:18;;;19861:30;19927:27;19907:18;;;19900:55;19972:18;;131974:60:0;19647:349:1;131974:60:0;132069:35;;;;;;;;;-1:-1:-1;;;;;132069:35:0;;;;;;-1:-1:-1;;;;;132069:35:0;;;;;;;;;;-1:-1:-1;;;132047:57:0;;;;:19;:57;131780:332::o;113755:135::-;107357:4;106955:16;;;:7;:16;;;;;;-1:-1:-1;;;;;106955:16:0;113829:53;;;;-1:-1:-1;;;113829:53:0;;16792:2:1;113829:53:0;;;16774:21:1;16831:2;16811:18;;;16804:30;-1:-1:-1;;;16850:18:1;;;16843:54;16914:18;;113829:53:0;16590:348:1;113023:185:0;113098:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;113098:29:0;-1:-1:-1;;;;;113098:29:0;;;;;;;;:24;;113152:34;113098:24;113152:25;:34::i;:::-;-1:-1:-1;;;;;113143:57:0;;;;;;;;;;;113023:185;;:::o;107587:275::-;107680:4;107697:13;107713:34;107739:7;107713:25;:34::i;:::-;107697:50;;107777:5;-1:-1:-1;;;;;107766:16:0;:7;-1:-1:-1;;;;;107766:16:0;;:52;;;-1:-1:-1;;;;;;104460:25:0;;;104436:4;104460:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;107786:32;107766:87;;;;107846:7;-1:-1:-1;;;;;107822:31:0;:20;107834:7;107822:11;:20::i;:::-;-1:-1:-1;;;;;107822:31:0;;107766:87;107758:96;107587:275;-1:-1:-1;;;;107587:275:0:o;111619:1285::-;111789:4;-1:-1:-1;;;;;111751:42:0;:34;111777:7;111751:25;:34::i;:::-;-1:-1:-1;;;;;111751:42:0;;111743:92;;;;-1:-1:-1;;;111743:92:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;111854:16:0;;111846:65;;;;-1:-1:-1;;;111846:65:0;;20609:2:1;111846:65:0;;;20591:21:1;20648:2;20628:18;;;20621:30;20687:34;20667:18;;;20660:62;-1:-1:-1;;;20738:18:1;;;20731:34;20782:19;;111846:65:0;20407:400:1;111846:65:0;111924:42;111945:4;111951:2;111955:7;111964:1;111924:20;:42::i;:::-;112107:4;-1:-1:-1;;;;;112069:42:0;:34;112095:7;112069:25;:34::i;:::-;-1:-1:-1;;;;;112069:42:0;;112061:92;;;;-1:-1:-1;;;112061:92:0;;;;;;;:::i;:::-;112225:24;;;;:15;:24;;;;;;;;112218:31;;-1:-1:-1;;;;;;112218:31:0;;;;;;-1:-1:-1;;;;;112701:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;112701:20:0;;;112736:13;;;;;;;;;:18;;112218:31;112736:18;;;112776:16;;;:7;:16;;;;;;:21;;;;;;;;;;112815:27;;112241:7;;112815:27;;;103447:357;103377:427;;:::o;70720:105::-;70787:30;70798:4;16501:10;70787;:30::i;91678:169::-;91766:31;91783:4;91789:7;91766:16;:31::i;:::-;91808:18;;;;:12;:18;;;;;:31;;91831:7;91808:22;:31::i;91941:174::-;92030:32;92048:4;92054:7;92030:17;:32::i;:::-;92073:18;;;;:12;:18;;;;;:34;;92099:7;92073:25;:34::i;44504:74::-;18301:13;:11;:13::i;30696:992::-;28649:66;31150:59;;;31146:535;;;31226:37;31245:17;31226:18;:37::i;31146:535::-;31329:17;-1:-1:-1;;;;;31300:61:0;;:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31300:63:0;;;;;;;;-1:-1:-1;;31300:63:0;;;;;;;;;;;;:::i;:::-;;;31296:306;;31530:56;;-1:-1:-1;;;31530:56:0;;21203:2:1;31530:56:0;;;21185:21:1;21242:2;21222:18;;;21215:30;21281:34;21261:18;;;21254:62;-1:-1:-1;;;21332:18:1;;;21325:44;21386:19;;31530:56:0;21001:410:1;31296:306:0;-1:-1:-1;;;;;;;;;;;31414:28:0;;31406:82;;;;-1:-1:-1;;;31406:82:0;;21618:2:1;31406:82:0;;;21600:21:1;21657:2;21637:18;;;21630:30;21696:34;21676:18;;;21669:62;-1:-1:-1;;;21747:18:1;;;21740:39;21796:19;;31406:82:0;21416:405:1;31406:82:0;31364:140;31616:53;31634:17;31653:4;31659:9;31616:17;:53::i;22956:120::-;21965:16;:14;:16::i;:::-;23015:7:::1;:15:::0;;-1:-1:-1;;23015:15:0::1;::::0;;23046:22:::1;16501:10:::0;23055:12:::1;23046:22;::::0;-1:-1:-1;;;;;2322:32:1;;;2304:51;;2292:2;2277:18;23046:22:0::1;;;;;;;22956:120::o:0;109196:942::-;-1:-1:-1;;;;;109276:16:0;;109268:61;;;;-1:-1:-1;;;109268:61:0;;22028:2:1;109268:61:0;;;22010:21:1;;;22047:18;;;22040:30;22106:34;22086:18;;;22079:62;22158:18;;109268:61:0;21826:356:1;109268:61:0;107357:4;106955:16;;;:7;:16;;;;;;-1:-1:-1;;;;;106955:16:0;107381:31;109340:58;;;;-1:-1:-1;;;109340:58:0;;22389:2:1;109340:58:0;;;22371:21:1;22428:2;22408:18;;;22401:30;22467;22447:18;;;22440:58;22515:18;;109340:58:0;22187:352:1;109340:58:0;109411:48;109440:1;109444:2;109448:7;109457:1;109411:20;:48::i;:::-;107357:4;106955:16;;;:7;:16;;;;;;-1:-1:-1;;;;;106955:16:0;107381:31;109549:58;;;;-1:-1:-1;;;109549:58:0;;22389:2:1;109549:58:0;;;22371:21:1;22428:2;22408:18;;;22401:30;22467;22447:18;;;22440:58;22515:18;;109549:58:0;22187:352:1;109549:58:0;-1:-1:-1;;;;;109956:13:0;;;;;;:9;:13;;;;;;;;:18;;109973:1;109956:18;;;109998:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;109998:21:0;;;;;110037:33;110006:7;;109956:13;;110037:33;;109956:13;;110037:33;137012:146;;:::o;137801:142::-;137915:20;137927:7;137915:11;:20::i;132563:390::-;131496:5;-1:-1:-1;;;;;132715:33:0;;;;132707:88;;;;-1:-1:-1;;;132707:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;132814:22:0;;132806:62;;;;-1:-1:-1;;;132806:62:0;;22746:2:1;132806:62:0;;;22728:21:1;22785:2;22765:18;;;22758:30;22824:29;22804:18;;;22797:57;22871:18;;132806:62:0;22544:351:1;132806:62:0;132910:35;;;;;;;;-1:-1:-1;;;;;132910:35:0;;;;;-1:-1:-1;;;;;132910:35:0;;;;;;;;;;-1:-1:-1;132881:26:0;;;:17;:26;;;;;;:64;;;;;;;-1:-1:-1;;;132881:64:0;;;;;;132563:390::o;19682:191::-;19775:6;;;-1:-1:-1;;;;;19792:17:0;;;-1:-1:-1;;;;;;19792:17:0;;;;;;;19825:40;;19775:6;;;19792:17;19775:6;;19825:40;;19756:16;;19825:40;19745:128;19682:191;:::o;22697:118::-;21706:19;:17;:19::i;:::-;22757:7:::1;:14:::0;;-1:-1:-1;;22757:14:0::1;22767:4;22757:14;::::0;;22787:20:::1;22794:12;16501:10:::0;;16421:98;85902:158;85976:7;86027:22;86031:3;86043:5;86027:3;:22::i;136029:597::-;14210:13;;;;;;;14202:69;;;;-1:-1:-1;;;14202:69:0;;;;;;;:::i;:::-;136318:27:::1;136332:4;136338:6;136318:13;:27::i;:::-;136356:34;136384:5;136356:27;:34::i;:::-;136403:37;69408:4;136434:5:::0;136403:10:::1;:37::i;:::-;136451:30;-1:-1:-1::0;;;;;;;;;;;136475:5:0::1;136451:10;:30::i;:::-;136494:45;136513:11;136526:12;136494:18;:45::i;:::-;136552:13;:28;136568:12:::0;136552:13;:28:::1;:::i;:::-;-1:-1:-1::0;136591:12:0::1;:27;136606:12:::0;136591;:27:::1;:::i;113351:315::-:0;113506:8;-1:-1:-1;;;;;113497:17:0;:5;-1:-1:-1;;;;;113497:17:0;;113489:55;;;;-1:-1:-1;;;113489:55:0;;23514:2:1;113489:55:0;;;23496:21:1;23553:2;23533:18;;;23526:30;23592:27;23572:18;;;23565:55;23637:18;;113489:55:0;23312:349:1;113489:55:0;-1:-1:-1;;;;;113555:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;113555:46:0;;;;;;;;;;113617:41;;540::1;;;113617::0;;513:18:1;113617:41:0;;;;;;;113351:315;;;:::o;106435:313::-;106591:28;106601:4;106607:2;106611:7;106591:9;:28::i;:::-;106638:47;106661:4;106667:2;106671:7;106680:4;106638:22;:47::i;:::-;106630:110;;;;-1:-1:-1;;;106630:110:0;;;;;;;:::i;137679:114::-;137739:13;137772;137765:20;;;;;:::i;62638:727::-;62694:13;62745:14;62762:28;62784:5;62762:21;:28::i;:::-;62793:1;62762:32;62745:49;;62809:20;62843:6;62832:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62832:18:0;-1:-1:-1;62809:41:0;-1:-1:-1;62974:28:0;;;62990:2;62974:28;63031:288;-1:-1:-1;;63063:5:0;-1:-1:-1;;;63200:2:0;63189:14;;63184:30;63063:5;63171:44;63261:2;63252:11;;;-1:-1:-1;63282:21:0;63031:288;63282:21;-1:-1:-1;63340:6:0;62638:727;-1:-1:-1;;;62638:727:0:o;85431:117::-;85494:7;85521:19;85529:3;80731:18;;80648:109;120106:257;120230:4;-1:-1:-1;;;;;;120254:61:0;;-1:-1:-1;;;120254:61:0;;:101;;;120319:36;120343:11;120319:23;:36::i;138351:294::-;138576:61;138603:4;138609:2;138613:12;138627:9;138576:26;:61::i;71115:514::-;71204:22;71212:4;71218:7;71204;:22::i;:::-;71199:423;;71392:39;71423:7;71392:30;:39::i;:::-;71504:49;71543:4;71550:2;71504:30;:49::i;:::-;71297:279;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;71297:279:0;;;;;;;;;;-1:-1:-1;;;71243:367:0;;;;;;;:::i;75000:238::-;75084:22;75092:4;75098:7;75084;:22::i;:::-;75079:152;;75123:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;75123:29:0;;;;;;;;;:36;;-1:-1:-1;;75123:36:0;75155:4;75123:36;;;75206:12;16501:10;;16421:98;75206:12;-1:-1:-1;;;;;75179:40:0;75197:7;-1:-1:-1;;;;;75179:40:0;75191:4;75179:40;;;;;;;;;;75000:238;;:::o;84606:152::-;84676:4;84700:50;84705:3;-1:-1:-1;;;;;84725:23:0;;84700:4;:50::i;75418:239::-;75502:22;75510:4;75516:7;75502;:22::i;:::-;75498:152;;;75573:5;75541:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;75541:29:0;;;;;;;;;;:37;;-1:-1:-1;;75541:37:0;;;75598:40;16501:10;;75541:12;;75598:40;;75573:5;75598:40;75418:239;;:::o;84934:158::-;85007:4;85031:53;85039:3;-1:-1:-1;;;;;85059:23:0;;85031:7;:53::i;29527:284::-;-1:-1:-1;;;;;1696:19:0;;;29601:106;;;;-1:-1:-1;;;29601:106:0;;25104:2:1;29601:106:0;;;25086:21:1;25143:2;25123:18;;;25116:30;25182:34;25162:18;;;25155:62;-1:-1:-1;;;25233:18:1;;;25226:43;25286:19;;29601:106:0;24902:409:1;29601:106:0;-1:-1:-1;;;;;;;;;;;29718:85:0;;-1:-1:-1;;;;;;29718:85:0;-1:-1:-1;;;;;29718:85:0;;;;;;;;;;29527:284::o;30220:297::-;30363:29;30374:17;30363:10;:29::i;:::-;30421:1;30407:4;:11;:15;:28;;;;30426:9;30407:28;30403:107;;;30452:46;30474:17;30493:4;30452:21;:46::i;22445:108::-;22172:7;;;;22504:41;;;;-1:-1:-1;;;22504:41:0;;25518:2:1;22504:41:0;;;25500:21:1;25557:2;25537:18;;;25530:30;-1:-1:-1;;;25576:18:1;;;25569:50;25636:18;;22504:41:0;25316:344:1;135148:135:0;135217:20;135229:7;135217:11;:20::i;:::-;133144:26;;;;:17;:26;;;;;133137:33;39055:200::o;22260:108::-;22172:7;;;;22330:9;22322:38;;;;-1:-1:-1;;;22322:38:0;;25867:2:1;22322:38:0;;;25849:21:1;25906:2;25886:18;;;25879:30;-1:-1:-1;;;25925:18:1;;;25918:46;25981:18;;22322:38:0;25665:340:1;81111:120:0;81178:7;81205:3;:11;;81217:5;81205:18;;;;;;;;:::i;:::-;;;;;;;;;81198:25;;81111:120;;;;:::o;100981:151::-;14210:13;;;;;;;14202:69;;;;-1:-1:-1;;;14202:69:0;;;;;;;:::i;:::-;101085:39:::1;101109:5;101116:7;101085:23;:39::i;44282:214::-:0;14210:13;;;;;;;14202:69;;;;-1:-1:-1;;;14202:69:0;;;;;;;:::i;:::-;44371:16:::1;:14;:16::i;:::-;44398:17;:15;:17::i;:::-;44426:24;:22;:24::i;74328:112::-:0;74407:25;74418:4;74424:7;74407:10;:25::i;114454:875::-;114608:4;-1:-1:-1;;;;;114629:13:0;;1696:19;:23;114625:697;;114665:82;;-1:-1:-1;;;114665:82:0;;-1:-1:-1;;;;;114665:47:0;;;;;:82;;16501:10;;114727:4;;114733:7;;114742:4;;114665:82;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;114665:82:0;;;;;;;;-1:-1:-1;;114665:82:0;;;;;;;;;;;;:::i;:::-;;;114661:606;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;114928:6;:13;114945:1;114928:18;114924:328;;114971:60;;-1:-1:-1;;;114971:60:0;;;;;;;:::i;114924:328::-;115202:6;115196:13;115187:6;115183:2;115179:15;115172:38;114661:606;-1:-1:-1;;;;;;114798:62:0;-1:-1:-1;;;114798:62:0;;-1:-1:-1;114791:69:0;;114625:697;-1:-1:-1;115306:4:0;114454:875;;;;;;:::o;59438:922::-;59491:7;;-1:-1:-1;;;59569:15:0;;59565:102;;-1:-1:-1;;;59605:15:0;;;-1:-1:-1;59649:2:0;59639:12;59565:102;59694:6;59685:5;:15;59681:102;;59730:6;59721:15;;;-1:-1:-1;59765:2:0;59755:12;59681:102;59810:6;59801:5;:15;59797:102;;59846:6;59837:15;;;-1:-1:-1;59881:2:0;59871:12;59797:102;59926:5;59917;:14;59913:99;;59961:5;59952:14;;;-1:-1:-1;59995:1:0;59985:11;59913:99;60039:5;60030;:14;60026:99;;60074:5;60065:14;;;-1:-1:-1;60108:1:0;60098:11;60026:99;60152:5;60143;:14;60139:99;;60187:5;60178:14;;;-1:-1:-1;60221:1:0;60211:11;60139:99;60265:5;60256;:14;60252:66;;60301:1;60291:11;60346:6;59438:922;-1:-1:-1;;59438:922:0:o;101375:349::-;101499:4;-1:-1:-1;;;;;;101536:51:0;;-1:-1:-1;;;101536:51:0;;:127;;-1:-1:-1;;;;;;;101604:59:0;;-1:-1:-1;;;101604:59:0;101536:127;:180;;;;101680:36;101704:11;101680:23;:36::i;121298:915::-;121475:61;121502:4;121508:2;121512:12;121526:9;121475:26;:61::i;:::-;121565:1;121553:9;:13;121549:222;;;121696:63;;-1:-1:-1;;;121696:63:0;;26960:2:1;121696:63:0;;;26942:21:1;26999:2;26979:18;;;26972:30;27038:34;27018:18;;;27011:62;-1:-1:-1;;;27089:18:1;;;27082:51;27150:19;;121696:63:0;26758:417:1;121549:222:0;121801:12;-1:-1:-1;;;;;121830:18:0;;121826:187;;121865:40;121897:7;123051:10;:17;;123024:24;;;;:15;:24;;;;;:44;;;123079:24;;;;;;;;;;;;122947:164;121865:40;121826:187;;;121935:2;-1:-1:-1;;;;;121927:10:0;:4;-1:-1:-1;;;;;121927:10:0;;121923:90;;121954:47;121987:4;121993:7;121954:32;:47::i;:::-;-1:-1:-1;;;;;122027:16:0;;122023:183;;122060:45;122097:7;122060:36;:45::i;:::-;122023:183;;;122133:4;-1:-1:-1;;;;;122127:10:0;:2;-1:-1:-1;;;;;122127:10:0;;122123:83;;122154:40;122182:2;122186:7;122154:27;:40::i;:::-;121464:749;121298:915;;;;:::o;64396:151::-;64454:13;64487:52;-1:-1:-1;;;;;64499:22:0;;62529:2;63792:447;63867:13;63893:19;63925:10;63929:6;63925:1;:10;:::i;:::-;:14;;63938:1;63925:14;:::i;:::-;63915:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63915:25:0;;63893:47;;-1:-1:-1;;;63951:6:0;63958:1;63951:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;63951:15:0;;;;;;;;;-1:-1:-1;;;63977:6:0;63984:1;63977:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;63977:15:0;;;;;;;;-1:-1:-1;64008:9:0;64020:10;64024:6;64020:1;:10;:::i;:::-;:14;;64033:1;64020:14;:::i;:::-;64008:26;;64003:131;64040:1;64036;:5;64003:131;;;-1:-1:-1;;;64084:5:0;64092:3;64084:11;64075:21;;;;;;;:::i;:::-;;;;64063:6;64070:1;64063:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;64063:33:0;;;;;;;;-1:-1:-1;64121:1:0;64111:11;;;;;64043:3;;;:::i;:::-;;;64003:131;;;-1:-1:-1;64152:10:0;;64144:55;;;;-1:-1:-1;;;64144:55:0;;27653:2:1;64144:55:0;;;27635:21:1;;;27672:18;;;27665:30;27731:34;27711:18;;;27704:62;27783:18;;64144:55:0;27451:356:1;78337:414:0;78400:4;80530:19;;;:12;;;:19;;;;;;78417:327;;-1:-1:-1;78460:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;78643:18;;78621:19;;;:12;;;:19;;;;;;:40;;;;78676:11;;78417:327;-1:-1:-1;78727:5:0;78720:12;;78927:1420;78993:4;79132:19;;;:12;;;:19;;;;;;79168:15;;79164:1176;;79543:21;79567:14;79580:1;79567:10;:14;:::i;:::-;79616:18;;79543:38;;-1:-1:-1;79596:17:0;;79616:22;;79637:1;;79616:22;:::i;:::-;79596:42;;79672:13;79659:9;:26;79655:405;;79706:17;79726:3;:11;;79738:9;79726:22;;;;;;;;:::i;:::-;;;;;;;;;79706:42;;79880:9;79851:3;:11;;79863:13;79851:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;79965:23;;;:12;;;:23;;;;;:36;;;79655:405;80141:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;80236:3;:12;;:19;80249:5;80236:19;;;;;;;;;;;80229:26;;;80279:4;80272:11;;;;;;;79164:1176;80323:5;80316:12;;;;;29924:155;29991:37;30010:17;29991:18;:37::i;:::-;30044:27;;-1:-1:-1;;;;;30044:27:0;;;;;;;;29924:155;:::o;34957:461::-;35040:12;-1:-1:-1;;;;;1696:19:0;;;35065:88;;;;-1:-1:-1;;;35065:88:0;;28279:2:1;35065:88:0;;;28261:21:1;28318:2;28298:18;;;28291:30;28357:34;28337:18;;;28330:62;-1:-1:-1;;;28408:18:1;;;28401:36;28454:19;;35065:88:0;28077:402:1;35065:88:0;35227:12;35241:23;35268:6;-1:-1:-1;;;;;35268:19:0;35288:4;35268:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35226:67;;;;35311:99;35347:7;35356:10;35311:99;;;;;;;;;;;;;;;;;:35;:99::i;:::-;35304:106;34957:461;-1:-1:-1;;;;;34957:461:0:o;110477:805::-;110537:13;110553:34;110579:7;110553:25;:34::i;:::-;110537:50;;110600:51;110621:5;110636:1;110640:7;110649:1;110600:20;:51::i;:::-;110764:34;110790:7;110764:25;:34::i;:::-;110846:24;;;;:15;:24;;;;;;;;110839:31;;-1:-1:-1;;;;;;110839:31:0;;;;;;-1:-1:-1;;;;;111091:16:0;;;;;:9;:16;;;;;:21;;-1:-1:-1;;111091:21:0;;;111141:16;;;:7;:16;;;;;;111134:23;;;;;;;111175:36;110756:42;;-1:-1:-1;110862:7:0;;111175:36;;110846:24;;111175:36;137012:146;;:::o;101140:163::-;14210:13;;;;;;;14202:69;;;;-1:-1:-1;;;14202:69:0;;;;;;;:::i;:::-;101254:5:::1;:13;101262:5:::0;101254;:13:::1;:::i;:::-;-1:-1:-1::0;101278:7:0::1;:17;101288:7:::0;101278;:17:::1;:::i;17958:97::-:0;14210:13;;;;;;;14202:69;;;;-1:-1:-1;;;14202:69:0;;;;;;;:::i;:::-;18021:26:::1;:24;:26::i;21271:99::-:0;14210:13;;;;;;;14202:69;;;;-1:-1:-1;;;14202:69:0;;;;;;;:::i;:::-;21335:27:::1;:25;:27::i;42489:113::-:0;14210:13;;;;;;;14202:69;;;;-1:-1:-1;;;14202:69:0;;;;;;;:::i;:::-;42560:34:::1;:32;:34::i;130374:248::-:0;130498:4;-1:-1:-1;;;;;;130522:52:0;;-1:-1:-1;;;130522:52:0;;:92;;;130578:36;130602:11;130578:23;:36::i;116061:410::-;116251:1;116239:9;:13;116235:229;;;-1:-1:-1;;;;;116273:18:0;;;116269:87;;-1:-1:-1;;;;;116312:15:0;;;;;;:9;:15;;;;;:28;;116331:9;;116312:15;:28;;116331:9;;116312:28;:::i;:::-;;;;-1:-1:-1;;116269:87:0;-1:-1:-1;;;;;116374:16:0;;;116370:83;;-1:-1:-1;;;;;116411:13:0;;;;;;:9;:13;;;;;:26;;116428:9;;116411:13;:26;;116428:9;;116411:26;:::i;:::-;;;;-1:-1:-1;;116061:410:0;;;;:::o;123738:999::-;124004:22;124065:1;124029:33;124057:4;124029:27;:33::i;:::-;:37;;;;:::i;:::-;124077:18;124098:26;;;:17;:26;;;;;;124004:62;;-1:-1:-1;124231:28:0;;;124227:328;;-1:-1:-1;;;;;124298:18:0;;124276:19;124298:18;;;:12;:18;;;;;;;;:34;;;;;;;;;124349:30;;;;;;:44;;;124466:30;;:17;:30;;;;;:43;;;124227:328;-1:-1:-1;124651:26:0;;;;:17;:26;;;;;;;;124644:33;;;-1:-1:-1;;;;;124695:18:0;;;;;:12;:18;;;;;:34;;;;;;;124688:41;123738:999::o;125032:1079::-;125310:10;:17;125285:22;;125310:21;;125330:1;;125310:21;:::i;:::-;125342:18;125363:24;;;:15;:24;;;;;;125736:10;:26;;125285:46;;-1:-1:-1;125363:24:0;;125285:46;;125736:26;;;;;;:::i;:::-;;;;;;;;;125714:48;;125800:11;125775:10;125786;125775:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;125880:28;;;:15;:28;;;;;;;:41;;;126052:24;;;;;126045:31;126087:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;125103:1008;;;125032:1079;:::o;122514:232::-;122599:14;122616:31;122644:2;122616:27;:31::i;:::-;-1:-1:-1;;;;;122658:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;122703:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;122514:232:0:o;7811:305::-;7961:12;7990:7;7986:123;;;-1:-1:-1;8021:10:0;8014:17;;7986:123;8064:33;8072:10;8084:12;8064:7;:33::i;18063:113::-;14210:13;;;;;;;14202:69;;;;-1:-1:-1;;;14202:69:0;;;;;;;:::i;:::-;18136:32:::1;16501:10:::0;18136:18:::1;:32::i;21378:97::-:0;14210:13;;;;;;;14202:69;;;;-1:-1:-1;;;14202:69:0;;;;;;;:::i;:::-;21452:7:::1;:15:::0;;-1:-1:-1;;21452:15:0::1;::::0;;21378:97::o;42610:111::-;14210:13;;;;;;;14202:69;;;;-1:-1:-1;;;14202:69:0;;;;;;;:::i;:::-;42403:1:::1;42691:7;:22:::0;42610:111::o;90292:225::-;90377:4;-1:-1:-1;;;;;;90401:68:0;;-1:-1:-1;;;90401:68:0;;:108;;;90473:36;90497:11;90473:23;:36::i;8124:552::-;8285:17;;:21;8281:388;;8517:10;8511:17;8574:15;8561:10;8557:2;8553:19;8546:44;8281:388;8644:12;8637:20;;-1:-1:-1;;;8637:20:0;;;;;;;;:::i;69962:215::-;70047:4;-1:-1:-1;;;;;;70071:58:0;;-1:-1:-1;;;70071:58:0;;:98;;-1:-1:-1;;;;;;;;;;66749:51:0;;;70133:36;66640:168;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:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:179::-;837:20;;-1:-1:-1;;;;;886:38:1;;876:49;;866:77;;939:1;936;929:12;954:258;1021:6;1029;1082:2;1070:9;1061:7;1057:23;1053:32;1050:52;;;1098:1;1095;1088:12;1050:52;1121:29;1140:9;1121:29;:::i;:::-;1111:39;;1169:37;1202:2;1191:9;1187:18;1169:37;:::i;:::-;1159:47;;954:258;;;;;:::o;1217:250::-;1302:1;1312:113;1326:6;1323:1;1320:13;1312:113;;;1402:11;;;1396:18;1383:11;;;1376:39;1348:2;1341:10;1312:113;;;-1:-1:-1;;1459:1:1;1441:16;;1434:27;1217:250::o;1472:271::-;1514:3;1552:5;1546:12;1579:6;1574:3;1567:19;1595:76;1664:6;1657:4;1652:3;1648:14;1641:4;1634:5;1630:16;1595:76;:::i;:::-;1725:2;1704:15;-1:-1:-1;;1700:29:1;1691:39;;;;1732:4;1687:50;;1472:271;-1:-1:-1;;1472:271:1:o;1748:220::-;1897:2;1886:9;1879:21;1860:4;1917:45;1958:2;1947:9;1943:18;1935:6;1917:45;:::i;1973:180::-;2032:6;2085:2;2073:9;2064:7;2060:23;2056:32;2053:52;;;2101:1;2098;2091:12;2053:52;-1:-1:-1;2124:23:1;;1973:180;-1:-1:-1;1973:180:1:o;2366:254::-;2434:6;2442;2495:2;2483:9;2474:7;2470:23;2466:32;2463:52;;;2511:1;2508;2501:12;2463:52;2534:29;2553:9;2534:29;:::i;:::-;2524:39;2610:2;2595:18;;;;2582:32;;-1:-1:-1;;;2366:254:1:o;2807:328::-;2884:6;2892;2900;2953:2;2941:9;2932:7;2928:23;2924:32;2921:52;;;2969:1;2966;2959:12;2921:52;2992:29;3011:9;2992:29;:::i;:::-;2982:39;;3040:38;3074:2;3063:9;3059:18;3040:38;:::i;:::-;3030:48;;3125:2;3114:9;3110:18;3097:32;3087:42;;2807:328;;;;;:::o;3507:248::-;3575:6;3583;3636:2;3624:9;3615:7;3611:23;3607:32;3604:52;;;3652:1;3649;3642:12;3604:52;-1:-1:-1;;3675:23:1;;;3745:2;3730:18;;;3717:32;;-1:-1:-1;3507:248:1:o;4039:254::-;4107:6;4115;4168:2;4156:9;4147:7;4143:23;4139:32;4136:52;;;4184:1;4181;4174:12;4136:52;4220:9;4207:23;4197:33;;4249:38;4283:2;4272:9;4268:18;4249:38;:::i;4298:186::-;4357:6;4410:2;4398:9;4389:7;4385:23;4381:32;4378:52;;;4426:1;4423;4416:12;4378:52;4449:29;4468:9;4449:29;:::i;4489:127::-;4550:10;4545:3;4541:20;4538:1;4531:31;4581:4;4578:1;4571:15;4605:4;4602:1;4595:15;4621:718;4663:5;4716:3;4709:4;4701:6;4697:17;4693:27;4683:55;;4734:1;4731;4724:12;4683:55;4770:6;4757:20;4796:18;4833:2;4829;4826:10;4823:36;;;4839:18;;:::i;:::-;4914:2;4908:9;4882:2;4968:13;;-1:-1:-1;;4964:22:1;;;4988:2;4960:31;4956:40;4944:53;;;5012:18;;;5032:22;;;5009:46;5006:72;;;5058:18;;:::i;:::-;5098:10;5094:2;5087:22;5133:2;5125:6;5118:18;5179:3;5172:4;5167:2;5159:6;5155:15;5151:26;5148:35;5145:55;;;5196:1;5193;5186:12;5145:55;5260:2;5253:4;5245:6;5241:17;5234:4;5226:6;5222:17;5209:54;5307:1;5300:4;5295:2;5287:6;5283:15;5279:26;5272:37;5327:6;5318:15;;;;;;4621:718;;;;:::o;5344:394::-;5421:6;5429;5482:2;5470:9;5461:7;5457:23;5453:32;5450:52;;;5498:1;5495;5488:12;5450:52;5521:29;5540:9;5521:29;:::i;:::-;5511:39;;5601:2;5590:9;5586:18;5573:32;5628:18;5620:6;5617:30;5614:50;;;5660:1;5657;5650:12;5614:50;5683:49;5724:7;5715:6;5704:9;5700:22;5683:49;:::i;:::-;5673:59;;;5344:394;;;;;:::o;5743:321::-;5812:6;5865:2;5853:9;5844:7;5840:23;5836:32;5833:52;;;5881:1;5878;5871:12;5833:52;5921:9;5908:23;5954:18;5946:6;5943:30;5940:50;;;5986:1;5983;5976:12;5940:50;6009:49;6050:7;6041:6;6030:9;6026:22;6009:49;:::i;6069:326::-;6145:6;6153;6161;6214:2;6202:9;6193:7;6189:23;6185:32;6182:52;;;6230:1;6227;6220:12;6182:52;6266:9;6253:23;6243:33;;6295:38;6329:2;6318:9;6314:18;6295:38;:::i;:::-;6285:48;;6352:37;6385:2;6374:9;6370:18;6352:37;:::i;:::-;6342:47;;6069:326;;;;;:::o;6653:1163::-;6805:6;6813;6821;6829;6837;6845;6853;6906:3;6894:9;6885:7;6881:23;6877:33;6874:53;;;6923:1;6920;6913:12;6874:53;6946:29;6965:9;6946:29;:::i;:::-;6936:39;;7026:2;7015:9;7011:18;6998:32;7049:18;7090:2;7082:6;7079:14;7076:34;;;7106:1;7103;7096:12;7076:34;7129:49;7170:7;7161:6;7150:9;7146:22;7129:49;:::i;:::-;7119:59;;7231:2;7220:9;7216:18;7203:32;7187:48;;7260:2;7250:8;7247:16;7244:36;;;7276:1;7273;7266:12;7244:36;7299:51;7342:7;7331:8;7320:9;7316:24;7299:51;:::i;:::-;7289:61;;7403:2;7392:9;7388:18;7375:32;7359:48;;7432:2;7422:8;7419:16;7416:36;;;7448:1;7445;7438:12;7416:36;7471:51;7514:7;7503:8;7492:9;7488:24;7471:51;:::i;:::-;7461:61;;7575:3;7564:9;7560:19;7547:33;7531:49;;7605:2;7595:8;7592:16;7589:36;;;7621:1;7618;7611:12;7589:36;;7644:51;7687:7;7676:8;7665:9;7661:24;7644:51;:::i;:::-;7634:61;;;7714:39;7748:3;7737:9;7733:19;7714:39;:::i;:::-;7704:49;;7772:38;7805:3;7794:9;7790:19;7772:38;:::i;:::-;7762:48;;6653:1163;;;;;;;;;;:::o;7821:347::-;7886:6;7894;7947:2;7935:9;7926:7;7922:23;7918:32;7915:52;;;7963:1;7960;7953:12;7915:52;7986:29;8005:9;7986:29;:::i;:::-;7976:39;;8065:2;8054:9;8050:18;8037:32;8112:5;8105:13;8098:21;8091:5;8088:32;8078:60;;8134:1;8131;8124:12;8078:60;8157:5;8147:15;;;7821:347;;;;;:::o;8173:537::-;8268:6;8276;8284;8292;8345:3;8333:9;8324:7;8320:23;8316:33;8313:53;;;8362:1;8359;8352:12;8313:53;8385:29;8404:9;8385:29;:::i;:::-;8375:39;;8433:38;8467:2;8456:9;8452:18;8433:38;:::i;:::-;8423:48;;8518:2;8507:9;8503:18;8490:32;8480:42;;8573:2;8562:9;8558:18;8545:32;8600:18;8592:6;8589:30;8586:50;;;8632:1;8629;8622:12;8586:50;8655:49;8696:7;8687:6;8676:9;8672:22;8655:49;:::i;:::-;8645:59;;;8173:537;;;;;;;:::o;8715:260::-;8783:6;8791;8844:2;8832:9;8823:7;8819:23;8815:32;8812:52;;;8860:1;8857;8850:12;8812:52;8883:29;8902:9;8883:29;:::i;:::-;8873:39;;8931:38;8965:2;8954:9;8950:18;8931:38;:::i;8980:380::-;9059:1;9055:12;;;;9102;;;9123:61;;9177:4;9169:6;9165:17;9155:27;;9123:61;9230:2;9222:6;9219:14;9199:18;9196:38;9193:161;;9276:10;9271:3;9267:20;9264:1;9257:31;9311:4;9308:1;9301:15;9339:4;9336:1;9329:15;9193:161;;8980:380;;;:::o;10197:409::-;10399:2;10381:21;;;10438:2;10418:18;;;10411:30;10477:34;10472:2;10457:18;;10450:62;-1:-1:-1;;;10543:2:1;10528:18;;10521:43;10596:3;10581:19;;10197:409::o;10611:127::-;10672:10;10667:3;10663:20;10660:1;10653:31;10703:4;10700:1;10693:15;10727:4;10724:1;10717:15;10743:168;10816:9;;;10847;;10864:15;;;10858:22;;10844:37;10834:71;;10885:18;;:::i;11048:217::-;11088:1;11114;11104:132;;11158:10;11153:3;11149:20;11146:1;11139:31;11193:4;11190:1;11183:15;11221:4;11218:1;11211:15;11104:132;-1:-1:-1;11250:9:1;;11048:217::o;12098:408::-;12300:2;12282:21;;;12339:2;12319:18;;;12312:30;12378:34;12373:2;12358:18;;12351:62;-1:-1:-1;;;12444:2:1;12429:18;;12422:42;12496:3;12481:19;;12098:408::o;12511:::-;12713:2;12695:21;;;12752:2;12732:18;;;12725:30;12791:34;12786:2;12771:18;;12764:62;-1:-1:-1;;;12857:2:1;12842:18;;12835:42;12909:3;12894:19;;12511:408::o;13276:135::-;13315:3;13336:17;;;13333:43;;13356:18;;:::i;:::-;-1:-1:-1;13403:1:1;13392:13;;13276:135::o;13829:127::-;13890:10;13885:3;13881:20;13878:1;13871:31;13921:4;13918:1;13911:15;13945:4;13942:1;13935:15;14512:545;14614:2;14609:3;14606:11;14603:448;;;14650:1;14675:5;14671:2;14664:17;14720:4;14716:2;14706:19;14790:2;14778:10;14774:19;14771:1;14767:27;14761:4;14757:38;14826:4;14814:10;14811:20;14808:47;;;-1:-1:-1;14849:4:1;14808:47;14904:2;14899:3;14895:12;14892:1;14888:20;14882:4;14878:31;14868:41;;14959:82;14977:2;14970:5;14967:13;14959:82;;;15022:17;;;15003:1;14992:13;14959:82;;;14963:3;;;14512:545;;;:::o;15233:1352::-;15359:3;15353:10;15386:18;15378:6;15375:30;15372:56;;;15408:18;;:::i;:::-;15437:97;15527:6;15487:38;15519:4;15513:11;15487:38;:::i;:::-;15481:4;15437:97;:::i;:::-;15589:4;;15653:2;15642:14;;15670:1;15665:663;;;;16372:1;16389:6;16386:89;;;-1:-1:-1;16441:19:1;;;16435:26;16386:89;-1:-1:-1;;15190:1:1;15186:11;;;15182:24;15178:29;15168:40;15214:1;15210:11;;;15165:57;16488:81;;15635:944;;15665:663;14459:1;14452:14;;;14496:4;14483:18;;-1:-1:-1;;15701:20:1;;;15819:236;15833:7;15830:1;15827:14;15819:236;;;15922:19;;;15916:26;15901:42;;16014:27;;;;15982:1;15970:14;;;;15849:19;;15819:236;;;15823:3;16083:6;16074:7;16071:19;16068:201;;;16144:19;;;16138:26;-1:-1:-1;;16227:1:1;16223:14;;;16239:3;16219:24;16215:37;16211:42;16196:58;16181:74;;16068:201;-1:-1:-1;;;;;16315:1:1;16299:14;;;16295:22;16282:36;;-1:-1:-1;15233:1352:1:o;17967:496::-;18146:3;18184:6;18178:13;18200:66;18259:6;18254:3;18247:4;18239:6;18235:17;18200:66;:::i;:::-;18329:13;;18288:16;;;;18351:70;18329:13;18288:16;18398:4;18386:17;;18351:70;:::i;:::-;18437:20;;17967:496;-1:-1:-1;;;;17967:496:1:o;19236:406::-;19438:2;19420:21;;;19477:2;19457:18;;;19450:30;19516:34;19511:2;19496:18;;19489:62;-1:-1:-1;;;19582:2:1;19567:18;;19560:40;19632:3;19617:19;;19236:406::o;20001:401::-;20203:2;20185:21;;;20242:2;20222:18;;;20215:30;20281:34;20276:2;20261:18;;20254:62;-1:-1:-1;;;20347:2:1;20332:18;;20325:35;20392:3;20377:19;;20001:401::o;20812:184::-;20882:6;20935:2;20923:9;20914:7;20910:23;20906:32;20903:52;;;20951:1;20948;20941:12;20903:52;-1:-1:-1;20974:16:1;;20812:184;-1:-1:-1;20812:184:1:o;22900:407::-;23102:2;23084:21;;;23141:2;23121:18;;;23114:30;23180:34;23175:2;23160:18;;23153:62;-1:-1:-1;;;23246:2:1;23231:18;;23224:41;23297:3;23282:19;;22900:407::o;23666:414::-;23868:2;23850:21;;;23907:2;23887:18;;;23880:30;23946:34;23941:2;23926:18;;23919:62;-1:-1:-1;;;24012:2:1;23997:18;;23990:48;24070:3;24055:19;;23666:414::o;24085:812::-;24496:25;24491:3;24484:38;24466:3;24551:6;24545:13;24567:75;24635:6;24630:2;24625:3;24621:12;24614:4;24606:6;24602:17;24567:75;:::i;:::-;-1:-1:-1;;;24701:2:1;24661:16;;;24693:11;;;24686:40;24751:13;;24773:76;24751:13;24835:2;24827:11;;24820:4;24808:17;;24773:76;:::i;:::-;24869:17;24888:2;24865:26;;24085:812;-1:-1:-1;;;;24085:812:1:o;26010:489::-;-1:-1:-1;;;;;26279:15:1;;;26261:34;;26331:15;;26326:2;26311:18;;26304:43;26378:2;26363:18;;26356:34;;;26426:3;26421:2;26406:18;;26399:31;;;26204:4;;26447:46;;26473:19;;26465:6;26447:46;:::i;:::-;26439:54;26010:489;-1:-1:-1;;;;;;26010:489:1:o;26504:249::-;26573:6;26626:2;26614:9;26605:7;26601:23;26597:32;26594:52;;;26642:1;26639;26632:12;26594:52;26674:9;26668:16;26693:30;26717:5;26693:30;:::i;27180:125::-;27245:9;;;27266:10;;;27263:36;;;27279:18;;:::i;27310:136::-;27349:3;27377:5;27367:39;;27386:18;;:::i;:::-;-1:-1:-1;;;27422:18:1;;27310:136::o;27812:128::-;27879:9;;;27900:11;;;27897:37;;;27914:18;;:::i;27945:127::-;28006:10;28001:3;27997:20;27994:1;27987:31;28037:4;28034:1;28027:15;28061:4;28058:1;28051:15;28484:287;28613:3;28651:6;28645:13;28667:66;28726:6;28721:3;28714:4;28706:6;28702:17;28667:66;:::i;:::-;28749:16;;;;;28484:287;-1:-1:-1;;28484:287:1:o

Swarm Source

ipfs://84a2e5d7e56c7544e167200e3e6d55b02faa2d9381c2777a7fe900bb5d818e27

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.