@inco/lightning 0.11.0-testnet-3 → 1.0.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.
package/manifest.yaml CHANGED
@@ -1,3 +1,29 @@
1
+ incoLightning_devnet_v12_873394282:
2
+ executor:
3
+ name: incoLightning_devnet_v12_873394282
4
+ majorVersion: 12
5
+ deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC"
6
+ owner: "0x8E0860785c9B9c99B17DCd8c1da89548dA140299"
7
+ pepper: devnet
8
+ executorAddress: "0xB3C06f0Ed967a7E366ba31C67927DDf93d7c1154"
9
+ salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc00f5bad44b2a772fe6ca626a"
10
+ verifierAddress: "0x75dE330840A8ff79C8a71b0b9bA2cAd635D1Fd88"
11
+ deployments:
12
+ - name: incoLightning_12_0_0__873394282
13
+ chainId: "84532"
14
+ chainName: Base Sepolia
15
+ version:
16
+ major: 12
17
+ minor: 0
18
+ patch: 0
19
+ shortSalt: "873394282"
20
+ blockNumber: "41405367"
21
+ deployDate: 2026-05-12T09:43:45.656Z
22
+ commit: v0.11.0-demonet-7-12-g82837bd9
23
+ active: true
24
+ includesPreviewFeatures: false
25
+ executorImpl: "0x4cdaa0d9f13AeA039673f4c5be50e6C37631f3Fd"
26
+ verifierImpl: "0xaa8F2FaD6b695fAB9D21FA00f74148038496aDa1"
1
27
  incoLightning_testnet_v11_340321378:
2
28
  executor:
3
29
  name: incoLightning_testnet_v11_340321378
@@ -7,6 +33,7 @@ incoLightning_testnet_v11_340321378:
7
33
  pepper: testnet
8
34
  executorAddress: "0x3cC345Eaa5bEe457AF9C0C3183335a67b62b0066"
9
35
  salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc00af1f4ec3705e21d9e36c62"
36
+ verifierAddress: "0x856802c3c762ddfAbDe9eaFb7aba66124AA97b4e"
10
37
  deployments:
11
38
  - name: incoLightning_11_0_0__340321378
12
39
  chainId: "84532"
@@ -21,6 +48,34 @@ incoLightning_testnet_v11_340321378:
21
48
  commit: v0.10.0-devnet-2-12-gfac57f53-dirty
22
49
  active: true
23
50
  includesPreviewFeatures: false
51
+ executorImpl: "0x3c120ea08303ada9abdf7d68f490d375d88c816c"
52
+ verifierImpl: "0x12d09b2b7224368e49a3a5b394af945ab08ac01b"
53
+ incoLightning_demonet_v11_473256067:
54
+ executor:
55
+ name: incoLightning_demonet_v11_473256067
56
+ majorVersion: 11
57
+ deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC"
58
+ owner: "0x8E0860785c9B9c99B17DCd8c1da89548dA140299"
59
+ pepper: demonet
60
+ executorAddress: "0xad9Af2e804FbF14d69391167F1FCDf918A3980fb"
61
+ salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc00056195a8d84ba47a58b683"
62
+ verifierAddress: "0xD5dc612b26c09724F568Bf5A0f1275bd258805d9"
63
+ deployments:
64
+ - name: incoLightning_11_0_1__473256067
65
+ chainId: "84532"
66
+ chainName: Base Sepolia
67
+ version:
68
+ major: 11
69
+ minor: 0
70
+ patch: 1
71
+ shortSalt: "473256067"
72
+ blockNumber: "40887358"
73
+ deployDate: 2026-04-30T09:56:46.927Z
74
+ commit: v0.11.0-testnet-3-10-g6b4bb85b
75
+ active: true
76
+ includesPreviewFeatures: false
77
+ executorImpl: "0x9db0b06f1717d5c77c3157d30a95b62d0a6f0349"
78
+ verifierImpl: "0x3592bc475fe2a1c63849f2b3af46647b7402bd2c"
24
79
  incoLightning_devnet_v10_266391127:
25
80
  executor:
26
81
  name: incoLightning_devnet_v10_266391127
@@ -30,6 +85,7 @@ incoLightning_devnet_v10_266391127:
30
85
  pepper: devnet
31
86
  executorAddress: "0x9C6b74dff47644956e712B301aa3701b3141fF9C"
32
87
  salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc0012dea2b242c4d3b620c657"
88
+ verifierAddress: "0x15282A3136320a6C11d2468079DB1F26Fa9Ac001"
33
89
  deployments:
34
90
  - name: incoLightning_10_0_0__266391127
35
91
  chainId: "84532"
@@ -44,6 +100,8 @@ incoLightning_devnet_v10_266391127:
44
100
  commit: v0.8.0-devnet-32-6-ge1e857cf0-dirty
45
101
  active: true
46
102
  includesPreviewFeatures: false
103
+ executorImpl: "0x362c2f6792e2fe328fc9565949ca8f186f88773a"
104
+ verifierImpl: "0x0233e1facb84bc1c76114b7df635cb2d889a4eea"
47
105
  incoLightning_devnet_v9_269218568:
48
106
  executor:
49
107
  name: incoLightning_devnet_v9_269218568
@@ -53,6 +111,7 @@ incoLightning_devnet_v9_269218568:
53
111
  pepper: devnet
54
112
  executorAddress: "0x6c9132D324231D2F68a1491686b0d4c10ee7d257"
55
113
  salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc007202d6e9ea2805def71308"
114
+ verifierAddress: "0x0c03069f9632B016bc5d39EFf09EcdA100Be8424"
56
115
  deployments:
57
116
  - name: incoLightning_9_0_0__269218568
58
117
  chainId: "84532"
@@ -67,6 +126,8 @@ incoLightning_devnet_v9_269218568:
67
126
  commit: v0.8.0-devnet-13-40-gc1ceef103-dirty
68
127
  active: true
69
128
  includesPreviewFeatures: false
129
+ executorImpl: "0x2f2f5bce9dfc3c759ddd9337230bede594bbe428"
130
+ verifierImpl: "0xc8dfe7e295c7641984685f87a66247139eeb7582"
70
131
  incoLightning_devnet_v8_985328058:
71
132
  executor:
72
133
  name: incoLightning_devnet_v8_985328058
@@ -99,6 +160,7 @@ incoLightning_devnet_v7_24560427:
99
160
  pepper: devnet
100
161
  executorAddress: "0xA2275E60cCEd081fFD7373593c44ebc30E6Efe66"
101
162
  salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc0057b7694d1492d2775d132b"
163
+ verifierAddress: "0xe2Dc8809100770771a0AA5B4eCe545CA9bC10195"
102
164
  deployments:
103
165
  - name: incoLightning_7_0_0__24560427
104
166
  chainId: "84532"
@@ -113,6 +175,7 @@ incoLightning_devnet_v7_24560427:
113
175
  commit: v0.8.0-devnet-13-38-g52b1dfef3
114
176
  active: true
115
177
  includesPreviewFeatures: false
178
+ executorImpl: "0x7f875aec5795a2c4f74522df134aad81cc7ded35"
116
179
  incoLightning_devnet_v6_281949651:
117
180
  executor:
118
181
  name: incoLightning_devnet_v6_281949651
@@ -122,6 +185,7 @@ incoLightning_devnet_v6_281949651:
122
185
  pepper: devnet
123
186
  executorAddress: "0xDF3830489208461f72Df6E45D0e6cbF9DBB74fe1"
124
187
  salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc009531587de02194b1b7a9d3"
188
+ verifierAddress: "0xDAC31F2fbf1DB86e7A26099C199b4c092851080f"
125
189
  deployments:
126
190
  - name: incoLightning_6_0_0__281949651
127
191
  chainId: "84532"
@@ -136,6 +200,8 @@ incoLightning_devnet_v6_281949651:
136
200
  commit: v0.8.0-devnet-9-13-ge2ba2377
137
201
  active: true
138
202
  includesPreviewFeatures: false
203
+ executorImpl: "0x7af45d96b9ec580d59319c33b75af6f535b32e5a"
204
+ verifierImpl: "0x2fca8caca9851fcee07913eb014636aef4aa3584"
139
205
  incoLightning_devnet_v5_203964628:
140
206
  executor:
141
207
  name: incoLightning_devnet_v5_203964628
@@ -145,6 +211,7 @@ incoLightning_devnet_v5_203964628:
145
211
  pepper: devnet
146
212
  executorAddress: "0x8D5D75CC00E2Fc84ec4dE085aE1708223591c6b6"
147
213
  salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc00c573fb2bf617e75b6210d4"
214
+ verifierAddress: "0xA06766200a27838DE02Ec9AF0125CBC4779b194d"
148
215
  deployments:
149
216
  - name: incoLightningPreview_5_0_0__203964628
150
217
  chainId: "84532"
@@ -159,6 +226,8 @@ incoLightning_devnet_v5_203964628:
159
226
  commit: v0.8.0-devnet-8-8-ge2e37e00
160
227
  active: true
161
228
  includesPreviewFeatures: true
229
+ executorImpl: "0x75e2db9f74fc1086290199de9e68ff473574d828"
230
+ verifierImpl: "0xb5a51782dad58abb611e06543c1db54a242b72b1"
162
231
  incoLightning_devnet_v4_409204766:
163
232
  executor:
164
233
  name: incoLightning_devnet_v4_409204766
@@ -168,6 +237,7 @@ incoLightning_devnet_v4_409204766:
168
237
  pepper: devnet
169
238
  executorAddress: "0x4046b737B454b0430FBF29cea070e3337AdE95aD"
170
239
  salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc003b3f2c4caeb6f787dcce1e"
240
+ verifierAddress: "0x4756FBd1E0B0243FF6D2952FebD7B2C25C481f05"
171
241
  deployments:
172
242
  - name: incoLightningPreview_4_0_0__409204766
173
243
  chainId: "84532"
@@ -182,6 +252,8 @@ incoLightning_devnet_v4_409204766:
182
252
  commit: v0.8.0-devnet-4-1-g48f40565-dirty
183
253
  active: true
184
254
  includesPreviewFeatures: true
255
+ executorImpl: "0xffd0555386f1b7618da4e1b10d3a78ff03bdb5f8"
256
+ verifierImpl: "0x4d98f77b10b79df02a3657d208f5ef49b6bd6675"
185
257
  incoLightning_devnet_v3_976859633:
186
258
  executor:
187
259
  name: incoLightning_devnet_v3_976859633
@@ -191,6 +263,7 @@ incoLightning_devnet_v3_976859633:
191
263
  pepper: devnet
192
264
  executorAddress: "0x4732520194584a04Cac0224e067658619F4086bD"
193
265
  salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc00ef1fab551c72a93b0637f1"
266
+ verifierAddress: "0xc5687F93B8558DAB2e838B538D4f5Cb28bf062F1"
194
267
  deployments:
195
268
  - name: incoLightningPreview_3_0_0__976859633
196
269
  chainId: "84532"
@@ -205,6 +278,8 @@ incoLightning_devnet_v3_976859633:
205
278
  commit: v0.7.9-7-g63b3d823-dirty
206
279
  active: true
207
280
  includesPreviewFeatures: true
281
+ executorImpl: "0x7662b6f0982dfb02fb5a176aa5406e2038fd0413"
282
+ verifierImpl: "0x306656e5c1cf2526a685a08037194c08c0850399"
208
283
  incoLightning_testnet_v2_889158349:
209
284
  executor:
210
285
  name: incoLightning_testnet_v2_889158349
@@ -214,6 +289,7 @@ incoLightning_testnet_v2_889158349:
214
289
  pepper: testnet
215
290
  executorAddress: "0x168FDc3Ae19A5d5b03614578C58974FF30FCBe92"
216
291
  salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc005e0f44aac1a914b715cecd"
292
+ verifierAddress: "0x4507d21774b152479D354FE7A6058A85193EFed0"
217
293
  deployments:
218
294
  - name: incoLightningPreview_2_0_0__889158349
219
295
  chainId: "84532"
@@ -228,6 +304,8 @@ incoLightning_testnet_v2_889158349:
228
304
  commit: v0.7.5-1-g770d7d08-dirty
229
305
  active: true
230
306
  includesPreviewFeatures: true
307
+ executorImpl: "0x8ed6876106cb635c0cee4c4529b09cbddc9881af"
308
+ verifierImpl: "0x161acaa1eece74d35ac838f7eb0c4c1a6be20094"
231
309
  incoLightning_demonet_v2_467437523:
232
310
  executor:
233
311
  name: incoLightning_demonet_v2_467437523
@@ -237,6 +315,7 @@ incoLightning_demonet_v2_467437523:
237
315
  pepper: demonet
238
316
  executorAddress: "0xA95EAbCE575f5f1e52605358Ee893F6536166378"
239
317
  salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc0071f74686446f14c7b469d3"
318
+ verifierAddress: "0x07B483c571F147f91b8C3a16AF813D70954A3371"
240
319
  deployments:
241
320
  - name: incoLightningPreview_2_0_0__467437523
242
321
  chainId: "84532"
@@ -251,6 +330,8 @@ incoLightning_demonet_v2_467437523:
251
330
  commit: v0.7.6-testnet-1-dirty
252
331
  active: true
253
332
  includesPreviewFeatures: true
333
+ executorImpl: "0x9738f9cf0cdb50363bf973a7cd3587972eda97f5"
334
+ verifierImpl: "0xfd66b8aa69215550904fea3cc1ddb1ad92145a33"
254
335
  incoLightning_alphanet_v2_976644394:
255
336
  executor:
256
337
  name: incoLightning_alphanet_v2_976644394
@@ -260,6 +341,7 @@ incoLightning_alphanet_v2_976644394:
260
341
  pepper: alphanet
261
342
  executorAddress: "0xc0d693DeEF0A91CE39208676b6da09B822abd199"
262
343
  salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc000822f11f6e30f933e76d2a"
344
+ verifierAddress: "0x88D1bEbCbEf8E9035d9b86Cb9eDBA10F06BDf49D"
263
345
  deployments:
264
346
  - name: incoLightningPreview_2_0_0__976644394
265
347
  chainId: "84532"
@@ -274,6 +356,8 @@ incoLightning_alphanet_v2_976644394:
274
356
  commit: v0.6.9-17-g217794f3-dirty
275
357
  active: true
276
358
  includesPreviewFeatures: true
359
+ executorImpl: "0xd3822728e4c6e284a3ac2236aa17e151f182701a"
360
+ verifierImpl: "0x7c5645de301e2ffd73dfb8e3414415d10dc6ca3b"
277
361
  incoLightning_devnet_v2_295237520:
278
362
  executor:
279
363
  name: incoLightning_devnet_v2_295237520
@@ -283,6 +367,7 @@ incoLightning_devnet_v2_295237520:
283
367
  pepper: devnet
284
368
  executorAddress: "0xC64BB070D6F5aa796e79fA19c1008647ffF736ED"
285
369
  salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc008d5a963bd519d8493f5190"
370
+ verifierAddress: "0x8eAD8084Bcd620eC3c692296906394D799B467ec"
286
371
  deployments:
287
372
  - name: incoLightningPreview_2_0_0__295237520
288
373
  chainId: "9746"
@@ -297,6 +382,8 @@ incoLightning_devnet_v2_295237520:
297
382
  commit: v0.7.4-dirty
298
383
  active: true
299
384
  includesPreviewFeatures: true
385
+ executorImpl: "0xaa19da35487c659eadd204ee7f70b4c74735e868"
386
+ verifierImpl: "0x9fddae8044ffbc60359d08cc97b2a9ae6d006e6c"
300
387
  - name: incoLightningPreview_2_0_0__295237520
301
388
  chainId: "84532"
302
389
  chainName: Base Sepolia
@@ -310,6 +397,8 @@ incoLightning_devnet_v2_295237520:
310
397
  commit: v0.7.2-3-g4d31fa62-dirty
311
398
  active: true
312
399
  includesPreviewFeatures: true
400
+ executorImpl: "0x69513b81756bd942dabe24bd9d175ac42f1f1282"
401
+ verifierImpl: "0xdb096d4a543731f9ff5091eac94a32bf2fc8550d"
313
402
  incoLightning_alphanet_v1_725458969:
314
403
  executor:
315
404
  name: incoLightning_alphanet_v1_725458969
@@ -319,6 +408,7 @@ incoLightning_alphanet_v1_725458969:
319
408
  pepper: alphanet
320
409
  executorAddress: "0x28676Cd3b10b03b2FDF105Ba280425b45a674F2A"
321
410
  salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc004dfbe338c6966a22bcca19"
411
+ verifierAddress: "0x6F6a198141e304dD9c977b07f45dbef1686e4705"
322
412
  deployments:
323
413
  - name: incoLightningPreview_1_1_0__725458969
324
414
  chainId: "84532"
@@ -333,6 +423,8 @@ incoLightning_alphanet_v1_725458969:
333
423
  commit: v0.6.9-16-g428d1837-dirty
334
424
  active: true
335
425
  includesPreviewFeatures: true
426
+ executorImpl: "0x0e2a5225f65268840f0f49e7093d5918be5a9cc3"
427
+ verifierImpl: "0x418f089b9ac222d6eff2c25dd55af432e7b788e7"
336
428
  - name: incoLightningPreview_1_0_2__725458969
337
429
  chainId: "84532"
338
430
  chainName: Base Sepolia
@@ -345,6 +437,8 @@ incoLightning_alphanet_v1_725458969:
345
437
  deployDate: 2025-10-09T13:55:42.997Z
346
438
  commit: v0.5.3-10-ga4f2312d
347
439
  active: true
440
+ executorImpl: "0x0e2a5225f65268840f0f49e7093d5918be5a9cc3"
441
+ verifierImpl: "0x418f089b9ac222d6eff2c25dd55af432e7b788e7"
348
442
  incoLightning_devnet_v1_904635675:
349
443
  executor:
350
444
  name: incoLightning_devnet_v1_904635675
@@ -354,6 +448,7 @@ incoLightning_devnet_v1_904635675:
354
448
  pepper: devnet
355
449
  executorAddress: "0x3473820DcAa71Af8157b93C7f2bf1c676A2A39A6"
356
450
  salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc007d63c0fdca6698ac7cc51b"
451
+ verifierAddress: "0xda5B164c6eD4D170e95184c24A4C97dE85D9688A"
357
452
  deployments:
358
453
  - name: incoLightningPreview_1_0_2__904635675
359
454
  chainId: "9746"
@@ -367,6 +462,8 @@ incoLightning_devnet_v1_904635675:
367
462
  deployDate: 2025-10-03T13:24:44.682Z
368
463
  commit: v0.5.3-6-g8db0f27f-dirty
369
464
  active: true
465
+ executorImpl: "0xa5e54313d736805e225bd26de0809bb6084a8366"
466
+ verifierImpl: "0x04d0963a96e3c40acc3f6f540123910c0f05251f"
370
467
  - name: incoLightningPreview_1_0_0__904635675
371
468
  chainId: "9746"
372
469
  chainName: Plasma Testnet
@@ -379,6 +476,8 @@ incoLightning_devnet_v1_904635675:
379
476
  deployDate: 2025-09-29T11:14:02.599Z
380
477
  commit: v0.5.1-5-g4135c790-dirty
381
478
  active: true
479
+ executorImpl: "0xa5e54313d736805e225bd26de0809bb6084a8366"
480
+ verifierImpl: "0x04d0963a96e3c40acc3f6f540123910c0f05251f"
382
481
  incoLightning_testnet_v0_183408998:
383
482
  executor:
384
483
  name: incoLightning_testnet_v0_183408998
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inco/lightning",
3
- "version": "0.11.0-testnet-3",
3
+ "version": "1.0.0-devnet-2",
4
4
  "repository": "https://github.com/Inco-fhevm/inco-monorepo",
5
5
  "files": [
6
6
  "src/",
@@ -13,6 +13,7 @@
13
13
  "lint:fix": "forge fmt",
14
14
  "generate": "bun run generate:libraries",
15
15
  "generate:libraries": "bun run ../pega/lib/deployment/cmd/generate-libraries.ts",
16
+ "enrich:manifest": "bun run ../pega/lib/deployment/cmd/enrich-manifest.ts",
16
17
  "publish:github": "bun publish --registry=https://npm.pkg.github.com",
17
18
  "publish:npm": "npm publish --tag ${NPM_DIST_TAG:-alpha} --access public"
18
19
  },
@@ -43,9 +43,22 @@ contract IncoLightning is IIncoLightning, TrivialEncryption, EList, UUPSUpgradea
43
43
  /// @param _owner The address that will own this contract and can authorize upgrades
44
44
  function initialize(address _owner) public initializer {
45
45
  __Ownable_init(_owner);
46
+ __Pausable_init();
46
47
  _setAcceptedVersion(2, true);
47
48
  }
48
49
 
50
+ /// @notice Pauses ACL checks and all event-emitting encrypted operations.
51
+ /// @dev While paused, `isAllowed` returns false unconditionally and every external
52
+ /// operation guarded by `whenNotPaused` reverts with `EnforcedPause`. Owner-only.
53
+ function pause() external onlyOwner {
54
+ _pause();
55
+ }
56
+
57
+ /// @notice Resumes ACL checks and encrypted operations.
58
+ function unpause() external onlyOwner {
59
+ _unpause();
60
+ }
61
+
49
62
  /// @notice Withdraws accumulated protocol fees to the owner
50
63
  /// @dev Only callable by the contract owner. Transfers all accumulated fees
51
64
  /// from encrypted operations to the owner address.
@@ -37,6 +37,19 @@ contract IncoVerifier is IIncoVerifier, AdvancedAccessControl, DecryptionAtteste
37
37
  __Ownable_init(owner);
38
38
  __EIP712_init(name, version);
39
39
  __TeeLifecycle_init(quoteVerifier);
40
+ __Pausable_init();
41
+ }
42
+
43
+ /// @notice Pauses attestation verification and voucher-based access checks.
44
+ /// @dev While paused, `isAllowedWithProof` and the `isValid*Attestation` family return false,
45
+ /// causing dependent flows (e.g. `claimHandle`) to reject. Owner-only.
46
+ function pause() external onlyOwner {
47
+ _pause();
48
+ }
49
+
50
+ /// @notice Resumes attestation verification and voucher-based access checks.
51
+ function unpause() external onlyOwner {
52
+ _unpause();
40
53
  }
41
54
 
42
55
  /// @notice Returns the EIP712 domain name
@@ -10,7 +10,7 @@ import { ebool, euint256, eaddress, ETypes, elist, IndexOutOfRange, InvalidRange
10
10
  import { asBool } from "./shared/TypeUtils.sol";
11
11
  import { DecryptionAttestation, ElementAttestationWithProof } from "./lightning-parts/DecryptionAttester.types.sol";
12
12
 
13
- IncoLightning constant inco = IncoLightning(payable(0xA95EAbCE575f5f1e52605358Ee893F6536166378));
13
+ IncoLightning constant inco = IncoLightning(payable(0xad9Af2e804FbF14d69391167F1FCDf918A3980fb));
14
14
  address constant deployedBy = 0x8202D2D747784Cb7D48868E44C42C4bf162a70BC;
15
15
 
16
16
  /// @notice Returns the ETypes enum value encoded in a handle
@@ -10,7 +10,7 @@ import { ebool, euint256, eaddress, ETypes, elist, IndexOutOfRange, InvalidRange
10
10
  import { asBool } from "./shared/TypeUtils.sol";
11
11
  import { DecryptionAttestation, ElementAttestationWithProof } from "./lightning-parts/DecryptionAttester.types.sol";
12
12
 
13
- IncoLightning constant inco = IncoLightning(payable(0x9C6b74dff47644956e712B301aa3701b3141fF9C));
13
+ IncoLightning constant inco = IncoLightning(payable(0xB3C06f0Ed967a7E366ba31C67927DDf93d7c1154));
14
14
  address constant deployedBy = 0x8202D2D747784Cb7D48868E44C42C4bf162a70BC;
15
15
 
16
16
  /// @notice Returns the ETypes enum value encoded in a handle
package/src/Lib.sol CHANGED
@@ -10,7 +10,7 @@ import { ebool, euint256, eaddress, ETypes, elist, IndexOutOfRange, InvalidRange
10
10
  import { asBool } from "./shared/TypeUtils.sol";
11
11
  import { DecryptionAttestation, ElementAttestationWithProof } from "./lightning-parts/DecryptionAttester.types.sol";
12
12
 
13
- IncoLightning constant inco = IncoLightning(payable(0x3cC345Eaa5bEe457AF9C0C3183335a67b62b0066));
13
+ IncoLightning constant inco = IncoLightning(payable(0xB3C06f0Ed967a7E366ba31C67927DDf93d7c1154));
14
14
  address constant deployedBy = 0x8202D2D747784Cb7D48868E44C42C4bf162a70BC;
15
15
 
16
16
  /// @notice Returns the ETypes enum value encoded in a handle
package/src/Types.sol CHANGED
@@ -1,8 +1,6 @@
1
1
  // SPDX-License-Identifier: No License
2
2
  pragma solidity ^0.8;
3
3
 
4
- // matches Zama's ids, cf contracts/inco-fhevm/dependencies/fhevm-0.0.1/contracts/contracts/TFHEExecutor.sol l97-124
5
- // https://github.com/zama-ai/fhevm/blob/be14f85eb5b17ee868bfa66c2c6c5db61d67c89f/lib/TFHEExecutor.sol#L86
6
4
  enum EOps {
7
5
  Add, // 0
8
6
  Sub, // 1
@@ -127,8 +125,6 @@ type eaddress is bytes32;
127
125
 
128
126
  type elist is bytes32;
129
127
 
130
- // matches Zama's ids, cf contracts/inco-fhevm/dependencies/fhevm-0.0.1/contracts/lib/TFHE.sol l24-35
131
- // https://github.com/zama-ai/fhevm/blob/61c0b3593414082b2da6e591252ed3721fe922d7/lib/TFHE.sol#L26
132
128
  enum ETypes {
133
129
  Bool,
134
130
  Uint4UNSUPPORTED,
@@ -283,7 +279,7 @@ uint8 constant HANDLE_INDEX = 0;
283
279
  // Domain separators for handle derivation. Prefixing every keccak256 preimage with a unique
284
280
  // constant string makes cross-path collision resistance structural rather than incidental:
285
281
  // preimages from different derivation paths can never align byte-for-byte regardless of length.
286
- // These must be kept in sync with the Go (pkg/fhe) and TS (js/src/handle.ts) implementations.
282
+ // These must be kept in sync with the Go (pkg/hostchain) and TS (js/src/handle.ts) implementations.
287
283
  string constant SEP_INPUT_HANDLE = "inco/handle/input-handle";
288
284
  string constant SEP_INPUT_CONTEXT = "inco/handle/input-context";
289
285
  string constant SEP_OP_RESULT = "inco/handle/op-result";
@@ -9,4 +9,6 @@ interface IPCCSRouterExtended is IPCCSRouter {
9
9
 
10
10
  function setAuthorized(address caller, bool authorized) external;
11
11
 
12
+ function transferOwnership(address newOwner) external;
13
+
12
14
  }