Kujira.Bow.Pool.Lsd (kujira v0.1.80)
A instance of the BOW Stable Market Making strategy.
Fields
:address- The address of the contract:owner- The owner of the contract:fin_pair- The FIN Pair that this pool market-makes for:token_lp- The receipt token minted when deposits are made to the pool:token_base- The base token of the FIN Pair:token_quote- The quote token of the FIN Pair:decimal_delta- Base decimals - Quote decimals. Used to assert correct price_precision:price_precision- Maximum number of decimal places of the human price when submitting orders
Summary
Types
@type t() :: %Kujira.Bow.Pool.Lsd{ adapter: term(), address: String.t(), decimal_delta: integer(), fin_pair: {Kujira.Fin.Pair, String.t()}, owner: String.t(), price_precision: integer(), status: Kujira.Bow.Status.t(), strategy: Kujira.Bow.Pool.Lsd.Strategy.t(), token_base: Kujira.Token.t(), token_lp: Kujira.Token.t(), token_quote: Kujira.Token.t() }
Functions
Link to this function
from_config(channel, address, arg3)
@spec from_config(GRPC.Channel.t(), String.t(), map()) :: {:error, GRPC.RPCError.t()} | {:error, :invalid_config} | {:ok, t()}