StellarBase.XDR.LiquidityPoolConstantProductParameters (Elixir Stellar Base v0.3.0) View Source

Representation of Stellar LiquidityPoolConstantProductParameters type.

Link to this section Summary

Link to this section Types

Specs

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

Link to this section Functions

Link to this function

new(asset_a, asset_b, fee)

View Source

Specs

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