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

Representation of Stellar ClaimLiquidityAtom type.

Summary

Types

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

Functions

Link to this function

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

View Source
@spec 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()