@mida-context/sdk 0.1.0

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 (78) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +26 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +7115 -0
  5. package/dist/types/api/app.d.ts +99 -0
  6. package/dist/types/api/auth-pure.d.ts +51 -0
  7. package/dist/types/api/auth.d.ts +17 -0
  8. package/dist/types/api/authorize.d.ts +24 -0
  9. package/dist/types/api/batch-deny.d.ts +22 -0
  10. package/dist/types/api/batch-routes.d.ts +69 -0
  11. package/dist/types/api/batch-store.d.ts +96 -0
  12. package/dist/types/api/batcher.d.ts +220 -0
  13. package/dist/types/api/browser.d.ts +14 -0
  14. package/dist/types/api/chain-budget.d.ts +61 -0
  15. package/dist/types/api/chain-views.d.ts +87 -0
  16. package/dist/types/api/client.d.ts +295 -0
  17. package/dist/types/api/deny-overlay.d.ts +81 -0
  18. package/dist/types/api/errors.d.ts +30 -0
  19. package/dist/types/api/file-stores.d.ts +7 -0
  20. package/dist/types/api/index.d.ts +17 -0
  21. package/dist/types/api/secure-fs.d.ts +12 -0
  22. package/dist/types/api/store.d.ts +51 -0
  23. package/dist/types/api/stores.d.ts +171 -0
  24. package/dist/types/api/verify-assertion.d.ts +22 -0
  25. package/dist/types/api/wire.d.ts +27 -0
  26. package/dist/types/chain/abis.d.ts +2125 -0
  27. package/dist/types/chain/browser.d.ts +20 -0
  28. package/dist/types/chain/deployment-fs.d.ts +15 -0
  29. package/dist/types/chain/deployment.d.ts +33 -0
  30. package/dist/types/chain/deployments.generated.d.ts +1 -0
  31. package/dist/types/chain/gas.d.ts +47 -0
  32. package/dist/types/chain/history.d.ts +52 -0
  33. package/dist/types/chain/index.d.ts +13 -0
  34. package/dist/types/chain/local.d.ts +34 -0
  35. package/dist/types/chain/logs.d.ts +62 -0
  36. package/dist/types/chain/placements.d.ts +92 -0
  37. package/dist/types/chain/read-scope.d.ts +66 -0
  38. package/dist/types/chain/registry.d.ts +16 -0
  39. package/dist/types/chain/sponsored.d.ts +93 -0
  40. package/dist/types/chain/transport.d.ts +53 -0
  41. package/dist/types/chain/writes.d.ts +165 -0
  42. package/dist/types/crypto/aead.d.ts +5 -0
  43. package/dist/types/crypto/bytes.d.ts +4 -0
  44. package/dist/types/crypto/derive.d.ts +20 -0
  45. package/dist/types/crypto/index.d.ts +6 -0
  46. package/dist/types/crypto/object.d.ts +42 -0
  47. package/dist/types/crypto/payload.d.ts +21 -0
  48. package/dist/types/crypto/wraps.d.ts +36 -0
  49. package/dist/types/grant-advisor/advise.d.ts +23 -0
  50. package/dist/types/grant-advisor/authority.d.ts +44 -0
  51. package/dist/types/grant-advisor/index.d.ts +5 -0
  52. package/dist/types/grant-advisor/manifest.d.ts +66 -0
  53. package/dist/types/grant-advisor/policy.d.ts +91 -0
  54. package/dist/types/grant-advisor/signatures.d.ts +10 -0
  55. package/dist/types/mida-context-sdk/daemon.d.ts +27 -0
  56. package/dist/types/mida-context-sdk/errors.d.ts +27 -0
  57. package/dist/types/mida-context-sdk/index.d.ts +5 -0
  58. package/dist/types/mida-context-sdk/local.d.ts +40 -0
  59. package/dist/types/mida-context-sdk/mida.d.ts +65 -0
  60. package/dist/types/mida-context-sdk/transport.d.ts +137 -0
  61. package/dist/types/protocol/batch.d.ts +161 -0
  62. package/dist/types/protocol/constants.d.ts +56 -0
  63. package/dist/types/protocol/errors.d.ts +15 -0
  64. package/dist/types/protocol/ids.d.ts +72 -0
  65. package/dist/types/protocol/index.d.ts +11 -0
  66. package/dist/types/protocol/namespaces.d.ts +15 -0
  67. package/dist/types/protocol/owner-link.d.ts +146 -0
  68. package/dist/types/protocol/typed-data.d.ts +365 -0
  69. package/dist/types/protocol/types.d.ts +215 -0
  70. package/dist/types/protocol/webauthn-assertion.d.ts +29 -0
  71. package/dist/types/protocol/wire.d.ts +8 -0
  72. package/dist/types/sdk/agent.d.ts +279 -0
  73. package/dist/types/sdk/batched.d.ts +68 -0
  74. package/dist/types/sdk/connect.d.ts +88 -0
  75. package/dist/types/sdk/index.d.ts +7 -0
  76. package/dist/types/sdk/request-store.d.ts +26 -0
  77. package/dist/types/storage/index.d.ts +23 -0
  78. package/package.json +50 -0
@@ -0,0 +1,2125 @@
1
+ export declare const capabilityRegistryAbi: readonly [{
2
+ readonly type: "constructor";
3
+ readonly inputs: readonly [{
4
+ readonly name: "vaultRpId";
5
+ readonly type: "string";
6
+ readonly internalType: "string";
7
+ }];
8
+ readonly stateMutability: "nonpayable";
9
+ }, {
10
+ readonly type: "function";
11
+ readonly name: "NAMESPACE_COUNT";
12
+ readonly inputs: readonly [];
13
+ readonly outputs: readonly [{
14
+ readonly name: "";
15
+ readonly type: "uint256";
16
+ readonly internalType: "uint256";
17
+ }];
18
+ readonly stateMutability: "view";
19
+ }, {
20
+ readonly type: "function";
21
+ readonly name: "POLICY_HASH_V1";
22
+ readonly inputs: readonly [];
23
+ readonly outputs: readonly [{
24
+ readonly name: "";
25
+ readonly type: "bytes32";
26
+ readonly internalType: "bytes32";
27
+ }];
28
+ readonly stateMutability: "view";
29
+ }, {
30
+ readonly type: "function";
31
+ readonly name: "VAULT_RP_ID_HASH";
32
+ readonly inputs: readonly [];
33
+ readonly outputs: readonly [{
34
+ readonly name: "";
35
+ readonly type: "bytes32";
36
+ readonly internalType: "bytes32";
37
+ }];
38
+ readonly stateMutability: "view";
39
+ }, {
40
+ readonly type: "function";
41
+ readonly name: "activeCapabilityIds";
42
+ readonly inputs: readonly [{
43
+ readonly name: "owner";
44
+ readonly type: "address";
45
+ readonly internalType: "address";
46
+ }, {
47
+ readonly name: "agentId";
48
+ readonly type: "bytes32";
49
+ readonly internalType: "bytes32";
50
+ }];
51
+ readonly outputs: readonly [{
52
+ readonly name: "";
53
+ readonly type: "bytes32[]";
54
+ readonly internalType: "bytes32[]";
55
+ }];
56
+ readonly stateMutability: "view";
57
+ }, {
58
+ readonly type: "function";
59
+ readonly name: "agentEpoch";
60
+ readonly inputs: readonly [{
61
+ readonly name: "owner";
62
+ readonly type: "address";
63
+ readonly internalType: "address";
64
+ }, {
65
+ readonly name: "agentId";
66
+ readonly type: "bytes32";
67
+ readonly internalType: "bytes32";
68
+ }];
69
+ readonly outputs: readonly [{
70
+ readonly name: "";
71
+ readonly type: "uint64";
72
+ readonly internalType: "uint64";
73
+ }];
74
+ readonly stateMutability: "view";
75
+ }, {
76
+ readonly type: "function";
77
+ readonly name: "agentIdOfSigner";
78
+ readonly inputs: readonly [{
79
+ readonly name: "signer";
80
+ readonly type: "address";
81
+ readonly internalType: "address";
82
+ }];
83
+ readonly outputs: readonly [{
84
+ readonly name: "";
85
+ readonly type: "bytes32";
86
+ readonly internalType: "bytes32";
87
+ }];
88
+ readonly stateMutability: "view";
89
+ }, {
90
+ readonly type: "function";
91
+ readonly name: "epochPublicKey";
92
+ readonly inputs: readonly [{
93
+ readonly name: "owner";
94
+ readonly type: "address";
95
+ readonly internalType: "address";
96
+ }, {
97
+ readonly name: "namespaceId";
98
+ readonly type: "bytes32";
99
+ readonly internalType: "bytes32";
100
+ }, {
101
+ readonly name: "epoch";
102
+ readonly type: "uint64";
103
+ readonly internalType: "uint64";
104
+ }];
105
+ readonly outputs: readonly [{
106
+ readonly name: "";
107
+ readonly type: "bytes32";
108
+ readonly internalType: "bytes32";
109
+ }];
110
+ readonly stateMutability: "view";
111
+ }, {
112
+ readonly type: "function";
113
+ readonly name: "getAgent";
114
+ readonly inputs: readonly [{
115
+ readonly name: "agentId";
116
+ readonly type: "bytes32";
117
+ readonly internalType: "bytes32";
118
+ }];
119
+ readonly outputs: readonly [{
120
+ readonly name: "";
121
+ readonly type: "tuple";
122
+ readonly internalType: "struct AgentRegistry.AgentRecord";
123
+ readonly components: readonly [{
124
+ readonly name: "operator";
125
+ readonly type: "address";
126
+ readonly internalType: "address";
127
+ }, {
128
+ readonly name: "signer";
129
+ readonly type: "address";
130
+ readonly internalType: "address";
131
+ }, {
132
+ readonly name: "encryptionPublicKey";
133
+ readonly type: "bytes32";
134
+ readonly internalType: "bytes32";
135
+ }, {
136
+ readonly name: "encryptionKeyVersion";
137
+ readonly type: "uint32";
138
+ readonly internalType: "uint32";
139
+ }, {
140
+ readonly name: "callbackOriginHash";
141
+ readonly type: "bytes32";
142
+ readonly internalType: "bytes32";
143
+ }, {
144
+ readonly name: "capabilityManifestHash";
145
+ readonly type: "bytes32";
146
+ readonly internalType: "bytes32";
147
+ }, {
148
+ readonly name: "capabilityManifestVersion";
149
+ readonly type: "uint64";
150
+ readonly internalType: "uint64";
151
+ }, {
152
+ readonly name: "active";
153
+ readonly type: "bool";
154
+ readonly internalType: "bool";
155
+ }];
156
+ }];
157
+ readonly stateMutability: "view";
158
+ }, {
159
+ readonly type: "function";
160
+ readonly name: "getCapability";
161
+ readonly inputs: readonly [{
162
+ readonly name: "capabilityId";
163
+ readonly type: "bytes32";
164
+ readonly internalType: "bytes32";
165
+ }];
166
+ readonly outputs: readonly [{
167
+ readonly name: "capability";
168
+ readonly type: "tuple";
169
+ readonly internalType: "struct CapabilityStore.Capability";
170
+ readonly components: readonly [{
171
+ readonly name: "owner";
172
+ readonly type: "address";
173
+ readonly internalType: "address";
174
+ }, {
175
+ readonly name: "agentId";
176
+ readonly type: "bytes32";
177
+ readonly internalType: "bytes32";
178
+ }, {
179
+ readonly name: "namespaceId";
180
+ readonly type: "bytes32";
181
+ readonly internalType: "bytes32";
182
+ }, {
183
+ readonly name: "permissions";
184
+ readonly type: "uint8";
185
+ readonly internalType: "uint8";
186
+ }, {
187
+ readonly name: "provenancePolicy";
188
+ readonly type: "uint8";
189
+ readonly internalType: "uint8";
190
+ }, {
191
+ readonly name: "issuedAt";
192
+ readonly type: "uint64";
193
+ readonly internalType: "uint64";
194
+ }, {
195
+ readonly name: "expiresAt";
196
+ readonly type: "uint64";
197
+ readonly internalType: "uint64";
198
+ }, {
199
+ readonly name: "agentEpoch";
200
+ readonly type: "uint64";
201
+ readonly internalType: "uint64";
202
+ }, {
203
+ readonly name: "grantedAtReadEpoch";
204
+ readonly type: "uint64";
205
+ readonly internalType: "uint64";
206
+ }, {
207
+ readonly name: "revoked";
208
+ readonly type: "bool";
209
+ readonly internalType: "bool";
210
+ }];
211
+ }];
212
+ readonly stateMutability: "view";
213
+ }, {
214
+ readonly type: "function";
215
+ readonly name: "grantBatch";
216
+ readonly inputs: readonly [{
217
+ readonly name: "request";
218
+ readonly type: "tuple";
219
+ readonly internalType: "struct AccessRequestInput";
220
+ readonly components: readonly [{
221
+ readonly name: "requestId";
222
+ readonly type: "bytes32";
223
+ readonly internalType: "bytes32";
224
+ }, {
225
+ readonly name: "nonce";
226
+ readonly type: "bytes32";
227
+ readonly internalType: "bytes32";
228
+ }, {
229
+ readonly name: "agentId";
230
+ readonly type: "bytes32";
231
+ readonly internalType: "bytes32";
232
+ }, {
233
+ readonly name: "purposeIdHash";
234
+ readonly type: "bytes32";
235
+ readonly internalType: "bytes32";
236
+ }, {
237
+ readonly name: "callbackOriginHash";
238
+ readonly type: "bytes32";
239
+ readonly internalType: "bytes32";
240
+ }, {
241
+ readonly name: "manifestHash";
242
+ readonly type: "bytes32";
243
+ readonly internalType: "bytes32";
244
+ }, {
245
+ readonly name: "manifestVersion";
246
+ readonly type: "uint64";
247
+ readonly internalType: "uint64";
248
+ }, {
249
+ readonly name: "policyVersionHash";
250
+ readonly type: "bytes32";
251
+ readonly internalType: "bytes32";
252
+ }, {
253
+ readonly name: "namespaceTreeVersionHash";
254
+ readonly type: "bytes32";
255
+ readonly internalType: "bytes32";
256
+ }, {
257
+ readonly name: "issuedAt";
258
+ readonly type: "uint64";
259
+ readonly internalType: "uint64";
260
+ }, {
261
+ readonly name: "requestExpiresAt";
262
+ readonly type: "uint64";
263
+ readonly internalType: "uint64";
264
+ }, {
265
+ readonly name: "capabilityExpiresAt";
266
+ readonly type: "uint64";
267
+ readonly internalType: "uint64";
268
+ }, {
269
+ readonly name: "scopes";
270
+ readonly type: "tuple[]";
271
+ readonly internalType: "struct GrantScope[]";
272
+ readonly components: readonly [{
273
+ readonly name: "namespaceId";
274
+ readonly type: "bytes32";
275
+ readonly internalType: "bytes32";
276
+ }, {
277
+ readonly name: "permissions";
278
+ readonly type: "uint8";
279
+ readonly internalType: "uint8";
280
+ }, {
281
+ readonly name: "provenancePolicy";
282
+ readonly type: "uint8";
283
+ readonly internalType: "uint8";
284
+ }];
285
+ }, {
286
+ readonly name: "agentSignature";
287
+ readonly type: "bytes";
288
+ readonly internalType: "bytes";
289
+ }];
290
+ }, {
291
+ readonly name: "finalScopes";
292
+ readonly type: "tuple[]";
293
+ readonly internalType: "struct GrantScope[]";
294
+ readonly components: readonly [{
295
+ readonly name: "namespaceId";
296
+ readonly type: "bytes32";
297
+ readonly internalType: "bytes32";
298
+ }, {
299
+ readonly name: "permissions";
300
+ readonly type: "uint8";
301
+ readonly internalType: "uint8";
302
+ }, {
303
+ readonly name: "provenancePolicy";
304
+ readonly type: "uint8";
305
+ readonly internalType: "uint8";
306
+ }];
307
+ }, {
308
+ readonly name: "expiresAt";
309
+ readonly type: "uint64";
310
+ readonly internalType: "uint64";
311
+ }, {
312
+ readonly name: "auth";
313
+ readonly type: "tuple";
314
+ readonly internalType: "struct WebAuthn.WebAuthnAuth";
315
+ readonly components: readonly [{
316
+ readonly name: "authenticatorData";
317
+ readonly type: "bytes";
318
+ readonly internalType: "bytes";
319
+ }, {
320
+ readonly name: "clientDataJSON";
321
+ readonly type: "string";
322
+ readonly internalType: "string";
323
+ }, {
324
+ readonly name: "challengeIndex";
325
+ readonly type: "uint256";
326
+ readonly internalType: "uint256";
327
+ }, {
328
+ readonly name: "typeIndex";
329
+ readonly type: "uint256";
330
+ readonly internalType: "uint256";
331
+ }, {
332
+ readonly name: "r";
333
+ readonly type: "uint256";
334
+ readonly internalType: "uint256";
335
+ }, {
336
+ readonly name: "s";
337
+ readonly type: "uint256";
338
+ readonly internalType: "uint256";
339
+ }];
340
+ }];
341
+ readonly outputs: readonly [{
342
+ readonly name: "capabilityIds";
343
+ readonly type: "bytes32[]";
344
+ readonly internalType: "bytes32[]";
345
+ }];
346
+ readonly stateMutability: "nonpayable";
347
+ }, {
348
+ readonly type: "function";
349
+ readonly name: "grantNonce";
350
+ readonly inputs: readonly [{
351
+ readonly name: "owner";
352
+ readonly type: "address";
353
+ readonly internalType: "address";
354
+ }];
355
+ readonly outputs: readonly [{
356
+ readonly name: "";
357
+ readonly type: "uint256";
358
+ readonly internalType: "uint256";
359
+ }];
360
+ readonly stateMutability: "view";
361
+ }, {
362
+ readonly type: "function";
363
+ readonly name: "hasAuthority";
364
+ readonly inputs: readonly [{
365
+ readonly name: "owner";
366
+ readonly type: "address";
367
+ readonly internalType: "address";
368
+ }, {
369
+ readonly name: "agentId";
370
+ readonly type: "bytes32";
371
+ readonly internalType: "bytes32";
372
+ }, {
373
+ readonly name: "namespaceId";
374
+ readonly type: "bytes32";
375
+ readonly internalType: "bytes32";
376
+ }, {
377
+ readonly name: "permissions";
378
+ readonly type: "uint8";
379
+ readonly internalType: "uint8";
380
+ }, {
381
+ readonly name: "provenanceBits";
382
+ readonly type: "uint8";
383
+ readonly internalType: "uint8";
384
+ }];
385
+ readonly outputs: readonly [{
386
+ readonly name: "";
387
+ readonly type: "bool";
388
+ readonly internalType: "bool";
389
+ }];
390
+ readonly stateMutability: "view";
391
+ }, {
392
+ readonly type: "function";
393
+ readonly name: "initializeReadEpoch";
394
+ readonly inputs: readonly [{
395
+ readonly name: "namespaceId";
396
+ readonly type: "bytes32";
397
+ readonly internalType: "bytes32";
398
+ }, {
399
+ readonly name: "publicKey";
400
+ readonly type: "bytes32";
401
+ readonly internalType: "bytes32";
402
+ }];
403
+ readonly outputs: readonly [];
404
+ readonly stateMutability: "nonpayable";
405
+ }, {
406
+ readonly type: "function";
407
+ readonly name: "isAuthorized";
408
+ readonly inputs: readonly [{
409
+ readonly name: "owner";
410
+ readonly type: "address";
411
+ readonly internalType: "address";
412
+ }, {
413
+ readonly name: "agentId";
414
+ readonly type: "bytes32";
415
+ readonly internalType: "bytes32";
416
+ }, {
417
+ readonly name: "namespaceId";
418
+ readonly type: "bytes32";
419
+ readonly internalType: "bytes32";
420
+ }, {
421
+ readonly name: "permission";
422
+ readonly type: "uint8";
423
+ readonly internalType: "uint8";
424
+ }];
425
+ readonly outputs: readonly [{
426
+ readonly name: "";
427
+ readonly type: "bool";
428
+ readonly internalType: "bool";
429
+ }];
430
+ readonly stateMutability: "view";
431
+ }, {
432
+ readonly type: "function";
433
+ readonly name: "isCapabilityValid";
434
+ readonly inputs: readonly [{
435
+ readonly name: "capabilityId";
436
+ readonly type: "bytes32";
437
+ readonly internalType: "bytes32";
438
+ }];
439
+ readonly outputs: readonly [{
440
+ readonly name: "";
441
+ readonly type: "bool";
442
+ readonly internalType: "bool";
443
+ }];
444
+ readonly stateMutability: "view";
445
+ }, {
446
+ readonly type: "function";
447
+ readonly name: "isHighSensitivity";
448
+ readonly inputs: readonly [{
449
+ readonly name: "namespaceId";
450
+ readonly type: "bytes32";
451
+ readonly internalType: "bytes32";
452
+ }];
453
+ readonly outputs: readonly [{
454
+ readonly name: "";
455
+ readonly type: "bool";
456
+ readonly internalType: "bool";
457
+ }];
458
+ readonly stateMutability: "view";
459
+ }, {
460
+ readonly type: "function";
461
+ readonly name: "isRegisteredNamespace";
462
+ readonly inputs: readonly [{
463
+ readonly name: "namespaceId";
464
+ readonly type: "bytes32";
465
+ readonly internalType: "bytes32";
466
+ }];
467
+ readonly outputs: readonly [{
468
+ readonly name: "";
469
+ readonly type: "bool";
470
+ readonly internalType: "bool";
471
+ }];
472
+ readonly stateMutability: "view";
473
+ }, {
474
+ readonly type: "function";
475
+ readonly name: "isWriteEpochValid";
476
+ readonly inputs: readonly [{
477
+ readonly name: "owner";
478
+ readonly type: "address";
479
+ readonly internalType: "address";
480
+ }, {
481
+ readonly name: "namespaceId";
482
+ readonly type: "bytes32";
483
+ readonly internalType: "bytes32";
484
+ }, {
485
+ readonly name: "epoch";
486
+ readonly type: "uint64";
487
+ readonly internalType: "uint64";
488
+ }];
489
+ readonly outputs: readonly [{
490
+ readonly name: "";
491
+ readonly type: "bool";
492
+ readonly internalType: "bool";
493
+ }];
494
+ readonly stateMutability: "view";
495
+ }, {
496
+ readonly type: "function";
497
+ readonly name: "namespaceParent";
498
+ readonly inputs: readonly [{
499
+ readonly name: "namespaceId";
500
+ readonly type: "bytes32";
501
+ readonly internalType: "bytes32";
502
+ }];
503
+ readonly outputs: readonly [{
504
+ readonly name: "";
505
+ readonly type: "bytes32";
506
+ readonly internalType: "bytes32";
507
+ }];
508
+ readonly stateMutability: "view";
509
+ }, {
510
+ readonly type: "function";
511
+ readonly name: "ownerP256Key";
512
+ readonly inputs: readonly [{
513
+ readonly name: "owner";
514
+ readonly type: "address";
515
+ readonly internalType: "address";
516
+ }];
517
+ readonly outputs: readonly [{
518
+ readonly name: "qx";
519
+ readonly type: "uint256";
520
+ readonly internalType: "uint256";
521
+ }, {
522
+ readonly name: "qy";
523
+ readonly type: "uint256";
524
+ readonly internalType: "uint256";
525
+ }];
526
+ readonly stateMutability: "view";
527
+ }, {
528
+ readonly type: "function";
529
+ readonly name: "p256RotationNonce";
530
+ readonly inputs: readonly [{
531
+ readonly name: "owner";
532
+ readonly type: "address";
533
+ readonly internalType: "address";
534
+ }];
535
+ readonly outputs: readonly [{
536
+ readonly name: "";
537
+ readonly type: "uint256";
538
+ readonly internalType: "uint256";
539
+ }];
540
+ readonly stateMutability: "view";
541
+ }, {
542
+ readonly type: "function";
543
+ readonly name: "registerAgent";
544
+ readonly inputs: readonly [{
545
+ readonly name: "agentSalt";
546
+ readonly type: "bytes32";
547
+ readonly internalType: "bytes32";
548
+ }, {
549
+ readonly name: "signer";
550
+ readonly type: "address";
551
+ readonly internalType: "address";
552
+ }, {
553
+ readonly name: "encryptionPublicKey";
554
+ readonly type: "bytes32";
555
+ readonly internalType: "bytes32";
556
+ }, {
557
+ readonly name: "callbackOriginHash";
558
+ readonly type: "bytes32";
559
+ readonly internalType: "bytes32";
560
+ }, {
561
+ readonly name: "capabilityManifestHash";
562
+ readonly type: "bytes32";
563
+ readonly internalType: "bytes32";
564
+ }, {
565
+ readonly name: "signerSignature";
566
+ readonly type: "bytes";
567
+ readonly internalType: "bytes";
568
+ }];
569
+ readonly outputs: readonly [{
570
+ readonly name: "agentId";
571
+ readonly type: "bytes32";
572
+ readonly internalType: "bytes32";
573
+ }];
574
+ readonly stateMutability: "nonpayable";
575
+ }, {
576
+ readonly type: "function";
577
+ readonly name: "registerP256Key";
578
+ readonly inputs: readonly [{
579
+ readonly name: "qx";
580
+ readonly type: "uint256";
581
+ readonly internalType: "uint256";
582
+ }, {
583
+ readonly name: "qy";
584
+ readonly type: "uint256";
585
+ readonly internalType: "uint256";
586
+ }];
587
+ readonly outputs: readonly [];
588
+ readonly stateMutability: "nonpayable";
589
+ }, {
590
+ readonly type: "function";
591
+ readonly name: "requiredReadEpoch";
592
+ readonly inputs: readonly [{
593
+ readonly name: "owner";
594
+ readonly type: "address";
595
+ readonly internalType: "address";
596
+ }, {
597
+ readonly name: "namespaceId";
598
+ readonly type: "bytes32";
599
+ readonly internalType: "bytes32";
600
+ }];
601
+ readonly outputs: readonly [{
602
+ readonly name: "";
603
+ readonly type: "uint64";
604
+ readonly internalType: "uint64";
605
+ }];
606
+ readonly stateMutability: "view";
607
+ }, {
608
+ readonly type: "function";
609
+ readonly name: "revoke";
610
+ readonly inputs: readonly [{
611
+ readonly name: "capabilityId";
612
+ readonly type: "bytes32";
613
+ readonly internalType: "bytes32";
614
+ }];
615
+ readonly outputs: readonly [];
616
+ readonly stateMutability: "nonpayable";
617
+ }, {
618
+ readonly type: "function";
619
+ readonly name: "revokeAgentAndRotate";
620
+ readonly inputs: readonly [{
621
+ readonly name: "agentId";
622
+ readonly type: "bytes32";
623
+ readonly internalType: "bytes32";
624
+ }, {
625
+ readonly name: "rotations";
626
+ readonly type: "tuple[]";
627
+ readonly internalType: "struct Revocations.EpochRotation[]";
628
+ readonly components: readonly [{
629
+ readonly name: "namespaceId";
630
+ readonly type: "bytes32";
631
+ readonly internalType: "bytes32";
632
+ }, {
633
+ readonly name: "newEpochPublicKey";
634
+ readonly type: "bytes32";
635
+ readonly internalType: "bytes32";
636
+ }];
637
+ }];
638
+ readonly outputs: readonly [];
639
+ readonly stateMutability: "nonpayable";
640
+ }, {
641
+ readonly type: "function";
642
+ readonly name: "revokeAndRotate";
643
+ readonly inputs: readonly [{
644
+ readonly name: "capabilityId";
645
+ readonly type: "bytes32";
646
+ readonly internalType: "bytes32";
647
+ }, {
648
+ readonly name: "newEpochPublicKey";
649
+ readonly type: "bytes32";
650
+ readonly internalType: "bytes32";
651
+ }];
652
+ readonly outputs: readonly [];
653
+ readonly stateMutability: "nonpayable";
654
+ }, {
655
+ readonly type: "function";
656
+ readonly name: "rotateAgentEncryptionKey";
657
+ readonly inputs: readonly [{
658
+ readonly name: "agentId";
659
+ readonly type: "bytes32";
660
+ readonly internalType: "bytes32";
661
+ }, {
662
+ readonly name: "newEncryptionPublicKey";
663
+ readonly type: "bytes32";
664
+ readonly internalType: "bytes32";
665
+ }];
666
+ readonly outputs: readonly [];
667
+ readonly stateMutability: "nonpayable";
668
+ }, {
669
+ readonly type: "function";
670
+ readonly name: "rotateAgentSigner";
671
+ readonly inputs: readonly [{
672
+ readonly name: "agentId";
673
+ readonly type: "bytes32";
674
+ readonly internalType: "bytes32";
675
+ }, {
676
+ readonly name: "newSigner";
677
+ readonly type: "address";
678
+ readonly internalType: "address";
679
+ }, {
680
+ readonly name: "newSignerSignature";
681
+ readonly type: "bytes";
682
+ readonly internalType: "bytes";
683
+ }];
684
+ readonly outputs: readonly [];
685
+ readonly stateMutability: "nonpayable";
686
+ }, {
687
+ readonly type: "function";
688
+ readonly name: "rotateExpiredEpoch";
689
+ readonly inputs: readonly [{
690
+ readonly name: "namespaceId";
691
+ readonly type: "bytes32";
692
+ readonly internalType: "bytes32";
693
+ }, {
694
+ readonly name: "newEpochPublicKey";
695
+ readonly type: "bytes32";
696
+ readonly internalType: "bytes32";
697
+ }];
698
+ readonly outputs: readonly [];
699
+ readonly stateMutability: "nonpayable";
700
+ }, {
701
+ readonly type: "function";
702
+ readonly name: "rotateP256Key";
703
+ readonly inputs: readonly [{
704
+ readonly name: "newQx";
705
+ readonly type: "uint256";
706
+ readonly internalType: "uint256";
707
+ }, {
708
+ readonly name: "newQy";
709
+ readonly type: "uint256";
710
+ readonly internalType: "uint256";
711
+ }, {
712
+ readonly name: "auth";
713
+ readonly type: "tuple";
714
+ readonly internalType: "struct WebAuthn.WebAuthnAuth";
715
+ readonly components: readonly [{
716
+ readonly name: "authenticatorData";
717
+ readonly type: "bytes";
718
+ readonly internalType: "bytes";
719
+ }, {
720
+ readonly name: "clientDataJSON";
721
+ readonly type: "string";
722
+ readonly internalType: "string";
723
+ }, {
724
+ readonly name: "challengeIndex";
725
+ readonly type: "uint256";
726
+ readonly internalType: "uint256";
727
+ }, {
728
+ readonly name: "typeIndex";
729
+ readonly type: "uint256";
730
+ readonly internalType: "uint256";
731
+ }, {
732
+ readonly name: "r";
733
+ readonly type: "uint256";
734
+ readonly internalType: "uint256";
735
+ }, {
736
+ readonly name: "s";
737
+ readonly type: "uint256";
738
+ readonly internalType: "uint256";
739
+ }];
740
+ }];
741
+ readonly outputs: readonly [];
742
+ readonly stateMutability: "nonpayable";
743
+ }, {
744
+ readonly type: "function";
745
+ readonly name: "setAgentCallbackOrigin";
746
+ readonly inputs: readonly [{
747
+ readonly name: "agentId";
748
+ readonly type: "bytes32";
749
+ readonly internalType: "bytes32";
750
+ }, {
751
+ readonly name: "newCallbackOriginHash";
752
+ readonly type: "bytes32";
753
+ readonly internalType: "bytes32";
754
+ }];
755
+ readonly outputs: readonly [];
756
+ readonly stateMutability: "nonpayable";
757
+ }, {
758
+ readonly type: "function";
759
+ readonly name: "signerRotationNonce";
760
+ readonly inputs: readonly [{
761
+ readonly name: "agentId";
762
+ readonly type: "bytes32";
763
+ readonly internalType: "bytes32";
764
+ }];
765
+ readonly outputs: readonly [{
766
+ readonly name: "";
767
+ readonly type: "uint64";
768
+ readonly internalType: "uint64";
769
+ }];
770
+ readonly stateMutability: "view";
771
+ }, {
772
+ readonly type: "function";
773
+ readonly name: "updateAgentCapabilityManifest";
774
+ readonly inputs: readonly [{
775
+ readonly name: "agentId";
776
+ readonly type: "bytes32";
777
+ readonly internalType: "bytes32";
778
+ }, {
779
+ readonly name: "bodyHash";
780
+ readonly type: "bytes32";
781
+ readonly internalType: "bytes32";
782
+ }, {
783
+ readonly name: "manifestVersion";
784
+ readonly type: "uint64";
785
+ readonly internalType: "uint64";
786
+ }, {
787
+ readonly name: "operatorSignature";
788
+ readonly type: "bytes";
789
+ readonly internalType: "bytes";
790
+ }];
791
+ readonly outputs: readonly [];
792
+ readonly stateMutability: "nonpayable";
793
+ }, {
794
+ readonly type: "function";
795
+ readonly name: "vaultRpId";
796
+ readonly inputs: readonly [];
797
+ readonly outputs: readonly [{
798
+ readonly name: "";
799
+ readonly type: "string";
800
+ readonly internalType: "string";
801
+ }];
802
+ readonly stateMutability: "view";
803
+ }, {
804
+ readonly type: "function";
805
+ readonly name: "writeDeadline";
806
+ readonly inputs: readonly [{
807
+ readonly name: "owner";
808
+ readonly type: "address";
809
+ readonly internalType: "address";
810
+ }, {
811
+ readonly name: "namespaceId";
812
+ readonly type: "bytes32";
813
+ readonly internalType: "bytes32";
814
+ }];
815
+ readonly outputs: readonly [{
816
+ readonly name: "";
817
+ readonly type: "uint64";
818
+ readonly internalType: "uint64";
819
+ }];
820
+ readonly stateMutability: "view";
821
+ }, {
822
+ readonly type: "event";
823
+ readonly name: "AgentCapabilityManifestUpdated";
824
+ readonly inputs: readonly [{
825
+ readonly name: "agentId";
826
+ readonly type: "bytes32";
827
+ readonly indexed: true;
828
+ readonly internalType: "bytes32";
829
+ }, {
830
+ readonly name: "capabilityManifestHash";
831
+ readonly type: "bytes32";
832
+ readonly indexed: false;
833
+ readonly internalType: "bytes32";
834
+ }, {
835
+ readonly name: "capabilityManifestVersion";
836
+ readonly type: "uint64";
837
+ readonly indexed: false;
838
+ readonly internalType: "uint64";
839
+ }];
840
+ readonly anonymous: false;
841
+ }, {
842
+ readonly type: "event";
843
+ readonly name: "AgentEncryptionKeyRotated";
844
+ readonly inputs: readonly [{
845
+ readonly name: "agentId";
846
+ readonly type: "bytes32";
847
+ readonly indexed: true;
848
+ readonly internalType: "bytes32";
849
+ }, {
850
+ readonly name: "encryptionPublicKey";
851
+ readonly type: "bytes32";
852
+ readonly indexed: false;
853
+ readonly internalType: "bytes32";
854
+ }, {
855
+ readonly name: "encryptionKeyVersion";
856
+ readonly type: "uint32";
857
+ readonly indexed: false;
858
+ readonly internalType: "uint32";
859
+ }];
860
+ readonly anonymous: false;
861
+ }, {
862
+ readonly type: "event";
863
+ readonly name: "AgentOriginChanged";
864
+ readonly inputs: readonly [{
865
+ readonly name: "agentId";
866
+ readonly type: "bytes32";
867
+ readonly indexed: true;
868
+ readonly internalType: "bytes32";
869
+ }, {
870
+ readonly name: "callbackOriginHash";
871
+ readonly type: "bytes32";
872
+ readonly indexed: false;
873
+ readonly internalType: "bytes32";
874
+ }];
875
+ readonly anonymous: false;
876
+ }, {
877
+ readonly type: "event";
878
+ readonly name: "AgentRegistered";
879
+ readonly inputs: readonly [{
880
+ readonly name: "agentId";
881
+ readonly type: "bytes32";
882
+ readonly indexed: true;
883
+ readonly internalType: "bytes32";
884
+ }, {
885
+ readonly name: "operator";
886
+ readonly type: "address";
887
+ readonly indexed: true;
888
+ readonly internalType: "address";
889
+ }, {
890
+ readonly name: "signer";
891
+ readonly type: "address";
892
+ readonly indexed: true;
893
+ readonly internalType: "address";
894
+ }, {
895
+ readonly name: "encryptionPublicKey";
896
+ readonly type: "bytes32";
897
+ readonly indexed: false;
898
+ readonly internalType: "bytes32";
899
+ }, {
900
+ readonly name: "encryptionKeyVersion";
901
+ readonly type: "uint32";
902
+ readonly indexed: false;
903
+ readonly internalType: "uint32";
904
+ }, {
905
+ readonly name: "callbackOriginHash";
906
+ readonly type: "bytes32";
907
+ readonly indexed: false;
908
+ readonly internalType: "bytes32";
909
+ }, {
910
+ readonly name: "capabilityManifestHash";
911
+ readonly type: "bytes32";
912
+ readonly indexed: false;
913
+ readonly internalType: "bytes32";
914
+ }, {
915
+ readonly name: "capabilityManifestVersion";
916
+ readonly type: "uint64";
917
+ readonly indexed: false;
918
+ readonly internalType: "uint64";
919
+ }];
920
+ readonly anonymous: false;
921
+ }, {
922
+ readonly type: "event";
923
+ readonly name: "AgentRevoked";
924
+ readonly inputs: readonly [{
925
+ readonly name: "owner";
926
+ readonly type: "address";
927
+ readonly indexed: true;
928
+ readonly internalType: "address";
929
+ }, {
930
+ readonly name: "agentId";
931
+ readonly type: "bytes32";
932
+ readonly indexed: true;
933
+ readonly internalType: "bytes32";
934
+ }, {
935
+ readonly name: "agentEpoch";
936
+ readonly type: "uint64";
937
+ readonly indexed: false;
938
+ readonly internalType: "uint64";
939
+ }];
940
+ readonly anonymous: false;
941
+ }, {
942
+ readonly type: "event";
943
+ readonly name: "AgentSigningKeyRotated";
944
+ readonly inputs: readonly [{
945
+ readonly name: "agentId";
946
+ readonly type: "bytes32";
947
+ readonly indexed: true;
948
+ readonly internalType: "bytes32";
949
+ }, {
950
+ readonly name: "previousSigner";
951
+ readonly type: "address";
952
+ readonly indexed: true;
953
+ readonly internalType: "address";
954
+ }, {
955
+ readonly name: "newSigner";
956
+ readonly type: "address";
957
+ readonly indexed: true;
958
+ readonly internalType: "address";
959
+ }];
960
+ readonly anonymous: false;
961
+ }, {
962
+ readonly type: "event";
963
+ readonly name: "CapabilityGranted";
964
+ readonly inputs: readonly [{
965
+ readonly name: "owner";
966
+ readonly type: "address";
967
+ readonly indexed: true;
968
+ readonly internalType: "address";
969
+ }, {
970
+ readonly name: "agentId";
971
+ readonly type: "bytes32";
972
+ readonly indexed: true;
973
+ readonly internalType: "bytes32";
974
+ }, {
975
+ readonly name: "namespaceId";
976
+ readonly type: "bytes32";
977
+ readonly indexed: true;
978
+ readonly internalType: "bytes32";
979
+ }, {
980
+ readonly name: "capabilityId";
981
+ readonly type: "bytes32";
982
+ readonly indexed: false;
983
+ readonly internalType: "bytes32";
984
+ }, {
985
+ readonly name: "permissions";
986
+ readonly type: "uint8";
987
+ readonly indexed: false;
988
+ readonly internalType: "uint8";
989
+ }, {
990
+ readonly name: "provenancePolicy";
991
+ readonly type: "uint8";
992
+ readonly indexed: false;
993
+ readonly internalType: "uint8";
994
+ }, {
995
+ readonly name: "expiresAt";
996
+ readonly type: "uint64";
997
+ readonly indexed: false;
998
+ readonly internalType: "uint64";
999
+ }, {
1000
+ readonly name: "context";
1001
+ readonly type: "tuple";
1002
+ readonly indexed: false;
1003
+ readonly internalType: "struct Grants.GrantContext";
1004
+ readonly components: readonly [{
1005
+ readonly name: "requestHash";
1006
+ readonly type: "bytes32";
1007
+ readonly internalType: "bytes32";
1008
+ }, {
1009
+ readonly name: "manifestHash";
1010
+ readonly type: "bytes32";
1011
+ readonly internalType: "bytes32";
1012
+ }, {
1013
+ readonly name: "manifestVersion";
1014
+ readonly type: "uint64";
1015
+ readonly internalType: "uint64";
1016
+ }, {
1017
+ readonly name: "policyVersionHash";
1018
+ readonly type: "bytes32";
1019
+ readonly internalType: "bytes32";
1020
+ }, {
1021
+ readonly name: "namespaceTreeVersionHash";
1022
+ readonly type: "bytes32";
1023
+ readonly internalType: "bytes32";
1024
+ }, {
1025
+ readonly name: "grantNonce";
1026
+ readonly type: "uint256";
1027
+ readonly internalType: "uint256";
1028
+ }];
1029
+ }];
1030
+ readonly anonymous: false;
1031
+ }, {
1032
+ readonly type: "event";
1033
+ readonly name: "CapabilityRevoked";
1034
+ readonly inputs: readonly [{
1035
+ readonly name: "owner";
1036
+ readonly type: "address";
1037
+ readonly indexed: true;
1038
+ readonly internalType: "address";
1039
+ }, {
1040
+ readonly name: "agentId";
1041
+ readonly type: "bytes32";
1042
+ readonly indexed: true;
1043
+ readonly internalType: "bytes32";
1044
+ }, {
1045
+ readonly name: "namespaceId";
1046
+ readonly type: "bytes32";
1047
+ readonly indexed: true;
1048
+ readonly internalType: "bytes32";
1049
+ }, {
1050
+ readonly name: "capabilityId";
1051
+ readonly type: "bytes32";
1052
+ readonly indexed: false;
1053
+ readonly internalType: "bytes32";
1054
+ }];
1055
+ readonly anonymous: false;
1056
+ }, {
1057
+ readonly type: "event";
1058
+ readonly name: "NamespaceEpochKeySet";
1059
+ readonly inputs: readonly [{
1060
+ readonly name: "owner";
1061
+ readonly type: "address";
1062
+ readonly indexed: true;
1063
+ readonly internalType: "address";
1064
+ }, {
1065
+ readonly name: "namespaceId";
1066
+ readonly type: "bytes32";
1067
+ readonly indexed: true;
1068
+ readonly internalType: "bytes32";
1069
+ }, {
1070
+ readonly name: "readEpoch";
1071
+ readonly type: "uint64";
1072
+ readonly indexed: true;
1073
+ readonly internalType: "uint64";
1074
+ }, {
1075
+ readonly name: "publicKey";
1076
+ readonly type: "bytes32";
1077
+ readonly indexed: false;
1078
+ readonly internalType: "bytes32";
1079
+ }];
1080
+ readonly anonymous: false;
1081
+ }, {
1082
+ readonly type: "event";
1083
+ readonly name: "NamespaceRegistered";
1084
+ readonly inputs: readonly [{
1085
+ readonly name: "namespaceId";
1086
+ readonly type: "bytes32";
1087
+ readonly indexed: true;
1088
+ readonly internalType: "bytes32";
1089
+ }, {
1090
+ readonly name: "parentId";
1091
+ readonly type: "bytes32";
1092
+ readonly indexed: true;
1093
+ readonly internalType: "bytes32";
1094
+ }, {
1095
+ readonly name: "name";
1096
+ readonly type: "string";
1097
+ readonly indexed: false;
1098
+ readonly internalType: "string";
1099
+ }, {
1100
+ readonly name: "highSensitivity";
1101
+ readonly type: "bool";
1102
+ readonly indexed: false;
1103
+ readonly internalType: "bool";
1104
+ }];
1105
+ readonly anonymous: false;
1106
+ }, {
1107
+ readonly type: "event";
1108
+ readonly name: "P256KeyRegistered";
1109
+ readonly inputs: readonly [{
1110
+ readonly name: "owner";
1111
+ readonly type: "address";
1112
+ readonly indexed: true;
1113
+ readonly internalType: "address";
1114
+ }, {
1115
+ readonly name: "qx";
1116
+ readonly type: "uint256";
1117
+ readonly indexed: false;
1118
+ readonly internalType: "uint256";
1119
+ }, {
1120
+ readonly name: "qy";
1121
+ readonly type: "uint256";
1122
+ readonly indexed: false;
1123
+ readonly internalType: "uint256";
1124
+ }, {
1125
+ readonly name: "rotationNonce";
1126
+ readonly type: "uint256";
1127
+ readonly indexed: false;
1128
+ readonly internalType: "uint256";
1129
+ }];
1130
+ readonly anonymous: false;
1131
+ }, {
1132
+ readonly type: "event";
1133
+ readonly name: "ReadEpochRequired";
1134
+ readonly inputs: readonly [{
1135
+ readonly name: "owner";
1136
+ readonly type: "address";
1137
+ readonly indexed: true;
1138
+ readonly internalType: "address";
1139
+ }, {
1140
+ readonly name: "namespaceId";
1141
+ readonly type: "bytes32";
1142
+ readonly indexed: true;
1143
+ readonly internalType: "bytes32";
1144
+ }, {
1145
+ readonly name: "readEpoch";
1146
+ readonly type: "uint64";
1147
+ readonly indexed: false;
1148
+ readonly internalType: "uint64";
1149
+ }, {
1150
+ readonly name: "writeDeadline";
1151
+ readonly type: "uint64";
1152
+ readonly indexed: false;
1153
+ readonly internalType: "uint64";
1154
+ }];
1155
+ readonly anonymous: false;
1156
+ }, {
1157
+ readonly type: "error";
1158
+ readonly name: "AgentAlreadyRegistered";
1159
+ readonly inputs: readonly [{
1160
+ readonly name: "agentId";
1161
+ readonly type: "bytes32";
1162
+ readonly internalType: "bytes32";
1163
+ }];
1164
+ }, {
1165
+ readonly type: "error";
1166
+ readonly name: "AgentNotFound";
1167
+ readonly inputs: readonly [{
1168
+ readonly name: "agentId";
1169
+ readonly type: "bytes32";
1170
+ readonly internalType: "bytes32";
1171
+ }];
1172
+ }, {
1173
+ readonly type: "error";
1174
+ readonly name: "AuthorityExceedsRequest";
1175
+ readonly inputs: readonly [{
1176
+ readonly name: "namespaceId";
1177
+ readonly type: "bytes32";
1178
+ readonly internalType: "bytes32";
1179
+ }];
1180
+ }, {
1181
+ readonly type: "error";
1182
+ readonly name: "CallbackOriginMismatch";
1183
+ readonly inputs: readonly [];
1184
+ }, {
1185
+ readonly type: "error";
1186
+ readonly name: "CapabilityAlreadyRevoked";
1187
+ readonly inputs: readonly [{
1188
+ readonly name: "capabilityId";
1189
+ readonly type: "bytes32";
1190
+ readonly internalType: "bytes32";
1191
+ }];
1192
+ }, {
1193
+ readonly type: "error";
1194
+ readonly name: "CapabilityLimit";
1195
+ readonly inputs: readonly [{
1196
+ readonly name: "namespaceId";
1197
+ readonly type: "bytes32";
1198
+ readonly internalType: "bytes32";
1199
+ }];
1200
+ }, {
1201
+ readonly type: "error";
1202
+ readonly name: "CapabilityNotFound";
1203
+ readonly inputs: readonly [{
1204
+ readonly name: "capabilityId";
1205
+ readonly type: "bytes32";
1206
+ readonly internalType: "bytes32";
1207
+ }];
1208
+ }, {
1209
+ readonly type: "error";
1210
+ readonly name: "EmptyRpId";
1211
+ readonly inputs: readonly [];
1212
+ }, {
1213
+ readonly type: "error";
1214
+ readonly name: "EpochAlreadyInitialized";
1215
+ readonly inputs: readonly [{
1216
+ readonly name: "namespaceId";
1217
+ readonly type: "bytes32";
1218
+ readonly internalType: "bytes32";
1219
+ }];
1220
+ }, {
1221
+ readonly type: "error";
1222
+ readonly name: "EpochNotExpired";
1223
+ readonly inputs: readonly [{
1224
+ readonly name: "namespaceId";
1225
+ readonly type: "bytes32";
1226
+ readonly internalType: "bytes32";
1227
+ }];
1228
+ }, {
1229
+ readonly type: "error";
1230
+ readonly name: "EpochRotationRequired";
1231
+ readonly inputs: readonly [{
1232
+ readonly name: "namespaceId";
1233
+ readonly type: "bytes32";
1234
+ readonly internalType: "bytes32";
1235
+ }, {
1236
+ readonly name: "epoch";
1237
+ readonly type: "uint64";
1238
+ readonly internalType: "uint64";
1239
+ }];
1240
+ }, {
1241
+ readonly type: "error";
1242
+ readonly name: "ExpiryInvalid";
1243
+ readonly inputs: readonly [];
1244
+ }, {
1245
+ readonly type: "error";
1246
+ readonly name: "HighSensitivityExpiry";
1247
+ readonly inputs: readonly [{
1248
+ readonly name: "namespaceId";
1249
+ readonly type: "bytes32";
1250
+ readonly internalType: "bytes32";
1251
+ }];
1252
+ }, {
1253
+ readonly type: "error";
1254
+ readonly name: "InvalidNamespace";
1255
+ readonly inputs: readonly [{
1256
+ readonly name: "namespaceId";
1257
+ readonly type: "bytes32";
1258
+ readonly internalType: "bytes32";
1259
+ }];
1260
+ }, {
1261
+ readonly type: "error";
1262
+ readonly name: "InvalidSignature";
1263
+ readonly inputs: readonly [];
1264
+ }, {
1265
+ readonly type: "error";
1266
+ readonly name: "ManifestStale";
1267
+ readonly inputs: readonly [];
1268
+ }, {
1269
+ readonly type: "error";
1270
+ readonly name: "ManifestVersionInvalid";
1271
+ readonly inputs: readonly [{
1272
+ readonly name: "expected";
1273
+ readonly type: "uint64";
1274
+ readonly internalType: "uint64";
1275
+ }, {
1276
+ readonly name: "submitted";
1277
+ readonly type: "uint64";
1278
+ readonly internalType: "uint64";
1279
+ }];
1280
+ }, {
1281
+ readonly type: "error";
1282
+ readonly name: "NotCapabilityOwner";
1283
+ readonly inputs: readonly [{
1284
+ readonly name: "capabilityId";
1285
+ readonly type: "bytes32";
1286
+ readonly internalType: "bytes32";
1287
+ }];
1288
+ }, {
1289
+ readonly type: "error";
1290
+ readonly name: "NotOperator";
1291
+ readonly inputs: readonly [{
1292
+ readonly name: "agentId";
1293
+ readonly type: "bytes32";
1294
+ readonly internalType: "bytes32";
1295
+ }];
1296
+ }, {
1297
+ readonly type: "error";
1298
+ readonly name: "P256KeyExists";
1299
+ readonly inputs: readonly [{
1300
+ readonly name: "owner";
1301
+ readonly type: "address";
1302
+ readonly internalType: "address";
1303
+ }];
1304
+ }, {
1305
+ readonly type: "error";
1306
+ readonly name: "P256KeyMissing";
1307
+ readonly inputs: readonly [{
1308
+ readonly name: "owner";
1309
+ readonly type: "address";
1310
+ readonly internalType: "address";
1311
+ }];
1312
+ }, {
1313
+ readonly type: "error";
1314
+ readonly name: "ReadRequiresRotation";
1315
+ readonly inputs: readonly [{
1316
+ readonly name: "capabilityId";
1317
+ readonly type: "bytes32";
1318
+ readonly internalType: "bytes32";
1319
+ }];
1320
+ }, {
1321
+ readonly type: "error";
1322
+ readonly name: "RequestExpired";
1323
+ readonly inputs: readonly [];
1324
+ }, {
1325
+ readonly type: "error";
1326
+ readonly name: "RotationNotApplicable";
1327
+ readonly inputs: readonly [{
1328
+ readonly name: "capabilityId";
1329
+ readonly type: "bytes32";
1330
+ readonly internalType: "bytes32";
1331
+ }];
1332
+ }, {
1333
+ readonly type: "error";
1334
+ readonly name: "RotationSetMismatch";
1335
+ readonly inputs: readonly [];
1336
+ }, {
1337
+ readonly type: "error";
1338
+ readonly name: "ScopesNotCanonical";
1339
+ readonly inputs: readonly [];
1340
+ }, {
1341
+ readonly type: "error";
1342
+ readonly name: "SignerAlreadyBound";
1343
+ readonly inputs: readonly [{
1344
+ readonly name: "signer";
1345
+ readonly type: "address";
1346
+ readonly internalType: "address";
1347
+ }];
1348
+ }, {
1349
+ readonly type: "error";
1350
+ readonly name: "VersionUnsupported";
1351
+ readonly inputs: readonly [];
1352
+ }, {
1353
+ readonly type: "error";
1354
+ readonly name: "WebAuthnInvalid";
1355
+ readonly inputs: readonly [];
1356
+ }, {
1357
+ readonly type: "error";
1358
+ readonly name: "ZeroEpochKey";
1359
+ readonly inputs: readonly [];
1360
+ }, {
1361
+ readonly type: "error";
1362
+ readonly name: "ZeroP256Key";
1363
+ readonly inputs: readonly [];
1364
+ }, {
1365
+ readonly type: "error";
1366
+ readonly name: "ZeroValue";
1367
+ readonly inputs: readonly [];
1368
+ }];
1369
+ export declare const contextRegistryAbi: readonly [{
1370
+ readonly type: "constructor";
1371
+ readonly inputs: readonly [{
1372
+ readonly name: "capabilityRegistry";
1373
+ readonly type: "address";
1374
+ readonly internalType: "contract ICapabilityRegistry";
1375
+ }];
1376
+ readonly stateMutability: "nonpayable";
1377
+ }, {
1378
+ readonly type: "function";
1379
+ readonly name: "CAPABILITY_REGISTRY";
1380
+ readonly inputs: readonly [];
1381
+ readonly outputs: readonly [{
1382
+ readonly name: "";
1383
+ readonly type: "address";
1384
+ readonly internalType: "contract ICapabilityRegistry";
1385
+ }];
1386
+ readonly stateMutability: "view";
1387
+ }, {
1388
+ readonly type: "function";
1389
+ readonly name: "exists";
1390
+ readonly inputs: readonly [{
1391
+ readonly name: "contextId";
1392
+ readonly type: "bytes32";
1393
+ readonly internalType: "bytes32";
1394
+ }];
1395
+ readonly outputs: readonly [{
1396
+ readonly name: "";
1397
+ readonly type: "bool";
1398
+ readonly internalType: "bool";
1399
+ }];
1400
+ readonly stateMutability: "view";
1401
+ }, {
1402
+ readonly type: "function";
1403
+ readonly name: "getRecord";
1404
+ readonly inputs: readonly [{
1405
+ readonly name: "contextId";
1406
+ readonly type: "bytes32";
1407
+ readonly internalType: "bytes32";
1408
+ }];
1409
+ readonly outputs: readonly [{
1410
+ readonly name: "record";
1411
+ readonly type: "tuple";
1412
+ readonly internalType: "struct ContextRegistry.ContextRecord";
1413
+ readonly components: readonly [{
1414
+ readonly name: "contextId";
1415
+ readonly type: "bytes32";
1416
+ readonly internalType: "bytes32";
1417
+ }, {
1418
+ readonly name: "owner";
1419
+ readonly type: "address";
1420
+ readonly internalType: "address";
1421
+ }, {
1422
+ readonly name: "author";
1423
+ readonly type: "bytes32";
1424
+ readonly internalType: "bytes32";
1425
+ }, {
1426
+ readonly name: "namespaceId";
1427
+ readonly type: "bytes32";
1428
+ readonly internalType: "bytes32";
1429
+ }, {
1430
+ readonly name: "lineageId";
1431
+ readonly type: "bytes32";
1432
+ readonly internalType: "bytes32";
1433
+ }, {
1434
+ readonly name: "parentId";
1435
+ readonly type: "bytes32";
1436
+ readonly internalType: "bytes32";
1437
+ }, {
1438
+ readonly name: "manifestHash";
1439
+ readonly type: "bytes32";
1440
+ readonly internalType: "bytes32";
1441
+ }, {
1442
+ readonly name: "ciphertextCommitment";
1443
+ readonly type: "bytes32";
1444
+ readonly internalType: "bytes32";
1445
+ }, {
1446
+ readonly name: "evidenceCommitment";
1447
+ readonly type: "bytes32";
1448
+ readonly internalType: "bytes32";
1449
+ }, {
1450
+ readonly name: "readEpoch";
1451
+ readonly type: "uint64";
1452
+ readonly internalType: "uint64";
1453
+ }, {
1454
+ readonly name: "createdAt";
1455
+ readonly type: "uint64";
1456
+ readonly internalType: "uint64";
1457
+ }, {
1458
+ readonly name: "expiresAt";
1459
+ readonly type: "uint64";
1460
+ readonly internalType: "uint64";
1461
+ }, {
1462
+ readonly name: "version";
1463
+ readonly type: "uint32";
1464
+ readonly internalType: "uint32";
1465
+ }, {
1466
+ readonly name: "recordType";
1467
+ readonly type: "uint8";
1468
+ readonly internalType: "uint8";
1469
+ }, {
1470
+ readonly name: "lineagePolicy";
1471
+ readonly type: "uint8";
1472
+ readonly internalType: "uint8";
1473
+ }, {
1474
+ readonly name: "kind";
1475
+ readonly type: "uint8";
1476
+ readonly internalType: "uint8";
1477
+ }, {
1478
+ readonly name: "provenanceSource";
1479
+ readonly type: "uint8";
1480
+ readonly internalType: "uint8";
1481
+ }];
1482
+ }];
1483
+ readonly stateMutability: "view";
1484
+ }, {
1485
+ readonly type: "function";
1486
+ readonly name: "latest";
1487
+ readonly inputs: readonly [{
1488
+ readonly name: "lineageId";
1489
+ readonly type: "bytes32";
1490
+ readonly internalType: "bytes32";
1491
+ }];
1492
+ readonly outputs: readonly [{
1493
+ readonly name: "";
1494
+ readonly type: "bytes32";
1495
+ readonly internalType: "bytes32";
1496
+ }];
1497
+ readonly stateMutability: "view";
1498
+ }, {
1499
+ readonly type: "function";
1500
+ readonly name: "register";
1501
+ readonly inputs: readonly [{
1502
+ readonly name: "owner";
1503
+ readonly type: "address";
1504
+ readonly internalType: "address";
1505
+ }, {
1506
+ readonly name: "inputs";
1507
+ readonly type: "tuple[]";
1508
+ readonly internalType: "struct ContextRegistry.ContextInput[]";
1509
+ readonly components: readonly [{
1510
+ readonly name: "contextId";
1511
+ readonly type: "bytes32";
1512
+ readonly internalType: "bytes32";
1513
+ }, {
1514
+ readonly name: "objectNonce";
1515
+ readonly type: "bytes32";
1516
+ readonly internalType: "bytes32";
1517
+ }, {
1518
+ readonly name: "namespaceId";
1519
+ readonly type: "bytes32";
1520
+ readonly internalType: "bytes32";
1521
+ }, {
1522
+ readonly name: "expectedParentId";
1523
+ readonly type: "bytes32";
1524
+ readonly internalType: "bytes32";
1525
+ }, {
1526
+ readonly name: "manifestHash";
1527
+ readonly type: "bytes32";
1528
+ readonly internalType: "bytes32";
1529
+ }, {
1530
+ readonly name: "ciphertextCommitment";
1531
+ readonly type: "bytes32";
1532
+ readonly internalType: "bytes32";
1533
+ }, {
1534
+ readonly name: "evidenceCommitment";
1535
+ readonly type: "bytes32";
1536
+ readonly internalType: "bytes32";
1537
+ }, {
1538
+ readonly name: "readEpoch";
1539
+ readonly type: "uint64";
1540
+ readonly internalType: "uint64";
1541
+ }, {
1542
+ readonly name: "expiresAt";
1543
+ readonly type: "uint64";
1544
+ readonly internalType: "uint64";
1545
+ }, {
1546
+ readonly name: "recordType";
1547
+ readonly type: "uint8";
1548
+ readonly internalType: "uint8";
1549
+ }, {
1550
+ readonly name: "lineagePolicy";
1551
+ readonly type: "uint8";
1552
+ readonly internalType: "uint8";
1553
+ }, {
1554
+ readonly name: "kind";
1555
+ readonly type: "uint8";
1556
+ readonly internalType: "uint8";
1557
+ }, {
1558
+ readonly name: "provenanceSource";
1559
+ readonly type: "uint8";
1560
+ readonly internalType: "uint8";
1561
+ }];
1562
+ }];
1563
+ readonly outputs: readonly [{
1564
+ readonly name: "contextIds";
1565
+ readonly type: "bytes32[]";
1566
+ readonly internalType: "bytes32[]";
1567
+ }];
1568
+ readonly stateMutability: "nonpayable";
1569
+ }, {
1570
+ readonly type: "event";
1571
+ readonly name: "ContextRegistered";
1572
+ readonly inputs: readonly [{
1573
+ readonly name: "owner";
1574
+ readonly type: "address";
1575
+ readonly indexed: true;
1576
+ readonly internalType: "address";
1577
+ }, {
1578
+ readonly name: "namespaceId";
1579
+ readonly type: "bytes32";
1580
+ readonly indexed: true;
1581
+ readonly internalType: "bytes32";
1582
+ }, {
1583
+ readonly name: "contextId";
1584
+ readonly type: "bytes32";
1585
+ readonly indexed: true;
1586
+ readonly internalType: "bytes32";
1587
+ }, {
1588
+ readonly name: "record";
1589
+ readonly type: "tuple";
1590
+ readonly indexed: false;
1591
+ readonly internalType: "struct ContextRegistry.ContextRecord";
1592
+ readonly components: readonly [{
1593
+ readonly name: "contextId";
1594
+ readonly type: "bytes32";
1595
+ readonly internalType: "bytes32";
1596
+ }, {
1597
+ readonly name: "owner";
1598
+ readonly type: "address";
1599
+ readonly internalType: "address";
1600
+ }, {
1601
+ readonly name: "author";
1602
+ readonly type: "bytes32";
1603
+ readonly internalType: "bytes32";
1604
+ }, {
1605
+ readonly name: "namespaceId";
1606
+ readonly type: "bytes32";
1607
+ readonly internalType: "bytes32";
1608
+ }, {
1609
+ readonly name: "lineageId";
1610
+ readonly type: "bytes32";
1611
+ readonly internalType: "bytes32";
1612
+ }, {
1613
+ readonly name: "parentId";
1614
+ readonly type: "bytes32";
1615
+ readonly internalType: "bytes32";
1616
+ }, {
1617
+ readonly name: "manifestHash";
1618
+ readonly type: "bytes32";
1619
+ readonly internalType: "bytes32";
1620
+ }, {
1621
+ readonly name: "ciphertextCommitment";
1622
+ readonly type: "bytes32";
1623
+ readonly internalType: "bytes32";
1624
+ }, {
1625
+ readonly name: "evidenceCommitment";
1626
+ readonly type: "bytes32";
1627
+ readonly internalType: "bytes32";
1628
+ }, {
1629
+ readonly name: "readEpoch";
1630
+ readonly type: "uint64";
1631
+ readonly internalType: "uint64";
1632
+ }, {
1633
+ readonly name: "createdAt";
1634
+ readonly type: "uint64";
1635
+ readonly internalType: "uint64";
1636
+ }, {
1637
+ readonly name: "expiresAt";
1638
+ readonly type: "uint64";
1639
+ readonly internalType: "uint64";
1640
+ }, {
1641
+ readonly name: "version";
1642
+ readonly type: "uint32";
1643
+ readonly internalType: "uint32";
1644
+ }, {
1645
+ readonly name: "recordType";
1646
+ readonly type: "uint8";
1647
+ readonly internalType: "uint8";
1648
+ }, {
1649
+ readonly name: "lineagePolicy";
1650
+ readonly type: "uint8";
1651
+ readonly internalType: "uint8";
1652
+ }, {
1653
+ readonly name: "kind";
1654
+ readonly type: "uint8";
1655
+ readonly internalType: "uint8";
1656
+ }, {
1657
+ readonly name: "provenanceSource";
1658
+ readonly type: "uint8";
1659
+ readonly internalType: "uint8";
1660
+ }];
1661
+ }];
1662
+ readonly anonymous: false;
1663
+ }, {
1664
+ readonly type: "event";
1665
+ readonly name: "ContextSuperseded";
1666
+ readonly inputs: readonly [{
1667
+ readonly name: "owner";
1668
+ readonly type: "address";
1669
+ readonly indexed: true;
1670
+ readonly internalType: "address";
1671
+ }, {
1672
+ readonly name: "lineageId";
1673
+ readonly type: "bytes32";
1674
+ readonly indexed: true;
1675
+ readonly internalType: "bytes32";
1676
+ }, {
1677
+ readonly name: "contextId";
1678
+ readonly type: "bytes32";
1679
+ readonly indexed: true;
1680
+ readonly internalType: "bytes32";
1681
+ }, {
1682
+ readonly name: "parentId";
1683
+ readonly type: "bytes32";
1684
+ readonly indexed: false;
1685
+ readonly internalType: "bytes32";
1686
+ }, {
1687
+ readonly name: "version";
1688
+ readonly type: "uint32";
1689
+ readonly indexed: false;
1690
+ readonly internalType: "uint32";
1691
+ }];
1692
+ readonly anonymous: false;
1693
+ }, {
1694
+ readonly type: "event";
1695
+ readonly name: "EvidenceRegistered";
1696
+ readonly inputs: readonly [{
1697
+ readonly name: "owner";
1698
+ readonly type: "address";
1699
+ readonly indexed: true;
1700
+ readonly internalType: "address";
1701
+ }, {
1702
+ readonly name: "namespaceId";
1703
+ readonly type: "bytes32";
1704
+ readonly indexed: true;
1705
+ readonly internalType: "bytes32";
1706
+ }, {
1707
+ readonly name: "contextId";
1708
+ readonly type: "bytes32";
1709
+ readonly indexed: true;
1710
+ readonly internalType: "bytes32";
1711
+ }, {
1712
+ readonly name: "author";
1713
+ readonly type: "bytes32";
1714
+ readonly indexed: false;
1715
+ readonly internalType: "bytes32";
1716
+ }, {
1717
+ readonly name: "manifestHash";
1718
+ readonly type: "bytes32";
1719
+ readonly indexed: false;
1720
+ readonly internalType: "bytes32";
1721
+ }];
1722
+ readonly anonymous: false;
1723
+ }, {
1724
+ readonly type: "error";
1725
+ readonly name: "AnchorOwnerOnly";
1726
+ readonly inputs: readonly [];
1727
+ }, {
1728
+ readonly type: "error";
1729
+ readonly name: "CapabilityDenied";
1730
+ readonly inputs: readonly [];
1731
+ }, {
1732
+ readonly type: "error";
1733
+ readonly name: "ContextIdMismatch";
1734
+ readonly inputs: readonly [{
1735
+ readonly name: "expected";
1736
+ readonly type: "bytes32";
1737
+ readonly internalType: "bytes32";
1738
+ }, {
1739
+ readonly name: "submitted";
1740
+ readonly type: "bytes32";
1741
+ readonly internalType: "bytes32";
1742
+ }];
1743
+ }, {
1744
+ readonly type: "error";
1745
+ readonly name: "ContextNotFound";
1746
+ readonly inputs: readonly [{
1747
+ readonly name: "contextId";
1748
+ readonly type: "bytes32";
1749
+ readonly internalType: "bytes32";
1750
+ }];
1751
+ }, {
1752
+ readonly type: "error";
1753
+ readonly name: "DuplicateContext";
1754
+ readonly inputs: readonly [{
1755
+ readonly name: "contextId";
1756
+ readonly type: "bytes32";
1757
+ readonly internalType: "bytes32";
1758
+ }];
1759
+ }, {
1760
+ readonly type: "error";
1761
+ readonly name: "EmptyBatch";
1762
+ readonly inputs: readonly [];
1763
+ }, {
1764
+ readonly type: "error";
1765
+ readonly name: "EpochRotationRequired";
1766
+ readonly inputs: readonly [{
1767
+ readonly name: "namespaceId";
1768
+ readonly type: "bytes32";
1769
+ readonly internalType: "bytes32";
1770
+ }, {
1771
+ readonly name: "epoch";
1772
+ readonly type: "uint64";
1773
+ readonly internalType: "uint64";
1774
+ }];
1775
+ }, {
1776
+ readonly type: "error";
1777
+ readonly name: "EpochStale";
1778
+ readonly inputs: readonly [{
1779
+ readonly name: "namespaceId";
1780
+ readonly type: "bytes32";
1781
+ readonly internalType: "bytes32";
1782
+ }, {
1783
+ readonly name: "submitted";
1784
+ readonly type: "uint64";
1785
+ readonly internalType: "uint64";
1786
+ }, {
1787
+ readonly name: "required";
1788
+ readonly type: "uint64";
1789
+ readonly internalType: "uint64";
1790
+ }];
1791
+ }, {
1792
+ readonly type: "error";
1793
+ readonly name: "EvidenceImmutable";
1794
+ readonly inputs: readonly [{
1795
+ readonly name: "parentId";
1796
+ readonly type: "bytes32";
1797
+ readonly internalType: "bytes32";
1798
+ }];
1799
+ }, {
1800
+ readonly type: "error";
1801
+ readonly name: "InvalidNamespace";
1802
+ readonly inputs: readonly [{
1803
+ readonly name: "namespaceId";
1804
+ readonly type: "bytes32";
1805
+ readonly internalType: "bytes32";
1806
+ }];
1807
+ }, {
1808
+ readonly type: "error";
1809
+ readonly name: "InvalidRecord";
1810
+ readonly inputs: readonly [{
1811
+ readonly name: "contextId";
1812
+ readonly type: "bytes32";
1813
+ readonly internalType: "bytes32";
1814
+ }];
1815
+ }, {
1816
+ readonly type: "error";
1817
+ readonly name: "ParentMismatch";
1818
+ readonly inputs: readonly [{
1819
+ readonly name: "parentId";
1820
+ readonly type: "bytes32";
1821
+ readonly internalType: "bytes32";
1822
+ }];
1823
+ }, {
1824
+ readonly type: "error";
1825
+ readonly name: "ProvenanceForbidden";
1826
+ readonly inputs: readonly [];
1827
+ }, {
1828
+ readonly type: "error";
1829
+ readonly name: "StaleParent";
1830
+ readonly inputs: readonly [{
1831
+ readonly name: "expectedParentId";
1832
+ readonly type: "bytes32";
1833
+ readonly internalType: "bytes32";
1834
+ }, {
1835
+ readonly name: "currentHead";
1836
+ readonly type: "bytes32";
1837
+ readonly internalType: "bytes32";
1838
+ }];
1839
+ }, {
1840
+ readonly type: "error";
1841
+ readonly name: "ZeroRegistry";
1842
+ readonly inputs: readonly [];
1843
+ }];
1844
+ export declare const batchAnchorAbi: readonly [{
1845
+ readonly type: "constructor";
1846
+ readonly inputs: readonly [{
1847
+ readonly name: "capabilityRegistry";
1848
+ readonly type: "address";
1849
+ readonly internalType: "contract ICapabilityRegistry";
1850
+ }];
1851
+ readonly stateMutability: "nonpayable";
1852
+ }, {
1853
+ readonly type: "function";
1854
+ readonly name: "CAPABILITY_REGISTRY";
1855
+ readonly inputs: readonly [];
1856
+ readonly outputs: readonly [{
1857
+ readonly name: "";
1858
+ readonly type: "address";
1859
+ readonly internalType: "contract ICapabilityRegistry";
1860
+ }];
1861
+ readonly stateMutability: "view";
1862
+ }, {
1863
+ readonly type: "function";
1864
+ readonly name: "MAX_BATCH";
1865
+ readonly inputs: readonly [];
1866
+ readonly outputs: readonly [{
1867
+ readonly name: "";
1868
+ readonly type: "uint256";
1869
+ readonly internalType: "uint256";
1870
+ }];
1871
+ readonly stateMutability: "view";
1872
+ }, {
1873
+ readonly type: "function";
1874
+ readonly name: "batchOf";
1875
+ readonly inputs: readonly [{
1876
+ readonly name: "batchId";
1877
+ readonly type: "bytes32";
1878
+ readonly internalType: "bytes32";
1879
+ }];
1880
+ readonly outputs: readonly [{
1881
+ readonly name: "root";
1882
+ readonly type: "bytes32";
1883
+ readonly internalType: "bytes32";
1884
+ }, {
1885
+ readonly name: "blockNumber";
1886
+ readonly type: "uint64";
1887
+ readonly internalType: "uint64";
1888
+ }, {
1889
+ readonly name: "acceptedCount";
1890
+ readonly type: "uint32";
1891
+ readonly internalType: "uint32";
1892
+ }];
1893
+ readonly stateMutability: "view";
1894
+ }, {
1895
+ readonly type: "function";
1896
+ readonly name: "hasBatchedSaves";
1897
+ readonly inputs: readonly [{
1898
+ readonly name: "owner";
1899
+ readonly type: "address";
1900
+ readonly internalType: "address";
1901
+ }];
1902
+ readonly outputs: readonly [{
1903
+ readonly name: "";
1904
+ readonly type: "bool";
1905
+ readonly internalType: "bool";
1906
+ }];
1907
+ readonly stateMutability: "view";
1908
+ }, {
1909
+ readonly type: "function";
1910
+ readonly name: "headCommitOf";
1911
+ readonly inputs: readonly [{
1912
+ readonly name: "lineageId";
1913
+ readonly type: "bytes32";
1914
+ readonly internalType: "bytes32";
1915
+ }];
1916
+ readonly outputs: readonly [{
1917
+ readonly name: "";
1918
+ readonly type: "bytes32";
1919
+ readonly internalType: "bytes32";
1920
+ }];
1921
+ readonly stateMutability: "view";
1922
+ }, {
1923
+ readonly type: "function";
1924
+ readonly name: "submitBatch";
1925
+ readonly inputs: readonly [{
1926
+ readonly name: "batchId";
1927
+ readonly type: "bytes32";
1928
+ readonly internalType: "bytes32";
1929
+ }, {
1930
+ readonly name: "saves";
1931
+ readonly type: "tuple[]";
1932
+ readonly internalType: "struct BatchAnchor.SignedSave[]";
1933
+ readonly components: readonly [{
1934
+ readonly name: "owner";
1935
+ readonly type: "address";
1936
+ readonly internalType: "address";
1937
+ }, {
1938
+ readonly name: "namespaceId";
1939
+ readonly type: "bytes32";
1940
+ readonly internalType: "bytes32";
1941
+ }, {
1942
+ readonly name: "objectNonce";
1943
+ readonly type: "bytes32";
1944
+ readonly internalType: "bytes32";
1945
+ }, {
1946
+ readonly name: "lineageId";
1947
+ readonly type: "bytes32";
1948
+ readonly internalType: "bytes32";
1949
+ }, {
1950
+ readonly name: "parentId";
1951
+ readonly type: "bytes32";
1952
+ readonly internalType: "bytes32";
1953
+ }, {
1954
+ readonly name: "parentVersion";
1955
+ readonly type: "uint32";
1956
+ readonly internalType: "uint32";
1957
+ }, {
1958
+ readonly name: "rootAuthor";
1959
+ readonly type: "bytes32";
1960
+ readonly internalType: "bytes32";
1961
+ }, {
1962
+ readonly name: "manifestHash";
1963
+ readonly type: "bytes32";
1964
+ readonly internalType: "bytes32";
1965
+ }, {
1966
+ readonly name: "ciphertextCommitment";
1967
+ readonly type: "bytes32";
1968
+ readonly internalType: "bytes32";
1969
+ }, {
1970
+ readonly name: "readEpoch";
1971
+ readonly type: "uint64";
1972
+ readonly internalType: "uint64";
1973
+ }, {
1974
+ readonly name: "expiresAt";
1975
+ readonly type: "uint64";
1976
+ readonly internalType: "uint64";
1977
+ }, {
1978
+ readonly name: "kind";
1979
+ readonly type: "uint8";
1980
+ readonly internalType: "uint8";
1981
+ }, {
1982
+ readonly name: "provenanceSource";
1983
+ readonly type: "uint8";
1984
+ readonly internalType: "uint8";
1985
+ }, {
1986
+ readonly name: "signature";
1987
+ readonly type: "bytes";
1988
+ readonly internalType: "bytes";
1989
+ }];
1990
+ }];
1991
+ readonly outputs: readonly [{
1992
+ readonly name: "root";
1993
+ readonly type: "bytes32";
1994
+ readonly internalType: "bytes32";
1995
+ }, {
1996
+ readonly name: "acceptedCount";
1997
+ readonly type: "uint32";
1998
+ readonly internalType: "uint32";
1999
+ }];
2000
+ readonly stateMutability: "nonpayable";
2001
+ }, {
2002
+ readonly type: "event";
2003
+ readonly name: "BatchAnchored";
2004
+ readonly inputs: readonly [{
2005
+ readonly name: "batchId";
2006
+ readonly type: "bytes32";
2007
+ readonly indexed: true;
2008
+ readonly internalType: "bytes32";
2009
+ }, {
2010
+ readonly name: "root";
2011
+ readonly type: "bytes32";
2012
+ readonly indexed: false;
2013
+ readonly internalType: "bytes32";
2014
+ }, {
2015
+ readonly name: "acceptedCount";
2016
+ readonly type: "uint32";
2017
+ readonly indexed: false;
2018
+ readonly internalType: "uint32";
2019
+ }, {
2020
+ readonly name: "rejectedCount";
2021
+ readonly type: "uint32";
2022
+ readonly indexed: false;
2023
+ readonly internalType: "uint32";
2024
+ }, {
2025
+ readonly name: "submitter";
2026
+ readonly type: "address";
2027
+ readonly indexed: false;
2028
+ readonly internalType: "address";
2029
+ }];
2030
+ readonly anonymous: false;
2031
+ }, {
2032
+ readonly type: "event";
2033
+ readonly name: "SaveAnchored";
2034
+ readonly inputs: readonly [{
2035
+ readonly name: "owner";
2036
+ readonly type: "address";
2037
+ readonly indexed: true;
2038
+ readonly internalType: "address";
2039
+ }, {
2040
+ readonly name: "contextId";
2041
+ readonly type: "bytes32";
2042
+ readonly indexed: true;
2043
+ readonly internalType: "bytes32";
2044
+ }, {
2045
+ readonly name: "batchId";
2046
+ readonly type: "bytes32";
2047
+ readonly indexed: true;
2048
+ readonly internalType: "bytes32";
2049
+ }, {
2050
+ readonly name: "namespaceId";
2051
+ readonly type: "bytes32";
2052
+ readonly indexed: false;
2053
+ readonly internalType: "bytes32";
2054
+ }, {
2055
+ readonly name: "lineageId";
2056
+ readonly type: "bytes32";
2057
+ readonly indexed: false;
2058
+ readonly internalType: "bytes32";
2059
+ }, {
2060
+ readonly name: "version";
2061
+ readonly type: "uint32";
2062
+ readonly indexed: false;
2063
+ readonly internalType: "uint32";
2064
+ }, {
2065
+ readonly name: "author";
2066
+ readonly type: "bytes32";
2067
+ readonly indexed: false;
2068
+ readonly internalType: "bytes32";
2069
+ }, {
2070
+ readonly name: "position";
2071
+ readonly type: "uint32";
2072
+ readonly indexed: false;
2073
+ readonly internalType: "uint32";
2074
+ }, {
2075
+ readonly name: "leafHash";
2076
+ readonly type: "bytes32";
2077
+ readonly indexed: false;
2078
+ readonly internalType: "bytes32";
2079
+ }];
2080
+ readonly anonymous: false;
2081
+ }, {
2082
+ readonly type: "event";
2083
+ readonly name: "SaveRejected";
2084
+ readonly inputs: readonly [{
2085
+ readonly name: "batchId";
2086
+ readonly type: "bytes32";
2087
+ readonly indexed: true;
2088
+ readonly internalType: "bytes32";
2089
+ }, {
2090
+ readonly name: "index";
2091
+ readonly type: "uint32";
2092
+ readonly indexed: false;
2093
+ readonly internalType: "uint32";
2094
+ }, {
2095
+ readonly name: "reason";
2096
+ readonly type: "uint8";
2097
+ readonly indexed: false;
2098
+ readonly internalType: "uint8";
2099
+ }];
2100
+ readonly anonymous: false;
2101
+ }, {
2102
+ readonly type: "error";
2103
+ readonly name: "BatchExists";
2104
+ readonly inputs: readonly [{
2105
+ readonly name: "batchId";
2106
+ readonly type: "bytes32";
2107
+ readonly internalType: "bytes32";
2108
+ }];
2109
+ }, {
2110
+ readonly type: "error";
2111
+ readonly name: "BatchTooLarge";
2112
+ readonly inputs: readonly [{
2113
+ readonly name: "size";
2114
+ readonly type: "uint256";
2115
+ readonly internalType: "uint256";
2116
+ }];
2117
+ }, {
2118
+ readonly type: "error";
2119
+ readonly name: "EmptyBatch";
2120
+ readonly inputs: readonly [];
2121
+ }, {
2122
+ readonly type: "error";
2123
+ readonly name: "ZeroRegistry";
2124
+ readonly inputs: readonly [];
2125
+ }];