@super-protocol/sdk-js 3.0.0-beta.13 → 3.0.0-beta.14
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/cjs/TeeInputGeneratorBase.js +4 -4
- package/dist/cjs/contracts/abi.d.ts +322 -781
- package/dist/cjs/contracts/abi.js +382 -974
- package/dist/cjs/models/TCB.d.ts +1 -2
- package/dist/cjs/models/TCB.js +8 -13
- package/dist/cjs/models/TeeOffer.js +1 -7
- package/dist/cjs/staticModels/Consensus.d.ts +8 -8
- package/dist/cjs/staticModels/Consensus.js +41 -34
- package/dist/cjs/tee/TeeBlockVerifier.d.ts +1 -2
- package/dist/cjs/tee/TeeBlockVerifier.js +4 -6
- package/dist/cjs/types/Consensus.d.ts +3 -1
- package/dist/cjs/types/Consensus.js +1 -1
- package/dist/cjs/types/Superpro.d.ts +1 -2
- package/dist/cjs/types/Superpro.js +2 -3
- package/dist/cjs/utils/helper.d.ts +0 -2
- package/dist/cjs/utils/helper.js +3 -18
- package/dist/mjs/TeeInputGeneratorBase.js +4 -4
- package/dist/mjs/contracts/abi.d.ts +322 -781
- package/dist/mjs/contracts/abi.js +380 -972
- package/dist/mjs/models/TCB.d.ts +1 -2
- package/dist/mjs/models/TCB.js +8 -13
- package/dist/mjs/models/TeeOffer.js +1 -7
- package/dist/mjs/staticModels/Consensus.d.ts +8 -8
- package/dist/mjs/staticModels/Consensus.js +42 -35
- package/dist/mjs/tee/TeeBlockVerifier.d.ts +1 -2
- package/dist/mjs/tee/TeeBlockVerifier.js +4 -6
- package/dist/mjs/types/Consensus.d.ts +3 -1
- package/dist/mjs/types/Consensus.js +1 -1
- package/dist/mjs/types/Superpro.d.ts +1 -2
- package/dist/mjs/types/Superpro.js +2 -3
- package/dist/mjs/utils/helper.d.ts +0 -2
- package/dist/mjs/utils/helper.js +2 -15
- package/package.json +1 -1
- package/dist/cjs/staticModels/ProviderRewards.d.ts +0 -17
- package/dist/cjs/staticModels/ProviderRewards.js +0 -82
- package/dist/mjs/staticModels/ProviderRewards.d.ts +0 -17
- package/dist/mjs/staticModels/ProviderRewards.js +0 -77
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const Approval: "Approval";
|
|
2
2
|
export declare const Transfer: "Transfer";
|
|
3
|
+
export declare const RewardsClaimed: "RewardsClaimed";
|
|
3
4
|
export declare const TcbBenchmarkChanged: "TcbBenchmarkChanged";
|
|
4
5
|
export declare const TcbCompleted: "TcbCompleted";
|
|
5
6
|
export declare const TcbInitialized: "TcbInitialized";
|
|
@@ -29,13 +30,11 @@ export declare const OrderOptionsChangeRequested: "OrderOptionsChangeRequested";
|
|
|
29
30
|
export declare const OrderOptionsChanged: "OrderOptionsChanged";
|
|
30
31
|
export declare const OrderSlotCountUpdateRequested: "OrderSlotCountUpdateRequested";
|
|
31
32
|
export declare const OrderSlotCountUpdated: "OrderSlotCountUpdated";
|
|
32
|
-
export declare const RewardsClaimed: "RewardsClaimed";
|
|
33
33
|
export declare const ProviderModified: "ProviderModified";
|
|
34
34
|
export declare const ProviderRegistered: "ProviderRegistered";
|
|
35
35
|
export declare const ProviderSecurityDepoRefilled: "ProviderSecurityDepoRefilled";
|
|
36
36
|
export declare const ProviderSecurityDepoUnlocked: "ProviderSecurityDepoUnlocked";
|
|
37
37
|
export declare const ProviderViolationRateIncremented: "ProviderViolationRateIncremented";
|
|
38
|
-
export declare const RewardTokenChanged: "RewardTokenChanged";
|
|
39
38
|
export declare const OptionAdded: "OptionAdded";
|
|
40
39
|
export declare const OptionDeleted: "OptionDeleted";
|
|
41
40
|
export declare const OptionUpdated: "OptionUpdated";
|
|
@@ -56,7 +55,7 @@ export declare const OrderResourceCreated: "OrderResourceCreated";
|
|
|
56
55
|
export declare const OfferStorageRequestCanceled: "OfferStorageRequestCanceled";
|
|
57
56
|
export declare const OfferStorageRequestCreated: "OfferStorageRequestCreated";
|
|
58
57
|
export declare const SecretRequestCreated: "SecretRequestCreated";
|
|
59
|
-
export type AbiEvent = typeof Approval | typeof Transfer | typeof TcbBenchmarkChanged | typeof TcbCompleted | typeof TcbInitialized | typeof TcbBanned | typeof DepositPartLocked | typeof DepositPartUnlocked | typeof DepositReplenished | typeof DepositWithdrawn | typeof OfferCreated | typeof OfferDisabled | typeof OfferEnabled | typeof SetValueOfferRestrictions | typeof TeeOfferCreated | typeof TeeOfferViolationRateChanged | typeof OrdersGroupCreated | typeof OrderCreated | typeof OrderStatusUpdated | typeof OrderAwaitingPaymentChanged | typeof OrderDepositRefilled | typeof OrderOptionsDepositSpentChanged | typeof OrderProfitUnlocked | typeof OrderChangeWithdrawn | typeof OrderEncryptedResultUpdated | typeof OrderProfitWithdrawn | typeof OrderStarted | typeof OrderOptionsChangeRequested | typeof OrderOptionsChanged | typeof OrderSlotCountUpdateRequested | typeof OrderSlotCountUpdated | typeof
|
|
58
|
+
export type AbiEvent = typeof Approval | typeof Transfer | typeof RewardsClaimed | typeof TcbBenchmarkChanged | typeof TcbCompleted | typeof TcbInitialized | typeof TcbBanned | typeof DepositPartLocked | typeof DepositPartUnlocked | typeof DepositReplenished | typeof DepositWithdrawn | typeof OfferCreated | typeof OfferDisabled | typeof OfferEnabled | typeof SetValueOfferRestrictions | typeof TeeOfferCreated | typeof TeeOfferViolationRateChanged | typeof OrdersGroupCreated | typeof OrderCreated | typeof OrderStatusUpdated | typeof OrderAwaitingPaymentChanged | typeof OrderDepositRefilled | typeof OrderOptionsDepositSpentChanged | typeof OrderProfitUnlocked | typeof OrderChangeWithdrawn | typeof OrderEncryptedResultUpdated | typeof OrderProfitWithdrawn | typeof OrderStarted | typeof OrderOptionsChangeRequested | typeof OrderOptionsChanged | typeof OrderSlotCountUpdateRequested | typeof OrderSlotCountUpdated | typeof ProviderModified | typeof ProviderRegistered | typeof ProviderSecurityDepoRefilled | typeof ProviderSecurityDepoUnlocked | typeof ProviderViolationRateIncremented | typeof OptionAdded | typeof OptionDeleted | typeof OptionUpdated | typeof TeeSlotAdded | typeof TeeSlotDeleted | typeof TeeSlotUpdated | typeof TcbRewardUnlocked | typeof WarningMessage | typeof ValueSlotAdded | typeof ValueSlotDeleted | typeof ValueSlotUpdated | typeof DiamondCut | typeof OwnershipTransferred | typeof LoaderSecretPublicKeySessionUpdated | typeof LoaderSessionKeyUpdated | typeof OfferResourceCreated | typeof OrderResourceCreated | typeof OfferStorageRequestCanceled | typeof OfferStorageRequestCreated | typeof SecretRequestCreated;
|
|
60
59
|
export declare const abi: readonly [{
|
|
61
60
|
readonly anonymous: false;
|
|
62
61
|
readonly inputs: readonly [{
|
|
@@ -455,6 +454,26 @@ export declare const abi: readonly [{
|
|
|
455
454
|
readonly outputs: readonly [];
|
|
456
455
|
readonly stateMutability: "nonpayable";
|
|
457
456
|
readonly type: "function";
|
|
457
|
+
}, {
|
|
458
|
+
readonly anonymous: false;
|
|
459
|
+
readonly inputs: readonly [{
|
|
460
|
+
readonly indexed: true;
|
|
461
|
+
readonly internalType: "uint256";
|
|
462
|
+
readonly name: "tcbId";
|
|
463
|
+
readonly type: "uint256";
|
|
464
|
+
}, {
|
|
465
|
+
readonly indexed: true;
|
|
466
|
+
readonly internalType: "uint256";
|
|
467
|
+
readonly name: "amount";
|
|
468
|
+
readonly type: "uint256";
|
|
469
|
+
}, {
|
|
470
|
+
readonly indexed: true;
|
|
471
|
+
readonly internalType: "address";
|
|
472
|
+
readonly name: "claimer";
|
|
473
|
+
readonly type: "address";
|
|
474
|
+
}];
|
|
475
|
+
readonly name: "RewardsClaimed";
|
|
476
|
+
readonly type: "event";
|
|
458
477
|
}, {
|
|
459
478
|
readonly anonymous: false;
|
|
460
479
|
readonly inputs: readonly [{
|
|
@@ -500,6 +519,16 @@ export declare const abi: readonly [{
|
|
|
500
519
|
}];
|
|
501
520
|
readonly name: "TcbInitialized";
|
|
502
521
|
readonly type: "event";
|
|
522
|
+
}, {
|
|
523
|
+
readonly inputs: readonly [{
|
|
524
|
+
readonly internalType: "uint256";
|
|
525
|
+
readonly name: "amount";
|
|
526
|
+
readonly type: "uint256";
|
|
527
|
+
}];
|
|
528
|
+
readonly name: "addConsensusReward";
|
|
529
|
+
readonly outputs: readonly [];
|
|
530
|
+
readonly stateMutability: "nonpayable";
|
|
531
|
+
readonly type: "function";
|
|
503
532
|
}, {
|
|
504
533
|
readonly inputs: readonly [{
|
|
505
534
|
readonly internalType: "uint256";
|
|
@@ -544,6 +573,16 @@ export declare const abi: readonly [{
|
|
|
544
573
|
readonly outputs: readonly [];
|
|
545
574
|
readonly stateMutability: "nonpayable";
|
|
546
575
|
readonly type: "function";
|
|
576
|
+
}, {
|
|
577
|
+
readonly inputs: readonly [{
|
|
578
|
+
readonly internalType: "uint256";
|
|
579
|
+
readonly name: "tcbId";
|
|
580
|
+
readonly type: "uint256";
|
|
581
|
+
}];
|
|
582
|
+
readonly name: "claimRewards";
|
|
583
|
+
readonly outputs: readonly [];
|
|
584
|
+
readonly stateMutability: "nonpayable";
|
|
585
|
+
readonly type: "function";
|
|
547
586
|
}, {
|
|
548
587
|
readonly inputs: readonly [{
|
|
549
588
|
readonly internalType: "uint256";
|
|
@@ -581,9 +620,156 @@ export declare const abi: readonly [{
|
|
|
581
620
|
readonly internalType: "uint8";
|
|
582
621
|
readonly name: "";
|
|
583
622
|
readonly type: "uint8";
|
|
623
|
+
}, {
|
|
624
|
+
readonly internalType: "uint32";
|
|
625
|
+
readonly name: "";
|
|
626
|
+
readonly type: "uint32";
|
|
584
627
|
}];
|
|
585
628
|
readonly stateMutability: "pure";
|
|
586
629
|
readonly type: "function";
|
|
630
|
+
}, {
|
|
631
|
+
readonly inputs: readonly [{
|
|
632
|
+
readonly internalType: "uint256";
|
|
633
|
+
readonly name: "index";
|
|
634
|
+
readonly type: "uint256";
|
|
635
|
+
}];
|
|
636
|
+
readonly name: "getEpoch";
|
|
637
|
+
readonly outputs: readonly [{
|
|
638
|
+
readonly components: readonly [{
|
|
639
|
+
readonly internalType: "uint256";
|
|
640
|
+
readonly name: "reward";
|
|
641
|
+
readonly type: "uint256";
|
|
642
|
+
}, {
|
|
643
|
+
readonly internalType: "uint256";
|
|
644
|
+
readonly name: "benchmark_DEPRECATED";
|
|
645
|
+
readonly type: "uint256";
|
|
646
|
+
}, {
|
|
647
|
+
readonly internalType: "uint256";
|
|
648
|
+
readonly name: "penaltyBenchmark_DEPRECATED";
|
|
649
|
+
readonly type: "uint256";
|
|
650
|
+
}, {
|
|
651
|
+
readonly components: readonly [{
|
|
652
|
+
readonly internalType: "uint64";
|
|
653
|
+
readonly name: "cpuSize";
|
|
654
|
+
readonly type: "uint64";
|
|
655
|
+
}, {
|
|
656
|
+
readonly internalType: "uint64";
|
|
657
|
+
readonly name: "ramSize";
|
|
658
|
+
readonly type: "uint64";
|
|
659
|
+
}, {
|
|
660
|
+
readonly internalType: "uint64";
|
|
661
|
+
readonly name: "gpuSize";
|
|
662
|
+
readonly type: "uint64";
|
|
663
|
+
}, {
|
|
664
|
+
readonly internalType: "uint64";
|
|
665
|
+
readonly name: "diskSize";
|
|
666
|
+
readonly type: "uint64";
|
|
667
|
+
}, {
|
|
668
|
+
readonly internalType: "uint64";
|
|
669
|
+
readonly name: "networkSize";
|
|
670
|
+
readonly type: "uint64";
|
|
671
|
+
}, {
|
|
672
|
+
readonly internalType: "uint32";
|
|
673
|
+
readonly name: "cpuMark";
|
|
674
|
+
readonly type: "uint32";
|
|
675
|
+
}, {
|
|
676
|
+
readonly internalType: "uint32";
|
|
677
|
+
readonly name: "ramMark";
|
|
678
|
+
readonly type: "uint32";
|
|
679
|
+
}, {
|
|
680
|
+
readonly internalType: "uint32";
|
|
681
|
+
readonly name: "gpuMark";
|
|
682
|
+
readonly type: "uint32";
|
|
683
|
+
}, {
|
|
684
|
+
readonly internalType: "uint32";
|
|
685
|
+
readonly name: "diskMark";
|
|
686
|
+
readonly type: "uint32";
|
|
687
|
+
}, {
|
|
688
|
+
readonly internalType: "uint32";
|
|
689
|
+
readonly name: "networkMark";
|
|
690
|
+
readonly type: "uint32";
|
|
691
|
+
}];
|
|
692
|
+
readonly internalType: "struct ConsensusBenchmark";
|
|
693
|
+
readonly name: "benchmark";
|
|
694
|
+
readonly type: "tuple";
|
|
695
|
+
}, {
|
|
696
|
+
readonly components: readonly [{
|
|
697
|
+
readonly internalType: "uint64";
|
|
698
|
+
readonly name: "cpuSize";
|
|
699
|
+
readonly type: "uint64";
|
|
700
|
+
}, {
|
|
701
|
+
readonly internalType: "uint64";
|
|
702
|
+
readonly name: "ramSize";
|
|
703
|
+
readonly type: "uint64";
|
|
704
|
+
}, {
|
|
705
|
+
readonly internalType: "uint64";
|
|
706
|
+
readonly name: "gpuSize";
|
|
707
|
+
readonly type: "uint64";
|
|
708
|
+
}, {
|
|
709
|
+
readonly internalType: "uint64";
|
|
710
|
+
readonly name: "diskSize";
|
|
711
|
+
readonly type: "uint64";
|
|
712
|
+
}, {
|
|
713
|
+
readonly internalType: "uint64";
|
|
714
|
+
readonly name: "networkSize";
|
|
715
|
+
readonly type: "uint64";
|
|
716
|
+
}, {
|
|
717
|
+
readonly internalType: "uint32";
|
|
718
|
+
readonly name: "cpuMark";
|
|
719
|
+
readonly type: "uint32";
|
|
720
|
+
}, {
|
|
721
|
+
readonly internalType: "uint32";
|
|
722
|
+
readonly name: "ramMark";
|
|
723
|
+
readonly type: "uint32";
|
|
724
|
+
}, {
|
|
725
|
+
readonly internalType: "uint32";
|
|
726
|
+
readonly name: "gpuMark";
|
|
727
|
+
readonly type: "uint32";
|
|
728
|
+
}, {
|
|
729
|
+
readonly internalType: "uint32";
|
|
730
|
+
readonly name: "diskMark";
|
|
731
|
+
readonly type: "uint32";
|
|
732
|
+
}, {
|
|
733
|
+
readonly internalType: "uint32";
|
|
734
|
+
readonly name: "networkMark";
|
|
735
|
+
readonly type: "uint32";
|
|
736
|
+
}];
|
|
737
|
+
readonly internalType: "struct ConsensusBenchmark";
|
|
738
|
+
readonly name: "penaltyBenchmark";
|
|
739
|
+
readonly type: "tuple";
|
|
740
|
+
}, {
|
|
741
|
+
readonly internalType: "uint256";
|
|
742
|
+
readonly name: "epochBenchmarkCost";
|
|
743
|
+
readonly type: "uint256";
|
|
744
|
+
}];
|
|
745
|
+
readonly internalType: "struct Epoch";
|
|
746
|
+
readonly name: "";
|
|
747
|
+
readonly type: "tuple";
|
|
748
|
+
}];
|
|
749
|
+
readonly stateMutability: "view";
|
|
750
|
+
readonly type: "function";
|
|
751
|
+
}, {
|
|
752
|
+
readonly inputs: readonly [{
|
|
753
|
+
readonly internalType: "uint256";
|
|
754
|
+
readonly name: "tcbTime";
|
|
755
|
+
readonly type: "uint256";
|
|
756
|
+
}];
|
|
757
|
+
readonly name: "getEpochTime";
|
|
758
|
+
readonly outputs: readonly [{
|
|
759
|
+
readonly internalType: "uint256";
|
|
760
|
+
readonly name: "epochStart";
|
|
761
|
+
readonly type: "uint256";
|
|
762
|
+
}, {
|
|
763
|
+
readonly internalType: "uint256";
|
|
764
|
+
readonly name: "epochEnd";
|
|
765
|
+
readonly type: "uint256";
|
|
766
|
+
}, {
|
|
767
|
+
readonly internalType: "uint256";
|
|
768
|
+
readonly name: "epochIndex";
|
|
769
|
+
readonly type: "uint256";
|
|
770
|
+
}];
|
|
771
|
+
readonly stateMutability: "view";
|
|
772
|
+
readonly type: "function";
|
|
587
773
|
}, {
|
|
588
774
|
readonly inputs: readonly [{
|
|
589
775
|
readonly internalType: "uint256";
|
|
@@ -618,6 +804,29 @@ export declare const abi: readonly [{
|
|
|
618
804
|
}];
|
|
619
805
|
readonly stateMutability: "view";
|
|
620
806
|
readonly type: "function";
|
|
807
|
+
}, {
|
|
808
|
+
readonly inputs: readonly [];
|
|
809
|
+
readonly name: "getRewardAccounting";
|
|
810
|
+
readonly outputs: readonly [{
|
|
811
|
+
readonly components: readonly [{
|
|
812
|
+
readonly internalType: "int256";
|
|
813
|
+
readonly name: "rewardAmount";
|
|
814
|
+
readonly type: "int256";
|
|
815
|
+
}, {
|
|
816
|
+
readonly internalType: "uint256";
|
|
817
|
+
readonly name: "notClaimedAmount";
|
|
818
|
+
readonly type: "uint256";
|
|
819
|
+
}, {
|
|
820
|
+
readonly internalType: "uint256";
|
|
821
|
+
readonly name: "lastEpochIndex";
|
|
822
|
+
readonly type: "uint256";
|
|
823
|
+
}];
|
|
824
|
+
readonly internalType: "struct ConsensusStorageAccessor.RewardAccounting";
|
|
825
|
+
readonly name: "";
|
|
826
|
+
readonly type: "tuple";
|
|
827
|
+
}];
|
|
828
|
+
readonly stateMutability: "view";
|
|
829
|
+
readonly type: "function";
|
|
621
830
|
}, {
|
|
622
831
|
readonly inputs: readonly [];
|
|
623
832
|
readonly name: "getSuspiciousBlockTable";
|
|
@@ -656,7 +865,7 @@ export declare const abi: readonly [{
|
|
|
656
865
|
readonly type: "uint256";
|
|
657
866
|
}, {
|
|
658
867
|
readonly internalType: "uint256";
|
|
659
|
-
readonly name: "
|
|
868
|
+
readonly name: "timeInitialized";
|
|
660
869
|
readonly type: "uint256";
|
|
661
870
|
}, {
|
|
662
871
|
readonly internalType: "uint256";
|
|
@@ -692,12 +901,8 @@ export declare const abi: readonly [{
|
|
|
692
901
|
readonly type: "bool";
|
|
693
902
|
}, {
|
|
694
903
|
readonly internalType: "bool";
|
|
695
|
-
readonly name: "
|
|
904
|
+
readonly name: "rewardClaimed";
|
|
696
905
|
readonly type: "bool";
|
|
697
|
-
}, {
|
|
698
|
-
readonly internalType: "uint256";
|
|
699
|
-
readonly name: "epochIndex";
|
|
700
|
-
readonly type: "uint256";
|
|
701
906
|
}];
|
|
702
907
|
readonly internalType: "struct Tcb";
|
|
703
908
|
readonly name: "response";
|
|
@@ -706,26 +911,26 @@ export declare const abi: readonly [{
|
|
|
706
911
|
readonly stateMutability: "view";
|
|
707
912
|
readonly type: "function";
|
|
708
913
|
}, {
|
|
709
|
-
readonly inputs: readonly [
|
|
710
|
-
|
|
914
|
+
readonly inputs: readonly [{
|
|
915
|
+
readonly internalType: "uint256";
|
|
916
|
+
readonly name: "tcbId";
|
|
917
|
+
readonly type: "uint256";
|
|
918
|
+
}];
|
|
919
|
+
readonly name: "getTcbReward";
|
|
711
920
|
readonly outputs: readonly [{
|
|
712
921
|
readonly internalType: "uint256";
|
|
713
|
-
readonly name: "";
|
|
922
|
+
readonly name: "reward";
|
|
714
923
|
readonly type: "uint256";
|
|
715
924
|
}];
|
|
716
925
|
readonly stateMutability: "view";
|
|
717
926
|
readonly type: "function";
|
|
718
927
|
}, {
|
|
719
|
-
readonly inputs: readonly [
|
|
720
|
-
|
|
721
|
-
readonly name: "tcbIds";
|
|
722
|
-
readonly type: "uint256[]";
|
|
723
|
-
}];
|
|
724
|
-
readonly name: "getTcbsEpochIndex";
|
|
928
|
+
readonly inputs: readonly [];
|
|
929
|
+
readonly name: "getTcbsCount";
|
|
725
930
|
readonly outputs: readonly [{
|
|
726
|
-
readonly internalType: "uint256
|
|
727
|
-
readonly name: "
|
|
728
|
-
readonly type: "uint256
|
|
931
|
+
readonly internalType: "uint256";
|
|
932
|
+
readonly name: "";
|
|
933
|
+
readonly type: "uint256";
|
|
729
934
|
}];
|
|
730
935
|
readonly stateMutability: "view";
|
|
731
936
|
readonly type: "function";
|
|
@@ -800,7 +1005,7 @@ export declare const abi: readonly [{
|
|
|
800
1005
|
readonly type: "uint32";
|
|
801
1006
|
}];
|
|
802
1007
|
readonly internalType: "struct ConsensusBenchmark";
|
|
803
|
-
readonly name: "
|
|
1008
|
+
readonly name: "benchmark";
|
|
804
1009
|
readonly type: "tuple";
|
|
805
1010
|
}];
|
|
806
1011
|
readonly internalType: "struct TcbPublicData[]";
|
|
@@ -864,20 +1069,6 @@ export declare const abi: readonly [{
|
|
|
864
1069
|
}];
|
|
865
1070
|
readonly stateMutability: "view";
|
|
866
1071
|
readonly type: "function";
|
|
867
|
-
}, {
|
|
868
|
-
readonly inputs: readonly [{
|
|
869
|
-
readonly internalType: "uint256";
|
|
870
|
-
readonly name: "tcbId";
|
|
871
|
-
readonly type: "uint256";
|
|
872
|
-
}];
|
|
873
|
-
readonly name: "isTCBVerified";
|
|
874
|
-
readonly outputs: readonly [{
|
|
875
|
-
readonly internalType: "bool";
|
|
876
|
-
readonly name: "";
|
|
877
|
-
readonly type: "bool";
|
|
878
|
-
}];
|
|
879
|
-
readonly stateMutability: "view";
|
|
880
|
-
readonly type: "function";
|
|
881
1072
|
}, {
|
|
882
1073
|
readonly inputs: readonly [{
|
|
883
1074
|
readonly internalType: "uint256";
|
|
@@ -1048,30 +1239,50 @@ export declare const abi: readonly [{
|
|
|
1048
1239
|
readonly name: "tcbId";
|
|
1049
1240
|
readonly type: "uint256";
|
|
1050
1241
|
}];
|
|
1051
|
-
readonly name: "
|
|
1242
|
+
readonly name: "addTcbToEpoch";
|
|
1052
1243
|
readonly outputs: readonly [];
|
|
1053
1244
|
readonly stateMutability: "nonpayable";
|
|
1054
1245
|
readonly type: "function";
|
|
1055
1246
|
}, {
|
|
1056
1247
|
readonly inputs: readonly [{
|
|
1057
1248
|
readonly internalType: "uint256";
|
|
1058
|
-
readonly name: "
|
|
1249
|
+
readonly name: "tcbId";
|
|
1059
1250
|
readonly type: "uint256";
|
|
1060
1251
|
}];
|
|
1061
|
-
readonly name: "
|
|
1252
|
+
readonly name: "compareWithThreshold";
|
|
1062
1253
|
readonly outputs: readonly [];
|
|
1063
1254
|
readonly stateMutability: "nonpayable";
|
|
1064
1255
|
readonly type: "function";
|
|
1065
1256
|
}, {
|
|
1066
1257
|
readonly inputs: readonly [{
|
|
1067
1258
|
readonly internalType: "uint256";
|
|
1068
|
-
readonly name: "
|
|
1259
|
+
readonly name: "intruderTcbId";
|
|
1260
|
+
readonly type: "uint256";
|
|
1261
|
+
}];
|
|
1262
|
+
readonly name: "compensateEpochDamage";
|
|
1263
|
+
readonly outputs: readonly [];
|
|
1264
|
+
readonly stateMutability: "nonpayable";
|
|
1265
|
+
readonly type: "function";
|
|
1266
|
+
}, {
|
|
1267
|
+
readonly inputs: readonly [{
|
|
1268
|
+
readonly internalType: "uint256";
|
|
1269
|
+
readonly name: "tcbId";
|
|
1069
1270
|
readonly type: "uint256";
|
|
1070
1271
|
}];
|
|
1071
1272
|
readonly name: "findAccomplices";
|
|
1072
1273
|
readonly outputs: readonly [];
|
|
1073
1274
|
readonly stateMutability: "nonpayable";
|
|
1074
1275
|
readonly type: "function";
|
|
1276
|
+
}, {
|
|
1277
|
+
readonly inputs: readonly [{
|
|
1278
|
+
readonly internalType: "uint256";
|
|
1279
|
+
readonly name: "compensation";
|
|
1280
|
+
readonly type: "uint256";
|
|
1281
|
+
}];
|
|
1282
|
+
readonly name: "increaseNextEpochCompensation";
|
|
1283
|
+
readonly outputs: readonly [];
|
|
1284
|
+
readonly stateMutability: "nonpayable";
|
|
1285
|
+
readonly type: "function";
|
|
1075
1286
|
}, {
|
|
1076
1287
|
readonly inputs: readonly [{
|
|
1077
1288
|
readonly internalType: "uint256";
|
|
@@ -4407,586 +4618,40 @@ export declare const abi: readonly [{
|
|
|
4407
4618
|
}, {
|
|
4408
4619
|
readonly internalType: "uint64";
|
|
4409
4620
|
readonly name: "vram";
|
|
4410
|
-
readonly type: "uint64";
|
|
4411
|
-
}];
|
|
4412
|
-
readonly internalType: "struct SlotInfo";
|
|
4413
|
-
readonly name: "";
|
|
4414
|
-
readonly type: "tuple";
|
|
4415
|
-
}];
|
|
4416
|
-
readonly stateMutability: "view";
|
|
4417
|
-
readonly type: "function";
|
|
4418
|
-
}, {
|
|
4419
|
-
readonly inputs: readonly [{
|
|
4420
|
-
readonly internalType: "uint256";
|
|
4421
|
-
readonly name: "orderId";
|
|
4422
|
-
readonly type: "uint256";
|
|
4423
|
-
}];
|
|
4424
|
-
readonly name: "getOrderSelectedUsageSlotUsage";
|
|
4425
|
-
readonly outputs: readonly [{
|
|
4426
|
-
readonly components: readonly [{
|
|
4427
|
-
readonly internalType: "enum PriceType";
|
|
4428
|
-
readonly name: "priceType";
|
|
4429
|
-
readonly type: "uint8";
|
|
4430
|
-
}, {
|
|
4431
|
-
readonly internalType: "uint256";
|
|
4432
|
-
readonly name: "price";
|
|
4433
|
-
readonly type: "uint256";
|
|
4434
|
-
}, {
|
|
4435
|
-
readonly internalType: "uint64";
|
|
4436
|
-
readonly name: "minTimeMinutes";
|
|
4437
|
-
readonly type: "uint64";
|
|
4438
|
-
}, {
|
|
4439
|
-
readonly internalType: "uint64";
|
|
4440
|
-
readonly name: "maxTimeMinutes";
|
|
4441
|
-
readonly type: "uint64";
|
|
4442
|
-
}];
|
|
4443
|
-
readonly internalType: "struct SlotUsage";
|
|
4444
|
-
readonly name: "";
|
|
4445
|
-
readonly type: "tuple";
|
|
4446
|
-
}];
|
|
4447
|
-
readonly stateMutability: "view";
|
|
4448
|
-
readonly type: "function";
|
|
4449
|
-
}, {
|
|
4450
|
-
readonly inputs: readonly [{
|
|
4451
|
-
readonly internalType: "uint256";
|
|
4452
|
-
readonly name: "orderId";
|
|
4453
|
-
readonly type: "uint256";
|
|
4454
|
-
}];
|
|
4455
|
-
readonly name: "getOrderSubOrders";
|
|
4456
|
-
readonly outputs: readonly [{
|
|
4457
|
-
readonly internalType: "uint256[]";
|
|
4458
|
-
readonly name: "";
|
|
4459
|
-
readonly type: "uint256[]";
|
|
4460
|
-
}];
|
|
4461
|
-
readonly stateMutability: "view";
|
|
4462
|
-
readonly type: "function";
|
|
4463
|
-
}, {
|
|
4464
|
-
readonly inputs: readonly [];
|
|
4465
|
-
readonly name: "getOrdersCount";
|
|
4466
|
-
readonly outputs: readonly [{
|
|
4467
|
-
readonly internalType: "uint256";
|
|
4468
|
-
readonly name: "";
|
|
4469
|
-
readonly type: "uint256";
|
|
4470
|
-
}];
|
|
4471
|
-
readonly stateMutability: "view";
|
|
4472
|
-
readonly type: "function";
|
|
4473
|
-
}, {
|
|
4474
|
-
readonly inputs: readonly [{
|
|
4475
|
-
readonly internalType: "uint256";
|
|
4476
|
-
readonly name: "orderId";
|
|
4477
|
-
readonly type: "uint256";
|
|
4478
|
-
}];
|
|
4479
|
-
readonly name: "getStartDate";
|
|
4480
|
-
readonly outputs: readonly [{
|
|
4481
|
-
readonly internalType: "uint256";
|
|
4482
|
-
readonly name: "";
|
|
4483
|
-
readonly type: "uint256";
|
|
4484
|
-
}];
|
|
4485
|
-
readonly stateMutability: "view";
|
|
4486
|
-
readonly type: "function";
|
|
4487
|
-
}, {
|
|
4488
|
-
readonly inputs: readonly [{
|
|
4489
|
-
readonly internalType: "uint256";
|
|
4490
|
-
readonly name: "orderId";
|
|
4491
|
-
readonly type: "uint256";
|
|
4492
|
-
}];
|
|
4493
|
-
readonly name: "isOrderCompleted";
|
|
4494
|
-
readonly outputs: readonly [{
|
|
4495
|
-
readonly internalType: "bool";
|
|
4496
|
-
readonly name: "";
|
|
4497
|
-
readonly type: "bool";
|
|
4498
|
-
}];
|
|
4499
|
-
readonly stateMutability: "view";
|
|
4500
|
-
readonly type: "function";
|
|
4501
|
-
}, {
|
|
4502
|
-
readonly inputs: readonly [{
|
|
4503
|
-
readonly internalType: "uint256";
|
|
4504
|
-
readonly name: "orderId";
|
|
4505
|
-
readonly type: "uint256";
|
|
4506
|
-
}];
|
|
4507
|
-
readonly name: "isOrderProcessing";
|
|
4508
|
-
readonly outputs: readonly [{
|
|
4509
|
-
readonly internalType: "bool";
|
|
4510
|
-
readonly name: "";
|
|
4511
|
-
readonly type: "bool";
|
|
4512
|
-
}];
|
|
4513
|
-
readonly stateMutability: "view";
|
|
4514
|
-
readonly type: "function";
|
|
4515
|
-
}, {
|
|
4516
|
-
readonly inputs: readonly [{
|
|
4517
|
-
readonly internalType: "uint256";
|
|
4518
|
-
readonly name: "orderId";
|
|
4519
|
-
readonly type: "uint256";
|
|
4520
|
-
}];
|
|
4521
|
-
readonly name: "isOrderStarted";
|
|
4522
|
-
readonly outputs: readonly [{
|
|
4523
|
-
readonly internalType: "bool";
|
|
4524
|
-
readonly name: "";
|
|
4525
|
-
readonly type: "bool";
|
|
4526
|
-
}];
|
|
4527
|
-
readonly stateMutability: "view";
|
|
4528
|
-
readonly type: "function";
|
|
4529
|
-
}, {
|
|
4530
|
-
readonly inputs: readonly [{
|
|
4531
|
-
readonly internalType: "uint256";
|
|
4532
|
-
readonly name: "orderId";
|
|
4533
|
-
readonly type: "uint256";
|
|
4534
|
-
}];
|
|
4535
|
-
readonly name: "isOrderValid";
|
|
4536
|
-
readonly outputs: readonly [{
|
|
4537
|
-
readonly internalType: "bool";
|
|
4538
|
-
readonly name: "";
|
|
4539
|
-
readonly type: "bool";
|
|
4540
|
-
}];
|
|
4541
|
-
readonly stateMutability: "view";
|
|
4542
|
-
readonly type: "function";
|
|
4543
|
-
}, {
|
|
4544
|
-
readonly anonymous: false;
|
|
4545
|
-
readonly inputs: readonly [{
|
|
4546
|
-
readonly indexed: false;
|
|
4547
|
-
readonly internalType: "uint256";
|
|
4548
|
-
readonly name: "epochIndex";
|
|
4549
|
-
readonly type: "uint256";
|
|
4550
|
-
}, {
|
|
4551
|
-
readonly indexed: false;
|
|
4552
|
-
readonly internalType: "uint256";
|
|
4553
|
-
readonly name: "teeOfferId";
|
|
4554
|
-
readonly type: "uint256";
|
|
4555
|
-
}, {
|
|
4556
|
-
readonly indexed: true;
|
|
4557
|
-
readonly internalType: "uint256";
|
|
4558
|
-
readonly name: "amount";
|
|
4559
|
-
readonly type: "uint256";
|
|
4560
|
-
}, {
|
|
4561
|
-
readonly indexed: true;
|
|
4562
|
-
readonly internalType: "address";
|
|
4563
|
-
readonly name: "claimer";
|
|
4564
|
-
readonly type: "address";
|
|
4565
|
-
}];
|
|
4566
|
-
readonly name: "RewardsClaimed";
|
|
4567
|
-
readonly type: "event";
|
|
4568
|
-
}, {
|
|
4569
|
-
readonly inputs: readonly [{
|
|
4570
|
-
readonly internalType: "uint256";
|
|
4571
|
-
readonly name: "amount";
|
|
4572
|
-
readonly type: "uint256";
|
|
4573
|
-
}];
|
|
4574
|
-
readonly name: "addConsensusReward";
|
|
4575
|
-
readonly outputs: readonly [];
|
|
4576
|
-
readonly stateMutability: "nonpayable";
|
|
4577
|
-
readonly type: "function";
|
|
4578
|
-
}, {
|
|
4579
|
-
readonly inputs: readonly [{
|
|
4580
|
-
readonly internalType: "uint256";
|
|
4581
|
-
readonly name: "epochIndex";
|
|
4582
|
-
readonly type: "uint256";
|
|
4583
|
-
}, {
|
|
4584
|
-
readonly internalType: "uint256";
|
|
4585
|
-
readonly name: "teeOfferId";
|
|
4586
|
-
readonly type: "uint256";
|
|
4587
|
-
}];
|
|
4588
|
-
readonly name: "addEpochDamage";
|
|
4589
|
-
readonly outputs: readonly [{
|
|
4590
|
-
readonly internalType: "uint256";
|
|
4591
|
-
readonly name: "intruderTcbReward";
|
|
4592
|
-
readonly type: "uint256";
|
|
4593
|
-
}];
|
|
4594
|
-
readonly stateMutability: "nonpayable";
|
|
4595
|
-
readonly type: "function";
|
|
4596
|
-
}, {
|
|
4597
|
-
readonly inputs: readonly [{
|
|
4598
|
-
readonly internalType: "uint256";
|
|
4599
|
-
readonly name: "epochIndex";
|
|
4600
|
-
readonly type: "uint256";
|
|
4601
|
-
}, {
|
|
4602
|
-
readonly internalType: "uint256";
|
|
4603
|
-
readonly name: "teeOfferId";
|
|
4604
|
-
readonly type: "uint256";
|
|
4605
|
-
}];
|
|
4606
|
-
readonly name: "addTcbToEpoch";
|
|
4607
|
-
readonly outputs: readonly [];
|
|
4608
|
-
readonly stateMutability: "nonpayable";
|
|
4609
|
-
readonly type: "function";
|
|
4610
|
-
}, {
|
|
4611
|
-
readonly inputs: readonly [{
|
|
4612
|
-
readonly internalType: "uint256";
|
|
4613
|
-
readonly name: "epochIndex";
|
|
4614
|
-
readonly type: "uint256";
|
|
4615
|
-
}, {
|
|
4616
|
-
readonly internalType: "uint256";
|
|
4617
|
-
readonly name: "teeOfferId";
|
|
4618
|
-
readonly type: "uint256";
|
|
4619
|
-
}];
|
|
4620
|
-
readonly name: "claimRewards";
|
|
4621
|
-
readonly outputs: readonly [];
|
|
4622
|
-
readonly stateMutability: "nonpayable";
|
|
4623
|
-
readonly type: "function";
|
|
4624
|
-
}, {
|
|
4625
|
-
readonly inputs: readonly [{
|
|
4626
|
-
readonly internalType: "uint256";
|
|
4627
|
-
readonly name: "epochIndex";
|
|
4628
|
-
readonly type: "uint256";
|
|
4629
|
-
}, {
|
|
4630
|
-
readonly internalType: "uint256";
|
|
4631
|
-
readonly name: "teeOfferId";
|
|
4632
|
-
readonly type: "uint256";
|
|
4633
|
-
}];
|
|
4634
|
-
readonly name: "getBenchmark";
|
|
4635
|
-
readonly outputs: readonly [{
|
|
4636
|
-
readonly components: readonly [{
|
|
4637
|
-
readonly internalType: "uint64";
|
|
4638
|
-
readonly name: "cpuSize";
|
|
4639
|
-
readonly type: "uint64";
|
|
4640
|
-
}, {
|
|
4641
|
-
readonly internalType: "uint64";
|
|
4642
|
-
readonly name: "ramSize";
|
|
4643
|
-
readonly type: "uint64";
|
|
4644
|
-
}, {
|
|
4645
|
-
readonly internalType: "uint64";
|
|
4646
|
-
readonly name: "gpuSize";
|
|
4647
|
-
readonly type: "uint64";
|
|
4648
|
-
}, {
|
|
4649
|
-
readonly internalType: "uint64";
|
|
4650
|
-
readonly name: "diskSize";
|
|
4651
|
-
readonly type: "uint64";
|
|
4652
|
-
}, {
|
|
4653
|
-
readonly internalType: "uint64";
|
|
4654
|
-
readonly name: "networkSize";
|
|
4655
|
-
readonly type: "uint64";
|
|
4656
|
-
}, {
|
|
4657
|
-
readonly internalType: "uint32";
|
|
4658
|
-
readonly name: "cpuMark";
|
|
4659
|
-
readonly type: "uint32";
|
|
4660
|
-
}, {
|
|
4661
|
-
readonly internalType: "uint32";
|
|
4662
|
-
readonly name: "ramMark";
|
|
4663
|
-
readonly type: "uint32";
|
|
4664
|
-
}, {
|
|
4665
|
-
readonly internalType: "uint32";
|
|
4666
|
-
readonly name: "gpuMark";
|
|
4667
|
-
readonly type: "uint32";
|
|
4668
|
-
}, {
|
|
4669
|
-
readonly internalType: "uint32";
|
|
4670
|
-
readonly name: "diskMark";
|
|
4671
|
-
readonly type: "uint32";
|
|
4672
|
-
}, {
|
|
4673
|
-
readonly internalType: "uint32";
|
|
4674
|
-
readonly name: "networkMark";
|
|
4675
|
-
readonly type: "uint32";
|
|
4676
|
-
}];
|
|
4677
|
-
readonly internalType: "struct ConsensusBenchmark";
|
|
4678
|
-
readonly name: "";
|
|
4679
|
-
readonly type: "tuple";
|
|
4680
|
-
}];
|
|
4681
|
-
readonly stateMutability: "view";
|
|
4682
|
-
readonly type: "function";
|
|
4683
|
-
}, {
|
|
4684
|
-
readonly inputs: readonly [{
|
|
4685
|
-
readonly internalType: "uint256[]";
|
|
4686
|
-
readonly name: "epochIndexes";
|
|
4687
|
-
readonly type: "uint256[]";
|
|
4688
|
-
}, {
|
|
4689
|
-
readonly internalType: "uint256[]";
|
|
4690
|
-
readonly name: "teeOfferIds";
|
|
4691
|
-
readonly type: "uint256[]";
|
|
4692
|
-
}];
|
|
4693
|
-
readonly name: "getBenchmarks";
|
|
4694
|
-
readonly outputs: readonly [{
|
|
4695
|
-
readonly components: readonly [{
|
|
4696
|
-
readonly internalType: "uint64";
|
|
4697
|
-
readonly name: "cpuSize";
|
|
4698
|
-
readonly type: "uint64";
|
|
4699
|
-
}, {
|
|
4700
|
-
readonly internalType: "uint64";
|
|
4701
|
-
readonly name: "ramSize";
|
|
4702
|
-
readonly type: "uint64";
|
|
4703
|
-
}, {
|
|
4704
|
-
readonly internalType: "uint64";
|
|
4705
|
-
readonly name: "gpuSize";
|
|
4706
|
-
readonly type: "uint64";
|
|
4707
|
-
}, {
|
|
4708
|
-
readonly internalType: "uint64";
|
|
4709
|
-
readonly name: "diskSize";
|
|
4710
|
-
readonly type: "uint64";
|
|
4711
|
-
}, {
|
|
4712
|
-
readonly internalType: "uint64";
|
|
4713
|
-
readonly name: "networkSize";
|
|
4714
|
-
readonly type: "uint64";
|
|
4715
|
-
}, {
|
|
4716
|
-
readonly internalType: "uint32";
|
|
4717
|
-
readonly name: "cpuMark";
|
|
4718
|
-
readonly type: "uint32";
|
|
4719
|
-
}, {
|
|
4720
|
-
readonly internalType: "uint32";
|
|
4721
|
-
readonly name: "ramMark";
|
|
4722
|
-
readonly type: "uint32";
|
|
4723
|
-
}, {
|
|
4724
|
-
readonly internalType: "uint32";
|
|
4725
|
-
readonly name: "gpuMark";
|
|
4726
|
-
readonly type: "uint32";
|
|
4727
|
-
}, {
|
|
4728
|
-
readonly internalType: "uint32";
|
|
4729
|
-
readonly name: "diskMark";
|
|
4730
|
-
readonly type: "uint32";
|
|
4731
|
-
}, {
|
|
4732
|
-
readonly internalType: "uint32";
|
|
4733
|
-
readonly name: "networkMark";
|
|
4734
|
-
readonly type: "uint32";
|
|
4735
|
-
}];
|
|
4736
|
-
readonly internalType: "struct ConsensusBenchmark[]";
|
|
4737
|
-
readonly name: "benchmarks";
|
|
4738
|
-
readonly type: "tuple[]";
|
|
4739
|
-
}];
|
|
4740
|
-
readonly stateMutability: "view";
|
|
4741
|
-
readonly type: "function";
|
|
4742
|
-
}, {
|
|
4743
|
-
readonly inputs: readonly [];
|
|
4744
|
-
readonly name: "getCurrentEpochIndex";
|
|
4745
|
-
readonly outputs: readonly [{
|
|
4746
|
-
readonly internalType: "uint256";
|
|
4747
|
-
readonly name: "currentEpochIndex";
|
|
4748
|
-
readonly type: "uint256";
|
|
4749
|
-
}];
|
|
4750
|
-
readonly stateMutability: "nonpayable";
|
|
4751
|
-
readonly type: "function";
|
|
4752
|
-
}, {
|
|
4753
|
-
readonly inputs: readonly [{
|
|
4754
|
-
readonly internalType: "uint256";
|
|
4755
|
-
readonly name: "epochIndex";
|
|
4756
|
-
readonly type: "uint256";
|
|
4757
|
-
}];
|
|
4758
|
-
readonly name: "getEpoch";
|
|
4759
|
-
readonly outputs: readonly [{
|
|
4760
|
-
readonly components: readonly [{
|
|
4761
|
-
readonly internalType: "uint256";
|
|
4762
|
-
readonly name: "reward";
|
|
4763
|
-
readonly type: "uint256";
|
|
4764
|
-
}, {
|
|
4765
|
-
readonly components: readonly [{
|
|
4766
|
-
readonly internalType: "uint64";
|
|
4767
|
-
readonly name: "cpuSize";
|
|
4768
|
-
readonly type: "uint64";
|
|
4769
|
-
}, {
|
|
4770
|
-
readonly internalType: "uint64";
|
|
4771
|
-
readonly name: "ramSize";
|
|
4772
|
-
readonly type: "uint64";
|
|
4773
|
-
}, {
|
|
4774
|
-
readonly internalType: "uint64";
|
|
4775
|
-
readonly name: "gpuSize";
|
|
4776
|
-
readonly type: "uint64";
|
|
4777
|
-
}, {
|
|
4778
|
-
readonly internalType: "uint64";
|
|
4779
|
-
readonly name: "diskSize";
|
|
4780
|
-
readonly type: "uint64";
|
|
4781
|
-
}, {
|
|
4782
|
-
readonly internalType: "uint64";
|
|
4783
|
-
readonly name: "networkSize";
|
|
4784
|
-
readonly type: "uint64";
|
|
4785
|
-
}, {
|
|
4786
|
-
readonly internalType: "uint32";
|
|
4787
|
-
readonly name: "cpuMark";
|
|
4788
|
-
readonly type: "uint32";
|
|
4789
|
-
}, {
|
|
4790
|
-
readonly internalType: "uint32";
|
|
4791
|
-
readonly name: "ramMark";
|
|
4792
|
-
readonly type: "uint32";
|
|
4793
|
-
}, {
|
|
4794
|
-
readonly internalType: "uint32";
|
|
4795
|
-
readonly name: "gpuMark";
|
|
4796
|
-
readonly type: "uint32";
|
|
4797
|
-
}, {
|
|
4798
|
-
readonly internalType: "uint32";
|
|
4799
|
-
readonly name: "diskMark";
|
|
4800
|
-
readonly type: "uint32";
|
|
4801
|
-
}, {
|
|
4802
|
-
readonly internalType: "uint32";
|
|
4803
|
-
readonly name: "networkMark";
|
|
4804
|
-
readonly type: "uint32";
|
|
4805
|
-
}];
|
|
4806
|
-
readonly internalType: "struct ConsensusBenchmark";
|
|
4807
|
-
readonly name: "benchmark";
|
|
4808
|
-
readonly type: "tuple";
|
|
4809
|
-
}, {
|
|
4810
|
-
readonly components: readonly [{
|
|
4811
|
-
readonly internalType: "uint64";
|
|
4812
|
-
readonly name: "cpuSize";
|
|
4813
|
-
readonly type: "uint64";
|
|
4814
|
-
}, {
|
|
4815
|
-
readonly internalType: "uint64";
|
|
4816
|
-
readonly name: "ramSize";
|
|
4817
|
-
readonly type: "uint64";
|
|
4818
|
-
}, {
|
|
4819
|
-
readonly internalType: "uint64";
|
|
4820
|
-
readonly name: "gpuSize";
|
|
4821
|
-
readonly type: "uint64";
|
|
4822
|
-
}, {
|
|
4823
|
-
readonly internalType: "uint64";
|
|
4824
|
-
readonly name: "diskSize";
|
|
4825
|
-
readonly type: "uint64";
|
|
4826
|
-
}, {
|
|
4827
|
-
readonly internalType: "uint64";
|
|
4828
|
-
readonly name: "networkSize";
|
|
4829
|
-
readonly type: "uint64";
|
|
4830
|
-
}, {
|
|
4831
|
-
readonly internalType: "uint32";
|
|
4832
|
-
readonly name: "cpuMark";
|
|
4833
|
-
readonly type: "uint32";
|
|
4834
|
-
}, {
|
|
4835
|
-
readonly internalType: "uint32";
|
|
4836
|
-
readonly name: "ramMark";
|
|
4837
|
-
readonly type: "uint32";
|
|
4838
|
-
}, {
|
|
4839
|
-
readonly internalType: "uint32";
|
|
4840
|
-
readonly name: "gpuMark";
|
|
4841
|
-
readonly type: "uint32";
|
|
4842
|
-
}, {
|
|
4843
|
-
readonly internalType: "uint32";
|
|
4844
|
-
readonly name: "diskMark";
|
|
4845
|
-
readonly type: "uint32";
|
|
4846
|
-
}, {
|
|
4847
|
-
readonly internalType: "uint32";
|
|
4848
|
-
readonly name: "networkMark";
|
|
4849
|
-
readonly type: "uint32";
|
|
4850
|
-
}];
|
|
4851
|
-
readonly internalType: "struct ConsensusBenchmark";
|
|
4852
|
-
readonly name: "penaltyBenchmark";
|
|
4853
|
-
readonly type: "tuple";
|
|
4854
|
-
}, {
|
|
4855
|
-
readonly internalType: "uint256";
|
|
4856
|
-
readonly name: "epochBenchmarkCost";
|
|
4857
|
-
readonly type: "uint256";
|
|
4858
|
-
}, {
|
|
4859
|
-
readonly internalType: "uint256";
|
|
4860
|
-
readonly name: "startTime";
|
|
4861
|
-
readonly type: "uint256";
|
|
4862
|
-
}, {
|
|
4863
|
-
readonly internalType: "uint256";
|
|
4864
|
-
readonly name: "endTime";
|
|
4865
|
-
readonly type: "uint256";
|
|
4866
|
-
}, {
|
|
4867
|
-
readonly internalType: "uint256";
|
|
4868
|
-
readonly name: "compensation";
|
|
4869
|
-
readonly type: "uint256";
|
|
4870
|
-
}, {
|
|
4871
|
-
readonly internalType: "bool";
|
|
4872
|
-
readonly name: "updateEpochReward";
|
|
4873
|
-
readonly type: "bool";
|
|
4874
|
-
}];
|
|
4875
|
-
readonly internalType: "struct Epoch";
|
|
4876
|
-
readonly name: "";
|
|
4877
|
-
readonly type: "tuple";
|
|
4878
|
-
}];
|
|
4879
|
-
readonly stateMutability: "view";
|
|
4880
|
-
readonly type: "function";
|
|
4881
|
-
}, {
|
|
4882
|
-
readonly inputs: readonly [{
|
|
4883
|
-
readonly internalType: "uint256";
|
|
4884
|
-
readonly name: "epochIndex";
|
|
4885
|
-
readonly type: "uint256";
|
|
4886
|
-
}];
|
|
4887
|
-
readonly name: "getEpochData";
|
|
4888
|
-
readonly outputs: readonly [{
|
|
4889
|
-
readonly internalType: "uint256";
|
|
4890
|
-
readonly name: "startTime";
|
|
4891
|
-
readonly type: "uint256";
|
|
4892
|
-
}, {
|
|
4893
|
-
readonly internalType: "uint256";
|
|
4894
|
-
readonly name: "endTime";
|
|
4895
|
-
readonly type: "uint256";
|
|
4896
|
-
}];
|
|
4897
|
-
readonly stateMutability: "view";
|
|
4898
|
-
readonly type: "function";
|
|
4899
|
-
}, {
|
|
4900
|
-
readonly inputs: readonly [{
|
|
4901
|
-
readonly internalType: "uint256";
|
|
4902
|
-
readonly name: "epochIndex";
|
|
4903
|
-
readonly type: "uint256";
|
|
4904
|
-
}];
|
|
4905
|
-
readonly name: "getEpochRewardParams";
|
|
4906
|
-
readonly outputs: readonly [{
|
|
4907
|
-
readonly internalType: "uint256";
|
|
4908
|
-
readonly name: "reward";
|
|
4909
|
-
readonly type: "uint256";
|
|
4910
|
-
}, {
|
|
4911
|
-
readonly internalType: "uint256";
|
|
4912
|
-
readonly name: "compensation";
|
|
4913
|
-
readonly type: "uint256";
|
|
4914
|
-
}, {
|
|
4915
|
-
readonly components: readonly [{
|
|
4916
|
-
readonly internalType: "uint64";
|
|
4917
|
-
readonly name: "cpuSize";
|
|
4918
|
-
readonly type: "uint64";
|
|
4919
|
-
}, {
|
|
4920
|
-
readonly internalType: "uint64";
|
|
4921
|
-
readonly name: "ramSize";
|
|
4922
|
-
readonly type: "uint64";
|
|
4923
|
-
}, {
|
|
4924
|
-
readonly internalType: "uint64";
|
|
4925
|
-
readonly name: "gpuSize";
|
|
4926
|
-
readonly type: "uint64";
|
|
4927
|
-
}, {
|
|
4928
|
-
readonly internalType: "uint64";
|
|
4929
|
-
readonly name: "diskSize";
|
|
4930
|
-
readonly type: "uint64";
|
|
4931
|
-
}, {
|
|
4932
|
-
readonly internalType: "uint64";
|
|
4933
|
-
readonly name: "networkSize";
|
|
4934
|
-
readonly type: "uint64";
|
|
4935
|
-
}, {
|
|
4936
|
-
readonly internalType: "uint32";
|
|
4937
|
-
readonly name: "cpuMark";
|
|
4938
|
-
readonly type: "uint32";
|
|
4939
|
-
}, {
|
|
4940
|
-
readonly internalType: "uint32";
|
|
4941
|
-
readonly name: "ramMark";
|
|
4942
|
-
readonly type: "uint32";
|
|
4943
|
-
}, {
|
|
4944
|
-
readonly internalType: "uint32";
|
|
4945
|
-
readonly name: "gpuMark";
|
|
4946
|
-
readonly type: "uint32";
|
|
4947
|
-
}, {
|
|
4948
|
-
readonly internalType: "uint32";
|
|
4949
|
-
readonly name: "diskMark";
|
|
4950
|
-
readonly type: "uint32";
|
|
4951
|
-
}, {
|
|
4952
|
-
readonly internalType: "uint32";
|
|
4953
|
-
readonly name: "networkMark";
|
|
4954
|
-
readonly type: "uint32";
|
|
4621
|
+
readonly type: "uint64";
|
|
4955
4622
|
}];
|
|
4956
|
-
readonly internalType: "struct
|
|
4957
|
-
readonly name: "
|
|
4623
|
+
readonly internalType: "struct SlotInfo";
|
|
4624
|
+
readonly name: "";
|
|
4958
4625
|
readonly type: "tuple";
|
|
4959
4626
|
}];
|
|
4960
4627
|
readonly stateMutability: "view";
|
|
4961
4628
|
readonly type: "function";
|
|
4962
4629
|
}, {
|
|
4963
|
-
readonly inputs: readonly [
|
|
4964
|
-
readonly name: "getLastEpochIndex";
|
|
4965
|
-
readonly outputs: readonly [{
|
|
4630
|
+
readonly inputs: readonly [{
|
|
4966
4631
|
readonly internalType: "uint256";
|
|
4967
|
-
readonly name: "";
|
|
4632
|
+
readonly name: "orderId";
|
|
4968
4633
|
readonly type: "uint256";
|
|
4969
4634
|
}];
|
|
4970
|
-
readonly
|
|
4971
|
-
readonly type: "function";
|
|
4972
|
-
}, {
|
|
4973
|
-
readonly inputs: readonly [];
|
|
4974
|
-
readonly name: "getRewardAccounting";
|
|
4635
|
+
readonly name: "getOrderSelectedUsageSlotUsage";
|
|
4975
4636
|
readonly outputs: readonly [{
|
|
4976
4637
|
readonly components: readonly [{
|
|
4977
|
-
readonly internalType: "
|
|
4978
|
-
readonly name: "
|
|
4979
|
-
readonly type: "
|
|
4638
|
+
readonly internalType: "enum PriceType";
|
|
4639
|
+
readonly name: "priceType";
|
|
4640
|
+
readonly type: "uint8";
|
|
4980
4641
|
}, {
|
|
4981
4642
|
readonly internalType: "uint256";
|
|
4982
|
-
readonly name: "
|
|
4643
|
+
readonly name: "price";
|
|
4983
4644
|
readonly type: "uint256";
|
|
4984
4645
|
}, {
|
|
4985
|
-
readonly internalType: "
|
|
4986
|
-
readonly name: "
|
|
4987
|
-
readonly type: "
|
|
4646
|
+
readonly internalType: "uint64";
|
|
4647
|
+
readonly name: "minTimeMinutes";
|
|
4648
|
+
readonly type: "uint64";
|
|
4649
|
+
}, {
|
|
4650
|
+
readonly internalType: "uint64";
|
|
4651
|
+
readonly name: "maxTimeMinutes";
|
|
4652
|
+
readonly type: "uint64";
|
|
4988
4653
|
}];
|
|
4989
|
-
readonly internalType: "struct
|
|
4654
|
+
readonly internalType: "struct SlotUsage";
|
|
4990
4655
|
readonly name: "";
|
|
4991
4656
|
readonly type: "tuple";
|
|
4992
4657
|
}];
|
|
@@ -4995,17 +4660,23 @@ export declare const abi: readonly [{
|
|
|
4995
4660
|
}, {
|
|
4996
4661
|
readonly inputs: readonly [{
|
|
4997
4662
|
readonly internalType: "uint256";
|
|
4998
|
-
readonly name: "
|
|
4999
|
-
readonly type: "uint256";
|
|
5000
|
-
}, {
|
|
5001
|
-
readonly internalType: "uint256";
|
|
5002
|
-
readonly name: "teeOfferId";
|
|
4663
|
+
readonly name: "orderId";
|
|
5003
4664
|
readonly type: "uint256";
|
|
5004
4665
|
}];
|
|
5005
|
-
readonly name: "
|
|
4666
|
+
readonly name: "getOrderSubOrders";
|
|
4667
|
+
readonly outputs: readonly [{
|
|
4668
|
+
readonly internalType: "uint256[]";
|
|
4669
|
+
readonly name: "";
|
|
4670
|
+
readonly type: "uint256[]";
|
|
4671
|
+
}];
|
|
4672
|
+
readonly stateMutability: "view";
|
|
4673
|
+
readonly type: "function";
|
|
4674
|
+
}, {
|
|
4675
|
+
readonly inputs: readonly [];
|
|
4676
|
+
readonly name: "getOrdersCount";
|
|
5006
4677
|
readonly outputs: readonly [{
|
|
5007
4678
|
readonly internalType: "uint256";
|
|
5008
|
-
readonly name: "
|
|
4679
|
+
readonly name: "";
|
|
5009
4680
|
readonly type: "uint256";
|
|
5010
4681
|
}];
|
|
5011
4682
|
readonly stateMutability: "view";
|
|
@@ -5013,159 +4684,66 @@ export declare const abi: readonly [{
|
|
|
5013
4684
|
}, {
|
|
5014
4685
|
readonly inputs: readonly [{
|
|
5015
4686
|
readonly internalType: "uint256";
|
|
5016
|
-
readonly name: "
|
|
5017
|
-
readonly type: "uint256";
|
|
5018
|
-
}, {
|
|
5019
|
-
readonly internalType: "uint256";
|
|
5020
|
-
readonly name: "teeOfferId";
|
|
4687
|
+
readonly name: "orderId";
|
|
5021
4688
|
readonly type: "uint256";
|
|
5022
4689
|
}];
|
|
5023
|
-
readonly name: "
|
|
4690
|
+
readonly name: "getStartDate";
|
|
5024
4691
|
readonly outputs: readonly [{
|
|
5025
|
-
readonly
|
|
5026
|
-
readonly internalType: "uint256";
|
|
5027
|
-
readonly name: "tcbId";
|
|
5028
|
-
readonly type: "uint256";
|
|
5029
|
-
}, {
|
|
5030
|
-
readonly internalType: "bool";
|
|
5031
|
-
readonly name: "rewardClaimed";
|
|
5032
|
-
readonly type: "bool";
|
|
5033
|
-
}, {
|
|
5034
|
-
readonly components: readonly [{
|
|
5035
|
-
readonly internalType: "uint64";
|
|
5036
|
-
readonly name: "cpuSize";
|
|
5037
|
-
readonly type: "uint64";
|
|
5038
|
-
}, {
|
|
5039
|
-
readonly internalType: "uint64";
|
|
5040
|
-
readonly name: "ramSize";
|
|
5041
|
-
readonly type: "uint64";
|
|
5042
|
-
}, {
|
|
5043
|
-
readonly internalType: "uint64";
|
|
5044
|
-
readonly name: "gpuSize";
|
|
5045
|
-
readonly type: "uint64";
|
|
5046
|
-
}, {
|
|
5047
|
-
readonly internalType: "uint64";
|
|
5048
|
-
readonly name: "diskSize";
|
|
5049
|
-
readonly type: "uint64";
|
|
5050
|
-
}, {
|
|
5051
|
-
readonly internalType: "uint64";
|
|
5052
|
-
readonly name: "networkSize";
|
|
5053
|
-
readonly type: "uint64";
|
|
5054
|
-
}, {
|
|
5055
|
-
readonly internalType: "uint32";
|
|
5056
|
-
readonly name: "cpuMark";
|
|
5057
|
-
readonly type: "uint32";
|
|
5058
|
-
}, {
|
|
5059
|
-
readonly internalType: "uint32";
|
|
5060
|
-
readonly name: "ramMark";
|
|
5061
|
-
readonly type: "uint32";
|
|
5062
|
-
}, {
|
|
5063
|
-
readonly internalType: "uint32";
|
|
5064
|
-
readonly name: "gpuMark";
|
|
5065
|
-
readonly type: "uint32";
|
|
5066
|
-
}, {
|
|
5067
|
-
readonly internalType: "uint32";
|
|
5068
|
-
readonly name: "diskMark";
|
|
5069
|
-
readonly type: "uint32";
|
|
5070
|
-
}, {
|
|
5071
|
-
readonly internalType: "uint32";
|
|
5072
|
-
readonly name: "networkMark";
|
|
5073
|
-
readonly type: "uint32";
|
|
5074
|
-
}];
|
|
5075
|
-
readonly internalType: "struct ConsensusBenchmark";
|
|
5076
|
-
readonly name: "benchmark";
|
|
5077
|
-
readonly type: "tuple";
|
|
5078
|
-
}];
|
|
5079
|
-
readonly internalType: "struct ProviderRewardsStorageAccessor.TEEOffers";
|
|
4692
|
+
readonly internalType: "uint256";
|
|
5080
4693
|
readonly name: "";
|
|
5081
|
-
readonly type: "
|
|
4694
|
+
readonly type: "uint256";
|
|
5082
4695
|
}];
|
|
5083
4696
|
readonly stateMutability: "view";
|
|
5084
4697
|
readonly type: "function";
|
|
5085
4698
|
}, {
|
|
5086
4699
|
readonly inputs: readonly [{
|
|
5087
4700
|
readonly internalType: "uint256";
|
|
5088
|
-
readonly name: "
|
|
4701
|
+
readonly name: "orderId";
|
|
5089
4702
|
readonly type: "uint256";
|
|
5090
4703
|
}];
|
|
5091
|
-
readonly name: "
|
|
5092
|
-
readonly outputs: readonly [
|
|
5093
|
-
|
|
4704
|
+
readonly name: "isOrderCompleted";
|
|
4705
|
+
readonly outputs: readonly [{
|
|
4706
|
+
readonly internalType: "bool";
|
|
4707
|
+
readonly name: "";
|
|
4708
|
+
readonly type: "bool";
|
|
4709
|
+
}];
|
|
4710
|
+
readonly stateMutability: "view";
|
|
5094
4711
|
readonly type: "function";
|
|
5095
4712
|
}, {
|
|
5096
4713
|
readonly inputs: readonly [{
|
|
5097
4714
|
readonly internalType: "uint256";
|
|
5098
|
-
readonly name: "
|
|
5099
|
-
readonly type: "uint256";
|
|
5100
|
-
}, {
|
|
5101
|
-
readonly internalType: "uint256";
|
|
5102
|
-
readonly name: "teeOfferId";
|
|
5103
|
-
readonly type: "uint256";
|
|
5104
|
-
}, {
|
|
5105
|
-
readonly components: readonly [{
|
|
5106
|
-
readonly internalType: "uint64";
|
|
5107
|
-
readonly name: "cpuSize";
|
|
5108
|
-
readonly type: "uint64";
|
|
5109
|
-
}, {
|
|
5110
|
-
readonly internalType: "uint64";
|
|
5111
|
-
readonly name: "ramSize";
|
|
5112
|
-
readonly type: "uint64";
|
|
5113
|
-
}, {
|
|
5114
|
-
readonly internalType: "uint64";
|
|
5115
|
-
readonly name: "gpuSize";
|
|
5116
|
-
readonly type: "uint64";
|
|
5117
|
-
}, {
|
|
5118
|
-
readonly internalType: "uint64";
|
|
5119
|
-
readonly name: "diskSize";
|
|
5120
|
-
readonly type: "uint64";
|
|
5121
|
-
}, {
|
|
5122
|
-
readonly internalType: "uint64";
|
|
5123
|
-
readonly name: "networkSize";
|
|
5124
|
-
readonly type: "uint64";
|
|
5125
|
-
}, {
|
|
5126
|
-
readonly internalType: "uint32";
|
|
5127
|
-
readonly name: "cpuMark";
|
|
5128
|
-
readonly type: "uint32";
|
|
5129
|
-
}, {
|
|
5130
|
-
readonly internalType: "uint32";
|
|
5131
|
-
readonly name: "ramMark";
|
|
5132
|
-
readonly type: "uint32";
|
|
5133
|
-
}, {
|
|
5134
|
-
readonly internalType: "uint32";
|
|
5135
|
-
readonly name: "gpuMark";
|
|
5136
|
-
readonly type: "uint32";
|
|
5137
|
-
}, {
|
|
5138
|
-
readonly internalType: "uint32";
|
|
5139
|
-
readonly name: "diskMark";
|
|
5140
|
-
readonly type: "uint32";
|
|
5141
|
-
}, {
|
|
5142
|
-
readonly internalType: "uint32";
|
|
5143
|
-
readonly name: "networkMark";
|
|
5144
|
-
readonly type: "uint32";
|
|
5145
|
-
}];
|
|
5146
|
-
readonly internalType: "struct ConsensusBenchmark";
|
|
5147
|
-
readonly name: "benchmark";
|
|
5148
|
-
readonly type: "tuple";
|
|
5149
|
-
}, {
|
|
5150
|
-
readonly internalType: "uint256";
|
|
5151
|
-
readonly name: "tcbId";
|
|
4715
|
+
readonly name: "orderId";
|
|
5152
4716
|
readonly type: "uint256";
|
|
5153
4717
|
}];
|
|
5154
|
-
readonly name: "
|
|
5155
|
-
readonly outputs: readonly [
|
|
5156
|
-
|
|
4718
|
+
readonly name: "isOrderProcessing";
|
|
4719
|
+
readonly outputs: readonly [{
|
|
4720
|
+
readonly internalType: "bool";
|
|
4721
|
+
readonly name: "";
|
|
4722
|
+
readonly type: "bool";
|
|
4723
|
+
}];
|
|
4724
|
+
readonly stateMutability: "view";
|
|
5157
4725
|
readonly type: "function";
|
|
5158
4726
|
}, {
|
|
5159
4727
|
readonly inputs: readonly [{
|
|
5160
4728
|
readonly internalType: "uint256";
|
|
5161
|
-
readonly name: "
|
|
4729
|
+
readonly name: "orderId";
|
|
5162
4730
|
readonly type: "uint256";
|
|
5163
|
-
}
|
|
4731
|
+
}];
|
|
4732
|
+
readonly name: "isOrderStarted";
|
|
4733
|
+
readonly outputs: readonly [{
|
|
4734
|
+
readonly internalType: "bool";
|
|
4735
|
+
readonly name: "";
|
|
4736
|
+
readonly type: "bool";
|
|
4737
|
+
}];
|
|
4738
|
+
readonly stateMutability: "view";
|
|
4739
|
+
readonly type: "function";
|
|
4740
|
+
}, {
|
|
4741
|
+
readonly inputs: readonly [{
|
|
5164
4742
|
readonly internalType: "uint256";
|
|
5165
|
-
readonly name: "
|
|
4743
|
+
readonly name: "orderId";
|
|
5166
4744
|
readonly type: "uint256";
|
|
5167
4745
|
}];
|
|
5168
|
-
readonly name: "
|
|
4746
|
+
readonly name: "isOrderValid";
|
|
5169
4747
|
readonly outputs: readonly [{
|
|
5170
4748
|
readonly internalType: "bool";
|
|
5171
4749
|
readonly name: "";
|
|
@@ -5767,21 +5345,6 @@ export declare const abi: readonly [{
|
|
|
5767
5345
|
readonly outputs: readonly [];
|
|
5768
5346
|
readonly stateMutability: "nonpayable";
|
|
5769
5347
|
readonly type: "function";
|
|
5770
|
-
}, {
|
|
5771
|
-
readonly anonymous: false;
|
|
5772
|
-
readonly inputs: readonly [{
|
|
5773
|
-
readonly indexed: false;
|
|
5774
|
-
readonly internalType: "address";
|
|
5775
|
-
readonly name: "oldToken";
|
|
5776
|
-
readonly type: "address";
|
|
5777
|
-
}, {
|
|
5778
|
-
readonly indexed: false;
|
|
5779
|
-
readonly internalType: "address";
|
|
5780
|
-
readonly name: "token";
|
|
5781
|
-
readonly type: "address";
|
|
5782
|
-
}];
|
|
5783
|
-
readonly name: "RewardTokenChanged";
|
|
5784
|
-
readonly type: "event";
|
|
5785
5348
|
}, {
|
|
5786
5349
|
readonly inputs: readonly [{
|
|
5787
5350
|
readonly components: readonly [{
|
|
@@ -5896,14 +5459,18 @@ export declare const abi: readonly [{
|
|
|
5896
5459
|
readonly stateMutability: "pure";
|
|
5897
5460
|
readonly type: "function";
|
|
5898
5461
|
}, {
|
|
5899
|
-
readonly inputs: readonly [
|
|
5462
|
+
readonly inputs: readonly [{
|
|
5463
|
+
readonly internalType: "uint256";
|
|
5464
|
+
readonly name: "epochIndex";
|
|
5465
|
+
readonly type: "uint256";
|
|
5466
|
+
}];
|
|
5900
5467
|
readonly name: "getTeeRewardPerEpoch";
|
|
5901
5468
|
readonly outputs: readonly [{
|
|
5902
5469
|
readonly internalType: "uint256";
|
|
5903
5470
|
readonly name: "";
|
|
5904
5471
|
readonly type: "uint256";
|
|
5905
5472
|
}];
|
|
5906
|
-
readonly stateMutability: "
|
|
5473
|
+
readonly stateMutability: "pure";
|
|
5907
5474
|
readonly type: "function";
|
|
5908
5475
|
}, {
|
|
5909
5476
|
readonly inputs: readonly [];
|
|
@@ -6010,10 +5577,6 @@ export declare const abi: readonly [{
|
|
|
6010
5577
|
readonly internalType: "uint256";
|
|
6011
5578
|
readonly name: "storageRequestFee";
|
|
6012
5579
|
readonly type: "uint256";
|
|
6013
|
-
}, {
|
|
6014
|
-
readonly internalType: "uint256";
|
|
6015
|
-
readonly name: "epochLength";
|
|
6016
|
-
readonly type: "uint256";
|
|
6017
5580
|
}];
|
|
6018
5581
|
readonly internalType: "struct SuperproParams";
|
|
6019
5582
|
readonly name: "params";
|
|
@@ -9520,28 +9083,6 @@ export declare const abi: readonly [{
|
|
|
9520
9083
|
readonly outputs: readonly [];
|
|
9521
9084
|
readonly stateMutability: "nonpayable";
|
|
9522
9085
|
readonly type: "function";
|
|
9523
|
-
}, {
|
|
9524
|
-
readonly inputs: readonly [{
|
|
9525
|
-
readonly internalType: "uint256";
|
|
9526
|
-
readonly name: "tcbTime";
|
|
9527
|
-
readonly type: "uint256";
|
|
9528
|
-
}];
|
|
9529
|
-
readonly name: "getEpochTime";
|
|
9530
|
-
readonly outputs: readonly [{
|
|
9531
|
-
readonly internalType: "uint256";
|
|
9532
|
-
readonly name: "epochStart";
|
|
9533
|
-
readonly type: "uint256";
|
|
9534
|
-
}, {
|
|
9535
|
-
readonly internalType: "uint256";
|
|
9536
|
-
readonly name: "epochEnd";
|
|
9537
|
-
readonly type: "uint256";
|
|
9538
|
-
}, {
|
|
9539
|
-
readonly internalType: "uint256";
|
|
9540
|
-
readonly name: "epochIndex";
|
|
9541
|
-
readonly type: "uint256";
|
|
9542
|
-
}];
|
|
9543
|
-
readonly stateMutability: "view";
|
|
9544
|
-
readonly type: "function";
|
|
9545
9086
|
}, {
|
|
9546
9087
|
readonly inputs: readonly [{
|
|
9547
9088
|
readonly internalType: "uint256";
|