@inco/js 0.9.0-devnet-test-10 → 0.10.0-devnet-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +503 -47
- package/dist/cjs/advancedacl/session-key.d.ts +5 -5
- package/dist/cjs/advancedacl/session-key.js +33 -9
- package/dist/cjs/attestedcompute/attested-compute.d.ts +1 -2
- package/dist/cjs/attestedcompute/attested-compute.js +15 -7
- package/dist/cjs/attesteddecrypt/attested-decrypt.d.ts +5 -43
- package/dist/cjs/attesteddecrypt/attested-decrypt.js +33 -96
- package/dist/cjs/attestedreveal/attested-reveal.d.ts +21 -0
- package/dist/cjs/attestedreveal/attested-reveal.js +31 -0
- package/dist/cjs/attestedreveal/index.d.ts +2 -0
- package/dist/cjs/attestedreveal/index.js +21 -0
- package/dist/cjs/attestedreveal/types.d.ts +4 -0
- package/dist/cjs/attestedreveal/types.js +13 -0
- package/dist/cjs/binary.d.ts +82 -0
- package/dist/cjs/binary.js +87 -5
- package/dist/cjs/chain.d.ts +29 -4
- package/dist/cjs/chain.js +34 -6
- package/dist/cjs/eip712/eip712.d.ts +18 -0
- package/dist/cjs/eip712/eip712.js +51 -0
- package/dist/cjs/eip712/index.d.ts +1 -0
- package/dist/cjs/eip712/index.js +8 -0
- package/dist/cjs/elistattesteddecrypt/elist-attested-decrypt.d.ts +49 -0
- package/dist/cjs/elistattesteddecrypt/elist-attested-decrypt.js +94 -0
- package/dist/cjs/elistattesteddecrypt/index.d.ts +2 -0
- package/dist/cjs/elistattesteddecrypt/index.js +22 -0
- package/dist/cjs/elistattesteddecrypt/types.d.ts +31 -0
- package/dist/cjs/elistattesteddecrypt/types.js +16 -0
- package/dist/cjs/encryption/encryption.d.ts +115 -0
- package/dist/cjs/encryption/encryption.js +98 -7
- package/dist/cjs/encryption/index.d.ts +1 -1
- package/dist/cjs/encryption/index.js +17 -16
- package/dist/cjs/generated/abis/lightning.d.ts +1119 -107
- package/dist/cjs/generated/abis/lightning.js +762 -52
- package/dist/cjs/generated/abis/test-elist.d.ts +20 -2
- package/dist/cjs/generated/abis/test-elist.js +16 -3
- package/dist/cjs/generated/abis/verifier.d.ts +118 -15
- package/dist/cjs/generated/abis/verifier.js +71 -19
- package/dist/cjs/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +23 -37
- package/dist/cjs/generated/es/inco/covalidator/compute/v1/server_pb.js +36 -41
- package/dist/cjs/generated/es/inco/covalidator/compute/v1/types_pb.js +1 -1
- package/dist/cjs/generated/es/inco/helioswrapper/v1/helioswrapper_pb.js +1 -1
- package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +16 -0
- package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.js +3 -3
- package/dist/cjs/generated/es/inco/kms/lite/v1/types_pb.js +1 -1
- package/dist/cjs/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.d.ts +7 -0
- package/dist/cjs/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.js +3 -3
- package/dist/cjs/generated/lightning.d.ts +150 -0
- package/dist/cjs/generated/lightning.js +157 -1
- package/dist/cjs/generated/local-node.d.ts +9 -9
- package/dist/cjs/generated/local-node.js +37 -10
- package/dist/cjs/handle.d.ts +72 -0
- package/dist/cjs/handle.js +113 -9
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js +11 -2
- package/dist/cjs/kms/client.d.ts +1 -1
- package/dist/cjs/kms/client.js +4 -3
- package/dist/cjs/kms/quorumClient.d.ts +18 -12
- package/dist/cjs/kms/quorumClient.js +212 -231
- package/dist/cjs/kms/quorumConsistency.d.ts +82 -0
- package/dist/cjs/kms/quorumConsistency.js +269 -0
- package/dist/cjs/kms/signatureVerification.d.ts +35 -0
- package/dist/cjs/kms/signatureVerification.js +88 -0
- package/dist/cjs/kms/thresholdPromises.d.ts +4 -3
- package/dist/cjs/kms/thresholdPromises.js +25 -15
- package/dist/cjs/lite/attested-compute.d.ts +2 -2
- package/dist/cjs/lite/attested-compute.js +2 -3
- package/dist/cjs/lite/attested-decrypt.d.ts +2 -2
- package/dist/cjs/lite/attested-decrypt.js +2 -3
- package/dist/cjs/lite/hadu.d.ts +1 -1
- package/dist/cjs/lite/hadu.js +3 -3
- package/dist/cjs/lite/index.d.ts +6 -2
- package/dist/cjs/lite/index.js +8 -14
- package/dist/cjs/lite/lightning.d.ts +96 -47
- package/dist/cjs/lite/lightning.js +221 -267
- package/dist/cjs/lite/types.d.ts +47 -0
- package/dist/cjs/lite/types.js +3 -0
- package/dist/cjs/lite/xwing.d.ts +33 -2
- package/dist/cjs/lite/xwing.js +62 -7
- package/dist/cjs/local/local-node.d.ts +18 -0
- package/dist/cjs/local/local-node.js +18 -3
- package/dist/cjs/reencryption/eip712.d.ts +27 -0
- package/dist/cjs/reencryption/eip712.js +20 -7
- package/dist/cjs/reencryption/types.d.ts +24 -0
- package/dist/cjs/retry.d.ts +14 -0
- package/dist/cjs/retry.js +58 -2
- package/dist/cjs/test/mocks.d.ts +6 -1
- package/dist/cjs/test/mocks.js +31 -6
- package/dist/cjs/viem.d.ts +361 -1
- package/dist/cjs/viem.js +14 -1
- package/dist/esm/advancedacl/session-key.d.ts +5 -5
- package/dist/esm/advancedacl/session-key.js +33 -9
- package/dist/esm/attestedcompute/attested-compute.d.ts +1 -2
- package/dist/esm/attestedcompute/attested-compute.js +13 -5
- package/dist/esm/attesteddecrypt/attested-decrypt.d.ts +5 -43
- package/dist/esm/attesteddecrypt/attested-decrypt.js +34 -96
- package/dist/esm/attestedreveal/attested-reveal.d.ts +21 -0
- package/dist/esm/attestedreveal/attested-reveal.js +28 -0
- package/dist/esm/attestedreveal/index.d.ts +2 -0
- package/dist/esm/attestedreveal/index.js +3 -0
- package/dist/esm/attestedreveal/types.d.ts +4 -0
- package/dist/esm/attestedreveal/types.js +9 -0
- package/dist/esm/binary.d.ts +82 -0
- package/dist/esm/binary.js +87 -5
- package/dist/esm/chain.d.ts +29 -4
- package/dist/esm/chain.js +33 -5
- package/dist/esm/eip712/eip712.d.ts +18 -0
- package/dist/esm/eip712/eip712.js +46 -0
- package/dist/esm/eip712/index.d.ts +1 -0
- package/dist/esm/eip712/index.js +2 -0
- package/dist/esm/elistattesteddecrypt/elist-attested-decrypt.d.ts +49 -0
- package/dist/esm/elistattesteddecrypt/elist-attested-decrypt.js +89 -0
- package/dist/esm/elistattesteddecrypt/index.d.ts +2 -0
- package/dist/esm/elistattesteddecrypt/index.js +3 -0
- package/dist/esm/elistattesteddecrypt/types.d.ts +31 -0
- package/dist/esm/elistattesteddecrypt/types.js +12 -0
- package/dist/esm/encryption/encryption.d.ts +115 -0
- package/dist/esm/encryption/encryption.js +98 -7
- package/dist/esm/encryption/index.d.ts +1 -1
- package/dist/esm/encryption/index.js +2 -2
- package/dist/esm/generated/abis/lightning.d.ts +1119 -107
- package/dist/esm/generated/abis/lightning.js +761 -51
- package/dist/esm/generated/abis/test-elist.d.ts +20 -2
- package/dist/esm/generated/abis/test-elist.js +16 -3
- package/dist/esm/generated/abis/verifier.d.ts +118 -15
- package/dist/esm/generated/abis/verifier.js +71 -19
- package/dist/esm/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +23 -37
- package/dist/esm/generated/es/inco/covalidator/compute/v1/server_pb.js +35 -40
- package/dist/esm/generated/es/inco/covalidator/compute/v1/types_pb.js +1 -1
- package/dist/esm/generated/es/inco/helioswrapper/v1/helioswrapper_pb.js +1 -1
- package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +16 -0
- package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.js +3 -3
- package/dist/esm/generated/es/inco/kms/lite/v1/types_pb.js +1 -1
- package/dist/esm/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.d.ts +7 -0
- package/dist/esm/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.js +3 -3
- package/dist/esm/generated/lightning.d.ts +150 -0
- package/dist/esm/generated/lightning.js +157 -1
- package/dist/esm/generated/local-node.d.ts +9 -9
- package/dist/esm/generated/local-node.js +37 -10
- package/dist/esm/handle.d.ts +72 -0
- package/dist/esm/handle.js +110 -8
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/kms/client.d.ts +1 -1
- package/dist/esm/kms/client.js +3 -2
- package/dist/esm/kms/quorumClient.d.ts +18 -12
- package/dist/esm/kms/quorumClient.js +213 -232
- package/dist/esm/kms/quorumConsistency.d.ts +82 -0
- package/dist/esm/kms/quorumConsistency.js +260 -0
- package/dist/esm/kms/signatureVerification.d.ts +35 -0
- package/dist/esm/kms/signatureVerification.js +84 -0
- package/dist/esm/kms/thresholdPromises.d.ts +4 -3
- package/dist/esm/kms/thresholdPromises.js +25 -15
- package/dist/esm/lite/attested-compute.d.ts +2 -2
- package/dist/esm/lite/attested-compute.js +3 -3
- package/dist/esm/lite/attested-decrypt.d.ts +2 -2
- package/dist/esm/lite/attested-decrypt.js +3 -3
- package/dist/esm/lite/hadu.d.ts +1 -1
- package/dist/esm/lite/hadu.js +2 -2
- package/dist/esm/lite/index.d.ts +6 -2
- package/dist/esm/lite/index.js +5 -3
- package/dist/esm/lite/lightning.d.ts +96 -47
- package/dist/esm/lite/lightning.js +217 -263
- package/dist/esm/lite/types.d.ts +47 -0
- package/dist/esm/lite/types.js +2 -0
- package/dist/esm/lite/xwing.d.ts +33 -2
- package/dist/esm/lite/xwing.js +59 -7
- package/dist/esm/local/local-node.d.ts +18 -0
- package/dist/esm/local/local-node.js +18 -3
- package/dist/esm/reencryption/eip712.d.ts +27 -0
- package/dist/esm/reencryption/eip712.js +20 -7
- package/dist/esm/reencryption/types.d.ts +24 -0
- package/dist/esm/retry.d.ts +14 -0
- package/dist/esm/retry.js +56 -2
- package/dist/esm/test/mocks.d.ts +6 -1
- package/dist/esm/test/mocks.js +31 -8
- package/dist/esm/viem.d.ts +361 -1
- package/dist/esm/viem.js +15 -2
- package/dist/types/advancedacl/session-key.d.ts +5 -5
- package/dist/types/attestedcompute/attested-compute.d.ts +1 -2
- package/dist/types/attesteddecrypt/attested-decrypt.d.ts +5 -43
- package/dist/types/attestedreveal/attested-reveal.d.ts +21 -0
- package/dist/types/attestedreveal/index.d.ts +2 -0
- package/dist/types/attestedreveal/types.d.ts +4 -0
- package/dist/types/binary.d.ts +82 -0
- package/dist/types/chain.d.ts +29 -4
- package/dist/types/eip712/eip712.d.ts +18 -0
- package/dist/types/eip712/index.d.ts +1 -0
- package/dist/types/elistattesteddecrypt/elist-attested-decrypt.d.ts +49 -0
- package/dist/types/elistattesteddecrypt/index.d.ts +2 -0
- package/dist/types/elistattesteddecrypt/types.d.ts +31 -0
- package/dist/types/encryption/encryption.d.ts +115 -0
- package/dist/types/encryption/index.d.ts +1 -1
- package/dist/types/generated/abis/lightning.d.ts +1119 -107
- package/dist/types/generated/abis/test-elist.d.ts +20 -2
- package/dist/types/generated/abis/verifier.d.ts +118 -15
- package/dist/types/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +23 -37
- package/dist/types/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +16 -0
- package/dist/types/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.d.ts +7 -0
- package/dist/types/generated/lightning.d.ts +150 -0
- package/dist/types/generated/local-node.d.ts +9 -9
- package/dist/types/handle.d.ts +72 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/kms/client.d.ts +1 -1
- package/dist/types/kms/quorumClient.d.ts +18 -12
- package/dist/types/kms/quorumConsistency.d.ts +82 -0
- package/dist/types/kms/signatureVerification.d.ts +35 -0
- package/dist/types/kms/thresholdPromises.d.ts +4 -3
- package/dist/types/lite/attested-compute.d.ts +2 -2
- package/dist/types/lite/attested-decrypt.d.ts +2 -2
- package/dist/types/lite/hadu.d.ts +1 -1
- package/dist/types/lite/index.d.ts +6 -2
- package/dist/types/lite/lightning.d.ts +96 -47
- package/dist/types/lite/types.d.ts +47 -0
- package/dist/types/lite/xwing.d.ts +33 -2
- package/dist/types/local/local-node.d.ts +18 -0
- package/dist/types/reencryption/eip712.d.ts +27 -0
- package/dist/types/reencryption/types.d.ts +24 -0
- package/dist/types/retry.d.ts +14 -0
- package/dist/types/test/mocks.d.ts +6 -1
- package/dist/types/viem.d.ts +361 -1
- package/package.json +19 -21
- package/dist/cjs/generated/abis/lightning-preview.d.ts +0 -1385
- package/dist/cjs/generated/abis/lightning-preview.js +0 -857
- package/dist/esm/generated/abis/lightning-preview.d.ts +0 -1385
- package/dist/esm/generated/abis/lightning-preview.js +0 -854
- 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
|
|
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: "
|
|
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: "
|
|
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
|
|
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:
|
|
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
|
|
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.
|