@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/cjs/builtin/0x1.js
CHANGED
|
@@ -162,7 +162,7 @@ var code;
|
|
|
162
162
|
let entry;
|
|
163
163
|
(function (entry) {
|
|
164
164
|
async function publishPackageTxn(client, account, request, options) {
|
|
165
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
165
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
166
166
|
const transaction = await client.transaction.build.simple({
|
|
167
167
|
sender: account.accountAddress,
|
|
168
168
|
data: {
|
|
@@ -401,7 +401,7 @@ var coin;
|
|
|
401
401
|
let entry;
|
|
402
402
|
(function (entry) {
|
|
403
403
|
async function transfer(client, account, request, options) {
|
|
404
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
404
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
405
405
|
const transaction = await client.transaction.build.simple({
|
|
406
406
|
sender: account.accountAddress,
|
|
407
407
|
data: {
|
|
@@ -418,7 +418,7 @@ var coin;
|
|
|
418
418
|
}
|
|
419
419
|
entry.transfer = transfer;
|
|
420
420
|
async function createCoinConversionMap(client, account, request, options) {
|
|
421
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
421
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
422
422
|
const transaction = await client.transaction.build.simple({
|
|
423
423
|
sender: account.accountAddress,
|
|
424
424
|
data: {
|
|
@@ -435,7 +435,7 @@ var coin;
|
|
|
435
435
|
}
|
|
436
436
|
entry.createCoinConversionMap = createCoinConversionMap;
|
|
437
437
|
async function createPairing(client, account, request, options) {
|
|
438
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
438
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
439
439
|
const transaction = await client.transaction.build.simple({
|
|
440
440
|
sender: account.accountAddress,
|
|
441
441
|
data: {
|
|
@@ -452,7 +452,7 @@ var coin;
|
|
|
452
452
|
}
|
|
453
453
|
entry.createPairing = createPairing;
|
|
454
454
|
async function freezeCoinStore(client, account, request, options) {
|
|
455
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
455
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
456
456
|
const transaction = await client.transaction.build.simple({
|
|
457
457
|
sender: account.accountAddress,
|
|
458
458
|
data: {
|
|
@@ -469,7 +469,7 @@ var coin;
|
|
|
469
469
|
}
|
|
470
470
|
entry.freezeCoinStore = freezeCoinStore;
|
|
471
471
|
async function migrateCoinStoreToFungibleStore(client, account, request, options) {
|
|
472
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
472
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
473
473
|
const transaction = await client.transaction.build.simple({
|
|
474
474
|
sender: account.accountAddress,
|
|
475
475
|
data: {
|
|
@@ -486,7 +486,7 @@ var coin;
|
|
|
486
486
|
}
|
|
487
487
|
entry.migrateCoinStoreToFungibleStore = migrateCoinStoreToFungibleStore;
|
|
488
488
|
async function migrateToFungibleStore(client, account, request, options) {
|
|
489
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
489
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
490
490
|
const transaction = await client.transaction.build.simple({
|
|
491
491
|
sender: account.accountAddress,
|
|
492
492
|
data: {
|
|
@@ -503,7 +503,7 @@ var coin;
|
|
|
503
503
|
}
|
|
504
504
|
entry.migrateToFungibleStore = migrateToFungibleStore;
|
|
505
505
|
async function unfreezeCoinStore(client, account, request, options) {
|
|
506
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
506
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
507
507
|
const transaction = await client.transaction.build.simple({
|
|
508
508
|
sender: account.accountAddress,
|
|
509
509
|
data: {
|
|
@@ -520,7 +520,7 @@ var coin;
|
|
|
520
520
|
}
|
|
521
521
|
entry.unfreezeCoinStore = unfreezeCoinStore;
|
|
522
522
|
async function upgradeSupply(client, account, request, options) {
|
|
523
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
523
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
524
524
|
const transaction = await client.transaction.build.simple({
|
|
525
525
|
sender: account.accountAddress,
|
|
526
526
|
data: {
|
|
@@ -540,7 +540,7 @@ var coin;
|
|
|
540
540
|
let view;
|
|
541
541
|
(function (view) {
|
|
542
542
|
async function name(client, request, version) {
|
|
543
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
543
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
544
544
|
const data = {
|
|
545
545
|
function: "0x1::coin::name",
|
|
546
546
|
functionArguments: [],
|
|
@@ -555,7 +555,7 @@ var coin;
|
|
|
555
555
|
}
|
|
556
556
|
view.name = name;
|
|
557
557
|
async function symbol$(client, request, version) {
|
|
558
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
558
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
559
559
|
const data = {
|
|
560
560
|
function: "0x1::coin::symbol",
|
|
561
561
|
functionArguments: [],
|
|
@@ -570,7 +570,7 @@ var coin;
|
|
|
570
570
|
}
|
|
571
571
|
view.symbol$ = symbol$;
|
|
572
572
|
async function decimals(client, request, version) {
|
|
573
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
573
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
574
574
|
const data = {
|
|
575
575
|
function: "0x1::coin::decimals",
|
|
576
576
|
functionArguments: [],
|
|
@@ -585,7 +585,7 @@ var coin;
|
|
|
585
585
|
}
|
|
586
586
|
view.decimals = decimals;
|
|
587
587
|
async function balance(client, request, version) {
|
|
588
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
588
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
589
589
|
const data = {
|
|
590
590
|
function: "0x1::coin::balance",
|
|
591
591
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -600,7 +600,7 @@ var coin;
|
|
|
600
600
|
}
|
|
601
601
|
view.balance = balance;
|
|
602
602
|
async function isBalanceAtLeast(client, request, version) {
|
|
603
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
603
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
604
604
|
const data = {
|
|
605
605
|
function: "0x1::coin::is_balance_at_least",
|
|
606
606
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -615,7 +615,7 @@ var coin;
|
|
|
615
615
|
}
|
|
616
616
|
view.isBalanceAtLeast = isBalanceAtLeast;
|
|
617
617
|
async function supply(client, request, version) {
|
|
618
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
618
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
619
619
|
const data = {
|
|
620
620
|
function: "0x1::coin::supply",
|
|
621
621
|
functionArguments: [],
|
|
@@ -630,7 +630,7 @@ var coin;
|
|
|
630
630
|
}
|
|
631
631
|
view.supply = supply;
|
|
632
632
|
async function coinSupply(client, request, version) {
|
|
633
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
633
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
634
634
|
const data = {
|
|
635
635
|
function: "0x1::coin::coin_supply",
|
|
636
636
|
functionArguments: [],
|
|
@@ -645,7 +645,7 @@ var coin;
|
|
|
645
645
|
}
|
|
646
646
|
view.coinSupply = coinSupply;
|
|
647
647
|
async function isAccountRegistered(client, request, version) {
|
|
648
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
648
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
649
649
|
const data = {
|
|
650
650
|
function: "0x1::coin::is_account_registered",
|
|
651
651
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -660,7 +660,7 @@ var coin;
|
|
|
660
660
|
}
|
|
661
661
|
view.isAccountRegistered = isAccountRegistered;
|
|
662
662
|
async function isCoinInitialized(client, request, version) {
|
|
663
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
663
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
664
664
|
const data = {
|
|
665
665
|
function: "0x1::coin::is_coin_initialized",
|
|
666
666
|
functionArguments: [],
|
|
@@ -675,7 +675,7 @@ var coin;
|
|
|
675
675
|
}
|
|
676
676
|
view.isCoinInitialized = isCoinInitialized;
|
|
677
677
|
async function isCoinStoreFrozen(client, request, version) {
|
|
678
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
678
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
679
679
|
const data = {
|
|
680
680
|
function: "0x1::coin::is_coin_store_frozen",
|
|
681
681
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -690,7 +690,7 @@ var coin;
|
|
|
690
690
|
}
|
|
691
691
|
view.isCoinStoreFrozen = isCoinStoreFrozen;
|
|
692
692
|
async function pairedBurnRefExists(client, request, version) {
|
|
693
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
693
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
694
694
|
const data = {
|
|
695
695
|
function: "0x1::coin::paired_burn_ref_exists",
|
|
696
696
|
functionArguments: [],
|
|
@@ -705,7 +705,7 @@ var coin;
|
|
|
705
705
|
}
|
|
706
706
|
view.pairedBurnRefExists = pairedBurnRefExists;
|
|
707
707
|
async function pairedCoin(client, request, version) {
|
|
708
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
708
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
709
709
|
const data = {
|
|
710
710
|
function: "0x1::coin::paired_coin",
|
|
711
711
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -720,7 +720,7 @@ var coin;
|
|
|
720
720
|
}
|
|
721
721
|
view.pairedCoin = pairedCoin;
|
|
722
722
|
async function pairedMetadata(client, request, version) {
|
|
723
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
723
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
724
724
|
const data = {
|
|
725
725
|
function: "0x1::coin::paired_metadata",
|
|
726
726
|
functionArguments: [],
|
|
@@ -735,7 +735,7 @@ var coin;
|
|
|
735
735
|
}
|
|
736
736
|
view.pairedMetadata = pairedMetadata;
|
|
737
737
|
async function pairedMintRefExists(client, request, version) {
|
|
738
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
738
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
739
739
|
const data = {
|
|
740
740
|
function: "0x1::coin::paired_mint_ref_exists",
|
|
741
741
|
functionArguments: [],
|
|
@@ -750,7 +750,7 @@ var coin;
|
|
|
750
750
|
}
|
|
751
751
|
view.pairedMintRefExists = pairedMintRefExists;
|
|
752
752
|
async function pairedTransferRefExists(client, request, version) {
|
|
753
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
753
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
754
754
|
const data = {
|
|
755
755
|
function: "0x1::coin::paired_transfer_ref_exists",
|
|
756
756
|
functionArguments: [],
|
|
@@ -945,7 +945,7 @@ var jwks;
|
|
|
945
945
|
let entry;
|
|
946
946
|
(function (entry) {
|
|
947
947
|
async function updateFederatedJwkSet(client, account, request, options) {
|
|
948
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
948
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
949
949
|
const transaction = await client.transaction.build.simple({
|
|
950
950
|
sender: account.accountAddress,
|
|
951
951
|
data: {
|
|
@@ -1022,7 +1022,7 @@ var block;
|
|
|
1022
1022
|
let view;
|
|
1023
1023
|
(function (view) {
|
|
1024
1024
|
async function getCurrentBlockHeight(client, version) {
|
|
1025
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1025
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1026
1026
|
const data = {
|
|
1027
1027
|
function: "0x1::block::get_current_block_height",
|
|
1028
1028
|
functionArguments: [],
|
|
@@ -1037,7 +1037,7 @@ var block;
|
|
|
1037
1037
|
}
|
|
1038
1038
|
view.getCurrentBlockHeight = getCurrentBlockHeight;
|
|
1039
1039
|
async function getEpochIntervalSecs(client, version) {
|
|
1040
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1040
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1041
1041
|
const data = {
|
|
1042
1042
|
function: "0x1::block::get_epoch_interval_secs",
|
|
1043
1043
|
functionArguments: [],
|
|
@@ -1385,7 +1385,7 @@ var stake;
|
|
|
1385
1385
|
let entry;
|
|
1386
1386
|
(function (entry) {
|
|
1387
1387
|
async function withdraw(client, account, request, options) {
|
|
1388
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1388
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1389
1389
|
const transaction = await client.transaction.build.simple({
|
|
1390
1390
|
sender: account.accountAddress,
|
|
1391
1391
|
data: {
|
|
@@ -1402,7 +1402,7 @@ var stake;
|
|
|
1402
1402
|
}
|
|
1403
1403
|
entry.withdraw = withdraw;
|
|
1404
1404
|
async function addStake(client, account, request, options) {
|
|
1405
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1405
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1406
1406
|
const transaction = await client.transaction.build.simple({
|
|
1407
1407
|
sender: account.accountAddress,
|
|
1408
1408
|
data: {
|
|
@@ -1419,7 +1419,7 @@ var stake;
|
|
|
1419
1419
|
}
|
|
1420
1420
|
entry.addStake = addStake;
|
|
1421
1421
|
async function increaseLockup(client, account, request, options) {
|
|
1422
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1422
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1423
1423
|
const transaction = await client.transaction.build.simple({
|
|
1424
1424
|
sender: account.accountAddress,
|
|
1425
1425
|
data: {
|
|
@@ -1436,7 +1436,7 @@ var stake;
|
|
|
1436
1436
|
}
|
|
1437
1437
|
entry.increaseLockup = increaseLockup;
|
|
1438
1438
|
async function initializeStakeOwner(client, account, request, options) {
|
|
1439
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1439
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1440
1440
|
const transaction = await client.transaction.build.simple({
|
|
1441
1441
|
sender: account.accountAddress,
|
|
1442
1442
|
data: {
|
|
@@ -1453,7 +1453,7 @@ var stake;
|
|
|
1453
1453
|
}
|
|
1454
1454
|
entry.initializeStakeOwner = initializeStakeOwner;
|
|
1455
1455
|
async function initializeValidator(client, account, request, options) {
|
|
1456
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1456
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1457
1457
|
const transaction = await client.transaction.build.simple({
|
|
1458
1458
|
sender: account.accountAddress,
|
|
1459
1459
|
data: {
|
|
@@ -1470,7 +1470,7 @@ var stake;
|
|
|
1470
1470
|
}
|
|
1471
1471
|
entry.initializeValidator = initializeValidator;
|
|
1472
1472
|
async function joinValidatorSet(client, account, request, options) {
|
|
1473
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1473
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1474
1474
|
const transaction = await client.transaction.build.simple({
|
|
1475
1475
|
sender: account.accountAddress,
|
|
1476
1476
|
data: {
|
|
@@ -1487,7 +1487,7 @@ var stake;
|
|
|
1487
1487
|
}
|
|
1488
1488
|
entry.joinValidatorSet = joinValidatorSet;
|
|
1489
1489
|
async function leaveValidatorSet(client, account, request, options) {
|
|
1490
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1490
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1491
1491
|
const transaction = await client.transaction.build.simple({
|
|
1492
1492
|
sender: account.accountAddress,
|
|
1493
1493
|
data: {
|
|
@@ -1504,7 +1504,7 @@ var stake;
|
|
|
1504
1504
|
}
|
|
1505
1505
|
entry.leaveValidatorSet = leaveValidatorSet;
|
|
1506
1506
|
async function reactivateStake(client, account, request, options) {
|
|
1507
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1507
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1508
1508
|
const transaction = await client.transaction.build.simple({
|
|
1509
1509
|
sender: account.accountAddress,
|
|
1510
1510
|
data: {
|
|
@@ -1521,7 +1521,7 @@ var stake;
|
|
|
1521
1521
|
}
|
|
1522
1522
|
entry.reactivateStake = reactivateStake;
|
|
1523
1523
|
async function rotateConsensusKey(client, account, request, options) {
|
|
1524
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1524
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1525
1525
|
const transaction = await client.transaction.build.simple({
|
|
1526
1526
|
sender: account.accountAddress,
|
|
1527
1527
|
data: {
|
|
@@ -1538,7 +1538,7 @@ var stake;
|
|
|
1538
1538
|
}
|
|
1539
1539
|
entry.rotateConsensusKey = rotateConsensusKey;
|
|
1540
1540
|
async function setDelegatedVoter(client, account, request, options) {
|
|
1541
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1541
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1542
1542
|
const transaction = await client.transaction.build.simple({
|
|
1543
1543
|
sender: account.accountAddress,
|
|
1544
1544
|
data: {
|
|
@@ -1555,7 +1555,7 @@ var stake;
|
|
|
1555
1555
|
}
|
|
1556
1556
|
entry.setDelegatedVoter = setDelegatedVoter;
|
|
1557
1557
|
async function setOperator(client, account, request, options) {
|
|
1558
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1558
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1559
1559
|
const transaction = await client.transaction.build.simple({
|
|
1560
1560
|
sender: account.accountAddress,
|
|
1561
1561
|
data: {
|
|
@@ -1572,7 +1572,7 @@ var stake;
|
|
|
1572
1572
|
}
|
|
1573
1573
|
entry.setOperator = setOperator;
|
|
1574
1574
|
async function unlock(client, account, request, options) {
|
|
1575
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1575
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1576
1576
|
const transaction = await client.transaction.build.simple({
|
|
1577
1577
|
sender: account.accountAddress,
|
|
1578
1578
|
data: {
|
|
@@ -1589,7 +1589,7 @@ var stake;
|
|
|
1589
1589
|
}
|
|
1590
1590
|
entry.unlock = unlock;
|
|
1591
1591
|
async function updateNetworkAndFullnodeAddresses(client, account, request, options) {
|
|
1592
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1592
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1593
1593
|
const transaction = await client.transaction.build.simple({
|
|
1594
1594
|
sender: account.accountAddress,
|
|
1595
1595
|
data: {
|
|
@@ -1609,7 +1609,7 @@ var stake;
|
|
|
1609
1609
|
let view;
|
|
1610
1610
|
(function (view) {
|
|
1611
1611
|
async function getCurrentEpochProposalCounts(client, request, version) {
|
|
1612
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1612
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1613
1613
|
const data = {
|
|
1614
1614
|
function: "0x1::stake::get_current_epoch_proposal_counts",
|
|
1615
1615
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1624,7 +1624,7 @@ var stake;
|
|
|
1624
1624
|
}
|
|
1625
1625
|
view.getCurrentEpochProposalCounts = getCurrentEpochProposalCounts;
|
|
1626
1626
|
async function getCurrentEpochVotingPower(client, request, version) {
|
|
1627
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1627
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1628
1628
|
const data = {
|
|
1629
1629
|
function: "0x1::stake::get_current_epoch_voting_power",
|
|
1630
1630
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1639,7 +1639,7 @@ var stake;
|
|
|
1639
1639
|
}
|
|
1640
1640
|
view.getCurrentEpochVotingPower = getCurrentEpochVotingPower;
|
|
1641
1641
|
async function getDelegatedVoter(client, request, version) {
|
|
1642
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1642
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1643
1643
|
const data = {
|
|
1644
1644
|
function: "0x1::stake::get_delegated_voter",
|
|
1645
1645
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1654,7 +1654,7 @@ var stake;
|
|
|
1654
1654
|
}
|
|
1655
1655
|
view.getDelegatedVoter = getDelegatedVoter;
|
|
1656
1656
|
async function getLockupSecs(client, request, version) {
|
|
1657
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1657
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1658
1658
|
const data = {
|
|
1659
1659
|
function: "0x1::stake::get_lockup_secs",
|
|
1660
1660
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1669,7 +1669,7 @@ var stake;
|
|
|
1669
1669
|
}
|
|
1670
1670
|
view.getLockupSecs = getLockupSecs;
|
|
1671
1671
|
async function getOperator(client, request, version) {
|
|
1672
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1672
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1673
1673
|
const data = {
|
|
1674
1674
|
function: "0x1::stake::get_operator",
|
|
1675
1675
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1684,7 +1684,7 @@ var stake;
|
|
|
1684
1684
|
}
|
|
1685
1685
|
view.getOperator = getOperator;
|
|
1686
1686
|
async function getRemainingLockupSecs(client, request, version) {
|
|
1687
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1687
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1688
1688
|
const data = {
|
|
1689
1689
|
function: "0x1::stake::get_remaining_lockup_secs",
|
|
1690
1690
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1699,7 +1699,7 @@ var stake;
|
|
|
1699
1699
|
}
|
|
1700
1700
|
view.getRemainingLockupSecs = getRemainingLockupSecs;
|
|
1701
1701
|
async function getStake(client, request, version) {
|
|
1702
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1702
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1703
1703
|
const data = {
|
|
1704
1704
|
function: "0x1::stake::get_stake",
|
|
1705
1705
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1714,7 +1714,7 @@ var stake;
|
|
|
1714
1714
|
}
|
|
1715
1715
|
view.getStake = getStake;
|
|
1716
1716
|
async function getValidatorConfig(client, request, version) {
|
|
1717
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1717
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1718
1718
|
const data = {
|
|
1719
1719
|
function: "0x1::stake::get_validator_config",
|
|
1720
1720
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1729,7 +1729,7 @@ var stake;
|
|
|
1729
1729
|
}
|
|
1730
1730
|
view.getValidatorConfig = getValidatorConfig;
|
|
1731
1731
|
async function getValidatorIndex(client, request, version) {
|
|
1732
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1732
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1733
1733
|
const data = {
|
|
1734
1734
|
function: "0x1::stake::get_validator_index",
|
|
1735
1735
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1744,7 +1744,7 @@ var stake;
|
|
|
1744
1744
|
}
|
|
1745
1745
|
view.getValidatorIndex = getValidatorIndex;
|
|
1746
1746
|
async function getValidatorState(client, request, version) {
|
|
1747
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1747
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1748
1748
|
const data = {
|
|
1749
1749
|
function: "0x1::stake::get_validator_state",
|
|
1750
1750
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1759,7 +1759,7 @@ var stake;
|
|
|
1759
1759
|
}
|
|
1760
1760
|
view.getValidatorState = getValidatorState;
|
|
1761
1761
|
async function stakePoolExists(client, request, version) {
|
|
1762
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1762
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1763
1763
|
const data = {
|
|
1764
1764
|
function: "0x1::stake::stake_pool_exists",
|
|
1765
1765
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -1927,7 +1927,7 @@ var object$;
|
|
|
1927
1927
|
let entry;
|
|
1928
1928
|
(function (entry) {
|
|
1929
1929
|
async function burn(client, account, request, options) {
|
|
1930
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1930
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1931
1931
|
const transaction = await client.transaction.build.simple({
|
|
1932
1932
|
sender: account.accountAddress,
|
|
1933
1933
|
data: {
|
|
@@ -1944,7 +1944,7 @@ var object$;
|
|
|
1944
1944
|
}
|
|
1945
1945
|
entry.burn = burn;
|
|
1946
1946
|
async function transfer(client, account, request, options) {
|
|
1947
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1947
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1948
1948
|
const transaction = await client.transaction.build.simple({
|
|
1949
1949
|
sender: account.accountAddress,
|
|
1950
1950
|
data: {
|
|
@@ -1961,7 +1961,7 @@ var object$;
|
|
|
1961
1961
|
}
|
|
1962
1962
|
entry.transfer = transfer;
|
|
1963
1963
|
async function transferCall(client, account, request, options) {
|
|
1964
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1964
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1965
1965
|
const transaction = await client.transaction.build.simple({
|
|
1966
1966
|
sender: account.accountAddress,
|
|
1967
1967
|
data: {
|
|
@@ -1978,7 +1978,7 @@ var object$;
|
|
|
1978
1978
|
}
|
|
1979
1979
|
entry.transferCall = transferCall;
|
|
1980
1980
|
async function transferToObject(client, account, request, options) {
|
|
1981
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1981
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1982
1982
|
const transaction = await client.transaction.build.simple({
|
|
1983
1983
|
sender: account.accountAddress,
|
|
1984
1984
|
data: {
|
|
@@ -1995,7 +1995,7 @@ var object$;
|
|
|
1995
1995
|
}
|
|
1996
1996
|
entry.transferToObject = transferToObject;
|
|
1997
1997
|
async function unburn(client, account, request, options) {
|
|
1998
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
1998
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
1999
1999
|
const transaction = await client.transaction.build.simple({
|
|
2000
2000
|
sender: account.accountAddress,
|
|
2001
2001
|
data: {
|
|
@@ -2015,7 +2015,7 @@ var object$;
|
|
|
2015
2015
|
let view;
|
|
2016
2016
|
(function (view) {
|
|
2017
2017
|
async function owner(client, request, version) {
|
|
2018
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2018
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2019
2019
|
const data = {
|
|
2020
2020
|
function: "0x1::object::owner",
|
|
2021
2021
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2030,7 +2030,7 @@ var object$;
|
|
|
2030
2030
|
}
|
|
2031
2031
|
view.owner = owner;
|
|
2032
2032
|
async function isBurnt(client, request, version) {
|
|
2033
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2033
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2034
2034
|
const data = {
|
|
2035
2035
|
function: "0x1::object::is_burnt",
|
|
2036
2036
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2045,7 +2045,7 @@ var object$;
|
|
|
2045
2045
|
}
|
|
2046
2046
|
view.isBurnt = isBurnt;
|
|
2047
2047
|
async function isOwner(client, request, version) {
|
|
2048
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2048
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2049
2049
|
const data = {
|
|
2050
2050
|
function: "0x1::object::is_owner",
|
|
2051
2051
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2060,7 +2060,7 @@ var object$;
|
|
|
2060
2060
|
}
|
|
2061
2061
|
view.isOwner = isOwner;
|
|
2062
2062
|
async function isUntransferable(client, request, version) {
|
|
2063
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2063
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2064
2064
|
const data = {
|
|
2065
2065
|
function: "0x1::object::is_untransferable",
|
|
2066
2066
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2075,7 +2075,7 @@ var object$;
|
|
|
2075
2075
|
}
|
|
2076
2076
|
view.isUntransferable = isUntransferable;
|
|
2077
2077
|
async function owns(client, request, version) {
|
|
2078
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2078
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2079
2079
|
const data = {
|
|
2080
2080
|
function: "0x1::object::owns",
|
|
2081
2081
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2090,7 +2090,7 @@ var object$;
|
|
|
2090
2090
|
}
|
|
2091
2091
|
view.owns = owns;
|
|
2092
2092
|
async function rootOwner(client, request, version) {
|
|
2093
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2093
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2094
2094
|
const data = {
|
|
2095
2095
|
function: "0x1::object::root_owner",
|
|
2096
2096
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2234,7 +2234,7 @@ var voting;
|
|
|
2234
2234
|
let view;
|
|
2235
2235
|
(function (view) {
|
|
2236
2236
|
async function getEarlyResolutionVoteThreshold(client, request, version) {
|
|
2237
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2237
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2238
2238
|
const data = {
|
|
2239
2239
|
function: "0x1::voting::get_early_resolution_vote_threshold",
|
|
2240
2240
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2249,7 +2249,7 @@ var voting;
|
|
|
2249
2249
|
}
|
|
2250
2250
|
view.getEarlyResolutionVoteThreshold = getEarlyResolutionVoteThreshold;
|
|
2251
2251
|
async function getExecutionHash(client, request, version) {
|
|
2252
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2252
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2253
2253
|
const data = {
|
|
2254
2254
|
function: "0x1::voting::get_execution_hash",
|
|
2255
2255
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2264,7 +2264,7 @@ var voting;
|
|
|
2264
2264
|
}
|
|
2265
2265
|
view.getExecutionHash = getExecutionHash;
|
|
2266
2266
|
async function getMinVoteThreshold(client, request, version) {
|
|
2267
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2267
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2268
2268
|
const data = {
|
|
2269
2269
|
function: "0x1::voting::get_min_vote_threshold",
|
|
2270
2270
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2279,7 +2279,7 @@ var voting;
|
|
|
2279
2279
|
}
|
|
2280
2280
|
view.getMinVoteThreshold = getMinVoteThreshold;
|
|
2281
2281
|
async function getProposalCreationSecs(client, request, version) {
|
|
2282
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2282
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2283
2283
|
const data = {
|
|
2284
2284
|
function: "0x1::voting::get_proposal_creation_secs",
|
|
2285
2285
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2294,7 +2294,7 @@ var voting;
|
|
|
2294
2294
|
}
|
|
2295
2295
|
view.getProposalCreationSecs = getProposalCreationSecs;
|
|
2296
2296
|
async function getProposalExpirationSecs(client, request, version) {
|
|
2297
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2297
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2298
2298
|
const data = {
|
|
2299
2299
|
function: "0x1::voting::get_proposal_expiration_secs",
|
|
2300
2300
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2309,7 +2309,7 @@ var voting;
|
|
|
2309
2309
|
}
|
|
2310
2310
|
view.getProposalExpirationSecs = getProposalExpirationSecs;
|
|
2311
2311
|
async function getProposalMetadata(client, request, version) {
|
|
2312
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2312
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2313
2313
|
const data = {
|
|
2314
2314
|
function: "0x1::voting::get_proposal_metadata",
|
|
2315
2315
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2324,7 +2324,7 @@ var voting;
|
|
|
2324
2324
|
}
|
|
2325
2325
|
view.getProposalMetadata = getProposalMetadata;
|
|
2326
2326
|
async function getProposalMetadataValue(client, request, version) {
|
|
2327
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2327
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2328
2328
|
const data = {
|
|
2329
2329
|
function: "0x1::voting::get_proposal_metadata_value",
|
|
2330
2330
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2339,7 +2339,7 @@ var voting;
|
|
|
2339
2339
|
}
|
|
2340
2340
|
view.getProposalMetadataValue = getProposalMetadataValue;
|
|
2341
2341
|
async function getProposalState(client, request, version) {
|
|
2342
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2342
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2343
2343
|
const data = {
|
|
2344
2344
|
function: "0x1::voting::get_proposal_state",
|
|
2345
2345
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2354,7 +2354,7 @@ var voting;
|
|
|
2354
2354
|
}
|
|
2355
2355
|
view.getProposalState = getProposalState;
|
|
2356
2356
|
async function getProposer(client, request, version) {
|
|
2357
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2357
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2358
2358
|
const data = {
|
|
2359
2359
|
function: "0x1::voting::get_proposer",
|
|
2360
2360
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2369,7 +2369,7 @@ var voting;
|
|
|
2369
2369
|
}
|
|
2370
2370
|
view.getProposer = getProposer;
|
|
2371
2371
|
async function getResolutionTimeSecs(client, request, version) {
|
|
2372
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2372
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2373
2373
|
const data = {
|
|
2374
2374
|
function: "0x1::voting::get_resolution_time_secs",
|
|
2375
2375
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2384,7 +2384,7 @@ var voting;
|
|
|
2384
2384
|
}
|
|
2385
2385
|
view.getResolutionTimeSecs = getResolutionTimeSecs;
|
|
2386
2386
|
async function getVotes(client, request, version) {
|
|
2387
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2387
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2388
2388
|
const data = {
|
|
2389
2389
|
function: "0x1::voting::get_votes",
|
|
2390
2390
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2399,7 +2399,7 @@ var voting;
|
|
|
2399
2399
|
}
|
|
2400
2400
|
view.getVotes = getVotes;
|
|
2401
2401
|
async function isMultiStepProposalInExecution(client, request, version) {
|
|
2402
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2402
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2403
2403
|
const data = {
|
|
2404
2404
|
function: "0x1::voting::is_multi_step_proposal_in_execution",
|
|
2405
2405
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2414,7 +2414,7 @@ var voting;
|
|
|
2414
2414
|
}
|
|
2415
2415
|
view.isMultiStepProposalInExecution = isMultiStepProposalInExecution;
|
|
2416
2416
|
async function isResolved(client, request, version) {
|
|
2417
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2417
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2418
2418
|
const data = {
|
|
2419
2419
|
function: "0x1::voting::is_resolved",
|
|
2420
2420
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2429,7 +2429,7 @@ var voting;
|
|
|
2429
2429
|
}
|
|
2430
2430
|
view.isResolved = isResolved;
|
|
2431
2431
|
async function isVotingClosed(client, request, version) {
|
|
2432
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2432
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2433
2433
|
const data = {
|
|
2434
2434
|
function: "0x1::voting::is_voting_closed",
|
|
2435
2435
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2444,7 +2444,7 @@ var voting;
|
|
|
2444
2444
|
}
|
|
2445
2445
|
view.isVotingClosed = isVotingClosed;
|
|
2446
2446
|
async function nextProposalId(client, request, version) {
|
|
2447
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2447
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2448
2448
|
const data = {
|
|
2449
2449
|
function: "0x1::voting::next_proposal_id",
|
|
2450
2450
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2609,7 +2609,7 @@ var account;
|
|
|
2609
2609
|
let entry;
|
|
2610
2610
|
(function (entry) {
|
|
2611
2611
|
async function offerRotationCapability(client, account, request, options) {
|
|
2612
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2612
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2613
2613
|
const transaction = await client.transaction.build.simple({
|
|
2614
2614
|
sender: account.accountAddress,
|
|
2615
2615
|
data: {
|
|
@@ -2626,7 +2626,7 @@ var account;
|
|
|
2626
2626
|
}
|
|
2627
2627
|
entry.offerRotationCapability = offerRotationCapability;
|
|
2628
2628
|
async function offerSignerCapability(client, account, request, options) {
|
|
2629
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2629
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2630
2630
|
const transaction = await client.transaction.build.simple({
|
|
2631
2631
|
sender: account.accountAddress,
|
|
2632
2632
|
data: {
|
|
@@ -2643,7 +2643,7 @@ var account;
|
|
|
2643
2643
|
}
|
|
2644
2644
|
entry.offerSignerCapability = offerSignerCapability;
|
|
2645
2645
|
async function revokeAnyRotationCapability(client, account, request, options) {
|
|
2646
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2646
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2647
2647
|
const transaction = await client.transaction.build.simple({
|
|
2648
2648
|
sender: account.accountAddress,
|
|
2649
2649
|
data: {
|
|
@@ -2660,7 +2660,7 @@ var account;
|
|
|
2660
2660
|
}
|
|
2661
2661
|
entry.revokeAnyRotationCapability = revokeAnyRotationCapability;
|
|
2662
2662
|
async function revokeAnySignerCapability(client, account, request, options) {
|
|
2663
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2663
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2664
2664
|
const transaction = await client.transaction.build.simple({
|
|
2665
2665
|
sender: account.accountAddress,
|
|
2666
2666
|
data: {
|
|
@@ -2677,7 +2677,7 @@ var account;
|
|
|
2677
2677
|
}
|
|
2678
2678
|
entry.revokeAnySignerCapability = revokeAnySignerCapability;
|
|
2679
2679
|
async function revokeRotationCapability(client, account, request, options) {
|
|
2680
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2680
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2681
2681
|
const transaction = await client.transaction.build.simple({
|
|
2682
2682
|
sender: account.accountAddress,
|
|
2683
2683
|
data: {
|
|
@@ -2694,7 +2694,7 @@ var account;
|
|
|
2694
2694
|
}
|
|
2695
2695
|
entry.revokeRotationCapability = revokeRotationCapability;
|
|
2696
2696
|
async function revokeSignerCapability(client, account, request, options) {
|
|
2697
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2697
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2698
2698
|
const transaction = await client.transaction.build.simple({
|
|
2699
2699
|
sender: account.accountAddress,
|
|
2700
2700
|
data: {
|
|
@@ -2711,7 +2711,7 @@ var account;
|
|
|
2711
2711
|
}
|
|
2712
2712
|
entry.revokeSignerCapability = revokeSignerCapability;
|
|
2713
2713
|
async function rotateAuthenticationKey(client, account, request, options) {
|
|
2714
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2714
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2715
2715
|
const transaction = await client.transaction.build.simple({
|
|
2716
2716
|
sender: account.accountAddress,
|
|
2717
2717
|
data: {
|
|
@@ -2728,7 +2728,7 @@ var account;
|
|
|
2728
2728
|
}
|
|
2729
2729
|
entry.rotateAuthenticationKey = rotateAuthenticationKey;
|
|
2730
2730
|
async function rotateAuthenticationKeyCall(client, account, request, options) {
|
|
2731
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2731
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2732
2732
|
const transaction = await client.transaction.build.simple({
|
|
2733
2733
|
sender: account.accountAddress,
|
|
2734
2734
|
data: {
|
|
@@ -2745,7 +2745,7 @@ var account;
|
|
|
2745
2745
|
}
|
|
2746
2746
|
entry.rotateAuthenticationKeyCall = rotateAuthenticationKeyCall;
|
|
2747
2747
|
async function rotateAuthenticationKeyFromPublicKey(client, account, request, options) {
|
|
2748
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2748
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2749
2749
|
const transaction = await client.transaction.build.simple({
|
|
2750
2750
|
sender: account.accountAddress,
|
|
2751
2751
|
data: {
|
|
@@ -2762,7 +2762,7 @@ var account;
|
|
|
2762
2762
|
}
|
|
2763
2763
|
entry.rotateAuthenticationKeyFromPublicKey = rotateAuthenticationKeyFromPublicKey;
|
|
2764
2764
|
async function rotateAuthenticationKeyWithRotationCapability(client, account, request, options) {
|
|
2765
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2765
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2766
2766
|
const transaction = await client.transaction.build.simple({
|
|
2767
2767
|
sender: account.accountAddress,
|
|
2768
2768
|
data: {
|
|
@@ -2779,7 +2779,7 @@ var account;
|
|
|
2779
2779
|
}
|
|
2780
2780
|
entry.rotateAuthenticationKeyWithRotationCapability = rotateAuthenticationKeyWithRotationCapability;
|
|
2781
2781
|
async function setOriginatingAddress(client, account, request, options) {
|
|
2782
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2782
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2783
2783
|
const transaction = await client.transaction.build.simple({
|
|
2784
2784
|
sender: account.accountAddress,
|
|
2785
2785
|
data: {
|
|
@@ -2796,7 +2796,7 @@ var account;
|
|
|
2796
2796
|
}
|
|
2797
2797
|
entry.setOriginatingAddress = setOriginatingAddress;
|
|
2798
2798
|
async function upsertEd25519BackupKeyOnKeylessAccount(client, account, request, options) {
|
|
2799
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2799
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2800
2800
|
const transaction = await client.transaction.build.simple({
|
|
2801
2801
|
sender: account.accountAddress,
|
|
2802
2802
|
data: {
|
|
@@ -2816,7 +2816,7 @@ var account;
|
|
|
2816
2816
|
let view;
|
|
2817
2817
|
(function (view) {
|
|
2818
2818
|
async function existsAt(client, request, version) {
|
|
2819
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2819
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2820
2820
|
const data = {
|
|
2821
2821
|
function: "0x1::account::exists_at",
|
|
2822
2822
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2831,7 +2831,7 @@ var account;
|
|
|
2831
2831
|
}
|
|
2832
2832
|
view.existsAt = existsAt;
|
|
2833
2833
|
async function getAuthenticationKey(client, request, version) {
|
|
2834
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2834
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2835
2835
|
const data = {
|
|
2836
2836
|
function: "0x1::account::get_authentication_key",
|
|
2837
2837
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2846,7 +2846,7 @@ var account;
|
|
|
2846
2846
|
}
|
|
2847
2847
|
view.getAuthenticationKey = getAuthenticationKey;
|
|
2848
2848
|
async function getGuidNextCreationNum(client, request, version) {
|
|
2849
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2849
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2850
2850
|
const data = {
|
|
2851
2851
|
function: "0x1::account::get_guid_next_creation_num",
|
|
2852
2852
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2861,7 +2861,7 @@ var account;
|
|
|
2861
2861
|
}
|
|
2862
2862
|
view.getGuidNextCreationNum = getGuidNextCreationNum;
|
|
2863
2863
|
async function getRotationCapabilityOfferFor(client, request, version) {
|
|
2864
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2864
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2865
2865
|
const data = {
|
|
2866
2866
|
function: "0x1::account::get_rotation_capability_offer_for",
|
|
2867
2867
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2876,7 +2876,7 @@ var account;
|
|
|
2876
2876
|
}
|
|
2877
2877
|
view.getRotationCapabilityOfferFor = getRotationCapabilityOfferFor;
|
|
2878
2878
|
async function getSequenceNumber(client, request, version) {
|
|
2879
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2879
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2880
2880
|
const data = {
|
|
2881
2881
|
function: "0x1::account::get_sequence_number",
|
|
2882
2882
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2891,7 +2891,7 @@ var account;
|
|
|
2891
2891
|
}
|
|
2892
2892
|
view.getSequenceNumber = getSequenceNumber;
|
|
2893
2893
|
async function getSignerCapabilityOfferFor(client, request, version) {
|
|
2894
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2894
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2895
2895
|
const data = {
|
|
2896
2896
|
function: "0x1::account::get_signer_capability_offer_for",
|
|
2897
2897
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2906,7 +2906,7 @@ var account;
|
|
|
2906
2906
|
}
|
|
2907
2907
|
view.getSignerCapabilityOfferFor = getSignerCapabilityOfferFor;
|
|
2908
2908
|
async function isRotationCapabilityOffered(client, request, version) {
|
|
2909
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2909
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2910
2910
|
const data = {
|
|
2911
2911
|
function: "0x1::account::is_rotation_capability_offered",
|
|
2912
2912
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2921,7 +2921,7 @@ var account;
|
|
|
2921
2921
|
}
|
|
2922
2922
|
view.isRotationCapabilityOffered = isRotationCapabilityOffered;
|
|
2923
2923
|
async function isSignerCapabilityOffered(client, request, version) {
|
|
2924
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2924
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2925
2925
|
const data = {
|
|
2926
2926
|
function: "0x1::account::is_signer_capability_offered",
|
|
2927
2927
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -2936,7 +2936,7 @@ var account;
|
|
|
2936
2936
|
}
|
|
2937
2937
|
view.isSignerCapabilityOffered = isSignerCapabilityOffered;
|
|
2938
2938
|
async function originatingAddress(client, request, version) {
|
|
2939
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
2939
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
2940
2940
|
const data = {
|
|
2941
2941
|
function: "0x1::account::originating_address",
|
|
2942
2942
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3065,7 +3065,7 @@ var version;
|
|
|
3065
3065
|
let entry;
|
|
3066
3066
|
(function (entry) {
|
|
3067
3067
|
async function setForNextEpoch(client, account, request, options) {
|
|
3068
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3068
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3069
3069
|
const transaction = await client.transaction.build.simple({
|
|
3070
3070
|
sender: account.accountAddress,
|
|
3071
3071
|
data: {
|
|
@@ -3082,7 +3082,7 @@ var version;
|
|
|
3082
3082
|
}
|
|
3083
3083
|
entry.setForNextEpoch = setForNextEpoch;
|
|
3084
3084
|
async function setVersion(client, account, request, options) {
|
|
3085
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3085
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3086
3086
|
const transaction = await client.transaction.build.simple({
|
|
3087
3087
|
sender: account.accountAddress,
|
|
3088
3088
|
data: {
|
|
@@ -3339,7 +3339,7 @@ var vesting;
|
|
|
3339
3339
|
let entry;
|
|
3340
3340
|
(function (entry) {
|
|
3341
3341
|
async function setBeneficiaryForOperator(client, account, request, options) {
|
|
3342
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3342
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3343
3343
|
const transaction = await client.transaction.build.simple({
|
|
3344
3344
|
sender: account.accountAddress,
|
|
3345
3345
|
data: {
|
|
@@ -3356,7 +3356,7 @@ var vesting;
|
|
|
3356
3356
|
}
|
|
3357
3357
|
entry.setBeneficiaryForOperator = setBeneficiaryForOperator;
|
|
3358
3358
|
async function updateCommissionPercentage(client, account, request, options) {
|
|
3359
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3359
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3360
3360
|
const transaction = await client.transaction.build.simple({
|
|
3361
3361
|
sender: account.accountAddress,
|
|
3362
3362
|
data: {
|
|
@@ -3373,7 +3373,7 @@ var vesting;
|
|
|
3373
3373
|
}
|
|
3374
3374
|
entry.updateCommissionPercentage = updateCommissionPercentage;
|
|
3375
3375
|
async function distribute(client, account, request, options) {
|
|
3376
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3376
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3377
3377
|
const transaction = await client.transaction.build.simple({
|
|
3378
3378
|
sender: account.accountAddress,
|
|
3379
3379
|
data: {
|
|
@@ -3390,7 +3390,7 @@ var vesting;
|
|
|
3390
3390
|
}
|
|
3391
3391
|
entry.distribute = distribute;
|
|
3392
3392
|
async function resetLockup(client, account, request, options) {
|
|
3393
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3393
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3394
3394
|
const transaction = await client.transaction.build.simple({
|
|
3395
3395
|
sender: account.accountAddress,
|
|
3396
3396
|
data: {
|
|
@@ -3407,7 +3407,7 @@ var vesting;
|
|
|
3407
3407
|
}
|
|
3408
3408
|
entry.resetLockup = resetLockup;
|
|
3409
3409
|
async function unlockRewards(client, account, request, options) {
|
|
3410
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3410
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3411
3411
|
const transaction = await client.transaction.build.simple({
|
|
3412
3412
|
sender: account.accountAddress,
|
|
3413
3413
|
data: {
|
|
@@ -3424,7 +3424,7 @@ var vesting;
|
|
|
3424
3424
|
}
|
|
3425
3425
|
entry.unlockRewards = unlockRewards;
|
|
3426
3426
|
async function updateVoter(client, account, request, options) {
|
|
3427
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3427
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3428
3428
|
const transaction = await client.transaction.build.simple({
|
|
3429
3429
|
sender: account.accountAddress,
|
|
3430
3430
|
data: {
|
|
@@ -3441,7 +3441,7 @@ var vesting;
|
|
|
3441
3441
|
}
|
|
3442
3442
|
entry.updateVoter = updateVoter;
|
|
3443
3443
|
async function adminWithdraw(client, account, request, options) {
|
|
3444
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3444
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3445
3445
|
const transaction = await client.transaction.build.simple({
|
|
3446
3446
|
sender: account.accountAddress,
|
|
3447
3447
|
data: {
|
|
@@ -3458,7 +3458,7 @@ var vesting;
|
|
|
3458
3458
|
}
|
|
3459
3459
|
entry.adminWithdraw = adminWithdraw;
|
|
3460
3460
|
async function distributeMany(client, account, request, options) {
|
|
3461
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3461
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3462
3462
|
const transaction = await client.transaction.build.simple({
|
|
3463
3463
|
sender: account.accountAddress,
|
|
3464
3464
|
data: {
|
|
@@ -3475,7 +3475,7 @@ var vesting;
|
|
|
3475
3475
|
}
|
|
3476
3476
|
entry.distributeMany = distributeMany;
|
|
3477
3477
|
async function resetBeneficiary(client, account, request, options) {
|
|
3478
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3478
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3479
3479
|
const transaction = await client.transaction.build.simple({
|
|
3480
3480
|
sender: account.accountAddress,
|
|
3481
3481
|
data: {
|
|
@@ -3492,7 +3492,7 @@ var vesting;
|
|
|
3492
3492
|
}
|
|
3493
3493
|
entry.resetBeneficiary = resetBeneficiary;
|
|
3494
3494
|
async function setBeneficiary(client, account, request, options) {
|
|
3495
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3495
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3496
3496
|
const transaction = await client.transaction.build.simple({
|
|
3497
3497
|
sender: account.accountAddress,
|
|
3498
3498
|
data: {
|
|
@@ -3509,7 +3509,7 @@ var vesting;
|
|
|
3509
3509
|
}
|
|
3510
3510
|
entry.setBeneficiary = setBeneficiary;
|
|
3511
3511
|
async function setBeneficiaryResetter(client, account, request, options) {
|
|
3512
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3512
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3513
3513
|
const transaction = await client.transaction.build.simple({
|
|
3514
3514
|
sender: account.accountAddress,
|
|
3515
3515
|
data: {
|
|
@@ -3526,7 +3526,7 @@ var vesting;
|
|
|
3526
3526
|
}
|
|
3527
3527
|
entry.setBeneficiaryResetter = setBeneficiaryResetter;
|
|
3528
3528
|
async function setManagementRole(client, account, request, options) {
|
|
3529
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3529
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3530
3530
|
const transaction = await client.transaction.build.simple({
|
|
3531
3531
|
sender: account.accountAddress,
|
|
3532
3532
|
data: {
|
|
@@ -3543,7 +3543,7 @@ var vesting;
|
|
|
3543
3543
|
}
|
|
3544
3544
|
entry.setManagementRole = setManagementRole;
|
|
3545
3545
|
async function terminateVestingContract(client, account, request, options) {
|
|
3546
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3546
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3547
3547
|
const transaction = await client.transaction.build.simple({
|
|
3548
3548
|
sender: account.accountAddress,
|
|
3549
3549
|
data: {
|
|
@@ -3560,7 +3560,7 @@ var vesting;
|
|
|
3560
3560
|
}
|
|
3561
3561
|
entry.terminateVestingContract = terminateVestingContract;
|
|
3562
3562
|
async function unlockRewardsMany(client, account, request, options) {
|
|
3563
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3563
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3564
3564
|
const transaction = await client.transaction.build.simple({
|
|
3565
3565
|
sender: account.accountAddress,
|
|
3566
3566
|
data: {
|
|
@@ -3577,7 +3577,7 @@ var vesting;
|
|
|
3577
3577
|
}
|
|
3578
3578
|
entry.unlockRewardsMany = unlockRewardsMany;
|
|
3579
3579
|
async function updateOperator(client, account, request, options) {
|
|
3580
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3580
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3581
3581
|
const transaction = await client.transaction.build.simple({
|
|
3582
3582
|
sender: account.accountAddress,
|
|
3583
3583
|
data: {
|
|
@@ -3594,7 +3594,7 @@ var vesting;
|
|
|
3594
3594
|
}
|
|
3595
3595
|
entry.updateOperator = updateOperator;
|
|
3596
3596
|
async function updateOperatorWithSameCommission(client, account, request, options) {
|
|
3597
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3597
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3598
3598
|
const transaction = await client.transaction.build.simple({
|
|
3599
3599
|
sender: account.accountAddress,
|
|
3600
3600
|
data: {
|
|
@@ -3611,7 +3611,7 @@ var vesting;
|
|
|
3611
3611
|
}
|
|
3612
3612
|
entry.updateOperatorWithSameCommission = updateOperatorWithSameCommission;
|
|
3613
3613
|
async function vest(client, account, request, options) {
|
|
3614
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3614
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3615
3615
|
const transaction = await client.transaction.build.simple({
|
|
3616
3616
|
sender: account.accountAddress,
|
|
3617
3617
|
data: {
|
|
@@ -3628,7 +3628,7 @@ var vesting;
|
|
|
3628
3628
|
}
|
|
3629
3629
|
entry.vest = vest;
|
|
3630
3630
|
async function vestMany(client, account, request, options) {
|
|
3631
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3631
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3632
3632
|
const transaction = await client.transaction.build.simple({
|
|
3633
3633
|
sender: account.accountAddress,
|
|
3634
3634
|
data: {
|
|
@@ -3648,7 +3648,7 @@ var vesting;
|
|
|
3648
3648
|
let view;
|
|
3649
3649
|
(function (view) {
|
|
3650
3650
|
async function operator(client, request, version) {
|
|
3651
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3651
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3652
3652
|
const data = {
|
|
3653
3653
|
function: "0x1::vesting::operator",
|
|
3654
3654
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3663,7 +3663,7 @@ var vesting;
|
|
|
3663
3663
|
}
|
|
3664
3664
|
view.operator = operator;
|
|
3665
3665
|
async function voter(client, request, version) {
|
|
3666
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3666
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3667
3667
|
const data = {
|
|
3668
3668
|
function: "0x1::vesting::voter",
|
|
3669
3669
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3678,7 +3678,7 @@ var vesting;
|
|
|
3678
3678
|
}
|
|
3679
3679
|
view.voter = voter;
|
|
3680
3680
|
async function shareholder(client, request, version) {
|
|
3681
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3681
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3682
3682
|
const data = {
|
|
3683
3683
|
function: "0x1::vesting::shareholder",
|
|
3684
3684
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3693,7 +3693,7 @@ var vesting;
|
|
|
3693
3693
|
}
|
|
3694
3694
|
view.shareholder = shareholder;
|
|
3695
3695
|
async function operatorCommissionPercentage(client, request, version) {
|
|
3696
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3696
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3697
3697
|
const data = {
|
|
3698
3698
|
function: "0x1::vesting::operator_commission_percentage",
|
|
3699
3699
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3708,7 +3708,7 @@ var vesting;
|
|
|
3708
3708
|
}
|
|
3709
3709
|
view.operatorCommissionPercentage = operatorCommissionPercentage;
|
|
3710
3710
|
async function beneficiary(client, request, version) {
|
|
3711
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3711
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3712
3712
|
const data = {
|
|
3713
3713
|
function: "0x1::vesting::beneficiary",
|
|
3714
3714
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3723,7 +3723,7 @@ var vesting;
|
|
|
3723
3723
|
}
|
|
3724
3724
|
view.beneficiary = beneficiary;
|
|
3725
3725
|
async function shareholders(client, request, version) {
|
|
3726
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3726
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3727
3727
|
const data = {
|
|
3728
3728
|
function: "0x1::vesting::shareholders",
|
|
3729
3729
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3738,7 +3738,7 @@ var vesting;
|
|
|
3738
3738
|
}
|
|
3739
3739
|
view.shareholders = shareholders;
|
|
3740
3740
|
async function stakePoolAddress(client, request, version) {
|
|
3741
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3741
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3742
3742
|
const data = {
|
|
3743
3743
|
function: "0x1::vesting::stake_pool_address",
|
|
3744
3744
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3753,7 +3753,7 @@ var vesting;
|
|
|
3753
3753
|
}
|
|
3754
3754
|
view.stakePoolAddress = stakePoolAddress;
|
|
3755
3755
|
async function accumulatedRewards(client, request, version) {
|
|
3756
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3756
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3757
3757
|
const data = {
|
|
3758
3758
|
function: "0x1::vesting::accumulated_rewards",
|
|
3759
3759
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3768,7 +3768,7 @@ var vesting;
|
|
|
3768
3768
|
}
|
|
3769
3769
|
view.accumulatedRewards = accumulatedRewards;
|
|
3770
3770
|
async function vestingSchedule(client, request, version) {
|
|
3771
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3771
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3772
3772
|
const data = {
|
|
3773
3773
|
function: "0x1::vesting::vesting_schedule",
|
|
3774
3774
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3783,7 +3783,7 @@ var vesting;
|
|
|
3783
3783
|
}
|
|
3784
3784
|
view.vestingSchedule = vestingSchedule;
|
|
3785
3785
|
async function periodDurationSecs(client, request, version) {
|
|
3786
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3786
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3787
3787
|
const data = {
|
|
3788
3788
|
function: "0x1::vesting::period_duration_secs",
|
|
3789
3789
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3798,7 +3798,7 @@ var vesting;
|
|
|
3798
3798
|
}
|
|
3799
3799
|
view.periodDurationSecs = periodDurationSecs;
|
|
3800
3800
|
async function remainingGrant(client, request, version) {
|
|
3801
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3801
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3802
3802
|
const data = {
|
|
3803
3803
|
function: "0x1::vesting::remaining_grant",
|
|
3804
3804
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3813,7 +3813,7 @@ var vesting;
|
|
|
3813
3813
|
}
|
|
3814
3814
|
view.remainingGrant = remainingGrant;
|
|
3815
3815
|
async function totalAccumulatedRewards(client, request, version) {
|
|
3816
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3816
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3817
3817
|
const data = {
|
|
3818
3818
|
function: "0x1::vesting::total_accumulated_rewards",
|
|
3819
3819
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3828,7 +3828,7 @@ var vesting;
|
|
|
3828
3828
|
}
|
|
3829
3829
|
view.totalAccumulatedRewards = totalAccumulatedRewards;
|
|
3830
3830
|
async function vestingContracts(client, request, version) {
|
|
3831
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3831
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3832
3832
|
const data = {
|
|
3833
3833
|
function: "0x1::vesting::vesting_contracts",
|
|
3834
3834
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3843,7 +3843,7 @@ var vesting;
|
|
|
3843
3843
|
}
|
|
3844
3844
|
view.vestingContracts = vestingContracts;
|
|
3845
3845
|
async function vestingStartSecs(client, request, version) {
|
|
3846
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3846
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3847
3847
|
const data = {
|
|
3848
3848
|
function: "0x1::vesting::vesting_start_secs",
|
|
3849
3849
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -3930,7 +3930,7 @@ var chain_id;
|
|
|
3930
3930
|
let view;
|
|
3931
3931
|
(function (view) {
|
|
3932
3932
|
async function get(client, version) {
|
|
3933
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3933
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3934
3934
|
const data = {
|
|
3935
3935
|
function: "0x1::chain_id::get",
|
|
3936
3936
|
functionArguments: [],
|
|
@@ -3969,7 +3969,7 @@ var features;
|
|
|
3969
3969
|
let view;
|
|
3970
3970
|
(function (view) {
|
|
3971
3971
|
async function isEnabled(client, request, version) {
|
|
3972
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
3972
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
3973
3973
|
const data = {
|
|
3974
3974
|
function: "0x1::features::is_enabled",
|
|
3975
3975
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -4068,7 +4068,7 @@ var timestamp;
|
|
|
4068
4068
|
let view;
|
|
4069
4069
|
(function (view) {
|
|
4070
4070
|
async function nowMicroseconds(client, version) {
|
|
4071
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4071
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4072
4072
|
const data = {
|
|
4073
4073
|
function: "0x1::timestamp::now_microseconds",
|
|
4074
4074
|
functionArguments: [],
|
|
@@ -4083,7 +4083,7 @@ var timestamp;
|
|
|
4083
4083
|
}
|
|
4084
4084
|
view.nowMicroseconds = nowMicroseconds;
|
|
4085
4085
|
async function nowSeconds(client, version) {
|
|
4086
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4086
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4087
4087
|
const data = {
|
|
4088
4088
|
function: "0x1::timestamp::now_seconds",
|
|
4089
4089
|
functionArguments: [],
|
|
@@ -4164,7 +4164,7 @@ var aptos_coin;
|
|
|
4164
4164
|
let entry;
|
|
4165
4165
|
(function (entry) {
|
|
4166
4166
|
async function mint(client, account, request, options) {
|
|
4167
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4167
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4168
4168
|
const transaction = await client.transaction.build.simple({
|
|
4169
4169
|
sender: account.accountAddress,
|
|
4170
4170
|
data: {
|
|
@@ -4181,7 +4181,7 @@ var aptos_coin;
|
|
|
4181
4181
|
}
|
|
4182
4182
|
entry.mint = mint;
|
|
4183
4183
|
async function claimMintCapability(client, account, request, options) {
|
|
4184
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4184
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4185
4185
|
const transaction = await client.transaction.build.simple({
|
|
4186
4186
|
sender: account.accountAddress,
|
|
4187
4187
|
data: {
|
|
@@ -4198,7 +4198,7 @@ var aptos_coin;
|
|
|
4198
4198
|
}
|
|
4199
4199
|
entry.claimMintCapability = claimMintCapability;
|
|
4200
4200
|
async function delegateMintCapability(client, account, request, options) {
|
|
4201
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4201
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4202
4202
|
const transaction = await client.transaction.build.simple({
|
|
4203
4203
|
sender: account.accountAddress,
|
|
4204
4204
|
data: {
|
|
@@ -4230,7 +4230,7 @@ var bcs_stream;
|
|
|
4230
4230
|
let entry;
|
|
4231
4231
|
(function (entry) {
|
|
4232
4232
|
async function deserializeU256Entry(client, account, request, options) {
|
|
4233
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4233
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4234
4234
|
const transaction = await client.transaction.build.simple({
|
|
4235
4235
|
sender: account.accountAddress,
|
|
4236
4236
|
data: {
|
|
@@ -4490,7 +4490,7 @@ var chain_status;
|
|
|
4490
4490
|
let view;
|
|
4491
4491
|
(function (view) {
|
|
4492
4492
|
async function isGenesis(client, version) {
|
|
4493
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4493
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4494
4494
|
const data = {
|
|
4495
4495
|
function: "0x1::chain_status::is_genesis",
|
|
4496
4496
|
functionArguments: [],
|
|
@@ -4505,7 +4505,7 @@ var chain_status;
|
|
|
4505
4505
|
}
|
|
4506
4506
|
view.isGenesis = isGenesis;
|
|
4507
4507
|
async function isOperating(client, version) {
|
|
4508
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4508
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4509
4509
|
const data = {
|
|
4510
4510
|
function: "0x1::chain_status::is_operating",
|
|
4511
4511
|
functionArguments: [],
|
|
@@ -4577,7 +4577,7 @@ var managed_coin;
|
|
|
4577
4577
|
let entry;
|
|
4578
4578
|
(function (entry) {
|
|
4579
4579
|
async function initialize(client, account, request, options) {
|
|
4580
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4580
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4581
4581
|
const transaction = await client.transaction.build.simple({
|
|
4582
4582
|
sender: account.accountAddress,
|
|
4583
4583
|
data: {
|
|
@@ -4594,7 +4594,7 @@ var managed_coin;
|
|
|
4594
4594
|
}
|
|
4595
4595
|
entry.initialize = initialize;
|
|
4596
4596
|
async function burn(client, account, request, options) {
|
|
4597
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4597
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4598
4598
|
const transaction = await client.transaction.build.simple({
|
|
4599
4599
|
sender: account.accountAddress,
|
|
4600
4600
|
data: {
|
|
@@ -4611,7 +4611,7 @@ var managed_coin;
|
|
|
4611
4611
|
}
|
|
4612
4612
|
entry.burn = burn;
|
|
4613
4613
|
async function mint(client, account, request, options) {
|
|
4614
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4614
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4615
4615
|
const transaction = await client.transaction.build.simple({
|
|
4616
4616
|
sender: account.accountAddress,
|
|
4617
4617
|
data: {
|
|
@@ -4628,7 +4628,7 @@ var managed_coin;
|
|
|
4628
4628
|
}
|
|
4629
4629
|
entry.mint = mint;
|
|
4630
4630
|
async function register(client, account, request, options) {
|
|
4631
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4631
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4632
4632
|
const transaction = await client.transaction.build.simple({
|
|
4633
4633
|
sender: account.accountAddress,
|
|
4634
4634
|
data: {
|
|
@@ -4645,7 +4645,7 @@ var managed_coin;
|
|
|
4645
4645
|
}
|
|
4646
4646
|
entry.register = register;
|
|
4647
4647
|
async function destroyCaps(client, account, request, options) {
|
|
4648
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4648
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4649
4649
|
const transaction = await client.transaction.build.simple({
|
|
4650
4650
|
sender: account.accountAddress,
|
|
4651
4651
|
data: {
|
|
@@ -4809,7 +4809,7 @@ var aptos_account;
|
|
|
4809
4809
|
let entry;
|
|
4810
4810
|
(function (entry) {
|
|
4811
4811
|
async function createAccount(client, account, request, options) {
|
|
4812
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4812
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4813
4813
|
const transaction = await client.transaction.build.simple({
|
|
4814
4814
|
sender: account.accountAddress,
|
|
4815
4815
|
data: {
|
|
@@ -4826,7 +4826,7 @@ var aptos_account;
|
|
|
4826
4826
|
}
|
|
4827
4827
|
entry.createAccount = createAccount;
|
|
4828
4828
|
async function transfer(client, account, request, options) {
|
|
4829
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4829
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4830
4830
|
const transaction = await client.transaction.build.simple({
|
|
4831
4831
|
sender: account.accountAddress,
|
|
4832
4832
|
data: {
|
|
@@ -4843,7 +4843,7 @@ var aptos_account;
|
|
|
4843
4843
|
}
|
|
4844
4844
|
entry.transfer = transfer;
|
|
4845
4845
|
async function batchTransfer(client, account, request, options) {
|
|
4846
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4846
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4847
4847
|
const transaction = await client.transaction.build.simple({
|
|
4848
4848
|
sender: account.accountAddress,
|
|
4849
4849
|
data: {
|
|
@@ -4860,7 +4860,7 @@ var aptos_account;
|
|
|
4860
4860
|
}
|
|
4861
4861
|
entry.batchTransfer = batchTransfer;
|
|
4862
4862
|
async function batchTransferCoins(client, account, request, options) {
|
|
4863
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4863
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4864
4864
|
const transaction = await client.transaction.build.simple({
|
|
4865
4865
|
sender: account.accountAddress,
|
|
4866
4866
|
data: {
|
|
@@ -4877,7 +4877,7 @@ var aptos_account;
|
|
|
4877
4877
|
}
|
|
4878
4878
|
entry.batchTransferCoins = batchTransferCoins;
|
|
4879
4879
|
async function batchTransferFungibleAssets(client, account, request, options) {
|
|
4880
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4880
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4881
4881
|
const transaction = await client.transaction.build.simple({
|
|
4882
4882
|
sender: account.accountAddress,
|
|
4883
4883
|
data: {
|
|
@@ -4894,7 +4894,7 @@ var aptos_account;
|
|
|
4894
4894
|
}
|
|
4895
4895
|
entry.batchTransferFungibleAssets = batchTransferFungibleAssets;
|
|
4896
4896
|
async function fungibleTransferOnly(client, account, request, options) {
|
|
4897
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4897
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4898
4898
|
const transaction = await client.transaction.build.simple({
|
|
4899
4899
|
sender: account.accountAddress,
|
|
4900
4900
|
data: {
|
|
@@ -4911,7 +4911,7 @@ var aptos_account;
|
|
|
4911
4911
|
}
|
|
4912
4912
|
entry.fungibleTransferOnly = fungibleTransferOnly;
|
|
4913
4913
|
async function setAllowDirectCoinTransfers(client, account, request, options) {
|
|
4914
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4914
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4915
4915
|
const transaction = await client.transaction.build.simple({
|
|
4916
4916
|
sender: account.accountAddress,
|
|
4917
4917
|
data: {
|
|
@@ -4928,7 +4928,7 @@ var aptos_account;
|
|
|
4928
4928
|
}
|
|
4929
4929
|
entry.setAllowDirectCoinTransfers = setAllowDirectCoinTransfers;
|
|
4930
4930
|
async function transferCoins(client, account, request, options) {
|
|
4931
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4931
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4932
4932
|
const transaction = await client.transaction.build.simple({
|
|
4933
4933
|
sender: account.accountAddress,
|
|
4934
4934
|
data: {
|
|
@@ -4945,7 +4945,7 @@ var aptos_account;
|
|
|
4945
4945
|
}
|
|
4946
4946
|
entry.transferCoins = transferCoins;
|
|
4947
4947
|
async function transferFungibleAssets(client, account, request, options) {
|
|
4948
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4948
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4949
4949
|
const transaction = await client.transaction.build.simple({
|
|
4950
4950
|
sender: account.accountAddress,
|
|
4951
4951
|
data: {
|
|
@@ -4965,7 +4965,7 @@ var aptos_account;
|
|
|
4965
4965
|
let view;
|
|
4966
4966
|
(function (view) {
|
|
4967
4967
|
async function canReceiveDirectCoinTransfers(client, request, version) {
|
|
4968
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
4968
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
4969
4969
|
const data = {
|
|
4970
4970
|
function: "0x1::aptos_account::can_receive_direct_coin_transfers",
|
|
4971
4971
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5220,7 +5220,7 @@ var staking_proxy;
|
|
|
5220
5220
|
let entry;
|
|
5221
5221
|
(function (entry) {
|
|
5222
5222
|
async function setOperator(client, account, request, options) {
|
|
5223
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5223
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5224
5224
|
const transaction = await client.transaction.build.simple({
|
|
5225
5225
|
sender: account.accountAddress,
|
|
5226
5226
|
data: {
|
|
@@ -5237,7 +5237,7 @@ var staking_proxy;
|
|
|
5237
5237
|
}
|
|
5238
5238
|
entry.setOperator = setOperator;
|
|
5239
5239
|
async function setStakePoolOperator(client, account, request, options) {
|
|
5240
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5240
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5241
5241
|
const transaction = await client.transaction.build.simple({
|
|
5242
5242
|
sender: account.accountAddress,
|
|
5243
5243
|
data: {
|
|
@@ -5254,7 +5254,7 @@ var staking_proxy;
|
|
|
5254
5254
|
}
|
|
5255
5255
|
entry.setStakePoolOperator = setStakePoolOperator;
|
|
5256
5256
|
async function setStakePoolVoter(client, account, request, options) {
|
|
5257
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5257
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5258
5258
|
const transaction = await client.transaction.build.simple({
|
|
5259
5259
|
sender: account.accountAddress,
|
|
5260
5260
|
data: {
|
|
@@ -5271,7 +5271,7 @@ var staking_proxy;
|
|
|
5271
5271
|
}
|
|
5272
5272
|
entry.setStakePoolVoter = setStakePoolVoter;
|
|
5273
5273
|
async function setStakingContractOperator(client, account, request, options) {
|
|
5274
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5274
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5275
5275
|
const transaction = await client.transaction.build.simple({
|
|
5276
5276
|
sender: account.accountAddress,
|
|
5277
5277
|
data: {
|
|
@@ -5288,7 +5288,7 @@ var staking_proxy;
|
|
|
5288
5288
|
}
|
|
5289
5289
|
entry.setStakingContractOperator = setStakingContractOperator;
|
|
5290
5290
|
async function setStakingContractVoter(client, account, request, options) {
|
|
5291
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5291
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5292
5292
|
const transaction = await client.transaction.build.simple({
|
|
5293
5293
|
sender: account.accountAddress,
|
|
5294
5294
|
data: {
|
|
@@ -5305,7 +5305,7 @@ var staking_proxy;
|
|
|
5305
5305
|
}
|
|
5306
5306
|
entry.setStakingContractVoter = setStakingContractVoter;
|
|
5307
5307
|
async function setVestingContractOperator(client, account, request, options) {
|
|
5308
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5308
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5309
5309
|
const transaction = await client.transaction.build.simple({
|
|
5310
5310
|
sender: account.accountAddress,
|
|
5311
5311
|
data: {
|
|
@@ -5322,7 +5322,7 @@ var staking_proxy;
|
|
|
5322
5322
|
}
|
|
5323
5323
|
entry.setVestingContractOperator = setVestingContractOperator;
|
|
5324
5324
|
async function setVestingContractVoter(client, account, request, options) {
|
|
5325
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5325
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5326
5326
|
const transaction = await client.transaction.build.simple({
|
|
5327
5327
|
sender: account.accountAddress,
|
|
5328
5328
|
data: {
|
|
@@ -5339,7 +5339,7 @@ var staking_proxy;
|
|
|
5339
5339
|
}
|
|
5340
5340
|
entry.setVestingContractVoter = setVestingContractVoter;
|
|
5341
5341
|
async function setVoter(client, account, request, options) {
|
|
5342
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5342
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5343
5343
|
const transaction = await client.transaction.build.simple({
|
|
5344
5344
|
sender: account.accountAddress,
|
|
5345
5345
|
data: {
|
|
@@ -5620,7 +5620,7 @@ var fungible_asset;
|
|
|
5620
5620
|
let entry;
|
|
5621
5621
|
(function (entry) {
|
|
5622
5622
|
async function transfer(client, account, request, options) {
|
|
5623
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5623
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5624
5624
|
const transaction = await client.transaction.build.simple({
|
|
5625
5625
|
sender: account.accountAddress,
|
|
5626
5626
|
data: {
|
|
@@ -5637,7 +5637,7 @@ var fungible_asset;
|
|
|
5637
5637
|
}
|
|
5638
5638
|
entry.transfer = transfer;
|
|
5639
5639
|
async function upgradeStoreToConcurrent(client, account, request, options) {
|
|
5640
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5640
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5641
5641
|
const transaction = await client.transaction.build.simple({
|
|
5642
5642
|
sender: account.accountAddress,
|
|
5643
5643
|
data: {
|
|
@@ -5657,7 +5657,7 @@ var fungible_asset;
|
|
|
5657
5657
|
let view;
|
|
5658
5658
|
(function (view) {
|
|
5659
5659
|
async function isUntransferable(client, request, version) {
|
|
5660
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5660
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5661
5661
|
const data = {
|
|
5662
5662
|
function: "0x1::fungible_asset::is_untransferable",
|
|
5663
5663
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5672,7 +5672,7 @@ var fungible_asset;
|
|
|
5672
5672
|
}
|
|
5673
5673
|
view.isUntransferable = isUntransferable;
|
|
5674
5674
|
async function name(client, request, version) {
|
|
5675
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5675
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5676
5676
|
const data = {
|
|
5677
5677
|
function: "0x1::fungible_asset::name",
|
|
5678
5678
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5687,7 +5687,7 @@ var fungible_asset;
|
|
|
5687
5687
|
}
|
|
5688
5688
|
view.name = name;
|
|
5689
5689
|
async function symbol$(client, request, version) {
|
|
5690
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5690
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5691
5691
|
const data = {
|
|
5692
5692
|
function: "0x1::fungible_asset::symbol",
|
|
5693
5693
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5702,7 +5702,7 @@ var fungible_asset;
|
|
|
5702
5702
|
}
|
|
5703
5703
|
view.symbol$ = symbol$;
|
|
5704
5704
|
async function decimals(client, request, version) {
|
|
5705
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5705
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5706
5706
|
const data = {
|
|
5707
5707
|
function: "0x1::fungible_asset::decimals",
|
|
5708
5708
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5717,7 +5717,7 @@ var fungible_asset;
|
|
|
5717
5717
|
}
|
|
5718
5718
|
view.decimals = decimals;
|
|
5719
5719
|
async function iconUri(client, request, version) {
|
|
5720
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5720
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5721
5721
|
const data = {
|
|
5722
5722
|
function: "0x1::fungible_asset::icon_uri",
|
|
5723
5723
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5732,7 +5732,7 @@ var fungible_asset;
|
|
|
5732
5732
|
}
|
|
5733
5733
|
view.iconUri = iconUri;
|
|
5734
5734
|
async function projectUri(client, request, version) {
|
|
5735
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5735
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5736
5736
|
const data = {
|
|
5737
5737
|
function: "0x1::fungible_asset::project_uri",
|
|
5738
5738
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5747,7 +5747,7 @@ var fungible_asset;
|
|
|
5747
5747
|
}
|
|
5748
5748
|
view.projectUri = projectUri;
|
|
5749
5749
|
async function balance(client, request, version) {
|
|
5750
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5750
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5751
5751
|
const data = {
|
|
5752
5752
|
function: "0x1::fungible_asset::balance",
|
|
5753
5753
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5762,7 +5762,7 @@ var fungible_asset;
|
|
|
5762
5762
|
}
|
|
5763
5763
|
view.balance = balance;
|
|
5764
5764
|
async function metadata(client, request, version) {
|
|
5765
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5765
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5766
5766
|
const data = {
|
|
5767
5767
|
function: "0x1::fungible_asset::metadata",
|
|
5768
5768
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5777,7 +5777,7 @@ var fungible_asset;
|
|
|
5777
5777
|
}
|
|
5778
5778
|
view.metadata = metadata;
|
|
5779
5779
|
async function isBalanceAtLeast(client, request, version) {
|
|
5780
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5780
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5781
5781
|
const data = {
|
|
5782
5782
|
function: "0x1::fungible_asset::is_balance_at_least",
|
|
5783
5783
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5792,7 +5792,7 @@ var fungible_asset;
|
|
|
5792
5792
|
}
|
|
5793
5793
|
view.isBalanceAtLeast = isBalanceAtLeast;
|
|
5794
5794
|
async function isFrozen(client, request, version) {
|
|
5795
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5795
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5796
5796
|
const data = {
|
|
5797
5797
|
function: "0x1::fungible_asset::is_frozen",
|
|
5798
5798
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5807,7 +5807,7 @@ var fungible_asset;
|
|
|
5807
5807
|
}
|
|
5808
5808
|
view.isFrozen = isFrozen;
|
|
5809
5809
|
async function isStoreDispatchable(client, request, version) {
|
|
5810
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5810
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5811
5811
|
const data = {
|
|
5812
5812
|
function: "0x1::fungible_asset::is_store_dispatchable",
|
|
5813
5813
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5822,7 +5822,7 @@ var fungible_asset;
|
|
|
5822
5822
|
}
|
|
5823
5823
|
view.isStoreDispatchable = isStoreDispatchable;
|
|
5824
5824
|
async function maximum(client, request, version) {
|
|
5825
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5825
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5826
5826
|
const data = {
|
|
5827
5827
|
function: "0x1::fungible_asset::maximum",
|
|
5828
5828
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5837,7 +5837,7 @@ var fungible_asset;
|
|
|
5837
5837
|
}
|
|
5838
5838
|
view.maximum = maximum;
|
|
5839
5839
|
async function storeExists(client, request, version) {
|
|
5840
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5840
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5841
5841
|
const data = {
|
|
5842
5842
|
function: "0x1::fungible_asset::store_exists",
|
|
5843
5843
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5852,7 +5852,7 @@ var fungible_asset;
|
|
|
5852
5852
|
}
|
|
5853
5853
|
view.storeExists = storeExists;
|
|
5854
5854
|
async function storeMetadata(client, request, version) {
|
|
5855
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5855
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5856
5856
|
const data = {
|
|
5857
5857
|
function: "0x1::fungible_asset::store_metadata",
|
|
5858
5858
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5867,7 +5867,7 @@ var fungible_asset;
|
|
|
5867
5867
|
}
|
|
5868
5868
|
view.storeMetadata = storeMetadata;
|
|
5869
5869
|
async function supply(client, request, version) {
|
|
5870
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5870
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5871
5871
|
const data = {
|
|
5872
5872
|
function: "0x1::fungible_asset::supply",
|
|
5873
5873
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -5906,7 +5906,7 @@ var staking_config;
|
|
|
5906
5906
|
let view;
|
|
5907
5907
|
(function (view) {
|
|
5908
5908
|
async function rewardRate(client, version) {
|
|
5909
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
5909
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
5910
5910
|
const data = {
|
|
5911
5911
|
function: "0x1::staking_config::reward_rate",
|
|
5912
5912
|
functionArguments: [],
|
|
@@ -6272,7 +6272,7 @@ var delegation_pool;
|
|
|
6272
6272
|
let entry;
|
|
6273
6273
|
(function (entry) {
|
|
6274
6274
|
async function withdraw(client, account, request, options) {
|
|
6275
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6275
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6276
6276
|
const transaction = await client.transaction.build.simple({
|
|
6277
6277
|
sender: account.accountAddress,
|
|
6278
6278
|
data: {
|
|
@@ -6289,7 +6289,7 @@ var delegation_pool;
|
|
|
6289
6289
|
}
|
|
6290
6290
|
entry.withdraw = withdraw;
|
|
6291
6291
|
async function createProposal(client, account, request, options) {
|
|
6292
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6292
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6293
6293
|
const transaction = await client.transaction.build.simple({
|
|
6294
6294
|
sender: account.accountAddress,
|
|
6295
6295
|
data: {
|
|
@@ -6306,7 +6306,7 @@ var delegation_pool;
|
|
|
6306
6306
|
}
|
|
6307
6307
|
entry.createProposal = createProposal;
|
|
6308
6308
|
async function vote(client, account, request, options) {
|
|
6309
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6309
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6310
6310
|
const transaction = await client.transaction.build.simple({
|
|
6311
6311
|
sender: account.accountAddress,
|
|
6312
6312
|
data: {
|
|
@@ -6323,7 +6323,7 @@ var delegation_pool;
|
|
|
6323
6323
|
}
|
|
6324
6324
|
entry.vote = vote;
|
|
6325
6325
|
async function addStake(client, account, request, options) {
|
|
6326
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6326
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6327
6327
|
const transaction = await client.transaction.build.simple({
|
|
6328
6328
|
sender: account.accountAddress,
|
|
6329
6329
|
data: {
|
|
@@ -6340,7 +6340,7 @@ var delegation_pool;
|
|
|
6340
6340
|
}
|
|
6341
6341
|
entry.addStake = addStake;
|
|
6342
6342
|
async function reactivateStake(client, account, request, options) {
|
|
6343
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6343
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6344
6344
|
const transaction = await client.transaction.build.simple({
|
|
6345
6345
|
sender: account.accountAddress,
|
|
6346
6346
|
data: {
|
|
@@ -6357,7 +6357,7 @@ var delegation_pool;
|
|
|
6357
6357
|
}
|
|
6358
6358
|
entry.reactivateStake = reactivateStake;
|
|
6359
6359
|
async function setDelegatedVoter(client, account, request, options) {
|
|
6360
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6360
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6361
6361
|
const transaction = await client.transaction.build.simple({
|
|
6362
6362
|
sender: account.accountAddress,
|
|
6363
6363
|
data: {
|
|
@@ -6374,7 +6374,7 @@ var delegation_pool;
|
|
|
6374
6374
|
}
|
|
6375
6375
|
entry.setDelegatedVoter = setDelegatedVoter;
|
|
6376
6376
|
async function setOperator(client, account, request, options) {
|
|
6377
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6377
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6378
6378
|
const transaction = await client.transaction.build.simple({
|
|
6379
6379
|
sender: account.accountAddress,
|
|
6380
6380
|
data: {
|
|
@@ -6391,7 +6391,7 @@ var delegation_pool;
|
|
|
6391
6391
|
}
|
|
6392
6392
|
entry.setOperator = setOperator;
|
|
6393
6393
|
async function unlock(client, account, request, options) {
|
|
6394
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6394
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6395
6395
|
const transaction = await client.transaction.build.simple({
|
|
6396
6396
|
sender: account.accountAddress,
|
|
6397
6397
|
data: {
|
|
@@ -6408,7 +6408,7 @@ var delegation_pool;
|
|
|
6408
6408
|
}
|
|
6409
6409
|
entry.unlock = unlock;
|
|
6410
6410
|
async function allowlistDelegator(client, account, request, options) {
|
|
6411
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6411
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6412
6412
|
const transaction = await client.transaction.build.simple({
|
|
6413
6413
|
sender: account.accountAddress,
|
|
6414
6414
|
data: {
|
|
@@ -6425,7 +6425,7 @@ var delegation_pool;
|
|
|
6425
6425
|
}
|
|
6426
6426
|
entry.allowlistDelegator = allowlistDelegator;
|
|
6427
6427
|
async function delegateVotingPower(client, account, request, options) {
|
|
6428
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6428
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6429
6429
|
const transaction = await client.transaction.build.simple({
|
|
6430
6430
|
sender: account.accountAddress,
|
|
6431
6431
|
data: {
|
|
@@ -6442,7 +6442,7 @@ var delegation_pool;
|
|
|
6442
6442
|
}
|
|
6443
6443
|
entry.delegateVotingPower = delegateVotingPower;
|
|
6444
6444
|
async function disableDelegatorsAllowlisting(client, account, request, options) {
|
|
6445
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6445
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6446
6446
|
const transaction = await client.transaction.build.simple({
|
|
6447
6447
|
sender: account.accountAddress,
|
|
6448
6448
|
data: {
|
|
@@ -6459,7 +6459,7 @@ var delegation_pool;
|
|
|
6459
6459
|
}
|
|
6460
6460
|
entry.disableDelegatorsAllowlisting = disableDelegatorsAllowlisting;
|
|
6461
6461
|
async function enableDelegatorsAllowlisting(client, account, request, options) {
|
|
6462
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6462
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6463
6463
|
const transaction = await client.transaction.build.simple({
|
|
6464
6464
|
sender: account.accountAddress,
|
|
6465
6465
|
data: {
|
|
@@ -6476,7 +6476,7 @@ var delegation_pool;
|
|
|
6476
6476
|
}
|
|
6477
6477
|
entry.enableDelegatorsAllowlisting = enableDelegatorsAllowlisting;
|
|
6478
6478
|
async function enablePartialGovernanceVoting(client, account, request, options) {
|
|
6479
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6479
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6480
6480
|
const transaction = await client.transaction.build.simple({
|
|
6481
6481
|
sender: account.accountAddress,
|
|
6482
6482
|
data: {
|
|
@@ -6493,7 +6493,7 @@ var delegation_pool;
|
|
|
6493
6493
|
}
|
|
6494
6494
|
entry.enablePartialGovernanceVoting = enablePartialGovernanceVoting;
|
|
6495
6495
|
async function evictDelegator(client, account, request, options) {
|
|
6496
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6496
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6497
6497
|
const transaction = await client.transaction.build.simple({
|
|
6498
6498
|
sender: account.accountAddress,
|
|
6499
6499
|
data: {
|
|
@@ -6510,7 +6510,7 @@ var delegation_pool;
|
|
|
6510
6510
|
}
|
|
6511
6511
|
entry.evictDelegator = evictDelegator;
|
|
6512
6512
|
async function initializeDelegationPool(client, account, request, options) {
|
|
6513
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6513
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6514
6514
|
const transaction = await client.transaction.build.simple({
|
|
6515
6515
|
sender: account.accountAddress,
|
|
6516
6516
|
data: {
|
|
@@ -6527,7 +6527,7 @@ var delegation_pool;
|
|
|
6527
6527
|
}
|
|
6528
6528
|
entry.initializeDelegationPool = initializeDelegationPool;
|
|
6529
6529
|
async function removeDelegatorFromAllowlist(client, account, request, options) {
|
|
6530
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6530
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6531
6531
|
const transaction = await client.transaction.build.simple({
|
|
6532
6532
|
sender: account.accountAddress,
|
|
6533
6533
|
data: {
|
|
@@ -6544,7 +6544,7 @@ var delegation_pool;
|
|
|
6544
6544
|
}
|
|
6545
6545
|
entry.removeDelegatorFromAllowlist = removeDelegatorFromAllowlist;
|
|
6546
6546
|
async function setBeneficiaryForOperator(client, account, request, options) {
|
|
6547
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6547
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6548
6548
|
const transaction = await client.transaction.build.simple({
|
|
6549
6549
|
sender: account.accountAddress,
|
|
6550
6550
|
data: {
|
|
@@ -6561,7 +6561,7 @@ var delegation_pool;
|
|
|
6561
6561
|
}
|
|
6562
6562
|
entry.setBeneficiaryForOperator = setBeneficiaryForOperator;
|
|
6563
6563
|
async function synchronizeDelegationPool(client, account, request, options) {
|
|
6564
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6564
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6565
6565
|
const transaction = await client.transaction.build.simple({
|
|
6566
6566
|
sender: account.accountAddress,
|
|
6567
6567
|
data: {
|
|
@@ -6578,7 +6578,7 @@ var delegation_pool;
|
|
|
6578
6578
|
}
|
|
6579
6579
|
entry.synchronizeDelegationPool = synchronizeDelegationPool;
|
|
6580
6580
|
async function updateCommissionPercentage(client, account, request, options) {
|
|
6581
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6581
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6582
6582
|
const transaction = await client.transaction.build.simple({
|
|
6583
6583
|
sender: account.accountAddress,
|
|
6584
6584
|
data: {
|
|
@@ -6598,7 +6598,7 @@ var delegation_pool;
|
|
|
6598
6598
|
let view;
|
|
6599
6599
|
(function (view) {
|
|
6600
6600
|
async function partialGovernanceVotingEnabled(client, request, version) {
|
|
6601
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6601
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6602
6602
|
const data = {
|
|
6603
6603
|
function: "0x1::delegation_pool::partial_governance_voting_enabled",
|
|
6604
6604
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6613,7 +6613,7 @@ var delegation_pool;
|
|
|
6613
6613
|
}
|
|
6614
6614
|
view.partialGovernanceVotingEnabled = partialGovernanceVotingEnabled;
|
|
6615
6615
|
async function getOwnedPoolAddress(client, request, version) {
|
|
6616
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6616
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6617
6617
|
const data = {
|
|
6618
6618
|
function: "0x1::delegation_pool::get_owned_pool_address",
|
|
6619
6619
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6628,7 +6628,7 @@ var delegation_pool;
|
|
|
6628
6628
|
}
|
|
6629
6629
|
view.getOwnedPoolAddress = getOwnedPoolAddress;
|
|
6630
6630
|
async function getStake(client, request, version) {
|
|
6631
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6631
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6632
6632
|
const data = {
|
|
6633
6633
|
function: "0x1::delegation_pool::get_stake",
|
|
6634
6634
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6643,7 +6643,7 @@ var delegation_pool;
|
|
|
6643
6643
|
}
|
|
6644
6644
|
view.getStake = getStake;
|
|
6645
6645
|
async function allowlistingEnabled(client, request, version) {
|
|
6646
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6646
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6647
6647
|
const data = {
|
|
6648
6648
|
function: "0x1::delegation_pool::allowlisting_enabled",
|
|
6649
6649
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6658,7 +6658,7 @@ var delegation_pool;
|
|
|
6658
6658
|
}
|
|
6659
6659
|
view.allowlistingEnabled = allowlistingEnabled;
|
|
6660
6660
|
async function beneficiaryForOperator(client, request, version) {
|
|
6661
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6661
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6662
6662
|
const data = {
|
|
6663
6663
|
function: "0x1::delegation_pool::beneficiary_for_operator",
|
|
6664
6664
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6673,7 +6673,7 @@ var delegation_pool;
|
|
|
6673
6673
|
}
|
|
6674
6674
|
view.beneficiaryForOperator = beneficiaryForOperator;
|
|
6675
6675
|
async function calculateAndUpdateDelegatorVoter(client, request, version) {
|
|
6676
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6676
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6677
6677
|
const data = {
|
|
6678
6678
|
function: "0x1::delegation_pool::calculate_and_update_delegator_voter",
|
|
6679
6679
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6688,7 +6688,7 @@ var delegation_pool;
|
|
|
6688
6688
|
}
|
|
6689
6689
|
view.calculateAndUpdateDelegatorVoter = calculateAndUpdateDelegatorVoter;
|
|
6690
6690
|
async function calculateAndUpdateRemainingVotingPower(client, request, version) {
|
|
6691
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6691
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6692
6692
|
const data = {
|
|
6693
6693
|
function: "0x1::delegation_pool::calculate_and_update_remaining_voting_power",
|
|
6694
6694
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6703,7 +6703,7 @@ var delegation_pool;
|
|
|
6703
6703
|
}
|
|
6704
6704
|
view.calculateAndUpdateRemainingVotingPower = calculateAndUpdateRemainingVotingPower;
|
|
6705
6705
|
async function calculateAndUpdateVoterTotalVotingPower(client, request, version) {
|
|
6706
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6706
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6707
6707
|
const data = {
|
|
6708
6708
|
function: "0x1::delegation_pool::calculate_and_update_voter_total_voting_power",
|
|
6709
6709
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6718,7 +6718,7 @@ var delegation_pool;
|
|
|
6718
6718
|
}
|
|
6719
6719
|
view.calculateAndUpdateVoterTotalVotingPower = calculateAndUpdateVoterTotalVotingPower;
|
|
6720
6720
|
async function calculateAndUpdateVotingDelegation(client, request, version) {
|
|
6721
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6721
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6722
6722
|
const data = {
|
|
6723
6723
|
function: "0x1::delegation_pool::calculate_and_update_voting_delegation",
|
|
6724
6724
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6733,7 +6733,7 @@ var delegation_pool;
|
|
|
6733
6733
|
}
|
|
6734
6734
|
view.calculateAndUpdateVotingDelegation = calculateAndUpdateVotingDelegation;
|
|
6735
6735
|
async function canWithdrawPendingInactive(client, request, version) {
|
|
6736
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6736
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6737
6737
|
const data = {
|
|
6738
6738
|
function: "0x1::delegation_pool::can_withdraw_pending_inactive",
|
|
6739
6739
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6748,7 +6748,7 @@ var delegation_pool;
|
|
|
6748
6748
|
}
|
|
6749
6749
|
view.canWithdrawPendingInactive = canWithdrawPendingInactive;
|
|
6750
6750
|
async function delegationPoolExists(client, request, version) {
|
|
6751
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6751
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6752
6752
|
const data = {
|
|
6753
6753
|
function: "0x1::delegation_pool::delegation_pool_exists",
|
|
6754
6754
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6763,7 +6763,7 @@ var delegation_pool;
|
|
|
6763
6763
|
}
|
|
6764
6764
|
view.delegationPoolExists = delegationPoolExists;
|
|
6765
6765
|
async function delegatorAllowlisted(client, request, version) {
|
|
6766
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6766
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6767
6767
|
const data = {
|
|
6768
6768
|
function: "0x1::delegation_pool::delegator_allowlisted",
|
|
6769
6769
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6778,7 +6778,7 @@ var delegation_pool;
|
|
|
6778
6778
|
}
|
|
6779
6779
|
view.delegatorAllowlisted = delegatorAllowlisted;
|
|
6780
6780
|
async function getAddStakeFee(client, request, version) {
|
|
6781
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6781
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6782
6782
|
const data = {
|
|
6783
6783
|
function: "0x1::delegation_pool::get_add_stake_fee",
|
|
6784
6784
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6793,7 +6793,7 @@ var delegation_pool;
|
|
|
6793
6793
|
}
|
|
6794
6794
|
view.getAddStakeFee = getAddStakeFee;
|
|
6795
6795
|
async function getDelegationPoolStake(client, request, version) {
|
|
6796
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6796
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6797
6797
|
const data = {
|
|
6798
6798
|
function: "0x1::delegation_pool::get_delegation_pool_stake",
|
|
6799
6799
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6808,7 +6808,7 @@ var delegation_pool;
|
|
|
6808
6808
|
}
|
|
6809
6809
|
view.getDelegationPoolStake = getDelegationPoolStake;
|
|
6810
6810
|
async function getDelegatorsAllowlist(client, request, version) {
|
|
6811
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6811
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6812
6812
|
const data = {
|
|
6813
6813
|
function: "0x1::delegation_pool::get_delegators_allowlist",
|
|
6814
6814
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6823,7 +6823,7 @@ var delegation_pool;
|
|
|
6823
6823
|
}
|
|
6824
6824
|
view.getDelegatorsAllowlist = getDelegatorsAllowlist;
|
|
6825
6825
|
async function getExpectedStakePoolAddress(client, request, version) {
|
|
6826
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6826
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6827
6827
|
const data = {
|
|
6828
6828
|
function: "0x1::delegation_pool::get_expected_stake_pool_address",
|
|
6829
6829
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6838,7 +6838,7 @@ var delegation_pool;
|
|
|
6838
6838
|
}
|
|
6839
6839
|
view.getExpectedStakePoolAddress = getExpectedStakePoolAddress;
|
|
6840
6840
|
async function getPendingWithdrawal(client, request, version) {
|
|
6841
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6841
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6842
6842
|
const data = {
|
|
6843
6843
|
function: "0x1::delegation_pool::get_pending_withdrawal",
|
|
6844
6844
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6853,7 +6853,7 @@ var delegation_pool;
|
|
|
6853
6853
|
}
|
|
6854
6854
|
view.getPendingWithdrawal = getPendingWithdrawal;
|
|
6855
6855
|
async function operatorCommissionPercentage(client, request, version) {
|
|
6856
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6856
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6857
6857
|
const data = {
|
|
6858
6858
|
function: "0x1::delegation_pool::operator_commission_percentage",
|
|
6859
6859
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6868,7 +6868,7 @@ var delegation_pool;
|
|
|
6868
6868
|
}
|
|
6869
6869
|
view.operatorCommissionPercentage = operatorCommissionPercentage;
|
|
6870
6870
|
async function isNextCommissionPercentageEffective(client, request, version) {
|
|
6871
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6871
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6872
6872
|
const data = {
|
|
6873
6873
|
function: "0x1::delegation_pool::is_next_commission_percentage_effective",
|
|
6874
6874
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6883,7 +6883,7 @@ var delegation_pool;
|
|
|
6883
6883
|
}
|
|
6884
6884
|
view.isNextCommissionPercentageEffective = isNextCommissionPercentageEffective;
|
|
6885
6885
|
async function minRemainingSecsForCommissionChange(client, version) {
|
|
6886
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6886
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6887
6887
|
const data = {
|
|
6888
6888
|
function: "0x1::delegation_pool::min_remaining_secs_for_commission_change",
|
|
6889
6889
|
functionArguments: [],
|
|
@@ -6898,7 +6898,7 @@ var delegation_pool;
|
|
|
6898
6898
|
}
|
|
6899
6899
|
view.minRemainingSecsForCommissionChange = minRemainingSecsForCommissionChange;
|
|
6900
6900
|
async function observedLockupCycle(client, request, version) {
|
|
6901
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6901
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6902
6902
|
const data = {
|
|
6903
6903
|
function: "0x1::delegation_pool::observed_lockup_cycle",
|
|
6904
6904
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6913,7 +6913,7 @@ var delegation_pool;
|
|
|
6913
6913
|
}
|
|
6914
6914
|
view.observedLockupCycle = observedLockupCycle;
|
|
6915
6915
|
async function operatorCommissionPercentageNextLockupCycle(client, request, version) {
|
|
6916
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6916
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6917
6917
|
const data = {
|
|
6918
6918
|
function: "0x1::delegation_pool::operator_commission_percentage_next_lockup_cycle",
|
|
6919
6919
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6928,7 +6928,7 @@ var delegation_pool;
|
|
|
6928
6928
|
}
|
|
6929
6929
|
view.operatorCommissionPercentageNextLockupCycle = operatorCommissionPercentageNextLockupCycle;
|
|
6930
6930
|
async function ownerCapExists(client, request, version) {
|
|
6931
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6931
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6932
6932
|
const data = {
|
|
6933
6933
|
function: "0x1::delegation_pool::owner_cap_exists",
|
|
6934
6934
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -6943,7 +6943,7 @@ var delegation_pool;
|
|
|
6943
6943
|
}
|
|
6944
6944
|
view.ownerCapExists = ownerCapExists;
|
|
6945
6945
|
async function shareholdersCountActivePool(client, request, version) {
|
|
6946
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
6946
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
6947
6947
|
const data = {
|
|
6948
6948
|
function: "0x1::delegation_pool::shareholders_count_active_pool",
|
|
6949
6949
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -7078,7 +7078,7 @@ var transaction_fee;
|
|
|
7078
7078
|
let entry;
|
|
7079
7079
|
(function (entry) {
|
|
7080
7080
|
async function convertToAptosFaBurnRef(client, account, request, options) {
|
|
7081
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7081
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7082
7082
|
const transaction = await client.transaction.build.simple({
|
|
7083
7083
|
sender: account.accountAddress,
|
|
7084
7084
|
data: {
|
|
@@ -7227,7 +7227,7 @@ var aptos_governance;
|
|
|
7227
7227
|
let entry;
|
|
7228
7228
|
(function (entry) {
|
|
7229
7229
|
async function createProposal(client, account, request, options) {
|
|
7230
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7230
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7231
7231
|
const transaction = await client.transaction.build.simple({
|
|
7232
7232
|
sender: account.accountAddress,
|
|
7233
7233
|
data: {
|
|
@@ -7244,7 +7244,7 @@ var aptos_governance;
|
|
|
7244
7244
|
}
|
|
7245
7245
|
entry.createProposal = createProposal;
|
|
7246
7246
|
async function createProposalV2(client, account, request, options) {
|
|
7247
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7247
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7248
7248
|
const transaction = await client.transaction.build.simple({
|
|
7249
7249
|
sender: account.accountAddress,
|
|
7250
7250
|
data: {
|
|
@@ -7261,7 +7261,7 @@ var aptos_governance;
|
|
|
7261
7261
|
}
|
|
7262
7262
|
entry.createProposalV2 = createProposalV2;
|
|
7263
7263
|
async function vote(client, account, request, options) {
|
|
7264
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7264
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7265
7265
|
const transaction = await client.transaction.build.simple({
|
|
7266
7266
|
sender: account.accountAddress,
|
|
7267
7267
|
data: {
|
|
@@ -7278,7 +7278,7 @@ var aptos_governance;
|
|
|
7278
7278
|
}
|
|
7279
7279
|
entry.vote = vote;
|
|
7280
7280
|
async function reconfigure(client, account, request, options) {
|
|
7281
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7281
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7282
7282
|
const transaction = await client.transaction.build.simple({
|
|
7283
7283
|
sender: account.accountAddress,
|
|
7284
7284
|
data: {
|
|
@@ -7295,7 +7295,7 @@ var aptos_governance;
|
|
|
7295
7295
|
}
|
|
7296
7296
|
entry.reconfigure = reconfigure;
|
|
7297
7297
|
async function addApprovedScriptHashScript(client, account, request, options) {
|
|
7298
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7298
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7299
7299
|
const transaction = await client.transaction.build.simple({
|
|
7300
7300
|
sender: account.accountAddress,
|
|
7301
7301
|
data: {
|
|
@@ -7312,7 +7312,7 @@ var aptos_governance;
|
|
|
7312
7312
|
}
|
|
7313
7313
|
entry.addApprovedScriptHashScript = addApprovedScriptHashScript;
|
|
7314
7314
|
async function batchPartialVote(client, account, request, options) {
|
|
7315
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7315
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7316
7316
|
const transaction = await client.transaction.build.simple({
|
|
7317
7317
|
sender: account.accountAddress,
|
|
7318
7318
|
data: {
|
|
@@ -7329,7 +7329,7 @@ var aptos_governance;
|
|
|
7329
7329
|
}
|
|
7330
7330
|
entry.batchPartialVote = batchPartialVote;
|
|
7331
7331
|
async function batchVote(client, account, request, options) {
|
|
7332
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7332
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7333
7333
|
const transaction = await client.transaction.build.simple({
|
|
7334
7334
|
sender: account.accountAddress,
|
|
7335
7335
|
data: {
|
|
@@ -7346,7 +7346,7 @@ var aptos_governance;
|
|
|
7346
7346
|
}
|
|
7347
7347
|
entry.batchVote = batchVote;
|
|
7348
7348
|
async function forceEndEpoch(client, account, request, options) {
|
|
7349
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7349
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7350
7350
|
const transaction = await client.transaction.build.simple({
|
|
7351
7351
|
sender: account.accountAddress,
|
|
7352
7352
|
data: {
|
|
@@ -7363,7 +7363,7 @@ var aptos_governance;
|
|
|
7363
7363
|
}
|
|
7364
7364
|
entry.forceEndEpoch = forceEndEpoch;
|
|
7365
7365
|
async function forceEndEpochTestOnly(client, account, request, options) {
|
|
7366
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7366
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7367
7367
|
const transaction = await client.transaction.build.simple({
|
|
7368
7368
|
sender: account.accountAddress,
|
|
7369
7369
|
data: {
|
|
@@ -7380,7 +7380,7 @@ var aptos_governance;
|
|
|
7380
7380
|
}
|
|
7381
7381
|
entry.forceEndEpochTestOnly = forceEndEpochTestOnly;
|
|
7382
7382
|
async function partialVote(client, account, request, options) {
|
|
7383
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7383
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7384
7384
|
const transaction = await client.transaction.build.simple({
|
|
7385
7385
|
sender: account.accountAddress,
|
|
7386
7386
|
data: {
|
|
@@ -7400,7 +7400,7 @@ var aptos_governance;
|
|
|
7400
7400
|
let view;
|
|
7401
7401
|
(function (view) {
|
|
7402
7402
|
async function getVotingPower(client, request, version) {
|
|
7403
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7403
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7404
7404
|
const data = {
|
|
7405
7405
|
function: "0x1::aptos_governance::get_voting_power",
|
|
7406
7406
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -7415,7 +7415,7 @@ var aptos_governance;
|
|
|
7415
7415
|
}
|
|
7416
7416
|
view.getVotingPower = getVotingPower;
|
|
7417
7417
|
async function getMinVotingThreshold(client, version) {
|
|
7418
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7418
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7419
7419
|
const data = {
|
|
7420
7420
|
function: "0x1::aptos_governance::get_min_voting_threshold",
|
|
7421
7421
|
functionArguments: [],
|
|
@@ -7430,7 +7430,7 @@ var aptos_governance;
|
|
|
7430
7430
|
}
|
|
7431
7431
|
view.getMinVotingThreshold = getMinVotingThreshold;
|
|
7432
7432
|
async function getRemainingVotingPower(client, request, version) {
|
|
7433
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7433
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7434
7434
|
const data = {
|
|
7435
7435
|
function: "0x1::aptos_governance::get_remaining_voting_power",
|
|
7436
7436
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -7445,7 +7445,7 @@ var aptos_governance;
|
|
|
7445
7445
|
}
|
|
7446
7446
|
view.getRemainingVotingPower = getRemainingVotingPower;
|
|
7447
7447
|
async function getRequiredProposerStake(client, version) {
|
|
7448
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7448
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7449
7449
|
const data = {
|
|
7450
7450
|
function: "0x1::aptos_governance::get_required_proposer_stake",
|
|
7451
7451
|
functionArguments: [],
|
|
@@ -7460,7 +7460,7 @@ var aptos_governance;
|
|
|
7460
7460
|
}
|
|
7461
7461
|
view.getRequiredProposerStake = getRequiredProposerStake;
|
|
7462
7462
|
async function getVotingDurationSecs(client, version) {
|
|
7463
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7463
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7464
7464
|
const data = {
|
|
7465
7465
|
function: "0x1::aptos_governance::get_voting_duration_secs",
|
|
7466
7466
|
functionArguments: [],
|
|
@@ -7475,7 +7475,7 @@ var aptos_governance;
|
|
|
7475
7475
|
}
|
|
7476
7476
|
view.getVotingDurationSecs = getVotingDurationSecs;
|
|
7477
7477
|
async function hasEntirelyVoted(client, request, version) {
|
|
7478
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7478
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7479
7479
|
const data = {
|
|
7480
7480
|
function: "0x1::aptos_governance::has_entirely_voted",
|
|
7481
7481
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -7865,7 +7865,7 @@ var multisig_account;
|
|
|
7865
7865
|
let entry;
|
|
7866
7866
|
(function (entry) {
|
|
7867
7867
|
async function create(client, account, request, options) {
|
|
7868
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7868
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7869
7869
|
const transaction = await client.transaction.build.simple({
|
|
7870
7870
|
sender: account.accountAddress,
|
|
7871
7871
|
data: {
|
|
@@ -7882,7 +7882,7 @@ var multisig_account;
|
|
|
7882
7882
|
}
|
|
7883
7883
|
entry.create = create;
|
|
7884
7884
|
async function addOwner(client, account, request, options) {
|
|
7885
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7885
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7886
7886
|
const transaction = await client.transaction.build.simple({
|
|
7887
7887
|
sender: account.accountAddress,
|
|
7888
7888
|
data: {
|
|
@@ -7899,7 +7899,7 @@ var multisig_account;
|
|
|
7899
7899
|
}
|
|
7900
7900
|
entry.addOwner = addOwner;
|
|
7901
7901
|
async function addOwners(client, account, request, options) {
|
|
7902
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7902
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7903
7903
|
const transaction = await client.transaction.build.simple({
|
|
7904
7904
|
sender: account.accountAddress,
|
|
7905
7905
|
data: {
|
|
@@ -7916,7 +7916,7 @@ var multisig_account;
|
|
|
7916
7916
|
}
|
|
7917
7917
|
entry.addOwners = addOwners;
|
|
7918
7918
|
async function addOwnersAndUpdateSignaturesRequired(client, account, request, options) {
|
|
7919
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7919
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7920
7920
|
const transaction = await client.transaction.build.simple({
|
|
7921
7921
|
sender: account.accountAddress,
|
|
7922
7922
|
data: {
|
|
@@ -7933,7 +7933,7 @@ var multisig_account;
|
|
|
7933
7933
|
}
|
|
7934
7934
|
entry.addOwnersAndUpdateSignaturesRequired = addOwnersAndUpdateSignaturesRequired;
|
|
7935
7935
|
async function approveTransaction(client, account, request, options) {
|
|
7936
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7936
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7937
7937
|
const transaction = await client.transaction.build.simple({
|
|
7938
7938
|
sender: account.accountAddress,
|
|
7939
7939
|
data: {
|
|
@@ -7950,7 +7950,7 @@ var multisig_account;
|
|
|
7950
7950
|
}
|
|
7951
7951
|
entry.approveTransaction = approveTransaction;
|
|
7952
7952
|
async function createTransaction(client, account, request, options) {
|
|
7953
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7953
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7954
7954
|
const transaction = await client.transaction.build.simple({
|
|
7955
7955
|
sender: account.accountAddress,
|
|
7956
7956
|
data: {
|
|
@@ -7967,7 +7967,7 @@ var multisig_account;
|
|
|
7967
7967
|
}
|
|
7968
7968
|
entry.createTransaction = createTransaction;
|
|
7969
7969
|
async function createTransactionWithHash(client, account, request, options) {
|
|
7970
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7970
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7971
7971
|
const transaction = await client.transaction.build.simple({
|
|
7972
7972
|
sender: account.accountAddress,
|
|
7973
7973
|
data: {
|
|
@@ -7984,7 +7984,7 @@ var multisig_account;
|
|
|
7984
7984
|
}
|
|
7985
7985
|
entry.createTransactionWithHash = createTransactionWithHash;
|
|
7986
7986
|
async function createWithExistingAccount(client, account, request, options) {
|
|
7987
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
7987
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
7988
7988
|
const transaction = await client.transaction.build.simple({
|
|
7989
7989
|
sender: account.accountAddress,
|
|
7990
7990
|
data: {
|
|
@@ -8001,7 +8001,7 @@ var multisig_account;
|
|
|
8001
8001
|
}
|
|
8002
8002
|
entry.createWithExistingAccount = createWithExistingAccount;
|
|
8003
8003
|
async function createWithExistingAccountAndRevokeAuthKey(client, account, request, options) {
|
|
8004
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8004
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8005
8005
|
const transaction = await client.transaction.build.simple({
|
|
8006
8006
|
sender: account.accountAddress,
|
|
8007
8007
|
data: {
|
|
@@ -8018,7 +8018,7 @@ var multisig_account;
|
|
|
8018
8018
|
}
|
|
8019
8019
|
entry.createWithExistingAccountAndRevokeAuthKey = createWithExistingAccountAndRevokeAuthKey;
|
|
8020
8020
|
async function createWithExistingAccountAndRevokeAuthKeyCall(client, account, request, options) {
|
|
8021
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8021
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8022
8022
|
const transaction = await client.transaction.build.simple({
|
|
8023
8023
|
sender: account.accountAddress,
|
|
8024
8024
|
data: {
|
|
@@ -8035,7 +8035,7 @@ var multisig_account;
|
|
|
8035
8035
|
}
|
|
8036
8036
|
entry.createWithExistingAccountAndRevokeAuthKeyCall = createWithExistingAccountAndRevokeAuthKeyCall;
|
|
8037
8037
|
async function createWithExistingAccountCall(client, account, request, options) {
|
|
8038
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8038
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8039
8039
|
const transaction = await client.transaction.build.simple({
|
|
8040
8040
|
sender: account.accountAddress,
|
|
8041
8041
|
data: {
|
|
@@ -8052,7 +8052,7 @@ var multisig_account;
|
|
|
8052
8052
|
}
|
|
8053
8053
|
entry.createWithExistingAccountCall = createWithExistingAccountCall;
|
|
8054
8054
|
async function createWithOwners(client, account, request, options) {
|
|
8055
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8055
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8056
8056
|
const transaction = await client.transaction.build.simple({
|
|
8057
8057
|
sender: account.accountAddress,
|
|
8058
8058
|
data: {
|
|
@@ -8069,7 +8069,7 @@ var multisig_account;
|
|
|
8069
8069
|
}
|
|
8070
8070
|
entry.createWithOwners = createWithOwners;
|
|
8071
8071
|
async function createWithOwnersThenRemoveBootstrapper(client, account, request, options) {
|
|
8072
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8072
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8073
8073
|
const transaction = await client.transaction.build.simple({
|
|
8074
8074
|
sender: account.accountAddress,
|
|
8075
8075
|
data: {
|
|
@@ -8086,7 +8086,7 @@ var multisig_account;
|
|
|
8086
8086
|
}
|
|
8087
8087
|
entry.createWithOwnersThenRemoveBootstrapper = createWithOwnersThenRemoveBootstrapper;
|
|
8088
8088
|
async function executeRejectedTransaction(client, account, request, options) {
|
|
8089
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8089
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8090
8090
|
const transaction = await client.transaction.build.simple({
|
|
8091
8091
|
sender: account.accountAddress,
|
|
8092
8092
|
data: {
|
|
@@ -8103,7 +8103,7 @@ var multisig_account;
|
|
|
8103
8103
|
}
|
|
8104
8104
|
entry.executeRejectedTransaction = executeRejectedTransaction;
|
|
8105
8105
|
async function executeRejectedTransactions(client, account, request, options) {
|
|
8106
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8106
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8107
8107
|
const transaction = await client.transaction.build.simple({
|
|
8108
8108
|
sender: account.accountAddress,
|
|
8109
8109
|
data: {
|
|
@@ -8120,7 +8120,7 @@ var multisig_account;
|
|
|
8120
8120
|
}
|
|
8121
8121
|
entry.executeRejectedTransactions = executeRejectedTransactions;
|
|
8122
8122
|
async function rejectTransaction(client, account, request, options) {
|
|
8123
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8123
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8124
8124
|
const transaction = await client.transaction.build.simple({
|
|
8125
8125
|
sender: account.accountAddress,
|
|
8126
8126
|
data: {
|
|
@@ -8137,7 +8137,7 @@ var multisig_account;
|
|
|
8137
8137
|
}
|
|
8138
8138
|
entry.rejectTransaction = rejectTransaction;
|
|
8139
8139
|
async function removeOwner(client, account, request, options) {
|
|
8140
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8140
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8141
8141
|
const transaction = await client.transaction.build.simple({
|
|
8142
8142
|
sender: account.accountAddress,
|
|
8143
8143
|
data: {
|
|
@@ -8154,7 +8154,7 @@ var multisig_account;
|
|
|
8154
8154
|
}
|
|
8155
8155
|
entry.removeOwner = removeOwner;
|
|
8156
8156
|
async function removeOwners(client, account, request, options) {
|
|
8157
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8157
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8158
8158
|
const transaction = await client.transaction.build.simple({
|
|
8159
8159
|
sender: account.accountAddress,
|
|
8160
8160
|
data: {
|
|
@@ -8171,7 +8171,7 @@ var multisig_account;
|
|
|
8171
8171
|
}
|
|
8172
8172
|
entry.removeOwners = removeOwners;
|
|
8173
8173
|
async function swapOwner(client, account, request, options) {
|
|
8174
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8174
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8175
8175
|
const transaction = await client.transaction.build.simple({
|
|
8176
8176
|
sender: account.accountAddress,
|
|
8177
8177
|
data: {
|
|
@@ -8188,7 +8188,7 @@ var multisig_account;
|
|
|
8188
8188
|
}
|
|
8189
8189
|
entry.swapOwner = swapOwner;
|
|
8190
8190
|
async function swapOwners(client, account, request, options) {
|
|
8191
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8191
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8192
8192
|
const transaction = await client.transaction.build.simple({
|
|
8193
8193
|
sender: account.accountAddress,
|
|
8194
8194
|
data: {
|
|
@@ -8205,7 +8205,7 @@ var multisig_account;
|
|
|
8205
8205
|
}
|
|
8206
8206
|
entry.swapOwners = swapOwners;
|
|
8207
8207
|
async function swapOwnersAndUpdateSignaturesRequired(client, account, request, options) {
|
|
8208
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8208
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8209
8209
|
const transaction = await client.transaction.build.simple({
|
|
8210
8210
|
sender: account.accountAddress,
|
|
8211
8211
|
data: {
|
|
@@ -8222,7 +8222,7 @@ var multisig_account;
|
|
|
8222
8222
|
}
|
|
8223
8223
|
entry.swapOwnersAndUpdateSignaturesRequired = swapOwnersAndUpdateSignaturesRequired;
|
|
8224
8224
|
async function updateMetadata(client, account, request, options) {
|
|
8225
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8225
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8226
8226
|
const transaction = await client.transaction.build.simple({
|
|
8227
8227
|
sender: account.accountAddress,
|
|
8228
8228
|
data: {
|
|
@@ -8239,7 +8239,7 @@ var multisig_account;
|
|
|
8239
8239
|
}
|
|
8240
8240
|
entry.updateMetadata = updateMetadata;
|
|
8241
8241
|
async function updateSignaturesRequired(client, account, request, options) {
|
|
8242
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8242
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8243
8243
|
const transaction = await client.transaction.build.simple({
|
|
8244
8244
|
sender: account.accountAddress,
|
|
8245
8245
|
data: {
|
|
@@ -8256,7 +8256,7 @@ var multisig_account;
|
|
|
8256
8256
|
}
|
|
8257
8257
|
entry.updateSignaturesRequired = updateSignaturesRequired;
|
|
8258
8258
|
async function voteTransaction(client, account, request, options) {
|
|
8259
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8259
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8260
8260
|
const transaction = await client.transaction.build.simple({
|
|
8261
8261
|
sender: account.accountAddress,
|
|
8262
8262
|
data: {
|
|
@@ -8273,7 +8273,7 @@ var multisig_account;
|
|
|
8273
8273
|
}
|
|
8274
8274
|
entry.voteTransaction = voteTransaction;
|
|
8275
8275
|
async function voteTransactions(client, account, request, options) {
|
|
8276
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8276
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8277
8277
|
const transaction = await client.transaction.build.simple({
|
|
8278
8278
|
sender: account.accountAddress,
|
|
8279
8279
|
data: {
|
|
@@ -8290,7 +8290,7 @@ var multisig_account;
|
|
|
8290
8290
|
}
|
|
8291
8291
|
entry.voteTransactions = voteTransactions;
|
|
8292
8292
|
async function voteTransanction(client, account, request, options) {
|
|
8293
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8293
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8294
8294
|
const transaction = await client.transaction.build.simple({
|
|
8295
8295
|
sender: account.accountAddress,
|
|
8296
8296
|
data: {
|
|
@@ -8310,7 +8310,7 @@ var multisig_account;
|
|
|
8310
8310
|
let view;
|
|
8311
8311
|
(function (view) {
|
|
8312
8312
|
async function isOwner(client, request, version) {
|
|
8313
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8313
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8314
8314
|
const data = {
|
|
8315
8315
|
function: "0x1::multisig_account::is_owner",
|
|
8316
8316
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8325,7 +8325,7 @@ var multisig_account;
|
|
|
8325
8325
|
}
|
|
8326
8326
|
view.isOwner = isOwner;
|
|
8327
8327
|
async function metadata(client, request, version) {
|
|
8328
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8328
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8329
8329
|
const data = {
|
|
8330
8330
|
function: "0x1::multisig_account::metadata",
|
|
8331
8331
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8340,7 +8340,7 @@ var multisig_account;
|
|
|
8340
8340
|
}
|
|
8341
8341
|
view.metadata = metadata;
|
|
8342
8342
|
async function vote(client, request, version) {
|
|
8343
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8343
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8344
8344
|
const data = {
|
|
8345
8345
|
function: "0x1::multisig_account::vote",
|
|
8346
8346
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8355,7 +8355,7 @@ var multisig_account;
|
|
|
8355
8355
|
}
|
|
8356
8356
|
view.vote = vote;
|
|
8357
8357
|
async function availableTransactionQueueCapacity(client, request, version) {
|
|
8358
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8358
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8359
8359
|
const data = {
|
|
8360
8360
|
function: "0x1::multisig_account::available_transaction_queue_capacity",
|
|
8361
8361
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8370,7 +8370,7 @@ var multisig_account;
|
|
|
8370
8370
|
}
|
|
8371
8371
|
view.availableTransactionQueueCapacity = availableTransactionQueueCapacity;
|
|
8372
8372
|
async function canBeExecuted(client, request, version) {
|
|
8373
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8373
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8374
8374
|
const data = {
|
|
8375
8375
|
function: "0x1::multisig_account::can_be_executed",
|
|
8376
8376
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8385,7 +8385,7 @@ var multisig_account;
|
|
|
8385
8385
|
}
|
|
8386
8386
|
view.canBeExecuted = canBeExecuted;
|
|
8387
8387
|
async function canBeRejected(client, request, version) {
|
|
8388
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8388
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8389
8389
|
const data = {
|
|
8390
8390
|
function: "0x1::multisig_account::can_be_rejected",
|
|
8391
8391
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8400,7 +8400,7 @@ var multisig_account;
|
|
|
8400
8400
|
}
|
|
8401
8401
|
view.canBeRejected = canBeRejected;
|
|
8402
8402
|
async function canExecute(client, request, version) {
|
|
8403
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8403
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8404
8404
|
const data = {
|
|
8405
8405
|
function: "0x1::multisig_account::can_execute",
|
|
8406
8406
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8415,7 +8415,7 @@ var multisig_account;
|
|
|
8415
8415
|
}
|
|
8416
8416
|
view.canExecute = canExecute;
|
|
8417
8417
|
async function canReject(client, request, version) {
|
|
8418
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8418
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8419
8419
|
const data = {
|
|
8420
8420
|
function: "0x1::multisig_account::can_reject",
|
|
8421
8421
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8430,7 +8430,7 @@ var multisig_account;
|
|
|
8430
8430
|
}
|
|
8431
8431
|
view.canReject = canReject;
|
|
8432
8432
|
async function numSignaturesRequired(client, request, version) {
|
|
8433
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8433
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8434
8434
|
const data = {
|
|
8435
8435
|
function: "0x1::multisig_account::num_signatures_required",
|
|
8436
8436
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8445,7 +8445,7 @@ var multisig_account;
|
|
|
8445
8445
|
}
|
|
8446
8446
|
view.numSignaturesRequired = numSignaturesRequired;
|
|
8447
8447
|
async function owners(client, request, version) {
|
|
8448
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8448
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8449
8449
|
const data = {
|
|
8450
8450
|
function: "0x1::multisig_account::owners",
|
|
8451
8451
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8460,7 +8460,7 @@ var multisig_account;
|
|
|
8460
8460
|
}
|
|
8461
8461
|
view.owners = owners;
|
|
8462
8462
|
async function getNextMultisigAccountAddress(client, request, version) {
|
|
8463
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8463
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8464
8464
|
const data = {
|
|
8465
8465
|
function: "0x1::multisig_account::get_next_multisig_account_address",
|
|
8466
8466
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8475,7 +8475,7 @@ var multisig_account;
|
|
|
8475
8475
|
}
|
|
8476
8476
|
view.getNextMultisigAccountAddress = getNextMultisigAccountAddress;
|
|
8477
8477
|
async function getNextTransactionPayload(client, request, version) {
|
|
8478
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8478
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8479
8479
|
const data = {
|
|
8480
8480
|
function: "0x1::multisig_account::get_next_transaction_payload",
|
|
8481
8481
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8490,7 +8490,7 @@ var multisig_account;
|
|
|
8490
8490
|
}
|
|
8491
8491
|
view.getNextTransactionPayload = getNextTransactionPayload;
|
|
8492
8492
|
async function getPendingTransactions(client, request, version) {
|
|
8493
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8493
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8494
8494
|
const data = {
|
|
8495
8495
|
function: "0x1::multisig_account::get_pending_transactions",
|
|
8496
8496
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8505,7 +8505,7 @@ var multisig_account;
|
|
|
8505
8505
|
}
|
|
8506
8506
|
view.getPendingTransactions = getPendingTransactions;
|
|
8507
8507
|
async function getTransaction(client, request, version) {
|
|
8508
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8508
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8509
8509
|
const data = {
|
|
8510
8510
|
function: "0x1::multisig_account::get_transaction",
|
|
8511
8511
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8520,7 +8520,7 @@ var multisig_account;
|
|
|
8520
8520
|
}
|
|
8521
8521
|
view.getTransaction = getTransaction;
|
|
8522
8522
|
async function lastResolvedSequenceNumber(client, request, version) {
|
|
8523
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8523
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8524
8524
|
const data = {
|
|
8525
8525
|
function: "0x1::multisig_account::last_resolved_sequence_number",
|
|
8526
8526
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8535,7 +8535,7 @@ var multisig_account;
|
|
|
8535
8535
|
}
|
|
8536
8536
|
view.lastResolvedSequenceNumber = lastResolvedSequenceNumber;
|
|
8537
8537
|
async function nextSequenceNumber(client, request, version) {
|
|
8538
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8538
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8539
8539
|
const data = {
|
|
8540
8540
|
function: "0x1::multisig_account::next_sequence_number",
|
|
8541
8541
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -8592,7 +8592,7 @@ var nonce_validation;
|
|
|
8592
8592
|
let entry;
|
|
8593
8593
|
(function (entry) {
|
|
8594
8594
|
async function addNonceBuckets(client, account, request, options) {
|
|
8595
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8595
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8596
8596
|
const transaction = await client.transaction.build.simple({
|
|
8597
8597
|
sender: account.accountAddress,
|
|
8598
8598
|
data: {
|
|
@@ -8609,7 +8609,7 @@ var nonce_validation;
|
|
|
8609
8609
|
}
|
|
8610
8610
|
entry.addNonceBuckets = addNonceBuckets;
|
|
8611
8611
|
async function initializeNonceTable(client, account, request, options) {
|
|
8612
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8612
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8613
8613
|
const transaction = await client.transaction.build.simple({
|
|
8614
8614
|
sender: account.accountAddress,
|
|
8615
8615
|
data: {
|
|
@@ -8653,7 +8653,7 @@ var resource_account;
|
|
|
8653
8653
|
let entry;
|
|
8654
8654
|
(function (entry) {
|
|
8655
8655
|
async function createResourceAccount(client, account, request, options) {
|
|
8656
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8656
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8657
8657
|
const transaction = await client.transaction.build.simple({
|
|
8658
8658
|
sender: account.accountAddress,
|
|
8659
8659
|
data: {
|
|
@@ -8670,7 +8670,7 @@ var resource_account;
|
|
|
8670
8670
|
}
|
|
8671
8671
|
entry.createResourceAccount = createResourceAccount;
|
|
8672
8672
|
async function createResourceAccountAndFund(client, account, request, options) {
|
|
8673
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8673
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8674
8674
|
const transaction = await client.transaction.build.simple({
|
|
8675
8675
|
sender: account.accountAddress,
|
|
8676
8676
|
data: {
|
|
@@ -8687,7 +8687,7 @@ var resource_account;
|
|
|
8687
8687
|
}
|
|
8688
8688
|
entry.createResourceAccountAndFund = createResourceAccountAndFund;
|
|
8689
8689
|
async function createResourceAccountAndPublishPackage(client, account, request, options) {
|
|
8690
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8690
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8691
8691
|
const transaction = await client.transaction.build.simple({
|
|
8692
8692
|
sender: account.accountAddress,
|
|
8693
8693
|
data: {
|
|
@@ -8944,7 +8944,7 @@ var staking_contract;
|
|
|
8944
8944
|
let entry;
|
|
8945
8945
|
(function (entry) {
|
|
8946
8946
|
async function addStake(client, account, request, options) {
|
|
8947
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8947
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8948
8948
|
const transaction = await client.transaction.build.simple({
|
|
8949
8949
|
sender: account.accountAddress,
|
|
8950
8950
|
data: {
|
|
@@ -8961,7 +8961,7 @@ var staking_contract;
|
|
|
8961
8961
|
}
|
|
8962
8962
|
entry.addStake = addStake;
|
|
8963
8963
|
async function setBeneficiaryForOperator(client, account, request, options) {
|
|
8964
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8964
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8965
8965
|
const transaction = await client.transaction.build.simple({
|
|
8966
8966
|
sender: account.accountAddress,
|
|
8967
8967
|
data: {
|
|
@@ -8978,7 +8978,7 @@ var staking_contract;
|
|
|
8978
8978
|
}
|
|
8979
8979
|
entry.setBeneficiaryForOperator = setBeneficiaryForOperator;
|
|
8980
8980
|
async function createStakingContract(client, account, request, options) {
|
|
8981
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8981
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8982
8982
|
const transaction = await client.transaction.build.simple({
|
|
8983
8983
|
sender: account.accountAddress,
|
|
8984
8984
|
data: {
|
|
@@ -8995,7 +8995,7 @@ var staking_contract;
|
|
|
8995
8995
|
}
|
|
8996
8996
|
entry.createStakingContract = createStakingContract;
|
|
8997
8997
|
async function distribute(client, account, request, options) {
|
|
8998
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
8998
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
8999
8999
|
const transaction = await client.transaction.build.simple({
|
|
9000
9000
|
sender: account.accountAddress,
|
|
9001
9001
|
data: {
|
|
@@ -9012,7 +9012,7 @@ var staking_contract;
|
|
|
9012
9012
|
}
|
|
9013
9013
|
entry.distribute = distribute;
|
|
9014
9014
|
async function requestCommission(client, account, request, options) {
|
|
9015
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9015
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9016
9016
|
const transaction = await client.transaction.build.simple({
|
|
9017
9017
|
sender: account.accountAddress,
|
|
9018
9018
|
data: {
|
|
@@ -9029,7 +9029,7 @@ var staking_contract;
|
|
|
9029
9029
|
}
|
|
9030
9030
|
entry.requestCommission = requestCommission;
|
|
9031
9031
|
async function resetLockup(client, account, request, options) {
|
|
9032
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9032
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9033
9033
|
const transaction = await client.transaction.build.simple({
|
|
9034
9034
|
sender: account.accountAddress,
|
|
9035
9035
|
data: {
|
|
@@ -9046,7 +9046,7 @@ var staking_contract;
|
|
|
9046
9046
|
}
|
|
9047
9047
|
entry.resetLockup = resetLockup;
|
|
9048
9048
|
async function switchOperator(client, account, request, options) {
|
|
9049
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9049
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9050
9050
|
const transaction = await client.transaction.build.simple({
|
|
9051
9051
|
sender: account.accountAddress,
|
|
9052
9052
|
data: {
|
|
@@ -9063,7 +9063,7 @@ var staking_contract;
|
|
|
9063
9063
|
}
|
|
9064
9064
|
entry.switchOperator = switchOperator;
|
|
9065
9065
|
async function switchOperatorWithSameCommission(client, account, request, options) {
|
|
9066
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9066
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9067
9067
|
const transaction = await client.transaction.build.simple({
|
|
9068
9068
|
sender: account.accountAddress,
|
|
9069
9069
|
data: {
|
|
@@ -9080,7 +9080,7 @@ var staking_contract;
|
|
|
9080
9080
|
}
|
|
9081
9081
|
entry.switchOperatorWithSameCommission = switchOperatorWithSameCommission;
|
|
9082
9082
|
async function unlockRewards(client, account, request, options) {
|
|
9083
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9083
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9084
9084
|
const transaction = await client.transaction.build.simple({
|
|
9085
9085
|
sender: account.accountAddress,
|
|
9086
9086
|
data: {
|
|
@@ -9097,7 +9097,7 @@ var staking_contract;
|
|
|
9097
9097
|
}
|
|
9098
9098
|
entry.unlockRewards = unlockRewards;
|
|
9099
9099
|
async function unlockStake(client, account, request, options) {
|
|
9100
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9100
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9101
9101
|
const transaction = await client.transaction.build.simple({
|
|
9102
9102
|
sender: account.accountAddress,
|
|
9103
9103
|
data: {
|
|
@@ -9114,7 +9114,7 @@ var staking_contract;
|
|
|
9114
9114
|
}
|
|
9115
9115
|
entry.unlockStake = unlockStake;
|
|
9116
9116
|
async function updateCommision(client, account, request, options) {
|
|
9117
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9117
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9118
9118
|
const transaction = await client.transaction.build.simple({
|
|
9119
9119
|
sender: account.accountAddress,
|
|
9120
9120
|
data: {
|
|
@@ -9131,7 +9131,7 @@ var staking_contract;
|
|
|
9131
9131
|
}
|
|
9132
9132
|
entry.updateCommision = updateCommision;
|
|
9133
9133
|
async function updateVoter(client, account, request, options) {
|
|
9134
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9134
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9135
9135
|
const transaction = await client.transaction.build.simple({
|
|
9136
9136
|
sender: account.accountAddress,
|
|
9137
9137
|
data: {
|
|
@@ -9151,7 +9151,7 @@ var staking_contract;
|
|
|
9151
9151
|
let view;
|
|
9152
9152
|
(function (view) {
|
|
9153
9153
|
async function beneficiaryForOperator(client, request, version) {
|
|
9154
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9154
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9155
9155
|
const data = {
|
|
9156
9156
|
function: "0x1::staking_contract::beneficiary_for_operator",
|
|
9157
9157
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9166,7 +9166,7 @@ var staking_contract;
|
|
|
9166
9166
|
}
|
|
9167
9167
|
view.beneficiaryForOperator = beneficiaryForOperator;
|
|
9168
9168
|
async function getExpectedStakePoolAddress(client, request, version) {
|
|
9169
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9169
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9170
9170
|
const data = {
|
|
9171
9171
|
function: "0x1::staking_contract::get_expected_stake_pool_address",
|
|
9172
9172
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9181,7 +9181,7 @@ var staking_contract;
|
|
|
9181
9181
|
}
|
|
9182
9182
|
view.getExpectedStakePoolAddress = getExpectedStakePoolAddress;
|
|
9183
9183
|
async function commissionPercentage(client, request, version) {
|
|
9184
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9184
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9185
9185
|
const data = {
|
|
9186
9186
|
function: "0x1::staking_contract::commission_percentage",
|
|
9187
9187
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9196,7 +9196,7 @@ var staking_contract;
|
|
|
9196
9196
|
}
|
|
9197
9197
|
view.commissionPercentage = commissionPercentage;
|
|
9198
9198
|
async function lastRecordedPrincipal(client, request, version) {
|
|
9199
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9199
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9200
9200
|
const data = {
|
|
9201
9201
|
function: "0x1::staking_contract::last_recorded_principal",
|
|
9202
9202
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9211,7 +9211,7 @@ var staking_contract;
|
|
|
9211
9211
|
}
|
|
9212
9212
|
view.lastRecordedPrincipal = lastRecordedPrincipal;
|
|
9213
9213
|
async function pendingDistributionCounts(client, request, version) {
|
|
9214
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9214
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9215
9215
|
const data = {
|
|
9216
9216
|
function: "0x1::staking_contract::pending_distribution_counts",
|
|
9217
9217
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9226,7 +9226,7 @@ var staking_contract;
|
|
|
9226
9226
|
}
|
|
9227
9227
|
view.pendingDistributionCounts = pendingDistributionCounts;
|
|
9228
9228
|
async function stakePoolAddress(client, request, version) {
|
|
9229
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9229
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9230
9230
|
const data = {
|
|
9231
9231
|
function: "0x1::staking_contract::stake_pool_address",
|
|
9232
9232
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9241,7 +9241,7 @@ var staking_contract;
|
|
|
9241
9241
|
}
|
|
9242
9242
|
view.stakePoolAddress = stakePoolAddress;
|
|
9243
9243
|
async function stakingContractAmounts(client, request, version) {
|
|
9244
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9244
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9245
9245
|
const data = {
|
|
9246
9246
|
function: "0x1::staking_contract::staking_contract_amounts",
|
|
9247
9247
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9256,7 +9256,7 @@ var staking_contract;
|
|
|
9256
9256
|
}
|
|
9257
9257
|
view.stakingContractAmounts = stakingContractAmounts;
|
|
9258
9258
|
async function stakingContractExists(client, request, version) {
|
|
9259
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9259
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9260
9260
|
const data = {
|
|
9261
9261
|
function: "0x1::staking_contract::staking_contract_exists",
|
|
9262
9262
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9397,7 +9397,7 @@ var account_abstraction;
|
|
|
9397
9397
|
let entry;
|
|
9398
9398
|
(function (entry) {
|
|
9399
9399
|
async function initialize(client, account, request, options) {
|
|
9400
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9400
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9401
9401
|
const transaction = await client.transaction.build.simple({
|
|
9402
9402
|
sender: account.accountAddress,
|
|
9403
9403
|
data: {
|
|
@@ -9414,7 +9414,7 @@ var account_abstraction;
|
|
|
9414
9414
|
}
|
|
9415
9415
|
entry.initialize = initialize;
|
|
9416
9416
|
async function addAuthenticationFunction(client, account, request, options) {
|
|
9417
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9417
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9418
9418
|
const transaction = await client.transaction.build.simple({
|
|
9419
9419
|
sender: account.accountAddress,
|
|
9420
9420
|
data: {
|
|
@@ -9431,7 +9431,7 @@ var account_abstraction;
|
|
|
9431
9431
|
}
|
|
9432
9432
|
entry.addAuthenticationFunction = addAuthenticationFunction;
|
|
9433
9433
|
async function addDispatchableAuthenticationFunction(client, account, request, options) {
|
|
9434
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9434
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9435
9435
|
const transaction = await client.transaction.build.simple({
|
|
9436
9436
|
sender: account.accountAddress,
|
|
9437
9437
|
data: {
|
|
@@ -9448,7 +9448,7 @@ var account_abstraction;
|
|
|
9448
9448
|
}
|
|
9449
9449
|
entry.addDispatchableAuthenticationFunction = addDispatchableAuthenticationFunction;
|
|
9450
9450
|
async function registerDerivableAuthenticationFunction(client, account, request, options) {
|
|
9451
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9451
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9452
9452
|
const transaction = await client.transaction.build.simple({
|
|
9453
9453
|
sender: account.accountAddress,
|
|
9454
9454
|
data: {
|
|
@@ -9465,7 +9465,7 @@ var account_abstraction;
|
|
|
9465
9465
|
}
|
|
9466
9466
|
entry.registerDerivableAuthenticationFunction = registerDerivableAuthenticationFunction;
|
|
9467
9467
|
async function removeAuthenticationFunction(client, account, request, options) {
|
|
9468
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9468
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9469
9469
|
const transaction = await client.transaction.build.simple({
|
|
9470
9470
|
sender: account.accountAddress,
|
|
9471
9471
|
data: {
|
|
@@ -9482,7 +9482,7 @@ var account_abstraction;
|
|
|
9482
9482
|
}
|
|
9483
9483
|
entry.removeAuthenticationFunction = removeAuthenticationFunction;
|
|
9484
9484
|
async function removeAuthenticator(client, account, request, options) {
|
|
9485
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9485
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9486
9486
|
const transaction = await client.transaction.build.simple({
|
|
9487
9487
|
sender: account.accountAddress,
|
|
9488
9488
|
data: {
|
|
@@ -9499,7 +9499,7 @@ var account_abstraction;
|
|
|
9499
9499
|
}
|
|
9500
9500
|
entry.removeAuthenticator = removeAuthenticator;
|
|
9501
9501
|
async function removeDispatchableAuthenticationFunction(client, account, request, options) {
|
|
9502
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9502
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9503
9503
|
const transaction = await client.transaction.build.simple({
|
|
9504
9504
|
sender: account.accountAddress,
|
|
9505
9505
|
data: {
|
|
@@ -9516,7 +9516,7 @@ var account_abstraction;
|
|
|
9516
9516
|
}
|
|
9517
9517
|
entry.removeDispatchableAuthenticationFunction = removeDispatchableAuthenticationFunction;
|
|
9518
9518
|
async function removeDispatchableAuthenticator(client, account, request, options) {
|
|
9519
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9519
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9520
9520
|
const transaction = await client.transaction.build.simple({
|
|
9521
9521
|
sender: account.accountAddress,
|
|
9522
9522
|
data: {
|
|
@@ -9536,7 +9536,7 @@ var account_abstraction;
|
|
|
9536
9536
|
let view;
|
|
9537
9537
|
(function (view) {
|
|
9538
9538
|
async function deriveAccountAddressView(client, request, version) {
|
|
9539
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9539
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9540
9540
|
const data = {
|
|
9541
9541
|
function: "0x1::account_abstraction::derive_account_address_view",
|
|
9542
9542
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9551,7 +9551,7 @@ var account_abstraction;
|
|
|
9551
9551
|
}
|
|
9552
9552
|
view.deriveAccountAddressView = deriveAccountAddressView;
|
|
9553
9553
|
async function dispatchableAuthenticator(client, request, version) {
|
|
9554
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9554
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9555
9555
|
const data = {
|
|
9556
9556
|
function: "0x1::account_abstraction::dispatchable_authenticator",
|
|
9557
9557
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9566,7 +9566,7 @@ var account_abstraction;
|
|
|
9566
9566
|
}
|
|
9567
9567
|
view.dispatchableAuthenticator = dispatchableAuthenticator;
|
|
9568
9568
|
async function usingDispatchableAuthenticator(client, request, version) {
|
|
9569
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9569
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9570
9570
|
const data = {
|
|
9571
9571
|
function: "0x1::account_abstraction::using_dispatchable_authenticator",
|
|
9572
9572
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -9674,7 +9674,7 @@ var permissioned_signer;
|
|
|
9674
9674
|
let entry;
|
|
9675
9675
|
(function (entry) {
|
|
9676
9676
|
async function revokeAllHandles(client, account, request, options) {
|
|
9677
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9677
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9678
9678
|
const transaction = await client.transaction.build.simple({
|
|
9679
9679
|
sender: account.accountAddress,
|
|
9680
9680
|
data: {
|
|
@@ -9691,7 +9691,7 @@ var permissioned_signer;
|
|
|
9691
9691
|
}
|
|
9692
9692
|
entry.revokeAllHandles = revokeAllHandles;
|
|
9693
9693
|
async function revokePermissionStorageAddress(client, account, request, options) {
|
|
9694
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9694
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9695
9695
|
const transaction = await client.transaction.build.simple({
|
|
9696
9696
|
sender: account.accountAddress,
|
|
9697
9697
|
data: {
|
|
@@ -9891,7 +9891,7 @@ var object_code_deployment;
|
|
|
9891
9891
|
let entry;
|
|
9892
9892
|
(function (entry) {
|
|
9893
9893
|
async function freezeCodeObject(client, account, request, options) {
|
|
9894
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9894
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9895
9895
|
const transaction = await client.transaction.build.simple({
|
|
9896
9896
|
sender: account.accountAddress,
|
|
9897
9897
|
data: {
|
|
@@ -9908,7 +9908,7 @@ var object_code_deployment;
|
|
|
9908
9908
|
}
|
|
9909
9909
|
entry.freezeCodeObject = freezeCodeObject;
|
|
9910
9910
|
async function publish(client, account, request, options) {
|
|
9911
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9911
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9912
9912
|
const transaction = await client.transaction.build.simple({
|
|
9913
9913
|
sender: account.accountAddress,
|
|
9914
9914
|
data: {
|
|
@@ -9925,7 +9925,7 @@ var object_code_deployment;
|
|
|
9925
9925
|
}
|
|
9926
9926
|
entry.publish = publish;
|
|
9927
9927
|
async function upgrade(client, account, request, options) {
|
|
9928
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9928
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9929
9929
|
const transaction = await client.transaction.build.simple({
|
|
9930
9930
|
sender: account.accountAddress,
|
|
9931
9931
|
data: {
|
|
@@ -9957,7 +9957,7 @@ var primary_fungible_store;
|
|
|
9957
9957
|
let entry;
|
|
9958
9958
|
(function (entry) {
|
|
9959
9959
|
async function transfer(client, account, request, options) {
|
|
9960
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9960
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9961
9961
|
const transaction = await client.transaction.build.simple({
|
|
9962
9962
|
sender: account.accountAddress,
|
|
9963
9963
|
data: {
|
|
@@ -9974,7 +9974,7 @@ var primary_fungible_store;
|
|
|
9974
9974
|
}
|
|
9975
9975
|
entry.transfer = transfer;
|
|
9976
9976
|
async function transferAssertMinimumDeposit(client, account, request, options) {
|
|
9977
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9977
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9978
9978
|
const transaction = await client.transaction.build.simple({
|
|
9979
9979
|
sender: account.accountAddress,
|
|
9980
9980
|
data: {
|
|
@@ -9994,7 +9994,7 @@ var primary_fungible_store;
|
|
|
9994
9994
|
let view;
|
|
9995
9995
|
(function (view) {
|
|
9996
9996
|
async function balance(client, request, version) {
|
|
9997
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
9997
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
9998
9998
|
const data = {
|
|
9999
9999
|
function: "0x1::primary_fungible_store::balance",
|
|
10000
10000
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -10009,7 +10009,7 @@ var primary_fungible_store;
|
|
|
10009
10009
|
}
|
|
10010
10010
|
view.balance = balance;
|
|
10011
10011
|
async function isBalanceAtLeast(client, request, version) {
|
|
10012
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
10012
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
10013
10013
|
const data = {
|
|
10014
10014
|
function: "0x1::primary_fungible_store::is_balance_at_least",
|
|
10015
10015
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -10024,7 +10024,7 @@ var primary_fungible_store;
|
|
|
10024
10024
|
}
|
|
10025
10025
|
view.isBalanceAtLeast = isBalanceAtLeast;
|
|
10026
10026
|
async function isFrozen(client, request, version) {
|
|
10027
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
10027
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
10028
10028
|
const data = {
|
|
10029
10029
|
function: "0x1::primary_fungible_store::is_frozen",
|
|
10030
10030
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -10039,7 +10039,7 @@ var primary_fungible_store;
|
|
|
10039
10039
|
}
|
|
10040
10040
|
view.isFrozen = isFrozen;
|
|
10041
10041
|
async function primaryStore(client, request, version) {
|
|
10042
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
10042
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
10043
10043
|
const data = {
|
|
10044
10044
|
function: "0x1::primary_fungible_store::primary_store",
|
|
10045
10045
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -10054,7 +10054,7 @@ var primary_fungible_store;
|
|
|
10054
10054
|
}
|
|
10055
10055
|
view.primaryStore = primaryStore;
|
|
10056
10056
|
async function primaryStoreAddress(client, request, version) {
|
|
10057
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
10057
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
10058
10058
|
const data = {
|
|
10059
10059
|
function: "0x1::primary_fungible_store::primary_store_address",
|
|
10060
10060
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -10069,7 +10069,7 @@ var primary_fungible_store;
|
|
|
10069
10069
|
}
|
|
10070
10070
|
view.primaryStoreAddress = primaryStoreAddress;
|
|
10071
10071
|
async function primaryStoreExists(client, request, version) {
|
|
10072
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
10072
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
10073
10073
|
const data = {
|
|
10074
10074
|
function: "0x1::primary_fungible_store::primary_store_exists",
|
|
10075
10075
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -10288,7 +10288,7 @@ var dispatchable_fungible_asset;
|
|
|
10288
10288
|
let entry;
|
|
10289
10289
|
(function (entry) {
|
|
10290
10290
|
async function transfer(client, account, request, options) {
|
|
10291
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
10291
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
10292
10292
|
const transaction = await client.transaction.build.simple({
|
|
10293
10293
|
sender: account.accountAddress,
|
|
10294
10294
|
data: {
|
|
@@ -10305,7 +10305,7 @@ var dispatchable_fungible_asset;
|
|
|
10305
10305
|
}
|
|
10306
10306
|
entry.transfer = transfer;
|
|
10307
10307
|
async function transferAssertMinimumDeposit(client, account, request, options) {
|
|
10308
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
10308
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
10309
10309
|
const transaction = await client.transaction.build.simple({
|
|
10310
10310
|
sender: account.accountAddress,
|
|
10311
10311
|
data: {
|
|
@@ -10325,7 +10325,7 @@ var dispatchable_fungible_asset;
|
|
|
10325
10325
|
let view;
|
|
10326
10326
|
(function (view) {
|
|
10327
10327
|
async function derivedBalance(client, request, version) {
|
|
10328
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
10328
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
10329
10329
|
const data = {
|
|
10330
10330
|
function: "0x1::dispatchable_fungible_asset::derived_balance",
|
|
10331
10331
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -10340,7 +10340,7 @@ var dispatchable_fungible_asset;
|
|
|
10340
10340
|
}
|
|
10341
10341
|
view.derivedBalance = derivedBalance;
|
|
10342
10342
|
async function derivedSupply(client, request, version) {
|
|
10343
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
10343
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
10344
10344
|
const data = {
|
|
10345
10345
|
function: "0x1::dispatchable_fungible_asset::derived_supply",
|
|
10346
10346
|
functionArguments: coder.encodeArray(request.functionArguments),
|
|
@@ -10355,7 +10355,7 @@ var dispatchable_fungible_asset;
|
|
|
10355
10355
|
}
|
|
10356
10356
|
view.derivedSupply = derivedSupply;
|
|
10357
10357
|
async function isDerivedBalanceAtLeast(client, request, version) {
|
|
10358
|
-
const coder = (0, aptos_1.defaultMoveCoder)(client.config
|
|
10358
|
+
const coder = (0, aptos_1.defaultMoveCoder)(client.config);
|
|
10359
10359
|
const data = {
|
|
10360
10360
|
function: "0x1::dispatchable_fungible_asset::is_derived_balance_at_least",
|
|
10361
10361
|
functionArguments: coder.encodeArray(request.functionArguments),
|