@typemove/aptos 1.3.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/esm/builtin/0x1.js
CHANGED
|
@@ -88,7 +88,7 @@ export var code;
|
|
|
88
88
|
(function (entry) {
|
|
89
89
|
async function publishPackageTxn(client, account, request, options) {
|
|
90
90
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
91
|
-
const transaction = await client.build.simple({
|
|
91
|
+
const transaction = await client.transaction.build.simple({
|
|
92
92
|
sender: account.accountAddress,
|
|
93
93
|
data: {
|
|
94
94
|
function: "0x1::code::publish_package_txn",
|
|
@@ -201,7 +201,7 @@ export var coin;
|
|
|
201
201
|
(function (entry) {
|
|
202
202
|
async function freezeCoinStore(client, account, request, options) {
|
|
203
203
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
204
|
-
const transaction = await client.build.simple({
|
|
204
|
+
const transaction = await client.transaction.build.simple({
|
|
205
205
|
sender: account.accountAddress,
|
|
206
206
|
data: {
|
|
207
207
|
function: "0x1::coin::freeze_coin_store",
|
|
@@ -218,7 +218,7 @@ export var coin;
|
|
|
218
218
|
entry.freezeCoinStore = freezeCoinStore;
|
|
219
219
|
async function transfer(client, account, request, options) {
|
|
220
220
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
221
|
-
const transaction = await client.build.simple({
|
|
221
|
+
const transaction = await client.transaction.build.simple({
|
|
222
222
|
sender: account.accountAddress,
|
|
223
223
|
data: {
|
|
224
224
|
function: "0x1::coin::transfer",
|
|
@@ -235,7 +235,7 @@ export var coin;
|
|
|
235
235
|
entry.transfer = transfer;
|
|
236
236
|
async function unfreezeCoinStore(client, account, request, options) {
|
|
237
237
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
238
|
-
const transaction = await client.build.simple({
|
|
238
|
+
const transaction = await client.transaction.build.simple({
|
|
239
239
|
sender: account.accountAddress,
|
|
240
240
|
data: {
|
|
241
241
|
function: "0x1::coin::unfreeze_coin_store",
|
|
@@ -252,7 +252,7 @@ export var coin;
|
|
|
252
252
|
entry.unfreezeCoinStore = unfreezeCoinStore;
|
|
253
253
|
async function upgradeSupply(client, account, request, options) {
|
|
254
254
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
255
|
-
const transaction = await client.build.simple({
|
|
255
|
+
const transaction = await client.transaction.build.simple({
|
|
256
256
|
sender: account.accountAddress,
|
|
257
257
|
data: {
|
|
258
258
|
function: "0x1::coin::upgrade_supply",
|
|
@@ -692,7 +692,7 @@ export var stake;
|
|
|
692
692
|
(function (entry) {
|
|
693
693
|
async function addStake(client, account, request, options) {
|
|
694
694
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
695
|
-
const transaction = await client.build.simple({
|
|
695
|
+
const transaction = await client.transaction.build.simple({
|
|
696
696
|
sender: account.accountAddress,
|
|
697
697
|
data: {
|
|
698
698
|
function: "0x1::stake::add_stake",
|
|
@@ -709,7 +709,7 @@ export var stake;
|
|
|
709
709
|
entry.addStake = addStake;
|
|
710
710
|
async function increaseLockup(client, account, request, options) {
|
|
711
711
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
712
|
-
const transaction = await client.build.simple({
|
|
712
|
+
const transaction = await client.transaction.build.simple({
|
|
713
713
|
sender: account.accountAddress,
|
|
714
714
|
data: {
|
|
715
715
|
function: "0x1::stake::increase_lockup",
|
|
@@ -726,7 +726,7 @@ export var stake;
|
|
|
726
726
|
entry.increaseLockup = increaseLockup;
|
|
727
727
|
async function initializeStakeOwner(client, account, request, options) {
|
|
728
728
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
729
|
-
const transaction = await client.build.simple({
|
|
729
|
+
const transaction = await client.transaction.build.simple({
|
|
730
730
|
sender: account.accountAddress,
|
|
731
731
|
data: {
|
|
732
732
|
function: "0x1::stake::initialize_stake_owner",
|
|
@@ -743,7 +743,7 @@ export var stake;
|
|
|
743
743
|
entry.initializeStakeOwner = initializeStakeOwner;
|
|
744
744
|
async function initializeValidator(client, account, request, options) {
|
|
745
745
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
746
|
-
const transaction = await client.build.simple({
|
|
746
|
+
const transaction = await client.transaction.build.simple({
|
|
747
747
|
sender: account.accountAddress,
|
|
748
748
|
data: {
|
|
749
749
|
function: "0x1::stake::initialize_validator",
|
|
@@ -760,7 +760,7 @@ export var stake;
|
|
|
760
760
|
entry.initializeValidator = initializeValidator;
|
|
761
761
|
async function joinValidatorSet(client, account, request, options) {
|
|
762
762
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
763
|
-
const transaction = await client.build.simple({
|
|
763
|
+
const transaction = await client.transaction.build.simple({
|
|
764
764
|
sender: account.accountAddress,
|
|
765
765
|
data: {
|
|
766
766
|
function: "0x1::stake::join_validator_set",
|
|
@@ -777,7 +777,7 @@ export var stake;
|
|
|
777
777
|
entry.joinValidatorSet = joinValidatorSet;
|
|
778
778
|
async function leaveValidatorSet(client, account, request, options) {
|
|
779
779
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
780
|
-
const transaction = await client.build.simple({
|
|
780
|
+
const transaction = await client.transaction.build.simple({
|
|
781
781
|
sender: account.accountAddress,
|
|
782
782
|
data: {
|
|
783
783
|
function: "0x1::stake::leave_validator_set",
|
|
@@ -794,7 +794,7 @@ export var stake;
|
|
|
794
794
|
entry.leaveValidatorSet = leaveValidatorSet;
|
|
795
795
|
async function reactivateStake(client, account, request, options) {
|
|
796
796
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
797
|
-
const transaction = await client.build.simple({
|
|
797
|
+
const transaction = await client.transaction.build.simple({
|
|
798
798
|
sender: account.accountAddress,
|
|
799
799
|
data: {
|
|
800
800
|
function: "0x1::stake::reactivate_stake",
|
|
@@ -811,7 +811,7 @@ export var stake;
|
|
|
811
811
|
entry.reactivateStake = reactivateStake;
|
|
812
812
|
async function rotateConsensusKey(client, account, request, options) {
|
|
813
813
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
814
|
-
const transaction = await client.build.simple({
|
|
814
|
+
const transaction = await client.transaction.build.simple({
|
|
815
815
|
sender: account.accountAddress,
|
|
816
816
|
data: {
|
|
817
817
|
function: "0x1::stake::rotate_consensus_key",
|
|
@@ -828,7 +828,7 @@ export var stake;
|
|
|
828
828
|
entry.rotateConsensusKey = rotateConsensusKey;
|
|
829
829
|
async function setDelegatedVoter(client, account, request, options) {
|
|
830
830
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
831
|
-
const transaction = await client.build.simple({
|
|
831
|
+
const transaction = await client.transaction.build.simple({
|
|
832
832
|
sender: account.accountAddress,
|
|
833
833
|
data: {
|
|
834
834
|
function: "0x1::stake::set_delegated_voter",
|
|
@@ -845,7 +845,7 @@ export var stake;
|
|
|
845
845
|
entry.setDelegatedVoter = setDelegatedVoter;
|
|
846
846
|
async function setOperator(client, account, request, options) {
|
|
847
847
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
848
|
-
const transaction = await client.build.simple({
|
|
848
|
+
const transaction = await client.transaction.build.simple({
|
|
849
849
|
sender: account.accountAddress,
|
|
850
850
|
data: {
|
|
851
851
|
function: "0x1::stake::set_operator",
|
|
@@ -862,7 +862,7 @@ export var stake;
|
|
|
862
862
|
entry.setOperator = setOperator;
|
|
863
863
|
async function unlock(client, account, request, options) {
|
|
864
864
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
865
|
-
const transaction = await client.build.simple({
|
|
865
|
+
const transaction = await client.transaction.build.simple({
|
|
866
866
|
sender: account.accountAddress,
|
|
867
867
|
data: {
|
|
868
868
|
function: "0x1::stake::unlock",
|
|
@@ -879,7 +879,7 @@ export var stake;
|
|
|
879
879
|
entry.unlock = unlock;
|
|
880
880
|
async function updateNetworkAndFullnodeAddresses(client, account, request, options) {
|
|
881
881
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
882
|
-
const transaction = await client.build.simple({
|
|
882
|
+
const transaction = await client.transaction.build.simple({
|
|
883
883
|
sender: account.accountAddress,
|
|
884
884
|
data: {
|
|
885
885
|
function: "0x1::stake::update_network_and_fullnode_addresses",
|
|
@@ -896,7 +896,7 @@ export var stake;
|
|
|
896
896
|
entry.updateNetworkAndFullnodeAddresses = updateNetworkAndFullnodeAddresses;
|
|
897
897
|
async function withdraw(client, account, request, options) {
|
|
898
898
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
899
|
-
const transaction = await client.build.simple({
|
|
899
|
+
const transaction = await client.transaction.build.simple({
|
|
900
900
|
sender: account.accountAddress,
|
|
901
901
|
data: {
|
|
902
902
|
function: "0x1::stake::withdraw",
|
|
@@ -1207,7 +1207,7 @@ export var object_;
|
|
|
1207
1207
|
(function (entry) {
|
|
1208
1208
|
async function burn(client, account, request, options) {
|
|
1209
1209
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1210
|
-
const transaction = await client.build.simple({
|
|
1210
|
+
const transaction = await client.transaction.build.simple({
|
|
1211
1211
|
sender: account.accountAddress,
|
|
1212
1212
|
data: {
|
|
1213
1213
|
function: "0x1::object::burn",
|
|
@@ -1224,7 +1224,7 @@ export var object_;
|
|
|
1224
1224
|
entry.burn = burn;
|
|
1225
1225
|
async function transfer(client, account, request, options) {
|
|
1226
1226
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1227
|
-
const transaction = await client.build.simple({
|
|
1227
|
+
const transaction = await client.transaction.build.simple({
|
|
1228
1228
|
sender: account.accountAddress,
|
|
1229
1229
|
data: {
|
|
1230
1230
|
function: "0x1::object::transfer",
|
|
@@ -1241,7 +1241,7 @@ export var object_;
|
|
|
1241
1241
|
entry.transfer = transfer;
|
|
1242
1242
|
async function transferCall(client, account, request, options) {
|
|
1243
1243
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1244
|
-
const transaction = await client.build.simple({
|
|
1244
|
+
const transaction = await client.transaction.build.simple({
|
|
1245
1245
|
sender: account.accountAddress,
|
|
1246
1246
|
data: {
|
|
1247
1247
|
function: "0x1::object::transfer_call",
|
|
@@ -1258,7 +1258,7 @@ export var object_;
|
|
|
1258
1258
|
entry.transferCall = transferCall;
|
|
1259
1259
|
async function transferToObject(client, account, request, options) {
|
|
1260
1260
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1261
|
-
const transaction = await client.build.simple({
|
|
1261
|
+
const transaction = await client.transaction.build.simple({
|
|
1262
1262
|
sender: account.accountAddress,
|
|
1263
1263
|
data: {
|
|
1264
1264
|
function: "0x1::object::transfer_to_object",
|
|
@@ -1275,7 +1275,7 @@ export var object_;
|
|
|
1275
1275
|
entry.transferToObject = transferToObject;
|
|
1276
1276
|
async function unburn(client, account, request, options) {
|
|
1277
1277
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1278
|
-
const transaction = await client.build.simple({
|
|
1278
|
+
const transaction = await client.transaction.build.simple({
|
|
1279
1279
|
sender: account.accountAddress,
|
|
1280
1280
|
data: {
|
|
1281
1281
|
function: "0x1::object::unburn",
|
|
@@ -1682,7 +1682,7 @@ export var account;
|
|
|
1682
1682
|
(function (entry) {
|
|
1683
1683
|
async function offerRotationCapability(client, account, request, options) {
|
|
1684
1684
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1685
|
-
const transaction = await client.build.simple({
|
|
1685
|
+
const transaction = await client.transaction.build.simple({
|
|
1686
1686
|
sender: account.accountAddress,
|
|
1687
1687
|
data: {
|
|
1688
1688
|
function: "0x1::account::offer_rotation_capability",
|
|
@@ -1699,7 +1699,7 @@ export var account;
|
|
|
1699
1699
|
entry.offerRotationCapability = offerRotationCapability;
|
|
1700
1700
|
async function offerSignerCapability(client, account, request, options) {
|
|
1701
1701
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1702
|
-
const transaction = await client.build.simple({
|
|
1702
|
+
const transaction = await client.transaction.build.simple({
|
|
1703
1703
|
sender: account.accountAddress,
|
|
1704
1704
|
data: {
|
|
1705
1705
|
function: "0x1::account::offer_signer_capability",
|
|
@@ -1716,7 +1716,7 @@ export var account;
|
|
|
1716
1716
|
entry.offerSignerCapability = offerSignerCapability;
|
|
1717
1717
|
async function revokeAnyRotationCapability(client, account, request, options) {
|
|
1718
1718
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1719
|
-
const transaction = await client.build.simple({
|
|
1719
|
+
const transaction = await client.transaction.build.simple({
|
|
1720
1720
|
sender: account.accountAddress,
|
|
1721
1721
|
data: {
|
|
1722
1722
|
function: "0x1::account::revoke_any_rotation_capability",
|
|
@@ -1733,7 +1733,7 @@ export var account;
|
|
|
1733
1733
|
entry.revokeAnyRotationCapability = revokeAnyRotationCapability;
|
|
1734
1734
|
async function revokeAnySignerCapability(client, account, request, options) {
|
|
1735
1735
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1736
|
-
const transaction = await client.build.simple({
|
|
1736
|
+
const transaction = await client.transaction.build.simple({
|
|
1737
1737
|
sender: account.accountAddress,
|
|
1738
1738
|
data: {
|
|
1739
1739
|
function: "0x1::account::revoke_any_signer_capability",
|
|
@@ -1750,7 +1750,7 @@ export var account;
|
|
|
1750
1750
|
entry.revokeAnySignerCapability = revokeAnySignerCapability;
|
|
1751
1751
|
async function revokeRotationCapability(client, account, request, options) {
|
|
1752
1752
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1753
|
-
const transaction = await client.build.simple({
|
|
1753
|
+
const transaction = await client.transaction.build.simple({
|
|
1754
1754
|
sender: account.accountAddress,
|
|
1755
1755
|
data: {
|
|
1756
1756
|
function: "0x1::account::revoke_rotation_capability",
|
|
@@ -1767,7 +1767,7 @@ export var account;
|
|
|
1767
1767
|
entry.revokeRotationCapability = revokeRotationCapability;
|
|
1768
1768
|
async function revokeSignerCapability(client, account, request, options) {
|
|
1769
1769
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1770
|
-
const transaction = await client.build.simple({
|
|
1770
|
+
const transaction = await client.transaction.build.simple({
|
|
1771
1771
|
sender: account.accountAddress,
|
|
1772
1772
|
data: {
|
|
1773
1773
|
function: "0x1::account::revoke_signer_capability",
|
|
@@ -1784,7 +1784,7 @@ export var account;
|
|
|
1784
1784
|
entry.revokeSignerCapability = revokeSignerCapability;
|
|
1785
1785
|
async function rotateAuthenticationKey(client, account, request, options) {
|
|
1786
1786
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1787
|
-
const transaction = await client.build.simple({
|
|
1787
|
+
const transaction = await client.transaction.build.simple({
|
|
1788
1788
|
sender: account.accountAddress,
|
|
1789
1789
|
data: {
|
|
1790
1790
|
function: "0x1::account::rotate_authentication_key",
|
|
@@ -1801,7 +1801,7 @@ export var account;
|
|
|
1801
1801
|
entry.rotateAuthenticationKey = rotateAuthenticationKey;
|
|
1802
1802
|
async function rotateAuthenticationKeyWithRotationCapability(client, account, request, options) {
|
|
1803
1803
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1804
|
-
const transaction = await client.build.simple({
|
|
1804
|
+
const transaction = await client.transaction.build.simple({
|
|
1805
1805
|
sender: account.accountAddress,
|
|
1806
1806
|
data: {
|
|
1807
1807
|
function: "0x1::account::rotate_authentication_key_with_rotation_capability",
|
|
@@ -2043,7 +2043,7 @@ export var version;
|
|
|
2043
2043
|
(function (entry) {
|
|
2044
2044
|
async function setVersion(client, account, request, options) {
|
|
2045
2045
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2046
|
-
const transaction = await client.build.simple({
|
|
2046
|
+
const transaction = await client.transaction.build.simple({
|
|
2047
2047
|
sender: account.accountAddress,
|
|
2048
2048
|
data: {
|
|
2049
2049
|
function: "0x1::version::set_version",
|
|
@@ -2201,7 +2201,7 @@ export var vesting;
|
|
|
2201
2201
|
(function (entry) {
|
|
2202
2202
|
async function adminWithdraw(client, account, request, options) {
|
|
2203
2203
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2204
|
-
const transaction = await client.build.simple({
|
|
2204
|
+
const transaction = await client.transaction.build.simple({
|
|
2205
2205
|
sender: account.accountAddress,
|
|
2206
2206
|
data: {
|
|
2207
2207
|
function: "0x1::vesting::admin_withdraw",
|
|
@@ -2218,7 +2218,7 @@ export var vesting;
|
|
|
2218
2218
|
entry.adminWithdraw = adminWithdraw;
|
|
2219
2219
|
async function distribute(client, account, request, options) {
|
|
2220
2220
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2221
|
-
const transaction = await client.build.simple({
|
|
2221
|
+
const transaction = await client.transaction.build.simple({
|
|
2222
2222
|
sender: account.accountAddress,
|
|
2223
2223
|
data: {
|
|
2224
2224
|
function: "0x1::vesting::distribute",
|
|
@@ -2235,7 +2235,7 @@ export var vesting;
|
|
|
2235
2235
|
entry.distribute = distribute;
|
|
2236
2236
|
async function distributeMany(client, account, request, options) {
|
|
2237
2237
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2238
|
-
const transaction = await client.build.simple({
|
|
2238
|
+
const transaction = await client.transaction.build.simple({
|
|
2239
2239
|
sender: account.accountAddress,
|
|
2240
2240
|
data: {
|
|
2241
2241
|
function: "0x1::vesting::distribute_many",
|
|
@@ -2252,7 +2252,7 @@ export var vesting;
|
|
|
2252
2252
|
entry.distributeMany = distributeMany;
|
|
2253
2253
|
async function resetBeneficiary(client, account, request, options) {
|
|
2254
2254
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2255
|
-
const transaction = await client.build.simple({
|
|
2255
|
+
const transaction = await client.transaction.build.simple({
|
|
2256
2256
|
sender: account.accountAddress,
|
|
2257
2257
|
data: {
|
|
2258
2258
|
function: "0x1::vesting::reset_beneficiary",
|
|
@@ -2269,7 +2269,7 @@ export var vesting;
|
|
|
2269
2269
|
entry.resetBeneficiary = resetBeneficiary;
|
|
2270
2270
|
async function resetLockup(client, account, request, options) {
|
|
2271
2271
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2272
|
-
const transaction = await client.build.simple({
|
|
2272
|
+
const transaction = await client.transaction.build.simple({
|
|
2273
2273
|
sender: account.accountAddress,
|
|
2274
2274
|
data: {
|
|
2275
2275
|
function: "0x1::vesting::reset_lockup",
|
|
@@ -2286,7 +2286,7 @@ export var vesting;
|
|
|
2286
2286
|
entry.resetLockup = resetLockup;
|
|
2287
2287
|
async function setBeneficiary(client, account, request, options) {
|
|
2288
2288
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2289
|
-
const transaction = await client.build.simple({
|
|
2289
|
+
const transaction = await client.transaction.build.simple({
|
|
2290
2290
|
sender: account.accountAddress,
|
|
2291
2291
|
data: {
|
|
2292
2292
|
function: "0x1::vesting::set_beneficiary",
|
|
@@ -2303,7 +2303,7 @@ export var vesting;
|
|
|
2303
2303
|
entry.setBeneficiary = setBeneficiary;
|
|
2304
2304
|
async function setBeneficiaryForOperator(client, account, request, options) {
|
|
2305
2305
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2306
|
-
const transaction = await client.build.simple({
|
|
2306
|
+
const transaction = await client.transaction.build.simple({
|
|
2307
2307
|
sender: account.accountAddress,
|
|
2308
2308
|
data: {
|
|
2309
2309
|
function: "0x1::vesting::set_beneficiary_for_operator",
|
|
@@ -2320,7 +2320,7 @@ export var vesting;
|
|
|
2320
2320
|
entry.setBeneficiaryForOperator = setBeneficiaryForOperator;
|
|
2321
2321
|
async function setBeneficiaryResetter(client, account, request, options) {
|
|
2322
2322
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2323
|
-
const transaction = await client.build.simple({
|
|
2323
|
+
const transaction = await client.transaction.build.simple({
|
|
2324
2324
|
sender: account.accountAddress,
|
|
2325
2325
|
data: {
|
|
2326
2326
|
function: "0x1::vesting::set_beneficiary_resetter",
|
|
@@ -2337,7 +2337,7 @@ export var vesting;
|
|
|
2337
2337
|
entry.setBeneficiaryResetter = setBeneficiaryResetter;
|
|
2338
2338
|
async function setManagementRole(client, account, request, options) {
|
|
2339
2339
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2340
|
-
const transaction = await client.build.simple({
|
|
2340
|
+
const transaction = await client.transaction.build.simple({
|
|
2341
2341
|
sender: account.accountAddress,
|
|
2342
2342
|
data: {
|
|
2343
2343
|
function: "0x1::vesting::set_management_role",
|
|
@@ -2354,7 +2354,7 @@ export var vesting;
|
|
|
2354
2354
|
entry.setManagementRole = setManagementRole;
|
|
2355
2355
|
async function terminateVestingContract(client, account, request, options) {
|
|
2356
2356
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2357
|
-
const transaction = await client.build.simple({
|
|
2357
|
+
const transaction = await client.transaction.build.simple({
|
|
2358
2358
|
sender: account.accountAddress,
|
|
2359
2359
|
data: {
|
|
2360
2360
|
function: "0x1::vesting::terminate_vesting_contract",
|
|
@@ -2371,7 +2371,7 @@ export var vesting;
|
|
|
2371
2371
|
entry.terminateVestingContract = terminateVestingContract;
|
|
2372
2372
|
async function unlockRewards(client, account, request, options) {
|
|
2373
2373
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2374
|
-
const transaction = await client.build.simple({
|
|
2374
|
+
const transaction = await client.transaction.build.simple({
|
|
2375
2375
|
sender: account.accountAddress,
|
|
2376
2376
|
data: {
|
|
2377
2377
|
function: "0x1::vesting::unlock_rewards",
|
|
@@ -2388,7 +2388,7 @@ export var vesting;
|
|
|
2388
2388
|
entry.unlockRewards = unlockRewards;
|
|
2389
2389
|
async function unlockRewardsMany(client, account, request, options) {
|
|
2390
2390
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2391
|
-
const transaction = await client.build.simple({
|
|
2391
|
+
const transaction = await client.transaction.build.simple({
|
|
2392
2392
|
sender: account.accountAddress,
|
|
2393
2393
|
data: {
|
|
2394
2394
|
function: "0x1::vesting::unlock_rewards_many",
|
|
@@ -2405,7 +2405,7 @@ export var vesting;
|
|
|
2405
2405
|
entry.unlockRewardsMany = unlockRewardsMany;
|
|
2406
2406
|
async function updateCommissionPercentage(client, account, request, options) {
|
|
2407
2407
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2408
|
-
const transaction = await client.build.simple({
|
|
2408
|
+
const transaction = await client.transaction.build.simple({
|
|
2409
2409
|
sender: account.accountAddress,
|
|
2410
2410
|
data: {
|
|
2411
2411
|
function: "0x1::vesting::update_commission_percentage",
|
|
@@ -2422,7 +2422,7 @@ export var vesting;
|
|
|
2422
2422
|
entry.updateCommissionPercentage = updateCommissionPercentage;
|
|
2423
2423
|
async function updateOperator(client, account, request, options) {
|
|
2424
2424
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2425
|
-
const transaction = await client.build.simple({
|
|
2425
|
+
const transaction = await client.transaction.build.simple({
|
|
2426
2426
|
sender: account.accountAddress,
|
|
2427
2427
|
data: {
|
|
2428
2428
|
function: "0x1::vesting::update_operator",
|
|
@@ -2439,7 +2439,7 @@ export var vesting;
|
|
|
2439
2439
|
entry.updateOperator = updateOperator;
|
|
2440
2440
|
async function updateOperatorWithSameCommission(client, account, request, options) {
|
|
2441
2441
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2442
|
-
const transaction = await client.build.simple({
|
|
2442
|
+
const transaction = await client.transaction.build.simple({
|
|
2443
2443
|
sender: account.accountAddress,
|
|
2444
2444
|
data: {
|
|
2445
2445
|
function: "0x1::vesting::update_operator_with_same_commission",
|
|
@@ -2456,7 +2456,7 @@ export var vesting;
|
|
|
2456
2456
|
entry.updateOperatorWithSameCommission = updateOperatorWithSameCommission;
|
|
2457
2457
|
async function updateVoter(client, account, request, options) {
|
|
2458
2458
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2459
|
-
const transaction = await client.build.simple({
|
|
2459
|
+
const transaction = await client.transaction.build.simple({
|
|
2460
2460
|
sender: account.accountAddress,
|
|
2461
2461
|
data: {
|
|
2462
2462
|
function: "0x1::vesting::update_voter",
|
|
@@ -2473,7 +2473,7 @@ export var vesting;
|
|
|
2473
2473
|
entry.updateVoter = updateVoter;
|
|
2474
2474
|
async function vest(client, account, request, options) {
|
|
2475
2475
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2476
|
-
const transaction = await client.build.simple({
|
|
2476
|
+
const transaction = await client.transaction.build.simple({
|
|
2477
2477
|
sender: account.accountAddress,
|
|
2478
2478
|
data: {
|
|
2479
2479
|
function: "0x1::vesting::vest",
|
|
@@ -2490,7 +2490,7 @@ export var vesting;
|
|
|
2490
2490
|
entry.vest = vest;
|
|
2491
2491
|
async function vestMany(client, account, request, options) {
|
|
2492
2492
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2493
|
-
const transaction = await client.build.simple({
|
|
2493
|
+
const transaction = await client.transaction.build.simple({
|
|
2494
2494
|
sender: account.accountAddress,
|
|
2495
2495
|
data: {
|
|
2496
2496
|
function: "0x1::vesting::vest_many",
|
|
@@ -2963,7 +2963,7 @@ export var aptos_coin;
|
|
|
2963
2963
|
(function (entry) {
|
|
2964
2964
|
async function claimMintCapability(client, account, request, options) {
|
|
2965
2965
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2966
|
-
const transaction = await client.build.simple({
|
|
2966
|
+
const transaction = await client.transaction.build.simple({
|
|
2967
2967
|
sender: account.accountAddress,
|
|
2968
2968
|
data: {
|
|
2969
2969
|
function: "0x1::aptos_coin::claim_mint_capability",
|
|
@@ -2980,7 +2980,7 @@ export var aptos_coin;
|
|
|
2980
2980
|
entry.claimMintCapability = claimMintCapability;
|
|
2981
2981
|
async function delegateMintCapability(client, account, request, options) {
|
|
2982
2982
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2983
|
-
const transaction = await client.build.simple({
|
|
2983
|
+
const transaction = await client.transaction.build.simple({
|
|
2984
2984
|
sender: account.accountAddress,
|
|
2985
2985
|
data: {
|
|
2986
2986
|
function: "0x1::aptos_coin::delegate_mint_capability",
|
|
@@ -2997,7 +2997,7 @@ export var aptos_coin;
|
|
|
2997
2997
|
entry.delegateMintCapability = delegateMintCapability;
|
|
2998
2998
|
async function mint(client, account, request, options) {
|
|
2999
2999
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3000
|
-
const transaction = await client.build.simple({
|
|
3000
|
+
const transaction = await client.transaction.build.simple({
|
|
3001
3001
|
sender: account.accountAddress,
|
|
3002
3002
|
data: {
|
|
3003
3003
|
function: "0x1::aptos_coin::mint",
|
|
@@ -3281,7 +3281,7 @@ export var managed_coin;
|
|
|
3281
3281
|
(function (entry) {
|
|
3282
3282
|
async function burn(client, account, request, options) {
|
|
3283
3283
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3284
|
-
const transaction = await client.build.simple({
|
|
3284
|
+
const transaction = await client.transaction.build.simple({
|
|
3285
3285
|
sender: account.accountAddress,
|
|
3286
3286
|
data: {
|
|
3287
3287
|
function: "0x1::managed_coin::burn",
|
|
@@ -3298,7 +3298,7 @@ export var managed_coin;
|
|
|
3298
3298
|
entry.burn = burn;
|
|
3299
3299
|
async function initialize(client, account, request, options) {
|
|
3300
3300
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3301
|
-
const transaction = await client.build.simple({
|
|
3301
|
+
const transaction = await client.transaction.build.simple({
|
|
3302
3302
|
sender: account.accountAddress,
|
|
3303
3303
|
data: {
|
|
3304
3304
|
function: "0x1::managed_coin::initialize",
|
|
@@ -3315,7 +3315,7 @@ export var managed_coin;
|
|
|
3315
3315
|
entry.initialize = initialize;
|
|
3316
3316
|
async function mint(client, account, request, options) {
|
|
3317
3317
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3318
|
-
const transaction = await client.build.simple({
|
|
3318
|
+
const transaction = await client.transaction.build.simple({
|
|
3319
3319
|
sender: account.accountAddress,
|
|
3320
3320
|
data: {
|
|
3321
3321
|
function: "0x1::managed_coin::mint",
|
|
@@ -3332,7 +3332,7 @@ export var managed_coin;
|
|
|
3332
3332
|
entry.mint = mint;
|
|
3333
3333
|
async function register(client, account, request, options) {
|
|
3334
3334
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3335
|
-
const transaction = await client.build.simple({
|
|
3335
|
+
const transaction = await client.transaction.build.simple({
|
|
3336
3336
|
sender: account.accountAddress,
|
|
3337
3337
|
data: {
|
|
3338
3338
|
function: "0x1::managed_coin::register",
|
|
@@ -3457,7 +3457,7 @@ export var aptos_account;
|
|
|
3457
3457
|
(function (entry) {
|
|
3458
3458
|
async function batchTransfer(client, account, request, options) {
|
|
3459
3459
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3460
|
-
const transaction = await client.build.simple({
|
|
3460
|
+
const transaction = await client.transaction.build.simple({
|
|
3461
3461
|
sender: account.accountAddress,
|
|
3462
3462
|
data: {
|
|
3463
3463
|
function: "0x1::aptos_account::batch_transfer",
|
|
@@ -3474,7 +3474,7 @@ export var aptos_account;
|
|
|
3474
3474
|
entry.batchTransfer = batchTransfer;
|
|
3475
3475
|
async function batchTransferCoins(client, account, request, options) {
|
|
3476
3476
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3477
|
-
const transaction = await client.build.simple({
|
|
3477
|
+
const transaction = await client.transaction.build.simple({
|
|
3478
3478
|
sender: account.accountAddress,
|
|
3479
3479
|
data: {
|
|
3480
3480
|
function: "0x1::aptos_account::batch_transfer_coins",
|
|
@@ -3491,7 +3491,7 @@ export var aptos_account;
|
|
|
3491
3491
|
entry.batchTransferCoins = batchTransferCoins;
|
|
3492
3492
|
async function createAccount(client, account, request, options) {
|
|
3493
3493
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3494
|
-
const transaction = await client.build.simple({
|
|
3494
|
+
const transaction = await client.transaction.build.simple({
|
|
3495
3495
|
sender: account.accountAddress,
|
|
3496
3496
|
data: {
|
|
3497
3497
|
function: "0x1::aptos_account::create_account",
|
|
@@ -3508,7 +3508,7 @@ export var aptos_account;
|
|
|
3508
3508
|
entry.createAccount = createAccount;
|
|
3509
3509
|
async function setAllowDirectCoinTransfers(client, account, request, options) {
|
|
3510
3510
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3511
|
-
const transaction = await client.build.simple({
|
|
3511
|
+
const transaction = await client.transaction.build.simple({
|
|
3512
3512
|
sender: account.accountAddress,
|
|
3513
3513
|
data: {
|
|
3514
3514
|
function: "0x1::aptos_account::set_allow_direct_coin_transfers",
|
|
@@ -3525,7 +3525,7 @@ export var aptos_account;
|
|
|
3525
3525
|
entry.setAllowDirectCoinTransfers = setAllowDirectCoinTransfers;
|
|
3526
3526
|
async function transfer(client, account, request, options) {
|
|
3527
3527
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3528
|
-
const transaction = await client.build.simple({
|
|
3528
|
+
const transaction = await client.transaction.build.simple({
|
|
3529
3529
|
sender: account.accountAddress,
|
|
3530
3530
|
data: {
|
|
3531
3531
|
function: "0x1::aptos_account::transfer",
|
|
@@ -3542,7 +3542,7 @@ export var aptos_account;
|
|
|
3542
3542
|
entry.transfer = transfer;
|
|
3543
3543
|
async function transferCoins(client, account, request, options) {
|
|
3544
3544
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3545
|
-
const transaction = await client.build.simple({
|
|
3545
|
+
const transaction = await client.transaction.build.simple({
|
|
3546
3546
|
sender: account.accountAddress,
|
|
3547
3547
|
data: {
|
|
3548
3548
|
function: "0x1::aptos_account::transfer_coins",
|
|
@@ -3637,7 +3637,7 @@ export var staking_proxy;
|
|
|
3637
3637
|
(function (entry) {
|
|
3638
3638
|
async function setOperator(client, account, request, options) {
|
|
3639
3639
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3640
|
-
const transaction = await client.build.simple({
|
|
3640
|
+
const transaction = await client.transaction.build.simple({
|
|
3641
3641
|
sender: account.accountAddress,
|
|
3642
3642
|
data: {
|
|
3643
3643
|
function: "0x1::staking_proxy::set_operator",
|
|
@@ -3654,7 +3654,7 @@ export var staking_proxy;
|
|
|
3654
3654
|
entry.setOperator = setOperator;
|
|
3655
3655
|
async function setStakePoolOperator(client, account, request, options) {
|
|
3656
3656
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3657
|
-
const transaction = await client.build.simple({
|
|
3657
|
+
const transaction = await client.transaction.build.simple({
|
|
3658
3658
|
sender: account.accountAddress,
|
|
3659
3659
|
data: {
|
|
3660
3660
|
function: "0x1::staking_proxy::set_stake_pool_operator",
|
|
@@ -3671,7 +3671,7 @@ export var staking_proxy;
|
|
|
3671
3671
|
entry.setStakePoolOperator = setStakePoolOperator;
|
|
3672
3672
|
async function setStakePoolVoter(client, account, request, options) {
|
|
3673
3673
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3674
|
-
const transaction = await client.build.simple({
|
|
3674
|
+
const transaction = await client.transaction.build.simple({
|
|
3675
3675
|
sender: account.accountAddress,
|
|
3676
3676
|
data: {
|
|
3677
3677
|
function: "0x1::staking_proxy::set_stake_pool_voter",
|
|
@@ -3688,7 +3688,7 @@ export var staking_proxy;
|
|
|
3688
3688
|
entry.setStakePoolVoter = setStakePoolVoter;
|
|
3689
3689
|
async function setStakingContractOperator(client, account, request, options) {
|
|
3690
3690
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3691
|
-
const transaction = await client.build.simple({
|
|
3691
|
+
const transaction = await client.transaction.build.simple({
|
|
3692
3692
|
sender: account.accountAddress,
|
|
3693
3693
|
data: {
|
|
3694
3694
|
function: "0x1::staking_proxy::set_staking_contract_operator",
|
|
@@ -3705,7 +3705,7 @@ export var staking_proxy;
|
|
|
3705
3705
|
entry.setStakingContractOperator = setStakingContractOperator;
|
|
3706
3706
|
async function setStakingContractVoter(client, account, request, options) {
|
|
3707
3707
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3708
|
-
const transaction = await client.build.simple({
|
|
3708
|
+
const transaction = await client.transaction.build.simple({
|
|
3709
3709
|
sender: account.accountAddress,
|
|
3710
3710
|
data: {
|
|
3711
3711
|
function: "0x1::staking_proxy::set_staking_contract_voter",
|
|
@@ -3722,7 +3722,7 @@ export var staking_proxy;
|
|
|
3722
3722
|
entry.setStakingContractVoter = setStakingContractVoter;
|
|
3723
3723
|
async function setVestingContractOperator(client, account, request, options) {
|
|
3724
3724
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3725
|
-
const transaction = await client.build.simple({
|
|
3725
|
+
const transaction = await client.transaction.build.simple({
|
|
3726
3726
|
sender: account.accountAddress,
|
|
3727
3727
|
data: {
|
|
3728
3728
|
function: "0x1::staking_proxy::set_vesting_contract_operator",
|
|
@@ -3739,7 +3739,7 @@ export var staking_proxy;
|
|
|
3739
3739
|
entry.setVestingContractOperator = setVestingContractOperator;
|
|
3740
3740
|
async function setVestingContractVoter(client, account, request, options) {
|
|
3741
3741
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3742
|
-
const transaction = await client.build.simple({
|
|
3742
|
+
const transaction = await client.transaction.build.simple({
|
|
3743
3743
|
sender: account.accountAddress,
|
|
3744
3744
|
data: {
|
|
3745
3745
|
function: "0x1::staking_proxy::set_vesting_contract_voter",
|
|
@@ -3756,7 +3756,7 @@ export var staking_proxy;
|
|
|
3756
3756
|
entry.setVestingContractVoter = setVestingContractVoter;
|
|
3757
3757
|
async function setVoter(client, account, request, options) {
|
|
3758
3758
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3759
|
-
const transaction = await client.build.simple({
|
|
3759
|
+
const transaction = await client.transaction.build.simple({
|
|
3760
3760
|
sender: account.accountAddress,
|
|
3761
3761
|
data: {
|
|
3762
3762
|
function: "0x1::staking_proxy::set_voter",
|
|
@@ -3920,7 +3920,7 @@ export var fungible_asset;
|
|
|
3920
3920
|
(function (entry) {
|
|
3921
3921
|
async function transfer(client, account, request, options) {
|
|
3922
3922
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
3923
|
-
const transaction = await client.build.simple({
|
|
3923
|
+
const transaction = await client.transaction.build.simple({
|
|
3924
3924
|
sender: account.accountAddress,
|
|
3925
3925
|
data: {
|
|
3926
3926
|
function: "0x1::fungible_asset::transfer",
|
|
@@ -4264,7 +4264,7 @@ export var delegation_pool;
|
|
|
4264
4264
|
(function (entry) {
|
|
4265
4265
|
async function addStake(client, account, request, options) {
|
|
4266
4266
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4267
|
-
const transaction = await client.build.simple({
|
|
4267
|
+
const transaction = await client.transaction.build.simple({
|
|
4268
4268
|
sender: account.accountAddress,
|
|
4269
4269
|
data: {
|
|
4270
4270
|
function: "0x1::delegation_pool::add_stake",
|
|
@@ -4281,7 +4281,7 @@ export var delegation_pool;
|
|
|
4281
4281
|
entry.addStake = addStake;
|
|
4282
4282
|
async function createProposal(client, account, request, options) {
|
|
4283
4283
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4284
|
-
const transaction = await client.build.simple({
|
|
4284
|
+
const transaction = await client.transaction.build.simple({
|
|
4285
4285
|
sender: account.accountAddress,
|
|
4286
4286
|
data: {
|
|
4287
4287
|
function: "0x1::delegation_pool::create_proposal",
|
|
@@ -4298,7 +4298,7 @@ export var delegation_pool;
|
|
|
4298
4298
|
entry.createProposal = createProposal;
|
|
4299
4299
|
async function delegateVotingPower(client, account, request, options) {
|
|
4300
4300
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4301
|
-
const transaction = await client.build.simple({
|
|
4301
|
+
const transaction = await client.transaction.build.simple({
|
|
4302
4302
|
sender: account.accountAddress,
|
|
4303
4303
|
data: {
|
|
4304
4304
|
function: "0x1::delegation_pool::delegate_voting_power",
|
|
@@ -4315,7 +4315,7 @@ export var delegation_pool;
|
|
|
4315
4315
|
entry.delegateVotingPower = delegateVotingPower;
|
|
4316
4316
|
async function enablePartialGovernanceVoting(client, account, request, options) {
|
|
4317
4317
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4318
|
-
const transaction = await client.build.simple({
|
|
4318
|
+
const transaction = await client.transaction.build.simple({
|
|
4319
4319
|
sender: account.accountAddress,
|
|
4320
4320
|
data: {
|
|
4321
4321
|
function: "0x1::delegation_pool::enable_partial_governance_voting",
|
|
@@ -4332,7 +4332,7 @@ export var delegation_pool;
|
|
|
4332
4332
|
entry.enablePartialGovernanceVoting = enablePartialGovernanceVoting;
|
|
4333
4333
|
async function initializeDelegationPool(client, account, request, options) {
|
|
4334
4334
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4335
|
-
const transaction = await client.build.simple({
|
|
4335
|
+
const transaction = await client.transaction.build.simple({
|
|
4336
4336
|
sender: account.accountAddress,
|
|
4337
4337
|
data: {
|
|
4338
4338
|
function: "0x1::delegation_pool::initialize_delegation_pool",
|
|
@@ -4349,7 +4349,7 @@ export var delegation_pool;
|
|
|
4349
4349
|
entry.initializeDelegationPool = initializeDelegationPool;
|
|
4350
4350
|
async function reactivateStake(client, account, request, options) {
|
|
4351
4351
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4352
|
-
const transaction = await client.build.simple({
|
|
4352
|
+
const transaction = await client.transaction.build.simple({
|
|
4353
4353
|
sender: account.accountAddress,
|
|
4354
4354
|
data: {
|
|
4355
4355
|
function: "0x1::delegation_pool::reactivate_stake",
|
|
@@ -4366,7 +4366,7 @@ export var delegation_pool;
|
|
|
4366
4366
|
entry.reactivateStake = reactivateStake;
|
|
4367
4367
|
async function setBeneficiaryForOperator(client, account, request, options) {
|
|
4368
4368
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4369
|
-
const transaction = await client.build.simple({
|
|
4369
|
+
const transaction = await client.transaction.build.simple({
|
|
4370
4370
|
sender: account.accountAddress,
|
|
4371
4371
|
data: {
|
|
4372
4372
|
function: "0x1::delegation_pool::set_beneficiary_for_operator",
|
|
@@ -4383,7 +4383,7 @@ export var delegation_pool;
|
|
|
4383
4383
|
entry.setBeneficiaryForOperator = setBeneficiaryForOperator;
|
|
4384
4384
|
async function setDelegatedVoter(client, account, request, options) {
|
|
4385
4385
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4386
|
-
const transaction = await client.build.simple({
|
|
4386
|
+
const transaction = await client.transaction.build.simple({
|
|
4387
4387
|
sender: account.accountAddress,
|
|
4388
4388
|
data: {
|
|
4389
4389
|
function: "0x1::delegation_pool::set_delegated_voter",
|
|
@@ -4400,7 +4400,7 @@ export var delegation_pool;
|
|
|
4400
4400
|
entry.setDelegatedVoter = setDelegatedVoter;
|
|
4401
4401
|
async function setOperator(client, account, request, options) {
|
|
4402
4402
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4403
|
-
const transaction = await client.build.simple({
|
|
4403
|
+
const transaction = await client.transaction.build.simple({
|
|
4404
4404
|
sender: account.accountAddress,
|
|
4405
4405
|
data: {
|
|
4406
4406
|
function: "0x1::delegation_pool::set_operator",
|
|
@@ -4417,7 +4417,7 @@ export var delegation_pool;
|
|
|
4417
4417
|
entry.setOperator = setOperator;
|
|
4418
4418
|
async function synchronizeDelegationPool(client, account, request, options) {
|
|
4419
4419
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4420
|
-
const transaction = await client.build.simple({
|
|
4420
|
+
const transaction = await client.transaction.build.simple({
|
|
4421
4421
|
sender: account.accountAddress,
|
|
4422
4422
|
data: {
|
|
4423
4423
|
function: "0x1::delegation_pool::synchronize_delegation_pool",
|
|
@@ -4434,7 +4434,7 @@ export var delegation_pool;
|
|
|
4434
4434
|
entry.synchronizeDelegationPool = synchronizeDelegationPool;
|
|
4435
4435
|
async function unlock(client, account, request, options) {
|
|
4436
4436
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4437
|
-
const transaction = await client.build.simple({
|
|
4437
|
+
const transaction = await client.transaction.build.simple({
|
|
4438
4438
|
sender: account.accountAddress,
|
|
4439
4439
|
data: {
|
|
4440
4440
|
function: "0x1::delegation_pool::unlock",
|
|
@@ -4451,7 +4451,7 @@ export var delegation_pool;
|
|
|
4451
4451
|
entry.unlock = unlock;
|
|
4452
4452
|
async function vote(client, account, request, options) {
|
|
4453
4453
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4454
|
-
const transaction = await client.build.simple({
|
|
4454
|
+
const transaction = await client.transaction.build.simple({
|
|
4455
4455
|
sender: account.accountAddress,
|
|
4456
4456
|
data: {
|
|
4457
4457
|
function: "0x1::delegation_pool::vote",
|
|
@@ -4468,7 +4468,7 @@ export var delegation_pool;
|
|
|
4468
4468
|
entry.vote = vote;
|
|
4469
4469
|
async function withdraw(client, account, request, options) {
|
|
4470
4470
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4471
|
-
const transaction = await client.build.simple({
|
|
4471
|
+
const transaction = await client.transaction.build.simple({
|
|
4472
4472
|
sender: account.accountAddress,
|
|
4473
4473
|
data: {
|
|
4474
4474
|
function: "0x1::delegation_pool::withdraw",
|
|
@@ -4908,7 +4908,7 @@ export var aptos_governance;
|
|
|
4908
4908
|
(function (entry) {
|
|
4909
4909
|
async function addApprovedScriptHashScript(client, account, request, options) {
|
|
4910
4910
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4911
|
-
const transaction = await client.build.simple({
|
|
4911
|
+
const transaction = await client.transaction.build.simple({
|
|
4912
4912
|
sender: account.accountAddress,
|
|
4913
4913
|
data: {
|
|
4914
4914
|
function: "0x1::aptos_governance::add_approved_script_hash_script",
|
|
@@ -4925,7 +4925,7 @@ export var aptos_governance;
|
|
|
4925
4925
|
entry.addApprovedScriptHashScript = addApprovedScriptHashScript;
|
|
4926
4926
|
async function createProposal(client, account, request, options) {
|
|
4927
4927
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4928
|
-
const transaction = await client.build.simple({
|
|
4928
|
+
const transaction = await client.transaction.build.simple({
|
|
4929
4929
|
sender: account.accountAddress,
|
|
4930
4930
|
data: {
|
|
4931
4931
|
function: "0x1::aptos_governance::create_proposal",
|
|
@@ -4942,7 +4942,7 @@ export var aptos_governance;
|
|
|
4942
4942
|
entry.createProposal = createProposal;
|
|
4943
4943
|
async function createProposalV2(client, account, request, options) {
|
|
4944
4944
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4945
|
-
const transaction = await client.build.simple({
|
|
4945
|
+
const transaction = await client.transaction.build.simple({
|
|
4946
4946
|
sender: account.accountAddress,
|
|
4947
4947
|
data: {
|
|
4948
4948
|
function: "0x1::aptos_governance::create_proposal_v2",
|
|
@@ -4959,7 +4959,7 @@ export var aptos_governance;
|
|
|
4959
4959
|
entry.createProposalV2 = createProposalV2;
|
|
4960
4960
|
async function partialVote(client, account, request, options) {
|
|
4961
4961
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4962
|
-
const transaction = await client.build.simple({
|
|
4962
|
+
const transaction = await client.transaction.build.simple({
|
|
4963
4963
|
sender: account.accountAddress,
|
|
4964
4964
|
data: {
|
|
4965
4965
|
function: "0x1::aptos_governance::partial_vote",
|
|
@@ -4976,7 +4976,7 @@ export var aptos_governance;
|
|
|
4976
4976
|
entry.partialVote = partialVote;
|
|
4977
4977
|
async function vote(client, account, request, options) {
|
|
4978
4978
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
4979
|
-
const transaction = await client.build.simple({
|
|
4979
|
+
const transaction = await client.transaction.build.simple({
|
|
4980
4980
|
sender: account.accountAddress,
|
|
4981
4981
|
data: {
|
|
4982
4982
|
function: "0x1::aptos_governance::vote",
|
|
@@ -5380,7 +5380,7 @@ export var multisig_account;
|
|
|
5380
5380
|
(function (entry) {
|
|
5381
5381
|
async function addOwner(client, account, request, options) {
|
|
5382
5382
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5383
|
-
const transaction = await client.build.simple({
|
|
5383
|
+
const transaction = await client.transaction.build.simple({
|
|
5384
5384
|
sender: account.accountAddress,
|
|
5385
5385
|
data: {
|
|
5386
5386
|
function: "0x1::multisig_account::add_owner",
|
|
@@ -5397,7 +5397,7 @@ export var multisig_account;
|
|
|
5397
5397
|
entry.addOwner = addOwner;
|
|
5398
5398
|
async function addOwners(client, account, request, options) {
|
|
5399
5399
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5400
|
-
const transaction = await client.build.simple({
|
|
5400
|
+
const transaction = await client.transaction.build.simple({
|
|
5401
5401
|
sender: account.accountAddress,
|
|
5402
5402
|
data: {
|
|
5403
5403
|
function: "0x1::multisig_account::add_owners",
|
|
@@ -5414,7 +5414,7 @@ export var multisig_account;
|
|
|
5414
5414
|
entry.addOwners = addOwners;
|
|
5415
5415
|
async function addOwnersAndUpdateSignaturesRequired(client, account, request, options) {
|
|
5416
5416
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5417
|
-
const transaction = await client.build.simple({
|
|
5417
|
+
const transaction = await client.transaction.build.simple({
|
|
5418
5418
|
sender: account.accountAddress,
|
|
5419
5419
|
data: {
|
|
5420
5420
|
function: "0x1::multisig_account::add_owners_and_update_signatures_required",
|
|
@@ -5431,7 +5431,7 @@ export var multisig_account;
|
|
|
5431
5431
|
entry.addOwnersAndUpdateSignaturesRequired = addOwnersAndUpdateSignaturesRequired;
|
|
5432
5432
|
async function approveTransaction(client, account, request, options) {
|
|
5433
5433
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5434
|
-
const transaction = await client.build.simple({
|
|
5434
|
+
const transaction = await client.transaction.build.simple({
|
|
5435
5435
|
sender: account.accountAddress,
|
|
5436
5436
|
data: {
|
|
5437
5437
|
function: "0x1::multisig_account::approve_transaction",
|
|
@@ -5448,7 +5448,7 @@ export var multisig_account;
|
|
|
5448
5448
|
entry.approveTransaction = approveTransaction;
|
|
5449
5449
|
async function create(client, account, request, options) {
|
|
5450
5450
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5451
|
-
const transaction = await client.build.simple({
|
|
5451
|
+
const transaction = await client.transaction.build.simple({
|
|
5452
5452
|
sender: account.accountAddress,
|
|
5453
5453
|
data: {
|
|
5454
5454
|
function: "0x1::multisig_account::create",
|
|
@@ -5465,7 +5465,7 @@ export var multisig_account;
|
|
|
5465
5465
|
entry.create = create;
|
|
5466
5466
|
async function createTransaction(client, account, request, options) {
|
|
5467
5467
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5468
|
-
const transaction = await client.build.simple({
|
|
5468
|
+
const transaction = await client.transaction.build.simple({
|
|
5469
5469
|
sender: account.accountAddress,
|
|
5470
5470
|
data: {
|
|
5471
5471
|
function: "0x1::multisig_account::create_transaction",
|
|
@@ -5482,7 +5482,7 @@ export var multisig_account;
|
|
|
5482
5482
|
entry.createTransaction = createTransaction;
|
|
5483
5483
|
async function createTransactionWithHash(client, account, request, options) {
|
|
5484
5484
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5485
|
-
const transaction = await client.build.simple({
|
|
5485
|
+
const transaction = await client.transaction.build.simple({
|
|
5486
5486
|
sender: account.accountAddress,
|
|
5487
5487
|
data: {
|
|
5488
5488
|
function: "0x1::multisig_account::create_transaction_with_hash",
|
|
@@ -5499,7 +5499,7 @@ export var multisig_account;
|
|
|
5499
5499
|
entry.createTransactionWithHash = createTransactionWithHash;
|
|
5500
5500
|
async function createWithExistingAccount(client, account, request, options) {
|
|
5501
5501
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5502
|
-
const transaction = await client.build.simple({
|
|
5502
|
+
const transaction = await client.transaction.build.simple({
|
|
5503
5503
|
sender: account.accountAddress,
|
|
5504
5504
|
data: {
|
|
5505
5505
|
function: "0x1::multisig_account::create_with_existing_account",
|
|
@@ -5516,7 +5516,7 @@ export var multisig_account;
|
|
|
5516
5516
|
entry.createWithExistingAccount = createWithExistingAccount;
|
|
5517
5517
|
async function createWithExistingAccountAndRevokeAuthKey(client, account, request, options) {
|
|
5518
5518
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5519
|
-
const transaction = await client.build.simple({
|
|
5519
|
+
const transaction = await client.transaction.build.simple({
|
|
5520
5520
|
sender: account.accountAddress,
|
|
5521
5521
|
data: {
|
|
5522
5522
|
function: "0x1::multisig_account::create_with_existing_account_and_revoke_auth_key",
|
|
@@ -5533,7 +5533,7 @@ export var multisig_account;
|
|
|
5533
5533
|
entry.createWithExistingAccountAndRevokeAuthKey = createWithExistingAccountAndRevokeAuthKey;
|
|
5534
5534
|
async function createWithOwners(client, account, request, options) {
|
|
5535
5535
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5536
|
-
const transaction = await client.build.simple({
|
|
5536
|
+
const transaction = await client.transaction.build.simple({
|
|
5537
5537
|
sender: account.accountAddress,
|
|
5538
5538
|
data: {
|
|
5539
5539
|
function: "0x1::multisig_account::create_with_owners",
|
|
@@ -5550,7 +5550,7 @@ export var multisig_account;
|
|
|
5550
5550
|
entry.createWithOwners = createWithOwners;
|
|
5551
5551
|
async function createWithOwnersThenRemoveBootstrapper(client, account, request, options) {
|
|
5552
5552
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5553
|
-
const transaction = await client.build.simple({
|
|
5553
|
+
const transaction = await client.transaction.build.simple({
|
|
5554
5554
|
sender: account.accountAddress,
|
|
5555
5555
|
data: {
|
|
5556
5556
|
function: "0x1::multisig_account::create_with_owners_then_remove_bootstrapper",
|
|
@@ -5567,7 +5567,7 @@ export var multisig_account;
|
|
|
5567
5567
|
entry.createWithOwnersThenRemoveBootstrapper = createWithOwnersThenRemoveBootstrapper;
|
|
5568
5568
|
async function executeRejectedTransaction(client, account, request, options) {
|
|
5569
5569
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5570
|
-
const transaction = await client.build.simple({
|
|
5570
|
+
const transaction = await client.transaction.build.simple({
|
|
5571
5571
|
sender: account.accountAddress,
|
|
5572
5572
|
data: {
|
|
5573
5573
|
function: "0x1::multisig_account::execute_rejected_transaction",
|
|
@@ -5584,7 +5584,7 @@ export var multisig_account;
|
|
|
5584
5584
|
entry.executeRejectedTransaction = executeRejectedTransaction;
|
|
5585
5585
|
async function rejectTransaction(client, account, request, options) {
|
|
5586
5586
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5587
|
-
const transaction = await client.build.simple({
|
|
5587
|
+
const transaction = await client.transaction.build.simple({
|
|
5588
5588
|
sender: account.accountAddress,
|
|
5589
5589
|
data: {
|
|
5590
5590
|
function: "0x1::multisig_account::reject_transaction",
|
|
@@ -5601,7 +5601,7 @@ export var multisig_account;
|
|
|
5601
5601
|
entry.rejectTransaction = rejectTransaction;
|
|
5602
5602
|
async function removeOwner(client, account, request, options) {
|
|
5603
5603
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5604
|
-
const transaction = await client.build.simple({
|
|
5604
|
+
const transaction = await client.transaction.build.simple({
|
|
5605
5605
|
sender: account.accountAddress,
|
|
5606
5606
|
data: {
|
|
5607
5607
|
function: "0x1::multisig_account::remove_owner",
|
|
@@ -5618,7 +5618,7 @@ export var multisig_account;
|
|
|
5618
5618
|
entry.removeOwner = removeOwner;
|
|
5619
5619
|
async function removeOwners(client, account, request, options) {
|
|
5620
5620
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5621
|
-
const transaction = await client.build.simple({
|
|
5621
|
+
const transaction = await client.transaction.build.simple({
|
|
5622
5622
|
sender: account.accountAddress,
|
|
5623
5623
|
data: {
|
|
5624
5624
|
function: "0x1::multisig_account::remove_owners",
|
|
@@ -5635,7 +5635,7 @@ export var multisig_account;
|
|
|
5635
5635
|
entry.removeOwners = removeOwners;
|
|
5636
5636
|
async function swapOwner(client, account, request, options) {
|
|
5637
5637
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5638
|
-
const transaction = await client.build.simple({
|
|
5638
|
+
const transaction = await client.transaction.build.simple({
|
|
5639
5639
|
sender: account.accountAddress,
|
|
5640
5640
|
data: {
|
|
5641
5641
|
function: "0x1::multisig_account::swap_owner",
|
|
@@ -5652,7 +5652,7 @@ export var multisig_account;
|
|
|
5652
5652
|
entry.swapOwner = swapOwner;
|
|
5653
5653
|
async function swapOwners(client, account, request, options) {
|
|
5654
5654
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5655
|
-
const transaction = await client.build.simple({
|
|
5655
|
+
const transaction = await client.transaction.build.simple({
|
|
5656
5656
|
sender: account.accountAddress,
|
|
5657
5657
|
data: {
|
|
5658
5658
|
function: "0x1::multisig_account::swap_owners",
|
|
@@ -5669,7 +5669,7 @@ export var multisig_account;
|
|
|
5669
5669
|
entry.swapOwners = swapOwners;
|
|
5670
5670
|
async function swapOwnersAndUpdateSignaturesRequired(client, account, request, options) {
|
|
5671
5671
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5672
|
-
const transaction = await client.build.simple({
|
|
5672
|
+
const transaction = await client.transaction.build.simple({
|
|
5673
5673
|
sender: account.accountAddress,
|
|
5674
5674
|
data: {
|
|
5675
5675
|
function: "0x1::multisig_account::swap_owners_and_update_signatures_required",
|
|
@@ -5686,7 +5686,7 @@ export var multisig_account;
|
|
|
5686
5686
|
entry.swapOwnersAndUpdateSignaturesRequired = swapOwnersAndUpdateSignaturesRequired;
|
|
5687
5687
|
async function updateMetadata(client, account, request, options) {
|
|
5688
5688
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5689
|
-
const transaction = await client.build.simple({
|
|
5689
|
+
const transaction = await client.transaction.build.simple({
|
|
5690
5690
|
sender: account.accountAddress,
|
|
5691
5691
|
data: {
|
|
5692
5692
|
function: "0x1::multisig_account::update_metadata",
|
|
@@ -5703,7 +5703,7 @@ export var multisig_account;
|
|
|
5703
5703
|
entry.updateMetadata = updateMetadata;
|
|
5704
5704
|
async function updateSignaturesRequired(client, account, request, options) {
|
|
5705
5705
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5706
|
-
const transaction = await client.build.simple({
|
|
5706
|
+
const transaction = await client.transaction.build.simple({
|
|
5707
5707
|
sender: account.accountAddress,
|
|
5708
5708
|
data: {
|
|
5709
5709
|
function: "0x1::multisig_account::update_signatures_required",
|
|
@@ -5720,7 +5720,7 @@ export var multisig_account;
|
|
|
5720
5720
|
entry.updateSignaturesRequired = updateSignaturesRequired;
|
|
5721
5721
|
async function voteTransanction(client, account, request, options) {
|
|
5722
5722
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5723
|
-
const transaction = await client.build.simple({
|
|
5723
|
+
const transaction = await client.transaction.build.simple({
|
|
5724
5724
|
sender: account.accountAddress,
|
|
5725
5725
|
data: {
|
|
5726
5726
|
function: "0x1::multisig_account::vote_transanction",
|
|
@@ -5947,7 +5947,7 @@ export var resource_account;
|
|
|
5947
5947
|
(function (entry) {
|
|
5948
5948
|
async function createResourceAccount(client, account, request, options) {
|
|
5949
5949
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5950
|
-
const transaction = await client.build.simple({
|
|
5950
|
+
const transaction = await client.transaction.build.simple({
|
|
5951
5951
|
sender: account.accountAddress,
|
|
5952
5952
|
data: {
|
|
5953
5953
|
function: "0x1::resource_account::create_resource_account",
|
|
@@ -5964,7 +5964,7 @@ export var resource_account;
|
|
|
5964
5964
|
entry.createResourceAccount = createResourceAccount;
|
|
5965
5965
|
async function createResourceAccountAndFund(client, account, request, options) {
|
|
5966
5966
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5967
|
-
const transaction = await client.build.simple({
|
|
5967
|
+
const transaction = await client.transaction.build.simple({
|
|
5968
5968
|
sender: account.accountAddress,
|
|
5969
5969
|
data: {
|
|
5970
5970
|
function: "0x1::resource_account::create_resource_account_and_fund",
|
|
@@ -5981,7 +5981,7 @@ export var resource_account;
|
|
|
5981
5981
|
entry.createResourceAccountAndFund = createResourceAccountAndFund;
|
|
5982
5982
|
async function createResourceAccountAndPublishPackage(client, account, request, options) {
|
|
5983
5983
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5984
|
-
const transaction = await client.build.simple({
|
|
5984
|
+
const transaction = await client.transaction.build.simple({
|
|
5985
5985
|
sender: account.accountAddress,
|
|
5986
5986
|
data: {
|
|
5987
5987
|
function: "0x1::resource_account::create_resource_account_and_publish_package",
|
|
@@ -6148,7 +6148,7 @@ export var staking_contract;
|
|
|
6148
6148
|
(function (entry) {
|
|
6149
6149
|
async function addStake(client, account, request, options) {
|
|
6150
6150
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
6151
|
-
const transaction = await client.build.simple({
|
|
6151
|
+
const transaction = await client.transaction.build.simple({
|
|
6152
6152
|
sender: account.accountAddress,
|
|
6153
6153
|
data: {
|
|
6154
6154
|
function: "0x1::staking_contract::add_stake",
|
|
@@ -6165,7 +6165,7 @@ export var staking_contract;
|
|
|
6165
6165
|
entry.addStake = addStake;
|
|
6166
6166
|
async function createStakingContract(client, account, request, options) {
|
|
6167
6167
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
6168
|
-
const transaction = await client.build.simple({
|
|
6168
|
+
const transaction = await client.transaction.build.simple({
|
|
6169
6169
|
sender: account.accountAddress,
|
|
6170
6170
|
data: {
|
|
6171
6171
|
function: "0x1::staking_contract::create_staking_contract",
|
|
@@ -6182,7 +6182,7 @@ export var staking_contract;
|
|
|
6182
6182
|
entry.createStakingContract = createStakingContract;
|
|
6183
6183
|
async function distribute(client, account, request, options) {
|
|
6184
6184
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
6185
|
-
const transaction = await client.build.simple({
|
|
6185
|
+
const transaction = await client.transaction.build.simple({
|
|
6186
6186
|
sender: account.accountAddress,
|
|
6187
6187
|
data: {
|
|
6188
6188
|
function: "0x1::staking_contract::distribute",
|
|
@@ -6199,7 +6199,7 @@ export var staking_contract;
|
|
|
6199
6199
|
entry.distribute = distribute;
|
|
6200
6200
|
async function requestCommission(client, account, request, options) {
|
|
6201
6201
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
6202
|
-
const transaction = await client.build.simple({
|
|
6202
|
+
const transaction = await client.transaction.build.simple({
|
|
6203
6203
|
sender: account.accountAddress,
|
|
6204
6204
|
data: {
|
|
6205
6205
|
function: "0x1::staking_contract::request_commission",
|
|
@@ -6216,7 +6216,7 @@ export var staking_contract;
|
|
|
6216
6216
|
entry.requestCommission = requestCommission;
|
|
6217
6217
|
async function resetLockup(client, account, request, options) {
|
|
6218
6218
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
6219
|
-
const transaction = await client.build.simple({
|
|
6219
|
+
const transaction = await client.transaction.build.simple({
|
|
6220
6220
|
sender: account.accountAddress,
|
|
6221
6221
|
data: {
|
|
6222
6222
|
function: "0x1::staking_contract::reset_lockup",
|
|
@@ -6233,7 +6233,7 @@ export var staking_contract;
|
|
|
6233
6233
|
entry.resetLockup = resetLockup;
|
|
6234
6234
|
async function setBeneficiaryForOperator(client, account, request, options) {
|
|
6235
6235
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
6236
|
-
const transaction = await client.build.simple({
|
|
6236
|
+
const transaction = await client.transaction.build.simple({
|
|
6237
6237
|
sender: account.accountAddress,
|
|
6238
6238
|
data: {
|
|
6239
6239
|
function: "0x1::staking_contract::set_beneficiary_for_operator",
|
|
@@ -6250,7 +6250,7 @@ export var staking_contract;
|
|
|
6250
6250
|
entry.setBeneficiaryForOperator = setBeneficiaryForOperator;
|
|
6251
6251
|
async function switchOperator(client, account, request, options) {
|
|
6252
6252
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
6253
|
-
const transaction = await client.build.simple({
|
|
6253
|
+
const transaction = await client.transaction.build.simple({
|
|
6254
6254
|
sender: account.accountAddress,
|
|
6255
6255
|
data: {
|
|
6256
6256
|
function: "0x1::staking_contract::switch_operator",
|
|
@@ -6267,7 +6267,7 @@ export var staking_contract;
|
|
|
6267
6267
|
entry.switchOperator = switchOperator;
|
|
6268
6268
|
async function switchOperatorWithSameCommission(client, account, request, options) {
|
|
6269
6269
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
6270
|
-
const transaction = await client.build.simple({
|
|
6270
|
+
const transaction = await client.transaction.build.simple({
|
|
6271
6271
|
sender: account.accountAddress,
|
|
6272
6272
|
data: {
|
|
6273
6273
|
function: "0x1::staking_contract::switch_operator_with_same_commission",
|
|
@@ -6284,7 +6284,7 @@ export var staking_contract;
|
|
|
6284
6284
|
entry.switchOperatorWithSameCommission = switchOperatorWithSameCommission;
|
|
6285
6285
|
async function unlockRewards(client, account, request, options) {
|
|
6286
6286
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
6287
|
-
const transaction = await client.build.simple({
|
|
6287
|
+
const transaction = await client.transaction.build.simple({
|
|
6288
6288
|
sender: account.accountAddress,
|
|
6289
6289
|
data: {
|
|
6290
6290
|
function: "0x1::staking_contract::unlock_rewards",
|
|
@@ -6301,7 +6301,7 @@ export var staking_contract;
|
|
|
6301
6301
|
entry.unlockRewards = unlockRewards;
|
|
6302
6302
|
async function unlockStake(client, account, request, options) {
|
|
6303
6303
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
6304
|
-
const transaction = await client.build.simple({
|
|
6304
|
+
const transaction = await client.transaction.build.simple({
|
|
6305
6305
|
sender: account.accountAddress,
|
|
6306
6306
|
data: {
|
|
6307
6307
|
function: "0x1::staking_contract::unlock_stake",
|
|
@@ -6318,7 +6318,7 @@ export var staking_contract;
|
|
|
6318
6318
|
entry.unlockStake = unlockStake;
|
|
6319
6319
|
async function updateCommision(client, account, request, options) {
|
|
6320
6320
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
6321
|
-
const transaction = await client.build.simple({
|
|
6321
|
+
const transaction = await client.transaction.build.simple({
|
|
6322
6322
|
sender: account.accountAddress,
|
|
6323
6323
|
data: {
|
|
6324
6324
|
function: "0x1::staking_contract::update_commision",
|
|
@@ -6335,7 +6335,7 @@ export var staking_contract;
|
|
|
6335
6335
|
entry.updateCommision = updateCommision;
|
|
6336
6336
|
async function updateVoter(client, account, request, options) {
|
|
6337
6337
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
6338
|
-
const transaction = await client.build.simple({
|
|
6338
|
+
const transaction = await client.transaction.build.simple({
|
|
6339
6339
|
sender: account.accountAddress,
|
|
6340
6340
|
data: {
|
|
6341
6341
|
function: "0x1::staking_contract::update_voter",
|
|
@@ -6601,7 +6601,7 @@ export var primary_fungible_store;
|
|
|
6601
6601
|
(function (entry) {
|
|
6602
6602
|
async function transfer(client, account, request, options) {
|
|
6603
6603
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
6604
|
-
const transaction = await client.build.simple({
|
|
6604
|
+
const transaction = await client.transaction.build.simple({
|
|
6605
6605
|
sender: account.accountAddress,
|
|
6606
6606
|
data: {
|
|
6607
6607
|
function: "0x1::primary_fungible_store::transfer",
|