{% 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 %}