@sentio/sdk 2.44.2 → 2.44.3-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/lib/aptos/aptos-processor.d.ts +4 -3
- package/lib/aptos/aptos-processor.d.ts.map +1 -1
- package/lib/aptos/aptos-processor.js +18 -6
- package/lib/aptos/aptos-processor.js.map +1 -1
- package/lib/aptos/builtin/0x1.d.ts +23 -0
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +24 -1
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.js +1 -1
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/builtin/0x4.js +1 -1
- package/lib/aptos/builtin/0x4.js.map +1 -1
- package/lib/fuel/asset-processor.d.ts +1 -0
- package/lib/fuel/asset-processor.d.ts.map +1 -1
- package/lib/fuel/asset-processor.js +2 -1
- package/lib/fuel/asset-processor.js.map +1 -1
- package/lib/sui/builtin/0x1.js +1 -1
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +59 -0
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/lib/sui/builtin/0x3.js +58 -1
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/sui/context.d.ts +1 -1
- package/lib/sui/context.d.ts.map +1 -1
- package/lib/sui/ext/move-dex.d.ts +1 -1
- package/lib/sui/ext/move-dex.d.ts.map +1 -1
- package/lib/sui/models.d.ts +1 -1
- package/lib/sui/models.d.ts.map +1 -1
- package/lib/sui/network.d.ts +1 -1
- package/lib/sui/network.d.ts.map +1 -1
- package/lib/sui/network.js +1 -1
- package/lib/sui/network.js.map +1 -1
- package/lib/sui/sui-object-processor-template.d.ts +1 -1
- package/lib/sui/sui-object-processor-template.d.ts.map +1 -1
- package/lib/sui/sui-object-processor.d.ts +1 -1
- package/lib/sui/sui-object-processor.d.ts.map +1 -1
- package/lib/sui/sui-processor.d.ts +1 -1
- package/lib/sui/sui-processor.d.ts.map +1 -1
- package/lib/sui/utils.d.ts +1 -1
- package/lib/sui/utils.d.ts.map +1 -1
- package/lib/testing/sui-facet.d.ts +1 -1
- package/lib/testing/sui-facet.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/aptos/abis/0x1.json +571 -17
- package/src/aptos/abis/0x3.json +60 -0
- package/src/aptos/abis/0x4.json +139 -2
- package/src/aptos/aptos-processor.ts +32 -12
- package/src/aptos/builtin/0x1.ts +64 -1
- package/src/aptos/builtin/0x3.ts +1 -1
- package/src/aptos/builtin/0x4.ts +1 -1
- package/src/fuel/asset-processor.ts +3 -1
- package/src/sui/abis/0x1.json +499 -0
- package/src/sui/abis/0x3.json +900 -41
- package/src/sui/builtin/0x1.ts +1 -1
- package/src/sui/builtin/0x3.ts +154 -1
- package/src/sui/codegen/codegen.ts +1 -1
- package/src/sui/context.ts +1 -1
- package/src/sui/ext/coin.ts +1 -1
- package/src/sui/ext/move-dex.ts +1 -1
- package/src/sui/models.ts +1 -1
- package/src/sui/network.ts +1 -1
- package/src/sui/sui-object-processor-template.ts +1 -1
- package/src/sui/sui-object-processor.ts +1 -1
- package/src/sui/sui-processor.ts +1 -1
- package/src/sui/utils.ts +1 -1
- package/src/testing/sui-facet.ts +1 -1
package/src/sui/abis/0x3.json
CHANGED
@@ -410,6 +410,105 @@
|
|
410
410
|
}
|
411
411
|
],
|
412
412
|
"structs": {
|
413
|
+
"FungibleStakedSui": {
|
414
|
+
"abilities": {
|
415
|
+
"abilities": [
|
416
|
+
"Store",
|
417
|
+
"Key"
|
418
|
+
]
|
419
|
+
},
|
420
|
+
"typeParameters": [],
|
421
|
+
"fields": [
|
422
|
+
{
|
423
|
+
"name": "id",
|
424
|
+
"type": {
|
425
|
+
"Struct": {
|
426
|
+
"address": "0x2",
|
427
|
+
"module": "object",
|
428
|
+
"name": "UID",
|
429
|
+
"typeArguments": []
|
430
|
+
}
|
431
|
+
}
|
432
|
+
},
|
433
|
+
{
|
434
|
+
"name": "pool_id",
|
435
|
+
"type": {
|
436
|
+
"Struct": {
|
437
|
+
"address": "0x2",
|
438
|
+
"module": "object",
|
439
|
+
"name": "ID",
|
440
|
+
"typeArguments": []
|
441
|
+
}
|
442
|
+
}
|
443
|
+
},
|
444
|
+
{
|
445
|
+
"name": "value",
|
446
|
+
"type": "U64"
|
447
|
+
}
|
448
|
+
]
|
449
|
+
},
|
450
|
+
"FungibleStakedSuiData": {
|
451
|
+
"abilities": {
|
452
|
+
"abilities": [
|
453
|
+
"Store",
|
454
|
+
"Key"
|
455
|
+
]
|
456
|
+
},
|
457
|
+
"typeParameters": [],
|
458
|
+
"fields": [
|
459
|
+
{
|
460
|
+
"name": "id",
|
461
|
+
"type": {
|
462
|
+
"Struct": {
|
463
|
+
"address": "0x2",
|
464
|
+
"module": "object",
|
465
|
+
"name": "UID",
|
466
|
+
"typeArguments": []
|
467
|
+
}
|
468
|
+
}
|
469
|
+
},
|
470
|
+
{
|
471
|
+
"name": "total_supply",
|
472
|
+
"type": "U64"
|
473
|
+
},
|
474
|
+
{
|
475
|
+
"name": "principal",
|
476
|
+
"type": {
|
477
|
+
"Struct": {
|
478
|
+
"address": "0x2",
|
479
|
+
"module": "balance",
|
480
|
+
"name": "Balance",
|
481
|
+
"typeArguments": [
|
482
|
+
{
|
483
|
+
"Struct": {
|
484
|
+
"address": "0x2",
|
485
|
+
"module": "sui",
|
486
|
+
"name": "SUI",
|
487
|
+
"typeArguments": []
|
488
|
+
}
|
489
|
+
}
|
490
|
+
]
|
491
|
+
}
|
492
|
+
}
|
493
|
+
}
|
494
|
+
]
|
495
|
+
},
|
496
|
+
"FungibleStakedSuiDataKey": {
|
497
|
+
"abilities": {
|
498
|
+
"abilities": [
|
499
|
+
"Copy",
|
500
|
+
"Drop",
|
501
|
+
"Store"
|
502
|
+
]
|
503
|
+
},
|
504
|
+
"typeParameters": [],
|
505
|
+
"fields": [
|
506
|
+
{
|
507
|
+
"name": "dummy_field",
|
508
|
+
"type": "Bool"
|
509
|
+
}
|
510
|
+
]
|
511
|
+
},
|
413
512
|
"PoolTokenExchangeRate": {
|
414
513
|
"abilities": {
|
415
514
|
"abilities": [
|
@@ -628,6 +727,51 @@
|
|
628
727
|
],
|
629
728
|
"return": []
|
630
729
|
},
|
730
|
+
"convert_to_fungible_staked_sui": {
|
731
|
+
"visibility": "Friend",
|
732
|
+
"isEntry": false,
|
733
|
+
"typeParameters": [],
|
734
|
+
"parameters": [
|
735
|
+
{
|
736
|
+
"MutableReference": {
|
737
|
+
"Struct": {
|
738
|
+
"address": "0x3",
|
739
|
+
"module": "staking_pool",
|
740
|
+
"name": "StakingPool",
|
741
|
+
"typeArguments": []
|
742
|
+
}
|
743
|
+
}
|
744
|
+
},
|
745
|
+
{
|
746
|
+
"Struct": {
|
747
|
+
"address": "0x3",
|
748
|
+
"module": "staking_pool",
|
749
|
+
"name": "StakedSui",
|
750
|
+
"typeArguments": []
|
751
|
+
}
|
752
|
+
},
|
753
|
+
{
|
754
|
+
"MutableReference": {
|
755
|
+
"Struct": {
|
756
|
+
"address": "0x2",
|
757
|
+
"module": "tx_context",
|
758
|
+
"name": "TxContext",
|
759
|
+
"typeArguments": []
|
760
|
+
}
|
761
|
+
}
|
762
|
+
}
|
763
|
+
],
|
764
|
+
"return": [
|
765
|
+
{
|
766
|
+
"Struct": {
|
767
|
+
"address": "0x3",
|
768
|
+
"module": "staking_pool",
|
769
|
+
"name": "FungibleStakedSui",
|
770
|
+
"typeArguments": []
|
771
|
+
}
|
772
|
+
}
|
773
|
+
]
|
774
|
+
},
|
631
775
|
"deactivate_staking_pool": {
|
632
776
|
"visibility": "Friend",
|
633
777
|
"isEntry": false,
|
@@ -721,6 +865,53 @@
|
|
721
865
|
}
|
722
866
|
]
|
723
867
|
},
|
868
|
+
"fungible_staked_sui_pool_id": {
|
869
|
+
"visibility": "Public",
|
870
|
+
"isEntry": false,
|
871
|
+
"typeParameters": [],
|
872
|
+
"parameters": [
|
873
|
+
{
|
874
|
+
"Reference": {
|
875
|
+
"Struct": {
|
876
|
+
"address": "0x3",
|
877
|
+
"module": "staking_pool",
|
878
|
+
"name": "FungibleStakedSui",
|
879
|
+
"typeArguments": []
|
880
|
+
}
|
881
|
+
}
|
882
|
+
}
|
883
|
+
],
|
884
|
+
"return": [
|
885
|
+
{
|
886
|
+
"Struct": {
|
887
|
+
"address": "0x2",
|
888
|
+
"module": "object",
|
889
|
+
"name": "ID",
|
890
|
+
"typeArguments": []
|
891
|
+
}
|
892
|
+
}
|
893
|
+
]
|
894
|
+
},
|
895
|
+
"fungible_staked_sui_value": {
|
896
|
+
"visibility": "Public",
|
897
|
+
"isEntry": false,
|
898
|
+
"typeParameters": [],
|
899
|
+
"parameters": [
|
900
|
+
{
|
901
|
+
"Reference": {
|
902
|
+
"Struct": {
|
903
|
+
"address": "0x3",
|
904
|
+
"module": "staking_pool",
|
905
|
+
"name": "FungibleStakedSui",
|
906
|
+
"typeArguments": []
|
907
|
+
}
|
908
|
+
}
|
909
|
+
}
|
910
|
+
],
|
911
|
+
"return": [
|
912
|
+
"U64"
|
913
|
+
]
|
914
|
+
},
|
724
915
|
"is_equal_staking_metadata": {
|
725
916
|
"visibility": "Public",
|
726
917
|
"isEntry": false,
|
@@ -791,6 +982,32 @@
|
|
791
982
|
"Bool"
|
792
983
|
]
|
793
984
|
},
|
985
|
+
"join_fungible_staked_sui": {
|
986
|
+
"visibility": "Public",
|
987
|
+
"isEntry": false,
|
988
|
+
"typeParameters": [],
|
989
|
+
"parameters": [
|
990
|
+
{
|
991
|
+
"MutableReference": {
|
992
|
+
"Struct": {
|
993
|
+
"address": "0x3",
|
994
|
+
"module": "staking_pool",
|
995
|
+
"name": "FungibleStakedSui",
|
996
|
+
"typeArguments": []
|
997
|
+
}
|
998
|
+
}
|
999
|
+
},
|
1000
|
+
{
|
1001
|
+
"Struct": {
|
1002
|
+
"address": "0x3",
|
1003
|
+
"module": "staking_pool",
|
1004
|
+
"name": "FungibleStakedSui",
|
1005
|
+
"typeArguments": []
|
1006
|
+
}
|
1007
|
+
}
|
1008
|
+
],
|
1009
|
+
"return": []
|
1010
|
+
},
|
794
1011
|
"join_staked_sui": {
|
795
1012
|
"visibility": "Public",
|
796
1013
|
"isEntry": true,
|
@@ -1005,6 +1222,60 @@
|
|
1005
1222
|
],
|
1006
1223
|
"return": []
|
1007
1224
|
},
|
1225
|
+
"redeem_fungible_staked_sui": {
|
1226
|
+
"visibility": "Friend",
|
1227
|
+
"isEntry": false,
|
1228
|
+
"typeParameters": [],
|
1229
|
+
"parameters": [
|
1230
|
+
{
|
1231
|
+
"MutableReference": {
|
1232
|
+
"Struct": {
|
1233
|
+
"address": "0x3",
|
1234
|
+
"module": "staking_pool",
|
1235
|
+
"name": "StakingPool",
|
1236
|
+
"typeArguments": []
|
1237
|
+
}
|
1238
|
+
}
|
1239
|
+
},
|
1240
|
+
{
|
1241
|
+
"Struct": {
|
1242
|
+
"address": "0x3",
|
1243
|
+
"module": "staking_pool",
|
1244
|
+
"name": "FungibleStakedSui",
|
1245
|
+
"typeArguments": []
|
1246
|
+
}
|
1247
|
+
},
|
1248
|
+
{
|
1249
|
+
"Reference": {
|
1250
|
+
"Struct": {
|
1251
|
+
"address": "0x2",
|
1252
|
+
"module": "tx_context",
|
1253
|
+
"name": "TxContext",
|
1254
|
+
"typeArguments": []
|
1255
|
+
}
|
1256
|
+
}
|
1257
|
+
}
|
1258
|
+
],
|
1259
|
+
"return": [
|
1260
|
+
{
|
1261
|
+
"Struct": {
|
1262
|
+
"address": "0x2",
|
1263
|
+
"module": "balance",
|
1264
|
+
"name": "Balance",
|
1265
|
+
"typeArguments": [
|
1266
|
+
{
|
1267
|
+
"Struct": {
|
1268
|
+
"address": "0x2",
|
1269
|
+
"module": "sui",
|
1270
|
+
"name": "SUI",
|
1271
|
+
"typeArguments": []
|
1272
|
+
}
|
1273
|
+
}
|
1274
|
+
]
|
1275
|
+
}
|
1276
|
+
}
|
1277
|
+
]
|
1278
|
+
},
|
1008
1279
|
"request_add_stake": {
|
1009
1280
|
"visibility": "Friend",
|
1010
1281
|
"isEntry": false,
|
@@ -1152,6 +1423,44 @@
|
|
1152
1423
|
}
|
1153
1424
|
]
|
1154
1425
|
},
|
1426
|
+
"split_fungible_staked_sui": {
|
1427
|
+
"visibility": "Public",
|
1428
|
+
"isEntry": false,
|
1429
|
+
"typeParameters": [],
|
1430
|
+
"parameters": [
|
1431
|
+
{
|
1432
|
+
"MutableReference": {
|
1433
|
+
"Struct": {
|
1434
|
+
"address": "0x3",
|
1435
|
+
"module": "staking_pool",
|
1436
|
+
"name": "FungibleStakedSui",
|
1437
|
+
"typeArguments": []
|
1438
|
+
}
|
1439
|
+
}
|
1440
|
+
},
|
1441
|
+
"U64",
|
1442
|
+
{
|
1443
|
+
"MutableReference": {
|
1444
|
+
"Struct": {
|
1445
|
+
"address": "0x2",
|
1446
|
+
"module": "tx_context",
|
1447
|
+
"name": "TxContext",
|
1448
|
+
"typeArguments": []
|
1449
|
+
}
|
1450
|
+
}
|
1451
|
+
}
|
1452
|
+
],
|
1453
|
+
"return": [
|
1454
|
+
{
|
1455
|
+
"Struct": {
|
1456
|
+
"address": "0x3",
|
1457
|
+
"module": "staking_pool",
|
1458
|
+
"name": "FungibleStakedSui",
|
1459
|
+
"typeArguments": []
|
1460
|
+
}
|
1461
|
+
}
|
1462
|
+
]
|
1463
|
+
},
|
1155
1464
|
"split_staked_sui": {
|
1156
1465
|
"visibility": "Public",
|
1157
1466
|
"isEntry": true,
|
@@ -1596,6 +1905,51 @@
|
|
1596
1905
|
}
|
1597
1906
|
]
|
1598
1907
|
},
|
1908
|
+
"convert_to_fungible_staked_sui": {
|
1909
|
+
"visibility": "Public",
|
1910
|
+
"isEntry": false,
|
1911
|
+
"typeParameters": [],
|
1912
|
+
"parameters": [
|
1913
|
+
{
|
1914
|
+
"MutableReference": {
|
1915
|
+
"Struct": {
|
1916
|
+
"address": "0x3",
|
1917
|
+
"module": "sui_system",
|
1918
|
+
"name": "SuiSystemState",
|
1919
|
+
"typeArguments": []
|
1920
|
+
}
|
1921
|
+
}
|
1922
|
+
},
|
1923
|
+
{
|
1924
|
+
"Struct": {
|
1925
|
+
"address": "0x3",
|
1926
|
+
"module": "staking_pool",
|
1927
|
+
"name": "StakedSui",
|
1928
|
+
"typeArguments": []
|
1929
|
+
}
|
1930
|
+
},
|
1931
|
+
{
|
1932
|
+
"MutableReference": {
|
1933
|
+
"Struct": {
|
1934
|
+
"address": "0x2",
|
1935
|
+
"module": "tx_context",
|
1936
|
+
"name": "TxContext",
|
1937
|
+
"typeArguments": []
|
1938
|
+
}
|
1939
|
+
}
|
1940
|
+
}
|
1941
|
+
],
|
1942
|
+
"return": [
|
1943
|
+
{
|
1944
|
+
"Struct": {
|
1945
|
+
"address": "0x3",
|
1946
|
+
"module": "staking_pool",
|
1947
|
+
"name": "FungibleStakedSui",
|
1948
|
+
"typeArguments": []
|
1949
|
+
}
|
1950
|
+
}
|
1951
|
+
]
|
1952
|
+
},
|
1599
1953
|
"create": {
|
1600
1954
|
"visibility": "Friend",
|
1601
1955
|
"isEntry": false,
|
@@ -1695,23 +2049,77 @@
|
|
1695
2049
|
],
|
1696
2050
|
"return": [
|
1697
2051
|
{
|
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
|
-
}
|
2052
|
+
"Reference": {
|
2053
|
+
"Struct": {
|
2054
|
+
"address": "0x2",
|
2055
|
+
"module": "table",
|
2056
|
+
"name": "Table",
|
2057
|
+
"typeArguments": [
|
2058
|
+
"U64",
|
2059
|
+
{
|
2060
|
+
"Struct": {
|
2061
|
+
"address": "0x3",
|
2062
|
+
"module": "staking_pool",
|
2063
|
+
"name": "PoolTokenExchangeRate",
|
2064
|
+
"typeArguments": []
|
2065
|
+
}
|
2066
|
+
}
|
2067
|
+
]
|
2068
|
+
}
|
2069
|
+
}
|
2070
|
+
}
|
2071
|
+
]
|
2072
|
+
},
|
2073
|
+
"redeem_fungible_staked_sui": {
|
2074
|
+
"visibility": "Public",
|
2075
|
+
"isEntry": false,
|
2076
|
+
"typeParameters": [],
|
2077
|
+
"parameters": [
|
2078
|
+
{
|
2079
|
+
"MutableReference": {
|
2080
|
+
"Struct": {
|
2081
|
+
"address": "0x3",
|
2082
|
+
"module": "sui_system",
|
2083
|
+
"name": "SuiSystemState",
|
2084
|
+
"typeArguments": []
|
2085
|
+
}
|
2086
|
+
}
|
2087
|
+
},
|
2088
|
+
{
|
2089
|
+
"Struct": {
|
2090
|
+
"address": "0x3",
|
2091
|
+
"module": "staking_pool",
|
2092
|
+
"name": "FungibleStakedSui",
|
2093
|
+
"typeArguments": []
|
2094
|
+
}
|
2095
|
+
},
|
2096
|
+
{
|
2097
|
+
"Reference": {
|
2098
|
+
"Struct": {
|
2099
|
+
"address": "0x2",
|
2100
|
+
"module": "tx_context",
|
2101
|
+
"name": "TxContext",
|
2102
|
+
"typeArguments": []
|
2103
|
+
}
|
2104
|
+
}
|
2105
|
+
}
|
2106
|
+
],
|
2107
|
+
"return": [
|
2108
|
+
{
|
2109
|
+
"Struct": {
|
2110
|
+
"address": "0x2",
|
2111
|
+
"module": "balance",
|
2112
|
+
"name": "Balance",
|
2113
|
+
"typeArguments": [
|
2114
|
+
{
|
2115
|
+
"Struct": {
|
2116
|
+
"address": "0x2",
|
2117
|
+
"module": "sui",
|
2118
|
+
"name": "SUI",
|
2119
|
+
"typeArguments": []
|
1712
2120
|
}
|
1713
|
-
|
1714
|
-
|
2121
|
+
}
|
2122
|
+
]
|
1715
2123
|
}
|
1716
2124
|
}
|
1717
2125
|
]
|
@@ -2880,6 +3288,36 @@
|
|
2880
3288
|
}
|
2881
3289
|
],
|
2882
3290
|
"return": []
|
3291
|
+
},
|
3292
|
+
"validator_address_by_pool_id": {
|
3293
|
+
"visibility": "Public",
|
3294
|
+
"isEntry": false,
|
3295
|
+
"typeParameters": [],
|
3296
|
+
"parameters": [
|
3297
|
+
{
|
3298
|
+
"MutableReference": {
|
3299
|
+
"Struct": {
|
3300
|
+
"address": "0x3",
|
3301
|
+
"module": "sui_system",
|
3302
|
+
"name": "SuiSystemState",
|
3303
|
+
"typeArguments": []
|
3304
|
+
}
|
3305
|
+
}
|
3306
|
+
},
|
3307
|
+
{
|
3308
|
+
"Reference": {
|
3309
|
+
"Struct": {
|
3310
|
+
"address": "0x2",
|
3311
|
+
"module": "object",
|
3312
|
+
"name": "ID",
|
3313
|
+
"typeArguments": []
|
3314
|
+
}
|
3315
|
+
}
|
3316
|
+
}
|
3317
|
+
],
|
3318
|
+
"return": [
|
3319
|
+
"Address"
|
3320
|
+
]
|
2883
3321
|
}
|
2884
3322
|
}
|
2885
3323
|
},
|
@@ -3520,6 +3958,51 @@
|
|
3520
3958
|
}
|
3521
3959
|
]
|
3522
3960
|
},
|
3961
|
+
"convert_to_fungible_staked_sui": {
|
3962
|
+
"visibility": "Friend",
|
3963
|
+
"isEntry": false,
|
3964
|
+
"typeParameters": [],
|
3965
|
+
"parameters": [
|
3966
|
+
{
|
3967
|
+
"MutableReference": {
|
3968
|
+
"Struct": {
|
3969
|
+
"address": "0x3",
|
3970
|
+
"module": "sui_system_state_inner",
|
3971
|
+
"name": "SuiSystemStateInnerV2",
|
3972
|
+
"typeArguments": []
|
3973
|
+
}
|
3974
|
+
}
|
3975
|
+
},
|
3976
|
+
{
|
3977
|
+
"Struct": {
|
3978
|
+
"address": "0x3",
|
3979
|
+
"module": "staking_pool",
|
3980
|
+
"name": "StakedSui",
|
3981
|
+
"typeArguments": []
|
3982
|
+
}
|
3983
|
+
},
|
3984
|
+
{
|
3985
|
+
"MutableReference": {
|
3986
|
+
"Struct": {
|
3987
|
+
"address": "0x2",
|
3988
|
+
"module": "tx_context",
|
3989
|
+
"name": "TxContext",
|
3990
|
+
"typeArguments": []
|
3991
|
+
}
|
3992
|
+
}
|
3993
|
+
}
|
3994
|
+
],
|
3995
|
+
"return": [
|
3996
|
+
{
|
3997
|
+
"Struct": {
|
3998
|
+
"address": "0x3",
|
3999
|
+
"module": "staking_pool",
|
4000
|
+
"name": "FungibleStakedSui",
|
4001
|
+
"typeArguments": []
|
4002
|
+
}
|
4003
|
+
}
|
4004
|
+
]
|
4005
|
+
},
|
3523
4006
|
"create": {
|
3524
4007
|
"visibility": "Friend",
|
3525
4008
|
"isEntry": false,
|
@@ -3814,6 +4297,60 @@
|
|
3814
4297
|
"U64"
|
3815
4298
|
]
|
3816
4299
|
},
|
4300
|
+
"redeem_fungible_staked_sui": {
|
4301
|
+
"visibility": "Friend",
|
4302
|
+
"isEntry": false,
|
4303
|
+
"typeParameters": [],
|
4304
|
+
"parameters": [
|
4305
|
+
{
|
4306
|
+
"MutableReference": {
|
4307
|
+
"Struct": {
|
4308
|
+
"address": "0x3",
|
4309
|
+
"module": "sui_system_state_inner",
|
4310
|
+
"name": "SuiSystemStateInnerV2",
|
4311
|
+
"typeArguments": []
|
4312
|
+
}
|
4313
|
+
}
|
4314
|
+
},
|
4315
|
+
{
|
4316
|
+
"Struct": {
|
4317
|
+
"address": "0x3",
|
4318
|
+
"module": "staking_pool",
|
4319
|
+
"name": "FungibleStakedSui",
|
4320
|
+
"typeArguments": []
|
4321
|
+
}
|
4322
|
+
},
|
4323
|
+
{
|
4324
|
+
"Reference": {
|
4325
|
+
"Struct": {
|
4326
|
+
"address": "0x2",
|
4327
|
+
"module": "tx_context",
|
4328
|
+
"name": "TxContext",
|
4329
|
+
"typeArguments": []
|
4330
|
+
}
|
4331
|
+
}
|
4332
|
+
}
|
4333
|
+
],
|
4334
|
+
"return": [
|
4335
|
+
{
|
4336
|
+
"Struct": {
|
4337
|
+
"address": "0x2",
|
4338
|
+
"module": "balance",
|
4339
|
+
"name": "Balance",
|
4340
|
+
"typeArguments": [
|
4341
|
+
{
|
4342
|
+
"Struct": {
|
4343
|
+
"address": "0x2",
|
4344
|
+
"module": "sui",
|
4345
|
+
"name": "SUI",
|
4346
|
+
"typeArguments": []
|
4347
|
+
}
|
4348
|
+
}
|
4349
|
+
]
|
4350
|
+
}
|
4351
|
+
}
|
4352
|
+
]
|
4353
|
+
},
|
3817
4354
|
"report_validator": {
|
3818
4355
|
"visibility": "Friend",
|
3819
4356
|
"isEntry": false,
|
@@ -4951,6 +5488,36 @@
|
|
4951
5488
|
}
|
4952
5489
|
]
|
4953
5490
|
},
|
5491
|
+
"validator_address_by_pool_id": {
|
5492
|
+
"visibility": "Friend",
|
5493
|
+
"isEntry": false,
|
5494
|
+
"typeParameters": [],
|
5495
|
+
"parameters": [
|
5496
|
+
{
|
5497
|
+
"MutableReference": {
|
5498
|
+
"Struct": {
|
5499
|
+
"address": "0x3",
|
5500
|
+
"module": "sui_system_state_inner",
|
5501
|
+
"name": "SuiSystemStateInnerV2",
|
5502
|
+
"typeArguments": []
|
5503
|
+
}
|
5504
|
+
}
|
5505
|
+
},
|
5506
|
+
{
|
5507
|
+
"Reference": {
|
5508
|
+
"Struct": {
|
5509
|
+
"address": "0x2",
|
5510
|
+
"module": "object",
|
5511
|
+
"name": "ID",
|
5512
|
+
"typeArguments": []
|
5513
|
+
}
|
5514
|
+
}
|
5515
|
+
}
|
5516
|
+
],
|
5517
|
+
"return": [
|
5518
|
+
"Address"
|
5519
|
+
]
|
5520
|
+
},
|
4954
5521
|
"validator_stake_amount": {
|
4955
5522
|
"visibility": "Friend",
|
4956
5523
|
"isEntry": false,
|
@@ -5038,32 +5605,96 @@
|
|
5038
5605
|
}
|
5039
5606
|
}
|
5040
5607
|
]
|
5041
|
-
}
|
5042
|
-
}
|
5043
|
-
},
|
5044
|
-
"validator": {
|
5045
|
-
"fileFormatVersion": 6,
|
5046
|
-
"address": "0x3",
|
5047
|
-
"name": "validator",
|
5048
|
-
"friends": [
|
5049
|
-
{
|
5050
|
-
"address": "0x3",
|
5051
|
-
"name": "genesis"
|
5052
|
-
},
|
5053
|
-
{
|
5054
|
-
"address": "0x3",
|
5055
|
-
"name": "sui_system_state_inner"
|
5056
|
-
},
|
5057
|
-
{
|
5058
|
-
"address": "0x3",
|
5059
|
-
"name": "validator_set"
|
5608
|
+
}
|
5609
|
+
}
|
5610
|
+
},
|
5611
|
+
"validator": {
|
5612
|
+
"fileFormatVersion": 6,
|
5613
|
+
"address": "0x3",
|
5614
|
+
"name": "validator",
|
5615
|
+
"friends": [
|
5616
|
+
{
|
5617
|
+
"address": "0x3",
|
5618
|
+
"name": "genesis"
|
5619
|
+
},
|
5620
|
+
{
|
5621
|
+
"address": "0x3",
|
5622
|
+
"name": "sui_system_state_inner"
|
5623
|
+
},
|
5624
|
+
{
|
5625
|
+
"address": "0x3",
|
5626
|
+
"name": "validator_set"
|
5627
|
+
},
|
5628
|
+
{
|
5629
|
+
"address": "0x3",
|
5630
|
+
"name": "voting_power"
|
5631
|
+
}
|
5632
|
+
],
|
5633
|
+
"structs": {
|
5634
|
+
"ConvertingToFungibleStakedSuiEvent": {
|
5635
|
+
"abilities": {
|
5636
|
+
"abilities": [
|
5637
|
+
"Copy",
|
5638
|
+
"Drop"
|
5639
|
+
]
|
5640
|
+
},
|
5641
|
+
"typeParameters": [],
|
5642
|
+
"fields": [
|
5643
|
+
{
|
5644
|
+
"name": "pool_id",
|
5645
|
+
"type": {
|
5646
|
+
"Struct": {
|
5647
|
+
"address": "0x2",
|
5648
|
+
"module": "object",
|
5649
|
+
"name": "ID",
|
5650
|
+
"typeArguments": []
|
5651
|
+
}
|
5652
|
+
}
|
5653
|
+
},
|
5654
|
+
{
|
5655
|
+
"name": "stake_activation_epoch",
|
5656
|
+
"type": "U64"
|
5657
|
+
},
|
5658
|
+
{
|
5659
|
+
"name": "staked_sui_principal_amount",
|
5660
|
+
"type": "U64"
|
5661
|
+
},
|
5662
|
+
{
|
5663
|
+
"name": "fungible_staked_sui_amount",
|
5664
|
+
"type": "U64"
|
5665
|
+
}
|
5666
|
+
]
|
5667
|
+
},
|
5668
|
+
"RedeemingFungibleStakedSuiEvent": {
|
5669
|
+
"abilities": {
|
5670
|
+
"abilities": [
|
5671
|
+
"Copy",
|
5672
|
+
"Drop"
|
5673
|
+
]
|
5674
|
+
},
|
5675
|
+
"typeParameters": [],
|
5676
|
+
"fields": [
|
5677
|
+
{
|
5678
|
+
"name": "pool_id",
|
5679
|
+
"type": {
|
5680
|
+
"Struct": {
|
5681
|
+
"address": "0x2",
|
5682
|
+
"module": "object",
|
5683
|
+
"name": "ID",
|
5684
|
+
"typeArguments": []
|
5685
|
+
}
|
5686
|
+
}
|
5687
|
+
},
|
5688
|
+
{
|
5689
|
+
"name": "fungible_staked_sui_amount",
|
5690
|
+
"type": "U64"
|
5691
|
+
},
|
5692
|
+
{
|
5693
|
+
"name": "sui_amount",
|
5694
|
+
"type": "U64"
|
5695
|
+
}
|
5696
|
+
]
|
5060
5697
|
},
|
5061
|
-
{
|
5062
|
-
"address": "0x3",
|
5063
|
-
"name": "voting_power"
|
5064
|
-
}
|
5065
|
-
],
|
5066
|
-
"structs": {
|
5067
5698
|
"StakingRequestEvent": {
|
5068
5699
|
"abilities": {
|
5069
5700
|
"abilities": [
|
@@ -5562,6 +6193,51 @@
|
|
5562
6193
|
"U64"
|
5563
6194
|
]
|
5564
6195
|
},
|
6196
|
+
"convert_to_fungible_staked_sui": {
|
6197
|
+
"visibility": "Friend",
|
6198
|
+
"isEntry": false,
|
6199
|
+
"typeParameters": [],
|
6200
|
+
"parameters": [
|
6201
|
+
{
|
6202
|
+
"MutableReference": {
|
6203
|
+
"Struct": {
|
6204
|
+
"address": "0x3",
|
6205
|
+
"module": "validator",
|
6206
|
+
"name": "Validator",
|
6207
|
+
"typeArguments": []
|
6208
|
+
}
|
6209
|
+
}
|
6210
|
+
},
|
6211
|
+
{
|
6212
|
+
"Struct": {
|
6213
|
+
"address": "0x3",
|
6214
|
+
"module": "staking_pool",
|
6215
|
+
"name": "StakedSui",
|
6216
|
+
"typeArguments": []
|
6217
|
+
}
|
6218
|
+
},
|
6219
|
+
{
|
6220
|
+
"MutableReference": {
|
6221
|
+
"Struct": {
|
6222
|
+
"address": "0x2",
|
6223
|
+
"module": "tx_context",
|
6224
|
+
"name": "TxContext",
|
6225
|
+
"typeArguments": []
|
6226
|
+
}
|
6227
|
+
}
|
6228
|
+
}
|
6229
|
+
],
|
6230
|
+
"return": [
|
6231
|
+
{
|
6232
|
+
"Struct": {
|
6233
|
+
"address": "0x3",
|
6234
|
+
"module": "staking_pool",
|
6235
|
+
"name": "FungibleStakedSui",
|
6236
|
+
"typeArguments": []
|
6237
|
+
}
|
6238
|
+
}
|
6239
|
+
]
|
6240
|
+
},
|
5565
6241
|
"deactivate": {
|
5566
6242
|
"visibility": "Friend",
|
5567
6243
|
"isEntry": false,
|
@@ -6662,6 +7338,60 @@
|
|
6662
7338
|
}
|
6663
7339
|
]
|
6664
7340
|
},
|
7341
|
+
"redeem_fungible_staked_sui": {
|
7342
|
+
"visibility": "Friend",
|
7343
|
+
"isEntry": false,
|
7344
|
+
"typeParameters": [],
|
7345
|
+
"parameters": [
|
7346
|
+
{
|
7347
|
+
"MutableReference": {
|
7348
|
+
"Struct": {
|
7349
|
+
"address": "0x3",
|
7350
|
+
"module": "validator",
|
7351
|
+
"name": "Validator",
|
7352
|
+
"typeArguments": []
|
7353
|
+
}
|
7354
|
+
}
|
7355
|
+
},
|
7356
|
+
{
|
7357
|
+
"Struct": {
|
7358
|
+
"address": "0x3",
|
7359
|
+
"module": "staking_pool",
|
7360
|
+
"name": "FungibleStakedSui",
|
7361
|
+
"typeArguments": []
|
7362
|
+
}
|
7363
|
+
},
|
7364
|
+
{
|
7365
|
+
"Reference": {
|
7366
|
+
"Struct": {
|
7367
|
+
"address": "0x2",
|
7368
|
+
"module": "tx_context",
|
7369
|
+
"name": "TxContext",
|
7370
|
+
"typeArguments": []
|
7371
|
+
}
|
7372
|
+
}
|
7373
|
+
}
|
7374
|
+
],
|
7375
|
+
"return": [
|
7376
|
+
{
|
7377
|
+
"Struct": {
|
7378
|
+
"address": "0x2",
|
7379
|
+
"module": "balance",
|
7380
|
+
"name": "Balance",
|
7381
|
+
"typeArguments": [
|
7382
|
+
{
|
7383
|
+
"Struct": {
|
7384
|
+
"address": "0x2",
|
7385
|
+
"module": "sui",
|
7386
|
+
"name": "SUI",
|
7387
|
+
"typeArguments": []
|
7388
|
+
}
|
7389
|
+
}
|
7390
|
+
]
|
7391
|
+
}
|
7392
|
+
}
|
7393
|
+
]
|
7394
|
+
},
|
6665
7395
|
"request_add_stake": {
|
6666
7396
|
"visibility": "Friend",
|
6667
7397
|
"isEntry": false,
|
@@ -8211,6 +8941,51 @@
|
|
8211
8941
|
],
|
8212
8942
|
"return": []
|
8213
8943
|
},
|
8944
|
+
"convert_to_fungible_staked_sui": {
|
8945
|
+
"visibility": "Friend",
|
8946
|
+
"isEntry": false,
|
8947
|
+
"typeParameters": [],
|
8948
|
+
"parameters": [
|
8949
|
+
{
|
8950
|
+
"MutableReference": {
|
8951
|
+
"Struct": {
|
8952
|
+
"address": "0x3",
|
8953
|
+
"module": "validator_set",
|
8954
|
+
"name": "ValidatorSet",
|
8955
|
+
"typeArguments": []
|
8956
|
+
}
|
8957
|
+
}
|
8958
|
+
},
|
8959
|
+
{
|
8960
|
+
"Struct": {
|
8961
|
+
"address": "0x3",
|
8962
|
+
"module": "staking_pool",
|
8963
|
+
"name": "StakedSui",
|
8964
|
+
"typeArguments": []
|
8965
|
+
}
|
8966
|
+
},
|
8967
|
+
{
|
8968
|
+
"MutableReference": {
|
8969
|
+
"Struct": {
|
8970
|
+
"address": "0x2",
|
8971
|
+
"module": "tx_context",
|
8972
|
+
"name": "TxContext",
|
8973
|
+
"typeArguments": []
|
8974
|
+
}
|
8975
|
+
}
|
8976
|
+
}
|
8977
|
+
],
|
8978
|
+
"return": [
|
8979
|
+
{
|
8980
|
+
"Struct": {
|
8981
|
+
"address": "0x3",
|
8982
|
+
"module": "staking_pool",
|
8983
|
+
"name": "FungibleStakedSui",
|
8984
|
+
"typeArguments": []
|
8985
|
+
}
|
8986
|
+
}
|
8987
|
+
]
|
8988
|
+
},
|
8214
8989
|
"derive_reference_gas_price": {
|
8215
8990
|
"visibility": "Public",
|
8216
8991
|
"isEntry": false,
|
@@ -8680,6 +9455,60 @@
|
|
8680
9455
|
}
|
8681
9456
|
]
|
8682
9457
|
},
|
9458
|
+
"redeem_fungible_staked_sui": {
|
9459
|
+
"visibility": "Friend",
|
9460
|
+
"isEntry": false,
|
9461
|
+
"typeParameters": [],
|
9462
|
+
"parameters": [
|
9463
|
+
{
|
9464
|
+
"MutableReference": {
|
9465
|
+
"Struct": {
|
9466
|
+
"address": "0x3",
|
9467
|
+
"module": "validator_set",
|
9468
|
+
"name": "ValidatorSet",
|
9469
|
+
"typeArguments": []
|
9470
|
+
}
|
9471
|
+
}
|
9472
|
+
},
|
9473
|
+
{
|
9474
|
+
"Struct": {
|
9475
|
+
"address": "0x3",
|
9476
|
+
"module": "staking_pool",
|
9477
|
+
"name": "FungibleStakedSui",
|
9478
|
+
"typeArguments": []
|
9479
|
+
}
|
9480
|
+
},
|
9481
|
+
{
|
9482
|
+
"Reference": {
|
9483
|
+
"Struct": {
|
9484
|
+
"address": "0x2",
|
9485
|
+
"module": "tx_context",
|
9486
|
+
"name": "TxContext",
|
9487
|
+
"typeArguments": []
|
9488
|
+
}
|
9489
|
+
}
|
9490
|
+
}
|
9491
|
+
],
|
9492
|
+
"return": [
|
9493
|
+
{
|
9494
|
+
"Struct": {
|
9495
|
+
"address": "0x2",
|
9496
|
+
"module": "balance",
|
9497
|
+
"name": "Balance",
|
9498
|
+
"typeArguments": [
|
9499
|
+
{
|
9500
|
+
"Struct": {
|
9501
|
+
"address": "0x2",
|
9502
|
+
"module": "sui",
|
9503
|
+
"name": "SUI",
|
9504
|
+
"typeArguments": []
|
9505
|
+
}
|
9506
|
+
}
|
9507
|
+
]
|
9508
|
+
}
|
9509
|
+
}
|
9510
|
+
]
|
9511
|
+
},
|
8683
9512
|
"request_add_stake": {
|
8684
9513
|
"visibility": "Friend",
|
8685
9514
|
"isEntry": false,
|
@@ -9025,6 +9854,36 @@
|
|
9025
9854
|
"U64"
|
9026
9855
|
]
|
9027
9856
|
},
|
9857
|
+
"validator_address_by_pool_id": {
|
9858
|
+
"visibility": "Public",
|
9859
|
+
"isEntry": false,
|
9860
|
+
"typeParameters": [],
|
9861
|
+
"parameters": [
|
9862
|
+
{
|
9863
|
+
"MutableReference": {
|
9864
|
+
"Struct": {
|
9865
|
+
"address": "0x3",
|
9866
|
+
"module": "validator_set",
|
9867
|
+
"name": "ValidatorSet",
|
9868
|
+
"typeArguments": []
|
9869
|
+
}
|
9870
|
+
}
|
9871
|
+
},
|
9872
|
+
{
|
9873
|
+
"Reference": {
|
9874
|
+
"Struct": {
|
9875
|
+
"address": "0x2",
|
9876
|
+
"module": "object",
|
9877
|
+
"name": "ID",
|
9878
|
+
"typeArguments": []
|
9879
|
+
}
|
9880
|
+
}
|
9881
|
+
}
|
9882
|
+
],
|
9883
|
+
"return": [
|
9884
|
+
"Address"
|
9885
|
+
]
|
9886
|
+
},
|
9028
9887
|
"validator_stake_amount": {
|
9029
9888
|
"visibility": "Public",
|
9030
9889
|
"isEntry": false,
|