Kujira.Bow.Leverage.Status (kujira v0.1.47)

The current deposit and borrow totals

Fields

  • :deposited - The amount of LP token deposited

  • :borrowed_base - The amount of the base token of the pair borrowed

  • :borrowed_quote - The amount of the quote token of the pair borrowed

Summary

Types

@type t() :: %Kujira.Bow.Leverage.Status{
  borrowed_base: non_neg_integer(),
  borrowed_quote: non_neg_integer(),
  deposited: non_neg_integer()
}

Functions

Link to this function

from_query(map)

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