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

Representation of Stellar LiquidityPoolWithdraw type.

Link to this section Summary

Link to this section Types

Specs

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

Link to this section Functions

Link to this function

new(pool_id, amount, min_amount_a, min_amount_b)

View Source

Specs

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