coinbase-sdk 0.3.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/lib/coinbase/address/wallet_address.rb +35 -2
  3. data/lib/coinbase/address.rb +5 -1
  4. data/lib/coinbase/client/api/addresses_api.rb +10 -10
  5. data/lib/coinbase/client/api/assets_api.rb +2 -2
  6. data/lib/coinbase/client/api/balance_history_api.rb +107 -0
  7. data/lib/coinbase/client/api/contract_events_api.rb +4 -4
  8. data/lib/coinbase/client/api/contract_invocations_api.rb +5 -5
  9. data/lib/coinbase/client/api/external_addresses_api.rb +5 -90
  10. data/lib/coinbase/client/api/networks_api.rb +2 -2
  11. data/lib/coinbase/client/api/server_signers_api.rb +7 -7
  12. data/lib/coinbase/client/api/smart_contracts_api.rb +332 -0
  13. data/lib/coinbase/client/api/stake_api.rb +6 -14
  14. data/lib/coinbase/client/api/trades_api.rb +5 -5
  15. data/lib/coinbase/client/api/transfers_api.rb +5 -5
  16. data/lib/coinbase/client/api/users_api.rb +2 -2
  17. data/lib/coinbase/client/api/validators_api.rb +3 -3
  18. data/lib/coinbase/client/api/wallet_stake_api.rb +4 -4
  19. data/lib/coinbase/client/api/wallets_api.rb +6 -6
  20. data/lib/coinbase/client/api/webhooks_api.rb +5 -5
  21. data/lib/coinbase/client/api_client.rb +30 -24
  22. data/lib/coinbase/client/api_error.rb +1 -1
  23. data/lib/coinbase/client/configuration.rb +1 -1
  24. data/lib/coinbase/client/models/address.rb +1 -1
  25. data/lib/coinbase/client/models/address_balance_list.rb +1 -1
  26. data/lib/coinbase/client/models/address_historical_balance_list.rb +1 -1
  27. data/lib/coinbase/client/models/address_list.rb +1 -1
  28. data/lib/coinbase/client/models/address_transaction_list.rb +1 -1
  29. data/lib/coinbase/client/models/asset.rb +1 -1
  30. data/lib/coinbase/client/models/balance.rb +1 -1
  31. data/lib/coinbase/client/models/broadcast_contract_invocation_request.rb +1 -1
  32. data/lib/coinbase/client/models/broadcast_staking_operation_request.rb +1 -1
  33. data/lib/coinbase/client/models/broadcast_trade_request.rb +1 -1
  34. data/lib/coinbase/client/models/broadcast_transfer_request.rb +1 -1
  35. data/lib/coinbase/client/models/build_staking_operation_request.rb +1 -1
  36. data/lib/coinbase/client/models/contract_event.rb +1 -1
  37. data/lib/coinbase/client/models/contract_event_list.rb +1 -1
  38. data/lib/coinbase/client/models/contract_invocation.rb +19 -2
  39. data/lib/coinbase/client/models/contract_invocation_list.rb +1 -1
  40. data/lib/coinbase/client/models/create_address_request.rb +1 -1
  41. data/lib/coinbase/client/models/create_contract_invocation_request.rb +15 -5
  42. data/lib/coinbase/client/models/create_payload_signature_request.rb +1 -1
  43. data/lib/coinbase/client/models/create_server_signer_request.rb +1 -1
  44. data/lib/coinbase/client/models/create_smart_contract_request.rb +259 -0
  45. data/lib/coinbase/client/models/create_staking_operation_request.rb +1 -1
  46. data/lib/coinbase/client/models/create_trade_request.rb +1 -1
  47. data/lib/coinbase/client/models/create_transfer_request.rb +2 -2
  48. data/lib/coinbase/client/models/create_wallet_request.rb +1 -1
  49. data/lib/coinbase/client/models/create_wallet_request_wallet.rb +1 -1
  50. data/lib/coinbase/client/models/create_webhook_request.rb +11 -9
  51. data/lib/coinbase/client/models/deploy_smart_contract_request.rb +222 -0
  52. data/lib/coinbase/client/models/erc20_transfer_event.rb +336 -0
  53. data/lib/coinbase/client/models/erc721_transfer_event.rb +336 -0
  54. data/lib/coinbase/client/models/error.rb +15 -5
  55. data/lib/coinbase/client/models/ethereum_transaction.rb +1 -1
  56. data/lib/coinbase/client/models/ethereum_transaction_access.rb +1 -1
  57. data/lib/coinbase/client/models/ethereum_transaction_access_list.rb +1 -1
  58. data/lib/coinbase/client/models/ethereum_transaction_flattened_trace.rb +1 -1
  59. data/lib/coinbase/client/models/ethereum_validator_metadata.rb +1 -1
  60. data/lib/coinbase/client/models/faucet_transaction.rb +1 -1
  61. data/lib/coinbase/client/models/feature_set.rb +1 -1
  62. data/lib/coinbase/client/models/fetch_historical_staking_balances200_response.rb +1 -1
  63. data/lib/coinbase/client/models/fetch_staking_rewards200_response.rb +1 -1
  64. data/lib/coinbase/client/models/fetch_staking_rewards_request.rb +1 -1
  65. data/lib/coinbase/client/models/get_staking_context_request.rb +1 -1
  66. data/lib/coinbase/client/models/historical_balance.rb +1 -1
  67. data/lib/coinbase/client/models/network.rb +1 -1
  68. data/lib/coinbase/client/models/network_identifier.rb +3 -2
  69. data/lib/coinbase/client/models/nft_contract_options.rb +240 -0
  70. data/lib/coinbase/client/models/payload_signature.rb +1 -1
  71. data/lib/coinbase/client/models/payload_signature_list.rb +1 -1
  72. data/lib/coinbase/client/models/seed_creation_event.rb +1 -1
  73. data/lib/coinbase/client/models/seed_creation_event_result.rb +1 -1
  74. data/lib/coinbase/client/models/server_signer.rb +1 -1
  75. data/lib/coinbase/client/models/server_signer_event.rb +1 -1
  76. data/lib/coinbase/client/models/server_signer_event_event.rb +1 -1
  77. data/lib/coinbase/client/models/server_signer_event_list.rb +1 -1
  78. data/lib/coinbase/client/models/server_signer_list.rb +1 -1
  79. data/lib/coinbase/client/models/signature_creation_event.rb +1 -1
  80. data/lib/coinbase/client/models/signature_creation_event_result.rb +1 -1
  81. data/lib/coinbase/client/models/signed_voluntary_exit_message_metadata.rb +1 -1
  82. data/lib/coinbase/client/models/smart_contract.rb +378 -0
  83. data/lib/coinbase/client/models/smart_contract_list.rb +257 -0
  84. data/lib/coinbase/client/models/smart_contract_options.rb +106 -0
  85. data/lib/coinbase/client/models/smart_contract_type.rb +41 -0
  86. data/lib/coinbase/client/models/sponsored_send.rb +1 -1
  87. data/lib/coinbase/client/models/staking_balance.rb +3 -3
  88. data/lib/coinbase/client/models/staking_context.rb +1 -1
  89. data/lib/coinbase/client/models/staking_context_context.rb +1 -1
  90. data/lib/coinbase/client/models/staking_operation.rb +1 -1
  91. data/lib/coinbase/client/models/staking_operation_metadata.rb +1 -1
  92. data/lib/coinbase/client/models/staking_reward.rb +3 -3
  93. data/lib/coinbase/client/models/staking_reward_format.rb +1 -1
  94. data/lib/coinbase/client/models/staking_reward_usd_value.rb +1 -1
  95. data/lib/coinbase/client/models/token_contract_options.rb +257 -0
  96. data/lib/coinbase/client/models/trade.rb +1 -1
  97. data/lib/coinbase/client/models/trade_list.rb +1 -1
  98. data/lib/coinbase/client/models/transaction.rb +1 -1
  99. data/lib/coinbase/client/models/transaction_content.rb +1 -1
  100. data/lib/coinbase/client/models/transaction_type.rb +1 -1
  101. data/lib/coinbase/client/models/transfer.rb +1 -1
  102. data/lib/coinbase/client/models/transfer_list.rb +1 -1
  103. data/lib/coinbase/client/models/update_webhook_request.rb +11 -9
  104. data/lib/coinbase/client/models/user.rb +1 -1
  105. data/lib/coinbase/client/models/validator.rb +1 -1
  106. data/lib/coinbase/client/models/validator_details.rb +1 -1
  107. data/lib/coinbase/client/models/validator_list.rb +1 -1
  108. data/lib/coinbase/client/models/validator_status.rb +1 -1
  109. data/lib/coinbase/client/models/wallet.rb +1 -1
  110. data/lib/coinbase/client/models/wallet_list.rb +1 -1
  111. data/lib/coinbase/client/models/webhook.rb +11 -2
  112. data/lib/coinbase/client/models/webhook_event_filter.rb +4 -4
  113. data/lib/coinbase/client/models/webhook_event_type.rb +3 -2
  114. data/lib/coinbase/client/models/webhook_event_type_filter.rb +105 -0
  115. data/lib/coinbase/client/models/webhook_list.rb +1 -1
  116. data/lib/coinbase/client/models/webhook_wallet_activity_filter.rb +228 -0
  117. data/lib/coinbase/client/version.rb +1 -1
  118. data/lib/coinbase/client.rb +15 -1
  119. data/lib/coinbase/contract_invocation.rb +34 -10
  120. data/lib/coinbase/smart_contract.rb +216 -45
  121. data/lib/coinbase/transaction.rb +3 -0
  122. data/lib/coinbase/transfer.rb +1 -1
  123. data/lib/coinbase/version.rb +1 -1
  124. data/lib/coinbase/wallet.rb +11 -2
  125. metadata +16 -2
@@ -23,63 +23,64 @@ module Coinbase
23
23
  )
24
24
  Coinbase::Pagination.enumerate(
25
25
  lambda { |page|
26
- list_events_page(network_id, protocol_name, contract_address, contract_name, event_name, from_block_height,
27
- to_block_height, page)
26
+ list_events_page(
27
+ network_id,
28
+ protocol_name,
29
+ contract_address,
30
+ contract_name,
31
+ event_name,
32
+ from_block_height,
33
+ to_block_height,
34
+ page
35
+ )
28
36
  }
29
37
  ) do |contract_event|
30
38
  Coinbase::ContractEvent.new(contract_event)
31
39
  end
32
40
  end
33
41
 
34
- # Returns a new SmartContract object.
35
- # @param model [Coinbase::Client::SmartContract] The underlying SmartContract object
36
- def initialize(model)
37
- @model = model
38
- end
39
-
40
- # Returns the network ID of the SmartContract.
41
- # @return [String] The network ID
42
- def network_id
43
- Coinbase.to_sym(@model.network_id)
44
- end
45
-
46
- # Returns the protocol name of the SmartContract.
47
- # @return [String] The protocol name
48
- def protocol_name
49
- @model.protocol_name
50
- end
51
-
52
- # Returns the contract name of the SmartContract.
53
- # @return [String] The contract name
54
- def contract_name
55
- @model.contract_name
56
- end
57
-
58
- # Returns the address of the SmartContract.
59
- # @return [String] The contract address
60
- def address
61
- @model.address
62
- end
63
-
64
- # Returns a string representation of the SmartContract.
65
- # @return [String] a string representation of the SmartContract
66
- def to_s
67
- "Coinbase::SmartContract{
68
- network_id: '#{network_id}',
69
- protocol_name: '#{protocol_name}',
70
- contract_name: '#{contract_name}',
71
- address: '#{address}'}"
72
- end
42
+ # Creates a new ERC20 token contract, that can subsequently be deployed to
43
+ # the blockchain.
44
+ # @param address_id [String] The address ID of deployer
45
+ # @param wallet_id [String] The wallet ID of the deployer
46
+ # @param name [String] The name of the token
47
+ # @param symbol [String] The symbol of the token
48
+ # @param total_supply [String] The total supply of the token, denominate in whole units.
49
+ # @return [SmartContract] The new ERC20 Token SmartContract object
50
+ def self.create_token_contract(
51
+ address_id:,
52
+ wallet_id:,
53
+ name:,
54
+ symbol:,
55
+ total_supply:
56
+ )
57
+ contract = Coinbase.call_api do
58
+ smart_contracts_api.create_smart_contract(
59
+ wallet_id,
60
+ address_id,
61
+ {
62
+ type: Coinbase::Client::SmartContractType::ERC20,
63
+ options: Coinbase::Client::TokenContractOptions.new(
64
+ name: name,
65
+ symbol: symbol,
66
+ total_supply: BigDecimal(total_supply).to_i.to_s
67
+ ).to_body
68
+ }
69
+ )
70
+ end
73
71
 
74
- # Same as to_s.
75
- # @return [String] a string representation of the SmartContract
76
- def inspect
77
- to_s
72
+ new(contract)
78
73
  end
79
74
 
80
75
  def self.contract_events_api
81
76
  Coinbase::Client::ContractEventsApi.new(Coinbase.configuration.api_client)
82
77
  end
78
+ private_class_method :contract_events_api
79
+
80
+ def self.smart_contracts_api
81
+ Coinbase::Client::SmartContractsApi.new(Coinbase.configuration.api_client)
82
+ end
83
+ private_class_method :smart_contracts_api
83
84
 
84
85
  def self.list_events_page(
85
86
  network_id,
@@ -102,5 +103,175 @@ module Coinbase
102
103
  { next_page: page }
103
104
  )
104
105
  end
106
+ private_class_method :list_events_page
107
+
108
+ # Returns a new SmartContract object.
109
+ # @param model [Coinbase::Client::SmartContract] The underlying SmartContract object
110
+ def initialize(model)
111
+ raise unless model.is_a?(Coinbase::Client::SmartContract)
112
+
113
+ @model = model
114
+ end
115
+
116
+ # Returns the SmartContract ID.
117
+ # NOTE: This is not the contract address and is primarily used before
118
+ # the contract is deployed.
119
+ # @return [String] The SmartContract ID
120
+ def id
121
+ @model.smart_contract_id
122
+ end
123
+
124
+ # Returns the Network of the SmartContract.
125
+ # @return [Coinbase::Network] The Network
126
+ def network
127
+ @network ||= Coinbase::Network.from_id(@model.network_id)
128
+ end
129
+
130
+ # Returns the contract address of the SmartContract.
131
+ # @return [String] The contract address
132
+ def contract_address
133
+ @model.contract_address
134
+ end
135
+
136
+ # Returns the address of the deployer of the SmartContract.
137
+ # @return [String] The deployer address
138
+ def deployer_address
139
+ @model.deployer_address
140
+ end
141
+
142
+ # Returns the ABI of the Smart Contract.
143
+ # @return [Array<Hash>] The ABI
144
+ def abi
145
+ JSON.parse(@model.abi)
146
+ end
147
+
148
+ # Returns the ID of the wallet that deployed the SmartContract.
149
+ # @return [String] The wallet ID
150
+ def wallet_id
151
+ @model.wallet_id
152
+ end
153
+
154
+ # Returns the type of the SmartContract.
155
+ # @return [Coinbase::Client::SmartContractType] The SmartContract type
156
+ def type
157
+ @model.type
158
+ end
159
+
160
+ # Returns the options of the SmartContract.
161
+ # @return [Coinbase::Client::SmartContractOptions] The SmartContract options
162
+ def options
163
+ @model.options
164
+ end
165
+
166
+ # Returns the transaction.
167
+ # @return [Coinbase::Transaction] The SmartContracy deployment transaction
168
+ def transaction
169
+ @transaction ||= Coinbase::Transaction.new(@model.transaction)
170
+ end
171
+
172
+ # Returns the status of the SmartContract.
173
+ # @return [String] The status
174
+ def status
175
+ transaction.status
176
+ end
177
+
178
+ # Signs the SmartContract deployment transaction with the given key.
179
+ # This is required before broadcasting the SmartContract.
180
+ # @param key [Eth::Key] The key to sign the SmartContract with
181
+ # @return [SmartContract] The SmartContract object
182
+ # @raise [RuntimeError] If the key is not an Eth::Key
183
+ # @raise [Coinbase::AlreadySignedError] If the SmartContract has already been signed
184
+ def sign(key)
185
+ raise unless key.is_a?(Eth::Key)
186
+
187
+ transaction.sign(key)
188
+ end
189
+
190
+ # Deploys the signed SmartContract to the blockchain.
191
+ # @return [SmartContract] The SmartContract object
192
+ # @raise [Coinbase::TransactionNotSignedError] If the SmartContract has not been signed
193
+ def deploy!
194
+ raise TransactionNotSignedError unless transaction.signed?
195
+
196
+ @model = Coinbase.call_api do
197
+ smart_contracts_api.deploy_smart_contract(
198
+ wallet_id,
199
+ deployer_address,
200
+ id,
201
+ { signed_payload: transaction.signature }
202
+ )
203
+ end
204
+
205
+ @transaction = Coinbase::Transaction.new(@model.transaction)
206
+
207
+ self
208
+ end
209
+
210
+ # Reloads the Smart Contract model with the latest version from the server side.
211
+ # @return [SmartContract] The most recent version of Smart Contract from the server
212
+ def reload
213
+ @model = Coinbase.call_api do
214
+ smart_contracts_api.get_smart_contract(
215
+ wallet_id,
216
+ deployer_address,
217
+ id
218
+ )
219
+ end
220
+
221
+ @transaction = Coinbase::Transaction.new(@model.transaction)
222
+
223
+ self
224
+ end
225
+
226
+ # Waits until the Smart Contract deployment is signed or failed by polling the server at the given interval.
227
+ # @param interval_seconds [Integer] The interval at which to poll the server, in seconds
228
+ # @param timeout_seconds [Integer] The maximum amount of time to wait for the Smart Contract,
229
+ # deployment to land on-chain, in seconds
230
+ # @return [SmartContract] The completed Smart Contract object
231
+ # @raise [Timeout::Error] if the Contract Invocation takes longer than the given timeout
232
+ def wait!(interval_seconds = 0.2, timeout_seconds = 20)
233
+ start_time = Time.now
234
+
235
+ loop do
236
+ reload
237
+
238
+ return self if transaction.terminal_state?
239
+
240
+ if Time.now - start_time > timeout_seconds
241
+ raise Timeout::Error,
242
+ 'SmartContract deployment timed out. Try waiting again.'
243
+ end
244
+
245
+ self.sleep interval_seconds
246
+ end
247
+
248
+ self
249
+ end
250
+
251
+ # Same as to_s.
252
+ # @return [String] a string representation of the SmartContract
253
+ def inspect
254
+ to_s
255
+ end
256
+
257
+ # Returns a string representation of the SmartContract.
258
+ # @return [String] a string representation of the SmartContract
259
+ def to_s
260
+ Coinbase.pretty_print_object(
261
+ self.class,
262
+ network: network.id,
263
+ contract_address: contract_address,
264
+ deployer_address: deployer_address,
265
+ type: type,
266
+ status: status,
267
+ options: Coinbase.pretty_print_object('Options', **options)
268
+ )
269
+ end
270
+
271
+ private
272
+
273
+ def smart_contracts_api
274
+ @smart_contracts_api ||= Coinbase::Client::SmartContractsApi.new(Coinbase.configuration.api_client)
275
+ end
105
276
  end
106
277
  end
@@ -147,6 +147,9 @@ module Coinbase
147
147
  # Signs the Transaction with the provided key and returns the hex signing payload.
148
148
  # @return [String] The hex-encoded signed payload
149
149
  def sign(key)
150
+ raise 'Invalid key type' unless key.is_a?(Eth::Key)
151
+ raise Coinbase::AlreadySignedError if signed?
152
+
150
153
  raw.sign(key)
151
154
 
152
155
  signature
@@ -84,7 +84,7 @@ module Coinbase
84
84
  end
85
85
 
86
86
  # Returns the Network of the Transfer.
87
- # @return [Symbol] The Network
87
+ # @return [Coinbase::Network] The Network
88
88
  def network
89
89
  @network ||= Coinbase::Network.from_id(@model.network_id)
90
90
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Coinbase
4
- VERSION = '0.3.0'
4
+ VERSION = '0.6.0'
5
5
  end
@@ -234,10 +234,19 @@ module Coinbase
234
234
  # @!method invoke_contract
235
235
  # Invokes a contract with the given ABI, method, and arguments.
236
236
  # @param abi [Array<Hash>] The ABI of the contract
237
- #
237
+
238
+ # @!method deploy_token
239
+ # Deploys a new ERC20 token contract with the given name, symbol, and total supply.
240
+ # @param name [String] The name of the token.
241
+ # @param symbol [String] The symbol of the token.
242
+ # @param total_supply [Integer, BigDecimal] The total supply of the token, denominated in
243
+ # whole units.
244
+ # @return [Coinbase::SmartContract] The deployed token contract.
245
+ # @raise [AddressCannotSignError] if the Address does not have a private key backing it.
238
246
 
239
247
  def_delegators :default_address, :transfer, :trade, :faucet, :stake, :unstake, :claim_stake, :staking_balances,
240
- :stakeable_balance, :unstakeable_balance, :claimable_balance, :sign_payload, :invoke_contract
248
+ :stakeable_balance, :unstakeable_balance, :claimable_balance, :sign_payload, :invoke_contract,
249
+ :deploy_token
241
250
 
242
251
  # Returns the addresses belonging to the Wallet.
243
252
  # @return [Array<Coinbase::WalletAddress>] The addresses belonging to the Wallet
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.3.0
4
+ version: 0.6.0
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-09-05 00:00:00.000000000 Z
11
+ date: 2024-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bigdecimal
@@ -279,11 +279,13 @@ files:
279
279
  - lib/coinbase/client.rb
280
280
  - lib/coinbase/client/api/addresses_api.rb
281
281
  - lib/coinbase/client/api/assets_api.rb
282
+ - lib/coinbase/client/api/balance_history_api.rb
282
283
  - lib/coinbase/client/api/contract_events_api.rb
283
284
  - lib/coinbase/client/api/contract_invocations_api.rb
284
285
  - lib/coinbase/client/api/external_addresses_api.rb
285
286
  - lib/coinbase/client/api/networks_api.rb
286
287
  - lib/coinbase/client/api/server_signers_api.rb
288
+ - lib/coinbase/client/api/smart_contracts_api.rb
287
289
  - lib/coinbase/client/api/stake_api.rb
288
290
  - lib/coinbase/client/api/trades_api.rb
289
291
  - lib/coinbase/client/api/transfers_api.rb
@@ -315,12 +317,16 @@ files:
315
317
  - lib/coinbase/client/models/create_contract_invocation_request.rb
316
318
  - lib/coinbase/client/models/create_payload_signature_request.rb
317
319
  - lib/coinbase/client/models/create_server_signer_request.rb
320
+ - lib/coinbase/client/models/create_smart_contract_request.rb
318
321
  - lib/coinbase/client/models/create_staking_operation_request.rb
319
322
  - lib/coinbase/client/models/create_trade_request.rb
320
323
  - lib/coinbase/client/models/create_transfer_request.rb
321
324
  - lib/coinbase/client/models/create_wallet_request.rb
322
325
  - lib/coinbase/client/models/create_wallet_request_wallet.rb
323
326
  - lib/coinbase/client/models/create_webhook_request.rb
327
+ - lib/coinbase/client/models/deploy_smart_contract_request.rb
328
+ - lib/coinbase/client/models/erc20_transfer_event.rb
329
+ - lib/coinbase/client/models/erc721_transfer_event.rb
324
330
  - lib/coinbase/client/models/error.rb
325
331
  - lib/coinbase/client/models/ethereum_transaction.rb
326
332
  - lib/coinbase/client/models/ethereum_transaction_access.rb
@@ -337,6 +343,7 @@ files:
337
343
  - lib/coinbase/client/models/historical_balance.rb
338
344
  - lib/coinbase/client/models/network.rb
339
345
  - lib/coinbase/client/models/network_identifier.rb
346
+ - lib/coinbase/client/models/nft_contract_options.rb
340
347
  - lib/coinbase/client/models/payload_signature.rb
341
348
  - lib/coinbase/client/models/payload_signature_list.rb
342
349
  - lib/coinbase/client/models/seed_creation_event.rb
@@ -349,6 +356,10 @@ files:
349
356
  - lib/coinbase/client/models/signature_creation_event.rb
350
357
  - lib/coinbase/client/models/signature_creation_event_result.rb
351
358
  - lib/coinbase/client/models/signed_voluntary_exit_message_metadata.rb
359
+ - lib/coinbase/client/models/smart_contract.rb
360
+ - lib/coinbase/client/models/smart_contract_list.rb
361
+ - lib/coinbase/client/models/smart_contract_options.rb
362
+ - lib/coinbase/client/models/smart_contract_type.rb
352
363
  - lib/coinbase/client/models/sponsored_send.rb
353
364
  - lib/coinbase/client/models/staking_balance.rb
354
365
  - lib/coinbase/client/models/staking_context.rb
@@ -358,6 +369,7 @@ files:
358
369
  - lib/coinbase/client/models/staking_reward.rb
359
370
  - lib/coinbase/client/models/staking_reward_format.rb
360
371
  - lib/coinbase/client/models/staking_reward_usd_value.rb
372
+ - lib/coinbase/client/models/token_contract_options.rb
361
373
  - lib/coinbase/client/models/trade.rb
362
374
  - lib/coinbase/client/models/trade_list.rb
363
375
  - lib/coinbase/client/models/transaction.rb
@@ -376,7 +388,9 @@ files:
376
388
  - lib/coinbase/client/models/webhook.rb
377
389
  - lib/coinbase/client/models/webhook_event_filter.rb
378
390
  - lib/coinbase/client/models/webhook_event_type.rb
391
+ - lib/coinbase/client/models/webhook_event_type_filter.rb
379
392
  - lib/coinbase/client/models/webhook_list.rb
393
+ - lib/coinbase/client/models/webhook_wallet_activity_filter.rb
380
394
  - lib/coinbase/client/version.rb
381
395
  - lib/coinbase/constants.rb
382
396
  - lib/coinbase/contract_event.rb