@typemove/aptos 1.10.0 → 1.11.0-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/account-resource-client.js +2 -2
- package/dist/cjs/account-resource-client.js.map +1 -1
- package/dist/cjs/aptos-chain-adapter.d.ts +2 -1
- package/dist/cjs/aptos-chain-adapter.d.ts.map +1 -1
- package/dist/cjs/aptos-chain-adapter.js +16 -15
- package/dist/cjs/aptos-chain-adapter.js.map +1 -1
- package/dist/cjs/builtin/0x1.d.ts +80 -0
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +340 -340
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +8 -0
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js +15 -15
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/builtin/0x4.d.ts +24 -0
- package/dist/cjs/builtin/0x4.d.ts.map +1 -1
- package/dist/cjs/builtin/0x4.js +37 -37
- package/dist/cjs/builtin/0x4.js.map +1 -1
- package/dist/cjs/codegen/codegen.d.ts +3 -3
- package/dist/cjs/codegen/codegen.d.ts.map +1 -1
- package/dist/cjs/codegen/codegen.js +5 -5
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/cjs/move-coder.d.ts +2 -2
- package/dist/cjs/move-coder.d.ts.map +1 -1
- package/dist/cjs/move-coder.js +5 -14
- package/dist/cjs/move-coder.js.map +1 -1
- package/dist/esm/account-resource-client.js +2 -2
- package/dist/esm/account-resource-client.js.map +1 -1
- package/dist/esm/aptos-chain-adapter.d.ts +2 -1
- package/dist/esm/aptos-chain-adapter.d.ts.map +1 -1
- package/dist/esm/aptos-chain-adapter.js +16 -15
- package/dist/esm/aptos-chain-adapter.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +80 -0
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +340 -340
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +8 -0
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js +15 -15
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/builtin/0x4.d.ts +24 -0
- package/dist/esm/builtin/0x4.d.ts.map +1 -1
- package/dist/esm/builtin/0x4.js +37 -37
- package/dist/esm/builtin/0x4.js.map +1 -1
- package/dist/esm/codegen/codegen.d.ts +3 -3
- package/dist/esm/codegen/codegen.d.ts.map +1 -1
- package/dist/esm/codegen/codegen.js +6 -6
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/dist/esm/codegen/run.js +17 -6
- package/dist/esm/codegen/run.js.map +1 -1
- package/dist/esm/move-coder.d.ts +2 -2
- package/dist/esm/move-coder.d.ts.map +1 -1
- package/dist/esm/move-coder.js +6 -15
- package/dist/esm/move-coder.js.map +1 -1
- package/package.json +3 -3
- package/src/abis/0x1.json +47 -3
- package/src/account-resource-client.ts +2 -2
- package/src/aptos-chain-adapter.ts +20 -17
- package/src/builtin/0x1.ts +448 -340
- package/src/builtin/0x3.ts +26 -15
- package/src/builtin/0x4.ts +67 -37
- package/src/codegen/codegen.ts +5 -5
- package/src/codegen/run.ts +16 -7
- package/src/move-coder.ts +8 -15
- package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts +44 -44
- package/src/tests/types/0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99.ts +45 -45
- package/src/tests/types/0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615.ts +26 -26
- package/src/tests/types/0x87978b35bf1eb73ae6cf04cfedcaa1f48254a683ebd00a21e7516a991edae3ac.ts +1 -1
- package/src/tests/types/0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541.ts +60 -39
package/src/tests/types/0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99.ts
CHANGED
|
@@ -466,7 +466,7 @@ export namespace farming {
|
|
|
466
466
|
},
|
|
467
467
|
options?: InputGenerateTransactionOptions,
|
|
468
468
|
): Promise<PendingTransactionResponse> {
|
|
469
|
-
const coder = defaultMoveCoder(client.config
|
|
469
|
+
const coder = defaultMoveCoder(client.config);
|
|
470
470
|
const transaction = await client.transaction.build.simple({
|
|
471
471
|
sender: account.accountAddress,
|
|
472
472
|
data: {
|
|
@@ -492,7 +492,7 @@ export namespace farming {
|
|
|
492
492
|
},
|
|
493
493
|
options?: InputGenerateTransactionOptions,
|
|
494
494
|
): Promise<PendingTransactionResponse> {
|
|
495
|
-
const coder = defaultMoveCoder(client.config
|
|
495
|
+
const coder = defaultMoveCoder(client.config);
|
|
496
496
|
const transaction = await client.transaction.build.simple({
|
|
497
497
|
sender: account.accountAddress,
|
|
498
498
|
data: {
|
|
@@ -518,7 +518,7 @@ export namespace farming {
|
|
|
518
518
|
},
|
|
519
519
|
options?: InputGenerateTransactionOptions,
|
|
520
520
|
): Promise<PendingTransactionResponse> {
|
|
521
|
-
const coder = defaultMoveCoder(client.config
|
|
521
|
+
const coder = defaultMoveCoder(client.config);
|
|
522
522
|
const transaction = await client.transaction.build.simple({
|
|
523
523
|
sender: account.accountAddress,
|
|
524
524
|
data: {
|
|
@@ -543,7 +543,7 @@ export namespace farming {
|
|
|
543
543
|
},
|
|
544
544
|
options?: InputGenerateTransactionOptions,
|
|
545
545
|
): Promise<PendingTransactionResponse> {
|
|
546
|
-
const coder = defaultMoveCoder(client.config
|
|
546
|
+
const coder = defaultMoveCoder(client.config);
|
|
547
547
|
const transaction = await client.transaction.build.simple({
|
|
548
548
|
sender: account.accountAddress,
|
|
549
549
|
data: {
|
|
@@ -568,7 +568,7 @@ export namespace farming {
|
|
|
568
568
|
},
|
|
569
569
|
options?: InputGenerateTransactionOptions,
|
|
570
570
|
): Promise<PendingTransactionResponse> {
|
|
571
|
-
const coder = defaultMoveCoder(client.config
|
|
571
|
+
const coder = defaultMoveCoder(client.config);
|
|
572
572
|
const transaction = await client.transaction.build.simple({
|
|
573
573
|
sender: account.accountAddress,
|
|
574
574
|
data: {
|
|
@@ -593,7 +593,7 @@ export namespace farming {
|
|
|
593
593
|
},
|
|
594
594
|
options?: InputGenerateTransactionOptions,
|
|
595
595
|
): Promise<PendingTransactionResponse> {
|
|
596
|
-
const coder = defaultMoveCoder(client.config
|
|
596
|
+
const coder = defaultMoveCoder(client.config);
|
|
597
597
|
const transaction = await client.transaction.build.simple({
|
|
598
598
|
sender: account.accountAddress,
|
|
599
599
|
data: {
|
|
@@ -618,7 +618,7 @@ export namespace farming {
|
|
|
618
618
|
},
|
|
619
619
|
options?: InputGenerateTransactionOptions,
|
|
620
620
|
): Promise<PendingTransactionResponse> {
|
|
621
|
-
const coder = defaultMoveCoder(client.config
|
|
621
|
+
const coder = defaultMoveCoder(client.config);
|
|
622
622
|
const transaction = await client.transaction.build.simple({
|
|
623
623
|
sender: account.accountAddress,
|
|
624
624
|
data: {
|
|
@@ -644,7 +644,7 @@ export namespace farming {
|
|
|
644
644
|
},
|
|
645
645
|
options?: InputGenerateTransactionOptions,
|
|
646
646
|
): Promise<PendingTransactionResponse> {
|
|
647
|
-
const coder = defaultMoveCoder(client.config
|
|
647
|
+
const coder = defaultMoveCoder(client.config);
|
|
648
648
|
const transaction = await client.transaction.build.simple({
|
|
649
649
|
sender: account.accountAddress,
|
|
650
650
|
data: {
|
|
@@ -670,7 +670,7 @@ export namespace farming {
|
|
|
670
670
|
},
|
|
671
671
|
options?: InputGenerateTransactionOptions,
|
|
672
672
|
): Promise<PendingTransactionResponse> {
|
|
673
|
-
const coder = defaultMoveCoder(client.config
|
|
673
|
+
const coder = defaultMoveCoder(client.config);
|
|
674
674
|
const transaction = await client.transaction.build.simple({
|
|
675
675
|
sender: account.accountAddress,
|
|
676
676
|
data: {
|
|
@@ -695,7 +695,7 @@ export namespace farming {
|
|
|
695
695
|
},
|
|
696
696
|
options?: InputGenerateTransactionOptions,
|
|
697
697
|
): Promise<PendingTransactionResponse> {
|
|
698
|
-
const coder = defaultMoveCoder(client.config
|
|
698
|
+
const coder = defaultMoveCoder(client.config);
|
|
699
699
|
const transaction = await client.transaction.build.simple({
|
|
700
700
|
sender: account.accountAddress,
|
|
701
701
|
data: {
|
|
@@ -720,7 +720,7 @@ export namespace farming {
|
|
|
720
720
|
},
|
|
721
721
|
options?: InputGenerateTransactionOptions,
|
|
722
722
|
): Promise<PendingTransactionResponse> {
|
|
723
|
-
const coder = defaultMoveCoder(client.config
|
|
723
|
+
const coder = defaultMoveCoder(client.config);
|
|
724
724
|
const transaction = await client.transaction.build.simple({
|
|
725
725
|
sender: account.accountAddress,
|
|
726
726
|
data: {
|
|
@@ -745,7 +745,7 @@ export namespace farming {
|
|
|
745
745
|
},
|
|
746
746
|
options?: InputGenerateTransactionOptions,
|
|
747
747
|
): Promise<PendingTransactionResponse> {
|
|
748
|
-
const coder = defaultMoveCoder(client.config
|
|
748
|
+
const coder = defaultMoveCoder(client.config);
|
|
749
749
|
const transaction = await client.transaction.build.simple({
|
|
750
750
|
sender: account.accountAddress,
|
|
751
751
|
data: {
|
|
@@ -770,7 +770,7 @@ export namespace farming {
|
|
|
770
770
|
},
|
|
771
771
|
options?: InputGenerateTransactionOptions,
|
|
772
772
|
): Promise<PendingTransactionResponse> {
|
|
773
|
-
const coder = defaultMoveCoder(client.config
|
|
773
|
+
const coder = defaultMoveCoder(client.config);
|
|
774
774
|
const transaction = await client.transaction.build.simple({
|
|
775
775
|
sender: account.accountAddress,
|
|
776
776
|
data: {
|
|
@@ -795,7 +795,7 @@ export namespace farming {
|
|
|
795
795
|
},
|
|
796
796
|
options?: InputGenerateTransactionOptions,
|
|
797
797
|
): Promise<PendingTransactionResponse> {
|
|
798
|
-
const coder = defaultMoveCoder(client.config
|
|
798
|
+
const coder = defaultMoveCoder(client.config);
|
|
799
799
|
const transaction = await client.transaction.build.simple({
|
|
800
800
|
sender: account.accountAddress,
|
|
801
801
|
data: {
|
|
@@ -820,7 +820,7 @@ export namespace farming {
|
|
|
820
820
|
},
|
|
821
821
|
options?: InputGenerateTransactionOptions,
|
|
822
822
|
): Promise<PendingTransactionResponse> {
|
|
823
|
-
const coder = defaultMoveCoder(client.config
|
|
823
|
+
const coder = defaultMoveCoder(client.config);
|
|
824
824
|
const transaction = await client.transaction.build.simple({
|
|
825
825
|
sender: account.accountAddress,
|
|
826
826
|
data: {
|
|
@@ -845,7 +845,7 @@ export namespace farming {
|
|
|
845
845
|
},
|
|
846
846
|
options?: InputGenerateTransactionOptions,
|
|
847
847
|
): Promise<PendingTransactionResponse> {
|
|
848
|
-
const coder = defaultMoveCoder(client.config
|
|
848
|
+
const coder = defaultMoveCoder(client.config);
|
|
849
849
|
const transaction = await client.transaction.build.simple({
|
|
850
850
|
sender: account.accountAddress,
|
|
851
851
|
data: {
|
|
@@ -871,7 +871,7 @@ export namespace farming {
|
|
|
871
871
|
},
|
|
872
872
|
options?: InputGenerateTransactionOptions,
|
|
873
873
|
): Promise<PendingTransactionResponse> {
|
|
874
|
-
const coder = defaultMoveCoder(client.config
|
|
874
|
+
const coder = defaultMoveCoder(client.config);
|
|
875
875
|
const transaction = await client.transaction.build.simple({
|
|
876
876
|
sender: account.accountAddress,
|
|
877
877
|
data: {
|
|
@@ -896,7 +896,7 @@ export namespace farming {
|
|
|
896
896
|
},
|
|
897
897
|
options?: InputGenerateTransactionOptions,
|
|
898
898
|
): Promise<PendingTransactionResponse> {
|
|
899
|
-
const coder = defaultMoveCoder(client.config
|
|
899
|
+
const coder = defaultMoveCoder(client.config);
|
|
900
900
|
const transaction = await client.transaction.build.simple({
|
|
901
901
|
sender: account.accountAddress,
|
|
902
902
|
data: {
|
|
@@ -925,7 +925,7 @@ export namespace farming {
|
|
|
925
925
|
_0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.fixed_point64.FixedPoint64,
|
|
926
926
|
]
|
|
927
927
|
> {
|
|
928
|
-
const coder = defaultMoveCoder(client.config
|
|
928
|
+
const coder = defaultMoveCoder(client.config);
|
|
929
929
|
const data: InputViewFunctionData = {
|
|
930
930
|
function:
|
|
931
931
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::account_staking_value",
|
|
@@ -952,7 +952,7 @@ export namespace farming {
|
|
|
952
952
|
_0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.fixed_point64.FixedPoint64,
|
|
953
953
|
]
|
|
954
954
|
> {
|
|
955
|
-
const coder = defaultMoveCoder(client.config
|
|
955
|
+
const coder = defaultMoveCoder(client.config);
|
|
956
956
|
const data: InputViewFunctionData = {
|
|
957
957
|
function:
|
|
958
958
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::account_staking_value_given_add",
|
|
@@ -979,7 +979,7 @@ export namespace farming {
|
|
|
979
979
|
_0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.fixed_point64.FixedPoint64,
|
|
980
980
|
]
|
|
981
981
|
> {
|
|
982
|
-
const coder = defaultMoveCoder(client.config
|
|
982
|
+
const coder = defaultMoveCoder(client.config);
|
|
983
983
|
const data: InputViewFunctionData = {
|
|
984
984
|
function:
|
|
985
985
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::account_veTHL_value",
|
|
@@ -1007,7 +1007,7 @@ export namespace farming {
|
|
|
1007
1007
|
_0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.fixed_point64.FixedPoint64,
|
|
1008
1008
|
]
|
|
1009
1009
|
> {
|
|
1010
|
-
const coder = defaultMoveCoder(client.config
|
|
1010
|
+
const coder = defaultMoveCoder(client.config);
|
|
1011
1011
|
const data: InputViewFunctionData = {
|
|
1012
1012
|
function:
|
|
1013
1013
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::boost_multiplier",
|
|
@@ -1034,7 +1034,7 @@ export namespace farming {
|
|
|
1034
1034
|
_0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.fixed_point64.FixedPoint64,
|
|
1035
1035
|
]
|
|
1036
1036
|
> {
|
|
1037
|
-
const coder = defaultMoveCoder(client.config
|
|
1037
|
+
const coder = defaultMoveCoder(client.config);
|
|
1038
1038
|
const data: InputViewFunctionData = {
|
|
1039
1039
|
function:
|
|
1040
1040
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::boost_multiplier_given_add",
|
|
@@ -1055,7 +1055,7 @@ export namespace farming {
|
|
|
1055
1055
|
|
|
1056
1056
|
version?: bigint,
|
|
1057
1057
|
): Promise<[bigint, bigint]> {
|
|
1058
|
-
const coder = defaultMoveCoder(client.config
|
|
1058
|
+
const coder = defaultMoveCoder(client.config);
|
|
1059
1059
|
const data: InputViewFunctionData = {
|
|
1060
1060
|
function:
|
|
1061
1061
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::boosted_farming_params",
|
|
@@ -1083,7 +1083,7 @@ export namespace farming {
|
|
|
1083
1083
|
_0x87978b35bf1eb73ae6cf04cfedcaa1f48254a683ebd00a21e7516a991edae3ac.rate_limiter.RateLimiter,
|
|
1084
1084
|
]
|
|
1085
1085
|
> {
|
|
1086
|
-
const coder = defaultMoveCoder(client.config
|
|
1086
|
+
const coder = defaultMoveCoder(client.config);
|
|
1087
1087
|
const data: InputViewFunctionData = {
|
|
1088
1088
|
function:
|
|
1089
1089
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::coin_rate_limiter_view",
|
|
@@ -1106,7 +1106,7 @@ export namespace farming {
|
|
|
1106
1106
|
},
|
|
1107
1107
|
version?: bigint,
|
|
1108
1108
|
): Promise<[boolean]> {
|
|
1109
|
-
const coder = defaultMoveCoder(client.config
|
|
1109
|
+
const coder = defaultMoveCoder(client.config);
|
|
1110
1110
|
const data: InputViewFunctionData = {
|
|
1111
1111
|
function:
|
|
1112
1112
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::eligible_given_add",
|
|
@@ -1128,7 +1128,7 @@ export namespace farming {
|
|
|
1128
1128
|
|
|
1129
1129
|
version?: bigint,
|
|
1130
1130
|
): Promise<[boolean]> {
|
|
1131
|
-
const coder = defaultMoveCoder(client.config
|
|
1131
|
+
const coder = defaultMoveCoder(client.config);
|
|
1132
1132
|
const data: InputViewFunctionData = {
|
|
1133
1133
|
function:
|
|
1134
1134
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::enabled_rate_limiter_feature",
|
|
@@ -1151,7 +1151,7 @@ export namespace farming {
|
|
|
1151
1151
|
},
|
|
1152
1152
|
version?: bigint,
|
|
1153
1153
|
): Promise<[boolean]> {
|
|
1154
|
-
const coder = defaultMoveCoder(client.config
|
|
1154
|
+
const coder = defaultMoveCoder(client.config);
|
|
1155
1155
|
const data: InputViewFunctionData = {
|
|
1156
1156
|
function:
|
|
1157
1157
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::exists_coin_rate_limiter",
|
|
@@ -1173,7 +1173,7 @@ export namespace farming {
|
|
|
1173
1173
|
|
|
1174
1174
|
version?: bigint,
|
|
1175
1175
|
): Promise<[boolean]> {
|
|
1176
|
-
const coder = defaultMoveCoder(client.config
|
|
1176
|
+
const coder = defaultMoveCoder(client.config);
|
|
1177
1177
|
const data: InputViewFunctionData = {
|
|
1178
1178
|
function:
|
|
1179
1179
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::initialized_vethl_gated_farming",
|
|
@@ -1196,7 +1196,7 @@ export namespace farming {
|
|
|
1196
1196
|
},
|
|
1197
1197
|
version?: bigint,
|
|
1198
1198
|
): Promise<[boolean, bigint]> {
|
|
1199
|
-
const coder = defaultMoveCoder(client.config
|
|
1199
|
+
const coder = defaultMoveCoder(client.config);
|
|
1200
1200
|
const data: InputViewFunctionData = {
|
|
1201
1201
|
function:
|
|
1202
1202
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::is_stake_coin",
|
|
@@ -1219,7 +1219,7 @@ export namespace farming {
|
|
|
1219
1219
|
},
|
|
1220
1220
|
version?: bigint,
|
|
1221
1221
|
): Promise<[boolean, bigint]> {
|
|
1222
|
-
const coder = defaultMoveCoder(client.config
|
|
1222
|
+
const coder = defaultMoveCoder(client.config);
|
|
1223
1223
|
const data: InputViewFunctionData = {
|
|
1224
1224
|
function:
|
|
1225
1225
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::max_eligible_stake",
|
|
@@ -1241,7 +1241,7 @@ export namespace farming {
|
|
|
1241
1241
|
|
|
1242
1242
|
version?: bigint,
|
|
1243
1243
|
): Promise<[boolean]> {
|
|
1244
|
-
const coder = defaultMoveCoder(client.config
|
|
1244
|
+
const coder = defaultMoveCoder(client.config);
|
|
1245
1245
|
const data: InputViewFunctionData = {
|
|
1246
1246
|
function:
|
|
1247
1247
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::paused",
|
|
@@ -1265,7 +1265,7 @@ export namespace farming {
|
|
|
1265
1265
|
},
|
|
1266
1266
|
version?: bigint,
|
|
1267
1267
|
): Promise<[bigint]> {
|
|
1268
|
-
const coder = defaultMoveCoder(client.config
|
|
1268
|
+
const coder = defaultMoveCoder(client.config);
|
|
1269
1269
|
const data: InputViewFunctionData = {
|
|
1270
1270
|
function:
|
|
1271
1271
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::pool_acc_extra_reward_per_share",
|
|
@@ -1288,7 +1288,7 @@ export namespace farming {
|
|
|
1288
1288
|
},
|
|
1289
1289
|
version?: bigint,
|
|
1290
1290
|
): Promise<[bigint]> {
|
|
1291
|
-
const coder = defaultMoveCoder(client.config
|
|
1291
|
+
const coder = defaultMoveCoder(client.config);
|
|
1292
1292
|
const data: InputViewFunctionData = {
|
|
1293
1293
|
function:
|
|
1294
1294
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::pool_acc_thl_reward_per_share",
|
|
@@ -1318,7 +1318,7 @@ export namespace farming {
|
|
|
1318
1318
|
_0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.fixed_point64.FixedPoint64,
|
|
1319
1319
|
]
|
|
1320
1320
|
> {
|
|
1321
|
-
const coder = defaultMoveCoder(client.config
|
|
1321
|
+
const coder = defaultMoveCoder(client.config);
|
|
1322
1322
|
const data: InputViewFunctionData = {
|
|
1323
1323
|
function:
|
|
1324
1324
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::stake_amount",
|
|
@@ -1342,7 +1342,7 @@ export namespace farming {
|
|
|
1342
1342
|
},
|
|
1343
1343
|
version?: bigint,
|
|
1344
1344
|
): Promise<[bigint, bigint]> {
|
|
1345
|
-
const coder = defaultMoveCoder(client.config
|
|
1345
|
+
const coder = defaultMoveCoder(client.config);
|
|
1346
1346
|
const data: InputViewFunctionData = {
|
|
1347
1347
|
function:
|
|
1348
1348
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::stake_and_reward_amount",
|
|
@@ -1364,7 +1364,7 @@ export namespace farming {
|
|
|
1364
1364
|
|
|
1365
1365
|
version?: bigint,
|
|
1366
1366
|
): Promise<[boolean]> {
|
|
1367
|
-
const coder = defaultMoveCoder(client.config
|
|
1367
|
+
const coder = defaultMoveCoder(client.config);
|
|
1368
1368
|
const data: InputViewFunctionData = {
|
|
1369
1369
|
function:
|
|
1370
1370
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::v2_only_mode",
|
|
@@ -1393,7 +1393,7 @@ export namespace farming {
|
|
|
1393
1393
|
_0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.fixed_point64.FixedPoint64,
|
|
1394
1394
|
]
|
|
1395
1395
|
> {
|
|
1396
|
-
const coder = defaultMoveCoder(client.config
|
|
1396
|
+
const coder = defaultMoveCoder(client.config);
|
|
1397
1397
|
const data: InputViewFunctionData = {
|
|
1398
1398
|
function:
|
|
1399
1399
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::veTHL_shortfall_given_add",
|
|
@@ -1414,7 +1414,7 @@ export namespace farming {
|
|
|
1414
1414
|
|
|
1415
1415
|
version?: bigint,
|
|
1416
1416
|
): Promise<[bigint[]]> {
|
|
1417
|
-
const coder = defaultMoveCoder(client.config
|
|
1417
|
+
const coder = defaultMoveCoder(client.config);
|
|
1418
1418
|
const data: InputViewFunctionData = {
|
|
1419
1419
|
function:
|
|
1420
1420
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::vethl_gated_farming_exempt_pools",
|
|
@@ -1435,7 +1435,7 @@ export namespace farming {
|
|
|
1435
1435
|
|
|
1436
1436
|
version?: bigint,
|
|
1437
1437
|
): Promise<[bigint]> {
|
|
1438
|
-
const coder = defaultMoveCoder(client.config
|
|
1438
|
+
const coder = defaultMoveCoder(client.config);
|
|
1439
1439
|
const data: InputViewFunctionData = {
|
|
1440
1440
|
function:
|
|
1441
1441
|
"0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99::farming::vethl_gated_farming_threshold_bps",
|
|
@@ -1482,7 +1482,7 @@ export namespace package$ {
|
|
|
1482
1482
|
},
|
|
1483
1483
|
options?: InputGenerateTransactionOptions,
|
|
1484
1484
|
): Promise<PendingTransactionResponse> {
|
|
1485
|
-
const coder = defaultMoveCoder(client.config
|
|
1485
|
+
const coder = defaultMoveCoder(client.config);
|
|
1486
1486
|
const transaction = await client.transaction.build.simple({
|
|
1487
1487
|
sender: account.accountAddress,
|
|
1488
1488
|
data: {
|
|
@@ -1528,7 +1528,7 @@ export namespace scripts {
|
|
|
1528
1528
|
},
|
|
1529
1529
|
options?: InputGenerateTransactionOptions,
|
|
1530
1530
|
): Promise<PendingTransactionResponse> {
|
|
1531
|
-
const coder = defaultMoveCoder(client.config
|
|
1531
|
+
const coder = defaultMoveCoder(client.config);
|
|
1532
1532
|
const transaction = await client.transaction.build.simple({
|
|
1533
1533
|
sender: account.accountAddress,
|
|
1534
1534
|
data: {
|
|
@@ -1553,7 +1553,7 @@ export namespace scripts {
|
|
|
1553
1553
|
},
|
|
1554
1554
|
options?: InputGenerateTransactionOptions,
|
|
1555
1555
|
): Promise<PendingTransactionResponse> {
|
|
1556
|
-
const coder = defaultMoveCoder(client.config
|
|
1556
|
+
const coder = defaultMoveCoder(client.config);
|
|
1557
1557
|
const transaction = await client.transaction.build.simple({
|
|
1558
1558
|
sender: account.accountAddress,
|
|
1559
1559
|
data: {
|
|
@@ -1578,7 +1578,7 @@ export namespace scripts {
|
|
|
1578
1578
|
},
|
|
1579
1579
|
options?: InputGenerateTransactionOptions,
|
|
1580
1580
|
): Promise<PendingTransactionResponse> {
|
|
1581
|
-
const coder = defaultMoveCoder(client.config
|
|
1581
|
+
const coder = defaultMoveCoder(client.config);
|
|
1582
1582
|
const transaction = await client.transaction.build.simple({
|
|
1583
1583
|
sender: account.accountAddress,
|
|
1584
1584
|
data: {
|
|
@@ -1603,7 +1603,7 @@ export namespace scripts {
|
|
|
1603
1603
|
},
|
|
1604
1604
|
options?: InputGenerateTransactionOptions,
|
|
1605
1605
|
): Promise<PendingTransactionResponse> {
|
|
1606
|
-
const coder = defaultMoveCoder(client.config
|
|
1606
|
+
const coder = defaultMoveCoder(client.config);
|
|
1607
1607
|
const transaction = await client.transaction.build.simple({
|
|
1608
1608
|
sender: account.accountAddress,
|
|
1609
1609
|
data: {
|
package/src/tests/types/0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615.ts
CHANGED
|
@@ -50,7 +50,7 @@ export namespace package$ {
|
|
|
50
50
|
},
|
|
51
51
|
options?: InputGenerateTransactionOptions,
|
|
52
52
|
): Promise<PendingTransactionResponse> {
|
|
53
|
-
const coder = defaultMoveCoder(client.config
|
|
53
|
+
const coder = defaultMoveCoder(client.config);
|
|
54
54
|
const transaction = await client.transaction.build.simple({
|
|
55
55
|
sender: account.accountAddress,
|
|
56
56
|
data: {
|
|
@@ -113,7 +113,7 @@ export namespace thl_coin {
|
|
|
113
113
|
},
|
|
114
114
|
options?: InputGenerateTransactionOptions,
|
|
115
115
|
): Promise<PendingTransactionResponse> {
|
|
116
|
-
const coder = defaultMoveCoder(client.config
|
|
116
|
+
const coder = defaultMoveCoder(client.config);
|
|
117
117
|
const transaction = await client.transaction.build.simple({
|
|
118
118
|
sender: account.accountAddress,
|
|
119
119
|
data: {
|
|
@@ -138,7 +138,7 @@ export namespace thl_coin {
|
|
|
138
138
|
},
|
|
139
139
|
options?: InputGenerateTransactionOptions,
|
|
140
140
|
): Promise<PendingTransactionResponse> {
|
|
141
|
-
const coder = defaultMoveCoder(client.config
|
|
141
|
+
const coder = defaultMoveCoder(client.config);
|
|
142
142
|
const transaction = await client.transaction.build.simple({
|
|
143
143
|
sender: account.accountAddress,
|
|
144
144
|
data: {
|
|
@@ -163,7 +163,7 @@ export namespace thl_coin {
|
|
|
163
163
|
},
|
|
164
164
|
options?: InputGenerateTransactionOptions,
|
|
165
165
|
): Promise<PendingTransactionResponse> {
|
|
166
|
-
const coder = defaultMoveCoder(client.config
|
|
166
|
+
const coder = defaultMoveCoder(client.config);
|
|
167
167
|
const transaction = await client.transaction.build.simple({
|
|
168
168
|
sender: account.accountAddress,
|
|
169
169
|
data: {
|
|
@@ -188,7 +188,7 @@ export namespace thl_coin {
|
|
|
188
188
|
},
|
|
189
189
|
options?: InputGenerateTransactionOptions,
|
|
190
190
|
): Promise<PendingTransactionResponse> {
|
|
191
|
-
const coder = defaultMoveCoder(client.config
|
|
191
|
+
const coder = defaultMoveCoder(client.config);
|
|
192
192
|
const transaction = await client.transaction.build.simple({
|
|
193
193
|
sender: account.accountAddress,
|
|
194
194
|
data: {
|
|
@@ -213,7 +213,7 @@ export namespace thl_coin {
|
|
|
213
213
|
},
|
|
214
214
|
options?: InputGenerateTransactionOptions,
|
|
215
215
|
): Promise<PendingTransactionResponse> {
|
|
216
|
-
const coder = defaultMoveCoder(client.config
|
|
216
|
+
const coder = defaultMoveCoder(client.config);
|
|
217
217
|
const transaction = await client.transaction.build.simple({
|
|
218
218
|
sender: account.accountAddress,
|
|
219
219
|
data: {
|
|
@@ -239,7 +239,7 @@ export namespace thl_coin {
|
|
|
239
239
|
},
|
|
240
240
|
options?: InputGenerateTransactionOptions,
|
|
241
241
|
): Promise<PendingTransactionResponse> {
|
|
242
|
-
const coder = defaultMoveCoder(client.config
|
|
242
|
+
const coder = defaultMoveCoder(client.config);
|
|
243
243
|
const transaction = await client.transaction.build.simple({
|
|
244
244
|
sender: account.accountAddress,
|
|
245
245
|
data: {
|
|
@@ -264,7 +264,7 @@ export namespace thl_coin {
|
|
|
264
264
|
},
|
|
265
265
|
options?: InputGenerateTransactionOptions,
|
|
266
266
|
): Promise<PendingTransactionResponse> {
|
|
267
|
-
const coder = defaultMoveCoder(client.config
|
|
267
|
+
const coder = defaultMoveCoder(client.config);
|
|
268
268
|
const transaction = await client.transaction.build.simple({
|
|
269
269
|
sender: account.accountAddress,
|
|
270
270
|
data: {
|
|
@@ -313,7 +313,7 @@ export namespace thl_vetoken {
|
|
|
313
313
|
},
|
|
314
314
|
options?: InputGenerateTransactionOptions,
|
|
315
315
|
): Promise<PendingTransactionResponse> {
|
|
316
|
-
const coder = defaultMoveCoder(client.config
|
|
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 thl_vetoken {
|
|
|
338
338
|
},
|
|
339
339
|
options?: InputGenerateTransactionOptions,
|
|
340
340
|
): Promise<PendingTransactionResponse> {
|
|
341
|
-
const coder = defaultMoveCoder(client.config
|
|
341
|
+
const coder = defaultMoveCoder(client.config);
|
|
342
342
|
const transaction = await client.transaction.build.simple({
|
|
343
343
|
sender: account.accountAddress,
|
|
344
344
|
data: {
|
|
@@ -363,7 +363,7 @@ export namespace thl_vetoken {
|
|
|
363
363
|
},
|
|
364
364
|
options?: InputGenerateTransactionOptions,
|
|
365
365
|
): Promise<PendingTransactionResponse> {
|
|
366
|
-
const coder = defaultMoveCoder(client.config
|
|
366
|
+
const coder = defaultMoveCoder(client.config);
|
|
367
367
|
const transaction = await client.transaction.build.simple({
|
|
368
368
|
sender: account.accountAddress,
|
|
369
369
|
data: {
|
|
@@ -389,7 +389,7 @@ export namespace thl_vetoken {
|
|
|
389
389
|
},
|
|
390
390
|
options?: InputGenerateTransactionOptions,
|
|
391
391
|
): Promise<PendingTransactionResponse> {
|
|
392
|
-
const coder = defaultMoveCoder(client.config
|
|
392
|
+
const coder = defaultMoveCoder(client.config);
|
|
393
393
|
const transaction = await client.transaction.build.simple({
|
|
394
394
|
sender: account.accountAddress,
|
|
395
395
|
data: {
|
|
@@ -415,7 +415,7 @@ export namespace thl_vetoken {
|
|
|
415
415
|
},
|
|
416
416
|
options?: InputGenerateTransactionOptions,
|
|
417
417
|
): Promise<PendingTransactionResponse> {
|
|
418
|
-
const coder = defaultMoveCoder(client.config
|
|
418
|
+
const coder = defaultMoveCoder(client.config);
|
|
419
419
|
const transaction = await client.transaction.build.simple({
|
|
420
420
|
sender: account.accountAddress,
|
|
421
421
|
data: {
|
|
@@ -440,7 +440,7 @@ export namespace thl_vetoken {
|
|
|
440
440
|
},
|
|
441
441
|
version?: bigint,
|
|
442
442
|
): Promise<[bigint]> {
|
|
443
|
-
const coder = defaultMoveCoder(client.config
|
|
443
|
+
const coder = defaultMoveCoder(client.config);
|
|
444
444
|
const data: InputViewFunctionData = {
|
|
445
445
|
function:
|
|
446
446
|
"0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615::thl_vetoken::balance",
|
|
@@ -463,7 +463,7 @@ export namespace thl_vetoken {
|
|
|
463
463
|
},
|
|
464
464
|
version?: bigint,
|
|
465
465
|
): Promise<[bigint, bigint, bigint]> {
|
|
466
|
-
const coder = defaultMoveCoder(client.config
|
|
466
|
+
const coder = defaultMoveCoder(client.config);
|
|
467
467
|
const data: InputViewFunctionData = {
|
|
468
468
|
function:
|
|
469
469
|
"0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615::thl_vetoken::balance_breakdown",
|
|
@@ -484,7 +484,7 @@ export namespace thl_vetoken {
|
|
|
484
484
|
|
|
485
485
|
version?: bigint,
|
|
486
486
|
): Promise<[bigint, bigint]> {
|
|
487
|
-
const coder = defaultMoveCoder(client.config
|
|
487
|
+
const coder = defaultMoveCoder(client.config);
|
|
488
488
|
const data: InputViewFunctionData = {
|
|
489
489
|
function:
|
|
490
490
|
"0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615::thl_vetoken::base_multipliers",
|
|
@@ -507,7 +507,7 @@ export namespace thl_vetoken {
|
|
|
507
507
|
},
|
|
508
508
|
version?: bigint,
|
|
509
509
|
): Promise<[bigint]> {
|
|
510
|
-
const coder = defaultMoveCoder(client.config
|
|
510
|
+
const coder = defaultMoveCoder(client.config);
|
|
511
511
|
const data: InputViewFunctionData = {
|
|
512
512
|
function:
|
|
513
513
|
"0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615::thl_vetoken::delegated_balance",
|
|
@@ -528,7 +528,7 @@ export namespace thl_vetoken {
|
|
|
528
528
|
|
|
529
529
|
version?: bigint,
|
|
530
530
|
): Promise<[bigint, bigint]> {
|
|
531
|
-
const coder = defaultMoveCoder(client.config
|
|
531
|
+
const coder = defaultMoveCoder(client.config);
|
|
532
532
|
const data: InputViewFunctionData = {
|
|
533
533
|
function:
|
|
534
534
|
"0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615::thl_vetoken::derived_composable_vetoken_multipliers",
|
|
@@ -550,7 +550,7 @@ export namespace thl_vetoken {
|
|
|
550
550
|
|
|
551
551
|
version?: bigint,
|
|
552
552
|
): Promise<[bigint, bigint]> {
|
|
553
|
-
const coder = defaultMoveCoder(client.config
|
|
553
|
+
const coder = defaultMoveCoder(client.config);
|
|
554
554
|
const data: InputViewFunctionData = {
|
|
555
555
|
function:
|
|
556
556
|
"0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615::thl_vetoken::multiplied_underlying_total_supply",
|
|
@@ -571,7 +571,7 @@ export namespace thl_vetoken {
|
|
|
571
571
|
|
|
572
572
|
version?: bigint,
|
|
573
573
|
): Promise<[bigint]> {
|
|
574
|
-
const coder = defaultMoveCoder(client.config
|
|
574
|
+
const coder = defaultMoveCoder(client.config);
|
|
575
575
|
const data: InputViewFunctionData = {
|
|
576
576
|
function:
|
|
577
577
|
"0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615::thl_vetoken::one_lpt_thl_amount",
|
|
@@ -594,7 +594,7 @@ export namespace thl_vetoken {
|
|
|
594
594
|
},
|
|
595
595
|
version?: bigint,
|
|
596
596
|
): Promise<[bigint]> {
|
|
597
|
-
const coder = defaultMoveCoder(client.config
|
|
597
|
+
const coder = defaultMoveCoder(client.config);
|
|
598
598
|
const data: InputViewFunctionData = {
|
|
599
599
|
function:
|
|
600
600
|
"0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615::thl_vetoken::past_balance",
|
|
@@ -617,7 +617,7 @@ export namespace thl_vetoken {
|
|
|
617
617
|
},
|
|
618
618
|
version?: bigint,
|
|
619
619
|
): Promise<[bigint, bigint, bigint]> {
|
|
620
|
-
const coder = defaultMoveCoder(client.config
|
|
620
|
+
const coder = defaultMoveCoder(client.config);
|
|
621
621
|
const data: InputViewFunctionData = {
|
|
622
622
|
function:
|
|
623
623
|
"0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615::thl_vetoken::past_balance_breakdown",
|
|
@@ -640,7 +640,7 @@ export namespace thl_vetoken {
|
|
|
640
640
|
},
|
|
641
641
|
version?: bigint,
|
|
642
642
|
): Promise<[bigint]> {
|
|
643
|
-
const coder = defaultMoveCoder(client.config
|
|
643
|
+
const coder = defaultMoveCoder(client.config);
|
|
644
644
|
const data: InputViewFunctionData = {
|
|
645
645
|
function:
|
|
646
646
|
"0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615::thl_vetoken::past_delegated_balance",
|
|
@@ -663,7 +663,7 @@ export namespace thl_vetoken {
|
|
|
663
663
|
},
|
|
664
664
|
version?: bigint,
|
|
665
665
|
): Promise<[bigint, bigint]> {
|
|
666
|
-
const coder = defaultMoveCoder(client.config
|
|
666
|
+
const coder = defaultMoveCoder(client.config);
|
|
667
667
|
const data: InputViewFunctionData = {
|
|
668
668
|
function:
|
|
669
669
|
"0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615::thl_vetoken::past_multiplied_underlying_total_supply",
|
|
@@ -686,7 +686,7 @@ export namespace thl_vetoken {
|
|
|
686
686
|
},
|
|
687
687
|
version?: bigint,
|
|
688
688
|
): Promise<[bigint]> {
|
|
689
|
-
const coder = defaultMoveCoder(client.config
|
|
689
|
+
const coder = defaultMoveCoder(client.config);
|
|
690
690
|
const data: InputViewFunctionData = {
|
|
691
691
|
function:
|
|
692
692
|
"0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615::thl_vetoken::past_total_supply",
|
|
@@ -708,7 +708,7 @@ export namespace thl_vetoken {
|
|
|
708
708
|
|
|
709
709
|
version?: bigint,
|
|
710
710
|
): Promise<[bigint]> {
|
|
711
|
-
const coder = defaultMoveCoder(client.config
|
|
711
|
+
const coder = defaultMoveCoder(client.config);
|
|
712
712
|
const data: InputViewFunctionData = {
|
|
713
713
|
function:
|
|
714
714
|
"0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615::thl_vetoken::total_supply",
|
package/src/tests/types/0x87978b35bf1eb73ae6cf04cfedcaa1f48254a683ebd00a21e7516a991edae3ac.ts
CHANGED
|
@@ -48,7 +48,7 @@ export namespace package$ {
|
|
|
48
48
|
},
|
|
49
49
|
options?: InputGenerateTransactionOptions,
|
|
50
50
|
): Promise<PendingTransactionResponse> {
|
|
51
|
-
const coder = defaultMoveCoder(client.config
|
|
51
|
+
const coder = defaultMoveCoder(client.config);
|
|
52
52
|
const transaction = await client.transaction.build.simple({
|
|
53
53
|
sender: account.accountAddress,
|
|
54
54
|
data: {
|