@inco/js 0.6.9 → 0.7.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 (105) hide show
  1. package/README.md +8 -8
  2. package/dist/cjs/advancedacl/session-key.d.ts +39 -26
  3. package/dist/cjs/advancedacl/session-key.js +53 -136
  4. package/dist/cjs/attestedcompute/attested-compute.d.ts +6 -6
  5. package/dist/cjs/attestedcompute/attested-compute.js +5 -35
  6. package/dist/cjs/attesteddecrypt/attested-decrypt.d.ts +36 -21
  7. package/dist/cjs/attesteddecrypt/attested-decrypt.js +107 -108
  8. package/dist/cjs/attesteddecrypt/types.d.ts +4 -4
  9. package/dist/cjs/generated/es/inco/covalidator/compute/v1/types_pb.d.ts +15 -1
  10. package/dist/cjs/generated/es/inco/covalidator/compute/v1/types_pb.js +1 -1
  11. package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +13 -5
  12. package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.js +3 -4
  13. package/dist/cjs/generated/lightning.d.ts +40 -0
  14. package/dist/cjs/generated/lightning.js +43 -1
  15. package/dist/cjs/generated/local-node.d.ts +11 -7
  16. package/dist/cjs/generated/local-node.js +28 -8
  17. package/dist/cjs/kms/client.d.ts +8 -4
  18. package/dist/cjs/kms/client.js +9 -4
  19. package/dist/cjs/kms/quorumClient.d.ts +58 -0
  20. package/dist/cjs/kms/quorumClient.js +378 -0
  21. package/dist/cjs/kms/thresholdPromises.d.ts +7 -0
  22. package/dist/cjs/kms/thresholdPromises.js +52 -0
  23. package/dist/cjs/lite/index.d.ts +0 -1
  24. package/dist/cjs/lite/index.js +1 -2
  25. package/dist/cjs/lite/lightning.d.ts +87 -67
  26. package/dist/cjs/lite/lightning.js +231 -100
  27. package/dist/cjs/local/local-node.d.ts +1 -2
  28. package/dist/cjs/local/local-node.js +2 -3
  29. package/dist/cjs/test/mocks.d.ts +3 -0
  30. package/dist/cjs/test/mocks.js +19 -1
  31. package/dist/esm/advancedacl/session-key.d.ts +39 -26
  32. package/dist/esm/advancedacl/session-key.js +44 -126
  33. package/dist/esm/attestedcompute/attested-compute.d.ts +6 -6
  34. package/dist/esm/attestedcompute/attested-compute.js +6 -36
  35. package/dist/esm/attesteddecrypt/attested-decrypt.d.ts +36 -21
  36. package/dist/esm/attesteddecrypt/attested-decrypt.js +106 -108
  37. package/dist/esm/attesteddecrypt/types.d.ts +4 -4
  38. package/dist/esm/generated/es/inco/covalidator/compute/v1/types_pb.d.ts +15 -1
  39. package/dist/esm/generated/es/inco/covalidator/compute/v1/types_pb.js +1 -1
  40. package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +13 -5
  41. package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.js +2 -3
  42. package/dist/esm/generated/lightning.d.ts +40 -0
  43. package/dist/esm/generated/lightning.js +43 -1
  44. package/dist/esm/generated/local-node.d.ts +11 -7
  45. package/dist/esm/generated/local-node.js +28 -8
  46. package/dist/esm/kms/client.d.ts +8 -4
  47. package/dist/esm/kms/client.js +8 -4
  48. package/dist/esm/kms/quorumClient.d.ts +58 -0
  49. package/dist/esm/kms/quorumClient.js +374 -0
  50. package/dist/esm/kms/thresholdPromises.d.ts +7 -0
  51. package/dist/esm/kms/thresholdPromises.js +49 -0
  52. package/dist/esm/lite/index.d.ts +0 -1
  53. package/dist/esm/lite/index.js +1 -2
  54. package/dist/esm/lite/lightning.d.ts +87 -67
  55. package/dist/esm/lite/lightning.js +234 -103
  56. package/dist/esm/local/local-node.d.ts +1 -2
  57. package/dist/esm/local/local-node.js +2 -3
  58. package/dist/esm/test/mocks.d.ts +3 -0
  59. package/dist/esm/test/mocks.js +17 -1
  60. package/dist/types/advancedacl/session-key.d.ts +39 -26
  61. package/dist/types/attestedcompute/attested-compute.d.ts +6 -6
  62. package/dist/types/attesteddecrypt/attested-decrypt.d.ts +36 -21
  63. package/dist/types/attesteddecrypt/types.d.ts +4 -4
  64. package/dist/types/generated/es/inco/covalidator/compute/v1/types_pb.d.ts +15 -1
  65. package/dist/types/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +13 -5
  66. package/dist/types/generated/lightning.d.ts +40 -0
  67. package/dist/types/generated/local-node.d.ts +11 -7
  68. package/dist/types/kms/client.d.ts +8 -4
  69. package/dist/types/kms/quorumClient.d.ts +58 -0
  70. package/dist/types/kms/thresholdPromises.d.ts +7 -0
  71. package/dist/types/lite/index.d.ts +0 -1
  72. package/dist/types/lite/lightning.d.ts +87 -67
  73. package/dist/types/local/local-node.d.ts +1 -2
  74. package/dist/types/test/mocks.d.ts +3 -0
  75. package/package.json +2 -2
  76. package/dist/cjs/attestedreveal/attested-reveal.d.ts +0 -21
  77. package/dist/cjs/attestedreveal/attested-reveal.js +0 -69
  78. package/dist/cjs/attestedreveal/index.d.ts +0 -1
  79. package/dist/cjs/attestedreveal/index.js +0 -18
  80. package/dist/cjs/attestedreveal/types.d.ts +0 -7
  81. package/dist/cjs/attestedreveal/types.js +0 -16
  82. package/dist/cjs/generated/es/cosmos_proto/cosmos_pb.d.ts +0 -174
  83. package/dist/cjs/generated/es/cosmos_proto/cosmos_pb.js +0 -118
  84. package/dist/cjs/generated/es/inco/fhe/v1/types_pb.d.ts +0 -419
  85. package/dist/cjs/generated/es/inco/fhe/v1/types_pb.js +0 -136
  86. package/dist/cjs/lite/reencrypt.d.ts +0 -21
  87. package/dist/cjs/lite/reencrypt.js +0 -141
  88. package/dist/esm/attestedreveal/attested-reveal.d.ts +0 -21
  89. package/dist/esm/attestedreveal/attested-reveal.js +0 -66
  90. package/dist/esm/attestedreveal/index.d.ts +0 -1
  91. package/dist/esm/attestedreveal/index.js +0 -2
  92. package/dist/esm/attestedreveal/types.d.ts +0 -7
  93. package/dist/esm/attestedreveal/types.js +0 -12
  94. package/dist/esm/generated/es/cosmos_proto/cosmos_pb.d.ts +0 -174
  95. package/dist/esm/generated/es/cosmos_proto/cosmos_pb.js +0 -115
  96. package/dist/esm/generated/es/inco/fhe/v1/types_pb.d.ts +0 -419
  97. package/dist/esm/generated/es/inco/fhe/v1/types_pb.js +0 -133
  98. package/dist/esm/lite/reencrypt.d.ts +0 -21
  99. package/dist/esm/lite/reencrypt.js +0 -131
  100. package/dist/types/attestedreveal/attested-reveal.d.ts +0 -21
  101. package/dist/types/attestedreveal/index.d.ts +0 -1
  102. package/dist/types/attestedreveal/types.d.ts +0 -7
  103. package/dist/types/generated/es/cosmos_proto/cosmos_pb.d.ts +0 -174
  104. package/dist/types/generated/es/inco/fhe/v1/types_pb.d.ts +0 -419
  105. package/dist/types/lite/reencrypt.d.ts +0 -21
@@ -1,118 +0,0 @@
1
- "use strict";
2
- // @generated by protoc-gen-es v2.10.0 with parameter "target=ts"
3
- // @generated from file cosmos_proto/cosmos.proto (package cosmos_proto, syntax proto3)
4
- /* eslint-disable */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.file_added_in = exports.declare_scalar = exports.declare_interface = exports.field_added_in = exports.scalar = exports.accepts_interface = exports.message_added_in = exports.implements_interface = exports.method_added_in = exports.ScalarTypeSchema = exports.ScalarType = exports.ScalarDescriptorSchema = exports.InterfaceDescriptorSchema = exports.file_cosmos_proto_cosmos = void 0;
7
- const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
- const wkt_1 = require("@bufbuild/protobuf/wkt");
9
- /**
10
- * Describes the file cosmos_proto/cosmos.proto.
11
- */
12
- exports.file_cosmos_proto_cosmos = (0, codegenv2_1.fileDesc)("Chljb3Ntb3NfcHJvdG8vY29zbW9zLnByb3RvEgxjb3Ntb3NfcHJvdG8iOAoTSW50ZXJmYWNlRGVzY3JpcHRvchIMCgRuYW1lGAEgASgJEhMKC2Rlc2NyaXB0aW9uGAIgASgJImMKEFNjYWxhckRlc2NyaXB0b3ISDAoEbmFtZRgBIAEoCRITCgtkZXNjcmlwdGlvbhgCIAEoCRIsCgpmaWVsZF90eXBlGAMgAygOMhguY29zbW9zX3Byb3RvLlNjYWxhclR5cGUqW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ZUFkZGVkSW5CLVorZ2l0aHViLmNvbS9jb3Ntb3MvY29zbW9zLXByb3RvO2Nvc21vc19wcm90b2IGcHJvdG8z", [wkt_1.file_google_protobuf_descriptor]);
13
- /**
14
- * Describes the message cosmos_proto.InterfaceDescriptor.
15
- * Use `create(InterfaceDescriptorSchema)` to create a new message.
16
- */
17
- exports.InterfaceDescriptorSchema = (0, codegenv2_1.messageDesc)(exports.file_cosmos_proto_cosmos, 0);
18
- /**
19
- * Describes the message cosmos_proto.ScalarDescriptor.
20
- * Use `create(ScalarDescriptorSchema)` to create a new message.
21
- */
22
- exports.ScalarDescriptorSchema = (0, codegenv2_1.messageDesc)(exports.file_cosmos_proto_cosmos, 1);
23
- /**
24
- * @generated from enum cosmos_proto.ScalarType
25
- */
26
- var ScalarType;
27
- (function (ScalarType) {
28
- /**
29
- * @generated from enum value: SCALAR_TYPE_UNSPECIFIED = 0;
30
- */
31
- ScalarType[ScalarType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
32
- /**
33
- * @generated from enum value: SCALAR_TYPE_STRING = 1;
34
- */
35
- ScalarType[ScalarType["STRING"] = 1] = "STRING";
36
- /**
37
- * @generated from enum value: SCALAR_TYPE_BYTES = 2;
38
- */
39
- ScalarType[ScalarType["BYTES"] = 2] = "BYTES";
40
- })(ScalarType || (exports.ScalarType = ScalarType = {}));
41
- /**
42
- * Describes the enum cosmos_proto.ScalarType.
43
- */
44
- exports.ScalarTypeSchema = (0, codegenv2_1.enumDesc)(exports.file_cosmos_proto_cosmos, 0);
45
- /**
46
- * method_added_in is used to indicate from which version the method was added.
47
- *
48
- * @generated from extension: string method_added_in = 93001;
49
- */
50
- exports.method_added_in = (0, codegenv2_1.extDesc)(exports.file_cosmos_proto_cosmos, 0);
51
- /**
52
- * implements_interface is used to indicate the type name of the interface
53
- * that a message implements so that it can be used in google.protobuf.Any
54
- * fields that accept that interface. A message can implement multiple
55
- * interfaces. Interfaces should be declared using a declare_interface
56
- * file option.
57
- *
58
- * @generated from extension: repeated string implements_interface = 93001;
59
- */
60
- exports.implements_interface = (0, codegenv2_1.extDesc)(exports.file_cosmos_proto_cosmos, 1);
61
- /**
62
- * message_added_in is used to indicate from which version the message was added.
63
- *
64
- * @generated from extension: string message_added_in = 93002;
65
- */
66
- exports.message_added_in = (0, codegenv2_1.extDesc)(exports.file_cosmos_proto_cosmos, 2);
67
- /**
68
- * accepts_interface is used to annotate that a google.protobuf.Any
69
- * field accepts messages that implement the specified interface.
70
- * Interfaces should be declared using a declare_interface file option.
71
- *
72
- * @generated from extension: string accepts_interface = 93001;
73
- */
74
- exports.accepts_interface = (0, codegenv2_1.extDesc)(exports.file_cosmos_proto_cosmos, 3);
75
- /**
76
- * scalar is used to indicate that this field follows the formatting defined
77
- * by the named scalar which should be declared with declare_scalar. Code
78
- * generators may choose to use this information to map this field to a
79
- * language-specific type representing the scalar.
80
- *
81
- * @generated from extension: string scalar = 93002;
82
- */
83
- exports.scalar = (0, codegenv2_1.extDesc)(exports.file_cosmos_proto_cosmos, 4);
84
- /**
85
- * field_added_in is used to indicate from which version the field was added.
86
- *
87
- * @generated from extension: string field_added_in = 93003;
88
- */
89
- exports.field_added_in = (0, codegenv2_1.extDesc)(exports.file_cosmos_proto_cosmos, 5);
90
- /**
91
- * declare_interface declares an interface type to be used with
92
- * accepts_interface and implements_interface. Interface names are
93
- * expected to follow the following convention such that their declaration
94
- * can be discovered by tools: for a given interface type a.b.C, it is
95
- * expected that the declaration will be found in a protobuf file named
96
- * a/b/interfaces.proto in the file descriptor set.
97
- *
98
- * @generated from extension: repeated cosmos_proto.InterfaceDescriptor declare_interface = 793021;
99
- */
100
- exports.declare_interface = (0, codegenv2_1.extDesc)(exports.file_cosmos_proto_cosmos, 6);
101
- /**
102
- * declare_scalar declares a scalar type to be used with
103
- * the scalar field option. Scalar names are
104
- * expected to follow the following convention such that their declaration
105
- * can be discovered by tools: for a given scalar type a.b.C, it is
106
- * expected that the declaration will be found in a protobuf file named
107
- * a/b/scalars.proto in the file descriptor set.
108
- *
109
- * @generated from extension: repeated cosmos_proto.ScalarDescriptor declare_scalar = 793022;
110
- */
111
- exports.declare_scalar = (0, codegenv2_1.extDesc)(exports.file_cosmos_proto_cosmos, 7);
112
- /**
113
- * file_added_in is used to indicate from which the version the file was added.
114
- *
115
- * @generated from extension: string file_added_in = 793023;
116
- */
117
- exports.file_added_in = (0, codegenv2_1.extDesc)(exports.file_cosmos_proto_cosmos, 8);
118
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29zbW9zX3BiLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9lcy9jb3Ntb3NfcHJvdG8vY29zbW9zX3BiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxpRUFBaUU7QUFDakUsdUZBQXVGO0FBQ3ZGLG9CQUFvQjs7O0FBR3BCLDREQUF3RjtBQUV4RixnREFBeUU7QUFHekU7O0dBRUc7QUFDVSxRQUFBLHdCQUF3QixHQUNuQyxJQUFBLG9CQUFRLEVBQUMsczVDQUFzNUMsRUFBRSxDQUFDLHFDQUErQixDQUFDLENBQUMsQ0FBQztBQTRCdDhDOzs7R0FHRztBQUNVLFFBQUEseUJBQXlCLEdBQ3BDLElBQUEsdUJBQVcsRUFBQyxnQ0FBd0IsRUFBRSxDQUFDLENBQUMsQ0FBQztBQTRDM0M7OztHQUdHO0FBQ1UsUUFBQSxzQkFBc0IsR0FDakMsSUFBQSx1QkFBVyxFQUFDLGdDQUF3QixFQUFFLENBQUMsQ0FBQyxDQUFDO0FBRTNDOztHQUVHO0FBQ0gsSUFBWSxVQWVYO0FBZkQsV0FBWSxVQUFVO0lBQ3BCOztPQUVHO0lBQ0gseURBQWUsQ0FBQTtJQUVmOztPQUVHO0lBQ0gsK0NBQVUsQ0FBQTtJQUVWOztPQUVHO0lBQ0gsNkNBQVMsQ0FBQTtB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BQUV2Qzs7OztHQUlHO0FBQ1UsUUFBQSxhQUFhLEdBQ3hCLElBQUEsbUJBQU8sRUFBQyxnQ0FBd0IsRUFBRSxDQUFDLENBQUMsQ0FBQyJ9
@@ -1,419 +0,0 @@
1
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
- import type { Message } from "@bufbuild/protobuf";
3
- /**
4
- * Describes the file inco/fhe/v1/types.proto.
5
- */
6
- export declare const file_inco_fhe_v1_types: GenFile;
7
- /**
8
- * TypedCiphertext represents a ciphertext with its type and handle.
9
- * This type is inspired from Zama's TypedCiphertext:
10
- * ref: https://github.com/zama-ai/kms-core/blob/fcc54ba0933e6190d8e8091ef495bcf437c06f6a/core/grpc/proto/kms.v1.proto#L180-L187
11
- *
12
- * The encryption and format of the encrypted plaintext must be specified at the site of its use.
13
- *
14
- * @generated from message inco.fhe.v1.TypedCiphertext
15
- */
16
- export type TypedCiphertext = Message<"inco.fhe.v1.TypedCiphertext"> & {
17
- /**
18
- * The actual ciphertext to decrypt, taken directly from the fhevm.
19
- *
20
- * @generated from field: bytes ciphertext = 1;
21
- */
22
- ciphertext: Uint8Array;
23
- /**
24
- * The type of plaintext encrypted.
25
- *
26
- * @generated from field: inco.fhe.v1.FheType fhe_type = 2;
27
- */
28
- fheType: FheType;
29
- /**
30
- * The handle of the ciphertext.
31
- * TODO scalar declaration.
32
- *
33
- * @generated from field: string handle = 3;
34
- */
35
- handle: string;
36
- };
37
- /**
38
- * Describes the message inco.fhe.v1.TypedCiphertext.
39
- * Use `create(TypedCiphertextSchema)` to create a new message.
40
- */
41
- export declare const TypedCiphertextSchema: GenMessage<TypedCiphertext>;
42
- /**
43
- * Covalidator represents a covalidator that can vote on the CA Root.
44
- *
45
- * @generated from message inco.fhe.v1.Covalidator
46
- */
47
- export type Covalidator = Message<"inco.fhe.v1.Covalidator"> & {
48
- /**
49
- * inco_address is the Cosmos bech32 address of the covalidator.
50
- *
51
- * @generated from field: string inco_address = 1;
52
- */
53
- incoAddress: string;
54
- /**
55
- * grpc_url is the gRPC endpoint of the covalidator, in the format
56
- * "host:port".
57
- *
58
- * @generated from field: string grpc_url = 2;
59
- */
60
- grpcUrl: string;
61
- };
62
- /**
63
- * Describes the message inco.fhe.v1.Covalidator.
64
- * Use `create(CovalidatorSchema)` to create a new message.
65
- */
66
- export declare const CovalidatorSchema: GenMessage<Covalidator>;
67
- /**
68
- * KeysetInfo represents information on how to retrieve the keyset from the KMS.
69
- *
70
- * @generated from message inco.fhe.v1.KeysetInfo
71
- */
72
- export type KeysetInfo = Message<"inco.fhe.v1.KeysetInfo"> & {
73
- /**
74
- * id is the unique identifier of the keyset. It is a 20-byte hash
75
- * represented as a hex string with no prefix.
76
- * More specification of the keyset ID can be found in Zama's
77
- * documentation:
78
- * https://github.com/zama-ai/kms-core/blob/v0.9.0-rc3/config/dev/README.md#kms-key-id
79
- *
80
- * @generated from field: string id = 1;
81
- */
82
- id: string;
83
- /**
84
- * kms_grpc_url is the gRPC endpoint of the KMS that manages the keyset, in
85
- * the format "host:port". They keyset can be retrieved via the
86
- * inco.kms.*.v1.KmsService#Key RPC method.
87
- *
88
- * @generated from field: string kms_grpc_url = 2;
89
- */
90
- kmsGrpcUrl: string;
91
- };
92
- /**
93
- * Describes the message inco.fhe.v1.KeysetInfo.
94
- * Use `create(KeysetInfoSchema)` to create a new message.
95
- */
96
- export declare const KeysetInfoSchema: GenMessage<KeysetInfo>;
97
- /**
98
- * FheEnv represents the environment in which the FHE keys are used, which is
99
- * composed of a host chain and a keyset.
100
- *
101
- * @generated from message inco.fhe.v1.FheEnv
102
- */
103
- export type FheEnv = Message<"inco.fhe.v1.FheEnv"> & {
104
- /**
105
- * host_chain_id is the chain ID of the host chain. See the x/hostchain module
106
- * for a specification of the chain ID.
107
- *
108
- * @generated from field: string host_chain_id = 1;
109
- */
110
- hostChainId: string;
111
- /**
112
- * keyset_id is the unique identifier of the keyset.
113
- *
114
- * @generated from field: string keyset_id = 2;
115
- */
116
- keysetId: string;
117
- /**
118
- * authorization is the authorization configuration for the FHE environment.
119
- *
120
- * @generated from oneof inco.fhe.v1.FheEnv.authorization
121
- */
122
- authorization: {
123
- /**
124
- * zama_access_control is the access control configuration for Zama's ACL.
125
- *
126
- * @generated from field: inco.fhe.v1.ZamaAccessControl zama_access_control = 10;
127
- */
128
- value: ZamaAccessControl;
129
- case: "zamaAccessControl";
130
- } | {
131
- /**
132
- * inco_lite_access_control is the access control configuration for IncoLite.
133
- *
134
- * @generated from field: inco.fhe.v1.IncoLiteAccessControl inco_lite_access_control = 11;
135
- */
136
- value: IncoLiteAccessControl;
137
- case: "incoLiteAccessControl";
138
- } | {
139
- case: undefined;
140
- value?: undefined;
141
- };
142
- };
143
- /**
144
- * Describes the message inco.fhe.v1.FheEnv.
145
- * Use `create(FheEnvSchema)` to create a new message.
146
- */
147
- export declare const FheEnvSchema: GenMessage<FheEnv>;
148
- /**
149
- * ZamaAccessControl represents the access control configuration used by Zama.
150
- * It is characterized by having separate storage slots for decryption,
151
- * reencryption, and delegated reencryption.
152
- *
153
- * @generated from message inco.fhe.v1.ZamaAccessControl
154
- */
155
- export type ZamaAccessControl = Message<"inco.fhe.v1.ZamaAccessControl"> & {
156
- /**
157
- * acl_address is the host chain address of the ACL contract to use for
158
- * verifying the ACL proof. For EVM chains it's a non-prefixed hex string.
159
- *
160
- * @generated from field: string acl_address = 1;
161
- */
162
- aclAddress: string;
163
- /**
164
- * decryption_storage_index is the storage slot of the ACL contract to use for
165
- * verifying decyrption. It is usually called `allowedForDecryption` in the
166
- * ACL.sol contract. It is encoded as a non-prefixed hex string.
167
- *
168
- * The Solidity type at this storage is expected to be:
169
- * mapping(uint256 => bool)
170
- *
171
- * @generated from field: string decryption_storage_index = 2;
172
- */
173
- decryptionStorageIndex: string;
174
- /**
175
- * reencryption_storage_index is the storage slot of the ACL contract to use
176
- * for verifying reencryption. It is usually called `persistedAllowedPairs`
177
- * in the ACL.sol contract. It is encoded as a non-prefixed hex string.
178
- *
179
- * The Solidity type at this storage is expected to be:
180
- * mapping(uint256 handle => mapping(address account => bool isAllowed))
181
- *
182
- * @generated from field: string reencryption_storage_index = 3;
183
- */
184
- reencryptionStorageIndex: string;
185
- /**
186
- * delegations_storage slot is the storage slot of the ACL contract to use
187
- * for verifying reencryptions using delegations. It is usually called
188
- * `delegates` in the ACL.sol contract. It is encoded as a non-prefixed hex
189
- * string.
190
- *
191
- * The Solidity type at this storage is expected to be:
192
- * mapping(address account => mapping(address delegatee => mapping(address
193
- * contractAddress => bool isDelegate)))
194
- *
195
- * @generated from field: string delegations_storage_index = 4;
196
- */
197
- delegationsStorageIndex: string;
198
- };
199
- /**
200
- * Describes the message inco.fhe.v1.ZamaAccessControl.
201
- * Use `create(ZamaAccessControlSchema)` to create a new message.
202
- */
203
- export declare const ZamaAccessControlSchema: GenMessage<ZamaAccessControl>;
204
- /**
205
- * IncoLiteAccessControl represents the access control configuration used by
206
- * IncoLite, which is empty.
207
- *
208
- * @generated from message inco.fhe.v1.IncoLiteAccessControl
209
- */
210
- export type IncoLiteAccessControl = Message<"inco.fhe.v1.IncoLiteAccessControl"> & {};
211
- /**
212
- * Describes the message inco.fhe.v1.IncoLiteAccessControl.
213
- * Use `create(IncoLiteAccessControlSchema)` to create a new message.
214
- */
215
- export declare const IncoLiteAccessControlSchema: GenMessage<IncoLiteAccessControl>;
216
- /**
217
- * CARoot represents the CA Root that is voted on by the covalidators.
218
- *
219
- * @generated from message inco.fhe.v1.CARoot
220
- */
221
- export type CARoot = Message<"inco.fhe.v1.CARoot"> & {
222
- /**
223
- * hash is the CA Root hash that was voted on.
224
- *
225
- * @generated from field: bytes hash = 1;
226
- */
227
- hash: Uint8Array;
228
- };
229
- /**
230
- * Describes the message inco.fhe.v1.CARoot.
231
- * Use `create(CARootSchema)` to create a new message.
232
- */
233
- export declare const CARootSchema: GenMessage<CARoot>;
234
- /**
235
- * FheEnvBlock represents a specific host chain block in a specific FHE environment.
236
- *
237
- * @generated from message inco.fhe.v1.FheEnvBlock
238
- */
239
- export type FheEnvBlock = Message<"inco.fhe.v1.FheEnvBlock"> & {
240
- /**
241
- * host_chain_id is the chain ID of the host chain. See the x/hostchain module
242
- * for a specification of the chain ID.
243
- *
244
- * @generated from field: string host_chain_id = 1;
245
- */
246
- hostChainId: string;
247
- /**
248
- * keyset_id is the unique identifier of the keyset.
249
- *
250
- * @generated from field: string keyset_id = 2;
251
- */
252
- keysetId: string;
253
- /**
254
- * block_hash is the block hash of the host chain.
255
- * The hash is 0x-prefixed hex bytes.
256
- * TODO scalar declaration.
257
- *
258
- * @generated from field: string block_hash = 3;
259
- */
260
- blockHash: string;
261
- /**
262
- * block_height is the block height of the block.
263
- *
264
- * @generated from field: uint64 block_height = 4;
265
- */
266
- blockHeight: bigint;
267
- };
268
- /**
269
- * Describes the message inco.fhe.v1.FheEnvBlock.
270
- * Use `create(FheEnvBlockSchema)` to create a new message.
271
- */
272
- export declare const FheEnvBlockSchema: GenMessage<FheEnvBlock>;
273
- /**
274
- * BlockTopo represents the topology information for a host chain block.
275
- *
276
- * @generated from message inco.fhe.v1.BlockTopo
277
- */
278
- export type BlockTopo = Message<"inco.fhe.v1.BlockTopo"> & {
279
- /**
280
- * parent_hash is the block hash of this block's parent, or empty if unknown.
281
- * If present, the parent block's height must be height-1.
282
- * The hash is 0x-prefixed hex bytes.
283
- * TODO scalar declaration.
284
- *
285
- * @generated from field: string parent_hash = 1;
286
- */
287
- parentHash: string;
288
- };
289
- /**
290
- * Describes the message inco.fhe.v1.BlockTopo.
291
- * Use `create(BlockTopoSchema)` to create a new message.
292
- */
293
- export declare const BlockTopoSchema: GenMessage<BlockTopo>;
294
- /**
295
- * BlockTopoStore represents the topology information for a host chain block,
296
- * optimized for storage.
297
- *
298
- * @generated from message inco.fhe.v1.BlockTopoStore
299
- */
300
- export type BlockTopoStore = Message<"inco.fhe.v1.BlockTopoStore"> & {
301
- /**
302
- * parent_hash is the block hash of this block's parent, or empty if unknown.
303
- * If present, the parent block's height must be height-1.
304
- *
305
- * @generated from field: bytes parent_hash = 1;
306
- */
307
- parentHash: Uint8Array;
308
- };
309
- /**
310
- * Describes the message inco.fhe.v1.BlockTopoStore.
311
- * Use `create(BlockTopoStoreSchema)` to create a new message.
312
- */
313
- export declare const BlockTopoStoreSchema: GenMessage<BlockTopoStore>;
314
- /**
315
- * HandleBinding is the information bound to a ciphertext handle through covalidator consensus.
316
- *
317
- * @generated from message inco.fhe.v1.HandleBinding
318
- */
319
- export type HandleBinding = Message<"inco.fhe.v1.HandleBinding"> & {
320
- /**
321
- * ciphertext_hash is the TODO-Algorithm-TODO hash of the ciphertext.
322
- *
323
- * @generated from field: bytes ciphertext_hash = 1;
324
- */
325
- ciphertextHash: Uint8Array;
326
- };
327
- /**
328
- * Describes the message inco.fhe.v1.HandleBinding.
329
- * Use `create(HandleBindingSchema)` to create a new message.
330
- */
331
- export declare const HandleBindingSchema: GenMessage<HandleBinding>;
332
- /**
333
- * HandleBindingEntry is a handle together with its HandleBinding.
334
- *
335
- * @generated from message inco.fhe.v1.HandleBindingEntry
336
- */
337
- export type HandleBindingEntry = Message<"inco.fhe.v1.HandleBindingEntry"> & {
338
- /**
339
- * handle is the ciphertext handle for this entry.
340
- * The handle is 0x-prefixed hex bytes.
341
- * TODO scalar declaration.
342
- *
343
- * @generated from field: string handle = 1;
344
- */
345
- handle: string;
346
- /**
347
- * binding is the HandleBinding for the handle.
348
- *
349
- * @generated from field: inco.fhe.v1.HandleBinding binding = 2;
350
- */
351
- binding?: HandleBinding;
352
- };
353
- /**
354
- * Describes the message inco.fhe.v1.HandleBindingEntry.
355
- * Use `create(HandleBindingEntrySchema)` to create a new message.
356
- */
357
- export declare const HandleBindingEntrySchema: GenMessage<HandleBindingEntry>;
358
- /**
359
- * FheType represents the type of the plaintext encrypted in either in the FHE
360
- * or the TEE ciphertext.
361
- * For compatibility with Zama's FheType, we use the same values.
362
- * ref: https://github.com/zama-ai/kms-core/blob/fcc54ba0933e6190d8e8091ef495bcf437c06f6a/core/grpc/proto/kms.v1.proto#L32
363
- *
364
- * @generated from enum inco.fhe.v1.FheType
365
- */
366
- export declare enum FheType {
367
- /**
368
- * @generated from enum value: FHE_TYPE_EBOOL = 0;
369
- */
370
- EBOOL = 0,
371
- /**
372
- * @generated from enum value: FHE_TYPE_EUINT4 = 1;
373
- */
374
- EUINT4 = 1,
375
- /**
376
- * @generated from enum value: FHE_TYPE_EUINT8 = 2;
377
- */
378
- EUINT8 = 2,
379
- /**
380
- * @generated from enum value: FHE_TYPE_EUINT16 = 3;
381
- */
382
- EUINT16 = 3,
383
- /**
384
- * @generated from enum value: FHE_TYPE_EUINT32 = 4;
385
- */
386
- EUINT32 = 4,
387
- /**
388
- * @generated from enum value: FHE_TYPE_EUINT64 = 5;
389
- */
390
- EUINT64 = 5,
391
- /**
392
- * @generated from enum value: FHE_TYPE_EUINT128 = 6;
393
- */
394
- EUINT128 = 6,
395
- /**
396
- * @generated from enum value: FHE_TYPE_EUINT160 = 7;
397
- */
398
- EUINT160 = 7,
399
- /**
400
- * @generated from enum value: FHE_TYPE_EUINT256 = 8;
401
- */
402
- EUINT256 = 8,
403
- /**
404
- * @generated from enum value: FHE_TYPE_EUINT512 = 9;
405
- */
406
- EUINT512 = 9,
407
- /**
408
- * @generated from enum value: FHE_TYPE_EUINT1024 = 10;
409
- */
410
- EUINT1024 = 10,
411
- /**
412
- * @generated from enum value: FHE_TYPE_EUINT2048 = 11;
413
- */
414
- EUINT2048 = 11
415
- }
416
- /**
417
- * Describes the enum inco.fhe.v1.FheType.
418
- */
419
- export declare const FheTypeSchema: GenEnum<FheType>;
@@ -1,136 +0,0 @@
1
- "use strict";
2
- // @generated by protoc-gen-es v2.10.0 with parameter "target=ts"
3
- // @generated from file inco/fhe/v1/types.proto (package inco.fhe.v1, syntax proto3)
4
- /* eslint-disable */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.FheTypeSchema = exports.FheType = exports.HandleBindingEntrySchema = exports.HandleBindingSchema = exports.BlockTopoStoreSchema = exports.BlockTopoSchema = exports.FheEnvBlockSchema = exports.CARootSchema = exports.IncoLiteAccessControlSchema = exports.ZamaAccessControlSchema = exports.FheEnvSchema = exports.KeysetInfoSchema = exports.CovalidatorSchema = exports.TypedCiphertextSchema = exports.file_inco_fhe_v1_types = void 0;
7
- const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
- const cosmos_pb_1 = require("../../../cosmos_proto/cosmos_pb");
9
- /**
10
- * Describes the file inco/fhe/v1/types.proto.
11
- */
12
- exports.file_inco_fhe_v1_types = (0, codegenv2_1.fileDesc)("ChdpbmNvL2ZoZS92MS90eXBlcy5wcm90bxILaW5jby5maGUudjEiXQoPVHlwZWRDaXBoZXJ0ZXh0EhIKCmNpcGhlcnRleHQYASABKAwSJgoIZmhlX3R5cGUYAiABKA4yFC5pbmNvLmZoZS52MS5GaGVUeXBlEg4KBmhhbmRsZRgDIAEoCSJPCgtDb3ZhbGlkYXRvchIuCgxpbmNvX2FkZHJlc3MYASABKAlCGNK0LRRjb3Ntb3MuQWRkcmVzc1N0cmluZxIQCghncnBjX3VybBgCIAEoCSIuCgpLZXlzZXRJbmZvEgoKAmlkGAEgASgJEhQKDGttc19ncnBjX3VybBgCIAEoCSLKAQoGRmhlRW52EhUKDWhvc3RfY2hhaW5faWQYASABKAkSEQoJa2V5c2V0X2lkGAIgASgJEj0KE3phbWFfYWNjZXNzX2NvbnRyb2wYCiABKAsyHi5pbmNvLmZoZS52MS5aYW1hQWNjZXNzQ29udHJvbEgAEkYKGGluY29fbGl0ZV9hY2Nlc3NfY29udHJvbBgLIAEoCzIiLmluY28uZmhlLnYxLkluY29MaXRlQWNjZXNzQ29udHJvbEgAQg8KDWF1dGhvcml6YXRpb24ikQEKEVphbWFBY2Nlc3NDb250cm9sEhMKC2FjbF9hZGRyZXNzGAEgASgJEiAKGGRlY3J5cHRpb25fc3RvcmFnZV9pbmRleBgCIAEoCRIiChpyZWVuY3J5cHRpb25fc3RvcmFnZV9pbmR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Schema)` to create a new message.
16
- */
17
- exports.TypedCiphertextSchema = (0, codegenv2_1.messageDesc)(exports.file_inco_fhe_v1_types, 0);
18
- /**
19
- * Describes the message inco.fhe.v1.Covalidator.
20
- * Use `create(CovalidatorSchema)` to create a new message.
21
- */
22
- exports.CovalidatorSchema = (0, codegenv2_1.messageDesc)(exports.file_inco_fhe_v1_types, 1);
23
- /**
24
- * Describes the message inco.fhe.v1.KeysetInfo.
25
- * Use `create(KeysetInfoSchema)` to create a new message.
26
- */
27
- exports.KeysetInfoSchema = (0, codegenv2_1.messageDesc)(exports.file_inco_fhe_v1_types, 2);
28
- /**
29
- * Describes the message inco.fhe.v1.FheEnv.
30
- * Use `create(FheEnvSchema)` to create a new message.
31
- */
32
- exports.FheEnvSchema = (0, codegenv2_1.messageDesc)(exports.file_inco_fhe_v1_types, 3);
33
- /**
34
- * Describes the message inco.fhe.v1.ZamaAccessControl.
35
- * Use `create(ZamaAccessControlSchema)` to create a new message.
36
- */
37
- exports.ZamaAccessControlSchema = (0, codegenv2_1.messageDesc)(exports.file_inco_fhe_v1_types, 4);
38
- /**
39
- * Describes the message inco.fhe.v1.IncoLiteAccessControl.
40
- * Use `create(IncoLiteAccessControlSchema)` to create a new message.
41
- */
42
- exports.IncoLiteAccessControlSchema = (0, codegenv2_1.messageDesc)(exports.file_inco_fhe_v1_types, 5);
43
- /**
44
- * Describes the message inco.fhe.v1.CARoot.
45
- * Use `create(CARootSchema)` to create a new message.
46
- */
47
- exports.CARootSchema = (0, codegenv2_1.messageDesc)(exports.file_inco_fhe_v1_types, 6);
48
- /**
49
- * Describes the message inco.fhe.v1.FheEnvBlock.
50
- * Use `create(FheEnvBlockSchema)` to create a new message.
51
- */
52
- exports.FheEnvBlockSchema = (0, codegenv2_1.messageDesc)(exports.file_inco_fhe_v1_types, 7);
53
- /**
54
- * Describes the message inco.fhe.v1.BlockTopo.
55
- * Use `create(BlockTopoSchema)` to create a new message.
56
- */
57
- exports.BlockTopoSchema = (0, codegenv2_1.messageDesc)(exports.file_inco_fhe_v1_types, 8);
58
- /**
59
- * Describes the message inco.fhe.v1.BlockTopoStore.
60
- * Use `create(BlockTopoStoreSchema)` to create a new message.
61
- */
62
- exports.BlockTopoStoreSchema = (0, codegenv2_1.messageDesc)(exports.file_inco_fhe_v1_types, 9);
63
- /**
64
- * Describes the message inco.fhe.v1.HandleBinding.
65
- * Use `create(HandleBindingSchema)` to create a new message.
66
- */
67
- exports.HandleBindingSchema = (0, codegenv2_1.messageDesc)(exports.file_inco_fhe_v1_types, 10);
68
- /**
69
- * Describes the message inco.fhe.v1.HandleBindingEntry.
70
- * Use `create(HandleBindingEntrySchema)` to create a new message.
71
- */
72
- exports.HandleBindingEntrySchema = (0, codegenv2_1.messageDesc)(exports.file_inco_fhe_v1_types, 11);
73
- /**
74
- * FheType represents the type of the plaintext encrypted in either in the FHE
75
- * or the TEE ciphertext.
76
- * For compatibility with Zama's FheType, we use the same values.
77
- * ref: https://github.com/zama-ai/kms-core/blob/fcc54ba0933e6190d8e8091ef495bcf437c06f6a/core/grpc/proto/kms.v1.proto#L32
78
- *
79
- * @generated from enum inco.fhe.v1.FheType
80
- */
81
- var FheType;
82
- (function (FheType) {
83
- /**
84
- * @generated from enum value: FHE_TYPE_EBOOL = 0;
85
- */
86
- FheType[FheType["EBOOL"] = 0] = "EBOOL";
87
- /**
88
- * @generated from enum value: FHE_TYPE_EUINT4 = 1;
89
- */
90
- FheType[FheType["EUINT4"] = 1] = "EUINT4";
91
- /**
92
- * @generated from enum value: FHE_TYPE_EUINT8 = 2;
93
- */
94
- FheType[FheType["EUINT8"] = 2] = "EUINT8";
95
- /**
96
- * @generated from enum value: FHE_TYPE_EUINT16 = 3;
97
- */
98
- FheType[FheType["EUINT16"] = 3] = "EUINT16";
99
- /**
100
- * @generated from enum value: FHE_TYPE_EUINT32 = 4;
101
- */
102
- FheType[FheType["EUINT32"] = 4] = "EUINT32";
103
- /**
104
- * @generated from enum value: FHE_TYPE_EUINT64 = 5;
105
- */
106
- FheType[FheType["EUINT64"] = 5] = "EUINT64";
107
- /**
108
- * @generated from enum value: FHE_TYPE_EUINT128 = 6;
109
- */
110
- FheType[FheType["EUINT128"] = 6] = "EUINT128";
111
- /**
112
- * @generated from enum value: FHE_TYPE_EUINT160 = 7;
113
- */
114
- FheType[FheType["EUINT160"] = 7] = "EUINT160";
115
- /**
116
- * @generated from enum value: FHE_TYPE_EUINT256 = 8;
117
- */
118
- FheType[FheType["EUINT256"] = 8] = "EUINT256";
119
- /**
120
- * @generated from enum value: FHE_TYPE_EUINT512 = 9;
121
- */
122
- FheType[FheType["EUINT512"] = 9] = "EUINT512";
123
- /**
124
- * @generated from enum value: FHE_TYPE_EUINT1024 = 10;
125
- */
126
- FheType[FheType["EUINT1024"] = 10] = "EUINT1024";
127
- /**
128
- * @generated from enum value: FHE_TYPE_EUINT2048 = 11;
129
- */
130
- FheType[FheType["EUINT2048"] = 11] = "EUINT2048";
131
- })(FheType || (exports.FheType = FheType = {}));
132
- /**
133
- * Describes the enum inco.fhe.v1.FheType.
134
- */
135
- exports.FheTypeSchema = (0, codegenv2_1.enumDesc)(exports.file_inco_fhe_v1_types, 0);
136
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXNfcGIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2VzL2luY28vZmhlL3YxL3R5cGVzX3BiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxpRUFBaUU7QUFDakUsb0ZBQW9GO0FBQ3BGLG9CQUFvQjs7O0FBR3BCLDREQUErRTtBQUMvRSwrREFBMkU7QUFHM0U7O0dBRUc7QUFDVSxRQUFBLHNCQUFzQixHQUNqQyxJQUFBLG9CQUFRLEVBQUMsaXREQUFpdEQsRUFBRSxDQUFDLG9DQUF3QixDQUFDLENBQUMsQ0FBQztBQW1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