Address Details
contract
0x8E94881e1A98064b8724F4C37111dC6Ebac6E33d
- Contract Name
- PxaMarket
- Creator
- 0xebd0a5–5c1367 at 0x8140eb–69e259
- Balance
- 10.43416666666666667 CELO ( )
- Locked CELO Balance
- 0.00 CELO
- Voting CELO Balance
- 0.00 CELO
- Pending Unlocked Gold
- 0.00 CELO
- Tokens
-
Fetching tokens...
- Transactions
- Fetching transactions...
- Transfers
- Fetching transfers...
- Gas Used
- Fetching gas used...
- Last Balance Update
- 11898617
Transactions
Token Transfers
Tokens
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:
- PxaMarket
- Optimization enabled
- false
- Compiler version
- v0.8.12+commit.f00d7308
- EVM Version
- london
- Verified at
- 2022-05-25T08:32:45.472455Z
contracts/PxaMarket.sol
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.12; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol"; import "./IPxaMarket.sol"; import "./IPWS.sol"; contract PxaMarket is Pausable, IPxaMarket, AccessControl, ERC721Holder { // constants bytes32 public constant COORDINATOR = keccak256("COORDINATOR"); uint256 public constant RATE_BASE = 1e6; mapping(uint256 => Order) _orders; // vars uint256 private _income; uint256[] private _orderIds = new uint256[](0); address private _pxaAddress; address private _pwsAddress; uint256 private _feeRatio; uint256 private _feeShareRatio; string public name = "PixelAva Market"; constructor(address pxaAddr, address pxaWeightAddr) { _pxaAddress = pxaAddr; _pwsAddress = pxaWeightAddr; _feeRatio = 10000; _feeShareRatio = 500000; _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _grantRole(COORDINATOR, msg.sender); } function order(uint256 tokenId) external view returns (Order memory _order) { return _orders[tokenId]; } function createOrder(uint256 tokenId, uint256 price) external whenNotPaused { require(IERC721(_pxaAddress).ownerOf(tokenId) == msg.sender, "PxaMarket: invalid token owner"); IERC721(_pxaAddress).safeTransferFrom(msg.sender, address(this), tokenId); _orders[tokenId] = Order(msg.sender, tokenId, price, 0, _orderIds.length); _orderIds.push(tokenId); emit OrderCreated(tokenId, msg.sender, price); } function buy(uint256 tokenId) external payable whenNotPaused { require(msg.value >= _orders[tokenId].price, "PxaMarket: insufficient CELO"); uint256 fee = (msg.value * _feeRatio) / RATE_BASE; uint256 rest = msg.value - fee; _shareIncome(fee); payable(_orders[tokenId].seller).transfer(rest); _claim(msg.sender, tokenId); IERC721(_pxaAddress).safeTransferFrom(address(this), msg.sender, tokenId); _remove(tokenId); emit Bought(tokenId, msg.value, _orders[tokenId].revenue); } function claim(uint256 tokenId) external payable whenNotPaused { _claim(msg.sender, tokenId); } function cancelOrder(uint256 tokenId) external payable whenNotPaused { require(msg.sender == _orders[tokenId].seller, "PxaMarket: invalid seller"); uint256 revenue = _orders[tokenId].revenue; _claim(msg.sender, tokenId); _remove(tokenId); IERC721(_pxaAddress).safeTransferFrom(address(this), msg.sender, tokenId); emit OrderRemoved(tokenId, revenue); } function pxaAddress() external view returns (address) { return _pxaAddress; } function setPxaAddress(address value) external onlyRole(COORDINATOR) { _pxaAddress = value; } function pwsAddress() external view returns (address) { return _pwsAddress; } function setPwsAddress(address value) external onlyRole(COORDINATOR) { _pwsAddress = value; } function rateBase() external pure returns (uint256) { return RATE_BASE; } function feeRatio() external view returns (uint256) { return _feeRatio; } function setFeeRatio(uint256 value) external onlyRole(COORDINATOR) { _feeRatio = value; } function feeShareRatio() external view returns (uint256) { return _feeShareRatio; } function setFeeShareRatio(uint256 value) external onlyRole(COORDINATOR) { _feeShareRatio = value; } function shareIncome() public payable { _shareIncome(msg.value); } function _shareIncome(uint256 value) internal { if (_orderIds.length == 0) { _addIncome(value); } else { uint256 _dividends = (value * _feeShareRatio) / RATE_BASE; uint256 _ownerIncome = value - _dividends; _addDividend(_dividends); _addIncome(_ownerIncome); } } function addDividend() public payable { _addDividend(msg.value); } function income() external view returns (uint256) { return _income; } function addIncome() external payable { _addIncome(msg.value); } function claimIncome(address receiver, uint256 amount) external onlyRole(DEFAULT_ADMIN_ROLE) { require(_income >= amount && address(this).balance >= amount, "PxaMarket: insufficient income to claim"); payable(receiver).transfer(amount); _income = _income - amount; emit IncomeClaimed(receiver, amount); } function withdraw(address receiver, uint256 amount) external onlyRole(DEFAULT_ADMIN_ROLE) { require(address(this).balance >= amount, "PxaMarket: insufficient balance to withdraw"); payable(receiver).transfer(amount); emit Withdraw(receiver, amount); } function _remove(uint256 tokenId) internal { uint256 removeIndex = _orders[tokenId].index; uint256 replaceIndex = _orderIds.length - 1; _orderIds[removeIndex] = _orderIds[replaceIndex]; _orders[_orderIds[replaceIndex]].index = removeIndex; delete _orders[tokenId]; _orderIds.pop(); } function _addDividend(uint256 amount) internal { if (_orderIds.length == 0) return; uint256 totalWeight = IPWS(_pwsAddress).totalWeightOf(_orderIds); for (uint256 i = 0; i < _orderIds.length; i++) { uint256 id = _orderIds[i]; uint256 weight = IPWS(_pwsAddress).weight(id); uint256 revenue = (amount * weight) / totalWeight; _orders[id].revenue += revenue; emit RevenueIncreased(id, _orders[id].revenue); } } function _claim(address receiver, uint256 tokenId) internal { uint256 unclaimed = _orders[tokenId].revenue; if (unclaimed == 0) return; require(unclaimed <= address(this).balance, "PxaMarket: insufficient balance"); payable(receiver).transfer(unclaimed); _orders[tokenId].revenue = 0; emit Claimed(tokenId, unclaimed); } function _addIncome(uint256 amount) internal { _income = _income + amount; emit IncomeAdded(amount); } 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/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/token/ERC721/IERC721Receiver.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
/_openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/utils/ERC721Holder.sol) pragma solidity ^0.8.0; import "../IERC721Receiver.sol"; /** * @dev Implementation of the {IERC721Receiver} interface. * * Accepts all token transfers. * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}. */ contract ERC721Holder is IERC721Receiver { /** * @dev See {IERC721Receiver-onERC721Received}. * * Always returns `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address, address, uint256, bytes memory ) public virtual override returns (bytes4) { return this.onERC721Received.selector; } }
/_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/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/IPWS.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.12; interface IPWS { event WeightAdded(uint256 indexed id, uint256 amount); event WeightReduced(uint256 indexed id, uint256 amount); function weight(uint256 id) external view returns (uint256); function totalWeightOf(uint256[] memory _ids) external view returns (uint256); function addWeight(uint256 id, uint256 amount) external; function reduceWeight(uint256 id, uint256 amount) external; }
/contracts/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; }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"pxaAddr","internalType":"address"},{"type":"address","name":"pxaWeightAddr","internalType":"address"}]},{"type":"event","name":"Bought","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"uint256","name":"price","internalType":"uint256","indexed":false},{"type":"uint256","name":"revenue","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Claimed","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"uint256","name":"revenue","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"IncomeAdded","inputs":[{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"IncomeClaimed","inputs":[{"type":"address","name":"receiver","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OrderCreated","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"address","name":"seller","internalType":"address","indexed":false},{"type":"uint256","name":"price","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OrderRemoved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"uint256","name":"revenue","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Paused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"RevenueIncreased","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"uint256","name":"revenue","internalType":"uint256","indexed":false}],"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":"Unpaused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"Withdraw","inputs":[{"type":"address","name":"receiver","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"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":"uint256","name":"","internalType":"uint256"}],"name":"RATE_BASE","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[],"name":"addDividend","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[],"name":"addIncome","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[],"name":"buy","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"cancelOrder","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"claim","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claimIncome","inputs":[{"type":"address","name":"receiver","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"createOrder","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"price","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"feeRatio","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"feeShareRatio","inputs":[]},{"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":"uint256","name":"","internalType":"uint256"}],"name":"income","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bytes4","name":"","internalType":"bytes4"}],"name":"onERC721Received","inputs":[{"type":"address","name":"","internalType":"address"},{"type":"address","name":"","internalType":"address"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"bytes","name":"","internalType":"bytes"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple","name":"_order","internalType":"struct IPxaMarket.Order","components":[{"type":"address","name":"seller","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"price","internalType":"uint256"},{"type":"uint256","name":"revenue","internalType":"uint256"},{"type":"uint256","name":"index","internalType":"uint256"}]}],"name":"order","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"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":"address","name":"","internalType":"address"}],"name":"pwsAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"pxaAddress","inputs":[]},{"type":"function","stateMutability":"pure","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"rateBase","inputs":[]},{"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":"setFeeRatio","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setFeeShareRatio","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPwsAddress","inputs":[{"type":"address","name":"value","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPxaAddress","inputs":[{"type":"address","name":"value","internalType":"address"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"shareIncome","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdraw","inputs":[{"type":"address","name":"receiver","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]}]
Contract Creation Code
0x6080604052600067ffffffffffffffff8111156200002257620000216200044f565b5b604051908082528060200260200182016040528015620000515781602001602082028036833780820191505090505b5060049080519060200190620000699291906200034d565b506040518060400160405280600f81526020017f506978656c417661204d61726b6574000000000000000000000000000000000081525060099080519060200190620000b79291906200039f565b50348015620000c557600080fd5b5060405162003998380380620039988339818101604052810190620000eb9190620004e8565b60008060006101000a81548160ff02191690831515021790555081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506127106007819055506207a120600881905550620001af6000801b33620001e960201b60201c565b620001e17fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19933620001e960201b60201c565b505062000594565b620001fb8282620002da60201b60201c565b620002d657600180600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200027b6200034560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b8280548282559060005260206000209081019282156200038c579160200282015b828111156200038b5782518255916020019190600101906200036e565b5b5090506200039b919062000430565b5090565b828054620003ad906200055e565b90600052602060002090601f016020900481019282620003d157600085556200041d565b82601f10620003ec57805160ff19168380011785556200041d565b828001600101855582156200041d579182015b828111156200041c578251825591602001919060010190620003ff565b5b5090506200042c919062000430565b5090565b5b808211156200044b57600081600090555060010162000431565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004b08262000483565b9050919050565b620004c281620004a3565b8114620004ce57600080fd5b50565b600081519050620004e281620004b7565b92915050565b600080604083850312156200050257620005016200047e565b5b60006200051285828601620004d1565b92505060206200052585828601620004d1565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200057757607f821691505b602082108114156200058e576200058d6200052f565b5b50919050565b6133f480620005a46000396000f3fe6080604052600436106101f95760003560e01c80635c975abb1161010d57806396bc578f116100a0578063da8912251161006f578063da891225146106af578063dbf56517146106b9578063e779c84e146106e4578063ed67d3a8146106ee578063f3fef3a314610719576101f9565b806396bc578f14610616578063a217fddf1461063f578063d547741f1461066a578063d96a094a14610693576101f9565b80638456cb59116100dc5780638456cb591461058d57806388b45046146105a45780638cac3b42146105cf57806391d14854146105d9576101f9565b80635c975abb146104e55780636117d0a9146105105780636266d5451461053957806379109baa14610564576101f9565b8063248a9ca311610190578063379607f51161015f578063379607f51461042e5780633b2bcbf11461044a57806341744dd41461047557806346652153146104a0578063514fcac7146104c9576101f9565b8063248a9ca3146103765780632f2ff15d146103b357806333c445ee146103dc57806336568abe14610405576101f9565b80630873c6ec116101cc5780630873c6ec146102a8578063150b7a02146102d357806319f4ff2f1461031057806321603f4314610339576101f9565b8063014e95ba146101fe57806301ffc9a714610229578063046f7da21461026657806306fdde031461027d575b600080fd5b34801561020a57600080fd5b50610213610742565b60405161022091906122b0565b60405180910390f35b34801561023557600080fd5b50610250600480360381019061024b9190612337565b61074d565b60405161025d919061237f565b60405180910390f35b34801561027257600080fd5b5061027b6107c7565b005b34801561028957600080fd5b50610292610804565b60405161029f9190612433565b60405180910390f35b3480156102b457600080fd5b506102bd610892565b6040516102ca91906122b0565b60405180910390f35b3480156102df57600080fd5b506102fa60048036038101906102f59190612614565b610899565b60405161030791906126a6565b60405180910390f35b34801561031c57600080fd5b50610337600480360381019061033291906126c1565b6108ad565b005b34801561034557600080fd5b50610360600480360381019061035b91906126c1565b6108ea565b60405161036d9190612774565b60405180910390f35b34801561038257600080fd5b5061039d600480360381019061039891906127c5565b610995565b6040516103aa9190612801565b60405180910390f35b3480156103bf57600080fd5b506103da60048036038101906103d5919061281c565b6109b5565b005b3480156103e857600080fd5b5061040360048036038101906103fe91906126c1565b6109de565b005b34801561041157600080fd5b5061042c6004803603810190610427919061281c565b610a1b565b005b610448600480360381019061044391906126c1565b610a9e565b005b34801561045657600080fd5b5061045f610af3565b60405161046c9190612801565b60405180910390f35b34801561048157600080fd5b5061048a610b17565b60405161049791906122b0565b60405180910390f35b3480156104ac57600080fd5b506104c760048036038101906104c2919061285c565b610b21565b005b6104e360048036038101906104de91906126c1565b610b98565b005b3480156104f157600080fd5b506104fa610d7f565b604051610507919061237f565b60405180910390f35b34801561051c57600080fd5b5061053760048036038101906105329190612889565b610d95565b005b34801561054557600080fd5b5061054e610ea9565b60405161055b91906128d8565b60405180910390f35b34801561057057600080fd5b5061058b600480360381019061058691906128f3565b610ed3565b005b34801561059957600080fd5b506105a26111e4565b005b3480156105b057600080fd5b506105b9611221565b6040516105c691906122b0565b60405180910390f35b6105d761122b565b005b3480156105e557600080fd5b5061060060048036038101906105fb919061281c565b611236565b60405161060d919061237f565b60405180910390f35b34801561062257600080fd5b5061063d6004803603810190610638919061285c565b6112a1565b005b34801561064b57600080fd5b50610654611318565b6040516106619190612801565b60405180910390f35b34801561067657600080fd5b50610691600480360381019061068c919061281c565b61131f565b005b6106ad60048036038101906106a891906126c1565b611348565b005b6106b7611598565b005b3480156106c557600080fd5b506106ce6115a3565b6040516106db91906128d8565b60405180910390f35b6106ec6115cd565b005b3480156106fa57600080fd5b506107036115d8565b60405161071091906122b0565b60405180910390f35b34801561072557600080fd5b50610740600480360381019061073b9190612889565b6115e2565b005b6000620f4240905090565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107c057506107bf826116d4565b5b9050919050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996107f9816107f461173e565b611746565b6108016117e3565b50565b6009805461081190612962565b80601f016020809104026020016040519081016040528092919081815260200182805461083d90612962565b801561088a5780601f1061085f5761010080835404028352916020019161088a565b820191906000526020600020905b81548152906001019060200180831161086d57829003601f168201915b505050505081565b620f424081565b600063150b7a0260e01b9050949350505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996108df816108da61173e565b611746565b816007819055505050565b6108f2612252565b600260008381526020019081526020016000206040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152602001600382015481526020016004820154815250509050919050565b600060016000838152602001908152602001600020600101549050919050565b6109be82610995565b6109cf816109ca61173e565b611746565b6109d98383611884565b505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610a1081610a0b61173e565b611746565b816008819055505050565b610a2361173e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8790612a06565b60405180910390fd5b610a9a8282611964565b5050565b610aa6610d7f565b15610ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610add90612a72565b60405180910390fd5b610af03382611a46565b50565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19981565b6000600754905090565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610b5381610b4e61173e565b611746565b81600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b610ba0610d7f565b15610be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd790612a72565b60405180910390fd5b6002600082815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7b90612ade565b60405180910390fd5b600060026000838152602001908152602001600020600301549050610ca93383611a46565b610cb282611b54565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3033856040518463ffffffff1660e01b8152600401610d1193929190612afe565b600060405180830381600087803b158015610d2b57600080fd5b505af1158015610d3f573d6000803e3d6000fd5b50505050817fdec16ec0a15607be6e73ed1ca935aa1269ae828874049d254f31b28c102f6dd082604051610d7391906122b0565b60405180910390a25050565b60008060009054906101000a900460ff16905090565b6000801b610daa81610da561173e565b611746565b8160035410158015610dbc5750814710155b610dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df290612ba7565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610e41573d6000803e3d6000fd5b5081600354610e509190612bf6565b6003819055508273ffffffffffffffffffffffffffffffffffffffff167f7e18eb4382c89bcd38f6993b694deaee84f17304e35dd53e49cff77704e9eaba83604051610e9c91906122b0565b60405180910390a2505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610edb610d7f565b15610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1290612a72565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401610f8d91906122b0565b602060405180830381865afa158015610faa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fce9190612c3f565b73ffffffffffffffffffffffffffffffffffffffff1614611024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101b90612cb8565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3330856040518463ffffffff1660e01b815260040161108393929190612afe565b600060405180830381600087803b15801561109d57600080fd5b505af11580156110b1573d6000803e3d6000fd5b505050506040518060a001604052803373ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001600081526020016004805490508152506002600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030155608082015181600401559050506004829080600181540180825580915050600190039060005260206000200160009091909190915055817f28eb86fd03c9bd96a8a83e4a46ab2ad257b70cea893d98ad6d482e96aa25fad033836040516111d8929190612cd8565b60405180910390a25050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996112168161121161173e565b611746565b61121e611c89565b50565b6000600354905090565b61123434611d2b565b565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996112d3816112ce61173e565b611746565b81600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000801b81565b61132882610995565b6113398161133461173e565b611746565b6113438383611964565b505050565b611350610d7f565b15611390576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138790612a72565b60405180910390fd5b60026000828152602001908152602001600020600201543410156113e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e090612d4d565b60405180910390fd5b6000620f4240600754346113fd9190612d6d565b6114079190612df6565b9050600081346114179190612bf6565b905061142282611f64565b6002600084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561149e573d6000803e3d6000fd5b506114a93384611a46565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3033866040518463ffffffff1660e01b815260040161150893929190612afe565b600060405180830381600087803b15801561152257600080fd5b505af1158015611536573d6000803e3d6000fd5b5050505061154383611b54565b827f871cca9c30ebd3d38d92d08304561880d6466ddb658d2fd88e501a929c497fd934600260008781526020019081526020016000206003015460405161158b929190612e27565b60405180910390a2505050565b6115a134611fc8565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115d634611f64565b565b6000600854905090565b6000801b6115f7816115f261173e565b611746565b8147101561163a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163190612ec2565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611680573d6000803e3d6000fd5b508273ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364836040516116c791906122b0565b60405180910390a2505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6117508282611236565b6117df576117758173ffffffffffffffffffffffffffffffffffffffff166014612016565b6117838360001c6020612016565b604051602001611794929190612fb6565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d69190612433565b60405180910390fd5b5050565b6117eb610d7f565b61182a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118219061303c565b60405180910390fd5b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61186d61173e565b60405161187a91906128d8565b60405180910390a1565b61188e8282611236565b61196057600180600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061190561173e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61196e8282611236565b15611a425760006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506119e761173e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000600260008381526020019081526020016000206003015490506000811415611a705750611b50565b47811115611ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaa906130a8565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611af9573d6000803e3d6000fd5b5060006002600084815260200190815260200160002060030181905550817fc83b5086ce94ec8d5a88a9f5fea4b18a522bb238ed0d2d8abd959549a80c16b882604051611b4691906122b0565b60405180910390a2505b5050565b60006002600083815260200190815260200160002060040154905060006001600480549050611b839190612bf6565b905060048181548110611b9957611b986130c8565b5b906000526020600020015460048381548110611bb857611bb76130c8565b5b9060005260206000200181905550816002600060048481548110611bdf57611bde6130c8565b5b906000526020600020015481526020019081526020016000206004018190555060026000848152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905560028201600090556003820160009055600482016000905550506004805480611c6e57611c6d6130f7565b5b60019003818190600052602060002001600090559055505050565b611c91610d7f565b15611cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc890612a72565b60405180910390fd5b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d1461173e565b604051611d2191906128d8565b60405180910390a1565b60006004805490501415611d3e57611f61565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bdbe93f360046040518263ffffffff1660e01b8152600401611d9c9190613225565b602060405180830381865afa158015611db9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ddd919061325c565b905060005b600480549050811015611f5e57600060048281548110611e0557611e046130c8565b5b906000526020600020015490506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f8e27f93836040518263ffffffff1660e01b8152600401611e6f91906122b0565b602060405180830381865afa158015611e8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eb0919061325c565b90506000848287611ec19190612d6d565b611ecb9190612df6565b905080600260008581526020019081526020016000206003016000828254611ef39190613289565b92505081905550827fa916eef8b97ca0570d37ecb046f524f745075ea4e82b3067d873334377e9f8b76002600086815260200190815260200160002060030154604051611f4091906122b0565b60405180910390a25050508080611f56906132df565b915050611de2565b50505b50565b60006004805490501415611f8057611f7b81611fc8565b611fc5565b6000620f424060085483611f949190612d6d565b611f9e9190612df6565b905060008183611fae9190612bf6565b9050611fb982611d2b565b611fc281611fc8565b50505b50565b80600354611fd69190613289565b6003819055507f1fbb551cc9353e15f244d4528f00d8986e351b90d15ad354ad91fef5f3b15eca8160405161200b91906122b0565b60405180910390a150565b6060600060028360026120299190612d6d565b6120339190613289565b67ffffffffffffffff81111561204c5761204b6124e9565b5b6040519080825280601f01601f19166020018201604052801561207e5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106120b6576120b56130c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061211a576121196130c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261215a9190612d6d565b6121649190613289565b90505b6001811115612204577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106121a6576121a56130c8565b5b1a60f81b8282815181106121bd576121bc6130c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806121fd90613328565b9050612167565b5060008414612248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223f9061339e565b60405180910390fd5b8091505092915050565b6040518060a00160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000815260200160008152602001600081525090565b6000819050919050565b6122aa81612297565b82525050565b60006020820190506122c560008301846122a1565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612314816122df565b811461231f57600080fd5b50565b6000813590506123318161230b565b92915050565b60006020828403121561234d5761234c6122d5565b5b600061235b84828501612322565b91505092915050565b60008115159050919050565b61237981612364565b82525050565b60006020820190506123946000830184612370565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156123d45780820151818401526020810190506123b9565b838111156123e3576000848401525b50505050565b6000601f19601f8301169050919050565b60006124058261239a565b61240f81856123a5565b935061241f8185602086016123b6565b612428816123e9565b840191505092915050565b6000602082019050818103600083015261244d81846123fa565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061248082612455565b9050919050565b61249081612475565b811461249b57600080fd5b50565b6000813590506124ad81612487565b92915050565b6124bc81612297565b81146124c757600080fd5b50565b6000813590506124d9816124b3565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612521826123e9565b810181811067ffffffffffffffff821117156125405761253f6124e9565b5b80604052505050565b60006125536122cb565b905061255f8282612518565b919050565b600067ffffffffffffffff82111561257f5761257e6124e9565b5b612588826123e9565b9050602081019050919050565b82818337600083830152505050565b60006125b76125b284612564565b612549565b9050828152602081018484840111156125d3576125d26124e4565b5b6125de848285612595565b509392505050565b600082601f8301126125fb576125fa6124df565b5b813561260b8482602086016125a4565b91505092915050565b6000806000806080858703121561262e5761262d6122d5565b5b600061263c8782880161249e565b945050602061264d8782880161249e565b935050604061265e878288016124ca565b925050606085013567ffffffffffffffff81111561267f5761267e6122da565b5b61268b878288016125e6565b91505092959194509250565b6126a0816122df565b82525050565b60006020820190506126bb6000830184612697565b92915050565b6000602082840312156126d7576126d66122d5565b5b60006126e5848285016124ca565b91505092915050565b6126f781612475565b82525050565b61270681612297565b82525050565b60a08201600082015161272260008501826126ee565b50602082015161273560208501826126fd565b50604082015161274860408501826126fd565b50606082015161275b60608501826126fd565b50608082015161276e60808501826126fd565b50505050565b600060a082019050612789600083018461270c565b92915050565b6000819050919050565b6127a28161278f565b81146127ad57600080fd5b50565b6000813590506127bf81612799565b92915050565b6000602082840312156127db576127da6122d5565b5b60006127e9848285016127b0565b91505092915050565b6127fb8161278f565b82525050565b600060208201905061281660008301846127f2565b92915050565b60008060408385031215612833576128326122d5565b5b6000612841858286016127b0565b92505060206128528582860161249e565b9150509250929050565b600060208284031215612872576128716122d5565b5b60006128808482850161249e565b91505092915050565b600080604083850312156128a05761289f6122d5565b5b60006128ae8582860161249e565b92505060206128bf858286016124ca565b9150509250929050565b6128d281612475565b82525050565b60006020820190506128ed60008301846128c9565b92915050565b6000806040838503121561290a576129096122d5565b5b6000612918858286016124ca565b9250506020612929858286016124ca565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061297a57607f821691505b6020821081141561298e5761298d612933565b5b50919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006129f0602f836123a5565b91506129fb82612994565b604082019050919050565b60006020820190508181036000830152612a1f816129e3565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612a5c6010836123a5565b9150612a6782612a26565b602082019050919050565b60006020820190508181036000830152612a8b81612a4f565b9050919050565b7f5078614d61726b65743a20696e76616c69642073656c6c657200000000000000600082015250565b6000612ac86019836123a5565b9150612ad382612a92565b602082019050919050565b60006020820190508181036000830152612af781612abb565b9050919050565b6000606082019050612b1360008301866128c9565b612b2060208301856128c9565b612b2d60408301846122a1565b949350505050565b7f5078614d61726b65743a20696e73756666696369656e7420696e636f6d65207460008201527f6f20636c61696d00000000000000000000000000000000000000000000000000602082015250565b6000612b916027836123a5565b9150612b9c82612b35565b604082019050919050565b60006020820190508181036000830152612bc081612b84565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612c0182612297565b9150612c0c83612297565b925082821015612c1f57612c1e612bc7565b5b828203905092915050565b600081519050612c3981612487565b92915050565b600060208284031215612c5557612c546122d5565b5b6000612c6384828501612c2a565b91505092915050565b7f5078614d61726b65743a20696e76616c696420746f6b656e206f776e65720000600082015250565b6000612ca2601e836123a5565b9150612cad82612c6c565b602082019050919050565b60006020820190508181036000830152612cd181612c95565b9050919050565b6000604082019050612ced60008301856128c9565b612cfa60208301846122a1565b9392505050565b7f5078614d61726b65743a20696e73756666696369656e742043454c4f00000000600082015250565b6000612d37601c836123a5565b9150612d4282612d01565b602082019050919050565b60006020820190508181036000830152612d6681612d2a565b9050919050565b6000612d7882612297565b9150612d8383612297565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612dbc57612dbb612bc7565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612e0182612297565b9150612e0c83612297565b925082612e1c57612e1b612dc7565b5b828204905092915050565b6000604082019050612e3c60008301856122a1565b612e4960208301846122a1565b9392505050565b7f5078614d61726b65743a20696e73756666696369656e742062616c616e63652060008201527f746f207769746864726177000000000000000000000000000000000000000000602082015250565b6000612eac602b836123a5565b9150612eb782612e50565b604082019050919050565b60006020820190508181036000830152612edb81612e9f565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000612f23601783612ee2565b9150612f2e82612eed565b601782019050919050565b6000612f448261239a565b612f4e8185612ee2565b9350612f5e8185602086016123b6565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000612fa0601183612ee2565b9150612fab82612f6a565b601182019050919050565b6000612fc182612f16565b9150612fcd8285612f39565b9150612fd882612f93565b9150612fe48284612f39565b91508190509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006130266014836123a5565b915061303182612ff0565b602082019050919050565b6000602082019050818103600083015261305581613019565b9050919050565b7f5078614d61726b65743a20696e73756666696369656e742062616c616e636500600082015250565b6000613092601f836123a5565b915061309d8261305c565b602082019050919050565b600060208201905081810360008301526130c181613085565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600081549050919050565b600082825260208201905092915050565b60008190508160005260206000209050919050565b600061316383836126fd565b60208301905092915050565b60008160001c9050919050565b6000819050919050565b60006131996131948361316f565b61317c565b9050919050565b60006131ac8254613186565b9050919050565b6000600182019050919050565b60006131cb82613126565b6131d58185613131565b93506131e083613142565b8060005b83811015613218576131f5826131a0565b6131ff8882613157565b975061320a836131b3565b9250506001810190506131e4565b5085935050505092915050565b6000602082019050818103600083015261323f81846131c0565b905092915050565b600081519050613256816124b3565b92915050565b600060208284031215613272576132716122d5565b5b600061328084828501613247565b91505092915050565b600061329482612297565b915061329f83612297565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156132d4576132d3612bc7565b5b828201905092915050565b60006132ea82612297565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561331d5761331c612bc7565b5b600182019050919050565b600061333382612297565b9150600082141561334757613346612bc7565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006133886020836123a5565b915061339382613352565b602082019050919050565b600060208201905081810360008301526133b78161337b565b905091905056fea26469706673582212204e662c6dd183c9a265cbfa991bdaa6e0f10a5d6aed879a315703cf2190e9061264736f6c634300080c0033000000000000000000000000082c09c950d002a6020d68ba8e20a13802b0b20d0000000000000000000000007b692f3a5b32fd50c0254eb89c382cf43196a0b6
Deployed ByteCode
0x6080604052600436106101f95760003560e01c80635c975abb1161010d57806396bc578f116100a0578063da8912251161006f578063da891225146106af578063dbf56517146106b9578063e779c84e146106e4578063ed67d3a8146106ee578063f3fef3a314610719576101f9565b806396bc578f14610616578063a217fddf1461063f578063d547741f1461066a578063d96a094a14610693576101f9565b80638456cb59116100dc5780638456cb591461058d57806388b45046146105a45780638cac3b42146105cf57806391d14854146105d9576101f9565b80635c975abb146104e55780636117d0a9146105105780636266d5451461053957806379109baa14610564576101f9565b8063248a9ca311610190578063379607f51161015f578063379607f51461042e5780633b2bcbf11461044a57806341744dd41461047557806346652153146104a0578063514fcac7146104c9576101f9565b8063248a9ca3146103765780632f2ff15d146103b357806333c445ee146103dc57806336568abe14610405576101f9565b80630873c6ec116101cc5780630873c6ec146102a8578063150b7a02146102d357806319f4ff2f1461031057806321603f4314610339576101f9565b8063014e95ba146101fe57806301ffc9a714610229578063046f7da21461026657806306fdde031461027d575b600080fd5b34801561020a57600080fd5b50610213610742565b60405161022091906122b0565b60405180910390f35b34801561023557600080fd5b50610250600480360381019061024b9190612337565b61074d565b60405161025d919061237f565b60405180910390f35b34801561027257600080fd5b5061027b6107c7565b005b34801561028957600080fd5b50610292610804565b60405161029f9190612433565b60405180910390f35b3480156102b457600080fd5b506102bd610892565b6040516102ca91906122b0565b60405180910390f35b3480156102df57600080fd5b506102fa60048036038101906102f59190612614565b610899565b60405161030791906126a6565b60405180910390f35b34801561031c57600080fd5b50610337600480360381019061033291906126c1565b6108ad565b005b34801561034557600080fd5b50610360600480360381019061035b91906126c1565b6108ea565b60405161036d9190612774565b60405180910390f35b34801561038257600080fd5b5061039d600480360381019061039891906127c5565b610995565b6040516103aa9190612801565b60405180910390f35b3480156103bf57600080fd5b506103da60048036038101906103d5919061281c565b6109b5565b005b3480156103e857600080fd5b5061040360048036038101906103fe91906126c1565b6109de565b005b34801561041157600080fd5b5061042c6004803603810190610427919061281c565b610a1b565b005b610448600480360381019061044391906126c1565b610a9e565b005b34801561045657600080fd5b5061045f610af3565b60405161046c9190612801565b60405180910390f35b34801561048157600080fd5b5061048a610b17565b60405161049791906122b0565b60405180910390f35b3480156104ac57600080fd5b506104c760048036038101906104c2919061285c565b610b21565b005b6104e360048036038101906104de91906126c1565b610b98565b005b3480156104f157600080fd5b506104fa610d7f565b604051610507919061237f565b60405180910390f35b34801561051c57600080fd5b5061053760048036038101906105329190612889565b610d95565b005b34801561054557600080fd5b5061054e610ea9565b60405161055b91906128d8565b60405180910390f35b34801561057057600080fd5b5061058b600480360381019061058691906128f3565b610ed3565b005b34801561059957600080fd5b506105a26111e4565b005b3480156105b057600080fd5b506105b9611221565b6040516105c691906122b0565b60405180910390f35b6105d761122b565b005b3480156105e557600080fd5b5061060060048036038101906105fb919061281c565b611236565b60405161060d919061237f565b60405180910390f35b34801561062257600080fd5b5061063d6004803603810190610638919061285c565b6112a1565b005b34801561064b57600080fd5b50610654611318565b6040516106619190612801565b60405180910390f35b34801561067657600080fd5b50610691600480360381019061068c919061281c565b61131f565b005b6106ad60048036038101906106a891906126c1565b611348565b005b6106b7611598565b005b3480156106c557600080fd5b506106ce6115a3565b6040516106db91906128d8565b60405180910390f35b6106ec6115cd565b005b3480156106fa57600080fd5b506107036115d8565b60405161071091906122b0565b60405180910390f35b34801561072557600080fd5b50610740600480360381019061073b9190612889565b6115e2565b005b6000620f4240905090565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107c057506107bf826116d4565b5b9050919050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996107f9816107f461173e565b611746565b6108016117e3565b50565b6009805461081190612962565b80601f016020809104026020016040519081016040528092919081815260200182805461083d90612962565b801561088a5780601f1061085f5761010080835404028352916020019161088a565b820191906000526020600020905b81548152906001019060200180831161086d57829003601f168201915b505050505081565b620f424081565b600063150b7a0260e01b9050949350505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996108df816108da61173e565b611746565b816007819055505050565b6108f2612252565b600260008381526020019081526020016000206040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152602001600382015481526020016004820154815250509050919050565b600060016000838152602001908152602001600020600101549050919050565b6109be82610995565b6109cf816109ca61173e565b611746565b6109d98383611884565b505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610a1081610a0b61173e565b611746565b816008819055505050565b610a2361173e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8790612a06565b60405180910390fd5b610a9a8282611964565b5050565b610aa6610d7f565b15610ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610add90612a72565b60405180910390fd5b610af03382611a46565b50565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19981565b6000600754905090565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610b5381610b4e61173e565b611746565b81600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b610ba0610d7f565b15610be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd790612a72565b60405180910390fd5b6002600082815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7b90612ade565b60405180910390fd5b600060026000838152602001908152602001600020600301549050610ca93383611a46565b610cb282611b54565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3033856040518463ffffffff1660e01b8152600401610d1193929190612afe565b600060405180830381600087803b158015610d2b57600080fd5b505af1158015610d3f573d6000803e3d6000fd5b50505050817fdec16ec0a15607be6e73ed1ca935aa1269ae828874049d254f31b28c102f6dd082604051610d7391906122b0565b60405180910390a25050565b60008060009054906101000a900460ff16905090565b6000801b610daa81610da561173e565b611746565b8160035410158015610dbc5750814710155b610dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df290612ba7565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610e41573d6000803e3d6000fd5b5081600354610e509190612bf6565b6003819055508273ffffffffffffffffffffffffffffffffffffffff167f7e18eb4382c89bcd38f6993b694deaee84f17304e35dd53e49cff77704e9eaba83604051610e9c91906122b0565b60405180910390a2505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610edb610d7f565b15610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1290612a72565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401610f8d91906122b0565b602060405180830381865afa158015610faa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fce9190612c3f565b73ffffffffffffffffffffffffffffffffffffffff1614611024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101b90612cb8565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3330856040518463ffffffff1660e01b815260040161108393929190612afe565b600060405180830381600087803b15801561109d57600080fd5b505af11580156110b1573d6000803e3d6000fd5b505050506040518060a001604052803373ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001600081526020016004805490508152506002600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030155608082015181600401559050506004829080600181540180825580915050600190039060005260206000200160009091909190915055817f28eb86fd03c9bd96a8a83e4a46ab2ad257b70cea893d98ad6d482e96aa25fad033836040516111d8929190612cd8565b60405180910390a25050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996112168161121161173e565b611746565b61121e611c89565b50565b6000600354905090565b61123434611d2b565b565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996112d3816112ce61173e565b611746565b81600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000801b81565b61132882610995565b6113398161133461173e565b611746565b6113438383611964565b505050565b611350610d7f565b15611390576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138790612a72565b60405180910390fd5b60026000828152602001908152602001600020600201543410156113e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e090612d4d565b60405180910390fd5b6000620f4240600754346113fd9190612d6d565b6114079190612df6565b9050600081346114179190612bf6565b905061142282611f64565b6002600084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561149e573d6000803e3d6000fd5b506114a93384611a46565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3033866040518463ffffffff1660e01b815260040161150893929190612afe565b600060405180830381600087803b15801561152257600080fd5b505af1158015611536573d6000803e3d6000fd5b5050505061154383611b54565b827f871cca9c30ebd3d38d92d08304561880d6466ddb658d2fd88e501a929c497fd934600260008781526020019081526020016000206003015460405161158b929190612e27565b60405180910390a2505050565b6115a134611fc8565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115d634611f64565b565b6000600854905090565b6000801b6115f7816115f261173e565b611746565b8147101561163a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163190612ec2565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611680573d6000803e3d6000fd5b508273ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364836040516116c791906122b0565b60405180910390a2505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6117508282611236565b6117df576117758173ffffffffffffffffffffffffffffffffffffffff166014612016565b6117838360001c6020612016565b604051602001611794929190612fb6565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d69190612433565b60405180910390fd5b5050565b6117eb610d7f565b61182a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118219061303c565b60405180910390fd5b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61186d61173e565b60405161187a91906128d8565b60405180910390a1565b61188e8282611236565b61196057600180600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061190561173e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61196e8282611236565b15611a425760006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506119e761173e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000600260008381526020019081526020016000206003015490506000811415611a705750611b50565b47811115611ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaa906130a8565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611af9573d6000803e3d6000fd5b5060006002600084815260200190815260200160002060030181905550817fc83b5086ce94ec8d5a88a9f5fea4b18a522bb238ed0d2d8abd959549a80c16b882604051611b4691906122b0565b60405180910390a2505b5050565b60006002600083815260200190815260200160002060040154905060006001600480549050611b839190612bf6565b905060048181548110611b9957611b986130c8565b5b906000526020600020015460048381548110611bb857611bb76130c8565b5b9060005260206000200181905550816002600060048481548110611bdf57611bde6130c8565b5b906000526020600020015481526020019081526020016000206004018190555060026000848152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905560028201600090556003820160009055600482016000905550506004805480611c6e57611c6d6130f7565b5b60019003818190600052602060002001600090559055505050565b611c91610d7f565b15611cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc890612a72565b60405180910390fd5b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d1461173e565b604051611d2191906128d8565b60405180910390a1565b60006004805490501415611d3e57611f61565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bdbe93f360046040518263ffffffff1660e01b8152600401611d9c9190613225565b602060405180830381865afa158015611db9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ddd919061325c565b905060005b600480549050811015611f5e57600060048281548110611e0557611e046130c8565b5b906000526020600020015490506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f8e27f93836040518263ffffffff1660e01b8152600401611e6f91906122b0565b602060405180830381865afa158015611e8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eb0919061325c565b90506000848287611ec19190612d6d565b611ecb9190612df6565b905080600260008581526020019081526020016000206003016000828254611ef39190613289565b92505081905550827fa916eef8b97ca0570d37ecb046f524f745075ea4e82b3067d873334377e9f8b76002600086815260200190815260200160002060030154604051611f4091906122b0565b60405180910390a25050508080611f56906132df565b915050611de2565b50505b50565b60006004805490501415611f8057611f7b81611fc8565b611fc5565b6000620f424060085483611f949190612d6d565b611f9e9190612df6565b905060008183611fae9190612bf6565b9050611fb982611d2b565b611fc281611fc8565b50505b50565b80600354611fd69190613289565b6003819055507f1fbb551cc9353e15f244d4528f00d8986e351b90d15ad354ad91fef5f3b15eca8160405161200b91906122b0565b60405180910390a150565b6060600060028360026120299190612d6d565b6120339190613289565b67ffffffffffffffff81111561204c5761204b6124e9565b5b6040519080825280601f01601f19166020018201604052801561207e5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106120b6576120b56130c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061211a576121196130c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261215a9190612d6d565b6121649190613289565b90505b6001811115612204577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106121a6576121a56130c8565b5b1a60f81b8282815181106121bd576121bc6130c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806121fd90613328565b9050612167565b5060008414612248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223f9061339e565b60405180910390fd5b8091505092915050565b6040518060a00160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000815260200160008152602001600081525090565b6000819050919050565b6122aa81612297565b82525050565b60006020820190506122c560008301846122a1565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612314816122df565b811461231f57600080fd5b50565b6000813590506123318161230b565b92915050565b60006020828403121561234d5761234c6122d5565b5b600061235b84828501612322565b91505092915050565b60008115159050919050565b61237981612364565b82525050565b60006020820190506123946000830184612370565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156123d45780820151818401526020810190506123b9565b838111156123e3576000848401525b50505050565b6000601f19601f8301169050919050565b60006124058261239a565b61240f81856123a5565b935061241f8185602086016123b6565b612428816123e9565b840191505092915050565b6000602082019050818103600083015261244d81846123fa565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061248082612455565b9050919050565b61249081612475565b811461249b57600080fd5b50565b6000813590506124ad81612487565b92915050565b6124bc81612297565b81146124c757600080fd5b50565b6000813590506124d9816124b3565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612521826123e9565b810181811067ffffffffffffffff821117156125405761253f6124e9565b5b80604052505050565b60006125536122cb565b905061255f8282612518565b919050565b600067ffffffffffffffff82111561257f5761257e6124e9565b5b612588826123e9565b9050602081019050919050565b82818337600083830152505050565b60006125b76125b284612564565b612549565b9050828152602081018484840111156125d3576125d26124e4565b5b6125de848285612595565b509392505050565b600082601f8301126125fb576125fa6124df565b5b813561260b8482602086016125a4565b91505092915050565b6000806000806080858703121561262e5761262d6122d5565b5b600061263c8782880161249e565b945050602061264d8782880161249e565b935050604061265e878288016124ca565b925050606085013567ffffffffffffffff81111561267f5761267e6122da565b5b61268b878288016125e6565b91505092959194509250565b6126a0816122df565b82525050565b60006020820190506126bb6000830184612697565b92915050565b6000602082840312156126d7576126d66122d5565b5b60006126e5848285016124ca565b91505092915050565b6126f781612475565b82525050565b61270681612297565b82525050565b60a08201600082015161272260008501826126ee565b50602082015161273560208501826126fd565b50604082015161274860408501826126fd565b50606082015161275b60608501826126fd565b50608082015161276e60808501826126fd565b50505050565b600060a082019050612789600083018461270c565b92915050565b6000819050919050565b6127a28161278f565b81146127ad57600080fd5b50565b6000813590506127bf81612799565b92915050565b6000602082840312156127db576127da6122d5565b5b60006127e9848285016127b0565b91505092915050565b6127fb8161278f565b82525050565b600060208201905061281660008301846127f2565b92915050565b60008060408385031215612833576128326122d5565b5b6000612841858286016127b0565b92505060206128528582860161249e565b9150509250929050565b600060208284031215612872576128716122d5565b5b60006128808482850161249e565b91505092915050565b600080604083850312156128a05761289f6122d5565b5b60006128ae8582860161249e565b92505060206128bf858286016124ca565b9150509250929050565b6128d281612475565b82525050565b60006020820190506128ed60008301846128c9565b92915050565b6000806040838503121561290a576129096122d5565b5b6000612918858286016124ca565b9250506020612929858286016124ca565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061297a57607f821691505b6020821081141561298e5761298d612933565b5b50919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006129f0602f836123a5565b91506129fb82612994565b604082019050919050565b60006020820190508181036000830152612a1f816129e3565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612a5c6010836123a5565b9150612a6782612a26565b602082019050919050565b60006020820190508181036000830152612a8b81612a4f565b9050919050565b7f5078614d61726b65743a20696e76616c69642073656c6c657200000000000000600082015250565b6000612ac86019836123a5565b9150612ad382612a92565b602082019050919050565b60006020820190508181036000830152612af781612abb565b9050919050565b6000606082019050612b1360008301866128c9565b612b2060208301856128c9565b612b2d60408301846122a1565b949350505050565b7f5078614d61726b65743a20696e73756666696369656e7420696e636f6d65207460008201527f6f20636c61696d00000000000000000000000000000000000000000000000000602082015250565b6000612b916027836123a5565b9150612b9c82612b35565b604082019050919050565b60006020820190508181036000830152612bc081612b84565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612c0182612297565b9150612c0c83612297565b925082821015612c1f57612c1e612bc7565b5b828203905092915050565b600081519050612c3981612487565b92915050565b600060208284031215612c5557612c546122d5565b5b6000612c6384828501612c2a565b91505092915050565b7f5078614d61726b65743a20696e76616c696420746f6b656e206f776e65720000600082015250565b6000612ca2601e836123a5565b9150612cad82612c6c565b602082019050919050565b60006020820190508181036000830152612cd181612c95565b9050919050565b6000604082019050612ced60008301856128c9565b612cfa60208301846122a1565b9392505050565b7f5078614d61726b65743a20696e73756666696369656e742043454c4f00000000600082015250565b6000612d37601c836123a5565b9150612d4282612d01565b602082019050919050565b60006020820190508181036000830152612d6681612d2a565b9050919050565b6000612d7882612297565b9150612d8383612297565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612dbc57612dbb612bc7565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612e0182612297565b9150612e0c83612297565b925082612e1c57612e1b612dc7565b5b828204905092915050565b6000604082019050612e3c60008301856122a1565b612e4960208301846122a1565b9392505050565b7f5078614d61726b65743a20696e73756666696369656e742062616c616e63652060008201527f746f207769746864726177000000000000000000000000000000000000000000602082015250565b6000612eac602b836123a5565b9150612eb782612e50565b604082019050919050565b60006020820190508181036000830152612edb81612e9f565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000612f23601783612ee2565b9150612f2e82612eed565b601782019050919050565b6000612f448261239a565b612f4e8185612ee2565b9350612f5e8185602086016123b6565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000612fa0601183612ee2565b9150612fab82612f6a565b601182019050919050565b6000612fc182612f16565b9150612fcd8285612f39565b9150612fd882612f93565b9150612fe48284612f39565b91508190509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006130266014836123a5565b915061303182612ff0565b602082019050919050565b6000602082019050818103600083015261305581613019565b9050919050565b7f5078614d61726b65743a20696e73756666696369656e742062616c616e636500600082015250565b6000613092601f836123a5565b915061309d8261305c565b602082019050919050565b600060208201905081810360008301526130c181613085565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600081549050919050565b600082825260208201905092915050565b60008190508160005260206000209050919050565b600061316383836126fd565b60208301905092915050565b60008160001c9050919050565b6000819050919050565b60006131996131948361316f565b61317c565b9050919050565b60006131ac8254613186565b9050919050565b6000600182019050919050565b60006131cb82613126565b6131d58185613131565b93506131e083613142565b8060005b83811015613218576131f5826131a0565b6131ff8882613157565b975061320a836131b3565b9250506001810190506131e4565b5085935050505092915050565b6000602082019050818103600083015261323f81846131c0565b905092915050565b600081519050613256816124b3565b92915050565b600060208284031215613272576132716122d5565b5b600061328084828501613247565b91505092915050565b600061329482612297565b915061329f83612297565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156132d4576132d3612bc7565b5b828201905092915050565b60006132ea82612297565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561331d5761331c612bc7565b5b600182019050919050565b600061333382612297565b9150600082141561334757613346612bc7565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006133886020836123a5565b915061339382613352565b602082019050919050565b600060208201905081810360008301526133b78161337b565b905091905056fea26469706673582212204e662c6dd183c9a265cbfa991bdaa6e0f10a5d6aed879a315703cf2190e9061264736f6c634300080c0033