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

Representation of Stellar CreatePassiveSellOffer type.

Summary

Types

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

Functions

Link to this function

new(selling, buying, amount, price)

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