Address Details
contract
0xd0fF8b5a7723752309ab2222A40b0485aA53C558
- Contract Name
- FactoryLostKey
- Creator
- 0x067b6e–041cd7 at 0x8a51fc–49b0e1
- Balance
- 2.5 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
- 10534632
Transactions
Token Transfers
Tokens
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
Contract is not verified. However, we found a verified contract with the same bytecode in Blockscout DB 0x7118afa5c6cbab828f0d9a529c62e89d282df9e4.
All metadata displayed below is from that contract. In order to verify current contract, click Verify & Publish button
Verify & Publish
All metadata displayed below is from that contract. In order to verify current contract, click Verify & Publish button
- Contract name:
- FactoryLostKey
- Optimization enabled
- true
- Compiler version
- v0.8.10+commit.fc410830
- Optimization runs
- 25000
- Verified at
- 2022-08-21T21:54:58.295228Z
project:/contracts/lostkey/FactoryLostKey.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "./LostKey.sol"; contract FactoryLostKey is Ownable, ReentrancyGuard { using SafeERC20 for IERC20; IERC20 public NATIVE; mapping (address => uint256) public price; event NewContract(address contractAddress); constructor(address _native) { NATIVE = IERC20(_native); } function setPrice(address _token, uint256 _price) external onlyOwner { price[_token] = _price; } function deployLostKey( address tokenToPay, address[] calldata _backupAddresses, uint256[] calldata _shares, uint256 _confirmationPeriod, uint256 distributionReward ) external nonReentrant { uint256 _price = price[tokenToPay]; require(_price > 0, "Wrong payment method"); IERC20(tokenToPay).safeTransferFrom(_msgSender(), address(this), _price); LostKey _lostKey = new LostKey(_backupAddresses, _shares, _confirmationPeriod); NATIVE.safeTransferFrom(_msgSender(), address(_lostKey), distributionReward); _lostKey.transferOwnership(_msgSender()); emit NewContract(address(_lostKey)); } function getToken(address _token) external onlyOwner { IERC20 token = IERC20(_token); token.safeTransfer(_msgSender(), token.balanceOf(address(this))); } }
/_openzeppelin/contracts/access/Ownable.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
/_openzeppelin/contracts/security/ReentrancyGuard.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
/_openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT 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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
/_openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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 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; } }
/project_/contracts/lostkey/LostKey.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract LostKey is Ownable, ReentrancyGuard { using SafeERC20 for IERC20; uint256 public CONFIRMATION_PERIOD; uint256 public lastRecordedTime; address[] public backupAddresses; uint256[] public shares; IERC20[] public tokensToSend; bool public terminated; mapping (address => bool) private _tokenIncluded; modifier notTerminated() { require(!terminated, "Contract already terminated"); _; } modifier notLostKey() { require(!isLostKey(), "Key lost"); _; } constructor(address[] memory _backupAddresses, uint256[] memory _shares, uint256 _confirmationPeriod) { require(_backupAddresses.length < 5, "Cannot have more than four backup addresses"); require(_backupAddresses.length == _shares.length, "Invalid parameters"); uint256 sumOfShares; for (uint256 i; i < _backupAddresses.length; i++) { sumOfShares += _shares[i]; } require(sumOfShares == 100, "Invalid shares sum"); backupAddresses = _backupAddresses; shares = _shares; CONFIRMATION_PERIOD = _confirmationPeriod; lastRecordedTime = block.timestamp; } function isLostKey() public view returns(bool) { return (lastRecordedTime + CONFIRMATION_PERIOD < block.timestamp); } function confirm() external notTerminated notLostKey onlyOwner { lastRecordedTime = block.timestamp; } function addToken(address[] calldata _token) external notTerminated notLostKey onlyOwner { require(tokensToSend.length + _token.length < 5, "Only four tokens allowed"); for (uint256 i; i < _token.length; i++) { address currentToken = _token[i]; require(!_tokenIncluded[currentToken], "Cannot include token twice"); tokensToSend.push(IERC20(currentToken)); _tokenIncluded[currentToken] = true; } } function distribute() external notTerminated nonReentrant { require(isLostKey(), "Key is not lost"); for (uint256 i; i < tokensToSend.length; i++) { IERC20 currentToken = tokensToSend[i]; uint256 _allowance = currentToken.allowance(owner(), address(this)); uint256 _balance = currentToken.balanceOf(owner()); uint256 totalToken; if (_allowance > _balance) { totalToken = _balance; } else { totalToken = _allowance; } for (uint256 j; j < backupAddresses.length; j++) { uint256 toTransfer = (totalToken * shares[j]) / 100; if (toTransfer > 0) { try currentToken.transferFrom(owner(), backupAddresses[j], toTransfer) {} catch {} } } } payable(_msgSender()).transfer(address(this).balance); terminated = true; } function terminateContract() external notTerminated notLostKey onlyOwner { payable(_msgSender()).transfer(address(this).balance); terminated = true; } }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_native","internalType":"address"}]},{"type":"event","name":"NewContract","inputs":[{"type":"address","name":"contractAddress","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20"}],"name":"NATIVE","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"deployLostKey","inputs":[{"type":"address","name":"tokenToPay","internalType":"address"},{"type":"address[]","name":"_backupAddresses","internalType":"address[]"},{"type":"uint256[]","name":"_shares","internalType":"uint256[]"},{"type":"uint256","name":"_confirmationPeriod","internalType":"uint256"},{"type":"uint256","name":"distributionReward","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"getToken","inputs":[{"type":"address","name":"_token","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"price","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPrice","inputs":[{"type":"address","name":"_token","internalType":"address"},{"type":"uint256","name":"_price","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]}]
Contract Creation Code
0x608060405234801561001057600080fd5b5060405161287c38038061287c83398101604081905261002f916100b1565b61003833610061565b60018055600280546001600160a01b0319166001600160a01b03929092169190911790556100e1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100c357600080fd5b81516001600160a01b03811681146100da57600080fd5b9392505050565b61278c806100f06000396000f3fe60806040523480156200001157600080fd5b5060043610620000925760003560e01c8063a0cf0aea1162000062578063a0cf0aea1462000115578063aea910781462000136578063f2fde38b1462000168578063f950d458146200017f57600080fd5b8062e4768b14620000975780635977043814620000b0578063715018a614620000c75780638da5cb5b14620000d1575b600080fd5b620000ae620000a836600462000cd1565b62000196565b005b620000ae620000c136600462000cfe565b62000246565b620000ae62000383565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b600254620000eb9073ffffffffffffffffffffffffffffffffffffffff1681565b620001596200014736600462000cfe565b60036020526000908152604090205481565b6040519081526020016200010c565b620000ae6200017936600462000cfe565b62000414565b620000ae6200019036600462000d6b565b6200054a565b60005473ffffffffffffffffffffffffffffffffffffffff1633146200021d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff909116600090815260036020526040902055565b60005473ffffffffffffffffffffffffffffffffffffffff163314620002c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000214565b806200037f336040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381865afa1580156200033a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000360919062000e04565b73ffffffffffffffffffffffffffffffffffffffff84169190620007d3565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff16331462000406576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000214565b620004126000620008ae565b565b60005473ffffffffffffffffffffffffffffffffffffffff16331462000497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000214565b73ffffffffffffffffffffffffffffffffffffffff81166200053c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840162000214565b6200054781620008ae565b50565b60026001541415620005b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640162000214565b600260015573ffffffffffffffffffffffffffffffffffffffff8716600090815260036020526040902054806200064d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f57726f6e67207061796d656e74206d6574686f64000000000000000000000000604482015260640162000214565b6200067173ffffffffffffffffffffffffffffffffffffffff891633308462000923565b60008787878787604051620006869062000c99565b6200069695949392919062000e1e565b604051809103906000f080158015620006b3573d6000803e3d6000fd5b509050620006dd3360025473ffffffffffffffffffffffffffffffffffffffff1690838662000923565b73ffffffffffffffffffffffffffffffffffffffff811663f2fde38b336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152602401600060405180830381600087803b1580156200076157600080fd5b505af115801562000776573d6000803e3d6000fd5b505060405173ffffffffffffffffffffffffffffffffffffffff841681527f387ea218537e939551af33bbc2dd6c53b1fee55d377a0dce288258f972cb3a9c9250602001905060405180910390a150506001805550505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052620008a99084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915262000989565b505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052620009839085907f23b872dd000000000000000000000000000000000000000000000000000000009060840162000826565b50505050565b6000620009ed826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1662000a9c9092919063ffffffff16565b805190915015620008a9578080602001905181019062000a0e919062000ed4565b620008a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840162000214565b606062000aad848460008562000ab7565b90505b9392505050565b60608247101562000b4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840162000214565b843b62000bb5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640162000214565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405162000be0919062000f27565b60006040518083038185875af1925050503d806000811462000c1f576040519150601f19603f3d011682016040523d82523d6000602084013e62000c24565b606091505b509150915062000c3682828662000c41565b979650505050505050565b6060831562000c5257508162000ab0565b82511562000c635782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000214919062000f45565b6117be8062000f9983390190565b803573ffffffffffffffffffffffffffffffffffffffff8116811462000ccc57600080fd5b919050565b6000806040838503121562000ce557600080fd5b62000cf08362000ca7565b946020939093013593505050565b60006020828403121562000d1157600080fd5b62000ab08262000ca7565b60008083601f84011262000d2f57600080fd5b50813567ffffffffffffffff81111562000d4857600080fd5b6020830191508360208260051b850101111562000d6457600080fd5b9250929050565b600080600080600080600060a0888a03121562000d8757600080fd5b62000d928862000ca7565b9650602088013567ffffffffffffffff8082111562000db057600080fd5b62000dbe8b838c0162000d1c565b909850965060408a013591508082111562000dd857600080fd5b5062000de78a828b0162000d1c565b989b979a5095989597966060870135966080013595509350505050565b60006020828403121562000e1757600080fd5b5051919050565b6060808252810185905260008660808301825b8881101562000e705773ffffffffffffffffffffffffffffffffffffffff62000e5a8462000ca7565b1682526020928301929091019060010162000e31565b5083810360208501528581527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff86111562000eaa57600080fd5b8560051b915081876020830137600091016020019081526040929092019290925295945050505050565b60006020828403121562000ee757600080fd5b8151801515811462000ab057600080fd5b60005b8381101562000f1557818101518382015260200162000efb565b83811115620009835750506000910152565b6000825162000f3b81846020870162000ef8565b9190910192915050565b602081526000825180602084015262000f6681604085016020870162000ef8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe60806040523480156200001157600080fd5b50604051620017be380380620017be8339810160408190526200003491620003ba565b6200003f33620001c9565b600180558251600511620000ae5760405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f742068617665206d6f7265207468616e20666f7572206261636b7560448201526a702061646472657373657360a81b60648201526084015b60405180910390fd5b8151835114620000f65760405162461bcd60e51b8152602060048201526012602482015271496e76616c696420706172616d657465727360701b6044820152606401620000a5565b6000805b84518110156200014557838181518110620001195762000119620004a1565b6020026020010151826200012e9190620004cd565b9150806200013c81620004e8565b915050620000fa565b50806064146200018d5760405162461bcd60e51b8152602060048201526012602482015271496e76616c6964207368617265732073756d60701b6044820152606401620000a5565b8351620001a290600490602087019062000219565b508251620001b890600590602086019062000283565b505060025550504260035562000506565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805482825590600052602060002090810192821562000271579160200282015b828111156200027157825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906200023a565b506200027f929150620002c1565b5090565b82805482825590600052602060002090810192821562000271579160200282015b8281111562000271578251825591602001919060010190620002a4565b5b808211156200027f5760008155600101620002c2565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620003195762000319620002d8565b604052919050565b60006001600160401b038211156200033d576200033d620002d8565b5060051b60200190565b600082601f8301126200035957600080fd5b81516020620003726200036c8362000321565b620002ee565b82815260059290921b840181019181810190868411156200039257600080fd5b8286015b84811015620003af578051835291830191830162000396565b509695505050505050565b600080600060608486031215620003d057600080fd5b83516001600160401b0380821115620003e857600080fd5b818601915086601f830112620003fd57600080fd5b81516020620004106200036c8362000321565b82815260059290921b8401810191818101908a8411156200043057600080fd5b948201945b83861015620004675785516001600160a01b0381168114620004575760008081fd5b8252948201949082019062000435565b918901519197509093505050808211156200048157600080fd5b50620004908682870162000347565b925050604084015190509250925092565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115620004e357620004e3620004b7565b500190565b6000600019821415620004ff57620004ff620004b7565b5060010190565b6112a880620005166000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80637022b58e1161008c578063a4b42db211610066578063a4b42db2146101c6578063e4fc6b6d146101cf578063f2fde38b146101d7578063f51a7315146101ea57600080fd5b80637022b58e14610198578063715018a6146101a05780638da5cb5b146101a857600080fd5b80632629303e116100c85780632629303e1461013d5780632fd949ca146101455780633e7939111461014d57806357a858fc1461018557600080fd5b806301037d8a146100ef578063108811661461010b578063194307bf14610120575b600080fd5b6100f860025481565b6040519081526020015b60405180910390f35b61011e610119366004611045565b6101fd565b005b60075461012d9060ff1681565b6040519015158152602001610102565b61012d61055d565b61011e610576565b61016061015b3660046110ba565b61072d565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610102565b6100f86101933660046110ba565b610764565b61011e610785565b61011e6108e8565b60005473ffffffffffffffffffffffffffffffffffffffff16610160565b6100f860035481565b61011e610975565b61011e6101e53660046110d3565b610e90565b6101606101f83660046110ba565b610fc0565b60075460ff161561026f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f436f6e747261637420616c7265616479207465726d696e61746564000000000060448201526064015b60405180910390fd5b61027761055d565b156102de576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f4b6579206c6f73740000000000000000000000000000000000000000000000006044820152606401610266565b60005473ffffffffffffffffffffffffffffffffffffffff16331461035f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610266565b60065460059061037090839061113f565b106103d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f6e6c7920666f757220746f6b656e7320616c6c6f77656400000000000000006044820152606401610266565b60005b818110156105585760008383838181106103f6576103f6611157565b905060200201602081019061040b91906110d3565b73ffffffffffffffffffffffffffffffffffffffff811660009081526008602052604090205490915060ff161561049e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f43616e6e6f7420696e636c75646520746f6b656e2074776963650000000000006044820152606401610266565b6006805460018181019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01805473ffffffffffffffffffffffffffffffffffffffff9093167fffffffffffffffffffffffff00000000000000000000000000000000000000009093168317905560009182526008602052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690911790558061055081611186565b9150506103da565b505050565b600042600254600354610570919061113f565b10905090565b60075460ff16156105e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f436f6e747261637420616c7265616479207465726d696e6174656400000000006044820152606401610266565b6105eb61055d565b15610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f4b6579206c6f73740000000000000000000000000000000000000000000000006044820152606401610266565b60005473ffffffffffffffffffffffffffffffffffffffff1633146106d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610266565b60405133904780156108fc02916000818181858888f193505050501580156106ff573d6000803e3d6000fd5b50600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6004818154811061073d57600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b6005818154811061077457600080fd5b600091825260209091200154905081565b60075460ff16156107f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f436f6e747261637420616c7265616479207465726d696e6174656400000000006044820152606401610266565b6107fa61055d565b15610861576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f4b6579206c6f73740000000000000000000000000000000000000000000000006044820152606401610266565b60005473ffffffffffffffffffffffffffffffffffffffff1633146108e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610266565b42600355565b60005473ffffffffffffffffffffffffffffffffffffffff163314610969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610266565b6109736000610fd0565b565b60075460ff16156109e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f436f6e747261637420616c7265616479207465726d696e6174656400000000006044820152606401610266565b60026001541415610a4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610266565b6002600155610a5c61055d565b610ac2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4b6579206973206e6f74206c6f737400000000000000000000000000000000006044820152606401610266565b60005b600654811015610e3057600060068281548110610ae457610ae4611157565b600091825260208220015473ffffffffffffffffffffffffffffffffffffffff1691508163dd62ed3e610b2c60005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152306024820152604401602060405180830381865afa158015610b9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbf91906111bf565b905060008273ffffffffffffffffffffffffffffffffffffffff166370a08231610bfe60005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152602401602060405180830381865afa158015610c67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8b91906111bf565b9050600081831115610c9e575080610ca1565b50815b60005b600454811015610e18576000606460058381548110610cc557610cc5611157565b906000526020600020015484610cdb91906111d8565b610ce59190611215565b90508015610e05578573ffffffffffffffffffffffffffffffffffffffff166323b872dd610d2860005473ffffffffffffffffffffffffffffffffffffffff1690565b60048581548110610d3b57610d3b611157565b60009182526020909120015460405160e084901b7fffffffff0000000000000000000000000000000000000000000000000000000016815273ffffffffffffffffffffffffffffffffffffffff928316600482015291166024820152604481018490526064016020604051808303816000875af1925050508015610dfa575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252610df791810190611250565b60015b610e0357610e05565b505b5080610e1081611186565b915050610ca4565b50505050508080610e2890611186565b915050610ac5565b5060405133904780156108fc02916000818181858888f19350505050158015610e5d573d6000803e3d6000fd5b50600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091558055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610f11576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610266565b73ffffffffffffffffffffffffffffffffffffffff8116610fb4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610266565b610fbd81610fd0565b50565b6006818154811061073d57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806020838503121561105857600080fd5b823567ffffffffffffffff8082111561107057600080fd5b818501915085601f83011261108457600080fd5b81358181111561109357600080fd5b8660208260051b85010111156110a857600080fd5b60209290920196919550909350505050565b6000602082840312156110cc57600080fd5b5035919050565b6000602082840312156110e557600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461110957600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561115257611152611110565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156111b8576111b8611110565b5060010190565b6000602082840312156111d157600080fd5b5051919050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561121057611210611110565b500290565b60008261124b577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60006020828403121561126257600080fd5b8151801515811461110957600080fdfea2646970667358221220c8457eab4a1f5013d974d81d9a7e3be6105bba12eee93bb408cd1f080134c71064736f6c634300080a0033a2646970667358221220de9da39c95b1b5aa02314aeac84753d4d1fb70500210c603b3774cab19ed3fa064736f6c634300080a0033000000000000000000000000f194afdf50b03e69bd7d057c1aa9e10c9954e4c9
Deployed ByteCode
0x60806040523480156200001157600080fd5b5060043610620000925760003560e01c8063a0cf0aea1162000062578063a0cf0aea1462000115578063aea910781462000136578063f2fde38b1462000168578063f950d458146200017f57600080fd5b8062e4768b14620000975780635977043814620000b0578063715018a614620000c75780638da5cb5b14620000d1575b600080fd5b620000ae620000a836600462000cd1565b62000196565b005b620000ae620000c136600462000cfe565b62000246565b620000ae62000383565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b600254620000eb9073ffffffffffffffffffffffffffffffffffffffff1681565b620001596200014736600462000cfe565b60036020526000908152604090205481565b6040519081526020016200010c565b620000ae6200017936600462000cfe565b62000414565b620000ae6200019036600462000d6b565b6200054a565b60005473ffffffffffffffffffffffffffffffffffffffff1633146200021d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff909116600090815260036020526040902055565b60005473ffffffffffffffffffffffffffffffffffffffff163314620002c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000214565b806200037f336040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381865afa1580156200033a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000360919062000e04565b73ffffffffffffffffffffffffffffffffffffffff84169190620007d3565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff16331462000406576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000214565b620004126000620008ae565b565b60005473ffffffffffffffffffffffffffffffffffffffff16331462000497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000214565b73ffffffffffffffffffffffffffffffffffffffff81166200053c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840162000214565b6200054781620008ae565b50565b60026001541415620005b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640162000214565b600260015573ffffffffffffffffffffffffffffffffffffffff8716600090815260036020526040902054806200064d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f57726f6e67207061796d656e74206d6574686f64000000000000000000000000604482015260640162000214565b6200067173ffffffffffffffffffffffffffffffffffffffff891633308462000923565b60008787878787604051620006869062000c99565b6200069695949392919062000e1e565b604051809103906000f080158015620006b3573d6000803e3d6000fd5b509050620006dd3360025473ffffffffffffffffffffffffffffffffffffffff1690838662000923565b73ffffffffffffffffffffffffffffffffffffffff811663f2fde38b336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152602401600060405180830381600087803b1580156200076157600080fd5b505af115801562000776573d6000803e3d6000fd5b505060405173ffffffffffffffffffffffffffffffffffffffff841681527f387ea218537e939551af33bbc2dd6c53b1fee55d377a0dce288258f972cb3a9c9250602001905060405180910390a150506001805550505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052620008a99084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915262000989565b505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052620009839085907f23b872dd000000000000000000000000000000000000000000000000000000009060840162000826565b50505050565b6000620009ed826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1662000a9c9092919063ffffffff16565b805190915015620008a9578080602001905181019062000a0e919062000ed4565b620008a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840162000214565b606062000aad848460008562000ab7565b90505b9392505050565b60608247101562000b4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840162000214565b843b62000bb5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640162000214565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405162000be0919062000f27565b60006040518083038185875af1925050503d806000811462000c1f576040519150601f19603f3d011682016040523d82523d6000602084013e62000c24565b606091505b509150915062000c3682828662000c41565b979650505050505050565b6060831562000c5257508162000ab0565b82511562000c635782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000214919062000f45565b6117be8062000f9983390190565b803573ffffffffffffffffffffffffffffffffffffffff8116811462000ccc57600080fd5b919050565b6000806040838503121562000ce557600080fd5b62000cf08362000ca7565b946020939093013593505050565b60006020828403121562000d1157600080fd5b62000ab08262000ca7565b60008083601f84011262000d2f57600080fd5b50813567ffffffffffffffff81111562000d4857600080fd5b6020830191508360208260051b850101111562000d6457600080fd5b9250929050565b600080600080600080600060a0888a03121562000d8757600080fd5b62000d928862000ca7565b9650602088013567ffffffffffffffff8082111562000db057600080fd5b62000dbe8b838c0162000d1c565b909850965060408a013591508082111562000dd857600080fd5b5062000de78a828b0162000d1c565b989b979a5095989597966060870135966080013595509350505050565b60006020828403121562000e1757600080fd5b5051919050565b6060808252810185905260008660808301825b8881101562000e705773ffffffffffffffffffffffffffffffffffffffff62000e5a8462000ca7565b1682526020928301929091019060010162000e31565b5083810360208501528581527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff86111562000eaa57600080fd5b8560051b915081876020830137600091016020019081526040929092019290925295945050505050565b60006020828403121562000ee757600080fd5b8151801515811462000ab057600080fd5b60005b8381101562000f1557818101518382015260200162000efb565b83811115620009835750506000910152565b6000825162000f3b81846020870162000ef8565b9190910192915050565b602081526000825180602084015262000f6681604085016020870162000ef8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe60806040523480156200001157600080fd5b50604051620017be380380620017be8339810160408190526200003491620003ba565b6200003f33620001c9565b600180558251600511620000ae5760405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f742068617665206d6f7265207468616e20666f7572206261636b7560448201526a702061646472657373657360a81b60648201526084015b60405180910390fd5b8151835114620000f65760405162461bcd60e51b8152602060048201526012602482015271496e76616c696420706172616d657465727360701b6044820152606401620000a5565b6000805b84518110156200014557838181518110620001195762000119620004a1565b6020026020010151826200012e9190620004cd565b9150806200013c81620004e8565b915050620000fa565b50806064146200018d5760405162461bcd60e51b8152602060048201526012602482015271496e76616c6964207368617265732073756d60701b6044820152606401620000a5565b8351620001a290600490602087019062000219565b508251620001b890600590602086019062000283565b505060025550504260035562000506565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805482825590600052602060002090810192821562000271579160200282015b828111156200027157825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906200023a565b506200027f929150620002c1565b5090565b82805482825590600052602060002090810192821562000271579160200282015b8281111562000271578251825591602001919060010190620002a4565b5b808211156200027f5760008155600101620002c2565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620003195762000319620002d8565b604052919050565b60006001600160401b038211156200033d576200033d620002d8565b5060051b60200190565b600082601f8301126200035957600080fd5b81516020620003726200036c8362000321565b620002ee565b82815260059290921b840181019181810190868411156200039257600080fd5b8286015b84811015620003af578051835291830191830162000396565b509695505050505050565b600080600060608486031215620003d057600080fd5b83516001600160401b0380821115620003e857600080fd5b818601915086601f830112620003fd57600080fd5b81516020620004106200036c8362000321565b82815260059290921b8401810191818101908a8411156200043057600080fd5b948201945b83861015620004675785516001600160a01b0381168114620004575760008081fd5b8252948201949082019062000435565b918901519197509093505050808211156200048157600080fd5b50620004908682870162000347565b925050604084015190509250925092565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115620004e357620004e3620004b7565b500190565b6000600019821415620004ff57620004ff620004b7565b5060010190565b6112a880620005166000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80637022b58e1161008c578063a4b42db211610066578063a4b42db2146101c6578063e4fc6b6d146101cf578063f2fde38b146101d7578063f51a7315146101ea57600080fd5b80637022b58e14610198578063715018a6146101a05780638da5cb5b146101a857600080fd5b80632629303e116100c85780632629303e1461013d5780632fd949ca146101455780633e7939111461014d57806357a858fc1461018557600080fd5b806301037d8a146100ef578063108811661461010b578063194307bf14610120575b600080fd5b6100f860025481565b6040519081526020015b60405180910390f35b61011e610119366004611045565b6101fd565b005b60075461012d9060ff1681565b6040519015158152602001610102565b61012d61055d565b61011e610576565b61016061015b3660046110ba565b61072d565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610102565b6100f86101933660046110ba565b610764565b61011e610785565b61011e6108e8565b60005473ffffffffffffffffffffffffffffffffffffffff16610160565b6100f860035481565b61011e610975565b61011e6101e53660046110d3565b610e90565b6101606101f83660046110ba565b610fc0565b60075460ff161561026f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f436f6e747261637420616c7265616479207465726d696e61746564000000000060448201526064015b60405180910390fd5b61027761055d565b156102de576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f4b6579206c6f73740000000000000000000000000000000000000000000000006044820152606401610266565b60005473ffffffffffffffffffffffffffffffffffffffff16331461035f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610266565b60065460059061037090839061113f565b106103d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f6e6c7920666f757220746f6b656e7320616c6c6f77656400000000000000006044820152606401610266565b60005b818110156105585760008383838181106103f6576103f6611157565b905060200201602081019061040b91906110d3565b73ffffffffffffffffffffffffffffffffffffffff811660009081526008602052604090205490915060ff161561049e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f43616e6e6f7420696e636c75646520746f6b656e2074776963650000000000006044820152606401610266565b6006805460018181019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01805473ffffffffffffffffffffffffffffffffffffffff9093167fffffffffffffffffffffffff00000000000000000000000000000000000000009093168317905560009182526008602052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690911790558061055081611186565b9150506103da565b505050565b600042600254600354610570919061113f565b10905090565b60075460ff16156105e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f436f6e747261637420616c7265616479207465726d696e6174656400000000006044820152606401610266565b6105eb61055d565b15610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f4b6579206c6f73740000000000000000000000000000000000000000000000006044820152606401610266565b60005473ffffffffffffffffffffffffffffffffffffffff1633146106d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610266565b60405133904780156108fc02916000818181858888f193505050501580156106ff573d6000803e3d6000fd5b50600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6004818154811061073d57600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b6005818154811061077457600080fd5b600091825260209091200154905081565b60075460ff16156107f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f436f6e747261637420616c7265616479207465726d696e6174656400000000006044820152606401610266565b6107fa61055d565b15610861576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f4b6579206c6f73740000000000000000000000000000000000000000000000006044820152606401610266565b60005473ffffffffffffffffffffffffffffffffffffffff1633146108e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610266565b42600355565b60005473ffffffffffffffffffffffffffffffffffffffff163314610969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610266565b6109736000610fd0565b565b60075460ff16156109e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f436f6e747261637420616c7265616479207465726d696e6174656400000000006044820152606401610266565b60026001541415610a4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610266565b6002600155610a5c61055d565b610ac2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4b6579206973206e6f74206c6f737400000000000000000000000000000000006044820152606401610266565b60005b600654811015610e3057600060068281548110610ae457610ae4611157565b600091825260208220015473ffffffffffffffffffffffffffffffffffffffff1691508163dd62ed3e610b2c60005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152306024820152604401602060405180830381865afa158015610b9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbf91906111bf565b905060008273ffffffffffffffffffffffffffffffffffffffff166370a08231610bfe60005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152602401602060405180830381865afa158015610c67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8b91906111bf565b9050600081831115610c9e575080610ca1565b50815b60005b600454811015610e18576000606460058381548110610cc557610cc5611157565b906000526020600020015484610cdb91906111d8565b610ce59190611215565b90508015610e05578573ffffffffffffffffffffffffffffffffffffffff166323b872dd610d2860005473ffffffffffffffffffffffffffffffffffffffff1690565b60048581548110610d3b57610d3b611157565b60009182526020909120015460405160e084901b7fffffffff0000000000000000000000000000000000000000000000000000000016815273ffffffffffffffffffffffffffffffffffffffff928316600482015291166024820152604481018490526064016020604051808303816000875af1925050508015610dfa575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252610df791810190611250565b60015b610e0357610e05565b505b5080610e1081611186565b915050610ca4565b50505050508080610e2890611186565b915050610ac5565b5060405133904780156108fc02916000818181858888f19350505050158015610e5d573d6000803e3d6000fd5b50600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091558055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610f11576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610266565b73ffffffffffffffffffffffffffffffffffffffff8116610fb4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610266565b610fbd81610fd0565b50565b6006818154811061073d57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806020838503121561105857600080fd5b823567ffffffffffffffff8082111561107057600080fd5b818501915085601f83011261108457600080fd5b81358181111561109357600080fd5b8660208260051b85010111156110a857600080fd5b60209290920196919550909350505050565b6000602082840312156110cc57600080fd5b5035919050565b6000602082840312156110e557600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461110957600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561115257611152611110565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156111b8576111b8611110565b5060010190565b6000602082840312156111d157600080fd5b5051919050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561121057611210611110565b500290565b60008261124b577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60006020828403121561126257600080fd5b8151801515811461110957600080fdfea2646970667358221220c8457eab4a1f5013d974d81d9a7e3be6105bba12eee93bb408cd1f080134c71064736f6c634300080a0033a2646970667358221220de9da39c95b1b5aa02314aeac84753d4d1fb70500210c603b3774cab19ed3fa064736f6c634300080a0033