StellarBase.XDR.OfferEntry (Elixir Stellar Base v0.2.1) View Source
Representation of Stellar OfferEntry
type.
An offer is the building block of the offer book, they are automatically claimed by payments when the price set by the owner is met.
For example an Offer is selling 10A where 1A is priced at 1.5B
Link to this section Summary
Link to this section Types
Specs
t() :: %StellarBase.XDR.OfferEntry{ amount: StellarBase.XDR.Int64.t(), buying: StellarBase.XDR.Asset.t(), ext: StellarBase.XDR.Ext.t(), offer_id: StellarBase.XDR.Int64.t(), price: StellarBase.XDR.Price.t(), seller_id: StellarBase.XDR.AccountID.t(), selling: StellarBase.XDR.Asset.t() }
Link to this section Functions
Specs
new( seller_id :: StellarBase.XDR.AccountID.t(), offer_id :: StellarBase.XDR.Int64.t(), selling :: StellarBase.XDR.Asset.t(), buying :: StellarBase.XDR.Asset.t(), amount :: StellarBase.XDR.Int64.t(), price :: StellarBase.XDR.Price.t(), ext :: StellarBase.XDR.Ext.t() ) :: t()