generated/stellar/path_payment_op.rb in stellar-base-0.0.20 vs generated/stellar/path_payment_op.rb in stellar-base-0.1.0

- old
+ new

@@ -5,28 +5,28 @@ # === xdr source ============================================================ # # struct PathPaymentOp # { -# Currency sendCurrency; // currency we pay with -# int64 sendMax; // the maximum amount of sendCurrency to +# 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 -# Currency destCurrency; // what they end up with +# Asset destAsset; // what they end up with # int64 destAmount; // amount they end up with # -# Currency path<5>; // additional hops it must go through to get there +# Asset 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] + 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