Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 478 Bytes

File metadata and controls

26 lines (20 loc) · 478 Bytes

dydx

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

// Solidity Interface

interface DyDx {
  struct val {
       uint256 value;
   }

   struct set {
      uint128 borrow;
      uint128 supply;
  }

  function getEarningsRate() external view returns (val memory);
  function getMarketInterestRate(uint256 marketId) external view returns (val memory);
  function getMarketTotalPar(uint256 marketId) external view returns (set memory);
}

{% endtab %} {% endtabs %}