Sha256: cdba57c9fc45cde07e5538222440d697baae82f7a0624060874259d9975bb468

Contents?: true

Size: 842 Bytes

Versions: 1

Compression:

Stored size: 842 Bytes

Contents

# Automatically generated on 2015-04-07T10:52:07-07:00
# DO NOT EDIT or your changes may be overwritten
        
require 'xdr'

# === xdr source ============================================================
#
#   struct CreateOfferOp
#   {
#       Currency takerGets;
#       Currency takerPays;
#       int64 amount; // amount taker gets. if set to 0, delete the offer
#       Price price;  // =takerPaysAmount/takerGetsAmount
#   
#       // 0=create a new offer, otherwise edit an existing offer
#       uint64 offerID;
#   };
#
# ===========================================================================
module Stellar
  class CreateOfferOp < XDR::Struct
    attribute :taker_gets, Currency
    attribute :taker_pays, Currency
    attribute :amount,     Int64
    attribute :price,      Price
    attribute :offer_id,   Uint64
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stellar-base-0.0.1 generated/stellar/create_offer_op.rb