coinbase-sdk 0.0.13 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coinbase/address/external_address.rb +3 -166
- data/lib/coinbase/address/wallet_address.rb +51 -4
- data/lib/coinbase/address.rb +164 -0
- data/lib/coinbase/client/api/assets_api.rb +2 -2
- data/lib/coinbase/client/api/contract_events_api.rb +121 -0
- data/lib/coinbase/client/api/external_addresses_api.rb +85 -0
- data/lib/coinbase/client/api/networks_api.rb +85 -0
- data/lib/coinbase/client/api/stake_api.rb +361 -0
- data/lib/coinbase/client/api/webhooks_api.rb +286 -0
- data/lib/coinbase/client/models/address_historical_balance_list.rb +258 -0
- data/lib/coinbase/client/models/broadcast_staking_operation_request.rb +239 -0
- data/lib/coinbase/client/models/contract_event.rb +336 -0
- data/lib/coinbase/client/models/contract_event_list.rb +259 -0
- data/lib/coinbase/client/models/create_staking_operation_request.rb +274 -0
- data/lib/coinbase/client/models/create_transfer_request.rb +14 -4
- data/lib/coinbase/client/models/create_webhook_request.rb +282 -0
- data/lib/coinbase/client/models/ethereum_validator.rb +374 -0
- data/lib/coinbase/client/models/feature_set.rb +307 -0
- data/lib/coinbase/client/models/fetch_historical_staking_balances200_response.rb +258 -0
- data/lib/coinbase/client/models/get_validator200_response.rb +221 -0
- data/lib/coinbase/client/models/get_validator200_response_validator.rb +214 -0
- data/lib/coinbase/client/models/historical_balance.rb +273 -0
- data/lib/coinbase/client/models/network.rb +355 -0
- data/lib/coinbase/client/models/network_identifier.rb +44 -0
- data/lib/coinbase/client/models/sponsored_send.rb +338 -0
- data/lib/coinbase/client/models/staking_balance.rb +289 -0
- data/lib/coinbase/client/models/staking_context_context.rb +222 -74
- data/lib/coinbase/client/models/staking_operation.rb +15 -5
- data/lib/coinbase/client/models/staking_reward.rb +22 -6
- data/lib/coinbase/client/models/staking_reward_format.rb +2 -1
- data/lib/coinbase/client/models/staking_reward_usd_value.rb +257 -0
- data/lib/coinbase/client/models/transaction.rb +2 -2
- data/lib/coinbase/client/models/transaction_type.rb +2 -1
- data/lib/coinbase/client/models/transfer.rb +29 -24
- data/lib/coinbase/client/models/update_webhook_request.rb +289 -0
- data/lib/coinbase/client/models/validator_list_data.rb +216 -0
- data/lib/coinbase/client/models/wallet.rb +13 -16
- data/lib/coinbase/client/models/webhook.rb +299 -0
- data/lib/coinbase/client/models/webhook_event_filter.rb +236 -0
- data/lib/coinbase/client/models/webhook_event_type.rb +42 -0
- data/lib/coinbase/client/models/webhook_list.rb +244 -0
- data/lib/coinbase/client.rb +22 -3
- data/lib/coinbase/errors.rb +7 -0
- data/lib/coinbase/historical_balance.rb +53 -0
- data/lib/coinbase/middleware.rb +12 -0
- data/lib/coinbase/server_signer.rb +14 -3
- data/lib/coinbase/sponsored_send.rb +110 -0
- data/lib/coinbase/staking_balance.rb +86 -0
- data/lib/coinbase/staking_operation.rb +106 -5
- data/lib/coinbase/staking_reward.rb +18 -0
- data/lib/coinbase/trade.rb +1 -1
- data/lib/coinbase/transaction.rb +7 -3
- data/lib/coinbase/transfer.rb +56 -29
- data/lib/coinbase/wallet/data.rb +31 -0
- data/lib/coinbase/wallet.rb +91 -46
- data/lib/coinbase.rb +17 -4
- metadata +74 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coinbase-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuga Cohler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bigdecimal
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: faraday-retry
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: jwt
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,6 +136,20 @@ dependencies:
|
|
122
136
|
- - ">="
|
123
137
|
- !ruby/object:Gem::Version
|
124
138
|
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: factory_bot
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
125
153
|
- !ruby/object:Gem::Dependency
|
126
154
|
name: pry
|
127
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,6 +206,20 @@ dependencies:
|
|
178
206
|
- - '='
|
179
207
|
- !ruby/object:Gem::Version
|
180
208
|
version: 1.63.1
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rubocop-rspec
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
181
223
|
- !ruby/object:Gem::Dependency
|
182
224
|
name: simplecov
|
183
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -237,7 +279,9 @@ files:
|
|
237
279
|
- lib/coinbase/client.rb
|
238
280
|
- lib/coinbase/client/api/addresses_api.rb
|
239
281
|
- lib/coinbase/client/api/assets_api.rb
|
282
|
+
- lib/coinbase/client/api/contract_events_api.rb
|
240
283
|
- lib/coinbase/client/api/external_addresses_api.rb
|
284
|
+
- lib/coinbase/client/api/networks_api.rb
|
241
285
|
- lib/coinbase/client/api/server_signers_api.rb
|
242
286
|
- lib/coinbase/client/api/stake_api.rb
|
243
287
|
- lib/coinbase/client/api/trades_api.rb
|
@@ -245,31 +289,46 @@ files:
|
|
245
289
|
- lib/coinbase/client/api/users_api.rb
|
246
290
|
- lib/coinbase/client/api/validators_api.rb
|
247
291
|
- lib/coinbase/client/api/wallets_api.rb
|
292
|
+
- lib/coinbase/client/api/webhooks_api.rb
|
248
293
|
- lib/coinbase/client/api_client.rb
|
249
294
|
- lib/coinbase/client/api_error.rb
|
250
295
|
- lib/coinbase/client/configuration.rb
|
251
296
|
- lib/coinbase/client/models/address.rb
|
252
297
|
- lib/coinbase/client/models/address_balance_list.rb
|
298
|
+
- lib/coinbase/client/models/address_historical_balance_list.rb
|
253
299
|
- lib/coinbase/client/models/address_list.rb
|
254
300
|
- lib/coinbase/client/models/asset.rb
|
255
301
|
- lib/coinbase/client/models/balance.rb
|
302
|
+
- lib/coinbase/client/models/broadcast_staking_operation_request.rb
|
256
303
|
- lib/coinbase/client/models/broadcast_trade_request.rb
|
257
304
|
- lib/coinbase/client/models/broadcast_transfer_request.rb
|
258
305
|
- lib/coinbase/client/models/build_staking_operation_request.rb
|
306
|
+
- lib/coinbase/client/models/contract_event.rb
|
307
|
+
- lib/coinbase/client/models/contract_event_list.rb
|
259
308
|
- lib/coinbase/client/models/create_address_request.rb
|
260
309
|
- lib/coinbase/client/models/create_server_signer_request.rb
|
310
|
+
- lib/coinbase/client/models/create_staking_operation_request.rb
|
261
311
|
- lib/coinbase/client/models/create_trade_request.rb
|
262
312
|
- lib/coinbase/client/models/create_transfer_request.rb
|
263
313
|
- lib/coinbase/client/models/create_wallet_request.rb
|
264
314
|
- lib/coinbase/client/models/create_wallet_request_wallet.rb
|
315
|
+
- lib/coinbase/client/models/create_webhook_request.rb
|
265
316
|
- lib/coinbase/client/models/error.rb
|
317
|
+
- lib/coinbase/client/models/ethereum_validator.rb
|
266
318
|
- lib/coinbase/client/models/ethereum_validator_metadata.rb
|
267
319
|
- lib/coinbase/client/models/faucet_transaction.rb
|
268
320
|
- lib/coinbase/client/models/feature.rb
|
321
|
+
- lib/coinbase/client/models/feature_set.rb
|
322
|
+
- lib/coinbase/client/models/fetch_historical_staking_balances200_response.rb
|
269
323
|
- lib/coinbase/client/models/fetch_staking_rewards200_response.rb
|
270
324
|
- lib/coinbase/client/models/fetch_staking_rewards_request.rb
|
271
325
|
- lib/coinbase/client/models/get_staking_context_request.rb
|
326
|
+
- lib/coinbase/client/models/get_validator200_response.rb
|
327
|
+
- lib/coinbase/client/models/get_validator200_response_validator.rb
|
328
|
+
- lib/coinbase/client/models/historical_balance.rb
|
272
329
|
- lib/coinbase/client/models/native_eth_staking_context.rb
|
330
|
+
- lib/coinbase/client/models/network.rb
|
331
|
+
- lib/coinbase/client/models/network_identifier.rb
|
273
332
|
- lib/coinbase/client/models/partial_eth_staking_context.rb
|
274
333
|
- lib/coinbase/client/models/seed_creation_event.rb
|
275
334
|
- lib/coinbase/client/models/seed_creation_event_result.rb
|
@@ -281,33 +340,45 @@ files:
|
|
281
340
|
- lib/coinbase/client/models/signature_creation_event.rb
|
282
341
|
- lib/coinbase/client/models/signature_creation_event_result.rb
|
283
342
|
- lib/coinbase/client/models/signed_voluntary_exit_message_metadata.rb
|
343
|
+
- lib/coinbase/client/models/sponsored_send.rb
|
344
|
+
- lib/coinbase/client/models/staking_balance.rb
|
284
345
|
- lib/coinbase/client/models/staking_context.rb
|
285
346
|
- lib/coinbase/client/models/staking_context_context.rb
|
286
347
|
- lib/coinbase/client/models/staking_operation.rb
|
287
348
|
- lib/coinbase/client/models/staking_operation_metadata.rb
|
288
349
|
- lib/coinbase/client/models/staking_reward.rb
|
289
350
|
- lib/coinbase/client/models/staking_reward_format.rb
|
351
|
+
- lib/coinbase/client/models/staking_reward_usd_value.rb
|
290
352
|
- lib/coinbase/client/models/trade.rb
|
291
353
|
- lib/coinbase/client/models/trade_list.rb
|
292
354
|
- lib/coinbase/client/models/transaction.rb
|
293
355
|
- lib/coinbase/client/models/transaction_type.rb
|
294
356
|
- lib/coinbase/client/models/transfer.rb
|
295
357
|
- lib/coinbase/client/models/transfer_list.rb
|
358
|
+
- lib/coinbase/client/models/update_webhook_request.rb
|
296
359
|
- lib/coinbase/client/models/user.rb
|
297
360
|
- lib/coinbase/client/models/validator.rb
|
298
361
|
- lib/coinbase/client/models/validator_details.rb
|
299
362
|
- lib/coinbase/client/models/validator_list.rb
|
363
|
+
- lib/coinbase/client/models/validator_list_data.rb
|
300
364
|
- lib/coinbase/client/models/wallet.rb
|
301
365
|
- lib/coinbase/client/models/wallet_list.rb
|
366
|
+
- lib/coinbase/client/models/webhook.rb
|
367
|
+
- lib/coinbase/client/models/webhook_event_filter.rb
|
368
|
+
- lib/coinbase/client/models/webhook_event_type.rb
|
369
|
+
- lib/coinbase/client/models/webhook_list.rb
|
302
370
|
- lib/coinbase/client/version.rb
|
303
371
|
- lib/coinbase/constants.rb
|
304
372
|
- lib/coinbase/destination.rb
|
305
373
|
- lib/coinbase/errors.rb
|
306
374
|
- lib/coinbase/faucet_transaction.rb
|
375
|
+
- lib/coinbase/historical_balance.rb
|
307
376
|
- lib/coinbase/middleware.rb
|
308
377
|
- lib/coinbase/network.rb
|
309
378
|
- lib/coinbase/pagination.rb
|
310
379
|
- lib/coinbase/server_signer.rb
|
380
|
+
- lib/coinbase/sponsored_send.rb
|
381
|
+
- lib/coinbase/staking_balance.rb
|
311
382
|
- lib/coinbase/staking_operation.rb
|
312
383
|
- lib/coinbase/staking_reward.rb
|
313
384
|
- lib/coinbase/trade.rb
|
@@ -316,6 +387,7 @@ files:
|
|
316
387
|
- lib/coinbase/user.rb
|
317
388
|
- lib/coinbase/validator.rb
|
318
389
|
- lib/coinbase/wallet.rb
|
390
|
+
- lib/coinbase/wallet/data.rb
|
319
391
|
homepage: https://github.com/coinbase/coinbase-sdk-ruby
|
320
392
|
licenses:
|
321
393
|
- Apache-2.0
|