@typemove/aptos 1.10.1-rc.1 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/cjs/account-resource-client.js +2 -2
  2. package/dist/cjs/account-resource-client.js.map +1 -1
  3. package/dist/cjs/builtin/0x1.js +339 -339
  4. package/dist/cjs/builtin/0x1.js.map +1 -1
  5. package/dist/cjs/builtin/0x3.js +15 -15
  6. package/dist/cjs/builtin/0x3.js.map +1 -1
  7. package/dist/cjs/builtin/0x4.js +37 -37
  8. package/dist/cjs/builtin/0x4.js.map +1 -1
  9. package/dist/cjs/codegen/codegen.d.ts +3 -3
  10. package/dist/cjs/codegen/codegen.d.ts.map +1 -1
  11. package/dist/cjs/codegen/codegen.js +5 -5
  12. package/dist/cjs/codegen/codegen.js.map +1 -1
  13. package/dist/cjs/move-coder.d.ts +2 -2
  14. package/dist/cjs/move-coder.d.ts.map +1 -1
  15. package/dist/cjs/move-coder.js +5 -14
  16. package/dist/cjs/move-coder.js.map +1 -1
  17. package/dist/esm/account-resource-client.js +2 -2
  18. package/dist/esm/account-resource-client.js.map +1 -1
  19. package/dist/esm/builtin/0x1.js +339 -339
  20. package/dist/esm/builtin/0x1.js.map +1 -1
  21. package/dist/esm/builtin/0x3.js +15 -15
  22. package/dist/esm/builtin/0x3.js.map +1 -1
  23. package/dist/esm/builtin/0x4.js +37 -37
  24. package/dist/esm/builtin/0x4.js.map +1 -1
  25. package/dist/esm/codegen/codegen.d.ts +3 -3
  26. package/dist/esm/codegen/codegen.d.ts.map +1 -1
  27. package/dist/esm/codegen/codegen.js +6 -6
  28. package/dist/esm/codegen/codegen.js.map +1 -1
  29. package/dist/esm/codegen/run.js +17 -6
  30. package/dist/esm/codegen/run.js.map +1 -1
  31. package/dist/esm/move-coder.d.ts +2 -2
  32. package/dist/esm/move-coder.d.ts.map +1 -1
  33. package/dist/esm/move-coder.js +6 -15
  34. package/dist/esm/move-coder.js.map +1 -1
  35. package/package.json +3 -3
  36. package/src/account-resource-client.ts +2 -2
  37. package/src/builtin/0x1.ts +339 -339
  38. package/src/builtin/0x3.ts +15 -15
  39. package/src/builtin/0x4.ts +37 -37
  40. package/src/codegen/codegen.ts +5 -5
  41. package/src/codegen/run.ts +16 -7
  42. package/src/move-coder.ts +8 -15
  43. package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts +44 -44
  44. package/src/tests/types/0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99.ts +45 -45
  45. package/src/tests/types/0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615.ts +26 -26
  46. package/src/tests/types/0x87978b35bf1eb73ae6cf04cfedcaa1f48254a683ebd00a21e7516a991edae3ac.ts +1 -1
  47. package/src/tests/types/0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541.ts +39 -39
@@ -33,7 +33,7 @@ export namespace fees {
33
33
  },
34
34
  version?: bigint,
35
35
  ): Promise<[bigint]> {
36
- const coder = defaultMoveCoder(client.config.fullnode);
36
+ const coder = defaultMoveCoder(client.config);
37
37
  const data: InputViewFunctionData = {
38
38
  function:
39
39
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::fees::balance",
@@ -63,7 +63,7 @@ export namespace init {
63
63
  },
64
64
  options?: InputGenerateTransactionOptions,
65
65
  ): Promise<PendingTransactionResponse> {
66
- const coder = defaultMoveCoder(client.config.fullnode);
66
+ const coder = defaultMoveCoder(client.config);
67
67
  const transaction = await client.transaction.build.simple({
68
68
  sender: account.accountAddress,
69
69
  data: {
@@ -111,7 +111,7 @@ export namespace package$ {
111
111
  },
112
112
  options?: InputGenerateTransactionOptions,
113
113
  ): Promise<PendingTransactionResponse> {
114
- const coder = defaultMoveCoder(client.config.fullnode);
114
+ const coder = defaultMoveCoder(client.config);
115
115
  const transaction = await client.transaction.build.simple({
116
116
  sender: account.accountAddress,
117
117
  data: {
@@ -198,7 +198,7 @@ export namespace base_pool {
198
198
  },
199
199
  options?: InputGenerateTransactionOptions,
200
200
  ): Promise<PendingTransactionResponse> {
201
- const coder = defaultMoveCoder(client.config.fullnode);
201
+ const coder = defaultMoveCoder(client.config);
202
202
  const transaction = await client.transaction.build.simple({
203
203
  sender: account.accountAddress,
204
204
  data: {
@@ -221,7 +221,7 @@ export namespace base_pool {
221
221
 
222
222
  version?: bigint,
223
223
  ): Promise<[number]> {
224
- const coder = defaultMoveCoder(client.config.fullnode);
224
+ const coder = defaultMoveCoder(client.config);
225
225
  const data: InputViewFunctionData = {
226
226
  function:
227
227
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::base_pool::max_supported_decimals",
@@ -244,7 +244,7 @@ export namespace base_pool {
244
244
  },
245
245
  version?: bigint,
246
246
  ): Promise<[bigint]> {
247
- const coder = defaultMoveCoder(client.config.fullnode);
247
+ const coder = defaultMoveCoder(client.config);
248
248
  const data: InputViewFunctionData = {
249
249
  function:
250
250
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::base_pool::pool_token_supply",
@@ -270,7 +270,7 @@ export namespace base_pool {
270
270
  _0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.fixed_point64.FixedPoint64,
271
271
  ]
272
272
  > {
273
- const coder = defaultMoveCoder(client.config.fullnode);
273
+ const coder = defaultMoveCoder(client.config);
274
274
  const data: InputViewFunctionData = {
275
275
  function:
276
276
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::base_pool::swap_fee_protocol_allocation_ratio",
@@ -700,7 +700,7 @@ export namespace stable_pool {
700
700
  },
701
701
  options?: InputGenerateTransactionOptions,
702
702
  ): Promise<PendingTransactionResponse> {
703
- const coder = defaultMoveCoder(client.config.fullnode);
703
+ const coder = defaultMoveCoder(client.config);
704
704
  const transaction = await client.transaction.build.simple({
705
705
  sender: account.accountAddress,
706
706
  data: {
@@ -725,7 +725,7 @@ export namespace stable_pool {
725
725
  },
726
726
  options?: InputGenerateTransactionOptions,
727
727
  ): Promise<PendingTransactionResponse> {
728
- const coder = defaultMoveCoder(client.config.fullnode);
728
+ const coder = defaultMoveCoder(client.config);
729
729
  const transaction = await client.transaction.build.simple({
730
730
  sender: account.accountAddress,
731
731
  data: {
@@ -755,7 +755,7 @@ export namespace stable_pool {
755
755
  },
756
756
  options?: InputGenerateTransactionOptions,
757
757
  ): Promise<PendingTransactionResponse> {
758
- const coder = defaultMoveCoder(client.config.fullnode);
758
+ const coder = defaultMoveCoder(client.config);
759
759
  const transaction = await client.transaction.build.simple({
760
760
  sender: account.accountAddress,
761
761
  data: {
@@ -785,7 +785,7 @@ export namespace stable_pool {
785
785
  },
786
786
  options?: InputGenerateTransactionOptions,
787
787
  ): Promise<PendingTransactionResponse> {
788
- const coder = defaultMoveCoder(client.config.fullnode);
788
+ const coder = defaultMoveCoder(client.config);
789
789
  const transaction = await client.transaction.build.simple({
790
790
  sender: account.accountAddress,
791
791
  data: {
@@ -815,7 +815,7 @@ export namespace stable_pool {
815
815
  },
816
816
  version?: bigint,
817
817
  ): Promise<[bigint]> {
818
- const coder = defaultMoveCoder(client.config.fullnode);
818
+ const coder = defaultMoveCoder(client.config);
819
819
  const data: InputViewFunctionData = {
820
820
  function:
821
821
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::flashloan_fee_bps",
@@ -843,7 +843,7 @@ export namespace stable_pool {
843
843
  },
844
844
  version?: bigint,
845
845
  ): Promise<[bigint[]]> {
846
- const coder = defaultMoveCoder(client.config.fullnode);
846
+ const coder = defaultMoveCoder(client.config);
847
847
  const data: InputViewFunctionData = {
848
848
  function:
849
849
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::get_precision_multipliers",
@@ -867,7 +867,7 @@ export namespace stable_pool {
867
867
  },
868
868
  version?: bigint,
869
869
  ): Promise<[string]> {
870
- const coder = defaultMoveCoder(client.config.fullnode);
870
+ const coder = defaultMoveCoder(client.config);
871
871
  const data: InputViewFunctionData = {
872
872
  function:
873
873
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::lp_name_by_id",
@@ -888,7 +888,7 @@ export namespace stable_pool {
888
888
 
889
889
  version?: bigint,
890
890
  ): Promise<[bigint]> {
891
- const coder = defaultMoveCoder(client.config.fullnode);
891
+ const coder = defaultMoveCoder(client.config);
892
892
  const data: InputViewFunctionData = {
893
893
  function:
894
894
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::next_pool_id",
@@ -912,7 +912,7 @@ export namespace stable_pool {
912
912
  },
913
913
  version?: bigint,
914
914
  ): Promise<[bigint]> {
915
- const coder = defaultMoveCoder(client.config.fullnode);
915
+ const coder = defaultMoveCoder(client.config);
916
916
  const data: InputViewFunctionData = {
917
917
  function:
918
918
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::pool_amp_factor",
@@ -935,7 +935,7 @@ export namespace stable_pool {
935
935
  },
936
936
  version?: bigint,
937
937
  ): Promise<[bigint[]]> {
938
- const coder = defaultMoveCoder(client.config.fullnode);
938
+ const coder = defaultMoveCoder(client.config);
939
939
  const data: InputViewFunctionData = {
940
940
  function:
941
941
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::pool_balances",
@@ -958,7 +958,7 @@ export namespace stable_pool {
958
958
  },
959
959
  version?: bigint,
960
960
  ): Promise<[bigint[], bigint, bigint]> {
961
- const coder = defaultMoveCoder(client.config.fullnode);
961
+ const coder = defaultMoveCoder(client.config);
962
962
  const data: InputViewFunctionData = {
963
963
  function:
964
964
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::pool_info",
@@ -987,7 +987,7 @@ export namespace stable_pool {
987
987
  },
988
988
  version?: bigint,
989
989
  ): Promise<[boolean]> {
990
- const coder = defaultMoveCoder(client.config.fullnode);
990
+ const coder = defaultMoveCoder(client.config);
991
991
  const data: InputViewFunctionData = {
992
992
  function:
993
993
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::stable_pool_exists",
@@ -1015,7 +1015,7 @@ export namespace stable_pool {
1015
1015
  _0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.fixed_point64.FixedPoint64,
1016
1016
  ]
1017
1017
  > {
1018
- const coder = defaultMoveCoder(client.config.fullnode);
1018
+ const coder = defaultMoveCoder(client.config);
1019
1019
  const data: InputViewFunctionData = {
1020
1020
  function:
1021
1021
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::stable_pool::swap_fee_ratio",
@@ -1045,7 +1045,7 @@ export namespace fees_scripts {
1045
1045
  },
1046
1046
  options?: InputGenerateTransactionOptions,
1047
1047
  ): Promise<PendingTransactionResponse> {
1048
- const coder = defaultMoveCoder(client.config.fullnode);
1048
+ const coder = defaultMoveCoder(client.config);
1049
1049
  const transaction = await client.transaction.build.simple({
1050
1050
  sender: account.accountAddress,
1051
1051
  data: {
@@ -1856,7 +1856,7 @@ export namespace weighted_pool {
1856
1856
  },
1857
1857
  options?: InputGenerateTransactionOptions,
1858
1858
  ): Promise<PendingTransactionResponse> {
1859
- const coder = defaultMoveCoder(client.config.fullnode);
1859
+ const coder = defaultMoveCoder(client.config);
1860
1860
  const transaction = await client.transaction.build.simple({
1861
1861
  sender: account.accountAddress,
1862
1862
  data: {
@@ -1899,7 +1899,7 @@ export namespace weighted_pool {
1899
1899
  },
1900
1900
  options?: InputGenerateTransactionOptions,
1901
1901
  ): Promise<PendingTransactionResponse> {
1902
- const coder = defaultMoveCoder(client.config.fullnode);
1902
+ const coder = defaultMoveCoder(client.config);
1903
1903
  const transaction = await client.transaction.build.simple({
1904
1904
  sender: account.accountAddress,
1905
1905
  data: {
@@ -1942,7 +1942,7 @@ export namespace weighted_pool {
1942
1942
  },
1943
1943
  options?: InputGenerateTransactionOptions,
1944
1944
  ): Promise<PendingTransactionResponse> {
1945
- const coder = defaultMoveCoder(client.config.fullnode);
1945
+ const coder = defaultMoveCoder(client.config);
1946
1946
  const transaction = await client.transaction.build.simple({
1947
1947
  sender: account.accountAddress,
1948
1948
  data: {
@@ -1985,7 +1985,7 @@ export namespace weighted_pool {
1985
1985
  },
1986
1986
  version?: bigint,
1987
1987
  ): Promise<[bigint]> {
1988
- const coder = defaultMoveCoder(client.config.fullnode);
1988
+ const coder = defaultMoveCoder(client.config);
1989
1989
  const data: InputViewFunctionData = {
1990
1990
  function:
1991
1991
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::flashloan_fee_bps",
@@ -2008,7 +2008,7 @@ export namespace weighted_pool {
2008
2008
  },
2009
2009
  version?: bigint,
2010
2010
  ): Promise<[bigint]> {
2011
- const coder = defaultMoveCoder(client.config.fullnode);
2011
+ const coder = defaultMoveCoder(client.config);
2012
2012
  const data: InputViewFunctionData = {
2013
2013
  function:
2014
2014
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::get_weight",
@@ -2032,7 +2032,7 @@ export namespace weighted_pool {
2032
2032
  },
2033
2033
  version?: bigint,
2034
2034
  ): Promise<[string]> {
2035
- const coder = defaultMoveCoder(client.config.fullnode);
2035
+ const coder = defaultMoveCoder(client.config);
2036
2036
  const data: InputViewFunctionData = {
2037
2037
  function:
2038
2038
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::lp_name_by_id",
@@ -2053,7 +2053,7 @@ export namespace weighted_pool {
2053
2053
 
2054
2054
  version?: bigint,
2055
2055
  ): Promise<[bigint]> {
2056
- const coder = defaultMoveCoder(client.config.fullnode);
2056
+ const coder = defaultMoveCoder(client.config);
2057
2057
  const data: InputViewFunctionData = {
2058
2058
  function:
2059
2059
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::next_pool_id",
@@ -2095,7 +2095,7 @@ export namespace weighted_pool {
2095
2095
  },
2096
2096
  version?: bigint,
2097
2097
  ): Promise<[bigint[], bigint[]]> {
2098
- const coder = defaultMoveCoder(client.config.fullnode);
2098
+ const coder = defaultMoveCoder(client.config);
2099
2099
  const data: InputViewFunctionData = {
2100
2100
  function:
2101
2101
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::pool_balances_and_weights",
@@ -2118,7 +2118,7 @@ export namespace weighted_pool {
2118
2118
  },
2119
2119
  version?: bigint,
2120
2120
  ): Promise<[bigint[], bigint[], bigint]> {
2121
- const coder = defaultMoveCoder(client.config.fullnode);
2121
+ const coder = defaultMoveCoder(client.config);
2122
2122
  const data: InputViewFunctionData = {
2123
2123
  function:
2124
2124
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::pool_info",
@@ -2164,7 +2164,7 @@ export namespace weighted_pool {
2164
2164
  _0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.fixed_point64.FixedPoint64,
2165
2165
  ]
2166
2166
  > {
2167
- const coder = defaultMoveCoder(client.config.fullnode);
2167
+ const coder = defaultMoveCoder(client.config);
2168
2168
  const data: InputViewFunctionData = {
2169
2169
  function:
2170
2170
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::swap_fee_ratio",
@@ -2205,7 +2205,7 @@ export namespace weighted_pool {
2205
2205
  },
2206
2206
  version?: bigint,
2207
2207
  ): Promise<[boolean]> {
2208
- const coder = defaultMoveCoder(client.config.fullnode);
2208
+ const coder = defaultMoveCoder(client.config);
2209
2209
  const data: InputViewFunctionData = {
2210
2210
  function:
2211
2211
  "0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::weighted_pool_exists",
@@ -2275,7 +2275,7 @@ export namespace multi_hop_scripts {
2275
2275
  },
2276
2276
  options?: InputGenerateTransactionOptions,
2277
2277
  ): Promise<PendingTransactionResponse> {
2278
- const coder = defaultMoveCoder(client.config.fullnode);
2278
+ const coder = defaultMoveCoder(client.config);
2279
2279
  const transaction = await client.transaction.build.simple({
2280
2280
  sender: account.accountAddress,
2281
2281
  data: {
@@ -2358,7 +2358,7 @@ export namespace multi_hop_scripts {
2358
2358
  },
2359
2359
  options?: InputGenerateTransactionOptions,
2360
2360
  ): Promise<PendingTransactionResponse> {
2361
- const coder = defaultMoveCoder(client.config.fullnode);
2361
+ const coder = defaultMoveCoder(client.config);
2362
2362
  const transaction = await client.transaction.build.simple({
2363
2363
  sender: account.accountAddress,
2364
2364
  data: {
@@ -2389,7 +2389,7 @@ export namespace stable_pool_scripts {
2389
2389
  },
2390
2390
  options?: InputGenerateTransactionOptions,
2391
2391
  ): Promise<PendingTransactionResponse> {
2392
- const coder = defaultMoveCoder(client.config.fullnode);
2392
+ const coder = defaultMoveCoder(client.config);
2393
2393
  const transaction = await client.transaction.build.simple({
2394
2394
  sender: account.accountAddress,
2395
2395
  data: {
@@ -2419,7 +2419,7 @@ export namespace stable_pool_scripts {
2419
2419
  },
2420
2420
  options?: InputGenerateTransactionOptions,
2421
2421
  ): Promise<PendingTransactionResponse> {
2422
- const coder = defaultMoveCoder(client.config.fullnode);
2422
+ const coder = defaultMoveCoder(client.config);
2423
2423
  const transaction = await client.transaction.build.simple({
2424
2424
  sender: account.accountAddress,
2425
2425
  data: {
@@ -2449,7 +2449,7 @@ export namespace stable_pool_scripts {
2449
2449
  },
2450
2450
  options?: InputGenerateTransactionOptions,
2451
2451
  ): Promise<PendingTransactionResponse> {
2452
- const coder = defaultMoveCoder(client.config.fullnode);
2452
+ const coder = defaultMoveCoder(client.config);
2453
2453
  const transaction = await client.transaction.build.simple({
2454
2454
  sender: account.accountAddress,
2455
2455
  data: {
@@ -2488,7 +2488,7 @@ export namespace stable_pool_scripts {
2488
2488
  },
2489
2489
  options?: InputGenerateTransactionOptions,
2490
2490
  ): Promise<PendingTransactionResponse> {
2491
- const coder = defaultMoveCoder(client.config.fullnode);
2491
+ const coder = defaultMoveCoder(client.config);
2492
2492
  const transaction = await client.transaction.build.simple({
2493
2493
  sender: account.accountAddress,
2494
2494
  data: {
@@ -2527,7 +2527,7 @@ export namespace stable_pool_scripts {
2527
2527
  },
2528
2528
  options?: InputGenerateTransactionOptions,
2529
2529
  ): Promise<PendingTransactionResponse> {
2530
- const coder = defaultMoveCoder(client.config.fullnode);
2530
+ const coder = defaultMoveCoder(client.config);
2531
2531
  const transaction = await client.transaction.build.simple({
2532
2532
  sender: account.accountAddress,
2533
2533
  data: {
@@ -2585,7 +2585,7 @@ export namespace weighted_pool_scripts {
2585
2585
  },
2586
2586
  options?: InputGenerateTransactionOptions,
2587
2587
  ): Promise<PendingTransactionResponse> {
2588
- const coder = defaultMoveCoder(client.config.fullnode);
2588
+ const coder = defaultMoveCoder(client.config);
2589
2589
  const transaction = await client.transaction.build.simple({
2590
2590
  sender: account.accountAddress,
2591
2591
  data: {
@@ -2628,7 +2628,7 @@ export namespace weighted_pool_scripts {
2628
2628
  },
2629
2629
  options?: InputGenerateTransactionOptions,
2630
2630
  ): Promise<PendingTransactionResponse> {
2631
- const coder = defaultMoveCoder(client.config.fullnode);
2631
+ const coder = defaultMoveCoder(client.config);
2632
2632
  const transaction = await client.transaction.build.simple({
2633
2633
  sender: account.accountAddress,
2634
2634
  data: {
@@ -2671,7 +2671,7 @@ export namespace weighted_pool_scripts {
2671
2671
  },
2672
2672
  options?: InputGenerateTransactionOptions,
2673
2673
  ): Promise<PendingTransactionResponse> {
2674
- const coder = defaultMoveCoder(client.config.fullnode);
2674
+ const coder = defaultMoveCoder(client.config);
2675
2675
  const transaction = await client.transaction.build.simple({
2676
2676
  sender: account.accountAddress,
2677
2677
  data: {
@@ -2718,7 +2718,7 @@ export namespace weighted_pool_scripts {
2718
2718
  },
2719
2719
  options?: InputGenerateTransactionOptions,
2720
2720
  ): Promise<PendingTransactionResponse> {
2721
- const coder = defaultMoveCoder(client.config.fullnode);
2721
+ const coder = defaultMoveCoder(client.config);
2722
2722
  const transaction = await client.transaction.build.simple({
2723
2723
  sender: account.accountAddress,
2724
2724
  data: {
@@ -2765,7 +2765,7 @@ export namespace weighted_pool_scripts {
2765
2765
  },
2766
2766
  options?: InputGenerateTransactionOptions,
2767
2767
  ): Promise<PendingTransactionResponse> {
2768
- const coder = defaultMoveCoder(client.config.fullnode);
2768
+ const coder = defaultMoveCoder(client.config);
2769
2769
  const transaction = await client.transaction.build.simple({
2770
2770
  sender: account.accountAddress,
2771
2771
  data: {