coinbase-sdk 0.0.10 → 0.0.14
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 +80 -107
- data/lib/coinbase/address.rb +128 -0
- data/lib/coinbase/client/api/addresses_api.rb +1 -1
- data/lib/coinbase/client/api/assets_api.rb +3 -3
- data/lib/coinbase/client/api/contract_events_api.rb +121 -0
- data/lib/coinbase/client/api/external_addresses_api.rb +1 -1
- data/lib/coinbase/client/api/server_signers_api.rb +1 -1
- data/lib/coinbase/client/api/stake_api.rb +242 -1
- data/lib/coinbase/client/api/trades_api.rb +1 -1
- data/lib/coinbase/client/api/transfers_api.rb +1 -1
- data/lib/coinbase/client/api/users_api.rb +1 -1
- data/lib/coinbase/client/api/validators_api.rb +1 -1
- data/lib/coinbase/client/api/wallets_api.rb +1 -1
- data/lib/coinbase/client/api/webhooks_api.rb +286 -0
- data/lib/coinbase/client/api_client.rb +1 -1
- data/lib/coinbase/client/api_error.rb +1 -1
- data/lib/coinbase/client/configuration.rb +11 -1
- data/lib/coinbase/client/models/address.rb +1 -1
- data/lib/coinbase/client/models/address_balance_list.rb +1 -1
- data/lib/coinbase/client/models/address_list.rb +1 -1
- data/lib/coinbase/client/models/asset.rb +1 -1
- data/lib/coinbase/client/models/balance.rb +1 -1
- data/lib/coinbase/client/models/broadcast_staking_operation_request.rb +239 -0
- data/lib/coinbase/client/models/broadcast_trade_request.rb +1 -1
- data/lib/coinbase/client/models/broadcast_transfer_request.rb +1 -1
- data/lib/coinbase/client/models/build_staking_operation_request.rb +1 -1
- 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_address_request.rb +1 -1
- data/lib/coinbase/client/models/create_server_signer_request.rb +1 -1
- data/lib/coinbase/client/models/create_staking_operation_request.rb +274 -0
- data/lib/coinbase/client/models/create_trade_request.rb +1 -1
- data/lib/coinbase/client/models/create_transfer_request.rb +1 -1
- data/lib/coinbase/client/models/create_wallet_request.rb +1 -1
- data/lib/coinbase/client/models/create_wallet_request_wallet.rb +1 -1
- data/lib/coinbase/client/models/create_webhook_request.rb +282 -0
- data/lib/coinbase/client/models/error.rb +1 -1
- data/lib/coinbase/client/models/ethereum_validator_metadata.rb +1 -1
- data/lib/coinbase/client/models/faucet_transaction.rb +1 -1
- data/lib/coinbase/client/models/feature.rb +1 -1
- data/lib/coinbase/client/models/fetch_staking_rewards200_response.rb +1 -1
- data/lib/coinbase/client/models/fetch_staking_rewards_request.rb +1 -1
- data/lib/coinbase/client/models/get_staking_context_request.rb +1 -1
- data/lib/coinbase/client/models/native_eth_staking_context.rb +1 -1
- data/lib/coinbase/client/models/partial_eth_staking_context.rb +1 -1
- data/lib/coinbase/client/models/seed_creation_event.rb +1 -1
- data/lib/coinbase/client/models/seed_creation_event_result.rb +1 -1
- data/lib/coinbase/client/models/server_signer.rb +1 -1
- data/lib/coinbase/client/models/server_signer_event.rb +1 -1
- data/lib/coinbase/client/models/server_signer_event_event.rb +1 -1
- data/lib/coinbase/client/models/server_signer_event_list.rb +1 -1
- data/lib/coinbase/client/models/server_signer_list.rb +1 -1
- data/lib/coinbase/client/models/signature_creation_event.rb +1 -1
- data/lib/coinbase/client/models/signature_creation_event_result.rb +1 -1
- data/lib/coinbase/client/models/signed_voluntary_exit_message_metadata.rb +1 -1
- data/lib/coinbase/client/models/staking_context.rb +1 -1
- data/lib/coinbase/client/models/staking_context_context.rb +1 -1
- data/lib/coinbase/client/models/staking_operation.rb +16 -6
- data/lib/coinbase/client/models/staking_operation_metadata.rb +1 -1
- data/lib/coinbase/client/models/staking_reward.rb +1 -1
- data/lib/coinbase/client/models/staking_reward_format.rb +1 -1
- data/lib/coinbase/client/models/trade.rb +1 -1
- data/lib/coinbase/client/models/trade_list.rb +1 -1
- data/lib/coinbase/client/models/transaction.rb +1 -1
- data/lib/coinbase/client/models/transaction_type.rb +1 -1
- data/lib/coinbase/client/models/transfer.rb +5 -93
- data/lib/coinbase/client/models/transfer_list.rb +1 -1
- data/lib/coinbase/client/models/update_webhook_request.rb +289 -0
- data/lib/coinbase/client/models/user.rb +1 -1
- data/lib/coinbase/client/models/validator.rb +1 -1
- data/lib/coinbase/client/models/validator_details.rb +1 -1
- data/lib/coinbase/client/models/validator_list.rb +1 -1
- data/lib/coinbase/client/models/wallet.rb +1 -1
- data/lib/coinbase/client/models/wallet_list.rb +1 -1
- 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 +41 -0
- data/lib/coinbase/client/models/webhook_list.rb +244 -0
- data/lib/coinbase/client/version.rb +1 -1
- data/lib/coinbase/client.rb +13 -1
- data/lib/coinbase/constants.rb +3 -0
- data/lib/coinbase/destination.rb +51 -0
- data/lib/coinbase/errors.rb +14 -0
- data/lib/coinbase/middleware.rb +12 -0
- data/lib/coinbase/staking_operation.rb +106 -5
- data/lib/coinbase/trade.rb +87 -5
- data/lib/coinbase/transaction.rb +13 -2
- data/lib/coinbase/transfer.rb +86 -7
- data/lib/coinbase/wallet.rb +77 -4
- data/lib/coinbase.rb +3 -1
- metadata +29 -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.14
|
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-05 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
|
@@ -237,6 +251,7 @@ files:
|
|
237
251
|
- lib/coinbase/client.rb
|
238
252
|
- lib/coinbase/client/api/addresses_api.rb
|
239
253
|
- lib/coinbase/client/api/assets_api.rb
|
254
|
+
- lib/coinbase/client/api/contract_events_api.rb
|
240
255
|
- lib/coinbase/client/api/external_addresses_api.rb
|
241
256
|
- lib/coinbase/client/api/server_signers_api.rb
|
242
257
|
- lib/coinbase/client/api/stake_api.rb
|
@@ -245,6 +260,7 @@ files:
|
|
245
260
|
- lib/coinbase/client/api/users_api.rb
|
246
261
|
- lib/coinbase/client/api/validators_api.rb
|
247
262
|
- lib/coinbase/client/api/wallets_api.rb
|
263
|
+
- lib/coinbase/client/api/webhooks_api.rb
|
248
264
|
- lib/coinbase/client/api_client.rb
|
249
265
|
- lib/coinbase/client/api_error.rb
|
250
266
|
- lib/coinbase/client/configuration.rb
|
@@ -253,15 +269,20 @@ files:
|
|
253
269
|
- lib/coinbase/client/models/address_list.rb
|
254
270
|
- lib/coinbase/client/models/asset.rb
|
255
271
|
- lib/coinbase/client/models/balance.rb
|
272
|
+
- lib/coinbase/client/models/broadcast_staking_operation_request.rb
|
256
273
|
- lib/coinbase/client/models/broadcast_trade_request.rb
|
257
274
|
- lib/coinbase/client/models/broadcast_transfer_request.rb
|
258
275
|
- lib/coinbase/client/models/build_staking_operation_request.rb
|
276
|
+
- lib/coinbase/client/models/contract_event.rb
|
277
|
+
- lib/coinbase/client/models/contract_event_list.rb
|
259
278
|
- lib/coinbase/client/models/create_address_request.rb
|
260
279
|
- lib/coinbase/client/models/create_server_signer_request.rb
|
280
|
+
- lib/coinbase/client/models/create_staking_operation_request.rb
|
261
281
|
- lib/coinbase/client/models/create_trade_request.rb
|
262
282
|
- lib/coinbase/client/models/create_transfer_request.rb
|
263
283
|
- lib/coinbase/client/models/create_wallet_request.rb
|
264
284
|
- lib/coinbase/client/models/create_wallet_request_wallet.rb
|
285
|
+
- lib/coinbase/client/models/create_webhook_request.rb
|
265
286
|
- lib/coinbase/client/models/error.rb
|
266
287
|
- lib/coinbase/client/models/ethereum_validator_metadata.rb
|
267
288
|
- lib/coinbase/client/models/faucet_transaction.rb
|
@@ -293,14 +314,20 @@ files:
|
|
293
314
|
- lib/coinbase/client/models/transaction_type.rb
|
294
315
|
- lib/coinbase/client/models/transfer.rb
|
295
316
|
- lib/coinbase/client/models/transfer_list.rb
|
317
|
+
- lib/coinbase/client/models/update_webhook_request.rb
|
296
318
|
- lib/coinbase/client/models/user.rb
|
297
319
|
- lib/coinbase/client/models/validator.rb
|
298
320
|
- lib/coinbase/client/models/validator_details.rb
|
299
321
|
- lib/coinbase/client/models/validator_list.rb
|
300
322
|
- lib/coinbase/client/models/wallet.rb
|
301
323
|
- lib/coinbase/client/models/wallet_list.rb
|
324
|
+
- lib/coinbase/client/models/webhook.rb
|
325
|
+
- lib/coinbase/client/models/webhook_event_filter.rb
|
326
|
+
- lib/coinbase/client/models/webhook_event_type.rb
|
327
|
+
- lib/coinbase/client/models/webhook_list.rb
|
302
328
|
- lib/coinbase/client/version.rb
|
303
329
|
- lib/coinbase/constants.rb
|
330
|
+
- lib/coinbase/destination.rb
|
304
331
|
- lib/coinbase/errors.rb
|
305
332
|
- lib/coinbase/faucet_transaction.rb
|
306
333
|
- lib/coinbase/middleware.rb
|