@sentio/sdk 1.37.0-rc.1 → 1.37.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/lib/builtin/index.d.ts +0 -2
  2. package/lib/builtin/index.js +1 -3
  3. package/lib/builtin/index.js.map +1 -1
  4. package/lib/core/eth-plugin.js +12 -15
  5. package/lib/core/eth-plugin.js.map +1 -1
  6. package/lib/core/index.d.ts +0 -4
  7. package/lib/core/index.js +1 -9
  8. package/lib/core/index.js.map +1 -1
  9. package/lib/core/numberish.d.ts +1 -1
  10. package/lib/core/numberish.js +5 -13
  11. package/lib/core/numberish.js.map +1 -1
  12. package/lib/core/sui-plugin.js +1 -1
  13. package/lib/core/sui-plugin.js.map +1 -1
  14. package/lib/index.d.ts +1 -1
  15. package/lib/index.js +3 -14
  16. package/lib/index.js.map +1 -1
  17. package/lib/service.d.ts +0 -4
  18. package/lib/service.js +40 -71
  19. package/lib/service.js.map +1 -1
  20. package/package.json +5 -15
  21. package/src/builtin/index.ts +1 -4
  22. package/src/core/eth-plugin.ts +5 -8
  23. package/src/core/index.ts +0 -5
  24. package/src/core/numberish.ts +8 -15
  25. package/src/core/sui-plugin.ts +2 -2
  26. package/src/index.ts +3 -1
  27. package/src/service.ts +13 -71
  28. package/lib/aptos/api.d.ts +0 -2
  29. package/lib/aptos/api.js +0 -14
  30. package/lib/aptos/api.js.map +0 -1
  31. package/lib/aptos/aptos-plugin.d.ts +0 -14
  32. package/lib/aptos/aptos-plugin.js +0 -185
  33. package/lib/aptos/aptos-plugin.js.map +0 -1
  34. package/lib/aptos/aptos-processor.d.ts +0 -75
  35. package/lib/aptos/aptos-processor.js +0 -193
  36. package/lib/aptos/aptos-processor.js.map +0 -1
  37. package/lib/aptos/context.d.ts +0 -22
  38. package/lib/aptos/context.js +0 -65
  39. package/lib/aptos/context.js.map +0 -1
  40. package/lib/aptos/index.d.ts +0 -9
  41. package/lib/aptos/index.js +0 -34
  42. package/lib/aptos/index.js.map +0 -1
  43. package/lib/aptos/models.d.ts +0 -23
  44. package/lib/aptos/models.js +0 -3
  45. package/lib/aptos/models.js.map +0 -1
  46. package/lib/aptos/network.d.ts +0 -14
  47. package/lib/aptos/network.js +0 -46
  48. package/lib/aptos/network.js.map +0 -1
  49. package/lib/aptos/runtime.d.ts +0 -2
  50. package/lib/aptos/runtime.js +0 -16
  51. package/lib/aptos/runtime.js.map +0 -1
  52. package/lib/aptos/type-registry.d.ts +0 -21
  53. package/lib/aptos/type-registry.js +0 -156
  54. package/lib/aptos/type-registry.js.map +0 -1
  55. package/lib/aptos/types.d.ts +0 -9
  56. package/lib/aptos/types.js +0 -135
  57. package/lib/aptos/types.js.map +0 -1
  58. package/lib/aptos/types.test.d.ts +0 -1
  59. package/lib/aptos/types.test.js.map +0 -1
  60. package/lib/aptos/utils.d.ts +0 -7
  61. package/lib/aptos/utils.js +0 -27
  62. package/lib/aptos/utils.js.map +0 -1
  63. package/lib/aptos-codegen/codegen.d.ts +0 -23
  64. package/lib/aptos-codegen/codegen.js +0 -364
  65. package/lib/aptos-codegen/codegen.js.map +0 -1
  66. package/lib/aptos-codegen/typegen.d.ts +0 -17
  67. package/lib/aptos-codegen/typegen.js +0 -142
  68. package/lib/aptos-codegen/typegen.js.map +0 -1
  69. package/lib/builtin/aptos/0x1.d.ts +0 -1913
  70. package/lib/builtin/aptos/0x1.js +0 -2748
  71. package/lib/builtin/aptos/0x1.js.map +0 -1
  72. package/lib/builtin/aptos/0x3.d.ts +0 -482
  73. package/lib/builtin/aptos/0x3.js +0 -526
  74. package/lib/builtin/aptos/0x3.js.map +0 -1
  75. package/lib/builtin/aptos/index.d.ts +0 -2
  76. package/lib/builtin/aptos/index.js +0 -29
  77. package/lib/builtin/aptos/index.js.map +0 -1
  78. package/lib/builtin/solana/index.d.ts +0 -2
  79. package/lib/builtin/solana/index.js +0 -19
  80. package/lib/builtin/solana/index.js.map +0 -1
  81. package/lib/builtin/solana/spl-token-processor.d.ts +0 -39
  82. package/lib/builtin/solana/spl-token-processor.js +0 -258
  83. package/lib/builtin/solana/spl-token-processor.js.map +0 -1
  84. package/lib/builtin/solana/types.d.ts +0 -427
  85. package/lib/builtin/solana/types.js +0 -203
  86. package/lib/builtin/solana/types.js.map +0 -1
  87. package/lib/builtin/solana/wormhole-processor.d.ts +0 -16
  88. package/lib/builtin/solana/wormhole-processor.js +0 -195
  89. package/lib/builtin/solana/wormhole-processor.js.map +0 -1
  90. package/lib/core/solana-context.d.ts +0 -11
  91. package/lib/core/solana-context.js +0 -34
  92. package/lib/core/solana-context.js.map +0 -1
  93. package/lib/core/solana-options.d.ts +0 -8
  94. package/lib/core/solana-options.js +0 -13
  95. package/lib/core/solana-options.js.map +0 -1
  96. package/lib/core/solana-plugin.d.ts +0 -9
  97. package/lib/core/solana-plugin.js +0 -79
  98. package/lib/core/solana-plugin.js.map +0 -1
  99. package/lib/core/solana-processor.d.ts +0 -40
  100. package/lib/core/solana-processor.js +0 -80
  101. package/lib/core/solana-processor.js.map +0 -1
  102. package/lib/solana-codegen/codegen.d.ts +0 -1
  103. package/lib/solana-codegen/codegen.js +0 -113
  104. package/lib/solana-codegen/codegen.js.map +0 -1
  105. package/lib/test-abi-code-gen.d.ts +0 -2
  106. package/lib/test-abi-code-gen.js +0 -20
  107. package/lib/test-abi-code-gen.js.map +0 -1
  108. package/src/abis/aptos/0x1.json +0 -9205
  109. package/src/abis/aptos/0x3.json +0 -1515
  110. package/src/aptos/api.ts +0 -11
  111. package/src/aptos/aptos-plugin.ts +0 -216
  112. package/src/aptos/aptos-processor.ts +0 -305
  113. package/src/aptos/context.ts +0 -74
  114. package/src/aptos/index.ts +0 -10
  115. package/src/aptos/models.ts +0 -34
  116. package/src/aptos/network.ts +0 -42
  117. package/src/aptos/runtime.ts +0 -13
  118. package/src/aptos/type-registry.ts +0 -187
  119. package/src/aptos/types.ts +0 -149
  120. package/src/aptos/utils.ts +0 -26
  121. package/src/aptos-codegen/codegen.ts +0 -428
  122. package/src/aptos-codegen/tsconfig.json +0 -9
  123. package/src/aptos-codegen/typegen.ts +0 -153
  124. package/src/builtin/aptos/0x1.ts +0 -4210
  125. package/src/builtin/aptos/0x3.ts +0 -888
  126. package/src/builtin/aptos/index.ts +0 -2
  127. package/src/builtin/solana/index.ts +0 -2
  128. package/src/builtin/solana/spl-token-processor.ts +0 -298
  129. package/src/builtin/solana/types.ts +0 -279
  130. package/src/builtin/solana/wormhole-processor.ts +0 -178
  131. package/src/core/solana-context.ts +0 -34
  132. package/src/core/solana-options.ts +0 -8
  133. package/src/core/solana-plugin.ts +0 -97
  134. package/src/core/solana-processor.ts +0 -102
  135. package/src/solana-codegen/codegen.ts +0 -116
  136. package/src/test-abi-code-gen.ts +0 -16
@@ -1,1913 +0,0 @@
1
- import { aptos } from "@sentio/sdk";
2
- import { Address, MoveModule } from "aptos-sdk/src/generated";
3
- export declare namespace acl {
4
- class ACL {
5
- static TYPE_QNAME: string;
6
- list: Address[];
7
- }
8
- function loadTypes(_r: aptos.TypeRegistry): void;
9
- const ABI: MoveModule;
10
- }
11
- export declare namespace any {
12
- class Any {
13
- static TYPE_QNAME: string;
14
- type_name: string;
15
- data: string;
16
- }
17
- function loadTypes(_r: aptos.TypeRegistry): void;
18
- const ABI: MoveModule;
19
- }
20
- export declare namespace bcs {
21
- function loadTypes(_r: aptos.TypeRegistry): void;
22
- const ABI: MoveModule;
23
- }
24
- export declare class code extends aptos.AptosBaseProcessor {
25
- constructor(options: aptos.AptosBindOptions);
26
- static DEFAULT_OPTIONS: aptos.AptosBindOptions;
27
- static bind(options?: Partial<aptos.AptosBindOptions>): code;
28
- onEntryPublishPackageTxn(func: (call: code.PublishPackageTxnPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): code;
29
- loadTypesInternal(registry: aptos.TypeRegistry): void;
30
- }
31
- export declare namespace code {
32
- class AllowedDep {
33
- static TYPE_QNAME: string;
34
- account: Address;
35
- module_name: string;
36
- }
37
- class ModuleMetadata {
38
- static TYPE_QNAME: string;
39
- name: string;
40
- source: string;
41
- source_map: string;
42
- extension: option.Option<copyable_any.Any>;
43
- }
44
- class PackageDep {
45
- static TYPE_QNAME: string;
46
- account: Address;
47
- package_name: string;
48
- }
49
- class PackageMetadata {
50
- static TYPE_QNAME: string;
51
- name: string;
52
- upgrade_policy: code.UpgradePolicy;
53
- upgrade_number: bigint;
54
- source_digest: string;
55
- manifest: string;
56
- modules: code.ModuleMetadata[];
57
- deps: code.PackageDep[];
58
- extension: option.Option<copyable_any.Any>;
59
- }
60
- class PackageRegistry {
61
- static TYPE_QNAME: string;
62
- packages: code.PackageMetadata[];
63
- }
64
- class UpgradePolicy {
65
- static TYPE_QNAME: string;
66
- policy: number;
67
- }
68
- interface PublishPackageTxnPayload extends aptos.TypedEntryFunctionPayload<[string, string[]]> {
69
- arguments_typed: [string, string[]];
70
- type_arguments: [];
71
- }
72
- function loadTypes(_r: aptos.TypeRegistry): void;
73
- const ABI: MoveModule;
74
- }
75
- export declare class coin extends aptos.AptosBaseProcessor {
76
- constructor(options: aptos.AptosBindOptions);
77
- static DEFAULT_OPTIONS: aptos.AptosBindOptions;
78
- static bind(options?: Partial<aptos.AptosBindOptions>): coin;
79
- onEntryFreezeCoinStore(func: (call: coin.FreezeCoinStorePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): coin;
80
- onEntryTransfer(func: (call: coin.TransferPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): coin;
81
- onEntryUnfreezeCoinStore(func: (call: coin.UnfreezeCoinStorePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): coin;
82
- onEntryUpgradeSupply(func: (call: coin.UpgradeSupplyPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): coin;
83
- onEventDepositEvent(func: (event: coin.DepositEventInstance, ctx: aptos.AptosContext) => void): coin;
84
- onEventWithdrawEvent(func: (event: coin.WithdrawEventInstance, ctx: aptos.AptosContext) => void): coin;
85
- loadTypesInternal(registry: aptos.TypeRegistry): void;
86
- }
87
- export declare namespace coin {
88
- class BurnCapability<T0> {
89
- static TYPE_QNAME: string;
90
- dummy_field: Boolean;
91
- }
92
- class Coin<T0> {
93
- static TYPE_QNAME: string;
94
- value: bigint;
95
- }
96
- class CoinInfo<T0> {
97
- static TYPE_QNAME: string;
98
- name: string;
99
- symbol: string;
100
- decimals: number;
101
- supply: option.Option<optional_aggregator.OptionalAggregator>;
102
- }
103
- class CoinStore<T0> {
104
- static TYPE_QNAME: string;
105
- coin: coin.Coin<T0>;
106
- frozen: Boolean;
107
- deposit_events: event.EventHandle<coin.DepositEvent>;
108
- withdraw_events: event.EventHandle<coin.WithdrawEvent>;
109
- }
110
- class DepositEvent {
111
- static TYPE_QNAME: string;
112
- amount: bigint;
113
- }
114
- interface DepositEventInstance extends aptos.TypedEventInstance<DepositEvent> {
115
- data_typed: DepositEvent;
116
- type_arguments: [];
117
- }
118
- class FreezeCapability<T0> {
119
- static TYPE_QNAME: string;
120
- dummy_field: Boolean;
121
- }
122
- class MintCapability<T0> {
123
- static TYPE_QNAME: string;
124
- dummy_field: Boolean;
125
- }
126
- class SupplyConfig {
127
- static TYPE_QNAME: string;
128
- allow_upgrades: Boolean;
129
- }
130
- class WithdrawEvent {
131
- static TYPE_QNAME: string;
132
- amount: bigint;
133
- }
134
- interface WithdrawEventInstance extends aptos.TypedEventInstance<WithdrawEvent> {
135
- data_typed: WithdrawEvent;
136
- type_arguments: [];
137
- }
138
- interface FreezeCoinStorePayload<T0 = any> extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
139
- arguments_typed: [Address, Address];
140
- type_arguments: [string];
141
- }
142
- interface TransferPayload<T0 = any> extends aptos.TypedEntryFunctionPayload<[Address, bigint]> {
143
- arguments_typed: [Address, bigint];
144
- type_arguments: [string];
145
- }
146
- interface UnfreezeCoinStorePayload<T0 = any> extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
147
- arguments_typed: [Address, Address];
148
- type_arguments: [string];
149
- }
150
- interface UpgradeSupplyPayload<T0 = any> extends aptos.TypedEntryFunctionPayload<[]> {
151
- arguments_typed: [];
152
- type_arguments: [string];
153
- }
154
- function loadTypes(_r: aptos.TypeRegistry): void;
155
- const ABI: MoveModule;
156
- }
157
- export declare namespace guid {
158
- class GUID {
159
- static TYPE_QNAME: string;
160
- id: guid.ID;
161
- }
162
- class ID {
163
- static TYPE_QNAME: string;
164
- creation_num: bigint;
165
- addr: Address;
166
- }
167
- function loadTypes(_r: aptos.TypeRegistry): void;
168
- const ABI: MoveModule;
169
- }
170
- export declare namespace hash {
171
- function loadTypes(_r: aptos.TypeRegistry): void;
172
- const ABI: MoveModule;
173
- }
174
- export declare namespace util {
175
- function loadTypes(_r: aptos.TypeRegistry): void;
176
- const ABI: MoveModule;
177
- }
178
- export declare class block extends aptos.AptosBaseProcessor {
179
- constructor(options: aptos.AptosBindOptions);
180
- static DEFAULT_OPTIONS: aptos.AptosBindOptions;
181
- static bind(options?: Partial<aptos.AptosBindOptions>): block;
182
- onEventNewBlockEvent(func: (event: block.NewBlockEventInstance, ctx: aptos.AptosContext) => void): block;
183
- onEventUpdateEpochIntervalEvent(func: (event: block.UpdateEpochIntervalEventInstance, ctx: aptos.AptosContext) => void): block;
184
- loadTypesInternal(registry: aptos.TypeRegistry): void;
185
- }
186
- export declare namespace block {
187
- class BlockResource {
188
- static TYPE_QNAME: string;
189
- height: bigint;
190
- epoch_interval: bigint;
191
- new_block_events: event.EventHandle<block.NewBlockEvent>;
192
- update_epoch_interval_events: event.EventHandle<block.UpdateEpochIntervalEvent>;
193
- }
194
- class NewBlockEvent {
195
- static TYPE_QNAME: string;
196
- hash: Address;
197
- epoch: bigint;
198
- round: bigint;
199
- height: bigint;
200
- previous_block_votes_bitvec: string;
201
- proposer: Address;
202
- failed_proposer_indices: bigint[];
203
- time_microseconds: bigint;
204
- }
205
- interface NewBlockEventInstance extends aptos.TypedEventInstance<NewBlockEvent> {
206
- data_typed: NewBlockEvent;
207
- type_arguments: [];
208
- }
209
- class UpdateEpochIntervalEvent {
210
- static TYPE_QNAME: string;
211
- old_epoch_interval: bigint;
212
- new_epoch_interval: bigint;
213
- }
214
- interface UpdateEpochIntervalEventInstance extends aptos.TypedEventInstance<UpdateEpochIntervalEvent> {
215
- data_typed: UpdateEpochIntervalEvent;
216
- type_arguments: [];
217
- }
218
- function loadTypes(_r: aptos.TypeRegistry): void;
219
- const ABI: MoveModule;
220
- }
221
- export declare namespace debug {
222
- function loadTypes(_r: aptos.TypeRegistry): void;
223
- const ABI: MoveModule;
224
- }
225
- export declare namespace error {
226
- function loadTypes(_r: aptos.TypeRegistry): void;
227
- const ABI: MoveModule;
228
- }
229
- export declare namespace event {
230
- class EventHandle<T0> {
231
- static TYPE_QNAME: string;
232
- counter: bigint;
233
- guid: guid.GUID;
234
- }
235
- function loadTypes(_r: aptos.TypeRegistry): void;
236
- const ABI: MoveModule;
237
- }
238
- export declare class stake extends aptos.AptosBaseProcessor {
239
- constructor(options: aptos.AptosBindOptions);
240
- static DEFAULT_OPTIONS: aptos.AptosBindOptions;
241
- static bind(options?: Partial<aptos.AptosBindOptions>): stake;
242
- onEntryAddStake(func: (call: stake.AddStakePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
243
- onEntryIncreaseLockup(func: (call: stake.IncreaseLockupPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
244
- onEntryInitializeStakeOwner(func: (call: stake.InitializeStakeOwnerPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
245
- onEntryInitializeValidator(func: (call: stake.InitializeValidatorPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
246
- onEntryJoinValidatorSet(func: (call: stake.JoinValidatorSetPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
247
- onEntryLeaveValidatorSet(func: (call: stake.LeaveValidatorSetPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
248
- onEntryReactivateStake(func: (call: stake.ReactivateStakePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
249
- onEntryRotateConsensusKey(func: (call: stake.RotateConsensusKeyPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
250
- onEntrySetDelegatedVoter(func: (call: stake.SetDelegatedVoterPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
251
- onEntrySetOperator(func: (call: stake.SetOperatorPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
252
- onEntryUnlock(func: (call: stake.UnlockPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
253
- onEntryUpdateNetworkAndFullnodeAddresses(func: (call: stake.UpdateNetworkAndFullnodeAddressesPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
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;
257
- onEventAddStakeEvent(func: (event: stake.AddStakeEventInstance, ctx: aptos.AptosContext) => void): stake;
258
- onEventReactivateStakeEvent(func: (event: stake.ReactivateStakeEventInstance, ctx: aptos.AptosContext) => void): stake;
259
- onEventRotateConsensusKeyEvent(func: (event: stake.RotateConsensusKeyEventInstance, ctx: aptos.AptosContext) => void): stake;
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;
265
- onEventWithdrawStakeEvent(func: (event: stake.WithdrawStakeEventInstance, ctx: aptos.AptosContext) => void): stake;
266
- onEventLeaveValidatorSetEvent(func: (event: stake.LeaveValidatorSetEventInstance, ctx: aptos.AptosContext) => void): stake;
267
- loadTypesInternal(registry: aptos.TypeRegistry): void;
268
- }
269
- export declare namespace stake {
270
- class AddStakeEvent {
271
- static TYPE_QNAME: string;
272
- pool_address: Address;
273
- amount_added: bigint;
274
- }
275
- interface AddStakeEventInstance extends aptos.TypedEventInstance<AddStakeEvent> {
276
- data_typed: AddStakeEvent;
277
- type_arguments: [];
278
- }
279
- class AllowedValidators {
280
- static TYPE_QNAME: string;
281
- accounts: Address[];
282
- }
283
- class AptosCoinCapabilities {
284
- static TYPE_QNAME: string;
285
- mint_cap: coin.MintCapability<aptos_coin.AptosCoin>;
286
- }
287
- class DistributeRewardsEvent {
288
- static TYPE_QNAME: string;
289
- pool_address: Address;
290
- rewards_amount: bigint;
291
- }
292
- interface DistributeRewardsEventInstance extends aptos.TypedEventInstance<DistributeRewardsEvent> {
293
- data_typed: DistributeRewardsEvent;
294
- type_arguments: [];
295
- }
296
- class IncreaseLockupEvent {
297
- static TYPE_QNAME: string;
298
- pool_address: Address;
299
- old_locked_until_secs: bigint;
300
- new_locked_until_secs: bigint;
301
- }
302
- interface IncreaseLockupEventInstance extends aptos.TypedEventInstance<IncreaseLockupEvent> {
303
- data_typed: IncreaseLockupEvent;
304
- type_arguments: [];
305
- }
306
- class IndividualValidatorPerformance {
307
- static TYPE_QNAME: string;
308
- successful_proposals: bigint;
309
- failed_proposals: bigint;
310
- }
311
- class JoinValidatorSetEvent {
312
- static TYPE_QNAME: string;
313
- pool_address: Address;
314
- }
315
- interface JoinValidatorSetEventInstance extends aptos.TypedEventInstance<JoinValidatorSetEvent> {
316
- data_typed: JoinValidatorSetEvent;
317
- type_arguments: [];
318
- }
319
- class LeaveValidatorSetEvent {
320
- static TYPE_QNAME: string;
321
- pool_address: Address;
322
- }
323
- interface LeaveValidatorSetEventInstance extends aptos.TypedEventInstance<LeaveValidatorSetEvent> {
324
- data_typed: LeaveValidatorSetEvent;
325
- type_arguments: [];
326
- }
327
- class OwnerCapability {
328
- static TYPE_QNAME: string;
329
- pool_address: Address;
330
- }
331
- class ReactivateStakeEvent {
332
- static TYPE_QNAME: string;
333
- pool_address: Address;
334
- amount: bigint;
335
- }
336
- interface ReactivateStakeEventInstance extends aptos.TypedEventInstance<ReactivateStakeEvent> {
337
- data_typed: ReactivateStakeEvent;
338
- type_arguments: [];
339
- }
340
- class RegisterValidatorCandidateEvent {
341
- static TYPE_QNAME: string;
342
- pool_address: Address;
343
- }
344
- interface RegisterValidatorCandidateEventInstance extends aptos.TypedEventInstance<RegisterValidatorCandidateEvent> {
345
- data_typed: RegisterValidatorCandidateEvent;
346
- type_arguments: [];
347
- }
348
- class RotateConsensusKeyEvent {
349
- static TYPE_QNAME: string;
350
- pool_address: Address;
351
- old_consensus_pubkey: string;
352
- new_consensus_pubkey: string;
353
- }
354
- interface RotateConsensusKeyEventInstance extends aptos.TypedEventInstance<RotateConsensusKeyEvent> {
355
- data_typed: RotateConsensusKeyEvent;
356
- type_arguments: [];
357
- }
358
- class SetOperatorEvent {
359
- static TYPE_QNAME: string;
360
- pool_address: Address;
361
- old_operator: Address;
362
- new_operator: Address;
363
- }
364
- interface SetOperatorEventInstance extends aptos.TypedEventInstance<SetOperatorEvent> {
365
- data_typed: SetOperatorEvent;
366
- type_arguments: [];
367
- }
368
- class StakePool {
369
- static TYPE_QNAME: string;
370
- active: coin.Coin<aptos_coin.AptosCoin>;
371
- inactive: coin.Coin<aptos_coin.AptosCoin>;
372
- pending_active: coin.Coin<aptos_coin.AptosCoin>;
373
- pending_inactive: coin.Coin<aptos_coin.AptosCoin>;
374
- locked_until_secs: bigint;
375
- operator_address: Address;
376
- delegated_voter: Address;
377
- initialize_validator_events: event.EventHandle<stake.RegisterValidatorCandidateEvent>;
378
- set_operator_events: event.EventHandle<stake.SetOperatorEvent>;
379
- add_stake_events: event.EventHandle<stake.AddStakeEvent>;
380
- reactivate_stake_events: event.EventHandle<stake.ReactivateStakeEvent>;
381
- rotate_consensus_key_events: event.EventHandle<stake.RotateConsensusKeyEvent>;
382
- update_network_and_fullnode_addresses_events: event.EventHandle<stake.UpdateNetworkAndFullnodeAddressesEvent>;
383
- increase_lockup_events: event.EventHandle<stake.IncreaseLockupEvent>;
384
- join_validator_set_events: event.EventHandle<stake.JoinValidatorSetEvent>;
385
- distribute_rewards_events: event.EventHandle<stake.DistributeRewardsEvent>;
386
- unlock_stake_events: event.EventHandle<stake.UnlockStakeEvent>;
387
- withdraw_stake_events: event.EventHandle<stake.WithdrawStakeEvent>;
388
- leave_validator_set_events: event.EventHandle<stake.LeaveValidatorSetEvent>;
389
- }
390
- class UnlockStakeEvent {
391
- static TYPE_QNAME: string;
392
- pool_address: Address;
393
- amount_unlocked: bigint;
394
- }
395
- interface UnlockStakeEventInstance extends aptos.TypedEventInstance<UnlockStakeEvent> {
396
- data_typed: UnlockStakeEvent;
397
- type_arguments: [];
398
- }
399
- class UpdateNetworkAndFullnodeAddressesEvent {
400
- static TYPE_QNAME: string;
401
- pool_address: Address;
402
- old_network_addresses: string;
403
- new_network_addresses: string;
404
- old_fullnode_addresses: string;
405
- new_fullnode_addresses: string;
406
- }
407
- interface UpdateNetworkAndFullnodeAddressesEventInstance extends aptos.TypedEventInstance<UpdateNetworkAndFullnodeAddressesEvent> {
408
- data_typed: UpdateNetworkAndFullnodeAddressesEvent;
409
- type_arguments: [];
410
- }
411
- class ValidatorConfig {
412
- static TYPE_QNAME: string;
413
- consensus_pubkey: string;
414
- network_addresses: string;
415
- fullnode_addresses: string;
416
- validator_index: bigint;
417
- }
418
- class ValidatorInfo {
419
- static TYPE_QNAME: string;
420
- addr: Address;
421
- voting_power: bigint;
422
- config: stake.ValidatorConfig;
423
- }
424
- class ValidatorPerformance {
425
- static TYPE_QNAME: string;
426
- validators: stake.IndividualValidatorPerformance[];
427
- }
428
- class ValidatorSet {
429
- static TYPE_QNAME: string;
430
- consensus_scheme: number;
431
- active_validators: stake.ValidatorInfo[];
432
- pending_inactive: stake.ValidatorInfo[];
433
- pending_active: stake.ValidatorInfo[];
434
- total_voting_power: bigint;
435
- total_joining_power: bigint;
436
- }
437
- class WithdrawStakeEvent {
438
- static TYPE_QNAME: string;
439
- pool_address: Address;
440
- amount_withdrawn: bigint;
441
- }
442
- interface WithdrawStakeEventInstance extends aptos.TypedEventInstance<WithdrawStakeEvent> {
443
- data_typed: WithdrawStakeEvent;
444
- type_arguments: [];
445
- }
446
- interface AddStakePayload extends aptos.TypedEntryFunctionPayload<[bigint]> {
447
- arguments_typed: [bigint];
448
- type_arguments: [];
449
- }
450
- interface IncreaseLockupPayload extends aptos.TypedEntryFunctionPayload<[]> {
451
- arguments_typed: [];
452
- type_arguments: [];
453
- }
454
- interface InitializeStakeOwnerPayload extends aptos.TypedEntryFunctionPayload<[bigint, Address, Address]> {
455
- arguments_typed: [bigint, Address, Address];
456
- type_arguments: [];
457
- }
458
- interface InitializeValidatorPayload extends aptos.TypedEntryFunctionPayload<[string, string, string, string]> {
459
- arguments_typed: [string, string, string, string];
460
- type_arguments: [];
461
- }
462
- interface JoinValidatorSetPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
463
- arguments_typed: [Address];
464
- type_arguments: [];
465
- }
466
- interface LeaveValidatorSetPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
467
- arguments_typed: [Address];
468
- type_arguments: [];
469
- }
470
- interface ReactivateStakePayload extends aptos.TypedEntryFunctionPayload<[bigint]> {
471
- arguments_typed: [bigint];
472
- type_arguments: [];
473
- }
474
- interface RotateConsensusKeyPayload extends aptos.TypedEntryFunctionPayload<[Address, string, string]> {
475
- arguments_typed: [Address, string, string];
476
- type_arguments: [];
477
- }
478
- interface SetDelegatedVoterPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
479
- arguments_typed: [Address];
480
- type_arguments: [];
481
- }
482
- interface SetOperatorPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
483
- arguments_typed: [Address];
484
- type_arguments: [];
485
- }
486
- interface UnlockPayload extends aptos.TypedEntryFunctionPayload<[bigint]> {
487
- arguments_typed: [bigint];
488
- type_arguments: [];
489
- }
490
- interface UpdateNetworkAndFullnodeAddressesPayload extends aptos.TypedEntryFunctionPayload<[Address, string, string]> {
491
- arguments_typed: [Address, string, string];
492
- type_arguments: [];
493
- }
494
- interface WithdrawPayload extends aptos.TypedEntryFunctionPayload<[bigint]> {
495
- arguments_typed: [bigint];
496
- type_arguments: [];
497
- }
498
- function loadTypes(_r: aptos.TypeRegistry): void;
499
- const ABI: MoveModule;
500
- }
501
- export declare namespace table {
502
- class Box<T0> {
503
- static TYPE_QNAME: string;
504
- val: T0;
505
- }
506
- class Table<T0, T1> {
507
- static TYPE_QNAME: string;
508
- handle: Address;
509
- }
510
- function loadTypes(_r: aptos.TypeRegistry): void;
511
- const ABI: MoveModule;
512
- }
513
- export declare namespace math64 {
514
- function loadTypes(_r: aptos.TypeRegistry): void;
515
- const ABI: MoveModule;
516
- }
517
- export declare namespace option {
518
- class Option<T0> {
519
- static TYPE_QNAME: string;
520
- vec: T0[] | string;
521
- }
522
- function loadTypes(_r: aptos.TypeRegistry): void;
523
- const ABI: MoveModule;
524
- }
525
- export declare namespace signer {
526
- function loadTypes(_r: aptos.TypeRegistry): void;
527
- const ABI: MoveModule;
528
- }
529
- export declare namespace string {
530
- class String {
531
- static TYPE_QNAME: string;
532
- bytes: string;
533
- }
534
- function loadTypes(_r: aptos.TypeRegistry): void;
535
- const ABI: MoveModule;
536
- }
537
- export declare namespace vector {
538
- function loadTypes(_r: aptos.TypeRegistry): void;
539
- const ABI: MoveModule;
540
- }
541
- export declare class voting extends aptos.AptosBaseProcessor {
542
- constructor(options: aptos.AptosBindOptions);
543
- static DEFAULT_OPTIONS: aptos.AptosBindOptions;
544
- static bind(options?: Partial<aptos.AptosBindOptions>): voting;
545
- onEventCreateProposalEvent(func: (event: voting.CreateProposalEventInstance, ctx: aptos.AptosContext) => void): voting;
546
- onEventRegisterForumEvent(func: (event: voting.RegisterForumEventInstance, ctx: aptos.AptosContext) => void): voting;
547
- onEventResolveProposal(func: (event: voting.ResolveProposalInstance, ctx: aptos.AptosContext) => void): voting;
548
- onEventVoteEvent(func: (event: voting.VoteEventInstance, ctx: aptos.AptosContext) => void): voting;
549
- loadTypesInternal(registry: aptos.TypeRegistry): void;
550
- }
551
- export declare namespace voting {
552
- class CreateProposalEvent {
553
- static TYPE_QNAME: string;
554
- proposal_id: bigint;
555
- early_resolution_vote_threshold: option.Option<bigint>;
556
- execution_hash: string;
557
- expiration_secs: bigint;
558
- metadata: simple_map.SimpleMap<string, string>;
559
- min_vote_threshold: bigint;
560
- }
561
- interface CreateProposalEventInstance extends aptos.TypedEventInstance<CreateProposalEvent> {
562
- data_typed: CreateProposalEvent;
563
- type_arguments: [];
564
- }
565
- class Proposal<T0> {
566
- static TYPE_QNAME: string;
567
- proposer: Address;
568
- execution_content: option.Option<T0>;
569
- metadata: simple_map.SimpleMap<string, string>;
570
- creation_time_secs: bigint;
571
- execution_hash: string;
572
- min_vote_threshold: bigint;
573
- expiration_secs: bigint;
574
- early_resolution_vote_threshold: option.Option<bigint>;
575
- yes_votes: bigint;
576
- no_votes: bigint;
577
- is_resolved: Boolean;
578
- resolution_time_secs: bigint;
579
- }
580
- class RegisterForumEvent {
581
- static TYPE_QNAME: string;
582
- hosting_account: Address;
583
- proposal_type_info: type_info.TypeInfo;
584
- }
585
- interface RegisterForumEventInstance extends aptos.TypedEventInstance<RegisterForumEvent> {
586
- data_typed: RegisterForumEvent;
587
- type_arguments: [];
588
- }
589
- class ResolveProposal {
590
- static TYPE_QNAME: string;
591
- proposal_id: bigint;
592
- yes_votes: bigint;
593
- no_votes: bigint;
594
- resolved_early: Boolean;
595
- }
596
- interface ResolveProposalInstance extends aptos.TypedEventInstance<ResolveProposal> {
597
- data_typed: ResolveProposal;
598
- type_arguments: [];
599
- }
600
- class VoteEvent {
601
- static TYPE_QNAME: string;
602
- proposal_id: bigint;
603
- num_votes: bigint;
604
- }
605
- interface VoteEventInstance extends aptos.TypedEventInstance<VoteEvent> {
606
- data_typed: VoteEvent;
607
- type_arguments: [];
608
- }
609
- class VotingEvents {
610
- static TYPE_QNAME: string;
611
- create_proposal_events: event.EventHandle<voting.CreateProposalEvent>;
612
- register_forum_events: event.EventHandle<voting.RegisterForumEvent>;
613
- resolve_proposal_events: event.EventHandle<voting.ResolveProposal>;
614
- vote_events: event.EventHandle<voting.VoteEvent>;
615
- }
616
- class VotingForum<T0> {
617
- static TYPE_QNAME: string;
618
- proposals: table.Table<bigint, voting.Proposal<T0>>;
619
- events: voting.VotingEvents;
620
- next_proposal_id: bigint;
621
- }
622
- function loadTypes(_r: aptos.TypeRegistry): void;
623
- const ABI: MoveModule;
624
- }
625
- export declare class account extends aptos.AptosBaseProcessor {
626
- constructor(options: aptos.AptosBindOptions);
627
- static DEFAULT_OPTIONS: aptos.AptosBindOptions;
628
- static bind(options?: Partial<aptos.AptosBindOptions>): account;
629
- onEntryOfferSignerCapability(func: (call: account.OfferSignerCapabilityPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): account;
630
- onEntryRevokeSignerCapability(func: (call: account.RevokeSignerCapabilityPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): account;
631
- onEntryRotateAuthenticationKey(func: (call: account.RotateAuthenticationKeyPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): account;
632
- onEventCoinRegisterEvent(func: (event: account.CoinRegisterEventInstance, ctx: aptos.AptosContext) => void): account;
633
- onEventKeyRotationEvent(func: (event: account.KeyRotationEventInstance, ctx: aptos.AptosContext) => void): account;
634
- loadTypesInternal(registry: aptos.TypeRegistry): void;
635
- }
636
- export declare namespace account {
637
- class Account {
638
- static TYPE_QNAME: string;
639
- authentication_key: string;
640
- sequence_number: bigint;
641
- guid_creation_num: bigint;
642
- coin_register_events: event.EventHandle<account.CoinRegisterEvent>;
643
- key_rotation_events: event.EventHandle<account.KeyRotationEvent>;
644
- rotation_capability_offer: account.CapabilityOffer<account.RotationCapability>;
645
- signer_capability_offer: account.CapabilityOffer<account.SignerCapability>;
646
- }
647
- class CapabilityOffer<T0> {
648
- static TYPE_QNAME: string;
649
- for: option.Option<Address>;
650
- }
651
- class CoinRegisterEvent {
652
- static TYPE_QNAME: string;
653
- type_info: type_info.TypeInfo;
654
- }
655
- interface CoinRegisterEventInstance extends aptos.TypedEventInstance<CoinRegisterEvent> {
656
- data_typed: CoinRegisterEvent;
657
- type_arguments: [];
658
- }
659
- class KeyRotationEvent {
660
- static TYPE_QNAME: string;
661
- old_authentication_key: string;
662
- new_authentication_key: string;
663
- }
664
- interface KeyRotationEventInstance extends aptos.TypedEventInstance<KeyRotationEvent> {
665
- data_typed: KeyRotationEvent;
666
- type_arguments: [];
667
- }
668
- class OriginatingAddress {
669
- static TYPE_QNAME: string;
670
- address_map: table.Table<Address, Address>;
671
- }
672
- class RotationCapability {
673
- static TYPE_QNAME: string;
674
- account: Address;
675
- }
676
- class RotationCapabilityOfferProofChallenge {
677
- static TYPE_QNAME: string;
678
- sequence_number: bigint;
679
- recipient_address: Address;
680
- }
681
- class RotationProofChallenge {
682
- static TYPE_QNAME: string;
683
- sequence_number: bigint;
684
- originator: Address;
685
- current_auth_key: Address;
686
- new_public_key: string;
687
- }
688
- class SignerCapability {
689
- static TYPE_QNAME: string;
690
- account: Address;
691
- }
692
- class SignerCapabilityOfferProofChallenge {
693
- static TYPE_QNAME: string;
694
- sequence_number: bigint;
695
- recipient_address: Address;
696
- }
697
- class SignerCapabilityOfferProofChallengeV2 {
698
- static TYPE_QNAME: string;
699
- sequence_number: bigint;
700
- source_address: Address;
701
- recipient_address: Address;
702
- }
703
- interface OfferSignerCapabilityPayload extends aptos.TypedEntryFunctionPayload<[string, number, string, Address]> {
704
- arguments_typed: [string, number, string, Address];
705
- type_arguments: [];
706
- }
707
- interface RevokeSignerCapabilityPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
708
- arguments_typed: [Address];
709
- type_arguments: [];
710
- }
711
- interface RotateAuthenticationKeyPayload extends aptos.TypedEntryFunctionPayload<[
712
- number,
713
- string,
714
- number,
715
- string,
716
- string,
717
- string
718
- ]> {
719
- arguments_typed: [number, string, number, string, string, string];
720
- type_arguments: [];
721
- }
722
- function loadTypes(_r: aptos.TypeRegistry): void;
723
- const ABI: MoveModule;
724
- }
725
- export declare namespace ed25519 {
726
- class Signature {
727
- static TYPE_QNAME: string;
728
- bytes: string;
729
- }
730
- class SignedMessage<T0> {
731
- static TYPE_QNAME: string;
732
- type_info: type_info.TypeInfo;
733
- inner: T0;
734
- }
735
- class UnvalidatedPublicKey {
736
- static TYPE_QNAME: string;
737
- bytes: string;
738
- }
739
- class ValidatedPublicKey {
740
- static TYPE_QNAME: string;
741
- bytes: string;
742
- }
743
- function loadTypes(_r: aptos.TypeRegistry): void;
744
- const ABI: MoveModule;
745
- }
746
- export declare namespace genesis {
747
- class AccountMap {
748
- static TYPE_QNAME: string;
749
- account_address: Address;
750
- balance: bigint;
751
- }
752
- class EmployeeAccountMap {
753
- static TYPE_QNAME: string;
754
- accounts: Address[];
755
- validator: genesis.ValidatorConfigurationWithCommission;
756
- vesting_schedule_numerator: bigint[];
757
- vesting_schedule_denominator: bigint;
758
- beneficiary_resetter: Address;
759
- }
760
- class ValidatorConfiguration {
761
- static TYPE_QNAME: string;
762
- owner_address: Address;
763
- operator_address: Address;
764
- voter_address: Address;
765
- stake_amount: bigint;
766
- consensus_pubkey: string;
767
- proof_of_possession: string;
768
- network_addresses: string;
769
- full_node_network_addresses: string;
770
- }
771
- class ValidatorConfigurationWithCommission {
772
- static TYPE_QNAME: string;
773
- validator_config: genesis.ValidatorConfiguration;
774
- commission_percentage: bigint;
775
- join_during_genesis: Boolean;
776
- }
777
- function loadTypes(_r: aptos.TypeRegistry): void;
778
- const ABI: MoveModule;
779
- }
780
- export declare namespace math128 {
781
- function loadTypes(_r: aptos.TypeRegistry): void;
782
- const ABI: MoveModule;
783
- }
784
- export declare class version extends aptos.AptosBaseProcessor {
785
- constructor(options: aptos.AptosBindOptions);
786
- static DEFAULT_OPTIONS: aptos.AptosBindOptions;
787
- static bind(options?: Partial<aptos.AptosBindOptions>): version;
788
- onEntrySetVersion(func: (call: version.SetVersionPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): version;
789
- loadTypesInternal(registry: aptos.TypeRegistry): void;
790
- }
791
- export declare namespace version {
792
- class SetVersionCapability {
793
- static TYPE_QNAME: string;
794
- dummy_field: Boolean;
795
- }
796
- class Version {
797
- static TYPE_QNAME: string;
798
- major: bigint;
799
- }
800
- interface SetVersionPayload extends aptos.TypedEntryFunctionPayload<[bigint]> {
801
- arguments_typed: [bigint];
802
- type_arguments: [];
803
- }
804
- function loadTypes(_r: aptos.TypeRegistry): void;
805
- const ABI: MoveModule;
806
- }
807
- export declare class vesting extends aptos.AptosBaseProcessor {
808
- constructor(options: aptos.AptosBindOptions);
809
- static DEFAULT_OPTIONS: aptos.AptosBindOptions;
810
- static bind(options?: Partial<aptos.AptosBindOptions>): vesting;
811
- onEntryAdminWithdraw(func: (call: vesting.AdminWithdrawPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
812
- onEntryDistribute(func: (call: vesting.DistributePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
813
- onEntryResetBeneficiary(func: (call: vesting.ResetBeneficiaryPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
814
- onEntryResetLockup(func: (call: vesting.ResetLockupPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
815
- onEntrySetBeneficiary(func: (call: vesting.SetBeneficiaryPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
816
- onEntrySetBeneficiaryResetter(func: (call: vesting.SetBeneficiaryResetterPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
817
- onEntrySetManagementRole(func: (call: vesting.SetManagementRolePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
818
- onEntryTerminateVestingContract(func: (call: vesting.TerminateVestingContractPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
819
- onEntryUnlockRewards(func: (call: vesting.UnlockRewardsPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
820
- onEntryUpdateOperator(func: (call: vesting.UpdateOperatorPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
821
- onEntryUpdateOperatorWithSameCommission(func: (call: vesting.UpdateOperatorWithSameCommissionPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
822
- onEntryUpdateVoter(func: (call: vesting.UpdateVoterPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
823
- onEntryVest(func: (call: vesting.VestPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
824
- onEventCreateVestingContractEvent(func: (event: vesting.CreateVestingContractEventInstance, ctx: aptos.AptosContext) => void): vesting;
825
- onEventUpdateOperatorEvent(func: (event: vesting.UpdateOperatorEventInstance, ctx: aptos.AptosContext) => void): vesting;
826
- onEventUpdateVoterEvent(func: (event: vesting.UpdateVoterEventInstance, ctx: aptos.AptosContext) => void): vesting;
827
- onEventResetLockupEvent(func: (event: vesting.ResetLockupEventInstance, ctx: aptos.AptosContext) => void): vesting;
828
- onEventSetBeneficiaryEvent(func: (event: vesting.SetBeneficiaryEventInstance, ctx: aptos.AptosContext) => void): vesting;
829
- onEventUnlockRewardsEvent(func: (event: vesting.UnlockRewardsEventInstance, ctx: aptos.AptosContext) => void): vesting;
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;
834
- loadTypesInternal(registry: aptos.TypeRegistry): void;
835
- }
836
- export declare namespace vesting {
837
- class AdminStore {
838
- static TYPE_QNAME: string;
839
- vesting_contracts: Address[];
840
- nonce: bigint;
841
- create_events: event.EventHandle<vesting.CreateVestingContractEvent>;
842
- }
843
- class AdminWithdrawEvent {
844
- static TYPE_QNAME: string;
845
- admin: Address;
846
- vesting_contract_address: Address;
847
- amount: bigint;
848
- }
849
- interface AdminWithdrawEventInstance extends aptos.TypedEventInstance<AdminWithdrawEvent> {
850
- data_typed: AdminWithdrawEvent;
851
- type_arguments: [];
852
- }
853
- class CreateVestingContractEvent {
854
- static TYPE_QNAME: string;
855
- operator: Address;
856
- voter: Address;
857
- grant_amount: bigint;
858
- withdrawal_address: Address;
859
- vesting_contract_address: Address;
860
- staking_pool_address: Address;
861
- commission_percentage: bigint;
862
- }
863
- interface CreateVestingContractEventInstance extends aptos.TypedEventInstance<CreateVestingContractEvent> {
864
- data_typed: CreateVestingContractEvent;
865
- type_arguments: [];
866
- }
867
- class DistributeEvent {
868
- static TYPE_QNAME: string;
869
- admin: Address;
870
- vesting_contract_address: Address;
871
- amount: bigint;
872
- }
873
- interface DistributeEventInstance extends aptos.TypedEventInstance<DistributeEvent> {
874
- data_typed: DistributeEvent;
875
- type_arguments: [];
876
- }
877
- class ResetLockupEvent {
878
- static TYPE_QNAME: string;
879
- admin: Address;
880
- vesting_contract_address: Address;
881
- staking_pool_address: Address;
882
- new_lockup_expiration_secs: bigint;
883
- }
884
- interface ResetLockupEventInstance extends aptos.TypedEventInstance<ResetLockupEvent> {
885
- data_typed: ResetLockupEvent;
886
- type_arguments: [];
887
- }
888
- class SetBeneficiaryEvent {
889
- static TYPE_QNAME: string;
890
- admin: Address;
891
- vesting_contract_address: Address;
892
- shareholder: Address;
893
- old_beneficiary: Address;
894
- new_beneficiary: Address;
895
- }
896
- interface SetBeneficiaryEventInstance extends aptos.TypedEventInstance<SetBeneficiaryEvent> {
897
- data_typed: SetBeneficiaryEvent;
898
- type_arguments: [];
899
- }
900
- class StakingInfo {
901
- static TYPE_QNAME: string;
902
- pool_address: Address;
903
- operator: Address;
904
- voter: Address;
905
- commission_percentage: bigint;
906
- }
907
- class TerminateEvent {
908
- static TYPE_QNAME: string;
909
- admin: Address;
910
- vesting_contract_address: Address;
911
- }
912
- interface TerminateEventInstance extends aptos.TypedEventInstance<TerminateEvent> {
913
- data_typed: TerminateEvent;
914
- type_arguments: [];
915
- }
916
- class UnlockRewardsEvent {
917
- static TYPE_QNAME: string;
918
- admin: Address;
919
- vesting_contract_address: Address;
920
- staking_pool_address: Address;
921
- amount: bigint;
922
- }
923
- interface UnlockRewardsEventInstance extends aptos.TypedEventInstance<UnlockRewardsEvent> {
924
- data_typed: UnlockRewardsEvent;
925
- type_arguments: [];
926
- }
927
- class UpdateOperatorEvent {
928
- static TYPE_QNAME: string;
929
- admin: Address;
930
- vesting_contract_address: Address;
931
- staking_pool_address: Address;
932
- old_operator: Address;
933
- new_operator: Address;
934
- commission_percentage: bigint;
935
- }
936
- interface UpdateOperatorEventInstance extends aptos.TypedEventInstance<UpdateOperatorEvent> {
937
- data_typed: UpdateOperatorEvent;
938
- type_arguments: [];
939
- }
940
- class UpdateVoterEvent {
941
- static TYPE_QNAME: string;
942
- admin: Address;
943
- vesting_contract_address: Address;
944
- staking_pool_address: Address;
945
- old_voter: Address;
946
- new_voter: Address;
947
- }
948
- interface UpdateVoterEventInstance extends aptos.TypedEventInstance<UpdateVoterEvent> {
949
- data_typed: UpdateVoterEvent;
950
- type_arguments: [];
951
- }
952
- class VestEvent {
953
- static TYPE_QNAME: string;
954
- admin: Address;
955
- vesting_contract_address: Address;
956
- staking_pool_address: Address;
957
- period_vested: bigint;
958
- amount: bigint;
959
- }
960
- interface VestEventInstance extends aptos.TypedEventInstance<VestEvent> {
961
- data_typed: VestEvent;
962
- type_arguments: [];
963
- }
964
- class VestingAccountManagement {
965
- static TYPE_QNAME: string;
966
- roles: simple_map.SimpleMap<string, Address>;
967
- }
968
- class VestingContract {
969
- static TYPE_QNAME: string;
970
- state: bigint;
971
- admin: Address;
972
- grant_pool: pool_u64.Pool;
973
- beneficiaries: simple_map.SimpleMap<Address, Address>;
974
- vesting_schedule: vesting.VestingSchedule;
975
- withdrawal_address: Address;
976
- staking: vesting.StakingInfo;
977
- remaining_grant: bigint;
978
- signer_cap: account.SignerCapability;
979
- update_operator_events: event.EventHandle<vesting.UpdateOperatorEvent>;
980
- update_voter_events: event.EventHandle<vesting.UpdateVoterEvent>;
981
- reset_lockup_events: event.EventHandle<vesting.ResetLockupEvent>;
982
- set_beneficiary_events: event.EventHandle<vesting.SetBeneficiaryEvent>;
983
- unlock_rewards_events: event.EventHandle<vesting.UnlockRewardsEvent>;
984
- vest_events: event.EventHandle<vesting.VestEvent>;
985
- distribute_events: event.EventHandle<vesting.DistributeEvent>;
986
- terminate_events: event.EventHandle<vesting.TerminateEvent>;
987
- admin_withdraw_events: event.EventHandle<vesting.AdminWithdrawEvent>;
988
- }
989
- class VestingSchedule {
990
- static TYPE_QNAME: string;
991
- schedule: fixed_point32.FixedPoint32[];
992
- start_timestamp_secs: bigint;
993
- period_duration: bigint;
994
- last_vested_period: bigint;
995
- }
996
- interface AdminWithdrawPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
997
- arguments_typed: [Address];
998
- type_arguments: [];
999
- }
1000
- interface DistributePayload extends aptos.TypedEntryFunctionPayload<[Address]> {
1001
- arguments_typed: [Address];
1002
- type_arguments: [];
1003
- }
1004
- interface ResetBeneficiaryPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
1005
- arguments_typed: [Address, Address];
1006
- type_arguments: [];
1007
- }
1008
- interface ResetLockupPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
1009
- arguments_typed: [Address];
1010
- type_arguments: [];
1011
- }
1012
- interface SetBeneficiaryPayload extends aptos.TypedEntryFunctionPayload<[Address, Address, Address]> {
1013
- arguments_typed: [Address, Address, Address];
1014
- type_arguments: [];
1015
- }
1016
- interface SetBeneficiaryResetterPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
1017
- arguments_typed: [Address, Address];
1018
- type_arguments: [];
1019
- }
1020
- interface SetManagementRolePayload extends aptos.TypedEntryFunctionPayload<[Address, string, Address]> {
1021
- arguments_typed: [Address, string, Address];
1022
- type_arguments: [];
1023
- }
1024
- interface TerminateVestingContractPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
1025
- arguments_typed: [Address];
1026
- type_arguments: [];
1027
- }
1028
- interface UnlockRewardsPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
1029
- arguments_typed: [Address];
1030
- type_arguments: [];
1031
- }
1032
- interface UpdateOperatorPayload extends aptos.TypedEntryFunctionPayload<[Address, Address, bigint]> {
1033
- arguments_typed: [Address, Address, bigint];
1034
- type_arguments: [];
1035
- }
1036
- interface UpdateOperatorWithSameCommissionPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
1037
- arguments_typed: [Address, Address];
1038
- type_arguments: [];
1039
- }
1040
- interface UpdateVoterPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
1041
- arguments_typed: [Address, Address];
1042
- type_arguments: [];
1043
- }
1044
- interface VestPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
1045
- arguments_typed: [Address];
1046
- type_arguments: [];
1047
- }
1048
- function loadTypes(_r: aptos.TypeRegistry): void;
1049
- const ABI: MoveModule;
1050
- }
1051
- export declare namespace bls12381 {
1052
- class AggrOrMultiSignature {
1053
- static TYPE_QNAME: string;
1054
- bytes: string;
1055
- }
1056
- class AggrPublicKeysWithPoP {
1057
- static TYPE_QNAME: string;
1058
- bytes: string;
1059
- }
1060
- class ProofOfPossession {
1061
- static TYPE_QNAME: string;
1062
- bytes: string;
1063
- }
1064
- class PublicKey {
1065
- static TYPE_QNAME: string;
1066
- bytes: string;
1067
- }
1068
- class PublicKeyWithPoP {
1069
- static TYPE_QNAME: string;
1070
- bytes: string;
1071
- }
1072
- class Signature {
1073
- static TYPE_QNAME: string;
1074
- bytes: string;
1075
- }
1076
- function loadTypes(_r: aptos.TypeRegistry): void;
1077
- const ABI: MoveModule;
1078
- }
1079
- export declare namespace chain_id {
1080
- class ChainId {
1081
- static TYPE_QNAME: string;
1082
- id: number;
1083
- }
1084
- function loadTypes(_r: aptos.TypeRegistry): void;
1085
- const ABI: MoveModule;
1086
- }
1087
- export declare namespace features {
1088
- class Features {
1089
- static TYPE_QNAME: string;
1090
- features: string;
1091
- }
1092
- function loadTypes(_r: aptos.TypeRegistry): void;
1093
- const ABI: MoveModule;
1094
- }
1095
- export declare namespace from_bcs {
1096
- function loadTypes(_r: aptos.TypeRegistry): void;
1097
- const ABI: MoveModule;
1098
- }
1099
- export declare namespace pool_u64 {
1100
- class Pool {
1101
- static TYPE_QNAME: string;
1102
- shareholders_limit: bigint;
1103
- total_coins: bigint;
1104
- total_shares: bigint;
1105
- shares: simple_map.SimpleMap<Address, bigint>;
1106
- shareholders: Address[];
1107
- scaling_factor: bigint;
1108
- }
1109
- function loadTypes(_r: aptos.TypeRegistry): void;
1110
- const ABI: MoveModule;
1111
- }
1112
- export declare namespace secp256k1 {
1113
- class ECDSARawPublicKey {
1114
- static TYPE_QNAME: string;
1115
- bytes: string;
1116
- }
1117
- class ECDSASignature {
1118
- static TYPE_QNAME: string;
1119
- bytes: string;
1120
- }
1121
- function loadTypes(_r: aptos.TypeRegistry): void;
1122
- const ABI: MoveModule;
1123
- }
1124
- export declare namespace timestamp {
1125
- class CurrentTimeMicroseconds {
1126
- static TYPE_QNAME: string;
1127
- microseconds: bigint;
1128
- }
1129
- function loadTypes(_r: aptos.TypeRegistry): void;
1130
- const ABI: MoveModule;
1131
- }
1132
- export declare namespace type_info {
1133
- class TypeInfo {
1134
- static TYPE_QNAME: string;
1135
- account_address: Address;
1136
- module_name: string;
1137
- struct_name: string;
1138
- }
1139
- function loadTypes(_r: aptos.TypeRegistry): void;
1140
- const ABI: MoveModule;
1141
- }
1142
- export declare namespace aggregator {
1143
- class Aggregator {
1144
- static TYPE_QNAME: string;
1145
- handle: Address;
1146
- key: Address;
1147
- limit: bigint;
1148
- }
1149
- function loadTypes(_r: aptos.TypeRegistry): void;
1150
- const ABI: MoveModule;
1151
- }
1152
- export declare class aptos_coin extends aptos.AptosBaseProcessor {
1153
- constructor(options: aptos.AptosBindOptions);
1154
- static DEFAULT_OPTIONS: aptos.AptosBindOptions;
1155
- static bind(options?: Partial<aptos.AptosBindOptions>): aptos_coin;
1156
- onEntryClaimMintCapability(func: (call: aptos_coin.ClaimMintCapabilityPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): aptos_coin;
1157
- onEntryDelegateMintCapability(func: (call: aptos_coin.DelegateMintCapabilityPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): aptos_coin;
1158
- onEntryMint(func: (call: aptos_coin.MintPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): aptos_coin;
1159
- loadTypesInternal(registry: aptos.TypeRegistry): void;
1160
- }
1161
- export declare namespace aptos_coin {
1162
- class AptosCoin {
1163
- static TYPE_QNAME: string;
1164
- dummy_field: Boolean;
1165
- }
1166
- class DelegatedMintCapability {
1167
- static TYPE_QNAME: string;
1168
- to: Address;
1169
- }
1170
- class Delegations {
1171
- static TYPE_QNAME: string;
1172
- inner: aptos_coin.DelegatedMintCapability[];
1173
- }
1174
- class MintCapStore {
1175
- static TYPE_QNAME: string;
1176
- mint_cap: coin.MintCapability<aptos_coin.AptosCoin>;
1177
- }
1178
- interface ClaimMintCapabilityPayload extends aptos.TypedEntryFunctionPayload<[]> {
1179
- arguments_typed: [];
1180
- type_arguments: [];
1181
- }
1182
- interface DelegateMintCapabilityPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
1183
- arguments_typed: [Address, Address];
1184
- type_arguments: [];
1185
- }
1186
- interface MintPayload extends aptos.TypedEntryFunctionPayload<[Address, bigint]> {
1187
- arguments_typed: [Address, bigint];
1188
- type_arguments: [];
1189
- }
1190
- function loadTypes(_r: aptos.TypeRegistry): void;
1191
- const ABI: MoveModule;
1192
- }
1193
- export declare namespace aptos_hash {
1194
- function loadTypes(_r: aptos.TypeRegistry): void;
1195
- const ABI: MoveModule;
1196
- }
1197
- export declare namespace bit_vector {
1198
- class BitVector {
1199
- static TYPE_QNAME: string;
1200
- length: bigint;
1201
- bit_field: Boolean[];
1202
- }
1203
- function loadTypes(_r: aptos.TypeRegistry): void;
1204
- const ABI: MoveModule;
1205
- }
1206
- export declare namespace capability {
1207
- class Cap<T0> {
1208
- static TYPE_QNAME: string;
1209
- root: Address;
1210
- }
1211
- class CapDelegateState<T0> {
1212
- static TYPE_QNAME: string;
1213
- root: Address;
1214
- }
1215
- class CapState<T0> {
1216
- static TYPE_QNAME: string;
1217
- delegates: Address[];
1218
- }
1219
- class LinearCap<T0> {
1220
- static TYPE_QNAME: string;
1221
- root: Address;
1222
- }
1223
- function loadTypes(_r: aptos.TypeRegistry): void;
1224
- const ABI: MoveModule;
1225
- }
1226
- export declare namespace comparator {
1227
- class Result {
1228
- static TYPE_QNAME: string;
1229
- inner: number;
1230
- }
1231
- function loadTypes(_r: aptos.TypeRegistry): void;
1232
- const ABI: MoveModule;
1233
- }
1234
- export declare namespace simple_map {
1235
- class Element<T0, T1> {
1236
- static TYPE_QNAME: string;
1237
- key: T0;
1238
- value: T1;
1239
- }
1240
- class SimpleMap<T0, T1> {
1241
- static TYPE_QNAME: string;
1242
- data: simple_map.Element<T0, T1>[];
1243
- }
1244
- function loadTypes(_r: aptos.TypeRegistry): void;
1245
- const ABI: MoveModule;
1246
- }
1247
- export declare namespace storage_gas {
1248
- class GasCurve {
1249
- static TYPE_QNAME: string;
1250
- min_gas: bigint;
1251
- max_gas: bigint;
1252
- points: storage_gas.Point[];
1253
- }
1254
- class Point {
1255
- static TYPE_QNAME: string;
1256
- x: bigint;
1257
- y: bigint;
1258
- }
1259
- class StorageGas {
1260
- static TYPE_QNAME: string;
1261
- per_item_read: bigint;
1262
- per_item_create: bigint;
1263
- per_item_write: bigint;
1264
- per_byte_read: bigint;
1265
- per_byte_create: bigint;
1266
- per_byte_write: bigint;
1267
- }
1268
- class StorageGasConfig {
1269
- static TYPE_QNAME: string;
1270
- item_config: storage_gas.UsageGasConfig;
1271
- byte_config: storage_gas.UsageGasConfig;
1272
- }
1273
- class UsageGasConfig {
1274
- static TYPE_QNAME: string;
1275
- target_usage: bigint;
1276
- read_curve: storage_gas.GasCurve;
1277
- create_curve: storage_gas.GasCurve;
1278
- write_curve: storage_gas.GasCurve;
1279
- }
1280
- function loadTypes(_r: aptos.TypeRegistry): void;
1281
- const ABI: MoveModule;
1282
- }
1283
- export declare namespace chain_status {
1284
- class GenesisEndMarker {
1285
- static TYPE_QNAME: string;
1286
- dummy_field: Boolean;
1287
- }
1288
- function loadTypes(_r: aptos.TypeRegistry): void;
1289
- const ABI: MoveModule;
1290
- }
1291
- export declare namespace copyable_any {
1292
- class Any {
1293
- static TYPE_QNAME: string;
1294
- type_name: string;
1295
- data: string;
1296
- }
1297
- function loadTypes(_r: aptos.TypeRegistry): void;
1298
- const ABI: MoveModule;
1299
- }
1300
- export declare namespace gas_schedule {
1301
- class GasEntry {
1302
- static TYPE_QNAME: string;
1303
- key: string;
1304
- val: bigint;
1305
- }
1306
- class GasSchedule {
1307
- static TYPE_QNAME: string;
1308
- entries: gas_schedule.GasEntry[];
1309
- }
1310
- class GasScheduleV2 {
1311
- static TYPE_QNAME: string;
1312
- feature_version: bigint;
1313
- entries: gas_schedule.GasEntry[];
1314
- }
1315
- function loadTypes(_r: aptos.TypeRegistry): void;
1316
- const ABI: MoveModule;
1317
- }
1318
- export declare class managed_coin extends aptos.AptosBaseProcessor {
1319
- constructor(options: aptos.AptosBindOptions);
1320
- static DEFAULT_OPTIONS: aptos.AptosBindOptions;
1321
- static bind(options?: Partial<aptos.AptosBindOptions>): managed_coin;
1322
- onEntryBurn(func: (call: managed_coin.BurnPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): managed_coin;
1323
- onEntryInitialize(func: (call: managed_coin.InitializePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): managed_coin;
1324
- onEntryMint(func: (call: managed_coin.MintPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): managed_coin;
1325
- onEntryRegister(func: (call: managed_coin.RegisterPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): managed_coin;
1326
- loadTypesInternal(registry: aptos.TypeRegistry): void;
1327
- }
1328
- export declare namespace managed_coin {
1329
- class Capabilities<T0> {
1330
- static TYPE_QNAME: string;
1331
- burn_cap: coin.BurnCapability<T0>;
1332
- freeze_cap: coin.FreezeCapability<T0>;
1333
- mint_cap: coin.MintCapability<T0>;
1334
- }
1335
- interface BurnPayload<T0 = any> extends aptos.TypedEntryFunctionPayload<[bigint]> {
1336
- arguments_typed: [bigint];
1337
- type_arguments: [string];
1338
- }
1339
- interface InitializePayload<T0 = any> extends aptos.TypedEntryFunctionPayload<[string, string, number, Boolean]> {
1340
- arguments_typed: [string, string, number, Boolean];
1341
- type_arguments: [string];
1342
- }
1343
- interface MintPayload<T0 = any> extends aptos.TypedEntryFunctionPayload<[Address, bigint]> {
1344
- arguments_typed: [Address, bigint];
1345
- type_arguments: [string];
1346
- }
1347
- interface RegisterPayload<T0 = any> extends aptos.TypedEntryFunctionPayload<[]> {
1348
- arguments_typed: [];
1349
- type_arguments: [string];
1350
- }
1351
- function loadTypes(_r: aptos.TypeRegistry): void;
1352
- const ABI: MoveModule;
1353
- }
1354
- export declare namespace ristretto255 {
1355
- class CompressedRistretto {
1356
- static TYPE_QNAME: string;
1357
- data: string;
1358
- }
1359
- class RistrettoPoint {
1360
- static TYPE_QNAME: string;
1361
- handle: bigint;
1362
- }
1363
- class Scalar {
1364
- static TYPE_QNAME: string;
1365
- data: string;
1366
- }
1367
- function loadTypes(_r: aptos.TypeRegistry): void;
1368
- const ABI: MoveModule;
1369
- }
1370
- export declare class aptos_account extends aptos.AptosBaseProcessor {
1371
- constructor(options: aptos.AptosBindOptions);
1372
- static DEFAULT_OPTIONS: aptos.AptosBindOptions;
1373
- static bind(options?: Partial<aptos.AptosBindOptions>): aptos_account;
1374
- onEntryCreateAccount(func: (call: aptos_account.CreateAccountPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): aptos_account;
1375
- onEntryTransfer(func: (call: aptos_account.TransferPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): aptos_account;
1376
- loadTypesInternal(registry: aptos.TypeRegistry): void;
1377
- }
1378
- export declare namespace aptos_account {
1379
- interface CreateAccountPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
1380
- arguments_typed: [Address];
1381
- type_arguments: [];
1382
- }
1383
- interface TransferPayload extends aptos.TypedEntryFunctionPayload<[Address, bigint]> {
1384
- arguments_typed: [Address, bigint];
1385
- type_arguments: [];
1386
- }
1387
- function loadTypes(_r: aptos.TypeRegistry): void;
1388
- const ABI: MoveModule;
1389
- }
1390
- export declare namespace fixed_point32 {
1391
- class FixedPoint32 {
1392
- static TYPE_QNAME: string;
1393
- value: bigint;
1394
- }
1395
- function loadTypes(_r: aptos.TypeRegistry): void;
1396
- const ABI: MoveModule;
1397
- }
1398
- export declare namespace multi_ed25519 {
1399
- class Signature {
1400
- static TYPE_QNAME: string;
1401
- bytes: string;
1402
- }
1403
- class UnvalidatedPublicKey {
1404
- static TYPE_QNAME: string;
1405
- bytes: string;
1406
- }
1407
- class ValidatedPublicKey {
1408
- static TYPE_QNAME: string;
1409
- bytes: string;
1410
- }
1411
- function loadTypes(_r: aptos.TypeRegistry): void;
1412
- const ABI: MoveModule;
1413
- }
1414
- export declare class staking_proxy extends aptos.AptosBaseProcessor {
1415
- constructor(options: aptos.AptosBindOptions);
1416
- static DEFAULT_OPTIONS: aptos.AptosBindOptions;
1417
- static bind(options?: Partial<aptos.AptosBindOptions>): staking_proxy;
1418
- onEntrySetOperator(func: (call: staking_proxy.SetOperatorPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_proxy;
1419
- onEntrySetStakePoolOperator(func: (call: staking_proxy.SetStakePoolOperatorPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_proxy;
1420
- onEntrySetStakePoolVoter(func: (call: staking_proxy.SetStakePoolVoterPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_proxy;
1421
- onEntrySetStakingContractOperator(func: (call: staking_proxy.SetStakingContractOperatorPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_proxy;
1422
- onEntrySetStakingContractVoter(func: (call: staking_proxy.SetStakingContractVoterPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_proxy;
1423
- onEntrySetVestingContractOperator(func: (call: staking_proxy.SetVestingContractOperatorPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_proxy;
1424
- onEntrySetVestingContractVoter(func: (call: staking_proxy.SetVestingContractVoterPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_proxy;
1425
- onEntrySetVoter(func: (call: staking_proxy.SetVoterPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_proxy;
1426
- loadTypesInternal(registry: aptos.TypeRegistry): void;
1427
- }
1428
- export declare namespace staking_proxy {
1429
- interface SetOperatorPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
1430
- arguments_typed: [Address, Address];
1431
- type_arguments: [];
1432
- }
1433
- interface SetStakePoolOperatorPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
1434
- arguments_typed: [Address];
1435
- type_arguments: [];
1436
- }
1437
- interface SetStakePoolVoterPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
1438
- arguments_typed: [Address];
1439
- type_arguments: [];
1440
- }
1441
- interface SetStakingContractOperatorPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
1442
- arguments_typed: [Address, Address];
1443
- type_arguments: [];
1444
- }
1445
- interface SetStakingContractVoterPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
1446
- arguments_typed: [Address, Address];
1447
- type_arguments: [];
1448
- }
1449
- interface SetVestingContractOperatorPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
1450
- arguments_typed: [Address, Address];
1451
- type_arguments: [];
1452
- }
1453
- interface SetVestingContractVoterPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
1454
- arguments_typed: [Address, Address];
1455
- type_arguments: [];
1456
- }
1457
- interface SetVoterPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
1458
- arguments_typed: [Address, Address];
1459
- type_arguments: [];
1460
- }
1461
- function loadTypes(_r: aptos.TypeRegistry): void;
1462
- const ABI: MoveModule;
1463
- }
1464
- export declare namespace state_storage {
1465
- class GasParameter {
1466
- static TYPE_QNAME: string;
1467
- usage: state_storage.Usage;
1468
- }
1469
- class StateStorageUsage {
1470
- static TYPE_QNAME: string;
1471
- epoch: bigint;
1472
- usage: state_storage.Usage;
1473
- }
1474
- class Usage {
1475
- static TYPE_QNAME: string;
1476
- items: bigint;
1477
- bytes: bigint;
1478
- }
1479
- function loadTypes(_r: aptos.TypeRegistry): void;
1480
- const ABI: MoveModule;
1481
- }
1482
- export declare namespace staking_config {
1483
- class StakingConfig {
1484
- static TYPE_QNAME: string;
1485
- minimum_stake: bigint;
1486
- maximum_stake: bigint;
1487
- recurring_lockup_duration_secs: bigint;
1488
- allow_validator_set_change: Boolean;
1489
- rewards_rate: bigint;
1490
- rewards_rate_denominator: bigint;
1491
- voting_power_increase_limit: bigint;
1492
- }
1493
- function loadTypes(_r: aptos.TypeRegistry): void;
1494
- const ABI: MoveModule;
1495
- }
1496
- export declare class reconfiguration extends aptos.AptosBaseProcessor {
1497
- constructor(options: aptos.AptosBindOptions);
1498
- static DEFAULT_OPTIONS: aptos.AptosBindOptions;
1499
- static bind(options?: Partial<aptos.AptosBindOptions>): reconfiguration;
1500
- onEventNewEpochEvent(func: (event: reconfiguration.NewEpochEventInstance, ctx: aptos.AptosContext) => void): reconfiguration;
1501
- loadTypesInternal(registry: aptos.TypeRegistry): void;
1502
- }
1503
- export declare namespace reconfiguration {
1504
- class Configuration {
1505
- static TYPE_QNAME: string;
1506
- epoch: bigint;
1507
- last_reconfiguration_time: bigint;
1508
- events: event.EventHandle<reconfiguration.NewEpochEvent>;
1509
- }
1510
- class DisableReconfiguration {
1511
- static TYPE_QNAME: string;
1512
- dummy_field: Boolean;
1513
- }
1514
- class NewEpochEvent {
1515
- static TYPE_QNAME: string;
1516
- epoch: bigint;
1517
- }
1518
- interface NewEpochEventInstance extends aptos.TypedEventInstance<NewEpochEvent> {
1519
- data_typed: NewEpochEvent;
1520
- type_arguments: [];
1521
- }
1522
- function loadTypes(_r: aptos.TypeRegistry): void;
1523
- const ABI: MoveModule;
1524
- }
1525
- export declare namespace transaction_fee {
1526
- class AptosCoinCapabilities {
1527
- static TYPE_QNAME: string;
1528
- burn_cap: coin.BurnCapability<aptos_coin.AptosCoin>;
1529
- }
1530
- function loadTypes(_r: aptos.TypeRegistry): void;
1531
- const ABI: MoveModule;
1532
- }
1533
- export declare class aptos_governance extends aptos.AptosBaseProcessor {
1534
- constructor(options: aptos.AptosBindOptions);
1535
- static DEFAULT_OPTIONS: aptos.AptosBindOptions;
1536
- static bind(options?: Partial<aptos.AptosBindOptions>): aptos_governance;
1537
- onEntryAddApprovedScriptHashScript(func: (call: aptos_governance.AddApprovedScriptHashScriptPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): aptos_governance;
1538
- onEntryCreateProposal(func: (call: aptos_governance.CreateProposalPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): aptos_governance;
1539
- onEntryVote(func: (call: aptos_governance.VotePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): aptos_governance;
1540
- onEventCreateProposalEvent(func: (event: aptos_governance.CreateProposalEventInstance, ctx: aptos.AptosContext) => void): aptos_governance;
1541
- onEventUpdateConfigEvent(func: (event: aptos_governance.UpdateConfigEventInstance, ctx: aptos.AptosContext) => void): aptos_governance;
1542
- onEventVoteEvent(func: (event: aptos_governance.VoteEventInstance, ctx: aptos.AptosContext) => void): aptos_governance;
1543
- loadTypesInternal(registry: aptos.TypeRegistry): void;
1544
- }
1545
- export declare namespace aptos_governance {
1546
- class ApprovedExecutionHashes {
1547
- static TYPE_QNAME: string;
1548
- hashes: simple_map.SimpleMap<bigint, string>;
1549
- }
1550
- class CreateProposalEvent {
1551
- static TYPE_QNAME: string;
1552
- proposer: Address;
1553
- stake_pool: Address;
1554
- proposal_id: bigint;
1555
- execution_hash: string;
1556
- proposal_metadata: simple_map.SimpleMap<string, string>;
1557
- }
1558
- interface CreateProposalEventInstance extends aptos.TypedEventInstance<CreateProposalEvent> {
1559
- data_typed: CreateProposalEvent;
1560
- type_arguments: [];
1561
- }
1562
- class GovernanceConfig {
1563
- static TYPE_QNAME: string;
1564
- min_voting_threshold: bigint;
1565
- required_proposer_stake: bigint;
1566
- voting_duration_secs: bigint;
1567
- }
1568
- class GovernanceEvents {
1569
- static TYPE_QNAME: string;
1570
- create_proposal_events: event.EventHandle<aptos_governance.CreateProposalEvent>;
1571
- update_config_events: event.EventHandle<aptos_governance.UpdateConfigEvent>;
1572
- vote_events: event.EventHandle<aptos_governance.VoteEvent>;
1573
- }
1574
- class GovernanceResponsbility {
1575
- static TYPE_QNAME: string;
1576
- signer_caps: simple_map.SimpleMap<Address, account.SignerCapability>;
1577
- }
1578
- class RecordKey {
1579
- static TYPE_QNAME: string;
1580
- stake_pool: Address;
1581
- proposal_id: bigint;
1582
- }
1583
- class UpdateConfigEvent {
1584
- static TYPE_QNAME: string;
1585
- min_voting_threshold: bigint;
1586
- required_proposer_stake: bigint;
1587
- voting_duration_secs: bigint;
1588
- }
1589
- interface UpdateConfigEventInstance extends aptos.TypedEventInstance<UpdateConfigEvent> {
1590
- data_typed: UpdateConfigEvent;
1591
- type_arguments: [];
1592
- }
1593
- class VoteEvent {
1594
- static TYPE_QNAME: string;
1595
- proposal_id: bigint;
1596
- voter: Address;
1597
- stake_pool: Address;
1598
- num_votes: bigint;
1599
- should_pass: Boolean;
1600
- }
1601
- interface VoteEventInstance extends aptos.TypedEventInstance<VoteEvent> {
1602
- data_typed: VoteEvent;
1603
- type_arguments: [];
1604
- }
1605
- class VotingRecords {
1606
- static TYPE_QNAME: string;
1607
- votes: table.Table<aptos_governance.RecordKey, Boolean>;
1608
- }
1609
- interface AddApprovedScriptHashScriptPayload extends aptos.TypedEntryFunctionPayload<[bigint]> {
1610
- arguments_typed: [bigint];
1611
- type_arguments: [];
1612
- }
1613
- interface CreateProposalPayload extends aptos.TypedEntryFunctionPayload<[Address, string, string, string]> {
1614
- arguments_typed: [Address, string, string, string];
1615
- type_arguments: [];
1616
- }
1617
- interface VotePayload extends aptos.TypedEntryFunctionPayload<[Address, bigint, Boolean]> {
1618
- arguments_typed: [Address, bigint, Boolean];
1619
- type_arguments: [];
1620
- }
1621
- function loadTypes(_r: aptos.TypeRegistry): void;
1622
- const ABI: MoveModule;
1623
- }
1624
- export declare namespace consensus_config {
1625
- class ConsensusConfig {
1626
- static TYPE_QNAME: string;
1627
- config: string;
1628
- }
1629
- function loadTypes(_r: aptos.TypeRegistry): void;
1630
- const ABI: MoveModule;
1631
- }
1632
- export declare class resource_account extends aptos.AptosBaseProcessor {
1633
- constructor(options: aptos.AptosBindOptions);
1634
- static DEFAULT_OPTIONS: aptos.AptosBindOptions;
1635
- static bind(options?: Partial<aptos.AptosBindOptions>): resource_account;
1636
- onEntryCreateResourceAccount(func: (call: resource_account.CreateResourceAccountPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): resource_account;
1637
- onEntryCreateResourceAccountAndFund(func: (call: resource_account.CreateResourceAccountAndFundPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): resource_account;
1638
- onEntryCreateResourceAccountAndPublishPackage(func: (call: resource_account.CreateResourceAccountAndPublishPackagePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): resource_account;
1639
- loadTypesInternal(registry: aptos.TypeRegistry): void;
1640
- }
1641
- export declare namespace resource_account {
1642
- class Container {
1643
- static TYPE_QNAME: string;
1644
- store: simple_map.SimpleMap<Address, account.SignerCapability>;
1645
- }
1646
- interface CreateResourceAccountPayload extends aptos.TypedEntryFunctionPayload<[string, string]> {
1647
- arguments_typed: [string, string];
1648
- type_arguments: [];
1649
- }
1650
- interface CreateResourceAccountAndFundPayload extends aptos.TypedEntryFunctionPayload<[string, string, bigint]> {
1651
- arguments_typed: [string, string, bigint];
1652
- type_arguments: [];
1653
- }
1654
- interface CreateResourceAccountAndPublishPackagePayload extends aptos.TypedEntryFunctionPayload<[string, string, string[]]> {
1655
- arguments_typed: [string, string, string[]];
1656
- type_arguments: [];
1657
- }
1658
- function loadTypes(_r: aptos.TypeRegistry): void;
1659
- const ABI: MoveModule;
1660
- }
1661
- export declare class staking_contract extends aptos.AptosBaseProcessor {
1662
- constructor(options: aptos.AptosBindOptions);
1663
- static DEFAULT_OPTIONS: aptos.AptosBindOptions;
1664
- static bind(options?: Partial<aptos.AptosBindOptions>): staking_contract;
1665
- onEntryAddStake(func: (call: staking_contract.AddStakePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_contract;
1666
- onEntryCreateStakingContract(func: (call: staking_contract.CreateStakingContractPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_contract;
1667
- onEntryDistribute(func: (call: staking_contract.DistributePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_contract;
1668
- onEntryRequestCommission(func: (call: staking_contract.RequestCommissionPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_contract;
1669
- onEntryResetLockup(func: (call: staking_contract.ResetLockupPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_contract;
1670
- onEntrySwitchOperator(func: (call: staking_contract.SwitchOperatorPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_contract;
1671
- onEntrySwitchOperatorWithSameCommission(func: (call: staking_contract.SwitchOperatorWithSameCommissionPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_contract;
1672
- onEntryUnlockRewards(func: (call: staking_contract.UnlockRewardsPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_contract;
1673
- onEntryUnlockStake(func: (call: staking_contract.UnlockStakePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_contract;
1674
- onEntryUpdateVoter(func: (call: staking_contract.UpdateVoterPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_contract;
1675
- onEventCreateStakingContractEvent(func: (event: staking_contract.CreateStakingContractEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
1676
- onEventUpdateVoterEvent(func: (event: staking_contract.UpdateVoterEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
1677
- onEventResetLockupEvent(func: (event: staking_contract.ResetLockupEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
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;
1680
- onEventUnlockStakeEvent(func: (event: staking_contract.UnlockStakeEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
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;
1684
- loadTypesInternal(registry: aptos.TypeRegistry): void;
1685
- }
1686
- export declare namespace staking_contract {
1687
- class AddDistributionEvent {
1688
- static TYPE_QNAME: string;
1689
- operator: Address;
1690
- pool_address: Address;
1691
- amount: bigint;
1692
- }
1693
- interface AddDistributionEventInstance extends aptos.TypedEventInstance<AddDistributionEvent> {
1694
- data_typed: AddDistributionEvent;
1695
- type_arguments: [];
1696
- }
1697
- class AddStakeEvent {
1698
- static TYPE_QNAME: string;
1699
- operator: Address;
1700
- pool_address: Address;
1701
- amount: bigint;
1702
- }
1703
- interface AddStakeEventInstance extends aptos.TypedEventInstance<AddStakeEvent> {
1704
- data_typed: AddStakeEvent;
1705
- type_arguments: [];
1706
- }
1707
- class CreateStakingContractEvent {
1708
- static TYPE_QNAME: string;
1709
- operator: Address;
1710
- voter: Address;
1711
- pool_address: Address;
1712
- principal: bigint;
1713
- commission_percentage: bigint;
1714
- }
1715
- interface CreateStakingContractEventInstance extends aptos.TypedEventInstance<CreateStakingContractEvent> {
1716
- data_typed: CreateStakingContractEvent;
1717
- type_arguments: [];
1718
- }
1719
- class DistributeEvent {
1720
- static TYPE_QNAME: string;
1721
- operator: Address;
1722
- pool_address: Address;
1723
- recipient: Address;
1724
- amount: bigint;
1725
- }
1726
- interface DistributeEventInstance extends aptos.TypedEventInstance<DistributeEvent> {
1727
- data_typed: DistributeEvent;
1728
- type_arguments: [];
1729
- }
1730
- class RequestCommissionEvent {
1731
- static TYPE_QNAME: string;
1732
- operator: Address;
1733
- pool_address: Address;
1734
- accumulated_rewards: bigint;
1735
- commission_amount: bigint;
1736
- }
1737
- interface RequestCommissionEventInstance extends aptos.TypedEventInstance<RequestCommissionEvent> {
1738
- data_typed: RequestCommissionEvent;
1739
- type_arguments: [];
1740
- }
1741
- class ResetLockupEvent {
1742
- static TYPE_QNAME: string;
1743
- operator: Address;
1744
- pool_address: Address;
1745
- }
1746
- interface ResetLockupEventInstance extends aptos.TypedEventInstance<ResetLockupEvent> {
1747
- data_typed: ResetLockupEvent;
1748
- type_arguments: [];
1749
- }
1750
- class StakingContract {
1751
- static TYPE_QNAME: string;
1752
- principal: bigint;
1753
- pool_address: Address;
1754
- owner_cap: stake.OwnerCapability;
1755
- commission_percentage: bigint;
1756
- distribution_pool: pool_u64.Pool;
1757
- signer_cap: account.SignerCapability;
1758
- }
1759
- class Store {
1760
- static TYPE_QNAME: string;
1761
- staking_contracts: simple_map.SimpleMap<Address, staking_contract.StakingContract>;
1762
- create_staking_contract_events: event.EventHandle<staking_contract.CreateStakingContractEvent>;
1763
- update_voter_events: event.EventHandle<staking_contract.UpdateVoterEvent>;
1764
- reset_lockup_events: event.EventHandle<staking_contract.ResetLockupEvent>;
1765
- add_stake_events: event.EventHandle<staking_contract.AddStakeEvent>;
1766
- request_commission_events: event.EventHandle<staking_contract.RequestCommissionEvent>;
1767
- unlock_stake_events: event.EventHandle<staking_contract.UnlockStakeEvent>;
1768
- switch_operator_events: event.EventHandle<staking_contract.SwitchOperatorEvent>;
1769
- add_distribution_events: event.EventHandle<staking_contract.AddDistributionEvent>;
1770
- distribute_events: event.EventHandle<staking_contract.DistributeEvent>;
1771
- }
1772
- class SwitchOperatorEvent {
1773
- static TYPE_QNAME: string;
1774
- old_operator: Address;
1775
- new_operator: Address;
1776
- pool_address: Address;
1777
- }
1778
- interface SwitchOperatorEventInstance extends aptos.TypedEventInstance<SwitchOperatorEvent> {
1779
- data_typed: SwitchOperatorEvent;
1780
- type_arguments: [];
1781
- }
1782
- class UnlockStakeEvent {
1783
- static TYPE_QNAME: string;
1784
- operator: Address;
1785
- pool_address: Address;
1786
- amount: bigint;
1787
- commission_paid: bigint;
1788
- }
1789
- interface UnlockStakeEventInstance extends aptos.TypedEventInstance<UnlockStakeEvent> {
1790
- data_typed: UnlockStakeEvent;
1791
- type_arguments: [];
1792
- }
1793
- class UpdateVoterEvent {
1794
- static TYPE_QNAME: string;
1795
- operator: Address;
1796
- pool_address: Address;
1797
- old_voter: Address;
1798
- new_voter: Address;
1799
- }
1800
- interface UpdateVoterEventInstance extends aptos.TypedEventInstance<UpdateVoterEvent> {
1801
- data_typed: UpdateVoterEvent;
1802
- type_arguments: [];
1803
- }
1804
- interface AddStakePayload extends aptos.TypedEntryFunctionPayload<[Address, bigint]> {
1805
- arguments_typed: [Address, bigint];
1806
- type_arguments: [];
1807
- }
1808
- interface CreateStakingContractPayload extends aptos.TypedEntryFunctionPayload<[
1809
- Address,
1810
- Address,
1811
- bigint,
1812
- bigint,
1813
- string
1814
- ]> {
1815
- arguments_typed: [Address, Address, bigint, bigint, string];
1816
- type_arguments: [];
1817
- }
1818
- interface DistributePayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
1819
- arguments_typed: [Address, Address];
1820
- type_arguments: [];
1821
- }
1822
- interface RequestCommissionPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
1823
- arguments_typed: [Address, Address];
1824
- type_arguments: [];
1825
- }
1826
- interface ResetLockupPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
1827
- arguments_typed: [Address];
1828
- type_arguments: [];
1829
- }
1830
- interface SwitchOperatorPayload extends aptos.TypedEntryFunctionPayload<[Address, Address, bigint]> {
1831
- arguments_typed: [Address, Address, bigint];
1832
- type_arguments: [];
1833
- }
1834
- interface SwitchOperatorWithSameCommissionPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
1835
- arguments_typed: [Address, Address];
1836
- type_arguments: [];
1837
- }
1838
- interface UnlockRewardsPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
1839
- arguments_typed: [Address];
1840
- type_arguments: [];
1841
- }
1842
- interface UnlockStakePayload extends aptos.TypedEntryFunctionPayload<[Address, bigint]> {
1843
- arguments_typed: [Address, bigint];
1844
- type_arguments: [];
1845
- }
1846
- interface UpdateVoterPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
1847
- arguments_typed: [Address, Address];
1848
- type_arguments: [];
1849
- }
1850
- function loadTypes(_r: aptos.TypeRegistry): void;
1851
- const ABI: MoveModule;
1852
- }
1853
- export declare namespace system_addresses {
1854
- function loadTypes(_r: aptos.TypeRegistry): void;
1855
- const ABI: MoveModule;
1856
- }
1857
- export declare namespace table_with_length {
1858
- class TableWithLength<T0, T1> {
1859
- static TYPE_QNAME: string;
1860
- inner: table.Table<T0, T1>;
1861
- length: bigint;
1862
- }
1863
- function loadTypes(_r: aptos.TypeRegistry): void;
1864
- const ABI: MoveModule;
1865
- }
1866
- export declare namespace aggregator_factory {
1867
- class AggregatorFactory {
1868
- static TYPE_QNAME: string;
1869
- phantom_table: table.Table<Address, bigint>;
1870
- }
1871
- function loadTypes(_r: aptos.TypeRegistry): void;
1872
- const ABI: MoveModule;
1873
- }
1874
- export declare namespace governance_proposal {
1875
- class GovernanceProposal {
1876
- static TYPE_QNAME: string;
1877
- dummy_field: Boolean;
1878
- }
1879
- function loadTypes(_r: aptos.TypeRegistry): void;
1880
- const ABI: MoveModule;
1881
- }
1882
- export declare namespace optional_aggregator {
1883
- class Integer {
1884
- static TYPE_QNAME: string;
1885
- value: bigint;
1886
- limit: bigint;
1887
- }
1888
- class OptionalAggregator {
1889
- static TYPE_QNAME: string;
1890
- aggregator: option.Option<aggregator.Aggregator>;
1891
- integer: option.Option<optional_aggregator.Integer>;
1892
- }
1893
- function loadTypes(_r: aptos.TypeRegistry): void;
1894
- const ABI: MoveModule;
1895
- }
1896
- export declare namespace transaction_context {
1897
- function loadTypes(_r: aptos.TypeRegistry): void;
1898
- const ABI: MoveModule;
1899
- }
1900
- export declare namespace transaction_validation {
1901
- class TransactionValidation {
1902
- static TYPE_QNAME: string;
1903
- module_addr: Address;
1904
- module_name: string;
1905
- script_prologue_name: string;
1906
- module_prologue_name: string;
1907
- multi_agent_prologue_name: string;
1908
- user_epilogue_name: string;
1909
- }
1910
- function loadTypes(_r: aptos.TypeRegistry): void;
1911
- const ABI: MoveModule;
1912
- }
1913
- export declare function loadAllTypes(_r: aptos.TypeRegistry): void;