stellar-base 0.19.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +9 -6
  3. data/CHANGELOG.md +17 -2
  4. data/examples/allow_trust.rb +51 -0
  5. data/generated/stellar-base-generated.rb +14 -4
  6. data/generated/stellar/allow_trust_op.rb +2 -2
  7. data/generated/stellar/allow_trust_op/asset.rb +4 -4
  8. data/generated/stellar/asset.rb +2 -2
  9. data/generated/stellar/asset/alpha_num12.rb +2 -2
  10. data/generated/stellar/asset/alpha_num4.rb +2 -2
  11. data/generated/stellar/bucket_entry.rb +6 -0
  12. data/generated/stellar/bucket_entry_type.rb +8 -2
  13. data/generated/stellar/bucket_metadata.rb +32 -0
  14. data/generated/stellar/bucket_metadata/ext.rb +24 -0
  15. data/generated/stellar/change_trust_result_code.rb +1 -1
  16. data/generated/stellar/claim_offer_atom.rb +2 -2
  17. data/generated/stellar/{create_passive_offer_op.rb → create_passive_sell_offer_op.rb} +2 -2
  18. data/generated/stellar/envelope_type.rb +6 -4
  19. data/generated/stellar/ledger_close_value_signature.rb +20 -0
  20. data/generated/stellar/ledger_key.rb +1 -1
  21. data/generated/stellar/ledger_key/offer.rb +2 -2
  22. data/generated/stellar/manage_buy_offer_op.rb +29 -0
  23. data/generated/stellar/{manage_offer_result.rb → manage_buy_offer_result.rb} +5 -5
  24. data/generated/stellar/manage_buy_offer_result_code.rb +50 -0
  25. data/generated/stellar/{manage_offer_op.rb → manage_sell_offer_op.rb} +4 -4
  26. data/generated/stellar/manage_sell_offer_result.rb +26 -0
  27. data/generated/stellar/manage_sell_offer_result_code.rb +50 -0
  28. data/generated/stellar/offer_entry.rb +2 -2
  29. data/generated/stellar/operation.rb +6 -4
  30. data/generated/stellar/operation/body.rb +30 -26
  31. data/generated/stellar/operation_result.rb +6 -4
  32. data/generated/stellar/operation_result/tr.rb +32 -28
  33. data/generated/stellar/operation_result_code.rb +9 -5
  34. data/generated/stellar/operation_type.rb +17 -15
  35. data/generated/stellar/signer.rb +1 -1
  36. data/generated/stellar/stellar_value.rb +7 -5
  37. data/generated/stellar/stellar_value/ext.rb +8 -4
  38. data/generated/stellar/stellar_value_type.rb +22 -0
  39. data/generated/stellar/time_bounds.rb +4 -4
  40. data/generated/stellar/transaction.rb +2 -2
  41. data/generated/stellar/transaction_meta_v1.rb +1 -1
  42. data/lib/stellar-base.rb +2 -0
  43. data/lib/stellar/base/compat.rb +22 -0
  44. data/lib/stellar/base/version.rb +1 -1
  45. data/lib/stellar/operation.rb +27 -7
  46. data/lib/stellar/transaction.rb +12 -6
  47. data/spec/lib/stellar/price_spec.rb +3 -3
  48. data/tasks/xdr.rake +34 -39
  49. data/xdr/Stellar-ledger-entries.x +13 -6
  50. data/xdr/Stellar-ledger.x +45 -10
  51. data/xdr/Stellar-transaction.x +103 -46
  52. metadata +16 -7
  53. data/generated/stellar/manage_offer_result_code.rb +0 -50
@@ -0,0 +1,20 @@
1
+ # This code was automatically generated using xdrgen
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # struct LedgerCloseValueSignature
9
+ # {
10
+ # NodeID nodeID; // which node introduced the value
11
+ # Signature signature; // nodeID's signature
12
+ # };
13
+ #
14
+ # ===========================================================================
15
+ module Stellar
16
+ class LedgerCloseValueSignature < XDR::Struct
17
+ attribute :node_id, NodeID
18
+ attribute :signature, Signature
19
+ end
20
+ end
@@ -24,7 +24,7 @@ require 'xdr'
24
24
  # struct
25
25
  # {
26
26
  # AccountID sellerID;
27
- # uint64 offerID;
27
+ # int64 offerID;
28
28
  # } offer;
29
29
  #
30
30
  # case DATA:
@@ -8,7 +8,7 @@ require 'xdr'
8
8
  # struct
9
9
  # {
10
10
  # AccountID sellerID;
11
- # uint64 offerID;
11
+ # int64 offerID;
12
12
  # }
13
13
  #
14
14
  # ===========================================================================
@@ -16,7 +16,7 @@ module Stellar
16
16
  class LedgerKey
17
17
  class Offer < XDR::Struct
18
18
  attribute :seller_id, AccountID
19
- attribute :offer_id, Uint64
19
+ attribute :offer_id, Int64
20
20
  end
21
21
  end
22
22
  end
@@ -0,0 +1,29 @@
1
+ # This code was automatically generated using xdrgen
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # struct ManageBuyOfferOp
9
+ # {
10
+ # Asset selling;
11
+ # Asset buying;
12
+ # int64 buyAmount; // amount being bought. if set to 0, delete the offer
13
+ # Price price; // price of thing being bought in terms of what you are
14
+ # // selling
15
+ #
16
+ # // 0=create a new offer, otherwise edit an existing offer
17
+ # int64 offerID;
18
+ # };
19
+ #
20
+ # ===========================================================================
21
+ module Stellar
22
+ class ManageBuyOfferOp < XDR::Struct
23
+ attribute :selling, Asset
24
+ attribute :buying, Asset
25
+ attribute :buy_amount, Int64
26
+ attribute :price, Price
27
+ attribute :offer_id, Int64
28
+ end
29
+ end
@@ -5,9 +5,9 @@ require 'xdr'
5
5
 
6
6
  # === xdr source ============================================================
7
7
  #
8
- # union ManageOfferResult switch (ManageOfferResultCode code)
8
+ # union ManageBuyOfferResult switch (ManageBuyOfferResultCode code)
9
9
  # {
10
- # case MANAGE_OFFER_SUCCESS:
10
+ # case MANAGE_BUY_OFFER_SUCCESS:
11
11
  # ManageOfferSuccessResult success;
12
12
  # default:
13
13
  # void;
@@ -15,10 +15,10 @@ require 'xdr'
15
15
  #
16
16
  # ===========================================================================
17
17
  module Stellar
18
- class ManageOfferResult < XDR::Union
19
- switch_on ManageOfferResultCode, :code
18
+ class ManageBuyOfferResult < XDR::Union
19
+ switch_on ManageBuyOfferResultCode, :code
20
20
 
21
- switch :manage_offer_success, :success
21
+ switch :manage_buy_offer_success, :success
22
22
  switch :default
23
23
 
24
24
  attribute :success, ManageOfferSuccessResult
@@ -0,0 +1,50 @@
1
+ # This code was automatically generated using xdrgen
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # enum ManageBuyOfferResultCode
9
+ # {
10
+ # // codes considered as "success" for the operation
11
+ # MANAGE_BUY_OFFER_SUCCESS = 0,
12
+ #
13
+ # // codes considered as "failure" for the operation
14
+ # MANAGE_BUY_OFFER_MALFORMED = -1, // generated offer would be invalid
15
+ # MANAGE_BUY_OFFER_SELL_NO_TRUST = -2, // no trust line for what we're selling
16
+ # MANAGE_BUY_OFFER_BUY_NO_TRUST = -3, // no trust line for what we're buying
17
+ # MANAGE_BUY_OFFER_SELL_NOT_AUTHORIZED = -4, // not authorized to sell
18
+ # MANAGE_BUY_OFFER_BUY_NOT_AUTHORIZED = -5, // not authorized to buy
19
+ # MANAGE_BUY_OFFER_LINE_FULL = -6, // can't receive more of what it's buying
20
+ # MANAGE_BUY_OFFER_UNDERFUNDED = -7, // doesn't hold what it's trying to sell
21
+ # MANAGE_BUY_OFFER_CROSS_SELF = -8, // would cross an offer from the same user
22
+ # MANAGE_BUY_OFFER_SELL_NO_ISSUER = -9, // no issuer for what we're selling
23
+ # MANAGE_BUY_OFFER_BUY_NO_ISSUER = -10, // no issuer for what we're buying
24
+ #
25
+ # // update errors
26
+ # MANAGE_BUY_OFFER_NOT_FOUND = -11, // offerID does not match an existing offer
27
+ #
28
+ # MANAGE_BUY_OFFER_LOW_RESERVE = -12 // not enough funds to create a new Offer
29
+ # };
30
+ #
31
+ # ===========================================================================
32
+ module Stellar
33
+ class ManageBuyOfferResultCode < XDR::Enum
34
+ member :manage_buy_offer_success, 0
35
+ member :manage_buy_offer_malformed, -1
36
+ member :manage_buy_offer_sell_no_trust, -2
37
+ member :manage_buy_offer_buy_no_trust, -3
38
+ member :manage_buy_offer_sell_not_authorized, -4
39
+ member :manage_buy_offer_buy_not_authorized, -5
40
+ member :manage_buy_offer_line_full, -6
41
+ member :manage_buy_offer_underfunded, -7
42
+ member :manage_buy_offer_cross_self, -8
43
+ member :manage_buy_offer_sell_no_issuer, -9
44
+ member :manage_buy_offer_buy_no_issuer, -10
45
+ member :manage_buy_offer_not_found, -11
46
+ member :manage_buy_offer_low_reserve, -12
47
+
48
+ seal
49
+ end
50
+ end
@@ -5,7 +5,7 @@ require 'xdr'
5
5
 
6
6
  # === xdr source ============================================================
7
7
  #
8
- # struct ManageOfferOp
8
+ # struct ManageSellOfferOp
9
9
  # {
10
10
  # Asset selling;
11
11
  # Asset buying;
@@ -13,16 +13,16 @@ require 'xdr'
13
13
  # Price price; // price of thing being sold in terms of what you are buying
14
14
  #
15
15
  # // 0=create a new offer, otherwise edit an existing offer
16
- # uint64 offerID;
16
+ # int64 offerID;
17
17
  # };
18
18
  #
19
19
  # ===========================================================================
20
20
  module Stellar
21
- class ManageOfferOp < XDR::Struct
21
+ class ManageSellOfferOp < XDR::Struct
22
22
  attribute :selling, Asset
23
23
  attribute :buying, Asset
24
24
  attribute :amount, Int64
25
25
  attribute :price, Price
26
- attribute :offer_id, Uint64
26
+ attribute :offer_id, Int64
27
27
  end
28
28
  end
@@ -0,0 +1,26 @@
1
+ # This code was automatically generated using xdrgen
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # union ManageSellOfferResult switch (ManageSellOfferResultCode code)
9
+ # {
10
+ # case MANAGE_SELL_OFFER_SUCCESS:
11
+ # ManageOfferSuccessResult success;
12
+ # default:
13
+ # void;
14
+ # };
15
+ #
16
+ # ===========================================================================
17
+ module Stellar
18
+ class ManageSellOfferResult < XDR::Union
19
+ switch_on ManageSellOfferResultCode, :code
20
+
21
+ switch :manage_sell_offer_success, :success
22
+ switch :default
23
+
24
+ attribute :success, ManageOfferSuccessResult
25
+ end
26
+ end
@@ -0,0 +1,50 @@
1
+ # This code was automatically generated using xdrgen
2
+ # DO NOT EDIT or your changes may be overwritten
3
+
4
+ require 'xdr'
5
+
6
+ # === xdr source ============================================================
7
+ #
8
+ # enum ManageSellOfferResultCode
9
+ # {
10
+ # // codes considered as "success" for the operation
11
+ # MANAGE_SELL_OFFER_SUCCESS = 0,
12
+ #
13
+ # // codes considered as "failure" for the operation
14
+ # MANAGE_SELL_OFFER_MALFORMED = -1, // generated offer would be invalid
15
+ # MANAGE_SELL_OFFER_SELL_NO_TRUST = -2, // no trust line for what we're selling
16
+ # MANAGE_SELL_OFFER_BUY_NO_TRUST = -3, // no trust line for what we're buying
17
+ # MANAGE_SELL_OFFER_SELL_NOT_AUTHORIZED = -4, // not authorized to sell
18
+ # MANAGE_SELL_OFFER_BUY_NOT_AUTHORIZED = -5, // not authorized to buy
19
+ # MANAGE_SELL_OFFER_LINE_FULL = -6, // can't receive more of what it's buying
20
+ # MANAGE_SELL_OFFER_UNDERFUNDED = -7, // doesn't hold what it's trying to sell
21
+ # MANAGE_SELL_OFFER_CROSS_SELF = -8, // would cross an offer from the same user
22
+ # MANAGE_SELL_OFFER_SELL_NO_ISSUER = -9, // no issuer for what we're selling
23
+ # MANAGE_SELL_OFFER_BUY_NO_ISSUER = -10, // no issuer for what we're buying
24
+ #
25
+ # // update errors
26
+ # MANAGE_SELL_OFFER_NOT_FOUND = -11, // offerID does not match an existing offer
27
+ #
28
+ # MANAGE_SELL_OFFER_LOW_RESERVE = -12 // not enough funds to create a new Offer
29
+ # };
30
+ #
31
+ # ===========================================================================
32
+ module Stellar
33
+ class ManageSellOfferResultCode < XDR::Enum
34
+ member :manage_sell_offer_success, 0
35
+ member :manage_sell_offer_malformed, -1
36
+ member :manage_sell_offer_sell_no_trust, -2
37
+ member :manage_sell_offer_buy_no_trust, -3
38
+ member :manage_sell_offer_sell_not_authorized, -4
39
+ member :manage_sell_offer_buy_not_authorized, -5
40
+ member :manage_sell_offer_line_full, -6
41
+ member :manage_sell_offer_underfunded, -7
42
+ member :manage_sell_offer_cross_self, -8
43
+ member :manage_sell_offer_sell_no_issuer, -9
44
+ member :manage_sell_offer_buy_no_issuer, -10
45
+ member :manage_sell_offer_not_found, -11
46
+ member :manage_sell_offer_low_reserve, -12
47
+
48
+ seal
49
+ end
50
+ end
@@ -8,7 +8,7 @@ require 'xdr'
8
8
  # struct OfferEntry
9
9
  # {
10
10
  # AccountID sellerID;
11
- # uint64 offerID;
11
+ # int64 offerID;
12
12
  # Asset selling; // A
13
13
  # Asset buying; // B
14
14
  # int64 amount; // amount of A
@@ -38,7 +38,7 @@ module Stellar
38
38
  autoload :Ext
39
39
 
40
40
  attribute :seller_id, AccountID
41
- attribute :offer_id, Uint64
41
+ attribute :offer_id, Int64
42
42
  attribute :selling, Asset
43
43
  attribute :buying, Asset
44
44
  attribute :amount, Int64
@@ -20,10 +20,10 @@ require 'xdr'
20
20
  # PaymentOp paymentOp;
21
21
  # case PATH_PAYMENT:
22
22
  # PathPaymentOp pathPaymentOp;
23
- # case MANAGE_OFFER:
24
- # ManageOfferOp manageOfferOp;
25
- # case CREATE_PASSIVE_OFFER:
26
- # CreatePassiveOfferOp createPassiveOfferOp;
23
+ # case MANAGE_SELL_OFFER:
24
+ # ManageSellOfferOp manageSellOfferOp;
25
+ # case CREATE_PASSIVE_SELL_OFFER:
26
+ # CreatePassiveSellOfferOp createPassiveSellOfferOp;
27
27
  # case SET_OPTIONS:
28
28
  # SetOptionsOp setOptionsOp;
29
29
  # case CHANGE_TRUST:
@@ -38,6 +38,8 @@ require 'xdr'
38
38
  # ManageDataOp manageDataOp;
39
39
  # case BUMP_SEQUENCE:
40
40
  # BumpSequenceOp bumpSequenceOp;
41
+ # case MANAGE_BUY_OFFER:
42
+ # ManageBuyOfferOp manageBuyOfferOp;
41
43
  # }
42
44
  # body;
43
45
  # };
@@ -13,10 +13,10 @@ require 'xdr'
13
13
  # PaymentOp paymentOp;
14
14
  # case PATH_PAYMENT:
15
15
  # PathPaymentOp pathPaymentOp;
16
- # case MANAGE_OFFER:
17
- # ManageOfferOp manageOfferOp;
18
- # case CREATE_PASSIVE_OFFER:
19
- # CreatePassiveOfferOp createPassiveOfferOp;
16
+ # case MANAGE_SELL_OFFER:
17
+ # ManageSellOfferOp manageSellOfferOp;
18
+ # case CREATE_PASSIVE_SELL_OFFER:
19
+ # CreatePassiveSellOfferOp createPassiveSellOfferOp;
20
20
  # case SET_OPTIONS:
21
21
  # SetOptionsOp setOptionsOp;
22
22
  # case CHANGE_TRUST:
@@ -31,6 +31,8 @@ require 'xdr'
31
31
  # ManageDataOp manageDataOp;
32
32
  # case BUMP_SEQUENCE:
33
33
  # BumpSequenceOp bumpSequenceOp;
34
+ # case MANAGE_BUY_OFFER:
35
+ # ManageBuyOfferOp manageBuyOfferOp;
34
36
  # }
35
37
  #
36
38
  # ===========================================================================
@@ -39,30 +41,32 @@ module Stellar
39
41
  class Body < XDR::Union
40
42
  switch_on OperationType, :type
41
43
 
42
- switch :create_account, :create_account_op
43
- switch :payment, :payment_op
44
- switch :path_payment, :path_payment_op
45
- switch :manage_offer, :manage_offer_op
46
- switch :create_passive_offer, :create_passive_offer_op
47
- switch :set_options, :set_options_op
48
- switch :change_trust, :change_trust_op
49
- switch :allow_trust, :allow_trust_op
50
- switch :account_merge, :destination
44
+ switch :create_account, :create_account_op
45
+ switch :payment, :payment_op
46
+ switch :path_payment, :path_payment_op
47
+ switch :manage_sell_offer, :manage_sell_offer_op
48
+ switch :create_passive_sell_offer, :create_passive_sell_offer_op
49
+ switch :set_options, :set_options_op
50
+ switch :change_trust, :change_trust_op
51
+ switch :allow_trust, :allow_trust_op
52
+ switch :account_merge, :destination
51
53
  switch :inflation
52
- switch :manage_data, :manage_data_op
53
- switch :bump_sequence, :bump_sequence_op
54
+ switch :manage_data, :manage_data_op
55
+ switch :bump_sequence, :bump_sequence_op
56
+ switch :manage_buy_offer, :manage_buy_offer_op
54
57
 
55
- attribute :create_account_op, CreateAccountOp
56
- attribute :payment_op, PaymentOp
57
- attribute :path_payment_op, PathPaymentOp
58
- attribute :manage_offer_op, ManageOfferOp
59
- attribute :create_passive_offer_op, CreatePassiveOfferOp
60
- attribute :set_options_op, SetOptionsOp
61
- attribute :change_trust_op, ChangeTrustOp
62
- attribute :allow_trust_op, AllowTrustOp
63
- attribute :destination, AccountID
64
- attribute :manage_data_op, ManageDataOp
65
- attribute :bump_sequence_op, BumpSequenceOp
58
+ attribute :create_account_op, CreateAccountOp
59
+ attribute :payment_op, PaymentOp
60
+ attribute :path_payment_op, PathPaymentOp
61
+ attribute :manage_sell_offer_op, ManageSellOfferOp
62
+ attribute :create_passive_sell_offer_op, CreatePassiveSellOfferOp
63
+ attribute :set_options_op, SetOptionsOp
64
+ attribute :change_trust_op, ChangeTrustOp
65
+ attribute :allow_trust_op, AllowTrustOp
66
+ attribute :destination, AccountID
67
+ attribute :manage_data_op, ManageDataOp
68
+ attribute :bump_sequence_op, BumpSequenceOp
69
+ attribute :manage_buy_offer_op, ManageBuyOfferOp
66
70
  end
67
71
  end
68
72
  end
@@ -16,10 +16,10 @@ require 'xdr'
16
16
  # PaymentResult paymentResult;
17
17
  # case PATH_PAYMENT:
18
18
  # PathPaymentResult pathPaymentResult;
19
- # case MANAGE_OFFER:
20
- # ManageOfferResult manageOfferResult;
21
- # case CREATE_PASSIVE_OFFER:
22
- # ManageOfferResult createPassiveOfferResult;
19
+ # case MANAGE_SELL_OFFER:
20
+ # ManageSellOfferResult manageSellOfferResult;
21
+ # case CREATE_PASSIVE_SELL_OFFER:
22
+ # ManageSellOfferResult createPassiveSellOfferResult;
23
23
  # case SET_OPTIONS:
24
24
  # SetOptionsResult setOptionsResult;
25
25
  # case CHANGE_TRUST:
@@ -34,6 +34,8 @@ require 'xdr'
34
34
  # ManageDataResult manageDataResult;
35
35
  # case BUMP_SEQUENCE:
36
36
  # BumpSequenceResult bumpSeqResult;
37
+ # case MANAGE_BUY_OFFER:
38
+ # ManageBuyOfferResult manageBuyOfferResult;
37
39
  # }
38
40
  # tr;
39
41
  # default:
@@ -13,10 +13,10 @@ require 'xdr'
13
13
  # PaymentResult paymentResult;
14
14
  # case PATH_PAYMENT:
15
15
  # PathPaymentResult pathPaymentResult;
16
- # case MANAGE_OFFER:
17
- # ManageOfferResult manageOfferResult;
18
- # case CREATE_PASSIVE_OFFER:
19
- # ManageOfferResult createPassiveOfferResult;
16
+ # case MANAGE_SELL_OFFER:
17
+ # ManageSellOfferResult manageSellOfferResult;
18
+ # case CREATE_PASSIVE_SELL_OFFER:
19
+ # ManageSellOfferResult createPassiveSellOfferResult;
20
20
  # case SET_OPTIONS:
21
21
  # SetOptionsResult setOptionsResult;
22
22
  # case CHANGE_TRUST:
@@ -31,6 +31,8 @@ require 'xdr'
31
31
  # ManageDataResult manageDataResult;
32
32
  # case BUMP_SEQUENCE:
33
33
  # BumpSequenceResult bumpSeqResult;
34
+ # case MANAGE_BUY_OFFER:
35
+ # ManageBuyOfferResult manageBuyOfferResult;
34
36
  # }
35
37
  #
36
38
  # ===========================================================================
@@ -39,31 +41,33 @@ module Stellar
39
41
  class Tr < XDR::Union
40
42
  switch_on OperationType, :type
41
43
 
42
- switch :create_account, :create_account_result
43
- switch :payment, :payment_result
44
- switch :path_payment, :path_payment_result
45
- switch :manage_offer, :manage_offer_result
46
- switch :create_passive_offer, :create_passive_offer_result
47
- switch :set_options, :set_options_result
48
- switch :change_trust, :change_trust_result
49
- switch :allow_trust, :allow_trust_result
50
- switch :account_merge, :account_merge_result
51
- switch :inflation, :inflation_result
52
- switch :manage_data, :manage_data_result
53
- switch :bump_sequence, :bump_seq_result
44
+ switch :create_account, :create_account_result
45
+ switch :payment, :payment_result
46
+ switch :path_payment, :path_payment_result
47
+ switch :manage_sell_offer, :manage_sell_offer_result
48
+ switch :create_passive_sell_offer, :create_passive_sell_offer_result
49
+ switch :set_options, :set_options_result
50
+ switch :change_trust, :change_trust_result
51
+ switch :allow_trust, :allow_trust_result
52
+ switch :account_merge, :account_merge_result
53
+ switch :inflation, :inflation_result
54
+ switch :manage_data, :manage_data_result
55
+ switch :bump_sequence, :bump_seq_result
56
+ switch :manage_buy_offer, :manage_buy_offer_result
54
57
 
55
- attribute :create_account_result, CreateAccountResult
56
- attribute :payment_result, PaymentResult
57
- attribute :path_payment_result, PathPaymentResult
58
- attribute :manage_offer_result, ManageOfferResult
59
- attribute :create_passive_offer_result, ManageOfferResult
60
- attribute :set_options_result, SetOptionsResult
61
- attribute :change_trust_result, ChangeTrustResult
62
- attribute :allow_trust_result, AllowTrustResult
63
- attribute :account_merge_result, AccountMergeResult
64
- attribute :inflation_result, InflationResult
65
- attribute :manage_data_result, ManageDataResult
66
- attribute :bump_seq_result, BumpSequenceResult
58
+ attribute :create_account_result, CreateAccountResult
59
+ attribute :payment_result, PaymentResult
60
+ attribute :path_payment_result, PathPaymentResult
61
+ attribute :manage_sell_offer_result, ManageSellOfferResult
62
+ attribute :create_passive_sell_offer_result, ManageSellOfferResult
63
+ attribute :set_options_result, SetOptionsResult
64
+ attribute :change_trust_result, ChangeTrustResult
65
+ attribute :allow_trust_result, AllowTrustResult
66
+ attribute :account_merge_result, AccountMergeResult
67
+ attribute :inflation_result, InflationResult
68
+ attribute :manage_data_result, ManageDataResult
69
+ attribute :bump_seq_result, BumpSequenceResult
70
+ attribute :manage_buy_offer_result, ManageBuyOfferResult
67
71
  end
68
72
  end
69
73
  end