Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 1.56 KB

File metadata and controls

48 lines (39 loc) · 1.56 KB

aprmapwithpool

Contract ABI Address
IIEarnAPRWithPool JSON iapradj.iearn.eth

IIEarnAPRWithPool Interface

{% tabs %} {% tab title="IIEarnAPRWithPool.sol" %}

// Solidity Interface

interface IIEarnAPRWithPool {

    function getAPROptions(address _token) external view returns (
      uint256 _uniswap,
      uint256 _compound,
      uint256 _unicompound,
      uint256 _fulcrum,
      uint256 _unifulcrum,
      uint256 _aave,
      uint256 _uniaave,
      uint256 _dydx,
      uint256 _ddex,
      uint256 _lendf
    );

    function getAPROptionsAdjusted(address _token, uint256 _supply) external view returns (
      uint256 _uniswap,
      uint256 _compound,
      uint256 _unicompound,
      uint256 _fulcrum,
      uint256 _unifulcrum,
      uint256 _aave,
      uint256 _uniaave,
      uint256 _dydx,
      uint256 _ddex,
      uint256 _lendf
    );

    function viewPool(address _token) external view returns;
}

{% endtab %} {% endtabs %}