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

Representation of Stellar LiquidityPoolWithdraw type.

Summary

Types

@type t() :: %StellarBase.XDR.Operations.LiquidityPoolWithdraw{
  amount: StellarBase.XDR.Int64.t(),
  min_amount_a: StellarBase.XDR.Int64.t(),
  min_amount_b: StellarBase.XDR.Int64.t(),
  pool_id: StellarBase.XDR.PoolID.t()
}

Functions

Link to this function

new(pool_id, amount, min_amount_a, min_amount_b)

View Source
@spec new(
  pool_id :: StellarBase.XDR.PoolID.t(),
  amount :: StellarBase.XDR.Int64.t(),
  min_amount_a :: StellarBase.XDR.Int64.t(),
  min_amount_b :: StellarBase.XDR.Int64.t()
) :: t()