@sig-net/midnight 0.26.0-rc.9 → 0.27.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/README.md +1 -1
  2. package/dist/abi-serde.d.ts +27 -0
  3. package/dist/abi-serde.d.ts.map +1 -1
  4. package/dist/abi-serde.js +101 -0
  5. package/dist/abi-serde.js.map +1 -1
  6. package/dist/compact-descriptors.d.ts +8 -0
  7. package/dist/compact-descriptors.d.ts.map +1 -1
  8. package/dist/compact-descriptors.js +13 -1
  9. package/dist/compact-descriptors.js.map +1 -1
  10. package/dist/constants.d.ts +0 -3
  11. package/dist/constants.d.ts.map +1 -1
  12. package/dist/constants.js +19 -29
  13. package/dist/constants.js.map +1 -1
  14. package/dist/index.d.ts +5 -1
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +7 -2
  17. package/dist/index.js.map +1 -1
  18. package/dist/managed/compiler/contract-info.json +1158 -5
  19. package/dist/managed/compiler/contract-manifest.json +8 -8
  20. package/dist/managed/contract/index.d.ts +270 -1
  21. package/dist/managed/contract/index.js +798 -312
  22. package/dist/managed/contract/index.js.map +1 -1
  23. package/dist/mpc-output-cache.d.ts +2 -3
  24. package/dist/mpc-output-cache.d.ts.map +1 -1
  25. package/dist/mpc-output-cache.js +1 -2
  26. package/dist/mpc-output-cache.js.map +1 -1
  27. package/dist/signature-requests-state-reader.d.ts +3 -3
  28. package/dist/signature-requests-state-reader.d.ts.map +1 -1
  29. package/dist/signature-requests-state-reader.js +6 -2
  30. package/dist/signature-requests-state-reader.js.map +1 -1
  31. package/dist/signature-response-verification.d.ts +29 -11
  32. package/dist/signature-response-verification.d.ts.map +1 -1
  33. package/dist/signature-response-verification.js +66 -24
  34. package/dist/signature-response-verification.js.map +1 -1
  35. package/dist/signet-contract-events.d.ts +6 -0
  36. package/dist/signet-contract-events.d.ts.map +1 -1
  37. package/dist/signet-contract-events.js +9 -7
  38. package/dist/signet-contract-events.js.map +1 -1
  39. package/dist/signet-evtype2tx-requests.d.ts +1 -1
  40. package/dist/signet-evtype2tx-requests.d.ts.map +1 -1
  41. package/dist/signet-evtype2tx-requests.js +2 -8
  42. package/dist/signet-evtype2tx-requests.js.map +1 -1
  43. package/dist/signet-request-id.d.ts +2 -2
  44. package/dist/signet-request-id.d.ts.map +1 -1
  45. package/dist/signet-request-id.js +18 -8
  46. package/dist/signet-request-id.js.map +1 -1
  47. package/dist/signet-request-response-reader.d.ts +51 -25
  48. package/dist/signet-request-response-reader.d.ts.map +1 -1
  49. package/dist/signet-request-response-reader.js +119 -71
  50. package/dist/signet-request-response-reader.js.map +1 -1
  51. package/dist/signet-requests.d.ts +18 -10
  52. package/dist/signet-requests.d.ts.map +1 -1
  53. package/dist/signet-requests.js +19 -10
  54. package/dist/signet-requests.js.map +1 -1
  55. package/dist/signet-tron-record-decoding.d.ts +11 -0
  56. package/dist/signet-tron-record-decoding.d.ts.map +1 -0
  57. package/dist/signet-tron-record-decoding.js +29 -0
  58. package/dist/signet-tron-record-decoding.js.map +1 -0
  59. package/dist/signet-tron-requests.d.ts +36 -0
  60. package/dist/signet-tron-requests.d.ts.map +1 -0
  61. package/dist/signet-tron-requests.js +76 -0
  62. package/dist/signet-tron-requests.js.map +1 -0
  63. package/dist/tron-transactions.d.ts +59 -0
  64. package/dist/tron-transactions.d.ts.map +1 -0
  65. package/dist/tron-transactions.js +195 -0
  66. package/dist/tron-transactions.js.map +1 -0
  67. package/dist/url-redaction.d.ts +11 -0
  68. package/dist/url-redaction.d.ts.map +1 -0
  69. package/dist/url-redaction.js +21 -0
  70. package/dist/url-redaction.js.map +1 -0
  71. package/package.json +2 -2
  72. package/src/Signet.compact +71 -1
  73. package/src/circuits.compact +38 -0
@@ -10,6 +10,8 @@ export var HashDomain;
10
10
  HashDomain[HashDomain['evmType2TxAccessEntry'] = 4] = 'evmType2TxAccessEntry';
11
11
  HashDomain[HashDomain['evmType2TxStorageKey'] = 5] = 'evmType2TxStorageKey';
12
12
  HashDomain[HashDomain['attestedOutput'] = 6] = 'attestedOutput';
13
+ HashDomain[HashDomain['tronTxHeader'] = 7] = 'tronTxHeader';
14
+ HashDomain[HashDomain['tronTxWord'] = 8] = 'tronTxWord';
13
15
  })(HashDomain || (HashDomain = {}));
14
16
 
15
17
  export var OutputKind;
@@ -43,113 +45,229 @@ const _descriptor_3 = new __compactRuntime.CompactTypeEnum(1, 1);
43
45
 
44
46
  const _descriptor_4 = new __compactRuntime.CompactTypeEnum(1, 1);
45
47
 
46
- const _descriptor_5 = new __compactRuntime.CompactTypeUnsignedInteger(18446744073709551615n, 8);
48
+ const _descriptor_5 = new __compactRuntime.CompactTypeBytes(2);
47
49
 
48
- const _descriptor_6 = new __compactRuntime.CompactTypeUnsignedInteger(340282366920938463463374607431768211455n, 16);
50
+ const _descriptor_6 = new __compactRuntime.CompactTypeBytes(8);
49
51
 
50
- const _descriptor_7 = new __compactRuntime.CompactTypeBytes(20);
52
+ const _descriptor_7 = new __compactRuntime.CompactTypeUnsignedInteger(18446744073709551615n, 8);
51
53
 
52
- const _descriptor_8 = __compactRuntime.CompactTypeBoolean;
54
+ const _descriptor_8 = new __compactRuntime.CompactTypeBytes(21);
53
55
 
54
- const _descriptor_9 = new __compactRuntime.CompactTypeBytes(4);
56
+ const _descriptor_9 = __compactRuntime.CompactTypeBoolean;
55
57
 
56
- const _descriptor_10 = new __compactRuntime.CompactTypeUnsignedInteger(65535n, 2);
58
+ const _descriptor_10 = new __compactRuntime.CompactTypeBytes(4);
57
59
 
58
- const _descriptor_11 = new __compactRuntime.CompactTypeVector(1, _descriptor_1);
60
+ const _descriptor_11 = new __compactRuntime.CompactTypeUnsignedInteger(65535n, 2);
61
+
62
+ const _descriptor_12 = new __compactRuntime.CompactTypeVector(1, _descriptor_1);
59
63
 
60
64
  class _EvmCalldata_0 {
61
65
  alignment() {
62
- return _descriptor_9.alignment().concat(_descriptor_10.alignment().concat(_descriptor_11.alignment()));
66
+ return _descriptor_10.alignment().concat(_descriptor_11.alignment().concat(_descriptor_12.alignment()));
63
67
  }
64
68
  fromValue(value_0) {
65
69
  return {
66
- selector: _descriptor_9.fromValue(value_0),
67
- noWords: _descriptor_10.fromValue(value_0),
68
- words: _descriptor_11.fromValue(value_0)
70
+ selector: _descriptor_10.fromValue(value_0),
71
+ noWords: _descriptor_11.fromValue(value_0),
72
+ words: _descriptor_12.fromValue(value_0)
69
73
  }
70
74
  }
71
75
  toValue(value_0) {
72
- return _descriptor_9.toValue(value_0.selector).concat(_descriptor_10.toValue(value_0.noWords).concat(_descriptor_11.toValue(value_0.words)));
76
+ return _descriptor_10.toValue(value_0.selector).concat(_descriptor_11.toValue(value_0.noWords).concat(_descriptor_12.toValue(value_0.words)));
73
77
  }
74
78
  }
75
79
 
76
- const _descriptor_12 = new _EvmCalldata_0();
80
+ const _descriptor_13 = new _EvmCalldata_0();
77
81
 
78
82
  class _Maybe_0 {
79
83
  alignment() {
80
- return _descriptor_8.alignment().concat(_descriptor_12.alignment());
84
+ return _descriptor_9.alignment().concat(_descriptor_13.alignment());
81
85
  }
82
86
  fromValue(value_0) {
83
87
  return {
84
- is_some: _descriptor_8.fromValue(value_0),
85
- value: _descriptor_12.fromValue(value_0)
88
+ is_some: _descriptor_9.fromValue(value_0),
89
+ value: _descriptor_13.fromValue(value_0)
86
90
  }
87
91
  }
88
92
  toValue(value_0) {
89
- return _descriptor_8.toValue(value_0.is_some).concat(_descriptor_12.toValue(value_0.value));
93
+ return _descriptor_9.toValue(value_0.is_some).concat(_descriptor_13.toValue(value_0.value));
90
94
  }
91
95
  }
92
96
 
93
- const _descriptor_13 = new _Maybe_0();
97
+ const _descriptor_14 = new _Maybe_0();
94
98
 
95
- const _descriptor_14 = new __compactRuntime.CompactTypeVector(0, _descriptor_1);
99
+ class _TronTxParams_0 {
100
+ alignment() {
101
+ return _descriptor_5.alignment().concat(_descriptor_6.alignment().concat(_descriptor_7.alignment().concat(_descriptor_7.alignment().concat(_descriptor_7.alignment().concat(_descriptor_8.alignment().concat(_descriptor_7.alignment().concat(_descriptor_14.alignment())))))));
102
+ }
103
+ fromValue(value_0) {
104
+ return {
105
+ refBlockBytes: _descriptor_5.fromValue(value_0),
106
+ refBlockHash: _descriptor_6.fromValue(value_0),
107
+ timestamp: _descriptor_7.fromValue(value_0),
108
+ expiration: _descriptor_7.fromValue(value_0),
109
+ feeLimit: _descriptor_7.fromValue(value_0),
110
+ contractAddress: _descriptor_8.fromValue(value_0),
111
+ callValue: _descriptor_7.fromValue(value_0),
112
+ calldata: _descriptor_14.fromValue(value_0)
113
+ }
114
+ }
115
+ toValue(value_0) {
116
+ return _descriptor_5.toValue(value_0.refBlockBytes).concat(_descriptor_6.toValue(value_0.refBlockHash).concat(_descriptor_7.toValue(value_0.timestamp).concat(_descriptor_7.toValue(value_0.expiration).concat(_descriptor_7.toValue(value_0.feeLimit).concat(_descriptor_8.toValue(value_0.contractAddress).concat(_descriptor_7.toValue(value_0.callValue).concat(_descriptor_14.toValue(value_0.calldata))))))));
117
+ }
118
+ }
96
119
 
97
- class _EvmAccessListEntry_0 {
120
+ const _descriptor_15 = new _TronTxParams_0();
121
+
122
+ const _descriptor_16 = new __compactRuntime.CompactTypeBytes(64);
123
+
124
+ const _descriptor_17 = new __compactRuntime.CompactTypeEnum(1, 1);
125
+
126
+ const _descriptor_18 = new __compactRuntime.CompactTypeBytes(34);
127
+
128
+ const _descriptor_19 = new __compactRuntime.CompactTypeBytes(0);
129
+
130
+ class _SignBidirectionalEventV1_0 {
98
131
  alignment() {
99
- return _descriptor_7.alignment().concat(_descriptor_0.alignment().concat(_descriptor_14.alignment()));
132
+ return _descriptor_0.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_3.alignment().concat(_descriptor_4.alignment().concat(_descriptor_15.alignment().concat(_descriptor_16.alignment().concat(_descriptor_17.alignment().concat(_descriptor_16.alignment().concat(_descriptor_18.alignment().concat(_descriptor_19.alignment()))))))))));
100
133
  }
101
134
  fromValue(value_0) {
102
135
  return {
103
- address: _descriptor_7.fromValue(value_0),
104
- storageKeyCount: _descriptor_0.fromValue(value_0),
105
- storageKeys: _descriptor_14.fromValue(value_0)
136
+ keyVersion: _descriptor_0.fromValue(value_0),
137
+ sender: _descriptor_2.fromValue(value_0),
138
+ path: _descriptor_1.fromValue(value_0),
139
+ algo: _descriptor_3.fromValue(value_0),
140
+ txParamType: _descriptor_4.fromValue(value_0),
141
+ txParams: _descriptor_15.fromValue(value_0),
142
+ executionDest: _descriptor_16.fromValue(value_0),
143
+ signatureDest: _descriptor_17.fromValue(value_0),
144
+ params: _descriptor_16.fromValue(value_0),
145
+ outputDeserializationSchema: _descriptor_18.fromValue(value_0),
146
+ respondSerializationSchema: _descriptor_19.fromValue(value_0)
106
147
  }
107
148
  }
108
149
  toValue(value_0) {
109
- return _descriptor_7.toValue(value_0.address).concat(_descriptor_0.toValue(value_0.storageKeyCount).concat(_descriptor_14.toValue(value_0.storageKeys)));
150
+ 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_15.toValue(value_0.txParams).concat(_descriptor_16.toValue(value_0.executionDest).concat(_descriptor_17.toValue(value_0.signatureDest).concat(_descriptor_16.toValue(value_0.params).concat(_descriptor_18.toValue(value_0.outputDeserializationSchema).concat(_descriptor_19.toValue(value_0.respondSerializationSchema)))))))))));
110
151
  }
111
152
  }
112
153
 
113
- const _descriptor_15 = new _EvmAccessListEntry_0();
154
+ const _descriptor_20 = new _SignBidirectionalEventV1_0();
114
155
 
115
- const _descriptor_16 = new __compactRuntime.CompactTypeVector(0, _descriptor_15);
156
+ const _descriptor_21 = new __compactRuntime.CompactTypeVector(2, _descriptor_1);
116
157
 
117
- class _EvmType2TxParams_0 {
158
+ class _EvmCalldata_1 {
118
159
  alignment() {
119
- 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())))))))));
160
+ return _descriptor_10.alignment().concat(_descriptor_11.alignment().concat(_descriptor_21.alignment()));
120
161
  }
121
162
  fromValue(value_0) {
122
163
  return {
123
- chainId: _descriptor_5.fromValue(value_0),
124
- nonce: _descriptor_5.fromValue(value_0),
125
- maxPriorityFeePerGas: _descriptor_6.fromValue(value_0),
126
- maxFeePerGas: _descriptor_6.fromValue(value_0),
127
- gasLimit: _descriptor_5.fromValue(value_0),
128
- to: _descriptor_7.fromValue(value_0),
129
- value: _descriptor_6.fromValue(value_0),
130
- calldata: _descriptor_13.fromValue(value_0),
131
- accessListEntryCount: _descriptor_0.fromValue(value_0),
132
- accessList: _descriptor_16.fromValue(value_0)
164
+ selector: _descriptor_10.fromValue(value_0),
165
+ noWords: _descriptor_11.fromValue(value_0),
166
+ words: _descriptor_21.fromValue(value_0)
167
+ }
168
+ }
169
+ toValue(value_0) {
170
+ return _descriptor_10.toValue(value_0.selector).concat(_descriptor_11.toValue(value_0.noWords).concat(_descriptor_21.toValue(value_0.words)));
171
+ }
172
+ }
173
+
174
+ const _descriptor_22 = new _EvmCalldata_1();
175
+
176
+ class _Maybe_1 {
177
+ alignment() {
178
+ return _descriptor_9.alignment().concat(_descriptor_22.alignment());
179
+ }
180
+ fromValue(value_0) {
181
+ return {
182
+ is_some: _descriptor_9.fromValue(value_0),
183
+ value: _descriptor_22.fromValue(value_0)
184
+ }
185
+ }
186
+ toValue(value_0) {
187
+ return _descriptor_9.toValue(value_0.is_some).concat(_descriptor_22.toValue(value_0.value));
188
+ }
189
+ }
190
+
191
+ const _descriptor_23 = new _Maybe_1();
192
+
193
+ class _TronTxParams_1 {
194
+ alignment() {
195
+ return _descriptor_5.alignment().concat(_descriptor_6.alignment().concat(_descriptor_7.alignment().concat(_descriptor_7.alignment().concat(_descriptor_7.alignment().concat(_descriptor_8.alignment().concat(_descriptor_7.alignment().concat(_descriptor_23.alignment())))))));
196
+ }
197
+ fromValue(value_0) {
198
+ return {
199
+ refBlockBytes: _descriptor_5.fromValue(value_0),
200
+ refBlockHash: _descriptor_6.fromValue(value_0),
201
+ timestamp: _descriptor_7.fromValue(value_0),
202
+ expiration: _descriptor_7.fromValue(value_0),
203
+ feeLimit: _descriptor_7.fromValue(value_0),
204
+ contractAddress: _descriptor_8.fromValue(value_0),
205
+ callValue: _descriptor_7.fromValue(value_0),
206
+ calldata: _descriptor_23.fromValue(value_0)
133
207
  }
134
208
  }
135
209
  toValue(value_0) {
136
- 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))))))))));
210
+ return _descriptor_5.toValue(value_0.refBlockBytes).concat(_descriptor_6.toValue(value_0.refBlockHash).concat(_descriptor_7.toValue(value_0.timestamp).concat(_descriptor_7.toValue(value_0.expiration).concat(_descriptor_7.toValue(value_0.feeLimit).concat(_descriptor_8.toValue(value_0.contractAddress).concat(_descriptor_7.toValue(value_0.callValue).concat(_descriptor_23.toValue(value_0.calldata))))))));
137
211
  }
138
212
  }
139
213
 
140
- const _descriptor_17 = new _EvmType2TxParams_0();
214
+ const _descriptor_24 = new _TronTxParams_1();
141
215
 
142
- const _descriptor_18 = new __compactRuntime.CompactTypeBytes(64);
216
+ class _SignBidirectionalEventV1_1 {
217
+ alignment() {
218
+ return _descriptor_0.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_3.alignment().concat(_descriptor_4.alignment().concat(_descriptor_24.alignment().concat(_descriptor_16.alignment().concat(_descriptor_17.alignment().concat(_descriptor_16.alignment().concat(_descriptor_18.alignment().concat(_descriptor_19.alignment()))))))))));
219
+ }
220
+ fromValue(value_0) {
221
+ return {
222
+ keyVersion: _descriptor_0.fromValue(value_0),
223
+ sender: _descriptor_2.fromValue(value_0),
224
+ path: _descriptor_1.fromValue(value_0),
225
+ algo: _descriptor_3.fromValue(value_0),
226
+ txParamType: _descriptor_4.fromValue(value_0),
227
+ txParams: _descriptor_24.fromValue(value_0),
228
+ executionDest: _descriptor_16.fromValue(value_0),
229
+ signatureDest: _descriptor_17.fromValue(value_0),
230
+ params: _descriptor_16.fromValue(value_0),
231
+ outputDeserializationSchema: _descriptor_18.fromValue(value_0),
232
+ respondSerializationSchema: _descriptor_19.fromValue(value_0)
233
+ }
234
+ }
235
+ toValue(value_0) {
236
+ 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_24.toValue(value_0.txParams).concat(_descriptor_16.toValue(value_0.executionDest).concat(_descriptor_17.toValue(value_0.signatureDest).concat(_descriptor_16.toValue(value_0.params).concat(_descriptor_18.toValue(value_0.outputDeserializationSchema).concat(_descriptor_19.toValue(value_0.respondSerializationSchema)))))))))));
237
+ }
238
+ }
143
239
 
144
- const _descriptor_19 = new __compactRuntime.CompactTypeEnum(1, 1);
240
+ const _descriptor_25 = new _SignBidirectionalEventV1_1();
145
241
 
146
- const _descriptor_20 = new __compactRuntime.CompactTypeBytes(34);
242
+ class _SignBidirectionalEventV1_2 {
243
+ alignment() {
244
+ return _descriptor_0.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_3.alignment().concat(_descriptor_4.alignment().concat(_descriptor_15.alignment().concat(_descriptor_16.alignment().concat(_descriptor_17.alignment().concat(_descriptor_16.alignment().concat(_descriptor_19.alignment().concat(_descriptor_19.alignment()))))))))));
245
+ }
246
+ fromValue(value_0) {
247
+ return {
248
+ keyVersion: _descriptor_0.fromValue(value_0),
249
+ sender: _descriptor_2.fromValue(value_0),
250
+ path: _descriptor_1.fromValue(value_0),
251
+ algo: _descriptor_3.fromValue(value_0),
252
+ txParamType: _descriptor_4.fromValue(value_0),
253
+ txParams: _descriptor_15.fromValue(value_0),
254
+ executionDest: _descriptor_16.fromValue(value_0),
255
+ signatureDest: _descriptor_17.fromValue(value_0),
256
+ params: _descriptor_16.fromValue(value_0),
257
+ outputDeserializationSchema: _descriptor_19.fromValue(value_0),
258
+ respondSerializationSchema: _descriptor_19.fromValue(value_0)
259
+ }
260
+ }
261
+ toValue(value_0) {
262
+ 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_15.toValue(value_0.txParams).concat(_descriptor_16.toValue(value_0.executionDest).concat(_descriptor_17.toValue(value_0.signatureDest).concat(_descriptor_16.toValue(value_0.params).concat(_descriptor_19.toValue(value_0.outputDeserializationSchema).concat(_descriptor_19.toValue(value_0.respondSerializationSchema)))))))))));
263
+ }
264
+ }
147
265
 
148
- const _descriptor_21 = new __compactRuntime.CompactTypeBytes(0);
266
+ const _descriptor_26 = new _SignBidirectionalEventV1_2();
149
267
 
150
- class _SignBidirectionalEventV1_0 {
268
+ class _SignBidirectionalEventV1_3 {
151
269
  alignment() {
152
- 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_18.alignment().concat(_descriptor_19.alignment().concat(_descriptor_18.alignment().concat(_descriptor_20.alignment().concat(_descriptor_21.alignment()))))))))));
270
+ return _descriptor_0.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_3.alignment().concat(_descriptor_4.alignment().concat(_descriptor_24.alignment().concat(_descriptor_16.alignment().concat(_descriptor_17.alignment().concat(_descriptor_16.alignment().concat(_descriptor_19.alignment().concat(_descriptor_19.alignment()))))))))));
153
271
  }
154
272
  fromValue(value_0) {
155
273
  return {
@@ -158,22 +276,22 @@ class _SignBidirectionalEventV1_0 {
158
276
  path: _descriptor_1.fromValue(value_0),
159
277
  algo: _descriptor_3.fromValue(value_0),
160
278
  txParamType: _descriptor_4.fromValue(value_0),
161
- txParams: _descriptor_17.fromValue(value_0),
162
- executionDest: _descriptor_18.fromValue(value_0),
163
- signatureDest: _descriptor_19.fromValue(value_0),
164
- params: _descriptor_18.fromValue(value_0),
165
- outputDeserializationSchema: _descriptor_20.fromValue(value_0),
166
- respondSerializationSchema: _descriptor_21.fromValue(value_0)
279
+ txParams: _descriptor_24.fromValue(value_0),
280
+ executionDest: _descriptor_16.fromValue(value_0),
281
+ signatureDest: _descriptor_17.fromValue(value_0),
282
+ params: _descriptor_16.fromValue(value_0),
283
+ outputDeserializationSchema: _descriptor_19.fromValue(value_0),
284
+ respondSerializationSchema: _descriptor_19.fromValue(value_0)
167
285
  }
168
286
  }
169
287
  toValue(value_0) {
170
- 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_18.toValue(value_0.executionDest).concat(_descriptor_19.toValue(value_0.signatureDest).concat(_descriptor_18.toValue(value_0.params).concat(_descriptor_20.toValue(value_0.outputDeserializationSchema).concat(_descriptor_21.toValue(value_0.respondSerializationSchema)))))))))));
288
+ 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_24.toValue(value_0.txParams).concat(_descriptor_16.toValue(value_0.executionDest).concat(_descriptor_17.toValue(value_0.signatureDest).concat(_descriptor_16.toValue(value_0.params).concat(_descriptor_19.toValue(value_0.outputDeserializationSchema).concat(_descriptor_19.toValue(value_0.respondSerializationSchema)))))))))));
171
289
  }
172
290
  }
173
291
 
174
- const _descriptor_22 = new _SignBidirectionalEventV1_0();
292
+ const _descriptor_27 = new _SignBidirectionalEventV1_3();
175
293
 
176
- const _descriptor_23 = new __compactRuntime.CompactTypeEnum(2, 1);
294
+ const _descriptor_28 = new __compactRuntime.CompactTypeEnum(2, 1);
177
295
 
178
296
  class _AffinePoint_0 {
179
297
  alignment() {
@@ -190,135 +308,175 @@ class _AffinePoint_0 {
190
308
  }
191
309
  }
192
310
 
193
- const _descriptor_24 = new _AffinePoint_0();
311
+ const _descriptor_29 = new _AffinePoint_0();
194
312
 
195
313
  class _Signature_0 {
196
314
  alignment() {
197
- return _descriptor_24.alignment().concat(_descriptor_1.alignment().concat(_descriptor_0.alignment()));
315
+ return _descriptor_29.alignment().concat(_descriptor_1.alignment().concat(_descriptor_0.alignment()));
198
316
  }
199
317
  fromValue(value_0) {
200
318
  return {
201
- bigR: _descriptor_24.fromValue(value_0),
319
+ bigR: _descriptor_29.fromValue(value_0),
202
320
  s: _descriptor_1.fromValue(value_0),
203
321
  recoveryId: _descriptor_0.fromValue(value_0)
204
322
  }
205
323
  }
206
324
  toValue(value_0) {
207
- return _descriptor_24.toValue(value_0.bigR).concat(_descriptor_1.toValue(value_0.s).concat(_descriptor_0.toValue(value_0.recoveryId)));
325
+ return _descriptor_29.toValue(value_0.bigR).concat(_descriptor_1.toValue(value_0.s).concat(_descriptor_0.toValue(value_0.recoveryId)));
208
326
  }
209
327
  }
210
328
 
211
- const _descriptor_25 = new _Signature_0();
329
+ const _descriptor_30 = new _Signature_0();
212
330
 
213
331
  class _RespondBidirectionalEventV1_0 {
214
332
  alignment() {
215
- return _descriptor_1.alignment().concat(_descriptor_5.alignment().concat(_descriptor_23.alignment().concat(_descriptor_5.alignment().concat(_descriptor_1.alignment().concat(_descriptor_1.alignment().concat(_descriptor_25.alignment()))))));
333
+ return _descriptor_1.alignment().concat(_descriptor_7.alignment().concat(_descriptor_28.alignment().concat(_descriptor_7.alignment().concat(_descriptor_1.alignment().concat(_descriptor_1.alignment().concat(_descriptor_30.alignment()))))));
216
334
  }
217
335
  fromValue(value_0) {
218
336
  return {
219
337
  requestId: _descriptor_1.fromValue(value_0),
220
- blockHeight: _descriptor_5.fromValue(value_0),
221
- outputKind: _descriptor_23.fromValue(value_0),
222
- serializedOutputLength: _descriptor_5.fromValue(value_0),
338
+ blockHeight: _descriptor_7.fromValue(value_0),
339
+ outputKind: _descriptor_28.fromValue(value_0),
340
+ serializedOutputLength: _descriptor_7.fromValue(value_0),
223
341
  outputHash: _descriptor_1.fromValue(value_0),
224
342
  digest: _descriptor_1.fromValue(value_0),
225
- signature: _descriptor_25.fromValue(value_0)
343
+ signature: _descriptor_30.fromValue(value_0)
226
344
  }
227
345
  }
228
346
  toValue(value_0) {
229
- 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.outputHash).concat(_descriptor_1.toValue(value_0.digest).concat(_descriptor_25.toValue(value_0.signature)))))));
347
+ return _descriptor_1.toValue(value_0.requestId).concat(_descriptor_7.toValue(value_0.blockHeight).concat(_descriptor_28.toValue(value_0.outputKind).concat(_descriptor_7.toValue(value_0.serializedOutputLength).concat(_descriptor_1.toValue(value_0.outputHash).concat(_descriptor_1.toValue(value_0.digest).concat(_descriptor_30.toValue(value_0.signature)))))));
230
348
  }
231
349
  }
232
350
 
233
- const _descriptor_26 = new _RespondBidirectionalEventV1_0();
351
+ const _descriptor_31 = new _RespondBidirectionalEventV1_0();
234
352
 
235
- const _descriptor_27 = __compactRuntime.CompactTypeSecp256k1Point;
353
+ const _descriptor_32 = __compactRuntime.CompactTypeSecp256k1Point;
236
354
 
237
- const _descriptor_28 = new __compactRuntime.CompactTypeVector(2, _descriptor_1);
355
+ const _descriptor_33 = new __compactRuntime.CompactTypeUnsignedInteger(340282366920938463463374607431768211455n, 16);
238
356
 
239
- class _EvmCalldata_1 {
357
+ const _descriptor_34 = new __compactRuntime.CompactTypeBytes(20);
358
+
359
+ const _descriptor_35 = new __compactRuntime.CompactTypeVector(0, _descriptor_1);
360
+
361
+ class _EvmAccessListEntry_0 {
240
362
  alignment() {
241
- return _descriptor_9.alignment().concat(_descriptor_10.alignment().concat(_descriptor_28.alignment()));
363
+ return _descriptor_34.alignment().concat(_descriptor_0.alignment().concat(_descriptor_35.alignment()));
242
364
  }
243
365
  fromValue(value_0) {
244
366
  return {
245
- selector: _descriptor_9.fromValue(value_0),
246
- noWords: _descriptor_10.fromValue(value_0),
247
- words: _descriptor_28.fromValue(value_0)
367
+ address: _descriptor_34.fromValue(value_0),
368
+ storageKeyCount: _descriptor_0.fromValue(value_0),
369
+ storageKeys: _descriptor_35.fromValue(value_0)
248
370
  }
249
371
  }
250
372
  toValue(value_0) {
251
- return _descriptor_9.toValue(value_0.selector).concat(_descriptor_10.toValue(value_0.noWords).concat(_descriptor_28.toValue(value_0.words)));
373
+ return _descriptor_34.toValue(value_0.address).concat(_descriptor_0.toValue(value_0.storageKeyCount).concat(_descriptor_35.toValue(value_0.storageKeys)));
252
374
  }
253
375
  }
254
376
 
255
- const _descriptor_29 = new _EvmCalldata_1();
377
+ const _descriptor_36 = new _EvmAccessListEntry_0();
256
378
 
257
- class _Maybe_1 {
379
+ const _descriptor_37 = new __compactRuntime.CompactTypeVector(0, _descriptor_36);
380
+
381
+ class _EvmType2TxParams_0 {
258
382
  alignment() {
259
- return _descriptor_8.alignment().concat(_descriptor_29.alignment());
383
+ return _descriptor_7.alignment().concat(_descriptor_7.alignment().concat(_descriptor_33.alignment().concat(_descriptor_33.alignment().concat(_descriptor_7.alignment().concat(_descriptor_34.alignment().concat(_descriptor_33.alignment().concat(_descriptor_14.alignment().concat(_descriptor_0.alignment().concat(_descriptor_37.alignment())))))))));
260
384
  }
261
385
  fromValue(value_0) {
262
386
  return {
263
- is_some: _descriptor_8.fromValue(value_0),
264
- value: _descriptor_29.fromValue(value_0)
387
+ chainId: _descriptor_7.fromValue(value_0),
388
+ nonce: _descriptor_7.fromValue(value_0),
389
+ maxPriorityFeePerGas: _descriptor_33.fromValue(value_0),
390
+ maxFeePerGas: _descriptor_33.fromValue(value_0),
391
+ gasLimit: _descriptor_7.fromValue(value_0),
392
+ to: _descriptor_34.fromValue(value_0),
393
+ value: _descriptor_33.fromValue(value_0),
394
+ calldata: _descriptor_14.fromValue(value_0),
395
+ accessListEntryCount: _descriptor_0.fromValue(value_0),
396
+ accessList: _descriptor_37.fromValue(value_0)
265
397
  }
266
398
  }
267
399
  toValue(value_0) {
268
- return _descriptor_8.toValue(value_0.is_some).concat(_descriptor_29.toValue(value_0.value));
400
+ return _descriptor_7.toValue(value_0.chainId).concat(_descriptor_7.toValue(value_0.nonce).concat(_descriptor_33.toValue(value_0.maxPriorityFeePerGas).concat(_descriptor_33.toValue(value_0.maxFeePerGas).concat(_descriptor_7.toValue(value_0.gasLimit).concat(_descriptor_34.toValue(value_0.to).concat(_descriptor_33.toValue(value_0.value).concat(_descriptor_14.toValue(value_0.calldata).concat(_descriptor_0.toValue(value_0.accessListEntryCount).concat(_descriptor_37.toValue(value_0.accessList))))))))));
269
401
  }
270
402
  }
271
403
 
272
- const _descriptor_30 = new _Maybe_1();
404
+ const _descriptor_38 = new _EvmType2TxParams_0();
405
+
406
+ class _SignBidirectionalEventV1_4 {
407
+ alignment() {
408
+ return _descriptor_0.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_3.alignment().concat(_descriptor_4.alignment().concat(_descriptor_38.alignment().concat(_descriptor_16.alignment().concat(_descriptor_17.alignment().concat(_descriptor_16.alignment().concat(_descriptor_18.alignment().concat(_descriptor_19.alignment()))))))))));
409
+ }
410
+ fromValue(value_0) {
411
+ return {
412
+ keyVersion: _descriptor_0.fromValue(value_0),
413
+ sender: _descriptor_2.fromValue(value_0),
414
+ path: _descriptor_1.fromValue(value_0),
415
+ algo: _descriptor_3.fromValue(value_0),
416
+ txParamType: _descriptor_4.fromValue(value_0),
417
+ txParams: _descriptor_38.fromValue(value_0),
418
+ executionDest: _descriptor_16.fromValue(value_0),
419
+ signatureDest: _descriptor_17.fromValue(value_0),
420
+ params: _descriptor_16.fromValue(value_0),
421
+ outputDeserializationSchema: _descriptor_18.fromValue(value_0),
422
+ respondSerializationSchema: _descriptor_19.fromValue(value_0)
423
+ }
424
+ }
425
+ toValue(value_0) {
426
+ 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_38.toValue(value_0.txParams).concat(_descriptor_16.toValue(value_0.executionDest).concat(_descriptor_17.toValue(value_0.signatureDest).concat(_descriptor_16.toValue(value_0.params).concat(_descriptor_18.toValue(value_0.outputDeserializationSchema).concat(_descriptor_19.toValue(value_0.respondSerializationSchema)))))))))));
427
+ }
428
+ }
429
+
430
+ const _descriptor_39 = new _SignBidirectionalEventV1_4();
273
431
 
274
432
  class _EvmAccessListEntry_1 {
275
433
  alignment() {
276
- return _descriptor_7.alignment().concat(_descriptor_0.alignment().concat(_descriptor_28.alignment()));
434
+ return _descriptor_34.alignment().concat(_descriptor_0.alignment().concat(_descriptor_21.alignment()));
277
435
  }
278
436
  fromValue(value_0) {
279
437
  return {
280
- address: _descriptor_7.fromValue(value_0),
438
+ address: _descriptor_34.fromValue(value_0),
281
439
  storageKeyCount: _descriptor_0.fromValue(value_0),
282
- storageKeys: _descriptor_28.fromValue(value_0)
440
+ storageKeys: _descriptor_21.fromValue(value_0)
283
441
  }
284
442
  }
285
443
  toValue(value_0) {
286
- return _descriptor_7.toValue(value_0.address).concat(_descriptor_0.toValue(value_0.storageKeyCount).concat(_descriptor_28.toValue(value_0.storageKeys)));
444
+ return _descriptor_34.toValue(value_0.address).concat(_descriptor_0.toValue(value_0.storageKeyCount).concat(_descriptor_21.toValue(value_0.storageKeys)));
287
445
  }
288
446
  }
289
447
 
290
- const _descriptor_31 = new _EvmAccessListEntry_1();
448
+ const _descriptor_40 = new _EvmAccessListEntry_1();
291
449
 
292
- const _descriptor_32 = new __compactRuntime.CompactTypeVector(1, _descriptor_31);
450
+ const _descriptor_41 = new __compactRuntime.CompactTypeVector(1, _descriptor_40);
293
451
 
294
452
  class _EvmType2TxParams_1 {
295
453
  alignment() {
296
- 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())))))))));
454
+ return _descriptor_7.alignment().concat(_descriptor_7.alignment().concat(_descriptor_33.alignment().concat(_descriptor_33.alignment().concat(_descriptor_7.alignment().concat(_descriptor_34.alignment().concat(_descriptor_33.alignment().concat(_descriptor_23.alignment().concat(_descriptor_0.alignment().concat(_descriptor_41.alignment())))))))));
297
455
  }
298
456
  fromValue(value_0) {
299
457
  return {
300
- chainId: _descriptor_5.fromValue(value_0),
301
- nonce: _descriptor_5.fromValue(value_0),
302
- maxPriorityFeePerGas: _descriptor_6.fromValue(value_0),
303
- maxFeePerGas: _descriptor_6.fromValue(value_0),
304
- gasLimit: _descriptor_5.fromValue(value_0),
305
- to: _descriptor_7.fromValue(value_0),
306
- value: _descriptor_6.fromValue(value_0),
307
- calldata: _descriptor_30.fromValue(value_0),
458
+ chainId: _descriptor_7.fromValue(value_0),
459
+ nonce: _descriptor_7.fromValue(value_0),
460
+ maxPriorityFeePerGas: _descriptor_33.fromValue(value_0),
461
+ maxFeePerGas: _descriptor_33.fromValue(value_0),
462
+ gasLimit: _descriptor_7.fromValue(value_0),
463
+ to: _descriptor_34.fromValue(value_0),
464
+ value: _descriptor_33.fromValue(value_0),
465
+ calldata: _descriptor_23.fromValue(value_0),
308
466
  accessListEntryCount: _descriptor_0.fromValue(value_0),
309
- accessList: _descriptor_32.fromValue(value_0)
467
+ accessList: _descriptor_41.fromValue(value_0)
310
468
  }
311
469
  }
312
470
  toValue(value_0) {
313
- 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))))))))));
471
+ return _descriptor_7.toValue(value_0.chainId).concat(_descriptor_7.toValue(value_0.nonce).concat(_descriptor_33.toValue(value_0.maxPriorityFeePerGas).concat(_descriptor_33.toValue(value_0.maxFeePerGas).concat(_descriptor_7.toValue(value_0.gasLimit).concat(_descriptor_34.toValue(value_0.to).concat(_descriptor_33.toValue(value_0.value).concat(_descriptor_23.toValue(value_0.calldata).concat(_descriptor_0.toValue(value_0.accessListEntryCount).concat(_descriptor_41.toValue(value_0.accessList))))))))));
314
472
  }
315
473
  }
316
474
 
317
- const _descriptor_33 = new _EvmType2TxParams_1();
475
+ const _descriptor_42 = new _EvmType2TxParams_1();
318
476
 
319
- class _SignBidirectionalEventV1_1 {
477
+ class _SignBidirectionalEventV1_5 {
320
478
  alignment() {
321
- 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_18.alignment().concat(_descriptor_19.alignment().concat(_descriptor_18.alignment().concat(_descriptor_20.alignment().concat(_descriptor_21.alignment()))))))))));
479
+ return _descriptor_0.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_3.alignment().concat(_descriptor_4.alignment().concat(_descriptor_42.alignment().concat(_descriptor_16.alignment().concat(_descriptor_17.alignment().concat(_descriptor_16.alignment().concat(_descriptor_18.alignment().concat(_descriptor_19.alignment()))))))))));
322
480
  }
323
481
  fromValue(value_0) {
324
482
  return {
@@ -327,300 +485,324 @@ class _SignBidirectionalEventV1_1 {
327
485
  path: _descriptor_1.fromValue(value_0),
328
486
  algo: _descriptor_3.fromValue(value_0),
329
487
  txParamType: _descriptor_4.fromValue(value_0),
330
- txParams: _descriptor_33.fromValue(value_0),
331
- executionDest: _descriptor_18.fromValue(value_0),
332
- signatureDest: _descriptor_19.fromValue(value_0),
333
- params: _descriptor_18.fromValue(value_0),
334
- outputDeserializationSchema: _descriptor_20.fromValue(value_0),
335
- respondSerializationSchema: _descriptor_21.fromValue(value_0)
488
+ txParams: _descriptor_42.fromValue(value_0),
489
+ executionDest: _descriptor_16.fromValue(value_0),
490
+ signatureDest: _descriptor_17.fromValue(value_0),
491
+ params: _descriptor_16.fromValue(value_0),
492
+ outputDeserializationSchema: _descriptor_18.fromValue(value_0),
493
+ respondSerializationSchema: _descriptor_19.fromValue(value_0)
336
494
  }
337
495
  }
338
496
  toValue(value_0) {
339
- 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_18.toValue(value_0.executionDest).concat(_descriptor_19.toValue(value_0.signatureDest).concat(_descriptor_18.toValue(value_0.params).concat(_descriptor_20.toValue(value_0.outputDeserializationSchema).concat(_descriptor_21.toValue(value_0.respondSerializationSchema)))))))))));
497
+ 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_42.toValue(value_0.txParams).concat(_descriptor_16.toValue(value_0.executionDest).concat(_descriptor_17.toValue(value_0.signatureDest).concat(_descriptor_16.toValue(value_0.params).concat(_descriptor_18.toValue(value_0.outputDeserializationSchema).concat(_descriptor_19.toValue(value_0.respondSerializationSchema)))))))))));
340
498
  }
341
499
  }
342
500
 
343
- const _descriptor_34 = new _SignBidirectionalEventV1_1();
501
+ const _descriptor_43 = new _SignBidirectionalEventV1_5();
344
502
 
345
- const _descriptor_35 = new __compactRuntime.CompactTypeBytes(1);
503
+ const _descriptor_44 = new __compactRuntime.CompactTypeBytes(100);
346
504
 
347
- const _descriptor_36 = new __compactRuntime.CompactTypeBytes(2);
505
+ const _descriptor_45 = new __compactRuntime.CompactTypeBytes(1);
348
506
 
349
- const _descriptor_37 = new __compactRuntime.CompactTypeBytes(100);
350
-
351
- const _descriptor_38 = new __compactRuntime.CompactTypeVector(4, _descriptor_0);
352
-
353
- const _descriptor_39 = new __compactRuntime.CompactTypeBytes(128);
354
-
355
- class _SignBidirectionalEventNotification_0 {
507
+ class _RequestIdPreimageV1_0 {
356
508
  alignment() {
357
- return _descriptor_0.alignment().concat(_descriptor_39.alignment());
509
+ 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_16.alignment()))))));
358
510
  }
359
511
  fromValue(value_0) {
360
512
  return {
361
- version: _descriptor_0.fromValue(value_0),
362
- payload: _descriptor_39.fromValue(value_0)
513
+ keyVersion: _descriptor_0.fromValue(value_0),
514
+ sender: _descriptor_2.fromValue(value_0),
515
+ path: _descriptor_1.fromValue(value_0),
516
+ algo: _descriptor_3.fromValue(value_0),
517
+ txParamType: _descriptor_4.fromValue(value_0),
518
+ txParamsDigest: _descriptor_1.fromValue(value_0),
519
+ executionDest: _descriptor_16.fromValue(value_0)
363
520
  }
364
521
  }
365
522
  toValue(value_0) {
366
- return _descriptor_0.toValue(value_0.version).concat(_descriptor_39.toValue(value_0.payload));
523
+ 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_16.toValue(value_0.executionDest)))))));
367
524
  }
368
525
  }
369
526
 
370
- const _descriptor_40 = new _SignBidirectionalEventNotification_0();
527
+ const _descriptor_46 = new _RequestIdPreimageV1_0();
371
528
 
372
- class _RequestIdPreimageV1_0 {
529
+ const _descriptor_47 = new __compactRuntime.CompactTypeVector(4, _descriptor_0);
530
+
531
+ const _descriptor_48 = new __compactRuntime.CompactTypeBytes(128);
532
+
533
+ class _SignBidirectionalEventNotification_0 {
373
534
  alignment() {
374
- 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_18.alignment()))))));
535
+ return _descriptor_0.alignment().concat(_descriptor_48.alignment());
375
536
  }
376
537
  fromValue(value_0) {
377
538
  return {
378
- keyVersion: _descriptor_0.fromValue(value_0),
379
- sender: _descriptor_2.fromValue(value_0),
380
- path: _descriptor_1.fromValue(value_0),
381
- algo: _descriptor_3.fromValue(value_0),
382
- txParamType: _descriptor_4.fromValue(value_0),
383
- txParamsDigest: _descriptor_1.fromValue(value_0),
384
- executionDest: _descriptor_18.fromValue(value_0)
539
+ version: _descriptor_0.fromValue(value_0),
540
+ payload: _descriptor_48.fromValue(value_0)
385
541
  }
386
542
  }
387
543
  toValue(value_0) {
388
- 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_18.toValue(value_0.executionDest)))))));
544
+ return _descriptor_0.toValue(value_0.version).concat(_descriptor_48.toValue(value_0.payload));
389
545
  }
390
546
  }
391
547
 
392
- const _descriptor_41 = new _RequestIdPreimageV1_0();
393
-
394
- const _descriptor_42 = __compactRuntime.CompactTypeSecp256k1Scalar;
548
+ const _descriptor_49 = new _SignBidirectionalEventNotification_0();
395
549
 
396
- const _descriptor_43 = __compactRuntime.CompactTypeSecp256k1Base;
550
+ const _descriptor_50 = __compactRuntime.CompactTypeSecp256k1Scalar;
397
551
 
398
- const _descriptor_44 = __compactRuntime.CompactTypeField;
552
+ const _descriptor_51 = __compactRuntime.CompactTypeSecp256k1Base;
399
553
 
400
- const _descriptor_45 = new __compactRuntime.CompactTypeEnum(6, 1);
554
+ const _descriptor_52 = new __compactRuntime.CompactTypeEnum(8, 1);
401
555
 
402
556
  class _tuple_0 {
403
557
  alignment() {
404
- return _descriptor_45.alignment().concat(_descriptor_41.alignment());
558
+ return _descriptor_52.alignment().concat(_descriptor_1.alignment().concat(_descriptor_7.alignment().concat(_descriptor_28.alignment().concat(_descriptor_7.alignment().concat(_descriptor_1.alignment())))));
405
559
  }
406
560
  fromValue(value_0) {
407
561
  return [
408
- _descriptor_45.fromValue(value_0),
409
- _descriptor_41.fromValue(value_0)
562
+ _descriptor_52.fromValue(value_0),
563
+ _descriptor_1.fromValue(value_0),
564
+ _descriptor_7.fromValue(value_0),
565
+ _descriptor_28.fromValue(value_0),
566
+ _descriptor_7.fromValue(value_0),
567
+ _descriptor_1.fromValue(value_0)
410
568
  ]
411
569
  }
412
570
  toValue(value_0) {
413
- return _descriptor_45.toValue(value_0[0]).concat(_descriptor_41.toValue(value_0[1]));
571
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]).concat(_descriptor_7.toValue(value_0[2]).concat(_descriptor_28.toValue(value_0[3]).concat(_descriptor_7.toValue(value_0[4]).concat(_descriptor_1.toValue(value_0[5]))))));
414
572
  }
415
573
  }
416
574
 
417
- const _descriptor_46 = new _tuple_0();
575
+ const _descriptor_53 = new _tuple_0();
576
+
577
+ const _descriptor_54 = __compactRuntime.CompactTypeField;
418
578
 
419
579
  class _tuple_1 {
420
580
  alignment() {
421
- return _descriptor_45.alignment().concat(_descriptor_1.alignment().concat(_descriptor_5.alignment().concat(_descriptor_23.alignment().concat(_descriptor_5.alignment().concat(_descriptor_1.alignment())))));
581
+ return _descriptor_52.alignment().concat(_descriptor_54.alignment().concat(_descriptor_1.alignment()));
422
582
  }
423
583
  fromValue(value_0) {
424
584
  return [
425
- _descriptor_45.fromValue(value_0),
426
- _descriptor_1.fromValue(value_0),
427
- _descriptor_5.fromValue(value_0),
428
- _descriptor_23.fromValue(value_0),
429
- _descriptor_5.fromValue(value_0),
585
+ _descriptor_52.fromValue(value_0),
586
+ _descriptor_54.fromValue(value_0),
430
587
  _descriptor_1.fromValue(value_0)
431
588
  ]
432
589
  }
433
590
  toValue(value_0) {
434
- return _descriptor_45.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]))))));
591
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_54.toValue(value_0[1]).concat(_descriptor_1.toValue(value_0[2])));
435
592
  }
436
593
  }
437
594
 
438
- const _descriptor_47 = new _tuple_1();
595
+ const _descriptor_55 = new _tuple_1();
439
596
 
440
597
  class _tuple_2 {
441
598
  alignment() {
442
- return _descriptor_45.alignment().concat(_descriptor_21.alignment());
599
+ return _descriptor_52.alignment().concat(_descriptor_46.alignment());
443
600
  }
444
601
  fromValue(value_0) {
445
602
  return [
446
- _descriptor_45.fromValue(value_0),
447
- _descriptor_21.fromValue(value_0)
603
+ _descriptor_52.fromValue(value_0),
604
+ _descriptor_46.fromValue(value_0)
448
605
  ]
449
606
  }
450
607
  toValue(value_0) {
451
- return _descriptor_45.toValue(value_0[0]).concat(_descriptor_21.toValue(value_0[1]));
608
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_46.toValue(value_0[1]));
452
609
  }
453
610
  }
454
611
 
455
- const _descriptor_48 = new _tuple_2();
612
+ const _descriptor_56 = new _tuple_2();
456
613
 
457
614
  class _tuple_3 {
458
615
  alignment() {
459
- return _descriptor_45.alignment().concat(_descriptor_1.alignment());
616
+ return _descriptor_52.alignment().concat(_descriptor_1.alignment());
460
617
  }
461
618
  fromValue(value_0) {
462
619
  return [
463
- _descriptor_45.fromValue(value_0),
620
+ _descriptor_52.fromValue(value_0),
464
621
  _descriptor_1.fromValue(value_0)
465
622
  ]
466
623
  }
467
624
  toValue(value_0) {
468
- return _descriptor_45.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]));
625
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]));
469
626
  }
470
627
  }
471
628
 
472
- const _descriptor_49 = new _tuple_3();
629
+ const _descriptor_57 = new _tuple_3();
473
630
 
474
631
  class _tuple_4 {
475
632
  alignment() {
476
- return _descriptor_45.alignment().concat(_descriptor_44.alignment().concat(_descriptor_1.alignment()));
633
+ return _descriptor_52.alignment().concat(_descriptor_5.alignment().concat(_descriptor_6.alignment().concat(_descriptor_7.alignment().concat(_descriptor_7.alignment().concat(_descriptor_7.alignment().concat(_descriptor_8.alignment().concat(_descriptor_7.alignment().concat(_descriptor_9.alignment().concat(_descriptor_10.alignment().concat(_descriptor_11.alignment()))))))))));
477
634
  }
478
635
  fromValue(value_0) {
479
636
  return [
480
- _descriptor_45.fromValue(value_0),
481
- _descriptor_44.fromValue(value_0),
482
- _descriptor_1.fromValue(value_0)
637
+ _descriptor_52.fromValue(value_0),
638
+ _descriptor_5.fromValue(value_0),
639
+ _descriptor_6.fromValue(value_0),
640
+ _descriptor_7.fromValue(value_0),
641
+ _descriptor_7.fromValue(value_0),
642
+ _descriptor_7.fromValue(value_0),
643
+ _descriptor_8.fromValue(value_0),
644
+ _descriptor_7.fromValue(value_0),
645
+ _descriptor_9.fromValue(value_0),
646
+ _descriptor_10.fromValue(value_0),
647
+ _descriptor_11.fromValue(value_0)
483
648
  ]
484
649
  }
485
650
  toValue(value_0) {
486
- return _descriptor_45.toValue(value_0[0]).concat(_descriptor_44.toValue(value_0[1]).concat(_descriptor_1.toValue(value_0[2])));
651
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_5.toValue(value_0[1]).concat(_descriptor_6.toValue(value_0[2]).concat(_descriptor_7.toValue(value_0[3]).concat(_descriptor_7.toValue(value_0[4]).concat(_descriptor_7.toValue(value_0[5]).concat(_descriptor_8.toValue(value_0[6]).concat(_descriptor_7.toValue(value_0[7]).concat(_descriptor_9.toValue(value_0[8]).concat(_descriptor_10.toValue(value_0[9]).concat(_descriptor_11.toValue(value_0[10])))))))))));
487
652
  }
488
653
  }
489
654
 
490
- const _descriptor_50 = new _tuple_4();
655
+ const _descriptor_58 = new _tuple_4();
491
656
 
492
657
  class _tuple_5 {
493
658
  alignment() {
494
- return _descriptor_45.alignment().concat(_descriptor_44.alignment().concat(_descriptor_7.alignment().concat(_descriptor_0.alignment().concat(_descriptor_44.alignment()))));
659
+ return _descriptor_52.alignment().concat(_descriptor_54.alignment().concat(_descriptor_34.alignment().concat(_descriptor_0.alignment().concat(_descriptor_54.alignment()))));
495
660
  }
496
661
  fromValue(value_0) {
497
662
  return [
498
- _descriptor_45.fromValue(value_0),
499
- _descriptor_44.fromValue(value_0),
500
- _descriptor_7.fromValue(value_0),
663
+ _descriptor_52.fromValue(value_0),
664
+ _descriptor_54.fromValue(value_0),
665
+ _descriptor_34.fromValue(value_0),
501
666
  _descriptor_0.fromValue(value_0),
502
- _descriptor_44.fromValue(value_0)
667
+ _descriptor_54.fromValue(value_0)
503
668
  ]
504
669
  }
505
670
  toValue(value_0) {
506
- return _descriptor_45.toValue(value_0[0]).concat(_descriptor_44.toValue(value_0[1]).concat(_descriptor_7.toValue(value_0[2]).concat(_descriptor_0.toValue(value_0[3]).concat(_descriptor_44.toValue(value_0[4])))));
671
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_54.toValue(value_0[1]).concat(_descriptor_34.toValue(value_0[2]).concat(_descriptor_0.toValue(value_0[3]).concat(_descriptor_54.toValue(value_0[4])))));
507
672
  }
508
673
  }
509
674
 
510
- const _descriptor_51 = new _tuple_5();
675
+ const _descriptor_59 = new _tuple_5();
511
676
 
512
677
  class _tuple_6 {
513
678
  alignment() {
514
- return _descriptor_45.alignment().concat(_descriptor_36.alignment());
679
+ return _descriptor_52.alignment().concat(_descriptor_19.alignment());
515
680
  }
516
681
  fromValue(value_0) {
517
682
  return [
518
- _descriptor_45.fromValue(value_0),
519
- _descriptor_36.fromValue(value_0)
683
+ _descriptor_52.fromValue(value_0),
684
+ _descriptor_19.fromValue(value_0)
520
685
  ]
521
686
  }
522
687
  toValue(value_0) {
523
- return _descriptor_45.toValue(value_0[0]).concat(_descriptor_36.toValue(value_0[1]));
688
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_19.toValue(value_0[1]));
524
689
  }
525
690
  }
526
691
 
527
- const _descriptor_52 = new _tuple_6();
692
+ const _descriptor_60 = new _tuple_6();
528
693
 
529
694
  class _tuple_7 {
530
695
  alignment() {
531
- return _descriptor_45.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())))))))))));
696
+ return _descriptor_52.alignment().concat(_descriptor_5.alignment());
532
697
  }
533
698
  fromValue(value_0) {
534
699
  return [
535
- _descriptor_45.fromValue(value_0),
536
- _descriptor_5.fromValue(value_0),
537
- _descriptor_5.fromValue(value_0),
538
- _descriptor_6.fromValue(value_0),
539
- _descriptor_6.fromValue(value_0),
540
- _descriptor_5.fromValue(value_0),
700
+ _descriptor_52.fromValue(value_0),
701
+ _descriptor_5.fromValue(value_0)
702
+ ]
703
+ }
704
+ toValue(value_0) {
705
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_5.toValue(value_0[1]));
706
+ }
707
+ }
708
+
709
+ const _descriptor_61 = new _tuple_7();
710
+
711
+ class _tuple_8 {
712
+ alignment() {
713
+ return _descriptor_52.alignment().concat(_descriptor_7.alignment().concat(_descriptor_7.alignment().concat(_descriptor_33.alignment().concat(_descriptor_33.alignment().concat(_descriptor_7.alignment().concat(_descriptor_34.alignment().concat(_descriptor_33.alignment().concat(_descriptor_9.alignment().concat(_descriptor_10.alignment().concat(_descriptor_11.alignment().concat(_descriptor_0.alignment())))))))))));
714
+ }
715
+ fromValue(value_0) {
716
+ return [
717
+ _descriptor_52.fromValue(value_0),
541
718
  _descriptor_7.fromValue(value_0),
542
- _descriptor_6.fromValue(value_0),
543
- _descriptor_8.fromValue(value_0),
719
+ _descriptor_7.fromValue(value_0),
720
+ _descriptor_33.fromValue(value_0),
721
+ _descriptor_33.fromValue(value_0),
722
+ _descriptor_7.fromValue(value_0),
723
+ _descriptor_34.fromValue(value_0),
724
+ _descriptor_33.fromValue(value_0),
544
725
  _descriptor_9.fromValue(value_0),
545
726
  _descriptor_10.fromValue(value_0),
727
+ _descriptor_11.fromValue(value_0),
546
728
  _descriptor_0.fromValue(value_0)
547
729
  ]
548
730
  }
549
731
  toValue(value_0) {
550
- return _descriptor_45.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]))))))))))));
732
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_7.toValue(value_0[1]).concat(_descriptor_7.toValue(value_0[2]).concat(_descriptor_33.toValue(value_0[3]).concat(_descriptor_33.toValue(value_0[4]).concat(_descriptor_7.toValue(value_0[5]).concat(_descriptor_34.toValue(value_0[6]).concat(_descriptor_33.toValue(value_0[7]).concat(_descriptor_9.toValue(value_0[8]).concat(_descriptor_10.toValue(value_0[9]).concat(_descriptor_11.toValue(value_0[10]).concat(_descriptor_0.toValue(value_0[11]))))))))))));
551
733
  }
552
734
  }
553
735
 
554
- const _descriptor_53 = new _tuple_7();
736
+ const _descriptor_62 = new _tuple_8();
555
737
 
556
- class _tuple_8 {
738
+ class _tuple_9 {
557
739
  alignment() {
558
- return _descriptor_45.alignment().concat(_descriptor_37.alignment());
740
+ return _descriptor_52.alignment().concat(_descriptor_44.alignment());
559
741
  }
560
742
  fromValue(value_0) {
561
743
  return [
562
- _descriptor_45.fromValue(value_0),
563
- _descriptor_37.fromValue(value_0)
744
+ _descriptor_52.fromValue(value_0),
745
+ _descriptor_44.fromValue(value_0)
564
746
  ]
565
747
  }
566
748
  toValue(value_0) {
567
- return _descriptor_45.toValue(value_0[0]).concat(_descriptor_37.toValue(value_0[1]));
749
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_44.toValue(value_0[1]));
568
750
  }
569
751
  }
570
752
 
571
- const _descriptor_54 = new _tuple_8();
753
+ const _descriptor_63 = new _tuple_9();
572
754
 
573
- class _tuple_9 {
755
+ class _tuple_10 {
574
756
  alignment() {
575
- return _descriptor_45.alignment().concat(_descriptor_35.alignment());
757
+ return _descriptor_52.alignment().concat(_descriptor_45.alignment());
576
758
  }
577
759
  fromValue(value_0) {
578
760
  return [
579
- _descriptor_45.fromValue(value_0),
580
- _descriptor_35.fromValue(value_0)
761
+ _descriptor_52.fromValue(value_0),
762
+ _descriptor_45.fromValue(value_0)
581
763
  ]
582
764
  }
583
765
  toValue(value_0) {
584
- return _descriptor_45.toValue(value_0[0]).concat(_descriptor_35.toValue(value_0[1]));
766
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_45.toValue(value_0[1]));
585
767
  }
586
768
  }
587
769
 
588
- const _descriptor_55 = new _tuple_9();
770
+ const _descriptor_64 = new _tuple_10();
589
771
 
590
772
  class _Secp256k1EcdsaSignature_0 {
591
773
  alignment() {
592
- return _descriptor_42.alignment().concat(_descriptor_42.alignment());
774
+ return _descriptor_50.alignment().concat(_descriptor_50.alignment());
593
775
  }
594
776
  fromValue(value_0) {
595
777
  return {
596
- r: _descriptor_42.fromValue(value_0),
597
- s: _descriptor_42.fromValue(value_0)
778
+ r: _descriptor_50.fromValue(value_0),
779
+ s: _descriptor_50.fromValue(value_0)
598
780
  }
599
781
  }
600
782
  toValue(value_0) {
601
- return _descriptor_42.toValue(value_0.r).concat(_descriptor_42.toValue(value_0.s));
783
+ return _descriptor_50.toValue(value_0.r).concat(_descriptor_50.toValue(value_0.s));
602
784
  }
603
785
  }
604
786
 
605
- const _descriptor_56 = new _Secp256k1EcdsaSignature_0();
787
+ const _descriptor_65 = new _Secp256k1EcdsaSignature_0();
606
788
 
607
789
  class _Either_0 {
608
790
  alignment() {
609
- return _descriptor_8.alignment().concat(_descriptor_1.alignment().concat(_descriptor_1.alignment()));
791
+ return _descriptor_9.alignment().concat(_descriptor_1.alignment().concat(_descriptor_1.alignment()));
610
792
  }
611
793
  fromValue(value_0) {
612
794
  return {
613
- is_left: _descriptor_8.fromValue(value_0),
795
+ is_left: _descriptor_9.fromValue(value_0),
614
796
  left: _descriptor_1.fromValue(value_0),
615
797
  right: _descriptor_1.fromValue(value_0)
616
798
  }
617
799
  }
618
800
  toValue(value_0) {
619
- return _descriptor_8.toValue(value_0.is_left).concat(_descriptor_1.toValue(value_0.left).concat(_descriptor_1.toValue(value_0.right)));
801
+ return _descriptor_9.toValue(value_0.is_left).concat(_descriptor_1.toValue(value_0.left).concat(_descriptor_1.toValue(value_0.right)));
620
802
  }
621
803
  }
622
804
 
623
- const _descriptor_57 = new _Either_0();
805
+ const _descriptor_66 = new _Either_0();
624
806
 
625
807
  class _UserAddress_0 {
626
808
  alignment() {
@@ -636,44 +818,44 @@ class _UserAddress_0 {
636
818
  }
637
819
  }
638
820
 
639
- const _descriptor_58 = new _UserAddress_0();
821
+ const _descriptor_67 = new _UserAddress_0();
640
822
 
641
823
  class _Either_1 {
642
824
  alignment() {
643
- return _descriptor_8.alignment().concat(_descriptor_2.alignment().concat(_descriptor_58.alignment()));
825
+ return _descriptor_9.alignment().concat(_descriptor_2.alignment().concat(_descriptor_67.alignment()));
644
826
  }
645
827
  fromValue(value_0) {
646
828
  return {
647
- is_left: _descriptor_8.fromValue(value_0),
829
+ is_left: _descriptor_9.fromValue(value_0),
648
830
  left: _descriptor_2.fromValue(value_0),
649
- right: _descriptor_58.fromValue(value_0)
831
+ right: _descriptor_67.fromValue(value_0)
650
832
  }
651
833
  }
652
834
  toValue(value_0) {
653
- return _descriptor_8.toValue(value_0.is_left).concat(_descriptor_2.toValue(value_0.left).concat(_descriptor_58.toValue(value_0.right)));
835
+ return _descriptor_9.toValue(value_0.is_left).concat(_descriptor_2.toValue(value_0.left).concat(_descriptor_67.toValue(value_0.right)));
654
836
  }
655
837
  }
656
838
 
657
- const _descriptor_59 = new _Either_1();
839
+ const _descriptor_68 = new _Either_1();
658
840
 
659
841
  class _Maybe_2 {
660
842
  alignment() {
661
- return _descriptor_8.alignment().concat(_descriptor_59.alignment());
843
+ return _descriptor_9.alignment().concat(_descriptor_68.alignment());
662
844
  }
663
845
  fromValue(value_0) {
664
846
  return {
665
- is_some: _descriptor_8.fromValue(value_0),
666
- value: _descriptor_59.fromValue(value_0)
847
+ is_some: _descriptor_9.fromValue(value_0),
848
+ value: _descriptor_68.fromValue(value_0)
667
849
  }
668
850
  }
669
851
  toValue(value_0) {
670
- return _descriptor_8.toValue(value_0.is_some).concat(_descriptor_59.toValue(value_0.value));
852
+ return _descriptor_9.toValue(value_0.is_some).concat(_descriptor_68.toValue(value_0.value));
671
853
  }
672
854
  }
673
855
 
674
- const _descriptor_60 = new _Maybe_2();
856
+ const _descriptor_69 = new _Maybe_2();
675
857
 
676
- const _descriptor_61 = new __compactRuntime.CompactTypeUnsignedInteger(4294967295n, 4);
858
+ const _descriptor_70 = new __compactRuntime.CompactTypeUnsignedInteger(4294967295n, 4);
677
859
 
678
860
  export class Contract {
679
861
  witnesses;
@@ -702,6 +884,12 @@ export class Contract {
702
884
  async ethereumCaip2Id(context, ...args_1) {
703
885
  return { result: pureCircuits.ethereumCaip2Id(...args_1), context };
704
886
  },
887
+ async tronCaip2Id(context, ...args_1) {
888
+ return { result: pureCircuits.tronCaip2Id(...args_1), context };
889
+ },
890
+ async tronAddress(context, ...args_1) {
891
+ return { result: pureCircuits.tronAddress(...args_1), context };
892
+ },
705
893
  async evmAddressAbiWord(context, ...args_1) {
706
894
  return { result: pureCircuits.evmAddressAbiWord(...args_1), context };
707
895
  },
@@ -761,6 +949,24 @@ export class Contract {
761
949
  },
762
950
  async constructSignBidirectionalEventV1_1_0_0_34(context, ...args_1) {
763
951
  return { result: pureCircuits.constructSignBidirectionalEventV1_1_0_0_34(...args_1), context };
952
+ },
953
+ async calculateTronTxParamsDigestV1_1(context, ...args_1) {
954
+ return { result: pureCircuits.calculateTronTxParamsDigestV1_1(...args_1), context };
955
+ },
956
+ async calculateTronTxParamsDigestV1_2(context, ...args_1) {
957
+ return { result: pureCircuits.calculateTronTxParamsDigestV1_2(...args_1), context };
958
+ },
959
+ async calculateTronRequestIdV1_1_0(context, ...args_1) {
960
+ return { result: pureCircuits.calculateTronRequestIdV1_1_0(...args_1), context };
961
+ },
962
+ async calculateTronRequestIdV1_2_0(context, ...args_1) {
963
+ return { result: pureCircuits.calculateTronRequestIdV1_2_0(...args_1), context };
964
+ },
965
+ async calculateTronRequestIdV1_1_34(context, ...args_1) {
966
+ return { result: pureCircuits.calculateTronRequestIdV1_1_34(...args_1), context };
967
+ },
968
+ async calculateTronRequestIdV1_2_34(context, ...args_1) {
969
+ return { result: pureCircuits.calculateTronRequestIdV1_2_34(...args_1), context };
764
970
  }
765
971
  };
766
972
  this.impureCircuits = {};
@@ -861,43 +1067,47 @@ export class Contract {
861
1067
  r_0;
862
1068
  }
863
1069
  _transientHash_0(value_0) {
864
- const result_0 = __compactRuntime.transientHash(_descriptor_54, value_0);
1070
+ const result_0 = __compactRuntime.transientHash(_descriptor_63, value_0);
865
1071
  return result_0;
866
1072
  }
867
1073
  _transientHash_1(value_0) {
868
- const result_0 = __compactRuntime.transientHash(_descriptor_55, value_0);
1074
+ const result_0 = __compactRuntime.transientHash(_descriptor_64, value_0);
869
1075
  return result_0;
870
1076
  }
871
1077
  _transientHash_2(value_0) {
872
- const result_0 = __compactRuntime.transientHash(_descriptor_52, value_0);
1078
+ const result_0 = __compactRuntime.transientHash(_descriptor_61, value_0);
873
1079
  return result_0;
874
1080
  }
875
1081
  _transientHash_3(value_0) {
876
- const result_0 = __compactRuntime.transientHash(_descriptor_53, value_0);
1082
+ const result_0 = __compactRuntime.transientHash(_descriptor_62, value_0);
877
1083
  return result_0;
878
1084
  }
879
1085
  _transientHash_4(value_0) {
880
- const result_0 = __compactRuntime.transientHash(_descriptor_50, value_0);
1086
+ const result_0 = __compactRuntime.transientHash(_descriptor_59, value_0);
881
1087
  return result_0;
882
1088
  }
883
1089
  _transientHash_5(value_0) {
884
- const result_0 = __compactRuntime.transientHash(_descriptor_51, value_0);
1090
+ const result_0 = __compactRuntime.transientHash(_descriptor_60, value_0);
885
1091
  return result_0;
886
1092
  }
887
1093
  _transientHash_6(value_0) {
888
- const result_0 = __compactRuntime.transientHash(_descriptor_48, value_0);
1094
+ const result_0 = __compactRuntime.transientHash(_descriptor_57, value_0);
889
1095
  return result_0;
890
1096
  }
891
1097
  _transientHash_7(value_0) {
892
- const result_0 = __compactRuntime.transientHash(_descriptor_49, value_0);
1098
+ const result_0 = __compactRuntime.transientHash(_descriptor_58, value_0);
893
1099
  return result_0;
894
1100
  }
895
1101
  _transientHash_8(value_0) {
896
- const result_0 = __compactRuntime.transientHash(_descriptor_46, value_0);
1102
+ const result_0 = __compactRuntime.transientHash(_descriptor_55, value_0);
897
1103
  return result_0;
898
1104
  }
899
1105
  _transientHash_9(value_0) {
900
- const result_0 = __compactRuntime.transientHash(_descriptor_47, value_0);
1106
+ const result_0 = __compactRuntime.transientHash(_descriptor_56, value_0);
1107
+ return result_0;
1108
+ }
1109
+ _transientHash_10(value_0) {
1110
+ const result_0 = __compactRuntime.transientHash(_descriptor_53, value_0);
901
1111
  return result_0;
902
1112
  }
903
1113
  _upgradeFromTransient_0(x_0) {
@@ -956,7 +1166,7 @@ export class Contract {
956
1166
  respondSerializationSchema: new Uint8Array(0) };
957
1167
  }
958
1168
  _calculateRequestIdV1_0(preimage_0) {
959
- return this._upgradeFromTransient_0(this._transientHash_8([0, preimage_0]));
1169
+ return this._upgradeFromTransient_0(this._transientHash_9([0, preimage_0]));
960
1170
  }
961
1171
  _constructSignBidirectionalEventNotificationV1_0(callerAddress_0,
962
1172
  requestsPathDepth_0,
@@ -986,11 +1196,11 @@ export class Contract {
986
1196
  serializedOutput_0]));
987
1197
  }
988
1198
  _calculateAttestedOutputHashV1_3(serializedOutput_0) {
989
- return this._upgradeFromTransient_0(this._transientHash_6([6,
1199
+ return this._upgradeFromTransient_0(this._transientHash_5([6,
990
1200
  serializedOutput_0]));
991
1201
  }
992
1202
  _calculateAttestedOutputHashV1_4(serializedOutput_0) {
993
- return this._upgradeFromTransient_0(this._transientHash_7([6,
1203
+ return this._upgradeFromTransient_0(this._transientHash_6([6,
994
1204
  serializedOutput_0]));
995
1205
  }
996
1206
  _calculateSignetAttestationDigestV1_0(requestId_0,
@@ -999,12 +1209,12 @@ export class Contract {
999
1209
  serializedOutputLength_0,
1000
1210
  outputHash_0)
1001
1211
  {
1002
- return this._upgradeFromTransient_0(this._transientHash_9([1,
1003
- requestId_0,
1004
- blockHeight_0,
1005
- outputKind_0,
1006
- serializedOutputLength_0,
1007
- outputHash_0]));
1212
+ return this._upgradeFromTransient_0(this._transientHash_10([1,
1213
+ requestId_0,
1214
+ blockHeight_0,
1215
+ outputKind_0,
1216
+ serializedOutputLength_0,
1217
+ outputHash_0]));
1008
1218
  }
1009
1219
  _verifyRespondBidirectionalAttestationV1_0(respondBidirectionalEvent_0,
1010
1220
  mpcResponseKey_0)
@@ -1022,13 +1232,13 @@ export class Contract {
1022
1232
  32,
1023
1233
  respondBidirectionalEvent_0.signature.bigR.x,
1024
1234
  'Secp256k1Scalar',
1025
- 'Signet.compact line 458 char 12'),
1235
+ 'Signet.compact line 460 char 12'),
1026
1236
  s:
1027
1237
  __compactRuntime.convertBytesToField(115792089237316195423570985008687907852837564279074904382605163141518161494336n,
1028
1238
  32,
1029
1239
  respondBidirectionalEvent_0.signature.s,
1030
1240
  'Secp256k1Scalar',
1031
- 'Signet.compact line 459 char 12') },
1241
+ 'Signet.compact line 461 char 12') },
1032
1242
  mpcResponseKey_0);
1033
1243
  }
1034
1244
  _verifyAttestedOutputV1_0(serializedOutput_0,
@@ -1107,7 +1317,7 @@ export class Contract {
1107
1317
  let t_1, t_2;
1108
1318
  return [((t1) => {
1109
1319
  if (t1 > 255n) {
1110
- throw new __compactRuntime.CompactError('Signet.compact line 601 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1320
+ throw new __compactRuntime.CompactError('Signet.compact line 603 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1111
1321
  }
1112
1322
  return t1;
1113
1323
  })(acc_0[0] + 1n),
@@ -1142,14 +1352,14 @@ export class Contract {
1142
1352
  let t_3;
1143
1353
  return [((t1) => {
1144
1354
  if (t1 > 65535n) {
1145
- throw new __compactRuntime.CompactError('Signet.compact line 628 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1355
+ throw new __compactRuntime.CompactError('Signet.compact line 630 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1146
1356
  }
1147
1357
  return t1;
1148
1358
  })(acc_1[0] + 1n),
1149
1359
  (t_3 = acc_1[0],
1150
1360
  t_3 < noWords_0)
1151
1361
  ?
1152
- this._transientHash_4([3,
1362
+ this._transientHash_8([3,
1153
1363
  acc_1[1],
1154
1364
  word_0])
1155
1365
  :
@@ -1162,7 +1372,7 @@ export class Contract {
1162
1372
  let t_4;
1163
1373
  return [((t1) => {
1164
1374
  if (t1 > 255n) {
1165
- throw new __compactRuntime.CompactError('Signet.compact line 639 char 11: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1375
+ throw new __compactRuntime.CompactError('Signet.compact line 641 char 11: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1166
1376
  }
1167
1377
  return t1;
1168
1378
  })(acc_2[0] + 1n),
@@ -1171,7 +1381,7 @@ export class Contract {
1171
1381
  <
1172
1382
  txParams_0.accessListEntryCount)
1173
1383
  ?
1174
- this._transientHash_5([4,
1384
+ this._transientHash_4([4,
1175
1385
  acc_2[1],
1176
1386
  entry_1.address,
1177
1387
  entry_1.storageKeyCount,
@@ -1181,7 +1391,7 @@ export class Contract {
1181
1391
  let t_5;
1182
1392
  return [((t1) => {
1183
1393
  if (t1 > 255n) {
1184
- throw new __compactRuntime.CompactError('Signet.compact line 648 char 22: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1394
+ throw new __compactRuntime.CompactError('Signet.compact line 650 char 22: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1185
1395
  }
1186
1396
  return t1;
1187
1397
  })(keyAcc_0[0]
@@ -1192,7 +1402,7 @@ export class Contract {
1192
1402
  <
1193
1403
  entry_1.storageKeyCount)
1194
1404
  ?
1195
- this._transientHash_4([5,
1405
+ this._transientHash_8([5,
1196
1406
  keyAcc_0[1],
1197
1407
  key_0])
1198
1408
  :
@@ -1223,7 +1433,7 @@ export class Contract {
1223
1433
  let t_1, t_2;
1224
1434
  return [((t1) => {
1225
1435
  if (t1 > 255n) {
1226
- throw new __compactRuntime.CompactError('Signet.compact line 601 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1436
+ throw new __compactRuntime.CompactError('Signet.compact line 603 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1227
1437
  }
1228
1438
  return t1;
1229
1439
  })(acc_0[0] + 1n),
@@ -1258,14 +1468,14 @@ export class Contract {
1258
1468
  let t_3;
1259
1469
  return [((t1) => {
1260
1470
  if (t1 > 65535n) {
1261
- throw new __compactRuntime.CompactError('Signet.compact line 628 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1471
+ throw new __compactRuntime.CompactError('Signet.compact line 630 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1262
1472
  }
1263
1473
  return t1;
1264
1474
  })(acc_1[0] + 1n),
1265
1475
  (t_3 = acc_1[0],
1266
1476
  t_3 < noWords_0)
1267
1477
  ?
1268
- this._transientHash_4([3,
1478
+ this._transientHash_8([3,
1269
1479
  acc_1[1],
1270
1480
  word_0])
1271
1481
  :
@@ -1278,7 +1488,7 @@ export class Contract {
1278
1488
  let t_4;
1279
1489
  return [((t1) => {
1280
1490
  if (t1 > 255n) {
1281
- throw new __compactRuntime.CompactError('Signet.compact line 639 char 11: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1491
+ throw new __compactRuntime.CompactError('Signet.compact line 641 char 11: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1282
1492
  }
1283
1493
  return t1;
1284
1494
  })(acc_2[0] + 1n),
@@ -1287,7 +1497,7 @@ export class Contract {
1287
1497
  <
1288
1498
  txParams_0.accessListEntryCount)
1289
1499
  ?
1290
- this._transientHash_5([4,
1500
+ this._transientHash_4([4,
1291
1501
  acc_2[1],
1292
1502
  entry_1.address,
1293
1503
  entry_1.storageKeyCount,
@@ -1297,7 +1507,7 @@ export class Contract {
1297
1507
  let t_5;
1298
1508
  return [((t1) => {
1299
1509
  if (t1 > 255n) {
1300
- throw new __compactRuntime.CompactError('Signet.compact line 648 char 22: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1510
+ throw new __compactRuntime.CompactError('Signet.compact line 650 char 22: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1301
1511
  }
1302
1512
  return t1;
1303
1513
  })(keyAcc_0[0]
@@ -1308,7 +1518,7 @@ export class Contract {
1308
1518
  <
1309
1519
  entry_1.storageKeyCount)
1310
1520
  ?
1311
- this._transientHash_4([5,
1521
+ this._transientHash_8([5,
1312
1522
  keyAcc_0[1],
1313
1523
  key_0])
1314
1524
  :
@@ -1350,6 +1560,144 @@ export class Contract {
1350
1560
  executionDest: request_0.executionDest };
1351
1561
  return this._calculateRequestIdV1_0(preimage_0);
1352
1562
  }
1563
+ _tronCaip2Id_0() {
1564
+ return new Uint8Array([116, 114, 111, 110, 58, 109, 97, 105, 110, 110, 101, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
1565
+ }
1566
+ _tronAddress_0(evmAddress_0) {
1567
+ return Uint8Array.from([65n, ...Array.from(evmAddress_0, BigInt)], Number);
1568
+ }
1569
+ _calculateTronTxParamsDigestV1_0(txParams_0) {
1570
+ const calldata_0 = txParams_0.calldata;
1571
+ const noWords_0 = calldata_0.is_some ? calldata_0.value.noWords : 0n;
1572
+ const selector_0 = calldata_0.is_some ?
1573
+ calldata_0.value.selector :
1574
+ new Uint8Array(4);
1575
+ __compactRuntime.assert(noWords_0 <= 1n, 'calldata noWords exceeds capacity');
1576
+ const head_0 = this._transientHash_7([7,
1577
+ txParams_0.refBlockBytes,
1578
+ txParams_0.refBlockHash,
1579
+ txParams_0.timestamp,
1580
+ txParams_0.expiration,
1581
+ txParams_0.feeLimit,
1582
+ txParams_0.contractAddress,
1583
+ txParams_0.callValue,
1584
+ calldata_0.is_some,
1585
+ selector_0,
1586
+ noWords_0]);
1587
+ const wordsScan_0 = this._folder_8(((acc_0, word_0) =>
1588
+ {
1589
+ let t_0;
1590
+ return [((t1) => {
1591
+ if (t1 > 65535n) {
1592
+ throw new __compactRuntime.CompactError('Signet.compact line 728 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1593
+ }
1594
+ return t1;
1595
+ })(acc_0[0] + 1n),
1596
+ (t_0 = acc_0[0],
1597
+ t_0 < noWords_0)
1598
+ ?
1599
+ this._transientHash_8([8,
1600
+ acc_0[1],
1601
+ word_0])
1602
+ :
1603
+ acc_0[1]];
1604
+ }),
1605
+ [0n, head_0],
1606
+ calldata_0.value.words);
1607
+ return this._upgradeFromTransient_0(wordsScan_0[1]);
1608
+ }
1609
+ _calculateTronTxParamsDigestV1_1(txParams_0) {
1610
+ const calldata_0 = txParams_0.calldata;
1611
+ const noWords_0 = calldata_0.is_some ? calldata_0.value.noWords : 0n;
1612
+ const selector_0 = calldata_0.is_some ?
1613
+ calldata_0.value.selector :
1614
+ new Uint8Array(4);
1615
+ __compactRuntime.assert(noWords_0 <= 2n, 'calldata noWords exceeds capacity');
1616
+ const head_0 = this._transientHash_7([7,
1617
+ txParams_0.refBlockBytes,
1618
+ txParams_0.refBlockHash,
1619
+ txParams_0.timestamp,
1620
+ txParams_0.expiration,
1621
+ txParams_0.feeLimit,
1622
+ txParams_0.contractAddress,
1623
+ txParams_0.callValue,
1624
+ calldata_0.is_some,
1625
+ selector_0,
1626
+ noWords_0]);
1627
+ const wordsScan_0 = this._folder_9(((acc_0, word_0) =>
1628
+ {
1629
+ let t_0;
1630
+ return [((t1) => {
1631
+ if (t1 > 65535n) {
1632
+ throw new __compactRuntime.CompactError('Signet.compact line 728 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1633
+ }
1634
+ return t1;
1635
+ })(acc_0[0] + 1n),
1636
+ (t_0 = acc_0[0],
1637
+ t_0 < noWords_0)
1638
+ ?
1639
+ this._transientHash_8([8,
1640
+ acc_0[1],
1641
+ word_0])
1642
+ :
1643
+ acc_0[1]];
1644
+ }),
1645
+ [0n, head_0],
1646
+ calldata_0.value.words);
1647
+ return this._upgradeFromTransient_0(wordsScan_0[1]);
1648
+ }
1649
+ _calculateTronRequestIdV1_0(request_0) {
1650
+ __compactRuntime.assert(request_0.txParamType === 1,
1651
+ 'txParamType must tag txParams as tron');
1652
+ const preimage_0 = { keyVersion: request_0.keyVersion,
1653
+ sender: request_0.sender,
1654
+ path: request_0.path,
1655
+ algo: request_0.algo,
1656
+ txParamType: request_0.txParamType,
1657
+ txParamsDigest:
1658
+ this._calculateTronTxParamsDigestV1_0(request_0.txParams),
1659
+ executionDest: request_0.executionDest };
1660
+ return this._calculateRequestIdV1_0(preimage_0);
1661
+ }
1662
+ _calculateTronRequestIdV1_1(request_0) {
1663
+ __compactRuntime.assert(request_0.txParamType === 1,
1664
+ 'txParamType must tag txParams as tron');
1665
+ const preimage_0 = { keyVersion: request_0.keyVersion,
1666
+ sender: request_0.sender,
1667
+ path: request_0.path,
1668
+ algo: request_0.algo,
1669
+ txParamType: request_0.txParamType,
1670
+ txParamsDigest:
1671
+ this._calculateTronTxParamsDigestV1_1(request_0.txParams),
1672
+ executionDest: request_0.executionDest };
1673
+ return this._calculateRequestIdV1_0(preimage_0);
1674
+ }
1675
+ _calculateTronRequestIdV1_2(request_0) {
1676
+ __compactRuntime.assert(request_0.txParamType === 1,
1677
+ 'txParamType must tag txParams as tron');
1678
+ const preimage_0 = { keyVersion: request_0.keyVersion,
1679
+ sender: request_0.sender,
1680
+ path: request_0.path,
1681
+ algo: request_0.algo,
1682
+ txParamType: request_0.txParamType,
1683
+ txParamsDigest:
1684
+ this._calculateTronTxParamsDigestV1_0(request_0.txParams),
1685
+ executionDest: request_0.executionDest };
1686
+ return this._calculateRequestIdV1_0(preimage_0);
1687
+ }
1688
+ _calculateTronRequestIdV1_3(request_0) {
1689
+ __compactRuntime.assert(request_0.txParamType === 1,
1690
+ 'txParamType must tag txParams as tron');
1691
+ const preimage_0 = { keyVersion: request_0.keyVersion,
1692
+ sender: request_0.sender,
1693
+ path: request_0.path,
1694
+ algo: request_0.algo,
1695
+ txParamType: request_0.txParamType,
1696
+ txParamsDigest:
1697
+ this._calculateTronTxParamsDigestV1_1(request_0.txParams),
1698
+ executionDest: request_0.executionDest };
1699
+ return this._calculateRequestIdV1_0(preimage_0);
1700
+ }
1353
1701
  _evmAddressAbiWord_0(addr_0) {
1354
1702
  return Uint8Array.from([...Array.from(new Uint8Array(12), BigInt),
1355
1703
  ...Array.from(addr_0, BigInt)],
@@ -1358,7 +1706,7 @@ export class Contract {
1358
1706
  _numericAbiWord_0(value_0) {
1359
1707
  const le_0 = Array.from(__compactRuntime.convertBigintToBytes(16,
1360
1708
  value_0,
1361
- 'Signet.compact line 698 char 17'),
1709
+ 'Signet.compact line 768 char 17'),
1362
1710
  BigInt);
1363
1711
  return Uint8Array.from([...Array.from(new Uint8Array(16), BigInt),
1364
1712
  le_0[15],
@@ -1440,7 +1788,7 @@ export class Contract {
1440
1788
  v_0[31]);
1441
1789
  return ((t1) => {
1442
1790
  if (t1 > 340282366920938463463374607431768211455n) {
1443
- throw new __compactRuntime.CompactError('Signet.compact line 750 char 12: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 340282366920938463463374607431768211455');
1791
+ throw new __compactRuntime.CompactError('Signet.compact line 820 char 12: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 340282366920938463463374607431768211455');
1444
1792
  }
1445
1793
  return t1;
1446
1794
  })(b15_0);
@@ -1452,7 +1800,7 @@ export class Contract {
1452
1800
  32,
1453
1801
  x_0,
1454
1802
  'Uint<0..340282366920938463463374607431768211456>',
1455
- 'Signet.compact line 761 char 12');
1803
+ 'Signet.compact line 831 char 12');
1456
1804
  }
1457
1805
  _abiWordToBool_0(word_0) {
1458
1806
  __compactRuntime.assert(__compactRuntime.convertBytesToUint(52435875175126190479447740508185965837690552500527637822603658699938581184512n,
@@ -1460,7 +1808,7 @@ export class Contract {
1460
1808
  ((e, i) => e.slice(i, i+31))(word_0,
1461
1809
  Number(0n)),
1462
1810
  'Field',
1463
- 'Signet.compact line 767 char 12')
1811
+ 'Signet.compact line 837 char 12')
1464
1812
  ===
1465
1813
  0n,
1466
1814
  'ABI word is not a canonical Boolean');
@@ -1469,7 +1817,7 @@ export class Contract {
1469
1817
  ((e, i) => e.slice(i, i+1))(word_0,
1470
1818
  Number(31n)),
1471
1819
  'Field',
1472
- 'Signet.compact line 768 char 18');
1820
+ 'Signet.compact line 838 char 18');
1473
1821
  __compactRuntime.assert(last_0 === 0n || last_0 === 1n,
1474
1822
  'ABI word is not a canonical Boolean');
1475
1823
  return last_0 === 1n;
@@ -1545,6 +1893,24 @@ export class Contract {
1545
1893
  request_0.params,
1546
1894
  request_0.outputDeserializationSchema);
1547
1895
  }
1896
+ _calculateTronTxParamsDigestV1_1_0(txParams_0) {
1897
+ return this._calculateTronTxParamsDigestV1_0(txParams_0);
1898
+ }
1899
+ _calculateTronTxParamsDigestV1_2_0(txParams_0) {
1900
+ return this._calculateTronTxParamsDigestV1_1(txParams_0);
1901
+ }
1902
+ _calculateTronRequestIdV1_1_0_0(request_0) {
1903
+ return this._calculateTronRequestIdV1_0(request_0);
1904
+ }
1905
+ _calculateTronRequestIdV1_2_0_0(request_0) {
1906
+ return this._calculateTronRequestIdV1_1(request_0);
1907
+ }
1908
+ _calculateTronRequestIdV1_1_34_0(request_0) {
1909
+ return this._calculateTronRequestIdV1_2(request_0);
1910
+ }
1911
+ _calculateTronRequestIdV1_2_34_0(request_0) {
1912
+ return this._calculateTronRequestIdV1_3(request_0);
1913
+ }
1548
1914
  _equal_0(x0, y0) {
1549
1915
  if (x0.identity) { return y0.identity; }
1550
1916
  if (y0.identity || x0.x != y0.x || x0.y != y0.y) {
@@ -1615,6 +1981,14 @@ export class Contract {
1615
1981
  for (let i = 0; i < 1; i++) { x = f(x, a0[i]); }
1616
1982
  return x;
1617
1983
  }
1984
+ _folder_8(f, x, a0) {
1985
+ for (let i = 0; i < 1; i++) { x = f(x, a0[i]); }
1986
+ return x;
1987
+ }
1988
+ _folder_9(f, x, a0) {
1989
+ for (let i = 0; i < 2; i++) { x = f(x, a0[i]); }
1990
+ return x;
1991
+ }
1618
1992
  }
1619
1993
  export function ledger(stateOrChargedState) {
1620
1994
  const state = stateOrChargedState instanceof __compactRuntime.StateValue ? stateOrChargedState : stateOrChargedState.state;
@@ -1645,8 +2019,8 @@ export const pureCircuits = {
1645
2019
  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 === 64)) {
1646
2020
  __compactRuntime.typeError('calculateRequestIdV1',
1647
2021
  'argument 1',
1648
- 'Signet.compact line 232 char 3',
1649
- '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<64>>',
2022
+ 'Signet.compact line 234 char 3',
2023
+ 'struct RequestIdPreimageV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, tron>, txParamsDigest: Bytes<32>, executionDest: Bytes<64>>',
1650
2024
  preimage_0)
1651
2025
  }
1652
2026
  return _dummyContract._calculateRequestIdV1_0(preimage_0);
@@ -1661,21 +2035,21 @@ export const pureCircuits = {
1661
2035
  if (!(typeof(callerAddress_0) === 'object' && callerAddress_0.bytes.buffer instanceof ArrayBuffer && callerAddress_0.bytes.BYTES_PER_ELEMENT === 1 && callerAddress_0.bytes.length === 32)) {
1662
2036
  __compactRuntime.typeError('constructSignBidirectionalEventNotificationV1',
1663
2037
  'argument 1',
1664
- 'Signet.compact line 283 char 3',
2038
+ 'Signet.compact line 285 char 3',
1665
2039
  'struct ContractAddress<bytes: Bytes<32>>',
1666
2040
  callerAddress_0)
1667
2041
  }
1668
2042
  if (!(typeof(requestsPathDepth_0) === 'bigint' && requestsPathDepth_0 >= 0n && requestsPathDepth_0 <= 255n)) {
1669
2043
  __compactRuntime.typeError('constructSignBidirectionalEventNotificationV1',
1670
2044
  'argument 2',
1671
- 'Signet.compact line 283 char 3',
2045
+ 'Signet.compact line 285 char 3',
1672
2046
  'Uint<0..256>',
1673
2047
  requestsPathDepth_0)
1674
2048
  }
1675
2049
  if (!(Array.isArray(requestsPath_0) && requestsPath_0.length === 4 && requestsPath_0.every((t) => typeof(t) === 'bigint' && t >= 0n && t <= 255n))) {
1676
2050
  __compactRuntime.typeError('constructSignBidirectionalEventNotificationV1',
1677
2051
  'argument 3',
1678
- 'Signet.compact line 283 char 3',
2052
+ 'Signet.compact line 285 char 3',
1679
2053
  'Vector<4, Uint<0..256>>',
1680
2054
  requestsPath_0)
1681
2055
  }
@@ -1695,35 +2069,35 @@ export const pureCircuits = {
1695
2069
  if (!(requestId_0.buffer instanceof ArrayBuffer && requestId_0.BYTES_PER_ELEMENT === 1 && requestId_0.length === 32)) {
1696
2070
  __compactRuntime.typeError('calculateSignetAttestationDigestV1',
1697
2071
  'argument 1',
1698
- 'Signet.compact line 409 char 3',
2072
+ 'Signet.compact line 411 char 3',
1699
2073
  'Bytes<32>',
1700
2074
  requestId_0)
1701
2075
  }
1702
2076
  if (!(typeof(blockHeight_0) === 'bigint' && blockHeight_0 >= 0n && blockHeight_0 <= 18446744073709551615n)) {
1703
2077
  __compactRuntime.typeError('calculateSignetAttestationDigestV1',
1704
2078
  'argument 2',
1705
- 'Signet.compact line 409 char 3',
2079
+ 'Signet.compact line 411 char 3',
1706
2080
  'Uint<0..18446744073709551616>',
1707
2081
  blockHeight_0)
1708
2082
  }
1709
2083
  if (!(typeof(outputKind_0) === 'number' && outputKind_0 >= 0 && outputKind_0 <= 2)) {
1710
2084
  __compactRuntime.typeError('calculateSignetAttestationDigestV1',
1711
2085
  'argument 3',
1712
- 'Signet.compact line 409 char 3',
2086
+ 'Signet.compact line 411 char 3',
1713
2087
  'Enum<OutputKind, executed, failed, unviable>',
1714
2088
  outputKind_0)
1715
2089
  }
1716
2090
  if (!(typeof(serializedOutputLength_0) === 'bigint' && serializedOutputLength_0 >= 0n && serializedOutputLength_0 <= 18446744073709551615n)) {
1717
2091
  __compactRuntime.typeError('calculateSignetAttestationDigestV1',
1718
2092
  'argument 4',
1719
- 'Signet.compact line 409 char 3',
2093
+ 'Signet.compact line 411 char 3',
1720
2094
  'Uint<0..18446744073709551616>',
1721
2095
  serializedOutputLength_0)
1722
2096
  }
1723
2097
  if (!(outputHash_0.buffer instanceof ArrayBuffer && outputHash_0.BYTES_PER_ELEMENT === 1 && outputHash_0.length === 32)) {
1724
2098
  __compactRuntime.typeError('calculateSignetAttestationDigestV1',
1725
2099
  'argument 5',
1726
- 'Signet.compact line 409 char 3',
2100
+ 'Signet.compact line 411 char 3',
1727
2101
  'Bytes<32>',
1728
2102
  outputHash_0)
1729
2103
  }
@@ -1742,14 +2116,14 @@ export const pureCircuits = {
1742
2116
  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.outputHash.buffer instanceof ArrayBuffer && respondBidirectionalEvent_0.outputHash.BYTES_PER_ELEMENT === 1 && respondBidirectionalEvent_0.outputHash.length === 32 && 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)) {
1743
2117
  __compactRuntime.typeError('verifyRespondBidirectionalAttestationV1',
1744
2118
  'argument 1',
1745
- 'Signet.compact line 441 char 3',
2119
+ 'Signet.compact line 443 char 3',
1746
2120
  'struct RespondBidirectionalEventV1<requestId: Bytes<32>, blockHeight: Uint<0..18446744073709551616>, outputKind: Enum<OutputKind, executed, failed, unviable>, serializedOutputLength: Uint<0..18446744073709551616>, outputHash: Bytes<32>, digest: Bytes<32>, signature: struct Signature<bigR: struct AffinePoint<x: Bytes<32>, y: Bytes<32>>, s: Bytes<32>, recoveryId: Uint<0..256>>>',
1747
2121
  respondBidirectionalEvent_0)
1748
2122
  }
1749
2123
  if (!(__compactRuntime.isValidSecp256k1Point(mpcResponseKey_0))) {
1750
2124
  __compactRuntime.typeError('verifyRespondBidirectionalAttestationV1',
1751
2125
  'argument 2',
1752
- 'Signet.compact line 441 char 3',
2126
+ 'Signet.compact line 443 char 3',
1753
2127
  'Secp256k1Point',
1754
2128
  mpcResponseKey_0)
1755
2129
  }
@@ -1762,6 +2136,26 @@ export const pureCircuits = {
1762
2136
  }
1763
2137
  return _dummyContract._ethereumCaip2Id_0();
1764
2138
  },
2139
+ tronCaip2Id: (...args_0) => {
2140
+ if (args_0.length !== 0) {
2141
+ throw new __compactRuntime.CompactError(`tronCaip2Id: expected 0 arguments (as invoked from Typescript), received ${args_0.length}`);
2142
+ }
2143
+ return _dummyContract._tronCaip2Id_0();
2144
+ },
2145
+ tronAddress: (...args_0) => {
2146
+ if (args_0.length !== 1) {
2147
+ throw new __compactRuntime.CompactError(`tronAddress: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
2148
+ }
2149
+ const evmAddress_0 = args_0[0];
2150
+ if (!(evmAddress_0.buffer instanceof ArrayBuffer && evmAddress_0.BYTES_PER_ELEMENT === 1 && evmAddress_0.length === 20)) {
2151
+ __compactRuntime.typeError('tronAddress',
2152
+ 'argument 1',
2153
+ 'Signet.compact line 688 char 3',
2154
+ 'Bytes<20>',
2155
+ evmAddress_0)
2156
+ }
2157
+ return _dummyContract._tronAddress_0(evmAddress_0);
2158
+ },
1765
2159
  evmAddressAbiWord: (...args_0) => {
1766
2160
  if (args_0.length !== 1) {
1767
2161
  throw new __compactRuntime.CompactError(`evmAddressAbiWord: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
@@ -1770,7 +2164,7 @@ export const pureCircuits = {
1770
2164
  if (!(addr_0.buffer instanceof ArrayBuffer && addr_0.BYTES_PER_ELEMENT === 1 && addr_0.length === 20)) {
1771
2165
  __compactRuntime.typeError('evmAddressAbiWord',
1772
2166
  'argument 1',
1773
- 'Signet.compact line 689 char 3',
2167
+ 'Signet.compact line 759 char 3',
1774
2168
  'Bytes<20>',
1775
2169
  addr_0)
1776
2170
  }
@@ -1784,7 +2178,7 @@ export const pureCircuits = {
1784
2178
  if (!(typeof(value_0) === 'bigint' && value_0 >= 0n && value_0 <= 340282366920938463463374607431768211455n)) {
1785
2179
  __compactRuntime.typeError('numericAbiWord',
1786
2180
  'argument 1',
1787
- 'Signet.compact line 695 char 3',
2181
+ 'Signet.compact line 765 char 3',
1788
2182
  'Uint<0..340282366920938463463374607431768211456>',
1789
2183
  value_0)
1790
2184
  }
@@ -1798,7 +2192,7 @@ export const pureCircuits = {
1798
2192
  if (!(typeof(value_0) === 'boolean')) {
1799
2193
  __compactRuntime.typeError('boolAbiWord',
1800
2194
  'argument 1',
1801
- 'Signet.compact line 708 char 3',
2195
+ 'Signet.compact line 778 char 3',
1802
2196
  'Boolean',
1803
2197
  value_0)
1804
2198
  }
@@ -1812,7 +2206,7 @@ export const pureCircuits = {
1812
2206
  if (!(word_0.buffer instanceof ArrayBuffer && word_0.BYTES_PER_ELEMENT === 1 && word_0.length === 32)) {
1813
2207
  __compactRuntime.typeError('abiWordToUint128',
1814
2208
  'argument 1',
1815
- 'Signet.compact line 716 char 3',
2209
+ 'Signet.compact line 786 char 3',
1816
2210
  'Bytes<32>',
1817
2211
  word_0)
1818
2212
  }
@@ -1826,7 +2220,7 @@ export const pureCircuits = {
1826
2220
  if (!(x_0.buffer instanceof ArrayBuffer && x_0.BYTES_PER_ELEMENT === 1 && x_0.length === 32)) {
1827
2221
  __compactRuntime.typeError('checkedTruncationU128',
1828
2222
  'argument 1',
1829
- 'Signet.compact line 757 char 3',
2223
+ 'Signet.compact line 827 char 3',
1830
2224
  'Bytes<32>',
1831
2225
  x_0)
1832
2226
  }
@@ -1840,7 +2234,7 @@ export const pureCircuits = {
1840
2234
  if (!(word_0.buffer instanceof ArrayBuffer && word_0.BYTES_PER_ELEMENT === 1 && word_0.length === 32)) {
1841
2235
  __compactRuntime.typeError('abiWordToBool',
1842
2236
  'argument 1',
1843
- 'Signet.compact line 766 char 3',
2237
+ 'Signet.compact line 836 char 3',
1844
2238
  'Bytes<32>',
1845
2239
  word_0)
1846
2240
  }
@@ -1854,7 +2248,7 @@ export const pureCircuits = {
1854
2248
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 0)) {
1855
2249
  __compactRuntime.typeError('calculateAttestedOutputHash0',
1856
2250
  'argument 1',
1857
- 'circuits.compact line 35 char 1',
2251
+ 'circuits.compact line 37 char 1',
1858
2252
  'Bytes<0>',
1859
2253
  serializedOutput_0)
1860
2254
  }
@@ -1868,7 +2262,7 @@ export const pureCircuits = {
1868
2262
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 1)) {
1869
2263
  __compactRuntime.typeError('calculateAttestedOutputHash1',
1870
2264
  'argument 1',
1871
- 'circuits.compact line 41 char 1',
2265
+ 'circuits.compact line 43 char 1',
1872
2266
  'Bytes<1>',
1873
2267
  serializedOutput_0)
1874
2268
  }
@@ -1882,7 +2276,7 @@ export const pureCircuits = {
1882
2276
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 2)) {
1883
2277
  __compactRuntime.typeError('calculateAttestedOutputHash2',
1884
2278
  'argument 1',
1885
- 'circuits.compact line 47 char 1',
2279
+ 'circuits.compact line 49 char 1',
1886
2280
  'Bytes<2>',
1887
2281
  serializedOutput_0)
1888
2282
  }
@@ -1896,7 +2290,7 @@ export const pureCircuits = {
1896
2290
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 32)) {
1897
2291
  __compactRuntime.typeError('calculateAttestedOutputHash32',
1898
2292
  'argument 1',
1899
- 'circuits.compact line 53 char 1',
2293
+ 'circuits.compact line 55 char 1',
1900
2294
  'Bytes<32>',
1901
2295
  serializedOutput_0)
1902
2296
  }
@@ -1910,7 +2304,7 @@ export const pureCircuits = {
1910
2304
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 100)) {
1911
2305
  __compactRuntime.typeError('calculateAttestedOutputHash100',
1912
2306
  'argument 1',
1913
- 'circuits.compact line 59 char 1',
2307
+ 'circuits.compact line 61 char 1',
1914
2308
  'Bytes<100>',
1915
2309
  serializedOutput_0)
1916
2310
  }
@@ -1926,21 +2320,21 @@ export const pureCircuits = {
1926
2320
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 1)) {
1927
2321
  __compactRuntime.typeError('verifyAttestedOutput1',
1928
2322
  'argument 1',
1929
- 'circuits.compact line 69 char 1',
2323
+ 'circuits.compact line 71 char 1',
1930
2324
  'Bytes<1>',
1931
2325
  serializedOutput_0)
1932
2326
  }
1933
2327
  if (!(typeof(attestedOutputLength_0) === 'bigint' && attestedOutputLength_0 >= 0n && attestedOutputLength_0 <= 18446744073709551615n)) {
1934
2328
  __compactRuntime.typeError('verifyAttestedOutput1',
1935
2329
  'argument 2',
1936
- 'circuits.compact line 69 char 1',
2330
+ 'circuits.compact line 71 char 1',
1937
2331
  'Uint<0..18446744073709551616>',
1938
2332
  attestedOutputLength_0)
1939
2333
  }
1940
2334
  if (!(attestedOutputHash_0.buffer instanceof ArrayBuffer && attestedOutputHash_0.BYTES_PER_ELEMENT === 1 && attestedOutputHash_0.length === 32)) {
1941
2335
  __compactRuntime.typeError('verifyAttestedOutput1',
1942
2336
  'argument 3',
1943
- 'circuits.compact line 69 char 1',
2337
+ 'circuits.compact line 71 char 1',
1944
2338
  'Bytes<32>',
1945
2339
  attestedOutputHash_0)
1946
2340
  }
@@ -1958,21 +2352,21 @@ export const pureCircuits = {
1958
2352
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 2)) {
1959
2353
  __compactRuntime.typeError('verifyAttestedOutput2',
1960
2354
  'argument 1',
1961
- 'circuits.compact line 77 char 1',
2355
+ 'circuits.compact line 79 char 1',
1962
2356
  'Bytes<2>',
1963
2357
  serializedOutput_0)
1964
2358
  }
1965
2359
  if (!(typeof(attestedOutputLength_0) === 'bigint' && attestedOutputLength_0 >= 0n && attestedOutputLength_0 <= 18446744073709551615n)) {
1966
2360
  __compactRuntime.typeError('verifyAttestedOutput2',
1967
2361
  'argument 2',
1968
- 'circuits.compact line 77 char 1',
2362
+ 'circuits.compact line 79 char 1',
1969
2363
  'Uint<0..18446744073709551616>',
1970
2364
  attestedOutputLength_0)
1971
2365
  }
1972
2366
  if (!(attestedOutputHash_0.buffer instanceof ArrayBuffer && attestedOutputHash_0.BYTES_PER_ELEMENT === 1 && attestedOutputHash_0.length === 32)) {
1973
2367
  __compactRuntime.typeError('verifyAttestedOutput2',
1974
2368
  'argument 3',
1975
- 'circuits.compact line 77 char 1',
2369
+ 'circuits.compact line 79 char 1',
1976
2370
  'Bytes<32>',
1977
2371
  attestedOutputHash_0)
1978
2372
  }
@@ -1988,7 +2382,7 @@ export const pureCircuits = {
1988
2382
  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)))) {
1989
2383
  __compactRuntime.typeError('calculateEvmType2TxParamsDigestV1_1_0_0',
1990
2384
  'argument 1',
1991
- 'circuits.compact line 90 char 1',
2385
+ 'circuits.compact line 92 char 1',
1992
2386
  '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>>>>>',
1993
2387
  txParams_0)
1994
2388
  }
@@ -2002,7 +2396,7 @@ export const pureCircuits = {
2002
2396
  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)))) {
2003
2397
  __compactRuntime.typeError('calculateEvmType2TxParamsDigestV1_2_1_2',
2004
2398
  'argument 1',
2005
- 'circuits.compact line 96 char 1',
2399
+ 'circuits.compact line 98 char 1',
2006
2400
  '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>>>>>',
2007
2401
  txParams_0)
2008
2402
  }
@@ -2016,8 +2410,8 @@ export const pureCircuits = {
2016
2410
  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 === 64 && 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)) {
2017
2411
  __compactRuntime.typeError('calculateEvmType2RequestIdV1_1_0_0_34',
2018
2412
  'argument 1',
2019
- 'circuits.compact line 105 char 1',
2020
- '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<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<34>, respondSerializationSchema: Bytes<0>>',
2413
+ 'circuits.compact line 107 char 1',
2414
+ 'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, tron>, 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<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<34>, respondSerializationSchema: Bytes<0>>',
2021
2415
  request_0)
2022
2416
  }
2023
2417
  return _dummyContract._calculateEvmType2RequestIdV1_1_0_0_34_0(request_0);
@@ -2030,8 +2424,8 @@ export const pureCircuits = {
2030
2424
  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 === 64 && 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)) {
2031
2425
  __compactRuntime.typeError('calculateEvmType2RequestIdV1_2_1_2_34',
2032
2426
  'argument 1',
2033
- 'circuits.compact line 111 char 1',
2034
- '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<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<34>, respondSerializationSchema: Bytes<0>>',
2427
+ 'circuits.compact line 113 char 1',
2428
+ 'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, tron>, 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<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<34>, respondSerializationSchema: Bytes<0>>',
2035
2429
  request_0)
2036
2430
  }
2037
2431
  return _dummyContract._calculateEvmType2RequestIdV1_2_1_2_34_0(request_0);
@@ -2046,21 +2440,21 @@ export const pureCircuits = {
2046
2440
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 0)) {
2047
2441
  __compactRuntime.typeError('verifyRespondBidirectionalEvent0',
2048
2442
  'argument 1',
2049
- 'circuits.compact line 117 char 1',
2443
+ 'circuits.compact line 119 char 1',
2050
2444
  'Bytes<0>',
2051
2445
  serializedOutput_0)
2052
2446
  }
2053
2447
  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.outputHash.buffer instanceof ArrayBuffer && respondBidirectionalEvent_0.outputHash.BYTES_PER_ELEMENT === 1 && respondBidirectionalEvent_0.outputHash.length === 32 && 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)) {
2054
2448
  __compactRuntime.typeError('verifyRespondBidirectionalEvent0',
2055
2449
  'argument 2',
2056
- 'circuits.compact line 117 char 1',
2450
+ 'circuits.compact line 119 char 1',
2057
2451
  'struct RespondBidirectionalEventV1<requestId: Bytes<32>, blockHeight: Uint<0..18446744073709551616>, outputKind: Enum<OutputKind, executed, failed, unviable>, serializedOutputLength: Uint<0..18446744073709551616>, outputHash: Bytes<32>, digest: Bytes<32>, signature: struct Signature<bigR: struct AffinePoint<x: Bytes<32>, y: Bytes<32>>, s: Bytes<32>, recoveryId: Uint<0..256>>>',
2058
2452
  respondBidirectionalEvent_0)
2059
2453
  }
2060
2454
  if (!(__compactRuntime.isValidSecp256k1Point(mpcResponseKey_0))) {
2061
2455
  __compactRuntime.typeError('verifyRespondBidirectionalEvent0',
2062
2456
  'argument 3',
2063
- 'circuits.compact line 117 char 1',
2457
+ 'circuits.compact line 119 char 1',
2064
2458
  'Secp256k1Point',
2065
2459
  mpcResponseKey_0)
2066
2460
  }
@@ -2078,21 +2472,21 @@ export const pureCircuits = {
2078
2472
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 32)) {
2079
2473
  __compactRuntime.typeError('verifyRespondBidirectionalEvent32',
2080
2474
  'argument 1',
2081
- 'circuits.compact line 129 char 1',
2475
+ 'circuits.compact line 131 char 1',
2082
2476
  'Bytes<32>',
2083
2477
  serializedOutput_0)
2084
2478
  }
2085
2479
  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.outputHash.buffer instanceof ArrayBuffer && respondBidirectionalEvent_0.outputHash.BYTES_PER_ELEMENT === 1 && respondBidirectionalEvent_0.outputHash.length === 32 && 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)) {
2086
2480
  __compactRuntime.typeError('verifyRespondBidirectionalEvent32',
2087
2481
  'argument 2',
2088
- 'circuits.compact line 129 char 1',
2482
+ 'circuits.compact line 131 char 1',
2089
2483
  'struct RespondBidirectionalEventV1<requestId: Bytes<32>, blockHeight: Uint<0..18446744073709551616>, outputKind: Enum<OutputKind, executed, failed, unviable>, serializedOutputLength: Uint<0..18446744073709551616>, outputHash: Bytes<32>, digest: Bytes<32>, signature: struct Signature<bigR: struct AffinePoint<x: Bytes<32>, y: Bytes<32>>, s: Bytes<32>, recoveryId: Uint<0..256>>>',
2090
2484
  respondBidirectionalEvent_0)
2091
2485
  }
2092
2486
  if (!(__compactRuntime.isValidSecp256k1Point(mpcResponseKey_0))) {
2093
2487
  __compactRuntime.typeError('verifyRespondBidirectionalEvent32',
2094
2488
  'argument 3',
2095
- 'circuits.compact line 129 char 1',
2489
+ 'circuits.compact line 131 char 1',
2096
2490
  'Secp256k1Point',
2097
2491
  mpcResponseKey_0)
2098
2492
  }
@@ -2108,21 +2502,107 @@ export const pureCircuits = {
2108
2502
  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 === 64 && 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)) {
2109
2503
  __compactRuntime.typeError('constructSignBidirectionalEventV1_1_0_0_34',
2110
2504
  'argument 1',
2111
- 'circuits.compact line 141 char 1',
2112
- '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<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<34>, respondSerializationSchema: Bytes<0>>',
2505
+ 'circuits.compact line 143 char 1',
2506
+ 'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, tron>, 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<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<34>, respondSerializationSchema: Bytes<0>>',
2113
2507
  request_0)
2114
2508
  }
2115
2509
  return _dummyContract._constructSignBidirectionalEventV1_1_0_0_34_0(request_0);
2510
+ },
2511
+ calculateTronTxParamsDigestV1_1: (...args_0) => {
2512
+ if (args_0.length !== 1) {
2513
+ throw new __compactRuntime.CompactError(`calculateTronTxParamsDigestV1_1: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
2514
+ }
2515
+ const txParams_0 = args_0[0];
2516
+ if (!(typeof(txParams_0) === 'object' && txParams_0.refBlockBytes.buffer instanceof ArrayBuffer && txParams_0.refBlockBytes.BYTES_PER_ELEMENT === 1 && txParams_0.refBlockBytes.length === 2 && txParams_0.refBlockHash.buffer instanceof ArrayBuffer && txParams_0.refBlockHash.BYTES_PER_ELEMENT === 1 && txParams_0.refBlockHash.length === 8 && typeof(txParams_0.timestamp) === 'bigint' && txParams_0.timestamp >= 0n && txParams_0.timestamp <= 18446744073709551615n && typeof(txParams_0.expiration) === 'bigint' && txParams_0.expiration >= 0n && txParams_0.expiration <= 18446744073709551615n && typeof(txParams_0.feeLimit) === 'bigint' && txParams_0.feeLimit >= 0n && txParams_0.feeLimit <= 18446744073709551615n && txParams_0.contractAddress.buffer instanceof ArrayBuffer && txParams_0.contractAddress.BYTES_PER_ELEMENT === 1 && txParams_0.contractAddress.length === 21 && typeof(txParams_0.callValue) === 'bigint' && txParams_0.callValue >= 0n && txParams_0.callValue <= 18446744073709551615n && 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))) {
2517
+ __compactRuntime.typeError('calculateTronTxParamsDigestV1_1',
2518
+ 'argument 1',
2519
+ 'circuits.compact line 160 char 1',
2520
+ 'struct TronTxParams<refBlockBytes: Bytes<2>, refBlockHash: Bytes<8>, timestamp: Uint<0..18446744073709551616>, expiration: Uint<0..18446744073709551616>, feeLimit: Uint<0..18446744073709551616>, contractAddress: Bytes<21>, callValue: Uint<0..18446744073709551616>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<1, Bytes<32>>>>>',
2521
+ txParams_0)
2522
+ }
2523
+ return _dummyContract._calculateTronTxParamsDigestV1_1_0(txParams_0);
2524
+ },
2525
+ calculateTronTxParamsDigestV1_2: (...args_0) => {
2526
+ if (args_0.length !== 1) {
2527
+ throw new __compactRuntime.CompactError(`calculateTronTxParamsDigestV1_2: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
2528
+ }
2529
+ const txParams_0 = args_0[0];
2530
+ if (!(typeof(txParams_0) === 'object' && txParams_0.refBlockBytes.buffer instanceof ArrayBuffer && txParams_0.refBlockBytes.BYTES_PER_ELEMENT === 1 && txParams_0.refBlockBytes.length === 2 && txParams_0.refBlockHash.buffer instanceof ArrayBuffer && txParams_0.refBlockHash.BYTES_PER_ELEMENT === 1 && txParams_0.refBlockHash.length === 8 && typeof(txParams_0.timestamp) === 'bigint' && txParams_0.timestamp >= 0n && txParams_0.timestamp <= 18446744073709551615n && typeof(txParams_0.expiration) === 'bigint' && txParams_0.expiration >= 0n && txParams_0.expiration <= 18446744073709551615n && typeof(txParams_0.feeLimit) === 'bigint' && txParams_0.feeLimit >= 0n && txParams_0.feeLimit <= 18446744073709551615n && txParams_0.contractAddress.buffer instanceof ArrayBuffer && txParams_0.contractAddress.BYTES_PER_ELEMENT === 1 && txParams_0.contractAddress.length === 21 && typeof(txParams_0.callValue) === 'bigint' && txParams_0.callValue >= 0n && txParams_0.callValue <= 18446744073709551615n && 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))) {
2531
+ __compactRuntime.typeError('calculateTronTxParamsDigestV1_2',
2532
+ 'argument 1',
2533
+ 'circuits.compact line 166 char 1',
2534
+ 'struct TronTxParams<refBlockBytes: Bytes<2>, refBlockHash: Bytes<8>, timestamp: Uint<0..18446744073709551616>, expiration: Uint<0..18446744073709551616>, feeLimit: Uint<0..18446744073709551616>, contractAddress: Bytes<21>, callValue: Uint<0..18446744073709551616>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<2, Bytes<32>>>>>',
2535
+ txParams_0)
2536
+ }
2537
+ return _dummyContract._calculateTronTxParamsDigestV1_2_0(txParams_0);
2538
+ },
2539
+ calculateTronRequestIdV1_1_0: (...args_0) => {
2540
+ if (args_0.length !== 1) {
2541
+ throw new __compactRuntime.CompactError(`calculateTronRequestIdV1_1_0: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
2542
+ }
2543
+ const request_0 = args_0[0];
2544
+ 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' && request_0.txParams.refBlockBytes.buffer instanceof ArrayBuffer && request_0.txParams.refBlockBytes.BYTES_PER_ELEMENT === 1 && request_0.txParams.refBlockBytes.length === 2 && request_0.txParams.refBlockHash.buffer instanceof ArrayBuffer && request_0.txParams.refBlockHash.BYTES_PER_ELEMENT === 1 && request_0.txParams.refBlockHash.length === 8 && typeof(request_0.txParams.timestamp) === 'bigint' && request_0.txParams.timestamp >= 0n && request_0.txParams.timestamp <= 18446744073709551615n && typeof(request_0.txParams.expiration) === 'bigint' && request_0.txParams.expiration >= 0n && request_0.txParams.expiration <= 18446744073709551615n && typeof(request_0.txParams.feeLimit) === 'bigint' && request_0.txParams.feeLimit >= 0n && request_0.txParams.feeLimit <= 18446744073709551615n && request_0.txParams.contractAddress.buffer instanceof ArrayBuffer && request_0.txParams.contractAddress.BYTES_PER_ELEMENT === 1 && request_0.txParams.contractAddress.length === 21 && typeof(request_0.txParams.callValue) === 'bigint' && request_0.txParams.callValue >= 0n && request_0.txParams.callValue <= 18446744073709551615n && 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) && request_0.executionDest.buffer instanceof ArrayBuffer && request_0.executionDest.BYTES_PER_ELEMENT === 1 && request_0.executionDest.length === 64 && 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 === 0 && request_0.respondSerializationSchema.buffer instanceof ArrayBuffer && request_0.respondSerializationSchema.BYTES_PER_ELEMENT === 1 && request_0.respondSerializationSchema.length === 0)) {
2545
+ __compactRuntime.typeError('calculateTronRequestIdV1_1_0',
2546
+ 'argument 1',
2547
+ 'circuits.compact line 172 char 1',
2548
+ 'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, tron>, txParams: struct TronTxParams<refBlockBytes: Bytes<2>, refBlockHash: Bytes<8>, timestamp: Uint<0..18446744073709551616>, expiration: Uint<0..18446744073709551616>, feeLimit: Uint<0..18446744073709551616>, contractAddress: Bytes<21>, callValue: Uint<0..18446744073709551616>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<1, Bytes<32>>>>>, executionDest: Bytes<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<0>, respondSerializationSchema: Bytes<0>>',
2549
+ request_0)
2550
+ }
2551
+ return _dummyContract._calculateTronRequestIdV1_1_0_0(request_0);
2552
+ },
2553
+ calculateTronRequestIdV1_2_0: (...args_0) => {
2554
+ if (args_0.length !== 1) {
2555
+ throw new __compactRuntime.CompactError(`calculateTronRequestIdV1_2_0: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
2556
+ }
2557
+ const request_0 = args_0[0];
2558
+ 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' && request_0.txParams.refBlockBytes.buffer instanceof ArrayBuffer && request_0.txParams.refBlockBytes.BYTES_PER_ELEMENT === 1 && request_0.txParams.refBlockBytes.length === 2 && request_0.txParams.refBlockHash.buffer instanceof ArrayBuffer && request_0.txParams.refBlockHash.BYTES_PER_ELEMENT === 1 && request_0.txParams.refBlockHash.length === 8 && typeof(request_0.txParams.timestamp) === 'bigint' && request_0.txParams.timestamp >= 0n && request_0.txParams.timestamp <= 18446744073709551615n && typeof(request_0.txParams.expiration) === 'bigint' && request_0.txParams.expiration >= 0n && request_0.txParams.expiration <= 18446744073709551615n && typeof(request_0.txParams.feeLimit) === 'bigint' && request_0.txParams.feeLimit >= 0n && request_0.txParams.feeLimit <= 18446744073709551615n && request_0.txParams.contractAddress.buffer instanceof ArrayBuffer && request_0.txParams.contractAddress.BYTES_PER_ELEMENT === 1 && request_0.txParams.contractAddress.length === 21 && typeof(request_0.txParams.callValue) === 'bigint' && request_0.txParams.callValue >= 0n && request_0.txParams.callValue <= 18446744073709551615n && 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) && request_0.executionDest.buffer instanceof ArrayBuffer && request_0.executionDest.BYTES_PER_ELEMENT === 1 && request_0.executionDest.length === 64 && 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 === 0 && request_0.respondSerializationSchema.buffer instanceof ArrayBuffer && request_0.respondSerializationSchema.BYTES_PER_ELEMENT === 1 && request_0.respondSerializationSchema.length === 0)) {
2559
+ __compactRuntime.typeError('calculateTronRequestIdV1_2_0',
2560
+ 'argument 1',
2561
+ 'circuits.compact line 178 char 1',
2562
+ 'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, tron>, txParams: struct TronTxParams<refBlockBytes: Bytes<2>, refBlockHash: Bytes<8>, timestamp: Uint<0..18446744073709551616>, expiration: Uint<0..18446744073709551616>, feeLimit: Uint<0..18446744073709551616>, contractAddress: Bytes<21>, callValue: Uint<0..18446744073709551616>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<2, Bytes<32>>>>>, executionDest: Bytes<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<0>, respondSerializationSchema: Bytes<0>>',
2563
+ request_0)
2564
+ }
2565
+ return _dummyContract._calculateTronRequestIdV1_2_0_0(request_0);
2566
+ },
2567
+ calculateTronRequestIdV1_1_34: (...args_0) => {
2568
+ if (args_0.length !== 1) {
2569
+ throw new __compactRuntime.CompactError(`calculateTronRequestIdV1_1_34: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
2570
+ }
2571
+ const request_0 = args_0[0];
2572
+ 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' && request_0.txParams.refBlockBytes.buffer instanceof ArrayBuffer && request_0.txParams.refBlockBytes.BYTES_PER_ELEMENT === 1 && request_0.txParams.refBlockBytes.length === 2 && request_0.txParams.refBlockHash.buffer instanceof ArrayBuffer && request_0.txParams.refBlockHash.BYTES_PER_ELEMENT === 1 && request_0.txParams.refBlockHash.length === 8 && typeof(request_0.txParams.timestamp) === 'bigint' && request_0.txParams.timestamp >= 0n && request_0.txParams.timestamp <= 18446744073709551615n && typeof(request_0.txParams.expiration) === 'bigint' && request_0.txParams.expiration >= 0n && request_0.txParams.expiration <= 18446744073709551615n && typeof(request_0.txParams.feeLimit) === 'bigint' && request_0.txParams.feeLimit >= 0n && request_0.txParams.feeLimit <= 18446744073709551615n && request_0.txParams.contractAddress.buffer instanceof ArrayBuffer && request_0.txParams.contractAddress.BYTES_PER_ELEMENT === 1 && request_0.txParams.contractAddress.length === 21 && typeof(request_0.txParams.callValue) === 'bigint' && request_0.txParams.callValue >= 0n && request_0.txParams.callValue <= 18446744073709551615n && 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) && request_0.executionDest.buffer instanceof ArrayBuffer && request_0.executionDest.BYTES_PER_ELEMENT === 1 && request_0.executionDest.length === 64 && 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)) {
2573
+ __compactRuntime.typeError('calculateTronRequestIdV1_1_34',
2574
+ 'argument 1',
2575
+ 'circuits.compact line 184 char 1',
2576
+ 'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, tron>, txParams: struct TronTxParams<refBlockBytes: Bytes<2>, refBlockHash: Bytes<8>, timestamp: Uint<0..18446744073709551616>, expiration: Uint<0..18446744073709551616>, feeLimit: Uint<0..18446744073709551616>, contractAddress: Bytes<21>, callValue: Uint<0..18446744073709551616>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<1, Bytes<32>>>>>, executionDest: Bytes<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<34>, respondSerializationSchema: Bytes<0>>',
2577
+ request_0)
2578
+ }
2579
+ return _dummyContract._calculateTronRequestIdV1_1_34_0(request_0);
2580
+ },
2581
+ calculateTronRequestIdV1_2_34: (...args_0) => {
2582
+ if (args_0.length !== 1) {
2583
+ throw new __compactRuntime.CompactError(`calculateTronRequestIdV1_2_34: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
2584
+ }
2585
+ const request_0 = args_0[0];
2586
+ 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' && request_0.txParams.refBlockBytes.buffer instanceof ArrayBuffer && request_0.txParams.refBlockBytes.BYTES_PER_ELEMENT === 1 && request_0.txParams.refBlockBytes.length === 2 && request_0.txParams.refBlockHash.buffer instanceof ArrayBuffer && request_0.txParams.refBlockHash.BYTES_PER_ELEMENT === 1 && request_0.txParams.refBlockHash.length === 8 && typeof(request_0.txParams.timestamp) === 'bigint' && request_0.txParams.timestamp >= 0n && request_0.txParams.timestamp <= 18446744073709551615n && typeof(request_0.txParams.expiration) === 'bigint' && request_0.txParams.expiration >= 0n && request_0.txParams.expiration <= 18446744073709551615n && typeof(request_0.txParams.feeLimit) === 'bigint' && request_0.txParams.feeLimit >= 0n && request_0.txParams.feeLimit <= 18446744073709551615n && request_0.txParams.contractAddress.buffer instanceof ArrayBuffer && request_0.txParams.contractAddress.BYTES_PER_ELEMENT === 1 && request_0.txParams.contractAddress.length === 21 && typeof(request_0.txParams.callValue) === 'bigint' && request_0.txParams.callValue >= 0n && request_0.txParams.callValue <= 18446744073709551615n && 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) && request_0.executionDest.buffer instanceof ArrayBuffer && request_0.executionDest.BYTES_PER_ELEMENT === 1 && request_0.executionDest.length === 64 && 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)) {
2587
+ __compactRuntime.typeError('calculateTronRequestIdV1_2_34',
2588
+ 'argument 1',
2589
+ 'circuits.compact line 190 char 1',
2590
+ 'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, tron>, txParams: struct TronTxParams<refBlockBytes: Bytes<2>, refBlockHash: Bytes<8>, timestamp: Uint<0..18446744073709551616>, expiration: Uint<0..18446744073709551616>, feeLimit: Uint<0..18446744073709551616>, contractAddress: Bytes<21>, callValue: Uint<0..18446744073709551616>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<2, Bytes<32>>>>>, executionDest: Bytes<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<34>, respondSerializationSchema: Bytes<0>>',
2591
+ request_0)
2592
+ }
2593
+ return _dummyContract._calculateTronRequestIdV1_2_34_0(request_0);
2116
2594
  }
2117
2595
  };
2118
2596
  export const expectedVk = {};
2119
2597
 
2120
2598
  export const circuitSignatures = {
2121
- 'calculateRequestIdV1': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'RequestIdPreimageV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'reserved']}}, {name: 'txParamsDigest', type: {tag: 'Bytes', length: 32}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
2599
+ 'calculateRequestIdV1': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'RequestIdPreimageV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tron']}}, {name: 'txParamsDigest', type: {tag: 'Bytes', length: 32}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
2122
2600
  'constructSignBidirectionalEventNotificationV1': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}, {tag: 'Uint', maxval: '255'}, {tag: 'Vector', length: 4, type: {tag: 'Uint', maxval: '255'}}], resultType: {tag: 'Struct', name: 'SignBidirectionalEventNotification', elements: [{name: 'version', type: {tag: 'Uint', maxval: '255'}}, {name: 'payload', type: {tag: 'Bytes', length: 128}}]}},
2123
2601
  'calculateSignetAttestationDigestV1': {pure: true, provable: false, argumentTypes: [{tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}, {tag: 'Uint', maxval: '18446744073709551615'}, {tag: 'Enum', name: 'OutputKind', elements: ['executed', 'failed', 'unviable']}, {tag: 'Uint', maxval: '18446744073709551615'}, {tag: 'Bytes', length: 32}], resultType: {tag: 'Bytes', length: 32}},
2124
2602
  'verifyRespondBidirectionalAttestationV1': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'RespondBidirectionalEventV1', elements: [{name: 'requestId', type: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}}, {name: 'blockHeight', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'outputKind', type: {tag: 'Enum', name: 'OutputKind', elements: ['executed', 'failed', 'unviable']}}, {name: 'serializedOutputLength', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'outputHash', type: {tag: 'Bytes', length: 32}}, {name: 'digest', type: {tag: 'Bytes', length: 32}}, {name: 'signature', type: {tag: 'Struct', name: 'Signature', elements: [{name: 'bigR', type: {tag: 'Struct', name: 'AffinePoint', elements: [{name: 'x', type: {tag: 'Bytes', length: 32}}, {name: 'y', type: {tag: 'Bytes', length: 32}}]}}, {name: 's', type: {tag: 'Bytes', length: 32}}, {name: 'recoveryId', type: {tag: 'Uint', maxval: '255'}}]}}]}, {tag: 'Secp256k1Point'}], resultType: {tag: 'Boolean'}},
2125
2603
  'ethereumCaip2Id': {pure: true, provable: false, argumentTypes: [], resultType: {tag: 'Bytes', length: 64}},
2604
+ 'tronCaip2Id': {pure: true, provable: false, argumentTypes: [], resultType: {tag: 'Bytes', length: 64}},
2605
+ 'tronAddress': {pure: true, provable: false, argumentTypes: [{tag: 'Bytes', length: 20}], resultType: {tag: 'Bytes', length: 21}},
2126
2606
  'evmAddressAbiWord': {pure: true, provable: false, argumentTypes: [{tag: 'Bytes', length: 20}], resultType: {tag: 'Bytes', length: 32}},
2127
2607
  'numericAbiWord': {pure: true, provable: false, argumentTypes: [{tag: 'Uint', maxval: '340282366920938463463374607431768211455'}], resultType: {tag: 'Bytes', length: 32}},
2128
2608
  'boolAbiWord': {pure: true, provable: false, argumentTypes: [{tag: 'Boolean'}], resultType: {tag: 'Bytes', length: 32}},
@@ -2138,11 +2618,17 @@ export const circuitSignatures = {
2138
2618
  'verifyAttestedOutput2': {pure: true, provable: false, argumentTypes: [{tag: 'Bytes', length: 2}, {tag: 'Uint', maxval: '18446744073709551615'}, {tag: 'Bytes', length: 32}], resultType: {tag: 'Boolean'}},
2139
2619
  'calculateEvmType2TxParamsDigestV1_1_0_0': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'EvmType2TxParams', elements: [{name: 'chainId', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'nonce', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'maxPriorityFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'maxFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'gasLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'to', type: {tag: 'Bytes', length: 20}}, {name: 'value', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}, {name: 'accessListEntryCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'accessList', type: {tag: 'Tuple', types: []}}]}], resultType: {tag: 'Bytes', length: 32}},
2140
2620
  'calculateEvmType2TxParamsDigestV1_2_1_2': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'EvmType2TxParams', elements: [{name: 'chainId', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'nonce', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'maxPriorityFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'maxFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'gasLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'to', type: {tag: 'Bytes', length: 20}}, {name: 'value', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}]}}, {name: 'accessListEntryCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'accessList', type: {tag: 'Vector', length: 1, type: {tag: 'Struct', name: 'EvmAccessListEntry', elements: [{name: 'address', type: {tag: 'Bytes', length: 20}}, {name: 'storageKeyCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'storageKeys', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}}]}], resultType: {tag: 'Bytes', length: 32}},
2141
- 'calculateEvmType2RequestIdV1_1_0_0_34': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'reserved']}}, {name: 'txParams', type: {tag: 'Struct', name: 'EvmType2TxParams', elements: [{name: 'chainId', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'nonce', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'maxPriorityFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'maxFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'gasLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'to', type: {tag: 'Bytes', length: 20}}, {name: 'value', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}, {name: 'accessListEntryCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'accessList', type: {tag: 'Tuple', types: []}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 34}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
2142
- 'calculateEvmType2RequestIdV1_2_1_2_34': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'reserved']}}, {name: 'txParams', type: {tag: 'Struct', name: 'EvmType2TxParams', elements: [{name: 'chainId', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'nonce', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'maxPriorityFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'maxFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'gasLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'to', type: {tag: 'Bytes', length: 20}}, {name: 'value', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}]}}, {name: 'accessListEntryCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'accessList', type: {tag: 'Vector', length: 1, type: {tag: 'Struct', name: 'EvmAccessListEntry', elements: [{name: 'address', type: {tag: 'Bytes', length: 20}}, {name: 'storageKeyCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'storageKeys', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 34}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
2621
+ 'calculateEvmType2RequestIdV1_1_0_0_34': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tron']}}, {name: 'txParams', type: {tag: 'Struct', name: 'EvmType2TxParams', elements: [{name: 'chainId', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'nonce', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'maxPriorityFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'maxFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'gasLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'to', type: {tag: 'Bytes', length: 20}}, {name: 'value', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}, {name: 'accessListEntryCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'accessList', type: {tag: 'Tuple', types: []}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 34}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
2622
+ 'calculateEvmType2RequestIdV1_2_1_2_34': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tron']}}, {name: 'txParams', type: {tag: 'Struct', name: 'EvmType2TxParams', elements: [{name: 'chainId', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'nonce', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'maxPriorityFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'maxFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'gasLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'to', type: {tag: 'Bytes', length: 20}}, {name: 'value', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}]}}, {name: 'accessListEntryCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'accessList', type: {tag: 'Vector', length: 1, type: {tag: 'Struct', name: 'EvmAccessListEntry', elements: [{name: 'address', type: {tag: 'Bytes', length: 20}}, {name: 'storageKeyCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'storageKeys', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 34}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
2143
2623
  'verifyRespondBidirectionalEvent0': {pure: true, provable: false, argumentTypes: [{tag: 'Bytes', length: 0}, {tag: 'Struct', name: 'RespondBidirectionalEventV1', elements: [{name: 'requestId', type: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}}, {name: 'blockHeight', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'outputKind', type: {tag: 'Enum', name: 'OutputKind', elements: ['executed', 'failed', 'unviable']}}, {name: 'serializedOutputLength', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'outputHash', type: {tag: 'Bytes', length: 32}}, {name: 'digest', type: {tag: 'Bytes', length: 32}}, {name: 'signature', type: {tag: 'Struct', name: 'Signature', elements: [{name: 'bigR', type: {tag: 'Struct', name: 'AffinePoint', elements: [{name: 'x', type: {tag: 'Bytes', length: 32}}, {name: 'y', type: {tag: 'Bytes', length: 32}}]}}, {name: 's', type: {tag: 'Bytes', length: 32}}, {name: 'recoveryId', type: {tag: 'Uint', maxval: '255'}}]}}]}, {tag: 'Secp256k1Point'}], resultType: {tag: 'Boolean'}},
2144
2624
  'verifyRespondBidirectionalEvent32': {pure: true, provable: false, argumentTypes: [{tag: 'Bytes', length: 32}, {tag: 'Struct', name: 'RespondBidirectionalEventV1', elements: [{name: 'requestId', type: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}}, {name: 'blockHeight', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'outputKind', type: {tag: 'Enum', name: 'OutputKind', elements: ['executed', 'failed', 'unviable']}}, {name: 'serializedOutputLength', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'outputHash', type: {tag: 'Bytes', length: 32}}, {name: 'digest', type: {tag: 'Bytes', length: 32}}, {name: 'signature', type: {tag: 'Struct', name: 'Signature', elements: [{name: 'bigR', type: {tag: 'Struct', name: 'AffinePoint', elements: [{name: 'x', type: {tag: 'Bytes', length: 32}}, {name: 'y', type: {tag: 'Bytes', length: 32}}]}}, {name: 's', type: {tag: 'Bytes', length: 32}}, {name: 'recoveryId', type: {tag: 'Uint', maxval: '255'}}]}}]}, {tag: 'Secp256k1Point'}], resultType: {tag: 'Boolean'}},
2145
- 'constructSignBidirectionalEventV1_1_0_0_34': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'reserved']}}, {name: 'txParams', type: {tag: 'Struct', name: 'EvmType2TxParams', elements: [{name: 'chainId', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'nonce', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'maxPriorityFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'maxFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'gasLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'to', type: {tag: 'Bytes', length: 20}}, {name: 'value', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}, {name: 'accessListEntryCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'accessList', type: {tag: 'Tuple', types: []}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 34}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'reserved']}}, {name: 'txParams', type: {tag: 'Struct', name: 'EvmType2TxParams', elements: [{name: 'chainId', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'nonce', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'maxPriorityFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'maxFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'gasLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'to', type: {tag: 'Bytes', length: 20}}, {name: 'value', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}, {name: 'accessListEntryCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'accessList', type: {tag: 'Tuple', types: []}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 34}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}},
2625
+ 'constructSignBidirectionalEventV1_1_0_0_34': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tron']}}, {name: 'txParams', type: {tag: 'Struct', name: 'EvmType2TxParams', elements: [{name: 'chainId', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'nonce', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'maxPriorityFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'maxFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'gasLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'to', type: {tag: 'Bytes', length: 20}}, {name: 'value', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}, {name: 'accessListEntryCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'accessList', type: {tag: 'Tuple', types: []}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 34}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tron']}}, {name: 'txParams', type: {tag: 'Struct', name: 'EvmType2TxParams', elements: [{name: 'chainId', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'nonce', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'maxPriorityFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'maxFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'gasLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'to', type: {tag: 'Bytes', length: 20}}, {name: 'value', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}, {name: 'accessListEntryCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'accessList', type: {tag: 'Tuple', types: []}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 34}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}},
2626
+ 'calculateTronTxParamsDigestV1_1': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'TronTxParams', elements: [{name: 'refBlockBytes', type: {tag: 'Bytes', length: 2}}, {name: 'refBlockHash', type: {tag: 'Bytes', length: 8}}, {name: 'timestamp', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'expiration', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'feeLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'contractAddress', type: {tag: 'Bytes', length: 21}}, {name: 'callValue', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}]}], resultType: {tag: 'Bytes', length: 32}},
2627
+ 'calculateTronTxParamsDigestV1_2': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'TronTxParams', elements: [{name: 'refBlockBytes', type: {tag: 'Bytes', length: 2}}, {name: 'refBlockHash', type: {tag: 'Bytes', length: 8}}, {name: 'timestamp', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'expiration', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'feeLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'contractAddress', type: {tag: 'Bytes', length: 21}}, {name: 'callValue', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}]}}]}], resultType: {tag: 'Bytes', length: 32}},
2628
+ 'calculateTronRequestIdV1_1_0': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tron']}}, {name: 'txParams', type: {tag: 'Struct', name: 'TronTxParams', elements: [{name: 'refBlockBytes', type: {tag: 'Bytes', length: 2}}, {name: 'refBlockHash', type: {tag: 'Bytes', length: 8}}, {name: 'timestamp', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'expiration', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'feeLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'contractAddress', type: {tag: 'Bytes', length: 21}}, {name: 'callValue', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 0}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
2629
+ 'calculateTronRequestIdV1_2_0': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tron']}}, {name: 'txParams', type: {tag: 'Struct', name: 'TronTxParams', elements: [{name: 'refBlockBytes', type: {tag: 'Bytes', length: 2}}, {name: 'refBlockHash', type: {tag: 'Bytes', length: 8}}, {name: 'timestamp', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'expiration', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'feeLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'contractAddress', type: {tag: 'Bytes', length: 21}}, {name: 'callValue', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}]}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 0}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
2630
+ 'calculateTronRequestIdV1_1_34': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tron']}}, {name: 'txParams', type: {tag: 'Struct', name: 'TronTxParams', elements: [{name: 'refBlockBytes', type: {tag: 'Bytes', length: 2}}, {name: 'refBlockHash', type: {tag: 'Bytes', length: 8}}, {name: 'timestamp', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'expiration', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'feeLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'contractAddress', type: {tag: 'Bytes', length: 21}}, {name: 'callValue', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 34}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
2631
+ 'calculateTronRequestIdV1_2_34': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tron']}}, {name: 'txParams', type: {tag: 'Struct', name: 'TronTxParams', elements: [{name: 'refBlockBytes', type: {tag: 'Bytes', length: 2}}, {name: 'refBlockHash', type: {tag: 'Bytes', length: 8}}, {name: 'timestamp', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'expiration', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'feeLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'contractAddress', type: {tag: 'Bytes', length: 21}}, {name: 'callValue', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}]}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 34}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
2146
2632
  };
2147
2633
 
2148
2634
  export const declaredInterfaces = {};