@sig-net/midnight 0.24.0-rc.3 → 0.24.0-rc.4

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.
@@ -1,6 +1,16 @@
1
1
  import * as __compactRuntime from '@midnight-ntwrk/compact-runtime';
2
2
  __compactRuntime.checkRuntimeVersion('0.18.0-rc.1');
3
3
 
4
+ export var HashDomain;
5
+ (function (HashDomain) {
6
+ HashDomain[HashDomain['requestId'] = 0] = 'requestId';
7
+ HashDomain[HashDomain['attestationDigest'] = 1] = 'attestationDigest';
8
+ HashDomain[HashDomain['evmType2TxHeader'] = 2] = 'evmType2TxHeader';
9
+ HashDomain[HashDomain['evmType2TxWord'] = 3] = 'evmType2TxWord';
10
+ HashDomain[HashDomain['evmType2TxAccessEntry'] = 4] = 'evmType2TxAccessEntry';
11
+ HashDomain[HashDomain['evmType2TxStorageKey'] = 5] = 'evmType2TxStorageKey';
12
+ })(HashDomain || (HashDomain = {}));
13
+
4
14
  export var OutputKind;
5
15
  (function (OutputKind) {
6
16
  OutputKind[OutputKind['executed'] = 0] = 'executed';
@@ -104,7 +114,7 @@ const _descriptor_14 = new __compactRuntime.CompactTypeBytes(4);
104
114
 
105
115
  const _descriptor_15 = new __compactRuntime.CompactTypeUnsignedInteger(65535n, 2);
106
116
 
107
- const _descriptor_16 = new __compactRuntime.CompactTypeVector(2, _descriptor_0);
117
+ const _descriptor_16 = new __compactRuntime.CompactTypeVector(1, _descriptor_0);
108
118
 
109
119
  class _EvmCalldata_0 {
110
120
  alignment() {
@@ -141,29 +151,31 @@ class _Maybe_0 {
141
151
 
142
152
  const _descriptor_18 = new _Maybe_0();
143
153
 
154
+ const _descriptor_19 = new __compactRuntime.CompactTypeVector(0, _descriptor_0);
155
+
144
156
  class _EvmAccessListEntry_0 {
145
157
  alignment() {
146
- return _descriptor_13.alignment().concat(_descriptor_4.alignment().concat(_descriptor_16.alignment()));
158
+ return _descriptor_13.alignment().concat(_descriptor_4.alignment().concat(_descriptor_19.alignment()));
147
159
  }
148
160
  fromValue(value_0) {
149
161
  return {
150
162
  address: _descriptor_13.fromValue(value_0),
151
163
  storageKeyCount: _descriptor_4.fromValue(value_0),
152
- storageKeys: _descriptor_16.fromValue(value_0)
164
+ storageKeys: _descriptor_19.fromValue(value_0)
153
165
  }
154
166
  }
155
167
  toValue(value_0) {
156
- return _descriptor_13.toValue(value_0.address).concat(_descriptor_4.toValue(value_0.storageKeyCount).concat(_descriptor_16.toValue(value_0.storageKeys)));
168
+ return _descriptor_13.toValue(value_0.address).concat(_descriptor_4.toValue(value_0.storageKeyCount).concat(_descriptor_19.toValue(value_0.storageKeys)));
157
169
  }
158
170
  }
159
171
 
160
- const _descriptor_19 = new _EvmAccessListEntry_0();
172
+ const _descriptor_20 = new _EvmAccessListEntry_0();
161
173
 
162
- const _descriptor_20 = new __compactRuntime.CompactTypeVector(1, _descriptor_19);
174
+ const _descriptor_21 = new __compactRuntime.CompactTypeVector(0, _descriptor_20);
163
175
 
164
176
  class _EvmType2TxParams_0 {
165
177
  alignment() {
166
- return _descriptor_1.alignment().concat(_descriptor_1.alignment().concat(_descriptor_12.alignment().concat(_descriptor_12.alignment().concat(_descriptor_1.alignment().concat(_descriptor_13.alignment().concat(_descriptor_12.alignment().concat(_descriptor_18.alignment().concat(_descriptor_4.alignment().concat(_descriptor_20.alignment())))))))));
178
+ return _descriptor_1.alignment().concat(_descriptor_1.alignment().concat(_descriptor_12.alignment().concat(_descriptor_12.alignment().concat(_descriptor_1.alignment().concat(_descriptor_13.alignment().concat(_descriptor_12.alignment().concat(_descriptor_18.alignment().concat(_descriptor_4.alignment().concat(_descriptor_21.alignment())))))))));
167
179
  }
168
180
  fromValue(value_0) {
169
181
  return {
@@ -176,25 +188,25 @@ class _EvmType2TxParams_0 {
176
188
  value: _descriptor_12.fromValue(value_0),
177
189
  calldata: _descriptor_18.fromValue(value_0),
178
190
  accessListEntryCount: _descriptor_4.fromValue(value_0),
179
- accessList: _descriptor_20.fromValue(value_0)
191
+ accessList: _descriptor_21.fromValue(value_0)
180
192
  }
181
193
  }
182
194
  toValue(value_0) {
183
- return _descriptor_1.toValue(value_0.chainId).concat(_descriptor_1.toValue(value_0.nonce).concat(_descriptor_12.toValue(value_0.maxPriorityFeePerGas).concat(_descriptor_12.toValue(value_0.maxFeePerGas).concat(_descriptor_1.toValue(value_0.gasLimit).concat(_descriptor_13.toValue(value_0.to).concat(_descriptor_12.toValue(value_0.value).concat(_descriptor_18.toValue(value_0.calldata).concat(_descriptor_4.toValue(value_0.accessListEntryCount).concat(_descriptor_20.toValue(value_0.accessList))))))))));
195
+ return _descriptor_1.toValue(value_0.chainId).concat(_descriptor_1.toValue(value_0.nonce).concat(_descriptor_12.toValue(value_0.maxPriorityFeePerGas).concat(_descriptor_12.toValue(value_0.maxFeePerGas).concat(_descriptor_1.toValue(value_0.gasLimit).concat(_descriptor_13.toValue(value_0.to).concat(_descriptor_12.toValue(value_0.value).concat(_descriptor_18.toValue(value_0.calldata).concat(_descriptor_4.toValue(value_0.accessListEntryCount).concat(_descriptor_21.toValue(value_0.accessList))))))))));
184
196
  }
185
197
  }
186
198
 
187
- const _descriptor_21 = new _EvmType2TxParams_0();
199
+ const _descriptor_22 = new _EvmType2TxParams_0();
188
200
 
189
- const _descriptor_22 = new __compactRuntime.CompactTypeEnum(1, 1);
201
+ const _descriptor_23 = new __compactRuntime.CompactTypeEnum(1, 1);
190
202
 
191
- const _descriptor_23 = new __compactRuntime.CompactTypeBytes(64);
203
+ const _descriptor_24 = new __compactRuntime.CompactTypeBytes(64);
192
204
 
193
- const _descriptor_24 = new __compactRuntime.CompactTypeBytes(34);
205
+ const _descriptor_25 = new __compactRuntime.CompactTypeBytes(34);
194
206
 
195
207
  class _SignBidirectionalEventV1_0 {
196
208
  alignment() {
197
- return _descriptor_4.alignment().concat(_descriptor_9.alignment().concat(_descriptor_0.alignment().concat(_descriptor_10.alignment().concat(_descriptor_11.alignment().concat(_descriptor_21.alignment().concat(_descriptor_0.alignment().concat(_descriptor_22.alignment().concat(_descriptor_23.alignment().concat(_descriptor_24.alignment().concat(_descriptor_24.alignment()))))))))));
209
+ return _descriptor_4.alignment().concat(_descriptor_9.alignment().concat(_descriptor_0.alignment().concat(_descriptor_10.alignment().concat(_descriptor_11.alignment().concat(_descriptor_22.alignment().concat(_descriptor_0.alignment().concat(_descriptor_23.alignment().concat(_descriptor_24.alignment().concat(_descriptor_25.alignment().concat(_descriptor_25.alignment()))))))))));
198
210
  }
199
211
  fromValue(value_0) {
200
212
  return {
@@ -203,24 +215,22 @@ class _SignBidirectionalEventV1_0 {
203
215
  path: _descriptor_0.fromValue(value_0),
204
216
  algo: _descriptor_10.fromValue(value_0),
205
217
  txParamType: _descriptor_11.fromValue(value_0),
206
- txParams: _descriptor_21.fromValue(value_0),
218
+ txParams: _descriptor_22.fromValue(value_0),
207
219
  executionDest: _descriptor_0.fromValue(value_0),
208
- signatureDest: _descriptor_22.fromValue(value_0),
209
- params: _descriptor_23.fromValue(value_0),
210
- outputDeserializationSchema: _descriptor_24.fromValue(value_0),
211
- respondSerializationSchema: _descriptor_24.fromValue(value_0)
220
+ signatureDest: _descriptor_23.fromValue(value_0),
221
+ params: _descriptor_24.fromValue(value_0),
222
+ outputDeserializationSchema: _descriptor_25.fromValue(value_0),
223
+ respondSerializationSchema: _descriptor_25.fromValue(value_0)
212
224
  }
213
225
  }
214
226
  toValue(value_0) {
215
- return _descriptor_4.toValue(value_0.keyVersion).concat(_descriptor_9.toValue(value_0.sender).concat(_descriptor_0.toValue(value_0.path).concat(_descriptor_10.toValue(value_0.algo).concat(_descriptor_11.toValue(value_0.txParamType).concat(_descriptor_21.toValue(value_0.txParams).concat(_descriptor_0.toValue(value_0.executionDest).concat(_descriptor_22.toValue(value_0.signatureDest).concat(_descriptor_23.toValue(value_0.params).concat(_descriptor_24.toValue(value_0.outputDeserializationSchema).concat(_descriptor_24.toValue(value_0.respondSerializationSchema)))))))))));
227
+ return _descriptor_4.toValue(value_0.keyVersion).concat(_descriptor_9.toValue(value_0.sender).concat(_descriptor_0.toValue(value_0.path).concat(_descriptor_10.toValue(value_0.algo).concat(_descriptor_11.toValue(value_0.txParamType).concat(_descriptor_22.toValue(value_0.txParams).concat(_descriptor_0.toValue(value_0.executionDest).concat(_descriptor_23.toValue(value_0.signatureDest).concat(_descriptor_24.toValue(value_0.params).concat(_descriptor_25.toValue(value_0.outputDeserializationSchema).concat(_descriptor_25.toValue(value_0.respondSerializationSchema)))))))))));
216
228
  }
217
229
  }
218
230
 
219
- const _descriptor_25 = new _SignBidirectionalEventV1_0();
231
+ const _descriptor_26 = new _SignBidirectionalEventV1_0();
220
232
 
221
- const _descriptor_26 = new __compactRuntime.CompactTypeBytes(0);
222
-
223
- const _descriptor_27 = new __compactRuntime.CompactTypeVector(1, _descriptor_0);
233
+ const _descriptor_27 = new __compactRuntime.CompactTypeVector(2, _descriptor_0);
224
234
 
225
235
  class _EvmCalldata_1 {
226
236
  alignment() {
@@ -257,31 +267,29 @@ class _Maybe_1 {
257
267
 
258
268
  const _descriptor_29 = new _Maybe_1();
259
269
 
260
- const _descriptor_30 = new __compactRuntime.CompactTypeVector(0, _descriptor_0);
261
-
262
270
  class _EvmAccessListEntry_1 {
263
271
  alignment() {
264
- return _descriptor_13.alignment().concat(_descriptor_4.alignment().concat(_descriptor_30.alignment()));
272
+ return _descriptor_13.alignment().concat(_descriptor_4.alignment().concat(_descriptor_27.alignment()));
265
273
  }
266
274
  fromValue(value_0) {
267
275
  return {
268
276
  address: _descriptor_13.fromValue(value_0),
269
277
  storageKeyCount: _descriptor_4.fromValue(value_0),
270
- storageKeys: _descriptor_30.fromValue(value_0)
278
+ storageKeys: _descriptor_27.fromValue(value_0)
271
279
  }
272
280
  }
273
281
  toValue(value_0) {
274
- return _descriptor_13.toValue(value_0.address).concat(_descriptor_4.toValue(value_0.storageKeyCount).concat(_descriptor_30.toValue(value_0.storageKeys)));
282
+ return _descriptor_13.toValue(value_0.address).concat(_descriptor_4.toValue(value_0.storageKeyCount).concat(_descriptor_27.toValue(value_0.storageKeys)));
275
283
  }
276
284
  }
277
285
 
278
- const _descriptor_31 = new _EvmAccessListEntry_1();
286
+ const _descriptor_30 = new _EvmAccessListEntry_1();
279
287
 
280
- const _descriptor_32 = new __compactRuntime.CompactTypeVector(0, _descriptor_31);
288
+ const _descriptor_31 = new __compactRuntime.CompactTypeVector(1, _descriptor_30);
281
289
 
282
290
  class _EvmType2TxParams_1 {
283
291
  alignment() {
284
- return _descriptor_1.alignment().concat(_descriptor_1.alignment().concat(_descriptor_12.alignment().concat(_descriptor_12.alignment().concat(_descriptor_1.alignment().concat(_descriptor_13.alignment().concat(_descriptor_12.alignment().concat(_descriptor_29.alignment().concat(_descriptor_4.alignment().concat(_descriptor_32.alignment())))))))));
292
+ return _descriptor_1.alignment().concat(_descriptor_1.alignment().concat(_descriptor_12.alignment().concat(_descriptor_12.alignment().concat(_descriptor_1.alignment().concat(_descriptor_13.alignment().concat(_descriptor_12.alignment().concat(_descriptor_29.alignment().concat(_descriptor_4.alignment().concat(_descriptor_31.alignment())))))))));
285
293
  }
286
294
  fromValue(value_0) {
287
295
  return {
@@ -294,19 +302,19 @@ class _EvmType2TxParams_1 {
294
302
  value: _descriptor_12.fromValue(value_0),
295
303
  calldata: _descriptor_29.fromValue(value_0),
296
304
  accessListEntryCount: _descriptor_4.fromValue(value_0),
297
- accessList: _descriptor_32.fromValue(value_0)
305
+ accessList: _descriptor_31.fromValue(value_0)
298
306
  }
299
307
  }
300
308
  toValue(value_0) {
301
- return _descriptor_1.toValue(value_0.chainId).concat(_descriptor_1.toValue(value_0.nonce).concat(_descriptor_12.toValue(value_0.maxPriorityFeePerGas).concat(_descriptor_12.toValue(value_0.maxFeePerGas).concat(_descriptor_1.toValue(value_0.gasLimit).concat(_descriptor_13.toValue(value_0.to).concat(_descriptor_12.toValue(value_0.value).concat(_descriptor_29.toValue(value_0.calldata).concat(_descriptor_4.toValue(value_0.accessListEntryCount).concat(_descriptor_32.toValue(value_0.accessList))))))))));
309
+ return _descriptor_1.toValue(value_0.chainId).concat(_descriptor_1.toValue(value_0.nonce).concat(_descriptor_12.toValue(value_0.maxPriorityFeePerGas).concat(_descriptor_12.toValue(value_0.maxFeePerGas).concat(_descriptor_1.toValue(value_0.gasLimit).concat(_descriptor_13.toValue(value_0.to).concat(_descriptor_12.toValue(value_0.value).concat(_descriptor_29.toValue(value_0.calldata).concat(_descriptor_4.toValue(value_0.accessListEntryCount).concat(_descriptor_31.toValue(value_0.accessList))))))))));
302
310
  }
303
311
  }
304
312
 
305
- const _descriptor_33 = new _EvmType2TxParams_1();
313
+ const _descriptor_32 = new _EvmType2TxParams_1();
306
314
 
307
315
  class _SignBidirectionalEventV1_1 {
308
316
  alignment() {
309
- return _descriptor_4.alignment().concat(_descriptor_9.alignment().concat(_descriptor_0.alignment().concat(_descriptor_10.alignment().concat(_descriptor_11.alignment().concat(_descriptor_33.alignment().concat(_descriptor_0.alignment().concat(_descriptor_22.alignment().concat(_descriptor_23.alignment().concat(_descriptor_24.alignment().concat(_descriptor_24.alignment()))))))))));
317
+ return _descriptor_4.alignment().concat(_descriptor_9.alignment().concat(_descriptor_0.alignment().concat(_descriptor_10.alignment().concat(_descriptor_11.alignment().concat(_descriptor_32.alignment().concat(_descriptor_0.alignment().concat(_descriptor_23.alignment().concat(_descriptor_24.alignment().concat(_descriptor_25.alignment().concat(_descriptor_25.alignment()))))))))));
310
318
  }
311
319
  fromValue(value_0) {
312
320
  return {
@@ -315,20 +323,22 @@ class _SignBidirectionalEventV1_1 {
315
323
  path: _descriptor_0.fromValue(value_0),
316
324
  algo: _descriptor_10.fromValue(value_0),
317
325
  txParamType: _descriptor_11.fromValue(value_0),
318
- txParams: _descriptor_33.fromValue(value_0),
326
+ txParams: _descriptor_32.fromValue(value_0),
319
327
  executionDest: _descriptor_0.fromValue(value_0),
320
- signatureDest: _descriptor_22.fromValue(value_0),
321
- params: _descriptor_23.fromValue(value_0),
322
- outputDeserializationSchema: _descriptor_24.fromValue(value_0),
323
- respondSerializationSchema: _descriptor_24.fromValue(value_0)
328
+ signatureDest: _descriptor_23.fromValue(value_0),
329
+ params: _descriptor_24.fromValue(value_0),
330
+ outputDeserializationSchema: _descriptor_25.fromValue(value_0),
331
+ respondSerializationSchema: _descriptor_25.fromValue(value_0)
324
332
  }
325
333
  }
326
334
  toValue(value_0) {
327
- return _descriptor_4.toValue(value_0.keyVersion).concat(_descriptor_9.toValue(value_0.sender).concat(_descriptor_0.toValue(value_0.path).concat(_descriptor_10.toValue(value_0.algo).concat(_descriptor_11.toValue(value_0.txParamType).concat(_descriptor_33.toValue(value_0.txParams).concat(_descriptor_0.toValue(value_0.executionDest).concat(_descriptor_22.toValue(value_0.signatureDest).concat(_descriptor_23.toValue(value_0.params).concat(_descriptor_24.toValue(value_0.outputDeserializationSchema).concat(_descriptor_24.toValue(value_0.respondSerializationSchema)))))))))));
335
+ return _descriptor_4.toValue(value_0.keyVersion).concat(_descriptor_9.toValue(value_0.sender).concat(_descriptor_0.toValue(value_0.path).concat(_descriptor_10.toValue(value_0.algo).concat(_descriptor_11.toValue(value_0.txParamType).concat(_descriptor_32.toValue(value_0.txParams).concat(_descriptor_0.toValue(value_0.executionDest).concat(_descriptor_23.toValue(value_0.signatureDest).concat(_descriptor_24.toValue(value_0.params).concat(_descriptor_25.toValue(value_0.outputDeserializationSchema).concat(_descriptor_25.toValue(value_0.respondSerializationSchema)))))))))));
328
336
  }
329
337
  }
330
338
 
331
- const _descriptor_34 = new _SignBidirectionalEventV1_1();
339
+ const _descriptor_33 = new _SignBidirectionalEventV1_1();
340
+
341
+ const _descriptor_34 = new __compactRuntime.CompactTypeBytes(0);
332
342
 
333
343
  const _descriptor_35 = new __compactRuntime.CompactTypeBytes(100);
334
344
 
@@ -357,8 +367,6 @@ class _SignBidirectionalEventNotification_0 {
357
367
 
358
368
  const _descriptor_40 = new _SignBidirectionalEventNotification_0();
359
369
 
360
- const _descriptor_41 = __compactRuntime.CompactTypeSecp256k1Scalar;
361
-
362
370
  class _RequestIdPreimageV1_0 {
363
371
  alignment() {
364
372
  return _descriptor_4.alignment().concat(_descriptor_9.alignment().concat(_descriptor_0.alignment().concat(_descriptor_10.alignment().concat(_descriptor_11.alignment().concat(_descriptor_0.alignment().concat(_descriptor_0.alignment()))))));
@@ -379,190 +387,219 @@ class _RequestIdPreimageV1_0 {
379
387
  }
380
388
  }
381
389
 
382
- const _descriptor_42 = new _RequestIdPreimageV1_0();
390
+ const _descriptor_41 = new _RequestIdPreimageV1_0();
391
+
392
+ const _descriptor_42 = __compactRuntime.CompactTypeSecp256k1Scalar;
383
393
 
384
394
  const _descriptor_43 = __compactRuntime.CompactTypeSecp256k1Base;
385
395
 
386
- const _descriptor_44 = __compactRuntime.CompactTypeField;
396
+ const _descriptor_44 = new __compactRuntime.CompactTypeEnum(5, 1);
387
397
 
388
398
  class _tuple_0 {
389
399
  alignment() {
390
- return _descriptor_0.alignment().concat(_descriptor_1.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_0.alignment()))));
400
+ return _descriptor_44.alignment().concat(_descriptor_41.alignment());
391
401
  }
392
402
  fromValue(value_0) {
393
403
  return [
394
- _descriptor_0.fromValue(value_0),
395
- _descriptor_1.fromValue(value_0),
396
- _descriptor_2.fromValue(value_0),
397
- _descriptor_1.fromValue(value_0),
398
- _descriptor_0.fromValue(value_0)
404
+ _descriptor_44.fromValue(value_0),
405
+ _descriptor_41.fromValue(value_0)
399
406
  ]
400
407
  }
401
408
  toValue(value_0) {
402
- return _descriptor_0.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]).concat(_descriptor_2.toValue(value_0[2]).concat(_descriptor_1.toValue(value_0[3]).concat(_descriptor_0.toValue(value_0[4])))));
409
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_41.toValue(value_0[1]));
403
410
  }
404
411
  }
405
412
 
406
413
  const _descriptor_45 = new _tuple_0();
407
414
 
415
+ const _descriptor_46 = __compactRuntime.CompactTypeField;
416
+
408
417
  class _tuple_1 {
409
418
  alignment() {
410
- return _descriptor_44.alignment().concat(_descriptor_13.alignment().concat(_descriptor_4.alignment().concat(_descriptor_44.alignment())));
419
+ return _descriptor_44.alignment().concat(_descriptor_0.alignment().concat(_descriptor_1.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_34.alignment())))));
411
420
  }
412
421
  fromValue(value_0) {
413
422
  return [
414
423
  _descriptor_44.fromValue(value_0),
415
- _descriptor_13.fromValue(value_0),
416
- _descriptor_4.fromValue(value_0),
417
- _descriptor_44.fromValue(value_0)
424
+ _descriptor_0.fromValue(value_0),
425
+ _descriptor_1.fromValue(value_0),
426
+ _descriptor_2.fromValue(value_0),
427
+ _descriptor_1.fromValue(value_0),
428
+ _descriptor_34.fromValue(value_0)
418
429
  ]
419
430
  }
420
431
  toValue(value_0) {
421
- return _descriptor_44.toValue(value_0[0]).concat(_descriptor_13.toValue(value_0[1]).concat(_descriptor_4.toValue(value_0[2]).concat(_descriptor_44.toValue(value_0[3]))));
432
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_0.toValue(value_0[1]).concat(_descriptor_1.toValue(value_0[2]).concat(_descriptor_2.toValue(value_0[3]).concat(_descriptor_1.toValue(value_0[4]).concat(_descriptor_34.toValue(value_0[5]))))));
422
433
  }
423
434
  }
424
435
 
425
- const _descriptor_46 = new _tuple_1();
436
+ const _descriptor_47 = new _tuple_1();
426
437
 
427
438
  class _tuple_2 {
428
439
  alignment() {
429
- return _descriptor_0.alignment().concat(_descriptor_1.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_26.alignment()))));
440
+ return _descriptor_44.alignment().concat(_descriptor_0.alignment().concat(_descriptor_1.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_0.alignment())))));
430
441
  }
431
442
  fromValue(value_0) {
432
443
  return [
444
+ _descriptor_44.fromValue(value_0),
433
445
  _descriptor_0.fromValue(value_0),
434
446
  _descriptor_1.fromValue(value_0),
435
447
  _descriptor_2.fromValue(value_0),
436
448
  _descriptor_1.fromValue(value_0),
437
- _descriptor_26.fromValue(value_0)
449
+ _descriptor_0.fromValue(value_0)
438
450
  ]
439
451
  }
440
452
  toValue(value_0) {
441
- return _descriptor_0.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]).concat(_descriptor_2.toValue(value_0[2]).concat(_descriptor_1.toValue(value_0[3]).concat(_descriptor_26.toValue(value_0[4])))));
453
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_0.toValue(value_0[1]).concat(_descriptor_1.toValue(value_0[2]).concat(_descriptor_2.toValue(value_0[3]).concat(_descriptor_1.toValue(value_0[4]).concat(_descriptor_0.toValue(value_0[5]))))));
442
454
  }
443
455
  }
444
456
 
445
- const _descriptor_47 = new _tuple_2();
457
+ const _descriptor_48 = new _tuple_2();
446
458
 
447
459
  class _tuple_3 {
448
460
  alignment() {
449
- return _descriptor_1.alignment().concat(_descriptor_1.alignment().concat(_descriptor_12.alignment().concat(_descriptor_12.alignment().concat(_descriptor_1.alignment().concat(_descriptor_13.alignment().concat(_descriptor_12.alignment().concat(_descriptor_8.alignment().concat(_descriptor_14.alignment().concat(_descriptor_15.alignment().concat(_descriptor_4.alignment()))))))))));
461
+ return _descriptor_44.alignment().concat(_descriptor_46.alignment().concat(_descriptor_0.alignment()));
450
462
  }
451
463
  fromValue(value_0) {
452
464
  return [
453
- _descriptor_1.fromValue(value_0),
454
- _descriptor_1.fromValue(value_0),
455
- _descriptor_12.fromValue(value_0),
456
- _descriptor_12.fromValue(value_0),
457
- _descriptor_1.fromValue(value_0),
458
- _descriptor_13.fromValue(value_0),
459
- _descriptor_12.fromValue(value_0),
460
- _descriptor_8.fromValue(value_0),
461
- _descriptor_14.fromValue(value_0),
462
- _descriptor_15.fromValue(value_0),
463
- _descriptor_4.fromValue(value_0)
465
+ _descriptor_44.fromValue(value_0),
466
+ _descriptor_46.fromValue(value_0),
467
+ _descriptor_0.fromValue(value_0)
464
468
  ]
465
469
  }
466
470
  toValue(value_0) {
467
- return _descriptor_1.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]).concat(_descriptor_12.toValue(value_0[2]).concat(_descriptor_12.toValue(value_0[3]).concat(_descriptor_1.toValue(value_0[4]).concat(_descriptor_13.toValue(value_0[5]).concat(_descriptor_12.toValue(value_0[6]).concat(_descriptor_8.toValue(value_0[7]).concat(_descriptor_14.toValue(value_0[8]).concat(_descriptor_15.toValue(value_0[9]).concat(_descriptor_4.toValue(value_0[10])))))))))));
471
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_46.toValue(value_0[1]).concat(_descriptor_0.toValue(value_0[2])));
468
472
  }
469
473
  }
470
474
 
471
- const _descriptor_48 = new _tuple_3();
475
+ const _descriptor_49 = new _tuple_3();
472
476
 
473
477
  class _tuple_4 {
474
478
  alignment() {
475
- return _descriptor_44.alignment().concat(_descriptor_0.alignment());
479
+ return _descriptor_44.alignment().concat(_descriptor_46.alignment().concat(_descriptor_13.alignment().concat(_descriptor_4.alignment().concat(_descriptor_46.alignment()))));
476
480
  }
477
481
  fromValue(value_0) {
478
482
  return [
479
483
  _descriptor_44.fromValue(value_0),
480
- _descriptor_0.fromValue(value_0)
484
+ _descriptor_46.fromValue(value_0),
485
+ _descriptor_13.fromValue(value_0),
486
+ _descriptor_4.fromValue(value_0),
487
+ _descriptor_46.fromValue(value_0)
481
488
  ]
482
489
  }
483
490
  toValue(value_0) {
484
- return _descriptor_44.toValue(value_0[0]).concat(_descriptor_0.toValue(value_0[1]));
491
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_46.toValue(value_0[1]).concat(_descriptor_13.toValue(value_0[2]).concat(_descriptor_4.toValue(value_0[3]).concat(_descriptor_46.toValue(value_0[4])))));
485
492
  }
486
493
  }
487
494
 
488
- const _descriptor_49 = new _tuple_4();
495
+ const _descriptor_50 = new _tuple_4();
489
496
 
490
497
  class _tuple_5 {
491
498
  alignment() {
492
- return _descriptor_0.alignment().concat(_descriptor_1.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_36.alignment()))));
499
+ return _descriptor_44.alignment().concat(_descriptor_0.alignment().concat(_descriptor_1.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_35.alignment())))));
493
500
  }
494
501
  fromValue(value_0) {
495
502
  return [
503
+ _descriptor_44.fromValue(value_0),
496
504
  _descriptor_0.fromValue(value_0),
497
505
  _descriptor_1.fromValue(value_0),
498
506
  _descriptor_2.fromValue(value_0),
499
507
  _descriptor_1.fromValue(value_0),
500
- _descriptor_36.fromValue(value_0)
508
+ _descriptor_35.fromValue(value_0)
501
509
  ]
502
510
  }
503
511
  toValue(value_0) {
504
- return _descriptor_0.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]).concat(_descriptor_2.toValue(value_0[2]).concat(_descriptor_1.toValue(value_0[3]).concat(_descriptor_36.toValue(value_0[4])))));
512
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_0.toValue(value_0[1]).concat(_descriptor_1.toValue(value_0[2]).concat(_descriptor_2.toValue(value_0[3]).concat(_descriptor_1.toValue(value_0[4]).concat(_descriptor_35.toValue(value_0[5]))))));
505
513
  }
506
514
  }
507
515
 
508
- const _descriptor_50 = new _tuple_5();
516
+ const _descriptor_51 = new _tuple_5();
509
517
 
510
518
  class _tuple_6 {
511
519
  alignment() {
512
- return _descriptor_0.alignment().concat(_descriptor_1.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_35.alignment()))));
520
+ return _descriptor_44.alignment().concat(_descriptor_1.alignment().concat(_descriptor_1.alignment().concat(_descriptor_12.alignment().concat(_descriptor_12.alignment().concat(_descriptor_1.alignment().concat(_descriptor_13.alignment().concat(_descriptor_12.alignment().concat(_descriptor_8.alignment().concat(_descriptor_14.alignment().concat(_descriptor_15.alignment().concat(_descriptor_4.alignment())))))))))));
513
521
  }
514
522
  fromValue(value_0) {
515
523
  return [
516
- _descriptor_0.fromValue(value_0),
524
+ _descriptor_44.fromValue(value_0),
517
525
  _descriptor_1.fromValue(value_0),
518
- _descriptor_2.fromValue(value_0),
519
526
  _descriptor_1.fromValue(value_0),
520
- _descriptor_35.fromValue(value_0)
527
+ _descriptor_12.fromValue(value_0),
528
+ _descriptor_12.fromValue(value_0),
529
+ _descriptor_1.fromValue(value_0),
530
+ _descriptor_13.fromValue(value_0),
531
+ _descriptor_12.fromValue(value_0),
532
+ _descriptor_8.fromValue(value_0),
533
+ _descriptor_14.fromValue(value_0),
534
+ _descriptor_15.fromValue(value_0),
535
+ _descriptor_4.fromValue(value_0)
521
536
  ]
522
537
  }
523
538
  toValue(value_0) {
524
- return _descriptor_0.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]).concat(_descriptor_2.toValue(value_0[2]).concat(_descriptor_1.toValue(value_0[3]).concat(_descriptor_35.toValue(value_0[4])))));
539
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]).concat(_descriptor_1.toValue(value_0[2]).concat(_descriptor_12.toValue(value_0[3]).concat(_descriptor_12.toValue(value_0[4]).concat(_descriptor_1.toValue(value_0[5]).concat(_descriptor_13.toValue(value_0[6]).concat(_descriptor_12.toValue(value_0[7]).concat(_descriptor_8.toValue(value_0[8]).concat(_descriptor_14.toValue(value_0[9]).concat(_descriptor_15.toValue(value_0[10]).concat(_descriptor_4.toValue(value_0[11]))))))))))));
525
540
  }
526
541
  }
527
542
 
528
- const _descriptor_51 = new _tuple_6();
543
+ const _descriptor_52 = new _tuple_6();
529
544
 
530
- class _Secp256k1EcdsaSignature_0 {
545
+ class _tuple_7 {
531
546
  alignment() {
532
- return _descriptor_41.alignment().concat(_descriptor_41.alignment());
547
+ return _descriptor_44.alignment().concat(_descriptor_0.alignment().concat(_descriptor_1.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_37.alignment())))));
533
548
  }
534
549
  fromValue(value_0) {
535
- return {
536
- r: _descriptor_41.fromValue(value_0),
537
- s: _descriptor_41.fromValue(value_0)
538
- }
550
+ return [
551
+ _descriptor_44.fromValue(value_0),
552
+ _descriptor_0.fromValue(value_0),
553
+ _descriptor_1.fromValue(value_0),
554
+ _descriptor_2.fromValue(value_0),
555
+ _descriptor_1.fromValue(value_0),
556
+ _descriptor_37.fromValue(value_0)
557
+ ]
539
558
  }
540
559
  toValue(value_0) {
541
- return _descriptor_41.toValue(value_0.r).concat(_descriptor_41.toValue(value_0.s));
560
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_0.toValue(value_0[1]).concat(_descriptor_1.toValue(value_0[2]).concat(_descriptor_2.toValue(value_0[3]).concat(_descriptor_1.toValue(value_0[4]).concat(_descriptor_37.toValue(value_0[5]))))));
542
561
  }
543
562
  }
544
563
 
545
- const _descriptor_52 = new _Secp256k1EcdsaSignature_0();
564
+ const _descriptor_53 = new _tuple_7();
546
565
 
547
- class _tuple_7 {
566
+ class _tuple_8 {
548
567
  alignment() {
549
- return _descriptor_0.alignment().concat(_descriptor_1.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_37.alignment()))));
568
+ return _descriptor_44.alignment().concat(_descriptor_0.alignment().concat(_descriptor_1.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_36.alignment())))));
550
569
  }
551
570
  fromValue(value_0) {
552
571
  return [
572
+ _descriptor_44.fromValue(value_0),
553
573
  _descriptor_0.fromValue(value_0),
554
574
  _descriptor_1.fromValue(value_0),
555
575
  _descriptor_2.fromValue(value_0),
556
576
  _descriptor_1.fromValue(value_0),
557
- _descriptor_37.fromValue(value_0)
577
+ _descriptor_36.fromValue(value_0)
558
578
  ]
559
579
  }
560
580
  toValue(value_0) {
561
- return _descriptor_0.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]).concat(_descriptor_2.toValue(value_0[2]).concat(_descriptor_1.toValue(value_0[3]).concat(_descriptor_37.toValue(value_0[4])))));
581
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_0.toValue(value_0[1]).concat(_descriptor_1.toValue(value_0[2]).concat(_descriptor_2.toValue(value_0[3]).concat(_descriptor_1.toValue(value_0[4]).concat(_descriptor_36.toValue(value_0[5]))))));
562
582
  }
563
583
  }
564
584
 
565
- const _descriptor_53 = new _tuple_7();
585
+ const _descriptor_54 = new _tuple_8();
586
+
587
+ class _Secp256k1EcdsaSignature_0 {
588
+ alignment() {
589
+ return _descriptor_42.alignment().concat(_descriptor_42.alignment());
590
+ }
591
+ fromValue(value_0) {
592
+ return {
593
+ r: _descriptor_42.fromValue(value_0),
594
+ s: _descriptor_42.fromValue(value_0)
595
+ }
596
+ }
597
+ toValue(value_0) {
598
+ return _descriptor_42.toValue(value_0.r).concat(_descriptor_42.toValue(value_0.s));
599
+ }
600
+ }
601
+
602
+ const _descriptor_55 = new _Secp256k1EcdsaSignature_0();
566
603
 
567
604
  class _Either_0 {
568
605
  alignment() {
@@ -580,9 +617,9 @@ class _Either_0 {
580
617
  }
581
618
  }
582
619
 
583
- const _descriptor_54 = new _Either_0();
620
+ const _descriptor_56 = new _Either_0();
584
621
 
585
- const _descriptor_55 = new __compactRuntime.CompactTypeUnsignedInteger(4294967295n, 4);
622
+ const _descriptor_57 = new __compactRuntime.CompactTypeUnsignedInteger(4294967295n, 4);
586
623
 
587
624
  export class Contract {
588
625
  witnesses;
@@ -652,6 +689,9 @@ export class Contract {
652
689
  },
653
690
  async verifyRespondBidirectionalEvent32(context, ...args_1) {
654
691
  return { result: pureCircuits.verifyRespondBidirectionalEvent32(...args_1), context };
692
+ },
693
+ async constructSignBidirectionalEventV1_1_0_0_34_34(context, ...args_1) {
694
+ return { result: pureCircuits.constructSignBidirectionalEventV1_1_0_0_34_34(...args_1), context };
655
695
  }
656
696
  };
657
697
  this.impureCircuits = {};
@@ -754,7 +794,7 @@ export class Contract {
754
794
  return result_0;
755
795
  }
756
796
  _transientHash_1(value_0) {
757
- const result_0 = __compactRuntime.transientHash(_descriptor_50, value_0);
797
+ const result_0 = __compactRuntime.transientHash(_descriptor_54, value_0);
758
798
  return result_0;
759
799
  }
760
800
  _transientHash_2(value_0) {
@@ -762,7 +802,7 @@ export class Contract {
762
802
  return result_0;
763
803
  }
764
804
  _transientHash_3(value_0) {
765
- const result_0 = __compactRuntime.transientHash(_descriptor_48, value_0);
805
+ const result_0 = __compactRuntime.transientHash(_descriptor_52, value_0);
766
806
  return result_0;
767
807
  }
768
808
  _transientHash_4(value_0) {
@@ -770,7 +810,7 @@ export class Contract {
770
810
  return result_0;
771
811
  }
772
812
  _transientHash_5(value_0) {
773
- const result_0 = __compactRuntime.transientHash(_descriptor_46, value_0);
813
+ const result_0 = __compactRuntime.transientHash(_descriptor_50, value_0);
774
814
  return result_0;
775
815
  }
776
816
  _transientHash_6(value_0) {
@@ -778,11 +818,11 @@ export class Contract {
778
818
  return result_0;
779
819
  }
780
820
  _transientHash_7(value_0) {
781
- const result_0 = __compactRuntime.transientHash(_descriptor_45, value_0);
821
+ const result_0 = __compactRuntime.transientHash(_descriptor_48, value_0);
782
822
  return result_0;
783
823
  }
784
824
  _transientHash_8(value_0) {
785
- const result_0 = __compactRuntime.transientHash(_descriptor_42, value_0);
825
+ const result_0 = __compactRuntime.transientHash(_descriptor_45, value_0);
786
826
  return result_0;
787
827
  }
788
828
  _upgradeFromTransient_0(x_0) {
@@ -813,8 +853,40 @@ export class Contract {
813
853
  const result_0 = __compactRuntime.secp256k1MulGenerator(b_0);
814
854
  return result_0;
815
855
  }
856
+ _constructSignBidirectionalEventV1_0(keyVersion_0,
857
+ sender_0,
858
+ path_0,
859
+ algo_0,
860
+ txParamType_0,
861
+ txParams_0,
862
+ executionDest_0,
863
+ signatureDest_0,
864
+ params_0,
865
+ outputDeserializationSchema_0,
866
+ respondSerializationSchema_0)
867
+ {
868
+ __compactRuntime.assert(keyVersion_0 >= 1n, 'keyVersion must be >= 1');
869
+ __compactRuntime.assert(signatureDest_0 === 0,
870
+ 'signatureDest must be unused');
871
+ __compactRuntime.assert(this._equal_0(params_0, new Uint8Array(64)),
872
+ 'params must be zero');
873
+ __compactRuntime.assert(!this._equal_1(path_0,
874
+ new Uint8Array([109, 105, 100, 110, 105, 103, 104, 116, 32, 114, 101, 115, 112, 111, 110, 115, 101, 32, 107, 101, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])),
875
+ 'path is reserved for the MPC response key');
876
+ return { keyVersion: keyVersion_0,
877
+ sender: sender_0,
878
+ path: path_0,
879
+ algo: algo_0,
880
+ txParamType: txParamType_0,
881
+ txParams: txParams_0,
882
+ executionDest: executionDest_0,
883
+ signatureDest: signatureDest_0,
884
+ params: params_0,
885
+ outputDeserializationSchema: outputDeserializationSchema_0,
886
+ respondSerializationSchema: respondSerializationSchema_0 };
887
+ }
816
888
  _calculateRequestIdV1_0(preimage_0) {
817
- return this._upgradeFromTransient_0(this._transientHash_8(preimage_0));
889
+ return this._upgradeFromTransient_0(this._transientHash_8([0, preimage_0]));
818
890
  }
819
891
  _constructSignBidirectionalEventNotificationV1_0(callerAddress_0,
820
892
  requestsPathDepth_0,
@@ -836,7 +908,8 @@ export class Contract {
836
908
  outputKind_0,
837
909
  serializedOutput_0)
838
910
  {
839
- return this._upgradeFromTransient_0(this._transientHash_0([requestId_0,
911
+ return this._upgradeFromTransient_0(this._transientHash_0([1,
912
+ requestId_0,
840
913
  blockHeight_0,
841
914
  outputKind_0,
842
915
  1n,
@@ -847,7 +920,8 @@ export class Contract {
847
920
  outputKind_0,
848
921
  serializedOutput_0)
849
922
  {
850
- return this._upgradeFromTransient_0(this._transientHash_1([requestId_0,
923
+ return this._upgradeFromTransient_0(this._transientHash_1([1,
924
+ requestId_0,
851
925
  blockHeight_0,
852
926
  outputKind_0,
853
927
  2n,
@@ -858,7 +932,8 @@ export class Contract {
858
932
  outputKind_0,
859
933
  serializedOutput_0)
860
934
  {
861
- return this._upgradeFromTransient_0(this._transientHash_2([requestId_0,
935
+ return this._upgradeFromTransient_0(this._transientHash_2([1,
936
+ requestId_0,
862
937
  blockHeight_0,
863
938
  outputKind_0,
864
939
  100n,
@@ -869,7 +944,8 @@ export class Contract {
869
944
  outputKind_0,
870
945
  serializedOutput_0)
871
946
  {
872
- return this._upgradeFromTransient_0(this._transientHash_6([requestId_0,
947
+ return this._upgradeFromTransient_0(this._transientHash_6([1,
948
+ requestId_0,
873
949
  blockHeight_0,
874
950
  outputKind_0,
875
951
  0n,
@@ -880,7 +956,8 @@ export class Contract {
880
956
  outputKind_0,
881
957
  serializedOutput_0)
882
958
  {
883
- return this._upgradeFromTransient_0(this._transientHash_7([requestId_0,
959
+ return this._upgradeFromTransient_0(this._transientHash_7([1,
960
+ requestId_0,
884
961
  blockHeight_0,
885
962
  outputKind_0,
886
963
  32n,
@@ -900,13 +977,13 @@ export class Contract {
900
977
  32,
901
978
  respondBidirectionalEvent_0.signature.bigR.x,
902
979
  'Secp256k1Scalar',
903
- 'Signet.compact line 416 char 12'),
980
+ 'Signet.compact line 417 char 12'),
904
981
  s:
905
982
  __compactRuntime.convertBytesToField(115792089237316195423570985008687907852837564279074904382605163141518161494336n,
906
983
  32,
907
984
  respondBidirectionalEvent_0.signature.s,
908
985
  'Secp256k1Scalar',
909
- 'Signet.compact line 417 char 12') },
986
+ 'Signet.compact line 418 char 12') },
910
987
  mpcResponseKey_0);
911
988
  }
912
989
  _verifyRespondBidirectionalEventV1_1(serializedOutput_0,
@@ -923,13 +1000,13 @@ export class Contract {
923
1000
  32,
924
1001
  respondBidirectionalEvent_0.signature.bigR.x,
925
1002
  'Secp256k1Scalar',
926
- 'Signet.compact line 416 char 12'),
1003
+ 'Signet.compact line 417 char 12'),
927
1004
  s:
928
1005
  __compactRuntime.convertBytesToField(115792089237316195423570985008687907852837564279074904382605163141518161494336n,
929
1006
  32,
930
1007
  respondBidirectionalEvent_0.signature.s,
931
1008
  'Secp256k1Scalar',
932
- 'Signet.compact line 417 char 12') },
1009
+ 'Signet.compact line 418 char 12') },
933
1010
  mpcResponseKey_0);
934
1011
  }
935
1012
  _ethereumCaip2Id_0() {
@@ -950,7 +1027,7 @@ export class Contract {
950
1027
  let t_1, t_2;
951
1028
  return [((t1) => {
952
1029
  if (t1 > 255n) {
953
- throw new __compactRuntime.CompactError('Signet.compact line 519 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1030
+ throw new __compactRuntime.CompactError('Signet.compact line 520 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
954
1031
  }
955
1032
  return t1;
956
1033
  })(acc_0[0] + 1n),
@@ -968,7 +1045,8 @@ export class Contract {
968
1045
  txParams_0.accessList);
969
1046
  __compactRuntime.assert(keyCountsFit_0[1],
970
1047
  "a used entry's storageKeyCount exceeds capacity");
971
- const head_0 = this._transientHash_3([txParams_0.chainId,
1048
+ const head_0 = this._transientHash_3([2,
1049
+ txParams_0.chainId,
972
1050
  txParams_0.nonce,
973
1051
  txParams_0.maxPriorityFeePerGas,
974
1052
  txParams_0.maxFeePerGas,
@@ -984,14 +1062,15 @@ export class Contract {
984
1062
  let t_3;
985
1063
  return [((t1) => {
986
1064
  if (t1 > 65535n) {
987
- throw new __compactRuntime.CompactError('Signet.compact line 545 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1065
+ throw new __compactRuntime.CompactError('Signet.compact line 547 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
988
1066
  }
989
1067
  return t1;
990
1068
  })(acc_1[0] + 1n),
991
1069
  (t_3 = acc_1[0],
992
1070
  t_3 < noWords_0)
993
1071
  ?
994
- this._transientHash_4([acc_1[1],
1072
+ this._transientHash_4([3,
1073
+ acc_1[1],
995
1074
  word_0])
996
1075
  :
997
1076
  acc_1[1]];
@@ -1003,7 +1082,7 @@ export class Contract {
1003
1082
  let t_4;
1004
1083
  return [((t1) => {
1005
1084
  if (t1 > 255n) {
1006
- throw new __compactRuntime.CompactError('Signet.compact line 556 char 11: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1085
+ throw new __compactRuntime.CompactError('Signet.compact line 558 char 11: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1007
1086
  }
1008
1087
  return t1;
1009
1088
  })(acc_2[0] + 1n),
@@ -1012,7 +1091,8 @@ export class Contract {
1012
1091
  <
1013
1092
  txParams_0.accessListEntryCount)
1014
1093
  ?
1015
- this._transientHash_5([acc_2[1],
1094
+ this._transientHash_5([4,
1095
+ acc_2[1],
1016
1096
  entry_1.address,
1017
1097
  entry_1.storageKeyCount,
1018
1098
  this._folder_2(((keyAcc_0,
@@ -1021,7 +1101,7 @@ export class Contract {
1021
1101
  let t_5;
1022
1102
  return [((t1) => {
1023
1103
  if (t1 > 255n) {
1024
- throw new __compactRuntime.CompactError('Signet.compact line 564 char 22: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1104
+ throw new __compactRuntime.CompactError('Signet.compact line 567 char 22: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1025
1105
  }
1026
1106
  return t1;
1027
1107
  })(keyAcc_0[0]
@@ -1032,7 +1112,8 @@ export class Contract {
1032
1112
  <
1033
1113
  entry_1.storageKeyCount)
1034
1114
  ?
1035
- this._transientHash_4([keyAcc_0[1],
1115
+ this._transientHash_4([5,
1116
+ keyAcc_0[1],
1036
1117
  key_0])
1037
1118
  :
1038
1119
  keyAcc_0[1]];
@@ -1062,7 +1143,7 @@ export class Contract {
1062
1143
  let t_1, t_2;
1063
1144
  return [((t1) => {
1064
1145
  if (t1 > 255n) {
1065
- throw new __compactRuntime.CompactError('Signet.compact line 519 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1146
+ throw new __compactRuntime.CompactError('Signet.compact line 520 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1066
1147
  }
1067
1148
  return t1;
1068
1149
  })(acc_0[0] + 1n),
@@ -1080,7 +1161,8 @@ export class Contract {
1080
1161
  txParams_0.accessList);
1081
1162
  __compactRuntime.assert(keyCountsFit_0[1],
1082
1163
  "a used entry's storageKeyCount exceeds capacity");
1083
- const head_0 = this._transientHash_3([txParams_0.chainId,
1164
+ const head_0 = this._transientHash_3([2,
1165
+ txParams_0.chainId,
1084
1166
  txParams_0.nonce,
1085
1167
  txParams_0.maxPriorityFeePerGas,
1086
1168
  txParams_0.maxFeePerGas,
@@ -1096,14 +1178,15 @@ export class Contract {
1096
1178
  let t_3;
1097
1179
  return [((t1) => {
1098
1180
  if (t1 > 65535n) {
1099
- throw new __compactRuntime.CompactError('Signet.compact line 545 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1181
+ throw new __compactRuntime.CompactError('Signet.compact line 547 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1100
1182
  }
1101
1183
  return t1;
1102
1184
  })(acc_1[0] + 1n),
1103
1185
  (t_3 = acc_1[0],
1104
1186
  t_3 < noWords_0)
1105
1187
  ?
1106
- this._transientHash_4([acc_1[1],
1188
+ this._transientHash_4([3,
1189
+ acc_1[1],
1107
1190
  word_0])
1108
1191
  :
1109
1192
  acc_1[1]];
@@ -1115,7 +1198,7 @@ export class Contract {
1115
1198
  let t_4;
1116
1199
  return [((t1) => {
1117
1200
  if (t1 > 255n) {
1118
- throw new __compactRuntime.CompactError('Signet.compact line 556 char 11: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1201
+ throw new __compactRuntime.CompactError('Signet.compact line 558 char 11: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1119
1202
  }
1120
1203
  return t1;
1121
1204
  })(acc_2[0] + 1n),
@@ -1124,7 +1207,8 @@ export class Contract {
1124
1207
  <
1125
1208
  txParams_0.accessListEntryCount)
1126
1209
  ?
1127
- this._transientHash_5([acc_2[1],
1210
+ this._transientHash_5([4,
1211
+ acc_2[1],
1128
1212
  entry_1.address,
1129
1213
  entry_1.storageKeyCount,
1130
1214
  this._folder_6(((keyAcc_0,
@@ -1133,7 +1217,7 @@ export class Contract {
1133
1217
  let t_5;
1134
1218
  return [((t1) => {
1135
1219
  if (t1 > 255n) {
1136
- throw new __compactRuntime.CompactError('Signet.compact line 564 char 22: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1220
+ throw new __compactRuntime.CompactError('Signet.compact line 567 char 22: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1137
1221
  }
1138
1222
  return t1;
1139
1223
  })(keyAcc_0[0]
@@ -1144,7 +1228,8 @@ export class Contract {
1144
1228
  <
1145
1229
  entry_1.storageKeyCount)
1146
1230
  ?
1147
- this._transientHash_4([keyAcc_0[1],
1231
+ this._transientHash_4([5,
1232
+ keyAcc_0[1],
1148
1233
  key_0])
1149
1234
  :
1150
1235
  keyAcc_0[1]];
@@ -1193,7 +1278,7 @@ export class Contract {
1193
1278
  _numericAbiWord_0(value_0) {
1194
1279
  const le_0 = Array.from(__compactRuntime.convertBigintToBytes(16,
1195
1280
  value_0,
1196
- 'Signet.compact line 614 char 17'),
1281
+ 'Signet.compact line 617 char 17'),
1197
1282
  BigInt);
1198
1283
  return Uint8Array.from([...Array.from(new Uint8Array(16), BigInt),
1199
1284
  le_0[15],
@@ -1275,7 +1360,7 @@ export class Contract {
1275
1360
  v_0[31]);
1276
1361
  return ((t1) => {
1277
1362
  if (t1 > 340282366920938463463374607431768211455n) {
1278
- throw new __compactRuntime.CompactError('Signet.compact line 666 char 12: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 340282366920938463463374607431768211455');
1363
+ throw new __compactRuntime.CompactError('Signet.compact line 669 char 12: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 340282366920938463463374607431768211455');
1279
1364
  }
1280
1365
  return t1;
1281
1366
  })(b15_0);
@@ -1286,7 +1371,7 @@ export class Contract {
1286
1371
  ((e, i) => e.slice(i, i+31))(word_0,
1287
1372
  Number(0n)),
1288
1373
  'Field',
1289
- 'Signet.compact line 672 char 12')
1374
+ 'Signet.compact line 675 char 12')
1290
1375
  ===
1291
1376
  0n,
1292
1377
  'ABI word is not a canonical Boolean');
@@ -1295,7 +1380,7 @@ export class Contract {
1295
1380
  ((e, i) => e.slice(i, i+1))(word_0,
1296
1381
  Number(31n)),
1297
1382
  'Field',
1298
- 'Signet.compact line 673 char 18');
1383
+ 'Signet.compact line 676 char 18');
1299
1384
  __compactRuntime.assert(last_0 === 0n || last_0 === 1n,
1300
1385
  'ABI word is not a canonical Boolean');
1301
1386
  return last_0 === 1n;
@@ -1378,6 +1463,27 @@ export class Contract {
1378
1463
  respondBidirectionalEvent_0,
1379
1464
  mpcResponseKey_0);
1380
1465
  }
1466
+ _constructSignBidirectionalEventV1_1_0_0_34_34_0(request_0) {
1467
+ return this._constructSignBidirectionalEventV1_0(request_0.keyVersion,
1468
+ request_0.sender,
1469
+ request_0.path,
1470
+ request_0.algo,
1471
+ request_0.txParamType,
1472
+ request_0.txParams,
1473
+ request_0.executionDest,
1474
+ request_0.signatureDest,
1475
+ request_0.params,
1476
+ request_0.outputDeserializationSchema,
1477
+ request_0.respondSerializationSchema);
1478
+ }
1479
+ _equal_0(x0, y0) {
1480
+ if (!x0.every((x, i) => y0[i] === x)) { return false; }
1481
+ return true;
1482
+ }
1483
+ _equal_1(x0, y0) {
1484
+ if (!x0.every((x, i) => y0[i] === x)) { return false; }
1485
+ return true;
1486
+ }
1381
1487
  _folder_0(f, x, a0) {
1382
1488
  for (let i = 0; i < 0; i++) { x = f(x, a0[i]); }
1383
1489
  return x;
@@ -1440,7 +1546,7 @@ export const pureCircuits = {
1440
1546
  if (!(typeof(preimage_0) === 'object' && typeof(preimage_0.keyVersion) === 'bigint' && preimage_0.keyVersion >= 0n && preimage_0.keyVersion <= 255n && typeof(preimage_0.sender) === 'object' && preimage_0.sender.bytes.buffer instanceof ArrayBuffer && preimage_0.sender.bytes.BYTES_PER_ELEMENT === 1 && preimage_0.sender.bytes.length === 32 && preimage_0.path.buffer instanceof ArrayBuffer && preimage_0.path.BYTES_PER_ELEMENT === 1 && preimage_0.path.length === 32 && typeof(preimage_0.algo) === 'number' && preimage_0.algo >= 0 && preimage_0.algo <= 1 && typeof(preimage_0.txParamType) === 'number' && preimage_0.txParamType >= 0 && preimage_0.txParamType <= 1 && preimage_0.txParamsDigest.buffer instanceof ArrayBuffer && preimage_0.txParamsDigest.BYTES_PER_ELEMENT === 1 && preimage_0.txParamsDigest.length === 32 && preimage_0.executionDest.buffer instanceof ArrayBuffer && preimage_0.executionDest.BYTES_PER_ELEMENT === 1 && preimage_0.executionDest.length === 32)) {
1441
1547
  __compactRuntime.typeError('calculateRequestIdV1',
1442
1548
  'argument 1',
1443
- 'Signet.compact line 218 char 3',
1549
+ 'Signet.compact line 219 char 3',
1444
1550
  'struct RequestIdPreimageV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, reserved>, txParamsDigest: Bytes<32>, executionDest: Bytes<32>>',
1445
1551
  preimage_0)
1446
1552
  }
@@ -1456,21 +1562,21 @@ export const pureCircuits = {
1456
1562
  if (!(typeof(callerAddress_0) === 'object' && callerAddress_0.bytes.buffer instanceof ArrayBuffer && callerAddress_0.bytes.BYTES_PER_ELEMENT === 1 && callerAddress_0.bytes.length === 32)) {
1457
1563
  __compactRuntime.typeError('constructSignBidirectionalEventNotificationV1',
1458
1564
  'argument 1',
1459
- 'Signet.compact line 269 char 3',
1565
+ 'Signet.compact line 270 char 3',
1460
1566
  'struct ContractAddress<bytes: Bytes<32>>',
1461
1567
  callerAddress_0)
1462
1568
  }
1463
1569
  if (!(typeof(requestsPathDepth_0) === 'bigint' && requestsPathDepth_0 >= 0n && requestsPathDepth_0 <= 255n)) {
1464
1570
  __compactRuntime.typeError('constructSignBidirectionalEventNotificationV1',
1465
1571
  'argument 2',
1466
- 'Signet.compact line 269 char 3',
1572
+ 'Signet.compact line 270 char 3',
1467
1573
  'Uint<0..256>',
1468
1574
  requestsPathDepth_0)
1469
1575
  }
1470
1576
  if (!(Array.isArray(requestsPath_0) && requestsPath_0.length === 4 && requestsPath_0.every((t) => typeof(t) === 'bigint' && t >= 0n && t <= 255n))) {
1471
1577
  __compactRuntime.typeError('constructSignBidirectionalEventNotificationV1',
1472
1578
  'argument 3',
1473
- 'Signet.compact line 269 char 3',
1579
+ 'Signet.compact line 270 char 3',
1474
1580
  'Vector<4, Uint<0..256>>',
1475
1581
  requestsPath_0)
1476
1582
  }
@@ -1492,7 +1598,7 @@ export const pureCircuits = {
1492
1598
  if (!(addr_0.buffer instanceof ArrayBuffer && addr_0.BYTES_PER_ELEMENT === 1 && addr_0.length === 20)) {
1493
1599
  __compactRuntime.typeError('evmAddressAbiWord',
1494
1600
  'argument 1',
1495
- 'Signet.compact line 605 char 3',
1601
+ 'Signet.compact line 608 char 3',
1496
1602
  'Bytes<20>',
1497
1603
  addr_0)
1498
1604
  }
@@ -1506,7 +1612,7 @@ export const pureCircuits = {
1506
1612
  if (!(typeof(value_0) === 'bigint' && value_0 >= 0n && value_0 <= 340282366920938463463374607431768211455n)) {
1507
1613
  __compactRuntime.typeError('numericAbiWord',
1508
1614
  'argument 1',
1509
- 'Signet.compact line 611 char 3',
1615
+ 'Signet.compact line 614 char 3',
1510
1616
  'Uint<0..340282366920938463463374607431768211456>',
1511
1617
  value_0)
1512
1618
  }
@@ -1520,7 +1626,7 @@ export const pureCircuits = {
1520
1626
  if (!(typeof(value_0) === 'boolean')) {
1521
1627
  __compactRuntime.typeError('boolAbiWord',
1522
1628
  'argument 1',
1523
- 'Signet.compact line 624 char 3',
1629
+ 'Signet.compact line 627 char 3',
1524
1630
  'Boolean',
1525
1631
  value_0)
1526
1632
  }
@@ -1534,7 +1640,7 @@ export const pureCircuits = {
1534
1640
  if (!(word_0.buffer instanceof ArrayBuffer && word_0.BYTES_PER_ELEMENT === 1 && word_0.length === 32)) {
1535
1641
  __compactRuntime.typeError('abiWordToUint128',
1536
1642
  'argument 1',
1537
- 'Signet.compact line 632 char 3',
1643
+ 'Signet.compact line 635 char 3',
1538
1644
  'Bytes<32>',
1539
1645
  word_0)
1540
1646
  }
@@ -1548,7 +1654,7 @@ export const pureCircuits = {
1548
1654
  if (!(word_0.buffer instanceof ArrayBuffer && word_0.BYTES_PER_ELEMENT === 1 && word_0.length === 32)) {
1549
1655
  __compactRuntime.typeError('abiWordToBool',
1550
1656
  'argument 1',
1551
- 'Signet.compact line 671 char 3',
1657
+ 'Signet.compact line 674 char 3',
1552
1658
  'Bytes<32>',
1553
1659
  word_0)
1554
1660
  }
@@ -1565,28 +1671,28 @@ export const pureCircuits = {
1565
1671
  if (!(requestId_0.buffer instanceof ArrayBuffer && requestId_0.BYTES_PER_ELEMENT === 1 && requestId_0.length === 32)) {
1566
1672
  __compactRuntime.typeError('calculateSignetAttestationDigest0',
1567
1673
  'argument 1',
1568
- 'circuits.compact line 30 char 1',
1674
+ 'circuits.compact line 31 char 1',
1569
1675
  'Bytes<32>',
1570
1676
  requestId_0)
1571
1677
  }
1572
1678
  if (!(typeof(blockHeight_0) === 'bigint' && blockHeight_0 >= 0n && blockHeight_0 <= 18446744073709551615n)) {
1573
1679
  __compactRuntime.typeError('calculateSignetAttestationDigest0',
1574
1680
  'argument 2',
1575
- 'circuits.compact line 30 char 1',
1681
+ 'circuits.compact line 31 char 1',
1576
1682
  'Uint<0..18446744073709551616>',
1577
1683
  blockHeight_0)
1578
1684
  }
1579
1685
  if (!(typeof(outputKind_0) === 'number' && outputKind_0 >= 0 && outputKind_0 <= 2)) {
1580
1686
  __compactRuntime.typeError('calculateSignetAttestationDigest0',
1581
1687
  'argument 3',
1582
- 'circuits.compact line 30 char 1',
1688
+ 'circuits.compact line 31 char 1',
1583
1689
  'Enum<OutputKind, executed, failed, unviable>',
1584
1690
  outputKind_0)
1585
1691
  }
1586
1692
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 0)) {
1587
1693
  __compactRuntime.typeError('calculateSignetAttestationDigest0',
1588
1694
  'argument 4',
1589
- 'circuits.compact line 30 char 1',
1695
+ 'circuits.compact line 31 char 1',
1590
1696
  'Bytes<0>',
1591
1697
  serializedOutput_0)
1592
1698
  }
@@ -1606,28 +1712,28 @@ export const pureCircuits = {
1606
1712
  if (!(requestId_0.buffer instanceof ArrayBuffer && requestId_0.BYTES_PER_ELEMENT === 1 && requestId_0.length === 32)) {
1607
1713
  __compactRuntime.typeError('calculateSignetAttestationDigest1',
1608
1714
  'argument 1',
1609
- 'circuits.compact line 39 char 1',
1715
+ 'circuits.compact line 40 char 1',
1610
1716
  'Bytes<32>',
1611
1717
  requestId_0)
1612
1718
  }
1613
1719
  if (!(typeof(blockHeight_0) === 'bigint' && blockHeight_0 >= 0n && blockHeight_0 <= 18446744073709551615n)) {
1614
1720
  __compactRuntime.typeError('calculateSignetAttestationDigest1',
1615
1721
  'argument 2',
1616
- 'circuits.compact line 39 char 1',
1722
+ 'circuits.compact line 40 char 1',
1617
1723
  'Uint<0..18446744073709551616>',
1618
1724
  blockHeight_0)
1619
1725
  }
1620
1726
  if (!(typeof(outputKind_0) === 'number' && outputKind_0 >= 0 && outputKind_0 <= 2)) {
1621
1727
  __compactRuntime.typeError('calculateSignetAttestationDigest1',
1622
1728
  'argument 3',
1623
- 'circuits.compact line 39 char 1',
1729
+ 'circuits.compact line 40 char 1',
1624
1730
  'Enum<OutputKind, executed, failed, unviable>',
1625
1731
  outputKind_0)
1626
1732
  }
1627
1733
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 1)) {
1628
1734
  __compactRuntime.typeError('calculateSignetAttestationDigest1',
1629
1735
  'argument 4',
1630
- 'circuits.compact line 39 char 1',
1736
+ 'circuits.compact line 40 char 1',
1631
1737
  'Bytes<1>',
1632
1738
  serializedOutput_0)
1633
1739
  }
@@ -1647,28 +1753,28 @@ export const pureCircuits = {
1647
1753
  if (!(requestId_0.buffer instanceof ArrayBuffer && requestId_0.BYTES_PER_ELEMENT === 1 && requestId_0.length === 32)) {
1648
1754
  __compactRuntime.typeError('calculateSignetAttestationDigest2',
1649
1755
  'argument 1',
1650
- 'circuits.compact line 48 char 1',
1756
+ 'circuits.compact line 49 char 1',
1651
1757
  'Bytes<32>',
1652
1758
  requestId_0)
1653
1759
  }
1654
1760
  if (!(typeof(blockHeight_0) === 'bigint' && blockHeight_0 >= 0n && blockHeight_0 <= 18446744073709551615n)) {
1655
1761
  __compactRuntime.typeError('calculateSignetAttestationDigest2',
1656
1762
  'argument 2',
1657
- 'circuits.compact line 48 char 1',
1763
+ 'circuits.compact line 49 char 1',
1658
1764
  'Uint<0..18446744073709551616>',
1659
1765
  blockHeight_0)
1660
1766
  }
1661
1767
  if (!(typeof(outputKind_0) === 'number' && outputKind_0 >= 0 && outputKind_0 <= 2)) {
1662
1768
  __compactRuntime.typeError('calculateSignetAttestationDigest2',
1663
1769
  'argument 3',
1664
- 'circuits.compact line 48 char 1',
1770
+ 'circuits.compact line 49 char 1',
1665
1771
  'Enum<OutputKind, executed, failed, unviable>',
1666
1772
  outputKind_0)
1667
1773
  }
1668
1774
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 2)) {
1669
1775
  __compactRuntime.typeError('calculateSignetAttestationDigest2',
1670
1776
  'argument 4',
1671
- 'circuits.compact line 48 char 1',
1777
+ 'circuits.compact line 49 char 1',
1672
1778
  'Bytes<2>',
1673
1779
  serializedOutput_0)
1674
1780
  }
@@ -1688,28 +1794,28 @@ export const pureCircuits = {
1688
1794
  if (!(requestId_0.buffer instanceof ArrayBuffer && requestId_0.BYTES_PER_ELEMENT === 1 && requestId_0.length === 32)) {
1689
1795
  __compactRuntime.typeError('calculateSignetAttestationDigest32',
1690
1796
  'argument 1',
1691
- 'circuits.compact line 57 char 1',
1797
+ 'circuits.compact line 58 char 1',
1692
1798
  'Bytes<32>',
1693
1799
  requestId_0)
1694
1800
  }
1695
1801
  if (!(typeof(blockHeight_0) === 'bigint' && blockHeight_0 >= 0n && blockHeight_0 <= 18446744073709551615n)) {
1696
1802
  __compactRuntime.typeError('calculateSignetAttestationDigest32',
1697
1803
  'argument 2',
1698
- 'circuits.compact line 57 char 1',
1804
+ 'circuits.compact line 58 char 1',
1699
1805
  'Uint<0..18446744073709551616>',
1700
1806
  blockHeight_0)
1701
1807
  }
1702
1808
  if (!(typeof(outputKind_0) === 'number' && outputKind_0 >= 0 && outputKind_0 <= 2)) {
1703
1809
  __compactRuntime.typeError('calculateSignetAttestationDigest32',
1704
1810
  'argument 3',
1705
- 'circuits.compact line 57 char 1',
1811
+ 'circuits.compact line 58 char 1',
1706
1812
  'Enum<OutputKind, executed, failed, unviable>',
1707
1813
  outputKind_0)
1708
1814
  }
1709
1815
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 32)) {
1710
1816
  __compactRuntime.typeError('calculateSignetAttestationDigest32',
1711
1817
  'argument 4',
1712
- 'circuits.compact line 57 char 1',
1818
+ 'circuits.compact line 58 char 1',
1713
1819
  'Bytes<32>',
1714
1820
  serializedOutput_0)
1715
1821
  }
@@ -1729,28 +1835,28 @@ export const pureCircuits = {
1729
1835
  if (!(requestId_0.buffer instanceof ArrayBuffer && requestId_0.BYTES_PER_ELEMENT === 1 && requestId_0.length === 32)) {
1730
1836
  __compactRuntime.typeError('calculateSignetAttestationDigest100',
1731
1837
  'argument 1',
1732
- 'circuits.compact line 66 char 1',
1838
+ 'circuits.compact line 67 char 1',
1733
1839
  'Bytes<32>',
1734
1840
  requestId_0)
1735
1841
  }
1736
1842
  if (!(typeof(blockHeight_0) === 'bigint' && blockHeight_0 >= 0n && blockHeight_0 <= 18446744073709551615n)) {
1737
1843
  __compactRuntime.typeError('calculateSignetAttestationDigest100',
1738
1844
  'argument 2',
1739
- 'circuits.compact line 66 char 1',
1845
+ 'circuits.compact line 67 char 1',
1740
1846
  'Uint<0..18446744073709551616>',
1741
1847
  blockHeight_0)
1742
1848
  }
1743
1849
  if (!(typeof(outputKind_0) === 'number' && outputKind_0 >= 0 && outputKind_0 <= 2)) {
1744
1850
  __compactRuntime.typeError('calculateSignetAttestationDigest100',
1745
1851
  'argument 3',
1746
- 'circuits.compact line 66 char 1',
1852
+ 'circuits.compact line 67 char 1',
1747
1853
  'Enum<OutputKind, executed, failed, unviable>',
1748
1854
  outputKind_0)
1749
1855
  }
1750
1856
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 100)) {
1751
1857
  __compactRuntime.typeError('calculateSignetAttestationDigest100',
1752
1858
  'argument 4',
1753
- 'circuits.compact line 66 char 1',
1859
+ 'circuits.compact line 67 char 1',
1754
1860
  'Bytes<100>',
1755
1861
  serializedOutput_0)
1756
1862
  }
@@ -1767,7 +1873,7 @@ export const pureCircuits = {
1767
1873
  if (!(typeof(txParams_0) === 'object' && typeof(txParams_0.chainId) === 'bigint' && txParams_0.chainId >= 0n && txParams_0.chainId <= 18446744073709551615n && typeof(txParams_0.nonce) === 'bigint' && txParams_0.nonce >= 0n && txParams_0.nonce <= 18446744073709551615n && typeof(txParams_0.maxPriorityFeePerGas) === 'bigint' && txParams_0.maxPriorityFeePerGas >= 0n && txParams_0.maxPriorityFeePerGas <= 340282366920938463463374607431768211455n && typeof(txParams_0.maxFeePerGas) === 'bigint' && txParams_0.maxFeePerGas >= 0n && txParams_0.maxFeePerGas <= 340282366920938463463374607431768211455n && typeof(txParams_0.gasLimit) === 'bigint' && txParams_0.gasLimit >= 0n && txParams_0.gasLimit <= 18446744073709551615n && txParams_0.to.buffer instanceof ArrayBuffer && txParams_0.to.BYTES_PER_ELEMENT === 1 && txParams_0.to.length === 20 && typeof(txParams_0.value) === 'bigint' && txParams_0.value >= 0n && txParams_0.value <= 340282366920938463463374607431768211455n && typeof(txParams_0.calldata) === 'object' && typeof(txParams_0.calldata.is_some) === 'boolean' && typeof(txParams_0.calldata.value) === 'object' && txParams_0.calldata.value.selector.buffer instanceof ArrayBuffer && txParams_0.calldata.value.selector.BYTES_PER_ELEMENT === 1 && txParams_0.calldata.value.selector.length === 4 && typeof(txParams_0.calldata.value.noWords) === 'bigint' && txParams_0.calldata.value.noWords >= 0n && txParams_0.calldata.value.noWords <= 65535n && Array.isArray(txParams_0.calldata.value.words) && txParams_0.calldata.value.words.length === 1 && txParams_0.calldata.value.words.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32) && typeof(txParams_0.accessListEntryCount) === 'bigint' && txParams_0.accessListEntryCount >= 0n && txParams_0.accessListEntryCount <= 255n && Array.isArray(txParams_0.accessList) && txParams_0.accessList.length === 0 && txParams_0.accessList.every((t) => typeof(t) === 'object' && t.address.buffer instanceof ArrayBuffer && t.address.BYTES_PER_ELEMENT === 1 && t.address.length === 20 && typeof(t.storageKeyCount) === 'bigint' && t.storageKeyCount >= 0n && t.storageKeyCount <= 255n && Array.isArray(t.storageKeys) && t.storageKeys.length === 0 && t.storageKeys.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32)))) {
1768
1874
  __compactRuntime.typeError('calculateEvmType2TxParamsDigestV1_1_0_0',
1769
1875
  'argument 1',
1770
- 'circuits.compact line 80 char 1',
1876
+ 'circuits.compact line 81 char 1',
1771
1877
  'struct EvmType2TxParams<chainId: Uint<0..18446744073709551616>, nonce: Uint<0..18446744073709551616>, maxPriorityFeePerGas: Uint<0..340282366920938463463374607431768211456>, maxFeePerGas: Uint<0..340282366920938463463374607431768211456>, gasLimit: Uint<0..18446744073709551616>, to: Bytes<20>, value: Uint<0..340282366920938463463374607431768211456>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<1, Bytes<32>>>>, accessListEntryCount: Uint<0..256>, accessList: Vector<0, struct EvmAccessListEntry<address: Bytes<20>, storageKeyCount: Uint<0..256>, storageKeys: Vector<0, Bytes<32>>>>>',
1772
1878
  txParams_0)
1773
1879
  }
@@ -1781,7 +1887,7 @@ export const pureCircuits = {
1781
1887
  if (!(typeof(txParams_0) === 'object' && typeof(txParams_0.chainId) === 'bigint' && txParams_0.chainId >= 0n && txParams_0.chainId <= 18446744073709551615n && typeof(txParams_0.nonce) === 'bigint' && txParams_0.nonce >= 0n && txParams_0.nonce <= 18446744073709551615n && typeof(txParams_0.maxPriorityFeePerGas) === 'bigint' && txParams_0.maxPriorityFeePerGas >= 0n && txParams_0.maxPriorityFeePerGas <= 340282366920938463463374607431768211455n && typeof(txParams_0.maxFeePerGas) === 'bigint' && txParams_0.maxFeePerGas >= 0n && txParams_0.maxFeePerGas <= 340282366920938463463374607431768211455n && typeof(txParams_0.gasLimit) === 'bigint' && txParams_0.gasLimit >= 0n && txParams_0.gasLimit <= 18446744073709551615n && txParams_0.to.buffer instanceof ArrayBuffer && txParams_0.to.BYTES_PER_ELEMENT === 1 && txParams_0.to.length === 20 && typeof(txParams_0.value) === 'bigint' && txParams_0.value >= 0n && txParams_0.value <= 340282366920938463463374607431768211455n && typeof(txParams_0.calldata) === 'object' && typeof(txParams_0.calldata.is_some) === 'boolean' && typeof(txParams_0.calldata.value) === 'object' && txParams_0.calldata.value.selector.buffer instanceof ArrayBuffer && txParams_0.calldata.value.selector.BYTES_PER_ELEMENT === 1 && txParams_0.calldata.value.selector.length === 4 && typeof(txParams_0.calldata.value.noWords) === 'bigint' && txParams_0.calldata.value.noWords >= 0n && txParams_0.calldata.value.noWords <= 65535n && Array.isArray(txParams_0.calldata.value.words) && txParams_0.calldata.value.words.length === 2 && txParams_0.calldata.value.words.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32) && typeof(txParams_0.accessListEntryCount) === 'bigint' && txParams_0.accessListEntryCount >= 0n && txParams_0.accessListEntryCount <= 255n && Array.isArray(txParams_0.accessList) && txParams_0.accessList.length === 1 && txParams_0.accessList.every((t) => typeof(t) === 'object' && t.address.buffer instanceof ArrayBuffer && t.address.BYTES_PER_ELEMENT === 1 && t.address.length === 20 && typeof(t.storageKeyCount) === 'bigint' && t.storageKeyCount >= 0n && t.storageKeyCount <= 255n && Array.isArray(t.storageKeys) && t.storageKeys.length === 2 && t.storageKeys.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32)))) {
1782
1888
  __compactRuntime.typeError('calculateEvmType2TxParamsDigestV1_2_1_2',
1783
1889
  'argument 1',
1784
- 'circuits.compact line 86 char 1',
1890
+ 'circuits.compact line 87 char 1',
1785
1891
  'struct EvmType2TxParams<chainId: Uint<0..18446744073709551616>, nonce: Uint<0..18446744073709551616>, maxPriorityFeePerGas: Uint<0..340282366920938463463374607431768211456>, maxFeePerGas: Uint<0..340282366920938463463374607431768211456>, gasLimit: Uint<0..18446744073709551616>, to: Bytes<20>, value: Uint<0..340282366920938463463374607431768211456>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<2, Bytes<32>>>>, accessListEntryCount: Uint<0..256>, accessList: Vector<1, struct EvmAccessListEntry<address: Bytes<20>, storageKeyCount: Uint<0..256>, storageKeys: Vector<2, Bytes<32>>>>>',
1786
1892
  txParams_0)
1787
1893
  }
@@ -1795,7 +1901,7 @@ export const pureCircuits = {
1795
1901
  if (!(typeof(request_0) === 'object' && typeof(request_0.keyVersion) === 'bigint' && request_0.keyVersion >= 0n && request_0.keyVersion <= 255n && typeof(request_0.sender) === 'object' && request_0.sender.bytes.buffer instanceof ArrayBuffer && request_0.sender.bytes.BYTES_PER_ELEMENT === 1 && request_0.sender.bytes.length === 32 && request_0.path.buffer instanceof ArrayBuffer && request_0.path.BYTES_PER_ELEMENT === 1 && request_0.path.length === 32 && typeof(request_0.algo) === 'number' && request_0.algo >= 0 && request_0.algo <= 1 && typeof(request_0.txParamType) === 'number' && request_0.txParamType >= 0 && request_0.txParamType <= 1 && typeof(request_0.txParams) === 'object' && typeof(request_0.txParams.chainId) === 'bigint' && request_0.txParams.chainId >= 0n && request_0.txParams.chainId <= 18446744073709551615n && typeof(request_0.txParams.nonce) === 'bigint' && request_0.txParams.nonce >= 0n && request_0.txParams.nonce <= 18446744073709551615n && typeof(request_0.txParams.maxPriorityFeePerGas) === 'bigint' && request_0.txParams.maxPriorityFeePerGas >= 0n && request_0.txParams.maxPriorityFeePerGas <= 340282366920938463463374607431768211455n && typeof(request_0.txParams.maxFeePerGas) === 'bigint' && request_0.txParams.maxFeePerGas >= 0n && request_0.txParams.maxFeePerGas <= 340282366920938463463374607431768211455n && typeof(request_0.txParams.gasLimit) === 'bigint' && request_0.txParams.gasLimit >= 0n && request_0.txParams.gasLimit <= 18446744073709551615n && request_0.txParams.to.buffer instanceof ArrayBuffer && request_0.txParams.to.BYTES_PER_ELEMENT === 1 && request_0.txParams.to.length === 20 && typeof(request_0.txParams.value) === 'bigint' && request_0.txParams.value >= 0n && request_0.txParams.value <= 340282366920938463463374607431768211455n && typeof(request_0.txParams.calldata) === 'object' && typeof(request_0.txParams.calldata.is_some) === 'boolean' && typeof(request_0.txParams.calldata.value) === 'object' && request_0.txParams.calldata.value.selector.buffer instanceof ArrayBuffer && request_0.txParams.calldata.value.selector.BYTES_PER_ELEMENT === 1 && request_0.txParams.calldata.value.selector.length === 4 && typeof(request_0.txParams.calldata.value.noWords) === 'bigint' && request_0.txParams.calldata.value.noWords >= 0n && request_0.txParams.calldata.value.noWords <= 65535n && Array.isArray(request_0.txParams.calldata.value.words) && request_0.txParams.calldata.value.words.length === 1 && request_0.txParams.calldata.value.words.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32) && typeof(request_0.txParams.accessListEntryCount) === 'bigint' && request_0.txParams.accessListEntryCount >= 0n && request_0.txParams.accessListEntryCount <= 255n && Array.isArray(request_0.txParams.accessList) && request_0.txParams.accessList.length === 0 && request_0.txParams.accessList.every((t) => typeof(t) === 'object' && t.address.buffer instanceof ArrayBuffer && t.address.BYTES_PER_ELEMENT === 1 && t.address.length === 20 && typeof(t.storageKeyCount) === 'bigint' && t.storageKeyCount >= 0n && t.storageKeyCount <= 255n && Array.isArray(t.storageKeys) && t.storageKeys.length === 0 && t.storageKeys.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32)) && request_0.executionDest.buffer instanceof ArrayBuffer && request_0.executionDest.BYTES_PER_ELEMENT === 1 && request_0.executionDest.length === 32 && typeof(request_0.signatureDest) === 'number' && request_0.signatureDest >= 0 && request_0.signatureDest <= 1 && request_0.params.buffer instanceof ArrayBuffer && request_0.params.BYTES_PER_ELEMENT === 1 && request_0.params.length === 64 && request_0.outputDeserializationSchema.buffer instanceof ArrayBuffer && request_0.outputDeserializationSchema.BYTES_PER_ELEMENT === 1 && request_0.outputDeserializationSchema.length === 34 && request_0.respondSerializationSchema.buffer instanceof ArrayBuffer && request_0.respondSerializationSchema.BYTES_PER_ELEMENT === 1 && request_0.respondSerializationSchema.length === 34)) {
1796
1902
  __compactRuntime.typeError('calculateEvmType2RequestIdV1_1_0_0_34_34',
1797
1903
  'argument 1',
1798
- 'circuits.compact line 95 char 1',
1904
+ 'circuits.compact line 96 char 1',
1799
1905
  'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, reserved>, txParams: struct EvmType2TxParams<chainId: Uint<0..18446744073709551616>, nonce: Uint<0..18446744073709551616>, maxPriorityFeePerGas: Uint<0..340282366920938463463374607431768211456>, maxFeePerGas: Uint<0..340282366920938463463374607431768211456>, gasLimit: Uint<0..18446744073709551616>, to: Bytes<20>, value: Uint<0..340282366920938463463374607431768211456>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<1, Bytes<32>>>>, accessListEntryCount: Uint<0..256>, accessList: Vector<0, struct EvmAccessListEntry<address: Bytes<20>, storageKeyCount: Uint<0..256>, storageKeys: Vector<0, Bytes<32>>>>>, executionDest: Bytes<32>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<34>, respondSerializationSchema: Bytes<34>>',
1800
1906
  request_0)
1801
1907
  }
@@ -1809,7 +1915,7 @@ export const pureCircuits = {
1809
1915
  if (!(typeof(request_0) === 'object' && typeof(request_0.keyVersion) === 'bigint' && request_0.keyVersion >= 0n && request_0.keyVersion <= 255n && typeof(request_0.sender) === 'object' && request_0.sender.bytes.buffer instanceof ArrayBuffer && request_0.sender.bytes.BYTES_PER_ELEMENT === 1 && request_0.sender.bytes.length === 32 && request_0.path.buffer instanceof ArrayBuffer && request_0.path.BYTES_PER_ELEMENT === 1 && request_0.path.length === 32 && typeof(request_0.algo) === 'number' && request_0.algo >= 0 && request_0.algo <= 1 && typeof(request_0.txParamType) === 'number' && request_0.txParamType >= 0 && request_0.txParamType <= 1 && typeof(request_0.txParams) === 'object' && typeof(request_0.txParams.chainId) === 'bigint' && request_0.txParams.chainId >= 0n && request_0.txParams.chainId <= 18446744073709551615n && typeof(request_0.txParams.nonce) === 'bigint' && request_0.txParams.nonce >= 0n && request_0.txParams.nonce <= 18446744073709551615n && typeof(request_0.txParams.maxPriorityFeePerGas) === 'bigint' && request_0.txParams.maxPriorityFeePerGas >= 0n && request_0.txParams.maxPriorityFeePerGas <= 340282366920938463463374607431768211455n && typeof(request_0.txParams.maxFeePerGas) === 'bigint' && request_0.txParams.maxFeePerGas >= 0n && request_0.txParams.maxFeePerGas <= 340282366920938463463374607431768211455n && typeof(request_0.txParams.gasLimit) === 'bigint' && request_0.txParams.gasLimit >= 0n && request_0.txParams.gasLimit <= 18446744073709551615n && request_0.txParams.to.buffer instanceof ArrayBuffer && request_0.txParams.to.BYTES_PER_ELEMENT === 1 && request_0.txParams.to.length === 20 && typeof(request_0.txParams.value) === 'bigint' && request_0.txParams.value >= 0n && request_0.txParams.value <= 340282366920938463463374607431768211455n && typeof(request_0.txParams.calldata) === 'object' && typeof(request_0.txParams.calldata.is_some) === 'boolean' && typeof(request_0.txParams.calldata.value) === 'object' && request_0.txParams.calldata.value.selector.buffer instanceof ArrayBuffer && request_0.txParams.calldata.value.selector.BYTES_PER_ELEMENT === 1 && request_0.txParams.calldata.value.selector.length === 4 && typeof(request_0.txParams.calldata.value.noWords) === 'bigint' && request_0.txParams.calldata.value.noWords >= 0n && request_0.txParams.calldata.value.noWords <= 65535n && Array.isArray(request_0.txParams.calldata.value.words) && request_0.txParams.calldata.value.words.length === 2 && request_0.txParams.calldata.value.words.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32) && typeof(request_0.txParams.accessListEntryCount) === 'bigint' && request_0.txParams.accessListEntryCount >= 0n && request_0.txParams.accessListEntryCount <= 255n && Array.isArray(request_0.txParams.accessList) && request_0.txParams.accessList.length === 1 && request_0.txParams.accessList.every((t) => typeof(t) === 'object' && t.address.buffer instanceof ArrayBuffer && t.address.BYTES_PER_ELEMENT === 1 && t.address.length === 20 && typeof(t.storageKeyCount) === 'bigint' && t.storageKeyCount >= 0n && t.storageKeyCount <= 255n && Array.isArray(t.storageKeys) && t.storageKeys.length === 2 && t.storageKeys.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32)) && request_0.executionDest.buffer instanceof ArrayBuffer && request_0.executionDest.BYTES_PER_ELEMENT === 1 && request_0.executionDest.length === 32 && typeof(request_0.signatureDest) === 'number' && request_0.signatureDest >= 0 && request_0.signatureDest <= 1 && request_0.params.buffer instanceof ArrayBuffer && request_0.params.BYTES_PER_ELEMENT === 1 && request_0.params.length === 64 && request_0.outputDeserializationSchema.buffer instanceof ArrayBuffer && request_0.outputDeserializationSchema.BYTES_PER_ELEMENT === 1 && request_0.outputDeserializationSchema.length === 34 && request_0.respondSerializationSchema.buffer instanceof ArrayBuffer && request_0.respondSerializationSchema.BYTES_PER_ELEMENT === 1 && request_0.respondSerializationSchema.length === 34)) {
1810
1916
  __compactRuntime.typeError('calculateEvmType2RequestIdV1_2_1_2_34_34',
1811
1917
  'argument 1',
1812
- 'circuits.compact line 101 char 1',
1918
+ 'circuits.compact line 102 char 1',
1813
1919
  'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, reserved>, txParams: struct EvmType2TxParams<chainId: Uint<0..18446744073709551616>, nonce: Uint<0..18446744073709551616>, maxPriorityFeePerGas: Uint<0..340282366920938463463374607431768211456>, maxFeePerGas: Uint<0..340282366920938463463374607431768211456>, gasLimit: Uint<0..18446744073709551616>, to: Bytes<20>, value: Uint<0..340282366920938463463374607431768211456>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<2, Bytes<32>>>>, accessListEntryCount: Uint<0..256>, accessList: Vector<1, struct EvmAccessListEntry<address: Bytes<20>, storageKeyCount: Uint<0..256>, storageKeys: Vector<2, Bytes<32>>>>>, executionDest: Bytes<32>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<34>, respondSerializationSchema: Bytes<34>>',
1814
1920
  request_0)
1815
1921
  }
@@ -1825,14 +1931,14 @@ export const pureCircuits = {
1825
1931
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 0)) {
1826
1932
  __compactRuntime.typeError('verifyRespondBidirectionalEvent0',
1827
1933
  'argument 1',
1828
- 'circuits.compact line 107 char 1',
1934
+ 'circuits.compact line 108 char 1',
1829
1935
  'Bytes<0>',
1830
1936
  serializedOutput_0)
1831
1937
  }
1832
1938
  if (!(typeof(respondBidirectionalEvent_0) === 'object' && respondBidirectionalEvent_0.requestId.buffer instanceof ArrayBuffer && respondBidirectionalEvent_0.requestId.BYTES_PER_ELEMENT === 1 && respondBidirectionalEvent_0.requestId.length === 32 && typeof(respondBidirectionalEvent_0.blockHeight) === 'bigint' && respondBidirectionalEvent_0.blockHeight >= 0n && respondBidirectionalEvent_0.blockHeight <= 18446744073709551615n && typeof(respondBidirectionalEvent_0.outputKind) === 'number' && respondBidirectionalEvent_0.outputKind >= 0 && respondBidirectionalEvent_0.outputKind <= 2 && typeof(respondBidirectionalEvent_0.serializedOutputLength) === 'bigint' && respondBidirectionalEvent_0.serializedOutputLength >= 0n && respondBidirectionalEvent_0.serializedOutputLength <= 18446744073709551615n && respondBidirectionalEvent_0.digest.buffer instanceof ArrayBuffer && respondBidirectionalEvent_0.digest.BYTES_PER_ELEMENT === 1 && respondBidirectionalEvent_0.digest.length === 32 && typeof(respondBidirectionalEvent_0.signature) === 'object' && typeof(respondBidirectionalEvent_0.signature.bigR) === 'object' && respondBidirectionalEvent_0.signature.bigR.x.buffer instanceof ArrayBuffer && respondBidirectionalEvent_0.signature.bigR.x.BYTES_PER_ELEMENT === 1 && respondBidirectionalEvent_0.signature.bigR.x.length === 32 && respondBidirectionalEvent_0.signature.bigR.y.buffer instanceof ArrayBuffer && respondBidirectionalEvent_0.signature.bigR.y.BYTES_PER_ELEMENT === 1 && respondBidirectionalEvent_0.signature.bigR.y.length === 32 && respondBidirectionalEvent_0.signature.s.buffer instanceof ArrayBuffer && respondBidirectionalEvent_0.signature.s.BYTES_PER_ELEMENT === 1 && respondBidirectionalEvent_0.signature.s.length === 32 && typeof(respondBidirectionalEvent_0.signature.recoveryId) === 'bigint' && respondBidirectionalEvent_0.signature.recoveryId >= 0n && respondBidirectionalEvent_0.signature.recoveryId <= 255n)) {
1833
1939
  __compactRuntime.typeError('verifyRespondBidirectionalEvent0',
1834
1940
  'argument 2',
1835
- 'circuits.compact line 107 char 1',
1941
+ 'circuits.compact line 108 char 1',
1836
1942
  'struct RespondBidirectionalEventV1<requestId: Bytes<32>, blockHeight: Uint<0..18446744073709551616>, outputKind: Enum<OutputKind, executed, failed, unviable>, serializedOutputLength: Uint<0..18446744073709551616>, digest: Bytes<32>, signature: struct Signature<bigR: struct AffinePoint<x: Bytes<32>, y: Bytes<32>>, s: Bytes<32>, recoveryId: Uint<0..256>>>',
1837
1943
  respondBidirectionalEvent_0)
1838
1944
  }
@@ -1850,20 +1956,34 @@ export const pureCircuits = {
1850
1956
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 32)) {
1851
1957
  __compactRuntime.typeError('verifyRespondBidirectionalEvent32',
1852
1958
  'argument 1',
1853
- 'circuits.compact line 119 char 1',
1959
+ 'circuits.compact line 120 char 1',
1854
1960
  'Bytes<32>',
1855
1961
  serializedOutput_0)
1856
1962
  }
1857
1963
  if (!(typeof(respondBidirectionalEvent_0) === 'object' && respondBidirectionalEvent_0.requestId.buffer instanceof ArrayBuffer && respondBidirectionalEvent_0.requestId.BYTES_PER_ELEMENT === 1 && respondBidirectionalEvent_0.requestId.length === 32 && typeof(respondBidirectionalEvent_0.blockHeight) === 'bigint' && respondBidirectionalEvent_0.blockHeight >= 0n && respondBidirectionalEvent_0.blockHeight <= 18446744073709551615n && typeof(respondBidirectionalEvent_0.outputKind) === 'number' && respondBidirectionalEvent_0.outputKind >= 0 && respondBidirectionalEvent_0.outputKind <= 2 && typeof(respondBidirectionalEvent_0.serializedOutputLength) === 'bigint' && respondBidirectionalEvent_0.serializedOutputLength >= 0n && respondBidirectionalEvent_0.serializedOutputLength <= 18446744073709551615n && respondBidirectionalEvent_0.digest.buffer instanceof ArrayBuffer && respondBidirectionalEvent_0.digest.BYTES_PER_ELEMENT === 1 && respondBidirectionalEvent_0.digest.length === 32 && typeof(respondBidirectionalEvent_0.signature) === 'object' && typeof(respondBidirectionalEvent_0.signature.bigR) === 'object' && respondBidirectionalEvent_0.signature.bigR.x.buffer instanceof ArrayBuffer && respondBidirectionalEvent_0.signature.bigR.x.BYTES_PER_ELEMENT === 1 && respondBidirectionalEvent_0.signature.bigR.x.length === 32 && respondBidirectionalEvent_0.signature.bigR.y.buffer instanceof ArrayBuffer && respondBidirectionalEvent_0.signature.bigR.y.BYTES_PER_ELEMENT === 1 && respondBidirectionalEvent_0.signature.bigR.y.length === 32 && respondBidirectionalEvent_0.signature.s.buffer instanceof ArrayBuffer && respondBidirectionalEvent_0.signature.s.BYTES_PER_ELEMENT === 1 && respondBidirectionalEvent_0.signature.s.length === 32 && typeof(respondBidirectionalEvent_0.signature.recoveryId) === 'bigint' && respondBidirectionalEvent_0.signature.recoveryId >= 0n && respondBidirectionalEvent_0.signature.recoveryId <= 255n)) {
1858
1964
  __compactRuntime.typeError('verifyRespondBidirectionalEvent32',
1859
1965
  'argument 2',
1860
- 'circuits.compact line 119 char 1',
1966
+ 'circuits.compact line 120 char 1',
1861
1967
  'struct RespondBidirectionalEventV1<requestId: Bytes<32>, blockHeight: Uint<0..18446744073709551616>, outputKind: Enum<OutputKind, executed, failed, unviable>, serializedOutputLength: Uint<0..18446744073709551616>, digest: Bytes<32>, signature: struct Signature<bigR: struct AffinePoint<x: Bytes<32>, y: Bytes<32>>, s: Bytes<32>, recoveryId: Uint<0..256>>>',
1862
1968
  respondBidirectionalEvent_0)
1863
1969
  }
1864
1970
  return _dummyContract._verifyRespondBidirectionalEvent32_0(serializedOutput_0,
1865
1971
  respondBidirectionalEvent_0,
1866
1972
  mpcResponseKey_0);
1973
+ },
1974
+ constructSignBidirectionalEventV1_1_0_0_34_34: (...args_0) => {
1975
+ if (args_0.length !== 1) {
1976
+ throw new __compactRuntime.CompactError(`constructSignBidirectionalEventV1_1_0_0_34_34: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
1977
+ }
1978
+ const request_0 = args_0[0];
1979
+ if (!(typeof(request_0) === 'object' && typeof(request_0.keyVersion) === 'bigint' && request_0.keyVersion >= 0n && request_0.keyVersion <= 255n && typeof(request_0.sender) === 'object' && request_0.sender.bytes.buffer instanceof ArrayBuffer && request_0.sender.bytes.BYTES_PER_ELEMENT === 1 && request_0.sender.bytes.length === 32 && request_0.path.buffer instanceof ArrayBuffer && request_0.path.BYTES_PER_ELEMENT === 1 && request_0.path.length === 32 && typeof(request_0.algo) === 'number' && request_0.algo >= 0 && request_0.algo <= 1 && typeof(request_0.txParamType) === 'number' && request_0.txParamType >= 0 && request_0.txParamType <= 1 && typeof(request_0.txParams) === 'object' && typeof(request_0.txParams.chainId) === 'bigint' && request_0.txParams.chainId >= 0n && request_0.txParams.chainId <= 18446744073709551615n && typeof(request_0.txParams.nonce) === 'bigint' && request_0.txParams.nonce >= 0n && request_0.txParams.nonce <= 18446744073709551615n && typeof(request_0.txParams.maxPriorityFeePerGas) === 'bigint' && request_0.txParams.maxPriorityFeePerGas >= 0n && request_0.txParams.maxPriorityFeePerGas <= 340282366920938463463374607431768211455n && typeof(request_0.txParams.maxFeePerGas) === 'bigint' && request_0.txParams.maxFeePerGas >= 0n && request_0.txParams.maxFeePerGas <= 340282366920938463463374607431768211455n && typeof(request_0.txParams.gasLimit) === 'bigint' && request_0.txParams.gasLimit >= 0n && request_0.txParams.gasLimit <= 18446744073709551615n && request_0.txParams.to.buffer instanceof ArrayBuffer && request_0.txParams.to.BYTES_PER_ELEMENT === 1 && request_0.txParams.to.length === 20 && typeof(request_0.txParams.value) === 'bigint' && request_0.txParams.value >= 0n && request_0.txParams.value <= 340282366920938463463374607431768211455n && typeof(request_0.txParams.calldata) === 'object' && typeof(request_0.txParams.calldata.is_some) === 'boolean' && typeof(request_0.txParams.calldata.value) === 'object' && request_0.txParams.calldata.value.selector.buffer instanceof ArrayBuffer && request_0.txParams.calldata.value.selector.BYTES_PER_ELEMENT === 1 && request_0.txParams.calldata.value.selector.length === 4 && typeof(request_0.txParams.calldata.value.noWords) === 'bigint' && request_0.txParams.calldata.value.noWords >= 0n && request_0.txParams.calldata.value.noWords <= 65535n && Array.isArray(request_0.txParams.calldata.value.words) && request_0.txParams.calldata.value.words.length === 1 && request_0.txParams.calldata.value.words.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32) && typeof(request_0.txParams.accessListEntryCount) === 'bigint' && request_0.txParams.accessListEntryCount >= 0n && request_0.txParams.accessListEntryCount <= 255n && Array.isArray(request_0.txParams.accessList) && request_0.txParams.accessList.length === 0 && request_0.txParams.accessList.every((t) => typeof(t) === 'object' && t.address.buffer instanceof ArrayBuffer && t.address.BYTES_PER_ELEMENT === 1 && t.address.length === 20 && typeof(t.storageKeyCount) === 'bigint' && t.storageKeyCount >= 0n && t.storageKeyCount <= 255n && Array.isArray(t.storageKeys) && t.storageKeys.length === 0 && t.storageKeys.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32)) && request_0.executionDest.buffer instanceof ArrayBuffer && request_0.executionDest.BYTES_PER_ELEMENT === 1 && request_0.executionDest.length === 32 && typeof(request_0.signatureDest) === 'number' && request_0.signatureDest >= 0 && request_0.signatureDest <= 1 && request_0.params.buffer instanceof ArrayBuffer && request_0.params.BYTES_PER_ELEMENT === 1 && request_0.params.length === 64 && request_0.outputDeserializationSchema.buffer instanceof ArrayBuffer && request_0.outputDeserializationSchema.BYTES_PER_ELEMENT === 1 && request_0.outputDeserializationSchema.length === 34 && request_0.respondSerializationSchema.buffer instanceof ArrayBuffer && request_0.respondSerializationSchema.BYTES_PER_ELEMENT === 1 && request_0.respondSerializationSchema.length === 34)) {
1980
+ __compactRuntime.typeError('constructSignBidirectionalEventV1_1_0_0_34_34',
1981
+ 'argument 1',
1982
+ 'circuits.compact line 132 char 1',
1983
+ 'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, reserved>, txParams: struct EvmType2TxParams<chainId: Uint<0..18446744073709551616>, nonce: Uint<0..18446744073709551616>, maxPriorityFeePerGas: Uint<0..340282366920938463463374607431768211456>, maxFeePerGas: Uint<0..340282366920938463463374607431768211456>, gasLimit: Uint<0..18446744073709551616>, to: Bytes<20>, value: Uint<0..340282366920938463463374607431768211456>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<1, Bytes<32>>>>, accessListEntryCount: Uint<0..256>, accessList: Vector<0, struct EvmAccessListEntry<address: Bytes<20>, storageKeyCount: Uint<0..256>, storageKeys: Vector<0, Bytes<32>>>>>, executionDest: Bytes<32>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<34>, respondSerializationSchema: Bytes<34>>',
1984
+ request_0)
1985
+ }
1986
+ return _dummyContract._constructSignBidirectionalEventV1_1_0_0_34_34_0(request_0);
1867
1987
  }
1868
1988
  };
1869
1989
  export const contractReferenceLocations =