@ensdomains/ensjs 3.0.0-beta.2 → 3.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/dist/cjs/contracts/consts.js +46 -1
  2. package/dist/cjs/contracts/consts.js.map +1 -1
  3. package/dist/cjs/dns.js.map +1 -1
  4. package/dist/cjs/errors/version.js +1 -1
  5. package/dist/cjs/errors/version.js.map +1 -1
  6. package/dist/cjs/utils/index.js +19 -1
  7. package/dist/cjs/utils/index.js.map +1 -1
  8. package/dist/cjs/wallet.js.map +1 -1
  9. package/dist/esm/contracts/consts.js +46 -1
  10. package/dist/esm/contracts/consts.js.map +1 -1
  11. package/dist/esm/dns.js.map +1 -1
  12. package/dist/esm/errors/version.js +1 -1
  13. package/dist/esm/errors/version.js.map +1 -1
  14. package/dist/esm/utils/index.js +1 -0
  15. package/dist/esm/utils/index.js.map +1 -1
  16. package/dist/esm/wallet.js.map +1 -1
  17. package/dist/types/clients/decorators/public.d.ts +1 -519
  18. package/dist/types/clients/decorators/public.d.ts.map +1 -1
  19. package/dist/types/clients/decorators/subgraph.d.ts +1 -519
  20. package/dist/types/clients/decorators/subgraph.d.ts.map +1 -1
  21. package/dist/types/clients/decorators/wallet.d.ts +31 -40
  22. package/dist/types/clients/decorators/wallet.d.ts.map +1 -1
  23. package/dist/types/clients/public.d.ts +21 -30
  24. package/dist/types/clients/public.d.ts.map +1 -1
  25. package/dist/types/clients/subgraph.d.ts +17 -26
  26. package/dist/types/clients/subgraph.d.ts.map +1 -1
  27. package/dist/types/clients/wallet.d.ts +58 -67
  28. package/dist/types/clients/wallet.d.ts.map +1 -1
  29. package/dist/types/contracts/consts.d.ts +45 -2
  30. package/dist/types/contracts/consts.d.ts.map +1 -1
  31. package/dist/types/dns.d.ts +1 -1
  32. package/dist/types/dns.d.ts.map +1 -1
  33. package/dist/types/errors/version.d.ts +1 -1
  34. package/dist/types/errors/version.d.ts.map +1 -1
  35. package/dist/types/functions/dns/importDnsName.d.ts +62 -80
  36. package/dist/types/functions/dns/importDnsName.d.ts.map +1 -1
  37. package/dist/types/functions/wallet/commitName.d.ts +62 -80
  38. package/dist/types/functions/wallet/commitName.d.ts.map +1 -1
  39. package/dist/types/functions/wallet/createSubname.d.ts +62 -80
  40. package/dist/types/functions/wallet/createSubname.d.ts.map +1 -1
  41. package/dist/types/functions/wallet/deleteSubname.d.ts +62 -80
  42. package/dist/types/functions/wallet/deleteSubname.d.ts.map +1 -1
  43. package/dist/types/functions/wallet/registerName.d.ts +62 -80
  44. package/dist/types/functions/wallet/registerName.d.ts.map +1 -1
  45. package/dist/types/functions/wallet/renewNames.d.ts +62 -80
  46. package/dist/types/functions/wallet/renewNames.d.ts.map +1 -1
  47. package/dist/types/functions/wallet/setAbiRecord.d.ts +62 -80
  48. package/dist/types/functions/wallet/setAbiRecord.d.ts.map +1 -1
  49. package/dist/types/functions/wallet/setAddressRecord.d.ts +62 -80
  50. package/dist/types/functions/wallet/setAddressRecord.d.ts.map +1 -1
  51. package/dist/types/functions/wallet/setChildFuses.d.ts +62 -80
  52. package/dist/types/functions/wallet/setChildFuses.d.ts.map +1 -1
  53. package/dist/types/functions/wallet/setContentHashRecord.d.ts +62 -80
  54. package/dist/types/functions/wallet/setContentHashRecord.d.ts.map +1 -1
  55. package/dist/types/functions/wallet/setFuses.d.ts +62 -80
  56. package/dist/types/functions/wallet/setFuses.d.ts.map +1 -1
  57. package/dist/types/functions/wallet/setPrimaryName.d.ts +62 -80
  58. package/dist/types/functions/wallet/setPrimaryName.d.ts.map +1 -1
  59. package/dist/types/functions/wallet/setRecords.d.ts +62 -80
  60. package/dist/types/functions/wallet/setRecords.d.ts.map +1 -1
  61. package/dist/types/functions/wallet/setResolver.d.ts +62 -80
  62. package/dist/types/functions/wallet/setResolver.d.ts.map +1 -1
  63. package/dist/types/functions/wallet/setTextRecord.d.ts +62 -80
  64. package/dist/types/functions/wallet/setTextRecord.d.ts.map +1 -1
  65. package/dist/types/functions/wallet/transferName.d.ts +63 -81
  66. package/dist/types/functions/wallet/transferName.d.ts.map +1 -1
  67. package/dist/types/functions/wallet/unwrapName.d.ts +62 -80
  68. package/dist/types/functions/wallet/unwrapName.d.ts.map +1 -1
  69. package/dist/types/functions/wallet/wrapName.d.ts +62 -80
  70. package/dist/types/functions/wallet/wrapName.d.ts.map +1 -1
  71. package/dist/types/utils/index.d.ts +1 -0
  72. package/dist/types/utils/index.d.ts.map +1 -1
  73. package/dist/types/wallet.d.ts +17 -17
  74. package/dist/types/wallet.d.ts.map +1 -1
  75. package/package.json +2 -2
  76. package/src/clients/public.ts +1 -1
  77. package/src/clients/subgraph.ts +1 -1
  78. package/src/clients/wallet.ts +1 -1
  79. package/src/contracts/consts.ts +51 -12
  80. package/src/dns.ts +2 -0
  81. package/src/errors/version.ts +1 -1
  82. package/src/functions/wallet/transferName.ts +1 -1
  83. package/src/utils/index.ts +22 -0
  84. package/src/wallet.ts +34 -0
@@ -132,523 +132,5 @@ export type EnsSubgraphActions = {
132
132
  * transport: http(),
133
133
  * }).extend(ensSubgraphActions)
134
134
  */
135
- export declare const ensSubgraphActions: <TTransport extends Transport = Transport, TChain extends ChainWithEns = ChainWithEns, TAccount extends Account | undefined = Account | undefined>(client: {
136
- account: TAccount;
137
- batch?: {
138
- multicall?: boolean | import("viem").MulticallBatchOptions | undefined;
139
- } | undefined;
140
- chain: TChain;
141
- key: string;
142
- name: string;
143
- pollingInterval: number;
144
- request: import("viem").EIP1193RequestFn<[{
145
- Method: "web3_clientVersion";
146
- Parameters?: undefined;
147
- ReturnType: string;
148
- }, {
149
- Method: "web3_sha3";
150
- Parameters: [data: `0x${string}`];
151
- ReturnType: string;
152
- }, {
153
- Method: "net_listening";
154
- Parameters?: undefined;
155
- ReturnType: boolean;
156
- }, {
157
- Method: "net_peerCount";
158
- Parameters?: undefined;
159
- ReturnType: `0x${string}`;
160
- }, {
161
- Method: "net_version";
162
- Parameters?: undefined;
163
- ReturnType: `0x${string}`;
164
- }, {
165
- Method: "eth_blockNumber";
166
- Parameters?: undefined;
167
- ReturnType: `0x${string}`;
168
- }, {
169
- Method: "eth_call";
170
- Parameters: [transaction: Partial<import("viem").RpcTransactionRequest>] | [transaction: Partial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
171
- ReturnType: `0x${string}`;
172
- }, {
173
- Method: "eth_chainId";
174
- Parameters?: undefined;
175
- ReturnType: `0x${string}`;
176
- }, {
177
- Method: "eth_coinbase";
178
- Parameters?: undefined;
179
- ReturnType: `0x${string}`;
180
- }, {
181
- Method: "eth_estimateGas";
182
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag];
183
- ReturnType: `0x${string}`;
184
- }, {
185
- Method: "eth_feeHistory";
186
- Parameters: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[] | undefined];
187
- ReturnType: import("viem").RpcFeeHistory;
188
- }, {
189
- Method: "eth_gasPrice";
190
- Parameters?: undefined;
191
- ReturnType: `0x${string}`;
192
- }, {
193
- Method: "eth_getBalance";
194
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
195
- ReturnType: `0x${string}`;
196
- }, {
197
- Method: "eth_getBlockByHash";
198
- Parameters: [hash: `0x${string}`, includeTransactionObjects: boolean];
199
- ReturnType: import("viem").RpcBlock | null;
200
- }, {
201
- Method: "eth_getBlockByNumber";
202
- Parameters: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
203
- ReturnType: import("viem").RpcBlock | null;
204
- }, {
205
- Method: "eth_getBlockTransactionCountByHash";
206
- Parameters: [hash: `0x${string}`];
207
- ReturnType: `0x${string}`;
208
- }, {
209
- Method: "eth_getBlockTransactionCountByNumber";
210
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
211
- ReturnType: `0x${string}`;
212
- }, {
213
- Method: "eth_getCode";
214
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
215
- ReturnType: `0x${string}`;
216
- }, {
217
- Method: "eth_getFilterChanges";
218
- Parameters: [filterId: `0x${string}`];
219
- ReturnType: import("viem").RpcLog[] | `0x${string}`[];
220
- }, {
221
- Method: "eth_getFilterLogs";
222
- Parameters: [filterId: `0x${string}`];
223
- ReturnType: import("viem").RpcLog[];
224
- }, {
225
- Method: "eth_getLogs";
226
- Parameters: [{
227
- address?: `0x${string}` | `0x${string}`[] | undefined;
228
- topics?: import("viem").LogTopic[] | undefined;
229
- } & ({
230
- fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
231
- toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
232
- blockHash?: undefined;
233
- } | {
234
- fromBlock?: undefined;
235
- toBlock?: undefined;
236
- blockHash?: `0x${string}` | undefined;
237
- })];
238
- ReturnType: import("viem").RpcLog[];
239
- }, {
240
- Method: "eth_getStorageAt";
241
- Parameters: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
242
- ReturnType: `0x${string}`;
243
- }, {
244
- Method: "eth_getTransactionByBlockHashAndIndex";
245
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
246
- ReturnType: import("viem").RpcTransaction | null;
247
- }, {
248
- Method: "eth_getTransactionByBlockNumberAndIndex";
249
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
250
- ReturnType: import("viem").RpcTransaction | null;
251
- }, {
252
- Method: "eth_getTransactionByHash";
253
- Parameters: [hash: `0x${string}`];
254
- ReturnType: import("viem").RpcTransaction | null;
255
- }, {
256
- Method: "eth_getTransactionCount";
257
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
258
- ReturnType: `0x${string}`;
259
- }, {
260
- Method: "eth_getTransactionReceipt";
261
- Parameters: [hash: `0x${string}`];
262
- ReturnType: import("viem").RpcTransactionReceipt | null;
263
- }, {
264
- Method: "eth_getUncleByBlockHashAndIndex";
265
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
266
- ReturnType: import("viem").RpcUncle | null;
267
- }, {
268
- Method: "eth_getUncleByBlockNumberAndIndex";
269
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
270
- ReturnType: import("viem").RpcUncle | null;
271
- }, {
272
- Method: "eth_getUncleCountByBlockHash";
273
- Parameters: [hash: `0x${string}`];
274
- ReturnType: `0x${string}`;
275
- }, {
276
- Method: "eth_getUncleCountByBlockNumber";
277
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
278
- ReturnType: `0x${string}`;
279
- }, {
280
- Method: "eth_newBlockFilter";
281
- Parameters?: undefined;
282
- ReturnType: `0x${string}`;
283
- }, {
284
- Method: "eth_newFilter";
285
- Parameters: [filter: {
286
- fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
287
- toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
288
- address?: `0x${string}` | `0x${string}`[] | undefined;
289
- topics?: import("viem").LogTopic[] | undefined;
290
- }];
291
- ReturnType: `0x${string}`;
292
- }, {
293
- Method: "eth_newPendingTransactionFilter";
294
- Parameters?: undefined;
295
- ReturnType: `0x${string}`;
296
- }, {
297
- Method: "eth_protocolVersion";
298
- Parameters?: undefined;
299
- ReturnType: string;
300
- }, {
301
- Method: "eth_sendRawTransaction";
302
- Parameters: [signedTransaction: `0x${string}`];
303
- ReturnType: `0x${string}`;
304
- }, {
305
- Method: "eth_uninstallFilter";
306
- Parameters: [filterId: `0x${string}`];
307
- ReturnType: boolean;
308
- }, {
309
- Method: "eth_accounts";
310
- Parameters?: undefined;
311
- ReturnType: `0x${string}`[];
312
- }, {
313
- Method: "eth_chainId";
314
- Parameters?: undefined;
315
- ReturnType: `0x${string}`;
316
- }, {
317
- Method: "eth_estimateGas";
318
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag];
319
- ReturnType: `0x${string}`;
320
- }, {
321
- Method: "eth_requestAccounts";
322
- Parameters?: undefined;
323
- ReturnType: `0x${string}`[];
324
- }, {
325
- Method: "eth_sendTransaction";
326
- Parameters: [transaction: import("viem").RpcTransactionRequest];
327
- ReturnType: `0x${string}`;
328
- }, {
329
- Method: "eth_sendRawTransaction";
330
- Parameters: [signedTransaction: `0x${string}`];
331
- ReturnType: `0x${string}`;
332
- }, {
333
- Method: "eth_sign";
334
- Parameters: [address: `0x${string}`, data: `0x${string}`];
335
- ReturnType: `0x${string}`;
336
- }, {
337
- Method: "eth_signTransaction";
338
- Parameters: [request: import("viem").RpcTransactionRequest];
339
- ReturnType: `0x${string}`;
340
- }, {
341
- Method: "eth_signTypedData_v4";
342
- Parameters: [address: `0x${string}`, message: string];
343
- ReturnType: `0x${string}`;
344
- }, {
345
- Method: "eth_syncing";
346
- Parameters?: undefined;
347
- ReturnType: false | import("viem").NetworkSync;
348
- }, {
349
- Method: "personal_sign";
350
- Parameters: [data: `0x${string}`, address: `0x${string}`];
351
- ReturnType: `0x${string}`;
352
- }, {
353
- Method: "wallet_addEthereumChain";
354
- Parameters: [chain: import("viem").AddEthereumChainParameter];
355
- ReturnType: null;
356
- }, {
357
- Method: "wallet_getPermissions";
358
- Parameters?: undefined;
359
- ReturnType: import("viem").WalletPermission[];
360
- }, {
361
- Method: "wallet_requestPermissions";
362
- Parameters: [permissions: {
363
- eth_accounts: Record<string, any>;
364
- }];
365
- ReturnType: import("viem").WalletPermission[];
366
- }, {
367
- Method: "wallet_switchEthereumChain";
368
- Parameters: [chain: {
369
- chainId: string;
370
- }];
371
- ReturnType: null;
372
- }, {
373
- Method: "wallet_watchAsset";
374
- Parameters: import("viem").WatchAssetParams;
375
- ReturnType: boolean;
376
- }]>;
377
- transport: ReturnType<TTransport>["config"] & ReturnType<TTransport>["value"];
378
- type: string;
379
- uid: string;
380
- } & {
381
- extend: <TNextExtended extends {
382
- account?: undefined;
383
- batch?: undefined;
384
- chain?: undefined;
385
- key?: undefined;
386
- name?: undefined;
387
- pollingInterval?: undefined;
388
- request?: undefined;
389
- transport?: undefined;
390
- type?: undefined;
391
- uid?: undefined;
392
- } & {
393
- [key: string]: unknown;
394
- } = {
395
- account?: undefined;
396
- batch?: undefined;
397
- chain?: undefined;
398
- key?: undefined;
399
- name?: undefined;
400
- pollingInterval?: undefined;
401
- request?: undefined;
402
- transport?: undefined;
403
- type?: undefined;
404
- uid?: undefined;
405
- } & {
406
- [key: string]: unknown;
407
- }>(fn: (client: {
408
- account: TAccount;
409
- batch?: {
410
- multicall?: boolean | import("viem").MulticallBatchOptions | undefined;
411
- } | undefined;
412
- chain: TChain;
413
- key: string;
414
- name: string;
415
- pollingInterval: number;
416
- request: import("viem").EIP1193RequestFn<[{
417
- Method: "web3_clientVersion";
418
- Parameters?: undefined;
419
- ReturnType: string;
420
- }, {
421
- Method: "web3_sha3";
422
- Parameters: [data: `0x${string}`];
423
- ReturnType: string;
424
- }, {
425
- Method: "net_listening";
426
- Parameters?: undefined;
427
- ReturnType: boolean;
428
- }, {
429
- Method: "net_peerCount";
430
- Parameters?: undefined;
431
- ReturnType: `0x${string}`;
432
- }, {
433
- Method: "net_version";
434
- Parameters?: undefined;
435
- ReturnType: `0x${string}`;
436
- }, {
437
- Method: "eth_blockNumber";
438
- Parameters?: undefined;
439
- ReturnType: `0x${string}`;
440
- }, {
441
- Method: "eth_call";
442
- Parameters: [transaction: Partial<import("viem").RpcTransactionRequest>] | [transaction: Partial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
443
- ReturnType: `0x${string}`;
444
- }, {
445
- Method: "eth_chainId";
446
- Parameters?: undefined;
447
- ReturnType: `0x${string}`;
448
- }, {
449
- Method: "eth_coinbase";
450
- Parameters?: undefined;
451
- ReturnType: `0x${string}`;
452
- }, {
453
- Method: "eth_estimateGas";
454
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag];
455
- ReturnType: `0x${string}`;
456
- }, {
457
- Method: "eth_feeHistory";
458
- Parameters: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[] | undefined];
459
- ReturnType: import("viem").RpcFeeHistory;
460
- }, {
461
- Method: "eth_gasPrice";
462
- Parameters?: undefined;
463
- ReturnType: `0x${string}`;
464
- }, {
465
- Method: "eth_getBalance";
466
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
467
- ReturnType: `0x${string}`;
468
- }, {
469
- Method: "eth_getBlockByHash";
470
- Parameters: [hash: `0x${string}`, includeTransactionObjects: boolean];
471
- ReturnType: import("viem").RpcBlock | null;
472
- }, {
473
- Method: "eth_getBlockByNumber";
474
- Parameters: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
475
- ReturnType: import("viem").RpcBlock | null;
476
- }, {
477
- Method: "eth_getBlockTransactionCountByHash";
478
- Parameters: [hash: `0x${string}`];
479
- ReturnType: `0x${string}`;
480
- }, {
481
- Method: "eth_getBlockTransactionCountByNumber";
482
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
483
- ReturnType: `0x${string}`;
484
- }, {
485
- Method: "eth_getCode";
486
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
487
- ReturnType: `0x${string}`;
488
- }, {
489
- Method: "eth_getFilterChanges";
490
- Parameters: [filterId: `0x${string}`];
491
- ReturnType: import("viem").RpcLog[] | `0x${string}`[];
492
- }, {
493
- Method: "eth_getFilterLogs";
494
- Parameters: [filterId: `0x${string}`];
495
- ReturnType: import("viem").RpcLog[];
496
- }, {
497
- Method: "eth_getLogs";
498
- Parameters: [{
499
- address?: `0x${string}` | `0x${string}`[] | undefined;
500
- topics?: import("viem").LogTopic[] | undefined;
501
- } & ({
502
- fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
503
- toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
504
- blockHash?: undefined;
505
- } | {
506
- fromBlock?: undefined;
507
- toBlock?: undefined;
508
- blockHash?: `0x${string}` | undefined;
509
- })];
510
- ReturnType: import("viem").RpcLog[];
511
- }, {
512
- Method: "eth_getStorageAt";
513
- Parameters: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
514
- ReturnType: `0x${string}`;
515
- }, {
516
- Method: "eth_getTransactionByBlockHashAndIndex";
517
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
518
- ReturnType: import("viem").RpcTransaction | null;
519
- }, {
520
- Method: "eth_getTransactionByBlockNumberAndIndex";
521
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
522
- ReturnType: import("viem").RpcTransaction | null;
523
- }, {
524
- Method: "eth_getTransactionByHash";
525
- Parameters: [hash: `0x${string}`];
526
- ReturnType: import("viem").RpcTransaction | null;
527
- }, {
528
- Method: "eth_getTransactionCount";
529
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
530
- ReturnType: `0x${string}`;
531
- }, {
532
- Method: "eth_getTransactionReceipt";
533
- Parameters: [hash: `0x${string}`];
534
- ReturnType: import("viem").RpcTransactionReceipt | null;
535
- }, {
536
- Method: "eth_getUncleByBlockHashAndIndex";
537
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
538
- ReturnType: import("viem").RpcUncle | null;
539
- }, {
540
- Method: "eth_getUncleByBlockNumberAndIndex";
541
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
542
- ReturnType: import("viem").RpcUncle | null;
543
- }, {
544
- Method: "eth_getUncleCountByBlockHash";
545
- Parameters: [hash: `0x${string}`];
546
- ReturnType: `0x${string}`;
547
- }, {
548
- Method: "eth_getUncleCountByBlockNumber";
549
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
550
- ReturnType: `0x${string}`;
551
- }, {
552
- Method: "eth_newBlockFilter";
553
- Parameters?: undefined;
554
- ReturnType: `0x${string}`;
555
- }, {
556
- Method: "eth_newFilter";
557
- Parameters: [filter: {
558
- fromBlock?: `0x${string}` | import("viem").BlockTag | undefined;
559
- toBlock?: `0x${string}` | import("viem").BlockTag | undefined;
560
- address?: `0x${string}` | `0x${string}`[] | undefined;
561
- topics?: import("viem").LogTopic[] | undefined;
562
- }];
563
- ReturnType: `0x${string}`;
564
- }, {
565
- Method: "eth_newPendingTransactionFilter";
566
- Parameters?: undefined;
567
- ReturnType: `0x${string}`;
568
- }, {
569
- Method: "eth_protocolVersion";
570
- Parameters?: undefined;
571
- ReturnType: string;
572
- }, {
573
- Method: "eth_sendRawTransaction";
574
- Parameters: [signedTransaction: `0x${string}`];
575
- ReturnType: `0x${string}`;
576
- }, {
577
- Method: "eth_uninstallFilter";
578
- Parameters: [filterId: `0x${string}`];
579
- ReturnType: boolean;
580
- }, {
581
- Method: "eth_accounts";
582
- Parameters?: undefined;
583
- ReturnType: `0x${string}`[];
584
- }, {
585
- Method: "eth_chainId";
586
- Parameters?: undefined;
587
- ReturnType: `0x${string}`;
588
- }, {
589
- Method: "eth_estimateGas";
590
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag];
591
- ReturnType: `0x${string}`;
592
- }, {
593
- Method: "eth_requestAccounts";
594
- Parameters?: undefined;
595
- ReturnType: `0x${string}`[];
596
- }, {
597
- Method: "eth_sendTransaction";
598
- Parameters: [transaction: import("viem").RpcTransactionRequest];
599
- ReturnType: `0x${string}`;
600
- }, {
601
- Method: "eth_sendRawTransaction";
602
- Parameters: [signedTransaction: `0x${string}`];
603
- ReturnType: `0x${string}`;
604
- }, {
605
- Method: "eth_sign";
606
- Parameters: [address: `0x${string}`, data: `0x${string}`];
607
- ReturnType: `0x${string}`;
608
- }, {
609
- Method: "eth_signTransaction";
610
- Parameters: [request: import("viem").RpcTransactionRequest];
611
- ReturnType: `0x${string}`;
612
- }, {
613
- Method: "eth_signTypedData_v4";
614
- Parameters: [address: `0x${string}`, message: string];
615
- ReturnType: `0x${string}`;
616
- }, {
617
- Method: "eth_syncing";
618
- Parameters?: undefined;
619
- ReturnType: false | import("viem").NetworkSync;
620
- }, {
621
- Method: "personal_sign";
622
- Parameters: [data: `0x${string}`, address: `0x${string}`];
623
- ReturnType: `0x${string}`;
624
- }, {
625
- Method: "wallet_addEthereumChain";
626
- Parameters: [chain: import("viem").AddEthereumChainParameter];
627
- ReturnType: null;
628
- }, {
629
- Method: "wallet_getPermissions";
630
- Parameters?: undefined;
631
- ReturnType: import("viem").WalletPermission[];
632
- }, {
633
- Method: "wallet_requestPermissions";
634
- Parameters: [permissions: {
635
- eth_accounts: Record<string, any>;
636
- }];
637
- ReturnType: import("viem").WalletPermission[];
638
- }, {
639
- Method: "wallet_switchEthereumChain";
640
- Parameters: [chain: {
641
- chainId: string;
642
- }];
643
- ReturnType: null;
644
- }, {
645
- Method: "wallet_watchAsset";
646
- Parameters: import("viem").WatchAssetParams;
647
- ReturnType: boolean;
648
- }]>;
649
- transport: ReturnType<TTransport>["config"] & ReturnType<TTransport>["value"];
650
- type: string;
651
- uid: string;
652
- } & any) => import("viem").Narrow<TNextExtended>) => never;
653
- }) => EnsSubgraphActions;
135
+ export declare const ensSubgraphActions: <TTransport extends Transport = Transport, TChain extends ChainWithEns = ChainWithEns, TAccount extends Account | undefined = Account | undefined>(client: Client<TTransport, TChain, TAccount>) => EnsSubgraphActions;
654
136
  //# sourceMappingURL=subgraph.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"subgraph.d.ts","sourceRoot":"","sources":["../../../../src/clients/decorators/subgraph.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,MA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OAeG;IACH,WAAW,EAAE,CAAC,EACZ,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,cAAc,EACd,QAAQ,EACR,YAAY,GACb,EAAE,qBAAqB,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAAA;CAC5D,CAAA;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB,sMAM5B,kBAQD,CAAA"}
@@ -450,8 +450,12 @@ export type EnsWalletActions<TChain extends ChainWithEns, TAccount extends Accou
450
450
  export declare const ensWalletActions: <TTransport extends Transport = Transport, TChain extends ChainWithEns = ChainWithEns, TAccount extends Account | undefined = Account | undefined>(client: {
451
451
  account: TAccount;
452
452
  batch?: {
453
- multicall?: boolean | import("viem").MulticallBatchOptions | undefined;
453
+ multicall?: boolean | {
454
+ batchSize?: number | undefined;
455
+ wait?: number | undefined;
456
+ } | undefined;
454
457
  } | undefined;
458
+ cacheTime: number;
455
459
  chain: TChain;
456
460
  key: string;
457
461
  name: string;
@@ -460,33 +464,6 @@ export declare const ensWalletActions: <TTransport extends Transport = Transport
460
464
  transport: ReturnType<TTransport>["config"] & ReturnType<TTransport>["value"];
461
465
  type: string;
462
466
  uid: string;
463
- extend: <TNextExtended extends {
464
- account?: undefined;
465
- batch?: undefined;
466
- chain?: undefined;
467
- key?: undefined;
468
- name?: undefined;
469
- pollingInterval?: undefined;
470
- request?: undefined;
471
- transport?: undefined;
472
- type?: undefined;
473
- uid?: undefined;
474
- } & {
475
- [key: string]: unknown;
476
- } = {
477
- account?: undefined;
478
- batch?: undefined;
479
- chain?: undefined;
480
- key?: undefined;
481
- name?: undefined;
482
- pollingInterval?: undefined;
483
- request?: undefined;
484
- transport?: undefined;
485
- type?: undefined;
486
- uid?: undefined;
487
- } & {
488
- [key: string]: unknown;
489
- }>(fn: (client: import("viem").Client<TTransport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => import("viem").Narrow<TNextExtended>) => never;
490
467
  addChain: (args: import("viem").AddChainParameters) => Promise<void>;
491
468
  deployContract: <TAbi extends import("viem").Abi | readonly unknown[], TChainOverride extends import("viem").Chain | undefined>(args: import("viem").DeployContractParameters<TAbi, TChain, TAccount, TChainOverride>) => Promise<`0x${string}`>;
492
469
  getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
@@ -508,17 +485,17 @@ export declare const ensWalletActions: <TTransport extends Transport = Transport
508
485
  [x: `address[${string}]`]: undefined;
509
486
  [x: `bool[${string}]`]: undefined;
510
487
  [x: `bytes[${string}]`]: undefined;
511
- [x: `bytes2[${string}]`]: undefined;
512
- [x: `bytes8[${string}]`]: undefined;
488
+ [x: `bytes3[${string}]`]: undefined;
489
+ [x: `bytes10[${string}]`]: undefined;
513
490
  [x: `bytes16[${string}]`]: undefined;
514
491
  [x: `bytes1[${string}]`]: undefined;
515
- [x: `bytes3[${string}]`]: undefined;
492
+ [x: `bytes2[${string}]`]: undefined;
516
493
  [x: `bytes4[${string}]`]: undefined;
517
494
  [x: `bytes5[${string}]`]: undefined;
518
495
  [x: `bytes6[${string}]`]: undefined;
519
496
  [x: `bytes7[${string}]`]: undefined;
497
+ [x: `bytes8[${string}]`]: undefined;
520
498
  [x: `bytes9[${string}]`]: undefined;
521
- [x: `bytes10[${string}]`]: undefined;
522
499
  [x: `bytes11[${string}]`]: undefined;
523
500
  [x: `bytes12[${string}]`]: undefined;
524
501
  [x: `bytes13[${string}]`]: undefined;
@@ -541,8 +518,8 @@ export declare const ensWalletActions: <TTransport extends Transport = Transport
541
518
  [x: `bytes31[${string}]`]: undefined;
542
519
  [x: `bytes32[${string}]`]: undefined;
543
520
  [x: `int[${string}]`]: undefined;
544
- [x: `int8[${string}]`]: undefined;
545
521
  [x: `int16[${string}]`]: undefined;
522
+ [x: `int8[${string}]`]: undefined;
546
523
  [x: `int24[${string}]`]: undefined;
547
524
  [x: `int32[${string}]`]: undefined;
548
525
  [x: `int40[${string}]`]: undefined;
@@ -574,8 +551,8 @@ export declare const ensWalletActions: <TTransport extends Transport = Transport
574
551
  [x: `int248[${string}]`]: undefined;
575
552
  [x: `int256[${string}]`]: undefined;
576
553
  [x: `uint[${string}]`]: undefined;
577
- [x: `uint8[${string}]`]: undefined;
578
554
  [x: `uint16[${string}]`]: undefined;
555
+ [x: `uint8[${string}]`]: undefined;
579
556
  [x: `uint24[${string}]`]: undefined;
580
557
  [x: `uint32[${string}]`]: undefined;
581
558
  [x: `uint40[${string}]`]: undefined;
@@ -610,17 +587,17 @@ export declare const ensWalletActions: <TTransport extends Transport = Transport
610
587
  address?: undefined;
611
588
  bool?: undefined;
612
589
  bytes?: undefined;
613
- bytes2?: undefined;
614
- bytes8?: undefined;
590
+ bytes3?: undefined;
591
+ bytes10?: undefined;
615
592
  bytes16?: undefined;
616
593
  bytes1?: undefined;
617
- bytes3?: undefined;
594
+ bytes2?: undefined;
618
595
  bytes4?: undefined;
619
596
  bytes5?: undefined;
620
597
  bytes6?: undefined;
621
598
  bytes7?: undefined;
599
+ bytes8?: undefined;
622
600
  bytes9?: undefined;
623
- bytes10?: undefined;
624
601
  bytes11?: undefined;
625
602
  bytes12?: undefined;
626
603
  bytes13?: undefined;
@@ -642,8 +619,8 @@ export declare const ensWalletActions: <TTransport extends Transport = Transport
642
619
  bytes30?: undefined;
643
620
  bytes31?: undefined;
644
621
  bytes32?: undefined;
645
- int8?: undefined;
646
622
  int16?: undefined;
623
+ int8?: undefined;
647
624
  int24?: undefined;
648
625
  int32?: undefined;
649
626
  int40?: undefined;
@@ -674,8 +651,8 @@ export declare const ensWalletActions: <TTransport extends Transport = Transport
674
651
  int240?: undefined;
675
652
  int248?: undefined;
676
653
  int256?: undefined;
677
- uint8?: undefined;
678
654
  uint16?: undefined;
655
+ uint8?: undefined;
679
656
  uint24?: undefined;
680
657
  uint32?: undefined;
681
658
  uint40?: undefined;
@@ -710,5 +687,19 @@ export declare const ensWalletActions: <TTransport extends Transport = Transport
710
687
  switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
711
688
  watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
712
689
  writeContract: <TAbi_1 extends import("viem").Abi | readonly unknown[], TFunctionName extends string, TChainOverride_2 extends import("viem").Chain | undefined>(args: import("viem").WriteContractParameters<TAbi_1, TFunctionName, TChain, TAccount, TChainOverride_2>) => Promise<`0x${string}`>;
690
+ extend: <const client extends {
691
+ [x: string]: unknown;
692
+ account?: undefined;
693
+ batch?: undefined;
694
+ cacheTime?: undefined;
695
+ chain?: undefined;
696
+ key?: undefined;
697
+ name?: undefined;
698
+ pollingInterval?: undefined;
699
+ request?: undefined;
700
+ transport?: undefined;
701
+ type?: undefined;
702
+ uid?: undefined;
703
+ }>(fn: (client: import("viem").Client<TTransport, TChain, TAccount, import("viem").WalletRpcSchema, import("viem").WalletActions<TChain, TAccount>>) => client) => import("viem").Client<TTransport, TChain, TAccount, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<TChain, TAccount>>;
713
704
  }) => EnsWalletActions<TChain, TAccount>;
714
705
  //# sourceMappingURL=wallet.d.ts.map