Kujira.Ghost.Market.Status (kujira v0.1.80)

The current deposit and borrow totals

Fields

  • :deposited - The amount of collateral_token deposited

  • :borrowed - The amount of the Vault deposit_token borrowed

Summary

Types

@type t() :: %Kujira.Ghost.Market.Status{borrowed: integer(), deposited: integer()}

Functions

Link to this function

from_query(map)

@spec from_query(map()) :: :error | {:ok, t()}