Sha256: 51e1e3fc273ef2cf662b2c2d510c5cd6d0d475014658440e2dc97965493f95f2

Contents?: true

Size: 1.06 KB

Versions: 24

Compression:

Stored size: 1.06 KB

Contents

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

require 'xdr'

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

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
stellar-base-0.20.0 generated/stellar/path_payment_op.rb
stellar-base-0.19.0 generated/stellar/path_payment_op.rb
stellar-base-0.18.0 generated/stellar/path_payment_op.rb
stellar-base-0.17.0 generated/stellar/path_payment_op.rb
stellar-base-0.16.0 generated/stellar/path_payment_op.rb
stellar-base-0.15.0 generated/stellar/path_payment_op.rb
stellar-base-0.14.0 generated/stellar/path_payment_op.rb
stellar-base-0.13.0 generated/stellar/path_payment_op.rb
stellar-base-0.12.0 generated/stellar/path_payment_op.rb
stellar-base-0.11.0 generated/stellar/path_payment_op.rb
auction-ruby-base-0.1.3 generated/stellar/path_payment_op.rb
auction-ruby-base-0.1.2 generated/stellar/path_payment_op.rb
auction-ruby-base-0.1.1 generated/stellar/path_payment_op.rb
stellar-base-0.10.0 generated/stellar/path_payment_op.rb
stellar-base-0.9.0 generated/stellar/path_payment_op.rb
stellar-base-0.8.0 generated/stellar/path_payment_op.rb
stellar-base-0.7.0 generated/stellar/path_payment_op.rb
stellar-base-0.6.1 generated/stellar/path_payment_op.rb
stellar-base-0.6.0 generated/stellar/path_payment_op.rb
stellar-base-0.5.0 generated/stellar/path_payment_op.rb