Sha256: 140b141e5b184000a13ee1dc6a50e139b7bef51a261cefa37a715cc60a57b803
Contents?: true
Size: 1.19 KB
Versions: 5
Compression:
Stored size: 1.19 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
5 entries across 5 versions & 1 rubygems