xpring 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/org/xrpl/rpc/v1/account_pb.rb +22 -0
- data/lib/org/xrpl/rpc/v1/amount_pb.rb +41 -0
- data/lib/org/xrpl/rpc/v1/common_pb.rb +341 -0
- data/lib/org/xrpl/rpc/v1/get_account_info_pb.rb +57 -0
- data/lib/org/xrpl/rpc/v1/get_account_transaction_history_pb.rb +48 -0
- data/lib/org/xrpl/rpc/v1/get_fee_pb.rb +46 -0
- data/lib/org/xrpl/rpc/v1/get_transaction_pb.rb +43 -0
- data/lib/org/xrpl/rpc/v1/ledger_objects_pb.rb +208 -0
- data/lib/org/xrpl/rpc/v1/ledger_pb.rb +38 -0
- data/lib/org/xrpl/rpc/v1/meta_pb.rb +67 -0
- data/lib/org/xrpl/rpc/v1/submit_pb.rb +31 -0
- data/lib/org/xrpl/rpc/v1/transaction_pb.rb +199 -0
- data/lib/org/xrpl/rpc/v1/xrp_ledger_pb.rb +23 -0
- data/lib/org/xrpl/rpc/v1/xrp_ledger_services_pb.rb +37 -0
- data/lib/xpring.rb +28 -0
- data/lib/xpring/client.rb +120 -0
- data/lib/xpring/error.rb +6 -0
- data/lib/xpring/javascript.rb +63 -0
- data/lib/xpring/javascript/library.js +28 -0
- data/lib/xpring/signer.rb +25 -0
- data/lib/xpring/util.rb +82 -0
- data/lib/xpring/version.rb +5 -0
- data/lib/xpring/wallet.rb +106 -0
- metadata +169 -0
@@ -0,0 +1,48 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: org/xrpl/rpc/v1/get_account_transaction_history.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'org/xrpl/rpc/v1/get_transaction_pb'
|
7
|
+
require 'org/xrpl/rpc/v1/account_pb'
|
8
|
+
require 'org/xrpl/rpc/v1/ledger_pb'
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("org/xrpl/rpc/v1/get_account_transaction_history.proto", :syntax => :proto3) do
|
11
|
+
add_message "org.xrpl.rpc.v1.GetAccountTransactionHistoryRequest" do
|
12
|
+
optional :account, :message, 1, "org.xrpl.rpc.v1.AccountAddress"
|
13
|
+
optional :binary, :bool, 4
|
14
|
+
optional :forward, :bool, 5
|
15
|
+
optional :limit, :uint32, 6
|
16
|
+
optional :marker, :message, 7, "org.xrpl.rpc.v1.Marker"
|
17
|
+
oneof :ledger do
|
18
|
+
optional :ledger_specifier, :message, 2, "org.xrpl.rpc.v1.LedgerSpecifier"
|
19
|
+
optional :ledger_range, :message, 3, "org.xrpl.rpc.v1.LedgerRange"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
add_message "org.xrpl.rpc.v1.GetAccountTransactionHistoryResponse" do
|
23
|
+
optional :account, :message, 1, "org.xrpl.rpc.v1.AccountAddress"
|
24
|
+
optional :ledger_index_min, :uint32, 2
|
25
|
+
optional :ledger_index_max, :uint32, 3
|
26
|
+
optional :limit, :uint32, 4
|
27
|
+
optional :marker, :message, 5, "org.xrpl.rpc.v1.Marker"
|
28
|
+
repeated :transactions, :message, 6, "org.xrpl.rpc.v1.GetTransactionResponse"
|
29
|
+
optional :validated, :bool, 7
|
30
|
+
end
|
31
|
+
add_message "org.xrpl.rpc.v1.Marker" do
|
32
|
+
optional :ledger_index, :uint32, 1
|
33
|
+
optional :account_sequence, :uint32, 2
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
module Org
|
39
|
+
module Xrpl
|
40
|
+
module Rpc
|
41
|
+
module V1
|
42
|
+
GetAccountTransactionHistoryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.GetAccountTransactionHistoryRequest").msgclass
|
43
|
+
GetAccountTransactionHistoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.GetAccountTransactionHistoryResponse").msgclass
|
44
|
+
Marker = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.Marker").msgclass
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: org/xrpl/rpc/v1/get_fee.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'org/xrpl/rpc/v1/amount_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_file("org/xrpl/rpc/v1/get_fee.proto", :syntax => :proto3) do
|
9
|
+
add_message "org.xrpl.rpc.v1.GetFeeRequest" do
|
10
|
+
end
|
11
|
+
add_message "org.xrpl.rpc.v1.GetFeeResponse" do
|
12
|
+
optional :current_ledger_size, :uint64, 1
|
13
|
+
optional :current_queue_size, :uint64, 2
|
14
|
+
optional :fee, :message, 3, "org.xrpl.rpc.v1.Fee"
|
15
|
+
optional :expected_ledger_size, :uint64, 4
|
16
|
+
optional :ledger_current_index, :uint32, 5
|
17
|
+
optional :levels, :message, 6, "org.xrpl.rpc.v1.FeeLevels"
|
18
|
+
optional :max_queue_size, :uint64, 7
|
19
|
+
end
|
20
|
+
add_message "org.xrpl.rpc.v1.Fee" do
|
21
|
+
optional :base_fee, :message, 1, "org.xrpl.rpc.v1.XRPDropsAmount"
|
22
|
+
optional :median_fee, :message, 2, "org.xrpl.rpc.v1.XRPDropsAmount"
|
23
|
+
optional :minimum_fee, :message, 3, "org.xrpl.rpc.v1.XRPDropsAmount"
|
24
|
+
optional :open_ledger_fee, :message, 4, "org.xrpl.rpc.v1.XRPDropsAmount"
|
25
|
+
end
|
26
|
+
add_message "org.xrpl.rpc.v1.FeeLevels" do
|
27
|
+
optional :median_level, :uint64, 1
|
28
|
+
optional :minimum_level, :uint64, 2
|
29
|
+
optional :open_ledger_level, :uint64, 3
|
30
|
+
optional :reference_level, :uint64, 4
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
module Org
|
36
|
+
module Xrpl
|
37
|
+
module Rpc
|
38
|
+
module V1
|
39
|
+
GetFeeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.GetFeeRequest").msgclass
|
40
|
+
GetFeeResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.GetFeeResponse").msgclass
|
41
|
+
Fee = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.Fee").msgclass
|
42
|
+
FeeLevels = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.FeeLevels").msgclass
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: org/xrpl/rpc/v1/get_transaction.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'org/xrpl/rpc/v1/meta_pb'
|
7
|
+
require 'org/xrpl/rpc/v1/ledger_pb'
|
8
|
+
require 'org/xrpl/rpc/v1/transaction_pb'
|
9
|
+
require 'org/xrpl/rpc/v1/common_pb'
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("org/xrpl/rpc/v1/get_transaction.proto", :syntax => :proto3) do
|
12
|
+
add_message "org.xrpl.rpc.v1.GetTransactionRequest" do
|
13
|
+
optional :hash, :bytes, 1
|
14
|
+
optional :binary, :bool, 2
|
15
|
+
optional :ledger_range, :message, 3, "org.xrpl.rpc.v1.LedgerRange"
|
16
|
+
end
|
17
|
+
add_message "org.xrpl.rpc.v1.GetTransactionResponse" do
|
18
|
+
optional :ledger_index, :uint32, 3
|
19
|
+
optional :hash, :bytes, 4
|
20
|
+
optional :validated, :bool, 5
|
21
|
+
optional :date, :message, 8, "org.xrpl.rpc.v1.Date"
|
22
|
+
oneof :serialized_transaction do
|
23
|
+
optional :transaction, :message, 1, "org.xrpl.rpc.v1.Transaction"
|
24
|
+
optional :transaction_binary, :bytes, 2
|
25
|
+
end
|
26
|
+
oneof :serialized_meta do
|
27
|
+
optional :meta, :message, 6, "org.xrpl.rpc.v1.Meta"
|
28
|
+
optional :meta_binary, :bytes, 7
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
module Org
|
35
|
+
module Xrpl
|
36
|
+
module Rpc
|
37
|
+
module V1
|
38
|
+
GetTransactionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.GetTransactionRequest").msgclass
|
39
|
+
GetTransactionResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.GetTransactionResponse").msgclass
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,208 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: org/xrpl/rpc/v1/ledger_objects.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'org/xrpl/rpc/v1/common_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_file("org/xrpl/rpc/v1/ledger_objects.proto", :syntax => :proto3) do
|
9
|
+
add_message "org.xrpl.rpc.v1.LedgerObject" do
|
10
|
+
oneof :object do
|
11
|
+
optional :account_root, :message, 1, "org.xrpl.rpc.v1.AccountRoot"
|
12
|
+
optional :amendments, :message, 2, "org.xrpl.rpc.v1.Amendments"
|
13
|
+
optional :check, :message, 3, "org.xrpl.rpc.v1.Check"
|
14
|
+
optional :deposit_preauth, :message, 4, "org.xrpl.rpc.v1.DepositPreauthObject"
|
15
|
+
optional :directory_node, :message, 5, "org.xrpl.rpc.v1.DirectoryNode"
|
16
|
+
optional :escrow, :message, 6, "org.xrpl.rpc.v1.Escrow"
|
17
|
+
optional :fee_settings, :message, 7, "org.xrpl.rpc.v1.FeeSettings"
|
18
|
+
optional :ledger_hashes, :message, 8, "org.xrpl.rpc.v1.LedgerHashes"
|
19
|
+
optional :offer, :message, 9, "org.xrpl.rpc.v1.Offer"
|
20
|
+
optional :pay_channel, :message, 10, "org.xrpl.rpc.v1.PayChannel"
|
21
|
+
optional :ripple_state, :message, 11, "org.xrpl.rpc.v1.RippleState"
|
22
|
+
optional :signer_list, :message, 12, "org.xrpl.rpc.v1.SignerList"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
add_message "org.xrpl.rpc.v1.AccountRoot" do
|
26
|
+
optional :account, :message, 1, "org.xrpl.rpc.v1.Account"
|
27
|
+
optional :balance, :message, 2, "org.xrpl.rpc.v1.Balance"
|
28
|
+
optional :sequence, :message, 3, "org.xrpl.rpc.v1.Sequence"
|
29
|
+
optional :flags, :message, 4, "org.xrpl.rpc.v1.Flags"
|
30
|
+
optional :owner_count, :message, 5, "org.xrpl.rpc.v1.OwnerCount"
|
31
|
+
optional :previous_transaction_id, :message, 6, "org.xrpl.rpc.v1.PreviousTransactionID"
|
32
|
+
optional :previous_transaction_ledger_sequence, :message, 7, "org.xrpl.rpc.v1.PreviousTransactionLedgerSequence"
|
33
|
+
optional :account_transaction_id, :message, 8, "org.xrpl.rpc.v1.AccountTransactionID"
|
34
|
+
optional :domain, :message, 9, "org.xrpl.rpc.v1.Domain"
|
35
|
+
optional :email_hash, :message, 10, "org.xrpl.rpc.v1.EmailHash"
|
36
|
+
optional :message_key, :message, 11, "org.xrpl.rpc.v1.MessageKey"
|
37
|
+
optional :regular_key, :message, 12, "org.xrpl.rpc.v1.RegularKey"
|
38
|
+
optional :tick_size, :message, 13, "org.xrpl.rpc.v1.TickSize"
|
39
|
+
optional :transfer_rate, :message, 14, "org.xrpl.rpc.v1.TransferRate"
|
40
|
+
end
|
41
|
+
add_message "org.xrpl.rpc.v1.Amendments" do
|
42
|
+
repeated :amendments, :message, 1, "org.xrpl.rpc.v1.Amendments.Amendment"
|
43
|
+
repeated :majorities, :message, 2, "org.xrpl.rpc.v1.Amendments.Majority"
|
44
|
+
optional :flags, :message, 3, "org.xrpl.rpc.v1.Flags"
|
45
|
+
end
|
46
|
+
add_message "org.xrpl.rpc.v1.Amendments.Amendment" do
|
47
|
+
optional :value, :bytes, 1
|
48
|
+
end
|
49
|
+
add_message "org.xrpl.rpc.v1.Amendments.Majority" do
|
50
|
+
optional :amendment, :message, 1, "org.xrpl.rpc.v1.Amendments.Amendment"
|
51
|
+
optional :close_time, :message, 2, "org.xrpl.rpc.v1.CloseTime"
|
52
|
+
end
|
53
|
+
add_message "org.xrpl.rpc.v1.Check" do
|
54
|
+
optional :account, :message, 1, "org.xrpl.rpc.v1.Account"
|
55
|
+
optional :destination, :message, 2, "org.xrpl.rpc.v1.Destination"
|
56
|
+
optional :flags, :message, 3, "org.xrpl.rpc.v1.Flags"
|
57
|
+
optional :owner_node, :message, 4, "org.xrpl.rpc.v1.OwnerNode"
|
58
|
+
optional :previous_transaction_id, :message, 5, "org.xrpl.rpc.v1.PreviousTransactionID"
|
59
|
+
optional :previous_transaction_ledger_sequence, :message, 6, "org.xrpl.rpc.v1.PreviousTransactionLedgerSequence"
|
60
|
+
optional :send_max, :message, 7, "org.xrpl.rpc.v1.SendMax"
|
61
|
+
optional :sequence, :message, 8, "org.xrpl.rpc.v1.Sequence"
|
62
|
+
optional :destination_node, :message, 9, "org.xrpl.rpc.v1.DestinationNode"
|
63
|
+
optional :destination_tag, :message, 10, "org.xrpl.rpc.v1.DestinationTag"
|
64
|
+
optional :expiration, :message, 11, "org.xrpl.rpc.v1.Expiration"
|
65
|
+
optional :invoice_id, :message, 12, "org.xrpl.rpc.v1.InvoiceID"
|
66
|
+
optional :source_tag, :message, 13, "org.xrpl.rpc.v1.SourceTag"
|
67
|
+
end
|
68
|
+
add_message "org.xrpl.rpc.v1.DepositPreauthObject" do
|
69
|
+
optional :account, :message, 1, "org.xrpl.rpc.v1.Account"
|
70
|
+
optional :authorize, :message, 2, "org.xrpl.rpc.v1.Authorize"
|
71
|
+
optional :flags, :message, 3, "org.xrpl.rpc.v1.Flags"
|
72
|
+
optional :owner_node, :message, 4, "org.xrpl.rpc.v1.OwnerNode"
|
73
|
+
optional :previous_transaction_id, :message, 5, "org.xrpl.rpc.v1.PreviousTransactionID"
|
74
|
+
optional :previous_transaction_ledger_sequence, :message, 6, "org.xrpl.rpc.v1.PreviousTransactionLedgerSequence"
|
75
|
+
end
|
76
|
+
add_message "org.xrpl.rpc.v1.DirectoryNode" do
|
77
|
+
optional :flags, :message, 1, "org.xrpl.rpc.v1.Flags"
|
78
|
+
optional :root_index, :message, 2, "org.xrpl.rpc.v1.RootIndex"
|
79
|
+
repeated :indexes, :message, 3, "org.xrpl.rpc.v1.Index"
|
80
|
+
optional :index_next, :message, 4, "org.xrpl.rpc.v1.IndexNext"
|
81
|
+
optional :index_previous, :message, 5, "org.xrpl.rpc.v1.IndexPrevious"
|
82
|
+
optional :owner, :message, 6, "org.xrpl.rpc.v1.Owner"
|
83
|
+
optional :taker_pays_currency, :message, 7, "org.xrpl.rpc.v1.TakerPaysCurrency"
|
84
|
+
optional :taker_pays_issuer, :message, 8, "org.xrpl.rpc.v1.TakerPaysIssuer"
|
85
|
+
optional :taker_gets_currency, :message, 9, "org.xrpl.rpc.v1.TakerGetsCurreny"
|
86
|
+
optional :taker_gets_issuer, :message, 10, "org.xrpl.rpc.v1.TakerGetsIssuer"
|
87
|
+
end
|
88
|
+
add_message "org.xrpl.rpc.v1.Escrow" do
|
89
|
+
optional :account, :message, 1, "org.xrpl.rpc.v1.Account"
|
90
|
+
optional :destination, :message, 2, "org.xrpl.rpc.v1.Destination"
|
91
|
+
optional :amount, :message, 3, "org.xrpl.rpc.v1.Amount"
|
92
|
+
optional :condition, :message, 4, "org.xrpl.rpc.v1.Condition"
|
93
|
+
optional :cancel_after, :message, 5, "org.xrpl.rpc.v1.CancelAfter"
|
94
|
+
optional :finish_after, :message, 6, "org.xrpl.rpc.v1.FinishAfter"
|
95
|
+
optional :flags, :message, 7, "org.xrpl.rpc.v1.Flags"
|
96
|
+
optional :source_tag, :message, 8, "org.xrpl.rpc.v1.SourceTag"
|
97
|
+
optional :destination_tag, :message, 9, "org.xrpl.rpc.v1.DestinationTag"
|
98
|
+
optional :owner_node, :message, 10, "org.xrpl.rpc.v1.OwnerNode"
|
99
|
+
optional :destination_node, :message, 11, "org.xrpl.rpc.v1.DestinationNode"
|
100
|
+
optional :previous_transaction_id, :message, 12, "org.xrpl.rpc.v1.PreviousTransactionID"
|
101
|
+
optional :previous_transaction_ledger_sequence, :message, 13, "org.xrpl.rpc.v1.PreviousTransactionLedgerSequence"
|
102
|
+
end
|
103
|
+
add_message "org.xrpl.rpc.v1.FeeSettings" do
|
104
|
+
optional :base_fee, :message, 1, "org.xrpl.rpc.v1.BaseFee"
|
105
|
+
optional :reference_fee_units, :message, 2, "org.xrpl.rpc.v1.ReferenceFeeUnits"
|
106
|
+
optional :reserve_base, :message, 3, "org.xrpl.rpc.v1.ReserveBase"
|
107
|
+
optional :reserve_increment, :message, 4, "org.xrpl.rpc.v1.ReserveIncrement"
|
108
|
+
optional :flags, :message, 5, "org.xrpl.rpc.v1.Flags"
|
109
|
+
end
|
110
|
+
add_message "org.xrpl.rpc.v1.LedgerHashes" do
|
111
|
+
optional :last_ledger_sequence, :message, 1, "org.xrpl.rpc.v1.LastLedgerSequence"
|
112
|
+
repeated :hashes, :message, 2, "org.xrpl.rpc.v1.Hash"
|
113
|
+
optional :flags, :message, 3, "org.xrpl.rpc.v1.Flags"
|
114
|
+
end
|
115
|
+
add_message "org.xrpl.rpc.v1.Offer" do
|
116
|
+
optional :account, :message, 1, "org.xrpl.rpc.v1.Account"
|
117
|
+
optional :sequence, :message, 2, "org.xrpl.rpc.v1.Sequence"
|
118
|
+
optional :flags, :message, 3, "org.xrpl.rpc.v1.Flags"
|
119
|
+
optional :taker_pays, :message, 4, "org.xrpl.rpc.v1.TakerPays"
|
120
|
+
optional :taker_gets, :message, 5, "org.xrpl.rpc.v1.TakerGets"
|
121
|
+
optional :book_directory, :message, 6, "org.xrpl.rpc.v1.BookDirectory"
|
122
|
+
optional :book_node, :message, 7, "org.xrpl.rpc.v1.BookNode"
|
123
|
+
optional :owner_node, :message, 8, "org.xrpl.rpc.v1.OwnerNode"
|
124
|
+
optional :expiration, :message, 9, "org.xrpl.rpc.v1.Expiration"
|
125
|
+
optional :previous_transaction_id, :message, 10, "org.xrpl.rpc.v1.PreviousTransactionID"
|
126
|
+
optional :previous_transaction_ledger_sequence, :message, 11, "org.xrpl.rpc.v1.PreviousTransactionLedgerSequence"
|
127
|
+
end
|
128
|
+
add_message "org.xrpl.rpc.v1.PayChannel" do
|
129
|
+
optional :account, :message, 1, "org.xrpl.rpc.v1.Account"
|
130
|
+
optional :destination, :message, 2, "org.xrpl.rpc.v1.Destination"
|
131
|
+
optional :amount, :message, 3, "org.xrpl.rpc.v1.Amount"
|
132
|
+
optional :balance, :message, 4, "org.xrpl.rpc.v1.Balance"
|
133
|
+
optional :public_key, :message, 5, "org.xrpl.rpc.v1.PublicKey"
|
134
|
+
optional :settle_delay, :message, 6, "org.xrpl.rpc.v1.SettleDelay"
|
135
|
+
optional :owner_node, :message, 7, "org.xrpl.rpc.v1.OwnerNode"
|
136
|
+
optional :previous_transaction_id, :message, 8, "org.xrpl.rpc.v1.PreviousTransactionID"
|
137
|
+
optional :previous_transaction_ledger_sequence, :message, 9, "org.xrpl.rpc.v1.PreviousTransactionLedgerSequence"
|
138
|
+
optional :flags, :message, 10, "org.xrpl.rpc.v1.Flags"
|
139
|
+
optional :expiration, :message, 11, "org.xrpl.rpc.v1.Expiration"
|
140
|
+
optional :cancel_after, :message, 12, "org.xrpl.rpc.v1.CancelAfter"
|
141
|
+
optional :source_tag, :message, 13, "org.xrpl.rpc.v1.SourceTag"
|
142
|
+
optional :destination_tag, :message, 14, "org.xrpl.rpc.v1.DestinationTag"
|
143
|
+
end
|
144
|
+
add_message "org.xrpl.rpc.v1.RippleState" do
|
145
|
+
optional :balance, :message, 1, "org.xrpl.rpc.v1.Balance"
|
146
|
+
optional :flags, :message, 2, "org.xrpl.rpc.v1.Flags"
|
147
|
+
optional :low_limit, :message, 3, "org.xrpl.rpc.v1.LowLimit"
|
148
|
+
optional :high_limit, :message, 4, "org.xrpl.rpc.v1.HighLimit"
|
149
|
+
optional :low_node, :message, 5, "org.xrpl.rpc.v1.LowNode"
|
150
|
+
optional :high_node, :message, 6, "org.xrpl.rpc.v1.HighNode"
|
151
|
+
optional :low_quality_in, :message, 7, "org.xrpl.rpc.v1.LowQualityIn"
|
152
|
+
optional :low_quality_out, :message, 8, "org.xrpl.rpc.v1.LowQualityOut"
|
153
|
+
optional :high_quality_in, :message, 9, "org.xrpl.rpc.v1.HighQualityIn"
|
154
|
+
optional :high_quality_out, :message, 10, "org.xrpl.rpc.v1.HighQualityOut"
|
155
|
+
optional :previous_transaction_id, :message, 11, "org.xrpl.rpc.v1.PreviousTransactionID"
|
156
|
+
optional :previous_transaction_ledger_sequence, :message, 12, "org.xrpl.rpc.v1.PreviousTransactionLedgerSequence"
|
157
|
+
end
|
158
|
+
add_message "org.xrpl.rpc.v1.SignerList" do
|
159
|
+
optional :flags, :message, 1, "org.xrpl.rpc.v1.Flags"
|
160
|
+
optional :previous_transaction_id, :message, 2, "org.xrpl.rpc.v1.PreviousTransactionID"
|
161
|
+
optional :previous_transaction_ledger_sequence, :message, 3, "org.xrpl.rpc.v1.PreviousTransactionLedgerSequence"
|
162
|
+
optional :owner_node, :message, 4, "org.xrpl.rpc.v1.OwnerNode"
|
163
|
+
repeated :signer_entries, :message, 5, "org.xrpl.rpc.v1.SignerEntry"
|
164
|
+
optional :signer_list_id, :message, 6, "org.xrpl.rpc.v1.SignerListID"
|
165
|
+
optional :signer_quorum, :message, 7, "org.xrpl.rpc.v1.SignerQuorum"
|
166
|
+
end
|
167
|
+
add_enum "org.xrpl.rpc.v1.LedgerEntryType" do
|
168
|
+
value :LEDGER_ENTRY_TYPE_UNSPECIFIED, 0
|
169
|
+
value :LEDGER_ENTRY_TYPE_ACCOUNT_ROOT, 1
|
170
|
+
value :LEDGER_ENTRY_TYPE_AMENDMENTS, 2
|
171
|
+
value :LEDGER_ENTRY_TYPE_CHECK, 3
|
172
|
+
value :LEDGER_ENTRY_TYPE_DEPOSIT_PREAUTH, 4
|
173
|
+
value :LEDGER_ENTRY_TYPE_DIRECTORY_NODE, 5
|
174
|
+
value :LEDGER_ENTRY_TYPE_ESCROW, 6
|
175
|
+
value :LEDGER_ENTRY_TYPE_FEE_SETTINGS, 7
|
176
|
+
value :LEDGER_ENTRY_TYPE_LEDGER_HASHES, 8
|
177
|
+
value :LEDGER_ENTRY_TYPE_OFFER, 9
|
178
|
+
value :LEDGER_ENTRY_TYPE_PAY_CHANNEL, 10
|
179
|
+
value :LEDGER_ENTRY_TYPE_RIPPLE_STATE, 11
|
180
|
+
value :LEDGER_ENTRY_TYPE_SIGNER_LIST, 12
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
module Org
|
186
|
+
module Xrpl
|
187
|
+
module Rpc
|
188
|
+
module V1
|
189
|
+
LedgerObject = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.LedgerObject").msgclass
|
190
|
+
AccountRoot = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.AccountRoot").msgclass
|
191
|
+
Amendments = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.Amendments").msgclass
|
192
|
+
Amendments::Amendment = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.Amendments.Amendment").msgclass
|
193
|
+
Amendments::Majority = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.Amendments.Majority").msgclass
|
194
|
+
Check = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.Check").msgclass
|
195
|
+
DepositPreauthObject = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.DepositPreauthObject").msgclass
|
196
|
+
DirectoryNode = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.DirectoryNode").msgclass
|
197
|
+
Escrow = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.Escrow").msgclass
|
198
|
+
FeeSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.FeeSettings").msgclass
|
199
|
+
LedgerHashes = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.LedgerHashes").msgclass
|
200
|
+
Offer = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.Offer").msgclass
|
201
|
+
PayChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.PayChannel").msgclass
|
202
|
+
RippleState = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.RippleState").msgclass
|
203
|
+
SignerList = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.SignerList").msgclass
|
204
|
+
LedgerEntryType = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.LedgerEntryType").enummodule
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|
208
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: org/xrpl/rpc/v1/ledger.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("org/xrpl/rpc/v1/ledger.proto", :syntax => :proto3) do
|
8
|
+
add_message "org.xrpl.rpc.v1.LedgerSpecifier" do
|
9
|
+
oneof :ledger do
|
10
|
+
optional :shortcut, :enum, 1, "org.xrpl.rpc.v1.LedgerSpecifier.Shortcut"
|
11
|
+
optional :sequence, :uint32, 2
|
12
|
+
optional :hash, :bytes, 3
|
13
|
+
end
|
14
|
+
end
|
15
|
+
add_enum "org.xrpl.rpc.v1.LedgerSpecifier.Shortcut" do
|
16
|
+
value :SHORTCUT_UNSPECIFIED, 0
|
17
|
+
value :SHORTCUT_VALIDATED, 1
|
18
|
+
value :SHORTCUT_CLOSED, 2
|
19
|
+
value :SHORTCUT_CURRENT, 3
|
20
|
+
end
|
21
|
+
add_message "org.xrpl.rpc.v1.LedgerRange" do
|
22
|
+
optional :ledger_index_min, :uint32, 1
|
23
|
+
optional :ledger_index_max, :uint32, 2
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
module Org
|
29
|
+
module Xrpl
|
30
|
+
module Rpc
|
31
|
+
module V1
|
32
|
+
LedgerSpecifier = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.LedgerSpecifier").msgclass
|
33
|
+
LedgerSpecifier::Shortcut = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.LedgerSpecifier.Shortcut").enummodule
|
34
|
+
LedgerRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.LedgerRange").msgclass
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: org/xrpl/rpc/v1/meta.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'org/xrpl/rpc/v1/ledger_objects_pb'
|
7
|
+
require 'org/xrpl/rpc/v1/common_pb'
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("org/xrpl/rpc/v1/meta.proto", :syntax => :proto3) do
|
10
|
+
add_message "org.xrpl.rpc.v1.Meta" do
|
11
|
+
optional :transaction_index, :uint64, 1
|
12
|
+
optional :transaction_result, :message, 2, "org.xrpl.rpc.v1.TransactionResult"
|
13
|
+
repeated :affected_nodes, :message, 3, "org.xrpl.rpc.v1.AffectedNode"
|
14
|
+
optional :delivered_amount, :message, 4, "org.xrpl.rpc.v1.DeliveredAmount"
|
15
|
+
end
|
16
|
+
add_message "org.xrpl.rpc.v1.TransactionResult" do
|
17
|
+
optional :result_type, :enum, 1, "org.xrpl.rpc.v1.TransactionResult.ResultType"
|
18
|
+
optional :result, :string, 2
|
19
|
+
end
|
20
|
+
add_enum "org.xrpl.rpc.v1.TransactionResult.ResultType" do
|
21
|
+
value :RESULT_TYPE_UNSPECIFIED, 0
|
22
|
+
value :RESULT_TYPE_TEC, 1
|
23
|
+
value :RESULT_TYPE_TEF, 2
|
24
|
+
value :RESULT_TYPE_TEL, 3
|
25
|
+
value :RESULT_TYPE_TEM, 4
|
26
|
+
value :RESULT_TYPE_TER, 5
|
27
|
+
value :RESULT_TYPE_TES, 6
|
28
|
+
end
|
29
|
+
add_message "org.xrpl.rpc.v1.AffectedNode" do
|
30
|
+
optional :ledger_entry_type, :enum, 1, "org.xrpl.rpc.v1.LedgerEntryType"
|
31
|
+
optional :ledger_index, :bytes, 2
|
32
|
+
oneof :node do
|
33
|
+
optional :created_node, :message, 3, "org.xrpl.rpc.v1.CreatedNode"
|
34
|
+
optional :deleted_node, :message, 4, "org.xrpl.rpc.v1.DeletedNode"
|
35
|
+
optional :modified_node, :message, 5, "org.xrpl.rpc.v1.ModifiedNode"
|
36
|
+
end
|
37
|
+
end
|
38
|
+
add_message "org.xrpl.rpc.v1.CreatedNode" do
|
39
|
+
optional :new_fields, :message, 1, "org.xrpl.rpc.v1.LedgerObject"
|
40
|
+
end
|
41
|
+
add_message "org.xrpl.rpc.v1.DeletedNode" do
|
42
|
+
optional :final_fields, :message, 1, "org.xrpl.rpc.v1.LedgerObject"
|
43
|
+
end
|
44
|
+
add_message "org.xrpl.rpc.v1.ModifiedNode" do
|
45
|
+
optional :final_fields, :message, 1, "org.xrpl.rpc.v1.LedgerObject"
|
46
|
+
optional :previous_fields, :message, 2, "org.xrpl.rpc.v1.LedgerObject"
|
47
|
+
optional :previous_transaction_id, :message, 3, "org.xrpl.rpc.v1.PreviousTransactionID"
|
48
|
+
optional :previous_transaction_ledger_sequence, :message, 4, "org.xrpl.rpc.v1.PreviousTransactionLedgerSequence"
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
module Org
|
54
|
+
module Xrpl
|
55
|
+
module Rpc
|
56
|
+
module V1
|
57
|
+
Meta = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.Meta").msgclass
|
58
|
+
TransactionResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.TransactionResult").msgclass
|
59
|
+
TransactionResult::ResultType = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.TransactionResult.ResultType").enummodule
|
60
|
+
AffectedNode = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.AffectedNode").msgclass
|
61
|
+
CreatedNode = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.CreatedNode").msgclass
|
62
|
+
DeletedNode = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.DeletedNode").msgclass
|
63
|
+
ModifiedNode = Google::Protobuf::DescriptorPool.generated_pool.lookup("org.xrpl.rpc.v1.ModifiedNode").msgclass
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|