@sentio/sdk 2.44.2 → 2.44.3-rc.10
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 +5 -4
- package/lib/aptos/aptos-processor.d.ts.map +1 -1
- package/lib/aptos/aptos-processor.js +13 -6
- package/lib/aptos/aptos-processor.js.map +1 -1
- package/lib/aptos/builtin/0x1.d.ts +48 -0
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +45 -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/aptos/index.d.ts +2 -1
- package/lib/aptos/index.d.ts.map +1 -1
- package/lib/aptos/index.js.map +1 -1
- package/lib/core/event-logger.d.ts.map +1 -1
- package/lib/core/event-logger.js +2 -1
- package/lib/core/event-logger.js.map +1 -1
- package/lib/core/meter.d.ts.map +1 -1
- package/lib/core/meter.js +3 -1
- package/lib/core/meter.js.map +1 -1
- package/lib/eth/codegen/codegen.js +4 -5
- package/lib/eth/codegen/codegen.js.map +1 -1
- package/lib/eth/context.d.ts.map +1 -1
- package/lib/eth/context.js +9 -1
- package/lib/eth/context.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/fuel/codegen/codegen.js +2 -2
- package/lib/fuel/codegen/codegen.js.map +1 -1
- package/lib/solana/builtin/types.d.ts +170 -170
- package/lib/solana/builtin/types.d.ts.map +1 -1
- package/lib/solana/builtin/types.js +1 -1
- package/lib/solana/builtin/types.js.map +1 -1
- package/lib/stark/codegen/codegen.js +2 -2
- package/lib/stark/codegen/codegen.js.map +1 -1
- package/lib/store/codegen.js +2 -2
- package/lib/store/codegen.js.map +1 -1
- package/lib/sui/builtin/0x1.d.ts +19 -0
- package/lib/sui/builtin/0x1.d.ts.map +1 -1
- package/lib/sui/builtin/0x1.js +28 -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/lib/utils/price.d.ts.map +1 -1
- package/lib/utils/price.js +2 -1
- package/lib/utils/price.js.map +1 -1
- package/package.json +11 -15
- package/src/aptos/abis/0x1.json +638 -20
- package/src/aptos/abis/0x3.json +60 -0
- package/src/aptos/abis/0x4.json +139 -2
- package/src/aptos/aptos-processor.ts +21 -15
- package/src/aptos/builtin/0x1.ts +141 -1
- package/src/aptos/builtin/0x3.ts +1 -1
- package/src/aptos/builtin/0x4.ts +1 -1
- package/src/aptos/index.ts +2 -6
- package/src/core/event-logger.ts +2 -1
- package/src/core/meter.ts +3 -1
- package/src/eth/builtin/internal/eacaggregatorproxy-processor.ts +204 -204
- package/src/eth/builtin/internal/eacaggregatorproxy-test-utils.ts +12 -12
- package/src/eth/builtin/internal/erc1155-processor.ts +95 -95
- package/src/eth/builtin/internal/erc1155-test-utils.ts +8 -8
- package/src/eth/builtin/internal/erc20-processor.ts +140 -140
- package/src/eth/builtin/internal/erc20-test-utils.ts +6 -6
- package/src/eth/builtin/internal/erc20bytes-processor.ts +80 -80
- package/src/eth/builtin/internal/erc20bytes-test-utils.ts +4 -4
- package/src/eth/builtin/internal/erc721-processor.ts +133 -133
- package/src/eth/builtin/internal/erc721-test-utils.ts +6 -6
- package/src/eth/builtin/internal/factories/EACAggregatorProxy__factory.ts +1 -1
- package/src/eth/builtin/internal/factories/ERC1155__factory.ts +1 -1
- package/src/eth/builtin/internal/factories/ERC20Bytes__factory.ts +1 -1
- package/src/eth/builtin/internal/weth9-processor.ts +97 -97
- package/src/eth/builtin/internal/weth9-test-utils.ts +8 -8
- package/src/eth/codegen/codegen.ts +5 -5
- package/src/eth/context.ts +9 -1
- package/src/fuel/asset-processor.ts +3 -1
- package/src/fuel/codegen/codegen.ts +2 -2
- package/src/solana/builtin/types.ts +1 -1
- package/src/stark/codegen/codegen.ts +2 -2
- package/src/store/codegen.ts +2 -2
- package/src/sui/abis/0x1.json +975 -85
- package/src/sui/abis/0x3.json +920 -41
- package/src/sui/builtin/0x1.ts +44 -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/utils/price.ts +2 -1
package/src/sui/abis/0x3.json
CHANGED
@@ -392,6 +392,26 @@
|
|
392
392
|
"return": [
|
393
393
|
"U64"
|
394
394
|
]
|
395
|
+
},
|
396
|
+
"get_distribution_counter": {
|
397
|
+
"visibility": "Friend",
|
398
|
+
"isEntry": false,
|
399
|
+
"typeParameters": [],
|
400
|
+
"parameters": [
|
401
|
+
{
|
402
|
+
"Reference": {
|
403
|
+
"Struct": {
|
404
|
+
"address": "0x3",
|
405
|
+
"module": "stake_subsidy",
|
406
|
+
"name": "StakeSubsidy",
|
407
|
+
"typeArguments": []
|
408
|
+
}
|
409
|
+
}
|
410
|
+
}
|
411
|
+
],
|
412
|
+
"return": [
|
413
|
+
"U64"
|
414
|
+
]
|
395
415
|
}
|
396
416
|
}
|
397
417
|
},
|
@@ -410,6 +430,105 @@
|
|
410
430
|
}
|
411
431
|
],
|
412
432
|
"structs": {
|
433
|
+
"FungibleStakedSui": {
|
434
|
+
"abilities": {
|
435
|
+
"abilities": [
|
436
|
+
"Store",
|
437
|
+
"Key"
|
438
|
+
]
|
439
|
+
},
|
440
|
+
"typeParameters": [],
|
441
|
+
"fields": [
|
442
|
+
{
|
443
|
+
"name": "id",
|
444
|
+
"type": {
|
445
|
+
"Struct": {
|
446
|
+
"address": "0x2",
|
447
|
+
"module": "object",
|
448
|
+
"name": "UID",
|
449
|
+
"typeArguments": []
|
450
|
+
}
|
451
|
+
}
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"name": "pool_id",
|
455
|
+
"type": {
|
456
|
+
"Struct": {
|
457
|
+
"address": "0x2",
|
458
|
+
"module": "object",
|
459
|
+
"name": "ID",
|
460
|
+
"typeArguments": []
|
461
|
+
}
|
462
|
+
}
|
463
|
+
},
|
464
|
+
{
|
465
|
+
"name": "value",
|
466
|
+
"type": "U64"
|
467
|
+
}
|
468
|
+
]
|
469
|
+
},
|
470
|
+
"FungibleStakedSuiData": {
|
471
|
+
"abilities": {
|
472
|
+
"abilities": [
|
473
|
+
"Store",
|
474
|
+
"Key"
|
475
|
+
]
|
476
|
+
},
|
477
|
+
"typeParameters": [],
|
478
|
+
"fields": [
|
479
|
+
{
|
480
|
+
"name": "id",
|
481
|
+
"type": {
|
482
|
+
"Struct": {
|
483
|
+
"address": "0x2",
|
484
|
+
"module": "object",
|
485
|
+
"name": "UID",
|
486
|
+
"typeArguments": []
|
487
|
+
}
|
488
|
+
}
|
489
|
+
},
|
490
|
+
{
|
491
|
+
"name": "total_supply",
|
492
|
+
"type": "U64"
|
493
|
+
},
|
494
|
+
{
|
495
|
+
"name": "principal",
|
496
|
+
"type": {
|
497
|
+
"Struct": {
|
498
|
+
"address": "0x2",
|
499
|
+
"module": "balance",
|
500
|
+
"name": "Balance",
|
501
|
+
"typeArguments": [
|
502
|
+
{
|
503
|
+
"Struct": {
|
504
|
+
"address": "0x2",
|
505
|
+
"module": "sui",
|
506
|
+
"name": "SUI",
|
507
|
+
"typeArguments": []
|
508
|
+
}
|
509
|
+
}
|
510
|
+
]
|
511
|
+
}
|
512
|
+
}
|
513
|
+
}
|
514
|
+
]
|
515
|
+
},
|
516
|
+
"FungibleStakedSuiDataKey": {
|
517
|
+
"abilities": {
|
518
|
+
"abilities": [
|
519
|
+
"Copy",
|
520
|
+
"Drop",
|
521
|
+
"Store"
|
522
|
+
]
|
523
|
+
},
|
524
|
+
"typeParameters": [],
|
525
|
+
"fields": [
|
526
|
+
{
|
527
|
+
"name": "dummy_field",
|
528
|
+
"type": "Bool"
|
529
|
+
}
|
530
|
+
]
|
531
|
+
},
|
413
532
|
"PoolTokenExchangeRate": {
|
414
533
|
"abilities": {
|
415
534
|
"abilities": [
|
@@ -628,6 +747,51 @@
|
|
628
747
|
],
|
629
748
|
"return": []
|
630
749
|
},
|
750
|
+
"convert_to_fungible_staked_sui": {
|
751
|
+
"visibility": "Friend",
|
752
|
+
"isEntry": false,
|
753
|
+
"typeParameters": [],
|
754
|
+
"parameters": [
|
755
|
+
{
|
756
|
+
"MutableReference": {
|
757
|
+
"Struct": {
|
758
|
+
"address": "0x3",
|
759
|
+
"module": "staking_pool",
|
760
|
+
"name": "StakingPool",
|
761
|
+
"typeArguments": []
|
762
|
+
}
|
763
|
+
}
|
764
|
+
},
|
765
|
+
{
|
766
|
+
"Struct": {
|
767
|
+
"address": "0x3",
|
768
|
+
"module": "staking_pool",
|
769
|
+
"name": "StakedSui",
|
770
|
+
"typeArguments": []
|
771
|
+
}
|
772
|
+
},
|
773
|
+
{
|
774
|
+
"MutableReference": {
|
775
|
+
"Struct": {
|
776
|
+
"address": "0x2",
|
777
|
+
"module": "tx_context",
|
778
|
+
"name": "TxContext",
|
779
|
+
"typeArguments": []
|
780
|
+
}
|
781
|
+
}
|
782
|
+
}
|
783
|
+
],
|
784
|
+
"return": [
|
785
|
+
{
|
786
|
+
"Struct": {
|
787
|
+
"address": "0x3",
|
788
|
+
"module": "staking_pool",
|
789
|
+
"name": "FungibleStakedSui",
|
790
|
+
"typeArguments": []
|
791
|
+
}
|
792
|
+
}
|
793
|
+
]
|
794
|
+
},
|
631
795
|
"deactivate_staking_pool": {
|
632
796
|
"visibility": "Friend",
|
633
797
|
"isEntry": false,
|
@@ -721,6 +885,53 @@
|
|
721
885
|
}
|
722
886
|
]
|
723
887
|
},
|
888
|
+
"fungible_staked_sui_pool_id": {
|
889
|
+
"visibility": "Public",
|
890
|
+
"isEntry": false,
|
891
|
+
"typeParameters": [],
|
892
|
+
"parameters": [
|
893
|
+
{
|
894
|
+
"Reference": {
|
895
|
+
"Struct": {
|
896
|
+
"address": "0x3",
|
897
|
+
"module": "staking_pool",
|
898
|
+
"name": "FungibleStakedSui",
|
899
|
+
"typeArguments": []
|
900
|
+
}
|
901
|
+
}
|
902
|
+
}
|
903
|
+
],
|
904
|
+
"return": [
|
905
|
+
{
|
906
|
+
"Struct": {
|
907
|
+
"address": "0x2",
|
908
|
+
"module": "object",
|
909
|
+
"name": "ID",
|
910
|
+
"typeArguments": []
|
911
|
+
}
|
912
|
+
}
|
913
|
+
]
|
914
|
+
},
|
915
|
+
"fungible_staked_sui_value": {
|
916
|
+
"visibility": "Public",
|
917
|
+
"isEntry": false,
|
918
|
+
"typeParameters": [],
|
919
|
+
"parameters": [
|
920
|
+
{
|
921
|
+
"Reference": {
|
922
|
+
"Struct": {
|
923
|
+
"address": "0x3",
|
924
|
+
"module": "staking_pool",
|
925
|
+
"name": "FungibleStakedSui",
|
926
|
+
"typeArguments": []
|
927
|
+
}
|
928
|
+
}
|
929
|
+
}
|
930
|
+
],
|
931
|
+
"return": [
|
932
|
+
"U64"
|
933
|
+
]
|
934
|
+
},
|
724
935
|
"is_equal_staking_metadata": {
|
725
936
|
"visibility": "Public",
|
726
937
|
"isEntry": false,
|
@@ -791,6 +1002,32 @@
|
|
791
1002
|
"Bool"
|
792
1003
|
]
|
793
1004
|
},
|
1005
|
+
"join_fungible_staked_sui": {
|
1006
|
+
"visibility": "Public",
|
1007
|
+
"isEntry": false,
|
1008
|
+
"typeParameters": [],
|
1009
|
+
"parameters": [
|
1010
|
+
{
|
1011
|
+
"MutableReference": {
|
1012
|
+
"Struct": {
|
1013
|
+
"address": "0x3",
|
1014
|
+
"module": "staking_pool",
|
1015
|
+
"name": "FungibleStakedSui",
|
1016
|
+
"typeArguments": []
|
1017
|
+
}
|
1018
|
+
}
|
1019
|
+
},
|
1020
|
+
{
|
1021
|
+
"Struct": {
|
1022
|
+
"address": "0x3",
|
1023
|
+
"module": "staking_pool",
|
1024
|
+
"name": "FungibleStakedSui",
|
1025
|
+
"typeArguments": []
|
1026
|
+
}
|
1027
|
+
}
|
1028
|
+
],
|
1029
|
+
"return": []
|
1030
|
+
},
|
794
1031
|
"join_staked_sui": {
|
795
1032
|
"visibility": "Public",
|
796
1033
|
"isEntry": true,
|
@@ -1005,6 +1242,60 @@
|
|
1005
1242
|
],
|
1006
1243
|
"return": []
|
1007
1244
|
},
|
1245
|
+
"redeem_fungible_staked_sui": {
|
1246
|
+
"visibility": "Friend",
|
1247
|
+
"isEntry": false,
|
1248
|
+
"typeParameters": [],
|
1249
|
+
"parameters": [
|
1250
|
+
{
|
1251
|
+
"MutableReference": {
|
1252
|
+
"Struct": {
|
1253
|
+
"address": "0x3",
|
1254
|
+
"module": "staking_pool",
|
1255
|
+
"name": "StakingPool",
|
1256
|
+
"typeArguments": []
|
1257
|
+
}
|
1258
|
+
}
|
1259
|
+
},
|
1260
|
+
{
|
1261
|
+
"Struct": {
|
1262
|
+
"address": "0x3",
|
1263
|
+
"module": "staking_pool",
|
1264
|
+
"name": "FungibleStakedSui",
|
1265
|
+
"typeArguments": []
|
1266
|
+
}
|
1267
|
+
},
|
1268
|
+
{
|
1269
|
+
"Reference": {
|
1270
|
+
"Struct": {
|
1271
|
+
"address": "0x2",
|
1272
|
+
"module": "tx_context",
|
1273
|
+
"name": "TxContext",
|
1274
|
+
"typeArguments": []
|
1275
|
+
}
|
1276
|
+
}
|
1277
|
+
}
|
1278
|
+
],
|
1279
|
+
"return": [
|
1280
|
+
{
|
1281
|
+
"Struct": {
|
1282
|
+
"address": "0x2",
|
1283
|
+
"module": "balance",
|
1284
|
+
"name": "Balance",
|
1285
|
+
"typeArguments": [
|
1286
|
+
{
|
1287
|
+
"Struct": {
|
1288
|
+
"address": "0x2",
|
1289
|
+
"module": "sui",
|
1290
|
+
"name": "SUI",
|
1291
|
+
"typeArguments": []
|
1292
|
+
}
|
1293
|
+
}
|
1294
|
+
]
|
1295
|
+
}
|
1296
|
+
}
|
1297
|
+
]
|
1298
|
+
},
|
1008
1299
|
"request_add_stake": {
|
1009
1300
|
"visibility": "Friend",
|
1010
1301
|
"isEntry": false,
|
@@ -1152,6 +1443,44 @@
|
|
1152
1443
|
}
|
1153
1444
|
]
|
1154
1445
|
},
|
1446
|
+
"split_fungible_staked_sui": {
|
1447
|
+
"visibility": "Public",
|
1448
|
+
"isEntry": false,
|
1449
|
+
"typeParameters": [],
|
1450
|
+
"parameters": [
|
1451
|
+
{
|
1452
|
+
"MutableReference": {
|
1453
|
+
"Struct": {
|
1454
|
+
"address": "0x3",
|
1455
|
+
"module": "staking_pool",
|
1456
|
+
"name": "FungibleStakedSui",
|
1457
|
+
"typeArguments": []
|
1458
|
+
}
|
1459
|
+
}
|
1460
|
+
},
|
1461
|
+
"U64",
|
1462
|
+
{
|
1463
|
+
"MutableReference": {
|
1464
|
+
"Struct": {
|
1465
|
+
"address": "0x2",
|
1466
|
+
"module": "tx_context",
|
1467
|
+
"name": "TxContext",
|
1468
|
+
"typeArguments": []
|
1469
|
+
}
|
1470
|
+
}
|
1471
|
+
}
|
1472
|
+
],
|
1473
|
+
"return": [
|
1474
|
+
{
|
1475
|
+
"Struct": {
|
1476
|
+
"address": "0x3",
|
1477
|
+
"module": "staking_pool",
|
1478
|
+
"name": "FungibleStakedSui",
|
1479
|
+
"typeArguments": []
|
1480
|
+
}
|
1481
|
+
}
|
1482
|
+
]
|
1483
|
+
},
|
1155
1484
|
"split_staked_sui": {
|
1156
1485
|
"visibility": "Public",
|
1157
1486
|
"isEntry": true,
|
@@ -1596,6 +1925,51 @@
|
|
1596
1925
|
}
|
1597
1926
|
]
|
1598
1927
|
},
|
1928
|
+
"convert_to_fungible_staked_sui": {
|
1929
|
+
"visibility": "Public",
|
1930
|
+
"isEntry": false,
|
1931
|
+
"typeParameters": [],
|
1932
|
+
"parameters": [
|
1933
|
+
{
|
1934
|
+
"MutableReference": {
|
1935
|
+
"Struct": {
|
1936
|
+
"address": "0x3",
|
1937
|
+
"module": "sui_system",
|
1938
|
+
"name": "SuiSystemState",
|
1939
|
+
"typeArguments": []
|
1940
|
+
}
|
1941
|
+
}
|
1942
|
+
},
|
1943
|
+
{
|
1944
|
+
"Struct": {
|
1945
|
+
"address": "0x3",
|
1946
|
+
"module": "staking_pool",
|
1947
|
+
"name": "StakedSui",
|
1948
|
+
"typeArguments": []
|
1949
|
+
}
|
1950
|
+
},
|
1951
|
+
{
|
1952
|
+
"MutableReference": {
|
1953
|
+
"Struct": {
|
1954
|
+
"address": "0x2",
|
1955
|
+
"module": "tx_context",
|
1956
|
+
"name": "TxContext",
|
1957
|
+
"typeArguments": []
|
1958
|
+
}
|
1959
|
+
}
|
1960
|
+
}
|
1961
|
+
],
|
1962
|
+
"return": [
|
1963
|
+
{
|
1964
|
+
"Struct": {
|
1965
|
+
"address": "0x3",
|
1966
|
+
"module": "staking_pool",
|
1967
|
+
"name": "FungibleStakedSui",
|
1968
|
+
"typeArguments": []
|
1969
|
+
}
|
1970
|
+
}
|
1971
|
+
]
|
1972
|
+
},
|
1599
1973
|
"create": {
|
1600
1974
|
"visibility": "Friend",
|
1601
1975
|
"isEntry": false,
|
@@ -1695,23 +2069,77 @@
|
|
1695
2069
|
],
|
1696
2070
|
"return": [
|
1697
2071
|
{
|
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
|
-
}
|
2072
|
+
"Reference": {
|
2073
|
+
"Struct": {
|
2074
|
+
"address": "0x2",
|
2075
|
+
"module": "table",
|
2076
|
+
"name": "Table",
|
2077
|
+
"typeArguments": [
|
2078
|
+
"U64",
|
2079
|
+
{
|
2080
|
+
"Struct": {
|
2081
|
+
"address": "0x3",
|
2082
|
+
"module": "staking_pool",
|
2083
|
+
"name": "PoolTokenExchangeRate",
|
2084
|
+
"typeArguments": []
|
2085
|
+
}
|
2086
|
+
}
|
2087
|
+
]
|
2088
|
+
}
|
2089
|
+
}
|
2090
|
+
}
|
2091
|
+
]
|
2092
|
+
},
|
2093
|
+
"redeem_fungible_staked_sui": {
|
2094
|
+
"visibility": "Public",
|
2095
|
+
"isEntry": false,
|
2096
|
+
"typeParameters": [],
|
2097
|
+
"parameters": [
|
2098
|
+
{
|
2099
|
+
"MutableReference": {
|
2100
|
+
"Struct": {
|
2101
|
+
"address": "0x3",
|
2102
|
+
"module": "sui_system",
|
2103
|
+
"name": "SuiSystemState",
|
2104
|
+
"typeArguments": []
|
2105
|
+
}
|
2106
|
+
}
|
2107
|
+
},
|
2108
|
+
{
|
2109
|
+
"Struct": {
|
2110
|
+
"address": "0x3",
|
2111
|
+
"module": "staking_pool",
|
2112
|
+
"name": "FungibleStakedSui",
|
2113
|
+
"typeArguments": []
|
2114
|
+
}
|
2115
|
+
},
|
2116
|
+
{
|
2117
|
+
"Reference": {
|
2118
|
+
"Struct": {
|
2119
|
+
"address": "0x2",
|
2120
|
+
"module": "tx_context",
|
2121
|
+
"name": "TxContext",
|
2122
|
+
"typeArguments": []
|
2123
|
+
}
|
2124
|
+
}
|
2125
|
+
}
|
2126
|
+
],
|
2127
|
+
"return": [
|
2128
|
+
{
|
2129
|
+
"Struct": {
|
2130
|
+
"address": "0x2",
|
2131
|
+
"module": "balance",
|
2132
|
+
"name": "Balance",
|
2133
|
+
"typeArguments": [
|
2134
|
+
{
|
2135
|
+
"Struct": {
|
2136
|
+
"address": "0x2",
|
2137
|
+
"module": "sui",
|
2138
|
+
"name": "SUI",
|
2139
|
+
"typeArguments": []
|
1712
2140
|
}
|
1713
|
-
|
1714
|
-
|
2141
|
+
}
|
2142
|
+
]
|
1715
2143
|
}
|
1716
2144
|
}
|
1717
2145
|
]
|
@@ -2880,6 +3308,36 @@
|
|
2880
3308
|
}
|
2881
3309
|
],
|
2882
3310
|
"return": []
|
3311
|
+
},
|
3312
|
+
"validator_address_by_pool_id": {
|
3313
|
+
"visibility": "Public",
|
3314
|
+
"isEntry": false,
|
3315
|
+
"typeParameters": [],
|
3316
|
+
"parameters": [
|
3317
|
+
{
|
3318
|
+
"MutableReference": {
|
3319
|
+
"Struct": {
|
3320
|
+
"address": "0x3",
|
3321
|
+
"module": "sui_system",
|
3322
|
+
"name": "SuiSystemState",
|
3323
|
+
"typeArguments": []
|
3324
|
+
}
|
3325
|
+
}
|
3326
|
+
},
|
3327
|
+
{
|
3328
|
+
"Reference": {
|
3329
|
+
"Struct": {
|
3330
|
+
"address": "0x2",
|
3331
|
+
"module": "object",
|
3332
|
+
"name": "ID",
|
3333
|
+
"typeArguments": []
|
3334
|
+
}
|
3335
|
+
}
|
3336
|
+
}
|
3337
|
+
],
|
3338
|
+
"return": [
|
3339
|
+
"Address"
|
3340
|
+
]
|
2883
3341
|
}
|
2884
3342
|
}
|
2885
3343
|
},
|
@@ -3520,6 +3978,51 @@
|
|
3520
3978
|
}
|
3521
3979
|
]
|
3522
3980
|
},
|
3981
|
+
"convert_to_fungible_staked_sui": {
|
3982
|
+
"visibility": "Friend",
|
3983
|
+
"isEntry": false,
|
3984
|
+
"typeParameters": [],
|
3985
|
+
"parameters": [
|
3986
|
+
{
|
3987
|
+
"MutableReference": {
|
3988
|
+
"Struct": {
|
3989
|
+
"address": "0x3",
|
3990
|
+
"module": "sui_system_state_inner",
|
3991
|
+
"name": "SuiSystemStateInnerV2",
|
3992
|
+
"typeArguments": []
|
3993
|
+
}
|
3994
|
+
}
|
3995
|
+
},
|
3996
|
+
{
|
3997
|
+
"Struct": {
|
3998
|
+
"address": "0x3",
|
3999
|
+
"module": "staking_pool",
|
4000
|
+
"name": "StakedSui",
|
4001
|
+
"typeArguments": []
|
4002
|
+
}
|
4003
|
+
},
|
4004
|
+
{
|
4005
|
+
"MutableReference": {
|
4006
|
+
"Struct": {
|
4007
|
+
"address": "0x2",
|
4008
|
+
"module": "tx_context",
|
4009
|
+
"name": "TxContext",
|
4010
|
+
"typeArguments": []
|
4011
|
+
}
|
4012
|
+
}
|
4013
|
+
}
|
4014
|
+
],
|
4015
|
+
"return": [
|
4016
|
+
{
|
4017
|
+
"Struct": {
|
4018
|
+
"address": "0x3",
|
4019
|
+
"module": "staking_pool",
|
4020
|
+
"name": "FungibleStakedSui",
|
4021
|
+
"typeArguments": []
|
4022
|
+
}
|
4023
|
+
}
|
4024
|
+
]
|
4025
|
+
},
|
3523
4026
|
"create": {
|
3524
4027
|
"visibility": "Friend",
|
3525
4028
|
"isEntry": false,
|
@@ -3814,6 +4317,60 @@
|
|
3814
4317
|
"U64"
|
3815
4318
|
]
|
3816
4319
|
},
|
4320
|
+
"redeem_fungible_staked_sui": {
|
4321
|
+
"visibility": "Friend",
|
4322
|
+
"isEntry": false,
|
4323
|
+
"typeParameters": [],
|
4324
|
+
"parameters": [
|
4325
|
+
{
|
4326
|
+
"MutableReference": {
|
4327
|
+
"Struct": {
|
4328
|
+
"address": "0x3",
|
4329
|
+
"module": "sui_system_state_inner",
|
4330
|
+
"name": "SuiSystemStateInnerV2",
|
4331
|
+
"typeArguments": []
|
4332
|
+
}
|
4333
|
+
}
|
4334
|
+
},
|
4335
|
+
{
|
4336
|
+
"Struct": {
|
4337
|
+
"address": "0x3",
|
4338
|
+
"module": "staking_pool",
|
4339
|
+
"name": "FungibleStakedSui",
|
4340
|
+
"typeArguments": []
|
4341
|
+
}
|
4342
|
+
},
|
4343
|
+
{
|
4344
|
+
"Reference": {
|
4345
|
+
"Struct": {
|
4346
|
+
"address": "0x2",
|
4347
|
+
"module": "tx_context",
|
4348
|
+
"name": "TxContext",
|
4349
|
+
"typeArguments": []
|
4350
|
+
}
|
4351
|
+
}
|
4352
|
+
}
|
4353
|
+
],
|
4354
|
+
"return": [
|
4355
|
+
{
|
4356
|
+
"Struct": {
|
4357
|
+
"address": "0x2",
|
4358
|
+
"module": "balance",
|
4359
|
+
"name": "Balance",
|
4360
|
+
"typeArguments": [
|
4361
|
+
{
|
4362
|
+
"Struct": {
|
4363
|
+
"address": "0x2",
|
4364
|
+
"module": "sui",
|
4365
|
+
"name": "SUI",
|
4366
|
+
"typeArguments": []
|
4367
|
+
}
|
4368
|
+
}
|
4369
|
+
]
|
4370
|
+
}
|
4371
|
+
}
|
4372
|
+
]
|
4373
|
+
},
|
3817
4374
|
"report_validator": {
|
3818
4375
|
"visibility": "Friend",
|
3819
4376
|
"isEntry": false,
|
@@ -4951,6 +5508,36 @@
|
|
4951
5508
|
}
|
4952
5509
|
]
|
4953
5510
|
},
|
5511
|
+
"validator_address_by_pool_id": {
|
5512
|
+
"visibility": "Friend",
|
5513
|
+
"isEntry": false,
|
5514
|
+
"typeParameters": [],
|
5515
|
+
"parameters": [
|
5516
|
+
{
|
5517
|
+
"MutableReference": {
|
5518
|
+
"Struct": {
|
5519
|
+
"address": "0x3",
|
5520
|
+
"module": "sui_system_state_inner",
|
5521
|
+
"name": "SuiSystemStateInnerV2",
|
5522
|
+
"typeArguments": []
|
5523
|
+
}
|
5524
|
+
}
|
5525
|
+
},
|
5526
|
+
{
|
5527
|
+
"Reference": {
|
5528
|
+
"Struct": {
|
5529
|
+
"address": "0x2",
|
5530
|
+
"module": "object",
|
5531
|
+
"name": "ID",
|
5532
|
+
"typeArguments": []
|
5533
|
+
}
|
5534
|
+
}
|
5535
|
+
}
|
5536
|
+
],
|
5537
|
+
"return": [
|
5538
|
+
"Address"
|
5539
|
+
]
|
5540
|
+
},
|
4954
5541
|
"validator_stake_amount": {
|
4955
5542
|
"visibility": "Friend",
|
4956
5543
|
"isEntry": false,
|
@@ -5038,32 +5625,96 @@
|
|
5038
5625
|
}
|
5039
5626
|
}
|
5040
5627
|
]
|
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"
|
5628
|
+
}
|
5629
|
+
}
|
5630
|
+
},
|
5631
|
+
"validator": {
|
5632
|
+
"fileFormatVersion": 6,
|
5633
|
+
"address": "0x3",
|
5634
|
+
"name": "validator",
|
5635
|
+
"friends": [
|
5636
|
+
{
|
5637
|
+
"address": "0x3",
|
5638
|
+
"name": "genesis"
|
5639
|
+
},
|
5640
|
+
{
|
5641
|
+
"address": "0x3",
|
5642
|
+
"name": "sui_system_state_inner"
|
5643
|
+
},
|
5644
|
+
{
|
5645
|
+
"address": "0x3",
|
5646
|
+
"name": "validator_set"
|
5647
|
+
},
|
5648
|
+
{
|
5649
|
+
"address": "0x3",
|
5650
|
+
"name": "voting_power"
|
5651
|
+
}
|
5652
|
+
],
|
5653
|
+
"structs": {
|
5654
|
+
"ConvertingToFungibleStakedSuiEvent": {
|
5655
|
+
"abilities": {
|
5656
|
+
"abilities": [
|
5657
|
+
"Copy",
|
5658
|
+
"Drop"
|
5659
|
+
]
|
5660
|
+
},
|
5661
|
+
"typeParameters": [],
|
5662
|
+
"fields": [
|
5663
|
+
{
|
5664
|
+
"name": "pool_id",
|
5665
|
+
"type": {
|
5666
|
+
"Struct": {
|
5667
|
+
"address": "0x2",
|
5668
|
+
"module": "object",
|
5669
|
+
"name": "ID",
|
5670
|
+
"typeArguments": []
|
5671
|
+
}
|
5672
|
+
}
|
5673
|
+
},
|
5674
|
+
{
|
5675
|
+
"name": "stake_activation_epoch",
|
5676
|
+
"type": "U64"
|
5677
|
+
},
|
5678
|
+
{
|
5679
|
+
"name": "staked_sui_principal_amount",
|
5680
|
+
"type": "U64"
|
5681
|
+
},
|
5682
|
+
{
|
5683
|
+
"name": "fungible_staked_sui_amount",
|
5684
|
+
"type": "U64"
|
5685
|
+
}
|
5686
|
+
]
|
5687
|
+
},
|
5688
|
+
"RedeemingFungibleStakedSuiEvent": {
|
5689
|
+
"abilities": {
|
5690
|
+
"abilities": [
|
5691
|
+
"Copy",
|
5692
|
+
"Drop"
|
5693
|
+
]
|
5694
|
+
},
|
5695
|
+
"typeParameters": [],
|
5696
|
+
"fields": [
|
5697
|
+
{
|
5698
|
+
"name": "pool_id",
|
5699
|
+
"type": {
|
5700
|
+
"Struct": {
|
5701
|
+
"address": "0x2",
|
5702
|
+
"module": "object",
|
5703
|
+
"name": "ID",
|
5704
|
+
"typeArguments": []
|
5705
|
+
}
|
5706
|
+
}
|
5707
|
+
},
|
5708
|
+
{
|
5709
|
+
"name": "fungible_staked_sui_amount",
|
5710
|
+
"type": "U64"
|
5711
|
+
},
|
5712
|
+
{
|
5713
|
+
"name": "sui_amount",
|
5714
|
+
"type": "U64"
|
5715
|
+
}
|
5716
|
+
]
|
5060
5717
|
},
|
5061
|
-
{
|
5062
|
-
"address": "0x3",
|
5063
|
-
"name": "voting_power"
|
5064
|
-
}
|
5065
|
-
],
|
5066
|
-
"structs": {
|
5067
5718
|
"StakingRequestEvent": {
|
5068
5719
|
"abilities": {
|
5069
5720
|
"abilities": [
|
@@ -5562,6 +6213,51 @@
|
|
5562
6213
|
"U64"
|
5563
6214
|
]
|
5564
6215
|
},
|
6216
|
+
"convert_to_fungible_staked_sui": {
|
6217
|
+
"visibility": "Friend",
|
6218
|
+
"isEntry": false,
|
6219
|
+
"typeParameters": [],
|
6220
|
+
"parameters": [
|
6221
|
+
{
|
6222
|
+
"MutableReference": {
|
6223
|
+
"Struct": {
|
6224
|
+
"address": "0x3",
|
6225
|
+
"module": "validator",
|
6226
|
+
"name": "Validator",
|
6227
|
+
"typeArguments": []
|
6228
|
+
}
|
6229
|
+
}
|
6230
|
+
},
|
6231
|
+
{
|
6232
|
+
"Struct": {
|
6233
|
+
"address": "0x3",
|
6234
|
+
"module": "staking_pool",
|
6235
|
+
"name": "StakedSui",
|
6236
|
+
"typeArguments": []
|
6237
|
+
}
|
6238
|
+
},
|
6239
|
+
{
|
6240
|
+
"MutableReference": {
|
6241
|
+
"Struct": {
|
6242
|
+
"address": "0x2",
|
6243
|
+
"module": "tx_context",
|
6244
|
+
"name": "TxContext",
|
6245
|
+
"typeArguments": []
|
6246
|
+
}
|
6247
|
+
}
|
6248
|
+
}
|
6249
|
+
],
|
6250
|
+
"return": [
|
6251
|
+
{
|
6252
|
+
"Struct": {
|
6253
|
+
"address": "0x3",
|
6254
|
+
"module": "staking_pool",
|
6255
|
+
"name": "FungibleStakedSui",
|
6256
|
+
"typeArguments": []
|
6257
|
+
}
|
6258
|
+
}
|
6259
|
+
]
|
6260
|
+
},
|
5565
6261
|
"deactivate": {
|
5566
6262
|
"visibility": "Friend",
|
5567
6263
|
"isEntry": false,
|
@@ -6662,6 +7358,60 @@
|
|
6662
7358
|
}
|
6663
7359
|
]
|
6664
7360
|
},
|
7361
|
+
"redeem_fungible_staked_sui": {
|
7362
|
+
"visibility": "Friend",
|
7363
|
+
"isEntry": false,
|
7364
|
+
"typeParameters": [],
|
7365
|
+
"parameters": [
|
7366
|
+
{
|
7367
|
+
"MutableReference": {
|
7368
|
+
"Struct": {
|
7369
|
+
"address": "0x3",
|
7370
|
+
"module": "validator",
|
7371
|
+
"name": "Validator",
|
7372
|
+
"typeArguments": []
|
7373
|
+
}
|
7374
|
+
}
|
7375
|
+
},
|
7376
|
+
{
|
7377
|
+
"Struct": {
|
7378
|
+
"address": "0x3",
|
7379
|
+
"module": "staking_pool",
|
7380
|
+
"name": "FungibleStakedSui",
|
7381
|
+
"typeArguments": []
|
7382
|
+
}
|
7383
|
+
},
|
7384
|
+
{
|
7385
|
+
"Reference": {
|
7386
|
+
"Struct": {
|
7387
|
+
"address": "0x2",
|
7388
|
+
"module": "tx_context",
|
7389
|
+
"name": "TxContext",
|
7390
|
+
"typeArguments": []
|
7391
|
+
}
|
7392
|
+
}
|
7393
|
+
}
|
7394
|
+
],
|
7395
|
+
"return": [
|
7396
|
+
{
|
7397
|
+
"Struct": {
|
7398
|
+
"address": "0x2",
|
7399
|
+
"module": "balance",
|
7400
|
+
"name": "Balance",
|
7401
|
+
"typeArguments": [
|
7402
|
+
{
|
7403
|
+
"Struct": {
|
7404
|
+
"address": "0x2",
|
7405
|
+
"module": "sui",
|
7406
|
+
"name": "SUI",
|
7407
|
+
"typeArguments": []
|
7408
|
+
}
|
7409
|
+
}
|
7410
|
+
]
|
7411
|
+
}
|
7412
|
+
}
|
7413
|
+
]
|
7414
|
+
},
|
6665
7415
|
"request_add_stake": {
|
6666
7416
|
"visibility": "Friend",
|
6667
7417
|
"isEntry": false,
|
@@ -8211,6 +8961,51 @@
|
|
8211
8961
|
],
|
8212
8962
|
"return": []
|
8213
8963
|
},
|
8964
|
+
"convert_to_fungible_staked_sui": {
|
8965
|
+
"visibility": "Friend",
|
8966
|
+
"isEntry": false,
|
8967
|
+
"typeParameters": [],
|
8968
|
+
"parameters": [
|
8969
|
+
{
|
8970
|
+
"MutableReference": {
|
8971
|
+
"Struct": {
|
8972
|
+
"address": "0x3",
|
8973
|
+
"module": "validator_set",
|
8974
|
+
"name": "ValidatorSet",
|
8975
|
+
"typeArguments": []
|
8976
|
+
}
|
8977
|
+
}
|
8978
|
+
},
|
8979
|
+
{
|
8980
|
+
"Struct": {
|
8981
|
+
"address": "0x3",
|
8982
|
+
"module": "staking_pool",
|
8983
|
+
"name": "StakedSui",
|
8984
|
+
"typeArguments": []
|
8985
|
+
}
|
8986
|
+
},
|
8987
|
+
{
|
8988
|
+
"MutableReference": {
|
8989
|
+
"Struct": {
|
8990
|
+
"address": "0x2",
|
8991
|
+
"module": "tx_context",
|
8992
|
+
"name": "TxContext",
|
8993
|
+
"typeArguments": []
|
8994
|
+
}
|
8995
|
+
}
|
8996
|
+
}
|
8997
|
+
],
|
8998
|
+
"return": [
|
8999
|
+
{
|
9000
|
+
"Struct": {
|
9001
|
+
"address": "0x3",
|
9002
|
+
"module": "staking_pool",
|
9003
|
+
"name": "FungibleStakedSui",
|
9004
|
+
"typeArguments": []
|
9005
|
+
}
|
9006
|
+
}
|
9007
|
+
]
|
9008
|
+
},
|
8214
9009
|
"derive_reference_gas_price": {
|
8215
9010
|
"visibility": "Public",
|
8216
9011
|
"isEntry": false,
|
@@ -8680,6 +9475,60 @@
|
|
8680
9475
|
}
|
8681
9476
|
]
|
8682
9477
|
},
|
9478
|
+
"redeem_fungible_staked_sui": {
|
9479
|
+
"visibility": "Friend",
|
9480
|
+
"isEntry": false,
|
9481
|
+
"typeParameters": [],
|
9482
|
+
"parameters": [
|
9483
|
+
{
|
9484
|
+
"MutableReference": {
|
9485
|
+
"Struct": {
|
9486
|
+
"address": "0x3",
|
9487
|
+
"module": "validator_set",
|
9488
|
+
"name": "ValidatorSet",
|
9489
|
+
"typeArguments": []
|
9490
|
+
}
|
9491
|
+
}
|
9492
|
+
},
|
9493
|
+
{
|
9494
|
+
"Struct": {
|
9495
|
+
"address": "0x3",
|
9496
|
+
"module": "staking_pool",
|
9497
|
+
"name": "FungibleStakedSui",
|
9498
|
+
"typeArguments": []
|
9499
|
+
}
|
9500
|
+
},
|
9501
|
+
{
|
9502
|
+
"Reference": {
|
9503
|
+
"Struct": {
|
9504
|
+
"address": "0x2",
|
9505
|
+
"module": "tx_context",
|
9506
|
+
"name": "TxContext",
|
9507
|
+
"typeArguments": []
|
9508
|
+
}
|
9509
|
+
}
|
9510
|
+
}
|
9511
|
+
],
|
9512
|
+
"return": [
|
9513
|
+
{
|
9514
|
+
"Struct": {
|
9515
|
+
"address": "0x2",
|
9516
|
+
"module": "balance",
|
9517
|
+
"name": "Balance",
|
9518
|
+
"typeArguments": [
|
9519
|
+
{
|
9520
|
+
"Struct": {
|
9521
|
+
"address": "0x2",
|
9522
|
+
"module": "sui",
|
9523
|
+
"name": "SUI",
|
9524
|
+
"typeArguments": []
|
9525
|
+
}
|
9526
|
+
}
|
9527
|
+
]
|
9528
|
+
}
|
9529
|
+
}
|
9530
|
+
]
|
9531
|
+
},
|
8683
9532
|
"request_add_stake": {
|
8684
9533
|
"visibility": "Friend",
|
8685
9534
|
"isEntry": false,
|
@@ -9025,6 +9874,36 @@
|
|
9025
9874
|
"U64"
|
9026
9875
|
]
|
9027
9876
|
},
|
9877
|
+
"validator_address_by_pool_id": {
|
9878
|
+
"visibility": "Public",
|
9879
|
+
"isEntry": false,
|
9880
|
+
"typeParameters": [],
|
9881
|
+
"parameters": [
|
9882
|
+
{
|
9883
|
+
"MutableReference": {
|
9884
|
+
"Struct": {
|
9885
|
+
"address": "0x3",
|
9886
|
+
"module": "validator_set",
|
9887
|
+
"name": "ValidatorSet",
|
9888
|
+
"typeArguments": []
|
9889
|
+
}
|
9890
|
+
}
|
9891
|
+
},
|
9892
|
+
{
|
9893
|
+
"Reference": {
|
9894
|
+
"Struct": {
|
9895
|
+
"address": "0x2",
|
9896
|
+
"module": "object",
|
9897
|
+
"name": "ID",
|
9898
|
+
"typeArguments": []
|
9899
|
+
}
|
9900
|
+
}
|
9901
|
+
}
|
9902
|
+
],
|
9903
|
+
"return": [
|
9904
|
+
"Address"
|
9905
|
+
]
|
9906
|
+
},
|
9028
9907
|
"validator_stake_amount": {
|
9029
9908
|
"visibility": "Public",
|
9030
9909
|
"isEntry": false,
|