StellarBase.XDR.Operations.CreatePassiveSellOffer (Elixir Stellar Base v0.2.1) View Source

Representation of Stellar CreatePassiveSellOffer type.

Link to this section Summary

Link to this section Types

Specs

t() :: %StellarBase.XDR.Operations.CreatePassiveSellOffer{
  amount: StellarBase.XDR.Int64.t(),
  buying: StellarBase.XDR.Asset.t(),
  price: StellarBase.XDR.Price.t(),
  selling: StellarBase.XDR.Asset.t()
}

Link to this section Functions

Link to this function

new(selling, buying, amount, price)

View Source

Specs

new(
  selling :: StellarBase.XDR.Asset.t(),
  buying :: StellarBase.XDR.Asset.t(),
  amount :: StellarBase.XDR.Int64.t(),
  price :: StellarBase.XDR.Price.t()
) :: t()