Address Details
contract
0x135507dB98dB3776A8E652528803edD52875622C
- Contract Name
- Pixpress
- Creator
- 0xebd0a5–5c1367 at 0x2110dc–a242d8
- Balance
- 0 CELO ( )
- Locked CELO Balance
- 0.00 CELO
- Voting CELO Balance
- 0.00 CELO
- Pending Unlocked Gold
- 0.00 CELO
- Tokens
-
Fetching tokens...
- Transactions
- 18 Transactions
- Transfers
- 18 Transfers
- Gas Used
- 4,216,311
- Last Balance Update
- 11737821
Transactions
Token Transfers
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
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-25T07:36:01.769111Z
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 { _pxaMarket.shareIncome{ value: _fee }(); } 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 addDividend() external payable; function shareIncome() 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
0x6080604052678ac7230489e80000600355614e206004553480156200002357600080fd5b506040516200a0ae3803806200a0ae833981810160405281019062000049919062000309565b600180819055506000600260006101000a81548160ff021916908315150217905550620000806000801b336200013c60201b60201c565b620000b27fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199336200013c60201b60201c565b81600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000350565b6200014e82826200022d60201b60201c565b6200022957600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001ce6200029760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002d182620002a4565b9050919050565b620002e381620002c4565b8114620002ef57600080fd5b50565b6000815190506200030381620002d8565b92915050565b600080604083850312156200032357620003226200029f565b5b60006200033385828601620002f2565b92505060206200034685828601620002f2565b9150509250929050565b619d4e80620003606000396000f3fe60806040526004361061021a5760003560e01c80637a5b0231116101235780639c4667a2116100ab578063cd7e22711161006f578063cd7e22711461079f578063d1d5a071146107c8578063d547741f146107f1578063ef0aa2181461081a578063f11b8188146108435761021a565b80639c4667a2146106bc578063a217fddf146106f9578063a6d6699214610724578063a73757011461074d578063c284f02c146107765761021a565b806384777171116100f257806384777171146105e45780638ca11c741461060d57806391d1485414610638578063961e975a146106755780639991d3bf146106a05761021a565b80637a5b02311461053a5780637d09820014610577578063807f68d2146105a25780638456cb59146105cd5761021a565b806336568abe116101a6578063558675d611610175578063558675d614610478578063576053d6146104945780635c975abb146104bd5780636c149d58146104e857806377f2fcbc146105115761021a565b806336568abe146103d05780633b2bcbf1146103f95780634a5e42b1146104245780634b7b9ad01461044d5761021a565b80631cfa8295116101ed5780631cfa8295146102db578063230c5a2514610304578063248a9ca31461032d578063262597251461036a5780632f2ff15d146103a75761021a565b806301ffc9a71461021f57806302de00e81461025c578063046f7da21461028757806319430e371461029e575b600080fd5b34801561022b57600080fd5b506102466004803603810190610241919061543a565b610883565b6040516102539190615482565b60405180910390f35b34801561026857600080fd5b506102716108fd565b60405161027e91906154b9565b60405180910390f35b34801561029357600080fd5b5061029c610902565b005b3480156102aa57600080fd5b506102c560048036038101906102c09190615962565b61093f565b6040516102d29190615a48565b60405180910390f35b3480156102e757600080fd5b5061030260048036038101906102fd9190615a63565b610a00565b005b34801561031057600080fd5b5061032b60048036038101906103269190615aa3565b610b17565b005b34801561033957600080fd5b50610354600480360381019061034f9190615b06565b610b8e565b6040516103619190615b42565b60405180910390f35b34801561037657600080fd5b50610391600480360381019061038c9190615b5d565b610bad565b60405161039e9190615e75565b60405180910390f35b3480156103b357600080fd5b506103ce60048036038101906103c99190615e97565b610e00565b005b3480156103dc57600080fd5b506103f760048036038101906103f29190615e97565b610e29565b005b34801561040557600080fd5b5061040e610eac565b60405161041b9190615b42565b60405180910390f35b34801561043057600080fd5b5061044b60048036038101906104469190615aa3565b610ed0565b005b34801561045957600080fd5b50610462610fd6565b60405161046f91906154b9565b60405180910390f35b610492600480360381019061048d9190615ed7565b610fdb565b005b3480156104a057600080fd5b506104bb60048036038101906104b69190615fc2565b61117f565b005b3480156104c957600080fd5b506104d261140d565b6040516104df9190615482565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a9190615b5d565b611424565b005b34801561051d57600080fd5b5061053860048036038101906105339190615b5d565b6115bb565b005b34801561054657600080fd5b50610561600480360381019061055c9190615b5d565b611773565b60405161056e919061625e565b60405180910390f35b34801561058357600080fd5b5061058c611b70565b6040516105999190615a48565b60405180910390f35b3480156105ae57600080fd5b506105b7611b7a565b6040516105c49190615a48565b60405180910390f35b3480156105d957600080fd5b506105e2611b84565b005b3480156105f057600080fd5b5061060b60048036038101906106069190615ed7565b611bc1565b005b34801561061957600080fd5b50610622611c7b565b60405161062f91906154b9565b60405180910390f35b34801561064457600080fd5b5061065f600480360381019061065a9190615e97565b611c80565b60405161066c9190615482565b60405180910390f35b34801561068157600080fd5b5061068a611cea565b6040516106979190615a48565b60405180910390f35b6106ba60048036038101906106b59190616335565b611cf1565b005b3480156106c857600080fd5b506106e360048036038101906106de9190615aa3565b611e03565b6040516106f091906164d4565b60405180910390f35b34801561070557600080fd5b5061070e611ee3565b60405161071b9190615b42565b60405180910390f35b34801561073057600080fd5b5061074b60048036038101906107469190615aa3565b611eea565b005b34801561075957600080fd5b50610774600480360381019061076f9190615b5d565b611f61565b005b34801561078257600080fd5b5061079d60048036038101906107989190615b5d565b611fd5565b005b3480156107ab57600080fd5b506107c660048036038101906107c191906164ef565b612049565b005b3480156107d457600080fd5b506107ef60048036038101906107ea91906164ef565b6121e7565b005b3480156107fd57600080fd5b5061081860048036038101906108139190615e97565b612385565b005b34801561082657600080fd5b50610841600480360381019061083c9190616335565b6123ae565b005b34801561084f57600080fd5b5061086a60048036038101906108659190615aa3565b61246c565b60405161087a949392919061653e565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108f657506108f5826124c9565b5b9050919050565b600281565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996109348161092f612533565b61253b565b61093c6125d8565b50565b6000806000905060005b86518110156109f3576000151584828151811061096957610968616583565b5b6020026020010151151514156109e0576109d287828151811061098f5761098e616583565b5b60200260200101518783815181106109aa576109a9616583565b5b60200260200101518784815181106109c5576109c4616583565b5b602002602001015161267a565b826109dd91906165e1565b91505b80806109eb90616637565b915050610949565b5080915050949350505050565b60026001541415610a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3d906166dd565b60405180910390fd5b6002600181905550610a588282612883565b610b0360405180604001604052803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016009600085815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250612cf7565b610b0c82612e6c565b600180819055505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610b4981610b44612533565b61253b565b81600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000806000838152602001908152602001600020600101549050919050565b610bb5614f29565b600960008381526020019081526020016000206040518060e0016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201805480602002602001604051908101604052809291908181526020018280548015610cb857602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610c6e575b5050505050815260200160038201805480602002602001604051908101604052809291908181526020018280548015610d1057602002820191906000526020600020905b815481526020019060010190808311610cfc575b5050505050815260200160048201805480602002602001604051908101604052809291908181526020018280548015610d6857602002820191906000526020600020905b815481526020019060010190808311610d54575b5050505050815260200160058201805480602002602001604051908101604052809291908181526020018280548015610de657602002820191906000526020600020906000905b82829054906101000a900460ff1660ff1681526020019060010190602082600001049283019260010382029150808411610daf5790505b505050505081526020016006820154815250509050919050565b610e0982610b8e565b610e1a81610e15612533565b61253b565b610e248383612faa565b505050565b610e31612533565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e959061676f565b60405180910390fd5b610ea8828261308a565b5050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19981565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610f0281610efd612533565b61253b565b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549060ff02191690556001820160009055600282016000905550508173ffffffffffffffffffffffffffffffffffffffff167f37803e2125c48ee96c38ddf04e826daf335b0e1603579040fd275aba6d06b6fc60405160405180910390a25050565b600181565b60026001541415611021576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611018906166dd565b60405180910390fd5b600260018190555061103161140d565b15611071576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611068906167db565b60405180910390fd5b6000845167ffffffffffffffff81111561108e5761108d6154ea565b5b6040519080825280602002602001820160405280156110bc5781602001602082028036833780820191505090505b50905060005b81518110156111055760008282815181106110e0576110df616583565b5b60200260200101901515908115158152505080806110fd90616637565b9150506110c2565b5060006111148684878561093f565b905080341015611159576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115090616847565b60405180910390fd5b611166878787878761316b565b61116f8161353b565b5050600180819055505050505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996111b1816111ac612533565b61253b565b600073ffffffffffffffffffffffffffffffffffffffff16600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611282576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611279906168d9565b60405180910390fd5b60405180608001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020018560ff16815260200184815260200183815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548160ff021916908360ff16021790555060408201518160010155606082015181600201559050508473ffffffffffffffffffffffffffffffffffffffff167ff2907ab530928e5b90d775441159d3ad184c3d3bf92dbe843026af908d61702d600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040516113fe9190616a14565b60405180910390a25050505050565b6000600260009054906101000a900460ff16905090565b6002600154141561146a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611461906166dd565b60405180910390fd5b600260018190555061147a61140d565b156114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b1906167db565b60405180910390fd5b6007600082815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461155e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155590616a7b565b60405180910390fd5b61156781612e6c565b807f3d864d2c1b6545daa5b7b4ad188f731b7401c1ad8e7b0aa7714e57fe4a8a02fd600760008481526020019081526020016000206040516115a9919061869f565b60405180910390a26001808190555050565b60026001541415611601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f8906166dd565b60405180910390fd5b600260018190555061161161140d565b15611651576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611648906167db565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166009600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146116f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ec9061870d565b60405180910390fd5b6000600960008381526020019081526020016000209050611715816135c1565b61171e826136b1565b817f172e414729ca68e725ab11d0dad476faab984e1fb9118f3c0cd0bce9283abbd06009600085815260200190815260200160002060405161176091906187fd565b60405180910390a2506001808190555050565b61177b614f7c565b60076000838152602001908152602001600020604051806101200160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201805461185690616aca565b80601f016020809104026020016040519081016040528092919081815260200182805461188290616aca565b80156118cf5780601f106118a4576101008083540402835291602001916118cf565b820191906000526020600020905b8154815290600101906020018083116118b257829003601f168201915b505050505081526020016003820180548060200260200160405190810160405280929190818152602001828054801561195d57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311611913575b50505050508152602001600482018054806020026020016040519081016040528092919081815260200182805480156119b557602002820191906000526020600020905b8154815260200190600101908083116119a1575b5050505050815260200160058201805480602002602001604051908101604052809291908181526020018280548015611a0d57602002820191906000526020600020905b8154815260200190600101908083116119f9575b5050505050815260200160068201805480602002602001604051908101604052809291908181526020018280548015611a8b57602002820191906000526020600020906000905b82829054906101000a900460ff1660ff1681526020019060010190602082600001049283019260010382029150808411611a545790505b5050505050815260200160078201805480602002602001604051908101604052809291908181526020018280548015611b0857602002820191906000526020600020906000905b82829054906101000a900460ff16151581526020019060010190602082600001049283019260010382029150808411611ad25790505b5050505050815260200160088201805480602002602001604051908101604052809291908181526020018280548015611b6057602002820191906000526020600020905b815481526020019060010190808311611b4c575b5050505050815250509050919050565b6000600454905090565b6000600354905090565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199611bb681611bb1612533565b61253b565b611bbe613741565b50565b60026001541415611c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfe906166dd565b60405180910390fd5b6002600181905550611c1761140d565b15611c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4e906167db565b60405180910390fd5b611c60336137e4565b611c6d858585858561316b565b600180819055505050505050565b600381565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b620f424081565b60026001541415611d37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2e906166dd565b60405180910390fd5b6002600181905550611d4761140d565b15611d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7e906167db565b60405180910390fd5b6000611d958684878561093f565b905080341015611dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd190616847565b60405180910390fd5b611de98888888888888861390c565b611df28161353b565b506001808190555050505050505050565b611e0b614ff4565b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff1660ff1660ff168152602001600182015481526020016002820154815250509050919050565b6000801b81565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199611f1c81611f17612533565b61253b565b81600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199611f9381611f8e612533565b61253b565b816003819055507fa701c734adc954390df39cc273bd151a37445a72782f9e86c98dd19a4740149882604051611fc99190615a48565b60405180910390a15050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19961200781612002612533565b61253b565b816004819055507fad98c275fe99ef4d6c741df6bdb2851e1efffb9e71a1a68d63992a0cd8c038ed8260405161203d9190615a48565b60405180910390a15050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19961207b81612076612533565b61253b565b600073ffffffffffffffffffffffffffffffffffffffff16600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561214d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214490618891565b60405180910390fd5b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055508273ffffffffffffffffffffffffffffffffffffffff167f55da874da551007bd7fc7a2fb26d9323093416d2402d016c40fa042deb363ab6836040516121da9190615a48565b60405180910390a2505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19961221981612214612533565b61253b565b600073ffffffffffffffffffffffffffffffffffffffff16600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156122eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e290618891565b60405180910390fd5b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101819055508273ffffffffffffffffffffffffffffffffffffffff167fa7dd36139906f2738e957c249a5b90dc5e1ffeac05e1e86f53d0200343463f72836040516123789190615a48565b60405180910390a2505050565b61238e82610b8e565b61239f8161239a612533565b61253b565b6123a9838361308a565b505050565b600260015414156123f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123eb906166dd565b60405180910390fd5b600260018190555061240461140d565b15612444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243b906167db565b60405180910390fd5b61244d336137e4565b61245c8787878787878761390c565b6001808190555050505050505050565b60056020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900460ff16908060010154908060020154905084565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6125458282611c80565b6125d45761256a8173ffffffffffffffffffffffffffffffffffffffff166014613cad565b6125788360001c6020613cad565b604051602001612589929190618985565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125cb91906189f8565b60405180910390fd5b5050565b6125e061140d565b61261f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261690618a66565b60405180910390fd5b6000600260006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612663612533565b6040516126709190618a86565b60405180910390a1565b60008073ffffffffffffffffffffffffffffffffffffffff16600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561276957600160ff168360ff16141561274457620f4240600454836127339190618aa1565b61273d9190618b2a565b905061287c565b620f42406004546003546127589190618aa1565b6127629190618b2a565b905061287c565b600160ff168360ff1614156127db57620f4240600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154836127ca9190618aa1565b6127d49190618b2a565b905061287c565b620f4240600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015461286f9190618aa1565b6128799190618b2a565b90505b9392505050565b600060076000848152602001908152602001600020905060006009600084815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293a90616a7b565b60405180910390fd5b80600001548414612989576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298090618ba7565b60405180910390fd5b61299282613ee9565b6129d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c890618c39565b60405180910390fd5b6129da81614195565b612a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1090618ccb565b60405180910390fd5b60005b8260030180549050811015612b915760011515836007018281548110612a4557612a44616583565b5b90600052602060002090602091828204019190069054906101000a900460ff1615151415612a7257612b7e565b612b7d8360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856003018481548110612ad557612ad4616583565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16866004018581548110612b1657612b15616583565b5b9060005260206000200154876005018681548110612b3757612b36616583565b5b9060005260206000200154886006018781548110612b5857612b57616583565b5b90600052602060002090602091828204019190069054906101000a900460ff166143fa565b5b8080612b8990616637565b915050612a1c565b5060005b8160020180549050811015612cc257612caf8260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846002018481548110612c0757612c06616583565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856003018581548110612c4857612c47616583565b5b9060005260206000200154866004018681548110612c6957612c68616583565b5b9060005260206000200154876005018781548110612c8a57612c89616583565b5b90600052602060002090602091828204019190069054906101000a900460ff166143fa565b8080612cba90616637565b915050612b95565b5082847f5a6443be634d8594e0dff76c972a6a74f88bf761fb6e334d88dd979516f3bc8f60405160405180910390a350505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663240d78a16040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d8a9190618d00565b90506000811115612e685760005b6002811015612e6657600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633e458a8e848360028110612df257612df1616583565b5b6020020151600285612e049190618b2a565b6040518363ffffffff1660e01b8152600401612e21929190618d2d565b600060405180830381600087803b158015612e3b57600080fd5b505af1158015612e4f573d6000803e3d6000fd5b505050508080612e5e90616637565b915050612d98565b505b5050565b600060076000838152602001908152602001600020905060076000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600282016000612ef59190615035565b600382016000612f059190615075565b600482016000612f159190615096565b600582016000612f259190615096565b600682016000612f3591906150b7565b600782016000612f4591906150df565b600882016000612f559190615096565b505060005b8160080180549050811015612fa557612f92826008018281548110612f8257612f81616583565b5b90600052602060002001546136b1565b8080612f9d90616637565b915050612f5a565b505050565b612fb48282611c80565b61308657600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061302b612533565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6130948282611c80565b1561316757600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061310c612533565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b82518451146131af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a690618dc8565b60405180910390fd5b81518451146131f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ea90618e5a565b60405180910390fd5b8051845114613237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322e90618eec565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166007600087815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461334d576007600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166132f6612533565b73ffffffffffffffffffffffffffffffffffffffff161461334c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334390618f7e565b60405180910390fd5b5b6133576008614588565b6000613363600861459e565b90506040518060e001604052808781526020013373ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018381526020016007600089815260200190815260200160002060080180549050815250600960008381526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002019080519060200190613447929190615107565b506060820151816003019080519060200190613464929190615191565b506080820151816004019080519060200190613481929190615191565b5060a082015181600501908051906020019061349e9291906151de565b5060c0820151816006015590505060076000878152602001908152602001600020600801819080600181540180825580915050600190039060005260206000200160009091909190915055807fd7af2d7ec779fb9958829116ac22b6fbd4eafe2ca69287d52dc56020617a68826009600084815260200190815260200160002060405161352b91906187fd565b60405180910390a2505050505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e779c84e826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156135a557600080fd5b505af11580156135b9573d6000803e3d6000fd5b505050505050565b6000600760008360000154815260200190815260200160002090506000600182600801805490506135f29190618f9e565b90506000600960008460080184815481106136105761360f616583565b5b9060005260206000200154815260200190815260200160002090508360060154816006018190555082600801828154811061364e5761364d616583565b5b90600052602060002001548360080185600601548154811061367357613672616583565b5b90600052602060002001819055508260080180548061369557613694618fd2565b5b6001900381819060005260206000200160009055905550505050565b600960008281526020019081526020016000206000808201600090556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556002820160006137049190615075565b6003820160006137149190615096565b6004820160006137249190615096565b60058201600061373491906150b7565b6006820160009055505050565b61374961140d565b15613789576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613780906167db565b60405180910390fd5b6001600260006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586137cd612533565b6040516137da9190618a86565b60405180910390a1565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166381d9a25c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613853573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138779190618d00565b9050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166321a5a34c83836040518363ffffffff1660e01b81526004016138d6929190618d2d565b600060405180830381600087803b1580156138f057600080fd5b505af1158015613904573d6000803e3d6000fd5b505050505050565b8351855114613950576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161394790619073565b60405180910390fd5b8251855114613994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161398b90619105565b60405180910390fd5b81518551146139d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139cf90619197565b60405180910390fd5b8051855114613a1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a1390619229565b60405180910390fd5b613a266006614588565b6000613a32600661459e565b90506040518061012001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018973ffffffffffffffffffffffffffffffffffffffff168152602001888152602001878152602001868152602001858152602001848152602001838152602001600067ffffffffffffffff811115613ab757613ab66154ea565b5b604051908082528060200260200182016040528015613ae55781602001602082028036833780820191505090505b508152506007600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002019080519060200190613ba6929190615285565b506060820151816003019080519060200190613bc3929190615107565b506080820151816004019080519060200190613be0929190615191565b5060a0820151816005019080519060200190613bfd929190615191565b5060c0820151816006019080519060200190613c1a9291906151de565b5060e0820151816007019080519060200190613c3792919061530b565b50610100820151816008019080519060200190613c55929190615191565b50905050807f48e81893487928a99fb309ba6421c1f6fc1d630b8fd46ba2bd6ed6de9929ff7560076000848152602001908152602001600020604051613c9b919061869f565b60405180910390a25050505050505050565b606060006002836002613cc09190618aa1565b613cca91906165e1565b67ffffffffffffffff811115613ce357613ce26154ea565b5b6040519080825280601f01601f191660200182016040528015613d155781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613d4d57613d4c616583565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613db157613db0616583565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002613df19190618aa1565b613dfb91906165e1565b90505b6001811115613e9b577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613e3d57613e3c616583565b5b1a60f81b828281518110613e5457613e53616583565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613e9490619249565b9050613dfe565b5060008414613edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ed6906192bf565b60405180910390fd5b8091505092915050565b6000808260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000836003019050600084600501905060008560060190506000866004019050600087600701905060005b858054905081101561418557818181548110613f5d57613f5c616583565b5b90600052602060002090602091828204019190069054906101000a900460ff1615613f8757614172565b61403d87878381548110613f9e57613f9d616583565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16878481548110613fdc57613fdb616583565b5b9060005260206000200154878581548110613ffa57613ff9616583565b5b90600052602060002090602091828204019190069054906101000a900460ff1687868154811061402d5761402c616583565b5b90600052602060002001546145ac565b61407c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161407390619351565b60405180910390fd5b6141328787838154811061409357614092616583565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168784815481106140d1576140d0616583565b5b90600052602060002001548785815481106140ef576140ee616583565b5b90600052602060002090602091828204019190069054906101000a900460ff1687868154811061412257614121616583565b5b9060005260206000200154614929565b614171576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614168906193e3565b60405180910390fd5b5b808061417d90616637565b915050613f3e565b5060019650505050505050919050565b6000808260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600083600201905060008460040190506000856005019050600086600301905060005b84805490508110156143eb576142a48686838154811061420557614204616583565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686848154811061424357614242616583565b5b906000526020600020015486858154811061426157614260616583565b5b90600052602060002090602091828204019190069054906101000a900460ff1686868154811061429457614293616583565b5b90600052602060002001546145ac565b6142e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142da90619475565b60405180910390fd5b614399868683815481106142fa576142f9616583565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686848154811061433857614337616583565b5b906000526020600020015486858154811061435657614355616583565b5b90600052602060002090602091828204019190069054906101000a900460ff1686868154811061438957614388616583565b5b9060005260206000200154614929565b6143d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016143cf90619507565b60405180910390fd5b80806143e390616637565b9150506141e2565b50600195505050505050919050565b600160ff168160ff16141561443b576144368686858773ffffffffffffffffffffffffffffffffffffffff16614c23909392919063ffffffff16565b614580565b600260ff168160ff1614156144be578373ffffffffffffffffffffffffffffffffffffffff166342842e0e8787856040518463ffffffff1660e01b815260040161448793929190619527565b600060405180830381600087803b1580156144a157600080fd5b505af11580156144b5573d6000803e3d6000fd5b5050505061457f565b600360ff168160ff161415614543578373ffffffffffffffffffffffffffffffffffffffff1663f242432a878785876040518563ffffffff1660e01b815260040161450c9493929190619595565b600060405180830381600087803b15801561452657600080fd5b505af115801561453a573d6000803e3d6000fd5b5050505061457e565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016145759061965f565b60405180910390fd5b5b5b505050505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b6000600160ff168360ff161415614686576000859050828173ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e89306040518363ffffffff1660e01b81526004016145fe92919061967f565b602060405180830381865afa15801561461b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061463f9190618d00565b1015614680576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016146779061971a565b60405180910390fd5b5061491c565b600260ff168360ff16141561480a5760008590503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663081812fc876040518263ffffffff1660e01b81526004016146ea9190615a48565b602060405180830381865afa158015614707573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061472b919061974f565b73ffffffffffffffffffffffffffffffffffffffff1614806147c557508073ffffffffffffffffffffffffffffffffffffffff1663e985e9c588306040518363ffffffff1660e01b815260040161478392919061967f565b602060405180830381865afa1580156147a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147c49190619791565b5b614804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016147fb90619830565b60405180910390fd5b5061491b565b600360ff168360ff1614156148df5760008590508073ffffffffffffffffffffffffffffffffffffffff1663e985e9c588306040518363ffffffff1660e01b815260040161485992919061967f565b602060405180830381865afa158015614876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061489a9190619791565b6148d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016148d0906198c2565b60405180910390fd5b5061491a565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161491190619954565b60405180910390fd5b5b5b6001905095945050505050565b6000600160ff168360ff161415614a01576000859050828173ffffffffffffffffffffffffffffffffffffffff166370a08231896040518263ffffffff1660e01b81526004016149799190618a86565b602060405180830381865afa158015614996573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906149ba9190618d00565b10156149fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016149f2906199e6565b60405180910390fd5b50614c16565b600260ff168360ff161415614b025760008590508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b8152600401614a659190615a48565b602060405180830381865afa158015614a82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614aa6919061974f565b73ffffffffffffffffffffffffffffffffffffffff1614614afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614af390619a78565b60405180910390fd5b50614c15565b600360ff168360ff161415614bd9576000859050828173ffffffffffffffffffffffffffffffffffffffff1662fdd58e89886040518363ffffffff1660e01b8152600401614b51929190618d2d565b602060405180830381865afa158015614b6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614b929190618d00565b1015614bd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614bca90619b0a565b60405180910390fd5b50614c14565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614c0b90619954565b60405180910390fd5b5b5b6001905095945050505050565b614ca6846323b872dd60e01b858585604051602401614c4493929190619527565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614cac565b50505050565b6000614d0e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16614d739092919063ffffffff16565b9050600081511115614d6e5780806020019051810190614d2e9190619791565b614d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614d6490619b9c565b60405180910390fd5b5b505050565b6060614d828484600085614d8b565b90509392505050565b606082471015614dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614dc790619c2e565b60405180910390fd5b614dd985614e9f565b614e18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614e0f90619c9a565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051614e419190619d01565b60006040518083038185875af1925050503d8060008114614e7e576040519150601f19603f3d011682016040523d82523d6000602084013e614e83565b606091505b5091509150614e93828286614ec2565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315614ed257829050614f22565b600083511115614ee55782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614f1991906189f8565b60405180910390fd5b9392505050565b6040518060e0016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160608152602001606081526020016060815260200160608152602001600081525090565b604051806101200160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001606081526020016060815260200160608152602001606081526020016060815260200160608152602001606081525090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600060ff16815260200160008152602001600081525090565b50805461504190616aca565b6000825580601f106150535750615072565b601f01602090049060005260206000209081019061507191906153b1565b5b50565b508054600082559060005260206000209081019061509391906153b1565b50565b50805460008255906000526020600020908101906150b491906153b1565b50565b50805460008255601f0160209004906000526020600020908101906150dc91906153b1565b50565b50805460008255601f01602090049060005260206000209081019061510491906153b1565b50565b828054828255906000526020600020908101928215615180579160200282015b8281111561517f5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190615127565b5b50905061518d91906153b1565b5090565b8280548282559060005260206000209081019282156151cd579160200282015b828111156151cc5782518255916020019190600101906151b1565b5b5090506151da91906153b1565b5090565b82805482825590600052602060002090601f016020900481019282156152745791602002820160005b8382111561524557835183826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302615207565b80156152725782816101000a81549060ff0219169055600101602081600001049283019260010302615245565b505b50905061528191906153b1565b5090565b82805461529190616aca565b90600052602060002090601f0160209004810192826152b357600085556152fa565b82601f106152cc57805160ff19168380011785556152fa565b828001600101855582156152fa579182015b828111156152f95782518255916020019190600101906152de565b5b50905061530791906153b1565b5090565b82805482825590600052602060002090601f016020900481019282156153a05791602002820160005b8382111561537157835183826101000a81548160ff0219169083151502179055509260200192600101602081600001049283019260010302615334565b801561539e5782816101000a81549060ff0219169055600101602081600001049283019260010302615371565b505b5090506153ad91906153b1565b5090565b5b808211156153ca5760008160009055506001016153b2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b615417816153e2565b811461542257600080fd5b50565b6000813590506154348161540e565b92915050565b6000602082840312156154505761544f6153d8565b5b600061545e84828501615425565b91505092915050565b60008115159050919050565b61547c81615467565b82525050565b60006020820190506154976000830184615473565b92915050565b600060ff82169050919050565b6154b38161549d565b82525050565b60006020820190506154ce60008301846154aa565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b615522826154d9565b810181811067ffffffffffffffff82111715615541576155406154ea565b5b80604052505050565b60006155546153ce565b90506155608282615519565b919050565b600067ffffffffffffffff8211156155805761557f6154ea565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006155c182615596565b9050919050565b6155d1816155b6565b81146155dc57600080fd5b50565b6000813590506155ee816155c8565b92915050565b600061560761560284615565565b61554a565b9050808382526020820190506020840283018581111561562a57615629615591565b5b835b81811015615653578061563f88826155df565b84526020840193505060208101905061562c565b5050509392505050565b600082601f830112615672576156716154d4565b5b81356156828482602086016155f4565b91505092915050565b600067ffffffffffffffff8211156156a6576156a56154ea565b5b602082029050602081019050919050565b6156c08161549d565b81146156cb57600080fd5b50565b6000813590506156dd816156b7565b92915050565b60006156f66156f18461568b565b61554a565b9050808382526020820190506020840283018581111561571957615718615591565b5b835b81811015615742578061572e88826156ce565b84526020840193505060208101905061571b565b5050509392505050565b600082601f830112615761576157606154d4565b5b81356157718482602086016156e3565b91505092915050565b600067ffffffffffffffff821115615795576157946154ea565b5b602082029050602081019050919050565b6000819050919050565b6157b9816157a6565b81146157c457600080fd5b50565b6000813590506157d6816157b0565b92915050565b60006157ef6157ea8461577a565b61554a565b9050808382526020820190506020840283018581111561581257615811615591565b5b835b8181101561583b578061582788826157c7565b845260208401935050602081019050615814565b5050509392505050565b600082601f83011261585a576158596154d4565b5b813561586a8482602086016157dc565b91505092915050565b600067ffffffffffffffff82111561588e5761588d6154ea565b5b602082029050602081019050919050565b6158a881615467565b81146158b357600080fd5b50565b6000813590506158c58161589f565b92915050565b60006158de6158d984615873565b61554a565b9050808382526020820190506020840283018581111561590157615900615591565b5b835b8181101561592a578061591688826158b6565b845260208401935050602081019050615903565b5050509392505050565b600082601f830112615949576159486154d4565b5b81356159598482602086016158cb565b91505092915050565b6000806000806080858703121561597c5761597b6153d8565b5b600085013567ffffffffffffffff81111561599a576159996153dd565b5b6159a68782880161565d565b945050602085013567ffffffffffffffff8111156159c7576159c66153dd565b5b6159d38782880161574c565b935050604085013567ffffffffffffffff8111156159f4576159f36153dd565b5b615a0087828801615845565b925050606085013567ffffffffffffffff811115615a2157615a206153dd565b5b615a2d87828801615934565b91505092959194509250565b615a42816157a6565b82525050565b6000602082019050615a5d6000830184615a39565b92915050565b60008060408385031215615a7a57615a796153d8565b5b6000615a88858286016157c7565b9250506020615a99858286016157c7565b9150509250929050565b600060208284031215615ab957615ab86153d8565b5b6000615ac7848285016155df565b91505092915050565b6000819050919050565b615ae381615ad0565b8114615aee57600080fd5b50565b600081359050615b0081615ada565b92915050565b600060208284031215615b1c57615b1b6153d8565b5b6000615b2a84828501615af1565b91505092915050565b615b3c81615ad0565b82525050565b6000602082019050615b576000830184615b33565b92915050565b600060208284031215615b7357615b726153d8565b5b6000615b81848285016157c7565b91505092915050565b615b93816157a6565b82525050565b615ba2816155b6565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000615be08383615b99565b60208301905092915050565b6000602082019050919050565b6000615c0482615ba8565b615c0e8185615bb3565b9350615c1983615bc4565b8060005b83811015615c4a578151615c318882615bd4565b9750615c3c83615bec565b925050600181019050615c1d565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000615c8f8383615b8a565b60208301905092915050565b6000602082019050919050565b6000615cb382615c57565b615cbd8185615c62565b9350615cc883615c73565b8060005b83811015615cf9578151615ce08882615c83565b9750615ceb83615c9b565b925050600181019050615ccc565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b615d3b8161549d565b82525050565b6000615d4d8383615d32565b60208301905092915050565b6000602082019050919050565b6000615d7182615d06565b615d7b8185615d11565b9350615d8683615d22565b8060005b83811015615db7578151615d9e8882615d41565b9750615da983615d59565b925050600181019050615d8a565b5085935050505092915050565b600060e083016000830151615ddc6000860182615b8a565b506020830151615def6020860182615b99565b5060408301518482036040860152615e078282615bf9565b91505060608301518482036060860152615e218282615ca8565b91505060808301518482036080860152615e3b8282615ca8565b91505060a083015184820360a0860152615e558282615d66565b91505060c0830151615e6a60c0860182615b8a565b508091505092915050565b60006020820190508181036000830152615e8f8184615dc4565b905092915050565b60008060408385031215615eae57615ead6153d8565b5b6000615ebc85828601615af1565b9250506020615ecd858286016155df565b9150509250929050565b600080600080600060a08688031215615ef357615ef26153d8565b5b6000615f01888289016157c7565b955050602086013567ffffffffffffffff811115615f2257615f216153dd565b5b615f2e8882890161565d565b945050604086013567ffffffffffffffff811115615f4f57615f4e6153dd565b5b615f5b88828901615845565b935050606086013567ffffffffffffffff811115615f7c57615f7b6153dd565b5b615f8888828901615845565b925050608086013567ffffffffffffffff811115615fa957615fa86153dd565b5b615fb58882890161574c565b9150509295509295909350565b60008060008060808587031215615fdc57615fdb6153d8565b5b6000615fea878288016155df565b9450506020615ffb878288016156ce565b935050604061600c878288016157c7565b925050606061601d878288016157c7565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b60005b83811015616063578082015181840152602081019050616048565b83811115616072576000848401525b50505050565b600061608382616029565b61608d8185616034565b935061609d818560208601616045565b6160a6816154d9565b840191505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6160e681615467565b82525050565b60006160f883836160dd565b60208301905092915050565b6000602082019050919050565b600061611c826160b1565b61612681856160bc565b9350616131836160cd565b8060005b8381101561616257815161614988826160ec565b975061615483616104565b925050600181019050616135565b5085935050505092915050565b6000610120830160008301516161886000860182615b99565b50602083015161619b6020860182615b99565b50604083015184820360408601526161b38282616078565b915050606083015184820360608601526161cd8282615bf9565b915050608083015184820360808601526161e78282615ca8565b91505060a083015184820360a08601526162018282615ca8565b91505060c083015184820360c086015261621b8282615d66565b91505060e083015184820360e08601526162358282616111565b9150506101008301518482036101008601526162518282615ca8565b9150508091505092915050565b60006020820190508181036000830152616278818461616f565b905092915050565b600080fd5b600067ffffffffffffffff8211156162a05761629f6154ea565b5b6162a9826154d9565b9050602081019050919050565b82818337600083830152505050565b60006162d86162d384616285565b61554a565b9050828152602081018484840111156162f4576162f3616280565b5b6162ff8482856162b6565b509392505050565b600082601f83011261631c5761631b6154d4565b5b813561632c8482602086016162c5565b91505092915050565b600080600080600080600060e0888a031215616354576163536153d8565b5b60006163628a828b016155df565b975050602088013567ffffffffffffffff811115616383576163826153dd565b5b61638f8a828b01616307565b965050604088013567ffffffffffffffff8111156163b0576163af6153dd565b5b6163bc8a828b0161565d565b955050606088013567ffffffffffffffff8111156163dd576163dc6153dd565b5b6163e98a828b01615845565b945050608088013567ffffffffffffffff81111561640a576164096153dd565b5b6164168a828b01615845565b93505060a088013567ffffffffffffffff811115616437576164366153dd565b5b6164438a828b0161574c565b92505060c088013567ffffffffffffffff811115616464576164636153dd565b5b6164708a828b01615934565b91505092959891949750929550565b6080820160008201516164956000850182615b99565b5060208201516164a86020850182615d32565b5060408201516164bb6040850182615b8a565b5060608201516164ce6060850182615b8a565b50505050565b60006080820190506164e9600083018461647f565b92915050565b60008060408385031215616506576165056153d8565b5b6000616514858286016155df565b9250506020616525858286016157c7565b9150509250929050565b616538816155b6565b82525050565b6000608082019050616553600083018761652f565b61656060208301866154aa565b61656d6040830185615a39565b61657a6060830184615a39565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006165ec826157a6565b91506165f7836157a6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561662c5761662b6165b2565b5b828201905092915050565b6000616642826157a6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415616675576166746165b2565b5b600182019050919050565b600082825260208201905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006166c7601f83616680565b91506166d282616691565b602082019050919050565b600060208201905081810360008301526166f6816166ba565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000616759602f83616680565b9150616764826166fd565b604082019050919050565b600060208201905081810360008301526167888161674c565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006167c5601083616680565b91506167d08261678f565b602082019050919050565b600060208201905081810360008301526167f4816167b8565b9050919050565b7f50697870726573733a20696e73756666696369656e7420737761702066656500600082015250565b6000616831601f83616680565b915061683c826167fb565b602082019050919050565b6000602082019050818103600083015261686081616824565b9050919050565b7f41737365744d616e616765723a20617373657420616c7265616479206578697360008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b60006168c3602183616680565b91506168ce82616867565b604082019050919050565b600060208201905081810360008301526168f2816168b6565b9050919050565b60008160001c9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000616939616934836168f9565b616906565b9050919050565b60008160a01c9050919050565b600060ff82169050919050565b600061696d61696883616940565b61694d565b9050919050565b6000819050919050565b600061699161698c836168f9565b616974565b9050919050565b6080820160008083015490506169ad81616926565b6169ba6000860182615b99565b506169c48161695a565b6169d16020860182615d32565b50600183015490506169e28161697e565b6169ef6040860182615b8a565b5060028301549050616a008161697e565b616a0d6060860182615b8a565b5050505050565b6000608082019050616a296000830184616998565b92915050565b7f417373657420537761707065723a20696e76616c69642070726f706f73657200600082015250565b6000616a65601f83616680565b9150616a7082616a2f565b602082019050919050565b60006020820190508181036000830152616a9481616a58565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680616ae257607f821691505b60208210811415616af657616af5616a9b565b5b50919050565b60008190508160005260206000209050919050565b60008154616b1e81616aca565b616b288186616034565b94506001821660008114616b435760018114616b5557616b88565b60ff1983168652602086019350616b88565b616b5e85616afc565b60005b83811015616b8057815481890152600182019150602081019050616b61565b808801955050505b50505092915050565b600081549050919050565b60008190508160005260206000209050919050565b6000616bbd8254616926565b9050919050565b6000600182019050919050565b6000616bdc82616b91565b616be68185615bb3565b9350616bf183616b9c565b8060005b83811015616c2957616c0682616bb1565b616c108882615bd4565b9750616c1b83616bc4565b925050600181019050616bf5565b5085935050505092915050565b600081549050919050565b60008190508160005260206000209050919050565b6000616c62825461697e565b9050919050565b6000600182019050919050565b6000616c8182616c36565b616c8b8185615c62565b9350616c9683616c41565b8060005b83811015616cce57616cab82616c56565b616cb58882615c83565b9750616cc083616c69565b925050600181019050616c9a565b5085935050505092915050565b600081549050919050565b60008190508160005260206000209050919050565b6000616d0e616d09836168f9565b61694d565b9050919050565b60008160081c9050919050565b6000616d35616d3083616d15565b61694d565b9050919050565b60008160101c9050919050565b6000616d5c616d5783616d3c565b61694d565b9050919050565b60008160181c9050919050565b6000616d83616d7e83616d63565b61694d565b9050919050565b60008160201c9050919050565b6000616daa616da583616d8a565b61694d565b9050919050565b60008160281c9050919050565b6000616dd1616dcc83616db1565b61694d565b9050919050565b60008160301c9050919050565b6000616df8616df383616dd8565b61694d565b9050919050565b60008160381c9050919050565b6000616e1f616e1a83616dff565b61694d565b9050919050565b60008160401c9050919050565b6000616e46616e4183616e26565b61694d565b9050919050565b60008160481c9050919050565b6000616e6d616e6883616e4d565b61694d565b9050919050565b60008160501c9050919050565b6000616e94616e8f83616e74565b61694d565b9050919050565b60008160581c9050919050565b6000616ebb616eb683616e9b565b61694d565b9050919050565b60008160601c9050919050565b6000616ee2616edd83616ec2565b61694d565b9050919050565b60008160681c9050919050565b6000616f09616f0483616ee9565b61694d565b9050919050565b60008160701c9050919050565b6000616f30616f2b83616f10565b61694d565b9050919050565b60008160781c9050919050565b6000616f57616f5283616f37565b61694d565b9050919050565b60008160801c9050919050565b6000616f7e616f7983616f5e565b61694d565b9050919050565b60008160881c9050919050565b6000616fa5616fa083616f85565b61694d565b9050919050565b60008160901c9050919050565b6000616fcc616fc783616fac565b61694d565b9050919050565b60008160981c9050919050565b6000616ff3616fee83616fd3565b61694d565b9050919050565b60008160a81c9050919050565b600061701a61701583616ffa565b61694d565b9050919050565b60008160b01c9050919050565b600061704161703c83617021565b61694d565b9050919050565b60008160b81c9050919050565b600061706861706383617048565b61694d565b9050919050565b60008160c01c9050919050565b600061708f61708a8361706f565b61694d565b9050919050565b60008160c81c9050919050565b60006170b66170b183617096565b61694d565b9050919050565b60008160d01c9050919050565b60006170dd6170d8836170bd565b61694d565b9050919050565b60008160d81c9050919050565b60006171046170ff836170e4565b61694d565b9050919050565b60008160e01c9050919050565b600061712b6171268361710b565b61694d565b9050919050565b60008160e81c9050919050565b600061715261714d83617132565b61694d565b9050919050565b60008160f01c9050919050565b600061717961717483617159565b61694d565b9050919050565b60008160f81c9050919050565b60006171a061719b83617180565b61694d565b9050919050565b60006171b282616cdb565b6171bc8185615d11565b9350836171c884616ce6565b60006001156174f5575b836001602003820110156174f45781546171f4886171ef83616cfb565b615d32565b60208801975061720c8861720783616d22565b615d32565b6020880197506172248861721f83616d49565b615d32565b60208801975061723c8861723783616d70565b615d32565b6020880197506172548861724f83616d97565b615d32565b60208801975061726c8861726783616dbe565b615d32565b6020880197506172848861727f83616de5565b615d32565b60208801975061729c8861729783616e0c565b615d32565b6020880197506172b4886172af83616e33565b615d32565b6020880197506172cc886172c783616e5a565b615d32565b6020880197506172e4886172df83616e81565b615d32565b6020880197506172fc886172f783616ea8565b615d32565b6020880197506173148861730f83616ecf565b615d32565b60208801975061732c8861732783616ef6565b615d32565b6020880197506173448861733f83616f1d565b615d32565b60208801975061735c8861735783616f44565b615d32565b6020880197506173748861736f83616f6b565b615d32565b60208801975061738c8861738783616f92565b615d32565b6020880197506173a48861739f83616fb9565b615d32565b6020880197506173bc886173b783616fe0565b615d32565b6020880197506173d4886173cf8361695a565b615d32565b6020880197506173ec886173e783617007565b615d32565b602088019750617404886173ff8361702e565b615d32565b60208801975061741c8861741783617055565b615d32565b6020880197506174348861742f8361707c565b615d32565b60208801975061744c88617447836170a3565b615d32565b6020880197506174648861745f836170ca565b615d32565b60208801975061747c88617477836170f1565b615d32565b6020880197506174948861748f83617118565b615d32565b6020880197506174ac886174a78361713f565b615d32565b6020880197506174c4886174bf83617166565b615d32565b6020880197506174dc886174d78361718d565b615d32565b602088019750600183019250506020810190506171d2565b5b6001156179e057815484821015617525576175188861751383616cfb565b615d32565b6020880197506001820191505b8482101561754c5761753f8861753a83616d22565b615d32565b6020880197506001820191505b84821015617573576175668861756183616d49565b615d32565b6020880197506001820191505b8482101561759a5761758d8861758883616d70565b615d32565b6020880197506001820191505b848210156175c1576175b4886175af83616d97565b615d32565b6020880197506001820191505b848210156175e8576175db886175d683616dbe565b615d32565b6020880197506001820191505b8482101561760f57617602886175fd83616de5565b615d32565b6020880197506001820191505b84821015617636576176298861762483616e0c565b615d32565b6020880197506001820191505b8482101561765d576176508861764b83616e33565b615d32565b6020880197506001820191505b84821015617684576176778861767283616e5a565b615d32565b6020880197506001820191505b848210156176ab5761769e8861769983616e81565b615d32565b6020880197506001820191505b848210156176d2576176c5886176c083616ea8565b615d32565b6020880197506001820191505b848210156176f9576176ec886176e783616ecf565b615d32565b6020880197506001820191505b84821015617720576177138861770e83616ef6565b615d32565b6020880197506001820191505b848210156177475761773a8861773583616f1d565b615d32565b6020880197506001820191505b8482101561776e576177618861775c83616f44565b615d32565b6020880197506001820191505b84821015617795576177888861778383616f6b565b615d32565b6020880197506001820191505b848210156177bc576177af886177aa83616f92565b615d32565b6020880197506001820191505b848210156177e3576177d6886177d183616fb9565b615d32565b6020880197506001820191505b8482101561780a576177fd886177f883616fe0565b615d32565b6020880197506001820191505b84821015617831576178248861781f8361695a565b615d32565b6020880197506001820191505b848210156178585761784b8861784683617007565b615d32565b6020880197506001820191505b8482101561787f576178728861786d8361702e565b615d32565b6020880197506001820191505b848210156178a6576178998861789483617055565b615d32565b6020880197506001820191505b848210156178cd576178c0886178bb8361707c565b615d32565b6020880197506001820191505b848210156178f4576178e7886178e2836170a3565b615d32565b6020880197506001820191505b8482101561791b5761790e88617909836170ca565b615d32565b6020880197506001820191505b848210156179425761793588617930836170f1565b615d32565b6020880197506001820191505b848210156179695761795c8861795783617118565b615d32565b6020880197506001820191505b84821015617990576179838861797e8361713f565b615d32565b6020880197506001820191505b848210156179b7576179aa886179a583617166565b615d32565b6020880197506001820191505b848210156179de576179d1886179cc8361718d565b615d32565b6020880197506001820191505b505b8694505050505092915050565b600081549050919050565b60008190508160005260206000209050919050565b600060ff82169050919050565b6000617a2d617a28836168f9565b617a0d565b9050919050565b6000617a47617a4283616d15565b617a0d565b9050919050565b6000617a61617a5c83616d3c565b617a0d565b9050919050565b6000617a7b617a7683616d63565b617a0d565b9050919050565b6000617a95617a9083616d8a565b617a0d565b9050919050565b6000617aaf617aaa83616db1565b617a0d565b9050919050565b6000617ac9617ac483616dd8565b617a0d565b9050919050565b6000617ae3617ade83616dff565b617a0d565b9050919050565b6000617afd617af883616e26565b617a0d565b9050919050565b6000617b17617b1283616e4d565b617a0d565b9050919050565b6000617b31617b2c83616e74565b617a0d565b9050919050565b6000617b4b617b4683616e9b565b617a0d565b9050919050565b6000617b65617b6083616ec2565b617a0d565b9050919050565b6000617b7f617b7a83616ee9565b617a0d565b9050919050565b6000617b99617b9483616f10565b617a0d565b9050919050565b6000617bb3617bae83616f37565b617a0d565b9050919050565b6000617bcd617bc883616f5e565b617a0d565b9050919050565b6000617be7617be283616f85565b617a0d565b9050919050565b6000617c01617bfc83616fac565b617a0d565b9050919050565b6000617c1b617c1683616fd3565b617a0d565b9050919050565b6000617c35617c3083616940565b617a0d565b9050919050565b6000617c4f617c4a83616ffa565b617a0d565b9050919050565b6000617c69617c6483617021565b617a0d565b9050919050565b6000617c83617c7e83617048565b617a0d565b9050919050565b6000617c9d617c988361706f565b617a0d565b9050919050565b6000617cb7617cb283617096565b617a0d565b9050919050565b6000617cd1617ccc836170bd565b617a0d565b9050919050565b6000617ceb617ce6836170e4565b617a0d565b9050919050565b6000617d05617d008361710b565b617a0d565b9050919050565b6000617d1f617d1a83617132565b617a0d565b9050919050565b6000617d39617d3483617159565b617a0d565b9050919050565b6000617d53617d4e83617180565b617a0d565b9050919050565b6000617d65826179ed565b617d6f81856160bc565b935083617d7b846179f8565b60006001156180a8575b836001602003820110156180a7578154617da788617da283617a1a565b6160dd565b602088019750617dbf88617dba83617a34565b6160dd565b602088019750617dd788617dd283617a4e565b6160dd565b602088019750617def88617dea83617a68565b6160dd565b602088019750617e0788617e0283617a82565b6160dd565b602088019750617e1f88617e1a83617a9c565b6160dd565b602088019750617e3788617e3283617ab6565b6160dd565b602088019750617e4f88617e4a83617ad0565b6160dd565b602088019750617e6788617e6283617aea565b6160dd565b602088019750617e7f88617e7a83617b04565b6160dd565b602088019750617e9788617e9283617b1e565b6160dd565b602088019750617eaf88617eaa83617b38565b6160dd565b602088019750617ec788617ec283617b52565b6160dd565b602088019750617edf88617eda83617b6c565b6160dd565b602088019750617ef788617ef283617b86565b6160dd565b602088019750617f0f88617f0a83617ba0565b6160dd565b602088019750617f2788617f2283617bba565b6160dd565b602088019750617f3f88617f3a83617bd4565b6160dd565b602088019750617f5788617f5283617bee565b6160dd565b602088019750617f6f88617f6a83617c08565b6160dd565b602088019750617f8788617f8283617c22565b6160dd565b602088019750617f9f88617f9a83617c3c565b6160dd565b602088019750617fb788617fb283617c56565b6160dd565b602088019750617fcf88617fca83617c70565b6160dd565b602088019750617fe788617fe283617c8a565b6160dd565b602088019750617fff88617ffa83617ca4565b6160dd565b6020880197506180178861801283617cbe565b6160dd565b60208801975061802f8861802a83617cd8565b6160dd565b6020880197506180478861804283617cf2565b6160dd565b60208801975061805f8861805a83617d0c565b6160dd565b6020880197506180778861807283617d26565b6160dd565b60208801975061808f8861808a83617d40565b6160dd565b60208801975060018301925050602081019050617d85565b5b600115618593578154848210156180d8576180cb886180c683617a1a565b6160dd565b6020880197506001820191505b848210156180ff576180f2886180ed83617a34565b6160dd565b6020880197506001820191505b84821015618126576181198861811483617a4e565b6160dd565b6020880197506001820191505b8482101561814d576181408861813b83617a68565b6160dd565b6020880197506001820191505b84821015618174576181678861816283617a82565b6160dd565b6020880197506001820191505b8482101561819b5761818e8861818983617a9c565b6160dd565b6020880197506001820191505b848210156181c2576181b5886181b083617ab6565b6160dd565b6020880197506001820191505b848210156181e9576181dc886181d783617ad0565b6160dd565b6020880197506001820191505b8482101561821057618203886181fe83617aea565b6160dd565b6020880197506001820191505b848210156182375761822a8861822583617b04565b6160dd565b6020880197506001820191505b8482101561825e576182518861824c83617b1e565b6160dd565b6020880197506001820191505b84821015618285576182788861827383617b38565b6160dd565b6020880197506001820191505b848210156182ac5761829f8861829a83617b52565b6160dd565b6020880197506001820191505b848210156182d3576182c6886182c183617b6c565b6160dd565b6020880197506001820191505b848210156182fa576182ed886182e883617b86565b6160dd565b6020880197506001820191505b84821015618321576183148861830f83617ba0565b6160dd565b6020880197506001820191505b848210156183485761833b8861833683617bba565b6160dd565b6020880197506001820191505b8482101561836f576183628861835d83617bd4565b6160dd565b6020880197506001820191505b84821015618396576183898861838483617bee565b6160dd565b6020880197506001820191505b848210156183bd576183b0886183ab83617c08565b6160dd565b6020880197506001820191505b848210156183e4576183d7886183d283617c22565b6160dd565b6020880197506001820191505b8482101561840b576183fe886183f983617c3c565b6160dd565b6020880197506001820191505b84821015618432576184258861842083617c56565b6160dd565b6020880197506001820191505b848210156184595761844c8861844783617c70565b6160dd565b6020880197506001820191505b84821015618480576184738861846e83617c8a565b6160dd565b6020880197506001820191505b848210156184a75761849a8861849583617ca4565b6160dd565b6020880197506001820191505b848210156184ce576184c1886184bc83617cbe565b6160dd565b6020880197506001820191505b848210156184f5576184e8886184e383617cd8565b6160dd565b6020880197506001820191505b8482101561851c5761850f8861850a83617cf2565b6160dd565b6020880197506001820191505b84821015618543576185368861853183617d0c565b6160dd565b6020880197506001820191505b8482101561856a5761855d8861855883617d26565b6160dd565b6020880197506001820191505b84821015618591576185848861857f83617d40565b6160dd565b6020880197506001820191505b505b8694505050505092915050565b6000610120830160008084015490506185b881616926565b6185c56000870182615b99565b50600184015490506185d681616926565b6185e36020870182615b99565b506002840185830360408701526185fa8382616b11565b9250506003840185830360608701526186138382616bd1565b92505060048401858303608087015261862c8382616c76565b9250506005840185830360a08701526186458382616c76565b9250506006840185830360c087015261865e83826171a7565b9250506007840185830360e08701526186778382617d5a565b925050600884018583036101008701526186918382616c76565b925050819250505092915050565b600060208201905081810360008301526186b981846185a0565b905092915050565b7f417373657420537761707065723a20696e76616c6964206d6174636865720000600082015250565b60006186f7601e83616680565b9150618702826186c1565b602082019050919050565b60006020820190508181036000830152618726816186ea565b9050919050565b600060e0830160008084015490506187448161697e565b6187516000870182615b8a565b506001840154905061876281616926565b61876f6020870182615b99565b506002840185830360408701526187868382616bd1565b92505060038401858303606087015261879f8382616c76565b9250506004840185830360808701526187b88382616c76565b9250506005840185830360a08701526187d183826171a7565b925050600684015490506187e48161697e565b6187f160c0870182615b8a565b50819250505092915050565b60006020820190508181036000830152618817818461872d565b905092915050565b7f41737365744d616e616765723a20617373657420646f6573206e6f742065786960008201527f7374000000000000000000000000000000000000000000000000000000000000602082015250565b600061887b602283616680565b91506188868261881f565b604082019050919050565b600060208201905081810360008301526188aa8161886e565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006188f26017836188b1565b91506188fd826188bc565b601782019050919050565b600061891382616029565b61891d81856188b1565b935061892d818560208601616045565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061896f6011836188b1565b915061897a82618939565b601182019050919050565b6000618990826188e5565b915061899c8285618908565b91506189a782618962565b91506189b38284618908565b91508190509392505050565b60006189ca82616029565b6189d48185616680565b93506189e4818560208601616045565b6189ed816154d9565b840191505092915050565b60006020820190508181036000830152618a1281846189bf565b905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000618a50601483616680565b9150618a5b82618a1a565b602082019050919050565b60006020820190508181036000830152618a7f81618a43565b9050919050565b6000602082019050618a9b600083018461652f565b92915050565b6000618aac826157a6565b9150618ab7836157a6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615618af057618aef6165b2565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000618b35826157a6565b9150618b40836157a6565b925082618b5057618b4f618afb565b5b828204905092915050565b7f417373657420537761707065723a20696e76616c6964206d6174636820696400600082015250565b6000618b91601f83616680565b9150618b9c82618b5b565b602082019050919050565b60006020820190508181036000830152618bc081618b84565b9050919050565b7f417373657420537761707065723a2070726f706f73657220617373657473206960008201527f6e76616c69640000000000000000000000000000000000000000000000000000602082015250565b6000618c23602683616680565b9150618c2e82618bc7565b604082019050919050565b60006020820190508181036000830152618c5281618c16565b9050919050565b7f417373657420537761707065723a206d6174636865722061737365747320696e60008201527f76616c6964000000000000000000000000000000000000000000000000000000602082015250565b6000618cb5602583616680565b9150618cc082618c59565b604082019050919050565b60006020820190508181036000830152618ce481618ca8565b9050919050565b600081519050618cfa816157b0565b92915050565b600060208284031215618d1657618d156153d8565b5b6000618d2484828501618ceb565b91505092915050565b6000604082019050618d42600083018561652f565b618d4f6020830184615a39565b9392505050565b7f41737365737420537761707065723a20616d6f756e74207265636f726420736960008201527f7a6520646f6573206e6f74206d61746368000000000000000000000000000000602082015250565b6000618db2603183616680565b9150618dbd82618d56565b604082019050919050565b60006020820190508181036000830152618de181618da5565b9050919050565b7f41737365737420537761707065723a206964207265636f72642073697a65206460008201527f6f6573206e6f74206d6174636800000000000000000000000000000000000000602082015250565b6000618e44602d83616680565b9150618e4f82618de8565b604082019050919050565b60006020820190508181036000830152618e7381618e37565b9050919050565b7f41737365737420537761707065723a2070726f746f636f6c207265636f72642060008201527f73697a6520646f6573206e6f74206d6174636800000000000000000000000000602082015250565b6000618ed6603383616680565b9150618ee182618e7a565b604082019050919050565b60006020820190508181036000830152618f0581618ec9565b9050919050565b7f41737365737420537761707065723a20726563656976657220646f6573206e6f60008201527f74206d6174636800000000000000000000000000000000000000000000000000602082015250565b6000618f68602783616680565b9150618f7382618f0c565b604082019050919050565b60006020820190508181036000830152618f9781618f5b565b9050919050565b6000618fa9826157a6565b9150618fb4836157a6565b925082821015618fc757618fc66165b2565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f417373657420537761707065723a20616d6f756e74207265636f72642073697a60008201527f6520646f6573206e6f74206d6174636800000000000000000000000000000000602082015250565b600061905d603083616680565b915061906882619001565b604082019050919050565b6000602082019050818103600083015261908c81619050565b9050919050565b7f417373657420537761707065723a206964207265636f72642073697a6520646f60008201527f6573206e6f74206d617463680000000000000000000000000000000000000000602082015250565b60006190ef602c83616680565b91506190fa82619093565b604082019050919050565b6000602082019050818103600083015261911e816190e2565b9050919050565b7f417373657420537761707065723a2070726f746f636f6c207265636f7264207360008201527f697a6520646f6573206e6f74206d617463680000000000000000000000000000602082015250565b6000619181603283616680565b915061918c82619125565b604082019050919050565b600060208201905081810360008301526191b081619174565b9050919050565b7f417373657420537761707065723a2077616e746564207265636f72642073697a60008201527f6520646f6573206e6f74206d6174636800000000000000000000000000000000602082015250565b6000619213603083616680565b915061921e826191b7565b604082019050919050565b6000602082019050818103600083015261924281619206565b9050919050565b6000619254826157a6565b91506000821415619268576192676165b2565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006192a9602083616680565b91506192b482619273565b602082019050919050565b600060208201905081810360008301526192d88161929c565b9050919050565b7f417373657420537761707065723a20736f6d652070726f706f7365722061737360008201527f65747320617265206e6f7420617070726f766564000000000000000000000000602082015250565b600061933b603483616680565b9150619346826192df565b604082019050919050565b6000602082019050818103600083015261936a8161932e565b9050919050565b7f417373657420537761707065723a20736f6d652070726f706f7365722061737360008201527f65747320617265206e6f7420696e2073746f636b000000000000000000000000602082015250565b60006193cd603483616680565b91506193d882619371565b604082019050919050565b600060208201905081810360008301526193fc816193c0565b9050919050565b7f417373657420537761707065723a20736f6d65206d617463686572206173736560008201527f747320617265206e6f7420617070726f76656400000000000000000000000000602082015250565b600061945f603383616680565b915061946a82619403565b604082019050919050565b6000602082019050818103600083015261948e81619452565b9050919050565b7f417373657420537761707065723a20736f6d65206d617463686572206173736560008201527f747320617265206e6f7420696e2073746f636b00000000000000000000000000602082015250565b60006194f1603383616680565b91506194fc82619495565b604082019050919050565b60006020820190508181036000830152619520816194e4565b9050919050565b600060608201905061953c600083018661652f565b619549602083018561652f565b6195566040830184615a39565b949350505050565b600082825260208201905092915050565b50565b600061957f60008361955e565b915061958a8261956f565b600082019050919050565b600060a0820190506195aa600083018761652f565b6195b7602083018661652f565b6195c46040830185615a39565b6195d16060830184615a39565b81810360808301526195e281619572565b905095945050505050565b7f417373657420537761707065723a2063616e6e6f74207377617020756e73757060008201527f706f7274656420746f6b656e2070726f746f636f6c0000000000000000000000602082015250565b6000619649603583616680565b9150619654826195ed565b604082019050919050565b600060208201905081810360008301526196788161963c565b9050919050565b6000604082019050619694600083018561652f565b6196a1602083018461652f565b9392505050565b7f417373657420537761707065723a20696e73756666696369656e7420746f6b6560008201527f6e20616c6c6f77616e6365000000000000000000000000000000000000000000602082015250565b6000619704602b83616680565b915061970f826196a8565b604082019050919050565b60006020820190508181036000830152619733816196f7565b9050919050565b600081519050619749816155c8565b92915050565b600060208284031215619765576197646153d8565b5b60006197738482850161973a565b91505092915050565b60008151905061978b8161589f565b92915050565b6000602082840312156197a7576197a66153d8565b5b60006197b58482850161977c565b91505092915050565b7f417373657420537761707065723a2045524337323120746f6b656e206e6f742060008201527f617070726f766564200000000000000000000000000000000000000000000000602082015250565b600061981a602983616680565b9150619825826197be565b604082019050919050565b600060208201905081810360008301526198498161980d565b9050919050565b7f417373657420537761707065723a204552433131353520746f6b656e206e6f7460008201527f20617070726f7665642000000000000000000000000000000000000000000000602082015250565b60006198ac602a83616680565b91506198b782619850565b604082019050919050565b600060208201905081810360008301526198db8161989f565b9050919050565b7f417373657420537761707065723a20756e737570706f7274656420746f6b656e60008201527f2070726f746f636f6c0000000000000000000000000000000000000000000000602082015250565b600061993e602983616680565b9150619949826198e2565b604082019050919050565b6000602082019050818103600083015261996d81619931565b9050919050565b7f417373657420537761707065723a20455243323020696e73756666696369656e60008201527f7420746f6b656e2062616c616e63650000000000000000000000000000000000602082015250565b60006199d0602f83616680565b91506199db82619974565b604082019050919050565b600060208201905081810360008301526199ff816199c3565b9050919050565b7f417373657420537761707065723a2045524337323120696e737566666963696560008201527f6e7420746f6b656e2062616c616e636500000000000000000000000000000000602082015250565b6000619a62603083616680565b9150619a6d82619a06565b604082019050919050565b60006020820190508181036000830152619a9181619a55565b9050919050565b7f417373657420537761707065723a204552433131353520696e7375666669636960008201527f656e7420746f6b656e2062616c616e6365000000000000000000000000000000602082015250565b6000619af4603183616680565b9150619aff82619a98565b604082019050919050565b60006020820190508181036000830152619b2381619ae7565b9050919050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000619b86602a83616680565b9150619b9182619b2a565b604082019050919050565b60006020820190508181036000830152619bb581619b79565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000619c18602683616680565b9150619c2382619bbc565b604082019050919050565b60006020820190508181036000830152619c4781619c0b565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000619c84601d83616680565b9150619c8f82619c4e565b602082019050919050565b60006020820190508181036000830152619cb381619c77565b9050919050565b600081519050919050565b600081905092915050565b6000619cdb82619cba565b619ce58185619cc5565b9350619cf5818560208601616045565b80840191505092915050565b6000619d0d8284619cd0565b91508190509291505056fea2646970667358221220cf570873f847d61d00072202e647cc7c9ccce013473dfa18827a022c7154d56664736f6c634300080c00330000000000000000000000000caa875db7b96538a716a9853ff45e44bb39ab3d000000000000000000000000f12bae32fa1511ef1b87a0f51d3d54eb48e38180
Deployed ByteCode
0x60806040526004361061021a5760003560e01c80637a5b0231116101235780639c4667a2116100ab578063cd7e22711161006f578063cd7e22711461079f578063d1d5a071146107c8578063d547741f146107f1578063ef0aa2181461081a578063f11b8188146108435761021a565b80639c4667a2146106bc578063a217fddf146106f9578063a6d6699214610724578063a73757011461074d578063c284f02c146107765761021a565b806384777171116100f257806384777171146105e45780638ca11c741461060d57806391d1485414610638578063961e975a146106755780639991d3bf146106a05761021a565b80637a5b02311461053a5780637d09820014610577578063807f68d2146105a25780638456cb59146105cd5761021a565b806336568abe116101a6578063558675d611610175578063558675d614610478578063576053d6146104945780635c975abb146104bd5780636c149d58146104e857806377f2fcbc146105115761021a565b806336568abe146103d05780633b2bcbf1146103f95780634a5e42b1146104245780634b7b9ad01461044d5761021a565b80631cfa8295116101ed5780631cfa8295146102db578063230c5a2514610304578063248a9ca31461032d578063262597251461036a5780632f2ff15d146103a75761021a565b806301ffc9a71461021f57806302de00e81461025c578063046f7da21461028757806319430e371461029e575b600080fd5b34801561022b57600080fd5b506102466004803603810190610241919061543a565b610883565b6040516102539190615482565b60405180910390f35b34801561026857600080fd5b506102716108fd565b60405161027e91906154b9565b60405180910390f35b34801561029357600080fd5b5061029c610902565b005b3480156102aa57600080fd5b506102c560048036038101906102c09190615962565b61093f565b6040516102d29190615a48565b60405180910390f35b3480156102e757600080fd5b5061030260048036038101906102fd9190615a63565b610a00565b005b34801561031057600080fd5b5061032b60048036038101906103269190615aa3565b610b17565b005b34801561033957600080fd5b50610354600480360381019061034f9190615b06565b610b8e565b6040516103619190615b42565b60405180910390f35b34801561037657600080fd5b50610391600480360381019061038c9190615b5d565b610bad565b60405161039e9190615e75565b60405180910390f35b3480156103b357600080fd5b506103ce60048036038101906103c99190615e97565b610e00565b005b3480156103dc57600080fd5b506103f760048036038101906103f29190615e97565b610e29565b005b34801561040557600080fd5b5061040e610eac565b60405161041b9190615b42565b60405180910390f35b34801561043057600080fd5b5061044b60048036038101906104469190615aa3565b610ed0565b005b34801561045957600080fd5b50610462610fd6565b60405161046f91906154b9565b60405180910390f35b610492600480360381019061048d9190615ed7565b610fdb565b005b3480156104a057600080fd5b506104bb60048036038101906104b69190615fc2565b61117f565b005b3480156104c957600080fd5b506104d261140d565b6040516104df9190615482565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a9190615b5d565b611424565b005b34801561051d57600080fd5b5061053860048036038101906105339190615b5d565b6115bb565b005b34801561054657600080fd5b50610561600480360381019061055c9190615b5d565b611773565b60405161056e919061625e565b60405180910390f35b34801561058357600080fd5b5061058c611b70565b6040516105999190615a48565b60405180910390f35b3480156105ae57600080fd5b506105b7611b7a565b6040516105c49190615a48565b60405180910390f35b3480156105d957600080fd5b506105e2611b84565b005b3480156105f057600080fd5b5061060b60048036038101906106069190615ed7565b611bc1565b005b34801561061957600080fd5b50610622611c7b565b60405161062f91906154b9565b60405180910390f35b34801561064457600080fd5b5061065f600480360381019061065a9190615e97565b611c80565b60405161066c9190615482565b60405180910390f35b34801561068157600080fd5b5061068a611cea565b6040516106979190615a48565b60405180910390f35b6106ba60048036038101906106b59190616335565b611cf1565b005b3480156106c857600080fd5b506106e360048036038101906106de9190615aa3565b611e03565b6040516106f091906164d4565b60405180910390f35b34801561070557600080fd5b5061070e611ee3565b60405161071b9190615b42565b60405180910390f35b34801561073057600080fd5b5061074b60048036038101906107469190615aa3565b611eea565b005b34801561075957600080fd5b50610774600480360381019061076f9190615b5d565b611f61565b005b34801561078257600080fd5b5061079d60048036038101906107989190615b5d565b611fd5565b005b3480156107ab57600080fd5b506107c660048036038101906107c191906164ef565b612049565b005b3480156107d457600080fd5b506107ef60048036038101906107ea91906164ef565b6121e7565b005b3480156107fd57600080fd5b5061081860048036038101906108139190615e97565b612385565b005b34801561082657600080fd5b50610841600480360381019061083c9190616335565b6123ae565b005b34801561084f57600080fd5b5061086a60048036038101906108659190615aa3565b61246c565b60405161087a949392919061653e565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108f657506108f5826124c9565b5b9050919050565b600281565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996109348161092f612533565b61253b565b61093c6125d8565b50565b6000806000905060005b86518110156109f3576000151584828151811061096957610968616583565b5b6020026020010151151514156109e0576109d287828151811061098f5761098e616583565b5b60200260200101518783815181106109aa576109a9616583565b5b60200260200101518784815181106109c5576109c4616583565b5b602002602001015161267a565b826109dd91906165e1565b91505b80806109eb90616637565b915050610949565b5080915050949350505050565b60026001541415610a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3d906166dd565b60405180910390fd5b6002600181905550610a588282612883565b610b0360405180604001604052803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016009600085815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250612cf7565b610b0c82612e6c565b600180819055505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610b4981610b44612533565b61253b565b81600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000806000838152602001908152602001600020600101549050919050565b610bb5614f29565b600960008381526020019081526020016000206040518060e0016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201805480602002602001604051908101604052809291908181526020018280548015610cb857602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610c6e575b5050505050815260200160038201805480602002602001604051908101604052809291908181526020018280548015610d1057602002820191906000526020600020905b815481526020019060010190808311610cfc575b5050505050815260200160048201805480602002602001604051908101604052809291908181526020018280548015610d6857602002820191906000526020600020905b815481526020019060010190808311610d54575b5050505050815260200160058201805480602002602001604051908101604052809291908181526020018280548015610de657602002820191906000526020600020906000905b82829054906101000a900460ff1660ff1681526020019060010190602082600001049283019260010382029150808411610daf5790505b505050505081526020016006820154815250509050919050565b610e0982610b8e565b610e1a81610e15612533565b61253b565b610e248383612faa565b505050565b610e31612533565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e959061676f565b60405180910390fd5b610ea8828261308a565b5050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19981565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610f0281610efd612533565b61253b565b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549060ff02191690556001820160009055600282016000905550508173ffffffffffffffffffffffffffffffffffffffff167f37803e2125c48ee96c38ddf04e826daf335b0e1603579040fd275aba6d06b6fc60405160405180910390a25050565b600181565b60026001541415611021576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611018906166dd565b60405180910390fd5b600260018190555061103161140d565b15611071576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611068906167db565b60405180910390fd5b6000845167ffffffffffffffff81111561108e5761108d6154ea565b5b6040519080825280602002602001820160405280156110bc5781602001602082028036833780820191505090505b50905060005b81518110156111055760008282815181106110e0576110df616583565b5b60200260200101901515908115158152505080806110fd90616637565b9150506110c2565b5060006111148684878561093f565b905080341015611159576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115090616847565b60405180910390fd5b611166878787878761316b565b61116f8161353b565b5050600180819055505050505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996111b1816111ac612533565b61253b565b600073ffffffffffffffffffffffffffffffffffffffff16600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611282576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611279906168d9565b60405180910390fd5b60405180608001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020018560ff16815260200184815260200183815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548160ff021916908360ff16021790555060408201518160010155606082015181600201559050508473ffffffffffffffffffffffffffffffffffffffff167ff2907ab530928e5b90d775441159d3ad184c3d3bf92dbe843026af908d61702d600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040516113fe9190616a14565b60405180910390a25050505050565b6000600260009054906101000a900460ff16905090565b6002600154141561146a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611461906166dd565b60405180910390fd5b600260018190555061147a61140d565b156114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b1906167db565b60405180910390fd5b6007600082815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461155e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155590616a7b565b60405180910390fd5b61156781612e6c565b807f3d864d2c1b6545daa5b7b4ad188f731b7401c1ad8e7b0aa7714e57fe4a8a02fd600760008481526020019081526020016000206040516115a9919061869f565b60405180910390a26001808190555050565b60026001541415611601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f8906166dd565b60405180910390fd5b600260018190555061161161140d565b15611651576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611648906167db565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166009600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146116f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ec9061870d565b60405180910390fd5b6000600960008381526020019081526020016000209050611715816135c1565b61171e826136b1565b817f172e414729ca68e725ab11d0dad476faab984e1fb9118f3c0cd0bce9283abbd06009600085815260200190815260200160002060405161176091906187fd565b60405180910390a2506001808190555050565b61177b614f7c565b60076000838152602001908152602001600020604051806101200160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201805461185690616aca565b80601f016020809104026020016040519081016040528092919081815260200182805461188290616aca565b80156118cf5780601f106118a4576101008083540402835291602001916118cf565b820191906000526020600020905b8154815290600101906020018083116118b257829003601f168201915b505050505081526020016003820180548060200260200160405190810160405280929190818152602001828054801561195d57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311611913575b50505050508152602001600482018054806020026020016040519081016040528092919081815260200182805480156119b557602002820191906000526020600020905b8154815260200190600101908083116119a1575b5050505050815260200160058201805480602002602001604051908101604052809291908181526020018280548015611a0d57602002820191906000526020600020905b8154815260200190600101908083116119f9575b5050505050815260200160068201805480602002602001604051908101604052809291908181526020018280548015611a8b57602002820191906000526020600020906000905b82829054906101000a900460ff1660ff1681526020019060010190602082600001049283019260010382029150808411611a545790505b5050505050815260200160078201805480602002602001604051908101604052809291908181526020018280548015611b0857602002820191906000526020600020906000905b82829054906101000a900460ff16151581526020019060010190602082600001049283019260010382029150808411611ad25790505b5050505050815260200160088201805480602002602001604051908101604052809291908181526020018280548015611b6057602002820191906000526020600020905b815481526020019060010190808311611b4c575b5050505050815250509050919050565b6000600454905090565b6000600354905090565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199611bb681611bb1612533565b61253b565b611bbe613741565b50565b60026001541415611c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfe906166dd565b60405180910390fd5b6002600181905550611c1761140d565b15611c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4e906167db565b60405180910390fd5b611c60336137e4565b611c6d858585858561316b565b600180819055505050505050565b600381565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b620f424081565b60026001541415611d37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2e906166dd565b60405180910390fd5b6002600181905550611d4761140d565b15611d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7e906167db565b60405180910390fd5b6000611d958684878561093f565b905080341015611dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd190616847565b60405180910390fd5b611de98888888888888861390c565b611df28161353b565b506001808190555050505050505050565b611e0b614ff4565b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff1660ff1660ff168152602001600182015481526020016002820154815250509050919050565b6000801b81565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199611f1c81611f17612533565b61253b565b81600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199611f9381611f8e612533565b61253b565b816003819055507fa701c734adc954390df39cc273bd151a37445a72782f9e86c98dd19a4740149882604051611fc99190615a48565b60405180910390a15050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19961200781612002612533565b61253b565b816004819055507fad98c275fe99ef4d6c741df6bdb2851e1efffb9e71a1a68d63992a0cd8c038ed8260405161203d9190615a48565b60405180910390a15050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19961207b81612076612533565b61253b565b600073ffffffffffffffffffffffffffffffffffffffff16600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561214d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214490618891565b60405180910390fd5b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055508273ffffffffffffffffffffffffffffffffffffffff167f55da874da551007bd7fc7a2fb26d9323093416d2402d016c40fa042deb363ab6836040516121da9190615a48565b60405180910390a2505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19961221981612214612533565b61253b565b600073ffffffffffffffffffffffffffffffffffffffff16600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156122eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e290618891565b60405180910390fd5b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101819055508273ffffffffffffffffffffffffffffffffffffffff167fa7dd36139906f2738e957c249a5b90dc5e1ffeac05e1e86f53d0200343463f72836040516123789190615a48565b60405180910390a2505050565b61238e82610b8e565b61239f8161239a612533565b61253b565b6123a9838361308a565b505050565b600260015414156123f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123eb906166dd565b60405180910390fd5b600260018190555061240461140d565b15612444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243b906167db565b60405180910390fd5b61244d336137e4565b61245c8787878787878761390c565b6001808190555050505050505050565b60056020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900460ff16908060010154908060020154905084565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6125458282611c80565b6125d45761256a8173ffffffffffffffffffffffffffffffffffffffff166014613cad565b6125788360001c6020613cad565b604051602001612589929190618985565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125cb91906189f8565b60405180910390fd5b5050565b6125e061140d565b61261f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261690618a66565b60405180910390fd5b6000600260006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612663612533565b6040516126709190618a86565b60405180910390a1565b60008073ffffffffffffffffffffffffffffffffffffffff16600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561276957600160ff168360ff16141561274457620f4240600454836127339190618aa1565b61273d9190618b2a565b905061287c565b620f42406004546003546127589190618aa1565b6127629190618b2a565b905061287c565b600160ff168360ff1614156127db57620f4240600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154836127ca9190618aa1565b6127d49190618b2a565b905061287c565b620f4240600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015461286f9190618aa1565b6128799190618b2a565b90505b9392505050565b600060076000848152602001908152602001600020905060006009600084815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293a90616a7b565b60405180910390fd5b80600001548414612989576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298090618ba7565b60405180910390fd5b61299282613ee9565b6129d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c890618c39565b60405180910390fd5b6129da81614195565b612a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1090618ccb565b60405180910390fd5b60005b8260030180549050811015612b915760011515836007018281548110612a4557612a44616583565b5b90600052602060002090602091828204019190069054906101000a900460ff1615151415612a7257612b7e565b612b7d8360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856003018481548110612ad557612ad4616583565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16866004018581548110612b1657612b15616583565b5b9060005260206000200154876005018681548110612b3757612b36616583565b5b9060005260206000200154886006018781548110612b5857612b57616583565b5b90600052602060002090602091828204019190069054906101000a900460ff166143fa565b5b8080612b8990616637565b915050612a1c565b5060005b8160020180549050811015612cc257612caf8260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846002018481548110612c0757612c06616583565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856003018581548110612c4857612c47616583565b5b9060005260206000200154866004018681548110612c6957612c68616583565b5b9060005260206000200154876005018781548110612c8a57612c89616583565b5b90600052602060002090602091828204019190069054906101000a900460ff166143fa565b8080612cba90616637565b915050612b95565b5082847f5a6443be634d8594e0dff76c972a6a74f88bf761fb6e334d88dd979516f3bc8f60405160405180910390a350505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663240d78a16040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d8a9190618d00565b90506000811115612e685760005b6002811015612e6657600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633e458a8e848360028110612df257612df1616583565b5b6020020151600285612e049190618b2a565b6040518363ffffffff1660e01b8152600401612e21929190618d2d565b600060405180830381600087803b158015612e3b57600080fd5b505af1158015612e4f573d6000803e3d6000fd5b505050508080612e5e90616637565b915050612d98565b505b5050565b600060076000838152602001908152602001600020905060076000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600282016000612ef59190615035565b600382016000612f059190615075565b600482016000612f159190615096565b600582016000612f259190615096565b600682016000612f3591906150b7565b600782016000612f4591906150df565b600882016000612f559190615096565b505060005b8160080180549050811015612fa557612f92826008018281548110612f8257612f81616583565b5b90600052602060002001546136b1565b8080612f9d90616637565b915050612f5a565b505050565b612fb48282611c80565b61308657600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061302b612533565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6130948282611c80565b1561316757600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061310c612533565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b82518451146131af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a690618dc8565b60405180910390fd5b81518451146131f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ea90618e5a565b60405180910390fd5b8051845114613237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322e90618eec565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166007600087815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461334d576007600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166132f6612533565b73ffffffffffffffffffffffffffffffffffffffff161461334c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334390618f7e565b60405180910390fd5b5b6133576008614588565b6000613363600861459e565b90506040518060e001604052808781526020013373ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018381526020016007600089815260200190815260200160002060080180549050815250600960008381526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002019080519060200190613447929190615107565b506060820151816003019080519060200190613464929190615191565b506080820151816004019080519060200190613481929190615191565b5060a082015181600501908051906020019061349e9291906151de565b5060c0820151816006015590505060076000878152602001908152602001600020600801819080600181540180825580915050600190039060005260206000200160009091909190915055807fd7af2d7ec779fb9958829116ac22b6fbd4eafe2ca69287d52dc56020617a68826009600084815260200190815260200160002060405161352b91906187fd565b60405180910390a2505050505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e779c84e826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156135a557600080fd5b505af11580156135b9573d6000803e3d6000fd5b505050505050565b6000600760008360000154815260200190815260200160002090506000600182600801805490506135f29190618f9e565b90506000600960008460080184815481106136105761360f616583565b5b9060005260206000200154815260200190815260200160002090508360060154816006018190555082600801828154811061364e5761364d616583565b5b90600052602060002001548360080185600601548154811061367357613672616583565b5b90600052602060002001819055508260080180548061369557613694618fd2565b5b6001900381819060005260206000200160009055905550505050565b600960008281526020019081526020016000206000808201600090556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556002820160006137049190615075565b6003820160006137149190615096565b6004820160006137249190615096565b60058201600061373491906150b7565b6006820160009055505050565b61374961140d565b15613789576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613780906167db565b60405180910390fd5b6001600260006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586137cd612533565b6040516137da9190618a86565b60405180910390a1565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166381d9a25c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613853573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138779190618d00565b9050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166321a5a34c83836040518363ffffffff1660e01b81526004016138d6929190618d2d565b600060405180830381600087803b1580156138f057600080fd5b505af1158015613904573d6000803e3d6000fd5b505050505050565b8351855114613950576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161394790619073565b60405180910390fd5b8251855114613994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161398b90619105565b60405180910390fd5b81518551146139d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139cf90619197565b60405180910390fd5b8051855114613a1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a1390619229565b60405180910390fd5b613a266006614588565b6000613a32600661459e565b90506040518061012001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018973ffffffffffffffffffffffffffffffffffffffff168152602001888152602001878152602001868152602001858152602001848152602001838152602001600067ffffffffffffffff811115613ab757613ab66154ea565b5b604051908082528060200260200182016040528015613ae55781602001602082028036833780820191505090505b508152506007600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002019080519060200190613ba6929190615285565b506060820151816003019080519060200190613bc3929190615107565b506080820151816004019080519060200190613be0929190615191565b5060a0820151816005019080519060200190613bfd929190615191565b5060c0820151816006019080519060200190613c1a9291906151de565b5060e0820151816007019080519060200190613c3792919061530b565b50610100820151816008019080519060200190613c55929190615191565b50905050807f48e81893487928a99fb309ba6421c1f6fc1d630b8fd46ba2bd6ed6de9929ff7560076000848152602001908152602001600020604051613c9b919061869f565b60405180910390a25050505050505050565b606060006002836002613cc09190618aa1565b613cca91906165e1565b67ffffffffffffffff811115613ce357613ce26154ea565b5b6040519080825280601f01601f191660200182016040528015613d155781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613d4d57613d4c616583565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613db157613db0616583565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002613df19190618aa1565b613dfb91906165e1565b90505b6001811115613e9b577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613e3d57613e3c616583565b5b1a60f81b828281518110613e5457613e53616583565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613e9490619249565b9050613dfe565b5060008414613edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ed6906192bf565b60405180910390fd5b8091505092915050565b6000808260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000836003019050600084600501905060008560060190506000866004019050600087600701905060005b858054905081101561418557818181548110613f5d57613f5c616583565b5b90600052602060002090602091828204019190069054906101000a900460ff1615613f8757614172565b61403d87878381548110613f9e57613f9d616583565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16878481548110613fdc57613fdb616583565b5b9060005260206000200154878581548110613ffa57613ff9616583565b5b90600052602060002090602091828204019190069054906101000a900460ff1687868154811061402d5761402c616583565b5b90600052602060002001546145ac565b61407c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161407390619351565b60405180910390fd5b6141328787838154811061409357614092616583565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168784815481106140d1576140d0616583565b5b90600052602060002001548785815481106140ef576140ee616583565b5b90600052602060002090602091828204019190069054906101000a900460ff1687868154811061412257614121616583565b5b9060005260206000200154614929565b614171576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614168906193e3565b60405180910390fd5b5b808061417d90616637565b915050613f3e565b5060019650505050505050919050565b6000808260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600083600201905060008460040190506000856005019050600086600301905060005b84805490508110156143eb576142a48686838154811061420557614204616583565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686848154811061424357614242616583565b5b906000526020600020015486858154811061426157614260616583565b5b90600052602060002090602091828204019190069054906101000a900460ff1686868154811061429457614293616583565b5b90600052602060002001546145ac565b6142e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142da90619475565b60405180910390fd5b614399868683815481106142fa576142f9616583565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686848154811061433857614337616583565b5b906000526020600020015486858154811061435657614355616583565b5b90600052602060002090602091828204019190069054906101000a900460ff1686868154811061438957614388616583565b5b9060005260206000200154614929565b6143d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016143cf90619507565b60405180910390fd5b80806143e390616637565b9150506141e2565b50600195505050505050919050565b600160ff168160ff16141561443b576144368686858773ffffffffffffffffffffffffffffffffffffffff16614c23909392919063ffffffff16565b614580565b600260ff168160ff1614156144be578373ffffffffffffffffffffffffffffffffffffffff166342842e0e8787856040518463ffffffff1660e01b815260040161448793929190619527565b600060405180830381600087803b1580156144a157600080fd5b505af11580156144b5573d6000803e3d6000fd5b5050505061457f565b600360ff168160ff161415614543578373ffffffffffffffffffffffffffffffffffffffff1663f242432a878785876040518563ffffffff1660e01b815260040161450c9493929190619595565b600060405180830381600087803b15801561452657600080fd5b505af115801561453a573d6000803e3d6000fd5b5050505061457e565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016145759061965f565b60405180910390fd5b5b5b505050505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b6000600160ff168360ff161415614686576000859050828173ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e89306040518363ffffffff1660e01b81526004016145fe92919061967f565b602060405180830381865afa15801561461b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061463f9190618d00565b1015614680576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016146779061971a565b60405180910390fd5b5061491c565b600260ff168360ff16141561480a5760008590503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663081812fc876040518263ffffffff1660e01b81526004016146ea9190615a48565b602060405180830381865afa158015614707573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061472b919061974f565b73ffffffffffffffffffffffffffffffffffffffff1614806147c557508073ffffffffffffffffffffffffffffffffffffffff1663e985e9c588306040518363ffffffff1660e01b815260040161478392919061967f565b602060405180830381865afa1580156147a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147c49190619791565b5b614804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016147fb90619830565b60405180910390fd5b5061491b565b600360ff168360ff1614156148df5760008590508073ffffffffffffffffffffffffffffffffffffffff1663e985e9c588306040518363ffffffff1660e01b815260040161485992919061967f565b602060405180830381865afa158015614876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061489a9190619791565b6148d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016148d0906198c2565b60405180910390fd5b5061491a565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161491190619954565b60405180910390fd5b5b5b6001905095945050505050565b6000600160ff168360ff161415614a01576000859050828173ffffffffffffffffffffffffffffffffffffffff166370a08231896040518263ffffffff1660e01b81526004016149799190618a86565b602060405180830381865afa158015614996573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906149ba9190618d00565b10156149fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016149f2906199e6565b60405180910390fd5b50614c16565b600260ff168360ff161415614b025760008590508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b8152600401614a659190615a48565b602060405180830381865afa158015614a82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614aa6919061974f565b73ffffffffffffffffffffffffffffffffffffffff1614614afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614af390619a78565b60405180910390fd5b50614c15565b600360ff168360ff161415614bd9576000859050828173ffffffffffffffffffffffffffffffffffffffff1662fdd58e89886040518363ffffffff1660e01b8152600401614b51929190618d2d565b602060405180830381865afa158015614b6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614b929190618d00565b1015614bd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614bca90619b0a565b60405180910390fd5b50614c14565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614c0b90619954565b60405180910390fd5b5b5b6001905095945050505050565b614ca6846323b872dd60e01b858585604051602401614c4493929190619527565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614cac565b50505050565b6000614d0e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16614d739092919063ffffffff16565b9050600081511115614d6e5780806020019051810190614d2e9190619791565b614d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614d6490619b9c565b60405180910390fd5b5b505050565b6060614d828484600085614d8b565b90509392505050565b606082471015614dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614dc790619c2e565b60405180910390fd5b614dd985614e9f565b614e18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614e0f90619c9a565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051614e419190619d01565b60006040518083038185875af1925050503d8060008114614e7e576040519150601f19603f3d011682016040523d82523d6000602084013e614e83565b606091505b5091509150614e93828286614ec2565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315614ed257829050614f22565b600083511115614ee55782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614f1991906189f8565b60405180910390fd5b9392505050565b6040518060e0016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160608152602001606081526020016060815260200160608152602001600081525090565b604051806101200160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001606081526020016060815260200160608152602001606081526020016060815260200160608152602001606081525090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600060ff16815260200160008152602001600081525090565b50805461504190616aca565b6000825580601f106150535750615072565b601f01602090049060005260206000209081019061507191906153b1565b5b50565b508054600082559060005260206000209081019061509391906153b1565b50565b50805460008255906000526020600020908101906150b491906153b1565b50565b50805460008255601f0160209004906000526020600020908101906150dc91906153b1565b50565b50805460008255601f01602090049060005260206000209081019061510491906153b1565b50565b828054828255906000526020600020908101928215615180579160200282015b8281111561517f5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190615127565b5b50905061518d91906153b1565b5090565b8280548282559060005260206000209081019282156151cd579160200282015b828111156151cc5782518255916020019190600101906151b1565b5b5090506151da91906153b1565b5090565b82805482825590600052602060002090601f016020900481019282156152745791602002820160005b8382111561524557835183826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302615207565b80156152725782816101000a81549060ff0219169055600101602081600001049283019260010302615245565b505b50905061528191906153b1565b5090565b82805461529190616aca565b90600052602060002090601f0160209004810192826152b357600085556152fa565b82601f106152cc57805160ff19168380011785556152fa565b828001600101855582156152fa579182015b828111156152f95782518255916020019190600101906152de565b5b50905061530791906153b1565b5090565b82805482825590600052602060002090601f016020900481019282156153a05791602002820160005b8382111561537157835183826101000a81548160ff0219169083151502179055509260200192600101602081600001049283019260010302615334565b801561539e5782816101000a81549060ff0219169055600101602081600001049283019260010302615371565b505b5090506153ad91906153b1565b5090565b5b808211156153ca5760008160009055506001016153b2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b615417816153e2565b811461542257600080fd5b50565b6000813590506154348161540e565b92915050565b6000602082840312156154505761544f6153d8565b5b600061545e84828501615425565b91505092915050565b60008115159050919050565b61547c81615467565b82525050565b60006020820190506154976000830184615473565b92915050565b600060ff82169050919050565b6154b38161549d565b82525050565b60006020820190506154ce60008301846154aa565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b615522826154d9565b810181811067ffffffffffffffff82111715615541576155406154ea565b5b80604052505050565b60006155546153ce565b90506155608282615519565b919050565b600067ffffffffffffffff8211156155805761557f6154ea565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006155c182615596565b9050919050565b6155d1816155b6565b81146155dc57600080fd5b50565b6000813590506155ee816155c8565b92915050565b600061560761560284615565565b61554a565b9050808382526020820190506020840283018581111561562a57615629615591565b5b835b81811015615653578061563f88826155df565b84526020840193505060208101905061562c565b5050509392505050565b600082601f830112615672576156716154d4565b5b81356156828482602086016155f4565b91505092915050565b600067ffffffffffffffff8211156156a6576156a56154ea565b5b602082029050602081019050919050565b6156c08161549d565b81146156cb57600080fd5b50565b6000813590506156dd816156b7565b92915050565b60006156f66156f18461568b565b61554a565b9050808382526020820190506020840283018581111561571957615718615591565b5b835b81811015615742578061572e88826156ce565b84526020840193505060208101905061571b565b5050509392505050565b600082601f830112615761576157606154d4565b5b81356157718482602086016156e3565b91505092915050565b600067ffffffffffffffff821115615795576157946154ea565b5b602082029050602081019050919050565b6000819050919050565b6157b9816157a6565b81146157c457600080fd5b50565b6000813590506157d6816157b0565b92915050565b60006157ef6157ea8461577a565b61554a565b9050808382526020820190506020840283018581111561581257615811615591565b5b835b8181101561583b578061582788826157c7565b845260208401935050602081019050615814565b5050509392505050565b600082601f83011261585a576158596154d4565b5b813561586a8482602086016157dc565b91505092915050565b600067ffffffffffffffff82111561588e5761588d6154ea565b5b602082029050602081019050919050565b6158a881615467565b81146158b357600080fd5b50565b6000813590506158c58161589f565b92915050565b60006158de6158d984615873565b61554a565b9050808382526020820190506020840283018581111561590157615900615591565b5b835b8181101561592a578061591688826158b6565b845260208401935050602081019050615903565b5050509392505050565b600082601f830112615949576159486154d4565b5b81356159598482602086016158cb565b91505092915050565b6000806000806080858703121561597c5761597b6153d8565b5b600085013567ffffffffffffffff81111561599a576159996153dd565b5b6159a68782880161565d565b945050602085013567ffffffffffffffff8111156159c7576159c66153dd565b5b6159d38782880161574c565b935050604085013567ffffffffffffffff8111156159f4576159f36153dd565b5b615a0087828801615845565b925050606085013567ffffffffffffffff811115615a2157615a206153dd565b5b615a2d87828801615934565b91505092959194509250565b615a42816157a6565b82525050565b6000602082019050615a5d6000830184615a39565b92915050565b60008060408385031215615a7a57615a796153d8565b5b6000615a88858286016157c7565b9250506020615a99858286016157c7565b9150509250929050565b600060208284031215615ab957615ab86153d8565b5b6000615ac7848285016155df565b91505092915050565b6000819050919050565b615ae381615ad0565b8114615aee57600080fd5b50565b600081359050615b0081615ada565b92915050565b600060208284031215615b1c57615b1b6153d8565b5b6000615b2a84828501615af1565b91505092915050565b615b3c81615ad0565b82525050565b6000602082019050615b576000830184615b33565b92915050565b600060208284031215615b7357615b726153d8565b5b6000615b81848285016157c7565b91505092915050565b615b93816157a6565b82525050565b615ba2816155b6565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000615be08383615b99565b60208301905092915050565b6000602082019050919050565b6000615c0482615ba8565b615c0e8185615bb3565b9350615c1983615bc4565b8060005b83811015615c4a578151615c318882615bd4565b9750615c3c83615bec565b925050600181019050615c1d565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000615c8f8383615b8a565b60208301905092915050565b6000602082019050919050565b6000615cb382615c57565b615cbd8185615c62565b9350615cc883615c73565b8060005b83811015615cf9578151615ce08882615c83565b9750615ceb83615c9b565b925050600181019050615ccc565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b615d3b8161549d565b82525050565b6000615d4d8383615d32565b60208301905092915050565b6000602082019050919050565b6000615d7182615d06565b615d7b8185615d11565b9350615d8683615d22565b8060005b83811015615db7578151615d9e8882615d41565b9750615da983615d59565b925050600181019050615d8a565b5085935050505092915050565b600060e083016000830151615ddc6000860182615b8a565b506020830151615def6020860182615b99565b5060408301518482036040860152615e078282615bf9565b91505060608301518482036060860152615e218282615ca8565b91505060808301518482036080860152615e3b8282615ca8565b91505060a083015184820360a0860152615e558282615d66565b91505060c0830151615e6a60c0860182615b8a565b508091505092915050565b60006020820190508181036000830152615e8f8184615dc4565b905092915050565b60008060408385031215615eae57615ead6153d8565b5b6000615ebc85828601615af1565b9250506020615ecd858286016155df565b9150509250929050565b600080600080600060a08688031215615ef357615ef26153d8565b5b6000615f01888289016157c7565b955050602086013567ffffffffffffffff811115615f2257615f216153dd565b5b615f2e8882890161565d565b945050604086013567ffffffffffffffff811115615f4f57615f4e6153dd565b5b615f5b88828901615845565b935050606086013567ffffffffffffffff811115615f7c57615f7b6153dd565b5b615f8888828901615845565b925050608086013567ffffffffffffffff811115615fa957615fa86153dd565b5b615fb58882890161574c565b9150509295509295909350565b60008060008060808587031215615fdc57615fdb6153d8565b5b6000615fea878288016155df565b9450506020615ffb878288016156ce565b935050604061600c878288016157c7565b925050606061601d878288016157c7565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b60005b83811015616063578082015181840152602081019050616048565b83811115616072576000848401525b50505050565b600061608382616029565b61608d8185616034565b935061609d818560208601616045565b6160a6816154d9565b840191505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6160e681615467565b82525050565b60006160f883836160dd565b60208301905092915050565b6000602082019050919050565b600061611c826160b1565b61612681856160bc565b9350616131836160cd565b8060005b8381101561616257815161614988826160ec565b975061615483616104565b925050600181019050616135565b5085935050505092915050565b6000610120830160008301516161886000860182615b99565b50602083015161619b6020860182615b99565b50604083015184820360408601526161b38282616078565b915050606083015184820360608601526161cd8282615bf9565b915050608083015184820360808601526161e78282615ca8565b91505060a083015184820360a08601526162018282615ca8565b91505060c083015184820360c086015261621b8282615d66565b91505060e083015184820360e08601526162358282616111565b9150506101008301518482036101008601526162518282615ca8565b9150508091505092915050565b60006020820190508181036000830152616278818461616f565b905092915050565b600080fd5b600067ffffffffffffffff8211156162a05761629f6154ea565b5b6162a9826154d9565b9050602081019050919050565b82818337600083830152505050565b60006162d86162d384616285565b61554a565b9050828152602081018484840111156162f4576162f3616280565b5b6162ff8482856162b6565b509392505050565b600082601f83011261631c5761631b6154d4565b5b813561632c8482602086016162c5565b91505092915050565b600080600080600080600060e0888a031215616354576163536153d8565b5b60006163628a828b016155df565b975050602088013567ffffffffffffffff811115616383576163826153dd565b5b61638f8a828b01616307565b965050604088013567ffffffffffffffff8111156163b0576163af6153dd565b5b6163bc8a828b0161565d565b955050606088013567ffffffffffffffff8111156163dd576163dc6153dd565b5b6163e98a828b01615845565b945050608088013567ffffffffffffffff81111561640a576164096153dd565b5b6164168a828b01615845565b93505060a088013567ffffffffffffffff811115616437576164366153dd565b5b6164438a828b0161574c565b92505060c088013567ffffffffffffffff811115616464576164636153dd565b5b6164708a828b01615934565b91505092959891949750929550565b6080820160008201516164956000850182615b99565b5060208201516164a86020850182615d32565b5060408201516164bb6040850182615b8a565b5060608201516164ce6060850182615b8a565b50505050565b60006080820190506164e9600083018461647f565b92915050565b60008060408385031215616506576165056153d8565b5b6000616514858286016155df565b9250506020616525858286016157c7565b9150509250929050565b616538816155b6565b82525050565b6000608082019050616553600083018761652f565b61656060208301866154aa565b61656d6040830185615a39565b61657a6060830184615a39565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006165ec826157a6565b91506165f7836157a6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561662c5761662b6165b2565b5b828201905092915050565b6000616642826157a6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415616675576166746165b2565b5b600182019050919050565b600082825260208201905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006166c7601f83616680565b91506166d282616691565b602082019050919050565b600060208201905081810360008301526166f6816166ba565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000616759602f83616680565b9150616764826166fd565b604082019050919050565b600060208201905081810360008301526167888161674c565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006167c5601083616680565b91506167d08261678f565b602082019050919050565b600060208201905081810360008301526167f4816167b8565b9050919050565b7f50697870726573733a20696e73756666696369656e7420737761702066656500600082015250565b6000616831601f83616680565b915061683c826167fb565b602082019050919050565b6000602082019050818103600083015261686081616824565b9050919050565b7f41737365744d616e616765723a20617373657420616c7265616479206578697360008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b60006168c3602183616680565b91506168ce82616867565b604082019050919050565b600060208201905081810360008301526168f2816168b6565b9050919050565b60008160001c9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000616939616934836168f9565b616906565b9050919050565b60008160a01c9050919050565b600060ff82169050919050565b600061696d61696883616940565b61694d565b9050919050565b6000819050919050565b600061699161698c836168f9565b616974565b9050919050565b6080820160008083015490506169ad81616926565b6169ba6000860182615b99565b506169c48161695a565b6169d16020860182615d32565b50600183015490506169e28161697e565b6169ef6040860182615b8a565b5060028301549050616a008161697e565b616a0d6060860182615b8a565b5050505050565b6000608082019050616a296000830184616998565b92915050565b7f417373657420537761707065723a20696e76616c69642070726f706f73657200600082015250565b6000616a65601f83616680565b9150616a7082616a2f565b602082019050919050565b60006020820190508181036000830152616a9481616a58565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680616ae257607f821691505b60208210811415616af657616af5616a9b565b5b50919050565b60008190508160005260206000209050919050565b60008154616b1e81616aca565b616b288186616034565b94506001821660008114616b435760018114616b5557616b88565b60ff1983168652602086019350616b88565b616b5e85616afc565b60005b83811015616b8057815481890152600182019150602081019050616b61565b808801955050505b50505092915050565b600081549050919050565b60008190508160005260206000209050919050565b6000616bbd8254616926565b9050919050565b6000600182019050919050565b6000616bdc82616b91565b616be68185615bb3565b9350616bf183616b9c565b8060005b83811015616c2957616c0682616bb1565b616c108882615bd4565b9750616c1b83616bc4565b925050600181019050616bf5565b5085935050505092915050565b600081549050919050565b60008190508160005260206000209050919050565b6000616c62825461697e565b9050919050565b6000600182019050919050565b6000616c8182616c36565b616c8b8185615c62565b9350616c9683616c41565b8060005b83811015616cce57616cab82616c56565b616cb58882615c83565b9750616cc083616c69565b925050600181019050616c9a565b5085935050505092915050565b600081549050919050565b60008190508160005260206000209050919050565b6000616d0e616d09836168f9565b61694d565b9050919050565b60008160081c9050919050565b6000616d35616d3083616d15565b61694d565b9050919050565b60008160101c9050919050565b6000616d5c616d5783616d3c565b61694d565b9050919050565b60008160181c9050919050565b6000616d83616d7e83616d63565b61694d565b9050919050565b60008160201c9050919050565b6000616daa616da583616d8a565b61694d565b9050919050565b60008160281c9050919050565b6000616dd1616dcc83616db1565b61694d565b9050919050565b60008160301c9050919050565b6000616df8616df383616dd8565b61694d565b9050919050565b60008160381c9050919050565b6000616e1f616e1a83616dff565b61694d565b9050919050565b60008160401c9050919050565b6000616e46616e4183616e26565b61694d565b9050919050565b60008160481c9050919050565b6000616e6d616e6883616e4d565b61694d565b9050919050565b60008160501c9050919050565b6000616e94616e8f83616e74565b61694d565b9050919050565b60008160581c9050919050565b6000616ebb616eb683616e9b565b61694d565b9050919050565b60008160601c9050919050565b6000616ee2616edd83616ec2565b61694d565b9050919050565b60008160681c9050919050565b6000616f09616f0483616ee9565b61694d565b9050919050565b60008160701c9050919050565b6000616f30616f2b83616f10565b61694d565b9050919050565b60008160781c9050919050565b6000616f57616f5283616f37565b61694d565b9050919050565b60008160801c9050919050565b6000616f7e616f7983616f5e565b61694d565b9050919050565b60008160881c9050919050565b6000616fa5616fa083616f85565b61694d565b9050919050565b60008160901c9050919050565b6000616fcc616fc783616fac565b61694d565b9050919050565b60008160981c9050919050565b6000616ff3616fee83616fd3565b61694d565b9050919050565b60008160a81c9050919050565b600061701a61701583616ffa565b61694d565b9050919050565b60008160b01c9050919050565b600061704161703c83617021565b61694d565b9050919050565b60008160b81c9050919050565b600061706861706383617048565b61694d565b9050919050565b60008160c01c9050919050565b600061708f61708a8361706f565b61694d565b9050919050565b60008160c81c9050919050565b60006170b66170b183617096565b61694d565b9050919050565b60008160d01c9050919050565b60006170dd6170d8836170bd565b61694d565b9050919050565b60008160d81c9050919050565b60006171046170ff836170e4565b61694d565b9050919050565b60008160e01c9050919050565b600061712b6171268361710b565b61694d565b9050919050565b60008160e81c9050919050565b600061715261714d83617132565b61694d565b9050919050565b60008160f01c9050919050565b600061717961717483617159565b61694d565b9050919050565b60008160f81c9050919050565b60006171a061719b83617180565b61694d565b9050919050565b60006171b282616cdb565b6171bc8185615d11565b9350836171c884616ce6565b60006001156174f5575b836001602003820110156174f45781546171f4886171ef83616cfb565b615d32565b60208801975061720c8861720783616d22565b615d32565b6020880197506172248861721f83616d49565b615d32565b60208801975061723c8861723783616d70565b615d32565b6020880197506172548861724f83616d97565b615d32565b60208801975061726c8861726783616dbe565b615d32565b6020880197506172848861727f83616de5565b615d32565b60208801975061729c8861729783616e0c565b615d32565b6020880197506172b4886172af83616e33565b615d32565b6020880197506172cc886172c783616e5a565b615d32565b6020880197506172e4886172df83616e81565b615d32565b6020880197506172fc886172f783616ea8565b615d32565b6020880197506173148861730f83616ecf565b615d32565b60208801975061732c8861732783616ef6565b615d32565b6020880197506173448861733f83616f1d565b615d32565b60208801975061735c8861735783616f44565b615d32565b6020880197506173748861736f83616f6b565b615d32565b60208801975061738c8861738783616f92565b615d32565b6020880197506173a48861739f83616fb9565b615d32565b6020880197506173bc886173b783616fe0565b615d32565b6020880197506173d4886173cf8361695a565b615d32565b6020880197506173ec886173e783617007565b615d32565b602088019750617404886173ff8361702e565b615d32565b60208801975061741c8861741783617055565b615d32565b6020880197506174348861742f8361707c565b615d32565b60208801975061744c88617447836170a3565b615d32565b6020880197506174648861745f836170ca565b615d32565b60208801975061747c88617477836170f1565b615d32565b6020880197506174948861748f83617118565b615d32565b6020880197506174ac886174a78361713f565b615d32565b6020880197506174c4886174bf83617166565b615d32565b6020880197506174dc886174d78361718d565b615d32565b602088019750600183019250506020810190506171d2565b5b6001156179e057815484821015617525576175188861751383616cfb565b615d32565b6020880197506001820191505b8482101561754c5761753f8861753a83616d22565b615d32565b6020880197506001820191505b84821015617573576175668861756183616d49565b615d32565b6020880197506001820191505b8482101561759a5761758d8861758883616d70565b615d32565b6020880197506001820191505b848210156175c1576175b4886175af83616d97565b615d32565b6020880197506001820191505b848210156175e8576175db886175d683616dbe565b615d32565b6020880197506001820191505b8482101561760f57617602886175fd83616de5565b615d32565b6020880197506001820191505b84821015617636576176298861762483616e0c565b615d32565b6020880197506001820191505b8482101561765d576176508861764b83616e33565b615d32565b6020880197506001820191505b84821015617684576176778861767283616e5a565b615d32565b6020880197506001820191505b848210156176ab5761769e8861769983616e81565b615d32565b6020880197506001820191505b848210156176d2576176c5886176c083616ea8565b615d32565b6020880197506001820191505b848210156176f9576176ec886176e783616ecf565b615d32565b6020880197506001820191505b84821015617720576177138861770e83616ef6565b615d32565b6020880197506001820191505b848210156177475761773a8861773583616f1d565b615d32565b6020880197506001820191505b8482101561776e576177618861775c83616f44565b615d32565b6020880197506001820191505b84821015617795576177888861778383616f6b565b615d32565b6020880197506001820191505b848210156177bc576177af886177aa83616f92565b615d32565b6020880197506001820191505b848210156177e3576177d6886177d183616fb9565b615d32565b6020880197506001820191505b8482101561780a576177fd886177f883616fe0565b615d32565b6020880197506001820191505b84821015617831576178248861781f8361695a565b615d32565b6020880197506001820191505b848210156178585761784b8861784683617007565b615d32565b6020880197506001820191505b8482101561787f576178728861786d8361702e565b615d32565b6020880197506001820191505b848210156178a6576178998861789483617055565b615d32565b6020880197506001820191505b848210156178cd576178c0886178bb8361707c565b615d32565b6020880197506001820191505b848210156178f4576178e7886178e2836170a3565b615d32565b6020880197506001820191505b8482101561791b5761790e88617909836170ca565b615d32565b6020880197506001820191505b848210156179425761793588617930836170f1565b615d32565b6020880197506001820191505b848210156179695761795c8861795783617118565b615d32565b6020880197506001820191505b84821015617990576179838861797e8361713f565b615d32565b6020880197506001820191505b848210156179b7576179aa886179a583617166565b615d32565b6020880197506001820191505b848210156179de576179d1886179cc8361718d565b615d32565b6020880197506001820191505b505b8694505050505092915050565b600081549050919050565b60008190508160005260206000209050919050565b600060ff82169050919050565b6000617a2d617a28836168f9565b617a0d565b9050919050565b6000617a47617a4283616d15565b617a0d565b9050919050565b6000617a61617a5c83616d3c565b617a0d565b9050919050565b6000617a7b617a7683616d63565b617a0d565b9050919050565b6000617a95617a9083616d8a565b617a0d565b9050919050565b6000617aaf617aaa83616db1565b617a0d565b9050919050565b6000617ac9617ac483616dd8565b617a0d565b9050919050565b6000617ae3617ade83616dff565b617a0d565b9050919050565b6000617afd617af883616e26565b617a0d565b9050919050565b6000617b17617b1283616e4d565b617a0d565b9050919050565b6000617b31617b2c83616e74565b617a0d565b9050919050565b6000617b4b617b4683616e9b565b617a0d565b9050919050565b6000617b65617b6083616ec2565b617a0d565b9050919050565b6000617b7f617b7a83616ee9565b617a0d565b9050919050565b6000617b99617b9483616f10565b617a0d565b9050919050565b6000617bb3617bae83616f37565b617a0d565b9050919050565b6000617bcd617bc883616f5e565b617a0d565b9050919050565b6000617be7617be283616f85565b617a0d565b9050919050565b6000617c01617bfc83616fac565b617a0d565b9050919050565b6000617c1b617c1683616fd3565b617a0d565b9050919050565b6000617c35617c3083616940565b617a0d565b9050919050565b6000617c4f617c4a83616ffa565b617a0d565b9050919050565b6000617c69617c6483617021565b617a0d565b9050919050565b6000617c83617c7e83617048565b617a0d565b9050919050565b6000617c9d617c988361706f565b617a0d565b9050919050565b6000617cb7617cb283617096565b617a0d565b9050919050565b6000617cd1617ccc836170bd565b617a0d565b9050919050565b6000617ceb617ce6836170e4565b617a0d565b9050919050565b6000617d05617d008361710b565b617a0d565b9050919050565b6000617d1f617d1a83617132565b617a0d565b9050919050565b6000617d39617d3483617159565b617a0d565b9050919050565b6000617d53617d4e83617180565b617a0d565b9050919050565b6000617d65826179ed565b617d6f81856160bc565b935083617d7b846179f8565b60006001156180a8575b836001602003820110156180a7578154617da788617da283617a1a565b6160dd565b602088019750617dbf88617dba83617a34565b6160dd565b602088019750617dd788617dd283617a4e565b6160dd565b602088019750617def88617dea83617a68565b6160dd565b602088019750617e0788617e0283617a82565b6160dd565b602088019750617e1f88617e1a83617a9c565b6160dd565b602088019750617e3788617e3283617ab6565b6160dd565b602088019750617e4f88617e4a83617ad0565b6160dd565b602088019750617e6788617e6283617aea565b6160dd565b602088019750617e7f88617e7a83617b04565b6160dd565b602088019750617e9788617e9283617b1e565b6160dd565b602088019750617eaf88617eaa83617b38565b6160dd565b602088019750617ec788617ec283617b52565b6160dd565b602088019750617edf88617eda83617b6c565b6160dd565b602088019750617ef788617ef283617b86565b6160dd565b602088019750617f0f88617f0a83617ba0565b6160dd565b602088019750617f2788617f2283617bba565b6160dd565b602088019750617f3f88617f3a83617bd4565b6160dd565b602088019750617f5788617f5283617bee565b6160dd565b602088019750617f6f88617f6a83617c08565b6160dd565b602088019750617f8788617f8283617c22565b6160dd565b602088019750617f9f88617f9a83617c3c565b6160dd565b602088019750617fb788617fb283617c56565b6160dd565b602088019750617fcf88617fca83617c70565b6160dd565b602088019750617fe788617fe283617c8a565b6160dd565b602088019750617fff88617ffa83617ca4565b6160dd565b6020880197506180178861801283617cbe565b6160dd565b60208801975061802f8861802a83617cd8565b6160dd565b6020880197506180478861804283617cf2565b6160dd565b60208801975061805f8861805a83617d0c565b6160dd565b6020880197506180778861807283617d26565b6160dd565b60208801975061808f8861808a83617d40565b6160dd565b60208801975060018301925050602081019050617d85565b5b600115618593578154848210156180d8576180cb886180c683617a1a565b6160dd565b6020880197506001820191505b848210156180ff576180f2886180ed83617a34565b6160dd565b6020880197506001820191505b84821015618126576181198861811483617a4e565b6160dd565b6020880197506001820191505b8482101561814d576181408861813b83617a68565b6160dd565b6020880197506001820191505b84821015618174576181678861816283617a82565b6160dd565b6020880197506001820191505b8482101561819b5761818e8861818983617a9c565b6160dd565b6020880197506001820191505b848210156181c2576181b5886181b083617ab6565b6160dd565b6020880197506001820191505b848210156181e9576181dc886181d783617ad0565b6160dd565b6020880197506001820191505b8482101561821057618203886181fe83617aea565b6160dd565b6020880197506001820191505b848210156182375761822a8861822583617b04565b6160dd565b6020880197506001820191505b8482101561825e576182518861824c83617b1e565b6160dd565b6020880197506001820191505b84821015618285576182788861827383617b38565b6160dd565b6020880197506001820191505b848210156182ac5761829f8861829a83617b52565b6160dd565b6020880197506001820191505b848210156182d3576182c6886182c183617b6c565b6160dd565b6020880197506001820191505b848210156182fa576182ed886182e883617b86565b6160dd565b6020880197506001820191505b84821015618321576183148861830f83617ba0565b6160dd565b6020880197506001820191505b848210156183485761833b8861833683617bba565b6160dd565b6020880197506001820191505b8482101561836f576183628861835d83617bd4565b6160dd565b6020880197506001820191505b84821015618396576183898861838483617bee565b6160dd565b6020880197506001820191505b848210156183bd576183b0886183ab83617c08565b6160dd565b6020880197506001820191505b848210156183e4576183d7886183d283617c22565b6160dd565b6020880197506001820191505b8482101561840b576183fe886183f983617c3c565b6160dd565b6020880197506001820191505b84821015618432576184258861842083617c56565b6160dd565b6020880197506001820191505b848210156184595761844c8861844783617c70565b6160dd565b6020880197506001820191505b84821015618480576184738861846e83617c8a565b6160dd565b6020880197506001820191505b848210156184a75761849a8861849583617ca4565b6160dd565b6020880197506001820191505b848210156184ce576184c1886184bc83617cbe565b6160dd565b6020880197506001820191505b848210156184f5576184e8886184e383617cd8565b6160dd565b6020880197506001820191505b8482101561851c5761850f8861850a83617cf2565b6160dd565b6020880197506001820191505b84821015618543576185368861853183617d0c565b6160dd565b6020880197506001820191505b8482101561856a5761855d8861855883617d26565b6160dd565b6020880197506001820191505b84821015618591576185848861857f83617d40565b6160dd565b6020880197506001820191505b505b8694505050505092915050565b6000610120830160008084015490506185b881616926565b6185c56000870182615b99565b50600184015490506185d681616926565b6185e36020870182615b99565b506002840185830360408701526185fa8382616b11565b9250506003840185830360608701526186138382616bd1565b92505060048401858303608087015261862c8382616c76565b9250506005840185830360a08701526186458382616c76565b9250506006840185830360c087015261865e83826171a7565b9250506007840185830360e08701526186778382617d5a565b925050600884018583036101008701526186918382616c76565b925050819250505092915050565b600060208201905081810360008301526186b981846185a0565b905092915050565b7f417373657420537761707065723a20696e76616c6964206d6174636865720000600082015250565b60006186f7601e83616680565b9150618702826186c1565b602082019050919050565b60006020820190508181036000830152618726816186ea565b9050919050565b600060e0830160008084015490506187448161697e565b6187516000870182615b8a565b506001840154905061876281616926565b61876f6020870182615b99565b506002840185830360408701526187868382616bd1565b92505060038401858303606087015261879f8382616c76565b9250506004840185830360808701526187b88382616c76565b9250506005840185830360a08701526187d183826171a7565b925050600684015490506187e48161697e565b6187f160c0870182615b8a565b50819250505092915050565b60006020820190508181036000830152618817818461872d565b905092915050565b7f41737365744d616e616765723a20617373657420646f6573206e6f742065786960008201527f7374000000000000000000000000000000000000000000000000000000000000602082015250565b600061887b602283616680565b91506188868261881f565b604082019050919050565b600060208201905081810360008301526188aa8161886e565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006188f26017836188b1565b91506188fd826188bc565b601782019050919050565b600061891382616029565b61891d81856188b1565b935061892d818560208601616045565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061896f6011836188b1565b915061897a82618939565b601182019050919050565b6000618990826188e5565b915061899c8285618908565b91506189a782618962565b91506189b38284618908565b91508190509392505050565b60006189ca82616029565b6189d48185616680565b93506189e4818560208601616045565b6189ed816154d9565b840191505092915050565b60006020820190508181036000830152618a1281846189bf565b905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000618a50601483616680565b9150618a5b82618a1a565b602082019050919050565b60006020820190508181036000830152618a7f81618a43565b9050919050565b6000602082019050618a9b600083018461652f565b92915050565b6000618aac826157a6565b9150618ab7836157a6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615618af057618aef6165b2565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000618b35826157a6565b9150618b40836157a6565b925082618b5057618b4f618afb565b5b828204905092915050565b7f417373657420537761707065723a20696e76616c6964206d6174636820696400600082015250565b6000618b91601f83616680565b9150618b9c82618b5b565b602082019050919050565b60006020820190508181036000830152618bc081618b84565b9050919050565b7f417373657420537761707065723a2070726f706f73657220617373657473206960008201527f6e76616c69640000000000000000000000000000000000000000000000000000602082015250565b6000618c23602683616680565b9150618c2e82618bc7565b604082019050919050565b60006020820190508181036000830152618c5281618c16565b9050919050565b7f417373657420537761707065723a206d6174636865722061737365747320696e60008201527f76616c6964000000000000000000000000000000000000000000000000000000602082015250565b6000618cb5602583616680565b9150618cc082618c59565b604082019050919050565b60006020820190508181036000830152618ce481618ca8565b9050919050565b600081519050618cfa816157b0565b92915050565b600060208284031215618d1657618d156153d8565b5b6000618d2484828501618ceb565b91505092915050565b6000604082019050618d42600083018561652f565b618d4f6020830184615a39565b9392505050565b7f41737365737420537761707065723a20616d6f756e74207265636f726420736960008201527f7a6520646f6573206e6f74206d61746368000000000000000000000000000000602082015250565b6000618db2603183616680565b9150618dbd82618d56565b604082019050919050565b60006020820190508181036000830152618de181618da5565b9050919050565b7f41737365737420537761707065723a206964207265636f72642073697a65206460008201527f6f6573206e6f74206d6174636800000000000000000000000000000000000000602082015250565b6000618e44602d83616680565b9150618e4f82618de8565b604082019050919050565b60006020820190508181036000830152618e7381618e37565b9050919050565b7f41737365737420537761707065723a2070726f746f636f6c207265636f72642060008201527f73697a6520646f6573206e6f74206d6174636800000000000000000000000000602082015250565b6000618ed6603383616680565b9150618ee182618e7a565b604082019050919050565b60006020820190508181036000830152618f0581618ec9565b9050919050565b7f41737365737420537761707065723a20726563656976657220646f6573206e6f60008201527f74206d6174636800000000000000000000000000000000000000000000000000602082015250565b6000618f68602783616680565b9150618f7382618f0c565b604082019050919050565b60006020820190508181036000830152618f9781618f5b565b9050919050565b6000618fa9826157a6565b9150618fb4836157a6565b925082821015618fc757618fc66165b2565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f417373657420537761707065723a20616d6f756e74207265636f72642073697a60008201527f6520646f6573206e6f74206d6174636800000000000000000000000000000000602082015250565b600061905d603083616680565b915061906882619001565b604082019050919050565b6000602082019050818103600083015261908c81619050565b9050919050565b7f417373657420537761707065723a206964207265636f72642073697a6520646f60008201527f6573206e6f74206d617463680000000000000000000000000000000000000000602082015250565b60006190ef602c83616680565b91506190fa82619093565b604082019050919050565b6000602082019050818103600083015261911e816190e2565b9050919050565b7f417373657420537761707065723a2070726f746f636f6c207265636f7264207360008201527f697a6520646f6573206e6f74206d617463680000000000000000000000000000602082015250565b6000619181603283616680565b915061918c82619125565b604082019050919050565b600060208201905081810360008301526191b081619174565b9050919050565b7f417373657420537761707065723a2077616e746564207265636f72642073697a60008201527f6520646f6573206e6f74206d6174636800000000000000000000000000000000602082015250565b6000619213603083616680565b915061921e826191b7565b604082019050919050565b6000602082019050818103600083015261924281619206565b9050919050565b6000619254826157a6565b91506000821415619268576192676165b2565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006192a9602083616680565b91506192b482619273565b602082019050919050565b600060208201905081810360008301526192d88161929c565b9050919050565b7f417373657420537761707065723a20736f6d652070726f706f7365722061737360008201527f65747320617265206e6f7420617070726f766564000000000000000000000000602082015250565b600061933b603483616680565b9150619346826192df565b604082019050919050565b6000602082019050818103600083015261936a8161932e565b9050919050565b7f417373657420537761707065723a20736f6d652070726f706f7365722061737360008201527f65747320617265206e6f7420696e2073746f636b000000000000000000000000602082015250565b60006193cd603483616680565b91506193d882619371565b604082019050919050565b600060208201905081810360008301526193fc816193c0565b9050919050565b7f417373657420537761707065723a20736f6d65206d617463686572206173736560008201527f747320617265206e6f7420617070726f76656400000000000000000000000000602082015250565b600061945f603383616680565b915061946a82619403565b604082019050919050565b6000602082019050818103600083015261948e81619452565b9050919050565b7f417373657420537761707065723a20736f6d65206d617463686572206173736560008201527f747320617265206e6f7420696e2073746f636b00000000000000000000000000602082015250565b60006194f1603383616680565b91506194fc82619495565b604082019050919050565b60006020820190508181036000830152619520816194e4565b9050919050565b600060608201905061953c600083018661652f565b619549602083018561652f565b6195566040830184615a39565b949350505050565b600082825260208201905092915050565b50565b600061957f60008361955e565b915061958a8261956f565b600082019050919050565b600060a0820190506195aa600083018761652f565b6195b7602083018661652f565b6195c46040830185615a39565b6195d16060830184615a39565b81810360808301526195e281619572565b905095945050505050565b7f417373657420537761707065723a2063616e6e6f74207377617020756e73757060008201527f706f7274656420746f6b656e2070726f746f636f6c0000000000000000000000602082015250565b6000619649603583616680565b9150619654826195ed565b604082019050919050565b600060208201905081810360008301526196788161963c565b9050919050565b6000604082019050619694600083018561652f565b6196a1602083018461652f565b9392505050565b7f417373657420537761707065723a20696e73756666696369656e7420746f6b6560008201527f6e20616c6c6f77616e6365000000000000000000000000000000000000000000602082015250565b6000619704602b83616680565b915061970f826196a8565b604082019050919050565b60006020820190508181036000830152619733816196f7565b9050919050565b600081519050619749816155c8565b92915050565b600060208284031215619765576197646153d8565b5b60006197738482850161973a565b91505092915050565b60008151905061978b8161589f565b92915050565b6000602082840312156197a7576197a66153d8565b5b60006197b58482850161977c565b91505092915050565b7f417373657420537761707065723a2045524337323120746f6b656e206e6f742060008201527f617070726f766564200000000000000000000000000000000000000000000000602082015250565b600061981a602983616680565b9150619825826197be565b604082019050919050565b600060208201905081810360008301526198498161980d565b9050919050565b7f417373657420537761707065723a204552433131353520746f6b656e206e6f7460008201527f20617070726f7665642000000000000000000000000000000000000000000000602082015250565b60006198ac602a83616680565b91506198b782619850565b604082019050919050565b600060208201905081810360008301526198db8161989f565b9050919050565b7f417373657420537761707065723a20756e737570706f7274656420746f6b656e60008201527f2070726f746f636f6c0000000000000000000000000000000000000000000000602082015250565b600061993e602983616680565b9150619949826198e2565b604082019050919050565b6000602082019050818103600083015261996d81619931565b9050919050565b7f417373657420537761707065723a20455243323020696e73756666696369656e60008201527f7420746f6b656e2062616c616e63650000000000000000000000000000000000602082015250565b60006199d0602f83616680565b91506199db82619974565b604082019050919050565b600060208201905081810360008301526199ff816199c3565b9050919050565b7f417373657420537761707065723a2045524337323120696e737566666963696560008201527f6e7420746f6b656e2062616c616e636500000000000000000000000000000000602082015250565b6000619a62603083616680565b9150619a6d82619a06565b604082019050919050565b60006020820190508181036000830152619a9181619a55565b9050919050565b7f417373657420537761707065723a204552433131353520696e7375666669636960008201527f656e7420746f6b656e2062616c616e6365000000000000000000000000000000602082015250565b6000619af4603183616680565b9150619aff82619a98565b604082019050919050565b60006020820190508181036000830152619b2381619ae7565b9050919050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000619b86602a83616680565b9150619b9182619b2a565b604082019050919050565b60006020820190508181036000830152619bb581619b79565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000619c18602683616680565b9150619c2382619bbc565b604082019050919050565b60006020820190508181036000830152619c4781619c0b565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000619c84601d83616680565b9150619c8f82619c4e565b602082019050919050565b60006020820190508181036000830152619cb381619c77565b9050919050565b600081519050919050565b600081905092915050565b6000619cdb82619cba565b619ce58185619cc5565b9350619cf5818560208601616045565b80840191505092915050565b6000619d0d8284619cd0565b91508190509291505056fea2646970667358221220cf570873f847d61d00072202e647cc7c9ccce013473dfa18827a022c7154d56664736f6c634300080c0033