ETH Price: $2,523.95 (-0.34%)

Contract

0x6fcBBB527Fb2954BED2B224A5BB7c23C5AeEb6E1
 
Transaction Hash
Method
Block
From
To
Transfer178480232023-08-05 9:57:59390 days ago1691229479IN
Ichi.Farm: oneETH Token
0 ETH0.0023941212.62698177
Withdraw178365612023-08-03 19:29:47392 days ago1691090987IN
Ichi.Farm: oneETH Token
0 ETH0.004147324.21401139
Withdraw178365542023-08-03 19:28:23392 days ago1691090903IN
Ichi.Farm: oneETH Token
0 ETH0.0058361824.32738436
Approve174206112023-06-06 9:45:23450 days ago1686044723IN
Ichi.Farm: oneETH Token
0 ETH0.0034427719.95
Approve169513012023-04-01 2:21:35516 days ago1680315695IN
Ichi.Farm: oneETH Token
0 ETH0.0038204622.15046847
Approve165265472023-01-31 11:36:23576 days ago1675164983IN
Ichi.Farm: oneETH Token
0 ETH0.001658315.50930857
Withdraw165264732023-01-31 11:21:23576 days ago1675164083IN
Ichi.Farm: oneETH Token
0 ETH0.0027234714.5135224
Approve161341292022-12-07 16:50:47631 days ago1670431847IN
Ichi.Farm: oneETH Token
0 ETH0.0024140613.99637505
Approve159061332022-11-05 20:14:59663 days ago1667679299IN
Ichi.Farm: oneETH Token
0 ETH0.0022784611.70881455
Mint144740432022-03-28 10:05:05885 days ago1648461905IN
Ichi.Farm: oneETH Token
0 ETH0.0067568537.85330127
Withdraw144738952022-03-28 9:26:18885 days ago1648459578IN
Ichi.Farm: oneETH Token
0 ETH0.0037612522.05357923
Mint144738612022-03-28 9:18:44885 days ago1648459124IN
Ichi.Farm: oneETH Token
0 ETH0.005075628.45101796
Mint144738132022-03-28 9:09:02885 days ago1648458542IN
Ichi.Farm: oneETH Token
0 ETH0.0056186930.02147682
Approve125326372021-05-30 0:59:271187 days ago1622336367IN
Ichi.Farm: oneETH Token
0 ETH0.0019954820
Mint123653612021-05-04 3:27:331213 days ago1620098853IN
Ichi.Farm: oneETH Token
0 ETH0.006325344
Mint123653512021-05-04 3:25:591213 days ago1620098759IN
Ichi.Farm: oneETH Token
0 ETH0.0067560147
Mint123653452021-05-04 3:24:111213 days ago1620098651IN
Ichi.Farm: oneETH Token
0 ETH0.0066122746
Mint123652942021-05-04 3:13:121213 days ago1620097992IN
Ichi.Farm: oneETH Token
0 ETH0.0069163343
Approve123090642021-04-25 11:00:161222 days ago1619348416IN
Ichi.Farm: oneETH Token
0 ETH0.0067921142
Approve119474362021-02-28 18:29:561278 days ago1614536996IN
Ichi.Farm: oneETH Token
0 ETH0.0072474487.00000145
Approve119464752021-02-28 14:51:141278 days ago1614523874IN
Ichi.Farm: oneETH Token
0 ETH0.0133695396
Set Pending LP G...118561522021-02-14 17:26:421292 days ago1613323602IN
Ichi.Farm: oneETH Token
0 ETH0.00521454116.30000153
Set Pending Gov118561482021-02-14 17:25:361292 days ago1613323536IN
Ichi.Farm: oneETH Token
0 ETH0.00522542116.6000016
Edit Withdraw Fe...117405572021-01-27 22:28:101310 days ago1611786490IN
Ichi.Farm: oneETH Token
0 ETH0.0036460284
Withdraw117385442021-01-27 15:03:071310 days ago1611759787IN
Ichi.Farm: oneETH Token
0 ETH0.03066998220
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
144738612022-03-28 9:18:44885 days ago1648459124
Ichi.Farm: oneETH Token
0.00013622 ETH
115217232020-12-25 8:39:001343 days ago1608885540
Ichi.Farm: oneETH Token
0.34549704 ETH
115214332020-12-25 7:32:371343 days ago1608881557
Ichi.Farm: oneETH Token
0.01263764 ETH
115167722020-12-24 14:14:071344 days ago1608819247
Ichi.Farm: oneETH Token
0.14852614 ETH
115099962020-12-23 13:04:171345 days ago1608728657
Ichi.Farm: oneETH Token
0.08950024 ETH
115037142020-12-22 14:03:551346 days ago1608645835
Ichi.Farm: oneETH Token
0.09367436 ETH
115032962020-12-22 12:38:081346 days ago1608640688
Ichi.Farm: oneETH Token
0.09173904 ETH
115026612020-12-22 10:14:011346 days ago1608632041
Ichi.Farm: oneETH Token
0.00315372 ETH
114850632020-12-19 17:31:031349 days ago1608399063
Ichi.Farm: oneETH Token
0.00928385 ETH
114797562020-12-18 21:58:441350 days ago1608328724
Ichi.Farm: oneETH Token
0.0062373 ETH
114765822020-12-18 10:15:561350 days ago1608286556
Ichi.Farm: oneETH Token
0.33466534 ETH
114702242020-12-17 10:57:331351 days ago1608202653
Ichi.Farm: oneETH Token
0.00982887 ETH
114700932020-12-17 10:30:511351 days ago1608201051
Ichi.Farm: oneETH Token
0.39761837 ETH
114695242020-12-17 8:24:291351 days ago1608193469
Ichi.Farm: oneETH Token
0.00639747 ETH
114652832020-12-16 16:44:091352 days ago1608137049
Ichi.Farm: oneETH Token
0.00330594 ETH
114646052020-12-16 14:10:581352 days ago1608127858
Ichi.Farm: oneETH Token
0.08876538 ETH
114636342020-12-16 10:39:561352 days ago1608115196
Ichi.Farm: oneETH Token
0.00308261 ETH
114540632020-12-14 23:14:061353 days ago1607987646
Ichi.Farm: oneETH Token
0.01065573 ETH
114538202020-12-14 22:21:571354 days ago1607984517
Ichi.Farm: oneETH Token
0.01455801 ETH
114457302020-12-13 16:24:231355 days ago1607876663
Ichi.Farm: oneETH Token
0.00623345 ETH
114456482020-12-13 16:05:081355 days ago1607875508
Ichi.Farm: oneETH Token
0.00665736 ETH
114398632020-12-12 18:49:211356 days ago1607798961
Ichi.Farm: oneETH Token
0.18946711 ETH
114395452020-12-12 17:42:011356 days ago1607794921
Ichi.Farm: oneETH Token
0.00048568 ETH
114391882020-12-12 16:24:031356 days ago1607790243
Ichi.Farm: oneETH Token
0.00064796 ETH
114356202020-12-12 3:19:061356 days ago1607743146
Ichi.Farm: oneETH Token
0.18685972 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
oneETH

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-11-14
*/

// File: @chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

interface AggregatorV3Interface {

  function decimals() external view returns (uint8);
  function description() external view returns (string memory);
  function version() external view returns (uint256);

  // getRoundData and latestRoundData should both raise "No data present"
  // if they do not have data to report, instead of returning unset values
  // which could be misinterpreted as actual reported values.
  function getRoundData(uint80 _roundId)
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );
  function latestRoundData()
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );

}

// File: @openzeppelin/contracts/math/SafeMath.sol

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.6.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);
}

// File: @openzeppelin/contracts/utils/Address.sol

pragma solidity ^0.6.2;

/**
 * @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 in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol

pragma solidity ^0.6.0;




/**
 * @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 SafeMath for uint256;
    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'
        // solhint-disable-next-line max-line-length
        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).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _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
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: @openzeppelin/contracts/utils/ReentrancyGuard.sol

pragma solidity ^0.6.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].
 */
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 () internal {
        _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;
    }
}

// File: @openzeppelin/contracts/GSN/Context.sol

pragma solidity ^0.6.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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol

pragma solidity ^0.6.0;





/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view override virtual returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override virtual returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

// File: @openzeppelin/contracts/access/Ownable.sol

pragma solidity ^0.6.0;

/**
 * @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.
 */
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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts/oneETH.sol

pragma solidity ^0.6.0;







interface IUniswapOracle {
    // We need the current prices of just about everything for the system to work!
    // 
    // Return the average time weighted price of oneETH (the Ethereum stable coin),
    // the collateral (USDC, DAI, etc), and the cryptocurrencies (ETH, BTC, etc).
    // This includes functions for changing the time interval for average,
    // updating the oracle price, and returning the current price.
    function changeInterval(uint256 seconds_) external;
    function update() external;
    function consult(address token, uint amountIn) external view returns (uint amountOut);
}

interface IWETH {
    // This is used to auto-convert ETH into WETH.
    function deposit() external payable;
    function transfer(address to, uint value) external returns (bool);
    function withdraw(uint) external;
}

contract oneETH is ERC20("oneETH", "oneETH"), Ownable, ReentrancyGuard {
    // oneETH is the first fractionally backed stable coin that is especially designed for
    // the Ethereum community.  In its fractional phase, ETH will be paid into the contract
    // to mint new oneETH.  The Ethereum community will govern this ETH treasury, spending it
    // on public goods, to re-collateralize oneETH, or on discount and perks for consumers to
    // adopt oneETH or ETH.
    //
    // This contract is ownable and the owner has tremendous power.  This ownership will be
    // transferred to a multi-sig contract controlled by signers elected by the community.
    //
    // Thanks for reading the contract and happy farming!
    using SafeMath for uint256;

    // At 100% reserve ratio, each oneETH is backed 1-to-1 by $1 of existing stable coins
    uint256 constant public MAX_RESERVE_RATIO = 100 * 10 ** 9;
    uint256 private constant DECIMALS = 9;
    uint256 public lastRefreshReserve; // The last time the reserve ratio was updated by the contract
    uint256 public minimumRefreshTime; // The time between reserve ratio refreshes

    address public stimulus; // oneETH builds a stimulus fund in ETH.
    uint256 public stimulusDecimals; // used to calculate oracle rate of Uniswap Pair

    // We get the price of ETH from Chainlink!  Thanks chainLink!  Hopefully, the chainLink
    // will provide Oracle prices for oneETH, oneBTC, etc in the future.  For now, we will get those
    // from the ichi.farm exchange which uses Uniswap contracts.
    AggregatorV3Interface internal chainlinkStimulusOracle;
    AggregatorV3Interface internal ethPrice;


    address public oneTokenOracle; // oracle for the oneETH stable coin
    address public stimulusOracle;  // oracle for a stimulus cryptocurrency that isn't on chainLink
    bool public chainLink;         // true means it is a chainLink oracle

    // Only governance should cause the coin to go fully agorithmic by changing the minimum reserve
    // ratio.  For now, we will set a conservative minimum reserve ratio.
    uint256 public MIN_RESERVE_RATIO;

    // Makes sure that you can't send coins to a 0 address and prevents coins from being sent to the
    // contract address. I want to protect your funds! 
    modifier validRecipient(address to) {
        require(to != address(0x0));
        require(to != address(this));
        _;
    }

    uint256 private _totalSupply;
    mapping(address => uint256) private _oneBalances;
    mapping(address => uint256) private _lastCall;
    mapping (address => mapping (address => uint256)) private _allowedOne;

    address public wethAddress;
    address public gov;
    // allows you to transfer the governance to a different user - they must accept it!
    address public pendingGov;
    uint256 public reserveStepSize; // step size of update of reserve rate (e.g. 5 * 10 ** 8 = 0.5%)
    uint256 public reserveRatio;    // a number between 0 and 100 * 10 ** 9.
                                    // 0 = 0%
                                    // 100 * 10 ** 9 = 100%

    // map of acceptable collaterals
    mapping (address => bool) public acceptedCollateral;
    address[] public collateralArray;

    // modifier to allow auto update of TWAP oracle prices
    // also updates reserves rate programatically
    modifier updateProtocol() {
        if (address(oneTokenOracle) != address(0)) {
            // only update if stimulusOracle is set
            if (!chainLink) IUniswapOracle(stimulusOracle).update();

            // this is always updated because we always need stablecoin oracle price
            IUniswapOracle(oneTokenOracle).update();

            for (uint i = 0; i < collateralArray.length; i++){ 
                if (acceptedCollateral[collateralArray[i]]) IUniswapOracle(collateralOracle[collateralArray[i]]).update();
            }

            // update reserve ratio if enough time has passed
            if (block.timestamp - lastRefreshReserve >= minimumRefreshTime) {
                // $Z / 1 one token
                if (getOneTokenUsd() > 1 * 10 ** 9) {
                    setReserveRatio(reserveRatio.sub(reserveStepSize));
                } else {
                    setReserveRatio(reserveRatio.add(reserveStepSize));
                }

                lastRefreshReserve = block.timestamp;
            }
        }
        
        _;
    }

    event NewPendingGov(address oldPendingGov, address newPendingGov);
    event NewGov(address oldGov, address newGov);
    event NewReserveRate(uint256 reserveRatio);
    event Mint(address stimulus, address receiver, address collateral, uint256 collateralAmount, uint256 stimulusAmount, uint256 oneAmount);
    event Withdraw(address stimulus, address receiver, address collateral, uint256 collateralAmount, uint256 stimulusAmount, uint256 oneAmount);
    event NewMinimumRefreshTime(uint256 minimumRefreshTime);

    modifier onlyIchiGov() {
        require(msg.sender == gov, "ACCESS: only Ichi governance");
        _;
    }

    bytes4 private constant SELECTOR = bytes4(keccak256(bytes('transfer(address,uint256)')));
    mapping (address => uint256) public collateralDecimals;
    mapping (address => bool) public previouslySeenCollateral;
    mapping (address => address) public collateralOracle;       // address of the Collateral-ETH Uniswap Price

    // default to 0
    uint256 public mintFee;
    uint256 public withdrawFee;
    uint256 public minBlockFreeze;

    // fee to charge when minting oneETH - this will go into collateral
    event MintFee(uint256 fee_);
    // fee to charge when redeeming oneETH - this will go into collateral
    event WithdrawFee(uint256 fee_);

    // set governance access to only oneETH - ETH pool multisig (elected after rewards)
    modifier ethLPGov() {
        require(msg.sender == lpGov, "ACCESS: only ethLP governance");
        _;
    }

    address public lpGov;
    address public pendingLPGov;

    event NewPendingLPGov(address oldPendingLPGov, address newPendingLPGov);
    event NewLPGov(address oldLPGov, address newLPGov);

    // important: make sure changeInterval is a function to allow the interval of update to change
    function addCollateral(address collateral_, uint256 collateralDecimal_, address oracleAddress_)
        external
        ethLPGov
    {
        // only add collateral once
        if (!previouslySeenCollateral[collateral_]) collateralArray.push(collateral_);

        previouslySeenCollateral[collateral_] = true;
        acceptedCollateral[collateral_] = true;
        collateralDecimals[collateral_] = collateralDecimal_;
        collateralOracle[collateral_] = oracleAddress_;
    }

    function setReserveStepSize(uint256 stepSize_)
        external
        ethLPGov
    {
        reserveStepSize = stepSize_;
    }

    function setCollateralOracle(address collateral_, address oracleAddress_)
        external
        ethLPGov
    {
        require(acceptedCollateral[collateral_], "invalid collateral");
        collateralOracle[collateral_] = oracleAddress_;
    }

    function removeCollateral(address collateral_)
        external
        ethLPGov
    {
        acceptedCollateral[collateral_] = false;
    }

    // returns 10 ** 9 price of collateral
    function getCollateralUsd(address collateral_) public view returns (uint256) {
        // price is $Y / ETH (10 ** 8 decimals)
        ( , int price, , uint timeStamp, ) = ethPrice.latestRoundData();
        require(timeStamp > 0, "Rounds not complete");

        return uint256(price).mul(10 ** 10).div((IUniswapOracle(collateralOracle[collateral_]).consult(wethAddress, 10 ** 18)).mul(10 ** 9).div(10 ** collateralDecimals[collateral_]));
    }

    function globalCollateralValue() public view returns (uint256) {
        uint256 totalCollateralUsd = 0; 

        for (uint i = 0; i < collateralArray.length; i++){ 
            // Exclude null addresses
            if (collateralArray[i] != address(0)){
                totalCollateralUsd += IERC20(collateralArray[i]).balanceOf(address(this)).mul(10 ** 9).div(10 ** collateralDecimals[collateralArray[i]]).mul(getCollateralUsd(collateralArray[i])).div(10 ** 9); // add stablecoin balance
            }

        }
        return totalCollateralUsd;
    }

    // return price of oneETH in 10 ** 9 decimal
    function getOneTokenUsd()
        public
        view
        returns (uint256)
    {
        uint256 oneTokenPrice = IUniswapOracle(oneTokenOracle).consult(stimulus, 10 ** stimulusDecimals); // X one tokens (10 ** 9) / 1 stimulus token
        uint256 stimulusTWAP = getStimulusOracle(); // $Y / 1 stimulus (10 ** 9)

        uint256 oneTokenUsd = stimulusTWAP.mul(10 ** 9).div(oneTokenPrice); // 10 ** 9 decimals
        return oneTokenUsd;
    }

    /**
     * @return The total number of oneETH.
     */
    function totalSupply()
        public
        override
        view
        returns (uint256)
    {
        return _totalSupply;
    }

    /**
     * @param who The address to query.
     * @return The balance of the specified address.
     */
    function balanceOf(address who)
        public
        override
        view
        returns (uint256)
    {
        return _oneBalances[who];
    }

    // oracle asset for collateral (oneETH is ETH, oneWHBAR is WHBAR, etc...)
    function setChainLinkStimulusOracle(address oracle_)
        external
        ethLPGov
        returns (bool)
    {
        chainlinkStimulusOracle = AggregatorV3Interface(oracle_);
        chainLink = true;

        return true;
    }

    /**
     * @dev Transfer tokens to a specified address.
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     * @return True on success, false otherwise.
     */
    function transfer(address to, uint256 value)
        public
        override
        validRecipient(to)
        updateProtocol()
        returns (bool)
    {
        _oneBalances[msg.sender] = _oneBalances[msg.sender].sub(value);
        _oneBalances[to] = _oneBalances[to].add(value);
        emit Transfer(msg.sender, to, value);

        return true;
    }

    /**
     * @dev Function to check the amount of tokens that an owner has allowed to a spender.
     * @param owner_ The address which owns the funds.
     * @param spender The address which will spend the funds.
     * @return The number of tokens still available for the spender.
     */
    function allowance(address owner_, address spender)
        public
        override
        view
        returns (uint256)
    {
        return _allowedOne[owner_][spender];
    }

    /**
     * @dev Transfer tokens from one address to another.
     * @param from The address you want to send tokens from.
     * @param to The address you want to transfer to.
     * @param value The amount of tokens to be transferred.
     */
    function transferFrom(address from, address to, uint256 value)
        public
        override
        validRecipient(to)
        updateProtocol()
        returns (bool)
    {
        _allowedOne[from][msg.sender] = _allowedOne[from][msg.sender].sub(value);

        _oneBalances[from] = _oneBalances[from].sub(value);
        _oneBalances[to] = _oneBalances[to].add(value);
        emit Transfer(from, to, value);

        return true;
    }

    /**
     * @dev Approve the passed address to spend the specified amount of tokens on behalf of
     * msg.sender. This method is included for ERC20 compatibility.
     * increaseAllowance and decreaseAllowance should be used instead.
     * Changing an allowance with this method brings the risk that someone may transfer both
     * the old and the new allowance - if they are both greater than zero - if a transfer
     * transaction is mined before the later approve() call is mined.
     *
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     */
    function approve(address spender, uint256 value)
        public
        override
        validRecipient(spender)
        updateProtocol()
        returns (bool)
    {
        _allowedOne[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    /**
     * @dev Increase the amount of tokens that an owner has allowed to a spender.
     * This method should be used instead of approve() to avoid the double approval vulnerability
     * described above.
     * @param spender The address which will spend the funds.
     * @param addedValue The amount of tokens to increase the allowance by.
     */
    function increaseAllowance(address spender, uint256 addedValue)
        public
        override
        returns (bool)
    {
        _allowedOne[msg.sender][spender] = _allowedOne[msg.sender][spender].add(addedValue);
        emit Approval(msg.sender, spender, _allowedOne[msg.sender][spender]);
        return true;
    }

    /**
     * @dev Decrease the amount of tokens that an owner has allowed to a spender.
     *
     * @param spender The address which will spend the funds.
     * @param subtractedValue The amount of tokens to decrease the allowance by.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        override
        returns (bool)
    {
        uint256 oldValue = _allowedOne[msg.sender][spender];
        if (subtractedValue >= oldValue) {
            _allowedOne[msg.sender][spender] = 0;
        } else {
            _allowedOne[msg.sender][spender] = oldValue.sub(subtractedValue);
        }
        emit Approval(msg.sender, spender, _allowedOne[msg.sender][spender]);
        return true;
    }

    function setOneOracle(address oracle_)
        external
        ethLPGov
        returns (bool) 
    {
        oneTokenOracle = oracle_;
        
        return true;
    }

    function setStimulusUniswapOracle(address oracle_)
        external
        ethLPGov
        returns (bool)
    {
        stimulusOracle = oracle_;
        chainLink = false;

        return true;
    }

    // oracle rate is 10 ** 9 decimals
    // returns $Z / Stimulus
    function getStimulusOracle()
        public
        view
        returns (uint256)
    {
        if (chainLink) {
            (
                uint80 roundID, 
                int price,
                uint startedAt,
                uint timeStamp,
                uint80 answeredInRound
            ) = chainlinkStimulusOracle.latestRoundData();

            require(timeStamp > 0, "Rounds not complete");

            return uint256(price).mul(10); // 10 ** 9 price
        } else {
            // stimulusTWAP has `stimulusDecimals` decimals
            uint256 stimulusTWAP = IUniswapOracle(stimulusOracle).consult(wethAddress, 1 * 10 ** 18); // 1 ETH = X Stimulus, or X Stimulus / ETH

            // price is $Y / ETH
            (
                uint80 roundID, 
                int price,
                uint startedAt,
                uint timeStamp,
                uint80 answeredInRound
            ) = ethPrice.latestRoundData();

            require(timeStamp > 0, "Rounds not complete");

            return uint256(price).mul(10 ** stimulusDecimals).div(stimulusTWAP); // 10 ** 9 price
        }
    }

    // minimum amount of block time (seconds) required for an update in reserve ratio
    function setMinimumRefreshTime(uint256 val_)
        external
        ethLPGov
        returns (bool)
    {
        require(val_ != 0, "minimum refresh time must be valid");

        minimumRefreshTime = val_;

        // change collateral array
        for (uint i = 0; i < collateralArray.length; i++){ 
            if (acceptedCollateral[collateralArray[i]]) IUniswapOracle(collateralOracle[collateralArray[i]]).changeInterval(val_);
        }

        // stimulus and oneToken oracle update
        IUniswapOracle(oneTokenOracle).changeInterval(val_);
        if (!chainLink) IUniswapOracle(stimulusOracle).changeInterval(val_);

        // change all the oracles (collateral, stimulus, oneToken)

        emit NewMinimumRefreshTime(val_);
        return true;
    }

    // tokenSymbol: oneETH etc...
    // stimulus_: address of the stimulus (ETH, wBTC, wHBAR)...
    // stimulusDecimals_: decimals of stimulus (e.g. 18)
    // wethAddress_: address of WETH
    // ethOracleChainLink_: address of chainlink oracle for ETH / USD

    // don't forget to set oracle for stimulus later (ETH, wBTC etc probably can use Chainlink, others use Uniswap)
    // chain link stimulus:     setChainLinkStimulusOracle(address)
    // uniswap stimulus:        setStimulusUniswapOracle(address)  
    constructor(
        uint256 reserveRatio_,
        address stimulus_,
        uint256 stimulusDecimals_,
        address wethAddress_,
        address ethOracleChainLink_,
        uint256 minBlockFreeze_
    )
        public
    {   
        _setupDecimals(uint8(9));
        stimulus = stimulus_;
        minimumRefreshTime = 3600 * 1; // 1 hour by default
        stimulusDecimals = stimulusDecimals_;
        minBlockFreeze = block.number.add(minBlockFreeze_);
        reserveStepSize = 1 * 10 ** 8;  // 0.1% by default
        ethPrice = AggregatorV3Interface(ethOracleChainLink_);
        MIN_RESERVE_RATIO = 90 * 10 ** 9;
        wethAddress = wethAddress_;
        withdrawFee = 1 * 10 ** 8; // 0.1% fee at first, remains in collateral
        gov = msg.sender;
        lpGov = msg.sender;
        reserveRatio = reserveRatio_;
        _totalSupply = 10 ** 9;

        _oneBalances[msg.sender] = 10 ** 9;
        emit Transfer(address(0x0), msg.sender, 10 ** 9);
    }
    
    function setMinimumReserveRatio(uint256 val_)
        external
        ethLPGov
    {
        MIN_RESERVE_RATIO = val_;
    }

    // LP pool governance ====================================
    function setPendingLPGov(address pendingLPGov_)
        external
        ethLPGov
    {
        address oldPendingLPGov = pendingLPGov;
        pendingLPGov = pendingLPGov_;
        emit NewPendingLPGov(oldPendingLPGov, pendingLPGov_);
    }

    function acceptLPGov()
        external
    {
        require(msg.sender == pendingLPGov, "!pending");
        address oldLPGov = lpGov; // that
        lpGov = pendingLPGov;
        pendingLPGov = address(0);
        emit NewGov(oldLPGov, lpGov);
    }

    // over-arching protocol level governance  ===============
    function setPendingGov(address pendingGov_)
        external
        onlyIchiGov
    {
        address oldPendingGov = pendingGov;
        pendingGov = pendingGov_;
        emit NewPendingGov(oldPendingGov, pendingGov_);
    }

    function acceptGov()
        external
    {
        require(msg.sender == pendingGov, "!pending");
        address oldGov = gov;
        gov = pendingGov;
        pendingGov = address(0);
        emit NewGov(oldGov, gov);
    }
    // ======================================================

    // calculates how much you will need to send in order to mint oneETH, depending on current market prices + reserve ratio
    // oneAmount: the amount of oneETH you want to mint
    // collateral: the collateral you want to use to pay
    // also works in the reverse direction, i.e. how much collateral + stimulus to receive when you burn One
    function consultOneDeposit(uint256 oneAmount, address collateral)
        public
        view
        returns (uint256, uint256)
    {
        require(oneAmount != 0, "must use valid oneAmount");
        require(acceptedCollateral[collateral], "must be an accepted collateral");

        // convert to correct decimals for collateral
        uint256 collateralAmount = oneAmount.mul(reserveRatio).div(MAX_RESERVE_RATIO).mul(10 ** collateralDecimals[collateral]).div(10 ** DECIMALS);
        collateralAmount = collateralAmount.mul(10 ** 9).div(getCollateralUsd(collateral));

        if (address(oneTokenOracle) == address(0)) return (collateralAmount, 0);

        uint256 oneTokenUsd = getOneTokenUsd();             // 10 ** 9
        uint256 oneCollateralUsd = getStimulusOracle();     // 10 ** 9

        uint256 stimulusAmountInOneStablecoin = oneAmount.mul(MAX_RESERVE_RATIO.sub(reserveRatio)).div(MAX_RESERVE_RATIO);

        uint256 stimulusAmount = stimulusAmountInOneStablecoin.mul(oneTokenUsd).div(oneCollateralUsd).mul(10 ** stimulusDecimals).div(10 ** DECIMALS); // must be 10 ** stimulusDecimals

        return (collateralAmount, stimulusAmount);
    }

    function consultOneWithdraw(uint256 oneAmount, address collateral)
        public
        view
        returns (uint256, uint256)
    {
        require(oneAmount != 0, "must use valid oneAmount");
        require(acceptedCollateral[collateral], "must be an accepted collateral");

        uint256 collateralAmount = oneAmount.sub(oneAmount.mul(withdrawFee).div(100 * 10 ** DECIMALS)).mul(10 ** collateralDecimals[collateral]).div(10 ** DECIMALS);
        collateralAmount = collateralAmount.mul(10 ** 9).div(getCollateralUsd(collateral));

        return (collateralAmount, 0);
    }

    // @title: deposit collateral + stimulus token
    // collateral: address of the collateral to deposit (USDC, DAI, TUSD, etc)
    function mint(
        uint256 oneAmount,
        address collateral
    )
        public
        payable
        validRecipient(msg.sender)
        nonReentrant
    {
        require(acceptedCollateral[collateral], "must be an accepted collateral");

        // wait 3 blocks to avoid flash loans
        require((_lastCall[msg.sender] + 30) <= block.timestamp, "action too soon - please wait a few more blocks");

        // validate input amounts are correct
        (uint256 collateralAmount, uint256 stimulusAmount) = consultOneDeposit(oneAmount, collateral);
        require(collateralAmount <= IERC20(collateral).balanceOf(msg.sender), "sender has insufficient collateral balance");

        // auto convert ETH to WETH if needed
        bool convertedWeth = false;
        if (stimulus == wethAddress && IERC20(stimulus).balanceOf(msg.sender) < stimulusAmount) {
            // enough ETH
            if (address(msg.sender).balance >= stimulusAmount) {
                IWETH(wethAddress).deposit{value: stimulusAmount}();
                assert(IWETH(wethAddress).transfer(address(this), stimulusAmount));
                if (msg.value > stimulusAmount) safeTransferETH(msg.sender, msg.value - stimulusAmount);
                convertedWeth = true;
            } else {
                require(stimulusAmount <= IERC20(stimulus).balanceOf(msg.sender), "sender has insufficient stimulus balance");
            }
        }

        // checks passed, so transfer tokens
        SafeERC20.safeTransferFrom(IERC20(collateral), msg.sender, address(this), collateralAmount);

        if (!convertedWeth) SafeERC20.safeTransferFrom(IERC20(stimulus), msg.sender, address(this), stimulusAmount);

        // apply mint fee
        oneAmount = oneAmount.sub(oneAmount.mul(mintFee).div(100 * 10 ** DECIMALS));

        _totalSupply = _totalSupply.add(oneAmount);
        _oneBalances[msg.sender] = _oneBalances[msg.sender].add(oneAmount);

        _lastCall[msg.sender] = block.timestamp;

        emit Transfer(address(0x0), msg.sender, oneAmount);
        emit Mint(stimulus, msg.sender, collateral, collateralAmount, stimulusAmount, oneAmount);
    }

    // fee_ should be 10 ** 9 decimals (e.g. 10% = 10 * 10 ** 9)
    function editMintFee(uint256 fee_)
        external
        onlyIchiGov
    {
        mintFee = fee_;
        emit MintFee(fee_);
    }

    // fee_ should be 10 ** 9 decimals (e.g. 10% = 10 * 10 ** 9)
    function editWithdrawFee(uint256 fee_)
        external
        onlyIchiGov
    {
        withdrawFee = fee_;
        emit WithdrawFee(fee_);
    }

    // @title: burn oneETH and receive collateral + stimulus token
    // oneAmount: amount of oneToken to burn to withdraw
    function withdraw(
        uint256 oneAmount,
        address collateral
    )
        public
        validRecipient(msg.sender)
        nonReentrant
        updateProtocol()
    {
        require(oneAmount <= _oneBalances[msg.sender], "insufficient balance");
        require((_lastCall[msg.sender] + 30) <= block.timestamp, "action too soon - please wait 3 blocks");

        // burn oneAmount
        _totalSupply = _totalSupply.sub(oneAmount);
        _oneBalances[msg.sender] = _oneBalances[msg.sender].sub(oneAmount);

        // send collateral - fee (convert to collateral decimals too)
        uint256 collateralAmount = oneAmount.sub(oneAmount.mul(withdrawFee).div(100 * 10 ** DECIMALS)).mul(10 ** collateralDecimals[collateral]).div(10 ** DECIMALS);
        collateralAmount = collateralAmount.mul(10 ** 9).div(getCollateralUsd(collateral));

        uint256 stimulusAmount = 0;

        // check enough reserves - don't want to burn one coin if we cannot fulfill withdrawal
        require(collateralAmount <= IERC20(collateral).balanceOf(address(this)), "insufficient collateral reserves - try another collateral");

        SafeERC20.safeTransfer(IERC20(collateral), msg.sender, collateralAmount);

        _lastCall[msg.sender] = block.timestamp;

        emit Transfer(msg.sender, address(0x0), oneAmount);
        emit Withdraw(stimulus, msg.sender, collateral, collateralAmount, stimulusAmount, oneAmount);
    }

    // change reserveRatio
    // market driven -> decide the ratio automatically
    // if one coin >= $1, we lower reserve rate by half a percent
    // if one coin < $1, we increase reserve rate
    function setReserveRatio(uint256 newRatio_)
        internal
    {
        require(newRatio_ >= 0, "positive reserve ratio");

        if (newRatio_ <= MAX_RESERVE_RATIO && newRatio_ >= MIN_RESERVE_RATIO) {
            reserveRatio = newRatio_;
            emit NewReserveRate(reserveRatio);
        }
    }

    function safeTransferETH(address to, uint value) internal {
        (bool success,) = to.call{value:value}(new bytes(0));
        require(success, 'ETH_TRANSFER_FAILED');
    }

    /// @notice Move stimulus - multisig only
    function moveStimulus(
        address location,
        uint256 amount
    )
        public
        ethLPGov
    {
        require(block.number > minBlockFreeze, "minBlockFreeze time limit not met yet - try again later");
        SafeERC20.safeTransfer(IERC20(stimulus), location, amount);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"reserveRatio_","type":"uint256"},{"internalType":"address","name":"stimulus_","type":"address"},{"internalType":"uint256","name":"stimulusDecimals_","type":"uint256"},{"internalType":"address","name":"wethAddress_","type":"address"},{"internalType":"address","name":"ethOracleChainLink_","type":"address"},{"internalType":"uint256","name":"minBlockFreeze_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"stimulus","type":"address"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"address","name":"collateral","type":"address"},{"indexed":false,"internalType":"uint256","name":"collateralAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"stimulusAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oneAmount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"fee_","type":"uint256"}],"name":"MintFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldGov","type":"address"},{"indexed":false,"internalType":"address","name":"newGov","type":"address"}],"name":"NewGov","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldLPGov","type":"address"},{"indexed":false,"internalType":"address","name":"newLPGov","type":"address"}],"name":"NewLPGov","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minimumRefreshTime","type":"uint256"}],"name":"NewMinimumRefreshTime","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldPendingGov","type":"address"},{"indexed":false,"internalType":"address","name":"newPendingGov","type":"address"}],"name":"NewPendingGov","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldPendingLPGov","type":"address"},{"indexed":false,"internalType":"address","name":"newPendingLPGov","type":"address"}],"name":"NewPendingLPGov","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reserveRatio","type":"uint256"}],"name":"NewReserveRate","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"stimulus","type":"address"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"address","name":"collateral","type":"address"},{"indexed":false,"internalType":"uint256","name":"collateralAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"stimulusAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oneAmount","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"fee_","type":"uint256"}],"name":"WithdrawFee","type":"event"},{"inputs":[],"name":"MAX_RESERVE_RATIO","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_RESERVE_RATIO","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"acceptLPGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"acceptedCollateral","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"collateral_","type":"address"},{"internalType":"uint256","name":"collateralDecimal_","type":"uint256"},{"internalType":"address","name":"oracleAddress_","type":"address"}],"name":"addCollateral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chainLink","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"collateralArray","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"collateralDecimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"collateralOracle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"oneAmount","type":"uint256"},{"internalType":"address","name":"collateral","type":"address"}],"name":"consultOneDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"oneAmount","type":"uint256"},{"internalType":"address","name":"collateral","type":"address"}],"name":"consultOneWithdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee_","type":"uint256"}],"name":"editMintFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee_","type":"uint256"}],"name":"editWithdrawFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"collateral_","type":"address"}],"name":"getCollateralUsd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOneTokenUsd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStimulusOracle","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"globalCollateralValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastRefreshReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpGov","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minBlockFreeze","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumRefreshTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"oneAmount","type":"uint256"},{"internalType":"address","name":"collateral","type":"address"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"location","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"moveStimulus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oneTokenOracle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingGov","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingLPGov","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"previouslySeenCollateral","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"collateral_","type":"address"}],"name":"removeCollateral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reserveStepSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"oracle_","type":"address"}],"name":"setChainLinkStimulusOracle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"collateral_","type":"address"},{"internalType":"address","name":"oracleAddress_","type":"address"}],"name":"setCollateralOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val_","type":"uint256"}],"name":"setMinimumRefreshTime","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val_","type":"uint256"}],"name":"setMinimumReserveRatio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"oracle_","type":"address"}],"name":"setOneOracle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pendingGov_","type":"address"}],"name":"setPendingGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pendingLPGov_","type":"address"}],"name":"setPendingLPGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stepSize_","type":"uint256"}],"name":"setReserveStepSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"oracle_","type":"address"}],"name":"setStimulusUniswapOracle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stimulus","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stimulusDecimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stimulusOracle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wethAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"oneAmount","type":"uint256"},{"internalType":"address","name":"collateral","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200488738038062004887833981810160405260c08110156200003757600080fd5b5080516020808301516040808501516060860151608087015160a090970151835180850185526006808252650dedcca8aa8960d31b828901818152875180890190985291875297860197909752805197989597939692959491939092620000a29160039190620002bc565b508051620000b8906004906020840190620002bc565b50506005805460ff19166012179055506000620000d462000240565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060016006556200013b600962000244565b600980546001600160a01b0319166001600160a01b038716179055610e10600855600a8490556200017943826200025a602090811b62003c8517901c565b60209081556305f5e1006017819055600c80546001600160a01b038087166001600160a01b0319928316179092556414f46b0400600f556014805492881692821692909217909155601f91909155601580548216339081179091556021805490921681179091556018889055633b9aca0060108190556000828152601184526040808220839055805192835251929390927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350505050505062000358565b3390565b6005805460ff191660ff92909216919091179055565b600082820183811015620002b5576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002ff57805160ff19168380011785556200032f565b828001600101855582156200032f579182015b828111156200032f57825182559160200191906001019062000312565b506200033d92915062000341565b5090565b5b808211156200033d576000815560010162000342565b61451f80620003686000396000f3fe6080604052600436106103ac5760003560e01c806384233707116101e7578063ca7f171a1161010d578063e941fa78116100a0578063f1ae3c7f1161006f578063f1ae3c7f14610ce4578063f2fde38b14610d17578063f6cad25514610d4a578063fdec254f14610d7d576103ac565b8063e941fa7814610c3f578063eb7afed014610c54578063efdf0bb014610c7e578063f196d01814610cb1576103ac565b8063dd62ed3e116100dc578063dd62ed3e14610b74578063e2b11a6414610baf578063e56df6c614610be2578063e9144e7314610c0c576103ac565b8063ca7f171a14610aed578063d2d97b0614610b17578063d494d58614610b2c578063da2b9bfa14610b5f576103ac565b806399b16efd11610185578063b37c551511610154578063b37c551514610a14578063c072ea4314610a57578063c522e74f14610a90578063c99d3a0614610aba576103ac565b806399b16efd146109785780639bf745191461098d578063a457c2d7146109a2578063a9059cbb146109db576103ac565b80638fe605ad116101c15780638fe605ad1461090d57806393fab9ee1461092257806394bf804d1461093757806395d89b4114610963576103ac565b806384233707146108b057806389a604eb146108e35780638da5cb5b146108f8576103ac565b806324552f33116102d7578063545886371161026a57806377be2f141161023957806377be2f141461081a5780637bc6729b1461084d5780637c365e1b146108625780637dbe5f101461089b576103ac565b8063545886371461079357806370a08231146107a8578063715018a6146107db57806375e8ef5c146107f0576103ac565b806339509351116102a6578063395093511461071b578063491547f5146107545780634d7efed7146107695780634f0e0ef31461077e576103ac565b806324552f33146106b157806325240810146106c65780632e3d4807146106db578063313ce567146106f0576103ac565b806312d43a511161034f57806318160ddd1161031e57806318160ddd146105d45780631cf3cf31146105e957806323b872dd1461063b57806323e6f5e21461067e576103ac565b806312d43a511461055a57806313966db51461056f5780631432e8101461058457806317d33845146105bf576103ac565b80630acac95e1161038b5780630acac95e146104c35780630c7d5cd8146104ed5780630ed2dff0146105145780631190016c14610545576103ac565b8062f714ce146103b157806306fdde03146103ec578063095ea7b314610476575b600080fd5b3480156103bd57600080fd5b506103ea600480360360408110156103d457600080fd5b50803590602001356001600160a01b0316610d92565b005b3480156103f857600080fd5b5061040161130b565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561043b578181015183820152602001610423565b50505050905090810190601f1680156104685780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561048257600080fd5b506104af6004803603604081101561049957600080fd5b506001600160a01b0381351690602001356113a2565b604080519115158252519081900360200190f35b3480156104cf57600080fd5b506104af600480360360208110156104e657600080fd5b5035611663565b3480156104f957600080fd5b506105026118f0565b60408051918252519081900360200190f35b34801561052057600080fd5b506105296118f6565b604080516001600160a01b039092168252519081900360200190f35b34801561055157600080fd5b50610502611905565b34801561056657600080fd5b5061052961190e565b34801561057b57600080fd5b5061050261191d565b34801561059057600080fd5b506103ea600480360360408110156105a757600080fd5b506001600160a01b0381358116916020013516611923565b3480156105cb57600080fd5b50610502611a00565b3480156105e057600080fd5b50610502611a06565b3480156105f557600080fd5b506106226004803603604081101561060c57600080fd5b50803590602001356001600160a01b0316611a0c565b6040805192835260208301919091528051918290030190f35b34801561064757600080fd5b506104af6004803603606081101561065e57600080fd5b506001600160a01b03813581169160208101359091169060400135611b33565b34801561068a57600080fd5b506104af600480360360208110156106a157600080fd5b50356001600160a01b0316611e74565b3480156106bd57600080fd5b50610502611efc565b3480156106d257600080fd5b50610529611f02565b3480156106e757600080fd5b50610502611f11565b3480156106fc57600080fd5b506107056121c8565b6040805160ff9092168252519081900360200190f35b34801561072757600080fd5b506104af6004803603604081101561073e57600080fd5b506001600160a01b0381351690602001356121d1565b34801561076057600080fd5b50610502612265565b34801561077557600080fd5b5061052961226b565b34801561078a57600080fd5b5061052961227a565b34801561079f57600080fd5b50610529612289565b3480156107b457600080fd5b50610502600480360360208110156107cb57600080fd5b50356001600160a01b0316612298565b3480156107e757600080fd5b506103ea6122b3565b3480156107fc57600080fd5b506103ea6004803603602081101561081357600080fd5b5035612372565b34801561082657600080fd5b506104af6004803603602081101561083d57600080fd5b50356001600160a01b03166123c4565b34801561085957600080fd5b506103ea612439565b34801561086e57600080fd5b506103ea6004803603604081101561088557600080fd5b506001600160a01b0381351690602001356124f1565b3480156108a757600080fd5b506104af612599565b3480156108bc57600080fd5b506104af600480360360208110156108d357600080fd5b50356001600160a01b03166125a9565b3480156108ef57600080fd5b50610502612626565b34801561090457600080fd5b5061052961262c565b34801561091957600080fd5b50610502612640565b34801561092e57600080fd5b506105026126f5565b6103ea6004803603604081101561094d57600080fd5b50803590602001356001600160a01b03166126fb565b34801561096f57600080fd5b50610401612c8d565b34801561098457600080fd5b50610529612cee565b34801561099957600080fd5b506103ea612cfd565b3480156109ae57600080fd5b506104af600480360360408110156109c557600080fd5b506001600160a01b038135169060200135612db5565b3480156109e757600080fd5b506104af600480360360408110156109fe57600080fd5b506001600160a01b038135169060200135612e9e565b348015610a2057600080fd5b506103ea60048036036060811015610a3757600080fd5b506001600160a01b0381358116916020810135916040909101351661318a565b348015610a6357600080fd5b5061062260048036036040811015610a7a57600080fd5b50803590602001356001600160a01b03166132a7565b348015610a9c57600080fd5b5061052960048036036020811015610ab357600080fd5b5035613455565b348015610ac657600080fd5b506103ea60048036036020811015610add57600080fd5b50356001600160a01b031661347c565b348015610af957600080fd5b506103ea60048036036020811015610b1057600080fd5b50356134ea565b348015610b2357600080fd5b50610502613584565b348015610b3857600080fd5b5061050260048036036020811015610b4f57600080fd5b50356001600160a01b03166136f9565b348015610b6b57600080fd5b5061052961386f565b348015610b8057600080fd5b5061050260048036036040811015610b9757600080fd5b506001600160a01b038135811691602001351661387e565b348015610bbb57600080fd5b506104af60048036036020811015610bd257600080fd5b50356001600160a01b03166138a9565b348015610bee57600080fd5b506103ea60048036036020811015610c0557600080fd5b50356138be565b348015610c1857600080fd5b5061052960048036036020811015610c2f57600080fd5b50356001600160a01b0316613958565b348015610c4b57600080fd5b50610502613973565b348015610c6057600080fd5b506103ea60048036036020811015610c7757600080fd5b5035613979565b348015610c8a57600080fd5b506103ea60048036036020811015610ca157600080fd5b50356001600160a01b03166139cb565b348015610cbd57600080fd5b506103ea60048036036020811015610cd457600080fd5b50356001600160a01b0316613a8d565b348015610cf057600080fd5b5061050260048036036020811015610d0757600080fd5b50356001600160a01b0316613b3d565b348015610d2357600080fd5b506103ea60048036036020811015610d3a57600080fd5b50356001600160a01b0316613b4f565b348015610d5657600080fd5b506104af60048036036020811015610d6d57600080fd5b50356001600160a01b0316613c6a565b348015610d8957600080fd5b50610502613c7f565b3380610d9d57600080fd5b6001600160a01b038116301415610db357600080fd5b60026006541415610e0b576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600655600d546001600160a01b03161561104257600e54600160a01b900460ff16610e9b57600e60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610e8257600080fd5b505af1158015610e96573d6000803e3d6000fd5b505050505b600d60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610eeb57600080fd5b505af1158015610eff573d6000803e3d6000fd5b5050505060005b601a54811015610fde5760196000601a8381548110610f2157fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff1615610fd657601d6000601a8381548110610f5f57fe5b60009182526020808320909101546001600160a01b039081168452908301939093526040918201812054825163a2e6204560e01b8152925193169263a2e6204592600480820193929182900301818387803b158015610fbd57600080fd5b505af1158015610fd1573d6000803e3d6000fd5b505050505b600101610f06565b5060085460075442031061104257633b9aca00610ff9612640565b11156110235761101e611019601754601854613ce690919063ffffffff16565b613d28565b61103d565b61103d611019601754601854613c8590919063ffffffff16565b426007555b3360009081526011602052604090205483111561109d576040805162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b604482015290519081900360640190fd5b3360009081526012602052604090205442601e90910111156110f05760405162461bcd60e51b815260040180806020018281038252602681526020018061449a6026913960400191505060405180910390fd5b6010546110fd9084613ce6565b6010553360009081526011602052604090205461111a9084613ce6565b336000908152601160209081526040808320939093556001600160a01b0385168252601b905290812054601f5461118491633b9aca009161117191600a0a9061117e906111779064174876e8009085908c90613d80565b90613dd9565b8990613ce6565b90613d80565b90506111a0611192846136f9565b61117183633b9aca00613d80565b90506000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156111f157600080fd5b505afa158015611205573d6000803e3d6000fd5b505050506040513d602081101561121b57600080fd5b505182111561125b5760405162461bcd60e51b81526004018080602001828103825260398152602001806143266039913960400191505060405180910390fd5b611266843384613e1b565b33600081815260126020908152604080832042905580518981529051929392600080516020614421833981519152929181900390910190a3600954604080516001600160a01b03928316815233602082015291861682820152606082018490526080820183905260a08201879052517fbbbdee62287b5bf3bee13cab60a29ad729cf38109bccbd2a986a11c99b8ca7049181900360c00190a150506001600655505050565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156113975780601f1061136c57610100808354040283529160200191611397565b820191906000526020600020905b81548152906001019060200180831161137a57829003601f168201915b505050505090505b90565b6000826001600160a01b0381166113b857600080fd5b6001600160a01b0381163014156113ce57600080fd5b600d546001600160a01b0316156115fb57600e54600160a01b900460ff1661145957600e60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561144057600080fd5b505af1158015611454573d6000803e3d6000fd5b505050505b600d60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156114a957600080fd5b505af11580156114bd573d6000803e3d6000fd5b5050505060005b601a5481101561159c5760196000601a83815481106114df57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff161561159457601d6000601a838154811061151d57fe5b60009182526020808320909101546001600160a01b039081168452908301939093526040918201812054825163a2e6204560e01b8152925193169263a2e6204592600480820193929182900301818387803b15801561157b57600080fd5b505af115801561158f573d6000803e3d6000fd5b505050505b6001016114c4565b506008546007544203106115fb57633b9aca006115b7612640565b11156115dc576115d7611019601754601854613ce690919063ffffffff16565b6115f6565b6115f6611019601754601854613c8590919063ffffffff16565b426007555b3360008181526013602090815260408083206001600160a01b03891680855290835292819020879055805187815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6021546000906001600160a01b031633146116b3576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b816116ef5760405162461bcd60e51b81526004018080602001828103825260228152602001806143876022913960400191505060405180910390fd5b600882905560005b601a548110156117d65760196000601a838154811061171257fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff16156117ce57601d6000601a838154811061175057fe5b60009182526020808320909101546001600160a01b03908116845290830193909352604091820181205482516363c7560760e01b81526004810188905292519316926363c7560792602480820193929182900301818387803b1580156117b557600080fd5b505af11580156117c9573d6000803e3d6000fd5b505050505b6001016116f7565b50600d54604080516363c7560760e01b81526004810185905290516001600160a01b03909216916363c756079160248082019260009290919082900301818387803b15801561182457600080fd5b505af1158015611838573d6000803e3d6000fd5b5050600e54600160a01b900460ff1691506118b5905057600e54604080516363c7560760e01b81526004810185905290516001600160a01b03909216916363c756079160248082019260009290919082900301818387803b15801561189c57600080fd5b505af11580156118b0573d6000803e3d6000fd5b505050505b6040805183815290517ff96993476642ad4471e701dee382f1d8b7947acb089dba94a2f49e477e85c8799181900360200190a1506001919050565b60185481565b600e546001600160a01b031681565b64174876e80081565b6015546001600160a01b031681565b601e5481565b6021546001600160a01b03163314611970576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526019602052604090205460ff166119d2576040805162461bcd60e51b81526020600482015260126024820152711a5b9d985b1a590818dbdb1b185d195c985b60721b604482015290519081900360640190fd5b6001600160a01b039182166000908152601d6020526040902080546001600160a01b03191691909216179055565b600a5481565b60105490565b60008083611a5c576040805162461bcd60e51b81526020600482015260186024820152771b5d5cdd081d5cd9481d985b1a59081bdb99505b5bdd5b9d60421b604482015290519081900360640190fd5b6001600160a01b03831660009081526019602052604090205460ff16611ac9576040805162461bcd60e51b815260206004820152601e60248201527f6d75737420626520616e20616363657074656420636f6c6c61746572616c0000604482015290519081900360640190fd5b6001600160a01b0383166000908152601b6020526040812054601f54611b1691633b9aca009161117191600a0a9061117e90611b0f9064174876e8009085908d90613d80565b8a90613ce6565b9050611b24611192856136f9565b925060009150505b9250929050565b6000826001600160a01b038116611b4957600080fd5b6001600160a01b038116301415611b5f57600080fd5b600d546001600160a01b031615611d8c57600e54600160a01b900460ff16611bea57600e60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611bd157600080fd5b505af1158015611be5573d6000803e3d6000fd5b505050505b600d60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611c3a57600080fd5b505af1158015611c4e573d6000803e3d6000fd5b5050505060005b601a54811015611d2d5760196000601a8381548110611c7057fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff1615611d2557601d6000601a8381548110611cae57fe5b60009182526020808320909101546001600160a01b039081168452908301939093526040918201812054825163a2e6204560e01b8152925193169263a2e6204592600480820193929182900301818387803b158015611d0c57600080fd5b505af1158015611d20573d6000803e3d6000fd5b505050505b600101611c55565b50600854600754420310611d8c57633b9aca00611d48612640565b1115611d6d57611d68611019601754601854613ce690919063ffffffff16565b611d87565b611d87611019601754601854613c8590919063ffffffff16565b426007555b6001600160a01b0385166000908152601360209081526040808320338452909152902054611dba9084613ce6565b6001600160a01b038616600081815260136020908152604080832033845282528083209490945591815260119091522054611df59084613ce6565b6001600160a01b038087166000908152601160205260408082209390935590861681522054611e249084613c85565b6001600160a01b03808616600081815260116020908152604091829020949094558051878152905191939289169260008051602061442183398151915292918290030190a3506001949350505050565b6021546000906001600160a01b03163314611ec4576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b50600b80546001600160a01b0383166001600160a01b0319909116179055600e805460ff60a01b1916600160a01b1790556001919050565b600f5481565b6016546001600160a01b031681565b600e54600090600160a01b900460ff161561202a576000806000806000600b60009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015611f7c57600080fd5b505afa158015611f90573d6000803e3d6000fd5b505050506040513d60a0811015611fa657600080fd5b5080516020820151604083015160608401516080909401519298509096509450909250905081612013576040805162461bcd60e51b8152602060048201526013602482015272526f756e6473206e6f7420636f6d706c65746560681b604482015290519081900360640190fd5b61201e84600a613d80565b9550505050505061139f565b600e5460145460408051633ddac95360e01b81526001600160a01b039283166004820152670de0b6b3a7640000602482015290516000939290921691633ddac95391604480820192602092909190829003018186803b15801561208c57600080fd5b505afa1580156120a0573d6000803e3d6000fd5b505050506040513d60208110156120b657600080fd5b5051600c5460408051633fabe5a360e21b8152905192935060009283928392839283926001600160a01b03169163feaf968c9160048083019260a0929190829003018186803b15801561210857600080fd5b505afa15801561211c573d6000803e3d6000fd5b505050506040513d60a081101561213257600080fd5b508051602082015160408301516060840151608090940151929850909650945090925090508161219f576040805162461bcd60e51b8152602060048201526013602482015272526f756e6473206e6f7420636f6d706c65746560681b604482015290519081900360640190fd5b6121bb86611171600a54600a0a87613d8090919063ffffffff16565b965050505050505061139f565b60055460ff1690565b3360009081526013602090815260408083206001600160a01b03861684529091528120546121ff9083613c85565b3360008181526013602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a35060015b92915050565b60205481565b6022546001600160a01b031681565b6014546001600160a01b031681565b600d546001600160a01b031681565b6001600160a01b031660009081526011602052604090205490565b6122bb613e72565b60055461010090046001600160a01b03908116911614612322576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6021546001600160a01b031633146123bf576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b600f55565b6021546000906001600160a01b03163314612414576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b50600d80546001600160a01b0383166001600160a01b03199091161790556001919050565b6016546001600160a01b03163314612483576040805162461bcd60e51b81526020600482015260086024820152672170656e64696e6760c01b604482015290519081900360640190fd5b60158054601680546001600160a01b03198084166001600160a01b03838116919091179586905591169091556040805192821680845293909116602083015280517f1f14cfc03e486d23acee577b07bc0b3b23f4888c91fcdba5e0fef5a2549d55239281900390910190a150565b6021546001600160a01b0316331461253e576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b602054431161257e5760405162461bcd60e51b81526004018080602001828103825260378152602001806143ea6037913960400191505060405180910390fd5b600954612595906001600160a01b03168383613e1b565b5050565b600e54600160a01b900460ff1681565b6021546000906001600160a01b031633146125f9576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b50600e80546001600160a01b0319166001600160a01b03929092169190911760ff60a01b19169055600190565b60175481565b60055461010090046001600160a01b031690565b600d54600954600a805460408051633ddac95360e01b81526001600160a01b0394851660048201529190920a6024820152905160009384931691633ddac953916044808301926020929190829003018186803b15801561269f57600080fd5b505afa1580156126b3573d6000803e3d6000fd5b505050506040513d60208110156126c957600080fd5b5051905060006126d7611f11565b905060006126ed8361117184633b9aca00613d80565b935050505090565b60075481565b338061270657600080fd5b6001600160a01b03811630141561271c57600080fd5b60026006541415612774576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026006556001600160a01b03821660009081526019602052604090205460ff166127e6576040805162461bcd60e51b815260206004820152601e60248201527f6d75737420626520616e20616363657074656420636f6c6c61746572616c0000604482015290519081900360640190fd5b3360009081526012602052604090205442601e90910111156128395760405162461bcd60e51b815260040180806020018281038252602f815260200180614441602f913960400191505060405180910390fd5b60008061284685856132a7565b91509150836001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561289757600080fd5b505afa1580156128ab573d6000803e3d6000fd5b505050506040513d60208110156128c157600080fd5b50518211156129015760405162461bcd60e51b815260040180806020018281038252602a815260200180614470602a913960400191505060405180910390fd5b6014546009546000916001600160a01b0391821691161480156129975750600954604080516370a0823160e01b8152336004820152905184926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561296957600080fd5b505afa15801561297d573d6000803e3d6000fd5b505050506040513d602081101561299357600080fd5b5051105b15612b625733318211612aad57601460009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b1580156129f457600080fd5b505af1158015612a08573d6000803e3d6000fd5b50506014546040805163a9059cbb60e01b81523060048201526024810188905290516001600160a01b03909216945063a9059cbb935060448082019350602092918290030181600087803b158015612a5f57600080fd5b505af1158015612a73573d6000803e3d6000fd5b505050506040513d6020811015612a8957600080fd5b5051612a9157fe5b81341115612aa557612aa533833403613e76565b506001612b62565b600954604080516370a0823160e01b815233600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015612af857600080fd5b505afa158015612b0c573d6000803e3d6000fd5b505050506040513d6020811015612b2257600080fd5b5051821115612b625760405162461bcd60e51b815260040180806020018281038252602881526020018061435f6028913960400191505060405180910390fd5b612b6e85333086613f75565b80612b8b57600954612b8b906001600160a01b0316333085613f75565b601e54612baf90612ba89064174876e80090611171908a90613d80565b8790613ce6565b601054909650612bbf9087613c85565b60105533600090815260116020526040902054612bdc9087613c85565b336000818152601160209081526040808320949094556012815283822042905583518a81529351929391926000805160206144218339815191529281900390910190a3600954604080516001600160a01b03928316815233602082015291871682820152606082018590526080820184905260a08201889052517feca801b067fae3d181506c21fb55d44a644d16cdb863595643131a7e105b5f019181900360c00190a15050600160065550505050565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156113975780601f1061136c57610100808354040283529160200191611397565b6009546001600160a01b031681565b6022546001600160a01b03163314612d47576040805162461bcd60e51b81526020600482015260086024820152672170656e64696e6760c01b604482015290519081900360640190fd5b60218054602280546001600160a01b03198084166001600160a01b03838116919091179586905591169091556040805192821680845293909116602083015280517f1f14cfc03e486d23acee577b07bc0b3b23f4888c91fcdba5e0fef5a2549d55239281900390910190a150565b3360009081526013602090815260408083206001600160a01b0386168452909152812054808310612e09573360009081526013602090815260408083206001600160a01b0388168452909152812055612e38565b612e138184613ce6565b3360009081526013602090815260408083206001600160a01b03891684529091529020555b3360008181526013602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b038116612eb457600080fd5b6001600160a01b038116301415612eca57600080fd5b600d546001600160a01b0316156130f757600e54600160a01b900460ff16612f5557600e60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015612f3c57600080fd5b505af1158015612f50573d6000803e3d6000fd5b505050505b600d60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015612fa557600080fd5b505af1158015612fb9573d6000803e3d6000fd5b5050505060005b601a548110156130985760196000601a8381548110612fdb57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff161561309057601d6000601a838154811061301957fe5b60009182526020808320909101546001600160a01b039081168452908301939093526040918201812054825163a2e6204560e01b8152925193169263a2e6204592600480820193929182900301818387803b15801561307757600080fd5b505af115801561308b573d6000803e3d6000fd5b505050505b600101612fc0565b506008546007544203106130f757633b9aca006130b3612640565b11156130d8576130d3611019601754601854613ce690919063ffffffff16565b6130f2565b6130f2611019601754601854613c8590919063ffffffff16565b426007555b336000908152601160205260409020546131119084613ce6565b33600090815260116020526040808220929092556001600160a01b0386168152205461313d9084613c85565b6001600160a01b0385166000818152601160209081526040918290209390935580518681529051919233926000805160206144218339815191529281900390910190a35060019392505050565b6021546001600160a01b031633146131d7576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b6001600160a01b0383166000908152601c602052604090205460ff1661324357601a80546001810182556000919091527f057c384a7d1c54f3a1b2e5e67b2617b8224fdfd1ea7234eea573a6ff665ff63e0180546001600160a01b0319166001600160a01b0385161790555b6001600160a01b039283166000908152601c602090815260408083208054600160ff1991821681179092556019845282852080549091169091179055601b825280832094909455601d90529190912080546001600160a01b03191691909216179055565b600080836132f7576040805162461bcd60e51b81526020600482015260186024820152771b5d5cdd081d5cd9481d985b1a59081bdb99505b5bdd5b9d60421b604482015290519081900360640190fd5b6001600160a01b03831660009081526019602052604090205460ff16613364576040805162461bcd60e51b815260206004820152601e60248201527f6d75737420626520616e20616363657074656420636f6c6c61746572616c0000604482015290519081900360640190fd5b6001600160a01b0383166000908152601b60205260408120546018546133a691633b9aca009161117191600a0a9061117e9064174876e8009084908c90613d80565b90506133b4611192856136f9565b600d549091506001600160a01b03166133d257915060009050611b2c565b60006133dc612640565b905060006133e8611f11565b9050600061341964174876e80061117161341260185464174876e800613ce690919063ffffffff16565b8b90613d80565b905060006134456009600a0a611171600a54600a0a61117e876111718a89613d8090919063ffffffff16565b9499949850939650505050505050565b601a818154811061346257fe5b6000918252602090912001546001600160a01b0316905081565b6021546001600160a01b031633146134c9576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152601960205260409020805460ff19169055565b6015546001600160a01b03163314613549576040805162461bcd60e51b815260206004820152601c60248201527f4143434553533a206f6e6c79204963686920676f7665726e616e636500000000604482015290519081900360640190fd5b601f8190556040805182815290517fa01cb43de193eb3a80b373fb949c09d0eedb01f39f3b6063ace0cb6b067cc1239181900360200190a150565b600080805b601a548110156136f35760006001600160a01b0316601a82815481106135ab57fe5b6000918252602090912001546001600160a01b0316146136eb576136e6633b9aca006111716135fa601a85815481106135e057fe5b6000918252602090912001546001600160a01b03166136f9565b61117e601b6000601a888154811061360e57fe5b9060005260206000200160009054906101000a90046001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002054600a0a611171633b9aca00601a898154811061366557fe5b60009182526020918290200154604080516370a0823160e01b815230600482015290516001600160a01b03909216926370a0823192602480840193829003018186803b1580156136b457600080fd5b505afa1580156136c8573d6000803e3d6000fd5b505050506040513d60208110156136de57600080fd5b505190613d80565b820191505b600101613589565b50905090565b6000806000600c60009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561374c57600080fd5b505afa158015613760573d6000803e3d6000fd5b505050506040513d60a081101561377657600080fd5b5060208101516060909101519092509050806137cf576040805162461bcd60e51b8152602060048201526013602482015272526f756e6473206e6f7420636f6d706c65746560681b604482015290519081900360640190fd5b6001600160a01b038085166000908152601b6020908152604080832054601d835292819020546014548251633ddac95360e01b81529086166004820152670de0b6b3a7640000602482015291516138679561385895600a0a9461117194633b9aca009490921692633ddac953926044808201939291829003018186803b1580156136b457600080fd5b611171846402540be400613d80565b949350505050565b6021546001600160a01b031681565b6001600160a01b03918216600090815260136020908152604080832093909416825291909152205490565b601c6020526000908152604090205460ff1681565b6015546001600160a01b0316331461391d576040805162461bcd60e51b815260206004820152601c60248201527f4143434553533a206f6e6c79204963686920676f7665726e616e636500000000604482015290519081900360640190fd5b601e8190556040805182815290517f6f87524b705f31734b7940b88671f37a3291d7b961b69da31bcabf882b2531da9181900360200190a150565b601d602052600090815260409020546001600160a01b031681565b601f5481565b6021546001600160a01b031633146139c6576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b601755565b6015546001600160a01b03163314613a2a576040805162461bcd60e51b815260206004820152601c60248201527f4143434553533a206f6e6c79204963686920676f7665726e616e636500000000604482015290519081900360640190fd5b601680546001600160a01b038381166001600160a01b0319831681179093556040805191909216808252602082019390935281517f6163d5b9efd962645dd649e6e48a61bcb0f9df00997a2398b80d135a9ab0c61e929181900390910190a15050565b6021546001600160a01b03163314613ada576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b602280546001600160a01b038381166001600160a01b0319831681179093556040805191909216808252602082019390935281517f6ea9654b538fab06e45f7940f0aa88b14cb8aca48a29d4e0b7626009fb7dc514929181900390910190a15050565b601b6020526000908152604090205481565b613b57613e72565b60055461010090046001600160a01b03908116911614613bbe576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116613c035760405162461bcd60e51b81526004018080602001828103825260268152602001806143006026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60196020526000908152604090205460ff1681565b60085481565b600082820183811015613cdf576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000613cdf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613fd5565b64174876e8008111158015613d3f5750600f548110155b15613d7d5760188190556040805182815290517f2fbb30255fd6bab4bd8c21173ab8290d05fcef04343b7d0190495d90e6866c569181900360200190a15b50565b600082613d8f5750600061225f565b82820282848281613d9c57fe5b0414613cdf5760405162461bcd60e51b81526004018080602001828103825260218152602001806143c96021913960400191505060405180910390fd5b6000613cdf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061406c565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052613e6d9084906140d1565b505050565b3390565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b60208310613ec25780518252601f199092019160209182019101613ea3565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613f24576040519150601f19603f3d011682016040523d82523d6000602084013e613f29565b606091505b5050905080613e6d576040805162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052613fcf9085906140d1565b50505050565b600081848411156140645760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614029578181015183820152602001614011565b50505050905090810190601f1680156140565780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836140bb5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315614029578181015183820152602001614011565b5060008385816140c757fe5b0495945050505050565b6060614126826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166141829092919063ffffffff16565b805190915015613e6d5780806020019051602081101561414557600080fd5b5051613e6d5760405162461bcd60e51b815260040180806020018281038252602a8152602001806144c0602a913960400191505060405180910390fd5b606061386784846000856060614197856142f9565b6141e8576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106142275780518252601f199092019160209182019101614208565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614289576040519150601f19603f3d011682016040523d82523d6000602084013e61428e565b606091505b509150915081156142a25791506138679050565b8051156142b25780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315614029578181015183820152602001614011565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373696e73756666696369656e7420636f6c6c61746572616c207265736572766573202d2074727920616e6f7468657220636f6c6c61746572616c73656e6465722068617320696e73756666696369656e74207374696d756c75732062616c616e63656d696e696d756d20726566726573682074696d65206d7573742062652076616c69644143434553533a206f6e6c79206574684c5020676f7665726e616e6365000000536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f776d696e426c6f636b467265657a652074696d65206c696d6974206e6f74206d657420796574202d2074727920616761696e206c61746572ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef616374696f6e20746f6f20736f6f6e202d20706c656173652077616974206120666577206d6f726520626c6f636b7373656e6465722068617320696e73756666696369656e7420636f6c6c61746572616c2062616c616e6365616374696f6e20746f6f20736f6f6e202d20706c656173652077616974203320626c6f636b735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220289d45859ab654ae5033bbdc0bc29301377139c53ec6613622e623c31e5dbdf064736f6c634300060c0033000000000000000000000000000000000000000000000000000000174876e800000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000012000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419000000000000000000000000000000000000000000000000000000000001a900

Deployed Bytecode

0x6080604052600436106103ac5760003560e01c806384233707116101e7578063ca7f171a1161010d578063e941fa78116100a0578063f1ae3c7f1161006f578063f1ae3c7f14610ce4578063f2fde38b14610d17578063f6cad25514610d4a578063fdec254f14610d7d576103ac565b8063e941fa7814610c3f578063eb7afed014610c54578063efdf0bb014610c7e578063f196d01814610cb1576103ac565b8063dd62ed3e116100dc578063dd62ed3e14610b74578063e2b11a6414610baf578063e56df6c614610be2578063e9144e7314610c0c576103ac565b8063ca7f171a14610aed578063d2d97b0614610b17578063d494d58614610b2c578063da2b9bfa14610b5f576103ac565b806399b16efd11610185578063b37c551511610154578063b37c551514610a14578063c072ea4314610a57578063c522e74f14610a90578063c99d3a0614610aba576103ac565b806399b16efd146109785780639bf745191461098d578063a457c2d7146109a2578063a9059cbb146109db576103ac565b80638fe605ad116101c15780638fe605ad1461090d57806393fab9ee1461092257806394bf804d1461093757806395d89b4114610963576103ac565b806384233707146108b057806389a604eb146108e35780638da5cb5b146108f8576103ac565b806324552f33116102d7578063545886371161026a57806377be2f141161023957806377be2f141461081a5780637bc6729b1461084d5780637c365e1b146108625780637dbe5f101461089b576103ac565b8063545886371461079357806370a08231146107a8578063715018a6146107db57806375e8ef5c146107f0576103ac565b806339509351116102a6578063395093511461071b578063491547f5146107545780634d7efed7146107695780634f0e0ef31461077e576103ac565b806324552f33146106b157806325240810146106c65780632e3d4807146106db578063313ce567146106f0576103ac565b806312d43a511161034f57806318160ddd1161031e57806318160ddd146105d45780631cf3cf31146105e957806323b872dd1461063b57806323e6f5e21461067e576103ac565b806312d43a511461055a57806313966db51461056f5780631432e8101461058457806317d33845146105bf576103ac565b80630acac95e1161038b5780630acac95e146104c35780630c7d5cd8146104ed5780630ed2dff0146105145780631190016c14610545576103ac565b8062f714ce146103b157806306fdde03146103ec578063095ea7b314610476575b600080fd5b3480156103bd57600080fd5b506103ea600480360360408110156103d457600080fd5b50803590602001356001600160a01b0316610d92565b005b3480156103f857600080fd5b5061040161130b565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561043b578181015183820152602001610423565b50505050905090810190601f1680156104685780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561048257600080fd5b506104af6004803603604081101561049957600080fd5b506001600160a01b0381351690602001356113a2565b604080519115158252519081900360200190f35b3480156104cf57600080fd5b506104af600480360360208110156104e657600080fd5b5035611663565b3480156104f957600080fd5b506105026118f0565b60408051918252519081900360200190f35b34801561052057600080fd5b506105296118f6565b604080516001600160a01b039092168252519081900360200190f35b34801561055157600080fd5b50610502611905565b34801561056657600080fd5b5061052961190e565b34801561057b57600080fd5b5061050261191d565b34801561059057600080fd5b506103ea600480360360408110156105a757600080fd5b506001600160a01b0381358116916020013516611923565b3480156105cb57600080fd5b50610502611a00565b3480156105e057600080fd5b50610502611a06565b3480156105f557600080fd5b506106226004803603604081101561060c57600080fd5b50803590602001356001600160a01b0316611a0c565b6040805192835260208301919091528051918290030190f35b34801561064757600080fd5b506104af6004803603606081101561065e57600080fd5b506001600160a01b03813581169160208101359091169060400135611b33565b34801561068a57600080fd5b506104af600480360360208110156106a157600080fd5b50356001600160a01b0316611e74565b3480156106bd57600080fd5b50610502611efc565b3480156106d257600080fd5b50610529611f02565b3480156106e757600080fd5b50610502611f11565b3480156106fc57600080fd5b506107056121c8565b6040805160ff9092168252519081900360200190f35b34801561072757600080fd5b506104af6004803603604081101561073e57600080fd5b506001600160a01b0381351690602001356121d1565b34801561076057600080fd5b50610502612265565b34801561077557600080fd5b5061052961226b565b34801561078a57600080fd5b5061052961227a565b34801561079f57600080fd5b50610529612289565b3480156107b457600080fd5b50610502600480360360208110156107cb57600080fd5b50356001600160a01b0316612298565b3480156107e757600080fd5b506103ea6122b3565b3480156107fc57600080fd5b506103ea6004803603602081101561081357600080fd5b5035612372565b34801561082657600080fd5b506104af6004803603602081101561083d57600080fd5b50356001600160a01b03166123c4565b34801561085957600080fd5b506103ea612439565b34801561086e57600080fd5b506103ea6004803603604081101561088557600080fd5b506001600160a01b0381351690602001356124f1565b3480156108a757600080fd5b506104af612599565b3480156108bc57600080fd5b506104af600480360360208110156108d357600080fd5b50356001600160a01b03166125a9565b3480156108ef57600080fd5b50610502612626565b34801561090457600080fd5b5061052961262c565b34801561091957600080fd5b50610502612640565b34801561092e57600080fd5b506105026126f5565b6103ea6004803603604081101561094d57600080fd5b50803590602001356001600160a01b03166126fb565b34801561096f57600080fd5b50610401612c8d565b34801561098457600080fd5b50610529612cee565b34801561099957600080fd5b506103ea612cfd565b3480156109ae57600080fd5b506104af600480360360408110156109c557600080fd5b506001600160a01b038135169060200135612db5565b3480156109e757600080fd5b506104af600480360360408110156109fe57600080fd5b506001600160a01b038135169060200135612e9e565b348015610a2057600080fd5b506103ea60048036036060811015610a3757600080fd5b506001600160a01b0381358116916020810135916040909101351661318a565b348015610a6357600080fd5b5061062260048036036040811015610a7a57600080fd5b50803590602001356001600160a01b03166132a7565b348015610a9c57600080fd5b5061052960048036036020811015610ab357600080fd5b5035613455565b348015610ac657600080fd5b506103ea60048036036020811015610add57600080fd5b50356001600160a01b031661347c565b348015610af957600080fd5b506103ea60048036036020811015610b1057600080fd5b50356134ea565b348015610b2357600080fd5b50610502613584565b348015610b3857600080fd5b5061050260048036036020811015610b4f57600080fd5b50356001600160a01b03166136f9565b348015610b6b57600080fd5b5061052961386f565b348015610b8057600080fd5b5061050260048036036040811015610b9757600080fd5b506001600160a01b038135811691602001351661387e565b348015610bbb57600080fd5b506104af60048036036020811015610bd257600080fd5b50356001600160a01b03166138a9565b348015610bee57600080fd5b506103ea60048036036020811015610c0557600080fd5b50356138be565b348015610c1857600080fd5b5061052960048036036020811015610c2f57600080fd5b50356001600160a01b0316613958565b348015610c4b57600080fd5b50610502613973565b348015610c6057600080fd5b506103ea60048036036020811015610c7757600080fd5b5035613979565b348015610c8a57600080fd5b506103ea60048036036020811015610ca157600080fd5b50356001600160a01b03166139cb565b348015610cbd57600080fd5b506103ea60048036036020811015610cd457600080fd5b50356001600160a01b0316613a8d565b348015610cf057600080fd5b5061050260048036036020811015610d0757600080fd5b50356001600160a01b0316613b3d565b348015610d2357600080fd5b506103ea60048036036020811015610d3a57600080fd5b50356001600160a01b0316613b4f565b348015610d5657600080fd5b506104af60048036036020811015610d6d57600080fd5b50356001600160a01b0316613c6a565b348015610d8957600080fd5b50610502613c7f565b3380610d9d57600080fd5b6001600160a01b038116301415610db357600080fd5b60026006541415610e0b576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600655600d546001600160a01b03161561104257600e54600160a01b900460ff16610e9b57600e60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610e8257600080fd5b505af1158015610e96573d6000803e3d6000fd5b505050505b600d60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610eeb57600080fd5b505af1158015610eff573d6000803e3d6000fd5b5050505060005b601a54811015610fde5760196000601a8381548110610f2157fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff1615610fd657601d6000601a8381548110610f5f57fe5b60009182526020808320909101546001600160a01b039081168452908301939093526040918201812054825163a2e6204560e01b8152925193169263a2e6204592600480820193929182900301818387803b158015610fbd57600080fd5b505af1158015610fd1573d6000803e3d6000fd5b505050505b600101610f06565b5060085460075442031061104257633b9aca00610ff9612640565b11156110235761101e611019601754601854613ce690919063ffffffff16565b613d28565b61103d565b61103d611019601754601854613c8590919063ffffffff16565b426007555b3360009081526011602052604090205483111561109d576040805162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b604482015290519081900360640190fd5b3360009081526012602052604090205442601e90910111156110f05760405162461bcd60e51b815260040180806020018281038252602681526020018061449a6026913960400191505060405180910390fd5b6010546110fd9084613ce6565b6010553360009081526011602052604090205461111a9084613ce6565b336000908152601160209081526040808320939093556001600160a01b0385168252601b905290812054601f5461118491633b9aca009161117191600a0a9061117e906111779064174876e8009085908c90613d80565b90613dd9565b8990613ce6565b90613d80565b90506111a0611192846136f9565b61117183633b9aca00613d80565b90506000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156111f157600080fd5b505afa158015611205573d6000803e3d6000fd5b505050506040513d602081101561121b57600080fd5b505182111561125b5760405162461bcd60e51b81526004018080602001828103825260398152602001806143266039913960400191505060405180910390fd5b611266843384613e1b565b33600081815260126020908152604080832042905580518981529051929392600080516020614421833981519152929181900390910190a3600954604080516001600160a01b03928316815233602082015291861682820152606082018490526080820183905260a08201879052517fbbbdee62287b5bf3bee13cab60a29ad729cf38109bccbd2a986a11c99b8ca7049181900360c00190a150506001600655505050565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156113975780601f1061136c57610100808354040283529160200191611397565b820191906000526020600020905b81548152906001019060200180831161137a57829003601f168201915b505050505090505b90565b6000826001600160a01b0381166113b857600080fd5b6001600160a01b0381163014156113ce57600080fd5b600d546001600160a01b0316156115fb57600e54600160a01b900460ff1661145957600e60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561144057600080fd5b505af1158015611454573d6000803e3d6000fd5b505050505b600d60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156114a957600080fd5b505af11580156114bd573d6000803e3d6000fd5b5050505060005b601a5481101561159c5760196000601a83815481106114df57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff161561159457601d6000601a838154811061151d57fe5b60009182526020808320909101546001600160a01b039081168452908301939093526040918201812054825163a2e6204560e01b8152925193169263a2e6204592600480820193929182900301818387803b15801561157b57600080fd5b505af115801561158f573d6000803e3d6000fd5b505050505b6001016114c4565b506008546007544203106115fb57633b9aca006115b7612640565b11156115dc576115d7611019601754601854613ce690919063ffffffff16565b6115f6565b6115f6611019601754601854613c8590919063ffffffff16565b426007555b3360008181526013602090815260408083206001600160a01b03891680855290835292819020879055805187815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6021546000906001600160a01b031633146116b3576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b816116ef5760405162461bcd60e51b81526004018080602001828103825260228152602001806143876022913960400191505060405180910390fd5b600882905560005b601a548110156117d65760196000601a838154811061171257fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff16156117ce57601d6000601a838154811061175057fe5b60009182526020808320909101546001600160a01b03908116845290830193909352604091820181205482516363c7560760e01b81526004810188905292519316926363c7560792602480820193929182900301818387803b1580156117b557600080fd5b505af11580156117c9573d6000803e3d6000fd5b505050505b6001016116f7565b50600d54604080516363c7560760e01b81526004810185905290516001600160a01b03909216916363c756079160248082019260009290919082900301818387803b15801561182457600080fd5b505af1158015611838573d6000803e3d6000fd5b5050600e54600160a01b900460ff1691506118b5905057600e54604080516363c7560760e01b81526004810185905290516001600160a01b03909216916363c756079160248082019260009290919082900301818387803b15801561189c57600080fd5b505af11580156118b0573d6000803e3d6000fd5b505050505b6040805183815290517ff96993476642ad4471e701dee382f1d8b7947acb089dba94a2f49e477e85c8799181900360200190a1506001919050565b60185481565b600e546001600160a01b031681565b64174876e80081565b6015546001600160a01b031681565b601e5481565b6021546001600160a01b03163314611970576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526019602052604090205460ff166119d2576040805162461bcd60e51b81526020600482015260126024820152711a5b9d985b1a590818dbdb1b185d195c985b60721b604482015290519081900360640190fd5b6001600160a01b039182166000908152601d6020526040902080546001600160a01b03191691909216179055565b600a5481565b60105490565b60008083611a5c576040805162461bcd60e51b81526020600482015260186024820152771b5d5cdd081d5cd9481d985b1a59081bdb99505b5bdd5b9d60421b604482015290519081900360640190fd5b6001600160a01b03831660009081526019602052604090205460ff16611ac9576040805162461bcd60e51b815260206004820152601e60248201527f6d75737420626520616e20616363657074656420636f6c6c61746572616c0000604482015290519081900360640190fd5b6001600160a01b0383166000908152601b6020526040812054601f54611b1691633b9aca009161117191600a0a9061117e90611b0f9064174876e8009085908d90613d80565b8a90613ce6565b9050611b24611192856136f9565b925060009150505b9250929050565b6000826001600160a01b038116611b4957600080fd5b6001600160a01b038116301415611b5f57600080fd5b600d546001600160a01b031615611d8c57600e54600160a01b900460ff16611bea57600e60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611bd157600080fd5b505af1158015611be5573d6000803e3d6000fd5b505050505b600d60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611c3a57600080fd5b505af1158015611c4e573d6000803e3d6000fd5b5050505060005b601a54811015611d2d5760196000601a8381548110611c7057fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff1615611d2557601d6000601a8381548110611cae57fe5b60009182526020808320909101546001600160a01b039081168452908301939093526040918201812054825163a2e6204560e01b8152925193169263a2e6204592600480820193929182900301818387803b158015611d0c57600080fd5b505af1158015611d20573d6000803e3d6000fd5b505050505b600101611c55565b50600854600754420310611d8c57633b9aca00611d48612640565b1115611d6d57611d68611019601754601854613ce690919063ffffffff16565b611d87565b611d87611019601754601854613c8590919063ffffffff16565b426007555b6001600160a01b0385166000908152601360209081526040808320338452909152902054611dba9084613ce6565b6001600160a01b038616600081815260136020908152604080832033845282528083209490945591815260119091522054611df59084613ce6565b6001600160a01b038087166000908152601160205260408082209390935590861681522054611e249084613c85565b6001600160a01b03808616600081815260116020908152604091829020949094558051878152905191939289169260008051602061442183398151915292918290030190a3506001949350505050565b6021546000906001600160a01b03163314611ec4576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b50600b80546001600160a01b0383166001600160a01b0319909116179055600e805460ff60a01b1916600160a01b1790556001919050565b600f5481565b6016546001600160a01b031681565b600e54600090600160a01b900460ff161561202a576000806000806000600b60009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015611f7c57600080fd5b505afa158015611f90573d6000803e3d6000fd5b505050506040513d60a0811015611fa657600080fd5b5080516020820151604083015160608401516080909401519298509096509450909250905081612013576040805162461bcd60e51b8152602060048201526013602482015272526f756e6473206e6f7420636f6d706c65746560681b604482015290519081900360640190fd5b61201e84600a613d80565b9550505050505061139f565b600e5460145460408051633ddac95360e01b81526001600160a01b039283166004820152670de0b6b3a7640000602482015290516000939290921691633ddac95391604480820192602092909190829003018186803b15801561208c57600080fd5b505afa1580156120a0573d6000803e3d6000fd5b505050506040513d60208110156120b657600080fd5b5051600c5460408051633fabe5a360e21b8152905192935060009283928392839283926001600160a01b03169163feaf968c9160048083019260a0929190829003018186803b15801561210857600080fd5b505afa15801561211c573d6000803e3d6000fd5b505050506040513d60a081101561213257600080fd5b508051602082015160408301516060840151608090940151929850909650945090925090508161219f576040805162461bcd60e51b8152602060048201526013602482015272526f756e6473206e6f7420636f6d706c65746560681b604482015290519081900360640190fd5b6121bb86611171600a54600a0a87613d8090919063ffffffff16565b965050505050505061139f565b60055460ff1690565b3360009081526013602090815260408083206001600160a01b03861684529091528120546121ff9083613c85565b3360008181526013602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a35060015b92915050565b60205481565b6022546001600160a01b031681565b6014546001600160a01b031681565b600d546001600160a01b031681565b6001600160a01b031660009081526011602052604090205490565b6122bb613e72565b60055461010090046001600160a01b03908116911614612322576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6021546001600160a01b031633146123bf576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b600f55565b6021546000906001600160a01b03163314612414576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b50600d80546001600160a01b0383166001600160a01b03199091161790556001919050565b6016546001600160a01b03163314612483576040805162461bcd60e51b81526020600482015260086024820152672170656e64696e6760c01b604482015290519081900360640190fd5b60158054601680546001600160a01b03198084166001600160a01b03838116919091179586905591169091556040805192821680845293909116602083015280517f1f14cfc03e486d23acee577b07bc0b3b23f4888c91fcdba5e0fef5a2549d55239281900390910190a150565b6021546001600160a01b0316331461253e576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b602054431161257e5760405162461bcd60e51b81526004018080602001828103825260378152602001806143ea6037913960400191505060405180910390fd5b600954612595906001600160a01b03168383613e1b565b5050565b600e54600160a01b900460ff1681565b6021546000906001600160a01b031633146125f9576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b50600e80546001600160a01b0319166001600160a01b03929092169190911760ff60a01b19169055600190565b60175481565b60055461010090046001600160a01b031690565b600d54600954600a805460408051633ddac95360e01b81526001600160a01b0394851660048201529190920a6024820152905160009384931691633ddac953916044808301926020929190829003018186803b15801561269f57600080fd5b505afa1580156126b3573d6000803e3d6000fd5b505050506040513d60208110156126c957600080fd5b5051905060006126d7611f11565b905060006126ed8361117184633b9aca00613d80565b935050505090565b60075481565b338061270657600080fd5b6001600160a01b03811630141561271c57600080fd5b60026006541415612774576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026006556001600160a01b03821660009081526019602052604090205460ff166127e6576040805162461bcd60e51b815260206004820152601e60248201527f6d75737420626520616e20616363657074656420636f6c6c61746572616c0000604482015290519081900360640190fd5b3360009081526012602052604090205442601e90910111156128395760405162461bcd60e51b815260040180806020018281038252602f815260200180614441602f913960400191505060405180910390fd5b60008061284685856132a7565b91509150836001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561289757600080fd5b505afa1580156128ab573d6000803e3d6000fd5b505050506040513d60208110156128c157600080fd5b50518211156129015760405162461bcd60e51b815260040180806020018281038252602a815260200180614470602a913960400191505060405180910390fd5b6014546009546000916001600160a01b0391821691161480156129975750600954604080516370a0823160e01b8152336004820152905184926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561296957600080fd5b505afa15801561297d573d6000803e3d6000fd5b505050506040513d602081101561299357600080fd5b5051105b15612b625733318211612aad57601460009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b1580156129f457600080fd5b505af1158015612a08573d6000803e3d6000fd5b50506014546040805163a9059cbb60e01b81523060048201526024810188905290516001600160a01b03909216945063a9059cbb935060448082019350602092918290030181600087803b158015612a5f57600080fd5b505af1158015612a73573d6000803e3d6000fd5b505050506040513d6020811015612a8957600080fd5b5051612a9157fe5b81341115612aa557612aa533833403613e76565b506001612b62565b600954604080516370a0823160e01b815233600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015612af857600080fd5b505afa158015612b0c573d6000803e3d6000fd5b505050506040513d6020811015612b2257600080fd5b5051821115612b625760405162461bcd60e51b815260040180806020018281038252602881526020018061435f6028913960400191505060405180910390fd5b612b6e85333086613f75565b80612b8b57600954612b8b906001600160a01b0316333085613f75565b601e54612baf90612ba89064174876e80090611171908a90613d80565b8790613ce6565b601054909650612bbf9087613c85565b60105533600090815260116020526040902054612bdc9087613c85565b336000818152601160209081526040808320949094556012815283822042905583518a81529351929391926000805160206144218339815191529281900390910190a3600954604080516001600160a01b03928316815233602082015291871682820152606082018590526080820184905260a08201889052517feca801b067fae3d181506c21fb55d44a644d16cdb863595643131a7e105b5f019181900360c00190a15050600160065550505050565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156113975780601f1061136c57610100808354040283529160200191611397565b6009546001600160a01b031681565b6022546001600160a01b03163314612d47576040805162461bcd60e51b81526020600482015260086024820152672170656e64696e6760c01b604482015290519081900360640190fd5b60218054602280546001600160a01b03198084166001600160a01b03838116919091179586905591169091556040805192821680845293909116602083015280517f1f14cfc03e486d23acee577b07bc0b3b23f4888c91fcdba5e0fef5a2549d55239281900390910190a150565b3360009081526013602090815260408083206001600160a01b0386168452909152812054808310612e09573360009081526013602090815260408083206001600160a01b0388168452909152812055612e38565b612e138184613ce6565b3360009081526013602090815260408083206001600160a01b03891684529091529020555b3360008181526013602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b038116612eb457600080fd5b6001600160a01b038116301415612eca57600080fd5b600d546001600160a01b0316156130f757600e54600160a01b900460ff16612f5557600e60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015612f3c57600080fd5b505af1158015612f50573d6000803e3d6000fd5b505050505b600d60009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015612fa557600080fd5b505af1158015612fb9573d6000803e3d6000fd5b5050505060005b601a548110156130985760196000601a8381548110612fdb57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff161561309057601d6000601a838154811061301957fe5b60009182526020808320909101546001600160a01b039081168452908301939093526040918201812054825163a2e6204560e01b8152925193169263a2e6204592600480820193929182900301818387803b15801561307757600080fd5b505af115801561308b573d6000803e3d6000fd5b505050505b600101612fc0565b506008546007544203106130f757633b9aca006130b3612640565b11156130d8576130d3611019601754601854613ce690919063ffffffff16565b6130f2565b6130f2611019601754601854613c8590919063ffffffff16565b426007555b336000908152601160205260409020546131119084613ce6565b33600090815260116020526040808220929092556001600160a01b0386168152205461313d9084613c85565b6001600160a01b0385166000818152601160209081526040918290209390935580518681529051919233926000805160206144218339815191529281900390910190a35060019392505050565b6021546001600160a01b031633146131d7576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b6001600160a01b0383166000908152601c602052604090205460ff1661324357601a80546001810182556000919091527f057c384a7d1c54f3a1b2e5e67b2617b8224fdfd1ea7234eea573a6ff665ff63e0180546001600160a01b0319166001600160a01b0385161790555b6001600160a01b039283166000908152601c602090815260408083208054600160ff1991821681179092556019845282852080549091169091179055601b825280832094909455601d90529190912080546001600160a01b03191691909216179055565b600080836132f7576040805162461bcd60e51b81526020600482015260186024820152771b5d5cdd081d5cd9481d985b1a59081bdb99505b5bdd5b9d60421b604482015290519081900360640190fd5b6001600160a01b03831660009081526019602052604090205460ff16613364576040805162461bcd60e51b815260206004820152601e60248201527f6d75737420626520616e20616363657074656420636f6c6c61746572616c0000604482015290519081900360640190fd5b6001600160a01b0383166000908152601b60205260408120546018546133a691633b9aca009161117191600a0a9061117e9064174876e8009084908c90613d80565b90506133b4611192856136f9565b600d549091506001600160a01b03166133d257915060009050611b2c565b60006133dc612640565b905060006133e8611f11565b9050600061341964174876e80061117161341260185464174876e800613ce690919063ffffffff16565b8b90613d80565b905060006134456009600a0a611171600a54600a0a61117e876111718a89613d8090919063ffffffff16565b9499949850939650505050505050565b601a818154811061346257fe5b6000918252602090912001546001600160a01b0316905081565b6021546001600160a01b031633146134c9576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152601960205260409020805460ff19169055565b6015546001600160a01b03163314613549576040805162461bcd60e51b815260206004820152601c60248201527f4143434553533a206f6e6c79204963686920676f7665726e616e636500000000604482015290519081900360640190fd5b601f8190556040805182815290517fa01cb43de193eb3a80b373fb949c09d0eedb01f39f3b6063ace0cb6b067cc1239181900360200190a150565b600080805b601a548110156136f35760006001600160a01b0316601a82815481106135ab57fe5b6000918252602090912001546001600160a01b0316146136eb576136e6633b9aca006111716135fa601a85815481106135e057fe5b6000918252602090912001546001600160a01b03166136f9565b61117e601b6000601a888154811061360e57fe5b9060005260206000200160009054906101000a90046001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002054600a0a611171633b9aca00601a898154811061366557fe5b60009182526020918290200154604080516370a0823160e01b815230600482015290516001600160a01b03909216926370a0823192602480840193829003018186803b1580156136b457600080fd5b505afa1580156136c8573d6000803e3d6000fd5b505050506040513d60208110156136de57600080fd5b505190613d80565b820191505b600101613589565b50905090565b6000806000600c60009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561374c57600080fd5b505afa158015613760573d6000803e3d6000fd5b505050506040513d60a081101561377657600080fd5b5060208101516060909101519092509050806137cf576040805162461bcd60e51b8152602060048201526013602482015272526f756e6473206e6f7420636f6d706c65746560681b604482015290519081900360640190fd5b6001600160a01b038085166000908152601b6020908152604080832054601d835292819020546014548251633ddac95360e01b81529086166004820152670de0b6b3a7640000602482015291516138679561385895600a0a9461117194633b9aca009490921692633ddac953926044808201939291829003018186803b1580156136b457600080fd5b611171846402540be400613d80565b949350505050565b6021546001600160a01b031681565b6001600160a01b03918216600090815260136020908152604080832093909416825291909152205490565b601c6020526000908152604090205460ff1681565b6015546001600160a01b0316331461391d576040805162461bcd60e51b815260206004820152601c60248201527f4143434553533a206f6e6c79204963686920676f7665726e616e636500000000604482015290519081900360640190fd5b601e8190556040805182815290517f6f87524b705f31734b7940b88671f37a3291d7b961b69da31bcabf882b2531da9181900360200190a150565b601d602052600090815260409020546001600160a01b031681565b601f5481565b6021546001600160a01b031633146139c6576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b601755565b6015546001600160a01b03163314613a2a576040805162461bcd60e51b815260206004820152601c60248201527f4143434553533a206f6e6c79204963686920676f7665726e616e636500000000604482015290519081900360640190fd5b601680546001600160a01b038381166001600160a01b0319831681179093556040805191909216808252602082019390935281517f6163d5b9efd962645dd649e6e48a61bcb0f9df00997a2398b80d135a9ab0c61e929181900390910190a15050565b6021546001600160a01b03163314613ada576040805162461bcd60e51b815260206004820152601d60248201526000805160206143a9833981519152604482015290519081900360640190fd5b602280546001600160a01b038381166001600160a01b0319831681179093556040805191909216808252602082019390935281517f6ea9654b538fab06e45f7940f0aa88b14cb8aca48a29d4e0b7626009fb7dc514929181900390910190a15050565b601b6020526000908152604090205481565b613b57613e72565b60055461010090046001600160a01b03908116911614613bbe576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116613c035760405162461bcd60e51b81526004018080602001828103825260268152602001806143006026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60196020526000908152604090205460ff1681565b60085481565b600082820183811015613cdf576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000613cdf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613fd5565b64174876e8008111158015613d3f5750600f548110155b15613d7d5760188190556040805182815290517f2fbb30255fd6bab4bd8c21173ab8290d05fcef04343b7d0190495d90e6866c569181900360200190a15b50565b600082613d8f5750600061225f565b82820282848281613d9c57fe5b0414613cdf5760405162461bcd60e51b81526004018080602001828103825260218152602001806143c96021913960400191505060405180910390fd5b6000613cdf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061406c565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052613e6d9084906140d1565b505050565b3390565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b60208310613ec25780518252601f199092019160209182019101613ea3565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613f24576040519150601f19603f3d011682016040523d82523d6000602084013e613f29565b606091505b5050905080613e6d576040805162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052613fcf9085906140d1565b50505050565b600081848411156140645760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614029578181015183820152602001614011565b50505050905090810190601f1680156140565780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836140bb5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315614029578181015183820152602001614011565b5060008385816140c757fe5b0495945050505050565b6060614126826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166141829092919063ffffffff16565b805190915015613e6d5780806020019051602081101561414557600080fd5b5051613e6d5760405162461bcd60e51b815260040180806020018281038252602a8152602001806144c0602a913960400191505060405180910390fd5b606061386784846000856060614197856142f9565b6141e8576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106142275780518252601f199092019160209182019101614208565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614289576040519150601f19603f3d011682016040523d82523d6000602084013e61428e565b606091505b509150915081156142a25791506138679050565b8051156142b25780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315614029578181015183820152602001614011565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373696e73756666696369656e7420636f6c6c61746572616c207265736572766573202d2074727920616e6f7468657220636f6c6c61746572616c73656e6465722068617320696e73756666696369656e74207374696d756c75732062616c616e63656d696e696d756d20726566726573682074696d65206d7573742062652076616c69644143434553533a206f6e6c79206574684c5020676f7665726e616e6365000000536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f776d696e426c6f636b467265657a652074696d65206c696d6974206e6f74206d657420796574202d2074727920616761696e206c61746572ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef616374696f6e20746f6f20736f6f6e202d20706c656173652077616974206120666577206d6f726520626c6f636b7373656e6465722068617320696e73756666696369656e7420636f6c6c61746572616c2062616c616e6365616374696f6e20746f6f20736f6f6e202d20706c656173652077616974203320626c6f636b735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220289d45859ab654ae5033bbdc0bc29301377139c53ec6613622e623c31e5dbdf064736f6c634300060c0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000174876e800000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000012000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419000000000000000000000000000000000000000000000000000000000001a900

-----Decoded View---------------
Arg [0] : reserveRatio_ (uint256): 100000000000
Arg [1] : stimulus_ (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [2] : stimulusDecimals_ (uint256): 18
Arg [3] : wethAddress_ (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [4] : ethOracleChainLink_ (address): 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419
Arg [5] : minBlockFreeze_ (uint256): 108800

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000174876e800
Arg [1] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [4] : 0000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419
Arg [5] : 000000000000000000000000000000000000000000000000000000000001a900


Deployed Bytecode Sourcemap

36832:27030:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61323:1461;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61323:1461:0;;;;;;-1:-1:-1;;;;;61323:1461:0;;:::i;:::-;;24794:83;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49079:304;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;49079:304:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;52590:792;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52590:792:0;;:::i;39798:27::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;38602:29;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;38602:29:0;;;;;;;;;;;;;;37700:57;;;;;;;;;;;;;:::i;39550:18::-;;;;;;;;;;;;;:::i;42332:22::-;;;;;;;;;;;;;:::i;43809:253::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;43809:253:0;;;;;;;;;;:::i;38068:31::-;;;;;;;;;;;;;:::i;45881:141::-;;;;;;;;;;;;;:::i;57815:595::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57815:595:0;;;;;;-1:-1:-1;;;;;57815:595:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;47981:456;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47981:456:0;;;;;;;;;;;;;;;;;:::i;46385:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46385:244:0;-1:-1:-1;;;;;46385:244:0;;:::i;38956:32::-;;;;;;;;;;;;;:::i;39664:25::-;;;;;;;;;;;;;:::i;51339:1156::-;;;;;;;;;;;;;:::i;25721:83::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;49756:330;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;49756:330:0;;;;;;;;:::i;42394:29::-;;;;;;;;;;;;;:::i;42890:27::-;;;;;;;;;;;;;:::i;39517:26::-;;;;;;;;;;;;;:::i;38529:29::-;;;;;;;;;;;;;:::i;46143:155::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46143:155:0;-1:-1:-1;;;;;46143:155:0;;:::i;35357:148::-;;;;;;;;;;;;;:::i;54929:130::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54929:130:0;;:::i;50862:180::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50862:180:0;-1:-1:-1;;;;;50862:180:0;;:::i;55961:235::-;;;;;;;;;;;;;:::i;63552:305::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;63552:305:0;;;;;;;;:::i;38703:21::-;;;;;;;;;;;;;:::i;51050:211::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51050:211:0;-1:-1:-1;;;;;51050:211:0;;:::i;39696:30::-;;;;;;;;;;;;;:::i;34715:79::-;;;;;;;;;;;;;:::i;45353:458::-;;;;;;;;;;;;;:::i;37808:33::-;;;;;;;;;;;;;:::i;58550:2197::-;;;;;;;;;;;;;;;;-1:-1:-1;58550:2197:0;;;;;;-1:-1:-1;;;;;58550:2197:0;;:::i;24996:87::-;;;;;;;;;;;;;:::i;37997:23::-;;;;;;;;;;;;;:::i;55387:261::-;;;;;;;;;;;;;:::i;50348:506::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;50348:506:0;;;;;;;;:::i;46855:371::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46855:371:0;;;;;;;;:::i;43163:496::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;43163:496:0;;;;;;;;;;;;;;;;;:::i;56618:1189::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56618:1189:0;;;;;;-1:-1:-1;;;;;56618:1189:0;;:::i;40082:32::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40082:32:0;;:::i;44070:146::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44070:146:0;-1:-1:-1;;;;;44070:146:0;;:::i;61036:153::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61036:153:0;;:::i;44728:567::-;;;;;;;;;;;;;:::i;44268:452::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44268:452:0;-1:-1:-1;;;;;44268:452:0;;:::i;42863:20::-;;;;;;;;;;;;;:::i;47533:186::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47533:186:0;;;;;;;;;;:::i;42133:57::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42133:57:0;-1:-1:-1;;;;;42133:57:0;;:::i;60821:141::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60821:141:0;;:::i;42197:52::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42197:52:0;-1:-1:-1;;;;;42197:52:0;;:::i;42361:26::-;;;;;;;;;;;;;:::i;43667:134::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43667:134:0;;:::i;55720:233::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55720:233:0;-1:-1:-1;;;;;55720:233:0;;:::i;55131:248::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55131:248:0;-1:-1:-1;;;;;55131:248:0;;:::i;42072:54::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42072:54:0;-1:-1:-1;;;;;42072:54:0;;:::i;35660:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35660:244:0;-1:-1:-1;;;;;35660:244:0;;:::i;40024:51::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40024:51:0;-1:-1:-1;;;;;40024:51:0;;:::i;37911:33::-;;;;;;;;;;;;;:::i;61323:1461::-;61445:10;39211:18;39203:27;;;;;;-1:-1:-1;;;;;39249:19:0;;39263:4;39249:19;;39241:28;;;;;;20677:1:::1;21283:7;;:19;;21275:63;;;::::0;;-1:-1:-1;;;21275:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;20677:1;21416:7;:18:::0;40283:14:::2;::::0;-1:-1:-1;;;;;40283:14:0::2;40275:37:::0;40271:1025:::2;;40387:9;::::0;-1:-1:-1;;;40387:9:0;::::2;;;40382:55;;40413:14;;;;;;;;;-1:-1:-1::0;;;;;40413:14:0::2;-1:-1:-1::0;;;;;40398:37:0::2;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;40382:55;40555:14;;;;;;;;;-1:-1:-1::0;;;;;40555:14:0::2;-1:-1:-1::0;;;;;40540:37:0::2;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;40601:6;40596:190;40617:15;:22:::0;40613:26;::::2;40596:190;;;40669:18;:38;40688:15;40704:1;40688:18;;;;;;;;;::::0;;;::::2;::::0;;;;;::::2;::::0;-1:-1:-1;;;;;40688:18:0::2;40669:38:::0;;;::::2;::::0;;;;;;;;;::::2;;40665:105;;;40724:16;:36;40741:15;40757:1;40741:18;;;;;;;;;::::0;;;::::2;::::0;;;;;::::2;::::0;-1:-1:-1;;;;;40741:18:0;;::::2;40724:36:::0;;;;::::2;::::0;;;;;;;;;;;40709:61;;-1:-1:-1;;;40709:61:0;;;;40724:36;::::2;::::0;40709:59:::2;::::0;:61:::2;::::0;;::::2;::::0;40741:18;40709:61;;;;;;40741:18;40724:36;40709:61;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;40665:105;40641:3;;40596:190;;;;40909:18;;40887;;40869:15;:36;:58;40865:420;;41008:11;40989:16;:14;:16::i;:::-;:30;40985:228;;;41044:50;41060:33;41077:15;;41060:12;;:16;;:33;;;;:::i;:::-;41044:15;:50::i;:::-;40985:228;;;41143:50;41159:33;41176:15;;41159:12;;:16;;:33;;;;:::i;41143:50::-;41254:15;41233:18;:36:::0;40865:420:::2;61555:10:::3;61542:24;::::0;;;:12:::3;:24;::::0;;;;;61529:37;::::3;;61521:70;;;::::0;;-1:-1:-1;;;61521:70:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;-1:-1:-1;;;61521:70:0;;;;;;;;;;;;;::::3;;61621:10;61611:21;::::0;;;:9:::3;:21;::::0;;;;;61642:15:::3;61635:2;61611:26:::0;;::::3;61610:47;;61602:98;;;;-1:-1:-1::0;;;61602:98:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61755:12;::::0;:27:::3;::::0;61772:9;61755:16:::3;:27::i;:::-;61740:12;:42:::0;61833:10:::3;61820:24;::::0;;;:12:::3;:24;::::0;;;;;:39:::3;::::0;61849:9;61820:28:::3;:39::i;:::-;61806:10;61793:24;::::0;;;:12:::3;:24;::::0;;;;;;;:66;;;;-1:-1:-1;;;;;62048:30:0;::::3;::::0;;:18:::3;:30:::0;;;;;;61998:11:::3;::::0;61970:129:::3;::::0;62084:14;;61970:109:::3;::::0;62084:2:::3;62042:36;::::0;61970:67:::3;::::0;61984:52:::3;::::0;62015:20;;61970:109;;61984:9;;:13:::3;:26::i;:::-;:30:::0;::::3;:52::i;:::-;61970:9:::0;;:13:::3;:67::i;:::-;:71:::0;::::3;:109::i;:129::-;61943:156;;62129:63;62163:28;62180:10;62163:16;:28::i;:::-;62129:29;:16:::0;62150:7:::3;62129:20;:29::i;:63::-;62110:82;;62205:22;62375:10;-1:-1:-1::0;;;;;62368:28:0::3;;62405:4;62368:43;;;;;;;;;;;;;-1:-1:-1::0;;;;;62368:43:0::3;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;-1:-1:-1::0;62368:43:0;62348:63;::::3;;62340:133;;;;-1:-1:-1::0;;;62340:133:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62486:72;62516:10;62529;62541:16;62486:22;:72::i;:::-;62581:10;62571:21;::::0;;;:9:::3;:21;::::0;;;;;;;62595:15:::3;62571:39:::0;;62628:45;;;;;;;62571:21;;62581:10;-1:-1:-1;;;;;;;;;;;62628:45:0;;;;;;;;;::::3;62698:8;::::0;62689:87:::3;::::0;;-1:-1:-1;;;;;62698:8:0;;::::3;62689:87:::0;;62708:10:::3;62689:87;::::0;::::3;::::0;;;::::3;::::0;;;;;;;;;;;;;;;;;;;;;;;::::3;::::0;;;;;;;::::3;-1:-1:-1::0;;20633:1:0::1;21595:7;:22:::0;-1:-1:-1;;;61323:1461:0:o;24794:83::-;24864:5;24857:12;;;;;;;;-1:-1:-1;;24857:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24831:13;;24857:12;;24864:5;;24857:12;;24864:5;24857:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24794:83;;:::o;49079:304::-;49239:4;49186:7;-1:-1:-1;;;;;39211:18:0;;39203:27;;;;;;-1:-1:-1;;;;;39249:19:0;;39263:4;39249:19;;39241:28;;;;;;40283:14:::1;::::0;-1:-1:-1;;;;;40283:14:0::1;40275:37:::0;40271:1025:::1;;40387:9;::::0;-1:-1:-1;;;40387:9:0;::::1;;;40382:55;;40413:14;;;;;;;;;-1:-1:-1::0;;;;;40413:14:0::1;-1:-1:-1::0;;;;;40398:37:0::1;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;40382:55;40555:14;;;;;;;;;-1:-1:-1::0;;;;;40555:14:0::1;-1:-1:-1::0;;;;;40540:37:0::1;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;40601:6;40596:190;40617:15;:22:::0;40613:26;::::1;40596:190;;;40669:18;:38;40688:15;40704:1;40688:18;;;;;;;;;::::0;;;::::1;::::0;;;;;::::1;::::0;-1:-1:-1;;;;;40688:18:0::1;40669:38:::0;;;::::1;::::0;;;;;;;;;::::1;;40665:105;;;40724:16;:36;40741:15;40757:1;40741:18;;;;;;;;;::::0;;;::::1;::::0;;;;;::::1;::::0;-1:-1:-1;;;;;40741:18:0;;::::1;40724:36:::0;;;;::::1;::::0;;;;;;;;;;;40709:61;;-1:-1:-1;;;40709:61:0;;;;40724:36;::::1;::::0;40709:59:::1;::::0;:61:::1;::::0;;::::1;::::0;40741:18;40709:61;;;;;;40741:18;40724:36;40709:61;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;40665:105;40641:3;;40596:190;;;;40909:18;;40887;;40869:15;:36;:58;40865:420;;41008:11;40989:16;:14;:16::i;:::-;:30;40985:228;;;41044:50;41060:33;41077:15;;41060:12;;:16;;:33;;;;:::i;41044:50::-;40985:228;;;41143:50;41159:33;41176:15;;41159:12;;:16;;:33;;;;:::i;41143:50::-;41254:15;41233:18;:36:::0;40865:420:::1;49273:10:::2;49261:23;::::0;;;:11:::2;:23;::::0;;;;;;;-1:-1:-1;;;;;49261:32:0;::::2;::::0;;;;;;;;;;:40;;;49317:36;;;;;;;49261:32;;49273:10;49317:36:::2;::::0;;;;;;;;;::::2;-1:-1:-1::0;49371:4:0::2;::::0;49079:304;-1:-1:-1;;;49079:304:0:o;52590:792::-;42796:5;;52689:4;;-1:-1:-1;;;;;42796:5:0;42782:10;:19;42774:61;;;;;-1:-1:-1;;;42774:61:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42774:61:0;;;;;;;;;;;;;;;52719:9;52711:56:::1;;;;-1:-1:-1::0;;;52711:56:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52780:18;:25:::0;;;52859:6:::1;52854:194;52875:15;:22:::0;52871:26;::::1;52854:194;;;52923:18;:38;52942:15;52958:1;52942:18;;;;;;;;;::::0;;;::::1;::::0;;;;;::::1;::::0;-1:-1:-1;;;;;52942:18:0::1;52923:38:::0;;;::::1;::::0;;;;;;;;;::::1;;52919:117;;;52978:16;:36;52995:15;53011:1;52995:18;;;;;;;;;::::0;;;::::1;::::0;;;;;::::1;::::0;-1:-1:-1;;;;;52995:18:0;;::::1;52978:36:::0;;;;::::1;::::0;;;;;;;;;;;52963:73;;-1:-1:-1;;;52963:73:0;;::::1;::::0;::::1;::::0;;;;;52978:36;::::1;::::0;52963:67:::1;::::0;:73;;;;;52995:18;52963:73;;;;;;52995:18;52978:36;52963:73;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;52919:117;52899:3;;52854:194;;;-1:-1:-1::0;53123:14:0::1;::::0;53108:51:::1;::::0;;-1:-1:-1;;;53108:51:0;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;53123:14:0;;::::1;::::0;53108:45:::1;::::0;:51;;;;;53123:14:::1;::::0;53108:51;;;;;;;;53123:14;;53108:51;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;53175:9:0::1;::::0;-1:-1:-1;;;53175:9:0;::::1;;;::::0;-1:-1:-1;53170:67:0::1;::::0;-1:-1:-1;53170:67:0::1;53201:14;::::0;53186:51:::1;::::0;;-1:-1:-1;;;53186:51:0;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;53201:14:0;;::::1;::::0;53186:45:::1;::::0;:51;;;;;53201:14:::1;::::0;53186:51;;;;;;;;53201:14;;53186:51;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;53170:67;53325:27;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;53370:4:0::1;52590:792:::0;;;:::o;39798:27::-;;;;:::o;38602:29::-;;;-1:-1:-1;;;;;38602:29:0;;:::o;37700:57::-;37744:13;37700:57;:::o;39550:18::-;;;-1:-1:-1;;;;;39550:18:0;;:::o;42332:22::-;;;;:::o;43809:253::-;42796:5;;-1:-1:-1;;;;;42796:5:0;42782:10;:19;42774:61;;;;;-1:-1:-1;;;42774:61:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42774:61:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;43943:31:0;::::1;;::::0;;;:18:::1;:31;::::0;;;;;::::1;;43935:62;;;::::0;;-1:-1:-1;;;43935:62:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;43935:62:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;44008:29:0;;::::1;;::::0;;;:16:::1;:29;::::0;;;;:46;;-1:-1:-1;;;;;;44008:46:0::1;::::0;;;::::1;;::::0;;43809:253::o;38068:31::-;;;;:::o;45881:141::-;46002:12;;45881:141;:::o;57815:595::-;57930:7;;57972:14;57964:51;;;;;-1:-1:-1;;;57964:51:0;;;;;;;;;;;;-1:-1:-1;;;57964:51:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;58034:30:0;;;;;;:18;:30;;;;;;;;58026:73;;;;;-1:-1:-1;;;58026:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;58217:30:0;;58112:24;58217:30;;;:18;:30;;;;;;58167:11;;58139:129;;58253:14;;58139:109;;58253:2;58211:36;;58139:67;;58153:52;;58184:20;;58139:109;;58153:9;;:13;:26::i;:52::-;58139:9;;:13;:67::i;:129::-;58112:156;;58298:63;58332:28;58349:10;58332:16;:28::i;58298:63::-;58279:82;-1:-1:-1;58400:1:0;;-1:-1:-1;;57815:595:0;;;;;;:::o;47981:456::-;48150:4;48102:2;-1:-1:-1;;;;;39211:18:0;;39203:27;;;;;;-1:-1:-1;;;;;39249:19:0;;39263:4;39249:19;;39241:28;;;;;;40283:14:::1;::::0;-1:-1:-1;;;;;40283:14:0::1;40275:37:::0;40271:1025:::1;;40387:9;::::0;-1:-1:-1;;;40387:9:0;::::1;;;40382:55;;40413:14;;;;;;;;;-1:-1:-1::0;;;;;40413:14:0::1;-1:-1:-1::0;;;;;40398:37:0::1;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;40382:55;40555:14;;;;;;;;;-1:-1:-1::0;;;;;40555:14:0::1;-1:-1:-1::0;;;;;40540:37:0::1;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;40601:6;40596:190;40617:15;:22:::0;40613:26;::::1;40596:190;;;40669:18;:38;40688:15;40704:1;40688:18;;;;;;;;;::::0;;;::::1;::::0;;;;;::::1;::::0;-1:-1:-1;;;;;40688:18:0::1;40669:38:::0;;;::::1;::::0;;;;;;;;;::::1;;40665:105;;;40724:16;:36;40741:15;40757:1;40741:18;;;;;;;;;::::0;;;::::1;::::0;;;;;::::1;::::0;-1:-1:-1;;;;;40741:18:0;;::::1;40724:36:::0;;;;::::1;::::0;;;;;;;;;;;40709:61;;-1:-1:-1;;;40709:61:0;;;;40724:36;::::1;::::0;40709:59:::1;::::0;:61:::1;::::0;;::::1;::::0;40741:18;40709:61;;;;;;40741:18;40724:36;40709:61;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;40665:105;40641:3;;40596:190;;;;40909:18;;40887;;40869:15;:36;:58;40865:420;;41008:11;40989:16;:14;:16::i;:::-;:30;40985:228;;;41044:50;41060:33;41077:15;;41060:12;;:16;;:33;;;;:::i;41044:50::-;40985:228;;;41143:50;41159:33;41176:15;;41159:12;;:16;;:33;;;;:::i;41143:50::-;41254:15;41233:18;:36:::0;40865:420:::1;-1:-1:-1::0;;;;;48204:17:0;::::2;;::::0;;;:11:::2;:17;::::0;;;;;;;48222:10:::2;48204:29:::0;;;;;;;;:40:::2;::::0;48238:5;48204:33:::2;:40::i;:::-;-1:-1:-1::0;;;;;48172:17:0;::::2;;::::0;;;:11:::2;:17;::::0;;;;;;;48190:10:::2;48172:29:::0;;;;;;;:72;;;;48278:18;;;:12:::2;:18:::0;;;;;:29:::2;::::0;48301:5;48278:22:::2;:29::i;:::-;-1:-1:-1::0;;;;;48257:18:0;;::::2;;::::0;;;:12:::2;:18;::::0;;;;;:50;;;;48337:16;;::::2;::::0;;;;:27:::2;::::0;48358:5;48337:20:::2;:27::i;:::-;-1:-1:-1::0;;;;;48318:16:0;;::::2;;::::0;;;:12:::2;:16;::::0;;;;;;;;:46;;;;48380:25;;;;;;;48318:16;;48380:25;;::::2;::::0;-1:-1:-1;;;;;;;;;;;48380:25:0;;;;;;;::::2;-1:-1:-1::0;48425:4:0::2;::::0;47981:456;-1:-1:-1;;;;47981:456:0:o;46385:244::-;42796:5;;46492:4;;-1:-1:-1;;;;;42796:5:0;42782:10;:19;42774:61;;;;;-1:-1:-1;;;42774:61:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42774:61:0;;;;;;;;;;;;;;;-1:-1:-1;46514:23:0::1;:56:::0;;-1:-1:-1;;;;;46514:56:0;::::1;-1:-1:-1::0;;;;;;46514:56:0;;::::1;;::::0;;46581:9:::1;:16:::0;;-1:-1:-1;;;;46581:16:0::1;-1:-1:-1::0;;;46581:16:0::1;::::0;;46514:56;46385:244;;;:::o;38956:32::-;;;;:::o;39664:25::-;;;-1:-1:-1;;;;;39664:25:0;;:::o;51339:1156::-;51445:9;;51416:7;;-1:-1:-1;;;51445:9:0;;;;51441:1047;;;51490:14;51524:9;51552:14;51585;51618:22;51658:23;;;;;;;;;-1:-1:-1;;;;;51658:23:0;-1:-1:-1;;;;;51658:39:0;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51658:41:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51658:41:0;;-1:-1:-1;51658:41:0;-1:-1:-1;51658:41:0;;-1:-1:-1;51658:41:0;-1:-1:-1;51724:13:0;51716:45;;;;;-1:-1:-1;;;51716:45:0;;;;;;;;;;;;-1:-1:-1;;;51716:45:0;;;;;;;;;;;;;;;51785:22;51793:5;51804:2;51785:18;:22::i;:::-;51778:29;;;;;;;;;51441:1047;51956:14;;51980:11;;51941:65;;;-1:-1:-1;;;51941:65:0;;-1:-1:-1;;;;;51980:11:0;;;51941:65;;;;51993:12;51941:65;;;;;;51918:20;;51956:14;;;;;51941:38;;:65;;;;;;;;;;;;;;;51956:14;51941:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51941:65:0;52287:8;;:26;;;-1:-1:-1;;;52287:26:0;;;;51941:65;;-1:-1:-1;52119:14:0;;;;;;;;;;-1:-1:-1;;;;;52287:8:0;;:24;;:26;;;;;;;;;;;;;;:8;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52287:26:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52287:26:0;;-1:-1:-1;52287:26:0;-1:-1:-1;52287:26:0;;-1:-1:-1;52287:26:0;-1:-1:-1;52338:13:0;52330:45;;;;;-1:-1:-1;;;52330:45:0;;;;;;;;;;;;-1:-1:-1;;;52330:45:0;;;;;;;;;;;;;;;52399:60;52446:12;52399:42;52424:16;;52418:2;:22;52407:5;52399:18;;:42;;;;:::i;:60::-;52392:67;;;;;;;;;;25721:83;25787:9;;;;25721:83;:::o;49756:330::-;49941:10;49872:4;49929:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;49929:32:0;;;;;;;;;;:48;;49966:10;49929:36;:48::i;:::-;49906:10;49894:23;;;;:11;:23;;;;;;;;-1:-1:-1;;;;;49894:32:0;;;;;;;;;;;;:83;;;49993:63;;;;;;49894:32;;49993:63;;;;;;;;;;;-1:-1:-1;50074:4:0;49756:330;;;;;:::o;42394:29::-;;;;:::o;42890:27::-;;;-1:-1:-1;;;;;42890:27:0;;:::o;39517:26::-;;;-1:-1:-1;;;;;39517:26:0;;:::o;38529:29::-;;;-1:-1:-1;;;;;38529:29:0;;:::o;46143:155::-;-1:-1:-1;;;;;46273:17:0;46241:7;46273:17;;;:12;:17;;;;;;;46143:155::o;35357:148::-;34937:12;:10;:12::i;:::-;34927:6;;;;;-1:-1:-1;;;;;34927:6:0;;;:22;;;34919:67;;;;;-1:-1:-1;;;34919:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35448:6:::1;::::0;35427:40:::1;::::0;35464:1:::1;::::0;35448:6:::1;::::0;::::1;-1:-1:-1::0;;;;;35448:6:0::1;::::0;35427:40:::1;::::0;35464:1;;35427:40:::1;35478:6;:19:::0;;-1:-1:-1;;;;;;35478:19:0::1;::::0;;35357:148::o;54929:130::-;42796:5;;-1:-1:-1;;;;;42796:5:0;42782:10;:19;42774:61;;;;;-1:-1:-1;;;42774:61:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42774:61:0;;;;;;;;;;;;;;;55027:17:::1;:24:::0;54929:130::o;50862:180::-;42796:5;;50955:4;;-1:-1:-1;;;;;42796:5:0;42782:10;:19;42774:61;;;;;-1:-1:-1;;;42774:61:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42774:61:0;;;;;;;;;;;;;;;-1:-1:-1;50978:14:0::1;:24:::0;;-1:-1:-1;;;;;50978:24:0;::::1;-1:-1:-1::0;;;;;;50978:24:0;;::::1;;::::0;;;50862:180;;;:::o;55961:235::-;56038:10;;-1:-1:-1;;;;;56038:10:0;56024;:24;56016:45;;;;;-1:-1:-1;;;56016:45:0;;;;;;;;;;;;-1:-1:-1;;;56016:45:0;;;;;;;;;;;;;;;56089:3;;;56109:10;;;-1:-1:-1;;;;;;56103:16:0;;;-1:-1:-1;;;;;56109:10:0;;;56103:16;;;;;;;;56130:23;;;;;56169:19;;;56089:3;;;56169:19;;;56184:3;;;;56169:19;;;;;;;;;;;;;;;;55961:235;:::o;63552:305::-;42796:5;;-1:-1:-1;;;;;42796:5:0;42782:10;:19;42774:61;;;;;-1:-1:-1;;;42774:61:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42774:61:0;;;;;;;;;;;;;;;63706:14:::1;;63691:12;:29;63683:97;;;;-1:-1:-1::0;;;63683:97:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63821:8;::::0;63791:58:::1;::::0;-1:-1:-1;;;;;63821:8:0::1;63832::::0;63842:6;63791:22:::1;:58::i;:::-;63552:305:::0;;:::o;38703:21::-;;;-1:-1:-1;;;38703:21:0;;;;;:::o;51050:211::-;42796:5;;51155:4;;-1:-1:-1;;;;;42796:5:0;42782:10;:19;42774:61;;;;;-1:-1:-1;;;42774:61:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42774:61:0;;;;;;;;;;;;;;;-1:-1:-1;51177:14:0::1;:24:::0;;-1:-1:-1;;;;;;51177:24:0::1;-1:-1:-1::0;;;;;51177:24:0;;;::::1;::::0;;;::::1;-1:-1:-1::0;;;;51212:17:0::1;::::0;;-1:-1:-1;;51050:211:0:o;39696:30::-;;;;:::o;34715:79::-;34780:6;;;;;-1:-1:-1;;;;;34780:6:0;;34715:79::o;45353:458::-;45491:14;;45515:8;;45531:16;;;45476:72;;;-1:-1:-1;;;45476:72:0;;-1:-1:-1;;;;;45515:8:0;;;45476:72;;;;45525:22;;;;45476:72;;;;;;45427:7;;;;45491:14;;45476:38;;:72;;;;;;;;;;;;;;45491:14;45476:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45476:72:0;;-1:-1:-1;45604:20:0;45627:19;:17;:19::i;:::-;45604:42;-1:-1:-1;45688:19:0;45710:44;45740:13;45710:25;45604:42;45727:7;45710:16;:25::i;:44::-;45688:66;-1:-1:-1;;;;45353:458:0;:::o;37808:33::-;;;;:::o;58550:2197::-;58685:10;39211:18;39203:27;;;;;;-1:-1:-1;;;;;39249:19:0;;39263:4;39249:19;;39241:28;;;;;;20677:1:::1;21283:7;;:19;;21275:63;;;::::0;;-1:-1:-1;;;21275:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;20677:1;21416:7;:18:::0;-1:-1:-1;;;;;58743:30:0;::::2;;::::0;;;:18:::2;:30;::::0;;;;;::::2;;58735:73;;;::::0;;-1:-1:-1;;;58735:73:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;58887:10;58877:21;::::0;;;:9:::2;:21;::::0;;;;;58908:15:::2;58901:2;58877:26:::0;;::::2;58876:47;;58868:107;;;;-1:-1:-1::0;;;58868:107:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59036:24;59062:22:::0;59088:40:::2;59106:9;59117:10;59088:17;:40::i;:::-;59035:93;;;;59174:10;-1:-1:-1::0;;;;;59167:28:0::2;;59196:10;59167:40;;;;;;;;;;;;;-1:-1:-1::0;;;;;59167:40:0::2;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;59167:40:0;59147:60;::::2;;59139:115;;;;-1:-1:-1::0;;;59139:115:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59367:11;::::0;59355:8:::2;::::0;59314:18:::2;::::0;-1:-1:-1;;;;;59355:8:0;;::::2;59367:11:::0;::::2;59355:23;:82:::0;::::2;;;-1:-1:-1::0;59389:8:0::2;::::0;59382:38:::2;::::0;;-1:-1:-1;;;59382:38:0;;59409:10:::2;59382:38;::::0;::::2;::::0;;;59423:14;;-1:-1:-1;;;;;59389:8:0::2;::::0;59382:26:::2;::::0;:38;;;;;::::2;::::0;;;;;;;;59389:8;59382:38;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;59382:38:0;:55:::2;59355:82;59351:658;;;59493:10;59485:27;:45:::0;-1:-1:-1;59481:517:0::2;;59557:11;;;;;;;;;-1:-1:-1::0;;;;;59557:11:0::2;-1:-1:-1::0;;;;;59551:26:0::2;;59585:14;59551:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;59634:11:0::2;::::0;59628:58:::2;::::0;;-1:-1:-1;;;59628:58:0;;59664:4:::2;59628:58;::::0;::::2;::::0;;;;;;;;;-1:-1:-1;;;;;59634:11:0;;::::2;::::0;-1:-1:-1;59628:27:0::2;::::0;-1:-1:-1;59628:58:0;;;;;-1:-1:-1;59628:58:0::2;::::0;;;;;;;59634:11:::2;::::0;59628:58;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;59628:58:0;59621:66:::2;;;;59722:14;59710:9;:26;59706:87;;;59738:55;59754:10;59778:14;59766:9;:26;59738:15;:55::i;:::-;-1:-1:-1::0;59828:4:0::2;59481:517;;;59906:8;::::0;59899:38:::2;::::0;;-1:-1:-1;;;59899:38:0;;59926:10:::2;59899:38;::::0;::::2;::::0;;;-1:-1:-1;;;;;59906:8:0;;::::2;::::0;59899:26:::2;::::0;:38;;;;;::::2;::::0;;;;;;;;;59906:8;59899:38;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;59899:38:0;59881:56;::::2;;59873:109;;;;-1:-1:-1::0;;;59873:109:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60067:91;60101:10;60114;60134:4;60141:16;60067:26;:91::i;:::-;60176:13;60171:107;;60225:8;::::0;60191:87:::2;::::0;-1:-1:-1;;;;;60225:8:0::2;60236:10;60256:4;60263:14:::0;60191:26:::2;:87::i;:::-;60358:7;::::0;60330:63:::2;::::0;60344:48:::2;::::0;60371:20;;60344:22:::2;::::0;:9;;:13:::2;:22::i;:48::-;60330:9:::0;;:13:::2;:63::i;:::-;60421:12;::::0;60318:75;;-1:-1:-1;60421:27:0::2;::::0;60318:75;60421:16:::2;:27::i;:::-;60406:12;:42:::0;60499:10:::2;60486:24;::::0;;;:12:::2;:24;::::0;;;;;:39:::2;::::0;60515:9;60486:28:::2;:39::i;:::-;60472:10;60459:24;::::0;;;:12:::2;:24;::::0;;;;;;;:66;;;;60538:9:::2;:21:::0;;;;;60562:15:::2;60538:39:::0;;60595:45;;;;;;;60472:10;;60459:24;;-1:-1:-1;;;;;;;;;;;60595:45:0;;;;;;;;::::2;60661:8;::::0;60656:83:::2;::::0;;-1:-1:-1;;;;;60661:8:0;;::::2;60656:83:::0;;60671:10:::2;60656:83;::::0;::::2;::::0;;;::::2;::::0;;;;;;;;;;;;;;;;;;;;;;;::::2;::::0;;;;;;;::::2;-1:-1:-1::0;;20633:1:0::1;21595:7;:22:::0;-1:-1:-1;;;;58550:2197:0:o;24996:87::-;25068:7;25061:14;;;;;;;;-1:-1:-1;;25061:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25035:13;;25061:14;;25068:7;;25061:14;;25068:7;25061:14;;;;;;;;;;;;;;;;;;;;;;;;37997:23;;;-1:-1:-1;;;;;37997:23:0;;:::o;55387:261::-;55466:12;;-1:-1:-1;;;;;55466:12:0;55452:10;:26;55444:47;;;;;-1:-1:-1;;;55444:47:0;;;;;;;;;;;;-1:-1:-1;;;55444:47:0;;;;;;;;;;;;;;;55521:5;;;55553:12;;;-1:-1:-1;;;;;;55545:20:0;;;-1:-1:-1;;;;;55553:12:0;;;55545:20;;;;;;;;55576:25;;;;;55617:23;;;55521:5;;;55617:23;;;55634:5;;;;55617:23;;;;;;;;;;;;;;;;55387:261;:::o;50348:506::-;50522:10;50469:4;50510:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;50510:32:0;;;;;;;;;;50557:27;;;50553:193;;50613:10;50636:1;50601:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;50601:32:0;;;;;;;;;:36;50553:193;;;50705:29;:8;50718:15;50705:12;:29::i;:::-;50682:10;50670:23;;;;:11;:23;;;;;;;;-1:-1:-1;;;;;50670:32:0;;;;;;;;;:64;50553:193;50770:10;50791:23;;;;:11;:23;;;;;;;;-1:-1:-1;;;;;50761:63:0;;50791:32;;;;;;;;;;;50761:63;;;;;;;;;50770:10;50761:63;;;;;;;;;;;-1:-1:-1;50842:4:0;;50348:506;-1:-1:-1;;;50348:506:0:o;46855:371::-;47006:4;46958:2;-1:-1:-1;;;;;39211:18:0;;39203:27;;;;;;-1:-1:-1;;;;;39249:19:0;;39263:4;39249:19;;39241:28;;;;;;40283:14:::1;::::0;-1:-1:-1;;;;;40283:14:0::1;40275:37:::0;40271:1025:::1;;40387:9;::::0;-1:-1:-1;;;40387:9:0;::::1;;;40382:55;;40413:14;;;;;;;;;-1:-1:-1::0;;;;;40413:14:0::1;-1:-1:-1::0;;;;;40398:37:0::1;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;40382:55;40555:14;;;;;;;;;-1:-1:-1::0;;;;;40555:14:0::1;-1:-1:-1::0;;;;;40540:37:0::1;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;40601:6;40596:190;40617:15;:22:::0;40613:26;::::1;40596:190;;;40669:18;:38;40688:15;40704:1;40688:18;;;;;;;;;::::0;;;::::1;::::0;;;;;::::1;::::0;-1:-1:-1;;;;;40688:18:0::1;40669:38:::0;;;::::1;::::0;;;;;;;;;::::1;;40665:105;;;40724:16;:36;40741:15;40757:1;40741:18;;;;;;;;;::::0;;;::::1;::::0;;;;;::::1;::::0;-1:-1:-1;;;;;40741:18:0;;::::1;40724:36:::0;;;;::::1;::::0;;;;;;;;;;;40709:61;;-1:-1:-1;;;40709:61:0;;;;40724:36;::::1;::::0;40709:59:::1;::::0;:61:::1;::::0;;::::1;::::0;40741:18;40709:61;;;;;;40741:18;40724:36;40709:61;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;40665:105;40641:3;;40596:190;;;;40909:18;;40887;;40869:15;:36;:58;40865:420;;41008:11;40989:16;:14;:16::i;:::-;:30;40985:228;;;41044:50;41060:33;41077:15;;41060:12;;:16;;:33;;;;:::i;41044:50::-;40985:228;;;41143:50;41159:33;41176:15;;41159:12;;:16;;:33;;;;:::i;41143:50::-;41254:15;41233:18;:36:::0;40865:420:::1;47068:10:::2;47055:24;::::0;;;:12:::2;:24;::::0;;;;;:35:::2;::::0;47084:5;47055:28:::2;:35::i;:::-;47041:10;47028:24;::::0;;;:12:::2;:24;::::0;;;;;:62;;;;-1:-1:-1;;;;;47120:16:0;::::2;::::0;;;;:27:::2;::::0;47141:5;47120:20:::2;:27::i;:::-;-1:-1:-1::0;;;;;47101:16:0;::::2;;::::0;;;:12:::2;:16;::::0;;;;;;;;:46;;;;47163:31;;;;;;;47101:16;;47172:10:::2;::::0;-1:-1:-1;;;;;;;;;;;47163:31:0;;;;;;;;::::2;-1:-1:-1::0;47214:4:0::2;::::0;46855:371;-1:-1:-1;;;46855:371:0:o;43163:496::-;42796:5;;-1:-1:-1;;;;;42796:5:0;42782:10;:19;42774:61;;;;;-1:-1:-1;;;42774:61:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42774:61:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;43353:37:0;::::1;;::::0;;;:24:::1;:37;::::0;;;;;::::1;;43348:77;;43392:15;:33:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;43392:33:0;;;;;::::1;::::0;;-1:-1:-1;;;;;;43392:33:0::1;-1:-1:-1::0;;;;;43392:33:0;::::1;;::::0;;43348:77:::1;-1:-1:-1::0;;;;;43438:37:0;;::::1;;::::0;;;:24:::1;:37;::::0;;;;;;;:44;;43478:4:::1;-1:-1:-1::0;;43438:44:0;;::::1;::::0;::::1;::::0;;;43493:18:::1;:31:::0;;;;;:38;;;;::::1;::::0;;::::1;::::0;;43542:18:::1;:31:::0;;;;;:52;;;;43605:16:::1;:29:::0;;;;;;:46;;-1:-1:-1;;;;;;43605:46:0::1;::::0;;;::::1;;::::0;;43163:496::o;56618:1189::-;56732:7;;56774:14;56766:51;;;;;-1:-1:-1;;;56766:51:0;;;;;;;;;;;;-1:-1:-1;;;56766:51:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;56836:30:0;;;;;;:18;:30;;;;;;;;56828:73;;;;;-1:-1:-1;;;56828:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;57057:30:0;;56969:24;57057:30;;;:18;:30;;;;;;57010:12;;56996:112;;57093:14;;56996:92;;57093:2;57051:36;;56996:50;;37744:13;;56996:92;;:9;;:13;:27::i;:112::-;56969:139;;57138:63;57172:28;57189:10;57172:16;:28::i;57138:63::-;57226:14;;57119:82;;-1:-1:-1;;;;;;57226:14:0;57214:71;;57265:16;-1:-1:-1;57283:1:0;;-1:-1:-1;57257:28:0;;57214:71;57298:19;57320:16;:14;:16::i;:::-;57298:38;;57370:24;57397:19;:17;:19::i;:::-;57370:46;;57444:37;57484:73;37744:13;57484:50;57498:35;57520:12;;37744:13;57498:21;;:35;;;;:::i;:::-;57484:9;;:13;:50::i;:73::-;57444:113;;57570:22;57595:116;37800:1;57696:2;:14;57595:96;57674:16;;57668:2;:22;57595:68;57646:16;57595:46;57629:11;57595:29;:33;;:46;;;;:::i;:116::-;57766:16;;;;-1:-1:-1;56618:1189:0;;-1:-1:-1;;;;;;;56618:1189:0:o;40082:32::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40082:32:0;;-1:-1:-1;40082:32:0;:::o;44070:146::-;42796:5;;-1:-1:-1;;;;;42796:5:0;42782:10;:19;42774:61;;;;;-1:-1:-1;;;42774:61:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42774:61:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44169:31:0::1;44203:5;44169:31:::0;;;:18:::1;:31;::::0;;;;:39;;-1:-1:-1;;44169:39:0::1;::::0;;44070:146::o;61036:153::-;41913:3;;-1:-1:-1;;;;;41913:3:0;41899:10;:17;41891:58;;;;;-1:-1:-1;;;41891:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;61130:11:::1;:18:::0;;;61164:17:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;61036:153:::0;:::o;44728:567::-;44782:7;;;44846:406;44867:15;:22;44863:26;;44846:406;;;44984:1;-1:-1:-1;;;;;44954:32:0;:15;44970:1;44954:18;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;44954:18:0;:32;44950:289;;45028:169;45189:7;45028:156;45147:36;45164:15;45180:1;45164:18;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45164:18:0;45147:16;:36::i;:::-;45028:114;45103:18;:38;45122:15;45138:1;45122:18;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45122:18:0;-1:-1:-1;;;;;45103:38:0;-1:-1:-1;;;;;45103:38:0;;;;;;;;;;;;;45097:2;:44;45028:64;45084:7;45035:15;45051:1;45035:18;;;;;;;;;;;;;;;;;;;45028:51;;;-1:-1:-1;;;45028:51:0;;45073:4;45028:51;;;;;;-1:-1:-1;;;;;45035:18:0;;;;45028:36;;:51;;;;;;;;;;45035:18;45028:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45028:51:0;;:55;:64::i;:169::-;45006:191;;;;44950:289;44891:3;;44846:406;;;-1:-1:-1;45269:18:0;-1:-1:-1;44728:567:0;:::o;44268:452::-;44336:7;44409:9;44422:14;44442:8;;;;;;;;;-1:-1:-1;;;;;44442:8:0;-1:-1:-1;;;;;44442:24:0;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44442:26:0;;;;;;;;;;;-1:-1:-1;44442:26:0;-1:-1:-1;44487:13:0;44479:45;;;;;-1:-1:-1;;;44479:45:0;;;;;;;;;;;;-1:-1:-1;;;44479:45:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44679:31:0;;;;;;;:18;:31;;;;;;;;;44593:16;:29;;;;;;;44632:11;;44578:76;;-1:-1:-1;;;44578:76:0;;44632:11;;;44578:76;;;;44645:8;44578:76;;;;;;44544:168;;44577:134;;44673:2;:37;;44577:91;;44660:7;;44593:29;;;;44578:53;;:76;;;;;44679:31;44578:76;;;;;;44593:29;44578:76;;;;;;;;;;44577:134;44544:28;44552:5;44563:8;44544:18;:28::i;:168::-;44537:175;44268:452;-1:-1:-1;;;;44268:452:0:o;42863:20::-;;;-1:-1:-1;;;;;42863:20:0;;:::o;47533:186::-;-1:-1:-1;;;;;47683:19:0;;;47651:7;47683:19;;;:11;:19;;;;;;;;:28;;;;;;;;;;;;;47533:186::o;42133:57::-;;;;;;;;;;;;;;;:::o;60821:141::-;41913:3;;-1:-1:-1;;;;;41913:3:0;41899:10;:17;41891:58;;;;;-1:-1:-1;;;41891:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;60911:7:::1;:14:::0;;;60941:13:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;60821:141:::0;:::o;42197:52::-;;;;;;;;;;;;-1:-1:-1;;;;;42197:52:0;;:::o;42361:26::-;;;;:::o;43667:134::-;42796:5;;-1:-1:-1;;;;;42796:5:0;42782:10;:19;42774:61;;;;;-1:-1:-1;;;42774:61:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42774:61:0;;;;;;;;;;;;;;;43766:15:::1;:27:::0;43667:134::o;55720:233::-;41913:3;;-1:-1:-1;;;;;41913:3:0;41899:10;:17;41891:58;;;;;-1:-1:-1;;;41891:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;55843:10:::1;::::0;;-1:-1:-1;;;;;55864:24:0;;::::1;-1:-1:-1::0;;;;;;55864:24:0;::::1;::::0;::::1;::::0;;;55904:41:::1;::::0;;55843:10;;;::::1;55904:41:::0;;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;;;;;;;;;::::1;41960:1;55720:233:::0;:::o;55131:248::-;42796:5;;-1:-1:-1;;;;;42796:5:0;42782:10;:19;42774:61;;;;;-1:-1:-1;;;42774:61:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42774:61:0;;;;;;;;;;;;;;;55257:12:::1;::::0;;-1:-1:-1;;;;;55280:28:0;;::::1;-1:-1:-1::0;;;;;;55280:28:0;::::1;::::0;::::1;::::0;;;55324:47:::1;::::0;;55257:12;;;::::1;55324:47:::0;;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;;;;;;;;;::::1;42846:1;55131:248:::0;:::o;42072:54::-;;;;;;;;;;;;;:::o;35660:244::-;34937:12;:10;:12::i;:::-;34927:6;;;;;-1:-1:-1;;;;;34927:6:0;;;:22;;;34919:67;;;;;-1:-1:-1;;;34919:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35749:22:0;::::1;35741:73;;;;-1:-1:-1::0;;;35741:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35851:6;::::0;35830:38:::1;::::0;-1:-1:-1;;;;;35830:38:0;;::::1;::::0;35851:6:::1;::::0;::::1;;::::0;35830:38:::1;::::0;;;::::1;35879:6;:17:::0;;-1:-1:-1;;;;;35879:17:0;;::::1;;;-1:-1:-1::0;;;;;;35879:17:0;;::::1;::::0;;;::::1;::::0;;35660:244::o;40024:51::-;;;;;;;;;;;;;;;:::o;37911:33::-;;;;:::o;1917:181::-;1975:7;2007:5;;;2031:6;;;;2023:46;;;;;-1:-1:-1;;;2023:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;2089:1;1917:181;-1:-1:-1;;;1917:181:0:o;2381:136::-;2439:7;2466:43;2470:1;2473;2466:43;;;;;;;;;;;;;;;;;:3;:43::i;62994:316::-;37744:13;63138:9;:30;;:64;;;;;63185:17;;63172:9;:30;;63138:64;63134:169;;;63219:12;:24;;;63263:28;;;;;;;;;;;;;;;;;63134:169;62994:316;:::o;3271:471::-;3329:7;3574:6;3570:47;;-1:-1:-1;3604:1:0;3597:8;;3570:47;3641:5;;;3645:1;3641;:5;:1;3665:5;;;;;:10;3657:56;;;;-1:-1:-1;;;3657:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4218:132;4276:7;4303:39;4307:1;4310;4303:39;;;;;;;;;;;;;;;;;:3;:39::i;15873:177::-;15983:58;;;-1:-1:-1;;;;;15983:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15983:58:0;-1:-1:-1;;;15983:58:0;;;15956:86;;15976:5;;15956:19;:86::i;:::-;15873:177;;;:::o;22254:106::-;22342:10;22254:106;:::o;63318:179::-;63426:12;;;63388;63426;;;;;;;;;-1:-1:-1;;;;;63405:7:0;;;63419:5;;63405:34;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;63405:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63387:52;;;63458:7;63450:39;;;;;-1:-1:-1;;;63450:39:0;;;;;;;;;;;;-1:-1:-1;;;63450:39:0;;;;;;;;;;;;;;16058:205;16186:68;;;-1:-1:-1;;;;;16186:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16186:68:0;-1:-1:-1;;;16186:68:0;;;16159:96;;16179:5;;16159:19;:96::i;:::-;16058:205;;;;:::o;2820:192::-;2906:7;2942:12;2934:6;;;;2926:29;;;;-1:-1:-1;;;2926:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2978:5:0;;;2820:192::o;4846:278::-;4932:7;4967:12;4960:5;4952:28;;;;-1:-1:-1;;;4952:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4991:9;5007:1;5003;:5;;;;;;;4846:278;-1:-1:-1;;;;;4846:278:0:o;18178:761::-;18602:23;18628:69;18656:4;18628:69;;;;;;;;;;;;;;;;;18636:5;-1:-1:-1;;;;;18628:27:0;;;:69;;;;;:::i;:::-;18712:17;;18602:95;;-1:-1:-1;18712:21:0;18708:224;;18854:10;18843:30;;;;;;;;;;;;;;;-1:-1:-1;18843:30:0;18835:85;;;;-1:-1:-1;;;18835:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12856:196;12959:12;12991:53;13014:6;13022:4;13028:1;13031:12;14363;14396:18;14407:6;14396:10;:18::i;:::-;14388:60;;;;;-1:-1:-1;;;14388:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14522:12;14536:23;14563:6;-1:-1:-1;;;;;14563:11:0;14583:8;14594:4;14563:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14563:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14521:78;;;;14614:7;14610:595;;;14645:10;-1:-1:-1;14638:17:0;;-1:-1:-1;14638:17:0;14610:595;14759:17;;:21;14755:439;;15022:10;15016:17;15083:15;15070:10;15066:2;15062:19;15055:44;14970:148;15158:20;;-1:-1:-1;;;15158:20:0;;;;;;;;;;;;;;;;;15165:12;;15158:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9938:422;10305:20;10344:8;;;9938:422::o

Swarm Source

ipfs://289d45859ab654ae5033bbdc0bc29301377139c53ec6613622e623c31e5dbdf0

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

A stablecoin for every major cryptocurrency. Use ichi.farm stablecoins that support your favorite coins. If one doesn't exist, create it.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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.