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

Representation of Stellar ManageBuyOffer type.

Link to this section Summary

Link to this section Types

Specs

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

Link to this section Functions

Link to this function

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

View Source

Specs

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()