ETH Price: $3,645.30 (+1.83%)

Token

Voxelglyph (#)
 

Overview

Max Total Supply

236 #

Holders

66

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
Null: 0x000...000
Balance
0 #
0x0000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Voxelglyph is the result of a direct partnership between Larva Labs and Fingerprints, and represents membership to Fingerprints DAO, granting access to all member perks and exposure to its renowned collection.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Membership

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 38 : Membership.sol
/**
 *  /##    /##                              /##           /##                     /##
 * | ##   | ##                             | ##          | ##                    | ##
 * | ##   | ## /######  /##   /##  /###### | ##  /###### | ## /##   /##  /###### | #######
 * |  ## / ##//##__  ##|  ## /##/ /##__  ##| ## /##__  ##| ##| ##  | ## /##__  ##| ##__  ##
 *  \  ## ##/| ##  \ ## \  ####/ | ########| ##| ##  \ ##| ##| ##  | ##| ##  \ ##| ##  \ ##
 *   \  ###/ | ##  | ##  >##  ## | ##_____/| ##| ##  | ##| ##| ##  | ##| ##  | ##| ##  | ##
 *    \  #/  |  ######/ /##/\  ##|  #######| ##|  #######| ##|  #######| #######/| ##  | ##
 *     \_/    \______/ |__/  \__/ \_______/|__/ \____  ##|__/ \____  ##| ##____/ |__/  |__/
 *                                              /##  \ ##     /##  | ##| ##
 *                                             |  ######/    |  ######/| ##
 *                                              \______/      \______/ |__/
 *
 *                                             by Larva Labs (Matt Hall and John Watkinson)
 *                                                 in partnership with the Fingerprints DAO
 *
 * To get the complete Voxelglyph script, simply call function getScript and decode from base64.
 * To get the co-ordinates for the Voxelglyph structure, save the returned Java script and run with a Java runtime environment.
 *
 * This ERC721 smart contract is used as the governance contract for Fingerprints DAO.
 * It was developed by arod.studio in partnership with Fingerprints DAO.
 */

/**
 * @title Voxelglyphs NFT contract - The Fingerprints' Membership NFTs by Larva Labs
 * @author arod.studio and Fingerprints DAO
 * This contract is used to manage ERC721 Membership tokens from Fingerprints DAO.
 * Larva Labs created the Voxelglyph art used as the image in this NFT.
 *
 * SPDX-License-Identifier: MIT
 */

pragma solidity ^0.8.9;

import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Royalty.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import '@openzeppelin/contracts/access/AccessControl.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol';
import '@openzeppelin/contracts/utils/cryptography/EIP712.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Votes.sol';
import '@openzeppelin/contracts/utils/Counters.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import 'operator-filter-registry/src/DefaultOperatorFilterer.sol';

contract Membership is
  ERC721,
  ERC721Enumerable,
  ERC721Royalty,
  Pausable,
  AccessControl,
  ERC721Burnable,
  EIP712,
  ERC721Votes,
  DefaultOperatorFilterer
{
  error MaxSupplyExceeded();
  event BaseURIChanged(string newBaseURI);
  event DefaultRoyaltySet(address payoutAddress, uint96 royaltyFee);

  using Counters for Counters.Counter;
  Counters.Counter private _tokenIdCounter;

  /// @notice The base URI for all token IDs.
  /// @dev The base URI is stored in a public state variable.
  string public baseURIValue;

  /// @notice The Voxelglyph java script in base64.
  string private voxelglyphScriptJava;

  /// @notice The role identifier for users who are allowed to mint tokens.
  /// @dev The role identifier is created by hashing the string 'MINTER_ROLE'.
  bytes32 public constant MINTER_ROLE = keccak256('MINTER_ROLE');

  /// @notice The maximum supply of tokens that can be minted.
  /// @dev The maximum supply is set to 2000 and cannot be changed after deployment.
  uint16 public constant MAX_SUPPLY = 2000;

  constructor(
    string memory _baseURIValue,
    address _adminAddress,
    address _payoutAddress,
    uint96 _royaltyFee,
    string memory _voxelglyphJavaScript
  ) ERC721('Voxelglyph', '#') EIP712('Voxelglyph', '1') {
    _grantRole(DEFAULT_ADMIN_ROLE, _adminAddress);
    _grantRole(MINTER_ROLE, _adminAddress);
    _setDefaultRoyalty(_payoutAddress, _royaltyFee);
    baseURIValue = _baseURIValue;
    voxelglyphScriptJava = _voxelglyphJavaScript;
  }

  /// @notice Pauses all token transfers.
  /// @dev Only users with the 'DEFAULT_ADMIN_ROLE' are allowed to call this function.
  function pause() public onlyRole(DEFAULT_ADMIN_ROLE) {
    _pause();
  }

  /// @notice Unpauses all token transfers.
  /// @dev Only users with the 'DEFAULT_ADMIN_ROLE' are allowed to call this function.
  function unpause() public onlyRole(DEFAULT_ADMIN_ROLE) {
    _unpause();
  }

  /// @notice Mints new tokens and assigns them to the specified address.
  /// @dev Only users with the 'MINTER_ROLE' are allowed to call this function.
  /// @param _to The address of the future owner of the token.
  /// @param _amount The amount of tokens to mint.
  function safeMint(
    address _to,
    uint16 _amount
  ) external onlyRole(MINTER_ROLE) {
    uint256 tokenId = _tokenIdCounter.current();
    if (tokenId + _amount > MAX_SUPPLY) {
      revert MaxSupplyExceeded();
    }

    for (uint16 i = 0; i < _amount; i++) {
      _tokenIdCounter.increment();
      uint256 mintedTokenId = _tokenIdCounter.current();
      _safeMint(_to, mintedTokenId);
    }
  }

  /// @notice Sets the default royalty for the contract.
  /// @dev Only users with the 'DEFAULT_ADMIN_ROLE' are allowed to call this function.
  /// @param _payoutAddress The address of the royalty receiver.
  /// @param _royaltyFee The royalty amount.
  function setDefaultRoyalty(
    address _payoutAddress,
    uint96 _royaltyFee
  ) public onlyRole(DEFAULT_ADMIN_ROLE) {
    _setDefaultRoyalty(_payoutAddress, _royaltyFee);
    emit DefaultRoyaltySet(_payoutAddress, _royaltyFee);
  }

  /// @notice Returns the base URI for all token IDs.
  function _baseURI() internal view override returns (string memory) {
    return baseURIValue;
  }

  /// @notice Sets the base URI for the contract.
  /// @dev Only users with the 'DEFAULT_ADMIN_ROLE' are allowed to call this function.
  /// @param _newBaseURI The new base URI.
  function setBaseURI(
    string memory _newBaseURI
  ) external onlyRole(DEFAULT_ADMIN_ROLE) {
    baseURIValue = _newBaseURI;
    emit BaseURIChanged(_newBaseURI);
  }

  /// @notice Returns the URI for a given token ID.
  /// @dev The token ID must exist, otherwise this function will revert.
  /// @param _tokenId The ID of the token to retrieve the URI for.
  function tokenURI(
    uint256 _tokenId
  ) public view override returns (string memory) {
    _requireMinted(_tokenId);

    string memory baseURI = _baseURI();

    return
      bytes(baseURI).length > 0
        ? string(abi.encodePacked(baseURI, Strings.toString(_tokenId)))
        : '';
  }

  /// @notice Returns the Voxelglyph Java code
  /// @dev _tokenId is used to render better the script on etherscan.
  /// @param _tokenId Any value.
  function getScript(uint256 _tokenId) public view returns (string memory) {
    return voxelglyphScriptJava;
  }

  // The following functions are overrides required by Solidity.
  function _beforeTokenTransfer(
    address _from,
    address _to,
    uint256 _tokenId,
    uint256 _batchSize
  ) internal override(ERC721, ERC721Enumerable) whenNotPaused {
    super._beforeTokenTransfer(_from, _to, _tokenId, _batchSize);
  }

  function _afterTokenTransfer(
    address _from,
    address _to,
    uint256 _tokenId,
    uint256 _batchSize
  ) internal override(ERC721, ERC721Votes) {
    super._afterTokenTransfer(_from, _to, _tokenId, _batchSize);
  }

  function _burn(uint256 _tokenId) internal override(ERC721, ERC721Royalty) {
    super._burn(_tokenId);
  }

  function supportsInterface(
    bytes4 interfaceId
  )
    public
    view
    override(ERC721, AccessControl, ERC721Royalty, ERC721Enumerable)
    returns (bool)
  {
    return super.supportsInterface(interfaceId);
  }

  /// @notice Allows or disallows an operator to manage all of the caller's tokens.
  /// @dev Overrides the equivalent function in the ERC721 standard to include a check for allowed operators.
  /// @param _operator The operator to change the approval status for.
  /// @param _approved The new approval status for the operator.
  function setApprovalForAll(
    address _operator,
    bool _approved
  ) public override(ERC721, IERC721) onlyAllowedOperatorApproval(_operator) {
    super.setApprovalForAll(_operator, _approved);
  }

  /// @notice Approves an operator to manage a specific token.
  /// @dev Overrides the equivalent function in the ERC721 standard to include a check for allowed operators.
  /// @param _operator The operator to approve.
  /// @param _tokenId The ID of the token to approve the operator for.
  function approve(
    address _operator,
    uint256 _tokenId
  ) public override(ERC721, IERC721) onlyAllowedOperatorApproval(_operator) {
    super.approve(_operator, _tokenId);
  }

  function transferFrom(
    address _from,
    address _to,
    uint256 _tokenId
  ) public override(ERC721, IERC721) onlyAllowedOperator(_from) {
    super.transferFrom(_from, _to, _tokenId);
  }

  function safeTransferFrom(
    address _from,
    address _to,
    uint256 _tokenId
  ) public override(ERC721, IERC721) onlyAllowedOperator(_from) {
    super.safeTransferFrom(_from, _to, _tokenId);
  }

  function safeTransferFrom(
    address _from,
    address _to,
    uint256 _tokenId,
    bytes memory _data
  ) public override(ERC721, IERC721) onlyAllowedOperator(_from) {
    super.safeTransferFrom(_from, _to, _tokenId, _data);
  }
}

File 2 of 38 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @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:
 *
 * ```solidity
 * 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}:
 *
 * ```solidity
 * 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. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

File 3 of 38 : IAccessControl.sol
// SPDX-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 IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

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

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

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

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

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

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

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

File 4 of 38 : IVotes.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (governance/utils/IVotes.sol)
pragma solidity ^0.8.0;

/**
 * @dev Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts.
 *
 * _Available since v4.5._
 */
interface IVotes {
    /**
     * @dev Emitted when an account changes their delegate.
     */
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /**
     * @dev Emitted when a token transfer or delegate change results in changes to a delegate's number of votes.
     */
    event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance);

    /**
     * @dev Returns the current amount of votes that `account` has.
     */
    function getVotes(address account) external view returns (uint256);

    /**
     * @dev Returns the amount of votes that `account` had at a specific moment in the past. If the `clock()` is
     * configured to use block numbers, this will return the value at the end of the corresponding block.
     */
    function getPastVotes(address account, uint256 timepoint) external view returns (uint256);

    /**
     * @dev Returns the total supply of votes available at a specific moment in the past. If the `clock()` is
     * configured to use block numbers, this will return the value at the end of the corresponding block.
     *
     * NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes.
     * Votes that have not been delegated are still part of total supply, even though they would not participate in a
     * vote.
     */
    function getPastTotalSupply(uint256 timepoint) external view returns (uint256);

    /**
     * @dev Returns the delegate that `account` has chosen.
     */
    function delegates(address account) external view returns (address);

    /**
     * @dev Delegates votes from the sender to `delegatee`.
     */
    function delegate(address delegatee) external;

    /**
     * @dev Delegates votes from signer to `delegatee`.
     */
    function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) external;
}

File 5 of 38 : Votes.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (governance/utils/Votes.sol)
pragma solidity ^0.8.0;

import "../../interfaces/IERC5805.sol";
import "../../utils/Context.sol";
import "../../utils/Counters.sol";
import "../../utils/Checkpoints.sol";
import "../../utils/cryptography/EIP712.sol";

/**
 * @dev This is a base abstract contract that tracks voting units, which are a measure of voting power that can be
 * transferred, and provides a system of vote delegation, where an account can delegate its voting units to a sort of
 * "representative" that will pool delegated voting units from different accounts and can then use it to vote in
 * decisions. In fact, voting units _must_ be delegated in order to count as actual votes, and an account has to
 * delegate those votes to itself if it wishes to participate in decisions and does not have a trusted representative.
 *
 * This contract is often combined with a token contract such that voting units correspond to token units. For an
 * example, see {ERC721Votes}.
 *
 * The full history of delegate votes is tracked on-chain so that governance protocols can consider votes as distributed
 * at a particular block number to protect against flash loans and double voting. The opt-in delegate system makes the
 * cost of this history tracking optional.
 *
 * When using this module the derived contract must implement {_getVotingUnits} (for example, make it return
 * {ERC721-balanceOf}), and can use {_transferVotingUnits} to track a change in the distribution of those units (in the
 * previous example, it would be included in {ERC721-_beforeTokenTransfer}).
 *
 * _Available since v4.5._
 */
abstract contract Votes is Context, EIP712, IERC5805 {
    using Checkpoints for Checkpoints.Trace224;
    using Counters for Counters.Counter;

    bytes32 private constant _DELEGATION_TYPEHASH =
        keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    mapping(address => address) private _delegation;

    /// @custom:oz-retyped-from mapping(address => Checkpoints.History)
    mapping(address => Checkpoints.Trace224) private _delegateCheckpoints;

    /// @custom:oz-retyped-from Checkpoints.History
    Checkpoints.Trace224 private _totalCheckpoints;

    mapping(address => Counters.Counter) private _nonces;

    /**
     * @dev Clock used for flagging checkpoints. Can be overridden to implement timestamp based
     * checkpoints (and voting), in which case {CLOCK_MODE} should be overridden as well to match.
     */
    function clock() public view virtual override returns (uint48) {
        return SafeCast.toUint48(block.number);
    }

    /**
     * @dev Machine-readable description of the clock as specified in EIP-6372.
     */
    // solhint-disable-next-line func-name-mixedcase
    function CLOCK_MODE() public view virtual override returns (string memory) {
        // Check that the clock was not modified
        require(clock() == block.number, "Votes: broken clock mode");
        return "mode=blocknumber&from=default";
    }

    /**
     * @dev Returns the current amount of votes that `account` has.
     */
    function getVotes(address account) public view virtual override returns (uint256) {
        return _delegateCheckpoints[account].latest();
    }

    /**
     * @dev Returns the amount of votes that `account` had at a specific moment in the past. If the `clock()` is
     * configured to use block numbers, this will return the value at the end of the corresponding block.
     *
     * Requirements:
     *
     * - `timepoint` must be in the past. If operating using block numbers, the block must be already mined.
     */
    function getPastVotes(address account, uint256 timepoint) public view virtual override returns (uint256) {
        require(timepoint < clock(), "Votes: future lookup");
        return _delegateCheckpoints[account].upperLookupRecent(SafeCast.toUint32(timepoint));
    }

    /**
     * @dev Returns the total supply of votes available at a specific moment in the past. If the `clock()` is
     * configured to use block numbers, this will return the value at the end of the corresponding block.
     *
     * NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes.
     * Votes that have not been delegated are still part of total supply, even though they would not participate in a
     * vote.
     *
     * Requirements:
     *
     * - `timepoint` must be in the past. If operating using block numbers, the block must be already mined.
     */
    function getPastTotalSupply(uint256 timepoint) public view virtual override returns (uint256) {
        require(timepoint < clock(), "Votes: future lookup");
        return _totalCheckpoints.upperLookupRecent(SafeCast.toUint32(timepoint));
    }

    /**
     * @dev Returns the current total supply of votes.
     */
    function _getTotalSupply() internal view virtual returns (uint256) {
        return _totalCheckpoints.latest();
    }

    /**
     * @dev Returns the delegate that `account` has chosen.
     */
    function delegates(address account) public view virtual override returns (address) {
        return _delegation[account];
    }

    /**
     * @dev Delegates votes from the sender to `delegatee`.
     */
    function delegate(address delegatee) public virtual override {
        address account = _msgSender();
        _delegate(account, delegatee);
    }

    /**
     * @dev Delegates votes from signer to `delegatee`.
     */
    function delegateBySig(
        address delegatee,
        uint256 nonce,
        uint256 expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual override {
        require(block.timestamp <= expiry, "Votes: signature expired");
        address signer = ECDSA.recover(
            _hashTypedDataV4(keccak256(abi.encode(_DELEGATION_TYPEHASH, delegatee, nonce, expiry))),
            v,
            r,
            s
        );
        require(nonce == _useNonce(signer), "Votes: invalid nonce");
        _delegate(signer, delegatee);
    }

    /**
     * @dev Delegate all of `account`'s voting units to `delegatee`.
     *
     * Emits events {IVotes-DelegateChanged} and {IVotes-DelegateVotesChanged}.
     */
    function _delegate(address account, address delegatee) internal virtual {
        address oldDelegate = delegates(account);
        _delegation[account] = delegatee;

        emit DelegateChanged(account, oldDelegate, delegatee);
        _moveDelegateVotes(oldDelegate, delegatee, _getVotingUnits(account));
    }

    /**
     * @dev Transfers, mints, or burns voting units. To register a mint, `from` should be zero. To register a burn, `to`
     * should be zero. Total supply of voting units will be adjusted with mints and burns.
     */
    function _transferVotingUnits(address from, address to, uint256 amount) internal virtual {
        if (from == address(0)) {
            _push(_totalCheckpoints, _add, SafeCast.toUint224(amount));
        }
        if (to == address(0)) {
            _push(_totalCheckpoints, _subtract, SafeCast.toUint224(amount));
        }
        _moveDelegateVotes(delegates(from), delegates(to), amount);
    }

    /**
     * @dev Moves delegated votes from one delegate to another.
     */
    function _moveDelegateVotes(address from, address to, uint256 amount) private {
        if (from != to && amount > 0) {
            if (from != address(0)) {
                (uint256 oldValue, uint256 newValue) = _push(
                    _delegateCheckpoints[from],
                    _subtract,
                    SafeCast.toUint224(amount)
                );
                emit DelegateVotesChanged(from, oldValue, newValue);
            }
            if (to != address(0)) {
                (uint256 oldValue, uint256 newValue) = _push(
                    _delegateCheckpoints[to],
                    _add,
                    SafeCast.toUint224(amount)
                );
                emit DelegateVotesChanged(to, oldValue, newValue);
            }
        }
    }

    function _push(
        Checkpoints.Trace224 storage store,
        function(uint224, uint224) view returns (uint224) op,
        uint224 delta
    ) private returns (uint224, uint224) {
        return store.push(SafeCast.toUint32(clock()), op(store.latest(), delta));
    }

    function _add(uint224 a, uint224 b) private pure returns (uint224) {
        return a + b;
    }

    function _subtract(uint224 a, uint224 b) private pure returns (uint224) {
        return a - b;
    }

    /**
     * @dev Consumes a nonce.
     *
     * Returns the current value and increments nonce.
     */
    function _useNonce(address owner) internal virtual returns (uint256 current) {
        Counters.Counter storage nonce = _nonces[owner];
        current = nonce.current();
        nonce.increment();
    }

    /**
     * @dev Returns an address nonce.
     */
    function nonces(address owner) public view virtual returns (uint256) {
        return _nonces[owner].current();
    }

    /**
     * @dev Returns the contract's {EIP712} domain separator.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32) {
        return _domainSeparatorV4();
    }

    /**
     * @dev Must return the voting units held by an account.
     */
    function _getVotingUnits(address) internal view virtual returns (uint256);
}

File 6 of 38 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

/**
 * @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 IERC2981 is IERC165 {
    /**
     * @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 7 of 38 : IERC5267.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5267.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 38 : IERC5805.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5805.sol)

pragma solidity ^0.8.0;

import "../governance/utils/IVotes.sol";
import "./IERC6372.sol";

interface IERC5805 is IERC6372, IVotes {}

File 9 of 38 : IERC6372.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC6372.sol)

pragma solidity ^0.8.0;

interface IERC6372 {
    /**
     * @dev Clock used for flagging checkpoints. Can be overridden to implement timestamp based checkpoints (and voting).
     */
    function clock() external view returns (uint48);

    /**
     * @dev Description of the clock
     */
    // solhint-disable-next-line func-name-mixedcase
    function CLOCK_MODE() external view returns (string memory);
}

File 10 of 38 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    bool private _paused;

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

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

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

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

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

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

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

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

File 11 of 38 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @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 ERC2981 is IERC2981, ERC165 {
    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(IERC165, ERC165) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }

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

File 12 of 38 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

        _owners[tokenId] = to;

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

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

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

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

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

        // Clear approvals
        delete _tokenApprovals[tokenId];

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId, 1);

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

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

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

        emit Transfer(from, to, tokenId);

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

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

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

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

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

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

    /**
     * @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 Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }
}

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

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../../utils/Context.sol";

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @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);
    }
}

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

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @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 ERC721Enumerable is ERC721, IERC721Enumerable {
    // 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(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.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 < ERC721Enumerable.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 = ERC721.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 = ERC721.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();
    }
}

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

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../common/ERC2981.sol";
import "../../../utils/introspection/ERC165.sol";

/**
 * @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 ERC721Royalty is ERC2981, ERC721 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) 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);
    }
}

File 16 of 38 : ERC721Votes.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/extensions/ERC721Votes.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../../governance/utils/Votes.sol";

/**
 * @dev Extension of ERC721 to support voting and delegation as implemented by {Votes}, where each individual NFT counts
 * as 1 vote unit.
 *
 * Tokens do not count as votes until they are delegated, because votes must be tracked which incurs an additional cost
 * on every transfer. Token holders can either delegate to a trusted representative who will decide how to make use of
 * the votes in governance decisions, or they can delegate to themselves to be their own representative.
 *
 * _Available since v4.5._
 */
abstract contract ERC721Votes is ERC721, Votes {
    /**
     * @dev See {ERC721-_afterTokenTransfer}. Adjusts votes when tokens are transferred.
     *
     * Emits a {IVotes-DelegateVotesChanged} event.
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        _transferVotingUnits(from, to, batchSize);
        super._afterTokenTransfer(from, to, firstTokenId, batchSize);
    }

    /**
     * @dev Returns the balance of `account`.
     *
     * WARNING: Overriding this function will likely result in incorrect vote tracking.
     */
    function _getVotingUnits(address account) internal view virtual override returns (uint256) {
        return balanceOf(account);
    }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @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 18 of 38 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 19 of 38 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 20 of 38 : IERC721Receiver.sol
// SPDX-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 IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 21 of 38 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

File 22 of 38 : Checkpoints.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Checkpoints.sol)
// This file was procedurally generated from scripts/generate/templates/Checkpoints.js.

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SafeCast.sol";

/**
 * @dev This library defines the `History` struct, for checkpointing values as they change at different points in
 * time, and later looking up past values by block number. See {Votes} as an example.
 *
 * To create a history of checkpoints define a variable type `Checkpoints.History` in your contract, and store a new
 * checkpoint for the current transaction block using the {push} function.
 *
 * _Available since v4.5._
 */
library Checkpoints {
    struct History {
        Checkpoint[] _checkpoints;
    }

    struct Checkpoint {
        uint32 _blockNumber;
        uint224 _value;
    }

    /**
     * @dev Returns the value at a given block number. If a checkpoint is not available at that block, the closest one
     * before it is returned, or zero otherwise. Because the number returned corresponds to that at the end of the
     * block, the requested block number must be in the past, excluding the current block.
     */
    function getAtBlock(History storage self, uint256 blockNumber) internal view returns (uint256) {
        require(blockNumber < block.number, "Checkpoints: block not yet mined");
        uint32 key = SafeCast.toUint32(blockNumber);

        uint256 len = self._checkpoints.length;
        uint256 pos = _upperBinaryLookup(self._checkpoints, key, 0, len);
        return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;
    }

    /**
     * @dev Returns the value at a given block number. If a checkpoint is not available at that block, the closest one
     * before it is returned, or zero otherwise. Similar to {upperLookup} but optimized for the case when the searched
     * checkpoint is probably "recent", defined as being among the last sqrt(N) checkpoints where N is the number of
     * checkpoints.
     */
    function getAtProbablyRecentBlock(History storage self, uint256 blockNumber) internal view returns (uint256) {
        require(blockNumber < block.number, "Checkpoints: block not yet mined");
        uint32 key = SafeCast.toUint32(blockNumber);

        uint256 len = self._checkpoints.length;

        uint256 low = 0;
        uint256 high = len;

        if (len > 5) {
            uint256 mid = len - Math.sqrt(len);
            if (key < _unsafeAccess(self._checkpoints, mid)._blockNumber) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        uint256 pos = _upperBinaryLookup(self._checkpoints, key, low, high);

        return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;
    }

    /**
     * @dev Pushes a value onto a History so that it is stored as the checkpoint for the current block.
     *
     * Returns previous value and new value.
     */
    function push(History storage self, uint256 value) internal returns (uint256, uint256) {
        return _insert(self._checkpoints, SafeCast.toUint32(block.number), SafeCast.toUint224(value));
    }

    /**
     * @dev Pushes a value onto a History, by updating the latest value using binary operation `op`. The new value will
     * be set to `op(latest, delta)`.
     *
     * Returns previous value and new value.
     */
    function push(
        History storage self,
        function(uint256, uint256) view returns (uint256) op,
        uint256 delta
    ) internal returns (uint256, uint256) {
        return push(self, op(latest(self), delta));
    }

    /**
     * @dev Returns the value in the most recent checkpoint, or zero if there are no checkpoints.
     */
    function latest(History storage self) internal view returns (uint224) {
        uint256 pos = self._checkpoints.length;
        return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;
    }

    /**
     * @dev Returns whether there is a checkpoint in the structure (i.e. it is not empty), and if so the key and value
     * in the most recent checkpoint.
     */
    function latestCheckpoint(
        History storage self
    ) internal view returns (bool exists, uint32 _blockNumber, uint224 _value) {
        uint256 pos = self._checkpoints.length;
        if (pos == 0) {
            return (false, 0, 0);
        } else {
            Checkpoint memory ckpt = _unsafeAccess(self._checkpoints, pos - 1);
            return (true, ckpt._blockNumber, ckpt._value);
        }
    }

    /**
     * @dev Returns the number of checkpoint.
     */
    function length(History storage self) internal view returns (uint256) {
        return self._checkpoints.length;
    }

    /**
     * @dev Pushes a (`key`, `value`) pair into an ordered list of checkpoints, either by inserting a new checkpoint,
     * or by updating the last one.
     */
    function _insert(Checkpoint[] storage self, uint32 key, uint224 value) private returns (uint224, uint224) {
        uint256 pos = self.length;

        if (pos > 0) {
            // Copying to memory is important here.
            Checkpoint memory last = _unsafeAccess(self, pos - 1);

            // Checkpoint keys must be non-decreasing.
            require(last._blockNumber <= key, "Checkpoint: decreasing keys");

            // Update or push new checkpoint
            if (last._blockNumber == key) {
                _unsafeAccess(self, pos - 1)._value = value;
            } else {
                self.push(Checkpoint({_blockNumber: key, _value: value}));
            }
            return (last._value, value);
        } else {
            self.push(Checkpoint({_blockNumber: key, _value: value}));
            return (0, value);
        }
    }

    /**
     * @dev Return the index of the last (most recent) checkpoint with key lower or equal than the search key, or `high` if there is none.
     * `low` and `high` define a section where to do the search, with inclusive `low` and exclusive `high`.
     *
     * WARNING: `high` should not be greater than the array's length.
     */
    function _upperBinaryLookup(
        Checkpoint[] storage self,
        uint32 key,
        uint256 low,
        uint256 high
    ) private view returns (uint256) {
        while (low < high) {
            uint256 mid = Math.average(low, high);
            if (_unsafeAccess(self, mid)._blockNumber > key) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }
        return high;
    }

    /**
     * @dev Return the index of the first (oldest) checkpoint with key is greater or equal than the search key, or `high` if there is none.
     * `low` and `high` define a section where to do the search, with inclusive `low` and exclusive `high`.
     *
     * WARNING: `high` should not be greater than the array's length.
     */
    function _lowerBinaryLookup(
        Checkpoint[] storage self,
        uint32 key,
        uint256 low,
        uint256 high
    ) private view returns (uint256) {
        while (low < high) {
            uint256 mid = Math.average(low, high);
            if (_unsafeAccess(self, mid)._blockNumber < key) {
                low = mid + 1;
            } else {
                high = mid;
            }
        }
        return high;
    }

    /**
     * @dev Access an element of the array without performing bounds check. The position is assumed to be within bounds.
     */
    function _unsafeAccess(Checkpoint[] storage self, uint256 pos) private pure returns (Checkpoint storage result) {
        assembly {
            mstore(0, self.slot)
            result.slot := add(keccak256(0, 0x20), pos)
        }
    }

    struct Trace224 {
        Checkpoint224[] _checkpoints;
    }

    struct Checkpoint224 {
        uint32 _key;
        uint224 _value;
    }

    /**
     * @dev Pushes a (`key`, `value`) pair into a Trace224 so that it is stored as the checkpoint.
     *
     * Returns previous value and new value.
     */
    function push(Trace224 storage self, uint32 key, uint224 value) internal returns (uint224, uint224) {
        return _insert(self._checkpoints, key, value);
    }

    /**
     * @dev Returns the value in the first (oldest) checkpoint with key greater or equal than the search key, or zero if there is none.
     */
    function lowerLookup(Trace224 storage self, uint32 key) internal view returns (uint224) {
        uint256 len = self._checkpoints.length;
        uint256 pos = _lowerBinaryLookup(self._checkpoints, key, 0, len);
        return pos == len ? 0 : _unsafeAccess(self._checkpoints, pos)._value;
    }

    /**
     * @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero if there is none.
     */
    function upperLookup(Trace224 storage self, uint32 key) internal view returns (uint224) {
        uint256 len = self._checkpoints.length;
        uint256 pos = _upperBinaryLookup(self._checkpoints, key, 0, len);
        return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;
    }

    /**
     * @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero if there is none.
     *
     * NOTE: This is a variant of {upperLookup} that is optimised to find "recent" checkpoint (checkpoints with high keys).
     */
    function upperLookupRecent(Trace224 storage self, uint32 key) internal view returns (uint224) {
        uint256 len = self._checkpoints.length;

        uint256 low = 0;
        uint256 high = len;

        if (len > 5) {
            uint256 mid = len - Math.sqrt(len);
            if (key < _unsafeAccess(self._checkpoints, mid)._key) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        uint256 pos = _upperBinaryLookup(self._checkpoints, key, low, high);

        return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;
    }

    /**
     * @dev Returns the value in the most recent checkpoint, or zero if there are no checkpoints.
     */
    function latest(Trace224 storage self) internal view returns (uint224) {
        uint256 pos = self._checkpoints.length;
        return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;
    }

    /**
     * @dev Returns whether there is a checkpoint in the structure (i.e. it is not empty), and if so the key and value
     * in the most recent checkpoint.
     */
    function latestCheckpoint(Trace224 storage self) internal view returns (bool exists, uint32 _key, uint224 _value) {
        uint256 pos = self._checkpoints.length;
        if (pos == 0) {
            return (false, 0, 0);
        } else {
            Checkpoint224 memory ckpt = _unsafeAccess(self._checkpoints, pos - 1);
            return (true, ckpt._key, ckpt._value);
        }
    }

    /**
     * @dev Returns the number of checkpoint.
     */
    function length(Trace224 storage self) internal view returns (uint256) {
        return self._checkpoints.length;
    }

    /**
     * @dev Pushes a (`key`, `value`) pair into an ordered list of checkpoints, either by inserting a new checkpoint,
     * or by updating the last one.
     */
    function _insert(Checkpoint224[] storage self, uint32 key, uint224 value) private returns (uint224, uint224) {
        uint256 pos = self.length;

        if (pos > 0) {
            // Copying to memory is important here.
            Checkpoint224 memory last = _unsafeAccess(self, pos - 1);

            // Checkpoint keys must be non-decreasing.
            require(last._key <= key, "Checkpoint: decreasing keys");

            // Update or push new checkpoint
            if (last._key == key) {
                _unsafeAccess(self, pos - 1)._value = value;
            } else {
                self.push(Checkpoint224({_key: key, _value: value}));
            }
            return (last._value, value);
        } else {
            self.push(Checkpoint224({_key: key, _value: value}));
            return (0, value);
        }
    }

    /**
     * @dev Return the index of the last (most recent) checkpoint with key lower or equal than the search key, or `high` if there is none.
     * `low` and `high` define a section where to do the search, with inclusive `low` and exclusive `high`.
     *
     * WARNING: `high` should not be greater than the array's length.
     */
    function _upperBinaryLookup(
        Checkpoint224[] storage self,
        uint32 key,
        uint256 low,
        uint256 high
    ) private view returns (uint256) {
        while (low < high) {
            uint256 mid = Math.average(low, high);
            if (_unsafeAccess(self, mid)._key > key) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }
        return high;
    }

    /**
     * @dev Return the index of the first (oldest) checkpoint with key is greater or equal than the search key, or `high` if there is none.
     * `low` and `high` define a section where to do the search, with inclusive `low` and exclusive `high`.
     *
     * WARNING: `high` should not be greater than the array's length.
     */
    function _lowerBinaryLookup(
        Checkpoint224[] storage self,
        uint32 key,
        uint256 low,
        uint256 high
    ) private view returns (uint256) {
        while (low < high) {
            uint256 mid = Math.average(low, high);
            if (_unsafeAccess(self, mid)._key < key) {
                low = mid + 1;
            } else {
                high = mid;
            }
        }
        return high;
    }

    /**
     * @dev Access an element of the array without performing bounds check. The position is assumed to be within bounds.
     */
    function _unsafeAccess(
        Checkpoint224[] storage self,
        uint256 pos
    ) private pure returns (Checkpoint224 storage result) {
        assembly {
            mstore(0, self.slot)
            result.slot := add(keccak256(0, 0x20), pos)
        }
    }

    struct Trace160 {
        Checkpoint160[] _checkpoints;
    }

    struct Checkpoint160 {
        uint96 _key;
        uint160 _value;
    }

    /**
     * @dev Pushes a (`key`, `value`) pair into a Trace160 so that it is stored as the checkpoint.
     *
     * Returns previous value and new value.
     */
    function push(Trace160 storage self, uint96 key, uint160 value) internal returns (uint160, uint160) {
        return _insert(self._checkpoints, key, value);
    }

    /**
     * @dev Returns the value in the first (oldest) checkpoint with key greater or equal than the search key, or zero if there is none.
     */
    function lowerLookup(Trace160 storage self, uint96 key) internal view returns (uint160) {
        uint256 len = self._checkpoints.length;
        uint256 pos = _lowerBinaryLookup(self._checkpoints, key, 0, len);
        return pos == len ? 0 : _unsafeAccess(self._checkpoints, pos)._value;
    }

    /**
     * @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero if there is none.
     */
    function upperLookup(Trace160 storage self, uint96 key) internal view returns (uint160) {
        uint256 len = self._checkpoints.length;
        uint256 pos = _upperBinaryLookup(self._checkpoints, key, 0, len);
        return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;
    }

    /**
     * @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero if there is none.
     *
     * NOTE: This is a variant of {upperLookup} that is optimised to find "recent" checkpoint (checkpoints with high keys).
     */
    function upperLookupRecent(Trace160 storage self, uint96 key) internal view returns (uint160) {
        uint256 len = self._checkpoints.length;

        uint256 low = 0;
        uint256 high = len;

        if (len > 5) {
            uint256 mid = len - Math.sqrt(len);
            if (key < _unsafeAccess(self._checkpoints, mid)._key) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        uint256 pos = _upperBinaryLookup(self._checkpoints, key, low, high);

        return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;
    }

    /**
     * @dev Returns the value in the most recent checkpoint, or zero if there are no checkpoints.
     */
    function latest(Trace160 storage self) internal view returns (uint160) {
        uint256 pos = self._checkpoints.length;
        return pos == 0 ? 0 : _unsafeAccess(self._checkpoints, pos - 1)._value;
    }

    /**
     * @dev Returns whether there is a checkpoint in the structure (i.e. it is not empty), and if so the key and value
     * in the most recent checkpoint.
     */
    function latestCheckpoint(Trace160 storage self) internal view returns (bool exists, uint96 _key, uint160 _value) {
        uint256 pos = self._checkpoints.length;
        if (pos == 0) {
            return (false, 0, 0);
        } else {
            Checkpoint160 memory ckpt = _unsafeAccess(self._checkpoints, pos - 1);
            return (true, ckpt._key, ckpt._value);
        }
    }

    /**
     * @dev Returns the number of checkpoint.
     */
    function length(Trace160 storage self) internal view returns (uint256) {
        return self._checkpoints.length;
    }

    /**
     * @dev Pushes a (`key`, `value`) pair into an ordered list of checkpoints, either by inserting a new checkpoint,
     * or by updating the last one.
     */
    function _insert(Checkpoint160[] storage self, uint96 key, uint160 value) private returns (uint160, uint160) {
        uint256 pos = self.length;

        if (pos > 0) {
            // Copying to memory is important here.
            Checkpoint160 memory last = _unsafeAccess(self, pos - 1);

            // Checkpoint keys must be non-decreasing.
            require(last._key <= key, "Checkpoint: decreasing keys");

            // Update or push new checkpoint
            if (last._key == key) {
                _unsafeAccess(self, pos - 1)._value = value;
            } else {
                self.push(Checkpoint160({_key: key, _value: value}));
            }
            return (last._value, value);
        } else {
            self.push(Checkpoint160({_key: key, _value: value}));
            return (0, value);
        }
    }

    /**
     * @dev Return the index of the last (most recent) checkpoint with key lower or equal than the search key, or `high` if there is none.
     * `low` and `high` define a section where to do the search, with inclusive `low` and exclusive `high`.
     *
     * WARNING: `high` should not be greater than the array's length.
     */
    function _upperBinaryLookup(
        Checkpoint160[] storage self,
        uint96 key,
        uint256 low,
        uint256 high
    ) private view returns (uint256) {
        while (low < high) {
            uint256 mid = Math.average(low, high);
            if (_unsafeAccess(self, mid)._key > key) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }
        return high;
    }

    /**
     * @dev Return the index of the first (oldest) checkpoint with key is greater or equal than the search key, or `high` if there is none.
     * `low` and `high` define a section where to do the search, with inclusive `low` and exclusive `high`.
     *
     * WARNING: `high` should not be greater than the array's length.
     */
    function _lowerBinaryLookup(
        Checkpoint160[] storage self,
        uint96 key,
        uint256 low,
        uint256 high
    ) private view returns (uint256) {
        while (low < high) {
            uint256 mid = Math.average(low, high);
            if (_unsafeAccess(self, mid)._key < key) {
                low = mid + 1;
            } else {
                high = mid;
            }
        }
        return high;
    }

    /**
     * @dev Access an element of the array without performing bounds check. The position is assumed to be within bounds.
     */
    function _unsafeAccess(
        Checkpoint160[] storage self,
        uint256 pos
    ) private pure returns (Checkpoint160 storage result) {
        assembly {
            mstore(0, self.slot)
            result.slot := add(keccak256(0, 0x20), pos)
        }
    }
}

File 23 of 38 : Context.sol
// SPDX-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 Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

File 24 of 38 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 25 of 38 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 data) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, "\x19\x01")
            mstore(add(ptr, 0x02), domainSeparator)
            mstore(add(ptr, 0x22), structHash)
            data := keccak256(ptr, 0x42)
        }
    }

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

File 26 of 38 : EIP712.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/EIP712.sol)

pragma solidity ^0.8.8;

import "./ECDSA.sol";
import "../ShortStrings.sol";
import "../../interfaces/IERC5267.sol";

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

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

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

    bytes32 private immutable _hashedName;
    bytes32 private immutable _hashedVersion;

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

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

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

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

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

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

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

File 27 of 38 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 28 of 38 : IERC165.sol
// SPDX-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 IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 29 of 38 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 30 of 38 : SafeCast.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SafeCast.sol)
// This file was procedurally generated from scripts/generate/templates/SafeCast.js.

pragma solidity ^0.8.0;

/**
 * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
 * checks.
 *
 * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
 * easily result in undesired exploitation or bugs, since developers usually
 * assume that overflows raise errors. `SafeCast` restores this intuition by
 * reverting the transaction when such an operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 *
 * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing
 * all math on `uint256` and `int256` and then downcasting.
 */
library SafeCast {
    /**
     * @dev Returns the downcasted uint248 from uint256, reverting on
     * overflow (when the input is greater than largest uint248).
     *
     * Counterpart to Solidity's `uint248` operator.
     *
     * Requirements:
     *
     * - input must fit into 248 bits
     *
     * _Available since v4.7._
     */
    function toUint248(uint256 value) internal pure returns (uint248) {
        require(value <= type(uint248).max, "SafeCast: value doesn't fit in 248 bits");
        return uint248(value);
    }

    /**
     * @dev Returns the downcasted uint240 from uint256, reverting on
     * overflow (when the input is greater than largest uint240).
     *
     * Counterpart to Solidity's `uint240` operator.
     *
     * Requirements:
     *
     * - input must fit into 240 bits
     *
     * _Available since v4.7._
     */
    function toUint240(uint256 value) internal pure returns (uint240) {
        require(value <= type(uint240).max, "SafeCast: value doesn't fit in 240 bits");
        return uint240(value);
    }

    /**
     * @dev Returns the downcasted uint232 from uint256, reverting on
     * overflow (when the input is greater than largest uint232).
     *
     * Counterpart to Solidity's `uint232` operator.
     *
     * Requirements:
     *
     * - input must fit into 232 bits
     *
     * _Available since v4.7._
     */
    function toUint232(uint256 value) internal pure returns (uint232) {
        require(value <= type(uint232).max, "SafeCast: value doesn't fit in 232 bits");
        return uint232(value);
    }

    /**
     * @dev Returns the downcasted uint224 from uint256, reverting on
     * overflow (when the input is greater than largest uint224).
     *
     * Counterpart to Solidity's `uint224` operator.
     *
     * Requirements:
     *
     * - input must fit into 224 bits
     *
     * _Available since v4.2._
     */
    function toUint224(uint256 value) internal pure returns (uint224) {
        require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits");
        return uint224(value);
    }

    /**
     * @dev Returns the downcasted uint216 from uint256, reverting on
     * overflow (when the input is greater than largest uint216).
     *
     * Counterpart to Solidity's `uint216` operator.
     *
     * Requirements:
     *
     * - input must fit into 216 bits
     *
     * _Available since v4.7._
     */
    function toUint216(uint256 value) internal pure returns (uint216) {
        require(value <= type(uint216).max, "SafeCast: value doesn't fit in 216 bits");
        return uint216(value);
    }

    /**
     * @dev Returns the downcasted uint208 from uint256, reverting on
     * overflow (when the input is greater than largest uint208).
     *
     * Counterpart to Solidity's `uint208` operator.
     *
     * Requirements:
     *
     * - input must fit into 208 bits
     *
     * _Available since v4.7._
     */
    function toUint208(uint256 value) internal pure returns (uint208) {
        require(value <= type(uint208).max, "SafeCast: value doesn't fit in 208 bits");
        return uint208(value);
    }

    /**
     * @dev Returns the downcasted uint200 from uint256, reverting on
     * overflow (when the input is greater than largest uint200).
     *
     * Counterpart to Solidity's `uint200` operator.
     *
     * Requirements:
     *
     * - input must fit into 200 bits
     *
     * _Available since v4.7._
     */
    function toUint200(uint256 value) internal pure returns (uint200) {
        require(value <= type(uint200).max, "SafeCast: value doesn't fit in 200 bits");
        return uint200(value);
    }

    /**
     * @dev Returns the downcasted uint192 from uint256, reverting on
     * overflow (when the input is greater than largest uint192).
     *
     * Counterpart to Solidity's `uint192` operator.
     *
     * Requirements:
     *
     * - input must fit into 192 bits
     *
     * _Available since v4.7._
     */
    function toUint192(uint256 value) internal pure returns (uint192) {
        require(value <= type(uint192).max, "SafeCast: value doesn't fit in 192 bits");
        return uint192(value);
    }

    /**
     * @dev Returns the downcasted uint184 from uint256, reverting on
     * overflow (when the input is greater than largest uint184).
     *
     * Counterpart to Solidity's `uint184` operator.
     *
     * Requirements:
     *
     * - input must fit into 184 bits
     *
     * _Available since v4.7._
     */
    function toUint184(uint256 value) internal pure returns (uint184) {
        require(value <= type(uint184).max, "SafeCast: value doesn't fit in 184 bits");
        return uint184(value);
    }

    /**
     * @dev Returns the downcasted uint176 from uint256, reverting on
     * overflow (when the input is greater than largest uint176).
     *
     * Counterpart to Solidity's `uint176` operator.
     *
     * Requirements:
     *
     * - input must fit into 176 bits
     *
     * _Available since v4.7._
     */
    function toUint176(uint256 value) internal pure returns (uint176) {
        require(value <= type(uint176).max, "SafeCast: value doesn't fit in 176 bits");
        return uint176(value);
    }

    /**
     * @dev Returns the downcasted uint168 from uint256, reverting on
     * overflow (when the input is greater than largest uint168).
     *
     * Counterpart to Solidity's `uint168` operator.
     *
     * Requirements:
     *
     * - input must fit into 168 bits
     *
     * _Available since v4.7._
     */
    function toUint168(uint256 value) internal pure returns (uint168) {
        require(value <= type(uint168).max, "SafeCast: value doesn't fit in 168 bits");
        return uint168(value);
    }

    /**
     * @dev Returns the downcasted uint160 from uint256, reverting on
     * overflow (when the input is greater than largest uint160).
     *
     * Counterpart to Solidity's `uint160` operator.
     *
     * Requirements:
     *
     * - input must fit into 160 bits
     *
     * _Available since v4.7._
     */
    function toUint160(uint256 value) internal pure returns (uint160) {
        require(value <= type(uint160).max, "SafeCast: value doesn't fit in 160 bits");
        return uint160(value);
    }

    /**
     * @dev Returns the downcasted uint152 from uint256, reverting on
     * overflow (when the input is greater than largest uint152).
     *
     * Counterpart to Solidity's `uint152` operator.
     *
     * Requirements:
     *
     * - input must fit into 152 bits
     *
     * _Available since v4.7._
     */
    function toUint152(uint256 value) internal pure returns (uint152) {
        require(value <= type(uint152).max, "SafeCast: value doesn't fit in 152 bits");
        return uint152(value);
    }

    /**
     * @dev Returns the downcasted uint144 from uint256, reverting on
     * overflow (when the input is greater than largest uint144).
     *
     * Counterpart to Solidity's `uint144` operator.
     *
     * Requirements:
     *
     * - input must fit into 144 bits
     *
     * _Available since v4.7._
     */
    function toUint144(uint256 value) internal pure returns (uint144) {
        require(value <= type(uint144).max, "SafeCast: value doesn't fit in 144 bits");
        return uint144(value);
    }

    /**
     * @dev Returns the downcasted uint136 from uint256, reverting on
     * overflow (when the input is greater than largest uint136).
     *
     * Counterpart to Solidity's `uint136` operator.
     *
     * Requirements:
     *
     * - input must fit into 136 bits
     *
     * _Available since v4.7._
     */
    function toUint136(uint256 value) internal pure returns (uint136) {
        require(value <= type(uint136).max, "SafeCast: value doesn't fit in 136 bits");
        return uint136(value);
    }

    /**
     * @dev Returns the downcasted uint128 from uint256, reverting on
     * overflow (when the input is greater than largest uint128).
     *
     * Counterpart to Solidity's `uint128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     *
     * _Available since v2.5._
     */
    function toUint128(uint256 value) internal pure returns (uint128) {
        require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits");
        return uint128(value);
    }

    /**
     * @dev Returns the downcasted uint120 from uint256, reverting on
     * overflow (when the input is greater than largest uint120).
     *
     * Counterpart to Solidity's `uint120` operator.
     *
     * Requirements:
     *
     * - input must fit into 120 bits
     *
     * _Available since v4.7._
     */
    function toUint120(uint256 value) internal pure returns (uint120) {
        require(value <= type(uint120).max, "SafeCast: value doesn't fit in 120 bits");
        return uint120(value);
    }

    /**
     * @dev Returns the downcasted uint112 from uint256, reverting on
     * overflow (when the input is greater than largest uint112).
     *
     * Counterpart to Solidity's `uint112` operator.
     *
     * Requirements:
     *
     * - input must fit into 112 bits
     *
     * _Available since v4.7._
     */
    function toUint112(uint256 value) internal pure returns (uint112) {
        require(value <= type(uint112).max, "SafeCast: value doesn't fit in 112 bits");
        return uint112(value);
    }

    /**
     * @dev Returns the downcasted uint104 from uint256, reverting on
     * overflow (when the input is greater than largest uint104).
     *
     * Counterpart to Solidity's `uint104` operator.
     *
     * Requirements:
     *
     * - input must fit into 104 bits
     *
     * _Available since v4.7._
     */
    function toUint104(uint256 value) internal pure returns (uint104) {
        require(value <= type(uint104).max, "SafeCast: value doesn't fit in 104 bits");
        return uint104(value);
    }

    /**
     * @dev Returns the downcasted uint96 from uint256, reverting on
     * overflow (when the input is greater than largest uint96).
     *
     * Counterpart to Solidity's `uint96` operator.
     *
     * Requirements:
     *
     * - input must fit into 96 bits
     *
     * _Available since v4.2._
     */
    function toUint96(uint256 value) internal pure returns (uint96) {
        require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits");
        return uint96(value);
    }

    /**
     * @dev Returns the downcasted uint88 from uint256, reverting on
     * overflow (when the input is greater than largest uint88).
     *
     * Counterpart to Solidity's `uint88` operator.
     *
     * Requirements:
     *
     * - input must fit into 88 bits
     *
     * _Available since v4.7._
     */
    function toUint88(uint256 value) internal pure returns (uint88) {
        require(value <= type(uint88).max, "SafeCast: value doesn't fit in 88 bits");
        return uint88(value);
    }

    /**
     * @dev Returns the downcasted uint80 from uint256, reverting on
     * overflow (when the input is greater than largest uint80).
     *
     * Counterpart to Solidity's `uint80` operator.
     *
     * Requirements:
     *
     * - input must fit into 80 bits
     *
     * _Available since v4.7._
     */
    function toUint80(uint256 value) internal pure returns (uint80) {
        require(value <= type(uint80).max, "SafeCast: value doesn't fit in 80 bits");
        return uint80(value);
    }

    /**
     * @dev Returns the downcasted uint72 from uint256, reverting on
     * overflow (when the input is greater than largest uint72).
     *
     * Counterpart to Solidity's `uint72` operator.
     *
     * Requirements:
     *
     * - input must fit into 72 bits
     *
     * _Available since v4.7._
     */
    function toUint72(uint256 value) internal pure returns (uint72) {
        require(value <= type(uint72).max, "SafeCast: value doesn't fit in 72 bits");
        return uint72(value);
    }

    /**
     * @dev Returns the downcasted uint64 from uint256, reverting on
     * overflow (when the input is greater than largest uint64).
     *
     * Counterpart to Solidity's `uint64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     *
     * _Available since v2.5._
     */
    function toUint64(uint256 value) internal pure returns (uint64) {
        require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits");
        return uint64(value);
    }

    /**
     * @dev Returns the downcasted uint56 from uint256, reverting on
     * overflow (when the input is greater than largest uint56).
     *
     * Counterpart to Solidity's `uint56` operator.
     *
     * Requirements:
     *
     * - input must fit into 56 bits
     *
     * _Available since v4.7._
     */
    function toUint56(uint256 value) internal pure returns (uint56) {
        require(value <= type(uint56).max, "SafeCast: value doesn't fit in 56 bits");
        return uint56(value);
    }

    /**
     * @dev Returns the downcasted uint48 from uint256, reverting on
     * overflow (when the input is greater than largest uint48).
     *
     * Counterpart to Solidity's `uint48` operator.
     *
     * Requirements:
     *
     * - input must fit into 48 bits
     *
     * _Available since v4.7._
     */
    function toUint48(uint256 value) internal pure returns (uint48) {
        require(value <= type(uint48).max, "SafeCast: value doesn't fit in 48 bits");
        return uint48(value);
    }

    /**
     * @dev Returns the downcasted uint40 from uint256, reverting on
     * overflow (when the input is greater than largest uint40).
     *
     * Counterpart to Solidity's `uint40` operator.
     *
     * Requirements:
     *
     * - input must fit into 40 bits
     *
     * _Available since v4.7._
     */
    function toUint40(uint256 value) internal pure returns (uint40) {
        require(value <= type(uint40).max, "SafeCast: value doesn't fit in 40 bits");
        return uint40(value);
    }

    /**
     * @dev Returns the downcasted uint32 from uint256, reverting on
     * overflow (when the input is greater than largest uint32).
     *
     * Counterpart to Solidity's `uint32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     *
     * _Available since v2.5._
     */
    function toUint32(uint256 value) internal pure returns (uint32) {
        require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits");
        return uint32(value);
    }

    /**
     * @dev Returns the downcasted uint24 from uint256, reverting on
     * overflow (when the input is greater than largest uint24).
     *
     * Counterpart to Solidity's `uint24` operator.
     *
     * Requirements:
     *
     * - input must fit into 24 bits
     *
     * _Available since v4.7._
     */
    function toUint24(uint256 value) internal pure returns (uint24) {
        require(value <= type(uint24).max, "SafeCast: value doesn't fit in 24 bits");
        return uint24(value);
    }

    /**
     * @dev Returns the downcasted uint16 from uint256, reverting on
     * overflow (when the input is greater than largest uint16).
     *
     * Counterpart to Solidity's `uint16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     *
     * _Available since v2.5._
     */
    function toUint16(uint256 value) internal pure returns (uint16) {
        require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits");
        return uint16(value);
    }

    /**
     * @dev Returns the downcasted uint8 from uint256, reverting on
     * overflow (when the input is greater than largest uint8).
     *
     * Counterpart to Solidity's `uint8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits
     *
     * _Available since v2.5._
     */
    function toUint8(uint256 value) internal pure returns (uint8) {
        require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits");
        return uint8(value);
    }

    /**
     * @dev Converts a signed int256 into an unsigned uint256.
     *
     * Requirements:
     *
     * - input must be greater than or equal to 0.
     *
     * _Available since v3.0._
     */
    function toUint256(int256 value) internal pure returns (uint256) {
        require(value >= 0, "SafeCast: value must be positive");
        return uint256(value);
    }

    /**
     * @dev Returns the downcasted int248 from int256, reverting on
     * overflow (when the input is less than smallest int248 or
     * greater than largest int248).
     *
     * Counterpart to Solidity's `int248` operator.
     *
     * Requirements:
     *
     * - input must fit into 248 bits
     *
     * _Available since v4.7._
     */
    function toInt248(int256 value) internal pure returns (int248 downcasted) {
        downcasted = int248(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 248 bits");
    }

    /**
     * @dev Returns the downcasted int240 from int256, reverting on
     * overflow (when the input is less than smallest int240 or
     * greater than largest int240).
     *
     * Counterpart to Solidity's `int240` operator.
     *
     * Requirements:
     *
     * - input must fit into 240 bits
     *
     * _Available since v4.7._
     */
    function toInt240(int256 value) internal pure returns (int240 downcasted) {
        downcasted = int240(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 240 bits");
    }

    /**
     * @dev Returns the downcasted int232 from int256, reverting on
     * overflow (when the input is less than smallest int232 or
     * greater than largest int232).
     *
     * Counterpart to Solidity's `int232` operator.
     *
     * Requirements:
     *
     * - input must fit into 232 bits
     *
     * _Available since v4.7._
     */
    function toInt232(int256 value) internal pure returns (int232 downcasted) {
        downcasted = int232(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 232 bits");
    }

    /**
     * @dev Returns the downcasted int224 from int256, reverting on
     * overflow (when the input is less than smallest int224 or
     * greater than largest int224).
     *
     * Counterpart to Solidity's `int224` operator.
     *
     * Requirements:
     *
     * - input must fit into 224 bits
     *
     * _Available since v4.7._
     */
    function toInt224(int256 value) internal pure returns (int224 downcasted) {
        downcasted = int224(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 224 bits");
    }

    /**
     * @dev Returns the downcasted int216 from int256, reverting on
     * overflow (when the input is less than smallest int216 or
     * greater than largest int216).
     *
     * Counterpart to Solidity's `int216` operator.
     *
     * Requirements:
     *
     * - input must fit into 216 bits
     *
     * _Available since v4.7._
     */
    function toInt216(int256 value) internal pure returns (int216 downcasted) {
        downcasted = int216(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 216 bits");
    }

    /**
     * @dev Returns the downcasted int208 from int256, reverting on
     * overflow (when the input is less than smallest int208 or
     * greater than largest int208).
     *
     * Counterpart to Solidity's `int208` operator.
     *
     * Requirements:
     *
     * - input must fit into 208 bits
     *
     * _Available since v4.7._
     */
    function toInt208(int256 value) internal pure returns (int208 downcasted) {
        downcasted = int208(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 208 bits");
    }

    /**
     * @dev Returns the downcasted int200 from int256, reverting on
     * overflow (when the input is less than smallest int200 or
     * greater than largest int200).
     *
     * Counterpart to Solidity's `int200` operator.
     *
     * Requirements:
     *
     * - input must fit into 200 bits
     *
     * _Available since v4.7._
     */
    function toInt200(int256 value) internal pure returns (int200 downcasted) {
        downcasted = int200(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 200 bits");
    }

    /**
     * @dev Returns the downcasted int192 from int256, reverting on
     * overflow (when the input is less than smallest int192 or
     * greater than largest int192).
     *
     * Counterpart to Solidity's `int192` operator.
     *
     * Requirements:
     *
     * - input must fit into 192 bits
     *
     * _Available since v4.7._
     */
    function toInt192(int256 value) internal pure returns (int192 downcasted) {
        downcasted = int192(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 192 bits");
    }

    /**
     * @dev Returns the downcasted int184 from int256, reverting on
     * overflow (when the input is less than smallest int184 or
     * greater than largest int184).
     *
     * Counterpart to Solidity's `int184` operator.
     *
     * Requirements:
     *
     * - input must fit into 184 bits
     *
     * _Available since v4.7._
     */
    function toInt184(int256 value) internal pure returns (int184 downcasted) {
        downcasted = int184(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 184 bits");
    }

    /**
     * @dev Returns the downcasted int176 from int256, reverting on
     * overflow (when the input is less than smallest int176 or
     * greater than largest int176).
     *
     * Counterpart to Solidity's `int176` operator.
     *
     * Requirements:
     *
     * - input must fit into 176 bits
     *
     * _Available since v4.7._
     */
    function toInt176(int256 value) internal pure returns (int176 downcasted) {
        downcasted = int176(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 176 bits");
    }

    /**
     * @dev Returns the downcasted int168 from int256, reverting on
     * overflow (when the input is less than smallest int168 or
     * greater than largest int168).
     *
     * Counterpart to Solidity's `int168` operator.
     *
     * Requirements:
     *
     * - input must fit into 168 bits
     *
     * _Available since v4.7._
     */
    function toInt168(int256 value) internal pure returns (int168 downcasted) {
        downcasted = int168(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 168 bits");
    }

    /**
     * @dev Returns the downcasted int160 from int256, reverting on
     * overflow (when the input is less than smallest int160 or
     * greater than largest int160).
     *
     * Counterpart to Solidity's `int160` operator.
     *
     * Requirements:
     *
     * - input must fit into 160 bits
     *
     * _Available since v4.7._
     */
    function toInt160(int256 value) internal pure returns (int160 downcasted) {
        downcasted = int160(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 160 bits");
    }

    /**
     * @dev Returns the downcasted int152 from int256, reverting on
     * overflow (when the input is less than smallest int152 or
     * greater than largest int152).
     *
     * Counterpart to Solidity's `int152` operator.
     *
     * Requirements:
     *
     * - input must fit into 152 bits
     *
     * _Available since v4.7._
     */
    function toInt152(int256 value) internal pure returns (int152 downcasted) {
        downcasted = int152(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 152 bits");
    }

    /**
     * @dev Returns the downcasted int144 from int256, reverting on
     * overflow (when the input is less than smallest int144 or
     * greater than largest int144).
     *
     * Counterpart to Solidity's `int144` operator.
     *
     * Requirements:
     *
     * - input must fit into 144 bits
     *
     * _Available since v4.7._
     */
    function toInt144(int256 value) internal pure returns (int144 downcasted) {
        downcasted = int144(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 144 bits");
    }

    /**
     * @dev Returns the downcasted int136 from int256, reverting on
     * overflow (when the input is less than smallest int136 or
     * greater than largest int136).
     *
     * Counterpart to Solidity's `int136` operator.
     *
     * Requirements:
     *
     * - input must fit into 136 bits
     *
     * _Available since v4.7._
     */
    function toInt136(int256 value) internal pure returns (int136 downcasted) {
        downcasted = int136(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 136 bits");
    }

    /**
     * @dev Returns the downcasted int128 from int256, reverting on
     * overflow (when the input is less than smallest int128 or
     * greater than largest int128).
     *
     * Counterpart to Solidity's `int128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     *
     * _Available since v3.1._
     */
    function toInt128(int256 value) internal pure returns (int128 downcasted) {
        downcasted = int128(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 128 bits");
    }

    /**
     * @dev Returns the downcasted int120 from int256, reverting on
     * overflow (when the input is less than smallest int120 or
     * greater than largest int120).
     *
     * Counterpart to Solidity's `int120` operator.
     *
     * Requirements:
     *
     * - input must fit into 120 bits
     *
     * _Available since v4.7._
     */
    function toInt120(int256 value) internal pure returns (int120 downcasted) {
        downcasted = int120(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 120 bits");
    }

    /**
     * @dev Returns the downcasted int112 from int256, reverting on
     * overflow (when the input is less than smallest int112 or
     * greater than largest int112).
     *
     * Counterpart to Solidity's `int112` operator.
     *
     * Requirements:
     *
     * - input must fit into 112 bits
     *
     * _Available since v4.7._
     */
    function toInt112(int256 value) internal pure returns (int112 downcasted) {
        downcasted = int112(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 112 bits");
    }

    /**
     * @dev Returns the downcasted int104 from int256, reverting on
     * overflow (when the input is less than smallest int104 or
     * greater than largest int104).
     *
     * Counterpart to Solidity's `int104` operator.
     *
     * Requirements:
     *
     * - input must fit into 104 bits
     *
     * _Available since v4.7._
     */
    function toInt104(int256 value) internal pure returns (int104 downcasted) {
        downcasted = int104(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 104 bits");
    }

    /**
     * @dev Returns the downcasted int96 from int256, reverting on
     * overflow (when the input is less than smallest int96 or
     * greater than largest int96).
     *
     * Counterpart to Solidity's `int96` operator.
     *
     * Requirements:
     *
     * - input must fit into 96 bits
     *
     * _Available since v4.7._
     */
    function toInt96(int256 value) internal pure returns (int96 downcasted) {
        downcasted = int96(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 96 bits");
    }

    /**
     * @dev Returns the downcasted int88 from int256, reverting on
     * overflow (when the input is less than smallest int88 or
     * greater than largest int88).
     *
     * Counterpart to Solidity's `int88` operator.
     *
     * Requirements:
     *
     * - input must fit into 88 bits
     *
     * _Available since v4.7._
     */
    function toInt88(int256 value) internal pure returns (int88 downcasted) {
        downcasted = int88(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 88 bits");
    }

    /**
     * @dev Returns the downcasted int80 from int256, reverting on
     * overflow (when the input is less than smallest int80 or
     * greater than largest int80).
     *
     * Counterpart to Solidity's `int80` operator.
     *
     * Requirements:
     *
     * - input must fit into 80 bits
     *
     * _Available since v4.7._
     */
    function toInt80(int256 value) internal pure returns (int80 downcasted) {
        downcasted = int80(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 80 bits");
    }

    /**
     * @dev Returns the downcasted int72 from int256, reverting on
     * overflow (when the input is less than smallest int72 or
     * greater than largest int72).
     *
     * Counterpart to Solidity's `int72` operator.
     *
     * Requirements:
     *
     * - input must fit into 72 bits
     *
     * _Available since v4.7._
     */
    function toInt72(int256 value) internal pure returns (int72 downcasted) {
        downcasted = int72(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 72 bits");
    }

    /**
     * @dev Returns the downcasted int64 from int256, reverting on
     * overflow (when the input is less than smallest int64 or
     * greater than largest int64).
     *
     * Counterpart to Solidity's `int64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     *
     * _Available since v3.1._
     */
    function toInt64(int256 value) internal pure returns (int64 downcasted) {
        downcasted = int64(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 64 bits");
    }

    /**
     * @dev Returns the downcasted int56 from int256, reverting on
     * overflow (when the input is less than smallest int56 or
     * greater than largest int56).
     *
     * Counterpart to Solidity's `int56` operator.
     *
     * Requirements:
     *
     * - input must fit into 56 bits
     *
     * _Available since v4.7._
     */
    function toInt56(int256 value) internal pure returns (int56 downcasted) {
        downcasted = int56(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 56 bits");
    }

    /**
     * @dev Returns the downcasted int48 from int256, reverting on
     * overflow (when the input is less than smallest int48 or
     * greater than largest int48).
     *
     * Counterpart to Solidity's `int48` operator.
     *
     * Requirements:
     *
     * - input must fit into 48 bits
     *
     * _Available since v4.7._
     */
    function toInt48(int256 value) internal pure returns (int48 downcasted) {
        downcasted = int48(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 48 bits");
    }

    /**
     * @dev Returns the downcasted int40 from int256, reverting on
     * overflow (when the input is less than smallest int40 or
     * greater than largest int40).
     *
     * Counterpart to Solidity's `int40` operator.
     *
     * Requirements:
     *
     * - input must fit into 40 bits
     *
     * _Available since v4.7._
     */
    function toInt40(int256 value) internal pure returns (int40 downcasted) {
        downcasted = int40(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 40 bits");
    }

    /**
     * @dev Returns the downcasted int32 from int256, reverting on
     * overflow (when the input is less than smallest int32 or
     * greater than largest int32).
     *
     * Counterpart to Solidity's `int32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     *
     * _Available since v3.1._
     */
    function toInt32(int256 value) internal pure returns (int32 downcasted) {
        downcasted = int32(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 32 bits");
    }

    /**
     * @dev Returns the downcasted int24 from int256, reverting on
     * overflow (when the input is less than smallest int24 or
     * greater than largest int24).
     *
     * Counterpart to Solidity's `int24` operator.
     *
     * Requirements:
     *
     * - input must fit into 24 bits
     *
     * _Available since v4.7._
     */
    function toInt24(int256 value) internal pure returns (int24 downcasted) {
        downcasted = int24(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 24 bits");
    }

    /**
     * @dev Returns the downcasted int16 from int256, reverting on
     * overflow (when the input is less than smallest int16 or
     * greater than largest int16).
     *
     * Counterpart to Solidity's `int16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     *
     * _Available since v3.1._
     */
    function toInt16(int256 value) internal pure returns (int16 downcasted) {
        downcasted = int16(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 16 bits");
    }

    /**
     * @dev Returns the downcasted int8 from int256, reverting on
     * overflow (when the input is less than smallest int8 or
     * greater than largest int8).
     *
     * Counterpart to Solidity's `int8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits
     *
     * _Available since v3.1._
     */
    function toInt8(int256 value) internal pure returns (int8 downcasted) {
        downcasted = int8(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 8 bits");
    }

    /**
     * @dev Converts an unsigned uint256 into a signed int256.
     *
     * Requirements:
     *
     * - input must be less than or equal to maxInt256.
     *
     * _Available since v3.0._
     */
    function toInt256(uint256 value) internal pure returns (int256) {
        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive
        require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256");
        return int256(value);
    }
}

File 31 of 38 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

File 32 of 38 : ShortStrings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/ShortStrings.sol)

pragma solidity ^0.8.8;

import "./StorageSlot.sol";

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

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

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

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

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

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

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

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

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

File 33 of 38 : StorageSlot.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.

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:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._
 * _Available since v4.9 for `string`, `bytes`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

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

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

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

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

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

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

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

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

File 34 of 38 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SignedMath.sol";

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

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

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

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

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

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

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

File 35 of 38 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";
import {CANONICAL_CORI_SUBSCRIPTION} from "./lib/Constants.sol";
/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 * @dev    Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {}
}

File 36 of 38 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address registrantToSubscribe) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address addr) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}

File 37 of 38 : Constants.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

File 38 of 38 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
import {CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol";
/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 *         Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

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

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURIValue","type":"string"},{"internalType":"address","name":"_adminAddress","type":"address"},{"internalType":"address","name":"_payoutAddress","type":"address"},{"internalType":"uint96","name":"_royaltyFee","type":"uint96"},{"internalType":"string","name":"_voxelglyphJavaScript","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[],"name":"MaxSupplyExceeded","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"newBaseURI","type":"string"}],"name":"BaseURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"payoutAddress","type":"address"},{"indexed":false,"internalType":"uint96","name":"royaltyFee","type":"uint96"}],"name":"DefaultRoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","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"},{"inputs":[],"name":"CLOCK_MODE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","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":[],"name":"baseURIValue","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clock","outputs":[{"internalType":"uint48","name":"","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"timepoint","type":"uint256"}],"name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"timepoint","type":"uint256"}],"name":"getPastVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"_tokenId","type":"uint256"}],"name":"getScript","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getVotes","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":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"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":"_to","type":"address"},{"internalType":"uint16","name":"_amount","type":"uint16"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_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":"address","name":"_payoutAddress","type":"address"},{"internalType":"uint96","name":"_royaltyFee","type":"uint96"}],"name":"setDefaultRoyalty","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101606040523480156200001257600080fd5b50604051620047b1380380620047b18339810160408190526200003591620006a0565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600a8152602001690acdef0cad8ced8f2e0d60b31b815250604051806040016040528060018152602001603160f81b8152506040518060400160405280600a8152602001690acdef0cad8ced8f2e0d60b31b815250604051806040016040528060018152602001602360f81b8152508160029081620000d79190620007e0565b506003620000e68282620007e0565b5050600c805460ff19169055506200010c82600e62000376602090811b620012b617901c565b610120526200012981600f62000376602090811b620012b617901c565b61014052815160208084019190912060e052815190820120610100524660a052620001b760e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c0526daaeb6d7670e522a718067333cd4e3b15620003055780156200025357604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200023457600080fd5b505af115801562000249573d6000803e3d6000fd5b5050505062000305565b6001600160a01b03821615620002a45760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000219565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620002eb57600080fd5b505af115801562000300573d6000803e3d6000fd5b505050505b50620003159050600085620003c6565b620003417f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a685620003c6565b6200034d83836200046b565b60156200035b8682620007e0565b5060166200036a8282620007e0565b50505050505062000906565b600060208351101562000396576200038e8362000570565b9050620003c0565b82620003ad83620005b360201b620012e71760201c565b90620003ba9082620007e0565b5060ff90505b92915050565b6000828152600d602090815260408083206001600160a01b038516845290915290205460ff1662000467576000828152600d602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620004263390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6127106001600160601b0382161115620004df5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620005375760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620004d6565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b600080829050601f815111156200059e578260405163305a27a960e01b8152600401620004d69190620008ac565b8051620005ab82620008e1565b179392505050565b90565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620005e9578181015183820152602001620005cf565b50506000910152565b600082601f8301126200060457600080fd5b81516001600160401b0380821115620006215762000621620005b6565b604051601f8301601f19908116603f011681019082821181831017156200064c576200064c620005b6565b816040528381528660208588010111156200066657600080fd5b62000679846020830160208901620005cc565b9695505050505050565b80516001600160a01b03811681146200069b57600080fd5b919050565b600080600080600060a08688031215620006b957600080fd5b85516001600160401b0380821115620006d157600080fd5b620006df89838a01620005f2565b9650620006ef6020890162000683565b9550620006ff6040890162000683565b606089015190955091506001600160601b03821682146200071f57600080fd5b6080880151919350808211156200073557600080fd5b506200074488828901620005f2565b9150509295509295909350565b600181811c908216806200076657607f821691505b6020821081036200078757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620007db57600081815260208120601f850160051c81016020861015620007b65750805b601f850160051c820191505b81811015620007d757828155600101620007c2565b5050505b505050565b81516001600160401b03811115620007fc57620007fc620005b6565b62000814816200080d845462000751565b846200078d565b602080601f8311600181146200084c5760008415620008335750858301515b600019600386901b1c1916600185901b178555620007d7565b600085815260208120601f198616915b828110156200087d578886015182559484019460019091019084016200085c565b50858210156200089c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020815260008251806020840152620008cd816040850160208701620005cc565b601f01601f19169190910160400192915050565b80516020808301519190811015620007875760001960209190910360031b1b16919050565b60805160a05160c05160e051610100516101205161014051613e50620009616000396000610e4601526000610e1b015260006117ce015260006117a6015260006117010152600061172b015260006117550152613e506000f3fe608060405234801561001057600080fd5b506004361061028a5760003560e01c80635c19a95c1161015c57806395d89b41116100ce578063c3cda52011610087578063c3cda520146105c9578063c87b56dd146105dc578063d5391393146105ef578063d547741f14610616578063e985e9c514610629578063ea146e511461066557600080fd5b806395d89b411461056d5780639ab24eb014610575578063a217fddf14610588578063a22cb46514610590578063aab26e3d146105a3578063b88d4fde146105b657600080fd5b80637ecebe00116101205780637ecebe00146104f25780638456cb591461050557806384b0196e1461050d5780638e539e8c1461052857806391d148541461053b57806391ddadf41461054e57600080fd5b80635c19a95c146104a65780635c975abb146104b957806361795d6a146104c45780636352211e146104cc57806370a08231146104df57600080fd5b806332cb6b0c1161020057806342842e0e116101b957806342842e0e1461042657806342966c68146104395780634bf5d7e91461044c5780634f6ccce71461045457806355f804b314610467578063587cde1e1461047a57600080fd5b806332cb6b0c146103bf5780633644e515146103db57806336568abe146103e35780633a46b1a8146103f65780633f4ba83a1461040957806341f434341461041157600080fd5b806318160ddd1161025257806318160ddd1461031f57806323b872dd14610331578063248a9ca3146103445780632a55205a146103675780632f2ff15d146103995780632f745c59146103ac57600080fd5b806301ffc9a71461028f57806304634d8d146102b757806306fdde03146102cc578063081812fc146102e1578063095ea7b31461030c575b600080fd5b6102a261029d3660046134c4565b610678565b60405190151581526020015b60405180910390f35b6102ca6102c53660046134fd565b610689565b005b6102d46106ed565b6040516102ae9190613590565b6102f46102ef3660046135a3565b61077f565b6040516001600160a01b0390911681526020016102ae565b6102ca61031a3660046135bc565b6107a6565b600a545b6040519081526020016102ae565b6102ca61033f3660046135e6565b6107bf565b6103236103523660046135a3565b6000908152600d602052604090206001015490565b61037a610375366004613622565b6107ea565b604080516001600160a01b0390931683526020830191909152016102ae565b6102ca6103a7366004613644565b610896565b6103236103ba3660046135bc565b6108bb565b6103c86107d081565b60405161ffff90911681526020016102ae565b610323610956565b6102ca6103f1366004613644565b610965565b6103236104043660046135bc565b6109e3565b6102ca610a74565b6102f46daaeb6d7670e522a718067333cd4e81565b6102ca6104343660046135e6565b610a8a565b6102ca6104473660046135a3565b610aaf565b6102d4610adf565b6103236104623660046135a3565b610b77565b6102ca6104753660046136fc565b610c0a565b6102f4610488366004613745565b6001600160a01b039081166000908152601060205260409020541690565b6102ca6104b4366004613745565b610c5d565b600c5460ff166102a2565b6102d4610c68565b6102f46104da3660046135a3565b610cf6565b6103236104ed366004613745565b610d56565b610323610500366004613745565b610ddc565b6102ca610dfa565b610515610e0d565b6040516102ae9796959493929190613760565b6103236105363660046135a3565b610e96565b6102a2610549366004613644565b610f10565b610556610f3b565b60405165ffffffffffff90911681526020016102ae565b6102d4610f46565b610323610583366004613745565b610f55565b610323600081565b6102ca61059e366004613804565b610f76565b6102ca6105b1366004613830565b610f8a565b6102ca6105c4366004613863565b611043565b6102ca6105d73660046138df565b611069565b6102d46105ea3660046135a3565b611196565b6103237f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102ca610624366004613644565b6111fd565b6102a261063736600461393f565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6102d46106733660046135a3565b611222565b6000610683826112ea565b92915050565b60006106948161130f565b61069e8383611319565b604080516001600160a01b03851681526001600160601b03841660208201527f8a8bae378cb731c5c40b632330c6836c2f916f48edb967699c86736f9a6a76ef910160405180910390a1505050565b6060600280546106fc90613969565b80601f016020809104026020016040519081016040528092919081815260200182805461072890613969565b80156107755780601f1061074a57610100808354040283529160200191610775565b820191906000526020600020905b81548152906001019060200180831161075857829003601f168201915b5050505050905090565b600061078a82611416565b506000908152600660205260409020546001600160a01b031690565b816107b081611475565b6107ba838361152e565b505050565b826001600160a01b03811633146107d9576107d933611475565b6107e484848461163e565b50505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161085f5750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061087e906001600160601b0316876139b3565b61088891906139e0565b915196919550909350505050565b6000828152600d60205260409020600101546108b18161130f565b6107ba838361166e565b60006108c683610d56565b821061092d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084015b60405180910390fd5b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b60006109606116f4565b905090565b6001600160a01b03811633146109d55760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610924565b6109df828261181f565b5050565b60006109ed610f3b565b65ffffffffffff168210610a3a5760405162461bcd60e51b81526020600482015260146024820152730566f7465733a20667574757265206c6f6f6b75760641b6044820152606401610924565b610a64610a4683611886565b6001600160a01b0385166000908152601160205260409020906118ef565b6001600160e01b03169392505050565b6000610a7f8161130f565b610a876119a4565b50565b826001600160a01b0381163314610aa457610aa433611475565b6107e48484846119f6565b610aba335b82611a11565b610ad65760405162461bcd60e51b815260040161092490613a02565b610a8781611a90565b606043610aea610f3b565b65ffffffffffff1614610b3f5760405162461bcd60e51b815260206004820152601860248201527f566f7465733a2062726f6b656e20636c6f636b206d6f646500000000000000006044820152606401610924565b5060408051808201909152601d81527f6d6f64653d626c6f636b6e756d6265722666726f6d3d64656661756c74000000602082015290565b6000610b82600a5490565b8210610be55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610924565b600a8281548110610bf857610bf8613a4f565b90600052602060002001549050919050565b6000610c158161130f565b6015610c218382613ab3565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf682604051610c519190613590565b60405180910390a15050565b336109df8183611a99565b60158054610c7590613969565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca190613969565b8015610cee5780601f10610cc357610100808354040283529160200191610cee565b820191906000526020600020905b815481529060010190602001808311610cd157829003601f168201915b505050505081565b6000818152600460205260408120546001600160a01b0316806106835760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610924565b60006001600160a01b038216610dc05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610924565b506001600160a01b031660009081526005602052604090205490565b6001600160a01b038116600090815260136020526040812054610683565b6000610e058161130f565b610a87611b0b565b600060608082808083610e417f0000000000000000000000000000000000000000000000000000000000000000600e611b48565b610e6c7f0000000000000000000000000000000000000000000000000000000000000000600f611b48565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6000610ea0610f3b565b65ffffffffffff168210610eed5760405162461bcd60e51b81526020600482015260146024820152730566f7465733a20667574757265206c6f6f6b75760641b6044820152606401610924565b610f01610ef983611886565b6012906118ef565b6001600160e01b031692915050565b6000918252600d602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600061096043611bec565b6060600380546106fc90613969565b6001600160a01b0381166000908152601160205260408120610f0190611c53565b81610f8081611475565b6107ba8383611c8d565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610fb48161130f565b6000610fbf60145490565b90506107d0610fd261ffff851683613b73565b1115610ff157604051638a164f6360e01b815260040160405180910390fd5b60005b8361ffff168161ffff16101561103c57611012601480546001019055565b600061101d60145490565b90506110298682611c98565b508061103481613b86565b915050610ff4565b5050505050565b836001600160a01b038116331461105d5761105d33611475565b61103c85858585611cb2565b834211156110b95760405162461bcd60e51b815260206004820152601860248201527f566f7465733a207369676e6174757265206578706972656400000000000000006044820152606401610924565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b0388169181019190915260608101869052608081018590526000906111339061112b9060a00160405160208183030381529060405280519060200120611ce4565b858585611d11565b905061113e81611d39565b86146111835760405162461bcd60e51b8152602060048201526014602482015273566f7465733a20696e76616c6964206e6f6e636560601b6044820152606401610924565b61118d8188611a99565b50505050505050565b60606111a182611416565b60006111ab611d61565b905060008151116111cb57604051806020016040528060008152506111f6565b806111d584611d70565b6040516020016111e6929190613ba7565b6040516020818303038152906040525b9392505050565b6000828152600d60205260409020600101546112188161130f565b6107ba838361181f565b60606016805461123190613969565b80601f016020809104026020016040519081016040528092919081815260200182805461125d90613969565b80156112aa5780601f1061127f576101008083540402835291602001916112aa565b820191906000526020600020905b81548152906001019060200180831161128d57829003601f168201915b50505050509050919050565b60006020835110156112d2576112cb83611e03565b9050610683565b816112dd8482613ab3565b5060ff9050610683565b90565b60006001600160e01b03198216637965db0b60e01b1480610683575061068382611e41565b610a878133611e4c565b6127106001600160601b03821611156113875760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610924565b6001600160a01b0382166113dd5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610924565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b6000818152600460205260409020546001600160a01b0316610a875760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610924565b6daaeb6d7670e522a718067333cd4e3b15610a8757604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156114e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115069190613bd6565b610a8757604051633b79c77360e21b81526001600160a01b0382166004820152602401610924565b600061153982610cf6565b9050806001600160a01b0316836001600160a01b0316036115a65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610924565b336001600160a01b03821614806115c257506115c28133610637565b6116345760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610924565b6107ba8383611ea5565b61164733610ab4565b6116635760405162461bcd60e51b815260040161092490613a02565b6107ba838383611f13565b6116788282610f10565b6109df576000828152600d602090815260408083206001600160a01b03851684529091529020805460ff191660011790556116b03390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561174d57507f000000000000000000000000000000000000000000000000000000000000000046145b1561177757507f000000000000000000000000000000000000000000000000000000000000000090565b610960604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6118298282610f10565b156109df576000828152600d602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600063ffffffff8211156118eb5760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401610924565b5090565b81546000908181600581111561194c57600061190a8461208c565b6119149085613bf3565b60008881526020902090915081015463ffffffff908116908716101561193c5780915061194a565b611947816001613b73565b92505b505b600061195a87878585612174565b905080156119965761197f87611971600184613bf3565b600091825260209091200190565b5464010000000090046001600160e01b0316611999565b60005b979650505050505050565b6119ac6121d2565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6107ba83838360405180602001604052806000815250611043565b600080611a1d83610cf6565b9050806001600160a01b0316846001600160a01b03161480611a6457506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b80611a885750836001600160a01b0316611a7d8461077f565b6001600160a01b0316145b949350505050565b610a878161221d565b6001600160a01b0382811660008181526010602052604080822080548686166001600160a01b0319821681179092559151919094169392849290917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46107ba8183611b0686612237565b612242565b611b136123ae565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586119d93390565b606060ff8314611b5b576112cb836123f4565b818054611b6790613969565b80601f0160208091040260200160405190810160405280929190818152602001828054611b9390613969565b8015611be05780601f10611bb557610100808354040283529160200191611be0565b820191906000526020600020905b815481529060010190602001808311611bc357829003601f168201915b50505050509050610683565b600065ffffffffffff8211156118eb5760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203460448201526538206269747360d01b6064820152608401610924565b80546000908015611c8457611c6d83611971600184613bf3565b5464010000000090046001600160e01b03166111f6565b60009392505050565b6109df338383612433565b6109df828260405180602001604052806000815250612501565b611cbc3383611a11565b611cd85760405162461bcd60e51b815260040161092490613a02565b6107e484848484612534565b6000610683611cf16116f4565b8360405161190160f01b8152600281019290925260228201526042902090565b6000806000611d2287878787612567565b91509150611d2f8161262b565b5095945050505050565b6001600160a01b03811660009081526013602052604090208054600181018255905b50919050565b6060601580546106fc90613969565b60606000611d7d83612775565b600101905060008167ffffffffffffffff811115611d9d57611d9d613670565b6040519080825280601f01601f191660200182016040528015611dc7576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611dd157509392505050565b600080829050601f81511115611e2e578260405163305a27a960e01b81526004016109249190613590565b8051611e3982613c06565b179392505050565b60006106838261284d565b611e568282610f10565b6109df57611e6381612872565b611e6e836020612884565b604051602001611e7f929190613c2a565b60408051601f198184030181529082905262461bcd60e51b825261092491600401613590565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611eda82610cf6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b826001600160a01b0316611f2682610cf6565b6001600160a01b031614611f4c5760405162461bcd60e51b815260040161092490613c9f565b6001600160a01b038216611fae5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610924565b611fbb8383836001612a20565b826001600160a01b0316611fce82610cf6565b6001600160a01b031614611ff45760405162461bcd60e51b815260040161092490613c9f565b600081815260066020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260058552838620805460001901905590871680865283862080546001019055868652600490945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a46107ba8383836001612a34565b60008160000361209e57506000919050565b600060016120ab84612a40565b901c6001901b905060018184816120c4576120c46139ca565b048201901c905060018184816120dc576120dc6139ca565b048201901c905060018184816120f4576120f46139ca565b048201901c9050600181848161210c5761210c6139ca565b048201901c90506001818481612124576121246139ca565b048201901c9050600181848161213c5761213c6139ca565b048201901c90506001818481612154576121546139ca565b048201901c90506111f68182858161216e5761216e6139ca565b04612ad4565b60005b818310156121ca57600061218b8484612aea565b60008781526020902090915063ffffffff86169082015463ffffffff1611156121b6578092506121c4565b6121c1816001613b73565b93505b50612177565b509392505050565b600c5460ff1661221b5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610924565b565b61222681612b05565b600090815260016020526040812055565b600061068382610d56565b816001600160a01b0316836001600160a01b0316141580156122645750600081115b156107ba576001600160a01b0383161561230c576001600160a01b038316600090815260116020526040812081906122a790612bb26122a286612bbe565b612c27565b6001600160e01b031691506001600160e01b03169150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051612301929190918252602082015260400190565b60405180910390a250505b6001600160a01b038216156107ba576001600160a01b0382166000908152601160205260408120819061234590612c706122a286612bbe565b6001600160e01b031691506001600160e01b03169150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405161239f929190918252602082015260400190565b60405180910390a25050505050565b600c5460ff161561221b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610924565b6060600061240183612c7c565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b816001600160a01b0316836001600160a01b0316036124945760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610924565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61250b8383612ca4565b6125186000848484612e47565b6107ba5760405162461bcd60e51b815260040161092490613ce4565b61253f848484611f13565b61254b84848484612e47565b6107e45760405162461bcd60e51b815260040161092490613ce4565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561259e5750600090506003612622565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156125f2573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661261b57600060019250925050612622565b9150600090505b94509492505050565b600081600481111561263f5761263f613d36565b036126475750565b600181600481111561265b5761265b613d36565b036126a85760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610924565b60028160048111156126bc576126bc613d36565b036127095760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610924565b600381600481111561271d5761271d613d36565b03610a875760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610924565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106127b45772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106127e0576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106127fe57662386f26fc10000830492506010015b6305f5e1008310612816576305f5e100830492506008015b612710831061282a57612710830492506004015b6064831061283c576064830492506002015b600a83106106835760010192915050565b60006001600160e01b0319821663780e9d6360e01b1480610683575061068382612f45565b60606106836001600160a01b03831660145b606060006128938360026139b3565b61289e906002613b73565b67ffffffffffffffff8111156128b6576128b6613670565b6040519080825280601f01601f1916602001820160405280156128e0576020820181803683370190505b509050600360fc1b816000815181106128fb576128fb613a4f565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061292a5761292a613a4f565b60200101906001600160f81b031916908160001a905350600061294e8460026139b3565b612959906001613b73565b90505b60018111156129d1576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061298d5761298d613a4f565b1a60f81b8282815181106129a3576129a3613a4f565b60200101906001600160f81b031916908160001a90535060049490941c936129ca81613d4c565b905061295c565b5083156111f65760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610924565b612a286123ae565b6107e484848484612f85565b6107e4848484846130b2565b600080608083901c15612a5557608092831c92015b604083901c15612a6757604092831c92015b602083901c15612a7957602092831c92015b601083901c15612a8b57601092831c92015b600883901c15612a9d57600892831c92015b600483901c15612aaf57600492831c92015b600283901c15612ac157600292831c92015b600183901c156106835760010192915050565b6000818310612ae357816111f6565b5090919050565b6000612af960028484186139e0565b6111f690848416613b73565b6000612b1082610cf6565b9050612b20816000846001612a20565b612b2982610cf6565b600083815260066020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526005845282852080546000190190558785526004909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a46109df816000846001612a34565b60006111f68284613d63565b60006001600160e01b038211156118eb5760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401610924565b600080612c63612c45612c38610f3b565b65ffffffffffff16611886565b612c5b612c5188611c53565b868863ffffffff16565b8791906130c2565b915091505b935093915050565b60006111f68284613d8a565b600060ff8216601f81111561068357604051632cd44ac360e21b815260040160405180910390fd5b6001600160a01b038216612cfa5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610924565b6000818152600460205260409020546001600160a01b031615612d5f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610924565b612d6d600083836001612a20565b6000818152600460205260409020546001600160a01b031615612dd25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610924565b6001600160a01b038216600081815260056020908152604080832080546001019055848352600490915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46109df600083836001612a34565b60006001600160a01b0384163b15612f3d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612e8b903390899088908890600401613daa565b6020604051808303816000875af1925050508015612ec6575060408051601f3d908101601f19168201909252612ec391810190613de7565b60015b612f23573d808015612ef4576040519150601f19603f3d011682016040523d82523d6000602084013e612ef9565b606091505b508051600003612f1b5760405162461bcd60e51b815260040161092490613ce4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a88565b506001611a88565b60006001600160e01b031982166380ac58cd60e01b1480612f7657506001600160e01b03198216635b5e139f60e01b145b806106835750610683826130d0565b6001811115612ff45760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610924565b816001600160a01b0385166130505761304b81600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b613073565b836001600160a01b0316856001600160a01b031614613073576130738582613105565b6001600160a01b03841661308f5761308a816131a2565b61103c565b846001600160a01b0316846001600160a01b03161461103c5761103c8482613251565b6130bd848483613295565b6107e4565b600080612c6385858561330b565b60006001600160e01b0319821663152a902d60e11b148061068357506301ffc9a760e01b6001600160e01b0319831614610683565b6000600161311284610d56565b61311c9190613bf3565b60008381526009602052604090205490915080821461316f576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a546000906131b490600190613bf3565b6000838152600b6020526040812054600a80549394509092849081106131dc576131dc613a4f565b9060005260206000200154905080600a83815481106131fd576131fd613a4f565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a80548061323557613235613e04565b6001900381819060005260206000200160009055905550505050565b600061325c83610d56565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b6001600160a01b0383166132b7576132b46012612c706122a284612bbe565b50505b6001600160a01b0382166132d9576132d66012612bb26122a284612bbe565b50505b6001600160a01b038381166000908152601060205260408082205485841683529120546107ba92918216911683612242565b82546000908190801561345457600061332987611971600185613bf3565b60408051808201909152905463ffffffff8082168084526401000000009092046001600160e01b0316602084015291925090871610156133ab5760405162461bcd60e51b815260206004820152601b60248201527f436865636b706f696e743a2064656372656173696e67206b65797300000000006044820152606401610924565b805163ffffffff8088169116036133f457846133cc88611971600186613bf3565b80546001600160e01b03929092166401000000000263ffffffff909216919091179055613444565b6040805180820190915263ffffffff80881682526001600160e01b0380881660208085019182528b54600181018d5560008d81529190912094519151909216640100000000029216919091179101555b602001519250839150612c689050565b50506040805180820190915263ffffffff80851682526001600160e01b0380851660208085019182528854600181018a5560008a815291822095519251909316640100000000029190931617920191909155905081612c68565b6001600160e01b031981168114610a8757600080fd5b6000602082840312156134d657600080fd5b81356111f6816134ae565b80356001600160a01b03811681146134f857600080fd5b919050565b6000806040838503121561351057600080fd5b613519836134e1565b915060208301356001600160601b038116811461353557600080fd5b809150509250929050565b60005b8381101561355b578181015183820152602001613543565b50506000910152565b6000815180845261357c816020860160208601613540565b601f01601f19169290920160200192915050565b6020815260006111f66020830184613564565b6000602082840312156135b557600080fd5b5035919050565b600080604083850312156135cf57600080fd5b6135d8836134e1565b946020939093013593505050565b6000806000606084860312156135fb57600080fd5b613604846134e1565b9250613612602085016134e1565b9150604084013590509250925092565b6000806040838503121561363557600080fd5b50508035926020909101359150565b6000806040838503121561365757600080fd5b82359150613667602084016134e1565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156136a1576136a1613670565b604051601f8501601f19908116603f011681019082821181831017156136c9576136c9613670565b816040528093508581528686860111156136e257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561370e57600080fd5b813567ffffffffffffffff81111561372557600080fd5b8201601f8101841361373657600080fd5b611a8884823560208401613686565b60006020828403121561375757600080fd5b6111f6826134e1565b60ff60f81b881681526000602060e08184015261378060e084018a613564565b8381036040850152613792818a613564565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b818110156137e4578351835292840192918401916001016137c8565b50909c9b505050505050505050505050565b8015158114610a8757600080fd5b6000806040838503121561381757600080fd5b613820836134e1565b91506020830135613535816137f6565b6000806040838503121561384357600080fd5b61384c836134e1565b9150602083013561ffff8116811461353557600080fd5b6000806000806080858703121561387957600080fd5b613882856134e1565b9350613890602086016134e1565b925060408501359150606085013567ffffffffffffffff8111156138b357600080fd5b8501601f810187136138c457600080fd5b6138d387823560208401613686565b91505092959194509250565b60008060008060008060c087890312156138f857600080fd5b613901876134e1565b95506020870135945060408701359350606087013560ff8116811461392557600080fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561395257600080fd5b61395b836134e1565b9150613667602084016134e1565b600181811c9082168061397d57607f821691505b602082108103611d5b57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176106835761068361399d565b634e487b7160e01b600052601260045260246000fd5b6000826139fd57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b601f8211156107ba57600081815260208120601f850160051c81016020861015613a8c5750805b601f850160051c820191505b81811015613aab57828155600101613a98565b505050505050565b815167ffffffffffffffff811115613acd57613acd613670565b613ae181613adb8454613969565b84613a65565b602080601f831160018114613b165760008415613afe5750858301515b600019600386901b1c1916600185901b178555613aab565b600085815260208120601f198616915b82811015613b4557888601518255948401946001909101908401613b26565b5085821015613b635787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156106835761068361399d565b600061ffff808316818103613b9d57613b9d61399d565b6001019392505050565b60008351613bb9818460208801613540565b835190830190613bcd818360208801613540565b01949350505050565b600060208284031215613be857600080fd5b81516111f6816137f6565b818103818111156106835761068361399d565b80516020808301519190811015611d5b5760001960209190910360031b1b16919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613c62816017850160208801613540565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613c93816028840160208801613540565b01602801949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052602160045260246000fd5b600081613d5b57613d5b61399d565b506000190190565b6001600160e01b03828116828216039080821115613d8357613d8361399d565b5092915050565b6001600160e01b03818116838216019080821115613d8357613d8361399d565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613ddd90830184613564565b9695505050505050565b600060208284031215613df957600080fd5b81516111f6816134ae565b634e487b7160e01b600052603160045260246000fdfea26469706673582212200f39c1bfd62d81499381d12ec68e8ee209b37006ea1c25da91d458721da83e3164736f6c6343000812003300000000000000000000000000000000000000000000000000000000000000a00000000000000000000000006a07feef7eb458a71ac0ae759ccd3c78c70139ca000000000000000000000000bc49de68bcbd164574847a7ced47e7475179c76b00000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6346364b43636342486d45617a4e4a57364d4e676839784a464261704c4664416566543139556572346934332f000000000000000000000000000000000000000000000000000000000000000000000000000000003b75646174613a6170706c69636174696f6e2f746578743b6261736536342c6347466a6132466e5a53426a6232307562474679646d467359574a7a4c6e5a76654756735a327835634767374367707062584276636e5167616d463259533570627935476157786c5433563063485630553352795a5746744f77707062584276636e5167616d4632595335706279354a543056345932567764476c76626a734b6157317762334a3049477068646d45756157387555484a70626e5258636d6c305a584937436d6c74634739796443427159585a684c6d316864476775516d6c6e535735305a57646c636a734b436938714b676f674b6941674c794d6a494341674943386a497941674943416749434167494341674943416749434167494341674943416749434167494341674943386a497941674943416749434167494341674c794d6a494341674943416749434167494341674943416749434167494341674c794d6a4943416749434167436941714948776749794d674943423849434d6a4943416749434167494341674943416749434167494341674943416749434167494341674943423849434d6a4943416749434167494341674948776749794d674943416749434167494341674943416749434167494341674948776749794d67494341674943414b49436f676643416a497941674948776749794d674c794d6a49794d6a497941674c794d6a494341674c794d6a4943417649794d6a49794d6a4948776749794d674943386a49794d6a49794d676643416a4979417649794d674943417649794d674943386a49794d6a49794d676643416a49794d6a49794d6a49416f674b6942384943416a4979417649434d6a4c79386a493139664943416a4933776749434d6a4943386a497938674c794d6a5831386749434d6a6643416a4979417649794e665879416749794e3849434d6a6643416a497941676643416a4979417649794e665879416749794e3849434d6a5831386749434d6a43694171494342634943416a4979416a4979393849434d6a4943426349434d6a4946776749434d6a49794d764948776749794d6a49794d6a49794e3849434d6a6643416a497941675843416a4933776749794e3849434d6a4943423849434d6a6643416a497941675843416a4933776749794d674946776749794d4b49436f67494342634943416a49794d764948776749794d674948776749794d674944346a4979416749794d676643416a49313966583139664c33776749794e3849434d6a4943423849434d6a6643416a4933776749794d674948776749794e3849434d6a4943423849434d6a6643416a497941676643416a49776f674b694167494342634943416a4c7941676643416749794d6a49794d6a4c79417649794d765843416749794e384943416a49794d6a49794d6a6643416a4933776749434d6a49794d6a49794e3849434d6a6643416749794d6a49794d6a4933776749794d6a49794d6a4979393849434d6a4943423849434d6a4369417149434167494342635879386749434167584639665831396658793867664639664c794167584639664c7942635831396658313966587939385831387649467866583139664943416a4933786658793867584639665831386749434d6a6643416a49313966583138764948786658793867494878665879384b49436f674943416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674c794d6a4943426349434d6a494341674943417649794d674948776749794e3849434d6a494341674943416749434167494341674943416749416f674b69416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674948776749434d6a49794d6a49793867494341676643416749794d6a49794d6a4c33776749794d674943416749434167494341674943416749434167436941714943416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674946786658313966583138764943416749434167584639665831396658793867664639664c776f674b676f674b694167494341674943416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674943416749474a3549457868636e5a6849457868596e4d674b453168644851675347467362434268626d5167536d396f62694258595852726157357a62323470436941714943416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674943416749476c7549484268636e52755a584a7a61476c7749486470644767676447686c49455a70626d646c636e427961573530637942455155384b49436f4b49436f675647686c49455a70626d646c636e42796157353063794245515538676233647563794242645852765a32783563476767497a457a4e434268626d51675a47567961585a6c6379423061475670636942736232647649475a79623230676447686c49434a6f59584e6f4969426d61576431636d5567595851676158527a49474e6c626e526c636934675647686c49474a6c6247393349474e765a47554b49436f675a573177624739356379423061475567633246745a5342726157356b4947396d494731765a485673595849675a6d6c6c6247516759584a70644768745a58527059794268637942306147556751585630623264736558426f4947646c626d5679595852766369427064484e6c62475967644738675957526b49474567614756705a32683049475a705a57786b494852764948526f61584d4b49436f6751585630623264736558426f4c43426a636d566864476c755a7942684948526f636d566c4c5752706257567563326c76626d467349484e30636e566a644856795a534230614746304948646c49474e68624777676447686c49434a576233686c624764736558426f4969344b49436f4b49436f675647686c49475a766247787664326c755a79424b59585a684948427962326479595730675a3256755a584a686447567a4948526f5a5342576233686c624764736558426f4948647064476767626d38675a4756775a57356b5a57356a6157567a49474a6c655739755a43426849484e305957356b59584a6b49457068646d4567556e567564476c745a534246626e5a70636d3975625756756443344b49436f675647686c4947393164484231644342706379426849484e6c636d6c6c637942765a69417a5243426a62793176636d5270626d46305a584d67644768686443426a6232357a64484a31593351676447686c49473969616d566a6443346756476876633255675932387462334a6b615735686447567a494778706333526c5a434268636d556764473867596d55675a6d6c736247566b494864706447674b49436f675953423361476c305a53426a64574a6c4c434268624777676233526f5a5849675932387462334a6b615735686447567a494746795a534230627942695a5342735a575a3049474e735a5746794c676f674b676f674b69425561475567636d567a645778306157356e494731765a47567349474e68626942695a5342795a57356b5a584a6c5a437767596d39306143427761486c7a61574e6862477835494746755a43423261584a306457467362486b7349476876643256325a5849676447686c49473933626d56794947526c63326c795a584d75436941714369417149454675655739755a53427459586b675a47386759584d676447686c6553423361584e6f4948647064476767644768706379426a6232526c4c434269645851676432556764326c7362434276626d783549474e76626e4e705a4756794948526f5a5342766458527764585167623259676447687063794277636d396e636d467449473975494546316447396e62486c776143416a4d544d30494746755a416f674b6942336158526f49484e6c5a5751674d6a45314f4451334f5449344d7a63304f4463784d544d6759584d676447686c494739755a534268626d516762323573655342576233686c624764736558426f4c676f674b69384b6348566962476c6a49474e7359584e7a49465a76654756735a3278356347676765776f4b49434167494338764946526f5a53427a655731696232787a49476c75494546316447396e62486c776143416a4d544d304369416749434277636d6c325958526c49484e30595852705979426d615735686243426a6147467949464e5a54554a50544639435445464f53794139494363754a7a734b494341674948427961585a68644755676333526864476c6a49475a70626d467349474e6f5958496755316c4e516b394d58306850556b6c61543035555155786654456c4f52534139494363744a7a734b494341674948427961585a68644755676333526864476c6a49475a70626d467349474e6f5958496755316c4e516b394d58315a46556c524a5130464d5830784a546b55675053416e664363374369416749434277636d6c325958526c49484e30595852705979426d615735686243426a6147467949464e5a54554a505446395154465654494430674a79736e4f776f4b49434167494338764945357664434268494852795957527064476c76626d46734947526c5a6d6c75615852706232346762325967496d39755a53497349474a316443426a6232357a61584e305a57353049486470644767676447686c494546316447396e62486c7761484d4b494341674948427961585a68644755676333526864476c6a49475a70626d467349454a705a306c756447566e5a5849675430354649443067626d563349454a705a306c756447566e5a58496f496a51794f5451354e6a63794f5459694b54734b4369416749434277636d6c325958526c49484e30595852705979426d6157356862434270626e51675230785a5545686655306c6152534139494459304f776f674943416763484a70646d46305a53427a6447463061574d675a6d6c755957776761573530494531425746394952556c48534651675053417a4d6a734b4369416749434277636d6c325958526c49484e30595852705979426d615735686243425464484a70626d6367515656555430644d57564249587a457a4e4341394943496949676f754c6934744c6e77754c6934754c6934744c6e77754c6934754c6934744c6e77754c6934754c6934744c6934744c6934754c693475664334744c6934754c693475664334744c6934754c693475664334744c693475436934754c6973754c6930754c6e777566433475664334754c6934754c6934724c6934744c6934744c693538664334754c5334754c5334754b7934754c6934754c6935384c6935384c6e77754c6930754c6973754c69344b4c6934754c6930754c693472664334754c6934754c5334754c6974384c6934754c6934744c6934754c6934754c6934754c6930754c6934754c6e77724c6934754c5334754c693475664373754c6934744c6934754c676f744b793475664330744b7934754c6934754c5373754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754b7930754c6934754c6973744c5877754c697374436934754c5877754c6935384c6934754c6934724c6935384c6973754c6934754c6934754c6930754c6934724b7934754c6930754c6934754c6934754c697375664334754b7934754c693475664334754c6e77744c69344b664334754c5335384c6934754c6934754c6934754c6934754c6934754c6934754c6973754c6934754b7934754b7934754c6934724c6934754c6934754c6934754c6934754c6934754c6934754c6e77754c53347566416f754c5334744c6934744c6930754c6e77754c5334754c5335384c6935384c6e77754c6e77754c6934754c6934754c69347566433475664335384c6935384c6930754c693075664334754c5334744c6934744c693075436934754c6974384c6934754c5877754c693472664334754c6930754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6930754c6935384b7934754c6e77744c693475664373754c69344b4c6934724c6934754c5330724c6e77744b793475664330754c6e78384c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6e78384c693474664334754b7931384c6973744c5334754c6973754c676f75664877754c693475664334754c6934754c6934724c6934754c6973754c6934754c6930754c6934754b7973754c6934754c5334754c6934754b7934754c6934724c6934754c6934754c6e77754c69347566487775436934754c6934754c693475664335384c5335384b7934724c6934724c6934754c6934754c6e77754c6930754c6930754c6e77754c6934754c6934754b7934754b79347266433474664335384c6934754c6934754c69344b4c6e77754c693475664334744c6930754b7934754c6934724c6973754b7934754c6934754c6934754c6e78384c6934754c6934754c6934754b7934724c6973754c6934754b7934744c693075664334754c6935384c676f744c6934754c6934754c6973754c6974384c6934754b7934754c5877754c6934754c6934724c5334754c6934754c6930724c6934754c693475664330754c6973754c6935384b7934754b7934754c6934754c693474436934754c6930724c6930724c6935384c6934754c6934754c6934754c6935384c537375664334754c6934754c6934754c6935384c697374664334754c6934754c6934754c693475664334754b7930754b7930754c69344b664877754b7934754c6e77754c6973754c6934754c6934724c6934754c6934754b7930754c6934754c6973724c6934754c6934744b7934754c6934754c6973754c6934754c6934724c6935384c6934754b79353866416f754c6930754c6934754c6e77724c6934754c6934744c6930754c6934754c6e77744c6934754c6934744c6934744c6934754c693474664334754c6934754c5334744c6934754c693472664334754c6934754c533475436934754c6935384c6930754c5334724c6973754c6934754c693475664335384c6973754b7934754c6934754c6934754c6934724c697375664335384c6934754c6934754c6973754b7934744c693075664334754c69344b4c6934754c6934754c6934754c6934724c6934724c5334724c5334754c5334754c6934754c6e77754c6934754c6935384c6934754c6934754c5334754c5373754c5373754c6973754c6934754c6934754c6934754c676f754c6934754b7935384c5334754c6934754c6934754c6930754c6934754c6934754b7935384c5334754c6934754c6931384c6973754c6934754c6934754c5334754c6934754c6934754c6931384c6973754c693475436934754b7934754c693475664334724b7930754c6934754c6934754b7973744c6934754c6934754c6934724b7934754c6934754c6934754c5373724c6934754c6934754c6930724b7935384c6934754c6934724c69344b4c6935384c6934754c6935384b793475664334754c6e77754c6973754c6e77754c6934744b79347566433475664334754b7930754c6935384c6934724c6935384c693475664334754b3377754c6934754c6e77754c676f744c6934754c6935384c6934754c6973754c6934754c6930754b7934754c6934754c5334744c6934754c6934754c6934744c6930754c6934754c6973754c5334754c6934754b7934754c6935384c6934754c693474436934724c6934754c6934754c6934754c6935384c6935384c693474664334724c6934754c6934754c6934754c6934754c6934754c6934754b7935384c53347566433475664334754c6934754c6934754c6934754b79344b664334754c693475664334754c6934754c693075664334754c6934754c6934754c6934754c6930754c6934754c6934744c6934754c6934754c6934754c693475664334744c6934754c693475664334754c69347566416f754c6934754c6934754c6934754c6934754b7973744b7934754c6934754c6934754c6934754c6934724c5330724c6934754c6934754c6934754c6934754c6973744b7973754c6934754c6934754c6934754c693475436934744c6934754b7934754c6934754c6934754c5334754c6973754c6930754c6934744c6934754c6934754c6934754c6934754c5334754c6930754c6973754c6934744c6934754c6934754c6934724c6934754c53344b4c6934744c693475664334754c5334754c6e77754c6973754c6934744c6934754c6934754c5334724c6934754c6973754c5334754c6934754c6930754c6934724c6935384c6934754c533475664334754c6930754c676f754c6934754c5334754c693475664334724c6934754c6935384c6973744c6934754c6930754c6973754c6934754b7934754c5334754c6934744b7935384c6934754c6934724c6e77754c6934754c6930754c693475436934744c6934754c6934754c6934754c6930754c693475664330754c6934754c5334754c6934754b7934754c6934724c6934754c6934744c6934754c6931384c6934754c6930754c6934754c6934754c6934754c53344b4c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934724b7973724c5373724c5373724b7973754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c676f744c6934754c6973754c6934754c5334754c6934744c6934754c6e77754c6934724c6934754c6930754c6934754c5334754c6934724c693475664334754c6934744c6934754c6930754c6934754b7934754c693474436935384c6934724c6934754c697375664334754b7934754c6934724c6934754c6930754c6934754b7934754c6934724c6934754c6930754c6934754b7934754c6934724c6935384c6973754c6934754b7934756643344b4c6e77754c6973754c6934754b7935384c6934724c6934754c6973754c6934754c5334754c6934724c6934754c6973754c6934754c5334754c6934724c6934754c6973754c6e77754b7934754c6934724c6935384c676f744c6934754c6973754c6934754c5334754c6934744c6934754c6e77754c6934724c6934754c6930754c6934754c5334754c6934724c693475664334754c6934744c6934754c6930754c6934754b7934754c693474436934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754b7973724b7930724b7930724b7973724c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c69344b4c6930754c6934754c6934754c6934754c5334754c6935384c5334754c6934744c6934754c6934724c6934754c6973754c6934754c6930754c6934754c5877754c6934754c5334754c6934754c6934754c6934744c676f754c6934754c5334754c693475664334724c6934754c6935384c6973744c6934754c6930754c6973754c6934754b7934754c5334754c6934744b7935384c6934754c6934724c6e77754c6934754c6930754c693475436934754c5334754c6e77754c6930754c6935384c6934724c6934754c5334754c6934754c6930754b7934754c6934724c6930754c6934754c6934744c6934754b793475664334754c6930754c6e77754c6934744c69344b4c6930754c6934724c6934754c6934754c6934744c6934754b7934754c5334754c6930754c6934754c6934754c6934754c6934744c6934754c5334754b7934754c6930754c6934754c6934754c6973754c6934744c676f754c6934754c6934754c6934754c6934754b7973744b7934754c6934754c6934754c6934754c6934724c5330724c6934754c6934754c6934754c6934754c6973744b7973754c6934754c6934754c6934754c693475436e77754c6934754c6e77754c6934754c6934744c6e77754c6934754c6934754c6934754c6934744c6934754c6934754c5334754c6934754c6934754c6934754c6e77754c5334754c6934754c6e77754c6934754c6e774b4c6973754c6934754c6934754c6934754c6e77754c6e77754c6931384c6973754c6934754c6934754c6934754c6934754c6934754c6934724c6e77744c6935384c6935384c6934754c6934754c6934754c6934724c676f744c6934754c6935384c6934754c6973754c6934754c6930754b7934754c6934754c5334744c6934754c6934754c6934744c6930754c6934754c6973754c5334754c6934754b7934754c6935384c6934754c69347443693475664334754c693475664373754c6e77754c6935384c6934724c6935384c6934754c5373754c6e77754c6e77754c6973744c693475664334754b793475664334754c6e77754c6974384c6934754c6935384c69344b4c6934724c6934754c6935384c6973724c5334754c6934754c6934724b7930754c6934754c6934754c6973724c6934754c6934754c6934744b7973754c6934754c6934754c5373724c6e77754c6934754c6973754c676f754c6934754b7935384c5334754c6934754c6934754c6930754c6934754c6934754b7935384c5334754c6934754c6931384c6973754c6934754c6934754c5334754c6934754c6934754c6931384c6973754c693475436934754c6934754c6934754c6934754b7934754b7930754b7930754c6930754c6934754c6935384c6934754c693475664334754c6934754c6930754c6930724c6930724c6934724c6934754c6934754c6934754c69344b4c6934754c6e77754c5334744c6973754b7934754c6934754c6935384c6e77754b7934724c6934754c6934754c6934754c6973754b7935384c6e77754c6934754c6934754b7934724c6930754c5335384c6934754c676f754c6930754c6934754c6e77724c6934754c6934744c6930754c6934754c6e77744c6934754c6934744c6934744c6934754c693474664334754c6934754c5334744c6934754c693472664334754c6934754c533475436e78384c6973754c6935384c6934724c6934754c6934754b7934754c6934754c6973744c6934754c6934724b7934754c6934754c5373754c6934754c6934724c6934754c6934754b793475664334754c6973756648774b4c6934754c5373754c5373754c6e77754c6934754c6934754c6934754c6e77744b7935384c6934754c6934754c6934754c6e77754b7931384c6934754c6934754c6934754c6935384c6934724c5334724c5334754c676f744c6934754c6934754c6973754c6974384c6934754b7934754c5877754c6934754c6934724c5334754c6934754c6930724c6934754c693475664330754c6973754c6935384b7934754b7934754c6934754c693474436935384c6934754c6e77754c5334744c6973754c6934754b7934724c6973754c6934754c6934754c693538664334754c6934754c6934754c6973754b7934724c6934754c6973754c5334744c6e77754c6934756643344b4c6934754c6934754c6935384c6e77744c6e77724c6973754c6973754c6934754c693475664334754c5334754c533475664334754c6934754c6934724c6934724c6974384c6931384c6e77754c6934754c6934754c676f75664877754c693475664334754c6934754c6934724c6934754c6973754c6934754c6930754c6934754b7973754c6934754c5334754c6934754b7934754c6934724c6934754c6934754c6e77754c69347566487775436934754b7934754c6930744b7935384c5373754c6e77744c693538664334754c6934754c6934754c6934754c6934754c6934754c6934754c693538664334754c5877754c697374664334724c5330754c6934724c69344b4c6934754b3377754c693474664334754c6974384c6934754c5334754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c5334754c6e77724c693475664330754c6935384b7934754c676f754c5334744c6934744c6930754c6e77754c5334754c5335384c6935384c6e77754c6e77754c6934754c6934754c69347566433475664335384c6935384c6930754c693075664334754c5334744c6934744c693075436e77754c693075664334754c6934754c6934754c6934754c6934754c6934754c6934724c6934754c6973754c6973754c6934754b7934754c6934754c6934754c6934754c6934754c6934754c6935384c6930754c6e774b4c693474664334754c6e77754c6934754c6973754c6e77754b7934754c6934754c6934754c5334754c6973724c6934754c5334754c6934754c6934754b7935384c6934724c6934754c6935384c693475664330754c676f744b793475664330744b7934754c6934754c5373754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754b7930754c6934754c6973744c5877754c697374436934754c6934744c6934754b3377754c6934754c6930754c693472664334754c6934754c5334754c6934754c6934754c6934744c6934754c6935384b7934754c6930754c6934754c6e77724c6934754c5334754c69344b4c6934754b7934754c533475664335384c6935384c6934754c6934754c6973754c6930754c6930754c6e78384c6934744c6934744c6934724c6934754c6934754c6e77754c6e7775664334754c5334754b7934754c676f754c6934744c6e77754c6934754c6934744c6e77754c6934754c6934744c6e77754c6934754c6934744c6934744c6934754c693475664334744c6934754c693475664334744c6934754c693475664334744c69347543694969496a734b4369416749434277636d6c325958526c49484e30595852705979426a6247467a6379424e6232526c6243423743676f674943416749434167494338764946526f5a53426a62793176636d5270626d46305a584d676543776765534268626d51676569426a62334a795a584e776232356b49485276494864705a48526f4c43426b5a584230614377675957356b4947686c6157646f64416f67494341674943416749476c756443423455326c365a53776765564e70656d5573494870546158706c4f776f4b4943416749434167494341764c794255614755674d3051676257396b5a57774b494341674943416749434269623239735a574675573131625856746449474e6c6247787a4f776f4b49434167494341674943424e6232526c62436870626e516765464e70656d557349476c756443423555326c365a53776761573530494870546158706c4b534237436941674943416749434167494341674948526f61584d7565464e70656d55675053423455326c365a54734b49434167494341674943416749434167644768706379353555326c365a53413949486c546158706c4f776f674943416749434167494341674943423061476c7a4c6e70546158706c49443067656c4e70656d55374369416749434167494341674943416749474e6c6247787a49443067626d563349474a766232786c5957356265464e70656d566457336c546158706c5856743655326c365a56303743694167494341674943416766516f4b49434167494341674943423262326c6b49484e6c64436870626e5167654377676157353049486b7349476c75644342364b5342374369416749434167494341674943416749474e6c6247787a5733686457336c64573370644944306764484a315a54734b49434167494341674943423943676f67494341674943416749485a76615751675932786c5958496f615735304948677349476c75644342354c434270626e516765696b6765776f674943416749434167494341674943426a5a5778736331743458567435585674365853413949475a6862484e6c4f776f6749434167494341674948304b436941674943416749434167514539325a584a796157526c4369416749434167494341676348566962476c6a49464e30636d6c755a79423062314e30636d6c755a7967704948734b49434167494341674943416749434167553352796157356e516e56706247526c6369427a596941394947356c6479425464484a70626d644364576c735a4756794b436b374369416749434167494341674943416749475a766369416f6157353049486f67505341774f79423649447767656c4e70656d553749486f724b796b6765776f6749434167494341674943416749434167494341675a6d397949436870626e5167655341394944413749486b675043423555326c365a547367655373724b534237436941674943416749434167494341674943416749434167494341675a6d397949436870626e51676543413949444137494867675043423455326c365a547367654373724b534237436941674943416749434167494341674943416749434167494341674943416749476c6d4943686a5a57787363317434585674355856743658536b6765776f6749434167494341674943416749434167494341674943416749434167494341674943416763324975595842775a57356b4b43496f49696b75595842775a57356b4b4867704c6d4677634756755a4367694c4341694b5335686348426c626d516f65536b75595842775a57356b4b434973494349704c6d4677634756755a4368364b5335686348426c626d516f49696c63626949704f776f6749434167494341674943416749434167494341674943416749434167494342394369416749434167494341674943416749434167494341674943416766516f67494341674943416749434167494341674943416766516f67494341674943416749434167494342394369416749434167494341674943416749484a6c644856796269427a5969353062314e30636d6c755a7967704f776f6749434167494341674948304b494341674948304b4369416749434277636d6c325958526c49484e30595852705979426a61474679494764736558426f55336c74596d39735158516f615735304948677349476c75644342354b5342374369416749434167494341676157353049476c755a47563449443067655341714943684854466c515346395453567046494373674d536b674b7942344f776f67494341674943416749484a6c6448567962694242565652505230785a554568664d544d304c6d4e6f59584a4264436870626d526c65436b37436941674943423943676f67494341674c79386756334a70644755676447686c4947467763484a7663484a705958526c49485a76654756736379426d623349676447686c494764736558426f49484e3562574a7662434268644342344c4342354c434268626d516765676f674943416763484a70646d46305a53427a6447463061574d67646d39705a434233636d6c305a565a766547567363305a76636c4e3562574a76624546304b4531765a475673494731765a4756734c434270626e5167654377676157353049486b7349476c75644342364b534237436941674943416749434167593268686369427a65573169623277675053426e62486c7761464e3562574a76624546304b48677349486b704f776f674943416749434167494867674b6a30674d7a734b49434167494341674943423649436f3949444937436941674943416749434167655341715053417a4f776f67494341674943416749476c6d4943687a65573169623277675054306755316c4e516b394d5831424d56564d704948734b494341674943416749434167494341675a6d397949436870626e5167656e6f67505342364f7942366569413849486f674b7941794f794236656973724b534237436941674943416749434167494341674943416749434167494341676257396b5a577775633256304b4867674b7941784c4342354c43423665696b37436941674943416749434167494341674943416749434167494341676257396b5a577775633256304b4867674b7941784c434235494373674d697767656e6f704f776f67494341674943416749434167494341674943416749434167494731765a4756734c6e4e6c644368344c434235494373674d537767656e6f704f776f67494341674943416749434167494341674943416749434167494731765a4756734c6e4e6c64436834494373674d6977676553417249444573494870364b54734b494341674943416749434167494341674943416749434167494342746232526c6243357a5a58516f654341724944457349486b674b7941784c43423665696b37436941674943416749434167494341674948304b4943416749434167494342394947567363325567615759674b484e3562574a76624341395053425457553143543078665345395353567050546c52425446394d535535464b5342374369416749434167494341674943416749475a766369416f615735304948703649443067656a7367656e6f6750434236494373674d6a7367656e6f724b796b6765776f6749434167494341674943416749434167494341676257396b5a577775633256304b48677349486b674b7941784c43423665696b374369416749434167494341674943416749434167494342746232526c6243357a5a58516f654341724944457349486b674b7941784c43423665696b374369416749434167494341674943416749434167494342746232526c6243357a5a58516f654341724944497349486b674b7941784c43423665696b37436941674943416749434167494341674948304b494341674943416749434167494341676257396b5a5777755932786c5958496f654341724944457349486b674b7941784c4342364b54734b4943416749434167494342394947567363325567615759674b484e3562574a7662434139505342545755314354307866566b565356456c445155786654456c4f52536b6765776f674943416749434167494341674943426d623349674b476c75644342366569413949486f3749487036494477676569417249444937494870364b7973704948734b4943416749434167494341674943416749434167494731765a4756734c6e4e6c64436834494373674d53776765537767656e6f704f776f6749434167494341674943416749434167494341676257396b5a577775633256304b4867674b7941784c434235494373674d537767656e6f704f776f6749434167494341674943416749434167494341676257396b5a577775633256304b4867674b7941784c434235494373674d697767656e6f704f776f674943416749434167494341674943423943694167494341674943416749434167494731765a4756734c6d4e735a5746794b4867674b7941784c434235494373674d53776765696b3743694167494341674943416766516f674943416766516f4b494341674943387149436f714b696f714b6941714b696f714b696f714b696f714b696f714b696f714b696f714b696f714b696f714b696f7149436f714b696f714b6941714c776f4b49434167494338764946526f5a53426d6232787362336470626d63675932396b5a53426e5a57356c636d46305a584d6759584a304c676f4b494341674948427961585a68644755676333526864476c6a494531765a47567349474e795a5746305a565a7665475673523278356347676f516d6c6e535735305a57646c636942684b5342374369416749434167494341674c7938675257466a6143426a5a5778734947396d4948526f5a534242645852765a32783563476767596d566a6232316c6379426849444e344d33684f494852766432567949476c754948526f5a5342576233686c624764736558426f4c4342336158526f49485276643256794947686c6157646f6443427062694270626d4e795a57316c626e527a4947396d4944494b4943416749434167494342436157644a626e526c5a32567949475a705a57786b49443067516d6c6e535735305a57646c63693532595778315a55396d4b444d784b54734b49434167494341674943424e6232526c624342746232526c624341394947356c6479424e6232526c6243684854466c51534639545356704649436f674d7977675230785a5545686655306c615253417149444d73494531425746394952556c48534651674b6941794b54734b49434167494341674943426d623349674b476c7564434234494430674d447367654341384945644d5756424958314e4a576b5537494867724b796b6765776f6749434167494341674943416749434270626e5167634867675053424e5958526f4c6d317062696834494373674d5377675230785a5545686655306c6152534174494867704f776f6749434167494341674943416749434270626e5167654867675053427765434174494445374369416749434167494341674943416749475a766369416f6157353049486b67505341774f794235494477675230785a5545686655306c6152547367655373724b5342374369416749434167494341674943416749434167494342705a69416f5a327835634768546557316962327842644368344c4342354b534168505342545755314354307866516b7842546b73704948734b49434167494341674943416749434167494341674943416749434270626e516763486b675053424e5958526f4c6d317062696835494373674d5377675230785a5545686655306c615253417449486b704f776f67494341674943416749434167494341674943416749434167494338764945567559323931636d466e5a53426849484a766457646f62486b6763486c79595731705a47467349484e6f5958426c4369416749434167494341674943416749434167494341674943416761573530494841675053424e5958526f4c6d3170626968776543776763486b7049436f674e53417649445137436941674943416749434167494341674943416749434167494341676157353049486c354944306763486b674c5341784f776f6749434167494341674943416749434167494341674943416749476c7564434277636d396b64574e3049443067654867674b6942356554734b494341674943416749434167494341674943416749434167494341764c79424e623252316247467949475a705a57786b49484e3064575a6d436941674943416749434167494341674943416749434167494341676157353049476767505342436157644a626e526c5a3256794c6e5a686248566c5432596f63484a765a48566a64436b756258567364476c7762486b6f59536b755a476c326157526c4b45394f52536b756257396b4b475a705a57786b4b533570626e5257595778315a5367704f776f6749434167494341674943416749434167494341674943416749476c756443427349443067634867674b6942776554734b49434167494341674943416749434167494341674943416749434270626e5167614756705a3268304944306754574630614335746157346f61434171494841674c7941794f53417249444573494449324b54734b4943416749434167494341674943416749434167494341674943426f5a576c6e614851675053426f5a576c6e614851674b79416f62434176494463314d436b674b69416f63434171494531425746394952556c48534651674c7941304d4341744947686c6157646f64436b37436941674943416749434167494341674943416749434167494341674c793867513239756333527964574e304948526f5a5342306233646c63676f6749434167494341674943416749434167494341674943416749475a766369416f6157353049486f67505341774f79423649447767614756705a3268304f7942364b7973704948734b494341674943416749434167494341674943416749434167494341674943416764334a70644756576233686c62484e4762334a546557316962327842644368746232526c62437767654377676553776765696b374369416749434167494341674943416749434167494341674943416766516f67494341674943416749434167494341674943416766516f674943416749434167494341674943423943694167494341674943416766516f67494341674943416749484a6c64485679626942746232526c6244734b494341674948304b43694167494341764b6941714b696f714b696f674b696f714b696f714b696f714b696f714b696f714b696f714b696f714b696f714b696f714b6941714b696f714b696f674b69384b43694167494341764c794253645734676447686c4947646c626d56795958527663676f67494341676348566962476c6a49484e30595852705979423262326c6b494731686157346f553352796157356e5731306759584a6e63796b67644768796233647a49456c505258686a5a584230615739754948734b4943416749434167494341764c7942545a57566b49484e6c6247566a6447566b49475a76636942685a584e306147563061574e7a436941674943416749434167516d6c6e535735305a57646c6369427a5a57566b49443067626d563349454a705a306c756447566e5a58496f496a49784e5467304e7a6b794f444d334e4467334d54457a49696b374369416749434167494341675457396b5a5777676257396b5a5777675053426a636d5668644756576233686c624564736558426f4b484e6c5a5751704f776f674943416749434167494642796157353056334a706447567949473931644341394947356c64794251636d6c75644664796158526c636968755a586367526d6c735a5539316448423164464e30636d566862536769646d39345a57786e62486c7761433530654851694b536b37436941674943416749434167623356304c6e4279615735304b4731765a4756734c6e5276553352796157356e4b436b704f776f674943416749434167494739316443356a6247397a5a5367704f776f67494341676651703943673d3d0000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061028a5760003560e01c80635c19a95c1161015c57806395d89b41116100ce578063c3cda52011610087578063c3cda520146105c9578063c87b56dd146105dc578063d5391393146105ef578063d547741f14610616578063e985e9c514610629578063ea146e511461066557600080fd5b806395d89b411461056d5780639ab24eb014610575578063a217fddf14610588578063a22cb46514610590578063aab26e3d146105a3578063b88d4fde146105b657600080fd5b80637ecebe00116101205780637ecebe00146104f25780638456cb591461050557806384b0196e1461050d5780638e539e8c1461052857806391d148541461053b57806391ddadf41461054e57600080fd5b80635c19a95c146104a65780635c975abb146104b957806361795d6a146104c45780636352211e146104cc57806370a08231146104df57600080fd5b806332cb6b0c1161020057806342842e0e116101b957806342842e0e1461042657806342966c68146104395780634bf5d7e91461044c5780634f6ccce71461045457806355f804b314610467578063587cde1e1461047a57600080fd5b806332cb6b0c146103bf5780633644e515146103db57806336568abe146103e35780633a46b1a8146103f65780633f4ba83a1461040957806341f434341461041157600080fd5b806318160ddd1161025257806318160ddd1461031f57806323b872dd14610331578063248a9ca3146103445780632a55205a146103675780632f2ff15d146103995780632f745c59146103ac57600080fd5b806301ffc9a71461028f57806304634d8d146102b757806306fdde03146102cc578063081812fc146102e1578063095ea7b31461030c575b600080fd5b6102a261029d3660046134c4565b610678565b60405190151581526020015b60405180910390f35b6102ca6102c53660046134fd565b610689565b005b6102d46106ed565b6040516102ae9190613590565b6102f46102ef3660046135a3565b61077f565b6040516001600160a01b0390911681526020016102ae565b6102ca61031a3660046135bc565b6107a6565b600a545b6040519081526020016102ae565b6102ca61033f3660046135e6565b6107bf565b6103236103523660046135a3565b6000908152600d602052604090206001015490565b61037a610375366004613622565b6107ea565b604080516001600160a01b0390931683526020830191909152016102ae565b6102ca6103a7366004613644565b610896565b6103236103ba3660046135bc565b6108bb565b6103c86107d081565b60405161ffff90911681526020016102ae565b610323610956565b6102ca6103f1366004613644565b610965565b6103236104043660046135bc565b6109e3565b6102ca610a74565b6102f46daaeb6d7670e522a718067333cd4e81565b6102ca6104343660046135e6565b610a8a565b6102ca6104473660046135a3565b610aaf565b6102d4610adf565b6103236104623660046135a3565b610b77565b6102ca6104753660046136fc565b610c0a565b6102f4610488366004613745565b6001600160a01b039081166000908152601060205260409020541690565b6102ca6104b4366004613745565b610c5d565b600c5460ff166102a2565b6102d4610c68565b6102f46104da3660046135a3565b610cf6565b6103236104ed366004613745565b610d56565b610323610500366004613745565b610ddc565b6102ca610dfa565b610515610e0d565b6040516102ae9796959493929190613760565b6103236105363660046135a3565b610e96565b6102a2610549366004613644565b610f10565b610556610f3b565b60405165ffffffffffff90911681526020016102ae565b6102d4610f46565b610323610583366004613745565b610f55565b610323600081565b6102ca61059e366004613804565b610f76565b6102ca6105b1366004613830565b610f8a565b6102ca6105c4366004613863565b611043565b6102ca6105d73660046138df565b611069565b6102d46105ea3660046135a3565b611196565b6103237f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102ca610624366004613644565b6111fd565b6102a261063736600461393f565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6102d46106733660046135a3565b611222565b6000610683826112ea565b92915050565b60006106948161130f565b61069e8383611319565b604080516001600160a01b03851681526001600160601b03841660208201527f8a8bae378cb731c5c40b632330c6836c2f916f48edb967699c86736f9a6a76ef910160405180910390a1505050565b6060600280546106fc90613969565b80601f016020809104026020016040519081016040528092919081815260200182805461072890613969565b80156107755780601f1061074a57610100808354040283529160200191610775565b820191906000526020600020905b81548152906001019060200180831161075857829003601f168201915b5050505050905090565b600061078a82611416565b506000908152600660205260409020546001600160a01b031690565b816107b081611475565b6107ba838361152e565b505050565b826001600160a01b03811633146107d9576107d933611475565b6107e484848461163e565b50505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161085f5750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061087e906001600160601b0316876139b3565b61088891906139e0565b915196919550909350505050565b6000828152600d60205260409020600101546108b18161130f565b6107ba838361166e565b60006108c683610d56565b821061092d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084015b60405180910390fd5b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b60006109606116f4565b905090565b6001600160a01b03811633146109d55760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610924565b6109df828261181f565b5050565b60006109ed610f3b565b65ffffffffffff168210610a3a5760405162461bcd60e51b81526020600482015260146024820152730566f7465733a20667574757265206c6f6f6b75760641b6044820152606401610924565b610a64610a4683611886565b6001600160a01b0385166000908152601160205260409020906118ef565b6001600160e01b03169392505050565b6000610a7f8161130f565b610a876119a4565b50565b826001600160a01b0381163314610aa457610aa433611475565b6107e48484846119f6565b610aba335b82611a11565b610ad65760405162461bcd60e51b815260040161092490613a02565b610a8781611a90565b606043610aea610f3b565b65ffffffffffff1614610b3f5760405162461bcd60e51b815260206004820152601860248201527f566f7465733a2062726f6b656e20636c6f636b206d6f646500000000000000006044820152606401610924565b5060408051808201909152601d81527f6d6f64653d626c6f636b6e756d6265722666726f6d3d64656661756c74000000602082015290565b6000610b82600a5490565b8210610be55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610924565b600a8281548110610bf857610bf8613a4f565b90600052602060002001549050919050565b6000610c158161130f565b6015610c218382613ab3565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf682604051610c519190613590565b60405180910390a15050565b336109df8183611a99565b60158054610c7590613969565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca190613969565b8015610cee5780601f10610cc357610100808354040283529160200191610cee565b820191906000526020600020905b815481529060010190602001808311610cd157829003601f168201915b505050505081565b6000818152600460205260408120546001600160a01b0316806106835760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610924565b60006001600160a01b038216610dc05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610924565b506001600160a01b031660009081526005602052604090205490565b6001600160a01b038116600090815260136020526040812054610683565b6000610e058161130f565b610a87611b0b565b600060608082808083610e417f566f78656c676c7970680000000000000000000000000000000000000000000a600e611b48565b610e6c7f3100000000000000000000000000000000000000000000000000000000000001600f611b48565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6000610ea0610f3b565b65ffffffffffff168210610eed5760405162461bcd60e51b81526020600482015260146024820152730566f7465733a20667574757265206c6f6f6b75760641b6044820152606401610924565b610f01610ef983611886565b6012906118ef565b6001600160e01b031692915050565b6000918252600d602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600061096043611bec565b6060600380546106fc90613969565b6001600160a01b0381166000908152601160205260408120610f0190611c53565b81610f8081611475565b6107ba8383611c8d565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610fb48161130f565b6000610fbf60145490565b90506107d0610fd261ffff851683613b73565b1115610ff157604051638a164f6360e01b815260040160405180910390fd5b60005b8361ffff168161ffff16101561103c57611012601480546001019055565b600061101d60145490565b90506110298682611c98565b508061103481613b86565b915050610ff4565b5050505050565b836001600160a01b038116331461105d5761105d33611475565b61103c85858585611cb2565b834211156110b95760405162461bcd60e51b815260206004820152601860248201527f566f7465733a207369676e6174757265206578706972656400000000000000006044820152606401610924565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b0388169181019190915260608101869052608081018590526000906111339061112b9060a00160405160208183030381529060405280519060200120611ce4565b858585611d11565b905061113e81611d39565b86146111835760405162461bcd60e51b8152602060048201526014602482015273566f7465733a20696e76616c6964206e6f6e636560601b6044820152606401610924565b61118d8188611a99565b50505050505050565b60606111a182611416565b60006111ab611d61565b905060008151116111cb57604051806020016040528060008152506111f6565b806111d584611d70565b6040516020016111e6929190613ba7565b6040516020818303038152906040525b9392505050565b6000828152600d60205260409020600101546112188161130f565b6107ba838361181f565b60606016805461123190613969565b80601f016020809104026020016040519081016040528092919081815260200182805461125d90613969565b80156112aa5780601f1061127f576101008083540402835291602001916112aa565b820191906000526020600020905b81548152906001019060200180831161128d57829003601f168201915b50505050509050919050565b60006020835110156112d2576112cb83611e03565b9050610683565b816112dd8482613ab3565b5060ff9050610683565b90565b60006001600160e01b03198216637965db0b60e01b1480610683575061068382611e41565b610a878133611e4c565b6127106001600160601b03821611156113875760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610924565b6001600160a01b0382166113dd5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610924565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b6000818152600460205260409020546001600160a01b0316610a875760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610924565b6daaeb6d7670e522a718067333cd4e3b15610a8757604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156114e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115069190613bd6565b610a8757604051633b79c77360e21b81526001600160a01b0382166004820152602401610924565b600061153982610cf6565b9050806001600160a01b0316836001600160a01b0316036115a65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610924565b336001600160a01b03821614806115c257506115c28133610637565b6116345760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610924565b6107ba8383611ea5565b61164733610ab4565b6116635760405162461bcd60e51b815260040161092490613a02565b6107ba838383611f13565b6116788282610f10565b6109df576000828152600d602090815260408083206001600160a01b03851684529091529020805460ff191660011790556116b03390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000306001600160a01b037f000000000000000000000000a94161fbe69e08ff5a36dfafa61bdf29dd2fb9281614801561174d57507f000000000000000000000000000000000000000000000000000000000000000146145b1561177757507f3ae67ec825756a7c3bfd8854443708468afdcf34022d80b300aa8ae4875fd74090565b610960604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527fe7f69150d3d61b8a10d79f6b691ebe56f54e4c90185b1a482cbce120d9e04d45918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6118298282610f10565b156109df576000828152600d602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600063ffffffff8211156118eb5760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401610924565b5090565b81546000908181600581111561194c57600061190a8461208c565b6119149085613bf3565b60008881526020902090915081015463ffffffff908116908716101561193c5780915061194a565b611947816001613b73565b92505b505b600061195a87878585612174565b905080156119965761197f87611971600184613bf3565b600091825260209091200190565b5464010000000090046001600160e01b0316611999565b60005b979650505050505050565b6119ac6121d2565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6107ba83838360405180602001604052806000815250611043565b600080611a1d83610cf6565b9050806001600160a01b0316846001600160a01b03161480611a6457506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b80611a885750836001600160a01b0316611a7d8461077f565b6001600160a01b0316145b949350505050565b610a878161221d565b6001600160a01b0382811660008181526010602052604080822080548686166001600160a01b0319821681179092559151919094169392849290917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46107ba8183611b0686612237565b612242565b611b136123ae565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586119d93390565b606060ff8314611b5b576112cb836123f4565b818054611b6790613969565b80601f0160208091040260200160405190810160405280929190818152602001828054611b9390613969565b8015611be05780601f10611bb557610100808354040283529160200191611be0565b820191906000526020600020905b815481529060010190602001808311611bc357829003601f168201915b50505050509050610683565b600065ffffffffffff8211156118eb5760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203460448201526538206269747360d01b6064820152608401610924565b80546000908015611c8457611c6d83611971600184613bf3565b5464010000000090046001600160e01b03166111f6565b60009392505050565b6109df338383612433565b6109df828260405180602001604052806000815250612501565b611cbc3383611a11565b611cd85760405162461bcd60e51b815260040161092490613a02565b6107e484848484612534565b6000610683611cf16116f4565b8360405161190160f01b8152600281019290925260228201526042902090565b6000806000611d2287878787612567565b91509150611d2f8161262b565b5095945050505050565b6001600160a01b03811660009081526013602052604090208054600181018255905b50919050565b6060601580546106fc90613969565b60606000611d7d83612775565b600101905060008167ffffffffffffffff811115611d9d57611d9d613670565b6040519080825280601f01601f191660200182016040528015611dc7576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611dd157509392505050565b600080829050601f81511115611e2e578260405163305a27a960e01b81526004016109249190613590565b8051611e3982613c06565b179392505050565b60006106838261284d565b611e568282610f10565b6109df57611e6381612872565b611e6e836020612884565b604051602001611e7f929190613c2a565b60408051601f198184030181529082905262461bcd60e51b825261092491600401613590565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611eda82610cf6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b826001600160a01b0316611f2682610cf6565b6001600160a01b031614611f4c5760405162461bcd60e51b815260040161092490613c9f565b6001600160a01b038216611fae5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610924565b611fbb8383836001612a20565b826001600160a01b0316611fce82610cf6565b6001600160a01b031614611ff45760405162461bcd60e51b815260040161092490613c9f565b600081815260066020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260058552838620805460001901905590871680865283862080546001019055868652600490945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a46107ba8383836001612a34565b60008160000361209e57506000919050565b600060016120ab84612a40565b901c6001901b905060018184816120c4576120c46139ca565b048201901c905060018184816120dc576120dc6139ca565b048201901c905060018184816120f4576120f46139ca565b048201901c9050600181848161210c5761210c6139ca565b048201901c90506001818481612124576121246139ca565b048201901c9050600181848161213c5761213c6139ca565b048201901c90506001818481612154576121546139ca565b048201901c90506111f68182858161216e5761216e6139ca565b04612ad4565b60005b818310156121ca57600061218b8484612aea565b60008781526020902090915063ffffffff86169082015463ffffffff1611156121b6578092506121c4565b6121c1816001613b73565b93505b50612177565b509392505050565b600c5460ff1661221b5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610924565b565b61222681612b05565b600090815260016020526040812055565b600061068382610d56565b816001600160a01b0316836001600160a01b0316141580156122645750600081115b156107ba576001600160a01b0383161561230c576001600160a01b038316600090815260116020526040812081906122a790612bb26122a286612bbe565b612c27565b6001600160e01b031691506001600160e01b03169150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051612301929190918252602082015260400190565b60405180910390a250505b6001600160a01b038216156107ba576001600160a01b0382166000908152601160205260408120819061234590612c706122a286612bbe565b6001600160e01b031691506001600160e01b03169150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405161239f929190918252602082015260400190565b60405180910390a25050505050565b600c5460ff161561221b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610924565b6060600061240183612c7c565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b816001600160a01b0316836001600160a01b0316036124945760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610924565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61250b8383612ca4565b6125186000848484612e47565b6107ba5760405162461bcd60e51b815260040161092490613ce4565b61253f848484611f13565b61254b84848484612e47565b6107e45760405162461bcd60e51b815260040161092490613ce4565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561259e5750600090506003612622565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156125f2573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661261b57600060019250925050612622565b9150600090505b94509492505050565b600081600481111561263f5761263f613d36565b036126475750565b600181600481111561265b5761265b613d36565b036126a85760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610924565b60028160048111156126bc576126bc613d36565b036127095760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610924565b600381600481111561271d5761271d613d36565b03610a875760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610924565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106127b45772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106127e0576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106127fe57662386f26fc10000830492506010015b6305f5e1008310612816576305f5e100830492506008015b612710831061282a57612710830492506004015b6064831061283c576064830492506002015b600a83106106835760010192915050565b60006001600160e01b0319821663780e9d6360e01b1480610683575061068382612f45565b60606106836001600160a01b03831660145b606060006128938360026139b3565b61289e906002613b73565b67ffffffffffffffff8111156128b6576128b6613670565b6040519080825280601f01601f1916602001820160405280156128e0576020820181803683370190505b509050600360fc1b816000815181106128fb576128fb613a4f565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061292a5761292a613a4f565b60200101906001600160f81b031916908160001a905350600061294e8460026139b3565b612959906001613b73565b90505b60018111156129d1576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061298d5761298d613a4f565b1a60f81b8282815181106129a3576129a3613a4f565b60200101906001600160f81b031916908160001a90535060049490941c936129ca81613d4c565b905061295c565b5083156111f65760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610924565b612a286123ae565b6107e484848484612f85565b6107e4848484846130b2565b600080608083901c15612a5557608092831c92015b604083901c15612a6757604092831c92015b602083901c15612a7957602092831c92015b601083901c15612a8b57601092831c92015b600883901c15612a9d57600892831c92015b600483901c15612aaf57600492831c92015b600283901c15612ac157600292831c92015b600183901c156106835760010192915050565b6000818310612ae357816111f6565b5090919050565b6000612af960028484186139e0565b6111f690848416613b73565b6000612b1082610cf6565b9050612b20816000846001612a20565b612b2982610cf6565b600083815260066020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526005845282852080546000190190558785526004909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a46109df816000846001612a34565b60006111f68284613d63565b60006001600160e01b038211156118eb5760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401610924565b600080612c63612c45612c38610f3b565b65ffffffffffff16611886565b612c5b612c5188611c53565b868863ffffffff16565b8791906130c2565b915091505b935093915050565b60006111f68284613d8a565b600060ff8216601f81111561068357604051632cd44ac360e21b815260040160405180910390fd5b6001600160a01b038216612cfa5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610924565b6000818152600460205260409020546001600160a01b031615612d5f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610924565b612d6d600083836001612a20565b6000818152600460205260409020546001600160a01b031615612dd25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610924565b6001600160a01b038216600081815260056020908152604080832080546001019055848352600490915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46109df600083836001612a34565b60006001600160a01b0384163b15612f3d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612e8b903390899088908890600401613daa565b6020604051808303816000875af1925050508015612ec6575060408051601f3d908101601f19168201909252612ec391810190613de7565b60015b612f23573d808015612ef4576040519150601f19603f3d011682016040523d82523d6000602084013e612ef9565b606091505b508051600003612f1b5760405162461bcd60e51b815260040161092490613ce4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a88565b506001611a88565b60006001600160e01b031982166380ac58cd60e01b1480612f7657506001600160e01b03198216635b5e139f60e01b145b806106835750610683826130d0565b6001811115612ff45760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610924565b816001600160a01b0385166130505761304b81600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b613073565b836001600160a01b0316856001600160a01b031614613073576130738582613105565b6001600160a01b03841661308f5761308a816131a2565b61103c565b846001600160a01b0316846001600160a01b03161461103c5761103c8482613251565b6130bd848483613295565b6107e4565b600080612c6385858561330b565b60006001600160e01b0319821663152a902d60e11b148061068357506301ffc9a760e01b6001600160e01b0319831614610683565b6000600161311284610d56565b61311c9190613bf3565b60008381526009602052604090205490915080821461316f576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a546000906131b490600190613bf3565b6000838152600b6020526040812054600a80549394509092849081106131dc576131dc613a4f565b9060005260206000200154905080600a83815481106131fd576131fd613a4f565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a80548061323557613235613e04565b6001900381819060005260206000200160009055905550505050565b600061325c83610d56565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b6001600160a01b0383166132b7576132b46012612c706122a284612bbe565b50505b6001600160a01b0382166132d9576132d66012612bb26122a284612bbe565b50505b6001600160a01b038381166000908152601060205260408082205485841683529120546107ba92918216911683612242565b82546000908190801561345457600061332987611971600185613bf3565b60408051808201909152905463ffffffff8082168084526401000000009092046001600160e01b0316602084015291925090871610156133ab5760405162461bcd60e51b815260206004820152601b60248201527f436865636b706f696e743a2064656372656173696e67206b65797300000000006044820152606401610924565b805163ffffffff8088169116036133f457846133cc88611971600186613bf3565b80546001600160e01b03929092166401000000000263ffffffff909216919091179055613444565b6040805180820190915263ffffffff80881682526001600160e01b0380881660208085019182528b54600181018d5560008d81529190912094519151909216640100000000029216919091179101555b602001519250839150612c689050565b50506040805180820190915263ffffffff80851682526001600160e01b0380851660208085019182528854600181018a5560008a815291822095519251909316640100000000029190931617920191909155905081612c68565b6001600160e01b031981168114610a8757600080fd5b6000602082840312156134d657600080fd5b81356111f6816134ae565b80356001600160a01b03811681146134f857600080fd5b919050565b6000806040838503121561351057600080fd5b613519836134e1565b915060208301356001600160601b038116811461353557600080fd5b809150509250929050565b60005b8381101561355b578181015183820152602001613543565b50506000910152565b6000815180845261357c816020860160208601613540565b601f01601f19169290920160200192915050565b6020815260006111f66020830184613564565b6000602082840312156135b557600080fd5b5035919050565b600080604083850312156135cf57600080fd5b6135d8836134e1565b946020939093013593505050565b6000806000606084860312156135fb57600080fd5b613604846134e1565b9250613612602085016134e1565b9150604084013590509250925092565b6000806040838503121561363557600080fd5b50508035926020909101359150565b6000806040838503121561365757600080fd5b82359150613667602084016134e1565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156136a1576136a1613670565b604051601f8501601f19908116603f011681019082821181831017156136c9576136c9613670565b816040528093508581528686860111156136e257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561370e57600080fd5b813567ffffffffffffffff81111561372557600080fd5b8201601f8101841361373657600080fd5b611a8884823560208401613686565b60006020828403121561375757600080fd5b6111f6826134e1565b60ff60f81b881681526000602060e08184015261378060e084018a613564565b8381036040850152613792818a613564565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b818110156137e4578351835292840192918401916001016137c8565b50909c9b505050505050505050505050565b8015158114610a8757600080fd5b6000806040838503121561381757600080fd5b613820836134e1565b91506020830135613535816137f6565b6000806040838503121561384357600080fd5b61384c836134e1565b9150602083013561ffff8116811461353557600080fd5b6000806000806080858703121561387957600080fd5b613882856134e1565b9350613890602086016134e1565b925060408501359150606085013567ffffffffffffffff8111156138b357600080fd5b8501601f810187136138c457600080fd5b6138d387823560208401613686565b91505092959194509250565b60008060008060008060c087890312156138f857600080fd5b613901876134e1565b95506020870135945060408701359350606087013560ff8116811461392557600080fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561395257600080fd5b61395b836134e1565b9150613667602084016134e1565b600181811c9082168061397d57607f821691505b602082108103611d5b57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176106835761068361399d565b634e487b7160e01b600052601260045260246000fd5b6000826139fd57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b601f8211156107ba57600081815260208120601f850160051c81016020861015613a8c5750805b601f850160051c820191505b81811015613aab57828155600101613a98565b505050505050565b815167ffffffffffffffff811115613acd57613acd613670565b613ae181613adb8454613969565b84613a65565b602080601f831160018114613b165760008415613afe5750858301515b600019600386901b1c1916600185901b178555613aab565b600085815260208120601f198616915b82811015613b4557888601518255948401946001909101908401613b26565b5085821015613b635787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156106835761068361399d565b600061ffff808316818103613b9d57613b9d61399d565b6001019392505050565b60008351613bb9818460208801613540565b835190830190613bcd818360208801613540565b01949350505050565b600060208284031215613be857600080fd5b81516111f6816137f6565b818103818111156106835761068361399d565b80516020808301519190811015611d5b5760001960209190910360031b1b16919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613c62816017850160208801613540565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613c93816028840160208801613540565b01602801949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052602160045260246000fd5b600081613d5b57613d5b61399d565b506000190190565b6001600160e01b03828116828216039080821115613d8357613d8361399d565b5092915050565b6001600160e01b03818116838216019080821115613d8357613d8361399d565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613ddd90830184613564565b9695505050505050565b600060208284031215613df957600080fd5b81516111f6816134ae565b634e487b7160e01b600052603160045260246000fdfea26469706673582212200f39c1bfd62d81499381d12ec68e8ee209b37006ea1c25da91d458721da83e3164736f6c63430008120033

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

00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000006a07feef7eb458a71ac0ae759ccd3c78c70139ca000000000000000000000000bc49de68bcbd164574847a7ced47e7475179c76b00000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6346364b43636342486d45617a4e4a57364d4e676839784a464261704c4664416566543139556572346934332f000000000000000000000000000000000000000000000000000000000000000000000000000000003b75646174613a6170706c69636174696f6e2f746578743b6261736536342c6347466a6132466e5a53426a6232307562474679646d467359574a7a4c6e5a76654756735a327835634767374367707062584276636e5167616d463259533570627935476157786c5433563063485630553352795a5746744f77707062584276636e5167616d4632595335706279354a543056345932567764476c76626a734b6157317762334a3049477068646d45756157387555484a70626e5258636d6c305a584937436d6c74634739796443427159585a684c6d316864476775516d6c6e535735305a57646c636a734b436938714b676f674b6941674c794d6a494341674943386a497941674943416749434167494341674943416749434167494341674943416749434167494341674943386a497941674943416749434167494341674c794d6a494341674943416749434167494341674943416749434167494341674c794d6a4943416749434167436941714948776749794d674943423849434d6a4943416749434167494341674943416749434167494341674943416749434167494341674943423849434d6a4943416749434167494341674948776749794d674943416749434167494341674943416749434167494341674948776749794d67494341674943414b49436f676643416a497941674948776749794d674c794d6a49794d6a497941674c794d6a494341674c794d6a4943417649794d6a49794d6a4948776749794d674943386a49794d6a49794d676643416a4979417649794d674943417649794d674943386a49794d6a49794d676643416a49794d6a49794d6a49416f674b6942384943416a4979417649434d6a4c79386a493139664943416a4933776749434d6a4943386a497938674c794d6a5831386749434d6a6643416a4979417649794e665879416749794e3849434d6a6643416a497941676643416a4979417649794e665879416749794e3849434d6a5831386749434d6a43694171494342634943416a4979416a4979393849434d6a4943426349434d6a4946776749434d6a49794d764948776749794d6a49794d6a49794e3849434d6a6643416a497941675843416a4933776749794e3849434d6a4943423849434d6a6643416a497941675843416a4933776749794d674946776749794d4b49436f67494342634943416a49794d764948776749794d674948776749794d674944346a4979416749794d676643416a49313966583139664c33776749794e3849434d6a4943423849434d6a6643416a4933776749794d674948776749794e3849434d6a4943423849434d6a6643416a497941676643416a49776f674b694167494342634943416a4c7941676643416749794d6a49794d6a4c79417649794d765843416749794e384943416a49794d6a49794d6a6643416a4933776749434d6a49794d6a49794e3849434d6a6643416749794d6a49794d6a4933776749794d6a49794d6a4979393849434d6a4943423849434d6a4369417149434167494342635879386749434167584639665831396658793867664639664c794167584639664c7942635831396658313966587939385831387649467866583139664943416a4933786658793867584639665831386749434d6a6643416a49313966583138764948786658793867494878665879384b49436f674943416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674c794d6a4943426349434d6a494341674943417649794d674948776749794e3849434d6a494341674943416749434167494341674943416749416f674b69416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674948776749434d6a49794d6a49793867494341676643416749794d6a49794d6a4c33776749794d674943416749434167494341674943416749434167436941714943416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674946786658313966583138764943416749434167584639665831396658793867664639664c776f674b676f674b694167494341674943416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674943416749474a3549457868636e5a6849457868596e4d674b453168644851675347467362434268626d5167536d396f62694258595852726157357a62323470436941714943416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674943416749434167494341674943416749476c7549484268636e52755a584a7a61476c7749486470644767676447686c49455a70626d646c636e427961573530637942455155384b49436f4b49436f675647686c49455a70626d646c636e42796157353063794245515538676233647563794242645852765a32783563476767497a457a4e434268626d51675a47567961585a6c6379423061475670636942736232647649475a79623230676447686c49434a6f59584e6f4969426d61576431636d5567595851676158527a49474e6c626e526c636934675647686c49474a6c6247393349474e765a47554b49436f675a573177624739356379423061475567633246745a5342726157356b4947396d494731765a485673595849675a6d6c6c6247516759584a70644768745a58527059794268637942306147556751585630623264736558426f4947646c626d5679595852766369427064484e6c62475967644738675957526b49474567614756705a32683049475a705a57786b494852764948526f61584d4b49436f6751585630623264736558426f4c43426a636d566864476c755a7942684948526f636d566c4c5752706257567563326c76626d467349484e30636e566a644856795a534230614746304948646c49474e68624777676447686c49434a576233686c624764736558426f4969344b49436f4b49436f675647686c49475a766247787664326c755a79424b59585a684948427962326479595730675a3256755a584a686447567a4948526f5a5342576233686c624764736558426f4948647064476767626d38675a4756775a57356b5a57356a6157567a49474a6c655739755a43426849484e305957356b59584a6b49457068646d4567556e567564476c745a534246626e5a70636d3975625756756443344b49436f675647686c4947393164484231644342706379426849484e6c636d6c6c637942765a69417a5243426a62793176636d5270626d46305a584d67644768686443426a6232357a64484a31593351676447686c49473969616d566a6443346756476876633255675932387462334a6b615735686447567a494778706333526c5a434268636d556764473867596d55675a6d6c736247566b494864706447674b49436f675953423361476c305a53426a64574a6c4c434268624777676233526f5a5849675932387462334a6b615735686447567a494746795a534230627942695a5342735a575a3049474e735a5746794c676f674b676f674b69425561475567636d567a645778306157356e494731765a47567349474e68626942695a5342795a57356b5a584a6c5a437767596d39306143427761486c7a61574e6862477835494746755a43423261584a306457467362486b7349476876643256325a5849676447686c49473933626d56794947526c63326c795a584d75436941714369417149454675655739755a53427459586b675a47386759584d676447686c6553423361584e6f4948647064476767644768706379426a6232526c4c434269645851676432556764326c7362434276626d783549474e76626e4e705a4756794948526f5a5342766458527764585167623259676447687063794277636d396e636d467449473975494546316447396e62486c776143416a4d544d30494746755a416f674b6942336158526f49484e6c5a5751674d6a45314f4451334f5449344d7a63304f4463784d544d6759584d676447686c494739755a534268626d516762323573655342576233686c624764736558426f4c676f674b69384b6348566962476c6a49474e7359584e7a49465a76654756735a3278356347676765776f4b49434167494338764946526f5a53427a655731696232787a49476c75494546316447396e62486c776143416a4d544d304369416749434277636d6c325958526c49484e30595852705979426d615735686243426a6147467949464e5a54554a50544639435445464f53794139494363754a7a734b494341674948427961585a68644755676333526864476c6a49475a70626d467349474e6f5958496755316c4e516b394d58306850556b6c61543035555155786654456c4f52534139494363744a7a734b494341674948427961585a68644755676333526864476c6a49475a70626d467349474e6f5958496755316c4e516b394d58315a46556c524a5130464d5830784a546b55675053416e664363374369416749434277636d6c325958526c49484e30595852705979426d615735686243426a6147467949464e5a54554a505446395154465654494430674a79736e4f776f4b49434167494338764945357664434268494852795957527064476c76626d46734947526c5a6d6c75615852706232346762325967496d39755a53497349474a316443426a6232357a61584e305a57353049486470644767676447686c494546316447396e62486c7761484d4b494341674948427961585a68644755676333526864476c6a49475a70626d467349454a705a306c756447566e5a5849675430354649443067626d563349454a705a306c756447566e5a58496f496a51794f5451354e6a63794f5459694b54734b4369416749434277636d6c325958526c49484e30595852705979426d6157356862434270626e51675230785a5545686655306c6152534139494459304f776f674943416763484a70646d46305a53427a6447463061574d675a6d6c755957776761573530494531425746394952556c48534651675053417a4d6a734b4369416749434277636d6c325958526c49484e30595852705979426d615735686243425464484a70626d6367515656555430644d57564249587a457a4e4341394943496949676f754c6934744c6e77754c6934754c6934744c6e77754c6934754c6934744c6e77754c6934754c6934744c6934744c6934754c693475664334744c6934754c693475664334744c6934754c693475664334744c693475436934754c6973754c6930754c6e777566433475664334754c6934754c6934724c6934744c6934744c693538664334754c5334754c5334754b7934754c6934754c6935384c6935384c6e77754c6930754c6973754c69344b4c6934754c6930754c693472664334754c6934754c5334754c6974384c6934754c6934744c6934754c6934754c6934754c6930754c6934754c6e77724c6934754c5334754c693475664373754c6934744c6934754c676f744b793475664330744b7934754c6934754c5373754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754b7930754c6934754c6973744c5877754c697374436934754c5877754c6935384c6934754c6934724c6935384c6973754c6934754c6934754c6930754c6934724b7934754c6930754c6934754c6934754c697375664334754b7934754c693475664334754c6e77744c69344b664334754c5335384c6934754c6934754c6934754c6934754c6934754c6934754c6973754c6934754b7934754b7934754c6934724c6934754c6934754c6934754c6934754c6934754c6934754c6e77754c53347566416f754c5334744c6934744c6930754c6e77754c5334754c5335384c6935384c6e77754c6e77754c6934754c6934754c69347566433475664335384c6935384c6930754c693075664334754c5334744c6934744c693075436934754c6974384c6934754c5877754c693472664334754c6930754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6930754c6935384b7934754c6e77744c693475664373754c69344b4c6934724c6934754c5330724c6e77744b793475664330754c6e78384c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6e78384c693474664334754b7931384c6973744c5334754c6973754c676f75664877754c693475664334754c6934754c6934724c6934754c6973754c6934754c6930754c6934754b7973754c6934754c5334754c6934754b7934754c6934724c6934754c6934754c6e77754c69347566487775436934754c6934754c693475664335384c5335384b7934724c6934724c6934754c6934754c6e77754c6930754c6930754c6e77754c6934754c6934754b7934754b79347266433474664335384c6934754c6934754c69344b4c6e77754c693475664334744c6930754b7934754c6934724c6973754b7934754c6934754c6934754c6e78384c6934754c6934754c6934754b7934724c6973754c6934754b7934744c693075664334754c6935384c676f744c6934754c6934754c6973754c6974384c6934754b7934754c5877754c6934754c6934724c5334754c6934754c6930724c6934754c693475664330754c6973754c6935384b7934754b7934754c6934754c693474436934754c6930724c6930724c6935384c6934754c6934754c6934754c6935384c537375664334754c6934754c6934754c6935384c697374664334754c6934754c6934754c693475664334754b7930754b7930754c69344b664877754b7934754c6e77754c6973754c6934754c6934724c6934754c6934754b7930754c6934754c6973724c6934754c6934744b7934754c6934754c6973754c6934754c6934724c6935384c6934754b79353866416f754c6930754c6934754c6e77724c6934754c6934744c6930754c6934754c6e77744c6934754c6934744c6934744c6934754c693474664334754c6934754c5334744c6934754c693472664334754c6934754c533475436934754c6935384c6930754c5334724c6973754c6934754c693475664335384c6973754b7934754c6934754c6934754c6934724c697375664335384c6934754c6934754c6973754b7934744c693075664334754c69344b4c6934754c6934754c6934754c6934724c6934724c5334724c5334754c5334754c6934754c6e77754c6934754c6935384c6934754c6934754c5334754c5373754c5373754c6973754c6934754c6934754c6934754c676f754c6934754b7935384c5334754c6934754c6934754c6930754c6934754c6934754b7935384c5334754c6934754c6931384c6973754c6934754c6934754c5334754c6934754c6934754c6931384c6973754c693475436934754b7934754c693475664334724b7930754c6934754c6934754b7973744c6934754c6934754c6934724b7934754c6934754c6934754c5373724c6934754c6934754c6930724b7935384c6934754c6934724c69344b4c6935384c6934754c6935384b793475664334754c6e77754c6973754c6e77754c6934744b79347566433475664334754b7930754c6935384c6934724c6935384c693475664334754b3377754c6934754c6e77754c676f744c6934754c6935384c6934754c6973754c6934754c6930754b7934754c6934754c5334744c6934754c6934754c6934744c6930754c6934754c6973754c5334754c6934754b7934754c6935384c6934754c693474436934724c6934754c6934754c6934754c6935384c6935384c693474664334724c6934754c6934754c6934754c6934754c6934754c6934754b7935384c53347566433475664334754c6934754c6934754c6934754b79344b664334754c693475664334754c6934754c693075664334754c6934754c6934754c6934754c6930754c6934754c6934744c6934754c6934754c6934754c693475664334744c6934754c693475664334754c69347566416f754c6934754c6934754c6934754c6934754b7973744b7934754c6934754c6934754c6934754c6934724c5330724c6934754c6934754c6934754c6934754c6973744b7973754c6934754c6934754c6934754c693475436934744c6934754b7934754c6934754c6934754c5334754c6973754c6930754c6934744c6934754c6934754c6934754c6934754c5334754c6930754c6973754c6934744c6934754c6934754c6934724c6934754c53344b4c6934744c693475664334754c5334754c6e77754c6973754c6934744c6934754c6934754c5334724c6934754c6973754c5334754c6934754c6930754c6934724c6935384c6934754c533475664334754c6930754c676f754c6934754c5334754c693475664334724c6934754c6935384c6973744c6934754c6930754c6973754c6934754b7934754c5334754c6934744b7935384c6934754c6934724c6e77754c6934754c6930754c693475436934744c6934754c6934754c6934754c6930754c693475664330754c6934754c5334754c6934754b7934754c6934724c6934754c6934744c6934754c6931384c6934754c6930754c6934754c6934754c6934754c53344b4c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934724b7973724c5373724c5373724b7973754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c676f744c6934754c6973754c6934754c5334754c6934744c6934754c6e77754c6934724c6934754c6930754c6934754c5334754c6934724c693475664334754c6934744c6934754c6930754c6934754b7934754c693474436935384c6934724c6934754c697375664334754b7934754c6934724c6934754c6930754c6934754b7934754c6934724c6934754c6930754c6934754b7934754c6934724c6935384c6973754c6934754b7934756643344b4c6e77754c6973754c6934754b7935384c6934724c6934754c6973754c6934754c5334754c6934724c6934754c6973754c6934754c5334754c6934724c6934754c6973754c6e77754b7934754c6934724c6935384c676f744c6934754c6973754c6934754c5334754c6934744c6934754c6e77754c6934724c6934754c6930754c6934754c5334754c6934724c693475664334754c6934744c6934754c6930754c6934754b7934754c693474436934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754b7973724b7930724b7930724b7973724c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c69344b4c6930754c6934754c6934754c6934754c5334754c6935384c5334754c6934744c6934754c6934724c6934754c6973754c6934754c6930754c6934754c5877754c6934754c5334754c6934754c6934754c6934744c676f754c6934754c5334754c693475664334724c6934754c6935384c6973744c6934754c6930754c6973754c6934754b7934754c5334754c6934744b7935384c6934754c6934724c6e77754c6934754c6930754c693475436934754c5334754c6e77754c6930754c6935384c6934724c6934754c5334754c6934754c6930754b7934754c6934724c6930754c6934754c6934744c6934754b793475664334754c6930754c6e77754c6934744c69344b4c6930754c6934724c6934754c6934754c6934744c6934754b7934754c5334754c6930754c6934754c6934754c6934754c6934744c6934754c5334754b7934754c6930754c6934754c6934754c6973754c6934744c676f754c6934754c6934754c6934754c6934754b7973744b7934754c6934754c6934754c6934754c6934724c5330724c6934754c6934754c6934754c6934754c6973744b7973754c6934754c6934754c6934754c693475436e77754c6934754c6e77754c6934754c6934744c6e77754c6934754c6934754c6934754c6934744c6934754c6934754c5334754c6934754c6934754c6934754c6e77754c5334754c6934754c6e77754c6934754c6e774b4c6973754c6934754c6934754c6934754c6e77754c6e77754c6931384c6973754c6934754c6934754c6934754c6934754c6934754c6934724c6e77744c6935384c6935384c6934754c6934754c6934754c6934724c676f744c6934754c6935384c6934754c6973754c6934754c6930754b7934754c6934754c5334744c6934754c6934754c6934744c6930754c6934754c6973754c5334754c6934754b7934754c6935384c6934754c69347443693475664334754c693475664373754c6e77754c6935384c6934724c6935384c6934754c5373754c6e77754c6e77754c6973744c693475664334754b793475664334754c6e77754c6974384c6934754c6935384c69344b4c6934724c6934754c6935384c6973724c5334754c6934754c6934724b7930754c6934754c6934754c6973724c6934754c6934754c6934744b7973754c6934754c6934754c5373724c6e77754c6934754c6973754c676f754c6934754b7935384c5334754c6934754c6934754c6930754c6934754c6934754b7935384c5334754c6934754c6931384c6973754c6934754c6934754c5334754c6934754c6934754c6931384c6973754c693475436934754c6934754c6934754c6934754b7934754b7930754b7930754c6930754c6934754c6935384c6934754c693475664334754c6934754c6930754c6930724c6930724c6934724c6934754c6934754c6934754c69344b4c6934754c6e77754c5334744c6973754b7934754c6934754c6935384c6e77754b7934724c6934754c6934754c6934754c6973754b7935384c6e77754c6934754c6934754b7934724c6930754c5335384c6934754c676f754c6930754c6934754c6e77724c6934754c6934744c6930754c6934754c6e77744c6934754c6934744c6934744c6934754c693474664334754c6934754c5334744c6934754c693472664334754c6934754c533475436e78384c6973754c6935384c6934724c6934754c6934754b7934754c6934754c6973744c6934754c6934724b7934754c6934754c5373754c6934754c6934724c6934754c6934754b793475664334754c6973756648774b4c6934754c5373754c5373754c6e77754c6934754c6934754c6934754c6e77744b7935384c6934754c6934754c6934754c6e77754b7931384c6934754c6934754c6934754c6935384c6934724c5334724c5334754c676f744c6934754c6934754c6973754c6974384c6934754b7934754c5877754c6934754c6934724c5334754c6934754c6930724c6934754c693475664330754c6973754c6935384b7934754b7934754c6934754c693474436935384c6934754c6e77754c5334744c6973754c6934754b7934724c6973754c6934754c6934754c693538664334754c6934754c6934754c6973754b7934724c6934754c6973754c5334744c6e77754c6934756643344b4c6934754c6934754c6935384c6e77744c6e77724c6973754c6973754c6934754c693475664334754c5334754c533475664334754c6934754c6934724c6934724c6974384c6931384c6e77754c6934754c6934754c676f75664877754c693475664334754c6934754c6934724c6934754c6973754c6934754c6930754c6934754b7973754c6934754c5334754c6934754b7934754c6934724c6934754c6934754c6e77754c69347566487775436934754b7934754c6930744b7935384c5373754c6e77744c693538664334754c6934754c6934754c6934754c6934754c6934754c6934754c693538664334754c5877754c697374664334724c5330754c6934724c69344b4c6934754b3377754c693474664334754c6974384c6934754c5334754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c5334754c6e77724c693475664330754c6935384b7934754c676f754c5334744c6934744c6930754c6e77754c5334754c5335384c6935384c6e77754c6e77754c6934754c6934754c69347566433475664335384c6935384c6930754c693075664334754c5334744c6934744c693075436e77754c693075664334754c6934754c6934754c6934754c6934754c6934754c6934724c6934754c6973754c6973754c6934754b7934754c6934754c6934754c6934754c6934754c6934754c6935384c6930754c6e774b4c693474664334754c6e77754c6934754c6973754c6e77754b7934754c6934754c6934754c5334754c6973724c6934754c5334754c6934754c6934754b7935384c6934724c6934754c6935384c693475664330754c676f744b793475664330744b7934754c6934754c5373754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934754b7930754c6934754c6973744c5877754c697374436934754c6934744c6934754b3377754c6934754c6930754c693472664334754c6934754c5334754c6934754c6934754c6934744c6934754c6935384b7934754c6930754c6934754c6e77724c6934754c5334754c69344b4c6934754b7934754c533475664335384c6935384c6934754c6934754c6973754c6930754c6930754c6e78384c6934744c6934744c6934724c6934754c6934754c6e77754c6e7775664334754c5334754b7934754c676f754c6934744c6e77754c6934754c6934744c6e77754c6934754c6934744c6e77754c6934754c6934744c6934744c6934754c693475664334744c6934754c693475664334744c6934754c693475664334744c69347543694969496a734b4369416749434277636d6c325958526c49484e30595852705979426a6247467a6379424e6232526c6243423743676f674943416749434167494338764946526f5a53426a62793176636d5270626d46305a584d676543776765534268626d51676569426a62334a795a584e776232356b49485276494864705a48526f4c43426b5a584230614377675957356b4947686c6157646f64416f67494341674943416749476c756443423455326c365a53776765564e70656d5573494870546158706c4f776f4b4943416749434167494341764c794255614755674d3051676257396b5a57774b494341674943416749434269623239735a574675573131625856746449474e6c6247787a4f776f4b49434167494341674943424e6232526c62436870626e516765464e70656d557349476c756443423555326c365a53776761573530494870546158706c4b534237436941674943416749434167494341674948526f61584d7565464e70656d55675053423455326c365a54734b49434167494341674943416749434167644768706379353555326c365a53413949486c546158706c4f776f674943416749434167494341674943423061476c7a4c6e70546158706c49443067656c4e70656d55374369416749434167494341674943416749474e6c6247787a49443067626d563349474a766232786c5957356265464e70656d566457336c546158706c5856743655326c365a56303743694167494341674943416766516f4b49434167494341674943423262326c6b49484e6c64436870626e5167654377676157353049486b7349476c75644342364b5342374369416749434167494341674943416749474e6c6247787a5733686457336c64573370644944306764484a315a54734b49434167494341674943423943676f67494341674943416749485a76615751675932786c5958496f615735304948677349476c75644342354c434270626e516765696b6765776f674943416749434167494341674943426a5a5778736331743458567435585674365853413949475a6862484e6c4f776f6749434167494341674948304b436941674943416749434167514539325a584a796157526c4369416749434167494341676348566962476c6a49464e30636d6c755a79423062314e30636d6c755a7967704948734b49434167494341674943416749434167553352796157356e516e56706247526c6369427a596941394947356c6479425464484a70626d644364576c735a4756794b436b374369416749434167494341674943416749475a766369416f6157353049486f67505341774f79423649447767656c4e70656d553749486f724b796b6765776f6749434167494341674943416749434167494341675a6d397949436870626e5167655341394944413749486b675043423555326c365a547367655373724b534237436941674943416749434167494341674943416749434167494341675a6d397949436870626e51676543413949444137494867675043423455326c365a547367654373724b534237436941674943416749434167494341674943416749434167494341674943416749476c6d4943686a5a57787363317434585674355856743658536b6765776f6749434167494341674943416749434167494341674943416749434167494341674943416763324975595842775a57356b4b43496f49696b75595842775a57356b4b4867704c6d4677634756755a4367694c4341694b5335686348426c626d516f65536b75595842775a57356b4b434973494349704c6d4677634756755a4368364b5335686348426c626d516f49696c63626949704f776f6749434167494341674943416749434167494341674943416749434167494342394369416749434167494341674943416749434167494341674943416766516f67494341674943416749434167494341674943416766516f67494341674943416749434167494342394369416749434167494341674943416749484a6c644856796269427a5969353062314e30636d6c755a7967704f776f6749434167494341674948304b494341674948304b4369416749434277636d6c325958526c49484e30595852705979426a61474679494764736558426f55336c74596d39735158516f615735304948677349476c75644342354b5342374369416749434167494341676157353049476c755a47563449443067655341714943684854466c515346395453567046494373674d536b674b7942344f776f67494341674943416749484a6c6448567962694242565652505230785a554568664d544d304c6d4e6f59584a4264436870626d526c65436b37436941674943423943676f67494341674c79386756334a70644755676447686c4947467763484a7663484a705958526c49485a76654756736379426d623349676447686c494764736558426f49484e3562574a7662434268644342344c4342354c434268626d516765676f674943416763484a70646d46305a53427a6447463061574d67646d39705a434233636d6c305a565a766547567363305a76636c4e3562574a76624546304b4531765a475673494731765a4756734c434270626e5167654377676157353049486b7349476c75644342364b534237436941674943416749434167593268686369427a65573169623277675053426e62486c7761464e3562574a76624546304b48677349486b704f776f674943416749434167494867674b6a30674d7a734b49434167494341674943423649436f3949444937436941674943416749434167655341715053417a4f776f67494341674943416749476c6d4943687a65573169623277675054306755316c4e516b394d5831424d56564d704948734b494341674943416749434167494341675a6d397949436870626e5167656e6f67505342364f7942366569413849486f674b7941794f794236656973724b534237436941674943416749434167494341674943416749434167494341676257396b5a577775633256304b4867674b7941784c4342354c43423665696b37436941674943416749434167494341674943416749434167494341676257396b5a577775633256304b4867674b7941784c434235494373674d697767656e6f704f776f67494341674943416749434167494341674943416749434167494731765a4756734c6e4e6c644368344c434235494373674d537767656e6f704f776f67494341674943416749434167494341674943416749434167494731765a4756734c6e4e6c64436834494373674d6977676553417249444573494870364b54734b494341674943416749434167494341674943416749434167494342746232526c6243357a5a58516f654341724944457349486b674b7941784c43423665696b37436941674943416749434167494341674948304b4943416749434167494342394947567363325567615759674b484e3562574a76624341395053425457553143543078665345395353567050546c52425446394d535535464b5342374369416749434167494341674943416749475a766369416f615735304948703649443067656a7367656e6f6750434236494373674d6a7367656e6f724b796b6765776f6749434167494341674943416749434167494341676257396b5a577775633256304b48677349486b674b7941784c43423665696b374369416749434167494341674943416749434167494342746232526c6243357a5a58516f654341724944457349486b674b7941784c43423665696b374369416749434167494341674943416749434167494342746232526c6243357a5a58516f654341724944497349486b674b7941784c43423665696b37436941674943416749434167494341674948304b494341674943416749434167494341676257396b5a5777755932786c5958496f654341724944457349486b674b7941784c4342364b54734b4943416749434167494342394947567363325567615759674b484e3562574a7662434139505342545755314354307866566b565356456c445155786654456c4f52536b6765776f674943416749434167494341674943426d623349674b476c75644342366569413949486f3749487036494477676569417249444937494870364b7973704948734b4943416749434167494341674943416749434167494731765a4756734c6e4e6c64436834494373674d53776765537767656e6f704f776f6749434167494341674943416749434167494341676257396b5a577775633256304b4867674b7941784c434235494373674d537767656e6f704f776f6749434167494341674943416749434167494341676257396b5a577775633256304b4867674b7941784c434235494373674d697767656e6f704f776f674943416749434167494341674943423943694167494341674943416749434167494731765a4756734c6d4e735a5746794b4867674b7941784c434235494373674d53776765696b3743694167494341674943416766516f674943416766516f4b494341674943387149436f714b696f714b6941714b696f714b696f714b696f714b696f714b696f714b696f714b696f714b696f714b696f7149436f714b696f714b6941714c776f4b49434167494338764946526f5a53426d6232787362336470626d63675932396b5a53426e5a57356c636d46305a584d6759584a304c676f4b494341674948427961585a68644755676333526864476c6a494531765a47567349474e795a5746305a565a7665475673523278356347676f516d6c6e535735305a57646c636942684b5342374369416749434167494341674c7938675257466a6143426a5a5778734947396d4948526f5a534242645852765a32783563476767596d566a6232316c6379426849444e344d33684f494852766432567949476c754948526f5a5342576233686c624764736558426f4c4342336158526f49485276643256794947686c6157646f6443427062694270626d4e795a57316c626e527a4947396d4944494b4943416749434167494342436157644a626e526c5a32567949475a705a57786b49443067516d6c6e535735305a57646c63693532595778315a55396d4b444d784b54734b49434167494341674943424e6232526c624342746232526c624341394947356c6479424e6232526c6243684854466c51534639545356704649436f674d7977675230785a5545686655306c615253417149444d73494531425746394952556c48534651674b6941794b54734b49434167494341674943426d623349674b476c7564434234494430674d447367654341384945644d5756424958314e4a576b5537494867724b796b6765776f6749434167494341674943416749434270626e5167634867675053424e5958526f4c6d317062696834494373674d5377675230785a5545686655306c6152534174494867704f776f6749434167494341674943416749434270626e5167654867675053427765434174494445374369416749434167494341674943416749475a766369416f6157353049486b67505341774f794235494477675230785a5545686655306c6152547367655373724b5342374369416749434167494341674943416749434167494342705a69416f5a327835634768546557316962327842644368344c4342354b534168505342545755314354307866516b7842546b73704948734b49434167494341674943416749434167494341674943416749434270626e516763486b675053424e5958526f4c6d317062696835494373674d5377675230785a5545686655306c615253417449486b704f776f67494341674943416749434167494341674943416749434167494338764945567559323931636d466e5a53426849484a766457646f62486b6763486c79595731705a47467349484e6f5958426c4369416749434167494341674943416749434167494341674943416761573530494841675053424e5958526f4c6d3170626968776543776763486b7049436f674e53417649445137436941674943416749434167494341674943416749434167494341676157353049486c354944306763486b674c5341784f776f6749434167494341674943416749434167494341674943416749476c7564434277636d396b64574e3049443067654867674b6942356554734b494341674943416749434167494341674943416749434167494341764c79424e623252316247467949475a705a57786b49484e3064575a6d436941674943416749434167494341674943416749434167494341676157353049476767505342436157644a626e526c5a3256794c6e5a686248566c5432596f63484a765a48566a64436b756258567364476c7762486b6f59536b755a476c326157526c4b45394f52536b756257396b4b475a705a57786b4b533570626e5257595778315a5367704f776f6749434167494341674943416749434167494341674943416749476c756443427349443067634867674b6942776554734b49434167494341674943416749434167494341674943416749434270626e5167614756705a3268304944306754574630614335746157346f61434171494841674c7941794f53417249444573494449324b54734b4943416749434167494341674943416749434167494341674943426f5a576c6e614851675053426f5a576c6e614851674b79416f62434176494463314d436b674b69416f63434171494531425746394952556c48534651674c7941304d4341744947686c6157646f64436b37436941674943416749434167494341674943416749434167494341674c793867513239756333527964574e304948526f5a5342306233646c63676f6749434167494341674943416749434167494341674943416749475a766369416f6157353049486f67505341774f79423649447767614756705a3268304f7942364b7973704948734b494341674943416749434167494341674943416749434167494341674943416764334a70644756576233686c62484e4762334a546557316962327842644368746232526c62437767654377676553776765696b374369416749434167494341674943416749434167494341674943416766516f67494341674943416749434167494341674943416766516f674943416749434167494341674943423943694167494341674943416766516f67494341674943416749484a6c64485679626942746232526c6244734b494341674948304b43694167494341764b6941714b696f714b696f674b696f714b696f714b696f714b696f714b696f714b696f714b696f714b696f714b696f714b6941714b696f714b696f674b69384b43694167494341764c794253645734676447686c4947646c626d56795958527663676f67494341676348566962476c6a49484e30595852705979423262326c6b494731686157346f553352796157356e5731306759584a6e63796b67644768796233647a49456c505258686a5a584230615739754948734b4943416749434167494341764c7942545a57566b49484e6c6247566a6447566b49475a76636942685a584e306147563061574e7a436941674943416749434167516d6c6e535735305a57646c6369427a5a57566b49443067626d563349454a705a306c756447566e5a58496f496a49784e5467304e7a6b794f444d334e4467334d54457a49696b374369416749434167494341675457396b5a5777676257396b5a5777675053426a636d5668644756576233686c624564736558426f4b484e6c5a5751704f776f674943416749434167494642796157353056334a706447567949473931644341394947356c64794251636d6c75644664796158526c636968755a586367526d6c735a5539316448423164464e30636d566862536769646d39345a57786e62486c7761433530654851694b536b37436941674943416749434167623356304c6e4279615735304b4731765a4756734c6e5276553352796157356e4b436b704f776f674943416749434167494739316443356a6247397a5a5367704f776f67494341676651703943673d3d0000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURIValue (string): ipfs://QmcF6KCccBHmEazNJW6MNgh9xJFBapLFdAefT19Uer4i43/
Arg [1] : _adminAddress (address): 0x6a07FEEF7Eb458A71Ac0AE759CCd3c78C70139cA
Arg [2] : _payoutAddress (address): 0xbC49de68bCBD164574847A7ced47e7475179C76B
Arg [3] : _royaltyFee (uint96): 500
Arg [4] : _voxelglyphJavaScript (string): data:application/text;base64,cGFja2FnZSBjb20ubGFydmFsYWJzLnZveGVsZ2x5cGg7CgppbXBvcnQgamF2YS5pby5GaWxlT3V0cHV0U3RyZWFtOwppbXBvcnQgamF2YS5pby5JT0V4Y2VwdGlvbjsKaW1wb3J0IGphdmEuaW8uUHJpbnRXcml0ZXI7CmltcG9ydCBqYXZhLm1hdGguQmlnSW50ZWdlcjsKCi8qKgogKiAgLyMjICAgIC8jIyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8jIyAgICAgICAgICAgLyMjICAgICAgICAgICAgICAgICAgICAgLyMjICAgICAgCiAqIHwgIyMgICB8ICMjICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICMjICAgICAgICAgIHwgIyMgICAgICAgICAgICAgICAgICAgIHwgIyMgICAgICAKICogfCAjIyAgIHwgIyMgLyMjIyMjIyAgLyMjICAgLyMjICAvIyMjIyMjIHwgIyMgIC8jIyMjIyMgfCAjIyAvIyMgICAvIyMgIC8jIyMjIyMgfCAjIyMjIyMjIAogKiB8ICAjIyAvICMjLy8jI19fICAjI3wgICMjIC8jIy8gLyMjX18gICMjfCAjIyAvIyNfXyAgIyN8ICMjfCAjIyAgfCAjIyAvIyNfXyAgIyN8ICMjX18gICMjCiAqICBcICAjIyAjIy98ICMjICBcICMjIFwgICMjIyMvIHwgIyMjIyMjIyN8ICMjfCAjIyAgXCAjI3wgIyN8ICMjICB8ICMjfCAjIyAgXCAjI3wgIyMgIFwgIyMKICogICBcICAjIyMvIHwgIyMgIHwgIyMgID4jIyAgIyMgfCAjI19fX19fL3wgIyN8ICMjICB8ICMjfCAjI3wgIyMgIHwgIyN8ICMjICB8ICMjfCAjIyAgfCAjIwogKiAgICBcICAjLyAgfCAgIyMjIyMjLyAvIyMvXCAgIyN8ICAjIyMjIyMjfCAjI3wgICMjIyMjIyN8ICMjfCAgIyMjIyMjI3wgIyMjIyMjIy98ICMjICB8ICMjCiAqICAgICBcXy8gICAgXF9fX19fXy8gfF9fLyAgXF9fLyBcX19fX19fXy98X18vIFxfX19fICAjI3xfXy8gXF9fX18gICMjfCAjI19fX18vIHxfXy8gIHxfXy8KICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLyMjICBcICMjICAgICAvIyMgIHwgIyN8ICMjICAgICAgICAgICAgICAgIAogKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICMjIyMjIy8gICAgfCAgIyMjIyMjL3wgIyMgICAgICAgICAgICAgICAgCiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxfX19fX18vICAgICAgXF9fX19fXy8gfF9fLwogKgogKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJ5IExhcnZhIExhYnMgKE1hdHQgSGFsbCBhbmQgSm9obiBXYXRraW5zb24pCiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGluIHBhcnRuZXJzaGlwIHdpdGggdGhlIEZpbmdlcnByaW50cyBEQU8KICoKICogVGhlIEZpbmdlcnByaW50cyBEQU8gb3ducyBBdXRvZ2x5cGggIzEzNCBhbmQgZGVyaXZlcyB0aGVpciBsb2dvIGZyb20gdGhlICJoYXNoIiBmaWd1cmUgYXQgaXRzIGNlbnRlci4gVGhlIGJlbG93IGNvZGUKICogZW1wbG95cyB0aGUgc2FtZSBraW5kIG9mIG1vZHVsYXIgZmllbGQgYXJpdGhtZXRpYyBhcyB0aGUgQXV0b2dseXBoIGdlbmVyYXRvciBpdHNlbGYgdG8gYWRkIGEgaGVpZ2h0IGZpZWxkIHRvIHRoaXMKICogQXV0b2dseXBoLCBjcmVhdGluZyBhIHRocmVlLWRpbWVuc2lvbmFsIHN0cnVjdHVyZSB0aGF0IHdlIGNhbGwgdGhlICJWb3hlbGdseXBoIi4KICoKICogVGhlIGZvbGxvd2luZyBKYXZhIHByb2dyYW0gZ2VuZXJhdGVzIHRoZSBWb3hlbGdseXBoIHdpdGggbm8gZGVwZW5kZW5jaWVzIGJleW9uZCBhIHN0YW5kYXJkIEphdmEgUnVudGltZSBFbnZpcm9ubWVudC4KICogVGhlIG91dHB1dCBpcyBhIHNlcmllcyBvZiAzRCBjby1vcmRpbmF0ZXMgdGhhdCBjb25zdHJ1Y3QgdGhlIG9iamVjdC4gVGhvc2UgY28tb3JkaW5hdGVzIGxpc3RlZCBhcmUgdG8gYmUgZmlsbGVkIHdpdGgKICogYSB3aGl0ZSBjdWJlLCBhbGwgb3RoZXIgY28tb3JkaW5hdGVzIGFyZSB0byBiZSBsZWZ0IGNsZWFyLgogKgogKiBUaGUgcmVzdWx0aW5nIG1vZGVsIGNhbiBiZSByZW5kZXJlZCwgYm90aCBwaHlzaWNhbGx5IGFuZCB2aXJ0dWFsbHksIGhvd2V2ZXIgdGhlIG93bmVyIGRlc2lyZXMuCiAqCiAqIEFueW9uZSBtYXkgZG8gYXMgdGhleSB3aXNoIHdpdGggdGhpcyBjb2RlLCBidXQgd2Ugd2lsbCBvbmx5IGNvbnNpZGVyIHRoZSBvdXRwdXQgb2YgdGhpcyBwcm9ncmFtIG9uIEF1dG9nbHlwaCAjMTM0IGFuZAogKiB3aXRoIHNlZWQgMjE1ODQ3OTI4Mzc0ODcxMTMgYXMgdGhlIG9uZSBhbmQgb25seSBWb3hlbGdseXBoLgogKi8KcHVibGljIGNsYXNzIFZveGVsZ2x5cGggewoKICAgIC8vIFRoZSBzeW1ib2xzIGluIEF1dG9nbHlwaCAjMTM0CiAgICBwcml2YXRlIHN0YXRpYyBmaW5hbCBjaGFyIFNZTUJPTF9CTEFOSyA9ICcuJzsKICAgIHByaXZhdGUgc3RhdGljIGZpbmFsIGNoYXIgU1lNQk9MX0hPUklaT05UQUxfTElORSA9ICctJzsKICAgIHByaXZhdGUgc3RhdGljIGZpbmFsIGNoYXIgU1lNQk9MX1ZFUlRJQ0FMX0xJTkUgPSAnfCc7CiAgICBwcml2YXRlIHN0YXRpYyBmaW5hbCBjaGFyIFNZTUJPTF9QTFVTID0gJysnOwoKICAgIC8vIE5vdCBhIHRyYWRpdGlvbmFsIGRlZmluaXRpb24gb2YgIm9uZSIsIGJ1dCBjb25zaXN0ZW50IHdpdGggdGhlIEF1dG9nbHlwaHMKICAgIHByaXZhdGUgc3RhdGljIGZpbmFsIEJpZ0ludGVnZXIgT05FID0gbmV3IEJpZ0ludGVnZXIoIjQyOTQ5NjcyOTYiKTsKCiAgICBwcml2YXRlIHN0YXRpYyBmaW5hbCBpbnQgR0xZUEhfU0laRSA9IDY0OwogICAgcHJpdmF0ZSBzdGF0aWMgZmluYWwgaW50IE1BWF9IRUlHSFQgPSAzMjsKCiAgICBwcml2YXRlIHN0YXRpYyBmaW5hbCBTdHJpbmcgQVVUT0dMWVBIXzEzNCA9ICIiIgouLi4tLnwuLi4uLi4tLnwuLi4uLi4tLnwuLi4uLi4tLi4tLi4uLi4ufC4tLi4uLi4ufC4tLi4uLi4ufC4tLi4uCi4uLisuLi0uLnwufC4ufC4uLi4uLi4rLi4tLi4tLi58fC4uLS4uLS4uKy4uLi4uLi58Li58LnwuLi0uLisuLi4KLi4uLi0uLi4rfC4uLi4uLS4uLit8Li4uLi4tLi4uLi4uLi4uLi0uLi4uLnwrLi4uLS4uLi4ufCsuLi4tLi4uLgotKy4ufC0tKy4uLi4uLSsuLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uKy0uLi4uListLXwuListCi4uLXwuLi58Li4uLi4rLi58LisuLi4uLi4uLi0uLi4rKy4uLi0uLi4uLi4uLisufC4uKy4uLi4ufC4uLnwtLi4KfC4uLS58Li4uLi4uLi4uLi4uLi4uLi4uLisuLi4uKy4uKy4uLi4rLi4uLi4uLi4uLi4uLi4uLi4uLnwuLS4ufAouLS4tLi4tLi0uLnwuLS4uLS58Li58LnwuLnwuLi4uLi4uLi4ufC4ufC58Li58Li0uLi0ufC4uLS4tLi4tLi0uCi4uLit8Li4uLXwuLi4rfC4uLi0uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi0uLi58Ky4uLnwtLi4ufCsuLi4KLi4rLi4uLS0rLnwtKy4ufC0uLnx8Li4uLi4uLi4uLi4uLi4uLi4uLi4uLnx8Li4tfC4uKy18ListLS4uLisuLgoufHwuLi4ufC4uLi4uLi4rLi4uLisuLi4uLi0uLi4uKysuLi4uLS4uLi4uKy4uLi4rLi4uLi4uLnwuLi4ufHwuCi4uLi4uLi4ufC58LS58Ky4rLi4rLi4uLi4uLnwuLi0uLi0uLnwuLi4uLi4uKy4uKy4rfC4tfC58Li4uLi4uLi4KLnwuLi4ufC4tLi0uKy4uLi4rLisuKy4uLi4uLi4uLnx8Li4uLi4uLi4uKy4rLisuLi4uKy4tLi0ufC4uLi58LgotLi4uLi4uLisuLit8Li4uKy4uLXwuLi4uLi4rLS4uLi4uLi0rLi4uLi4ufC0uLisuLi58Ky4uKy4uLi4uLi4tCi4uLi0rLi0rLi58Li4uLi4uLi4uLi58LSsufC4uLi4uLi4uLi58ListfC4uLi4uLi4uLi4ufC4uKy0uKy0uLi4KfHwuKy4uLnwuLisuLi4uLi4rLi4uLi4uKy0uLi4uLisrLi4uLi4tKy4uLi4uLisuLi4uLi4rLi58Li4uKy58fAouLi0uLi4uLnwrLi4uLi4tLi0uLi4uLnwtLi4uLi4tLi4tLi4uLi4tfC4uLi4uLS4tLi4uLi4rfC4uLi4uLS4uCi4uLi58Li0uLS4rLisuLi4uLi4ufC58LisuKy4uLi4uLi4uLi4rLisufC58Li4uLi4uLisuKy4tLi0ufC4uLi4KLi4uLi4uLi4uLi4rLi4rLS4rLS4uLS4uLi4uLnwuLi4uLi58Li4uLi4uLS4uLSsuLSsuLisuLi4uLi4uLi4uLgouLi4uKy58LS4uLi4uLi4uLi0uLi4uLi4uKy58LS4uLi4uLi18LisuLi4uLi4uLS4uLi4uLi4uLi18LisuLi4uCi4uKy4uLi4ufC4rKy0uLi4uLi4uKystLi4uLi4uLi4rKy4uLi4uLi4uLSsrLi4uLi4uLi0rKy58Li4uLi4rLi4KLi58Li4uLi58Ky4ufC4uLnwuLisuLnwuLi4tKy4ufC4ufC4uKy0uLi58Li4rLi58Li4ufC4uK3wuLi4uLnwuLgotLi4uLi58Li4uLisuLi4uLi0uKy4uLi4uLS4tLi4uLi4uLi4tLi0uLi4uLisuLS4uLi4uKy4uLi58Li4uLi4tCi4rLi4uLi4uLi4uLi58Li58Li4tfC4rLi4uLi4uLi4uLi4uLi4uLi4uKy58LS4ufC4ufC4uLi4uLi4uLi4uKy4KfC4uLi4ufC4uLi4uLi0ufC4uLi4uLi4uLi4uLi0uLi4uLi4tLi4uLi4uLi4uLi4ufC4tLi4uLi4ufC4uLi4ufAouLi4uLi4uLi4uLi4uKystKy4uLi4uLi4uLi4uLi4rLS0rLi4uLi4uLi4uLi4uListKysuLi4uLi4uLi4uLi4uCi4tLi4uKy4uLi4uLi4uLS4uLisuLi0uLi4tLi4uLi4uLi4uLi4uLS4uLi0uLisuLi4tLi4uLi4uLi4rLi4uLS4KLi4tLi4ufC4uLS4uLnwuLisuLi4tLi4uLi4uLS4rLi4uLisuLS4uLi4uLi0uLi4rLi58Li4uLS4ufC4uLi0uLgouLi4uLS4uLi4ufC4rLi4uLi58ListLi4uLi0uLisuLi4uKy4uLS4uLi4tKy58Li4uLi4rLnwuLi4uLi0uLi4uCi4tLi4uLi4uLi4uLi0uLi4ufC0uLi4uLS4uLi4uKy4uLi4rLi4uLi4tLi4uLi18Li4uLi0uLi4uLi4uLi4uLS4KLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4rKysrLSsrLSsrKysuLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLgotLi4uLisuLi4uLS4uLi4tLi4uLnwuLi4rLi4uLi0uLi4uLS4uLi4rLi4ufC4uLi4tLi4uLi0uLi4uKy4uLi4tCi58Li4rLi4uLisufC4uKy4uLi4rLi4uLi0uLi4uKy4uLi4rLi4uLi0uLi4uKy4uLi4rLi58LisuLi4uKy4ufC4KLnwuLisuLi4uKy58Li4rLi4uLisuLi4uLS4uLi4rLi4uLisuLi4uLS4uLi4rLi4uLisuLnwuKy4uLi4rLi58LgotLi4uLisuLi4uLS4uLi4tLi4uLnwuLi4rLi4uLi0uLi4uLS4uLi4rLi4ufC4uLi4tLi4uLi0uLi4uKy4uLi4tCi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uKysrKy0rKy0rKysrLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4KLi0uLi4uLi4uLi4uLS4uLi58LS4uLi4tLi4uLi4rLi4uLisuLi4uLi0uLi4uLXwuLi4uLS4uLi4uLi4uLi4tLgouLi4uLS4uLi4ufC4rLi4uLi58ListLi4uLi0uLisuLi4uKy4uLS4uLi4tKy58Li4uLi4rLnwuLi4uLi0uLi4uCi4uLS4uLnwuLi0uLi58Li4rLi4uLS4uLi4uLi0uKy4uLi4rLi0uLi4uLi4tLi4uKy4ufC4uLi0uLnwuLi4tLi4KLi0uLi4rLi4uLi4uLi4tLi4uKy4uLS4uLi0uLi4uLi4uLi4uLi4tLi4uLS4uKy4uLi0uLi4uLi4uLisuLi4tLgouLi4uLi4uLi4uLi4uKystKy4uLi4uLi4uLi4uLi4rLS0rLi4uLi4uLi4uLi4uListKysuLi4uLi4uLi4uLi4uCnwuLi4uLnwuLi4uLi4tLnwuLi4uLi4uLi4uLi4tLi4uLi4uLS4uLi4uLi4uLi4uLnwuLS4uLi4uLnwuLi4uLnwKLisuLi4uLi4uLi4uLnwuLnwuLi18LisuLi4uLi4uLi4uLi4uLi4uLi4rLnwtLi58Li58Li4uLi4uLi4uLi4rLgotLi4uLi58Li4uLisuLi4uLi0uKy4uLi4uLS4tLi4uLi4uLi4tLi0uLi4uLisuLS4uLi4uKy4uLi58Li4uLi4tCi4ufC4uLi4ufCsuLnwuLi58Li4rLi58Li4uLSsuLnwuLnwuListLi4ufC4uKy4ufC4uLnwuLit8Li4uLi58Li4KLi4rLi4uLi58LisrLS4uLi4uLi4rKy0uLi4uLi4uLisrLi4uLi4uLi4tKysuLi4uLi4uLSsrLnwuLi4uLisuLgouLi4uKy58LS4uLi4uLi4uLi0uLi4uLi4uKy58LS4uLi4uLi18LisuLi4uLi4uLS4uLi4uLi4uLi18LisuLi4uCi4uLi4uLi4uLi4uKy4uKy0uKy0uLi0uLi4uLi58Li4uLi4ufC4uLi4uLi0uLi0rLi0rLi4rLi4uLi4uLi4uLi4KLi4uLnwuLS4tLisuKy4uLi4uLi58LnwuKy4rLi4uLi4uLi4uLisuKy58LnwuLi4uLi4uKy4rLi0uLS58Li4uLgouLi0uLi4uLnwrLi4uLi4tLi0uLi4uLnwtLi4uLi4tLi4tLi4uLi4tfC4uLi4uLS4tLi4uLi4rfC4uLi4uLS4uCnx8LisuLi58Li4rLi4uLi4uKy4uLi4uListLi4uLi4rKy4uLi4uLSsuLi4uLi4rLi4uLi4uKy4ufC4uLisufHwKLi4uLSsuLSsuLnwuLi4uLi4uLi4uLnwtKy58Li4uLi4uLi4uLnwuKy18Li4uLi4uLi4uLi58Li4rLS4rLS4uLgotLi4uLi4uLisuLit8Li4uKy4uLXwuLi4uLi4rLS4uLi4uLi0rLi4uLi4ufC0uLisuLi58Ky4uKy4uLi4uLi4tCi58Li4uLnwuLS4tLisuLi4uKy4rLisuLi4uLi4uLi58fC4uLi4uLi4uLisuKy4rLi4uLisuLS4tLnwuLi4ufC4KLi4uLi4uLi58LnwtLnwrLisuLisuLi4uLi4ufC4uLS4uLS4ufC4uLi4uLi4rLi4rLit8Li18LnwuLi4uLi4uLgoufHwuLi4ufC4uLi4uLi4rLi4uLisuLi4uLi0uLi4uKysuLi4uLS4uLi4uKy4uLi4rLi4uLi4uLnwuLi4ufHwuCi4uKy4uLi0tKy58LSsuLnwtLi58fC4uLi4uLi4uLi4uLi4uLi4uLi4uLi58fC4uLXwuListfC4rLS0uLi4rLi4KLi4uK3wuLi4tfC4uLit8Li4uLS4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLS4uLnwrLi4ufC0uLi58Ky4uLgouLS4tLi4tLi0uLnwuLS4uLS58Li58LnwuLnwuLi4uLi4uLi4ufC4ufC58Li58Li0uLi0ufC4uLS4tLi4tLi0uCnwuLi0ufC4uLi4uLi4uLi4uLi4uLi4uLi4rLi4uLisuLisuLi4uKy4uLi4uLi4uLi4uLi4uLi4uLi58Li0uLnwKLi4tfC4uLnwuLi4uLisuLnwuKy4uLi4uLi4uLS4uLisrLi4uLS4uLi4uLi4uKy58Li4rLi4uLi58Li4ufC0uLgotKy4ufC0tKy4uLi4uLSsuLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uKy0uLi4uListLXwuListCi4uLi4tLi4uK3wuLi4uLi0uLi4rfC4uLi4uLS4uLi4uLi4uLi4tLi4uLi58Ky4uLi0uLi4uLnwrLi4uLS4uLi4KLi4uKy4uLS4ufC58Li58Li4uLi4uLisuLi0uLi0uLnx8Li4tLi4tLi4rLi4uLi4uLnwuLnwufC4uLS4uKy4uLgouLi4tLnwuLi4uLi4tLnwuLi4uLi4tLnwuLi4uLi4tLi4tLi4uLi4ufC4tLi4uLi4ufC4tLi4uLi4ufC4tLi4uCiIiIjsKCiAgICBwcml2YXRlIHN0YXRpYyBjbGFzcyBNb2RlbCB7CgogICAgICAgIC8vIFRoZSBjby1vcmRpbmF0ZXMgeCwgeSBhbmQgeiBjb3JyZXNwb25kIHRvIHdpZHRoLCBkZXB0aCwgYW5kIGhlaWdodAogICAgICAgIGludCB4U2l6ZSwgeVNpemUsIHpTaXplOwoKICAgICAgICAvLyBUaGUgM0QgbW9kZWwKICAgICAgICBib29sZWFuW11bXVtdIGNlbGxzOwoKICAgICAgICBNb2RlbChpbnQgeFNpemUsIGludCB5U2l6ZSwgaW50IHpTaXplKSB7CiAgICAgICAgICAgIHRoaXMueFNpemUgPSB4U2l6ZTsKICAgICAgICAgICAgdGhpcy55U2l6ZSA9IHlTaXplOwogICAgICAgICAgICB0aGlzLnpTaXplID0gelNpemU7CiAgICAgICAgICAgIGNlbGxzID0gbmV3IGJvb2xlYW5beFNpemVdW3lTaXplXVt6U2l6ZV07CiAgICAgICAgfQoKICAgICAgICB2b2lkIHNldChpbnQgeCwgaW50IHksIGludCB6KSB7CiAgICAgICAgICAgIGNlbGxzW3hdW3ldW3pdID0gdHJ1ZTsKICAgICAgICB9CgogICAgICAgIHZvaWQgY2xlYXIoaW50IHgsIGludCB5LCBpbnQgeikgewogICAgICAgICAgICBjZWxsc1t4XVt5XVt6XSA9IGZhbHNlOwogICAgICAgIH0KCiAgICAgICAgQE92ZXJyaWRlCiAgICAgICAgcHVibGljIFN0cmluZyB0b1N0cmluZygpIHsKICAgICAgICAgICAgU3RyaW5nQnVpbGRlciBzYiA9IG5ldyBTdHJpbmdCdWlsZGVyKCk7CiAgICAgICAgICAgIGZvciAoaW50IHogPSAwOyB6IDwgelNpemU7IHorKykgewogICAgICAgICAgICAgICAgZm9yIChpbnQgeSA9IDA7IHkgPCB5U2l6ZTsgeSsrKSB7CiAgICAgICAgICAgICAgICAgICAgZm9yIChpbnQgeCA9IDA7IHggPCB4U2l6ZTsgeCsrKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjZWxsc1t4XVt5XVt6XSkgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgc2IuYXBwZW5kKCIoIikuYXBwZW5kKHgpLmFwcGVuZCgiLCAiKS5hcHBlbmQoeSkuYXBwZW5kKCIsICIpLmFwcGVuZCh6KS5hcHBlbmQoIilcbiIpOwogICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBzYi50b1N0cmluZygpOwogICAgICAgIH0KICAgIH0KCiAgICBwcml2YXRlIHN0YXRpYyBjaGFyIGdseXBoU3ltYm9sQXQoaW50IHgsIGludCB5KSB7CiAgICAgICAgaW50IGluZGV4ID0geSAqIChHTFlQSF9TSVpFICsgMSkgKyB4OwogICAgICAgIHJldHVybiBBVVRPR0xZUEhfMTM0LmNoYXJBdChpbmRleCk7CiAgICB9CgogICAgLy8gV3JpdGUgdGhlIGFwcHJvcHJpYXRlIHZveGVscyBmb3IgdGhlIGdseXBoIHN5bWJvbCBhdCB4LCB5LCBhbmQgegogICAgcHJpdmF0ZSBzdGF0aWMgdm9pZCB3cml0ZVZveGVsc0ZvclN5bWJvbEF0KE1vZGVsIG1vZGVsLCBpbnQgeCwgaW50IHksIGludCB6KSB7CiAgICAgICAgY2hhciBzeW1ib2wgPSBnbHlwaFN5bWJvbEF0KHgsIHkpOwogICAgICAgIHggKj0gMzsKICAgICAgICB6ICo9IDI7CiAgICAgICAgeSAqPSAzOwogICAgICAgIGlmIChzeW1ib2wgPT0gU1lNQk9MX1BMVVMpIHsKICAgICAgICAgICAgZm9yIChpbnQgenogPSB6OyB6eiA8IHogKyAyOyB6eisrKSB7CiAgICAgICAgICAgICAgICAgICAgbW9kZWwuc2V0KHggKyAxLCB5LCB6eik7CiAgICAgICAgICAgICAgICAgICAgbW9kZWwuc2V0KHggKyAxLCB5ICsgMiwgenopOwogICAgICAgICAgICAgICAgICAgIG1vZGVsLnNldCh4LCB5ICsgMSwgenopOwogICAgICAgICAgICAgICAgICAgIG1vZGVsLnNldCh4ICsgMiwgeSArIDEsIHp6KTsKICAgICAgICAgICAgICAgICAgICBtb2RlbC5zZXQoeCArIDEsIHkgKyAxLCB6eik7CiAgICAgICAgICAgIH0KICAgICAgICB9IGVsc2UgaWYgKHN5bWJvbCA9PSBTWU1CT0xfSE9SSVpPTlRBTF9MSU5FKSB7CiAgICAgICAgICAgIGZvciAoaW50IHp6ID0gejsgenogPCB6ICsgMjsgenorKykgewogICAgICAgICAgICAgICAgbW9kZWwuc2V0KHgsIHkgKyAxLCB6eik7CiAgICAgICAgICAgICAgICBtb2RlbC5zZXQoeCArIDEsIHkgKyAxLCB6eik7CiAgICAgICAgICAgICAgICBtb2RlbC5zZXQoeCArIDIsIHkgKyAxLCB6eik7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgbW9kZWwuY2xlYXIoeCArIDEsIHkgKyAxLCB6KTsKICAgICAgICB9IGVsc2UgaWYgKHN5bWJvbCA9PSBTWU1CT0xfVkVSVElDQUxfTElORSkgewogICAgICAgICAgICBmb3IgKGludCB6eiA9IHo7IHp6IDwgeiArIDI7IHp6KyspIHsKICAgICAgICAgICAgICAgIG1vZGVsLnNldCh4ICsgMSwgeSwgenopOwogICAgICAgICAgICAgICAgbW9kZWwuc2V0KHggKyAxLCB5ICsgMSwgenopOwogICAgICAgICAgICAgICAgbW9kZWwuc2V0KHggKyAxLCB5ICsgMiwgenopOwogICAgICAgICAgICB9CiAgICAgICAgICAgIG1vZGVsLmNsZWFyKHggKyAxLCB5ICsgMSwgeik7CiAgICAgICAgfQogICAgfQoKICAgIC8qICoqKioqKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqICoqKioqKiAqLwoKICAgIC8vIFRoZSBmb2xsb3dpbmcgY29kZSBnZW5lcmF0ZXMgYXJ0LgoKICAgIHByaXZhdGUgc3RhdGljIE1vZGVsIGNyZWF0ZVZveGVsR2x5cGgoQmlnSW50ZWdlciBhKSB7CiAgICAgICAgLy8gRWFjaCBjZWxsIG9mIHRoZSBBdXRvZ2x5cGggYmVjb21lcyBhIDN4M3hOIHRvd2VyIGluIHRoZSBWb3hlbGdseXBoLCB3aXRoIHRvd2VyIGhlaWdodCBpbiBpbmNyZW1lbnRzIG9mIDIKICAgICAgICBCaWdJbnRlZ2VyIGZpZWxkID0gQmlnSW50ZWdlci52YWx1ZU9mKDMxKTsKICAgICAgICBNb2RlbCBtb2RlbCA9IG5ldyBNb2RlbChHTFlQSF9TSVpFICogMywgR0xZUEhfU0laRSAqIDMsIE1BWF9IRUlHSFQgKiAyKTsKICAgICAgICBmb3IgKGludCB4ID0gMDsgeCA8IEdMWVBIX1NJWkU7IHgrKykgewogICAgICAgICAgICBpbnQgcHggPSBNYXRoLm1pbih4ICsgMSwgR0xZUEhfU0laRSAtIHgpOwogICAgICAgICAgICBpbnQgeHggPSBweCAtIDE7CiAgICAgICAgICAgIGZvciAoaW50IHkgPSAwOyB5IDwgR0xZUEhfU0laRTsgeSsrKSB7CiAgICAgICAgICAgICAgICBpZiAoZ2x5cGhTeW1ib2xBdCh4LCB5KSAhPSBTWU1CT0xfQkxBTkspIHsKICAgICAgICAgICAgICAgICAgICBpbnQgcHkgPSBNYXRoLm1pbih5ICsgMSwgR0xZUEhfU0laRSAtIHkpOwogICAgICAgICAgICAgICAgICAgIC8vIEVuY291cmFnZSBhIHJvdWdobHkgcHlyYW1pZGFsIHNoYXBlCiAgICAgICAgICAgICAgICAgICAgaW50IHAgPSBNYXRoLm1pbihweCwgcHkpICogNSAvIDQ7CiAgICAgICAgICAgICAgICAgICAgaW50IHl5ID0gcHkgLSAxOwogICAgICAgICAgICAgICAgICAgIGludCBwcm9kdWN0ID0geHggKiB5eTsKICAgICAgICAgICAgICAgICAgICAvLyBNb2R1bGFyIGZpZWxkIHN0dWZmCiAgICAgICAgICAgICAgICAgICAgaW50IGggPSBCaWdJbnRlZ2VyLnZhbHVlT2YocHJvZHVjdCkubXVsdGlwbHkoYSkuZGl2aWRlKE9ORSkubW9kKGZpZWxkKS5pbnRWYWx1ZSgpOwogICAgICAgICAgICAgICAgICAgIGludCBsID0gcHggKiBweTsKICAgICAgICAgICAgICAgICAgICBpbnQgaGVpZ2h0ID0gTWF0aC5taW4oaCAqIHAgLyAyOSArIDEsIDI2KTsKICAgICAgICAgICAgICAgICAgICBoZWlnaHQgPSBoZWlnaHQgKyAobCAvIDc1MCkgKiAocCAqIE1BWF9IRUlHSFQgLyA0MCAtIGhlaWdodCk7CiAgICAgICAgICAgICAgICAgICAgLy8gQ29uc3RydWN0IHRoZSB0b3dlcgogICAgICAgICAgICAgICAgICAgIGZvciAoaW50IHogPSAwOyB6IDwgaGVpZ2h0OyB6KyspIHsKICAgICAgICAgICAgICAgICAgICAgICAgd3JpdGVWb3hlbHNGb3JTeW1ib2xBdChtb2RlbCwgeCwgeSwgeik7CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiBtb2RlbDsKICAgIH0KCiAgICAvKiAqKioqKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqKioqKiogKi8KCiAgICAvLyBSdW4gdGhlIGdlbmVyYXRvcgogICAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykgdGhyb3dzIElPRXhjZXB0aW9uIHsKICAgICAgICAvLyBTZWVkIHNlbGVjdGVkIGZvciBhZXN0aGV0aWNzCiAgICAgICAgQmlnSW50ZWdlciBzZWVkID0gbmV3IEJpZ0ludGVnZXIoIjIxNTg0NzkyODM3NDg3MTEzIik7CiAgICAgICAgTW9kZWwgbW9kZWwgPSBjcmVhdGVWb3hlbEdseXBoKHNlZWQpOwogICAgICAgIFByaW50V3JpdGVyIG91dCA9IG5ldyBQcmludFdyaXRlcihuZXcgRmlsZU91dHB1dFN0cmVhbSgidm94ZWxnbHlwaC50eHQiKSk7CiAgICAgICAgb3V0LnByaW50KG1vZGVsLnRvU3RyaW5nKCkpOwogICAgICAgIG91dC5jbG9zZSgpOwogICAgfQp9Cg==

-----Encoded View---------------
485 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 0000000000000000000000006a07feef7eb458a71ac0ae759ccd3c78c70139ca
Arg [2] : 000000000000000000000000bc49de68bcbd164574847a7ced47e7475179c76b
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [6] : 697066733a2f2f516d6346364b43636342486d45617a4e4a57364d4e67683978
Arg [7] : 4a464261704c4664416566543139556572346934332f00000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000003b75
Arg [9] : 646174613a6170706c69636174696f6e2f746578743b6261736536342c634746
Arg [10] : 6a6132466e5a53426a6232307562474679646d467359574a7a4c6e5a76654756
Arg [11] : 735a327835634767374367707062584276636e5167616d463259533570627935
Arg [12] : 476157786c5433563063485630553352795a5746744f77707062584276636e51
Arg [13] : 67616d4632595335706279354a543056345932567764476c76626a734b615731
Arg [14] : 7762334a3049477068646d45756157387555484a70626e5258636d6c305a5849
Arg [15] : 37436d6c74634739796443427159585a684c6d316864476775516d6c6e535735
Arg [16] : 305a57646c636a734b436938714b676f674b6941674c794d6a49434167494338
Arg [17] : 6a49794167494341674943416749434167494341674943416749434167494341
Arg [18] : 6749434167494341674943386a497941674943416749434167494341674c794d
Arg [19] : 6a494341674943416749434167494341674943416749434167494341674c794d
Arg [20] : 6a4943416749434167436941714948776749794d674943423849434d6a494341
Arg [21] : 6749434167494341674943416749434167494341674943416749434167494341
Arg [22] : 674943423849434d6a4943416749434167494341674948776749794d67494341
Arg [23] : 6749434167494341674943416749434167494341674948776749794d67494341
Arg [24] : 674943414b49436f676643416a497941674948776749794d674c794d6a49794d
Arg [25] : 6a497941674c794d6a494341674c794d6a4943417649794d6a49794d6a494877
Arg [26] : 6749794d674943386a49794d6a49794d676643416a4979417649794d67494341
Arg [27] : 7649794d674943386a49794d6a49794d676643416a49794d6a49794d6a49416f
Arg [28] : 674b6942384943416a4979417649434d6a4c79386a493139664943416a493377
Arg [29] : 6749434d6a4943386a497938674c794d6a5831386749434d6a6643416a497941
Arg [30] : 7649794e665879416749794e3849434d6a6643416a497941676643416a497941
Arg [31] : 7649794e665879416749794e3849434d6a5831386749434d6a43694171494342
Arg [32] : 634943416a4979416a4979393849434d6a4943426349434d6a4946776749434d
Arg [33] : 6a49794d764948776749794d6a49794d6a49794e3849434d6a6643416a497941
Arg [34] : 675843416a4933776749794e3849434d6a4943423849434d6a6643416a497941
Arg [35] : 675843416a4933776749794d674946776749794d4b49436f6749434263494341
Arg [36] : 6a49794d764948776749794d674948776749794d674944346a4979416749794d
Arg [37] : 676643416a49313966583139664c33776749794e3849434d6a4943423849434d
Arg [38] : 6a6643416a4933776749794d674948776749794e3849434d6a4943423849434d
Arg [39] : 6a6643416a497941676643416a49776f674b694167494342634943416a4c7941
Arg [40] : 676643416749794d6a49794d6a4c79417649794d765843416749794e38494341
Arg [41] : 6a49794d6a49794d6a6643416a4933776749434d6a49794d6a49794e3849434d
Arg [42] : 6a6643416749794d6a49794d6a4933776749794d6a49794d6a4979393849434d
Arg [43] : 6a4943423849434d6a4369417149434167494342635879386749434167584639
Arg [44] : 665831396658793867664639664c794167584639664c79426358313966583139
Arg [45] : 66587939385831387649467866583139664943416a4933786658793867584639
Arg [46] : 665831386749434d6a6643416a49313966583138764948786658793867494878
Arg [47] : 665879384b49436f674943416749434167494341674943416749434167494341
Arg [48] : 6749434167494341674943416749434167494341674943416749434167494341
Arg [49] : 67494341674c794d6a4943426349434d6a494341674943417649794d67494877
Arg [50] : 6749794e3849434d6a494341674943416749434167494341674943416749416f
Arg [51] : 674b694167494341674943416749434167494341674943416749434167494341
Arg [52] : 6749434167494341674943416749434167494341674943416749434167494877
Arg [53] : 6749434d6a49794d6a49793867494341676643416749794d6a49794d6a4c3377
Arg [54] : 6749794d67494341674943416749434167494341674943416743694171494341
Arg [55] : 6749434167494341674943416749434167494341674943416749434167494341
Arg [56] : 6749434167494341674943416749434167494341674943416749467866583139
Arg [57] : 66583138764943416749434167584639665831396658793867664639664c776f
Arg [58] : 674b676f674b6941674943416749434167494341674943416749434167494341
Arg [59] : 6749434167494341674943416749434167494341674943416749434167494341
Arg [60] : 6749474a3549457868636e5a6849457868596e4d674b45316864485167534746
Arg [61] : 7362434268626d5167536d396f62694258595852726157357a62323470436941
Arg [62] : 7149434167494341674943416749434167494341674943416749434167494341
Arg [63] : 6749434167494341674943416749434167494341674943416749434167494341
Arg [64] : 6749476c7549484268636e52755a584a7a61476c774948647064476767644768
Arg [65] : 6c49455a70626d646c636e427961573530637942455155384b49436f4b49436f
Arg [66] : 675647686c49455a70626d646c636e4279615735306379424551553867623364
Arg [67] : 7563794242645852765a32783563476767497a457a4e434268626d51675a4756
Arg [68] : 7961585a6c6379423061475670636942736232647649475a7962323067644768
Arg [69] : 6c49434a6f59584e6f4969426d61576431636d5567595851676158527a49474e
Arg [70] : 6c626e526c636934675647686c49474a6c6247393349474e765a47554b49436f
Arg [71] : 675a573177624739356379423061475567633246745a5342726157356b494739
Arg [72] : 6d494731765a485673595849675a6d6c6c6247516759584a70644768745a5852
Arg [73] : 7059794268637942306147556751585630623264736558426f4947646c626d56
Arg [74] : 79595852766369427064484e6c62475967644738675957526b49474567614756
Arg [75] : 705a32683049475a705a57786b494852764948526f61584d4b49436f67515856
Arg [76] : 30623264736558426f4c43426a636d566864476c755a7942684948526f636d56
Arg [77] : 6c4c5752706257567563326c76626d467349484e30636e566a644856795a5342
Arg [78] : 30614746304948646c49474e68624777676447686c49434a576233686c624764
Arg [79] : 736558426f4969344b49436f4b49436f675647686c49475a766247787664326c
Arg [80] : 755a79424b59585a684948427962326479595730675a3256755a584a68644756
Arg [81] : 7a4948526f5a5342576233686c624764736558426f4948647064476767626d38
Arg [82] : 675a4756775a57356b5a57356a6157567a49474a6c655739755a43426849484e
Arg [83] : 305957356b59584a6b49457068646d4567556e567564476c745a534246626e5a
Arg [84] : 70636d3975625756756443344b49436f675647686c4947393164484231644342
Arg [85] : 706379426849484e6c636d6c6c637942765a69417a5243426a62793176636d52
Arg [86] : 70626d46305a584d67644768686443426a6232357a64484a3159335167644768
Arg [87] : 6c49473969616d566a6443346756476876633255675932387462334a6b615735
Arg [88] : 686447567a494778706333526c5a434268636d556764473867596d55675a6d6c
Arg [89] : 736247566b494864706447674b49436f675953423361476c305a53426a64574a
Arg [90] : 6c4c434268624777676233526f5a5849675932387462334a6b61573568644756
Arg [91] : 7a494746795a534230627942695a5342735a575a3049474e735a5746794c676f
Arg [92] : 674b676f674b69425561475567636d567a645778306157356e494731765a4756
Arg [93] : 7349474e68626942695a5342795a57356b5a584a6c5a437767596d3930614342
Arg [94] : 7761486c7a61574e6862477835494746755a43423261584a306457467362486b
Arg [95] : 7349476876643256325a5849676447686c49473933626d56794947526c63326c
Arg [96] : 795a584d75436941714369417149454675655739755a53427459586b675a4738
Arg [97] : 6759584d676447686c6553423361584e6f494864706447676764476870637942
Arg [98] : 6a6232526c4c434269645851676432556764326c7362434276626d783549474e
Arg [99] : 76626e4e705a4756794948526f5a534276645852776458516762325967644768
Arg [100] : 7063794277636d396e636d467449473975494546316447396e62486c77614341
Arg [101] : 6a4d544d30494746755a416f674b6942336158526f49484e6c5a5751674d6a45
Arg [102] : 314f4451334f5449344d7a63304f4463784d544d6759584d676447686c494739
Arg [103] : 755a534268626d516762323573655342576233686c624764736558426f4c676f
Arg [104] : 674b69384b6348566962476c6a49474e7359584e7a49465a76654756735a3278
Arg [105] : 356347676765776f4b49434167494338764946526f5a53427a65573169623278
Arg [106] : 7a49476c75494546316447396e62486c776143416a4d544d3043694167494342
Arg [107] : 77636d6c325958526c49484e30595852705979426d615735686243426a614746
Arg [108] : 7949464e5a54554a50544639435445464f53794139494363754a7a734b494341
Arg [109] : 674948427961585a68644755676333526864476c6a49475a70626d467349474e
Arg [110] : 6f5958496755316c4e516b394d58306850556b6c61543035555155786654456c
Arg [111] : 4f52534139494363744a7a734b494341674948427961585a6864475567633352
Arg [112] : 6864476c6a49475a70626d467349474e6f5958496755316c4e516b394d58315a
Arg [113] : 46556c524a5130464d5830784a546b55675053416e6643633743694167494342
Arg [114] : 77636d6c325958526c49484e30595852705979426d615735686243426a614746
Arg [115] : 7949464e5a54554a505446395154465654494430674a79736e4f776f4b494341
Arg [116] : 67494338764945357664434268494852795957527064476c76626d4673494752
Arg [117] : 6c5a6d6c75615852706232346762325967496d39755a53497349474a31644342
Arg [118] : 6a6232357a61584e305a57353049486470644767676447686c49454631644739
Arg [119] : 6e62486c7761484d4b494341674948427961585a68644755676333526864476c
Arg [120] : 6a49475a70626d467349454a705a306c756447566e5a58496754303546494430
Arg [121] : 67626d563349454a705a306c756447566e5a58496f496a51794f5451354e6a63
Arg [122] : 794f5459694b54734b4369416749434277636d6c325958526c49484e30595852
Arg [123] : 705979426d6157356862434270626e51675230785a5545686655306c61525341
Arg [124] : 39494459304f776f674943416763484a70646d46305a53427a6447463061574d
Arg [125] : 675a6d6c755957776761573530494531425746394952556c4853465167505341
Arg [126] : 7a4d6a734b4369416749434277636d6c325958526c49484e3059585270597942
Arg [127] : 6d615735686243425464484a70626d6367515656555430644d57564249587a45
Arg [128] : 7a4e4341394943496949676f754c6934744c6e77754c6934754c6934744c6e77
Arg [129] : 754c6934754c6934744c6e77754c6934754c6934744c6934744c6934754c6934
Arg [130] : 75664334744c6934754c693475664334744c6934754c693475664334744c6934
Arg [131] : 75436934754c6973754c6930754c6e777566433475664334754c6934754c6934
Arg [132] : 724c6934744c6934744c693538664334754c5334754c5334754b7934754c6934
Arg [133] : 754c6935384c6935384c6e77754c6930754c6973754c69344b4c6934754c6930
Arg [134] : 754c693472664334754c6934754c5334754c6974384c6934754c6934744c6934
Arg [135] : 754c6934754c6934754c6930754c6934754c6e77724c6934754c5334754c6934
Arg [136] : 75664373754c6934744c6934754c676f744b793475664330744b7934754c6934
Arg [137] : 754c5373754c6934754c6934754c6934754c6934754c6934754c6934754c6934
Arg [138] : 754c6934754c6934754c6934754c6934754b7930754c6934754c6973744c5877
Arg [139] : 754c697374436934754c5877754c6935384c6934754c6934724c6935384c6973
Arg [140] : 754c6934754c6934754c6930754c6934724b7934754c6930754c6934754c6934
Arg [141] : 754c697375664334754b7934754c693475664334754c6e77744c69344b664334
Arg [142] : 754c5335384c6934754c6934754c6934754c6934754c6934754c6934754c6973
Arg [143] : 754c6934754b7934754b7934754c6934724c6934754c6934754c6934754c6934
Arg [144] : 754c6934754c6934754c6e77754c53347566416f754c5334744c6934744c6930
Arg [145] : 754c6e77754c5334754c5335384c6935384c6e77754c6e77754c6934754c6934
Arg [146] : 754c69347566433475664335384c6935384c6930754c693075664334754c5334
Arg [147] : 744c6934744c693075436934754c6974384c6934754c5877754c693472664334
Arg [148] : 754c6930754c6934754c6934754c6934754c6934754c6934754c6934754c6934
Arg [149] : 754c6934754c6930754c6935384b7934754c6e77744c693475664373754c6934
Arg [150] : 4b4c6934724c6934754c5330724c6e77744b793475664330754c6e78384c6934
Arg [151] : 754c6934754c6934754c6934754c6934754c6934754c6934754c6e78384c6934
Arg [152] : 74664334754b7931384c6973744c5334754c6973754c676f75664877754c6934
Arg [153] : 75664334754c6934754c6934724c6934754c6973754c6934754c6930754c6934
Arg [154] : 754b7973754c6934754c5334754c6934754b7934754c6934724c6934754c6934
Arg [155] : 754c6e77754c69347566487775436934754c6934754c693475664335384c5335
Arg [156] : 384b7934724c6934724c6934754c6934754c6e77754c6930754c6930754c6e77
Arg [157] : 754c6934754c6934754b7934754b79347266433474664335384c6934754c6934
Arg [158] : 754c69344b4c6e77754c693475664334744c6930754b7934754c6934724c6973
Arg [159] : 754b7934754c6934754c6934754c6e78384c6934754c6934754c6934754b7934
Arg [160] : 724c6973754c6934754b7934744c693075664334754c6935384c676f744c6934
Arg [161] : 754c6934754c6973754c6974384c6934754b7934754c5877754c6934754c6934
Arg [162] : 724c5334754c6934754c6930724c6934754c693475664330754c6973754c6935
Arg [163] : 384b7934754b7934754c6934754c693474436934754c6930724c6930724c6935
Arg [164] : 384c6934754c6934754c6934754c6935384c537375664334754c6934754c6934
Arg [165] : 754c6935384c697374664334754c6934754c6934754c693475664334754b7930
Arg [166] : 754b7930754c69344b664877754b7934754c6e77754c6973754c6934754c6934
Arg [167] : 724c6934754c6934754b7930754c6934754c6973724c6934754c6934744b7934
Arg [168] : 754c6934754c6973754c6934754c6934724c6935384c6934754b79353866416f
Arg [169] : 754c6930754c6934754c6e77724c6934754c6934744c6930754c6934754c6e77
Arg [170] : 744c6934754c6934744c6934744c6934754c693474664334754c6934754c5334
Arg [171] : 744c6934754c693472664334754c6934754c533475436934754c6935384c6930
Arg [172] : 754c5334724c6973754c6934754c693475664335384c6973754b7934754c6934
Arg [173] : 754c6934754c6934724c697375664335384c6934754c6934754c6973754b7934
Arg [174] : 744c693075664334754c69344b4c6934754c6934754c6934754c6934724c6934
Arg [175] : 724c5334724c5334754c5334754c6934754c6e77754c6934754c6935384c6934
Arg [176] : 754c6934754c5334754c5373754c5373754c6973754c6934754c6934754c6934
Arg [177] : 754c676f754c6934754b7935384c5334754c6934754c6934754c6930754c6934
Arg [178] : 754c6934754b7935384c5334754c6934754c6931384c6973754c6934754c6934
Arg [179] : 754c5334754c6934754c6934754c6931384c6973754c693475436934754b7934
Arg [180] : 754c693475664334724b7930754c6934754c6934754b7973744c6934754c6934
Arg [181] : 754c6934724b7934754c6934754c6934754c5373724c6934754c6934754c6930
Arg [182] : 724b7935384c6934754c6934724c69344b4c6935384c6934754c6935384b7934
Arg [183] : 75664334754c6e77754c6973754c6e77754c6934744b79347566433475664334
Arg [184] : 754b7930754c6935384c6934724c6935384c693475664334754b3377754c6934
Arg [185] : 754c6e77754c676f744c6934754c6935384c6934754c6973754c6934754c6930
Arg [186] : 754b7934754c6934754c5334744c6934754c6934754c6934744c6930754c6934
Arg [187] : 754c6973754c5334754c6934754b7934754c6935384c6934754c693474436934
Arg [188] : 724c6934754c6934754c6934754c6935384c6935384c693474664334724c6934
Arg [189] : 754c6934754c6934754c6934754c6934754c6934754b7935384c533475664334
Arg [190] : 75664334754c6934754c6934754c6934754b79344b664334754c693475664334
Arg [191] : 754c6934754c693075664334754c6934754c6934754c6934754c6930754c6934
Arg [192] : 754c6934744c6934754c6934754c6934754c693475664334744c6934754c6934
Arg [193] : 75664334754c69347566416f754c6934754c6934754c6934754c6934754b7973
Arg [194] : 744b7934754c6934754c6934754c6934754c6934724c5330724c6934754c6934
Arg [195] : 754c6934754c6934754c6973744b7973754c6934754c6934754c6934754c6934
Arg [196] : 75436934744c6934754b7934754c6934754c6934754c5334754c6973754c6930
Arg [197] : 754c6934744c6934754c6934754c6934754c6934754c5334754c6930754c6973
Arg [198] : 754c6934744c6934754c6934754c6934724c6934754c53344b4c6934744c6934
Arg [199] : 75664334754c5334754c6e77754c6973754c6934744c6934754c6934754c5334
Arg [200] : 724c6934754c6973754c5334754c6934754c6930754c6934724c6935384c6934
Arg [201] : 754c533475664334754c6930754c676f754c6934754c5334754c693475664334
Arg [202] : 724c6934754c6935384c6973744c6934754c6930754c6973754c6934754b7934
Arg [203] : 754c5334754c6934744b7935384c6934754c6934724c6e77754c6934754c6930
Arg [204] : 754c693475436934744c6934754c6934754c6934754c6930754c693475664330
Arg [205] : 754c6934754c5334754c6934754b7934754c6934724c6934754c6934744c6934
Arg [206] : 754c6931384c6934754c6930754c6934754c6934754c6934754c53344b4c6934
Arg [207] : 754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934
Arg [208] : 724b7973724c5373724c5373724b7973754c6934754c6934754c6934754c6934
Arg [209] : 754c6934754c6934754c6934754c6934754c676f744c6934754c6973754c6934
Arg [210] : 754c5334754c6934744c6934754c6e77754c6934724c6934754c6930754c6934
Arg [211] : 754c5334754c6934724c693475664334754c6934744c6934754c6930754c6934
Arg [212] : 754b7934754c693474436935384c6934724c6934754c697375664334754b7934
Arg [213] : 754c6934724c6934754c6930754c6934754b7934754c6934724c6934754c6930
Arg [214] : 754c6934754b7934754c6934724c6935384c6973754c6934754b793475664334
Arg [215] : 4b4c6e77754c6973754c6934754b7935384c6934724c6934754c6973754c6934
Arg [216] : 754c5334754c6934724c6934754c6973754c6934754c5334754c6934724c6934
Arg [217] : 754c6973754c6e77754b7934754c6934724c6935384c676f744c6934754c6973
Arg [218] : 754c6934754c5334754c6934744c6934754c6e77754c6934724c6934754c6930
Arg [219] : 754c6934754c5334754c6934724c693475664334754c6934744c6934754c6930
Arg [220] : 754c6934754b7934754c693474436934754c6934754c6934754c6934754c6934
Arg [221] : 754c6934754c6934754c6934754c6934754b7973724b7930724b7930724b7973
Arg [222] : 724c6934754c6934754c6934754c6934754c6934754c6934754c6934754c6934
Arg [223] : 754c69344b4c6930754c6934754c6934754c6934754c5334754c6935384c5334
Arg [224] : 754c6934744c6934754c6934724c6934754c6973754c6934754c6930754c6934
Arg [225] : 754c5877754c6934754c5334754c6934754c6934754c6934744c676f754c6934
Arg [226] : 754c5334754c693475664334724c6934754c6935384c6973744c6934754c6930
Arg [227] : 754c6973754c6934754b7934754c5334754c6934744b7935384c6934754c6934
Arg [228] : 724c6e77754c6934754c6930754c693475436934754c5334754c6e77754c6930
Arg [229] : 754c6935384c6934724c6934754c5334754c6934754c6930754b7934754c6934
Arg [230] : 724c6930754c6934754c6934744c6934754b793475664334754c6930754c6e77
Arg [231] : 754c6934744c69344b4c6930754c6934724c6934754c6934754c6934744c6934
Arg [232] : 754b7934754c5334754c6930754c6934754c6934754c6934754c6934744c6934
Arg [233] : 754c5334754b7934754c6930754c6934754c6934754c6973754c6934744c676f
Arg [234] : 754c6934754c6934754c6934754c6934754b7973744b7934754c6934754c6934
Arg [235] : 754c6934754c6934724c5330724c6934754c6934754c6934754c6934754c6973
Arg [236] : 744b7973754c6934754c6934754c6934754c693475436e77754c6934754c6e77
Arg [237] : 754c6934754c6934744c6e77754c6934754c6934754c6934754c6934744c6934
Arg [238] : 754c6934754c5334754c6934754c6934754c6934754c6e77754c5334754c6934
Arg [239] : 754c6e77754c6934754c6e774b4c6973754c6934754c6934754c6934754c6e77
Arg [240] : 754c6e77754c6931384c6973754c6934754c6934754c6934754c6934754c6934
Arg [241] : 754c6934724c6e77744c6935384c6935384c6934754c6934754c6934754c6934
Arg [242] : 724c676f744c6934754c6935384c6934754c6973754c6934754c6930754b7934
Arg [243] : 754c6934754c5334744c6934754c6934754c6934744c6930754c6934754c6973
Arg [244] : 754c5334754c6934754b7934754c6935384c6934754c69347443693475664334
Arg [245] : 754c693475664373754c6e77754c6935384c6934724c6935384c6934754c5373
Arg [246] : 754c6e77754c6e77754c6973744c693475664334754b793475664334754c6e77
Arg [247] : 754c6974384c6934754c6935384c69344b4c6934724c6934754c6935384c6973
Arg [248] : 724c5334754c6934754c6934724b7930754c6934754c6934754c6973724c6934
Arg [249] : 754c6934754c6934744b7973754c6934754c6934754c5373724c6e77754c6934
Arg [250] : 754c6973754c676f754c6934754b7935384c5334754c6934754c6934754c6930
Arg [251] : 754c6934754c6934754b7935384c5334754c6934754c6931384c6973754c6934
Arg [252] : 754c6934754c5334754c6934754c6934754c6931384c6973754c693475436934
Arg [253] : 754c6934754c6934754c6934754b7934754b7930754b7930754c6930754c6934
Arg [254] : 754c6935384c6934754c693475664334754c6934754c6930754c6930724c6930
Arg [255] : 724c6934724c6934754c6934754c6934754c69344b4c6934754c6e77754c5334
Arg [256] : 744c6973754b7934754c6934754c6935384c6e77754b7934724c6934754c6934
Arg [257] : 754c6934754c6973754b7935384c6e77754c6934754c6934754b7934724c6930
Arg [258] : 754c5335384c6934754c676f754c6930754c6934754c6e77724c6934754c6934
Arg [259] : 744c6930754c6934754c6e77744c6934754c6934744c6934744c6934754c6934
Arg [260] : 74664334754c6934754c5334744c6934754c693472664334754c6934754c5334
Arg [261] : 75436e78384c6973754c6935384c6934724c6934754c6934754b7934754c6934
Arg [262] : 754c6973744c6934754c6934724b7934754c6934754c5373754c6934754c6934
Arg [263] : 724c6934754c6934754b793475664334754c6973756648774b4c6934754c5373
Arg [264] : 754c5373754c6e77754c6934754c6934754c6934754c6e77744b7935384c6934
Arg [265] : 754c6934754c6934754c6e77754b7931384c6934754c6934754c6934754c6935
Arg [266] : 384c6934724c5334724c5334754c676f744c6934754c6934754c6973754c6974
Arg [267] : 384c6934754b7934754c5877754c6934754c6934724c5334754c6934754c6930
Arg [268] : 724c6934754c693475664330754c6973754c6935384b7934754b7934754c6934
Arg [269] : 754c693474436935384c6934754c6e77754c5334744c6973754c6934754b7934
Arg [270] : 724c6973754c6934754c6934754c693538664334754c6934754c6934754c6973
Arg [271] : 754b7934724c6934754c6973754c5334744c6e77754c6934756643344b4c6934
Arg [272] : 754c6934754c6935384c6e77744c6e77724c6973754c6973754c6934754c6934
Arg [273] : 75664334754c5334754c533475664334754c6934754c6934724c6934724c6974
Arg [274] : 384c6931384c6e77754c6934754c6934754c676f75664877754c693475664334
Arg [275] : 754c6934754c6934724c6934754c6973754c6934754c6930754c6934754b7973
Arg [276] : 754c6934754c5334754c6934754b7934754c6934724c6934754c6934754c6e77
Arg [277] : 754c69347566487775436934754b7934754c6930744b7935384c5373754c6e77
Arg [278] : 744c693538664334754c6934754c6934754c6934754c6934754c6934754c6934
Arg [279] : 754c693538664334754c5877754c697374664334724c5330754c6934724c6934
Arg [280] : 4b4c6934754b3377754c693474664334754c6974384c6934754c5334754c6934
Arg [281] : 754c6934754c6934754c6934754c6934754c6934754c6934754c6934754c5334
Arg [282] : 754c6e77724c693475664330754c6935384b7934754c676f754c5334744c6934
Arg [283] : 744c6930754c6e77754c5334754c5335384c6935384c6e77754c6e77754c6934
Arg [284] : 754c6934754c69347566433475664335384c6935384c6930754c693075664334
Arg [285] : 754c5334744c6934744c693075436e77754c693075664334754c6934754c6934
Arg [286] : 754c6934754c6934754c6934754c6934724c6934754c6973754c6973754c6934
Arg [287] : 754b7934754c6934754c6934754c6934754c6934754c6934754c6935384c6930
Arg [288] : 754c6e774b4c693474664334754c6e77754c6934754c6973754c6e77754b7934
Arg [289] : 754c6934754c6934754c5334754c6973724c6934754c5334754c6934754c6934
Arg [290] : 754b7935384c6934724c6934754c6935384c693475664330754c676f744b7934
Arg [291] : 75664330744b7934754c6934754c5373754c6934754c6934754c6934754c6934
Arg [292] : 754c6934754c6934754c6934754c6934754c6934754c6934754c6934754b7930
Arg [293] : 754c6934754c6973744c5877754c697374436934754c6934744c6934754b3377
Arg [294] : 754c6934754c6930754c693472664334754c6934754c5334754c6934754c6934
Arg [295] : 754c6934744c6934754c6935384b7934754c6930754c6934754c6e77724c6934
Arg [296] : 754c5334754c69344b4c6934754b7934754c533475664335384c6935384c6934
Arg [297] : 754c6934754c6973754c6930754c6930754c6e78384c6934744c6934744c6934
Arg [298] : 724c6934754c6934754c6e77754c6e7775664334754c5334754b7934754c676f
Arg [299] : 754c6934744c6e77754c6934754c6934744c6e77754c6934754c6934744c6e77
Arg [300] : 754c6934754c6934744c6934744c6934754c693475664334744c6934754c6934
Arg [301] : 75664334744c6934754c693475664334744c69347543694969496a734b436941
Arg [302] : 6749434277636d6c325958526c49484e30595852705979426a6247467a637942
Arg [303] : 4e6232526c6243423743676f674943416749434167494338764946526f5a5342
Arg [304] : 6a62793176636d5270626d46305a584d676543776765534268626d5167656942
Arg [305] : 6a62334a795a584e776232356b49485276494864705a48526f4c43426b5a5842
Arg [306] : 30614377675957356b4947686c6157646f64416f67494341674943416749476c
Arg [307] : 756443423455326c365a53776765564e70656d5573494870546158706c4f776f
Arg [308] : 4b4943416749434167494341764c794255614755674d3051676257396b5a5777
Arg [309] : 4b494341674943416749434269623239735a574675573131625856746449474e
Arg [310] : 6c6247787a4f776f4b49434167494341674943424e6232526c62436870626e51
Arg [311] : 6765464e70656d557349476c756443423555326c365a53776761573530494870
Arg [312] : 546158706c4b534237436941674943416749434167494341674948526f61584d
Arg [313] : 7565464e70656d55675053423455326c365a54734b4943416749434167494341
Arg [314] : 6749434167644768706379353555326c365a53413949486c546158706c4f776f
Arg [315] : 674943416749434167494341674943423061476c7a4c6e70546158706c494430
Arg [316] : 67656c4e70656d55374369416749434167494341674943416749474e6c624778
Arg [317] : 7a49443067626d563349474a766232786c5957356265464e70656d566457336c
Arg [318] : 546158706c5856743655326c365a56303743694167494341674943416766516f
Arg [319] : 4b49434167494341674943423262326c6b49484e6c64436870626e5167654377
Arg [320] : 676157353049486b7349476c75644342364b5342374369416749434167494341
Arg [321] : 674943416749474e6c6247787a5733686457336c64573370644944306764484a
Arg [322] : 315a54734b49434167494341674943423943676f67494341674943416749485a
Arg [323] : 76615751675932786c5958496f615735304948677349476c75644342354c4342
Arg [324] : 70626e516765696b6765776f674943416749434167494341674943426a5a5778
Arg [325] : 736331743458567435585674365853413949475a6862484e6c4f776f67494341
Arg [326] : 67494341674948304b436941674943416749434167514539325a584a79615752
Arg [327] : 6c4369416749434167494341676348566962476c6a49464e30636d6c755a7942
Arg [328] : 3062314e30636d6c755a7967704948734b494341674943416749434167494341
Arg [329] : 67553352796157356e516e56706247526c6369427a596941394947356c647942
Arg [330] : 5464484a70626d644364576c735a4756794b436b374369416749434167494341
Arg [331] : 674943416749475a766369416f6157353049486f67505341774f794236494477
Arg [332] : 67656c4e70656d553749486f724b796b6765776f674943416749434167494341
Arg [333] : 6749434167494341675a6d397949436870626e5167655341394944413749486b
Arg [334] : 675043423555326c365a547367655373724b5342374369416749434167494341
Arg [335] : 67494341674943416749434167494341675a6d397949436870626e5167654341
Arg [336] : 3949444137494867675043423455326c365a547367654373724b534237436941
Arg [337] : 674943416749434167494341674943416749434167494341674943416749476c
Arg [338] : 6d4943686a5a57787363317434585674355856743658536b6765776f67494341
Arg [339] : 6749434167494341674943416749434167494341674943416749434167494341
Arg [340] : 6763324975595842775a57356b4b43496f49696b75595842775a57356b4b4867
Arg [341] : 704c6d4677634756755a4367694c4341694b5335686348426c626d516f65536b
Arg [342] : 75595842775a57356b4b434973494349704c6d4677634756755a4368364b5335
Arg [343] : 686348426c626d516f49696c63626949704f776f674943416749434167494341
Arg [344] : 6749434167494341674943416749434167494342394369416749434167494341
Arg [345] : 674943416749434167494341674943416766516f674943416749434167494341
Arg [346] : 67494341674943416766516f6749434167494341674943416749434239436941
Arg [347] : 6749434167494341674943416749484a6c644856796269427a5969353062314e
Arg [348] : 30636d6c755a7967704f776f6749434167494341674948304b49434167494830
Arg [349] : 4b4369416749434277636d6c325958526c49484e30595852705979426a614746
Arg [350] : 79494764736558426f55336c74596d39735158516f615735304948677349476c
Arg [351] : 75644342354b5342374369416749434167494341676157353049476c755a4756
Arg [352] : 3449443067655341714943684854466c515346395453567046494373674d536b
Arg [353] : 674b7942344f776f67494341674943416749484a6c6448567962694242565652
Arg [354] : 505230785a554568664d544d304c6d4e6f59584a4264436870626d526c65436b
Arg [355] : 37436941674943423943676f67494341674c79386756334a7064475567644768
Arg [356] : 6c4947467763484a7663484a705958526c49485a76654756736379426d623349
Arg [357] : 676447686c494764736558426f49484e3562574a7662434268644342344c4342
Arg [358] : 354c434268626d516765676f674943416763484a70646d46305a53427a644746
Arg [359] : 3061574d67646d39705a434233636d6c305a565a766547567363305a76636c4e
Arg [360] : 3562574a76624546304b4531765a475673494731765a4756734c434270626e51
Arg [361] : 67654377676157353049486b7349476c75644342364b53423743694167494341
Arg [362] : 6749434167593268686369427a65573169623277675053426e62486c7761464e
Arg [363] : 3562574a76624546304b48677349486b704f776f674943416749434167494867
Arg [364] : 674b6a30674d7a734b49434167494341674943423649436f3949444937436941
Arg [365] : 674943416749434167655341715053417a4f776f67494341674943416749476c
Arg [366] : 6d4943687a65573169623277675054306755316c4e516b394d5831424d56564d
Arg [367] : 704948734b494341674943416749434167494341675a6d397949436870626e51
Arg [368] : 67656e6f67505342364f7942366569413849486f674b7941794f794236656973
Arg [369] : 724b534237436941674943416749434167494341674943416749434167494341
Arg [370] : 676257396b5a577775633256304b4867674b7941784c4342354c43423665696b
Arg [371] : 3743694167494341674943416749434167494341674943416749434167625739
Arg [372] : 6b5a577775633256304b4867674b7941784c434235494373674d697767656e6f
Arg [373] : 704f776f67494341674943416749434167494341674943416749434167494731
Arg [374] : 765a4756734c6e4e6c644368344c434235494373674d537767656e6f704f776f
Arg [375] : 67494341674943416749434167494341674943416749434167494731765a4756
Arg [376] : 734c6e4e6c64436834494373674d6977676553417249444573494870364b5473
Arg [377] : 4b49434167494341674943416749434167494341674943416749434274623252
Arg [378] : 6c6243357a5a58516f654341724944457349486b674b7941784c43423665696b
Arg [379] : 37436941674943416749434167494341674948304b4943416749434167494342
Arg [380] : 394947567363325567615759674b484e3562574a766243413950534254575531
Arg [381] : 43543078665345395353567050546c52425446394d535535464b534237436941
Arg [382] : 6749434167494341674943416749475a766369416f6157353049487036494430
Arg [383] : 67656a7367656e6f6750434236494373674d6a7367656e6f724b796b6765776f
Arg [384] : 6749434167494341674943416749434167494341676257396b5a577775633256
Arg [385] : 304b48677349486b674b7941784c43423665696b374369416749434167494341
Arg [386] : 674943416749434167494342746232526c6243357a5a58516f65434172494445
Arg [387] : 7349486b674b7941784c43423665696b37436941674943416749434167494341
Arg [388] : 6749434167494342746232526c6243357a5a58516f654341724944497349486b
Arg [389] : 674b7941784c43423665696b3743694167494341674943416749434167494830
Arg [390] : 4b494341674943416749434167494341676257396b5a5777755932786c595849
Arg [391] : 6f654341724944457349486b674b7941784c4342364b54734b49434167494341
Arg [392] : 67494342394947567363325567615759674b484e3562574a7662434139505342
Arg [393] : 545755314354307866566b565356456c445155786654456c4f52536b6765776f
Arg [394] : 674943416749434167494341674943426d623349674b476c7564434236656941
Arg [395] : 3949486f3749487036494477676569417249444937494870364b797370494873
Arg [396] : 4b4943416749434167494341674943416749434167494731765a4756734c6e4e
Arg [397] : 6c64436834494373674d53776765537767656e6f704f776f6749434167494341
Arg [398] : 674943416749434167494341676257396b5a577775633256304b4867674b7941
Arg [399] : 784c434235494373674d537767656e6f704f776f674943416749434167494341
Arg [400] : 6749434167494341676257396b5a577775633256304b4867674b7941784c4342
Arg [401] : 35494373674d697767656e6f704f776f67494341674943416749434167494342
Arg [402] : 3943694167494341674943416749434167494731765a4756734c6d4e735a5746
Arg [403] : 794b4867674b7941784c434235494373674d53776765696b3743694167494341
Arg [404] : 674943416766516f674943416766516f4b494341674943387149436f714b696f
Arg [405] : 714b6941714b696f714b696f714b696f714b696f714b696f714b696f714b696f
Arg [406] : 714b696f714b696f7149436f714b696f714b6941714c776f4b49434167494338
Arg [407] : 764946526f5a53426d6232787362336470626d63675932396b5a53426e5a5735
Arg [408] : 6c636d46305a584d6759584a304c676f4b494341674948427961585a68644755
Arg [409] : 676333526864476c6a494531765a47567349474e795a5746305a565a76654756
Arg [410] : 73523278356347676f516d6c6e535735305a57646c636942684b534237436941
Arg [411] : 6749434167494341674c7938675257466a6143426a5a5778734947396d494852
Arg [412] : 6f5a534242645852765a32783563476767596d566a6232316c6379426849444e
Arg [413] : 344d33684f494852766432567949476c754948526f5a5342576233686c624764
Arg [414] : 736558426f4c4342336158526f49485276643256794947686c6157646f644342
Arg [415] : 7062694270626d4e795a57316c626e527a4947396d4944494b49434167494341
Arg [416] : 67494342436157644a626e526c5a32567949475a705a57786b49443067516d6c
Arg [417] : 6e535735305a57646c63693532595778315a55396d4b444d784b54734b494341
Arg [418] : 67494341674943424e6232526c624342746232526c624341394947356c647942
Arg [419] : 4e6232526c6243684854466c51534639545356704649436f674d797767523078
Arg [420] : 5a5545686655306c615253417149444d73494531425746394952556c48534651
Arg [421] : 674b6941794b54734b49434167494341674943426d623349674b476c75644342
Arg [422] : 34494430674d447367654341384945644d5756424958314e4a576b5537494867
Arg [423] : 724b796b6765776f6749434167494341674943416749434270626e5167634867
Arg [424] : 675053424e5958526f4c6d317062696834494373674d5377675230785a554568
Arg [425] : 6655306c6152534174494867704f776f67494341674943416749434167494342
Arg [426] : 70626e5167654867675053427765434174494445374369416749434167494341
Arg [427] : 674943416749475a766369416f6157353049486b67505341774f794235494477
Arg [428] : 675230785a5545686655306c6152547367655373724b53423743694167494341
Arg [429] : 67494341674943416749434167494342705a69416f5a32783563476854655731
Arg [430] : 6962327842644368344c4342354b534168505342545755314354307866516b78
Arg [431] : 42546b73704948734b4943416749434167494341674943416749434167494341
Arg [432] : 6749434270626e516763486b675053424e5958526f4c6d317062696835494373
Arg [433] : 674d5377675230785a5545686655306c615253417449486b704f776f67494341
Arg [434] : 6749434167494341674943416749434167494341674943387649455675593239
Arg [435] : 31636d466e5a53426849484a766457646f62486b6763486c79595731705a4746
Arg [436] : 7349484e6f5958426c4369416749434167494341674943416749434167494341
Arg [437] : 674943416761573530494841675053424e5958526f4c6d317062696877654377
Arg [438] : 6763486b7049436f674e53417649445137436941674943416749434167494341
Arg [439] : 674943416749434167494341676157353049486c354944306763486b674c5341
Arg [440] : 784f776f6749434167494341674943416749434167494341674943416749476c
Arg [441] : 7564434277636d396b64574e3049443067654867674b6942356554734b494341
Arg [442] : 674943416749434167494341674943416749434167494341764c79424e623252
Arg [443] : 316247467949475a705a57786b49484e3064575a6d4369416749434167494341
Arg [444] : 6749434167494341674943416749434167615735304947676750534243615764
Arg [445] : 4a626e526c5a3256794c6e5a686248566c5432596f63484a765a48566a64436b
Arg [446] : 756258567364476c7762486b6f59536b755a476c326157526c4b45394f52536b
Arg [447] : 756257396b4b475a705a57786b4b533570626e5257595778315a5367704f776f
Arg [448] : 6749434167494341674943416749434167494341674943416749476c75644342
Arg [449] : 7349443067634867674b6942776554734b494341674943416749434167494341
Arg [450] : 67494341674943416749434270626e5167614756705a32683049443067545746
Arg [451] : 30614335746157346f61434171494841674c7941794f53417249444573494449
Arg [452] : 324b54734b494341674943416749434167494341674943416749434167494342
Arg [453] : 6f5a576c6e614851675053426f5a576c6e614851674b79416f62434176494463
Arg [454] : 314d436b674b69416f63434171494531425746394952556c48534651674c7941
Arg [455] : 304d4341744947686c6157646f64436b37436941674943416749434167494341
Arg [456] : 674943416749434167494341674c793867513239756333527964574e30494852
Arg [457] : 6f5a5342306233646c63676f6749434167494341674943416749434167494341
Arg [458] : 674943416749475a766369416f6157353049486f67505341774f794236494477
Arg [459] : 67614756705a3268304f7942364b7973704948734b4943416749434167494341
Arg [460] : 67494341674943416749434167494341674943416764334a7064475657623368
Arg [461] : 6c62484e4762334a546557316962327842644368746232526c62437767654377
Arg [462] : 676553776765696b374369416749434167494341674943416749434167494341
Arg [463] : 674943416766516f67494341674943416749434167494341674943416766516f
Arg [464] : 674943416749434167494341674943423943694167494341674943416766516f
Arg [465] : 67494341674943416749484a6c64485679626942746232526c6244734b494341
Arg [466] : 674948304b43694167494341764b6941714b696f714b696f674b696f714b696f
Arg [467] : 714b696f714b696f714b696f714b696f714b696f714b696f714b696f714b6941
Arg [468] : 714b696f714b696f674b69384b43694167494341764c79425364573467644768
Arg [469] : 6c4947646c626d56795958527663676f67494341676348566962476c6a49484e
Arg [470] : 30595852705979423262326c6b494731686157346f553352796157356e573130
Arg [471] : 6759584a6e63796b67644768796233647a49456c505258686a5a584230615739
Arg [472] : 754948734b4943416749434167494341764c7942545a57566b49484e6c624756
Arg [473] : 6a6447566b49475a76636942685a584e306147563061574e7a43694167494341
Arg [474] : 6749434167516d6c6e535735305a57646c6369427a5a57566b49443067626d56
Arg [475] : 3349454a705a306c756447566e5a58496f496a49784e5467304e7a6b794f444d
Arg [476] : 334e4467334d54457a49696b374369416749434167494341675457396b5a5777
Arg [477] : 676257396b5a5777675053426a636d5668644756576233686c62456473655842
Arg [478] : 6f4b484e6c5a5751704f776f674943416749434167494642796157353056334a
Arg [479] : 706447567949473931644341394947356c64794251636d6c7564466479615852
Arg [480] : 6c636968755a586367526d6c735a5539316448423164464e30636d5668625367
Arg [481] : 69646d39345a57786e62486c7761433530654851694b536b3743694167494341
Arg [482] : 6749434167623356304c6e4279615735304b4731765a4756734c6e5276553352
Arg [483] : 796157356e4b436b704f776f674943416749434167494739316443356a624739
Arg [484] : 7a5a5367704f776f67494341676651703943673d3d0000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.