@sig-net/midnight 0.27.0-rc.3 → 0.27.0-rc.5

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 (65) hide show
  1. package/README.md +4 -3
  2. package/dist/abi-serde.d.ts +18 -0
  3. package/dist/abi-serde.d.ts.map +1 -1
  4. package/dist/abi-serde.js +28 -0
  5. package/dist/abi-serde.js.map +1 -1
  6. package/dist/compact-descriptors.d.ts +6 -5
  7. package/dist/compact-descriptors.d.ts.map +1 -1
  8. package/dist/compact-descriptors.js +4 -4
  9. package/dist/compact-descriptors.js.map +1 -1
  10. package/dist/constants.d.ts +2 -2
  11. package/dist/constants.js +2 -2
  12. package/dist/ecdsa-attestation.d.ts +2 -1
  13. package/dist/ecdsa-attestation.d.ts.map +1 -1
  14. package/dist/ecdsa-attestation.js +4 -1
  15. package/dist/ecdsa-attestation.js.map +1 -1
  16. package/dist/epsilon-derivation.d.ts +8 -8
  17. package/dist/epsilon-derivation.js +7 -7
  18. package/dist/index.d.ts +3 -2
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +3 -2
  21. package/dist/index.js.map +1 -1
  22. package/dist/managed/compiler/contract-info.json +181 -0
  23. package/dist/managed/compiler/contract-manifest.json +16 -8
  24. package/dist/managed/contract/index.d.ts +48 -0
  25. package/dist/managed/contract/index.js +561 -349
  26. package/dist/managed/contract/index.js.map +2 -2
  27. package/dist/managed/zkir/assertTronExpirationWindowV1.zkir +63 -0
  28. package/dist/signature-requests-state-reader.d.ts +16 -10
  29. package/dist/signature-requests-state-reader.d.ts.map +1 -1
  30. package/dist/signature-requests-state-reader.js +31 -13
  31. package/dist/signature-requests-state-reader.js.map +1 -1
  32. package/dist/signature-response-verification.d.ts +52 -7
  33. package/dist/signature-response-verification.d.ts.map +1 -1
  34. package/dist/signature-response-verification.js +63 -13
  35. package/dist/signature-response-verification.js.map +1 -1
  36. package/dist/signet-contract-events.d.ts +1 -1
  37. package/dist/signet-request-id.js +3 -3
  38. package/dist/signet-request-id.js.map +1 -1
  39. package/dist/signet-request-response-reader.d.ts +112 -34
  40. package/dist/signet-request-response-reader.d.ts.map +1 -1
  41. package/dist/signet-request-response-reader.js +279 -96
  42. package/dist/signet-request-response-reader.js.map +1 -1
  43. package/dist/signet-requests.d.ts +9 -5
  44. package/dist/signet-requests.d.ts.map +1 -1
  45. package/dist/signet-requests.js +6 -2
  46. package/dist/signet-requests.js.map +1 -1
  47. package/dist/signet-tron-record-decoding.d.ts +2 -0
  48. package/dist/signet-tron-record-decoding.d.ts.map +1 -1
  49. package/dist/signet-tron-record-decoding.js +2 -0
  50. package/dist/signet-tron-record-decoding.js.map +1 -1
  51. package/dist/signet-tron-requests.d.ts +7 -3
  52. package/dist/signet-tron-requests.d.ts.map +1 -1
  53. package/dist/signet-tron-requests.js +6 -2
  54. package/dist/signet-tron-requests.js.map +1 -1
  55. package/dist/tron-node-api.d.ts +83 -0
  56. package/dist/tron-node-api.d.ts.map +1 -0
  57. package/dist/tron-node-api.js +134 -0
  58. package/dist/tron-node-api.js.map +1 -0
  59. package/dist/tron-transactions.d.ts +38 -1
  60. package/dist/tron-transactions.d.ts.map +1 -1
  61. package/dist/tron-transactions.js +35 -0
  62. package/dist/tron-transactions.js.map +1 -1
  63. package/package.json +2 -2
  64. package/src/Signet.compact +79 -10
  65. package/src/circuits.compact +9 -0
@@ -21,219 +21,219 @@ export var OutputKind;
21
21
  OutputKind[OutputKind['unviable'] = 2] = 'unviable';
22
22
  })(OutputKind || (OutputKind = {}));
23
23
 
24
- const _descriptor_0 = new __compactRuntime.CompactTypeUnsignedInteger(255n, 1);
24
+ const _descriptor_0 = new __compactRuntime.CompactTypeBytes(2);
25
25
 
26
- const _descriptor_1 = new __compactRuntime.CompactTypeBytes(32);
26
+ const _descriptor_1 = new __compactRuntime.CompactTypeBytes(8);
27
27
 
28
- class _ContractAddress_0 {
29
- alignment() {
30
- return _descriptor_1.alignment();
31
- }
32
- fromValue(value_0) {
33
- return {
34
- bytes: _descriptor_1.fromValue(value_0)
35
- }
36
- }
37
- toValue(value_0) {
38
- return _descriptor_1.toValue(value_0.bytes);
39
- }
40
- }
41
-
42
- const _descriptor_2 = new _ContractAddress_0();
43
-
44
- const _descriptor_3 = new __compactRuntime.CompactTypeEnum(1, 1);
28
+ const _descriptor_2 = new __compactRuntime.CompactTypeUnsignedInteger(18446744073709551615n, 8);
45
29
 
46
- const _descriptor_4 = new __compactRuntime.CompactTypeEnum(1, 1);
30
+ const _descriptor_3 = new __compactRuntime.CompactTypeBytes(21);
47
31
 
48
- const _descriptor_5 = new __compactRuntime.CompactTypeBytes(2);
32
+ const _descriptor_4 = __compactRuntime.CompactTypeBoolean;
49
33
 
50
- const _descriptor_6 = new __compactRuntime.CompactTypeBytes(8);
34
+ const _descriptor_5 = new __compactRuntime.CompactTypeBytes(4);
51
35
 
52
- const _descriptor_7 = new __compactRuntime.CompactTypeUnsignedInteger(18446744073709551615n, 8);
36
+ const _descriptor_6 = new __compactRuntime.CompactTypeUnsignedInteger(65535n, 2);
53
37
 
54
- const _descriptor_8 = new __compactRuntime.CompactTypeBytes(21);
38
+ const _descriptor_7 = new __compactRuntime.CompactTypeBytes(32);
55
39
 
56
- const _descriptor_9 = __compactRuntime.CompactTypeBoolean;
57
-
58
- const _descriptor_10 = new __compactRuntime.CompactTypeBytes(4);
59
-
60
- const _descriptor_11 = new __compactRuntime.CompactTypeUnsignedInteger(65535n, 2);
61
-
62
- const _descriptor_12 = new __compactRuntime.CompactTypeVector(1, _descriptor_1);
40
+ const _descriptor_8 = new __compactRuntime.CompactTypeVector(2, _descriptor_7);
63
41
 
64
42
  class _EvmCalldata_0 {
65
43
  alignment() {
66
- return _descriptor_10.alignment().concat(_descriptor_11.alignment().concat(_descriptor_12.alignment()));
44
+ return _descriptor_5.alignment().concat(_descriptor_6.alignment().concat(_descriptor_8.alignment()));
67
45
  }
68
46
  fromValue(value_0) {
69
47
  return {
70
- selector: _descriptor_10.fromValue(value_0),
71
- noWords: _descriptor_11.fromValue(value_0),
72
- words: _descriptor_12.fromValue(value_0)
48
+ selector: _descriptor_5.fromValue(value_0),
49
+ noWords: _descriptor_6.fromValue(value_0),
50
+ words: _descriptor_8.fromValue(value_0)
73
51
  }
74
52
  }
75
53
  toValue(value_0) {
76
- return _descriptor_10.toValue(value_0.selector).concat(_descriptor_11.toValue(value_0.noWords).concat(_descriptor_12.toValue(value_0.words)));
54
+ return _descriptor_5.toValue(value_0.selector).concat(_descriptor_6.toValue(value_0.noWords).concat(_descriptor_8.toValue(value_0.words)));
77
55
  }
78
56
  }
79
57
 
80
- const _descriptor_13 = new _EvmCalldata_0();
58
+ const _descriptor_9 = new _EvmCalldata_0();
81
59
 
82
60
  class _Maybe_0 {
83
61
  alignment() {
84
- return _descriptor_9.alignment().concat(_descriptor_13.alignment());
62
+ return _descriptor_4.alignment().concat(_descriptor_9.alignment());
85
63
  }
86
64
  fromValue(value_0) {
87
65
  return {
88
- is_some: _descriptor_9.fromValue(value_0),
89
- value: _descriptor_13.fromValue(value_0)
66
+ is_some: _descriptor_4.fromValue(value_0),
67
+ value: _descriptor_9.fromValue(value_0)
90
68
  }
91
69
  }
92
70
  toValue(value_0) {
93
- return _descriptor_9.toValue(value_0.is_some).concat(_descriptor_13.toValue(value_0.value));
71
+ return _descriptor_4.toValue(value_0.is_some).concat(_descriptor_9.toValue(value_0.value));
94
72
  }
95
73
  }
96
74
 
97
- const _descriptor_14 = new _Maybe_0();
75
+ const _descriptor_10 = new _Maybe_0();
98
76
 
99
77
  class _TronTxParams_0 {
100
78
  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())))))));
79
+ return _descriptor_0.alignment().concat(_descriptor_1.alignment().concat(_descriptor_2.alignment().concat(_descriptor_2.alignment().concat(_descriptor_2.alignment().concat(_descriptor_3.alignment().concat(_descriptor_2.alignment().concat(_descriptor_10.alignment())))))));
102
80
  }
103
81
  fromValue(value_0) {
104
82
  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)
83
+ refBlockBytes: _descriptor_0.fromValue(value_0),
84
+ refBlockHash: _descriptor_1.fromValue(value_0),
85
+ timestamp: _descriptor_2.fromValue(value_0),
86
+ expiration: _descriptor_2.fromValue(value_0),
87
+ feeLimit: _descriptor_2.fromValue(value_0),
88
+ contractAddress: _descriptor_3.fromValue(value_0),
89
+ callValue: _descriptor_2.fromValue(value_0),
90
+ calldata: _descriptor_10.fromValue(value_0)
113
91
  }
114
92
  }
115
93
  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))))))));
94
+ return _descriptor_0.toValue(value_0.refBlockBytes).concat(_descriptor_1.toValue(value_0.refBlockHash).concat(_descriptor_2.toValue(value_0.timestamp).concat(_descriptor_2.toValue(value_0.expiration).concat(_descriptor_2.toValue(value_0.feeLimit).concat(_descriptor_3.toValue(value_0.contractAddress).concat(_descriptor_2.toValue(value_0.callValue).concat(_descriptor_10.toValue(value_0.calldata))))))));
117
95
  }
118
96
  }
119
97
 
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);
98
+ const _descriptor_11 = new _TronTxParams_0();
127
99
 
128
- const _descriptor_19 = new __compactRuntime.CompactTypeBytes(0);
100
+ const _descriptor_12 = new __compactRuntime.CompactTypeUnsignedInteger(255n, 1);
129
101
 
130
- class _SignBidirectionalEventV1_0 {
102
+ class _ContractAddress_0 {
131
103
  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()))))))))));
104
+ return _descriptor_7.alignment();
133
105
  }
134
106
  fromValue(value_0) {
135
107
  return {
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)
108
+ bytes: _descriptor_7.fromValue(value_0)
147
109
  }
148
110
  }
149
111
  toValue(value_0) {
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)))))))))));
112
+ return _descriptor_7.toValue(value_0.bytes);
151
113
  }
152
114
  }
153
115
 
154
- const _descriptor_20 = new _SignBidirectionalEventV1_0();
116
+ const _descriptor_13 = new _ContractAddress_0();
117
+
118
+ const _descriptor_14 = new __compactRuntime.CompactTypeEnum(1, 1);
155
119
 
156
- const _descriptor_21 = new __compactRuntime.CompactTypeVector(2, _descriptor_1);
120
+ const _descriptor_15 = new __compactRuntime.CompactTypeEnum(1, 1);
121
+
122
+ const _descriptor_16 = new __compactRuntime.CompactTypeVector(1, _descriptor_7);
157
123
 
158
124
  class _EvmCalldata_1 {
159
125
  alignment() {
160
- return _descriptor_10.alignment().concat(_descriptor_11.alignment().concat(_descriptor_21.alignment()));
126
+ return _descriptor_5.alignment().concat(_descriptor_6.alignment().concat(_descriptor_16.alignment()));
161
127
  }
162
128
  fromValue(value_0) {
163
129
  return {
164
- selector: _descriptor_10.fromValue(value_0),
165
- noWords: _descriptor_11.fromValue(value_0),
166
- words: _descriptor_21.fromValue(value_0)
130
+ selector: _descriptor_5.fromValue(value_0),
131
+ noWords: _descriptor_6.fromValue(value_0),
132
+ words: _descriptor_16.fromValue(value_0)
167
133
  }
168
134
  }
169
135
  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)));
136
+ return _descriptor_5.toValue(value_0.selector).concat(_descriptor_6.toValue(value_0.noWords).concat(_descriptor_16.toValue(value_0.words)));
171
137
  }
172
138
  }
173
139
 
174
- const _descriptor_22 = new _EvmCalldata_1();
140
+ const _descriptor_17 = new _EvmCalldata_1();
175
141
 
176
142
  class _Maybe_1 {
177
143
  alignment() {
178
- return _descriptor_9.alignment().concat(_descriptor_22.alignment());
144
+ return _descriptor_4.alignment().concat(_descriptor_17.alignment());
179
145
  }
180
146
  fromValue(value_0) {
181
147
  return {
182
- is_some: _descriptor_9.fromValue(value_0),
183
- value: _descriptor_22.fromValue(value_0)
148
+ is_some: _descriptor_4.fromValue(value_0),
149
+ value: _descriptor_17.fromValue(value_0)
184
150
  }
185
151
  }
186
152
  toValue(value_0) {
187
- return _descriptor_9.toValue(value_0.is_some).concat(_descriptor_22.toValue(value_0.value));
153
+ return _descriptor_4.toValue(value_0.is_some).concat(_descriptor_17.toValue(value_0.value));
188
154
  }
189
155
  }
190
156
 
191
- const _descriptor_23 = new _Maybe_1();
157
+ const _descriptor_18 = new _Maybe_1();
192
158
 
193
159
  class _TronTxParams_1 {
194
160
  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())))))));
161
+ return _descriptor_0.alignment().concat(_descriptor_1.alignment().concat(_descriptor_2.alignment().concat(_descriptor_2.alignment().concat(_descriptor_2.alignment().concat(_descriptor_3.alignment().concat(_descriptor_2.alignment().concat(_descriptor_18.alignment())))))));
162
+ }
163
+ fromValue(value_0) {
164
+ return {
165
+ refBlockBytes: _descriptor_0.fromValue(value_0),
166
+ refBlockHash: _descriptor_1.fromValue(value_0),
167
+ timestamp: _descriptor_2.fromValue(value_0),
168
+ expiration: _descriptor_2.fromValue(value_0),
169
+ feeLimit: _descriptor_2.fromValue(value_0),
170
+ contractAddress: _descriptor_3.fromValue(value_0),
171
+ callValue: _descriptor_2.fromValue(value_0),
172
+ calldata: _descriptor_18.fromValue(value_0)
173
+ }
174
+ }
175
+ toValue(value_0) {
176
+ return _descriptor_0.toValue(value_0.refBlockBytes).concat(_descriptor_1.toValue(value_0.refBlockHash).concat(_descriptor_2.toValue(value_0.timestamp).concat(_descriptor_2.toValue(value_0.expiration).concat(_descriptor_2.toValue(value_0.feeLimit).concat(_descriptor_3.toValue(value_0.contractAddress).concat(_descriptor_2.toValue(value_0.callValue).concat(_descriptor_18.toValue(value_0.calldata))))))));
177
+ }
178
+ }
179
+
180
+ const _descriptor_19 = new _TronTxParams_1();
181
+
182
+ const _descriptor_20 = new __compactRuntime.CompactTypeBytes(64);
183
+
184
+ const _descriptor_21 = new __compactRuntime.CompactTypeEnum(1, 1);
185
+
186
+ const _descriptor_22 = new __compactRuntime.CompactTypeBytes(34);
187
+
188
+ const _descriptor_23 = new __compactRuntime.CompactTypeBytes(0);
189
+
190
+ class _SignBidirectionalEventV1_0 {
191
+ alignment() {
192
+ return _descriptor_12.alignment().concat(_descriptor_13.alignment().concat(_descriptor_7.alignment().concat(_descriptor_14.alignment().concat(_descriptor_15.alignment().concat(_descriptor_19.alignment().concat(_descriptor_20.alignment().concat(_descriptor_21.alignment().concat(_descriptor_20.alignment().concat(_descriptor_22.alignment().concat(_descriptor_23.alignment()))))))))));
196
193
  }
197
194
  fromValue(value_0) {
198
195
  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)
196
+ keyVersion: _descriptor_12.fromValue(value_0),
197
+ sender: _descriptor_13.fromValue(value_0),
198
+ path: _descriptor_7.fromValue(value_0),
199
+ algo: _descriptor_14.fromValue(value_0),
200
+ txParamType: _descriptor_15.fromValue(value_0),
201
+ txParams: _descriptor_19.fromValue(value_0),
202
+ executionDest: _descriptor_20.fromValue(value_0),
203
+ signatureDest: _descriptor_21.fromValue(value_0),
204
+ params: _descriptor_20.fromValue(value_0),
205
+ outputDeserializationSchema: _descriptor_22.fromValue(value_0),
206
+ respondSerializationSchema: _descriptor_23.fromValue(value_0)
207
207
  }
208
208
  }
209
209
  toValue(value_0) {
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))))))));
210
+ return _descriptor_12.toValue(value_0.keyVersion).concat(_descriptor_13.toValue(value_0.sender).concat(_descriptor_7.toValue(value_0.path).concat(_descriptor_14.toValue(value_0.algo).concat(_descriptor_15.toValue(value_0.txParamType).concat(_descriptor_19.toValue(value_0.txParams).concat(_descriptor_20.toValue(value_0.executionDest).concat(_descriptor_21.toValue(value_0.signatureDest).concat(_descriptor_20.toValue(value_0.params).concat(_descriptor_22.toValue(value_0.outputDeserializationSchema).concat(_descriptor_23.toValue(value_0.respondSerializationSchema)))))))))));
211
211
  }
212
212
  }
213
213
 
214
- const _descriptor_24 = new _TronTxParams_1();
214
+ const _descriptor_24 = new _SignBidirectionalEventV1_0();
215
215
 
216
216
  class _SignBidirectionalEventV1_1 {
217
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()))))))))));
218
+ return _descriptor_12.alignment().concat(_descriptor_13.alignment().concat(_descriptor_7.alignment().concat(_descriptor_14.alignment().concat(_descriptor_15.alignment().concat(_descriptor_11.alignment().concat(_descriptor_20.alignment().concat(_descriptor_21.alignment().concat(_descriptor_20.alignment().concat(_descriptor_22.alignment().concat(_descriptor_23.alignment()))))))))));
219
219
  }
220
220
  fromValue(value_0) {
221
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)
222
+ keyVersion: _descriptor_12.fromValue(value_0),
223
+ sender: _descriptor_13.fromValue(value_0),
224
+ path: _descriptor_7.fromValue(value_0),
225
+ algo: _descriptor_14.fromValue(value_0),
226
+ txParamType: _descriptor_15.fromValue(value_0),
227
+ txParams: _descriptor_11.fromValue(value_0),
228
+ executionDest: _descriptor_20.fromValue(value_0),
229
+ signatureDest: _descriptor_21.fromValue(value_0),
230
+ params: _descriptor_20.fromValue(value_0),
231
+ outputDeserializationSchema: _descriptor_22.fromValue(value_0),
232
+ respondSerializationSchema: _descriptor_23.fromValue(value_0)
233
233
  }
234
234
  }
235
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)))))))))));
236
+ return _descriptor_12.toValue(value_0.keyVersion).concat(_descriptor_13.toValue(value_0.sender).concat(_descriptor_7.toValue(value_0.path).concat(_descriptor_14.toValue(value_0.algo).concat(_descriptor_15.toValue(value_0.txParamType).concat(_descriptor_11.toValue(value_0.txParams).concat(_descriptor_20.toValue(value_0.executionDest).concat(_descriptor_21.toValue(value_0.signatureDest).concat(_descriptor_20.toValue(value_0.params).concat(_descriptor_22.toValue(value_0.outputDeserializationSchema).concat(_descriptor_23.toValue(value_0.respondSerializationSchema)))))))))));
237
237
  }
238
238
  }
239
239
 
@@ -241,25 +241,25 @@ const _descriptor_25 = new _SignBidirectionalEventV1_1();
241
241
 
242
242
  class _SignBidirectionalEventV1_2 {
243
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()))))))))));
244
+ return _descriptor_12.alignment().concat(_descriptor_13.alignment().concat(_descriptor_7.alignment().concat(_descriptor_14.alignment().concat(_descriptor_15.alignment().concat(_descriptor_19.alignment().concat(_descriptor_20.alignment().concat(_descriptor_21.alignment().concat(_descriptor_20.alignment().concat(_descriptor_23.alignment().concat(_descriptor_23.alignment()))))))))));
245
245
  }
246
246
  fromValue(value_0) {
247
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)
248
+ keyVersion: _descriptor_12.fromValue(value_0),
249
+ sender: _descriptor_13.fromValue(value_0),
250
+ path: _descriptor_7.fromValue(value_0),
251
+ algo: _descriptor_14.fromValue(value_0),
252
+ txParamType: _descriptor_15.fromValue(value_0),
253
+ txParams: _descriptor_19.fromValue(value_0),
254
+ executionDest: _descriptor_20.fromValue(value_0),
255
+ signatureDest: _descriptor_21.fromValue(value_0),
256
+ params: _descriptor_20.fromValue(value_0),
257
+ outputDeserializationSchema: _descriptor_23.fromValue(value_0),
258
+ respondSerializationSchema: _descriptor_23.fromValue(value_0)
259
259
  }
260
260
  }
261
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)))))))))));
262
+ return _descriptor_12.toValue(value_0.keyVersion).concat(_descriptor_13.toValue(value_0.sender).concat(_descriptor_7.toValue(value_0.path).concat(_descriptor_14.toValue(value_0.algo).concat(_descriptor_15.toValue(value_0.txParamType).concat(_descriptor_19.toValue(value_0.txParams).concat(_descriptor_20.toValue(value_0.executionDest).concat(_descriptor_21.toValue(value_0.signatureDest).concat(_descriptor_20.toValue(value_0.params).concat(_descriptor_23.toValue(value_0.outputDeserializationSchema).concat(_descriptor_23.toValue(value_0.respondSerializationSchema)))))))))));
263
263
  }
264
264
  }
265
265
 
@@ -267,25 +267,25 @@ const _descriptor_26 = new _SignBidirectionalEventV1_2();
267
267
 
268
268
  class _SignBidirectionalEventV1_3 {
269
269
  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()))))))))));
270
+ return _descriptor_12.alignment().concat(_descriptor_13.alignment().concat(_descriptor_7.alignment().concat(_descriptor_14.alignment().concat(_descriptor_15.alignment().concat(_descriptor_11.alignment().concat(_descriptor_20.alignment().concat(_descriptor_21.alignment().concat(_descriptor_20.alignment().concat(_descriptor_23.alignment().concat(_descriptor_23.alignment()))))))))));
271
271
  }
272
272
  fromValue(value_0) {
273
273
  return {
274
- keyVersion: _descriptor_0.fromValue(value_0),
275
- sender: _descriptor_2.fromValue(value_0),
276
- path: _descriptor_1.fromValue(value_0),
277
- algo: _descriptor_3.fromValue(value_0),
278
- txParamType: _descriptor_4.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)
274
+ keyVersion: _descriptor_12.fromValue(value_0),
275
+ sender: _descriptor_13.fromValue(value_0),
276
+ path: _descriptor_7.fromValue(value_0),
277
+ algo: _descriptor_14.fromValue(value_0),
278
+ txParamType: _descriptor_15.fromValue(value_0),
279
+ txParams: _descriptor_11.fromValue(value_0),
280
+ executionDest: _descriptor_20.fromValue(value_0),
281
+ signatureDest: _descriptor_21.fromValue(value_0),
282
+ params: _descriptor_20.fromValue(value_0),
283
+ outputDeserializationSchema: _descriptor_23.fromValue(value_0),
284
+ respondSerializationSchema: _descriptor_23.fromValue(value_0)
285
285
  }
286
286
  }
287
287
  toValue(value_0) {
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)))))))))));
288
+ return _descriptor_12.toValue(value_0.keyVersion).concat(_descriptor_13.toValue(value_0.sender).concat(_descriptor_7.toValue(value_0.path).concat(_descriptor_14.toValue(value_0.algo).concat(_descriptor_15.toValue(value_0.txParamType).concat(_descriptor_11.toValue(value_0.txParams).concat(_descriptor_20.toValue(value_0.executionDest).concat(_descriptor_21.toValue(value_0.signatureDest).concat(_descriptor_20.toValue(value_0.params).concat(_descriptor_23.toValue(value_0.outputDeserializationSchema).concat(_descriptor_23.toValue(value_0.respondSerializationSchema)))))))))));
289
289
  }
290
290
  }
291
291
 
@@ -295,16 +295,16 @@ const _descriptor_28 = new __compactRuntime.CompactTypeEnum(2, 1);
295
295
 
296
296
  class _AffinePoint_0 {
297
297
  alignment() {
298
- return _descriptor_1.alignment().concat(_descriptor_1.alignment());
298
+ return _descriptor_7.alignment().concat(_descriptor_7.alignment());
299
299
  }
300
300
  fromValue(value_0) {
301
301
  return {
302
- x: _descriptor_1.fromValue(value_0),
303
- y: _descriptor_1.fromValue(value_0)
302
+ x: _descriptor_7.fromValue(value_0),
303
+ y: _descriptor_7.fromValue(value_0)
304
304
  }
305
305
  }
306
306
  toValue(value_0) {
307
- return _descriptor_1.toValue(value_0.x).concat(_descriptor_1.toValue(value_0.y));
307
+ return _descriptor_7.toValue(value_0.x).concat(_descriptor_7.toValue(value_0.y));
308
308
  }
309
309
  }
310
310
 
@@ -312,17 +312,17 @@ const _descriptor_29 = new _AffinePoint_0();
312
312
 
313
313
  class _Signature_0 {
314
314
  alignment() {
315
- return _descriptor_29.alignment().concat(_descriptor_1.alignment().concat(_descriptor_0.alignment()));
315
+ return _descriptor_29.alignment().concat(_descriptor_7.alignment().concat(_descriptor_12.alignment()));
316
316
  }
317
317
  fromValue(value_0) {
318
318
  return {
319
319
  bigR: _descriptor_29.fromValue(value_0),
320
- s: _descriptor_1.fromValue(value_0),
321
- recoveryId: _descriptor_0.fromValue(value_0)
320
+ s: _descriptor_7.fromValue(value_0),
321
+ recoveryId: _descriptor_12.fromValue(value_0)
322
322
  }
323
323
  }
324
324
  toValue(value_0) {
325
- return _descriptor_29.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_7.toValue(value_0.s).concat(_descriptor_12.toValue(value_0.recoveryId)));
326
326
  }
327
327
  }
328
328
 
@@ -330,21 +330,21 @@ const _descriptor_30 = new _Signature_0();
330
330
 
331
331
  class _RespondBidirectionalEventV1_0 {
332
332
  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()))))));
333
+ return _descriptor_7.alignment().concat(_descriptor_2.alignment().concat(_descriptor_28.alignment().concat(_descriptor_2.alignment().concat(_descriptor_7.alignment().concat(_descriptor_7.alignment().concat(_descriptor_30.alignment()))))));
334
334
  }
335
335
  fromValue(value_0) {
336
336
  return {
337
- requestId: _descriptor_1.fromValue(value_0),
338
- blockHeight: _descriptor_7.fromValue(value_0),
337
+ requestId: _descriptor_7.fromValue(value_0),
338
+ blockHeight: _descriptor_2.fromValue(value_0),
339
339
  outputKind: _descriptor_28.fromValue(value_0),
340
- serializedOutputLength: _descriptor_7.fromValue(value_0),
341
- outputHash: _descriptor_1.fromValue(value_0),
342
- digest: _descriptor_1.fromValue(value_0),
340
+ serializedOutputLength: _descriptor_2.fromValue(value_0),
341
+ outputHash: _descriptor_7.fromValue(value_0),
342
+ digest: _descriptor_7.fromValue(value_0),
343
343
  signature: _descriptor_30.fromValue(value_0)
344
344
  }
345
345
  }
346
346
  toValue(value_0) {
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)))))));
347
+ return _descriptor_7.toValue(value_0.requestId).concat(_descriptor_2.toValue(value_0.blockHeight).concat(_descriptor_28.toValue(value_0.outputKind).concat(_descriptor_2.toValue(value_0.serializedOutputLength).concat(_descriptor_7.toValue(value_0.outputHash).concat(_descriptor_7.toValue(value_0.digest).concat(_descriptor_30.toValue(value_0.signature)))))));
348
348
  }
349
349
  }
350
350
 
@@ -356,21 +356,21 @@ const _descriptor_33 = new __compactRuntime.CompactTypeUnsignedInteger(340282366
356
356
 
357
357
  const _descriptor_34 = new __compactRuntime.CompactTypeBytes(20);
358
358
 
359
- const _descriptor_35 = new __compactRuntime.CompactTypeVector(0, _descriptor_1);
359
+ const _descriptor_35 = new __compactRuntime.CompactTypeVector(0, _descriptor_7);
360
360
 
361
361
  class _EvmAccessListEntry_0 {
362
362
  alignment() {
363
- return _descriptor_34.alignment().concat(_descriptor_0.alignment().concat(_descriptor_35.alignment()));
363
+ return _descriptor_34.alignment().concat(_descriptor_12.alignment().concat(_descriptor_35.alignment()));
364
364
  }
365
365
  fromValue(value_0) {
366
366
  return {
367
367
  address: _descriptor_34.fromValue(value_0),
368
- storageKeyCount: _descriptor_0.fromValue(value_0),
368
+ storageKeyCount: _descriptor_12.fromValue(value_0),
369
369
  storageKeys: _descriptor_35.fromValue(value_0)
370
370
  }
371
371
  }
372
372
  toValue(value_0) {
373
- return _descriptor_34.toValue(value_0.address).concat(_descriptor_0.toValue(value_0.storageKeyCount).concat(_descriptor_35.toValue(value_0.storageKeys)));
373
+ return _descriptor_34.toValue(value_0.address).concat(_descriptor_12.toValue(value_0.storageKeyCount).concat(_descriptor_35.toValue(value_0.storageKeys)));
374
374
  }
375
375
  }
376
376
 
@@ -380,24 +380,24 @@ const _descriptor_37 = new __compactRuntime.CompactTypeVector(0, _descriptor_36)
380
380
 
381
381
  class _EvmType2TxParams_0 {
382
382
  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())))))))));
383
+ return _descriptor_2.alignment().concat(_descriptor_2.alignment().concat(_descriptor_33.alignment().concat(_descriptor_33.alignment().concat(_descriptor_2.alignment().concat(_descriptor_34.alignment().concat(_descriptor_33.alignment().concat(_descriptor_18.alignment().concat(_descriptor_12.alignment().concat(_descriptor_37.alignment())))))))));
384
384
  }
385
385
  fromValue(value_0) {
386
386
  return {
387
- chainId: _descriptor_7.fromValue(value_0),
388
- nonce: _descriptor_7.fromValue(value_0),
387
+ chainId: _descriptor_2.fromValue(value_0),
388
+ nonce: _descriptor_2.fromValue(value_0),
389
389
  maxPriorityFeePerGas: _descriptor_33.fromValue(value_0),
390
390
  maxFeePerGas: _descriptor_33.fromValue(value_0),
391
- gasLimit: _descriptor_7.fromValue(value_0),
391
+ gasLimit: _descriptor_2.fromValue(value_0),
392
392
  to: _descriptor_34.fromValue(value_0),
393
393
  value: _descriptor_33.fromValue(value_0),
394
- calldata: _descriptor_14.fromValue(value_0),
395
- accessListEntryCount: _descriptor_0.fromValue(value_0),
394
+ calldata: _descriptor_18.fromValue(value_0),
395
+ accessListEntryCount: _descriptor_12.fromValue(value_0),
396
396
  accessList: _descriptor_37.fromValue(value_0)
397
397
  }
398
398
  }
399
399
  toValue(value_0) {
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))))))))));
400
+ return _descriptor_2.toValue(value_0.chainId).concat(_descriptor_2.toValue(value_0.nonce).concat(_descriptor_33.toValue(value_0.maxPriorityFeePerGas).concat(_descriptor_33.toValue(value_0.maxFeePerGas).concat(_descriptor_2.toValue(value_0.gasLimit).concat(_descriptor_34.toValue(value_0.to).concat(_descriptor_33.toValue(value_0.value).concat(_descriptor_18.toValue(value_0.calldata).concat(_descriptor_12.toValue(value_0.accessListEntryCount).concat(_descriptor_37.toValue(value_0.accessList))))))))));
401
401
  }
402
402
  }
403
403
 
@@ -405,25 +405,25 @@ const _descriptor_38 = new _EvmType2TxParams_0();
405
405
 
406
406
  class _SignBidirectionalEventV1_4 {
407
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()))))))))));
408
+ return _descriptor_12.alignment().concat(_descriptor_13.alignment().concat(_descriptor_7.alignment().concat(_descriptor_14.alignment().concat(_descriptor_15.alignment().concat(_descriptor_38.alignment().concat(_descriptor_20.alignment().concat(_descriptor_21.alignment().concat(_descriptor_20.alignment().concat(_descriptor_22.alignment().concat(_descriptor_23.alignment()))))))))));
409
409
  }
410
410
  fromValue(value_0) {
411
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),
412
+ keyVersion: _descriptor_12.fromValue(value_0),
413
+ sender: _descriptor_13.fromValue(value_0),
414
+ path: _descriptor_7.fromValue(value_0),
415
+ algo: _descriptor_14.fromValue(value_0),
416
+ txParamType: _descriptor_15.fromValue(value_0),
417
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)
418
+ executionDest: _descriptor_20.fromValue(value_0),
419
+ signatureDest: _descriptor_21.fromValue(value_0),
420
+ params: _descriptor_20.fromValue(value_0),
421
+ outputDeserializationSchema: _descriptor_22.fromValue(value_0),
422
+ respondSerializationSchema: _descriptor_23.fromValue(value_0)
423
423
  }
424
424
  }
425
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)))))))))));
426
+ return _descriptor_12.toValue(value_0.keyVersion).concat(_descriptor_13.toValue(value_0.sender).concat(_descriptor_7.toValue(value_0.path).concat(_descriptor_14.toValue(value_0.algo).concat(_descriptor_15.toValue(value_0.txParamType).concat(_descriptor_38.toValue(value_0.txParams).concat(_descriptor_20.toValue(value_0.executionDest).concat(_descriptor_21.toValue(value_0.signatureDest).concat(_descriptor_20.toValue(value_0.params).concat(_descriptor_22.toValue(value_0.outputDeserializationSchema).concat(_descriptor_23.toValue(value_0.respondSerializationSchema)))))))))));
427
427
  }
428
428
  }
429
429
 
@@ -431,17 +431,17 @@ const _descriptor_39 = new _SignBidirectionalEventV1_4();
431
431
 
432
432
  class _EvmAccessListEntry_1 {
433
433
  alignment() {
434
- return _descriptor_34.alignment().concat(_descriptor_0.alignment().concat(_descriptor_21.alignment()));
434
+ return _descriptor_34.alignment().concat(_descriptor_12.alignment().concat(_descriptor_8.alignment()));
435
435
  }
436
436
  fromValue(value_0) {
437
437
  return {
438
438
  address: _descriptor_34.fromValue(value_0),
439
- storageKeyCount: _descriptor_0.fromValue(value_0),
440
- storageKeys: _descriptor_21.fromValue(value_0)
439
+ storageKeyCount: _descriptor_12.fromValue(value_0),
440
+ storageKeys: _descriptor_8.fromValue(value_0)
441
441
  }
442
442
  }
443
443
  toValue(value_0) {
444
- return _descriptor_34.toValue(value_0.address).concat(_descriptor_0.toValue(value_0.storageKeyCount).concat(_descriptor_21.toValue(value_0.storageKeys)));
444
+ return _descriptor_34.toValue(value_0.address).concat(_descriptor_12.toValue(value_0.storageKeyCount).concat(_descriptor_8.toValue(value_0.storageKeys)));
445
445
  }
446
446
  }
447
447
 
@@ -451,24 +451,24 @@ const _descriptor_41 = new __compactRuntime.CompactTypeVector(1, _descriptor_40)
451
451
 
452
452
  class _EvmType2TxParams_1 {
453
453
  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())))))))));
454
+ return _descriptor_2.alignment().concat(_descriptor_2.alignment().concat(_descriptor_33.alignment().concat(_descriptor_33.alignment().concat(_descriptor_2.alignment().concat(_descriptor_34.alignment().concat(_descriptor_33.alignment().concat(_descriptor_10.alignment().concat(_descriptor_12.alignment().concat(_descriptor_41.alignment())))))))));
455
455
  }
456
456
  fromValue(value_0) {
457
457
  return {
458
- chainId: _descriptor_7.fromValue(value_0),
459
- nonce: _descriptor_7.fromValue(value_0),
458
+ chainId: _descriptor_2.fromValue(value_0),
459
+ nonce: _descriptor_2.fromValue(value_0),
460
460
  maxPriorityFeePerGas: _descriptor_33.fromValue(value_0),
461
461
  maxFeePerGas: _descriptor_33.fromValue(value_0),
462
- gasLimit: _descriptor_7.fromValue(value_0),
462
+ gasLimit: _descriptor_2.fromValue(value_0),
463
463
  to: _descriptor_34.fromValue(value_0),
464
464
  value: _descriptor_33.fromValue(value_0),
465
- calldata: _descriptor_23.fromValue(value_0),
466
- accessListEntryCount: _descriptor_0.fromValue(value_0),
465
+ calldata: _descriptor_10.fromValue(value_0),
466
+ accessListEntryCount: _descriptor_12.fromValue(value_0),
467
467
  accessList: _descriptor_41.fromValue(value_0)
468
468
  }
469
469
  }
470
470
  toValue(value_0) {
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))))))))));
471
+ return _descriptor_2.toValue(value_0.chainId).concat(_descriptor_2.toValue(value_0.nonce).concat(_descriptor_33.toValue(value_0.maxPriorityFeePerGas).concat(_descriptor_33.toValue(value_0.maxFeePerGas).concat(_descriptor_2.toValue(value_0.gasLimit).concat(_descriptor_34.toValue(value_0.to).concat(_descriptor_33.toValue(value_0.value).concat(_descriptor_10.toValue(value_0.calldata).concat(_descriptor_12.toValue(value_0.accessListEntryCount).concat(_descriptor_41.toValue(value_0.accessList))))))))));
472
472
  }
473
473
  }
474
474
 
@@ -476,25 +476,25 @@ const _descriptor_42 = new _EvmType2TxParams_1();
476
476
 
477
477
  class _SignBidirectionalEventV1_5 {
478
478
  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()))))))))));
479
+ return _descriptor_12.alignment().concat(_descriptor_13.alignment().concat(_descriptor_7.alignment().concat(_descriptor_14.alignment().concat(_descriptor_15.alignment().concat(_descriptor_42.alignment().concat(_descriptor_20.alignment().concat(_descriptor_21.alignment().concat(_descriptor_20.alignment().concat(_descriptor_22.alignment().concat(_descriptor_23.alignment()))))))))));
480
480
  }
481
481
  fromValue(value_0) {
482
482
  return {
483
- keyVersion: _descriptor_0.fromValue(value_0),
484
- sender: _descriptor_2.fromValue(value_0),
485
- path: _descriptor_1.fromValue(value_0),
486
- algo: _descriptor_3.fromValue(value_0),
487
- txParamType: _descriptor_4.fromValue(value_0),
483
+ keyVersion: _descriptor_12.fromValue(value_0),
484
+ sender: _descriptor_13.fromValue(value_0),
485
+ path: _descriptor_7.fromValue(value_0),
486
+ algo: _descriptor_14.fromValue(value_0),
487
+ txParamType: _descriptor_15.fromValue(value_0),
488
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)
489
+ executionDest: _descriptor_20.fromValue(value_0),
490
+ signatureDest: _descriptor_21.fromValue(value_0),
491
+ params: _descriptor_20.fromValue(value_0),
492
+ outputDeserializationSchema: _descriptor_22.fromValue(value_0),
493
+ respondSerializationSchema: _descriptor_23.fromValue(value_0)
494
494
  }
495
495
  }
496
496
  toValue(value_0) {
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)))))))))));
497
+ return _descriptor_12.toValue(value_0.keyVersion).concat(_descriptor_13.toValue(value_0.sender).concat(_descriptor_7.toValue(value_0.path).concat(_descriptor_14.toValue(value_0.algo).concat(_descriptor_15.toValue(value_0.txParamType).concat(_descriptor_42.toValue(value_0.txParams).concat(_descriptor_20.toValue(value_0.executionDest).concat(_descriptor_21.toValue(value_0.signatureDest).concat(_descriptor_20.toValue(value_0.params).concat(_descriptor_22.toValue(value_0.outputDeserializationSchema).concat(_descriptor_23.toValue(value_0.respondSerializationSchema)))))))))));
498
498
  }
499
499
  }
500
500
 
@@ -506,42 +506,42 @@ const _descriptor_45 = new __compactRuntime.CompactTypeBytes(1);
506
506
 
507
507
  class _RequestIdPreimageV1_0 {
508
508
  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()))))));
509
+ return _descriptor_12.alignment().concat(_descriptor_13.alignment().concat(_descriptor_7.alignment().concat(_descriptor_14.alignment().concat(_descriptor_15.alignment().concat(_descriptor_7.alignment().concat(_descriptor_20.alignment()))))));
510
510
  }
511
511
  fromValue(value_0) {
512
512
  return {
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)
513
+ keyVersion: _descriptor_12.fromValue(value_0),
514
+ sender: _descriptor_13.fromValue(value_0),
515
+ path: _descriptor_7.fromValue(value_0),
516
+ algo: _descriptor_14.fromValue(value_0),
517
+ txParamType: _descriptor_15.fromValue(value_0),
518
+ txParamsDigest: _descriptor_7.fromValue(value_0),
519
+ executionDest: _descriptor_20.fromValue(value_0)
520
520
  }
521
521
  }
522
522
  toValue(value_0) {
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)))))));
523
+ return _descriptor_12.toValue(value_0.keyVersion).concat(_descriptor_13.toValue(value_0.sender).concat(_descriptor_7.toValue(value_0.path).concat(_descriptor_14.toValue(value_0.algo).concat(_descriptor_15.toValue(value_0.txParamType).concat(_descriptor_7.toValue(value_0.txParamsDigest).concat(_descriptor_20.toValue(value_0.executionDest)))))));
524
524
  }
525
525
  }
526
526
 
527
527
  const _descriptor_46 = new _RequestIdPreimageV1_0();
528
528
 
529
- const _descriptor_47 = new __compactRuntime.CompactTypeVector(4, _descriptor_0);
529
+ const _descriptor_47 = new __compactRuntime.CompactTypeVector(4, _descriptor_12);
530
530
 
531
531
  const _descriptor_48 = new __compactRuntime.CompactTypeBytes(128);
532
532
 
533
533
  class _SignBidirectionalEventNotification_0 {
534
534
  alignment() {
535
- return _descriptor_0.alignment().concat(_descriptor_48.alignment());
535
+ return _descriptor_12.alignment().concat(_descriptor_48.alignment());
536
536
  }
537
537
  fromValue(value_0) {
538
538
  return {
539
- version: _descriptor_0.fromValue(value_0),
539
+ version: _descriptor_12.fromValue(value_0),
540
540
  payload: _descriptor_48.fromValue(value_0)
541
541
  }
542
542
  }
543
543
  toValue(value_0) {
544
- return _descriptor_0.toValue(value_0.version).concat(_descriptor_48.toValue(value_0.payload));
544
+ return _descriptor_12.toValue(value_0.version).concat(_descriptor_48.toValue(value_0.payload));
545
545
  }
546
546
  }
547
547
 
@@ -555,20 +555,20 @@ const _descriptor_52 = new __compactRuntime.CompactTypeEnum(8, 1);
555
555
 
556
556
  class _tuple_0 {
557
557
  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())))));
558
+ return _descriptor_52.alignment().concat(_descriptor_7.alignment().concat(_descriptor_2.alignment().concat(_descriptor_28.alignment().concat(_descriptor_2.alignment().concat(_descriptor_7.alignment())))));
559
559
  }
560
560
  fromValue(value_0) {
561
561
  return [
562
562
  _descriptor_52.fromValue(value_0),
563
- _descriptor_1.fromValue(value_0),
564
563
  _descriptor_7.fromValue(value_0),
564
+ _descriptor_2.fromValue(value_0),
565
565
  _descriptor_28.fromValue(value_0),
566
- _descriptor_7.fromValue(value_0),
567
- _descriptor_1.fromValue(value_0)
566
+ _descriptor_2.fromValue(value_0),
567
+ _descriptor_7.fromValue(value_0)
568
568
  ]
569
569
  }
570
570
  toValue(value_0) {
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]))))));
571
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_7.toValue(value_0[1]).concat(_descriptor_2.toValue(value_0[2]).concat(_descriptor_28.toValue(value_0[3]).concat(_descriptor_2.toValue(value_0[4]).concat(_descriptor_7.toValue(value_0[5]))))));
572
572
  }
573
573
  }
574
574
 
@@ -578,17 +578,17 @@ const _descriptor_54 = __compactRuntime.CompactTypeField;
578
578
 
579
579
  class _tuple_1 {
580
580
  alignment() {
581
- return _descriptor_52.alignment().concat(_descriptor_54.alignment().concat(_descriptor_1.alignment()));
581
+ return _descriptor_52.alignment().concat(_descriptor_54.alignment().concat(_descriptor_7.alignment()));
582
582
  }
583
583
  fromValue(value_0) {
584
584
  return [
585
585
  _descriptor_52.fromValue(value_0),
586
586
  _descriptor_54.fromValue(value_0),
587
- _descriptor_1.fromValue(value_0)
587
+ _descriptor_7.fromValue(value_0)
588
588
  ]
589
589
  }
590
590
  toValue(value_0) {
591
- return _descriptor_52.toValue(value_0[0]).concat(_descriptor_54.toValue(value_0[1]).concat(_descriptor_1.toValue(value_0[2])));
591
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_54.toValue(value_0[1]).concat(_descriptor_7.toValue(value_0[2])));
592
592
  }
593
593
  }
594
594
 
@@ -613,16 +613,16 @@ const _descriptor_56 = new _tuple_2();
613
613
 
614
614
  class _tuple_3 {
615
615
  alignment() {
616
- return _descriptor_52.alignment().concat(_descriptor_1.alignment());
616
+ return _descriptor_52.alignment().concat(_descriptor_7.alignment());
617
617
  }
618
618
  fromValue(value_0) {
619
619
  return [
620
620
  _descriptor_52.fromValue(value_0),
621
- _descriptor_1.fromValue(value_0)
621
+ _descriptor_7.fromValue(value_0)
622
622
  ]
623
623
  }
624
624
  toValue(value_0) {
625
- return _descriptor_52.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]));
625
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_7.toValue(value_0[1]));
626
626
  }
627
627
  }
628
628
 
@@ -630,25 +630,25 @@ const _descriptor_57 = new _tuple_3();
630
630
 
631
631
  class _tuple_4 {
632
632
  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()))))))))));
633
+ return _descriptor_52.alignment().concat(_descriptor_0.alignment().concat(_descriptor_1.alignment().concat(_descriptor_2.alignment().concat(_descriptor_2.alignment().concat(_descriptor_2.alignment().concat(_descriptor_3.alignment().concat(_descriptor_2.alignment().concat(_descriptor_4.alignment().concat(_descriptor_5.alignment().concat(_descriptor_6.alignment()))))))))));
634
634
  }
635
635
  fromValue(value_0) {
636
636
  return [
637
637
  _descriptor_52.fromValue(value_0),
638
+ _descriptor_0.fromValue(value_0),
639
+ _descriptor_1.fromValue(value_0),
640
+ _descriptor_2.fromValue(value_0),
641
+ _descriptor_2.fromValue(value_0),
642
+ _descriptor_2.fromValue(value_0),
643
+ _descriptor_3.fromValue(value_0),
644
+ _descriptor_2.fromValue(value_0),
645
+ _descriptor_4.fromValue(value_0),
638
646
  _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)
647
+ _descriptor_6.fromValue(value_0)
648
648
  ]
649
649
  }
650
650
  toValue(value_0) {
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])))))))))));
651
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_0.toValue(value_0[1]).concat(_descriptor_1.toValue(value_0[2]).concat(_descriptor_2.toValue(value_0[3]).concat(_descriptor_2.toValue(value_0[4]).concat(_descriptor_2.toValue(value_0[5]).concat(_descriptor_3.toValue(value_0[6]).concat(_descriptor_2.toValue(value_0[7]).concat(_descriptor_4.toValue(value_0[8]).concat(_descriptor_5.toValue(value_0[9]).concat(_descriptor_6.toValue(value_0[10])))))))))));
652
652
  }
653
653
  }
654
654
 
@@ -656,19 +656,19 @@ const _descriptor_58 = new _tuple_4();
656
656
 
657
657
  class _tuple_5 {
658
658
  alignment() {
659
- return _descriptor_52.alignment().concat(_descriptor_54.alignment().concat(_descriptor_34.alignment().concat(_descriptor_0.alignment().concat(_descriptor_54.alignment()))));
659
+ return _descriptor_52.alignment().concat(_descriptor_54.alignment().concat(_descriptor_34.alignment().concat(_descriptor_12.alignment().concat(_descriptor_54.alignment()))));
660
660
  }
661
661
  fromValue(value_0) {
662
662
  return [
663
663
  _descriptor_52.fromValue(value_0),
664
664
  _descriptor_54.fromValue(value_0),
665
665
  _descriptor_34.fromValue(value_0),
666
- _descriptor_0.fromValue(value_0),
666
+ _descriptor_12.fromValue(value_0),
667
667
  _descriptor_54.fromValue(value_0)
668
668
  ]
669
669
  }
670
670
  toValue(value_0) {
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])))));
671
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_54.toValue(value_0[1]).concat(_descriptor_34.toValue(value_0[2]).concat(_descriptor_12.toValue(value_0[3]).concat(_descriptor_54.toValue(value_0[4])))));
672
672
  }
673
673
  }
674
674
 
@@ -676,16 +676,16 @@ const _descriptor_59 = new _tuple_5();
676
676
 
677
677
  class _tuple_6 {
678
678
  alignment() {
679
- return _descriptor_52.alignment().concat(_descriptor_19.alignment());
679
+ return _descriptor_52.alignment().concat(_descriptor_23.alignment());
680
680
  }
681
681
  fromValue(value_0) {
682
682
  return [
683
683
  _descriptor_52.fromValue(value_0),
684
- _descriptor_19.fromValue(value_0)
684
+ _descriptor_23.fromValue(value_0)
685
685
  ]
686
686
  }
687
687
  toValue(value_0) {
688
- return _descriptor_52.toValue(value_0[0]).concat(_descriptor_19.toValue(value_0[1]));
688
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_23.toValue(value_0[1]));
689
689
  }
690
690
  }
691
691
 
@@ -693,16 +693,16 @@ const _descriptor_60 = new _tuple_6();
693
693
 
694
694
  class _tuple_7 {
695
695
  alignment() {
696
- return _descriptor_52.alignment().concat(_descriptor_5.alignment());
696
+ return _descriptor_52.alignment().concat(_descriptor_0.alignment());
697
697
  }
698
698
  fromValue(value_0) {
699
699
  return [
700
700
  _descriptor_52.fromValue(value_0),
701
- _descriptor_5.fromValue(value_0)
701
+ _descriptor_0.fromValue(value_0)
702
702
  ]
703
703
  }
704
704
  toValue(value_0) {
705
- return _descriptor_52.toValue(value_0[0]).concat(_descriptor_5.toValue(value_0[1]));
705
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_0.toValue(value_0[1]));
706
706
  }
707
707
  }
708
708
 
@@ -710,26 +710,26 @@ const _descriptor_61 = new _tuple_7();
710
710
 
711
711
  class _tuple_8 {
712
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())))))))))));
713
+ return _descriptor_52.alignment().concat(_descriptor_2.alignment().concat(_descriptor_2.alignment().concat(_descriptor_33.alignment().concat(_descriptor_33.alignment().concat(_descriptor_2.alignment().concat(_descriptor_34.alignment().concat(_descriptor_33.alignment().concat(_descriptor_4.alignment().concat(_descriptor_5.alignment().concat(_descriptor_6.alignment().concat(_descriptor_12.alignment())))))))))));
714
714
  }
715
715
  fromValue(value_0) {
716
716
  return [
717
717
  _descriptor_52.fromValue(value_0),
718
- _descriptor_7.fromValue(value_0),
719
- _descriptor_7.fromValue(value_0),
718
+ _descriptor_2.fromValue(value_0),
719
+ _descriptor_2.fromValue(value_0),
720
720
  _descriptor_33.fromValue(value_0),
721
721
  _descriptor_33.fromValue(value_0),
722
- _descriptor_7.fromValue(value_0),
722
+ _descriptor_2.fromValue(value_0),
723
723
  _descriptor_34.fromValue(value_0),
724
724
  _descriptor_33.fromValue(value_0),
725
- _descriptor_9.fromValue(value_0),
726
- _descriptor_10.fromValue(value_0),
727
- _descriptor_11.fromValue(value_0),
728
- _descriptor_0.fromValue(value_0)
725
+ _descriptor_4.fromValue(value_0),
726
+ _descriptor_5.fromValue(value_0),
727
+ _descriptor_6.fromValue(value_0),
728
+ _descriptor_12.fromValue(value_0)
729
729
  ]
730
730
  }
731
731
  toValue(value_0) {
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]))))))))))));
732
+ return _descriptor_52.toValue(value_0[0]).concat(_descriptor_2.toValue(value_0[1]).concat(_descriptor_2.toValue(value_0[2]).concat(_descriptor_33.toValue(value_0[3]).concat(_descriptor_33.toValue(value_0[4]).concat(_descriptor_2.toValue(value_0[5]).concat(_descriptor_34.toValue(value_0[6]).concat(_descriptor_33.toValue(value_0[7]).concat(_descriptor_4.toValue(value_0[8]).concat(_descriptor_5.toValue(value_0[9]).concat(_descriptor_6.toValue(value_0[10]).concat(_descriptor_12.toValue(value_0[11]))))))))))));
733
733
  }
734
734
  }
735
735
 
@@ -788,17 +788,17 @@ const _descriptor_65 = new _Secp256k1EcdsaSignature_0();
788
788
 
789
789
  class _Either_0 {
790
790
  alignment() {
791
- return _descriptor_9.alignment().concat(_descriptor_1.alignment().concat(_descriptor_1.alignment()));
791
+ return _descriptor_4.alignment().concat(_descriptor_7.alignment().concat(_descriptor_7.alignment()));
792
792
  }
793
793
  fromValue(value_0) {
794
794
  return {
795
- is_left: _descriptor_9.fromValue(value_0),
796
- left: _descriptor_1.fromValue(value_0),
797
- right: _descriptor_1.fromValue(value_0)
795
+ is_left: _descriptor_4.fromValue(value_0),
796
+ left: _descriptor_7.fromValue(value_0),
797
+ right: _descriptor_7.fromValue(value_0)
798
798
  }
799
799
  }
800
800
  toValue(value_0) {
801
- return _descriptor_9.toValue(value_0.is_left).concat(_descriptor_1.toValue(value_0.left).concat(_descriptor_1.toValue(value_0.right)));
801
+ return _descriptor_4.toValue(value_0.is_left).concat(_descriptor_7.toValue(value_0.left).concat(_descriptor_7.toValue(value_0.right)));
802
802
  }
803
803
  }
804
804
 
@@ -806,15 +806,15 @@ const _descriptor_66 = new _Either_0();
806
806
 
807
807
  class _UserAddress_0 {
808
808
  alignment() {
809
- return _descriptor_1.alignment();
809
+ return _descriptor_7.alignment();
810
810
  }
811
811
  fromValue(value_0) {
812
812
  return {
813
- bytes: _descriptor_1.fromValue(value_0)
813
+ bytes: _descriptor_7.fromValue(value_0)
814
814
  }
815
815
  }
816
816
  toValue(value_0) {
817
- return _descriptor_1.toValue(value_0.bytes);
817
+ return _descriptor_7.toValue(value_0.bytes);
818
818
  }
819
819
  }
820
820
 
@@ -822,17 +822,17 @@ const _descriptor_67 = new _UserAddress_0();
822
822
 
823
823
  class _Either_1 {
824
824
  alignment() {
825
- return _descriptor_9.alignment().concat(_descriptor_2.alignment().concat(_descriptor_67.alignment()));
825
+ return _descriptor_4.alignment().concat(_descriptor_13.alignment().concat(_descriptor_67.alignment()));
826
826
  }
827
827
  fromValue(value_0) {
828
828
  return {
829
- is_left: _descriptor_9.fromValue(value_0),
830
- left: _descriptor_2.fromValue(value_0),
829
+ is_left: _descriptor_4.fromValue(value_0),
830
+ left: _descriptor_13.fromValue(value_0),
831
831
  right: _descriptor_67.fromValue(value_0)
832
832
  }
833
833
  }
834
834
  toValue(value_0) {
835
- return _descriptor_9.toValue(value_0.is_left).concat(_descriptor_2.toValue(value_0.left).concat(_descriptor_67.toValue(value_0.right)));
835
+ return _descriptor_4.toValue(value_0.is_left).concat(_descriptor_13.toValue(value_0.left).concat(_descriptor_67.toValue(value_0.right)));
836
836
  }
837
837
  }
838
838
 
@@ -840,16 +840,16 @@ const _descriptor_68 = new _Either_1();
840
840
 
841
841
  class _Maybe_2 {
842
842
  alignment() {
843
- return _descriptor_9.alignment().concat(_descriptor_68.alignment());
843
+ return _descriptor_4.alignment().concat(_descriptor_68.alignment());
844
844
  }
845
845
  fromValue(value_0) {
846
846
  return {
847
- is_some: _descriptor_9.fromValue(value_0),
847
+ is_some: _descriptor_4.fromValue(value_0),
848
848
  value: _descriptor_68.fromValue(value_0)
849
849
  }
850
850
  }
851
851
  toValue(value_0) {
852
- return _descriptor_9.toValue(value_0.is_some).concat(_descriptor_68.toValue(value_0.value));
852
+ return _descriptor_4.toValue(value_0.is_some).concat(_descriptor_68.toValue(value_0.value));
853
853
  }
854
854
  }
855
855
 
@@ -890,6 +890,76 @@ export class Contract {
890
890
  async tronAddress(context, ...args_1) {
891
891
  return { result: pureCircuits.tronAddress(...args_1), context };
892
892
  },
893
+ async tronInt64Max(context, ...args_1) {
894
+ return { result: pureCircuits.tronInt64Max(...args_1), context };
895
+ },
896
+ async tronMaxExpirationSpanSeconds(context, ...args_1) {
897
+ return { result: pureCircuits.tronMaxExpirationSpanSeconds(...args_1), context };
898
+ },
899
+ assertTronExpirationWindowV1: async (...args_1) => {
900
+ if (args_1.length !== 5) {
901
+ throw new __compactRuntime.CompactError(`assertTronExpirationWindowV1: expected 5 arguments (as invoked from Typescript), received ${args_1.length}`);
902
+ }
903
+ const contextOrig_0 = args_1[0];
904
+ const expiration_0 = args_1[1];
905
+ const expirationSeconds_0 = args_1[2];
906
+ const minRemainingSeconds_0 = args_1[3];
907
+ const capMarginSeconds_0 = args_1[4];
908
+ if (!(typeof(contextOrig_0) === 'object' && contextOrig_0.callContext.currentQueryContext != undefined)) {
909
+ __compactRuntime.typeError('assertTronExpirationWindowV1',
910
+ 'argument 1 (as invoked from Typescript)',
911
+ 'Signet.compact line 792 char 3',
912
+ 'CircuitContext',
913
+ contextOrig_0)
914
+ }
915
+ if (!(typeof(expiration_0) === 'bigint' && expiration_0 >= 0n && expiration_0 <= 18446744073709551615n)) {
916
+ __compactRuntime.typeError('assertTronExpirationWindowV1',
917
+ 'argument 1 (argument 2 as invoked from Typescript)',
918
+ 'Signet.compact line 792 char 3',
919
+ 'Uint<0..18446744073709551616>',
920
+ expiration_0)
921
+ }
922
+ if (!(typeof(expirationSeconds_0) === 'bigint' && expirationSeconds_0 >= 0n && expirationSeconds_0 <= 18446744073709551615n)) {
923
+ __compactRuntime.typeError('assertTronExpirationWindowV1',
924
+ 'argument 2 (argument 3 as invoked from Typescript)',
925
+ 'Signet.compact line 792 char 3',
926
+ 'Uint<0..18446744073709551616>',
927
+ expirationSeconds_0)
928
+ }
929
+ if (!(typeof(minRemainingSeconds_0) === 'bigint' && minRemainingSeconds_0 >= 0n && minRemainingSeconds_0 <= 18446744073709551615n)) {
930
+ __compactRuntime.typeError('assertTronExpirationWindowV1',
931
+ 'argument 3 (argument 4 as invoked from Typescript)',
932
+ 'Signet.compact line 792 char 3',
933
+ 'Uint<0..18446744073709551616>',
934
+ minRemainingSeconds_0)
935
+ }
936
+ if (!(typeof(capMarginSeconds_0) === 'bigint' && capMarginSeconds_0 >= 0n && capMarginSeconds_0 <= 18446744073709551615n)) {
937
+ __compactRuntime.typeError('assertTronExpirationWindowV1',
938
+ 'argument 4 (argument 5 as invoked from Typescript)',
939
+ 'Signet.compact line 792 char 3',
940
+ 'Uint<0..18446744073709551616>',
941
+ capMarginSeconds_0)
942
+ }
943
+ const context = __compactRuntime.copyCircuitContext(contextOrig_0);
944
+ const partialProofData = {
945
+ input: {
946
+ value: _descriptor_2.toValue(expiration_0).concat(_descriptor_2.toValue(expirationSeconds_0).concat(_descriptor_2.toValue(minRemainingSeconds_0).concat(_descriptor_2.toValue(capMarginSeconds_0)))),
947
+ alignment: _descriptor_2.alignment().concat(_descriptor_2.alignment().concat(_descriptor_2.alignment().concat(_descriptor_2.alignment())))
948
+ },
949
+ output: undefined,
950
+ publicTranscript: [],
951
+ privateTranscriptOutputs: []
952
+ };
953
+ const result_0 = await this._assertTronExpirationWindowV1_0(context,
954
+ partialProofData,
955
+ expiration_0,
956
+ expirationSeconds_0,
957
+ minRemainingSeconds_0,
958
+ capMarginSeconds_0);
959
+ partialProofData.output = { value: _descriptor_35.toValue(result_0), alignment: _descriptor_35.alignment() };
960
+ __compactRuntime.finalizeCallProofData(context, partialProofData);
961
+ return { result: result_0, context: context, gasCost: context.callContext.currentGasCost };
962
+ },
893
963
  async evmAddressAbiWord(context, ...args_1) {
894
964
  return { result: pureCircuits.evmAddressAbiWord(...args_1), context };
895
965
  },
@@ -967,10 +1037,17 @@ export class Contract {
967
1037
  },
968
1038
  async calculateTronRequestIdV1_2_34(context, ...args_1) {
969
1039
  return { result: pureCircuits.calculateTronRequestIdV1_2_34(...args_1), context };
1040
+ },
1041
+ async assertTronTxParamsV1_2(context, ...args_1) {
1042
+ return { result: pureCircuits.assertTronTxParamsV1_2(...args_1), context };
970
1043
  }
971
1044
  };
972
- this.impureCircuits = {};
973
- this.provableCircuits = {};
1045
+ this.impureCircuits = {
1046
+ assertTronExpirationWindowV1: this.circuits.assertTronExpirationWindowV1
1047
+ };
1048
+ this.provableCircuits = {
1049
+ assertTronExpirationWindowV1: this.circuits.assertTronExpirationWindowV1
1050
+ };
974
1051
  }
975
1052
  async initialState(...args_0) {
976
1053
  if (args_0.length !== 1) {
@@ -989,6 +1066,7 @@ export class Contract {
989
1066
  const state_0 = new __compactRuntime.ContractState();
990
1067
  let stateValue_0 = __compactRuntime.StateValue.newArray();
991
1068
  state_0.data = new __compactRuntime.ChargedState(stateValue_0);
1069
+ state_0.setOperation('assertTronExpirationWindowV1', new __compactRuntime.ContractOperation());
992
1070
  const context = __compactRuntime.createCircuitContext({circuitId: 'constructor', contractAddress: __compactRuntime.dummyContractAddress(), coinPublicKeyOrZswapState: constructorContext_0.initialZswapLocalState.coinPublicKey, contractState: state_0.data, privateState: constructorContext_0.initialPrivateState});
993
1071
  const partialProofData = {
994
1072
  input: { value: [], alignment: [] },
@@ -1003,6 +1081,27 @@ export class Contract {
1003
1081
  currentZswapLocalState: context.callContext.currentZswapLocalState
1004
1082
  }
1005
1083
  }
1084
+ async _blockTimeLt_0(context, partialProofData, time_0) {
1085
+ return _descriptor_4.fromValue(__compactRuntime.queryLedgerState(context,
1086
+ partialProofData,
1087
+ [
1088
+ { dup: { n: 2 } },
1089
+ { idx: { cached: true,
1090
+ pushPath: false,
1091
+ path: [
1092
+ { tag: 'value',
1093
+ value: { value: _descriptor_12.toValue(2n),
1094
+ alignment: _descriptor_12.alignment() } }] } },
1095
+ { push: { storage: false,
1096
+ value: __compactRuntime.StateValue.newCell({ value: _descriptor_2.toValue(time_0),
1097
+ alignment: _descriptor_2.alignment() }).encode() } },
1098
+ 'lt',
1099
+ { popeq: { cached: true,
1100
+ result: undefined } }]).value);
1101
+ }
1102
+ async _blockTimeGte_0(context, partialProofData, time_0) {
1103
+ return !await this._blockTimeLt_0(context, partialProofData, time_0);
1104
+ }
1006
1105
  _reverseBytes32_0(b_0) {
1007
1106
  const v_0 = Array.from(b_0, BigInt);
1008
1107
  return Uint8Array.from([v_0[31],
@@ -1145,7 +1244,7 @@ export class Contract {
1145
1244
  params_0,
1146
1245
  outputDeserializationSchema_0)
1147
1246
  {
1148
- __compactRuntime.assert(keyVersion_0 >= 1n, 'keyVersion must be >= 1');
1247
+ __compactRuntime.assert(keyVersion_0 === 1n, 'keyVersion must be 1');
1149
1248
  __compactRuntime.assert(signatureDest_0 === 0,
1150
1249
  'signatureDest must be unused');
1151
1250
  __compactRuntime.assert(this._equal_1(params_0, new Uint8Array(64)),
@@ -1224,29 +1323,33 @@ export class Contract {
1224
1323
  respondBidirectionalEvent_0.outputKind,
1225
1324
  respondBidirectionalEvent_0.serializedOutputLength,
1226
1325
  respondBidirectionalEvent_0.outputHash);
1227
- return !this._equal_3(mpcResponseKey_0, ({x: 0n, y: 0n, identity: true}))
1326
+ const signed_0 = !this._equal_3(mpcResponseKey_0,
1327
+ ({x: 0n, y: 0n, identity: true}))
1328
+ &&
1329
+ this._secp256k1EcdsaVerify_0(digest_0,
1330
+ { r:
1331
+ __compactRuntime.convertBytesToField(115792089237316195423570985008687907852837564279074904382605163141518161494336n,
1332
+ 32,
1333
+ respondBidirectionalEvent_0.signature.bigR.x,
1334
+ 'Secp256k1Scalar',
1335
+ 'Signet.compact line 461 char 12'),
1336
+ s:
1337
+ __compactRuntime.convertBytesToField(115792089237316195423570985008687907852837564279074904382605163141518161494336n,
1338
+ 32,
1339
+ respondBidirectionalEvent_0.signature.s,
1340
+ 'Secp256k1Scalar',
1341
+ 'Signet.compact line 462 char 12') },
1342
+ mpcResponseKey_0);
1343
+ return this._equal_4(respondBidirectionalEvent_0.digest, digest_0)
1228
1344
  &&
1229
- this._secp256k1EcdsaVerify_0(digest_0,
1230
- { r:
1231
- __compactRuntime.convertBytesToField(115792089237316195423570985008687907852837564279074904382605163141518161494336n,
1232
- 32,
1233
- respondBidirectionalEvent_0.signature.bigR.x,
1234
- 'Secp256k1Scalar',
1235
- 'Signet.compact line 460 char 12'),
1236
- s:
1237
- __compactRuntime.convertBytesToField(115792089237316195423570985008687907852837564279074904382605163141518161494336n,
1238
- 32,
1239
- respondBidirectionalEvent_0.signature.s,
1240
- 'Secp256k1Scalar',
1241
- 'Signet.compact line 461 char 12') },
1242
- mpcResponseKey_0);
1345
+ signed_0;
1243
1346
  }
1244
1347
  _verifyAttestedOutputV1_0(serializedOutput_0,
1245
1348
  attestedOutputLength_0,
1246
1349
  attestedOutputHash_0)
1247
1350
  {
1248
1351
  const lengthMatches_0 = attestedOutputLength_0 === 1n;
1249
- const hashMatches_0 = this._equal_4(attestedOutputHash_0,
1352
+ const hashMatches_0 = this._equal_5(attestedOutputHash_0,
1250
1353
  this._calculateAttestedOutputHashV1_1(serializedOutput_0));
1251
1354
  return lengthMatches_0 && hashMatches_0;
1252
1355
  }
@@ -1255,7 +1358,7 @@ export class Contract {
1255
1358
  attestedOutputHash_0)
1256
1359
  {
1257
1360
  const lengthMatches_0 = attestedOutputLength_0 === 2n;
1258
- const hashMatches_0 = this._equal_5(attestedOutputHash_0,
1361
+ const hashMatches_0 = this._equal_6(attestedOutputHash_0,
1259
1362
  this._calculateAttestedOutputHashV1_2(serializedOutput_0));
1260
1363
  return lengthMatches_0 && hashMatches_0;
1261
1364
  }
@@ -1264,7 +1367,7 @@ export class Contract {
1264
1367
  attestedOutputHash_0)
1265
1368
  {
1266
1369
  const lengthMatches_0 = attestedOutputLength_0 === 0n;
1267
- const hashMatches_0 = this._equal_6(attestedOutputHash_0,
1370
+ const hashMatches_0 = this._equal_7(attestedOutputHash_0,
1268
1371
  this._calculateAttestedOutputHashV1_3(serializedOutput_0));
1269
1372
  return lengthMatches_0 && hashMatches_0;
1270
1373
  }
@@ -1273,7 +1376,7 @@ export class Contract {
1273
1376
  attestedOutputHash_0)
1274
1377
  {
1275
1378
  const lengthMatches_0 = attestedOutputLength_0 === 32n;
1276
- const hashMatches_0 = this._equal_7(attestedOutputHash_0,
1379
+ const hashMatches_0 = this._equal_8(attestedOutputHash_0,
1277
1380
  this._calculateAttestedOutputHashV1_4(serializedOutput_0));
1278
1381
  return lengthMatches_0 && hashMatches_0;
1279
1382
  }
@@ -1317,7 +1420,7 @@ export class Contract {
1317
1420
  let t_1, t_2;
1318
1421
  return [((t1) => {
1319
1422
  if (t1 > 255n) {
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');
1423
+ throw new __compactRuntime.CompactError('Signet.compact line 605 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1321
1424
  }
1322
1425
  return t1;
1323
1426
  })(acc_0[0] + 1n),
@@ -1352,7 +1455,7 @@ export class Contract {
1352
1455
  let t_3;
1353
1456
  return [((t1) => {
1354
1457
  if (t1 > 65535n) {
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');
1458
+ throw new __compactRuntime.CompactError('Signet.compact line 632 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1356
1459
  }
1357
1460
  return t1;
1358
1461
  })(acc_1[0] + 1n),
@@ -1372,7 +1475,7 @@ export class Contract {
1372
1475
  let t_4;
1373
1476
  return [((t1) => {
1374
1477
  if (t1 > 255n) {
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');
1478
+ throw new __compactRuntime.CompactError('Signet.compact line 643 char 11: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1376
1479
  }
1377
1480
  return t1;
1378
1481
  })(acc_2[0] + 1n),
@@ -1391,7 +1494,7 @@ export class Contract {
1391
1494
  let t_5;
1392
1495
  return [((t1) => {
1393
1496
  if (t1 > 255n) {
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');
1497
+ throw new __compactRuntime.CompactError('Signet.compact line 652 char 22: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1395
1498
  }
1396
1499
  return t1;
1397
1500
  })(keyAcc_0[0]
@@ -1433,7 +1536,7 @@ export class Contract {
1433
1536
  let t_1, t_2;
1434
1537
  return [((t1) => {
1435
1538
  if (t1 > 255n) {
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');
1539
+ throw new __compactRuntime.CompactError('Signet.compact line 605 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1437
1540
  }
1438
1541
  return t1;
1439
1542
  })(acc_0[0] + 1n),
@@ -1468,7 +1571,7 @@ export class Contract {
1468
1571
  let t_3;
1469
1572
  return [((t1) => {
1470
1573
  if (t1 > 65535n) {
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');
1574
+ throw new __compactRuntime.CompactError('Signet.compact line 632 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1472
1575
  }
1473
1576
  return t1;
1474
1577
  })(acc_1[0] + 1n),
@@ -1488,7 +1591,7 @@ export class Contract {
1488
1591
  let t_4;
1489
1592
  return [((t1) => {
1490
1593
  if (t1 > 255n) {
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');
1594
+ throw new __compactRuntime.CompactError('Signet.compact line 643 char 11: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1492
1595
  }
1493
1596
  return t1;
1494
1597
  })(acc_2[0] + 1n),
@@ -1507,7 +1610,7 @@ export class Contract {
1507
1610
  let t_5;
1508
1611
  return [((t1) => {
1509
1612
  if (t1 > 255n) {
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');
1613
+ throw new __compactRuntime.CompactError('Signet.compact line 652 char 22: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 255');
1511
1614
  }
1512
1615
  return t1;
1513
1616
  })(keyAcc_0[0]
@@ -1589,7 +1692,7 @@ export class Contract {
1589
1692
  let t_0;
1590
1693
  return [((t1) => {
1591
1694
  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');
1695
+ throw new __compactRuntime.CompactError('Signet.compact line 730 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1593
1696
  }
1594
1697
  return t1;
1595
1698
  })(acc_0[0] + 1n),
@@ -1629,7 +1732,7 @@ export class Contract {
1629
1732
  let t_0;
1630
1733
  return [((t1) => {
1631
1734
  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');
1735
+ throw new __compactRuntime.CompactError('Signet.compact line 730 char 10: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 65535');
1633
1736
  }
1634
1737
  return t1;
1635
1738
  })(acc_0[0] + 1n),
@@ -1698,6 +1801,78 @@ export class Contract {
1698
1801
  executionDest: request_0.executionDest };
1699
1802
  return this._calculateRequestIdV1_0(preimage_0);
1700
1803
  }
1804
+ _tronInt64Max_0() { return 9223372036854775807n; }
1805
+ _tronMaxExpirationSpanSeconds_0() { return 86400n; }
1806
+ _assertTronTxParamsV1_0(txParams_0) {
1807
+ let t_0;
1808
+ __compactRuntime.assert((t_0 = txParams_0.timestamp,
1809
+ t_0 <= this._tronInt64Max_0()),
1810
+ 'Tron timestamp exceeds int64');
1811
+ let t_1;
1812
+ __compactRuntime.assert((t_1 = txParams_0.expiration,
1813
+ t_1 <= this._tronInt64Max_0()),
1814
+ 'Tron expiration exceeds int64');
1815
+ let t_2;
1816
+ __compactRuntime.assert((t_2 = txParams_0.feeLimit,
1817
+ t_2 <= this._tronInt64Max_0()),
1818
+ 'Tron fee limit exceeds int64');
1819
+ let t_3;
1820
+ __compactRuntime.assert((t_3 = txParams_0.callValue,
1821
+ t_3 <= this._tronInt64Max_0()),
1822
+ 'Tron call value exceeds int64');
1823
+ let t_4;
1824
+ __compactRuntime.assert((t_4 = txParams_0.expiration,
1825
+ t_4 > txParams_0.timestamp),
1826
+ 'Tron expiration must follow its timestamp');
1827
+ return [];
1828
+ }
1829
+ async _assertTronExpirationWindowV1_0(context,
1830
+ partialProofData,
1831
+ expiration_0,
1832
+ expirationSeconds_0,
1833
+ minRemainingSeconds_0,
1834
+ capMarginSeconds_0)
1835
+ {
1836
+ const ms_0 = expiration_0;
1837
+ const seconds_0 = expirationSeconds_0;
1838
+ const minRemaining_0 = minRemainingSeconds_0;
1839
+ let t_0;
1840
+ __compactRuntime.assert((t_0 = seconds_0 * 1000n, t_0 <= ms_0)
1841
+ &&
1842
+ ms_0 < seconds_0 * 1000n + 1000n,
1843
+ 'expirationSeconds is not the expiration in whole seconds');
1844
+ __compactRuntime.assert(seconds_0 > minRemaining_0
1845
+ &&
1846
+ await this._blockTimeLt_0(context,
1847
+ partialProofData,
1848
+ (__compactRuntime.assert(seconds_0
1849
+ >=
1850
+ minRemaining_0,
1851
+ 'result of subtraction would be negative'),
1852
+ seconds_0
1853
+ -
1854
+ minRemaining_0)),
1855
+ 'Tron expiration too close to the block time');
1856
+ const earliest_0 = seconds_0 + 1n + capMarginSeconds_0;
1857
+ let t_1;
1858
+ __compactRuntime.assert(earliest_0 <= this._tronMaxExpirationSpanSeconds_0()
1859
+ ||
1860
+ await this._blockTimeGte_0(context,
1861
+ partialProofData,
1862
+ ((t1) => {
1863
+ if (t1 > 18446744073709551615n) {
1864
+ throw new __compactRuntime.CompactError('Signet.compact line 816 char 22: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 18446744073709551615');
1865
+ }
1866
+ return t1;
1867
+ })((t_1 = this._tronMaxExpirationSpanSeconds_0(),
1868
+ (__compactRuntime.assert(earliest_0
1869
+ >=
1870
+ t_1,
1871
+ 'result of subtraction would be negative'),
1872
+ earliest_0 - t_1)))),
1873
+ 'Tron expiration too far past the block time');
1874
+ return [];
1875
+ }
1701
1876
  _evmAddressAbiWord_0(addr_0) {
1702
1877
  return Uint8Array.from([...Array.from(new Uint8Array(12), BigInt),
1703
1878
  ...Array.from(addr_0, BigInt)],
@@ -1706,7 +1881,7 @@ export class Contract {
1706
1881
  _numericAbiWord_0(value_0) {
1707
1882
  const le_0 = Array.from(__compactRuntime.convertBigintToBytes(16,
1708
1883
  value_0,
1709
- 'Signet.compact line 768 char 17'),
1884
+ 'Signet.compact line 837 char 17'),
1710
1885
  BigInt);
1711
1886
  return Uint8Array.from([...Array.from(new Uint8Array(16), BigInt),
1712
1887
  le_0[15],
@@ -1788,7 +1963,7 @@ export class Contract {
1788
1963
  v_0[31]);
1789
1964
  return ((t1) => {
1790
1965
  if (t1 > 340282366920938463463374607431768211455n) {
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');
1966
+ throw new __compactRuntime.CompactError('Signet.compact line 889 char 12: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 340282366920938463463374607431768211455');
1792
1967
  }
1793
1968
  return t1;
1794
1969
  })(b15_0);
@@ -1800,7 +1975,7 @@ export class Contract {
1800
1975
  32,
1801
1976
  x_0,
1802
1977
  'Uint<0..340282366920938463463374607431768211456>',
1803
- 'Signet.compact line 831 char 12');
1978
+ 'Signet.compact line 900 char 12');
1804
1979
  }
1805
1980
  _abiWordToBool_0(word_0) {
1806
1981
  __compactRuntime.assert(__compactRuntime.convertBytesToUint(52435875175126190479447740508185965837690552500527637822603658699938581184512n,
@@ -1808,7 +1983,7 @@ export class Contract {
1808
1983
  ((e, i) => e.slice(i, i+31))(word_0,
1809
1984
  Number(0n)),
1810
1985
  'Field',
1811
- 'Signet.compact line 837 char 12')
1986
+ 'Signet.compact line 906 char 12')
1812
1987
  ===
1813
1988
  0n,
1814
1989
  'ABI word is not a canonical Boolean');
@@ -1817,7 +1992,7 @@ export class Contract {
1817
1992
  ((e, i) => e.slice(i, i+1))(word_0,
1818
1993
  Number(31n)),
1819
1994
  'Field',
1820
- 'Signet.compact line 838 char 18');
1995
+ 'Signet.compact line 907 char 18');
1821
1996
  __compactRuntime.assert(last_0 === 0n || last_0 === 1n,
1822
1997
  'ABI word is not a canonical Boolean');
1823
1998
  return last_0 === 1n;
@@ -1911,6 +2086,9 @@ export class Contract {
1911
2086
  _calculateTronRequestIdV1_2_34_0(request_0) {
1912
2087
  return this._calculateTronRequestIdV1_3(request_0);
1913
2088
  }
2089
+ _assertTronTxParamsV1_2_0(txParams_0) {
2090
+ this._assertTronTxParamsV1_0(txParams_0); return [];
2091
+ }
1914
2092
  _equal_0(x0, y0) {
1915
2093
  if (x0.identity) { return y0.identity; }
1916
2094
  if (y0.identity || x0.x != y0.x || x0.y != y0.y) {
@@ -1949,6 +2127,10 @@ export class Contract {
1949
2127
  if (!x0.every((x, i) => y0[i] === x)) { return false; }
1950
2128
  return true;
1951
2129
  }
2130
+ _equal_8(x0, y0) {
2131
+ if (!x0.every((x, i) => y0[i] === x)) { return false; }
2132
+ return true;
2133
+ }
1952
2134
  _folder_0(f, x, a0) {
1953
2135
  for (let i = 0; i < 0; i++) { x = f(x, a0[i]); }
1954
2136
  return x;
@@ -2019,7 +2201,7 @@ export const pureCircuits = {
2019
2201
  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)) {
2020
2202
  __compactRuntime.typeError('calculateRequestIdV1',
2021
2203
  'argument 1',
2022
- 'Signet.compact line 234 char 3',
2204
+ 'Signet.compact line 235 char 3',
2023
2205
  '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>>',
2024
2206
  preimage_0)
2025
2207
  }
@@ -2035,21 +2217,21 @@ export const pureCircuits = {
2035
2217
  if (!(typeof(callerAddress_0) === 'object' && callerAddress_0.bytes.buffer instanceof ArrayBuffer && callerAddress_0.bytes.BYTES_PER_ELEMENT === 1 && callerAddress_0.bytes.length === 32)) {
2036
2218
  __compactRuntime.typeError('constructSignBidirectionalEventNotificationV1',
2037
2219
  'argument 1',
2038
- 'Signet.compact line 285 char 3',
2220
+ 'Signet.compact line 286 char 3',
2039
2221
  'struct ContractAddress<bytes: Bytes<32>>',
2040
2222
  callerAddress_0)
2041
2223
  }
2042
2224
  if (!(typeof(requestsPathDepth_0) === 'bigint' && requestsPathDepth_0 >= 0n && requestsPathDepth_0 <= 255n)) {
2043
2225
  __compactRuntime.typeError('constructSignBidirectionalEventNotificationV1',
2044
2226
  'argument 2',
2045
- 'Signet.compact line 285 char 3',
2227
+ 'Signet.compact line 286 char 3',
2046
2228
  'Uint<0..256>',
2047
2229
  requestsPathDepth_0)
2048
2230
  }
2049
2231
  if (!(Array.isArray(requestsPath_0) && requestsPath_0.length === 4 && requestsPath_0.every((t) => typeof(t) === 'bigint' && t >= 0n && t <= 255n))) {
2050
2232
  __compactRuntime.typeError('constructSignBidirectionalEventNotificationV1',
2051
2233
  'argument 3',
2052
- 'Signet.compact line 285 char 3',
2234
+ 'Signet.compact line 286 char 3',
2053
2235
  'Vector<4, Uint<0..256>>',
2054
2236
  requestsPath_0)
2055
2237
  }
@@ -2069,35 +2251,35 @@ export const pureCircuits = {
2069
2251
  if (!(requestId_0.buffer instanceof ArrayBuffer && requestId_0.BYTES_PER_ELEMENT === 1 && requestId_0.length === 32)) {
2070
2252
  __compactRuntime.typeError('calculateSignetAttestationDigestV1',
2071
2253
  'argument 1',
2072
- 'Signet.compact line 411 char 3',
2254
+ 'Signet.compact line 412 char 3',
2073
2255
  'Bytes<32>',
2074
2256
  requestId_0)
2075
2257
  }
2076
2258
  if (!(typeof(blockHeight_0) === 'bigint' && blockHeight_0 >= 0n && blockHeight_0 <= 18446744073709551615n)) {
2077
2259
  __compactRuntime.typeError('calculateSignetAttestationDigestV1',
2078
2260
  'argument 2',
2079
- 'Signet.compact line 411 char 3',
2261
+ 'Signet.compact line 412 char 3',
2080
2262
  'Uint<0..18446744073709551616>',
2081
2263
  blockHeight_0)
2082
2264
  }
2083
2265
  if (!(typeof(outputKind_0) === 'number' && outputKind_0 >= 0 && outputKind_0 <= 2)) {
2084
2266
  __compactRuntime.typeError('calculateSignetAttestationDigestV1',
2085
2267
  'argument 3',
2086
- 'Signet.compact line 411 char 3',
2268
+ 'Signet.compact line 412 char 3',
2087
2269
  'Enum<OutputKind, executed, failed, unviable>',
2088
2270
  outputKind_0)
2089
2271
  }
2090
2272
  if (!(typeof(serializedOutputLength_0) === 'bigint' && serializedOutputLength_0 >= 0n && serializedOutputLength_0 <= 18446744073709551615n)) {
2091
2273
  __compactRuntime.typeError('calculateSignetAttestationDigestV1',
2092
2274
  'argument 4',
2093
- 'Signet.compact line 411 char 3',
2275
+ 'Signet.compact line 412 char 3',
2094
2276
  'Uint<0..18446744073709551616>',
2095
2277
  serializedOutputLength_0)
2096
2278
  }
2097
2279
  if (!(outputHash_0.buffer instanceof ArrayBuffer && outputHash_0.BYTES_PER_ELEMENT === 1 && outputHash_0.length === 32)) {
2098
2280
  __compactRuntime.typeError('calculateSignetAttestationDigestV1',
2099
2281
  'argument 5',
2100
- 'Signet.compact line 411 char 3',
2282
+ 'Signet.compact line 412 char 3',
2101
2283
  'Bytes<32>',
2102
2284
  outputHash_0)
2103
2285
  }
@@ -2116,14 +2298,14 @@ export const pureCircuits = {
2116
2298
  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)) {
2117
2299
  __compactRuntime.typeError('verifyRespondBidirectionalAttestationV1',
2118
2300
  'argument 1',
2119
- 'Signet.compact line 443 char 3',
2301
+ 'Signet.compact line 444 char 3',
2120
2302
  '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>>>',
2121
2303
  respondBidirectionalEvent_0)
2122
2304
  }
2123
2305
  if (!(__compactRuntime.isValidSecp256k1Point(mpcResponseKey_0))) {
2124
2306
  __compactRuntime.typeError('verifyRespondBidirectionalAttestationV1',
2125
2307
  'argument 2',
2126
- 'Signet.compact line 443 char 3',
2308
+ 'Signet.compact line 444 char 3',
2127
2309
  'Secp256k1Point',
2128
2310
  mpcResponseKey_0)
2129
2311
  }
@@ -2150,12 +2332,24 @@ export const pureCircuits = {
2150
2332
  if (!(evmAddress_0.buffer instanceof ArrayBuffer && evmAddress_0.BYTES_PER_ELEMENT === 1 && evmAddress_0.length === 20)) {
2151
2333
  __compactRuntime.typeError('tronAddress',
2152
2334
  'argument 1',
2153
- 'Signet.compact line 688 char 3',
2335
+ 'Signet.compact line 690 char 3',
2154
2336
  'Bytes<20>',
2155
2337
  evmAddress_0)
2156
2338
  }
2157
2339
  return _dummyContract._tronAddress_0(evmAddress_0);
2158
2340
  },
2341
+ tronInt64Max: (...args_0) => {
2342
+ if (args_0.length !== 0) {
2343
+ throw new __compactRuntime.CompactError(`tronInt64Max: expected 0 arguments (as invoked from Typescript), received ${args_0.length}`);
2344
+ }
2345
+ return _dummyContract._tronInt64Max_0();
2346
+ },
2347
+ tronMaxExpirationSpanSeconds: (...args_0) => {
2348
+ if (args_0.length !== 0) {
2349
+ throw new __compactRuntime.CompactError(`tronMaxExpirationSpanSeconds: expected 0 arguments (as invoked from Typescript), received ${args_0.length}`);
2350
+ }
2351
+ return _dummyContract._tronMaxExpirationSpanSeconds_0();
2352
+ },
2159
2353
  evmAddressAbiWord: (...args_0) => {
2160
2354
  if (args_0.length !== 1) {
2161
2355
  throw new __compactRuntime.CompactError(`evmAddressAbiWord: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
@@ -2164,7 +2358,7 @@ export const pureCircuits = {
2164
2358
  if (!(addr_0.buffer instanceof ArrayBuffer && addr_0.BYTES_PER_ELEMENT === 1 && addr_0.length === 20)) {
2165
2359
  __compactRuntime.typeError('evmAddressAbiWord',
2166
2360
  'argument 1',
2167
- 'Signet.compact line 759 char 3',
2361
+ 'Signet.compact line 828 char 3',
2168
2362
  'Bytes<20>',
2169
2363
  addr_0)
2170
2364
  }
@@ -2178,7 +2372,7 @@ export const pureCircuits = {
2178
2372
  if (!(typeof(value_0) === 'bigint' && value_0 >= 0n && value_0 <= 340282366920938463463374607431768211455n)) {
2179
2373
  __compactRuntime.typeError('numericAbiWord',
2180
2374
  'argument 1',
2181
- 'Signet.compact line 765 char 3',
2375
+ 'Signet.compact line 834 char 3',
2182
2376
  'Uint<0..340282366920938463463374607431768211456>',
2183
2377
  value_0)
2184
2378
  }
@@ -2192,7 +2386,7 @@ export const pureCircuits = {
2192
2386
  if (!(typeof(value_0) === 'boolean')) {
2193
2387
  __compactRuntime.typeError('boolAbiWord',
2194
2388
  'argument 1',
2195
- 'Signet.compact line 778 char 3',
2389
+ 'Signet.compact line 847 char 3',
2196
2390
  'Boolean',
2197
2391
  value_0)
2198
2392
  }
@@ -2206,7 +2400,7 @@ export const pureCircuits = {
2206
2400
  if (!(word_0.buffer instanceof ArrayBuffer && word_0.BYTES_PER_ELEMENT === 1 && word_0.length === 32)) {
2207
2401
  __compactRuntime.typeError('abiWordToUint128',
2208
2402
  'argument 1',
2209
- 'Signet.compact line 786 char 3',
2403
+ 'Signet.compact line 855 char 3',
2210
2404
  'Bytes<32>',
2211
2405
  word_0)
2212
2406
  }
@@ -2220,7 +2414,7 @@ export const pureCircuits = {
2220
2414
  if (!(x_0.buffer instanceof ArrayBuffer && x_0.BYTES_PER_ELEMENT === 1 && x_0.length === 32)) {
2221
2415
  __compactRuntime.typeError('checkedTruncationU128',
2222
2416
  'argument 1',
2223
- 'Signet.compact line 827 char 3',
2417
+ 'Signet.compact line 896 char 3',
2224
2418
  'Bytes<32>',
2225
2419
  x_0)
2226
2420
  }
@@ -2234,7 +2428,7 @@ export const pureCircuits = {
2234
2428
  if (!(word_0.buffer instanceof ArrayBuffer && word_0.BYTES_PER_ELEMENT === 1 && word_0.length === 32)) {
2235
2429
  __compactRuntime.typeError('abiWordToBool',
2236
2430
  'argument 1',
2237
- 'Signet.compact line 836 char 3',
2431
+ 'Signet.compact line 905 char 3',
2238
2432
  'Bytes<32>',
2239
2433
  word_0)
2240
2434
  }
@@ -2248,7 +2442,7 @@ export const pureCircuits = {
2248
2442
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 0)) {
2249
2443
  __compactRuntime.typeError('calculateAttestedOutputHash0',
2250
2444
  'argument 1',
2251
- 'circuits.compact line 37 char 1',
2445
+ 'circuits.compact line 40 char 1',
2252
2446
  'Bytes<0>',
2253
2447
  serializedOutput_0)
2254
2448
  }
@@ -2262,7 +2456,7 @@ export const pureCircuits = {
2262
2456
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 1)) {
2263
2457
  __compactRuntime.typeError('calculateAttestedOutputHash1',
2264
2458
  'argument 1',
2265
- 'circuits.compact line 43 char 1',
2459
+ 'circuits.compact line 46 char 1',
2266
2460
  'Bytes<1>',
2267
2461
  serializedOutput_0)
2268
2462
  }
@@ -2276,7 +2470,7 @@ export const pureCircuits = {
2276
2470
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 2)) {
2277
2471
  __compactRuntime.typeError('calculateAttestedOutputHash2',
2278
2472
  'argument 1',
2279
- 'circuits.compact line 49 char 1',
2473
+ 'circuits.compact line 52 char 1',
2280
2474
  'Bytes<2>',
2281
2475
  serializedOutput_0)
2282
2476
  }
@@ -2290,7 +2484,7 @@ export const pureCircuits = {
2290
2484
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 32)) {
2291
2485
  __compactRuntime.typeError('calculateAttestedOutputHash32',
2292
2486
  'argument 1',
2293
- 'circuits.compact line 55 char 1',
2487
+ 'circuits.compact line 58 char 1',
2294
2488
  'Bytes<32>',
2295
2489
  serializedOutput_0)
2296
2490
  }
@@ -2304,7 +2498,7 @@ export const pureCircuits = {
2304
2498
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 100)) {
2305
2499
  __compactRuntime.typeError('calculateAttestedOutputHash100',
2306
2500
  'argument 1',
2307
- 'circuits.compact line 61 char 1',
2501
+ 'circuits.compact line 64 char 1',
2308
2502
  'Bytes<100>',
2309
2503
  serializedOutput_0)
2310
2504
  }
@@ -2320,21 +2514,21 @@ export const pureCircuits = {
2320
2514
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 1)) {
2321
2515
  __compactRuntime.typeError('verifyAttestedOutput1',
2322
2516
  'argument 1',
2323
- 'circuits.compact line 71 char 1',
2517
+ 'circuits.compact line 74 char 1',
2324
2518
  'Bytes<1>',
2325
2519
  serializedOutput_0)
2326
2520
  }
2327
2521
  if (!(typeof(attestedOutputLength_0) === 'bigint' && attestedOutputLength_0 >= 0n && attestedOutputLength_0 <= 18446744073709551615n)) {
2328
2522
  __compactRuntime.typeError('verifyAttestedOutput1',
2329
2523
  'argument 2',
2330
- 'circuits.compact line 71 char 1',
2524
+ 'circuits.compact line 74 char 1',
2331
2525
  'Uint<0..18446744073709551616>',
2332
2526
  attestedOutputLength_0)
2333
2527
  }
2334
2528
  if (!(attestedOutputHash_0.buffer instanceof ArrayBuffer && attestedOutputHash_0.BYTES_PER_ELEMENT === 1 && attestedOutputHash_0.length === 32)) {
2335
2529
  __compactRuntime.typeError('verifyAttestedOutput1',
2336
2530
  'argument 3',
2337
- 'circuits.compact line 71 char 1',
2531
+ 'circuits.compact line 74 char 1',
2338
2532
  'Bytes<32>',
2339
2533
  attestedOutputHash_0)
2340
2534
  }
@@ -2352,21 +2546,21 @@ export const pureCircuits = {
2352
2546
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 2)) {
2353
2547
  __compactRuntime.typeError('verifyAttestedOutput2',
2354
2548
  'argument 1',
2355
- 'circuits.compact line 79 char 1',
2549
+ 'circuits.compact line 82 char 1',
2356
2550
  'Bytes<2>',
2357
2551
  serializedOutput_0)
2358
2552
  }
2359
2553
  if (!(typeof(attestedOutputLength_0) === 'bigint' && attestedOutputLength_0 >= 0n && attestedOutputLength_0 <= 18446744073709551615n)) {
2360
2554
  __compactRuntime.typeError('verifyAttestedOutput2',
2361
2555
  'argument 2',
2362
- 'circuits.compact line 79 char 1',
2556
+ 'circuits.compact line 82 char 1',
2363
2557
  'Uint<0..18446744073709551616>',
2364
2558
  attestedOutputLength_0)
2365
2559
  }
2366
2560
  if (!(attestedOutputHash_0.buffer instanceof ArrayBuffer && attestedOutputHash_0.BYTES_PER_ELEMENT === 1 && attestedOutputHash_0.length === 32)) {
2367
2561
  __compactRuntime.typeError('verifyAttestedOutput2',
2368
2562
  'argument 3',
2369
- 'circuits.compact line 79 char 1',
2563
+ 'circuits.compact line 82 char 1',
2370
2564
  'Bytes<32>',
2371
2565
  attestedOutputHash_0)
2372
2566
  }
@@ -2382,7 +2576,7 @@ export const pureCircuits = {
2382
2576
  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)))) {
2383
2577
  __compactRuntime.typeError('calculateEvmType2TxParamsDigestV1_1_0_0',
2384
2578
  'argument 1',
2385
- 'circuits.compact line 92 char 1',
2579
+ 'circuits.compact line 95 char 1',
2386
2580
  '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>>>>>',
2387
2581
  txParams_0)
2388
2582
  }
@@ -2396,7 +2590,7 @@ export const pureCircuits = {
2396
2590
  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)))) {
2397
2591
  __compactRuntime.typeError('calculateEvmType2TxParamsDigestV1_2_1_2',
2398
2592
  'argument 1',
2399
- 'circuits.compact line 98 char 1',
2593
+ 'circuits.compact line 101 char 1',
2400
2594
  '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>>>>>',
2401
2595
  txParams_0)
2402
2596
  }
@@ -2410,7 +2604,7 @@ export const pureCircuits = {
2410
2604
  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)) {
2411
2605
  __compactRuntime.typeError('calculateEvmType2RequestIdV1_1_0_0_34',
2412
2606
  'argument 1',
2413
- 'circuits.compact line 107 char 1',
2607
+ 'circuits.compact line 110 char 1',
2414
2608
  '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>>',
2415
2609
  request_0)
2416
2610
  }
@@ -2424,7 +2618,7 @@ export const pureCircuits = {
2424
2618
  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)) {
2425
2619
  __compactRuntime.typeError('calculateEvmType2RequestIdV1_2_1_2_34',
2426
2620
  'argument 1',
2427
- 'circuits.compact line 113 char 1',
2621
+ 'circuits.compact line 116 char 1',
2428
2622
  '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>>',
2429
2623
  request_0)
2430
2624
  }
@@ -2440,21 +2634,21 @@ export const pureCircuits = {
2440
2634
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 0)) {
2441
2635
  __compactRuntime.typeError('verifyRespondBidirectionalEvent0',
2442
2636
  'argument 1',
2443
- 'circuits.compact line 119 char 1',
2637
+ 'circuits.compact line 122 char 1',
2444
2638
  'Bytes<0>',
2445
2639
  serializedOutput_0)
2446
2640
  }
2447
2641
  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)) {
2448
2642
  __compactRuntime.typeError('verifyRespondBidirectionalEvent0',
2449
2643
  'argument 2',
2450
- 'circuits.compact line 119 char 1',
2644
+ 'circuits.compact line 122 char 1',
2451
2645
  '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>>>',
2452
2646
  respondBidirectionalEvent_0)
2453
2647
  }
2454
2648
  if (!(__compactRuntime.isValidSecp256k1Point(mpcResponseKey_0))) {
2455
2649
  __compactRuntime.typeError('verifyRespondBidirectionalEvent0',
2456
2650
  'argument 3',
2457
- 'circuits.compact line 119 char 1',
2651
+ 'circuits.compact line 122 char 1',
2458
2652
  'Secp256k1Point',
2459
2653
  mpcResponseKey_0)
2460
2654
  }
@@ -2472,21 +2666,21 @@ export const pureCircuits = {
2472
2666
  if (!(serializedOutput_0.buffer instanceof ArrayBuffer && serializedOutput_0.BYTES_PER_ELEMENT === 1 && serializedOutput_0.length === 32)) {
2473
2667
  __compactRuntime.typeError('verifyRespondBidirectionalEvent32',
2474
2668
  'argument 1',
2475
- 'circuits.compact line 131 char 1',
2669
+ 'circuits.compact line 134 char 1',
2476
2670
  'Bytes<32>',
2477
2671
  serializedOutput_0)
2478
2672
  }
2479
2673
  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)) {
2480
2674
  __compactRuntime.typeError('verifyRespondBidirectionalEvent32',
2481
2675
  'argument 2',
2482
- 'circuits.compact line 131 char 1',
2676
+ 'circuits.compact line 134 char 1',
2483
2677
  '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>>>',
2484
2678
  respondBidirectionalEvent_0)
2485
2679
  }
2486
2680
  if (!(__compactRuntime.isValidSecp256k1Point(mpcResponseKey_0))) {
2487
2681
  __compactRuntime.typeError('verifyRespondBidirectionalEvent32',
2488
2682
  'argument 3',
2489
- 'circuits.compact line 131 char 1',
2683
+ 'circuits.compact line 134 char 1',
2490
2684
  'Secp256k1Point',
2491
2685
  mpcResponseKey_0)
2492
2686
  }
@@ -2502,7 +2696,7 @@ export const pureCircuits = {
2502
2696
  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)) {
2503
2697
  __compactRuntime.typeError('constructSignBidirectionalEventV1_1_0_0_34',
2504
2698
  'argument 1',
2505
- 'circuits.compact line 143 char 1',
2699
+ 'circuits.compact line 146 char 1',
2506
2700
  '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>>',
2507
2701
  request_0)
2508
2702
  }
@@ -2516,7 +2710,7 @@ export const pureCircuits = {
2516
2710
  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
2711
  __compactRuntime.typeError('calculateTronTxParamsDigestV1_1',
2518
2712
  'argument 1',
2519
- 'circuits.compact line 160 char 1',
2713
+ 'circuits.compact line 163 char 1',
2520
2714
  '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
2715
  txParams_0)
2522
2716
  }
@@ -2530,7 +2724,7 @@ export const pureCircuits = {
2530
2724
  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
2725
  __compactRuntime.typeError('calculateTronTxParamsDigestV1_2',
2532
2726
  'argument 1',
2533
- 'circuits.compact line 166 char 1',
2727
+ 'circuits.compact line 169 char 1',
2534
2728
  '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
2729
  txParams_0)
2536
2730
  }
@@ -2544,7 +2738,7 @@ export const pureCircuits = {
2544
2738
  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
2739
  __compactRuntime.typeError('calculateTronRequestIdV1_1_0',
2546
2740
  'argument 1',
2547
- 'circuits.compact line 172 char 1',
2741
+ 'circuits.compact line 175 char 1',
2548
2742
  '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
2743
  request_0)
2550
2744
  }
@@ -2558,7 +2752,7 @@ export const pureCircuits = {
2558
2752
  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
2753
  __compactRuntime.typeError('calculateTronRequestIdV1_2_0',
2560
2754
  'argument 1',
2561
- 'circuits.compact line 178 char 1',
2755
+ 'circuits.compact line 181 char 1',
2562
2756
  '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
2757
  request_0)
2564
2758
  }
@@ -2572,7 +2766,7 @@ export const pureCircuits = {
2572
2766
  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
2767
  __compactRuntime.typeError('calculateTronRequestIdV1_1_34',
2574
2768
  'argument 1',
2575
- 'circuits.compact line 184 char 1',
2769
+ 'circuits.compact line 187 char 1',
2576
2770
  '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
2771
  request_0)
2578
2772
  }
@@ -2586,11 +2780,25 @@ export const pureCircuits = {
2586
2780
  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
2781
  __compactRuntime.typeError('calculateTronRequestIdV1_2_34',
2588
2782
  'argument 1',
2589
- 'circuits.compact line 190 char 1',
2783
+ 'circuits.compact line 193 char 1',
2590
2784
  '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
2785
  request_0)
2592
2786
  }
2593
2787
  return _dummyContract._calculateTronRequestIdV1_2_34_0(request_0);
2788
+ },
2789
+ assertTronTxParamsV1_2: (...args_0) => {
2790
+ if (args_0.length !== 1) {
2791
+ throw new __compactRuntime.CompactError(`assertTronTxParamsV1_2: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
2792
+ }
2793
+ const txParams_0 = args_0[0];
2794
+ 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))) {
2795
+ __compactRuntime.typeError('assertTronTxParamsV1_2',
2796
+ 'argument 1',
2797
+ 'circuits.compact line 201 char 1',
2798
+ '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>>>>>',
2799
+ txParams_0)
2800
+ }
2801
+ return _dummyContract._assertTronTxParamsV1_2_0(txParams_0);
2594
2802
  }
2595
2803
  };
2596
2804
  export const expectedVk = {};
@@ -2603,6 +2811,9 @@ export const circuitSignatures = {
2603
2811
  'ethereumCaip2Id': {pure: true, provable: false, argumentTypes: [], resultType: {tag: 'Bytes', length: 64}},
2604
2812
  'tronCaip2Id': {pure: true, provable: false, argumentTypes: [], resultType: {tag: 'Bytes', length: 64}},
2605
2813
  'tronAddress': {pure: true, provable: false, argumentTypes: [{tag: 'Bytes', length: 20}], resultType: {tag: 'Bytes', length: 21}},
2814
+ 'tronInt64Max': {pure: true, provable: false, argumentTypes: [], resultType: {tag: 'Uint', maxval: '18446744073709551615'}},
2815
+ 'tronMaxExpirationSpanSeconds': {pure: true, provable: false, argumentTypes: [], resultType: {tag: 'Uint', maxval: '18446744073709551615'}},
2816
+ 'assertTronExpirationWindowV1': {pure: false, provable: true, argumentTypes: [{tag: 'Uint', maxval: '18446744073709551615'}, {tag: 'Uint', maxval: '18446744073709551615'}, {tag: 'Uint', maxval: '18446744073709551615'}, {tag: 'Uint', maxval: '18446744073709551615'}], resultType: {tag: 'Tuple', types: []}},
2606
2817
  'evmAddressAbiWord': {pure: true, provable: false, argumentTypes: [{tag: 'Bytes', length: 20}], resultType: {tag: 'Bytes', length: 32}},
2607
2818
  'numericAbiWord': {pure: true, provable: false, argumentTypes: [{tag: 'Uint', maxval: '340282366920938463463374607431768211455'}], resultType: {tag: 'Bytes', length: 32}},
2608
2819
  'boolAbiWord': {pure: true, provable: false, argumentTypes: [{tag: 'Boolean'}], resultType: {tag: 'Bytes', length: 32}},
@@ -2629,6 +2840,7 @@ export const circuitSignatures = {
2629
2840
  '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
2841
  '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
2842
  '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}}},
2843
+ 'assertTronTxParamsV1_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: 'Tuple', types: []}},
2632
2844
  };
2633
2845
 
2634
2846
  export const declaredInterfaces = {};