@sentio/sdk 2.26.1-rc.1 → 2.26.1-rc.2

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.
@@ -20,6 +20,28 @@ import {
20
20
  AptosContext,
21
21
  } from "@sentio/sdk/aptos";
22
22
 
23
+ export class acl extends AptosBaseProcessor {
24
+ constructor(options: AptosBindOptions) {
25
+ super("acl", options);
26
+ }
27
+ static DEFAULT_OPTIONS: AptosBindOptions = {
28
+ address: "0x1",
29
+ network: AptosNetwork.MAIN_NET,
30
+ };
31
+
32
+ static bind(options: Partial<AptosBindOptions> = {}): acl {
33
+ return new acl({ ...acl.DEFAULT_OPTIONS, ...options });
34
+ }
35
+
36
+ onEventACL(
37
+ func: (event: acl.ACLInstance, ctx: AptosContext) => void,
38
+ fetchConfig?: Partial<MoveFetchConfig>,
39
+ ): acl {
40
+ this.onMoveEvent(func, { type: "acl::ACL" }, fetchConfig);
41
+ return this;
42
+ }
43
+ }
44
+
23
45
  export namespace acl {
24
46
  export interface ACL {
25
47
  list: Address[];
@@ -34,6 +56,33 @@ export namespace acl {
34
56
  return TYPE.apply();
35
57
  }
36
58
  }
59
+
60
+ export interface ACLInstance extends TypedEventInstance<ACL> {
61
+ data_decoded: ACL;
62
+ type_arguments: [];
63
+ }
64
+ }
65
+
66
+ export class any_ extends AptosBaseProcessor {
67
+ constructor(options: AptosBindOptions) {
68
+ super("any", options);
69
+ }
70
+ static DEFAULT_OPTIONS: AptosBindOptions = {
71
+ address: "0x1",
72
+ network: AptosNetwork.MAIN_NET,
73
+ };
74
+
75
+ static bind(options: Partial<AptosBindOptions> = {}): any_ {
76
+ return new any_({ ...any_.DEFAULT_OPTIONS, ...options });
77
+ }
78
+
79
+ onEventAny(
80
+ func: (event: any_.AnyInstance, ctx: AptosContext) => void,
81
+ fetchConfig?: Partial<MoveFetchConfig>,
82
+ ): any_ {
83
+ this.onMoveEvent(func, { type: "any::Any" }, fetchConfig);
84
+ return this;
85
+ }
37
86
  }
38
87
 
39
88
  export namespace any_ {
@@ -51,6 +100,11 @@ export namespace any_ {
51
100
  return TYPE.apply();
52
101
  }
53
102
  }
103
+
104
+ export interface AnyInstance extends TypedEventInstance<Any> {
105
+ data_decoded: Any;
106
+ type_arguments: [];
107
+ }
54
108
  }
55
109
 
56
110
  export namespace bcs {}
@@ -83,6 +137,46 @@ export class code extends AptosBaseProcessor {
83
137
  );
84
138
  return this;
85
139
  }
140
+
141
+ onEventModuleMetadata(
142
+ func: (event: code.ModuleMetadataInstance, ctx: AptosContext) => void,
143
+ fetchConfig?: Partial<MoveFetchConfig>,
144
+ ): code {
145
+ this.onMoveEvent(func, { type: "code::ModuleMetadata" }, fetchConfig);
146
+ return this;
147
+ }
148
+
149
+ onEventPackageDep(
150
+ func: (event: code.PackageDepInstance, ctx: AptosContext) => void,
151
+ fetchConfig?: Partial<MoveFetchConfig>,
152
+ ): code {
153
+ this.onMoveEvent(func, { type: "code::PackageDep" }, fetchConfig);
154
+ return this;
155
+ }
156
+
157
+ onEventPackageMetadata(
158
+ func: (event: code.PackageMetadataInstance, ctx: AptosContext) => void,
159
+ fetchConfig?: Partial<MoveFetchConfig>,
160
+ ): code {
161
+ this.onMoveEvent(func, { type: "code::PackageMetadata" }, fetchConfig);
162
+ return this;
163
+ }
164
+
165
+ onEventPackageRegistry(
166
+ func: (event: code.PackageRegistryInstance, ctx: AptosContext) => void,
167
+ fetchConfig?: Partial<MoveFetchConfig>,
168
+ ): code {
169
+ this.onMoveEvent(func, { type: "code::PackageRegistry" }, fetchConfig);
170
+ return this;
171
+ }
172
+
173
+ onEventUpgradePolicy(
174
+ func: (event: code.UpgradePolicyInstance, ctx: AptosContext) => void,
175
+ fetchConfig?: Partial<MoveFetchConfig>,
176
+ ): code {
177
+ this.onMoveEvent(func, { type: "code::UpgradePolicy" }, fetchConfig);
178
+ return this;
179
+ }
86
180
  }
87
181
 
88
182
  export namespace code {
@@ -118,6 +212,12 @@ export namespace code {
118
212
  }
119
213
  }
120
214
 
215
+ export interface ModuleMetadataInstance
216
+ extends TypedEventInstance<ModuleMetadata> {
217
+ data_decoded: ModuleMetadata;
218
+ type_arguments: [];
219
+ }
220
+
121
221
  export interface PackageDep {
122
222
  account: Address;
123
223
  package_name: string;
@@ -133,6 +233,11 @@ export namespace code {
133
233
  }
134
234
  }
135
235
 
236
+ export interface PackageDepInstance extends TypedEventInstance<PackageDep> {
237
+ data_decoded: PackageDep;
238
+ type_arguments: [];
239
+ }
240
+
136
241
  export interface PackageMetadata {
137
242
  name: string;
138
243
  upgrade_policy: code.UpgradePolicy;
@@ -156,6 +261,12 @@ export namespace code {
156
261
  }
157
262
  }
158
263
 
264
+ export interface PackageMetadataInstance
265
+ extends TypedEventInstance<PackageMetadata> {
266
+ data_decoded: PackageMetadata;
267
+ type_arguments: [];
268
+ }
269
+
159
270
  export interface PackageRegistry {
160
271
  packages: code.PackageMetadata[];
161
272
  }
@@ -172,6 +283,12 @@ export namespace code {
172
283
  }
173
284
  }
174
285
 
286
+ export interface PackageRegistryInstance
287
+ extends TypedEventInstance<PackageRegistry> {
288
+ data_decoded: PackageRegistry;
289
+ type_arguments: [];
290
+ }
291
+
175
292
  export interface UpgradePolicy {
176
293
  policy: number;
177
294
  }
@@ -186,6 +303,12 @@ export namespace code {
186
303
  }
187
304
  }
188
305
 
306
+ export interface UpgradePolicyInstance
307
+ extends TypedEventInstance<UpgradePolicy> {
308
+ data_decoded: UpgradePolicy;
309
+ type_arguments: [];
310
+ }
311
+
189
312
  export interface PublishPackageTxnPayload
190
313
  extends TypedFunctionPayload<[string, string[]]> {
191
314
  arguments_decoded: [string, string[]];
@@ -493,6 +616,36 @@ export namespace coin {
493
616
  }
494
617
  }
495
618
 
619
+ export class guid extends AptosBaseProcessor {
620
+ constructor(options: AptosBindOptions) {
621
+ super("guid", options);
622
+ }
623
+ static DEFAULT_OPTIONS: AptosBindOptions = {
624
+ address: "0x1",
625
+ network: AptosNetwork.MAIN_NET,
626
+ };
627
+
628
+ static bind(options: Partial<AptosBindOptions> = {}): guid {
629
+ return new guid({ ...guid.DEFAULT_OPTIONS, ...options });
630
+ }
631
+
632
+ onEventGUID(
633
+ func: (event: guid.GUIDInstance, ctx: AptosContext) => void,
634
+ fetchConfig?: Partial<MoveFetchConfig>,
635
+ ): guid {
636
+ this.onMoveEvent(func, { type: "guid::GUID" }, fetchConfig);
637
+ return this;
638
+ }
639
+
640
+ onEventID(
641
+ func: (event: guid.IDInstance, ctx: AptosContext) => void,
642
+ fetchConfig?: Partial<MoveFetchConfig>,
643
+ ): guid {
644
+ this.onMoveEvent(func, { type: "guid::ID" }, fetchConfig);
645
+ return this;
646
+ }
647
+ }
648
+
496
649
  export namespace guid {
497
650
  export interface GUID {
498
651
  id: guid.ID;
@@ -508,6 +661,11 @@ export namespace guid {
508
661
  }
509
662
  }
510
663
 
664
+ export interface GUIDInstance extends TypedEventInstance<GUID> {
665
+ data_decoded: GUID;
666
+ type_arguments: [];
667
+ }
668
+
511
669
  export interface ID {
512
670
  creation_num: bigint;
513
671
  addr: Address;
@@ -522,6 +680,11 @@ export namespace guid {
522
680
  return TYPE.apply();
523
681
  }
524
682
  }
683
+
684
+ export interface IDInstance extends TypedEventInstance<ID> {
685
+ data_decoded: ID;
686
+ type_arguments: [];
687
+ }
525
688
  }
526
689
 
527
690
  export namespace hash {}
@@ -881,150 +1044,181 @@ export class stake extends AptosBaseProcessor {
881
1044
  return this;
882
1045
  }
883
1046
 
884
- onEventRegisterValidatorCandidateEvent(
1047
+ onEventAddStakeEvent(
1048
+ func: (event: stake.AddStakeEventInstance, ctx: AptosContext) => void,
1049
+ fetchConfig?: Partial<MoveFetchConfig>,
1050
+ ): stake {
1051
+ this.onMoveEvent(func, { type: "stake::AddStakeEvent" }, fetchConfig);
1052
+ return this;
1053
+ }
1054
+
1055
+ onEventDistributeRewardsEvent(
885
1056
  func: (
886
- event: stake.RegisterValidatorCandidateEventInstance,
1057
+ event: stake.DistributeRewardsEventInstance,
887
1058
  ctx: AptosContext,
888
1059
  ) => void,
889
1060
  fetchConfig?: Partial<MoveFetchConfig>,
890
1061
  ): stake {
891
1062
  this.onMoveEvent(
892
1063
  func,
893
- { type: "stake::RegisterValidatorCandidateEvent" },
1064
+ { type: "stake::DistributeRewardsEvent" },
894
1065
  fetchConfig,
895
1066
  );
896
1067
  return this;
897
1068
  }
898
1069
 
899
- onEventSetOperatorEvent(
900
- func: (event: stake.SetOperatorEventInstance, ctx: AptosContext) => void,
901
- fetchConfig?: Partial<MoveFetchConfig>,
902
- ): stake {
903
- this.onMoveEvent(func, { type: "stake::SetOperatorEvent" }, fetchConfig);
904
- return this;
905
- }
906
-
907
- onEventAddStakeEvent(
908
- func: (event: stake.AddStakeEventInstance, ctx: AptosContext) => void,
1070
+ onEventIncreaseLockupEvent(
1071
+ func: (event: stake.IncreaseLockupEventInstance, ctx: AptosContext) => void,
909
1072
  fetchConfig?: Partial<MoveFetchConfig>,
910
1073
  ): stake {
911
- this.onMoveEvent(func, { type: "stake::AddStakeEvent" }, fetchConfig);
1074
+ this.onMoveEvent(func, { type: "stake::IncreaseLockupEvent" }, fetchConfig);
912
1075
  return this;
913
1076
  }
914
1077
 
915
- onEventReactivateStakeEvent(
1078
+ onEventIndividualValidatorPerformance(
916
1079
  func: (
917
- event: stake.ReactivateStakeEventInstance,
1080
+ event: stake.IndividualValidatorPerformanceInstance,
918
1081
  ctx: AptosContext,
919
1082
  ) => void,
920
1083
  fetchConfig?: Partial<MoveFetchConfig>,
921
1084
  ): stake {
922
1085
  this.onMoveEvent(
923
1086
  func,
924
- { type: "stake::ReactivateStakeEvent" },
1087
+ { type: "stake::IndividualValidatorPerformance" },
925
1088
  fetchConfig,
926
1089
  );
927
1090
  return this;
928
1091
  }
929
1092
 
930
- onEventRotateConsensusKeyEvent(
1093
+ onEventJoinValidatorSetEvent(
931
1094
  func: (
932
- event: stake.RotateConsensusKeyEventInstance,
1095
+ event: stake.JoinValidatorSetEventInstance,
933
1096
  ctx: AptosContext,
934
1097
  ) => void,
935
1098
  fetchConfig?: Partial<MoveFetchConfig>,
936
1099
  ): stake {
937
1100
  this.onMoveEvent(
938
1101
  func,
939
- { type: "stake::RotateConsensusKeyEvent" },
1102
+ { type: "stake::JoinValidatorSetEvent" },
940
1103
  fetchConfig,
941
1104
  );
942
1105
  return this;
943
1106
  }
944
1107
 
945
- onEventUpdateNetworkAndFullnodeAddressesEvent(
1108
+ onEventLeaveValidatorSetEvent(
946
1109
  func: (
947
- event: stake.UpdateNetworkAndFullnodeAddressesEventInstance,
1110
+ event: stake.LeaveValidatorSetEventInstance,
948
1111
  ctx: AptosContext,
949
1112
  ) => void,
950
1113
  fetchConfig?: Partial<MoveFetchConfig>,
951
1114
  ): stake {
952
1115
  this.onMoveEvent(
953
1116
  func,
954
- { type: "stake::UpdateNetworkAndFullnodeAddressesEvent" },
1117
+ { type: "stake::LeaveValidatorSetEvent" },
955
1118
  fetchConfig,
956
1119
  );
957
1120
  return this;
958
1121
  }
959
1122
 
960
- onEventIncreaseLockupEvent(
961
- func: (event: stake.IncreaseLockupEventInstance, ctx: AptosContext) => void,
1123
+ onEventReactivateStakeEvent(
1124
+ func: (
1125
+ event: stake.ReactivateStakeEventInstance,
1126
+ ctx: AptosContext,
1127
+ ) => void,
962
1128
  fetchConfig?: Partial<MoveFetchConfig>,
963
1129
  ): stake {
964
- this.onMoveEvent(func, { type: "stake::IncreaseLockupEvent" }, fetchConfig);
1130
+ this.onMoveEvent(
1131
+ func,
1132
+ { type: "stake::ReactivateStakeEvent" },
1133
+ fetchConfig,
1134
+ );
965
1135
  return this;
966
1136
  }
967
1137
 
968
- onEventJoinValidatorSetEvent(
1138
+ onEventRegisterValidatorCandidateEvent(
969
1139
  func: (
970
- event: stake.JoinValidatorSetEventInstance,
1140
+ event: stake.RegisterValidatorCandidateEventInstance,
971
1141
  ctx: AptosContext,
972
1142
  ) => void,
973
1143
  fetchConfig?: Partial<MoveFetchConfig>,
974
1144
  ): stake {
975
1145
  this.onMoveEvent(
976
1146
  func,
977
- { type: "stake::JoinValidatorSetEvent" },
1147
+ { type: "stake::RegisterValidatorCandidateEvent" },
978
1148
  fetchConfig,
979
1149
  );
980
1150
  return this;
981
1151
  }
982
1152
 
983
- onEventDistributeRewardsEvent(
1153
+ onEventRotateConsensusKeyEvent(
984
1154
  func: (
985
- event: stake.DistributeRewardsEventInstance,
1155
+ event: stake.RotateConsensusKeyEventInstance,
986
1156
  ctx: AptosContext,
987
1157
  ) => void,
988
1158
  fetchConfig?: Partial<MoveFetchConfig>,
989
1159
  ): stake {
990
1160
  this.onMoveEvent(
991
1161
  func,
992
- { type: "stake::DistributeRewardsEvent" },
1162
+ { type: "stake::RotateConsensusKeyEvent" },
993
1163
  fetchConfig,
994
1164
  );
995
1165
  return this;
996
1166
  }
997
1167
 
998
- onEventUnlockStakeEvent(
999
- func: (event: stake.UnlockStakeEventInstance, ctx: AptosContext) => void,
1168
+ onEventSetOperatorEvent(
1169
+ func: (event: stake.SetOperatorEventInstance, ctx: AptosContext) => void,
1000
1170
  fetchConfig?: Partial<MoveFetchConfig>,
1001
1171
  ): stake {
1002
- this.onMoveEvent(func, { type: "stake::UnlockStakeEvent" }, fetchConfig);
1172
+ this.onMoveEvent(func, { type: "stake::SetOperatorEvent" }, fetchConfig);
1003
1173
  return this;
1004
1174
  }
1005
1175
 
1006
- onEventWithdrawStakeEvent(
1007
- func: (event: stake.WithdrawStakeEventInstance, ctx: AptosContext) => void,
1176
+ onEventUnlockStakeEvent(
1177
+ func: (event: stake.UnlockStakeEventInstance, ctx: AptosContext) => void,
1008
1178
  fetchConfig?: Partial<MoveFetchConfig>,
1009
1179
  ): stake {
1010
- this.onMoveEvent(func, { type: "stake::WithdrawStakeEvent" }, fetchConfig);
1180
+ this.onMoveEvent(func, { type: "stake::UnlockStakeEvent" }, fetchConfig);
1011
1181
  return this;
1012
1182
  }
1013
1183
 
1014
- onEventLeaveValidatorSetEvent(
1184
+ onEventUpdateNetworkAndFullnodeAddressesEvent(
1015
1185
  func: (
1016
- event: stake.LeaveValidatorSetEventInstance,
1186
+ event: stake.UpdateNetworkAndFullnodeAddressesEventInstance,
1017
1187
  ctx: AptosContext,
1018
1188
  ) => void,
1019
1189
  fetchConfig?: Partial<MoveFetchConfig>,
1020
1190
  ): stake {
1021
1191
  this.onMoveEvent(
1022
1192
  func,
1023
- { type: "stake::LeaveValidatorSetEvent" },
1193
+ { type: "stake::UpdateNetworkAndFullnodeAddressesEvent" },
1024
1194
  fetchConfig,
1025
1195
  );
1026
1196
  return this;
1027
1197
  }
1198
+
1199
+ onEventValidatorConfig(
1200
+ func: (event: stake.ValidatorConfigInstance, ctx: AptosContext) => void,
1201
+ fetchConfig?: Partial<MoveFetchConfig>,
1202
+ ): stake {
1203
+ this.onMoveEvent(func, { type: "stake::ValidatorConfig" }, fetchConfig);
1204
+ return this;
1205
+ }
1206
+
1207
+ onEventValidatorInfo(
1208
+ func: (event: stake.ValidatorInfoInstance, ctx: AptosContext) => void,
1209
+ fetchConfig?: Partial<MoveFetchConfig>,
1210
+ ): stake {
1211
+ this.onMoveEvent(func, { type: "stake::ValidatorInfo" }, fetchConfig);
1212
+ return this;
1213
+ }
1214
+
1215
+ onEventWithdrawStakeEvent(
1216
+ func: (event: stake.WithdrawStakeEventInstance, ctx: AptosContext) => void,
1217
+ fetchConfig?: Partial<MoveFetchConfig>,
1218
+ ): stake {
1219
+ this.onMoveEvent(func, { type: "stake::WithdrawStakeEvent" }, fetchConfig);
1220
+ return this;
1221
+ }
1028
1222
  }
1029
1223
 
1030
1224
  export namespace stake {
@@ -1145,6 +1339,12 @@ export namespace stake {
1145
1339
  }
1146
1340
  }
1147
1341
 
1342
+ export interface IndividualValidatorPerformanceInstance
1343
+ extends TypedEventInstance<IndividualValidatorPerformance> {
1344
+ data_decoded: IndividualValidatorPerformance;
1345
+ type_arguments: [];
1346
+ }
1347
+
1148
1348
  export interface JoinValidatorSetEvent {
1149
1349
  pool_address: Address;
1150
1350
  }
@@ -1399,6 +1599,12 @@ export namespace stake {
1399
1599
  }
1400
1600
  }
1401
1601
 
1602
+ export interface ValidatorConfigInstance
1603
+ extends TypedEventInstance<ValidatorConfig> {
1604
+ data_decoded: ValidatorConfig;
1605
+ type_arguments: [];
1606
+ }
1607
+
1402
1608
  export interface ValidatorFees {
1403
1609
  fees_table: table.Table<Address, coin.Coin<aptos_coin.AptosCoin>>;
1404
1610
  }
@@ -1429,6 +1635,12 @@ export namespace stake {
1429
1635
  }
1430
1636
  }
1431
1637
 
1638
+ export interface ValidatorInfoInstance
1639
+ extends TypedEventInstance<ValidatorInfo> {
1640
+ data_decoded: ValidatorInfo;
1641
+ type_arguments: [];
1642
+ }
1643
+
1432
1644
  export interface ValidatorPerformance {
1433
1645
  validators: stake.IndividualValidatorPerformance[];
1434
1646
  }
@@ -1561,6 +1773,28 @@ export namespace stake {
1561
1773
  }
1562
1774
  }
1563
1775
 
1776
+ export class table extends AptosBaseProcessor {
1777
+ constructor(options: AptosBindOptions) {
1778
+ super("table", options);
1779
+ }
1780
+ static DEFAULT_OPTIONS: AptosBindOptions = {
1781
+ address: "0x1",
1782
+ network: AptosNetwork.MAIN_NET,
1783
+ };
1784
+
1785
+ static bind(options: Partial<AptosBindOptions> = {}): table {
1786
+ return new table({ ...table.DEFAULT_OPTIONS, ...options });
1787
+ }
1788
+
1789
+ onEventBox(
1790
+ func: (event: table.BoxInstance, ctx: AptosContext) => void,
1791
+ fetchConfig?: Partial<MoveFetchConfig>,
1792
+ ): table {
1793
+ this.onMoveEvent(func, { type: "table::Box" }, fetchConfig);
1794
+ return this;
1795
+ }
1796
+ }
1797
+
1564
1798
  export namespace table {
1565
1799
  export interface Box<T0> {
1566
1800
  val: T0;
@@ -1578,6 +1812,11 @@ export namespace table {
1578
1812
  }
1579
1813
  }
1580
1814
 
1815
+ export interface BoxInstance extends TypedEventInstance<Box<any>> {
1816
+ data_decoded: Box<any>;
1817
+ type_arguments: [string];
1818
+ }
1819
+
1581
1820
  export interface Table<T0, T1> {
1582
1821
  handle: Address;
1583
1822
  }
@@ -1659,6 +1898,38 @@ export class object_ extends AptosBaseProcessor {
1659
1898
  return this;
1660
1899
  }
1661
1900
 
1901
+ onEventDeleteRef(
1902
+ func: (event: object_.DeleteRefInstance, ctx: AptosContext) => void,
1903
+ fetchConfig?: Partial<MoveFetchConfig>,
1904
+ ): object_ {
1905
+ this.onMoveEvent(func, { type: "object::DeleteRef" }, fetchConfig);
1906
+ return this;
1907
+ }
1908
+
1909
+ onEventDeriveRef(
1910
+ func: (event: object_.DeriveRefInstance, ctx: AptosContext) => void,
1911
+ fetchConfig?: Partial<MoveFetchConfig>,
1912
+ ): object_ {
1913
+ this.onMoveEvent(func, { type: "object::DeriveRef" }, fetchConfig);
1914
+ return this;
1915
+ }
1916
+
1917
+ onEventExtendRef(
1918
+ func: (event: object_.ExtendRefInstance, ctx: AptosContext) => void,
1919
+ fetchConfig?: Partial<MoveFetchConfig>,
1920
+ ): object_ {
1921
+ this.onMoveEvent(func, { type: "object::ExtendRef" }, fetchConfig);
1922
+ return this;
1923
+ }
1924
+
1925
+ onEventObject(
1926
+ func: (event: object_.ObjectInstance, ctx: AptosContext) => void,
1927
+ fetchConfig?: Partial<MoveFetchConfig>,
1928
+ ): object_ {
1929
+ this.onMoveEvent(func, { type: "object::Object" }, fetchConfig);
1930
+ return this;
1931
+ }
1932
+
1662
1933
  onEventTransferEvent(
1663
1934
  func: (event: object_.TransferEventInstance, ctx: AptosContext) => void,
1664
1935
  fetchConfig?: Partial<MoveFetchConfig>,
@@ -1666,6 +1937,14 @@ export class object_ extends AptosBaseProcessor {
1666
1937
  this.onMoveEvent(func, { type: "object::TransferEvent" }, fetchConfig);
1667
1938
  return this;
1668
1939
  }
1940
+
1941
+ onEventTransferRef(
1942
+ func: (event: object_.TransferRefInstance, ctx: AptosContext) => void,
1943
+ fetchConfig?: Partial<MoveFetchConfig>,
1944
+ ): object_ {
1945
+ this.onMoveEvent(func, { type: "object::TransferRef" }, fetchConfig);
1946
+ return this;
1947
+ }
1669
1948
  }
1670
1949
 
1671
1950
  export namespace object_ {
@@ -1698,6 +1977,11 @@ export namespace object_ {
1698
1977
  }
1699
1978
  }
1700
1979
 
1980
+ export interface DeleteRefInstance extends TypedEventInstance<DeleteRef> {
1981
+ data_decoded: DeleteRef;
1982
+ type_arguments: [];
1983
+ }
1984
+
1701
1985
  export interface DeriveRef {
1702
1986
  self: Address;
1703
1987
  }
@@ -1712,6 +1996,11 @@ export namespace object_ {
1712
1996
  }
1713
1997
  }
1714
1998
 
1999
+ export interface DeriveRefInstance extends TypedEventInstance<DeriveRef> {
2000
+ data_decoded: DeriveRef;
2001
+ type_arguments: [];
2002
+ }
2003
+
1715
2004
  export interface ExtendRef {
1716
2005
  self: Address;
1717
2006
  }
@@ -1726,6 +2015,11 @@ export namespace object_ {
1726
2015
  }
1727
2016
  }
1728
2017
 
2018
+ export interface ExtendRefInstance extends TypedEventInstance<ExtendRef> {
2019
+ data_decoded: ExtendRef;
2020
+ type_arguments: [];
2021
+ }
2022
+
1729
2023
  export interface LinearTransferRef {
1730
2024
  self: Address;
1731
2025
  owner: Address;
@@ -1759,6 +2053,11 @@ export namespace object_ {
1759
2053
  }
1760
2054
  }
1761
2055
 
2056
+ export interface ObjectInstance extends TypedEventInstance<Object<any>> {
2057
+ data_decoded: Object<any>;
2058
+ type_arguments: [string];
2059
+ }
2060
+
1762
2061
  export interface ObjectCore {
1763
2062
  guid_creation_num: bigint;
1764
2063
  owner: Address;
@@ -1826,6 +2125,11 @@ export namespace object_ {
1826
2125
  }
1827
2126
  }
1828
2127
 
2128
+ export interface TransferRefInstance extends TypedEventInstance<TransferRef> {
2129
+ data_decoded: TransferRef;
2130
+ type_arguments: [];
2131
+ }
2132
+
1829
2133
  export interface TransferPayload<T0 = any>
1830
2134
  extends TypedFunctionPayload<[object_.Object<T0>, Address]> {
1831
2135
  arguments_decoded: [object_.Object<T0>, Address];
@@ -1845,6 +2149,28 @@ export namespace object_ {
1845
2149
  }
1846
2150
  }
1847
2151
 
2152
+ export class option extends AptosBaseProcessor {
2153
+ constructor(options: AptosBindOptions) {
2154
+ super("option", options);
2155
+ }
2156
+ static DEFAULT_OPTIONS: AptosBindOptions = {
2157
+ address: "0x1",
2158
+ network: AptosNetwork.MAIN_NET,
2159
+ };
2160
+
2161
+ static bind(options: Partial<AptosBindOptions> = {}): option {
2162
+ return new option({ ...option.DEFAULT_OPTIONS, ...options });
2163
+ }
2164
+
2165
+ onEventOption(
2166
+ func: (event: option.OptionInstance, ctx: AptosContext) => void,
2167
+ fetchConfig?: Partial<MoveFetchConfig>,
2168
+ ): option {
2169
+ this.onMoveEvent(func, { type: "option::Option" }, fetchConfig);
2170
+ return this;
2171
+ }
2172
+ }
2173
+
1848
2174
  export namespace option {
1849
2175
  export interface Option<T0> {
1850
2176
  vec: T0[] | string;
@@ -1861,10 +2187,37 @@ export namespace option {
1861
2187
  return TYPE.apply(arg0);
1862
2188
  }
1863
2189
  }
2190
+
2191
+ export interface OptionInstance extends TypedEventInstance<Option<any>> {
2192
+ data_decoded: Option<any>;
2193
+ type_arguments: [string];
2194
+ }
1864
2195
  }
1865
2196
 
1866
2197
  export namespace signer {}
1867
2198
 
2199
+ export class string_ extends AptosBaseProcessor {
2200
+ constructor(options: AptosBindOptions) {
2201
+ super("string", options);
2202
+ }
2203
+ static DEFAULT_OPTIONS: AptosBindOptions = {
2204
+ address: "0x1",
2205
+ network: AptosNetwork.MAIN_NET,
2206
+ };
2207
+
2208
+ static bind(options: Partial<AptosBindOptions> = {}): string_ {
2209
+ return new string_({ ...string_.DEFAULT_OPTIONS, ...options });
2210
+ }
2211
+
2212
+ onEventString(
2213
+ func: (event: string_.StringInstance, ctx: AptosContext) => void,
2214
+ fetchConfig?: Partial<MoveFetchConfig>,
2215
+ ): string_ {
2216
+ this.onMoveEvent(func, { type: "string::String" }, fetchConfig);
2217
+ return this;
2218
+ }
2219
+ }
2220
+
1868
2221
  export namespace string_ {
1869
2222
  export interface String {
1870
2223
  bytes: string;
@@ -1879,6 +2232,11 @@ export namespace string_ {
1879
2232
  return TYPE.apply();
1880
2233
  }
1881
2234
  }
2235
+
2236
+ export interface StringInstance extends TypedEventInstance<String> {
2237
+ data_decoded: String;
2238
+ type_arguments: [];
2239
+ }
1882
2240
  }
1883
2241
 
1884
2242
  export namespace vector {}
@@ -2275,6 +2633,29 @@ export class account extends AptosBaseProcessor {
2275
2633
  this.onMoveEvent(func, { type: "account::KeyRotationEvent" }, fetchConfig);
2276
2634
  return this;
2277
2635
  }
2636
+
2637
+ onEventRotationCapability(
2638
+ func: (
2639
+ event: account.RotationCapabilityInstance,
2640
+ ctx: AptosContext,
2641
+ ) => void,
2642
+ fetchConfig?: Partial<MoveFetchConfig>,
2643
+ ): account {
2644
+ this.onMoveEvent(
2645
+ func,
2646
+ { type: "account::RotationCapability" },
2647
+ fetchConfig,
2648
+ );
2649
+ return this;
2650
+ }
2651
+
2652
+ onEventSignerCapability(
2653
+ func: (event: account.SignerCapabilityInstance, ctx: AptosContext) => void,
2654
+ fetchConfig?: Partial<MoveFetchConfig>,
2655
+ ): account {
2656
+ this.onMoveEvent(func, { type: "account::SignerCapability" }, fetchConfig);
2657
+ return this;
2658
+ }
2278
2659
  }
2279
2660
 
2280
2661
  export namespace account {
@@ -2393,6 +2774,12 @@ export namespace account {
2393
2774
  }
2394
2775
  }
2395
2776
 
2777
+ export interface RotationCapabilityInstance
2778
+ extends TypedEventInstance<RotationCapability> {
2779
+ data_decoded: RotationCapability;
2780
+ type_arguments: [];
2781
+ }
2782
+
2396
2783
  export interface RotationCapabilityOfferProofChallenge {
2397
2784
  sequence_number: bigint;
2398
2785
  recipient_address: Address;
@@ -2466,6 +2853,12 @@ export namespace account {
2466
2853
  }
2467
2854
  }
2468
2855
 
2856
+ export interface SignerCapabilityInstance
2857
+ extends TypedEventInstance<SignerCapability> {
2858
+ data_decoded: SignerCapability;
2859
+ type_arguments: [];
2860
+ }
2861
+
2469
2862
  export interface SignerCapabilityOfferProofChallenge {
2470
2863
  sequence_number: bigint;
2471
2864
  recipient_address: Address;
@@ -2554,6 +2947,58 @@ export namespace account {
2554
2947
  }
2555
2948
  }
2556
2949
 
2950
+ export class ed25519 extends AptosBaseProcessor {
2951
+ constructor(options: AptosBindOptions) {
2952
+ super("ed25519", options);
2953
+ }
2954
+ static DEFAULT_OPTIONS: AptosBindOptions = {
2955
+ address: "0x1",
2956
+ network: AptosNetwork.MAIN_NET,
2957
+ };
2958
+
2959
+ static bind(options: Partial<AptosBindOptions> = {}): ed25519 {
2960
+ return new ed25519({ ...ed25519.DEFAULT_OPTIONS, ...options });
2961
+ }
2962
+
2963
+ onEventSignature(
2964
+ func: (event: ed25519.SignatureInstance, ctx: AptosContext) => void,
2965
+ fetchConfig?: Partial<MoveFetchConfig>,
2966
+ ): ed25519 {
2967
+ this.onMoveEvent(func, { type: "ed25519::Signature" }, fetchConfig);
2968
+ return this;
2969
+ }
2970
+
2971
+ onEventUnvalidatedPublicKey(
2972
+ func: (
2973
+ event: ed25519.UnvalidatedPublicKeyInstance,
2974
+ ctx: AptosContext,
2975
+ ) => void,
2976
+ fetchConfig?: Partial<MoveFetchConfig>,
2977
+ ): ed25519 {
2978
+ this.onMoveEvent(
2979
+ func,
2980
+ { type: "ed25519::UnvalidatedPublicKey" },
2981
+ fetchConfig,
2982
+ );
2983
+ return this;
2984
+ }
2985
+
2986
+ onEventValidatedPublicKey(
2987
+ func: (
2988
+ event: ed25519.ValidatedPublicKeyInstance,
2989
+ ctx: AptosContext,
2990
+ ) => void,
2991
+ fetchConfig?: Partial<MoveFetchConfig>,
2992
+ ): ed25519 {
2993
+ this.onMoveEvent(
2994
+ func,
2995
+ { type: "ed25519::ValidatedPublicKey" },
2996
+ fetchConfig,
2997
+ );
2998
+ return this;
2999
+ }
3000
+ }
3001
+
2557
3002
  export namespace ed25519 {
2558
3003
  export interface Signature {
2559
3004
  bytes: string;
@@ -2569,6 +3014,11 @@ export namespace ed25519 {
2569
3014
  }
2570
3015
  }
2571
3016
 
3017
+ export interface SignatureInstance extends TypedEventInstance<Signature> {
3018
+ data_decoded: Signature;
3019
+ type_arguments: [];
3020
+ }
3021
+
2572
3022
  export interface SignedMessage<T0> {
2573
3023
  type_info: type_info.TypeInfo;
2574
3024
  inner: T0;
@@ -2604,6 +3054,12 @@ export namespace ed25519 {
2604
3054
  }
2605
3055
  }
2606
3056
 
3057
+ export interface UnvalidatedPublicKeyInstance
3058
+ extends TypedEventInstance<UnvalidatedPublicKey> {
3059
+ data_decoded: UnvalidatedPublicKey;
3060
+ type_arguments: [];
3061
+ }
3062
+
2607
3063
  export interface ValidatedPublicKey {
2608
3064
  bytes: string;
2609
3065
  }
@@ -2619,6 +3075,12 @@ export namespace ed25519 {
2619
3075
  return TYPE.apply();
2620
3076
  }
2621
3077
  }
3078
+
3079
+ export interface ValidatedPublicKeyInstance
3080
+ extends TypedEventInstance<ValidatedPublicKey> {
3081
+ data_decoded: ValidatedPublicKey;
3082
+ type_arguments: [];
3083
+ }
2622
3084
  }
2623
3085
 
2624
3086
  export namespace genesis {
@@ -3047,41 +3509,41 @@ export class vesting extends AptosBaseProcessor {
3047
3509
  return this;
3048
3510
  }
3049
3511
 
3050
- onEventCreateVestingContractEvent(
3512
+ onEventAdminWithdrawEvent(
3051
3513
  func: (
3052
- event: vesting.CreateVestingContractEventInstance,
3514
+ event: vesting.AdminWithdrawEventInstance,
3053
3515
  ctx: AptosContext,
3054
3516
  ) => void,
3055
3517
  fetchConfig?: Partial<MoveFetchConfig>,
3056
3518
  ): vesting {
3057
3519
  this.onMoveEvent(
3058
3520
  func,
3059
- { type: "vesting::CreateVestingContractEvent" },
3521
+ { type: "vesting::AdminWithdrawEvent" },
3060
3522
  fetchConfig,
3061
3523
  );
3062
3524
  return this;
3063
3525
  }
3064
3526
 
3065
- onEventUpdateOperatorEvent(
3527
+ onEventCreateVestingContractEvent(
3066
3528
  func: (
3067
- event: vesting.UpdateOperatorEventInstance,
3529
+ event: vesting.CreateVestingContractEventInstance,
3068
3530
  ctx: AptosContext,
3069
3531
  ) => void,
3070
3532
  fetchConfig?: Partial<MoveFetchConfig>,
3071
3533
  ): vesting {
3072
3534
  this.onMoveEvent(
3073
3535
  func,
3074
- { type: "vesting::UpdateOperatorEvent" },
3536
+ { type: "vesting::CreateVestingContractEvent" },
3075
3537
  fetchConfig,
3076
3538
  );
3077
3539
  return this;
3078
3540
  }
3079
3541
 
3080
- onEventUpdateVoterEvent(
3081
- func: (event: vesting.UpdateVoterEventInstance, ctx: AptosContext) => void,
3542
+ onEventDistributeEvent(
3543
+ func: (event: vesting.DistributeEventInstance, ctx: AptosContext) => void,
3082
3544
  fetchConfig?: Partial<MoveFetchConfig>,
3083
3545
  ): vesting {
3084
- this.onMoveEvent(func, { type: "vesting::UpdateVoterEvent" }, fetchConfig);
3546
+ this.onMoveEvent(func, { type: "vesting::DistributeEvent" }, fetchConfig);
3085
3547
  return this;
3086
3548
  }
3087
3549
 
@@ -3108,6 +3570,14 @@ export class vesting extends AptosBaseProcessor {
3108
3570
  return this;
3109
3571
  }
3110
3572
 
3573
+ onEventTerminateEvent(
3574
+ func: (event: vesting.TerminateEventInstance, ctx: AptosContext) => void,
3575
+ fetchConfig?: Partial<MoveFetchConfig>,
3576
+ ): vesting {
3577
+ this.onMoveEvent(func, { type: "vesting::TerminateEvent" }, fetchConfig);
3578
+ return this;
3579
+ }
3580
+
3111
3581
  onEventUnlockRewardsEvent(
3112
3582
  func: (
3113
3583
  event: vesting.UnlockRewardsEventInstance,
@@ -3123,42 +3593,42 @@ export class vesting extends AptosBaseProcessor {
3123
3593
  return this;
3124
3594
  }
3125
3595
 
3126
- onEventVestEvent(
3127
- func: (event: vesting.VestEventInstance, ctx: AptosContext) => void,
3596
+ onEventUpdateOperatorEvent(
3597
+ func: (
3598
+ event: vesting.UpdateOperatorEventInstance,
3599
+ ctx: AptosContext,
3600
+ ) => void,
3128
3601
  fetchConfig?: Partial<MoveFetchConfig>,
3129
3602
  ): vesting {
3130
- this.onMoveEvent(func, { type: "vesting::VestEvent" }, fetchConfig);
3603
+ this.onMoveEvent(
3604
+ func,
3605
+ { type: "vesting::UpdateOperatorEvent" },
3606
+ fetchConfig,
3607
+ );
3131
3608
  return this;
3132
3609
  }
3133
3610
 
3134
- onEventDistributeEvent(
3135
- func: (event: vesting.DistributeEventInstance, ctx: AptosContext) => void,
3611
+ onEventUpdateVoterEvent(
3612
+ func: (event: vesting.UpdateVoterEventInstance, ctx: AptosContext) => void,
3136
3613
  fetchConfig?: Partial<MoveFetchConfig>,
3137
3614
  ): vesting {
3138
- this.onMoveEvent(func, { type: "vesting::DistributeEvent" }, fetchConfig);
3615
+ this.onMoveEvent(func, { type: "vesting::UpdateVoterEvent" }, fetchConfig);
3139
3616
  return this;
3140
3617
  }
3141
3618
 
3142
- onEventTerminateEvent(
3143
- func: (event: vesting.TerminateEventInstance, ctx: AptosContext) => void,
3619
+ onEventVestEvent(
3620
+ func: (event: vesting.VestEventInstance, ctx: AptosContext) => void,
3144
3621
  fetchConfig?: Partial<MoveFetchConfig>,
3145
3622
  ): vesting {
3146
- this.onMoveEvent(func, { type: "vesting::TerminateEvent" }, fetchConfig);
3623
+ this.onMoveEvent(func, { type: "vesting::VestEvent" }, fetchConfig);
3147
3624
  return this;
3148
3625
  }
3149
3626
 
3150
- onEventAdminWithdrawEvent(
3151
- func: (
3152
- event: vesting.AdminWithdrawEventInstance,
3153
- ctx: AptosContext,
3154
- ) => void,
3627
+ onEventVestingSchedule(
3628
+ func: (event: vesting.VestingScheduleInstance, ctx: AptosContext) => void,
3155
3629
  fetchConfig?: Partial<MoveFetchConfig>,
3156
3630
  ): vesting {
3157
- this.onMoveEvent(
3158
- func,
3159
- { type: "vesting::AdminWithdrawEvent" },
3160
- fetchConfig,
3161
- );
3631
+ this.onMoveEvent(func, { type: "vesting::VestingSchedule" }, fetchConfig);
3162
3632
  return this;
3163
3633
  }
3164
3634
  }
@@ -3514,6 +3984,12 @@ export namespace vesting {
3514
3984
  }
3515
3985
  }
3516
3986
 
3987
+ export interface VestingScheduleInstance
3988
+ extends TypedEventInstance<VestingSchedule> {
3989
+ data_decoded: VestingSchedule;
3990
+ type_arguments: [];
3991
+ }
3992
+
3517
3993
  export interface AdminWithdrawPayload
3518
3994
  extends TypedFunctionPayload<[Address]> {
3519
3995
  arguments_decoded: [Address];
@@ -3607,6 +4083,89 @@ export namespace vesting {
3607
4083
  }
3608
4084
  }
3609
4085
 
4086
+ export class bls12381 extends AptosBaseProcessor {
4087
+ constructor(options: AptosBindOptions) {
4088
+ super("bls12381", options);
4089
+ }
4090
+ static DEFAULT_OPTIONS: AptosBindOptions = {
4091
+ address: "0x1",
4092
+ network: AptosNetwork.MAIN_NET,
4093
+ };
4094
+
4095
+ static bind(options: Partial<AptosBindOptions> = {}): bls12381 {
4096
+ return new bls12381({ ...bls12381.DEFAULT_OPTIONS, ...options });
4097
+ }
4098
+
4099
+ onEventAggrOrMultiSignature(
4100
+ func: (
4101
+ event: bls12381.AggrOrMultiSignatureInstance,
4102
+ ctx: AptosContext,
4103
+ ) => void,
4104
+ fetchConfig?: Partial<MoveFetchConfig>,
4105
+ ): bls12381 {
4106
+ this.onMoveEvent(
4107
+ func,
4108
+ { type: "bls12381::AggrOrMultiSignature" },
4109
+ fetchConfig,
4110
+ );
4111
+ return this;
4112
+ }
4113
+
4114
+ onEventAggrPublicKeysWithPoP(
4115
+ func: (
4116
+ event: bls12381.AggrPublicKeysWithPoPInstance,
4117
+ ctx: AptosContext,
4118
+ ) => void,
4119
+ fetchConfig?: Partial<MoveFetchConfig>,
4120
+ ): bls12381 {
4121
+ this.onMoveEvent(
4122
+ func,
4123
+ { type: "bls12381::AggrPublicKeysWithPoP" },
4124
+ fetchConfig,
4125
+ );
4126
+ return this;
4127
+ }
4128
+
4129
+ onEventProofOfPossession(
4130
+ func: (
4131
+ event: bls12381.ProofOfPossessionInstance,
4132
+ ctx: AptosContext,
4133
+ ) => void,
4134
+ fetchConfig?: Partial<MoveFetchConfig>,
4135
+ ): bls12381 {
4136
+ this.onMoveEvent(
4137
+ func,
4138
+ { type: "bls12381::ProofOfPossession" },
4139
+ fetchConfig,
4140
+ );
4141
+ return this;
4142
+ }
4143
+
4144
+ onEventPublicKey(
4145
+ func: (event: bls12381.PublicKeyInstance, ctx: AptosContext) => void,
4146
+ fetchConfig?: Partial<MoveFetchConfig>,
4147
+ ): bls12381 {
4148
+ this.onMoveEvent(func, { type: "bls12381::PublicKey" }, fetchConfig);
4149
+ return this;
4150
+ }
4151
+
4152
+ onEventPublicKeyWithPoP(
4153
+ func: (event: bls12381.PublicKeyWithPoPInstance, ctx: AptosContext) => void,
4154
+ fetchConfig?: Partial<MoveFetchConfig>,
4155
+ ): bls12381 {
4156
+ this.onMoveEvent(func, { type: "bls12381::PublicKeyWithPoP" }, fetchConfig);
4157
+ return this;
4158
+ }
4159
+
4160
+ onEventSignature(
4161
+ func: (event: bls12381.SignatureInstance, ctx: AptosContext) => void,
4162
+ fetchConfig?: Partial<MoveFetchConfig>,
4163
+ ): bls12381 {
4164
+ this.onMoveEvent(func, { type: "bls12381::Signature" }, fetchConfig);
4165
+ return this;
4166
+ }
4167
+ }
4168
+
3610
4169
  export namespace bls12381 {
3611
4170
  export interface AggrOrMultiSignature {
3612
4171
  bytes: string;
@@ -3624,6 +4183,12 @@ export namespace bls12381 {
3624
4183
  }
3625
4184
  }
3626
4185
 
4186
+ export interface AggrOrMultiSignatureInstance
4187
+ extends TypedEventInstance<AggrOrMultiSignature> {
4188
+ data_decoded: AggrOrMultiSignature;
4189
+ type_arguments: [];
4190
+ }
4191
+
3627
4192
  export interface AggrPublicKeysWithPoP {
3628
4193
  bytes: string;
3629
4194
  }
@@ -3640,6 +4205,12 @@ export namespace bls12381 {
3640
4205
  }
3641
4206
  }
3642
4207
 
4208
+ export interface AggrPublicKeysWithPoPInstance
4209
+ extends TypedEventInstance<AggrPublicKeysWithPoP> {
4210
+ data_decoded: AggrPublicKeysWithPoP;
4211
+ type_arguments: [];
4212
+ }
4213
+
3643
4214
  export interface ProofOfPossession {
3644
4215
  bytes: string;
3645
4216
  }
@@ -3656,6 +4227,12 @@ export namespace bls12381 {
3656
4227
  }
3657
4228
  }
3658
4229
 
4230
+ export interface ProofOfPossessionInstance
4231
+ extends TypedEventInstance<ProofOfPossession> {
4232
+ data_decoded: ProofOfPossession;
4233
+ type_arguments: [];
4234
+ }
4235
+
3659
4236
  export interface PublicKey {
3660
4237
  bytes: string;
3661
4238
  }
@@ -3670,6 +4247,11 @@ export namespace bls12381 {
3670
4247
  }
3671
4248
  }
3672
4249
 
4250
+ export interface PublicKeyInstance extends TypedEventInstance<PublicKey> {
4251
+ data_decoded: PublicKey;
4252
+ type_arguments: [];
4253
+ }
4254
+
3673
4255
  export interface PublicKeyWithPoP {
3674
4256
  bytes: string;
3675
4257
  }
@@ -3686,6 +4268,12 @@ export namespace bls12381 {
3686
4268
  }
3687
4269
  }
3688
4270
 
4271
+ export interface PublicKeyWithPoPInstance
4272
+ extends TypedEventInstance<PublicKeyWithPoP> {
4273
+ data_decoded: PublicKeyWithPoP;
4274
+ type_arguments: [];
4275
+ }
4276
+
3689
4277
  export interface Signature {
3690
4278
  bytes: string;
3691
4279
  }
@@ -3699,6 +4287,11 @@ export namespace bls12381 {
3699
4287
  return TYPE.apply();
3700
4288
  }
3701
4289
  }
4290
+
4291
+ export interface SignatureInstance extends TypedEventInstance<Signature> {
4292
+ data_decoded: Signature;
4293
+ type_arguments: [];
4294
+ }
3702
4295
  }
3703
4296
 
3704
4297
  export namespace chain_id {
@@ -3756,11 +4349,48 @@ export namespace pool_u64 {
3756
4349
  }
3757
4350
  }
3758
4351
 
3759
- export namespace secp256k1 {
3760
- export interface ECDSARawPublicKey {
3761
- bytes: string;
4352
+ export class secp256k1 extends AptosBaseProcessor {
4353
+ constructor(options: AptosBindOptions) {
4354
+ super("secp256k1", options);
3762
4355
  }
3763
-
4356
+ static DEFAULT_OPTIONS: AptosBindOptions = {
4357
+ address: "0x1",
4358
+ network: AptosNetwork.MAIN_NET,
4359
+ };
4360
+
4361
+ static bind(options: Partial<AptosBindOptions> = {}): secp256k1 {
4362
+ return new secp256k1({ ...secp256k1.DEFAULT_OPTIONS, ...options });
4363
+ }
4364
+
4365
+ onEventECDSARawPublicKey(
4366
+ func: (
4367
+ event: secp256k1.ECDSARawPublicKeyInstance,
4368
+ ctx: AptosContext,
4369
+ ) => void,
4370
+ fetchConfig?: Partial<MoveFetchConfig>,
4371
+ ): secp256k1 {
4372
+ this.onMoveEvent(
4373
+ func,
4374
+ { type: "secp256k1::ECDSARawPublicKey" },
4375
+ fetchConfig,
4376
+ );
4377
+ return this;
4378
+ }
4379
+
4380
+ onEventECDSASignature(
4381
+ func: (event: secp256k1.ECDSASignatureInstance, ctx: AptosContext) => void,
4382
+ fetchConfig?: Partial<MoveFetchConfig>,
4383
+ ): secp256k1 {
4384
+ this.onMoveEvent(func, { type: "secp256k1::ECDSASignature" }, fetchConfig);
4385
+ return this;
4386
+ }
4387
+ }
4388
+
4389
+ export namespace secp256k1 {
4390
+ export interface ECDSARawPublicKey {
4391
+ bytes: string;
4392
+ }
4393
+
3764
4394
  export namespace ECDSARawPublicKey {
3765
4395
  export const TYPE_QNAME = "0x1::secp256k1::ECDSARawPublicKey";
3766
4396
 
@@ -3773,6 +4403,12 @@ export namespace secp256k1 {
3773
4403
  }
3774
4404
  }
3775
4405
 
4406
+ export interface ECDSARawPublicKeyInstance
4407
+ extends TypedEventInstance<ECDSARawPublicKey> {
4408
+ data_decoded: ECDSARawPublicKey;
4409
+ type_arguments: [];
4410
+ }
4411
+
3776
4412
  export interface ECDSASignature {
3777
4413
  bytes: string;
3778
4414
  }
@@ -3786,6 +4422,12 @@ export namespace secp256k1 {
3786
4422
  return TYPE.apply();
3787
4423
  }
3788
4424
  }
4425
+
4426
+ export interface ECDSASignatureInstance
4427
+ extends TypedEventInstance<ECDSASignature> {
4428
+ data_decoded: ECDSASignature;
4429
+ type_arguments: [];
4430
+ }
3789
4431
  }
3790
4432
 
3791
4433
  export namespace timestamp {
@@ -3806,6 +4448,28 @@ export namespace timestamp {
3806
4448
  }
3807
4449
  }
3808
4450
 
4451
+ export class type_info extends AptosBaseProcessor {
4452
+ constructor(options: AptosBindOptions) {
4453
+ super("type_info", options);
4454
+ }
4455
+ static DEFAULT_OPTIONS: AptosBindOptions = {
4456
+ address: "0x1",
4457
+ network: AptosNetwork.MAIN_NET,
4458
+ };
4459
+
4460
+ static bind(options: Partial<AptosBindOptions> = {}): type_info {
4461
+ return new type_info({ ...type_info.DEFAULT_OPTIONS, ...options });
4462
+ }
4463
+
4464
+ onEventTypeInfo(
4465
+ func: (event: type_info.TypeInfoInstance, ctx: AptosContext) => void,
4466
+ fetchConfig?: Partial<MoveFetchConfig>,
4467
+ ): type_info {
4468
+ this.onMoveEvent(func, { type: "type_info::TypeInfo" }, fetchConfig);
4469
+ return this;
4470
+ }
4471
+ }
4472
+
3809
4473
  export namespace type_info {
3810
4474
  export interface TypeInfo {
3811
4475
  account_address: Address;
@@ -3822,6 +4486,11 @@ export namespace type_info {
3822
4486
  return TYPE.apply();
3823
4487
  }
3824
4488
  }
4489
+
4490
+ export interface TypeInfoInstance extends TypedEventInstance<TypeInfo> {
4491
+ data_decoded: TypeInfo;
4492
+ type_arguments: [];
4493
+ }
3825
4494
  }
3826
4495
 
3827
4496
  export namespace aggregator {
@@ -4008,6 +4677,28 @@ export namespace big_vector {
4008
4677
  }
4009
4678
  }
4010
4679
 
4680
+ export class bit_vector extends AptosBaseProcessor {
4681
+ constructor(options: AptosBindOptions) {
4682
+ super("bit_vector", options);
4683
+ }
4684
+ static DEFAULT_OPTIONS: AptosBindOptions = {
4685
+ address: "0x1",
4686
+ network: AptosNetwork.MAIN_NET,
4687
+ };
4688
+
4689
+ static bind(options: Partial<AptosBindOptions> = {}): bit_vector {
4690
+ return new bit_vector({ ...bit_vector.DEFAULT_OPTIONS, ...options });
4691
+ }
4692
+
4693
+ onEventBitVector(
4694
+ func: (event: bit_vector.BitVectorInstance, ctx: AptosContext) => void,
4695
+ fetchConfig?: Partial<MoveFetchConfig>,
4696
+ ): bit_vector {
4697
+ this.onMoveEvent(func, { type: "bit_vector::BitVector" }, fetchConfig);
4698
+ return this;
4699
+ }
4700
+ }
4701
+
4011
4702
  export namespace bit_vector {
4012
4703
  export interface BitVector {
4013
4704
  length: bigint;
@@ -4023,6 +4714,11 @@ export namespace bit_vector {
4023
4714
  return TYPE.apply();
4024
4715
  }
4025
4716
  }
4717
+
4718
+ export interface BitVectorInstance extends TypedEventInstance<BitVector> {
4719
+ data_decoded: BitVector;
4720
+ type_arguments: [];
4721
+ }
4026
4722
  }
4027
4723
 
4028
4724
  export namespace capability {
@@ -4111,6 +4807,36 @@ export namespace comparator {
4111
4807
 
4112
4808
  export namespace math_fixed {}
4113
4809
 
4810
+ export class simple_map extends AptosBaseProcessor {
4811
+ constructor(options: AptosBindOptions) {
4812
+ super("simple_map", options);
4813
+ }
4814
+ static DEFAULT_OPTIONS: AptosBindOptions = {
4815
+ address: "0x1",
4816
+ network: AptosNetwork.MAIN_NET,
4817
+ };
4818
+
4819
+ static bind(options: Partial<AptosBindOptions> = {}): simple_map {
4820
+ return new simple_map({ ...simple_map.DEFAULT_OPTIONS, ...options });
4821
+ }
4822
+
4823
+ onEventElement(
4824
+ func: (event: simple_map.ElementInstance, ctx: AptosContext) => void,
4825
+ fetchConfig?: Partial<MoveFetchConfig>,
4826
+ ): simple_map {
4827
+ this.onMoveEvent(func, { type: "simple_map::Element" }, fetchConfig);
4828
+ return this;
4829
+ }
4830
+
4831
+ onEventSimpleMap(
4832
+ func: (event: simple_map.SimpleMapInstance, ctx: AptosContext) => void,
4833
+ fetchConfig?: Partial<MoveFetchConfig>,
4834
+ ): simple_map {
4835
+ this.onMoveEvent(func, { type: "simple_map::SimpleMap" }, fetchConfig);
4836
+ return this;
4837
+ }
4838
+ }
4839
+
4114
4840
  export namespace simple_map {
4115
4841
  export interface Element<T0, T1> {
4116
4842
  key: T0;
@@ -4130,6 +4856,12 @@ export namespace simple_map {
4130
4856
  }
4131
4857
  }
4132
4858
 
4859
+ export interface ElementInstance
4860
+ extends TypedEventInstance<Element<any, any>> {
4861
+ data_decoded: Element<any, any>;
4862
+ type_arguments: [string, string];
4863
+ }
4864
+
4133
4865
  export interface SimpleMap<T0, T1> {
4134
4866
  data: simple_map.Element<T0, T1>[];
4135
4867
  }
@@ -4146,6 +4878,34 @@ export namespace simple_map {
4146
4878
  return TYPE.apply(arg0, arg1);
4147
4879
  }
4148
4880
  }
4881
+
4882
+ export interface SimpleMapInstance
4883
+ extends TypedEventInstance<SimpleMap<any, any>> {
4884
+ data_decoded: SimpleMap<any, any>;
4885
+ type_arguments: [string, string];
4886
+ }
4887
+ }
4888
+
4889
+ export class smart_table extends AptosBaseProcessor {
4890
+ constructor(options: AptosBindOptions) {
4891
+ super("smart_table", options);
4892
+ }
4893
+ static DEFAULT_OPTIONS: AptosBindOptions = {
4894
+ address: "0x1",
4895
+ network: AptosNetwork.MAIN_NET,
4896
+ };
4897
+
4898
+ static bind(options: Partial<AptosBindOptions> = {}): smart_table {
4899
+ return new smart_table({ ...smart_table.DEFAULT_OPTIONS, ...options });
4900
+ }
4901
+
4902
+ onEventEntry(
4903
+ func: (event: smart_table.EntryInstance, ctx: AptosContext) => void,
4904
+ fetchConfig?: Partial<MoveFetchConfig>,
4905
+ ): smart_table {
4906
+ this.onMoveEvent(func, { type: "smart_table::Entry" }, fetchConfig);
4907
+ return this;
4908
+ }
4149
4909
  }
4150
4910
 
4151
4911
  export namespace smart_table {
@@ -4168,6 +4928,11 @@ export namespace smart_table {
4168
4928
  }
4169
4929
  }
4170
4930
 
4931
+ export interface EntryInstance extends TypedEventInstance<Entry<any, any>> {
4932
+ data_decoded: Entry<any, any>;
4933
+ type_arguments: [string, string];
4934
+ }
4935
+
4171
4936
  export interface SmartTable<T0, T1> {
4172
4937
  buckets: table_with_length.TableWithLength<
4173
4938
  bigint,
@@ -4196,6 +4961,51 @@ export namespace smart_table {
4196
4961
  }
4197
4962
  }
4198
4963
 
4964
+ export class storage_gas extends AptosBaseProcessor {
4965
+ constructor(options: AptosBindOptions) {
4966
+ super("storage_gas", options);
4967
+ }
4968
+ static DEFAULT_OPTIONS: AptosBindOptions = {
4969
+ address: "0x1",
4970
+ network: AptosNetwork.MAIN_NET,
4971
+ };
4972
+
4973
+ static bind(options: Partial<AptosBindOptions> = {}): storage_gas {
4974
+ return new storage_gas({ ...storage_gas.DEFAULT_OPTIONS, ...options });
4975
+ }
4976
+
4977
+ onEventGasCurve(
4978
+ func: (event: storage_gas.GasCurveInstance, ctx: AptosContext) => void,
4979
+ fetchConfig?: Partial<MoveFetchConfig>,
4980
+ ): storage_gas {
4981
+ this.onMoveEvent(func, { type: "storage_gas::GasCurve" }, fetchConfig);
4982
+ return this;
4983
+ }
4984
+
4985
+ onEventPoint(
4986
+ func: (event: storage_gas.PointInstance, ctx: AptosContext) => void,
4987
+ fetchConfig?: Partial<MoveFetchConfig>,
4988
+ ): storage_gas {
4989
+ this.onMoveEvent(func, { type: "storage_gas::Point" }, fetchConfig);
4990
+ return this;
4991
+ }
4992
+
4993
+ onEventUsageGasConfig(
4994
+ func: (
4995
+ event: storage_gas.UsageGasConfigInstance,
4996
+ ctx: AptosContext,
4997
+ ) => void,
4998
+ fetchConfig?: Partial<MoveFetchConfig>,
4999
+ ): storage_gas {
5000
+ this.onMoveEvent(
5001
+ func,
5002
+ { type: "storage_gas::UsageGasConfig" },
5003
+ fetchConfig,
5004
+ );
5005
+ return this;
5006
+ }
5007
+ }
5008
+
4199
5009
  export namespace storage_gas {
4200
5010
  export interface GasCurve {
4201
5011
  min_gas: bigint;
@@ -4213,6 +5023,11 @@ export namespace storage_gas {
4213
5023
  }
4214
5024
  }
4215
5025
 
5026
+ export interface GasCurveInstance extends TypedEventInstance<GasCurve> {
5027
+ data_decoded: GasCurve;
5028
+ type_arguments: [];
5029
+ }
5030
+
4216
5031
  export interface Point {
4217
5032
  x: bigint;
4218
5033
  y: bigint;
@@ -4228,6 +5043,11 @@ export namespace storage_gas {
4228
5043
  }
4229
5044
  }
4230
5045
 
5046
+ export interface PointInstance extends TypedEventInstance<Point> {
5047
+ data_decoded: Point;
5048
+ type_arguments: [];
5049
+ }
5050
+
4231
5051
  export interface StorageGas {
4232
5052
  per_item_read: bigint;
4233
5053
  per_item_create: bigint;
@@ -4280,6 +5100,12 @@ export namespace storage_gas {
4280
5100
  return TYPE.apply();
4281
5101
  }
4282
5102
  }
5103
+
5104
+ export interface UsageGasConfigInstance
5105
+ extends TypedEventInstance<UsageGasConfig> {
5106
+ data_decoded: UsageGasConfig;
5107
+ type_arguments: [];
5108
+ }
4283
5109
  }
4284
5110
 
4285
5111
  export namespace chain_status {
@@ -4300,6 +5126,28 @@ export namespace chain_status {
4300
5126
  }
4301
5127
  }
4302
5128
 
5129
+ export class copyable_any extends AptosBaseProcessor {
5130
+ constructor(options: AptosBindOptions) {
5131
+ super("copyable_any", options);
5132
+ }
5133
+ static DEFAULT_OPTIONS: AptosBindOptions = {
5134
+ address: "0x1",
5135
+ network: AptosNetwork.MAIN_NET,
5136
+ };
5137
+
5138
+ static bind(options: Partial<AptosBindOptions> = {}): copyable_any {
5139
+ return new copyable_any({ ...copyable_any.DEFAULT_OPTIONS, ...options });
5140
+ }
5141
+
5142
+ onEventAny(
5143
+ func: (event: copyable_any.AnyInstance, ctx: AptosContext) => void,
5144
+ fetchConfig?: Partial<MoveFetchConfig>,
5145
+ ): copyable_any {
5146
+ this.onMoveEvent(func, { type: "copyable_any::Any" }, fetchConfig);
5147
+ return this;
5148
+ }
5149
+ }
5150
+
4303
5151
  export namespace copyable_any {
4304
5152
  export interface Any {
4305
5153
  type_name: string;
@@ -4315,6 +5163,33 @@ export namespace copyable_any {
4315
5163
  return TYPE.apply();
4316
5164
  }
4317
5165
  }
5166
+
5167
+ export interface AnyInstance extends TypedEventInstance<Any> {
5168
+ data_decoded: Any;
5169
+ type_arguments: [];
5170
+ }
5171
+ }
5172
+
5173
+ export class gas_schedule extends AptosBaseProcessor {
5174
+ constructor(options: AptosBindOptions) {
5175
+ super("gas_schedule", options);
5176
+ }
5177
+ static DEFAULT_OPTIONS: AptosBindOptions = {
5178
+ address: "0x1",
5179
+ network: AptosNetwork.MAIN_NET,
5180
+ };
5181
+
5182
+ static bind(options: Partial<AptosBindOptions> = {}): gas_schedule {
5183
+ return new gas_schedule({ ...gas_schedule.DEFAULT_OPTIONS, ...options });
5184
+ }
5185
+
5186
+ onEventGasEntry(
5187
+ func: (event: gas_schedule.GasEntryInstance, ctx: AptosContext) => void,
5188
+ fetchConfig?: Partial<MoveFetchConfig>,
5189
+ ): gas_schedule {
5190
+ this.onMoveEvent(func, { type: "gas_schedule::GasEntry" }, fetchConfig);
5191
+ return this;
5192
+ }
4318
5193
  }
4319
5194
 
4320
5195
  export namespace gas_schedule {
@@ -4333,6 +5208,11 @@ export namespace gas_schedule {
4333
5208
  }
4334
5209
  }
4335
5210
 
5211
+ export interface GasEntryInstance extends TypedEventInstance<GasEntry> {
5212
+ data_decoded: GasEntry;
5213
+ type_arguments: [];
5214
+ }
5215
+
4336
5216
  export interface GasSchedule {
4337
5217
  entries: gas_schedule.GasEntry[];
4338
5218
  }
@@ -4486,6 +5366,43 @@ export namespace managed_coin {
4486
5366
 
4487
5367
  export namespace math_fixed64 {}
4488
5368
 
5369
+ export class ristretto255 extends AptosBaseProcessor {
5370
+ constructor(options: AptosBindOptions) {
5371
+ super("ristretto255", options);
5372
+ }
5373
+ static DEFAULT_OPTIONS: AptosBindOptions = {
5374
+ address: "0x1",
5375
+ network: AptosNetwork.MAIN_NET,
5376
+ };
5377
+
5378
+ static bind(options: Partial<AptosBindOptions> = {}): ristretto255 {
5379
+ return new ristretto255({ ...ristretto255.DEFAULT_OPTIONS, ...options });
5380
+ }
5381
+
5382
+ onEventCompressedRistretto(
5383
+ func: (
5384
+ event: ristretto255.CompressedRistrettoInstance,
5385
+ ctx: AptosContext,
5386
+ ) => void,
5387
+ fetchConfig?: Partial<MoveFetchConfig>,
5388
+ ): ristretto255 {
5389
+ this.onMoveEvent(
5390
+ func,
5391
+ { type: "ristretto255::CompressedRistretto" },
5392
+ fetchConfig,
5393
+ );
5394
+ return this;
5395
+ }
5396
+
5397
+ onEventScalar(
5398
+ func: (event: ristretto255.ScalarInstance, ctx: AptosContext) => void,
5399
+ fetchConfig?: Partial<MoveFetchConfig>,
5400
+ ): ristretto255 {
5401
+ this.onMoveEvent(func, { type: "ristretto255::Scalar" }, fetchConfig);
5402
+ return this;
5403
+ }
5404
+ }
5405
+
4489
5406
  export namespace ristretto255 {
4490
5407
  export interface CompressedRistretto {
4491
5408
  data: string;
@@ -4503,6 +5420,12 @@ export namespace ristretto255 {
4503
5420
  }
4504
5421
  }
4505
5422
 
5423
+ export interface CompressedRistrettoInstance
5424
+ extends TypedEventInstance<CompressedRistretto> {
5425
+ data_decoded: CompressedRistretto;
5426
+ type_arguments: [];
5427
+ }
5428
+
4506
5429
  export interface RistrettoPoint {
4507
5430
  handle: bigint;
4508
5431
  }
@@ -4530,6 +5453,11 @@ export namespace ristretto255 {
4530
5453
  return TYPE.apply();
4531
5454
  }
4532
5455
  }
5456
+
5457
+ export interface ScalarInstance extends TypedEventInstance<Scalar> {
5458
+ data_decoded: Scalar;
5459
+ type_arguments: [];
5460
+ }
4533
5461
  }
4534
5462
 
4535
5463
  export namespace smart_vector {
@@ -4553,6 +5481,44 @@ export namespace smart_vector {
4553
5481
  }
4554
5482
  }
4555
5483
 
5484
+ export class string_utils extends AptosBaseProcessor {
5485
+ constructor(options: AptosBindOptions) {
5486
+ super("string_utils", options);
5487
+ }
5488
+ static DEFAULT_OPTIONS: AptosBindOptions = {
5489
+ address: "0x1",
5490
+ network: AptosNetwork.MAIN_NET,
5491
+ };
5492
+
5493
+ static bind(options: Partial<AptosBindOptions> = {}): string_utils {
5494
+ return new string_utils({ ...string_utils.DEFAULT_OPTIONS, ...options });
5495
+ }
5496
+
5497
+ onEventCons(
5498
+ func: (event: string_utils.ConsInstance, ctx: AptosContext) => void,
5499
+ fetchConfig?: Partial<MoveFetchConfig>,
5500
+ ): string_utils {
5501
+ this.onMoveEvent(func, { type: "string_utils::Cons" }, fetchConfig);
5502
+ return this;
5503
+ }
5504
+
5505
+ onEventFakeCons(
5506
+ func: (event: string_utils.FakeConsInstance, ctx: AptosContext) => void,
5507
+ fetchConfig?: Partial<MoveFetchConfig>,
5508
+ ): string_utils {
5509
+ this.onMoveEvent(func, { type: "string_utils::FakeCons" }, fetchConfig);
5510
+ return this;
5511
+ }
5512
+
5513
+ onEventNIL(
5514
+ func: (event: string_utils.NILInstance, ctx: AptosContext) => void,
5515
+ fetchConfig?: Partial<MoveFetchConfig>,
5516
+ ): string_utils {
5517
+ this.onMoveEvent(func, { type: "string_utils::NIL" }, fetchConfig);
5518
+ return this;
5519
+ }
5520
+ }
5521
+
4556
5522
  export namespace string_utils {
4557
5523
  export interface Cons<T0, T1> {
4558
5524
  car: T0;
@@ -4572,6 +5538,11 @@ export namespace string_utils {
4572
5538
  }
4573
5539
  }
4574
5540
 
5541
+ export interface ConsInstance extends TypedEventInstance<Cons<any, any>> {
5542
+ data_decoded: Cons<any, any>;
5543
+ type_arguments: [string, string];
5544
+ }
5545
+
4575
5546
  export interface FakeCons<T0, T1> {
4576
5547
  car: T0;
4577
5548
  cdr: T1;
@@ -4590,6 +5561,12 @@ export namespace string_utils {
4590
5561
  }
4591
5562
  }
4592
5563
 
5564
+ export interface FakeConsInstance
5565
+ extends TypedEventInstance<FakeCons<any, any>> {
5566
+ data_decoded: FakeCons<any, any>;
5567
+ type_arguments: [string, string];
5568
+ }
5569
+
4593
5570
  export interface NIL {
4594
5571
  dummy_field: Boolean;
4595
5572
  }
@@ -4603,6 +5580,11 @@ export namespace string_utils {
4603
5580
  return TYPE.apply();
4604
5581
  }
4605
5582
  }
5583
+
5584
+ export interface NILInstance extends TypedEventInstance<NIL> {
5585
+ data_decoded: NIL;
5586
+ type_arguments: [];
5587
+ }
4606
5588
  }
4607
5589
 
4608
5590
  export class aptos_account extends AptosBaseProcessor {
@@ -4816,6 +5798,35 @@ export namespace aptos_account {
4816
5798
 
4817
5799
  export namespace create_signer {}
4818
5800
 
5801
+ export class fixed_point32 extends AptosBaseProcessor {
5802
+ constructor(options: AptosBindOptions) {
5803
+ super("fixed_point32", options);
5804
+ }
5805
+ static DEFAULT_OPTIONS: AptosBindOptions = {
5806
+ address: "0x1",
5807
+ network: AptosNetwork.MAIN_NET,
5808
+ };
5809
+
5810
+ static bind(options: Partial<AptosBindOptions> = {}): fixed_point32 {
5811
+ return new fixed_point32({ ...fixed_point32.DEFAULT_OPTIONS, ...options });
5812
+ }
5813
+
5814
+ onEventFixedPoint32(
5815
+ func: (
5816
+ event: fixed_point32.FixedPoint32Instance,
5817
+ ctx: AptosContext,
5818
+ ) => void,
5819
+ fetchConfig?: Partial<MoveFetchConfig>,
5820
+ ): fixed_point32 {
5821
+ this.onMoveEvent(
5822
+ func,
5823
+ { type: "fixed_point32::FixedPoint32" },
5824
+ fetchConfig,
5825
+ );
5826
+ return this;
5827
+ }
5828
+ }
5829
+
4819
5830
  export namespace fixed_point32 {
4820
5831
  export interface FixedPoint32 {
4821
5832
  value: bigint;
@@ -4830,6 +5841,41 @@ export namespace fixed_point32 {
4830
5841
  return TYPE.apply();
4831
5842
  }
4832
5843
  }
5844
+
5845
+ export interface FixedPoint32Instance
5846
+ extends TypedEventInstance<FixedPoint32> {
5847
+ data_decoded: FixedPoint32;
5848
+ type_arguments: [];
5849
+ }
5850
+ }
5851
+
5852
+ export class fixed_point64 extends AptosBaseProcessor {
5853
+ constructor(options: AptosBindOptions) {
5854
+ super("fixed_point64", options);
5855
+ }
5856
+ static DEFAULT_OPTIONS: AptosBindOptions = {
5857
+ address: "0x1",
5858
+ network: AptosNetwork.MAIN_NET,
5859
+ };
5860
+
5861
+ static bind(options: Partial<AptosBindOptions> = {}): fixed_point64 {
5862
+ return new fixed_point64({ ...fixed_point64.DEFAULT_OPTIONS, ...options });
5863
+ }
5864
+
5865
+ onEventFixedPoint64(
5866
+ func: (
5867
+ event: fixed_point64.FixedPoint64Instance,
5868
+ ctx: AptosContext,
5869
+ ) => void,
5870
+ fetchConfig?: Partial<MoveFetchConfig>,
5871
+ ): fixed_point64 {
5872
+ this.onMoveEvent(
5873
+ func,
5874
+ { type: "fixed_point64::FixedPoint64" },
5875
+ fetchConfig,
5876
+ );
5877
+ return this;
5878
+ }
4833
5879
  }
4834
5880
 
4835
5881
  export namespace fixed_point64 {
@@ -4846,6 +5892,64 @@ export namespace fixed_point64 {
4846
5892
  return TYPE.apply();
4847
5893
  }
4848
5894
  }
5895
+
5896
+ export interface FixedPoint64Instance
5897
+ extends TypedEventInstance<FixedPoint64> {
5898
+ data_decoded: FixedPoint64;
5899
+ type_arguments: [];
5900
+ }
5901
+ }
5902
+
5903
+ export class multi_ed25519 extends AptosBaseProcessor {
5904
+ constructor(options: AptosBindOptions) {
5905
+ super("multi_ed25519", options);
5906
+ }
5907
+ static DEFAULT_OPTIONS: AptosBindOptions = {
5908
+ address: "0x1",
5909
+ network: AptosNetwork.MAIN_NET,
5910
+ };
5911
+
5912
+ static bind(options: Partial<AptosBindOptions> = {}): multi_ed25519 {
5913
+ return new multi_ed25519({ ...multi_ed25519.DEFAULT_OPTIONS, ...options });
5914
+ }
5915
+
5916
+ onEventSignature(
5917
+ func: (event: multi_ed25519.SignatureInstance, ctx: AptosContext) => void,
5918
+ fetchConfig?: Partial<MoveFetchConfig>,
5919
+ ): multi_ed25519 {
5920
+ this.onMoveEvent(func, { type: "multi_ed25519::Signature" }, fetchConfig);
5921
+ return this;
5922
+ }
5923
+
5924
+ onEventUnvalidatedPublicKey(
5925
+ func: (
5926
+ event: multi_ed25519.UnvalidatedPublicKeyInstance,
5927
+ ctx: AptosContext,
5928
+ ) => void,
5929
+ fetchConfig?: Partial<MoveFetchConfig>,
5930
+ ): multi_ed25519 {
5931
+ this.onMoveEvent(
5932
+ func,
5933
+ { type: "multi_ed25519::UnvalidatedPublicKey" },
5934
+ fetchConfig,
5935
+ );
5936
+ return this;
5937
+ }
5938
+
5939
+ onEventValidatedPublicKey(
5940
+ func: (
5941
+ event: multi_ed25519.ValidatedPublicKeyInstance,
5942
+ ctx: AptosContext,
5943
+ ) => void,
5944
+ fetchConfig?: Partial<MoveFetchConfig>,
5945
+ ): multi_ed25519 {
5946
+ this.onMoveEvent(
5947
+ func,
5948
+ { type: "multi_ed25519::ValidatedPublicKey" },
5949
+ fetchConfig,
5950
+ );
5951
+ return this;
5952
+ }
4849
5953
  }
4850
5954
 
4851
5955
  export namespace multi_ed25519 {
@@ -4863,6 +5967,11 @@ export namespace multi_ed25519 {
4863
5967
  }
4864
5968
  }
4865
5969
 
5970
+ export interface SignatureInstance extends TypedEventInstance<Signature> {
5971
+ data_decoded: Signature;
5972
+ type_arguments: [];
5973
+ }
5974
+
4866
5975
  export interface UnvalidatedPublicKey {
4867
5976
  bytes: string;
4868
5977
  }
@@ -4879,6 +5988,12 @@ export namespace multi_ed25519 {
4879
5988
  }
4880
5989
  }
4881
5990
 
5991
+ export interface UnvalidatedPublicKeyInstance
5992
+ extends TypedEventInstance<UnvalidatedPublicKey> {
5993
+ data_decoded: UnvalidatedPublicKey;
5994
+ type_arguments: [];
5995
+ }
5996
+
4882
5997
  export interface ValidatedPublicKey {
4883
5998
  bytes: string;
4884
5999
  }
@@ -4894,6 +6009,12 @@ export namespace multi_ed25519 {
4894
6009
  return TYPE.apply();
4895
6010
  }
4896
6011
  }
6012
+
6013
+ export interface ValidatedPublicKeyInstance
6014
+ extends TypedEventInstance<ValidatedPublicKey> {
6015
+ data_decoded: ValidatedPublicKey;
6016
+ type_arguments: [];
6017
+ }
4897
6018
  }
4898
6019
 
4899
6020
  export class staking_proxy extends AptosBaseProcessor {
@@ -5106,6 +6227,28 @@ export namespace staking_proxy {
5106
6227
  }
5107
6228
  }
5108
6229
 
6230
+ export class state_storage extends AptosBaseProcessor {
6231
+ constructor(options: AptosBindOptions) {
6232
+ super("state_storage", options);
6233
+ }
6234
+ static DEFAULT_OPTIONS: AptosBindOptions = {
6235
+ address: "0x1",
6236
+ network: AptosNetwork.MAIN_NET,
6237
+ };
6238
+
6239
+ static bind(options: Partial<AptosBindOptions> = {}): state_storage {
6240
+ return new state_storage({ ...state_storage.DEFAULT_OPTIONS, ...options });
6241
+ }
6242
+
6243
+ onEventUsage(
6244
+ func: (event: state_storage.UsageInstance, ctx: AptosContext) => void,
6245
+ fetchConfig?: Partial<MoveFetchConfig>,
6246
+ ): state_storage {
6247
+ this.onMoveEvent(func, { type: "state_storage::Usage" }, fetchConfig);
6248
+ return this;
6249
+ }
6250
+ }
6251
+
5109
6252
  export namespace state_storage {
5110
6253
  export interface GasParameter {
5111
6254
  usage: state_storage.Usage;
@@ -5152,6 +6295,11 @@ export namespace state_storage {
5152
6295
  return TYPE.apply();
5153
6296
  }
5154
6297
  }
6298
+
6299
+ export interface UsageInstance extends TypedEventInstance<Usage> {
6300
+ data_decoded: Usage;
6301
+ type_arguments: [];
6302
+ }
5155
6303
  }
5156
6304
 
5157
6305
  export namespace crypto_algebra {
@@ -5204,6 +6352,14 @@ export class fungible_asset extends AptosBaseProcessor {
5204
6352
  return this;
5205
6353
  }
5206
6354
 
6355
+ onEventBurnRef(
6356
+ func: (event: fungible_asset.BurnRefInstance, ctx: AptosContext) => void,
6357
+ fetchConfig?: Partial<MoveFetchConfig>,
6358
+ ): fungible_asset {
6359
+ this.onMoveEvent(func, { type: "fungible_asset::BurnRef" }, fetchConfig);
6360
+ return this;
6361
+ }
6362
+
5207
6363
  onEventDepositEvent(
5208
6364
  func: (
5209
6365
  event: fungible_asset.DepositEventInstance,
@@ -5219,31 +6375,54 @@ export class fungible_asset extends AptosBaseProcessor {
5219
6375
  return this;
5220
6376
  }
5221
6377
 
5222
- onEventWithdrawEvent(
6378
+ onEventFrozenEvent(
5223
6379
  func: (
5224
- event: fungible_asset.WithdrawEventInstance,
6380
+ event: fungible_asset.FrozenEventInstance,
5225
6381
  ctx: AptosContext,
5226
6382
  ) => void,
5227
6383
  fetchConfig?: Partial<MoveFetchConfig>,
5228
6384
  ): fungible_asset {
5229
6385
  this.onMoveEvent(
5230
6386
  func,
5231
- { type: "fungible_asset::WithdrawEvent" },
6387
+ { type: "fungible_asset::FrozenEvent" },
5232
6388
  fetchConfig,
5233
6389
  );
5234
6390
  return this;
5235
6391
  }
5236
6392
 
5237
- onEventFrozenEvent(
6393
+ onEventMintRef(
6394
+ func: (event: fungible_asset.MintRefInstance, ctx: AptosContext) => void,
6395
+ fetchConfig?: Partial<MoveFetchConfig>,
6396
+ ): fungible_asset {
6397
+ this.onMoveEvent(func, { type: "fungible_asset::MintRef" }, fetchConfig);
6398
+ return this;
6399
+ }
6400
+
6401
+ onEventTransferRef(
5238
6402
  func: (
5239
- event: fungible_asset.FrozenEventInstance,
6403
+ event: fungible_asset.TransferRefInstance,
5240
6404
  ctx: AptosContext,
5241
6405
  ) => void,
5242
6406
  fetchConfig?: Partial<MoveFetchConfig>,
5243
6407
  ): fungible_asset {
5244
6408
  this.onMoveEvent(
5245
6409
  func,
5246
- { type: "fungible_asset::FrozenEvent" },
6410
+ { type: "fungible_asset::TransferRef" },
6411
+ fetchConfig,
6412
+ );
6413
+ return this;
6414
+ }
6415
+
6416
+ onEventWithdrawEvent(
6417
+ func: (
6418
+ event: fungible_asset.WithdrawEventInstance,
6419
+ ctx: AptosContext,
6420
+ ) => void,
6421
+ fetchConfig?: Partial<MoveFetchConfig>,
6422
+ ): fungible_asset {
6423
+ this.onMoveEvent(
6424
+ func,
6425
+ { type: "fungible_asset::WithdrawEvent" },
5247
6426
  fetchConfig,
5248
6427
  );
5249
6428
  return this;
@@ -5265,6 +6444,11 @@ export namespace fungible_asset {
5265
6444
  }
5266
6445
  }
5267
6446
 
6447
+ export interface BurnRefInstance extends TypedEventInstance<BurnRef> {
6448
+ data_decoded: BurnRef;
6449
+ type_arguments: [];
6450
+ }
6451
+
5268
6452
  export interface DepositEvent {
5269
6453
  amount: bigint;
5270
6454
  }
@@ -5385,6 +6569,11 @@ export namespace fungible_asset {
5385
6569
  }
5386
6570
  }
5387
6571
 
6572
+ export interface MintRefInstance extends TypedEventInstance<MintRef> {
6573
+ data_decoded: MintRef;
6574
+ type_arguments: [];
6575
+ }
6576
+
5388
6577
  export interface Supply {
5389
6578
  current: bigint;
5390
6579
  maximum: option.Option<bigint>;
@@ -5414,6 +6603,11 @@ export namespace fungible_asset {
5414
6603
  }
5415
6604
  }
5416
6605
 
6606
+ export interface TransferRefInstance extends TypedEventInstance<TransferRef> {
6607
+ data_decoded: TransferRef;
6608
+ type_arguments: [];
6609
+ }
6610
+
5417
6611
  export interface WithdrawEvent {
5418
6612
  amount: bigint;
5419
6613
  }
@@ -5687,103 +6881,163 @@ export class delegation_pool extends AptosBaseProcessor {
5687
6881
  filter?: CallFilter,
5688
6882
  fetchConfig?: Partial<MoveFetchConfig>,
5689
6883
  ): delegation_pool {
5690
- this.onEntryFunctionCall(
6884
+ this.onEntryFunctionCall(
6885
+ func,
6886
+ {
6887
+ ...filter,
6888
+ function: "delegation_pool::vote",
6889
+ },
6890
+ fetchConfig,
6891
+ );
6892
+ return this;
6893
+ }
6894
+
6895
+ onEntryWithdraw(
6896
+ func: (call: delegation_pool.WithdrawPayload, ctx: AptosContext) => void,
6897
+ filter?: CallFilter,
6898
+ fetchConfig?: Partial<MoveFetchConfig>,
6899
+ ): delegation_pool {
6900
+ this.onEntryFunctionCall(
6901
+ func,
6902
+ {
6903
+ ...filter,
6904
+ function: "delegation_pool::withdraw",
6905
+ },
6906
+ fetchConfig,
6907
+ );
6908
+ return this;
6909
+ }
6910
+
6911
+ onEventAddStakeEvent(
6912
+ func: (
6913
+ event: delegation_pool.AddStakeEventInstance,
6914
+ ctx: AptosContext,
6915
+ ) => void,
6916
+ fetchConfig?: Partial<MoveFetchConfig>,
6917
+ ): delegation_pool {
6918
+ this.onMoveEvent(
6919
+ func,
6920
+ { type: "delegation_pool::AddStakeEvent" },
6921
+ fetchConfig,
6922
+ );
6923
+ return this;
6924
+ }
6925
+
6926
+ onEventCreateProposalEvent(
6927
+ func: (
6928
+ event: delegation_pool.CreateProposalEventInstance,
6929
+ ctx: AptosContext,
6930
+ ) => void,
6931
+ fetchConfig?: Partial<MoveFetchConfig>,
6932
+ ): delegation_pool {
6933
+ this.onMoveEvent(
6934
+ func,
6935
+ { type: "delegation_pool::CreateProposalEvent" },
6936
+ fetchConfig,
6937
+ );
6938
+ return this;
6939
+ }
6940
+
6941
+ onEventDelegateVotingPowerEvent(
6942
+ func: (
6943
+ event: delegation_pool.DelegateVotingPowerEventInstance,
6944
+ ctx: AptosContext,
6945
+ ) => void,
6946
+ fetchConfig?: Partial<MoveFetchConfig>,
6947
+ ): delegation_pool {
6948
+ this.onMoveEvent(
5691
6949
  func,
5692
- {
5693
- ...filter,
5694
- function: "delegation_pool::vote",
5695
- },
6950
+ { type: "delegation_pool::DelegateVotingPowerEvent" },
5696
6951
  fetchConfig,
5697
6952
  );
5698
6953
  return this;
5699
6954
  }
5700
6955
 
5701
- onEntryWithdraw(
5702
- func: (call: delegation_pool.WithdrawPayload, ctx: AptosContext) => void,
5703
- filter?: CallFilter,
6956
+ onEventDelegatedVotes(
6957
+ func: (
6958
+ event: delegation_pool.DelegatedVotesInstance,
6959
+ ctx: AptosContext,
6960
+ ) => void,
5704
6961
  fetchConfig?: Partial<MoveFetchConfig>,
5705
6962
  ): delegation_pool {
5706
- this.onEntryFunctionCall(
6963
+ this.onMoveEvent(
5707
6964
  func,
5708
- {
5709
- ...filter,
5710
- function: "delegation_pool::withdraw",
5711
- },
6965
+ { type: "delegation_pool::DelegatedVotes" },
5712
6966
  fetchConfig,
5713
6967
  );
5714
6968
  return this;
5715
6969
  }
5716
6970
 
5717
- onEventAddStakeEvent(
6971
+ onEventDistributeCommissionEvent(
5718
6972
  func: (
5719
- event: delegation_pool.AddStakeEventInstance,
6973
+ event: delegation_pool.DistributeCommissionEventInstance,
5720
6974
  ctx: AptosContext,
5721
6975
  ) => void,
5722
6976
  fetchConfig?: Partial<MoveFetchConfig>,
5723
6977
  ): delegation_pool {
5724
6978
  this.onMoveEvent(
5725
6979
  func,
5726
- { type: "delegation_pool::AddStakeEvent" },
6980
+ { type: "delegation_pool::DistributeCommissionEvent" },
5727
6981
  fetchConfig,
5728
6982
  );
5729
6983
  return this;
5730
6984
  }
5731
6985
 
5732
- onEventReactivateStakeEvent(
6986
+ onEventObservedLockupCycle(
5733
6987
  func: (
5734
- event: delegation_pool.ReactivateStakeEventInstance,
6988
+ event: delegation_pool.ObservedLockupCycleInstance,
5735
6989
  ctx: AptosContext,
5736
6990
  ) => void,
5737
6991
  fetchConfig?: Partial<MoveFetchConfig>,
5738
6992
  ): delegation_pool {
5739
6993
  this.onMoveEvent(
5740
6994
  func,
5741
- { type: "delegation_pool::ReactivateStakeEvent" },
6995
+ { type: "delegation_pool::ObservedLockupCycle" },
5742
6996
  fetchConfig,
5743
6997
  );
5744
6998
  return this;
5745
6999
  }
5746
7000
 
5747
- onEventUnlockStakeEvent(
7001
+ onEventReactivateStakeEvent(
5748
7002
  func: (
5749
- event: delegation_pool.UnlockStakeEventInstance,
7003
+ event: delegation_pool.ReactivateStakeEventInstance,
5750
7004
  ctx: AptosContext,
5751
7005
  ) => void,
5752
7006
  fetchConfig?: Partial<MoveFetchConfig>,
5753
7007
  ): delegation_pool {
5754
7008
  this.onMoveEvent(
5755
7009
  func,
5756
- { type: "delegation_pool::UnlockStakeEvent" },
7010
+ { type: "delegation_pool::ReactivateStakeEvent" },
5757
7011
  fetchConfig,
5758
7012
  );
5759
7013
  return this;
5760
7014
  }
5761
7015
 
5762
- onEventWithdrawStakeEvent(
7016
+ onEventUnlockStakeEvent(
5763
7017
  func: (
5764
- event: delegation_pool.WithdrawStakeEventInstance,
7018
+ event: delegation_pool.UnlockStakeEventInstance,
5765
7019
  ctx: AptosContext,
5766
7020
  ) => void,
5767
7021
  fetchConfig?: Partial<MoveFetchConfig>,
5768
7022
  ): delegation_pool {
5769
7023
  this.onMoveEvent(
5770
7024
  func,
5771
- { type: "delegation_pool::WithdrawStakeEvent" },
7025
+ { type: "delegation_pool::UnlockStakeEvent" },
5772
7026
  fetchConfig,
5773
7027
  );
5774
7028
  return this;
5775
7029
  }
5776
7030
 
5777
- onEventDistributeCommissionEvent(
7031
+ onEventVoteDelegation(
5778
7032
  func: (
5779
- event: delegation_pool.DistributeCommissionEventInstance,
7033
+ event: delegation_pool.VoteDelegationInstance,
5780
7034
  ctx: AptosContext,
5781
7035
  ) => void,
5782
7036
  fetchConfig?: Partial<MoveFetchConfig>,
5783
7037
  ): delegation_pool {
5784
7038
  this.onMoveEvent(
5785
7039
  func,
5786
- { type: "delegation_pool::DistributeCommissionEvent" },
7040
+ { type: "delegation_pool::VoteDelegation" },
5787
7041
  fetchConfig,
5788
7042
  );
5789
7043
  return this;
@@ -5797,31 +7051,31 @@ export class delegation_pool extends AptosBaseProcessor {
5797
7051
  return this;
5798
7052
  }
5799
7053
 
5800
- onEventCreateProposalEvent(
7054
+ onEventVotingRecordKey(
5801
7055
  func: (
5802
- event: delegation_pool.CreateProposalEventInstance,
7056
+ event: delegation_pool.VotingRecordKeyInstance,
5803
7057
  ctx: AptosContext,
5804
7058
  ) => void,
5805
7059
  fetchConfig?: Partial<MoveFetchConfig>,
5806
7060
  ): delegation_pool {
5807
7061
  this.onMoveEvent(
5808
7062
  func,
5809
- { type: "delegation_pool::CreateProposalEvent" },
7063
+ { type: "delegation_pool::VotingRecordKey" },
5810
7064
  fetchConfig,
5811
7065
  );
5812
7066
  return this;
5813
7067
  }
5814
7068
 
5815
- onEventDelegateVotingPowerEvent(
7069
+ onEventWithdrawStakeEvent(
5816
7070
  func: (
5817
- event: delegation_pool.DelegateVotingPowerEventInstance,
7071
+ event: delegation_pool.WithdrawStakeEventInstance,
5818
7072
  ctx: AptosContext,
5819
7073
  ) => void,
5820
7074
  fetchConfig?: Partial<MoveFetchConfig>,
5821
7075
  ): delegation_pool {
5822
7076
  this.onMoveEvent(
5823
7077
  func,
5824
- { type: "delegation_pool::DelegateVotingPowerEvent" },
7078
+ { type: "delegation_pool::WithdrawStakeEvent" },
5825
7079
  fetchConfig,
5826
7080
  );
5827
7081
  return this;
@@ -5917,6 +7171,12 @@ export namespace delegation_pool {
5917
7171
  }
5918
7172
  }
5919
7173
 
7174
+ export interface DelegatedVotesInstance
7175
+ extends TypedEventInstance<DelegatedVotes> {
7176
+ data_decoded: DelegatedVotes;
7177
+ type_arguments: [];
7178
+ }
7179
+
5920
7180
  export interface DelegationPool {
5921
7181
  active_shares: pool_u64_unbound.Pool;
5922
7182
  observed_lockup_cycle: delegation_pool.ObservedLockupCycle;
@@ -6033,6 +7293,12 @@ export namespace delegation_pool {
6033
7293
  }
6034
7294
  }
6035
7295
 
7296
+ export interface ObservedLockupCycleInstance
7297
+ extends TypedEventInstance<ObservedLockupCycle> {
7298
+ data_decoded: ObservedLockupCycle;
7299
+ type_arguments: [];
7300
+ }
7301
+
6036
7302
  export interface ReactivateStakeEvent {
6037
7303
  pool_address: Address;
6038
7304
  delegator_address: Address;
@@ -6097,6 +7363,12 @@ export namespace delegation_pool {
6097
7363
  }
6098
7364
  }
6099
7365
 
7366
+ export interface VoteDelegationInstance
7367
+ extends TypedEventInstance<VoteDelegation> {
7368
+ data_decoded: VoteDelegation;
7369
+ type_arguments: [];
7370
+ }
7371
+
6100
7372
  export interface VoteEvent {
6101
7373
  voter: Address;
6102
7374
  proposal_id: bigint;
@@ -6137,6 +7409,12 @@ export namespace delegation_pool {
6137
7409
  }
6138
7410
  }
6139
7411
 
7412
+ export interface VotingRecordKeyInstance
7413
+ extends TypedEventInstance<VotingRecordKey> {
7414
+ data_decoded: VotingRecordKey;
7415
+ type_arguments: [];
7416
+ }
7417
+
6140
7418
  export interface WithdrawStakeEvent {
6141
7419
  pool_address: Address;
6142
7420
  delegator_address: Address;
@@ -6478,6 +7756,21 @@ export class aptos_governance extends AptosBaseProcessor {
6478
7756
  return this;
6479
7757
  }
6480
7758
 
7759
+ onEventRecordKey(
7760
+ func: (
7761
+ event: aptos_governance.RecordKeyInstance,
7762
+ ctx: AptosContext,
7763
+ ) => void,
7764
+ fetchConfig?: Partial<MoveFetchConfig>,
7765
+ ): aptos_governance {
7766
+ this.onMoveEvent(
7767
+ func,
7768
+ { type: "aptos_governance::RecordKey" },
7769
+ fetchConfig,
7770
+ );
7771
+ return this;
7772
+ }
7773
+
6481
7774
  onEventUpdateConfigEvent(
6482
7775
  func: (
6483
7776
  event: aptos_governance.UpdateConfigEventInstance,
@@ -6619,6 +7912,11 @@ export namespace aptos_governance {
6619
7912
  }
6620
7913
  }
6621
7914
 
7915
+ export interface RecordKeyInstance extends TypedEventInstance<RecordKey> {
7916
+ data_decoded: RecordKey;
7917
+ type_arguments: [];
7918
+ }
7919
+
6622
7920
  export interface UpdateConfigEvent {
6623
7921
  min_voting_threshold: bigint;
6624
7922
  required_proposer_stake: bigint;
@@ -7403,91 +8701,91 @@ export class multisig_account extends AptosBaseProcessor {
7403
8701
  return this;
7404
8702
  }
7405
8703
 
7406
- onEventRemoveOwnersEvent(
8704
+ onEventCreateTransactionEvent(
7407
8705
  func: (
7408
- event: multisig_account.RemoveOwnersEventInstance,
8706
+ event: multisig_account.CreateTransactionEventInstance,
7409
8707
  ctx: AptosContext,
7410
8708
  ) => void,
7411
8709
  fetchConfig?: Partial<MoveFetchConfig>,
7412
8710
  ): multisig_account {
7413
8711
  this.onMoveEvent(
7414
8712
  func,
7415
- { type: "multisig_account::RemoveOwnersEvent" },
8713
+ { type: "multisig_account::CreateTransactionEvent" },
7416
8714
  fetchConfig,
7417
8715
  );
7418
8716
  return this;
7419
8717
  }
7420
8718
 
7421
- onEventUpdateSignaturesRequiredEvent(
8719
+ onEventExecuteRejectedTransactionEvent(
7422
8720
  func: (
7423
- event: multisig_account.UpdateSignaturesRequiredEventInstance,
8721
+ event: multisig_account.ExecuteRejectedTransactionEventInstance,
7424
8722
  ctx: AptosContext,
7425
8723
  ) => void,
7426
8724
  fetchConfig?: Partial<MoveFetchConfig>,
7427
8725
  ): multisig_account {
7428
8726
  this.onMoveEvent(
7429
8727
  func,
7430
- { type: "multisig_account::UpdateSignaturesRequiredEvent" },
8728
+ { type: "multisig_account::ExecuteRejectedTransactionEvent" },
7431
8729
  fetchConfig,
7432
8730
  );
7433
8731
  return this;
7434
8732
  }
7435
8733
 
7436
- onEventCreateTransactionEvent(
8734
+ onEventExecutionError(
7437
8735
  func: (
7438
- event: multisig_account.CreateTransactionEventInstance,
8736
+ event: multisig_account.ExecutionErrorInstance,
7439
8737
  ctx: AptosContext,
7440
8738
  ) => void,
7441
8739
  fetchConfig?: Partial<MoveFetchConfig>,
7442
8740
  ): multisig_account {
7443
8741
  this.onMoveEvent(
7444
8742
  func,
7445
- { type: "multisig_account::CreateTransactionEvent" },
8743
+ { type: "multisig_account::ExecutionError" },
7446
8744
  fetchConfig,
7447
8745
  );
7448
8746
  return this;
7449
8747
  }
7450
8748
 
7451
- onEventVoteEvent(
8749
+ onEventMetadataUpdatedEvent(
7452
8750
  func: (
7453
- event: multisig_account.VoteEventInstance,
8751
+ event: multisig_account.MetadataUpdatedEventInstance,
7454
8752
  ctx: AptosContext,
7455
8753
  ) => void,
7456
8754
  fetchConfig?: Partial<MoveFetchConfig>,
7457
8755
  ): multisig_account {
7458
8756
  this.onMoveEvent(
7459
8757
  func,
7460
- { type: "multisig_account::VoteEvent" },
8758
+ { type: "multisig_account::MetadataUpdatedEvent" },
7461
8759
  fetchConfig,
7462
8760
  );
7463
8761
  return this;
7464
8762
  }
7465
8763
 
7466
- onEventExecuteRejectedTransactionEvent(
8764
+ onEventMultisigTransaction(
7467
8765
  func: (
7468
- event: multisig_account.ExecuteRejectedTransactionEventInstance,
8766
+ event: multisig_account.MultisigTransactionInstance,
7469
8767
  ctx: AptosContext,
7470
8768
  ) => void,
7471
8769
  fetchConfig?: Partial<MoveFetchConfig>,
7472
8770
  ): multisig_account {
7473
8771
  this.onMoveEvent(
7474
8772
  func,
7475
- { type: "multisig_account::ExecuteRejectedTransactionEvent" },
8773
+ { type: "multisig_account::MultisigTransaction" },
7476
8774
  fetchConfig,
7477
8775
  );
7478
8776
  return this;
7479
8777
  }
7480
8778
 
7481
- onEventTransactionExecutionSucceededEvent(
8779
+ onEventRemoveOwnersEvent(
7482
8780
  func: (
7483
- event: multisig_account.TransactionExecutionSucceededEventInstance,
8781
+ event: multisig_account.RemoveOwnersEventInstance,
7484
8782
  ctx: AptosContext,
7485
8783
  ) => void,
7486
8784
  fetchConfig?: Partial<MoveFetchConfig>,
7487
8785
  ): multisig_account {
7488
8786
  this.onMoveEvent(
7489
8787
  func,
7490
- { type: "multisig_account::TransactionExecutionSucceededEvent" },
8788
+ { type: "multisig_account::RemoveOwnersEvent" },
7491
8789
  fetchConfig,
7492
8790
  );
7493
8791
  return this;
@@ -7508,16 +8806,46 @@ export class multisig_account extends AptosBaseProcessor {
7508
8806
  return this;
7509
8807
  }
7510
8808
 
7511
- onEventMetadataUpdatedEvent(
8809
+ onEventTransactionExecutionSucceededEvent(
7512
8810
  func: (
7513
- event: multisig_account.MetadataUpdatedEventInstance,
8811
+ event: multisig_account.TransactionExecutionSucceededEventInstance,
7514
8812
  ctx: AptosContext,
7515
8813
  ) => void,
7516
8814
  fetchConfig?: Partial<MoveFetchConfig>,
7517
8815
  ): multisig_account {
7518
8816
  this.onMoveEvent(
7519
8817
  func,
7520
- { type: "multisig_account::MetadataUpdatedEvent" },
8818
+ { type: "multisig_account::TransactionExecutionSucceededEvent" },
8819
+ fetchConfig,
8820
+ );
8821
+ return this;
8822
+ }
8823
+
8824
+ onEventUpdateSignaturesRequiredEvent(
8825
+ func: (
8826
+ event: multisig_account.UpdateSignaturesRequiredEventInstance,
8827
+ ctx: AptosContext,
8828
+ ) => void,
8829
+ fetchConfig?: Partial<MoveFetchConfig>,
8830
+ ): multisig_account {
8831
+ this.onMoveEvent(
8832
+ func,
8833
+ { type: "multisig_account::UpdateSignaturesRequiredEvent" },
8834
+ fetchConfig,
8835
+ );
8836
+ return this;
8837
+ }
8838
+
8839
+ onEventVoteEvent(
8840
+ func: (
8841
+ event: multisig_account.VoteEventInstance,
8842
+ ctx: AptosContext,
8843
+ ) => void,
8844
+ fetchConfig?: Partial<MoveFetchConfig>,
8845
+ ): multisig_account {
8846
+ this.onMoveEvent(
8847
+ func,
8848
+ { type: "multisig_account::VoteEvent" },
7521
8849
  fetchConfig,
7522
8850
  );
7523
8851
  return this;
@@ -7610,6 +8938,12 @@ export namespace multisig_account {
7610
8938
  }
7611
8939
  }
7612
8940
 
8941
+ export interface ExecutionErrorInstance
8942
+ extends TypedEventInstance<ExecutionError> {
8943
+ data_decoded: ExecutionError;
8944
+ type_arguments: [];
8945
+ }
8946
+
7613
8947
  export interface MetadataUpdatedEvent {
7614
8948
  old_metadata: simple_map.SimpleMap<string, string>;
7615
8949
  new_metadata: simple_map.SimpleMap<string, string>;
@@ -7727,6 +9061,12 @@ export namespace multisig_account {
7727
9061
  }
7728
9062
  }
7729
9063
 
9064
+ export interface MultisigTransactionInstance
9065
+ extends TypedEventInstance<MultisigTransaction> {
9066
+ data_decoded: MultisigTransaction;
9067
+ type_arguments: [];
9068
+ }
9069
+
7730
9070
  export interface RemoveOwnersEvent {
7731
9071
  owners_removed: Address[];
7732
9072
  }
@@ -8340,151 +9680,151 @@ export class staking_contract extends AptosBaseProcessor {
8340
9680
  return this;
8341
9681
  }
8342
9682
 
8343
- onEventUpdateCommissionEvent(
9683
+ onEventAddDistributionEvent(
8344
9684
  func: (
8345
- event: staking_contract.UpdateCommissionEventInstance,
9685
+ event: staking_contract.AddDistributionEventInstance,
8346
9686
  ctx: AptosContext,
8347
9687
  ) => void,
8348
9688
  fetchConfig?: Partial<MoveFetchConfig>,
8349
9689
  ): staking_contract {
8350
9690
  this.onMoveEvent(
8351
9691
  func,
8352
- { type: "staking_contract::UpdateCommissionEvent" },
9692
+ { type: "staking_contract::AddDistributionEvent" },
8353
9693
  fetchConfig,
8354
9694
  );
8355
9695
  return this;
8356
9696
  }
8357
9697
 
8358
- onEventCreateStakingContractEvent(
9698
+ onEventAddStakeEvent(
8359
9699
  func: (
8360
- event: staking_contract.CreateStakingContractEventInstance,
9700
+ event: staking_contract.AddStakeEventInstance,
8361
9701
  ctx: AptosContext,
8362
9702
  ) => void,
8363
9703
  fetchConfig?: Partial<MoveFetchConfig>,
8364
9704
  ): staking_contract {
8365
9705
  this.onMoveEvent(
8366
9706
  func,
8367
- { type: "staking_contract::CreateStakingContractEvent" },
9707
+ { type: "staking_contract::AddStakeEvent" },
8368
9708
  fetchConfig,
8369
9709
  );
8370
9710
  return this;
8371
9711
  }
8372
9712
 
8373
- onEventUpdateVoterEvent(
9713
+ onEventCreateStakingContractEvent(
8374
9714
  func: (
8375
- event: staking_contract.UpdateVoterEventInstance,
9715
+ event: staking_contract.CreateStakingContractEventInstance,
8376
9716
  ctx: AptosContext,
8377
9717
  ) => void,
8378
9718
  fetchConfig?: Partial<MoveFetchConfig>,
8379
9719
  ): staking_contract {
8380
9720
  this.onMoveEvent(
8381
9721
  func,
8382
- { type: "staking_contract::UpdateVoterEvent" },
9722
+ { type: "staking_contract::CreateStakingContractEvent" },
8383
9723
  fetchConfig,
8384
9724
  );
8385
9725
  return this;
8386
9726
  }
8387
9727
 
8388
- onEventResetLockupEvent(
9728
+ onEventDistributeEvent(
8389
9729
  func: (
8390
- event: staking_contract.ResetLockupEventInstance,
9730
+ event: staking_contract.DistributeEventInstance,
8391
9731
  ctx: AptosContext,
8392
9732
  ) => void,
8393
9733
  fetchConfig?: Partial<MoveFetchConfig>,
8394
9734
  ): staking_contract {
8395
9735
  this.onMoveEvent(
8396
9736
  func,
8397
- { type: "staking_contract::ResetLockupEvent" },
9737
+ { type: "staking_contract::DistributeEvent" },
8398
9738
  fetchConfig,
8399
9739
  );
8400
9740
  return this;
8401
9741
  }
8402
9742
 
8403
- onEventAddStakeEvent(
9743
+ onEventRequestCommissionEvent(
8404
9744
  func: (
8405
- event: staking_contract.AddStakeEventInstance,
9745
+ event: staking_contract.RequestCommissionEventInstance,
8406
9746
  ctx: AptosContext,
8407
9747
  ) => void,
8408
9748
  fetchConfig?: Partial<MoveFetchConfig>,
8409
9749
  ): staking_contract {
8410
9750
  this.onMoveEvent(
8411
9751
  func,
8412
- { type: "staking_contract::AddStakeEvent" },
9752
+ { type: "staking_contract::RequestCommissionEvent" },
8413
9753
  fetchConfig,
8414
9754
  );
8415
9755
  return this;
8416
9756
  }
8417
9757
 
8418
- onEventRequestCommissionEvent(
9758
+ onEventResetLockupEvent(
8419
9759
  func: (
8420
- event: staking_contract.RequestCommissionEventInstance,
9760
+ event: staking_contract.ResetLockupEventInstance,
8421
9761
  ctx: AptosContext,
8422
9762
  ) => void,
8423
9763
  fetchConfig?: Partial<MoveFetchConfig>,
8424
9764
  ): staking_contract {
8425
9765
  this.onMoveEvent(
8426
9766
  func,
8427
- { type: "staking_contract::RequestCommissionEvent" },
9767
+ { type: "staking_contract::ResetLockupEvent" },
8428
9768
  fetchConfig,
8429
9769
  );
8430
9770
  return this;
8431
9771
  }
8432
9772
 
8433
- onEventUnlockStakeEvent(
9773
+ onEventSwitchOperatorEvent(
8434
9774
  func: (
8435
- event: staking_contract.UnlockStakeEventInstance,
9775
+ event: staking_contract.SwitchOperatorEventInstance,
8436
9776
  ctx: AptosContext,
8437
9777
  ) => void,
8438
9778
  fetchConfig?: Partial<MoveFetchConfig>,
8439
9779
  ): staking_contract {
8440
9780
  this.onMoveEvent(
8441
9781
  func,
8442
- { type: "staking_contract::UnlockStakeEvent" },
9782
+ { type: "staking_contract::SwitchOperatorEvent" },
8443
9783
  fetchConfig,
8444
9784
  );
8445
9785
  return this;
8446
9786
  }
8447
9787
 
8448
- onEventSwitchOperatorEvent(
9788
+ onEventUnlockStakeEvent(
8449
9789
  func: (
8450
- event: staking_contract.SwitchOperatorEventInstance,
9790
+ event: staking_contract.UnlockStakeEventInstance,
8451
9791
  ctx: AptosContext,
8452
9792
  ) => void,
8453
9793
  fetchConfig?: Partial<MoveFetchConfig>,
8454
9794
  ): staking_contract {
8455
9795
  this.onMoveEvent(
8456
9796
  func,
8457
- { type: "staking_contract::SwitchOperatorEvent" },
9797
+ { type: "staking_contract::UnlockStakeEvent" },
8458
9798
  fetchConfig,
8459
9799
  );
8460
9800
  return this;
8461
9801
  }
8462
9802
 
8463
- onEventAddDistributionEvent(
9803
+ onEventUpdateCommissionEvent(
8464
9804
  func: (
8465
- event: staking_contract.AddDistributionEventInstance,
9805
+ event: staking_contract.UpdateCommissionEventInstance,
8466
9806
  ctx: AptosContext,
8467
9807
  ) => void,
8468
9808
  fetchConfig?: Partial<MoveFetchConfig>,
8469
9809
  ): staking_contract {
8470
9810
  this.onMoveEvent(
8471
9811
  func,
8472
- { type: "staking_contract::AddDistributionEvent" },
9812
+ { type: "staking_contract::UpdateCommissionEvent" },
8473
9813
  fetchConfig,
8474
9814
  );
8475
9815
  return this;
8476
9816
  }
8477
9817
 
8478
- onEventDistributeEvent(
9818
+ onEventUpdateVoterEvent(
8479
9819
  func: (
8480
- event: staking_contract.DistributeEventInstance,
9820
+ event: staking_contract.UpdateVoterEventInstance,
8481
9821
  ctx: AptosContext,
8482
9822
  ) => void,
8483
9823
  fetchConfig?: Partial<MoveFetchConfig>,
8484
9824
  ): staking_contract {
8485
9825
  this.onMoveEvent(
8486
9826
  func,
8487
- { type: "staking_contract::DistributeEvent" },
9827
+ { type: "staking_contract::UpdateVoterEvent" },
8488
9828
  fetchConfig,
8489
9829
  );
8490
9830
  return this;
@@ -8925,6 +10265,38 @@ export namespace aggregator_factory {
8925
10265
  }
8926
10266
  }
8927
10267
 
10268
+ export class governance_proposal extends AptosBaseProcessor {
10269
+ constructor(options: AptosBindOptions) {
10270
+ super("governance_proposal", options);
10271
+ }
10272
+ static DEFAULT_OPTIONS: AptosBindOptions = {
10273
+ address: "0x1",
10274
+ network: AptosNetwork.MAIN_NET,
10275
+ };
10276
+
10277
+ static bind(options: Partial<AptosBindOptions> = {}): governance_proposal {
10278
+ return new governance_proposal({
10279
+ ...governance_proposal.DEFAULT_OPTIONS,
10280
+ ...options,
10281
+ });
10282
+ }
10283
+
10284
+ onEventGovernanceProposal(
10285
+ func: (
10286
+ event: governance_proposal.GovernanceProposalInstance,
10287
+ ctx: AptosContext,
10288
+ ) => void,
10289
+ fetchConfig?: Partial<MoveFetchConfig>,
10290
+ ): governance_proposal {
10291
+ this.onMoveEvent(
10292
+ func,
10293
+ { type: "governance_proposal::GovernanceProposal" },
10294
+ fetchConfig,
10295
+ );
10296
+ return this;
10297
+ }
10298
+ }
10299
+
8928
10300
  export namespace governance_proposal {
8929
10301
  export interface GovernanceProposal {
8930
10302
  dummy_field: Boolean;
@@ -8941,6 +10313,12 @@ export namespace governance_proposal {
8941
10313
  return TYPE.apply();
8942
10314
  }
8943
10315
  }
10316
+
10317
+ export interface GovernanceProposalInstance
10318
+ extends TypedEventInstance<GovernanceProposal> {
10319
+ data_decoded: GovernanceProposal;
10320
+ type_arguments: [];
10321
+ }
8944
10322
  }
8945
10323
 
8946
10324
  export namespace optional_aggregator {
@@ -8977,6 +10355,31 @@ export namespace optional_aggregator {
8977
10355
  }
8978
10356
  }
8979
10357
 
10358
+ export class transaction_context extends AptosBaseProcessor {
10359
+ constructor(options: AptosBindOptions) {
10360
+ super("transaction_context", options);
10361
+ }
10362
+ static DEFAULT_OPTIONS: AptosBindOptions = {
10363
+ address: "0x1",
10364
+ network: AptosNetwork.MAIN_NET,
10365
+ };
10366
+
10367
+ static bind(options: Partial<AptosBindOptions> = {}): transaction_context {
10368
+ return new transaction_context({
10369
+ ...transaction_context.DEFAULT_OPTIONS,
10370
+ ...options,
10371
+ });
10372
+ }
10373
+
10374
+ onEventAUID(
10375
+ func: (event: transaction_context.AUIDInstance, ctx: AptosContext) => void,
10376
+ fetchConfig?: Partial<MoveFetchConfig>,
10377
+ ): transaction_context {
10378
+ this.onMoveEvent(func, { type: "transaction_context::AUID" }, fetchConfig);
10379
+ return this;
10380
+ }
10381
+ }
10382
+
8980
10383
  export namespace transaction_context {
8981
10384
  export interface AUID {
8982
10385
  unique_address: Address;
@@ -8991,6 +10394,11 @@ export namespace transaction_context {
8991
10394
  return TYPE.apply();
8992
10395
  }
8993
10396
  }
10397
+
10398
+ export interface AUIDInstance extends TypedEventInstance<AUID> {
10399
+ data_decoded: AUID;
10400
+ type_arguments: [];
10401
+ }
8994
10402
  }
8995
10403
 
8996
10404
  export class primary_fungible_store extends AptosBaseProcessor {