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

Representation of Stellar ManageBuyOffer type.

Summary

Types

@type t() :: %StellarBase.XDR.Operations.ManageBuyOffer{
  buy_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, buy_amount, price, offer_id)

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