Sha256: 93bc632fd01d062c2ff8d6269fe8686a44ed9716d0e466dd32735a561a32cb39

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 KB

Contents

# This code was automatically generated using xdrgen
# DO NOT EDIT or your changes may be overwritten

require 'xdr'

# === xdr source ============================================================
#
#   struct PathPaymentOp
#   {
#       Currency sendCurrency; // currency we pay with
#       int64 sendMax;         // the maximum amount of sendCurrency to
#                              // send (excluding fees).
#                              // The operation will fail if can't be met
#   
#       AccountID destination; // recipient of the payment
#       Currency destCurrency; // what they end up with
#       int64 destAmount;      // amount they end up with
#   
#       Currency path<5>; // additional hops it must go through to get there
#   };
#
# ===========================================================================
module Stellar
  class PathPaymentOp < XDR::Struct
    attribute :send_currency, Currency
    attribute :send_max,      Int64
    attribute :destination,   AccountID
    attribute :dest_currency, Currency
    attribute :dest_amount,   Int64
    attribute :path,          XDR::VarArray[Currency, 5]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stellar-base-0.0.20 generated/stellar/path_payment_op.rb
stellar-base-0.0.19 generated/stellar/path_payment_op.rb