@sig-net/midnight 0.23.0 → 0.24.0-rc.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/README.md +52 -24
  2. package/dist/abi-serde.d.ts +198 -57
  3. package/dist/abi-serde.d.ts.map +1 -1
  4. package/dist/abi-serde.js +478 -367
  5. package/dist/abi-serde.js.map +1 -1
  6. package/dist/compact-descriptors.d.ts +25 -8
  7. package/dist/compact-descriptors.d.ts.map +1 -1
  8. package/dist/compact-descriptors.js +42 -25
  9. package/dist/compact-descriptors.js.map +1 -1
  10. package/dist/constants.d.ts +3 -22
  11. package/dist/constants.d.ts.map +1 -1
  12. package/dist/constants.js +3 -25
  13. package/dist/constants.js.map +1 -1
  14. package/dist/ecdsa-attestation.d.ts +44 -14
  15. package/dist/ecdsa-attestation.d.ts.map +1 -1
  16. package/dist/ecdsa-attestation.js +50 -15
  17. package/dist/ecdsa-attestation.js.map +1 -1
  18. package/dist/index.d.ts +6 -6
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +5 -5
  21. package/dist/index.js.map +1 -1
  22. package/dist/managed/compiler/contract-info.json +1808 -48
  23. package/dist/managed/compiler/contract-manifest.json +8 -8
  24. package/dist/managed/contract/index.d.ts +424 -5
  25. package/dist/managed/contract/index.js +1311 -171
  26. package/dist/managed/contract/index.js.map +1 -1
  27. package/dist/mpc-output-cache.js +2 -2
  28. package/dist/mpc-output-cache.js.map +1 -1
  29. package/dist/signature-requests-state-reader.d.ts +6 -13
  30. package/dist/signature-requests-state-reader.d.ts.map +1 -1
  31. package/dist/signature-requests-state-reader.js +10 -16
  32. package/dist/signature-requests-state-reader.js.map +1 -1
  33. package/dist/signet-contract-events.d.ts +52 -12
  34. package/dist/signet-contract-events.d.ts.map +1 -1
  35. package/dist/signet-contract-events.js +89 -34
  36. package/dist/signet-contract-events.js.map +1 -1
  37. package/dist/signet-evtype2tx-record-decoding.d.ts.map +1 -1
  38. package/dist/signet-evtype2tx-record-decoding.js +7 -6
  39. package/dist/signet-evtype2tx-record-decoding.js.map +1 -1
  40. package/dist/signet-evtype2tx-requests.d.ts +17 -12
  41. package/dist/signet-evtype2tx-requests.d.ts.map +1 -1
  42. package/dist/signet-evtype2tx-requests.js +92 -16
  43. package/dist/signet-evtype2tx-requests.js.map +1 -1
  44. package/dist/signet-request-id.d.ts +5 -2
  45. package/dist/signet-request-id.d.ts.map +1 -1
  46. package/dist/signet-request-id.js +27 -9
  47. package/dist/signet-request-id.js.map +1 -1
  48. package/dist/signet-request-response-reader.d.ts +8 -0
  49. package/dist/signet-request-response-reader.d.ts.map +1 -1
  50. package/dist/signet-request-response-reader.js +8 -7
  51. package/dist/signet-request-response-reader.js.map +1 -1
  52. package/dist/signet-requests.d.ts +48 -19
  53. package/dist/signet-requests.d.ts.map +1 -1
  54. package/dist/signet-requests.js +19 -8
  55. package/dist/signet-requests.js.map +1 -1
  56. package/dist/testing.d.ts +1 -1
  57. package/dist/testing.d.ts.map +1 -1
  58. package/dist/testing.js +3 -8
  59. package/dist/testing.js.map +1 -1
  60. package/package.json +2 -2
  61. package/src/Signet.compact +299 -101
  62. package/src/circuits.compact +92 -12
@@ -7,26 +7,26 @@
7
7
  "type": "directory",
8
8
  "contract-info.json": {
9
9
  "type": "file",
10
- "size": 8556,
11
- "hash": "7c47d2270aa2ea14342613bd428f575d633670cc941d12de3cdbdd69270decd7"
10
+ "size": 62336,
11
+ "hash": "2c695611a4b0e4a60933cdf64d8e23b4de6238445322cf7873160e8217bc4677"
12
12
  }
13
13
  },
14
14
  "contract": {
15
15
  "type": "directory",
16
16
  "index.d.ts": {
17
17
  "type": "file",
18
- "size": 6842,
19
- "hash": "b6d45b68e32185fc3ebfcc50630dfdec409c9a6bb5ebc8b6d5c40f6480a903dd"
18
+ "size": 43425,
19
+ "hash": "2ee224eeb52643d8577c8b6c22e8ef40d82312a7dfd515dbdb0834b9b7ed3fbf"
20
20
  },
21
21
  "index.js": {
22
22
  "type": "file",
23
- "size": 42847,
24
- "hash": "73f5b3be89aee3b115afb2dc52ca4dfe8c862a39dcfb626b407c2894c2ba43c6"
23
+ "size": 132263,
24
+ "hash": "238cce95e4c800bc94e6d50899083e0928e18bcad9f6fb2ca3dabeedaeaf770a"
25
25
  },
26
26
  "index.js.map": {
27
27
  "type": "file",
28
- "size": 4704,
29
- "hash": "24823832e1f686bbcc7fcc0aaef591efe9d2b082957191f8745cdd2bf80adedf"
28
+ "size": 10289,
29
+ "hash": "64179a5336f050f152a7db2b539a560f2f894f61c6328d985eefcbb0cf89b0a1"
30
30
  }
31
31
  }
32
32
  }
@@ -1,5 +1,15 @@
1
1
  import type * as __compactRuntime from '@midnight-ntwrk/compact-runtime';
2
2
 
3
+ export enum HashDomain { requestId = 0,
4
+ attestationDigest = 1,
5
+ evmType2TxHeader = 2,
6
+ evmType2TxWord = 3,
7
+ evmType2TxAccessEntry = 4,
8
+ evmType2TxStorageKey = 5
9
+ }
10
+
11
+ export enum OutputKind { executed = 0, failed = 1, unviable = 2 }
12
+
3
13
  export type Witnesses<PS> = {
4
14
  }
5
15
 
@@ -10,6 +20,14 @@ export type ProvableCircuits<PS> = {
10
20
  }
11
21
 
12
22
  export type PureCircuits = {
23
+ calculateRequestIdV1(preimage_0: { keyVersion: bigint,
24
+ sender: { bytes: Uint8Array },
25
+ path: Uint8Array,
26
+ algo: number,
27
+ txParamType: number,
28
+ txParamsDigest: Uint8Array,
29
+ executionDest: Uint8Array
30
+ }): Uint8Array;
13
31
  constructSignBidirectionalEventNotificationV1(callerAddress_0: { bytes: Uint8Array
14
32
  },
15
33
  requestsPathDepth_0: bigint,
@@ -21,18 +39,149 @@ export type PureCircuits = {
21
39
  numericAbiWord(value_0: bigint): Uint8Array;
22
40
  boolAbiWord(value_0: boolean): Uint8Array;
23
41
  abiWordToUint128(word_0: Uint8Array): bigint;
42
+ checkedTruncationU128(x_0: Uint8Array): bigint;
24
43
  abiWordToBool(word_0: Uint8Array): boolean;
44
+ calculateSignetAttestationDigest0(requestId_0: Uint8Array,
45
+ blockHeight_0: bigint,
46
+ outputKind_0: OutputKind,
47
+ serializedOutput_0: Uint8Array): Uint8Array;
25
48
  calculateSignetAttestationDigest1(requestId_0: Uint8Array,
49
+ blockHeight_0: bigint,
50
+ outputKind_0: OutputKind,
26
51
  serializedOutput_0: Uint8Array): Uint8Array;
27
52
  calculateSignetAttestationDigest2(requestId_0: Uint8Array,
53
+ blockHeight_0: bigint,
54
+ outputKind_0: OutputKind,
28
55
  serializedOutput_0: Uint8Array): Uint8Array;
29
56
  calculateSignetAttestationDigest32(requestId_0: Uint8Array,
57
+ blockHeight_0: bigint,
58
+ outputKind_0: OutputKind,
30
59
  serializedOutput_0: Uint8Array): Uint8Array;
31
60
  calculateSignetAttestationDigest100(requestId_0: Uint8Array,
61
+ blockHeight_0: bigint,
62
+ outputKind_0: OutputKind,
32
63
  serializedOutput_0: Uint8Array): Uint8Array;
33
- verifyRespondBidirectionalEvent32(requestId_0: Uint8Array,
34
- serializedOutput_0: Uint8Array,
35
- respondBidirectionalEvent_0: { signature: { bigR: { x: Uint8Array,
64
+ calculateEvmType2TxParamsDigestV1_1_0_0(txParams_0: { chainId: bigint,
65
+ nonce: bigint,
66
+ maxPriorityFeePerGas: bigint,
67
+ maxFeePerGas: bigint,
68
+ gasLimit: bigint,
69
+ to: Uint8Array,
70
+ value: bigint,
71
+ calldata: { is_some: boolean,
72
+ value: { selector: Uint8Array,
73
+ noWords: bigint,
74
+ words: Uint8Array[]
75
+ }
76
+ },
77
+ accessListEntryCount: bigint,
78
+ accessList: { address: Uint8Array,
79
+ storageKeyCount: bigint,
80
+ storageKeys: Uint8Array[]
81
+ }[]
82
+ }): Uint8Array;
83
+ calculateEvmType2TxParamsDigestV1_2_1_2(txParams_0: { chainId: bigint,
84
+ nonce: bigint,
85
+ maxPriorityFeePerGas: bigint,
86
+ maxFeePerGas: bigint,
87
+ gasLimit: bigint,
88
+ to: Uint8Array,
89
+ value: bigint,
90
+ calldata: { is_some: boolean,
91
+ value: { selector: Uint8Array,
92
+ noWords: bigint,
93
+ words: Uint8Array[]
94
+ }
95
+ },
96
+ accessListEntryCount: bigint,
97
+ accessList: { address: Uint8Array,
98
+ storageKeyCount: bigint,
99
+ storageKeys: Uint8Array[]
100
+ }[]
101
+ }): Uint8Array;
102
+ calculateEvmType2RequestIdV1_1_0_0_34(request_0: { keyVersion: bigint,
103
+ sender: { bytes: Uint8Array
104
+ },
105
+ path: Uint8Array,
106
+ algo: number,
107
+ txParamType: number,
108
+ txParams: { chainId: bigint,
109
+ nonce: bigint,
110
+ maxPriorityFeePerGas: bigint,
111
+ maxFeePerGas: bigint,
112
+ gasLimit: bigint,
113
+ to: Uint8Array,
114
+ value: bigint,
115
+ calldata: { is_some: boolean,
116
+ value: { selector: Uint8Array,
117
+ noWords: bigint,
118
+ words: Uint8Array[]
119
+ }
120
+ },
121
+ accessListEntryCount: bigint,
122
+ accessList: { address: Uint8Array,
123
+ storageKeyCount: bigint,
124
+ storageKeys: Uint8Array[]
125
+ }[]
126
+ },
127
+ executionDest: Uint8Array,
128
+ signatureDest: number,
129
+ params: Uint8Array,
130
+ outputDeserializationSchema: Uint8Array,
131
+ respondSerializationSchema: Uint8Array
132
+ }): Uint8Array;
133
+ calculateEvmType2RequestIdV1_2_1_2_34(request_0: { keyVersion: bigint,
134
+ sender: { bytes: Uint8Array
135
+ },
136
+ path: Uint8Array,
137
+ algo: number,
138
+ txParamType: number,
139
+ txParams: { chainId: bigint,
140
+ nonce: bigint,
141
+ maxPriorityFeePerGas: bigint,
142
+ maxFeePerGas: bigint,
143
+ gasLimit: bigint,
144
+ to: Uint8Array,
145
+ value: bigint,
146
+ calldata: { is_some: boolean,
147
+ value: { selector: Uint8Array,
148
+ noWords: bigint,
149
+ words: Uint8Array[]
150
+ }
151
+ },
152
+ accessListEntryCount: bigint,
153
+ accessList: { address: Uint8Array,
154
+ storageKeyCount: bigint,
155
+ storageKeys: Uint8Array[]
156
+ }[]
157
+ },
158
+ executionDest: Uint8Array,
159
+ signatureDest: number,
160
+ params: Uint8Array,
161
+ outputDeserializationSchema: Uint8Array,
162
+ respondSerializationSchema: Uint8Array
163
+ }): Uint8Array;
164
+ verifyRespondBidirectionalEvent0(serializedOutput_0: Uint8Array,
165
+ respondBidirectionalEvent_0: { requestId: Uint8Array,
166
+ blockHeight: bigint,
167
+ outputKind: OutputKind,
168
+ serializedOutputLength: bigint,
169
+ digest: Uint8Array,
170
+ signature: { bigR: { x: Uint8Array,
171
+ y: Uint8Array
172
+ },
173
+ s: Uint8Array,
174
+ recoveryId: bigint
175
+ }
176
+ },
177
+ mpcResponseKey_0: __compactRuntime.Secp256k1Point): boolean;
178
+ verifyRespondBidirectionalEvent32(serializedOutput_0: Uint8Array,
179
+ respondBidirectionalEvent_0: { requestId: Uint8Array,
180
+ blockHeight: bigint,
181
+ outputKind: OutputKind,
182
+ serializedOutputLength: bigint,
183
+ digest: Uint8Array,
184
+ signature: { bigR: { x: Uint8Array,
36
185
  y: Uint8Array
37
186
  },
38
187
  s: Uint8Array,
@@ -40,9 +189,79 @@ export type PureCircuits = {
40
189
  }
41
190
  },
42
191
  mpcResponseKey_0: __compactRuntime.Secp256k1Point): boolean;
192
+ constructSignBidirectionalEventV1_1_0_0_34(request_0: { keyVersion: bigint,
193
+ sender: { bytes: Uint8Array
194
+ },
195
+ path: Uint8Array,
196
+ algo: number,
197
+ txParamType: number,
198
+ txParams: { chainId: bigint,
199
+ nonce: bigint,
200
+ maxPriorityFeePerGas: bigint,
201
+ maxFeePerGas: bigint,
202
+ gasLimit: bigint,
203
+ to: Uint8Array,
204
+ value: bigint,
205
+ calldata: { is_some: boolean,
206
+ value: { selector: Uint8Array,
207
+ noWords: bigint,
208
+ words: Uint8Array[]
209
+ }
210
+ },
211
+ accessListEntryCount: bigint,
212
+ accessList: { address: Uint8Array,
213
+ storageKeyCount: bigint,
214
+ storageKeys: Uint8Array[]
215
+ }[]
216
+ },
217
+ executionDest: Uint8Array,
218
+ signatureDest: number,
219
+ params: Uint8Array,
220
+ outputDeserializationSchema: Uint8Array,
221
+ respondSerializationSchema: Uint8Array
222
+ }): { keyVersion: bigint,
223
+ sender: { bytes: Uint8Array
224
+ },
225
+ path: Uint8Array,
226
+ algo: number,
227
+ txParamType: number,
228
+ txParams: { chainId: bigint,
229
+ nonce: bigint,
230
+ maxPriorityFeePerGas: bigint,
231
+ maxFeePerGas: bigint,
232
+ gasLimit: bigint,
233
+ to: Uint8Array,
234
+ value: bigint,
235
+ calldata: { is_some: boolean,
236
+ value: { selector: Uint8Array,
237
+ noWords: bigint,
238
+ words: Uint8Array[]
239
+ }
240
+ },
241
+ accessListEntryCount: bigint,
242
+ accessList: { address: Uint8Array,
243
+ storageKeyCount: bigint,
244
+ storageKeys: Uint8Array[]
245
+ }[]
246
+ },
247
+ executionDest: Uint8Array,
248
+ signatureDest: number,
249
+ params: Uint8Array,
250
+ outputDeserializationSchema: Uint8Array,
251
+ respondSerializationSchema: Uint8Array
252
+ };
43
253
  }
44
254
 
45
255
  export type Circuits<PS> = {
256
+ calculateRequestIdV1(context: __compactRuntime.CircuitContext<PS>,
257
+ preimage_0: { keyVersion: bigint,
258
+ sender: { bytes: Uint8Array },
259
+ path: Uint8Array,
260
+ algo: number,
261
+ txParamType: number,
262
+ txParamsDigest: Uint8Array,
263
+ executionDest: Uint8Array
264
+ }): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
46
265
  constructSignBidirectionalEventNotificationV1(context: __compactRuntime.CircuitContext<PS>,
47
266
  callerAddress_0: { bytes: Uint8Array
48
267
  },
@@ -57,23 +276,161 @@ export type Circuits<PS> = {
57
276
  boolAbiWord(context: __compactRuntime.CircuitContext<PS>, value_0: boolean): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
58
277
  abiWordToUint128(context: __compactRuntime.CircuitContext<PS>,
59
278
  word_0: Uint8Array): Promise<__compactRuntime.CircuitResults<PS, bigint>>;
279
+ checkedTruncationU128(context: __compactRuntime.CircuitContext<PS>,
280
+ x_0: Uint8Array): Promise<__compactRuntime.CircuitResults<PS, bigint>>;
60
281
  abiWordToBool(context: __compactRuntime.CircuitContext<PS>, word_0: Uint8Array): Promise<__compactRuntime.CircuitResults<PS, boolean>>;
282
+ calculateSignetAttestationDigest0(context: __compactRuntime.CircuitContext<PS>,
283
+ requestId_0: Uint8Array,
284
+ blockHeight_0: bigint,
285
+ outputKind_0: OutputKind,
286
+ serializedOutput_0: Uint8Array): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
61
287
  calculateSignetAttestationDigest1(context: __compactRuntime.CircuitContext<PS>,
62
288
  requestId_0: Uint8Array,
289
+ blockHeight_0: bigint,
290
+ outputKind_0: OutputKind,
63
291
  serializedOutput_0: Uint8Array): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
64
292
  calculateSignetAttestationDigest2(context: __compactRuntime.CircuitContext<PS>,
65
293
  requestId_0: Uint8Array,
294
+ blockHeight_0: bigint,
295
+ outputKind_0: OutputKind,
66
296
  serializedOutput_0: Uint8Array): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
67
297
  calculateSignetAttestationDigest32(context: __compactRuntime.CircuitContext<PS>,
68
298
  requestId_0: Uint8Array,
299
+ blockHeight_0: bigint,
300
+ outputKind_0: OutputKind,
69
301
  serializedOutput_0: Uint8Array): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
70
302
  calculateSignetAttestationDigest100(context: __compactRuntime.CircuitContext<PS>,
71
303
  requestId_0: Uint8Array,
304
+ blockHeight_0: bigint,
305
+ outputKind_0: OutputKind,
72
306
  serializedOutput_0: Uint8Array): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
307
+ calculateEvmType2TxParamsDigestV1_1_0_0(context: __compactRuntime.CircuitContext<PS>,
308
+ txParams_0: { chainId: bigint,
309
+ nonce: bigint,
310
+ maxPriorityFeePerGas: bigint,
311
+ maxFeePerGas: bigint,
312
+ gasLimit: bigint,
313
+ to: Uint8Array,
314
+ value: bigint,
315
+ calldata: { is_some: boolean,
316
+ value: { selector: Uint8Array,
317
+ noWords: bigint,
318
+ words: Uint8Array[]
319
+ }
320
+ },
321
+ accessListEntryCount: bigint,
322
+ accessList: { address: Uint8Array,
323
+ storageKeyCount: bigint,
324
+ storageKeys: Uint8Array[]
325
+ }[]
326
+ }): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
327
+ calculateEvmType2TxParamsDigestV1_2_1_2(context: __compactRuntime.CircuitContext<PS>,
328
+ txParams_0: { chainId: bigint,
329
+ nonce: bigint,
330
+ maxPriorityFeePerGas: bigint,
331
+ maxFeePerGas: bigint,
332
+ gasLimit: bigint,
333
+ to: Uint8Array,
334
+ value: bigint,
335
+ calldata: { is_some: boolean,
336
+ value: { selector: Uint8Array,
337
+ noWords: bigint,
338
+ words: Uint8Array[]
339
+ }
340
+ },
341
+ accessListEntryCount: bigint,
342
+ accessList: { address: Uint8Array,
343
+ storageKeyCount: bigint,
344
+ storageKeys: Uint8Array[]
345
+ }[]
346
+ }): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
347
+ calculateEvmType2RequestIdV1_1_0_0_34(context: __compactRuntime.CircuitContext<PS>,
348
+ request_0: { keyVersion: bigint,
349
+ sender: { bytes: Uint8Array
350
+ },
351
+ path: Uint8Array,
352
+ algo: number,
353
+ txParamType: number,
354
+ txParams: { chainId: bigint,
355
+ nonce: bigint,
356
+ maxPriorityFeePerGas: bigint,
357
+ maxFeePerGas: bigint,
358
+ gasLimit: bigint,
359
+ to: Uint8Array,
360
+ value: bigint,
361
+ calldata: { is_some: boolean,
362
+ value: { selector: Uint8Array,
363
+ noWords: bigint,
364
+ words: Uint8Array[]
365
+ }
366
+ },
367
+ accessListEntryCount: bigint,
368
+ accessList: { address: Uint8Array,
369
+ storageKeyCount: bigint,
370
+ storageKeys: Uint8Array[]
371
+ }[]
372
+ },
373
+ executionDest: Uint8Array,
374
+ signatureDest: number,
375
+ params: Uint8Array,
376
+ outputDeserializationSchema: Uint8Array,
377
+ respondSerializationSchema: Uint8Array
378
+ }): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
379
+ calculateEvmType2RequestIdV1_2_1_2_34(context: __compactRuntime.CircuitContext<PS>,
380
+ request_0: { keyVersion: bigint,
381
+ sender: { bytes: Uint8Array
382
+ },
383
+ path: Uint8Array,
384
+ algo: number,
385
+ txParamType: number,
386
+ txParams: { chainId: bigint,
387
+ nonce: bigint,
388
+ maxPriorityFeePerGas: bigint,
389
+ maxFeePerGas: bigint,
390
+ gasLimit: bigint,
391
+ to: Uint8Array,
392
+ value: bigint,
393
+ calldata: { is_some: boolean,
394
+ value: { selector: Uint8Array,
395
+ noWords: bigint,
396
+ words: Uint8Array[]
397
+ }
398
+ },
399
+ accessListEntryCount: bigint,
400
+ accessList: { address: Uint8Array,
401
+ storageKeyCount: bigint,
402
+ storageKeys: Uint8Array[]
403
+ }[]
404
+ },
405
+ executionDest: Uint8Array,
406
+ signatureDest: number,
407
+ params: Uint8Array,
408
+ outputDeserializationSchema: Uint8Array,
409
+ respondSerializationSchema: Uint8Array
410
+ }): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
411
+ verifyRespondBidirectionalEvent0(context: __compactRuntime.CircuitContext<PS>,
412
+ serializedOutput_0: Uint8Array,
413
+ respondBidirectionalEvent_0: { requestId: Uint8Array,
414
+ blockHeight: bigint,
415
+ outputKind: OutputKind,
416
+ serializedOutputLength: bigint,
417
+ digest: Uint8Array,
418
+ signature: { bigR: { x: Uint8Array,
419
+ y: Uint8Array
420
+ },
421
+ s: Uint8Array,
422
+ recoveryId: bigint
423
+ }
424
+ },
425
+ mpcResponseKey_0: __compactRuntime.Secp256k1Point): Promise<__compactRuntime.CircuitResults<PS, boolean>>;
73
426
  verifyRespondBidirectionalEvent32(context: __compactRuntime.CircuitContext<PS>,
74
- requestId_0: Uint8Array,
75
427
  serializedOutput_0: Uint8Array,
76
- respondBidirectionalEvent_0: { signature: { bigR: { x: Uint8Array,
428
+ respondBidirectionalEvent_0: { requestId: Uint8Array,
429
+ blockHeight: bigint,
430
+ outputKind: OutputKind,
431
+ serializedOutputLength: bigint,
432
+ digest: Uint8Array,
433
+ signature: { bigR: { x: Uint8Array,
77
434
  y: Uint8Array
78
435
  },
79
436
  s: Uint8Array,
@@ -81,6 +438,68 @@ export type Circuits<PS> = {
81
438
  }
82
439
  },
83
440
  mpcResponseKey_0: __compactRuntime.Secp256k1Point): Promise<__compactRuntime.CircuitResults<PS, boolean>>;
441
+ constructSignBidirectionalEventV1_1_0_0_34(context: __compactRuntime.CircuitContext<PS>,
442
+ request_0: { keyVersion: bigint,
443
+ sender: { bytes: Uint8Array
444
+ },
445
+ path: Uint8Array,
446
+ algo: number,
447
+ txParamType: number,
448
+ txParams: { chainId: bigint,
449
+ nonce: bigint,
450
+ maxPriorityFeePerGas: bigint,
451
+ maxFeePerGas: bigint,
452
+ gasLimit: bigint,
453
+ to: Uint8Array,
454
+ value: bigint,
455
+ calldata: { is_some: boolean,
456
+ value: { selector: Uint8Array,
457
+ noWords: bigint,
458
+ words: Uint8Array[]
459
+ }
460
+ },
461
+ accessListEntryCount: bigint,
462
+ accessList: { address: Uint8Array,
463
+ storageKeyCount: bigint,
464
+ storageKeys: Uint8Array[]
465
+ }[]
466
+ },
467
+ executionDest: Uint8Array,
468
+ signatureDest: number,
469
+ params: Uint8Array,
470
+ outputDeserializationSchema: Uint8Array,
471
+ respondSerializationSchema: Uint8Array
472
+ }): Promise<__compactRuntime.CircuitResults<PS, { keyVersion: bigint,
473
+ sender: { bytes: Uint8Array
474
+ },
475
+ path: Uint8Array,
476
+ algo: number,
477
+ txParamType: number,
478
+ txParams: { chainId: bigint,
479
+ nonce: bigint,
480
+ maxPriorityFeePerGas: bigint,
481
+ maxFeePerGas: bigint,
482
+ gasLimit: bigint,
483
+ to: Uint8Array,
484
+ value: bigint,
485
+ calldata: { is_some: boolean,
486
+ value: { selector: Uint8Array,
487
+ noWords: bigint,
488
+ words: Uint8Array[]
489
+ }
490
+ },
491
+ accessListEntryCount: bigint,
492
+ accessList: { address: Uint8Array,
493
+ storageKeyCount: bigint,
494
+ storageKeys: Uint8Array[]
495
+ }[]
496
+ },
497
+ executionDest: Uint8Array,
498
+ signatureDest: number,
499
+ params: Uint8Array,
500
+ outputDeserializationSchema: Uint8Array,
501
+ respondSerializationSchema: Uint8Array
502
+ }>>;
84
503
  }
85
504
 
86
505
  export type Ledger = {