@sig-net/midnight 0.27.0-rc.2 → 0.27.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/dist/abi-serde.d.ts +27 -0
- package/dist/abi-serde.d.ts.map +1 -1
- package/dist/abi-serde.js +101 -0
- package/dist/abi-serde.js.map +1 -1
- package/dist/compact-descriptors.d.ts +6 -5
- package/dist/compact-descriptors.d.ts.map +1 -1
- package/dist/compact-descriptors.js +4 -4
- package/dist/compact-descriptors.js.map +1 -1
- package/dist/constants.d.ts +2 -5
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +17 -36
- package/dist/constants.js.map +1 -1
- package/dist/ecdsa-attestation.d.ts +2 -1
- package/dist/ecdsa-attestation.d.ts.map +1 -1
- package/dist/ecdsa-attestation.js +4 -1
- package/dist/ecdsa-attestation.js.map +1 -1
- package/dist/epsilon-derivation.d.ts +8 -8
- package/dist/epsilon-derivation.js +7 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/managed/compiler/contract-info.json +444 -0
- package/dist/managed/compiler/contract-manifest.json +8 -8
- package/dist/managed/contract/index.d.ts +102 -0
- package/dist/managed/contract/index.js +359 -231
- package/dist/managed/contract/index.js.map +1 -1
- package/dist/mpc-output-cache.d.ts +2 -3
- package/dist/mpc-output-cache.d.ts.map +1 -1
- package/dist/mpc-output-cache.js +1 -2
- package/dist/mpc-output-cache.js.map +1 -1
- package/dist/signature-requests-state-reader.d.ts +16 -10
- package/dist/signature-requests-state-reader.d.ts.map +1 -1
- package/dist/signature-requests-state-reader.js +31 -13
- package/dist/signature-requests-state-reader.js.map +1 -1
- package/dist/signature-response-verification.d.ts +64 -16
- package/dist/signature-response-verification.d.ts.map +1 -1
- package/dist/signature-response-verification.js +104 -35
- package/dist/signature-response-verification.js.map +1 -1
- package/dist/signet-contract-events.d.ts +1 -1
- package/dist/signet-contract-events.js +1 -1
- package/dist/signet-contract-events.js.map +1 -1
- package/dist/signet-evtype2tx-requests.d.ts +1 -1
- package/dist/signet-evtype2tx-requests.js +1 -1
- package/dist/signet-request-id.js +3 -3
- package/dist/signet-request-id.js.map +1 -1
- package/dist/signet-request-response-reader.d.ts +137 -57
- package/dist/signet-request-response-reader.d.ts.map +1 -1
- package/dist/signet-request-response-reader.js +307 -123
- package/dist/signet-request-response-reader.js.map +1 -1
- package/dist/signet-requests.d.ts +9 -5
- package/dist/signet-requests.d.ts.map +1 -1
- package/dist/signet-requests.js +6 -2
- package/dist/signet-requests.js.map +1 -1
- package/dist/signet-tron-record-decoding.d.ts +2 -0
- package/dist/signet-tron-record-decoding.d.ts.map +1 -1
- package/dist/signet-tron-record-decoding.js +2 -0
- package/dist/signet-tron-record-decoding.js.map +1 -1
- package/dist/signet-tron-requests.d.ts +7 -3
- package/dist/signet-tron-requests.d.ts.map +1 -1
- package/dist/signet-tron-requests.js +6 -2
- package/dist/signet-tron-requests.js.map +1 -1
- package/dist/tron-transactions.d.ts +25 -2
- package/dist/tron-transactions.d.ts.map +1 -1
- package/dist/tron-transactions.js +33 -3
- package/dist/tron-transactions.js.map +1 -1
- package/package.json +2 -2
- package/src/Signet.compact +12 -10
- package/src/circuits.compact +12 -0
|
@@ -123,11 +123,13 @@ const _descriptor_16 = new __compactRuntime.CompactTypeBytes(64);
|
|
|
123
123
|
|
|
124
124
|
const _descriptor_17 = new __compactRuntime.CompactTypeEnum(1, 1);
|
|
125
125
|
|
|
126
|
-
const _descriptor_18 = new __compactRuntime.CompactTypeBytes(
|
|
126
|
+
const _descriptor_18 = new __compactRuntime.CompactTypeBytes(34);
|
|
127
|
+
|
|
128
|
+
const _descriptor_19 = new __compactRuntime.CompactTypeBytes(0);
|
|
127
129
|
|
|
128
130
|
class _SignBidirectionalEventV1_0 {
|
|
129
131
|
alignment() {
|
|
130
|
-
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(
|
|
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()))))))))));
|
|
131
133
|
}
|
|
132
134
|
fromValue(value_0) {
|
|
133
135
|
return {
|
|
@@ -141,56 +143,56 @@ class _SignBidirectionalEventV1_0 {
|
|
|
141
143
|
signatureDest: _descriptor_17.fromValue(value_0),
|
|
142
144
|
params: _descriptor_16.fromValue(value_0),
|
|
143
145
|
outputDeserializationSchema: _descriptor_18.fromValue(value_0),
|
|
144
|
-
respondSerializationSchema:
|
|
146
|
+
respondSerializationSchema: _descriptor_19.fromValue(value_0)
|
|
145
147
|
}
|
|
146
148
|
}
|
|
147
149
|
toValue(value_0) {
|
|
148
|
-
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(
|
|
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)))))))))));
|
|
149
151
|
}
|
|
150
152
|
}
|
|
151
153
|
|
|
152
|
-
const
|
|
154
|
+
const _descriptor_20 = new _SignBidirectionalEventV1_0();
|
|
153
155
|
|
|
154
|
-
const
|
|
156
|
+
const _descriptor_21 = new __compactRuntime.CompactTypeVector(2, _descriptor_1);
|
|
155
157
|
|
|
156
158
|
class _EvmCalldata_1 {
|
|
157
159
|
alignment() {
|
|
158
|
-
return _descriptor_10.alignment().concat(_descriptor_11.alignment().concat(
|
|
160
|
+
return _descriptor_10.alignment().concat(_descriptor_11.alignment().concat(_descriptor_21.alignment()));
|
|
159
161
|
}
|
|
160
162
|
fromValue(value_0) {
|
|
161
163
|
return {
|
|
162
164
|
selector: _descriptor_10.fromValue(value_0),
|
|
163
165
|
noWords: _descriptor_11.fromValue(value_0),
|
|
164
|
-
words:
|
|
166
|
+
words: _descriptor_21.fromValue(value_0)
|
|
165
167
|
}
|
|
166
168
|
}
|
|
167
169
|
toValue(value_0) {
|
|
168
|
-
return _descriptor_10.toValue(value_0.selector).concat(_descriptor_11.toValue(value_0.noWords).concat(
|
|
170
|
+
return _descriptor_10.toValue(value_0.selector).concat(_descriptor_11.toValue(value_0.noWords).concat(_descriptor_21.toValue(value_0.words)));
|
|
169
171
|
}
|
|
170
172
|
}
|
|
171
173
|
|
|
172
|
-
const
|
|
174
|
+
const _descriptor_22 = new _EvmCalldata_1();
|
|
173
175
|
|
|
174
176
|
class _Maybe_1 {
|
|
175
177
|
alignment() {
|
|
176
|
-
return _descriptor_9.alignment().concat(
|
|
178
|
+
return _descriptor_9.alignment().concat(_descriptor_22.alignment());
|
|
177
179
|
}
|
|
178
180
|
fromValue(value_0) {
|
|
179
181
|
return {
|
|
180
182
|
is_some: _descriptor_9.fromValue(value_0),
|
|
181
|
-
value:
|
|
183
|
+
value: _descriptor_22.fromValue(value_0)
|
|
182
184
|
}
|
|
183
185
|
}
|
|
184
186
|
toValue(value_0) {
|
|
185
|
-
return _descriptor_9.toValue(value_0.is_some).concat(
|
|
187
|
+
return _descriptor_9.toValue(value_0.is_some).concat(_descriptor_22.toValue(value_0.value));
|
|
186
188
|
}
|
|
187
189
|
}
|
|
188
190
|
|
|
189
|
-
const
|
|
191
|
+
const _descriptor_23 = new _Maybe_1();
|
|
190
192
|
|
|
191
193
|
class _TronTxParams_1 {
|
|
192
194
|
alignment() {
|
|
193
|
-
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(
|
|
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())))))));
|
|
194
196
|
}
|
|
195
197
|
fromValue(value_0) {
|
|
196
198
|
return {
|
|
@@ -201,19 +203,19 @@ class _TronTxParams_1 {
|
|
|
201
203
|
feeLimit: _descriptor_7.fromValue(value_0),
|
|
202
204
|
contractAddress: _descriptor_8.fromValue(value_0),
|
|
203
205
|
callValue: _descriptor_7.fromValue(value_0),
|
|
204
|
-
calldata:
|
|
206
|
+
calldata: _descriptor_23.fromValue(value_0)
|
|
205
207
|
}
|
|
206
208
|
}
|
|
207
209
|
toValue(value_0) {
|
|
208
|
-
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(
|
|
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))))))));
|
|
209
211
|
}
|
|
210
212
|
}
|
|
211
213
|
|
|
212
|
-
const
|
|
214
|
+
const _descriptor_24 = new _TronTxParams_1();
|
|
213
215
|
|
|
214
216
|
class _SignBidirectionalEventV1_1 {
|
|
215
217
|
alignment() {
|
|
216
|
-
return _descriptor_0.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_3.alignment().concat(_descriptor_4.alignment().concat(
|
|
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()))))))))));
|
|
217
219
|
}
|
|
218
220
|
fromValue(value_0) {
|
|
219
221
|
return {
|
|
@@ -222,22 +224,74 @@ class _SignBidirectionalEventV1_1 {
|
|
|
222
224
|
path: _descriptor_1.fromValue(value_0),
|
|
223
225
|
algo: _descriptor_3.fromValue(value_0),
|
|
224
226
|
txParamType: _descriptor_4.fromValue(value_0),
|
|
225
|
-
txParams:
|
|
227
|
+
txParams: _descriptor_24.fromValue(value_0),
|
|
226
228
|
executionDest: _descriptor_16.fromValue(value_0),
|
|
227
229
|
signatureDest: _descriptor_17.fromValue(value_0),
|
|
228
230
|
params: _descriptor_16.fromValue(value_0),
|
|
229
231
|
outputDeserializationSchema: _descriptor_18.fromValue(value_0),
|
|
230
|
-
respondSerializationSchema:
|
|
232
|
+
respondSerializationSchema: _descriptor_19.fromValue(value_0)
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
toValue(value_0) {
|
|
236
|
+
return _descriptor_0.toValue(value_0.keyVersion).concat(_descriptor_2.toValue(value_0.sender).concat(_descriptor_1.toValue(value_0.path).concat(_descriptor_3.toValue(value_0.algo).concat(_descriptor_4.toValue(value_0.txParamType).concat(_descriptor_24.toValue(value_0.txParams).concat(_descriptor_16.toValue(value_0.executionDest).concat(_descriptor_17.toValue(value_0.signatureDest).concat(_descriptor_16.toValue(value_0.params).concat(_descriptor_18.toValue(value_0.outputDeserializationSchema).concat(_descriptor_19.toValue(value_0.respondSerializationSchema)))))))))));
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
const _descriptor_25 = new _SignBidirectionalEventV1_1();
|
|
241
|
+
|
|
242
|
+
class _SignBidirectionalEventV1_2 {
|
|
243
|
+
alignment() {
|
|
244
|
+
return _descriptor_0.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_3.alignment().concat(_descriptor_4.alignment().concat(_descriptor_15.alignment().concat(_descriptor_16.alignment().concat(_descriptor_17.alignment().concat(_descriptor_16.alignment().concat(_descriptor_19.alignment().concat(_descriptor_19.alignment()))))))))));
|
|
245
|
+
}
|
|
246
|
+
fromValue(value_0) {
|
|
247
|
+
return {
|
|
248
|
+
keyVersion: _descriptor_0.fromValue(value_0),
|
|
249
|
+
sender: _descriptor_2.fromValue(value_0),
|
|
250
|
+
path: _descriptor_1.fromValue(value_0),
|
|
251
|
+
algo: _descriptor_3.fromValue(value_0),
|
|
252
|
+
txParamType: _descriptor_4.fromValue(value_0),
|
|
253
|
+
txParams: _descriptor_15.fromValue(value_0),
|
|
254
|
+
executionDest: _descriptor_16.fromValue(value_0),
|
|
255
|
+
signatureDest: _descriptor_17.fromValue(value_0),
|
|
256
|
+
params: _descriptor_16.fromValue(value_0),
|
|
257
|
+
outputDeserializationSchema: _descriptor_19.fromValue(value_0),
|
|
258
|
+
respondSerializationSchema: _descriptor_19.fromValue(value_0)
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
toValue(value_0) {
|
|
262
|
+
return _descriptor_0.toValue(value_0.keyVersion).concat(_descriptor_2.toValue(value_0.sender).concat(_descriptor_1.toValue(value_0.path).concat(_descriptor_3.toValue(value_0.algo).concat(_descriptor_4.toValue(value_0.txParamType).concat(_descriptor_15.toValue(value_0.txParams).concat(_descriptor_16.toValue(value_0.executionDest).concat(_descriptor_17.toValue(value_0.signatureDest).concat(_descriptor_16.toValue(value_0.params).concat(_descriptor_19.toValue(value_0.outputDeserializationSchema).concat(_descriptor_19.toValue(value_0.respondSerializationSchema)))))))))));
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
const _descriptor_26 = new _SignBidirectionalEventV1_2();
|
|
267
|
+
|
|
268
|
+
class _SignBidirectionalEventV1_3 {
|
|
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()))))))))));
|
|
271
|
+
}
|
|
272
|
+
fromValue(value_0) {
|
|
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)
|
|
231
285
|
}
|
|
232
286
|
}
|
|
233
287
|
toValue(value_0) {
|
|
234
|
-
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(
|
|
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)))))))))));
|
|
235
289
|
}
|
|
236
290
|
}
|
|
237
291
|
|
|
238
|
-
const
|
|
292
|
+
const _descriptor_27 = new _SignBidirectionalEventV1_3();
|
|
239
293
|
|
|
240
|
-
const
|
|
294
|
+
const _descriptor_28 = new __compactRuntime.CompactTypeEnum(2, 1);
|
|
241
295
|
|
|
242
296
|
class _AffinePoint_0 {
|
|
243
297
|
alignment() {
|
|
@@ -254,106 +308,104 @@ class _AffinePoint_0 {
|
|
|
254
308
|
}
|
|
255
309
|
}
|
|
256
310
|
|
|
257
|
-
const
|
|
311
|
+
const _descriptor_29 = new _AffinePoint_0();
|
|
258
312
|
|
|
259
313
|
class _Signature_0 {
|
|
260
314
|
alignment() {
|
|
261
|
-
return
|
|
315
|
+
return _descriptor_29.alignment().concat(_descriptor_1.alignment().concat(_descriptor_0.alignment()));
|
|
262
316
|
}
|
|
263
317
|
fromValue(value_0) {
|
|
264
318
|
return {
|
|
265
|
-
bigR:
|
|
319
|
+
bigR: _descriptor_29.fromValue(value_0),
|
|
266
320
|
s: _descriptor_1.fromValue(value_0),
|
|
267
321
|
recoveryId: _descriptor_0.fromValue(value_0)
|
|
268
322
|
}
|
|
269
323
|
}
|
|
270
324
|
toValue(value_0) {
|
|
271
|
-
return
|
|
325
|
+
return _descriptor_29.toValue(value_0.bigR).concat(_descriptor_1.toValue(value_0.s).concat(_descriptor_0.toValue(value_0.recoveryId)));
|
|
272
326
|
}
|
|
273
327
|
}
|
|
274
328
|
|
|
275
|
-
const
|
|
329
|
+
const _descriptor_30 = new _Signature_0();
|
|
276
330
|
|
|
277
331
|
class _RespondBidirectionalEventV1_0 {
|
|
278
332
|
alignment() {
|
|
279
|
-
return _descriptor_1.alignment().concat(_descriptor_7.alignment().concat(
|
|
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()))))));
|
|
280
334
|
}
|
|
281
335
|
fromValue(value_0) {
|
|
282
336
|
return {
|
|
283
337
|
requestId: _descriptor_1.fromValue(value_0),
|
|
284
338
|
blockHeight: _descriptor_7.fromValue(value_0),
|
|
285
|
-
outputKind:
|
|
339
|
+
outputKind: _descriptor_28.fromValue(value_0),
|
|
286
340
|
serializedOutputLength: _descriptor_7.fromValue(value_0),
|
|
287
341
|
outputHash: _descriptor_1.fromValue(value_0),
|
|
288
342
|
digest: _descriptor_1.fromValue(value_0),
|
|
289
|
-
signature:
|
|
343
|
+
signature: _descriptor_30.fromValue(value_0)
|
|
290
344
|
}
|
|
291
345
|
}
|
|
292
346
|
toValue(value_0) {
|
|
293
|
-
return _descriptor_1.toValue(value_0.requestId).concat(_descriptor_7.toValue(value_0.blockHeight).concat(
|
|
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)))))));
|
|
294
348
|
}
|
|
295
349
|
}
|
|
296
350
|
|
|
297
|
-
const
|
|
351
|
+
const _descriptor_31 = new _RespondBidirectionalEventV1_0();
|
|
298
352
|
|
|
299
|
-
const
|
|
353
|
+
const _descriptor_32 = __compactRuntime.CompactTypeSecp256k1Point;
|
|
300
354
|
|
|
301
|
-
const
|
|
355
|
+
const _descriptor_33 = new __compactRuntime.CompactTypeUnsignedInteger(340282366920938463463374607431768211455n, 16);
|
|
302
356
|
|
|
303
|
-
const
|
|
357
|
+
const _descriptor_34 = new __compactRuntime.CompactTypeBytes(20);
|
|
304
358
|
|
|
305
|
-
const
|
|
359
|
+
const _descriptor_35 = new __compactRuntime.CompactTypeVector(0, _descriptor_1);
|
|
306
360
|
|
|
307
361
|
class _EvmAccessListEntry_0 {
|
|
308
362
|
alignment() {
|
|
309
|
-
return
|
|
363
|
+
return _descriptor_34.alignment().concat(_descriptor_0.alignment().concat(_descriptor_35.alignment()));
|
|
310
364
|
}
|
|
311
365
|
fromValue(value_0) {
|
|
312
366
|
return {
|
|
313
|
-
address:
|
|
367
|
+
address: _descriptor_34.fromValue(value_0),
|
|
314
368
|
storageKeyCount: _descriptor_0.fromValue(value_0),
|
|
315
|
-
storageKeys:
|
|
369
|
+
storageKeys: _descriptor_35.fromValue(value_0)
|
|
316
370
|
}
|
|
317
371
|
}
|
|
318
372
|
toValue(value_0) {
|
|
319
|
-
return
|
|
373
|
+
return _descriptor_34.toValue(value_0.address).concat(_descriptor_0.toValue(value_0.storageKeyCount).concat(_descriptor_35.toValue(value_0.storageKeys)));
|
|
320
374
|
}
|
|
321
375
|
}
|
|
322
376
|
|
|
323
|
-
const
|
|
377
|
+
const _descriptor_36 = new _EvmAccessListEntry_0();
|
|
324
378
|
|
|
325
|
-
const
|
|
379
|
+
const _descriptor_37 = new __compactRuntime.CompactTypeVector(0, _descriptor_36);
|
|
326
380
|
|
|
327
381
|
class _EvmType2TxParams_0 {
|
|
328
382
|
alignment() {
|
|
329
|
-
return _descriptor_7.alignment().concat(_descriptor_7.alignment().concat(
|
|
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())))))))));
|
|
330
384
|
}
|
|
331
385
|
fromValue(value_0) {
|
|
332
386
|
return {
|
|
333
387
|
chainId: _descriptor_7.fromValue(value_0),
|
|
334
388
|
nonce: _descriptor_7.fromValue(value_0),
|
|
335
|
-
maxPriorityFeePerGas:
|
|
336
|
-
maxFeePerGas:
|
|
389
|
+
maxPriorityFeePerGas: _descriptor_33.fromValue(value_0),
|
|
390
|
+
maxFeePerGas: _descriptor_33.fromValue(value_0),
|
|
337
391
|
gasLimit: _descriptor_7.fromValue(value_0),
|
|
338
|
-
to:
|
|
339
|
-
value:
|
|
392
|
+
to: _descriptor_34.fromValue(value_0),
|
|
393
|
+
value: _descriptor_33.fromValue(value_0),
|
|
340
394
|
calldata: _descriptor_14.fromValue(value_0),
|
|
341
395
|
accessListEntryCount: _descriptor_0.fromValue(value_0),
|
|
342
|
-
accessList:
|
|
396
|
+
accessList: _descriptor_37.fromValue(value_0)
|
|
343
397
|
}
|
|
344
398
|
}
|
|
345
399
|
toValue(value_0) {
|
|
346
|
-
return _descriptor_7.toValue(value_0.chainId).concat(_descriptor_7.toValue(value_0.nonce).concat(
|
|
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))))))))));
|
|
347
401
|
}
|
|
348
402
|
}
|
|
349
403
|
|
|
350
|
-
const
|
|
404
|
+
const _descriptor_38 = new _EvmType2TxParams_0();
|
|
351
405
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
class _SignBidirectionalEventV1_2 {
|
|
406
|
+
class _SignBidirectionalEventV1_4 {
|
|
355
407
|
alignment() {
|
|
356
|
-
return _descriptor_0.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_3.alignment().concat(_descriptor_4.alignment().concat(
|
|
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()))))))))));
|
|
357
409
|
}
|
|
358
410
|
fromValue(value_0) {
|
|
359
411
|
return {
|
|
@@ -362,69 +414,69 @@ class _SignBidirectionalEventV1_2 {
|
|
|
362
414
|
path: _descriptor_1.fromValue(value_0),
|
|
363
415
|
algo: _descriptor_3.fromValue(value_0),
|
|
364
416
|
txParamType: _descriptor_4.fromValue(value_0),
|
|
365
|
-
txParams:
|
|
417
|
+
txParams: _descriptor_38.fromValue(value_0),
|
|
366
418
|
executionDest: _descriptor_16.fromValue(value_0),
|
|
367
419
|
signatureDest: _descriptor_17.fromValue(value_0),
|
|
368
420
|
params: _descriptor_16.fromValue(value_0),
|
|
369
|
-
outputDeserializationSchema:
|
|
370
|
-
respondSerializationSchema:
|
|
421
|
+
outputDeserializationSchema: _descriptor_18.fromValue(value_0),
|
|
422
|
+
respondSerializationSchema: _descriptor_19.fromValue(value_0)
|
|
371
423
|
}
|
|
372
424
|
}
|
|
373
425
|
toValue(value_0) {
|
|
374
|
-
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(
|
|
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)))))))))));
|
|
375
427
|
}
|
|
376
428
|
}
|
|
377
429
|
|
|
378
|
-
const
|
|
430
|
+
const _descriptor_39 = new _SignBidirectionalEventV1_4();
|
|
379
431
|
|
|
380
432
|
class _EvmAccessListEntry_1 {
|
|
381
433
|
alignment() {
|
|
382
|
-
return
|
|
434
|
+
return _descriptor_34.alignment().concat(_descriptor_0.alignment().concat(_descriptor_21.alignment()));
|
|
383
435
|
}
|
|
384
436
|
fromValue(value_0) {
|
|
385
437
|
return {
|
|
386
|
-
address:
|
|
438
|
+
address: _descriptor_34.fromValue(value_0),
|
|
387
439
|
storageKeyCount: _descriptor_0.fromValue(value_0),
|
|
388
|
-
storageKeys:
|
|
440
|
+
storageKeys: _descriptor_21.fromValue(value_0)
|
|
389
441
|
}
|
|
390
442
|
}
|
|
391
443
|
toValue(value_0) {
|
|
392
|
-
return
|
|
444
|
+
return _descriptor_34.toValue(value_0.address).concat(_descriptor_0.toValue(value_0.storageKeyCount).concat(_descriptor_21.toValue(value_0.storageKeys)));
|
|
393
445
|
}
|
|
394
446
|
}
|
|
395
447
|
|
|
396
|
-
const
|
|
448
|
+
const _descriptor_40 = new _EvmAccessListEntry_1();
|
|
397
449
|
|
|
398
|
-
const
|
|
450
|
+
const _descriptor_41 = new __compactRuntime.CompactTypeVector(1, _descriptor_40);
|
|
399
451
|
|
|
400
452
|
class _EvmType2TxParams_1 {
|
|
401
453
|
alignment() {
|
|
402
|
-
return _descriptor_7.alignment().concat(_descriptor_7.alignment().concat(
|
|
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())))))))));
|
|
403
455
|
}
|
|
404
456
|
fromValue(value_0) {
|
|
405
457
|
return {
|
|
406
458
|
chainId: _descriptor_7.fromValue(value_0),
|
|
407
459
|
nonce: _descriptor_7.fromValue(value_0),
|
|
408
|
-
maxPriorityFeePerGas:
|
|
409
|
-
maxFeePerGas:
|
|
460
|
+
maxPriorityFeePerGas: _descriptor_33.fromValue(value_0),
|
|
461
|
+
maxFeePerGas: _descriptor_33.fromValue(value_0),
|
|
410
462
|
gasLimit: _descriptor_7.fromValue(value_0),
|
|
411
|
-
to:
|
|
412
|
-
value:
|
|
413
|
-
calldata:
|
|
463
|
+
to: _descriptor_34.fromValue(value_0),
|
|
464
|
+
value: _descriptor_33.fromValue(value_0),
|
|
465
|
+
calldata: _descriptor_23.fromValue(value_0),
|
|
414
466
|
accessListEntryCount: _descriptor_0.fromValue(value_0),
|
|
415
|
-
accessList:
|
|
467
|
+
accessList: _descriptor_41.fromValue(value_0)
|
|
416
468
|
}
|
|
417
469
|
}
|
|
418
470
|
toValue(value_0) {
|
|
419
|
-
return _descriptor_7.toValue(value_0.chainId).concat(_descriptor_7.toValue(value_0.nonce).concat(
|
|
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))))))))));
|
|
420
472
|
}
|
|
421
473
|
}
|
|
422
474
|
|
|
423
|
-
const
|
|
475
|
+
const _descriptor_42 = new _EvmType2TxParams_1();
|
|
424
476
|
|
|
425
|
-
class
|
|
477
|
+
class _SignBidirectionalEventV1_5 {
|
|
426
478
|
alignment() {
|
|
427
|
-
return _descriptor_0.alignment().concat(_descriptor_2.alignment().concat(_descriptor_1.alignment().concat(_descriptor_3.alignment().concat(_descriptor_4.alignment().concat(
|
|
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()))))))))));
|
|
428
480
|
}
|
|
429
481
|
fromValue(value_0) {
|
|
430
482
|
return {
|
|
@@ -433,24 +485,24 @@ class _SignBidirectionalEventV1_3 {
|
|
|
433
485
|
path: _descriptor_1.fromValue(value_0),
|
|
434
486
|
algo: _descriptor_3.fromValue(value_0),
|
|
435
487
|
txParamType: _descriptor_4.fromValue(value_0),
|
|
436
|
-
txParams:
|
|
488
|
+
txParams: _descriptor_42.fromValue(value_0),
|
|
437
489
|
executionDest: _descriptor_16.fromValue(value_0),
|
|
438
490
|
signatureDest: _descriptor_17.fromValue(value_0),
|
|
439
491
|
params: _descriptor_16.fromValue(value_0),
|
|
440
|
-
outputDeserializationSchema:
|
|
441
|
-
respondSerializationSchema:
|
|
492
|
+
outputDeserializationSchema: _descriptor_18.fromValue(value_0),
|
|
493
|
+
respondSerializationSchema: _descriptor_19.fromValue(value_0)
|
|
442
494
|
}
|
|
443
495
|
}
|
|
444
496
|
toValue(value_0) {
|
|
445
|
-
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(
|
|
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)))))))))));
|
|
446
498
|
}
|
|
447
499
|
}
|
|
448
500
|
|
|
449
|
-
const
|
|
501
|
+
const _descriptor_43 = new _SignBidirectionalEventV1_5();
|
|
450
502
|
|
|
451
|
-
const
|
|
503
|
+
const _descriptor_44 = new __compactRuntime.CompactTypeBytes(100);
|
|
452
504
|
|
|
453
|
-
const
|
|
505
|
+
const _descriptor_45 = new __compactRuntime.CompactTypeBytes(1);
|
|
454
506
|
|
|
455
507
|
class _RequestIdPreimageV1_0 {
|
|
456
508
|
alignment() {
|
|
@@ -472,117 +524,117 @@ class _RequestIdPreimageV1_0 {
|
|
|
472
524
|
}
|
|
473
525
|
}
|
|
474
526
|
|
|
475
|
-
const
|
|
527
|
+
const _descriptor_46 = new _RequestIdPreimageV1_0();
|
|
476
528
|
|
|
477
|
-
const
|
|
529
|
+
const _descriptor_47 = new __compactRuntime.CompactTypeVector(4, _descriptor_0);
|
|
478
530
|
|
|
479
|
-
const
|
|
531
|
+
const _descriptor_48 = new __compactRuntime.CompactTypeBytes(128);
|
|
480
532
|
|
|
481
533
|
class _SignBidirectionalEventNotification_0 {
|
|
482
534
|
alignment() {
|
|
483
|
-
return _descriptor_0.alignment().concat(
|
|
535
|
+
return _descriptor_0.alignment().concat(_descriptor_48.alignment());
|
|
484
536
|
}
|
|
485
537
|
fromValue(value_0) {
|
|
486
538
|
return {
|
|
487
539
|
version: _descriptor_0.fromValue(value_0),
|
|
488
|
-
payload:
|
|
540
|
+
payload: _descriptor_48.fromValue(value_0)
|
|
489
541
|
}
|
|
490
542
|
}
|
|
491
543
|
toValue(value_0) {
|
|
492
|
-
return _descriptor_0.toValue(value_0.version).concat(
|
|
544
|
+
return _descriptor_0.toValue(value_0.version).concat(_descriptor_48.toValue(value_0.payload));
|
|
493
545
|
}
|
|
494
546
|
}
|
|
495
547
|
|
|
496
|
-
const
|
|
548
|
+
const _descriptor_49 = new _SignBidirectionalEventNotification_0();
|
|
497
549
|
|
|
498
|
-
const
|
|
550
|
+
const _descriptor_50 = __compactRuntime.CompactTypeSecp256k1Scalar;
|
|
499
551
|
|
|
500
|
-
const
|
|
552
|
+
const _descriptor_51 = __compactRuntime.CompactTypeSecp256k1Base;
|
|
501
553
|
|
|
502
|
-
const
|
|
554
|
+
const _descriptor_52 = new __compactRuntime.CompactTypeEnum(8, 1);
|
|
503
555
|
|
|
504
556
|
class _tuple_0 {
|
|
505
557
|
alignment() {
|
|
506
|
-
return
|
|
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())))));
|
|
507
559
|
}
|
|
508
560
|
fromValue(value_0) {
|
|
509
561
|
return [
|
|
510
|
-
|
|
562
|
+
_descriptor_52.fromValue(value_0),
|
|
511
563
|
_descriptor_1.fromValue(value_0),
|
|
512
564
|
_descriptor_7.fromValue(value_0),
|
|
513
|
-
|
|
565
|
+
_descriptor_28.fromValue(value_0),
|
|
514
566
|
_descriptor_7.fromValue(value_0),
|
|
515
567
|
_descriptor_1.fromValue(value_0)
|
|
516
568
|
]
|
|
517
569
|
}
|
|
518
570
|
toValue(value_0) {
|
|
519
|
-
return
|
|
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]))))));
|
|
520
572
|
}
|
|
521
573
|
}
|
|
522
574
|
|
|
523
|
-
const
|
|
575
|
+
const _descriptor_53 = new _tuple_0();
|
|
524
576
|
|
|
525
|
-
const
|
|
577
|
+
const _descriptor_54 = __compactRuntime.CompactTypeField;
|
|
526
578
|
|
|
527
579
|
class _tuple_1 {
|
|
528
580
|
alignment() {
|
|
529
|
-
return
|
|
581
|
+
return _descriptor_52.alignment().concat(_descriptor_54.alignment().concat(_descriptor_1.alignment()));
|
|
530
582
|
}
|
|
531
583
|
fromValue(value_0) {
|
|
532
584
|
return [
|
|
533
|
-
_descriptor_50.fromValue(value_0),
|
|
534
585
|
_descriptor_52.fromValue(value_0),
|
|
586
|
+
_descriptor_54.fromValue(value_0),
|
|
535
587
|
_descriptor_1.fromValue(value_0)
|
|
536
588
|
]
|
|
537
589
|
}
|
|
538
590
|
toValue(value_0) {
|
|
539
|
-
return
|
|
591
|
+
return _descriptor_52.toValue(value_0[0]).concat(_descriptor_54.toValue(value_0[1]).concat(_descriptor_1.toValue(value_0[2])));
|
|
540
592
|
}
|
|
541
593
|
}
|
|
542
594
|
|
|
543
|
-
const
|
|
595
|
+
const _descriptor_55 = new _tuple_1();
|
|
544
596
|
|
|
545
597
|
class _tuple_2 {
|
|
546
598
|
alignment() {
|
|
547
|
-
return
|
|
599
|
+
return _descriptor_52.alignment().concat(_descriptor_46.alignment());
|
|
548
600
|
}
|
|
549
601
|
fromValue(value_0) {
|
|
550
602
|
return [
|
|
551
|
-
|
|
552
|
-
|
|
603
|
+
_descriptor_52.fromValue(value_0),
|
|
604
|
+
_descriptor_46.fromValue(value_0)
|
|
553
605
|
]
|
|
554
606
|
}
|
|
555
607
|
toValue(value_0) {
|
|
556
|
-
return
|
|
608
|
+
return _descriptor_52.toValue(value_0[0]).concat(_descriptor_46.toValue(value_0[1]));
|
|
557
609
|
}
|
|
558
610
|
}
|
|
559
611
|
|
|
560
|
-
const
|
|
612
|
+
const _descriptor_56 = new _tuple_2();
|
|
561
613
|
|
|
562
614
|
class _tuple_3 {
|
|
563
615
|
alignment() {
|
|
564
|
-
return
|
|
616
|
+
return _descriptor_52.alignment().concat(_descriptor_1.alignment());
|
|
565
617
|
}
|
|
566
618
|
fromValue(value_0) {
|
|
567
619
|
return [
|
|
568
|
-
|
|
620
|
+
_descriptor_52.fromValue(value_0),
|
|
569
621
|
_descriptor_1.fromValue(value_0)
|
|
570
622
|
]
|
|
571
623
|
}
|
|
572
624
|
toValue(value_0) {
|
|
573
|
-
return
|
|
625
|
+
return _descriptor_52.toValue(value_0[0]).concat(_descriptor_1.toValue(value_0[1]));
|
|
574
626
|
}
|
|
575
627
|
}
|
|
576
628
|
|
|
577
|
-
const
|
|
629
|
+
const _descriptor_57 = new _tuple_3();
|
|
578
630
|
|
|
579
631
|
class _tuple_4 {
|
|
580
632
|
alignment() {
|
|
581
|
-
return
|
|
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()))))))))));
|
|
582
634
|
}
|
|
583
635
|
fromValue(value_0) {
|
|
584
636
|
return [
|
|
585
|
-
|
|
637
|
+
_descriptor_52.fromValue(value_0),
|
|
586
638
|
_descriptor_5.fromValue(value_0),
|
|
587
639
|
_descriptor_6.fromValue(value_0),
|
|
588
640
|
_descriptor_7.fromValue(value_0),
|
|
@@ -596,80 +648,80 @@ class _tuple_4 {
|
|
|
596
648
|
]
|
|
597
649
|
}
|
|
598
650
|
toValue(value_0) {
|
|
599
|
-
return
|
|
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])))))))))));
|
|
600
652
|
}
|
|
601
653
|
}
|
|
602
654
|
|
|
603
|
-
const
|
|
655
|
+
const _descriptor_58 = new _tuple_4();
|
|
604
656
|
|
|
605
657
|
class _tuple_5 {
|
|
606
658
|
alignment() {
|
|
607
|
-
return
|
|
659
|
+
return _descriptor_52.alignment().concat(_descriptor_54.alignment().concat(_descriptor_34.alignment().concat(_descriptor_0.alignment().concat(_descriptor_54.alignment()))));
|
|
608
660
|
}
|
|
609
661
|
fromValue(value_0) {
|
|
610
662
|
return [
|
|
611
|
-
_descriptor_50.fromValue(value_0),
|
|
612
663
|
_descriptor_52.fromValue(value_0),
|
|
613
|
-
|
|
664
|
+
_descriptor_54.fromValue(value_0),
|
|
665
|
+
_descriptor_34.fromValue(value_0),
|
|
614
666
|
_descriptor_0.fromValue(value_0),
|
|
615
|
-
|
|
667
|
+
_descriptor_54.fromValue(value_0)
|
|
616
668
|
]
|
|
617
669
|
}
|
|
618
670
|
toValue(value_0) {
|
|
619
|
-
return
|
|
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])))));
|
|
620
672
|
}
|
|
621
673
|
}
|
|
622
674
|
|
|
623
|
-
const
|
|
675
|
+
const _descriptor_59 = new _tuple_5();
|
|
624
676
|
|
|
625
677
|
class _tuple_6 {
|
|
626
678
|
alignment() {
|
|
627
|
-
return
|
|
679
|
+
return _descriptor_52.alignment().concat(_descriptor_19.alignment());
|
|
628
680
|
}
|
|
629
681
|
fromValue(value_0) {
|
|
630
682
|
return [
|
|
631
|
-
|
|
632
|
-
|
|
683
|
+
_descriptor_52.fromValue(value_0),
|
|
684
|
+
_descriptor_19.fromValue(value_0)
|
|
633
685
|
]
|
|
634
686
|
}
|
|
635
687
|
toValue(value_0) {
|
|
636
|
-
return
|
|
688
|
+
return _descriptor_52.toValue(value_0[0]).concat(_descriptor_19.toValue(value_0[1]));
|
|
637
689
|
}
|
|
638
690
|
}
|
|
639
691
|
|
|
640
|
-
const
|
|
692
|
+
const _descriptor_60 = new _tuple_6();
|
|
641
693
|
|
|
642
694
|
class _tuple_7 {
|
|
643
695
|
alignment() {
|
|
644
|
-
return
|
|
696
|
+
return _descriptor_52.alignment().concat(_descriptor_5.alignment());
|
|
645
697
|
}
|
|
646
698
|
fromValue(value_0) {
|
|
647
699
|
return [
|
|
648
|
-
|
|
700
|
+
_descriptor_52.fromValue(value_0),
|
|
649
701
|
_descriptor_5.fromValue(value_0)
|
|
650
702
|
]
|
|
651
703
|
}
|
|
652
704
|
toValue(value_0) {
|
|
653
|
-
return
|
|
705
|
+
return _descriptor_52.toValue(value_0[0]).concat(_descriptor_5.toValue(value_0[1]));
|
|
654
706
|
}
|
|
655
707
|
}
|
|
656
708
|
|
|
657
|
-
const
|
|
709
|
+
const _descriptor_61 = new _tuple_7();
|
|
658
710
|
|
|
659
711
|
class _tuple_8 {
|
|
660
712
|
alignment() {
|
|
661
|
-
return
|
|
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())))))))))));
|
|
662
714
|
}
|
|
663
715
|
fromValue(value_0) {
|
|
664
716
|
return [
|
|
665
|
-
|
|
717
|
+
_descriptor_52.fromValue(value_0),
|
|
666
718
|
_descriptor_7.fromValue(value_0),
|
|
667
719
|
_descriptor_7.fromValue(value_0),
|
|
668
|
-
|
|
669
|
-
|
|
720
|
+
_descriptor_33.fromValue(value_0),
|
|
721
|
+
_descriptor_33.fromValue(value_0),
|
|
670
722
|
_descriptor_7.fromValue(value_0),
|
|
671
|
-
|
|
672
|
-
|
|
723
|
+
_descriptor_34.fromValue(value_0),
|
|
724
|
+
_descriptor_33.fromValue(value_0),
|
|
673
725
|
_descriptor_9.fromValue(value_0),
|
|
674
726
|
_descriptor_10.fromValue(value_0),
|
|
675
727
|
_descriptor_11.fromValue(value_0),
|
|
@@ -677,62 +729,62 @@ class _tuple_8 {
|
|
|
677
729
|
]
|
|
678
730
|
}
|
|
679
731
|
toValue(value_0) {
|
|
680
|
-
return
|
|
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]))))))))))));
|
|
681
733
|
}
|
|
682
734
|
}
|
|
683
735
|
|
|
684
|
-
const
|
|
736
|
+
const _descriptor_62 = new _tuple_8();
|
|
685
737
|
|
|
686
738
|
class _tuple_9 {
|
|
687
739
|
alignment() {
|
|
688
|
-
return
|
|
740
|
+
return _descriptor_52.alignment().concat(_descriptor_44.alignment());
|
|
689
741
|
}
|
|
690
742
|
fromValue(value_0) {
|
|
691
743
|
return [
|
|
692
|
-
|
|
693
|
-
|
|
744
|
+
_descriptor_52.fromValue(value_0),
|
|
745
|
+
_descriptor_44.fromValue(value_0)
|
|
694
746
|
]
|
|
695
747
|
}
|
|
696
748
|
toValue(value_0) {
|
|
697
|
-
return
|
|
749
|
+
return _descriptor_52.toValue(value_0[0]).concat(_descriptor_44.toValue(value_0[1]));
|
|
698
750
|
}
|
|
699
751
|
}
|
|
700
752
|
|
|
701
|
-
const
|
|
753
|
+
const _descriptor_63 = new _tuple_9();
|
|
702
754
|
|
|
703
755
|
class _tuple_10 {
|
|
704
756
|
alignment() {
|
|
705
|
-
return
|
|
757
|
+
return _descriptor_52.alignment().concat(_descriptor_45.alignment());
|
|
706
758
|
}
|
|
707
759
|
fromValue(value_0) {
|
|
708
760
|
return [
|
|
709
|
-
|
|
710
|
-
|
|
761
|
+
_descriptor_52.fromValue(value_0),
|
|
762
|
+
_descriptor_45.fromValue(value_0)
|
|
711
763
|
]
|
|
712
764
|
}
|
|
713
765
|
toValue(value_0) {
|
|
714
|
-
return
|
|
766
|
+
return _descriptor_52.toValue(value_0[0]).concat(_descriptor_45.toValue(value_0[1]));
|
|
715
767
|
}
|
|
716
768
|
}
|
|
717
769
|
|
|
718
|
-
const
|
|
770
|
+
const _descriptor_64 = new _tuple_10();
|
|
719
771
|
|
|
720
772
|
class _Secp256k1EcdsaSignature_0 {
|
|
721
773
|
alignment() {
|
|
722
|
-
return
|
|
774
|
+
return _descriptor_50.alignment().concat(_descriptor_50.alignment());
|
|
723
775
|
}
|
|
724
776
|
fromValue(value_0) {
|
|
725
777
|
return {
|
|
726
|
-
r:
|
|
727
|
-
s:
|
|
778
|
+
r: _descriptor_50.fromValue(value_0),
|
|
779
|
+
s: _descriptor_50.fromValue(value_0)
|
|
728
780
|
}
|
|
729
781
|
}
|
|
730
782
|
toValue(value_0) {
|
|
731
|
-
return
|
|
783
|
+
return _descriptor_50.toValue(value_0.r).concat(_descriptor_50.toValue(value_0.s));
|
|
732
784
|
}
|
|
733
785
|
}
|
|
734
786
|
|
|
735
|
-
const
|
|
787
|
+
const _descriptor_65 = new _Secp256k1EcdsaSignature_0();
|
|
736
788
|
|
|
737
789
|
class _Either_0 {
|
|
738
790
|
alignment() {
|
|
@@ -750,7 +802,7 @@ class _Either_0 {
|
|
|
750
802
|
}
|
|
751
803
|
}
|
|
752
804
|
|
|
753
|
-
const
|
|
805
|
+
const _descriptor_66 = new _Either_0();
|
|
754
806
|
|
|
755
807
|
class _UserAddress_0 {
|
|
756
808
|
alignment() {
|
|
@@ -766,44 +818,44 @@ class _UserAddress_0 {
|
|
|
766
818
|
}
|
|
767
819
|
}
|
|
768
820
|
|
|
769
|
-
const
|
|
821
|
+
const _descriptor_67 = new _UserAddress_0();
|
|
770
822
|
|
|
771
823
|
class _Either_1 {
|
|
772
824
|
alignment() {
|
|
773
|
-
return _descriptor_9.alignment().concat(_descriptor_2.alignment().concat(
|
|
825
|
+
return _descriptor_9.alignment().concat(_descriptor_2.alignment().concat(_descriptor_67.alignment()));
|
|
774
826
|
}
|
|
775
827
|
fromValue(value_0) {
|
|
776
828
|
return {
|
|
777
829
|
is_left: _descriptor_9.fromValue(value_0),
|
|
778
830
|
left: _descriptor_2.fromValue(value_0),
|
|
779
|
-
right:
|
|
831
|
+
right: _descriptor_67.fromValue(value_0)
|
|
780
832
|
}
|
|
781
833
|
}
|
|
782
834
|
toValue(value_0) {
|
|
783
|
-
return _descriptor_9.toValue(value_0.is_left).concat(_descriptor_2.toValue(value_0.left).concat(
|
|
835
|
+
return _descriptor_9.toValue(value_0.is_left).concat(_descriptor_2.toValue(value_0.left).concat(_descriptor_67.toValue(value_0.right)));
|
|
784
836
|
}
|
|
785
837
|
}
|
|
786
838
|
|
|
787
|
-
const
|
|
839
|
+
const _descriptor_68 = new _Either_1();
|
|
788
840
|
|
|
789
841
|
class _Maybe_2 {
|
|
790
842
|
alignment() {
|
|
791
|
-
return _descriptor_9.alignment().concat(
|
|
843
|
+
return _descriptor_9.alignment().concat(_descriptor_68.alignment());
|
|
792
844
|
}
|
|
793
845
|
fromValue(value_0) {
|
|
794
846
|
return {
|
|
795
847
|
is_some: _descriptor_9.fromValue(value_0),
|
|
796
|
-
value:
|
|
848
|
+
value: _descriptor_68.fromValue(value_0)
|
|
797
849
|
}
|
|
798
850
|
}
|
|
799
851
|
toValue(value_0) {
|
|
800
|
-
return _descriptor_9.toValue(value_0.is_some).concat(
|
|
852
|
+
return _descriptor_9.toValue(value_0.is_some).concat(_descriptor_68.toValue(value_0.value));
|
|
801
853
|
}
|
|
802
854
|
}
|
|
803
855
|
|
|
804
|
-
const
|
|
856
|
+
const _descriptor_69 = new _Maybe_2();
|
|
805
857
|
|
|
806
|
-
const
|
|
858
|
+
const _descriptor_70 = new __compactRuntime.CompactTypeUnsignedInteger(4294967295n, 4);
|
|
807
859
|
|
|
808
860
|
export class Contract {
|
|
809
861
|
witnesses;
|
|
@@ -909,6 +961,12 @@ export class Contract {
|
|
|
909
961
|
},
|
|
910
962
|
async calculateTronRequestIdV1_2_0(context, ...args_1) {
|
|
911
963
|
return { result: pureCircuits.calculateTronRequestIdV1_2_0(...args_1), context };
|
|
964
|
+
},
|
|
965
|
+
async calculateTronRequestIdV1_1_34(context, ...args_1) {
|
|
966
|
+
return { result: pureCircuits.calculateTronRequestIdV1_1_34(...args_1), context };
|
|
967
|
+
},
|
|
968
|
+
async calculateTronRequestIdV1_2_34(context, ...args_1) {
|
|
969
|
+
return { result: pureCircuits.calculateTronRequestIdV1_2_34(...args_1), context };
|
|
912
970
|
}
|
|
913
971
|
};
|
|
914
972
|
this.impureCircuits = {};
|
|
@@ -1009,47 +1067,47 @@ export class Contract {
|
|
|
1009
1067
|
r_0;
|
|
1010
1068
|
}
|
|
1011
1069
|
_transientHash_0(value_0) {
|
|
1012
|
-
const result_0 = __compactRuntime.transientHash(
|
|
1070
|
+
const result_0 = __compactRuntime.transientHash(_descriptor_63, value_0);
|
|
1013
1071
|
return result_0;
|
|
1014
1072
|
}
|
|
1015
1073
|
_transientHash_1(value_0) {
|
|
1016
|
-
const result_0 = __compactRuntime.transientHash(
|
|
1074
|
+
const result_0 = __compactRuntime.transientHash(_descriptor_64, value_0);
|
|
1017
1075
|
return result_0;
|
|
1018
1076
|
}
|
|
1019
1077
|
_transientHash_2(value_0) {
|
|
1020
|
-
const result_0 = __compactRuntime.transientHash(
|
|
1078
|
+
const result_0 = __compactRuntime.transientHash(_descriptor_61, value_0);
|
|
1021
1079
|
return result_0;
|
|
1022
1080
|
}
|
|
1023
1081
|
_transientHash_3(value_0) {
|
|
1024
|
-
const result_0 = __compactRuntime.transientHash(
|
|
1082
|
+
const result_0 = __compactRuntime.transientHash(_descriptor_62, value_0);
|
|
1025
1083
|
return result_0;
|
|
1026
1084
|
}
|
|
1027
1085
|
_transientHash_4(value_0) {
|
|
1028
|
-
const result_0 = __compactRuntime.transientHash(
|
|
1086
|
+
const result_0 = __compactRuntime.transientHash(_descriptor_59, value_0);
|
|
1029
1087
|
return result_0;
|
|
1030
1088
|
}
|
|
1031
1089
|
_transientHash_5(value_0) {
|
|
1032
|
-
const result_0 = __compactRuntime.transientHash(
|
|
1090
|
+
const result_0 = __compactRuntime.transientHash(_descriptor_60, value_0);
|
|
1033
1091
|
return result_0;
|
|
1034
1092
|
}
|
|
1035
1093
|
_transientHash_6(value_0) {
|
|
1036
|
-
const result_0 = __compactRuntime.transientHash(
|
|
1094
|
+
const result_0 = __compactRuntime.transientHash(_descriptor_57, value_0);
|
|
1037
1095
|
return result_0;
|
|
1038
1096
|
}
|
|
1039
1097
|
_transientHash_7(value_0) {
|
|
1040
|
-
const result_0 = __compactRuntime.transientHash(
|
|
1098
|
+
const result_0 = __compactRuntime.transientHash(_descriptor_58, value_0);
|
|
1041
1099
|
return result_0;
|
|
1042
1100
|
}
|
|
1043
1101
|
_transientHash_8(value_0) {
|
|
1044
|
-
const result_0 = __compactRuntime.transientHash(
|
|
1102
|
+
const result_0 = __compactRuntime.transientHash(_descriptor_55, value_0);
|
|
1045
1103
|
return result_0;
|
|
1046
1104
|
}
|
|
1047
1105
|
_transientHash_9(value_0) {
|
|
1048
|
-
const result_0 = __compactRuntime.transientHash(
|
|
1106
|
+
const result_0 = __compactRuntime.transientHash(_descriptor_56, value_0);
|
|
1049
1107
|
return result_0;
|
|
1050
1108
|
}
|
|
1051
1109
|
_transientHash_10(value_0) {
|
|
1052
|
-
const result_0 = __compactRuntime.transientHash(
|
|
1110
|
+
const result_0 = __compactRuntime.transientHash(_descriptor_53, value_0);
|
|
1053
1111
|
return result_0;
|
|
1054
1112
|
}
|
|
1055
1113
|
_upgradeFromTransient_0(x_0) {
|
|
@@ -1087,7 +1145,7 @@ export class Contract {
|
|
|
1087
1145
|
params_0,
|
|
1088
1146
|
outputDeserializationSchema_0)
|
|
1089
1147
|
{
|
|
1090
|
-
__compactRuntime.assert(keyVersion_0
|
|
1148
|
+
__compactRuntime.assert(keyVersion_0 === 1n, 'keyVersion must be 1');
|
|
1091
1149
|
__compactRuntime.assert(signatureDest_0 === 0,
|
|
1092
1150
|
'signatureDest must be unused');
|
|
1093
1151
|
__compactRuntime.assert(this._equal_1(params_0, new Uint8Array(64)),
|
|
@@ -1166,29 +1224,33 @@ export class Contract {
|
|
|
1166
1224
|
respondBidirectionalEvent_0.outputKind,
|
|
1167
1225
|
respondBidirectionalEvent_0.serializedOutputLength,
|
|
1168
1226
|
respondBidirectionalEvent_0.outputHash);
|
|
1169
|
-
|
|
1227
|
+
const signed_0 = !this._equal_3(mpcResponseKey_0,
|
|
1228
|
+
({x: 0n, y: 0n, identity: true}))
|
|
1229
|
+
&&
|
|
1230
|
+
this._secp256k1EcdsaVerify_0(digest_0,
|
|
1231
|
+
{ r:
|
|
1232
|
+
__compactRuntime.convertBytesToField(115792089237316195423570985008687907852837564279074904382605163141518161494336n,
|
|
1233
|
+
32,
|
|
1234
|
+
respondBidirectionalEvent_0.signature.bigR.x,
|
|
1235
|
+
'Secp256k1Scalar',
|
|
1236
|
+
'Signet.compact line 461 char 12'),
|
|
1237
|
+
s:
|
|
1238
|
+
__compactRuntime.convertBytesToField(115792089237316195423570985008687907852837564279074904382605163141518161494336n,
|
|
1239
|
+
32,
|
|
1240
|
+
respondBidirectionalEvent_0.signature.s,
|
|
1241
|
+
'Secp256k1Scalar',
|
|
1242
|
+
'Signet.compact line 462 char 12') },
|
|
1243
|
+
mpcResponseKey_0);
|
|
1244
|
+
return this._equal_4(respondBidirectionalEvent_0.digest, digest_0)
|
|
1170
1245
|
&&
|
|
1171
|
-
|
|
1172
|
-
{ r:
|
|
1173
|
-
__compactRuntime.convertBytesToField(115792089237316195423570985008687907852837564279074904382605163141518161494336n,
|
|
1174
|
-
32,
|
|
1175
|
-
respondBidirectionalEvent_0.signature.bigR.x,
|
|
1176
|
-
'Secp256k1Scalar',
|
|
1177
|
-
'Signet.compact line 460 char 12'),
|
|
1178
|
-
s:
|
|
1179
|
-
__compactRuntime.convertBytesToField(115792089237316195423570985008687907852837564279074904382605163141518161494336n,
|
|
1180
|
-
32,
|
|
1181
|
-
respondBidirectionalEvent_0.signature.s,
|
|
1182
|
-
'Secp256k1Scalar',
|
|
1183
|
-
'Signet.compact line 461 char 12') },
|
|
1184
|
-
mpcResponseKey_0);
|
|
1246
|
+
signed_0;
|
|
1185
1247
|
}
|
|
1186
1248
|
_verifyAttestedOutputV1_0(serializedOutput_0,
|
|
1187
1249
|
attestedOutputLength_0,
|
|
1188
1250
|
attestedOutputHash_0)
|
|
1189
1251
|
{
|
|
1190
1252
|
const lengthMatches_0 = attestedOutputLength_0 === 1n;
|
|
1191
|
-
const hashMatches_0 = this.
|
|
1253
|
+
const hashMatches_0 = this._equal_5(attestedOutputHash_0,
|
|
1192
1254
|
this._calculateAttestedOutputHashV1_1(serializedOutput_0));
|
|
1193
1255
|
return lengthMatches_0 && hashMatches_0;
|
|
1194
1256
|
}
|
|
@@ -1197,7 +1259,7 @@ export class Contract {
|
|
|
1197
1259
|
attestedOutputHash_0)
|
|
1198
1260
|
{
|
|
1199
1261
|
const lengthMatches_0 = attestedOutputLength_0 === 2n;
|
|
1200
|
-
const hashMatches_0 = this.
|
|
1262
|
+
const hashMatches_0 = this._equal_6(attestedOutputHash_0,
|
|
1201
1263
|
this._calculateAttestedOutputHashV1_2(serializedOutput_0));
|
|
1202
1264
|
return lengthMatches_0 && hashMatches_0;
|
|
1203
1265
|
}
|
|
@@ -1206,7 +1268,7 @@ export class Contract {
|
|
|
1206
1268
|
attestedOutputHash_0)
|
|
1207
1269
|
{
|
|
1208
1270
|
const lengthMatches_0 = attestedOutputLength_0 === 0n;
|
|
1209
|
-
const hashMatches_0 = this.
|
|
1271
|
+
const hashMatches_0 = this._equal_7(attestedOutputHash_0,
|
|
1210
1272
|
this._calculateAttestedOutputHashV1_3(serializedOutput_0));
|
|
1211
1273
|
return lengthMatches_0 && hashMatches_0;
|
|
1212
1274
|
}
|
|
@@ -1215,7 +1277,7 @@ export class Contract {
|
|
|
1215
1277
|
attestedOutputHash_0)
|
|
1216
1278
|
{
|
|
1217
1279
|
const lengthMatches_0 = attestedOutputLength_0 === 32n;
|
|
1218
|
-
const hashMatches_0 = this.
|
|
1280
|
+
const hashMatches_0 = this._equal_8(attestedOutputHash_0,
|
|
1219
1281
|
this._calculateAttestedOutputHashV1_4(serializedOutput_0));
|
|
1220
1282
|
return lengthMatches_0 && hashMatches_0;
|
|
1221
1283
|
}
|
|
@@ -1259,7 +1321,7 @@ export class Contract {
|
|
|
1259
1321
|
let t_1, t_2;
|
|
1260
1322
|
return [((t1) => {
|
|
1261
1323
|
if (t1 > 255n) {
|
|
1262
|
-
throw new __compactRuntime.CompactError('Signet.compact line
|
|
1324
|
+
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');
|
|
1263
1325
|
}
|
|
1264
1326
|
return t1;
|
|
1265
1327
|
})(acc_0[0] + 1n),
|
|
@@ -1294,7 +1356,7 @@ export class Contract {
|
|
|
1294
1356
|
let t_3;
|
|
1295
1357
|
return [((t1) => {
|
|
1296
1358
|
if (t1 > 65535n) {
|
|
1297
|
-
throw new __compactRuntime.CompactError('Signet.compact line
|
|
1359
|
+
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');
|
|
1298
1360
|
}
|
|
1299
1361
|
return t1;
|
|
1300
1362
|
})(acc_1[0] + 1n),
|
|
@@ -1314,7 +1376,7 @@ export class Contract {
|
|
|
1314
1376
|
let t_4;
|
|
1315
1377
|
return [((t1) => {
|
|
1316
1378
|
if (t1 > 255n) {
|
|
1317
|
-
throw new __compactRuntime.CompactError('Signet.compact line
|
|
1379
|
+
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');
|
|
1318
1380
|
}
|
|
1319
1381
|
return t1;
|
|
1320
1382
|
})(acc_2[0] + 1n),
|
|
@@ -1333,7 +1395,7 @@ export class Contract {
|
|
|
1333
1395
|
let t_5;
|
|
1334
1396
|
return [((t1) => {
|
|
1335
1397
|
if (t1 > 255n) {
|
|
1336
|
-
throw new __compactRuntime.CompactError('Signet.compact line
|
|
1398
|
+
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');
|
|
1337
1399
|
}
|
|
1338
1400
|
return t1;
|
|
1339
1401
|
})(keyAcc_0[0]
|
|
@@ -1375,7 +1437,7 @@ export class Contract {
|
|
|
1375
1437
|
let t_1, t_2;
|
|
1376
1438
|
return [((t1) => {
|
|
1377
1439
|
if (t1 > 255n) {
|
|
1378
|
-
throw new __compactRuntime.CompactError('Signet.compact line
|
|
1440
|
+
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');
|
|
1379
1441
|
}
|
|
1380
1442
|
return t1;
|
|
1381
1443
|
})(acc_0[0] + 1n),
|
|
@@ -1410,7 +1472,7 @@ export class Contract {
|
|
|
1410
1472
|
let t_3;
|
|
1411
1473
|
return [((t1) => {
|
|
1412
1474
|
if (t1 > 65535n) {
|
|
1413
|
-
throw new __compactRuntime.CompactError('Signet.compact line
|
|
1475
|
+
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');
|
|
1414
1476
|
}
|
|
1415
1477
|
return t1;
|
|
1416
1478
|
})(acc_1[0] + 1n),
|
|
@@ -1430,7 +1492,7 @@ export class Contract {
|
|
|
1430
1492
|
let t_4;
|
|
1431
1493
|
return [((t1) => {
|
|
1432
1494
|
if (t1 > 255n) {
|
|
1433
|
-
throw new __compactRuntime.CompactError('Signet.compact line
|
|
1495
|
+
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');
|
|
1434
1496
|
}
|
|
1435
1497
|
return t1;
|
|
1436
1498
|
})(acc_2[0] + 1n),
|
|
@@ -1449,7 +1511,7 @@ export class Contract {
|
|
|
1449
1511
|
let t_5;
|
|
1450
1512
|
return [((t1) => {
|
|
1451
1513
|
if (t1 > 255n) {
|
|
1452
|
-
throw new __compactRuntime.CompactError('Signet.compact line
|
|
1514
|
+
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');
|
|
1453
1515
|
}
|
|
1454
1516
|
return t1;
|
|
1455
1517
|
})(keyAcc_0[0]
|
|
@@ -1531,7 +1593,7 @@ export class Contract {
|
|
|
1531
1593
|
let t_0;
|
|
1532
1594
|
return [((t1) => {
|
|
1533
1595
|
if (t1 > 65535n) {
|
|
1534
|
-
throw new __compactRuntime.CompactError('Signet.compact line
|
|
1596
|
+
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');
|
|
1535
1597
|
}
|
|
1536
1598
|
return t1;
|
|
1537
1599
|
})(acc_0[0] + 1n),
|
|
@@ -1571,7 +1633,7 @@ export class Contract {
|
|
|
1571
1633
|
let t_0;
|
|
1572
1634
|
return [((t1) => {
|
|
1573
1635
|
if (t1 > 65535n) {
|
|
1574
|
-
throw new __compactRuntime.CompactError('Signet.compact line
|
|
1636
|
+
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');
|
|
1575
1637
|
}
|
|
1576
1638
|
return t1;
|
|
1577
1639
|
})(acc_0[0] + 1n),
|
|
@@ -1614,6 +1676,32 @@ export class Contract {
|
|
|
1614
1676
|
executionDest: request_0.executionDest };
|
|
1615
1677
|
return this._calculateRequestIdV1_0(preimage_0);
|
|
1616
1678
|
}
|
|
1679
|
+
_calculateTronRequestIdV1_2(request_0) {
|
|
1680
|
+
__compactRuntime.assert(request_0.txParamType === 1,
|
|
1681
|
+
'txParamType must tag txParams as tron');
|
|
1682
|
+
const preimage_0 = { keyVersion: request_0.keyVersion,
|
|
1683
|
+
sender: request_0.sender,
|
|
1684
|
+
path: request_0.path,
|
|
1685
|
+
algo: request_0.algo,
|
|
1686
|
+
txParamType: request_0.txParamType,
|
|
1687
|
+
txParamsDigest:
|
|
1688
|
+
this._calculateTronTxParamsDigestV1_0(request_0.txParams),
|
|
1689
|
+
executionDest: request_0.executionDest };
|
|
1690
|
+
return this._calculateRequestIdV1_0(preimage_0);
|
|
1691
|
+
}
|
|
1692
|
+
_calculateTronRequestIdV1_3(request_0) {
|
|
1693
|
+
__compactRuntime.assert(request_0.txParamType === 1,
|
|
1694
|
+
'txParamType must tag txParams as tron');
|
|
1695
|
+
const preimage_0 = { keyVersion: request_0.keyVersion,
|
|
1696
|
+
sender: request_0.sender,
|
|
1697
|
+
path: request_0.path,
|
|
1698
|
+
algo: request_0.algo,
|
|
1699
|
+
txParamType: request_0.txParamType,
|
|
1700
|
+
txParamsDigest:
|
|
1701
|
+
this._calculateTronTxParamsDigestV1_1(request_0.txParams),
|
|
1702
|
+
executionDest: request_0.executionDest };
|
|
1703
|
+
return this._calculateRequestIdV1_0(preimage_0);
|
|
1704
|
+
}
|
|
1617
1705
|
_evmAddressAbiWord_0(addr_0) {
|
|
1618
1706
|
return Uint8Array.from([...Array.from(new Uint8Array(12), BigInt),
|
|
1619
1707
|
...Array.from(addr_0, BigInt)],
|
|
@@ -1622,7 +1710,7 @@ export class Contract {
|
|
|
1622
1710
|
_numericAbiWord_0(value_0) {
|
|
1623
1711
|
const le_0 = Array.from(__compactRuntime.convertBigintToBytes(16,
|
|
1624
1712
|
value_0,
|
|
1625
|
-
'Signet.compact line
|
|
1713
|
+
'Signet.compact line 770 char 17'),
|
|
1626
1714
|
BigInt);
|
|
1627
1715
|
return Uint8Array.from([...Array.from(new Uint8Array(16), BigInt),
|
|
1628
1716
|
le_0[15],
|
|
@@ -1704,7 +1792,7 @@ export class Contract {
|
|
|
1704
1792
|
v_0[31]);
|
|
1705
1793
|
return ((t1) => {
|
|
1706
1794
|
if (t1 > 340282366920938463463374607431768211455n) {
|
|
1707
|
-
throw new __compactRuntime.CompactError('Signet.compact line
|
|
1795
|
+
throw new __compactRuntime.CompactError('Signet.compact line 822 char 12: cast from Field or Uint value to smaller Uint value failed: ' + t1 + ' is greater than 340282366920938463463374607431768211455');
|
|
1708
1796
|
}
|
|
1709
1797
|
return t1;
|
|
1710
1798
|
})(b15_0);
|
|
@@ -1716,7 +1804,7 @@ export class Contract {
|
|
|
1716
1804
|
32,
|
|
1717
1805
|
x_0,
|
|
1718
1806
|
'Uint<0..340282366920938463463374607431768211456>',
|
|
1719
|
-
'Signet.compact line
|
|
1807
|
+
'Signet.compact line 833 char 12');
|
|
1720
1808
|
}
|
|
1721
1809
|
_abiWordToBool_0(word_0) {
|
|
1722
1810
|
__compactRuntime.assert(__compactRuntime.convertBytesToUint(52435875175126190479447740508185965837690552500527637822603658699938581184512n,
|
|
@@ -1724,7 +1812,7 @@ export class Contract {
|
|
|
1724
1812
|
((e, i) => e.slice(i, i+31))(word_0,
|
|
1725
1813
|
Number(0n)),
|
|
1726
1814
|
'Field',
|
|
1727
|
-
'Signet.compact line
|
|
1815
|
+
'Signet.compact line 839 char 12')
|
|
1728
1816
|
===
|
|
1729
1817
|
0n,
|
|
1730
1818
|
'ABI word is not a canonical Boolean');
|
|
@@ -1733,7 +1821,7 @@ export class Contract {
|
|
|
1733
1821
|
((e, i) => e.slice(i, i+1))(word_0,
|
|
1734
1822
|
Number(31n)),
|
|
1735
1823
|
'Field',
|
|
1736
|
-
'Signet.compact line
|
|
1824
|
+
'Signet.compact line 840 char 18');
|
|
1737
1825
|
__compactRuntime.assert(last_0 === 0n || last_0 === 1n,
|
|
1738
1826
|
'ABI word is not a canonical Boolean');
|
|
1739
1827
|
return last_0 === 1n;
|
|
@@ -1821,6 +1909,12 @@ export class Contract {
|
|
|
1821
1909
|
_calculateTronRequestIdV1_2_0_0(request_0) {
|
|
1822
1910
|
return this._calculateTronRequestIdV1_1(request_0);
|
|
1823
1911
|
}
|
|
1912
|
+
_calculateTronRequestIdV1_1_34_0(request_0) {
|
|
1913
|
+
return this._calculateTronRequestIdV1_2(request_0);
|
|
1914
|
+
}
|
|
1915
|
+
_calculateTronRequestIdV1_2_34_0(request_0) {
|
|
1916
|
+
return this._calculateTronRequestIdV1_3(request_0);
|
|
1917
|
+
}
|
|
1824
1918
|
_equal_0(x0, y0) {
|
|
1825
1919
|
if (x0.identity) { return y0.identity; }
|
|
1826
1920
|
if (y0.identity || x0.x != y0.x || x0.y != y0.y) {
|
|
@@ -1859,6 +1953,10 @@ export class Contract {
|
|
|
1859
1953
|
if (!x0.every((x, i) => y0[i] === x)) { return false; }
|
|
1860
1954
|
return true;
|
|
1861
1955
|
}
|
|
1956
|
+
_equal_8(x0, y0) {
|
|
1957
|
+
if (!x0.every((x, i) => y0[i] === x)) { return false; }
|
|
1958
|
+
return true;
|
|
1959
|
+
}
|
|
1862
1960
|
_folder_0(f, x, a0) {
|
|
1863
1961
|
for (let i = 0; i < 0; i++) { x = f(x, a0[i]); }
|
|
1864
1962
|
return x;
|
|
@@ -1929,7 +2027,7 @@ export const pureCircuits = {
|
|
|
1929
2027
|
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)) {
|
|
1930
2028
|
__compactRuntime.typeError('calculateRequestIdV1',
|
|
1931
2029
|
'argument 1',
|
|
1932
|
-
'Signet.compact line
|
|
2030
|
+
'Signet.compact line 235 char 3',
|
|
1933
2031
|
'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>>',
|
|
1934
2032
|
preimage_0)
|
|
1935
2033
|
}
|
|
@@ -1945,21 +2043,21 @@ export const pureCircuits = {
|
|
|
1945
2043
|
if (!(typeof(callerAddress_0) === 'object' && callerAddress_0.bytes.buffer instanceof ArrayBuffer && callerAddress_0.bytes.BYTES_PER_ELEMENT === 1 && callerAddress_0.bytes.length === 32)) {
|
|
1946
2044
|
__compactRuntime.typeError('constructSignBidirectionalEventNotificationV1',
|
|
1947
2045
|
'argument 1',
|
|
1948
|
-
'Signet.compact line
|
|
2046
|
+
'Signet.compact line 286 char 3',
|
|
1949
2047
|
'struct ContractAddress<bytes: Bytes<32>>',
|
|
1950
2048
|
callerAddress_0)
|
|
1951
2049
|
}
|
|
1952
2050
|
if (!(typeof(requestsPathDepth_0) === 'bigint' && requestsPathDepth_0 >= 0n && requestsPathDepth_0 <= 255n)) {
|
|
1953
2051
|
__compactRuntime.typeError('constructSignBidirectionalEventNotificationV1',
|
|
1954
2052
|
'argument 2',
|
|
1955
|
-
'Signet.compact line
|
|
2053
|
+
'Signet.compact line 286 char 3',
|
|
1956
2054
|
'Uint<0..256>',
|
|
1957
2055
|
requestsPathDepth_0)
|
|
1958
2056
|
}
|
|
1959
2057
|
if (!(Array.isArray(requestsPath_0) && requestsPath_0.length === 4 && requestsPath_0.every((t) => typeof(t) === 'bigint' && t >= 0n && t <= 255n))) {
|
|
1960
2058
|
__compactRuntime.typeError('constructSignBidirectionalEventNotificationV1',
|
|
1961
2059
|
'argument 3',
|
|
1962
|
-
'Signet.compact line
|
|
2060
|
+
'Signet.compact line 286 char 3',
|
|
1963
2061
|
'Vector<4, Uint<0..256>>',
|
|
1964
2062
|
requestsPath_0)
|
|
1965
2063
|
}
|
|
@@ -1979,35 +2077,35 @@ export const pureCircuits = {
|
|
|
1979
2077
|
if (!(requestId_0.buffer instanceof ArrayBuffer && requestId_0.BYTES_PER_ELEMENT === 1 && requestId_0.length === 32)) {
|
|
1980
2078
|
__compactRuntime.typeError('calculateSignetAttestationDigestV1',
|
|
1981
2079
|
'argument 1',
|
|
1982
|
-
'Signet.compact line
|
|
2080
|
+
'Signet.compact line 412 char 3',
|
|
1983
2081
|
'Bytes<32>',
|
|
1984
2082
|
requestId_0)
|
|
1985
2083
|
}
|
|
1986
2084
|
if (!(typeof(blockHeight_0) === 'bigint' && blockHeight_0 >= 0n && blockHeight_0 <= 18446744073709551615n)) {
|
|
1987
2085
|
__compactRuntime.typeError('calculateSignetAttestationDigestV1',
|
|
1988
2086
|
'argument 2',
|
|
1989
|
-
'Signet.compact line
|
|
2087
|
+
'Signet.compact line 412 char 3',
|
|
1990
2088
|
'Uint<0..18446744073709551616>',
|
|
1991
2089
|
blockHeight_0)
|
|
1992
2090
|
}
|
|
1993
2091
|
if (!(typeof(outputKind_0) === 'number' && outputKind_0 >= 0 && outputKind_0 <= 2)) {
|
|
1994
2092
|
__compactRuntime.typeError('calculateSignetAttestationDigestV1',
|
|
1995
2093
|
'argument 3',
|
|
1996
|
-
'Signet.compact line
|
|
2094
|
+
'Signet.compact line 412 char 3',
|
|
1997
2095
|
'Enum<OutputKind, executed, failed, unviable>',
|
|
1998
2096
|
outputKind_0)
|
|
1999
2097
|
}
|
|
2000
2098
|
if (!(typeof(serializedOutputLength_0) === 'bigint' && serializedOutputLength_0 >= 0n && serializedOutputLength_0 <= 18446744073709551615n)) {
|
|
2001
2099
|
__compactRuntime.typeError('calculateSignetAttestationDigestV1',
|
|
2002
2100
|
'argument 4',
|
|
2003
|
-
'Signet.compact line
|
|
2101
|
+
'Signet.compact line 412 char 3',
|
|
2004
2102
|
'Uint<0..18446744073709551616>',
|
|
2005
2103
|
serializedOutputLength_0)
|
|
2006
2104
|
}
|
|
2007
2105
|
if (!(outputHash_0.buffer instanceof ArrayBuffer && outputHash_0.BYTES_PER_ELEMENT === 1 && outputHash_0.length === 32)) {
|
|
2008
2106
|
__compactRuntime.typeError('calculateSignetAttestationDigestV1',
|
|
2009
2107
|
'argument 5',
|
|
2010
|
-
'Signet.compact line
|
|
2108
|
+
'Signet.compact line 412 char 3',
|
|
2011
2109
|
'Bytes<32>',
|
|
2012
2110
|
outputHash_0)
|
|
2013
2111
|
}
|
|
@@ -2026,14 +2124,14 @@ export const pureCircuits = {
|
|
|
2026
2124
|
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)) {
|
|
2027
2125
|
__compactRuntime.typeError('verifyRespondBidirectionalAttestationV1',
|
|
2028
2126
|
'argument 1',
|
|
2029
|
-
'Signet.compact line
|
|
2127
|
+
'Signet.compact line 444 char 3',
|
|
2030
2128
|
'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>>>',
|
|
2031
2129
|
respondBidirectionalEvent_0)
|
|
2032
2130
|
}
|
|
2033
2131
|
if (!(__compactRuntime.isValidSecp256k1Point(mpcResponseKey_0))) {
|
|
2034
2132
|
__compactRuntime.typeError('verifyRespondBidirectionalAttestationV1',
|
|
2035
2133
|
'argument 2',
|
|
2036
|
-
'Signet.compact line
|
|
2134
|
+
'Signet.compact line 444 char 3',
|
|
2037
2135
|
'Secp256k1Point',
|
|
2038
2136
|
mpcResponseKey_0)
|
|
2039
2137
|
}
|
|
@@ -2060,7 +2158,7 @@ export const pureCircuits = {
|
|
|
2060
2158
|
if (!(evmAddress_0.buffer instanceof ArrayBuffer && evmAddress_0.BYTES_PER_ELEMENT === 1 && evmAddress_0.length === 20)) {
|
|
2061
2159
|
__compactRuntime.typeError('tronAddress',
|
|
2062
2160
|
'argument 1',
|
|
2063
|
-
'Signet.compact line
|
|
2161
|
+
'Signet.compact line 690 char 3',
|
|
2064
2162
|
'Bytes<20>',
|
|
2065
2163
|
evmAddress_0)
|
|
2066
2164
|
}
|
|
@@ -2074,7 +2172,7 @@ export const pureCircuits = {
|
|
|
2074
2172
|
if (!(addr_0.buffer instanceof ArrayBuffer && addr_0.BYTES_PER_ELEMENT === 1 && addr_0.length === 20)) {
|
|
2075
2173
|
__compactRuntime.typeError('evmAddressAbiWord',
|
|
2076
2174
|
'argument 1',
|
|
2077
|
-
'Signet.compact line
|
|
2175
|
+
'Signet.compact line 761 char 3',
|
|
2078
2176
|
'Bytes<20>',
|
|
2079
2177
|
addr_0)
|
|
2080
2178
|
}
|
|
@@ -2088,7 +2186,7 @@ export const pureCircuits = {
|
|
|
2088
2186
|
if (!(typeof(value_0) === 'bigint' && value_0 >= 0n && value_0 <= 340282366920938463463374607431768211455n)) {
|
|
2089
2187
|
__compactRuntime.typeError('numericAbiWord',
|
|
2090
2188
|
'argument 1',
|
|
2091
|
-
'Signet.compact line
|
|
2189
|
+
'Signet.compact line 767 char 3',
|
|
2092
2190
|
'Uint<0..340282366920938463463374607431768211456>',
|
|
2093
2191
|
value_0)
|
|
2094
2192
|
}
|
|
@@ -2102,7 +2200,7 @@ export const pureCircuits = {
|
|
|
2102
2200
|
if (!(typeof(value_0) === 'boolean')) {
|
|
2103
2201
|
__compactRuntime.typeError('boolAbiWord',
|
|
2104
2202
|
'argument 1',
|
|
2105
|
-
'Signet.compact line
|
|
2203
|
+
'Signet.compact line 780 char 3',
|
|
2106
2204
|
'Boolean',
|
|
2107
2205
|
value_0)
|
|
2108
2206
|
}
|
|
@@ -2116,7 +2214,7 @@ export const pureCircuits = {
|
|
|
2116
2214
|
if (!(word_0.buffer instanceof ArrayBuffer && word_0.BYTES_PER_ELEMENT === 1 && word_0.length === 32)) {
|
|
2117
2215
|
__compactRuntime.typeError('abiWordToUint128',
|
|
2118
2216
|
'argument 1',
|
|
2119
|
-
'Signet.compact line
|
|
2217
|
+
'Signet.compact line 788 char 3',
|
|
2120
2218
|
'Bytes<32>',
|
|
2121
2219
|
word_0)
|
|
2122
2220
|
}
|
|
@@ -2130,7 +2228,7 @@ export const pureCircuits = {
|
|
|
2130
2228
|
if (!(x_0.buffer instanceof ArrayBuffer && x_0.BYTES_PER_ELEMENT === 1 && x_0.length === 32)) {
|
|
2131
2229
|
__compactRuntime.typeError('checkedTruncationU128',
|
|
2132
2230
|
'argument 1',
|
|
2133
|
-
'Signet.compact line
|
|
2231
|
+
'Signet.compact line 829 char 3',
|
|
2134
2232
|
'Bytes<32>',
|
|
2135
2233
|
x_0)
|
|
2136
2234
|
}
|
|
@@ -2144,7 +2242,7 @@ export const pureCircuits = {
|
|
|
2144
2242
|
if (!(word_0.buffer instanceof ArrayBuffer && word_0.BYTES_PER_ELEMENT === 1 && word_0.length === 32)) {
|
|
2145
2243
|
__compactRuntime.typeError('abiWordToBool',
|
|
2146
2244
|
'argument 1',
|
|
2147
|
-
'Signet.compact line
|
|
2245
|
+
'Signet.compact line 838 char 3',
|
|
2148
2246
|
'Bytes<32>',
|
|
2149
2247
|
word_0)
|
|
2150
2248
|
}
|
|
@@ -2473,6 +2571,34 @@ export const pureCircuits = {
|
|
|
2473
2571
|
request_0)
|
|
2474
2572
|
}
|
|
2475
2573
|
return _dummyContract._calculateTronRequestIdV1_2_0_0(request_0);
|
|
2574
|
+
},
|
|
2575
|
+
calculateTronRequestIdV1_1_34: (...args_0) => {
|
|
2576
|
+
if (args_0.length !== 1) {
|
|
2577
|
+
throw new __compactRuntime.CompactError(`calculateTronRequestIdV1_1_34: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
|
|
2578
|
+
}
|
|
2579
|
+
const request_0 = args_0[0];
|
|
2580
|
+
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)) {
|
|
2581
|
+
__compactRuntime.typeError('calculateTronRequestIdV1_1_34',
|
|
2582
|
+
'argument 1',
|
|
2583
|
+
'circuits.compact line 184 char 1',
|
|
2584
|
+
'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>>',
|
|
2585
|
+
request_0)
|
|
2586
|
+
}
|
|
2587
|
+
return _dummyContract._calculateTronRequestIdV1_1_34_0(request_0);
|
|
2588
|
+
},
|
|
2589
|
+
calculateTronRequestIdV1_2_34: (...args_0) => {
|
|
2590
|
+
if (args_0.length !== 1) {
|
|
2591
|
+
throw new __compactRuntime.CompactError(`calculateTronRequestIdV1_2_34: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
|
|
2592
|
+
}
|
|
2593
|
+
const request_0 = args_0[0];
|
|
2594
|
+
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)) {
|
|
2595
|
+
__compactRuntime.typeError('calculateTronRequestIdV1_2_34',
|
|
2596
|
+
'argument 1',
|
|
2597
|
+
'circuits.compact line 190 char 1',
|
|
2598
|
+
'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>>',
|
|
2599
|
+
request_0)
|
|
2600
|
+
}
|
|
2601
|
+
return _dummyContract._calculateTronRequestIdV1_2_34_0(request_0);
|
|
2476
2602
|
}
|
|
2477
2603
|
};
|
|
2478
2604
|
export const expectedVk = {};
|
|
@@ -2509,6 +2635,8 @@ export const circuitSignatures = {
|
|
|
2509
2635
|
'calculateTronTxParamsDigestV1_2': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'TronTxParams', elements: [{name: 'refBlockBytes', type: {tag: 'Bytes', length: 2}}, {name: 'refBlockHash', type: {tag: 'Bytes', length: 8}}, {name: 'timestamp', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'expiration', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'feeLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'contractAddress', type: {tag: 'Bytes', length: 21}}, {name: 'callValue', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}]}}]}], resultType: {tag: 'Bytes', length: 32}},
|
|
2510
2636
|
'calculateTronRequestIdV1_1_0': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tron']}}, {name: 'txParams', type: {tag: 'Struct', name: 'TronTxParams', elements: [{name: 'refBlockBytes', type: {tag: 'Bytes', length: 2}}, {name: 'refBlockHash', type: {tag: 'Bytes', length: 8}}, {name: 'timestamp', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'expiration', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'feeLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'contractAddress', type: {tag: 'Bytes', length: 21}}, {name: 'callValue', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 0}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
|
|
2511
2637
|
'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}}},
|
|
2638
|
+
'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}}},
|
|
2639
|
+
'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}}},
|
|
2512
2640
|
};
|
|
2513
2641
|
|
|
2514
2642
|
export const declaredInterfaces = {};
|