@typemove/aptos 1.3.1-rc.1 → 1.3.2-rc.1
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/builtin/0x1.js +127 -127
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x3.js +14 -14
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/builtin/0x4.js +17 -17
- package/dist/cjs/builtin/0x4.js.map +1 -1
- package/dist/cjs/codegen/codegen.js +1 -1
- package/dist/esm/builtin/0x1.js +127 -127
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x3.js +14 -14
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/builtin/0x4.js +17 -17
- package/dist/esm/builtin/0x4.js.map +1 -1
- package/dist/esm/codegen/codegen.js +1 -1
- package/package.json +3 -3
- package/src/builtin/0x1.ts +127 -127
- package/src/builtin/0x3.ts +14 -14
- package/src/builtin/0x4.ts +17 -17
- package/src/codegen/codegen.ts +1 -1
- package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts +23 -23
- package/src/tests/types/0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541.ts +39 -39
package/dist/cjs/builtin/0x1.js
CHANGED
|
@@ -92,7 +92,7 @@ var code;
|
|
|
92
92
|
(function (entry) {
|
|
93
93
|
async function publishPackageTxn(client, account, request, options) {
|
|
94
94
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
95
|
-
const transaction = await client.build.simple({
|
|
95
|
+
const transaction = await client.transaction.build.simple({
|
|
96
96
|
sender: account.accountAddress,
|
|
97
97
|
data: {
|
|
98
98
|
function: "0x1::code::publish_package_txn",
|
|
@@ -205,7 +205,7 @@ var coin;
|
|
|
205
205
|
(function (entry) {
|
|
206
206
|
async function freezeCoinStore(client, account, request, options) {
|
|
207
207
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
208
|
-
const transaction = await client.build.simple({
|
|
208
|
+
const transaction = await client.transaction.build.simple({
|
|
209
209
|
sender: account.accountAddress,
|
|
210
210
|
data: {
|
|
211
211
|
function: "0x1::coin::freeze_coin_store",
|
|
@@ -222,7 +222,7 @@ var coin;
|
|
|
222
222
|
entry.freezeCoinStore = freezeCoinStore;
|
|
223
223
|
async function transfer(client, account, request, options) {
|
|
224
224
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
225
|
-
const transaction = await client.build.simple({
|
|
225
|
+
const transaction = await client.transaction.build.simple({
|
|
226
226
|
sender: account.accountAddress,
|
|
227
227
|
data: {
|
|
228
228
|
function: "0x1::coin::transfer",
|
|
@@ -239,7 +239,7 @@ var coin;
|
|
|
239
239
|
entry.transfer = transfer;
|
|
240
240
|
async function unfreezeCoinStore(client, account, request, options) {
|
|
241
241
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
242
|
-
const transaction = await client.build.simple({
|
|
242
|
+
const transaction = await client.transaction.build.simple({
|
|
243
243
|
sender: account.accountAddress,
|
|
244
244
|
data: {
|
|
245
245
|
function: "0x1::coin::unfreeze_coin_store",
|
|
@@ -256,7 +256,7 @@ var coin;
|
|
|
256
256
|
entry.unfreezeCoinStore = unfreezeCoinStore;
|
|
257
257
|
async function upgradeSupply(client, account, request, options) {
|
|
258
258
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
259
|
-
const transaction = await client.build.simple({
|
|
259
|
+
const transaction = await client.transaction.build.simple({
|
|
260
260
|
sender: account.accountAddress,
|
|
261
261
|
data: {
|
|
262
262
|
function: "0x1::coin::upgrade_supply",
|
|
@@ -696,7 +696,7 @@ var stake;
|
|
|
696
696
|
(function (entry) {
|
|
697
697
|
async function addStake(client, account, request, options) {
|
|
698
698
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
699
|
-
const transaction = await client.build.simple({
|
|
699
|
+
const transaction = await client.transaction.build.simple({
|
|
700
700
|
sender: account.accountAddress,
|
|
701
701
|
data: {
|
|
702
702
|
function: "0x1::stake::add_stake",
|
|
@@ -713,7 +713,7 @@ var stake;
|
|
|
713
713
|
entry.addStake = addStake;
|
|
714
714
|
async function increaseLockup(client, account, request, options) {
|
|
715
715
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
716
|
-
const transaction = await client.build.simple({
|
|
716
|
+
const transaction = await client.transaction.build.simple({
|
|
717
717
|
sender: account.accountAddress,
|
|
718
718
|
data: {
|
|
719
719
|
function: "0x1::stake::increase_lockup",
|
|
@@ -730,7 +730,7 @@ var stake;
|
|
|
730
730
|
entry.increaseLockup = increaseLockup;
|
|
731
731
|
async function initializeStakeOwner(client, account, request, options) {
|
|
732
732
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
733
|
-
const transaction = await client.build.simple({
|
|
733
|
+
const transaction = await client.transaction.build.simple({
|
|
734
734
|
sender: account.accountAddress,
|
|
735
735
|
data: {
|
|
736
736
|
function: "0x1::stake::initialize_stake_owner",
|
|
@@ -747,7 +747,7 @@ var stake;
|
|
|
747
747
|
entry.initializeStakeOwner = initializeStakeOwner;
|
|
748
748
|
async function initializeValidator(client, account, request, options) {
|
|
749
749
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
750
|
-
const transaction = await client.build.simple({
|
|
750
|
+
const transaction = await client.transaction.build.simple({
|
|
751
751
|
sender: account.accountAddress,
|
|
752
752
|
data: {
|
|
753
753
|
function: "0x1::stake::initialize_validator",
|
|
@@ -764,7 +764,7 @@ var stake;
|
|
|
764
764
|
entry.initializeValidator = initializeValidator;
|
|
765
765
|
async function joinValidatorSet(client, account, request, options) {
|
|
766
766
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
767
|
-
const transaction = await client.build.simple({
|
|
767
|
+
const transaction = await client.transaction.build.simple({
|
|
768
768
|
sender: account.accountAddress,
|
|
769
769
|
data: {
|
|
770
770
|
function: "0x1::stake::join_validator_set",
|
|
@@ -781,7 +781,7 @@ var stake;
|
|
|
781
781
|
entry.joinValidatorSet = joinValidatorSet;
|
|
782
782
|
async function leaveValidatorSet(client, account, request, options) {
|
|
783
783
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
784
|
-
const transaction = await client.build.simple({
|
|
784
|
+
const transaction = await client.transaction.build.simple({
|
|
785
785
|
sender: account.accountAddress,
|
|
786
786
|
data: {
|
|
787
787
|
function: "0x1::stake::leave_validator_set",
|
|
@@ -798,7 +798,7 @@ var stake;
|
|
|
798
798
|
entry.leaveValidatorSet = leaveValidatorSet;
|
|
799
799
|
async function reactivateStake(client, account, request, options) {
|
|
800
800
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
801
|
-
const transaction = await client.build.simple({
|
|
801
|
+
const transaction = await client.transaction.build.simple({
|
|
802
802
|
sender: account.accountAddress,
|
|
803
803
|
data: {
|
|
804
804
|
function: "0x1::stake::reactivate_stake",
|
|
@@ -815,7 +815,7 @@ var stake;
|
|
|
815
815
|
entry.reactivateStake = reactivateStake;
|
|
816
816
|
async function rotateConsensusKey(client, account, request, options) {
|
|
817
817
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
818
|
-
const transaction = await client.build.simple({
|
|
818
|
+
const transaction = await client.transaction.build.simple({
|
|
819
819
|
sender: account.accountAddress,
|
|
820
820
|
data: {
|
|
821
821
|
function: "0x1::stake::rotate_consensus_key",
|
|
@@ -832,7 +832,7 @@ var stake;
|
|
|
832
832
|
entry.rotateConsensusKey = rotateConsensusKey;
|
|
833
833
|
async function setDelegatedVoter(client, account, request, options) {
|
|
834
834
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
835
|
-
const transaction = await client.build.simple({
|
|
835
|
+
const transaction = await client.transaction.build.simple({
|
|
836
836
|
sender: account.accountAddress,
|
|
837
837
|
data: {
|
|
838
838
|
function: "0x1::stake::set_delegated_voter",
|
|
@@ -849,7 +849,7 @@ var stake;
|
|
|
849
849
|
entry.setDelegatedVoter = setDelegatedVoter;
|
|
850
850
|
async function setOperator(client, account, request, options) {
|
|
851
851
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
852
|
-
const transaction = await client.build.simple({
|
|
852
|
+
const transaction = await client.transaction.build.simple({
|
|
853
853
|
sender: account.accountAddress,
|
|
854
854
|
data: {
|
|
855
855
|
function: "0x1::stake::set_operator",
|
|
@@ -866,7 +866,7 @@ var stake;
|
|
|
866
866
|
entry.setOperator = setOperator;
|
|
867
867
|
async function unlock(client, account, request, options) {
|
|
868
868
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
869
|
-
const transaction = await client.build.simple({
|
|
869
|
+
const transaction = await client.transaction.build.simple({
|
|
870
870
|
sender: account.accountAddress,
|
|
871
871
|
data: {
|
|
872
872
|
function: "0x1::stake::unlock",
|
|
@@ -883,7 +883,7 @@ var stake;
|
|
|
883
883
|
entry.unlock = unlock;
|
|
884
884
|
async function updateNetworkAndFullnodeAddresses(client, account, request, options) {
|
|
885
885
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
886
|
-
const transaction = await client.build.simple({
|
|
886
|
+
const transaction = await client.transaction.build.simple({
|
|
887
887
|
sender: account.accountAddress,
|
|
888
888
|
data: {
|
|
889
889
|
function: "0x1::stake::update_network_and_fullnode_addresses",
|
|
@@ -900,7 +900,7 @@ var stake;
|
|
|
900
900
|
entry.updateNetworkAndFullnodeAddresses = updateNetworkAndFullnodeAddresses;
|
|
901
901
|
async function withdraw(client, account, request, options) {
|
|
902
902
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
903
|
-
const transaction = await client.build.simple({
|
|
903
|
+
const transaction = await client.transaction.build.simple({
|
|
904
904
|
sender: account.accountAddress,
|
|
905
905
|
data: {
|
|
906
906
|
function: "0x1::stake::withdraw",
|
|
@@ -1211,7 +1211,7 @@ var object_;
|
|
|
1211
1211
|
(function (entry) {
|
|
1212
1212
|
async function burn(client, account, request, options) {
|
|
1213
1213
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
1214
|
-
const transaction = await client.build.simple({
|
|
1214
|
+
const transaction = await client.transaction.build.simple({
|
|
1215
1215
|
sender: account.accountAddress,
|
|
1216
1216
|
data: {
|
|
1217
1217
|
function: "0x1::object::burn",
|
|
@@ -1228,7 +1228,7 @@ var object_;
|
|
|
1228
1228
|
entry.burn = burn;
|
|
1229
1229
|
async function transfer(client, account, request, options) {
|
|
1230
1230
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
1231
|
-
const transaction = await client.build.simple({
|
|
1231
|
+
const transaction = await client.transaction.build.simple({
|
|
1232
1232
|
sender: account.accountAddress,
|
|
1233
1233
|
data: {
|
|
1234
1234
|
function: "0x1::object::transfer",
|
|
@@ -1245,7 +1245,7 @@ var object_;
|
|
|
1245
1245
|
entry.transfer = transfer;
|
|
1246
1246
|
async function transferCall(client, account, request, options) {
|
|
1247
1247
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
1248
|
-
const transaction = await client.build.simple({
|
|
1248
|
+
const transaction = await client.transaction.build.simple({
|
|
1249
1249
|
sender: account.accountAddress,
|
|
1250
1250
|
data: {
|
|
1251
1251
|
function: "0x1::object::transfer_call",
|
|
@@ -1262,7 +1262,7 @@ var object_;
|
|
|
1262
1262
|
entry.transferCall = transferCall;
|
|
1263
1263
|
async function transferToObject(client, account, request, options) {
|
|
1264
1264
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
1265
|
-
const transaction = await client.build.simple({
|
|
1265
|
+
const transaction = await client.transaction.build.simple({
|
|
1266
1266
|
sender: account.accountAddress,
|
|
1267
1267
|
data: {
|
|
1268
1268
|
function: "0x1::object::transfer_to_object",
|
|
@@ -1279,7 +1279,7 @@ var object_;
|
|
|
1279
1279
|
entry.transferToObject = transferToObject;
|
|
1280
1280
|
async function unburn(client, account, request, options) {
|
|
1281
1281
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
1282
|
-
const transaction = await client.build.simple({
|
|
1282
|
+
const transaction = await client.transaction.build.simple({
|
|
1283
1283
|
sender: account.accountAddress,
|
|
1284
1284
|
data: {
|
|
1285
1285
|
function: "0x1::object::unburn",
|
|
@@ -1686,7 +1686,7 @@ var account;
|
|
|
1686
1686
|
(function (entry) {
|
|
1687
1687
|
async function offerRotationCapability(client, account, request, options) {
|
|
1688
1688
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
1689
|
-
const transaction = await client.build.simple({
|
|
1689
|
+
const transaction = await client.transaction.build.simple({
|
|
1690
1690
|
sender: account.accountAddress,
|
|
1691
1691
|
data: {
|
|
1692
1692
|
function: "0x1::account::offer_rotation_capability",
|
|
@@ -1703,7 +1703,7 @@ var account;
|
|
|
1703
1703
|
entry.offerRotationCapability = offerRotationCapability;
|
|
1704
1704
|
async function offerSignerCapability(client, account, request, options) {
|
|
1705
1705
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
1706
|
-
const transaction = await client.build.simple({
|
|
1706
|
+
const transaction = await client.transaction.build.simple({
|
|
1707
1707
|
sender: account.accountAddress,
|
|
1708
1708
|
data: {
|
|
1709
1709
|
function: "0x1::account::offer_signer_capability",
|
|
@@ -1720,7 +1720,7 @@ var account;
|
|
|
1720
1720
|
entry.offerSignerCapability = offerSignerCapability;
|
|
1721
1721
|
async function revokeAnyRotationCapability(client, account, request, options) {
|
|
1722
1722
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
1723
|
-
const transaction = await client.build.simple({
|
|
1723
|
+
const transaction = await client.transaction.build.simple({
|
|
1724
1724
|
sender: account.accountAddress,
|
|
1725
1725
|
data: {
|
|
1726
1726
|
function: "0x1::account::revoke_any_rotation_capability",
|
|
@@ -1737,7 +1737,7 @@ var account;
|
|
|
1737
1737
|
entry.revokeAnyRotationCapability = revokeAnyRotationCapability;
|
|
1738
1738
|
async function revokeAnySignerCapability(client, account, request, options) {
|
|
1739
1739
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
1740
|
-
const transaction = await client.build.simple({
|
|
1740
|
+
const transaction = await client.transaction.build.simple({
|
|
1741
1741
|
sender: account.accountAddress,
|
|
1742
1742
|
data: {
|
|
1743
1743
|
function: "0x1::account::revoke_any_signer_capability",
|
|
@@ -1754,7 +1754,7 @@ var account;
|
|
|
1754
1754
|
entry.revokeAnySignerCapability = revokeAnySignerCapability;
|
|
1755
1755
|
async function revokeRotationCapability(client, account, request, options) {
|
|
1756
1756
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
1757
|
-
const transaction = await client.build.simple({
|
|
1757
|
+
const transaction = await client.transaction.build.simple({
|
|
1758
1758
|
sender: account.accountAddress,
|
|
1759
1759
|
data: {
|
|
1760
1760
|
function: "0x1::account::revoke_rotation_capability",
|
|
@@ -1771,7 +1771,7 @@ var account;
|
|
|
1771
1771
|
entry.revokeRotationCapability = revokeRotationCapability;
|
|
1772
1772
|
async function revokeSignerCapability(client, account, request, options) {
|
|
1773
1773
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
1774
|
-
const transaction = await client.build.simple({
|
|
1774
|
+
const transaction = await client.transaction.build.simple({
|
|
1775
1775
|
sender: account.accountAddress,
|
|
1776
1776
|
data: {
|
|
1777
1777
|
function: "0x1::account::revoke_signer_capability",
|
|
@@ -1788,7 +1788,7 @@ var account;
|
|
|
1788
1788
|
entry.revokeSignerCapability = revokeSignerCapability;
|
|
1789
1789
|
async function rotateAuthenticationKey(client, account, request, options) {
|
|
1790
1790
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
1791
|
-
const transaction = await client.build.simple({
|
|
1791
|
+
const transaction = await client.transaction.build.simple({
|
|
1792
1792
|
sender: account.accountAddress,
|
|
1793
1793
|
data: {
|
|
1794
1794
|
function: "0x1::account::rotate_authentication_key",
|
|
@@ -1805,7 +1805,7 @@ var account;
|
|
|
1805
1805
|
entry.rotateAuthenticationKey = rotateAuthenticationKey;
|
|
1806
1806
|
async function rotateAuthenticationKeyWithRotationCapability(client, account, request, options) {
|
|
1807
1807
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
1808
|
-
const transaction = await client.build.simple({
|
|
1808
|
+
const transaction = await client.transaction.build.simple({
|
|
1809
1809
|
sender: account.accountAddress,
|
|
1810
1810
|
data: {
|
|
1811
1811
|
function: "0x1::account::rotate_authentication_key_with_rotation_capability",
|
|
@@ -2047,7 +2047,7 @@ var version;
|
|
|
2047
2047
|
(function (entry) {
|
|
2048
2048
|
async function setVersion(client, account, request, options) {
|
|
2049
2049
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2050
|
-
const transaction = await client.build.simple({
|
|
2050
|
+
const transaction = await client.transaction.build.simple({
|
|
2051
2051
|
sender: account.accountAddress,
|
|
2052
2052
|
data: {
|
|
2053
2053
|
function: "0x1::version::set_version",
|
|
@@ -2205,7 +2205,7 @@ var vesting;
|
|
|
2205
2205
|
(function (entry) {
|
|
2206
2206
|
async function adminWithdraw(client, account, request, options) {
|
|
2207
2207
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2208
|
-
const transaction = await client.build.simple({
|
|
2208
|
+
const transaction = await client.transaction.build.simple({
|
|
2209
2209
|
sender: account.accountAddress,
|
|
2210
2210
|
data: {
|
|
2211
2211
|
function: "0x1::vesting::admin_withdraw",
|
|
@@ -2222,7 +2222,7 @@ var vesting;
|
|
|
2222
2222
|
entry.adminWithdraw = adminWithdraw;
|
|
2223
2223
|
async function distribute(client, account, request, options) {
|
|
2224
2224
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2225
|
-
const transaction = await client.build.simple({
|
|
2225
|
+
const transaction = await client.transaction.build.simple({
|
|
2226
2226
|
sender: account.accountAddress,
|
|
2227
2227
|
data: {
|
|
2228
2228
|
function: "0x1::vesting::distribute",
|
|
@@ -2239,7 +2239,7 @@ var vesting;
|
|
|
2239
2239
|
entry.distribute = distribute;
|
|
2240
2240
|
async function distributeMany(client, account, request, options) {
|
|
2241
2241
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2242
|
-
const transaction = await client.build.simple({
|
|
2242
|
+
const transaction = await client.transaction.build.simple({
|
|
2243
2243
|
sender: account.accountAddress,
|
|
2244
2244
|
data: {
|
|
2245
2245
|
function: "0x1::vesting::distribute_many",
|
|
@@ -2256,7 +2256,7 @@ var vesting;
|
|
|
2256
2256
|
entry.distributeMany = distributeMany;
|
|
2257
2257
|
async function resetBeneficiary(client, account, request, options) {
|
|
2258
2258
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2259
|
-
const transaction = await client.build.simple({
|
|
2259
|
+
const transaction = await client.transaction.build.simple({
|
|
2260
2260
|
sender: account.accountAddress,
|
|
2261
2261
|
data: {
|
|
2262
2262
|
function: "0x1::vesting::reset_beneficiary",
|
|
@@ -2273,7 +2273,7 @@ var vesting;
|
|
|
2273
2273
|
entry.resetBeneficiary = resetBeneficiary;
|
|
2274
2274
|
async function resetLockup(client, account, request, options) {
|
|
2275
2275
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2276
|
-
const transaction = await client.build.simple({
|
|
2276
|
+
const transaction = await client.transaction.build.simple({
|
|
2277
2277
|
sender: account.accountAddress,
|
|
2278
2278
|
data: {
|
|
2279
2279
|
function: "0x1::vesting::reset_lockup",
|
|
@@ -2290,7 +2290,7 @@ var vesting;
|
|
|
2290
2290
|
entry.resetLockup = resetLockup;
|
|
2291
2291
|
async function setBeneficiary(client, account, request, options) {
|
|
2292
2292
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2293
|
-
const transaction = await client.build.simple({
|
|
2293
|
+
const transaction = await client.transaction.build.simple({
|
|
2294
2294
|
sender: account.accountAddress,
|
|
2295
2295
|
data: {
|
|
2296
2296
|
function: "0x1::vesting::set_beneficiary",
|
|
@@ -2307,7 +2307,7 @@ var vesting;
|
|
|
2307
2307
|
entry.setBeneficiary = setBeneficiary;
|
|
2308
2308
|
async function setBeneficiaryForOperator(client, account, request, options) {
|
|
2309
2309
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2310
|
-
const transaction = await client.build.simple({
|
|
2310
|
+
const transaction = await client.transaction.build.simple({
|
|
2311
2311
|
sender: account.accountAddress,
|
|
2312
2312
|
data: {
|
|
2313
2313
|
function: "0x1::vesting::set_beneficiary_for_operator",
|
|
@@ -2324,7 +2324,7 @@ var vesting;
|
|
|
2324
2324
|
entry.setBeneficiaryForOperator = setBeneficiaryForOperator;
|
|
2325
2325
|
async function setBeneficiaryResetter(client, account, request, options) {
|
|
2326
2326
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2327
|
-
const transaction = await client.build.simple({
|
|
2327
|
+
const transaction = await client.transaction.build.simple({
|
|
2328
2328
|
sender: account.accountAddress,
|
|
2329
2329
|
data: {
|
|
2330
2330
|
function: "0x1::vesting::set_beneficiary_resetter",
|
|
@@ -2341,7 +2341,7 @@ var vesting;
|
|
|
2341
2341
|
entry.setBeneficiaryResetter = setBeneficiaryResetter;
|
|
2342
2342
|
async function setManagementRole(client, account, request, options) {
|
|
2343
2343
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2344
|
-
const transaction = await client.build.simple({
|
|
2344
|
+
const transaction = await client.transaction.build.simple({
|
|
2345
2345
|
sender: account.accountAddress,
|
|
2346
2346
|
data: {
|
|
2347
2347
|
function: "0x1::vesting::set_management_role",
|
|
@@ -2358,7 +2358,7 @@ var vesting;
|
|
|
2358
2358
|
entry.setManagementRole = setManagementRole;
|
|
2359
2359
|
async function terminateVestingContract(client, account, request, options) {
|
|
2360
2360
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2361
|
-
const transaction = await client.build.simple({
|
|
2361
|
+
const transaction = await client.transaction.build.simple({
|
|
2362
2362
|
sender: account.accountAddress,
|
|
2363
2363
|
data: {
|
|
2364
2364
|
function: "0x1::vesting::terminate_vesting_contract",
|
|
@@ -2375,7 +2375,7 @@ var vesting;
|
|
|
2375
2375
|
entry.terminateVestingContract = terminateVestingContract;
|
|
2376
2376
|
async function unlockRewards(client, account, request, options) {
|
|
2377
2377
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2378
|
-
const transaction = await client.build.simple({
|
|
2378
|
+
const transaction = await client.transaction.build.simple({
|
|
2379
2379
|
sender: account.accountAddress,
|
|
2380
2380
|
data: {
|
|
2381
2381
|
function: "0x1::vesting::unlock_rewards",
|
|
@@ -2392,7 +2392,7 @@ var vesting;
|
|
|
2392
2392
|
entry.unlockRewards = unlockRewards;
|
|
2393
2393
|
async function unlockRewardsMany(client, account, request, options) {
|
|
2394
2394
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2395
|
-
const transaction = await client.build.simple({
|
|
2395
|
+
const transaction = await client.transaction.build.simple({
|
|
2396
2396
|
sender: account.accountAddress,
|
|
2397
2397
|
data: {
|
|
2398
2398
|
function: "0x1::vesting::unlock_rewards_many",
|
|
@@ -2409,7 +2409,7 @@ var vesting;
|
|
|
2409
2409
|
entry.unlockRewardsMany = unlockRewardsMany;
|
|
2410
2410
|
async function updateCommissionPercentage(client, account, request, options) {
|
|
2411
2411
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2412
|
-
const transaction = await client.build.simple({
|
|
2412
|
+
const transaction = await client.transaction.build.simple({
|
|
2413
2413
|
sender: account.accountAddress,
|
|
2414
2414
|
data: {
|
|
2415
2415
|
function: "0x1::vesting::update_commission_percentage",
|
|
@@ -2426,7 +2426,7 @@ var vesting;
|
|
|
2426
2426
|
entry.updateCommissionPercentage = updateCommissionPercentage;
|
|
2427
2427
|
async function updateOperator(client, account, request, options) {
|
|
2428
2428
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2429
|
-
const transaction = await client.build.simple({
|
|
2429
|
+
const transaction = await client.transaction.build.simple({
|
|
2430
2430
|
sender: account.accountAddress,
|
|
2431
2431
|
data: {
|
|
2432
2432
|
function: "0x1::vesting::update_operator",
|
|
@@ -2443,7 +2443,7 @@ var vesting;
|
|
|
2443
2443
|
entry.updateOperator = updateOperator;
|
|
2444
2444
|
async function updateOperatorWithSameCommission(client, account, request, options) {
|
|
2445
2445
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2446
|
-
const transaction = await client.build.simple({
|
|
2446
|
+
const transaction = await client.transaction.build.simple({
|
|
2447
2447
|
sender: account.accountAddress,
|
|
2448
2448
|
data: {
|
|
2449
2449
|
function: "0x1::vesting::update_operator_with_same_commission",
|
|
@@ -2460,7 +2460,7 @@ var vesting;
|
|
|
2460
2460
|
entry.updateOperatorWithSameCommission = updateOperatorWithSameCommission;
|
|
2461
2461
|
async function updateVoter(client, account, request, options) {
|
|
2462
2462
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2463
|
-
const transaction = await client.build.simple({
|
|
2463
|
+
const transaction = await client.transaction.build.simple({
|
|
2464
2464
|
sender: account.accountAddress,
|
|
2465
2465
|
data: {
|
|
2466
2466
|
function: "0x1::vesting::update_voter",
|
|
@@ -2477,7 +2477,7 @@ var vesting;
|
|
|
2477
2477
|
entry.updateVoter = updateVoter;
|
|
2478
2478
|
async function vest(client, account, request, options) {
|
|
2479
2479
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2480
|
-
const transaction = await client.build.simple({
|
|
2480
|
+
const transaction = await client.transaction.build.simple({
|
|
2481
2481
|
sender: account.accountAddress,
|
|
2482
2482
|
data: {
|
|
2483
2483
|
function: "0x1::vesting::vest",
|
|
@@ -2494,7 +2494,7 @@ var vesting;
|
|
|
2494
2494
|
entry.vest = vest;
|
|
2495
2495
|
async function vestMany(client, account, request, options) {
|
|
2496
2496
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2497
|
-
const transaction = await client.build.simple({
|
|
2497
|
+
const transaction = await client.transaction.build.simple({
|
|
2498
2498
|
sender: account.accountAddress,
|
|
2499
2499
|
data: {
|
|
2500
2500
|
function: "0x1::vesting::vest_many",
|
|
@@ -2967,7 +2967,7 @@ var aptos_coin;
|
|
|
2967
2967
|
(function (entry) {
|
|
2968
2968
|
async function claimMintCapability(client, account, request, options) {
|
|
2969
2969
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2970
|
-
const transaction = await client.build.simple({
|
|
2970
|
+
const transaction = await client.transaction.build.simple({
|
|
2971
2971
|
sender: account.accountAddress,
|
|
2972
2972
|
data: {
|
|
2973
2973
|
function: "0x1::aptos_coin::claim_mint_capability",
|
|
@@ -2984,7 +2984,7 @@ var aptos_coin;
|
|
|
2984
2984
|
entry.claimMintCapability = claimMintCapability;
|
|
2985
2985
|
async function delegateMintCapability(client, account, request, options) {
|
|
2986
2986
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
2987
|
-
const transaction = await client.build.simple({
|
|
2987
|
+
const transaction = await client.transaction.build.simple({
|
|
2988
2988
|
sender: account.accountAddress,
|
|
2989
2989
|
data: {
|
|
2990
2990
|
function: "0x1::aptos_coin::delegate_mint_capability",
|
|
@@ -3001,7 +3001,7 @@ var aptos_coin;
|
|
|
3001
3001
|
entry.delegateMintCapability = delegateMintCapability;
|
|
3002
3002
|
async function mint(client, account, request, options) {
|
|
3003
3003
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3004
|
-
const transaction = await client.build.simple({
|
|
3004
|
+
const transaction = await client.transaction.build.simple({
|
|
3005
3005
|
sender: account.accountAddress,
|
|
3006
3006
|
data: {
|
|
3007
3007
|
function: "0x1::aptos_coin::mint",
|
|
@@ -3285,7 +3285,7 @@ var managed_coin;
|
|
|
3285
3285
|
(function (entry) {
|
|
3286
3286
|
async function burn(client, account, request, options) {
|
|
3287
3287
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3288
|
-
const transaction = await client.build.simple({
|
|
3288
|
+
const transaction = await client.transaction.build.simple({
|
|
3289
3289
|
sender: account.accountAddress,
|
|
3290
3290
|
data: {
|
|
3291
3291
|
function: "0x1::managed_coin::burn",
|
|
@@ -3302,7 +3302,7 @@ var managed_coin;
|
|
|
3302
3302
|
entry.burn = burn;
|
|
3303
3303
|
async function initialize(client, account, request, options) {
|
|
3304
3304
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3305
|
-
const transaction = await client.build.simple({
|
|
3305
|
+
const transaction = await client.transaction.build.simple({
|
|
3306
3306
|
sender: account.accountAddress,
|
|
3307
3307
|
data: {
|
|
3308
3308
|
function: "0x1::managed_coin::initialize",
|
|
@@ -3319,7 +3319,7 @@ var managed_coin;
|
|
|
3319
3319
|
entry.initialize = initialize;
|
|
3320
3320
|
async function mint(client, account, request, options) {
|
|
3321
3321
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3322
|
-
const transaction = await client.build.simple({
|
|
3322
|
+
const transaction = await client.transaction.build.simple({
|
|
3323
3323
|
sender: account.accountAddress,
|
|
3324
3324
|
data: {
|
|
3325
3325
|
function: "0x1::managed_coin::mint",
|
|
@@ -3336,7 +3336,7 @@ var managed_coin;
|
|
|
3336
3336
|
entry.mint = mint;
|
|
3337
3337
|
async function register(client, account, request, options) {
|
|
3338
3338
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3339
|
-
const transaction = await client.build.simple({
|
|
3339
|
+
const transaction = await client.transaction.build.simple({
|
|
3340
3340
|
sender: account.accountAddress,
|
|
3341
3341
|
data: {
|
|
3342
3342
|
function: "0x1::managed_coin::register",
|
|
@@ -3461,7 +3461,7 @@ var aptos_account;
|
|
|
3461
3461
|
(function (entry) {
|
|
3462
3462
|
async function batchTransfer(client, account, request, options) {
|
|
3463
3463
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3464
|
-
const transaction = await client.build.simple({
|
|
3464
|
+
const transaction = await client.transaction.build.simple({
|
|
3465
3465
|
sender: account.accountAddress,
|
|
3466
3466
|
data: {
|
|
3467
3467
|
function: "0x1::aptos_account::batch_transfer",
|
|
@@ -3478,7 +3478,7 @@ var aptos_account;
|
|
|
3478
3478
|
entry.batchTransfer = batchTransfer;
|
|
3479
3479
|
async function batchTransferCoins(client, account, request, options) {
|
|
3480
3480
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3481
|
-
const transaction = await client.build.simple({
|
|
3481
|
+
const transaction = await client.transaction.build.simple({
|
|
3482
3482
|
sender: account.accountAddress,
|
|
3483
3483
|
data: {
|
|
3484
3484
|
function: "0x1::aptos_account::batch_transfer_coins",
|
|
@@ -3495,7 +3495,7 @@ var aptos_account;
|
|
|
3495
3495
|
entry.batchTransferCoins = batchTransferCoins;
|
|
3496
3496
|
async function createAccount(client, account, request, options) {
|
|
3497
3497
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3498
|
-
const transaction = await client.build.simple({
|
|
3498
|
+
const transaction = await client.transaction.build.simple({
|
|
3499
3499
|
sender: account.accountAddress,
|
|
3500
3500
|
data: {
|
|
3501
3501
|
function: "0x1::aptos_account::create_account",
|
|
@@ -3512,7 +3512,7 @@ var aptos_account;
|
|
|
3512
3512
|
entry.createAccount = createAccount;
|
|
3513
3513
|
async function setAllowDirectCoinTransfers(client, account, request, options) {
|
|
3514
3514
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3515
|
-
const transaction = await client.build.simple({
|
|
3515
|
+
const transaction = await client.transaction.build.simple({
|
|
3516
3516
|
sender: account.accountAddress,
|
|
3517
3517
|
data: {
|
|
3518
3518
|
function: "0x1::aptos_account::set_allow_direct_coin_transfers",
|
|
@@ -3529,7 +3529,7 @@ var aptos_account;
|
|
|
3529
3529
|
entry.setAllowDirectCoinTransfers = setAllowDirectCoinTransfers;
|
|
3530
3530
|
async function transfer(client, account, request, options) {
|
|
3531
3531
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3532
|
-
const transaction = await client.build.simple({
|
|
3532
|
+
const transaction = await client.transaction.build.simple({
|
|
3533
3533
|
sender: account.accountAddress,
|
|
3534
3534
|
data: {
|
|
3535
3535
|
function: "0x1::aptos_account::transfer",
|
|
@@ -3546,7 +3546,7 @@ var aptos_account;
|
|
|
3546
3546
|
entry.transfer = transfer;
|
|
3547
3547
|
async function transferCoins(client, account, request, options) {
|
|
3548
3548
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3549
|
-
const transaction = await client.build.simple({
|
|
3549
|
+
const transaction = await client.transaction.build.simple({
|
|
3550
3550
|
sender: account.accountAddress,
|
|
3551
3551
|
data: {
|
|
3552
3552
|
function: "0x1::aptos_account::transfer_coins",
|
|
@@ -3641,7 +3641,7 @@ var staking_proxy;
|
|
|
3641
3641
|
(function (entry) {
|
|
3642
3642
|
async function setOperator(client, account, request, options) {
|
|
3643
3643
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3644
|
-
const transaction = await client.build.simple({
|
|
3644
|
+
const transaction = await client.transaction.build.simple({
|
|
3645
3645
|
sender: account.accountAddress,
|
|
3646
3646
|
data: {
|
|
3647
3647
|
function: "0x1::staking_proxy::set_operator",
|
|
@@ -3658,7 +3658,7 @@ var staking_proxy;
|
|
|
3658
3658
|
entry.setOperator = setOperator;
|
|
3659
3659
|
async function setStakePoolOperator(client, account, request, options) {
|
|
3660
3660
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3661
|
-
const transaction = await client.build.simple({
|
|
3661
|
+
const transaction = await client.transaction.build.simple({
|
|
3662
3662
|
sender: account.accountAddress,
|
|
3663
3663
|
data: {
|
|
3664
3664
|
function: "0x1::staking_proxy::set_stake_pool_operator",
|
|
@@ -3675,7 +3675,7 @@ var staking_proxy;
|
|
|
3675
3675
|
entry.setStakePoolOperator = setStakePoolOperator;
|
|
3676
3676
|
async function setStakePoolVoter(client, account, request, options) {
|
|
3677
3677
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3678
|
-
const transaction = await client.build.simple({
|
|
3678
|
+
const transaction = await client.transaction.build.simple({
|
|
3679
3679
|
sender: account.accountAddress,
|
|
3680
3680
|
data: {
|
|
3681
3681
|
function: "0x1::staking_proxy::set_stake_pool_voter",
|
|
@@ -3692,7 +3692,7 @@ var staking_proxy;
|
|
|
3692
3692
|
entry.setStakePoolVoter = setStakePoolVoter;
|
|
3693
3693
|
async function setStakingContractOperator(client, account, request, options) {
|
|
3694
3694
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3695
|
-
const transaction = await client.build.simple({
|
|
3695
|
+
const transaction = await client.transaction.build.simple({
|
|
3696
3696
|
sender: account.accountAddress,
|
|
3697
3697
|
data: {
|
|
3698
3698
|
function: "0x1::staking_proxy::set_staking_contract_operator",
|
|
@@ -3709,7 +3709,7 @@ var staking_proxy;
|
|
|
3709
3709
|
entry.setStakingContractOperator = setStakingContractOperator;
|
|
3710
3710
|
async function setStakingContractVoter(client, account, request, options) {
|
|
3711
3711
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3712
|
-
const transaction = await client.build.simple({
|
|
3712
|
+
const transaction = await client.transaction.build.simple({
|
|
3713
3713
|
sender: account.accountAddress,
|
|
3714
3714
|
data: {
|
|
3715
3715
|
function: "0x1::staking_proxy::set_staking_contract_voter",
|
|
@@ -3726,7 +3726,7 @@ var staking_proxy;
|
|
|
3726
3726
|
entry.setStakingContractVoter = setStakingContractVoter;
|
|
3727
3727
|
async function setVestingContractOperator(client, account, request, options) {
|
|
3728
3728
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3729
|
-
const transaction = await client.build.simple({
|
|
3729
|
+
const transaction = await client.transaction.build.simple({
|
|
3730
3730
|
sender: account.accountAddress,
|
|
3731
3731
|
data: {
|
|
3732
3732
|
function: "0x1::staking_proxy::set_vesting_contract_operator",
|
|
@@ -3743,7 +3743,7 @@ var staking_proxy;
|
|
|
3743
3743
|
entry.setVestingContractOperator = setVestingContractOperator;
|
|
3744
3744
|
async function setVestingContractVoter(client, account, request, options) {
|
|
3745
3745
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3746
|
-
const transaction = await client.build.simple({
|
|
3746
|
+
const transaction = await client.transaction.build.simple({
|
|
3747
3747
|
sender: account.accountAddress,
|
|
3748
3748
|
data: {
|
|
3749
3749
|
function: "0x1::staking_proxy::set_vesting_contract_voter",
|
|
@@ -3760,7 +3760,7 @@ var staking_proxy;
|
|
|
3760
3760
|
entry.setVestingContractVoter = setVestingContractVoter;
|
|
3761
3761
|
async function setVoter(client, account, request, options) {
|
|
3762
3762
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3763
|
-
const transaction = await client.build.simple({
|
|
3763
|
+
const transaction = await client.transaction.build.simple({
|
|
3764
3764
|
sender: account.accountAddress,
|
|
3765
3765
|
data: {
|
|
3766
3766
|
function: "0x1::staking_proxy::set_voter",
|
|
@@ -3924,7 +3924,7 @@ var fungible_asset;
|
|
|
3924
3924
|
(function (entry) {
|
|
3925
3925
|
async function transfer(client, account, request, options) {
|
|
3926
3926
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
3927
|
-
const transaction = await client.build.simple({
|
|
3927
|
+
const transaction = await client.transaction.build.simple({
|
|
3928
3928
|
sender: account.accountAddress,
|
|
3929
3929
|
data: {
|
|
3930
3930
|
function: "0x1::fungible_asset::transfer",
|
|
@@ -4268,7 +4268,7 @@ var delegation_pool;
|
|
|
4268
4268
|
(function (entry) {
|
|
4269
4269
|
async function addStake(client, account, request, options) {
|
|
4270
4270
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4271
|
-
const transaction = await client.build.simple({
|
|
4271
|
+
const transaction = await client.transaction.build.simple({
|
|
4272
4272
|
sender: account.accountAddress,
|
|
4273
4273
|
data: {
|
|
4274
4274
|
function: "0x1::delegation_pool::add_stake",
|
|
@@ -4285,7 +4285,7 @@ var delegation_pool;
|
|
|
4285
4285
|
entry.addStake = addStake;
|
|
4286
4286
|
async function createProposal(client, account, request, options) {
|
|
4287
4287
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4288
|
-
const transaction = await client.build.simple({
|
|
4288
|
+
const transaction = await client.transaction.build.simple({
|
|
4289
4289
|
sender: account.accountAddress,
|
|
4290
4290
|
data: {
|
|
4291
4291
|
function: "0x1::delegation_pool::create_proposal",
|
|
@@ -4302,7 +4302,7 @@ var delegation_pool;
|
|
|
4302
4302
|
entry.createProposal = createProposal;
|
|
4303
4303
|
async function delegateVotingPower(client, account, request, options) {
|
|
4304
4304
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4305
|
-
const transaction = await client.build.simple({
|
|
4305
|
+
const transaction = await client.transaction.build.simple({
|
|
4306
4306
|
sender: account.accountAddress,
|
|
4307
4307
|
data: {
|
|
4308
4308
|
function: "0x1::delegation_pool::delegate_voting_power",
|
|
@@ -4319,7 +4319,7 @@ var delegation_pool;
|
|
|
4319
4319
|
entry.delegateVotingPower = delegateVotingPower;
|
|
4320
4320
|
async function enablePartialGovernanceVoting(client, account, request, options) {
|
|
4321
4321
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4322
|
-
const transaction = await client.build.simple({
|
|
4322
|
+
const transaction = await client.transaction.build.simple({
|
|
4323
4323
|
sender: account.accountAddress,
|
|
4324
4324
|
data: {
|
|
4325
4325
|
function: "0x1::delegation_pool::enable_partial_governance_voting",
|
|
@@ -4336,7 +4336,7 @@ var delegation_pool;
|
|
|
4336
4336
|
entry.enablePartialGovernanceVoting = enablePartialGovernanceVoting;
|
|
4337
4337
|
async function initializeDelegationPool(client, account, request, options) {
|
|
4338
4338
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4339
|
-
const transaction = await client.build.simple({
|
|
4339
|
+
const transaction = await client.transaction.build.simple({
|
|
4340
4340
|
sender: account.accountAddress,
|
|
4341
4341
|
data: {
|
|
4342
4342
|
function: "0x1::delegation_pool::initialize_delegation_pool",
|
|
@@ -4353,7 +4353,7 @@ var delegation_pool;
|
|
|
4353
4353
|
entry.initializeDelegationPool = initializeDelegationPool;
|
|
4354
4354
|
async function reactivateStake(client, account, request, options) {
|
|
4355
4355
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4356
|
-
const transaction = await client.build.simple({
|
|
4356
|
+
const transaction = await client.transaction.build.simple({
|
|
4357
4357
|
sender: account.accountAddress,
|
|
4358
4358
|
data: {
|
|
4359
4359
|
function: "0x1::delegation_pool::reactivate_stake",
|
|
@@ -4370,7 +4370,7 @@ var delegation_pool;
|
|
|
4370
4370
|
entry.reactivateStake = reactivateStake;
|
|
4371
4371
|
async function setBeneficiaryForOperator(client, account, request, options) {
|
|
4372
4372
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4373
|
-
const transaction = await client.build.simple({
|
|
4373
|
+
const transaction = await client.transaction.build.simple({
|
|
4374
4374
|
sender: account.accountAddress,
|
|
4375
4375
|
data: {
|
|
4376
4376
|
function: "0x1::delegation_pool::set_beneficiary_for_operator",
|
|
@@ -4387,7 +4387,7 @@ var delegation_pool;
|
|
|
4387
4387
|
entry.setBeneficiaryForOperator = setBeneficiaryForOperator;
|
|
4388
4388
|
async function setDelegatedVoter(client, account, request, options) {
|
|
4389
4389
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4390
|
-
const transaction = await client.build.simple({
|
|
4390
|
+
const transaction = await client.transaction.build.simple({
|
|
4391
4391
|
sender: account.accountAddress,
|
|
4392
4392
|
data: {
|
|
4393
4393
|
function: "0x1::delegation_pool::set_delegated_voter",
|
|
@@ -4404,7 +4404,7 @@ var delegation_pool;
|
|
|
4404
4404
|
entry.setDelegatedVoter = setDelegatedVoter;
|
|
4405
4405
|
async function setOperator(client, account, request, options) {
|
|
4406
4406
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4407
|
-
const transaction = await client.build.simple({
|
|
4407
|
+
const transaction = await client.transaction.build.simple({
|
|
4408
4408
|
sender: account.accountAddress,
|
|
4409
4409
|
data: {
|
|
4410
4410
|
function: "0x1::delegation_pool::set_operator",
|
|
@@ -4421,7 +4421,7 @@ var delegation_pool;
|
|
|
4421
4421
|
entry.setOperator = setOperator;
|
|
4422
4422
|
async function synchronizeDelegationPool(client, account, request, options) {
|
|
4423
4423
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4424
|
-
const transaction = await client.build.simple({
|
|
4424
|
+
const transaction = await client.transaction.build.simple({
|
|
4425
4425
|
sender: account.accountAddress,
|
|
4426
4426
|
data: {
|
|
4427
4427
|
function: "0x1::delegation_pool::synchronize_delegation_pool",
|
|
@@ -4438,7 +4438,7 @@ var delegation_pool;
|
|
|
4438
4438
|
entry.synchronizeDelegationPool = synchronizeDelegationPool;
|
|
4439
4439
|
async function unlock(client, account, request, options) {
|
|
4440
4440
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4441
|
-
const transaction = await client.build.simple({
|
|
4441
|
+
const transaction = await client.transaction.build.simple({
|
|
4442
4442
|
sender: account.accountAddress,
|
|
4443
4443
|
data: {
|
|
4444
4444
|
function: "0x1::delegation_pool::unlock",
|
|
@@ -4455,7 +4455,7 @@ var delegation_pool;
|
|
|
4455
4455
|
entry.unlock = unlock;
|
|
4456
4456
|
async function vote(client, account, request, options) {
|
|
4457
4457
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4458
|
-
const transaction = await client.build.simple({
|
|
4458
|
+
const transaction = await client.transaction.build.simple({
|
|
4459
4459
|
sender: account.accountAddress,
|
|
4460
4460
|
data: {
|
|
4461
4461
|
function: "0x1::delegation_pool::vote",
|
|
@@ -4472,7 +4472,7 @@ var delegation_pool;
|
|
|
4472
4472
|
entry.vote = vote;
|
|
4473
4473
|
async function withdraw(client, account, request, options) {
|
|
4474
4474
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4475
|
-
const transaction = await client.build.simple({
|
|
4475
|
+
const transaction = await client.transaction.build.simple({
|
|
4476
4476
|
sender: account.accountAddress,
|
|
4477
4477
|
data: {
|
|
4478
4478
|
function: "0x1::delegation_pool::withdraw",
|
|
@@ -4912,7 +4912,7 @@ var aptos_governance;
|
|
|
4912
4912
|
(function (entry) {
|
|
4913
4913
|
async function addApprovedScriptHashScript(client, account, request, options) {
|
|
4914
4914
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4915
|
-
const transaction = await client.build.simple({
|
|
4915
|
+
const transaction = await client.transaction.build.simple({
|
|
4916
4916
|
sender: account.accountAddress,
|
|
4917
4917
|
data: {
|
|
4918
4918
|
function: "0x1::aptos_governance::add_approved_script_hash_script",
|
|
@@ -4929,7 +4929,7 @@ var aptos_governance;
|
|
|
4929
4929
|
entry.addApprovedScriptHashScript = addApprovedScriptHashScript;
|
|
4930
4930
|
async function createProposal(client, account, request, options) {
|
|
4931
4931
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4932
|
-
const transaction = await client.build.simple({
|
|
4932
|
+
const transaction = await client.transaction.build.simple({
|
|
4933
4933
|
sender: account.accountAddress,
|
|
4934
4934
|
data: {
|
|
4935
4935
|
function: "0x1::aptos_governance::create_proposal",
|
|
@@ -4946,7 +4946,7 @@ var aptos_governance;
|
|
|
4946
4946
|
entry.createProposal = createProposal;
|
|
4947
4947
|
async function createProposalV2(client, account, request, options) {
|
|
4948
4948
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4949
|
-
const transaction = await client.build.simple({
|
|
4949
|
+
const transaction = await client.transaction.build.simple({
|
|
4950
4950
|
sender: account.accountAddress,
|
|
4951
4951
|
data: {
|
|
4952
4952
|
function: "0x1::aptos_governance::create_proposal_v2",
|
|
@@ -4963,7 +4963,7 @@ var aptos_governance;
|
|
|
4963
4963
|
entry.createProposalV2 = createProposalV2;
|
|
4964
4964
|
async function partialVote(client, account, request, options) {
|
|
4965
4965
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4966
|
-
const transaction = await client.build.simple({
|
|
4966
|
+
const transaction = await client.transaction.build.simple({
|
|
4967
4967
|
sender: account.accountAddress,
|
|
4968
4968
|
data: {
|
|
4969
4969
|
function: "0x1::aptos_governance::partial_vote",
|
|
@@ -4980,7 +4980,7 @@ var aptos_governance;
|
|
|
4980
4980
|
entry.partialVote = partialVote;
|
|
4981
4981
|
async function vote(client, account, request, options) {
|
|
4982
4982
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
4983
|
-
const transaction = await client.build.simple({
|
|
4983
|
+
const transaction = await client.transaction.build.simple({
|
|
4984
4984
|
sender: account.accountAddress,
|
|
4985
4985
|
data: {
|
|
4986
4986
|
function: "0x1::aptos_governance::vote",
|
|
@@ -5384,7 +5384,7 @@ var multisig_account;
|
|
|
5384
5384
|
(function (entry) {
|
|
5385
5385
|
async function addOwner(client, account, request, options) {
|
|
5386
5386
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5387
|
-
const transaction = await client.build.simple({
|
|
5387
|
+
const transaction = await client.transaction.build.simple({
|
|
5388
5388
|
sender: account.accountAddress,
|
|
5389
5389
|
data: {
|
|
5390
5390
|
function: "0x1::multisig_account::add_owner",
|
|
@@ -5401,7 +5401,7 @@ var multisig_account;
|
|
|
5401
5401
|
entry.addOwner = addOwner;
|
|
5402
5402
|
async function addOwners(client, account, request, options) {
|
|
5403
5403
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5404
|
-
const transaction = await client.build.simple({
|
|
5404
|
+
const transaction = await client.transaction.build.simple({
|
|
5405
5405
|
sender: account.accountAddress,
|
|
5406
5406
|
data: {
|
|
5407
5407
|
function: "0x1::multisig_account::add_owners",
|
|
@@ -5418,7 +5418,7 @@ var multisig_account;
|
|
|
5418
5418
|
entry.addOwners = addOwners;
|
|
5419
5419
|
async function addOwnersAndUpdateSignaturesRequired(client, account, request, options) {
|
|
5420
5420
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5421
|
-
const transaction = await client.build.simple({
|
|
5421
|
+
const transaction = await client.transaction.build.simple({
|
|
5422
5422
|
sender: account.accountAddress,
|
|
5423
5423
|
data: {
|
|
5424
5424
|
function: "0x1::multisig_account::add_owners_and_update_signatures_required",
|
|
@@ -5435,7 +5435,7 @@ var multisig_account;
|
|
|
5435
5435
|
entry.addOwnersAndUpdateSignaturesRequired = addOwnersAndUpdateSignaturesRequired;
|
|
5436
5436
|
async function approveTransaction(client, account, request, options) {
|
|
5437
5437
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5438
|
-
const transaction = await client.build.simple({
|
|
5438
|
+
const transaction = await client.transaction.build.simple({
|
|
5439
5439
|
sender: account.accountAddress,
|
|
5440
5440
|
data: {
|
|
5441
5441
|
function: "0x1::multisig_account::approve_transaction",
|
|
@@ -5452,7 +5452,7 @@ var multisig_account;
|
|
|
5452
5452
|
entry.approveTransaction = approveTransaction;
|
|
5453
5453
|
async function create(client, account, request, options) {
|
|
5454
5454
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5455
|
-
const transaction = await client.build.simple({
|
|
5455
|
+
const transaction = await client.transaction.build.simple({
|
|
5456
5456
|
sender: account.accountAddress,
|
|
5457
5457
|
data: {
|
|
5458
5458
|
function: "0x1::multisig_account::create",
|
|
@@ -5469,7 +5469,7 @@ var multisig_account;
|
|
|
5469
5469
|
entry.create = create;
|
|
5470
5470
|
async function createTransaction(client, account, request, options) {
|
|
5471
5471
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5472
|
-
const transaction = await client.build.simple({
|
|
5472
|
+
const transaction = await client.transaction.build.simple({
|
|
5473
5473
|
sender: account.accountAddress,
|
|
5474
5474
|
data: {
|
|
5475
5475
|
function: "0x1::multisig_account::create_transaction",
|
|
@@ -5486,7 +5486,7 @@ var multisig_account;
|
|
|
5486
5486
|
entry.createTransaction = createTransaction;
|
|
5487
5487
|
async function createTransactionWithHash(client, account, request, options) {
|
|
5488
5488
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5489
|
-
const transaction = await client.build.simple({
|
|
5489
|
+
const transaction = await client.transaction.build.simple({
|
|
5490
5490
|
sender: account.accountAddress,
|
|
5491
5491
|
data: {
|
|
5492
5492
|
function: "0x1::multisig_account::create_transaction_with_hash",
|
|
@@ -5503,7 +5503,7 @@ var multisig_account;
|
|
|
5503
5503
|
entry.createTransactionWithHash = createTransactionWithHash;
|
|
5504
5504
|
async function createWithExistingAccount(client, account, request, options) {
|
|
5505
5505
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5506
|
-
const transaction = await client.build.simple({
|
|
5506
|
+
const transaction = await client.transaction.build.simple({
|
|
5507
5507
|
sender: account.accountAddress,
|
|
5508
5508
|
data: {
|
|
5509
5509
|
function: "0x1::multisig_account::create_with_existing_account",
|
|
@@ -5520,7 +5520,7 @@ var multisig_account;
|
|
|
5520
5520
|
entry.createWithExistingAccount = createWithExistingAccount;
|
|
5521
5521
|
async function createWithExistingAccountAndRevokeAuthKey(client, account, request, options) {
|
|
5522
5522
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5523
|
-
const transaction = await client.build.simple({
|
|
5523
|
+
const transaction = await client.transaction.build.simple({
|
|
5524
5524
|
sender: account.accountAddress,
|
|
5525
5525
|
data: {
|
|
5526
5526
|
function: "0x1::multisig_account::create_with_existing_account_and_revoke_auth_key",
|
|
@@ -5537,7 +5537,7 @@ var multisig_account;
|
|
|
5537
5537
|
entry.createWithExistingAccountAndRevokeAuthKey = createWithExistingAccountAndRevokeAuthKey;
|
|
5538
5538
|
async function createWithOwners(client, account, request, options) {
|
|
5539
5539
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5540
|
-
const transaction = await client.build.simple({
|
|
5540
|
+
const transaction = await client.transaction.build.simple({
|
|
5541
5541
|
sender: account.accountAddress,
|
|
5542
5542
|
data: {
|
|
5543
5543
|
function: "0x1::multisig_account::create_with_owners",
|
|
@@ -5554,7 +5554,7 @@ var multisig_account;
|
|
|
5554
5554
|
entry.createWithOwners = createWithOwners;
|
|
5555
5555
|
async function createWithOwnersThenRemoveBootstrapper(client, account, request, options) {
|
|
5556
5556
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5557
|
-
const transaction = await client.build.simple({
|
|
5557
|
+
const transaction = await client.transaction.build.simple({
|
|
5558
5558
|
sender: account.accountAddress,
|
|
5559
5559
|
data: {
|
|
5560
5560
|
function: "0x1::multisig_account::create_with_owners_then_remove_bootstrapper",
|
|
@@ -5571,7 +5571,7 @@ var multisig_account;
|
|
|
5571
5571
|
entry.createWithOwnersThenRemoveBootstrapper = createWithOwnersThenRemoveBootstrapper;
|
|
5572
5572
|
async function executeRejectedTransaction(client, account, request, options) {
|
|
5573
5573
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5574
|
-
const transaction = await client.build.simple({
|
|
5574
|
+
const transaction = await client.transaction.build.simple({
|
|
5575
5575
|
sender: account.accountAddress,
|
|
5576
5576
|
data: {
|
|
5577
5577
|
function: "0x1::multisig_account::execute_rejected_transaction",
|
|
@@ -5588,7 +5588,7 @@ var multisig_account;
|
|
|
5588
5588
|
entry.executeRejectedTransaction = executeRejectedTransaction;
|
|
5589
5589
|
async function rejectTransaction(client, account, request, options) {
|
|
5590
5590
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5591
|
-
const transaction = await client.build.simple({
|
|
5591
|
+
const transaction = await client.transaction.build.simple({
|
|
5592
5592
|
sender: account.accountAddress,
|
|
5593
5593
|
data: {
|
|
5594
5594
|
function: "0x1::multisig_account::reject_transaction",
|
|
@@ -5605,7 +5605,7 @@ var multisig_account;
|
|
|
5605
5605
|
entry.rejectTransaction = rejectTransaction;
|
|
5606
5606
|
async function removeOwner(client, account, request, options) {
|
|
5607
5607
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5608
|
-
const transaction = await client.build.simple({
|
|
5608
|
+
const transaction = await client.transaction.build.simple({
|
|
5609
5609
|
sender: account.accountAddress,
|
|
5610
5610
|
data: {
|
|
5611
5611
|
function: "0x1::multisig_account::remove_owner",
|
|
@@ -5622,7 +5622,7 @@ var multisig_account;
|
|
|
5622
5622
|
entry.removeOwner = removeOwner;
|
|
5623
5623
|
async function removeOwners(client, account, request, options) {
|
|
5624
5624
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5625
|
-
const transaction = await client.build.simple({
|
|
5625
|
+
const transaction = await client.transaction.build.simple({
|
|
5626
5626
|
sender: account.accountAddress,
|
|
5627
5627
|
data: {
|
|
5628
5628
|
function: "0x1::multisig_account::remove_owners",
|
|
@@ -5639,7 +5639,7 @@ var multisig_account;
|
|
|
5639
5639
|
entry.removeOwners = removeOwners;
|
|
5640
5640
|
async function swapOwner(client, account, request, options) {
|
|
5641
5641
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5642
|
-
const transaction = await client.build.simple({
|
|
5642
|
+
const transaction = await client.transaction.build.simple({
|
|
5643
5643
|
sender: account.accountAddress,
|
|
5644
5644
|
data: {
|
|
5645
5645
|
function: "0x1::multisig_account::swap_owner",
|
|
@@ -5656,7 +5656,7 @@ var multisig_account;
|
|
|
5656
5656
|
entry.swapOwner = swapOwner;
|
|
5657
5657
|
async function swapOwners(client, account, request, options) {
|
|
5658
5658
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5659
|
-
const transaction = await client.build.simple({
|
|
5659
|
+
const transaction = await client.transaction.build.simple({
|
|
5660
5660
|
sender: account.accountAddress,
|
|
5661
5661
|
data: {
|
|
5662
5662
|
function: "0x1::multisig_account::swap_owners",
|
|
@@ -5673,7 +5673,7 @@ var multisig_account;
|
|
|
5673
5673
|
entry.swapOwners = swapOwners;
|
|
5674
5674
|
async function swapOwnersAndUpdateSignaturesRequired(client, account, request, options) {
|
|
5675
5675
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5676
|
-
const transaction = await client.build.simple({
|
|
5676
|
+
const transaction = await client.transaction.build.simple({
|
|
5677
5677
|
sender: account.accountAddress,
|
|
5678
5678
|
data: {
|
|
5679
5679
|
function: "0x1::multisig_account::swap_owners_and_update_signatures_required",
|
|
@@ -5690,7 +5690,7 @@ var multisig_account;
|
|
|
5690
5690
|
entry.swapOwnersAndUpdateSignaturesRequired = swapOwnersAndUpdateSignaturesRequired;
|
|
5691
5691
|
async function updateMetadata(client, account, request, options) {
|
|
5692
5692
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5693
|
-
const transaction = await client.build.simple({
|
|
5693
|
+
const transaction = await client.transaction.build.simple({
|
|
5694
5694
|
sender: account.accountAddress,
|
|
5695
5695
|
data: {
|
|
5696
5696
|
function: "0x1::multisig_account::update_metadata",
|
|
@@ -5707,7 +5707,7 @@ var multisig_account;
|
|
|
5707
5707
|
entry.updateMetadata = updateMetadata;
|
|
5708
5708
|
async function updateSignaturesRequired(client, account, request, options) {
|
|
5709
5709
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5710
|
-
const transaction = await client.build.simple({
|
|
5710
|
+
const transaction = await client.transaction.build.simple({
|
|
5711
5711
|
sender: account.accountAddress,
|
|
5712
5712
|
data: {
|
|
5713
5713
|
function: "0x1::multisig_account::update_signatures_required",
|
|
@@ -5724,7 +5724,7 @@ var multisig_account;
|
|
|
5724
5724
|
entry.updateSignaturesRequired = updateSignaturesRequired;
|
|
5725
5725
|
async function voteTransanction(client, account, request, options) {
|
|
5726
5726
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5727
|
-
const transaction = await client.build.simple({
|
|
5727
|
+
const transaction = await client.transaction.build.simple({
|
|
5728
5728
|
sender: account.accountAddress,
|
|
5729
5729
|
data: {
|
|
5730
5730
|
function: "0x1::multisig_account::vote_transanction",
|
|
@@ -5951,7 +5951,7 @@ var resource_account;
|
|
|
5951
5951
|
(function (entry) {
|
|
5952
5952
|
async function createResourceAccount(client, account, request, options) {
|
|
5953
5953
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5954
|
-
const transaction = await client.build.simple({
|
|
5954
|
+
const transaction = await client.transaction.build.simple({
|
|
5955
5955
|
sender: account.accountAddress,
|
|
5956
5956
|
data: {
|
|
5957
5957
|
function: "0x1::resource_account::create_resource_account",
|
|
@@ -5968,7 +5968,7 @@ var resource_account;
|
|
|
5968
5968
|
entry.createResourceAccount = createResourceAccount;
|
|
5969
5969
|
async function createResourceAccountAndFund(client, account, request, options) {
|
|
5970
5970
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5971
|
-
const transaction = await client.build.simple({
|
|
5971
|
+
const transaction = await client.transaction.build.simple({
|
|
5972
5972
|
sender: account.accountAddress,
|
|
5973
5973
|
data: {
|
|
5974
5974
|
function: "0x1::resource_account::create_resource_account_and_fund",
|
|
@@ -5985,7 +5985,7 @@ var resource_account;
|
|
|
5985
5985
|
entry.createResourceAccountAndFund = createResourceAccountAndFund;
|
|
5986
5986
|
async function createResourceAccountAndPublishPackage(client, account, request, options) {
|
|
5987
5987
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5988
|
-
const transaction = await client.build.simple({
|
|
5988
|
+
const transaction = await client.transaction.build.simple({
|
|
5989
5989
|
sender: account.accountAddress,
|
|
5990
5990
|
data: {
|
|
5991
5991
|
function: "0x1::resource_account::create_resource_account_and_publish_package",
|
|
@@ -6152,7 +6152,7 @@ var staking_contract;
|
|
|
6152
6152
|
(function (entry) {
|
|
6153
6153
|
async function addStake(client, account, request, options) {
|
|
6154
6154
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
6155
|
-
const transaction = await client.build.simple({
|
|
6155
|
+
const transaction = await client.transaction.build.simple({
|
|
6156
6156
|
sender: account.accountAddress,
|
|
6157
6157
|
data: {
|
|
6158
6158
|
function: "0x1::staking_contract::add_stake",
|
|
@@ -6169,7 +6169,7 @@ var staking_contract;
|
|
|
6169
6169
|
entry.addStake = addStake;
|
|
6170
6170
|
async function createStakingContract(client, account, request, options) {
|
|
6171
6171
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
6172
|
-
const transaction = await client.build.simple({
|
|
6172
|
+
const transaction = await client.transaction.build.simple({
|
|
6173
6173
|
sender: account.accountAddress,
|
|
6174
6174
|
data: {
|
|
6175
6175
|
function: "0x1::staking_contract::create_staking_contract",
|
|
@@ -6186,7 +6186,7 @@ var staking_contract;
|
|
|
6186
6186
|
entry.createStakingContract = createStakingContract;
|
|
6187
6187
|
async function distribute(client, account, request, options) {
|
|
6188
6188
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
6189
|
-
const transaction = await client.build.simple({
|
|
6189
|
+
const transaction = await client.transaction.build.simple({
|
|
6190
6190
|
sender: account.accountAddress,
|
|
6191
6191
|
data: {
|
|
6192
6192
|
function: "0x1::staking_contract::distribute",
|
|
@@ -6203,7 +6203,7 @@ var staking_contract;
|
|
|
6203
6203
|
entry.distribute = distribute;
|
|
6204
6204
|
async function requestCommission(client, account, request, options) {
|
|
6205
6205
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
6206
|
-
const transaction = await client.build.simple({
|
|
6206
|
+
const transaction = await client.transaction.build.simple({
|
|
6207
6207
|
sender: account.accountAddress,
|
|
6208
6208
|
data: {
|
|
6209
6209
|
function: "0x1::staking_contract::request_commission",
|
|
@@ -6220,7 +6220,7 @@ var staking_contract;
|
|
|
6220
6220
|
entry.requestCommission = requestCommission;
|
|
6221
6221
|
async function resetLockup(client, account, request, options) {
|
|
6222
6222
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
6223
|
-
const transaction = await client.build.simple({
|
|
6223
|
+
const transaction = await client.transaction.build.simple({
|
|
6224
6224
|
sender: account.accountAddress,
|
|
6225
6225
|
data: {
|
|
6226
6226
|
function: "0x1::staking_contract::reset_lockup",
|
|
@@ -6237,7 +6237,7 @@ var staking_contract;
|
|
|
6237
6237
|
entry.resetLockup = resetLockup;
|
|
6238
6238
|
async function setBeneficiaryForOperator(client, account, request, options) {
|
|
6239
6239
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
6240
|
-
const transaction = await client.build.simple({
|
|
6240
|
+
const transaction = await client.transaction.build.simple({
|
|
6241
6241
|
sender: account.accountAddress,
|
|
6242
6242
|
data: {
|
|
6243
6243
|
function: "0x1::staking_contract::set_beneficiary_for_operator",
|
|
@@ -6254,7 +6254,7 @@ var staking_contract;
|
|
|
6254
6254
|
entry.setBeneficiaryForOperator = setBeneficiaryForOperator;
|
|
6255
6255
|
async function switchOperator(client, account, request, options) {
|
|
6256
6256
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
6257
|
-
const transaction = await client.build.simple({
|
|
6257
|
+
const transaction = await client.transaction.build.simple({
|
|
6258
6258
|
sender: account.accountAddress,
|
|
6259
6259
|
data: {
|
|
6260
6260
|
function: "0x1::staking_contract::switch_operator",
|
|
@@ -6271,7 +6271,7 @@ var staking_contract;
|
|
|
6271
6271
|
entry.switchOperator = switchOperator;
|
|
6272
6272
|
async function switchOperatorWithSameCommission(client, account, request, options) {
|
|
6273
6273
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
6274
|
-
const transaction = await client.build.simple({
|
|
6274
|
+
const transaction = await client.transaction.build.simple({
|
|
6275
6275
|
sender: account.accountAddress,
|
|
6276
6276
|
data: {
|
|
6277
6277
|
function: "0x1::staking_contract::switch_operator_with_same_commission",
|
|
@@ -6288,7 +6288,7 @@ var staking_contract;
|
|
|
6288
6288
|
entry.switchOperatorWithSameCommission = switchOperatorWithSameCommission;
|
|
6289
6289
|
async function unlockRewards(client, account, request, options) {
|
|
6290
6290
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
6291
|
-
const transaction = await client.build.simple({
|
|
6291
|
+
const transaction = await client.transaction.build.simple({
|
|
6292
6292
|
sender: account.accountAddress,
|
|
6293
6293
|
data: {
|
|
6294
6294
|
function: "0x1::staking_contract::unlock_rewards",
|
|
@@ -6305,7 +6305,7 @@ var staking_contract;
|
|
|
6305
6305
|
entry.unlockRewards = unlockRewards;
|
|
6306
6306
|
async function unlockStake(client, account, request, options) {
|
|
6307
6307
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
6308
|
-
const transaction = await client.build.simple({
|
|
6308
|
+
const transaction = await client.transaction.build.simple({
|
|
6309
6309
|
sender: account.accountAddress,
|
|
6310
6310
|
data: {
|
|
6311
6311
|
function: "0x1::staking_contract::unlock_stake",
|
|
@@ -6322,7 +6322,7 @@ var staking_contract;
|
|
|
6322
6322
|
entry.unlockStake = unlockStake;
|
|
6323
6323
|
async function updateCommision(client, account, request, options) {
|
|
6324
6324
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
6325
|
-
const transaction = await client.build.simple({
|
|
6325
|
+
const transaction = await client.transaction.build.simple({
|
|
6326
6326
|
sender: account.accountAddress,
|
|
6327
6327
|
data: {
|
|
6328
6328
|
function: "0x1::staking_contract::update_commision",
|
|
@@ -6339,7 +6339,7 @@ var staking_contract;
|
|
|
6339
6339
|
entry.updateCommision = updateCommision;
|
|
6340
6340
|
async function updateVoter(client, account, request, options) {
|
|
6341
6341
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
6342
|
-
const transaction = await client.build.simple({
|
|
6342
|
+
const transaction = await client.transaction.build.simple({
|
|
6343
6343
|
sender: account.accountAddress,
|
|
6344
6344
|
data: {
|
|
6345
6345
|
function: "0x1::staking_contract::update_voter",
|
|
@@ -6605,7 +6605,7 @@ var primary_fungible_store;
|
|
|
6605
6605
|
(function (entry) {
|
|
6606
6606
|
async function transfer(client, account, request, options) {
|
|
6607
6607
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
6608
|
-
const transaction = await client.build.simple({
|
|
6608
|
+
const transaction = await client.transaction.build.simple({
|
|
6609
6609
|
sender: account.accountAddress,
|
|
6610
6610
|
data: {
|
|
6611
6611
|
function: "0x1::primary_fungible_store::transfer",
|