@typemove/aptos 1.10.1-rc.1 → 1.11.0
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/dist/cjs/account-resource-client.js +2 -2
- package/dist/cjs/account-resource-client.js.map +1 -1
- package/dist/cjs/builtin/0x1.js +339 -339
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x3.js +15 -15
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/builtin/0x4.js +37 -37
- package/dist/cjs/builtin/0x4.js.map +1 -1
- package/dist/cjs/codegen/codegen.d.ts +3 -3
- package/dist/cjs/codegen/codegen.d.ts.map +1 -1
- package/dist/cjs/codegen/codegen.js +5 -5
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/cjs/move-coder.d.ts +2 -2
- package/dist/cjs/move-coder.d.ts.map +1 -1
- package/dist/cjs/move-coder.js +5 -14
- package/dist/cjs/move-coder.js.map +1 -1
- package/dist/esm/account-resource-client.js +2 -2
- package/dist/esm/account-resource-client.js.map +1 -1
- package/dist/esm/builtin/0x1.js +339 -339
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x3.js +15 -15
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/builtin/0x4.js +37 -37
- package/dist/esm/builtin/0x4.js.map +1 -1
- package/dist/esm/codegen/codegen.d.ts +3 -3
- package/dist/esm/codegen/codegen.d.ts.map +1 -1
- package/dist/esm/codegen/codegen.js +6 -6
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/dist/esm/codegen/run.js +17 -6
- package/dist/esm/codegen/run.js.map +1 -1
- package/dist/esm/move-coder.d.ts +2 -2
- package/dist/esm/move-coder.d.ts.map +1 -1
- package/dist/esm/move-coder.js +6 -15
- package/dist/esm/move-coder.js.map +1 -1
- package/package.json +3 -3
- package/src/account-resource-client.ts +2 -2
- package/src/builtin/0x1.ts +339 -339
- package/src/builtin/0x3.ts +15 -15
- package/src/builtin/0x4.ts +37 -37
- package/src/codegen/codegen.ts +5 -5
- package/src/codegen/run.ts +16 -7
- package/src/move-coder.ts +8 -15
- package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts +44 -44
- package/src/tests/types/0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99.ts +45 -45
- package/src/tests/types/0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615.ts +26 -26
- package/src/tests/types/0x87978b35bf1eb73ae6cf04cfedcaa1f48254a683ebd00a21e7516a991edae3ac.ts +1 -1
- package/src/tests/types/0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541.ts +39 -39
package/dist/esm/builtin/0x1.js
CHANGED
|
@@ -156,7 +156,7 @@ export var code;
|
|
|
156
156
|
let entry;
|
|
157
157
|
(function (entry) {
|
|
158
158
|
async function publishPackageTxn(client, account, request, options) {
|
|
159
|
-
const coder = defaultMoveCoder(client.config
|
|
159
|
+
const coder = defaultMoveCoder(client.config);
|
|
160
160
|
const transaction = await client.transaction.build.simple({
|
|
161
161
|
sender: account.accountAddress,
|
|
162
162
|
data: {
|
|
@@ -395,7 +395,7 @@ export var coin;
|
|
|
395
395
|
let entry;
|
|
396
396
|
(function (entry) {
|
|
397
397
|
async function transfer(client, account, request, options) {
|
|
398
|
-
const coder = defaultMoveCoder(client.config
|
|
398
|
+
const coder = defaultMoveCoder(client.config);
|
|
399
399
|
const transaction = await client.transaction.build.simple({
|
|
400
400
|
sender: account.accountAddress,
|
|
401
401
|
data: {
|
|
@@ -412,7 +412,7 @@ export var coin;
|
|
|
412
412
|
}
|
|
413
413
|
entry.transfer = transfer;
|
|
414
414
|
async function createCoinConversionMap(client, account, request, options) {
|
|
415
|
-
const coder = defaultMoveCoder(client.config
|
|
415
|
+
const coder = defaultMoveCoder(client.config);
|
|
416
416
|
const transaction = await client.transaction.build.simple({
|
|
417
417
|
sender: account.accountAddress,
|
|
418
418
|
data: {
|
|
@@ -429,7 +429,7 @@ export var coin;
|
|
|
429
429
|
}
|
|
430
430
|
entry.createCoinConversionMap = createCoinConversionMap;
|
|
431
431
|
async function createPairing(client, account, request, options) {
|
|
432
|
-
const coder = defaultMoveCoder(client.config
|
|
432
|
+
const coder = defaultMoveCoder(client.config);
|
|
433
433
|
const transaction = await client.transaction.build.simple({
|
|
434
434
|
sender: account.accountAddress,
|
|
435
435
|
data: {
|
|
@@ -446,7 +446,7 @@ export var coin;
|
|
|
446
446
|
}
|
|
447
447
|
entry.createPairing = createPairing;
|
|
448
448
|
async function freezeCoinStore(client, account, request, options) {
|
|
449
|
-
const coder = defaultMoveCoder(client.config
|
|
449
|
+
const coder = defaultMoveCoder(client.config);
|
|
450
450
|
const transaction = await client.transaction.build.simple({
|
|
451
451
|
sender: account.accountAddress,
|
|
452
452
|
data: {
|
|
@@ -463,7 +463,7 @@ export var coin;
|
|
|
463
463
|
}
|
|
464
464
|
entry.freezeCoinStore = freezeCoinStore;
|
|
465
465
|
async function migrateCoinStoreToFungibleStore(client, account, request, options) {
|
|
466
|
-
const coder = defaultMoveCoder(client.config
|
|
466
|
+
const coder = defaultMoveCoder(client.config);
|
|
467
467
|
const transaction = await client.transaction.build.simple({
|
|
468
468
|
sender: account.accountAddress,
|
|
469
469
|
data: {
|
|
@@ -480,7 +480,7 @@ export var coin;
|
|
|
480
480
|
}
|
|
481
481
|
entry.migrateCoinStoreToFungibleStore = migrateCoinStoreToFungibleStore;
|
|
482
482
|
async function migrateToFungibleStore(client, account, request, options) {
|
|
483
|
-
const coder = defaultMoveCoder(client.config
|
|
483
|
+
const coder = defaultMoveCoder(client.config);
|
|
484
484
|
const transaction = await client.transaction.build.simple({
|
|
485
485
|
sender: account.accountAddress,
|
|
486
486
|
data: {
|
|
@@ -497,7 +497,7 @@ export var coin;
|
|
|
497
497
|
}
|
|
498
498
|
entry.migrateToFungibleStore = migrateToFungibleStore;
|
|
499
499
|
async function unfreezeCoinStore(client, account, request, options) {
|
|
500
|
-
const coder = defaultMoveCoder(client.config
|
|
500
|
+
const coder = defaultMoveCoder(client.config);
|
|
501
501
|
const transaction = await client.transaction.build.simple({
|
|
502
502
|
sender: account.accountAddress,
|
|
503
503
|
data: {
|
|
@@ -514,7 +514,7 @@ export var coin;
|
|
|
514
514
|
}
|
|
515
515
|
entry.unfreezeCoinStore = unfreezeCoinStore;
|
|
516
516
|
async function upgradeSupply(client, account, request, options) {
|
|
517
|
-
const coder = defaultMoveCoder(client.config
|
|
517
|
+
const coder = defaultMoveCoder(client.config);
|
|
518
518
|
const transaction = await client.transaction.build.simple({
|
|
519
519
|
sender: account.accountAddress,
|
|
520
520
|
data: {
|
|
@@ -534,7 +534,7 @@ export var coin;
|
|
|
534
534
|
let view;
|
|
535
535
|
(function (view) {
|
|
536
536
|
async function name(client, request, version) {
|
|
537
|
-
const coder = defaultMoveCoder(client.config
|
|
537
|
+
const coder = defaultMoveCoder(client.config);
|
|
538
538
|
const data = {
|
|
539
539
|
function: "0x1::coin::name",
|
|
540
540
|
functionArguments: [],
|
|
@@ -549,7 +549,7 @@ export var coin;
|
|
|
549
549
|
}
|
|
550
550
|
view.name = name;
|
|
551
551
|
async function symbol$(client, request, version) {
|
|
552
|
-
const coder = defaultMoveCoder(client.config
|
|
552
|
+
const coder = defaultMoveCoder(client.config);
|
|
553
553
|
const data = {
|
|
554
554
|
function: "0x1::coin::symbol",
|
|
555
555
|
functionArguments: [],
|
|
@@ -564,7 +564,7 @@ export var coin;
|
|
|
564
564
|
}
|
|
565
565
|
view.symbol$ = symbol$;
|
|
566
566
|
async function decimals(client, request, version) {
|
|
567
|
-
const coder = defaultMoveCoder(client.config
|
|
567
|
+
const coder = defaultMoveCoder(client.config);
|
|
568
568
|
const data = {
|
|
569
569
|
function: "0x1::coin::decimals",
|
|
570
570
|
functionArguments: [],
|
|
@@ -579,7 +579,7 @@ export var coin;
|
|
|
579
579
|
}
|
|
580
580
|
view.decimals = decimals;
|
|
581
581
|
async function balance(client, request, version) {
|
|
582
|
-
const coder = defaultMoveCoder(client.config
|
|
582
|
+
const coder = defaultMoveCoder(client.config);
|
|
583
583
|
const data = {
|
|
584
584
|
function: "0x1::coin::balance",
|
|
585
585
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -594,7 +594,7 @@ export var coin;
|
|
|
594
594
|
}
|
|
595
595
|
view.balance = balance;
|
|
596
596
|
async function isBalanceAtLeast(client, request, version) {
|
|
597
|
-
const coder = defaultMoveCoder(client.config
|
|
597
|
+
const coder = defaultMoveCoder(client.config);
|
|
598
598
|
const data = {
|
|
599
599
|
function: "0x1::coin::is_balance_at_least",
|
|
600
600
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -609,7 +609,7 @@ export var coin;
|
|
|
609
609
|
}
|
|
610
610
|
view.isBalanceAtLeast = isBalanceAtLeast;
|
|
611
611
|
async function supply(client, request, version) {
|
|
612
|
-
const coder = defaultMoveCoder(client.config
|
|
612
|
+
const coder = defaultMoveCoder(client.config);
|
|
613
613
|
const data = {
|
|
614
614
|
function: "0x1::coin::supply",
|
|
615
615
|
functionArguments: [],
|
|
@@ -624,7 +624,7 @@ export var coin;
|
|
|
624
624
|
}
|
|
625
625
|
view.supply = supply;
|
|
626
626
|
async function coinSupply(client, request, version) {
|
|
627
|
-
const coder = defaultMoveCoder(client.config
|
|
627
|
+
const coder = defaultMoveCoder(client.config);
|
|
628
628
|
const data = {
|
|
629
629
|
function: "0x1::coin::coin_supply",
|
|
630
630
|
functionArguments: [],
|
|
@@ -639,7 +639,7 @@ export var coin;
|
|
|
639
639
|
}
|
|
640
640
|
view.coinSupply = coinSupply;
|
|
641
641
|
async function isAccountRegistered(client, request, version) {
|
|
642
|
-
const coder = defaultMoveCoder(client.config
|
|
642
|
+
const coder = defaultMoveCoder(client.config);
|
|
643
643
|
const data = {
|
|
644
644
|
function: "0x1::coin::is_account_registered",
|
|
645
645
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -654,7 +654,7 @@ export var coin;
|
|
|
654
654
|
}
|
|
655
655
|
view.isAccountRegistered = isAccountRegistered;
|
|
656
656
|
async function isCoinInitialized(client, request, version) {
|
|
657
|
-
const coder = defaultMoveCoder(client.config
|
|
657
|
+
const coder = defaultMoveCoder(client.config);
|
|
658
658
|
const data = {
|
|
659
659
|
function: "0x1::coin::is_coin_initialized",
|
|
660
660
|
functionArguments: [],
|
|
@@ -669,7 +669,7 @@ export var coin;
|
|
|
669
669
|
}
|
|
670
670
|
view.isCoinInitialized = isCoinInitialized;
|
|
671
671
|
async function isCoinStoreFrozen(client, request, version) {
|
|
672
|
-
const coder = defaultMoveCoder(client.config
|
|
672
|
+
const coder = defaultMoveCoder(client.config);
|
|
673
673
|
const data = {
|
|
674
674
|
function: "0x1::coin::is_coin_store_frozen",
|
|
675
675
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -684,7 +684,7 @@ export var coin;
|
|
|
684
684
|
}
|
|
685
685
|
view.isCoinStoreFrozen = isCoinStoreFrozen;
|
|
686
686
|
async function pairedBurnRefExists(client, request, version) {
|
|
687
|
-
const coder = defaultMoveCoder(client.config
|
|
687
|
+
const coder = defaultMoveCoder(client.config);
|
|
688
688
|
const data = {
|
|
689
689
|
function: "0x1::coin::paired_burn_ref_exists",
|
|
690
690
|
functionArguments: [],
|
|
@@ -699,7 +699,7 @@ export var coin;
|
|
|
699
699
|
}
|
|
700
700
|
view.pairedBurnRefExists = pairedBurnRefExists;
|
|
701
701
|
async function pairedCoin(client, request, version) {
|
|
702
|
-
const coder = defaultMoveCoder(client.config
|
|
702
|
+
const coder = defaultMoveCoder(client.config);
|
|
703
703
|
const data = {
|
|
704
704
|
function: "0x1::coin::paired_coin",
|
|
705
705
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -714,7 +714,7 @@ export var coin;
|
|
|
714
714
|
}
|
|
715
715
|
view.pairedCoin = pairedCoin;
|
|
716
716
|
async function pairedMetadata(client, request, version) {
|
|
717
|
-
const coder = defaultMoveCoder(client.config
|
|
717
|
+
const coder = defaultMoveCoder(client.config);
|
|
718
718
|
const data = {
|
|
719
719
|
function: "0x1::coin::paired_metadata",
|
|
720
720
|
functionArguments: [],
|
|
@@ -729,7 +729,7 @@ export var coin;
|
|
|
729
729
|
}
|
|
730
730
|
view.pairedMetadata = pairedMetadata;
|
|
731
731
|
async function pairedMintRefExists(client, request, version) {
|
|
732
|
-
const coder = defaultMoveCoder(client.config
|
|
732
|
+
const coder = defaultMoveCoder(client.config);
|
|
733
733
|
const data = {
|
|
734
734
|
function: "0x1::coin::paired_mint_ref_exists",
|
|
735
735
|
functionArguments: [],
|
|
@@ -744,7 +744,7 @@ export var coin;
|
|
|
744
744
|
}
|
|
745
745
|
view.pairedMintRefExists = pairedMintRefExists;
|
|
746
746
|
async function pairedTransferRefExists(client, request, version) {
|
|
747
|
-
const coder = defaultMoveCoder(client.config
|
|
747
|
+
const coder = defaultMoveCoder(client.config);
|
|
748
748
|
const data = {
|
|
749
749
|
function: "0x1::coin::paired_transfer_ref_exists",
|
|
750
750
|
functionArguments: [],
|
|
@@ -939,7 +939,7 @@ export var jwks;
|
|
|
939
939
|
let entry;
|
|
940
940
|
(function (entry) {
|
|
941
941
|
async function updateFederatedJwkSet(client, account, request, options) {
|
|
942
|
-
const coder = defaultMoveCoder(client.config
|
|
942
|
+
const coder = defaultMoveCoder(client.config);
|
|
943
943
|
const transaction = await client.transaction.build.simple({
|
|
944
944
|
sender: account.accountAddress,
|
|
945
945
|
data: {
|
|
@@ -1016,7 +1016,7 @@ export var block;
|
|
|
1016
1016
|
let view;
|
|
1017
1017
|
(function (view) {
|
|
1018
1018
|
async function getCurrentBlockHeight(client, version) {
|
|
1019
|
-
const coder = defaultMoveCoder(client.config
|
|
1019
|
+
const coder = defaultMoveCoder(client.config);
|
|
1020
1020
|
const data = {
|
|
1021
1021
|
function: "0x1::block::get_current_block_height",
|
|
1022
1022
|
functionArguments: [],
|
|
@@ -1031,7 +1031,7 @@ export var block;
|
|
|
1031
1031
|
}
|
|
1032
1032
|
view.getCurrentBlockHeight = getCurrentBlockHeight;
|
|
1033
1033
|
async function getEpochIntervalSecs(client, version) {
|
|
1034
|
-
const coder = defaultMoveCoder(client.config
|
|
1034
|
+
const coder = defaultMoveCoder(client.config);
|
|
1035
1035
|
const data = {
|
|
1036
1036
|
function: "0x1::block::get_epoch_interval_secs",
|
|
1037
1037
|
functionArguments: [],
|
|
@@ -1379,7 +1379,7 @@ export var stake;
|
|
|
1379
1379
|
let entry;
|
|
1380
1380
|
(function (entry) {
|
|
1381
1381
|
async function withdraw(client, account, request, options) {
|
|
1382
|
-
const coder = defaultMoveCoder(client.config
|
|
1382
|
+
const coder = defaultMoveCoder(client.config);
|
|
1383
1383
|
const transaction = await client.transaction.build.simple({
|
|
1384
1384
|
sender: account.accountAddress,
|
|
1385
1385
|
data: {
|
|
@@ -1396,7 +1396,7 @@ export var stake;
|
|
|
1396
1396
|
}
|
|
1397
1397
|
entry.withdraw = withdraw;
|
|
1398
1398
|
async function addStake(client, account, request, options) {
|
|
1399
|
-
const coder = defaultMoveCoder(client.config
|
|
1399
|
+
const coder = defaultMoveCoder(client.config);
|
|
1400
1400
|
const transaction = await client.transaction.build.simple({
|
|
1401
1401
|
sender: account.accountAddress,
|
|
1402
1402
|
data: {
|
|
@@ -1413,7 +1413,7 @@ export var stake;
|
|
|
1413
1413
|
}
|
|
1414
1414
|
entry.addStake = addStake;
|
|
1415
1415
|
async function increaseLockup(client, account, request, options) {
|
|
1416
|
-
const coder = defaultMoveCoder(client.config
|
|
1416
|
+
const coder = defaultMoveCoder(client.config);
|
|
1417
1417
|
const transaction = await client.transaction.build.simple({
|
|
1418
1418
|
sender: account.accountAddress,
|
|
1419
1419
|
data: {
|
|
@@ -1430,7 +1430,7 @@ export var stake;
|
|
|
1430
1430
|
}
|
|
1431
1431
|
entry.increaseLockup = increaseLockup;
|
|
1432
1432
|
async function initializeStakeOwner(client, account, request, options) {
|
|
1433
|
-
const coder = defaultMoveCoder(client.config
|
|
1433
|
+
const coder = defaultMoveCoder(client.config);
|
|
1434
1434
|
const transaction = await client.transaction.build.simple({
|
|
1435
1435
|
sender: account.accountAddress,
|
|
1436
1436
|
data: {
|
|
@@ -1447,7 +1447,7 @@ export var stake;
|
|
|
1447
1447
|
}
|
|
1448
1448
|
entry.initializeStakeOwner = initializeStakeOwner;
|
|
1449
1449
|
async function initializeValidator(client, account, request, options) {
|
|
1450
|
-
const coder = defaultMoveCoder(client.config
|
|
1450
|
+
const coder = defaultMoveCoder(client.config);
|
|
1451
1451
|
const transaction = await client.transaction.build.simple({
|
|
1452
1452
|
sender: account.accountAddress,
|
|
1453
1453
|
data: {
|
|
@@ -1464,7 +1464,7 @@ export var stake;
|
|
|
1464
1464
|
}
|
|
1465
1465
|
entry.initializeValidator = initializeValidator;
|
|
1466
1466
|
async function joinValidatorSet(client, account, request, options) {
|
|
1467
|
-
const coder = defaultMoveCoder(client.config
|
|
1467
|
+
const coder = defaultMoveCoder(client.config);
|
|
1468
1468
|
const transaction = await client.transaction.build.simple({
|
|
1469
1469
|
sender: account.accountAddress,
|
|
1470
1470
|
data: {
|
|
@@ -1481,7 +1481,7 @@ export var stake;
|
|
|
1481
1481
|
}
|
|
1482
1482
|
entry.joinValidatorSet = joinValidatorSet;
|
|
1483
1483
|
async function leaveValidatorSet(client, account, request, options) {
|
|
1484
|
-
const coder = defaultMoveCoder(client.config
|
|
1484
|
+
const coder = defaultMoveCoder(client.config);
|
|
1485
1485
|
const transaction = await client.transaction.build.simple({
|
|
1486
1486
|
sender: account.accountAddress,
|
|
1487
1487
|
data: {
|
|
@@ -1498,7 +1498,7 @@ export var stake;
|
|
|
1498
1498
|
}
|
|
1499
1499
|
entry.leaveValidatorSet = leaveValidatorSet;
|
|
1500
1500
|
async function reactivateStake(client, account, request, options) {
|
|
1501
|
-
const coder = defaultMoveCoder(client.config
|
|
1501
|
+
const coder = defaultMoveCoder(client.config);
|
|
1502
1502
|
const transaction = await client.transaction.build.simple({
|
|
1503
1503
|
sender: account.accountAddress,
|
|
1504
1504
|
data: {
|
|
@@ -1515,7 +1515,7 @@ export var stake;
|
|
|
1515
1515
|
}
|
|
1516
1516
|
entry.reactivateStake = reactivateStake;
|
|
1517
1517
|
async function rotateConsensusKey(client, account, request, options) {
|
|
1518
|
-
const coder = defaultMoveCoder(client.config
|
|
1518
|
+
const coder = defaultMoveCoder(client.config);
|
|
1519
1519
|
const transaction = await client.transaction.build.simple({
|
|
1520
1520
|
sender: account.accountAddress,
|
|
1521
1521
|
data: {
|
|
@@ -1532,7 +1532,7 @@ export var stake;
|
|
|
1532
1532
|
}
|
|
1533
1533
|
entry.rotateConsensusKey = rotateConsensusKey;
|
|
1534
1534
|
async function setDelegatedVoter(client, account, request, options) {
|
|
1535
|
-
const coder = defaultMoveCoder(client.config
|
|
1535
|
+
const coder = defaultMoveCoder(client.config);
|
|
1536
1536
|
const transaction = await client.transaction.build.simple({
|
|
1537
1537
|
sender: account.accountAddress,
|
|
1538
1538
|
data: {
|
|
@@ -1549,7 +1549,7 @@ export var stake;
|
|
|
1549
1549
|
}
|
|
1550
1550
|
entry.setDelegatedVoter = setDelegatedVoter;
|
|
1551
1551
|
async function setOperator(client, account, request, options) {
|
|
1552
|
-
const coder = defaultMoveCoder(client.config
|
|
1552
|
+
const coder = defaultMoveCoder(client.config);
|
|
1553
1553
|
const transaction = await client.transaction.build.simple({
|
|
1554
1554
|
sender: account.accountAddress,
|
|
1555
1555
|
data: {
|
|
@@ -1566,7 +1566,7 @@ export var stake;
|
|
|
1566
1566
|
}
|
|
1567
1567
|
entry.setOperator = setOperator;
|
|
1568
1568
|
async function unlock(client, account, request, options) {
|
|
1569
|
-
const coder = defaultMoveCoder(client.config
|
|
1569
|
+
const coder = defaultMoveCoder(client.config);
|
|
1570
1570
|
const transaction = await client.transaction.build.simple({
|
|
1571
1571
|
sender: account.accountAddress,
|
|
1572
1572
|
data: {
|
|
@@ -1583,7 +1583,7 @@ export var stake;
|
|
|
1583
1583
|
}
|
|
1584
1584
|
entry.unlock = unlock;
|
|
1585
1585
|
async function updateNetworkAndFullnodeAddresses(client, account, request, options) {
|
|
1586
|
-
const coder = defaultMoveCoder(client.config
|
|
1586
|
+
const coder = defaultMoveCoder(client.config);
|
|
1587
1587
|
const transaction = await client.transaction.build.simple({
|
|
1588
1588
|
sender: account.accountAddress,
|
|
1589
1589
|
data: {
|
|
@@ -1603,7 +1603,7 @@ export var stake;
|
|
|
1603
1603
|
let view;
|
|
1604
1604
|
(function (view) {
|
|
1605
1605
|
async function getCurrentEpochProposalCounts(client, request, version) {
|
|
1606
|
-
const coder = defaultMoveCoder(client.config
|
|
1606
|
+
const coder = defaultMoveCoder(client.config);
|
|
1607
1607
|
const data = {
|
|
1608
1608
|
function: "0x1::stake::get_current_epoch_proposal_counts",
|
|
1609
1609
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1618,7 +1618,7 @@ export var stake;
|
|
|
1618
1618
|
}
|
|
1619
1619
|
view.getCurrentEpochProposalCounts = getCurrentEpochProposalCounts;
|
|
1620
1620
|
async function getCurrentEpochVotingPower(client, request, version) {
|
|
1621
|
-
const coder = defaultMoveCoder(client.config
|
|
1621
|
+
const coder = defaultMoveCoder(client.config);
|
|
1622
1622
|
const data = {
|
|
1623
1623
|
function: "0x1::stake::get_current_epoch_voting_power",
|
|
1624
1624
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1633,7 +1633,7 @@ export var stake;
|
|
|
1633
1633
|
}
|
|
1634
1634
|
view.getCurrentEpochVotingPower = getCurrentEpochVotingPower;
|
|
1635
1635
|
async function getDelegatedVoter(client, request, version) {
|
|
1636
|
-
const coder = defaultMoveCoder(client.config
|
|
1636
|
+
const coder = defaultMoveCoder(client.config);
|
|
1637
1637
|
const data = {
|
|
1638
1638
|
function: "0x1::stake::get_delegated_voter",
|
|
1639
1639
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1648,7 +1648,7 @@ export var stake;
|
|
|
1648
1648
|
}
|
|
1649
1649
|
view.getDelegatedVoter = getDelegatedVoter;
|
|
1650
1650
|
async function getLockupSecs(client, request, version) {
|
|
1651
|
-
const coder = defaultMoveCoder(client.config
|
|
1651
|
+
const coder = defaultMoveCoder(client.config);
|
|
1652
1652
|
const data = {
|
|
1653
1653
|
function: "0x1::stake::get_lockup_secs",
|
|
1654
1654
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1663,7 +1663,7 @@ export var stake;
|
|
|
1663
1663
|
}
|
|
1664
1664
|
view.getLockupSecs = getLockupSecs;
|
|
1665
1665
|
async function getOperator(client, request, version) {
|
|
1666
|
-
const coder = defaultMoveCoder(client.config
|
|
1666
|
+
const coder = defaultMoveCoder(client.config);
|
|
1667
1667
|
const data = {
|
|
1668
1668
|
function: "0x1::stake::get_operator",
|
|
1669
1669
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1678,7 +1678,7 @@ export var stake;
|
|
|
1678
1678
|
}
|
|
1679
1679
|
view.getOperator = getOperator;
|
|
1680
1680
|
async function getRemainingLockupSecs(client, request, version) {
|
|
1681
|
-
const coder = defaultMoveCoder(client.config
|
|
1681
|
+
const coder = defaultMoveCoder(client.config);
|
|
1682
1682
|
const data = {
|
|
1683
1683
|
function: "0x1::stake::get_remaining_lockup_secs",
|
|
1684
1684
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1693,7 +1693,7 @@ export var stake;
|
|
|
1693
1693
|
}
|
|
1694
1694
|
view.getRemainingLockupSecs = getRemainingLockupSecs;
|
|
1695
1695
|
async function getStake(client, request, version) {
|
|
1696
|
-
const coder = defaultMoveCoder(client.config
|
|
1696
|
+
const coder = defaultMoveCoder(client.config);
|
|
1697
1697
|
const data = {
|
|
1698
1698
|
function: "0x1::stake::get_stake",
|
|
1699
1699
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1708,7 +1708,7 @@ export var stake;
|
|
|
1708
1708
|
}
|
|
1709
1709
|
view.getStake = getStake;
|
|
1710
1710
|
async function getValidatorConfig(client, request, version) {
|
|
1711
|
-
const coder = defaultMoveCoder(client.config
|
|
1711
|
+
const coder = defaultMoveCoder(client.config);
|
|
1712
1712
|
const data = {
|
|
1713
1713
|
function: "0x1::stake::get_validator_config",
|
|
1714
1714
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1723,7 +1723,7 @@ export var stake;
|
|
|
1723
1723
|
}
|
|
1724
1724
|
view.getValidatorConfig = getValidatorConfig;
|
|
1725
1725
|
async function getValidatorIndex(client, request, version) {
|
|
1726
|
-
const coder = defaultMoveCoder(client.config
|
|
1726
|
+
const coder = defaultMoveCoder(client.config);
|
|
1727
1727
|
const data = {
|
|
1728
1728
|
function: "0x1::stake::get_validator_index",
|
|
1729
1729
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1738,7 +1738,7 @@ export var stake;
|
|
|
1738
1738
|
}
|
|
1739
1739
|
view.getValidatorIndex = getValidatorIndex;
|
|
1740
1740
|
async function getValidatorState(client, request, version) {
|
|
1741
|
-
const coder = defaultMoveCoder(client.config
|
|
1741
|
+
const coder = defaultMoveCoder(client.config);
|
|
1742
1742
|
const data = {
|
|
1743
1743
|
function: "0x1::stake::get_validator_state",
|
|
1744
1744
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1753,7 +1753,7 @@ export var stake;
|
|
|
1753
1753
|
}
|
|
1754
1754
|
view.getValidatorState = getValidatorState;
|
|
1755
1755
|
async function stakePoolExists(client, request, version) {
|
|
1756
|
-
const coder = defaultMoveCoder(client.config
|
|
1756
|
+
const coder = defaultMoveCoder(client.config);
|
|
1757
1757
|
const data = {
|
|
1758
1758
|
function: "0x1::stake::stake_pool_exists",
|
|
1759
1759
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1921,7 +1921,7 @@ export var object$;
|
|
|
1921
1921
|
let entry;
|
|
1922
1922
|
(function (entry) {
|
|
1923
1923
|
async function burn(client, account, request, options) {
|
|
1924
|
-
const coder = defaultMoveCoder(client.config
|
|
1924
|
+
const coder = defaultMoveCoder(client.config);
|
|
1925
1925
|
const transaction = await client.transaction.build.simple({
|
|
1926
1926
|
sender: account.accountAddress,
|
|
1927
1927
|
data: {
|
|
@@ -1938,7 +1938,7 @@ export var object$;
|
|
|
1938
1938
|
}
|
|
1939
1939
|
entry.burn = burn;
|
|
1940
1940
|
async function transfer(client, account, request, options) {
|
|
1941
|
-
const coder = defaultMoveCoder(client.config
|
|
1941
|
+
const coder = defaultMoveCoder(client.config);
|
|
1942
1942
|
const transaction = await client.transaction.build.simple({
|
|
1943
1943
|
sender: account.accountAddress,
|
|
1944
1944
|
data: {
|
|
@@ -1955,7 +1955,7 @@ export var object$;
|
|
|
1955
1955
|
}
|
|
1956
1956
|
entry.transfer = transfer;
|
|
1957
1957
|
async function transferCall(client, account, request, options) {
|
|
1958
|
-
const coder = defaultMoveCoder(client.config
|
|
1958
|
+
const coder = defaultMoveCoder(client.config);
|
|
1959
1959
|
const transaction = await client.transaction.build.simple({
|
|
1960
1960
|
sender: account.accountAddress,
|
|
1961
1961
|
data: {
|
|
@@ -1972,7 +1972,7 @@ export var object$;
|
|
|
1972
1972
|
}
|
|
1973
1973
|
entry.transferCall = transferCall;
|
|
1974
1974
|
async function transferToObject(client, account, request, options) {
|
|
1975
|
-
const coder = defaultMoveCoder(client.config
|
|
1975
|
+
const coder = defaultMoveCoder(client.config);
|
|
1976
1976
|
const transaction = await client.transaction.build.simple({
|
|
1977
1977
|
sender: account.accountAddress,
|
|
1978
1978
|
data: {
|
|
@@ -1989,7 +1989,7 @@ export var object$;
|
|
|
1989
1989
|
}
|
|
1990
1990
|
entry.transferToObject = transferToObject;
|
|
1991
1991
|
async function unburn(client, account, request, options) {
|
|
1992
|
-
const coder = defaultMoveCoder(client.config
|
|
1992
|
+
const coder = defaultMoveCoder(client.config);
|
|
1993
1993
|
const transaction = await client.transaction.build.simple({
|
|
1994
1994
|
sender: account.accountAddress,
|
|
1995
1995
|
data: {
|
|
@@ -2009,7 +2009,7 @@ export var object$;
|
|
|
2009
2009
|
let view;
|
|
2010
2010
|
(function (view) {
|
|
2011
2011
|
async function owner(client, request, version) {
|
|
2012
|
-
const coder = defaultMoveCoder(client.config
|
|
2012
|
+
const coder = defaultMoveCoder(client.config);
|
|
2013
2013
|
const data = {
|
|
2014
2014
|
function: "0x1::object::owner",
|
|
2015
2015
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2024,7 +2024,7 @@ export var object$;
|
|
|
2024
2024
|
}
|
|
2025
2025
|
view.owner = owner;
|
|
2026
2026
|
async function isBurnt(client, request, version) {
|
|
2027
|
-
const coder = defaultMoveCoder(client.config
|
|
2027
|
+
const coder = defaultMoveCoder(client.config);
|
|
2028
2028
|
const data = {
|
|
2029
2029
|
function: "0x1::object::is_burnt",
|
|
2030
2030
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2039,7 +2039,7 @@ export var object$;
|
|
|
2039
2039
|
}
|
|
2040
2040
|
view.isBurnt = isBurnt;
|
|
2041
2041
|
async function isOwner(client, request, version) {
|
|
2042
|
-
const coder = defaultMoveCoder(client.config
|
|
2042
|
+
const coder = defaultMoveCoder(client.config);
|
|
2043
2043
|
const data = {
|
|
2044
2044
|
function: "0x1::object::is_owner",
|
|
2045
2045
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2054,7 +2054,7 @@ export var object$;
|
|
|
2054
2054
|
}
|
|
2055
2055
|
view.isOwner = isOwner;
|
|
2056
2056
|
async function isUntransferable(client, request, version) {
|
|
2057
|
-
const coder = defaultMoveCoder(client.config
|
|
2057
|
+
const coder = defaultMoveCoder(client.config);
|
|
2058
2058
|
const data = {
|
|
2059
2059
|
function: "0x1::object::is_untransferable",
|
|
2060
2060
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2069,7 +2069,7 @@ export var object$;
|
|
|
2069
2069
|
}
|
|
2070
2070
|
view.isUntransferable = isUntransferable;
|
|
2071
2071
|
async function owns(client, request, version) {
|
|
2072
|
-
const coder = defaultMoveCoder(client.config
|
|
2072
|
+
const coder = defaultMoveCoder(client.config);
|
|
2073
2073
|
const data = {
|
|
2074
2074
|
function: "0x1::object::owns",
|
|
2075
2075
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2084,7 +2084,7 @@ export var object$;
|
|
|
2084
2084
|
}
|
|
2085
2085
|
view.owns = owns;
|
|
2086
2086
|
async function rootOwner(client, request, version) {
|
|
2087
|
-
const coder = defaultMoveCoder(client.config
|
|
2087
|
+
const coder = defaultMoveCoder(client.config);
|
|
2088
2088
|
const data = {
|
|
2089
2089
|
function: "0x1::object::root_owner",
|
|
2090
2090
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2228,7 +2228,7 @@ export var voting;
|
|
|
2228
2228
|
let view;
|
|
2229
2229
|
(function (view) {
|
|
2230
2230
|
async function getEarlyResolutionVoteThreshold(client, request, version) {
|
|
2231
|
-
const coder = defaultMoveCoder(client.config
|
|
2231
|
+
const coder = defaultMoveCoder(client.config);
|
|
2232
2232
|
const data = {
|
|
2233
2233
|
function: "0x1::voting::get_early_resolution_vote_threshold",
|
|
2234
2234
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2243,7 +2243,7 @@ export var voting;
|
|
|
2243
2243
|
}
|
|
2244
2244
|
view.getEarlyResolutionVoteThreshold = getEarlyResolutionVoteThreshold;
|
|
2245
2245
|
async function getExecutionHash(client, request, version) {
|
|
2246
|
-
const coder = defaultMoveCoder(client.config
|
|
2246
|
+
const coder = defaultMoveCoder(client.config);
|
|
2247
2247
|
const data = {
|
|
2248
2248
|
function: "0x1::voting::get_execution_hash",
|
|
2249
2249
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2258,7 +2258,7 @@ export var voting;
|
|
|
2258
2258
|
}
|
|
2259
2259
|
view.getExecutionHash = getExecutionHash;
|
|
2260
2260
|
async function getMinVoteThreshold(client, request, version) {
|
|
2261
|
-
const coder = defaultMoveCoder(client.config
|
|
2261
|
+
const coder = defaultMoveCoder(client.config);
|
|
2262
2262
|
const data = {
|
|
2263
2263
|
function: "0x1::voting::get_min_vote_threshold",
|
|
2264
2264
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2273,7 +2273,7 @@ export var voting;
|
|
|
2273
2273
|
}
|
|
2274
2274
|
view.getMinVoteThreshold = getMinVoteThreshold;
|
|
2275
2275
|
async function getProposalCreationSecs(client, request, version) {
|
|
2276
|
-
const coder = defaultMoveCoder(client.config
|
|
2276
|
+
const coder = defaultMoveCoder(client.config);
|
|
2277
2277
|
const data = {
|
|
2278
2278
|
function: "0x1::voting::get_proposal_creation_secs",
|
|
2279
2279
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2288,7 +2288,7 @@ export var voting;
|
|
|
2288
2288
|
}
|
|
2289
2289
|
view.getProposalCreationSecs = getProposalCreationSecs;
|
|
2290
2290
|
async function getProposalExpirationSecs(client, request, version) {
|
|
2291
|
-
const coder = defaultMoveCoder(client.config
|
|
2291
|
+
const coder = defaultMoveCoder(client.config);
|
|
2292
2292
|
const data = {
|
|
2293
2293
|
function: "0x1::voting::get_proposal_expiration_secs",
|
|
2294
2294
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2303,7 +2303,7 @@ export var voting;
|
|
|
2303
2303
|
}
|
|
2304
2304
|
view.getProposalExpirationSecs = getProposalExpirationSecs;
|
|
2305
2305
|
async function getProposalMetadata(client, request, version) {
|
|
2306
|
-
const coder = defaultMoveCoder(client.config
|
|
2306
|
+
const coder = defaultMoveCoder(client.config);
|
|
2307
2307
|
const data = {
|
|
2308
2308
|
function: "0x1::voting::get_proposal_metadata",
|
|
2309
2309
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2318,7 +2318,7 @@ export var voting;
|
|
|
2318
2318
|
}
|
|
2319
2319
|
view.getProposalMetadata = getProposalMetadata;
|
|
2320
2320
|
async function getProposalMetadataValue(client, request, version) {
|
|
2321
|
-
const coder = defaultMoveCoder(client.config
|
|
2321
|
+
const coder = defaultMoveCoder(client.config);
|
|
2322
2322
|
const data = {
|
|
2323
2323
|
function: "0x1::voting::get_proposal_metadata_value",
|
|
2324
2324
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2333,7 +2333,7 @@ export var voting;
|
|
|
2333
2333
|
}
|
|
2334
2334
|
view.getProposalMetadataValue = getProposalMetadataValue;
|
|
2335
2335
|
async function getProposalState(client, request, version) {
|
|
2336
|
-
const coder = defaultMoveCoder(client.config
|
|
2336
|
+
const coder = defaultMoveCoder(client.config);
|
|
2337
2337
|
const data = {
|
|
2338
2338
|
function: "0x1::voting::get_proposal_state",
|
|
2339
2339
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2348,7 +2348,7 @@ export var voting;
|
|
|
2348
2348
|
}
|
|
2349
2349
|
view.getProposalState = getProposalState;
|
|
2350
2350
|
async function getProposer(client, request, version) {
|
|
2351
|
-
const coder = defaultMoveCoder(client.config
|
|
2351
|
+
const coder = defaultMoveCoder(client.config);
|
|
2352
2352
|
const data = {
|
|
2353
2353
|
function: "0x1::voting::get_proposer",
|
|
2354
2354
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2363,7 +2363,7 @@ export var voting;
|
|
|
2363
2363
|
}
|
|
2364
2364
|
view.getProposer = getProposer;
|
|
2365
2365
|
async function getResolutionTimeSecs(client, request, version) {
|
|
2366
|
-
const coder = defaultMoveCoder(client.config
|
|
2366
|
+
const coder = defaultMoveCoder(client.config);
|
|
2367
2367
|
const data = {
|
|
2368
2368
|
function: "0x1::voting::get_resolution_time_secs",
|
|
2369
2369
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2378,7 +2378,7 @@ export var voting;
|
|
|
2378
2378
|
}
|
|
2379
2379
|
view.getResolutionTimeSecs = getResolutionTimeSecs;
|
|
2380
2380
|
async function getVotes(client, request, version) {
|
|
2381
|
-
const coder = defaultMoveCoder(client.config
|
|
2381
|
+
const coder = defaultMoveCoder(client.config);
|
|
2382
2382
|
const data = {
|
|
2383
2383
|
function: "0x1::voting::get_votes",
|
|
2384
2384
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2393,7 +2393,7 @@ export var voting;
|
|
|
2393
2393
|
}
|
|
2394
2394
|
view.getVotes = getVotes;
|
|
2395
2395
|
async function isMultiStepProposalInExecution(client, request, version) {
|
|
2396
|
-
const coder = defaultMoveCoder(client.config
|
|
2396
|
+
const coder = defaultMoveCoder(client.config);
|
|
2397
2397
|
const data = {
|
|
2398
2398
|
function: "0x1::voting::is_multi_step_proposal_in_execution",
|
|
2399
2399
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2408,7 +2408,7 @@ export var voting;
|
|
|
2408
2408
|
}
|
|
2409
2409
|
view.isMultiStepProposalInExecution = isMultiStepProposalInExecution;
|
|
2410
2410
|
async function isResolved(client, request, version) {
|
|
2411
|
-
const coder = defaultMoveCoder(client.config
|
|
2411
|
+
const coder = defaultMoveCoder(client.config);
|
|
2412
2412
|
const data = {
|
|
2413
2413
|
function: "0x1::voting::is_resolved",
|
|
2414
2414
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2423,7 +2423,7 @@ export var voting;
|
|
|
2423
2423
|
}
|
|
2424
2424
|
view.isResolved = isResolved;
|
|
2425
2425
|
async function isVotingClosed(client, request, version) {
|
|
2426
|
-
const coder = defaultMoveCoder(client.config
|
|
2426
|
+
const coder = defaultMoveCoder(client.config);
|
|
2427
2427
|
const data = {
|
|
2428
2428
|
function: "0x1::voting::is_voting_closed",
|
|
2429
2429
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2438,7 +2438,7 @@ export var voting;
|
|
|
2438
2438
|
}
|
|
2439
2439
|
view.isVotingClosed = isVotingClosed;
|
|
2440
2440
|
async function nextProposalId(client, request, version) {
|
|
2441
|
-
const coder = defaultMoveCoder(client.config
|
|
2441
|
+
const coder = defaultMoveCoder(client.config);
|
|
2442
2442
|
const data = {
|
|
2443
2443
|
function: "0x1::voting::next_proposal_id",
|
|
2444
2444
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2603,7 +2603,7 @@ export var account;
|
|
|
2603
2603
|
let entry;
|
|
2604
2604
|
(function (entry) {
|
|
2605
2605
|
async function offerRotationCapability(client, account, request, options) {
|
|
2606
|
-
const coder = defaultMoveCoder(client.config
|
|
2606
|
+
const coder = defaultMoveCoder(client.config);
|
|
2607
2607
|
const transaction = await client.transaction.build.simple({
|
|
2608
2608
|
sender: account.accountAddress,
|
|
2609
2609
|
data: {
|
|
@@ -2620,7 +2620,7 @@ export var account;
|
|
|
2620
2620
|
}
|
|
2621
2621
|
entry.offerRotationCapability = offerRotationCapability;
|
|
2622
2622
|
async function offerSignerCapability(client, account, request, options) {
|
|
2623
|
-
const coder = defaultMoveCoder(client.config
|
|
2623
|
+
const coder = defaultMoveCoder(client.config);
|
|
2624
2624
|
const transaction = await client.transaction.build.simple({
|
|
2625
2625
|
sender: account.accountAddress,
|
|
2626
2626
|
data: {
|
|
@@ -2637,7 +2637,7 @@ export var account;
|
|
|
2637
2637
|
}
|
|
2638
2638
|
entry.offerSignerCapability = offerSignerCapability;
|
|
2639
2639
|
async function revokeAnyRotationCapability(client, account, request, options) {
|
|
2640
|
-
const coder = defaultMoveCoder(client.config
|
|
2640
|
+
const coder = defaultMoveCoder(client.config);
|
|
2641
2641
|
const transaction = await client.transaction.build.simple({
|
|
2642
2642
|
sender: account.accountAddress,
|
|
2643
2643
|
data: {
|
|
@@ -2654,7 +2654,7 @@ export var account;
|
|
|
2654
2654
|
}
|
|
2655
2655
|
entry.revokeAnyRotationCapability = revokeAnyRotationCapability;
|
|
2656
2656
|
async function revokeAnySignerCapability(client, account, request, options) {
|
|
2657
|
-
const coder = defaultMoveCoder(client.config
|
|
2657
|
+
const coder = defaultMoveCoder(client.config);
|
|
2658
2658
|
const transaction = await client.transaction.build.simple({
|
|
2659
2659
|
sender: account.accountAddress,
|
|
2660
2660
|
data: {
|
|
@@ -2671,7 +2671,7 @@ export var account;
|
|
|
2671
2671
|
}
|
|
2672
2672
|
entry.revokeAnySignerCapability = revokeAnySignerCapability;
|
|
2673
2673
|
async function revokeRotationCapability(client, account, request, options) {
|
|
2674
|
-
const coder = defaultMoveCoder(client.config
|
|
2674
|
+
const coder = defaultMoveCoder(client.config);
|
|
2675
2675
|
const transaction = await client.transaction.build.simple({
|
|
2676
2676
|
sender: account.accountAddress,
|
|
2677
2677
|
data: {
|
|
@@ -2688,7 +2688,7 @@ export var account;
|
|
|
2688
2688
|
}
|
|
2689
2689
|
entry.revokeRotationCapability = revokeRotationCapability;
|
|
2690
2690
|
async function revokeSignerCapability(client, account, request, options) {
|
|
2691
|
-
const coder = defaultMoveCoder(client.config
|
|
2691
|
+
const coder = defaultMoveCoder(client.config);
|
|
2692
2692
|
const transaction = await client.transaction.build.simple({
|
|
2693
2693
|
sender: account.accountAddress,
|
|
2694
2694
|
data: {
|
|
@@ -2705,7 +2705,7 @@ export var account;
|
|
|
2705
2705
|
}
|
|
2706
2706
|
entry.revokeSignerCapability = revokeSignerCapability;
|
|
2707
2707
|
async function rotateAuthenticationKey(client, account, request, options) {
|
|
2708
|
-
const coder = defaultMoveCoder(client.config
|
|
2708
|
+
const coder = defaultMoveCoder(client.config);
|
|
2709
2709
|
const transaction = await client.transaction.build.simple({
|
|
2710
2710
|
sender: account.accountAddress,
|
|
2711
2711
|
data: {
|
|
@@ -2722,7 +2722,7 @@ export var account;
|
|
|
2722
2722
|
}
|
|
2723
2723
|
entry.rotateAuthenticationKey = rotateAuthenticationKey;
|
|
2724
2724
|
async function rotateAuthenticationKeyCall(client, account, request, options) {
|
|
2725
|
-
const coder = defaultMoveCoder(client.config
|
|
2725
|
+
const coder = defaultMoveCoder(client.config);
|
|
2726
2726
|
const transaction = await client.transaction.build.simple({
|
|
2727
2727
|
sender: account.accountAddress,
|
|
2728
2728
|
data: {
|
|
@@ -2739,7 +2739,7 @@ export var account;
|
|
|
2739
2739
|
}
|
|
2740
2740
|
entry.rotateAuthenticationKeyCall = rotateAuthenticationKeyCall;
|
|
2741
2741
|
async function rotateAuthenticationKeyFromPublicKey(client, account, request, options) {
|
|
2742
|
-
const coder = defaultMoveCoder(client.config
|
|
2742
|
+
const coder = defaultMoveCoder(client.config);
|
|
2743
2743
|
const transaction = await client.transaction.build.simple({
|
|
2744
2744
|
sender: account.accountAddress,
|
|
2745
2745
|
data: {
|
|
@@ -2756,7 +2756,7 @@ export var account;
|
|
|
2756
2756
|
}
|
|
2757
2757
|
entry.rotateAuthenticationKeyFromPublicKey = rotateAuthenticationKeyFromPublicKey;
|
|
2758
2758
|
async function rotateAuthenticationKeyWithRotationCapability(client, account, request, options) {
|
|
2759
|
-
const coder = defaultMoveCoder(client.config
|
|
2759
|
+
const coder = defaultMoveCoder(client.config);
|
|
2760
2760
|
const transaction = await client.transaction.build.simple({
|
|
2761
2761
|
sender: account.accountAddress,
|
|
2762
2762
|
data: {
|
|
@@ -2773,7 +2773,7 @@ export var account;
|
|
|
2773
2773
|
}
|
|
2774
2774
|
entry.rotateAuthenticationKeyWithRotationCapability = rotateAuthenticationKeyWithRotationCapability;
|
|
2775
2775
|
async function setOriginatingAddress(client, account, request, options) {
|
|
2776
|
-
const coder = defaultMoveCoder(client.config
|
|
2776
|
+
const coder = defaultMoveCoder(client.config);
|
|
2777
2777
|
const transaction = await client.transaction.build.simple({
|
|
2778
2778
|
sender: account.accountAddress,
|
|
2779
2779
|
data: {
|
|
@@ -2790,7 +2790,7 @@ export var account;
|
|
|
2790
2790
|
}
|
|
2791
2791
|
entry.setOriginatingAddress = setOriginatingAddress;
|
|
2792
2792
|
async function upsertEd25519BackupKeyOnKeylessAccount(client, account, request, options) {
|
|
2793
|
-
const coder = defaultMoveCoder(client.config
|
|
2793
|
+
const coder = defaultMoveCoder(client.config);
|
|
2794
2794
|
const transaction = await client.transaction.build.simple({
|
|
2795
2795
|
sender: account.accountAddress,
|
|
2796
2796
|
data: {
|
|
@@ -2810,7 +2810,7 @@ export var account;
|
|
|
2810
2810
|
let view;
|
|
2811
2811
|
(function (view) {
|
|
2812
2812
|
async function existsAt(client, request, version) {
|
|
2813
|
-
const coder = defaultMoveCoder(client.config
|
|
2813
|
+
const coder = defaultMoveCoder(client.config);
|
|
2814
2814
|
const data = {
|
|
2815
2815
|
function: "0x1::account::exists_at",
|
|
2816
2816
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2825,7 +2825,7 @@ export var account;
|
|
|
2825
2825
|
}
|
|
2826
2826
|
view.existsAt = existsAt;
|
|
2827
2827
|
async function getAuthenticationKey(client, request, version) {
|
|
2828
|
-
const coder = defaultMoveCoder(client.config
|
|
2828
|
+
const coder = defaultMoveCoder(client.config);
|
|
2829
2829
|
const data = {
|
|
2830
2830
|
function: "0x1::account::get_authentication_key",
|
|
2831
2831
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2840,7 +2840,7 @@ export var account;
|
|
|
2840
2840
|
}
|
|
2841
2841
|
view.getAuthenticationKey = getAuthenticationKey;
|
|
2842
2842
|
async function getGuidNextCreationNum(client, request, version) {
|
|
2843
|
-
const coder = defaultMoveCoder(client.config
|
|
2843
|
+
const coder = defaultMoveCoder(client.config);
|
|
2844
2844
|
const data = {
|
|
2845
2845
|
function: "0x1::account::get_guid_next_creation_num",
|
|
2846
2846
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2855,7 +2855,7 @@ export var account;
|
|
|
2855
2855
|
}
|
|
2856
2856
|
view.getGuidNextCreationNum = getGuidNextCreationNum;
|
|
2857
2857
|
async function getRotationCapabilityOfferFor(client, request, version) {
|
|
2858
|
-
const coder = defaultMoveCoder(client.config
|
|
2858
|
+
const coder = defaultMoveCoder(client.config);
|
|
2859
2859
|
const data = {
|
|
2860
2860
|
function: "0x1::account::get_rotation_capability_offer_for",
|
|
2861
2861
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2870,7 +2870,7 @@ export var account;
|
|
|
2870
2870
|
}
|
|
2871
2871
|
view.getRotationCapabilityOfferFor = getRotationCapabilityOfferFor;
|
|
2872
2872
|
async function getSequenceNumber(client, request, version) {
|
|
2873
|
-
const coder = defaultMoveCoder(client.config
|
|
2873
|
+
const coder = defaultMoveCoder(client.config);
|
|
2874
2874
|
const data = {
|
|
2875
2875
|
function: "0x1::account::get_sequence_number",
|
|
2876
2876
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2885,7 +2885,7 @@ export var account;
|
|
|
2885
2885
|
}
|
|
2886
2886
|
view.getSequenceNumber = getSequenceNumber;
|
|
2887
2887
|
async function getSignerCapabilityOfferFor(client, request, version) {
|
|
2888
|
-
const coder = defaultMoveCoder(client.config
|
|
2888
|
+
const coder = defaultMoveCoder(client.config);
|
|
2889
2889
|
const data = {
|
|
2890
2890
|
function: "0x1::account::get_signer_capability_offer_for",
|
|
2891
2891
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2900,7 +2900,7 @@ export var account;
|
|
|
2900
2900
|
}
|
|
2901
2901
|
view.getSignerCapabilityOfferFor = getSignerCapabilityOfferFor;
|
|
2902
2902
|
async function isRotationCapabilityOffered(client, request, version) {
|
|
2903
|
-
const coder = defaultMoveCoder(client.config
|
|
2903
|
+
const coder = defaultMoveCoder(client.config);
|
|
2904
2904
|
const data = {
|
|
2905
2905
|
function: "0x1::account::is_rotation_capability_offered",
|
|
2906
2906
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2915,7 +2915,7 @@ export var account;
|
|
|
2915
2915
|
}
|
|
2916
2916
|
view.isRotationCapabilityOffered = isRotationCapabilityOffered;
|
|
2917
2917
|
async function isSignerCapabilityOffered(client, request, version) {
|
|
2918
|
-
const coder = defaultMoveCoder(client.config
|
|
2918
|
+
const coder = defaultMoveCoder(client.config);
|
|
2919
2919
|
const data = {
|
|
2920
2920
|
function: "0x1::account::is_signer_capability_offered",
|
|
2921
2921
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2930,7 +2930,7 @@ export var account;
|
|
|
2930
2930
|
}
|
|
2931
2931
|
view.isSignerCapabilityOffered = isSignerCapabilityOffered;
|
|
2932
2932
|
async function originatingAddress(client, request, version) {
|
|
2933
|
-
const coder = defaultMoveCoder(client.config
|
|
2933
|
+
const coder = defaultMoveCoder(client.config);
|
|
2934
2934
|
const data = {
|
|
2935
2935
|
function: "0x1::account::originating_address",
|
|
2936
2936
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3059,7 +3059,7 @@ export var version;
|
|
|
3059
3059
|
let entry;
|
|
3060
3060
|
(function (entry) {
|
|
3061
3061
|
async function setForNextEpoch(client, account, request, options) {
|
|
3062
|
-
const coder = defaultMoveCoder(client.config
|
|
3062
|
+
const coder = defaultMoveCoder(client.config);
|
|
3063
3063
|
const transaction = await client.transaction.build.simple({
|
|
3064
3064
|
sender: account.accountAddress,
|
|
3065
3065
|
data: {
|
|
@@ -3076,7 +3076,7 @@ export var version;
|
|
|
3076
3076
|
}
|
|
3077
3077
|
entry.setForNextEpoch = setForNextEpoch;
|
|
3078
3078
|
async function setVersion(client, account, request, options) {
|
|
3079
|
-
const coder = defaultMoveCoder(client.config
|
|
3079
|
+
const coder = defaultMoveCoder(client.config);
|
|
3080
3080
|
const transaction = await client.transaction.build.simple({
|
|
3081
3081
|
sender: account.accountAddress,
|
|
3082
3082
|
data: {
|
|
@@ -3333,7 +3333,7 @@ export var vesting;
|
|
|
3333
3333
|
let entry;
|
|
3334
3334
|
(function (entry) {
|
|
3335
3335
|
async function setBeneficiaryForOperator(client, account, request, options) {
|
|
3336
|
-
const coder = defaultMoveCoder(client.config
|
|
3336
|
+
const coder = defaultMoveCoder(client.config);
|
|
3337
3337
|
const transaction = await client.transaction.build.simple({
|
|
3338
3338
|
sender: account.accountAddress,
|
|
3339
3339
|
data: {
|
|
@@ -3350,7 +3350,7 @@ export var vesting;
|
|
|
3350
3350
|
}
|
|
3351
3351
|
entry.setBeneficiaryForOperator = setBeneficiaryForOperator;
|
|
3352
3352
|
async function updateCommissionPercentage(client, account, request, options) {
|
|
3353
|
-
const coder = defaultMoveCoder(client.config
|
|
3353
|
+
const coder = defaultMoveCoder(client.config);
|
|
3354
3354
|
const transaction = await client.transaction.build.simple({
|
|
3355
3355
|
sender: account.accountAddress,
|
|
3356
3356
|
data: {
|
|
@@ -3367,7 +3367,7 @@ export var vesting;
|
|
|
3367
3367
|
}
|
|
3368
3368
|
entry.updateCommissionPercentage = updateCommissionPercentage;
|
|
3369
3369
|
async function distribute(client, account, request, options) {
|
|
3370
|
-
const coder = defaultMoveCoder(client.config
|
|
3370
|
+
const coder = defaultMoveCoder(client.config);
|
|
3371
3371
|
const transaction = await client.transaction.build.simple({
|
|
3372
3372
|
sender: account.accountAddress,
|
|
3373
3373
|
data: {
|
|
@@ -3384,7 +3384,7 @@ export var vesting;
|
|
|
3384
3384
|
}
|
|
3385
3385
|
entry.distribute = distribute;
|
|
3386
3386
|
async function resetLockup(client, account, request, options) {
|
|
3387
|
-
const coder = defaultMoveCoder(client.config
|
|
3387
|
+
const coder = defaultMoveCoder(client.config);
|
|
3388
3388
|
const transaction = await client.transaction.build.simple({
|
|
3389
3389
|
sender: account.accountAddress,
|
|
3390
3390
|
data: {
|
|
@@ -3401,7 +3401,7 @@ export var vesting;
|
|
|
3401
3401
|
}
|
|
3402
3402
|
entry.resetLockup = resetLockup;
|
|
3403
3403
|
async function unlockRewards(client, account, request, options) {
|
|
3404
|
-
const coder = defaultMoveCoder(client.config
|
|
3404
|
+
const coder = defaultMoveCoder(client.config);
|
|
3405
3405
|
const transaction = await client.transaction.build.simple({
|
|
3406
3406
|
sender: account.accountAddress,
|
|
3407
3407
|
data: {
|
|
@@ -3418,7 +3418,7 @@ export var vesting;
|
|
|
3418
3418
|
}
|
|
3419
3419
|
entry.unlockRewards = unlockRewards;
|
|
3420
3420
|
async function updateVoter(client, account, request, options) {
|
|
3421
|
-
const coder = defaultMoveCoder(client.config
|
|
3421
|
+
const coder = defaultMoveCoder(client.config);
|
|
3422
3422
|
const transaction = await client.transaction.build.simple({
|
|
3423
3423
|
sender: account.accountAddress,
|
|
3424
3424
|
data: {
|
|
@@ -3435,7 +3435,7 @@ export var vesting;
|
|
|
3435
3435
|
}
|
|
3436
3436
|
entry.updateVoter = updateVoter;
|
|
3437
3437
|
async function adminWithdraw(client, account, request, options) {
|
|
3438
|
-
const coder = defaultMoveCoder(client.config
|
|
3438
|
+
const coder = defaultMoveCoder(client.config);
|
|
3439
3439
|
const transaction = await client.transaction.build.simple({
|
|
3440
3440
|
sender: account.accountAddress,
|
|
3441
3441
|
data: {
|
|
@@ -3452,7 +3452,7 @@ export var vesting;
|
|
|
3452
3452
|
}
|
|
3453
3453
|
entry.adminWithdraw = adminWithdraw;
|
|
3454
3454
|
async function distributeMany(client, account, request, options) {
|
|
3455
|
-
const coder = defaultMoveCoder(client.config
|
|
3455
|
+
const coder = defaultMoveCoder(client.config);
|
|
3456
3456
|
const transaction = await client.transaction.build.simple({
|
|
3457
3457
|
sender: account.accountAddress,
|
|
3458
3458
|
data: {
|
|
@@ -3469,7 +3469,7 @@ export var vesting;
|
|
|
3469
3469
|
}
|
|
3470
3470
|
entry.distributeMany = distributeMany;
|
|
3471
3471
|
async function resetBeneficiary(client, account, request, options) {
|
|
3472
|
-
const coder = defaultMoveCoder(client.config
|
|
3472
|
+
const coder = defaultMoveCoder(client.config);
|
|
3473
3473
|
const transaction = await client.transaction.build.simple({
|
|
3474
3474
|
sender: account.accountAddress,
|
|
3475
3475
|
data: {
|
|
@@ -3486,7 +3486,7 @@ export var vesting;
|
|
|
3486
3486
|
}
|
|
3487
3487
|
entry.resetBeneficiary = resetBeneficiary;
|
|
3488
3488
|
async function setBeneficiary(client, account, request, options) {
|
|
3489
|
-
const coder = defaultMoveCoder(client.config
|
|
3489
|
+
const coder = defaultMoveCoder(client.config);
|
|
3490
3490
|
const transaction = await client.transaction.build.simple({
|
|
3491
3491
|
sender: account.accountAddress,
|
|
3492
3492
|
data: {
|
|
@@ -3503,7 +3503,7 @@ export var vesting;
|
|
|
3503
3503
|
}
|
|
3504
3504
|
entry.setBeneficiary = setBeneficiary;
|
|
3505
3505
|
async function setBeneficiaryResetter(client, account, request, options) {
|
|
3506
|
-
const coder = defaultMoveCoder(client.config
|
|
3506
|
+
const coder = defaultMoveCoder(client.config);
|
|
3507
3507
|
const transaction = await client.transaction.build.simple({
|
|
3508
3508
|
sender: account.accountAddress,
|
|
3509
3509
|
data: {
|
|
@@ -3520,7 +3520,7 @@ export var vesting;
|
|
|
3520
3520
|
}
|
|
3521
3521
|
entry.setBeneficiaryResetter = setBeneficiaryResetter;
|
|
3522
3522
|
async function setManagementRole(client, account, request, options) {
|
|
3523
|
-
const coder = defaultMoveCoder(client.config
|
|
3523
|
+
const coder = defaultMoveCoder(client.config);
|
|
3524
3524
|
const transaction = await client.transaction.build.simple({
|
|
3525
3525
|
sender: account.accountAddress,
|
|
3526
3526
|
data: {
|
|
@@ -3537,7 +3537,7 @@ export var vesting;
|
|
|
3537
3537
|
}
|
|
3538
3538
|
entry.setManagementRole = setManagementRole;
|
|
3539
3539
|
async function terminateVestingContract(client, account, request, options) {
|
|
3540
|
-
const coder = defaultMoveCoder(client.config
|
|
3540
|
+
const coder = defaultMoveCoder(client.config);
|
|
3541
3541
|
const transaction = await client.transaction.build.simple({
|
|
3542
3542
|
sender: account.accountAddress,
|
|
3543
3543
|
data: {
|
|
@@ -3554,7 +3554,7 @@ export var vesting;
|
|
|
3554
3554
|
}
|
|
3555
3555
|
entry.terminateVestingContract = terminateVestingContract;
|
|
3556
3556
|
async function unlockRewardsMany(client, account, request, options) {
|
|
3557
|
-
const coder = defaultMoveCoder(client.config
|
|
3557
|
+
const coder = defaultMoveCoder(client.config);
|
|
3558
3558
|
const transaction = await client.transaction.build.simple({
|
|
3559
3559
|
sender: account.accountAddress,
|
|
3560
3560
|
data: {
|
|
@@ -3571,7 +3571,7 @@ export var vesting;
|
|
|
3571
3571
|
}
|
|
3572
3572
|
entry.unlockRewardsMany = unlockRewardsMany;
|
|
3573
3573
|
async function updateOperator(client, account, request, options) {
|
|
3574
|
-
const coder = defaultMoveCoder(client.config
|
|
3574
|
+
const coder = defaultMoveCoder(client.config);
|
|
3575
3575
|
const transaction = await client.transaction.build.simple({
|
|
3576
3576
|
sender: account.accountAddress,
|
|
3577
3577
|
data: {
|
|
@@ -3588,7 +3588,7 @@ export var vesting;
|
|
|
3588
3588
|
}
|
|
3589
3589
|
entry.updateOperator = updateOperator;
|
|
3590
3590
|
async function updateOperatorWithSameCommission(client, account, request, options) {
|
|
3591
|
-
const coder = defaultMoveCoder(client.config
|
|
3591
|
+
const coder = defaultMoveCoder(client.config);
|
|
3592
3592
|
const transaction = await client.transaction.build.simple({
|
|
3593
3593
|
sender: account.accountAddress,
|
|
3594
3594
|
data: {
|
|
@@ -3605,7 +3605,7 @@ export var vesting;
|
|
|
3605
3605
|
}
|
|
3606
3606
|
entry.updateOperatorWithSameCommission = updateOperatorWithSameCommission;
|
|
3607
3607
|
async function vest(client, account, request, options) {
|
|
3608
|
-
const coder = defaultMoveCoder(client.config
|
|
3608
|
+
const coder = defaultMoveCoder(client.config);
|
|
3609
3609
|
const transaction = await client.transaction.build.simple({
|
|
3610
3610
|
sender: account.accountAddress,
|
|
3611
3611
|
data: {
|
|
@@ -3622,7 +3622,7 @@ export var vesting;
|
|
|
3622
3622
|
}
|
|
3623
3623
|
entry.vest = vest;
|
|
3624
3624
|
async function vestMany(client, account, request, options) {
|
|
3625
|
-
const coder = defaultMoveCoder(client.config
|
|
3625
|
+
const coder = defaultMoveCoder(client.config);
|
|
3626
3626
|
const transaction = await client.transaction.build.simple({
|
|
3627
3627
|
sender: account.accountAddress,
|
|
3628
3628
|
data: {
|
|
@@ -3642,7 +3642,7 @@ export var vesting;
|
|
|
3642
3642
|
let view;
|
|
3643
3643
|
(function (view) {
|
|
3644
3644
|
async function operator(client, request, version) {
|
|
3645
|
-
const coder = defaultMoveCoder(client.config
|
|
3645
|
+
const coder = defaultMoveCoder(client.config);
|
|
3646
3646
|
const data = {
|
|
3647
3647
|
function: "0x1::vesting::operator",
|
|
3648
3648
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3657,7 +3657,7 @@ export var vesting;
|
|
|
3657
3657
|
}
|
|
3658
3658
|
view.operator = operator;
|
|
3659
3659
|
async function voter(client, request, version) {
|
|
3660
|
-
const coder = defaultMoveCoder(client.config
|
|
3660
|
+
const coder = defaultMoveCoder(client.config);
|
|
3661
3661
|
const data = {
|
|
3662
3662
|
function: "0x1::vesting::voter",
|
|
3663
3663
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3672,7 +3672,7 @@ export var vesting;
|
|
|
3672
3672
|
}
|
|
3673
3673
|
view.voter = voter;
|
|
3674
3674
|
async function shareholder(client, request, version) {
|
|
3675
|
-
const coder = defaultMoveCoder(client.config
|
|
3675
|
+
const coder = defaultMoveCoder(client.config);
|
|
3676
3676
|
const data = {
|
|
3677
3677
|
function: "0x1::vesting::shareholder",
|
|
3678
3678
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3687,7 +3687,7 @@ export var vesting;
|
|
|
3687
3687
|
}
|
|
3688
3688
|
view.shareholder = shareholder;
|
|
3689
3689
|
async function operatorCommissionPercentage(client, request, version) {
|
|
3690
|
-
const coder = defaultMoveCoder(client.config
|
|
3690
|
+
const coder = defaultMoveCoder(client.config);
|
|
3691
3691
|
const data = {
|
|
3692
3692
|
function: "0x1::vesting::operator_commission_percentage",
|
|
3693
3693
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3702,7 +3702,7 @@ export var vesting;
|
|
|
3702
3702
|
}
|
|
3703
3703
|
view.operatorCommissionPercentage = operatorCommissionPercentage;
|
|
3704
3704
|
async function beneficiary(client, request, version) {
|
|
3705
|
-
const coder = defaultMoveCoder(client.config
|
|
3705
|
+
const coder = defaultMoveCoder(client.config);
|
|
3706
3706
|
const data = {
|
|
3707
3707
|
function: "0x1::vesting::beneficiary",
|
|
3708
3708
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3717,7 +3717,7 @@ export var vesting;
|
|
|
3717
3717
|
}
|
|
3718
3718
|
view.beneficiary = beneficiary;
|
|
3719
3719
|
async function shareholders(client, request, version) {
|
|
3720
|
-
const coder = defaultMoveCoder(client.config
|
|
3720
|
+
const coder = defaultMoveCoder(client.config);
|
|
3721
3721
|
const data = {
|
|
3722
3722
|
function: "0x1::vesting::shareholders",
|
|
3723
3723
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3732,7 +3732,7 @@ export var vesting;
|
|
|
3732
3732
|
}
|
|
3733
3733
|
view.shareholders = shareholders;
|
|
3734
3734
|
async function stakePoolAddress(client, request, version) {
|
|
3735
|
-
const coder = defaultMoveCoder(client.config
|
|
3735
|
+
const coder = defaultMoveCoder(client.config);
|
|
3736
3736
|
const data = {
|
|
3737
3737
|
function: "0x1::vesting::stake_pool_address",
|
|
3738
3738
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3747,7 +3747,7 @@ export var vesting;
|
|
|
3747
3747
|
}
|
|
3748
3748
|
view.stakePoolAddress = stakePoolAddress;
|
|
3749
3749
|
async function accumulatedRewards(client, request, version) {
|
|
3750
|
-
const coder = defaultMoveCoder(client.config
|
|
3750
|
+
const coder = defaultMoveCoder(client.config);
|
|
3751
3751
|
const data = {
|
|
3752
3752
|
function: "0x1::vesting::accumulated_rewards",
|
|
3753
3753
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3762,7 +3762,7 @@ export var vesting;
|
|
|
3762
3762
|
}
|
|
3763
3763
|
view.accumulatedRewards = accumulatedRewards;
|
|
3764
3764
|
async function vestingSchedule(client, request, version) {
|
|
3765
|
-
const coder = defaultMoveCoder(client.config
|
|
3765
|
+
const coder = defaultMoveCoder(client.config);
|
|
3766
3766
|
const data = {
|
|
3767
3767
|
function: "0x1::vesting::vesting_schedule",
|
|
3768
3768
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3777,7 +3777,7 @@ export var vesting;
|
|
|
3777
3777
|
}
|
|
3778
3778
|
view.vestingSchedule = vestingSchedule;
|
|
3779
3779
|
async function periodDurationSecs(client, request, version) {
|
|
3780
|
-
const coder = defaultMoveCoder(client.config
|
|
3780
|
+
const coder = defaultMoveCoder(client.config);
|
|
3781
3781
|
const data = {
|
|
3782
3782
|
function: "0x1::vesting::period_duration_secs",
|
|
3783
3783
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3792,7 +3792,7 @@ export var vesting;
|
|
|
3792
3792
|
}
|
|
3793
3793
|
view.periodDurationSecs = periodDurationSecs;
|
|
3794
3794
|
async function remainingGrant(client, request, version) {
|
|
3795
|
-
const coder = defaultMoveCoder(client.config
|
|
3795
|
+
const coder = defaultMoveCoder(client.config);
|
|
3796
3796
|
const data = {
|
|
3797
3797
|
function: "0x1::vesting::remaining_grant",
|
|
3798
3798
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3807,7 +3807,7 @@ export var vesting;
|
|
|
3807
3807
|
}
|
|
3808
3808
|
view.remainingGrant = remainingGrant;
|
|
3809
3809
|
async function totalAccumulatedRewards(client, request, version) {
|
|
3810
|
-
const coder = defaultMoveCoder(client.config
|
|
3810
|
+
const coder = defaultMoveCoder(client.config);
|
|
3811
3811
|
const data = {
|
|
3812
3812
|
function: "0x1::vesting::total_accumulated_rewards",
|
|
3813
3813
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3822,7 +3822,7 @@ export var vesting;
|
|
|
3822
3822
|
}
|
|
3823
3823
|
view.totalAccumulatedRewards = totalAccumulatedRewards;
|
|
3824
3824
|
async function vestingContracts(client, request, version) {
|
|
3825
|
-
const coder = defaultMoveCoder(client.config
|
|
3825
|
+
const coder = defaultMoveCoder(client.config);
|
|
3826
3826
|
const data = {
|
|
3827
3827
|
function: "0x1::vesting::vesting_contracts",
|
|
3828
3828
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3837,7 +3837,7 @@ export var vesting;
|
|
|
3837
3837
|
}
|
|
3838
3838
|
view.vestingContracts = vestingContracts;
|
|
3839
3839
|
async function vestingStartSecs(client, request, version) {
|
|
3840
|
-
const coder = defaultMoveCoder(client.config
|
|
3840
|
+
const coder = defaultMoveCoder(client.config);
|
|
3841
3841
|
const data = {
|
|
3842
3842
|
function: "0x1::vesting::vesting_start_secs",
|
|
3843
3843
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3924,7 +3924,7 @@ export var chain_id;
|
|
|
3924
3924
|
let view;
|
|
3925
3925
|
(function (view) {
|
|
3926
3926
|
async function get(client, version) {
|
|
3927
|
-
const coder = defaultMoveCoder(client.config
|
|
3927
|
+
const coder = defaultMoveCoder(client.config);
|
|
3928
3928
|
const data = {
|
|
3929
3929
|
function: "0x1::chain_id::get",
|
|
3930
3930
|
functionArguments: [],
|
|
@@ -3963,7 +3963,7 @@ export var features;
|
|
|
3963
3963
|
let view;
|
|
3964
3964
|
(function (view) {
|
|
3965
3965
|
async function isEnabled(client, request, version) {
|
|
3966
|
-
const coder = defaultMoveCoder(client.config
|
|
3966
|
+
const coder = defaultMoveCoder(client.config);
|
|
3967
3967
|
const data = {
|
|
3968
3968
|
function: "0x1::features::is_enabled",
|
|
3969
3969
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -4062,7 +4062,7 @@ export var timestamp;
|
|
|
4062
4062
|
let view;
|
|
4063
4063
|
(function (view) {
|
|
4064
4064
|
async function nowMicroseconds(client, version) {
|
|
4065
|
-
const coder = defaultMoveCoder(client.config
|
|
4065
|
+
const coder = defaultMoveCoder(client.config);
|
|
4066
4066
|
const data = {
|
|
4067
4067
|
function: "0x1::timestamp::now_microseconds",
|
|
4068
4068
|
functionArguments: [],
|
|
@@ -4077,7 +4077,7 @@ export var timestamp;
|
|
|
4077
4077
|
}
|
|
4078
4078
|
view.nowMicroseconds = nowMicroseconds;
|
|
4079
4079
|
async function nowSeconds(client, version) {
|
|
4080
|
-
const coder = defaultMoveCoder(client.config
|
|
4080
|
+
const coder = defaultMoveCoder(client.config);
|
|
4081
4081
|
const data = {
|
|
4082
4082
|
function: "0x1::timestamp::now_seconds",
|
|
4083
4083
|
functionArguments: [],
|
|
@@ -4158,7 +4158,7 @@ export var aptos_coin;
|
|
|
4158
4158
|
let entry;
|
|
4159
4159
|
(function (entry) {
|
|
4160
4160
|
async function mint(client, account, request, options) {
|
|
4161
|
-
const coder = defaultMoveCoder(client.config
|
|
4161
|
+
const coder = defaultMoveCoder(client.config);
|
|
4162
4162
|
const transaction = await client.transaction.build.simple({
|
|
4163
4163
|
sender: account.accountAddress,
|
|
4164
4164
|
data: {
|
|
@@ -4175,7 +4175,7 @@ export var aptos_coin;
|
|
|
4175
4175
|
}
|
|
4176
4176
|
entry.mint = mint;
|
|
4177
4177
|
async function claimMintCapability(client, account, request, options) {
|
|
4178
|
-
const coder = defaultMoveCoder(client.config
|
|
4178
|
+
const coder = defaultMoveCoder(client.config);
|
|
4179
4179
|
const transaction = await client.transaction.build.simple({
|
|
4180
4180
|
sender: account.accountAddress,
|
|
4181
4181
|
data: {
|
|
@@ -4192,7 +4192,7 @@ export var aptos_coin;
|
|
|
4192
4192
|
}
|
|
4193
4193
|
entry.claimMintCapability = claimMintCapability;
|
|
4194
4194
|
async function delegateMintCapability(client, account, request, options) {
|
|
4195
|
-
const coder = defaultMoveCoder(client.config
|
|
4195
|
+
const coder = defaultMoveCoder(client.config);
|
|
4196
4196
|
const transaction = await client.transaction.build.simple({
|
|
4197
4197
|
sender: account.accountAddress,
|
|
4198
4198
|
data: {
|
|
@@ -4224,7 +4224,7 @@ export var bcs_stream;
|
|
|
4224
4224
|
let entry;
|
|
4225
4225
|
(function (entry) {
|
|
4226
4226
|
async function deserializeU256Entry(client, account, request, options) {
|
|
4227
|
-
const coder = defaultMoveCoder(client.config
|
|
4227
|
+
const coder = defaultMoveCoder(client.config);
|
|
4228
4228
|
const transaction = await client.transaction.build.simple({
|
|
4229
4229
|
sender: account.accountAddress,
|
|
4230
4230
|
data: {
|
|
@@ -4484,7 +4484,7 @@ export var chain_status;
|
|
|
4484
4484
|
let view;
|
|
4485
4485
|
(function (view) {
|
|
4486
4486
|
async function isGenesis(client, version) {
|
|
4487
|
-
const coder = defaultMoveCoder(client.config
|
|
4487
|
+
const coder = defaultMoveCoder(client.config);
|
|
4488
4488
|
const data = {
|
|
4489
4489
|
function: "0x1::chain_status::is_genesis",
|
|
4490
4490
|
functionArguments: [],
|
|
@@ -4499,7 +4499,7 @@ export var chain_status;
|
|
|
4499
4499
|
}
|
|
4500
4500
|
view.isGenesis = isGenesis;
|
|
4501
4501
|
async function isOperating(client, version) {
|
|
4502
|
-
const coder = defaultMoveCoder(client.config
|
|
4502
|
+
const coder = defaultMoveCoder(client.config);
|
|
4503
4503
|
const data = {
|
|
4504
4504
|
function: "0x1::chain_status::is_operating",
|
|
4505
4505
|
functionArguments: [],
|
|
@@ -4571,7 +4571,7 @@ export var managed_coin;
|
|
|
4571
4571
|
let entry;
|
|
4572
4572
|
(function (entry) {
|
|
4573
4573
|
async function initialize(client, account, request, options) {
|
|
4574
|
-
const coder = defaultMoveCoder(client.config
|
|
4574
|
+
const coder = defaultMoveCoder(client.config);
|
|
4575
4575
|
const transaction = await client.transaction.build.simple({
|
|
4576
4576
|
sender: account.accountAddress,
|
|
4577
4577
|
data: {
|
|
@@ -4588,7 +4588,7 @@ export var managed_coin;
|
|
|
4588
4588
|
}
|
|
4589
4589
|
entry.initialize = initialize;
|
|
4590
4590
|
async function burn(client, account, request, options) {
|
|
4591
|
-
const coder = defaultMoveCoder(client.config
|
|
4591
|
+
const coder = defaultMoveCoder(client.config);
|
|
4592
4592
|
const transaction = await client.transaction.build.simple({
|
|
4593
4593
|
sender: account.accountAddress,
|
|
4594
4594
|
data: {
|
|
@@ -4605,7 +4605,7 @@ export var managed_coin;
|
|
|
4605
4605
|
}
|
|
4606
4606
|
entry.burn = burn;
|
|
4607
4607
|
async function mint(client, account, request, options) {
|
|
4608
|
-
const coder = defaultMoveCoder(client.config
|
|
4608
|
+
const coder = defaultMoveCoder(client.config);
|
|
4609
4609
|
const transaction = await client.transaction.build.simple({
|
|
4610
4610
|
sender: account.accountAddress,
|
|
4611
4611
|
data: {
|
|
@@ -4622,7 +4622,7 @@ export var managed_coin;
|
|
|
4622
4622
|
}
|
|
4623
4623
|
entry.mint = mint;
|
|
4624
4624
|
async function register(client, account, request, options) {
|
|
4625
|
-
const coder = defaultMoveCoder(client.config
|
|
4625
|
+
const coder = defaultMoveCoder(client.config);
|
|
4626
4626
|
const transaction = await client.transaction.build.simple({
|
|
4627
4627
|
sender: account.accountAddress,
|
|
4628
4628
|
data: {
|
|
@@ -4639,7 +4639,7 @@ export var managed_coin;
|
|
|
4639
4639
|
}
|
|
4640
4640
|
entry.register = register;
|
|
4641
4641
|
async function destroyCaps(client, account, request, options) {
|
|
4642
|
-
const coder = defaultMoveCoder(client.config
|
|
4642
|
+
const coder = defaultMoveCoder(client.config);
|
|
4643
4643
|
const transaction = await client.transaction.build.simple({
|
|
4644
4644
|
sender: account.accountAddress,
|
|
4645
4645
|
data: {
|
|
@@ -4803,7 +4803,7 @@ export var aptos_account;
|
|
|
4803
4803
|
let entry;
|
|
4804
4804
|
(function (entry) {
|
|
4805
4805
|
async function createAccount(client, account, request, options) {
|
|
4806
|
-
const coder = defaultMoveCoder(client.config
|
|
4806
|
+
const coder = defaultMoveCoder(client.config);
|
|
4807
4807
|
const transaction = await client.transaction.build.simple({
|
|
4808
4808
|
sender: account.accountAddress,
|
|
4809
4809
|
data: {
|
|
@@ -4820,7 +4820,7 @@ export var aptos_account;
|
|
|
4820
4820
|
}
|
|
4821
4821
|
entry.createAccount = createAccount;
|
|
4822
4822
|
async function transfer(client, account, request, options) {
|
|
4823
|
-
const coder = defaultMoveCoder(client.config
|
|
4823
|
+
const coder = defaultMoveCoder(client.config);
|
|
4824
4824
|
const transaction = await client.transaction.build.simple({
|
|
4825
4825
|
sender: account.accountAddress,
|
|
4826
4826
|
data: {
|
|
@@ -4837,7 +4837,7 @@ export var aptos_account;
|
|
|
4837
4837
|
}
|
|
4838
4838
|
entry.transfer = transfer;
|
|
4839
4839
|
async function batchTransfer(client, account, request, options) {
|
|
4840
|
-
const coder = defaultMoveCoder(client.config
|
|
4840
|
+
const coder = defaultMoveCoder(client.config);
|
|
4841
4841
|
const transaction = await client.transaction.build.simple({
|
|
4842
4842
|
sender: account.accountAddress,
|
|
4843
4843
|
data: {
|
|
@@ -4854,7 +4854,7 @@ export var aptos_account;
|
|
|
4854
4854
|
}
|
|
4855
4855
|
entry.batchTransfer = batchTransfer;
|
|
4856
4856
|
async function batchTransferCoins(client, account, request, options) {
|
|
4857
|
-
const coder = defaultMoveCoder(client.config
|
|
4857
|
+
const coder = defaultMoveCoder(client.config);
|
|
4858
4858
|
const transaction = await client.transaction.build.simple({
|
|
4859
4859
|
sender: account.accountAddress,
|
|
4860
4860
|
data: {
|
|
@@ -4871,7 +4871,7 @@ export var aptos_account;
|
|
|
4871
4871
|
}
|
|
4872
4872
|
entry.batchTransferCoins = batchTransferCoins;
|
|
4873
4873
|
async function batchTransferFungibleAssets(client, account, request, options) {
|
|
4874
|
-
const coder = defaultMoveCoder(client.config
|
|
4874
|
+
const coder = defaultMoveCoder(client.config);
|
|
4875
4875
|
const transaction = await client.transaction.build.simple({
|
|
4876
4876
|
sender: account.accountAddress,
|
|
4877
4877
|
data: {
|
|
@@ -4888,7 +4888,7 @@ export var aptos_account;
|
|
|
4888
4888
|
}
|
|
4889
4889
|
entry.batchTransferFungibleAssets = batchTransferFungibleAssets;
|
|
4890
4890
|
async function fungibleTransferOnly(client, account, request, options) {
|
|
4891
|
-
const coder = defaultMoveCoder(client.config
|
|
4891
|
+
const coder = defaultMoveCoder(client.config);
|
|
4892
4892
|
const transaction = await client.transaction.build.simple({
|
|
4893
4893
|
sender: account.accountAddress,
|
|
4894
4894
|
data: {
|
|
@@ -4905,7 +4905,7 @@ export var aptos_account;
|
|
|
4905
4905
|
}
|
|
4906
4906
|
entry.fungibleTransferOnly = fungibleTransferOnly;
|
|
4907
4907
|
async function setAllowDirectCoinTransfers(client, account, request, options) {
|
|
4908
|
-
const coder = defaultMoveCoder(client.config
|
|
4908
|
+
const coder = defaultMoveCoder(client.config);
|
|
4909
4909
|
const transaction = await client.transaction.build.simple({
|
|
4910
4910
|
sender: account.accountAddress,
|
|
4911
4911
|
data: {
|
|
@@ -4922,7 +4922,7 @@ export var aptos_account;
|
|
|
4922
4922
|
}
|
|
4923
4923
|
entry.setAllowDirectCoinTransfers = setAllowDirectCoinTransfers;
|
|
4924
4924
|
async function transferCoins(client, account, request, options) {
|
|
4925
|
-
const coder = defaultMoveCoder(client.config
|
|
4925
|
+
const coder = defaultMoveCoder(client.config);
|
|
4926
4926
|
const transaction = await client.transaction.build.simple({
|
|
4927
4927
|
sender: account.accountAddress,
|
|
4928
4928
|
data: {
|
|
@@ -4939,7 +4939,7 @@ export var aptos_account;
|
|
|
4939
4939
|
}
|
|
4940
4940
|
entry.transferCoins = transferCoins;
|
|
4941
4941
|
async function transferFungibleAssets(client, account, request, options) {
|
|
4942
|
-
const coder = defaultMoveCoder(client.config
|
|
4942
|
+
const coder = defaultMoveCoder(client.config);
|
|
4943
4943
|
const transaction = await client.transaction.build.simple({
|
|
4944
4944
|
sender: account.accountAddress,
|
|
4945
4945
|
data: {
|
|
@@ -4959,7 +4959,7 @@ export var aptos_account;
|
|
|
4959
4959
|
let view;
|
|
4960
4960
|
(function (view) {
|
|
4961
4961
|
async function canReceiveDirectCoinTransfers(client, request, version) {
|
|
4962
|
-
const coder = defaultMoveCoder(client.config
|
|
4962
|
+
const coder = defaultMoveCoder(client.config);
|
|
4963
4963
|
const data = {
|
|
4964
4964
|
function: "0x1::aptos_account::can_receive_direct_coin_transfers",
|
|
4965
4965
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5214,7 +5214,7 @@ export var staking_proxy;
|
|
|
5214
5214
|
let entry;
|
|
5215
5215
|
(function (entry) {
|
|
5216
5216
|
async function setOperator(client, account, request, options) {
|
|
5217
|
-
const coder = defaultMoveCoder(client.config
|
|
5217
|
+
const coder = defaultMoveCoder(client.config);
|
|
5218
5218
|
const transaction = await client.transaction.build.simple({
|
|
5219
5219
|
sender: account.accountAddress,
|
|
5220
5220
|
data: {
|
|
@@ -5231,7 +5231,7 @@ export var staking_proxy;
|
|
|
5231
5231
|
}
|
|
5232
5232
|
entry.setOperator = setOperator;
|
|
5233
5233
|
async function setStakePoolOperator(client, account, request, options) {
|
|
5234
|
-
const coder = defaultMoveCoder(client.config
|
|
5234
|
+
const coder = defaultMoveCoder(client.config);
|
|
5235
5235
|
const transaction = await client.transaction.build.simple({
|
|
5236
5236
|
sender: account.accountAddress,
|
|
5237
5237
|
data: {
|
|
@@ -5248,7 +5248,7 @@ export var staking_proxy;
|
|
|
5248
5248
|
}
|
|
5249
5249
|
entry.setStakePoolOperator = setStakePoolOperator;
|
|
5250
5250
|
async function setStakePoolVoter(client, account, request, options) {
|
|
5251
|
-
const coder = defaultMoveCoder(client.config
|
|
5251
|
+
const coder = defaultMoveCoder(client.config);
|
|
5252
5252
|
const transaction = await client.transaction.build.simple({
|
|
5253
5253
|
sender: account.accountAddress,
|
|
5254
5254
|
data: {
|
|
@@ -5265,7 +5265,7 @@ export var staking_proxy;
|
|
|
5265
5265
|
}
|
|
5266
5266
|
entry.setStakePoolVoter = setStakePoolVoter;
|
|
5267
5267
|
async function setStakingContractOperator(client, account, request, options) {
|
|
5268
|
-
const coder = defaultMoveCoder(client.config
|
|
5268
|
+
const coder = defaultMoveCoder(client.config);
|
|
5269
5269
|
const transaction = await client.transaction.build.simple({
|
|
5270
5270
|
sender: account.accountAddress,
|
|
5271
5271
|
data: {
|
|
@@ -5282,7 +5282,7 @@ export var staking_proxy;
|
|
|
5282
5282
|
}
|
|
5283
5283
|
entry.setStakingContractOperator = setStakingContractOperator;
|
|
5284
5284
|
async function setStakingContractVoter(client, account, request, options) {
|
|
5285
|
-
const coder = defaultMoveCoder(client.config
|
|
5285
|
+
const coder = defaultMoveCoder(client.config);
|
|
5286
5286
|
const transaction = await client.transaction.build.simple({
|
|
5287
5287
|
sender: account.accountAddress,
|
|
5288
5288
|
data: {
|
|
@@ -5299,7 +5299,7 @@ export var staking_proxy;
|
|
|
5299
5299
|
}
|
|
5300
5300
|
entry.setStakingContractVoter = setStakingContractVoter;
|
|
5301
5301
|
async function setVestingContractOperator(client, account, request, options) {
|
|
5302
|
-
const coder = defaultMoveCoder(client.config
|
|
5302
|
+
const coder = defaultMoveCoder(client.config);
|
|
5303
5303
|
const transaction = await client.transaction.build.simple({
|
|
5304
5304
|
sender: account.accountAddress,
|
|
5305
5305
|
data: {
|
|
@@ -5316,7 +5316,7 @@ export var staking_proxy;
|
|
|
5316
5316
|
}
|
|
5317
5317
|
entry.setVestingContractOperator = setVestingContractOperator;
|
|
5318
5318
|
async function setVestingContractVoter(client, account, request, options) {
|
|
5319
|
-
const coder = defaultMoveCoder(client.config
|
|
5319
|
+
const coder = defaultMoveCoder(client.config);
|
|
5320
5320
|
const transaction = await client.transaction.build.simple({
|
|
5321
5321
|
sender: account.accountAddress,
|
|
5322
5322
|
data: {
|
|
@@ -5333,7 +5333,7 @@ export var staking_proxy;
|
|
|
5333
5333
|
}
|
|
5334
5334
|
entry.setVestingContractVoter = setVestingContractVoter;
|
|
5335
5335
|
async function setVoter(client, account, request, options) {
|
|
5336
|
-
const coder = defaultMoveCoder(client.config
|
|
5336
|
+
const coder = defaultMoveCoder(client.config);
|
|
5337
5337
|
const transaction = await client.transaction.build.simple({
|
|
5338
5338
|
sender: account.accountAddress,
|
|
5339
5339
|
data: {
|
|
@@ -5614,7 +5614,7 @@ export var fungible_asset;
|
|
|
5614
5614
|
let entry;
|
|
5615
5615
|
(function (entry) {
|
|
5616
5616
|
async function transfer(client, account, request, options) {
|
|
5617
|
-
const coder = defaultMoveCoder(client.config
|
|
5617
|
+
const coder = defaultMoveCoder(client.config);
|
|
5618
5618
|
const transaction = await client.transaction.build.simple({
|
|
5619
5619
|
sender: account.accountAddress,
|
|
5620
5620
|
data: {
|
|
@@ -5631,7 +5631,7 @@ export var fungible_asset;
|
|
|
5631
5631
|
}
|
|
5632
5632
|
entry.transfer = transfer;
|
|
5633
5633
|
async function upgradeStoreToConcurrent(client, account, request, options) {
|
|
5634
|
-
const coder = defaultMoveCoder(client.config
|
|
5634
|
+
const coder = defaultMoveCoder(client.config);
|
|
5635
5635
|
const transaction = await client.transaction.build.simple({
|
|
5636
5636
|
sender: account.accountAddress,
|
|
5637
5637
|
data: {
|
|
@@ -5651,7 +5651,7 @@ export var fungible_asset;
|
|
|
5651
5651
|
let view;
|
|
5652
5652
|
(function (view) {
|
|
5653
5653
|
async function isUntransferable(client, request, version) {
|
|
5654
|
-
const coder = defaultMoveCoder(client.config
|
|
5654
|
+
const coder = defaultMoveCoder(client.config);
|
|
5655
5655
|
const data = {
|
|
5656
5656
|
function: "0x1::fungible_asset::is_untransferable",
|
|
5657
5657
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5666,7 +5666,7 @@ export var fungible_asset;
|
|
|
5666
5666
|
}
|
|
5667
5667
|
view.isUntransferable = isUntransferable;
|
|
5668
5668
|
async function name(client, request, version) {
|
|
5669
|
-
const coder = defaultMoveCoder(client.config
|
|
5669
|
+
const coder = defaultMoveCoder(client.config);
|
|
5670
5670
|
const data = {
|
|
5671
5671
|
function: "0x1::fungible_asset::name",
|
|
5672
5672
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5681,7 +5681,7 @@ export var fungible_asset;
|
|
|
5681
5681
|
}
|
|
5682
5682
|
view.name = name;
|
|
5683
5683
|
async function symbol$(client, request, version) {
|
|
5684
|
-
const coder = defaultMoveCoder(client.config
|
|
5684
|
+
const coder = defaultMoveCoder(client.config);
|
|
5685
5685
|
const data = {
|
|
5686
5686
|
function: "0x1::fungible_asset::symbol",
|
|
5687
5687
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5696,7 +5696,7 @@ export var fungible_asset;
|
|
|
5696
5696
|
}
|
|
5697
5697
|
view.symbol$ = symbol$;
|
|
5698
5698
|
async function decimals(client, request, version) {
|
|
5699
|
-
const coder = defaultMoveCoder(client.config
|
|
5699
|
+
const coder = defaultMoveCoder(client.config);
|
|
5700
5700
|
const data = {
|
|
5701
5701
|
function: "0x1::fungible_asset::decimals",
|
|
5702
5702
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5711,7 +5711,7 @@ export var fungible_asset;
|
|
|
5711
5711
|
}
|
|
5712
5712
|
view.decimals = decimals;
|
|
5713
5713
|
async function iconUri(client, request, version) {
|
|
5714
|
-
const coder = defaultMoveCoder(client.config
|
|
5714
|
+
const coder = defaultMoveCoder(client.config);
|
|
5715
5715
|
const data = {
|
|
5716
5716
|
function: "0x1::fungible_asset::icon_uri",
|
|
5717
5717
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5726,7 +5726,7 @@ export var fungible_asset;
|
|
|
5726
5726
|
}
|
|
5727
5727
|
view.iconUri = iconUri;
|
|
5728
5728
|
async function projectUri(client, request, version) {
|
|
5729
|
-
const coder = defaultMoveCoder(client.config
|
|
5729
|
+
const coder = defaultMoveCoder(client.config);
|
|
5730
5730
|
const data = {
|
|
5731
5731
|
function: "0x1::fungible_asset::project_uri",
|
|
5732
5732
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5741,7 +5741,7 @@ export var fungible_asset;
|
|
|
5741
5741
|
}
|
|
5742
5742
|
view.projectUri = projectUri;
|
|
5743
5743
|
async function balance(client, request, version) {
|
|
5744
|
-
const coder = defaultMoveCoder(client.config
|
|
5744
|
+
const coder = defaultMoveCoder(client.config);
|
|
5745
5745
|
const data = {
|
|
5746
5746
|
function: "0x1::fungible_asset::balance",
|
|
5747
5747
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5756,7 +5756,7 @@ export var fungible_asset;
|
|
|
5756
5756
|
}
|
|
5757
5757
|
view.balance = balance;
|
|
5758
5758
|
async function metadata(client, request, version) {
|
|
5759
|
-
const coder = defaultMoveCoder(client.config
|
|
5759
|
+
const coder = defaultMoveCoder(client.config);
|
|
5760
5760
|
const data = {
|
|
5761
5761
|
function: "0x1::fungible_asset::metadata",
|
|
5762
5762
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5771,7 +5771,7 @@ export var fungible_asset;
|
|
|
5771
5771
|
}
|
|
5772
5772
|
view.metadata = metadata;
|
|
5773
5773
|
async function isBalanceAtLeast(client, request, version) {
|
|
5774
|
-
const coder = defaultMoveCoder(client.config
|
|
5774
|
+
const coder = defaultMoveCoder(client.config);
|
|
5775
5775
|
const data = {
|
|
5776
5776
|
function: "0x1::fungible_asset::is_balance_at_least",
|
|
5777
5777
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5786,7 +5786,7 @@ export var fungible_asset;
|
|
|
5786
5786
|
}
|
|
5787
5787
|
view.isBalanceAtLeast = isBalanceAtLeast;
|
|
5788
5788
|
async function isFrozen(client, request, version) {
|
|
5789
|
-
const coder = defaultMoveCoder(client.config
|
|
5789
|
+
const coder = defaultMoveCoder(client.config);
|
|
5790
5790
|
const data = {
|
|
5791
5791
|
function: "0x1::fungible_asset::is_frozen",
|
|
5792
5792
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5801,7 +5801,7 @@ export var fungible_asset;
|
|
|
5801
5801
|
}
|
|
5802
5802
|
view.isFrozen = isFrozen;
|
|
5803
5803
|
async function isStoreDispatchable(client, request, version) {
|
|
5804
|
-
const coder = defaultMoveCoder(client.config
|
|
5804
|
+
const coder = defaultMoveCoder(client.config);
|
|
5805
5805
|
const data = {
|
|
5806
5806
|
function: "0x1::fungible_asset::is_store_dispatchable",
|
|
5807
5807
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5816,7 +5816,7 @@ export var fungible_asset;
|
|
|
5816
5816
|
}
|
|
5817
5817
|
view.isStoreDispatchable = isStoreDispatchable;
|
|
5818
5818
|
async function maximum(client, request, version) {
|
|
5819
|
-
const coder = defaultMoveCoder(client.config
|
|
5819
|
+
const coder = defaultMoveCoder(client.config);
|
|
5820
5820
|
const data = {
|
|
5821
5821
|
function: "0x1::fungible_asset::maximum",
|
|
5822
5822
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5831,7 +5831,7 @@ export var fungible_asset;
|
|
|
5831
5831
|
}
|
|
5832
5832
|
view.maximum = maximum;
|
|
5833
5833
|
async function storeExists(client, request, version) {
|
|
5834
|
-
const coder = defaultMoveCoder(client.config
|
|
5834
|
+
const coder = defaultMoveCoder(client.config);
|
|
5835
5835
|
const data = {
|
|
5836
5836
|
function: "0x1::fungible_asset::store_exists",
|
|
5837
5837
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5846,7 +5846,7 @@ export var fungible_asset;
|
|
|
5846
5846
|
}
|
|
5847
5847
|
view.storeExists = storeExists;
|
|
5848
5848
|
async function storeMetadata(client, request, version) {
|
|
5849
|
-
const coder = defaultMoveCoder(client.config
|
|
5849
|
+
const coder = defaultMoveCoder(client.config);
|
|
5850
5850
|
const data = {
|
|
5851
5851
|
function: "0x1::fungible_asset::store_metadata",
|
|
5852
5852
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5861,7 +5861,7 @@ export var fungible_asset;
|
|
|
5861
5861
|
}
|
|
5862
5862
|
view.storeMetadata = storeMetadata;
|
|
5863
5863
|
async function supply(client, request, version) {
|
|
5864
|
-
const coder = defaultMoveCoder(client.config
|
|
5864
|
+
const coder = defaultMoveCoder(client.config);
|
|
5865
5865
|
const data = {
|
|
5866
5866
|
function: "0x1::fungible_asset::supply",
|
|
5867
5867
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5900,7 +5900,7 @@ export var staking_config;
|
|
|
5900
5900
|
let view;
|
|
5901
5901
|
(function (view) {
|
|
5902
5902
|
async function rewardRate(client, version) {
|
|
5903
|
-
const coder = defaultMoveCoder(client.config
|
|
5903
|
+
const coder = defaultMoveCoder(client.config);
|
|
5904
5904
|
const data = {
|
|
5905
5905
|
function: "0x1::staking_config::reward_rate",
|
|
5906
5906
|
functionArguments: [],
|
|
@@ -6266,7 +6266,7 @@ export var delegation_pool;
|
|
|
6266
6266
|
let entry;
|
|
6267
6267
|
(function (entry) {
|
|
6268
6268
|
async function withdraw(client, account, request, options) {
|
|
6269
|
-
const coder = defaultMoveCoder(client.config
|
|
6269
|
+
const coder = defaultMoveCoder(client.config);
|
|
6270
6270
|
const transaction = await client.transaction.build.simple({
|
|
6271
6271
|
sender: account.accountAddress,
|
|
6272
6272
|
data: {
|
|
@@ -6283,7 +6283,7 @@ export var delegation_pool;
|
|
|
6283
6283
|
}
|
|
6284
6284
|
entry.withdraw = withdraw;
|
|
6285
6285
|
async function createProposal(client, account, request, options) {
|
|
6286
|
-
const coder = defaultMoveCoder(client.config
|
|
6286
|
+
const coder = defaultMoveCoder(client.config);
|
|
6287
6287
|
const transaction = await client.transaction.build.simple({
|
|
6288
6288
|
sender: account.accountAddress,
|
|
6289
6289
|
data: {
|
|
@@ -6300,7 +6300,7 @@ export var delegation_pool;
|
|
|
6300
6300
|
}
|
|
6301
6301
|
entry.createProposal = createProposal;
|
|
6302
6302
|
async function vote(client, account, request, options) {
|
|
6303
|
-
const coder = defaultMoveCoder(client.config
|
|
6303
|
+
const coder = defaultMoveCoder(client.config);
|
|
6304
6304
|
const transaction = await client.transaction.build.simple({
|
|
6305
6305
|
sender: account.accountAddress,
|
|
6306
6306
|
data: {
|
|
@@ -6317,7 +6317,7 @@ export var delegation_pool;
|
|
|
6317
6317
|
}
|
|
6318
6318
|
entry.vote = vote;
|
|
6319
6319
|
async function addStake(client, account, request, options) {
|
|
6320
|
-
const coder = defaultMoveCoder(client.config
|
|
6320
|
+
const coder = defaultMoveCoder(client.config);
|
|
6321
6321
|
const transaction = await client.transaction.build.simple({
|
|
6322
6322
|
sender: account.accountAddress,
|
|
6323
6323
|
data: {
|
|
@@ -6334,7 +6334,7 @@ export var delegation_pool;
|
|
|
6334
6334
|
}
|
|
6335
6335
|
entry.addStake = addStake;
|
|
6336
6336
|
async function reactivateStake(client, account, request, options) {
|
|
6337
|
-
const coder = defaultMoveCoder(client.config
|
|
6337
|
+
const coder = defaultMoveCoder(client.config);
|
|
6338
6338
|
const transaction = await client.transaction.build.simple({
|
|
6339
6339
|
sender: account.accountAddress,
|
|
6340
6340
|
data: {
|
|
@@ -6351,7 +6351,7 @@ export var delegation_pool;
|
|
|
6351
6351
|
}
|
|
6352
6352
|
entry.reactivateStake = reactivateStake;
|
|
6353
6353
|
async function setDelegatedVoter(client, account, request, options) {
|
|
6354
|
-
const coder = defaultMoveCoder(client.config
|
|
6354
|
+
const coder = defaultMoveCoder(client.config);
|
|
6355
6355
|
const transaction = await client.transaction.build.simple({
|
|
6356
6356
|
sender: account.accountAddress,
|
|
6357
6357
|
data: {
|
|
@@ -6368,7 +6368,7 @@ export var delegation_pool;
|
|
|
6368
6368
|
}
|
|
6369
6369
|
entry.setDelegatedVoter = setDelegatedVoter;
|
|
6370
6370
|
async function setOperator(client, account, request, options) {
|
|
6371
|
-
const coder = defaultMoveCoder(client.config
|
|
6371
|
+
const coder = defaultMoveCoder(client.config);
|
|
6372
6372
|
const transaction = await client.transaction.build.simple({
|
|
6373
6373
|
sender: account.accountAddress,
|
|
6374
6374
|
data: {
|
|
@@ -6385,7 +6385,7 @@ export var delegation_pool;
|
|
|
6385
6385
|
}
|
|
6386
6386
|
entry.setOperator = setOperator;
|
|
6387
6387
|
async function unlock(client, account, request, options) {
|
|
6388
|
-
const coder = defaultMoveCoder(client.config
|
|
6388
|
+
const coder = defaultMoveCoder(client.config);
|
|
6389
6389
|
const transaction = await client.transaction.build.simple({
|
|
6390
6390
|
sender: account.accountAddress,
|
|
6391
6391
|
data: {
|
|
@@ -6402,7 +6402,7 @@ export var delegation_pool;
|
|
|
6402
6402
|
}
|
|
6403
6403
|
entry.unlock = unlock;
|
|
6404
6404
|
async function allowlistDelegator(client, account, request, options) {
|
|
6405
|
-
const coder = defaultMoveCoder(client.config
|
|
6405
|
+
const coder = defaultMoveCoder(client.config);
|
|
6406
6406
|
const transaction = await client.transaction.build.simple({
|
|
6407
6407
|
sender: account.accountAddress,
|
|
6408
6408
|
data: {
|
|
@@ -6419,7 +6419,7 @@ export var delegation_pool;
|
|
|
6419
6419
|
}
|
|
6420
6420
|
entry.allowlistDelegator = allowlistDelegator;
|
|
6421
6421
|
async function delegateVotingPower(client, account, request, options) {
|
|
6422
|
-
const coder = defaultMoveCoder(client.config
|
|
6422
|
+
const coder = defaultMoveCoder(client.config);
|
|
6423
6423
|
const transaction = await client.transaction.build.simple({
|
|
6424
6424
|
sender: account.accountAddress,
|
|
6425
6425
|
data: {
|
|
@@ -6436,7 +6436,7 @@ export var delegation_pool;
|
|
|
6436
6436
|
}
|
|
6437
6437
|
entry.delegateVotingPower = delegateVotingPower;
|
|
6438
6438
|
async function disableDelegatorsAllowlisting(client, account, request, options) {
|
|
6439
|
-
const coder = defaultMoveCoder(client.config
|
|
6439
|
+
const coder = defaultMoveCoder(client.config);
|
|
6440
6440
|
const transaction = await client.transaction.build.simple({
|
|
6441
6441
|
sender: account.accountAddress,
|
|
6442
6442
|
data: {
|
|
@@ -6453,7 +6453,7 @@ export var delegation_pool;
|
|
|
6453
6453
|
}
|
|
6454
6454
|
entry.disableDelegatorsAllowlisting = disableDelegatorsAllowlisting;
|
|
6455
6455
|
async function enableDelegatorsAllowlisting(client, account, request, options) {
|
|
6456
|
-
const coder = defaultMoveCoder(client.config
|
|
6456
|
+
const coder = defaultMoveCoder(client.config);
|
|
6457
6457
|
const transaction = await client.transaction.build.simple({
|
|
6458
6458
|
sender: account.accountAddress,
|
|
6459
6459
|
data: {
|
|
@@ -6470,7 +6470,7 @@ export var delegation_pool;
|
|
|
6470
6470
|
}
|
|
6471
6471
|
entry.enableDelegatorsAllowlisting = enableDelegatorsAllowlisting;
|
|
6472
6472
|
async function enablePartialGovernanceVoting(client, account, request, options) {
|
|
6473
|
-
const coder = defaultMoveCoder(client.config
|
|
6473
|
+
const coder = defaultMoveCoder(client.config);
|
|
6474
6474
|
const transaction = await client.transaction.build.simple({
|
|
6475
6475
|
sender: account.accountAddress,
|
|
6476
6476
|
data: {
|
|
@@ -6487,7 +6487,7 @@ export var delegation_pool;
|
|
|
6487
6487
|
}
|
|
6488
6488
|
entry.enablePartialGovernanceVoting = enablePartialGovernanceVoting;
|
|
6489
6489
|
async function evictDelegator(client, account, request, options) {
|
|
6490
|
-
const coder = defaultMoveCoder(client.config
|
|
6490
|
+
const coder = defaultMoveCoder(client.config);
|
|
6491
6491
|
const transaction = await client.transaction.build.simple({
|
|
6492
6492
|
sender: account.accountAddress,
|
|
6493
6493
|
data: {
|
|
@@ -6504,7 +6504,7 @@ export var delegation_pool;
|
|
|
6504
6504
|
}
|
|
6505
6505
|
entry.evictDelegator = evictDelegator;
|
|
6506
6506
|
async function initializeDelegationPool(client, account, request, options) {
|
|
6507
|
-
const coder = defaultMoveCoder(client.config
|
|
6507
|
+
const coder = defaultMoveCoder(client.config);
|
|
6508
6508
|
const transaction = await client.transaction.build.simple({
|
|
6509
6509
|
sender: account.accountAddress,
|
|
6510
6510
|
data: {
|
|
@@ -6521,7 +6521,7 @@ export var delegation_pool;
|
|
|
6521
6521
|
}
|
|
6522
6522
|
entry.initializeDelegationPool = initializeDelegationPool;
|
|
6523
6523
|
async function removeDelegatorFromAllowlist(client, account, request, options) {
|
|
6524
|
-
const coder = defaultMoveCoder(client.config
|
|
6524
|
+
const coder = defaultMoveCoder(client.config);
|
|
6525
6525
|
const transaction = await client.transaction.build.simple({
|
|
6526
6526
|
sender: account.accountAddress,
|
|
6527
6527
|
data: {
|
|
@@ -6538,7 +6538,7 @@ export var delegation_pool;
|
|
|
6538
6538
|
}
|
|
6539
6539
|
entry.removeDelegatorFromAllowlist = removeDelegatorFromAllowlist;
|
|
6540
6540
|
async function setBeneficiaryForOperator(client, account, request, options) {
|
|
6541
|
-
const coder = defaultMoveCoder(client.config
|
|
6541
|
+
const coder = defaultMoveCoder(client.config);
|
|
6542
6542
|
const transaction = await client.transaction.build.simple({
|
|
6543
6543
|
sender: account.accountAddress,
|
|
6544
6544
|
data: {
|
|
@@ -6555,7 +6555,7 @@ export var delegation_pool;
|
|
|
6555
6555
|
}
|
|
6556
6556
|
entry.setBeneficiaryForOperator = setBeneficiaryForOperator;
|
|
6557
6557
|
async function synchronizeDelegationPool(client, account, request, options) {
|
|
6558
|
-
const coder = defaultMoveCoder(client.config
|
|
6558
|
+
const coder = defaultMoveCoder(client.config);
|
|
6559
6559
|
const transaction = await client.transaction.build.simple({
|
|
6560
6560
|
sender: account.accountAddress,
|
|
6561
6561
|
data: {
|
|
@@ -6572,7 +6572,7 @@ export var delegation_pool;
|
|
|
6572
6572
|
}
|
|
6573
6573
|
entry.synchronizeDelegationPool = synchronizeDelegationPool;
|
|
6574
6574
|
async function updateCommissionPercentage(client, account, request, options) {
|
|
6575
|
-
const coder = defaultMoveCoder(client.config
|
|
6575
|
+
const coder = defaultMoveCoder(client.config);
|
|
6576
6576
|
const transaction = await client.transaction.build.simple({
|
|
6577
6577
|
sender: account.accountAddress,
|
|
6578
6578
|
data: {
|
|
@@ -6592,7 +6592,7 @@ export var delegation_pool;
|
|
|
6592
6592
|
let view;
|
|
6593
6593
|
(function (view) {
|
|
6594
6594
|
async function partialGovernanceVotingEnabled(client, request, version) {
|
|
6595
|
-
const coder = defaultMoveCoder(client.config
|
|
6595
|
+
const coder = defaultMoveCoder(client.config);
|
|
6596
6596
|
const data = {
|
|
6597
6597
|
function: "0x1::delegation_pool::partial_governance_voting_enabled",
|
|
6598
6598
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6607,7 +6607,7 @@ export var delegation_pool;
|
|
|
6607
6607
|
}
|
|
6608
6608
|
view.partialGovernanceVotingEnabled = partialGovernanceVotingEnabled;
|
|
6609
6609
|
async function getOwnedPoolAddress(client, request, version) {
|
|
6610
|
-
const coder = defaultMoveCoder(client.config
|
|
6610
|
+
const coder = defaultMoveCoder(client.config);
|
|
6611
6611
|
const data = {
|
|
6612
6612
|
function: "0x1::delegation_pool::get_owned_pool_address",
|
|
6613
6613
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6622,7 +6622,7 @@ export var delegation_pool;
|
|
|
6622
6622
|
}
|
|
6623
6623
|
view.getOwnedPoolAddress = getOwnedPoolAddress;
|
|
6624
6624
|
async function getStake(client, request, version) {
|
|
6625
|
-
const coder = defaultMoveCoder(client.config
|
|
6625
|
+
const coder = defaultMoveCoder(client.config);
|
|
6626
6626
|
const data = {
|
|
6627
6627
|
function: "0x1::delegation_pool::get_stake",
|
|
6628
6628
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6637,7 +6637,7 @@ export var delegation_pool;
|
|
|
6637
6637
|
}
|
|
6638
6638
|
view.getStake = getStake;
|
|
6639
6639
|
async function allowlistingEnabled(client, request, version) {
|
|
6640
|
-
const coder = defaultMoveCoder(client.config
|
|
6640
|
+
const coder = defaultMoveCoder(client.config);
|
|
6641
6641
|
const data = {
|
|
6642
6642
|
function: "0x1::delegation_pool::allowlisting_enabled",
|
|
6643
6643
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6652,7 +6652,7 @@ export var delegation_pool;
|
|
|
6652
6652
|
}
|
|
6653
6653
|
view.allowlistingEnabled = allowlistingEnabled;
|
|
6654
6654
|
async function beneficiaryForOperator(client, request, version) {
|
|
6655
|
-
const coder = defaultMoveCoder(client.config
|
|
6655
|
+
const coder = defaultMoveCoder(client.config);
|
|
6656
6656
|
const data = {
|
|
6657
6657
|
function: "0x1::delegation_pool::beneficiary_for_operator",
|
|
6658
6658
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6667,7 +6667,7 @@ export var delegation_pool;
|
|
|
6667
6667
|
}
|
|
6668
6668
|
view.beneficiaryForOperator = beneficiaryForOperator;
|
|
6669
6669
|
async function calculateAndUpdateDelegatorVoter(client, request, version) {
|
|
6670
|
-
const coder = defaultMoveCoder(client.config
|
|
6670
|
+
const coder = defaultMoveCoder(client.config);
|
|
6671
6671
|
const data = {
|
|
6672
6672
|
function: "0x1::delegation_pool::calculate_and_update_delegator_voter",
|
|
6673
6673
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6682,7 +6682,7 @@ export var delegation_pool;
|
|
|
6682
6682
|
}
|
|
6683
6683
|
view.calculateAndUpdateDelegatorVoter = calculateAndUpdateDelegatorVoter;
|
|
6684
6684
|
async function calculateAndUpdateRemainingVotingPower(client, request, version) {
|
|
6685
|
-
const coder = defaultMoveCoder(client.config
|
|
6685
|
+
const coder = defaultMoveCoder(client.config);
|
|
6686
6686
|
const data = {
|
|
6687
6687
|
function: "0x1::delegation_pool::calculate_and_update_remaining_voting_power",
|
|
6688
6688
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6697,7 +6697,7 @@ export var delegation_pool;
|
|
|
6697
6697
|
}
|
|
6698
6698
|
view.calculateAndUpdateRemainingVotingPower = calculateAndUpdateRemainingVotingPower;
|
|
6699
6699
|
async function calculateAndUpdateVoterTotalVotingPower(client, request, version) {
|
|
6700
|
-
const coder = defaultMoveCoder(client.config
|
|
6700
|
+
const coder = defaultMoveCoder(client.config);
|
|
6701
6701
|
const data = {
|
|
6702
6702
|
function: "0x1::delegation_pool::calculate_and_update_voter_total_voting_power",
|
|
6703
6703
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6712,7 +6712,7 @@ export var delegation_pool;
|
|
|
6712
6712
|
}
|
|
6713
6713
|
view.calculateAndUpdateVoterTotalVotingPower = calculateAndUpdateVoterTotalVotingPower;
|
|
6714
6714
|
async function calculateAndUpdateVotingDelegation(client, request, version) {
|
|
6715
|
-
const coder = defaultMoveCoder(client.config
|
|
6715
|
+
const coder = defaultMoveCoder(client.config);
|
|
6716
6716
|
const data = {
|
|
6717
6717
|
function: "0x1::delegation_pool::calculate_and_update_voting_delegation",
|
|
6718
6718
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6727,7 +6727,7 @@ export var delegation_pool;
|
|
|
6727
6727
|
}
|
|
6728
6728
|
view.calculateAndUpdateVotingDelegation = calculateAndUpdateVotingDelegation;
|
|
6729
6729
|
async function canWithdrawPendingInactive(client, request, version) {
|
|
6730
|
-
const coder = defaultMoveCoder(client.config
|
|
6730
|
+
const coder = defaultMoveCoder(client.config);
|
|
6731
6731
|
const data = {
|
|
6732
6732
|
function: "0x1::delegation_pool::can_withdraw_pending_inactive",
|
|
6733
6733
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6742,7 +6742,7 @@ export var delegation_pool;
|
|
|
6742
6742
|
}
|
|
6743
6743
|
view.canWithdrawPendingInactive = canWithdrawPendingInactive;
|
|
6744
6744
|
async function delegationPoolExists(client, request, version) {
|
|
6745
|
-
const coder = defaultMoveCoder(client.config
|
|
6745
|
+
const coder = defaultMoveCoder(client.config);
|
|
6746
6746
|
const data = {
|
|
6747
6747
|
function: "0x1::delegation_pool::delegation_pool_exists",
|
|
6748
6748
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6757,7 +6757,7 @@ export var delegation_pool;
|
|
|
6757
6757
|
}
|
|
6758
6758
|
view.delegationPoolExists = delegationPoolExists;
|
|
6759
6759
|
async function delegatorAllowlisted(client, request, version) {
|
|
6760
|
-
const coder = defaultMoveCoder(client.config
|
|
6760
|
+
const coder = defaultMoveCoder(client.config);
|
|
6761
6761
|
const data = {
|
|
6762
6762
|
function: "0x1::delegation_pool::delegator_allowlisted",
|
|
6763
6763
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6772,7 +6772,7 @@ export var delegation_pool;
|
|
|
6772
6772
|
}
|
|
6773
6773
|
view.delegatorAllowlisted = delegatorAllowlisted;
|
|
6774
6774
|
async function getAddStakeFee(client, request, version) {
|
|
6775
|
-
const coder = defaultMoveCoder(client.config
|
|
6775
|
+
const coder = defaultMoveCoder(client.config);
|
|
6776
6776
|
const data = {
|
|
6777
6777
|
function: "0x1::delegation_pool::get_add_stake_fee",
|
|
6778
6778
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6787,7 +6787,7 @@ export var delegation_pool;
|
|
|
6787
6787
|
}
|
|
6788
6788
|
view.getAddStakeFee = getAddStakeFee;
|
|
6789
6789
|
async function getDelegationPoolStake(client, request, version) {
|
|
6790
|
-
const coder = defaultMoveCoder(client.config
|
|
6790
|
+
const coder = defaultMoveCoder(client.config);
|
|
6791
6791
|
const data = {
|
|
6792
6792
|
function: "0x1::delegation_pool::get_delegation_pool_stake",
|
|
6793
6793
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6802,7 +6802,7 @@ export var delegation_pool;
|
|
|
6802
6802
|
}
|
|
6803
6803
|
view.getDelegationPoolStake = getDelegationPoolStake;
|
|
6804
6804
|
async function getDelegatorsAllowlist(client, request, version) {
|
|
6805
|
-
const coder = defaultMoveCoder(client.config
|
|
6805
|
+
const coder = defaultMoveCoder(client.config);
|
|
6806
6806
|
const data = {
|
|
6807
6807
|
function: "0x1::delegation_pool::get_delegators_allowlist",
|
|
6808
6808
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6817,7 +6817,7 @@ export var delegation_pool;
|
|
|
6817
6817
|
}
|
|
6818
6818
|
view.getDelegatorsAllowlist = getDelegatorsAllowlist;
|
|
6819
6819
|
async function getExpectedStakePoolAddress(client, request, version) {
|
|
6820
|
-
const coder = defaultMoveCoder(client.config
|
|
6820
|
+
const coder = defaultMoveCoder(client.config);
|
|
6821
6821
|
const data = {
|
|
6822
6822
|
function: "0x1::delegation_pool::get_expected_stake_pool_address",
|
|
6823
6823
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6832,7 +6832,7 @@ export var delegation_pool;
|
|
|
6832
6832
|
}
|
|
6833
6833
|
view.getExpectedStakePoolAddress = getExpectedStakePoolAddress;
|
|
6834
6834
|
async function getPendingWithdrawal(client, request, version) {
|
|
6835
|
-
const coder = defaultMoveCoder(client.config
|
|
6835
|
+
const coder = defaultMoveCoder(client.config);
|
|
6836
6836
|
const data = {
|
|
6837
6837
|
function: "0x1::delegation_pool::get_pending_withdrawal",
|
|
6838
6838
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6847,7 +6847,7 @@ export var delegation_pool;
|
|
|
6847
6847
|
}
|
|
6848
6848
|
view.getPendingWithdrawal = getPendingWithdrawal;
|
|
6849
6849
|
async function operatorCommissionPercentage(client, request, version) {
|
|
6850
|
-
const coder = defaultMoveCoder(client.config
|
|
6850
|
+
const coder = defaultMoveCoder(client.config);
|
|
6851
6851
|
const data = {
|
|
6852
6852
|
function: "0x1::delegation_pool::operator_commission_percentage",
|
|
6853
6853
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6862,7 +6862,7 @@ export var delegation_pool;
|
|
|
6862
6862
|
}
|
|
6863
6863
|
view.operatorCommissionPercentage = operatorCommissionPercentage;
|
|
6864
6864
|
async function isNextCommissionPercentageEffective(client, request, version) {
|
|
6865
|
-
const coder = defaultMoveCoder(client.config
|
|
6865
|
+
const coder = defaultMoveCoder(client.config);
|
|
6866
6866
|
const data = {
|
|
6867
6867
|
function: "0x1::delegation_pool::is_next_commission_percentage_effective",
|
|
6868
6868
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6877,7 +6877,7 @@ export var delegation_pool;
|
|
|
6877
6877
|
}
|
|
6878
6878
|
view.isNextCommissionPercentageEffective = isNextCommissionPercentageEffective;
|
|
6879
6879
|
async function minRemainingSecsForCommissionChange(client, version) {
|
|
6880
|
-
const coder = defaultMoveCoder(client.config
|
|
6880
|
+
const coder = defaultMoveCoder(client.config);
|
|
6881
6881
|
const data = {
|
|
6882
6882
|
function: "0x1::delegation_pool::min_remaining_secs_for_commission_change",
|
|
6883
6883
|
functionArguments: [],
|
|
@@ -6892,7 +6892,7 @@ export var delegation_pool;
|
|
|
6892
6892
|
}
|
|
6893
6893
|
view.minRemainingSecsForCommissionChange = minRemainingSecsForCommissionChange;
|
|
6894
6894
|
async function observedLockupCycle(client, request, version) {
|
|
6895
|
-
const coder = defaultMoveCoder(client.config
|
|
6895
|
+
const coder = defaultMoveCoder(client.config);
|
|
6896
6896
|
const data = {
|
|
6897
6897
|
function: "0x1::delegation_pool::observed_lockup_cycle",
|
|
6898
6898
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6907,7 +6907,7 @@ export var delegation_pool;
|
|
|
6907
6907
|
}
|
|
6908
6908
|
view.observedLockupCycle = observedLockupCycle;
|
|
6909
6909
|
async function operatorCommissionPercentageNextLockupCycle(client, request, version) {
|
|
6910
|
-
const coder = defaultMoveCoder(client.config
|
|
6910
|
+
const coder = defaultMoveCoder(client.config);
|
|
6911
6911
|
const data = {
|
|
6912
6912
|
function: "0x1::delegation_pool::operator_commission_percentage_next_lockup_cycle",
|
|
6913
6913
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6922,7 +6922,7 @@ export var delegation_pool;
|
|
|
6922
6922
|
}
|
|
6923
6923
|
view.operatorCommissionPercentageNextLockupCycle = operatorCommissionPercentageNextLockupCycle;
|
|
6924
6924
|
async function ownerCapExists(client, request, version) {
|
|
6925
|
-
const coder = defaultMoveCoder(client.config
|
|
6925
|
+
const coder = defaultMoveCoder(client.config);
|
|
6926
6926
|
const data = {
|
|
6927
6927
|
function: "0x1::delegation_pool::owner_cap_exists",
|
|
6928
6928
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6937,7 +6937,7 @@ export var delegation_pool;
|
|
|
6937
6937
|
}
|
|
6938
6938
|
view.ownerCapExists = ownerCapExists;
|
|
6939
6939
|
async function shareholdersCountActivePool(client, request, version) {
|
|
6940
|
-
const coder = defaultMoveCoder(client.config
|
|
6940
|
+
const coder = defaultMoveCoder(client.config);
|
|
6941
6941
|
const data = {
|
|
6942
6942
|
function: "0x1::delegation_pool::shareholders_count_active_pool",
|
|
6943
6943
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -7072,7 +7072,7 @@ export var transaction_fee;
|
|
|
7072
7072
|
let entry;
|
|
7073
7073
|
(function (entry) {
|
|
7074
7074
|
async function convertToAptosFaBurnRef(client, account, request, options) {
|
|
7075
|
-
const coder = defaultMoveCoder(client.config
|
|
7075
|
+
const coder = defaultMoveCoder(client.config);
|
|
7076
7076
|
const transaction = await client.transaction.build.simple({
|
|
7077
7077
|
sender: account.accountAddress,
|
|
7078
7078
|
data: {
|
|
@@ -7221,7 +7221,7 @@ export var aptos_governance;
|
|
|
7221
7221
|
let entry;
|
|
7222
7222
|
(function (entry) {
|
|
7223
7223
|
async function createProposal(client, account, request, options) {
|
|
7224
|
-
const coder = defaultMoveCoder(client.config
|
|
7224
|
+
const coder = defaultMoveCoder(client.config);
|
|
7225
7225
|
const transaction = await client.transaction.build.simple({
|
|
7226
7226
|
sender: account.accountAddress,
|
|
7227
7227
|
data: {
|
|
@@ -7238,7 +7238,7 @@ export var aptos_governance;
|
|
|
7238
7238
|
}
|
|
7239
7239
|
entry.createProposal = createProposal;
|
|
7240
7240
|
async function createProposalV2(client, account, request, options) {
|
|
7241
|
-
const coder = defaultMoveCoder(client.config
|
|
7241
|
+
const coder = defaultMoveCoder(client.config);
|
|
7242
7242
|
const transaction = await client.transaction.build.simple({
|
|
7243
7243
|
sender: account.accountAddress,
|
|
7244
7244
|
data: {
|
|
@@ -7255,7 +7255,7 @@ export var aptos_governance;
|
|
|
7255
7255
|
}
|
|
7256
7256
|
entry.createProposalV2 = createProposalV2;
|
|
7257
7257
|
async function vote(client, account, request, options) {
|
|
7258
|
-
const coder = defaultMoveCoder(client.config
|
|
7258
|
+
const coder = defaultMoveCoder(client.config);
|
|
7259
7259
|
const transaction = await client.transaction.build.simple({
|
|
7260
7260
|
sender: account.accountAddress,
|
|
7261
7261
|
data: {
|
|
@@ -7272,7 +7272,7 @@ export var aptos_governance;
|
|
|
7272
7272
|
}
|
|
7273
7273
|
entry.vote = vote;
|
|
7274
7274
|
async function reconfigure(client, account, request, options) {
|
|
7275
|
-
const coder = defaultMoveCoder(client.config
|
|
7275
|
+
const coder = defaultMoveCoder(client.config);
|
|
7276
7276
|
const transaction = await client.transaction.build.simple({
|
|
7277
7277
|
sender: account.accountAddress,
|
|
7278
7278
|
data: {
|
|
@@ -7289,7 +7289,7 @@ export var aptos_governance;
|
|
|
7289
7289
|
}
|
|
7290
7290
|
entry.reconfigure = reconfigure;
|
|
7291
7291
|
async function addApprovedScriptHashScript(client, account, request, options) {
|
|
7292
|
-
const coder = defaultMoveCoder(client.config
|
|
7292
|
+
const coder = defaultMoveCoder(client.config);
|
|
7293
7293
|
const transaction = await client.transaction.build.simple({
|
|
7294
7294
|
sender: account.accountAddress,
|
|
7295
7295
|
data: {
|
|
@@ -7306,7 +7306,7 @@ export var aptos_governance;
|
|
|
7306
7306
|
}
|
|
7307
7307
|
entry.addApprovedScriptHashScript = addApprovedScriptHashScript;
|
|
7308
7308
|
async function batchPartialVote(client, account, request, options) {
|
|
7309
|
-
const coder = defaultMoveCoder(client.config
|
|
7309
|
+
const coder = defaultMoveCoder(client.config);
|
|
7310
7310
|
const transaction = await client.transaction.build.simple({
|
|
7311
7311
|
sender: account.accountAddress,
|
|
7312
7312
|
data: {
|
|
@@ -7323,7 +7323,7 @@ export var aptos_governance;
|
|
|
7323
7323
|
}
|
|
7324
7324
|
entry.batchPartialVote = batchPartialVote;
|
|
7325
7325
|
async function batchVote(client, account, request, options) {
|
|
7326
|
-
const coder = defaultMoveCoder(client.config
|
|
7326
|
+
const coder = defaultMoveCoder(client.config);
|
|
7327
7327
|
const transaction = await client.transaction.build.simple({
|
|
7328
7328
|
sender: account.accountAddress,
|
|
7329
7329
|
data: {
|
|
@@ -7340,7 +7340,7 @@ export var aptos_governance;
|
|
|
7340
7340
|
}
|
|
7341
7341
|
entry.batchVote = batchVote;
|
|
7342
7342
|
async function forceEndEpoch(client, account, request, options) {
|
|
7343
|
-
const coder = defaultMoveCoder(client.config
|
|
7343
|
+
const coder = defaultMoveCoder(client.config);
|
|
7344
7344
|
const transaction = await client.transaction.build.simple({
|
|
7345
7345
|
sender: account.accountAddress,
|
|
7346
7346
|
data: {
|
|
@@ -7357,7 +7357,7 @@ export var aptos_governance;
|
|
|
7357
7357
|
}
|
|
7358
7358
|
entry.forceEndEpoch = forceEndEpoch;
|
|
7359
7359
|
async function forceEndEpochTestOnly(client, account, request, options) {
|
|
7360
|
-
const coder = defaultMoveCoder(client.config
|
|
7360
|
+
const coder = defaultMoveCoder(client.config);
|
|
7361
7361
|
const transaction = await client.transaction.build.simple({
|
|
7362
7362
|
sender: account.accountAddress,
|
|
7363
7363
|
data: {
|
|
@@ -7374,7 +7374,7 @@ export var aptos_governance;
|
|
|
7374
7374
|
}
|
|
7375
7375
|
entry.forceEndEpochTestOnly = forceEndEpochTestOnly;
|
|
7376
7376
|
async function partialVote(client, account, request, options) {
|
|
7377
|
-
const coder = defaultMoveCoder(client.config
|
|
7377
|
+
const coder = defaultMoveCoder(client.config);
|
|
7378
7378
|
const transaction = await client.transaction.build.simple({
|
|
7379
7379
|
sender: account.accountAddress,
|
|
7380
7380
|
data: {
|
|
@@ -7394,7 +7394,7 @@ export var aptos_governance;
|
|
|
7394
7394
|
let view;
|
|
7395
7395
|
(function (view) {
|
|
7396
7396
|
async function getVotingPower(client, request, version) {
|
|
7397
|
-
const coder = defaultMoveCoder(client.config
|
|
7397
|
+
const coder = defaultMoveCoder(client.config);
|
|
7398
7398
|
const data = {
|
|
7399
7399
|
function: "0x1::aptos_governance::get_voting_power",
|
|
7400
7400
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -7409,7 +7409,7 @@ export var aptos_governance;
|
|
|
7409
7409
|
}
|
|
7410
7410
|
view.getVotingPower = getVotingPower;
|
|
7411
7411
|
async function getMinVotingThreshold(client, version) {
|
|
7412
|
-
const coder = defaultMoveCoder(client.config
|
|
7412
|
+
const coder = defaultMoveCoder(client.config);
|
|
7413
7413
|
const data = {
|
|
7414
7414
|
function: "0x1::aptos_governance::get_min_voting_threshold",
|
|
7415
7415
|
functionArguments: [],
|
|
@@ -7424,7 +7424,7 @@ export var aptos_governance;
|
|
|
7424
7424
|
}
|
|
7425
7425
|
view.getMinVotingThreshold = getMinVotingThreshold;
|
|
7426
7426
|
async function getRemainingVotingPower(client, request, version) {
|
|
7427
|
-
const coder = defaultMoveCoder(client.config
|
|
7427
|
+
const coder = defaultMoveCoder(client.config);
|
|
7428
7428
|
const data = {
|
|
7429
7429
|
function: "0x1::aptos_governance::get_remaining_voting_power",
|
|
7430
7430
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -7439,7 +7439,7 @@ export var aptos_governance;
|
|
|
7439
7439
|
}
|
|
7440
7440
|
view.getRemainingVotingPower = getRemainingVotingPower;
|
|
7441
7441
|
async function getRequiredProposerStake(client, version) {
|
|
7442
|
-
const coder = defaultMoveCoder(client.config
|
|
7442
|
+
const coder = defaultMoveCoder(client.config);
|
|
7443
7443
|
const data = {
|
|
7444
7444
|
function: "0x1::aptos_governance::get_required_proposer_stake",
|
|
7445
7445
|
functionArguments: [],
|
|
@@ -7454,7 +7454,7 @@ export var aptos_governance;
|
|
|
7454
7454
|
}
|
|
7455
7455
|
view.getRequiredProposerStake = getRequiredProposerStake;
|
|
7456
7456
|
async function getVotingDurationSecs(client, version) {
|
|
7457
|
-
const coder = defaultMoveCoder(client.config
|
|
7457
|
+
const coder = defaultMoveCoder(client.config);
|
|
7458
7458
|
const data = {
|
|
7459
7459
|
function: "0x1::aptos_governance::get_voting_duration_secs",
|
|
7460
7460
|
functionArguments: [],
|
|
@@ -7469,7 +7469,7 @@ export var aptos_governance;
|
|
|
7469
7469
|
}
|
|
7470
7470
|
view.getVotingDurationSecs = getVotingDurationSecs;
|
|
7471
7471
|
async function hasEntirelyVoted(client, request, version) {
|
|
7472
|
-
const coder = defaultMoveCoder(client.config
|
|
7472
|
+
const coder = defaultMoveCoder(client.config);
|
|
7473
7473
|
const data = {
|
|
7474
7474
|
function: "0x1::aptos_governance::has_entirely_voted",
|
|
7475
7475
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -7859,7 +7859,7 @@ export var multisig_account;
|
|
|
7859
7859
|
let entry;
|
|
7860
7860
|
(function (entry) {
|
|
7861
7861
|
async function create(client, account, request, options) {
|
|
7862
|
-
const coder = defaultMoveCoder(client.config
|
|
7862
|
+
const coder = defaultMoveCoder(client.config);
|
|
7863
7863
|
const transaction = await client.transaction.build.simple({
|
|
7864
7864
|
sender: account.accountAddress,
|
|
7865
7865
|
data: {
|
|
@@ -7876,7 +7876,7 @@ export var multisig_account;
|
|
|
7876
7876
|
}
|
|
7877
7877
|
entry.create = create;
|
|
7878
7878
|
async function addOwner(client, account, request, options) {
|
|
7879
|
-
const coder = defaultMoveCoder(client.config
|
|
7879
|
+
const coder = defaultMoveCoder(client.config);
|
|
7880
7880
|
const transaction = await client.transaction.build.simple({
|
|
7881
7881
|
sender: account.accountAddress,
|
|
7882
7882
|
data: {
|
|
@@ -7893,7 +7893,7 @@ export var multisig_account;
|
|
|
7893
7893
|
}
|
|
7894
7894
|
entry.addOwner = addOwner;
|
|
7895
7895
|
async function addOwners(client, account, request, options) {
|
|
7896
|
-
const coder = defaultMoveCoder(client.config
|
|
7896
|
+
const coder = defaultMoveCoder(client.config);
|
|
7897
7897
|
const transaction = await client.transaction.build.simple({
|
|
7898
7898
|
sender: account.accountAddress,
|
|
7899
7899
|
data: {
|
|
@@ -7910,7 +7910,7 @@ export var multisig_account;
|
|
|
7910
7910
|
}
|
|
7911
7911
|
entry.addOwners = addOwners;
|
|
7912
7912
|
async function addOwnersAndUpdateSignaturesRequired(client, account, request, options) {
|
|
7913
|
-
const coder = defaultMoveCoder(client.config
|
|
7913
|
+
const coder = defaultMoveCoder(client.config);
|
|
7914
7914
|
const transaction = await client.transaction.build.simple({
|
|
7915
7915
|
sender: account.accountAddress,
|
|
7916
7916
|
data: {
|
|
@@ -7927,7 +7927,7 @@ export var multisig_account;
|
|
|
7927
7927
|
}
|
|
7928
7928
|
entry.addOwnersAndUpdateSignaturesRequired = addOwnersAndUpdateSignaturesRequired;
|
|
7929
7929
|
async function approveTransaction(client, account, request, options) {
|
|
7930
|
-
const coder = defaultMoveCoder(client.config
|
|
7930
|
+
const coder = defaultMoveCoder(client.config);
|
|
7931
7931
|
const transaction = await client.transaction.build.simple({
|
|
7932
7932
|
sender: account.accountAddress,
|
|
7933
7933
|
data: {
|
|
@@ -7944,7 +7944,7 @@ export var multisig_account;
|
|
|
7944
7944
|
}
|
|
7945
7945
|
entry.approveTransaction = approveTransaction;
|
|
7946
7946
|
async function createTransaction(client, account, request, options) {
|
|
7947
|
-
const coder = defaultMoveCoder(client.config
|
|
7947
|
+
const coder = defaultMoveCoder(client.config);
|
|
7948
7948
|
const transaction = await client.transaction.build.simple({
|
|
7949
7949
|
sender: account.accountAddress,
|
|
7950
7950
|
data: {
|
|
@@ -7961,7 +7961,7 @@ export var multisig_account;
|
|
|
7961
7961
|
}
|
|
7962
7962
|
entry.createTransaction = createTransaction;
|
|
7963
7963
|
async function createTransactionWithHash(client, account, request, options) {
|
|
7964
|
-
const coder = defaultMoveCoder(client.config
|
|
7964
|
+
const coder = defaultMoveCoder(client.config);
|
|
7965
7965
|
const transaction = await client.transaction.build.simple({
|
|
7966
7966
|
sender: account.accountAddress,
|
|
7967
7967
|
data: {
|
|
@@ -7978,7 +7978,7 @@ export var multisig_account;
|
|
|
7978
7978
|
}
|
|
7979
7979
|
entry.createTransactionWithHash = createTransactionWithHash;
|
|
7980
7980
|
async function createWithExistingAccount(client, account, request, options) {
|
|
7981
|
-
const coder = defaultMoveCoder(client.config
|
|
7981
|
+
const coder = defaultMoveCoder(client.config);
|
|
7982
7982
|
const transaction = await client.transaction.build.simple({
|
|
7983
7983
|
sender: account.accountAddress,
|
|
7984
7984
|
data: {
|
|
@@ -7995,7 +7995,7 @@ export var multisig_account;
|
|
|
7995
7995
|
}
|
|
7996
7996
|
entry.createWithExistingAccount = createWithExistingAccount;
|
|
7997
7997
|
async function createWithExistingAccountAndRevokeAuthKey(client, account, request, options) {
|
|
7998
|
-
const coder = defaultMoveCoder(client.config
|
|
7998
|
+
const coder = defaultMoveCoder(client.config);
|
|
7999
7999
|
const transaction = await client.transaction.build.simple({
|
|
8000
8000
|
sender: account.accountAddress,
|
|
8001
8001
|
data: {
|
|
@@ -8012,7 +8012,7 @@ export var multisig_account;
|
|
|
8012
8012
|
}
|
|
8013
8013
|
entry.createWithExistingAccountAndRevokeAuthKey = createWithExistingAccountAndRevokeAuthKey;
|
|
8014
8014
|
async function createWithExistingAccountAndRevokeAuthKeyCall(client, account, request, options) {
|
|
8015
|
-
const coder = defaultMoveCoder(client.config
|
|
8015
|
+
const coder = defaultMoveCoder(client.config);
|
|
8016
8016
|
const transaction = await client.transaction.build.simple({
|
|
8017
8017
|
sender: account.accountAddress,
|
|
8018
8018
|
data: {
|
|
@@ -8029,7 +8029,7 @@ export var multisig_account;
|
|
|
8029
8029
|
}
|
|
8030
8030
|
entry.createWithExistingAccountAndRevokeAuthKeyCall = createWithExistingAccountAndRevokeAuthKeyCall;
|
|
8031
8031
|
async function createWithExistingAccountCall(client, account, request, options) {
|
|
8032
|
-
const coder = defaultMoveCoder(client.config
|
|
8032
|
+
const coder = defaultMoveCoder(client.config);
|
|
8033
8033
|
const transaction = await client.transaction.build.simple({
|
|
8034
8034
|
sender: account.accountAddress,
|
|
8035
8035
|
data: {
|
|
@@ -8046,7 +8046,7 @@ export var multisig_account;
|
|
|
8046
8046
|
}
|
|
8047
8047
|
entry.createWithExistingAccountCall = createWithExistingAccountCall;
|
|
8048
8048
|
async function createWithOwners(client, account, request, options) {
|
|
8049
|
-
const coder = defaultMoveCoder(client.config
|
|
8049
|
+
const coder = defaultMoveCoder(client.config);
|
|
8050
8050
|
const transaction = await client.transaction.build.simple({
|
|
8051
8051
|
sender: account.accountAddress,
|
|
8052
8052
|
data: {
|
|
@@ -8063,7 +8063,7 @@ export var multisig_account;
|
|
|
8063
8063
|
}
|
|
8064
8064
|
entry.createWithOwners = createWithOwners;
|
|
8065
8065
|
async function createWithOwnersThenRemoveBootstrapper(client, account, request, options) {
|
|
8066
|
-
const coder = defaultMoveCoder(client.config
|
|
8066
|
+
const coder = defaultMoveCoder(client.config);
|
|
8067
8067
|
const transaction = await client.transaction.build.simple({
|
|
8068
8068
|
sender: account.accountAddress,
|
|
8069
8069
|
data: {
|
|
@@ -8080,7 +8080,7 @@ export var multisig_account;
|
|
|
8080
8080
|
}
|
|
8081
8081
|
entry.createWithOwnersThenRemoveBootstrapper = createWithOwnersThenRemoveBootstrapper;
|
|
8082
8082
|
async function executeRejectedTransaction(client, account, request, options) {
|
|
8083
|
-
const coder = defaultMoveCoder(client.config
|
|
8083
|
+
const coder = defaultMoveCoder(client.config);
|
|
8084
8084
|
const transaction = await client.transaction.build.simple({
|
|
8085
8085
|
sender: account.accountAddress,
|
|
8086
8086
|
data: {
|
|
@@ -8097,7 +8097,7 @@ export var multisig_account;
|
|
|
8097
8097
|
}
|
|
8098
8098
|
entry.executeRejectedTransaction = executeRejectedTransaction;
|
|
8099
8099
|
async function executeRejectedTransactions(client, account, request, options) {
|
|
8100
|
-
const coder = defaultMoveCoder(client.config
|
|
8100
|
+
const coder = defaultMoveCoder(client.config);
|
|
8101
8101
|
const transaction = await client.transaction.build.simple({
|
|
8102
8102
|
sender: account.accountAddress,
|
|
8103
8103
|
data: {
|
|
@@ -8114,7 +8114,7 @@ export var multisig_account;
|
|
|
8114
8114
|
}
|
|
8115
8115
|
entry.executeRejectedTransactions = executeRejectedTransactions;
|
|
8116
8116
|
async function rejectTransaction(client, account, request, options) {
|
|
8117
|
-
const coder = defaultMoveCoder(client.config
|
|
8117
|
+
const coder = defaultMoveCoder(client.config);
|
|
8118
8118
|
const transaction = await client.transaction.build.simple({
|
|
8119
8119
|
sender: account.accountAddress,
|
|
8120
8120
|
data: {
|
|
@@ -8131,7 +8131,7 @@ export var multisig_account;
|
|
|
8131
8131
|
}
|
|
8132
8132
|
entry.rejectTransaction = rejectTransaction;
|
|
8133
8133
|
async function removeOwner(client, account, request, options) {
|
|
8134
|
-
const coder = defaultMoveCoder(client.config
|
|
8134
|
+
const coder = defaultMoveCoder(client.config);
|
|
8135
8135
|
const transaction = await client.transaction.build.simple({
|
|
8136
8136
|
sender: account.accountAddress,
|
|
8137
8137
|
data: {
|
|
@@ -8148,7 +8148,7 @@ export var multisig_account;
|
|
|
8148
8148
|
}
|
|
8149
8149
|
entry.removeOwner = removeOwner;
|
|
8150
8150
|
async function removeOwners(client, account, request, options) {
|
|
8151
|
-
const coder = defaultMoveCoder(client.config
|
|
8151
|
+
const coder = defaultMoveCoder(client.config);
|
|
8152
8152
|
const transaction = await client.transaction.build.simple({
|
|
8153
8153
|
sender: account.accountAddress,
|
|
8154
8154
|
data: {
|
|
@@ -8165,7 +8165,7 @@ export var multisig_account;
|
|
|
8165
8165
|
}
|
|
8166
8166
|
entry.removeOwners = removeOwners;
|
|
8167
8167
|
async function swapOwner(client, account, request, options) {
|
|
8168
|
-
const coder = defaultMoveCoder(client.config
|
|
8168
|
+
const coder = defaultMoveCoder(client.config);
|
|
8169
8169
|
const transaction = await client.transaction.build.simple({
|
|
8170
8170
|
sender: account.accountAddress,
|
|
8171
8171
|
data: {
|
|
@@ -8182,7 +8182,7 @@ export var multisig_account;
|
|
|
8182
8182
|
}
|
|
8183
8183
|
entry.swapOwner = swapOwner;
|
|
8184
8184
|
async function swapOwners(client, account, request, options) {
|
|
8185
|
-
const coder = defaultMoveCoder(client.config
|
|
8185
|
+
const coder = defaultMoveCoder(client.config);
|
|
8186
8186
|
const transaction = await client.transaction.build.simple({
|
|
8187
8187
|
sender: account.accountAddress,
|
|
8188
8188
|
data: {
|
|
@@ -8199,7 +8199,7 @@ export var multisig_account;
|
|
|
8199
8199
|
}
|
|
8200
8200
|
entry.swapOwners = swapOwners;
|
|
8201
8201
|
async function swapOwnersAndUpdateSignaturesRequired(client, account, request, options) {
|
|
8202
|
-
const coder = defaultMoveCoder(client.config
|
|
8202
|
+
const coder = defaultMoveCoder(client.config);
|
|
8203
8203
|
const transaction = await client.transaction.build.simple({
|
|
8204
8204
|
sender: account.accountAddress,
|
|
8205
8205
|
data: {
|
|
@@ -8216,7 +8216,7 @@ export var multisig_account;
|
|
|
8216
8216
|
}
|
|
8217
8217
|
entry.swapOwnersAndUpdateSignaturesRequired = swapOwnersAndUpdateSignaturesRequired;
|
|
8218
8218
|
async function updateMetadata(client, account, request, options) {
|
|
8219
|
-
const coder = defaultMoveCoder(client.config
|
|
8219
|
+
const coder = defaultMoveCoder(client.config);
|
|
8220
8220
|
const transaction = await client.transaction.build.simple({
|
|
8221
8221
|
sender: account.accountAddress,
|
|
8222
8222
|
data: {
|
|
@@ -8233,7 +8233,7 @@ export var multisig_account;
|
|
|
8233
8233
|
}
|
|
8234
8234
|
entry.updateMetadata = updateMetadata;
|
|
8235
8235
|
async function updateSignaturesRequired(client, account, request, options) {
|
|
8236
|
-
const coder = defaultMoveCoder(client.config
|
|
8236
|
+
const coder = defaultMoveCoder(client.config);
|
|
8237
8237
|
const transaction = await client.transaction.build.simple({
|
|
8238
8238
|
sender: account.accountAddress,
|
|
8239
8239
|
data: {
|
|
@@ -8250,7 +8250,7 @@ export var multisig_account;
|
|
|
8250
8250
|
}
|
|
8251
8251
|
entry.updateSignaturesRequired = updateSignaturesRequired;
|
|
8252
8252
|
async function voteTransaction(client, account, request, options) {
|
|
8253
|
-
const coder = defaultMoveCoder(client.config
|
|
8253
|
+
const coder = defaultMoveCoder(client.config);
|
|
8254
8254
|
const transaction = await client.transaction.build.simple({
|
|
8255
8255
|
sender: account.accountAddress,
|
|
8256
8256
|
data: {
|
|
@@ -8267,7 +8267,7 @@ export var multisig_account;
|
|
|
8267
8267
|
}
|
|
8268
8268
|
entry.voteTransaction = voteTransaction;
|
|
8269
8269
|
async function voteTransactions(client, account, request, options) {
|
|
8270
|
-
const coder = defaultMoveCoder(client.config
|
|
8270
|
+
const coder = defaultMoveCoder(client.config);
|
|
8271
8271
|
const transaction = await client.transaction.build.simple({
|
|
8272
8272
|
sender: account.accountAddress,
|
|
8273
8273
|
data: {
|
|
@@ -8284,7 +8284,7 @@ export var multisig_account;
|
|
|
8284
8284
|
}
|
|
8285
8285
|
entry.voteTransactions = voteTransactions;
|
|
8286
8286
|
async function voteTransanction(client, account, request, options) {
|
|
8287
|
-
const coder = defaultMoveCoder(client.config
|
|
8287
|
+
const coder = defaultMoveCoder(client.config);
|
|
8288
8288
|
const transaction = await client.transaction.build.simple({
|
|
8289
8289
|
sender: account.accountAddress,
|
|
8290
8290
|
data: {
|
|
@@ -8304,7 +8304,7 @@ export var multisig_account;
|
|
|
8304
8304
|
let view;
|
|
8305
8305
|
(function (view) {
|
|
8306
8306
|
async function isOwner(client, request, version) {
|
|
8307
|
-
const coder = defaultMoveCoder(client.config
|
|
8307
|
+
const coder = defaultMoveCoder(client.config);
|
|
8308
8308
|
const data = {
|
|
8309
8309
|
function: "0x1::multisig_account::is_owner",
|
|
8310
8310
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8319,7 +8319,7 @@ export var multisig_account;
|
|
|
8319
8319
|
}
|
|
8320
8320
|
view.isOwner = isOwner;
|
|
8321
8321
|
async function metadata(client, request, version) {
|
|
8322
|
-
const coder = defaultMoveCoder(client.config
|
|
8322
|
+
const coder = defaultMoveCoder(client.config);
|
|
8323
8323
|
const data = {
|
|
8324
8324
|
function: "0x1::multisig_account::metadata",
|
|
8325
8325
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8334,7 +8334,7 @@ export var multisig_account;
|
|
|
8334
8334
|
}
|
|
8335
8335
|
view.metadata = metadata;
|
|
8336
8336
|
async function vote(client, request, version) {
|
|
8337
|
-
const coder = defaultMoveCoder(client.config
|
|
8337
|
+
const coder = defaultMoveCoder(client.config);
|
|
8338
8338
|
const data = {
|
|
8339
8339
|
function: "0x1::multisig_account::vote",
|
|
8340
8340
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8349,7 +8349,7 @@ export var multisig_account;
|
|
|
8349
8349
|
}
|
|
8350
8350
|
view.vote = vote;
|
|
8351
8351
|
async function availableTransactionQueueCapacity(client, request, version) {
|
|
8352
|
-
const coder = defaultMoveCoder(client.config
|
|
8352
|
+
const coder = defaultMoveCoder(client.config);
|
|
8353
8353
|
const data = {
|
|
8354
8354
|
function: "0x1::multisig_account::available_transaction_queue_capacity",
|
|
8355
8355
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8364,7 +8364,7 @@ export var multisig_account;
|
|
|
8364
8364
|
}
|
|
8365
8365
|
view.availableTransactionQueueCapacity = availableTransactionQueueCapacity;
|
|
8366
8366
|
async function canBeExecuted(client, request, version) {
|
|
8367
|
-
const coder = defaultMoveCoder(client.config
|
|
8367
|
+
const coder = defaultMoveCoder(client.config);
|
|
8368
8368
|
const data = {
|
|
8369
8369
|
function: "0x1::multisig_account::can_be_executed",
|
|
8370
8370
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8379,7 +8379,7 @@ export var multisig_account;
|
|
|
8379
8379
|
}
|
|
8380
8380
|
view.canBeExecuted = canBeExecuted;
|
|
8381
8381
|
async function canBeRejected(client, request, version) {
|
|
8382
|
-
const coder = defaultMoveCoder(client.config
|
|
8382
|
+
const coder = defaultMoveCoder(client.config);
|
|
8383
8383
|
const data = {
|
|
8384
8384
|
function: "0x1::multisig_account::can_be_rejected",
|
|
8385
8385
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8394,7 +8394,7 @@ export var multisig_account;
|
|
|
8394
8394
|
}
|
|
8395
8395
|
view.canBeRejected = canBeRejected;
|
|
8396
8396
|
async function canExecute(client, request, version) {
|
|
8397
|
-
const coder = defaultMoveCoder(client.config
|
|
8397
|
+
const coder = defaultMoveCoder(client.config);
|
|
8398
8398
|
const data = {
|
|
8399
8399
|
function: "0x1::multisig_account::can_execute",
|
|
8400
8400
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8409,7 +8409,7 @@ export var multisig_account;
|
|
|
8409
8409
|
}
|
|
8410
8410
|
view.canExecute = canExecute;
|
|
8411
8411
|
async function canReject(client, request, version) {
|
|
8412
|
-
const coder = defaultMoveCoder(client.config
|
|
8412
|
+
const coder = defaultMoveCoder(client.config);
|
|
8413
8413
|
const data = {
|
|
8414
8414
|
function: "0x1::multisig_account::can_reject",
|
|
8415
8415
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8424,7 +8424,7 @@ export var multisig_account;
|
|
|
8424
8424
|
}
|
|
8425
8425
|
view.canReject = canReject;
|
|
8426
8426
|
async function numSignaturesRequired(client, request, version) {
|
|
8427
|
-
const coder = defaultMoveCoder(client.config
|
|
8427
|
+
const coder = defaultMoveCoder(client.config);
|
|
8428
8428
|
const data = {
|
|
8429
8429
|
function: "0x1::multisig_account::num_signatures_required",
|
|
8430
8430
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8439,7 +8439,7 @@ export var multisig_account;
|
|
|
8439
8439
|
}
|
|
8440
8440
|
view.numSignaturesRequired = numSignaturesRequired;
|
|
8441
8441
|
async function owners(client, request, version) {
|
|
8442
|
-
const coder = defaultMoveCoder(client.config
|
|
8442
|
+
const coder = defaultMoveCoder(client.config);
|
|
8443
8443
|
const data = {
|
|
8444
8444
|
function: "0x1::multisig_account::owners",
|
|
8445
8445
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8454,7 +8454,7 @@ export var multisig_account;
|
|
|
8454
8454
|
}
|
|
8455
8455
|
view.owners = owners;
|
|
8456
8456
|
async function getNextMultisigAccountAddress(client, request, version) {
|
|
8457
|
-
const coder = defaultMoveCoder(client.config
|
|
8457
|
+
const coder = defaultMoveCoder(client.config);
|
|
8458
8458
|
const data = {
|
|
8459
8459
|
function: "0x1::multisig_account::get_next_multisig_account_address",
|
|
8460
8460
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8469,7 +8469,7 @@ export var multisig_account;
|
|
|
8469
8469
|
}
|
|
8470
8470
|
view.getNextMultisigAccountAddress = getNextMultisigAccountAddress;
|
|
8471
8471
|
async function getNextTransactionPayload(client, request, version) {
|
|
8472
|
-
const coder = defaultMoveCoder(client.config
|
|
8472
|
+
const coder = defaultMoveCoder(client.config);
|
|
8473
8473
|
const data = {
|
|
8474
8474
|
function: "0x1::multisig_account::get_next_transaction_payload",
|
|
8475
8475
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8484,7 +8484,7 @@ export var multisig_account;
|
|
|
8484
8484
|
}
|
|
8485
8485
|
view.getNextTransactionPayload = getNextTransactionPayload;
|
|
8486
8486
|
async function getPendingTransactions(client, request, version) {
|
|
8487
|
-
const coder = defaultMoveCoder(client.config
|
|
8487
|
+
const coder = defaultMoveCoder(client.config);
|
|
8488
8488
|
const data = {
|
|
8489
8489
|
function: "0x1::multisig_account::get_pending_transactions",
|
|
8490
8490
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8499,7 +8499,7 @@ export var multisig_account;
|
|
|
8499
8499
|
}
|
|
8500
8500
|
view.getPendingTransactions = getPendingTransactions;
|
|
8501
8501
|
async function getTransaction(client, request, version) {
|
|
8502
|
-
const coder = defaultMoveCoder(client.config
|
|
8502
|
+
const coder = defaultMoveCoder(client.config);
|
|
8503
8503
|
const data = {
|
|
8504
8504
|
function: "0x1::multisig_account::get_transaction",
|
|
8505
8505
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8514,7 +8514,7 @@ export var multisig_account;
|
|
|
8514
8514
|
}
|
|
8515
8515
|
view.getTransaction = getTransaction;
|
|
8516
8516
|
async function lastResolvedSequenceNumber(client, request, version) {
|
|
8517
|
-
const coder = defaultMoveCoder(client.config
|
|
8517
|
+
const coder = defaultMoveCoder(client.config);
|
|
8518
8518
|
const data = {
|
|
8519
8519
|
function: "0x1::multisig_account::last_resolved_sequence_number",
|
|
8520
8520
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8529,7 +8529,7 @@ export var multisig_account;
|
|
|
8529
8529
|
}
|
|
8530
8530
|
view.lastResolvedSequenceNumber = lastResolvedSequenceNumber;
|
|
8531
8531
|
async function nextSequenceNumber(client, request, version) {
|
|
8532
|
-
const coder = defaultMoveCoder(client.config
|
|
8532
|
+
const coder = defaultMoveCoder(client.config);
|
|
8533
8533
|
const data = {
|
|
8534
8534
|
function: "0x1::multisig_account::next_sequence_number",
|
|
8535
8535
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8586,7 +8586,7 @@ export var nonce_validation;
|
|
|
8586
8586
|
let entry;
|
|
8587
8587
|
(function (entry) {
|
|
8588
8588
|
async function addNonceBuckets(client, account, request, options) {
|
|
8589
|
-
const coder = defaultMoveCoder(client.config
|
|
8589
|
+
const coder = defaultMoveCoder(client.config);
|
|
8590
8590
|
const transaction = await client.transaction.build.simple({
|
|
8591
8591
|
sender: account.accountAddress,
|
|
8592
8592
|
data: {
|
|
@@ -8603,7 +8603,7 @@ export var nonce_validation;
|
|
|
8603
8603
|
}
|
|
8604
8604
|
entry.addNonceBuckets = addNonceBuckets;
|
|
8605
8605
|
async function initializeNonceTable(client, account, request, options) {
|
|
8606
|
-
const coder = defaultMoveCoder(client.config
|
|
8606
|
+
const coder = defaultMoveCoder(client.config);
|
|
8607
8607
|
const transaction = await client.transaction.build.simple({
|
|
8608
8608
|
sender: account.accountAddress,
|
|
8609
8609
|
data: {
|
|
@@ -8647,7 +8647,7 @@ export var resource_account;
|
|
|
8647
8647
|
let entry;
|
|
8648
8648
|
(function (entry) {
|
|
8649
8649
|
async function createResourceAccount(client, account, request, options) {
|
|
8650
|
-
const coder = defaultMoveCoder(client.config
|
|
8650
|
+
const coder = defaultMoveCoder(client.config);
|
|
8651
8651
|
const transaction = await client.transaction.build.simple({
|
|
8652
8652
|
sender: account.accountAddress,
|
|
8653
8653
|
data: {
|
|
@@ -8664,7 +8664,7 @@ export var resource_account;
|
|
|
8664
8664
|
}
|
|
8665
8665
|
entry.createResourceAccount = createResourceAccount;
|
|
8666
8666
|
async function createResourceAccountAndFund(client, account, request, options) {
|
|
8667
|
-
const coder = defaultMoveCoder(client.config
|
|
8667
|
+
const coder = defaultMoveCoder(client.config);
|
|
8668
8668
|
const transaction = await client.transaction.build.simple({
|
|
8669
8669
|
sender: account.accountAddress,
|
|
8670
8670
|
data: {
|
|
@@ -8681,7 +8681,7 @@ export var resource_account;
|
|
|
8681
8681
|
}
|
|
8682
8682
|
entry.createResourceAccountAndFund = createResourceAccountAndFund;
|
|
8683
8683
|
async function createResourceAccountAndPublishPackage(client, account, request, options) {
|
|
8684
|
-
const coder = defaultMoveCoder(client.config
|
|
8684
|
+
const coder = defaultMoveCoder(client.config);
|
|
8685
8685
|
const transaction = await client.transaction.build.simple({
|
|
8686
8686
|
sender: account.accountAddress,
|
|
8687
8687
|
data: {
|
|
@@ -8938,7 +8938,7 @@ export var staking_contract;
|
|
|
8938
8938
|
let entry;
|
|
8939
8939
|
(function (entry) {
|
|
8940
8940
|
async function addStake(client, account, request, options) {
|
|
8941
|
-
const coder = defaultMoveCoder(client.config
|
|
8941
|
+
const coder = defaultMoveCoder(client.config);
|
|
8942
8942
|
const transaction = await client.transaction.build.simple({
|
|
8943
8943
|
sender: account.accountAddress,
|
|
8944
8944
|
data: {
|
|
@@ -8955,7 +8955,7 @@ export var staking_contract;
|
|
|
8955
8955
|
}
|
|
8956
8956
|
entry.addStake = addStake;
|
|
8957
8957
|
async function setBeneficiaryForOperator(client, account, request, options) {
|
|
8958
|
-
const coder = defaultMoveCoder(client.config
|
|
8958
|
+
const coder = defaultMoveCoder(client.config);
|
|
8959
8959
|
const transaction = await client.transaction.build.simple({
|
|
8960
8960
|
sender: account.accountAddress,
|
|
8961
8961
|
data: {
|
|
@@ -8972,7 +8972,7 @@ export var staking_contract;
|
|
|
8972
8972
|
}
|
|
8973
8973
|
entry.setBeneficiaryForOperator = setBeneficiaryForOperator;
|
|
8974
8974
|
async function createStakingContract(client, account, request, options) {
|
|
8975
|
-
const coder = defaultMoveCoder(client.config
|
|
8975
|
+
const coder = defaultMoveCoder(client.config);
|
|
8976
8976
|
const transaction = await client.transaction.build.simple({
|
|
8977
8977
|
sender: account.accountAddress,
|
|
8978
8978
|
data: {
|
|
@@ -8989,7 +8989,7 @@ export var staking_contract;
|
|
|
8989
8989
|
}
|
|
8990
8990
|
entry.createStakingContract = createStakingContract;
|
|
8991
8991
|
async function distribute(client, account, request, options) {
|
|
8992
|
-
const coder = defaultMoveCoder(client.config
|
|
8992
|
+
const coder = defaultMoveCoder(client.config);
|
|
8993
8993
|
const transaction = await client.transaction.build.simple({
|
|
8994
8994
|
sender: account.accountAddress,
|
|
8995
8995
|
data: {
|
|
@@ -9006,7 +9006,7 @@ export var staking_contract;
|
|
|
9006
9006
|
}
|
|
9007
9007
|
entry.distribute = distribute;
|
|
9008
9008
|
async function requestCommission(client, account, request, options) {
|
|
9009
|
-
const coder = defaultMoveCoder(client.config
|
|
9009
|
+
const coder = defaultMoveCoder(client.config);
|
|
9010
9010
|
const transaction = await client.transaction.build.simple({
|
|
9011
9011
|
sender: account.accountAddress,
|
|
9012
9012
|
data: {
|
|
@@ -9023,7 +9023,7 @@ export var staking_contract;
|
|
|
9023
9023
|
}
|
|
9024
9024
|
entry.requestCommission = requestCommission;
|
|
9025
9025
|
async function resetLockup(client, account, request, options) {
|
|
9026
|
-
const coder = defaultMoveCoder(client.config
|
|
9026
|
+
const coder = defaultMoveCoder(client.config);
|
|
9027
9027
|
const transaction = await client.transaction.build.simple({
|
|
9028
9028
|
sender: account.accountAddress,
|
|
9029
9029
|
data: {
|
|
@@ -9040,7 +9040,7 @@ export var staking_contract;
|
|
|
9040
9040
|
}
|
|
9041
9041
|
entry.resetLockup = resetLockup;
|
|
9042
9042
|
async function switchOperator(client, account, request, options) {
|
|
9043
|
-
const coder = defaultMoveCoder(client.config
|
|
9043
|
+
const coder = defaultMoveCoder(client.config);
|
|
9044
9044
|
const transaction = await client.transaction.build.simple({
|
|
9045
9045
|
sender: account.accountAddress,
|
|
9046
9046
|
data: {
|
|
@@ -9057,7 +9057,7 @@ export var staking_contract;
|
|
|
9057
9057
|
}
|
|
9058
9058
|
entry.switchOperator = switchOperator;
|
|
9059
9059
|
async function switchOperatorWithSameCommission(client, account, request, options) {
|
|
9060
|
-
const coder = defaultMoveCoder(client.config
|
|
9060
|
+
const coder = defaultMoveCoder(client.config);
|
|
9061
9061
|
const transaction = await client.transaction.build.simple({
|
|
9062
9062
|
sender: account.accountAddress,
|
|
9063
9063
|
data: {
|
|
@@ -9074,7 +9074,7 @@ export var staking_contract;
|
|
|
9074
9074
|
}
|
|
9075
9075
|
entry.switchOperatorWithSameCommission = switchOperatorWithSameCommission;
|
|
9076
9076
|
async function unlockRewards(client, account, request, options) {
|
|
9077
|
-
const coder = defaultMoveCoder(client.config
|
|
9077
|
+
const coder = defaultMoveCoder(client.config);
|
|
9078
9078
|
const transaction = await client.transaction.build.simple({
|
|
9079
9079
|
sender: account.accountAddress,
|
|
9080
9080
|
data: {
|
|
@@ -9091,7 +9091,7 @@ export var staking_contract;
|
|
|
9091
9091
|
}
|
|
9092
9092
|
entry.unlockRewards = unlockRewards;
|
|
9093
9093
|
async function unlockStake(client, account, request, options) {
|
|
9094
|
-
const coder = defaultMoveCoder(client.config
|
|
9094
|
+
const coder = defaultMoveCoder(client.config);
|
|
9095
9095
|
const transaction = await client.transaction.build.simple({
|
|
9096
9096
|
sender: account.accountAddress,
|
|
9097
9097
|
data: {
|
|
@@ -9108,7 +9108,7 @@ export var staking_contract;
|
|
|
9108
9108
|
}
|
|
9109
9109
|
entry.unlockStake = unlockStake;
|
|
9110
9110
|
async function updateCommision(client, account, request, options) {
|
|
9111
|
-
const coder = defaultMoveCoder(client.config
|
|
9111
|
+
const coder = defaultMoveCoder(client.config);
|
|
9112
9112
|
const transaction = await client.transaction.build.simple({
|
|
9113
9113
|
sender: account.accountAddress,
|
|
9114
9114
|
data: {
|
|
@@ -9125,7 +9125,7 @@ export var staking_contract;
|
|
|
9125
9125
|
}
|
|
9126
9126
|
entry.updateCommision = updateCommision;
|
|
9127
9127
|
async function updateVoter(client, account, request, options) {
|
|
9128
|
-
const coder = defaultMoveCoder(client.config
|
|
9128
|
+
const coder = defaultMoveCoder(client.config);
|
|
9129
9129
|
const transaction = await client.transaction.build.simple({
|
|
9130
9130
|
sender: account.accountAddress,
|
|
9131
9131
|
data: {
|
|
@@ -9145,7 +9145,7 @@ export var staking_contract;
|
|
|
9145
9145
|
let view;
|
|
9146
9146
|
(function (view) {
|
|
9147
9147
|
async function beneficiaryForOperator(client, request, version) {
|
|
9148
|
-
const coder = defaultMoveCoder(client.config
|
|
9148
|
+
const coder = defaultMoveCoder(client.config);
|
|
9149
9149
|
const data = {
|
|
9150
9150
|
function: "0x1::staking_contract::beneficiary_for_operator",
|
|
9151
9151
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9160,7 +9160,7 @@ export var staking_contract;
|
|
|
9160
9160
|
}
|
|
9161
9161
|
view.beneficiaryForOperator = beneficiaryForOperator;
|
|
9162
9162
|
async function getExpectedStakePoolAddress(client, request, version) {
|
|
9163
|
-
const coder = defaultMoveCoder(client.config
|
|
9163
|
+
const coder = defaultMoveCoder(client.config);
|
|
9164
9164
|
const data = {
|
|
9165
9165
|
function: "0x1::staking_contract::get_expected_stake_pool_address",
|
|
9166
9166
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9175,7 +9175,7 @@ export var staking_contract;
|
|
|
9175
9175
|
}
|
|
9176
9176
|
view.getExpectedStakePoolAddress = getExpectedStakePoolAddress;
|
|
9177
9177
|
async function commissionPercentage(client, request, version) {
|
|
9178
|
-
const coder = defaultMoveCoder(client.config
|
|
9178
|
+
const coder = defaultMoveCoder(client.config);
|
|
9179
9179
|
const data = {
|
|
9180
9180
|
function: "0x1::staking_contract::commission_percentage",
|
|
9181
9181
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9190,7 +9190,7 @@ export var staking_contract;
|
|
|
9190
9190
|
}
|
|
9191
9191
|
view.commissionPercentage = commissionPercentage;
|
|
9192
9192
|
async function lastRecordedPrincipal(client, request, version) {
|
|
9193
|
-
const coder = defaultMoveCoder(client.config
|
|
9193
|
+
const coder = defaultMoveCoder(client.config);
|
|
9194
9194
|
const data = {
|
|
9195
9195
|
function: "0x1::staking_contract::last_recorded_principal",
|
|
9196
9196
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9205,7 +9205,7 @@ export var staking_contract;
|
|
|
9205
9205
|
}
|
|
9206
9206
|
view.lastRecordedPrincipal = lastRecordedPrincipal;
|
|
9207
9207
|
async function pendingDistributionCounts(client, request, version) {
|
|
9208
|
-
const coder = defaultMoveCoder(client.config
|
|
9208
|
+
const coder = defaultMoveCoder(client.config);
|
|
9209
9209
|
const data = {
|
|
9210
9210
|
function: "0x1::staking_contract::pending_distribution_counts",
|
|
9211
9211
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9220,7 +9220,7 @@ export var staking_contract;
|
|
|
9220
9220
|
}
|
|
9221
9221
|
view.pendingDistributionCounts = pendingDistributionCounts;
|
|
9222
9222
|
async function stakePoolAddress(client, request, version) {
|
|
9223
|
-
const coder = defaultMoveCoder(client.config
|
|
9223
|
+
const coder = defaultMoveCoder(client.config);
|
|
9224
9224
|
const data = {
|
|
9225
9225
|
function: "0x1::staking_contract::stake_pool_address",
|
|
9226
9226
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9235,7 +9235,7 @@ export var staking_contract;
|
|
|
9235
9235
|
}
|
|
9236
9236
|
view.stakePoolAddress = stakePoolAddress;
|
|
9237
9237
|
async function stakingContractAmounts(client, request, version) {
|
|
9238
|
-
const coder = defaultMoveCoder(client.config
|
|
9238
|
+
const coder = defaultMoveCoder(client.config);
|
|
9239
9239
|
const data = {
|
|
9240
9240
|
function: "0x1::staking_contract::staking_contract_amounts",
|
|
9241
9241
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9250,7 +9250,7 @@ export var staking_contract;
|
|
|
9250
9250
|
}
|
|
9251
9251
|
view.stakingContractAmounts = stakingContractAmounts;
|
|
9252
9252
|
async function stakingContractExists(client, request, version) {
|
|
9253
|
-
const coder = defaultMoveCoder(client.config
|
|
9253
|
+
const coder = defaultMoveCoder(client.config);
|
|
9254
9254
|
const data = {
|
|
9255
9255
|
function: "0x1::staking_contract::staking_contract_exists",
|
|
9256
9256
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9391,7 +9391,7 @@ export var account_abstraction;
|
|
|
9391
9391
|
let entry;
|
|
9392
9392
|
(function (entry) {
|
|
9393
9393
|
async function initialize(client, account, request, options) {
|
|
9394
|
-
const coder = defaultMoveCoder(client.config
|
|
9394
|
+
const coder = defaultMoveCoder(client.config);
|
|
9395
9395
|
const transaction = await client.transaction.build.simple({
|
|
9396
9396
|
sender: account.accountAddress,
|
|
9397
9397
|
data: {
|
|
@@ -9408,7 +9408,7 @@ export var account_abstraction;
|
|
|
9408
9408
|
}
|
|
9409
9409
|
entry.initialize = initialize;
|
|
9410
9410
|
async function addAuthenticationFunction(client, account, request, options) {
|
|
9411
|
-
const coder = defaultMoveCoder(client.config
|
|
9411
|
+
const coder = defaultMoveCoder(client.config);
|
|
9412
9412
|
const transaction = await client.transaction.build.simple({
|
|
9413
9413
|
sender: account.accountAddress,
|
|
9414
9414
|
data: {
|
|
@@ -9425,7 +9425,7 @@ export var account_abstraction;
|
|
|
9425
9425
|
}
|
|
9426
9426
|
entry.addAuthenticationFunction = addAuthenticationFunction;
|
|
9427
9427
|
async function addDispatchableAuthenticationFunction(client, account, request, options) {
|
|
9428
|
-
const coder = defaultMoveCoder(client.config
|
|
9428
|
+
const coder = defaultMoveCoder(client.config);
|
|
9429
9429
|
const transaction = await client.transaction.build.simple({
|
|
9430
9430
|
sender: account.accountAddress,
|
|
9431
9431
|
data: {
|
|
@@ -9442,7 +9442,7 @@ export var account_abstraction;
|
|
|
9442
9442
|
}
|
|
9443
9443
|
entry.addDispatchableAuthenticationFunction = addDispatchableAuthenticationFunction;
|
|
9444
9444
|
async function registerDerivableAuthenticationFunction(client, account, request, options) {
|
|
9445
|
-
const coder = defaultMoveCoder(client.config
|
|
9445
|
+
const coder = defaultMoveCoder(client.config);
|
|
9446
9446
|
const transaction = await client.transaction.build.simple({
|
|
9447
9447
|
sender: account.accountAddress,
|
|
9448
9448
|
data: {
|
|
@@ -9459,7 +9459,7 @@ export var account_abstraction;
|
|
|
9459
9459
|
}
|
|
9460
9460
|
entry.registerDerivableAuthenticationFunction = registerDerivableAuthenticationFunction;
|
|
9461
9461
|
async function removeAuthenticationFunction(client, account, request, options) {
|
|
9462
|
-
const coder = defaultMoveCoder(client.config
|
|
9462
|
+
const coder = defaultMoveCoder(client.config);
|
|
9463
9463
|
const transaction = await client.transaction.build.simple({
|
|
9464
9464
|
sender: account.accountAddress,
|
|
9465
9465
|
data: {
|
|
@@ -9476,7 +9476,7 @@ export var account_abstraction;
|
|
|
9476
9476
|
}
|
|
9477
9477
|
entry.removeAuthenticationFunction = removeAuthenticationFunction;
|
|
9478
9478
|
async function removeAuthenticator(client, account, request, options) {
|
|
9479
|
-
const coder = defaultMoveCoder(client.config
|
|
9479
|
+
const coder = defaultMoveCoder(client.config);
|
|
9480
9480
|
const transaction = await client.transaction.build.simple({
|
|
9481
9481
|
sender: account.accountAddress,
|
|
9482
9482
|
data: {
|
|
@@ -9493,7 +9493,7 @@ export var account_abstraction;
|
|
|
9493
9493
|
}
|
|
9494
9494
|
entry.removeAuthenticator = removeAuthenticator;
|
|
9495
9495
|
async function removeDispatchableAuthenticationFunction(client, account, request, options) {
|
|
9496
|
-
const coder = defaultMoveCoder(client.config
|
|
9496
|
+
const coder = defaultMoveCoder(client.config);
|
|
9497
9497
|
const transaction = await client.transaction.build.simple({
|
|
9498
9498
|
sender: account.accountAddress,
|
|
9499
9499
|
data: {
|
|
@@ -9510,7 +9510,7 @@ export var account_abstraction;
|
|
|
9510
9510
|
}
|
|
9511
9511
|
entry.removeDispatchableAuthenticationFunction = removeDispatchableAuthenticationFunction;
|
|
9512
9512
|
async function removeDispatchableAuthenticator(client, account, request, options) {
|
|
9513
|
-
const coder = defaultMoveCoder(client.config
|
|
9513
|
+
const coder = defaultMoveCoder(client.config);
|
|
9514
9514
|
const transaction = await client.transaction.build.simple({
|
|
9515
9515
|
sender: account.accountAddress,
|
|
9516
9516
|
data: {
|
|
@@ -9530,7 +9530,7 @@ export var account_abstraction;
|
|
|
9530
9530
|
let view;
|
|
9531
9531
|
(function (view) {
|
|
9532
9532
|
async function deriveAccountAddressView(client, request, version) {
|
|
9533
|
-
const coder = defaultMoveCoder(client.config
|
|
9533
|
+
const coder = defaultMoveCoder(client.config);
|
|
9534
9534
|
const data = {
|
|
9535
9535
|
function: "0x1::account_abstraction::derive_account_address_view",
|
|
9536
9536
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9545,7 +9545,7 @@ export var account_abstraction;
|
|
|
9545
9545
|
}
|
|
9546
9546
|
view.deriveAccountAddressView = deriveAccountAddressView;
|
|
9547
9547
|
async function dispatchableAuthenticator(client, request, version) {
|
|
9548
|
-
const coder = defaultMoveCoder(client.config
|
|
9548
|
+
const coder = defaultMoveCoder(client.config);
|
|
9549
9549
|
const data = {
|
|
9550
9550
|
function: "0x1::account_abstraction::dispatchable_authenticator",
|
|
9551
9551
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9560,7 +9560,7 @@ export var account_abstraction;
|
|
|
9560
9560
|
}
|
|
9561
9561
|
view.dispatchableAuthenticator = dispatchableAuthenticator;
|
|
9562
9562
|
async function usingDispatchableAuthenticator(client, request, version) {
|
|
9563
|
-
const coder = defaultMoveCoder(client.config
|
|
9563
|
+
const coder = defaultMoveCoder(client.config);
|
|
9564
9564
|
const data = {
|
|
9565
9565
|
function: "0x1::account_abstraction::using_dispatchable_authenticator",
|
|
9566
9566
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9668,7 +9668,7 @@ export var permissioned_signer;
|
|
|
9668
9668
|
let entry;
|
|
9669
9669
|
(function (entry) {
|
|
9670
9670
|
async function revokeAllHandles(client, account, request, options) {
|
|
9671
|
-
const coder = defaultMoveCoder(client.config
|
|
9671
|
+
const coder = defaultMoveCoder(client.config);
|
|
9672
9672
|
const transaction = await client.transaction.build.simple({
|
|
9673
9673
|
sender: account.accountAddress,
|
|
9674
9674
|
data: {
|
|
@@ -9685,7 +9685,7 @@ export var permissioned_signer;
|
|
|
9685
9685
|
}
|
|
9686
9686
|
entry.revokeAllHandles = revokeAllHandles;
|
|
9687
9687
|
async function revokePermissionStorageAddress(client, account, request, options) {
|
|
9688
|
-
const coder = defaultMoveCoder(client.config
|
|
9688
|
+
const coder = defaultMoveCoder(client.config);
|
|
9689
9689
|
const transaction = await client.transaction.build.simple({
|
|
9690
9690
|
sender: account.accountAddress,
|
|
9691
9691
|
data: {
|
|
@@ -9885,7 +9885,7 @@ export var object_code_deployment;
|
|
|
9885
9885
|
let entry;
|
|
9886
9886
|
(function (entry) {
|
|
9887
9887
|
async function freezeCodeObject(client, account, request, options) {
|
|
9888
|
-
const coder = defaultMoveCoder(client.config
|
|
9888
|
+
const coder = defaultMoveCoder(client.config);
|
|
9889
9889
|
const transaction = await client.transaction.build.simple({
|
|
9890
9890
|
sender: account.accountAddress,
|
|
9891
9891
|
data: {
|
|
@@ -9902,7 +9902,7 @@ export var object_code_deployment;
|
|
|
9902
9902
|
}
|
|
9903
9903
|
entry.freezeCodeObject = freezeCodeObject;
|
|
9904
9904
|
async function publish(client, account, request, options) {
|
|
9905
|
-
const coder = defaultMoveCoder(client.config
|
|
9905
|
+
const coder = defaultMoveCoder(client.config);
|
|
9906
9906
|
const transaction = await client.transaction.build.simple({
|
|
9907
9907
|
sender: account.accountAddress,
|
|
9908
9908
|
data: {
|
|
@@ -9919,7 +9919,7 @@ export var object_code_deployment;
|
|
|
9919
9919
|
}
|
|
9920
9920
|
entry.publish = publish;
|
|
9921
9921
|
async function upgrade(client, account, request, options) {
|
|
9922
|
-
const coder = defaultMoveCoder(client.config
|
|
9922
|
+
const coder = defaultMoveCoder(client.config);
|
|
9923
9923
|
const transaction = await client.transaction.build.simple({
|
|
9924
9924
|
sender: account.accountAddress,
|
|
9925
9925
|
data: {
|
|
@@ -9951,7 +9951,7 @@ export var primary_fungible_store;
|
|
|
9951
9951
|
let entry;
|
|
9952
9952
|
(function (entry) {
|
|
9953
9953
|
async function transfer(client, account, request, options) {
|
|
9954
|
-
const coder = defaultMoveCoder(client.config
|
|
9954
|
+
const coder = defaultMoveCoder(client.config);
|
|
9955
9955
|
const transaction = await client.transaction.build.simple({
|
|
9956
9956
|
sender: account.accountAddress,
|
|
9957
9957
|
data: {
|
|
@@ -9968,7 +9968,7 @@ export var primary_fungible_store;
|
|
|
9968
9968
|
}
|
|
9969
9969
|
entry.transfer = transfer;
|
|
9970
9970
|
async function transferAssertMinimumDeposit(client, account, request, options) {
|
|
9971
|
-
const coder = defaultMoveCoder(client.config
|
|
9971
|
+
const coder = defaultMoveCoder(client.config);
|
|
9972
9972
|
const transaction = await client.transaction.build.simple({
|
|
9973
9973
|
sender: account.accountAddress,
|
|
9974
9974
|
data: {
|
|
@@ -9988,7 +9988,7 @@ export var primary_fungible_store;
|
|
|
9988
9988
|
let view;
|
|
9989
9989
|
(function (view) {
|
|
9990
9990
|
async function balance(client, request, version) {
|
|
9991
|
-
const coder = defaultMoveCoder(client.config
|
|
9991
|
+
const coder = defaultMoveCoder(client.config);
|
|
9992
9992
|
const data = {
|
|
9993
9993
|
function: "0x1::primary_fungible_store::balance",
|
|
9994
9994
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -10003,7 +10003,7 @@ export var primary_fungible_store;
|
|
|
10003
10003
|
}
|
|
10004
10004
|
view.balance = balance;
|
|
10005
10005
|
async function isBalanceAtLeast(client, request, version) {
|
|
10006
|
-
const coder = defaultMoveCoder(client.config
|
|
10006
|
+
const coder = defaultMoveCoder(client.config);
|
|
10007
10007
|
const data = {
|
|
10008
10008
|
function: "0x1::primary_fungible_store::is_balance_at_least",
|
|
10009
10009
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -10018,7 +10018,7 @@ export var primary_fungible_store;
|
|
|
10018
10018
|
}
|
|
10019
10019
|
view.isBalanceAtLeast = isBalanceAtLeast;
|
|
10020
10020
|
async function isFrozen(client, request, version) {
|
|
10021
|
-
const coder = defaultMoveCoder(client.config
|
|
10021
|
+
const coder = defaultMoveCoder(client.config);
|
|
10022
10022
|
const data = {
|
|
10023
10023
|
function: "0x1::primary_fungible_store::is_frozen",
|
|
10024
10024
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -10033,7 +10033,7 @@ export var primary_fungible_store;
|
|
|
10033
10033
|
}
|
|
10034
10034
|
view.isFrozen = isFrozen;
|
|
10035
10035
|
async function primaryStore(client, request, version) {
|
|
10036
|
-
const coder = defaultMoveCoder(client.config
|
|
10036
|
+
const coder = defaultMoveCoder(client.config);
|
|
10037
10037
|
const data = {
|
|
10038
10038
|
function: "0x1::primary_fungible_store::primary_store",
|
|
10039
10039
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -10048,7 +10048,7 @@ export var primary_fungible_store;
|
|
|
10048
10048
|
}
|
|
10049
10049
|
view.primaryStore = primaryStore;
|
|
10050
10050
|
async function primaryStoreAddress(client, request, version) {
|
|
10051
|
-
const coder = defaultMoveCoder(client.config
|
|
10051
|
+
const coder = defaultMoveCoder(client.config);
|
|
10052
10052
|
const data = {
|
|
10053
10053
|
function: "0x1::primary_fungible_store::primary_store_address",
|
|
10054
10054
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -10063,7 +10063,7 @@ export var primary_fungible_store;
|
|
|
10063
10063
|
}
|
|
10064
10064
|
view.primaryStoreAddress = primaryStoreAddress;
|
|
10065
10065
|
async function primaryStoreExists(client, request, version) {
|
|
10066
|
-
const coder = defaultMoveCoder(client.config
|
|
10066
|
+
const coder = defaultMoveCoder(client.config);
|
|
10067
10067
|
const data = {
|
|
10068
10068
|
function: "0x1::primary_fungible_store::primary_store_exists",
|
|
10069
10069
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -10282,7 +10282,7 @@ export var dispatchable_fungible_asset;
|
|
|
10282
10282
|
let entry;
|
|
10283
10283
|
(function (entry) {
|
|
10284
10284
|
async function transfer(client, account, request, options) {
|
|
10285
|
-
const coder = defaultMoveCoder(client.config
|
|
10285
|
+
const coder = defaultMoveCoder(client.config);
|
|
10286
10286
|
const transaction = await client.transaction.build.simple({
|
|
10287
10287
|
sender: account.accountAddress,
|
|
10288
10288
|
data: {
|
|
@@ -10299,7 +10299,7 @@ export var dispatchable_fungible_asset;
|
|
|
10299
10299
|
}
|
|
10300
10300
|
entry.transfer = transfer;
|
|
10301
10301
|
async function transferAssertMinimumDeposit(client, account, request, options) {
|
|
10302
|
-
const coder = defaultMoveCoder(client.config
|
|
10302
|
+
const coder = defaultMoveCoder(client.config);
|
|
10303
10303
|
const transaction = await client.transaction.build.simple({
|
|
10304
10304
|
sender: account.accountAddress,
|
|
10305
10305
|
data: {
|
|
@@ -10319,7 +10319,7 @@ export var dispatchable_fungible_asset;
|
|
|
10319
10319
|
let view;
|
|
10320
10320
|
(function (view) {
|
|
10321
10321
|
async function derivedBalance(client, request, version) {
|
|
10322
|
-
const coder = defaultMoveCoder(client.config
|
|
10322
|
+
const coder = defaultMoveCoder(client.config);
|
|
10323
10323
|
const data = {
|
|
10324
10324
|
function: "0x1::dispatchable_fungible_asset::derived_balance",
|
|
10325
10325
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -10334,7 +10334,7 @@ export var dispatchable_fungible_asset;
|
|
|
10334
10334
|
}
|
|
10335
10335
|
view.derivedBalance = derivedBalance;
|
|
10336
10336
|
async function derivedSupply(client, request, version) {
|
|
10337
|
-
const coder = defaultMoveCoder(client.config
|
|
10337
|
+
const coder = defaultMoveCoder(client.config);
|
|
10338
10338
|
const data = {
|
|
10339
10339
|
function: "0x1::dispatchable_fungible_asset::derived_supply",
|
|
10340
10340
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -10349,7 +10349,7 @@ export var dispatchable_fungible_asset;
|
|
|
10349
10349
|
}
|
|
10350
10350
|
view.derivedSupply = derivedSupply;
|
|
10351
10351
|
async function isDerivedBalanceAtLeast(client, request, version) {
|
|
10352
|
-
const coder = defaultMoveCoder(client.config
|
|
10352
|
+
const coder = defaultMoveCoder(client.config);
|
|
10353
10353
|
const data = {
|
|
10354
10354
|
function: "0x1::dispatchable_fungible_asset::is_derived_balance_at_least",
|
|
10355
10355
|
functionArguments: coder.encodeArray(request.functionArguments),
|