Stellar.XDR.LiquidityPoolConstantProductParameters (Elixir Stellar Base v0.1.3) View Source

Representation of Stellar LiquidityPoolConstantProductParameters type.

Link to this section Summary

Link to this section Types

Specs

t() :: %Stellar.XDR.LiquidityPoolConstantProductParameters{
  asset_a: Stellar.XDR.Asset.t(),
  asset_b: Stellar.XDR.Asset.t(),
  fee: Stellar.XDR.Int32.t()
}

Link to this section Functions

Link to this function

new(asset_a, asset_b, fee)

View Source

Specs

new(
  asset_a :: Stellar.XDR.Asset.t(),
  asset_b :: Stellar.XDR.Asset.t(),
  fee :: Stellar.XDR.Int32.t()
) :: t()