@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/src/builtin/0x3.ts
CHANGED
|
@@ -433,7 +433,7 @@ export namespace token {
|
|
|
433
433
|
options?: InputGenerateTransactionOptions,
|
|
434
434
|
): Promise<PendingTransactionResponse> {
|
|
435
435
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
436
|
-
const transaction = await client.build.simple({
|
|
436
|
+
const transaction = await client.transaction.build.simple({
|
|
437
437
|
sender: account.accountAddress,
|
|
438
438
|
data: {
|
|
439
439
|
function: "0x3::token::burn",
|
|
@@ -457,7 +457,7 @@ export namespace token {
|
|
|
457
457
|
options?: InputGenerateTransactionOptions,
|
|
458
458
|
): Promise<PendingTransactionResponse> {
|
|
459
459
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
460
|
-
const transaction = await client.build.simple({
|
|
460
|
+
const transaction = await client.transaction.build.simple({
|
|
461
461
|
sender: account.accountAddress,
|
|
462
462
|
data: {
|
|
463
463
|
function: "0x3::token::burn_by_creator",
|
|
@@ -482,7 +482,7 @@ export namespace token {
|
|
|
482
482
|
options?: InputGenerateTransactionOptions,
|
|
483
483
|
): Promise<PendingTransactionResponse> {
|
|
484
484
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
485
|
-
const transaction = await client.build.simple({
|
|
485
|
+
const transaction = await client.transaction.build.simple({
|
|
486
486
|
sender: account.accountAddress,
|
|
487
487
|
data: {
|
|
488
488
|
function: "0x3::token::create_collection_script",
|
|
@@ -521,7 +521,7 @@ export namespace token {
|
|
|
521
521
|
options?: InputGenerateTransactionOptions,
|
|
522
522
|
): Promise<PendingTransactionResponse> {
|
|
523
523
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
524
|
-
const transaction = await client.build.simple({
|
|
524
|
+
const transaction = await client.transaction.build.simple({
|
|
525
525
|
sender: account.accountAddress,
|
|
526
526
|
data: {
|
|
527
527
|
function: "0x3::token::create_token_script",
|
|
@@ -553,7 +553,7 @@ export namespace token {
|
|
|
553
553
|
options?: InputGenerateTransactionOptions,
|
|
554
554
|
): Promise<PendingTransactionResponse> {
|
|
555
555
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
556
|
-
const transaction = await client.build.simple({
|
|
556
|
+
const transaction = await client.transaction.build.simple({
|
|
557
557
|
sender: account.accountAddress,
|
|
558
558
|
data: {
|
|
559
559
|
function: "0x3::token::direct_transfer_script",
|
|
@@ -578,7 +578,7 @@ export namespace token {
|
|
|
578
578
|
options?: InputGenerateTransactionOptions,
|
|
579
579
|
): Promise<PendingTransactionResponse> {
|
|
580
580
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
581
|
-
const transaction = await client.build.simple({
|
|
581
|
+
const transaction = await client.transaction.build.simple({
|
|
582
582
|
sender: account.accountAddress,
|
|
583
583
|
data: {
|
|
584
584
|
function: "0x3::token::initialize_token_script",
|
|
@@ -603,7 +603,7 @@ export namespace token {
|
|
|
603
603
|
options?: InputGenerateTransactionOptions,
|
|
604
604
|
): Promise<PendingTransactionResponse> {
|
|
605
605
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
606
|
-
const transaction = await client.build.simple({
|
|
606
|
+
const transaction = await client.transaction.build.simple({
|
|
607
607
|
sender: account.accountAddress,
|
|
608
608
|
data: {
|
|
609
609
|
function: "0x3::token::mint_script",
|
|
@@ -638,7 +638,7 @@ export namespace token {
|
|
|
638
638
|
options?: InputGenerateTransactionOptions,
|
|
639
639
|
): Promise<PendingTransactionResponse> {
|
|
640
640
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
641
|
-
const transaction = await client.build.simple({
|
|
641
|
+
const transaction = await client.transaction.build.simple({
|
|
642
642
|
sender: account.accountAddress,
|
|
643
643
|
data: {
|
|
644
644
|
function: "0x3::token::mutate_token_properties",
|
|
@@ -663,7 +663,7 @@ export namespace token {
|
|
|
663
663
|
options?: InputGenerateTransactionOptions,
|
|
664
664
|
): Promise<PendingTransactionResponse> {
|
|
665
665
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
666
|
-
const transaction = await client.build.simple({
|
|
666
|
+
const transaction = await client.transaction.build.simple({
|
|
667
667
|
sender: account.accountAddress,
|
|
668
668
|
data: {
|
|
669
669
|
function: "0x3::token::opt_in_direct_transfer",
|
|
@@ -695,7 +695,7 @@ export namespace token {
|
|
|
695
695
|
options?: InputGenerateTransactionOptions,
|
|
696
696
|
): Promise<PendingTransactionResponse> {
|
|
697
697
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
698
|
-
const transaction = await client.build.simple({
|
|
698
|
+
const transaction = await client.transaction.build.simple({
|
|
699
699
|
sender: account.accountAddress,
|
|
700
700
|
data: {
|
|
701
701
|
function: "0x3::token::transfer_with_opt_in",
|
|
@@ -930,7 +930,7 @@ export namespace token_coin_swap {
|
|
|
930
930
|
options?: InputGenerateTransactionOptions,
|
|
931
931
|
): Promise<PendingTransactionResponse> {
|
|
932
932
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
933
|
-
const transaction = await client.build.simple({
|
|
933
|
+
const transaction = await client.transaction.build.simple({
|
|
934
934
|
sender: account.accountAddress,
|
|
935
935
|
data: {
|
|
936
936
|
function: "0x3::token_coin_swap::list_token_for_swap",
|
|
@@ -1077,7 +1077,7 @@ export namespace token_transfers {
|
|
|
1077
1077
|
options?: InputGenerateTransactionOptions,
|
|
1078
1078
|
): Promise<PendingTransactionResponse> {
|
|
1079
1079
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1080
|
-
const transaction = await client.build.simple({
|
|
1080
|
+
const transaction = await client.transaction.build.simple({
|
|
1081
1081
|
sender: account.accountAddress,
|
|
1082
1082
|
data: {
|
|
1083
1083
|
function: "0x3::token_transfers::cancel_offer_script",
|
|
@@ -1109,7 +1109,7 @@ export namespace token_transfers {
|
|
|
1109
1109
|
options?: InputGenerateTransactionOptions,
|
|
1110
1110
|
): Promise<PendingTransactionResponse> {
|
|
1111
1111
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1112
|
-
const transaction = await client.build.simple({
|
|
1112
|
+
const transaction = await client.transaction.build.simple({
|
|
1113
1113
|
sender: account.accountAddress,
|
|
1114
1114
|
data: {
|
|
1115
1115
|
function: "0x3::token_transfers::claim_script",
|
|
@@ -1142,7 +1142,7 @@ export namespace token_transfers {
|
|
|
1142
1142
|
options?: InputGenerateTransactionOptions,
|
|
1143
1143
|
): Promise<PendingTransactionResponse> {
|
|
1144
1144
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1145
|
-
const transaction = await client.build.simple({
|
|
1145
|
+
const transaction = await client.transaction.build.simple({
|
|
1146
1146
|
sender: account.accountAddress,
|
|
1147
1147
|
data: {
|
|
1148
1148
|
function: "0x3::token_transfers::offer_script",
|
package/src/builtin/0x4.ts
CHANGED
|
@@ -600,7 +600,7 @@ export namespace aptos_token {
|
|
|
600
600
|
options?: InputGenerateTransactionOptions,
|
|
601
601
|
): Promise<PendingTransactionResponse> {
|
|
602
602
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
603
|
-
const transaction = await client.build.simple({
|
|
603
|
+
const transaction = await client.transaction.build.simple({
|
|
604
604
|
sender: account.accountAddress,
|
|
605
605
|
data: {
|
|
606
606
|
function: "0x4::aptos_token::add_property",
|
|
@@ -624,7 +624,7 @@ export namespace aptos_token {
|
|
|
624
624
|
options?: InputGenerateTransactionOptions,
|
|
625
625
|
): Promise<PendingTransactionResponse> {
|
|
626
626
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
627
|
-
const transaction = await client.build.simple({
|
|
627
|
+
const transaction = await client.transaction.build.simple({
|
|
628
628
|
sender: account.accountAddress,
|
|
629
629
|
data: {
|
|
630
630
|
function: "0x4::aptos_token::add_typed_property",
|
|
@@ -649,7 +649,7 @@ export namespace aptos_token {
|
|
|
649
649
|
options?: InputGenerateTransactionOptions,
|
|
650
650
|
): Promise<PendingTransactionResponse> {
|
|
651
651
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
652
|
-
const transaction = await client.build.simple({
|
|
652
|
+
const transaction = await client.transaction.build.simple({
|
|
653
653
|
sender: account.accountAddress,
|
|
654
654
|
data: {
|
|
655
655
|
function: "0x4::aptos_token::burn",
|
|
@@ -689,7 +689,7 @@ export namespace aptos_token {
|
|
|
689
689
|
options?: InputGenerateTransactionOptions,
|
|
690
690
|
): Promise<PendingTransactionResponse> {
|
|
691
691
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
692
|
-
const transaction = await client.build.simple({
|
|
692
|
+
const transaction = await client.transaction.build.simple({
|
|
693
693
|
sender: account.accountAddress,
|
|
694
694
|
data: {
|
|
695
695
|
function: "0x4::aptos_token::create_collection",
|
|
@@ -714,7 +714,7 @@ export namespace aptos_token {
|
|
|
714
714
|
options?: InputGenerateTransactionOptions,
|
|
715
715
|
): Promise<PendingTransactionResponse> {
|
|
716
716
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
717
|
-
const transaction = await client.build.simple({
|
|
717
|
+
const transaction = await client.transaction.build.simple({
|
|
718
718
|
sender: account.accountAddress,
|
|
719
719
|
data: {
|
|
720
720
|
function: "0x4::aptos_token::freeze_transfer",
|
|
@@ -747,7 +747,7 @@ export namespace aptos_token {
|
|
|
747
747
|
options?: InputGenerateTransactionOptions,
|
|
748
748
|
): Promise<PendingTransactionResponse> {
|
|
749
749
|
const coder = 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: "0x4::aptos_token::mint",
|
|
@@ -780,7 +780,7 @@ export namespace aptos_token {
|
|
|
780
780
|
options?: InputGenerateTransactionOptions,
|
|
781
781
|
): Promise<PendingTransactionResponse> {
|
|
782
782
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
783
|
-
const transaction = await client.build.simple({
|
|
783
|
+
const transaction = await client.transaction.build.simple({
|
|
784
784
|
sender: account.accountAddress,
|
|
785
785
|
data: {
|
|
786
786
|
function: "0x4::aptos_token::mint_soul_bound",
|
|
@@ -805,7 +805,7 @@ export namespace aptos_token {
|
|
|
805
805
|
options?: InputGenerateTransactionOptions,
|
|
806
806
|
): Promise<PendingTransactionResponse> {
|
|
807
807
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
808
|
-
const transaction = await client.build.simple({
|
|
808
|
+
const transaction = await client.transaction.build.simple({
|
|
809
809
|
sender: account.accountAddress,
|
|
810
810
|
data: {
|
|
811
811
|
function: "0x4::aptos_token::remove_property",
|
|
@@ -829,7 +829,7 @@ export namespace aptos_token {
|
|
|
829
829
|
options?: InputGenerateTransactionOptions,
|
|
830
830
|
): Promise<PendingTransactionResponse> {
|
|
831
831
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
832
|
-
const transaction = await client.build.simple({
|
|
832
|
+
const transaction = await client.transaction.build.simple({
|
|
833
833
|
sender: account.accountAddress,
|
|
834
834
|
data: {
|
|
835
835
|
function: "0x4::aptos_token::set_collection_description",
|
|
@@ -859,7 +859,7 @@ export namespace aptos_token {
|
|
|
859
859
|
options?: InputGenerateTransactionOptions,
|
|
860
860
|
): Promise<PendingTransactionResponse> {
|
|
861
861
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
862
|
-
const transaction = await client.build.simple({
|
|
862
|
+
const transaction = await client.transaction.build.simple({
|
|
863
863
|
sender: account.accountAddress,
|
|
864
864
|
data: {
|
|
865
865
|
function: "0x4::aptos_token::set_collection_royalties_call",
|
|
@@ -883,7 +883,7 @@ export namespace aptos_token {
|
|
|
883
883
|
options?: InputGenerateTransactionOptions,
|
|
884
884
|
): Promise<PendingTransactionResponse> {
|
|
885
885
|
const coder = 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: "0x4::aptos_token::set_collection_uri",
|
|
@@ -907,7 +907,7 @@ export namespace aptos_token {
|
|
|
907
907
|
options?: InputGenerateTransactionOptions,
|
|
908
908
|
): Promise<PendingTransactionResponse> {
|
|
909
909
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
910
|
-
const transaction = await client.build.simple({
|
|
910
|
+
const transaction = await client.transaction.build.simple({
|
|
911
911
|
sender: account.accountAddress,
|
|
912
912
|
data: {
|
|
913
913
|
function: "0x4::aptos_token::set_description",
|
|
@@ -931,7 +931,7 @@ export namespace aptos_token {
|
|
|
931
931
|
options?: InputGenerateTransactionOptions,
|
|
932
932
|
): Promise<PendingTransactionResponse> {
|
|
933
933
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
934
|
-
const transaction = await client.build.simple({
|
|
934
|
+
const transaction = await client.transaction.build.simple({
|
|
935
935
|
sender: account.accountAddress,
|
|
936
936
|
data: {
|
|
937
937
|
function: "0x4::aptos_token::set_name",
|
|
@@ -955,7 +955,7 @@ export namespace aptos_token {
|
|
|
955
955
|
options?: InputGenerateTransactionOptions,
|
|
956
956
|
): Promise<PendingTransactionResponse> {
|
|
957
957
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
958
|
-
const transaction = await client.build.simple({
|
|
958
|
+
const transaction = await client.transaction.build.simple({
|
|
959
959
|
sender: account.accountAddress,
|
|
960
960
|
data: {
|
|
961
961
|
function: "0x4::aptos_token::set_uri",
|
|
@@ -979,7 +979,7 @@ export namespace aptos_token {
|
|
|
979
979
|
options?: InputGenerateTransactionOptions,
|
|
980
980
|
): Promise<PendingTransactionResponse> {
|
|
981
981
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
982
|
-
const transaction = await client.build.simple({
|
|
982
|
+
const transaction = await client.transaction.build.simple({
|
|
983
983
|
sender: account.accountAddress,
|
|
984
984
|
data: {
|
|
985
985
|
function: "0x4::aptos_token::unfreeze_transfer",
|
|
@@ -1003,7 +1003,7 @@ export namespace aptos_token {
|
|
|
1003
1003
|
options?: InputGenerateTransactionOptions,
|
|
1004
1004
|
): Promise<PendingTransactionResponse> {
|
|
1005
1005
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1006
|
-
const transaction = await client.build.simple({
|
|
1006
|
+
const transaction = await client.transaction.build.simple({
|
|
1007
1007
|
sender: account.accountAddress,
|
|
1008
1008
|
data: {
|
|
1009
1009
|
function: "0x4::aptos_token::update_property",
|
|
@@ -1027,7 +1027,7 @@ export namespace aptos_token {
|
|
|
1027
1027
|
options?: InputGenerateTransactionOptions,
|
|
1028
1028
|
): Promise<PendingTransactionResponse> {
|
|
1029
1029
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1030
|
-
const transaction = await client.build.simple({
|
|
1030
|
+
const transaction = await client.transaction.build.simple({
|
|
1031
1031
|
sender: account.accountAddress,
|
|
1032
1032
|
data: {
|
|
1033
1033
|
function: "0x4::aptos_token::update_typed_property",
|
package/src/codegen/codegen.ts
CHANGED
|
@@ -132,7 +132,7 @@ export class AptosCodegen extends AbstractCodegen<MoveModuleBytecode, Event | Mo
|
|
|
132
132
|
options?: InputGenerateTransactionOptions
|
|
133
133
|
): Promise<PendingTransactionResponse> {
|
|
134
134
|
const coder = defaultMoveCoder(client.config.fullnode)
|
|
135
|
-
const transaction = await client.build.simple({
|
|
135
|
+
const transaction = await client.transaction.build.simple({
|
|
136
136
|
sender: account.accountAddress,
|
|
137
137
|
data: {
|
|
138
138
|
function: "${module.address}::${module.name}::${func.name}",
|
package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts
CHANGED
|
@@ -63,7 +63,7 @@ export namespace init {
|
|
|
63
63
|
options?: InputGenerateTransactionOptions,
|
|
64
64
|
): Promise<PendingTransactionResponse> {
|
|
65
65
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
66
|
-
const transaction = await client.build.simple({
|
|
66
|
+
const transaction = await client.transaction.build.simple({
|
|
67
67
|
sender: account.accountAddress,
|
|
68
68
|
data: {
|
|
69
69
|
function:
|
|
@@ -111,7 +111,7 @@ export namespace package_ {
|
|
|
111
111
|
options?: InputGenerateTransactionOptions,
|
|
112
112
|
): Promise<PendingTransactionResponse> {
|
|
113
113
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
114
|
-
const transaction = await client.build.simple({
|
|
114
|
+
const transaction = await client.transaction.build.simple({
|
|
115
115
|
sender: account.accountAddress,
|
|
116
116
|
data: {
|
|
117
117
|
function:
|
|
@@ -198,7 +198,7 @@ export namespace base_pool {
|
|
|
198
198
|
options?: InputGenerateTransactionOptions,
|
|
199
199
|
): Promise<PendingTransactionResponse> {
|
|
200
200
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
201
|
-
const transaction = await client.build.simple({
|
|
201
|
+
const transaction = await client.transaction.build.simple({
|
|
202
202
|
sender: account.accountAddress,
|
|
203
203
|
data: {
|
|
204
204
|
function:
|
|
@@ -701,7 +701,7 @@ export namespace stable_pool {
|
|
|
701
701
|
options?: InputGenerateTransactionOptions,
|
|
702
702
|
): Promise<PendingTransactionResponse> {
|
|
703
703
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
704
|
-
const transaction = await client.build.simple({
|
|
704
|
+
const transaction = await client.transaction.build.simple({
|
|
705
705
|
sender: account.accountAddress,
|
|
706
706
|
data: {
|
|
707
707
|
function:
|
|
@@ -726,7 +726,7 @@ export namespace stable_pool {
|
|
|
726
726
|
options?: InputGenerateTransactionOptions,
|
|
727
727
|
): Promise<PendingTransactionResponse> {
|
|
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:
|
|
@@ -756,7 +756,7 @@ export namespace stable_pool {
|
|
|
756
756
|
options?: InputGenerateTransactionOptions,
|
|
757
757
|
): Promise<PendingTransactionResponse> {
|
|
758
758
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
759
|
-
const transaction = await client.build.simple({
|
|
759
|
+
const transaction = await client.transaction.build.simple({
|
|
760
760
|
sender: account.accountAddress,
|
|
761
761
|
data: {
|
|
762
762
|
function:
|
|
@@ -786,7 +786,7 @@ export namespace stable_pool {
|
|
|
786
786
|
options?: InputGenerateTransactionOptions,
|
|
787
787
|
): Promise<PendingTransactionResponse> {
|
|
788
788
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
789
|
-
const transaction = await client.build.simple({
|
|
789
|
+
const transaction = await client.transaction.build.simple({
|
|
790
790
|
sender: account.accountAddress,
|
|
791
791
|
data: {
|
|
792
792
|
function:
|
|
@@ -1046,7 +1046,7 @@ export namespace fees_scripts {
|
|
|
1046
1046
|
options?: InputGenerateTransactionOptions,
|
|
1047
1047
|
): Promise<PendingTransactionResponse> {
|
|
1048
1048
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1049
|
-
const transaction = await client.build.simple({
|
|
1049
|
+
const transaction = await client.transaction.build.simple({
|
|
1050
1050
|
sender: account.accountAddress,
|
|
1051
1051
|
data: {
|
|
1052
1052
|
function:
|
|
@@ -1868,7 +1868,7 @@ export namespace weighted_pool {
|
|
|
1868
1868
|
options?: InputGenerateTransactionOptions,
|
|
1869
1869
|
): Promise<PendingTransactionResponse> {
|
|
1870
1870
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1871
|
-
const transaction = await client.build.simple({
|
|
1871
|
+
const transaction = await client.transaction.build.simple({
|
|
1872
1872
|
sender: account.accountAddress,
|
|
1873
1873
|
data: {
|
|
1874
1874
|
function:
|
|
@@ -1911,7 +1911,7 @@ export namespace weighted_pool {
|
|
|
1911
1911
|
options?: InputGenerateTransactionOptions,
|
|
1912
1912
|
): Promise<PendingTransactionResponse> {
|
|
1913
1913
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1914
|
-
const transaction = await client.build.simple({
|
|
1914
|
+
const transaction = await client.transaction.build.simple({
|
|
1915
1915
|
sender: account.accountAddress,
|
|
1916
1916
|
data: {
|
|
1917
1917
|
function:
|
|
@@ -1954,7 +1954,7 @@ export namespace weighted_pool {
|
|
|
1954
1954
|
options?: InputGenerateTransactionOptions,
|
|
1955
1955
|
): Promise<PendingTransactionResponse> {
|
|
1956
1956
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
1957
|
-
const transaction = await client.build.simple({
|
|
1957
|
+
const transaction = await client.transaction.build.simple({
|
|
1958
1958
|
sender: account.accountAddress,
|
|
1959
1959
|
data: {
|
|
1960
1960
|
function:
|
|
@@ -2287,7 +2287,7 @@ export namespace multi_hop_scripts {
|
|
|
2287
2287
|
options?: InputGenerateTransactionOptions,
|
|
2288
2288
|
): Promise<PendingTransactionResponse> {
|
|
2289
2289
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2290
|
-
const transaction = await client.build.simple({
|
|
2290
|
+
const transaction = await client.transaction.build.simple({
|
|
2291
2291
|
sender: account.accountAddress,
|
|
2292
2292
|
data: {
|
|
2293
2293
|
function:
|
|
@@ -2370,7 +2370,7 @@ export namespace multi_hop_scripts {
|
|
|
2370
2370
|
options?: InputGenerateTransactionOptions,
|
|
2371
2371
|
): Promise<PendingTransactionResponse> {
|
|
2372
2372
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2373
|
-
const transaction = await client.build.simple({
|
|
2373
|
+
const transaction = await client.transaction.build.simple({
|
|
2374
2374
|
sender: account.accountAddress,
|
|
2375
2375
|
data: {
|
|
2376
2376
|
function:
|
|
@@ -2401,7 +2401,7 @@ export namespace stable_pool_scripts {
|
|
|
2401
2401
|
options?: InputGenerateTransactionOptions,
|
|
2402
2402
|
): Promise<PendingTransactionResponse> {
|
|
2403
2403
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2404
|
-
const transaction = await client.build.simple({
|
|
2404
|
+
const transaction = await client.transaction.build.simple({
|
|
2405
2405
|
sender: account.accountAddress,
|
|
2406
2406
|
data: {
|
|
2407
2407
|
function:
|
|
@@ -2431,7 +2431,7 @@ export namespace stable_pool_scripts {
|
|
|
2431
2431
|
options?: InputGenerateTransactionOptions,
|
|
2432
2432
|
): Promise<PendingTransactionResponse> {
|
|
2433
2433
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2434
|
-
const transaction = await client.build.simple({
|
|
2434
|
+
const transaction = await client.transaction.build.simple({
|
|
2435
2435
|
sender: account.accountAddress,
|
|
2436
2436
|
data: {
|
|
2437
2437
|
function:
|
|
@@ -2461,7 +2461,7 @@ export namespace stable_pool_scripts {
|
|
|
2461
2461
|
options?: InputGenerateTransactionOptions,
|
|
2462
2462
|
): Promise<PendingTransactionResponse> {
|
|
2463
2463
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2464
|
-
const transaction = await client.build.simple({
|
|
2464
|
+
const transaction = await client.transaction.build.simple({
|
|
2465
2465
|
sender: account.accountAddress,
|
|
2466
2466
|
data: {
|
|
2467
2467
|
function:
|
|
@@ -2500,7 +2500,7 @@ export namespace stable_pool_scripts {
|
|
|
2500
2500
|
options?: InputGenerateTransactionOptions,
|
|
2501
2501
|
): Promise<PendingTransactionResponse> {
|
|
2502
2502
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2503
|
-
const transaction = await client.build.simple({
|
|
2503
|
+
const transaction = await client.transaction.build.simple({
|
|
2504
2504
|
sender: account.accountAddress,
|
|
2505
2505
|
data: {
|
|
2506
2506
|
function:
|
|
@@ -2539,7 +2539,7 @@ export namespace stable_pool_scripts {
|
|
|
2539
2539
|
options?: InputGenerateTransactionOptions,
|
|
2540
2540
|
): Promise<PendingTransactionResponse> {
|
|
2541
2541
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2542
|
-
const transaction = await client.build.simple({
|
|
2542
|
+
const transaction = await client.transaction.build.simple({
|
|
2543
2543
|
sender: account.accountAddress,
|
|
2544
2544
|
data: {
|
|
2545
2545
|
function:
|
|
@@ -2597,7 +2597,7 @@ export namespace weighted_pool_scripts {
|
|
|
2597
2597
|
options?: InputGenerateTransactionOptions,
|
|
2598
2598
|
): Promise<PendingTransactionResponse> {
|
|
2599
2599
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2600
|
-
const transaction = await client.build.simple({
|
|
2600
|
+
const transaction = await client.transaction.build.simple({
|
|
2601
2601
|
sender: account.accountAddress,
|
|
2602
2602
|
data: {
|
|
2603
2603
|
function:
|
|
@@ -2640,7 +2640,7 @@ export namespace weighted_pool_scripts {
|
|
|
2640
2640
|
options?: InputGenerateTransactionOptions,
|
|
2641
2641
|
): Promise<PendingTransactionResponse> {
|
|
2642
2642
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2643
|
-
const transaction = await client.build.simple({
|
|
2643
|
+
const transaction = await client.transaction.build.simple({
|
|
2644
2644
|
sender: account.accountAddress,
|
|
2645
2645
|
data: {
|
|
2646
2646
|
function:
|
|
@@ -2683,7 +2683,7 @@ export namespace weighted_pool_scripts {
|
|
|
2683
2683
|
options?: InputGenerateTransactionOptions,
|
|
2684
2684
|
): Promise<PendingTransactionResponse> {
|
|
2685
2685
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2686
|
-
const transaction = await client.build.simple({
|
|
2686
|
+
const transaction = await client.transaction.build.simple({
|
|
2687
2687
|
sender: account.accountAddress,
|
|
2688
2688
|
data: {
|
|
2689
2689
|
function:
|
|
@@ -2730,7 +2730,7 @@ export namespace weighted_pool_scripts {
|
|
|
2730
2730
|
options?: InputGenerateTransactionOptions,
|
|
2731
2731
|
): Promise<PendingTransactionResponse> {
|
|
2732
2732
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2733
|
-
const transaction = await client.build.simple({
|
|
2733
|
+
const transaction = await client.transaction.build.simple({
|
|
2734
2734
|
sender: account.accountAddress,
|
|
2735
2735
|
data: {
|
|
2736
2736
|
function:
|
|
@@ -2777,7 +2777,7 @@ export namespace weighted_pool_scripts {
|
|
|
2777
2777
|
options?: InputGenerateTransactionOptions,
|
|
2778
2778
|
): Promise<PendingTransactionResponse> {
|
|
2779
2779
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
2780
|
-
const transaction = await client.build.simple({
|
|
2780
|
+
const transaction = await client.transaction.build.simple({
|
|
2781
2781
|
sender: account.accountAddress,
|
|
2782
2782
|
data: {
|
|
2783
2783
|
function:
|