@reclaimprotocol/attestor-core 5.0.1-beta.2 → 5.0.1-beta.3

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 (169) hide show
  1. package/lib/browser/avs/abis/avsDirectoryABI.d.ts +60 -0
  2. package/lib/browser/avs/abis/avsDirectoryABI.js +343 -0
  3. package/lib/browser/avs/abis/delegationABI.d.ts +126 -0
  4. package/lib/browser/avs/abis/delegationABI.js +4 -0
  5. package/lib/browser/avs/abis/registryABI.d.ts +136 -0
  6. package/lib/browser/avs/abis/registryABI.js +728 -0
  7. package/lib/browser/avs/client/create-claim-on-avs.d.ts +12 -0
  8. package/lib/browser/avs/client/create-claim-on-avs.js +168 -0
  9. package/lib/browser/avs/config.d.ts +7 -0
  10. package/lib/browser/avs/config.js +26 -0
  11. package/lib/browser/avs/contracts/ReclaimServiceManager.d.ts +601 -0
  12. package/lib/browser/avs/contracts/ReclaimServiceManager.js +0 -0
  13. package/lib/browser/avs/contracts/common.d.ts +50 -0
  14. package/lib/browser/avs/contracts/common.js +0 -0
  15. package/lib/browser/avs/contracts/factories/ReclaimServiceManager__factory.d.ts +890 -0
  16. package/lib/browser/avs/contracts/factories/ReclaimServiceManager__factory.js +1183 -0
  17. package/lib/browser/avs/contracts/factories/index.d.ts +1 -0
  18. package/lib/browser/avs/contracts/factories/index.js +4 -0
  19. package/lib/browser/avs/contracts/index.d.ts +3 -0
  20. package/lib/browser/avs/contracts/index.js +6 -0
  21. package/lib/browser/avs/types/index.d.ts +55 -0
  22. package/lib/browser/avs/types/index.js +0 -0
  23. package/lib/browser/avs/utils/contracts.d.ts +21 -0
  24. package/lib/browser/avs/utils/contracts.js +53 -0
  25. package/lib/browser/avs/utils/register.d.ts +27 -0
  26. package/lib/browser/avs/utils/register.js +74 -0
  27. package/lib/browser/avs/utils/tasks.d.ts +22 -0
  28. package/lib/browser/avs/utils/tasks.js +48 -0
  29. package/lib/browser/client/create-claim.d.ts +5 -0
  30. package/lib/browser/client/create-claim.js +461 -0
  31. package/lib/browser/client/index.d.ts +3 -0
  32. package/lib/browser/client/index.js +3 -0
  33. package/lib/browser/client/tunnels/make-rpc-tcp-tunnel.d.ts +16 -0
  34. package/lib/browser/client/tunnels/make-rpc-tcp-tunnel.js +53 -0
  35. package/lib/browser/client/tunnels/make-rpc-tls-tunnel.d.ts +26 -0
  36. package/lib/browser/client/tunnels/make-rpc-tls-tunnel.js +127 -0
  37. package/lib/browser/client/utils/attestor-pool.d.ts +8 -0
  38. package/lib/browser/client/utils/attestor-pool.js +24 -0
  39. package/lib/browser/client/utils/client-socket.d.ts +11 -0
  40. package/lib/browser/client/utils/client-socket.js +120 -0
  41. package/lib/browser/client/utils/message-handler.d.ts +4 -0
  42. package/lib/browser/client/utils/message-handler.js +97 -0
  43. package/lib/browser/config/index.d.ts +31 -0
  44. package/lib/browser/config/index.js +62 -0
  45. package/lib/browser/external-rpc/benchmark.d.ts +1 -0
  46. package/lib/browser/external-rpc/benchmark.js +82 -0
  47. package/lib/browser/external-rpc/event-bus.d.ts +7 -0
  48. package/lib/browser/external-rpc/event-bus.js +17 -0
  49. package/lib/browser/external-rpc/global.d.js +0 -0
  50. package/lib/browser/external-rpc/handle-incoming-msg.d.ts +2 -0
  51. package/lib/browser/external-rpc/handle-incoming-msg.js +241 -0
  52. package/lib/browser/external-rpc/index.d.ts +3 -0
  53. package/lib/browser/external-rpc/index.js +3 -0
  54. package/lib/browser/external-rpc/jsc-polyfills/1.d.ts +14 -0
  55. package/lib/browser/external-rpc/jsc-polyfills/1.js +80 -0
  56. package/lib/browser/external-rpc/jsc-polyfills/2.d.ts +1 -0
  57. package/lib/browser/external-rpc/jsc-polyfills/2.js +15 -0
  58. package/lib/browser/external-rpc/jsc-polyfills/event.d.ts +10 -0
  59. package/lib/browser/external-rpc/jsc-polyfills/event.js +19 -0
  60. package/lib/browser/external-rpc/jsc-polyfills/index.d.ts +2 -0
  61. package/lib/browser/external-rpc/jsc-polyfills/index.js +2 -0
  62. package/lib/browser/external-rpc/jsc-polyfills/ws.d.ts +21 -0
  63. package/lib/browser/external-rpc/jsc-polyfills/ws.js +83 -0
  64. package/lib/browser/external-rpc/setup-browser.d.ts +6 -0
  65. package/lib/browser/external-rpc/setup-browser.js +33 -0
  66. package/lib/browser/external-rpc/setup-jsc.d.ts +24 -0
  67. package/lib/browser/external-rpc/setup-jsc.js +22 -0
  68. package/lib/browser/external-rpc/types.d.ts +213 -0
  69. package/lib/browser/external-rpc/types.js +0 -0
  70. package/lib/browser/external-rpc/utils.d.ts +20 -0
  71. package/lib/browser/external-rpc/utils.js +100 -0
  72. package/lib/browser/external-rpc/zk.d.ts +14 -0
  73. package/lib/browser/external-rpc/zk.js +58 -0
  74. package/lib/browser/index.browser.js +13 -0
  75. package/lib/browser/index.d.ts +9 -0
  76. package/lib/browser/index.js +13 -0
  77. package/lib/browser/mechain/abis/governanceABI.d.ts +50 -0
  78. package/lib/browser/mechain/abis/governanceABI.js +461 -0
  79. package/lib/browser/mechain/abis/taskABI.d.ts +157 -0
  80. package/lib/browser/mechain/abis/taskABI.js +512 -0
  81. package/lib/browser/mechain/client/create-claim-on-mechain.d.ts +10 -0
  82. package/lib/browser/mechain/client/create-claim-on-mechain.js +33 -0
  83. package/lib/browser/mechain/client/index.d.ts +1 -0
  84. package/lib/browser/mechain/client/index.js +1 -0
  85. package/lib/browser/mechain/constants/index.d.ts +3 -0
  86. package/lib/browser/mechain/constants/index.js +8 -0
  87. package/lib/browser/mechain/index.d.ts +2 -0
  88. package/lib/browser/mechain/index.js +2 -0
  89. package/lib/browser/mechain/types/index.d.ts +23 -0
  90. package/lib/browser/mechain/types/index.js +0 -0
  91. package/lib/browser/proto/api.d.ts +651 -0
  92. package/lib/browser/proto/api.js +4250 -0
  93. package/lib/browser/proto/tee-bundle.d.ts +156 -0
  94. package/lib/browser/proto/tee-bundle.js +1296 -0
  95. package/lib/browser/providers/http/index.d.ts +18 -0
  96. package/lib/browser/providers/http/index.js +640 -0
  97. package/lib/browser/providers/http/patch-parse5-tree.d.ts +6 -0
  98. package/lib/browser/providers/http/patch-parse5-tree.js +34 -0
  99. package/lib/browser/providers/http/utils.d.ts +77 -0
  100. package/lib/browser/providers/http/utils.js +283 -0
  101. package/lib/browser/providers/index.d.ts +4 -0
  102. package/lib/browser/providers/index.js +7 -0
  103. package/lib/browser/types/bgp.d.ts +11 -0
  104. package/lib/browser/types/bgp.js +0 -0
  105. package/lib/browser/types/claims.d.ts +70 -0
  106. package/lib/browser/types/claims.js +0 -0
  107. package/lib/browser/types/client.d.ts +163 -0
  108. package/lib/browser/types/client.js +0 -0
  109. package/lib/browser/types/general.d.ts +77 -0
  110. package/lib/browser/types/general.js +0 -0
  111. package/lib/browser/types/handlers.d.ts +10 -0
  112. package/lib/browser/types/handlers.js +0 -0
  113. package/lib/browser/types/index.d.ts +10 -0
  114. package/lib/browser/types/index.js +10 -0
  115. package/lib/browser/types/providers.d.ts +161 -0
  116. package/lib/browser/types/providers.gen.d.ts +443 -0
  117. package/lib/browser/types/providers.gen.js +16 -0
  118. package/lib/browser/types/providers.js +0 -0
  119. package/lib/browser/types/rpc.d.ts +35 -0
  120. package/lib/browser/types/rpc.js +0 -0
  121. package/lib/browser/types/signatures.d.ts +28 -0
  122. package/lib/browser/types/signatures.js +0 -0
  123. package/lib/browser/types/tunnel.d.ts +18 -0
  124. package/lib/browser/types/tunnel.js +0 -0
  125. package/lib/browser/types/zk.d.ts +38 -0
  126. package/lib/browser/types/zk.js +0 -0
  127. package/lib/browser/utils/auth.d.ts +8 -0
  128. package/lib/browser/utils/auth.js +71 -0
  129. package/lib/browser/utils/b64-json.d.ts +2 -0
  130. package/lib/browser/utils/b64-json.js +17 -0
  131. package/lib/browser/utils/claims.d.ts +33 -0
  132. package/lib/browser/utils/claims.js +89 -0
  133. package/lib/browser/utils/env.d.ts +3 -0
  134. package/lib/browser/utils/env.js +19 -0
  135. package/lib/browser/utils/error.d.ts +26 -0
  136. package/lib/browser/utils/error.js +54 -0
  137. package/lib/browser/utils/generics.d.ts +114 -0
  138. package/lib/browser/utils/generics.js +268 -0
  139. package/lib/browser/utils/http-parser.d.ts +59 -0
  140. package/lib/browser/utils/http-parser.js +201 -0
  141. package/lib/browser/utils/index.browser.js +12 -0
  142. package/lib/browser/utils/index.d.ts +12 -0
  143. package/lib/browser/utils/index.js +12 -0
  144. package/lib/browser/utils/logger.browser.js +88 -0
  145. package/lib/browser/utils/logger.d.ts +14 -0
  146. package/lib/browser/utils/logger.js +88 -0
  147. package/lib/browser/utils/prepare-packets.d.ts +16 -0
  148. package/lib/browser/utils/prepare-packets.js +69 -0
  149. package/lib/browser/utils/redactions.d.ts +73 -0
  150. package/lib/browser/utils/redactions.js +135 -0
  151. package/lib/browser/utils/retries.d.ts +12 -0
  152. package/lib/browser/utils/retries.js +26 -0
  153. package/lib/browser/utils/signatures/eth.d.ts +2 -0
  154. package/lib/browser/utils/signatures/eth.js +31 -0
  155. package/lib/browser/utils/signatures/index.d.ts +5 -0
  156. package/lib/browser/utils/signatures/index.js +12 -0
  157. package/lib/browser/utils/socket-base.d.ts +23 -0
  158. package/lib/browser/utils/socket-base.js +96 -0
  159. package/lib/browser/utils/tls.d.ts +2 -0
  160. package/lib/browser/utils/tls.js +58 -0
  161. package/lib/browser/utils/ws.d.ts +7 -0
  162. package/lib/browser/utils/ws.js +22 -0
  163. package/lib/browser/utils/zk.d.ts +71 -0
  164. package/lib/browser/utils/zk.js +625 -0
  165. package/lib/index.browser.d.ts +9 -0
  166. package/lib/types/general.d.ts +1 -0
  167. package/lib/utils/index.browser.d.ts +12 -0
  168. package/lib/utils/logger.browser.d.ts +14 -0
  169. package/package.json +18 -2
@@ -0,0 +1,461 @@
1
+ const governanceABI = [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "initialOwner",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "uint256",
11
+ "name": "_minimumStake",
12
+ "type": "uint256"
13
+ },
14
+ {
15
+ "internalType": "uint256",
16
+ "name": "_unbondingPeriod",
17
+ "type": "uint256"
18
+ }
19
+ ],
20
+ "stateMutability": "nonpayable",
21
+ "type": "constructor"
22
+ },
23
+ {
24
+ "inputs": [
25
+ {
26
+ "internalType": "address",
27
+ "name": "owner",
28
+ "type": "address"
29
+ }
30
+ ],
31
+ "name": "OwnableInvalidOwner",
32
+ "type": "error"
33
+ },
34
+ {
35
+ "inputs": [
36
+ {
37
+ "internalType": "address",
38
+ "name": "account",
39
+ "type": "address"
40
+ }
41
+ ],
42
+ "name": "OwnableUnauthorizedAccount",
43
+ "type": "error"
44
+ },
45
+ {
46
+ "anonymous": false,
47
+ "inputs": [
48
+ {
49
+ "indexed": true,
50
+ "internalType": "address",
51
+ "name": "previousOwner",
52
+ "type": "address"
53
+ },
54
+ {
55
+ "indexed": true,
56
+ "internalType": "address",
57
+ "name": "newOwner",
58
+ "type": "address"
59
+ }
60
+ ],
61
+ "name": "OwnershipTransferred",
62
+ "type": "event"
63
+ },
64
+ {
65
+ "inputs": [
66
+ {
67
+ "internalType": "string",
68
+ "name": "",
69
+ "type": "string"
70
+ }
71
+ ],
72
+ "name": "Attestors",
73
+ "outputs": [
74
+ {
75
+ "internalType": "address",
76
+ "name": "",
77
+ "type": "address"
78
+ }
79
+ ],
80
+ "stateMutability": "view",
81
+ "type": "function"
82
+ },
83
+ {
84
+ "inputs": [
85
+ {
86
+ "internalType": "string",
87
+ "name": "_key",
88
+ "type": "string"
89
+ },
90
+ {
91
+ "internalType": "address",
92
+ "name": "_address",
93
+ "type": "address"
94
+ }
95
+ ],
96
+ "name": "addAttestor",
97
+ "outputs": [],
98
+ "stateMutability": "nonpayable",
99
+ "type": "function"
100
+ },
101
+ {
102
+ "inputs": [],
103
+ "name": "claimRewards",
104
+ "outputs": [],
105
+ "stateMutability": "nonpayable",
106
+ "type": "function"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "string",
112
+ "name": "_key",
113
+ "type": "string"
114
+ }
115
+ ],
116
+ "name": "getAttestor",
117
+ "outputs": [
118
+ {
119
+ "internalType": "address",
120
+ "name": "",
121
+ "type": "address"
122
+ }
123
+ ],
124
+ "stateMutability": "view",
125
+ "type": "function"
126
+ },
127
+ {
128
+ "inputs": [],
129
+ "name": "getAttestors",
130
+ "outputs": [
131
+ {
132
+ "internalType": "string[]",
133
+ "name": "keys",
134
+ "type": "string[]"
135
+ },
136
+ {
137
+ "internalType": "address[]",
138
+ "name": "addresses",
139
+ "type": "address[]"
140
+ }
141
+ ],
142
+ "stateMutability": "view",
143
+ "type": "function"
144
+ },
145
+ {
146
+ "inputs": [],
147
+ "name": "minimumStake",
148
+ "outputs": [
149
+ {
150
+ "internalType": "uint256",
151
+ "name": "",
152
+ "type": "uint256"
153
+ }
154
+ ],
155
+ "stateMutability": "view",
156
+ "type": "function"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "owner",
161
+ "outputs": [
162
+ {
163
+ "internalType": "address",
164
+ "name": "",
165
+ "type": "address"
166
+ }
167
+ ],
168
+ "stateMutability": "view",
169
+ "type": "function"
170
+ },
171
+ {
172
+ "inputs": [
173
+ {
174
+ "internalType": "address",
175
+ "name": "",
176
+ "type": "address"
177
+ }
178
+ ],
179
+ "name": "pendingRewards",
180
+ "outputs": [
181
+ {
182
+ "internalType": "uint256",
183
+ "name": "",
184
+ "type": "uint256"
185
+ }
186
+ ],
187
+ "stateMutability": "view",
188
+ "type": "function"
189
+ },
190
+ {
191
+ "inputs": [],
192
+ "name": "reclaimContractAddress",
193
+ "outputs": [
194
+ {
195
+ "internalType": "address",
196
+ "name": "",
197
+ "type": "address"
198
+ }
199
+ ],
200
+ "stateMutability": "view",
201
+ "type": "function"
202
+ },
203
+ {
204
+ "inputs": [
205
+ {
206
+ "internalType": "address[]",
207
+ "name": "_attestorAddresses",
208
+ "type": "address[]"
209
+ }
210
+ ],
211
+ "name": "registerRewards",
212
+ "outputs": [],
213
+ "stateMutability": "nonpayable",
214
+ "type": "function"
215
+ },
216
+ {
217
+ "inputs": [
218
+ {
219
+ "internalType": "string",
220
+ "name": "_key",
221
+ "type": "string"
222
+ }
223
+ ],
224
+ "name": "removeAttestor",
225
+ "outputs": [],
226
+ "stateMutability": "nonpayable",
227
+ "type": "function"
228
+ },
229
+ {
230
+ "inputs": [],
231
+ "name": "renounceOwnership",
232
+ "outputs": [],
233
+ "stateMutability": "nonpayable",
234
+ "type": "function"
235
+ },
236
+ {
237
+ "inputs": [],
238
+ "name": "requestUnstake",
239
+ "outputs": [],
240
+ "stateMutability": "nonpayable",
241
+ "type": "function"
242
+ },
243
+ {
244
+ "inputs": [
245
+ {
246
+ "internalType": "uint256",
247
+ "name": "_minimumStake",
248
+ "type": "uint256"
249
+ }
250
+ ],
251
+ "name": "setMinimumStake",
252
+ "outputs": [],
253
+ "stateMutability": "nonpayable",
254
+ "type": "function"
255
+ },
256
+ {
257
+ "inputs": [
258
+ {
259
+ "internalType": "address",
260
+ "name": "_reclaimContractAddress",
261
+ "type": "address"
262
+ }
263
+ ],
264
+ "name": "setReclaimContractAddress",
265
+ "outputs": [],
266
+ "stateMutability": "nonpayable",
267
+ "type": "function"
268
+ },
269
+ {
270
+ "inputs": [
271
+ {
272
+ "internalType": "bool",
273
+ "name": "_slashingEnabled",
274
+ "type": "bool"
275
+ }
276
+ ],
277
+ "name": "setSlashingEnabled",
278
+ "outputs": [],
279
+ "stateMutability": "nonpayable",
280
+ "type": "function"
281
+ },
282
+ {
283
+ "inputs": [
284
+ {
285
+ "internalType": "uint256",
286
+ "name": "_unbondingPeriod",
287
+ "type": "uint256"
288
+ }
289
+ ],
290
+ "name": "setUnbondingPeriod",
291
+ "outputs": [],
292
+ "stateMutability": "nonpayable",
293
+ "type": "function"
294
+ },
295
+ {
296
+ "inputs": [
297
+ {
298
+ "internalType": "uint256",
299
+ "name": "_verificationCost",
300
+ "type": "uint256"
301
+ }
302
+ ],
303
+ "name": "setVerificationCost",
304
+ "outputs": [],
305
+ "stateMutability": "nonpayable",
306
+ "type": "function"
307
+ },
308
+ {
309
+ "inputs": [
310
+ {
311
+ "internalType": "uint256",
312
+ "name": "_amount",
313
+ "type": "uint256"
314
+ }
315
+ ],
316
+ "name": "slash",
317
+ "outputs": [],
318
+ "stateMutability": "nonpayable",
319
+ "type": "function"
320
+ },
321
+ {
322
+ "inputs": [],
323
+ "name": "slashingEnabled",
324
+ "outputs": [
325
+ {
326
+ "internalType": "bool",
327
+ "name": "",
328
+ "type": "bool"
329
+ }
330
+ ],
331
+ "stateMutability": "view",
332
+ "type": "function"
333
+ },
334
+ {
335
+ "inputs": [],
336
+ "name": "stake",
337
+ "outputs": [],
338
+ "stateMutability": "payable",
339
+ "type": "function"
340
+ },
341
+ {
342
+ "inputs": [
343
+ {
344
+ "internalType": "address",
345
+ "name": "",
346
+ "type": "address"
347
+ }
348
+ ],
349
+ "name": "stakedAmounts",
350
+ "outputs": [
351
+ {
352
+ "internalType": "uint256",
353
+ "name": "",
354
+ "type": "uint256"
355
+ }
356
+ ],
357
+ "stateMutability": "view",
358
+ "type": "function"
359
+ },
360
+ {
361
+ "inputs": [],
362
+ "name": "totalSlashedAmount",
363
+ "outputs": [
364
+ {
365
+ "internalType": "uint256",
366
+ "name": "",
367
+ "type": "uint256"
368
+ }
369
+ ],
370
+ "stateMutability": "view",
371
+ "type": "function"
372
+ },
373
+ {
374
+ "inputs": [],
375
+ "name": "totalStaked",
376
+ "outputs": [
377
+ {
378
+ "internalType": "uint256",
379
+ "name": "",
380
+ "type": "uint256"
381
+ }
382
+ ],
383
+ "stateMutability": "view",
384
+ "type": "function"
385
+ },
386
+ {
387
+ "inputs": [
388
+ {
389
+ "internalType": "address",
390
+ "name": "newOwner",
391
+ "type": "address"
392
+ }
393
+ ],
394
+ "name": "transferOwnership",
395
+ "outputs": [],
396
+ "stateMutability": "nonpayable",
397
+ "type": "function"
398
+ },
399
+ {
400
+ "inputs": [],
401
+ "name": "unbondingPeriod",
402
+ "outputs": [
403
+ {
404
+ "internalType": "uint256",
405
+ "name": "",
406
+ "type": "uint256"
407
+ }
408
+ ],
409
+ "stateMutability": "view",
410
+ "type": "function"
411
+ },
412
+ {
413
+ "inputs": [],
414
+ "name": "unstake",
415
+ "outputs": [],
416
+ "stateMutability": "nonpayable",
417
+ "type": "function"
418
+ },
419
+ {
420
+ "inputs": [
421
+ {
422
+ "internalType": "address",
423
+ "name": "",
424
+ "type": "address"
425
+ }
426
+ ],
427
+ "name": "unstakeRequestBlocks",
428
+ "outputs": [
429
+ {
430
+ "internalType": "uint256",
431
+ "name": "",
432
+ "type": "uint256"
433
+ }
434
+ ],
435
+ "stateMutability": "view",
436
+ "type": "function"
437
+ },
438
+ {
439
+ "inputs": [],
440
+ "name": "verificationCost",
441
+ "outputs": [
442
+ {
443
+ "internalType": "uint256",
444
+ "name": "",
445
+ "type": "uint256"
446
+ }
447
+ ],
448
+ "stateMutability": "view",
449
+ "type": "function"
450
+ },
451
+ {
452
+ "inputs": [],
453
+ "name": "withdraw",
454
+ "outputs": [],
455
+ "stateMutability": "nonpayable",
456
+ "type": "function"
457
+ }
458
+ ];
459
+ export {
460
+ governanceABI
461
+ };
@@ -0,0 +1,157 @@
1
+ export declare const taskABI: ({
2
+ inputs: {
3
+ internalType: string;
4
+ name: string;
5
+ type: string;
6
+ }[];
7
+ stateMutability: string;
8
+ type: string;
9
+ name?: undefined;
10
+ anonymous?: undefined;
11
+ outputs?: undefined;
12
+ } | {
13
+ inputs: {
14
+ internalType: string;
15
+ name: string;
16
+ type: string;
17
+ }[];
18
+ name: string;
19
+ type: string;
20
+ stateMutability?: undefined;
21
+ anonymous?: undefined;
22
+ outputs?: undefined;
23
+ } | {
24
+ anonymous: boolean;
25
+ inputs: {
26
+ indexed: boolean;
27
+ internalType: string;
28
+ name: string;
29
+ type: string;
30
+ }[];
31
+ name: string;
32
+ type: string;
33
+ stateMutability?: undefined;
34
+ outputs?: undefined;
35
+ } | {
36
+ anonymous: boolean;
37
+ inputs: {
38
+ components: ({
39
+ internalType: string;
40
+ name: string;
41
+ type: string;
42
+ components?: undefined;
43
+ } | {
44
+ components: {
45
+ internalType: string;
46
+ name: string;
47
+ type: string;
48
+ }[];
49
+ internalType: string;
50
+ name: string;
51
+ type: string;
52
+ })[];
53
+ indexed: boolean;
54
+ internalType: string;
55
+ name: string;
56
+ type: string;
57
+ }[];
58
+ name: string;
59
+ type: string;
60
+ stateMutability?: undefined;
61
+ outputs?: undefined;
62
+ } | {
63
+ inputs: {
64
+ internalType: string;
65
+ name: string;
66
+ type: string;
67
+ }[];
68
+ name: string;
69
+ outputs: ({
70
+ internalType: string;
71
+ name: string;
72
+ type: string;
73
+ components?: undefined;
74
+ } | {
75
+ components: {
76
+ internalType: string;
77
+ name: string;
78
+ type: string;
79
+ }[];
80
+ internalType: string;
81
+ name: string;
82
+ type: string;
83
+ })[];
84
+ stateMutability: string;
85
+ type: string;
86
+ anonymous?: undefined;
87
+ } | {
88
+ inputs: {
89
+ internalType: string;
90
+ name: string;
91
+ type: string;
92
+ }[];
93
+ name: string;
94
+ outputs: {
95
+ components: ({
96
+ internalType: string;
97
+ name: string;
98
+ type: string;
99
+ components?: undefined;
100
+ } | {
101
+ components: {
102
+ internalType: string;
103
+ name: string;
104
+ type: string;
105
+ }[];
106
+ internalType: string;
107
+ name: string;
108
+ type: string;
109
+ })[];
110
+ internalType: string;
111
+ name: string;
112
+ type: string;
113
+ }[];
114
+ stateMutability: string;
115
+ type: string;
116
+ anonymous?: undefined;
117
+ } | {
118
+ inputs: ({
119
+ components: {
120
+ components: ({
121
+ components: {
122
+ internalType: string;
123
+ name: string;
124
+ type: string;
125
+ }[];
126
+ internalType: string;
127
+ name: string;
128
+ type: string;
129
+ } | {
130
+ internalType: string;
131
+ name: string;
132
+ type: string;
133
+ components?: undefined;
134
+ })[];
135
+ internalType: string;
136
+ name: string;
137
+ type: string;
138
+ }[];
139
+ internalType: string;
140
+ name: string;
141
+ type: string;
142
+ } | {
143
+ internalType: string;
144
+ name: string;
145
+ type: string;
146
+ components?: undefined;
147
+ })[];
148
+ name: string;
149
+ outputs: {
150
+ internalType: string;
151
+ name: string;
152
+ type: string;
153
+ }[];
154
+ stateMutability: string;
155
+ type: string;
156
+ anonymous?: undefined;
157
+ })[];