Address Details
contract

0x04511C6A1a58d12c1A3ef1daF6223D38479439E9

Contract Name
Pixpress
Creator
0xebd0a5–5c1367 at 0x889356–3d2a76
Balance
5.2866 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
29 Transactions
Transfers
32 Transfers
Gas Used
7,242,397
Last Balance Update
11609865
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
Pixpress




Optimization enabled
false
Compiler version
v0.8.12+commit.f00d7308




EVM Version
london




Verified at
2022-05-19T16:58:57.591213Z

contracts/Pixpress.sol

// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.12;

import "./AssetSwapper.sol";
import "./interfaces/IPxaMarket.sol";
import "./interfaces/IPxtPool.sol";

contract Pixpress is AssetSwapper {
  IPxaMarket private _pxaMarket;
  IPxtPool private _pxtPool;

  constructor(address pxaMarketAddr, address pxtPoolAddr) {
    _pxaMarket = IPxaMarket(pxaMarketAddr);
    _pxtPool = IPxtPool(pxtPoolAddr);
  }

  function setPxaMarket(address _addr) external onlyRole(COORDINATOR) {
    _pxaMarket = IPxaMarket(_addr);
  }

  function setPxtPool(address _addr) external onlyRole(COORDINATOR) {
    _pxtPool = IPxtPool(_addr);
  }

  function _processFee(uint256 _fee) internal {
    uint256 feeRatio = _pxaMarket.feeRatio();
    uint256 base = _pxaMarket.rateBase();
    uint256 feeShare = (_fee * feeRatio) / base;
    _pxaMarket.donate{ value: feeShare }();
  }

  function proposeSwap(
    address receiver,
    string memory note,
    address[] memory tokenAddresses,
    uint256[] memory amounts,
    uint256[] memory ids,
    uint8[] memory protocols,
    bool[] memory wanted
  ) external payable nonReentrant whenNotPaused {
    uint256 fee = swapFee(tokenAddresses, protocols, amounts, wanted);
    require(msg.value >= fee, "Pixpress: insufficient swap fee");
    _proposeSwap(receiver, note, tokenAddresses, amounts, ids, protocols, wanted);
    _processFee(fee);
  }

  function _depositPxt(address user) internal {
    uint256 fee = _pxtPool.perDeposit();
    _pxtPool.userDesposit(user, fee);
  }

  function _withdrawPxt(address[2] memory users) internal {
    uint256 fee = _pxtPool.perWithdraw();
    if (fee > 0) {
      for (uint256 i = 0; i < users.length; i++) {
        _pxtPool.userWithdraw(users[i], fee / users.length);
      }
    }
  }

  function proposeSwapWithPxt(
    address receiver,
    string memory note,
    address[] memory tokenAddresses,
    uint256[] memory amounts,
    uint256[] memory ids,
    uint8[] memory protocols,
    bool[] memory wanted
  ) external nonReentrant whenNotPaused {
    _depositPxt(msg.sender);
    _proposeSwap(receiver, note, tokenAddresses, amounts, ids, protocols, wanted);
  }

  function matchSwap(
    uint256 proposeId,
    address[] memory tokenAddresses,
    uint256[] memory amounts,
    uint256[] memory ids,
    uint8[] memory protocols
  ) external payable nonReentrant whenNotPaused {
    bool[] memory wanted = new bool[](tokenAddresses.length);
    for (uint256 i = 0; i < wanted.length; i++) {
      wanted[i] = false;
    }
    uint256 fee = swapFee(tokenAddresses, protocols, amounts, wanted);
    require(msg.value >= fee, "Pixpress: insufficient swap fee");
    _matchSwap(proposeId, tokenAddresses, amounts, ids, protocols);
    _processFee(fee);
  }

  function matchSwapWithPxt(
    uint256 proposeId,
    address[] memory tokenAddresses,
    uint256[] memory amounts,
    uint256[] memory ids,
    uint8[] memory protocols
  ) external nonReentrant whenNotPaused {
    _depositPxt(msg.sender);
    _matchSwap(proposeId, tokenAddresses, amounts, ids, protocols);
  }

  function acceptSwap(uint256 proposeId, uint256 matchId) external nonReentrant {
    _acceptSwap(proposeId, matchId);
    _withdrawPxt([msg.sender, _matchRecords[matchId].matcher]);
    _removeProposeRecord((proposeId));
  }

  function swapFee(
    address[] memory tokenAddreses,
    uint8[] memory protocols,
    uint256[] memory amounts,
    bool[] memory wanted
  ) public view returns (uint256) {
    uint256 totalFee = 0;
    for (uint256 i = 0; i < tokenAddreses.length; i++) {
      if (wanted[i] == false) {
        totalFee += _assetFee(tokenAddreses[i], protocols[i], amounts[i]);
      }
    }
    return totalFee;
  }

  function pause() external onlyRole(COORDINATOR) {
    _pause();
  }

  function resume() external onlyRole(COORDINATOR) {
    _unpause();
  }
}
        

/_openzeppelin/contracts/access/AccessControl.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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, _msgSender());
        _;
    }

    /**
     * @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 `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(uint160(account), 20),
                        " 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.
     */
    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.
     */
    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`.
     */
    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.
     *
     * [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.
     */
    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.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}
          

/_openzeppelin/contracts/access/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;
}
          

/_openzeppelin/contracts/security/Pausable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

/_openzeppelin/contracts/security/ReentrancyGuard.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

/_openzeppelin/contracts/token/ERC1155/IERC1155.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

/_openzeppelin/contracts/token/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}
          

/_openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}
          

/_openzeppelin/contracts/token/ERC721/IERC721.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, 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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

/_openzeppelin/contracts/utils/Address.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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 functionCall(target, data, "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");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}
          

/_openzeppelin/contracts/utils/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;
    }
}
          

/_openzeppelin/contracts/utils/Counters.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

/_openzeppelin/contracts/utils/Strings.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @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] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}
          

/_openzeppelin/contracts/utils/introspection/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;
    }
}
          

/_openzeppelin/contracts/utils/introspection/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);
}
          

/contracts/AssetManager.sol

// SPDX-License-Identifier: GPL-3.0

import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "./interfaces/IAssetManager.sol";

pragma solidity ^0.8.12;

contract AssetManager is IAssetManager, AccessControl, ReentrancyGuard, Pausable {
  // constants
  uint256 public constant AM_RATE_BASE = 1e6;
  uint8 public constant PROTOCOL_ERC20 = 1;
  uint8 public constant PROTOCOL_ERC721 = 2;
  uint8 public constant PROTOCOL_ERC1155 = 3;
  bytes32 public constant COORDINATOR = keccak256("COORDINATOR");

  // vars
  uint256 _amFeeBase = 10 ether;
  uint256 _amFeeRatio = 20000;

  mapping(address => Asset) public assets;

  constructor() {
    _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
    _grantRole(COORDINATOR, msg.sender);
  }

  function asset(address tokenAddress) external view returns (Asset memory record) {
    return assets[tokenAddress];
  }

  function createAsset(
    address tokenAddress,
    uint8 protocol,
    uint256 base,
    uint256 ratio
  ) external onlyRole(COORDINATOR) {
    require(assets[tokenAddress].tokenAddress == address(0x0), "AssetManager: asset already exist");
    assets[tokenAddress] = Asset(tokenAddress, protocol, base, ratio);

    emit AssetCreated(tokenAddress, assets[tokenAddress]);
  }

  function removeAsset(address tokenAddress) external onlyRole(COORDINATOR) {
    delete assets[tokenAddress];

    emit AssetRemoved(tokenAddress);
  }

  function setAssetFeeBase(address tokenAddress, uint256 base) external onlyRole(COORDINATOR) {
    require(assets[tokenAddress].tokenAddress != address(0x0), "AssetManager: asset does not exist");
    assets[tokenAddress].feeBase = base;

    emit AssetFeeBaseUpdated(tokenAddress, base);
  }

  function setAssetFeeRatio(address tokenAddress, uint256 ratio) external onlyRole(COORDINATOR) {
    require(assets[tokenAddress].tokenAddress != address(0x0), "AssetManager: asset does not exist");
    assets[tokenAddress].feeRatio = ratio;

    emit AssetFeeRatioUpdated(tokenAddress, ratio);
  }

  function setAmFeeBase(uint256 value) external onlyRole(COORDINATOR) {
    _amFeeBase = value;

    emit DefaultAssetFeeBaseUpdated(value);
  }

  function amFeeBase() external view returns (uint256) {
    return _amFeeBase;
  }

  function setAmFeeRatio(uint256 value) external onlyRole(COORDINATOR) {
    _amFeeRatio = value;

    emit DefaultAssetFeeRatioUpdated(value);
  }

  function amFeeRatio() external view returns (uint256) {
    return _amFeeRatio;
  }

  function _assetFee(
    address tokenAddress,
    uint8 protocol,
    uint256 amount
  ) internal view returns (uint256) {
    if (assets[tokenAddress].tokenAddress == address(0x0)) {
      if (protocol == PROTOCOL_ERC20) {
        return (amount * _amFeeRatio) / AM_RATE_BASE;
      } else {
        return (_amFeeBase * _amFeeRatio) / AM_RATE_BASE;
      }
    } else {
      if (protocol == PROTOCOL_ERC20) {
        return (amount * assets[tokenAddress].feeRatio) / AM_RATE_BASE;
      } else {
        return (assets[tokenAddress].feeBase * assets[tokenAddress].feeRatio) / AM_RATE_BASE;
      }
    }
  }
}
          

/contracts/AssetSwapper.sol

// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.12;

import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./AssetManager.sol";
import "./interfaces/IAssetSwapper.sol";

contract AssetSwapper is AssetManager, IAssetSwapper {
  using Counters for Counters.Counter;
  using SafeERC20 for IERC20;

  Counters.Counter private _proposeRecordIds;
  mapping(uint256 => ProposeRecord) _proposeRecords;
  Counters.Counter private _matchRecordIds;
  mapping(uint256 => MatchRecord) _matchRecords;

  function proposeRecord(uint256 id) external view returns (ProposeRecord memory record) {
    return _proposeRecords[id];
  }

  function matchRecord(uint256 id) external view returns (MatchRecord memory record) {
    return _matchRecords[id];
  }

  function _proposeSwap(
    address receiver,
    string memory note,
    address[] memory tokenAddresses,
    uint256[] memory amounts,
    uint256[] memory ids,
    uint8[] memory protocols,
    bool[] memory wanted
  ) internal {
    require(tokenAddresses.length == amounts.length, "Asset Swapper: amount record size does not match");
    require(tokenAddresses.length == ids.length, "Asset Swapper: id record size does not match");
    require(tokenAddresses.length == protocols.length, "Asset Swapper: protocol record size does not match");
    require(tokenAddresses.length == wanted.length, "Asset Swapper: wanted record size does not match");

    _proposeRecordIds.increment();
    uint256 id = _proposeRecordIds.current();
    _proposeRecords[id] = ProposeRecord(
      msg.sender,
      receiver,
      note,
      tokenAddresses,
      amounts,
      ids,
      protocols,
      wanted,
      new uint256[](0)
    );

    emit Proposed(id, _proposeRecords[id]);
  }

  function _matchSwap(
    uint256 proposeId,
    address[] memory tokenAddresses,
    uint256[] memory amounts,
    uint256[] memory ids,
    uint8[] memory protocols
  ) internal {
    require(tokenAddresses.length == amounts.length, "Assest Swapper: amount record size does not match");
    require(tokenAddresses.length == ids.length, "Assest Swapper: id record size does not match");
    require(tokenAddresses.length == protocols.length, "Assest Swapper: protocol record size does not match");
    if (_proposeRecords[proposeId].receiver != address(0)) {
      require(_msgSender() == _proposeRecords[proposeId].receiver, "Assest Swapper: receiver does not match");
    }
    _matchRecordIds.increment();
    uint256 id = _matchRecordIds.current();
    _matchRecords[id] = MatchRecord(
      proposeId,
      msg.sender,
      tokenAddresses,
      amounts,
      ids,
      protocols,
      _proposeRecords[proposeId].matchRecordIds.length
    );
    _proposeRecords[proposeId].matchRecordIds.push(id);

    emit Matched(id, _matchRecords[id]);
  }

  function _acceptSwap(uint256 proposeId, uint256 matchId) internal {
    ProposeRecord storage pRecord = _proposeRecords[proposeId];
    MatchRecord storage mRecord = _matchRecords[matchId];
    require(pRecord.proposer == msg.sender, "Asset Swapper: invalid proposer");
    require(proposeId == mRecord.proposeId, "Asset Swapper: invalid match id");
    require(_proposeAssetsValid(pRecord), "Asset Swapper: proposer assets invalid");
    require(_matchAssetsValid(mRecord), "Asset Swapper: matcher assets invalid");

    for (uint256 index = 0; index < pRecord.tokenAddresses.length; index++) {
      if (pRecord.wanted[index] == true) continue;
      _transferAsset(
        pRecord.proposer,
        mRecord.matcher,
        pRecord.tokenAddresses[index],
        pRecord.amounts[index],
        pRecord.ids[index],
        pRecord.protocols[index]
      );
    }
    for (uint256 index = 0; index < mRecord.tokenAddresses.length; index++) {
      _transferAsset(
        mRecord.matcher,
        pRecord.proposer,
        mRecord.tokenAddresses[index],
        mRecord.amounts[index],
        mRecord.ids[index],
        mRecord.protocols[index]
      );
    }

    emit Swapped(proposeId, matchId);
  }

  function _proposeAssetsValid(ProposeRecord storage record) internal view returns (bool) {
    address proposer = record.proposer;
    address[] storage tokenAddresses = record.tokenAddresses;
    uint256[] storage tokenIds = record.ids;
    uint8[] storage protocols = record.protocols;
    uint256[] storage amounts = record.amounts;
    bool[] storage wanted = record.wanted;
    for (uint256 i = 0; i < tokenAddresses.length; i++) {
      if (wanted[i]) continue;
      require(
        _assetApproved(proposer, tokenAddresses[i], tokenIds[i], protocols[i], amounts[i]),
        "Asset Swapper: some proposer assets are not approved"
      );
      require(
        _assetInStock(proposer, tokenAddresses[i], tokenIds[i], protocols[i], amounts[i]),
        "Asset Swapper: some proposer assets are not in stock"
      );
    }
    return true;
  }

  function _matchAssetsValid(MatchRecord storage record) internal view returns (bool) {
    address matcher = record.matcher;
    address[] storage tokenAddresses = record.tokenAddresses;
    uint256[] storage tokenIds = record.ids;
    uint8[] storage protocols = record.protocols;
    uint256[] storage amounts = record.amounts;
    for (uint256 i = 0; i < tokenAddresses.length; i++) {
      require(
        _assetApproved(matcher, tokenAddresses[i], tokenIds[i], protocols[i], amounts[i]),
        "Asset Swapper: some matcher assets are not approved"
      );
      require(
        _assetInStock(matcher, tokenAddresses[i], tokenIds[i], protocols[i], amounts[i]),
        "Asset Swapper: some matcher assets are not in stock"
      );
    }
    return true;
  }

  function _assetApproved(
    address tokenOwner,
    address tokenAddress,
    uint256 tokenId,
    uint8 protocol,
    uint256 amount
  ) internal view returns (bool) {
    if (protocol == PROTOCOL_ERC20) {
      IERC20 t = IERC20(tokenAddress);
      require(t.allowance(tokenOwner, address(this)) >= amount, "Asset Swapper: insufficient token allowance");
    } else if (protocol == PROTOCOL_ERC721) {
      IERC721 t = IERC721(tokenAddress);
      require(
        t.getApproved(tokenId) == address(this) || t.isApprovedForAll(tokenOwner, address(this)),
        "Asset Swapper: ERC721 token not approved "
      );
    } else if (protocol == PROTOCOL_ERC1155) {
      IERC1155 t = IERC1155(tokenAddress);
      require(t.isApprovedForAll(tokenOwner, address(this)), "Asset Swapper: ERC1155 token not approved ");
    } else {
      revert("Asset Swapper: unsupported token protocol");
    }
    return true;
  }

  function _assetInStock(
    address tokenOwner,
    address tokenAddress,
    uint256 tokenId,
    uint8 protocol,
    uint256 amount
  ) internal view returns (bool) {
    if (protocol == PROTOCOL_ERC20) {
      IERC20 t = IERC20(tokenAddress);
      require(t.balanceOf(tokenOwner) >= amount, "Asset Swapper: ERC20 insufficient token balance");
    } else if (protocol == PROTOCOL_ERC721) {
      IERC721 t = IERC721(tokenAddress);
      require(t.ownerOf(tokenId) == tokenOwner, "Asset Swapper: ERC721 insufficient token balance");
    } else if (protocol == PROTOCOL_ERC1155) {
      IERC1155 t = IERC1155(tokenAddress);
      require(t.balanceOf(tokenOwner, tokenId) >= amount, "Asset Swapper: ERC1155 insufficient token balance");
    } else {
      revert("Asset Swapper: unsupported token protocol");
    }
    return true;
  }

  function _transferAsset(
    address sender,
    address receiver,
    address tokenAddress,
    uint256 amount,
    uint256 id,
    uint8 protocol
  ) internal {
    if (protocol == PROTOCOL_ERC20) {
      IERC20(tokenAddress).safeTransferFrom(sender, receiver, amount);
    } else if (protocol == PROTOCOL_ERC721) {
      IERC721(tokenAddress).safeTransferFrom(sender, receiver, id);
    } else if (protocol == PROTOCOL_ERC1155) {
      IERC1155(tokenAddress).safeTransferFrom(sender, receiver, id, amount, "");
    } else {
      revert("Asset Swapper: cannot swap unsupported token protocol");
    }
  }

  function removeProposeRecord(uint256 proposeId) external nonReentrant whenNotPaused {
    require((msg.sender == _proposeRecords[proposeId].proposer), "Asset Swapper: invalid proposer");
    _removeProposeRecord(proposeId);

    emit ProposalRemoved(proposeId, _proposeRecords[proposeId]);
  }

  function _removeProposeRecord(uint256 proposeId) internal {
    ProposeRecord storage record = _proposeRecords[proposeId];

    delete _proposeRecords[proposeId];
    for (uint256 index = 0; index < record.matchRecordIds.length; index++) {
      _removeMatchRecord(record.matchRecordIds[index]);
    }
  }

  function removeMatchRecord(uint256 matchId) public nonReentrant whenNotPaused {
    require(_matchRecords[matchId].matcher == msg.sender, "Asset Swapper: invalid matcher");
    MatchRecord storage mRecord = _matchRecords[matchId];
    _removeProposeRecordMatchId(mRecord);
    _removeMatchRecord(matchId);

    emit MatcherRemoved(matchId, _matchRecords[matchId]);
  }

  function _removeProposeRecordMatchId(MatchRecord storage mRecord) internal {
    ProposeRecord storage pRecord = _proposeRecords[mRecord.proposeId];
    uint256 lastMatchIdIndex = pRecord.matchRecordIds.length - 1;
    MatchRecord storage lastMatchIdRecord = _matchRecords[pRecord.matchRecordIds[lastMatchIdIndex]];
    lastMatchIdRecord.index = mRecord.index;
    pRecord.matchRecordIds[mRecord.index] = pRecord.matchRecordIds[lastMatchIdIndex];
    pRecord.matchRecordIds.pop();
  }

  function _removeMatchRecord(uint256 matchId) internal {
    delete _matchRecords[matchId];
  }
}
          

/contracts/interfaces/IAssetManager.sol

// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.12;

interface IAssetManager {
  struct Asset {
    address tokenAddress;
    uint8 protocol;
    uint256 feeBase;
    uint256 feeRatio;
  }

  // events
  event AssetCreated(address indexed tokenAddress, Asset record);
  event AssetRemoved(address indexed tokenAddress);
  event AssetFeeBaseUpdated(address indexed tokenAddress, uint256 feeBase);
  event AssetFeeRatioUpdated(address indexed tokenAddress, uint256 feeRatio);
  event DefaultAssetFeeBaseUpdated(uint256 feeBase);
  event DefaultAssetFeeRatioUpdated(uint256 feeRatio);

  function asset(address tokenAddress) external view returns (Asset memory record);

  function createAsset(
    address tokenAddress,
    uint8 protocol,
    uint256 base,
    uint256 ratio
  ) external;

  function removeAsset(address tokenAddress) external;

  function setAssetFeeBase(address tokenAddress, uint256 base) external;

  function setAssetFeeRatio(address tokenAddress, uint256 ratio) external;

  function amFeeBase() external view returns (uint256);

  function setAmFeeBase(uint256 value) external;

  function amFeeRatio() external view returns (uint256);

  function setAmFeeRatio(uint256 value) external;
}
          

/contracts/interfaces/IAssetSwapper.sol

// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.12;

import "./IAssetManager.sol";

interface IAssetSwapper {
  struct ProposeRecord {
    address proposer;
    address receiver;
    string note;
    address[] tokenAddresses;
    uint256[] amounts;
    uint256[] ids;
    uint8[] protocols;
    bool[] wanted;
    uint256[] matchRecordIds;
  }

  struct MatchRecord {
    uint256 proposeId;
    address matcher;
    address[] tokenAddresses;
    uint256[] amounts;
    uint256[] ids;
    uint8[] protocols;
    uint256 index;
  }

  // events
  event Proposed(uint256 indexed id, ProposeRecord record);
  event Matched(uint256 indexed id, MatchRecord record);
  event Swapped(uint256 indexed proposeId, uint256 indexed matchId);
  event ProposalRemoved(uint256 indexed id, ProposeRecord record);
  event MatcherRemoved(uint256 indexed id, MatchRecord record);

  function proposeRecord(uint256 id) external view returns (ProposeRecord memory record);

  function matchRecord(uint256 id) external view returns (MatchRecord memory record);

  function removeProposeRecord(uint256 proposeId) external;

  function removeMatchRecord(uint256 matchId) external;
}
          

/contracts/interfaces/IPxaMarket.sol

// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.12;

interface IPxaMarket {
  struct Order {
    address seller;
    uint256 tokenId;
    uint256 price;
    uint256 revenue;
    uint256 index;
  }

  event OrderCreated(uint256 indexed tokenId, address seller, uint256 price);
  event Bought(uint256 indexed tokenId, uint256 price, uint256 revenue);
  event Claimed(uint256 indexed tokenId, uint256 revenue);
  event OrderRemoved(uint256 indexed tokenId, uint256 revenue);
  event RevenueIncreased(uint256 indexed tokenId, uint256 revenue);
  event IncomeAdded(uint256 amount);
  event IncomeClaimed(address indexed receiver, uint256 amount);
  event Withdraw(address indexed receiver, uint256 amount);

  function rateBase() external view returns (uint256);

  function name() external view returns (string memory);

  function order(uint256 tokenId) external view returns (Order memory order);

  function createOrder(uint256 tokenId, uint256 price) external;

  function buy(uint256 tokenId) external payable;

  function claim(uint256 tokenId) external payable;

  function cancelOrder(uint256 tokenId) external payable;

  function pxaAddress() external view returns (address);

  function setPxaAddress(address value) external;

  function pwsAddress() external view returns (address);

  function setPwsAddress(address value) external;

  function feeRatio() external view returns (uint256);

  function setFeeRatio(uint256 value) external;

  function feeShareRatio() external view returns (uint256);

  function setFeeShareRatio(uint256 value) external;

  function donate() external payable;

  function income() external view returns (uint256);

  function addIncome() external payable;

  function claimIncome(address receiver, uint256 amount) external;

  function withdraw(address receiver, uint256 amount) external;
}
          

/contracts/interfaces/IPxtPool.sol

// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.12;

interface IPxtPool {
  function name() external view returns (string memory);

  function balance() external view returns (uint256);

  function setWindowRange(uint256 value) external;

  function systemDeposit(uint256 value) external;

  function systemWithdraw(uint256 value) external;

  function perDeposit() external view returns (uint256);

  function perWithdraw() external view returns (uint256);

  function userDesposit(address user, uint256 value) external;

  function userWithdraw(address user, uint256 value) external;
}
          

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"pxaMarketAddr","internalType":"address"},{"type":"address","name":"pxtPoolAddr","internalType":"address"}]},{"type":"event","name":"AssetCreated","inputs":[{"type":"address","name":"tokenAddress","internalType":"address","indexed":true},{"type":"tuple","name":"record","internalType":"struct IAssetManager.Asset","indexed":false,"components":[{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"uint8","name":"protocol","internalType":"uint8"},{"type":"uint256","name":"feeBase","internalType":"uint256"},{"type":"uint256","name":"feeRatio","internalType":"uint256"}]}],"anonymous":false},{"type":"event","name":"AssetFeeBaseUpdated","inputs":[{"type":"address","name":"tokenAddress","internalType":"address","indexed":true},{"type":"uint256","name":"feeBase","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"AssetFeeRatioUpdated","inputs":[{"type":"address","name":"tokenAddress","internalType":"address","indexed":true},{"type":"uint256","name":"feeRatio","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"AssetRemoved","inputs":[{"type":"address","name":"tokenAddress","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"DefaultAssetFeeBaseUpdated","inputs":[{"type":"uint256","name":"feeBase","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"DefaultAssetFeeRatioUpdated","inputs":[{"type":"uint256","name":"feeRatio","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Matched","inputs":[{"type":"uint256","name":"id","internalType":"uint256","indexed":true},{"type":"tuple","name":"record","internalType":"struct IAssetSwapper.MatchRecord","indexed":false,"components":[{"type":"uint256","name":"proposeId","internalType":"uint256"},{"type":"address","name":"matcher","internalType":"address"},{"type":"address[]","name":"tokenAddresses","internalType":"address[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint8[]","name":"protocols","internalType":"uint8[]"},{"type":"uint256","name":"index","internalType":"uint256"}]}],"anonymous":false},{"type":"event","name":"MatcherRemoved","inputs":[{"type":"uint256","name":"id","internalType":"uint256","indexed":true},{"type":"tuple","name":"record","internalType":"struct IAssetSwapper.MatchRecord","indexed":false,"components":[{"type":"uint256","name":"proposeId","internalType":"uint256"},{"type":"address","name":"matcher","internalType":"address"},{"type":"address[]","name":"tokenAddresses","internalType":"address[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint8[]","name":"protocols","internalType":"uint8[]"},{"type":"uint256","name":"index","internalType":"uint256"}]}],"anonymous":false},{"type":"event","name":"Paused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"ProposalRemoved","inputs":[{"type":"uint256","name":"id","internalType":"uint256","indexed":true},{"type":"tuple","name":"record","internalType":"struct IAssetSwapper.ProposeRecord","indexed":false,"components":[{"type":"address","name":"proposer","internalType":"address"},{"type":"address","name":"receiver","internalType":"address"},{"type":"string","name":"note","internalType":"string"},{"type":"address[]","name":"tokenAddresses","internalType":"address[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint8[]","name":"protocols","internalType":"uint8[]"},{"type":"bool[]","name":"wanted","internalType":"bool[]"},{"type":"uint256[]","name":"matchRecordIds","internalType":"uint256[]"}]}],"anonymous":false},{"type":"event","name":"Proposed","inputs":[{"type":"uint256","name":"id","internalType":"uint256","indexed":true},{"type":"tuple","name":"record","internalType":"struct IAssetSwapper.ProposeRecord","indexed":false,"components":[{"type":"address","name":"proposer","internalType":"address"},{"type":"address","name":"receiver","internalType":"address"},{"type":"string","name":"note","internalType":"string"},{"type":"address[]","name":"tokenAddresses","internalType":"address[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint8[]","name":"protocols","internalType":"uint8[]"},{"type":"bool[]","name":"wanted","internalType":"bool[]"},{"type":"uint256[]","name":"matchRecordIds","internalType":"uint256[]"}]}],"anonymous":false},{"type":"event","name":"RoleAdminChanged","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"previousAdminRole","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"newAdminRole","internalType":"bytes32","indexed":true}],"anonymous":false},{"type":"event","name":"RoleGranted","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoleRevoked","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Swapped","inputs":[{"type":"uint256","name":"proposeId","internalType":"uint256","indexed":true},{"type":"uint256","name":"matchId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"Unpaused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"AM_RATE_BASE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"COORDINATOR","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DEFAULT_ADMIN_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"PROTOCOL_ERC1155","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"PROTOCOL_ERC20","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"PROTOCOL_ERC721","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"acceptSwap","inputs":[{"type":"uint256","name":"proposeId","internalType":"uint256"},{"type":"uint256","name":"matchId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"amFeeBase","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"amFeeRatio","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple","name":"record","internalType":"struct IAssetManager.Asset","components":[{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"uint8","name":"protocol","internalType":"uint8"},{"type":"uint256","name":"feeBase","internalType":"uint256"},{"type":"uint256","name":"feeRatio","internalType":"uint256"}]}],"name":"asset","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"uint8","name":"protocol","internalType":"uint8"},{"type":"uint256","name":"feeBase","internalType":"uint256"},{"type":"uint256","name":"feeRatio","internalType":"uint256"}],"name":"assets","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"createAsset","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"uint8","name":"protocol","internalType":"uint8"},{"type":"uint256","name":"base","internalType":"uint256"},{"type":"uint256","name":"ratio","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"getRoleAdmin","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"grantRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"hasRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple","name":"record","internalType":"struct IAssetSwapper.MatchRecord","components":[{"type":"uint256","name":"proposeId","internalType":"uint256"},{"type":"address","name":"matcher","internalType":"address"},{"type":"address[]","name":"tokenAddresses","internalType":"address[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint8[]","name":"protocols","internalType":"uint8[]"},{"type":"uint256","name":"index","internalType":"uint256"}]}],"name":"matchRecord","inputs":[{"type":"uint256","name":"id","internalType":"uint256"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"matchSwap","inputs":[{"type":"uint256","name":"proposeId","internalType":"uint256"},{"type":"address[]","name":"tokenAddresses","internalType":"address[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint8[]","name":"protocols","internalType":"uint8[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"matchSwapWithPxt","inputs":[{"type":"uint256","name":"proposeId","internalType":"uint256"},{"type":"address[]","name":"tokenAddresses","internalType":"address[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint8[]","name":"protocols","internalType":"uint8[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"pause","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"paused","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple","name":"record","internalType":"struct IAssetSwapper.ProposeRecord","components":[{"type":"address","name":"proposer","internalType":"address"},{"type":"address","name":"receiver","internalType":"address"},{"type":"string","name":"note","internalType":"string"},{"type":"address[]","name":"tokenAddresses","internalType":"address[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint8[]","name":"protocols","internalType":"uint8[]"},{"type":"bool[]","name":"wanted","internalType":"bool[]"},{"type":"uint256[]","name":"matchRecordIds","internalType":"uint256[]"}]}],"name":"proposeRecord","inputs":[{"type":"uint256","name":"id","internalType":"uint256"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"proposeSwap","inputs":[{"type":"address","name":"receiver","internalType":"address"},{"type":"string","name":"note","internalType":"string"},{"type":"address[]","name":"tokenAddresses","internalType":"address[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint8[]","name":"protocols","internalType":"uint8[]"},{"type":"bool[]","name":"wanted","internalType":"bool[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"proposeSwapWithPxt","inputs":[{"type":"address","name":"receiver","internalType":"address"},{"type":"string","name":"note","internalType":"string"},{"type":"address[]","name":"tokenAddresses","internalType":"address[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint8[]","name":"protocols","internalType":"uint8[]"},{"type":"bool[]","name":"wanted","internalType":"bool[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeAsset","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeMatchRecord","inputs":[{"type":"uint256","name":"matchId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeProposeRecord","inputs":[{"type":"uint256","name":"proposeId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"resume","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"revokeRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setAmFeeBase","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setAmFeeRatio","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setAssetFeeBase","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"uint256","name":"base","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setAssetFeeRatio","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"uint256","name":"ratio","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPxaMarket","inputs":[{"type":"address","name":"_addr","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPxtPool","inputs":[{"type":"address","name":"_addr","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"swapFee","inputs":[{"type":"address[]","name":"tokenAddreses","internalType":"address[]"},{"type":"uint8[]","name":"protocols","internalType":"uint8[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"},{"type":"bool[]","name":"wanted","internalType":"bool[]"}]}]
              

Contract Creation Code

0x6080604052678ac7230489e80000600355614e206004553480156200002357600080fd5b506040516200a1f63803806200a1f6833981810160405281019062000049919062000309565b600180819055506000600260006101000a81548160ff021916908315150217905550620000806000801b336200013c60201b60201c565b620000b27fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199336200013c60201b60201c565b81600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000350565b6200014e82826200022d60201b60201c565b6200022957600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001ce6200029760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002d182620002a4565b9050919050565b620002e381620002c4565b8114620002ef57600080fd5b50565b6000815190506200030381620002d8565b92915050565b600080604083850312156200032357620003226200029f565b5b60006200033385828601620002f2565b92505060206200034685828601620002f2565b9150509250929050565b619e9680620003606000396000f3fe60806040526004361061021a5760003560e01c80637a5b0231116101235780639c4667a2116100ab578063cd7e22711161006f578063cd7e22711461079f578063d1d5a071146107c8578063d547741f146107f1578063ef0aa2181461081a578063f11b8188146108435761021a565b80639c4667a2146106bc578063a217fddf146106f9578063a6d6699214610724578063a73757011461074d578063c284f02c146107765761021a565b806384777171116100f257806384777171146105e45780638ca11c741461060d57806391d1485414610638578063961e975a146106755780639991d3bf146106a05761021a565b80637a5b02311461053a5780637d09820014610577578063807f68d2146105a25780638456cb59146105cd5761021a565b806336568abe116101a6578063558675d611610175578063558675d614610478578063576053d6146104945780635c975abb146104bd5780636c149d58146104e857806377f2fcbc146105115761021a565b806336568abe146103d05780633b2bcbf1146103f95780634a5e42b1146104245780634b7b9ad01461044d5761021a565b80631cfa8295116101ed5780631cfa8295146102db578063230c5a2514610304578063248a9ca31461032d578063262597251461036a5780632f2ff15d146103a75761021a565b806301ffc9a71461021f57806302de00e81461025c578063046f7da21461028757806319430e371461029e575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190615582565b610883565b60405161025391906155ca565b60405180910390f35b34801561026857600080fd5b506102716108fd565b60405161027e9190615601565b60405180910390f35b34801561029357600080fd5b5061029c610902565b005b3480156102aa57600080fd5b506102c560048036038101906102c09190615aaa565b61093f565b6040516102d29190615b90565b60405180910390f35b3480156102e757600080fd5b5061030260048036038101906102fd9190615bab565b610a00565b005b34801561031057600080fd5b5061032b60048036038101906103269190615beb565b610b17565b005b34801561033957600080fd5b50610354600480360381019061034f9190615c4e565b610b8e565b6040516103619190615c8a565b60405180910390f35b34801561037657600080fd5b50610391600480360381019061038c9190615ca5565b610bad565b60405161039e9190615fbd565b60405180910390f35b3480156103b357600080fd5b506103ce60048036038101906103c99190615fdf565b610e00565b005b3480156103dc57600080fd5b506103f760048036038101906103f29190615fdf565b610e29565b005b34801561040557600080fd5b5061040e610eac565b60405161041b9190615c8a565b60405180910390f35b34801561043057600080fd5b5061044b60048036038101906104469190615beb565b610ed0565b005b34801561045957600080fd5b50610462610fd6565b60405161046f9190615601565b60405180910390f35b610492600480360381019061048d919061601f565b610fdb565b005b3480156104a057600080fd5b506104bb60048036038101906104b6919061610a565b61117f565b005b3480156104c957600080fd5b506104d261140d565b6040516104df91906155ca565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a9190615ca5565b611424565b005b34801561051d57600080fd5b5061053860048036038101906105339190615ca5565b6115bb565b005b34801561054657600080fd5b50610561600480360381019061055c9190615ca5565b611773565b60405161056e91906163a6565b60405180910390f35b34801561058357600080fd5b5061058c611b70565b6040516105999190615b90565b60405180910390f35b3480156105ae57600080fd5b506105b7611b7a565b6040516105c49190615b90565b60405180910390f35b3480156105d957600080fd5b506105e2611b84565b005b3480156105f057600080fd5b5061060b6004803603810190610606919061601f565b611bc1565b005b34801561061957600080fd5b50610622611c7b565b60405161062f9190615601565b60405180910390f35b34801561064457600080fd5b5061065f600480360381019061065a9190615fdf565b611c80565b60405161066c91906155ca565b60405180910390f35b34801561068157600080fd5b5061068a611cea565b6040516106979190615b90565b60405180910390f35b6106ba60048036038101906106b5919061647d565b611cf1565b005b3480156106c857600080fd5b506106e360048036038101906106de9190615beb565b611e03565b6040516106f0919061661c565b60405180910390f35b34801561070557600080fd5b5061070e611ee3565b60405161071b9190615c8a565b60405180910390f35b34801561073057600080fd5b5061074b60048036038101906107469190615beb565b611eea565b005b34801561075957600080fd5b50610774600480360381019061076f9190615ca5565b611f61565b005b34801561078257600080fd5b5061079d60048036038101906107989190615ca5565b611fd5565b005b3480156107ab57600080fd5b506107c660048036038101906107c19190616637565b612049565b005b3480156107d457600080fd5b506107ef60048036038101906107ea9190616637565b6121e7565b005b3480156107fd57600080fd5b5061081860048036038101906108139190615fdf565b612385565b005b34801561082657600080fd5b50610841600480360381019061083c919061647d565b6123ae565b005b34801561084f57600080fd5b5061086a60048036038101906108659190615beb565b61246c565b60405161087a9493929190616686565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108f657506108f5826124c9565b5b9050919050565b600281565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996109348161092f612533565b61253b565b61093c6125d8565b50565b6000806000905060005b86518110156109f35760001515848281518110610969576109686166cb565b5b6020026020010151151514156109e0576109d287828151811061098f5761098e6166cb565b5b60200260200101518783815181106109aa576109a96166cb565b5b60200260200101518784815181106109c5576109c46166cb565b5b602002602001015161267a565b826109dd9190616729565b91505b80806109eb9061677f565b915050610949565b5080915050949350505050565b60026001541415610a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3d90616825565b60405180910390fd5b6002600181905550610a588282612883565b610b0360405180604001604052803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016009600085815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250612cf7565b610b0c82612e6c565b600180819055505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610b4981610b44612533565b61253b565b81600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000806000838152602001908152602001600020600101549050919050565b610bb5615071565b600960008381526020019081526020016000206040518060e0016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201805480602002602001604051908101604052809291908181526020018280548015610cb857602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610c6e575b5050505050815260200160038201805480602002602001604051908101604052809291908181526020018280548015610d1057602002820191906000526020600020905b815481526020019060010190808311610cfc575b5050505050815260200160048201805480602002602001604051908101604052809291908181526020018280548015610d6857602002820191906000526020600020905b815481526020019060010190808311610d54575b5050505050815260200160058201805480602002602001604051908101604052809291908181526020018280548015610de657602002820191906000526020600020906000905b82829054906101000a900460ff1660ff1681526020019060010190602082600001049283019260010382029150808411610daf5790505b505050505081526020016006820154815250509050919050565b610e0982610b8e565b610e1a81610e15612533565b61253b565b610e248383612faa565b505050565b610e31612533565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e95906168b7565b60405180910390fd5b610ea8828261308a565b5050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19981565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610f0281610efd612533565b61253b565b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549060ff02191690556001820160009055600282016000905550508173ffffffffffffffffffffffffffffffffffffffff167f37803e2125c48ee96c38ddf04e826daf335b0e1603579040fd275aba6d06b6fc60405160405180910390a25050565b600181565b60026001541415611021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101890616825565b60405180910390fd5b600260018190555061103161140d565b15611071576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106890616923565b60405180910390fd5b6000845167ffffffffffffffff81111561108e5761108d615632565b5b6040519080825280602002602001820160405280156110bc5781602001602082028036833780820191505090505b50905060005b81518110156111055760008282815181106110e0576110df6166cb565b5b60200260200101901515908115158152505080806110fd9061677f565b9150506110c2565b5060006111148684878561093f565b905080341015611159576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111509061698f565b60405180910390fd5b611166878787878761316b565b61116f8161353b565b5050600180819055505050505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996111b1816111ac612533565b61253b565b600073ffffffffffffffffffffffffffffffffffffffff16600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127990616a21565b60405180910390fd5b60405180608001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020018560ff16815260200184815260200183815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548160ff021916908360ff16021790555060408201518160010155606082015181600201559050508473ffffffffffffffffffffffffffffffffffffffff167ff2907ab530928e5b90d775441159d3ad184c3d3bf92dbe843026af908d61702d600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040516113fe9190616b5c565b60405180910390a25050505050565b6000600260009054906101000a900460ff16905090565b6002600154141561146a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146190616825565b60405180910390fd5b600260018190555061147a61140d565b156114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b190616923565b60405180910390fd5b6007600082815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461155e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155590616bc3565b60405180910390fd5b61156781612e6c565b807f3d864d2c1b6545daa5b7b4ad188f731b7401c1ad8e7b0aa7714e57fe4a8a02fd600760008481526020019081526020016000206040516115a991906187e7565b60405180910390a26001808190555050565b60026001541415611601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f890616825565b60405180910390fd5b600260018190555061161161140d565b15611651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164890616923565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166009600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146116f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ec90618855565b60405180910390fd5b600060096000838152602001908152602001600020905061171581613709565b61171e826137f9565b817f172e414729ca68e725ab11d0dad476faab984e1fb9118f3c0cd0bce9283abbd0600960008581526020019081526020016000206040516117609190618945565b60405180910390a2506001808190555050565b61177b6150c4565b60076000838152602001908152602001600020604051806101200160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201805461185690616c12565b80601f016020809104026020016040519081016040528092919081815260200182805461188290616c12565b80156118cf5780601f106118a4576101008083540402835291602001916118cf565b820191906000526020600020905b8154815290600101906020018083116118b257829003601f168201915b505050505081526020016003820180548060200260200160405190810160405280929190818152602001828054801561195d57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311611913575b50505050508152602001600482018054806020026020016040519081016040528092919081815260200182805480156119b557602002820191906000526020600020905b8154815260200190600101908083116119a1575b5050505050815260200160058201805480602002602001604051908101604052809291908181526020018280548015611a0d57602002820191906000526020600020905b8154815260200190600101908083116119f9575b5050505050815260200160068201805480602002602001604051908101604052809291908181526020018280548015611a8b57602002820191906000526020600020906000905b82829054906101000a900460ff1660ff1681526020019060010190602082600001049283019260010382029150808411611a545790505b5050505050815260200160078201805480602002602001604051908101604052809291908181526020018280548015611b0857602002820191906000526020600020906000905b82829054906101000a900460ff16151581526020019060010190602082600001049283019260010382029150808411611ad25790505b5050505050815260200160088201805480602002602001604051908101604052809291908181526020018280548015611b6057602002820191906000526020600020905b815481526020019060010190808311611b4c575b5050505050815250509050919050565b6000600454905090565b6000600354905090565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199611bb681611bb1612533565b61253b565b611bbe613889565b50565b60026001541415611c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfe90616825565b60405180910390fd5b6002600181905550611c1761140d565b15611c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4e90616923565b60405180910390fd5b611c603361392c565b611c6d858585858561316b565b600180819055505050505050565b600381565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b620f424081565b60026001541415611d37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2e90616825565b60405180910390fd5b6002600181905550611d4761140d565b15611d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7e90616923565b60405180910390fd5b6000611d958684878561093f565b905080341015611dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd19061698f565b60405180910390fd5b611de988888888888888613a54565b611df28161353b565b506001808190555050505050505050565b611e0b61513c565b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff1660ff1660ff168152602001600182015481526020016002820154815250509050919050565b6000801b81565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199611f1c81611f17612533565b61253b565b81600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199611f9381611f8e612533565b61253b565b816003819055507fa701c734adc954390df39cc273bd151a37445a72782f9e86c98dd19a4740149882604051611fc99190615b90565b60405180910390a15050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19961200781612002612533565b61253b565b816004819055507fad98c275fe99ef4d6c741df6bdb2851e1efffb9e71a1a68d63992a0cd8c038ed8260405161203d9190615b90565b60405180910390a15050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19961207b81612076612533565b61253b565b600073ffffffffffffffffffffffffffffffffffffffff16600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561214d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612144906189d9565b60405180910390fd5b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055508273ffffffffffffffffffffffffffffffffffffffff167f55da874da551007bd7fc7a2fb26d9323093416d2402d016c40fa042deb363ab6836040516121da9190615b90565b60405180910390a2505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19961221981612214612533565b61253b565b600073ffffffffffffffffffffffffffffffffffffffff16600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156122eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e2906189d9565b60405180910390fd5b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101819055508273ffffffffffffffffffffffffffffffffffffffff167fa7dd36139906f2738e957c249a5b90dc5e1ffeac05e1e86f53d0200343463f72836040516123789190615b90565b60405180910390a2505050565b61238e82610b8e565b61239f8161239a612533565b61253b565b6123a9838361308a565b505050565b600260015414156123f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123eb90616825565b60405180910390fd5b600260018190555061240461140d565b15612444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243b90616923565b60405180910390fd5b61244d3361392c565b61245c87878787878787613a54565b6001808190555050505050505050565b60056020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900460ff16908060010154908060020154905084565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6125458282611c80565b6125d45761256a8173ffffffffffffffffffffffffffffffffffffffff166014613df5565b6125788360001c6020613df5565b604051602001612589929190618acd565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125cb9190618b40565b60405180910390fd5b5050565b6125e061140d565b61261f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261690618bae565b60405180910390fd5b6000600260006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612663612533565b6040516126709190618bce565b60405180910390a1565b60008073ffffffffffffffffffffffffffffffffffffffff16600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561276957600160ff168360ff16141561274457620f4240600454836127339190618be9565b61273d9190618c72565b905061287c565b620f42406004546003546127589190618be9565b6127629190618c72565b905061287c565b600160ff168360ff1614156127db57620f4240600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154836127ca9190618be9565b6127d49190618c72565b905061287c565b620f4240600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015461286f9190618be9565b6128799190618c72565b90505b9392505050565b600060076000848152602001908152602001600020905060006009600084815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293a90616bc3565b60405180910390fd5b80600001548414612989576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298090618cef565b60405180910390fd5b61299282614031565b6129d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c890618d81565b60405180910390fd5b6129da816142dd565b612a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1090618e13565b60405180910390fd5b60005b8260030180549050811015612b915760011515836007018281548110612a4557612a446166cb565b5b90600052602060002090602091828204019190069054906101000a900460ff1615151415612a7257612b7e565b612b7d8360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856003018481548110612ad557612ad46166cb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16866004018581548110612b1657612b156166cb565b5b9060005260206000200154876005018681548110612b3757612b366166cb565b5b9060005260206000200154886006018781548110612b5857612b576166cb565b5b90600052602060002090602091828204019190069054906101000a900460ff16614542565b5b8080612b899061677f565b915050612a1c565b5060005b8160020180549050811015612cc257612caf8260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846002018481548110612c0757612c066166cb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856003018581548110612c4857612c476166cb565b5b9060005260206000200154866004018681548110612c6957612c686166cb565b5b9060005260206000200154876005018781548110612c8a57612c896166cb565b5b90600052602060002090602091828204019190069054906101000a900460ff16614542565b8080612cba9061677f565b915050612b95565b5082847f5a6443be634d8594e0dff76c972a6a74f88bf761fb6e334d88dd979516f3bc8f60405160405180910390a350505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663240d78a16040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d8a9190618e48565b90506000811115612e685760005b6002811015612e6657600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633e458a8e848360028110612df257612df16166cb565b5b6020020151600285612e049190618c72565b6040518363ffffffff1660e01b8152600401612e21929190618e75565b600060405180830381600087803b158015612e3b57600080fd5b505af1158015612e4f573d6000803e3d6000fd5b505050508080612e5e9061677f565b915050612d98565b505b5050565b600060076000838152602001908152602001600020905060076000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600282016000612ef5919061517d565b600382016000612f0591906151bd565b600482016000612f1591906151de565b600582016000612f2591906151de565b600682016000612f3591906151ff565b600782016000612f459190615227565b600882016000612f5591906151de565b505060005b8160080180549050811015612fa557612f92826008018281548110612f8257612f816166cb565b5b90600052602060002001546137f9565b8080612f9d9061677f565b915050612f5a565b505050565b612fb48282611c80565b61308657600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061302b612533565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6130948282611c80565b1561316757600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061310c612533565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b82518451146131af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a690618f10565b60405180910390fd5b81518451146131f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ea90618fa2565b60405180910390fd5b8051845114613237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322e90619034565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166007600087815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461334d576007600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166132f6612533565b73ffffffffffffffffffffffffffffffffffffffff161461334c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613343906190c6565b60405180910390fd5b5b61335760086146d0565b600061336360086146e6565b90506040518060e001604052808781526020013373ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018381526020016007600089815260200190815260200160002060080180549050815250600960008381526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604082015181600201908051906020019061344792919061524f565b5060608201518160030190805190602001906134649291906152d9565b5060808201518160040190805190602001906134819291906152d9565b5060a082015181600501908051906020019061349e929190615326565b5060c0820151816006015590505060076000878152602001908152602001600020600801819080600181540180825580915050600190039060005260206000200160009091909190915055807fd7af2d7ec779fb9958829116ac22b6fbd4eafe2ca69287d52dc56020617a68826009600084815260200190815260200160002060405161352b9190618945565b60405180910390a2505050505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166341744dd46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156135aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135ce9190618e48565b90506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663014e95ba6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561363f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136639190618e48565b905060008183856136749190618be9565b61367e9190618c72565b9050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ed88c68e826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156136ea57600080fd5b505af11580156136fe573d6000803e3d6000fd5b505050505050505050565b60006007600083600001548152602001908152602001600020905060006001826008018054905061373a91906190e6565b9050600060096000846008018481548110613758576137576166cb565b5b90600052602060002001548152602001908152602001600020905083600601548160060181905550826008018281548110613796576137956166cb565b5b9060005260206000200154836008018560060154815481106137bb576137ba6166cb565b5b9060005260206000200181905550826008018054806137dd576137dc61911a565b5b6001900381819060005260206000200160009055905550505050565b600960008281526020019081526020016000206000808201600090556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560028201600061384c91906151bd565b60038201600061385c91906151de565b60048201600061386c91906151de565b60058201600061387c91906151ff565b6006820160009055505050565b61389161140d565b156138d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138c890616923565b60405180910390fd5b6001600260006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613915612533565b6040516139229190618bce565b60405180910390a1565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166381d9a25c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561399b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139bf9190618e48565b9050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166321a5a34c83836040518363ffffffff1660e01b8152600401613a1e929190618e75565b600060405180830381600087803b158015613a3857600080fd5b505af1158015613a4c573d6000803e3d6000fd5b505050505050565b8351855114613a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a8f906191bb565b60405180910390fd5b8251855114613adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ad39061924d565b60405180910390fd5b8151855114613b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b17906192df565b60405180910390fd5b8051855114613b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b5b90619371565b60405180910390fd5b613b6e60066146d0565b6000613b7a60066146e6565b90506040518061012001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018973ffffffffffffffffffffffffffffffffffffffff168152602001888152602001878152602001868152602001858152602001848152602001838152602001600067ffffffffffffffff811115613bff57613bfe615632565b5b604051908082528060200260200182016040528015613c2d5781602001602082028036833780820191505090505b508152506007600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002019080519060200190613cee9291906153cd565b506060820151816003019080519060200190613d0b92919061524f565b506080820151816004019080519060200190613d289291906152d9565b5060a0820151816005019080519060200190613d459291906152d9565b5060c0820151816006019080519060200190613d62929190615326565b5060e0820151816007019080519060200190613d7f929190615453565b50610100820151816008019080519060200190613d9d9291906152d9565b50905050807f48e81893487928a99fb309ba6421c1f6fc1d630b8fd46ba2bd6ed6de9929ff7560076000848152602001908152602001600020604051613de391906187e7565b60405180910390a25050505050505050565b606060006002836002613e089190618be9565b613e129190616729565b67ffffffffffffffff811115613e2b57613e2a615632565b5b6040519080825280601f01601f191660200182016040528015613e5d5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613e9557613e946166cb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613ef957613ef86166cb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002613f399190618be9565b613f439190616729565b90505b6001811115613fe3577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613f8557613f846166cb565b5b1a60f81b828281518110613f9c57613f9b6166cb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613fdc90619391565b9050613f46565b5060008414614027576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161401e90619407565b60405180910390fd5b8091505092915050565b6000808260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000836003019050600084600501905060008560060190506000866004019050600087600701905060005b85805490508110156142cd578181815481106140a5576140a46166cb565b5b90600052602060002090602091828204019190069054906101000a900460ff16156140cf576142ba565b614185878783815481106140e6576140e56166cb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16878481548110614124576141236166cb565b5b9060005260206000200154878581548110614142576141416166cb565b5b90600052602060002090602091828204019190069054906101000a900460ff16878681548110614175576141746166cb565b5b90600052602060002001546146f4565b6141c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016141bb90619499565b60405180910390fd5b61427a878783815481106141db576141da6166cb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16878481548110614219576142186166cb565b5b9060005260206000200154878581548110614237576142366166cb565b5b90600052602060002090602091828204019190069054906101000a900460ff1687868154811061426a576142696166cb565b5b9060005260206000200154614a71565b6142b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142b09061952b565b60405180910390fd5b5b80806142c59061677f565b915050614086565b5060019650505050505050919050565b6000808260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600083600201905060008460040190506000856005019050600086600301905060005b8480549050811015614533576143ec8686838154811061434d5761434c6166cb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686848154811061438b5761438a6166cb565b5b90600052602060002001548685815481106143a9576143a86166cb565b5b90600052602060002090602091828204019190069054906101000a900460ff168686815481106143dc576143db6166cb565b5b90600052602060002001546146f4565b61442b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614422906195bd565b60405180910390fd5b6144e186868381548110614442576144416166cb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168684815481106144805761447f6166cb565b5b906000526020600020015486858154811061449e5761449d6166cb565b5b90600052602060002090602091828204019190069054906101000a900460ff168686815481106144d1576144d06166cb565b5b9060005260206000200154614a71565b614520576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016145179061964f565b60405180910390fd5b808061452b9061677f565b91505061432a565b50600195505050505050919050565b600160ff168160ff1614156145835761457e8686858773ffffffffffffffffffffffffffffffffffffffff16614d6b909392919063ffffffff16565b6146c8565b600260ff168160ff161415614606578373ffffffffffffffffffffffffffffffffffffffff166342842e0e8787856040518463ffffffff1660e01b81526004016145cf9392919061966f565b600060405180830381600087803b1580156145e957600080fd5b505af11580156145fd573d6000803e3d6000fd5b505050506146c7565b600360ff168160ff16141561468b578373ffffffffffffffffffffffffffffffffffffffff1663f242432a878785876040518563ffffffff1660e01b815260040161465494939291906196dd565b600060405180830381600087803b15801561466e57600080fd5b505af1158015614682573d6000803e3d6000fd5b505050506146c6565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016146bd906197a7565b60405180910390fd5b5b5b505050505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b6000600160ff168360ff1614156147ce576000859050828173ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e89306040518363ffffffff1660e01b81526004016147469291906197c7565b602060405180830381865afa158015614763573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147879190618e48565b10156147c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016147bf90619862565b60405180910390fd5b50614a64565b600260ff168360ff1614156149525760008590503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663081812fc876040518263ffffffff1660e01b81526004016148329190615b90565b602060405180830381865afa15801561484f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148739190619897565b73ffffffffffffffffffffffffffffffffffffffff16148061490d57508073ffffffffffffffffffffffffffffffffffffffff1663e985e9c588306040518363ffffffff1660e01b81526004016148cb9291906197c7565b602060405180830381865afa1580156148e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061490c91906198d9565b5b61494c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161494390619978565b60405180910390fd5b50614a63565b600360ff168360ff161415614a275760008590508073ffffffffffffffffffffffffffffffffffffffff1663e985e9c588306040518363ffffffff1660e01b81526004016149a19291906197c7565b602060405180830381865afa1580156149be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906149e291906198d9565b614a21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614a1890619a0a565b60405180910390fd5b50614a62565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614a5990619a9c565b60405180910390fd5b5b5b6001905095945050505050565b6000600160ff168360ff161415614b49576000859050828173ffffffffffffffffffffffffffffffffffffffff166370a08231896040518263ffffffff1660e01b8152600401614ac19190618bce565b602060405180830381865afa158015614ade573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614b029190618e48565b1015614b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614b3a90619b2e565b60405180910390fd5b50614d5e565b600260ff168360ff161415614c4a5760008590508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b8152600401614bad9190615b90565b602060405180830381865afa158015614bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614bee9190619897565b73ffffffffffffffffffffffffffffffffffffffff1614614c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614c3b90619bc0565b60405180910390fd5b50614d5d565b600360ff168360ff161415614d21576000859050828173ffffffffffffffffffffffffffffffffffffffff1662fdd58e89886040518363ffffffff1660e01b8152600401614c99929190618e75565b602060405180830381865afa158015614cb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614cda9190618e48565b1015614d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614d1290619c52565b60405180910390fd5b50614d5c565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614d5390619a9c565b60405180910390fd5b5b5b6001905095945050505050565b614dee846323b872dd60e01b858585604051602401614d8c9392919061966f565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614df4565b50505050565b6000614e56826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16614ebb9092919063ffffffff16565b9050600081511115614eb65780806020019051810190614e7691906198d9565b614eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614eac90619ce4565b60405180910390fd5b5b505050565b6060614eca8484600085614ed3565b90509392505050565b606082471015614f18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614f0f90619d76565b60405180910390fd5b614f2185614fe7565b614f60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614f5790619de2565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051614f899190619e49565b60006040518083038185875af1925050503d8060008114614fc6576040519150601f19603f3d011682016040523d82523d6000602084013e614fcb565b606091505b5091509150614fdb82828661500a565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060831561501a5782905061506a565b60008351111561502d5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016150619190618b40565b60405180910390fd5b9392505050565b6040518060e0016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160608152602001606081526020016060815260200160608152602001600081525090565b604051806101200160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001606081526020016060815260200160608152602001606081526020016060815260200160608152602001606081525090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600060ff16815260200160008152602001600081525090565b50805461518990616c12565b6000825580601f1061519b57506151ba565b601f0160209004906000526020600020908101906151b991906154f9565b5b50565b50805460008255906000526020600020908101906151db91906154f9565b50565b50805460008255906000526020600020908101906151fc91906154f9565b50565b50805460008255601f01602090049060005260206000209081019061522491906154f9565b50565b50805460008255601f01602090049060005260206000209081019061524c91906154f9565b50565b8280548282559060005260206000209081019282156152c8579160200282015b828111156152c75782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019061526f565b5b5090506152d591906154f9565b5090565b828054828255906000526020600020908101928215615315579160200282015b828111156153145782518255916020019190600101906152f9565b5b50905061532291906154f9565b5090565b82805482825590600052602060002090601f016020900481019282156153bc5791602002820160005b8382111561538d57835183826101000a81548160ff021916908360ff160217905550926020019260010160208160000104928301926001030261534f565b80156153ba5782816101000a81549060ff021916905560010160208160000104928301926001030261538d565b505b5090506153c991906154f9565b5090565b8280546153d990616c12565b90600052602060002090601f0160209004810192826153fb5760008555615442565b82601f1061541457805160ff1916838001178555615442565b82800160010185558215615442579182015b82811115615441578251825591602001919060010190615426565b5b50905061544f91906154f9565b5090565b82805482825590600052602060002090601f016020900481019282156154e85791602002820160005b838211156154b957835183826101000a81548160ff021916908315150217905550926020019260010160208160000104928301926001030261547c565b80156154e65782816101000a81549060ff02191690556001016020816000010492830192600103026154b9565b505b5090506154f591906154f9565b5090565b5b808211156155125760008160009055506001016154fa565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61555f8161552a565b811461556a57600080fd5b50565b60008135905061557c81615556565b92915050565b60006020828403121561559857615597615520565b5b60006155a68482850161556d565b91505092915050565b60008115159050919050565b6155c4816155af565b82525050565b60006020820190506155df60008301846155bb565b92915050565b600060ff82169050919050565b6155fb816155e5565b82525050565b600060208201905061561660008301846155f2565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61566a82615621565b810181811067ffffffffffffffff8211171561568957615688615632565b5b80604052505050565b600061569c615516565b90506156a88282615661565b919050565b600067ffffffffffffffff8211156156c8576156c7615632565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000615709826156de565b9050919050565b615719816156fe565b811461572457600080fd5b50565b60008135905061573681615710565b92915050565b600061574f61574a846156ad565b615692565b90508083825260208201905060208402830185811115615772576157716156d9565b5b835b8181101561579b57806157878882615727565b845260208401935050602081019050615774565b5050509392505050565b600082601f8301126157ba576157b961561c565b5b81356157ca84826020860161573c565b91505092915050565b600067ffffffffffffffff8211156157ee576157ed615632565b5b602082029050602081019050919050565b615808816155e5565b811461581357600080fd5b50565b600081359050615825816157ff565b92915050565b600061583e615839846157d3565b615692565b90508083825260208201905060208402830185811115615861576158606156d9565b5b835b8181101561588a57806158768882615816565b845260208401935050602081019050615863565b5050509392505050565b600082601f8301126158a9576158a861561c565b5b81356158b984826020860161582b565b91505092915050565b600067ffffffffffffffff8211156158dd576158dc615632565b5b602082029050602081019050919050565b6000819050919050565b615901816158ee565b811461590c57600080fd5b50565b60008135905061591e816158f8565b92915050565b6000615937615932846158c2565b615692565b9050808382526020820190506020840283018581111561595a576159596156d9565b5b835b81811015615983578061596f888261590f565b84526020840193505060208101905061595c565b5050509392505050565b600082601f8301126159a2576159a161561c565b5b81356159b2848260208601615924565b91505092915050565b600067ffffffffffffffff8211156159d6576159d5615632565b5b602082029050602081019050919050565b6159f0816155af565b81146159fb57600080fd5b50565b600081359050615a0d816159e7565b92915050565b6000615a26615a21846159bb565b615692565b90508083825260208201905060208402830185811115615a4957615a486156d9565b5b835b81811015615a725780615a5e88826159fe565b845260208401935050602081019050615a4b565b5050509392505050565b600082601f830112615a9157615a9061561c565b5b8135615aa1848260208601615a13565b91505092915050565b60008060008060808587031215615ac457615ac3615520565b5b600085013567ffffffffffffffff811115615ae257615ae1615525565b5b615aee878288016157a5565b945050602085013567ffffffffffffffff811115615b0f57615b0e615525565b5b615b1b87828801615894565b935050604085013567ffffffffffffffff811115615b3c57615b3b615525565b5b615b488782880161598d565b925050606085013567ffffffffffffffff811115615b6957615b68615525565b5b615b7587828801615a7c565b91505092959194509250565b615b8a816158ee565b82525050565b6000602082019050615ba56000830184615b81565b92915050565b60008060408385031215615bc257615bc1615520565b5b6000615bd08582860161590f565b9250506020615be18582860161590f565b9150509250929050565b600060208284031215615c0157615c00615520565b5b6000615c0f84828501615727565b91505092915050565b6000819050919050565b615c2b81615c18565b8114615c3657600080fd5b50565b600081359050615c4881615c22565b92915050565b600060208284031215615c6457615c63615520565b5b6000615c7284828501615c39565b91505092915050565b615c8481615c18565b82525050565b6000602082019050615c9f6000830184615c7b565b92915050565b600060208284031215615cbb57615cba615520565b5b6000615cc98482850161590f565b91505092915050565b615cdb816158ee565b82525050565b615cea816156fe565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000615d288383615ce1565b60208301905092915050565b6000602082019050919050565b6000615d4c82615cf0565b615d568185615cfb565b9350615d6183615d0c565b8060005b83811015615d92578151615d798882615d1c565b9750615d8483615d34565b925050600181019050615d65565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000615dd78383615cd2565b60208301905092915050565b6000602082019050919050565b6000615dfb82615d9f565b615e058185615daa565b9350615e1083615dbb565b8060005b83811015615e41578151615e288882615dcb565b9750615e3383615de3565b925050600181019050615e14565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b615e83816155e5565b82525050565b6000615e958383615e7a565b60208301905092915050565b6000602082019050919050565b6000615eb982615e4e565b615ec38185615e59565b9350615ece83615e6a565b8060005b83811015615eff578151615ee68882615e89565b9750615ef183615ea1565b925050600181019050615ed2565b5085935050505092915050565b600060e083016000830151615f246000860182615cd2565b506020830151615f376020860182615ce1565b5060408301518482036040860152615f4f8282615d41565b91505060608301518482036060860152615f698282615df0565b91505060808301518482036080860152615f838282615df0565b91505060a083015184820360a0860152615f9d8282615eae565b91505060c0830151615fb260c0860182615cd2565b508091505092915050565b60006020820190508181036000830152615fd78184615f0c565b905092915050565b60008060408385031215615ff657615ff5615520565b5b600061600485828601615c39565b925050602061601585828601615727565b9150509250929050565b600080600080600060a0868803121561603b5761603a615520565b5b60006160498882890161590f565b955050602086013567ffffffffffffffff81111561606a57616069615525565b5b616076888289016157a5565b945050604086013567ffffffffffffffff81111561609757616096615525565b5b6160a38882890161598d565b935050606086013567ffffffffffffffff8111156160c4576160c3615525565b5b6160d08882890161598d565b925050608086013567ffffffffffffffff8111156160f1576160f0615525565b5b6160fd88828901615894565b9150509295509295909350565b6000806000806080858703121561612457616123615520565b5b600061613287828801615727565b945050602061614387828801615816565b93505060406161548782880161590f565b92505060606161658782880161590f565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b60005b838110156161ab578082015181840152602081019050616190565b838111156161ba576000848401525b50505050565b60006161cb82616171565b6161d5818561617c565b93506161e581856020860161618d565b6161ee81615621565b840191505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61622e816155af565b82525050565b60006162408383616225565b60208301905092915050565b6000602082019050919050565b6000616264826161f9565b61626e8185616204565b935061627983616215565b8060005b838110156162aa5781516162918882616234565b975061629c8361624c565b92505060018101905061627d565b5085935050505092915050565b6000610120830160008301516162d06000860182615ce1565b5060208301516162e36020860182615ce1565b50604083015184820360408601526162fb82826161c0565b915050606083015184820360608601526163158282615d41565b9150506080830151848203608086015261632f8282615df0565b91505060a083015184820360a08601526163498282615df0565b91505060c083015184820360c08601526163638282615eae565b91505060e083015184820360e086015261637d8282616259565b9150506101008301518482036101008601526163998282615df0565b9150508091505092915050565b600060208201905081810360008301526163c081846162b7565b905092915050565b600080fd5b600067ffffffffffffffff8211156163e8576163e7615632565b5b6163f182615621565b9050602081019050919050565b82818337600083830152505050565b600061642061641b846163cd565b615692565b90508281526020810184848401111561643c5761643b6163c8565b5b6164478482856163fe565b509392505050565b600082601f8301126164645761646361561c565b5b813561647484826020860161640d565b91505092915050565b600080600080600080600060e0888a03121561649c5761649b615520565b5b60006164aa8a828b01615727565b975050602088013567ffffffffffffffff8111156164cb576164ca615525565b5b6164d78a828b0161644f565b965050604088013567ffffffffffffffff8111156164f8576164f7615525565b5b6165048a828b016157a5565b955050606088013567ffffffffffffffff81111561652557616524615525565b5b6165318a828b0161598d565b945050608088013567ffffffffffffffff81111561655257616551615525565b5b61655e8a828b0161598d565b93505060a088013567ffffffffffffffff81111561657f5761657e615525565b5b61658b8a828b01615894565b92505060c088013567ffffffffffffffff8111156165ac576165ab615525565b5b6165b88a828b01615a7c565b91505092959891949750929550565b6080820160008201516165dd6000850182615ce1565b5060208201516165f06020850182615e7a565b5060408201516166036040850182615cd2565b5060608201516166166060850182615cd2565b50505050565b600060808201905061663160008301846165c7565b92915050565b6000806040838503121561664e5761664d615520565b5b600061665c85828601615727565b925050602061666d8582860161590f565b9150509250929050565b616680816156fe565b82525050565b600060808201905061669b6000830187616677565b6166a860208301866155f2565b6166b56040830185615b81565b6166c26060830184615b81565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000616734826158ee565b915061673f836158ee565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115616774576167736166fa565b5b828201905092915050565b600061678a826158ee565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156167bd576167bc6166fa565b5b600182019050919050565b600082825260208201905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061680f601f836167c8565b915061681a826167d9565b602082019050919050565b6000602082019050818103600083015261683e81616802565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006168a1602f836167c8565b91506168ac82616845565b604082019050919050565b600060208201905081810360008301526168d081616894565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061690d6010836167c8565b9150616918826168d7565b602082019050919050565b6000602082019050818103600083015261693c81616900565b9050919050565b7f50697870726573733a20696e73756666696369656e7420737761702066656500600082015250565b6000616979601f836167c8565b915061698482616943565b602082019050919050565b600060208201905081810360008301526169a88161696c565b9050919050565b7f41737365744d616e616765723a20617373657420616c7265616479206578697360008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b6000616a0b6021836167c8565b9150616a16826169af565b604082019050919050565b60006020820190508181036000830152616a3a816169fe565b9050919050565b60008160001c9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000616a81616a7c83616a41565b616a4e565b9050919050565b60008160a01c9050919050565b600060ff82169050919050565b6000616ab5616ab083616a88565b616a95565b9050919050565b6000819050919050565b6000616ad9616ad483616a41565b616abc565b9050919050565b608082016000808301549050616af581616a6e565b616b026000860182615ce1565b50616b0c81616aa2565b616b196020860182615e7a565b5060018301549050616b2a81616ac6565b616b376040860182615cd2565b5060028301549050616b4881616ac6565b616b556060860182615cd2565b5050505050565b6000608082019050616b716000830184616ae0565b92915050565b7f417373657420537761707065723a20696e76616c69642070726f706f73657200600082015250565b6000616bad601f836167c8565b9150616bb882616b77565b602082019050919050565b60006020820190508181036000830152616bdc81616ba0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680616c2a57607f821691505b60208210811415616c3e57616c3d616be3565b5b50919050565b60008190508160005260206000209050919050565b60008154616c6681616c12565b616c70818661617c565b94506001821660008114616c8b5760018114616c9d57616cd0565b60ff1983168652602086019350616cd0565b616ca685616c44565b60005b83811015616cc857815481890152600182019150602081019050616ca9565b808801955050505b50505092915050565b600081549050919050565b60008190508160005260206000209050919050565b6000616d058254616a6e565b9050919050565b6000600182019050919050565b6000616d2482616cd9565b616d2e8185615cfb565b9350616d3983616ce4565b8060005b83811015616d7157616d4e82616cf9565b616d588882615d1c565b9750616d6383616d0c565b925050600181019050616d3d565b5085935050505092915050565b600081549050919050565b60008190508160005260206000209050919050565b6000616daa8254616ac6565b9050919050565b6000600182019050919050565b6000616dc982616d7e565b616dd38185615daa565b9350616dde83616d89565b8060005b83811015616e1657616df382616d9e565b616dfd8882615dcb565b9750616e0883616db1565b925050600181019050616de2565b5085935050505092915050565b600081549050919050565b60008190508160005260206000209050919050565b6000616e56616e5183616a41565b616a95565b9050919050565b60008160081c9050919050565b6000616e7d616e7883616e5d565b616a95565b9050919050565b60008160101c9050919050565b6000616ea4616e9f83616e84565b616a95565b9050919050565b60008160181c9050919050565b6000616ecb616ec683616eab565b616a95565b9050919050565b60008160201c9050919050565b6000616ef2616eed83616ed2565b616a95565b9050919050565b60008160281c9050919050565b6000616f19616f1483616ef9565b616a95565b9050919050565b60008160301c9050919050565b6000616f40616f3b83616f20565b616a95565b9050919050565b60008160381c9050919050565b6000616f67616f6283616f47565b616a95565b9050919050565b60008160401c9050919050565b6000616f8e616f8983616f6e565b616a95565b9050919050565b60008160481c9050919050565b6000616fb5616fb083616f95565b616a95565b9050919050565b60008160501c9050919050565b6000616fdc616fd783616fbc565b616a95565b9050919050565b60008160581c9050919050565b6000617003616ffe83616fe3565b616a95565b9050919050565b60008160601c9050919050565b600061702a6170258361700a565b616a95565b9050919050565b60008160681c9050919050565b600061705161704c83617031565b616a95565b9050919050565b60008160701c9050919050565b600061707861707383617058565b616a95565b9050919050565b60008160781c9050919050565b600061709f61709a8361707f565b616a95565b9050919050565b60008160801c9050919050565b60006170c66170c1836170a6565b616a95565b9050919050565b60008160881c9050919050565b60006170ed6170e8836170cd565b616a95565b9050919050565b60008160901c9050919050565b600061711461710f836170f4565b616a95565b9050919050565b60008160981c9050919050565b600061713b6171368361711b565b616a95565b9050919050565b60008160a81c9050919050565b600061716261715d83617142565b616a95565b9050919050565b60008160b01c9050919050565b600061718961718483617169565b616a95565b9050919050565b60008160b81c9050919050565b60006171b06171ab83617190565b616a95565b9050919050565b60008160c01c9050919050565b60006171d76171d2836171b7565b616a95565b9050919050565b60008160c81c9050919050565b60006171fe6171f9836171de565b616a95565b9050919050565b60008160d01c9050919050565b600061722561722083617205565b616a95565b9050919050565b60008160d81c9050919050565b600061724c6172478361722c565b616a95565b9050919050565b60008160e01c9050919050565b600061727361726e83617253565b616a95565b9050919050565b60008160e81c9050919050565b600061729a6172958361727a565b616a95565b9050919050565b60008160f01c9050919050565b60006172c16172bc836172a1565b616a95565b9050919050565b60008160f81c9050919050565b60006172e86172e3836172c8565b616a95565b9050919050565b60006172fa82616e23565b6173048185615e59565b93508361731084616e2e565b600060011561763d575b8360016020038201101561763c57815461733c8861733783616e43565b615e7a565b6020880197506173548861734f83616e6a565b615e7a565b60208801975061736c8861736783616e91565b615e7a565b6020880197506173848861737f83616eb8565b615e7a565b60208801975061739c8861739783616edf565b615e7a565b6020880197506173b4886173af83616f06565b615e7a565b6020880197506173cc886173c783616f2d565b615e7a565b6020880197506173e4886173df83616f54565b615e7a565b6020880197506173fc886173f783616f7b565b615e7a565b6020880197506174148861740f83616fa2565b615e7a565b60208801975061742c8861742783616fc9565b615e7a565b6020880197506174448861743f83616ff0565b615e7a565b60208801975061745c8861745783617017565b615e7a565b6020880197506174748861746f8361703e565b615e7a565b60208801975061748c8861748783617065565b615e7a565b6020880197506174a48861749f8361708c565b615e7a565b6020880197506174bc886174b7836170b3565b615e7a565b6020880197506174d4886174cf836170da565b615e7a565b6020880197506174ec886174e783617101565b615e7a565b602088019750617504886174ff83617128565b615e7a565b60208801975061751c8861751783616aa2565b615e7a565b6020880197506175348861752f8361714f565b615e7a565b60208801975061754c8861754783617176565b615e7a565b6020880197506175648861755f8361719d565b615e7a565b60208801975061757c88617577836171c4565b615e7a565b6020880197506175948861758f836171eb565b615e7a565b6020880197506175ac886175a783617212565b615e7a565b6020880197506175c4886175bf83617239565b615e7a565b6020880197506175dc886175d783617260565b615e7a565b6020880197506175f4886175ef83617287565b615e7a565b60208801975061760c88617607836172ae565b615e7a565b6020880197506176248861761f836172d5565b615e7a565b6020880197506001830192505060208101905061731a565b5b600115617b285781548482101561766d576176608861765b83616e43565b615e7a565b6020880197506001820191505b84821015617694576176878861768283616e6a565b615e7a565b6020880197506001820191505b848210156176bb576176ae886176a983616e91565b615e7a565b6020880197506001820191505b848210156176e2576176d5886176d083616eb8565b615e7a565b6020880197506001820191505b84821015617709576176fc886176f783616edf565b615e7a565b6020880197506001820191505b84821015617730576177238861771e83616f06565b615e7a565b6020880197506001820191505b848210156177575761774a8861774583616f2d565b615e7a565b6020880197506001820191505b8482101561777e576177718861776c83616f54565b615e7a565b6020880197506001820191505b848210156177a5576177988861779383616f7b565b615e7a565b6020880197506001820191505b848210156177cc576177bf886177ba83616fa2565b615e7a565b6020880197506001820191505b848210156177f3576177e6886177e183616fc9565b615e7a565b6020880197506001820191505b8482101561781a5761780d8861780883616ff0565b615e7a565b6020880197506001820191505b84821015617841576178348861782f83617017565b615e7a565b6020880197506001820191505b848210156178685761785b886178568361703e565b615e7a565b6020880197506001820191505b8482101561788f576178828861787d83617065565b615e7a565b6020880197506001820191505b848210156178b6576178a9886178a48361708c565b615e7a565b6020880197506001820191505b848210156178dd576178d0886178cb836170b3565b615e7a565b6020880197506001820191505b84821015617904576178f7886178f2836170da565b615e7a565b6020880197506001820191505b8482101561792b5761791e8861791983617101565b615e7a565b6020880197506001820191505b84821015617952576179458861794083617128565b615e7a565b6020880197506001820191505b848210156179795761796c8861796783616aa2565b615e7a565b6020880197506001820191505b848210156179a0576179938861798e8361714f565b615e7a565b6020880197506001820191505b848210156179c7576179ba886179b583617176565b615e7a565b6020880197506001820191505b848210156179ee576179e1886179dc8361719d565b615e7a565b6020880197506001820191505b84821015617a1557617a0888617a03836171c4565b615e7a565b6020880197506001820191505b84821015617a3c57617a2f88617a2a836171eb565b615e7a565b6020880197506001820191505b84821015617a6357617a5688617a5183617212565b615e7a565b6020880197506001820191505b84821015617a8a57617a7d88617a7883617239565b615e7a565b6020880197506001820191505b84821015617ab157617aa488617a9f83617260565b615e7a565b6020880197506001820191505b84821015617ad857617acb88617ac683617287565b615e7a565b6020880197506001820191505b84821015617aff57617af288617aed836172ae565b615e7a565b6020880197506001820191505b84821015617b2657617b1988617b14836172d5565b615e7a565b6020880197506001820191505b505b8694505050505092915050565b600081549050919050565b60008190508160005260206000209050919050565b600060ff82169050919050565b6000617b75617b7083616a41565b617b55565b9050919050565b6000617b8f617b8a83616e5d565b617b55565b9050919050565b6000617ba9617ba483616e84565b617b55565b9050919050565b6000617bc3617bbe83616eab565b617b55565b9050919050565b6000617bdd617bd883616ed2565b617b55565b9050919050565b6000617bf7617bf283616ef9565b617b55565b9050919050565b6000617c11617c0c83616f20565b617b55565b9050919050565b6000617c2b617c2683616f47565b617b55565b9050919050565b6000617c45617c4083616f6e565b617b55565b9050919050565b6000617c5f617c5a83616f95565b617b55565b9050919050565b6000617c79617c7483616fbc565b617b55565b9050919050565b6000617c93617c8e83616fe3565b617b55565b9050919050565b6000617cad617ca88361700a565b617b55565b9050919050565b6000617cc7617cc283617031565b617b55565b9050919050565b6000617ce1617cdc83617058565b617b55565b9050919050565b6000617cfb617cf68361707f565b617b55565b9050919050565b6000617d15617d10836170a6565b617b55565b9050919050565b6000617d2f617d2a836170cd565b617b55565b9050919050565b6000617d49617d44836170f4565b617b55565b9050919050565b6000617d63617d5e8361711b565b617b55565b9050919050565b6000617d7d617d7883616a88565b617b55565b9050919050565b6000617d97617d9283617142565b617b55565b9050919050565b6000617db1617dac83617169565b617b55565b9050919050565b6000617dcb617dc683617190565b617b55565b9050919050565b6000617de5617de0836171b7565b617b55565b9050919050565b6000617dff617dfa836171de565b617b55565b9050919050565b6000617e19617e1483617205565b617b55565b9050919050565b6000617e33617e2e8361722c565b617b55565b9050919050565b6000617e4d617e4883617253565b617b55565b9050919050565b6000617e67617e628361727a565b617b55565b9050919050565b6000617e81617e7c836172a1565b617b55565b9050919050565b6000617e9b617e96836172c8565b617b55565b9050919050565b6000617ead82617b35565b617eb78185616204565b935083617ec384617b40565b60006001156181f0575b836001602003820110156181ef578154617eef88617eea83617b62565b616225565b602088019750617f0788617f0283617b7c565b616225565b602088019750617f1f88617f1a83617b96565b616225565b602088019750617f3788617f3283617bb0565b616225565b602088019750617f4f88617f4a83617bca565b616225565b602088019750617f6788617f6283617be4565b616225565b602088019750617f7f88617f7a83617bfe565b616225565b602088019750617f9788617f9283617c18565b616225565b602088019750617faf88617faa83617c32565b616225565b602088019750617fc788617fc283617c4c565b616225565b602088019750617fdf88617fda83617c66565b616225565b602088019750617ff788617ff283617c80565b616225565b60208801975061800f8861800a83617c9a565b616225565b6020880197506180278861802283617cb4565b616225565b60208801975061803f8861803a83617cce565b616225565b6020880197506180578861805283617ce8565b616225565b60208801975061806f8861806a83617d02565b616225565b6020880197506180878861808283617d1c565b616225565b60208801975061809f8861809a83617d36565b616225565b6020880197506180b7886180b283617d50565b616225565b6020880197506180cf886180ca83617d6a565b616225565b6020880197506180e7886180e283617d84565b616225565b6020880197506180ff886180fa83617d9e565b616225565b6020880197506181178861811283617db8565b616225565b60208801975061812f8861812a83617dd2565b616225565b6020880197506181478861814283617dec565b616225565b60208801975061815f8861815a83617e06565b616225565b6020880197506181778861817283617e20565b616225565b60208801975061818f8861818a83617e3a565b616225565b6020880197506181a7886181a283617e54565b616225565b6020880197506181bf886181ba83617e6e565b616225565b6020880197506181d7886181d283617e88565b616225565b60208801975060018301925050602081019050617ecd565b5b6001156186db57815484821015618220576182138861820e83617b62565b616225565b6020880197506001820191505b848210156182475761823a8861823583617b7c565b616225565b6020880197506001820191505b8482101561826e576182618861825c83617b96565b616225565b6020880197506001820191505b84821015618295576182888861828383617bb0565b616225565b6020880197506001820191505b848210156182bc576182af886182aa83617bca565b616225565b6020880197506001820191505b848210156182e3576182d6886182d183617be4565b616225565b6020880197506001820191505b8482101561830a576182fd886182f883617bfe565b616225565b6020880197506001820191505b84821015618331576183248861831f83617c18565b616225565b6020880197506001820191505b848210156183585761834b8861834683617c32565b616225565b6020880197506001820191505b8482101561837f576183728861836d83617c4c565b616225565b6020880197506001820191505b848210156183a6576183998861839483617c66565b616225565b6020880197506001820191505b848210156183cd576183c0886183bb83617c80565b616225565b6020880197506001820191505b848210156183f4576183e7886183e283617c9a565b616225565b6020880197506001820191505b8482101561841b5761840e8861840983617cb4565b616225565b6020880197506001820191505b84821015618442576184358861843083617cce565b616225565b6020880197506001820191505b848210156184695761845c8861845783617ce8565b616225565b6020880197506001820191505b84821015618490576184838861847e83617d02565b616225565b6020880197506001820191505b848210156184b7576184aa886184a583617d1c565b616225565b6020880197506001820191505b848210156184de576184d1886184cc83617d36565b616225565b6020880197506001820191505b84821015618505576184f8886184f383617d50565b616225565b6020880197506001820191505b8482101561852c5761851f8861851a83617d6a565b616225565b6020880197506001820191505b84821015618553576185468861854183617d84565b616225565b6020880197506001820191505b8482101561857a5761856d8861856883617d9e565b616225565b6020880197506001820191505b848210156185a1576185948861858f83617db8565b616225565b6020880197506001820191505b848210156185c8576185bb886185b683617dd2565b616225565b6020880197506001820191505b848210156185ef576185e2886185dd83617dec565b616225565b6020880197506001820191505b84821015618616576186098861860483617e06565b616225565b6020880197506001820191505b8482101561863d576186308861862b83617e20565b616225565b6020880197506001820191505b84821015618664576186578861865283617e3a565b616225565b6020880197506001820191505b8482101561868b5761867e8861867983617e54565b616225565b6020880197506001820191505b848210156186b2576186a5886186a083617e6e565b616225565b6020880197506001820191505b848210156186d9576186cc886186c783617e88565b616225565b6020880197506001820191505b505b8694505050505092915050565b60006101208301600080840154905061870081616a6e565b61870d6000870182615ce1565b506001840154905061871e81616a6e565b61872b6020870182615ce1565b506002840185830360408701526187428382616c59565b92505060038401858303606087015261875b8382616d19565b9250506004840185830360808701526187748382616dbe565b9250506005840185830360a087015261878d8382616dbe565b9250506006840185830360c08701526187a683826172ef565b9250506007840185830360e08701526187bf8382617ea2565b925050600884018583036101008701526187d98382616dbe565b925050819250505092915050565b6000602082019050818103600083015261880181846186e8565b905092915050565b7f417373657420537761707065723a20696e76616c6964206d6174636865720000600082015250565b600061883f601e836167c8565b915061884a82618809565b602082019050919050565b6000602082019050818103600083015261886e81618832565b9050919050565b600060e08301600080840154905061888c81616ac6565b6188996000870182615cd2565b50600184015490506188aa81616a6e565b6188b76020870182615ce1565b506002840185830360408701526188ce8382616d19565b9250506003840185830360608701526188e78382616dbe565b9250506004840185830360808701526189008382616dbe565b9250506005840185830360a087015261891983826172ef565b9250506006840154905061892c81616ac6565b61893960c0870182615cd2565b50819250505092915050565b6000602082019050818103600083015261895f8184618875565b905092915050565b7f41737365744d616e616765723a20617373657420646f6573206e6f742065786960008201527f7374000000000000000000000000000000000000000000000000000000000000602082015250565b60006189c36022836167c8565b91506189ce82618967565b604082019050919050565b600060208201905081810360008301526189f2816189b6565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000618a3a6017836189f9565b9150618a4582618a04565b601782019050919050565b6000618a5b82616171565b618a6581856189f9565b9350618a7581856020860161618d565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000618ab76011836189f9565b9150618ac282618a81565b601182019050919050565b6000618ad882618a2d565b9150618ae48285618a50565b9150618aef82618aaa565b9150618afb8284618a50565b91508190509392505050565b6000618b1282616171565b618b1c81856167c8565b9350618b2c81856020860161618d565b618b3581615621565b840191505092915050565b60006020820190508181036000830152618b5a8184618b07565b905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000618b986014836167c8565b9150618ba382618b62565b602082019050919050565b60006020820190508181036000830152618bc781618b8b565b9050919050565b6000602082019050618be36000830184616677565b92915050565b6000618bf4826158ee565b9150618bff836158ee565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615618c3857618c376166fa565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000618c7d826158ee565b9150618c88836158ee565b925082618c9857618c97618c43565b5b828204905092915050565b7f417373657420537761707065723a20696e76616c6964206d6174636820696400600082015250565b6000618cd9601f836167c8565b9150618ce482618ca3565b602082019050919050565b60006020820190508181036000830152618d0881618ccc565b9050919050565b7f417373657420537761707065723a2070726f706f73657220617373657473206960008201527f6e76616c69640000000000000000000000000000000000000000000000000000602082015250565b6000618d6b6026836167c8565b9150618d7682618d0f565b604082019050919050565b60006020820190508181036000830152618d9a81618d5e565b9050919050565b7f417373657420537761707065723a206d6174636865722061737365747320696e60008201527f76616c6964000000000000000000000000000000000000000000000000000000602082015250565b6000618dfd6025836167c8565b9150618e0882618da1565b604082019050919050565b60006020820190508181036000830152618e2c81618df0565b9050919050565b600081519050618e42816158f8565b92915050565b600060208284031215618e5e57618e5d615520565b5b6000618e6c84828501618e33565b91505092915050565b6000604082019050618e8a6000830185616677565b618e976020830184615b81565b9392505050565b7f41737365737420537761707065723a20616d6f756e74207265636f726420736960008201527f7a6520646f6573206e6f74206d61746368000000000000000000000000000000602082015250565b6000618efa6031836167c8565b9150618f0582618e9e565b604082019050919050565b60006020820190508181036000830152618f2981618eed565b9050919050565b7f41737365737420537761707065723a206964207265636f72642073697a65206460008201527f6f6573206e6f74206d6174636800000000000000000000000000000000000000602082015250565b6000618f8c602d836167c8565b9150618f9782618f30565b604082019050919050565b60006020820190508181036000830152618fbb81618f7f565b9050919050565b7f41737365737420537761707065723a2070726f746f636f6c207265636f72642060008201527f73697a6520646f6573206e6f74206d6174636800000000000000000000000000602082015250565b600061901e6033836167c8565b915061902982618fc2565b604082019050919050565b6000602082019050818103600083015261904d81619011565b9050919050565b7f41737365737420537761707065723a20726563656976657220646f6573206e6f60008201527f74206d6174636800000000000000000000000000000000000000000000000000602082015250565b60006190b06027836167c8565b91506190bb82619054565b604082019050919050565b600060208201905081810360008301526190df816190a3565b9050919050565b60006190f1826158ee565b91506190fc836158ee565b92508282101561910f5761910e6166fa565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f417373657420537761707065723a20616d6f756e74207265636f72642073697a60008201527f6520646f6573206e6f74206d6174636800000000000000000000000000000000602082015250565b60006191a56030836167c8565b91506191b082619149565b604082019050919050565b600060208201905081810360008301526191d481619198565b9050919050565b7f417373657420537761707065723a206964207265636f72642073697a6520646f60008201527f6573206e6f74206d617463680000000000000000000000000000000000000000602082015250565b6000619237602c836167c8565b9150619242826191db565b604082019050919050565b600060208201905081810360008301526192668161922a565b9050919050565b7f417373657420537761707065723a2070726f746f636f6c207265636f7264207360008201527f697a6520646f6573206e6f74206d617463680000000000000000000000000000602082015250565b60006192c96032836167c8565b91506192d48261926d565b604082019050919050565b600060208201905081810360008301526192f8816192bc565b9050919050565b7f417373657420537761707065723a2077616e746564207265636f72642073697a60008201527f6520646f6573206e6f74206d6174636800000000000000000000000000000000602082015250565b600061935b6030836167c8565b9150619366826192ff565b604082019050919050565b6000602082019050818103600083015261938a8161934e565b9050919050565b600061939c826158ee565b915060008214156193b0576193af6166fa565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006193f16020836167c8565b91506193fc826193bb565b602082019050919050565b60006020820190508181036000830152619420816193e4565b9050919050565b7f417373657420537761707065723a20736f6d652070726f706f7365722061737360008201527f65747320617265206e6f7420617070726f766564000000000000000000000000602082015250565b60006194836034836167c8565b915061948e82619427565b604082019050919050565b600060208201905081810360008301526194b281619476565b9050919050565b7f417373657420537761707065723a20736f6d652070726f706f7365722061737360008201527f65747320617265206e6f7420696e2073746f636b000000000000000000000000602082015250565b60006195156034836167c8565b9150619520826194b9565b604082019050919050565b6000602082019050818103600083015261954481619508565b9050919050565b7f417373657420537761707065723a20736f6d65206d617463686572206173736560008201527f747320617265206e6f7420617070726f76656400000000000000000000000000602082015250565b60006195a76033836167c8565b91506195b28261954b565b604082019050919050565b600060208201905081810360008301526195d68161959a565b9050919050565b7f417373657420537761707065723a20736f6d65206d617463686572206173736560008201527f747320617265206e6f7420696e2073746f636b00000000000000000000000000602082015250565b60006196396033836167c8565b9150619644826195dd565b604082019050919050565b600060208201905081810360008301526196688161962c565b9050919050565b60006060820190506196846000830186616677565b6196916020830185616677565b61969e6040830184615b81565b949350505050565b600082825260208201905092915050565b50565b60006196c76000836196a6565b91506196d2826196b7565b600082019050919050565b600060a0820190506196f26000830187616677565b6196ff6020830186616677565b61970c6040830185615b81565b6197196060830184615b81565b818103608083015261972a816196ba565b905095945050505050565b7f417373657420537761707065723a2063616e6e6f74207377617020756e73757060008201527f706f7274656420746f6b656e2070726f746f636f6c0000000000000000000000602082015250565b60006197916035836167c8565b915061979c82619735565b604082019050919050565b600060208201905081810360008301526197c081619784565b9050919050565b60006040820190506197dc6000830185616677565b6197e96020830184616677565b9392505050565b7f417373657420537761707065723a20696e73756666696369656e7420746f6b6560008201527f6e20616c6c6f77616e6365000000000000000000000000000000000000000000602082015250565b600061984c602b836167c8565b9150619857826197f0565b604082019050919050565b6000602082019050818103600083015261987b8161983f565b9050919050565b60008151905061989181615710565b92915050565b6000602082840312156198ad576198ac615520565b5b60006198bb84828501619882565b91505092915050565b6000815190506198d3816159e7565b92915050565b6000602082840312156198ef576198ee615520565b5b60006198fd848285016198c4565b91505092915050565b7f417373657420537761707065723a2045524337323120746f6b656e206e6f742060008201527f617070726f766564200000000000000000000000000000000000000000000000602082015250565b60006199626029836167c8565b915061996d82619906565b604082019050919050565b6000602082019050818103600083015261999181619955565b9050919050565b7f417373657420537761707065723a204552433131353520746f6b656e206e6f7460008201527f20617070726f7665642000000000000000000000000000000000000000000000602082015250565b60006199f4602a836167c8565b91506199ff82619998565b604082019050919050565b60006020820190508181036000830152619a23816199e7565b9050919050565b7f417373657420537761707065723a20756e737570706f7274656420746f6b656e60008201527f2070726f746f636f6c0000000000000000000000000000000000000000000000602082015250565b6000619a866029836167c8565b9150619a9182619a2a565b604082019050919050565b60006020820190508181036000830152619ab581619a79565b9050919050565b7f417373657420537761707065723a20455243323020696e73756666696369656e60008201527f7420746f6b656e2062616c616e63650000000000000000000000000000000000602082015250565b6000619b18602f836167c8565b9150619b2382619abc565b604082019050919050565b60006020820190508181036000830152619b4781619b0b565b9050919050565b7f417373657420537761707065723a2045524337323120696e737566666963696560008201527f6e7420746f6b656e2062616c616e636500000000000000000000000000000000602082015250565b6000619baa6030836167c8565b9150619bb582619b4e565b604082019050919050565b60006020820190508181036000830152619bd981619b9d565b9050919050565b7f417373657420537761707065723a204552433131353520696e7375666669636960008201527f656e7420746f6b656e2062616c616e6365000000000000000000000000000000602082015250565b6000619c3c6031836167c8565b9150619c4782619be0565b604082019050919050565b60006020820190508181036000830152619c6b81619c2f565b9050919050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000619cce602a836167c8565b9150619cd982619c72565b604082019050919050565b60006020820190508181036000830152619cfd81619cc1565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000619d606026836167c8565b9150619d6b82619d04565b604082019050919050565b60006020820190508181036000830152619d8f81619d53565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000619dcc601d836167c8565b9150619dd782619d96565b602082019050919050565b60006020820190508181036000830152619dfb81619dbf565b9050919050565b600081519050919050565b600081905092915050565b6000619e2382619e02565b619e2d8185619e0d565b9350619e3d81856020860161618d565b80840191505092915050565b6000619e558284619e18565b91508190509291505056fea2646970667358221220f02941bef6d86d74fe5f81990fd947476ec0990562a239b975e35163fabe782864736f6c634300080c00330000000000000000000000006189901e29c36b411274b81cc20891f65fc37a44000000000000000000000000f12bae32fa1511ef1b87a0f51d3d54eb48e38180

Deployed ByteCode

0x60806040526004361061021a5760003560e01c80637a5b0231116101235780639c4667a2116100ab578063cd7e22711161006f578063cd7e22711461079f578063d1d5a071146107c8578063d547741f146107f1578063ef0aa2181461081a578063f11b8188146108435761021a565b80639c4667a2146106bc578063a217fddf146106f9578063a6d6699214610724578063a73757011461074d578063c284f02c146107765761021a565b806384777171116100f257806384777171146105e45780638ca11c741461060d57806391d1485414610638578063961e975a146106755780639991d3bf146106a05761021a565b80637a5b02311461053a5780637d09820014610577578063807f68d2146105a25780638456cb59146105cd5761021a565b806336568abe116101a6578063558675d611610175578063558675d614610478578063576053d6146104945780635c975abb146104bd5780636c149d58146104e857806377f2fcbc146105115761021a565b806336568abe146103d05780633b2bcbf1146103f95780634a5e42b1146104245780634b7b9ad01461044d5761021a565b80631cfa8295116101ed5780631cfa8295146102db578063230c5a2514610304578063248a9ca31461032d578063262597251461036a5780632f2ff15d146103a75761021a565b806301ffc9a71461021f57806302de00e81461025c578063046f7da21461028757806319430e371461029e575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190615582565b610883565b60405161025391906155ca565b60405180910390f35b34801561026857600080fd5b506102716108fd565b60405161027e9190615601565b60405180910390f35b34801561029357600080fd5b5061029c610902565b005b3480156102aa57600080fd5b506102c560048036038101906102c09190615aaa565b61093f565b6040516102d29190615b90565b60405180910390f35b3480156102e757600080fd5b5061030260048036038101906102fd9190615bab565b610a00565b005b34801561031057600080fd5b5061032b60048036038101906103269190615beb565b610b17565b005b34801561033957600080fd5b50610354600480360381019061034f9190615c4e565b610b8e565b6040516103619190615c8a565b60405180910390f35b34801561037657600080fd5b50610391600480360381019061038c9190615ca5565b610bad565b60405161039e9190615fbd565b60405180910390f35b3480156103b357600080fd5b506103ce60048036038101906103c99190615fdf565b610e00565b005b3480156103dc57600080fd5b506103f760048036038101906103f29190615fdf565b610e29565b005b34801561040557600080fd5b5061040e610eac565b60405161041b9190615c8a565b60405180910390f35b34801561043057600080fd5b5061044b60048036038101906104469190615beb565b610ed0565b005b34801561045957600080fd5b50610462610fd6565b60405161046f9190615601565b60405180910390f35b610492600480360381019061048d919061601f565b610fdb565b005b3480156104a057600080fd5b506104bb60048036038101906104b6919061610a565b61117f565b005b3480156104c957600080fd5b506104d261140d565b6040516104df91906155ca565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a9190615ca5565b611424565b005b34801561051d57600080fd5b5061053860048036038101906105339190615ca5565b6115bb565b005b34801561054657600080fd5b50610561600480360381019061055c9190615ca5565b611773565b60405161056e91906163a6565b60405180910390f35b34801561058357600080fd5b5061058c611b70565b6040516105999190615b90565b60405180910390f35b3480156105ae57600080fd5b506105b7611b7a565b6040516105c49190615b90565b60405180910390f35b3480156105d957600080fd5b506105e2611b84565b005b3480156105f057600080fd5b5061060b6004803603810190610606919061601f565b611bc1565b005b34801561061957600080fd5b50610622611c7b565b60405161062f9190615601565b60405180910390f35b34801561064457600080fd5b5061065f600480360381019061065a9190615fdf565b611c80565b60405161066c91906155ca565b60405180910390f35b34801561068157600080fd5b5061068a611cea565b6040516106979190615b90565b60405180910390f35b6106ba60048036038101906106b5919061647d565b611cf1565b005b3480156106c857600080fd5b506106e360048036038101906106de9190615beb565b611e03565b6040516106f0919061661c565b60405180910390f35b34801561070557600080fd5b5061070e611ee3565b60405161071b9190615c8a565b60405180910390f35b34801561073057600080fd5b5061074b60048036038101906107469190615beb565b611eea565b005b34801561075957600080fd5b50610774600480360381019061076f9190615ca5565b611f61565b005b34801561078257600080fd5b5061079d60048036038101906107989190615ca5565b611fd5565b005b3480156107ab57600080fd5b506107c660048036038101906107c19190616637565b612049565b005b3480156107d457600080fd5b506107ef60048036038101906107ea9190616637565b6121e7565b005b3480156107fd57600080fd5b5061081860048036038101906108139190615fdf565b612385565b005b34801561082657600080fd5b50610841600480360381019061083c919061647d565b6123ae565b005b34801561084f57600080fd5b5061086a60048036038101906108659190615beb565b61246c565b60405161087a9493929190616686565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108f657506108f5826124c9565b5b9050919050565b600281565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996109348161092f612533565b61253b565b61093c6125d8565b50565b6000806000905060005b86518110156109f35760001515848281518110610969576109686166cb565b5b6020026020010151151514156109e0576109d287828151811061098f5761098e6166cb565b5b60200260200101518783815181106109aa576109a96166cb565b5b60200260200101518784815181106109c5576109c46166cb565b5b602002602001015161267a565b826109dd9190616729565b91505b80806109eb9061677f565b915050610949565b5080915050949350505050565b60026001541415610a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3d90616825565b60405180910390fd5b6002600181905550610a588282612883565b610b0360405180604001604052803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016009600085815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250612cf7565b610b0c82612e6c565b600180819055505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610b4981610b44612533565b61253b565b81600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000806000838152602001908152602001600020600101549050919050565b610bb5615071565b600960008381526020019081526020016000206040518060e0016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201805480602002602001604051908101604052809291908181526020018280548015610cb857602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610c6e575b5050505050815260200160038201805480602002602001604051908101604052809291908181526020018280548015610d1057602002820191906000526020600020905b815481526020019060010190808311610cfc575b5050505050815260200160048201805480602002602001604051908101604052809291908181526020018280548015610d6857602002820191906000526020600020905b815481526020019060010190808311610d54575b5050505050815260200160058201805480602002602001604051908101604052809291908181526020018280548015610de657602002820191906000526020600020906000905b82829054906101000a900460ff1660ff1681526020019060010190602082600001049283019260010382029150808411610daf5790505b505050505081526020016006820154815250509050919050565b610e0982610b8e565b610e1a81610e15612533565b61253b565b610e248383612faa565b505050565b610e31612533565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e95906168b7565b60405180910390fd5b610ea8828261308a565b5050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19981565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610f0281610efd612533565b61253b565b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549060ff02191690556001820160009055600282016000905550508173ffffffffffffffffffffffffffffffffffffffff167f37803e2125c48ee96c38ddf04e826daf335b0e1603579040fd275aba6d06b6fc60405160405180910390a25050565b600181565b60026001541415611021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101890616825565b60405180910390fd5b600260018190555061103161140d565b15611071576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106890616923565b60405180910390fd5b6000845167ffffffffffffffff81111561108e5761108d615632565b5b6040519080825280602002602001820160405280156110bc5781602001602082028036833780820191505090505b50905060005b81518110156111055760008282815181106110e0576110df6166cb565b5b60200260200101901515908115158152505080806110fd9061677f565b9150506110c2565b5060006111148684878561093f565b905080341015611159576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111509061698f565b60405180910390fd5b611166878787878761316b565b61116f8161353b565b5050600180819055505050505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996111b1816111ac612533565b61253b565b600073ffffffffffffffffffffffffffffffffffffffff16600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127990616a21565b60405180910390fd5b60405180608001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020018560ff16815260200184815260200183815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548160ff021916908360ff16021790555060408201518160010155606082015181600201559050508473ffffffffffffffffffffffffffffffffffffffff167ff2907ab530928e5b90d775441159d3ad184c3d3bf92dbe843026af908d61702d600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040516113fe9190616b5c565b60405180910390a25050505050565b6000600260009054906101000a900460ff16905090565b6002600154141561146a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146190616825565b60405180910390fd5b600260018190555061147a61140d565b156114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b190616923565b60405180910390fd5b6007600082815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461155e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155590616bc3565b60405180910390fd5b61156781612e6c565b807f3d864d2c1b6545daa5b7b4ad188f731b7401c1ad8e7b0aa7714e57fe4a8a02fd600760008481526020019081526020016000206040516115a991906187e7565b60405180910390a26001808190555050565b60026001541415611601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f890616825565b60405180910390fd5b600260018190555061161161140d565b15611651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164890616923565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166009600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146116f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ec90618855565b60405180910390fd5b600060096000838152602001908152602001600020905061171581613709565b61171e826137f9565b817f172e414729ca68e725ab11d0dad476faab984e1fb9118f3c0cd0bce9283abbd0600960008581526020019081526020016000206040516117609190618945565b60405180910390a2506001808190555050565b61177b6150c4565b60076000838152602001908152602001600020604051806101200160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201805461185690616c12565b80601f016020809104026020016040519081016040528092919081815260200182805461188290616c12565b80156118cf5780601f106118a4576101008083540402835291602001916118cf565b820191906000526020600020905b8154815290600101906020018083116118b257829003601f168201915b505050505081526020016003820180548060200260200160405190810160405280929190818152602001828054801561195d57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311611913575b50505050508152602001600482018054806020026020016040519081016040528092919081815260200182805480156119b557602002820191906000526020600020905b8154815260200190600101908083116119a1575b5050505050815260200160058201805480602002602001604051908101604052809291908181526020018280548015611a0d57602002820191906000526020600020905b8154815260200190600101908083116119f9575b5050505050815260200160068201805480602002602001604051908101604052809291908181526020018280548015611a8b57602002820191906000526020600020906000905b82829054906101000a900460ff1660ff1681526020019060010190602082600001049283019260010382029150808411611a545790505b5050505050815260200160078201805480602002602001604051908101604052809291908181526020018280548015611b0857602002820191906000526020600020906000905b82829054906101000a900460ff16151581526020019060010190602082600001049283019260010382029150808411611ad25790505b5050505050815260200160088201805480602002602001604051908101604052809291908181526020018280548015611b6057602002820191906000526020600020905b815481526020019060010190808311611b4c575b5050505050815250509050919050565b6000600454905090565b6000600354905090565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199611bb681611bb1612533565b61253b565b611bbe613889565b50565b60026001541415611c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfe90616825565b60405180910390fd5b6002600181905550611c1761140d565b15611c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4e90616923565b60405180910390fd5b611c603361392c565b611c6d858585858561316b565b600180819055505050505050565b600381565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b620f424081565b60026001541415611d37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2e90616825565b60405180910390fd5b6002600181905550611d4761140d565b15611d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7e90616923565b60405180910390fd5b6000611d958684878561093f565b905080341015611dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd19061698f565b60405180910390fd5b611de988888888888888613a54565b611df28161353b565b506001808190555050505050505050565b611e0b61513c565b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff1660ff1660ff168152602001600182015481526020016002820154815250509050919050565b6000801b81565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199611f1c81611f17612533565b61253b565b81600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199611f9381611f8e612533565b61253b565b816003819055507fa701c734adc954390df39cc273bd151a37445a72782f9e86c98dd19a4740149882604051611fc99190615b90565b60405180910390a15050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19961200781612002612533565b61253b565b816004819055507fad98c275fe99ef4d6c741df6bdb2851e1efffb9e71a1a68d63992a0cd8c038ed8260405161203d9190615b90565b60405180910390a15050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19961207b81612076612533565b61253b565b600073ffffffffffffffffffffffffffffffffffffffff16600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561214d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612144906189d9565b60405180910390fd5b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055508273ffffffffffffffffffffffffffffffffffffffff167f55da874da551007bd7fc7a2fb26d9323093416d2402d016c40fa042deb363ab6836040516121da9190615b90565b60405180910390a2505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19961221981612214612533565b61253b565b600073ffffffffffffffffffffffffffffffffffffffff16600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156122eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e2906189d9565b60405180910390fd5b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101819055508273ffffffffffffffffffffffffffffffffffffffff167fa7dd36139906f2738e957c249a5b90dc5e1ffeac05e1e86f53d0200343463f72836040516123789190615b90565b60405180910390a2505050565b61238e82610b8e565b61239f8161239a612533565b61253b565b6123a9838361308a565b505050565b600260015414156123f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123eb90616825565b60405180910390fd5b600260018190555061240461140d565b15612444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243b90616923565b60405180910390fd5b61244d3361392c565b61245c87878787878787613a54565b6001808190555050505050505050565b60056020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900460ff16908060010154908060020154905084565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6125458282611c80565b6125d45761256a8173ffffffffffffffffffffffffffffffffffffffff166014613df5565b6125788360001c6020613df5565b604051602001612589929190618acd565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125cb9190618b40565b60405180910390fd5b5050565b6125e061140d565b61261f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261690618bae565b60405180910390fd5b6000600260006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612663612533565b6040516126709190618bce565b60405180910390a1565b60008073ffffffffffffffffffffffffffffffffffffffff16600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561276957600160ff168360ff16141561274457620f4240600454836127339190618be9565b61273d9190618c72565b905061287c565b620f42406004546003546127589190618be9565b6127629190618c72565b905061287c565b600160ff168360ff1614156127db57620f4240600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154836127ca9190618be9565b6127d49190618c72565b905061287c565b620f4240600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015461286f9190618be9565b6128799190618c72565b90505b9392505050565b600060076000848152602001908152602001600020905060006009600084815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293a90616bc3565b60405180910390fd5b80600001548414612989576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298090618cef565b60405180910390fd5b61299282614031565b6129d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c890618d81565b60405180910390fd5b6129da816142dd565b612a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1090618e13565b60405180910390fd5b60005b8260030180549050811015612b915760011515836007018281548110612a4557612a446166cb565b5b90600052602060002090602091828204019190069054906101000a900460ff1615151415612a7257612b7e565b612b7d8360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856003018481548110612ad557612ad46166cb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16866004018581548110612b1657612b156166cb565b5b9060005260206000200154876005018681548110612b3757612b366166cb565b5b9060005260206000200154886006018781548110612b5857612b576166cb565b5b90600052602060002090602091828204019190069054906101000a900460ff16614542565b5b8080612b899061677f565b915050612a1c565b5060005b8160020180549050811015612cc257612caf8260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846002018481548110612c0757612c066166cb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856003018581548110612c4857612c476166cb565b5b9060005260206000200154866004018681548110612c6957612c686166cb565b5b9060005260206000200154876005018781548110612c8a57612c896166cb565b5b90600052602060002090602091828204019190069054906101000a900460ff16614542565b8080612cba9061677f565b915050612b95565b5082847f5a6443be634d8594e0dff76c972a6a74f88bf761fb6e334d88dd979516f3bc8f60405160405180910390a350505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663240d78a16040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d8a9190618e48565b90506000811115612e685760005b6002811015612e6657600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633e458a8e848360028110612df257612df16166cb565b5b6020020151600285612e049190618c72565b6040518363ffffffff1660e01b8152600401612e21929190618e75565b600060405180830381600087803b158015612e3b57600080fd5b505af1158015612e4f573d6000803e3d6000fd5b505050508080612e5e9061677f565b915050612d98565b505b5050565b600060076000838152602001908152602001600020905060076000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600282016000612ef5919061517d565b600382016000612f0591906151bd565b600482016000612f1591906151de565b600582016000612f2591906151de565b600682016000612f3591906151ff565b600782016000612f459190615227565b600882016000612f5591906151de565b505060005b8160080180549050811015612fa557612f92826008018281548110612f8257612f816166cb565b5b90600052602060002001546137f9565b8080612f9d9061677f565b915050612f5a565b505050565b612fb48282611c80565b61308657600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061302b612533565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6130948282611c80565b1561316757600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061310c612533565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b82518451146131af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a690618f10565b60405180910390fd5b81518451146131f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ea90618fa2565b60405180910390fd5b8051845114613237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322e90619034565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166007600087815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461334d576007600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166132f6612533565b73ffffffffffffffffffffffffffffffffffffffff161461334c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613343906190c6565b60405180910390fd5b5b61335760086146d0565b600061336360086146e6565b90506040518060e001604052808781526020013373ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018381526020016007600089815260200190815260200160002060080180549050815250600960008381526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604082015181600201908051906020019061344792919061524f565b5060608201518160030190805190602001906134649291906152d9565b5060808201518160040190805190602001906134819291906152d9565b5060a082015181600501908051906020019061349e929190615326565b5060c0820151816006015590505060076000878152602001908152602001600020600801819080600181540180825580915050600190039060005260206000200160009091909190915055807fd7af2d7ec779fb9958829116ac22b6fbd4eafe2ca69287d52dc56020617a68826009600084815260200190815260200160002060405161352b9190618945565b60405180910390a2505050505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166341744dd46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156135aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135ce9190618e48565b90506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663014e95ba6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561363f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136639190618e48565b905060008183856136749190618be9565b61367e9190618c72565b9050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ed88c68e826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156136ea57600080fd5b505af11580156136fe573d6000803e3d6000fd5b505050505050505050565b60006007600083600001548152602001908152602001600020905060006001826008018054905061373a91906190e6565b9050600060096000846008018481548110613758576137576166cb565b5b90600052602060002001548152602001908152602001600020905083600601548160060181905550826008018281548110613796576137956166cb565b5b9060005260206000200154836008018560060154815481106137bb576137ba6166cb565b5b9060005260206000200181905550826008018054806137dd576137dc61911a565b5b6001900381819060005260206000200160009055905550505050565b600960008281526020019081526020016000206000808201600090556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560028201600061384c91906151bd565b60038201600061385c91906151de565b60048201600061386c91906151de565b60058201600061387c91906151ff565b6006820160009055505050565b61389161140d565b156138d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138c890616923565b60405180910390fd5b6001600260006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613915612533565b6040516139229190618bce565b60405180910390a1565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166381d9a25c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561399b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139bf9190618e48565b9050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166321a5a34c83836040518363ffffffff1660e01b8152600401613a1e929190618e75565b600060405180830381600087803b158015613a3857600080fd5b505af1158015613a4c573d6000803e3d6000fd5b505050505050565b8351855114613a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a8f906191bb565b60405180910390fd5b8251855114613adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ad39061924d565b60405180910390fd5b8151855114613b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b17906192df565b60405180910390fd5b8051855114613b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b5b90619371565b60405180910390fd5b613b6e60066146d0565b6000613b7a60066146e6565b90506040518061012001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018973ffffffffffffffffffffffffffffffffffffffff168152602001888152602001878152602001868152602001858152602001848152602001838152602001600067ffffffffffffffff811115613bff57613bfe615632565b5b604051908082528060200260200182016040528015613c2d5781602001602082028036833780820191505090505b508152506007600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002019080519060200190613cee9291906153cd565b506060820151816003019080519060200190613d0b92919061524f565b506080820151816004019080519060200190613d289291906152d9565b5060a0820151816005019080519060200190613d459291906152d9565b5060c0820151816006019080519060200190613d62929190615326565b5060e0820151816007019080519060200190613d7f929190615453565b50610100820151816008019080519060200190613d9d9291906152d9565b50905050807f48e81893487928a99fb309ba6421c1f6fc1d630b8fd46ba2bd6ed6de9929ff7560076000848152602001908152602001600020604051613de391906187e7565b60405180910390a25050505050505050565b606060006002836002613e089190618be9565b613e129190616729565b67ffffffffffffffff811115613e2b57613e2a615632565b5b6040519080825280601f01601f191660200182016040528015613e5d5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613e9557613e946166cb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613ef957613ef86166cb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002613f399190618be9565b613f439190616729565b90505b6001811115613fe3577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613f8557613f846166cb565b5b1a60f81b828281518110613f9c57613f9b6166cb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613fdc90619391565b9050613f46565b5060008414614027576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161401e90619407565b60405180910390fd5b8091505092915050565b6000808260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000836003019050600084600501905060008560060190506000866004019050600087600701905060005b85805490508110156142cd578181815481106140a5576140a46166cb565b5b90600052602060002090602091828204019190069054906101000a900460ff16156140cf576142ba565b614185878783815481106140e6576140e56166cb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16878481548110614124576141236166cb565b5b9060005260206000200154878581548110614142576141416166cb565b5b90600052602060002090602091828204019190069054906101000a900460ff16878681548110614175576141746166cb565b5b90600052602060002001546146f4565b6141c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016141bb90619499565b60405180910390fd5b61427a878783815481106141db576141da6166cb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16878481548110614219576142186166cb565b5b9060005260206000200154878581548110614237576142366166cb565b5b90600052602060002090602091828204019190069054906101000a900460ff1687868154811061426a576142696166cb565b5b9060005260206000200154614a71565b6142b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142b09061952b565b60405180910390fd5b5b80806142c59061677f565b915050614086565b5060019650505050505050919050565b6000808260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600083600201905060008460040190506000856005019050600086600301905060005b8480549050811015614533576143ec8686838154811061434d5761434c6166cb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686848154811061438b5761438a6166cb565b5b90600052602060002001548685815481106143a9576143a86166cb565b5b90600052602060002090602091828204019190069054906101000a900460ff168686815481106143dc576143db6166cb565b5b90600052602060002001546146f4565b61442b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614422906195bd565b60405180910390fd5b6144e186868381548110614442576144416166cb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168684815481106144805761447f6166cb565b5b906000526020600020015486858154811061449e5761449d6166cb565b5b90600052602060002090602091828204019190069054906101000a900460ff168686815481106144d1576144d06166cb565b5b9060005260206000200154614a71565b614520576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016145179061964f565b60405180910390fd5b808061452b9061677f565b91505061432a565b50600195505050505050919050565b600160ff168160ff1614156145835761457e8686858773ffffffffffffffffffffffffffffffffffffffff16614d6b909392919063ffffffff16565b6146c8565b600260ff168160ff161415614606578373ffffffffffffffffffffffffffffffffffffffff166342842e0e8787856040518463ffffffff1660e01b81526004016145cf9392919061966f565b600060405180830381600087803b1580156145e957600080fd5b505af11580156145fd573d6000803e3d6000fd5b505050506146c7565b600360ff168160ff16141561468b578373ffffffffffffffffffffffffffffffffffffffff1663f242432a878785876040518563ffffffff1660e01b815260040161465494939291906196dd565b600060405180830381600087803b15801561466e57600080fd5b505af1158015614682573d6000803e3d6000fd5b505050506146c6565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016146bd906197a7565b60405180910390fd5b5b5b505050505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b6000600160ff168360ff1614156147ce576000859050828173ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e89306040518363ffffffff1660e01b81526004016147469291906197c7565b602060405180830381865afa158015614763573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147879190618e48565b10156147c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016147bf90619862565b60405180910390fd5b50614a64565b600260ff168360ff1614156149525760008590503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663081812fc876040518263ffffffff1660e01b81526004016148329190615b90565b602060405180830381865afa15801561484f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148739190619897565b73ffffffffffffffffffffffffffffffffffffffff16148061490d57508073ffffffffffffffffffffffffffffffffffffffff1663e985e9c588306040518363ffffffff1660e01b81526004016148cb9291906197c7565b602060405180830381865afa1580156148e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061490c91906198d9565b5b61494c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161494390619978565b60405180910390fd5b50614a63565b600360ff168360ff161415614a275760008590508073ffffffffffffffffffffffffffffffffffffffff1663e985e9c588306040518363ffffffff1660e01b81526004016149a19291906197c7565b602060405180830381865afa1580156149be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906149e291906198d9565b614a21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614a1890619a0a565b60405180910390fd5b50614a62565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614a5990619a9c565b60405180910390fd5b5b5b6001905095945050505050565b6000600160ff168360ff161415614b49576000859050828173ffffffffffffffffffffffffffffffffffffffff166370a08231896040518263ffffffff1660e01b8152600401614ac19190618bce565b602060405180830381865afa158015614ade573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614b029190618e48565b1015614b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614b3a90619b2e565b60405180910390fd5b50614d5e565b600260ff168360ff161415614c4a5760008590508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b8152600401614bad9190615b90565b602060405180830381865afa158015614bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614bee9190619897565b73ffffffffffffffffffffffffffffffffffffffff1614614c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614c3b90619bc0565b60405180910390fd5b50614d5d565b600360ff168360ff161415614d21576000859050828173ffffffffffffffffffffffffffffffffffffffff1662fdd58e89886040518363ffffffff1660e01b8152600401614c99929190618e75565b602060405180830381865afa158015614cb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614cda9190618e48565b1015614d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614d1290619c52565b60405180910390fd5b50614d5c565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614d5390619a9c565b60405180910390fd5b5b5b6001905095945050505050565b614dee846323b872dd60e01b858585604051602401614d8c9392919061966f565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614df4565b50505050565b6000614e56826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16614ebb9092919063ffffffff16565b9050600081511115614eb65780806020019051810190614e7691906198d9565b614eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614eac90619ce4565b60405180910390fd5b5b505050565b6060614eca8484600085614ed3565b90509392505050565b606082471015614f18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614f0f90619d76565b60405180910390fd5b614f2185614fe7565b614f60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614f5790619de2565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051614f899190619e49565b60006040518083038185875af1925050503d8060008114614fc6576040519150601f19603f3d011682016040523d82523d6000602084013e614fcb565b606091505b5091509150614fdb82828661500a565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060831561501a5782905061506a565b60008351111561502d5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016150619190618b40565b60405180910390fd5b9392505050565b6040518060e0016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160608152602001606081526020016060815260200160608152602001600081525090565b604051806101200160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001606081526020016060815260200160608152602001606081526020016060815260200160608152602001606081525090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600060ff16815260200160008152602001600081525090565b50805461518990616c12565b6000825580601f1061519b57506151ba565b601f0160209004906000526020600020908101906151b991906154f9565b5b50565b50805460008255906000526020600020908101906151db91906154f9565b50565b50805460008255906000526020600020908101906151fc91906154f9565b50565b50805460008255601f01602090049060005260206000209081019061522491906154f9565b50565b50805460008255601f01602090049060005260206000209081019061524c91906154f9565b50565b8280548282559060005260206000209081019282156152c8579160200282015b828111156152c75782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019061526f565b5b5090506152d591906154f9565b5090565b828054828255906000526020600020908101928215615315579160200282015b828111156153145782518255916020019190600101906152f9565b5b50905061532291906154f9565b5090565b82805482825590600052602060002090601f016020900481019282156153bc5791602002820160005b8382111561538d57835183826101000a81548160ff021916908360ff160217905550926020019260010160208160000104928301926001030261534f565b80156153ba5782816101000a81549060ff021916905560010160208160000104928301926001030261538d565b505b5090506153c991906154f9565b5090565b8280546153d990616c12565b90600052602060002090601f0160209004810192826153fb5760008555615442565b82601f1061541457805160ff1916838001178555615442565b82800160010185558215615442579182015b82811115615441578251825591602001919060010190615426565b5b50905061544f91906154f9565b5090565b82805482825590600052602060002090601f016020900481019282156154e85791602002820160005b838211156154b957835183826101000a81548160ff021916908315150217905550926020019260010160208160000104928301926001030261547c565b80156154e65782816101000a81549060ff02191690556001016020816000010492830192600103026154b9565b505b5090506154f591906154f9565b5090565b5b808211156155125760008160009055506001016154fa565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61555f8161552a565b811461556a57600080fd5b50565b60008135905061557c81615556565b92915050565b60006020828403121561559857615597615520565b5b60006155a68482850161556d565b91505092915050565b60008115159050919050565b6155c4816155af565b82525050565b60006020820190506155df60008301846155bb565b92915050565b600060ff82169050919050565b6155fb816155e5565b82525050565b600060208201905061561660008301846155f2565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61566a82615621565b810181811067ffffffffffffffff8211171561568957615688615632565b5b80604052505050565b600061569c615516565b90506156a88282615661565b919050565b600067ffffffffffffffff8211156156c8576156c7615632565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000615709826156de565b9050919050565b615719816156fe565b811461572457600080fd5b50565b60008135905061573681615710565b92915050565b600061574f61574a846156ad565b615692565b90508083825260208201905060208402830185811115615772576157716156d9565b5b835b8181101561579b57806157878882615727565b845260208401935050602081019050615774565b5050509392505050565b600082601f8301126157ba576157b961561c565b5b81356157ca84826020860161573c565b91505092915050565b600067ffffffffffffffff8211156157ee576157ed615632565b5b602082029050602081019050919050565b615808816155e5565b811461581357600080fd5b50565b600081359050615825816157ff565b92915050565b600061583e615839846157d3565b615692565b90508083825260208201905060208402830185811115615861576158606156d9565b5b835b8181101561588a57806158768882615816565b845260208401935050602081019050615863565b5050509392505050565b600082601f8301126158a9576158a861561c565b5b81356158b984826020860161582b565b91505092915050565b600067ffffffffffffffff8211156158dd576158dc615632565b5b602082029050602081019050919050565b6000819050919050565b615901816158ee565b811461590c57600080fd5b50565b60008135905061591e816158f8565b92915050565b6000615937615932846158c2565b615692565b9050808382526020820190506020840283018581111561595a576159596156d9565b5b835b81811015615983578061596f888261590f565b84526020840193505060208101905061595c565b5050509392505050565b600082601f8301126159a2576159a161561c565b5b81356159b2848260208601615924565b91505092915050565b600067ffffffffffffffff8211156159d6576159d5615632565b5b602082029050602081019050919050565b6159f0816155af565b81146159fb57600080fd5b50565b600081359050615a0d816159e7565b92915050565b6000615a26615a21846159bb565b615692565b90508083825260208201905060208402830185811115615a4957615a486156d9565b5b835b81811015615a725780615a5e88826159fe565b845260208401935050602081019050615a4b565b5050509392505050565b600082601f830112615a9157615a9061561c565b5b8135615aa1848260208601615a13565b91505092915050565b60008060008060808587031215615ac457615ac3615520565b5b600085013567ffffffffffffffff811115615ae257615ae1615525565b5b615aee878288016157a5565b945050602085013567ffffffffffffffff811115615b0f57615b0e615525565b5b615b1b87828801615894565b935050604085013567ffffffffffffffff811115615b3c57615b3b615525565b5b615b488782880161598d565b925050606085013567ffffffffffffffff811115615b6957615b68615525565b5b615b7587828801615a7c565b91505092959194509250565b615b8a816158ee565b82525050565b6000602082019050615ba56000830184615b81565b92915050565b60008060408385031215615bc257615bc1615520565b5b6000615bd08582860161590f565b9250506020615be18582860161590f565b9150509250929050565b600060208284031215615c0157615c00615520565b5b6000615c0f84828501615727565b91505092915050565b6000819050919050565b615c2b81615c18565b8114615c3657600080fd5b50565b600081359050615c4881615c22565b92915050565b600060208284031215615c6457615c63615520565b5b6000615c7284828501615c39565b91505092915050565b615c8481615c18565b82525050565b6000602082019050615c9f6000830184615c7b565b92915050565b600060208284031215615cbb57615cba615520565b5b6000615cc98482850161590f565b91505092915050565b615cdb816158ee565b82525050565b615cea816156fe565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000615d288383615ce1565b60208301905092915050565b6000602082019050919050565b6000615d4c82615cf0565b615d568185615cfb565b9350615d6183615d0c565b8060005b83811015615d92578151615d798882615d1c565b9750615d8483615d34565b925050600181019050615d65565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000615dd78383615cd2565b60208301905092915050565b6000602082019050919050565b6000615dfb82615d9f565b615e058185615daa565b9350615e1083615dbb565b8060005b83811015615e41578151615e288882615dcb565b9750615e3383615de3565b925050600181019050615e14565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b615e83816155e5565b82525050565b6000615e958383615e7a565b60208301905092915050565b6000602082019050919050565b6000615eb982615e4e565b615ec38185615e59565b9350615ece83615e6a565b8060005b83811015615eff578151615ee68882615e89565b9750615ef183615ea1565b925050600181019050615ed2565b5085935050505092915050565b600060e083016000830151615f246000860182615cd2565b506020830151615f376020860182615ce1565b5060408301518482036040860152615f4f8282615d41565b91505060608301518482036060860152615f698282615df0565b91505060808301518482036080860152615f838282615df0565b91505060a083015184820360a0860152615f9d8282615eae565b91505060c0830151615fb260c0860182615cd2565b508091505092915050565b60006020820190508181036000830152615fd78184615f0c565b905092915050565b60008060408385031215615ff657615ff5615520565b5b600061600485828601615c39565b925050602061601585828601615727565b9150509250929050565b600080600080600060a0868803121561603b5761603a615520565b5b60006160498882890161590f565b955050602086013567ffffffffffffffff81111561606a57616069615525565b5b616076888289016157a5565b945050604086013567ffffffffffffffff81111561609757616096615525565b5b6160a38882890161598d565b935050606086013567ffffffffffffffff8111156160c4576160c3615525565b5b6160d08882890161598d565b925050608086013567ffffffffffffffff8111156160f1576160f0615525565b5b6160fd88828901615894565b9150509295509295909350565b6000806000806080858703121561612457616123615520565b5b600061613287828801615727565b945050602061614387828801615816565b93505060406161548782880161590f565b92505060606161658782880161590f565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b60005b838110156161ab578082015181840152602081019050616190565b838111156161ba576000848401525b50505050565b60006161cb82616171565b6161d5818561617c565b93506161e581856020860161618d565b6161ee81615621565b840191505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61622e816155af565b82525050565b60006162408383616225565b60208301905092915050565b6000602082019050919050565b6000616264826161f9565b61626e8185616204565b935061627983616215565b8060005b838110156162aa5781516162918882616234565b975061629c8361624c565b92505060018101905061627d565b5085935050505092915050565b6000610120830160008301516162d06000860182615ce1565b5060208301516162e36020860182615ce1565b50604083015184820360408601526162fb82826161c0565b915050606083015184820360608601526163158282615d41565b9150506080830151848203608086015261632f8282615df0565b91505060a083015184820360a08601526163498282615df0565b91505060c083015184820360c08601526163638282615eae565b91505060e083015184820360e086015261637d8282616259565b9150506101008301518482036101008601526163998282615df0565b9150508091505092915050565b600060208201905081810360008301526163c081846162b7565b905092915050565b600080fd5b600067ffffffffffffffff8211156163e8576163e7615632565b5b6163f182615621565b9050602081019050919050565b82818337600083830152505050565b600061642061641b846163cd565b615692565b90508281526020810184848401111561643c5761643b6163c8565b5b6164478482856163fe565b509392505050565b600082601f8301126164645761646361561c565b5b813561647484826020860161640d565b91505092915050565b600080600080600080600060e0888a03121561649c5761649b615520565b5b60006164aa8a828b01615727565b975050602088013567ffffffffffffffff8111156164cb576164ca615525565b5b6164d78a828b0161644f565b965050604088013567ffffffffffffffff8111156164f8576164f7615525565b5b6165048a828b016157a5565b955050606088013567ffffffffffffffff81111561652557616524615525565b5b6165318a828b0161598d565b945050608088013567ffffffffffffffff81111561655257616551615525565b5b61655e8a828b0161598d565b93505060a088013567ffffffffffffffff81111561657f5761657e615525565b5b61658b8a828b01615894565b92505060c088013567ffffffffffffffff8111156165ac576165ab615525565b5b6165b88a828b01615a7c565b91505092959891949750929550565b6080820160008201516165dd6000850182615ce1565b5060208201516165f06020850182615e7a565b5060408201516166036040850182615cd2565b5060608201516166166060850182615cd2565b50505050565b600060808201905061663160008301846165c7565b92915050565b6000806040838503121561664e5761664d615520565b5b600061665c85828601615727565b925050602061666d8582860161590f565b9150509250929050565b616680816156fe565b82525050565b600060808201905061669b6000830187616677565b6166a860208301866155f2565b6166b56040830185615b81565b6166c26060830184615b81565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000616734826158ee565b915061673f836158ee565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115616774576167736166fa565b5b828201905092915050565b600061678a826158ee565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156167bd576167bc6166fa565b5b600182019050919050565b600082825260208201905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061680f601f836167c8565b915061681a826167d9565b602082019050919050565b6000602082019050818103600083015261683e81616802565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006168a1602f836167c8565b91506168ac82616845565b604082019050919050565b600060208201905081810360008301526168d081616894565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061690d6010836167c8565b9150616918826168d7565b602082019050919050565b6000602082019050818103600083015261693c81616900565b9050919050565b7f50697870726573733a20696e73756666696369656e7420737761702066656500600082015250565b6000616979601f836167c8565b915061698482616943565b602082019050919050565b600060208201905081810360008301526169a88161696c565b9050919050565b7f41737365744d616e616765723a20617373657420616c7265616479206578697360008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b6000616a0b6021836167c8565b9150616a16826169af565b604082019050919050565b60006020820190508181036000830152616a3a816169fe565b9050919050565b60008160001c9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000616a81616a7c83616a41565b616a4e565b9050919050565b60008160a01c9050919050565b600060ff82169050919050565b6000616ab5616ab083616a88565b616a95565b9050919050565b6000819050919050565b6000616ad9616ad483616a41565b616abc565b9050919050565b608082016000808301549050616af581616a6e565b616b026000860182615ce1565b50616b0c81616aa2565b616b196020860182615e7a565b5060018301549050616b2a81616ac6565b616b376040860182615cd2565b5060028301549050616b4881616ac6565b616b556060860182615cd2565b5050505050565b6000608082019050616b716000830184616ae0565b92915050565b7f417373657420537761707065723a20696e76616c69642070726f706f73657200600082015250565b6000616bad601f836167c8565b9150616bb882616b77565b602082019050919050565b60006020820190508181036000830152616bdc81616ba0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680616c2a57607f821691505b60208210811415616c3e57616c3d616be3565b5b50919050565b60008190508160005260206000209050919050565b60008154616c6681616c12565b616c70818661617c565b94506001821660008114616c8b5760018114616c9d57616cd0565b60ff1983168652602086019350616cd0565b616ca685616c44565b60005b83811015616cc857815481890152600182019150602081019050616ca9565b808801955050505b50505092915050565b600081549050919050565b60008190508160005260206000209050919050565b6000616d058254616a6e565b9050919050565b6000600182019050919050565b6000616d2482616cd9565b616d2e8185615cfb565b9350616d3983616ce4565b8060005b83811015616d7157616d4e82616cf9565b616d588882615d1c565b9750616d6383616d0c565b925050600181019050616d3d565b5085935050505092915050565b600081549050919050565b60008190508160005260206000209050919050565b6000616daa8254616ac6565b9050919050565b6000600182019050919050565b6000616dc982616d7e565b616dd38185615daa565b9350616dde83616d89565b8060005b83811015616e1657616df382616d9e565b616dfd8882615dcb565b9750616e0883616db1565b925050600181019050616de2565b5085935050505092915050565b600081549050919050565b60008190508160005260206000209050919050565b6000616e56616e5183616a41565b616a95565b9050919050565b60008160081c9050919050565b6000616e7d616e7883616e5d565b616a95565b9050919050565b60008160101c9050919050565b6000616ea4616e9f83616e84565b616a95565b9050919050565b60008160181c9050919050565b6000616ecb616ec683616eab565b616a95565b9050919050565b60008160201c9050919050565b6000616ef2616eed83616ed2565b616a95565b9050919050565b60008160281c9050919050565b6000616f19616f1483616ef9565b616a95565b9050919050565b60008160301c9050919050565b6000616f40616f3b83616f20565b616a95565b9050919050565b60008160381c9050919050565b6000616f67616f6283616f47565b616a95565b9050919050565b60008160401c9050919050565b6000616f8e616f8983616f6e565b616a95565b9050919050565b60008160481c9050919050565b6000616fb5616fb083616f95565b616a95565b9050919050565b60008160501c9050919050565b6000616fdc616fd783616fbc565b616a95565b9050919050565b60008160581c9050919050565b6000617003616ffe83616fe3565b616a95565b9050919050565b60008160601c9050919050565b600061702a6170258361700a565b616a95565b9050919050565b60008160681c9050919050565b600061705161704c83617031565b616a95565b9050919050565b60008160701c9050919050565b600061707861707383617058565b616a95565b9050919050565b60008160781c9050919050565b600061709f61709a8361707f565b616a95565b9050919050565b60008160801c9050919050565b60006170c66170c1836170a6565b616a95565b9050919050565b60008160881c9050919050565b60006170ed6170e8836170cd565b616a95565b9050919050565b60008160901c9050919050565b600061711461710f836170f4565b616a95565b9050919050565b60008160981c9050919050565b600061713b6171368361711b565b616a95565b9050919050565b60008160a81c9050919050565b600061716261715d83617142565b616a95565b9050919050565b60008160b01c9050919050565b600061718961718483617169565b616a95565b9050919050565b60008160b81c9050919050565b60006171b06171ab83617190565b616a95565b9050919050565b60008160c01c9050919050565b60006171d76171d2836171b7565b616a95565b9050919050565b60008160c81c9050919050565b60006171fe6171f9836171de565b616a95565b9050919050565b60008160d01c9050919050565b600061722561722083617205565b616a95565b9050919050565b60008160d81c9050919050565b600061724c6172478361722c565b616a95565b9050919050565b60008160e01c9050919050565b600061727361726e83617253565b616a95565b9050919050565b60008160e81c9050919050565b600061729a6172958361727a565b616a95565b9050919050565b60008160f01c9050919050565b60006172c16172bc836172a1565b616a95565b9050919050565b60008160f81c9050919050565b60006172e86172e3836172c8565b616a95565b9050919050565b60006172fa82616e23565b6173048185615e59565b93508361731084616e2e565b600060011561763d575b8360016020038201101561763c57815461733c8861733783616e43565b615e7a565b6020880197506173548861734f83616e6a565b615e7a565b60208801975061736c8861736783616e91565b615e7a565b6020880197506173848861737f83616eb8565b615e7a565b60208801975061739c8861739783616edf565b615e7a565b6020880197506173b4886173af83616f06565b615e7a565b6020880197506173cc886173c783616f2d565b615e7a565b6020880197506173e4886173df83616f54565b615e7a565b6020880197506173fc886173f783616f7b565b615e7a565b6020880197506174148861740f83616fa2565b615e7a565b60208801975061742c8861742783616fc9565b615e7a565b6020880197506174448861743f83616ff0565b615e7a565b60208801975061745c8861745783617017565b615e7a565b6020880197506174748861746f8361703e565b615e7a565b60208801975061748c8861748783617065565b615e7a565b6020880197506174a48861749f8361708c565b615e7a565b6020880197506174bc886174b7836170b3565b615e7a565b6020880197506174d4886174cf836170da565b615e7a565b6020880197506174ec886174e783617101565b615e7a565b602088019750617504886174ff83617128565b615e7a565b60208801975061751c8861751783616aa2565b615e7a565b6020880197506175348861752f8361714f565b615e7a565b60208801975061754c8861754783617176565b615e7a565b6020880197506175648861755f8361719d565b615e7a565b60208801975061757c88617577836171c4565b615e7a565b6020880197506175948861758f836171eb565b615e7a565b6020880197506175ac886175a783617212565b615e7a565b6020880197506175c4886175bf83617239565b615e7a565b6020880197506175dc886175d783617260565b615e7a565b6020880197506175f4886175ef83617287565b615e7a565b60208801975061760c88617607836172ae565b615e7a565b6020880197506176248861761f836172d5565b615e7a565b6020880197506001830192505060208101905061731a565b5b600115617b285781548482101561766d576176608861765b83616e43565b615e7a565b6020880197506001820191505b84821015617694576176878861768283616e6a565b615e7a565b6020880197506001820191505b848210156176bb576176ae886176a983616e91565b615e7a565b6020880197506001820191505b848210156176e2576176d5886176d083616eb8565b615e7a565b6020880197506001820191505b84821015617709576176fc886176f783616edf565b615e7a565b6020880197506001820191505b84821015617730576177238861771e83616f06565b615e7a565b6020880197506001820191505b848210156177575761774a8861774583616f2d565b615e7a565b6020880197506001820191505b8482101561777e576177718861776c83616f54565b615e7a565b6020880197506001820191505b848210156177a5576177988861779383616f7b565b615e7a565b6020880197506001820191505b848210156177cc576177bf886177ba83616fa2565b615e7a565b6020880197506001820191505b848210156177f3576177e6886177e183616fc9565b615e7a565b6020880197506001820191505b8482101561781a5761780d8861780883616ff0565b615e7a565b6020880197506001820191505b84821015617841576178348861782f83617017565b615e7a565b6020880197506001820191505b848210156178685761785b886178568361703e565b615e7a565b6020880197506001820191505b8482101561788f576178828861787d83617065565b615e7a565b6020880197506001820191505b848210156178b6576178a9886178a48361708c565b615e7a565b6020880197506001820191505b848210156178dd576178d0886178cb836170b3565b615e7a565b6020880197506001820191505b84821015617904576178f7886178f2836170da565b615e7a565b6020880197506001820191505b8482101561792b5761791e8861791983617101565b615e7a565b6020880197506001820191505b84821015617952576179458861794083617128565b615e7a565b6020880197506001820191505b848210156179795761796c8861796783616aa2565b615e7a565b6020880197506001820191505b848210156179a0576179938861798e8361714f565b615e7a565b6020880197506001820191505b848210156179c7576179ba886179b583617176565b615e7a565b6020880197506001820191505b848210156179ee576179e1886179dc8361719d565b615e7a565b6020880197506001820191505b84821015617a1557617a0888617a03836171c4565b615e7a565b6020880197506001820191505b84821015617a3c57617a2f88617a2a836171eb565b615e7a565b6020880197506001820191505b84821015617a6357617a5688617a5183617212565b615e7a565b6020880197506001820191505b84821015617a8a57617a7d88617a7883617239565b615e7a565b6020880197506001820191505b84821015617ab157617aa488617a9f83617260565b615e7a565b6020880197506001820191505b84821015617ad857617acb88617ac683617287565b615e7a565b6020880197506001820191505b84821015617aff57617af288617aed836172ae565b615e7a565b6020880197506001820191505b84821015617b2657617b1988617b14836172d5565b615e7a565b6020880197506001820191505b505b8694505050505092915050565b600081549050919050565b60008190508160005260206000209050919050565b600060ff82169050919050565b6000617b75617b7083616a41565b617b55565b9050919050565b6000617b8f617b8a83616e5d565b617b55565b9050919050565b6000617ba9617ba483616e84565b617b55565b9050919050565b6000617bc3617bbe83616eab565b617b55565b9050919050565b6000617bdd617bd883616ed2565b617b55565b9050919050565b6000617bf7617bf283616ef9565b617b55565b9050919050565b6000617c11617c0c83616f20565b617b55565b9050919050565b6000617c2b617c2683616f47565b617b55565b9050919050565b6000617c45617c4083616f6e565b617b55565b9050919050565b6000617c5f617c5a83616f95565b617b55565b9050919050565b6000617c79617c7483616fbc565b617b55565b9050919050565b6000617c93617c8e83616fe3565b617b55565b9050919050565b6000617cad617ca88361700a565b617b55565b9050919050565b6000617cc7617cc283617031565b617b55565b9050919050565b6000617ce1617cdc83617058565b617b55565b9050919050565b6000617cfb617cf68361707f565b617b55565b9050919050565b6000617d15617d10836170a6565b617b55565b9050919050565b6000617d2f617d2a836170cd565b617b55565b9050919050565b6000617d49617d44836170f4565b617b55565b9050919050565b6000617d63617d5e8361711b565b617b55565b9050919050565b6000617d7d617d7883616a88565b617b55565b9050919050565b6000617d97617d9283617142565b617b55565b9050919050565b6000617db1617dac83617169565b617b55565b9050919050565b6000617dcb617dc683617190565b617b55565b9050919050565b6000617de5617de0836171b7565b617b55565b9050919050565b6000617dff617dfa836171de565b617b55565b9050919050565b6000617e19617e1483617205565b617b55565b9050919050565b6000617e33617e2e8361722c565b617b55565b9050919050565b6000617e4d617e4883617253565b617b55565b9050919050565b6000617e67617e628361727a565b617b55565b9050919050565b6000617e81617e7c836172a1565b617b55565b9050919050565b6000617e9b617e96836172c8565b617b55565b9050919050565b6000617ead82617b35565b617eb78185616204565b935083617ec384617b40565b60006001156181f0575b836001602003820110156181ef578154617eef88617eea83617b62565b616225565b602088019750617f0788617f0283617b7c565b616225565b602088019750617f1f88617f1a83617b96565b616225565b602088019750617f3788617f3283617bb0565b616225565b602088019750617f4f88617f4a83617bca565b616225565b602088019750617f6788617f6283617be4565b616225565b602088019750617f7f88617f7a83617bfe565b616225565b602088019750617f9788617f9283617c18565b616225565b602088019750617faf88617faa83617c32565b616225565b602088019750617fc788617fc283617c4c565b616225565b602088019750617fdf88617fda83617c66565b616225565b602088019750617ff788617ff283617c80565b616225565b60208801975061800f8861800a83617c9a565b616225565b6020880197506180278861802283617cb4565b616225565b60208801975061803f8861803a83617cce565b616225565b6020880197506180578861805283617ce8565b616225565b60208801975061806f8861806a83617d02565b616225565b6020880197506180878861808283617d1c565b616225565b60208801975061809f8861809a83617d36565b616225565b6020880197506180b7886180b283617d50565b616225565b6020880197506180cf886180ca83617d6a565b616225565b6020880197506180e7886180e283617d84565b616225565b6020880197506180ff886180fa83617d9e565b616225565b6020880197506181178861811283617db8565b616225565b60208801975061812f8861812a83617dd2565b616225565b6020880197506181478861814283617dec565b616225565b60208801975061815f8861815a83617e06565b616225565b6020880197506181778861817283617e20565b616225565b60208801975061818f8861818a83617e3a565b616225565b6020880197506181a7886181a283617e54565b616225565b6020880197506181bf886181ba83617e6e565b616225565b6020880197506181d7886181d283617e88565b616225565b60208801975060018301925050602081019050617ecd565b5b6001156186db57815484821015618220576182138861820e83617b62565b616225565b6020880197506001820191505b848210156182475761823a8861823583617b7c565b616225565b6020880197506001820191505b8482101561826e576182618861825c83617b96565b616225565b6020880197506001820191505b84821015618295576182888861828383617bb0565b616225565b6020880197506001820191505b848210156182bc576182af886182aa83617bca565b616225565b6020880197506001820191505b848210156182e3576182d6886182d183617be4565b616225565b6020880197506001820191505b8482101561830a576182fd886182f883617bfe565b616225565b6020880197506001820191505b84821015618331576183248861831f83617c18565b616225565b6020880197506001820191505b848210156183585761834b8861834683617c32565b616225565b6020880197506001820191505b8482101561837f576183728861836d83617c4c565b616225565b6020880197506001820191505b848210156183a6576183998861839483617c66565b616225565b6020880197506001820191505b848210156183cd576183c0886183bb83617c80565b616225565b6020880197506001820191505b848210156183f4576183e7886183e283617c9a565b616225565b6020880197506001820191505b8482101561841b5761840e8861840983617cb4565b616225565b6020880197506001820191505b84821015618442576184358861843083617cce565b616225565b6020880197506001820191505b848210156184695761845c8861845783617ce8565b616225565b6020880197506001820191505b84821015618490576184838861847e83617d02565b616225565b6020880197506001820191505b848210156184b7576184aa886184a583617d1c565b616225565b6020880197506001820191505b848210156184de576184d1886184cc83617d36565b616225565b6020880197506001820191505b84821015618505576184f8886184f383617d50565b616225565b6020880197506001820191505b8482101561852c5761851f8861851a83617d6a565b616225565b6020880197506001820191505b84821015618553576185468861854183617d84565b616225565b6020880197506001820191505b8482101561857a5761856d8861856883617d9e565b616225565b6020880197506001820191505b848210156185a1576185948861858f83617db8565b616225565b6020880197506001820191505b848210156185c8576185bb886185b683617dd2565b616225565b6020880197506001820191505b848210156185ef576185e2886185dd83617dec565b616225565b6020880197506001820191505b84821015618616576186098861860483617e06565b616225565b6020880197506001820191505b8482101561863d576186308861862b83617e20565b616225565b6020880197506001820191505b84821015618664576186578861865283617e3a565b616225565b6020880197506001820191505b8482101561868b5761867e8861867983617e54565b616225565b6020880197506001820191505b848210156186b2576186a5886186a083617e6e565b616225565b6020880197506001820191505b848210156186d9576186cc886186c783617e88565b616225565b6020880197506001820191505b505b8694505050505092915050565b60006101208301600080840154905061870081616a6e565b61870d6000870182615ce1565b506001840154905061871e81616a6e565b61872b6020870182615ce1565b506002840185830360408701526187428382616c59565b92505060038401858303606087015261875b8382616d19565b9250506004840185830360808701526187748382616dbe565b9250506005840185830360a087015261878d8382616dbe565b9250506006840185830360c08701526187a683826172ef565b9250506007840185830360e08701526187bf8382617ea2565b925050600884018583036101008701526187d98382616dbe565b925050819250505092915050565b6000602082019050818103600083015261880181846186e8565b905092915050565b7f417373657420537761707065723a20696e76616c6964206d6174636865720000600082015250565b600061883f601e836167c8565b915061884a82618809565b602082019050919050565b6000602082019050818103600083015261886e81618832565b9050919050565b600060e08301600080840154905061888c81616ac6565b6188996000870182615cd2565b50600184015490506188aa81616a6e565b6188b76020870182615ce1565b506002840185830360408701526188ce8382616d19565b9250506003840185830360608701526188e78382616dbe565b9250506004840185830360808701526189008382616dbe565b9250506005840185830360a087015261891983826172ef565b9250506006840154905061892c81616ac6565b61893960c0870182615cd2565b50819250505092915050565b6000602082019050818103600083015261895f8184618875565b905092915050565b7f41737365744d616e616765723a20617373657420646f6573206e6f742065786960008201527f7374000000000000000000000000000000000000000000000000000000000000602082015250565b60006189c36022836167c8565b91506189ce82618967565b604082019050919050565b600060208201905081810360008301526189f2816189b6565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000618a3a6017836189f9565b9150618a4582618a04565b601782019050919050565b6000618a5b82616171565b618a6581856189f9565b9350618a7581856020860161618d565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000618ab76011836189f9565b9150618ac282618a81565b601182019050919050565b6000618ad882618a2d565b9150618ae48285618a50565b9150618aef82618aaa565b9150618afb8284618a50565b91508190509392505050565b6000618b1282616171565b618b1c81856167c8565b9350618b2c81856020860161618d565b618b3581615621565b840191505092915050565b60006020820190508181036000830152618b5a8184618b07565b905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000618b986014836167c8565b9150618ba382618b62565b602082019050919050565b60006020820190508181036000830152618bc781618b8b565b9050919050565b6000602082019050618be36000830184616677565b92915050565b6000618bf4826158ee565b9150618bff836158ee565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615618c3857618c376166fa565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000618c7d826158ee565b9150618c88836158ee565b925082618c9857618c97618c43565b5b828204905092915050565b7f417373657420537761707065723a20696e76616c6964206d6174636820696400600082015250565b6000618cd9601f836167c8565b9150618ce482618ca3565b602082019050919050565b60006020820190508181036000830152618d0881618ccc565b9050919050565b7f417373657420537761707065723a2070726f706f73657220617373657473206960008201527f6e76616c69640000000000000000000000000000000000000000000000000000602082015250565b6000618d6b6026836167c8565b9150618d7682618d0f565b604082019050919050565b60006020820190508181036000830152618d9a81618d5e565b9050919050565b7f417373657420537761707065723a206d6174636865722061737365747320696e60008201527f76616c6964000000000000000000000000000000000000000000000000000000602082015250565b6000618dfd6025836167c8565b9150618e0882618da1565b604082019050919050565b60006020820190508181036000830152618e2c81618df0565b9050919050565b600081519050618e42816158f8565b92915050565b600060208284031215618e5e57618e5d615520565b5b6000618e6c84828501618e33565b91505092915050565b6000604082019050618e8a6000830185616677565b618e976020830184615b81565b9392505050565b7f41737365737420537761707065723a20616d6f756e74207265636f726420736960008201527f7a6520646f6573206e6f74206d61746368000000000000000000000000000000602082015250565b6000618efa6031836167c8565b9150618f0582618e9e565b604082019050919050565b60006020820190508181036000830152618f2981618eed565b9050919050565b7f41737365737420537761707065723a206964207265636f72642073697a65206460008201527f6f6573206e6f74206d6174636800000000000000000000000000000000000000602082015250565b6000618f8c602d836167c8565b9150618f9782618f30565b604082019050919050565b60006020820190508181036000830152618fbb81618f7f565b9050919050565b7f41737365737420537761707065723a2070726f746f636f6c207265636f72642060008201527f73697a6520646f6573206e6f74206d6174636800000000000000000000000000602082015250565b600061901e6033836167c8565b915061902982618fc2565b604082019050919050565b6000602082019050818103600083015261904d81619011565b9050919050565b7f41737365737420537761707065723a20726563656976657220646f6573206e6f60008201527f74206d6174636800000000000000000000000000000000000000000000000000602082015250565b60006190b06027836167c8565b91506190bb82619054565b604082019050919050565b600060208201905081810360008301526190df816190a3565b9050919050565b60006190f1826158ee565b91506190fc836158ee565b92508282101561910f5761910e6166fa565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f417373657420537761707065723a20616d6f756e74207265636f72642073697a60008201527f6520646f6573206e6f74206d6174636800000000000000000000000000000000602082015250565b60006191a56030836167c8565b91506191b082619149565b604082019050919050565b600060208201905081810360008301526191d481619198565b9050919050565b7f417373657420537761707065723a206964207265636f72642073697a6520646f60008201527f6573206e6f74206d617463680000000000000000000000000000000000000000602082015250565b6000619237602c836167c8565b9150619242826191db565b604082019050919050565b600060208201905081810360008301526192668161922a565b9050919050565b7f417373657420537761707065723a2070726f746f636f6c207265636f7264207360008201527f697a6520646f6573206e6f74206d617463680000000000000000000000000000602082015250565b60006192c96032836167c8565b91506192d48261926d565b604082019050919050565b600060208201905081810360008301526192f8816192bc565b9050919050565b7f417373657420537761707065723a2077616e746564207265636f72642073697a60008201527f6520646f6573206e6f74206d6174636800000000000000000000000000000000602082015250565b600061935b6030836167c8565b9150619366826192ff565b604082019050919050565b6000602082019050818103600083015261938a8161934e565b9050919050565b600061939c826158ee565b915060008214156193b0576193af6166fa565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006193f16020836167c8565b91506193fc826193bb565b602082019050919050565b60006020820190508181036000830152619420816193e4565b9050919050565b7f417373657420537761707065723a20736f6d652070726f706f7365722061737360008201527f65747320617265206e6f7420617070726f766564000000000000000000000000602082015250565b60006194836034836167c8565b915061948e82619427565b604082019050919050565b600060208201905081810360008301526194b281619476565b9050919050565b7f417373657420537761707065723a20736f6d652070726f706f7365722061737360008201527f65747320617265206e6f7420696e2073746f636b000000000000000000000000602082015250565b60006195156034836167c8565b9150619520826194b9565b604082019050919050565b6000602082019050818103600083015261954481619508565b9050919050565b7f417373657420537761707065723a20736f6d65206d617463686572206173736560008201527f747320617265206e6f7420617070726f76656400000000000000000000000000602082015250565b60006195a76033836167c8565b91506195b28261954b565b604082019050919050565b600060208201905081810360008301526195d68161959a565b9050919050565b7f417373657420537761707065723a20736f6d65206d617463686572206173736560008201527f747320617265206e6f7420696e2073746f636b00000000000000000000000000602082015250565b60006196396033836167c8565b9150619644826195dd565b604082019050919050565b600060208201905081810360008301526196688161962c565b9050919050565b60006060820190506196846000830186616677565b6196916020830185616677565b61969e6040830184615b81565b949350505050565b600082825260208201905092915050565b50565b60006196c76000836196a6565b91506196d2826196b7565b600082019050919050565b600060a0820190506196f26000830187616677565b6196ff6020830186616677565b61970c6040830185615b81565b6197196060830184615b81565b818103608083015261972a816196ba565b905095945050505050565b7f417373657420537761707065723a2063616e6e6f74207377617020756e73757060008201527f706f7274656420746f6b656e2070726f746f636f6c0000000000000000000000602082015250565b60006197916035836167c8565b915061979c82619735565b604082019050919050565b600060208201905081810360008301526197c081619784565b9050919050565b60006040820190506197dc6000830185616677565b6197e96020830184616677565b9392505050565b7f417373657420537761707065723a20696e73756666696369656e7420746f6b6560008201527f6e20616c6c6f77616e6365000000000000000000000000000000000000000000602082015250565b600061984c602b836167c8565b9150619857826197f0565b604082019050919050565b6000602082019050818103600083015261987b8161983f565b9050919050565b60008151905061989181615710565b92915050565b6000602082840312156198ad576198ac615520565b5b60006198bb84828501619882565b91505092915050565b6000815190506198d3816159e7565b92915050565b6000602082840312156198ef576198ee615520565b5b60006198fd848285016198c4565b91505092915050565b7f417373657420537761707065723a2045524337323120746f6b656e206e6f742060008201527f617070726f766564200000000000000000000000000000000000000000000000602082015250565b60006199626029836167c8565b915061996d82619906565b604082019050919050565b6000602082019050818103600083015261999181619955565b9050919050565b7f417373657420537761707065723a204552433131353520746f6b656e206e6f7460008201527f20617070726f7665642000000000000000000000000000000000000000000000602082015250565b60006199f4602a836167c8565b91506199ff82619998565b604082019050919050565b60006020820190508181036000830152619a23816199e7565b9050919050565b7f417373657420537761707065723a20756e737570706f7274656420746f6b656e60008201527f2070726f746f636f6c0000000000000000000000000000000000000000000000602082015250565b6000619a866029836167c8565b9150619a9182619a2a565b604082019050919050565b60006020820190508181036000830152619ab581619a79565b9050919050565b7f417373657420537761707065723a20455243323020696e73756666696369656e60008201527f7420746f6b656e2062616c616e63650000000000000000000000000000000000602082015250565b6000619b18602f836167c8565b9150619b2382619abc565b604082019050919050565b60006020820190508181036000830152619b4781619b0b565b9050919050565b7f417373657420537761707065723a2045524337323120696e737566666963696560008201527f6e7420746f6b656e2062616c616e636500000000000000000000000000000000602082015250565b6000619baa6030836167c8565b9150619bb582619b4e565b604082019050919050565b60006020820190508181036000830152619bd981619b9d565b9050919050565b7f417373657420537761707065723a204552433131353520696e7375666669636960008201527f656e7420746f6b656e2062616c616e6365000000000000000000000000000000602082015250565b6000619c3c6031836167c8565b9150619c4782619be0565b604082019050919050565b60006020820190508181036000830152619c6b81619c2f565b9050919050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000619cce602a836167c8565b9150619cd982619c72565b604082019050919050565b60006020820190508181036000830152619cfd81619cc1565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000619d606026836167c8565b9150619d6b82619d04565b604082019050919050565b60006020820190508181036000830152619d8f81619d53565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000619dcc601d836167c8565b9150619dd782619d96565b602082019050919050565b60006020820190508181036000830152619dfb81619dbf565b9050919050565b600081519050919050565b600081905092915050565b6000619e2382619e02565b619e2d8185619e0d565b9350619e3d81856020860161618d565b80840191505092915050565b6000619e558284619e18565b91508190509291505056fea2646970667358221220f02941bef6d86d74fe5f81990fd947476ec0990562a239b975e35163fabe782864736f6c634300080c0033