@sig-net/midnight 0.24.0-rc.8 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,350 +18,350 @@ export var OutputKind;
18
18
  OutputKind[OutputKind['unviable'] = 2] = 'unviable';
19
19
  })(OutputKind || (OutputKind = {}));
20
20
 
21
- const _descriptor_0 = new __compactRuntime.CompactTypeBytes(32);
21
+ const _descriptor_0 = new __compactRuntime.CompactTypeUnsignedInteger(255n, 1);
22
22
 
23
- const _descriptor_1 = new __compactRuntime.CompactTypeUnsignedInteger(18446744073709551615n, 8);
23
+ const _descriptor_1 = new __compactRuntime.CompactTypeBytes(32);
24
24
 
25
- const _descriptor_2 = new __compactRuntime.CompactTypeEnum(2, 1);
26
-
27
- class _AffinePoint_0 {
25
+ class _ContractAddress_0 {
28
26
  alignment() {
29
- return _descriptor_0.alignment().concat(_descriptor_0.alignment());
27
+ return _descriptor_1.alignment();
30
28
  }
31
29
  fromValue(value_0) {
32
30
  return {
33
- x: _descriptor_0.fromValue(value_0),
34
- y: _descriptor_0.fromValue(value_0)
31
+ bytes: _descriptor_1.fromValue(value_0)
35
32
  }
36
33
  }
37
34
  toValue(value_0) {
38
- return _descriptor_0.toValue(value_0.x).concat(_descriptor_0.toValue(value_0.y));
35
+ return _descriptor_1.toValue(value_0.bytes);
39
36
  }
40
37
  }
41
38
 
42
- const _descriptor_3 = new _AffinePoint_0();
39
+ const _descriptor_2 = new _ContractAddress_0();
43
40
 
44
- const _descriptor_4 = new __compactRuntime.CompactTypeUnsignedInteger(255n, 1);
41
+ const _descriptor_3 = new __compactRuntime.CompactTypeEnum(1, 1);
45
42
 
46
- class _Signature_0 {
43
+ const _descriptor_4 = new __compactRuntime.CompactTypeEnum(1, 1);
44
+
45
+ const _descriptor_5 = new __compactRuntime.CompactTypeUnsignedInteger(18446744073709551615n, 8);
46
+
47
+ const _descriptor_6 = new __compactRuntime.CompactTypeUnsignedInteger(340282366920938463463374607431768211455n, 16);
48
+
49
+ const _descriptor_7 = new __compactRuntime.CompactTypeBytes(20);
50
+
51
+ const _descriptor_8 = __compactRuntime.CompactTypeBoolean;
52
+
53
+ const _descriptor_9 = new __compactRuntime.CompactTypeBytes(4);
54
+
55
+ const _descriptor_10 = new __compactRuntime.CompactTypeUnsignedInteger(65535n, 2);
56
+
57
+ const _descriptor_11 = new __compactRuntime.CompactTypeVector(1, _descriptor_1);
58
+
59
+ class _EvmCalldata_0 {
47
60
  alignment() {
48
- return _descriptor_3.alignment().concat(_descriptor_0.alignment().concat(_descriptor_4.alignment()));
61
+ return _descriptor_9.alignment().concat(_descriptor_10.alignment().concat(_descriptor_11.alignment()));
49
62
  }
50
63
  fromValue(value_0) {
51
64
  return {
52
- bigR: _descriptor_3.fromValue(value_0),
53
- s: _descriptor_0.fromValue(value_0),
54
- recoveryId: _descriptor_4.fromValue(value_0)
65
+ selector: _descriptor_9.fromValue(value_0),
66
+ noWords: _descriptor_10.fromValue(value_0),
67
+ words: _descriptor_11.fromValue(value_0)
55
68
  }
56
69
  }
57
70
  toValue(value_0) {
58
- return _descriptor_3.toValue(value_0.bigR).concat(_descriptor_0.toValue(value_0.s).concat(_descriptor_4.toValue(value_0.recoveryId)));
71
+ return _descriptor_9.toValue(value_0.selector).concat(_descriptor_10.toValue(value_0.noWords).concat(_descriptor_11.toValue(value_0.words)));
59
72
  }
60
73
  }
61
74
 
62
- const _descriptor_5 = new _Signature_0();
75
+ const _descriptor_12 = new _EvmCalldata_0();
63
76
 
64
- class _RespondBidirectionalEventV1_0 {
77
+ class _Maybe_0 {
65
78
  alignment() {
66
- return _descriptor_0.alignment().concat(_descriptor_1.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_0.alignment().concat(_descriptor_5.alignment())))));
79
+ return _descriptor_8.alignment().concat(_descriptor_12.alignment());
67
80
  }
68
81
  fromValue(value_0) {
69
82
  return {
70
- requestId: _descriptor_0.fromValue(value_0),
71
- blockHeight: _descriptor_1.fromValue(value_0),
72
- outputKind: _descriptor_2.fromValue(value_0),
73
- serializedOutputLength: _descriptor_1.fromValue(value_0),
74
- digest: _descriptor_0.fromValue(value_0),
75
- signature: _descriptor_5.fromValue(value_0)
83
+ is_some: _descriptor_8.fromValue(value_0),
84
+ value: _descriptor_12.fromValue(value_0)
76
85
  }
77
86
  }
78
87
  toValue(value_0) {
79
- return _descriptor_0.toValue(value_0.requestId).concat(_descriptor_1.toValue(value_0.blockHeight).concat(_descriptor_2.toValue(value_0.outputKind).concat(_descriptor_1.toValue(value_0.serializedOutputLength).concat(_descriptor_0.toValue(value_0.digest).concat(_descriptor_5.toValue(value_0.signature))))));
88
+ return _descriptor_8.toValue(value_0.is_some).concat(_descriptor_12.toValue(value_0.value));
80
89
  }
81
90
  }
82
91
 
83
- const _descriptor_6 = new _RespondBidirectionalEventV1_0();
92
+ const _descriptor_13 = new _Maybe_0();
84
93
 
85
- const _descriptor_7 = __compactRuntime.CompactTypeSecp256k1Point;
94
+ const _descriptor_14 = new __compactRuntime.CompactTypeVector(0, _descriptor_1);
86
95
 
87
- const _descriptor_8 = __compactRuntime.CompactTypeBoolean;
88
-
89
- class _ContractAddress_0 {
96
+ class _EvmAccessListEntry_0 {
90
97
  alignment() {
91
- return _descriptor_0.alignment();
98
+ return _descriptor_7.alignment().concat(_descriptor_0.alignment().concat(_descriptor_14.alignment()));
92
99
  }
93
100
  fromValue(value_0) {
94
101
  return {
95
- bytes: _descriptor_0.fromValue(value_0)
102
+ address: _descriptor_7.fromValue(value_0),
103
+ storageKeyCount: _descriptor_0.fromValue(value_0),
104
+ storageKeys: _descriptor_14.fromValue(value_0)
96
105
  }
97
106
  }
98
107
  toValue(value_0) {
99
- return _descriptor_0.toValue(value_0.bytes);
108
+ return _descriptor_7.toValue(value_0.address).concat(_descriptor_0.toValue(value_0.storageKeyCount).concat(_descriptor_14.toValue(value_0.storageKeys)));
100
109
  }
101
110
  }
102
111
 
103
- const _descriptor_9 = new _ContractAddress_0();
104
-
105
- const _descriptor_10 = new __compactRuntime.CompactTypeEnum(1, 1);
106
-
107
- const _descriptor_11 = new __compactRuntime.CompactTypeEnum(1, 1);
108
-
109
- const _descriptor_12 = new __compactRuntime.CompactTypeUnsignedInteger(340282366920938463463374607431768211455n, 16);
110
-
111
- const _descriptor_13 = new __compactRuntime.CompactTypeBytes(20);
112
+ const _descriptor_15 = new _EvmAccessListEntry_0();
112
113
 
113
- const _descriptor_14 = new __compactRuntime.CompactTypeBytes(4);
114
+ const _descriptor_16 = new __compactRuntime.CompactTypeVector(0, _descriptor_15);
114
115
 
115
- const _descriptor_15 = new __compactRuntime.CompactTypeUnsignedInteger(65535n, 2);
116
-
117
- const _descriptor_16 = new __compactRuntime.CompactTypeVector(1, _descriptor_0);
118
-
119
- class _EvmCalldata_0 {
116
+ class _EvmType2TxParams_0 {
120
117
  alignment() {
121
- return _descriptor_14.alignment().concat(_descriptor_15.alignment().concat(_descriptor_16.alignment()));
118
+ return _descriptor_5.alignment().concat(_descriptor_5.alignment().concat(_descriptor_6.alignment().concat(_descriptor_6.alignment().concat(_descriptor_5.alignment().concat(_descriptor_7.alignment().concat(_descriptor_6.alignment().concat(_descriptor_13.alignment().concat(_descriptor_0.alignment().concat(_descriptor_16.alignment())))))))));
122
119
  }
123
120
  fromValue(value_0) {
124
121
  return {
125
- selector: _descriptor_14.fromValue(value_0),
126
- noWords: _descriptor_15.fromValue(value_0),
127
- words: _descriptor_16.fromValue(value_0)
122
+ chainId: _descriptor_5.fromValue(value_0),
123
+ nonce: _descriptor_5.fromValue(value_0),
124
+ maxPriorityFeePerGas: _descriptor_6.fromValue(value_0),
125
+ maxFeePerGas: _descriptor_6.fromValue(value_0),
126
+ gasLimit: _descriptor_5.fromValue(value_0),
127
+ to: _descriptor_7.fromValue(value_0),
128
+ value: _descriptor_6.fromValue(value_0),
129
+ calldata: _descriptor_13.fromValue(value_0),
130
+ accessListEntryCount: _descriptor_0.fromValue(value_0),
131
+ accessList: _descriptor_16.fromValue(value_0)
128
132
  }
129
133
  }
130
134
  toValue(value_0) {
131
- return _descriptor_14.toValue(value_0.selector).concat(_descriptor_15.toValue(value_0.noWords).concat(_descriptor_16.toValue(value_0.words)));
135
+ return _descriptor_5.toValue(value_0.chainId).concat(_descriptor_5.toValue(value_0.nonce).concat(_descriptor_6.toValue(value_0.maxPriorityFeePerGas).concat(_descriptor_6.toValue(value_0.maxFeePerGas).concat(_descriptor_5.toValue(value_0.gasLimit).concat(_descriptor_7.toValue(value_0.to).concat(_descriptor_6.toValue(value_0.value).concat(_descriptor_13.toValue(value_0.calldata).concat(_descriptor_0.toValue(value_0.accessListEntryCount).concat(_descriptor_16.toValue(value_0.accessList))))))))));
132
136
  }
133
137
  }
134
138
 
135
- const _descriptor_17 = new _EvmCalldata_0();
139
+ const _descriptor_17 = new _EvmType2TxParams_0();
136
140
 
137
- class _Maybe_0 {
141
+ const _descriptor_18 = new __compactRuntime.CompactTypeEnum(1, 1);
142
+
143
+ const _descriptor_19 = new __compactRuntime.CompactTypeBytes(64);
144
+
145
+ const _descriptor_20 = new __compactRuntime.CompactTypeBytes(34);
146
+
147
+ const _descriptor_21 = new __compactRuntime.CompactTypeBytes(0);
148
+
149
+ class _SignBidirectionalEventV1_0 {
138
150
  alignment() {
139
- return _descriptor_8.alignment().concat(_descriptor_17.alignment());
151
+ return _descriptor_0.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_3.alignment().concat(_descriptor_4.alignment().concat(_descriptor_17.alignment().concat(_descriptor_1.alignment().concat(_descriptor_18.alignment().concat(_descriptor_19.alignment().concat(_descriptor_20.alignment().concat(_descriptor_21.alignment()))))))))));
140
152
  }
141
153
  fromValue(value_0) {
142
154
  return {
143
- is_some: _descriptor_8.fromValue(value_0),
144
- value: _descriptor_17.fromValue(value_0)
155
+ keyVersion: _descriptor_0.fromValue(value_0),
156
+ sender: _descriptor_2.fromValue(value_0),
157
+ path: _descriptor_1.fromValue(value_0),
158
+ algo: _descriptor_3.fromValue(value_0),
159
+ txParamType: _descriptor_4.fromValue(value_0),
160
+ txParams: _descriptor_17.fromValue(value_0),
161
+ executionDest: _descriptor_1.fromValue(value_0),
162
+ signatureDest: _descriptor_18.fromValue(value_0),
163
+ params: _descriptor_19.fromValue(value_0),
164
+ outputDeserializationSchema: _descriptor_20.fromValue(value_0),
165
+ respondSerializationSchema: _descriptor_21.fromValue(value_0)
145
166
  }
146
167
  }
147
168
  toValue(value_0) {
148
- return _descriptor_8.toValue(value_0.is_some).concat(_descriptor_17.toValue(value_0.value));
169
+ return _descriptor_0.toValue(value_0.keyVersion).concat(_descriptor_2.toValue(value_0.sender).concat(_descriptor_1.toValue(value_0.path).concat(_descriptor_3.toValue(value_0.algo).concat(_descriptor_4.toValue(value_0.txParamType).concat(_descriptor_17.toValue(value_0.txParams).concat(_descriptor_1.toValue(value_0.executionDest).concat(_descriptor_18.toValue(value_0.signatureDest).concat(_descriptor_19.toValue(value_0.params).concat(_descriptor_20.toValue(value_0.outputDeserializationSchema).concat(_descriptor_21.toValue(value_0.respondSerializationSchema)))))))))));
149
170
  }
150
171
  }
151
172
 
152
- const _descriptor_18 = new _Maybe_0();
173
+ const _descriptor_22 = new _SignBidirectionalEventV1_0();
153
174
 
154
- const _descriptor_19 = new __compactRuntime.CompactTypeVector(0, _descriptor_0);
175
+ const _descriptor_23 = new __compactRuntime.CompactTypeEnum(2, 1);
155
176
 
156
- class _EvmAccessListEntry_0 {
177
+ class _AffinePoint_0 {
157
178
  alignment() {
158
- return _descriptor_13.alignment().concat(_descriptor_4.alignment().concat(_descriptor_19.alignment()));
179
+ return _descriptor_1.alignment().concat(_descriptor_1.alignment());
159
180
  }
160
181
  fromValue(value_0) {
161
182
  return {
162
- address: _descriptor_13.fromValue(value_0),
163
- storageKeyCount: _descriptor_4.fromValue(value_0),
164
- storageKeys: _descriptor_19.fromValue(value_0)
183
+ x: _descriptor_1.fromValue(value_0),
184
+ y: _descriptor_1.fromValue(value_0)
165
185
  }
166
186
  }
167
187
  toValue(value_0) {
168
- return _descriptor_13.toValue(value_0.address).concat(_descriptor_4.toValue(value_0.storageKeyCount).concat(_descriptor_19.toValue(value_0.storageKeys)));
188
+ return _descriptor_1.toValue(value_0.x).concat(_descriptor_1.toValue(value_0.y));
169
189
  }
170
190
  }
171
191
 
172
- const _descriptor_20 = new _EvmAccessListEntry_0();
192
+ const _descriptor_24 = new _AffinePoint_0();
173
193
 
174
- const _descriptor_21 = new __compactRuntime.CompactTypeVector(0, _descriptor_20);
175
-
176
- class _EvmType2TxParams_0 {
194
+ class _Signature_0 {
177
195
  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())))))))));
196
+ return _descriptor_24.alignment().concat(_descriptor_1.alignment().concat(_descriptor_0.alignment()));
179
197
  }
180
198
  fromValue(value_0) {
181
199
  return {
182
- chainId: _descriptor_1.fromValue(value_0),
183
- nonce: _descriptor_1.fromValue(value_0),
184
- maxPriorityFeePerGas: _descriptor_12.fromValue(value_0),
185
- maxFeePerGas: _descriptor_12.fromValue(value_0),
186
- gasLimit: _descriptor_1.fromValue(value_0),
187
- to: _descriptor_13.fromValue(value_0),
188
- value: _descriptor_12.fromValue(value_0),
189
- calldata: _descriptor_18.fromValue(value_0),
190
- accessListEntryCount: _descriptor_4.fromValue(value_0),
191
- accessList: _descriptor_21.fromValue(value_0)
200
+ bigR: _descriptor_24.fromValue(value_0),
201
+ s: _descriptor_1.fromValue(value_0),
202
+ recoveryId: _descriptor_0.fromValue(value_0)
192
203
  }
193
204
  }
194
205
  toValue(value_0) {
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))))))))));
206
+ return _descriptor_24.toValue(value_0.bigR).concat(_descriptor_1.toValue(value_0.s).concat(_descriptor_0.toValue(value_0.recoveryId)));
196
207
  }
197
208
  }
198
209
 
199
- const _descriptor_22 = new _EvmType2TxParams_0();
200
-
201
- const _descriptor_23 = new __compactRuntime.CompactTypeEnum(1, 1);
202
-
203
- const _descriptor_24 = new __compactRuntime.CompactTypeBytes(64);
210
+ const _descriptor_25 = new _Signature_0();
204
211
 
205
- const _descriptor_25 = new __compactRuntime.CompactTypeBytes(34);
206
-
207
- class _SignBidirectionalEventV1_0 {
212
+ class _RespondBidirectionalEventV1_0 {
208
213
  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()))))))))));
214
+ return _descriptor_1.alignment().concat(_descriptor_5.alignment().concat(_descriptor_23.alignment().concat(_descriptor_5.alignment().concat(_descriptor_1.alignment().concat(_descriptor_25.alignment())))));
210
215
  }
211
216
  fromValue(value_0) {
212
217
  return {
213
- keyVersion: _descriptor_4.fromValue(value_0),
214
- sender: _descriptor_9.fromValue(value_0),
215
- path: _descriptor_0.fromValue(value_0),
216
- algo: _descriptor_10.fromValue(value_0),
217
- txParamType: _descriptor_11.fromValue(value_0),
218
- txParams: _descriptor_22.fromValue(value_0),
219
- executionDest: _descriptor_0.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)
218
+ requestId: _descriptor_1.fromValue(value_0),
219
+ blockHeight: _descriptor_5.fromValue(value_0),
220
+ outputKind: _descriptor_23.fromValue(value_0),
221
+ serializedOutputLength: _descriptor_5.fromValue(value_0),
222
+ digest: _descriptor_1.fromValue(value_0),
223
+ signature: _descriptor_25.fromValue(value_0)
224
224
  }
225
225
  }
226
226
  toValue(value_0) {
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)))))))))));
227
+ return _descriptor_1.toValue(value_0.requestId).concat(_descriptor_5.toValue(value_0.blockHeight).concat(_descriptor_23.toValue(value_0.outputKind).concat(_descriptor_5.toValue(value_0.serializedOutputLength).concat(_descriptor_1.toValue(value_0.digest).concat(_descriptor_25.toValue(value_0.signature))))));
228
228
  }
229
229
  }
230
230
 
231
- const _descriptor_26 = new _SignBidirectionalEventV1_0();
231
+ const _descriptor_26 = new _RespondBidirectionalEventV1_0();
232
+
233
+ const _descriptor_27 = __compactRuntime.CompactTypeSecp256k1Point;
232
234
 
233
- const _descriptor_27 = new __compactRuntime.CompactTypeVector(2, _descriptor_0);
235
+ const _descriptor_28 = new __compactRuntime.CompactTypeVector(2, _descriptor_1);
234
236
 
235
237
  class _EvmCalldata_1 {
236
238
  alignment() {
237
- return _descriptor_14.alignment().concat(_descriptor_15.alignment().concat(_descriptor_27.alignment()));
239
+ return _descriptor_9.alignment().concat(_descriptor_10.alignment().concat(_descriptor_28.alignment()));
238
240
  }
239
241
  fromValue(value_0) {
240
242
  return {
241
- selector: _descriptor_14.fromValue(value_0),
242
- noWords: _descriptor_15.fromValue(value_0),
243
- words: _descriptor_27.fromValue(value_0)
243
+ selector: _descriptor_9.fromValue(value_0),
244
+ noWords: _descriptor_10.fromValue(value_0),
245
+ words: _descriptor_28.fromValue(value_0)
244
246
  }
245
247
  }
246
248
  toValue(value_0) {
247
- return _descriptor_14.toValue(value_0.selector).concat(_descriptor_15.toValue(value_0.noWords).concat(_descriptor_27.toValue(value_0.words)));
249
+ return _descriptor_9.toValue(value_0.selector).concat(_descriptor_10.toValue(value_0.noWords).concat(_descriptor_28.toValue(value_0.words)));
248
250
  }
249
251
  }
250
252
 
251
- const _descriptor_28 = new _EvmCalldata_1();
253
+ const _descriptor_29 = new _EvmCalldata_1();
252
254
 
253
255
  class _Maybe_1 {
254
256
  alignment() {
255
- return _descriptor_8.alignment().concat(_descriptor_28.alignment());
257
+ return _descriptor_8.alignment().concat(_descriptor_29.alignment());
256
258
  }
257
259
  fromValue(value_0) {
258
260
  return {
259
261
  is_some: _descriptor_8.fromValue(value_0),
260
- value: _descriptor_28.fromValue(value_0)
262
+ value: _descriptor_29.fromValue(value_0)
261
263
  }
262
264
  }
263
265
  toValue(value_0) {
264
- return _descriptor_8.toValue(value_0.is_some).concat(_descriptor_28.toValue(value_0.value));
266
+ return _descriptor_8.toValue(value_0.is_some).concat(_descriptor_29.toValue(value_0.value));
265
267
  }
266
268
  }
267
269
 
268
- const _descriptor_29 = new _Maybe_1();
270
+ const _descriptor_30 = new _Maybe_1();
269
271
 
270
272
  class _EvmAccessListEntry_1 {
271
273
  alignment() {
272
- return _descriptor_13.alignment().concat(_descriptor_4.alignment().concat(_descriptor_27.alignment()));
274
+ return _descriptor_7.alignment().concat(_descriptor_0.alignment().concat(_descriptor_28.alignment()));
273
275
  }
274
276
  fromValue(value_0) {
275
277
  return {
276
- address: _descriptor_13.fromValue(value_0),
277
- storageKeyCount: _descriptor_4.fromValue(value_0),
278
- storageKeys: _descriptor_27.fromValue(value_0)
278
+ address: _descriptor_7.fromValue(value_0),
279
+ storageKeyCount: _descriptor_0.fromValue(value_0),
280
+ storageKeys: _descriptor_28.fromValue(value_0)
279
281
  }
280
282
  }
281
283
  toValue(value_0) {
282
- return _descriptor_13.toValue(value_0.address).concat(_descriptor_4.toValue(value_0.storageKeyCount).concat(_descriptor_27.toValue(value_0.storageKeys)));
284
+ return _descriptor_7.toValue(value_0.address).concat(_descriptor_0.toValue(value_0.storageKeyCount).concat(_descriptor_28.toValue(value_0.storageKeys)));
283
285
  }
284
286
  }
285
287
 
286
- const _descriptor_30 = new _EvmAccessListEntry_1();
288
+ const _descriptor_31 = new _EvmAccessListEntry_1();
287
289
 
288
- const _descriptor_31 = new __compactRuntime.CompactTypeVector(1, _descriptor_30);
290
+ const _descriptor_32 = new __compactRuntime.CompactTypeVector(1, _descriptor_31);
289
291
 
290
292
  class _EvmType2TxParams_1 {
291
293
  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())))))))));
294
+ return _descriptor_5.alignment().concat(_descriptor_5.alignment().concat(_descriptor_6.alignment().concat(_descriptor_6.alignment().concat(_descriptor_5.alignment().concat(_descriptor_7.alignment().concat(_descriptor_6.alignment().concat(_descriptor_30.alignment().concat(_descriptor_0.alignment().concat(_descriptor_32.alignment())))))))));
293
295
  }
294
296
  fromValue(value_0) {
295
297
  return {
296
- chainId: _descriptor_1.fromValue(value_0),
297
- nonce: _descriptor_1.fromValue(value_0),
298
- maxPriorityFeePerGas: _descriptor_12.fromValue(value_0),
299
- maxFeePerGas: _descriptor_12.fromValue(value_0),
300
- gasLimit: _descriptor_1.fromValue(value_0),
301
- to: _descriptor_13.fromValue(value_0),
302
- value: _descriptor_12.fromValue(value_0),
303
- calldata: _descriptor_29.fromValue(value_0),
304
- accessListEntryCount: _descriptor_4.fromValue(value_0),
305
- accessList: _descriptor_31.fromValue(value_0)
298
+ chainId: _descriptor_5.fromValue(value_0),
299
+ nonce: _descriptor_5.fromValue(value_0),
300
+ maxPriorityFeePerGas: _descriptor_6.fromValue(value_0),
301
+ maxFeePerGas: _descriptor_6.fromValue(value_0),
302
+ gasLimit: _descriptor_5.fromValue(value_0),
303
+ to: _descriptor_7.fromValue(value_0),
304
+ value: _descriptor_6.fromValue(value_0),
305
+ calldata: _descriptor_30.fromValue(value_0),
306
+ accessListEntryCount: _descriptor_0.fromValue(value_0),
307
+ accessList: _descriptor_32.fromValue(value_0)
306
308
  }
307
309
  }
308
310
  toValue(value_0) {
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))))))))));
311
+ return _descriptor_5.toValue(value_0.chainId).concat(_descriptor_5.toValue(value_0.nonce).concat(_descriptor_6.toValue(value_0.maxPriorityFeePerGas).concat(_descriptor_6.toValue(value_0.maxFeePerGas).concat(_descriptor_5.toValue(value_0.gasLimit).concat(_descriptor_7.toValue(value_0.to).concat(_descriptor_6.toValue(value_0.value).concat(_descriptor_30.toValue(value_0.calldata).concat(_descriptor_0.toValue(value_0.accessListEntryCount).concat(_descriptor_32.toValue(value_0.accessList))))))))));
310
312
  }
311
313
  }
312
314
 
313
- const _descriptor_32 = new _EvmType2TxParams_1();
315
+ const _descriptor_33 = new _EvmType2TxParams_1();
314
316
 
315
317
  class _SignBidirectionalEventV1_1 {
316
318
  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()))))))))));
319
+ return _descriptor_0.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_3.alignment().concat(_descriptor_4.alignment().concat(_descriptor_33.alignment().concat(_descriptor_1.alignment().concat(_descriptor_18.alignment().concat(_descriptor_19.alignment().concat(_descriptor_20.alignment().concat(_descriptor_21.alignment()))))))))));
318
320
  }
319
321
  fromValue(value_0) {
320
322
  return {
321
- keyVersion: _descriptor_4.fromValue(value_0),
322
- sender: _descriptor_9.fromValue(value_0),
323
- path: _descriptor_0.fromValue(value_0),
324
- algo: _descriptor_10.fromValue(value_0),
325
- txParamType: _descriptor_11.fromValue(value_0),
326
- txParams: _descriptor_32.fromValue(value_0),
327
- executionDest: _descriptor_0.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)
323
+ keyVersion: _descriptor_0.fromValue(value_0),
324
+ sender: _descriptor_2.fromValue(value_0),
325
+ path: _descriptor_1.fromValue(value_0),
326
+ algo: _descriptor_3.fromValue(value_0),
327
+ txParamType: _descriptor_4.fromValue(value_0),
328
+ txParams: _descriptor_33.fromValue(value_0),
329
+ executionDest: _descriptor_1.fromValue(value_0),
330
+ signatureDest: _descriptor_18.fromValue(value_0),
331
+ params: _descriptor_19.fromValue(value_0),
332
+ outputDeserializationSchema: _descriptor_20.fromValue(value_0),
333
+ respondSerializationSchema: _descriptor_21.fromValue(value_0)
332
334
  }
333
335
  }
334
336
  toValue(value_0) {
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)))))))))));
337
+ return _descriptor_0.toValue(value_0.keyVersion).concat(_descriptor_2.toValue(value_0.sender).concat(_descriptor_1.toValue(value_0.path).concat(_descriptor_3.toValue(value_0.algo).concat(_descriptor_4.toValue(value_0.txParamType).concat(_descriptor_33.toValue(value_0.txParams).concat(_descriptor_1.toValue(value_0.executionDest).concat(_descriptor_18.toValue(value_0.signatureDest).concat(_descriptor_19.toValue(value_0.params).concat(_descriptor_20.toValue(value_0.outputDeserializationSchema).concat(_descriptor_21.toValue(value_0.respondSerializationSchema)))))))))));
336
338
  }
337
339
  }
338
340
 
339
- const _descriptor_33 = new _SignBidirectionalEventV1_1();
340
-
341
- const _descriptor_34 = new __compactRuntime.CompactTypeBytes(0);
341
+ const _descriptor_34 = new _SignBidirectionalEventV1_1();
342
342
 
343
343
  const _descriptor_35 = new __compactRuntime.CompactTypeBytes(100);
344
344
 
345
- const _descriptor_36 = new __compactRuntime.CompactTypeBytes(2);
345
+ const _descriptor_36 = new __compactRuntime.CompactTypeBytes(1);
346
346
 
347
- const _descriptor_37 = new __compactRuntime.CompactTypeBytes(1);
347
+ const _descriptor_37 = new __compactRuntime.CompactTypeBytes(2);
348
348
 
349
- const _descriptor_38 = new __compactRuntime.CompactTypeVector(4, _descriptor_4);
349
+ const _descriptor_38 = new __compactRuntime.CompactTypeVector(4, _descriptor_0);
350
350
 
351
351
  const _descriptor_39 = new __compactRuntime.CompactTypeBytes(128);
352
352
 
353
353
  class _SignBidirectionalEventNotification_0 {
354
354
  alignment() {
355
- return _descriptor_4.alignment().concat(_descriptor_39.alignment());
355
+ return _descriptor_0.alignment().concat(_descriptor_39.alignment());
356
356
  }
357
357
  fromValue(value_0) {
358
358
  return {
359
- version: _descriptor_4.fromValue(value_0),
359
+ version: _descriptor_0.fromValue(value_0),
360
360
  payload: _descriptor_39.fromValue(value_0)
361
361
  }
362
362
  }
363
363
  toValue(value_0) {
364
- return _descriptor_4.toValue(value_0.version).concat(_descriptor_39.toValue(value_0.payload));
364
+ return _descriptor_0.toValue(value_0.version).concat(_descriptor_39.toValue(value_0.payload));
365
365
  }
366
366
  }
367
367
 
@@ -369,21 +369,21 @@ const _descriptor_40 = new _SignBidirectionalEventNotification_0();
369
369
 
370
370
  class _RequestIdPreimageV1_0 {
371
371
  alignment() {
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()))))));
372
+ return _descriptor_0.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_3.alignment().concat(_descriptor_4.alignment().concat(_descriptor_1.alignment().concat(_descriptor_1.alignment()))))));
373
373
  }
374
374
  fromValue(value_0) {
375
375
  return {
376
- keyVersion: _descriptor_4.fromValue(value_0),
377
- sender: _descriptor_9.fromValue(value_0),
378
- path: _descriptor_0.fromValue(value_0),
379
- algo: _descriptor_10.fromValue(value_0),
380
- txParamType: _descriptor_11.fromValue(value_0),
381
- txParamsDigest: _descriptor_0.fromValue(value_0),
382
- executionDest: _descriptor_0.fromValue(value_0)
376
+ keyVersion: _descriptor_0.fromValue(value_0),
377
+ sender: _descriptor_2.fromValue(value_0),
378
+ path: _descriptor_1.fromValue(value_0),
379
+ algo: _descriptor_3.fromValue(value_0),
380
+ txParamType: _descriptor_4.fromValue(value_0),
381
+ txParamsDigest: _descriptor_1.fromValue(value_0),
382
+ executionDest: _descriptor_1.fromValue(value_0)
383
383
  }
384
384
  }
385
385
  toValue(value_0) {
386
- 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_0.toValue(value_0.txParamsDigest).concat(_descriptor_0.toValue(value_0.executionDest)))))));
386
+ return _descriptor_0.toValue(value_0.keyVersion).concat(_descriptor_2.toValue(value_0.sender).concat(_descriptor_1.toValue(value_0.path).concat(_descriptor_3.toValue(value_0.algo).concat(_descriptor_4.toValue(value_0.txParamType).concat(_descriptor_1.toValue(value_0.txParamsDigest).concat(_descriptor_1.toValue(value_0.executionDest)))))));
387
387
  }
388
388
  }
389
389
 
@@ -416,20 +416,20 @@ const _descriptor_46 = __compactRuntime.CompactTypeField;
416
416
 
417
417
  class _tuple_1 {
418
418
  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())))));
419
+ return _descriptor_44.alignment().concat(_descriptor_1.alignment().concat(_descriptor_5.alignment().concat(_descriptor_23.alignment().concat(_descriptor_5.alignment().concat(_descriptor_21.alignment())))));
420
420
  }
421
421
  fromValue(value_0) {
422
422
  return [
423
423
  _descriptor_44.fromValue(value_0),
424
- _descriptor_0.fromValue(value_0),
425
- _descriptor_1.fromValue(value_0),
426
- _descriptor_2.fromValue(value_0),
427
424
  _descriptor_1.fromValue(value_0),
428
- _descriptor_34.fromValue(value_0)
425
+ _descriptor_5.fromValue(value_0),
426
+ _descriptor_23.fromValue(value_0),
427
+ _descriptor_5.fromValue(value_0),
428
+ _descriptor_21.fromValue(value_0)
429
429
  ]
430
430
  }
431
431
  toValue(value_0) {
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]))))));
432
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]).concat(_descriptor_5.toValue(value_0[2]).concat(_descriptor_23.toValue(value_0[3]).concat(_descriptor_5.toValue(value_0[4]).concat(_descriptor_21.toValue(value_0[5]))))));
433
433
  }
434
434
  }
435
435
 
@@ -437,20 +437,20 @@ const _descriptor_47 = new _tuple_1();
437
437
 
438
438
  class _tuple_2 {
439
439
  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())))));
440
+ return _descriptor_44.alignment().concat(_descriptor_1.alignment().concat(_descriptor_5.alignment().concat(_descriptor_23.alignment().concat(_descriptor_5.alignment().concat(_descriptor_1.alignment())))));
441
441
  }
442
442
  fromValue(value_0) {
443
443
  return [
444
444
  _descriptor_44.fromValue(value_0),
445
- _descriptor_0.fromValue(value_0),
446
- _descriptor_1.fromValue(value_0),
447
- _descriptor_2.fromValue(value_0),
448
445
  _descriptor_1.fromValue(value_0),
449
- _descriptor_0.fromValue(value_0)
446
+ _descriptor_5.fromValue(value_0),
447
+ _descriptor_23.fromValue(value_0),
448
+ _descriptor_5.fromValue(value_0),
449
+ _descriptor_1.fromValue(value_0)
450
450
  ]
451
451
  }
452
452
  toValue(value_0) {
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]))))));
453
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]).concat(_descriptor_5.toValue(value_0[2]).concat(_descriptor_23.toValue(value_0[3]).concat(_descriptor_5.toValue(value_0[4]).concat(_descriptor_1.toValue(value_0[5]))))));
454
454
  }
455
455
  }
456
456
 
@@ -458,17 +458,17 @@ const _descriptor_48 = new _tuple_2();
458
458
 
459
459
  class _tuple_3 {
460
460
  alignment() {
461
- return _descriptor_44.alignment().concat(_descriptor_46.alignment().concat(_descriptor_0.alignment()));
461
+ return _descriptor_44.alignment().concat(_descriptor_46.alignment().concat(_descriptor_1.alignment()));
462
462
  }
463
463
  fromValue(value_0) {
464
464
  return [
465
465
  _descriptor_44.fromValue(value_0),
466
466
  _descriptor_46.fromValue(value_0),
467
- _descriptor_0.fromValue(value_0)
467
+ _descriptor_1.fromValue(value_0)
468
468
  ]
469
469
  }
470
470
  toValue(value_0) {
471
- return _descriptor_44.toValue(value_0[0]).concat(_descriptor_46.toValue(value_0[1]).concat(_descriptor_0.toValue(value_0[2])));
471
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_46.toValue(value_0[1]).concat(_descriptor_1.toValue(value_0[2])));
472
472
  }
473
473
  }
474
474
 
@@ -476,19 +476,19 @@ const _descriptor_49 = new _tuple_3();
476
476
 
477
477
  class _tuple_4 {
478
478
  alignment() {
479
- return _descriptor_44.alignment().concat(_descriptor_46.alignment().concat(_descriptor_13.alignment().concat(_descriptor_4.alignment().concat(_descriptor_46.alignment()))));
479
+ return _descriptor_44.alignment().concat(_descriptor_46.alignment().concat(_descriptor_7.alignment().concat(_descriptor_0.alignment().concat(_descriptor_46.alignment()))));
480
480
  }
481
481
  fromValue(value_0) {
482
482
  return [
483
483
  _descriptor_44.fromValue(value_0),
484
484
  _descriptor_46.fromValue(value_0),
485
- _descriptor_13.fromValue(value_0),
486
- _descriptor_4.fromValue(value_0),
485
+ _descriptor_7.fromValue(value_0),
486
+ _descriptor_0.fromValue(value_0),
487
487
  _descriptor_46.fromValue(value_0)
488
488
  ]
489
489
  }
490
490
  toValue(value_0) {
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])))));
491
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_46.toValue(value_0[1]).concat(_descriptor_7.toValue(value_0[2]).concat(_descriptor_0.toValue(value_0[3]).concat(_descriptor_46.toValue(value_0[4])))));
492
492
  }
493
493
  }
494
494
 
@@ -496,20 +496,20 @@ const _descriptor_50 = new _tuple_4();
496
496
 
497
497
  class _tuple_5 {
498
498
  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())))));
499
+ return _descriptor_44.alignment().concat(_descriptor_1.alignment().concat(_descriptor_5.alignment().concat(_descriptor_23.alignment().concat(_descriptor_5.alignment().concat(_descriptor_35.alignment())))));
500
500
  }
501
501
  fromValue(value_0) {
502
502
  return [
503
503
  _descriptor_44.fromValue(value_0),
504
- _descriptor_0.fromValue(value_0),
505
- _descriptor_1.fromValue(value_0),
506
- _descriptor_2.fromValue(value_0),
507
504
  _descriptor_1.fromValue(value_0),
505
+ _descriptor_5.fromValue(value_0),
506
+ _descriptor_23.fromValue(value_0),
507
+ _descriptor_5.fromValue(value_0),
508
508
  _descriptor_35.fromValue(value_0)
509
509
  ]
510
510
  }
511
511
  toValue(value_0) {
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]))))));
512
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]).concat(_descriptor_5.toValue(value_0[2]).concat(_descriptor_23.toValue(value_0[3]).concat(_descriptor_5.toValue(value_0[4]).concat(_descriptor_35.toValue(value_0[5]))))));
513
513
  }
514
514
  }
515
515
 
@@ -517,26 +517,26 @@ const _descriptor_51 = new _tuple_5();
517
517
 
518
518
  class _tuple_6 {
519
519
  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())))))))))));
520
+ return _descriptor_44.alignment().concat(_descriptor_5.alignment().concat(_descriptor_5.alignment().concat(_descriptor_6.alignment().concat(_descriptor_6.alignment().concat(_descriptor_5.alignment().concat(_descriptor_7.alignment().concat(_descriptor_6.alignment().concat(_descriptor_8.alignment().concat(_descriptor_9.alignment().concat(_descriptor_10.alignment().concat(_descriptor_0.alignment())))))))))));
521
521
  }
522
522
  fromValue(value_0) {
523
523
  return [
524
524
  _descriptor_44.fromValue(value_0),
525
- _descriptor_1.fromValue(value_0),
526
- _descriptor_1.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),
525
+ _descriptor_5.fromValue(value_0),
526
+ _descriptor_5.fromValue(value_0),
527
+ _descriptor_6.fromValue(value_0),
528
+ _descriptor_6.fromValue(value_0),
529
+ _descriptor_5.fromValue(value_0),
530
+ _descriptor_7.fromValue(value_0),
531
+ _descriptor_6.fromValue(value_0),
532
532
  _descriptor_8.fromValue(value_0),
533
- _descriptor_14.fromValue(value_0),
534
- _descriptor_15.fromValue(value_0),
535
- _descriptor_4.fromValue(value_0)
533
+ _descriptor_9.fromValue(value_0),
534
+ _descriptor_10.fromValue(value_0),
535
+ _descriptor_0.fromValue(value_0)
536
536
  ]
537
537
  }
538
538
  toValue(value_0) {
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]))))))))))));
539
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_5.toValue(value_0[1]).concat(_descriptor_5.toValue(value_0[2]).concat(_descriptor_6.toValue(value_0[3]).concat(_descriptor_6.toValue(value_0[4]).concat(_descriptor_5.toValue(value_0[5]).concat(_descriptor_7.toValue(value_0[6]).concat(_descriptor_6.toValue(value_0[7]).concat(_descriptor_8.toValue(value_0[8]).concat(_descriptor_9.toValue(value_0[9]).concat(_descriptor_10.toValue(value_0[10]).concat(_descriptor_0.toValue(value_0[11]))))))))))));
540
540
  }
541
541
  }
542
542
 
@@ -544,20 +544,20 @@ const _descriptor_52 = new _tuple_6();
544
544
 
545
545
  class _tuple_7 {
546
546
  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())))));
547
+ return _descriptor_44.alignment().concat(_descriptor_1.alignment().concat(_descriptor_5.alignment().concat(_descriptor_23.alignment().concat(_descriptor_5.alignment().concat(_descriptor_36.alignment())))));
548
548
  }
549
549
  fromValue(value_0) {
550
550
  return [
551
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
552
  _descriptor_1.fromValue(value_0),
556
- _descriptor_37.fromValue(value_0)
553
+ _descriptor_5.fromValue(value_0),
554
+ _descriptor_23.fromValue(value_0),
555
+ _descriptor_5.fromValue(value_0),
556
+ _descriptor_36.fromValue(value_0)
557
557
  ]
558
558
  }
559
559
  toValue(value_0) {
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]))))));
560
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]).concat(_descriptor_5.toValue(value_0[2]).concat(_descriptor_23.toValue(value_0[3]).concat(_descriptor_5.toValue(value_0[4]).concat(_descriptor_36.toValue(value_0[5]))))));
561
561
  }
562
562
  }
563
563
 
@@ -565,20 +565,20 @@ const _descriptor_53 = new _tuple_7();
565
565
 
566
566
  class _tuple_8 {
567
567
  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())))));
568
+ return _descriptor_44.alignment().concat(_descriptor_1.alignment().concat(_descriptor_5.alignment().concat(_descriptor_23.alignment().concat(_descriptor_5.alignment().concat(_descriptor_37.alignment())))));
569
569
  }
570
570
  fromValue(value_0) {
571
571
  return [
572
572
  _descriptor_44.fromValue(value_0),
573
- _descriptor_0.fromValue(value_0),
574
- _descriptor_1.fromValue(value_0),
575
- _descriptor_2.fromValue(value_0),
576
573
  _descriptor_1.fromValue(value_0),
577
- _descriptor_36.fromValue(value_0)
574
+ _descriptor_5.fromValue(value_0),
575
+ _descriptor_23.fromValue(value_0),
576
+ _descriptor_5.fromValue(value_0),
577
+ _descriptor_37.fromValue(value_0)
578
578
  ]
579
579
  }
580
580
  toValue(value_0) {
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]))))));
581
+ return _descriptor_44.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]).concat(_descriptor_5.toValue(value_0[2]).concat(_descriptor_23.toValue(value_0[3]).concat(_descriptor_5.toValue(value_0[4]).concat(_descriptor_37.toValue(value_0[5]))))));
582
582
  }
583
583
  }
584
584
 
@@ -603,17 +603,17 @@ const _descriptor_55 = new _Secp256k1EcdsaSignature_0();
603
603
 
604
604
  class _Either_0 {
605
605
  alignment() {
606
- return _descriptor_8.alignment().concat(_descriptor_0.alignment().concat(_descriptor_0.alignment()));
606
+ return _descriptor_8.alignment().concat(_descriptor_1.alignment().concat(_descriptor_1.alignment()));
607
607
  }
608
608
  fromValue(value_0) {
609
609
  return {
610
610
  is_left: _descriptor_8.fromValue(value_0),
611
- left: _descriptor_0.fromValue(value_0),
612
- right: _descriptor_0.fromValue(value_0)
611
+ left: _descriptor_1.fromValue(value_0),
612
+ right: _descriptor_1.fromValue(value_0)
613
613
  }
614
614
  }
615
615
  toValue(value_0) {
616
- return _descriptor_8.toValue(value_0.is_left).concat(_descriptor_0.toValue(value_0.left).concat(_descriptor_0.toValue(value_0.right)));
616
+ return _descriptor_8.toValue(value_0.is_left).concat(_descriptor_1.toValue(value_0.left).concat(_descriptor_1.toValue(value_0.right)));
617
617
  }
618
618
  }
619
619
 
@@ -654,6 +654,9 @@ export class Contract {
654
654
  async abiWordToUint128(context, ...args_1) {
655
655
  return { result: pureCircuits.abiWordToUint128(...args_1), context };
656
656
  },
657
+ async checkedTruncationU128(context, ...args_1) {
658
+ return { result: pureCircuits.checkedTruncationU128(...args_1), context };
659
+ },
657
660
  async abiWordToBool(context, ...args_1) {
658
661
  return { result: pureCircuits.abiWordToBool(...args_1), context };
659
662
  },
@@ -678,11 +681,11 @@ export class Contract {
678
681
  async calculateEvmType2TxParamsDigestV1_2_1_2(context, ...args_1) {
679
682
  return { result: pureCircuits.calculateEvmType2TxParamsDigestV1_2_1_2(...args_1), context };
680
683
  },
681
- async calculateEvmType2RequestIdV1_1_0_0_34_34(context, ...args_1) {
682
- return { result: pureCircuits.calculateEvmType2RequestIdV1_1_0_0_34_34(...args_1), context };
684
+ async calculateEvmType2RequestIdV1_1_0_0_34(context, ...args_1) {
685
+ return { result: pureCircuits.calculateEvmType2RequestIdV1_1_0_0_34(...args_1), context };
683
686
  },
684
- async calculateEvmType2RequestIdV1_2_1_2_34_34(context, ...args_1) {
685
- return { result: pureCircuits.calculateEvmType2RequestIdV1_2_1_2_34_34(...args_1), context };
687
+ async calculateEvmType2RequestIdV1_2_1_2_34(context, ...args_1) {
688
+ return { result: pureCircuits.calculateEvmType2RequestIdV1_2_1_2_34(...args_1), context };
686
689
  },
687
690
  async verifyRespondBidirectionalEvent0(context, ...args_1) {
688
691
  return { result: pureCircuits.verifyRespondBidirectionalEvent0(...args_1), context };
@@ -690,8 +693,8 @@ export class Contract {
690
693
  async verifyRespondBidirectionalEvent32(context, ...args_1) {
691
694
  return { result: pureCircuits.verifyRespondBidirectionalEvent32(...args_1), context };
692
695
  },
693
- async constructSignBidirectionalEventV1_1_0_0_34_34(context, ...args_1) {
694
- return { result: pureCircuits.constructSignBidirectionalEventV1_1_0_0_34_34(...args_1), context };
696
+ async constructSignBidirectionalEventV1_1_0_0_34(context, ...args_1) {
697
+ return { result: pureCircuits.constructSignBidirectionalEventV1_1_0_0_34(...args_1), context };
695
698
  }
696
699
  };
697
700
  this.impureCircuits = {};
@@ -862,8 +865,7 @@ export class Contract {
862
865
  executionDest_0,
863
866
  signatureDest_0,
864
867
  params_0,
865
- outputDeserializationSchema_0,
866
- respondSerializationSchema_0)
868
+ outputDeserializationSchema_0)
867
869
  {
868
870
  __compactRuntime.assert(keyVersion_0 >= 1n, 'keyVersion must be >= 1');
869
871
  __compactRuntime.assert(signatureDest_0 === 0,
@@ -883,7 +885,7 @@ export class Contract {
883
885
  signatureDest: signatureDest_0,
884
886
  params: params_0,
885
887
  outputDeserializationSchema: outputDeserializationSchema_0,
886
- respondSerializationSchema: respondSerializationSchema_0 };
888
+ respondSerializationSchema: new Uint8Array(0) };
887
889
  }
888
890
  _calculateRequestIdV1_0(preimage_0) {
889
891
  return this._upgradeFromTransient_0(this._transientHash_8([0, preimage_0]));
@@ -977,13 +979,13 @@ export class Contract {
977
979
  32,
978
980
  respondBidirectionalEvent_0.signature.bigR.x,
979
981
  'Secp256k1Scalar',
980
- 'Signet.compact line 416 char 12'),
982
+ 'Signet.compact line 424 char 12'),
981
983
  s:
982
984
  __compactRuntime.convertBytesToField(115792089237316195423570985008687907852837564279074904382605163141518161494336n,
983
985
  32,
984
986
  respondBidirectionalEvent_0.signature.s,
985
987
  'Secp256k1Scalar',
986
- 'Signet.compact line 417 char 12') },
988
+ 'Signet.compact line 425 char 12') },
987
989
  mpcResponseKey_0);
988
990
  }
989
991
  _verifyRespondBidirectionalEventV1_1(serializedOutput_0,
@@ -1000,13 +1002,13 @@ export class Contract {
1000
1002
  32,
1001
1003
  respondBidirectionalEvent_0.signature.bigR.x,
1002
1004
  'Secp256k1Scalar',
1003
- 'Signet.compact line 416 char 12'),
1005
+ 'Signet.compact line 424 char 12'),
1004
1006
  s:
1005
1007
  __compactRuntime.convertBytesToField(115792089237316195423570985008687907852837564279074904382605163141518161494336n,
1006
1008
  32,
1007
1009
  respondBidirectionalEvent_0.signature.s,
1008
1010
  'Secp256k1Scalar',
1009
- 'Signet.compact line 417 char 12') },
1011
+ 'Signet.compact line 425 char 12') },
1010
1012
  mpcResponseKey_0);
1011
1013
  }
1012
1014
  _ethereumCaip2Id_0() {
@@ -1027,7 +1029,7 @@ export class Contract {
1027
1029
  let t_1, t_2;
1028
1030
  return [((t1) => {
1029
1031
  if (t1 > 255n) {
1030
- 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');
1032
+ throw new __compactRuntime.CompactError('Signet.compact line 527 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1031
1033
  }
1032
1034
  return t1;
1033
1035
  })(acc_0[0] + 1n),
@@ -1062,7 +1064,7 @@ export class Contract {
1062
1064
  let t_3;
1063
1065
  return [((t1) => {
1064
1066
  if (t1 > 65535n) {
1065
- throw new __compactRuntime.CompactError('Signet.compact line 546 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1067
+ throw new __compactRuntime.CompactError('Signet.compact line 554 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1066
1068
  }
1067
1069
  return t1;
1068
1070
  })(acc_1[0] + 1n),
@@ -1082,7 +1084,7 @@ export class Contract {
1082
1084
  let t_4;
1083
1085
  return [((t1) => {
1084
1086
  if (t1 > 255n) {
1085
- throw new __compactRuntime.CompactError('Signet.compact line 557 char 11: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1087
+ throw new __compactRuntime.CompactError('Signet.compact line 565 char 11: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1086
1088
  }
1087
1089
  return t1;
1088
1090
  })(acc_2[0] + 1n),
@@ -1101,7 +1103,7 @@ export class Contract {
1101
1103
  let t_5;
1102
1104
  return [((t1) => {
1103
1105
  if (t1 > 255n) {
1104
- throw new __compactRuntime.CompactError('Signet.compact line 566 char 22: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1106
+ throw new __compactRuntime.CompactError('Signet.compact line 574 char 22: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1105
1107
  }
1106
1108
  return t1;
1107
1109
  })(keyAcc_0[0]
@@ -1143,7 +1145,7 @@ export class Contract {
1143
1145
  let t_1, t_2;
1144
1146
  return [((t1) => {
1145
1147
  if (t1 > 255n) {
1146
- 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');
1148
+ throw new __compactRuntime.CompactError('Signet.compact line 527 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1147
1149
  }
1148
1150
  return t1;
1149
1151
  })(acc_0[0] + 1n),
@@ -1178,7 +1180,7 @@ export class Contract {
1178
1180
  let t_3;
1179
1181
  return [((t1) => {
1180
1182
  if (t1 > 65535n) {
1181
- throw new __compactRuntime.CompactError('Signet.compact line 546 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1183
+ throw new __compactRuntime.CompactError('Signet.compact line 554 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1182
1184
  }
1183
1185
  return t1;
1184
1186
  })(acc_1[0] + 1n),
@@ -1198,7 +1200,7 @@ export class Contract {
1198
1200
  let t_4;
1199
1201
  return [((t1) => {
1200
1202
  if (t1 > 255n) {
1201
- throw new __compactRuntime.CompactError('Signet.compact line 557 char 11: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1203
+ throw new __compactRuntime.CompactError('Signet.compact line 565 char 11: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1202
1204
  }
1203
1205
  return t1;
1204
1206
  })(acc_2[0] + 1n),
@@ -1217,7 +1219,7 @@ export class Contract {
1217
1219
  let t_5;
1218
1220
  return [((t1) => {
1219
1221
  if (t1 > 255n) {
1220
- throw new __compactRuntime.CompactError('Signet.compact line 566 char 22: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1222
+ throw new __compactRuntime.CompactError('Signet.compact line 574 char 22: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1221
1223
  }
1222
1224
  return t1;
1223
1225
  })(keyAcc_0[0]
@@ -1278,7 +1280,7 @@ export class Contract {
1278
1280
  _numericAbiWord_0(value_0) {
1279
1281
  const le_0 = Array.from(__compactRuntime.convertBigintToBytes(16,
1280
1282
  value_0,
1281
- 'Signet.compact line 616 char 17'),
1283
+ 'Signet.compact line 624 char 17'),
1282
1284
  BigInt);
1283
1285
  return Uint8Array.from([...Array.from(new Uint8Array(16), BigInt),
1284
1286
  le_0[15],
@@ -1360,18 +1362,27 @@ export class Contract {
1360
1362
  v_0[31]);
1361
1363
  return ((t1) => {
1362
1364
  if (t1 > 340282366920938463463374607431768211455n) {
1363
- throw new __compactRuntime.CompactError('Signet.compact line 668 char 12: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 340282366920938463463374607431768211455');
1365
+ throw new __compactRuntime.CompactError('Signet.compact line 676 char 12: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 340282366920938463463374607431768211455');
1364
1366
  }
1365
1367
  return t1;
1366
1368
  })(b15_0);
1367
1369
  }
1370
+ _checkedTruncationU128_0(x_0) {
1371
+ const v_0 = Array.from(x_0, BigInt);
1372
+ __compactRuntime.assert(v_0[31] === 0n, 'Value exceeds Uint<128>');
1373
+ return __compactRuntime.convertBytesToUint(340282366920938463463374607431768211455n,
1374
+ 32,
1375
+ x_0,
1376
+ 'Uint<0..340282366920938463463374607431768211456>',
1377
+ 'Signet.compact line 687 char 12');
1378
+ }
1368
1379
  _abiWordToBool_0(word_0) {
1369
1380
  __compactRuntime.assert(__compactRuntime.convertBytesToUint(52435875175126190479447740508185965837690552500527637822603658699938581184512n,
1370
1381
  31,
1371
1382
  ((e, i) => e.slice(i, i+31))(word_0,
1372
1383
  Number(0n)),
1373
1384
  'Field',
1374
- 'Signet.compact line 674 char 12')
1385
+ 'Signet.compact line 693 char 12')
1375
1386
  ===
1376
1387
  0n,
1377
1388
  'ABI word is not a canonical Boolean');
@@ -1380,7 +1391,7 @@ export class Contract {
1380
1391
  ((e, i) => e.slice(i, i+1))(word_0,
1381
1392
  Number(31n)),
1382
1393
  'Field',
1383
- 'Signet.compact line 675 char 18');
1394
+ 'Signet.compact line 694 char 18');
1384
1395
  __compactRuntime.assert(last_0 === 0n || last_0 === 1n,
1385
1396
  'ABI word is not a canonical Boolean');
1386
1397
  return last_0 === 1n;
@@ -1441,10 +1452,10 @@ export class Contract {
1441
1452
  _calculateEvmType2TxParamsDigestV1_2_1_2_0(txParams_0) {
1442
1453
  return this._calculateEvmType2TxParamsDigestV1_1(txParams_0);
1443
1454
  }
1444
- _calculateEvmType2RequestIdV1_1_0_0_34_34_0(request_0) {
1455
+ _calculateEvmType2RequestIdV1_1_0_0_34_0(request_0) {
1445
1456
  return this._calculateEvmType2RequestIdV1_0(request_0);
1446
1457
  }
1447
- _calculateEvmType2RequestIdV1_2_1_2_34_34_0(request_0) {
1458
+ _calculateEvmType2RequestIdV1_2_1_2_34_0(request_0) {
1448
1459
  return this._calculateEvmType2RequestIdV1_1(request_0);
1449
1460
  }
1450
1461
  _verifyRespondBidirectionalEvent0_0(serializedOutput_0,
@@ -1463,7 +1474,7 @@ export class Contract {
1463
1474
  respondBidirectionalEvent_0,
1464
1475
  mpcResponseKey_0);
1465
1476
  }
1466
- _constructSignBidirectionalEventV1_1_0_0_34_34_0(request_0) {
1477
+ _constructSignBidirectionalEventV1_1_0_0_34_0(request_0) {
1467
1478
  return this._constructSignBidirectionalEventV1_0(request_0.keyVersion,
1468
1479
  request_0.sender,
1469
1480
  request_0.path,
@@ -1473,8 +1484,7 @@ export class Contract {
1473
1484
  request_0.executionDest,
1474
1485
  request_0.signatureDest,
1475
1486
  request_0.params,
1476
- request_0.outputDeserializationSchema,
1477
- request_0.respondSerializationSchema);
1487
+ request_0.outputDeserializationSchema);
1478
1488
  }
1479
1489
  _equal_0(x0, y0) {
1480
1490
  if (!x0.every((x, i) => y0[i] === x)) { return false; }
@@ -1546,7 +1556,7 @@ export const pureCircuits = {
1546
1556
  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)) {
1547
1557
  __compactRuntime.typeError('calculateRequestIdV1',
1548
1558
  'argument 1',
1549
- 'Signet.compact line 218 char 3',
1559
+ 'Signet.compact line 226 char 3',
1550
1560
  '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>>',
1551
1561
  preimage_0)
1552
1562
  }
@@ -1562,21 +1572,21 @@ export const pureCircuits = {
1562
1572
  if (!(typeof(callerAddress_0) === 'object' && callerAddress_0.bytes.buffer instanceof ArrayBuffer && callerAddress_0.bytes.BYTES_PER_ELEMENT === 1 && callerAddress_0.bytes.length === 32)) {
1563
1573
  __compactRuntime.typeError('constructSignBidirectionalEventNotificationV1',
1564
1574
  'argument 1',
1565
- 'Signet.compact line 269 char 3',
1575
+ 'Signet.compact line 277 char 3',
1566
1576
  'struct ContractAddress<bytes: Bytes<32>>',
1567
1577
  callerAddress_0)
1568
1578
  }
1569
1579
  if (!(typeof(requestsPathDepth_0) === 'bigint' && requestsPathDepth_0 >= 0n && requestsPathDepth_0 <= 255n)) {
1570
1580
  __compactRuntime.typeError('constructSignBidirectionalEventNotificationV1',
1571
1581
  'argument 2',
1572
- 'Signet.compact line 269 char 3',
1582
+ 'Signet.compact line 277 char 3',
1573
1583
  'Uint<0..256>',
1574
1584
  requestsPathDepth_0)
1575
1585
  }
1576
1586
  if (!(Array.isArray(requestsPath_0) && requestsPath_0.length === 4 && requestsPath_0.every((t) => typeof(t) === 'bigint' && t >= 0n && t <= 255n))) {
1577
1587
  __compactRuntime.typeError('constructSignBidirectionalEventNotificationV1',
1578
1588
  'argument 3',
1579
- 'Signet.compact line 269 char 3',
1589
+ 'Signet.compact line 277 char 3',
1580
1590
  'Vector<4, Uint<0..256>>',
1581
1591
  requestsPath_0)
1582
1592
  }
@@ -1598,7 +1608,7 @@ export const pureCircuits = {
1598
1608
  if (!(addr_0.buffer instanceof ArrayBuffer && addr_0.BYTES_PER_ELEMENT === 1 && addr_0.length === 20)) {
1599
1609
  __compactRuntime.typeError('evmAddressAbiWord',
1600
1610
  'argument 1',
1601
- 'Signet.compact line 607 char 3',
1611
+ 'Signet.compact line 615 char 3',
1602
1612
  'Bytes<20>',
1603
1613
  addr_0)
1604
1614
  }
@@ -1612,7 +1622,7 @@ export const pureCircuits = {
1612
1622
  if (!(typeof(value_0) === 'bigint' && value_0 >= 0n && value_0 <= 340282366920938463463374607431768211455n)) {
1613
1623
  __compactRuntime.typeError('numericAbiWord',
1614
1624
  'argument 1',
1615
- 'Signet.compact line 613 char 3',
1625
+ 'Signet.compact line 621 char 3',
1616
1626
  'Uint<0..340282366920938463463374607431768211456>',
1617
1627
  value_0)
1618
1628
  }
@@ -1626,7 +1636,7 @@ export const pureCircuits = {
1626
1636
  if (!(typeof(value_0) === 'boolean')) {
1627
1637
  __compactRuntime.typeError('boolAbiWord',
1628
1638
  'argument 1',
1629
- 'Signet.compact line 626 char 3',
1639
+ 'Signet.compact line 634 char 3',
1630
1640
  'Boolean',
1631
1641
  value_0)
1632
1642
  }
@@ -1640,12 +1650,26 @@ export const pureCircuits = {
1640
1650
  if (!(word_0.buffer instanceof ArrayBuffer && word_0.BYTES_PER_ELEMENT === 1 && word_0.length === 32)) {
1641
1651
  __compactRuntime.typeError('abiWordToUint128',
1642
1652
  'argument 1',
1643
- 'Signet.compact line 634 char 3',
1653
+ 'Signet.compact line 642 char 3',
1644
1654
  'Bytes<32>',
1645
1655
  word_0)
1646
1656
  }
1647
1657
  return _dummyContract._abiWordToUint128_0(word_0);
1648
1658
  },
1659
+ checkedTruncationU128: (...args_0) => {
1660
+ if (args_0.length !== 1) {
1661
+ throw new __compactRuntime.CompactError(`checkedTruncationU128: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
1662
+ }
1663
+ const x_0 = args_0[0];
1664
+ if (!(x_0.buffer instanceof ArrayBuffer && x_0.BYTES_PER_ELEMENT === 1 && x_0.length === 32)) {
1665
+ __compactRuntime.typeError('checkedTruncationU128',
1666
+ 'argument 1',
1667
+ 'Signet.compact line 683 char 3',
1668
+ 'Bytes<32>',
1669
+ x_0)
1670
+ }
1671
+ return _dummyContract._checkedTruncationU128_0(x_0);
1672
+ },
1649
1673
  abiWordToBool: (...args_0) => {
1650
1674
  if (args_0.length !== 1) {
1651
1675
  throw new __compactRuntime.CompactError(`abiWordToBool: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
@@ -1654,7 +1678,7 @@ export const pureCircuits = {
1654
1678
  if (!(word_0.buffer instanceof ArrayBuffer && word_0.BYTES_PER_ELEMENT === 1 && word_0.length === 32)) {
1655
1679
  __compactRuntime.typeError('abiWordToBool',
1656
1680
  'argument 1',
1657
- 'Signet.compact line 673 char 3',
1681
+ 'Signet.compact line 692 char 3',
1658
1682
  'Bytes<32>',
1659
1683
  word_0)
1660
1684
  }
@@ -1671,28 +1695,28 @@ export const pureCircuits = {
1671
1695
  if (!(requestId_0.buffer instanceof ArrayBuffer && requestId_0.BYTES_PER_ELEMENT === 1 && requestId_0.length === 32)) {
1672
1696
  __compactRuntime.typeError('calculateSignetAttestationDigest0',
1673
1697
  'argument 1',
1674
- 'circuits.compact line 31 char 1',
1698
+ 'circuits.compact line 32 char 1',
1675
1699
  'Bytes<32>',
1676
1700
  requestId_0)
1677
1701
  }
1678
1702
  if (!(typeof(blockHeight_0) === 'bigint' && blockHeight_0 >= 0n && blockHeight_0 <= 18446744073709551615n)) {
1679
1703
  __compactRuntime.typeError('calculateSignetAttestationDigest0',
1680
1704
  'argument 2',
1681
- 'circuits.compact line 31 char 1',
1705
+ 'circuits.compact line 32 char 1',
1682
1706
  'Uint<0..18446744073709551616>',
1683
1707
  blockHeight_0)
1684
1708
  }
1685
1709
  if (!(typeof(outputKind_0) === 'number' && outputKind_0 >= 0 && outputKind_0 <= 2)) {
1686
1710
  __compactRuntime.typeError('calculateSignetAttestationDigest0',
1687
1711
  'argument 3',
1688
- 'circuits.compact line 31 char 1',
1712
+ 'circuits.compact line 32 char 1',
1689
1713
  'Enum<OutputKind, executed, failed, unviable>',
1690
1714
  outputKind_0)
1691
1715
  }
1692
1716
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 0)) {
1693
1717
  __compactRuntime.typeError('calculateSignetAttestationDigest0',
1694
1718
  'argument 4',
1695
- 'circuits.compact line 31 char 1',
1719
+ 'circuits.compact line 32 char 1',
1696
1720
  'Bytes<0>',
1697
1721
  serializedOutput_0)
1698
1722
  }
@@ -1712,28 +1736,28 @@ export const pureCircuits = {
1712
1736
  if (!(requestId_0.buffer instanceof ArrayBuffer && requestId_0.BYTES_PER_ELEMENT === 1 && requestId_0.length === 32)) {
1713
1737
  __compactRuntime.typeError('calculateSignetAttestationDigest1',
1714
1738
  'argument 1',
1715
- 'circuits.compact line 40 char 1',
1739
+ 'circuits.compact line 41 char 1',
1716
1740
  'Bytes<32>',
1717
1741
  requestId_0)
1718
1742
  }
1719
1743
  if (!(typeof(blockHeight_0) === 'bigint' && blockHeight_0 >= 0n && blockHeight_0 <= 18446744073709551615n)) {
1720
1744
  __compactRuntime.typeError('calculateSignetAttestationDigest1',
1721
1745
  'argument 2',
1722
- 'circuits.compact line 40 char 1',
1746
+ 'circuits.compact line 41 char 1',
1723
1747
  'Uint<0..18446744073709551616>',
1724
1748
  blockHeight_0)
1725
1749
  }
1726
1750
  if (!(typeof(outputKind_0) === 'number' && outputKind_0 >= 0 && outputKind_0 <= 2)) {
1727
1751
  __compactRuntime.typeError('calculateSignetAttestationDigest1',
1728
1752
  'argument 3',
1729
- 'circuits.compact line 40 char 1',
1753
+ 'circuits.compact line 41 char 1',
1730
1754
  'Enum<OutputKind, executed, failed, unviable>',
1731
1755
  outputKind_0)
1732
1756
  }
1733
1757
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 1)) {
1734
1758
  __compactRuntime.typeError('calculateSignetAttestationDigest1',
1735
1759
  'argument 4',
1736
- 'circuits.compact line 40 char 1',
1760
+ 'circuits.compact line 41 char 1',
1737
1761
  'Bytes<1>',
1738
1762
  serializedOutput_0)
1739
1763
  }
@@ -1753,28 +1777,28 @@ export const pureCircuits = {
1753
1777
  if (!(requestId_0.buffer instanceof ArrayBuffer && requestId_0.BYTES_PER_ELEMENT === 1 && requestId_0.length === 32)) {
1754
1778
  __compactRuntime.typeError('calculateSignetAttestationDigest2',
1755
1779
  'argument 1',
1756
- 'circuits.compact line 49 char 1',
1780
+ 'circuits.compact line 50 char 1',
1757
1781
  'Bytes<32>',
1758
1782
  requestId_0)
1759
1783
  }
1760
1784
  if (!(typeof(blockHeight_0) === 'bigint' && blockHeight_0 >= 0n && blockHeight_0 <= 18446744073709551615n)) {
1761
1785
  __compactRuntime.typeError('calculateSignetAttestationDigest2',
1762
1786
  'argument 2',
1763
- 'circuits.compact line 49 char 1',
1787
+ 'circuits.compact line 50 char 1',
1764
1788
  'Uint<0..18446744073709551616>',
1765
1789
  blockHeight_0)
1766
1790
  }
1767
1791
  if (!(typeof(outputKind_0) === 'number' && outputKind_0 >= 0 && outputKind_0 <= 2)) {
1768
1792
  __compactRuntime.typeError('calculateSignetAttestationDigest2',
1769
1793
  'argument 3',
1770
- 'circuits.compact line 49 char 1',
1794
+ 'circuits.compact line 50 char 1',
1771
1795
  'Enum<OutputKind, executed, failed, unviable>',
1772
1796
  outputKind_0)
1773
1797
  }
1774
1798
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 2)) {
1775
1799
  __compactRuntime.typeError('calculateSignetAttestationDigest2',
1776
1800
  'argument 4',
1777
- 'circuits.compact line 49 char 1',
1801
+ 'circuits.compact line 50 char 1',
1778
1802
  'Bytes<2>',
1779
1803
  serializedOutput_0)
1780
1804
  }
@@ -1794,28 +1818,28 @@ export const pureCircuits = {
1794
1818
  if (!(requestId_0.buffer instanceof ArrayBuffer && requestId_0.BYTES_PER_ELEMENT === 1 && requestId_0.length === 32)) {
1795
1819
  __compactRuntime.typeError('calculateSignetAttestationDigest32',
1796
1820
  'argument 1',
1797
- 'circuits.compact line 58 char 1',
1821
+ 'circuits.compact line 59 char 1',
1798
1822
  'Bytes<32>',
1799
1823
  requestId_0)
1800
1824
  }
1801
1825
  if (!(typeof(blockHeight_0) === 'bigint' && blockHeight_0 >= 0n && blockHeight_0 <= 18446744073709551615n)) {
1802
1826
  __compactRuntime.typeError('calculateSignetAttestationDigest32',
1803
1827
  'argument 2',
1804
- 'circuits.compact line 58 char 1',
1828
+ 'circuits.compact line 59 char 1',
1805
1829
  'Uint<0..18446744073709551616>',
1806
1830
  blockHeight_0)
1807
1831
  }
1808
1832
  if (!(typeof(outputKind_0) === 'number' && outputKind_0 >= 0 && outputKind_0 <= 2)) {
1809
1833
  __compactRuntime.typeError('calculateSignetAttestationDigest32',
1810
1834
  'argument 3',
1811
- 'circuits.compact line 58 char 1',
1835
+ 'circuits.compact line 59 char 1',
1812
1836
  'Enum<OutputKind, executed, failed, unviable>',
1813
1837
  outputKind_0)
1814
1838
  }
1815
1839
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 32)) {
1816
1840
  __compactRuntime.typeError('calculateSignetAttestationDigest32',
1817
1841
  'argument 4',
1818
- 'circuits.compact line 58 char 1',
1842
+ 'circuits.compact line 59 char 1',
1819
1843
  'Bytes<32>',
1820
1844
  serializedOutput_0)
1821
1845
  }
@@ -1835,28 +1859,28 @@ export const pureCircuits = {
1835
1859
  if (!(requestId_0.buffer instanceof ArrayBuffer && requestId_0.BYTES_PER_ELEMENT === 1 && requestId_0.length === 32)) {
1836
1860
  __compactRuntime.typeError('calculateSignetAttestationDigest100',
1837
1861
  'argument 1',
1838
- 'circuits.compact line 67 char 1',
1862
+ 'circuits.compact line 68 char 1',
1839
1863
  'Bytes<32>',
1840
1864
  requestId_0)
1841
1865
  }
1842
1866
  if (!(typeof(blockHeight_0) === 'bigint' && blockHeight_0 >= 0n && blockHeight_0 <= 18446744073709551615n)) {
1843
1867
  __compactRuntime.typeError('calculateSignetAttestationDigest100',
1844
1868
  'argument 2',
1845
- 'circuits.compact line 67 char 1',
1869
+ 'circuits.compact line 68 char 1',
1846
1870
  'Uint<0..18446744073709551616>',
1847
1871
  blockHeight_0)
1848
1872
  }
1849
1873
  if (!(typeof(outputKind_0) === 'number' && outputKind_0 >= 0 && outputKind_0 <= 2)) {
1850
1874
  __compactRuntime.typeError('calculateSignetAttestationDigest100',
1851
1875
  'argument 3',
1852
- 'circuits.compact line 67 char 1',
1876
+ 'circuits.compact line 68 char 1',
1853
1877
  'Enum<OutputKind, executed, failed, unviable>',
1854
1878
  outputKind_0)
1855
1879
  }
1856
1880
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 100)) {
1857
1881
  __compactRuntime.typeError('calculateSignetAttestationDigest100',
1858
1882
  'argument 4',
1859
- 'circuits.compact line 67 char 1',
1883
+ 'circuits.compact line 68 char 1',
1860
1884
  'Bytes<100>',
1861
1885
  serializedOutput_0)
1862
1886
  }
@@ -1873,7 +1897,7 @@ export const pureCircuits = {
1873
1897
  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)))) {
1874
1898
  __compactRuntime.typeError('calculateEvmType2TxParamsDigestV1_1_0_0',
1875
1899
  'argument 1',
1876
- 'circuits.compact line 81 char 1',
1900
+ 'circuits.compact line 82 char 1',
1877
1901
  '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>>>>>',
1878
1902
  txParams_0)
1879
1903
  }
@@ -1887,39 +1911,39 @@ export const pureCircuits = {
1887
1911
  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)))) {
1888
1912
  __compactRuntime.typeError('calculateEvmType2TxParamsDigestV1_2_1_2',
1889
1913
  'argument 1',
1890
- 'circuits.compact line 87 char 1',
1914
+ 'circuits.compact line 88 char 1',
1891
1915
  '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>>>>>',
1892
1916
  txParams_0)
1893
1917
  }
1894
1918
  return _dummyContract._calculateEvmType2TxParamsDigestV1_2_1_2_0(txParams_0);
1895
1919
  },
1896
- calculateEvmType2RequestIdV1_1_0_0_34_34: (...args_0) => {
1920
+ calculateEvmType2RequestIdV1_1_0_0_34: (...args_0) => {
1897
1921
  if (args_0.length !== 1) {
1898
- throw new __compactRuntime.CompactError(`calculateEvmType2RequestIdV1_1_0_0_34_34: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
1922
+ throw new __compactRuntime.CompactError(`calculateEvmType2RequestIdV1_1_0_0_34: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
1899
1923
  }
1900
1924
  const request_0 = args_0[0];
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)) {
1902
- __compactRuntime.typeError('calculateEvmType2RequestIdV1_1_0_0_34_34',
1925
+ 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 === 0)) {
1926
+ __compactRuntime.typeError('calculateEvmType2RequestIdV1_1_0_0_34',
1903
1927
  'argument 1',
1904
- 'circuits.compact line 96 char 1',
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>>',
1928
+ 'circuits.compact line 97 char 1',
1929
+ '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<0>>',
1906
1930
  request_0)
1907
1931
  }
1908
- return _dummyContract._calculateEvmType2RequestIdV1_1_0_0_34_34_0(request_0);
1932
+ return _dummyContract._calculateEvmType2RequestIdV1_1_0_0_34_0(request_0);
1909
1933
  },
1910
- calculateEvmType2RequestIdV1_2_1_2_34_34: (...args_0) => {
1934
+ calculateEvmType2RequestIdV1_2_1_2_34: (...args_0) => {
1911
1935
  if (args_0.length !== 1) {
1912
- throw new __compactRuntime.CompactError(`calculateEvmType2RequestIdV1_2_1_2_34_34: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
1936
+ throw new __compactRuntime.CompactError(`calculateEvmType2RequestIdV1_2_1_2_34: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
1913
1937
  }
1914
1938
  const request_0 = args_0[0];
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)) {
1916
- __compactRuntime.typeError('calculateEvmType2RequestIdV1_2_1_2_34_34',
1939
+ 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 === 0)) {
1940
+ __compactRuntime.typeError('calculateEvmType2RequestIdV1_2_1_2_34',
1917
1941
  'argument 1',
1918
- 'circuits.compact line 102 char 1',
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>>',
1942
+ 'circuits.compact line 103 char 1',
1943
+ '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<0>>',
1920
1944
  request_0)
1921
1945
  }
1922
- return _dummyContract._calculateEvmType2RequestIdV1_2_1_2_34_34_0(request_0);
1946
+ return _dummyContract._calculateEvmType2RequestIdV1_2_1_2_34_0(request_0);
1923
1947
  },
1924
1948
  verifyRespondBidirectionalEvent0: (...args_0) => {
1925
1949
  if (args_0.length !== 3) {
@@ -1931,14 +1955,14 @@ export const pureCircuits = {
1931
1955
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 0)) {
1932
1956
  __compactRuntime.typeError('verifyRespondBidirectionalEvent0',
1933
1957
  'argument 1',
1934
- 'circuits.compact line 108 char 1',
1958
+ 'circuits.compact line 109 char 1',
1935
1959
  'Bytes<0>',
1936
1960
  serializedOutput_0)
1937
1961
  }
1938
1962
  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)) {
1939
1963
  __compactRuntime.typeError('verifyRespondBidirectionalEvent0',
1940
1964
  'argument 2',
1941
- 'circuits.compact line 108 char 1',
1965
+ 'circuits.compact line 109 char 1',
1942
1966
  '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>>>',
1943
1967
  respondBidirectionalEvent_0)
1944
1968
  }
@@ -1956,14 +1980,14 @@ export const pureCircuits = {
1956
1980
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 32)) {
1957
1981
  __compactRuntime.typeError('verifyRespondBidirectionalEvent32',
1958
1982
  'argument 1',
1959
- 'circuits.compact line 120 char 1',
1983
+ 'circuits.compact line 121 char 1',
1960
1984
  'Bytes<32>',
1961
1985
  serializedOutput_0)
1962
1986
  }
1963
1987
  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)) {
1964
1988
  __compactRuntime.typeError('verifyRespondBidirectionalEvent32',
1965
1989
  'argument 2',
1966
- 'circuits.compact line 120 char 1',
1990
+ 'circuits.compact line 121 char 1',
1967
1991
  '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>>>',
1968
1992
  respondBidirectionalEvent_0)
1969
1993
  }
@@ -1971,19 +1995,19 @@ export const pureCircuits = {
1971
1995
  respondBidirectionalEvent_0,
1972
1996
  mpcResponseKey_0);
1973
1997
  },
1974
- constructSignBidirectionalEventV1_1_0_0_34_34: (...args_0) => {
1998
+ constructSignBidirectionalEventV1_1_0_0_34: (...args_0) => {
1975
1999
  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}`);
2000
+ throw new __compactRuntime.CompactError(`constructSignBidirectionalEventV1_1_0_0_34: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
1977
2001
  }
1978
2002
  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',
2003
+ 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 === 0)) {
2004
+ __compactRuntime.typeError('constructSignBidirectionalEventV1_1_0_0_34',
1981
2005
  '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>>',
2006
+ 'circuits.compact line 133 char 1',
2007
+ '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<0>>',
1984
2008
  request_0)
1985
2009
  }
1986
- return _dummyContract._constructSignBidirectionalEventV1_1_0_0_34_34_0(request_0);
2010
+ return _dummyContract._constructSignBidirectionalEventV1_1_0_0_34_0(request_0);
1987
2011
  }
1988
2012
  };
1989
2013
  export const contractReferenceLocations =