@sig-net/midnight 0.27.0-rc.4 → 0.27.0-rc.6
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/dist/abi-serde.d.ts +18 -0
- package/dist/abi-serde.d.ts.map +1 -1
- package/dist/abi-serde.js +28 -0
- package/dist/abi-serde.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/managed/compiler/contract-info.json +202 -21
- package/dist/managed/compiler/contract-manifest.json +16 -8
- package/dist/managed/contract/index.d.ts +320 -264
- package/dist/managed/contract/index.js +596 -392
- package/dist/managed/contract/index.js.map +2 -2
- package/dist/managed/zkir/assertTronExpirationWindowV1.zkir +63 -0
- package/dist/signature-requests-state-reader.js +3 -3
- package/dist/signature-requests-state-reader.js.map +1 -1
- package/dist/signet-request-id.js +5 -5
- package/dist/signet-request-id.js.map +1 -1
- package/dist/signet-request-response-reader.d.ts +2 -2
- package/dist/signet-request-response-reader.d.ts.map +1 -1
- package/dist/signet-request-response-reader.js +4 -4
- package/dist/signet-request-response-reader.js.map +1 -1
- package/dist/signet-requests.d.ts +5 -5
- package/dist/signet-requests.d.ts.map +1 -1
- package/dist/signet-requests.js +3 -3
- package/dist/signet-requests.js.map +1 -1
- package/dist/signet-tron-record-decoding.d.ts +2 -2
- package/dist/signet-tron-record-decoding.d.ts.map +1 -1
- package/dist/signet-tron-record-decoding.js +2 -2
- package/dist/signet-tron-record-decoding.js.map +1 -1
- package/dist/signet-tron-requests.d.ts +7 -7
- package/dist/signet-tron-requests.d.ts.map +1 -1
- package/dist/signet-tron-requests.js +11 -7
- package/dist/signet-tron-requests.js.map +1 -1
- package/dist/tron-node-api.d.ts +83 -0
- package/dist/tron-node-api.d.ts.map +1 -0
- package/dist/tron-node-api.js +134 -0
- package/dist/tron-node-api.js.map +1 -0
- package/dist/tron-transactions.d.ts +23 -2
- package/dist/tron-transactions.d.ts.map +1 -1
- package/dist/tron-transactions.js +19 -0
- package/dist/tron-transactions.js.map +1 -1
- package/package.json +2 -2
- package/src/Signet.compact +79 -12
- package/src/circuits.compact +29 -18
|
@@ -7,8 +7,8 @@ export enum HashDomain { requestId = 0,
|
|
|
7
7
|
evmType2TxAccessEntry = 4,
|
|
8
8
|
evmType2TxStorageKey = 5,
|
|
9
9
|
attestedOutput = 6,
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
tronTriggerSmartContractTxHeader = 7,
|
|
11
|
+
tronTriggerSmartContractTxWord = 8
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export enum OutputKind { executed = 0, failed = 1, unviable = 2 }
|
|
@@ -17,9 +17,19 @@ export type Witnesses<PS> = {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export type ImpureCircuits<PS> = {
|
|
20
|
+
assertTronExpirationWindowV1(context: __compactRuntime.CircuitContext<PS>,
|
|
21
|
+
expiration_0: bigint,
|
|
22
|
+
expirationSeconds_0: bigint,
|
|
23
|
+
minRemainingSeconds_0: bigint,
|
|
24
|
+
capMarginSeconds_0: bigint): Promise<__compactRuntime.CircuitResults<PS, []>>;
|
|
20
25
|
}
|
|
21
26
|
|
|
22
27
|
export type ProvableCircuits<PS> = {
|
|
28
|
+
assertTronExpirationWindowV1(context: __compactRuntime.CircuitContext<PS>,
|
|
29
|
+
expiration_0: bigint,
|
|
30
|
+
expirationSeconds_0: bigint,
|
|
31
|
+
minRemainingSeconds_0: bigint,
|
|
32
|
+
capMarginSeconds_0: bigint): Promise<__compactRuntime.CircuitResults<PS, []>>;
|
|
23
33
|
}
|
|
24
34
|
|
|
25
35
|
export type PureCircuits = {
|
|
@@ -59,6 +69,8 @@ export type PureCircuits = {
|
|
|
59
69
|
ethereumCaip2Id(): Uint8Array;
|
|
60
70
|
tronCaip2Id(): Uint8Array;
|
|
61
71
|
tronAddress(evmAddress_0: Uint8Array): Uint8Array;
|
|
72
|
+
tronInt64Max(): bigint;
|
|
73
|
+
tronMaxExpirationSpanSeconds(): bigint;
|
|
62
74
|
evmAddressAbiWord(addr_0: Uint8Array): Uint8Array;
|
|
63
75
|
numericAbiWord(value_0: bigint): Uint8Array;
|
|
64
76
|
boolAbiWord(value_0: boolean): Uint8Array;
|
|
@@ -267,134 +279,152 @@ export type PureCircuits = {
|
|
|
267
279
|
outputDeserializationSchema: Uint8Array,
|
|
268
280
|
respondSerializationSchema: Uint8Array
|
|
269
281
|
};
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
282
|
+
calculateTronTriggerSmartContractTxParamsDigestV1_1(txParams_0: { refBlockBytes: Uint8Array,
|
|
283
|
+
refBlockHash: Uint8Array,
|
|
284
|
+
timestamp: bigint,
|
|
285
|
+
expiration: bigint,
|
|
286
|
+
feeLimit: bigint,
|
|
287
|
+
contractAddress: Uint8Array,
|
|
288
|
+
callValue: bigint,
|
|
289
|
+
calldata: { is_some: boolean,
|
|
290
|
+
value: { selector: Uint8Array,
|
|
291
|
+
noWords: bigint,
|
|
292
|
+
words: Uint8Array[]
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}): Uint8Array;
|
|
296
|
+
calculateTronTriggerSmartContractTxParamsDigestV1_2(txParams_0: { refBlockBytes: Uint8Array,
|
|
297
|
+
refBlockHash: Uint8Array,
|
|
298
|
+
timestamp: bigint,
|
|
299
|
+
expiration: bigint,
|
|
300
|
+
feeLimit: bigint,
|
|
301
|
+
contractAddress: Uint8Array,
|
|
302
|
+
callValue: bigint,
|
|
303
|
+
calldata: { is_some: boolean,
|
|
304
|
+
value: { selector: Uint8Array,
|
|
305
|
+
noWords: bigint,
|
|
306
|
+
words: Uint8Array[]
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}): Uint8Array;
|
|
310
|
+
calculateTronTriggerSmartContractRequestIdV1_1_0(request_0: { keyVersion: bigint,
|
|
311
|
+
sender: { bytes: Uint8Array
|
|
312
|
+
},
|
|
313
|
+
path: Uint8Array,
|
|
314
|
+
algo: number,
|
|
315
|
+
txParamType: number,
|
|
316
|
+
txParams: { refBlockBytes: Uint8Array,
|
|
317
|
+
refBlockHash: Uint8Array,
|
|
318
|
+
timestamp: bigint,
|
|
319
|
+
expiration: bigint,
|
|
320
|
+
feeLimit: bigint,
|
|
321
|
+
contractAddress: Uint8Array,
|
|
322
|
+
callValue: bigint,
|
|
323
|
+
calldata: { is_some: boolean,
|
|
324
|
+
value: { selector: Uint8Array,
|
|
325
|
+
noWords: bigint,
|
|
326
|
+
words: Uint8Array[]
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
executionDest: Uint8Array,
|
|
331
|
+
signatureDest: number,
|
|
332
|
+
params: Uint8Array,
|
|
333
|
+
outputDeserializationSchema: Uint8Array,
|
|
334
|
+
respondSerializationSchema: Uint8Array
|
|
335
|
+
}): Uint8Array;
|
|
336
|
+
calculateTronTriggerSmartContractRequestIdV1_2_0(request_0: { keyVersion: bigint,
|
|
337
|
+
sender: { bytes: Uint8Array
|
|
338
|
+
},
|
|
339
|
+
path: Uint8Array,
|
|
340
|
+
algo: number,
|
|
341
|
+
txParamType: number,
|
|
342
|
+
txParams: { refBlockBytes: Uint8Array,
|
|
343
|
+
refBlockHash: Uint8Array,
|
|
344
|
+
timestamp: bigint,
|
|
345
|
+
expiration: bigint,
|
|
346
|
+
feeLimit: bigint,
|
|
347
|
+
contractAddress: Uint8Array,
|
|
348
|
+
callValue: bigint,
|
|
349
|
+
calldata: { is_some: boolean,
|
|
350
|
+
value: { selector: Uint8Array,
|
|
351
|
+
noWords: bigint,
|
|
352
|
+
words: Uint8Array[]
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
executionDest: Uint8Array,
|
|
357
|
+
signatureDest: number,
|
|
358
|
+
params: Uint8Array,
|
|
359
|
+
outputDeserializationSchema: Uint8Array,
|
|
360
|
+
respondSerializationSchema: Uint8Array
|
|
361
|
+
}): Uint8Array;
|
|
362
|
+
calculateTronTriggerSmartContractRequestIdV1_1_34(request_0: { keyVersion: bigint,
|
|
363
|
+
sender: { bytes: Uint8Array
|
|
364
|
+
},
|
|
365
|
+
path: Uint8Array,
|
|
366
|
+
algo: number,
|
|
367
|
+
txParamType: number,
|
|
368
|
+
txParams: { refBlockBytes: Uint8Array,
|
|
369
|
+
refBlockHash: Uint8Array,
|
|
370
|
+
timestamp: bigint,
|
|
371
|
+
expiration: bigint,
|
|
372
|
+
feeLimit: bigint,
|
|
373
|
+
contractAddress: Uint8Array,
|
|
374
|
+
callValue: bigint,
|
|
375
|
+
calldata: { is_some: boolean,
|
|
376
|
+
value: { selector: Uint8Array,
|
|
377
|
+
noWords: bigint,
|
|
378
|
+
words: Uint8Array[]
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
executionDest: Uint8Array,
|
|
383
|
+
signatureDest: number,
|
|
384
|
+
params: Uint8Array,
|
|
385
|
+
outputDeserializationSchema: Uint8Array,
|
|
386
|
+
respondSerializationSchema: Uint8Array
|
|
387
|
+
}): Uint8Array;
|
|
388
|
+
calculateTronTriggerSmartContractRequestIdV1_2_34(request_0: { keyVersion: bigint,
|
|
389
|
+
sender: { bytes: Uint8Array
|
|
390
|
+
},
|
|
391
|
+
path: Uint8Array,
|
|
392
|
+
algo: number,
|
|
393
|
+
txParamType: number,
|
|
394
|
+
txParams: { refBlockBytes: Uint8Array,
|
|
395
|
+
refBlockHash: Uint8Array,
|
|
396
|
+
timestamp: bigint,
|
|
397
|
+
expiration: bigint,
|
|
398
|
+
feeLimit: bigint,
|
|
399
|
+
contractAddress: Uint8Array,
|
|
400
|
+
callValue: bigint,
|
|
401
|
+
calldata: { is_some: boolean,
|
|
402
|
+
value: { selector: Uint8Array,
|
|
403
|
+
noWords: bigint,
|
|
404
|
+
words: Uint8Array[]
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
executionDest: Uint8Array,
|
|
409
|
+
signatureDest: number,
|
|
410
|
+
params: Uint8Array,
|
|
411
|
+
outputDeserializationSchema: Uint8Array,
|
|
412
|
+
respondSerializationSchema: Uint8Array
|
|
413
|
+
}): Uint8Array;
|
|
414
|
+
assertTronTriggerSmartContractTxParamsV1_2(txParams_0: { refBlockBytes: Uint8Array,
|
|
415
|
+
refBlockHash: Uint8Array,
|
|
416
|
+
timestamp: bigint,
|
|
417
|
+
expiration: bigint,
|
|
418
|
+
feeLimit: bigint,
|
|
419
|
+
contractAddress: Uint8Array,
|
|
420
|
+
callValue: bigint,
|
|
421
|
+
calldata: { is_some: boolean,
|
|
422
|
+
value: { selector: Uint8Array,
|
|
423
|
+
noWords: bigint,
|
|
424
|
+
words: Uint8Array[]
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
}): [];
|
|
398
428
|
}
|
|
399
429
|
|
|
400
430
|
export type Circuits<PS> = {
|
|
@@ -439,6 +469,13 @@ export type Circuits<PS> = {
|
|
|
439
469
|
tronCaip2Id(context: __compactRuntime.CircuitContext<PS>): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
440
470
|
tronAddress(context: __compactRuntime.CircuitContext<PS>,
|
|
441
471
|
evmAddress_0: Uint8Array): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
472
|
+
tronInt64Max(context: __compactRuntime.CircuitContext<PS>): Promise<__compactRuntime.CircuitResults<PS, bigint>>;
|
|
473
|
+
tronMaxExpirationSpanSeconds(context: __compactRuntime.CircuitContext<PS>): Promise<__compactRuntime.CircuitResults<PS, bigint>>;
|
|
474
|
+
assertTronExpirationWindowV1(context: __compactRuntime.CircuitContext<PS>,
|
|
475
|
+
expiration_0: bigint,
|
|
476
|
+
expirationSeconds_0: bigint,
|
|
477
|
+
minRemainingSeconds_0: bigint,
|
|
478
|
+
capMarginSeconds_0: bigint): Promise<__compactRuntime.CircuitResults<PS, []>>;
|
|
442
479
|
evmAddressAbiWord(context: __compactRuntime.CircuitContext<PS>,
|
|
443
480
|
addr_0: Uint8Array): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
444
481
|
numericAbiWord(context: __compactRuntime.CircuitContext<PS>, value_0: bigint): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
@@ -664,140 +701,159 @@ export type Circuits<PS> = {
|
|
|
664
701
|
outputDeserializationSchema: Uint8Array,
|
|
665
702
|
respondSerializationSchema: Uint8Array
|
|
666
703
|
}>>;
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
704
|
+
calculateTronTriggerSmartContractTxParamsDigestV1_1(context: __compactRuntime.CircuitContext<PS>,
|
|
705
|
+
txParams_0: { refBlockBytes: Uint8Array,
|
|
706
|
+
refBlockHash: Uint8Array,
|
|
707
|
+
timestamp: bigint,
|
|
708
|
+
expiration: bigint,
|
|
709
|
+
feeLimit: bigint,
|
|
710
|
+
contractAddress: Uint8Array,
|
|
711
|
+
callValue: bigint,
|
|
712
|
+
calldata: { is_some: boolean,
|
|
713
|
+
value: { selector: Uint8Array,
|
|
714
|
+
noWords: bigint,
|
|
715
|
+
words: Uint8Array[]
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
}): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
719
|
+
calculateTronTriggerSmartContractTxParamsDigestV1_2(context: __compactRuntime.CircuitContext<PS>,
|
|
720
|
+
txParams_0: { refBlockBytes: Uint8Array,
|
|
721
|
+
refBlockHash: Uint8Array,
|
|
722
|
+
timestamp: bigint,
|
|
723
|
+
expiration: bigint,
|
|
724
|
+
feeLimit: bigint,
|
|
725
|
+
contractAddress: Uint8Array,
|
|
726
|
+
callValue: bigint,
|
|
727
|
+
calldata: { is_some: boolean,
|
|
728
|
+
value: { selector: Uint8Array,
|
|
729
|
+
noWords: bigint,
|
|
730
|
+
words: Uint8Array[]
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
}): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
734
|
+
calculateTronTriggerSmartContractRequestIdV1_1_0(context: __compactRuntime.CircuitContext<PS>,
|
|
735
|
+
request_0: { keyVersion: bigint,
|
|
736
|
+
sender: { bytes: Uint8Array
|
|
737
|
+
},
|
|
738
|
+
path: Uint8Array,
|
|
739
|
+
algo: number,
|
|
740
|
+
txParamType: number,
|
|
741
|
+
txParams: { refBlockBytes: Uint8Array,
|
|
742
|
+
refBlockHash: Uint8Array,
|
|
743
|
+
timestamp: bigint,
|
|
744
|
+
expiration: bigint,
|
|
745
|
+
feeLimit: bigint,
|
|
746
|
+
contractAddress: Uint8Array,
|
|
747
|
+
callValue: bigint,
|
|
748
|
+
calldata: { is_some: boolean,
|
|
749
|
+
value: { selector: Uint8Array,
|
|
750
|
+
noWords: bigint,
|
|
751
|
+
words: Uint8Array[]
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
executionDest: Uint8Array,
|
|
756
|
+
signatureDest: number,
|
|
757
|
+
params: Uint8Array,
|
|
758
|
+
outputDeserializationSchema: Uint8Array,
|
|
759
|
+
respondSerializationSchema: Uint8Array
|
|
760
|
+
}): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
761
|
+
calculateTronTriggerSmartContractRequestIdV1_2_0(context: __compactRuntime.CircuitContext<PS>,
|
|
762
|
+
request_0: { keyVersion: bigint,
|
|
763
|
+
sender: { bytes: Uint8Array
|
|
764
|
+
},
|
|
765
|
+
path: Uint8Array,
|
|
766
|
+
algo: number,
|
|
767
|
+
txParamType: number,
|
|
768
|
+
txParams: { refBlockBytes: Uint8Array,
|
|
769
|
+
refBlockHash: Uint8Array,
|
|
770
|
+
timestamp: bigint,
|
|
771
|
+
expiration: bigint,
|
|
772
|
+
feeLimit: bigint,
|
|
773
|
+
contractAddress: Uint8Array,
|
|
774
|
+
callValue: bigint,
|
|
775
|
+
calldata: { is_some: boolean,
|
|
776
|
+
value: { selector: Uint8Array,
|
|
777
|
+
noWords: bigint,
|
|
778
|
+
words: Uint8Array[]
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
executionDest: Uint8Array,
|
|
783
|
+
signatureDest: number,
|
|
784
|
+
params: Uint8Array,
|
|
785
|
+
outputDeserializationSchema: Uint8Array,
|
|
786
|
+
respondSerializationSchema: Uint8Array
|
|
787
|
+
}): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
788
|
+
calculateTronTriggerSmartContractRequestIdV1_1_34(context: __compactRuntime.CircuitContext<PS>,
|
|
789
|
+
request_0: { keyVersion: bigint,
|
|
790
|
+
sender: { bytes: Uint8Array
|
|
791
|
+
},
|
|
792
|
+
path: Uint8Array,
|
|
793
|
+
algo: number,
|
|
794
|
+
txParamType: number,
|
|
795
|
+
txParams: { refBlockBytes: Uint8Array,
|
|
796
|
+
refBlockHash: Uint8Array,
|
|
797
|
+
timestamp: bigint,
|
|
798
|
+
expiration: bigint,
|
|
799
|
+
feeLimit: bigint,
|
|
800
|
+
contractAddress: Uint8Array,
|
|
801
|
+
callValue: bigint,
|
|
802
|
+
calldata: { is_some: boolean,
|
|
803
|
+
value: { selector: Uint8Array,
|
|
804
|
+
noWords: bigint,
|
|
805
|
+
words: Uint8Array[]
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
},
|
|
809
|
+
executionDest: Uint8Array,
|
|
810
|
+
signatureDest: number,
|
|
811
|
+
params: Uint8Array,
|
|
812
|
+
outputDeserializationSchema: Uint8Array,
|
|
813
|
+
respondSerializationSchema: Uint8Array
|
|
814
|
+
}): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
815
|
+
calculateTronTriggerSmartContractRequestIdV1_2_34(context: __compactRuntime.CircuitContext<PS>,
|
|
816
|
+
request_0: { keyVersion: bigint,
|
|
817
|
+
sender: { bytes: Uint8Array
|
|
818
|
+
},
|
|
819
|
+
path: Uint8Array,
|
|
820
|
+
algo: number,
|
|
821
|
+
txParamType: number,
|
|
822
|
+
txParams: { refBlockBytes: Uint8Array,
|
|
823
|
+
refBlockHash: Uint8Array,
|
|
824
|
+
timestamp: bigint,
|
|
825
|
+
expiration: bigint,
|
|
826
|
+
feeLimit: bigint,
|
|
827
|
+
contractAddress: Uint8Array,
|
|
828
|
+
callValue: bigint,
|
|
829
|
+
calldata: { is_some: boolean,
|
|
830
|
+
value: { selector: Uint8Array,
|
|
831
|
+
noWords: bigint,
|
|
832
|
+
words: Uint8Array[]
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
},
|
|
836
|
+
executionDest: Uint8Array,
|
|
837
|
+
signatureDest: number,
|
|
838
|
+
params: Uint8Array,
|
|
839
|
+
outputDeserializationSchema: Uint8Array,
|
|
840
|
+
respondSerializationSchema: Uint8Array
|
|
841
|
+
}): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
842
|
+
assertTronTriggerSmartContractTxParamsV1_2(context: __compactRuntime.CircuitContext<PS>,
|
|
843
|
+
txParams_0: { refBlockBytes: Uint8Array,
|
|
844
|
+
refBlockHash: Uint8Array,
|
|
845
|
+
timestamp: bigint,
|
|
846
|
+
expiration: bigint,
|
|
847
|
+
feeLimit: bigint,
|
|
848
|
+
contractAddress: Uint8Array,
|
|
849
|
+
callValue: bigint,
|
|
850
|
+
calldata: { is_some: boolean,
|
|
851
|
+
value: { selector: Uint8Array,
|
|
852
|
+
noWords: bigint,
|
|
853
|
+
words: Uint8Array[]
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
}): Promise<__compactRuntime.CircuitResults<PS, []>>;
|
|
801
857
|
}
|
|
802
858
|
|
|
803
859
|
export type Ledger = {
|