@sentio/sdk 2.11.2-rc.2 → 2.11.3-rc.1
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/lib/move/abstract-codegen.d.ts +1 -0
- package/lib/move/abstract-codegen.js +2 -1
- package/lib/move/abstract-codegen.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +74 -40
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +190 -104
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/sui/codegen/codegen.js +1 -0
- package/lib/sui/codegen/codegen.js.map +1 -1
- package/lib/sui/models.d.ts +1 -1
- package/lib/sui/models.js.map +1 -1
- package/package.json +7 -5
- package/src/move/abstract-codegen.ts +2 -1
- package/src/sui/builtin/0x2.ts +64 -40
- package/src/sui/builtin/0x3.ts +167 -102
- package/src/sui/codegen/codegen.ts +1 -0
- package/src/sui/models.ts +1 -1
    
        package/src/sui/builtin/0x3.ts
    CHANGED
    
    | @@ -246,14 +246,14 @@ export namespace staking_pool { | |
| 246 246 | 
             
              }
         | 
| 247 247 |  | 
| 248 248 | 
             
              export interface JoinStakedSuiPayload
         | 
| 249 | 
            -
                extends TypedFunctionPayload<[SuiAddress]> {
         | 
| 250 | 
            -
                arguments_decoded: [SuiAddress];
         | 
| 249 | 
            +
                extends TypedFunctionPayload<[SuiAddress | undefined]> {
         | 
| 250 | 
            +
                arguments_decoded: [SuiAddress | undefined];
         | 
| 251 251 | 
             
                type_arguments: [];
         | 
| 252 252 | 
             
              }
         | 
| 253 253 |  | 
| 254 254 | 
             
              export interface SplitStakedSuiPayload
         | 
| 255 | 
            -
                extends TypedFunctionPayload<[SuiAddress, bigint]> {
         | 
| 256 | 
            -
                arguments_decoded: [SuiAddress, bigint];
         | 
| 255 | 
            +
                extends TypedFunctionPayload<[SuiAddress | undefined, bigint | undefined]> {
         | 
| 256 | 
            +
                arguments_decoded: [SuiAddress | undefined, bigint | undefined];
         | 
| 257 257 | 
             
                type_arguments: [];
         | 
| 258 258 | 
             
              }
         | 
| 259 259 | 
             
            }
         | 
| @@ -884,242 +884,307 @@ export namespace sui_system { | |
| 884 884 | 
             
              }
         | 
| 885 885 |  | 
| 886 886 | 
             
              export interface ReportValidatorPayload
         | 
| 887 | 
            -
                extends TypedFunctionPayload< | 
| 888 | 
            -
             | 
| 887 | 
            +
                extends TypedFunctionPayload<
         | 
| 888 | 
            +
                  [SuiAddress | undefined, SuiAddress | undefined]
         | 
| 889 | 
            +
                > {
         | 
| 890 | 
            +
                arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
         | 
| 889 891 | 
             
                type_arguments: [];
         | 
| 890 892 | 
             
              }
         | 
| 891 893 |  | 
| 892 894 | 
             
              export interface RequestAddStakePayload
         | 
| 893 895 | 
             
                extends TypedFunctionPayload<
         | 
| 894 | 
            -
                  [ | 
| 896 | 
            +
                  [
         | 
| 897 | 
            +
                    SuiAddress | undefined,
         | 
| 898 | 
            +
                    _0x2.coin.Coin<_0x2.sui.SUI> | undefined,
         | 
| 899 | 
            +
                    SuiAddress | undefined
         | 
| 900 | 
            +
                  ]
         | 
| 895 901 | 
             
                > {
         | 
| 896 | 
            -
                arguments_decoded: [ | 
| 902 | 
            +
                arguments_decoded: [
         | 
| 903 | 
            +
                  SuiAddress | undefined,
         | 
| 904 | 
            +
                  _0x2.coin.Coin<_0x2.sui.SUI> | undefined,
         | 
| 905 | 
            +
                  SuiAddress | undefined
         | 
| 906 | 
            +
                ];
         | 
| 897 907 | 
             
                type_arguments: [];
         | 
| 898 908 | 
             
              }
         | 
| 899 909 |  | 
| 900 910 | 
             
              export interface RequestAddStakeMulCoinPayload
         | 
| 901 911 | 
             
                extends TypedFunctionPayload<
         | 
| 902 912 | 
             
                  [
         | 
| 903 | 
            -
                    SuiAddress,
         | 
| 904 | 
            -
                    _0x2.coin.Coin<_0x2.sui.SUI>[],
         | 
| 905 | 
            -
                    _0x1.option.Option<bigint | 
| 906 | 
            -
                    SuiAddress
         | 
| 913 | 
            +
                    SuiAddress | undefined,
         | 
| 914 | 
            +
                    _0x2.coin.Coin<_0x2.sui.SUI>[] | undefined,
         | 
| 915 | 
            +
                    _0x1.option.Option<bigint> | undefined,
         | 
| 916 | 
            +
                    SuiAddress | undefined
         | 
| 907 917 | 
             
                  ]
         | 
| 908 918 | 
             
                > {
         | 
| 909 919 | 
             
                arguments_decoded: [
         | 
| 910 | 
            -
                  SuiAddress,
         | 
| 911 | 
            -
                  _0x2.coin.Coin<_0x2.sui.SUI>[],
         | 
| 912 | 
            -
                  _0x1.option.Option<bigint | 
| 913 | 
            -
                  SuiAddress
         | 
| 920 | 
            +
                  SuiAddress | undefined,
         | 
| 921 | 
            +
                  _0x2.coin.Coin<_0x2.sui.SUI>[] | undefined,
         | 
| 922 | 
            +
                  _0x1.option.Option<bigint> | undefined,
         | 
| 923 | 
            +
                  SuiAddress | undefined
         | 
| 914 924 | 
             
                ];
         | 
| 915 925 | 
             
                type_arguments: [];
         | 
| 916 926 | 
             
              }
         | 
| 917 927 |  | 
| 918 928 | 
             
              export interface RequestAddValidatorPayload
         | 
| 919 | 
            -
                extends TypedFunctionPayload<[SuiAddress]> {
         | 
| 920 | 
            -
                arguments_decoded: [SuiAddress];
         | 
| 929 | 
            +
                extends TypedFunctionPayload<[SuiAddress | undefined]> {
         | 
| 930 | 
            +
                arguments_decoded: [SuiAddress | undefined];
         | 
| 921 931 | 
             
                type_arguments: [];
         | 
| 922 932 | 
             
              }
         | 
| 923 933 |  | 
| 924 934 | 
             
              export interface RequestAddValidatorCandidatePayload
         | 
| 925 935 | 
             
                extends TypedFunctionPayload<
         | 
| 926 936 | 
             
                  [
         | 
| 927 | 
            -
                    SuiAddress,
         | 
| 928 | 
            -
                    number[],
         | 
| 929 | 
            -
                    number[],
         | 
| 930 | 
            -
                    number[],
         | 
| 931 | 
            -
                    number[],
         | 
| 932 | 
            -
                    number[],
         | 
| 933 | 
            -
                    number[],
         | 
| 934 | 
            -
                    number[],
         | 
| 935 | 
            -
                    number[],
         | 
| 936 | 
            -
                    number[],
         | 
| 937 | 
            -
                    number[],
         | 
| 938 | 
            -
                    number[],
         | 
| 939 | 
            -
                    number[],
         | 
| 940 | 
            -
                    bigint,
         | 
| 941 | 
            -
                    bigint
         | 
| 937 | 
            +
                    SuiAddress | undefined,
         | 
| 938 | 
            +
                    number[] | undefined,
         | 
| 939 | 
            +
                    number[] | undefined,
         | 
| 940 | 
            +
                    number[] | undefined,
         | 
| 941 | 
            +
                    number[] | undefined,
         | 
| 942 | 
            +
                    number[] | undefined,
         | 
| 943 | 
            +
                    number[] | undefined,
         | 
| 944 | 
            +
                    number[] | undefined,
         | 
| 945 | 
            +
                    number[] | undefined,
         | 
| 946 | 
            +
                    number[] | undefined,
         | 
| 947 | 
            +
                    number[] | undefined,
         | 
| 948 | 
            +
                    number[] | undefined,
         | 
| 949 | 
            +
                    number[] | undefined,
         | 
| 950 | 
            +
                    bigint | undefined,
         | 
| 951 | 
            +
                    bigint | undefined
         | 
| 942 952 | 
             
                  ]
         | 
| 943 953 | 
             
                > {
         | 
| 944 954 | 
             
                arguments_decoded: [
         | 
| 945 | 
            -
                  SuiAddress,
         | 
| 946 | 
            -
                  number[],
         | 
| 947 | 
            -
                  number[],
         | 
| 948 | 
            -
                  number[],
         | 
| 949 | 
            -
                  number[],
         | 
| 950 | 
            -
                  number[],
         | 
| 951 | 
            -
                  number[],
         | 
| 952 | 
            -
                  number[],
         | 
| 953 | 
            -
                  number[],
         | 
| 954 | 
            -
                  number[],
         | 
| 955 | 
            -
                  number[],
         | 
| 956 | 
            -
                  number[],
         | 
| 957 | 
            -
                  number[],
         | 
| 958 | 
            -
                  bigint,
         | 
| 959 | 
            -
                  bigint
         | 
| 955 | 
            +
                  SuiAddress | undefined,
         | 
| 956 | 
            +
                  number[] | undefined,
         | 
| 957 | 
            +
                  number[] | undefined,
         | 
| 958 | 
            +
                  number[] | undefined,
         | 
| 959 | 
            +
                  number[] | undefined,
         | 
| 960 | 
            +
                  number[] | undefined,
         | 
| 961 | 
            +
                  number[] | undefined,
         | 
| 962 | 
            +
                  number[] | undefined,
         | 
| 963 | 
            +
                  number[] | undefined,
         | 
| 964 | 
            +
                  number[] | undefined,
         | 
| 965 | 
            +
                  number[] | undefined,
         | 
| 966 | 
            +
                  number[] | undefined,
         | 
| 967 | 
            +
                  number[] | undefined,
         | 
| 968 | 
            +
                  bigint | undefined,
         | 
| 969 | 
            +
                  bigint | undefined
         | 
| 960 970 | 
             
                ];
         | 
| 961 971 | 
             
                type_arguments: [];
         | 
| 962 972 | 
             
              }
         | 
| 963 973 |  | 
| 964 974 | 
             
              export interface RequestRemoveValidatorPayload
         | 
| 965 | 
            -
                extends TypedFunctionPayload<[SuiAddress]> {
         | 
| 966 | 
            -
                arguments_decoded: [SuiAddress];
         | 
| 975 | 
            +
                extends TypedFunctionPayload<[SuiAddress | undefined]> {
         | 
| 976 | 
            +
                arguments_decoded: [SuiAddress | undefined];
         | 
| 967 977 | 
             
                type_arguments: [];
         | 
| 968 978 | 
             
              }
         | 
| 969 979 |  | 
| 970 980 | 
             
              export interface RequestRemoveValidatorCandidatePayload
         | 
| 971 | 
            -
                extends TypedFunctionPayload<[SuiAddress]> {
         | 
| 972 | 
            -
                arguments_decoded: [SuiAddress];
         | 
| 981 | 
            +
                extends TypedFunctionPayload<[SuiAddress | undefined]> {
         | 
| 982 | 
            +
                arguments_decoded: [SuiAddress | undefined];
         | 
| 973 983 | 
             
                type_arguments: [];
         | 
| 974 984 | 
             
              }
         | 
| 975 985 |  | 
| 976 986 | 
             
              export interface RequestSetCommissionRatePayload
         | 
| 977 | 
            -
                extends TypedFunctionPayload<[SuiAddress, bigint]> {
         | 
| 978 | 
            -
                arguments_decoded: [SuiAddress, bigint];
         | 
| 987 | 
            +
                extends TypedFunctionPayload<[SuiAddress | undefined, bigint | undefined]> {
         | 
| 988 | 
            +
                arguments_decoded: [SuiAddress | undefined, bigint | undefined];
         | 
| 979 989 | 
             
                type_arguments: [];
         | 
| 980 990 | 
             
              }
         | 
| 981 991 |  | 
| 982 992 | 
             
              export interface RequestSetGasPricePayload
         | 
| 983 | 
            -
                extends TypedFunctionPayload< | 
| 984 | 
            -
             | 
| 993 | 
            +
                extends TypedFunctionPayload<
         | 
| 994 | 
            +
                  [SuiAddress | undefined, SuiAddress | undefined]
         | 
| 995 | 
            +
                > {
         | 
| 996 | 
            +
                arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
         | 
| 985 997 | 
             
                type_arguments: [];
         | 
| 986 998 | 
             
              }
         | 
| 987 999 |  | 
| 988 1000 | 
             
              export interface RequestWithdrawStakePayload
         | 
| 989 | 
            -
                extends TypedFunctionPayload< | 
| 990 | 
            -
             | 
| 1001 | 
            +
                extends TypedFunctionPayload<
         | 
| 1002 | 
            +
                  [SuiAddress | undefined, staking_pool.StakedSui | undefined]
         | 
| 1003 | 
            +
                > {
         | 
| 1004 | 
            +
                arguments_decoded: [
         | 
| 1005 | 
            +
                  SuiAddress | undefined,
         | 
| 1006 | 
            +
                  staking_pool.StakedSui | undefined
         | 
| 1007 | 
            +
                ];
         | 
| 991 1008 | 
             
                type_arguments: [];
         | 
| 992 1009 | 
             
              }
         | 
| 993 1010 |  | 
| 994 1011 | 
             
              export interface RotateOperationCapPayload
         | 
| 995 | 
            -
                extends TypedFunctionPayload<[SuiAddress]> {
         | 
| 996 | 
            -
                arguments_decoded: [SuiAddress];
         | 
| 1012 | 
            +
                extends TypedFunctionPayload<[SuiAddress | undefined]> {
         | 
| 1013 | 
            +
                arguments_decoded: [SuiAddress | undefined];
         | 
| 997 1014 | 
             
                type_arguments: [];
         | 
| 998 1015 | 
             
              }
         | 
| 999 1016 |  | 
| 1000 1017 | 
             
              export interface SetCandidateValidatorCommissionRatePayload
         | 
| 1001 | 
            -
                extends TypedFunctionPayload<[SuiAddress, bigint]> {
         | 
| 1002 | 
            -
                arguments_decoded: [SuiAddress, bigint];
         | 
| 1018 | 
            +
                extends TypedFunctionPayload<[SuiAddress | undefined, bigint | undefined]> {
         | 
| 1019 | 
            +
                arguments_decoded: [SuiAddress | undefined, bigint | undefined];
         | 
| 1003 1020 | 
             
                type_arguments: [];
         | 
| 1004 1021 | 
             
              }
         | 
| 1005 1022 |  | 
| 1006 1023 | 
             
              export interface SetCandidateValidatorGasPricePayload
         | 
| 1007 | 
            -
                extends TypedFunctionPayload< | 
| 1008 | 
            -
             | 
| 1024 | 
            +
                extends TypedFunctionPayload<
         | 
| 1025 | 
            +
                  [SuiAddress | undefined, SuiAddress | undefined]
         | 
| 1026 | 
            +
                > {
         | 
| 1027 | 
            +
                arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
         | 
| 1009 1028 | 
             
                type_arguments: [];
         | 
| 1010 1029 | 
             
              }
         | 
| 1011 1030 |  | 
| 1012 1031 | 
             
              export interface UndoReportValidatorPayload
         | 
| 1013 | 
            -
                extends TypedFunctionPayload< | 
| 1014 | 
            -
             | 
| 1032 | 
            +
                extends TypedFunctionPayload<
         | 
| 1033 | 
            +
                  [SuiAddress | undefined, SuiAddress | undefined]
         | 
| 1034 | 
            +
                > {
         | 
| 1035 | 
            +
                arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
         | 
| 1015 1036 | 
             
                type_arguments: [];
         | 
| 1016 1037 | 
             
              }
         | 
| 1017 1038 |  | 
| 1018 1039 | 
             
              export interface UpdateCandidateValidatorNetworkAddressPayload
         | 
| 1019 | 
            -
                extends TypedFunctionPayload< | 
| 1020 | 
            -
             | 
| 1040 | 
            +
                extends TypedFunctionPayload<
         | 
| 1041 | 
            +
                  [SuiAddress | undefined, number[] | undefined]
         | 
| 1042 | 
            +
                > {
         | 
| 1043 | 
            +
                arguments_decoded: [SuiAddress | undefined, number[] | undefined];
         | 
| 1021 1044 | 
             
                type_arguments: [];
         | 
| 1022 1045 | 
             
              }
         | 
| 1023 1046 |  | 
| 1024 1047 | 
             
              export interface UpdateCandidateValidatorNetworkPubkeyPayload
         | 
| 1025 | 
            -
                extends TypedFunctionPayload< | 
| 1026 | 
            -
             | 
| 1048 | 
            +
                extends TypedFunctionPayload<
         | 
| 1049 | 
            +
                  [SuiAddress | undefined, number[] | undefined]
         | 
| 1050 | 
            +
                > {
         | 
| 1051 | 
            +
                arguments_decoded: [SuiAddress | undefined, number[] | undefined];
         | 
| 1027 1052 | 
             
                type_arguments: [];
         | 
| 1028 1053 | 
             
              }
         | 
| 1029 1054 |  | 
| 1030 1055 | 
             
              export interface UpdateCandidateValidatorP2PAddressPayload
         | 
| 1031 | 
            -
                extends TypedFunctionPayload< | 
| 1032 | 
            -
             | 
| 1056 | 
            +
                extends TypedFunctionPayload<
         | 
| 1057 | 
            +
                  [SuiAddress | undefined, number[] | undefined]
         | 
| 1058 | 
            +
                > {
         | 
| 1059 | 
            +
                arguments_decoded: [SuiAddress | undefined, number[] | undefined];
         | 
| 1033 1060 | 
             
                type_arguments: [];
         | 
| 1034 1061 | 
             
              }
         | 
| 1035 1062 |  | 
| 1036 1063 | 
             
              export interface UpdateCandidateValidatorPrimaryAddressPayload
         | 
| 1037 | 
            -
                extends TypedFunctionPayload< | 
| 1038 | 
            -
             | 
| 1064 | 
            +
                extends TypedFunctionPayload<
         | 
| 1065 | 
            +
                  [SuiAddress | undefined, number[] | undefined]
         | 
| 1066 | 
            +
                > {
         | 
| 1067 | 
            +
                arguments_decoded: [SuiAddress | undefined, number[] | undefined];
         | 
| 1039 1068 | 
             
                type_arguments: [];
         | 
| 1040 1069 | 
             
              }
         | 
| 1041 1070 |  | 
| 1042 1071 | 
             
              export interface UpdateCandidateValidatorProtocolPubkeyPayload
         | 
| 1043 | 
            -
                extends TypedFunctionPayload< | 
| 1044 | 
            -
             | 
| 1072 | 
            +
                extends TypedFunctionPayload<
         | 
| 1073 | 
            +
                  [SuiAddress | undefined, number[] | undefined, number[] | undefined]
         | 
| 1074 | 
            +
                > {
         | 
| 1075 | 
            +
                arguments_decoded: [
         | 
| 1076 | 
            +
                  SuiAddress | undefined,
         | 
| 1077 | 
            +
                  number[] | undefined,
         | 
| 1078 | 
            +
                  number[] | undefined
         | 
| 1079 | 
            +
                ];
         | 
| 1045 1080 | 
             
                type_arguments: [];
         | 
| 1046 1081 | 
             
              }
         | 
| 1047 1082 |  | 
| 1048 1083 | 
             
              export interface UpdateCandidateValidatorWorkerAddressPayload
         | 
| 1049 | 
            -
                extends TypedFunctionPayload< | 
| 1050 | 
            -
             | 
| 1084 | 
            +
                extends TypedFunctionPayload<
         | 
| 1085 | 
            +
                  [SuiAddress | undefined, number[] | undefined]
         | 
| 1086 | 
            +
                > {
         | 
| 1087 | 
            +
                arguments_decoded: [SuiAddress | undefined, number[] | undefined];
         | 
| 1051 1088 | 
             
                type_arguments: [];
         | 
| 1052 1089 | 
             
              }
         | 
| 1053 1090 |  | 
| 1054 1091 | 
             
              export interface UpdateCandidateValidatorWorkerPubkeyPayload
         | 
| 1055 | 
            -
                extends TypedFunctionPayload< | 
| 1056 | 
            -
             | 
| 1092 | 
            +
                extends TypedFunctionPayload<
         | 
| 1093 | 
            +
                  [SuiAddress | undefined, number[] | undefined]
         | 
| 1094 | 
            +
                > {
         | 
| 1095 | 
            +
                arguments_decoded: [SuiAddress | undefined, number[] | undefined];
         | 
| 1057 1096 | 
             
                type_arguments: [];
         | 
| 1058 1097 | 
             
              }
         | 
| 1059 1098 |  | 
| 1060 1099 | 
             
              export interface UpdateValidatorDescriptionPayload
         | 
| 1061 | 
            -
                extends TypedFunctionPayload< | 
| 1062 | 
            -
             | 
| 1100 | 
            +
                extends TypedFunctionPayload<
         | 
| 1101 | 
            +
                  [SuiAddress | undefined, number[] | undefined]
         | 
| 1102 | 
            +
                > {
         | 
| 1103 | 
            +
                arguments_decoded: [SuiAddress | undefined, number[] | undefined];
         | 
| 1063 1104 | 
             
                type_arguments: [];
         | 
| 1064 1105 | 
             
              }
         | 
| 1065 1106 |  | 
| 1066 1107 | 
             
              export interface UpdateValidatorImageUrlPayload
         | 
| 1067 | 
            -
                extends TypedFunctionPayload< | 
| 1068 | 
            -
             | 
| 1108 | 
            +
                extends TypedFunctionPayload<
         | 
| 1109 | 
            +
                  [SuiAddress | undefined, number[] | undefined]
         | 
| 1110 | 
            +
                > {
         | 
| 1111 | 
            +
                arguments_decoded: [SuiAddress | undefined, number[] | undefined];
         | 
| 1069 1112 | 
             
                type_arguments: [];
         | 
| 1070 1113 | 
             
              }
         | 
| 1071 1114 |  | 
| 1072 1115 | 
             
              export interface UpdateValidatorNamePayload
         | 
| 1073 | 
            -
                extends TypedFunctionPayload< | 
| 1074 | 
            -
             | 
| 1116 | 
            +
                extends TypedFunctionPayload<
         | 
| 1117 | 
            +
                  [SuiAddress | undefined, number[] | undefined]
         | 
| 1118 | 
            +
                > {
         | 
| 1119 | 
            +
                arguments_decoded: [SuiAddress | undefined, number[] | undefined];
         | 
| 1075 1120 | 
             
                type_arguments: [];
         | 
| 1076 1121 | 
             
              }
         | 
| 1077 1122 |  | 
| 1078 1123 | 
             
              export interface UpdateValidatorNextEpochNetworkAddressPayload
         | 
| 1079 | 
            -
                extends TypedFunctionPayload< | 
| 1080 | 
            -
             | 
| 1124 | 
            +
                extends TypedFunctionPayload<
         | 
| 1125 | 
            +
                  [SuiAddress | undefined, number[] | undefined]
         | 
| 1126 | 
            +
                > {
         | 
| 1127 | 
            +
                arguments_decoded: [SuiAddress | undefined, number[] | undefined];
         | 
| 1081 1128 | 
             
                type_arguments: [];
         | 
| 1082 1129 | 
             
              }
         | 
| 1083 1130 |  | 
| 1084 1131 | 
             
              export interface UpdateValidatorNextEpochNetworkPubkeyPayload
         | 
| 1085 | 
            -
                extends TypedFunctionPayload< | 
| 1086 | 
            -
             | 
| 1132 | 
            +
                extends TypedFunctionPayload<
         | 
| 1133 | 
            +
                  [SuiAddress | undefined, number[] | undefined]
         | 
| 1134 | 
            +
                > {
         | 
| 1135 | 
            +
                arguments_decoded: [SuiAddress | undefined, number[] | undefined];
         | 
| 1087 1136 | 
             
                type_arguments: [];
         | 
| 1088 1137 | 
             
              }
         | 
| 1089 1138 |  | 
| 1090 1139 | 
             
              export interface UpdateValidatorNextEpochP2PAddressPayload
         | 
| 1091 | 
            -
                extends TypedFunctionPayload< | 
| 1092 | 
            -
             | 
| 1140 | 
            +
                extends TypedFunctionPayload<
         | 
| 1141 | 
            +
                  [SuiAddress | undefined, number[] | undefined]
         | 
| 1142 | 
            +
                > {
         | 
| 1143 | 
            +
                arguments_decoded: [SuiAddress | undefined, number[] | undefined];
         | 
| 1093 1144 | 
             
                type_arguments: [];
         | 
| 1094 1145 | 
             
              }
         | 
| 1095 1146 |  | 
| 1096 1147 | 
             
              export interface UpdateValidatorNextEpochPrimaryAddressPayload
         | 
| 1097 | 
            -
                extends TypedFunctionPayload< | 
| 1098 | 
            -
             | 
| 1148 | 
            +
                extends TypedFunctionPayload<
         | 
| 1149 | 
            +
                  [SuiAddress | undefined, number[] | undefined]
         | 
| 1150 | 
            +
                > {
         | 
| 1151 | 
            +
                arguments_decoded: [SuiAddress | undefined, number[] | undefined];
         | 
| 1099 1152 | 
             
                type_arguments: [];
         | 
| 1100 1153 | 
             
              }
         | 
| 1101 1154 |  | 
| 1102 1155 | 
             
              export interface UpdateValidatorNextEpochProtocolPubkeyPayload
         | 
| 1103 | 
            -
                extends TypedFunctionPayload< | 
| 1104 | 
            -
             | 
| 1156 | 
            +
                extends TypedFunctionPayload<
         | 
| 1157 | 
            +
                  [SuiAddress | undefined, number[] | undefined, number[] | undefined]
         | 
| 1158 | 
            +
                > {
         | 
| 1159 | 
            +
                arguments_decoded: [
         | 
| 1160 | 
            +
                  SuiAddress | undefined,
         | 
| 1161 | 
            +
                  number[] | undefined,
         | 
| 1162 | 
            +
                  number[] | undefined
         | 
| 1163 | 
            +
                ];
         | 
| 1105 1164 | 
             
                type_arguments: [];
         | 
| 1106 1165 | 
             
              }
         | 
| 1107 1166 |  | 
| 1108 1167 | 
             
              export interface UpdateValidatorNextEpochWorkerAddressPayload
         | 
| 1109 | 
            -
                extends TypedFunctionPayload< | 
| 1110 | 
            -
             | 
| 1168 | 
            +
                extends TypedFunctionPayload<
         | 
| 1169 | 
            +
                  [SuiAddress | undefined, number[] | undefined]
         | 
| 1170 | 
            +
                > {
         | 
| 1171 | 
            +
                arguments_decoded: [SuiAddress | undefined, number[] | undefined];
         | 
| 1111 1172 | 
             
                type_arguments: [];
         | 
| 1112 1173 | 
             
              }
         | 
| 1113 1174 |  | 
| 1114 1175 | 
             
              export interface UpdateValidatorNextEpochWorkerPubkeyPayload
         | 
| 1115 | 
            -
                extends TypedFunctionPayload< | 
| 1116 | 
            -
             | 
| 1176 | 
            +
                extends TypedFunctionPayload<
         | 
| 1177 | 
            +
                  [SuiAddress | undefined, number[] | undefined]
         | 
| 1178 | 
            +
                > {
         | 
| 1179 | 
            +
                arguments_decoded: [SuiAddress | undefined, number[] | undefined];
         | 
| 1117 1180 | 
             
                type_arguments: [];
         | 
| 1118 1181 | 
             
              }
         | 
| 1119 1182 |  | 
| 1120 1183 | 
             
              export interface UpdateValidatorProjectUrlPayload
         | 
| 1121 | 
            -
                extends TypedFunctionPayload< | 
| 1122 | 
            -
             | 
| 1184 | 
            +
                extends TypedFunctionPayload<
         | 
| 1185 | 
            +
                  [SuiAddress | undefined, number[] | undefined]
         | 
| 1186 | 
            +
                > {
         | 
| 1187 | 
            +
                arguments_decoded: [SuiAddress | undefined, number[] | undefined];
         | 
| 1123 1188 | 
             
                type_arguments: [];
         | 
| 1124 1189 | 
             
              }
         | 
| 1125 1190 | 
             
            }
         | 
| @@ -37,6 +37,7 @@ class SuiCodegen extends AbstractCodegen<SuiMoveNormalizedModules, SuiNetwork> { | |
| 37 37 | 
             
              PREFIX = 'Sui'
         | 
| 38 38 | 
             
              STRUCT_FIELD_NAME = 'fields'
         | 
| 39 39 | 
             
              // GENERATE_ON_ENTRY = true
         | 
| 40 | 
            +
              PAYLOAD_OPTIONAL = true
         | 
| 40 41 |  | 
| 41 42 | 
             
              async fetchModules(account: string, network: SuiNetwork): Promise<SuiMoveNormalizedModules> {
         | 
| 42 43 | 
             
                const client = getRpcClient(network)
         | 
    
        package/src/sui/models.ts
    CHANGED