Sha256: 08d75095a0118827ac542ad86dd41869a85fa5a256fafa1f7eb96b96ffe6672a
Contents?: true
Size: 1.18 KB
Versions: 23
Compression:
Stored size: 1.18 KB
Contents
# This code was automatically generated using xdrgen # DO NOT EDIT or your changes may be overwritten require 'xdr' # === xdr source ============================================================ # # struct OfferEntry # { # AccountID sellerID; # uint64 offerID; # Asset selling; // A # Asset buying; // B # int64 amount; // amount of A # # /* price for this offer: # price of A in terms of B # price=AmountB/AmountA=priceNumerator/priceDenominator # price is after fees # */ # Price price; # uint32 flags; // see OfferEntryFlags # # // reserved for future use # union switch (int v) # { # case 0: # void; # } # ext; # }; # # =========================================================================== module Stellar class OfferEntry < XDR::Struct include XDR::Namespace autoload :Ext attribute :seller_id, AccountID attribute :offer_id, Uint64 attribute :selling, Asset attribute :buying, Asset attribute :amount, Int64 attribute :price, Price attribute :flags, Uint32 attribute :ext, Ext end end
Version data entries
23 entries across 23 versions & 3 rubygems