ETH Price: $3,456.43 (-1.87%)
Gas: 3 Gwei

Contract

0xa08A721dFB595753FFf335636674D76C455B275C
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Exchange Fei130886142021-08-24 14:38:181064 days ago1629815898IN
0xa08A721d...C455B275C
0 ETH0.0090528896.82130845
Exchange Fei130859982021-08-24 5:00:281065 days ago1629781228IN
0xa08A721d...C455B275C
0 ETH0.0062061766.37544749
Exchange Fei130859262021-08-24 4:44:101065 days ago1629780250IN
0xa08A721d...C455B275C
0 ETH0.0041228648
Exchange Fei130583822021-08-19 22:14:011069 days ago1629411241IN
0xa08A721d...C455B275C
0 ETH0.0036465339
Exchange Fei130555282021-08-19 11:52:501069 days ago1629373970IN
0xa08A721d...C455B275C
0 ETH0.0030006632.09228184
Exchange Fei130509692021-08-18 18:59:151070 days ago1629313155IN
0xa08A721d...C455B275C
0 ETH0.0033078138.51086643
Exchange Fei130127352021-08-12 21:12:251076 days ago1628802745IN
0xa08A721d...C455B275C
0 ETH0.0041844444.75291078
Exchange Fei129925342021-08-09 18:18:441079 days ago1628533124IN
0xa08A721d...C455B275C
0 ETH0.0055933765.12023675
Exchange Fei129636832021-08-05 7:38:411084 days ago1628149121IN
0xa08A721d...C455B275C
0 ETH0.0038558944
Exchange Fei129596782021-08-04 16:17:041084 days ago1628093824IN
0xa08A721d...C455B275C
0 ETH0.0053312664
Exchange Fei129047502021-07-26 23:36:431093 days ago1627342603IN
0xa08A721d...C455B275C
0 ETH0.0015827119
Exchange Fei128966732021-07-25 17:17:001094 days ago1627233420IN
0xa08A721d...C455B275C
0 ETH0.0021658226
Exchange Fei128881782021-07-24 9:26:051095 days ago1627118765IN
0xa08A721d...C455B275C
0 ETH0.0009163111
Exchange Fei128595672021-07-19 21:59:071100 days ago1626731947IN
0xa08A721d...C455B275C
0 ETH0.0019992224
Exchange Fei128561862021-07-19 9:21:121100 days ago1626686472IN
0xa08A721d...C455B275C
0 ETH0.0016660220
Exchange Fei128512242021-07-18 14:47:241101 days ago1626619644IN
0xa08A721d...C455B275C
0 ETH0.0020158824.2
Exchange Fei128342632021-07-15 22:39:191104 days ago1626388759IN
0xa08A721d...C455B275C
0 ETH0.0026656332
Exchange Fei128316022021-07-15 12:39:061104 days ago1626352746IN
0xa08A721d...C455B275C
0 ETH0.0027489333.00000145
Exchange Fei128081852021-07-11 20:28:431108 days ago1626035323IN
0xa08A721d...C455B275C
0 ETH0.0008330110
Exchange Fei127922762021-07-09 9:07:411111 days ago1625821661IN
0xa08A721d...C455B275C
0 ETH0.0017493221
Exchange Fei127474272021-07-02 9:41:581117 days ago1625218918IN
0xa08A721d...C455B275C
0 ETH0.0016660220
Exchange Fei127395852021-07-01 4:11:401119 days ago1625112700IN
0xa08A721d...C455B275C
0 ETH0.001670717
Exchange Fei126965432021-06-24 11:23:091125 days ago1624533789IN
0xa08A721d...C455B275C
0 ETH0.0009163111
Exchange Fei126755142021-06-21 4:21:501129 days ago1624249310IN
0xa08A721d...C455B275C
0 ETH0.0028322334
Exchange Fei126576962021-06-18 9:42:071131 days ago1624009327IN
0xa08A721d...C455B275C
0 ETH0.0012243113
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
132532972021-09-19 1:44:551039 days ago1632015895
0xa08A721d...C455B275C
3,934.91005029 ETH
132532972021-09-19 1:44:551039 days ago1632015895
0xa08A721d...C455B275C
50 ETH
131238282021-08-30 1:15:271059 days ago1630286127
0xa08A721d...C455B275C
6,000 ETH
130886142021-08-24 14:38:181064 days ago1629815898
0xa08A721d...C455B275C
0.47248748 ETH
130859982021-08-24 5:00:281065 days ago1629781228
0xa08A721d...C455B275C
0.76489456 ETH
130583822021-08-19 22:14:011069 days ago1629411241
0xa08A721d...C455B275C
0.08258225 ETH
130555282021-08-19 11:52:501069 days ago1629373970
0xa08A721d...C455B275C
0.71988781 ETH
130127352021-08-12 21:12:251076 days ago1628802745
0xa08A721d...C455B275C
0.97162386 ETH
129596782021-08-04 16:17:041084 days ago1628093824
0xa08A721d...C455B275C
0.34252575 ETH
129047502021-07-26 23:36:431093 days ago1627342603
0xa08A721d...C455B275C
0.38653994 ETH
128966732021-07-25 17:17:001094 days ago1627233420
0xa08A721d...C455B275C
0.32924519 ETH
128881782021-07-24 9:26:051095 days ago1627118765
0xa08A721d...C455B275C
0.55809247 ETH
128595672021-07-19 21:59:071100 days ago1626731947
0xa08A721d...C455B275C
0.11052819 ETH
128561862021-07-19 9:21:121100 days ago1626686472
0xa08A721d...C455B275C
0.01563069 ETH
128512242021-07-18 14:47:241101 days ago1626619644
0xa08A721d...C455B275C
0.04178936 ETH
128342632021-07-15 22:39:191104 days ago1626388759
0xa08A721d...C455B275C
0.34811449 ETH
128316022021-07-15 12:39:061104 days ago1626352746
0xa08A721d...C455B275C
0.29550946 ETH
128081852021-07-11 20:28:431108 days ago1626035323
0xa08A721d...C455B275C
0.0090704 ETH
127922762021-07-09 9:07:411111 days ago1625821661
0xa08A721d...C455B275C
0.09920215 ETH
127474272021-07-02 9:41:581117 days ago1625218918
0xa08A721d...C455B275C
0.07534736 ETH
127395852021-07-01 4:11:401119 days ago1625112700
0xa08A721d...C455B275C
0.19262812 ETH
126965432021-06-24 11:23:091125 days ago1624533789
0xa08A721d...C455B275C
0.24008273 ETH
126755142021-06-21 4:21:501129 days ago1624249310
0xa08A721d...C455B275C
0.01309306 ETH
126576962021-06-18 9:42:071131 days ago1624009327
0xa08A721d...C455B275C
0.01665182 ETH
126447152021-06-16 9:32:521133 days ago1623835972
0xa08A721d...C455B275C
0.09787862 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EthReserveStabilizer

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license
File 1 of 16 : EthReserveStabilizer.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "./IReserveStabilizer.sol";
import "../refs/OracleRef.sol";
import "@openzeppelin/contracts/utils/Address.sol";

/// @title implementation for an ETH Reserve Stabilizer
/// @author Fei Protocol
contract EthReserveStabilizer is OracleRef, IReserveStabilizer {

    /// @notice the USD per FEI exchange rate denominated in basis points (1/10000)
    uint256 public override usdPerFeiBasisPoints;
    
    /// @notice the denominator for basis granularity (10,000)
    uint256 public constant BASIS_POINTS_GRANULARITY = 10_000;

    constructor(
        address _core,
        address _oracle,
        uint _usdPerFeiBasisPoints
    ) public OracleRef(_core, _oracle) {
        require(_usdPerFeiBasisPoints <= BASIS_POINTS_GRANULARITY, "ReserveStabilizer: Exceeds bp granularity");
        usdPerFeiBasisPoints = _usdPerFeiBasisPoints;
        emit UsdPerFeiRateUpdate(_usdPerFeiBasisPoints);
    }

    receive() external payable {}

    /// @notice exchange FEI for ETH from the reserves
    /// @param feiAmount of FEI to sell
    function exchangeFei(uint256 feiAmount) external override whenNotPaused returns (uint256 amountOut) {
        updateOracle();

        fei().burnFrom(msg.sender, feiAmount);

        amountOut = getAmountOut(feiAmount);

        Address.sendValue(msg.sender, amountOut);
        emit FeiExchange(msg.sender, feiAmount, amountOut);
    }

    /// @notice returns the amount out of ETH from the reserves
    /// @param amountFeiIn the amount of FEI in
    function getAmountOut(uint256 amountFeiIn) public view override returns(uint256) {
        uint256 adjustedAmountIn = amountFeiIn * usdPerFeiBasisPoints / BASIS_POINTS_GRANULARITY;
        return _getEthAmountOut(adjustedAmountIn);
    }

    function _getEthAmountOut(uint256 usdAmountIn) internal view returns(uint256) {
        return invert(peg()).mul(usdAmountIn).asUint256();
    }

    /// @notice withdraw ETH from the reserves
    /// @param to address to send ETH
    /// @param amountOut amount of ETH to send
    function withdraw(address payable to, uint256 amountOut) external override onlyPCVController {
        Address.sendValue(to, amountOut);
        emit Withdrawal(msg.sender, to, amountOut);
    }

    /// @notice sets the USD per FEI exchange rate rate
    /// @param _usdPerFeiBasisPoints the USD per FEI exchange rate denominated in basis points (1/10000)
    function setUsdPerFeiRate(uint256 _usdPerFeiBasisPoints) external override onlyGovernor {
        require(_usdPerFeiBasisPoints <= BASIS_POINTS_GRANULARITY, "ReserveStabilizer: Exceeds bp granularity");
        usdPerFeiBasisPoints = _usdPerFeiBasisPoints;
        emit UsdPerFeiRateUpdate(_usdPerFeiBasisPoints);
    }
}

File 2 of 16 : IReserveStabilizer.sol
pragma solidity ^0.6.2;

/// @title a Reserve Stabilizer interface
/// @author Fei Protocol
interface IReserveStabilizer {

    // ----------- Events -----------
    event FeiExchange(address indexed to, uint256 feiAmountIn, uint256 amountOut);

    event UsdPerFeiRateUpdate(uint256 basisPoints);

    event Withdrawal(
        address indexed _caller,
        address indexed _to,
        uint256 _amount
    );

    // ----------- State changing api -----------

    function exchangeFei(uint256 feiAmount) external returns (uint256);

    // ----------- PCV Controller only state changing api -----------

    function withdraw(address payable to, uint256 amount) external;

    // ----------- Governor only state changing api -----------

    function setUsdPerFeiRate(uint256 exchangeRateBasisPoints) external;

    // ----------- Getters -----------

    function usdPerFeiBasisPoints() external view returns (uint256);

    function getAmountOut(uint256 amountIn) external view returns (uint256);
}

File 3 of 16 : OracleRef.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "./IOracleRef.sol";
import "./CoreRef.sol";

/// @title Reference to an Oracle
/// @author Fei Protocol
/// @notice defines some utilities around interacting with the referenced oracle
abstract contract OracleRef is IOracleRef, CoreRef {
    using Decimal for Decimal.D256;

    /// @notice the oracle reference by the contract
    IOracle public override oracle;

    /// @notice OracleRef constructor
    /// @param _core Fei Core to reference
    /// @param _oracle oracle to reference
    constructor(address _core, address _oracle) public CoreRef(_core) {
        _setOracle(_oracle);
    }

    /// @notice sets the referenced oracle
    /// @param _oracle the new oracle to reference
    function setOracle(address _oracle) external override onlyGovernor {
        _setOracle(_oracle);
    }

    /// @notice invert a peg price
    /// @param price the peg price to invert
    /// @return the inverted peg as a Decimal
    /// @dev the inverted peg would be X per FEI
    function invert(Decimal.D256 memory price)
        public
        pure
        override
        returns (Decimal.D256 memory)
    {
        return Decimal.one().div(price);
    }

    /// @notice updates the referenced oracle
    /// @return true if the update is effective
    function updateOracle() public override returns (bool) {
        return oracle.update();
    }

    /// @notice the peg price of the referenced oracle
    /// @return the peg as a Decimal
    /// @dev the peg is defined as FEI per X with X being ETH, dollars, etc
    function peg() public view override returns (Decimal.D256 memory) {
        (Decimal.D256 memory _peg, bool valid) = oracle.read();
        require(valid, "OracleRef: oracle invalid");
        return _peg;
    }

    function _setOracle(address _oracle) internal {
        oracle = IOracle(_oracle);
        emit OracleUpdate(_oracle);
    }
}

File 4 of 16 : IOracleRef.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "../oracle/IOracle.sol";

/// @title OracleRef interface
/// @author Fei Protocol
interface IOracleRef {
    // ----------- Events -----------

    event OracleUpdate(address indexed _oracle);

    // ----------- State changing API -----------

    function updateOracle() external returns (bool);

    // ----------- Governor only state changing API -----------

    function setOracle(address _oracle) external;

    // ----------- Getters -----------

    function oracle() external view returns (IOracle);

    function peg() external view returns (Decimal.D256 memory);

    function invert(Decimal.D256 calldata price)
        external
        pure
        returns (Decimal.D256 memory);
}

File 5 of 16 : IOracle.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "../external/Decimal.sol";

/// @title generic oracle interface for Fei Protocol
/// @author Fei Protocol
interface IOracle {
    // ----------- Events -----------

    event Update(uint256 _peg);

    // ----------- State changing API -----------

    function update() external returns (bool);

    // ----------- Getters -----------

    function read() external view returns (Decimal.D256 memory, bool);

    function isOutdated() external view returns (bool);
    
}

File 6 of 16 : Decimal.sol
/*
    Copyright 2019 dYdX Trading Inc.
    Copyright 2020 Empty Set Squad <[email protected]>
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "./SafeMathCopy.sol";

/**
 * @title Decimal
 * @author dYdX
 *
 * Library that defines a fixed-point number with 18 decimal places.
 */
library Decimal {
    using SafeMathCopy for uint256;

    // ============ Constants ============

    uint256 private constant BASE = 10**18;

    // ============ Structs ============


    struct D256 {
        uint256 value;
    }

    // ============ Static Functions ============

    function zero()
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: 0 });
    }

    function one()
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: BASE });
    }

    function from(
        uint256 a
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: a.mul(BASE) });
    }

    function ratio(
        uint256 a,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: getPartial(a, BASE, b) });
    }

    // ============ Self Functions ============

    function add(
        D256 memory self,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.add(b.mul(BASE)) });
    }

    function sub(
        D256 memory self,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.sub(b.mul(BASE)) });
    }

    function sub(
        D256 memory self,
        uint256 b,
        string memory reason
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.sub(b.mul(BASE), reason) });
    }

    function mul(
        D256 memory self,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.mul(b) });
    }

    function div(
        D256 memory self,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.div(b) });
    }

    function pow(
        D256 memory self,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        if (b == 0) {
            return from(1);
        }

        D256 memory temp = D256({ value: self.value });
        for (uint256 i = 1; i < b; i++) {
            temp = mul(temp, self);
        }

        return temp;
    }

    function add(
        D256 memory self,
        D256 memory b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.add(b.value) });
    }

    function sub(
        D256 memory self,
        D256 memory b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.sub(b.value) });
    }

    function sub(
        D256 memory self,
        D256 memory b,
        string memory reason
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.sub(b.value, reason) });
    }

    function mul(
        D256 memory self,
        D256 memory b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: getPartial(self.value, b.value, BASE) });
    }

    function div(
        D256 memory self,
        D256 memory b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: getPartial(self.value, BASE, b.value) });
    }

    function equals(D256 memory self, D256 memory b) internal pure returns (bool) {
        return self.value == b.value;
    }

    function greaterThan(D256 memory self, D256 memory b) internal pure returns (bool) {
        return compareTo(self, b) == 2;
    }

    function lessThan(D256 memory self, D256 memory b) internal pure returns (bool) {
        return compareTo(self, b) == 0;
    }

    function greaterThanOrEqualTo(D256 memory self, D256 memory b) internal pure returns (bool) {
        return compareTo(self, b) > 0;
    }

    function lessThanOrEqualTo(D256 memory self, D256 memory b) internal pure returns (bool) {
        return compareTo(self, b) < 2;
    }

    function isZero(D256 memory self) internal pure returns (bool) {
        return self.value == 0;
    }

    function asUint256(D256 memory self) internal pure returns (uint256) {
        return self.value.div(BASE);
    }

    // ============ Core Methods ============

    function getPartial(
        uint256 target,
        uint256 numerator,
        uint256 denominator
    )
    private
    pure
    returns (uint256)
    {
        return target.mul(numerator).div(denominator);
    }

    function compareTo(
        D256 memory a,
        D256 memory b
    )
    private
    pure
    returns (uint256)
    {
        if (a.value == b.value) {
            return 1;
        }
        return a.value > b.value ? 2 : 0;
    }
}

File 7 of 16 : SafeMathCopy.sol
// SPDX-License-Identifier: MIT

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 SafeMathCopy { // To avoid namespace collision between openzeppelin safemath and uniswap 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 8 of 16 : CoreRef.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "./ICoreRef.sol";
import "@openzeppelin/contracts/utils/Pausable.sol";
import "@openzeppelin/contracts/utils/Address.sol";

/// @title A Reference to Core
/// @author Fei Protocol
/// @notice defines some modifiers and utilities around interacting with Core
abstract contract CoreRef is ICoreRef, Pausable {
    ICore private _core;

    /// @notice CoreRef constructor
    /// @param core Fei Core to reference
    constructor(address core) public {
        _core = ICore(core);
    }

    modifier ifMinterSelf() {
        if (_core.isMinter(address(this))) {
            _;
        }
    }

    modifier ifBurnerSelf() {
        if (_core.isBurner(address(this))) {
            _;
        }
    }

    modifier onlyMinter() {
        require(_core.isMinter(msg.sender), "CoreRef: Caller is not a minter");
        _;
    }

    modifier onlyBurner() {
        require(_core.isBurner(msg.sender), "CoreRef: Caller is not a burner");
        _;
    }

    modifier onlyPCVController() {
        require(
            _core.isPCVController(msg.sender),
            "CoreRef: Caller is not a PCV controller"
        );
        _;
    }

    modifier onlyGovernor() {
        require(
            _core.isGovernor(msg.sender),
            "CoreRef: Caller is not a governor"
        );
        _;
    }

    modifier onlyGuardianOrGovernor() {
        require(
            _core.isGovernor(msg.sender) ||
            _core.isGuardian(msg.sender),
            "CoreRef: Caller is not a guardian or governor"
        );
        _;
    }

    modifier onlyFei() {
        require(msg.sender == address(fei()), "CoreRef: Caller is not FEI");
        _;
    }

    modifier onlyGenesisGroup() {
        require(
            msg.sender == _core.genesisGroup(),
            "CoreRef: Caller is not GenesisGroup"
        );
        _;
    }

    modifier postGenesis() {
        require(
            _core.hasGenesisGroupCompleted(),
            "CoreRef: Still in Genesis Period"
        );
        _;
    }

    modifier nonContract() {
        require(!Address.isContract(msg.sender), "CoreRef: Caller is a contract");
        _;
    }

    /// @notice set new Core reference address
    /// @param core the new core address
    function setCore(address core) external override onlyGovernor {
        _core = ICore(core);
        emit CoreUpdate(core);
    }

    /// @notice set pausable methods to paused
    function pause() public override onlyGuardianOrGovernor {
        _pause();
    }

    /// @notice set pausable methods to unpaused
    function unpause() public override onlyGuardianOrGovernor {
        _unpause();
    }

    /// @notice address of the Core contract referenced
    /// @return ICore implementation address
    function core() public view override returns (ICore) {
        return _core;
    }

    /// @notice address of the Fei contract referenced by Core
    /// @return IFei implementation address
    function fei() public view override returns (IFei) {
        return _core.fei();
    }

    /// @notice address of the Tribe contract referenced by Core
    /// @return IERC20 implementation address
    function tribe() public view override returns (IERC20) {
        return _core.tribe();
    }

    /// @notice fei balance of contract
    /// @return fei amount held
    function feiBalance() public view override returns (uint256) {
        return fei().balanceOf(address(this));
    }

    /// @notice tribe balance of contract
    /// @return tribe amount held
    function tribeBalance() public view override returns (uint256) {
        return tribe().balanceOf(address(this));
    }

    function _burnFeiHeld() internal {
        fei().burn(feiBalance());
    }

    function _mintFei(uint256 amount) internal {
        fei().mint(address(this), amount);
    }
}

File 9 of 16 : ICoreRef.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "../core/ICore.sol";

/// @title CoreRef interface
/// @author Fei Protocol
interface ICoreRef {
    // ----------- Events -----------

    event CoreUpdate(address indexed _core);

    // ----------- Governor only state changing api -----------

    function setCore(address core) external;

    function pause() external;

    function unpause() external;

    // ----------- Getters -----------

    function core() external view returns (ICore);

    function fei() external view returns (IFei);

    function tribe() external view returns (IERC20);

    function feiBalance() external view returns (uint256);

    function tribeBalance() external view returns (uint256);
}

File 10 of 16 : ICore.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "./IPermissions.sol";
import "../token/IFei.sol";

/// @title Core Interface
/// @author Fei Protocol
interface ICore is IPermissions {
    // ----------- Events -----------

    event FeiUpdate(address indexed _fei);
    event TribeUpdate(address indexed _tribe);
    event GenesisGroupUpdate(address indexed _genesisGroup);
    event TribeAllocation(address indexed _to, uint256 _amount);
    event GenesisPeriodComplete(uint256 _timestamp);

    // ----------- Governor only state changing api -----------

    function init() external;

    // ----------- Governor only state changing api -----------

    function setFei(address token) external;

    function setTribe(address token) external;

    function setGenesisGroup(address _genesisGroup) external;

    function allocateTribe(address to, uint256 amount) external;

    // ----------- Genesis Group only state changing api -----------

    function completeGenesisGroup() external;

    // ----------- Getters -----------

    function fei() external view returns (IFei);

    function tribe() external view returns (IERC20);

    function genesisGroup() external view returns (address);

    function hasGenesisGroupCompleted() external view returns (bool);
}

File 11 of 16 : IPermissions.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

/// @title Permissions interface
/// @author Fei Protocol
interface IPermissions {
    // ----------- Governor only state changing api -----------

    function createRole(bytes32 role, bytes32 adminRole) external;

    function grantMinter(address minter) external;

    function grantBurner(address burner) external;

    function grantPCVController(address pcvController) external;

    function grantGovernor(address governor) external;

    function grantGuardian(address guardian) external;

    function revokeMinter(address minter) external;

    function revokeBurner(address burner) external;

    function revokePCVController(address pcvController) external;

    function revokeGovernor(address governor) external;

    function revokeGuardian(address guardian) external;

    // ----------- Revoker only state changing api -----------

    function revokeOverride(bytes32 role, address account) external;

    // ----------- Getters -----------

    function isBurner(address _address) external view returns (bool);

    function isMinter(address _address) external view returns (bool);

    function isGovernor(address _address) external view returns (bool);

    function isGuardian(address _address) external view returns (bool);

    function isPCVController(address _address) external view returns (bool);
}

File 12 of 16 : IFei.sol
pragma solidity ^0.6.2;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

/// @title FEI stablecoin interface
/// @author Fei Protocol
interface IFei is IERC20 {
    // ----------- Events -----------

    event Minting(
        address indexed _to,
        address indexed _minter,
        uint256 _amount
    );

    event Burning(
        address indexed _to,
        address indexed _burner,
        uint256 _amount
    );

    event IncentiveContractUpdate(
        address indexed _incentivized,
        address indexed _incentiveContract
    );

    // ----------- State changing api -----------

    function burn(uint256 amount) external;

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    // ----------- Burner only state changing api -----------

    function burnFrom(address account, uint256 amount) external;

    // ----------- Minter only state changing api -----------

    function mint(address account, uint256 amount) external;

    // ----------- Governor only state changing api -----------

    function setIncentiveContract(address account, address incentive) external;

    // ----------- Getters -----------

    function incentiveContract(address account) external view returns (address);
}

File 13 of 16 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // 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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 14 of 16 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () internal {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 15 of 16 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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 16 of 16 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

Settings
{
  "metadata": {
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_core","type":"address"},{"internalType":"address","name":"_oracle","type":"address"},{"internalType":"uint256","name":"_usdPerFeiBasisPoints","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_core","type":"address"}],"name":"CoreUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"feiAmountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountOut","type":"uint256"}],"name":"FeiExchange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_oracle","type":"address"}],"name":"OracleUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"basisPoints","type":"uint256"}],"name":"UsdPerFeiRateUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_caller","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[],"name":"BASIS_POINTS_GRANULARITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"core","outputs":[{"internalType":"contract ICore","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"feiAmount","type":"uint256"}],"name":"exchangeFei","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fei","outputs":[{"internalType":"contract IFei","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feiBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountFeiIn","type":"uint256"}],"name":"getAmountOut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"price","type":"tuple"}],"name":"invert","outputs":[{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"","type":"tuple"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"oracle","outputs":[{"internalType":"contract IOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"peg","outputs":[{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"core","type":"address"}],"name":"setCore","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_oracle","type":"address"}],"name":"setOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_usdPerFeiBasisPoints","type":"uint256"}],"name":"setUsdPerFeiRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tribe","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tribeBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateOracle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdPerFeiBasisPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"amountOut","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506040516200178d3803806200178d833981016040819052620000349162000140565b600080546001600160a81b0319166101006001600160a01b0386160217905582826200006081620000d8565b5050612710811115620000905760405162461bcd60e51b8152600401620000879062000182565b60405180910390fd5b60028190556040517faee888256452978daae54521a8e5500b89620b081dc05d26e212b3f42b5123bc90620000c7908390620001cb565b60405180910390a1505050620001d4565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fc17757c327b55fd7741523e1dd00ff52d2a125e38254b540926d1de3a3c9bfa990600090a250565b80516001600160a01b03811681146200013a57600080fd5b92915050565b60008060006060848603121562000155578283fd5b62000161858562000122565b925062000172856020860162000122565b9150604084015190509250925092565b60208082526029908201527f5265736572766553746162696c697a65723a2045786365656473206270206772604082015268616e756c617269747960b81b606082015260800190565b90815260200190565b6115a980620001e46000396000f3fe6080604052600436106101235760003560e01c806380009630116100a0578063b86677fe11610064578063b86677fe146102eb578063d6f124f014610300578063da5cd8d014610315578063f2f4eb261461032a578063f3fef3a31461033f5761012a565b8063800096301461026c5780638456cb591461028c5780639a9ba4da146102a1578063b4905897146102b6578063b7e93121146102cb5761012a565b806368b504e8116100e757806368b504e8146101e05780636b6dff0a146101f55780636e791c831461020a5780637adbf9731461022a5780637dc0d1d01461024a5761012a565b80631f1cb62b1461012f5780633f4ba83a1461015a5780635c195217146101715780635c975abb1461019e57806367d50d86146101c05761012a565b3661012a57005b600080fd5b34801561013b57600080fd5b5061014461035f565b6040516101519190611508565b60405180910390f35b34801561016657600080fd5b5061016f610418565b005b34801561017d57600080fd5b5061019161018c3660046111c8565b61054c565b6040516101519190611512565b3480156101aa57600080fd5b506101b3610571565b6040516101519190611228565b3480156101cc57600080fd5b5061016f6101db3660046111c8565b61057a565b3480156101ec57600080fd5b5061019161067c565b34801561020157600080fd5b50610191610682565b34801561021657600080fd5b50610144610225366004611158565b61070c565b34801561023657600080fd5b5061016f6102453660046110d9565b610732565b34801561025657600080fd5b5061025f6107de565b60405161015191906111fb565b34801561027857600080fd5b5061016f6102873660046110d9565b6107ed565b34801561029857600080fd5b5061016f6108dd565b3480156102ad57600080fd5b5061025f610a0f565b3480156102c257600080fd5b50610191610a96565b3480156102d757600080fd5b506101916102e63660046111c8565b610aa0565b3480156102f757600080fd5b5061025f610b94565b34801561030c57600080fd5b506101b3610be3565b34801561032157600080fd5b50610191610c61565b34801561033657600080fd5b5061025f610c67565b34801561034b57600080fd5b5061016f61035a3660046110f5565b610c7b565b6103676110c6565b61036f6110c6565b600154604080516315f789a960e21b815281516000936001600160a01b0316926357de26a49260048082019391829003018186803b1580156103b057600080fd5b505afa1580156103c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e8919061117d565b91509150806104125760405162461bcd60e51b815260040161040990611406565b60405180910390fd5b50905090565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b89061044c9033906004016111fb565b60206040518083038186803b15801561046457600080fd5b505afa158015610478573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049c9190611120565b806105265750600054604051630c68ba2160e01b81526101009091046001600160a01b031690630c68ba21906104d69033906004016111fb565b60206040518083038186803b1580156104ee57600080fd5b505afa158015610502573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105269190611120565b6105425760405162461bcd60e51b8152600401610409906112b4565b61054a610d74565b565b60008061271060025484028161055e57fe5b04905061056a81610de2565b9392505050565b60005460ff1690565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906105ae9033906004016111fb565b60206040518083038186803b1580156105c657600080fd5b505afa1580156105da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fe9190611120565b61061a5760405162461bcd60e51b8152600401610409906114c7565b61271081111561063c5760405162461bcd60e51b81526004016104099061143d565b60028190556040517faee888256452978daae54521a8e5500b89620b081dc05d26e212b3f42b5123bc90610671908390611512565b60405180910390a150565b61271081565b600061068c610b94565b6001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016106b791906111fb565b60206040518083038186803b1580156106cf57600080fd5b505afa1580156106e3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070791906111e0565b905090565b6107146110c6565b61072c82610720610e07565b9063ffffffff610e2916565b92915050565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906107669033906004016111fb565b60206040518083038186803b15801561077e57600080fd5b505afa158015610792573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b69190611120565b6107d25760405162461bcd60e51b8152600401610409906114c7565b6107db81610e60565b50565b6001546001600160a01b031681565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906108219033906004016111fb565b60206040518083038186803b15801561083957600080fd5b505afa15801561084d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108719190611120565b61088d5760405162461bcd60e51b8152600401610409906114c7565b60008054610100600160a81b0319166101006001600160a01b03841690810291909117825560405190917fad9400e618eb1344fde53db22397a1b82c765527ecbba3a5c86bcac15090828b91a250565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906109119033906004016111fb565b60206040518083038186803b15801561092957600080fd5b505afa15801561093d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109619190611120565b806109eb5750600054604051630c68ba2160e01b81526101009091046001600160a01b031690630c68ba219061099b9033906004016111fb565b60206040518083038186803b1580156109b357600080fd5b505afa1580156109c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109eb9190611120565b610a075760405162461bcd60e51b8152600401610409906112b4565b61054a610eaa565b60008060019054906101000a90046001600160a01b03166001600160a01b0316639a9ba4da6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a5e57600080fd5b505afa158015610a72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610707919061113c565b600061068c610a0f565b6000610aaa610571565b15610ac75760405162461bcd60e51b8152600401610409906113dc565b610acf610be3565b50610ad8610a0f565b6001600160a01b03166379cc679033846040518363ffffffff1660e01b8152600401610b0592919061120f565b600060405180830381600087803b158015610b1f57600080fd5b505af1158015610b33573d6000803e3d6000fd5b50505050610b408261054c565b9050610b4c3382610f05565b336001600160a01b03167fea321006a2b7b24311095a42fc4662b56341aeef7c80f685e4445e7c795749348383604051610b8792919061151b565b60405180910390a2919050565b60008060019054906101000a90046001600160a01b03166001600160a01b031663b86677fe6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a5e57600080fd5b6001546040805163a2e6204560e01b815290516000926001600160a01b03169163a2e6204591600480830192602092919082900301818787803b158015610c2957600080fd5b505af1158015610c3d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107079190611120565b60025481565b60005461010090046001600160a01b031690565b6000546040516330c34a1f60e11b81526101009091046001600160a01b031690636186943e90610caf9033906004016111fb565b60206040518083038186803b158015610cc757600080fd5b505afa158015610cdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cff9190611120565b610d1b5760405162461bcd60e51b815260040161040990611301565b610d258282610f05565b816001600160a01b0316336001600160a01b03167f2717ead6b9200dd235aad468c9809ea400fe33ac69b5bfaa6d3e90fc922b639883604051610d689190611512565b60405180910390a35050565b610d7c610571565b610d985760405162461bcd60e51b815260040161040990611286565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610dcb610fa6565b604051610dd891906111fb565b60405180910390a1565b600061072c610e0283610df661022561035f565b9063ffffffff610faa16565b610fd1565b610e0f6110c6565b506040805160208101909152670de0b6b3a7640000815290565b610e316110c6565b6040518060200160405280610e578560000151670de0b6b3a76400008660000151610fee565b90529392505050565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fc17757c327b55fd7741523e1dd00ff52d2a125e38254b540926d1de3a3c9bfa990600090a250565b610eb2610571565b15610ecf5760405162461bcd60e51b8152600401610409906113dc565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610dcb610fa6565b80471015610f255760405162461bcd60e51b8152600401610409906113a5565b6000826001600160a01b031682604051610f3e906111f8565b60006040518083038185875af1925050503d8060008114610f7b576040519150601f19603f3d011682016040523d82523d6000602084013e610f80565b606091505b5050905080610fa15760405162461bcd60e51b815260040161040990611348565b505050565b3390565b610fb26110c6565b604080516020810190915283518190610e57908563ffffffff61101816565b805160009061072c90670de0b6b3a764000063ffffffff61105216565b600061101082611004868663ffffffff61101816565b9063ffffffff61105216565b949350505050565b6000826110275750600061072c565b8282028284828161103457fe5b041461056a5760405162461bcd60e51b815260040161040990611486565b600061056a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250600081836110b05760405162461bcd60e51b81526004016104099190611233565b5060008385816110bc57fe5b0495945050505050565b6040518060200160405280600081525090565b6000602082840312156110ea578081fd5b813561056a81611550565b60008060408385031215611107578081fd5b823561111281611550565b946020939093013593505050565b600060208284031215611131578081fd5b815161056a81611565565b60006020828403121561114d578081fd5b815161056a81611550565b600060208284031215611169578081fd5b6111736020611529565b9135825250919050565b6000808284036040811215611190578283fd5b602081121561119d578283fd5b506111a86020611529565b8351815260208401519092506111bd81611565565b809150509250929050565b6000602082840312156111d9578081fd5b5035919050565b6000602082840312156111f1578081fd5b5051919050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6000602080835283518082850152825b8181101561125f57858101830151858201604001528201611243565b818111156112705783604083870101525b50601f01601f1916929092016040019392505050565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b6020808252602d908201527f436f72655265663a2043616c6c6572206973206e6f742061206775617264696160408201526c371037b91033b7bb32b93737b960991b606082015260800190565b60208082526027908201527f436f72655265663a2043616c6c6572206973206e6f7420612050435620636f6e6040820152663a3937b63632b960c91b606082015260800190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526019908201527f4f7261636c655265663a206f7261636c6520696e76616c696400000000000000604082015260600190565b60208082526029908201527f5265736572766553746162696c697a65723a2045786365656473206270206772604082015268616e756c617269747960b81b606082015260800190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526021908201527f436f72655265663a2043616c6c6572206973206e6f74206120676f7665726e6f6040820152603960f91b606082015260800190565b9051815260200190565b90815260200190565b918252602082015260400190565b60405181810167ffffffffffffffff8111828210171561154857600080fd5b604052919050565b6001600160a01b03811681146107db57600080fd5b80151581146107db57600080fdfea2646970667358221220eae194e223667c140f213e5cb118cb4f99da5b9f893e8d0effc550180cfd4bae64736f6c634300060600330000000000000000000000008d5ed43dca8c2f7dfb20cf7b53cc7e593635d7b9000000000000000000000000087f35bd241e41fc28e43f0e8c58d283dd55bd65000000000000000000000000000000000000000000000000000000000000251c

Deployed Bytecode

0x6080604052600436106101235760003560e01c806380009630116100a0578063b86677fe11610064578063b86677fe146102eb578063d6f124f014610300578063da5cd8d014610315578063f2f4eb261461032a578063f3fef3a31461033f5761012a565b8063800096301461026c5780638456cb591461028c5780639a9ba4da146102a1578063b4905897146102b6578063b7e93121146102cb5761012a565b806368b504e8116100e757806368b504e8146101e05780636b6dff0a146101f55780636e791c831461020a5780637adbf9731461022a5780637dc0d1d01461024a5761012a565b80631f1cb62b1461012f5780633f4ba83a1461015a5780635c195217146101715780635c975abb1461019e57806367d50d86146101c05761012a565b3661012a57005b600080fd5b34801561013b57600080fd5b5061014461035f565b6040516101519190611508565b60405180910390f35b34801561016657600080fd5b5061016f610418565b005b34801561017d57600080fd5b5061019161018c3660046111c8565b61054c565b6040516101519190611512565b3480156101aa57600080fd5b506101b3610571565b6040516101519190611228565b3480156101cc57600080fd5b5061016f6101db3660046111c8565b61057a565b3480156101ec57600080fd5b5061019161067c565b34801561020157600080fd5b50610191610682565b34801561021657600080fd5b50610144610225366004611158565b61070c565b34801561023657600080fd5b5061016f6102453660046110d9565b610732565b34801561025657600080fd5b5061025f6107de565b60405161015191906111fb565b34801561027857600080fd5b5061016f6102873660046110d9565b6107ed565b34801561029857600080fd5b5061016f6108dd565b3480156102ad57600080fd5b5061025f610a0f565b3480156102c257600080fd5b50610191610a96565b3480156102d757600080fd5b506101916102e63660046111c8565b610aa0565b3480156102f757600080fd5b5061025f610b94565b34801561030c57600080fd5b506101b3610be3565b34801561032157600080fd5b50610191610c61565b34801561033657600080fd5b5061025f610c67565b34801561034b57600080fd5b5061016f61035a3660046110f5565b610c7b565b6103676110c6565b61036f6110c6565b600154604080516315f789a960e21b815281516000936001600160a01b0316926357de26a49260048082019391829003018186803b1580156103b057600080fd5b505afa1580156103c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e8919061117d565b91509150806104125760405162461bcd60e51b815260040161040990611406565b60405180910390fd5b50905090565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b89061044c9033906004016111fb565b60206040518083038186803b15801561046457600080fd5b505afa158015610478573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049c9190611120565b806105265750600054604051630c68ba2160e01b81526101009091046001600160a01b031690630c68ba21906104d69033906004016111fb565b60206040518083038186803b1580156104ee57600080fd5b505afa158015610502573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105269190611120565b6105425760405162461bcd60e51b8152600401610409906112b4565b61054a610d74565b565b60008061271060025484028161055e57fe5b04905061056a81610de2565b9392505050565b60005460ff1690565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906105ae9033906004016111fb565b60206040518083038186803b1580156105c657600080fd5b505afa1580156105da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fe9190611120565b61061a5760405162461bcd60e51b8152600401610409906114c7565b61271081111561063c5760405162461bcd60e51b81526004016104099061143d565b60028190556040517faee888256452978daae54521a8e5500b89620b081dc05d26e212b3f42b5123bc90610671908390611512565b60405180910390a150565b61271081565b600061068c610b94565b6001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016106b791906111fb565b60206040518083038186803b1580156106cf57600080fd5b505afa1580156106e3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070791906111e0565b905090565b6107146110c6565b61072c82610720610e07565b9063ffffffff610e2916565b92915050565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906107669033906004016111fb565b60206040518083038186803b15801561077e57600080fd5b505afa158015610792573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b69190611120565b6107d25760405162461bcd60e51b8152600401610409906114c7565b6107db81610e60565b50565b6001546001600160a01b031681565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906108219033906004016111fb565b60206040518083038186803b15801561083957600080fd5b505afa15801561084d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108719190611120565b61088d5760405162461bcd60e51b8152600401610409906114c7565b60008054610100600160a81b0319166101006001600160a01b03841690810291909117825560405190917fad9400e618eb1344fde53db22397a1b82c765527ecbba3a5c86bcac15090828b91a250565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906109119033906004016111fb565b60206040518083038186803b15801561092957600080fd5b505afa15801561093d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109619190611120565b806109eb5750600054604051630c68ba2160e01b81526101009091046001600160a01b031690630c68ba219061099b9033906004016111fb565b60206040518083038186803b1580156109b357600080fd5b505afa1580156109c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109eb9190611120565b610a075760405162461bcd60e51b8152600401610409906112b4565b61054a610eaa565b60008060019054906101000a90046001600160a01b03166001600160a01b0316639a9ba4da6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a5e57600080fd5b505afa158015610a72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610707919061113c565b600061068c610a0f565b6000610aaa610571565b15610ac75760405162461bcd60e51b8152600401610409906113dc565b610acf610be3565b50610ad8610a0f565b6001600160a01b03166379cc679033846040518363ffffffff1660e01b8152600401610b0592919061120f565b600060405180830381600087803b158015610b1f57600080fd5b505af1158015610b33573d6000803e3d6000fd5b50505050610b408261054c565b9050610b4c3382610f05565b336001600160a01b03167fea321006a2b7b24311095a42fc4662b56341aeef7c80f685e4445e7c795749348383604051610b8792919061151b565b60405180910390a2919050565b60008060019054906101000a90046001600160a01b03166001600160a01b031663b86677fe6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a5e57600080fd5b6001546040805163a2e6204560e01b815290516000926001600160a01b03169163a2e6204591600480830192602092919082900301818787803b158015610c2957600080fd5b505af1158015610c3d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107079190611120565b60025481565b60005461010090046001600160a01b031690565b6000546040516330c34a1f60e11b81526101009091046001600160a01b031690636186943e90610caf9033906004016111fb565b60206040518083038186803b158015610cc757600080fd5b505afa158015610cdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cff9190611120565b610d1b5760405162461bcd60e51b815260040161040990611301565b610d258282610f05565b816001600160a01b0316336001600160a01b03167f2717ead6b9200dd235aad468c9809ea400fe33ac69b5bfaa6d3e90fc922b639883604051610d689190611512565b60405180910390a35050565b610d7c610571565b610d985760405162461bcd60e51b815260040161040990611286565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610dcb610fa6565b604051610dd891906111fb565b60405180910390a1565b600061072c610e0283610df661022561035f565b9063ffffffff610faa16565b610fd1565b610e0f6110c6565b506040805160208101909152670de0b6b3a7640000815290565b610e316110c6565b6040518060200160405280610e578560000151670de0b6b3a76400008660000151610fee565b90529392505050565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fc17757c327b55fd7741523e1dd00ff52d2a125e38254b540926d1de3a3c9bfa990600090a250565b610eb2610571565b15610ecf5760405162461bcd60e51b8152600401610409906113dc565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610dcb610fa6565b80471015610f255760405162461bcd60e51b8152600401610409906113a5565b6000826001600160a01b031682604051610f3e906111f8565b60006040518083038185875af1925050503d8060008114610f7b576040519150601f19603f3d011682016040523d82523d6000602084013e610f80565b606091505b5050905080610fa15760405162461bcd60e51b815260040161040990611348565b505050565b3390565b610fb26110c6565b604080516020810190915283518190610e57908563ffffffff61101816565b805160009061072c90670de0b6b3a764000063ffffffff61105216565b600061101082611004868663ffffffff61101816565b9063ffffffff61105216565b949350505050565b6000826110275750600061072c565b8282028284828161103457fe5b041461056a5760405162461bcd60e51b815260040161040990611486565b600061056a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250600081836110b05760405162461bcd60e51b81526004016104099190611233565b5060008385816110bc57fe5b0495945050505050565b6040518060200160405280600081525090565b6000602082840312156110ea578081fd5b813561056a81611550565b60008060408385031215611107578081fd5b823561111281611550565b946020939093013593505050565b600060208284031215611131578081fd5b815161056a81611565565b60006020828403121561114d578081fd5b815161056a81611550565b600060208284031215611169578081fd5b6111736020611529565b9135825250919050565b6000808284036040811215611190578283fd5b602081121561119d578283fd5b506111a86020611529565b8351815260208401519092506111bd81611565565b809150509250929050565b6000602082840312156111d9578081fd5b5035919050565b6000602082840312156111f1578081fd5b5051919050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6000602080835283518082850152825b8181101561125f57858101830151858201604001528201611243565b818111156112705783604083870101525b50601f01601f1916929092016040019392505050565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b6020808252602d908201527f436f72655265663a2043616c6c6572206973206e6f742061206775617264696160408201526c371037b91033b7bb32b93737b960991b606082015260800190565b60208082526027908201527f436f72655265663a2043616c6c6572206973206e6f7420612050435620636f6e6040820152663a3937b63632b960c91b606082015260800190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526019908201527f4f7261636c655265663a206f7261636c6520696e76616c696400000000000000604082015260600190565b60208082526029908201527f5265736572766553746162696c697a65723a2045786365656473206270206772604082015268616e756c617269747960b81b606082015260800190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526021908201527f436f72655265663a2043616c6c6572206973206e6f74206120676f7665726e6f6040820152603960f91b606082015260800190565b9051815260200190565b90815260200190565b918252602082015260400190565b60405181810167ffffffffffffffff8111828210171561154857600080fd5b604052919050565b6001600160a01b03811681146107db57600080fd5b80151581146107db57600080fdfea2646970667358221220eae194e223667c140f213e5cb118cb4f99da5b9f893e8d0effc550180cfd4bae64736f6c63430006060033

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

0000000000000000000000008d5ed43dca8c2f7dfb20cf7b53cc7e593635d7b9000000000000000000000000087f35bd241e41fc28e43f0e8c58d283dd55bd65000000000000000000000000000000000000000000000000000000000000251c

-----Decoded View---------------
Arg [0] : _core (address): 0x8d5ED43dCa8C2F7dFB20CF7b53CC7E593635d7b9
Arg [1] : _oracle (address): 0x087F35bd241e41Fc28E43f0E8C58d283DD55bD65
Arg [2] : _usdPerFeiBasisPoints (uint256): 9500

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000008d5ed43dca8c2f7dfb20cf7b53cc7e593635d7b9
Arg [1] : 000000000000000000000000087f35bd241e41fc28e43f0e8c58d283dd55bd65
Arg [2] : 000000000000000000000000000000000000000000000000000000000000251c


Deployed Bytecode Sourcemap

260:2499:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;1591:211:10;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1591:211:10;;;:::i;:::-;;;;;;;;;;;;;;;;2605:85:7;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2605:85:7;;;:::i;:::-;;1552:237:5;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;1552:237:5;;;;;;;;:::i;:::-;;;;;;;;1052:84:15;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1052:84:15;;;:::i;:::-;;;;;;;;2438:319:5;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;2438:319:5;;;;;;;;:::i;532:57::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;532:57:5;;;:::i;3562:119:7:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3562:119:7;;;:::i;1045:178:10:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;1045:178:10;;;;;;;;:::i;761:103::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;761:103:10;;;;;;;;:::i;398:30::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;398:30:10;;;:::i;:::-;;;;;;;;2287:129:7;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;2287:129:7;;;;;;;;:::i;2469:81::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2469:81:7;;;:::i;2992:86::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2992:86:7;;;:::i;3365:115::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3365:115:7;;;:::i;1098:336:5:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;1098:336:5;;;;;;;;:::i;3195:92:7:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3195:92:7;;;:::i;1323:94:10:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1323:94:10;;;:::i;414:44:5:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;414:44:5;;;:::i;2797:82:7:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2797:82:7;;;:::i;2077:194:5:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;2077:194:5;;;;;;;;:::i;1591:211:10:-;1636:19;;:::i;:::-;1668:24;;:::i;:::-;1708:6;;:13;;;-1:-1:-1;;;1708:13:10;;;;1694:10;;-1:-1:-1;;;;;1708:6:10;;:11;;:13;;;;;;;;;;;:6;:13;;;2:2:-1;;;;27:1;24;17:12;2:2;1708:13:10;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1708:13:10;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1708:13:10;;;;;;;;;1667:54;;;;1739:5;1731:43;;;;-1:-1:-1;;;1731:43:10;;;;;;;;;;;;;;;;;-1:-1:-1;1791:4:10;-1:-1:-1;1591:211:10;:::o;2605:85:7:-;1436:5;;:28;;-1:-1:-1;;;1436:28:7;;:5;;;;-1:-1:-1;;;;;1436:5:7;;:16;;:28;;1453:10;;1436:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1436:28:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1436:28:7;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1436:28:7;;;;;;;;;:72;;;-1:-1:-1;1480:5:7;;:28;;-1:-1:-1;;;1480:28:7;;:5;;;;-1:-1:-1;;;;;1480:5:7;;:16;;:28;;1497:10;;1480:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1480:28:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1480:28:7;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1480:28:7;;;;;;;;;1415:164;;;;-1:-1:-1;;;1415:164:7;;;;;;;;;2673:10:::1;:8;:10::i;:::-;2605:85::o:0;1552:237:5:-;1624:7;1643:24;583:6;1684:20;;1670:11;:34;:61;;;;;;1643:88;;1748:34;1765:16;1748;:34::i;:::-;1741:41;1552:237;-1:-1:-1;;;1552:237:5:o;1052:84:15:-;1099:4;1122:7;;;1052:84;:::o;2438:319:5:-;1260:5:7;;:28;;-1:-1:-1;;;1260:28:7;;:5;;;;-1:-1:-1;;;;;1260:5:7;;:16;;:28;;1277:10;;1260:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1260:28:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1260:28:7;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1260:28:7;;;;;;;;;1239:108;;;;-1:-1:-1;;;1239:108:7;;;;;;;;;583:6:5::1;2544:21;:49;;2536:103;;;;-1:-1:-1::0;;;2536:103:5::1;;;;;;;;;2649:20;:44:::0;;;2708:42:::1;::::0;::::1;::::0;::::1;::::0;2672:21;;2708:42:::1;;;;;;;;;;2438:319:::0;:::o;532:57::-;583:6;532:57;:::o;3562:119:7:-;3616:7;3642;:5;:7::i;:::-;-1:-1:-1;;;;;3642:17:7;;3668:4;3642:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3642:32:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3642:32:7;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;3642:32:7;;;;;;;;;3635:39;;3562:119;:::o;1045:178:10:-;1150:19;;:::i;:::-;1192:24;1210:5;1192:13;:11;:13::i;:::-;:17;:24;:17;:24;:::i;:::-;1185:31;1045:178;-1:-1:-1;;1045:178:10:o;761:103::-;1260:5:7;;:28;;-1:-1:-1;;;1260:28:7;;:5;;;;-1:-1:-1;;;;;1260:5:7;;:16;;:28;;1277:10;;1260:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1260:28:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1260:28:7;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1260:28:7;;;;;;;;;1239:108;;;;-1:-1:-1;;;1239:108:7;;;;;;;;;838:19:10::1;849:7;838:10;:19::i;:::-;761:103:::0;:::o;398:30::-;;;-1:-1:-1;;;;;398:30:10;;:::o;2287:129:7:-;1260:5;;:28;;-1:-1:-1;;;1260:28:7;;:5;;;;-1:-1:-1;;;;;1260:5:7;;:16;;:28;;1277:10;;1260:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1260:28:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1260:28:7;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1260:28:7;;;;;;;;;1239:108;;;;-1:-1:-1;;;1239:108:7;;;;;;;;;2359:5:::1;:19:::0;;-1:-1:-1;;;;;;2359:19:7::1;;-1:-1:-1::0;;;;;2359:19:7;::::1;::::0;;::::1;::::0;;;::::1;::::0;;2393:16:::1;::::0;2359:19;;2393:16:::1;::::0;::::1;2287:129:::0;:::o;2469:81::-;1436:5;;:28;;-1:-1:-1;;;1436:28:7;;:5;;;;-1:-1:-1;;;;;1436:5:7;;:16;;:28;;1453:10;;1436:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1436:28:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1436:28:7;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1436:28:7;;;;;;;;;:72;;;-1:-1:-1;1480:5:7;;:28;;-1:-1:-1;;;1480:28:7;;:5;;;;-1:-1:-1;;;;;1480:5:7;;:16;;:28;;1497:10;;1480:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1480:28:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1480:28:7;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1480:28:7;;;;;;;;;1415:164;;;;-1:-1:-1;;;1415:164:7;;;;;;;;;2535:8:::1;:6;:8::i;2992:86::-:0;3037:4;3060:5;;;;;;;;;-1:-1:-1;;;;;3060:5:7;-1:-1:-1;;;;;3060:9:7;;:11;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3060:11:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3060:11:7;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;3060:11:7;;;;;;;;3365:115;3417:7;3443:5;:3;:5::i;1098:336:5:-;1179:17;1366:8:15;:6;:8::i;:::-;1365:9;1357:38;;;;-1:-1:-1;;;1357:38:15;;;;;;;;;1208:14:5::1;:12;:14::i;:::-;;1233:5;:3;:5::i;:::-;-1:-1:-1::0;;;;;1233:14:5::1;;1248:10;1260:9;1233:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;1233:37:5;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;1233:37:5;;;;1293:23;1306:9;1293:12;:23::i;:::-;1281:35;;1327:40;1345:10;1357:9;1327:17;:40::i;:::-;1394:10;-1:-1:-1::0;;;;;1382:45:5::1;;1406:9;1417;1382:45;;;;;;;;;;;;;;;;1098:336:::0;;;:::o;3195:92:7:-;3242:6;3267:5;;;;;;;;;-1:-1:-1;;;;;3267:5:7;-1:-1:-1;;;;;3267:11:7;;:13;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;1323:94:10;1395:6;;:15;;;-1:-1:-1;;;1395:15:10;;;;1372:4;;-1:-1:-1;;;;;1395:6:10;;:13;;:15;;;;;;;;;;;;;;1372:4;1395:6;:15;;;2:2:-1;;;;27:1;24;17:12;2:2;1395:15:10;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1395:15:10;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1395:15:10;;;;;;;;414:44:5;;;;:::o;2797:82:7:-;2843:5;2867;;;;-1:-1:-1;;;;;2867:5:7;;2797:82::o;2077:194:5:-;1083:5:7;;:33;;-1:-1:-1;;;1083:33:7;;:5;;;;-1:-1:-1;;;;;1083:5:7;;:21;;:33;;1105:10;;1083:33;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1083:33:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1083:33:7;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1083:33:7;;;;;;;;;1062:119;;;;-1:-1:-1;;;1062:119:7;;;;;;;;;2180:32:5::1;2198:2;2202:9;2180:17;:32::i;:::-;2250:2;-1:-1:-1::0;;;;;2227:37:5::1;2238:10;-1:-1:-1::0;;;;;2227:37:5::1;;2254:9;2227:37;;;;;;;;;;;;;;;2077:194:::0;;:::o;2064:117:15:-;1631:8;:6;:8::i;:::-;1623:41;;;;-1:-1:-1;;;1623:41:15;;;;;;;;;2132:5:::1;2122:15:::0;;-1:-1:-1;;2122:15:15::1;::::0;;2152:22:::1;2161:12;:10;:12::i;:::-;2152:22;;;;;;;;;;;;;;;2064:117::o:0;1795:144:5:-;1864:7;1890:42;:30;1908:11;1890:13;1897:5;:3;:5::i;1890:13::-;:17;:30;:17;:30;:::i;:::-;:40;:42::i;1273:112:2:-;1323:11;;:::i;:::-;-1:-1:-1;1357:21:2;;;;;;;;;1002:6;1357:21;;1273:112;:::o;3905:198::-;4008:11;;:::i;:::-;4042:54;;;;;;;;4056:37;4067:4;:10;;;1002:6;4085:1;:7;;;4056:10;:37::i;:::-;4042:54;;4035:61;3905:198;-1:-1:-1;;;3905:198:2:o;1808:124:10:-;1864:6;:25;;-1:-1:-1;;;;;;1864:25:10;-1:-1:-1;;;;;1864:25:10;;;;;;;;1904:21;;;;-1:-1:-1;;1904:21:10;1808:124;:::o;1817:115:15:-;1366:8;:6;:8::i;:::-;1365:9;1357:38;;;;-1:-1:-1;;;1357:38:15;;;;;;;;;1876:7:::1;:14:::0;;-1:-1:-1;;1876:14:15::1;1886:4;1876:14;::::0;;1905:20:::1;1912:12;:10;:12::i;2056:391:13:-:0;2170:6;2145:21;:31;;2137:73;;;;-1:-1:-1;;;2137:73:13;;;;;;;;;2299:12;2317:9;-1:-1:-1;;;;;2317:14:13;2340:6;2317:35;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;2298:54:13;;;2370:7;2362:78;;;;-1:-1:-1;;;2362:78:13;;;;;;;;;2056:391;;;:::o;598:104:14:-;685:10;598:104;:::o;2377:174:2:-;2476:11;;:::i;:::-;2510:34;;;;;;;;;2524:10;;2510:34;;2524:17;;2539:1;2524:17;:14;:17;:::i;4900:113::-;4986:10;;4960:7;;4986:20;;1002:6;4986:20;:14;:20;:::i;5066:215::-;5206:7;5236:38;5262:11;5236:21;:6;5247:9;5236:21;:10;:21;:::i;:::-;:25;:38;:25;:38;:::i;:::-;5229:45;5066:215;-1:-1:-1;;;;5066:215:2:o;2267:459:3:-;2325:7;2566:6;2562:45;;-1:-1:-1;2595:1:3;2588:8;;2562:45;2629:5;;;2633:1;2629;:5;:1;2652:5;;;;;:10;2644:56;;;;-1:-1:-1;;;2644:56:3;;;;;;;;3188:130;3246:7;3272:39;3276:1;3279;3272:39;;;;;;;;;;;;;;;;;3886:7;3920:12;3913:5;3905:28;;;;-1:-1:-1;;;3905:28:3;;;;;;;;;;;3943:9;3959:1;3955;:5;;;;;;;3800:272;-1:-1:-1;;;;;3800:272:3:o;260:2499:5:-;;;;;;;;;;;;;;:::o;1774:241:-1:-;;1878:2;1866:9;1857:7;1853:23;1849:32;1846:2;;;-1:-1;;1884:12;1846:2;85:6;72:20;97:33;124:5;97:33;;2022:382;;;2151:2;2139:9;2130:7;2126:23;2122:32;2119:2;;;-1:-1;;2157:12;2119:2;230:6;217:20;242:41;277:5;242:41;;;2209:71;2317:2;2356:22;;;;1563:20;;-1:-1;;;2113:291;2411:257;;2523:2;2511:9;2502:7;2498:23;2494:32;2491:2;;;-1:-1;;2529:12;2491:2;376:6;370:13;388:30;412:5;388:30;;2675:293;;2805:2;2793:9;2784:7;2780:23;2776:32;2773:2;;;-1:-1;;2811:12;2773:2;529:6;523:13;541:48;583:5;541:48;;3271:283;;3396:2;3384:9;3375:7;3371:23;3367:32;3364:2;;;-1:-1;;3402:12;3364:2;940:20;3396:2;940:20;;;1563;;1018:75;;-1:-1;1025:16;3358:196;-1:-1;3358:196;3561:435;;;3699:9;3690:7;3686:23;3711:2;3686:23;3682:32;3679:2;;;-1:-1;;3717:12;3679:2;1268:4;1247:19;1243:30;1240:2;;;-1:-1;;1276:12;1240:2;;1304:20;1268:4;1304:20;;;1711:13;;1382:86;;1268:4;3948:22;;370:13;1389:16;;-1:-1;388:30;370:13;388:30;;;3909:71;;;;3673:323;;;;;;4003:241;;4107:2;4095:9;4086:7;4082:23;4078:32;4075:2;;;-1:-1;;4113:12;4075:2;-1:-1;1563:20;;4069:175;-1:-1;4069:175;4251:263;;4366:2;4354:9;4345:7;4341:23;4337:32;4334:2;;;-1:-1;;4372:12;4334:2;-1:-1;1711:13;;4328:186;-1:-1;4328:186;10454:370;10809:10;10633:191;10831:213;-1:-1;;;;;19434:54;;;;4741:37;;10949:2;10934:18;;10920:124;11287:340;-1:-1;;;;;19434:54;;;;4600:58;;11613:2;11598:18;;10285:37;11441:2;11426:18;;11412:215;11634:201;19122:13;;19115:21;4855:34;;11746:2;11731:18;;11717:118;12832:301;;12970:2;;12991:17;12984:47;5688:5;18486:12;18796:6;12970:2;12959:9;12955:18;18784:19;-1:-1;21168:101;21182:6;21179:1;21176:13;21168:101;;;21249:11;;;;;21243:18;21230:11;;;18824:14;21230:11;21223:39;21197:10;;21168:101;;;21284:6;21281:1;21278:13;21275:2;;;-1:-1;18824:14;21340:6;12959:9;21331:16;;21324:27;21275:2;-1:-1;21456:7;21440:14;-1:-1;;21436:28;5846:39;;;;18824:14;5846:39;;12941:192;-1:-1;;;12941:192;13140:407;13331:2;13345:47;;;6122:2;13316:18;;;18784:19;-1:-1;;;18824:14;;;6138:43;6200:12;;;13302:245;13554:407;13745:2;13759:47;;;6451:2;13730:18;;;18784:19;6487:34;18824:14;;;6467:55;-1:-1;;;6542:12;;;6535:37;6591:12;;;13716:245;13968:407;14159:2;14173:47;;;6842:2;14144:18;;;18784:19;6878:34;18824:14;;;6858:55;-1:-1;;;6933:12;;;6926:31;6976:12;;;14130:245;14382:407;14573:2;14587:47;;;7227:2;14558:18;;;18784:19;7263:34;18824:14;;;7243:55;7332:28;7318:12;;;7311:50;7380:12;;;14544:245;14796:407;14987:2;15001:47;;;7631:2;14972:18;;;18784:19;7667:31;18824:14;;;7647:52;7718:12;;;14958:245;15210:407;15401:2;15415:47;;;7969:2;15386:18;;;18784:19;-1:-1;;;18824:14;;;7985:39;8043:12;;;15372:245;15624:407;15815:2;15829:47;;;8294:2;15800:18;;;18784:19;8330:27;18824:14;;;8310:48;8377:12;;;15786:245;16038:407;16229:2;16243:47;;;8628:2;16214:18;;;18784:19;8664:34;18824:14;;;8644:55;-1:-1;;;8719:12;;;8712:33;8764:12;;;16200:245;16452:407;16643:2;16657:47;;;9015:2;16628:18;;;18784:19;9051:34;18824:14;;;9031:55;-1:-1;;;9106:12;;;9099:25;9143:12;;;16614:245;16866:407;17057:2;17071:47;;;9699:2;17042:18;;;18784:19;9735:34;18824:14;;;9715:55;-1:-1;;;9790:12;;;9783:25;9827:12;;;17028:245;17280:297;10104:23;;10285:37;;17440:2;17425:18;;17411:166;17584:213;10285:37;;;17702:2;17687:18;;17673:124;17804:324;10285:37;;;18114:2;18099:18;;10285:37;17950:2;17935:18;;17921:207;18135:256;18197:2;18191:9;18223:17;;;18298:18;18283:34;;18319:22;;;18280:62;18277:2;;;18355:1;;18345:12;18277:2;18197;18364:22;18175:216;;-1:-1;18175:216;21477:117;-1:-1;;;;;19434:54;;21536:35;;21526:2;;21585:1;;21575:12;21741:111;21822:5;19122:13;19115:21;21800:5;21797:32;21787:2;;21843:1;;21833:12

Swarm Source

ipfs://eae194e223667c140f213e5cb118cb4f99da5b9f893e8d0effc550180cfd4bae

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

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.