@sentio/sdk 2.5.4 → 2.5.5-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/lib/aptos/builtin/0x1.d.ts +70 -76
- package/lib/aptos/builtin/0x1.js +4 -4
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +14 -32
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/codegen/codegen.js +1 -0
- package/lib/aptos/codegen/codegen.js.map +1 -1
- package/lib/aptos/codegen/types.test.js.map +1 -1
- package/lib/aptos/index.d.ts +2 -1
- package/lib/aptos/index.js +1 -0
- package/lib/aptos/index.js.map +1 -1
- package/lib/aptos/models.d.ts +1 -1
- package/lib/aptos/models.js.map +1 -1
- package/lib/aptos/module-client.d.ts +6 -0
- package/lib/aptos/module-client.js +25 -0
- package/lib/aptos/module-client.js.map +1 -0
- package/lib/aptos/module-client.test.d.ts +1 -0
- package/lib/aptos/module-client.test.js.map +1 -0
- package/lib/aptos/move-coder.d.ts +2 -0
- package/lib/aptos/move-coder.js +7 -15
- package/lib/aptos/move-coder.js.map +1 -1
- package/lib/aptos/network.d.ts +2 -0
- package/lib/aptos/network.js +1 -0
- package/lib/aptos/network.js.map +1 -1
- package/lib/move/abstract-codegen.d.ts +2 -0
- package/lib/move/abstract-codegen.js +44 -7
- package/lib/move/abstract-codegen.js.map +1 -1
- package/lib/move/abstract-move-coder.d.ts +12 -5
- package/lib/move/abstract-move-coder.js +100 -6
- package/lib/move/abstract-move-coder.js.map +1 -1
- package/lib/move/ts-type.js +1 -1
- package/lib/move/ts-type.js.map +1 -1
- package/lib/move/utils.js +1 -1
- package/lib/move/utils.js.map +1 -1
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +49 -49
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/codegen/codegen.js +2 -4
- package/lib/sui/codegen/codegen.js.map +1 -1
- package/lib/sui/index.d.ts +1 -0
- package/lib/sui/index.js +1 -0
- package/lib/sui/index.js.map +1 -1
- package/lib/sui/models.d.ts +1 -1
- package/lib/sui/models.js.map +1 -1
- package/lib/sui/module-client.d.ts +3 -0
- package/lib/sui/module-client.js +7 -0
- package/lib/sui/module-client.js.map +1 -0
- package/lib/sui/move-coder.d.ts +2 -0
- package/lib/sui/move-coder.js +8 -17
- package/lib/sui/move-coder.js.map +1 -1
- package/lib/sui/utils.d.ts +2 -0
- package/lib/sui/utils.js +6 -0
- package/lib/sui/utils.js.map +1 -1
- package/package.json +4 -4
- package/src/aptos/builtin/0x1.ts +71 -81
- package/src/aptos/builtin/0x3.ts +15 -21
- package/src/aptos/codegen/codegen.ts +1 -0
- package/src/aptos/index.ts +2 -1
- package/src/aptos/models.ts +1 -1
- package/src/aptos/module-client.ts +30 -0
- package/src/aptos/move-coder.ts +11 -17
- package/src/aptos/network.ts +2 -0
- package/src/move/abstract-codegen.ts +55 -9
- package/src/move/abstract-move-coder.ts +116 -10
- package/src/move/ts-type.ts +1 -1
- package/src/move/utils.ts +1 -1
- package/src/sui/builtin/0x1.ts +2 -2
- package/src/sui/builtin/0x2.ts +50 -51
- package/src/sui/codegen/codegen.ts +2 -4
- package/src/sui/index.ts +2 -0
- package/src/sui/models.ts +1 -1
- package/src/sui/module-client.ts +7 -0
- package/src/sui/move-coder.ts +11 -21
- package/src/sui/utils.ts +8 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CallFilter } from "@sentio/sdk/move";
|
|
2
|
-
import { MoveCoder, AptosBindOptions, AptosBaseProcessor, TypedEventInstance,
|
|
2
|
+
import { MoveCoder, AptosBindOptions, AptosBaseProcessor, TypedEventInstance, TypedFunctionPayload, AptosContext } from "@sentio/sdk/aptos";
|
|
3
3
|
import { MoveFetchConfig } from "@sentio/protos";
|
|
4
4
|
import { Address } from "@sentio/sdk/aptos";
|
|
5
5
|
export declare namespace acl {
|
|
@@ -8,7 +8,7 @@ export declare namespace acl {
|
|
|
8
8
|
list: Address[];
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare namespace
|
|
11
|
+
export declare namespace any_ {
|
|
12
12
|
class Any {
|
|
13
13
|
static TYPE_QNAME: string;
|
|
14
14
|
type_name: string;
|
|
@@ -59,7 +59,7 @@ export declare namespace code {
|
|
|
59
59
|
static TYPE_QNAME: string;
|
|
60
60
|
policy: number;
|
|
61
61
|
}
|
|
62
|
-
interface PublishPackageTxnPayload extends
|
|
62
|
+
interface PublishPackageTxnPayload extends TypedFunctionPayload<[string, string[]]> {
|
|
63
63
|
arguments_decoded: [string, string[]];
|
|
64
64
|
type_arguments: [];
|
|
65
65
|
}
|
|
@@ -126,19 +126,19 @@ export declare namespace coin {
|
|
|
126
126
|
data_decoded: WithdrawEvent;
|
|
127
127
|
type_arguments: [];
|
|
128
128
|
}
|
|
129
|
-
interface FreezeCoinStorePayload<T0 = any> extends
|
|
129
|
+
interface FreezeCoinStorePayload<T0 = any> extends TypedFunctionPayload<[Address, Address]> {
|
|
130
130
|
arguments_decoded: [Address, Address];
|
|
131
131
|
type_arguments: [string];
|
|
132
132
|
}
|
|
133
|
-
interface TransferPayload<T0 = any> extends
|
|
133
|
+
interface TransferPayload<T0 = any> extends TypedFunctionPayload<[Address, bigint]> {
|
|
134
134
|
arguments_decoded: [Address, bigint];
|
|
135
135
|
type_arguments: [string];
|
|
136
136
|
}
|
|
137
|
-
interface UnfreezeCoinStorePayload<T0 = any> extends
|
|
137
|
+
interface UnfreezeCoinStorePayload<T0 = any> extends TypedFunctionPayload<[Address, Address]> {
|
|
138
138
|
arguments_decoded: [Address, Address];
|
|
139
139
|
type_arguments: [string];
|
|
140
140
|
}
|
|
141
|
-
interface UpgradeSupplyPayload<T0 = any> extends
|
|
141
|
+
interface UpgradeSupplyPayload<T0 = any> extends TypedFunctionPayload<[]> {
|
|
142
142
|
arguments_decoded: [];
|
|
143
143
|
type_arguments: [string];
|
|
144
144
|
}
|
|
@@ -412,55 +412,55 @@ export declare namespace stake {
|
|
|
412
412
|
data_decoded: WithdrawStakeEvent;
|
|
413
413
|
type_arguments: [];
|
|
414
414
|
}
|
|
415
|
-
interface AddStakePayload extends
|
|
415
|
+
interface AddStakePayload extends TypedFunctionPayload<[bigint]> {
|
|
416
416
|
arguments_decoded: [bigint];
|
|
417
417
|
type_arguments: [];
|
|
418
418
|
}
|
|
419
|
-
interface IncreaseLockupPayload extends
|
|
419
|
+
interface IncreaseLockupPayload extends TypedFunctionPayload<[]> {
|
|
420
420
|
arguments_decoded: [];
|
|
421
421
|
type_arguments: [];
|
|
422
422
|
}
|
|
423
|
-
interface InitializeStakeOwnerPayload extends
|
|
423
|
+
interface InitializeStakeOwnerPayload extends TypedFunctionPayload<[bigint, Address, Address]> {
|
|
424
424
|
arguments_decoded: [bigint, Address, Address];
|
|
425
425
|
type_arguments: [];
|
|
426
426
|
}
|
|
427
|
-
interface InitializeValidatorPayload extends
|
|
427
|
+
interface InitializeValidatorPayload extends TypedFunctionPayload<[string, string, string, string]> {
|
|
428
428
|
arguments_decoded: [string, string, string, string];
|
|
429
429
|
type_arguments: [];
|
|
430
430
|
}
|
|
431
|
-
interface JoinValidatorSetPayload extends
|
|
431
|
+
interface JoinValidatorSetPayload extends TypedFunctionPayload<[Address]> {
|
|
432
432
|
arguments_decoded: [Address];
|
|
433
433
|
type_arguments: [];
|
|
434
434
|
}
|
|
435
|
-
interface LeaveValidatorSetPayload extends
|
|
435
|
+
interface LeaveValidatorSetPayload extends TypedFunctionPayload<[Address]> {
|
|
436
436
|
arguments_decoded: [Address];
|
|
437
437
|
type_arguments: [];
|
|
438
438
|
}
|
|
439
|
-
interface ReactivateStakePayload extends
|
|
439
|
+
interface ReactivateStakePayload extends TypedFunctionPayload<[bigint]> {
|
|
440
440
|
arguments_decoded: [bigint];
|
|
441
441
|
type_arguments: [];
|
|
442
442
|
}
|
|
443
|
-
interface RotateConsensusKeyPayload extends
|
|
443
|
+
interface RotateConsensusKeyPayload extends TypedFunctionPayload<[Address, string, string]> {
|
|
444
444
|
arguments_decoded: [Address, string, string];
|
|
445
445
|
type_arguments: [];
|
|
446
446
|
}
|
|
447
|
-
interface SetDelegatedVoterPayload extends
|
|
447
|
+
interface SetDelegatedVoterPayload extends TypedFunctionPayload<[Address]> {
|
|
448
448
|
arguments_decoded: [Address];
|
|
449
449
|
type_arguments: [];
|
|
450
450
|
}
|
|
451
|
-
interface SetOperatorPayload extends
|
|
451
|
+
interface SetOperatorPayload extends TypedFunctionPayload<[Address]> {
|
|
452
452
|
arguments_decoded: [Address];
|
|
453
453
|
type_arguments: [];
|
|
454
454
|
}
|
|
455
|
-
interface UnlockPayload extends
|
|
455
|
+
interface UnlockPayload extends TypedFunctionPayload<[bigint]> {
|
|
456
456
|
arguments_decoded: [bigint];
|
|
457
457
|
type_arguments: [];
|
|
458
458
|
}
|
|
459
|
-
interface UpdateNetworkAndFullnodeAddressesPayload extends
|
|
459
|
+
interface UpdateNetworkAndFullnodeAddressesPayload extends TypedFunctionPayload<[Address, string, string]> {
|
|
460
460
|
arguments_decoded: [Address, string, string];
|
|
461
461
|
type_arguments: [];
|
|
462
462
|
}
|
|
463
|
-
interface WithdrawPayload extends
|
|
463
|
+
interface WithdrawPayload extends TypedFunctionPayload<[bigint]> {
|
|
464
464
|
arguments_decoded: [bigint];
|
|
465
465
|
type_arguments: [];
|
|
466
466
|
}
|
|
@@ -648,15 +648,15 @@ export declare namespace account {
|
|
|
648
648
|
source_address: Address;
|
|
649
649
|
recipient_address: Address;
|
|
650
650
|
}
|
|
651
|
-
interface OfferSignerCapabilityPayload extends
|
|
651
|
+
interface OfferSignerCapabilityPayload extends TypedFunctionPayload<[string, number, string, Address]> {
|
|
652
652
|
arguments_decoded: [string, number, string, Address];
|
|
653
653
|
type_arguments: [];
|
|
654
654
|
}
|
|
655
|
-
interface RevokeSignerCapabilityPayload extends
|
|
655
|
+
interface RevokeSignerCapabilityPayload extends TypedFunctionPayload<[Address]> {
|
|
656
656
|
arguments_decoded: [Address];
|
|
657
657
|
type_arguments: [];
|
|
658
658
|
}
|
|
659
|
-
interface RotateAuthenticationKeyPayload extends
|
|
659
|
+
interface RotateAuthenticationKeyPayload extends TypedFunctionPayload<[
|
|
660
660
|
number,
|
|
661
661
|
string,
|
|
662
662
|
number,
|
|
@@ -735,7 +735,7 @@ export declare namespace version {
|
|
|
735
735
|
static TYPE_QNAME: string;
|
|
736
736
|
major: bigint;
|
|
737
737
|
}
|
|
738
|
-
interface SetVersionPayload extends
|
|
738
|
+
interface SetVersionPayload extends TypedFunctionPayload<[bigint]> {
|
|
739
739
|
arguments_decoded: [bigint];
|
|
740
740
|
type_arguments: [];
|
|
741
741
|
}
|
|
@@ -928,55 +928,55 @@ export declare namespace vesting {
|
|
|
928
928
|
period_duration: bigint;
|
|
929
929
|
last_vested_period: bigint;
|
|
930
930
|
}
|
|
931
|
-
interface AdminWithdrawPayload extends
|
|
931
|
+
interface AdminWithdrawPayload extends TypedFunctionPayload<[Address]> {
|
|
932
932
|
arguments_decoded: [Address];
|
|
933
933
|
type_arguments: [];
|
|
934
934
|
}
|
|
935
|
-
interface DistributePayload extends
|
|
935
|
+
interface DistributePayload extends TypedFunctionPayload<[Address]> {
|
|
936
936
|
arguments_decoded: [Address];
|
|
937
937
|
type_arguments: [];
|
|
938
938
|
}
|
|
939
|
-
interface ResetBeneficiaryPayload extends
|
|
939
|
+
interface ResetBeneficiaryPayload extends TypedFunctionPayload<[Address, Address]> {
|
|
940
940
|
arguments_decoded: [Address, Address];
|
|
941
941
|
type_arguments: [];
|
|
942
942
|
}
|
|
943
|
-
interface ResetLockupPayload extends
|
|
943
|
+
interface ResetLockupPayload extends TypedFunctionPayload<[Address]> {
|
|
944
944
|
arguments_decoded: [Address];
|
|
945
945
|
type_arguments: [];
|
|
946
946
|
}
|
|
947
|
-
interface SetBeneficiaryPayload extends
|
|
947
|
+
interface SetBeneficiaryPayload extends TypedFunctionPayload<[Address, Address, Address]> {
|
|
948
948
|
arguments_decoded: [Address, Address, Address];
|
|
949
949
|
type_arguments: [];
|
|
950
950
|
}
|
|
951
|
-
interface SetBeneficiaryResetterPayload extends
|
|
951
|
+
interface SetBeneficiaryResetterPayload extends TypedFunctionPayload<[Address, Address]> {
|
|
952
952
|
arguments_decoded: [Address, Address];
|
|
953
953
|
type_arguments: [];
|
|
954
954
|
}
|
|
955
|
-
interface SetManagementRolePayload extends
|
|
955
|
+
interface SetManagementRolePayload extends TypedFunctionPayload<[Address, string, Address]> {
|
|
956
956
|
arguments_decoded: [Address, string, Address];
|
|
957
957
|
type_arguments: [];
|
|
958
958
|
}
|
|
959
|
-
interface TerminateVestingContractPayload extends
|
|
959
|
+
interface TerminateVestingContractPayload extends TypedFunctionPayload<[Address]> {
|
|
960
960
|
arguments_decoded: [Address];
|
|
961
961
|
type_arguments: [];
|
|
962
962
|
}
|
|
963
|
-
interface UnlockRewardsPayload extends
|
|
963
|
+
interface UnlockRewardsPayload extends TypedFunctionPayload<[Address]> {
|
|
964
964
|
arguments_decoded: [Address];
|
|
965
965
|
type_arguments: [];
|
|
966
966
|
}
|
|
967
|
-
interface UpdateOperatorPayload extends
|
|
967
|
+
interface UpdateOperatorPayload extends TypedFunctionPayload<[Address, Address, bigint]> {
|
|
968
968
|
arguments_decoded: [Address, Address, bigint];
|
|
969
969
|
type_arguments: [];
|
|
970
970
|
}
|
|
971
|
-
interface UpdateOperatorWithSameCommissionPayload extends
|
|
971
|
+
interface UpdateOperatorWithSameCommissionPayload extends TypedFunctionPayload<[Address, Address]> {
|
|
972
972
|
arguments_decoded: [Address, Address];
|
|
973
973
|
type_arguments: [];
|
|
974
974
|
}
|
|
975
|
-
interface UpdateVoterPayload extends
|
|
975
|
+
interface UpdateVoterPayload extends TypedFunctionPayload<[Address, Address]> {
|
|
976
976
|
arguments_decoded: [Address, Address];
|
|
977
977
|
type_arguments: [];
|
|
978
978
|
}
|
|
979
|
-
interface VestPayload extends
|
|
979
|
+
interface VestPayload extends TypedFunctionPayload<[Address]> {
|
|
980
980
|
arguments_decoded: [Address];
|
|
981
981
|
type_arguments: [];
|
|
982
982
|
}
|
|
@@ -1088,15 +1088,15 @@ export declare namespace aptos_coin {
|
|
|
1088
1088
|
static TYPE_QNAME: string;
|
|
1089
1089
|
mint_cap: coin.MintCapability<aptos_coin.AptosCoin>;
|
|
1090
1090
|
}
|
|
1091
|
-
interface ClaimMintCapabilityPayload extends
|
|
1091
|
+
interface ClaimMintCapabilityPayload extends TypedFunctionPayload<[]> {
|
|
1092
1092
|
arguments_decoded: [];
|
|
1093
1093
|
type_arguments: [];
|
|
1094
1094
|
}
|
|
1095
|
-
interface DelegateMintCapabilityPayload extends
|
|
1095
|
+
interface DelegateMintCapabilityPayload extends TypedFunctionPayload<[Address, Address]> {
|
|
1096
1096
|
arguments_decoded: [Address, Address];
|
|
1097
1097
|
type_arguments: [];
|
|
1098
1098
|
}
|
|
1099
|
-
interface MintPayload extends
|
|
1099
|
+
interface MintPayload extends TypedFunctionPayload<[Address, bigint]> {
|
|
1100
1100
|
arguments_decoded: [Address, bigint];
|
|
1101
1101
|
type_arguments: [];
|
|
1102
1102
|
}
|
|
@@ -1223,19 +1223,19 @@ export declare namespace managed_coin {
|
|
|
1223
1223
|
freeze_cap: coin.FreezeCapability<T0>;
|
|
1224
1224
|
mint_cap: coin.MintCapability<T0>;
|
|
1225
1225
|
}
|
|
1226
|
-
interface BurnPayload<T0 = any> extends
|
|
1226
|
+
interface BurnPayload<T0 = any> extends TypedFunctionPayload<[bigint]> {
|
|
1227
1227
|
arguments_decoded: [bigint];
|
|
1228
1228
|
type_arguments: [string];
|
|
1229
1229
|
}
|
|
1230
|
-
interface InitializePayload<T0 = any> extends
|
|
1230
|
+
interface InitializePayload<T0 = any> extends TypedFunctionPayload<[string, string, number, Boolean]> {
|
|
1231
1231
|
arguments_decoded: [string, string, number, Boolean];
|
|
1232
1232
|
type_arguments: [string];
|
|
1233
1233
|
}
|
|
1234
|
-
interface MintPayload<T0 = any> extends
|
|
1234
|
+
interface MintPayload<T0 = any> extends TypedFunctionPayload<[Address, bigint]> {
|
|
1235
1235
|
arguments_decoded: [Address, bigint];
|
|
1236
1236
|
type_arguments: [string];
|
|
1237
1237
|
}
|
|
1238
|
-
interface RegisterPayload<T0 = any> extends
|
|
1238
|
+
interface RegisterPayload<T0 = any> extends TypedFunctionPayload<[]> {
|
|
1239
1239
|
arguments_decoded: [];
|
|
1240
1240
|
type_arguments: [string];
|
|
1241
1241
|
}
|
|
@@ -1262,11 +1262,11 @@ export declare class aptos_account extends AptosBaseProcessor {
|
|
|
1262
1262
|
onEntryTransfer(func: (call: aptos_account.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): aptos_account;
|
|
1263
1263
|
}
|
|
1264
1264
|
export declare namespace aptos_account {
|
|
1265
|
-
interface CreateAccountPayload extends
|
|
1265
|
+
interface CreateAccountPayload extends TypedFunctionPayload<[Address]> {
|
|
1266
1266
|
arguments_decoded: [Address];
|
|
1267
1267
|
type_arguments: [];
|
|
1268
1268
|
}
|
|
1269
|
-
interface TransferPayload extends
|
|
1269
|
+
interface TransferPayload extends TypedFunctionPayload<[Address, bigint]> {
|
|
1270
1270
|
arguments_decoded: [Address, bigint];
|
|
1271
1271
|
type_arguments: [];
|
|
1272
1272
|
}
|
|
@@ -1305,35 +1305,35 @@ export declare class staking_proxy extends AptosBaseProcessor {
|
|
|
1305
1305
|
onEntrySetVoter(func: (call: staking_proxy.SetVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): staking_proxy;
|
|
1306
1306
|
}
|
|
1307
1307
|
export declare namespace staking_proxy {
|
|
1308
|
-
interface SetOperatorPayload extends
|
|
1308
|
+
interface SetOperatorPayload extends TypedFunctionPayload<[Address, Address]> {
|
|
1309
1309
|
arguments_decoded: [Address, Address];
|
|
1310
1310
|
type_arguments: [];
|
|
1311
1311
|
}
|
|
1312
|
-
interface SetStakePoolOperatorPayload extends
|
|
1312
|
+
interface SetStakePoolOperatorPayload extends TypedFunctionPayload<[Address]> {
|
|
1313
1313
|
arguments_decoded: [Address];
|
|
1314
1314
|
type_arguments: [];
|
|
1315
1315
|
}
|
|
1316
|
-
interface SetStakePoolVoterPayload extends
|
|
1316
|
+
interface SetStakePoolVoterPayload extends TypedFunctionPayload<[Address]> {
|
|
1317
1317
|
arguments_decoded: [Address];
|
|
1318
1318
|
type_arguments: [];
|
|
1319
1319
|
}
|
|
1320
|
-
interface SetStakingContractOperatorPayload extends
|
|
1320
|
+
interface SetStakingContractOperatorPayload extends TypedFunctionPayload<[Address, Address]> {
|
|
1321
1321
|
arguments_decoded: [Address, Address];
|
|
1322
1322
|
type_arguments: [];
|
|
1323
1323
|
}
|
|
1324
|
-
interface SetStakingContractVoterPayload extends
|
|
1324
|
+
interface SetStakingContractVoterPayload extends TypedFunctionPayload<[Address, Address]> {
|
|
1325
1325
|
arguments_decoded: [Address, Address];
|
|
1326
1326
|
type_arguments: [];
|
|
1327
1327
|
}
|
|
1328
|
-
interface SetVestingContractOperatorPayload extends
|
|
1328
|
+
interface SetVestingContractOperatorPayload extends TypedFunctionPayload<[Address, Address]> {
|
|
1329
1329
|
arguments_decoded: [Address, Address];
|
|
1330
1330
|
type_arguments: [];
|
|
1331
1331
|
}
|
|
1332
|
-
interface SetVestingContractVoterPayload extends
|
|
1332
|
+
interface SetVestingContractVoterPayload extends TypedFunctionPayload<[Address, Address]> {
|
|
1333
1333
|
arguments_decoded: [Address, Address];
|
|
1334
1334
|
type_arguments: [];
|
|
1335
1335
|
}
|
|
1336
|
-
interface SetVoterPayload extends
|
|
1336
|
+
interface SetVoterPayload extends TypedFunctionPayload<[Address, Address]> {
|
|
1337
1337
|
arguments_decoded: [Address, Address];
|
|
1338
1338
|
type_arguments: [];
|
|
1339
1339
|
}
|
|
@@ -1473,15 +1473,15 @@ export declare namespace aptos_governance {
|
|
|
1473
1473
|
static TYPE_QNAME: string;
|
|
1474
1474
|
votes: table.Table<aptos_governance.RecordKey, Boolean>;
|
|
1475
1475
|
}
|
|
1476
|
-
interface AddApprovedScriptHashScriptPayload extends
|
|
1476
|
+
interface AddApprovedScriptHashScriptPayload extends TypedFunctionPayload<[bigint]> {
|
|
1477
1477
|
arguments_decoded: [bigint];
|
|
1478
1478
|
type_arguments: [];
|
|
1479
1479
|
}
|
|
1480
|
-
interface CreateProposalPayload extends
|
|
1480
|
+
interface CreateProposalPayload extends TypedFunctionPayload<[Address, string, string, string]> {
|
|
1481
1481
|
arguments_decoded: [Address, string, string, string];
|
|
1482
1482
|
type_arguments: [];
|
|
1483
1483
|
}
|
|
1484
|
-
interface VotePayload extends
|
|
1484
|
+
interface VotePayload extends TypedFunctionPayload<[Address, bigint, Boolean]> {
|
|
1485
1485
|
arguments_decoded: [Address, bigint, Boolean];
|
|
1486
1486
|
type_arguments: [];
|
|
1487
1487
|
}
|
|
@@ -1505,15 +1505,15 @@ export declare namespace resource_account {
|
|
|
1505
1505
|
static TYPE_QNAME: string;
|
|
1506
1506
|
store: simple_map.SimpleMap<Address, account.SignerCapability>;
|
|
1507
1507
|
}
|
|
1508
|
-
interface CreateResourceAccountPayload extends
|
|
1508
|
+
interface CreateResourceAccountPayload extends TypedFunctionPayload<[string, string]> {
|
|
1509
1509
|
arguments_decoded: [string, string];
|
|
1510
1510
|
type_arguments: [];
|
|
1511
1511
|
}
|
|
1512
|
-
interface CreateResourceAccountAndFundPayload extends
|
|
1512
|
+
interface CreateResourceAccountAndFundPayload extends TypedFunctionPayload<[string, string, bigint]> {
|
|
1513
1513
|
arguments_decoded: [string, string, bigint];
|
|
1514
1514
|
type_arguments: [];
|
|
1515
1515
|
}
|
|
1516
|
-
interface CreateResourceAccountAndPublishPackagePayload extends
|
|
1516
|
+
interface CreateResourceAccountAndPublishPackagePayload extends TypedFunctionPayload<[string, string, string[]]> {
|
|
1517
1517
|
arguments_decoded: [string, string, string[]];
|
|
1518
1518
|
type_arguments: [];
|
|
1519
1519
|
}
|
|
@@ -1660,49 +1660,43 @@ export declare namespace staking_contract {
|
|
|
1660
1660
|
data_decoded: UpdateVoterEvent;
|
|
1661
1661
|
type_arguments: [];
|
|
1662
1662
|
}
|
|
1663
|
-
interface AddStakePayload extends
|
|
1663
|
+
interface AddStakePayload extends TypedFunctionPayload<[Address, bigint]> {
|
|
1664
1664
|
arguments_decoded: [Address, bigint];
|
|
1665
1665
|
type_arguments: [];
|
|
1666
1666
|
}
|
|
1667
|
-
interface CreateStakingContractPayload extends
|
|
1668
|
-
Address,
|
|
1669
|
-
Address,
|
|
1670
|
-
bigint,
|
|
1671
|
-
bigint,
|
|
1672
|
-
string
|
|
1673
|
-
]> {
|
|
1667
|
+
interface CreateStakingContractPayload extends TypedFunctionPayload<[Address, Address, bigint, bigint, string]> {
|
|
1674
1668
|
arguments_decoded: [Address, Address, bigint, bigint, string];
|
|
1675
1669
|
type_arguments: [];
|
|
1676
1670
|
}
|
|
1677
|
-
interface DistributePayload extends
|
|
1671
|
+
interface DistributePayload extends TypedFunctionPayload<[Address, Address]> {
|
|
1678
1672
|
arguments_decoded: [Address, Address];
|
|
1679
1673
|
type_arguments: [];
|
|
1680
1674
|
}
|
|
1681
|
-
interface RequestCommissionPayload extends
|
|
1675
|
+
interface RequestCommissionPayload extends TypedFunctionPayload<[Address, Address]> {
|
|
1682
1676
|
arguments_decoded: [Address, Address];
|
|
1683
1677
|
type_arguments: [];
|
|
1684
1678
|
}
|
|
1685
|
-
interface ResetLockupPayload extends
|
|
1679
|
+
interface ResetLockupPayload extends TypedFunctionPayload<[Address]> {
|
|
1686
1680
|
arguments_decoded: [Address];
|
|
1687
1681
|
type_arguments: [];
|
|
1688
1682
|
}
|
|
1689
|
-
interface SwitchOperatorPayload extends
|
|
1683
|
+
interface SwitchOperatorPayload extends TypedFunctionPayload<[Address, Address, bigint]> {
|
|
1690
1684
|
arguments_decoded: [Address, Address, bigint];
|
|
1691
1685
|
type_arguments: [];
|
|
1692
1686
|
}
|
|
1693
|
-
interface SwitchOperatorWithSameCommissionPayload extends
|
|
1687
|
+
interface SwitchOperatorWithSameCommissionPayload extends TypedFunctionPayload<[Address, Address]> {
|
|
1694
1688
|
arguments_decoded: [Address, Address];
|
|
1695
1689
|
type_arguments: [];
|
|
1696
1690
|
}
|
|
1697
|
-
interface UnlockRewardsPayload extends
|
|
1691
|
+
interface UnlockRewardsPayload extends TypedFunctionPayload<[Address]> {
|
|
1698
1692
|
arguments_decoded: [Address];
|
|
1699
1693
|
type_arguments: [];
|
|
1700
1694
|
}
|
|
1701
|
-
interface UnlockStakePayload extends
|
|
1695
|
+
interface UnlockStakePayload extends TypedFunctionPayload<[Address, bigint]> {
|
|
1702
1696
|
arguments_decoded: [Address, bigint];
|
|
1703
1697
|
type_arguments: [];
|
|
1704
1698
|
}
|
|
1705
|
-
interface UpdateVoterPayload extends
|
|
1699
|
+
interface UpdateVoterPayload extends TypedFunctionPayload<[Address, Address]> {
|
|
1706
1700
|
arguments_decoded: [Address, Address];
|
|
1707
1701
|
type_arguments: [];
|
|
1708
1702
|
}
|
package/lib/aptos/builtin/0x1.js
CHANGED
|
@@ -10,15 +10,15 @@ export var acl;
|
|
|
10
10
|
}
|
|
11
11
|
acl.ACL = ACL;
|
|
12
12
|
})(acl || (acl = {}));
|
|
13
|
-
export var
|
|
14
|
-
(function (
|
|
13
|
+
export var any_;
|
|
14
|
+
(function (any_) {
|
|
15
15
|
class Any {
|
|
16
16
|
static TYPE_QNAME = "0x1::any::Any";
|
|
17
17
|
type_name;
|
|
18
18
|
data;
|
|
19
19
|
}
|
|
20
|
-
|
|
21
|
-
})(
|
|
20
|
+
any_.Any = Any;
|
|
21
|
+
})(any_ || (any_ = {}));
|
|
22
22
|
export class code extends AptosBaseProcessor {
|
|
23
23
|
constructor(options) {
|
|
24
24
|
super("code", options);
|