@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/lib/sui/builtin/0x3.d.ts
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
import { CallFilter, TypeDescriptor, MoveFetchConfig } from "@sentio/sdk/move";
|
2
2
|
import { MoveCoder, SuiBindOptions, SuiBaseProcessor, TypedEventInstance, TypedFunctionPayload, SuiContext } from "@sentio/sdk/sui";
|
3
|
-
import { SuiAddress } from "@sentio/sdk/sui";
|
4
3
|
import * as _0x1 from "./0x1.js";
|
5
4
|
import * as _0x2 from "./0x2.js";
|
6
5
|
export declare class genesis extends SuiBaseProcessor {
|
@@ -38,7 +37,7 @@ export declare namespace genesis {
|
|
38
37
|
description: number[];
|
39
38
|
image_url: number[];
|
40
39
|
project_url: number[];
|
41
|
-
sui_address:
|
40
|
+
sui_address: string;
|
42
41
|
gas_price: bigint;
|
43
42
|
commission_rate: bigint;
|
44
43
|
protocol_public_key: number[];
|
@@ -59,9 +58,9 @@ export declare namespace genesis {
|
|
59
58
|
type_arguments: [];
|
60
59
|
}
|
61
60
|
interface TokenAllocation {
|
62
|
-
recipient_address:
|
61
|
+
recipient_address: string;
|
63
62
|
amount_mist: bigint;
|
64
|
-
staked_with_validator: _0x1.option.Option<
|
63
|
+
staked_with_validator: _0x1.option.Option<string>;
|
65
64
|
}
|
66
65
|
namespace TokenAllocation {
|
67
66
|
const TYPE_QNAME = "0x3::genesis::TokenAllocation";
|
@@ -139,24 +138,21 @@ export declare namespace staking_pool {
|
|
139
138
|
function type(): TypeDescriptor<StakingPool>;
|
140
139
|
}
|
141
140
|
interface JoinStakedSuiPayload extends TypedFunctionPayload<[
|
142
|
-
|
141
|
+
string | undefined,
|
143
142
|
staking_pool.StakedSui | undefined
|
144
143
|
]> {
|
145
|
-
arguments_decoded: [
|
146
|
-
SuiAddress | undefined,
|
147
|
-
staking_pool.StakedSui | undefined
|
148
|
-
];
|
144
|
+
arguments_decoded: [string | undefined, staking_pool.StakedSui | undefined];
|
149
145
|
type_arguments: [];
|
150
146
|
}
|
151
147
|
interface SplitStakedSuiPayload extends TypedFunctionPayload<[
|
152
|
-
|
148
|
+
string | undefined,
|
153
149
|
bigint | undefined,
|
154
|
-
|
150
|
+
string | undefined
|
155
151
|
]> {
|
156
152
|
arguments_decoded: [
|
157
|
-
|
153
|
+
string | undefined,
|
158
154
|
bigint | undefined,
|
159
|
-
|
155
|
+
string | undefined
|
160
156
|
];
|
161
157
|
type_arguments: [];
|
162
158
|
}
|
@@ -218,56 +214,53 @@ export declare namespace sui_system {
|
|
218
214
|
function type(): TypeDescriptor<SuiSystemState>;
|
219
215
|
}
|
220
216
|
interface ReportValidatorPayload extends TypedFunctionPayload<[
|
221
|
-
|
222
|
-
|
223
|
-
|
217
|
+
string | undefined,
|
218
|
+
string | undefined,
|
219
|
+
string | undefined
|
224
220
|
]> {
|
225
221
|
arguments_decoded: [
|
226
|
-
|
227
|
-
|
228
|
-
|
222
|
+
string | undefined,
|
223
|
+
string | undefined,
|
224
|
+
string | undefined
|
229
225
|
];
|
230
226
|
type_arguments: [];
|
231
227
|
}
|
232
228
|
interface RequestAddStakePayload extends TypedFunctionPayload<[
|
233
|
-
|
229
|
+
string | undefined,
|
234
230
|
_0x2.coin.Coin<_0x2.sui.SUI> | undefined,
|
235
|
-
|
236
|
-
|
231
|
+
string | undefined,
|
232
|
+
string | undefined
|
237
233
|
]> {
|
238
234
|
arguments_decoded: [
|
239
|
-
|
235
|
+
string | undefined,
|
240
236
|
_0x2.coin.Coin<_0x2.sui.SUI> | undefined,
|
241
|
-
|
242
|
-
|
237
|
+
string | undefined,
|
238
|
+
string | undefined
|
243
239
|
];
|
244
240
|
type_arguments: [];
|
245
241
|
}
|
246
242
|
interface RequestAddStakeMulCoinPayload extends TypedFunctionPayload<[
|
247
|
-
|
243
|
+
string | undefined,
|
248
244
|
_0x2.coin.Coin<_0x2.sui.SUI>[] | undefined,
|
249
245
|
_0x1.option.Option<bigint> | undefined,
|
250
|
-
|
251
|
-
|
246
|
+
string | undefined,
|
247
|
+
string | undefined
|
252
248
|
]> {
|
253
249
|
arguments_decoded: [
|
254
|
-
|
250
|
+
string | undefined,
|
255
251
|
_0x2.coin.Coin<_0x2.sui.SUI>[] | undefined,
|
256
252
|
_0x1.option.Option<bigint> | undefined,
|
257
|
-
|
258
|
-
|
253
|
+
string | undefined,
|
254
|
+
string | undefined
|
259
255
|
];
|
260
256
|
type_arguments: [];
|
261
257
|
}
|
262
|
-
interface RequestAddValidatorPayload extends TypedFunctionPayload<[
|
263
|
-
|
264
|
-
SuiAddress | undefined
|
265
|
-
]> {
|
266
|
-
arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
|
258
|
+
interface RequestAddValidatorPayload extends TypedFunctionPayload<[string | undefined, string | undefined]> {
|
259
|
+
arguments_decoded: [string | undefined, string | undefined];
|
267
260
|
type_arguments: [];
|
268
261
|
}
|
269
262
|
interface RequestAddValidatorCandidatePayload extends TypedFunctionPayload<[
|
270
|
-
|
263
|
+
string | undefined,
|
271
264
|
number[] | undefined,
|
272
265
|
number[] | undefined,
|
273
266
|
number[] | undefined,
|
@@ -282,10 +275,10 @@ export declare namespace sui_system {
|
|
282
275
|
number[] | undefined,
|
283
276
|
bigint | undefined,
|
284
277
|
bigint | undefined,
|
285
|
-
|
278
|
+
string | undefined
|
286
279
|
]> {
|
287
280
|
arguments_decoded: [
|
288
|
-
|
281
|
+
string | undefined,
|
289
282
|
number[] | undefined,
|
290
283
|
number[] | undefined,
|
291
284
|
number[] | undefined,
|
@@ -300,320 +293,311 @@ export declare namespace sui_system {
|
|
300
293
|
number[] | undefined,
|
301
294
|
bigint | undefined,
|
302
295
|
bigint | undefined,
|
303
|
-
|
296
|
+
string | undefined
|
304
297
|
];
|
305
298
|
type_arguments: [];
|
306
299
|
}
|
307
|
-
interface RequestRemoveValidatorPayload extends TypedFunctionPayload<[
|
308
|
-
|
309
|
-
SuiAddress | undefined
|
310
|
-
]> {
|
311
|
-
arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
|
300
|
+
interface RequestRemoveValidatorPayload extends TypedFunctionPayload<[string | undefined, string | undefined]> {
|
301
|
+
arguments_decoded: [string | undefined, string | undefined];
|
312
302
|
type_arguments: [];
|
313
303
|
}
|
314
|
-
interface RequestRemoveValidatorCandidatePayload extends TypedFunctionPayload<[
|
315
|
-
|
316
|
-
SuiAddress | undefined
|
317
|
-
]> {
|
318
|
-
arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
|
304
|
+
interface RequestRemoveValidatorCandidatePayload extends TypedFunctionPayload<[string | undefined, string | undefined]> {
|
305
|
+
arguments_decoded: [string | undefined, string | undefined];
|
319
306
|
type_arguments: [];
|
320
307
|
}
|
321
308
|
interface RequestSetCommissionRatePayload extends TypedFunctionPayload<[
|
322
|
-
|
309
|
+
string | undefined,
|
323
310
|
bigint | undefined,
|
324
|
-
|
311
|
+
string | undefined
|
325
312
|
]> {
|
326
313
|
arguments_decoded: [
|
327
|
-
|
314
|
+
string | undefined,
|
328
315
|
bigint | undefined,
|
329
|
-
|
316
|
+
string | undefined
|
330
317
|
];
|
331
318
|
type_arguments: [];
|
332
319
|
}
|
333
320
|
interface RequestSetGasPricePayload extends TypedFunctionPayload<[
|
334
|
-
|
335
|
-
|
321
|
+
string | undefined,
|
322
|
+
string | undefined,
|
336
323
|
bigint | undefined
|
337
324
|
]> {
|
338
325
|
arguments_decoded: [
|
339
|
-
|
340
|
-
|
326
|
+
string | undefined,
|
327
|
+
string | undefined,
|
341
328
|
bigint | undefined
|
342
329
|
];
|
343
330
|
type_arguments: [];
|
344
331
|
}
|
345
332
|
interface RequestWithdrawStakePayload extends TypedFunctionPayload<[
|
346
|
-
|
333
|
+
string | undefined,
|
347
334
|
staking_pool.StakedSui | undefined,
|
348
|
-
|
335
|
+
string | undefined
|
349
336
|
]> {
|
350
337
|
arguments_decoded: [
|
351
|
-
|
338
|
+
string | undefined,
|
352
339
|
staking_pool.StakedSui | undefined,
|
353
|
-
|
340
|
+
string | undefined
|
354
341
|
];
|
355
342
|
type_arguments: [];
|
356
343
|
}
|
357
|
-
interface RotateOperationCapPayload extends TypedFunctionPayload<[
|
358
|
-
|
359
|
-
SuiAddress | undefined
|
360
|
-
]> {
|
361
|
-
arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
|
344
|
+
interface RotateOperationCapPayload extends TypedFunctionPayload<[string | undefined, string | undefined]> {
|
345
|
+
arguments_decoded: [string | undefined, string | undefined];
|
362
346
|
type_arguments: [];
|
363
347
|
}
|
364
348
|
interface SetCandidateValidatorCommissionRatePayload extends TypedFunctionPayload<[
|
365
|
-
|
349
|
+
string | undefined,
|
366
350
|
bigint | undefined,
|
367
|
-
|
351
|
+
string | undefined
|
368
352
|
]> {
|
369
353
|
arguments_decoded: [
|
370
|
-
|
354
|
+
string | undefined,
|
371
355
|
bigint | undefined,
|
372
|
-
|
356
|
+
string | undefined
|
373
357
|
];
|
374
358
|
type_arguments: [];
|
375
359
|
}
|
376
360
|
interface SetCandidateValidatorGasPricePayload extends TypedFunctionPayload<[
|
377
|
-
|
378
|
-
|
361
|
+
string | undefined,
|
362
|
+
string | undefined,
|
379
363
|
bigint | undefined
|
380
364
|
]> {
|
381
365
|
arguments_decoded: [
|
382
|
-
|
383
|
-
|
366
|
+
string | undefined,
|
367
|
+
string | undefined,
|
384
368
|
bigint | undefined
|
385
369
|
];
|
386
370
|
type_arguments: [];
|
387
371
|
}
|
388
372
|
interface UndoReportValidatorPayload extends TypedFunctionPayload<[
|
389
|
-
|
390
|
-
|
391
|
-
|
373
|
+
string | undefined,
|
374
|
+
string | undefined,
|
375
|
+
string | undefined
|
392
376
|
]> {
|
393
377
|
arguments_decoded: [
|
394
|
-
|
395
|
-
|
396
|
-
|
378
|
+
string | undefined,
|
379
|
+
string | undefined,
|
380
|
+
string | undefined
|
397
381
|
];
|
398
382
|
type_arguments: [];
|
399
383
|
}
|
400
384
|
interface UpdateCandidateValidatorNetworkAddressPayload extends TypedFunctionPayload<[
|
401
|
-
|
385
|
+
string | undefined,
|
402
386
|
number[] | undefined,
|
403
|
-
|
387
|
+
string | undefined
|
404
388
|
]> {
|
405
389
|
arguments_decoded: [
|
406
|
-
|
390
|
+
string | undefined,
|
407
391
|
number[] | undefined,
|
408
|
-
|
392
|
+
string | undefined
|
409
393
|
];
|
410
394
|
type_arguments: [];
|
411
395
|
}
|
412
396
|
interface UpdateCandidateValidatorNetworkPubkeyPayload extends TypedFunctionPayload<[
|
413
|
-
|
397
|
+
string | undefined,
|
414
398
|
number[] | undefined,
|
415
|
-
|
399
|
+
string | undefined
|
416
400
|
]> {
|
417
401
|
arguments_decoded: [
|
418
|
-
|
402
|
+
string | undefined,
|
419
403
|
number[] | undefined,
|
420
|
-
|
404
|
+
string | undefined
|
421
405
|
];
|
422
406
|
type_arguments: [];
|
423
407
|
}
|
424
408
|
interface UpdateCandidateValidatorP2pAddressPayload extends TypedFunctionPayload<[
|
425
|
-
|
409
|
+
string | undefined,
|
426
410
|
number[] | undefined,
|
427
|
-
|
411
|
+
string | undefined
|
428
412
|
]> {
|
429
413
|
arguments_decoded: [
|
430
|
-
|
414
|
+
string | undefined,
|
431
415
|
number[] | undefined,
|
432
|
-
|
416
|
+
string | undefined
|
433
417
|
];
|
434
418
|
type_arguments: [];
|
435
419
|
}
|
436
420
|
interface UpdateCandidateValidatorPrimaryAddressPayload extends TypedFunctionPayload<[
|
437
|
-
|
421
|
+
string | undefined,
|
438
422
|
number[] | undefined,
|
439
|
-
|
423
|
+
string | undefined
|
440
424
|
]> {
|
441
425
|
arguments_decoded: [
|
442
|
-
|
426
|
+
string | undefined,
|
443
427
|
number[] | undefined,
|
444
|
-
|
428
|
+
string | undefined
|
445
429
|
];
|
446
430
|
type_arguments: [];
|
447
431
|
}
|
448
432
|
interface UpdateCandidateValidatorProtocolPubkeyPayload extends TypedFunctionPayload<[
|
449
|
-
|
433
|
+
string | undefined,
|
450
434
|
number[] | undefined,
|
451
435
|
number[] | undefined,
|
452
|
-
|
436
|
+
string | undefined
|
453
437
|
]> {
|
454
438
|
arguments_decoded: [
|
455
|
-
|
439
|
+
string | undefined,
|
456
440
|
number[] | undefined,
|
457
441
|
number[] | undefined,
|
458
|
-
|
442
|
+
string | undefined
|
459
443
|
];
|
460
444
|
type_arguments: [];
|
461
445
|
}
|
462
446
|
interface UpdateCandidateValidatorWorkerAddressPayload extends TypedFunctionPayload<[
|
463
|
-
|
447
|
+
string | undefined,
|
464
448
|
number[] | undefined,
|
465
|
-
|
449
|
+
string | undefined
|
466
450
|
]> {
|
467
451
|
arguments_decoded: [
|
468
|
-
|
452
|
+
string | undefined,
|
469
453
|
number[] | undefined,
|
470
|
-
|
454
|
+
string | undefined
|
471
455
|
];
|
472
456
|
type_arguments: [];
|
473
457
|
}
|
474
458
|
interface UpdateCandidateValidatorWorkerPubkeyPayload extends TypedFunctionPayload<[
|
475
|
-
|
459
|
+
string | undefined,
|
476
460
|
number[] | undefined,
|
477
|
-
|
461
|
+
string | undefined
|
478
462
|
]> {
|
479
463
|
arguments_decoded: [
|
480
|
-
|
464
|
+
string | undefined,
|
481
465
|
number[] | undefined,
|
482
|
-
|
466
|
+
string | undefined
|
483
467
|
];
|
484
468
|
type_arguments: [];
|
485
469
|
}
|
486
470
|
interface UpdateValidatorDescriptionPayload extends TypedFunctionPayload<[
|
487
|
-
|
471
|
+
string | undefined,
|
488
472
|
number[] | undefined,
|
489
|
-
|
473
|
+
string | undefined
|
490
474
|
]> {
|
491
475
|
arguments_decoded: [
|
492
|
-
|
476
|
+
string | undefined,
|
493
477
|
number[] | undefined,
|
494
|
-
|
478
|
+
string | undefined
|
495
479
|
];
|
496
480
|
type_arguments: [];
|
497
481
|
}
|
498
482
|
interface UpdateValidatorImageUrlPayload extends TypedFunctionPayload<[
|
499
|
-
|
483
|
+
string | undefined,
|
500
484
|
number[] | undefined,
|
501
|
-
|
485
|
+
string | undefined
|
502
486
|
]> {
|
503
487
|
arguments_decoded: [
|
504
|
-
|
488
|
+
string | undefined,
|
505
489
|
number[] | undefined,
|
506
|
-
|
490
|
+
string | undefined
|
507
491
|
];
|
508
492
|
type_arguments: [];
|
509
493
|
}
|
510
494
|
interface UpdateValidatorNamePayload extends TypedFunctionPayload<[
|
511
|
-
|
495
|
+
string | undefined,
|
512
496
|
number[] | undefined,
|
513
|
-
|
497
|
+
string | undefined
|
514
498
|
]> {
|
515
499
|
arguments_decoded: [
|
516
|
-
|
500
|
+
string | undefined,
|
517
501
|
number[] | undefined,
|
518
|
-
|
502
|
+
string | undefined
|
519
503
|
];
|
520
504
|
type_arguments: [];
|
521
505
|
}
|
522
506
|
interface UpdateValidatorNextEpochNetworkAddressPayload extends TypedFunctionPayload<[
|
523
|
-
|
507
|
+
string | undefined,
|
524
508
|
number[] | undefined,
|
525
|
-
|
509
|
+
string | undefined
|
526
510
|
]> {
|
527
511
|
arguments_decoded: [
|
528
|
-
|
512
|
+
string | undefined,
|
529
513
|
number[] | undefined,
|
530
|
-
|
514
|
+
string | undefined
|
531
515
|
];
|
532
516
|
type_arguments: [];
|
533
517
|
}
|
534
518
|
interface UpdateValidatorNextEpochNetworkPubkeyPayload extends TypedFunctionPayload<[
|
535
|
-
|
519
|
+
string | undefined,
|
536
520
|
number[] | undefined,
|
537
|
-
|
521
|
+
string | undefined
|
538
522
|
]> {
|
539
523
|
arguments_decoded: [
|
540
|
-
|
524
|
+
string | undefined,
|
541
525
|
number[] | undefined,
|
542
|
-
|
526
|
+
string | undefined
|
543
527
|
];
|
544
528
|
type_arguments: [];
|
545
529
|
}
|
546
530
|
interface UpdateValidatorNextEpochP2pAddressPayload extends TypedFunctionPayload<[
|
547
|
-
|
531
|
+
string | undefined,
|
548
532
|
number[] | undefined,
|
549
|
-
|
533
|
+
string | undefined
|
550
534
|
]> {
|
551
535
|
arguments_decoded: [
|
552
|
-
|
536
|
+
string | undefined,
|
553
537
|
number[] | undefined,
|
554
|
-
|
538
|
+
string | undefined
|
555
539
|
];
|
556
540
|
type_arguments: [];
|
557
541
|
}
|
558
542
|
interface UpdateValidatorNextEpochPrimaryAddressPayload extends TypedFunctionPayload<[
|
559
|
-
|
543
|
+
string | undefined,
|
560
544
|
number[] | undefined,
|
561
|
-
|
545
|
+
string | undefined
|
562
546
|
]> {
|
563
547
|
arguments_decoded: [
|
564
|
-
|
548
|
+
string | undefined,
|
565
549
|
number[] | undefined,
|
566
|
-
|
550
|
+
string | undefined
|
567
551
|
];
|
568
552
|
type_arguments: [];
|
569
553
|
}
|
570
554
|
interface UpdateValidatorNextEpochProtocolPubkeyPayload extends TypedFunctionPayload<[
|
571
|
-
|
555
|
+
string | undefined,
|
572
556
|
number[] | undefined,
|
573
557
|
number[] | undefined,
|
574
|
-
|
558
|
+
string | undefined
|
575
559
|
]> {
|
576
560
|
arguments_decoded: [
|
577
|
-
|
561
|
+
string | undefined,
|
578
562
|
number[] | undefined,
|
579
563
|
number[] | undefined,
|
580
|
-
|
564
|
+
string | undefined
|
581
565
|
];
|
582
566
|
type_arguments: [];
|
583
567
|
}
|
584
568
|
interface UpdateValidatorNextEpochWorkerAddressPayload extends TypedFunctionPayload<[
|
585
|
-
|
569
|
+
string | undefined,
|
586
570
|
number[] | undefined,
|
587
|
-
|
571
|
+
string | undefined
|
588
572
|
]> {
|
589
573
|
arguments_decoded: [
|
590
|
-
|
574
|
+
string | undefined,
|
591
575
|
number[] | undefined,
|
592
|
-
|
576
|
+
string | undefined
|
593
577
|
];
|
594
578
|
type_arguments: [];
|
595
579
|
}
|
596
580
|
interface UpdateValidatorNextEpochWorkerPubkeyPayload extends TypedFunctionPayload<[
|
597
|
-
|
581
|
+
string | undefined,
|
598
582
|
number[] | undefined,
|
599
|
-
|
583
|
+
string | undefined
|
600
584
|
]> {
|
601
585
|
arguments_decoded: [
|
602
|
-
|
586
|
+
string | undefined,
|
603
587
|
number[] | undefined,
|
604
|
-
|
588
|
+
string | undefined
|
605
589
|
];
|
606
590
|
type_arguments: [];
|
607
591
|
}
|
608
592
|
interface UpdateValidatorProjectUrlPayload extends TypedFunctionPayload<[
|
609
|
-
|
593
|
+
string | undefined,
|
610
594
|
number[] | undefined,
|
611
|
-
|
595
|
+
string | undefined
|
612
596
|
]> {
|
613
597
|
arguments_decoded: [
|
614
|
-
|
598
|
+
string | undefined,
|
615
599
|
number[] | undefined,
|
616
|
-
|
600
|
+
string | undefined
|
617
601
|
];
|
618
602
|
type_arguments: [];
|
619
603
|
}
|
@@ -633,7 +617,7 @@ export declare namespace sui_system_state_inner {
|
|
633
617
|
storage_fund: storage_fund.StorageFund;
|
634
618
|
parameters: sui_system_state_inner.SystemParameters;
|
635
619
|
reference_gas_price: bigint;
|
636
|
-
validator_report_records: _0x2.vec_map.VecMap<
|
620
|
+
validator_report_records: _0x2.vec_map.VecMap<string, _0x2.vec_set.VecSet<string>>;
|
637
621
|
stake_subsidy: stake_subsidy.StakeSubsidy;
|
638
622
|
safe_mode: Boolean;
|
639
623
|
safe_mode_storage_rewards: _0x2.balance.Balance<_0x2.sui.SUI>;
|
@@ -655,7 +639,7 @@ export declare namespace sui_system_state_inner {
|
|
655
639
|
storage_fund: storage_fund.StorageFund;
|
656
640
|
parameters: sui_system_state_inner.SystemParametersV2;
|
657
641
|
reference_gas_price: bigint;
|
658
|
-
validator_report_records: _0x2.vec_map.VecMap<
|
642
|
+
validator_report_records: _0x2.vec_map.VecMap<string, _0x2.vec_set.VecSet<string>>;
|
659
643
|
stake_subsidy: stake_subsidy.StakeSubsidy;
|
660
644
|
safe_mode: Boolean;
|
661
645
|
safe_mode_storage_rewards: _0x2.balance.Balance<_0x2.sui.SUI>;
|
@@ -731,8 +715,8 @@ export declare class validator extends SuiBaseProcessor {
|
|
731
715
|
export declare namespace validator {
|
732
716
|
interface StakingRequestEvent {
|
733
717
|
pool_id: _0x2.object_.ID;
|
734
|
-
validator_address:
|
735
|
-
staker_address:
|
718
|
+
validator_address: string;
|
719
|
+
staker_address: string;
|
736
720
|
epoch: bigint;
|
737
721
|
amount: bigint;
|
738
722
|
}
|
@@ -746,8 +730,8 @@ export declare namespace validator {
|
|
746
730
|
}
|
747
731
|
interface UnstakingRequestEvent {
|
748
732
|
pool_id: _0x2.object_.ID;
|
749
|
-
validator_address:
|
750
|
-
staker_address:
|
733
|
+
validator_address: string;
|
734
|
+
staker_address: string;
|
751
735
|
stake_activation_epoch: bigint;
|
752
736
|
unstaking_epoch: bigint;
|
753
737
|
principal_amount: bigint;
|
@@ -778,7 +762,7 @@ export declare namespace validator {
|
|
778
762
|
function type(): TypeDescriptor<Validator>;
|
779
763
|
}
|
780
764
|
interface ValidatorMetadata {
|
781
|
-
sui_address:
|
765
|
+
sui_address: string;
|
782
766
|
protocol_pubkey_bytes: number[];
|
783
767
|
network_pubkey_bytes: number[];
|
784
768
|
worker_pubkey_bytes: number[];
|
@@ -809,14 +793,14 @@ export declare namespace validator {
|
|
809
793
|
export declare namespace validator_cap {
|
810
794
|
interface UnverifiedValidatorOperationCap {
|
811
795
|
id: _0x2.object_.UID;
|
812
|
-
authorizer_validator_address:
|
796
|
+
authorizer_validator_address: string;
|
813
797
|
}
|
814
798
|
namespace UnverifiedValidatorOperationCap {
|
815
799
|
const TYPE_QNAME = "0x3::validator_cap::UnverifiedValidatorOperationCap";
|
816
800
|
function type(): TypeDescriptor<UnverifiedValidatorOperationCap>;
|
817
801
|
}
|
818
802
|
interface ValidatorOperationCap {
|
819
|
-
authorizer_validator_address:
|
803
|
+
authorizer_validator_address: string;
|
820
804
|
}
|
821
805
|
namespace ValidatorOperationCap {
|
822
806
|
const TYPE_QNAME = "0x3::validator_cap::ValidatorOperationCap";
|
@@ -835,14 +819,14 @@ export declare class validator_set extends SuiBaseProcessor {
|
|
835
819
|
export declare namespace validator_set {
|
836
820
|
interface ValidatorEpochInfoEvent {
|
837
821
|
epoch: bigint;
|
838
|
-
validator_address:
|
822
|
+
validator_address: string;
|
839
823
|
reference_gas_survey_quote: bigint;
|
840
824
|
stake: bigint;
|
841
825
|
commission_rate: bigint;
|
842
826
|
pool_staking_reward: bigint;
|
843
827
|
storage_fund_staking_reward: bigint;
|
844
828
|
pool_token_exchange_rate: staking_pool.PoolTokenExchangeRate;
|
845
|
-
tallying_rule_reporters:
|
829
|
+
tallying_rule_reporters: string[];
|
846
830
|
tallying_rule_global_score: bigint;
|
847
831
|
}
|
848
832
|
namespace ValidatorEpochInfoEvent {
|
@@ -855,7 +839,7 @@ export declare namespace validator_set {
|
|
855
839
|
}
|
856
840
|
interface ValidatorEpochInfoEventV2 {
|
857
841
|
epoch: bigint;
|
858
|
-
validator_address:
|
842
|
+
validator_address: string;
|
859
843
|
reference_gas_survey_quote: bigint;
|
860
844
|
stake: bigint;
|
861
845
|
voting_power: bigint;
|
@@ -863,7 +847,7 @@ export declare namespace validator_set {
|
|
863
847
|
pool_staking_reward: bigint;
|
864
848
|
storage_fund_staking_reward: bigint;
|
865
849
|
pool_token_exchange_rate: staking_pool.PoolTokenExchangeRate;
|
866
|
-
tallying_rule_reporters:
|
850
|
+
tallying_rule_reporters: string[];
|
867
851
|
tallying_rule_global_score: bigint;
|
868
852
|
}
|
869
853
|
namespace ValidatorEpochInfoEventV2 {
|
@@ -876,7 +860,7 @@ export declare namespace validator_set {
|
|
876
860
|
}
|
877
861
|
interface ValidatorJoinEvent {
|
878
862
|
epoch: bigint;
|
879
|
-
validator_address:
|
863
|
+
validator_address: string;
|
880
864
|
staking_pool_id: _0x2.object_.ID;
|
881
865
|
}
|
882
866
|
namespace ValidatorJoinEvent {
|
@@ -889,7 +873,7 @@ export declare namespace validator_set {
|
|
889
873
|
}
|
890
874
|
interface ValidatorLeaveEvent {
|
891
875
|
epoch: bigint;
|
892
|
-
validator_address:
|
876
|
+
validator_address: string;
|
893
877
|
staking_pool_id: _0x2.object_.ID;
|
894
878
|
is_voluntary: Boolean;
|
895
879
|
}
|
@@ -906,10 +890,10 @@ export declare namespace validator_set {
|
|
906
890
|
active_validators: validator.Validator[];
|
907
891
|
pending_active_validators: _0x2.table_vec.TableVec<validator.Validator>;
|
908
892
|
pending_removals: bigint[];
|
909
|
-
staking_pool_mappings: _0x2.table.Table<_0x2.object_.ID,
|
893
|
+
staking_pool_mappings: _0x2.table.Table<_0x2.object_.ID, string>;
|
910
894
|
inactive_validators: _0x2.table.Table<_0x2.object_.ID, validator_wrapper.ValidatorWrapper>;
|
911
|
-
validator_candidates: _0x2.table.Table<
|
912
|
-
at_risk_validators: _0x2.vec_map.VecMap<
|
895
|
+
validator_candidates: _0x2.table.Table<string, validator_wrapper.ValidatorWrapper>;
|
896
|
+
at_risk_validators: _0x2.vec_map.VecMap<string, bigint>;
|
913
897
|
extra_fields: _0x2.bag.Bag;
|
914
898
|
}
|
915
899
|
namespace ValidatorSet {
|