@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
@@ -186,7 +186,7 @@ export namespace amm {
186
186
  },
187
187
  options?: InputGenerateTransactionOptions,
188
188
  ): Promise<PendingTransactionResponse> {
189
- const coder = defaultMoveCoder(client.config.fullnode);
189
+ const coder = defaultMoveCoder(client.config);
190
190
  const transaction = await client.transaction.build.simple({
191
191
  sender: account.accountAddress,
192
192
  data: {
@@ -211,7 +211,7 @@ export namespace amm {
211
211
  },
212
212
  options?: InputGenerateTransactionOptions,
213
213
  ): Promise<PendingTransactionResponse> {
214
- const coder = defaultMoveCoder(client.config.fullnode);
214
+ const coder = defaultMoveCoder(client.config);
215
215
  const transaction = await client.transaction.build.simple({
216
216
  sender: account.accountAddress,
217
217
  data: {
@@ -236,7 +236,7 @@ export namespace amm {
236
236
  },
237
237
  options?: InputGenerateTransactionOptions,
238
238
  ): Promise<PendingTransactionResponse> {
239
- const coder = defaultMoveCoder(client.config.fullnode);
239
+ const coder = defaultMoveCoder(client.config);
240
240
  const transaction = await client.transaction.build.simple({
241
241
  sender: account.accountAddress,
242
242
  data: {
@@ -261,7 +261,7 @@ export namespace amm {
261
261
  },
262
262
  options?: InputGenerateTransactionOptions,
263
263
  ): Promise<PendingTransactionResponse> {
264
- const coder = defaultMoveCoder(client.config.fullnode);
264
+ const coder = defaultMoveCoder(client.config);
265
265
  const transaction = await client.transaction.build.simple({
266
266
  sender: account.accountAddress,
267
267
  data: {
@@ -287,7 +287,7 @@ export namespace amm {
287
287
  },
288
288
  options?: InputGenerateTransactionOptions,
289
289
  ): Promise<PendingTransactionResponse> {
290
- const coder = defaultMoveCoder(client.config.fullnode);
290
+ const coder = defaultMoveCoder(client.config);
291
291
  const transaction = await client.transaction.build.simple({
292
292
  sender: account.accountAddress,
293
293
  data: {
@@ -313,7 +313,7 @@ export namespace amm {
313
313
  },
314
314
  options?: InputGenerateTransactionOptions,
315
315
  ): Promise<PendingTransactionResponse> {
316
- const coder = defaultMoveCoder(client.config.fullnode);
316
+ const coder = defaultMoveCoder(client.config);
317
317
  const transaction = await client.transaction.build.simple({
318
318
  sender: account.accountAddress,
319
319
  data: {
@@ -338,7 +338,7 @@ export namespace amm {
338
338
  },
339
339
  options?: InputGenerateTransactionOptions,
340
340
  ): Promise<PendingTransactionResponse> {
341
- const coder = defaultMoveCoder(client.config.fullnode);
341
+ const coder = defaultMoveCoder(client.config);
342
342
  const transaction = await client.transaction.build.simple({
343
343
  sender: account.accountAddress,
344
344
  data: {
@@ -364,7 +364,7 @@ export namespace amm {
364
364
  },
365
365
  options?: InputGenerateTransactionOptions,
366
366
  ): Promise<PendingTransactionResponse> {
367
- const coder = defaultMoveCoder(client.config.fullnode);
367
+ const coder = defaultMoveCoder(client.config);
368
368
  const transaction = await client.transaction.build.simple({
369
369
  sender: account.accountAddress,
370
370
  data: {
@@ -390,7 +390,7 @@ export namespace amm {
390
390
  },
391
391
  options?: InputGenerateTransactionOptions,
392
392
  ): Promise<PendingTransactionResponse> {
393
- const coder = defaultMoveCoder(client.config.fullnode);
393
+ const coder = defaultMoveCoder(client.config);
394
394
  const transaction = await client.transaction.build.simple({
395
395
  sender: account.accountAddress,
396
396
  data: {
@@ -416,7 +416,7 @@ export namespace amm {
416
416
  },
417
417
  options?: InputGenerateTransactionOptions,
418
418
  ): Promise<PendingTransactionResponse> {
419
- const coder = defaultMoveCoder(client.config.fullnode);
419
+ const coder = defaultMoveCoder(client.config);
420
420
  const transaction = await client.transaction.build.simple({
421
421
  sender: account.accountAddress,
422
422
  data: {
@@ -442,7 +442,7 @@ export namespace amm {
442
442
  },
443
443
  options?: InputGenerateTransactionOptions,
444
444
  ): Promise<PendingTransactionResponse> {
445
- const coder = defaultMoveCoder(client.config.fullnode);
445
+ const coder = defaultMoveCoder(client.config);
446
446
  const transaction = await client.transaction.build.simple({
447
447
  sender: account.accountAddress,
448
448
  data: {
@@ -468,7 +468,7 @@ export namespace amm {
468
468
  },
469
469
  options?: InputGenerateTransactionOptions,
470
470
  ): Promise<PendingTransactionResponse> {
471
- const coder = defaultMoveCoder(client.config.fullnode);
471
+ const coder = defaultMoveCoder(client.config);
472
472
  const transaction = await client.transaction.build.simple({
473
473
  sender: account.accountAddress,
474
474
  data: {
@@ -493,7 +493,7 @@ export namespace amm {
493
493
  },
494
494
  options?: InputGenerateTransactionOptions,
495
495
  ): Promise<PendingTransactionResponse> {
496
- const coder = defaultMoveCoder(client.config.fullnode);
496
+ const coder = defaultMoveCoder(client.config);
497
497
  const transaction = await client.transaction.build.simple({
498
498
  sender: account.accountAddress,
499
499
  data: {
@@ -715,7 +715,7 @@ export namespace vault {
715
715
  },
716
716
  options?: InputGenerateTransactionOptions,
717
717
  ): Promise<PendingTransactionResponse> {
718
- const coder = defaultMoveCoder(client.config.fullnode);
718
+ const coder = defaultMoveCoder(client.config);
719
719
  const transaction = await client.transaction.build.simple({
720
720
  sender: account.accountAddress,
721
721
  data: {
@@ -741,7 +741,7 @@ export namespace vault {
741
741
  },
742
742
  options?: InputGenerateTransactionOptions,
743
743
  ): Promise<PendingTransactionResponse> {
744
- const coder = defaultMoveCoder(client.config.fullnode);
744
+ const coder = defaultMoveCoder(client.config);
745
745
  const transaction = await client.transaction.build.simple({
746
746
  sender: account.accountAddress,
747
747
  data: {
@@ -766,7 +766,7 @@ export namespace vault {
766
766
  },
767
767
  options?: InputGenerateTransactionOptions,
768
768
  ): Promise<PendingTransactionResponse> {
769
- const coder = defaultMoveCoder(client.config.fullnode);
769
+ const coder = defaultMoveCoder(client.config);
770
770
  const transaction = await client.transaction.build.simple({
771
771
  sender: account.accountAddress,
772
772
  data: {
@@ -792,7 +792,7 @@ export namespace vault {
792
792
  },
793
793
  options?: InputGenerateTransactionOptions,
794
794
  ): Promise<PendingTransactionResponse> {
795
- const coder = defaultMoveCoder(client.config.fullnode);
795
+ const coder = defaultMoveCoder(client.config);
796
796
  const transaction = await client.transaction.build.simple({
797
797
  sender: account.accountAddress,
798
798
  data: {
@@ -818,7 +818,7 @@ export namespace vault {
818
818
  },
819
819
  options?: InputGenerateTransactionOptions,
820
820
  ): Promise<PendingTransactionResponse> {
821
- const coder = defaultMoveCoder(client.config.fullnode);
821
+ const coder = defaultMoveCoder(client.config);
822
822
  const transaction = await client.transaction.build.simple({
823
823
  sender: account.accountAddress,
824
824
  data: {
@@ -843,7 +843,7 @@ export namespace vault {
843
843
  },
844
844
  options?: InputGenerateTransactionOptions,
845
845
  ): Promise<PendingTransactionResponse> {
846
- const coder = defaultMoveCoder(client.config.fullnode);
846
+ const coder = defaultMoveCoder(client.config);
847
847
  const transaction = await client.transaction.build.simple({
848
848
  sender: account.accountAddress,
849
849
  data: {
@@ -868,7 +868,7 @@ export namespace vault {
868
868
  },
869
869
  options?: InputGenerateTransactionOptions,
870
870
  ): Promise<PendingTransactionResponse> {
871
- const coder = defaultMoveCoder(client.config.fullnode);
871
+ const coder = defaultMoveCoder(client.config);
872
872
  const transaction = await client.transaction.build.simple({
873
873
  sender: account.accountAddress,
874
874
  data: {
@@ -899,7 +899,7 @@ export namespace router {
899
899
  },
900
900
  options?: InputGenerateTransactionOptions,
901
901
  ): Promise<PendingTransactionResponse> {
902
- const coder = defaultMoveCoder(client.config.fullnode);
902
+ const coder = defaultMoveCoder(client.config);
903
903
  const transaction = await client.transaction.build.simple({
904
904
  sender: account.accountAddress,
905
905
  data: {
@@ -925,7 +925,7 @@ export namespace router {
925
925
  },
926
926
  options?: InputGenerateTransactionOptions,
927
927
  ): Promise<PendingTransactionResponse> {
928
- const coder = defaultMoveCoder(client.config.fullnode);
928
+ const coder = defaultMoveCoder(client.config);
929
929
  const transaction = await client.transaction.build.simple({
930
930
  sender: account.accountAddress,
931
931
  data: {
@@ -1058,7 +1058,7 @@ export namespace aux_coin {
1058
1058
  },
1059
1059
  options?: InputGenerateTransactionOptions,
1060
1060
  ): Promise<PendingTransactionResponse> {
1061
- const coder = defaultMoveCoder(client.config.fullnode);
1061
+ const coder = defaultMoveCoder(client.config);
1062
1062
  const transaction = await client.transaction.build.simple({
1063
1063
  sender: account.accountAddress,
1064
1064
  data: {
@@ -1083,7 +1083,7 @@ export namespace aux_coin {
1083
1083
  },
1084
1084
  options?: InputGenerateTransactionOptions,
1085
1085
  ): Promise<PendingTransactionResponse> {
1086
- const coder = defaultMoveCoder(client.config.fullnode);
1086
+ const coder = defaultMoveCoder(client.config);
1087
1087
  const transaction = await client.transaction.build.simple({
1088
1088
  sender: account.accountAddress,
1089
1089
  data: {
@@ -1108,7 +1108,7 @@ export namespace aux_coin {
1108
1108
  },
1109
1109
  options?: InputGenerateTransactionOptions,
1110
1110
  ): Promise<PendingTransactionResponse> {
1111
- const coder = defaultMoveCoder(client.config.fullnode);
1111
+ const coder = defaultMoveCoder(client.config);
1112
1112
  const transaction = await client.transaction.build.simple({
1113
1113
  sender: account.accountAddress,
1114
1114
  data: {
@@ -1330,7 +1330,7 @@ export namespace fake_coin {
1330
1330
  },
1331
1331
  options?: InputGenerateTransactionOptions,
1332
1332
  ): Promise<PendingTransactionResponse> {
1333
- const coder = defaultMoveCoder(client.config.fullnode);
1333
+ const coder = defaultMoveCoder(client.config);
1334
1334
  const transaction = await client.transaction.build.simple({
1335
1335
  sender: account.accountAddress,
1336
1336
  data: {
@@ -1355,7 +1355,7 @@ export namespace fake_coin {
1355
1355
  },
1356
1356
  options?: InputGenerateTransactionOptions,
1357
1357
  ): Promise<PendingTransactionResponse> {
1358
- const coder = defaultMoveCoder(client.config.fullnode);
1358
+ const coder = defaultMoveCoder(client.config);
1359
1359
  const transaction = await client.transaction.build.simple({
1360
1360
  sender: account.accountAddress,
1361
1361
  data: {
@@ -1380,7 +1380,7 @@ export namespace fake_coin {
1380
1380
  },
1381
1381
  options?: InputGenerateTransactionOptions,
1382
1382
  ): Promise<PendingTransactionResponse> {
1383
- const coder = defaultMoveCoder(client.config.fullnode);
1383
+ const coder = defaultMoveCoder(client.config);
1384
1384
  const transaction = await client.transaction.build.simple({
1385
1385
  sender: account.accountAddress,
1386
1386
  data: {
@@ -1405,7 +1405,7 @@ export namespace fake_coin {
1405
1405
  },
1406
1406
  options?: InputGenerateTransactionOptions,
1407
1407
  ): Promise<PendingTransactionResponse> {
1408
- const coder = defaultMoveCoder(client.config.fullnode);
1408
+ const coder = defaultMoveCoder(client.config);
1409
1409
  const transaction = await client.transaction.build.simple({
1410
1410
  sender: account.accountAddress,
1411
1411
  data: {
@@ -1789,7 +1789,7 @@ export namespace clob_market {
1789
1789
  },
1790
1790
  options?: InputGenerateTransactionOptions,
1791
1791
  ): Promise<PendingTransactionResponse> {
1792
- const coder = defaultMoveCoder(client.config.fullnode);
1792
+ const coder = defaultMoveCoder(client.config);
1793
1793
  const transaction = await client.transaction.build.simple({
1794
1794
  sender: account.accountAddress,
1795
1795
  data: {
@@ -1814,7 +1814,7 @@ export namespace clob_market {
1814
1814
  },
1815
1815
  options?: InputGenerateTransactionOptions,
1816
1816
  ): Promise<PendingTransactionResponse> {
1817
- const coder = defaultMoveCoder(client.config.fullnode);
1817
+ const coder = defaultMoveCoder(client.config);
1818
1818
  const transaction = await client.transaction.build.simple({
1819
1819
  sender: account.accountAddress,
1820
1820
  data: {
@@ -1839,7 +1839,7 @@ export namespace clob_market {
1839
1839
  },
1840
1840
  options?: InputGenerateTransactionOptions,
1841
1841
  ): Promise<PendingTransactionResponse> {
1842
- const coder = defaultMoveCoder(client.config.fullnode);
1842
+ const coder = defaultMoveCoder(client.config);
1843
1843
  const transaction = await client.transaction.build.simple({
1844
1844
  sender: account.accountAddress,
1845
1845
  data: {
@@ -1864,7 +1864,7 @@ export namespace clob_market {
1864
1864
  },
1865
1865
  options?: InputGenerateTransactionOptions,
1866
1866
  ): Promise<PendingTransactionResponse> {
1867
- const coder = defaultMoveCoder(client.config.fullnode);
1867
+ const coder = defaultMoveCoder(client.config);
1868
1868
  const transaction = await client.transaction.build.simple({
1869
1869
  sender: account.accountAddress,
1870
1870
  data: {
@@ -1889,7 +1889,7 @@ export namespace clob_market {
1889
1889
  },
1890
1890
  options?: InputGenerateTransactionOptions,
1891
1891
  ): Promise<PendingTransactionResponse> {
1892
- const coder = defaultMoveCoder(client.config.fullnode);
1892
+ const coder = defaultMoveCoder(client.config);
1893
1893
  const transaction = await client.transaction.build.simple({
1894
1894
  sender: account.accountAddress,
1895
1895
  data: {
@@ -1914,7 +1914,7 @@ export namespace clob_market {
1914
1914
  },
1915
1915
  options?: InputGenerateTransactionOptions,
1916
1916
  ): Promise<PendingTransactionResponse> {
1917
- const coder = defaultMoveCoder(client.config.fullnode);
1917
+ const coder = defaultMoveCoder(client.config);
1918
1918
  const transaction = await client.transaction.build.simple({
1919
1919
  sender: account.accountAddress,
1920
1920
  data: {
@@ -1939,7 +1939,7 @@ export namespace clob_market {
1939
1939
  },
1940
1940
  options?: InputGenerateTransactionOptions,
1941
1941
  ): Promise<PendingTransactionResponse> {
1942
- const coder = defaultMoveCoder(client.config.fullnode);
1942
+ const coder = defaultMoveCoder(client.config);
1943
1943
  const transaction = await client.transaction.build.simple({
1944
1944
  sender: account.accountAddress,
1945
1945
  data: {
@@ -1964,7 +1964,7 @@ export namespace clob_market {
1964
1964
  },
1965
1965
  options?: InputGenerateTransactionOptions,
1966
1966
  ): Promise<PendingTransactionResponse> {
1967
- const coder = defaultMoveCoder(client.config.fullnode);
1967
+ const coder = defaultMoveCoder(client.config);
1968
1968
  const transaction = await client.transaction.build.simple({
1969
1969
  sender: account.accountAddress,
1970
1970
  data: {
@@ -2002,7 +2002,7 @@ export namespace clob_market {
2002
2002
  },
2003
2003
  options?: InputGenerateTransactionOptions,
2004
2004
  ): Promise<PendingTransactionResponse> {
2005
- const coder = defaultMoveCoder(client.config.fullnode);
2005
+ const coder = defaultMoveCoder(client.config);
2006
2006
  const transaction = await client.transaction.build.simple({
2007
2007
  sender: account.accountAddress,
2008
2008
  data: {
@@ -2028,7 +2028,7 @@ export namespace clob_market {
2028
2028
  },
2029
2029
  options?: InputGenerateTransactionOptions,
2030
2030
  ): Promise<PendingTransactionResponse> {
2031
- const coder = defaultMoveCoder(client.config.fullnode);
2031
+ const coder = defaultMoveCoder(client.config);
2032
2032
  const transaction = await client.transaction.build.simple({
2033
2033
  sender: account.accountAddress,
2034
2034
  data: {