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

Representation of Stellar LiquidityPoolDeposit type.

Link to this section Summary

Link to this section Types

Specs

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()
}

Link to this section Functions

Link to this function

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

View Source

Specs

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()