@sentio/sdk 2.22.3-rc.2 → 2.22.3-rc.3
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/aptos/builtin/0x1.d.ts +337 -338
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +52 -69
- package/lib/aptos/builtin/0x3.d.ts.map +1 -1
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/codegen/codegen.js +0 -1
- package/lib/aptos/codegen/codegen.js.map +1 -1
- package/lib/move/abstract-codegen.d.ts.map +1 -1
- package/lib/move/abstract-codegen.js +2 -2
- package/lib/move/abstract-codegen.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +72 -76
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +155 -171
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/sui/codegen/codegen.js +0 -2
- package/lib/sui/codegen/codegen.js.map +1 -1
- package/lib/sui/index.d.ts +0 -1
- package/lib/sui/index.d.ts.map +1 -1
- package/lib/sui/index.js.map +1 -1
- package/lib/sui/move-types.d.ts +0 -1
- package/lib/sui/move-types.d.ts.map +1 -1
- package/lib/sui/move-types.js.map +1 -1
- package/package.json +4 -4
- package/src/aptos/builtin/0x1.ts +337 -341
- package/src/aptos/builtin/0x3.ts +45 -61
- package/src/aptos/codegen/codegen.ts +0 -1
- package/src/move/abstract-codegen.ts +2 -2
- package/src/sui/builtin/0x1.ts +1 -1
- package/src/sui/builtin/0x2.ts +66 -76
- package/src/sui/builtin/0x3.ts +133 -144
- package/src/sui/codegen/codegen.ts +0 -2
- package/src/sui/index.ts +0 -1
- package/src/sui/move-types.ts +0 -2
package/src/sui/builtin/0x3.ts
CHANGED
@@ -20,7 +20,7 @@ import {
|
|
20
20
|
TypedFunctionPayload,
|
21
21
|
SuiContext,
|
22
22
|
} from "@sentio/sdk/sui";
|
23
|
-
import {
|
23
|
+
import { ModuleClient } from "@sentio/sdk/sui";
|
24
24
|
|
25
25
|
import * as _0x1 from "./0x1.js";
|
26
26
|
import * as _0x2 from "./0x2.js";
|
@@ -112,7 +112,7 @@ export namespace genesis {
|
|
112
112
|
description: number[];
|
113
113
|
image_url: number[];
|
114
114
|
project_url: number[];
|
115
|
-
sui_address:
|
115
|
+
sui_address: string;
|
116
116
|
gas_price: bigint;
|
117
117
|
commission_rate: bigint;
|
118
118
|
protocol_public_key: number[];
|
@@ -144,9 +144,9 @@ export namespace genesis {
|
|
144
144
|
}
|
145
145
|
|
146
146
|
export interface TokenAllocation {
|
147
|
-
recipient_address:
|
147
|
+
recipient_address: string;
|
148
148
|
amount_mist: bigint;
|
149
|
-
staked_with_validator: _0x1.option.Option<
|
149
|
+
staked_with_validator: _0x1.option.Option<string>;
|
150
150
|
}
|
151
151
|
|
152
152
|
export namespace TokenAllocation {
|
@@ -333,23 +333,20 @@ export namespace staking_pool {
|
|
333
333
|
|
334
334
|
export interface JoinStakedSuiPayload
|
335
335
|
extends TypedFunctionPayload<
|
336
|
-
[
|
336
|
+
[string | undefined, staking_pool.StakedSui | undefined]
|
337
337
|
> {
|
338
|
-
arguments_decoded: [
|
339
|
-
SuiAddress | undefined,
|
340
|
-
staking_pool.StakedSui | undefined
|
341
|
-
];
|
338
|
+
arguments_decoded: [string | undefined, staking_pool.StakedSui | undefined];
|
342
339
|
type_arguments: [];
|
343
340
|
}
|
344
341
|
|
345
342
|
export interface SplitStakedSuiPayload
|
346
343
|
extends TypedFunctionPayload<
|
347
|
-
[
|
344
|
+
[string | undefined, bigint | undefined, string | undefined]
|
348
345
|
> {
|
349
346
|
arguments_decoded: [
|
350
|
-
|
347
|
+
string | undefined,
|
351
348
|
bigint | undefined,
|
352
|
-
|
349
|
+
string | undefined
|
353
350
|
];
|
354
351
|
type_arguments: [];
|
355
352
|
}
|
@@ -1000,12 +997,12 @@ export namespace sui_system {
|
|
1000
997
|
|
1001
998
|
export interface ReportValidatorPayload
|
1002
999
|
extends TypedFunctionPayload<
|
1003
|
-
[
|
1000
|
+
[string | undefined, string | undefined, string | undefined]
|
1004
1001
|
> {
|
1005
1002
|
arguments_decoded: [
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1003
|
+
string | undefined,
|
1004
|
+
string | undefined,
|
1005
|
+
string | undefined
|
1009
1006
|
];
|
1010
1007
|
type_arguments: [];
|
1011
1008
|
}
|
@@ -1013,17 +1010,17 @@ export namespace sui_system {
|
|
1013
1010
|
export interface RequestAddStakePayload
|
1014
1011
|
extends TypedFunctionPayload<
|
1015
1012
|
[
|
1016
|
-
|
1013
|
+
string | undefined,
|
1017
1014
|
_0x2.coin.Coin<_0x2.sui.SUI> | undefined,
|
1018
|
-
|
1019
|
-
|
1015
|
+
string | undefined,
|
1016
|
+
string | undefined
|
1020
1017
|
]
|
1021
1018
|
> {
|
1022
1019
|
arguments_decoded: [
|
1023
|
-
|
1020
|
+
string | undefined,
|
1024
1021
|
_0x2.coin.Coin<_0x2.sui.SUI> | undefined,
|
1025
|
-
|
1026
|
-
|
1022
|
+
string | undefined,
|
1023
|
+
string | undefined
|
1027
1024
|
];
|
1028
1025
|
type_arguments: [];
|
1029
1026
|
}
|
@@ -1031,35 +1028,33 @@ export namespace sui_system {
|
|
1031
1028
|
export interface RequestAddStakeMulCoinPayload
|
1032
1029
|
extends TypedFunctionPayload<
|
1033
1030
|
[
|
1034
|
-
|
1031
|
+
string | undefined,
|
1035
1032
|
_0x2.coin.Coin<_0x2.sui.SUI>[] | undefined,
|
1036
1033
|
_0x1.option.Option<bigint> | undefined,
|
1037
|
-
|
1038
|
-
|
1034
|
+
string | undefined,
|
1035
|
+
string | undefined
|
1039
1036
|
]
|
1040
1037
|
> {
|
1041
1038
|
arguments_decoded: [
|
1042
|
-
|
1039
|
+
string | undefined,
|
1043
1040
|
_0x2.coin.Coin<_0x2.sui.SUI>[] | undefined,
|
1044
1041
|
_0x1.option.Option<bigint> | undefined,
|
1045
|
-
|
1046
|
-
|
1042
|
+
string | undefined,
|
1043
|
+
string | undefined
|
1047
1044
|
];
|
1048
1045
|
type_arguments: [];
|
1049
1046
|
}
|
1050
1047
|
|
1051
1048
|
export interface RequestAddValidatorPayload
|
1052
|
-
extends TypedFunctionPayload<
|
1053
|
-
|
1054
|
-
> {
|
1055
|
-
arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
|
1049
|
+
extends TypedFunctionPayload<[string | undefined, string | undefined]> {
|
1050
|
+
arguments_decoded: [string | undefined, string | undefined];
|
1056
1051
|
type_arguments: [];
|
1057
1052
|
}
|
1058
1053
|
|
1059
1054
|
export interface RequestAddValidatorCandidatePayload
|
1060
1055
|
extends TypedFunctionPayload<
|
1061
1056
|
[
|
1062
|
-
|
1057
|
+
string | undefined,
|
1063
1058
|
number[] | undefined,
|
1064
1059
|
number[] | undefined,
|
1065
1060
|
number[] | undefined,
|
@@ -1074,11 +1069,11 @@ export namespace sui_system {
|
|
1074
1069
|
number[] | undefined,
|
1075
1070
|
bigint | undefined,
|
1076
1071
|
bigint | undefined,
|
1077
|
-
|
1072
|
+
string | undefined
|
1078
1073
|
]
|
1079
1074
|
> {
|
1080
1075
|
arguments_decoded: [
|
1081
|
-
|
1076
|
+
string | undefined,
|
1082
1077
|
number[] | undefined,
|
1083
1078
|
number[] | undefined,
|
1084
1079
|
number[] | undefined,
|
@@ -1093,46 +1088,42 @@ export namespace sui_system {
|
|
1093
1088
|
number[] | undefined,
|
1094
1089
|
bigint | undefined,
|
1095
1090
|
bigint | undefined,
|
1096
|
-
|
1091
|
+
string | undefined
|
1097
1092
|
];
|
1098
1093
|
type_arguments: [];
|
1099
1094
|
}
|
1100
1095
|
|
1101
1096
|
export interface RequestRemoveValidatorPayload
|
1102
|
-
extends TypedFunctionPayload<
|
1103
|
-
|
1104
|
-
> {
|
1105
|
-
arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
|
1097
|
+
extends TypedFunctionPayload<[string | undefined, string | undefined]> {
|
1098
|
+
arguments_decoded: [string | undefined, string | undefined];
|
1106
1099
|
type_arguments: [];
|
1107
1100
|
}
|
1108
1101
|
|
1109
1102
|
export interface RequestRemoveValidatorCandidatePayload
|
1110
|
-
extends TypedFunctionPayload<
|
1111
|
-
|
1112
|
-
> {
|
1113
|
-
arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
|
1103
|
+
extends TypedFunctionPayload<[string | undefined, string | undefined]> {
|
1104
|
+
arguments_decoded: [string | undefined, string | undefined];
|
1114
1105
|
type_arguments: [];
|
1115
1106
|
}
|
1116
1107
|
|
1117
1108
|
export interface RequestSetCommissionRatePayload
|
1118
1109
|
extends TypedFunctionPayload<
|
1119
|
-
[
|
1110
|
+
[string | undefined, bigint | undefined, string | undefined]
|
1120
1111
|
> {
|
1121
1112
|
arguments_decoded: [
|
1122
|
-
|
1113
|
+
string | undefined,
|
1123
1114
|
bigint | undefined,
|
1124
|
-
|
1115
|
+
string | undefined
|
1125
1116
|
];
|
1126
1117
|
type_arguments: [];
|
1127
1118
|
}
|
1128
1119
|
|
1129
1120
|
export interface RequestSetGasPricePayload
|
1130
1121
|
extends TypedFunctionPayload<
|
1131
|
-
[
|
1122
|
+
[string | undefined, string | undefined, bigint | undefined]
|
1132
1123
|
> {
|
1133
1124
|
arguments_decoded: [
|
1134
|
-
|
1135
|
-
|
1125
|
+
string | undefined,
|
1126
|
+
string | undefined,
|
1136
1127
|
bigint | undefined
|
1137
1128
|
];
|
1138
1129
|
type_arguments: [];
|
@@ -1141,46 +1132,44 @@ export namespace sui_system {
|
|
1141
1132
|
export interface RequestWithdrawStakePayload
|
1142
1133
|
extends TypedFunctionPayload<
|
1143
1134
|
[
|
1144
|
-
|
1135
|
+
string | undefined,
|
1145
1136
|
staking_pool.StakedSui | undefined,
|
1146
|
-
|
1137
|
+
string | undefined
|
1147
1138
|
]
|
1148
1139
|
> {
|
1149
1140
|
arguments_decoded: [
|
1150
|
-
|
1141
|
+
string | undefined,
|
1151
1142
|
staking_pool.StakedSui | undefined,
|
1152
|
-
|
1143
|
+
string | undefined
|
1153
1144
|
];
|
1154
1145
|
type_arguments: [];
|
1155
1146
|
}
|
1156
1147
|
|
1157
1148
|
export interface RotateOperationCapPayload
|
1158
|
-
extends TypedFunctionPayload<
|
1159
|
-
|
1160
|
-
> {
|
1161
|
-
arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
|
1149
|
+
extends TypedFunctionPayload<[string | undefined, string | undefined]> {
|
1150
|
+
arguments_decoded: [string | undefined, string | undefined];
|
1162
1151
|
type_arguments: [];
|
1163
1152
|
}
|
1164
1153
|
|
1165
1154
|
export interface SetCandidateValidatorCommissionRatePayload
|
1166
1155
|
extends TypedFunctionPayload<
|
1167
|
-
[
|
1156
|
+
[string | undefined, bigint | undefined, string | undefined]
|
1168
1157
|
> {
|
1169
1158
|
arguments_decoded: [
|
1170
|
-
|
1159
|
+
string | undefined,
|
1171
1160
|
bigint | undefined,
|
1172
|
-
|
1161
|
+
string | undefined
|
1173
1162
|
];
|
1174
1163
|
type_arguments: [];
|
1175
1164
|
}
|
1176
1165
|
|
1177
1166
|
export interface SetCandidateValidatorGasPricePayload
|
1178
1167
|
extends TypedFunctionPayload<
|
1179
|
-
[
|
1168
|
+
[string | undefined, string | undefined, bigint | undefined]
|
1180
1169
|
> {
|
1181
1170
|
arguments_decoded: [
|
1182
|
-
|
1183
|
-
|
1171
|
+
string | undefined,
|
1172
|
+
string | undefined,
|
1184
1173
|
bigint | undefined
|
1185
1174
|
];
|
1186
1175
|
type_arguments: [];
|
@@ -1188,60 +1177,60 @@ export namespace sui_system {
|
|
1188
1177
|
|
1189
1178
|
export interface UndoReportValidatorPayload
|
1190
1179
|
extends TypedFunctionPayload<
|
1191
|
-
[
|
1180
|
+
[string | undefined, string | undefined, string | undefined]
|
1192
1181
|
> {
|
1193
1182
|
arguments_decoded: [
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1183
|
+
string | undefined,
|
1184
|
+
string | undefined,
|
1185
|
+
string | undefined
|
1197
1186
|
];
|
1198
1187
|
type_arguments: [];
|
1199
1188
|
}
|
1200
1189
|
|
1201
1190
|
export interface UpdateCandidateValidatorNetworkAddressPayload
|
1202
1191
|
extends TypedFunctionPayload<
|
1203
|
-
[
|
1192
|
+
[string | undefined, number[] | undefined, string | undefined]
|
1204
1193
|
> {
|
1205
1194
|
arguments_decoded: [
|
1206
|
-
|
1195
|
+
string | undefined,
|
1207
1196
|
number[] | undefined,
|
1208
|
-
|
1197
|
+
string | undefined
|
1209
1198
|
];
|
1210
1199
|
type_arguments: [];
|
1211
1200
|
}
|
1212
1201
|
|
1213
1202
|
export interface UpdateCandidateValidatorNetworkPubkeyPayload
|
1214
1203
|
extends TypedFunctionPayload<
|
1215
|
-
[
|
1204
|
+
[string | undefined, number[] | undefined, string | undefined]
|
1216
1205
|
> {
|
1217
1206
|
arguments_decoded: [
|
1218
|
-
|
1207
|
+
string | undefined,
|
1219
1208
|
number[] | undefined,
|
1220
|
-
|
1209
|
+
string | undefined
|
1221
1210
|
];
|
1222
1211
|
type_arguments: [];
|
1223
1212
|
}
|
1224
1213
|
|
1225
1214
|
export interface UpdateCandidateValidatorP2pAddressPayload
|
1226
1215
|
extends TypedFunctionPayload<
|
1227
|
-
[
|
1216
|
+
[string | undefined, number[] | undefined, string | undefined]
|
1228
1217
|
> {
|
1229
1218
|
arguments_decoded: [
|
1230
|
-
|
1219
|
+
string | undefined,
|
1231
1220
|
number[] | undefined,
|
1232
|
-
|
1221
|
+
string | undefined
|
1233
1222
|
];
|
1234
1223
|
type_arguments: [];
|
1235
1224
|
}
|
1236
1225
|
|
1237
1226
|
export interface UpdateCandidateValidatorPrimaryAddressPayload
|
1238
1227
|
extends TypedFunctionPayload<
|
1239
|
-
[
|
1228
|
+
[string | undefined, number[] | undefined, string | undefined]
|
1240
1229
|
> {
|
1241
1230
|
arguments_decoded: [
|
1242
|
-
|
1231
|
+
string | undefined,
|
1243
1232
|
number[] | undefined,
|
1244
|
-
|
1233
|
+
string | undefined
|
1245
1234
|
];
|
1246
1235
|
type_arguments: [];
|
1247
1236
|
}
|
@@ -1249,125 +1238,125 @@ export namespace sui_system {
|
|
1249
1238
|
export interface UpdateCandidateValidatorProtocolPubkeyPayload
|
1250
1239
|
extends TypedFunctionPayload<
|
1251
1240
|
[
|
1252
|
-
|
1241
|
+
string | undefined,
|
1253
1242
|
number[] | undefined,
|
1254
1243
|
number[] | undefined,
|
1255
|
-
|
1244
|
+
string | undefined
|
1256
1245
|
]
|
1257
1246
|
> {
|
1258
1247
|
arguments_decoded: [
|
1259
|
-
|
1248
|
+
string | undefined,
|
1260
1249
|
number[] | undefined,
|
1261
1250
|
number[] | undefined,
|
1262
|
-
|
1251
|
+
string | undefined
|
1263
1252
|
];
|
1264
1253
|
type_arguments: [];
|
1265
1254
|
}
|
1266
1255
|
|
1267
1256
|
export interface UpdateCandidateValidatorWorkerAddressPayload
|
1268
1257
|
extends TypedFunctionPayload<
|
1269
|
-
[
|
1258
|
+
[string | undefined, number[] | undefined, string | undefined]
|
1270
1259
|
> {
|
1271
1260
|
arguments_decoded: [
|
1272
|
-
|
1261
|
+
string | undefined,
|
1273
1262
|
number[] | undefined,
|
1274
|
-
|
1263
|
+
string | undefined
|
1275
1264
|
];
|
1276
1265
|
type_arguments: [];
|
1277
1266
|
}
|
1278
1267
|
|
1279
1268
|
export interface UpdateCandidateValidatorWorkerPubkeyPayload
|
1280
1269
|
extends TypedFunctionPayload<
|
1281
|
-
[
|
1270
|
+
[string | undefined, number[] | undefined, string | undefined]
|
1282
1271
|
> {
|
1283
1272
|
arguments_decoded: [
|
1284
|
-
|
1273
|
+
string | undefined,
|
1285
1274
|
number[] | undefined,
|
1286
|
-
|
1275
|
+
string | undefined
|
1287
1276
|
];
|
1288
1277
|
type_arguments: [];
|
1289
1278
|
}
|
1290
1279
|
|
1291
1280
|
export interface UpdateValidatorDescriptionPayload
|
1292
1281
|
extends TypedFunctionPayload<
|
1293
|
-
[
|
1282
|
+
[string | undefined, number[] | undefined, string | undefined]
|
1294
1283
|
> {
|
1295
1284
|
arguments_decoded: [
|
1296
|
-
|
1285
|
+
string | undefined,
|
1297
1286
|
number[] | undefined,
|
1298
|
-
|
1287
|
+
string | undefined
|
1299
1288
|
];
|
1300
1289
|
type_arguments: [];
|
1301
1290
|
}
|
1302
1291
|
|
1303
1292
|
export interface UpdateValidatorImageUrlPayload
|
1304
1293
|
extends TypedFunctionPayload<
|
1305
|
-
[
|
1294
|
+
[string | undefined, number[] | undefined, string | undefined]
|
1306
1295
|
> {
|
1307
1296
|
arguments_decoded: [
|
1308
|
-
|
1297
|
+
string | undefined,
|
1309
1298
|
number[] | undefined,
|
1310
|
-
|
1299
|
+
string | undefined
|
1311
1300
|
];
|
1312
1301
|
type_arguments: [];
|
1313
1302
|
}
|
1314
1303
|
|
1315
1304
|
export interface UpdateValidatorNamePayload
|
1316
1305
|
extends TypedFunctionPayload<
|
1317
|
-
[
|
1306
|
+
[string | undefined, number[] | undefined, string | undefined]
|
1318
1307
|
> {
|
1319
1308
|
arguments_decoded: [
|
1320
|
-
|
1309
|
+
string | undefined,
|
1321
1310
|
number[] | undefined,
|
1322
|
-
|
1311
|
+
string | undefined
|
1323
1312
|
];
|
1324
1313
|
type_arguments: [];
|
1325
1314
|
}
|
1326
1315
|
|
1327
1316
|
export interface UpdateValidatorNextEpochNetworkAddressPayload
|
1328
1317
|
extends TypedFunctionPayload<
|
1329
|
-
[
|
1318
|
+
[string | undefined, number[] | undefined, string | undefined]
|
1330
1319
|
> {
|
1331
1320
|
arguments_decoded: [
|
1332
|
-
|
1321
|
+
string | undefined,
|
1333
1322
|
number[] | undefined,
|
1334
|
-
|
1323
|
+
string | undefined
|
1335
1324
|
];
|
1336
1325
|
type_arguments: [];
|
1337
1326
|
}
|
1338
1327
|
|
1339
1328
|
export interface UpdateValidatorNextEpochNetworkPubkeyPayload
|
1340
1329
|
extends TypedFunctionPayload<
|
1341
|
-
[
|
1330
|
+
[string | undefined, number[] | undefined, string | undefined]
|
1342
1331
|
> {
|
1343
1332
|
arguments_decoded: [
|
1344
|
-
|
1333
|
+
string | undefined,
|
1345
1334
|
number[] | undefined,
|
1346
|
-
|
1335
|
+
string | undefined
|
1347
1336
|
];
|
1348
1337
|
type_arguments: [];
|
1349
1338
|
}
|
1350
1339
|
|
1351
1340
|
export interface UpdateValidatorNextEpochP2pAddressPayload
|
1352
1341
|
extends TypedFunctionPayload<
|
1353
|
-
[
|
1342
|
+
[string | undefined, number[] | undefined, string | undefined]
|
1354
1343
|
> {
|
1355
1344
|
arguments_decoded: [
|
1356
|
-
|
1345
|
+
string | undefined,
|
1357
1346
|
number[] | undefined,
|
1358
|
-
|
1347
|
+
string | undefined
|
1359
1348
|
];
|
1360
1349
|
type_arguments: [];
|
1361
1350
|
}
|
1362
1351
|
|
1363
1352
|
export interface UpdateValidatorNextEpochPrimaryAddressPayload
|
1364
1353
|
extends TypedFunctionPayload<
|
1365
|
-
[
|
1354
|
+
[string | undefined, number[] | undefined, string | undefined]
|
1366
1355
|
> {
|
1367
1356
|
arguments_decoded: [
|
1368
|
-
|
1357
|
+
string | undefined,
|
1369
1358
|
number[] | undefined,
|
1370
|
-
|
1359
|
+
string | undefined
|
1371
1360
|
];
|
1372
1361
|
type_arguments: [];
|
1373
1362
|
}
|
@@ -1375,53 +1364,53 @@ export namespace sui_system {
|
|
1375
1364
|
export interface UpdateValidatorNextEpochProtocolPubkeyPayload
|
1376
1365
|
extends TypedFunctionPayload<
|
1377
1366
|
[
|
1378
|
-
|
1367
|
+
string | undefined,
|
1379
1368
|
number[] | undefined,
|
1380
1369
|
number[] | undefined,
|
1381
|
-
|
1370
|
+
string | undefined
|
1382
1371
|
]
|
1383
1372
|
> {
|
1384
1373
|
arguments_decoded: [
|
1385
|
-
|
1374
|
+
string | undefined,
|
1386
1375
|
number[] | undefined,
|
1387
1376
|
number[] | undefined,
|
1388
|
-
|
1377
|
+
string | undefined
|
1389
1378
|
];
|
1390
1379
|
type_arguments: [];
|
1391
1380
|
}
|
1392
1381
|
|
1393
1382
|
export interface UpdateValidatorNextEpochWorkerAddressPayload
|
1394
1383
|
extends TypedFunctionPayload<
|
1395
|
-
[
|
1384
|
+
[string | undefined, number[] | undefined, string | undefined]
|
1396
1385
|
> {
|
1397
1386
|
arguments_decoded: [
|
1398
|
-
|
1387
|
+
string | undefined,
|
1399
1388
|
number[] | undefined,
|
1400
|
-
|
1389
|
+
string | undefined
|
1401
1390
|
];
|
1402
1391
|
type_arguments: [];
|
1403
1392
|
}
|
1404
1393
|
|
1405
1394
|
export interface UpdateValidatorNextEpochWorkerPubkeyPayload
|
1406
1395
|
extends TypedFunctionPayload<
|
1407
|
-
[
|
1396
|
+
[string | undefined, number[] | undefined, string | undefined]
|
1408
1397
|
> {
|
1409
1398
|
arguments_decoded: [
|
1410
|
-
|
1399
|
+
string | undefined,
|
1411
1400
|
number[] | undefined,
|
1412
|
-
|
1401
|
+
string | undefined
|
1413
1402
|
];
|
1414
1403
|
type_arguments: [];
|
1415
1404
|
}
|
1416
1405
|
|
1417
1406
|
export interface UpdateValidatorProjectUrlPayload
|
1418
1407
|
extends TypedFunctionPayload<
|
1419
|
-
[
|
1408
|
+
[string | undefined, number[] | undefined, string | undefined]
|
1420
1409
|
> {
|
1421
1410
|
arguments_decoded: [
|
1422
|
-
|
1411
|
+
string | undefined,
|
1423
1412
|
number[] | undefined,
|
1424
|
-
|
1413
|
+
string | undefined
|
1425
1414
|
];
|
1426
1415
|
type_arguments: [];
|
1427
1416
|
}
|
@@ -1471,8 +1460,8 @@ export namespace sui_system_state_inner {
|
|
1471
1460
|
parameters: sui_system_state_inner.SystemParameters;
|
1472
1461
|
reference_gas_price: bigint;
|
1473
1462
|
validator_report_records: _0x2.vec_map.VecMap<
|
1474
|
-
|
1475
|
-
_0x2.vec_set.VecSet<
|
1463
|
+
string,
|
1464
|
+
_0x2.vec_set.VecSet<string>
|
1476
1465
|
>;
|
1477
1466
|
stake_subsidy: stake_subsidy.StakeSubsidy;
|
1478
1467
|
safe_mode: Boolean;
|
@@ -1506,8 +1495,8 @@ export namespace sui_system_state_inner {
|
|
1506
1495
|
parameters: sui_system_state_inner.SystemParametersV2;
|
1507
1496
|
reference_gas_price: bigint;
|
1508
1497
|
validator_report_records: _0x2.vec_map.VecMap<
|
1509
|
-
|
1510
|
-
_0x2.vec_set.VecSet<
|
1498
|
+
string,
|
1499
|
+
_0x2.vec_set.VecSet<string>
|
1511
1500
|
>;
|
1512
1501
|
stake_subsidy: stake_subsidy.StakeSubsidy;
|
1513
1502
|
safe_mode: Boolean;
|
@@ -1665,8 +1654,8 @@ export class validator extends SuiBaseProcessor {
|
|
1665
1654
|
export namespace validator {
|
1666
1655
|
export interface StakingRequestEvent {
|
1667
1656
|
pool_id: _0x2.object_.ID;
|
1668
|
-
validator_address:
|
1669
|
-
staker_address:
|
1657
|
+
validator_address: string;
|
1658
|
+
staker_address: string;
|
1670
1659
|
epoch: bigint;
|
1671
1660
|
amount: bigint;
|
1672
1661
|
}
|
@@ -1691,8 +1680,8 @@ export namespace validator {
|
|
1691
1680
|
|
1692
1681
|
export interface UnstakingRequestEvent {
|
1693
1682
|
pool_id: _0x2.object_.ID;
|
1694
|
-
validator_address:
|
1695
|
-
staker_address:
|
1683
|
+
validator_address: string;
|
1684
|
+
staker_address: string;
|
1696
1685
|
stake_activation_epoch: bigint;
|
1697
1686
|
unstaking_epoch: bigint;
|
1698
1687
|
principal_amount: bigint;
|
@@ -1741,7 +1730,7 @@ export namespace validator {
|
|
1741
1730
|
}
|
1742
1731
|
|
1743
1732
|
export interface ValidatorMetadata {
|
1744
|
-
sui_address:
|
1733
|
+
sui_address: string;
|
1745
1734
|
protocol_pubkey_bytes: number[];
|
1746
1735
|
network_pubkey_bytes: number[];
|
1747
1736
|
worker_pubkey_bytes: number[];
|
@@ -1781,7 +1770,7 @@ export namespace validator {
|
|
1781
1770
|
export namespace validator_cap {
|
1782
1771
|
export interface UnverifiedValidatorOperationCap {
|
1783
1772
|
id: _0x2.object_.UID;
|
1784
|
-
authorizer_validator_address:
|
1773
|
+
authorizer_validator_address: string;
|
1785
1774
|
}
|
1786
1775
|
|
1787
1776
|
export namespace UnverifiedValidatorOperationCap {
|
@@ -1798,7 +1787,7 @@ export namespace validator_cap {
|
|
1798
1787
|
}
|
1799
1788
|
|
1800
1789
|
export interface ValidatorOperationCap {
|
1801
|
-
authorizer_validator_address:
|
1790
|
+
authorizer_validator_address: string;
|
1802
1791
|
}
|
1803
1792
|
|
1804
1793
|
export namespace ValidatorOperationCap {
|
@@ -1899,14 +1888,14 @@ export class validator_set extends SuiBaseProcessor {
|
|
1899
1888
|
export namespace validator_set {
|
1900
1889
|
export interface ValidatorEpochInfoEvent {
|
1901
1890
|
epoch: bigint;
|
1902
|
-
validator_address:
|
1891
|
+
validator_address: string;
|
1903
1892
|
reference_gas_survey_quote: bigint;
|
1904
1893
|
stake: bigint;
|
1905
1894
|
commission_rate: bigint;
|
1906
1895
|
pool_staking_reward: bigint;
|
1907
1896
|
storage_fund_staking_reward: bigint;
|
1908
1897
|
pool_token_exchange_rate: staking_pool.PoolTokenExchangeRate;
|
1909
|
-
tallying_rule_reporters:
|
1898
|
+
tallying_rule_reporters: string[];
|
1910
1899
|
tallying_rule_global_score: bigint;
|
1911
1900
|
}
|
1912
1901
|
|
@@ -1930,7 +1919,7 @@ export namespace validator_set {
|
|
1930
1919
|
|
1931
1920
|
export interface ValidatorEpochInfoEventV2 {
|
1932
1921
|
epoch: bigint;
|
1933
|
-
validator_address:
|
1922
|
+
validator_address: string;
|
1934
1923
|
reference_gas_survey_quote: bigint;
|
1935
1924
|
stake: bigint;
|
1936
1925
|
voting_power: bigint;
|
@@ -1938,7 +1927,7 @@ export namespace validator_set {
|
|
1938
1927
|
pool_staking_reward: bigint;
|
1939
1928
|
storage_fund_staking_reward: bigint;
|
1940
1929
|
pool_token_exchange_rate: staking_pool.PoolTokenExchangeRate;
|
1941
|
-
tallying_rule_reporters:
|
1930
|
+
tallying_rule_reporters: string[];
|
1942
1931
|
tallying_rule_global_score: bigint;
|
1943
1932
|
}
|
1944
1933
|
|
@@ -1962,7 +1951,7 @@ export namespace validator_set {
|
|
1962
1951
|
|
1963
1952
|
export interface ValidatorJoinEvent {
|
1964
1953
|
epoch: bigint;
|
1965
|
-
validator_address:
|
1954
|
+
validator_address: string;
|
1966
1955
|
staking_pool_id: _0x2.object_.ID;
|
1967
1956
|
}
|
1968
1957
|
|
@@ -1986,7 +1975,7 @@ export namespace validator_set {
|
|
1986
1975
|
|
1987
1976
|
export interface ValidatorLeaveEvent {
|
1988
1977
|
epoch: bigint;
|
1989
|
-
validator_address:
|
1978
|
+
validator_address: string;
|
1990
1979
|
staking_pool_id: _0x2.object_.ID;
|
1991
1980
|
is_voluntary: Boolean;
|
1992
1981
|
}
|
@@ -2014,16 +2003,16 @@ export namespace validator_set {
|
|
2014
2003
|
active_validators: validator.Validator[];
|
2015
2004
|
pending_active_validators: _0x2.table_vec.TableVec<validator.Validator>;
|
2016
2005
|
pending_removals: bigint[];
|
2017
|
-
staking_pool_mappings: _0x2.table.Table<_0x2.object_.ID,
|
2006
|
+
staking_pool_mappings: _0x2.table.Table<_0x2.object_.ID, string>;
|
2018
2007
|
inactive_validators: _0x2.table.Table<
|
2019
2008
|
_0x2.object_.ID,
|
2020
2009
|
validator_wrapper.ValidatorWrapper
|
2021
2010
|
>;
|
2022
2011
|
validator_candidates: _0x2.table.Table<
|
2023
|
-
|
2012
|
+
string,
|
2024
2013
|
validator_wrapper.ValidatorWrapper
|
2025
2014
|
>;
|
2026
|
-
at_risk_validators: _0x2.vec_map.VecMap<
|
2015
|
+
at_risk_validators: _0x2.vec_map.VecMap<string, bigint>;
|
2027
2016
|
extra_fields: _0x2.bag.Bag;
|
2028
2017
|
}
|
2029
2018
|
|