@0xbow/privacy-pools-core-sdk 0.1.5

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 (93) hide show
  1. package/README.md +73 -0
  2. package/dist/esm/ccip-nJye9Itm.js +166 -0
  3. package/dist/esm/ccip-nJye9Itm.js.map +1 -0
  4. package/dist/esm/index-DAWUECi8.js +84043 -0
  5. package/dist/esm/index-DAWUECi8.js.map +1 -0
  6. package/dist/esm/index.mjs +4 -0
  7. package/dist/esm/index.mjs.map +1 -0
  8. package/dist/index.d.mts +666 -0
  9. package/dist/node/artifacts/commitment.vkey +114 -0
  10. package/dist/node/artifacts/commitment.wasm +0 -0
  11. package/dist/node/artifacts/commitment.zkey +0 -0
  12. package/dist/node/artifacts/merkleTree.vkey +269 -0
  13. package/dist/node/artifacts/merkleTree.wasm +0 -0
  14. package/dist/node/artifacts/merkleTree.zkey +0 -0
  15. package/dist/node/artifacts/withdraw.vkey +129 -0
  16. package/dist/node/artifacts/withdraw.wasm +0 -0
  17. package/dist/node/artifacts/withdraw.zkey +0 -0
  18. package/dist/node/ccip-lPhPeJab.js +183 -0
  19. package/dist/node/ccip-lPhPeJab.js.map +1 -0
  20. package/dist/node/index-BiU5Ef8Z.js +90625 -0
  21. package/dist/node/index-BiU5Ef8Z.js.map +1 -0
  22. package/dist/node/index.mjs +21 -0
  23. package/dist/node/index.mjs.map +1 -0
  24. package/dist/types/abi/ERC20.d.ts +38 -0
  25. package/dist/types/abi/IEntrypoint.d.ts +794 -0
  26. package/dist/types/abi/IPrivacyPool.d.ts +51 -0
  27. package/dist/types/ccip-BZzz1Y5w.js +182 -0
  28. package/dist/types/circuits/circuits.impl.d.ts +108 -0
  29. package/dist/types/circuits/circuits.interface.d.ts +127 -0
  30. package/dist/types/circuits/index.d.ts +2 -0
  31. package/dist/types/constants.d.ts +2 -0
  32. package/dist/types/core/bruteForce.service.d.ts +61 -0
  33. package/dist/types/core/commitment.service.d.ts +30 -0
  34. package/dist/types/core/contracts.service.d.ts +106 -0
  35. package/dist/types/core/sdk.d.ts +44 -0
  36. package/dist/types/core/withdrawal.service.d.ts +32 -0
  37. package/dist/types/crypto.d.ts +45 -0
  38. package/dist/types/dirname.helper.d.ts +2 -0
  39. package/dist/types/errors/base.error.d.ts +52 -0
  40. package/dist/types/exceptions/circuitInitialization.exception.d.ts +3 -0
  41. package/dist/types/exceptions/fetchArtifacts.exception.d.ts +3 -0
  42. package/dist/types/exceptions/index.d.ts +4 -0
  43. package/dist/types/exceptions/invalidRpcUrl.exception.d.ts +3 -0
  44. package/dist/types/exceptions/privacyPool.exception.d.ts +13 -0
  45. package/dist/types/external.d.ts +7 -0
  46. package/dist/types/filename.helper.d.ts +2 -0
  47. package/dist/types/index-D-_1h8-n.js +90638 -0
  48. package/dist/types/index.d.ts +10 -0
  49. package/dist/types/index.js +20 -0
  50. package/dist/types/interfaces/blockchainProvider.interface.d.ts +12 -0
  51. package/dist/types/interfaces/circuits.interface.d.ts +30 -0
  52. package/dist/types/interfaces/contracts.interface.d.ts +28 -0
  53. package/dist/types/interfaces/index.d.ts +1 -0
  54. package/dist/types/internal.d.ts +6 -0
  55. package/dist/types/providers/blockchainProvider.d.ts +8 -0
  56. package/dist/types/providers/index.d.ts +1 -0
  57. package/dist/types/types/commitment.d.ts +48 -0
  58. package/dist/types/types/index.d.ts +2 -0
  59. package/dist/types/types/withdrawal.d.ts +30 -0
  60. package/package.json +81 -0
  61. package/src/abi/ERC20.ts +222 -0
  62. package/src/abi/IEntrypoint.ts +627 -0
  63. package/src/abi/IPrivacyPool.ts +386 -0
  64. package/src/circuits/circuits.impl.ts +213 -0
  65. package/src/circuits/circuits.interface.ts +162 -0
  66. package/src/circuits/index.ts +2 -0
  67. package/src/constants.ts +3 -0
  68. package/src/core/bruteForce.service.ts +120 -0
  69. package/src/core/commitment.service.ts +84 -0
  70. package/src/core/contracts.service.ts +407 -0
  71. package/src/core/sdk.ts +91 -0
  72. package/src/core/withdrawal.service.ts +110 -0
  73. package/src/crypto.ts +156 -0
  74. package/src/dirname.helper.ts +4 -0
  75. package/src/errors/base.error.ts +120 -0
  76. package/src/exceptions/circuitInitialization.exception.ts +6 -0
  77. package/src/exceptions/fetchArtifacts.exception.ts +7 -0
  78. package/src/exceptions/index.ts +4 -0
  79. package/src/exceptions/invalidRpcUrl.exception.ts +6 -0
  80. package/src/exceptions/privacyPool.exception.ts +19 -0
  81. package/src/external.ts +13 -0
  82. package/src/filename.helper.ts +4 -0
  83. package/src/index.ts +18 -0
  84. package/src/interfaces/blockchainProvider.interface.ts +13 -0
  85. package/src/interfaces/circuits.interface.ts +34 -0
  86. package/src/interfaces/contracts.interface.ts +58 -0
  87. package/src/interfaces/index.ts +1 -0
  88. package/src/internal.ts +6 -0
  89. package/src/providers/blockchainProvider.ts +26 -0
  90. package/src/providers/index.ts +1 -0
  91. package/src/types/commitment.ts +50 -0
  92. package/src/types/index.ts +2 -0
  93. package/src/types/withdrawal.ts +33 -0
@@ -0,0 +1,627 @@
1
+ export const IEntrypointABI = [
2
+ { type: "constructor", inputs: [], stateMutability: "nonpayable" },
3
+ { type: "receive", stateMutability: "payable" },
4
+ {
5
+ type: "function",
6
+ name: "DEFAULT_ADMIN_ROLE",
7
+ inputs: [],
8
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
9
+ stateMutability: "view",
10
+ },
11
+ {
12
+ type: "function",
13
+ name: "UPGRADE_INTERFACE_VERSION",
14
+ inputs: [],
15
+ outputs: [{ name: "", type: "string", internalType: "string" }],
16
+ stateMutability: "view",
17
+ },
18
+ {
19
+ type: "function",
20
+ name: "assetConfig",
21
+ inputs: [
22
+ { name: "_asset", type: "address", internalType: "contract IERC20" },
23
+ ],
24
+ outputs: [
25
+ { name: "pool", type: "address", internalType: "contract IPrivacyPool" },
26
+ {
27
+ name: "minimumDepositAmount",
28
+ type: "uint256",
29
+ internalType: "uint256",
30
+ },
31
+ { name: "vettingFeeBPS", type: "uint256", internalType: "uint256" },
32
+ ],
33
+ stateMutability: "view",
34
+ },
35
+ {
36
+ type: "function",
37
+ name: "associationSets",
38
+ inputs: [{ name: "", type: "uint256", internalType: "uint256" }],
39
+ outputs: [
40
+ { name: "root", type: "uint256", internalType: "uint256" },
41
+ { name: "ipfsHash", type: "bytes32", internalType: "bytes32" },
42
+ { name: "timestamp", type: "uint256", internalType: "uint256" },
43
+ ],
44
+ stateMutability: "view",
45
+ },
46
+ {
47
+ type: "function",
48
+ name: "deposit",
49
+ inputs: [
50
+ { name: "_asset", type: "address", internalType: "contract IERC20" },
51
+ { name: "_value", type: "uint256", internalType: "uint256" },
52
+ { name: "_precommitment", type: "uint256", internalType: "uint256" },
53
+ ],
54
+ outputs: [
55
+ { name: "_commitment", type: "uint256", internalType: "uint256" },
56
+ ],
57
+ stateMutability: "nonpayable",
58
+ },
59
+ {
60
+ type: "function",
61
+ name: "deposit",
62
+ inputs: [
63
+ { name: "_precommitment", type: "uint256", internalType: "uint256" },
64
+ ],
65
+ outputs: [
66
+ { name: "_commitment", type: "uint256", internalType: "uint256" },
67
+ ],
68
+ stateMutability: "payable",
69
+ },
70
+ {
71
+ type: "function",
72
+ name: "getRoleAdmin",
73
+ inputs: [{ name: "role", type: "bytes32", internalType: "bytes32" }],
74
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
75
+ stateMutability: "view",
76
+ },
77
+ {
78
+ type: "function",
79
+ name: "grantRole",
80
+ inputs: [
81
+ { name: "role", type: "bytes32", internalType: "bytes32" },
82
+ { name: "account", type: "address", internalType: "address" },
83
+ ],
84
+ outputs: [],
85
+ stateMutability: "nonpayable",
86
+ },
87
+ {
88
+ type: "function",
89
+ name: "hasRole",
90
+ inputs: [
91
+ { name: "role", type: "bytes32", internalType: "bytes32" },
92
+ { name: "account", type: "address", internalType: "address" },
93
+ ],
94
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
95
+ stateMutability: "view",
96
+ },
97
+ {
98
+ type: "function",
99
+ name: "initialize",
100
+ inputs: [
101
+ { name: "_owner", type: "address", internalType: "address" },
102
+ { name: "_postman", type: "address", internalType: "address" },
103
+ ],
104
+ outputs: [],
105
+ stateMutability: "nonpayable",
106
+ },
107
+ {
108
+ type: "function",
109
+ name: "latestRoot",
110
+ inputs: [],
111
+ outputs: [{ name: "_root", type: "uint256", internalType: "uint256" }],
112
+ stateMutability: "view",
113
+ },
114
+ {
115
+ type: "function",
116
+ name: "proxiableUUID",
117
+ inputs: [],
118
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
119
+ stateMutability: "view",
120
+ },
121
+ {
122
+ type: "function",
123
+ name: "registerPool",
124
+ inputs: [
125
+ { name: "_asset", type: "address", internalType: "contract IERC20" },
126
+ { name: "_pool", type: "address", internalType: "contract IPrivacyPool" },
127
+ {
128
+ name: "_minimumDepositAmount",
129
+ type: "uint256",
130
+ internalType: "uint256",
131
+ },
132
+ { name: "_vettingFeeBPS", type: "uint256", internalType: "uint256" },
133
+ ],
134
+ outputs: [],
135
+ stateMutability: "nonpayable",
136
+ },
137
+ {
138
+ type: "function",
139
+ name: "relay",
140
+ inputs: [
141
+ {
142
+ name: "_withdrawal",
143
+ type: "tuple",
144
+ internalType: "struct IPrivacyPool.Withdrawal",
145
+ components: [
146
+ { name: "processooor", type: "address", internalType: "address" },
147
+ { name: "data", type: "bytes", internalType: "bytes" },
148
+ ],
149
+ },
150
+ {
151
+ name: "_proof",
152
+ type: "tuple",
153
+ internalType: "struct ProofLib.WithdrawProof",
154
+ components: [
155
+ { name: "pA", type: "uint256[2]", internalType: "uint256[2]" },
156
+ { name: "pB", type: "uint256[2][2]", internalType: "uint256[2][2]" },
157
+ { name: "pC", type: "uint256[2]", internalType: "uint256[2]" },
158
+ {
159
+ name: "pubSignals",
160
+ type: "uint256[8]",
161
+ internalType: "uint256[8]",
162
+ },
163
+ ],
164
+ },
165
+ { name: "_scope", type: "uint256", internalType: "uint256" },
166
+ ],
167
+ outputs: [],
168
+ stateMutability: "nonpayable",
169
+ },
170
+ {
171
+ type: "function",
172
+ name: "removePool",
173
+ inputs: [
174
+ { name: "_asset", type: "address", internalType: "contract IERC20" },
175
+ ],
176
+ outputs: [],
177
+ stateMutability: "nonpayable",
178
+ },
179
+ {
180
+ type: "function",
181
+ name: "renounceRole",
182
+ inputs: [
183
+ { name: "role", type: "bytes32", internalType: "bytes32" },
184
+ { name: "callerConfirmation", type: "address", internalType: "address" },
185
+ ],
186
+ outputs: [],
187
+ stateMutability: "nonpayable",
188
+ },
189
+ {
190
+ type: "function",
191
+ name: "revokeRole",
192
+ inputs: [
193
+ { name: "role", type: "bytes32", internalType: "bytes32" },
194
+ { name: "account", type: "address", internalType: "address" },
195
+ ],
196
+ outputs: [],
197
+ stateMutability: "nonpayable",
198
+ },
199
+ {
200
+ type: "function",
201
+ name: "rootByIndex",
202
+ inputs: [{ name: "_index", type: "uint256", internalType: "uint256" }],
203
+ outputs: [{ name: "_root", type: "uint256", internalType: "uint256" }],
204
+ stateMutability: "view",
205
+ },
206
+ {
207
+ type: "function",
208
+ name: "scopeToPool",
209
+ inputs: [{ name: "_scope", type: "uint256", internalType: "uint256" }],
210
+ outputs: [
211
+ { name: "_pool", type: "address", internalType: "contract IPrivacyPool" },
212
+ ],
213
+ stateMutability: "view",
214
+ },
215
+ {
216
+ type: "function",
217
+ name: "supportsInterface",
218
+ inputs: [{ name: "interfaceId", type: "bytes4", internalType: "bytes4" }],
219
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
220
+ stateMutability: "view",
221
+ },
222
+ {
223
+ type: "function",
224
+ name: "updatePoolConfiguration",
225
+ inputs: [
226
+ { name: "_asset", type: "address", internalType: "contract IERC20" },
227
+ {
228
+ name: "_minimumDepositAmount",
229
+ type: "uint256",
230
+ internalType: "uint256",
231
+ },
232
+ { name: "_vettingFeeBPS", type: "uint256", internalType: "uint256" },
233
+ ],
234
+ outputs: [],
235
+ stateMutability: "nonpayable",
236
+ },
237
+ {
238
+ type: "function",
239
+ name: "updateRoot",
240
+ inputs: [
241
+ { name: "_root", type: "uint256", internalType: "uint256" },
242
+ { name: "_ipfsHash", type: "bytes32", internalType: "bytes32" },
243
+ ],
244
+ outputs: [{ name: "_index", type: "uint256", internalType: "uint256" }],
245
+ stateMutability: "nonpayable",
246
+ },
247
+ {
248
+ type: "function",
249
+ name: "upgradeToAndCall",
250
+ inputs: [
251
+ { name: "newImplementation", type: "address", internalType: "address" },
252
+ { name: "data", type: "bytes", internalType: "bytes" },
253
+ ],
254
+ outputs: [],
255
+ stateMutability: "payable",
256
+ },
257
+ {
258
+ type: "function",
259
+ name: "windDownPool",
260
+ inputs: [
261
+ { name: "_pool", type: "address", internalType: "contract IPrivacyPool" },
262
+ ],
263
+ outputs: [],
264
+ stateMutability: "nonpayable",
265
+ },
266
+ {
267
+ type: "function",
268
+ name: "withdrawFees",
269
+ inputs: [
270
+ { name: "_asset", type: "address", internalType: "contract IERC20" },
271
+ { name: "_recipient", type: "address", internalType: "address" },
272
+ ],
273
+ outputs: [],
274
+ stateMutability: "nonpayable",
275
+ },
276
+ {
277
+ type: "event",
278
+ name: "Deposited",
279
+ inputs: [
280
+ {
281
+ name: "_depositor",
282
+ type: "address",
283
+ indexed: true,
284
+ internalType: "address",
285
+ },
286
+ {
287
+ name: "_pool",
288
+ type: "address",
289
+ indexed: true,
290
+ internalType: "contract IPrivacyPool",
291
+ },
292
+ {
293
+ name: "_commitment",
294
+ type: "uint256",
295
+ indexed: false,
296
+ internalType: "uint256",
297
+ },
298
+ {
299
+ name: "_amount",
300
+ type: "uint256",
301
+ indexed: false,
302
+ internalType: "uint256",
303
+ },
304
+ ],
305
+ anonymous: false,
306
+ },
307
+ {
308
+ type: "event",
309
+ name: "FeesWithdrawn",
310
+ inputs: [
311
+ {
312
+ name: "_asset",
313
+ type: "address",
314
+ indexed: false,
315
+ internalType: "contract IERC20",
316
+ },
317
+ {
318
+ name: "_recipient",
319
+ type: "address",
320
+ indexed: false,
321
+ internalType: "address",
322
+ },
323
+ {
324
+ name: "_amount",
325
+ type: "uint256",
326
+ indexed: false,
327
+ internalType: "uint256",
328
+ },
329
+ ],
330
+ anonymous: false,
331
+ },
332
+ {
333
+ type: "event",
334
+ name: "Initialized",
335
+ inputs: [
336
+ {
337
+ name: "version",
338
+ type: "uint64",
339
+ indexed: false,
340
+ internalType: "uint64",
341
+ },
342
+ ],
343
+ anonymous: false,
344
+ },
345
+ {
346
+ type: "event",
347
+ name: "PoolConfigurationUpdated",
348
+ inputs: [
349
+ {
350
+ name: "_pool",
351
+ type: "address",
352
+ indexed: false,
353
+ internalType: "contract IPrivacyPool",
354
+ },
355
+ {
356
+ name: "_asset",
357
+ type: "address",
358
+ indexed: false,
359
+ internalType: "contract IERC20",
360
+ },
361
+ {
362
+ name: "_newMinimumDepositAmount",
363
+ type: "uint256",
364
+ indexed: false,
365
+ internalType: "uint256",
366
+ },
367
+ {
368
+ name: "_newVettingFeeBPS",
369
+ type: "uint256",
370
+ indexed: false,
371
+ internalType: "uint256",
372
+ },
373
+ ],
374
+ anonymous: false,
375
+ },
376
+ {
377
+ type: "event",
378
+ name: "PoolRegistered",
379
+ inputs: [
380
+ {
381
+ name: "_pool",
382
+ type: "address",
383
+ indexed: false,
384
+ internalType: "contract IPrivacyPool",
385
+ },
386
+ {
387
+ name: "_asset",
388
+ type: "address",
389
+ indexed: false,
390
+ internalType: "contract IERC20",
391
+ },
392
+ {
393
+ name: "_scope",
394
+ type: "uint256",
395
+ indexed: false,
396
+ internalType: "uint256",
397
+ },
398
+ ],
399
+ anonymous: false,
400
+ },
401
+ {
402
+ type: "event",
403
+ name: "PoolRemoved",
404
+ inputs: [
405
+ {
406
+ name: "_pool",
407
+ type: "address",
408
+ indexed: false,
409
+ internalType: "contract IPrivacyPool",
410
+ },
411
+ {
412
+ name: "_asset",
413
+ type: "address",
414
+ indexed: false,
415
+ internalType: "contract IERC20",
416
+ },
417
+ {
418
+ name: "_scope",
419
+ type: "uint256",
420
+ indexed: false,
421
+ internalType: "uint256",
422
+ },
423
+ ],
424
+ anonymous: false,
425
+ },
426
+ {
427
+ type: "event",
428
+ name: "PoolWindDown",
429
+ inputs: [
430
+ {
431
+ name: "_pool",
432
+ type: "address",
433
+ indexed: false,
434
+ internalType: "contract IPrivacyPool",
435
+ },
436
+ ],
437
+ anonymous: false,
438
+ },
439
+ {
440
+ type: "event",
441
+ name: "RoleAdminChanged",
442
+ inputs: [
443
+ { name: "role", type: "bytes32", indexed: true, internalType: "bytes32" },
444
+ {
445
+ name: "previousAdminRole",
446
+ type: "bytes32",
447
+ indexed: true,
448
+ internalType: "bytes32",
449
+ },
450
+ {
451
+ name: "newAdminRole",
452
+ type: "bytes32",
453
+ indexed: true,
454
+ internalType: "bytes32",
455
+ },
456
+ ],
457
+ anonymous: false,
458
+ },
459
+ {
460
+ type: "event",
461
+ name: "RoleGranted",
462
+ inputs: [
463
+ { name: "role", type: "bytes32", indexed: true, internalType: "bytes32" },
464
+ {
465
+ name: "account",
466
+ type: "address",
467
+ indexed: true,
468
+ internalType: "address",
469
+ },
470
+ {
471
+ name: "sender",
472
+ type: "address",
473
+ indexed: true,
474
+ internalType: "address",
475
+ },
476
+ ],
477
+ anonymous: false,
478
+ },
479
+ {
480
+ type: "event",
481
+ name: "RoleRevoked",
482
+ inputs: [
483
+ { name: "role", type: "bytes32", indexed: true, internalType: "bytes32" },
484
+ {
485
+ name: "account",
486
+ type: "address",
487
+ indexed: true,
488
+ internalType: "address",
489
+ },
490
+ {
491
+ name: "sender",
492
+ type: "address",
493
+ indexed: true,
494
+ internalType: "address",
495
+ },
496
+ ],
497
+ anonymous: false,
498
+ },
499
+ {
500
+ type: "event",
501
+ name: "RootUpdated",
502
+ inputs: [
503
+ {
504
+ name: "_root",
505
+ type: "uint256",
506
+ indexed: false,
507
+ internalType: "uint256",
508
+ },
509
+ {
510
+ name: "_ipfsHash",
511
+ type: "bytes32",
512
+ indexed: false,
513
+ internalType: "bytes32",
514
+ },
515
+ {
516
+ name: "_timestamp",
517
+ type: "uint256",
518
+ indexed: false,
519
+ internalType: "uint256",
520
+ },
521
+ ],
522
+ anonymous: false,
523
+ },
524
+ {
525
+ type: "event",
526
+ name: "Upgraded",
527
+ inputs: [
528
+ {
529
+ name: "implementation",
530
+ type: "address",
531
+ indexed: true,
532
+ internalType: "address",
533
+ },
534
+ ],
535
+ anonymous: false,
536
+ },
537
+ {
538
+ type: "event",
539
+ name: "WithdrawalRelayed",
540
+ inputs: [
541
+ {
542
+ name: "_relayer",
543
+ type: "address",
544
+ indexed: true,
545
+ internalType: "address",
546
+ },
547
+ {
548
+ name: "_recipient",
549
+ type: "address",
550
+ indexed: true,
551
+ internalType: "address",
552
+ },
553
+ {
554
+ name: "_asset",
555
+ type: "address",
556
+ indexed: true,
557
+ internalType: "contract IERC20",
558
+ },
559
+ {
560
+ name: "_amount",
561
+ type: "uint256",
562
+ indexed: false,
563
+ internalType: "uint256",
564
+ },
565
+ {
566
+ name: "_feeAmount",
567
+ type: "uint256",
568
+ indexed: false,
569
+ internalType: "uint256",
570
+ },
571
+ ],
572
+ anonymous: false,
573
+ },
574
+ { type: "error", name: "AccessControlBadConfirmation", inputs: [] },
575
+ {
576
+ type: "error",
577
+ name: "AccessControlUnauthorizedAccount",
578
+ inputs: [
579
+ { name: "account", type: "address", internalType: "address" },
580
+ { name: "neededRole", type: "bytes32", internalType: "bytes32" },
581
+ ],
582
+ },
583
+ {
584
+ type: "error",
585
+ name: "AddressEmptyCode",
586
+ inputs: [{ name: "target", type: "address", internalType: "address" }],
587
+ },
588
+ { type: "error", name: "AssetMismatch", inputs: [] },
589
+ { type: "error", name: "AssetPoolAlreadyRegistered", inputs: [] },
590
+ {
591
+ type: "error",
592
+ name: "ERC1967InvalidImplementation",
593
+ inputs: [
594
+ { name: "implementation", type: "address", internalType: "address" },
595
+ ],
596
+ },
597
+ { type: "error", name: "ERC1967NonPayable", inputs: [] },
598
+ { type: "error", name: "EmptyIPFSHash", inputs: [] },
599
+ { type: "error", name: "EmptyRoot", inputs: [] },
600
+ { type: "error", name: "FailedCall", inputs: [] },
601
+ { type: "error", name: "InvalidFeeBPS", inputs: [] },
602
+ { type: "error", name: "InvalidIndex", inputs: [] },
603
+ { type: "error", name: "InvalidInitialization", inputs: [] },
604
+ { type: "error", name: "InvalidPoolState", inputs: [] },
605
+ { type: "error", name: "InvalidProcessooor", inputs: [] },
606
+ { type: "error", name: "InvalidWithdrawalAmount", inputs: [] },
607
+ { type: "error", name: "MinimumDepositAmount", inputs: [] },
608
+ { type: "error", name: "NativeAssetNotAccepted", inputs: [] },
609
+ { type: "error", name: "NativeAssetTransferFailed", inputs: [] },
610
+ { type: "error", name: "NoRootsAvailable", inputs: [] },
611
+ { type: "error", name: "NotInitializing", inputs: [] },
612
+ { type: "error", name: "PoolNotFound", inputs: [] },
613
+ { type: "error", name: "ReentrancyGuardReentrantCall", inputs: [] },
614
+ {
615
+ type: "error",
616
+ name: "SafeERC20FailedOperation",
617
+ inputs: [{ name: "token", type: "address", internalType: "address" }],
618
+ },
619
+ { type: "error", name: "ScopePoolAlreadyRegistered", inputs: [] },
620
+ { type: "error", name: "UUPSUnauthorizedCallContext", inputs: [] },
621
+ {
622
+ type: "error",
623
+ name: "UUPSUnsupportedProxiableUUID",
624
+ inputs: [{ name: "slot", type: "bytes32", internalType: "bytes32" }],
625
+ },
626
+ { type: "error", name: "ZeroAddress", inputs: [] },
627
+ ] as const;