stellar-base 0.23.1 → 0.24.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +88 -0
- data/generated/stellar-base-generated.rb +29 -1
- data/generated/stellar/account_entry.rb +3 -13
- data/generated/stellar/account_entry/ext.rb +2 -16
- data/generated/stellar/account_entry_extension_v1.rb +32 -0
- data/generated/stellar/account_entry_extension_v1/ext.rb +28 -0
- data/generated/stellar/account_entry_extension_v2.rb +34 -0
- data/generated/stellar/{account_entry/ext/v1 → account_entry_extension_v2}/ext.rb +8 -12
- data/generated/stellar/account_merge_result_code.rb +3 -1
- data/generated/stellar/begin_sponsoring_future_reserves_op.rb +18 -0
- data/generated/stellar/begin_sponsoring_future_reserves_result.rb +25 -0
- data/generated/stellar/begin_sponsoring_future_reserves_result_code.rb +29 -0
- data/generated/stellar/claim_claimable_balance_op.rb +18 -0
- data/generated/stellar/claim_claimable_balance_result.rb +25 -0
- data/generated/stellar/claim_claimable_balance_result_code.rb +31 -0
- data/generated/stellar/claim_predicate.rb +43 -0
- data/generated/stellar/claim_predicate_type.rb +30 -0
- data/generated/stellar/claimable_balance_entry.rb +44 -0
- data/generated/stellar/claimable_balance_entry/ext.rb +24 -0
- data/generated/stellar/claimable_balance_id.rb +23 -0
- data/generated/stellar/claimable_balance_id_type.rb +20 -0
- data/generated/stellar/claimant.rb +31 -0
- data/generated/stellar/claimant/v0.rb +22 -0
- data/generated/stellar/claimant_type.rb +20 -0
- data/generated/stellar/create_claimable_balance_op.rb +22 -0
- data/generated/stellar/create_claimable_balance_result.rb +27 -0
- data/generated/stellar/create_claimable_balance_result_code.rb +30 -0
- data/generated/stellar/end_sponsoring_future_reserves_result.rb +25 -0
- data/generated/stellar/end_sponsoring_future_reserves_result_code.rb +25 -0
- data/generated/stellar/envelope_type.rb +3 -1
- data/generated/stellar/inner_transaction_result.rb +2 -1
- data/generated/stellar/inner_transaction_result/result.rb +3 -1
- data/generated/stellar/ledger_entry.rb +4 -0
- data/generated/stellar/ledger_entry/data.rb +12 -8
- data/generated/stellar/ledger_entry/ext.rb +4 -0
- data/generated/stellar/ledger_entry_extension_v1.rb +30 -0
- data/generated/stellar/ledger_entry_extension_v1/ext.rb +24 -0
- data/generated/stellar/ledger_entry_type.rb +7 -5
- data/generated/stellar/ledger_key.rb +17 -8
- data/generated/stellar/ledger_key/claimable_balance.rb +20 -0
- data/generated/stellar/operation.rb +10 -0
- data/generated/stellar/operation/body.rb +45 -26
- data/generated/stellar/operation_id.rb +32 -0
- data/generated/stellar/operation_id/id.rb +24 -0
- data/generated/stellar/operation_result.rb +10 -0
- data/generated/stellar/operation_result/tr.rb +48 -28
- data/generated/stellar/operation_result_code.rb +3 -1
- data/generated/stellar/operation_type.rb +25 -15
- data/generated/stellar/path_payment_strict_receive_result.rb +2 -1
- data/generated/stellar/revoke_sponsorship_op.rb +36 -0
- data/generated/stellar/revoke_sponsorship_op/signer.rb +22 -0
- data/generated/stellar/revoke_sponsorship_result.rb +25 -0
- data/generated/stellar/revoke_sponsorship_result_code.rb +31 -0
- data/generated/stellar/revoke_sponsorship_type.rb +22 -0
- data/generated/stellar/transaction_result_code.rb +4 -2
- data/lib/stellar-base.rb +15 -5
- data/lib/stellar/account_flags.rb +1 -1
- data/lib/stellar/{version.rb → base/version.rb} +1 -1
- data/lib/stellar/claim_predicate.rb +198 -0
- data/lib/stellar/compat.rb +2 -11
- data/lib/stellar/dsl.rb +85 -0
- data/lib/stellar/ext/xdr.rb +49 -0
- data/lib/stellar/key_pair.rb +43 -35
- data/lib/stellar/ledger_key.rb +30 -0
- data/lib/stellar/networks.rb +12 -12
- data/lib/stellar/operation.rb +58 -1
- data/lib/stellar/price.rb +11 -2
- data/lib/stellar/transaction.rb +0 -168
- data/lib/stellar/transaction_builder.rb +28 -2
- data/lib/stellar/transaction_envelope.rb +3 -29
- data/lib/stellar/util/strkey.rb +6 -6
- metadata +162 -32
- data/generated/stellar/account_entry/ext/v1.rb +0 -34
- data/lib/stellar/util/continued_fraction.rb +0 -96
@@ -2,12 +2,34 @@ module Stellar
|
|
2
2
|
class TransactionBuilder
|
3
3
|
attr_reader :source_account, :sequence_number, :base_fee, :time_bounds, :memo, :operations
|
4
4
|
|
5
|
+
class << self
|
6
|
+
# This enable user to call shortcut methods, like
|
7
|
+
# TransactionBuilder.payment(...),
|
8
|
+
# TransactionBuilder.manage_data(...) and etc.
|
9
|
+
# It reduces the boilerplate, when you just need to
|
10
|
+
# shoot a single operation in transaction
|
11
|
+
def method_missing(method_name, *args, **kwargs)
|
12
|
+
unless Stellar::Operation.respond_to?(method_name)
|
13
|
+
return super
|
14
|
+
end
|
15
|
+
|
16
|
+
op = Stellar::Operation.send(method_name, **kwargs)
|
17
|
+
|
18
|
+
new(**kwargs).add_operation(op).build
|
19
|
+
end
|
20
|
+
|
21
|
+
def respond_to_missing?(method_name, include_private = false)
|
22
|
+
Stellar::Operation.respond_to?(method_name) || super
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
5
26
|
def initialize(
|
6
27
|
source_account:,
|
7
28
|
sequence_number:,
|
8
29
|
base_fee: 100,
|
9
30
|
time_bounds: nil,
|
10
|
-
memo: nil
|
31
|
+
memo: nil,
|
32
|
+
**_ # ignore any additional parameters without errors
|
11
33
|
)
|
12
34
|
raise ArgumentError, "Bad :source_account" unless source_account.is_a?(Stellar::KeyPair)
|
13
35
|
raise ArgumentError, "Bad :sequence_number" unless sequence_number.is_a?(Integer) && sequence_number >= 0
|
@@ -18,6 +40,11 @@ module Stellar
|
|
18
40
|
@sequence_number = sequence_number
|
19
41
|
@base_fee = base_fee
|
20
42
|
@time_bounds = time_bounds
|
43
|
+
|
44
|
+
if time_bounds.nil?
|
45
|
+
set_timeout(0)
|
46
|
+
end
|
47
|
+
|
21
48
|
@memo = make_memo(memo)
|
22
49
|
@operations = []
|
23
50
|
end
|
@@ -47,7 +74,6 @@ module Stellar
|
|
47
74
|
end
|
48
75
|
|
49
76
|
def build_fee_bump(inner_txe:)
|
50
|
-
p inner_txe.switch
|
51
77
|
if inner_txe.switch == Stellar::EnvelopeType.envelope_type_tx_v0
|
52
78
|
inner_txe = Stellar::TransactionEnvelope.v1(tx: inner_txe.tx.to_v1, signatures: inner_txe.signatures)
|
53
79
|
elsif inner_txe.switch != Stellar::EnvelopeType.envelope_type_tx
|
@@ -1,38 +1,12 @@
|
|
1
1
|
module Stellar
|
2
2
|
class TransactionEnvelope
|
3
|
-
class << self
|
4
|
-
def v0(tx:, signatures:)
|
5
|
-
v0_envelope = TransactionV0Envelope.new(tx: tx, signatures: signatures)
|
6
|
-
new(:envelope_type_tx_v0, v0_envelope)
|
7
|
-
end
|
8
|
-
|
9
|
-
def v1(tx:, signatures:)
|
10
|
-
v1_envelope = TransactionV1Envelope.new(tx: tx, signatures: signatures)
|
11
|
-
new(:envelope_type_tx, v1_envelope)
|
12
|
-
end
|
13
|
-
|
14
|
-
def fee_bump(tx:, signatures:)
|
15
|
-
fee_bump_envelope = FeeBumpTransactionEnvelope.new(tx: tx, signatures: signatures)
|
16
|
-
new(:envelope_type_tx_fee_bump, fee_bump_envelope)
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
3
|
# Delegates any undefined method to the currently set arm
|
21
4
|
def method_missing(method, *args, &block)
|
22
|
-
|
23
|
-
when EnvelopeType.envelope_type_tx_v0
|
24
|
-
v0!.public_send(method, *args)
|
25
|
-
when EnvelopeType.envelope_type_tx
|
26
|
-
v1!.public_send(method, *args)
|
27
|
-
when EnvelopeType.envelope_type_tx_fee_bump
|
28
|
-
fee_bump!.public_send(method, *args)
|
29
|
-
else
|
30
|
-
super
|
31
|
-
end
|
5
|
+
value&.public_send(method, *args) || super
|
32
6
|
end
|
33
7
|
|
34
8
|
def respond_to_missing?(method, include_private = false)
|
35
|
-
[
|
9
|
+
%w[tx signatures].include?(method) || super
|
36
10
|
end
|
37
11
|
|
38
12
|
# Checks to ensure that every signature for the envelope is
|
@@ -41,7 +15,7 @@ module Stellar
|
|
41
15
|
# NOTE: this does not do any authorization checks, which requires access to
|
42
16
|
# the current ledger state.
|
43
17
|
#
|
44
|
-
# @param
|
18
|
+
# @param key_pairs [Array<Stellar::KeyPair>] The key pairs to check the envelopes signatures against
|
45
19
|
#
|
46
20
|
# @return [Boolean] true if all signatures are from the provided key_pairs and validly sign the tx's hash
|
47
21
|
def signed_correctly?(*key_pairs)
|
data/lib/stellar/util/strkey.rb
CHANGED
@@ -22,7 +22,7 @@ module Stellar
|
|
22
22
|
end
|
23
23
|
|
24
24
|
# Converts an Stellar::MuxedAccount to its string representation, forcing the ed25519 representation.
|
25
|
-
# @param [Stellar::MuxedAccount]
|
25
|
+
# @param muxed_account [Stellar::MuxedAccount] account
|
26
26
|
# @return [String] "G.."-like address
|
27
27
|
def self.encode_muxed_account(muxed_account)
|
28
28
|
ed25519 = if muxed_account.switch == Stellar::CryptoKeyType.key_type_ed25519
|
@@ -36,7 +36,7 @@ module Stellar
|
|
36
36
|
|
37
37
|
# Returns a Stellar::MuxedAccount, forcing the ed25519 discriminant
|
38
38
|
#
|
39
|
-
# @param [String] address to decode
|
39
|
+
# @param strkey [String] address string to decode
|
40
40
|
# @return [Stellar::MuxedAccount] MuxedAccount with ed25519 discriminant
|
41
41
|
def self.decode_muxed_account(strkey)
|
42
42
|
Stellar::MuxedAccount.new(:key_type_ed25519, check_decode(:account_id, strkey))
|
@@ -44,10 +44,10 @@ module Stellar
|
|
44
44
|
|
45
45
|
def self.check_decode(expected_version, str)
|
46
46
|
decoded = begin
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
47
|
+
Base32.decode(str)
|
48
|
+
rescue
|
49
|
+
raise ArgumentError, "Invalid base32 string"
|
50
|
+
end
|
51
51
|
version_byte = decoded[0]
|
52
52
|
payload = decoded[1...-2]
|
53
53
|
check = decoded[-2..-1]
|
metadata
CHANGED
@@ -1,91 +1,183 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stellar-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.0.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Fleckenstein
|
8
|
+
- Sergey Nebolsin
|
9
|
+
- Timur Ramazanov
|
8
10
|
autorequire:
|
9
|
-
bindir:
|
11
|
+
bindir: exe
|
10
12
|
cert_chain: []
|
11
|
-
date: 2020-
|
13
|
+
date: 2020-10-20 00:00:00.000000000 Z
|
12
14
|
dependencies:
|
13
15
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
16
|
+
name: activesupport
|
15
17
|
requirement: !ruby/object:Gem::Requirement
|
16
18
|
requirements:
|
17
|
-
- - "
|
19
|
+
- - ">="
|
18
20
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
21
|
+
version: 5.0.0
|
22
|
+
- - "<"
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: '7.0'
|
20
25
|
type: :runtime
|
21
26
|
prerelease: false
|
22
27
|
version_requirements: !ruby/object:Gem::Requirement
|
23
28
|
requirements:
|
24
|
-
- - "
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: 5.0.0
|
32
|
+
- - "<"
|
25
33
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
34
|
+
version: '7.0'
|
27
35
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
36
|
+
name: base32
|
29
37
|
requirement: !ruby/object:Gem::Requirement
|
30
38
|
requirements:
|
31
39
|
- - ">="
|
32
40
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
41
|
+
version: 0.3.0
|
42
|
+
- - "<"
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '1.0'
|
34
45
|
type: :runtime
|
35
46
|
prerelease: false
|
36
47
|
version_requirements: !ruby/object:Gem::Requirement
|
37
48
|
requirements:
|
38
49
|
- - ">="
|
39
50
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
51
|
+
version: 0.3.0
|
52
|
+
- - "<"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
56
|
+
name: digest-crc
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
59
|
- - ">="
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
61
|
+
version: 0.5.0
|
62
|
+
- - "<"
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '1.0'
|
48
65
|
type: :runtime
|
49
66
|
prerelease: false
|
50
67
|
version_requirements: !ruby/object:Gem::Requirement
|
51
68
|
requirements:
|
52
69
|
- - ">="
|
53
70
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
71
|
+
version: 0.5.0
|
72
|
+
- - "<"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '1.0'
|
55
75
|
- !ruby/object:Gem::Dependency
|
56
76
|
name: rbnacl
|
57
77
|
requirement: !ruby/object:Gem::Requirement
|
58
78
|
requirements:
|
59
79
|
- - ">="
|
60
80
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
81
|
+
version: 6.0.0
|
82
|
+
- - "<"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '8.0'
|
62
85
|
type: :runtime
|
63
86
|
prerelease: false
|
64
87
|
version_requirements: !ruby/object:Gem::Requirement
|
65
88
|
requirements:
|
66
89
|
- - ">="
|
67
90
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
91
|
+
version: 6.0.0
|
92
|
+
- - "<"
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '8.0'
|
69
95
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
96
|
+
name: xdr
|
71
97
|
requirement: !ruby/object:Gem::Requirement
|
72
98
|
requirements:
|
73
99
|
- - ">="
|
74
100
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
101
|
+
version: 3.0.2
|
102
|
+
- - "<"
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '4.0'
|
76
105
|
type: :runtime
|
77
106
|
prerelease: false
|
78
107
|
version_requirements: !ruby/object:Gem::Requirement
|
79
108
|
requirements:
|
80
109
|
- - ">="
|
81
110
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
83
|
-
|
111
|
+
version: 3.0.2
|
112
|
+
- - "<"
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '4.0'
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: bundler
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - "~>"
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '2.0'
|
122
|
+
type: :development
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - "~>"
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '2.0'
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: rake
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - "~>"
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '13'
|
136
|
+
type: :development
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - "~>"
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '13'
|
143
|
+
- !ruby/object:Gem::Dependency
|
144
|
+
name: rspec
|
145
|
+
requirement: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - "~>"
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '3.9'
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - "~>"
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '3.9'
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: rspec-its
|
159
|
+
requirement: !ruby/object:Gem::Requirement
|
160
|
+
requirements:
|
161
|
+
- - "~>"
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '1.3'
|
164
|
+
type: :development
|
165
|
+
prerelease: false
|
166
|
+
version_requirements: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - "~>"
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: '1.3'
|
171
|
+
description: "The stellar-base library is the lowest-level stellar helper library.
|
172
|
+
It consists of classes to read, write, \nhash, and sign the xdr structures that
|
173
|
+
are used in stellar-core.\n"
|
84
174
|
email:
|
85
|
-
- scott@stellar.org
|
86
175
|
executables: []
|
87
176
|
extensions: []
|
88
|
-
extra_rdoc_files:
|
177
|
+
extra_rdoc_files:
|
178
|
+
- README.md
|
179
|
+
- LICENSE
|
180
|
+
- CHANGELOG.md
|
89
181
|
files:
|
90
182
|
- CHANGELOG.md
|
91
183
|
- LICENSE
|
@@ -93,8 +185,10 @@ files:
|
|
93
185
|
- generated/stellar-base-generated.rb
|
94
186
|
- generated/stellar/account_entry.rb
|
95
187
|
- generated/stellar/account_entry/ext.rb
|
96
|
-
- generated/stellar/
|
97
|
-
- generated/stellar/
|
188
|
+
- generated/stellar/account_entry_extension_v1.rb
|
189
|
+
- generated/stellar/account_entry_extension_v1/ext.rb
|
190
|
+
- generated/stellar/account_entry_extension_v2.rb
|
191
|
+
- generated/stellar/account_entry_extension_v2/ext.rb
|
98
192
|
- generated/stellar/account_flags.rb
|
99
193
|
- generated/stellar/account_merge_result.rb
|
100
194
|
- generated/stellar/account_merge_result_code.rb
|
@@ -110,6 +204,9 @@ files:
|
|
110
204
|
- generated/stellar/auth_cert.rb
|
111
205
|
- generated/stellar/authenticated_message.rb
|
112
206
|
- generated/stellar/authenticated_message/v0.rb
|
207
|
+
- generated/stellar/begin_sponsoring_future_reserves_op.rb
|
208
|
+
- generated/stellar/begin_sponsoring_future_reserves_result.rb
|
209
|
+
- generated/stellar/begin_sponsoring_future_reserves_result_code.rb
|
113
210
|
- generated/stellar/bucket_entry.rb
|
114
211
|
- generated/stellar/bucket_entry_type.rb
|
115
212
|
- generated/stellar/bucket_metadata.rb
|
@@ -120,10 +217,25 @@ files:
|
|
120
217
|
- generated/stellar/change_trust_op.rb
|
121
218
|
- generated/stellar/change_trust_result.rb
|
122
219
|
- generated/stellar/change_trust_result_code.rb
|
220
|
+
- generated/stellar/claim_claimable_balance_op.rb
|
221
|
+
- generated/stellar/claim_claimable_balance_result.rb
|
222
|
+
- generated/stellar/claim_claimable_balance_result_code.rb
|
123
223
|
- generated/stellar/claim_offer_atom.rb
|
224
|
+
- generated/stellar/claim_predicate.rb
|
225
|
+
- generated/stellar/claim_predicate_type.rb
|
226
|
+
- generated/stellar/claimable_balance_entry.rb
|
227
|
+
- generated/stellar/claimable_balance_entry/ext.rb
|
228
|
+
- generated/stellar/claimable_balance_id.rb
|
229
|
+
- generated/stellar/claimable_balance_id_type.rb
|
230
|
+
- generated/stellar/claimant.rb
|
231
|
+
- generated/stellar/claimant/v0.rb
|
232
|
+
- generated/stellar/claimant_type.rb
|
124
233
|
- generated/stellar/create_account_op.rb
|
125
234
|
- generated/stellar/create_account_result.rb
|
126
235
|
- generated/stellar/create_account_result_code.rb
|
236
|
+
- generated/stellar/create_claimable_balance_op.rb
|
237
|
+
- generated/stellar/create_claimable_balance_result.rb
|
238
|
+
- generated/stellar/create_claimable_balance_result_code.rb
|
127
239
|
- generated/stellar/create_passive_sell_offer_op.rb
|
128
240
|
- generated/stellar/crypto_key_type.rb
|
129
241
|
- generated/stellar/curve25519_public.rb
|
@@ -132,6 +244,8 @@ files:
|
|
132
244
|
- generated/stellar/data_entry/ext.rb
|
133
245
|
- generated/stellar/decorated_signature.rb
|
134
246
|
- generated/stellar/dont_have.rb
|
247
|
+
- generated/stellar/end_sponsoring_future_reserves_result.rb
|
248
|
+
- generated/stellar/end_sponsoring_future_reserves_result_code.rb
|
135
249
|
- generated/stellar/envelope_type.rb
|
136
250
|
- generated/stellar/error.rb
|
137
251
|
- generated/stellar/error_code.rb
|
@@ -158,6 +272,8 @@ files:
|
|
158
272
|
- generated/stellar/ledger_entry/ext.rb
|
159
273
|
- generated/stellar/ledger_entry_change.rb
|
160
274
|
- generated/stellar/ledger_entry_change_type.rb
|
275
|
+
- generated/stellar/ledger_entry_extension_v1.rb
|
276
|
+
- generated/stellar/ledger_entry_extension_v1/ext.rb
|
161
277
|
- generated/stellar/ledger_entry_type.rb
|
162
278
|
- generated/stellar/ledger_header.rb
|
163
279
|
- generated/stellar/ledger_header/ext.rb
|
@@ -165,6 +281,7 @@ files:
|
|
165
281
|
- generated/stellar/ledger_header_history_entry/ext.rb
|
166
282
|
- generated/stellar/ledger_key.rb
|
167
283
|
- generated/stellar/ledger_key/account.rb
|
284
|
+
- generated/stellar/ledger_key/claimable_balance.rb
|
168
285
|
- generated/stellar/ledger_key/data.rb
|
169
286
|
- generated/stellar/ledger_key/offer.rb
|
170
287
|
- generated/stellar/ledger_key/trust_line.rb
|
@@ -194,6 +311,8 @@ files:
|
|
194
311
|
- generated/stellar/offer_entry_flags.rb
|
195
312
|
- generated/stellar/operation.rb
|
196
313
|
- generated/stellar/operation/body.rb
|
314
|
+
- generated/stellar/operation_id.rb
|
315
|
+
- generated/stellar/operation_id/id.rb
|
197
316
|
- generated/stellar/operation_meta.rb
|
198
317
|
- generated/stellar/operation_result.rb
|
199
318
|
- generated/stellar/operation_result/tr.rb
|
@@ -216,6 +335,11 @@ files:
|
|
216
335
|
- generated/stellar/price.rb
|
217
336
|
- generated/stellar/public_key.rb
|
218
337
|
- generated/stellar/public_key_type.rb
|
338
|
+
- generated/stellar/revoke_sponsorship_op.rb
|
339
|
+
- generated/stellar/revoke_sponsorship_op/signer.rb
|
340
|
+
- generated/stellar/revoke_sponsorship_result.rb
|
341
|
+
- generated/stellar/revoke_sponsorship_result_code.rb
|
342
|
+
- generated/stellar/revoke_sponsorship_type.rb
|
219
343
|
- generated/stellar/scp_ballot.rb
|
220
344
|
- generated/stellar/scp_envelope.rb
|
221
345
|
- generated/stellar/scp_history_entry.rb
|
@@ -282,12 +406,17 @@ files:
|
|
282
406
|
- lib/stellar/account_flags.rb
|
283
407
|
- lib/stellar/asset.rb
|
284
408
|
- lib/stellar/base.rb
|
409
|
+
- lib/stellar/base/version.rb
|
410
|
+
- lib/stellar/claim_predicate.rb
|
285
411
|
- lib/stellar/compat.rb
|
286
412
|
- lib/stellar/concerns/transaction.rb
|
287
413
|
- lib/stellar/convert.rb
|
414
|
+
- lib/stellar/dsl.rb
|
415
|
+
- lib/stellar/ext/xdr.rb
|
288
416
|
- lib/stellar/factories.rb
|
289
417
|
- lib/stellar/fee_bump_transaction.rb
|
290
418
|
- lib/stellar/key_pair.rb
|
419
|
+
- lib/stellar/ledger_key.rb
|
291
420
|
- lib/stellar/networks.rb
|
292
421
|
- lib/stellar/operation.rb
|
293
422
|
- lib/stellar/path_payment_strict_receive_result.rb
|
@@ -298,13 +427,14 @@ files:
|
|
298
427
|
- lib/stellar/transaction_builder.rb
|
299
428
|
- lib/stellar/transaction_envelope.rb
|
300
429
|
- lib/stellar/transaction_v0.rb
|
301
|
-
- lib/stellar/util/continued_fraction.rb
|
302
430
|
- lib/stellar/util/strkey.rb
|
303
|
-
|
304
|
-
homepage: https://github.com/stellar/ruby-stellar-base
|
431
|
+
homepage: https://github.com/astroband/ruby-stellar-sdk/tree/master/base
|
305
432
|
licenses:
|
306
433
|
- Apache-2.0
|
307
|
-
metadata:
|
434
|
+
metadata:
|
435
|
+
documentation_uri: https://rubydoc.info/gems/stellar-base/0.24.0.pre.1/
|
436
|
+
changelog_uri: https://github.com/astroband/ruby-stellar-sdk/blob/v0.24.0.pre.1/base/CHANGELOG.md
|
437
|
+
source_code_uri: https://github.com/astroband/ruby-stellar-sdk/tree/v0.24.0.pre.1/base
|
308
438
|
post_install_message:
|
309
439
|
rdoc_options: []
|
310
440
|
require_paths:
|
@@ -314,14 +444,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
314
444
|
requirements:
|
315
445
|
- - ">="
|
316
446
|
- !ruby/object:Gem::Version
|
317
|
-
version:
|
447
|
+
version: 2.5.0
|
318
448
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
319
449
|
requirements:
|
320
|
-
- - "
|
450
|
+
- - ">"
|
321
451
|
- !ruby/object:Gem::Version
|
322
|
-
version:
|
452
|
+
version: 1.3.1
|
323
453
|
requirements: []
|
324
|
-
rubygems_version: 3.
|
454
|
+
rubygems_version: 3.2.0.rc.2
|
325
455
|
signing_key:
|
326
456
|
specification_version: 4
|
327
457
|
summary: 'Stellar client library: XDR'
|