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

Representation of Stellar ClaimOfferAtom type.

Summary

Types

@type t() :: %StellarBase.XDR.ClaimOfferAtom{
  amount_bought: StellarBase.XDR.Int64.t(),
  amount_sold: StellarBase.XDR.Int64.t(),
  asset_bought: StellarBase.XDR.Asset.t(),
  asset_sold: StellarBase.XDR.Asset.t(),
  offer_id: StellarBase.XDR.Int64.t(),
  seller_id: StellarBase.XDR.AccountID.t()
}

Functions

Link to this function

new(seller_id, offer_id, asset_sold, amount_sold, asset_bought, amount_bought)

View Source
@spec new(
  seller_id :: StellarBase.XDR.AccountID.t(),
  offer_id :: StellarBase.XDR.Int64.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()