@super-protocol/sdk-js 3.11.8-beta.3 → 3.11.8-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,8 @@
1
1
  export declare const Approval: "Approval";
2
2
  export declare const Transfer: "Transfer";
3
- export declare const SetCRL: "SetCRL";
3
+ export declare const MrEnclaveBlacklisted: "MrEnclaveBlacklisted";
4
+ export declare const MrSignerBlacklisted: "MrSignerBlacklisted";
5
+ export declare const SerialNumberBlacklisted: "SerialNumberBlacklisted";
4
6
  export declare const SetRootCert: "SetRootCert";
5
7
  export declare const TcbAdded: "TcbAdded";
6
8
  export declare const DepositPartLocked: "DepositPartLocked";
@@ -64,26 +66,8 @@ export declare const OrderResourceCreated: "OrderResourceCreated";
64
66
  export declare const OfferStorageRequestCanceled: "OfferStorageRequestCanceled";
65
67
  export declare const OfferStorageRequestCreated: "OfferStorageRequestCreated";
66
68
  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;
69
+ export type AbiEvent = typeof Approval | typeof Transfer | typeof MrEnclaveBlacklisted | typeof MrSignerBlacklisted | typeof SerialNumberBlacklisted | 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
70
  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
71
  readonly anonymous: false;
88
72
  readonly inputs: readonly [{
89
73
  readonly indexed: true;
@@ -544,12 +528,22 @@ export declare const abi: readonly [{
544
528
  readonly inputs: readonly [{
545
529
  readonly indexed: true;
546
530
  readonly internalType: "bytes32";
547
- readonly name: "id";
531
+ readonly name: "mrEnclave";
548
532
  readonly type: "bytes32";
549
533
  }, {
534
+ readonly indexed: true;
535
+ readonly internalType: "bool";
536
+ readonly name: "isBlacklisted";
537
+ readonly type: "bool";
538
+ }];
539
+ readonly name: "MrEnclaveBlacklisted";
540
+ readonly type: "event";
541
+ }, {
542
+ readonly anonymous: false;
543
+ readonly inputs: readonly [{
550
544
  readonly indexed: true;
551
545
  readonly internalType: "bytes32";
552
- readonly name: "childId";
546
+ readonly name: "mrSigner";
553
547
  readonly type: "bytes32";
554
548
  }, {
555
549
  readonly indexed: true;
@@ -557,33 +551,48 @@ export declare const abi: readonly [{
557
551
  readonly name: "isBlacklisted";
558
552
  readonly type: "bool";
559
553
  }];
560
- readonly name: "SetCRL";
554
+ readonly name: "MrSignerBlacklisted";
555
+ readonly type: "event";
556
+ }, {
557
+ readonly anonymous: false;
558
+ readonly inputs: readonly [{
559
+ readonly indexed: true;
560
+ readonly internalType: "bytes";
561
+ readonly name: "serialNumber";
562
+ readonly type: "bytes";
563
+ }, {
564
+ readonly indexed: true;
565
+ readonly internalType: "bool";
566
+ readonly name: "isBlacklisted";
567
+ readonly type: "bool";
568
+ }];
569
+ readonly name: "SerialNumberBlacklisted";
561
570
  readonly type: "event";
562
571
  }, {
563
572
  readonly anonymous: false;
564
573
  readonly inputs: readonly [{
565
574
  readonly indexed: true;
566
575
  readonly internalType: "uint256";
567
- readonly name: "id";
576
+ readonly name: "serialNumber";
568
577
  readonly type: "uint256";
569
578
  }];
570
579
  readonly name: "SetRootCert";
571
580
  readonly type: "event";
572
581
  }, {
573
- readonly inputs: readonly [{
574
- readonly internalType: "bytes32";
575
- readonly name: "";
576
- readonly type: "bytes32";
577
- }, {
578
- readonly internalType: "bytes32";
579
- readonly name: "";
580
- readonly type: "bytes32";
581
- }];
582
- readonly name: "crl";
582
+ readonly inputs: readonly [];
583
+ readonly name: "getCertsBlacklist";
583
584
  readonly outputs: readonly [{
584
- readonly internalType: "bool";
585
- readonly name: "";
586
- readonly type: "bool";
585
+ readonly internalType: "bytes[]";
586
+ readonly name: "bySerialNumber";
587
+ readonly type: "bytes[]";
588
+ }, {
589
+ readonly internalType: "bytes32[]";
590
+ readonly name: "byMrEnclave";
591
+ readonly type: "bytes32[]";
592
+ }, {
593
+ readonly internalType: "bytes32[]";
594
+ readonly name: "byMrSigner";
595
+ readonly type: "bytes32[]";
587
596
  }];
588
597
  readonly stateMutability: "view";
589
598
  readonly type: "function";
@@ -596,28 +605,36 @@ export declare const abi: readonly [{
596
605
  readonly name: "getRootCert";
597
606
  readonly outputs: readonly [{
598
607
  readonly components: readonly [{
599
- readonly internalType: "bytes[6]";
600
- readonly name: "bodyParts";
601
- readonly type: "bytes[6]";
608
+ readonly internalType: "bytes[]";
609
+ readonly name: "nonSerializedParts";
610
+ readonly type: "bytes[]";
602
611
  }, {
603
- readonly internalType: "uint256";
612
+ readonly internalType: "bytes";
604
613
  readonly name: "expirationDate";
605
- readonly type: "uint256";
614
+ readonly type: "bytes";
606
615
  }, {
607
- readonly internalType: "bytes1";
616
+ readonly internalType: "bytes";
608
617
  readonly name: "ca";
609
- readonly type: "bytes1";
618
+ readonly type: "bytes";
610
619
  }, {
611
620
  readonly internalType: "bytes32";
612
- readonly name: "tcbDataHash";
621
+ readonly name: "userData";
613
622
  readonly type: "bytes32";
614
623
  }, {
615
624
  readonly internalType: "bytes";
616
625
  readonly name: "publicKey";
617
626
  readonly type: "bytes";
627
+ }, {
628
+ readonly internalType: "bytes";
629
+ readonly name: "serialNumber";
630
+ readonly type: "bytes";
618
631
  }, {
619
632
  readonly internalType: "bytes32";
620
- readonly name: "id";
633
+ readonly name: "mrEnclave";
634
+ readonly type: "bytes32";
635
+ }, {
636
+ readonly internalType: "bytes32";
637
+ readonly name: "mrSigner";
621
638
  readonly type: "bytes32";
622
639
  }, {
623
640
  readonly internalType: "bytes";
@@ -630,91 +647,106 @@ export declare const abi: readonly [{
630
647
  }];
631
648
  readonly stateMutability: "view";
632
649
  readonly type: "function";
650
+ }, {
651
+ readonly inputs: readonly [{
652
+ readonly internalType: "bytes";
653
+ readonly name: "serialNumber";
654
+ readonly type: "bytes";
655
+ }, {
656
+ readonly internalType: "bytes32";
657
+ readonly name: "mrEnclave";
658
+ readonly type: "bytes32";
659
+ }, {
660
+ readonly internalType: "bytes32";
661
+ readonly name: "mrSigner";
662
+ readonly type: "bytes32";
663
+ }];
664
+ readonly name: "isCertBlacklisted";
665
+ readonly outputs: readonly [{
666
+ readonly internalType: "bool";
667
+ readonly name: "";
668
+ readonly type: "bool";
669
+ }];
670
+ readonly stateMutability: "view";
671
+ readonly type: "function";
633
672
  }, {
634
673
  readonly inputs: readonly [{
635
674
  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
675
  readonly internalType: "bytes";
653
- readonly name: "publicKey";
676
+ readonly name: "item";
654
677
  readonly type: "bytes";
655
678
  }, {
679
+ readonly internalType: "bool";
680
+ readonly name: "isBlacklisted";
681
+ readonly type: "bool";
682
+ }];
683
+ readonly internalType: "struct BytesBlacklist[]";
684
+ readonly name: "serialNumberChanges";
685
+ readonly type: "tuple[]";
686
+ }, {
687
+ readonly components: readonly [{
656
688
  readonly internalType: "bytes32";
657
- readonly name: "id";
689
+ readonly name: "item";
658
690
  readonly type: "bytes32";
659
691
  }, {
660
- readonly internalType: "bytes";
661
- readonly name: "signature";
662
- readonly type: "bytes";
692
+ readonly internalType: "bool";
693
+ readonly name: "isBlacklisted";
694
+ readonly type: "bool";
663
695
  }];
664
- readonly internalType: "struct ChunkedX509Cert[]";
665
- readonly name: "certsChain";
696
+ readonly internalType: "struct Bytes32Blacklist[]";
697
+ readonly name: "mrEnclaveChanges";
666
698
  readonly type: "tuple[]";
667
- }, {
668
- readonly internalType: "uint256";
669
- readonly name: "rootCertId";
670
- readonly type: "uint256";
671
699
  }, {
672
700
  readonly components: readonly [{
673
701
  readonly internalType: "bytes32";
674
- readonly name: "id";
702
+ readonly name: "item";
675
703
  readonly type: "bytes32";
676
704
  }, {
677
705
  readonly internalType: "bool";
678
706
  readonly name: "isBlacklisted";
679
707
  readonly type: "bool";
680
708
  }];
681
- readonly internalType: "struct CertBlackList[]";
682
- readonly name: "blacklistedCerts";
709
+ readonly internalType: "struct Bytes32Blacklist[]";
710
+ readonly name: "mrSignerChanges";
683
711
  readonly type: "tuple[]";
684
- }, {
685
- readonly internalType: "bytes";
686
- readonly name: "signature";
687
- readonly type: "bytes";
688
712
  }];
689
- readonly name: "setCRL";
713
+ readonly name: "setCertsBlacklist";
690
714
  readonly outputs: readonly [];
691
715
  readonly stateMutability: "nonpayable";
692
716
  readonly type: "function";
693
717
  }, {
694
718
  readonly inputs: readonly [{
695
719
  readonly components: readonly [{
696
- readonly internalType: "bytes[6]";
697
- readonly name: "bodyParts";
698
- readonly type: "bytes[6]";
720
+ readonly internalType: "bytes[]";
721
+ readonly name: "nonSerializedParts";
722
+ readonly type: "bytes[]";
699
723
  }, {
700
- readonly internalType: "uint256";
724
+ readonly internalType: "bytes";
701
725
  readonly name: "expirationDate";
702
- readonly type: "uint256";
726
+ readonly type: "bytes";
703
727
  }, {
704
- readonly internalType: "bytes1";
728
+ readonly internalType: "bytes";
705
729
  readonly name: "ca";
706
- readonly type: "bytes1";
730
+ readonly type: "bytes";
707
731
  }, {
708
732
  readonly internalType: "bytes32";
709
- readonly name: "tcbDataHash";
733
+ readonly name: "userData";
710
734
  readonly type: "bytes32";
711
735
  }, {
712
736
  readonly internalType: "bytes";
713
737
  readonly name: "publicKey";
714
738
  readonly type: "bytes";
739
+ }, {
740
+ readonly internalType: "bytes";
741
+ readonly name: "serialNumber";
742
+ readonly type: "bytes";
715
743
  }, {
716
744
  readonly internalType: "bytes32";
717
- readonly name: "id";
745
+ readonly name: "mrEnclave";
746
+ readonly type: "bytes32";
747
+ }, {
748
+ readonly internalType: "bytes32";
749
+ readonly name: "mrSigner";
718
750
  readonly type: "bytes32";
719
751
  }, {
720
752
  readonly internalType: "bytes";
@@ -736,28 +768,36 @@ export declare const abi: readonly [{
736
768
  }, {
737
769
  readonly inputs: readonly [{
738
770
  readonly components: readonly [{
739
- readonly internalType: "bytes[6]";
740
- readonly name: "bodyParts";
741
- readonly type: "bytes[6]";
771
+ readonly internalType: "bytes[]";
772
+ readonly name: "nonSerializedParts";
773
+ readonly type: "bytes[]";
742
774
  }, {
743
- readonly internalType: "uint256";
775
+ readonly internalType: "bytes";
744
776
  readonly name: "expirationDate";
745
- readonly type: "uint256";
777
+ readonly type: "bytes";
746
778
  }, {
747
- readonly internalType: "bytes1";
779
+ readonly internalType: "bytes";
748
780
  readonly name: "ca";
749
- readonly type: "bytes1";
781
+ readonly type: "bytes";
750
782
  }, {
751
783
  readonly internalType: "bytes32";
752
- readonly name: "tcbDataHash";
784
+ readonly name: "userData";
753
785
  readonly type: "bytes32";
754
786
  }, {
755
787
  readonly internalType: "bytes";
756
788
  readonly name: "publicKey";
757
789
  readonly type: "bytes";
790
+ }, {
791
+ readonly internalType: "bytes";
792
+ readonly name: "serialNumber";
793
+ readonly type: "bytes";
758
794
  }, {
759
795
  readonly internalType: "bytes32";
760
- readonly name: "id";
796
+ readonly name: "mrEnclave";
797
+ readonly type: "bytes32";
798
+ }, {
799
+ readonly internalType: "bytes32";
800
+ readonly name: "mrSigner";
761
801
  readonly type: "bytes32";
762
802
  }, {
763
803
  readonly internalType: "bytes";
@@ -783,28 +823,36 @@ export declare const abi: readonly [{
783
823
  }, {
784
824
  readonly inputs: readonly [{
785
825
  readonly components: readonly [{
786
- readonly internalType: "bytes[6]";
787
- readonly name: "bodyParts";
788
- readonly type: "bytes[6]";
826
+ readonly internalType: "bytes[]";
827
+ readonly name: "nonSerializedParts";
828
+ readonly type: "bytes[]";
789
829
  }, {
790
- readonly internalType: "uint256";
830
+ readonly internalType: "bytes";
791
831
  readonly name: "expirationDate";
792
- readonly type: "uint256";
832
+ readonly type: "bytes";
793
833
  }, {
794
- readonly internalType: "bytes1";
834
+ readonly internalType: "bytes";
795
835
  readonly name: "ca";
796
- readonly type: "bytes1";
836
+ readonly type: "bytes";
797
837
  }, {
798
838
  readonly internalType: "bytes32";
799
- readonly name: "tcbDataHash";
839
+ readonly name: "userData";
800
840
  readonly type: "bytes32";
801
841
  }, {
802
842
  readonly internalType: "bytes";
803
843
  readonly name: "publicKey";
804
844
  readonly type: "bytes";
845
+ }, {
846
+ readonly internalType: "bytes";
847
+ readonly name: "serialNumber";
848
+ readonly type: "bytes";
805
849
  }, {
806
850
  readonly internalType: "bytes32";
807
- readonly name: "id";
851
+ readonly name: "mrEnclave";
852
+ readonly type: "bytes32";
853
+ }, {
854
+ readonly internalType: "bytes32";
855
+ readonly name: "mrSigner";
808
856
  readonly type: "bytes32";
809
857
  }, {
810
858
  readonly internalType: "bytes";
@@ -845,28 +893,36 @@ export declare const abi: readonly [{
845
893
  }, {
846
894
  readonly inputs: readonly [{
847
895
  readonly components: readonly [{
848
- readonly internalType: "bytes[6]";
849
- readonly name: "bodyParts";
850
- readonly type: "bytes[6]";
896
+ readonly internalType: "bytes[]";
897
+ readonly name: "nonSerializedParts";
898
+ readonly type: "bytes[]";
851
899
  }, {
852
- readonly internalType: "uint256";
900
+ readonly internalType: "bytes";
853
901
  readonly name: "expirationDate";
854
- readonly type: "uint256";
902
+ readonly type: "bytes";
855
903
  }, {
856
- readonly internalType: "bytes1";
904
+ readonly internalType: "bytes";
857
905
  readonly name: "ca";
858
- readonly type: "bytes1";
906
+ readonly type: "bytes";
859
907
  }, {
860
908
  readonly internalType: "bytes32";
861
- readonly name: "tcbDataHash";
909
+ readonly name: "userData";
862
910
  readonly type: "bytes32";
863
911
  }, {
864
912
  readonly internalType: "bytes";
865
913
  readonly name: "publicKey";
866
914
  readonly type: "bytes";
915
+ }, {
916
+ readonly internalType: "bytes";
917
+ readonly name: "serialNumber";
918
+ readonly type: "bytes";
867
919
  }, {
868
920
  readonly internalType: "bytes32";
869
- readonly name: "id";
921
+ readonly name: "mrEnclave";
922
+ readonly type: "bytes32";
923
+ }, {
924
+ readonly internalType: "bytes32";
925
+ readonly name: "mrSigner";
870
926
  readonly type: "bytes32";
871
927
  }, {
872
928
  readonly internalType: "bytes";
@@ -1057,28 +1113,36 @@ export declare const abi: readonly [{
1057
1113
  readonly type: "bool";
1058
1114
  }, {
1059
1115
  readonly components: readonly [{
1060
- readonly internalType: "bytes[6]";
1061
- readonly name: "bodyParts";
1062
- readonly type: "bytes[6]";
1116
+ readonly internalType: "bytes[]";
1117
+ readonly name: "nonSerializedParts";
1118
+ readonly type: "bytes[]";
1063
1119
  }, {
1064
- readonly internalType: "uint256";
1120
+ readonly internalType: "bytes";
1065
1121
  readonly name: "expirationDate";
1066
- readonly type: "uint256";
1122
+ readonly type: "bytes";
1067
1123
  }, {
1068
- readonly internalType: "bytes1";
1124
+ readonly internalType: "bytes";
1069
1125
  readonly name: "ca";
1070
- readonly type: "bytes1";
1126
+ readonly type: "bytes";
1071
1127
  }, {
1072
1128
  readonly internalType: "bytes32";
1073
- readonly name: "tcbDataHash";
1129
+ readonly name: "userData";
1074
1130
  readonly type: "bytes32";
1075
1131
  }, {
1076
1132
  readonly internalType: "bytes";
1077
1133
  readonly name: "publicKey";
1078
1134
  readonly type: "bytes";
1135
+ }, {
1136
+ readonly internalType: "bytes";
1137
+ readonly name: "serialNumber";
1138
+ readonly type: "bytes";
1079
1139
  }, {
1080
1140
  readonly internalType: "bytes32";
1081
- readonly name: "id";
1141
+ readonly name: "mrEnclave";
1142
+ readonly type: "bytes32";
1143
+ }, {
1144
+ readonly internalType: "bytes32";
1145
+ readonly name: "mrSigner";
1082
1146
  readonly type: "bytes32";
1083
1147
  }, {
1084
1148
  readonly internalType: "bytes";
@@ -11654,6 +11718,52 @@ export declare const abi: readonly [{
11654
11718
  readonly outputs: readonly [];
11655
11719
  readonly stateMutability: "nonpayable";
11656
11720
  readonly type: "function";
11721
+ }, {
11722
+ readonly inputs: readonly [{
11723
+ readonly internalType: "string";
11724
+ readonly name: "date";
11725
+ readonly type: "string";
11726
+ }];
11727
+ readonly name: "convertDateToUnixTimestamp";
11728
+ readonly outputs: readonly [{
11729
+ readonly internalType: "uint256";
11730
+ readonly name: "";
11731
+ readonly type: "uint256";
11732
+ }];
11733
+ readonly stateMutability: "pure";
11734
+ readonly type: "function";
11735
+ }, {
11736
+ readonly inputs: readonly [{
11737
+ readonly internalType: "uint256";
11738
+ readonly name: "month";
11739
+ readonly type: "uint256";
11740
+ }, {
11741
+ readonly internalType: "uint256";
11742
+ readonly name: "year";
11743
+ readonly type: "uint256";
11744
+ }];
11745
+ readonly name: "getDaysInMonth";
11746
+ readonly outputs: readonly [{
11747
+ readonly internalType: "uint256";
11748
+ readonly name: "";
11749
+ readonly type: "uint256";
11750
+ }];
11751
+ readonly stateMutability: "pure";
11752
+ readonly type: "function";
11753
+ }, {
11754
+ readonly inputs: readonly [{
11755
+ readonly internalType: "uint256";
11756
+ readonly name: "year";
11757
+ readonly type: "uint256";
11758
+ }];
11759
+ readonly name: "isLeapYear";
11760
+ readonly outputs: readonly [{
11761
+ readonly internalType: "bool";
11762
+ readonly name: "";
11763
+ readonly type: "bool";
11764
+ }];
11765
+ readonly stateMutability: "pure";
11766
+ readonly type: "function";
11657
11767
  }, {
11658
11768
  readonly inputs: readonly [{
11659
11769
  readonly internalType: "uint256";