Source Code
Overview
ETH Balance
0 ETH
ETH Value
$0.00Multichain Info
N/A
Loading...
Loading
Contract Name:
SpectraPriceOracle
Compiler Version
v0.8.22+commit.4fc1097e
Optimization Enabled:
No with 200 runs
Other Settings:
shanghai EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.22; import {IDiscountModel} from "./interfaces/IDiscountModel.sol"; import {IPrincipalToken} from "./interfaces/IPrincipalToken.sol"; import "openzeppelin-contracts-upgradeable/access/OwnableUpgradeable.sol"; import {IERC20Metadata} from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; contract SpectraPriceOracle is OwnableUpgradeable { uint256 private constant SECONDS_PER_YEAR = 365 days; uint256 private UNIT; address public PT; uint256 public maturity; address public discountModel; // External discount model uint256 public initialImpliedAPY; uint8 private underlyingDecimals; uint256 private startTime; uint256[50] private __gap; event DiscountModelUpdated(address newModel); constructor() { _disableInitializers(); } function initialize( address _pt, address _discountModel, uint256 _initialImpliedAPY, address initOwner ) external initializer { __Ownable_init(initOwner); require(_pt != address(0), "zero address"); PT = _pt; address underlying = IPrincipalToken(PT).underlying(); underlyingDecimals = IERC20Metadata(underlying).decimals(); maturity = IPrincipalToken(PT).maturity(); discountModel = _discountModel; initialImpliedAPY = _initialImpliedAPY; UNIT = 10 ** IPrincipalToken(PT).decimals(); startTime = block.timestamp; IDiscountModel.Term memory term = IDiscountModel.Term({ startTimestamp: startTime, currentTimestamp: (block.timestamp > maturity) ? maturity : block.timestamp, expiryTimestamp: maturity }); uint256 futurePTValue = IPrincipalToken(PT).convertToUnderlying(UNIT); require(getPrice(futurePTValue, term) > 0, "price must be greater than 0"); } function latestRoundData() external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound) { IDiscountModel.Term memory term = IDiscountModel.Term({ startTimestamp: startTime, currentTimestamp: (block.timestamp > maturity) ? maturity : block.timestamp, expiryTimestamp: maturity }); uint256 futurePTValue = IPrincipalToken(PT).convertToUnderlying(UNIT); //Get the discount with the time left uint256 price = getPrice(futurePTValue, term); return (0, int256(price), 0, 0, 0); } function getPrice(uint256 futurePTValue, IDiscountModel.Term memory term) public view returns (uint256) { return IDiscountModel(discountModel).getPrice(initialImpliedAPY, futurePTValue, term); } /// @notice Update the discount model function setDiscountModel(address _newModel) external onlyOwner { require(_newModel != address(0), "zero discount model"); discountModel = _newModel; emit DiscountModelUpdated(_newModel); } /// @notice Get the decimals of the asset function decimals() external view returns (uint8) { return underlyingDecimals; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {ContextUpgradeable} from "../utils/ContextUpgradeable.sol"; import {Initializable} from "../proxy/utils/Initializable.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. * * The initial owner is set to the address provided by the deployer. 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 OwnableUpgradeable is Initializable, ContextUpgradeable { /// @custom:storage-location erc7201:openzeppelin.storage.Ownable struct OwnableStorage { address _owner; } // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Ownable")) - 1)) & ~bytes32(uint256(0xff)) bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300; function _getOwnableStorage() private pure returns (OwnableStorage storage $) { assembly { $.slot := OwnableStorageLocation } } /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ function __Ownable_init(address initialOwner) internal onlyInitializing { __Ownable_init_unchained(initialOwner); } function __Ownable_init_unchained(address initialOwner) internal onlyInitializing { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { OwnableStorage storage $ = _getOwnableStorage(); return $._owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { OwnableStorage storage $ = _getOwnableStorage(); address oldOwner = $._owner; $._owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol) pragma solidity ^0.8.20; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ```solidity * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Storage of the initializable contract. * * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions * when using with upgradeable contracts. * * @custom:storage-location erc7201:openzeppelin.storage.Initializable */ struct InitializableStorage { /** * @dev Indicates that the contract has been initialized. */ uint64 _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool _initializing; } // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Initializable")) - 1)) & ~bytes32(uint256(0xff)) bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00; /** * @dev The contract is already initialized. */ error InvalidInitialization(); /** * @dev The contract is not initializing. */ error NotInitializing(); /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint64 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. * * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in * production. * * Emits an {Initialized} event. */ modifier initializer() { // solhint-disable-next-line var-name-mixedcase InitializableStorage storage $ = _getInitializableStorage(); // Cache values to avoid duplicated sloads bool isTopLevelCall = !$._initializing; uint64 initialized = $._initialized; // Allowed calls: // - initialSetup: the contract is not in the initializing state and no previous version was // initialized // - construction: the contract is initialized at version 1 (no reininitialization) and the // current contract is just being deployed bool initialSetup = initialized == 0 && isTopLevelCall; bool construction = initialized == 1 && address(this).code.length == 0; if (!initialSetup && !construction) { revert InvalidInitialization(); } $._initialized = 1; if (isTopLevelCall) { $._initializing = true; } _; if (isTopLevelCall) { $._initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * A reinitializer may be used after the original initialization step. This is essential to configure modules that * are added through upgrades and that require initialization. * * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer` * cannot be nested. If one is invoked in the context of another, execution will revert. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. * * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint64 version) { // solhint-disable-next-line var-name-mixedcase InitializableStorage storage $ = _getInitializableStorage(); if ($._initializing || $._initialized >= version) { revert InvalidInitialization(); } $._initialized = version; $._initializing = true; _; $._initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { _checkInitializing(); _; } /** * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}. */ function _checkInitializing() internal view virtual { if (!_isInitializing()) { revert NotInitializing(); } } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. * * Emits an {Initialized} event the first time it is successfully executed. */ function _disableInitializers() internal virtual { // solhint-disable-next-line var-name-mixedcase InitializableStorage storage $ = _getInitializableStorage(); if ($._initializing) { revert InvalidInitialization(); } if ($._initialized != type(uint64).max) { $._initialized = type(uint64).max; emit Initialized(type(uint64).max); } } /** * @dev Returns the highest version that has been initialized. See {reinitializer}. */ function _getInitializedVersion() internal view returns (uint64) { return _getInitializableStorage()._initialized; } /** * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}. */ function _isInitializing() internal view returns (bool) { return _getInitializableStorage()._initializing; } /** * @dev Returns a pointer to the storage namespace. */ // solhint-disable-next-line var-name-mixedcase function _getInitializableStorage() private pure returns (InitializableStorage storage $) { assembly { $.slot := INITIALIZABLE_STORAGE } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; import {Initializable} from "../proxy/utils/Initializable.sol"; /** * @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 ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-20 standard as defined in the ERC. */ interface IERC20 { /** * @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); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC-20 standard. */ 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.22; interface IDiscountModel { struct Term { uint256 startTimestamp; uint256 currentTimestamp; uint256 expiryTimestamp; } /** * @notice Computes the price for a given principal token. * @dev This function can be implemented customly, so not all argumnets need to be used * * @param initialImpliedAPY The initial implied APY of the principal token (in 18 decimals). * @param futurePTValue The future value of the principal token at maturity. * @param term Time data for the term of the principal token. * @return price The computed price, expressed with futurePTValue's decimals precision. */ function getPrice( uint256 initialImpliedAPY, uint256 futurePTValue, Term memory term ) external pure returns (uint256 price); /** * @notice Returns a human-readable description of the discount model. * @return A string describing the discount model. */ function description() external pure returns (string memory); }
// SPDX-License-Identifier: pragma solidity ^0.8.22; interface IPrincipalToken { function getIBTRate() external view returns (uint256); function maturity() external view returns (uint256); function decimals() external view returns (uint8); function convertToUnderlying(uint256 principalAmount) external view returns (uint256); function underlying() external view returns (address); }
{ "evmVersion": "shanghai", "libraries": {}, "metadata": { "appendCBOR": true, "bytecodeHash": "ipfs", "useLiteralContent": false }, "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/", "openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/", "openzeppelin-erc20-basic/=lib/openzeppelin-contracts/contracts/token/ERC20/", "openzeppelin-erc20-extensions/=lib/openzeppelin-contracts-upgradeable/contracts/token/ERC20/extensions/", "openzeppelin-erc20/=lib/openzeppelin-contracts-upgradeable/contracts/token/ERC20/", "openzeppelin-math/=lib/openzeppelin-contracts/contracts/utils/math/", "openzeppelin-proxy/=lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/", "openzeppelin-utils/=lib/openzeppelin-contracts/contracts/utils/", "config/=lib/spectra-contracts-configs/script/", "@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/", "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/", "spectra-contracts-configs/=lib/spectra-contracts-configs/" ], "viaIR": false }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newModel","type":"address"}],"name":"DiscountModelUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"PT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"discountModel","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"futurePTValue","type":"uint256"},{"components":[{"internalType":"uint256","name":"startTimestamp","type":"uint256"},{"internalType":"uint256","name":"currentTimestamp","type":"uint256"},{"internalType":"uint256","name":"expiryTimestamp","type":"uint256"}],"internalType":"struct IDiscountModel.Term","name":"term","type":"tuple"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialImpliedAPY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_pt","type":"address"},{"internalType":"address","name":"_discountModel","type":"address"},{"internalType":"uint256","name":"_initialImpliedAPY","type":"uint256"},{"internalType":"address","name":"initOwner","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"latestRoundData","outputs":[{"internalType":"uint80","name":"roundId","type":"uint80"},{"internalType":"int256","name":"answer","type":"int256"},{"internalType":"uint256","name":"startedAt","type":"uint256"},{"internalType":"uint256","name":"updatedAt","type":"uint256"},{"internalType":"uint80","name":"answeredInRound","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maturity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newModel","type":"address"}],"name":"setDiscountModel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801562000010575f80fd5b50620000216200002760201b60201c565b62000191565b5f620000386200012b60201b60201c565b9050805f0160089054906101000a900460ff161562000083576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff8016815f015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff1614620001285767ffffffffffffffff815f015f6101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d267ffffffffffffffff6040516200011f919062000176565b60405180910390a15b50565b5f7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00905090565b5f67ffffffffffffffff82169050919050565b620001708162000152565b82525050565b5f6020820190506200018b5f83018462000165565b92915050565b6116bf806200019f5f395ff3fe608060405234801561000f575f80fd5b50600436106100b2575f3560e01c8063814cd9371161006f578063814cd937146101665780638da5cb5b14610184578063be203094146101a2578063d94073d4146101be578063f2fde38b146101dc578063feaf968c146101f8576100b2565b8063204f83f9146100b6578063313ce567146100d4578063430d9f3c146100f25780636c3aa45a1461010e578063715018a61461013e5780637b1f9eed14610148575b5f80fd5b6100be61021a565b6040516100cb9190610e89565b60405180910390f35b6100dc610220565b6040516100e99190610ebd565b60405180910390f35b61010c60048036038101906101079190610f3d565b610235565b005b6101286004803603810190610123919061107f565b610325565b6040516101359190610e89565b60405180910390f35b6101466103cd565b005b6101506103e0565b60405161015d91906110cc565b60405180910390f35b61016e610405565b60405161017b9190610e89565b60405180910390f35b61018c61040b565b60405161019991906110cc565b60405180910390f35b6101bc60048036038101906101b791906110e5565b610440565b005b6101c6610a29565b6040516101d391906110cc565b60405180910390f35b6101f660048036038101906101f19190610f3d565b610a4e565b005b610200610ad2565b604051610211959493929190611185565b60405180910390f35b60025481565b5f60055f9054906101000a900460ff16905090565b61023d610bce565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036102ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a290611230565b60405180910390fd5b8060035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fb26a5c248c5c6572156b85878878f24e44159b949296eb52597b902d6ba0089b8160405161031a91906110cc565b60405180910390a150565b5f60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f87eba5d60045485856040518463ffffffff1660e01b81526004016103869392919061129d565b602060405180830381865afa1580156103a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103c591906112e6565b905092915050565b6103d5610bce565b6103de5f610c55565b565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b5f80610415610d26565b9050805f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505090565b5f610449610d4d565b90505f815f0160089054906101000a900460ff161590505f825f015f9054906101000a900467ffffffffffffffff1690505f808267ffffffffffffffff161480156104915750825b90505f60018367ffffffffffffffff161480156104c457505f3073ffffffffffffffffffffffffffffffffffffffff163b145b9050811580156104d2575080155b15610509576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001855f015f6101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508315610556576001855f0160086101000a81548160ff0219169083151502179055505b61055f86610d74565b5f73ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff16036105cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c49061135b565b60405180910390fd5b8860015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636f307dc36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610678573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061069c919061138d565b90508073ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070b91906113e2565b60055f6101000a81548160ff021916908360ff16021790555060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663204f83f96040518163ffffffff1660e01b8152600401602060405180830381865afa15801561078e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107b291906112e6565b6002819055508860035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508760048190555060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610869573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088d91906113e2565b600a6108999190611569565b5f81905550426006819055505f6040518060600160405280600654815260200160025442116108c857426108cc565b6002545b815260200160025481525090505f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631dc7f5215f546040518263ffffffff1660e01b81526004016109359190610e89565b602060405180830381865afa158015610950573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097491906112e6565b90505f6109818284610325565b116109c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b8906115fd565b60405180910390fd5b5050508315610a1e575f855f0160086101000a81548160ff0219169083151502179055507fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d26001604051610a159190611670565b60405180910390a15b505050505050505050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a56610bce565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ac6575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610abd91906110cc565b60405180910390fd5b610acf81610c55565b50565b5f805f805f80604051806060016040528060065481526020016002544211610afa5742610afe565b6002545b815260200160025481525090505f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631dc7f5215f546040518263ffffffff1660e01b8152600401610b679190610e89565b602060405180830381865afa158015610b82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba691906112e6565b90505f610bb38284610325565b90505f815f805f975097509750975097505050509091929394565b610bd6610d88565b73ffffffffffffffffffffffffffffffffffffffff16610bf461040b565b73ffffffffffffffffffffffffffffffffffffffff1614610c5357610c17610d88565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610c4a91906110cc565b60405180910390fd5b565b5f610c5e610d26565b90505f815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082825f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3505050565b5f7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300905090565b5f7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00905090565b610d7c610d8f565b610d8581610dcf565b50565b5f33905090565b610d97610e53565b610dcd576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b610dd7610d8f565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e47575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610e3e91906110cc565b60405180910390fd5b610e5081610c55565b50565b5f610e5c610d4d565b5f0160089054906101000a900460ff16905090565b5f819050919050565b610e8381610e71565b82525050565b5f602082019050610e9c5f830184610e7a565b92915050565b5f60ff82169050919050565b610eb781610ea2565b82525050565b5f602082019050610ed05f830184610eae565b92915050565b5f604051905090565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610f0c82610ee3565b9050919050565b610f1c81610f02565b8114610f26575f80fd5b50565b5f81359050610f3781610f13565b92915050565b5f60208284031215610f5257610f51610edf565b5b5f610f5f84828501610f29565b91505092915050565b610f7181610e71565b8114610f7b575f80fd5b50565b5f81359050610f8c81610f68565b92915050565b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b610fdc82610f96565b810181811067ffffffffffffffff82111715610ffb57610ffa610fa6565b5b80604052505050565b5f61100d610ed6565b90506110198282610fd3565b919050565b5f6060828403121561103357611032610f92565b5b61103d6060611004565b90505f61104c84828501610f7e565b5f83015250602061105f84828501610f7e565b602083015250604061107384828501610f7e565b60408301525092915050565b5f806080838503121561109557611094610edf565b5b5f6110a285828601610f7e565b92505060206110b38582860161101e565b9150509250929050565b6110c681610f02565b82525050565b5f6020820190506110df5f8301846110bd565b92915050565b5f805f80608085870312156110fd576110fc610edf565b5b5f61110a87828801610f29565b945050602061111b87828801610f29565b935050604061112c87828801610f7e565b925050606061113d87828801610f29565b91505092959194509250565b5f69ffffffffffffffffffff82169050919050565b61116781611149565b82525050565b5f819050919050565b61117f8161116d565b82525050565b5f60a0820190506111985f83018861115e565b6111a56020830187611176565b6111b26040830186610e7a565b6111bf6060830185610e7a565b6111cc608083018461115e565b9695505050505050565b5f82825260208201905092915050565b7f7a65726f20646973636f756e74206d6f64656c000000000000000000000000005f82015250565b5f61121a6013836111d6565b9150611225826111e6565b602082019050919050565b5f6020820190508181035f8301526112478161120e565b9050919050565b61125781610e71565b82525050565b606082015f8201516112715f85018261124e565b506020820151611284602085018261124e565b506040820151611297604085018261124e565b50505050565b5f60a0820190506112b05f830186610e7a565b6112bd6020830185610e7a565b6112ca604083018461125d565b949350505050565b5f815190506112e081610f68565b92915050565b5f602082840312156112fb576112fa610edf565b5b5f611308848285016112d2565b91505092915050565b7f7a65726f206164647265737300000000000000000000000000000000000000005f82015250565b5f611345600c836111d6565b915061135082611311565b602082019050919050565b5f6020820190508181035f83015261137281611339565b9050919050565b5f8151905061138781610f13565b92915050565b5f602082840312156113a2576113a1610edf565b5b5f6113af84828501611379565b91505092915050565b6113c181610ea2565b81146113cb575f80fd5b50565b5f815190506113dc816113b8565b92915050565b5f602082840312156113f7576113f6610edf565b5b5f611404848285016113ce565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b600185111561148f5780860481111561146b5761146a61140d565b5b600185161561147a5780820291505b80810290506114888561143a565b945061144f565b94509492505050565b5f826114a75760019050611562565b816114b4575f9050611562565b81600181146114ca57600281146114d457611503565b6001915050611562565b60ff8411156114e6576114e561140d565b5b8360020a9150848211156114fd576114fc61140d565b5b50611562565b5060208310610133831016604e8410600b84101617156115385782820a9050838111156115335761153261140d565b5b611562565b6115458484846001611446565b9250905081840481111561155c5761155b61140d565b5b81810290505b9392505050565b5f61157382610e71565b915061157e83610ea2565b92506115ab7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611498565b905092915050565b7f7072696365206d7573742062652067726561746572207468616e2030000000005f82015250565b5f6115e7601c836111d6565b91506115f2826115b3565b602082019050919050565b5f6020820190508181035f830152611614816115db565b9050919050565b5f819050919050565b5f67ffffffffffffffff82169050919050565b5f819050919050565b5f61165a6116556116508461161b565b611637565b611624565b9050919050565b61166a81611640565b82525050565b5f6020820190506116835f830184611661565b9291505056fea264697066735822122062f527ad284a42e5854de069cd2555b1b0bf83b1f72dfe081624d6c8e260982364736f6c63430008160033
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106100b2575f3560e01c8063814cd9371161006f578063814cd937146101665780638da5cb5b14610184578063be203094146101a2578063d94073d4146101be578063f2fde38b146101dc578063feaf968c146101f8576100b2565b8063204f83f9146100b6578063313ce567146100d4578063430d9f3c146100f25780636c3aa45a1461010e578063715018a61461013e5780637b1f9eed14610148575b5f80fd5b6100be61021a565b6040516100cb9190610e89565b60405180910390f35b6100dc610220565b6040516100e99190610ebd565b60405180910390f35b61010c60048036038101906101079190610f3d565b610235565b005b6101286004803603810190610123919061107f565b610325565b6040516101359190610e89565b60405180910390f35b6101466103cd565b005b6101506103e0565b60405161015d91906110cc565b60405180910390f35b61016e610405565b60405161017b9190610e89565b60405180910390f35b61018c61040b565b60405161019991906110cc565b60405180910390f35b6101bc60048036038101906101b791906110e5565b610440565b005b6101c6610a29565b6040516101d391906110cc565b60405180910390f35b6101f660048036038101906101f19190610f3d565b610a4e565b005b610200610ad2565b604051610211959493929190611185565b60405180910390f35b60025481565b5f60055f9054906101000a900460ff16905090565b61023d610bce565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036102ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a290611230565b60405180910390fd5b8060035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fb26a5c248c5c6572156b85878878f24e44159b949296eb52597b902d6ba0089b8160405161031a91906110cc565b60405180910390a150565b5f60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f87eba5d60045485856040518463ffffffff1660e01b81526004016103869392919061129d565b602060405180830381865afa1580156103a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103c591906112e6565b905092915050565b6103d5610bce565b6103de5f610c55565b565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b5f80610415610d26565b9050805f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505090565b5f610449610d4d565b90505f815f0160089054906101000a900460ff161590505f825f015f9054906101000a900467ffffffffffffffff1690505f808267ffffffffffffffff161480156104915750825b90505f60018367ffffffffffffffff161480156104c457505f3073ffffffffffffffffffffffffffffffffffffffff163b145b9050811580156104d2575080155b15610509576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001855f015f6101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508315610556576001855f0160086101000a81548160ff0219169083151502179055505b61055f86610d74565b5f73ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff16036105cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c49061135b565b60405180910390fd5b8860015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636f307dc36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610678573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061069c919061138d565b90508073ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070b91906113e2565b60055f6101000a81548160ff021916908360ff16021790555060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663204f83f96040518163ffffffff1660e01b8152600401602060405180830381865afa15801561078e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107b291906112e6565b6002819055508860035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508760048190555060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610869573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088d91906113e2565b600a6108999190611569565b5f81905550426006819055505f6040518060600160405280600654815260200160025442116108c857426108cc565b6002545b815260200160025481525090505f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631dc7f5215f546040518263ffffffff1660e01b81526004016109359190610e89565b602060405180830381865afa158015610950573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097491906112e6565b90505f6109818284610325565b116109c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b8906115fd565b60405180910390fd5b5050508315610a1e575f855f0160086101000a81548160ff0219169083151502179055507fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d26001604051610a159190611670565b60405180910390a15b505050505050505050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a56610bce565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ac6575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610abd91906110cc565b60405180910390fd5b610acf81610c55565b50565b5f805f805f80604051806060016040528060065481526020016002544211610afa5742610afe565b6002545b815260200160025481525090505f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631dc7f5215f546040518263ffffffff1660e01b8152600401610b679190610e89565b602060405180830381865afa158015610b82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba691906112e6565b90505f610bb38284610325565b90505f815f805f975097509750975097505050509091929394565b610bd6610d88565b73ffffffffffffffffffffffffffffffffffffffff16610bf461040b565b73ffffffffffffffffffffffffffffffffffffffff1614610c5357610c17610d88565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610c4a91906110cc565b60405180910390fd5b565b5f610c5e610d26565b90505f815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082825f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3505050565b5f7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300905090565b5f7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00905090565b610d7c610d8f565b610d8581610dcf565b50565b5f33905090565b610d97610e53565b610dcd576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b610dd7610d8f565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e47575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610e3e91906110cc565b60405180910390fd5b610e5081610c55565b50565b5f610e5c610d4d565b5f0160089054906101000a900460ff16905090565b5f819050919050565b610e8381610e71565b82525050565b5f602082019050610e9c5f830184610e7a565b92915050565b5f60ff82169050919050565b610eb781610ea2565b82525050565b5f602082019050610ed05f830184610eae565b92915050565b5f604051905090565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610f0c82610ee3565b9050919050565b610f1c81610f02565b8114610f26575f80fd5b50565b5f81359050610f3781610f13565b92915050565b5f60208284031215610f5257610f51610edf565b5b5f610f5f84828501610f29565b91505092915050565b610f7181610e71565b8114610f7b575f80fd5b50565b5f81359050610f8c81610f68565b92915050565b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b610fdc82610f96565b810181811067ffffffffffffffff82111715610ffb57610ffa610fa6565b5b80604052505050565b5f61100d610ed6565b90506110198282610fd3565b919050565b5f6060828403121561103357611032610f92565b5b61103d6060611004565b90505f61104c84828501610f7e565b5f83015250602061105f84828501610f7e565b602083015250604061107384828501610f7e565b60408301525092915050565b5f806080838503121561109557611094610edf565b5b5f6110a285828601610f7e565b92505060206110b38582860161101e565b9150509250929050565b6110c681610f02565b82525050565b5f6020820190506110df5f8301846110bd565b92915050565b5f805f80608085870312156110fd576110fc610edf565b5b5f61110a87828801610f29565b945050602061111b87828801610f29565b935050604061112c87828801610f7e565b925050606061113d87828801610f29565b91505092959194509250565b5f69ffffffffffffffffffff82169050919050565b61116781611149565b82525050565b5f819050919050565b61117f8161116d565b82525050565b5f60a0820190506111985f83018861115e565b6111a56020830187611176565b6111b26040830186610e7a565b6111bf6060830185610e7a565b6111cc608083018461115e565b9695505050505050565b5f82825260208201905092915050565b7f7a65726f20646973636f756e74206d6f64656c000000000000000000000000005f82015250565b5f61121a6013836111d6565b9150611225826111e6565b602082019050919050565b5f6020820190508181035f8301526112478161120e565b9050919050565b61125781610e71565b82525050565b606082015f8201516112715f85018261124e565b506020820151611284602085018261124e565b506040820151611297604085018261124e565b50505050565b5f60a0820190506112b05f830186610e7a565b6112bd6020830185610e7a565b6112ca604083018461125d565b949350505050565b5f815190506112e081610f68565b92915050565b5f602082840312156112fb576112fa610edf565b5b5f611308848285016112d2565b91505092915050565b7f7a65726f206164647265737300000000000000000000000000000000000000005f82015250565b5f611345600c836111d6565b915061135082611311565b602082019050919050565b5f6020820190508181035f83015261137281611339565b9050919050565b5f8151905061138781610f13565b92915050565b5f602082840312156113a2576113a1610edf565b5b5f6113af84828501611379565b91505092915050565b6113c181610ea2565b81146113cb575f80fd5b50565b5f815190506113dc816113b8565b92915050565b5f602082840312156113f7576113f6610edf565b5b5f611404848285016113ce565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b600185111561148f5780860481111561146b5761146a61140d565b5b600185161561147a5780820291505b80810290506114888561143a565b945061144f565b94509492505050565b5f826114a75760019050611562565b816114b4575f9050611562565b81600181146114ca57600281146114d457611503565b6001915050611562565b60ff8411156114e6576114e561140d565b5b8360020a9150848211156114fd576114fc61140d565b5b50611562565b5060208310610133831016604e8410600b84101617156115385782820a9050838111156115335761153261140d565b5b611562565b6115458484846001611446565b9250905081840481111561155c5761155b61140d565b5b81810290505b9392505050565b5f61157382610e71565b915061157e83610ea2565b92506115ab7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611498565b905092915050565b7f7072696365206d7573742062652067726561746572207468616e2030000000005f82015250565b5f6115e7601c836111d6565b91506115f2826115b3565b602082019050919050565b5f6020820190508181035f830152611614816115db565b9050919050565b5f819050919050565b5f67ffffffffffffffff82169050919050565b5f819050919050565b5f61165a6116556116508461161b565b611637565b611624565b9050919050565b61166a81611640565b82525050565b5f6020820190506116835f830184611661565b9291505056fea264697066735822122062f527ad284a42e5854de069cd2555b1b0bf83b1f72dfe081624d6c8e260982364736f6c63430008160033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.