@inco/js 0.1.11 → 0.1.13
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/dist/chain.d.ts +0 -1
- package/dist/fhevm/index.cjs +3 -2692
- package/dist/fhevm/index.mjs +9 -2691
- package/dist/generated/abis/addTwo.d.ts +75 -0
- package/dist/generated/abis/index.cjs +12482 -0
- package/dist/generated/abis/index.d.ts +2 -0
- package/dist/generated/abis/index.mjs +12485 -0
- package/dist/generated/abis/lightning.d.ts +5204 -12510
- package/dist/generated/lightning.d.ts +65 -175
- package/dist/index.cjs +13784 -49093
- package/dist/index.d.ts +3 -4
- package/dist/index.mjs +21618 -74719
- package/dist/lite/deployments.d.ts +2 -2
- package/dist/lite/index.cjs +6954 -14623
- package/dist/lite/index.mjs +12728 -20452
- package/dist/local/index.cjs +22777 -0
- package/dist/local/index.d.ts +1 -0
- package/dist/local/index.mjs +41162 -0
- package/dist/local/local-node.d.ts +19 -0
- package/dist/reencryption/index.cjs +108 -2195
- package/dist/reencryption/index.mjs +115 -2195
- package/dist/viem.d.ts +52 -53
- package/package.json +42 -32
- package/dist/generated/abis/inco-lite.d.ts +0 -21794
- package/dist/generated/inco-lite-environments.d.ts +0 -260
- package/dist/generated/inco-lite.d.ts +0 -61
- package/dist/lite/advancedacl/index.d.ts +0 -2
- package/dist/lite/advancedacl/session-key.d.ts +0 -28
- package/dist/lite/advancedacl/types.d.ts +0 -15
- package/dist/lite/inco-lite-environment.d.ts +0 -23
- package/dist/reencryption/reencrypt.d.ts +0 -20
@@ -1,260 +0,0 @@
|
|
1
|
-
export declare const IncoLiteEnvironments: {
|
2
|
-
readonly "10143": readonly [{
|
3
|
-
readonly name: "incoLite_0_1_20__657981552";
|
4
|
-
readonly chainId: 10143;
|
5
|
-
readonly deployedAtAddress: "0x4eAe1243353749334507A5a02f0f85537D20b83B";
|
6
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
7
|
-
readonly decryptSigner: "0xA8822DE8910f66D3d03F1eAfe2C0141dBc327Ee0";
|
8
|
-
readonly eciesPublicKey: "0x048a582d29083c2f3fefe024bf4dd9ab913ab8973716977da5f01106e0b84095b1e647a9e377175fcb66bda05087c93b05e1fd53a704d0914bb23a0b2a69e9f235";
|
9
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
10
|
-
readonly timestamp: 1744391085709;
|
11
|
-
readonly version: {
|
12
|
-
readonly major: 0;
|
13
|
-
readonly minor: 1;
|
14
|
-
readonly patch: 20;
|
15
|
-
readonly salt: "657981552";
|
16
|
-
};
|
17
|
-
}, {
|
18
|
-
readonly name: "incoLite_0_1_17__657981552";
|
19
|
-
readonly chainId: 10143;
|
20
|
-
readonly deployedAtAddress: "0x8A71935D868e7B399C80B64fc1e55A97bBFD4262";
|
21
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
22
|
-
readonly decryptSigner: "0xA8822DE8910f66D3d03F1eAfe2C0141dBc327Ee0";
|
23
|
-
readonly eciesPublicKey: "0x048a582d29083c2f3fefe024bf4dd9ab913ab8973716977da5f01106e0b84095b1e647a9e377175fcb66bda05087c93b05e1fd53a704d0914bb23a0b2a69e9f235";
|
24
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
25
|
-
readonly timestamp: 1744031651231;
|
26
|
-
readonly version: {
|
27
|
-
readonly major: 0;
|
28
|
-
readonly minor: 1;
|
29
|
-
readonly patch: 17;
|
30
|
-
readonly salt: "657981552";
|
31
|
-
};
|
32
|
-
}, {
|
33
|
-
readonly name: "incoLite_0_1_16__657981552";
|
34
|
-
readonly chainId: 10143;
|
35
|
-
readonly deployedAtAddress: "0x6596b0666D1BB5A5A912D57BF6d5e5E054D636fd";
|
36
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
37
|
-
readonly decryptSigner: "0xA8822DE8910f66D3d03F1eAfe2C0141dBc327Ee0";
|
38
|
-
readonly eciesPublicKey: "0x048a582d29083c2f3fefe024bf4dd9ab913ab8973716977da5f01106e0b84095b1e647a9e377175fcb66bda05087c93b05e1fd53a704d0914bb23a0b2a69e9f235";
|
39
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
40
|
-
readonly timestamp: 1742314417072;
|
41
|
-
readonly version: {
|
42
|
-
readonly major: 0;
|
43
|
-
readonly minor: 1;
|
44
|
-
readonly patch: 16;
|
45
|
-
readonly salt: "657981552";
|
46
|
-
};
|
47
|
-
}, {
|
48
|
-
readonly name: "incoLite_0_1_15__657981552";
|
49
|
-
readonly chainId: 10143;
|
50
|
-
readonly deployedAtAddress: "0x0BdCC5dA46f3Fb855025F9760849569E8589F5EB";
|
51
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
52
|
-
readonly decryptSigner: "0xA8822DE8910f66D3d03F1eAfe2C0141dBc327Ee0";
|
53
|
-
readonly eciesPublicKey: "0x048a582d29083c2f3fefe024bf4dd9ab913ab8973716977da5f01106e0b84095b1e647a9e377175fcb66bda05087c93b05e1fd53a704d0914bb23a0b2a69e9f235";
|
54
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
55
|
-
readonly timestamp: 1741876586282;
|
56
|
-
readonly version: {
|
57
|
-
readonly major: 0;
|
58
|
-
readonly minor: 1;
|
59
|
-
readonly patch: 15;
|
60
|
-
readonly salt: "657981552";
|
61
|
-
};
|
62
|
-
}, {
|
63
|
-
readonly name: "incoLite_0_1_14__657981552";
|
64
|
-
readonly chainId: 10143;
|
65
|
-
readonly deployedAtAddress: "0x572D2ba4D32130aD4a0Cf234C0497252252536AC";
|
66
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
67
|
-
readonly decryptSigner: "0xA8822DE8910f66D3d03F1eAfe2C0141dBc327Ee0";
|
68
|
-
readonly eciesPublicKey: "0x048a582d29083c2f3fefe024bf4dd9ab913ab8973716977da5f01106e0b84095b1e647a9e377175fcb66bda05087c93b05e1fd53a704d0914bb23a0b2a69e9f235";
|
69
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
70
|
-
readonly timestamp: 1741863345127;
|
71
|
-
readonly version: {
|
72
|
-
readonly major: 0;
|
73
|
-
readonly minor: 1;
|
74
|
-
readonly patch: 14;
|
75
|
-
readonly salt: "657981552";
|
76
|
-
};
|
77
|
-
}, {
|
78
|
-
readonly name: "incoLite_0_1_12__657981552";
|
79
|
-
readonly chainId: 10143;
|
80
|
-
readonly deployedAtAddress: "0x007A24B43ab67d805854C4A97FDb271fB072Cd06";
|
81
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
82
|
-
readonly decryptSigner: "0xA8822DE8910f66D3d03F1eAfe2C0141dBc327Ee0";
|
83
|
-
readonly eciesPublicKey: "0x048a582d29083c2f3fefe024bf4dd9ab913ab8973716977da5f01106e0b84095b1e647a9e377175fcb66bda05087c93b05e1fd53a704d0914bb23a0b2a69e9f235";
|
84
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
85
|
-
readonly timestamp: 1741367672463;
|
86
|
-
readonly version: {
|
87
|
-
readonly major: 0;
|
88
|
-
readonly minor: 1;
|
89
|
-
readonly patch: 12;
|
90
|
-
readonly salt: "657981552";
|
91
|
-
};
|
92
|
-
}];
|
93
|
-
readonly "31337": readonly [{
|
94
|
-
readonly name: "incoLite_0_1_15__657981552";
|
95
|
-
readonly chainId: 31337;
|
96
|
-
readonly deployedAtAddress: "0x0BdCC5dA46f3Fb855025F9760849569E8589F5EB";
|
97
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
98
|
-
readonly decryptSigner: "0x000000000000000000000000000000000000baBe";
|
99
|
-
readonly eciesPublicKey: "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000babe";
|
100
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
101
|
-
readonly timestamp: 1742314033845;
|
102
|
-
readonly version: {
|
103
|
-
readonly major: 0;
|
104
|
-
readonly minor: 1;
|
105
|
-
readonly patch: 15;
|
106
|
-
readonly salt: "657981552";
|
107
|
-
};
|
108
|
-
}, {
|
109
|
-
readonly name: "incoLite_0_1_14__657981552";
|
110
|
-
readonly chainId: 31337;
|
111
|
-
readonly deployedAtAddress: "0x572D2ba4D32130aD4a0Cf234C0497252252536AC";
|
112
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
113
|
-
readonly decryptSigner: "0x000000000000000000000000000000000000baBe";
|
114
|
-
readonly eciesPublicKey: "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000babe";
|
115
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
116
|
-
readonly timestamp: 1741863332992;
|
117
|
-
readonly version: {
|
118
|
-
readonly major: 0;
|
119
|
-
readonly minor: 1;
|
120
|
-
readonly patch: 14;
|
121
|
-
readonly salt: "657981552";
|
122
|
-
};
|
123
|
-
}, {
|
124
|
-
readonly name: "incoLite_0_1_13__657981552";
|
125
|
-
readonly chainId: 31337;
|
126
|
-
readonly deployedAtAddress: "0x146354A77E741cDC6fF6DbfcbFBB94F0F7e1519C";
|
127
|
-
readonly deployer: "0x6F3711E72592aDe6bc67C3Ca7E4cfe41A37bc8e5";
|
128
|
-
readonly decryptSigner: "0x000000000000000000000000000000000000baBe";
|
129
|
-
readonly eciesPublicKey: "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000babe";
|
130
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
131
|
-
readonly timestamp: 1741777553801;
|
132
|
-
readonly version: {
|
133
|
-
readonly major: 0;
|
134
|
-
readonly minor: 1;
|
135
|
-
readonly patch: 13;
|
136
|
-
readonly salt: "657981552";
|
137
|
-
};
|
138
|
-
}, {
|
139
|
-
readonly name: "incoLite_0_1_11__657981552";
|
140
|
-
readonly chainId: 31337;
|
141
|
-
readonly deployedAtAddress: "0x770d22F0623912a8a930D818bEeaFa47E82d4a8c";
|
142
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
143
|
-
readonly decryptSigner: "0x000000000000000000000000000000000000baBe";
|
144
|
-
readonly eciesPublicKey: "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000babe";
|
145
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
146
|
-
readonly timestamp: 1741263090079;
|
147
|
-
readonly version: {
|
148
|
-
readonly major: 0;
|
149
|
-
readonly minor: 1;
|
150
|
-
readonly patch: 11;
|
151
|
-
readonly salt: "657981552";
|
152
|
-
};
|
153
|
-
}];
|
154
|
-
readonly "84532": readonly [{
|
155
|
-
readonly name: "incoLite_0_1_20__657981552";
|
156
|
-
readonly chainId: 84532;
|
157
|
-
readonly deployedAtAddress: "0x4eAe1243353749334507A5a02f0f85537D20b83B";
|
158
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
159
|
-
readonly decryptSigner: "0xA8822DE8910f66D3d03F1eAfe2C0141dBc327Ee0";
|
160
|
-
readonly eciesPublicKey: "0x048a582d29083c2f3fefe024bf4dd9ab913ab8973716977da5f01106e0b84095b1e647a9e377175fcb66bda05087c93b05e1fd53a704d0914bb23a0b2a69e9f235";
|
161
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
162
|
-
readonly timestamp: 1744391065286;
|
163
|
-
readonly version: {
|
164
|
-
readonly major: 0;
|
165
|
-
readonly minor: 1;
|
166
|
-
readonly patch: 20;
|
167
|
-
readonly salt: "657981552";
|
168
|
-
};
|
169
|
-
}, {
|
170
|
-
readonly name: "incoLite_0_1_17__657981552";
|
171
|
-
readonly chainId: 84532;
|
172
|
-
readonly deployedAtAddress: "0x8A71935D868e7B399C80B64fc1e55A97bBFD4262";
|
173
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
174
|
-
readonly decryptSigner: "0xA8822DE8910f66D3d03F1eAfe2C0141dBc327Ee0";
|
175
|
-
readonly eciesPublicKey: "0x048a582d29083c2f3fefe024bf4dd9ab913ab8973716977da5f01106e0b84095b1e647a9e377175fcb66bda05087c93b05e1fd53a704d0914bb23a0b2a69e9f235";
|
176
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
177
|
-
readonly timestamp: 1744021022681;
|
178
|
-
readonly version: {
|
179
|
-
readonly major: 0;
|
180
|
-
readonly minor: 1;
|
181
|
-
readonly patch: 17;
|
182
|
-
readonly salt: "657981552";
|
183
|
-
};
|
184
|
-
}, {
|
185
|
-
readonly name: "incoLite_0_1_16__657981552";
|
186
|
-
readonly chainId: 84532;
|
187
|
-
readonly deployedAtAddress: "0x6596b0666D1BB5A5A912D57BF6d5e5E054D636fd";
|
188
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
189
|
-
readonly decryptSigner: "0xA8822DE8910f66D3d03F1eAfe2C0141dBc327Ee0";
|
190
|
-
readonly eciesPublicKey: "0x048a582d29083c2f3fefe024bf4dd9ab913ab8973716977da5f01106e0b84095b1e647a9e377175fcb66bda05087c93b05e1fd53a704d0914bb23a0b2a69e9f235";
|
191
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
192
|
-
readonly timestamp: 1742314329434;
|
193
|
-
readonly version: {
|
194
|
-
readonly major: 0;
|
195
|
-
readonly minor: 1;
|
196
|
-
readonly patch: 16;
|
197
|
-
readonly salt: "657981552";
|
198
|
-
};
|
199
|
-
}, {
|
200
|
-
readonly name: "incoLite_0_1_15__657981552";
|
201
|
-
readonly chainId: 84532;
|
202
|
-
readonly deployedAtAddress: "0x0BdCC5dA46f3Fb855025F9760849569E8589F5EB";
|
203
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
204
|
-
readonly decryptSigner: "0xA8822DE8910f66D3d03F1eAfe2C0141dBc327Ee0";
|
205
|
-
readonly eciesPublicKey: "0x048a582d29083c2f3fefe024bf4dd9ab913ab8973716977da5f01106e0b84095b1e647a9e377175fcb66bda05087c93b05e1fd53a704d0914bb23a0b2a69e9f235";
|
206
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
207
|
-
readonly timestamp: 1741863703920;
|
208
|
-
readonly version: {
|
209
|
-
readonly major: 0;
|
210
|
-
readonly minor: 1;
|
211
|
-
readonly patch: 15;
|
212
|
-
readonly salt: "657981552";
|
213
|
-
};
|
214
|
-
}, {
|
215
|
-
readonly name: "incoLite_0_1_12__657981552";
|
216
|
-
readonly chainId: 84532;
|
217
|
-
readonly deployedAtAddress: "0x007A24B43ab67d805854C4A97FDb271fB072Cd06";
|
218
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
219
|
-
readonly decryptSigner: "0xA8822DE8910f66D3d03F1eAfe2C0141dBc327Ee0";
|
220
|
-
readonly eciesPublicKey: "0x048a582d29083c2f3fefe024bf4dd9ab913ab8973716977da5f01106e0b84095b1e647a9e377175fcb66bda05087c93b05e1fd53a704d0914bb23a0b2a69e9f235";
|
221
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
222
|
-
readonly timestamp: 1741447366512;
|
223
|
-
readonly version: {
|
224
|
-
readonly major: 0;
|
225
|
-
readonly minor: 1;
|
226
|
-
readonly patch: 12;
|
227
|
-
readonly salt: "657981552";
|
228
|
-
};
|
229
|
-
}, {
|
230
|
-
readonly name: "incoLite_0_1_11__657981552";
|
231
|
-
readonly chainId: 84532;
|
232
|
-
readonly deployedAtAddress: "0x770d22F0623912a8a930D818bEeaFa47E82d4a8c";
|
233
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
234
|
-
readonly decryptSigner: "0xA8822DE8910f66D3d03F1eAfe2C0141dBc327Ee0";
|
235
|
-
readonly eciesPublicKey: "0x048a582d29083c2f3fefe024bf4dd9ab913ab8973716977da5f01106e0b84095b1e647a9e377175fcb66bda05087c93b05e1fd53a704d0914bb23a0b2a69e9f235";
|
236
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
237
|
-
readonly timestamp: 1741367040258;
|
238
|
-
readonly version: {
|
239
|
-
readonly major: 0;
|
240
|
-
readonly minor: 1;
|
241
|
-
readonly patch: 11;
|
242
|
-
readonly salt: "657981552";
|
243
|
-
};
|
244
|
-
}, {
|
245
|
-
readonly name: "incoLite_0_1_10__657981552";
|
246
|
-
readonly chainId: 84532;
|
247
|
-
readonly deployedAtAddress: "0xEe2ec4F57895eCf05E21D28B2E6c926765081Ec5";
|
248
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
249
|
-
readonly decryptSigner: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
250
|
-
readonly eciesPublicKey: "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000babe";
|
251
|
-
readonly extraSalt: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
|
252
|
-
readonly timestamp: 1741365843004;
|
253
|
-
readonly version: {
|
254
|
-
readonly major: 0;
|
255
|
-
readonly minor: 1;
|
256
|
-
readonly patch: 10;
|
257
|
-
readonly salt: "657981552";
|
258
|
-
};
|
259
|
-
}];
|
260
|
-
};
|
@@ -1,61 +0,0 @@
|
|
1
|
-
export declare const incoLiteDeployments: readonly [{
|
2
|
-
readonly name: "incoLightning_0_1_22__761766708";
|
3
|
-
readonly contractAddress: "0x88ab1DF735e8de6Cf195F6142c9A7192BBF0e750";
|
4
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
5
|
-
readonly pepper: "";
|
6
|
-
readonly version: {
|
7
|
-
readonly major: 0;
|
8
|
-
readonly minor: 1;
|
9
|
-
readonly patch: 22;
|
10
|
-
readonly shortSalt: "761766708";
|
11
|
-
};
|
12
|
-
readonly salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc006a836410fca2f43cdbf134";
|
13
|
-
readonly decryptSigner: "0xA8822DE8910f66D3d03F1eAfe2C0141dBc327Ee0";
|
14
|
-
readonly eciesPublicKey: "0x048a582d29083c2f3fefe024bf4dd9ab913ab8973716977da5f01106e0b84095b1e647a9e377175fcb66bda05087c93b05e1fd53a704d0914bb23a0b2a69e9f235";
|
15
|
-
readonly chainId: "10143";
|
16
|
-
readonly blockNumber: "12653677";
|
17
|
-
readonly chainName: "Monad Testnet";
|
18
|
-
readonly active: true;
|
19
|
-
readonly deployDate: "2025-04-17T14:18:15.048Z";
|
20
|
-
readonly commit: "v3-5-g0707a04";
|
21
|
-
}, {
|
22
|
-
readonly name: "incoLightning_0_1_22__761766708";
|
23
|
-
readonly contractAddress: "0x88ab1DF735e8de6Cf195F6142c9A7192BBF0e750";
|
24
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
25
|
-
readonly pepper: "";
|
26
|
-
readonly version: {
|
27
|
-
readonly major: 0;
|
28
|
-
readonly minor: 1;
|
29
|
-
readonly patch: 22;
|
30
|
-
readonly shortSalt: "761766708";
|
31
|
-
};
|
32
|
-
readonly salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc006a836410fca2f43cdbf134";
|
33
|
-
readonly decryptSigner: "0xA8822DE8910f66D3d03F1eAfe2C0141dBc327Ee0";
|
34
|
-
readonly eciesPublicKey: "0x048a582d29083c2f3fefe024bf4dd9ab913ab8973716977da5f01106e0b84095b1e647a9e377175fcb66bda05087c93b05e1fd53a704d0914bb23a0b2a69e9f235";
|
35
|
-
readonly chainId: "84532";
|
36
|
-
readonly blockNumber: "24565566";
|
37
|
-
readonly chainName: "Base Sepolia";
|
38
|
-
readonly active: true;
|
39
|
-
readonly deployDate: "2025-04-17T14:17:05.402Z";
|
40
|
-
readonly commit: "v3-5-g0707a04";
|
41
|
-
}, {
|
42
|
-
readonly name: "incoLightning_0_1_22__761766708";
|
43
|
-
readonly contractAddress: "0x88ab1DF735e8de6Cf195F6142c9A7192BBF0e750";
|
44
|
-
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
45
|
-
readonly pepper: "";
|
46
|
-
readonly version: {
|
47
|
-
readonly major: 0;
|
48
|
-
readonly minor: 1;
|
49
|
-
readonly patch: 22;
|
50
|
-
readonly shortSalt: "761766708";
|
51
|
-
};
|
52
|
-
readonly salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc006a836410fca2f43cdbf134";
|
53
|
-
readonly decryptSigner: "0x000000000000000000000000000000000000baBe";
|
54
|
-
readonly eciesPublicKey: "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000babe";
|
55
|
-
readonly chainId: "7311099111";
|
56
|
-
readonly blockNumber: "1";
|
57
|
-
readonly chainName: "Inco Release Chain";
|
58
|
-
readonly active: true;
|
59
|
-
readonly deployDate: "2025-04-17T14:15:56.576Z";
|
60
|
-
readonly commit: "v3-5-g0707a04";
|
61
|
-
}];
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { Client } from '@connectrpc/connect';
|
2
|
-
import { Account, Address, Chain, Hex, Transport, WalletClient } from 'viem';
|
3
|
-
import { SupportedFheType } from '../../encryption';
|
4
|
-
import { EciesScheme } from '../../encryption/encryption';
|
5
|
-
import { KmsService } from '../../generated/es/inco/kms/lite/v1/kms_service_pb';
|
6
|
-
import { ReencryptFnArgs } from '../../reencryption';
|
7
|
-
import { Secp256k1Keypair } from '../ecies';
|
8
|
-
import { AllowanceVoucher, AllowanceVoucherWithSig } from './types';
|
9
|
-
export interface Session {
|
10
|
-
decrypter: Address;
|
11
|
-
expiresAt: bigint;
|
12
|
-
}
|
13
|
-
export declare function createAllowanceVoucher(incoLiteAddress: Address, sharerWalletClient: WalletClient<Transport, Chain, Account>, verifyingContract: Address, callFunction: Hex, sharerArgData: Hex): Promise<AllowanceVoucher>;
|
14
|
-
export declare function grantSessionKey({ chainId, incoLiteAddress, sessionVerifierContractAddress, ephemeralAddress, sharerWalletClient, expiresAt, }: {
|
15
|
-
chainId: bigint;
|
16
|
-
incoLiteAddress: Address;
|
17
|
-
sessionVerifierContractAddress: Address;
|
18
|
-
ephemeralAddress: Address;
|
19
|
-
sharerWalletClient: WalletClient<Transport, Chain, Account>;
|
20
|
-
expiresAt: bigint;
|
21
|
-
}): Promise<AllowanceVoucherWithSig>;
|
22
|
-
export interface SessionKeyReencryptorArgs {
|
23
|
-
chainId: bigint;
|
24
|
-
ephemeralKeypair: Secp256k1Keypair;
|
25
|
-
kmsConnectRpcEndpointOrClient: string | Client<typeof KmsService>;
|
26
|
-
allowanceVoucherWithSig: AllowanceVoucherWithSig;
|
27
|
-
}
|
28
|
-
export declare function sessionKeyReencryptor({ chainId, kmsConnectRpcEndpointOrClient, ephemeralKeypair, allowanceVoucherWithSig, }: SessionKeyReencryptorArgs): Promise<(<T extends SupportedFheType>({ handle }: ReencryptFnArgs<EciesScheme, T>) => Promise<import("../../encryption").PlaintextOf<1, 0 | 5 | 8>>)>;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Address, Hex } from 'viem';
|
2
|
-
export type AllowanceVoucher = {
|
3
|
-
sessionNonce: Hex;
|
4
|
-
verifyingContract: Address;
|
5
|
-
callFunction: Hex;
|
6
|
-
sharerArgData: Hex;
|
7
|
-
};
|
8
|
-
export interface AllowanceVoucherWithSig {
|
9
|
-
sharer: Address;
|
10
|
-
voucher: AllowanceVoucher;
|
11
|
-
voucherSignature: Hex;
|
12
|
-
}
|
13
|
-
export interface AllowanceProof extends AllowanceVoucherWithSig {
|
14
|
-
requesterArgData: Uint8Array;
|
15
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { Chainish } from '../chain';
|
2
|
-
import { IncoLiteEnvironments } from '../generated/inco-lite-environments';
|
3
|
-
export type Address = `0x${string}`;
|
4
|
-
export type IncoLiteVersion = {
|
5
|
-
major: number;
|
6
|
-
minor: number;
|
7
|
-
patch: number;
|
8
|
-
salt: string;
|
9
|
-
};
|
10
|
-
export type IncoLiteDeployment = {
|
11
|
-
name: string;
|
12
|
-
chainId: number;
|
13
|
-
deployedAtAddress: Address;
|
14
|
-
deployer: Address;
|
15
|
-
extraSalt: string;
|
16
|
-
decryptSigner: Address;
|
17
|
-
eciesPublicKey: string;
|
18
|
-
version: IncoLiteVersion;
|
19
|
-
timestamp: number;
|
20
|
-
};
|
21
|
-
export type IncoLiteChainId = keyof typeof IncoLiteEnvironments;
|
22
|
-
export declare function getActiveIncoLiteDeployment(chain: Chainish): IncoLiteDeployment;
|
23
|
-
export declare function getIncoLiteDeployments(chainId: Chainish): readonly IncoLiteDeployment[];
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import { Account, Address, Chain, Transport, WalletClient } from 'viem';
|
2
|
-
import { CiphertextOf, EncryptionScheme, PlaintextOf, SupportedFheType } from '../encryption/encryption';
|
3
|
-
import { HandleOf } from '../handle';
|
4
|
-
import { FheEnvQuerier, ReencryptEndpoint, SupportedEphemeralKeypairs } from './types';
|
5
|
-
export type ReencryptArgs<S extends EncryptionScheme, T extends SupportedFheType> = {
|
6
|
-
handle: HandleOf<T>;
|
7
|
-
ciphertext?: CiphertextOf<S, T>;
|
8
|
-
};
|
9
|
-
export type Reencryptor<S extends EncryptionScheme> = <T extends SupportedFheType>(args: ReencryptArgs<S, T>) => Promise<PlaintextOf<S, T>>;
|
10
|
-
export interface ReencryptorArgs<EKP extends SupportedEphemeralKeypairs> {
|
11
|
-
kmsSigners?: Address[];
|
12
|
-
chainId: bigint;
|
13
|
-
contractAddress: Address;
|
14
|
-
fheEnvQuerier: FheEnvQuerier;
|
15
|
-
walletClient: WalletClient<Transport, Chain, Account>;
|
16
|
-
skipQueryACLBeforeReencrypt?: boolean;
|
17
|
-
unsafeSkipVerifyKMSSignatures?: boolean;
|
18
|
-
reencryptEndpoint: ReencryptEndpoint<EKP>;
|
19
|
-
}
|
20
|
-
export declare function getReencryptor<EKP extends SupportedEphemeralKeypairs>({ chainId, contractAddress, walletClient, kmsSigners: _kmsSigners, skipQueryACLBeforeReencrypt, unsafeSkipVerifyKMSSignatures, reencryptEndpoint, fheEnvQuerier, }: ReencryptorArgs<EKP>): Promise<Reencryptor<EKP['scheme']>>;
|