stellar-base 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/examples/create_account.rb +28 -0
  3. data/examples/low_level_transaction_post.rb +0 -6
  4. data/generated/stellar-base-generated.rb +13 -3
  5. data/generated/stellar/account_entry.rb +1 -1
  6. data/generated/stellar/account_flags.rb +1 -1
  7. data/generated/stellar/account_merge_result.rb +1 -1
  8. data/generated/stellar/account_merge_result_code.rb +1 -1
  9. data/generated/stellar/allow_trust_op.rb +1 -1
  10. data/generated/stellar/allow_trust_op/currency.rb +1 -1
  11. data/generated/stellar/allow_trust_result.rb +1 -1
  12. data/generated/stellar/allow_trust_result_code.rb +1 -1
  13. data/generated/stellar/bucket_entry.rb +1 -1
  14. data/generated/stellar/bucket_entry_type.rb +1 -1
  15. data/generated/stellar/change_trust_op.rb +1 -1
  16. data/generated/stellar/change_trust_result.rb +1 -1
  17. data/generated/stellar/change_trust_result_code.rb +1 -1
  18. data/generated/stellar/claim_offer_atom.rb +1 -1
  19. data/generated/stellar/create_account_op.rb +20 -0
  20. data/generated/stellar/create_account_result.rb +25 -0
  21. data/generated/stellar/create_account_result_code.rb +32 -0
  22. data/generated/stellar/create_offer_effect.rb +1 -1
  23. data/generated/stellar/create_offer_op.rb +1 -1
  24. data/generated/stellar/create_offer_result.rb +1 -1
  25. data/generated/stellar/create_offer_result_code.rb +1 -1
  26. data/generated/stellar/create_offer_success_result.rb +1 -1
  27. data/generated/stellar/create_offer_success_result/offer.rb +1 -1
  28. data/generated/stellar/currency.rb +1 -1
  29. data/generated/stellar/currency/alpha_num.rb +1 -1
  30. data/generated/stellar/currency_type.rb +1 -1
  31. data/generated/stellar/decorated_signature.rb +1 -1
  32. data/generated/stellar/dont_have.rb +1 -1
  33. data/generated/stellar/error.rb +1 -1
  34. data/generated/stellar/hello.rb +1 -1
  35. data/generated/stellar/inflation_payout.rb +1 -1
  36. data/generated/stellar/inflation_result.rb +1 -1
  37. data/generated/stellar/inflation_result_code.rb +1 -1
  38. data/generated/stellar/ledger_entry.rb +1 -1
  39. data/generated/stellar/ledger_entry_type.rb +1 -1
  40. data/generated/stellar/ledger_header.rb +1 -1
  41. data/generated/stellar/ledger_header_history_entry.rb +1 -1
  42. data/generated/stellar/ledger_key.rb +1 -1
  43. data/generated/stellar/ledger_key/account.rb +1 -1
  44. data/generated/stellar/ledger_key/offer.rb +1 -1
  45. data/generated/stellar/ledger_key/trust_line.rb +1 -1
  46. data/generated/stellar/memo.rb +11 -11
  47. data/generated/stellar/memo_type.rb +11 -11
  48. data/generated/stellar/message_type.rb +1 -1
  49. data/generated/stellar/offer_entry.rb +1 -1
  50. data/generated/stellar/operation.rb +5 -1
  51. data/generated/stellar/operation/body.rb +21 -13
  52. data/generated/stellar/operation_result.rb +5 -1
  53. data/generated/stellar/operation_result/tr.rb +23 -15
  54. data/generated/stellar/operation_result_code.rb +1 -1
  55. data/generated/stellar/operation_type.rb +19 -15
  56. data/generated/stellar/path_payment_op.rb +32 -0
  57. data/generated/stellar/path_payment_result.rb +34 -0
  58. data/generated/stellar/path_payment_result/success.rb +22 -0
  59. data/generated/stellar/path_payment_result_code.rb +40 -0
  60. data/generated/stellar/payment_op.rb +1 -9
  61. data/generated/stellar/payment_result.rb +1 -5
  62. data/generated/stellar/payment_result_code.rb +3 -11
  63. data/generated/stellar/peer_address.rb +1 -1
  64. data/generated/stellar/price.rb +1 -1
  65. data/generated/stellar/scp_ballot.rb +1 -1
  66. data/generated/stellar/scp_envelope.rb +1 -1
  67. data/generated/stellar/scp_quorum_set.rb +1 -1
  68. data/generated/stellar/scp_statement.rb +1 -1
  69. data/generated/stellar/scp_statement/pledges.rb +1 -1
  70. data/generated/stellar/scp_statement/pledges/prepare.rb +1 -1
  71. data/generated/stellar/scp_statement_type.rb +1 -1
  72. data/generated/stellar/set_options_op.rb +1 -1
  73. data/generated/stellar/set_options_result.rb +1 -1
  74. data/generated/stellar/set_options_result_code.rb +1 -1
  75. data/generated/stellar/signer.rb +1 -1
  76. data/generated/stellar/simple_payment_result.rb +1 -1
  77. data/generated/stellar/stellar_ballot.rb +1 -1
  78. data/generated/stellar/stellar_ballot_value.rb +1 -1
  79. data/generated/stellar/stellar_message.rb +1 -1
  80. data/generated/stellar/time_bounds.rb +20 -0
  81. data/generated/stellar/transaction.rb +5 -7
  82. data/generated/stellar/transaction_envelope.rb +1 -1
  83. data/generated/stellar/transaction_history_entry.rb +1 -1
  84. data/generated/stellar/transaction_history_result_entry.rb +1 -1
  85. data/generated/stellar/transaction_meta.rb +1 -1
  86. data/generated/stellar/transaction_result.rb +1 -1
  87. data/generated/stellar/transaction_result/result.rb +1 -1
  88. data/generated/stellar/transaction_result_code.rb +21 -19
  89. data/generated/stellar/transaction_result_pair.rb +1 -1
  90. data/generated/stellar/transaction_result_set.rb +1 -1
  91. data/generated/stellar/transaction_set.rb +1 -1
  92. data/generated/stellar/trust_line_entry.rb +1 -1
  93. data/generated/stellar/trust_line_flags.rb +1 -1
  94. data/lib/stellar/base/version.rb +1 -1
  95. data/lib/stellar/operation.rb +18 -3
  96. data/lib/stellar/payment_op.rb +0 -3
  97. data/lib/stellar/transaction.rb +7 -3
  98. data/spec/lib/stellar/transaction_spec.rb +1 -3
  99. data/xdr/Stellar-transaction.x +146 -55
  100. metadata +11 -3
  101. data/generated/stellar/payment_success_multi_result.rb +0 -20
@@ -1,4 +1,4 @@
1
- # Automatically generated on 2015-05-12T09:08:23-07:00
1
+ # Automatically generated on 2015-05-13T15:00:04-07:00
2
2
  # DO NOT EDIT or your changes may be overwritten
3
3
 
4
4
  require 'xdr'
@@ -7,15 +7,15 @@ require 'xdr'
7
7
  #
8
8
  # union Memo switch (MemoType type)
9
9
  # {
10
- # case MEMO_TYPE_NONE:
10
+ # case MEMO_NONE:
11
11
  # void;
12
- # case MEMO_TYPE_TEXT:
12
+ # case MEMO_TEXT:
13
13
  # string text<28>;
14
- # case MEMO_TYPE_ID:
14
+ # case MEMO_ID:
15
15
  # uint64 id;
16
- # case MEMO_TYPE_HASH:
16
+ # case MEMO_HASH:
17
17
  # Hash hash; // the hash of what to pull from the content server
18
- # case MEMO_TYPE_RETURN:
18
+ # case MEMO_RETURN:
19
19
  # Hash retHash; // the hash of the tx you are rejecting
20
20
  # };
21
21
  #
@@ -24,11 +24,11 @@ module Stellar
24
24
  class Memo < XDR::Union
25
25
  switch_on MemoType, :type
26
26
 
27
- switch :memo_type_none
28
- switch :memo_type_text, :text
29
- switch :memo_type_id, :id
30
- switch :memo_type_hash, :hash
31
- switch :memo_type_return, :ret_hash
27
+ switch :memo_none
28
+ switch :memo_text, :text
29
+ switch :memo_id, :id
30
+ switch :memo_hash, :hash
31
+ switch :memo_return, :ret_hash
32
32
 
33
33
  attribute :text, XDR::String[28]
34
34
  attribute :id, Uint64
@@ -1,4 +1,4 @@
1
- # Automatically generated on 2015-05-12T09:08:23-07:00
1
+ # Automatically generated on 2015-05-13T15:00:04-07:00
2
2
  # DO NOT EDIT or your changes may be overwritten
3
3
 
4
4
  require 'xdr'
@@ -7,21 +7,21 @@ require 'xdr'
7
7
  #
8
8
  # enum MemoType
9
9
  # {
10
- # MEMO_TYPE_NONE = 0,
11
- # MEMO_TYPE_TEXT = 1,
12
- # MEMO_TYPE_ID = 2,
13
- # MEMO_TYPE_HASH = 3,
14
- # MEMO_TYPE_RETURN = 4
10
+ # MEMO_NONE = 0,
11
+ # MEMO_TEXT = 1,
12
+ # MEMO_ID = 2,
13
+ # MEMO_HASH = 3,
14
+ # MEMO_RETURN = 4
15
15
  # };
16
16
  #
17
17
  # ===========================================================================
18
18
  module Stellar
19
19
  class MemoType < XDR::Enum
20
- member :memo_type_none, 0
21
- member :memo_type_text, 1
22
- member :memo_type_id, 2
23
- member :memo_type_hash, 3
24
- member :memo_type_return, 4
20
+ member :memo_none, 0
21
+ member :memo_text, 1
22
+ member :memo_id, 2
23
+ member :memo_hash, 3
24
+ member :memo_return, 4
25
25
 
26
26
  seal
27
27
  end
@@ -1,4 +1,4 @@
1
- # Automatically generated on 2015-05-12T09:08:23-07:00
1
+ # Automatically generated on 2015-05-13T15:00:04-07:00
2
2
  # DO NOT EDIT or your changes may be overwritten
3
3
 
4
4
  require 'xdr'
@@ -1,4 +1,4 @@
1
- # Automatically generated on 2015-05-12T09:08:23-07:00
1
+ # Automatically generated on 2015-05-13T15:00:04-07:00
2
2
  # DO NOT EDIT or your changes may be overwritten
3
3
 
4
4
  require 'xdr'
@@ -1,4 +1,4 @@
1
- # Automatically generated on 2015-05-12T09:08:23-07:00
1
+ # Automatically generated on 2015-05-13T15:00:04-07:00
2
2
  # DO NOT EDIT or your changes may be overwritten
3
3
 
4
4
  require 'xdr'
@@ -14,8 +14,12 @@ require 'xdr'
14
14
  #
15
15
  # union switch (OperationType type)
16
16
  # {
17
+ # case CREATE_ACCOUNT:
18
+ # CreateAccountOp createAccountOp;
17
19
  # case PAYMENT:
18
20
  # PaymentOp paymentOp;
21
+ # case PATH_PAYMENT:
22
+ # PathPaymentOp pathPaymentOp;
19
23
  # case CREATE_OFFER:
20
24
  # CreateOfferOp createOfferOp;
21
25
  # case SET_OPTIONS:
@@ -1,4 +1,4 @@
1
- # Automatically generated on 2015-05-12T09:08:23-07:00
1
+ # Automatically generated on 2015-05-13T15:00:04-07:00
2
2
  # DO NOT EDIT or your changes may be overwritten
3
3
 
4
4
  require 'xdr'
@@ -7,8 +7,12 @@ require 'xdr'
7
7
  #
8
8
  # union switch (OperationType type)
9
9
  # {
10
+ # case CREATE_ACCOUNT:
11
+ # CreateAccountOp createAccountOp;
10
12
  # case PAYMENT:
11
13
  # PaymentOp paymentOp;
14
+ # case PATH_PAYMENT:
15
+ # PathPaymentOp pathPaymentOp;
12
16
  # case CREATE_OFFER:
13
17
  # CreateOfferOp createOfferOp;
14
18
  # case SET_OPTIONS:
@@ -29,20 +33,24 @@ module Stellar
29
33
  class Body < XDR::Union
30
34
  switch_on OperationType, :type
31
35
 
32
- switch :payment, :payment_op
33
- switch :create_offer, :create_offer_op
34
- switch :set_options, :set_options_op
35
- switch :change_trust, :change_trust_op
36
- switch :allow_trust, :allow_trust_op
37
- switch :account_merge, :destination
36
+ switch :create_account, :create_account_op
37
+ switch :payment, :payment_op
38
+ switch :path_payment, :path_payment_op
39
+ switch :create_offer, :create_offer_op
40
+ switch :set_options, :set_options_op
41
+ switch :change_trust, :change_trust_op
42
+ switch :allow_trust, :allow_trust_op
43
+ switch :account_merge, :destination
38
44
  switch :inflation
39
45
 
40
- attribute :payment_op, PaymentOp
41
- attribute :create_offer_op, CreateOfferOp
42
- attribute :set_options_op, SetOptionsOp
43
- attribute :change_trust_op, ChangeTrustOp
44
- attribute :allow_trust_op, AllowTrustOp
45
- attribute :destination, Uint256
46
+ attribute :create_account_op, CreateAccountOp
47
+ attribute :payment_op, PaymentOp
48
+ attribute :path_payment_op, PathPaymentOp
49
+ attribute :create_offer_op, CreateOfferOp
50
+ attribute :set_options_op, SetOptionsOp
51
+ attribute :change_trust_op, ChangeTrustOp
52
+ attribute :allow_trust_op, AllowTrustOp
53
+ attribute :destination, Uint256
46
54
  end
47
55
  end
48
56
  end
@@ -1,4 +1,4 @@
1
- # Automatically generated on 2015-05-12T09:08:23-07:00
1
+ # Automatically generated on 2015-05-13T15:00:04-07:00
2
2
  # DO NOT EDIT or your changes may be overwritten
3
3
 
4
4
  require 'xdr'
@@ -10,8 +10,12 @@ require 'xdr'
10
10
  # case opINNER:
11
11
  # union switch (OperationType type)
12
12
  # {
13
+ # case CREATE_ACCOUNT:
14
+ # CreateAccountResult createAccountResult;
13
15
  # case PAYMENT:
14
16
  # PaymentResult paymentResult;
17
+ # case PATH_PAYMENT:
18
+ # PathPaymentResult pathPaymentResult;
15
19
  # case CREATE_OFFER:
16
20
  # CreateOfferResult createOfferResult;
17
21
  # case SET_OPTIONS:
@@ -1,4 +1,4 @@
1
- # Automatically generated on 2015-05-12T09:08:23-07:00
1
+ # Automatically generated on 2015-05-13T15:00:04-07:00
2
2
  # DO NOT EDIT or your changes may be overwritten
3
3
 
4
4
  require 'xdr'
@@ -7,8 +7,12 @@ require 'xdr'
7
7
  #
8
8
  # union switch (OperationType type)
9
9
  # {
10
+ # case CREATE_ACCOUNT:
11
+ # CreateAccountResult createAccountResult;
10
12
  # case PAYMENT:
11
13
  # PaymentResult paymentResult;
14
+ # case PATH_PAYMENT:
15
+ # PathPaymentResult pathPaymentResult;
12
16
  # case CREATE_OFFER:
13
17
  # CreateOfferResult createOfferResult;
14
18
  # case SET_OPTIONS:
@@ -29,21 +33,25 @@ module Stellar
29
33
  class Tr < XDR::Union
30
34
  switch_on OperationType, :type
31
35
 
32
- switch :payment, :payment_result
33
- switch :create_offer, :create_offer_result
34
- switch :set_options, :set_options_result
35
- switch :change_trust, :change_trust_result
36
- switch :allow_trust, :allow_trust_result
37
- switch :account_merge, :account_merge_result
38
- switch :inflation, :inflation_result
36
+ switch :create_account, :create_account_result
37
+ switch :payment, :payment_result
38
+ switch :path_payment, :path_payment_result
39
+ switch :create_offer, :create_offer_result
40
+ switch :set_options, :set_options_result
41
+ switch :change_trust, :change_trust_result
42
+ switch :allow_trust, :allow_trust_result
43
+ switch :account_merge, :account_merge_result
44
+ switch :inflation, :inflation_result
39
45
 
40
- attribute :payment_result, PaymentResult
41
- attribute :create_offer_result, CreateOfferResult
42
- attribute :set_options_result, SetOptionsResult
43
- attribute :change_trust_result, ChangeTrustResult
44
- attribute :allow_trust_result, AllowTrustResult
45
- attribute :account_merge_result, AccountMergeResult
46
- attribute :inflation_result, InflationResult
46
+ attribute :create_account_result, CreateAccountResult
47
+ attribute :payment_result, PaymentResult
48
+ attribute :path_payment_result, PathPaymentResult
49
+ attribute :create_offer_result, CreateOfferResult
50
+ attribute :set_options_result, SetOptionsResult
51
+ attribute :change_trust_result, ChangeTrustResult
52
+ attribute :allow_trust_result, AllowTrustResult
53
+ attribute :account_merge_result, AccountMergeResult
54
+ attribute :inflation_result, InflationResult
47
55
  end
48
56
  end
49
57
  end
@@ -1,4 +1,4 @@
1
- # Automatically generated on 2015-05-12T09:08:23-07:00
1
+ # Automatically generated on 2015-05-13T15:00:04-07:00
2
2
  # DO NOT EDIT or your changes may be overwritten
3
3
 
4
4
  require 'xdr'
@@ -1,4 +1,4 @@
1
- # Automatically generated on 2015-05-12T09:08:23-07:00
1
+ # Automatically generated on 2015-05-13T15:00:04-07:00
2
2
  # DO NOT EDIT or your changes may be overwritten
3
3
 
4
4
  require 'xdr'
@@ -7,25 +7,29 @@ require 'xdr'
7
7
  #
8
8
  # enum OperationType
9
9
  # {
10
- # PAYMENT = 0,
11
- # CREATE_OFFER = 1,
12
- # SET_OPTIONS = 2,
13
- # CHANGE_TRUST = 3,
14
- # ALLOW_TRUST = 4,
15
- # ACCOUNT_MERGE = 5,
16
- # INFLATION = 6
10
+ # CREATE_ACCOUNT = 0,
11
+ # PAYMENT = 1,
12
+ # PATH_PAYMENT = 2,
13
+ # CREATE_OFFER = 3,
14
+ # SET_OPTIONS = 4,
15
+ # CHANGE_TRUST = 5,
16
+ # ALLOW_TRUST = 6,
17
+ # ACCOUNT_MERGE = 7,
18
+ # INFLATION = 8
17
19
  # };
18
20
  #
19
21
  # ===========================================================================
20
22
  module Stellar
21
23
  class OperationType < XDR::Enum
22
- member :payment, 0
23
- member :create_offer, 1
24
- member :set_options, 2
25
- member :change_trust, 3
26
- member :allow_trust, 4
27
- member :account_merge, 5
28
- member :inflation, 6
24
+ member :create_account, 0
25
+ member :payment, 1
26
+ member :path_payment, 2
27
+ member :create_offer, 3
28
+ member :set_options, 4
29
+ member :change_trust, 5
30
+ member :allow_trust, 6
31
+ member :account_merge, 7
32
+ member :inflation, 8
29
33
 
30
34
  seal
31
35
  end
@@ -0,0 +1,32 @@
1
+ # Automatically generated on 2015-05-13T15:00:04-07:00
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # struct PathPaymentOp
9
+ # {
10
+ # Currency sendCurrency; // currency we pay with
11
+ # int64 sendMax; // the maximum amount of sendCurrency to
12
+ # // send (excluding fees).
13
+ # // The operation will fail if can't be met
14
+ #
15
+ # AccountID destination; // recipient of the payment
16
+ # Currency destCurrency; // what they end up with
17
+ # int64 destAmount; // amount they end up with
18
+ #
19
+ # Currency path<5>; // additional hops it must go through to get there
20
+ # };
21
+ #
22
+ # ===========================================================================
23
+ module Stellar
24
+ class PathPaymentOp < XDR::Struct
25
+ attribute :send_currency, Currency
26
+ attribute :send_max, Int64
27
+ attribute :destination, AccountID
28
+ attribute :dest_currency, Currency
29
+ attribute :dest_amount, Int64
30
+ attribute :path, XDR::VarArray[Currency, 5]
31
+ end
32
+ end
@@ -0,0 +1,34 @@
1
+ # Automatically generated on 2015-05-13T15:00:04-07:00
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # union PathPaymentResult switch (PathPaymentResultCode code)
9
+ # {
10
+ # case PATH_PAYMENT_SUCCESS:
11
+ # struct
12
+ # {
13
+ # ClaimOfferAtom offers<>;
14
+ # SimplePaymentResult last;
15
+ # } success;
16
+ # default:
17
+ # void;
18
+ # };
19
+ #
20
+ # ===========================================================================
21
+ module Stellar
22
+ class PathPaymentResult < XDR::Union
23
+ include XDR::Namespace
24
+
25
+ autoload :Success
26
+
27
+ switch_on PathPaymentResultCode, :code
28
+
29
+ switch :path_payment_success, :success
30
+ switch :default
31
+
32
+ attribute :success, Success
33
+ end
34
+ end
@@ -0,0 +1,22 @@
1
+ # Automatically generated on 2015-05-13T15:00:04-07:00
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # struct
9
+ # {
10
+ # ClaimOfferAtom offers<>;
11
+ # SimplePaymentResult last;
12
+ # }
13
+ #
14
+ # ===========================================================================
15
+ module Stellar
16
+ class PathPaymentResult
17
+ class Success < XDR::Struct
18
+ attribute :offers, XDR::VarArray[ClaimOfferAtom]
19
+ attribute :last, SimplePaymentResult
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,40 @@
1
+ # Automatically generated on 2015-05-13T15:00:04-07:00
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # enum PathPaymentResultCode
9
+ # {
10
+ # // codes considered as "success" for the operation
11
+ # PATH_PAYMENT_SUCCESS = 0, // success
12
+ #
13
+ # // codes considered as "failure" for the operation
14
+ # PATH_PAYMENT_MALFORMED = -1, // bad input
15
+ # PATH_PAYMENT_UNDERFUNDED = -2, // not enough funds in source account
16
+ # PATH_PAYMENT_NO_DESTINATION = -3, // destination account does not exist
17
+ # PATH_PAYMENT_NO_TRUST = -4, // destination missing a trust line for currency
18
+ # PATH_PAYMENT_NOT_AUTHORIZED =
19
+ # -5, // destination not authorized to hold currency
20
+ # PATH_PAYMENT_LINE_FULL = -6, // destination would go above their limit
21
+ # PATH_PAYMENT_TOO_FEW_OFFERS = -7, // not enough offers to satisfy path
22
+ # PATH_PAYMENT_OVER_SENDMAX = -8 // could not satisfy sendmax
23
+ # };
24
+ #
25
+ # ===========================================================================
26
+ module Stellar
27
+ class PathPaymentResultCode < XDR::Enum
28
+ member :path_payment_success, 0
29
+ member :path_payment_malformed, -1
30
+ member :path_payment_underfunded, -2
31
+ member :path_payment_no_destination, -3
32
+ member :path_payment_no_trust, -4
33
+ member :path_payment_not_authorized, -5
34
+ member :path_payment_line_full, -6
35
+ member :path_payment_too_few_offers, -7
36
+ member :path_payment_over_sendmax, -8
37
+
38
+ seal
39
+ end
40
+ end
@@ -1,4 +1,4 @@
1
- # Automatically generated on 2015-05-12T13:13:19-07:00
1
+ # Automatically generated on 2015-05-13T15:00:04-07:00
2
2
  # DO NOT EDIT or your changes may be overwritten
3
3
 
4
4
  require 'xdr'
@@ -10,12 +10,6 @@ require 'xdr'
10
10
  # AccountID destination; // recipient of the payment
11
11
  # Currency currency; // what they end up with
12
12
  # int64 amount; // amount they end up with
13
- #
14
- # // payment over path
15
- # Currency path<5>; // what hops it must go through to get there
16
- # int64 sendMax; // the maximum amount of the source currency (==path[0]) to
17
- # // send (excluding fees).
18
- # // The operation will fail if can't be met
19
13
  # };
20
14
  #
21
15
  # ===========================================================================
@@ -24,7 +18,5 @@ module Stellar
24
18
  attribute :destination, AccountID
25
19
  attribute :currency, Currency
26
20
  attribute :amount, Int64
27
- attribute :path, XDR::VarArray[Currency, 5]
28
- attribute :send_max, Int64
29
21
  end
30
22
  end