@sentio/sdk 1.26.3 → 1.26.4
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/aptos-codegen/codegen.js +52 -14
- package/lib/aptos-codegen/codegen.js.map +1 -1
- package/lib/builtin/aptos/0x1.d.ts +89 -84
- package/lib/builtin/aptos/0x1.js +257 -251
- package/lib/builtin/aptos/0x1.js.map +1 -1
- package/lib/builtin/aptos/0x3.d.ts +8 -8
- package/lib/builtin/aptos/0x3.js +35 -35
- package/lib/builtin/aptos/0x3.js.map +1 -1
- package/lib/core/exporter.d.ts +4 -9
- package/lib/core/exporter.js +8 -8
- package/lib/core/exporter.js.map +1 -1
- package/lib/gen/processor/protos/processor.d.ts +2 -9
- package/lib/gen/processor/protos/processor.js +15 -54
- package/lib/gen/processor/protos/processor.js.map +1 -1
- package/lib/service.js +2 -3
- package/lib/service.js.map +1 -1
- package/lib/tests/erc20.js +1 -5
- package/lib/tests/erc20.js.map +1 -1
- package/lib/tests/types/aptos/souffle.d.ts +2 -2
- package/lib/tests/types/aptos/souffle.js +12 -12
- package/lib/tests/types/aptos/souffle.js.map +1 -1
- package/package.json +1 -1
- package/src/aptos-codegen/codegen.ts +63 -16
- package/src/builtin/aptos/0x1.ts +301 -283
- package/src/builtin/aptos/0x3.ts +47 -47
- package/src/core/exporter.ts +9 -14
- package/src/gen/processor/protos/processor.ts +15 -59
- package/src/service.ts +2 -3
- package/src/tests/erc20.ts +1 -5
- package/src/tests/types/aptos/souffle.ts +12 -12
@@ -5,7 +5,7 @@ export declare namespace acl {
|
|
5
5
|
static TYPE_QNAME: string;
|
6
6
|
list: Address[];
|
7
7
|
}
|
8
|
-
function loadTypes(
|
8
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
9
9
|
const ABI: MoveModule;
|
10
10
|
}
|
11
11
|
export declare namespace any {
|
@@ -14,11 +14,11 @@ export declare namespace any {
|
|
14
14
|
type_name: string;
|
15
15
|
data: string;
|
16
16
|
}
|
17
|
-
function loadTypes(
|
17
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
18
18
|
const ABI: MoveModule;
|
19
19
|
}
|
20
20
|
export declare namespace bcs {
|
21
|
-
function loadTypes(
|
21
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
22
22
|
const ABI: MoveModule;
|
23
23
|
}
|
24
24
|
export declare class code extends aptos.AptosBaseProcessor {
|
@@ -69,7 +69,7 @@ export declare namespace code {
|
|
69
69
|
arguments_typed: [string, string[]];
|
70
70
|
type_arguments: [];
|
71
71
|
}
|
72
|
-
function loadTypes(
|
72
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
73
73
|
const ABI: MoveModule;
|
74
74
|
}
|
75
75
|
export declare class coin extends aptos.AptosBaseProcessor {
|
@@ -151,7 +151,7 @@ export declare namespace coin {
|
|
151
151
|
arguments_typed: [];
|
152
152
|
type_arguments: [string];
|
153
153
|
}
|
154
|
-
function loadTypes(
|
154
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
155
155
|
const ABI: MoveModule;
|
156
156
|
}
|
157
157
|
export declare namespace guid {
|
@@ -164,15 +164,15 @@ export declare namespace guid {
|
|
164
164
|
creation_num: bigint;
|
165
165
|
addr: Address;
|
166
166
|
}
|
167
|
-
function loadTypes(
|
167
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
168
168
|
const ABI: MoveModule;
|
169
169
|
}
|
170
170
|
export declare namespace hash {
|
171
|
-
function loadTypes(
|
171
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
172
172
|
const ABI: MoveModule;
|
173
173
|
}
|
174
174
|
export declare namespace util {
|
175
|
-
function loadTypes(
|
175
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
176
176
|
const ABI: MoveModule;
|
177
177
|
}
|
178
178
|
export declare class block extends aptos.AptosBaseProcessor {
|
@@ -215,15 +215,15 @@ export declare namespace block {
|
|
215
215
|
data_typed: UpdateEpochIntervalEvent;
|
216
216
|
type_arguments: [];
|
217
217
|
}
|
218
|
-
function loadTypes(
|
218
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
219
219
|
const ABI: MoveModule;
|
220
220
|
}
|
221
221
|
export declare namespace debug {
|
222
|
-
function loadTypes(
|
222
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
223
223
|
const ABI: MoveModule;
|
224
224
|
}
|
225
225
|
export declare namespace error {
|
226
|
-
function loadTypes(
|
226
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
227
227
|
const ABI: MoveModule;
|
228
228
|
}
|
229
229
|
export declare namespace event {
|
@@ -232,7 +232,7 @@ export declare namespace event {
|
|
232
232
|
counter: bigint;
|
233
233
|
guid: guid.GUID;
|
234
234
|
}
|
235
|
-
function loadTypes(
|
235
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
236
236
|
const ABI: MoveModule;
|
237
237
|
}
|
238
238
|
export declare class stake extends aptos.AptosBaseProcessor {
|
@@ -252,18 +252,18 @@ export declare class stake extends aptos.AptosBaseProcessor {
|
|
252
252
|
onEntryUnlock(func: (call: stake.UnlockPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
|
253
253
|
onEntryUpdateNetworkAndFullnodeAddresses(func: (call: stake.UpdateNetworkAndFullnodeAddressesPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
|
254
254
|
onEntryWithdraw(func: (call: stake.WithdrawPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
|
255
|
+
onEventRegisterValidatorCandidateEvent(func: (event: stake.RegisterValidatorCandidateEventInstance, ctx: aptos.AptosContext) => void): stake;
|
256
|
+
onEventSetOperatorEvent(func: (event: stake.SetOperatorEventInstance, ctx: aptos.AptosContext) => void): stake;
|
255
257
|
onEventAddStakeEvent(func: (event: stake.AddStakeEventInstance, ctx: aptos.AptosContext) => void): stake;
|
256
|
-
onEventDistributeRewardsEvent(func: (event: stake.DistributeRewardsEventInstance, ctx: aptos.AptosContext) => void): stake;
|
257
|
-
onEventIncreaseLockupEvent(func: (event: stake.IncreaseLockupEventInstance, ctx: aptos.AptosContext) => void): stake;
|
258
|
-
onEventJoinValidatorSetEvent(func: (event: stake.JoinValidatorSetEventInstance, ctx: aptos.AptosContext) => void): stake;
|
259
|
-
onEventLeaveValidatorSetEvent(func: (event: stake.LeaveValidatorSetEventInstance, ctx: aptos.AptosContext) => void): stake;
|
260
258
|
onEventReactivateStakeEvent(func: (event: stake.ReactivateStakeEventInstance, ctx: aptos.AptosContext) => void): stake;
|
261
|
-
onEventRegisterValidatorCandidateEvent(func: (event: stake.RegisterValidatorCandidateEventInstance, ctx: aptos.AptosContext) => void): stake;
|
262
259
|
onEventRotateConsensusKeyEvent(func: (event: stake.RotateConsensusKeyEventInstance, ctx: aptos.AptosContext) => void): stake;
|
263
|
-
onEventSetOperatorEvent(func: (event: stake.SetOperatorEventInstance, ctx: aptos.AptosContext) => void): stake;
|
264
|
-
onEventUnlockStakeEvent(func: (event: stake.UnlockStakeEventInstance, ctx: aptos.AptosContext) => void): stake;
|
265
260
|
onEventUpdateNetworkAndFullnodeAddressesEvent(func: (event: stake.UpdateNetworkAndFullnodeAddressesEventInstance, ctx: aptos.AptosContext) => void): stake;
|
261
|
+
onEventIncreaseLockupEvent(func: (event: stake.IncreaseLockupEventInstance, ctx: aptos.AptosContext) => void): stake;
|
262
|
+
onEventJoinValidatorSetEvent(func: (event: stake.JoinValidatorSetEventInstance, ctx: aptos.AptosContext) => void): stake;
|
263
|
+
onEventDistributeRewardsEvent(func: (event: stake.DistributeRewardsEventInstance, ctx: aptos.AptosContext) => void): stake;
|
264
|
+
onEventUnlockStakeEvent(func: (event: stake.UnlockStakeEventInstance, ctx: aptos.AptosContext) => void): stake;
|
266
265
|
onEventWithdrawStakeEvent(func: (event: stake.WithdrawStakeEventInstance, ctx: aptos.AptosContext) => void): stake;
|
266
|
+
onEventLeaveValidatorSetEvent(func: (event: stake.LeaveValidatorSetEventInstance, ctx: aptos.AptosContext) => void): stake;
|
267
267
|
loadTypesInternal(registry: aptos.TypeRegistry): void;
|
268
268
|
}
|
269
269
|
export declare namespace stake {
|
@@ -495,7 +495,7 @@ export declare namespace stake {
|
|
495
495
|
arguments_typed: [bigint];
|
496
496
|
type_arguments: [];
|
497
497
|
}
|
498
|
-
function loadTypes(
|
498
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
499
499
|
const ABI: MoveModule;
|
500
500
|
}
|
501
501
|
export declare namespace table {
|
@@ -507,11 +507,11 @@ export declare namespace table {
|
|
507
507
|
static TYPE_QNAME: string;
|
508
508
|
handle: Address;
|
509
509
|
}
|
510
|
-
function loadTypes(
|
510
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
511
511
|
const ABI: MoveModule;
|
512
512
|
}
|
513
513
|
export declare namespace math64 {
|
514
|
-
function loadTypes(
|
514
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
515
515
|
const ABI: MoveModule;
|
516
516
|
}
|
517
517
|
export declare namespace option {
|
@@ -519,11 +519,11 @@ export declare namespace option {
|
|
519
519
|
static TYPE_QNAME: string;
|
520
520
|
vec: T0[] | string;
|
521
521
|
}
|
522
|
-
function loadTypes(
|
522
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
523
523
|
const ABI: MoveModule;
|
524
524
|
}
|
525
525
|
export declare namespace signer {
|
526
|
-
function loadTypes(
|
526
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
527
527
|
const ABI: MoveModule;
|
528
528
|
}
|
529
529
|
export declare namespace string {
|
@@ -531,11 +531,11 @@ export declare namespace string {
|
|
531
531
|
static TYPE_QNAME: string;
|
532
532
|
bytes: string;
|
533
533
|
}
|
534
|
-
function loadTypes(
|
534
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
535
535
|
const ABI: MoveModule;
|
536
536
|
}
|
537
537
|
export declare namespace vector {
|
538
|
-
function loadTypes(
|
538
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
539
539
|
const ABI: MoveModule;
|
540
540
|
}
|
541
541
|
export declare class voting extends aptos.AptosBaseProcessor {
|
@@ -544,6 +544,7 @@ export declare class voting extends aptos.AptosBaseProcessor {
|
|
544
544
|
static bind(options?: Partial<aptos.AptosBindOptions>): voting;
|
545
545
|
onEventCreateProposalEvent(func: (event: voting.CreateProposalEventInstance, ctx: aptos.AptosContext) => void): voting;
|
546
546
|
onEventRegisterForumEvent(func: (event: voting.RegisterForumEventInstance, ctx: aptos.AptosContext) => void): voting;
|
547
|
+
onEventResolveProposal(func: (event: voting.ResolveProposalInstance, ctx: aptos.AptosContext) => void): voting;
|
547
548
|
onEventVoteEvent(func: (event: voting.VoteEventInstance, ctx: aptos.AptosContext) => void): voting;
|
548
549
|
loadTypesInternal(registry: aptos.TypeRegistry): void;
|
549
550
|
}
|
@@ -592,6 +593,10 @@ export declare namespace voting {
|
|
592
593
|
no_votes: bigint;
|
593
594
|
resolved_early: Boolean;
|
594
595
|
}
|
596
|
+
interface ResolveProposalInstance extends aptos.TypedEventInstance<ResolveProposal> {
|
597
|
+
data_typed: ResolveProposal;
|
598
|
+
type_arguments: [];
|
599
|
+
}
|
595
600
|
class VoteEvent {
|
596
601
|
static TYPE_QNAME: string;
|
597
602
|
proposal_id: bigint;
|
@@ -614,7 +619,7 @@ export declare namespace voting {
|
|
614
619
|
events: voting.VotingEvents;
|
615
620
|
next_proposal_id: bigint;
|
616
621
|
}
|
617
|
-
function loadTypes(
|
622
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
618
623
|
const ABI: MoveModule;
|
619
624
|
}
|
620
625
|
export declare class account extends aptos.AptosBaseProcessor {
|
@@ -714,7 +719,7 @@ export declare namespace account {
|
|
714
719
|
arguments_typed: [number, string, number, string, string, string];
|
715
720
|
type_arguments: [];
|
716
721
|
}
|
717
|
-
function loadTypes(
|
722
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
718
723
|
const ABI: MoveModule;
|
719
724
|
}
|
720
725
|
export declare namespace ed25519 {
|
@@ -735,7 +740,7 @@ export declare namespace ed25519 {
|
|
735
740
|
static TYPE_QNAME: string;
|
736
741
|
bytes: string;
|
737
742
|
}
|
738
|
-
function loadTypes(
|
743
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
739
744
|
const ABI: MoveModule;
|
740
745
|
}
|
741
746
|
export declare namespace genesis {
|
@@ -769,11 +774,11 @@ export declare namespace genesis {
|
|
769
774
|
commission_percentage: bigint;
|
770
775
|
join_during_genesis: Boolean;
|
771
776
|
}
|
772
|
-
function loadTypes(
|
777
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
773
778
|
const ABI: MoveModule;
|
774
779
|
}
|
775
780
|
export declare namespace math128 {
|
776
|
-
function loadTypes(
|
781
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
777
782
|
const ABI: MoveModule;
|
778
783
|
}
|
779
784
|
export declare class version extends aptos.AptosBaseProcessor {
|
@@ -796,7 +801,7 @@ export declare namespace version {
|
|
796
801
|
arguments_typed: [bigint];
|
797
802
|
type_arguments: [];
|
798
803
|
}
|
799
|
-
function loadTypes(
|
804
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
800
805
|
const ABI: MoveModule;
|
801
806
|
}
|
802
807
|
export declare class vesting extends aptos.AptosBaseProcessor {
|
@@ -816,16 +821,16 @@ export declare class vesting extends aptos.AptosBaseProcessor {
|
|
816
821
|
onEntryUpdateOperatorWithSameCommission(func: (call: vesting.UpdateOperatorWithSameCommissionPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
|
817
822
|
onEntryUpdateVoter(func: (call: vesting.UpdateVoterPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
|
818
823
|
onEntryVest(func: (call: vesting.VestPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
|
819
|
-
onEventAdminWithdrawEvent(func: (event: vesting.AdminWithdrawEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
820
824
|
onEventCreateVestingContractEvent(func: (event: vesting.CreateVestingContractEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
821
|
-
|
825
|
+
onEventUpdateOperatorEvent(func: (event: vesting.UpdateOperatorEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
826
|
+
onEventUpdateVoterEvent(func: (event: vesting.UpdateVoterEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
822
827
|
onEventResetLockupEvent(func: (event: vesting.ResetLockupEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
823
828
|
onEventSetBeneficiaryEvent(func: (event: vesting.SetBeneficiaryEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
824
|
-
onEventTerminateEvent(func: (event: vesting.TerminateEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
825
829
|
onEventUnlockRewardsEvent(func: (event: vesting.UnlockRewardsEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
826
|
-
onEventUpdateOperatorEvent(func: (event: vesting.UpdateOperatorEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
827
|
-
onEventUpdateVoterEvent(func: (event: vesting.UpdateVoterEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
828
830
|
onEventVestEvent(func: (event: vesting.VestEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
831
|
+
onEventDistributeEvent(func: (event: vesting.DistributeEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
832
|
+
onEventTerminateEvent(func: (event: vesting.TerminateEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
833
|
+
onEventAdminWithdrawEvent(func: (event: vesting.AdminWithdrawEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
829
834
|
loadTypesInternal(registry: aptos.TypeRegistry): void;
|
830
835
|
}
|
831
836
|
export declare namespace vesting {
|
@@ -1040,7 +1045,7 @@ export declare namespace vesting {
|
|
1040
1045
|
arguments_typed: [];
|
1041
1046
|
type_arguments: [];
|
1042
1047
|
}
|
1043
|
-
function loadTypes(
|
1048
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1044
1049
|
const ABI: MoveModule;
|
1045
1050
|
}
|
1046
1051
|
export declare namespace bls12381 {
|
@@ -1068,7 +1073,7 @@ export declare namespace bls12381 {
|
|
1068
1073
|
static TYPE_QNAME: string;
|
1069
1074
|
bytes: string;
|
1070
1075
|
}
|
1071
|
-
function loadTypes(
|
1076
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1072
1077
|
const ABI: MoveModule;
|
1073
1078
|
}
|
1074
1079
|
export declare namespace chain_id {
|
@@ -1076,7 +1081,7 @@ export declare namespace chain_id {
|
|
1076
1081
|
static TYPE_QNAME: string;
|
1077
1082
|
id: number;
|
1078
1083
|
}
|
1079
|
-
function loadTypes(
|
1084
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1080
1085
|
const ABI: MoveModule;
|
1081
1086
|
}
|
1082
1087
|
export declare namespace features {
|
@@ -1084,11 +1089,11 @@ export declare namespace features {
|
|
1084
1089
|
static TYPE_QNAME: string;
|
1085
1090
|
features: string;
|
1086
1091
|
}
|
1087
|
-
function loadTypes(
|
1092
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1088
1093
|
const ABI: MoveModule;
|
1089
1094
|
}
|
1090
1095
|
export declare namespace from_bcs {
|
1091
|
-
function loadTypes(
|
1096
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1092
1097
|
const ABI: MoveModule;
|
1093
1098
|
}
|
1094
1099
|
export declare namespace pool_u64 {
|
@@ -1101,7 +1106,7 @@ export declare namespace pool_u64 {
|
|
1101
1106
|
shareholders: Address[];
|
1102
1107
|
scaling_factor: bigint;
|
1103
1108
|
}
|
1104
|
-
function loadTypes(
|
1109
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1105
1110
|
const ABI: MoveModule;
|
1106
1111
|
}
|
1107
1112
|
export declare namespace secp256k1 {
|
@@ -1113,7 +1118,7 @@ export declare namespace secp256k1 {
|
|
1113
1118
|
static TYPE_QNAME: string;
|
1114
1119
|
bytes: string;
|
1115
1120
|
}
|
1116
|
-
function loadTypes(
|
1121
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1117
1122
|
const ABI: MoveModule;
|
1118
1123
|
}
|
1119
1124
|
export declare namespace timestamp {
|
@@ -1121,7 +1126,7 @@ export declare namespace timestamp {
|
|
1121
1126
|
static TYPE_QNAME: string;
|
1122
1127
|
microseconds: bigint;
|
1123
1128
|
}
|
1124
|
-
function loadTypes(
|
1129
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1125
1130
|
const ABI: MoveModule;
|
1126
1131
|
}
|
1127
1132
|
export declare namespace type_info {
|
@@ -1131,7 +1136,7 @@ export declare namespace type_info {
|
|
1131
1136
|
module_name: string;
|
1132
1137
|
struct_name: string;
|
1133
1138
|
}
|
1134
|
-
function loadTypes(
|
1139
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1135
1140
|
const ABI: MoveModule;
|
1136
1141
|
}
|
1137
1142
|
export declare namespace aggregator {
|
@@ -1141,7 +1146,7 @@ export declare namespace aggregator {
|
|
1141
1146
|
key: Address;
|
1142
1147
|
limit: bigint;
|
1143
1148
|
}
|
1144
|
-
function loadTypes(
|
1149
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1145
1150
|
const ABI: MoveModule;
|
1146
1151
|
}
|
1147
1152
|
export declare class aptos_coin extends aptos.AptosBaseProcessor {
|
@@ -1182,11 +1187,11 @@ export declare namespace aptos_coin {
|
|
1182
1187
|
arguments_typed: [Address, bigint];
|
1183
1188
|
type_arguments: [];
|
1184
1189
|
}
|
1185
|
-
function loadTypes(
|
1190
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1186
1191
|
const ABI: MoveModule;
|
1187
1192
|
}
|
1188
1193
|
export declare namespace aptos_hash {
|
1189
|
-
function loadTypes(
|
1194
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1190
1195
|
const ABI: MoveModule;
|
1191
1196
|
}
|
1192
1197
|
export declare namespace bit_vector {
|
@@ -1195,7 +1200,7 @@ export declare namespace bit_vector {
|
|
1195
1200
|
length: bigint;
|
1196
1201
|
bit_field: Boolean[];
|
1197
1202
|
}
|
1198
|
-
function loadTypes(
|
1203
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1199
1204
|
const ABI: MoveModule;
|
1200
1205
|
}
|
1201
1206
|
export declare namespace capability {
|
@@ -1215,7 +1220,7 @@ export declare namespace capability {
|
|
1215
1220
|
static TYPE_QNAME: string;
|
1216
1221
|
root: Address;
|
1217
1222
|
}
|
1218
|
-
function loadTypes(
|
1223
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1219
1224
|
const ABI: MoveModule;
|
1220
1225
|
}
|
1221
1226
|
export declare namespace comparator {
|
@@ -1223,7 +1228,7 @@ export declare namespace comparator {
|
|
1223
1228
|
static TYPE_QNAME: string;
|
1224
1229
|
inner: number;
|
1225
1230
|
}
|
1226
|
-
function loadTypes(
|
1231
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1227
1232
|
const ABI: MoveModule;
|
1228
1233
|
}
|
1229
1234
|
export declare namespace simple_map {
|
@@ -1236,7 +1241,7 @@ export declare namespace simple_map {
|
|
1236
1241
|
static TYPE_QNAME: string;
|
1237
1242
|
data: simple_map.Element<T0, T1>[];
|
1238
1243
|
}
|
1239
|
-
function loadTypes(
|
1244
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1240
1245
|
const ABI: MoveModule;
|
1241
1246
|
}
|
1242
1247
|
export declare namespace storage_gas {
|
@@ -1272,7 +1277,7 @@ export declare namespace storage_gas {
|
|
1272
1277
|
create_curve: storage_gas.GasCurve;
|
1273
1278
|
write_curve: storage_gas.GasCurve;
|
1274
1279
|
}
|
1275
|
-
function loadTypes(
|
1280
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1276
1281
|
const ABI: MoveModule;
|
1277
1282
|
}
|
1278
1283
|
export declare namespace chain_status {
|
@@ -1280,7 +1285,7 @@ export declare namespace chain_status {
|
|
1280
1285
|
static TYPE_QNAME: string;
|
1281
1286
|
dummy_field: Boolean;
|
1282
1287
|
}
|
1283
|
-
function loadTypes(
|
1288
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1284
1289
|
const ABI: MoveModule;
|
1285
1290
|
}
|
1286
1291
|
export declare namespace copyable_any {
|
@@ -1289,7 +1294,7 @@ export declare namespace copyable_any {
|
|
1289
1294
|
type_name: string;
|
1290
1295
|
data: string;
|
1291
1296
|
}
|
1292
|
-
function loadTypes(
|
1297
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1293
1298
|
const ABI: MoveModule;
|
1294
1299
|
}
|
1295
1300
|
export declare namespace gas_schedule {
|
@@ -1307,7 +1312,7 @@ export declare namespace gas_schedule {
|
|
1307
1312
|
feature_version: bigint;
|
1308
1313
|
entries: gas_schedule.GasEntry[];
|
1309
1314
|
}
|
1310
|
-
function loadTypes(
|
1315
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1311
1316
|
const ABI: MoveModule;
|
1312
1317
|
}
|
1313
1318
|
export declare class managed_coin extends aptos.AptosBaseProcessor {
|
@@ -1343,7 +1348,7 @@ export declare namespace managed_coin {
|
|
1343
1348
|
arguments_typed: [];
|
1344
1349
|
type_arguments: [string];
|
1345
1350
|
}
|
1346
|
-
function loadTypes(
|
1351
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1347
1352
|
const ABI: MoveModule;
|
1348
1353
|
}
|
1349
1354
|
export declare namespace ristretto255 {
|
@@ -1359,7 +1364,7 @@ export declare namespace ristretto255 {
|
|
1359
1364
|
static TYPE_QNAME: string;
|
1360
1365
|
data: string;
|
1361
1366
|
}
|
1362
|
-
function loadTypes(
|
1367
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1363
1368
|
const ABI: MoveModule;
|
1364
1369
|
}
|
1365
1370
|
export declare class aptos_account extends aptos.AptosBaseProcessor {
|
@@ -1379,7 +1384,7 @@ export declare namespace aptos_account {
|
|
1379
1384
|
arguments_typed: [Address, bigint];
|
1380
1385
|
type_arguments: [];
|
1381
1386
|
}
|
1382
|
-
function loadTypes(
|
1387
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1383
1388
|
const ABI: MoveModule;
|
1384
1389
|
}
|
1385
1390
|
export declare namespace fixed_point32 {
|
@@ -1387,7 +1392,7 @@ export declare namespace fixed_point32 {
|
|
1387
1392
|
static TYPE_QNAME: string;
|
1388
1393
|
value: bigint;
|
1389
1394
|
}
|
1390
|
-
function loadTypes(
|
1395
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1391
1396
|
const ABI: MoveModule;
|
1392
1397
|
}
|
1393
1398
|
export declare namespace multi_ed25519 {
|
@@ -1403,7 +1408,7 @@ export declare namespace multi_ed25519 {
|
|
1403
1408
|
static TYPE_QNAME: string;
|
1404
1409
|
bytes: string;
|
1405
1410
|
}
|
1406
|
-
function loadTypes(
|
1411
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1407
1412
|
const ABI: MoveModule;
|
1408
1413
|
}
|
1409
1414
|
export declare class staking_proxy extends aptos.AptosBaseProcessor {
|
@@ -1453,7 +1458,7 @@ export declare namespace staking_proxy {
|
|
1453
1458
|
arguments_typed: [Address, Address];
|
1454
1459
|
type_arguments: [];
|
1455
1460
|
}
|
1456
|
-
function loadTypes(
|
1461
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1457
1462
|
const ABI: MoveModule;
|
1458
1463
|
}
|
1459
1464
|
export declare namespace state_storage {
|
@@ -1471,7 +1476,7 @@ export declare namespace state_storage {
|
|
1471
1476
|
items: bigint;
|
1472
1477
|
bytes: bigint;
|
1473
1478
|
}
|
1474
|
-
function loadTypes(
|
1479
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1475
1480
|
const ABI: MoveModule;
|
1476
1481
|
}
|
1477
1482
|
export declare namespace staking_config {
|
@@ -1485,7 +1490,7 @@ export declare namespace staking_config {
|
|
1485
1490
|
rewards_rate_denominator: bigint;
|
1486
1491
|
voting_power_increase_limit: bigint;
|
1487
1492
|
}
|
1488
|
-
function loadTypes(
|
1493
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1489
1494
|
const ABI: MoveModule;
|
1490
1495
|
}
|
1491
1496
|
export declare class reconfiguration extends aptos.AptosBaseProcessor {
|
@@ -1514,7 +1519,7 @@ export declare namespace reconfiguration {
|
|
1514
1519
|
data_typed: NewEpochEvent;
|
1515
1520
|
type_arguments: [];
|
1516
1521
|
}
|
1517
|
-
function loadTypes(
|
1522
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1518
1523
|
const ABI: MoveModule;
|
1519
1524
|
}
|
1520
1525
|
export declare namespace transaction_fee {
|
@@ -1522,7 +1527,7 @@ export declare namespace transaction_fee {
|
|
1522
1527
|
static TYPE_QNAME: string;
|
1523
1528
|
burn_cap: coin.BurnCapability<aptos_coin.AptosCoin>;
|
1524
1529
|
}
|
1525
|
-
function loadTypes(
|
1530
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1526
1531
|
const ABI: MoveModule;
|
1527
1532
|
}
|
1528
1533
|
export declare class aptos_governance extends aptos.AptosBaseProcessor {
|
@@ -1613,7 +1618,7 @@ export declare namespace aptos_governance {
|
|
1613
1618
|
arguments_typed: [Address, bigint, Boolean];
|
1614
1619
|
type_arguments: [];
|
1615
1620
|
}
|
1616
|
-
function loadTypes(
|
1621
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1617
1622
|
const ABI: MoveModule;
|
1618
1623
|
}
|
1619
1624
|
export declare namespace consensus_config {
|
@@ -1621,7 +1626,7 @@ export declare namespace consensus_config {
|
|
1621
1626
|
static TYPE_QNAME: string;
|
1622
1627
|
config: string;
|
1623
1628
|
}
|
1624
|
-
function loadTypes(
|
1629
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1625
1630
|
const ABI: MoveModule;
|
1626
1631
|
}
|
1627
1632
|
export declare class resource_account extends aptos.AptosBaseProcessor {
|
@@ -1650,7 +1655,7 @@ export declare namespace resource_account {
|
|
1650
1655
|
arguments_typed: [string, string, string[]];
|
1651
1656
|
type_arguments: [];
|
1652
1657
|
}
|
1653
|
-
function loadTypes(
|
1658
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1654
1659
|
const ABI: MoveModule;
|
1655
1660
|
}
|
1656
1661
|
export declare class staking_contract extends aptos.AptosBaseProcessor {
|
@@ -1667,15 +1672,15 @@ export declare class staking_contract extends aptos.AptosBaseProcessor {
|
|
1667
1672
|
onEntryUnlockRewards(func: (call: staking_contract.UnlockRewardsPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_contract;
|
1668
1673
|
onEntryUnlockStake(func: (call: staking_contract.UnlockStakePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_contract;
|
1669
1674
|
onEntryUpdateVoter(func: (call: staking_contract.UpdateVoterPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_contract;
|
1670
|
-
onEventAddDistributionEvent(func: (event: staking_contract.AddDistributionEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
1671
|
-
onEventAddStakeEvent(func: (event: staking_contract.AddStakeEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
1672
1675
|
onEventCreateStakingContractEvent(func: (event: staking_contract.CreateStakingContractEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
1673
|
-
|
1674
|
-
onEventRequestCommissionEvent(func: (event: staking_contract.RequestCommissionEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
1676
|
+
onEventUpdateVoterEvent(func: (event: staking_contract.UpdateVoterEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
1675
1677
|
onEventResetLockupEvent(func: (event: staking_contract.ResetLockupEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
1676
|
-
|
1678
|
+
onEventAddStakeEvent(func: (event: staking_contract.AddStakeEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
1679
|
+
onEventRequestCommissionEvent(func: (event: staking_contract.RequestCommissionEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
1677
1680
|
onEventUnlockStakeEvent(func: (event: staking_contract.UnlockStakeEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
1678
|
-
|
1681
|
+
onEventSwitchOperatorEvent(func: (event: staking_contract.SwitchOperatorEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
1682
|
+
onEventAddDistributionEvent(func: (event: staking_contract.AddDistributionEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
1683
|
+
onEventDistributeEvent(func: (event: staking_contract.DistributeEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
1679
1684
|
loadTypesInternal(registry: aptos.TypeRegistry): void;
|
1680
1685
|
}
|
1681
1686
|
export declare namespace staking_contract {
|
@@ -1842,11 +1847,11 @@ export declare namespace staking_contract {
|
|
1842
1847
|
arguments_typed: [Address, Address];
|
1843
1848
|
type_arguments: [];
|
1844
1849
|
}
|
1845
|
-
function loadTypes(
|
1850
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1846
1851
|
const ABI: MoveModule;
|
1847
1852
|
}
|
1848
1853
|
export declare namespace system_addresses {
|
1849
|
-
function loadTypes(
|
1854
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1850
1855
|
const ABI: MoveModule;
|
1851
1856
|
}
|
1852
1857
|
export declare namespace table_with_length {
|
@@ -1855,7 +1860,7 @@ export declare namespace table_with_length {
|
|
1855
1860
|
inner: table.Table<T0, T1>;
|
1856
1861
|
length: bigint;
|
1857
1862
|
}
|
1858
|
-
function loadTypes(
|
1863
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1859
1864
|
const ABI: MoveModule;
|
1860
1865
|
}
|
1861
1866
|
export declare namespace aggregator_factory {
|
@@ -1863,7 +1868,7 @@ export declare namespace aggregator_factory {
|
|
1863
1868
|
static TYPE_QNAME: string;
|
1864
1869
|
phantom_table: table.Table<Address, bigint>;
|
1865
1870
|
}
|
1866
|
-
function loadTypes(
|
1871
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1867
1872
|
const ABI: MoveModule;
|
1868
1873
|
}
|
1869
1874
|
export declare namespace governance_proposal {
|
@@ -1871,7 +1876,7 @@ export declare namespace governance_proposal {
|
|
1871
1876
|
static TYPE_QNAME: string;
|
1872
1877
|
dummy_field: Boolean;
|
1873
1878
|
}
|
1874
|
-
function loadTypes(
|
1879
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1875
1880
|
const ABI: MoveModule;
|
1876
1881
|
}
|
1877
1882
|
export declare namespace optional_aggregator {
|
@@ -1885,11 +1890,11 @@ export declare namespace optional_aggregator {
|
|
1885
1890
|
aggregator: option.Option<aggregator.Aggregator>;
|
1886
1891
|
integer: option.Option<optional_aggregator.Integer>;
|
1887
1892
|
}
|
1888
|
-
function loadTypes(
|
1893
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1889
1894
|
const ABI: MoveModule;
|
1890
1895
|
}
|
1891
1896
|
export declare namespace transaction_context {
|
1892
|
-
function loadTypes(
|
1897
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1893
1898
|
const ABI: MoveModule;
|
1894
1899
|
}
|
1895
1900
|
export declare namespace transaction_validation {
|
@@ -1902,6 +1907,6 @@ export declare namespace transaction_validation {
|
|
1902
1907
|
multi_agent_prologue_name: string;
|
1903
1908
|
user_epilogue_name: string;
|
1904
1909
|
}
|
1905
|
-
function loadTypes(
|
1910
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
1906
1911
|
const ABI: MoveModule;
|
1907
1912
|
}
|