Address Details
contract
0x4E1BD5a2d5e8A8cBd32715DfCd7cAEDe8e9F091c
- Contract Name
- PxtPool
- Creator
- 0xebd0a5–5c1367 at 0xe486a7–55789f
- Balance
- 0 CELO ( )
- Locked CELO Balance
- 0.00 CELO
- Voting CELO Balance
- 0.00 CELO
- Pending Unlocked Gold
- 0.00 CELO
- Tokens
-
Fetching tokens...
- Transactions
- 2 Transactions
- Transfers
- 16 Transfers
- Gas Used
- 156,839
- Last Balance Update
- 11897954
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:
- PxtPool
- Optimization enabled
- false
- Compiler version
- v0.8.12+commit.f00d7308
- EVM Version
- london
- Verified at
- 2022-06-07T09:52:59.385627Z
contracts/PxtPool.sol
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.12; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; contract PxtPool is AccessControl { using SafeERC20 for IERC20Metadata; // constants bytes32 public constant COORDINATOR = keccak256("COORDINATOR"); // vars IERC20Metadata private _pxtAddress; uint256 public poolWindowRange; uint256 public poolUpperBoundary; uint256 public poolLowerBoundary; string public name = "Pixaton Pool I"; constructor(IERC20Metadata pxtAddress) { _pxtAddress = pxtAddress; poolWindowRange = 10; _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _grantRole(COORDINATOR, msg.sender); } function _balanceOf(address user) internal view returns (uint256) { return _pxtAddress.balanceOf(user); } function balance() public view returns (uint256) { return _pxtAddress.balanceOf(address(this)); } function setWindowRange(uint256 value) external onlyRole(COORDINATOR) { poolWindowRange = value; _updateWindow(balance()); } function systemDeposit(uint256 value) external onlyRole(COORDINATOR) { _pxtAddress.safeTransferFrom(msg.sender, address(this), value); _updateWindow(balance()); } function systemWithdraw(uint256 value) external onlyRole(COORDINATOR) { _pxtAddress.approve(msg.sender, value); _pxtAddress.safeTransfer(msg.sender, value); _updateWindow(balance()); } function _updateWindow(uint256 value) internal { poolUpperBoundary = value * poolWindowRange; poolLowerBoundary = value / poolWindowRange; } function perDeposit() public view returns (uint256) { if (balance() == 0) return (poolUpperBoundary / poolWindowRange) * 10**_pxtAddress.decimals(); return (poolUpperBoundary / balance()) * 10**_pxtAddress.decimals(); } function perWithdraw() public view returns (uint256) { if (balance() == 0) return 0; return (balance() / poolLowerBoundary) * 10**_pxtAddress.decimals(); } function userDesposit(address user, uint256 value) external onlyRole(COORDINATOR) { require(value >= perDeposit(), "PXT Pool: insufficient amount"); _pxtAddress.safeTransferFrom(user, address(this), value); } function userWithdraw(address user, uint256 value) external onlyRole(COORDINATOR) { require(value <= perWithdraw(), "PXT Pool: insufficient balance"); _pxtAddress.approve(user, value); _pxtAddress.safeTransfer(user, value); } }
/_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/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
/_openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
/_openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
/_openzeppelin/contracts/utils/Address.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
/_openzeppelin/contracts/utils/Context.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
/_openzeppelin/contracts/utils/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); }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"pxtAddress","internalType":"contract IERC20Metadata"}]},{"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":"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":"balance","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":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"perDeposit","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"perWithdraw","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"poolLowerBoundary","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"poolUpperBoundary","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"poolWindowRange","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":"revokeRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setWindowRange","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"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":"systemDeposit","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"systemWithdraw","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"userDesposit","inputs":[{"type":"address","name":"user","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"userWithdraw","inputs":[{"type":"address","name":"user","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]}]
Contract Creation Code
0x60806040526040518060400160405280600e81526020017f50697861746f6e20506f6f6c204900000000000000000000000000000000000081525060059080519060200190620000519291906200027f565b503480156200005f57600080fd5b506040516200287a3803806200287a8339818101604052810190620000859190620003ad565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a600281905550620000e36000801b336200011c60201b60201c565b620001157fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199336200011c60201b60201c565b5062000444565b6200012e82826200020d60201b60201c565b6200020957600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001ae6200027760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b8280546200028d906200040e565b90600052602060002090601f016020900481019282620002b15760008555620002fd565b82601f10620002cc57805160ff1916838001178555620002fd565b82800160010185558215620002fd579182015b82811115620002fc578251825591602001919060010190620002df565b5b5090506200030c919062000310565b5090565b5b808211156200032b57600081600090555060010162000311565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003618262000334565b9050919050565b6000620003758262000354565b9050919050565b620003878162000368565b81146200039357600080fd5b50565b600081519050620003a7816200037c565b92915050565b600060208284031215620003c657620003c56200032f565b5b6000620003d68482850162000396565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200042757607f821691505b602082108114156200043e576200043d620003df565b5b50919050565b61242680620004546000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806365a86ece116100ad578063b69ef8a811610071578063b69ef8a81461031d578063d27621791461033b578063d547741f14610357578063e014afaf14610373578063f9ebec63146103915761012c565b806365a86ece146102775780636770ec121461029557806381d9a25c146102b157806391d14854146102cf578063a217fddf146102ff5761012c565b80632f2ff15d116100f45780632f2ff15d146101e95780632f98008b1461020557806336568abe146102215780633b2bcbf11461023d5780633e458a8e1461025b5761012c565b806301ffc9a71461013157806306fdde031461016157806321a5a34c1461017f578063240d78a11461019b578063248a9ca3146101b9575b600080fd5b61014b600480360381019061014691906116d7565b6103af565b604051610158919061171f565b60405180910390f35b610169610429565b60405161017691906117d3565b60405180910390f35b61019960048036038101906101949190611889565b6104b7565b005b6101a3610587565b6040516101b091906118d8565b60405180910390f35b6101d360048036038101906101ce9190611929565b610663565b6040516101e09190611965565b60405180910390f35b61020360048036038101906101fe9190611980565b610682565b005b61021f600480360381019061021a91906119c0565b6106ab565b005b61023b60048036038101906102369190611980565b610740565b005b6102456107c3565b6040516102529190611965565b60405180910390f35b61027560048036038101906102709190611889565b6107e7565b005b61027f610956565b60405161028c91906118d8565b60405180910390f35b6102af60048036038101906102aa91906119c0565b61095c565b005b6102b96109a9565b6040516102c691906118d8565b60405180910390f35b6102e960048036038101906102e49190611980565b610b3a565b6040516102f6919061171f565b60405180910390f35b610307610ba4565b6040516103149190611965565b60405180910390f35b610325610bab565b60405161033291906118d8565b60405180910390f35b610355600480360381019061035091906119c0565b610c4e565b005b610371600480360381019061036c9190611980565b610d82565b005b61037b610dab565b60405161038891906118d8565b60405180910390f35b610399610db1565b6040516103a691906118d8565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610422575061042182610db7565b5b9050919050565b6005805461043690611a1c565b80601f016020809104026020016040519081016040528092919081815260200182805461046290611a1c565b80156104af5780601f10610484576101008083540402835291602001916104af565b820191906000526020600020905b81548152906001019060200180831161049257829003601f168201915b505050505081565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996104e9816104e4610e21565b610e29565b6104f16109a9565b821015610533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052a90611a9a565b60405180910390fd5b610582833084600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610ec6909392919063ffffffff16565b505050565b600080610592610bab565b14156105a15760009050610660565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561060e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106329190611af3565b600a61063e9190611c82565b600454610649610bab565b6106539190611cfc565b61065d9190611d2d565b90505b90565b6000806000838152602001908152602001600020600101549050919050565b61068b82610663565b61069c81610697610e21565b610e29565b6106a68383610f4f565b505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996106dd816106d8610e21565b610e29565b61072c333084600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610ec6909392919063ffffffff16565b61073c610737610bab565b61102f565b5050565b610748610e21565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146107b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ac90611df9565b60405180910390fd5b6107bf828261105a565b5050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19981565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19961081981610814610e21565b610e29565b610821610587565b821115610863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085a90611e65565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b384846040518363ffffffff1660e01b81526004016108c0929190611e94565b6020604051808303816000875af11580156108df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109039190611ee9565b506109518383600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661113b9092919063ffffffff16565b505050565b60025481565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19961098e81610989610e21565b610e29565b816002819055506109a56109a0610bab565b61102f565b5050565b6000806109b4610bab565b1415610a7857600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4b9190611af3565b600a610a579190611c82565b600254600354610a679190611cfc565b610a719190611d2d565b9050610b37565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b099190611af3565b600a610b159190611c82565b610b1d610bab565b600354610b2a9190611cfc565b610b349190611d2d565b90505b90565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610c089190611f16565b602060405180830381865afa158015610c25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c499190611f46565b905090565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610c8081610c7b610e21565b610e29565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b333846040518363ffffffff1660e01b8152600401610cdd929190611e94565b6020604051808303816000875af1158015610cfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d209190611ee9565b50610d6e3383600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661113b9092919063ffffffff16565b610d7e610d79610bab565b61102f565b5050565b610d8b82610663565b610d9c81610d97610e21565b610e29565b610da6838361105a565b505050565b60035481565b60045481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b610e338282610b3a565b610ec257610e588173ffffffffffffffffffffffffffffffffffffffff1660146111c1565b610e668360001c60206111c1565b604051602001610e77929190612047565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb991906117d3565b60405180910390fd5b5050565b610f49846323b872dd60e01b858585604051602401610ee793929190612081565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506113fd565b50505050565b610f598282610b3a565b61102b57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610fd0610e21565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6002548161103d9190611d2d565b600381905550600254816110519190611cfc565b60048190555050565b6110648282610b3a565b1561113757600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506110dc610e21565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6111bc8363a9059cbb60e01b848460405160240161115a929190611e94565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506113fd565b505050565b6060600060028360026111d49190611d2d565b6111de91906120b8565b67ffffffffffffffff8111156111f7576111f661210e565b5b6040519080825280601f01601f1916602001820160405280156112295781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106112615761126061213d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106112c5576112c461213d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026113059190611d2d565b61130f91906120b8565b90505b60018111156113af577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106113515761135061213d565b5b1a60f81b8282815181106113685761136761213d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806113a89061216c565b9050611312565b50600084146113f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ea906121e2565b60405180910390fd5b8091505092915050565b600061145f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166114c49092919063ffffffff16565b90506000815111156114bf578080602001905181019061147f9190611ee9565b6114be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b590612274565b60405180910390fd5b5b505050565b60606114d384846000856114dc565b90509392505050565b606082471015611521576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151890612306565b60405180910390fd5b61152a856115f0565b611569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156090612372565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161159291906123d9565b60006040518083038185875af1925050503d80600081146115cf576040519150601f19603f3d011682016040523d82523d6000602084013e6115d4565b606091505b50915091506115e4828286611613565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060831561162357829050611673565b6000835111156116365782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166a91906117d3565b60405180910390fd5b9392505050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6116b48161167f565b81146116bf57600080fd5b50565b6000813590506116d1816116ab565b92915050565b6000602082840312156116ed576116ec61167a565b5b60006116fb848285016116c2565b91505092915050565b60008115159050919050565b61171981611704565b82525050565b60006020820190506117346000830184611710565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611774578082015181840152602081019050611759565b83811115611783576000848401525b50505050565b6000601f19601f8301169050919050565b60006117a58261173a565b6117af8185611745565b93506117bf818560208601611756565b6117c881611789565b840191505092915050565b600060208201905081810360008301526117ed818461179a565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611820826117f5565b9050919050565b61183081611815565b811461183b57600080fd5b50565b60008135905061184d81611827565b92915050565b6000819050919050565b61186681611853565b811461187157600080fd5b50565b6000813590506118838161185d565b92915050565b600080604083850312156118a05761189f61167a565b5b60006118ae8582860161183e565b92505060206118bf85828601611874565b9150509250929050565b6118d281611853565b82525050565b60006020820190506118ed60008301846118c9565b92915050565b6000819050919050565b611906816118f3565b811461191157600080fd5b50565b600081359050611923816118fd565b92915050565b60006020828403121561193f5761193e61167a565b5b600061194d84828501611914565b91505092915050565b61195f816118f3565b82525050565b600060208201905061197a6000830184611956565b92915050565b600080604083850312156119975761199661167a565b5b60006119a585828601611914565b92505060206119b68582860161183e565b9150509250929050565b6000602082840312156119d6576119d561167a565b5b60006119e484828501611874565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611a3457607f821691505b60208210811415611a4857611a476119ed565b5b50919050565b7f50585420506f6f6c3a20696e73756666696369656e7420616d6f756e74000000600082015250565b6000611a84601d83611745565b9150611a8f82611a4e565b602082019050919050565b60006020820190508181036000830152611ab381611a77565b9050919050565b600060ff82169050919050565b611ad081611aba565b8114611adb57600080fd5b50565b600081519050611aed81611ac7565b92915050565b600060208284031215611b0957611b0861167a565b5b6000611b1784828501611ade565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115611ba657808604811115611b8257611b81611b20565b5b6001851615611b915780820291505b8081029050611b9f85611b4f565b9450611b66565b94509492505050565b600082611bbf5760019050611c7b565b81611bcd5760009050611c7b565b8160018114611be35760028114611bed57611c1c565b6001915050611c7b565b60ff841115611bff57611bfe611b20565b5b8360020a915084821115611c1657611c15611b20565b5b50611c7b565b5060208310610133831016604e8410600b8410161715611c515782820a905083811115611c4c57611c4b611b20565b5b611c7b565b611c5e8484846001611b5c565b92509050818404811115611c7557611c74611b20565b5b81810290505b9392505050565b6000611c8d82611853565b9150611c9883611aba565b9250611cc57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611baf565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611d0782611853565b9150611d1283611853565b925082611d2257611d21611ccd565b5b828204905092915050565b6000611d3882611853565b9150611d4383611853565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611d7c57611d7b611b20565b5b828202905092915050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000611de3602f83611745565b9150611dee82611d87565b604082019050919050565b60006020820190508181036000830152611e1281611dd6565b9050919050565b7f50585420506f6f6c3a20696e73756666696369656e742062616c616e63650000600082015250565b6000611e4f601e83611745565b9150611e5a82611e19565b602082019050919050565b60006020820190508181036000830152611e7e81611e42565b9050919050565b611e8e81611815565b82525050565b6000604082019050611ea96000830185611e85565b611eb660208301846118c9565b9392505050565b611ec681611704565b8114611ed157600080fd5b50565b600081519050611ee381611ebd565b92915050565b600060208284031215611eff57611efe61167a565b5b6000611f0d84828501611ed4565b91505092915050565b6000602082019050611f2b6000830184611e85565b92915050565b600081519050611f408161185d565b92915050565b600060208284031215611f5c57611f5b61167a565b5b6000611f6a84828501611f31565b91505092915050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000611fb4601783611f73565b9150611fbf82611f7e565b601782019050919050565b6000611fd58261173a565b611fdf8185611f73565b9350611fef818560208601611756565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000612031601183611f73565b915061203c82611ffb565b601182019050919050565b600061205282611fa7565b915061205e8285611fca565b915061206982612024565b91506120758284611fca565b91508190509392505050565b60006060820190506120966000830186611e85565b6120a36020830185611e85565b6120b060408301846118c9565b949350505050565b60006120c382611853565b91506120ce83611853565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561210357612102611b20565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061217782611853565b9150600082141561218b5761218a611b20565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006121cc602083611745565b91506121d782612196565b602082019050919050565b600060208201905081810360008301526121fb816121bf565b9050919050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061225e602a83611745565b915061226982612202565b604082019050919050565b6000602082019050818103600083015261228d81612251565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006122f0602683611745565b91506122fb82612294565b604082019050919050565b6000602082019050818103600083015261231f816122e3565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b600061235c601d83611745565b915061236782612326565b602082019050919050565b6000602082019050818103600083015261238b8161234f565b9050919050565b600081519050919050565b600081905092915050565b60006123b382612392565b6123bd818561239d565b93506123cd818560208601611756565b80840191505092915050565b60006123e582846123a8565b91508190509291505056fea26469706673582212206f925440f9715f5b77c49cc5afdba9fce9518a0460db4262751f4caa36a53d8264736f6c634300080c0033000000000000000000000000d5e3bd9e68578f711407579991e01853aa0d0b86
Deployed ByteCode
0x608060405234801561001057600080fd5b506004361061012c5760003560e01c806365a86ece116100ad578063b69ef8a811610071578063b69ef8a81461031d578063d27621791461033b578063d547741f14610357578063e014afaf14610373578063f9ebec63146103915761012c565b806365a86ece146102775780636770ec121461029557806381d9a25c146102b157806391d14854146102cf578063a217fddf146102ff5761012c565b80632f2ff15d116100f45780632f2ff15d146101e95780632f98008b1461020557806336568abe146102215780633b2bcbf11461023d5780633e458a8e1461025b5761012c565b806301ffc9a71461013157806306fdde031461016157806321a5a34c1461017f578063240d78a11461019b578063248a9ca3146101b9575b600080fd5b61014b600480360381019061014691906116d7565b6103af565b604051610158919061171f565b60405180910390f35b610169610429565b60405161017691906117d3565b60405180910390f35b61019960048036038101906101949190611889565b6104b7565b005b6101a3610587565b6040516101b091906118d8565b60405180910390f35b6101d360048036038101906101ce9190611929565b610663565b6040516101e09190611965565b60405180910390f35b61020360048036038101906101fe9190611980565b610682565b005b61021f600480360381019061021a91906119c0565b6106ab565b005b61023b60048036038101906102369190611980565b610740565b005b6102456107c3565b6040516102529190611965565b60405180910390f35b61027560048036038101906102709190611889565b6107e7565b005b61027f610956565b60405161028c91906118d8565b60405180910390f35b6102af60048036038101906102aa91906119c0565b61095c565b005b6102b96109a9565b6040516102c691906118d8565b60405180910390f35b6102e960048036038101906102e49190611980565b610b3a565b6040516102f6919061171f565b60405180910390f35b610307610ba4565b6040516103149190611965565b60405180910390f35b610325610bab565b60405161033291906118d8565b60405180910390f35b610355600480360381019061035091906119c0565b610c4e565b005b610371600480360381019061036c9190611980565b610d82565b005b61037b610dab565b60405161038891906118d8565b60405180910390f35b610399610db1565b6040516103a691906118d8565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610422575061042182610db7565b5b9050919050565b6005805461043690611a1c565b80601f016020809104026020016040519081016040528092919081815260200182805461046290611a1c565b80156104af5780601f10610484576101008083540402835291602001916104af565b820191906000526020600020905b81548152906001019060200180831161049257829003601f168201915b505050505081565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996104e9816104e4610e21565b610e29565b6104f16109a9565b821015610533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052a90611a9a565b60405180910390fd5b610582833084600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610ec6909392919063ffffffff16565b505050565b600080610592610bab565b14156105a15760009050610660565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561060e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106329190611af3565b600a61063e9190611c82565b600454610649610bab565b6106539190611cfc565b61065d9190611d2d565b90505b90565b6000806000838152602001908152602001600020600101549050919050565b61068b82610663565b61069c81610697610e21565b610e29565b6106a68383610f4f565b505050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b1996106dd816106d8610e21565b610e29565b61072c333084600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610ec6909392919063ffffffff16565b61073c610737610bab565b61102f565b5050565b610748610e21565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146107b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ac90611df9565b60405180910390fd5b6107bf828261105a565b5050565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19981565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19961081981610814610e21565b610e29565b610821610587565b821115610863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085a90611e65565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b384846040518363ffffffff1660e01b81526004016108c0929190611e94565b6020604051808303816000875af11580156108df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109039190611ee9565b506109518383600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661113b9092919063ffffffff16565b505050565b60025481565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b19961098e81610989610e21565b610e29565b816002819055506109a56109a0610bab565b61102f565b5050565b6000806109b4610bab565b1415610a7857600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4b9190611af3565b600a610a579190611c82565b600254600354610a679190611cfc565b610a719190611d2d565b9050610b37565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b099190611af3565b600a610b159190611c82565b610b1d610bab565b600354610b2a9190611cfc565b610b349190611d2d565b90505b90565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610c089190611f16565b602060405180830381865afa158015610c25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c499190611f46565b905090565b7fd578563424ab02f85ec03c6b1aee04947ebdd4a30db46cba3bcd7f56ef40b199610c8081610c7b610e21565b610e29565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b333846040518363ffffffff1660e01b8152600401610cdd929190611e94565b6020604051808303816000875af1158015610cfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d209190611ee9565b50610d6e3383600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661113b9092919063ffffffff16565b610d7e610d79610bab565b61102f565b5050565b610d8b82610663565b610d9c81610d97610e21565b610e29565b610da6838361105a565b505050565b60035481565b60045481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b610e338282610b3a565b610ec257610e588173ffffffffffffffffffffffffffffffffffffffff1660146111c1565b610e668360001c60206111c1565b604051602001610e77929190612047565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb991906117d3565b60405180910390fd5b5050565b610f49846323b872dd60e01b858585604051602401610ee793929190612081565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506113fd565b50505050565b610f598282610b3a565b61102b57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610fd0610e21565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6002548161103d9190611d2d565b600381905550600254816110519190611cfc565b60048190555050565b6110648282610b3a565b1561113757600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506110dc610e21565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6111bc8363a9059cbb60e01b848460405160240161115a929190611e94565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506113fd565b505050565b6060600060028360026111d49190611d2d565b6111de91906120b8565b67ffffffffffffffff8111156111f7576111f661210e565b5b6040519080825280601f01601f1916602001820160405280156112295781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106112615761126061213d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106112c5576112c461213d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026113059190611d2d565b61130f91906120b8565b90505b60018111156113af577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106113515761135061213d565b5b1a60f81b8282815181106113685761136761213d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806113a89061216c565b9050611312565b50600084146113f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ea906121e2565b60405180910390fd5b8091505092915050565b600061145f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166114c49092919063ffffffff16565b90506000815111156114bf578080602001905181019061147f9190611ee9565b6114be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b590612274565b60405180910390fd5b5b505050565b60606114d384846000856114dc565b90509392505050565b606082471015611521576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151890612306565b60405180910390fd5b61152a856115f0565b611569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156090612372565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161159291906123d9565b60006040518083038185875af1925050503d80600081146115cf576040519150601f19603f3d011682016040523d82523d6000602084013e6115d4565b606091505b50915091506115e4828286611613565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060831561162357829050611673565b6000835111156116365782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166a91906117d3565b60405180910390fd5b9392505050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6116b48161167f565b81146116bf57600080fd5b50565b6000813590506116d1816116ab565b92915050565b6000602082840312156116ed576116ec61167a565b5b60006116fb848285016116c2565b91505092915050565b60008115159050919050565b61171981611704565b82525050565b60006020820190506117346000830184611710565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611774578082015181840152602081019050611759565b83811115611783576000848401525b50505050565b6000601f19601f8301169050919050565b60006117a58261173a565b6117af8185611745565b93506117bf818560208601611756565b6117c881611789565b840191505092915050565b600060208201905081810360008301526117ed818461179a565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611820826117f5565b9050919050565b61183081611815565b811461183b57600080fd5b50565b60008135905061184d81611827565b92915050565b6000819050919050565b61186681611853565b811461187157600080fd5b50565b6000813590506118838161185d565b92915050565b600080604083850312156118a05761189f61167a565b5b60006118ae8582860161183e565b92505060206118bf85828601611874565b9150509250929050565b6118d281611853565b82525050565b60006020820190506118ed60008301846118c9565b92915050565b6000819050919050565b611906816118f3565b811461191157600080fd5b50565b600081359050611923816118fd565b92915050565b60006020828403121561193f5761193e61167a565b5b600061194d84828501611914565b91505092915050565b61195f816118f3565b82525050565b600060208201905061197a6000830184611956565b92915050565b600080604083850312156119975761199661167a565b5b60006119a585828601611914565b92505060206119b68582860161183e565b9150509250929050565b6000602082840312156119d6576119d561167a565b5b60006119e484828501611874565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611a3457607f821691505b60208210811415611a4857611a476119ed565b5b50919050565b7f50585420506f6f6c3a20696e73756666696369656e7420616d6f756e74000000600082015250565b6000611a84601d83611745565b9150611a8f82611a4e565b602082019050919050565b60006020820190508181036000830152611ab381611a77565b9050919050565b600060ff82169050919050565b611ad081611aba565b8114611adb57600080fd5b50565b600081519050611aed81611ac7565b92915050565b600060208284031215611b0957611b0861167a565b5b6000611b1784828501611ade565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115611ba657808604811115611b8257611b81611b20565b5b6001851615611b915780820291505b8081029050611b9f85611b4f565b9450611b66565b94509492505050565b600082611bbf5760019050611c7b565b81611bcd5760009050611c7b565b8160018114611be35760028114611bed57611c1c565b6001915050611c7b565b60ff841115611bff57611bfe611b20565b5b8360020a915084821115611c1657611c15611b20565b5b50611c7b565b5060208310610133831016604e8410600b8410161715611c515782820a905083811115611c4c57611c4b611b20565b5b611c7b565b611c5e8484846001611b5c565b92509050818404811115611c7557611c74611b20565b5b81810290505b9392505050565b6000611c8d82611853565b9150611c9883611aba565b9250611cc57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611baf565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611d0782611853565b9150611d1283611853565b925082611d2257611d21611ccd565b5b828204905092915050565b6000611d3882611853565b9150611d4383611853565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611d7c57611d7b611b20565b5b828202905092915050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000611de3602f83611745565b9150611dee82611d87565b604082019050919050565b60006020820190508181036000830152611e1281611dd6565b9050919050565b7f50585420506f6f6c3a20696e73756666696369656e742062616c616e63650000600082015250565b6000611e4f601e83611745565b9150611e5a82611e19565b602082019050919050565b60006020820190508181036000830152611e7e81611e42565b9050919050565b611e8e81611815565b82525050565b6000604082019050611ea96000830185611e85565b611eb660208301846118c9565b9392505050565b611ec681611704565b8114611ed157600080fd5b50565b600081519050611ee381611ebd565b92915050565b600060208284031215611eff57611efe61167a565b5b6000611f0d84828501611ed4565b91505092915050565b6000602082019050611f2b6000830184611e85565b92915050565b600081519050611f408161185d565b92915050565b600060208284031215611f5c57611f5b61167a565b5b6000611f6a84828501611f31565b91505092915050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000611fb4601783611f73565b9150611fbf82611f7e565b601782019050919050565b6000611fd58261173a565b611fdf8185611f73565b9350611fef818560208601611756565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000612031601183611f73565b915061203c82611ffb565b601182019050919050565b600061205282611fa7565b915061205e8285611fca565b915061206982612024565b91506120758284611fca565b91508190509392505050565b60006060820190506120966000830186611e85565b6120a36020830185611e85565b6120b060408301846118c9565b949350505050565b60006120c382611853565b91506120ce83611853565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561210357612102611b20565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061217782611853565b9150600082141561218b5761218a611b20565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006121cc602083611745565b91506121d782612196565b602082019050919050565b600060208201905081810360008301526121fb816121bf565b9050919050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061225e602a83611745565b915061226982612202565b604082019050919050565b6000602082019050818103600083015261228d81612251565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006122f0602683611745565b91506122fb82612294565b604082019050919050565b6000602082019050818103600083015261231f816122e3565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b600061235c601d83611745565b915061236782612326565b602082019050919050565b6000602082019050818103600083015261238b8161234f565b9050919050565b600081519050919050565b600081905092915050565b60006123b382612392565b6123bd818561239d565b93506123cd818560208601611756565b80840191505092915050565b60006123e582846123a8565b91508190509291505056fea26469706673582212206f925440f9715f5b77c49cc5afdba9fce9518a0460db4262751f4caa36a53d8264736f6c634300080c0033