Kujira.Ghost.Vault.Status (kujira v0.1.10)

The current deposit and borrow totals

Fields

  • :deposited - The amount of deposit_token deposited

  • :borrowed - The amount of the Vault deposit_token lent out

  • :rate - The current interest rate charged on lent tokens

  • :deposit_ratio - The ratio between deposit_token and receipt_token

  • :debt_ratio - The ratiop between the debt_token and the amount of deposit_token owed by the borrowing Market

Summary

Types

@type t() :: %Kujira.Ghost.Vault.Status{
  borrowed: integer(),
  debt_ratio: Decimal.t(),
  deposit_ratio: Decimal.t(),
  deposited: integer(),
  rate: Decimal.t()
}

Functions

Link to this function

from_response(map)