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

Representation of Stellar ManageSellOffer type.

Summary

Types

@type t() :: %StellarBase.XDR.Operations.ManageSellOffer{
  amount: StellarBase.XDR.Int64.t(),
  buying: StellarBase.XDR.Asset.t(),
  offer_id: StellarBase.XDR.Int64.t(),
  price: StellarBase.XDR.Price.t(),
  selling: StellarBase.XDR.Asset.t()
}

Functions

Link to this function

new(selling, buying, amount, price, offer_id)

View Source
@spec new(
  selling :: StellarBase.XDR.Asset.t(),
  buying :: StellarBase.XDR.Asset.t(),
  amount :: StellarBase.XDR.Int64.t(),
  price :: StellarBase.XDR.Price.t(),
  offer_id :: StellarBase.XDR.Int64.t()
) :: t()