@typemove/sui 1.2.6 → 1.2.7-rc.2

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/src/abis/0x3.json CHANGED
@@ -7,7 +7,10 @@
7
7
  "structs": {
8
8
  "GenesisChainParameters": {
9
9
  "abilities": {
10
- "abilities": ["Copy", "Drop"]
10
+ "abilities": [
11
+ "Copy",
12
+ "Drop"
13
+ ]
11
14
  },
12
15
  "typeParameters": [],
13
16
  "fields": [
@@ -63,7 +66,10 @@
63
66
  },
64
67
  "GenesisValidatorMetadata": {
65
68
  "abilities": {
66
- "abilities": ["Copy", "Drop"]
69
+ "abilities": [
70
+ "Copy",
71
+ "Drop"
72
+ ]
67
73
  },
68
74
  "typeParameters": [],
69
75
  "fields": [
@@ -174,7 +180,9 @@
174
180
  "address": "0x1",
175
181
  "module": "option",
176
182
  "name": "Option",
177
- "typeArguments": ["Address"]
183
+ "typeArguments": [
184
+ "Address"
185
+ ]
178
186
  }
179
187
  }
180
188
  }
@@ -225,7 +233,9 @@
225
233
  "structs": {
226
234
  "StakeSubsidy": {
227
235
  "abilities": {
228
- "abilities": ["Store"]
236
+ "abilities": [
237
+ "Store"
238
+ ]
229
239
  },
230
240
  "typeParameters": [],
231
241
  "fields": [
@@ -379,7 +389,9 @@
379
389
  }
380
390
  }
381
391
  ],
382
- "return": ["U64"]
392
+ "return": [
393
+ "U64"
394
+ ]
383
395
  }
384
396
  }
385
397
  },
@@ -400,7 +412,11 @@
400
412
  "structs": {
401
413
  "PoolTokenExchangeRate": {
402
414
  "abilities": {
403
- "abilities": ["Copy", "Drop", "Store"]
415
+ "abilities": [
416
+ "Copy",
417
+ "Drop",
418
+ "Store"
419
+ ]
404
420
  },
405
421
  "typeParameters": [],
406
422
  "fields": [
@@ -416,7 +432,10 @@
416
432
  },
417
433
  "StakedSui": {
418
434
  "abilities": {
419
- "abilities": ["Key"]
435
+ "abilities": [
436
+ "Store",
437
+ "Key"
438
+ ]
420
439
  },
421
440
  "typeParameters": [],
422
441
  "fields": [
@@ -470,7 +489,10 @@
470
489
  },
471
490
  "StakingPool": {
472
491
  "abilities": {
473
- "abilities": ["Store", "Key"]
492
+ "abilities": [
493
+ "Store",
494
+ "Key"
495
+ ]
474
496
  },
475
497
  "typeParameters": [],
476
498
  "fields": [
@@ -492,7 +514,9 @@
492
514
  "address": "0x1",
493
515
  "module": "option",
494
516
  "name": "Option",
495
- "typeArguments": ["U64"]
517
+ "typeArguments": [
518
+ "U64"
519
+ ]
496
520
  }
497
521
  }
498
522
  },
@@ -503,7 +527,9 @@
503
527
  "address": "0x1",
504
528
  "module": "option",
505
529
  "name": "Option",
506
- "typeArguments": ["U64"]
530
+ "typeArguments": [
531
+ "U64"
532
+ ]
507
533
  }
508
534
  }
509
535
  },
@@ -656,6 +682,45 @@
656
682
  ],
657
683
  "return": []
658
684
  },
685
+ "exchange_rates": {
686
+ "visibility": "Friend",
687
+ "isEntry": false,
688
+ "typeParameters": [],
689
+ "parameters": [
690
+ {
691
+ "Reference": {
692
+ "Struct": {
693
+ "address": "0x3",
694
+ "module": "staking_pool",
695
+ "name": "StakingPool",
696
+ "typeArguments": []
697
+ }
698
+ }
699
+ }
700
+ ],
701
+ "return": [
702
+ {
703
+ "Reference": {
704
+ "Struct": {
705
+ "address": "0x2",
706
+ "module": "table",
707
+ "name": "Table",
708
+ "typeArguments": [
709
+ "U64",
710
+ {
711
+ "Struct": {
712
+ "address": "0x3",
713
+ "module": "staking_pool",
714
+ "name": "PoolTokenExchangeRate",
715
+ "typeArguments": []
716
+ }
717
+ }
718
+ ]
719
+ }
720
+ }
721
+ }
722
+ ]
723
+ },
659
724
  "is_equal_staking_metadata": {
660
725
  "visibility": "Public",
661
726
  "isEntry": false,
@@ -682,7 +747,9 @@
682
747
  }
683
748
  }
684
749
  ],
685
- "return": ["Bool"]
750
+ "return": [
751
+ "Bool"
752
+ ]
686
753
  },
687
754
  "is_inactive": {
688
755
  "visibility": "Public",
@@ -700,7 +767,9 @@
700
767
  }
701
768
  }
702
769
  ],
703
- "return": ["Bool"]
770
+ "return": [
771
+ "Bool"
772
+ ]
704
773
  },
705
774
  "is_preactive": {
706
775
  "visibility": "Public",
@@ -718,7 +787,9 @@
718
787
  }
719
788
  }
720
789
  ],
721
- "return": ["Bool"]
790
+ "return": [
791
+ "Bool"
792
+ ]
722
793
  },
723
794
  "join_staked_sui": {
724
795
  "visibility": "Public",
@@ -789,7 +860,9 @@
789
860
  }
790
861
  }
791
862
  ],
792
- "return": ["U64"]
863
+ "return": [
864
+ "U64"
865
+ ]
793
866
  },
794
867
  "pending_stake_withdraw_amount": {
795
868
  "visibility": "Public",
@@ -807,7 +880,9 @@
807
880
  }
808
881
  }
809
882
  ],
810
- "return": ["U64"]
883
+ "return": [
884
+ "U64"
885
+ ]
811
886
  },
812
887
  "pool_id": {
813
888
  "visibility": "Public",
@@ -836,6 +911,26 @@
836
911
  }
837
912
  ]
838
913
  },
914
+ "pool_token_amount": {
915
+ "visibility": "Public",
916
+ "isEntry": false,
917
+ "typeParameters": [],
918
+ "parameters": [
919
+ {
920
+ "Reference": {
921
+ "Struct": {
922
+ "address": "0x3",
923
+ "module": "staking_pool",
924
+ "name": "PoolTokenExchangeRate",
925
+ "typeArguments": []
926
+ }
927
+ }
928
+ }
929
+ ],
930
+ "return": [
931
+ "U64"
932
+ ]
933
+ },
839
934
  "pool_token_exchange_rate_at_epoch": {
840
935
  "visibility": "Public",
841
936
  "isEntry": false,
@@ -942,7 +1037,6 @@
942
1037
  ]
943
1038
  }
944
1039
  },
945
- "Address",
946
1040
  "U64",
947
1041
  {
948
1042
  "MutableReference": {
@@ -955,23 +1049,7 @@
955
1049
  }
956
1050
  }
957
1051
  ],
958
- "return": []
959
- },
960
- "request_withdraw_stake": {
961
- "visibility": "Friend",
962
- "isEntry": false,
963
- "typeParameters": [],
964
- "parameters": [
965
- {
966
- "MutableReference": {
967
- "Struct": {
968
- "address": "0x3",
969
- "module": "staking_pool",
970
- "name": "StakingPool",
971
- "typeArguments": []
972
- }
973
- }
974
- },
1052
+ "return": [
975
1053
  {
976
1054
  "Struct": {
977
1055
  "address": "0x3",
@@ -979,21 +1057,10 @@
979
1057
  "name": "StakedSui",
980
1058
  "typeArguments": []
981
1059
  }
982
- },
983
- {
984
- "MutableReference": {
985
- "Struct": {
986
- "address": "0x2",
987
- "module": "tx_context",
988
- "name": "TxContext",
989
- "typeArguments": []
990
- }
991
- }
992
1060
  }
993
- ],
994
- "return": ["U64"]
1061
+ ]
995
1062
  },
996
- "request_withdraw_stake_preactive": {
1063
+ "request_withdraw_stake": {
997
1064
  "visibility": "Friend",
998
1065
  "isEntry": false,
999
1066
  "typeParameters": [],
@@ -1027,7 +1094,25 @@
1027
1094
  }
1028
1095
  }
1029
1096
  ],
1030
- "return": ["U64"]
1097
+ "return": [
1098
+ {
1099
+ "Struct": {
1100
+ "address": "0x2",
1101
+ "module": "balance",
1102
+ "name": "Balance",
1103
+ "typeArguments": [
1104
+ {
1105
+ "Struct": {
1106
+ "address": "0x2",
1107
+ "module": "sui",
1108
+ "name": "SUI",
1109
+ "typeArguments": []
1110
+ }
1111
+ }
1112
+ ]
1113
+ }
1114
+ }
1115
+ ]
1031
1116
  },
1032
1117
  "split": {
1033
1118
  "visibility": "Public",
@@ -1112,7 +1197,9 @@
1112
1197
  }
1113
1198
  }
1114
1199
  ],
1115
- "return": ["U64"]
1200
+ "return": [
1201
+ "U64"
1202
+ ]
1116
1203
  },
1117
1204
  "staked_sui_amount": {
1118
1205
  "visibility": "Public",
@@ -1130,7 +1217,29 @@
1130
1217
  }
1131
1218
  }
1132
1219
  ],
1133
- "return": ["U64"]
1220
+ "return": [
1221
+ "U64"
1222
+ ]
1223
+ },
1224
+ "sui_amount": {
1225
+ "visibility": "Public",
1226
+ "isEntry": false,
1227
+ "typeParameters": [],
1228
+ "parameters": [
1229
+ {
1230
+ "Reference": {
1231
+ "Struct": {
1232
+ "address": "0x3",
1233
+ "module": "staking_pool",
1234
+ "name": "PoolTokenExchangeRate",
1235
+ "typeArguments": []
1236
+ }
1237
+ }
1238
+ }
1239
+ ],
1240
+ "return": [
1241
+ "U64"
1242
+ ]
1134
1243
  },
1135
1244
  "sui_balance": {
1136
1245
  "visibility": "Public",
@@ -1148,7 +1257,9 @@
1148
1257
  }
1149
1258
  }
1150
1259
  ],
1151
- "return": ["U64"]
1260
+ "return": [
1261
+ "U64"
1262
+ ]
1152
1263
  },
1153
1264
  "withdraw_from_principal": {
1154
1265
  "visibility": "Friend",
@@ -1210,7 +1321,9 @@
1210
1321
  "structs": {
1211
1322
  "StorageFund": {
1212
1323
  "abilities": {
1213
- "abilities": ["Store"]
1324
+ "abilities": [
1325
+ "Store"
1326
+ ]
1214
1327
  },
1215
1328
  "typeParameters": [],
1216
1329
  "fields": [
@@ -1397,7 +1510,9 @@
1397
1510
  }
1398
1511
  }
1399
1512
  ],
1400
- "return": ["U64"]
1513
+ "return": [
1514
+ "U64"
1515
+ ]
1401
1516
  },
1402
1517
  "total_object_storage_rebates": {
1403
1518
  "visibility": "Public",
@@ -1415,7 +1530,9 @@
1415
1530
  }
1416
1531
  }
1417
1532
  ],
1418
- "return": ["U64"]
1533
+ "return": [
1534
+ "U64"
1535
+ ]
1419
1536
  }
1420
1537
  }
1421
1538
  },
@@ -1432,7 +1549,9 @@
1432
1549
  "structs": {
1433
1550
  "SuiSystemState": {
1434
1551
  "abilities": {
1435
- "abilities": ["Key"]
1552
+ "abilities": [
1553
+ "Key"
1554
+ ]
1436
1555
  },
1437
1556
  "typeParameters": [],
1438
1557
  "fields": [
@@ -1455,6 +1574,28 @@
1455
1574
  }
1456
1575
  },
1457
1576
  "exposedFunctions": {
1577
+ "active_validator_addresses": {
1578
+ "visibility": "Public",
1579
+ "isEntry": false,
1580
+ "typeParameters": [],
1581
+ "parameters": [
1582
+ {
1583
+ "MutableReference": {
1584
+ "Struct": {
1585
+ "address": "0x3",
1586
+ "module": "sui_system",
1587
+ "name": "SuiSystemState",
1588
+ "typeArguments": []
1589
+ }
1590
+ }
1591
+ }
1592
+ ],
1593
+ "return": [
1594
+ {
1595
+ "Vector": "Address"
1596
+ }
1597
+ ]
1598
+ },
1458
1599
  "create": {
1459
1600
  "visibility": "Friend",
1460
1601
  "isEntry": false,
@@ -1526,6 +1667,55 @@
1526
1667
  ],
1527
1668
  "return": []
1528
1669
  },
1670
+ "pool_exchange_rates": {
1671
+ "visibility": "Public",
1672
+ "isEntry": false,
1673
+ "typeParameters": [],
1674
+ "parameters": [
1675
+ {
1676
+ "MutableReference": {
1677
+ "Struct": {
1678
+ "address": "0x3",
1679
+ "module": "sui_system",
1680
+ "name": "SuiSystemState",
1681
+ "typeArguments": []
1682
+ }
1683
+ }
1684
+ },
1685
+ {
1686
+ "Reference": {
1687
+ "Struct": {
1688
+ "address": "0x2",
1689
+ "module": "object",
1690
+ "name": "ID",
1691
+ "typeArguments": []
1692
+ }
1693
+ }
1694
+ }
1695
+ ],
1696
+ "return": [
1697
+ {
1698
+ "Reference": {
1699
+ "Struct": {
1700
+ "address": "0x2",
1701
+ "module": "table",
1702
+ "name": "Table",
1703
+ "typeArguments": [
1704
+ "U64",
1705
+ {
1706
+ "Struct": {
1707
+ "address": "0x3",
1708
+ "module": "staking_pool",
1709
+ "name": "PoolTokenExchangeRate",
1710
+ "typeArguments": []
1711
+ }
1712
+ }
1713
+ ]
1714
+ }
1715
+ }
1716
+ }
1717
+ ]
1718
+ },
1529
1719
  "report_validator": {
1530
1720
  "visibility": "Public",
1531
1721
  "isEntry": true,
@@ -1640,7 +1830,9 @@
1640
1830
  "address": "0x1",
1641
1831
  "module": "option",
1642
1832
  "name": "Option",
1643
- "typeArguments": ["U64"]
1833
+ "typeArguments": [
1834
+ "U64"
1835
+ ]
1644
1836
  }
1645
1837
  },
1646
1838
  "Address",
@@ -1657,6 +1849,61 @@
1657
1849
  ],
1658
1850
  "return": []
1659
1851
  },
1852
+ "request_add_stake_non_entry": {
1853
+ "visibility": "Public",
1854
+ "isEntry": false,
1855
+ "typeParameters": [],
1856
+ "parameters": [
1857
+ {
1858
+ "MutableReference": {
1859
+ "Struct": {
1860
+ "address": "0x3",
1861
+ "module": "sui_system",
1862
+ "name": "SuiSystemState",
1863
+ "typeArguments": []
1864
+ }
1865
+ }
1866
+ },
1867
+ {
1868
+ "Struct": {
1869
+ "address": "0x2",
1870
+ "module": "coin",
1871
+ "name": "Coin",
1872
+ "typeArguments": [
1873
+ {
1874
+ "Struct": {
1875
+ "address": "0x2",
1876
+ "module": "sui",
1877
+ "name": "SUI",
1878
+ "typeArguments": []
1879
+ }
1880
+ }
1881
+ ]
1882
+ }
1883
+ },
1884
+ "Address",
1885
+ {
1886
+ "MutableReference": {
1887
+ "Struct": {
1888
+ "address": "0x2",
1889
+ "module": "tx_context",
1890
+ "name": "TxContext",
1891
+ "typeArguments": []
1892
+ }
1893
+ }
1894
+ }
1895
+ ],
1896
+ "return": [
1897
+ {
1898
+ "Struct": {
1899
+ "address": "0x3",
1900
+ "module": "staking_pool",
1901
+ "name": "StakedSui",
1902
+ "typeArguments": []
1903
+ }
1904
+ }
1905
+ ]
1906
+ },
1660
1907
  "request_add_validator": {
1661
1908
  "visibility": "Public",
1662
1909
  "isEntry": true,
@@ -1901,6 +2148,60 @@
1901
2148
  ],
1902
2149
  "return": []
1903
2150
  },
2151
+ "request_withdraw_stake_non_entry": {
2152
+ "visibility": "Public",
2153
+ "isEntry": false,
2154
+ "typeParameters": [],
2155
+ "parameters": [
2156
+ {
2157
+ "MutableReference": {
2158
+ "Struct": {
2159
+ "address": "0x3",
2160
+ "module": "sui_system",
2161
+ "name": "SuiSystemState",
2162
+ "typeArguments": []
2163
+ }
2164
+ }
2165
+ },
2166
+ {
2167
+ "Struct": {
2168
+ "address": "0x3",
2169
+ "module": "staking_pool",
2170
+ "name": "StakedSui",
2171
+ "typeArguments": []
2172
+ }
2173
+ },
2174
+ {
2175
+ "MutableReference": {
2176
+ "Struct": {
2177
+ "address": "0x2",
2178
+ "module": "tx_context",
2179
+ "name": "TxContext",
2180
+ "typeArguments": []
2181
+ }
2182
+ }
2183
+ }
2184
+ ],
2185
+ "return": [
2186
+ {
2187
+ "Struct": {
2188
+ "address": "0x2",
2189
+ "module": "balance",
2190
+ "name": "Balance",
2191
+ "typeArguments": [
2192
+ {
2193
+ "Struct": {
2194
+ "address": "0x2",
2195
+ "module": "sui",
2196
+ "name": "SUI",
2197
+ "typeArguments": []
2198
+ }
2199
+ }
2200
+ ]
2201
+ }
2202
+ }
2203
+ ]
2204
+ },
1904
2205
  "rotate_operation_cap": {
1905
2206
  "visibility": "Public",
1906
2207
  "isEntry": true,
@@ -2599,7 +2900,9 @@
2599
2900
  "structs": {
2600
2901
  "SuiSystemStateInner": {
2601
2902
  "abilities": {
2602
- "abilities": ["Store"]
2903
+ "abilities": [
2904
+ "Store"
2905
+ ]
2603
2906
  },
2604
2907
  "typeParameters": [],
2605
2908
  "fields": [
@@ -2666,7 +2969,9 @@
2666
2969
  "address": "0x2",
2667
2970
  "module": "vec_set",
2668
2971
  "name": "VecSet",
2669
- "typeArguments": ["Address"]
2972
+ "typeArguments": [
2973
+ "Address"
2974
+ ]
2670
2975
  }
2671
2976
  }
2672
2977
  ]
@@ -2755,7 +3060,9 @@
2755
3060
  },
2756
3061
  "SuiSystemStateInnerV2": {
2757
3062
  "abilities": {
2758
- "abilities": ["Store"]
3063
+ "abilities": [
3064
+ "Store"
3065
+ ]
2759
3066
  },
2760
3067
  "typeParameters": [],
2761
3068
  "fields": [
@@ -2822,7 +3129,9 @@
2822
3129
  "address": "0x2",
2823
3130
  "module": "vec_set",
2824
3131
  "name": "VecSet",
2825
- "typeArguments": ["Address"]
3132
+ "typeArguments": [
3133
+ "Address"
3134
+ ]
2826
3135
  }
2827
3136
  }
2828
3137
  ]
@@ -2911,7 +3220,10 @@
2911
3220
  },
2912
3221
  "SystemEpochInfoEvent": {
2913
3222
  "abilities": {
2914
- "abilities": ["Copy", "Drop"]
3223
+ "abilities": [
3224
+ "Copy",
3225
+ "Drop"
3226
+ ]
2915
3227
  },
2916
3228
  "typeParameters": [],
2917
3229
  "fields": [
@@ -2967,7 +3279,9 @@
2967
3279
  },
2968
3280
  "SystemParameters": {
2969
3281
  "abilities": {
2970
- "abilities": ["Store"]
3282
+ "abilities": [
3283
+ "Store"
3284
+ ]
2971
3285
  },
2972
3286
  "typeParameters": [],
2973
3287
  "fields": [
@@ -3014,7 +3328,9 @@
3014
3328
  },
3015
3329
  "SystemParametersV2": {
3016
3330
  "abilities": {
3017
- "abilities": ["Store"]
3331
+ "abilities": [
3332
+ "Store"
3333
+ ]
3018
3334
  },
3019
3335
  "typeParameters": [],
3020
3336
  "fields": [
@@ -3065,6 +3381,28 @@
3065
3381
  }
3066
3382
  },
3067
3383
  "exposedFunctions": {
3384
+ "active_validator_addresses": {
3385
+ "visibility": "Friend",
3386
+ "isEntry": false,
3387
+ "typeParameters": [],
3388
+ "parameters": [
3389
+ {
3390
+ "Reference": {
3391
+ "Struct": {
3392
+ "address": "0x3",
3393
+ "module": "sui_system_state_inner",
3394
+ "name": "SuiSystemStateInnerV2",
3395
+ "typeArguments": []
3396
+ }
3397
+ }
3398
+ }
3399
+ ],
3400
+ "return": [
3401
+ {
3402
+ "Vector": "Address"
3403
+ }
3404
+ ]
3405
+ },
3068
3406
  "advance_epoch": {
3069
3407
  "visibility": "Friend",
3070
3408
  "isEntry": false,
@@ -3274,7 +3612,9 @@
3274
3612
  }
3275
3613
  }
3276
3614
  ],
3277
- "return": ["U64"]
3615
+ "return": [
3616
+ "U64"
3617
+ ]
3278
3618
  },
3279
3619
  "epoch_start_timestamp_ms": {
3280
3620
  "visibility": "Friend",
@@ -3292,14 +3632,18 @@
3292
3632
  }
3293
3633
  }
3294
3634
  ],
3295
- "return": ["U64"]
3635
+ "return": [
3636
+ "U64"
3637
+ ]
3296
3638
  },
3297
3639
  "genesis_system_state_version": {
3298
3640
  "visibility": "Friend",
3299
3641
  "isEntry": false,
3300
3642
  "typeParameters": [],
3301
3643
  "parameters": [],
3302
- "return": ["U64"]
3644
+ "return": [
3645
+ "U64"
3646
+ ]
3303
3647
  },
3304
3648
  "get_reporters_of": {
3305
3649
  "visibility": "Friend",
@@ -3324,7 +3668,9 @@
3324
3668
  "address": "0x2",
3325
3669
  "module": "vec_set",
3326
3670
  "name": "VecSet",
3327
- "typeArguments": ["Address"]
3671
+ "typeArguments": [
3672
+ "Address"
3673
+ ]
3328
3674
  }
3329
3675
  }
3330
3676
  ]
@@ -3345,7 +3691,9 @@
3345
3691
  }
3346
3692
  }
3347
3693
  ],
3348
- "return": ["U64"]
3694
+ "return": [
3695
+ "U64"
3696
+ ]
3349
3697
  },
3350
3698
  "get_storage_fund_total_balance": {
3351
3699
  "visibility": "Friend",
@@ -3363,7 +3711,58 @@
3363
3711
  }
3364
3712
  }
3365
3713
  ],
3366
- "return": ["U64"]
3714
+ "return": [
3715
+ "U64"
3716
+ ]
3717
+ },
3718
+ "pool_exchange_rates": {
3719
+ "visibility": "Friend",
3720
+ "isEntry": false,
3721
+ "typeParameters": [],
3722
+ "parameters": [
3723
+ {
3724
+ "MutableReference": {
3725
+ "Struct": {
3726
+ "address": "0x3",
3727
+ "module": "sui_system_state_inner",
3728
+ "name": "SuiSystemStateInnerV2",
3729
+ "typeArguments": []
3730
+ }
3731
+ }
3732
+ },
3733
+ {
3734
+ "Reference": {
3735
+ "Struct": {
3736
+ "address": "0x2",
3737
+ "module": "object",
3738
+ "name": "ID",
3739
+ "typeArguments": []
3740
+ }
3741
+ }
3742
+ }
3743
+ ],
3744
+ "return": [
3745
+ {
3746
+ "Reference": {
3747
+ "Struct": {
3748
+ "address": "0x2",
3749
+ "module": "table",
3750
+ "name": "Table",
3751
+ "typeArguments": [
3752
+ "U64",
3753
+ {
3754
+ "Struct": {
3755
+ "address": "0x3",
3756
+ "module": "staking_pool",
3757
+ "name": "PoolTokenExchangeRate",
3758
+ "typeArguments": []
3759
+ }
3760
+ }
3761
+ ]
3762
+ }
3763
+ }
3764
+ }
3765
+ ]
3367
3766
  },
3368
3767
  "protocol_version": {
3369
3768
  "visibility": "Friend",
@@ -3381,7 +3780,9 @@
3381
3780
  }
3382
3781
  }
3383
3782
  ],
3384
- "return": ["U64"]
3783
+ "return": [
3784
+ "U64"
3785
+ ]
3385
3786
  },
3386
3787
  "report_validator": {
3387
3788
  "visibility": "Friend",
@@ -3456,7 +3857,16 @@
3456
3857
  }
3457
3858
  }
3458
3859
  ],
3459
- "return": []
3860
+ "return": [
3861
+ {
3862
+ "Struct": {
3863
+ "address": "0x3",
3864
+ "module": "staking_pool",
3865
+ "name": "StakedSui",
3866
+ "typeArguments": []
3867
+ }
3868
+ }
3869
+ ]
3460
3870
  },
3461
3871
  "request_add_stake_mul_coin": {
3462
3872
  "visibility": "Friend",
@@ -3497,7 +3907,9 @@
3497
3907
  "address": "0x1",
3498
3908
  "module": "option",
3499
3909
  "name": "Option",
3500
- "typeArguments": ["U64"]
3910
+ "typeArguments": [
3911
+ "U64"
3912
+ ]
3501
3913
  }
3502
3914
  },
3503
3915
  "Address",
@@ -3512,7 +3924,16 @@
3512
3924
  }
3513
3925
  }
3514
3926
  ],
3515
- "return": []
3927
+ "return": [
3928
+ {
3929
+ "Struct": {
3930
+ "address": "0x3",
3931
+ "module": "staking_pool",
3932
+ "name": "StakedSui",
3933
+ "typeArguments": []
3934
+ }
3935
+ }
3936
+ ]
3516
3937
  },
3517
3938
  "request_add_validator": {
3518
3939
  "visibility": "Friend",
@@ -3755,8 +4176,26 @@
3755
4176
  }
3756
4177
  }
3757
4178
  }
3758
- ],
3759
- "return": []
4179
+ ],
4180
+ "return": [
4181
+ {
4182
+ "Struct": {
4183
+ "address": "0x2",
4184
+ "module": "balance",
4185
+ "name": "Balance",
4186
+ "typeArguments": [
4187
+ {
4188
+ "Struct": {
4189
+ "address": "0x2",
4190
+ "module": "sui",
4191
+ "name": "SUI",
4192
+ "typeArguments": []
4193
+ }
4194
+ }
4195
+ ]
4196
+ }
4197
+ }
4198
+ ]
3760
4199
  },
3761
4200
  "rotate_operation_cap": {
3762
4201
  "visibility": "Friend",
@@ -3860,7 +4299,9 @@
3860
4299
  }
3861
4300
  }
3862
4301
  ],
3863
- "return": ["U64"]
4302
+ "return": [
4303
+ "U64"
4304
+ ]
3864
4305
  },
3865
4306
  "undo_report_validator": {
3866
4307
  "visibility": "Friend",
@@ -4497,7 +4938,9 @@
4497
4938
  },
4498
4939
  "Address"
4499
4940
  ],
4500
- "return": ["U64"]
4941
+ "return": [
4942
+ "U64"
4943
+ ]
4501
4944
  },
4502
4945
  "validator_staking_pool_id": {
4503
4946
  "visibility": "Friend",
@@ -4597,7 +5040,10 @@
4597
5040
  "structs": {
4598
5041
  "StakingRequestEvent": {
4599
5042
  "abilities": {
4600
- "abilities": ["Copy", "Drop"]
5043
+ "abilities": [
5044
+ "Copy",
5045
+ "Drop"
5046
+ ]
4601
5047
  },
4602
5048
  "typeParameters": [],
4603
5049
  "fields": [
@@ -4632,7 +5078,10 @@
4632
5078
  },
4633
5079
  "UnstakingRequestEvent": {
4634
5080
  "abilities": {
4635
- "abilities": ["Copy", "Drop"]
5081
+ "abilities": [
5082
+ "Copy",
5083
+ "Drop"
5084
+ ]
4636
5085
  },
4637
5086
  "typeParameters": [],
4638
5087
  "fields": [
@@ -4675,7 +5124,9 @@
4675
5124
  },
4676
5125
  "Validator": {
4677
5126
  "abilities": {
4678
- "abilities": ["Store"]
5127
+ "abilities": [
5128
+ "Store"
5129
+ ]
4679
5130
  },
4680
5131
  "typeParameters": [],
4681
5132
  "fields": [
@@ -4751,7 +5202,9 @@
4751
5202
  },
4752
5203
  "ValidatorMetadata": {
4753
5204
  "abilities": {
4754
- "abilities": ["Store"]
5205
+ "abilities": [
5206
+ "Store"
5207
+ ]
4755
5208
  },
4756
5209
  "typeParameters": [],
4757
5210
  "fields": [
@@ -5079,7 +5532,9 @@
5079
5532
  }
5080
5533
  }
5081
5534
  ],
5082
- "return": ["U64"]
5535
+ "return": [
5536
+ "U64"
5537
+ ]
5083
5538
  },
5084
5539
  "deactivate": {
5085
5540
  "visibility": "Friend",
@@ -5198,7 +5653,38 @@
5198
5653
  }
5199
5654
  }
5200
5655
  ],
5201
- "return": ["U64"]
5656
+ "return": [
5657
+ "U64"
5658
+ ]
5659
+ },
5660
+ "get_staking_pool_ref": {
5661
+ "visibility": "Friend",
5662
+ "isEntry": false,
5663
+ "typeParameters": [],
5664
+ "parameters": [
5665
+ {
5666
+ "Reference": {
5667
+ "Struct": {
5668
+ "address": "0x3",
5669
+ "module": "validator",
5670
+ "name": "Validator",
5671
+ "typeArguments": []
5672
+ }
5673
+ }
5674
+ }
5675
+ ],
5676
+ "return": [
5677
+ {
5678
+ "Reference": {
5679
+ "Struct": {
5680
+ "address": "0x3",
5681
+ "module": "staking_pool",
5682
+ "name": "StakingPool",
5683
+ "typeArguments": []
5684
+ }
5685
+ }
5686
+ }
5687
+ ]
5202
5688
  },
5203
5689
  "image_url": {
5204
5690
  "visibility": "Public",
@@ -5255,7 +5741,9 @@
5255
5741
  }
5256
5742
  }
5257
5743
  ],
5258
- "return": ["Bool"]
5744
+ "return": [
5745
+ "Bool"
5746
+ ]
5259
5747
  },
5260
5748
  "is_preactive": {
5261
5749
  "visibility": "Public",
@@ -5273,7 +5761,9 @@
5273
5761
  }
5274
5762
  }
5275
5763
  ],
5276
- "return": ["Bool"]
5764
+ "return": [
5765
+ "Bool"
5766
+ ]
5277
5767
  },
5278
5768
  "metadata": {
5279
5769
  "visibility": "Public",
@@ -5598,7 +6088,9 @@
5598
6088
  }
5599
6089
  }
5600
6090
  ],
5601
- "return": ["U64"]
6091
+ "return": [
6092
+ "U64"
6093
+ ]
5602
6094
  },
5603
6095
  "next_epoch_network_address": {
5604
6096
  "visibility": "Public",
@@ -5958,7 +6450,9 @@
5958
6450
  }
5959
6451
  }
5960
6452
  ],
5961
- "return": ["U64"]
6453
+ "return": [
6454
+ "U64"
6455
+ ]
5962
6456
  },
5963
6457
  "pending_stake_withdraw_amount": {
5964
6458
  "visibility": "Public",
@@ -5976,7 +6470,9 @@
5976
6470
  }
5977
6471
  }
5978
6472
  ],
5979
- "return": ["U64"]
6473
+ "return": [
6474
+ "U64"
6475
+ ]
5980
6476
  },
5981
6477
  "pool_token_exchange_rate_at_epoch": {
5982
6478
  "visibility": "Public",
@@ -6184,7 +6680,16 @@
6184
6680
  }
6185
6681
  }
6186
6682
  ],
6187
- "return": []
6683
+ "return": [
6684
+ {
6685
+ "Struct": {
6686
+ "address": "0x3",
6687
+ "module": "staking_pool",
6688
+ "name": "StakedSui",
6689
+ "typeArguments": []
6690
+ }
6691
+ }
6692
+ ]
6188
6693
  },
6189
6694
  "request_add_stake_at_genesis": {
6190
6695
  "visibility": "Friend",
@@ -6312,7 +6817,25 @@
6312
6817
  }
6313
6818
  }
6314
6819
  ],
6315
- "return": []
6820
+ "return": [
6821
+ {
6822
+ "Struct": {
6823
+ "address": "0x2",
6824
+ "module": "balance",
6825
+ "name": "Balance",
6826
+ "typeArguments": [
6827
+ {
6828
+ "Struct": {
6829
+ "address": "0x2",
6830
+ "module": "sui",
6831
+ "name": "SUI",
6832
+ "typeArguments": []
6833
+ }
6834
+ }
6835
+ ]
6836
+ }
6837
+ }
6838
+ ]
6316
6839
  },
6317
6840
  "set_candidate_commission_rate": {
6318
6841
  "visibility": "Friend",
@@ -6395,7 +6918,9 @@
6395
6918
  }
6396
6919
  }
6397
6920
  ],
6398
- "return": ["U64"]
6921
+ "return": [
6922
+ "U64"
6923
+ ]
6399
6924
  },
6400
6925
  "staking_pool_id": {
6401
6926
  "visibility": "Public",
@@ -6440,7 +6965,9 @@
6440
6965
  }
6441
6966
  }
6442
6967
  ],
6443
- "return": ["Address"]
6968
+ "return": [
6969
+ "Address"
6970
+ ]
6444
6971
  },
6445
6972
  "total_stake": {
6446
6973
  "visibility": "Public",
@@ -6458,7 +6985,9 @@
6458
6985
  }
6459
6986
  }
6460
6987
  ],
6461
- "return": ["U64"]
6988
+ "return": [
6989
+ "U64"
6990
+ ]
6462
6991
  },
6463
6992
  "total_stake_amount": {
6464
6993
  "visibility": "Public",
@@ -6476,7 +7005,9 @@
6476
7005
  }
6477
7006
  }
6478
7007
  ],
6479
- "return": ["U64"]
7008
+ "return": [
7009
+ "U64"
7010
+ ]
6480
7011
  },
6481
7012
  "update_candidate_network_address": {
6482
7013
  "visibility": "Friend",
@@ -6907,7 +7438,9 @@
6907
7438
  }
6908
7439
  }
6909
7440
  ],
6910
- "return": ["U64"]
7441
+ "return": [
7442
+ "U64"
7443
+ ]
6911
7444
  },
6912
7445
  "worker_address": {
6913
7446
  "visibility": "Public",
@@ -6985,7 +7518,10 @@
6985
7518
  "structs": {
6986
7519
  "UnverifiedValidatorOperationCap": {
6987
7520
  "abilities": {
6988
- "abilities": ["Store", "Key"]
7521
+ "abilities": [
7522
+ "Store",
7523
+ "Key"
7524
+ ]
6989
7525
  },
6990
7526
  "typeParameters": [],
6991
7527
  "fields": [
@@ -7008,7 +7544,9 @@
7008
7544
  },
7009
7545
  "ValidatorOperationCap": {
7010
7546
  "abilities": {
7011
- "abilities": ["Drop"]
7547
+ "abilities": [
7548
+ "Drop"
7549
+ ]
7012
7550
  },
7013
7551
  "typeParameters": [],
7014
7552
  "fields": [
@@ -7138,7 +7676,10 @@
7138
7676
  "structs": {
7139
7677
  "ValidatorEpochInfoEvent": {
7140
7678
  "abilities": {
7141
- "abilities": ["Copy", "Drop"]
7679
+ "abilities": [
7680
+ "Copy",
7681
+ "Drop"
7682
+ ]
7142
7683
  },
7143
7684
  "typeParameters": [],
7144
7685
  "fields": [
@@ -7195,7 +7736,10 @@
7195
7736
  },
7196
7737
  "ValidatorEpochInfoEventV2": {
7197
7738
  "abilities": {
7198
- "abilities": ["Copy", "Drop"]
7739
+ "abilities": [
7740
+ "Copy",
7741
+ "Drop"
7742
+ ]
7199
7743
  },
7200
7744
  "typeParameters": [],
7201
7745
  "fields": [
@@ -7256,7 +7800,10 @@
7256
7800
  },
7257
7801
  "ValidatorJoinEvent": {
7258
7802
  "abilities": {
7259
- "abilities": ["Copy", "Drop"]
7803
+ "abilities": [
7804
+ "Copy",
7805
+ "Drop"
7806
+ ]
7260
7807
  },
7261
7808
  "typeParameters": [],
7262
7809
  "fields": [
@@ -7283,7 +7830,10 @@
7283
7830
  },
7284
7831
  "ValidatorLeaveEvent": {
7285
7832
  "abilities": {
7286
- "abilities": ["Copy", "Drop"]
7833
+ "abilities": [
7834
+ "Copy",
7835
+ "Drop"
7836
+ ]
7287
7837
  },
7288
7838
  "typeParameters": [],
7289
7839
  "fields": [
@@ -7314,7 +7864,9 @@
7314
7864
  },
7315
7865
  "ValidatorSet": {
7316
7866
  "abilities": {
7317
- "abilities": ["Store"]
7867
+ "abilities": [
7868
+ "Store"
7869
+ ]
7318
7870
  },
7319
7871
  "typeParameters": [],
7320
7872
  "fields": [
@@ -7438,7 +7990,10 @@
7438
7990
  "address": "0x2",
7439
7991
  "module": "vec_map",
7440
7992
  "name": "VecMap",
7441
- "typeArguments": ["Address", "U64"]
7993
+ "typeArguments": [
7994
+ "Address",
7995
+ "U64"
7996
+ ]
7442
7997
  }
7443
7998
  }
7444
7999
  },
@@ -7457,6 +8012,28 @@
7457
8012
  }
7458
8013
  },
7459
8014
  "exposedFunctions": {
8015
+ "active_validator_addresses": {
8016
+ "visibility": "Friend",
8017
+ "isEntry": false,
8018
+ "typeParameters": [],
8019
+ "parameters": [
8020
+ {
8021
+ "Reference": {
8022
+ "Struct": {
8023
+ "address": "0x3",
8024
+ "module": "validator_set",
8025
+ "name": "ValidatorSet",
8026
+ "typeArguments": []
8027
+ }
8028
+ }
8029
+ }
8030
+ ],
8031
+ "return": [
8032
+ {
8033
+ "Vector": "Address"
8034
+ }
8035
+ ]
8036
+ },
7460
8037
  "active_validators": {
7461
8038
  "visibility": "Public",
7462
8039
  "isEntry": false,
@@ -7554,7 +8131,9 @@
7554
8131
  "address": "0x2",
7555
8132
  "module": "vec_set",
7556
8133
  "name": "VecSet",
7557
- "typeArguments": ["Address"]
8134
+ "typeArguments": [
8135
+ "Address"
8136
+ ]
7558
8137
  }
7559
8138
  }
7560
8139
  ]
@@ -7622,7 +8201,9 @@
7622
8201
  }
7623
8202
  }
7624
8203
  ],
7625
- "return": ["U64"]
8204
+ "return": [
8205
+ "U64"
8206
+ ]
7626
8207
  },
7627
8208
  "get_active_or_pending_or_candidate_validator_ref": {
7628
8209
  "visibility": "Friend",
@@ -7882,7 +8463,9 @@
7882
8463
  },
7883
8464
  "Address"
7884
8465
  ],
7885
- "return": ["Bool"]
8466
+ "return": [
8467
+ "Bool"
8468
+ ]
7886
8469
  },
7887
8470
  "is_duplicate_validator": {
7888
8471
  "visibility": "Friend",
@@ -7912,7 +8495,9 @@
7912
8495
  }
7913
8496
  }
7914
8497
  ],
7915
- "return": ["Bool"]
8498
+ "return": [
8499
+ "Bool"
8500
+ ]
7916
8501
  },
7917
8502
  "is_inactive_validator": {
7918
8503
  "visibility": "Public",
@@ -7938,7 +8523,9 @@
7938
8523
  }
7939
8524
  }
7940
8525
  ],
7941
- "return": ["Bool"]
8526
+ "return": [
8527
+ "Bool"
8528
+ ]
7942
8529
  },
7943
8530
  "is_validator_candidate": {
7944
8531
  "visibility": "Public",
@@ -7957,7 +8544,9 @@
7957
8544
  },
7958
8545
  "Address"
7959
8546
  ],
7960
- "return": ["Bool"]
8547
+ "return": [
8548
+ "Bool"
8549
+ ]
7961
8550
  },
7962
8551
  "new": {
7963
8552
  "visibility": "Friend",
@@ -8012,7 +8601,58 @@
8012
8601
  }
8013
8602
  }
8014
8603
  ],
8015
- "return": ["U64"]
8604
+ "return": [
8605
+ "U64"
8606
+ ]
8607
+ },
8608
+ "pool_exchange_rates": {
8609
+ "visibility": "Friend",
8610
+ "isEntry": false,
8611
+ "typeParameters": [],
8612
+ "parameters": [
8613
+ {
8614
+ "MutableReference": {
8615
+ "Struct": {
8616
+ "address": "0x3",
8617
+ "module": "validator_set",
8618
+ "name": "ValidatorSet",
8619
+ "typeArguments": []
8620
+ }
8621
+ }
8622
+ },
8623
+ {
8624
+ "Reference": {
8625
+ "Struct": {
8626
+ "address": "0x2",
8627
+ "module": "object",
8628
+ "name": "ID",
8629
+ "typeArguments": []
8630
+ }
8631
+ }
8632
+ }
8633
+ ],
8634
+ "return": [
8635
+ {
8636
+ "Reference": {
8637
+ "Struct": {
8638
+ "address": "0x2",
8639
+ "module": "table",
8640
+ "name": "Table",
8641
+ "typeArguments": [
8642
+ "U64",
8643
+ {
8644
+ "Struct": {
8645
+ "address": "0x3",
8646
+ "module": "staking_pool",
8647
+ "name": "PoolTokenExchangeRate",
8648
+ "typeArguments": []
8649
+ }
8650
+ }
8651
+ ]
8652
+ }
8653
+ }
8654
+ }
8655
+ ]
8016
8656
  },
8017
8657
  "request_add_stake": {
8018
8658
  "visibility": "Friend",
@@ -8058,7 +8698,16 @@
8058
8698
  }
8059
8699
  }
8060
8700
  ],
8061
- "return": []
8701
+ "return": [
8702
+ {
8703
+ "Struct": {
8704
+ "address": "0x3",
8705
+ "module": "staking_pool",
8706
+ "name": "StakedSui",
8707
+ "typeArguments": []
8708
+ }
8709
+ }
8710
+ ]
8062
8711
  },
8063
8712
  "request_add_validator": {
8064
8713
  "visibility": "Friend",
@@ -8244,7 +8893,25 @@
8244
8893
  }
8245
8894
  }
8246
8895
  ],
8247
- "return": []
8896
+ "return": [
8897
+ {
8898
+ "Struct": {
8899
+ "address": "0x2",
8900
+ "module": "balance",
8901
+ "name": "Balance",
8902
+ "typeArguments": [
8903
+ {
8904
+ "Struct": {
8905
+ "address": "0x2",
8906
+ "module": "sui",
8907
+ "name": "SUI",
8908
+ "typeArguments": []
8909
+ }
8910
+ }
8911
+ ]
8912
+ }
8913
+ }
8914
+ ]
8248
8915
  },
8249
8916
  "staking_pool_mappings": {
8250
8917
  "visibility": "Public",
@@ -8308,7 +8975,9 @@
8308
8975
  }
8309
8976
  }
8310
8977
  ],
8311
- "return": ["U64"]
8978
+ "return": [
8979
+ "U64"
8980
+ ]
8312
8981
  },
8313
8982
  "total_stake": {
8314
8983
  "visibility": "Public",
@@ -8326,7 +8995,9 @@
8326
8995
  }
8327
8996
  }
8328
8997
  ],
8329
- "return": ["U64"]
8998
+ "return": [
8999
+ "U64"
9000
+ ]
8330
9001
  },
8331
9002
  "validator_stake_amount": {
8332
9003
  "visibility": "Public",
@@ -8345,7 +9016,9 @@
8345
9016
  },
8346
9017
  "Address"
8347
9018
  ],
8348
- "return": ["U64"]
9019
+ "return": [
9020
+ "U64"
9021
+ ]
8349
9022
  },
8350
9023
  "validator_staking_pool_id": {
8351
9024
  "visibility": "Public",
@@ -8392,7 +9065,9 @@
8392
9065
  },
8393
9066
  "Address"
8394
9067
  ],
8395
- "return": ["U64"]
9068
+ "return": [
9069
+ "U64"
9070
+ ]
8396
9071
  },
8397
9072
  "verify_cap": {
8398
9073
  "visibility": "Friend",
@@ -8447,7 +9122,9 @@
8447
9122
  "structs": {
8448
9123
  "ValidatorWrapper": {
8449
9124
  "abilities": {
8450
- "abilities": ["Store"]
9125
+ "abilities": [
9126
+ "Store"
9127
+ ]
8451
9128
  },
8452
9129
  "typeParameters": [],
8453
9130
  "fields": [
@@ -8570,7 +9247,9 @@
8570
9247
  "structs": {
8571
9248
  "VotingPowerInfo": {
8572
9249
  "abilities": {
8573
- "abilities": ["Drop"]
9250
+ "abilities": [
9251
+ "Drop"
9252
+ ]
8574
9253
  },
8575
9254
  "typeParameters": [],
8576
9255
  "fields": [
@@ -8586,7 +9265,9 @@
8586
9265
  },
8587
9266
  "VotingPowerInfoV2": {
8588
9267
  "abilities": {
8589
- "abilities": ["Drop"]
9268
+ "abilities": [
9269
+ "Drop"
9270
+ ]
8590
9271
  },
8591
9272
  "typeParameters": [],
8592
9273
  "fields": [
@@ -8611,7 +9292,9 @@
8611
9292
  "isEntry": false,
8612
9293
  "typeParameters": [],
8613
9294
  "parameters": [],
8614
- "return": ["U64"]
9295
+ "return": [
9296
+ "U64"
9297
+ ]
8615
9298
  },
8616
9299
  "set_voting_power": {
8617
9300
  "visibility": "Friend",
@@ -8638,8 +9321,10 @@
8638
9321
  "isEntry": false,
8639
9322
  "typeParameters": [],
8640
9323
  "parameters": [],
8641
- "return": ["U64"]
9324
+ "return": [
9325
+ "U64"
9326
+ ]
8642
9327
  }
8643
9328
  }
8644
9329
  }
8645
- }
9330
+ }