ETH Price: $2,553.87 (+3.69%)

Token

AnesidoraV2 (ANSDR2)
 

Overview

Max Total Supply

24 ANSDR2

Holders

22

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 ANSDR2
0x406645fd46350cdf41777c71f32e75ef5f9dc51b
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
AnesidoraV2

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : AnesidoraV2.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.1;
pragma abicoder v2;
 
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/cryptography/EIP712.sol";

interface IAnesidora {
  function ownerOf(uint256 tokenId) external view returns (address);
  function balanceOf(address owner) external view returns (uint256);
}

contract AnesidoraV2 is AccessControl, ERC721Enumerable, ERC721URIStorage, ERC721Burnable, EIP712{
  bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");
  bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
  string private constant SIGNING_DOMAIN = "AnesidoraV2-Voucher";
  string private constant SIGNATURE_VERSION = "1";
  uint256 public constant MAX_SUPPLY = 10000;
  address private _tokenContractAddress;
  mapping (address => uint256) pendingWithdrawals;

  constructor(address payable admin,address tokenAddress) ERC721("AnesidoraV2", "ANSDR2") EIP712(SIGNING_DOMAIN, SIGNATURE_VERSION) {
    _setupRole(ADMIN_ROLE, admin);
    _setupRole(MINTER_ROLE, admin);
    _setRoleAdmin(MINTER_ROLE, ADMIN_ROLE);
    _setTokenContract(tokenAddress);
  }

  struct NFTVoucher {
    uint16 id;
    uint256 minPrice;
    string uri;
    uint64 expiry;
    bool unlock;
    uint16 minBalance;
    uint16 customId;
    bytes signature;
  }

  function _setTokenContract(address contractAddress) private {
    require(hasRole(MINTER_ROLE, msg.sender), "unauthorized account");
    _tokenContractAddress = contractAddress;
  }
  
  function getTokenContract() public view returns (address) {
    return _tokenContractAddress;
  }

  function ownerOfV1(uint256 id) private view returns (address) {
    IAnesidora iansdr = IAnesidora(_tokenContractAddress);
    return iansdr.ownerOf(id);
  }

  function balanceOfV1(address owner) private view returns (uint256) {
    IAnesidora iansdr = IAnesidora(_tokenContractAddress);
    return iansdr.balanceOf(owner);
  }

  function ownerMint(address recipient, uint16 id, string memory uri) public returns (uint256){
    require(hasRole(MINTER_ROLE, msg.sender), "Only an authorized account can mint directly");
    _mint(recipient, id);
    _setTokenURI(id, uri);
    return id;
  }

  function redeem(address redeemer, NFTVoucher calldata voucher) public payable {
    address signer = _verify(voucher); 
    require(hasRole(MINTER_ROLE, signer), "Signature invalid or unauthorized");
    if(voucher.unlock != true){
      require(ownerOfV1(voucher.id) == msg.sender, "Corresponding V1 NFT is required");
    }
    if(voucher.customId > 0){
      require(ownerOfV1(voucher.customId) == msg.sender, "Specified V1 NFT is required");
    }
    if(voucher.minBalance > 0){
      require(balanceOfV1(redeemer) >= voucher.minBalance, "Insufficient balance of V1 NFT");
    }
    require(block.timestamp < voucher.expiry, "Expired voucher");
    require(msg.value >= voucher.minPrice, "Insufficient funds to redeem");
    require(totalSupply() < MAX_SUPPLY, "Total supply has reached the MAX_SUPPLY");
    _mint(signer, voucher.id);
    _setTokenURI(voucher.id, voucher.uri);
    _transfer(signer, redeemer, voucher.id);
    pendingWithdrawals[signer] += msg.value;
  }

  function withdraw() public {
    require(hasRole(MINTER_ROLE, msg.sender), "Only an authorized account can withdraw");
    address payable receiver = payable(msg.sender);
    uint amount = pendingWithdrawals[receiver];
    pendingWithdrawals[receiver] = 0;
    receiver.transfer(amount);
  }

  function availableToWithdraw() public view returns (uint256) {
    return pendingWithdrawals[msg.sender];
  }

  function _hash(NFTVoucher calldata voucher) internal view returns (bytes32) {
    return _hashTypedDataV4(keccak256(abi.encode(
      keccak256("NFTVoucher(uint16 id,uint256 minPrice,string uri,uint64 expiry,bool unlock,uint16 minBalance,uint16 customId)"),
      voucher.id,
      voucher.minPrice,
      keccak256(bytes(voucher.uri)),
      voucher.expiry,
      voucher.unlock,
      voucher.minBalance,
      voucher.customId
    )));
  }

  function _verify(NFTVoucher calldata voucher) internal view returns (address) {
    bytes32 digest = _hash(voucher);
    return ECDSA.recover(digest, voucher.signature);
  }

  function _beforeTokenTransfer(address from, address to, uint256 tokenId, uint256 batchSize) internal override(ERC721, ERC721Enumerable) {
    super._beforeTokenTransfer(from, to, tokenId, batchSize);
  }

  function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) {
    super._burn(tokenId);
  }

  function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) {
    return super.tokenURI(tokenId);
  }

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

}

File 2 of 19 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

File 3 of 19 : 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 19 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

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

File 5 of 19 : 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 6 of 19 : 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 7 of 19 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

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

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

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

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

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

        return super.tokenURI(tokenId);
    }

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

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

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

File 8 of 19 : 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 9 of 19 : 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 10 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 11 of 19 : 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 12 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 19 : 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 14 of 19 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

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

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

File 15 of 19 : EIP712.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/EIP712.sol)

pragma solidity ^0.8.0;

import "./ECDSA.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].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // 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 _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @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) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, 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);
    }
}

File 16 of 19 : 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 17 of 19 : 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 18 of 19 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./math/Math.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 `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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"admin","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableToWithdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenContract","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"recipient","type":"address"},{"internalType":"uint16","name":"id","type":"uint16"},{"internalType":"string","name":"uri","type":"string"}],"name":"ownerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"redeemer","type":"address"},{"components":[{"internalType":"uint16","name":"id","type":"uint16"},{"internalType":"uint256","name":"minPrice","type":"uint256"},{"internalType":"string","name":"uri","type":"string"},{"internalType":"uint64","name":"expiry","type":"uint64"},{"internalType":"bool","name":"unlock","type":"bool"},{"internalType":"uint16","name":"minBalance","type":"uint16"},{"internalType":"uint16","name":"customId","type":"uint16"},{"internalType":"bytes","name":"signature","type":"bytes"}],"internalType":"struct AnesidoraV2.NFTVoucher","name":"voucher","type":"tuple"}],"name":"redeem","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101406040523480156200001257600080fd5b506040516200690e3803806200690e833981810160405281019062000038919062000655565b6040518060400160405280601381526020017f416e657369646f726156322d566f7563686572000000000000000000000000008152506040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600b81526020017f416e657369646f726156320000000000000000000000000000000000000000008152506040518060400160405280600681526020017f414e534452320000000000000000000000000000000000000000000000000000815250816001908162000121919062000916565b50806002908162000133919062000916565b50505060008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508260e081815250508161010081815250504660a081815250506200019f818484620002b760201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff168152505080610120818152505050505050506200021a7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177583620002f360201b60201c565b6200024c7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a683620002f360201b60201c565b6200029e7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a67fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756200030960201b60201c565b620002af816200036c60201b60201c565b505062000b1a565b60008383834630604051602001620002d495949392919062000a3a565b6040516020818303038152906040528051906020012090509392505050565b6200030582826200042460201b60201c565b5050565b60006200031c836200051560201b60201c565b905081600080858152602001908152602001600020600101819055508181847fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff60405160405180910390a4505050565b6200039e7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200053460201b60201c565b620003e0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003d79062000af8565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6200043682826200053460201b60201c565b6200051157600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620004b66200059e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000806000838152602001908152602001600020600101549050919050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005d882620005ab565b9050919050565b620005ea81620005cb565b8114620005f657600080fd5b50565b6000815190506200060a81620005df565b92915050565b60006200061d82620005ab565b9050919050565b6200062f8162000610565b81146200063b57600080fd5b50565b6000815190506200064f8162000624565b92915050565b600080604083850312156200066f576200066e620005a6565b5b60006200067f85828601620005f9565b925050602062000692858286016200063e565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200071e57607f821691505b602082108103620007345762000733620006d6565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200079e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200075f565b620007aa86836200075f565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620007f7620007f1620007eb84620007c2565b620007cc565b620007c2565b9050919050565b6000819050919050565b6200081383620007d6565b6200082b6200082282620007fe565b8484546200076c565b825550505050565b600090565b6200084262000833565b6200084f81848462000808565b505050565b5b8181101562000877576200086b60008262000838565b60018101905062000855565b5050565b601f821115620008c65762000890816200073a565b6200089b846200074f565b81016020851015620008ab578190505b620008c3620008ba856200074f565b83018262000854565b50505b505050565b600082821c905092915050565b6000620008eb60001984600802620008cb565b1980831691505092915050565b6000620009068383620008d8565b9150826002028217905092915050565b62000921826200069c565b67ffffffffffffffff8111156200093d576200093c620006a7565b5b62000949825462000705565b620009568282856200087b565b600060209050601f8311600181146200098e576000841562000979578287015190505b620009858582620008f8565b865550620009f5565b601f1984166200099e866200073a565b60005b82811015620009c857848901518255600182019150602085019450602081019050620009a1565b86831015620009e85784890151620009e4601f891682620008d8565b8355505b6001600288020188555050505b505050505050565b6000819050919050565b62000a1281620009fd565b82525050565b62000a2381620007c2565b82525050565b62000a348162000610565b82525050565b600060a08201905062000a51600083018862000a07565b62000a60602083018762000a07565b62000a6f604083018662000a07565b62000a7e606083018562000a18565b62000a8d608083018462000a29565b9695505050505050565b600082825260208201905092915050565b7f756e617574686f72697a6564206163636f756e74000000000000000000000000600082015250565b600062000ae060148362000a97565b915062000aed8262000aa8565b602082019050919050565b6000602082019050818103600083015262000b138162000ad1565b9050919050565b60805160a05160c05160e0516101005161012051615da462000b6a600039600061393401526000613976015260006139550152600061388a015260006138e0015260006139090152615da46000f3fe6080604052600436106101d85760003560e01c806342966c6811610102578063a22cb46511610095578063d547741f11610064578063d547741f146106f6578063e322ad2b1461071f578063e985e9c51461074a578063fc270d6a14610787576101d8565b8063a22cb4651461063c578063b88d4fde14610665578063c87b56dd1461068e578063d5391393146106cb576101d8565b806375b238fc116100d157806375b238fc1461057e57806391d14854146105a957806395d89b41146105e6578063a217fddf14610611576101d8565b806342966c681461049e5780634f6ccce7146104c75780636352211e1461050457806370a0823114610541576101d8565b806328b7bede1161017a57806336568abe1161014957806336568abe146103f8578063376a3c07146104215780633ccfd60b1461045e57806342842e0e14610475576101d8565b806328b7bede1461033c5780632f2ff15d146103675780632f745c591461039057806332cb6b0c146103cd576101d8565b8063095ea7b3116101b6578063095ea7b31461028257806318160ddd146102ab57806323b872dd146102d6578063248a9ca3146102ff576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190613bb8565b6107a3565b6040516102119190613c00565b60405180910390f35b34801561022657600080fd5b5061022f6107b5565b60405161023c9190613cab565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190613d03565b610847565b6040516102799190613d71565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190613db8565b61088d565b005b3480156102b757600080fd5b506102c06109a4565b6040516102cd9190613e07565b60405180910390f35b3480156102e257600080fd5b506102fd60048036038101906102f89190613e22565b6109b1565b005b34801561030b57600080fd5b5061032660048036038101906103219190613eab565b610a11565b6040516103339190613ee7565b60405180910390f35b34801561034857600080fd5b50610351610a30565b60405161035e9190613d71565b60405180910390f35b34801561037357600080fd5b5061038e60048036038101906103899190613f02565b610a5a565b005b34801561039c57600080fd5b506103b760048036038101906103b29190613db8565b610a7b565b6040516103c49190613e07565b60405180910390f35b3480156103d957600080fd5b506103e2610b20565b6040516103ef9190613e07565b60405180910390f35b34801561040457600080fd5b5061041f600480360381019061041a9190613f02565b610b26565b005b34801561042d57600080fd5b50610448600480360381019061044391906140b1565b610ba9565b6040516104559190613e07565b60405180910390f35b34801561046a57600080fd5b50610473610c3e565b005b34801561048157600080fd5b5061049c60048036038101906104979190613e22565b610d80565b005b3480156104aa57600080fd5b506104c560048036038101906104c09190613d03565b610da0565b005b3480156104d357600080fd5b506104ee60048036038101906104e99190613d03565b610dfc565b6040516104fb9190613e07565b60405180910390f35b34801561051057600080fd5b5061052b60048036038101906105269190613d03565b610e6d565b6040516105389190613d71565b60405180910390f35b34801561054d57600080fd5b5061056860048036038101906105639190614120565b610ef3565b6040516105759190613e07565b60405180910390f35b34801561058a57600080fd5b50610593610faa565b6040516105a09190613ee7565b60405180910390f35b3480156105b557600080fd5b506105d060048036038101906105cb9190613f02565b610fce565b6040516105dd9190613c00565b60405180910390f35b3480156105f257600080fd5b506105fb611038565b6040516106089190613cab565b60405180910390f35b34801561061d57600080fd5b506106266110ca565b6040516106339190613ee7565b60405180910390f35b34801561064857600080fd5b50610663600480360381019061065e9190614179565b6110d1565b005b34801561067157600080fd5b5061068c6004803603810190610687919061425a565b6110e7565b005b34801561069a57600080fd5b506106b560048036038101906106b09190613d03565b611149565b6040516106c29190613cab565b60405180910390f35b3480156106d757600080fd5b506106e061115b565b6040516106ed9190613ee7565b60405180910390f35b34801561070257600080fd5b5061071d60048036038101906107189190613f02565b61117f565b005b34801561072b57600080fd5b506107346111a0565b6040516107419190613e07565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c91906142dd565b6111e7565b60405161077e9190613c00565b60405180910390f35b6107a1600480360381019061079c9190614342565b61127b565b005b60006107ae826116c7565b9050919050565b6060600180546107c4906143cd565b80601f01602080910402602001604051908101604052809291908181526020018280546107f0906143cd565b801561083d5780601f106108125761010080835404028352916020019161083d565b820191906000526020600020905b81548152906001019060200180831161082057829003601f168201915b5050505050905090565b600061085282611741565b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061089882610e6d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ff90614470565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661092761178c565b73ffffffffffffffffffffffffffffffffffffffff16148061095657506109558161095061178c565b6111e7565b5b610995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098c90614502565b60405180910390fd5b61099f8383611794565b505050565b6000600980549050905090565b6109c26109bc61178c565b8261184d565b610a01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f890614594565b60405180910390fd5b610a0c8383836118e2565b505050565b6000806000838152602001908152602001600020600101549050919050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610a6382610a11565b610a6c81611bdb565b610a768383611bef565b505050565b6000610a8683610ef3565b8210610ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abe90614626565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b610b2e61178c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b92906146b8565b60405180910390fd5b610ba58282611ccf565b5050565b6000610bd57f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610fce565b610c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0b9061474a565b60405180910390fd5b610c22848461ffff16611db0565b610c308361ffff1683611fcd565b8261ffff1690509392505050565b610c687f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610fce565b610ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9e906147dc565b60405180910390fd5b60003390506000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d7b573d6000803e3d6000fd5b505050565b610d9b838383604051806020016040528060008152506110e7565b505050565b610db1610dab61178c565b8261184d565b610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de790614594565b60405180910390fd5b610df98161203a565b50565b6000610e066109a4565b8210610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e9061486e565b60405180910390fd5b60098281548110610e5b57610e5a61488e565b5b90600052602060002001549050919050565b600080610e7983612046565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee190614909565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5a9061499b565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060028054611047906143cd565b80601f0160208091040260200160405190810160405280929190818152602001828054611073906143cd565b80156110c05780601f10611095576101008083540402835291602001916110c0565b820191906000526020600020905b8154815290600101906020018083116110a357829003601f168201915b5050505050905090565b6000801b81565b6110e36110dc61178c565b8383612083565b5050565b6110f86110f261178c565b8361184d565b611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e90614594565b60405180910390fd5b611143848484846121ef565b50505050565b60606111548261224b565b9050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61118882610a11565b61119181611bdb565b61119b8383611ccf565b505050565b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006112868261235d565b90506112b27f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682610fce565b6112f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e890614a2d565b60405180910390fd5b600115158260800160208101906113089190614a4d565b15151461139c573373ffffffffffffffffffffffffffffffffffffffff1661134583600001602081019061133c9190614a7a565b61ffff166123cf565b73ffffffffffffffffffffffffffffffffffffffff161461139b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139290614af3565b60405180910390fd5b5b60008260c00160208101906113b19190614a7a565b61ffff161115611448573373ffffffffffffffffffffffffffffffffffffffff166113f18360c00160208101906113e89190614a7a565b61ffff166123cf565b73ffffffffffffffffffffffffffffffffffffffff1614611447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143e90614b5f565b60405180910390fd5b5b60008260a001602081019061145d9190614a7a565b61ffff1611156114c9578160a001602081019061147a9190614a7a565b61ffff1661148784612479565b10156114c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bf90614bcb565b60405180910390fd5b5b8160600160208101906114dc9190614c2b565b67ffffffffffffffff164210611527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151e90614ca4565b60405180910390fd5b816020013534101561156e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156590614d10565b60405180910390fd5b6127106115796109a4565b106115b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b090614da2565b60405180910390fd5b6115d9818360000160208101906115d09190614a7a565b61ffff16611db0565b61164b8260000160208101906115ef9190614a7a565b61ffff168380604001906116039190614dd1565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611fcd565b61166c81848460000160208101906116639190614a7a565b61ffff166118e2565b34600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116bb9190614e63565b92505081905550505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061173a575061173982612523565b5b9050919050565b61174a81612605565b611789576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178090614909565b60405180910390fd5b50565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661180783610e6d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061185983610e6d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061189b575061189a81856111e7565b5b806118d957508373ffffffffffffffffffffffffffffffffffffffff166118c184610847565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661190282610e6d565b73ffffffffffffffffffffffffffffffffffffffff1614611958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194f90614f09565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036119c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119be90614f9b565b60405180910390fd5b6119d48383836001612646565b8273ffffffffffffffffffffffffffffffffffffffff166119f482610e6d565b73ffffffffffffffffffffffffffffffffffffffff1614611a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4190614f09565b60405180910390fd5b6005600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611bd68383836001612658565b505050565b611bec81611be761178c565b61265e565b50565b611bf98282610fce565b611ccb57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611c7061178c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611cd98282610fce565b15611dac57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611d5161178c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1690615007565b60405180910390fd5b611e2881612605565b15611e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5f90615073565b60405180910390fd5b611e76600083836001612646565b611e7f81612605565b15611ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb690615073565b60405180910390fd5b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fc9600083836001612658565b5050565b611fd682612605565b612015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200c90615105565b60405180910390fd5b80600b6000848152602001908152602001600020908161203591906152d1565b505050565b612043816126e3565b50565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036120f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e8906153ef565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121e29190613c00565b60405180910390a3505050565b6121fa8484846118e2565b61220684848484612736565b612245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223c90615481565b60405180910390fd5b50505050565b606061225682611741565b6000600b60008481526020019081526020016000208054612276906143cd565b80601f01602080910402602001604051908101604052809291908181526020018280546122a2906143cd565b80156122ef5780601f106122c4576101008083540402835291602001916122ef565b820191906000526020600020905b8154815290600101906020018083116122d257829003601f168201915b5050505050905060006123006128bd565b90506000815103612315578192505050612358565b60008251111561234a5780826040516020016123329291906154dd565b60405160208183030381529060405292505050612358565b612353846128d4565b925050505b919050565b6000806123698361293c565b90506123c781848060e0019061237f9190615501565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612a25565b915050919050565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016124309190613e07565b602060405180830381865afa15801561244d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124719190615579565b915050919050565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b81526004016124da9190613d71565b602060405180830381865afa1580156124f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251b91906155bb565b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125ee57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806125fe57506125fd82612a4c565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff1661262783612046565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b61265284848484612ac6565b50505050565b50505050565b6126688282610fce565b6126df5761267581612c24565b6126838360001c6020612c51565b604051602001612694929190615680565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d69190613cab565b60405180910390fd5b5050565b6126ec81612e8d565b6000600b6000838152602001908152602001600020805461270c906143cd565b90501461273357600b600082815260200190815260200160002060006127329190613aef565b5b50565b60006127578473ffffffffffffffffffffffffffffffffffffffff16612fdb565b156128b0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261278061178c565b8786866040518563ffffffff1660e01b81526004016127a2949392919061570f565b6020604051808303816000875af19250505080156127de57506040513d601f19601f820116820180604052508101906127db9190615770565b60015b612860573d806000811461280e576040519150601f19603f3d011682016040523d82523d6000602084013e612813565b606091505b506000815103612858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284f90615481565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128b5565b600190505b949350505050565b606060405180602001604052806000815250905090565b60606128df82611741565b60006128e96128bd565b905060008151116129095760405180602001604052806000815250612934565b8061291384612ffe565b6040516020016129249291906154dd565b6040516020818303038152906040525b915050919050565b6000612a1e7f957f5b6f088eb92711d02873234dffd9751bfd5293138a9f6a5c17631489c66d8360000160208101906129759190614a7a565b846020013585806040019061298a9190614dd1565b6040516129989291906157cd565b60405180910390208660600160208101906129b39190614c2b565b8760800160208101906129c69190614a4d565b8860a00160208101906129d99190614a7a565b8960c00160208101906129ec9190614a7a565b604051602001612a03989796959493929190615804565b604051602081830303815290604052805190602001206130cc565b9050919050565b6000806000612a3485856130e6565b91509150612a4181613137565b819250505092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612abf5750612abe8261329d565b5b9050919050565b612ad284848484613307565b6001811115612b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0d906158f4565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612b5d57612b588161342d565b612b9c565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614612b9b57612b9a8582613476565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612bde57612bd9816135e3565b612c1d565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612c1c57612c1b84826136b4565b5b5b5050505050565b6060612c4a8273ffffffffffffffffffffffffffffffffffffffff16601460ff16612c51565b9050919050565b606060006002836002612c649190615914565b612c6e9190614e63565b67ffffffffffffffff811115612c8757612c86613f86565b5b6040519080825280601f01601f191660200182016040528015612cb95781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612cf157612cf061488e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612d5557612d5461488e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612d959190615914565b612d9f9190614e63565b90505b6001811115612e3f577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612de157612de061488e565b5b1a60f81b828281518110612df857612df761488e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612e3890615956565b9050612da2565b5060008414612e83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7a906159cb565b60405180910390fd5b8091505092915050565b6000612e9882610e6d565b9050612ea8816000846001612646565b612eb182610e6d565b90506005600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fd7816000846001612658565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60606000600161300d84613733565b01905060008167ffffffffffffffff81111561302c5761302b613f86565b5b6040519080825280601f01601f19166020018201604052801561305e5781602001600182028036833780820191505090505b509050600082602001820190505b6001156130c1578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816130b5576130b46159eb565b5b0494506000850361306c575b819350505050919050565b60006130df6130d9613886565b836139a0565b9050919050565b60008060418351036131275760008060006020860151925060408601519150606086015160001a905061311b878285856139d3565b94509450505050613130565b60006002915091505b9250929050565b6000600481111561314b5761314a615a1a565b5b81600481111561315e5761315d615a1a565b5b031561329a576001600481111561317857613177615a1a565b5b81600481111561318b5761318a615a1a565b5b036131cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131c290615a95565b60405180910390fd5b600260048111156131df576131de615a1a565b5b8160048111156131f2576131f1615a1a565b5b03613232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322990615b01565b60405180910390fd5b6003600481111561324657613245615a1a565b5b81600481111561325957613258615a1a565b5b03613299576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329090615b93565b60405180910390fd5b5b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600181111561342757600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461339b5780600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133939190615bb3565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146134265780600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461341e9190614e63565b925050819055505b5b50505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161348384610ef3565b61348d9190615bb3565b9050600060086000848152602001908152602001600020549050818114613572576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506135f79190615bb3565b90506000600a60008481526020019081526020016000205490506000600983815481106136275761362661488e565b5b9060005260206000200154905080600983815481106136495761364861488e565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548061369857613697615be7565b5b6001900381819060005260206000200160009055905550505050565b60006136bf83610ef3565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613791577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381613787576137866159eb565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106137ce576d04ee2d6d415b85acef810000000083816137c4576137c36159eb565b5b0492506020810190505b662386f26fc1000083106137fd57662386f26fc1000083816137f3576137f26159eb565b5b0492506010810190505b6305f5e1008310613826576305f5e100838161381c5761381b6159eb565b5b0492506008810190505b612710831061384b576127108381613841576138406159eb565b5b0492506004810190505b6064831061386e5760648381613864576138636159eb565b5b0492506002810190505b600a831061387d576001810190505b80915050919050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614801561390257507f000000000000000000000000000000000000000000000000000000000000000046145b1561392f577f0000000000000000000000000000000000000000000000000000000000000000905061399d565b61399a7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000613ab5565b90505b90565b600082826040516020016139b5929190615c83565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613a0e576000600391509150613aac565b600060018787878760405160008152602001604052604051613a339493929190615cd6565b6020604051602081039080840390855afa158015613a55573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603613aa357600060019250925050613aac565b80600092509250505b94509492505050565b60008383834630604051602001613ad0959493929190615d1b565b6040516020818303038152906040528051906020012090509392505050565b508054613afb906143cd565b6000825580601f10613b0d5750613b2c565b601f016020900490600052602060002090810190613b2b9190613b2f565b5b50565b5b80821115613b48576000816000905550600101613b30565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b9581613b60565b8114613ba057600080fd5b50565b600081359050613bb281613b8c565b92915050565b600060208284031215613bce57613bcd613b56565b5b6000613bdc84828501613ba3565b91505092915050565b60008115159050919050565b613bfa81613be5565b82525050565b6000602082019050613c156000830184613bf1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c55578082015181840152602081019050613c3a565b60008484015250505050565b6000601f19601f8301169050919050565b6000613c7d82613c1b565b613c878185613c26565b9350613c97818560208601613c37565b613ca081613c61565b840191505092915050565b60006020820190508181036000830152613cc58184613c72565b905092915050565b6000819050919050565b613ce081613ccd565b8114613ceb57600080fd5b50565b600081359050613cfd81613cd7565b92915050565b600060208284031215613d1957613d18613b56565b5b6000613d2784828501613cee565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d5b82613d30565b9050919050565b613d6b81613d50565b82525050565b6000602082019050613d866000830184613d62565b92915050565b613d9581613d50565b8114613da057600080fd5b50565b600081359050613db281613d8c565b92915050565b60008060408385031215613dcf57613dce613b56565b5b6000613ddd85828601613da3565b9250506020613dee85828601613cee565b9150509250929050565b613e0181613ccd565b82525050565b6000602082019050613e1c6000830184613df8565b92915050565b600080600060608486031215613e3b57613e3a613b56565b5b6000613e4986828701613da3565b9350506020613e5a86828701613da3565b9250506040613e6b86828701613cee565b9150509250925092565b6000819050919050565b613e8881613e75565b8114613e9357600080fd5b50565b600081359050613ea581613e7f565b92915050565b600060208284031215613ec157613ec0613b56565b5b6000613ecf84828501613e96565b91505092915050565b613ee181613e75565b82525050565b6000602082019050613efc6000830184613ed8565b92915050565b60008060408385031215613f1957613f18613b56565b5b6000613f2785828601613e96565b9250506020613f3885828601613da3565b9150509250929050565b600061ffff82169050919050565b613f5981613f42565b8114613f6457600080fd5b50565b600081359050613f7681613f50565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613fbe82613c61565b810181811067ffffffffffffffff82111715613fdd57613fdc613f86565b5b80604052505050565b6000613ff0613b4c565b9050613ffc8282613fb5565b919050565b600067ffffffffffffffff82111561401c5761401b613f86565b5b61402582613c61565b9050602081019050919050565b82818337600083830152505050565b600061405461404f84614001565b613fe6565b9050828152602081018484840111156140705761406f613f81565b5b61407b848285614032565b509392505050565b600082601f83011261409857614097613f7c565b5b81356140a8848260208601614041565b91505092915050565b6000806000606084860312156140ca576140c9613b56565b5b60006140d886828701613da3565b93505060206140e986828701613f67565b925050604084013567ffffffffffffffff81111561410a57614109613b5b565b5b61411686828701614083565b9150509250925092565b60006020828403121561413657614135613b56565b5b600061414484828501613da3565b91505092915050565b61415681613be5565b811461416157600080fd5b50565b6000813590506141738161414d565b92915050565b600080604083850312156141905761418f613b56565b5b600061419e85828601613da3565b92505060206141af85828601614164565b9150509250929050565b600067ffffffffffffffff8211156141d4576141d3613f86565b5b6141dd82613c61565b9050602081019050919050565b60006141fd6141f8846141b9565b613fe6565b90508281526020810184848401111561421957614218613f81565b5b614224848285614032565b509392505050565b600082601f83011261424157614240613f7c565b5b81356142518482602086016141ea565b91505092915050565b6000806000806080858703121561427457614273613b56565b5b600061428287828801613da3565b945050602061429387828801613da3565b93505060406142a487828801613cee565b925050606085013567ffffffffffffffff8111156142c5576142c4613b5b565b5b6142d18782880161422c565b91505092959194509250565b600080604083850312156142f4576142f3613b56565b5b600061430285828601613da3565b925050602061431385828601613da3565b9150509250929050565b600080fd5b600061010082840312156143395761433861431d565b5b81905092915050565b6000806040838503121561435957614358613b56565b5b600061436785828601613da3565b925050602083013567ffffffffffffffff81111561438857614387613b5b565b5b61439485828601614322565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806143e557607f821691505b6020821081036143f8576143f761439e565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061445a602183613c26565b9150614465826143fe565b604082019050919050565b600060208201905081810360008301526144898161444d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b60006144ec603d83613c26565b91506144f782614490565b604082019050919050565b6000602082019050818103600083015261451b816144df565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b600061457e602d83613c26565b915061458982614522565b604082019050919050565b600060208201905081810360008301526145ad81614571565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614610602b83613c26565b915061461b826145b4565b604082019050919050565b6000602082019050818103600083015261463f81614603565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006146a2602f83613c26565b91506146ad82614646565b604082019050919050565b600060208201905081810360008301526146d181614695565b9050919050565b7f4f6e6c7920616e20617574686f72697a6564206163636f756e742063616e206d60008201527f696e74206469726563746c790000000000000000000000000000000000000000602082015250565b6000614734602c83613c26565b915061473f826146d8565b604082019050919050565b6000602082019050818103600083015261476381614727565b9050919050565b7f4f6e6c7920616e20617574686f72697a6564206163636f756e742063616e207760008201527f6974686472617700000000000000000000000000000000000000000000000000602082015250565b60006147c6602783613c26565b91506147d18261476a565b604082019050919050565b600060208201905081810360008301526147f5816147b9565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614858602c83613c26565b9150614863826147fc565b604082019050919050565b600060208201905081810360008301526148878161484b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006148f3601883613c26565b91506148fe826148bd565b602082019050919050565b60006020820190508181036000830152614922816148e6565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614985602983613c26565b915061499082614929565b604082019050919050565b600060208201905081810360008301526149b481614978565b9050919050565b7f5369676e617475726520696e76616c6964206f7220756e617574686f72697a6560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a17602183613c26565b9150614a22826149bb565b604082019050919050565b60006020820190508181036000830152614a4681614a0a565b9050919050565b600060208284031215614a6357614a62613b56565b5b6000614a7184828501614164565b91505092915050565b600060208284031215614a9057614a8f613b56565b5b6000614a9e84828501613f67565b91505092915050565b7f436f72726573706f6e64696e67205631204e4654206973207265717569726564600082015250565b6000614add602083613c26565b9150614ae882614aa7565b602082019050919050565b60006020820190508181036000830152614b0c81614ad0565b9050919050565b7f537065636966696564205631204e465420697320726571756972656400000000600082015250565b6000614b49601c83613c26565b9150614b5482614b13565b602082019050919050565b60006020820190508181036000830152614b7881614b3c565b9050919050565b7f496e73756666696369656e742062616c616e6365206f66205631204e46540000600082015250565b6000614bb5601e83613c26565b9150614bc082614b7f565b602082019050919050565b60006020820190508181036000830152614be481614ba8565b9050919050565b600067ffffffffffffffff82169050919050565b614c0881614beb565b8114614c1357600080fd5b50565b600081359050614c2581614bff565b92915050565b600060208284031215614c4157614c40613b56565b5b6000614c4f84828501614c16565b91505092915050565b7f4578706972656420766f75636865720000000000000000000000000000000000600082015250565b6000614c8e600f83613c26565b9150614c9982614c58565b602082019050919050565b60006020820190508181036000830152614cbd81614c81565b9050919050565b7f496e73756666696369656e742066756e647320746f2072656465656d00000000600082015250565b6000614cfa601c83613c26565b9150614d0582614cc4565b602082019050919050565b60006020820190508181036000830152614d2981614ced565b9050919050565b7f546f74616c20737570706c7920686173207265616368656420746865204d415860008201527f5f535550504c5900000000000000000000000000000000000000000000000000602082015250565b6000614d8c602783613c26565b9150614d9782614d30565b604082019050919050565b60006020820190508181036000830152614dbb81614d7f565b9050919050565b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112614dee57614ded614dc2565b5b80840192508235915067ffffffffffffffff821115614e1057614e0f614dc7565b5b602083019250600182023603831315614e2c57614e2b614dcc565b5b509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614e6e82613ccd565b9150614e7983613ccd565b9250828201905080821115614e9157614e90614e34565b5b92915050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614ef3602583613c26565b9150614efe82614e97565b604082019050919050565b60006020820190508181036000830152614f2281614ee6565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614f85602483613c26565b9150614f9082614f29565b604082019050919050565b60006020820190508181036000830152614fb481614f78565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614ff1602083613c26565b9150614ffc82614fbb565b602082019050919050565b6000602082019050818103600083015261502081614fe4565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061505d601c83613c26565b915061506882615027565b602082019050919050565b6000602082019050818103600083015261508c81615050565b9050919050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b60006150ef602e83613c26565b91506150fa82615093565b604082019050919050565b6000602082019050818103600083015261511e816150e2565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026151877fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261514a565b615191868361514a565b95508019841693508086168417925050509392505050565b6000819050919050565b60006151ce6151c96151c484613ccd565b6151a9565b613ccd565b9050919050565b6000819050919050565b6151e8836151b3565b6151fc6151f4826151d5565b848454615157565b825550505050565b600090565b615211615204565b61521c8184846151df565b505050565b5b8181101561524057615235600082615209565b600181019050615222565b5050565b601f8211156152855761525681615125565b61525f8461513a565b8101602085101561526e578190505b61528261527a8561513a565b830182615221565b50505b505050565b600082821c905092915050565b60006152a86000198460080261528a565b1980831691505092915050565b60006152c18383615297565b9150826002028217905092915050565b6152da82613c1b565b67ffffffffffffffff8111156152f3576152f2613f86565b5b6152fd82546143cd565b615308828285615244565b600060209050601f83116001811461533b5760008415615329578287015190505b61533385826152b5565b86555061539b565b601f19841661534986615125565b60005b828110156153715784890151825560018201915060208501945060208101905061534c565b8683101561538e578489015161538a601f891682615297565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006153d9601983613c26565b91506153e4826153a3565b602082019050919050565b60006020820190508181036000830152615408816153cc565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061546b603283613c26565b91506154768261540f565b604082019050919050565b6000602082019050818103600083015261549a8161545e565b9050919050565b600081905092915050565b60006154b782613c1b565b6154c181856154a1565b93506154d1818560208601613c37565b80840191505092915050565b60006154e982856154ac565b91506154f582846154ac565b91508190509392505050565b6000808335600160200384360303811261551e5761551d614dc2565b5b80840192508235915067ffffffffffffffff8211156155405761553f614dc7565b5b60208301925060018202360383131561555c5761555b614dcc565b5b509250929050565b60008151905061557381613d8c565b92915050565b60006020828403121561558f5761558e613b56565b5b600061559d84828501615564565b91505092915050565b6000815190506155b581613cd7565b92915050565b6000602082840312156155d1576155d0613b56565b5b60006155df848285016155a6565b91505092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600061561e6017836154a1565b9150615629826155e8565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061566a6011836154a1565b915061567582615634565b601182019050919050565b600061568b82615611565b915061569782856154ac565b91506156a28261565d565b91506156ae82846154ac565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006156e1826156ba565b6156eb81856156c5565b93506156fb818560208601613c37565b61570481613c61565b840191505092915050565b60006080820190506157246000830187613d62565b6157316020830186613d62565b61573e6040830185613df8565b818103606083015261575081846156d6565b905095945050505050565b60008151905061576a81613b8c565b92915050565b60006020828403121561578657615785613b56565b5b60006157948482850161575b565b91505092915050565b600081905092915050565b60006157b4838561579d565b93506157c1838584614032565b82840190509392505050565b60006157da8284866157a8565b91508190509392505050565b6157ef81613f42565b82525050565b6157fe81614beb565b82525050565b60006101008201905061581a600083018b613ed8565b615827602083018a6157e6565b6158346040830189613df8565b6158416060830188613ed8565b61584e60808301876157f5565b61585b60a0830186613bf1565b61586860c08301856157e6565b61587560e08301846157e6565b9998505050505050505050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b60006158de603583613c26565b91506158e982615882565b604082019050919050565b6000602082019050818103600083015261590d816158d1565b9050919050565b600061591f82613ccd565b915061592a83613ccd565b925082820261593881613ccd565b9150828204841483151761594f5761594e614e34565b5b5092915050565b600061596182613ccd565b91506000820361597457615973614e34565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006159b5602083613c26565b91506159c08261597f565b602082019050919050565b600060208201905081810360008301526159e4816159a8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615a7f601883613c26565b9150615a8a82615a49565b602082019050919050565b60006020820190508181036000830152615aae81615a72565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615aeb601f83613c26565b9150615af682615ab5565b602082019050919050565b60006020820190508181036000830152615b1a81615ade565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615b7d602283613c26565b9150615b8882615b21565b604082019050919050565b60006020820190508181036000830152615bac81615b70565b9050919050565b6000615bbe82613ccd565b9150615bc983613ccd565b9250828203905081811115615be157615be0614e34565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000615c4c6002836154a1565b9150615c5782615c16565b600282019050919050565b6000819050919050565b615c7d615c7882613e75565b615c62565b82525050565b6000615c8e82615c3f565b9150615c9a8285615c6c565b602082019150615caa8284615c6c565b6020820191508190509392505050565b600060ff82169050919050565b615cd081615cba565b82525050565b6000608082019050615ceb6000830187613ed8565b615cf86020830186615cc7565b615d056040830185613ed8565b615d126060830184613ed8565b95945050505050565b600060a082019050615d306000830188613ed8565b615d3d6020830187613ed8565b615d4a6040830186613ed8565b615d576060830185613df8565b615d646080830184613d62565b969550505050505056fea2646970667358221220e711418283ad3a55b5d66d6fee8f7a4f9da4328381e63f31160f0393727cf31c64736f6c634300081100330000000000000000000000008cc85bc19bcd0b40cbfa292549129b8d367fb1eb000000000000000000000000273c259437e99ae7f7bc5d5fa60987907b55d068

Deployed Bytecode

0x6080604052600436106101d85760003560e01c806342966c6811610102578063a22cb46511610095578063d547741f11610064578063d547741f146106f6578063e322ad2b1461071f578063e985e9c51461074a578063fc270d6a14610787576101d8565b8063a22cb4651461063c578063b88d4fde14610665578063c87b56dd1461068e578063d5391393146106cb576101d8565b806375b238fc116100d157806375b238fc1461057e57806391d14854146105a957806395d89b41146105e6578063a217fddf14610611576101d8565b806342966c681461049e5780634f6ccce7146104c75780636352211e1461050457806370a0823114610541576101d8565b806328b7bede1161017a57806336568abe1161014957806336568abe146103f8578063376a3c07146104215780633ccfd60b1461045e57806342842e0e14610475576101d8565b806328b7bede1461033c5780632f2ff15d146103675780632f745c591461039057806332cb6b0c146103cd576101d8565b8063095ea7b3116101b6578063095ea7b31461028257806318160ddd146102ab57806323b872dd146102d6578063248a9ca3146102ff576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190613bb8565b6107a3565b6040516102119190613c00565b60405180910390f35b34801561022657600080fd5b5061022f6107b5565b60405161023c9190613cab565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190613d03565b610847565b6040516102799190613d71565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190613db8565b61088d565b005b3480156102b757600080fd5b506102c06109a4565b6040516102cd9190613e07565b60405180910390f35b3480156102e257600080fd5b506102fd60048036038101906102f89190613e22565b6109b1565b005b34801561030b57600080fd5b5061032660048036038101906103219190613eab565b610a11565b6040516103339190613ee7565b60405180910390f35b34801561034857600080fd5b50610351610a30565b60405161035e9190613d71565b60405180910390f35b34801561037357600080fd5b5061038e60048036038101906103899190613f02565b610a5a565b005b34801561039c57600080fd5b506103b760048036038101906103b29190613db8565b610a7b565b6040516103c49190613e07565b60405180910390f35b3480156103d957600080fd5b506103e2610b20565b6040516103ef9190613e07565b60405180910390f35b34801561040457600080fd5b5061041f600480360381019061041a9190613f02565b610b26565b005b34801561042d57600080fd5b50610448600480360381019061044391906140b1565b610ba9565b6040516104559190613e07565b60405180910390f35b34801561046a57600080fd5b50610473610c3e565b005b34801561048157600080fd5b5061049c60048036038101906104979190613e22565b610d80565b005b3480156104aa57600080fd5b506104c560048036038101906104c09190613d03565b610da0565b005b3480156104d357600080fd5b506104ee60048036038101906104e99190613d03565b610dfc565b6040516104fb9190613e07565b60405180910390f35b34801561051057600080fd5b5061052b60048036038101906105269190613d03565b610e6d565b6040516105389190613d71565b60405180910390f35b34801561054d57600080fd5b5061056860048036038101906105639190614120565b610ef3565b6040516105759190613e07565b60405180910390f35b34801561058a57600080fd5b50610593610faa565b6040516105a09190613ee7565b60405180910390f35b3480156105b557600080fd5b506105d060048036038101906105cb9190613f02565b610fce565b6040516105dd9190613c00565b60405180910390f35b3480156105f257600080fd5b506105fb611038565b6040516106089190613cab565b60405180910390f35b34801561061d57600080fd5b506106266110ca565b6040516106339190613ee7565b60405180910390f35b34801561064857600080fd5b50610663600480360381019061065e9190614179565b6110d1565b005b34801561067157600080fd5b5061068c6004803603810190610687919061425a565b6110e7565b005b34801561069a57600080fd5b506106b560048036038101906106b09190613d03565b611149565b6040516106c29190613cab565b60405180910390f35b3480156106d757600080fd5b506106e061115b565b6040516106ed9190613ee7565b60405180910390f35b34801561070257600080fd5b5061071d60048036038101906107189190613f02565b61117f565b005b34801561072b57600080fd5b506107346111a0565b6040516107419190613e07565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c91906142dd565b6111e7565b60405161077e9190613c00565b60405180910390f35b6107a1600480360381019061079c9190614342565b61127b565b005b60006107ae826116c7565b9050919050565b6060600180546107c4906143cd565b80601f01602080910402602001604051908101604052809291908181526020018280546107f0906143cd565b801561083d5780601f106108125761010080835404028352916020019161083d565b820191906000526020600020905b81548152906001019060200180831161082057829003601f168201915b5050505050905090565b600061085282611741565b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061089882610e6d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ff90614470565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661092761178c565b73ffffffffffffffffffffffffffffffffffffffff16148061095657506109558161095061178c565b6111e7565b5b610995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098c90614502565b60405180910390fd5b61099f8383611794565b505050565b6000600980549050905090565b6109c26109bc61178c565b8261184d565b610a01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f890614594565b60405180910390fd5b610a0c8383836118e2565b505050565b6000806000838152602001908152602001600020600101549050919050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610a6382610a11565b610a6c81611bdb565b610a768383611bef565b505050565b6000610a8683610ef3565b8210610ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abe90614626565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b610b2e61178c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b92906146b8565b60405180910390fd5b610ba58282611ccf565b5050565b6000610bd57f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610fce565b610c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0b9061474a565b60405180910390fd5b610c22848461ffff16611db0565b610c308361ffff1683611fcd565b8261ffff1690509392505050565b610c687f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610fce565b610ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9e906147dc565b60405180910390fd5b60003390506000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d7b573d6000803e3d6000fd5b505050565b610d9b838383604051806020016040528060008152506110e7565b505050565b610db1610dab61178c565b8261184d565b610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de790614594565b60405180910390fd5b610df98161203a565b50565b6000610e066109a4565b8210610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e9061486e565b60405180910390fd5b60098281548110610e5b57610e5a61488e565b5b90600052602060002001549050919050565b600080610e7983612046565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee190614909565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5a9061499b565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060028054611047906143cd565b80601f0160208091040260200160405190810160405280929190818152602001828054611073906143cd565b80156110c05780601f10611095576101008083540402835291602001916110c0565b820191906000526020600020905b8154815290600101906020018083116110a357829003601f168201915b5050505050905090565b6000801b81565b6110e36110dc61178c565b8383612083565b5050565b6110f86110f261178c565b8361184d565b611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e90614594565b60405180910390fd5b611143848484846121ef565b50505050565b60606111548261224b565b9050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61118882610a11565b61119181611bdb565b61119b8383611ccf565b505050565b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006112868261235d565b90506112b27f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682610fce565b6112f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e890614a2d565b60405180910390fd5b600115158260800160208101906113089190614a4d565b15151461139c573373ffffffffffffffffffffffffffffffffffffffff1661134583600001602081019061133c9190614a7a565b61ffff166123cf565b73ffffffffffffffffffffffffffffffffffffffff161461139b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139290614af3565b60405180910390fd5b5b60008260c00160208101906113b19190614a7a565b61ffff161115611448573373ffffffffffffffffffffffffffffffffffffffff166113f18360c00160208101906113e89190614a7a565b61ffff166123cf565b73ffffffffffffffffffffffffffffffffffffffff1614611447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143e90614b5f565b60405180910390fd5b5b60008260a001602081019061145d9190614a7a565b61ffff1611156114c9578160a001602081019061147a9190614a7a565b61ffff1661148784612479565b10156114c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bf90614bcb565b60405180910390fd5b5b8160600160208101906114dc9190614c2b565b67ffffffffffffffff164210611527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151e90614ca4565b60405180910390fd5b816020013534101561156e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156590614d10565b60405180910390fd5b6127106115796109a4565b106115b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b090614da2565b60405180910390fd5b6115d9818360000160208101906115d09190614a7a565b61ffff16611db0565b61164b8260000160208101906115ef9190614a7a565b61ffff168380604001906116039190614dd1565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611fcd565b61166c81848460000160208101906116639190614a7a565b61ffff166118e2565b34600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116bb9190614e63565b92505081905550505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061173a575061173982612523565b5b9050919050565b61174a81612605565b611789576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178090614909565b60405180910390fd5b50565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661180783610e6d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061185983610e6d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061189b575061189a81856111e7565b5b806118d957508373ffffffffffffffffffffffffffffffffffffffff166118c184610847565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661190282610e6d565b73ffffffffffffffffffffffffffffffffffffffff1614611958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194f90614f09565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036119c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119be90614f9b565b60405180910390fd5b6119d48383836001612646565b8273ffffffffffffffffffffffffffffffffffffffff166119f482610e6d565b73ffffffffffffffffffffffffffffffffffffffff1614611a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4190614f09565b60405180910390fd5b6005600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611bd68383836001612658565b505050565b611bec81611be761178c565b61265e565b50565b611bf98282610fce565b611ccb57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611c7061178c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611cd98282610fce565b15611dac57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611d5161178c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1690615007565b60405180910390fd5b611e2881612605565b15611e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5f90615073565b60405180910390fd5b611e76600083836001612646565b611e7f81612605565b15611ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb690615073565b60405180910390fd5b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fc9600083836001612658565b5050565b611fd682612605565b612015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200c90615105565b60405180910390fd5b80600b6000848152602001908152602001600020908161203591906152d1565b505050565b612043816126e3565b50565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036120f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e8906153ef565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121e29190613c00565b60405180910390a3505050565b6121fa8484846118e2565b61220684848484612736565b612245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223c90615481565b60405180910390fd5b50505050565b606061225682611741565b6000600b60008481526020019081526020016000208054612276906143cd565b80601f01602080910402602001604051908101604052809291908181526020018280546122a2906143cd565b80156122ef5780601f106122c4576101008083540402835291602001916122ef565b820191906000526020600020905b8154815290600101906020018083116122d257829003601f168201915b5050505050905060006123006128bd565b90506000815103612315578192505050612358565b60008251111561234a5780826040516020016123329291906154dd565b60405160208183030381529060405292505050612358565b612353846128d4565b925050505b919050565b6000806123698361293c565b90506123c781848060e0019061237f9190615501565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612a25565b915050919050565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016124309190613e07565b602060405180830381865afa15801561244d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124719190615579565b915050919050565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b81526004016124da9190613d71565b602060405180830381865afa1580156124f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251b91906155bb565b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125ee57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806125fe57506125fd82612a4c565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff1661262783612046565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b61265284848484612ac6565b50505050565b50505050565b6126688282610fce565b6126df5761267581612c24565b6126838360001c6020612c51565b604051602001612694929190615680565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d69190613cab565b60405180910390fd5b5050565b6126ec81612e8d565b6000600b6000838152602001908152602001600020805461270c906143cd565b90501461273357600b600082815260200190815260200160002060006127329190613aef565b5b50565b60006127578473ffffffffffffffffffffffffffffffffffffffff16612fdb565b156128b0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261278061178c565b8786866040518563ffffffff1660e01b81526004016127a2949392919061570f565b6020604051808303816000875af19250505080156127de57506040513d601f19601f820116820180604052508101906127db9190615770565b60015b612860573d806000811461280e576040519150601f19603f3d011682016040523d82523d6000602084013e612813565b606091505b506000815103612858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284f90615481565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128b5565b600190505b949350505050565b606060405180602001604052806000815250905090565b60606128df82611741565b60006128e96128bd565b905060008151116129095760405180602001604052806000815250612934565b8061291384612ffe565b6040516020016129249291906154dd565b6040516020818303038152906040525b915050919050565b6000612a1e7f957f5b6f088eb92711d02873234dffd9751bfd5293138a9f6a5c17631489c66d8360000160208101906129759190614a7a565b846020013585806040019061298a9190614dd1565b6040516129989291906157cd565b60405180910390208660600160208101906129b39190614c2b565b8760800160208101906129c69190614a4d565b8860a00160208101906129d99190614a7a565b8960c00160208101906129ec9190614a7a565b604051602001612a03989796959493929190615804565b604051602081830303815290604052805190602001206130cc565b9050919050565b6000806000612a3485856130e6565b91509150612a4181613137565b819250505092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612abf5750612abe8261329d565b5b9050919050565b612ad284848484613307565b6001811115612b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0d906158f4565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612b5d57612b588161342d565b612b9c565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614612b9b57612b9a8582613476565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612bde57612bd9816135e3565b612c1d565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612c1c57612c1b84826136b4565b5b5b5050505050565b6060612c4a8273ffffffffffffffffffffffffffffffffffffffff16601460ff16612c51565b9050919050565b606060006002836002612c649190615914565b612c6e9190614e63565b67ffffffffffffffff811115612c8757612c86613f86565b5b6040519080825280601f01601f191660200182016040528015612cb95781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612cf157612cf061488e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612d5557612d5461488e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612d959190615914565b612d9f9190614e63565b90505b6001811115612e3f577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612de157612de061488e565b5b1a60f81b828281518110612df857612df761488e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612e3890615956565b9050612da2565b5060008414612e83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7a906159cb565b60405180910390fd5b8091505092915050565b6000612e9882610e6d565b9050612ea8816000846001612646565b612eb182610e6d565b90506005600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fd7816000846001612658565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60606000600161300d84613733565b01905060008167ffffffffffffffff81111561302c5761302b613f86565b5b6040519080825280601f01601f19166020018201604052801561305e5781602001600182028036833780820191505090505b509050600082602001820190505b6001156130c1578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816130b5576130b46159eb565b5b0494506000850361306c575b819350505050919050565b60006130df6130d9613886565b836139a0565b9050919050565b60008060418351036131275760008060006020860151925060408601519150606086015160001a905061311b878285856139d3565b94509450505050613130565b60006002915091505b9250929050565b6000600481111561314b5761314a615a1a565b5b81600481111561315e5761315d615a1a565b5b031561329a576001600481111561317857613177615a1a565b5b81600481111561318b5761318a615a1a565b5b036131cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131c290615a95565b60405180910390fd5b600260048111156131df576131de615a1a565b5b8160048111156131f2576131f1615a1a565b5b03613232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322990615b01565b60405180910390fd5b6003600481111561324657613245615a1a565b5b81600481111561325957613258615a1a565b5b03613299576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329090615b93565b60405180910390fd5b5b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600181111561342757600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461339b5780600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133939190615bb3565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146134265780600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461341e9190614e63565b925050819055505b5b50505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161348384610ef3565b61348d9190615bb3565b9050600060086000848152602001908152602001600020549050818114613572576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506135f79190615bb3565b90506000600a60008481526020019081526020016000205490506000600983815481106136275761362661488e565b5b9060005260206000200154905080600983815481106136495761364861488e565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548061369857613697615be7565b5b6001900381819060005260206000200160009055905550505050565b60006136bf83610ef3565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613791577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381613787576137866159eb565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106137ce576d04ee2d6d415b85acef810000000083816137c4576137c36159eb565b5b0492506020810190505b662386f26fc1000083106137fd57662386f26fc1000083816137f3576137f26159eb565b5b0492506010810190505b6305f5e1008310613826576305f5e100838161381c5761381b6159eb565b5b0492506008810190505b612710831061384b576127108381613841576138406159eb565b5b0492506004810190505b6064831061386e5760648381613864576138636159eb565b5b0492506002810190505b600a831061387d576001810190505b80915050919050565b60007f0000000000000000000000004013baf9321e1ae97ef1a02294f8abe1eb98933673ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614801561390257507f000000000000000000000000000000000000000000000000000000000000000146145b1561392f577fdc407161da6a9fc84bcbc868ced8bf9805248f48353331a75dac5501a8e24636905061399d565b61399a7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f547668890d60b7c515fa815e7fc2a4f596fac46f001fe5f5f15f4a626673006b7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6613ab5565b90505b90565b600082826040516020016139b5929190615c83565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613a0e576000600391509150613aac565b600060018787878760405160008152602001604052604051613a339493929190615cd6565b6020604051602081039080840390855afa158015613a55573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603613aa357600060019250925050613aac565b80600092509250505b94509492505050565b60008383834630604051602001613ad0959493929190615d1b565b6040516020818303038152906040528051906020012090509392505050565b508054613afb906143cd565b6000825580601f10613b0d5750613b2c565b601f016020900490600052602060002090810190613b2b9190613b2f565b5b50565b5b80821115613b48576000816000905550600101613b30565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b9581613b60565b8114613ba057600080fd5b50565b600081359050613bb281613b8c565b92915050565b600060208284031215613bce57613bcd613b56565b5b6000613bdc84828501613ba3565b91505092915050565b60008115159050919050565b613bfa81613be5565b82525050565b6000602082019050613c156000830184613bf1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c55578082015181840152602081019050613c3a565b60008484015250505050565b6000601f19601f8301169050919050565b6000613c7d82613c1b565b613c878185613c26565b9350613c97818560208601613c37565b613ca081613c61565b840191505092915050565b60006020820190508181036000830152613cc58184613c72565b905092915050565b6000819050919050565b613ce081613ccd565b8114613ceb57600080fd5b50565b600081359050613cfd81613cd7565b92915050565b600060208284031215613d1957613d18613b56565b5b6000613d2784828501613cee565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d5b82613d30565b9050919050565b613d6b81613d50565b82525050565b6000602082019050613d866000830184613d62565b92915050565b613d9581613d50565b8114613da057600080fd5b50565b600081359050613db281613d8c565b92915050565b60008060408385031215613dcf57613dce613b56565b5b6000613ddd85828601613da3565b9250506020613dee85828601613cee565b9150509250929050565b613e0181613ccd565b82525050565b6000602082019050613e1c6000830184613df8565b92915050565b600080600060608486031215613e3b57613e3a613b56565b5b6000613e4986828701613da3565b9350506020613e5a86828701613da3565b9250506040613e6b86828701613cee565b9150509250925092565b6000819050919050565b613e8881613e75565b8114613e9357600080fd5b50565b600081359050613ea581613e7f565b92915050565b600060208284031215613ec157613ec0613b56565b5b6000613ecf84828501613e96565b91505092915050565b613ee181613e75565b82525050565b6000602082019050613efc6000830184613ed8565b92915050565b60008060408385031215613f1957613f18613b56565b5b6000613f2785828601613e96565b9250506020613f3885828601613da3565b9150509250929050565b600061ffff82169050919050565b613f5981613f42565b8114613f6457600080fd5b50565b600081359050613f7681613f50565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613fbe82613c61565b810181811067ffffffffffffffff82111715613fdd57613fdc613f86565b5b80604052505050565b6000613ff0613b4c565b9050613ffc8282613fb5565b919050565b600067ffffffffffffffff82111561401c5761401b613f86565b5b61402582613c61565b9050602081019050919050565b82818337600083830152505050565b600061405461404f84614001565b613fe6565b9050828152602081018484840111156140705761406f613f81565b5b61407b848285614032565b509392505050565b600082601f83011261409857614097613f7c565b5b81356140a8848260208601614041565b91505092915050565b6000806000606084860312156140ca576140c9613b56565b5b60006140d886828701613da3565b93505060206140e986828701613f67565b925050604084013567ffffffffffffffff81111561410a57614109613b5b565b5b61411686828701614083565b9150509250925092565b60006020828403121561413657614135613b56565b5b600061414484828501613da3565b91505092915050565b61415681613be5565b811461416157600080fd5b50565b6000813590506141738161414d565b92915050565b600080604083850312156141905761418f613b56565b5b600061419e85828601613da3565b92505060206141af85828601614164565b9150509250929050565b600067ffffffffffffffff8211156141d4576141d3613f86565b5b6141dd82613c61565b9050602081019050919050565b60006141fd6141f8846141b9565b613fe6565b90508281526020810184848401111561421957614218613f81565b5b614224848285614032565b509392505050565b600082601f83011261424157614240613f7c565b5b81356142518482602086016141ea565b91505092915050565b6000806000806080858703121561427457614273613b56565b5b600061428287828801613da3565b945050602061429387828801613da3565b93505060406142a487828801613cee565b925050606085013567ffffffffffffffff8111156142c5576142c4613b5b565b5b6142d18782880161422c565b91505092959194509250565b600080604083850312156142f4576142f3613b56565b5b600061430285828601613da3565b925050602061431385828601613da3565b9150509250929050565b600080fd5b600061010082840312156143395761433861431d565b5b81905092915050565b6000806040838503121561435957614358613b56565b5b600061436785828601613da3565b925050602083013567ffffffffffffffff81111561438857614387613b5b565b5b61439485828601614322565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806143e557607f821691505b6020821081036143f8576143f761439e565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061445a602183613c26565b9150614465826143fe565b604082019050919050565b600060208201905081810360008301526144898161444d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b60006144ec603d83613c26565b91506144f782614490565b604082019050919050565b6000602082019050818103600083015261451b816144df565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b600061457e602d83613c26565b915061458982614522565b604082019050919050565b600060208201905081810360008301526145ad81614571565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614610602b83613c26565b915061461b826145b4565b604082019050919050565b6000602082019050818103600083015261463f81614603565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006146a2602f83613c26565b91506146ad82614646565b604082019050919050565b600060208201905081810360008301526146d181614695565b9050919050565b7f4f6e6c7920616e20617574686f72697a6564206163636f756e742063616e206d60008201527f696e74206469726563746c790000000000000000000000000000000000000000602082015250565b6000614734602c83613c26565b915061473f826146d8565b604082019050919050565b6000602082019050818103600083015261476381614727565b9050919050565b7f4f6e6c7920616e20617574686f72697a6564206163636f756e742063616e207760008201527f6974686472617700000000000000000000000000000000000000000000000000602082015250565b60006147c6602783613c26565b91506147d18261476a565b604082019050919050565b600060208201905081810360008301526147f5816147b9565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614858602c83613c26565b9150614863826147fc565b604082019050919050565b600060208201905081810360008301526148878161484b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006148f3601883613c26565b91506148fe826148bd565b602082019050919050565b60006020820190508181036000830152614922816148e6565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614985602983613c26565b915061499082614929565b604082019050919050565b600060208201905081810360008301526149b481614978565b9050919050565b7f5369676e617475726520696e76616c6964206f7220756e617574686f72697a6560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a17602183613c26565b9150614a22826149bb565b604082019050919050565b60006020820190508181036000830152614a4681614a0a565b9050919050565b600060208284031215614a6357614a62613b56565b5b6000614a7184828501614164565b91505092915050565b600060208284031215614a9057614a8f613b56565b5b6000614a9e84828501613f67565b91505092915050565b7f436f72726573706f6e64696e67205631204e4654206973207265717569726564600082015250565b6000614add602083613c26565b9150614ae882614aa7565b602082019050919050565b60006020820190508181036000830152614b0c81614ad0565b9050919050565b7f537065636966696564205631204e465420697320726571756972656400000000600082015250565b6000614b49601c83613c26565b9150614b5482614b13565b602082019050919050565b60006020820190508181036000830152614b7881614b3c565b9050919050565b7f496e73756666696369656e742062616c616e6365206f66205631204e46540000600082015250565b6000614bb5601e83613c26565b9150614bc082614b7f565b602082019050919050565b60006020820190508181036000830152614be481614ba8565b9050919050565b600067ffffffffffffffff82169050919050565b614c0881614beb565b8114614c1357600080fd5b50565b600081359050614c2581614bff565b92915050565b600060208284031215614c4157614c40613b56565b5b6000614c4f84828501614c16565b91505092915050565b7f4578706972656420766f75636865720000000000000000000000000000000000600082015250565b6000614c8e600f83613c26565b9150614c9982614c58565b602082019050919050565b60006020820190508181036000830152614cbd81614c81565b9050919050565b7f496e73756666696369656e742066756e647320746f2072656465656d00000000600082015250565b6000614cfa601c83613c26565b9150614d0582614cc4565b602082019050919050565b60006020820190508181036000830152614d2981614ced565b9050919050565b7f546f74616c20737570706c7920686173207265616368656420746865204d415860008201527f5f535550504c5900000000000000000000000000000000000000000000000000602082015250565b6000614d8c602783613c26565b9150614d9782614d30565b604082019050919050565b60006020820190508181036000830152614dbb81614d7f565b9050919050565b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112614dee57614ded614dc2565b5b80840192508235915067ffffffffffffffff821115614e1057614e0f614dc7565b5b602083019250600182023603831315614e2c57614e2b614dcc565b5b509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614e6e82613ccd565b9150614e7983613ccd565b9250828201905080821115614e9157614e90614e34565b5b92915050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614ef3602583613c26565b9150614efe82614e97565b604082019050919050565b60006020820190508181036000830152614f2281614ee6565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614f85602483613c26565b9150614f9082614f29565b604082019050919050565b60006020820190508181036000830152614fb481614f78565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614ff1602083613c26565b9150614ffc82614fbb565b602082019050919050565b6000602082019050818103600083015261502081614fe4565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061505d601c83613c26565b915061506882615027565b602082019050919050565b6000602082019050818103600083015261508c81615050565b9050919050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b60006150ef602e83613c26565b91506150fa82615093565b604082019050919050565b6000602082019050818103600083015261511e816150e2565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026151877fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261514a565b615191868361514a565b95508019841693508086168417925050509392505050565b6000819050919050565b60006151ce6151c96151c484613ccd565b6151a9565b613ccd565b9050919050565b6000819050919050565b6151e8836151b3565b6151fc6151f4826151d5565b848454615157565b825550505050565b600090565b615211615204565b61521c8184846151df565b505050565b5b8181101561524057615235600082615209565b600181019050615222565b5050565b601f8211156152855761525681615125565b61525f8461513a565b8101602085101561526e578190505b61528261527a8561513a565b830182615221565b50505b505050565b600082821c905092915050565b60006152a86000198460080261528a565b1980831691505092915050565b60006152c18383615297565b9150826002028217905092915050565b6152da82613c1b565b67ffffffffffffffff8111156152f3576152f2613f86565b5b6152fd82546143cd565b615308828285615244565b600060209050601f83116001811461533b5760008415615329578287015190505b61533385826152b5565b86555061539b565b601f19841661534986615125565b60005b828110156153715784890151825560018201915060208501945060208101905061534c565b8683101561538e578489015161538a601f891682615297565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006153d9601983613c26565b91506153e4826153a3565b602082019050919050565b60006020820190508181036000830152615408816153cc565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061546b603283613c26565b91506154768261540f565b604082019050919050565b6000602082019050818103600083015261549a8161545e565b9050919050565b600081905092915050565b60006154b782613c1b565b6154c181856154a1565b93506154d1818560208601613c37565b80840191505092915050565b60006154e982856154ac565b91506154f582846154ac565b91508190509392505050565b6000808335600160200384360303811261551e5761551d614dc2565b5b80840192508235915067ffffffffffffffff8211156155405761553f614dc7565b5b60208301925060018202360383131561555c5761555b614dcc565b5b509250929050565b60008151905061557381613d8c565b92915050565b60006020828403121561558f5761558e613b56565b5b600061559d84828501615564565b91505092915050565b6000815190506155b581613cd7565b92915050565b6000602082840312156155d1576155d0613b56565b5b60006155df848285016155a6565b91505092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600061561e6017836154a1565b9150615629826155e8565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061566a6011836154a1565b915061567582615634565b601182019050919050565b600061568b82615611565b915061569782856154ac565b91506156a28261565d565b91506156ae82846154ac565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006156e1826156ba565b6156eb81856156c5565b93506156fb818560208601613c37565b61570481613c61565b840191505092915050565b60006080820190506157246000830187613d62565b6157316020830186613d62565b61573e6040830185613df8565b818103606083015261575081846156d6565b905095945050505050565b60008151905061576a81613b8c565b92915050565b60006020828403121561578657615785613b56565b5b60006157948482850161575b565b91505092915050565b600081905092915050565b60006157b4838561579d565b93506157c1838584614032565b82840190509392505050565b60006157da8284866157a8565b91508190509392505050565b6157ef81613f42565b82525050565b6157fe81614beb565b82525050565b60006101008201905061581a600083018b613ed8565b615827602083018a6157e6565b6158346040830189613df8565b6158416060830188613ed8565b61584e60808301876157f5565b61585b60a0830186613bf1565b61586860c08301856157e6565b61587560e08301846157e6565b9998505050505050505050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b60006158de603583613c26565b91506158e982615882565b604082019050919050565b6000602082019050818103600083015261590d816158d1565b9050919050565b600061591f82613ccd565b915061592a83613ccd565b925082820261593881613ccd565b9150828204841483151761594f5761594e614e34565b5b5092915050565b600061596182613ccd565b91506000820361597457615973614e34565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006159b5602083613c26565b91506159c08261597f565b602082019050919050565b600060208201905081810360008301526159e4816159a8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615a7f601883613c26565b9150615a8a82615a49565b602082019050919050565b60006020820190508181036000830152615aae81615a72565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615aeb601f83613c26565b9150615af682615ab5565b602082019050919050565b60006020820190508181036000830152615b1a81615ade565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615b7d602283613c26565b9150615b8882615b21565b604082019050919050565b60006020820190508181036000830152615bac81615b70565b9050919050565b6000615bbe82613ccd565b9150615bc983613ccd565b9250828203905081811115615be157615be0614e34565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000615c4c6002836154a1565b9150615c5782615c16565b600282019050919050565b6000819050919050565b615c7d615c7882613e75565b615c62565b82525050565b6000615c8e82615c3f565b9150615c9a8285615c6c565b602082019150615caa8284615c6c565b6020820191508190509392505050565b600060ff82169050919050565b615cd081615cba565b82525050565b6000608082019050615ceb6000830187613ed8565b615cf86020830186615cc7565b615d056040830185613ed8565b615d126060830184613ed8565b95945050505050565b600060a082019050615d306000830188613ed8565b615d3d6020830187613ed8565b615d4a6040830186613ed8565b615d576060830185613df8565b615d646080830184613d62565b969550505050505056fea2646970667358221220e711418283ad3a55b5d66d6fee8f7a4f9da4328381e63f31160f0393727cf31c64736f6c63430008110033

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

0000000000000000000000008cc85bc19bcd0b40cbfa292549129b8d367fb1eb000000000000000000000000273c259437e99ae7f7bc5d5fa60987907b55d068

-----Decoded View---------------
Arg [0] : admin (address): 0x8cc85bC19Bcd0B40cBfA292549129B8D367FB1EB
Arg [1] : tokenAddress (address): 0x273C259437e99aE7f7Bc5D5Fa60987907b55d068

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000008cc85bc19bcd0b40cbfa292549129b8d367fb1eb
Arg [1] : 000000000000000000000000273c259437e99ae7f7bc5d5fa60987907b55d068


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.