StellarBase.XDR.ClaimLiquidityAtom (Elixir Stellar Base v0.2.0) View Source

Representation of Stellar ClaimLiquidityAtom type.

Link to this section Summary

Link to this section Types

Specs

t() :: %StellarBase.XDR.ClaimLiquidityAtom{
  amount_bought: StellarBase.XDR.Int64.t(),
  amount_sold: StellarBase.XDR.Int64.t(),
  asset_bought: StellarBase.XDR.Asset.t(),
  asset_sold: StellarBase.XDR.Asset.t(),
  liquidity_pool_id: StellarBase.XDR.PoolID.t()
}

Link to this section Functions

Link to this function

new(liquidity_pool_id, asset_sold, amount_sold, asset_bought, amount_bought)

View Source

Specs

new(
  liquidity_pool_id :: StellarBase.XDR.PoolID.t(),
  asset_sold :: StellarBase.XDR.Asset.t(),
  amount_sold :: StellarBase.XDR.Int64.t(),
  asset_bought :: StellarBase.XDR.Asset.t(),
  amount_bought :: StellarBase.XDR.Int64.t()
) :: t()