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

Representation of Stellar LiquidityPoolConstantProductParameters type.

Summary

Types

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

Functions

Link to this function

new(asset_a, asset_b, fee)

View Source
@spec new(
  asset_a :: StellarBase.XDR.Asset.t(),
  asset_b :: StellarBase.XDR.Asset.t(),
  fee :: StellarBase.XDR.Int32.t()
) :: t()