@super-protocol/sdk-js 3.11.8-beta.2 → 3.11.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/cjs/RIGenerator.js +2 -2
  2. package/dist/cjs/TIIGenerator.js +2 -2
  3. package/dist/cjs/TeeInputGeneratorBase.d.ts +2 -2
  4. package/dist/cjs/TeeInputGeneratorBase.js +5 -5
  5. package/dist/cjs/connectors/BlockchainConnector.js +5 -7
  6. package/dist/cjs/constants.d.ts +1 -0
  7. package/dist/cjs/constants.js +3 -2
  8. package/dist/cjs/contracts/abi.d.ts +715 -736
  9. package/dist/cjs/contracts/abi.js +941 -965
  10. package/dist/cjs/index.d.ts +1 -0
  11. package/dist/cjs/index.js +5 -3
  12. package/dist/cjs/models/Provider.d.ts +1 -0
  13. package/dist/cjs/models/Provider.js +7 -1
  14. package/dist/cjs/models/TCB.d.ts +28 -1
  15. package/dist/cjs/models/TCB.js +61 -1
  16. package/dist/cjs/models/TeeOffer.d.ts +18 -3
  17. package/dist/cjs/models/TeeOffer.js +100 -14
  18. package/dist/cjs/staticModels/Consensus.d.ts +16 -5
  19. package/dist/cjs/staticModels/Consensus.js +86 -16
  20. package/dist/cjs/staticModels/Orders.js +6 -14
  21. package/dist/cjs/staticModels/TeeOffers.d.ts +6 -0
  22. package/dist/cjs/staticModels/TeeOffers.js +14 -3
  23. package/dist/cjs/tee/QuoteValidator.d.ts +46 -0
  24. package/dist/cjs/tee/QuoteValidator.js +456 -0
  25. package/dist/cjs/tee/TcbSerializer.d.ts +20 -0
  26. package/dist/cjs/tee/TcbSerializer.js +27 -0
  27. package/dist/cjs/tee/TeeBlockVerifier.d.ts +2 -7
  28. package/dist/cjs/tee/TeeBlockVerifier.js +18 -6
  29. package/dist/cjs/tee/statuses.d.ts +7 -0
  30. package/dist/cjs/tee/statuses.js +10 -2
  31. package/dist/cjs/types/Consensus.d.ts +31 -5
  32. package/dist/cjs/types/Consensus.js +10 -2
  33. package/dist/cjs/types/TeeOfferInfo.d.ts +2 -2
  34. package/dist/cjs/utils/helper.d.ts +8 -7
  35. package/dist/cjs/utils/helper.js +52 -53
  36. package/dist/mjs/RIGenerator.js +2 -2
  37. package/dist/mjs/TIIGenerator.js +2 -2
  38. package/dist/mjs/TeeInputGeneratorBase.d.ts +2 -2
  39. package/dist/mjs/TeeInputGeneratorBase.js +5 -5
  40. package/dist/mjs/connectors/BlockchainConnector.js +5 -7
  41. package/dist/mjs/constants.d.ts +1 -0
  42. package/dist/mjs/constants.js +2 -1
  43. package/dist/mjs/contracts/abi.d.ts +715 -736
  44. package/dist/mjs/contracts/abi.js +939 -963
  45. package/dist/mjs/index.d.ts +1 -0
  46. package/dist/mjs/index.js +2 -1
  47. package/dist/mjs/models/Provider.d.ts +1 -0
  48. package/dist/mjs/models/Provider.js +7 -1
  49. package/dist/mjs/models/TCB.d.ts +28 -1
  50. package/dist/mjs/models/TCB.js +62 -2
  51. package/dist/mjs/models/TeeOffer.d.ts +18 -3
  52. package/dist/mjs/models/TeeOffer.js +95 -9
  53. package/dist/mjs/staticModels/Consensus.d.ts +16 -5
  54. package/dist/mjs/staticModels/Consensus.js +87 -17
  55. package/dist/mjs/staticModels/Orders.js +6 -14
  56. package/dist/mjs/staticModels/TeeOffers.d.ts +6 -0
  57. package/dist/mjs/staticModels/TeeOffers.js +15 -4
  58. package/dist/mjs/tee/QuoteValidator.d.ts +46 -0
  59. package/dist/mjs/tee/QuoteValidator.js +449 -0
  60. package/dist/mjs/tee/TcbSerializer.d.ts +20 -0
  61. package/dist/mjs/tee/TcbSerializer.js +23 -0
  62. package/dist/mjs/tee/TeeBlockVerifier.d.ts +2 -7
  63. package/dist/mjs/tee/TeeBlockVerifier.js +18 -6
  64. package/dist/mjs/tee/statuses.d.ts +7 -0
  65. package/dist/mjs/tee/statuses.js +9 -1
  66. package/dist/mjs/types/Consensus.d.ts +31 -5
  67. package/dist/mjs/types/Consensus.js +9 -1
  68. package/dist/mjs/types/TeeOfferInfo.d.ts +2 -2
  69. package/dist/mjs/utils/helper.d.ts +8 -7
  70. package/dist/mjs/utils/helper.js +50 -53
  71. package/package.json +2 -2
@@ -1,8 +1,9 @@
1
1
  export declare const Approval: "Approval";
2
2
  export declare const Transfer: "Transfer";
3
- export declare const SetCRL: "SetCRL";
4
- export declare const SetRootCert: "SetRootCert";
5
- export declare const TcbAdded: "TcbAdded";
3
+ export declare const TcbBenchmarkChanged: "TcbBenchmarkChanged";
4
+ export declare const TcbCompleted: "TcbCompleted";
5
+ export declare const TcbInitialized: "TcbInitialized";
6
+ export declare const TcbBanned: "TcbBanned";
6
7
  export declare const DepositPartLocked: "DepositPartLocked";
7
8
  export declare const DepositPartUnlocked: "DepositPartUnlocked";
8
9
  export declare const DepositReplenished: "DepositReplenished";
@@ -64,26 +65,8 @@ export declare const OrderResourceCreated: "OrderResourceCreated";
64
65
  export declare const OfferStorageRequestCanceled: "OfferStorageRequestCanceled";
65
66
  export declare const OfferStorageRequestCreated: "OfferStorageRequestCreated";
66
67
  export declare const SecretRequestCreated: "SecretRequestCreated";
67
- export type AbiEvent = typeof Approval | typeof Transfer | typeof SetCRL | typeof SetRootCert | typeof TcbAdded | typeof DepositPartLocked | typeof DepositPartUnlocked | typeof DepositReplenished | typeof DepositWithdrawn | typeof ProfitWithdrawn | typeof OfferCreated | typeof OfferDisabled | typeof OfferEnabled | typeof OfferVersionAdded | typeof OfferVersionDeleted | typeof SetValueOfferRestrictions | typeof TeeOfferCreated | typeof TeeOfferViolationRateChanged | typeof OrdersGroupCreated | typeof OrderCreated | typeof OrderStatusUpdated | typeof OrderAwaitingPaymentChanged | typeof OrderChangeWithdrawn | typeof OrderDepositRefilled | typeof OrderProfitWithdrawn | typeof OrderEncryptedResultUpdated | typeof OrderStarted | typeof OrderOptionsChangeRequested | typeof OrderOptionsChanged | typeof OrderSlotCountUpdateRequested | typeof OrderSlotCountUpdated | typeof RewardsClaimed | typeof SetValueOfferIgnored | typeof ProviderDepositTokenUpdated | typeof ProviderModified | typeof ProviderRegistered | typeof ProviderSecurityDepoRefilled | typeof ProviderSecurityDepoUnlocked | typeof ProviderViolationRateIncremented | typeof DepositConfiscated | typeof RewardConfiscated | typeof RewardTokenChanged | typeof StorageLocked | typeof TokenInfoUpdated | typeof TokenRemoved | typeof ValueRewardsEnabled | 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 LoaderSecretAccessPublicKeySessionUpdated | typeof LoaderSessionKeyUpdated | typeof OfferResourceCreated | typeof OrderResourceCreated | typeof OfferStorageRequestCanceled | typeof OfferStorageRequestCreated | typeof SecretRequestCreated;
68
+ export type AbiEvent = typeof Approval | typeof Transfer | typeof TcbBenchmarkChanged | typeof TcbCompleted | typeof TcbInitialized | typeof TcbBanned | typeof DepositPartLocked | typeof DepositPartUnlocked | typeof DepositReplenished | typeof DepositWithdrawn | typeof ProfitWithdrawn | typeof OfferCreated | typeof OfferDisabled | typeof OfferEnabled | typeof OfferVersionAdded | typeof OfferVersionDeleted | typeof SetValueOfferRestrictions | typeof TeeOfferCreated | typeof TeeOfferViolationRateChanged | typeof OrdersGroupCreated | typeof OrderCreated | typeof OrderStatusUpdated | typeof OrderAwaitingPaymentChanged | typeof OrderChangeWithdrawn | typeof OrderDepositRefilled | typeof OrderProfitWithdrawn | typeof OrderEncryptedResultUpdated | typeof OrderStarted | typeof OrderOptionsChangeRequested | typeof OrderOptionsChanged | typeof OrderSlotCountUpdateRequested | typeof OrderSlotCountUpdated | typeof RewardsClaimed | typeof SetValueOfferIgnored | typeof ProviderDepositTokenUpdated | typeof ProviderModified | typeof ProviderRegistered | typeof ProviderSecurityDepoRefilled | typeof ProviderSecurityDepoUnlocked | typeof ProviderViolationRateIncremented | typeof DepositConfiscated | typeof RewardConfiscated | typeof RewardTokenChanged | typeof StorageLocked | typeof TokenInfoUpdated | typeof TokenRemoved | typeof ValueRewardsEnabled | 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 LoaderSecretAccessPublicKeySessionUpdated | typeof LoaderSessionKeyUpdated | typeof OfferResourceCreated | typeof OrderResourceCreated | typeof OfferStorageRequestCanceled | typeof OfferStorageRequestCreated | typeof SecretRequestCreated;
68
69
  export declare const abi: readonly [{
69
- readonly inputs: readonly [{
70
- readonly internalType: "bytes32";
71
- readonly name: "hash";
72
- readonly type: "bytes32";
73
- }, {
74
- readonly internalType: "bytes";
75
- readonly name: "signature";
76
- readonly type: "bytes";
77
- }];
78
- readonly name: "isValidSignature";
79
- readonly outputs: readonly [{
80
- readonly internalType: "bytes4";
81
- readonly name: "magicValue";
82
- readonly type: "bytes4";
83
- }];
84
- readonly stateMutability: "view";
85
- readonly type: "function";
86
- }, {
87
70
  readonly anonymous: false;
88
71
  readonly inputs: readonly [{
89
72
  readonly indexed: true;
@@ -543,459 +526,178 @@ export declare const abi: readonly [{
543
526
  readonly anonymous: false;
544
527
  readonly inputs: readonly [{
545
528
  readonly indexed: true;
546
- readonly internalType: "bytes32";
547
- readonly name: "id";
548
- readonly type: "bytes32";
549
- }, {
550
- readonly indexed: true;
551
- readonly internalType: "bytes32";
552
- readonly name: "childId";
553
- readonly type: "bytes32";
529
+ readonly internalType: "uint256";
530
+ readonly name: "tcbId";
531
+ readonly type: "uint256";
554
532
  }, {
555
533
  readonly indexed: true;
556
- readonly internalType: "bool";
557
- readonly name: "isBlacklisted";
558
- readonly type: "bool";
534
+ readonly internalType: "address";
535
+ readonly name: "action";
536
+ readonly type: "address";
559
537
  }];
560
- readonly name: "SetCRL";
538
+ readonly name: "TcbBenchmarkChanged";
561
539
  readonly type: "event";
562
540
  }, {
563
541
  readonly anonymous: false;
564
542
  readonly inputs: readonly [{
565
543
  readonly indexed: true;
566
544
  readonly internalType: "uint256";
567
- readonly name: "id";
545
+ readonly name: "tcbId";
568
546
  readonly type: "uint256";
547
+ }, {
548
+ readonly indexed: true;
549
+ readonly internalType: "address";
550
+ readonly name: "action";
551
+ readonly type: "address";
569
552
  }];
570
- readonly name: "SetRootCert";
553
+ readonly name: "TcbCompleted";
571
554
  readonly type: "event";
572
555
  }, {
556
+ readonly anonymous: false;
573
557
  readonly inputs: readonly [{
574
- readonly internalType: "bytes32";
575
- readonly name: "";
576
- readonly type: "bytes32";
558
+ readonly indexed: true;
559
+ readonly internalType: "uint256";
560
+ readonly name: "tcbId";
561
+ readonly type: "uint256";
577
562
  }, {
578
- readonly internalType: "bytes32";
579
- readonly name: "";
580
- readonly type: "bytes32";
581
- }];
582
- readonly name: "crl";
583
- readonly outputs: readonly [{
584
- readonly internalType: "bool";
585
- readonly name: "";
586
- readonly type: "bool";
563
+ readonly indexed: true;
564
+ readonly internalType: "address";
565
+ readonly name: "action";
566
+ readonly type: "address";
587
567
  }];
588
- readonly stateMutability: "view";
589
- readonly type: "function";
568
+ readonly name: "TcbInitialized";
569
+ readonly type: "event";
590
570
  }, {
591
571
  readonly inputs: readonly [{
592
572
  readonly internalType: "uint256";
593
- readonly name: "rootCertId";
573
+ readonly name: "tcbId";
594
574
  readonly type: "uint256";
595
575
  }];
596
- readonly name: "getRootCert";
597
- readonly outputs: readonly [{
598
- readonly components: readonly [{
599
- readonly internalType: "bytes[6]";
600
- readonly name: "bodyParts";
601
- readonly type: "bytes[6]";
602
- }, {
603
- readonly internalType: "uint256";
604
- readonly name: "expirationDate";
605
- readonly type: "uint256";
606
- }, {
607
- readonly internalType: "bytes1";
608
- readonly name: "ca";
609
- readonly type: "bytes1";
610
- }, {
611
- readonly internalType: "bytes32";
612
- readonly name: "tcbDataHash";
613
- readonly type: "bytes32";
614
- }, {
615
- readonly internalType: "bytes";
616
- readonly name: "publicKey";
617
- readonly type: "bytes";
618
- }, {
619
- readonly internalType: "bytes32";
620
- readonly name: "id";
621
- readonly type: "bytes32";
622
- }, {
623
- readonly internalType: "bytes";
624
- readonly name: "signature";
625
- readonly type: "bytes";
626
- }];
627
- readonly internalType: "struct ChunkedX509Cert";
628
- readonly name: "";
629
- readonly type: "tuple";
630
- }];
631
- readonly stateMutability: "view";
576
+ readonly name: "addTcbToSupply";
577
+ readonly outputs: readonly [];
578
+ readonly stateMutability: "nonpayable";
632
579
  readonly type: "function";
633
580
  }, {
634
581
  readonly inputs: readonly [{
635
- readonly components: readonly [{
636
- readonly internalType: "bytes[6]";
637
- readonly name: "bodyParts";
638
- readonly type: "bytes[6]";
639
- }, {
640
- readonly internalType: "uint256";
641
- readonly name: "expirationDate";
642
- readonly type: "uint256";
643
- }, {
644
- readonly internalType: "bytes1";
645
- readonly name: "ca";
646
- readonly type: "bytes1";
647
- }, {
648
- readonly internalType: "bytes32";
649
- readonly name: "tcbDataHash";
650
- readonly type: "bytes32";
651
- }, {
652
- readonly internalType: "bytes";
653
- readonly name: "publicKey";
654
- readonly type: "bytes";
655
- }, {
656
- readonly internalType: "bytes32";
657
- readonly name: "id";
658
- readonly type: "bytes32";
659
- }, {
660
- readonly internalType: "bytes";
661
- readonly name: "signature";
662
- readonly type: "bytes";
663
- }];
664
- readonly internalType: "struct ChunkedX509Cert[]";
665
- readonly name: "certsChain";
666
- readonly type: "tuple[]";
582
+ readonly internalType: "enum TcbVerifiedStatus[]";
583
+ readonly name: "marks";
584
+ readonly type: "uint8[]";
667
585
  }, {
668
586
  readonly internalType: "uint256";
669
- readonly name: "rootCertId";
587
+ readonly name: "tcbId";
670
588
  readonly type: "uint256";
671
- }, {
672
- readonly components: readonly [{
673
- readonly internalType: "bytes32";
674
- readonly name: "id";
675
- readonly type: "bytes32";
676
- }, {
677
- readonly internalType: "bool";
678
- readonly name: "isBlacklisted";
679
- readonly type: "bool";
680
- }];
681
- readonly internalType: "struct CertBlackList[]";
682
- readonly name: "blacklistedCerts";
683
- readonly type: "tuple[]";
684
- }, {
685
- readonly internalType: "bytes";
686
- readonly name: "signature";
687
- readonly type: "bytes";
688
589
  }];
689
- readonly name: "setCRL";
590
+ readonly name: "applyTcbMarks";
690
591
  readonly outputs: readonly [];
691
592
  readonly stateMutability: "nonpayable";
692
593
  readonly type: "function";
693
594
  }, {
694
595
  readonly inputs: readonly [{
695
- readonly components: readonly [{
696
- readonly internalType: "bytes[6]";
697
- readonly name: "bodyParts";
698
- readonly type: "bytes[6]";
699
- }, {
700
- readonly internalType: "uint256";
701
- readonly name: "expirationDate";
702
- readonly type: "uint256";
703
- }, {
704
- readonly internalType: "bytes1";
705
- readonly name: "ca";
706
- readonly type: "bytes1";
707
- }, {
708
- readonly internalType: "bytes32";
709
- readonly name: "tcbDataHash";
710
- readonly type: "bytes32";
711
- }, {
712
- readonly internalType: "bytes";
713
- readonly name: "publicKey";
714
- readonly type: "bytes";
715
- }, {
716
- readonly internalType: "bytes32";
717
- readonly name: "id";
718
- readonly type: "bytes32";
719
- }, {
720
- readonly internalType: "bytes";
721
- readonly name: "signature";
722
- readonly type: "bytes";
723
- }];
724
- readonly internalType: "struct ChunkedX509Cert";
725
- readonly name: "cert";
726
- readonly type: "tuple";
727
- }, {
728
596
  readonly internalType: "uint256";
729
- readonly name: "id";
597
+ readonly name: "tcbId";
730
598
  readonly type: "uint256";
731
599
  }];
732
- readonly name: "setRootCert";
600
+ readonly name: "assignLastBlocksToCheck";
733
601
  readonly outputs: readonly [];
734
602
  readonly stateMutability: "nonpayable";
735
603
  readonly type: "function";
736
604
  }, {
737
605
  readonly inputs: readonly [{
738
- readonly components: readonly [{
739
- readonly internalType: "bytes[6]";
740
- readonly name: "bodyParts";
741
- readonly type: "bytes[6]";
742
- }, {
743
- readonly internalType: "uint256";
744
- readonly name: "expirationDate";
745
- readonly type: "uint256";
746
- }, {
747
- readonly internalType: "bytes1";
748
- readonly name: "ca";
749
- readonly type: "bytes1";
750
- }, {
751
- readonly internalType: "bytes32";
752
- readonly name: "tcbDataHash";
753
- readonly type: "bytes32";
754
- }, {
755
- readonly internalType: "bytes";
756
- readonly name: "publicKey";
757
- readonly type: "bytes";
758
- }, {
759
- readonly internalType: "bytes32";
760
- readonly name: "id";
761
- readonly type: "bytes32";
762
- }, {
763
- readonly internalType: "bytes";
764
- readonly name: "signature";
765
- readonly type: "bytes";
766
- }];
767
- readonly internalType: "struct ChunkedX509Cert";
768
- readonly name: "cert";
769
- readonly type: "tuple";
770
- }, {
771
- readonly internalType: "bytes";
772
- readonly name: "caPubKey";
773
- readonly type: "bytes";
774
- }];
775
- readonly name: "verifyCert";
776
- readonly outputs: readonly [{
777
- readonly internalType: "bytes32";
778
- readonly name: "certHash";
779
- readonly type: "bytes32";
606
+ readonly internalType: "uint256";
607
+ readonly name: "tcbId";
608
+ readonly type: "uint256";
780
609
  }];
781
- readonly stateMutability: "view";
610
+ readonly name: "assignSuspiciousBlocksToCheck";
611
+ readonly outputs: readonly [];
612
+ readonly stateMutability: "nonpayable";
782
613
  readonly type: "function";
783
614
  }, {
784
615
  readonly inputs: readonly [{
785
- readonly components: readonly [{
786
- readonly internalType: "bytes[6]";
787
- readonly name: "bodyParts";
788
- readonly type: "bytes[6]";
789
- }, {
790
- readonly internalType: "uint256";
791
- readonly name: "expirationDate";
792
- readonly type: "uint256";
793
- }, {
794
- readonly internalType: "bytes1";
795
- readonly name: "ca";
796
- readonly type: "bytes1";
797
- }, {
798
- readonly internalType: "bytes32";
799
- readonly name: "tcbDataHash";
800
- readonly type: "bytes32";
801
- }, {
802
- readonly internalType: "bytes";
803
- readonly name: "publicKey";
804
- readonly type: "bytes";
805
- }, {
806
- readonly internalType: "bytes32";
807
- readonly name: "id";
808
- readonly type: "bytes32";
809
- }, {
810
- readonly internalType: "bytes";
811
- readonly name: "signature";
812
- readonly type: "bytes";
813
- }];
814
- readonly internalType: "struct ChunkedX509Cert[]";
815
- readonly name: "certsChain";
816
- readonly type: "tuple[]";
817
- }, {
818
616
  readonly internalType: "uint256";
819
- readonly name: "rootCertId";
617
+ readonly name: "teeOfferId";
820
618
  readonly type: "uint256";
821
619
  }];
822
- readonly name: "verifyCertChain";
620
+ readonly name: "getActualTcbId";
823
621
  readonly outputs: readonly [{
824
- readonly internalType: "bytes32";
825
- readonly name: "leafCertHash";
826
- readonly type: "bytes32";
622
+ readonly internalType: "uint256";
623
+ readonly name: "";
624
+ readonly type: "uint256";
827
625
  }];
828
626
  readonly stateMutability: "view";
829
627
  readonly type: "function";
830
628
  }, {
831
- readonly anonymous: false;
832
- readonly inputs: readonly [{
833
- readonly indexed: true;
834
- readonly internalType: "uint256";
835
- readonly name: "tcbId";
836
- readonly type: "uint256";
629
+ readonly inputs: readonly [];
630
+ readonly name: "getConsensusConstants";
631
+ readonly outputs: readonly [{
632
+ readonly internalType: "uint8";
633
+ readonly name: "";
634
+ readonly type: "uint8";
837
635
  }, {
838
- readonly indexed: true;
839
- readonly internalType: "address";
840
- readonly name: "action";
841
- readonly type: "address";
636
+ readonly internalType: "uint8";
637
+ readonly name: "";
638
+ readonly type: "uint8";
639
+ }, {
640
+ readonly internalType: "uint8";
641
+ readonly name: "";
642
+ readonly type: "uint8";
643
+ }, {
644
+ readonly internalType: "uint8";
645
+ readonly name: "";
646
+ readonly type: "uint8";
647
+ }, {
648
+ readonly internalType: "uint8";
649
+ readonly name: "";
650
+ readonly type: "uint8";
842
651
  }];
843
- readonly name: "TcbAdded";
844
- readonly type: "event";
652
+ readonly stateMutability: "pure";
653
+ readonly type: "function";
845
654
  }, {
846
655
  readonly inputs: readonly [{
847
- readonly components: readonly [{
848
- readonly internalType: "bytes[6]";
849
- readonly name: "bodyParts";
850
- readonly type: "bytes[6]";
851
- }, {
852
- readonly internalType: "uint256";
853
- readonly name: "expirationDate";
854
- readonly type: "uint256";
855
- }, {
856
- readonly internalType: "bytes1";
857
- readonly name: "ca";
858
- readonly type: "bytes1";
859
- }, {
860
- readonly internalType: "bytes32";
861
- readonly name: "tcbDataHash";
862
- readonly type: "bytes32";
863
- }, {
864
- readonly internalType: "bytes";
865
- readonly name: "publicKey";
866
- readonly type: "bytes";
867
- }, {
868
- readonly internalType: "bytes32";
869
- readonly name: "id";
870
- readonly type: "bytes32";
871
- }, {
872
- readonly internalType: "bytes";
873
- readonly name: "signature";
874
- readonly type: "bytes";
875
- }];
876
- readonly internalType: "struct ChunkedX509Cert[]";
877
- readonly name: "certsChain";
878
- readonly type: "tuple[]";
879
- }, {
880
656
  readonly internalType: "uint256";
881
- readonly name: "rootCertId";
657
+ readonly name: "teeOfferId";
882
658
  readonly type: "uint256";
883
- }, {
659
+ }];
660
+ readonly name: "getInitializedTcbId";
661
+ readonly outputs: readonly [{
884
662
  readonly internalType: "uint256";
885
- readonly name: "teeOfferId";
663
+ readonly name: "";
886
664
  readonly type: "uint256";
887
- }, {
888
- readonly components: readonly [{
889
- readonly internalType: "uint64";
890
- readonly name: "cpuSize";
891
- readonly type: "uint64";
892
- }, {
893
- readonly internalType: "uint64";
894
- readonly name: "ramSize";
895
- readonly type: "uint64";
896
- }, {
897
- readonly internalType: "uint64";
898
- readonly name: "gpuSize";
899
- readonly type: "uint64";
900
- }, {
901
- readonly internalType: "uint64";
902
- readonly name: "diskSize";
903
- readonly type: "uint64";
904
- }, {
905
- readonly internalType: "uint64";
906
- readonly name: "networkSize";
907
- readonly type: "uint64";
908
- }, {
909
- readonly internalType: "uint64";
910
- readonly name: "vramSize";
911
- readonly type: "uint64";
912
- }, {
913
- readonly internalType: "uint32";
914
- readonly name: "cpuMark";
915
- readonly type: "uint32";
916
- }, {
917
- readonly internalType: "uint32";
918
- readonly name: "ramMark";
919
- readonly type: "uint32";
920
- }, {
921
- readonly internalType: "uint32";
922
- readonly name: "gpuMark";
923
- readonly type: "uint32";
924
- }, {
925
- readonly internalType: "uint32";
926
- readonly name: "diskMark";
927
- readonly type: "uint32";
928
- }, {
929
- readonly internalType: "uint32";
930
- readonly name: "networkMark";
931
- readonly type: "uint32";
932
- }, {
933
- readonly components: readonly [{
934
- readonly internalType: "bytes16";
935
- readonly name: "vendorId";
936
- readonly type: "bytes16";
937
- }, {
938
- readonly internalType: "uint128";
939
- readonly name: "cpuFamily";
940
- readonly type: "uint128";
941
- }, {
942
- readonly internalType: "uint128";
943
- readonly name: "model";
944
- readonly type: "uint128";
945
- }, {
946
- readonly internalType: "bytes16";
947
- readonly name: "modelName";
948
- readonly type: "bytes16";
949
- }, {
950
- readonly internalType: "uint32";
951
- readonly name: "totalPhysicalCores";
952
- readonly type: "uint32";
953
- }, {
954
- readonly internalType: "uint32";
955
- readonly name: "baseFreq";
956
- readonly type: "uint32";
957
- }, {
958
- readonly internalType: "uint32";
959
- readonly name: "maxFreq";
960
- readonly type: "uint32";
961
- }];
962
- readonly internalType: "struct CpuInfo";
963
- readonly name: "cpuInfo";
964
- readonly type: "tuple";
965
- }];
966
- readonly internalType: "struct ConsensusBenchmarkView";
967
- readonly name: "benchmark";
968
- readonly type: "tuple";
969
- }, {
970
- readonly internalType: "string";
971
- readonly name: "pubKey";
972
- readonly type: "string";
973
665
  }];
974
- readonly name: "addTcb";
975
- readonly outputs: readonly [];
976
- readonly stateMutability: "nonpayable";
666
+ readonly stateMutability: "view";
977
667
  readonly type: "function";
978
668
  }, {
979
- readonly inputs: readonly [{
980
- readonly internalType: "bytes32";
981
- readonly name: "leafCertHash";
982
- readonly type: "bytes32";
983
- }];
984
- readonly name: "certHashIsUnique";
669
+ readonly inputs: readonly [];
670
+ readonly name: "getLastBlockTable";
985
671
  readonly outputs: readonly [{
986
- readonly internalType: "bool";
672
+ readonly internalType: "uint256[]";
987
673
  readonly name: "";
988
- readonly type: "bool";
674
+ readonly type: "uint256[]";
989
675
  }];
990
676
  readonly stateMutability: "view";
991
677
  readonly type: "function";
992
678
  }, {
993
- readonly inputs: readonly [{
679
+ readonly inputs: readonly [];
680
+ readonly name: "getLastBlockTableSize";
681
+ readonly outputs: readonly [{
994
682
  readonly internalType: "uint256";
995
- readonly name: "teeOfferId";
683
+ readonly name: "";
996
684
  readonly type: "uint256";
997
685
  }];
998
- readonly name: "getActualTcbId";
686
+ readonly stateMutability: "view";
687
+ readonly type: "function";
688
+ }, {
689
+ readonly inputs: readonly [];
690
+ readonly name: "getSuspiciousBlockTable";
691
+ readonly outputs: readonly [{
692
+ readonly internalType: "uint256[]";
693
+ readonly name: "";
694
+ readonly type: "uint256[]";
695
+ }];
696
+ readonly stateMutability: "view";
697
+ readonly type: "function";
698
+ }, {
699
+ readonly inputs: readonly [];
700
+ readonly name: "getSuspiciousBlockTableSize";
999
701
  readonly outputs: readonly [{
1000
702
  readonly internalType: "uint256";
1001
703
  readonly name: "";
@@ -1017,11 +719,11 @@ export declare const abi: readonly [{
1017
719
  readonly type: "uint256";
1018
720
  }, {
1019
721
  readonly internalType: "uint256";
1020
- readonly name: "lastBlocksTakenAmount_DEPRECATED";
722
+ readonly name: "lastBlocksTakenAmount";
1021
723
  readonly type: "uint256";
1022
724
  }, {
1023
725
  readonly internalType: "uint256";
1024
- readonly name: "suspiciousBlocksTakenAmount_DEPRECATED";
726
+ readonly name: "suspiciousBlocksTakenAmount";
1025
727
  readonly type: "uint256";
1026
728
  }, {
1027
729
  readonly internalType: "uint256";
@@ -1037,61 +739,24 @@ export declare const abi: readonly [{
1037
739
  readonly type: "uint8";
1038
740
  }, {
1039
741
  readonly internalType: "uint16";
1040
- readonly name: "negative_DEPRECATED";
742
+ readonly name: "negative";
1041
743
  readonly type: "uint16";
1042
744
  }, {
1043
745
  readonly internalType: "uint16";
1044
- readonly name: "positive_DEPRECATED";
746
+ readonly name: "positive";
1045
747
  readonly type: "uint16";
1046
748
  }, {
1047
749
  readonly internalType: "bool";
1048
- readonly name: "lastBlocksTaken_DEPRECATED";
750
+ readonly name: "lastBlocksTaken";
1049
751
  readonly type: "bool";
1050
752
  }, {
1051
753
  readonly internalType: "bool";
1052
- readonly name: "suspiciousBlocksTaken_DEPRECATED";
754
+ readonly name: "suspiciousBlocksTaken";
1053
755
  readonly type: "bool";
1054
756
  }, {
1055
757
  readonly internalType: "bool";
1056
- readonly name: "checked_DEPRECATED";
758
+ readonly name: "checked";
1057
759
  readonly type: "bool";
1058
- }, {
1059
- readonly components: readonly [{
1060
- readonly internalType: "bytes[6]";
1061
- readonly name: "bodyParts";
1062
- readonly type: "bytes[6]";
1063
- }, {
1064
- readonly internalType: "uint256";
1065
- readonly name: "expirationDate";
1066
- readonly type: "uint256";
1067
- }, {
1068
- readonly internalType: "bytes1";
1069
- readonly name: "ca";
1070
- readonly type: "bytes1";
1071
- }, {
1072
- readonly internalType: "bytes32";
1073
- readonly name: "tcbDataHash";
1074
- readonly type: "bytes32";
1075
- }, {
1076
- readonly internalType: "bytes";
1077
- readonly name: "publicKey";
1078
- readonly type: "bytes";
1079
- }, {
1080
- readonly internalType: "bytes32";
1081
- readonly name: "id";
1082
- readonly type: "bytes32";
1083
- }, {
1084
- readonly internalType: "bytes";
1085
- readonly name: "signature";
1086
- readonly type: "bytes";
1087
- }];
1088
- readonly internalType: "struct ChunkedX509Cert[]";
1089
- readonly name: "certsChain";
1090
- readonly type: "tuple[]";
1091
- }, {
1092
- readonly internalType: "uint256";
1093
- readonly name: "rootCertId";
1094
- readonly type: "uint256";
1095
760
  }];
1096
761
  readonly internalType: "struct Tcb";
1097
762
  readonly name: "response";
@@ -1121,34 +786,311 @@ export declare const abi: readonly [{
1121
786
  readonly name: "epochIndexes";
1122
787
  readonly type: "uint256[]";
1123
788
  }];
1124
- readonly stateMutability: "view";
789
+ readonly stateMutability: "view";
790
+ readonly type: "function";
791
+ }, {
792
+ readonly inputs: readonly [{
793
+ readonly internalType: "uint256[]";
794
+ readonly name: "tcbIds";
795
+ readonly type: "uint256[]";
796
+ }];
797
+ readonly name: "getTcbsPublicData";
798
+ readonly outputs: readonly [{
799
+ readonly components: readonly [{
800
+ readonly internalType: "uint256[]";
801
+ readonly name: "checkingTcbIds";
802
+ readonly type: "uint256[]";
803
+ }, {
804
+ readonly internalType: "enum TcbVerifiedStatus[]";
805
+ readonly name: "checkingTcbMarks";
806
+ readonly type: "uint8[]";
807
+ }, {
808
+ readonly internalType: "bytes32";
809
+ readonly name: "deviceId";
810
+ readonly type: "bytes32";
811
+ }, {
812
+ readonly internalType: "string";
813
+ readonly name: "properties";
814
+ readonly type: "string";
815
+ }];
816
+ readonly internalType: "struct TcbPublicData[]";
817
+ readonly name: "";
818
+ readonly type: "tuple[]";
819
+ }];
820
+ readonly stateMutability: "view";
821
+ readonly type: "function";
822
+ }, {
823
+ readonly inputs: readonly [{
824
+ readonly internalType: "uint256[]";
825
+ readonly name: "tcbIds";
826
+ readonly type: "uint256[]";
827
+ }];
828
+ readonly name: "getTcbsUtilityData";
829
+ readonly outputs: readonly [{
830
+ readonly components: readonly [{
831
+ readonly internalType: "uint256";
832
+ readonly name: "teeOfferId";
833
+ readonly type: "uint256";
834
+ }, {
835
+ readonly internalType: "string";
836
+ readonly name: "pubKey";
837
+ readonly type: "string";
838
+ }, {
839
+ readonly internalType: "string";
840
+ readonly name: "quote";
841
+ readonly type: "string";
842
+ }];
843
+ readonly internalType: "struct TcbUtilityData[]";
844
+ readonly name: "";
845
+ readonly type: "tuple[]";
846
+ }];
847
+ readonly stateMutability: "view";
848
+ readonly type: "function";
849
+ }, {
850
+ readonly inputs: readonly [{
851
+ readonly internalType: "uint256";
852
+ readonly name: "teeOfferId";
853
+ readonly type: "uint256";
854
+ }, {
855
+ readonly internalType: "bytes32";
856
+ readonly name: "newDeviceId";
857
+ readonly type: "bytes32";
858
+ }];
859
+ readonly name: "initializeTcb";
860
+ readonly outputs: readonly [];
861
+ readonly stateMutability: "nonpayable";
862
+ readonly type: "function";
863
+ }, {
864
+ readonly inputs: readonly [{
865
+ readonly internalType: "uint256";
866
+ readonly name: "offerId";
867
+ readonly type: "uint256";
868
+ }];
869
+ readonly name: "isBenchmarkChangedByLastBlock";
870
+ readonly outputs: readonly [{
871
+ readonly internalType: "bool";
872
+ readonly name: "";
873
+ readonly type: "bool";
874
+ }];
875
+ readonly stateMutability: "view";
876
+ readonly type: "function";
877
+ }, {
878
+ readonly inputs: readonly [{
879
+ readonly internalType: "uint256";
880
+ readonly name: "teeOfferId";
881
+ readonly type: "uint256";
882
+ }, {
883
+ readonly internalType: "bytes32";
884
+ readonly name: "deviceId";
885
+ readonly type: "bytes32";
886
+ }];
887
+ readonly name: "isTcbCreationAvailable";
888
+ readonly outputs: readonly [{
889
+ readonly internalType: "bool";
890
+ readonly name: "offerNotBlocked";
891
+ readonly type: "bool";
892
+ }, {
893
+ readonly internalType: "bool";
894
+ readonly name: "newEpochStarted";
895
+ readonly type: "bool";
896
+ }, {
897
+ readonly internalType: "bool";
898
+ readonly name: "halfEpochPassed";
899
+ readonly type: "bool";
900
+ }, {
901
+ readonly internalType: "bool";
902
+ readonly name: "benchmarkVerified";
903
+ readonly type: "bool";
904
+ }];
905
+ readonly stateMutability: "view";
906
+ readonly type: "function";
907
+ }, {
908
+ readonly inputs: readonly [{
909
+ readonly internalType: "uint256";
910
+ readonly name: "tcbId";
911
+ readonly type: "uint256";
912
+ }];
913
+ readonly name: "isTcbVerified";
914
+ readonly outputs: readonly [{
915
+ readonly internalType: "bool";
916
+ readonly name: "";
917
+ readonly type: "bool";
918
+ }];
919
+ readonly stateMutability: "view";
920
+ readonly type: "function";
921
+ }, {
922
+ readonly inputs: readonly [{
923
+ readonly internalType: "uint256";
924
+ readonly name: "offerId";
925
+ readonly type: "uint256";
926
+ }];
927
+ readonly name: "isTeeOfferVerified";
928
+ readonly outputs: readonly [{
929
+ readonly internalType: "bool";
930
+ readonly name: "";
931
+ readonly type: "bool";
932
+ }];
933
+ readonly stateMutability: "view";
934
+ readonly type: "function";
935
+ }, {
936
+ readonly inputs: readonly [{
937
+ readonly internalType: "uint256";
938
+ readonly name: "tcbId";
939
+ readonly type: "uint256";
940
+ }, {
941
+ readonly components: readonly [{
942
+ readonly internalType: "uint64";
943
+ readonly name: "cpuSize";
944
+ readonly type: "uint64";
945
+ }, {
946
+ readonly internalType: "uint64";
947
+ readonly name: "ramSize";
948
+ readonly type: "uint64";
949
+ }, {
950
+ readonly internalType: "uint64";
951
+ readonly name: "gpuSize";
952
+ readonly type: "uint64";
953
+ }, {
954
+ readonly internalType: "uint64";
955
+ readonly name: "diskSize";
956
+ readonly type: "uint64";
957
+ }, {
958
+ readonly internalType: "uint64";
959
+ readonly name: "networkSize";
960
+ readonly type: "uint64";
961
+ }, {
962
+ readonly internalType: "uint32";
963
+ readonly name: "cpuMark";
964
+ readonly type: "uint32";
965
+ }, {
966
+ readonly internalType: "uint32";
967
+ readonly name: "ramMark";
968
+ readonly type: "uint32";
969
+ }, {
970
+ readonly internalType: "uint32";
971
+ readonly name: "gpuMark";
972
+ readonly type: "uint32";
973
+ }, {
974
+ readonly internalType: "uint32";
975
+ readonly name: "diskMark";
976
+ readonly type: "uint32";
977
+ }, {
978
+ readonly internalType: "uint32";
979
+ readonly name: "networkMark";
980
+ readonly type: "uint32";
981
+ }];
982
+ readonly internalType: "struct ConsensusBenchmark";
983
+ readonly name: "benchmark";
984
+ readonly type: "tuple";
985
+ }, {
986
+ readonly internalType: "string";
987
+ readonly name: "properties";
988
+ readonly type: "string";
989
+ }, {
990
+ readonly internalType: "bytes32";
991
+ readonly name: "deviceId";
992
+ readonly type: "bytes32";
993
+ }, {
994
+ readonly internalType: "string";
995
+ readonly name: "quote";
996
+ readonly type: "string";
997
+ }, {
998
+ readonly internalType: "string";
999
+ readonly name: "pubKey";
1000
+ readonly type: "string";
1001
+ }];
1002
+ readonly name: "setTcbData";
1003
+ readonly outputs: readonly [];
1004
+ readonly stateMutability: "nonpayable";
1005
+ readonly type: "function";
1006
+ }, {
1007
+ readonly inputs: readonly [{
1008
+ readonly internalType: "uint256";
1009
+ readonly name: "tcbId";
1010
+ readonly type: "uint256";
1011
+ }, {
1012
+ readonly internalType: "enum TcbStatus";
1013
+ readonly name: "status";
1014
+ readonly type: "uint8";
1015
+ }];
1016
+ readonly name: "setTcbStatus";
1017
+ readonly outputs: readonly [];
1018
+ readonly stateMutability: "nonpayable";
1019
+ readonly type: "function";
1020
+ }, {
1021
+ readonly anonymous: false;
1022
+ readonly inputs: readonly [{
1023
+ readonly indexed: false;
1024
+ readonly internalType: "uint256";
1025
+ readonly name: "tcbId";
1026
+ readonly type: "uint256";
1027
+ }, {
1028
+ readonly indexed: true;
1029
+ readonly internalType: "address";
1030
+ readonly name: "provider";
1031
+ readonly type: "address";
1032
+ }];
1033
+ readonly name: "TcbBanned";
1034
+ readonly type: "event";
1035
+ }, {
1036
+ readonly inputs: readonly [{
1037
+ readonly internalType: "uint256";
1038
+ readonly name: "tcbId";
1039
+ readonly type: "uint256";
1040
+ }];
1041
+ readonly name: "addLastBlock";
1042
+ readonly outputs: readonly [];
1043
+ readonly stateMutability: "nonpayable";
1044
+ readonly type: "function";
1045
+ }, {
1046
+ readonly inputs: readonly [{
1047
+ readonly internalType: "uint256";
1048
+ readonly name: "tcbId";
1049
+ readonly type: "uint256";
1050
+ }];
1051
+ readonly name: "addSuspiciousBlock";
1052
+ readonly outputs: readonly [];
1053
+ readonly stateMutability: "nonpayable";
1054
+ readonly type: "function";
1055
+ }, {
1056
+ readonly inputs: readonly [{
1057
+ readonly internalType: "uint256";
1058
+ readonly name: "tcbId";
1059
+ readonly type: "uint256";
1060
+ }];
1061
+ readonly name: "compareWithThreshold";
1062
+ readonly outputs: readonly [];
1063
+ readonly stateMutability: "nonpayable";
1064
+ readonly type: "function";
1065
+ }, {
1066
+ readonly inputs: readonly [{
1067
+ readonly internalType: "uint256";
1068
+ readonly name: "intruderTcbId";
1069
+ readonly type: "uint256";
1070
+ }];
1071
+ readonly name: "compensateEpochDamage";
1072
+ readonly outputs: readonly [];
1073
+ readonly stateMutability: "nonpayable";
1074
+ readonly type: "function";
1075
+ }, {
1076
+ readonly inputs: readonly [{
1077
+ readonly internalType: "uint256";
1078
+ readonly name: "tcbId";
1079
+ readonly type: "uint256";
1080
+ }];
1081
+ readonly name: "findAccomplices";
1082
+ readonly outputs: readonly [];
1083
+ readonly stateMutability: "nonpayable";
1125
1084
  readonly type: "function";
1126
1085
  }, {
1127
1086
  readonly inputs: readonly [{
1128
- readonly internalType: "uint256[]";
1129
- readonly name: "tcbIds";
1130
- readonly type: "uint256[]";
1131
- }];
1132
- readonly name: "getTcbsUtilityData";
1133
- readonly outputs: readonly [{
1134
- readonly components: readonly [{
1135
- readonly internalType: "uint256";
1136
- readonly name: "teeOfferId";
1137
- readonly type: "uint256";
1138
- }, {
1139
- readonly internalType: "string";
1140
- readonly name: "pubKey";
1141
- readonly type: "string";
1142
- }, {
1143
- readonly internalType: "string";
1144
- readonly name: "quote_DEPRECATED";
1145
- readonly type: "string";
1146
- }];
1147
- readonly internalType: "struct TcbUtilityData[]";
1148
- readonly name: "";
1149
- readonly type: "tuple[]";
1087
+ readonly internalType: "uint256";
1088
+ readonly name: "tcbId";
1089
+ readonly type: "uint256";
1150
1090
  }];
1151
- readonly stateMutability: "view";
1091
+ readonly name: "removeLastBlock";
1092
+ readonly outputs: readonly [];
1093
+ readonly stateMutability: "nonpayable";
1152
1094
  readonly type: "function";
1153
1095
  }, {
1154
1096
  readonly inputs: readonly [{
@@ -1156,39 +1098,19 @@ export declare const abi: readonly [{
1156
1098
  readonly name: "tcbId";
1157
1099
  readonly type: "uint256";
1158
1100
  }];
1159
- readonly name: "isTcbBanned";
1160
- readonly outputs: readonly [{
1161
- readonly internalType: "bool";
1162
- readonly name: "";
1163
- readonly type: "bool";
1164
- }];
1165
- readonly stateMutability: "view";
1101
+ readonly name: "removeSuspiciousBlock";
1102
+ readonly outputs: readonly [];
1103
+ readonly stateMutability: "nonpayable";
1166
1104
  readonly type: "function";
1167
1105
  }, {
1168
1106
  readonly inputs: readonly [{
1169
1107
  readonly internalType: "uint256";
1170
- readonly name: "teeOfferId";
1108
+ readonly name: "tcbId";
1171
1109
  readonly type: "uint256";
1172
- }, {
1173
- readonly internalType: "string";
1174
- readonly name: "pubKey";
1175
- readonly type: "string";
1176
- }];
1177
- readonly name: "isTcbCreationAvailable";
1178
- readonly outputs: readonly [{
1179
- readonly internalType: "bool";
1180
- readonly name: "offerNotBlocked";
1181
- readonly type: "bool";
1182
- }, {
1183
- readonly internalType: "bool";
1184
- readonly name: "newEpochStarted";
1185
- readonly type: "bool";
1186
- }, {
1187
- readonly internalType: "bool";
1188
- readonly name: "halfEpochPassed";
1189
- readonly type: "bool";
1190
1110
  }];
1191
- readonly stateMutability: "view";
1111
+ readonly name: "updateConsensusTables";
1112
+ readonly outputs: readonly [];
1113
+ readonly stateMutability: "nonpayable";
1192
1114
  readonly type: "function";
1193
1115
  }, {
1194
1116
  readonly anonymous: false;
@@ -1783,6 +1705,31 @@ export declare const abi: readonly [{
1783
1705
  readonly internalType: "struct TeeOfferInfo";
1784
1706
  readonly name: "info";
1785
1707
  readonly type: "tuple";
1708
+ }, {
1709
+ readonly components: readonly [{
1710
+ readonly internalType: "uint64";
1711
+ readonly name: "cpuCores";
1712
+ readonly type: "uint64";
1713
+ }, {
1714
+ readonly internalType: "uint64";
1715
+ readonly name: "ram";
1716
+ readonly type: "uint64";
1717
+ }, {
1718
+ readonly internalType: "uint64";
1719
+ readonly name: "diskUsage";
1720
+ readonly type: "uint64";
1721
+ }, {
1722
+ readonly internalType: "uint64";
1723
+ readonly name: "gpuCores";
1724
+ readonly type: "uint64";
1725
+ }, {
1726
+ readonly internalType: "uint64";
1727
+ readonly name: "vram";
1728
+ readonly type: "uint64";
1729
+ }];
1730
+ readonly internalType: "struct SlotInfo";
1731
+ readonly name: "slotInfo";
1732
+ readonly type: "tuple";
1786
1733
  }, {
1787
1734
  readonly components: readonly [{
1788
1735
  readonly internalType: "string";
@@ -2018,25 +1965,6 @@ export declare const abi: readonly [{
2018
1965
  readonly outputs: readonly [];
2019
1966
  readonly stateMutability: "nonpayable";
2020
1967
  readonly type: "function";
2021
- }, {
2022
- readonly inputs: readonly [{
2023
- readonly internalType: "uint256";
2024
- readonly name: "offerId";
2025
- readonly type: "uint256";
2026
- }, {
2027
- readonly components: readonly [{
2028
- readonly internalType: "string";
2029
- readonly name: "data";
2030
- readonly type: "string";
2031
- }];
2032
- readonly internalType: "struct OptionInfo";
2033
- readonly name: "newOptionInfo";
2034
- readonly type: "tuple";
2035
- }];
2036
- readonly name: "setTeeOfferHardwareOptionInfo";
2037
- readonly outputs: readonly [];
2038
- readonly stateMutability: "nonpayable";
2039
- readonly type: "function";
2040
1968
  }, {
2041
1969
  readonly inputs: readonly [{
2042
1970
  readonly internalType: "uint256";
@@ -2067,8 +1995,17 @@ export declare const abi: readonly [{
2067
1995
  readonly internalType: "struct SlotInfo";
2068
1996
  readonly name: "newSlotInfo";
2069
1997
  readonly type: "tuple";
1998
+ }, {
1999
+ readonly components: readonly [{
2000
+ readonly internalType: "string";
2001
+ readonly name: "data";
2002
+ readonly type: "string";
2003
+ }];
2004
+ readonly internalType: "struct OptionInfo";
2005
+ readonly name: "newOptionInfo";
2006
+ readonly type: "tuple";
2070
2007
  }];
2071
- readonly name: "setTeeOfferHardwareSlotInfo";
2008
+ readonly name: "setTeeOfferHardwareInfo";
2072
2009
  readonly outputs: readonly [];
2073
2010
  readonly stateMutability: "nonpayable";
2074
2011
  readonly type: "function";
@@ -5778,101 +5715,15 @@ export declare const abi: readonly [{
5778
5715
  }, {
5779
5716
  readonly inputs: readonly [{
5780
5717
  readonly internalType: "uint256";
5781
- readonly name: "teeOfferId";
5718
+ readonly name: "epochIndex";
5782
5719
  readonly type: "uint256";
5783
- }, {
5784
- readonly components: readonly [{
5785
- readonly internalType: "uint64";
5786
- readonly name: "cpuSize";
5787
- readonly type: "uint64";
5788
- }, {
5789
- readonly internalType: "uint64";
5790
- readonly name: "ramSize";
5791
- readonly type: "uint64";
5792
- }, {
5793
- readonly internalType: "uint64";
5794
- readonly name: "gpuSize";
5795
- readonly type: "uint64";
5796
- }, {
5797
- readonly internalType: "uint64";
5798
- readonly name: "diskSize";
5799
- readonly type: "uint64";
5800
- }, {
5801
- readonly internalType: "uint64";
5802
- readonly name: "networkSize";
5803
- readonly type: "uint64";
5804
- }, {
5805
- readonly internalType: "uint64";
5806
- readonly name: "vramSize";
5807
- readonly type: "uint64";
5808
- }, {
5809
- readonly internalType: "uint32";
5810
- readonly name: "cpuMark";
5811
- readonly type: "uint32";
5812
- }, {
5813
- readonly internalType: "uint32";
5814
- readonly name: "ramMark";
5815
- readonly type: "uint32";
5816
- }, {
5817
- readonly internalType: "uint32";
5818
- readonly name: "gpuMark";
5819
- readonly type: "uint32";
5820
- }, {
5821
- readonly internalType: "uint32";
5822
- readonly name: "diskMark";
5823
- readonly type: "uint32";
5824
- }, {
5825
- readonly internalType: "uint32";
5826
- readonly name: "networkMark";
5827
- readonly type: "uint32";
5828
- }, {
5829
- readonly components: readonly [{
5830
- readonly internalType: "bytes16";
5831
- readonly name: "vendorId";
5832
- readonly type: "bytes16";
5833
- }, {
5834
- readonly internalType: "uint128";
5835
- readonly name: "cpuFamily";
5836
- readonly type: "uint128";
5837
- }, {
5838
- readonly internalType: "uint128";
5839
- readonly name: "model";
5840
- readonly type: "uint128";
5841
- }, {
5842
- readonly internalType: "bytes16";
5843
- readonly name: "modelName";
5844
- readonly type: "bytes16";
5845
- }, {
5846
- readonly internalType: "uint32";
5847
- readonly name: "totalPhysicalCores";
5848
- readonly type: "uint32";
5849
- }, {
5850
- readonly internalType: "uint32";
5851
- readonly name: "baseFreq";
5852
- readonly type: "uint32";
5853
- }, {
5854
- readonly internalType: "uint32";
5855
- readonly name: "maxFreq";
5856
- readonly type: "uint32";
5857
- }];
5858
- readonly internalType: "struct CpuInfo";
5859
- readonly name: "cpuInfo";
5860
- readonly type: "tuple";
5861
- }];
5862
- readonly internalType: "struct ConsensusBenchmarkView";
5863
- readonly name: "benchmark";
5864
- readonly type: "tuple";
5865
5720
  }, {
5866
5721
  readonly internalType: "uint256";
5867
- readonly name: "tcbId";
5722
+ readonly name: "teeOfferId";
5868
5723
  readonly type: "uint256";
5869
5724
  }];
5870
5725
  readonly name: "addTcbToEpoch";
5871
- readonly outputs: readonly [{
5872
- readonly internalType: "uint256";
5873
- readonly name: "epochIndex";
5874
- readonly type: "uint256";
5875
- }];
5726
+ readonly outputs: readonly [];
5876
5727
  readonly stateMutability: "nonpayable";
5877
5728
  readonly type: "function";
5878
5729
  }, {
@@ -5953,10 +5804,6 @@ export declare const abi: readonly [{
5953
5804
  readonly internalType: "uint64";
5954
5805
  readonly name: "networkSize";
5955
5806
  readonly type: "uint64";
5956
- }, {
5957
- readonly internalType: "uint64";
5958
- readonly name: "vramSize";
5959
- readonly type: "uint64";
5960
5807
  }, {
5961
5808
  readonly internalType: "uint32";
5962
5809
  readonly name: "cpuMark";
@@ -5977,41 +5824,8 @@ export declare const abi: readonly [{
5977
5824
  readonly internalType: "uint32";
5978
5825
  readonly name: "networkMark";
5979
5826
  readonly type: "uint32";
5980
- }, {
5981
- readonly components: readonly [{
5982
- readonly internalType: "bytes16";
5983
- readonly name: "vendorId";
5984
- readonly type: "bytes16";
5985
- }, {
5986
- readonly internalType: "uint128";
5987
- readonly name: "cpuFamily";
5988
- readonly type: "uint128";
5989
- }, {
5990
- readonly internalType: "uint128";
5991
- readonly name: "model";
5992
- readonly type: "uint128";
5993
- }, {
5994
- readonly internalType: "bytes16";
5995
- readonly name: "modelName";
5996
- readonly type: "bytes16";
5997
- }, {
5998
- readonly internalType: "uint32";
5999
- readonly name: "totalPhysicalCores";
6000
- readonly type: "uint32";
6001
- }, {
6002
- readonly internalType: "uint32";
6003
- readonly name: "baseFreq";
6004
- readonly type: "uint32";
6005
- }, {
6006
- readonly internalType: "uint32";
6007
- readonly name: "maxFreq";
6008
- readonly type: "uint32";
6009
- }];
6010
- readonly internalType: "struct CpuInfo";
6011
- readonly name: "cpuInfo";
6012
- readonly type: "tuple";
6013
5827
  }];
6014
- readonly internalType: "struct ConsensusBenchmarkView";
5828
+ readonly internalType: "struct ConsensusBenchmark";
6015
5829
  readonly name: "";
6016
5830
  readonly type: "tuple";
6017
5831
  }];
@@ -6108,10 +5922,77 @@ export declare const abi: readonly [{
6108
5922
  }, {
6109
5923
  readonly inputs: readonly [{
6110
5924
  readonly internalType: "uint256";
6111
- readonly name: "compensation";
5925
+ readonly name: "compensation";
5926
+ readonly type: "uint256";
5927
+ }, {
5928
+ readonly internalType: "bool";
5929
+ readonly name: "updateRewardAccounting";
5930
+ readonly type: "bool";
5931
+ }];
5932
+ readonly name: "increaseNextEpochCompensation";
5933
+ readonly outputs: readonly [];
5934
+ readonly stateMutability: "nonpayable";
5935
+ readonly type: "function";
5936
+ }, {
5937
+ readonly inputs: readonly [{
5938
+ readonly internalType: "uint256";
5939
+ readonly name: "epochIndex";
5940
+ readonly type: "uint256";
5941
+ }, {
5942
+ readonly internalType: "uint256";
5943
+ readonly name: "teeOfferId";
5944
+ readonly type: "uint256";
5945
+ }, {
5946
+ readonly components: readonly [{
5947
+ readonly internalType: "uint64";
5948
+ readonly name: "cpuSize";
5949
+ readonly type: "uint64";
5950
+ }, {
5951
+ readonly internalType: "uint64";
5952
+ readonly name: "ramSize";
5953
+ readonly type: "uint64";
5954
+ }, {
5955
+ readonly internalType: "uint64";
5956
+ readonly name: "gpuSize";
5957
+ readonly type: "uint64";
5958
+ }, {
5959
+ readonly internalType: "uint64";
5960
+ readonly name: "diskSize";
5961
+ readonly type: "uint64";
5962
+ }, {
5963
+ readonly internalType: "uint64";
5964
+ readonly name: "networkSize";
5965
+ readonly type: "uint64";
5966
+ }, {
5967
+ readonly internalType: "uint32";
5968
+ readonly name: "cpuMark";
5969
+ readonly type: "uint32";
5970
+ }, {
5971
+ readonly internalType: "uint32";
5972
+ readonly name: "ramMark";
5973
+ readonly type: "uint32";
5974
+ }, {
5975
+ readonly internalType: "uint32";
5976
+ readonly name: "gpuMark";
5977
+ readonly type: "uint32";
5978
+ }, {
5979
+ readonly internalType: "uint32";
5980
+ readonly name: "diskMark";
5981
+ readonly type: "uint32";
5982
+ }, {
5983
+ readonly internalType: "uint32";
5984
+ readonly name: "networkMark";
5985
+ readonly type: "uint32";
5986
+ }];
5987
+ readonly internalType: "struct ConsensusBenchmark";
5988
+ readonly name: "benchmark";
5989
+ readonly type: "tuple";
5990
+ }, {
5991
+ readonly internalType: "uint256";
5992
+ readonly name: "tcbId";
6112
5993
  readonly type: "uint256";
6113
5994
  }];
6114
- readonly name: "increaseNextEpochCompensation";
5995
+ readonly name: "initializeTeeOffer";
6115
5996
  readonly outputs: readonly [];
6116
5997
  readonly stateMutability: "nonpayable";
6117
5998
  readonly type: "function";
@@ -6258,10 +6139,6 @@ export declare const abi: readonly [{
6258
6139
  readonly internalType: "uint64";
6259
6140
  readonly name: "networkSize";
6260
6141
  readonly type: "uint64";
6261
- }, {
6262
- readonly internalType: "uint64";
6263
- readonly name: "vramSize";
6264
- readonly type: "uint64";
6265
6142
  }, {
6266
6143
  readonly internalType: "uint32";
6267
6144
  readonly name: "cpuMark";
@@ -6282,41 +6159,8 @@ export declare const abi: readonly [{
6282
6159
  readonly internalType: "uint32";
6283
6160
  readonly name: "networkMark";
6284
6161
  readonly type: "uint32";
6285
- }, {
6286
- readonly components: readonly [{
6287
- readonly internalType: "bytes16";
6288
- readonly name: "vendorId";
6289
- readonly type: "bytes16";
6290
- }, {
6291
- readonly internalType: "uint128";
6292
- readonly name: "cpuFamily";
6293
- readonly type: "uint128";
6294
- }, {
6295
- readonly internalType: "uint128";
6296
- readonly name: "model";
6297
- readonly type: "uint128";
6298
- }, {
6299
- readonly internalType: "bytes16";
6300
- readonly name: "modelName";
6301
- readonly type: "bytes16";
6302
- }, {
6303
- readonly internalType: "uint32";
6304
- readonly name: "totalPhysicalCores";
6305
- readonly type: "uint32";
6306
- }, {
6307
- readonly internalType: "uint32";
6308
- readonly name: "baseFreq";
6309
- readonly type: "uint32";
6310
- }, {
6311
- readonly internalType: "uint32";
6312
- readonly name: "maxFreq";
6313
- readonly type: "uint32";
6314
- }];
6315
- readonly internalType: "struct CpuInfo";
6316
- readonly name: "cpuInfo";
6317
- readonly type: "tuple";
6318
6162
  }];
6319
- readonly internalType: "struct ConsensusBenchmarkView[]";
6163
+ readonly internalType: "struct ConsensusBenchmark[]";
6320
6164
  readonly name: "benchmarks";
6321
6165
  readonly type: "tuple[]";
6322
6166
  }];
@@ -6638,10 +6482,6 @@ export declare const abi: readonly [{
6638
6482
  readonly internalType: "uint32";
6639
6483
  readonly name: "networkMark";
6640
6484
  readonly type: "uint32";
6641
- }, {
6642
- readonly internalType: "uint32";
6643
- readonly name: "totalPhysicalCores";
6644
- readonly type: "uint32";
6645
6485
  }];
6646
6486
  readonly internalType: "struct ConsensusBenchmark";
6647
6487
  readonly name: "benchmark";
@@ -6654,39 +6494,6 @@ export declare const abi: readonly [{
6654
6494
  readonly internalType: "bool";
6655
6495
  readonly name: "benchmarkAdded";
6656
6496
  readonly type: "bool";
6657
- }, {
6658
- readonly components: readonly [{
6659
- readonly internalType: "uint64";
6660
- readonly name: "vramSize";
6661
- readonly type: "uint64";
6662
- }, {
6663
- readonly internalType: "bytes16";
6664
- readonly name: "vendorId";
6665
- readonly type: "bytes16";
6666
- }, {
6667
- readonly internalType: "uint32";
6668
- readonly name: "baseFreq";
6669
- readonly type: "uint32";
6670
- }, {
6671
- readonly internalType: "uint32";
6672
- readonly name: "maxFreq";
6673
- readonly type: "uint32";
6674
- }, {
6675
- readonly internalType: "uint128";
6676
- readonly name: "cpuFamily";
6677
- readonly type: "uint128";
6678
- }, {
6679
- readonly internalType: "uint128";
6680
- readonly name: "model";
6681
- readonly type: "uint128";
6682
- }, {
6683
- readonly internalType: "bytes16";
6684
- readonly name: "modelName";
6685
- readonly type: "bytes16";
6686
- }];
6687
- readonly internalType: "struct ConsensusBenchmark2";
6688
- readonly name: "benchmark2";
6689
- readonly type: "tuple";
6690
6497
  }];
6691
6498
  readonly internalType: "struct ProviderRewardsStorageAccessor.TeeOffer";
6692
6499
  readonly name: "";
@@ -8782,10 +8589,28 @@ export declare const abi: readonly [{
8782
8589
  }, {
8783
8590
  readonly inputs: readonly [{
8784
8591
  readonly internalType: "uint256";
8785
- readonly name: "tcbId";
8592
+ readonly name: "teeOfferId";
8593
+ readonly type: "uint256";
8594
+ }, {
8595
+ readonly internalType: "bytes32";
8596
+ readonly name: "deviceId";
8597
+ readonly type: "bytes32";
8598
+ }];
8599
+ readonly name: "banTeeOffer";
8600
+ readonly outputs: readonly [];
8601
+ readonly stateMutability: "nonpayable";
8602
+ readonly type: "function";
8603
+ }, {
8604
+ readonly inputs: readonly [{
8605
+ readonly internalType: "uint256";
8606
+ readonly name: "teeOfferId";
8786
8607
  readonly type: "uint256";
8608
+ }, {
8609
+ readonly internalType: "bytes32";
8610
+ readonly name: "deviceId";
8611
+ readonly type: "bytes32";
8787
8612
  }];
8788
- readonly name: "banTcb";
8613
+ readonly name: "blockTeeOffer";
8789
8614
  readonly outputs: readonly [];
8790
8615
  readonly stateMutability: "nonpayable";
8791
8616
  readonly type: "function";
@@ -8795,7 +8620,7 @@ export declare const abi: readonly [{
8795
8620
  readonly name: "teeOfferId";
8796
8621
  readonly type: "uint256";
8797
8622
  }];
8798
- readonly name: "banTeeOffer";
8623
+ readonly name: "confiscateAllRewards";
8799
8624
  readonly outputs: readonly [];
8800
8625
  readonly stateMutability: "nonpayable";
8801
8626
  readonly type: "function";
@@ -8813,6 +8638,20 @@ export declare const abi: readonly [{
8813
8638
  }];
8814
8639
  readonly stateMutability: "view";
8815
8640
  readonly type: "function";
8641
+ }, {
8642
+ readonly inputs: readonly [{
8643
+ readonly internalType: "bytes32";
8644
+ readonly name: "deviceId";
8645
+ readonly type: "bytes32";
8646
+ }];
8647
+ readonly name: "getTeeOfferByDeviceId";
8648
+ readonly outputs: readonly [{
8649
+ readonly internalType: "uint256";
8650
+ readonly name: "";
8651
+ readonly type: "uint256";
8652
+ }];
8653
+ readonly stateMutability: "view";
8654
+ readonly type: "function";
8816
8655
  }, {
8817
8656
  readonly inputs: readonly [{
8818
8657
  readonly internalType: "uint256";
@@ -8833,28 +8672,65 @@ export declare const abi: readonly [{
8833
8672
  readonly name: "teeOfferId";
8834
8673
  readonly type: "uint256";
8835
8674
  }];
8836
- readonly name: "getTotalLockedOfferAmount";
8675
+ readonly name: "getTeeVerifiedBenchmark";
8837
8676
  readonly outputs: readonly [{
8838
- readonly internalType: "uint256";
8677
+ readonly components: readonly [{
8678
+ readonly internalType: "uint64";
8679
+ readonly name: "cpuSize";
8680
+ readonly type: "uint64";
8681
+ }, {
8682
+ readonly internalType: "uint64";
8683
+ readonly name: "ramSize";
8684
+ readonly type: "uint64";
8685
+ }, {
8686
+ readonly internalType: "uint64";
8687
+ readonly name: "gpuSize";
8688
+ readonly type: "uint64";
8689
+ }, {
8690
+ readonly internalType: "uint64";
8691
+ readonly name: "diskSize";
8692
+ readonly type: "uint64";
8693
+ }, {
8694
+ readonly internalType: "uint64";
8695
+ readonly name: "networkSize";
8696
+ readonly type: "uint64";
8697
+ }, {
8698
+ readonly internalType: "uint32";
8699
+ readonly name: "cpuMark";
8700
+ readonly type: "uint32";
8701
+ }, {
8702
+ readonly internalType: "uint32";
8703
+ readonly name: "ramMark";
8704
+ readonly type: "uint32";
8705
+ }, {
8706
+ readonly internalType: "uint32";
8707
+ readonly name: "gpuMark";
8708
+ readonly type: "uint32";
8709
+ }, {
8710
+ readonly internalType: "uint32";
8711
+ readonly name: "diskMark";
8712
+ readonly type: "uint32";
8713
+ }, {
8714
+ readonly internalType: "uint32";
8715
+ readonly name: "networkMark";
8716
+ readonly type: "uint32";
8717
+ }];
8718
+ readonly internalType: "struct ConsensusBenchmark";
8839
8719
  readonly name: "";
8840
- readonly type: "uint256";
8720
+ readonly type: "tuple";
8841
8721
  }];
8842
8722
  readonly stateMutability: "view";
8843
8723
  readonly type: "function";
8844
8724
  }, {
8845
8725
  readonly inputs: readonly [{
8846
8726
  readonly internalType: "uint256";
8847
- readonly name: "tcbId";
8727
+ readonly name: "teeOfferId";
8848
8728
  readonly type: "uint256";
8849
8729
  }];
8850
- readonly name: "isTcbProfitAvailable";
8730
+ readonly name: "getTotalLockedOfferAmount";
8851
8731
  readonly outputs: readonly [{
8852
- readonly internalType: "bool";
8853
- readonly name: "available";
8854
- readonly type: "bool";
8855
- }, {
8856
8732
  readonly internalType: "uint256";
8857
- readonly name: "amount";
8733
+ readonly name: "";
8858
8734
  readonly type: "uint256";
8859
8735
  }];
8860
8736
  readonly stateMutability: "view";
@@ -8865,11 +8741,25 @@ export declare const abi: readonly [{
8865
8741
  readonly name: "teeOfferId";
8866
8742
  readonly type: "uint256";
8867
8743
  }];
8868
- readonly name: "isTeeOfferBanned";
8744
+ readonly name: "incrTeeOfferViolationRate";
8745
+ readonly outputs: readonly [];
8746
+ readonly stateMutability: "nonpayable";
8747
+ readonly type: "function";
8748
+ }, {
8749
+ readonly inputs: readonly [{
8750
+ readonly internalType: "uint256";
8751
+ readonly name: "tcbId";
8752
+ readonly type: "uint256";
8753
+ }];
8754
+ readonly name: "isTcbProfitAvailable";
8869
8755
  readonly outputs: readonly [{
8870
8756
  readonly internalType: "bool";
8871
- readonly name: "";
8757
+ readonly name: "available";
8872
8758
  readonly type: "bool";
8759
+ }, {
8760
+ readonly internalType: "uint256";
8761
+ readonly name: "amount";
8762
+ readonly type: "uint256";
8873
8763
  }];
8874
8764
  readonly stateMutability: "view";
8875
8765
  readonly type: "function";
@@ -8891,6 +8781,20 @@ export declare const abi: readonly [{
8891
8781
  readonly outputs: readonly [];
8892
8782
  readonly stateMutability: "nonpayable";
8893
8783
  readonly type: "function";
8784
+ }, {
8785
+ readonly inputs: readonly [{
8786
+ readonly internalType: "uint256";
8787
+ readonly name: "teeOfferId";
8788
+ readonly type: "uint256";
8789
+ }, {
8790
+ readonly internalType: "bytes32";
8791
+ readonly name: "deviceId";
8792
+ readonly type: "bytes32";
8793
+ }];
8794
+ readonly name: "setTeeDeviceId";
8795
+ readonly outputs: readonly [];
8796
+ readonly stateMutability: "nonpayable";
8797
+ readonly type: "function";
8894
8798
  }, {
8895
8799
  readonly inputs: readonly [{
8896
8800
  readonly internalType: "uint256";
@@ -8915,6 +8819,61 @@ export declare const abi: readonly [{
8915
8819
  }];
8916
8820
  readonly stateMutability: "nonpayable";
8917
8821
  readonly type: "function";
8822
+ }, {
8823
+ readonly inputs: readonly [{
8824
+ readonly internalType: "uint256";
8825
+ readonly name: "teeOfferId";
8826
+ readonly type: "uint256";
8827
+ }, {
8828
+ readonly components: readonly [{
8829
+ readonly internalType: "uint64";
8830
+ readonly name: "cpuSize";
8831
+ readonly type: "uint64";
8832
+ }, {
8833
+ readonly internalType: "uint64";
8834
+ readonly name: "ramSize";
8835
+ readonly type: "uint64";
8836
+ }, {
8837
+ readonly internalType: "uint64";
8838
+ readonly name: "gpuSize";
8839
+ readonly type: "uint64";
8840
+ }, {
8841
+ readonly internalType: "uint64";
8842
+ readonly name: "diskSize";
8843
+ readonly type: "uint64";
8844
+ }, {
8845
+ readonly internalType: "uint64";
8846
+ readonly name: "networkSize";
8847
+ readonly type: "uint64";
8848
+ }, {
8849
+ readonly internalType: "uint32";
8850
+ readonly name: "cpuMark";
8851
+ readonly type: "uint32";
8852
+ }, {
8853
+ readonly internalType: "uint32";
8854
+ readonly name: "ramMark";
8855
+ readonly type: "uint32";
8856
+ }, {
8857
+ readonly internalType: "uint32";
8858
+ readonly name: "gpuMark";
8859
+ readonly type: "uint32";
8860
+ }, {
8861
+ readonly internalType: "uint32";
8862
+ readonly name: "diskMark";
8863
+ readonly type: "uint32";
8864
+ }, {
8865
+ readonly internalType: "uint32";
8866
+ readonly name: "networkMark";
8867
+ readonly type: "uint32";
8868
+ }];
8869
+ readonly internalType: "struct ConsensusBenchmark";
8870
+ readonly name: "benchmark";
8871
+ readonly type: "tuple";
8872
+ }];
8873
+ readonly name: "updateVerifiedTeeBenchmark";
8874
+ readonly outputs: readonly [];
8875
+ readonly stateMutability: "nonpayable";
8876
+ readonly type: "function";
8918
8877
  }, {
8919
8878
  readonly anonymous: false;
8920
8879
  readonly inputs: readonly [{
@@ -11644,6 +11603,26 @@ export declare const abi: readonly [{
11644
11603
  }];
11645
11604
  readonly stateMutability: "view";
11646
11605
  readonly type: "function";
11606
+ }, {
11607
+ readonly inputs: readonly [{
11608
+ readonly internalType: "uint256";
11609
+ readonly name: "tcbId";
11610
+ readonly type: "uint256";
11611
+ }];
11612
+ readonly name: "updateLastBlocks";
11613
+ readonly outputs: readonly [];
11614
+ readonly stateMutability: "nonpayable";
11615
+ readonly type: "function";
11616
+ }, {
11617
+ readonly inputs: readonly [{
11618
+ readonly internalType: "uint256";
11619
+ readonly name: "tcbId";
11620
+ readonly type: "uint256";
11621
+ }];
11622
+ readonly name: "updateSuspicious";
11623
+ readonly outputs: readonly [];
11624
+ readonly stateMutability: "nonpayable";
11625
+ readonly type: "function";
11647
11626
  }, {
11648
11627
  readonly inputs: readonly [{
11649
11628
  readonly internalType: "address";