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

An on-chain LSD strategy adapter, where the redemption rate can be directly read and where the pool can re-balance itself via the configured LSD provider

Summary

Types

@type t() :: %Kujira.Bow.Pool.Lsd.Adapter.Contract{
  address: String.t(),
  bonding_target: Decimal.t(),
  bonding_threshold: Decimal.t(),
  unbonding_target: Decimal.t(),
  unbonding_threshold: Decimal.t()
}

Functions

Link to this function

from_config(arg1)

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