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

Representation of Stellar LiquidityPoolDeposit type.

Summary

Types

@type t() :: %StellarBase.XDR.Operations.LiquidityPoolDeposit{
  max_amount_a: StellarBase.XDR.Int64.t(),
  max_amount_b: StellarBase.XDR.Int64.t(),
  max_price: StellarBase.XDR.Price.t(),
  min_price: StellarBase.XDR.Price.t(),
  pool_id: StellarBase.XDR.PoolID.t()
}

Functions

Link to this function

new(pool_id, max_amount_a, max_amount_b, min_price, max_price)

View Source
@spec new(
  pool_id :: StellarBase.XDR.PoolID.t(),
  max_amount_a :: StellarBase.XDR.Int64.t(),
  max_amount_b :: StellarBase.XDR.Int64.t(),
  min_price :: StellarBase.XDR.Price.t(),
  max_price :: StellarBase.XDR.Price.t()
) :: t()