Kujira.Bow.Pool.Lsd.Adapter.Oracle (kujira v0.1.80)

An off-chain LSD strategy adapter. Where the redemption rate is calculated by oracle prices, and an arbitrage incentive can be offered on the ask side of the book to rebalance to the quote side

Summary

Types

@type t() :: %Kujira.Bow.Pool.Lsd.Adapter.Oracle{
  base_decimals: non_neg_integer(),
  base_oracle: String.t(),
  quote_decimals: non_neg_integer(),
  quote_oracle: String.t()
}

Functions

Link to this function

from_config(list)

@spec from_config([map()]) :: {:error, :invalid_config} | {:ok, t()}