@inco/js 0.9.0-devnet-test-10 → 0.10.0-devnet-2

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 (226) hide show
  1. package/README.md +503 -47
  2. package/dist/cjs/advancedacl/session-key.d.ts +5 -5
  3. package/dist/cjs/advancedacl/session-key.js +33 -9
  4. package/dist/cjs/attestedcompute/attested-compute.d.ts +1 -2
  5. package/dist/cjs/attestedcompute/attested-compute.js +15 -7
  6. package/dist/cjs/attesteddecrypt/attested-decrypt.d.ts +5 -43
  7. package/dist/cjs/attesteddecrypt/attested-decrypt.js +33 -96
  8. package/dist/cjs/attestedreveal/attested-reveal.d.ts +21 -0
  9. package/dist/cjs/attestedreveal/attested-reveal.js +31 -0
  10. package/dist/cjs/attestedreveal/index.d.ts +2 -0
  11. package/dist/cjs/attestedreveal/index.js +21 -0
  12. package/dist/cjs/attestedreveal/types.d.ts +4 -0
  13. package/dist/cjs/attestedreveal/types.js +13 -0
  14. package/dist/cjs/binary.d.ts +82 -0
  15. package/dist/cjs/binary.js +87 -5
  16. package/dist/cjs/chain.d.ts +29 -4
  17. package/dist/cjs/chain.js +34 -6
  18. package/dist/cjs/eip712/eip712.d.ts +18 -0
  19. package/dist/cjs/eip712/eip712.js +51 -0
  20. package/dist/cjs/eip712/index.d.ts +1 -0
  21. package/dist/cjs/eip712/index.js +8 -0
  22. package/dist/cjs/elistattesteddecrypt/elist-attested-decrypt.d.ts +49 -0
  23. package/dist/cjs/elistattesteddecrypt/elist-attested-decrypt.js +94 -0
  24. package/dist/cjs/elistattesteddecrypt/index.d.ts +2 -0
  25. package/dist/cjs/elistattesteddecrypt/index.js +22 -0
  26. package/dist/cjs/elistattesteddecrypt/types.d.ts +31 -0
  27. package/dist/cjs/elistattesteddecrypt/types.js +16 -0
  28. package/dist/cjs/encryption/encryption.d.ts +115 -0
  29. package/dist/cjs/encryption/encryption.js +98 -7
  30. package/dist/cjs/encryption/index.d.ts +1 -1
  31. package/dist/cjs/encryption/index.js +17 -16
  32. package/dist/cjs/generated/abis/lightning.d.ts +1119 -107
  33. package/dist/cjs/generated/abis/lightning.js +762 -52
  34. package/dist/cjs/generated/abis/test-elist.d.ts +20 -2
  35. package/dist/cjs/generated/abis/test-elist.js +16 -3
  36. package/dist/cjs/generated/abis/verifier.d.ts +118 -15
  37. package/dist/cjs/generated/abis/verifier.js +71 -19
  38. package/dist/cjs/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +23 -37
  39. package/dist/cjs/generated/es/inco/covalidator/compute/v1/server_pb.js +36 -41
  40. package/dist/cjs/generated/es/inco/covalidator/compute/v1/types_pb.js +1 -1
  41. package/dist/cjs/generated/es/inco/helioswrapper/v1/helioswrapper_pb.js +1 -1
  42. package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +16 -0
  43. package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.js +3 -3
  44. package/dist/cjs/generated/es/inco/kms/lite/v1/types_pb.js +1 -1
  45. package/dist/cjs/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.d.ts +7 -0
  46. package/dist/cjs/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.js +3 -3
  47. package/dist/cjs/generated/lightning.d.ts +150 -0
  48. package/dist/cjs/generated/lightning.js +157 -1
  49. package/dist/cjs/generated/local-node.d.ts +9 -9
  50. package/dist/cjs/generated/local-node.js +37 -10
  51. package/dist/cjs/handle.d.ts +72 -0
  52. package/dist/cjs/handle.js +113 -9
  53. package/dist/cjs/index.d.ts +1 -1
  54. package/dist/cjs/index.js +11 -2
  55. package/dist/cjs/kms/client.d.ts +1 -1
  56. package/dist/cjs/kms/client.js +4 -3
  57. package/dist/cjs/kms/quorumClient.d.ts +18 -12
  58. package/dist/cjs/kms/quorumClient.js +212 -231
  59. package/dist/cjs/kms/quorumConsistency.d.ts +82 -0
  60. package/dist/cjs/kms/quorumConsistency.js +269 -0
  61. package/dist/cjs/kms/signatureVerification.d.ts +35 -0
  62. package/dist/cjs/kms/signatureVerification.js +88 -0
  63. package/dist/cjs/kms/thresholdPromises.d.ts +4 -3
  64. package/dist/cjs/kms/thresholdPromises.js +25 -15
  65. package/dist/cjs/lite/attested-compute.d.ts +2 -2
  66. package/dist/cjs/lite/attested-compute.js +2 -3
  67. package/dist/cjs/lite/attested-decrypt.d.ts +2 -2
  68. package/dist/cjs/lite/attested-decrypt.js +2 -3
  69. package/dist/cjs/lite/hadu.d.ts +1 -1
  70. package/dist/cjs/lite/hadu.js +3 -3
  71. package/dist/cjs/lite/index.d.ts +6 -2
  72. package/dist/cjs/lite/index.js +8 -14
  73. package/dist/cjs/lite/lightning.d.ts +96 -47
  74. package/dist/cjs/lite/lightning.js +221 -267
  75. package/dist/cjs/lite/types.d.ts +47 -0
  76. package/dist/cjs/lite/types.js +3 -0
  77. package/dist/cjs/lite/xwing.d.ts +33 -2
  78. package/dist/cjs/lite/xwing.js +62 -7
  79. package/dist/cjs/local/local-node.d.ts +18 -0
  80. package/dist/cjs/local/local-node.js +18 -3
  81. package/dist/cjs/reencryption/eip712.d.ts +27 -0
  82. package/dist/cjs/reencryption/eip712.js +20 -7
  83. package/dist/cjs/reencryption/types.d.ts +24 -0
  84. package/dist/cjs/retry.d.ts +14 -0
  85. package/dist/cjs/retry.js +58 -2
  86. package/dist/cjs/test/mocks.d.ts +6 -1
  87. package/dist/cjs/test/mocks.js +31 -6
  88. package/dist/cjs/viem.d.ts +361 -1
  89. package/dist/cjs/viem.js +14 -1
  90. package/dist/esm/advancedacl/session-key.d.ts +5 -5
  91. package/dist/esm/advancedacl/session-key.js +33 -9
  92. package/dist/esm/attestedcompute/attested-compute.d.ts +1 -2
  93. package/dist/esm/attestedcompute/attested-compute.js +13 -5
  94. package/dist/esm/attesteddecrypt/attested-decrypt.d.ts +5 -43
  95. package/dist/esm/attesteddecrypt/attested-decrypt.js +34 -96
  96. package/dist/esm/attestedreveal/attested-reveal.d.ts +21 -0
  97. package/dist/esm/attestedreveal/attested-reveal.js +28 -0
  98. package/dist/esm/attestedreveal/index.d.ts +2 -0
  99. package/dist/esm/attestedreveal/index.js +3 -0
  100. package/dist/esm/attestedreveal/types.d.ts +4 -0
  101. package/dist/esm/attestedreveal/types.js +9 -0
  102. package/dist/esm/binary.d.ts +82 -0
  103. package/dist/esm/binary.js +87 -5
  104. package/dist/esm/chain.d.ts +29 -4
  105. package/dist/esm/chain.js +33 -5
  106. package/dist/esm/eip712/eip712.d.ts +18 -0
  107. package/dist/esm/eip712/eip712.js +46 -0
  108. package/dist/esm/eip712/index.d.ts +1 -0
  109. package/dist/esm/eip712/index.js +2 -0
  110. package/dist/esm/elistattesteddecrypt/elist-attested-decrypt.d.ts +49 -0
  111. package/dist/esm/elistattesteddecrypt/elist-attested-decrypt.js +89 -0
  112. package/dist/esm/elistattesteddecrypt/index.d.ts +2 -0
  113. package/dist/esm/elistattesteddecrypt/index.js +3 -0
  114. package/dist/esm/elistattesteddecrypt/types.d.ts +31 -0
  115. package/dist/esm/elistattesteddecrypt/types.js +12 -0
  116. package/dist/esm/encryption/encryption.d.ts +115 -0
  117. package/dist/esm/encryption/encryption.js +98 -7
  118. package/dist/esm/encryption/index.d.ts +1 -1
  119. package/dist/esm/encryption/index.js +2 -2
  120. package/dist/esm/generated/abis/lightning.d.ts +1119 -107
  121. package/dist/esm/generated/abis/lightning.js +761 -51
  122. package/dist/esm/generated/abis/test-elist.d.ts +20 -2
  123. package/dist/esm/generated/abis/test-elist.js +16 -3
  124. package/dist/esm/generated/abis/verifier.d.ts +118 -15
  125. package/dist/esm/generated/abis/verifier.js +71 -19
  126. package/dist/esm/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +23 -37
  127. package/dist/esm/generated/es/inco/covalidator/compute/v1/server_pb.js +35 -40
  128. package/dist/esm/generated/es/inco/covalidator/compute/v1/types_pb.js +1 -1
  129. package/dist/esm/generated/es/inco/helioswrapper/v1/helioswrapper_pb.js +1 -1
  130. package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +16 -0
  131. package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.js +3 -3
  132. package/dist/esm/generated/es/inco/kms/lite/v1/types_pb.js +1 -1
  133. package/dist/esm/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.d.ts +7 -0
  134. package/dist/esm/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.js +3 -3
  135. package/dist/esm/generated/lightning.d.ts +150 -0
  136. package/dist/esm/generated/lightning.js +157 -1
  137. package/dist/esm/generated/local-node.d.ts +9 -9
  138. package/dist/esm/generated/local-node.js +37 -10
  139. package/dist/esm/handle.d.ts +72 -0
  140. package/dist/esm/handle.js +110 -8
  141. package/dist/esm/index.d.ts +1 -1
  142. package/dist/esm/index.js +2 -2
  143. package/dist/esm/kms/client.d.ts +1 -1
  144. package/dist/esm/kms/client.js +3 -2
  145. package/dist/esm/kms/quorumClient.d.ts +18 -12
  146. package/dist/esm/kms/quorumClient.js +213 -232
  147. package/dist/esm/kms/quorumConsistency.d.ts +82 -0
  148. package/dist/esm/kms/quorumConsistency.js +260 -0
  149. package/dist/esm/kms/signatureVerification.d.ts +35 -0
  150. package/dist/esm/kms/signatureVerification.js +84 -0
  151. package/dist/esm/kms/thresholdPromises.d.ts +4 -3
  152. package/dist/esm/kms/thresholdPromises.js +25 -15
  153. package/dist/esm/lite/attested-compute.d.ts +2 -2
  154. package/dist/esm/lite/attested-compute.js +3 -3
  155. package/dist/esm/lite/attested-decrypt.d.ts +2 -2
  156. package/dist/esm/lite/attested-decrypt.js +3 -3
  157. package/dist/esm/lite/hadu.d.ts +1 -1
  158. package/dist/esm/lite/hadu.js +2 -2
  159. package/dist/esm/lite/index.d.ts +6 -2
  160. package/dist/esm/lite/index.js +5 -3
  161. package/dist/esm/lite/lightning.d.ts +96 -47
  162. package/dist/esm/lite/lightning.js +217 -263
  163. package/dist/esm/lite/types.d.ts +47 -0
  164. package/dist/esm/lite/types.js +2 -0
  165. package/dist/esm/lite/xwing.d.ts +33 -2
  166. package/dist/esm/lite/xwing.js +59 -7
  167. package/dist/esm/local/local-node.d.ts +18 -0
  168. package/dist/esm/local/local-node.js +18 -3
  169. package/dist/esm/reencryption/eip712.d.ts +27 -0
  170. package/dist/esm/reencryption/eip712.js +20 -7
  171. package/dist/esm/reencryption/types.d.ts +24 -0
  172. package/dist/esm/retry.d.ts +14 -0
  173. package/dist/esm/retry.js +56 -2
  174. package/dist/esm/test/mocks.d.ts +6 -1
  175. package/dist/esm/test/mocks.js +31 -8
  176. package/dist/esm/viem.d.ts +361 -1
  177. package/dist/esm/viem.js +15 -2
  178. package/dist/types/advancedacl/session-key.d.ts +5 -5
  179. package/dist/types/attestedcompute/attested-compute.d.ts +1 -2
  180. package/dist/types/attesteddecrypt/attested-decrypt.d.ts +5 -43
  181. package/dist/types/attestedreveal/attested-reveal.d.ts +21 -0
  182. package/dist/types/attestedreveal/index.d.ts +2 -0
  183. package/dist/types/attestedreveal/types.d.ts +4 -0
  184. package/dist/types/binary.d.ts +82 -0
  185. package/dist/types/chain.d.ts +29 -4
  186. package/dist/types/eip712/eip712.d.ts +18 -0
  187. package/dist/types/eip712/index.d.ts +1 -0
  188. package/dist/types/elistattesteddecrypt/elist-attested-decrypt.d.ts +49 -0
  189. package/dist/types/elistattesteddecrypt/index.d.ts +2 -0
  190. package/dist/types/elistattesteddecrypt/types.d.ts +31 -0
  191. package/dist/types/encryption/encryption.d.ts +115 -0
  192. package/dist/types/encryption/index.d.ts +1 -1
  193. package/dist/types/generated/abis/lightning.d.ts +1119 -107
  194. package/dist/types/generated/abis/test-elist.d.ts +20 -2
  195. package/dist/types/generated/abis/verifier.d.ts +118 -15
  196. package/dist/types/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +23 -37
  197. package/dist/types/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +16 -0
  198. package/dist/types/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.d.ts +7 -0
  199. package/dist/types/generated/lightning.d.ts +150 -0
  200. package/dist/types/generated/local-node.d.ts +9 -9
  201. package/dist/types/handle.d.ts +72 -0
  202. package/dist/types/index.d.ts +1 -1
  203. package/dist/types/kms/client.d.ts +1 -1
  204. package/dist/types/kms/quorumClient.d.ts +18 -12
  205. package/dist/types/kms/quorumConsistency.d.ts +82 -0
  206. package/dist/types/kms/signatureVerification.d.ts +35 -0
  207. package/dist/types/kms/thresholdPromises.d.ts +4 -3
  208. package/dist/types/lite/attested-compute.d.ts +2 -2
  209. package/dist/types/lite/attested-decrypt.d.ts +2 -2
  210. package/dist/types/lite/hadu.d.ts +1 -1
  211. package/dist/types/lite/index.d.ts +6 -2
  212. package/dist/types/lite/lightning.d.ts +96 -47
  213. package/dist/types/lite/types.d.ts +47 -0
  214. package/dist/types/lite/xwing.d.ts +33 -2
  215. package/dist/types/local/local-node.d.ts +18 -0
  216. package/dist/types/reencryption/eip712.d.ts +27 -0
  217. package/dist/types/reencryption/types.d.ts +24 -0
  218. package/dist/types/retry.d.ts +14 -0
  219. package/dist/types/test/mocks.d.ts +6 -1
  220. package/dist/types/viem.d.ts +361 -1
  221. package/package.json +19 -21
  222. package/dist/cjs/generated/abis/lightning-preview.d.ts +0 -1385
  223. package/dist/cjs/generated/abis/lightning-preview.js +0 -857
  224. package/dist/esm/generated/abis/lightning-preview.d.ts +0 -1385
  225. package/dist/esm/generated/abis/lightning-preview.js +0 -854
  226. package/dist/types/generated/abis/lightning-preview.d.ts +0 -1385
@@ -2,7 +2,7 @@ export declare const elistTesterAbi: readonly [{
2
2
  readonly type: "constructor";
3
3
  readonly inputs: readonly [{
4
4
  readonly name: "_inco";
5
- readonly internalType: "contract IIncoLightningPreview";
5
+ readonly internalType: "contract IIncoLightning";
6
6
  readonly type: "address";
7
7
  }];
8
8
  readonly stateMutability: "nonpayable";
@@ -129,6 +129,10 @@ export declare const elistTesterAbi: readonly [{
129
129
  readonly name: "end";
130
130
  readonly internalType: "uint16";
131
131
  readonly type: "uint16";
132
+ }, {
133
+ readonly name: "listType";
134
+ readonly internalType: "enum ETypes";
135
+ readonly type: "uint8";
132
136
  }];
133
137
  readonly name: "listRange";
134
138
  readonly outputs: readonly [{
@@ -136,6 +140,12 @@ export declare const elistTesterAbi: readonly [{
136
140
  readonly internalType: "elist";
137
141
  readonly type: "bytes32";
138
142
  }];
143
+ readonly stateMutability: "payable";
144
+ }, {
145
+ readonly type: "function";
146
+ readonly inputs: readonly [];
147
+ readonly name: "listReveal";
148
+ readonly outputs: readonly [];
139
149
  readonly stateMutability: "nonpayable";
140
150
  }, {
141
151
  readonly type: "function";
@@ -146,7 +156,7 @@ export declare const elistTesterAbi: readonly [{
146
156
  readonly internalType: "elist";
147
157
  readonly type: "bytes32";
148
158
  }];
149
- readonly stateMutability: "nonpayable";
159
+ readonly stateMutability: "payable";
150
160
  }, {
151
161
  readonly type: "function";
152
162
  readonly inputs: readonly [{
@@ -255,4 +265,12 @@ export declare const elistTesterAbi: readonly [{
255
265
  readonly type: "error";
256
266
  readonly inputs: readonly [];
257
267
  readonly name: "RefundFailed";
268
+ }, {
269
+ readonly type: "error";
270
+ readonly inputs: readonly [{
271
+ readonly name: "actual";
272
+ readonly internalType: "enum ETypes";
273
+ readonly type: "uint8";
274
+ }];
275
+ readonly name: "UnsupportedType";
258
276
  }];
@@ -429,6 +429,76 @@ export declare const incoVerifierAbi: readonly [{
429
429
  readonly type: "bool";
430
430
  }];
431
431
  readonly stateMutability: "view";
432
+ }, {
433
+ readonly type: "function";
434
+ readonly inputs: readonly [{
435
+ readonly name: "elistHandle";
436
+ readonly internalType: "bytes32";
437
+ readonly type: "bytes32";
438
+ }, {
439
+ readonly name: "proofElements";
440
+ readonly internalType: "struct ElementAttestationWithProof[]";
441
+ readonly type: "tuple[]";
442
+ readonly components: readonly [{
443
+ readonly name: "pairHash";
444
+ readonly internalType: "bytes32";
445
+ readonly type: "bytes32";
446
+ }, {
447
+ readonly name: "commitment";
448
+ readonly internalType: "bytes32";
449
+ readonly type: "bytes32";
450
+ }, {
451
+ readonly name: "value";
452
+ readonly internalType: "bytes32";
453
+ readonly type: "bytes32";
454
+ }];
455
+ }, {
456
+ readonly name: "proof";
457
+ readonly internalType: "bytes32";
458
+ readonly type: "bytes32";
459
+ }, {
460
+ readonly name: "signatures";
461
+ readonly internalType: "bytes[]";
462
+ readonly type: "bytes[]";
463
+ }];
464
+ readonly name: "isValidEListDecryptionAttestation";
465
+ readonly outputs: readonly [{
466
+ readonly name: "";
467
+ readonly internalType: "bool";
468
+ readonly type: "bool";
469
+ }];
470
+ readonly stateMutability: "view";
471
+ }, {
472
+ readonly type: "function";
473
+ readonly inputs: readonly [{
474
+ readonly name: "attestations";
475
+ readonly internalType: "struct ReencryptionAttestation[]";
476
+ readonly type: "tuple[]";
477
+ readonly components: readonly [{
478
+ readonly name: "handle";
479
+ readonly internalType: "bytes32";
480
+ readonly type: "bytes32";
481
+ }, {
482
+ readonly name: "userCiphertext";
483
+ readonly internalType: "bytes";
484
+ readonly type: "bytes";
485
+ }, {
486
+ readonly name: "encryptedSignature";
487
+ readonly internalType: "bytes";
488
+ readonly type: "bytes";
489
+ }];
490
+ }, {
491
+ readonly name: "signatures";
492
+ readonly internalType: "bytes[]";
493
+ readonly type: "bytes[]";
494
+ }];
495
+ readonly name: "isValidReencryptionAttestation";
496
+ readonly outputs: readonly [{
497
+ readonly name: "";
498
+ readonly internalType: "bool";
499
+ readonly type: "bool";
500
+ }];
501
+ readonly stateMutability: "view";
432
502
  }, {
433
503
  readonly type: "function";
434
504
  readonly inputs: readonly [{
@@ -644,13 +714,30 @@ export declare const incoVerifierAbi: readonly [{
644
714
  }, {
645
715
  readonly type: "function";
646
716
  readonly inputs: readonly [{
647
- readonly name: "mrAggregated";
717
+ readonly name: "attestation";
718
+ readonly internalType: "struct ReencryptionAttestation";
719
+ readonly type: "tuple";
720
+ readonly components: readonly [{
721
+ readonly name: "handle";
722
+ readonly internalType: "bytes32";
723
+ readonly type: "bytes32";
724
+ }, {
725
+ readonly name: "userCiphertext";
726
+ readonly internalType: "bytes";
727
+ readonly type: "bytes";
728
+ }, {
729
+ readonly name: "encryptedSignature";
730
+ readonly internalType: "bytes";
731
+ readonly type: "bytes";
732
+ }];
733
+ }];
734
+ readonly name: "reencryptionAttestationDigest";
735
+ readonly outputs: readonly [{
736
+ readonly name: "";
648
737
  readonly internalType: "bytes32";
649
738
  readonly type: "bytes32";
650
739
  }];
651
- readonly name: "removeApprovedTeeVersion";
652
- readonly outputs: readonly [];
653
- readonly stateMutability: "nonpayable";
740
+ readonly stateMutability: "view";
654
741
  }, {
655
742
  readonly type: "function";
656
743
  readonly inputs: readonly [{
@@ -667,6 +754,12 @@ export declare const incoVerifierAbi: readonly [{
667
754
  readonly name: "renounceOwnership";
668
755
  readonly outputs: readonly [];
669
756
  readonly stateMutability: "nonpayable";
757
+ }, {
758
+ readonly type: "function";
759
+ readonly inputs: readonly [];
760
+ readonly name: "reset";
761
+ readonly outputs: readonly [];
762
+ readonly stateMutability: "nonpayable";
670
763
  }, {
671
764
  readonly type: "function";
672
765
  readonly inputs: readonly [{
@@ -689,7 +782,11 @@ export declare const incoVerifierAbi: readonly [{
689
782
  readonly stateMutability: "nonpayable";
690
783
  }, {
691
784
  readonly type: "function";
692
- readonly inputs: readonly [];
785
+ readonly inputs: readonly [{
786
+ readonly name: "salt";
787
+ readonly internalType: "bytes32";
788
+ readonly type: "bytes32";
789
+ }];
693
790
  readonly name: "updateActiveVouchersSessionNonce";
694
791
  readonly outputs: readonly [];
695
792
  readonly stateMutability: "nonpayable";
@@ -950,16 +1047,6 @@ export declare const incoVerifierAbi: readonly [{
950
1047
  readonly indexed: true;
951
1048
  }];
952
1049
  readonly name: "SignerHasUpdatedTDX";
953
- }, {
954
- readonly type: "event";
955
- readonly anonymous: false;
956
- readonly inputs: readonly [{
957
- readonly name: "mrAggregated";
958
- readonly internalType: "bytes32";
959
- readonly type: "bytes32";
960
- readonly indexed: true;
961
- }];
962
- readonly name: "TEEVersionRemoved";
963
1050
  }, {
964
1051
  readonly type: "event";
965
1052
  readonly anonymous: false;
@@ -993,6 +1080,18 @@ export declare const incoVerifierAbi: readonly [{
993
1080
  readonly type: "address";
994
1081
  }];
995
1082
  readonly name: "AddressEmptyCode";
1083
+ }, {
1084
+ readonly type: "error";
1085
+ readonly inputs: readonly [{
1086
+ readonly name: "attestationsLength";
1087
+ readonly internalType: "uint256";
1088
+ readonly type: "uint256";
1089
+ }, {
1090
+ readonly name: "signaturesLength";
1091
+ readonly internalType: "uint256";
1092
+ readonly type: "uint256";
1093
+ }];
1094
+ readonly name: "AttestationsSignaturesLengthMismatch";
996
1095
  }, {
997
1096
  readonly type: "error";
998
1097
  readonly inputs: readonly [];
@@ -1093,6 +1192,10 @@ export declare const incoVerifierAbi: readonly [{
1093
1192
  readonly type: "uint256";
1094
1193
  }];
1095
1194
  readonly name: "InvalidThreshold";
1195
+ }, {
1196
+ readonly type: "error";
1197
+ readonly inputs: readonly [];
1198
+ readonly name: "InvalidVerifyingContract";
1096
1199
  }, {
1097
1200
  readonly type: "error";
1098
1201
  readonly inputs: readonly [{
@@ -161,32 +161,6 @@ export type SingleTrivialOpRequest = Message<"inco.covalidator.compute.v1.Single
161
161
  * Use `create(SingleTrivialOpRequestSchema)` to create a new message.
162
162
  */
163
163
  export declare const SingleTrivialOpRequestSchema: GenMessage<SingleTrivialOpRequest>;
164
- /**
165
- * @generated from message inco.covalidator.compute.v1.SingleRandOpRequest
166
- */
167
- export type SingleRandOpRequest = Message<"inco.covalidator.compute.v1.SingleRandOpRequest"> & {
168
- /**
169
- * @generated from field: inco.covalidator.compute.v1.FheOperation operation = 1;
170
- */
171
- operation: FheOperation;
172
- /**
173
- * @generated from field: int32 randType = 2;
174
- */
175
- randType: number;
176
- /**
177
- * @generated from field: bytes counterRand = 3;
178
- */
179
- counterRand: Uint8Array;
180
- /**
181
- * @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 4;
182
- */
183
- configureRequest?: ConfigureRequest;
184
- };
185
- /**
186
- * Describes the message inco.covalidator.compute.v1.SingleRandOpRequest.
187
- * Use `create(SingleRandOpRequestSchema)` to create a new message.
188
- */
189
- export declare const SingleRandOpRequestSchema: GenMessage<SingleRandOpRequest>;
190
164
  /**
191
165
  * @generated from message inco.covalidator.compute.v1.SingleRandBoundedOpRequest
192
166
  */
@@ -426,7 +400,11 @@ export type SingleEListRangeOpRequest = Message<"inco.covalidator.compute.v1.Sin
426
400
  */
427
401
  end: number;
428
402
  /**
429
- * @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 3;
403
+ * @generated from field: int32 listType = 3;
404
+ */
405
+ listType: number;
406
+ /**
407
+ * @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 4;
430
408
  */
431
409
  configureRequest?: ConfigureRequest;
432
410
  };
@@ -829,6 +807,14 @@ export type EListAttestedDecryptResponse = Message<"inco.covalidator.compute.v1.
829
807
  * @generated from field: repeated inco.kms.lite.v1.EListElement values = 2;
830
808
  */
831
809
  values: EListElement[];
810
+ /**
811
+ * proof_hashes is the list of per-element proof hashes.
812
+ * proof_hashes[i] = keccak256(commitment[i] || value[i])
813
+ * The overall commitment_proof in the attestation equals keccak256(concat(proof_hashes)).
814
+ *
815
+ * @generated from field: repeated bytes proof_hashes = 3;
816
+ */
817
+ proofHashes: Uint8Array[];
832
818
  };
833
819
  /**
834
820
  * Describes the message inco.covalidator.compute.v1.EListAttestedDecryptResponse.
@@ -918,6 +904,14 @@ export type EListAttestedRevealResponse = Message<"inco.covalidator.compute.v1.E
918
904
  * @generated from field: repeated inco.kms.lite.v1.EListElement values = 2;
919
905
  */
920
906
  values: EListElement[];
907
+ /**
908
+ * proof_hashes is the list of per-element proof hashes.
909
+ * proof_hashes[i] = keccak256(value[i])
910
+ * The overall commitment_proof in the attestation equals keccak256(concat(proof_hashes)).
911
+ *
912
+ * @generated from field: repeated bytes proof_hashes = 3;
913
+ */
914
+ proofHashes: Uint8Array[];
921
915
  };
922
916
  /**
923
917
  * Describes the message inco.covalidator.compute.v1.EListAttestedRevealResponse.
@@ -1283,8 +1277,8 @@ export declare const ComputeService: GenService<{
1283
1277
  output: typeof ConfigureResponseSchema;
1284
1278
  };
1285
1279
  /**
1286
- * InputToStoredCryptogram converts an input ciphertext into a compute
1287
- * ciphertext.
1280
+ * InputToStoredCryptogram converts a scalar input ciphertext into a compute
1281
+ * ciphertext. (elist/emap input ciphertext as a blob is currently not supported)
1288
1282
  *
1289
1283
  * # IncoLite
1290
1284
  *
@@ -1347,14 +1341,6 @@ export declare const ComputeService: GenService<{
1347
1341
  input: typeof SingleTrivialOpRequestSchema;
1348
1342
  output: typeof SingleCiphertextResponseSchema;
1349
1343
  };
1350
- /**
1351
- * @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleRandOp
1352
- */
1353
- singleRandOp: {
1354
- methodKind: "unary";
1355
- input: typeof SingleRandOpRequestSchema;
1356
- output: typeof SingleCiphertextResponseSchema;
1357
- };
1358
1344
  /**
1359
1345
  * @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleRandBoundedOp
1360
1346
  */
@@ -199,6 +199,14 @@ export type EListAttestedDecryptResponse = Message<"inco.kms.lite.v1.EListAttest
199
199
  * @generated from field: repeated inco.kms.lite.v1.EListElement values = 2;
200
200
  */
201
201
  values: EListElement[];
202
+ /**
203
+ * proof_hashes is the list of per-element proof hashes.
204
+ * proof_hashes[i] = keccak256(commitment[i] || value[i])
205
+ * The overall commitment_proof in the attestation equals keccak256(concat(proof_hashes)).
206
+ *
207
+ * @generated from field: repeated bytes proof_hashes = 3;
208
+ */
209
+ proofHashes: Uint8Array[];
202
210
  };
203
211
  /**
204
212
  * Describes the message inco.kms.lite.v1.EListAttestedDecryptResponse.
@@ -397,6 +405,14 @@ export type EListAttestedRevealResponse = Message<"inco.kms.lite.v1.EListAtteste
397
405
  * @generated from field: repeated inco.kms.lite.v1.EListElement values = 2;
398
406
  */
399
407
  values: EListElement[];
408
+ /**
409
+ * proof_hashes is the list of per-element proof hashes.
410
+ * proof_hashes[i] = keccak256(value[i])
411
+ * The overall commitment_proof in the attestation equals keccak256(concat(proof_hashes)).
412
+ *
413
+ * @generated from field: repeated bytes proof_hashes = 3;
414
+ */
415
+ proofHashes: Uint8Array[];
400
416
  };
401
417
  /**
402
418
  * Describes the message inco.kms.lite.v1.EListAttestedRevealResponse.
@@ -122,6 +122,13 @@ export type TeeKeys = Message<"inco.sealingfetcher.v1.TeeKeys"> & {
122
122
  * @generated from field: bytes storage_privkey = 3;
123
123
  */
124
124
  storagePrivkey: Uint8Array;
125
+ /**
126
+ * The 32-byte seed used for Lightning's RNG. Generated at bootstrap and
127
+ * distinct from the network private key.
128
+ *
129
+ * @generated from field: bytes rand_seed = 4;
130
+ */
131
+ randSeed: Uint8Array;
125
132
  };
126
133
  /**
127
134
  * Describes the message inco.sealingfetcher.v1.TeeKeys.