@libid/contracts 0.17.0 → 0.18.1

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 (111) hide show
  1. package/README.md +108 -47
  2. package/dist/abis/bindErrors.d.ts +714 -0
  3. package/dist/abis/bindErrors.d.ts.map +1 -0
  4. package/dist/abis/bindErrors.js +955 -0
  5. package/dist/abis/bindErrors.js.map +1 -0
  6. package/dist/abis/ceremonyPayloads.d.ts +118 -0
  7. package/dist/abis/ceremonyPayloads.d.ts.map +1 -0
  8. package/dist/abis/ceremonyPayloads.js +154 -0
  9. package/dist/abis/ceremonyPayloads.js.map +1 -0
  10. package/dist/abis/ceremonyProofVerifier.d.ts +6 -6
  11. package/dist/abis/ceremonyProofVerifier.js +6 -6
  12. package/dist/abis/ceremonyProofVerifier.js.map +1 -1
  13. package/dist/abis/handleEscrow.d.ts +56 -16
  14. package/dist/abis/handleEscrow.d.ts.map +1 -1
  15. package/dist/abis/handleEscrow.js +71 -19
  16. package/dist/abis/handleEscrow.js.map +1 -1
  17. package/dist/abis/honkVerifierErrors.d.ts +54 -0
  18. package/dist/abis/honkVerifierErrors.d.ts.map +1 -0
  19. package/dist/abis/honkVerifierErrors.js +71 -0
  20. package/dist/abis/honkVerifierErrors.js.map +1 -0
  21. package/dist/abis/identityRegistry.d.ts +123 -157
  22. package/dist/abis/identityRegistry.d.ts.map +1 -1
  23. package/dist/abis/identityRegistry.js +150 -194
  24. package/dist/abis/identityRegistry.js.map +1 -1
  25. package/dist/abis/index.d.ts +3 -0
  26. package/dist/abis/index.d.ts.map +1 -1
  27. package/dist/abis/index.js +3 -0
  28. package/dist/abis/index.js.map +1 -1
  29. package/dist/calls/handleEscrow.d.ts +1 -0
  30. package/dist/calls/handleEscrow.d.ts.map +1 -1
  31. package/dist/calls/handleEscrow.js +7 -0
  32. package/dist/calls/handleEscrow.js.map +1 -1
  33. package/dist/calls/identityRegistry.d.ts +2 -1
  34. package/dist/calls/identityRegistry.d.ts.map +1 -1
  35. package/dist/calls/identityRegistry.js +9 -2
  36. package/dist/calls/identityRegistry.js.map +1 -1
  37. package/dist/ceremony/profiles.d.ts +38 -48
  38. package/dist/ceremony/profiles.d.ts.map +1 -1
  39. package/dist/ceremony/profiles.js +31 -36
  40. package/dist/ceremony/profiles.js.map +1 -1
  41. package/dist/identity/index.d.ts +1 -3
  42. package/dist/identity/index.d.ts.map +1 -1
  43. package/dist/identity/index.js +5 -11
  44. package/dist/identity/index.js.map +1 -1
  45. package/dist/identity/resolve.d.ts +6 -8
  46. package/dist/identity/resolve.d.ts.map +1 -1
  47. package/dist/identity/resolve.js +53 -86
  48. package/dist/identity/resolve.js.map +1 -1
  49. package/dist/index.d.ts +1 -0
  50. package/dist/index.d.ts.map +1 -1
  51. package/dist/index.js +3 -4
  52. package/dist/index.js.map +1 -1
  53. package/dist/payloads.d.ts +124 -0
  54. package/dist/payloads.d.ts.map +1 -0
  55. package/dist/payloads.js +59 -0
  56. package/dist/payloads.js.map +1 -0
  57. package/dist/platforms/handle.d.ts +11 -0
  58. package/dist/platforms/handle.d.ts.map +1 -0
  59. package/dist/platforms/handle.js +29 -0
  60. package/dist/platforms/handle.js.map +1 -0
  61. package/dist/platforms/id.d.ts +8 -0
  62. package/dist/platforms/id.d.ts.map +1 -0
  63. package/dist/platforms/id.js +21 -0
  64. package/dist/platforms/id.js.map +1 -0
  65. package/dist/platforms/index.d.ts +5 -0
  66. package/dist/platforms/index.d.ts.map +1 -0
  67. package/dist/platforms/index.js +8 -0
  68. package/dist/platforms/index.js.map +1 -0
  69. package/dist/platforms/node.d.ts +4 -0
  70. package/dist/platforms/node.d.ts.map +1 -0
  71. package/dist/platforms/node.js +36 -0
  72. package/dist/platforms/node.js.map +1 -0
  73. package/dist/platforms/platforms.d.ts +39 -0
  74. package/dist/platforms/platforms.d.ts.map +1 -0
  75. package/dist/platforms/platforms.js +90 -0
  76. package/dist/platforms/platforms.js.map +1 -0
  77. package/package.json +11 -3
  78. package/src/abis/bindErrors.ts +957 -0
  79. package/src/abis/ceremonyPayloads.ts +156 -0
  80. package/src/abis/ceremonyProofVerifier.ts +6 -6
  81. package/src/abis/handleEscrow.ts +71 -19
  82. package/src/abis/honkVerifierErrors.ts +73 -0
  83. package/src/abis/identityRegistry.ts +150 -194
  84. package/src/abis/index.ts +3 -0
  85. package/src/calls/handleEscrow.ts +12 -0
  86. package/src/calls/identityRegistry.ts +14 -2
  87. package/src/ceremony/profiles.ts +53 -65
  88. package/src/identity/index.ts +5 -11
  89. package/src/identity/resolve.ts +71 -118
  90. package/src/index.ts +3 -4
  91. package/src/payloads.ts +90 -0
  92. package/src/platforms/handle.ts +36 -0
  93. package/src/platforms/id.ts +26 -0
  94. package/src/platforms/index.ts +8 -0
  95. package/src/platforms/node.ts +41 -0
  96. package/src/platforms/platforms.ts +114 -0
  97. package/dist/identity/handle.d.ts +0 -22
  98. package/dist/identity/handle.d.ts.map +0 -1
  99. package/dist/identity/handle.js +0 -140
  100. package/dist/identity/handle.js.map +0 -1
  101. package/dist/identity/handleVectors.d.ts +0 -50
  102. package/dist/identity/handleVectors.d.ts.map +0 -1
  103. package/dist/identity/handleVectors.js +0 -89
  104. package/dist/identity/handleVectors.js.map +0 -1
  105. package/dist/identity/node.d.ts +0 -5
  106. package/dist/identity/node.d.ts.map +0 -1
  107. package/dist/identity/node.js +0 -19
  108. package/dist/identity/node.js.map +0 -1
  109. package/src/identity/handle.ts +0 -176
  110. package/src/identity/handleVectors.ts +0 -104
  111. package/src/identity/node.ts +0 -28
@@ -0,0 +1,957 @@
1
+ // Generated by ts/packages/contracts/scripts/codegen.mjs. Do not edit.
2
+ // Source artifact: solidity/out/IdentityRegistry.sol/IdentityRegistry.json, CeremonyProofVerifier.sol/CeremonyProofVerifier.json, XPlatformVerifier.sol/XPlatformVerifier.json, GitHubPlatformVerifier.sol/GitHubPlatformVerifier.json, GooglePlatformVerifier.sol/GooglePlatformVerifier.json, NotaryService.sol/NotaryService.json, IHonkVerifierErrors.sol/IHonkVerifierErrors.json
3
+
4
+ import type { Abi } from 'viem'
5
+
6
+ /// Every error a `bind` can revert with, each signature once.
7
+ export const bindErrorsAbi = [
8
+ {
9
+ "type": "error",
10
+ "name": "AddressEmptyCode",
11
+ "inputs": [
12
+ {
13
+ "name": "target",
14
+ "type": "address",
15
+ "internalType": "address"
16
+ }
17
+ ]
18
+ },
19
+ {
20
+ "type": "error",
21
+ "name": "BadTransactionData",
22
+ "inputs": [
23
+ {
24
+ "name": "length",
25
+ "type": "uint256",
26
+ "internalType": "uint256"
27
+ }
28
+ ]
29
+ },
30
+ {
31
+ "type": "error",
32
+ "name": "DigestAlreadySpent",
33
+ "inputs": [
34
+ {
35
+ "name": "digest",
36
+ "type": "bytes32",
37
+ "internalType": "bytes32"
38
+ }
39
+ ]
40
+ },
41
+ {
42
+ "type": "error",
43
+ "name": "ERC1967InvalidImplementation",
44
+ "inputs": [
45
+ {
46
+ "name": "implementation",
47
+ "type": "address",
48
+ "internalType": "address"
49
+ }
50
+ ]
51
+ },
52
+ {
53
+ "type": "error",
54
+ "name": "ERC1967NonPayable",
55
+ "inputs": []
56
+ },
57
+ {
58
+ "type": "error",
59
+ "name": "FailedCall",
60
+ "inputs": []
61
+ },
62
+ {
63
+ "type": "error",
64
+ "name": "FeeTransferFailed",
65
+ "inputs": [
66
+ {
67
+ "name": "receiver",
68
+ "type": "address",
69
+ "internalType": "address"
70
+ },
71
+ {
72
+ "name": "amount",
73
+ "type": "uint256",
74
+ "internalType": "uint256"
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "type": "error",
80
+ "name": "ForeignOperationDomain",
81
+ "inputs": [
82
+ {
83
+ "name": "operationDomain",
84
+ "type": "bytes32",
85
+ "internalType": "bytes32"
86
+ }
87
+ ]
88
+ },
89
+ {
90
+ "type": "error",
91
+ "name": "HandleNotProved",
92
+ "inputs": [
93
+ {
94
+ "name": "disclosed",
95
+ "type": "bytes32",
96
+ "internalType": "bytes32"
97
+ },
98
+ {
99
+ "name": "proved",
100
+ "type": "bytes32",
101
+ "internalType": "bytes32"
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "type": "error",
107
+ "name": "InvalidInitialization",
108
+ "inputs": []
109
+ },
110
+ {
111
+ "type": "error",
112
+ "name": "NoHandle",
113
+ "inputs": []
114
+ },
115
+ {
116
+ "type": "error",
117
+ "name": "NoId",
118
+ "inputs": []
119
+ },
120
+ {
121
+ "type": "error",
122
+ "name": "NoObservationTime",
123
+ "inputs": []
124
+ },
125
+ {
126
+ "type": "error",
127
+ "name": "NoncanonicalFee",
128
+ "inputs": [
129
+ {
130
+ "name": "amount",
131
+ "type": "uint256",
132
+ "internalType": "uint256"
133
+ },
134
+ {
135
+ "name": "receiver",
136
+ "type": "address",
137
+ "internalType": "address"
138
+ }
139
+ ]
140
+ },
141
+ {
142
+ "type": "error",
143
+ "name": "NotInitializing",
144
+ "inputs": []
145
+ },
146
+ {
147
+ "type": "error",
148
+ "name": "NotProofTarget",
149
+ "inputs": [
150
+ {
151
+ "name": "proved",
152
+ "type": "address",
153
+ "internalType": "address"
154
+ },
155
+ {
156
+ "name": "caller",
157
+ "type": "address",
158
+ "internalType": "address"
159
+ }
160
+ ]
161
+ },
162
+ {
163
+ "type": "error",
164
+ "name": "NotYourHandle",
165
+ "inputs": [
166
+ {
167
+ "name": "handleNode",
168
+ "type": "bytes32",
169
+ "internalType": "bytes32"
170
+ }
171
+ ]
172
+ },
173
+ {
174
+ "type": "error",
175
+ "name": "OwnableInvalidOwner",
176
+ "inputs": [
177
+ {
178
+ "name": "owner",
179
+ "type": "address",
180
+ "internalType": "address"
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "type": "error",
186
+ "name": "OwnableUnauthorizedAccount",
187
+ "inputs": [
188
+ {
189
+ "name": "account",
190
+ "type": "address",
191
+ "internalType": "address"
192
+ }
193
+ ]
194
+ },
195
+ {
196
+ "type": "error",
197
+ "name": "ReentrancyGuardReentrantCall",
198
+ "inputs": []
199
+ },
200
+ {
201
+ "type": "error",
202
+ "name": "StaleProof",
203
+ "inputs": [
204
+ {
205
+ "name": "observedAt",
206
+ "type": "uint64",
207
+ "internalType": "uint64"
208
+ },
209
+ {
210
+ "name": "known",
211
+ "type": "uint64",
212
+ "internalType": "uint64"
213
+ }
214
+ ]
215
+ },
216
+ {
217
+ "type": "error",
218
+ "name": "UUPSUnauthorizedCallContext",
219
+ "inputs": []
220
+ },
221
+ {
222
+ "type": "error",
223
+ "name": "UUPSUnsupportedProxiableUUID",
224
+ "inputs": [
225
+ {
226
+ "name": "slot",
227
+ "type": "bytes32",
228
+ "internalType": "bytes32"
229
+ }
230
+ ]
231
+ },
232
+ {
233
+ "type": "error",
234
+ "name": "UnknownPlatform",
235
+ "inputs": [
236
+ {
237
+ "name": "platformId",
238
+ "type": "bytes32",
239
+ "internalType": "bytes32"
240
+ }
241
+ ]
242
+ },
243
+ {
244
+ "type": "error",
245
+ "name": "WrongBindValue",
246
+ "inputs": [
247
+ {
248
+ "name": "required",
249
+ "type": "uint256",
250
+ "internalType": "uint256"
251
+ },
252
+ {
253
+ "name": "provided",
254
+ "type": "uint256",
255
+ "internalType": "uint256"
256
+ }
257
+ ]
258
+ },
259
+ {
260
+ "type": "error",
261
+ "name": "WrongFeeValue",
262
+ "inputs": [
263
+ {
264
+ "name": "required",
265
+ "type": "uint256",
266
+ "internalType": "uint256"
267
+ },
268
+ {
269
+ "name": "provided",
270
+ "type": "uint256",
271
+ "internalType": "uint256"
272
+ }
273
+ ]
274
+ },
275
+ {
276
+ "type": "error",
277
+ "name": "ZeroAddress",
278
+ "inputs": []
279
+ },
280
+ {
281
+ "type": "error",
282
+ "name": "UnknownVersion",
283
+ "inputs": [
284
+ {
285
+ "name": "platformId",
286
+ "type": "bytes32",
287
+ "internalType": "bytes32"
288
+ },
289
+ {
290
+ "name": "verifierVersion",
291
+ "type": "uint16",
292
+ "internalType": "uint16"
293
+ }
294
+ ]
295
+ },
296
+ {
297
+ "type": "error",
298
+ "name": "VerifierPlatformMismatch",
299
+ "inputs": [
300
+ {
301
+ "name": "expected",
302
+ "type": "bytes32",
303
+ "internalType": "bytes32"
304
+ },
305
+ {
306
+ "name": "found",
307
+ "type": "bytes32",
308
+ "internalType": "bytes32"
309
+ }
310
+ ]
311
+ },
312
+ {
313
+ "type": "error",
314
+ "name": "WrongValue",
315
+ "inputs": [
316
+ {
317
+ "name": "required",
318
+ "type": "uint256",
319
+ "internalType": "uint256"
320
+ },
321
+ {
322
+ "name": "provided",
323
+ "type": "uint256",
324
+ "internalType": "uint256"
325
+ }
326
+ ]
327
+ },
328
+ {
329
+ "type": "error",
330
+ "name": "AmbiguousField",
331
+ "inputs": [
332
+ {
333
+ "name": "name",
334
+ "type": "string",
335
+ "internalType": "string"
336
+ }
337
+ ]
338
+ },
339
+ {
340
+ "type": "error",
341
+ "name": "AmbiguousFraming",
342
+ "inputs": []
343
+ },
344
+ {
345
+ "type": "error",
346
+ "name": "AttestationAhead",
347
+ "inputs": [
348
+ {
349
+ "name": "createdAt",
350
+ "type": "uint64",
351
+ "internalType": "uint64"
352
+ },
353
+ {
354
+ "name": "blockTime",
355
+ "type": "uint64",
356
+ "internalType": "uint64"
357
+ },
358
+ {
359
+ "name": "allowance",
360
+ "type": "uint64",
361
+ "internalType": "uint64"
362
+ }
363
+ ]
364
+ },
365
+ {
366
+ "type": "error",
367
+ "name": "BadBearerFraming",
368
+ "inputs": []
369
+ },
370
+ {
371
+ "type": "error",
372
+ "name": "BadProof",
373
+ "inputs": []
374
+ },
375
+ {
376
+ "type": "error",
377
+ "name": "BareCarriageReturn",
378
+ "inputs": [
379
+ {
380
+ "name": "at",
381
+ "type": "uint256",
382
+ "internalType": "uint256"
383
+ }
384
+ ]
385
+ },
386
+ {
387
+ "type": "error",
388
+ "name": "BareLineFeed",
389
+ "inputs": [
390
+ {
391
+ "name": "at",
392
+ "type": "uint256",
393
+ "internalType": "uint256"
394
+ }
395
+ ]
396
+ },
397
+ {
398
+ "type": "error",
399
+ "name": "BytesAfterRequest",
400
+ "inputs": [
401
+ {
402
+ "name": "count",
403
+ "type": "uint256",
404
+ "internalType": "uint256"
405
+ }
406
+ ]
407
+ },
408
+ {
409
+ "type": "error",
410
+ "name": "ClientIdentifierNotSerializerSafe",
411
+ "inputs": [
412
+ {
413
+ "name": "found",
414
+ "type": "bytes",
415
+ "internalType": "bytes"
416
+ }
417
+ ]
418
+ },
419
+ {
420
+ "type": "error",
421
+ "name": "CodeVerifierMismatch",
422
+ "inputs": []
423
+ },
424
+ {
425
+ "type": "error",
426
+ "name": "CoverageGap",
427
+ "inputs": [
428
+ {
429
+ "name": "from",
430
+ "type": "uint32",
431
+ "internalType": "uint32"
432
+ },
433
+ {
434
+ "name": "to",
435
+ "type": "uint32",
436
+ "internalType": "uint32"
437
+ }
438
+ ]
439
+ },
440
+ {
441
+ "type": "error",
442
+ "name": "EmptyFormValue",
443
+ "inputs": [
444
+ {
445
+ "name": "name",
446
+ "type": "string",
447
+ "internalType": "string"
448
+ }
449
+ ]
450
+ },
451
+ {
452
+ "type": "error",
453
+ "name": "FieldNotFound",
454
+ "inputs": [
455
+ {
456
+ "name": "name",
457
+ "type": "string",
458
+ "internalType": "string"
459
+ }
460
+ ]
461
+ },
462
+ {
463
+ "type": "error",
464
+ "name": "ForbiddenRequestHeader",
465
+ "inputs": [
466
+ {
467
+ "name": "name",
468
+ "type": "bytes",
469
+ "internalType": "bytes"
470
+ }
471
+ ]
472
+ },
473
+ {
474
+ "type": "error",
475
+ "name": "MalformedForm",
476
+ "inputs": [
477
+ {
478
+ "name": "at",
479
+ "type": "uint256",
480
+ "internalType": "uint256"
481
+ }
482
+ ]
483
+ },
484
+ {
485
+ "type": "error",
486
+ "name": "NoFramedCommitment",
487
+ "inputs": []
488
+ },
489
+ {
490
+ "type": "error",
491
+ "name": "NoHeadBoundary",
492
+ "inputs": [
493
+ {
494
+ "name": "occurrences",
495
+ "type": "uint256",
496
+ "internalType": "uint256"
497
+ }
498
+ ]
499
+ },
500
+ {
501
+ "type": "error",
502
+ "name": "NotOneAuthorizationHeader",
503
+ "inputs": [
504
+ {
505
+ "name": "count",
506
+ "type": "uint256",
507
+ "internalType": "uint256"
508
+ }
509
+ ]
510
+ },
511
+ {
512
+ "type": "error",
513
+ "name": "NotOneCommitment",
514
+ "inputs": [
515
+ {
516
+ "name": "count",
517
+ "type": "uint256",
518
+ "internalType": "uint256"
519
+ }
520
+ ]
521
+ },
522
+ {
523
+ "type": "error",
524
+ "name": "NotOneRequest",
525
+ "inputs": [
526
+ {
527
+ "name": "heads",
528
+ "type": "uint256",
529
+ "internalType": "uint256"
530
+ }
531
+ ]
532
+ },
533
+ {
534
+ "type": "error",
535
+ "name": "ObservedInTheFuture",
536
+ "inputs": [
537
+ {
538
+ "name": "observedAt",
539
+ "type": "uint64",
540
+ "internalType": "uint64"
541
+ },
542
+ {
543
+ "name": "limit",
544
+ "type": "uint64",
545
+ "internalType": "uint64"
546
+ }
547
+ ]
548
+ },
549
+ {
550
+ "type": "error",
551
+ "name": "ObsoleteLineFold",
552
+ "inputs": [
553
+ {
554
+ "name": "at",
555
+ "type": "uint256",
556
+ "internalType": "uint256"
557
+ }
558
+ ]
559
+ },
560
+ {
561
+ "type": "error",
562
+ "name": "ProofExpired",
563
+ "inputs": [
564
+ {
565
+ "name": "validUntil",
566
+ "type": "uint64",
567
+ "internalType": "uint64"
568
+ },
569
+ {
570
+ "name": "blockTime",
571
+ "type": "uint64",
572
+ "internalType": "uint64"
573
+ }
574
+ ]
575
+ },
576
+ {
577
+ "type": "error",
578
+ "name": "RequestLineNotAtOrigin",
579
+ "inputs": [
580
+ {
581
+ "name": "start",
582
+ "type": "uint32",
583
+ "internalType": "uint32"
584
+ }
585
+ ]
586
+ },
587
+ {
588
+ "type": "error",
589
+ "name": "SpansOverlap",
590
+ "inputs": [
591
+ {
592
+ "name": "at",
593
+ "type": "uint32",
594
+ "internalType": "uint32"
595
+ }
596
+ ]
597
+ },
598
+ {
599
+ "type": "error",
600
+ "name": "TransactionDataTooLong",
601
+ "inputs": [
602
+ {
603
+ "name": "length",
604
+ "type": "uint256",
605
+ "internalType": "uint256"
606
+ }
607
+ ]
608
+ },
609
+ {
610
+ "type": "error",
611
+ "name": "WrongAuthority",
612
+ "inputs": [
613
+ {
614
+ "name": "expected",
615
+ "type": "bytes32",
616
+ "internalType": "bytes32"
617
+ },
618
+ {
619
+ "name": "found",
620
+ "type": "bytes32",
621
+ "internalType": "bytes32"
622
+ }
623
+ ]
624
+ },
625
+ {
626
+ "type": "error",
627
+ "name": "WrongCeremonyVersion",
628
+ "inputs": [
629
+ {
630
+ "name": "expected",
631
+ "type": "uint16",
632
+ "internalType": "uint16"
633
+ },
634
+ {
635
+ "name": "found",
636
+ "type": "uint16",
637
+ "internalType": "uint16"
638
+ }
639
+ ]
640
+ },
641
+ {
642
+ "type": "error",
643
+ "name": "WrongCircuit",
644
+ "inputs": [
645
+ {
646
+ "name": "expected",
647
+ "type": "bytes32",
648
+ "internalType": "bytes32"
649
+ },
650
+ {
651
+ "name": "found",
652
+ "type": "bytes32",
653
+ "internalType": "bytes32"
654
+ }
655
+ ]
656
+ },
657
+ {
658
+ "type": "error",
659
+ "name": "WrongDeclaredBodyLength",
660
+ "inputs": [
661
+ {
662
+ "name": "declared",
663
+ "type": "uint256",
664
+ "internalType": "uint256"
665
+ },
666
+ {
667
+ "name": "signed",
668
+ "type": "uint256",
669
+ "internalType": "uint256"
670
+ }
671
+ ]
672
+ },
673
+ {
674
+ "type": "error",
675
+ "name": "WrongGrantType",
676
+ "inputs": [
677
+ {
678
+ "name": "found",
679
+ "type": "bytes",
680
+ "internalType": "bytes"
681
+ }
682
+ ]
683
+ },
684
+ {
685
+ "type": "error",
686
+ "name": "WrongIdentityRequestHead",
687
+ "inputs": []
688
+ },
689
+ {
690
+ "type": "error",
691
+ "name": "WrongNotaryForProfile",
692
+ "inputs": [
693
+ {
694
+ "name": "platformId",
695
+ "type": "bytes32",
696
+ "internalType": "bytes32"
697
+ },
698
+ {
699
+ "name": "notary",
700
+ "type": "address",
701
+ "internalType": "address"
702
+ }
703
+ ]
704
+ },
705
+ {
706
+ "type": "error",
707
+ "name": "WrongRequestLine",
708
+ "inputs": []
709
+ },
710
+ {
711
+ "type": "error",
712
+ "name": "WrongTokenRequestHead",
713
+ "inputs": []
714
+ },
715
+ {
716
+ "type": "error",
717
+ "name": "WrongTokenRequestLayout",
718
+ "inputs": [
719
+ {
720
+ "name": "revealedRanges",
721
+ "type": "uint256",
722
+ "internalType": "uint256"
723
+ },
724
+ {
725
+ "name": "commitments",
726
+ "type": "uint256",
727
+ "internalType": "uint256"
728
+ }
729
+ ]
730
+ },
731
+ {
732
+ "type": "error",
733
+ "name": "MissingClientIdentifier",
734
+ "inputs": []
735
+ },
736
+ {
737
+ "type": "error",
738
+ "name": "TokenExpired",
739
+ "inputs": [
740
+ {
741
+ "name": "exp",
742
+ "type": "uint64",
743
+ "internalType": "uint64"
744
+ },
745
+ {
746
+ "name": "blockTime",
747
+ "type": "uint64",
748
+ "internalType": "uint64"
749
+ }
750
+ ]
751
+ },
752
+ {
753
+ "type": "error",
754
+ "name": "UntrustedModulus",
755
+ "inputs": [
756
+ {
757
+ "name": "modulusHash",
758
+ "type": "bytes32",
759
+ "internalType": "bytes32"
760
+ }
761
+ ]
762
+ },
763
+ {
764
+ "type": "error",
765
+ "name": "CommitmentOverlapsRevealed",
766
+ "inputs": [
767
+ {
768
+ "name": "start",
769
+ "type": "uint32",
770
+ "internalType": "uint32"
771
+ },
772
+ {
773
+ "name": "end",
774
+ "type": "uint32",
775
+ "internalType": "uint32"
776
+ }
777
+ ]
778
+ },
779
+ {
780
+ "type": "error",
781
+ "name": "EmptyRange",
782
+ "inputs": [
783
+ {
784
+ "name": "start",
785
+ "type": "uint32",
786
+ "internalType": "uint32"
787
+ }
788
+ ]
789
+ },
790
+ {
791
+ "type": "error",
792
+ "name": "MalformedSignature",
793
+ "inputs": []
794
+ },
795
+ {
796
+ "type": "error",
797
+ "name": "NothingToWithdraw",
798
+ "inputs": []
799
+ },
800
+ {
801
+ "type": "error",
802
+ "name": "OutOfOrder",
803
+ "inputs": [
804
+ {
805
+ "name": "start",
806
+ "type": "uint32",
807
+ "internalType": "uint32"
808
+ },
809
+ {
810
+ "name": "previousEnd",
811
+ "type": "uint32",
812
+ "internalType": "uint32"
813
+ }
814
+ ]
815
+ },
816
+ {
817
+ "type": "error",
818
+ "name": "PastTranscriptEnd",
819
+ "inputs": [
820
+ {
821
+ "name": "end",
822
+ "type": "uint32",
823
+ "internalType": "uint32"
824
+ },
825
+ {
826
+ "name": "length",
827
+ "type": "uint32",
828
+ "internalType": "uint32"
829
+ }
830
+ ]
831
+ },
832
+ {
833
+ "type": "error",
834
+ "name": "TrailingBytes",
835
+ "inputs": [
836
+ {
837
+ "name": "count",
838
+ "type": "uint256",
839
+ "internalType": "uint256"
840
+ }
841
+ ]
842
+ },
843
+ {
844
+ "type": "error",
845
+ "name": "Truncated",
846
+ "inputs": []
847
+ },
848
+ {
849
+ "type": "error",
850
+ "name": "UntrustedNotary",
851
+ "inputs": [
852
+ {
853
+ "name": "recovered",
854
+ "type": "address",
855
+ "internalType": "address"
856
+ }
857
+ ]
858
+ },
859
+ {
860
+ "type": "error",
861
+ "name": "WithdrawalFailed",
862
+ "inputs": [
863
+ {
864
+ "name": "to",
865
+ "type": "address",
866
+ "internalType": "address"
867
+ },
868
+ {
869
+ "name": "amount",
870
+ "type": "uint256",
871
+ "internalType": "uint256"
872
+ }
873
+ ]
874
+ },
875
+ {
876
+ "type": "error",
877
+ "name": "WrongFee",
878
+ "inputs": [
879
+ {
880
+ "name": "required",
881
+ "type": "uint256",
882
+ "internalType": "uint256"
883
+ },
884
+ {
885
+ "name": "provided",
886
+ "type": "uint256",
887
+ "internalType": "uint256"
888
+ }
889
+ ]
890
+ },
891
+ {
892
+ "type": "error",
893
+ "name": "ConsistencyCheckFailed",
894
+ "inputs": []
895
+ },
896
+ {
897
+ "type": "error",
898
+ "name": "GeminiChallengeInSubgroup",
899
+ "inputs": []
900
+ },
901
+ {
902
+ "type": "error",
903
+ "name": "MODEXP_FAILED",
904
+ "inputs": []
905
+ },
906
+ {
907
+ "type": "error",
908
+ "name": "ProofLengthWrongWithLogN",
909
+ "inputs": [
910
+ {
911
+ "name": "",
912
+ "type": "uint256",
913
+ "internalType": "uint256"
914
+ },
915
+ {
916
+ "name": "",
917
+ "type": "uint256",
918
+ "internalType": "uint256"
919
+ },
920
+ {
921
+ "name": "",
922
+ "type": "uint256",
923
+ "internalType": "uint256"
924
+ }
925
+ ]
926
+ },
927
+ {
928
+ "type": "error",
929
+ "name": "PublicInputsLengthWrong",
930
+ "inputs": []
931
+ },
932
+ {
933
+ "type": "error",
934
+ "name": "ShpleminiFailed",
935
+ "inputs": []
936
+ },
937
+ {
938
+ "type": "error",
939
+ "name": "SumcheckFailed",
940
+ "inputs": []
941
+ },
942
+ {
943
+ "type": "error",
944
+ "name": "ValueGeFieldOrder",
945
+ "inputs": []
946
+ },
947
+ {
948
+ "type": "error",
949
+ "name": "ValueGeGroupOrder",
950
+ "inputs": []
951
+ },
952
+ {
953
+ "type": "error",
954
+ "name": "ValueGeLimbMax",
955
+ "inputs": []
956
+ }
957
+ ] as const satisfies Abi