@sentio/sdk 1.26.2 → 1.26.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/aptos/types.d.ts +2 -2
- package/lib/aptos/types.js +6 -6
- package/lib/aptos/types.js.map +1 -1
- package/lib/aptos-codegen/codegen.js +53 -15
- package/lib/aptos-codegen/codegen.js.map +1 -1
- package/lib/builtin/aptos/0x1.d.ts +260 -255
- package/lib/builtin/aptos/0x1.js +428 -422
- package/lib/builtin/aptos/0x1.js.map +1 -1
- package/lib/builtin/aptos/0x3.d.ts +39 -39
- package/lib/builtin/aptos/0x3.js +66 -66
- package/lib/builtin/aptos/0x3.js.map +1 -1
- package/lib/core/exporter.d.ts +4 -9
- package/lib/core/exporter.js +8 -8
- package/lib/core/exporter.js.map +1 -1
- package/lib/gen/processor/protos/processor.d.ts +2 -9
- package/lib/gen/processor/protos/processor.js +15 -54
- package/lib/gen/processor/protos/processor.js.map +1 -1
- package/lib/service.js +2 -3
- package/lib/service.js.map +1 -1
- package/lib/tests/erc20.js +1 -5
- package/lib/tests/erc20.js.map +1 -1
- package/lib/tests/types/aptos/souffle.d.ts +16 -16
- package/lib/tests/types/aptos/souffle.js +26 -26
- package/lib/tests/types/aptos/souffle.js.map +1 -1
- package/package.json +1 -1
- package/src/aptos/types.ts +6 -6
- package/src/aptos-codegen/codegen.ts +64 -17
- package/src/builtin/aptos/0x1.ts +472 -454
- package/src/builtin/aptos/0x3.ts +78 -78
- package/src/core/exporter.ts +9 -14
- package/src/gen/processor/protos/processor.ts +15 -59
- package/src/service.ts +2 -3
- package/src/tests/erc20.ts +1 -5
- package/src/tests/types/aptos/souffle.ts +26 -26
|
@@ -2,23 +2,23 @@ import { aptos } from "@sentio/sdk";
|
|
|
2
2
|
import { Address, MoveModule } from "aptos-sdk/src/generated";
|
|
3
3
|
export declare namespace acl {
|
|
4
4
|
class ACL {
|
|
5
|
-
static
|
|
5
|
+
static TYPE_QNAME: string;
|
|
6
6
|
list: Address[];
|
|
7
7
|
}
|
|
8
|
-
function loadTypes(
|
|
8
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
9
9
|
const ABI: MoveModule;
|
|
10
10
|
}
|
|
11
11
|
export declare namespace any {
|
|
12
12
|
class Any {
|
|
13
|
-
static
|
|
13
|
+
static TYPE_QNAME: string;
|
|
14
14
|
type_name: string;
|
|
15
15
|
data: string;
|
|
16
16
|
}
|
|
17
|
-
function loadTypes(
|
|
17
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
18
18
|
const ABI: MoveModule;
|
|
19
19
|
}
|
|
20
20
|
export declare namespace bcs {
|
|
21
|
-
function loadTypes(
|
|
21
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
22
22
|
const ABI: MoveModule;
|
|
23
23
|
}
|
|
24
24
|
export declare class code extends aptos.AptosBaseProcessor {
|
|
@@ -30,24 +30,24 @@ export declare class code extends aptos.AptosBaseProcessor {
|
|
|
30
30
|
}
|
|
31
31
|
export declare namespace code {
|
|
32
32
|
class AllowedDep {
|
|
33
|
-
static
|
|
33
|
+
static TYPE_QNAME: string;
|
|
34
34
|
account: Address;
|
|
35
35
|
module_name: string;
|
|
36
36
|
}
|
|
37
37
|
class ModuleMetadata {
|
|
38
|
-
static
|
|
38
|
+
static TYPE_QNAME: string;
|
|
39
39
|
name: string;
|
|
40
40
|
source: string;
|
|
41
41
|
source_map: string;
|
|
42
42
|
extension: option.Option<copyable_any.Any>;
|
|
43
43
|
}
|
|
44
44
|
class PackageDep {
|
|
45
|
-
static
|
|
45
|
+
static TYPE_QNAME: string;
|
|
46
46
|
account: Address;
|
|
47
47
|
package_name: string;
|
|
48
48
|
}
|
|
49
49
|
class PackageMetadata {
|
|
50
|
-
static
|
|
50
|
+
static TYPE_QNAME: string;
|
|
51
51
|
name: string;
|
|
52
52
|
upgrade_policy: code.UpgradePolicy;
|
|
53
53
|
upgrade_number: bigint;
|
|
@@ -58,18 +58,18 @@ export declare namespace code {
|
|
|
58
58
|
extension: option.Option<copyable_any.Any>;
|
|
59
59
|
}
|
|
60
60
|
class PackageRegistry {
|
|
61
|
-
static
|
|
61
|
+
static TYPE_QNAME: string;
|
|
62
62
|
packages: code.PackageMetadata[];
|
|
63
63
|
}
|
|
64
64
|
class UpgradePolicy {
|
|
65
|
-
static
|
|
65
|
+
static TYPE_QNAME: string;
|
|
66
66
|
policy: number;
|
|
67
67
|
}
|
|
68
68
|
interface PublishPackageTxnPayload extends aptos.TypedEntryFunctionPayload<[string, string[]]> {
|
|
69
69
|
arguments_typed: [string, string[]];
|
|
70
70
|
type_arguments: [];
|
|
71
71
|
}
|
|
72
|
-
function loadTypes(
|
|
72
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
73
73
|
const ABI: MoveModule;
|
|
74
74
|
}
|
|
75
75
|
export declare class coin extends aptos.AptosBaseProcessor {
|
|
@@ -86,29 +86,29 @@ export declare class coin extends aptos.AptosBaseProcessor {
|
|
|
86
86
|
}
|
|
87
87
|
export declare namespace coin {
|
|
88
88
|
class BurnCapability<T0> {
|
|
89
|
-
static
|
|
89
|
+
static TYPE_QNAME: string;
|
|
90
90
|
dummy_field: Boolean;
|
|
91
91
|
}
|
|
92
92
|
class Coin<T0> {
|
|
93
|
-
static
|
|
93
|
+
static TYPE_QNAME: string;
|
|
94
94
|
value: bigint;
|
|
95
95
|
}
|
|
96
96
|
class CoinInfo<T0> {
|
|
97
|
-
static
|
|
97
|
+
static TYPE_QNAME: string;
|
|
98
98
|
name: string;
|
|
99
99
|
symbol: string;
|
|
100
100
|
decimals: number;
|
|
101
101
|
supply: option.Option<optional_aggregator.OptionalAggregator>;
|
|
102
102
|
}
|
|
103
103
|
class CoinStore<T0> {
|
|
104
|
-
static
|
|
104
|
+
static TYPE_QNAME: string;
|
|
105
105
|
coin: coin.Coin<T0>;
|
|
106
106
|
frozen: Boolean;
|
|
107
107
|
deposit_events: event.EventHandle<coin.DepositEvent>;
|
|
108
108
|
withdraw_events: event.EventHandle<coin.WithdrawEvent>;
|
|
109
109
|
}
|
|
110
110
|
class DepositEvent {
|
|
111
|
-
static
|
|
111
|
+
static TYPE_QNAME: string;
|
|
112
112
|
amount: bigint;
|
|
113
113
|
}
|
|
114
114
|
interface DepositEventInstance extends aptos.TypedEventInstance<DepositEvent> {
|
|
@@ -116,19 +116,19 @@ export declare namespace coin {
|
|
|
116
116
|
type_arguments: [];
|
|
117
117
|
}
|
|
118
118
|
class FreezeCapability<T0> {
|
|
119
|
-
static
|
|
119
|
+
static TYPE_QNAME: string;
|
|
120
120
|
dummy_field: Boolean;
|
|
121
121
|
}
|
|
122
122
|
class MintCapability<T0> {
|
|
123
|
-
static
|
|
123
|
+
static TYPE_QNAME: string;
|
|
124
124
|
dummy_field: Boolean;
|
|
125
125
|
}
|
|
126
126
|
class SupplyConfig {
|
|
127
|
-
static
|
|
127
|
+
static TYPE_QNAME: string;
|
|
128
128
|
allow_upgrades: Boolean;
|
|
129
129
|
}
|
|
130
130
|
class WithdrawEvent {
|
|
131
|
-
static
|
|
131
|
+
static TYPE_QNAME: string;
|
|
132
132
|
amount: bigint;
|
|
133
133
|
}
|
|
134
134
|
interface WithdrawEventInstance extends aptos.TypedEventInstance<WithdrawEvent> {
|
|
@@ -151,28 +151,28 @@ export declare namespace coin {
|
|
|
151
151
|
arguments_typed: [];
|
|
152
152
|
type_arguments: [string];
|
|
153
153
|
}
|
|
154
|
-
function loadTypes(
|
|
154
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
155
155
|
const ABI: MoveModule;
|
|
156
156
|
}
|
|
157
157
|
export declare namespace guid {
|
|
158
158
|
class GUID {
|
|
159
|
-
static
|
|
159
|
+
static TYPE_QNAME: string;
|
|
160
160
|
id: guid.ID;
|
|
161
161
|
}
|
|
162
162
|
class ID {
|
|
163
|
-
static
|
|
163
|
+
static TYPE_QNAME: string;
|
|
164
164
|
creation_num: bigint;
|
|
165
165
|
addr: Address;
|
|
166
166
|
}
|
|
167
|
-
function loadTypes(
|
|
167
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
168
168
|
const ABI: MoveModule;
|
|
169
169
|
}
|
|
170
170
|
export declare namespace hash {
|
|
171
|
-
function loadTypes(
|
|
171
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
172
172
|
const ABI: MoveModule;
|
|
173
173
|
}
|
|
174
174
|
export declare namespace util {
|
|
175
|
-
function loadTypes(
|
|
175
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
176
176
|
const ABI: MoveModule;
|
|
177
177
|
}
|
|
178
178
|
export declare class block extends aptos.AptosBaseProcessor {
|
|
@@ -185,14 +185,14 @@ export declare class block extends aptos.AptosBaseProcessor {
|
|
|
185
185
|
}
|
|
186
186
|
export declare namespace block {
|
|
187
187
|
class BlockResource {
|
|
188
|
-
static
|
|
188
|
+
static TYPE_QNAME: string;
|
|
189
189
|
height: bigint;
|
|
190
190
|
epoch_interval: bigint;
|
|
191
191
|
new_block_events: event.EventHandle<block.NewBlockEvent>;
|
|
192
192
|
update_epoch_interval_events: event.EventHandle<block.UpdateEpochIntervalEvent>;
|
|
193
193
|
}
|
|
194
194
|
class NewBlockEvent {
|
|
195
|
-
static
|
|
195
|
+
static TYPE_QNAME: string;
|
|
196
196
|
hash: Address;
|
|
197
197
|
epoch: bigint;
|
|
198
198
|
round: bigint;
|
|
@@ -207,7 +207,7 @@ export declare namespace block {
|
|
|
207
207
|
type_arguments: [];
|
|
208
208
|
}
|
|
209
209
|
class UpdateEpochIntervalEvent {
|
|
210
|
-
static
|
|
210
|
+
static TYPE_QNAME: string;
|
|
211
211
|
old_epoch_interval: bigint;
|
|
212
212
|
new_epoch_interval: bigint;
|
|
213
213
|
}
|
|
@@ -215,24 +215,24 @@ export declare namespace block {
|
|
|
215
215
|
data_typed: UpdateEpochIntervalEvent;
|
|
216
216
|
type_arguments: [];
|
|
217
217
|
}
|
|
218
|
-
function loadTypes(
|
|
218
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
219
219
|
const ABI: MoveModule;
|
|
220
220
|
}
|
|
221
221
|
export declare namespace debug {
|
|
222
|
-
function loadTypes(
|
|
222
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
223
223
|
const ABI: MoveModule;
|
|
224
224
|
}
|
|
225
225
|
export declare namespace error {
|
|
226
|
-
function loadTypes(
|
|
226
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
227
227
|
const ABI: MoveModule;
|
|
228
228
|
}
|
|
229
229
|
export declare namespace event {
|
|
230
230
|
class EventHandle<T0> {
|
|
231
|
-
static
|
|
231
|
+
static TYPE_QNAME: string;
|
|
232
232
|
counter: bigint;
|
|
233
233
|
guid: guid.GUID;
|
|
234
234
|
}
|
|
235
|
-
function loadTypes(
|
|
235
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
236
236
|
const ABI: MoveModule;
|
|
237
237
|
}
|
|
238
238
|
export declare class stake extends aptos.AptosBaseProcessor {
|
|
@@ -252,23 +252,23 @@ export declare class stake extends aptos.AptosBaseProcessor {
|
|
|
252
252
|
onEntryUnlock(func: (call: stake.UnlockPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
|
|
253
253
|
onEntryUpdateNetworkAndFullnodeAddresses(func: (call: stake.UpdateNetworkAndFullnodeAddressesPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
|
|
254
254
|
onEntryWithdraw(func: (call: stake.WithdrawPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): stake;
|
|
255
|
+
onEventRegisterValidatorCandidateEvent(func: (event: stake.RegisterValidatorCandidateEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
256
|
+
onEventSetOperatorEvent(func: (event: stake.SetOperatorEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
255
257
|
onEventAddStakeEvent(func: (event: stake.AddStakeEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
256
|
-
onEventDistributeRewardsEvent(func: (event: stake.DistributeRewardsEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
257
|
-
onEventIncreaseLockupEvent(func: (event: stake.IncreaseLockupEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
258
|
-
onEventJoinValidatorSetEvent(func: (event: stake.JoinValidatorSetEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
259
|
-
onEventLeaveValidatorSetEvent(func: (event: stake.LeaveValidatorSetEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
260
258
|
onEventReactivateStakeEvent(func: (event: stake.ReactivateStakeEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
261
|
-
onEventRegisterValidatorCandidateEvent(func: (event: stake.RegisterValidatorCandidateEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
262
259
|
onEventRotateConsensusKeyEvent(func: (event: stake.RotateConsensusKeyEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
263
|
-
onEventSetOperatorEvent(func: (event: stake.SetOperatorEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
264
|
-
onEventUnlockStakeEvent(func: (event: stake.UnlockStakeEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
265
260
|
onEventUpdateNetworkAndFullnodeAddressesEvent(func: (event: stake.UpdateNetworkAndFullnodeAddressesEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
261
|
+
onEventIncreaseLockupEvent(func: (event: stake.IncreaseLockupEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
262
|
+
onEventJoinValidatorSetEvent(func: (event: stake.JoinValidatorSetEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
263
|
+
onEventDistributeRewardsEvent(func: (event: stake.DistributeRewardsEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
264
|
+
onEventUnlockStakeEvent(func: (event: stake.UnlockStakeEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
266
265
|
onEventWithdrawStakeEvent(func: (event: stake.WithdrawStakeEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
266
|
+
onEventLeaveValidatorSetEvent(func: (event: stake.LeaveValidatorSetEventInstance, ctx: aptos.AptosContext) => void): stake;
|
|
267
267
|
loadTypesInternal(registry: aptos.TypeRegistry): void;
|
|
268
268
|
}
|
|
269
269
|
export declare namespace stake {
|
|
270
270
|
class AddStakeEvent {
|
|
271
|
-
static
|
|
271
|
+
static TYPE_QNAME: string;
|
|
272
272
|
pool_address: Address;
|
|
273
273
|
amount_added: bigint;
|
|
274
274
|
}
|
|
@@ -277,15 +277,15 @@ export declare namespace stake {
|
|
|
277
277
|
type_arguments: [];
|
|
278
278
|
}
|
|
279
279
|
class AllowedValidators {
|
|
280
|
-
static
|
|
280
|
+
static TYPE_QNAME: string;
|
|
281
281
|
accounts: Address[];
|
|
282
282
|
}
|
|
283
283
|
class AptosCoinCapabilities {
|
|
284
|
-
static
|
|
284
|
+
static TYPE_QNAME: string;
|
|
285
285
|
mint_cap: coin.MintCapability<aptos_coin.AptosCoin>;
|
|
286
286
|
}
|
|
287
287
|
class DistributeRewardsEvent {
|
|
288
|
-
static
|
|
288
|
+
static TYPE_QNAME: string;
|
|
289
289
|
pool_address: Address;
|
|
290
290
|
rewards_amount: bigint;
|
|
291
291
|
}
|
|
@@ -294,7 +294,7 @@ export declare namespace stake {
|
|
|
294
294
|
type_arguments: [];
|
|
295
295
|
}
|
|
296
296
|
class IncreaseLockupEvent {
|
|
297
|
-
static
|
|
297
|
+
static TYPE_QNAME: string;
|
|
298
298
|
pool_address: Address;
|
|
299
299
|
old_locked_until_secs: bigint;
|
|
300
300
|
new_locked_until_secs: bigint;
|
|
@@ -304,12 +304,12 @@ export declare namespace stake {
|
|
|
304
304
|
type_arguments: [];
|
|
305
305
|
}
|
|
306
306
|
class IndividualValidatorPerformance {
|
|
307
|
-
static
|
|
307
|
+
static TYPE_QNAME: string;
|
|
308
308
|
successful_proposals: bigint;
|
|
309
309
|
failed_proposals: bigint;
|
|
310
310
|
}
|
|
311
311
|
class JoinValidatorSetEvent {
|
|
312
|
-
static
|
|
312
|
+
static TYPE_QNAME: string;
|
|
313
313
|
pool_address: Address;
|
|
314
314
|
}
|
|
315
315
|
interface JoinValidatorSetEventInstance extends aptos.TypedEventInstance<JoinValidatorSetEvent> {
|
|
@@ -317,7 +317,7 @@ export declare namespace stake {
|
|
|
317
317
|
type_arguments: [];
|
|
318
318
|
}
|
|
319
319
|
class LeaveValidatorSetEvent {
|
|
320
|
-
static
|
|
320
|
+
static TYPE_QNAME: string;
|
|
321
321
|
pool_address: Address;
|
|
322
322
|
}
|
|
323
323
|
interface LeaveValidatorSetEventInstance extends aptos.TypedEventInstance<LeaveValidatorSetEvent> {
|
|
@@ -325,11 +325,11 @@ export declare namespace stake {
|
|
|
325
325
|
type_arguments: [];
|
|
326
326
|
}
|
|
327
327
|
class OwnerCapability {
|
|
328
|
-
static
|
|
328
|
+
static TYPE_QNAME: string;
|
|
329
329
|
pool_address: Address;
|
|
330
330
|
}
|
|
331
331
|
class ReactivateStakeEvent {
|
|
332
|
-
static
|
|
332
|
+
static TYPE_QNAME: string;
|
|
333
333
|
pool_address: Address;
|
|
334
334
|
amount: bigint;
|
|
335
335
|
}
|
|
@@ -338,7 +338,7 @@ export declare namespace stake {
|
|
|
338
338
|
type_arguments: [];
|
|
339
339
|
}
|
|
340
340
|
class RegisterValidatorCandidateEvent {
|
|
341
|
-
static
|
|
341
|
+
static TYPE_QNAME: string;
|
|
342
342
|
pool_address: Address;
|
|
343
343
|
}
|
|
344
344
|
interface RegisterValidatorCandidateEventInstance extends aptos.TypedEventInstance<RegisterValidatorCandidateEvent> {
|
|
@@ -346,7 +346,7 @@ export declare namespace stake {
|
|
|
346
346
|
type_arguments: [];
|
|
347
347
|
}
|
|
348
348
|
class RotateConsensusKeyEvent {
|
|
349
|
-
static
|
|
349
|
+
static TYPE_QNAME: string;
|
|
350
350
|
pool_address: Address;
|
|
351
351
|
old_consensus_pubkey: string;
|
|
352
352
|
new_consensus_pubkey: string;
|
|
@@ -356,7 +356,7 @@ export declare namespace stake {
|
|
|
356
356
|
type_arguments: [];
|
|
357
357
|
}
|
|
358
358
|
class SetOperatorEvent {
|
|
359
|
-
static
|
|
359
|
+
static TYPE_QNAME: string;
|
|
360
360
|
pool_address: Address;
|
|
361
361
|
old_operator: Address;
|
|
362
362
|
new_operator: Address;
|
|
@@ -366,7 +366,7 @@ export declare namespace stake {
|
|
|
366
366
|
type_arguments: [];
|
|
367
367
|
}
|
|
368
368
|
class StakePool {
|
|
369
|
-
static
|
|
369
|
+
static TYPE_QNAME: string;
|
|
370
370
|
active: coin.Coin<aptos_coin.AptosCoin>;
|
|
371
371
|
inactive: coin.Coin<aptos_coin.AptosCoin>;
|
|
372
372
|
pending_active: coin.Coin<aptos_coin.AptosCoin>;
|
|
@@ -388,7 +388,7 @@ export declare namespace stake {
|
|
|
388
388
|
leave_validator_set_events: event.EventHandle<stake.LeaveValidatorSetEvent>;
|
|
389
389
|
}
|
|
390
390
|
class UnlockStakeEvent {
|
|
391
|
-
static
|
|
391
|
+
static TYPE_QNAME: string;
|
|
392
392
|
pool_address: Address;
|
|
393
393
|
amount_unlocked: bigint;
|
|
394
394
|
}
|
|
@@ -397,7 +397,7 @@ export declare namespace stake {
|
|
|
397
397
|
type_arguments: [];
|
|
398
398
|
}
|
|
399
399
|
class UpdateNetworkAndFullnodeAddressesEvent {
|
|
400
|
-
static
|
|
400
|
+
static TYPE_QNAME: string;
|
|
401
401
|
pool_address: Address;
|
|
402
402
|
old_network_addresses: string;
|
|
403
403
|
new_network_addresses: string;
|
|
@@ -409,24 +409,24 @@ export declare namespace stake {
|
|
|
409
409
|
type_arguments: [];
|
|
410
410
|
}
|
|
411
411
|
class ValidatorConfig {
|
|
412
|
-
static
|
|
412
|
+
static TYPE_QNAME: string;
|
|
413
413
|
consensus_pubkey: string;
|
|
414
414
|
network_addresses: string;
|
|
415
415
|
fullnode_addresses: string;
|
|
416
416
|
validator_index: bigint;
|
|
417
417
|
}
|
|
418
418
|
class ValidatorInfo {
|
|
419
|
-
static
|
|
419
|
+
static TYPE_QNAME: string;
|
|
420
420
|
addr: Address;
|
|
421
421
|
voting_power: bigint;
|
|
422
422
|
config: stake.ValidatorConfig;
|
|
423
423
|
}
|
|
424
424
|
class ValidatorPerformance {
|
|
425
|
-
static
|
|
425
|
+
static TYPE_QNAME: string;
|
|
426
426
|
validators: stake.IndividualValidatorPerformance[];
|
|
427
427
|
}
|
|
428
428
|
class ValidatorSet {
|
|
429
|
-
static
|
|
429
|
+
static TYPE_QNAME: string;
|
|
430
430
|
consensus_scheme: number;
|
|
431
431
|
active_validators: stake.ValidatorInfo[];
|
|
432
432
|
pending_inactive: stake.ValidatorInfo[];
|
|
@@ -435,7 +435,7 @@ export declare namespace stake {
|
|
|
435
435
|
total_joining_power: bigint;
|
|
436
436
|
}
|
|
437
437
|
class WithdrawStakeEvent {
|
|
438
|
-
static
|
|
438
|
+
static TYPE_QNAME: string;
|
|
439
439
|
pool_address: Address;
|
|
440
440
|
amount_withdrawn: bigint;
|
|
441
441
|
}
|
|
@@ -495,47 +495,47 @@ export declare namespace stake {
|
|
|
495
495
|
arguments_typed: [bigint];
|
|
496
496
|
type_arguments: [];
|
|
497
497
|
}
|
|
498
|
-
function loadTypes(
|
|
498
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
499
499
|
const ABI: MoveModule;
|
|
500
500
|
}
|
|
501
501
|
export declare namespace table {
|
|
502
502
|
class Box<T0> {
|
|
503
|
-
static
|
|
503
|
+
static TYPE_QNAME: string;
|
|
504
504
|
val: T0;
|
|
505
505
|
}
|
|
506
506
|
class Table<T0, T1> {
|
|
507
|
-
static
|
|
507
|
+
static TYPE_QNAME: string;
|
|
508
508
|
handle: Address;
|
|
509
509
|
}
|
|
510
|
-
function loadTypes(
|
|
510
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
511
511
|
const ABI: MoveModule;
|
|
512
512
|
}
|
|
513
513
|
export declare namespace math64 {
|
|
514
|
-
function loadTypes(
|
|
514
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
515
515
|
const ABI: MoveModule;
|
|
516
516
|
}
|
|
517
517
|
export declare namespace option {
|
|
518
518
|
class Option<T0> {
|
|
519
|
-
static
|
|
519
|
+
static TYPE_QNAME: string;
|
|
520
520
|
vec: T0[] | string;
|
|
521
521
|
}
|
|
522
|
-
function loadTypes(
|
|
522
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
523
523
|
const ABI: MoveModule;
|
|
524
524
|
}
|
|
525
525
|
export declare namespace signer {
|
|
526
|
-
function loadTypes(
|
|
526
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
527
527
|
const ABI: MoveModule;
|
|
528
528
|
}
|
|
529
529
|
export declare namespace string {
|
|
530
530
|
class String {
|
|
531
|
-
static
|
|
531
|
+
static TYPE_QNAME: string;
|
|
532
532
|
bytes: string;
|
|
533
533
|
}
|
|
534
|
-
function loadTypes(
|
|
534
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
535
535
|
const ABI: MoveModule;
|
|
536
536
|
}
|
|
537
537
|
export declare namespace vector {
|
|
538
|
-
function loadTypes(
|
|
538
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
539
539
|
const ABI: MoveModule;
|
|
540
540
|
}
|
|
541
541
|
export declare class voting extends aptos.AptosBaseProcessor {
|
|
@@ -544,12 +544,13 @@ export declare class voting extends aptos.AptosBaseProcessor {
|
|
|
544
544
|
static bind(options?: Partial<aptos.AptosBindOptions>): voting;
|
|
545
545
|
onEventCreateProposalEvent(func: (event: voting.CreateProposalEventInstance, ctx: aptos.AptosContext) => void): voting;
|
|
546
546
|
onEventRegisterForumEvent(func: (event: voting.RegisterForumEventInstance, ctx: aptos.AptosContext) => void): voting;
|
|
547
|
+
onEventResolveProposal(func: (event: voting.ResolveProposalInstance, ctx: aptos.AptosContext) => void): voting;
|
|
547
548
|
onEventVoteEvent(func: (event: voting.VoteEventInstance, ctx: aptos.AptosContext) => void): voting;
|
|
548
549
|
loadTypesInternal(registry: aptos.TypeRegistry): void;
|
|
549
550
|
}
|
|
550
551
|
export declare namespace voting {
|
|
551
552
|
class CreateProposalEvent {
|
|
552
|
-
static
|
|
553
|
+
static TYPE_QNAME: string;
|
|
553
554
|
proposal_id: bigint;
|
|
554
555
|
early_resolution_vote_threshold: option.Option<bigint>;
|
|
555
556
|
execution_hash: string;
|
|
@@ -562,7 +563,7 @@ export declare namespace voting {
|
|
|
562
563
|
type_arguments: [];
|
|
563
564
|
}
|
|
564
565
|
class Proposal<T0> {
|
|
565
|
-
static
|
|
566
|
+
static TYPE_QNAME: string;
|
|
566
567
|
proposer: Address;
|
|
567
568
|
execution_content: option.Option<T0>;
|
|
568
569
|
metadata: simple_map.SimpleMap<string, string>;
|
|
@@ -577,7 +578,7 @@ export declare namespace voting {
|
|
|
577
578
|
resolution_time_secs: bigint;
|
|
578
579
|
}
|
|
579
580
|
class RegisterForumEvent {
|
|
580
|
-
static
|
|
581
|
+
static TYPE_QNAME: string;
|
|
581
582
|
hosting_account: Address;
|
|
582
583
|
proposal_type_info: type_info.TypeInfo;
|
|
583
584
|
}
|
|
@@ -586,14 +587,18 @@ export declare namespace voting {
|
|
|
586
587
|
type_arguments: [];
|
|
587
588
|
}
|
|
588
589
|
class ResolveProposal {
|
|
589
|
-
static
|
|
590
|
+
static TYPE_QNAME: string;
|
|
590
591
|
proposal_id: bigint;
|
|
591
592
|
yes_votes: bigint;
|
|
592
593
|
no_votes: bigint;
|
|
593
594
|
resolved_early: Boolean;
|
|
594
595
|
}
|
|
596
|
+
interface ResolveProposalInstance extends aptos.TypedEventInstance<ResolveProposal> {
|
|
597
|
+
data_typed: ResolveProposal;
|
|
598
|
+
type_arguments: [];
|
|
599
|
+
}
|
|
595
600
|
class VoteEvent {
|
|
596
|
-
static
|
|
601
|
+
static TYPE_QNAME: string;
|
|
597
602
|
proposal_id: bigint;
|
|
598
603
|
num_votes: bigint;
|
|
599
604
|
}
|
|
@@ -602,19 +607,19 @@ export declare namespace voting {
|
|
|
602
607
|
type_arguments: [];
|
|
603
608
|
}
|
|
604
609
|
class VotingEvents {
|
|
605
|
-
static
|
|
610
|
+
static TYPE_QNAME: string;
|
|
606
611
|
create_proposal_events: event.EventHandle<voting.CreateProposalEvent>;
|
|
607
612
|
register_forum_events: event.EventHandle<voting.RegisterForumEvent>;
|
|
608
613
|
resolve_proposal_events: event.EventHandle<voting.ResolveProposal>;
|
|
609
614
|
vote_events: event.EventHandle<voting.VoteEvent>;
|
|
610
615
|
}
|
|
611
616
|
class VotingForum<T0> {
|
|
612
|
-
static
|
|
617
|
+
static TYPE_QNAME: string;
|
|
613
618
|
proposals: table.Table<bigint, voting.Proposal<T0>>;
|
|
614
619
|
events: voting.VotingEvents;
|
|
615
620
|
next_proposal_id: bigint;
|
|
616
621
|
}
|
|
617
|
-
function loadTypes(
|
|
622
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
618
623
|
const ABI: MoveModule;
|
|
619
624
|
}
|
|
620
625
|
export declare class account extends aptos.AptosBaseProcessor {
|
|
@@ -630,7 +635,7 @@ export declare class account extends aptos.AptosBaseProcessor {
|
|
|
630
635
|
}
|
|
631
636
|
export declare namespace account {
|
|
632
637
|
class Account {
|
|
633
|
-
static
|
|
638
|
+
static TYPE_QNAME: string;
|
|
634
639
|
authentication_key: string;
|
|
635
640
|
sequence_number: bigint;
|
|
636
641
|
guid_creation_num: bigint;
|
|
@@ -640,11 +645,11 @@ export declare namespace account {
|
|
|
640
645
|
signer_capability_offer: account.CapabilityOffer<account.SignerCapability>;
|
|
641
646
|
}
|
|
642
647
|
class CapabilityOffer<T0> {
|
|
643
|
-
static
|
|
648
|
+
static TYPE_QNAME: string;
|
|
644
649
|
for: option.Option<Address>;
|
|
645
650
|
}
|
|
646
651
|
class CoinRegisterEvent {
|
|
647
|
-
static
|
|
652
|
+
static TYPE_QNAME: string;
|
|
648
653
|
type_info: type_info.TypeInfo;
|
|
649
654
|
}
|
|
650
655
|
interface CoinRegisterEventInstance extends aptos.TypedEventInstance<CoinRegisterEvent> {
|
|
@@ -652,7 +657,7 @@ export declare namespace account {
|
|
|
652
657
|
type_arguments: [];
|
|
653
658
|
}
|
|
654
659
|
class KeyRotationEvent {
|
|
655
|
-
static
|
|
660
|
+
static TYPE_QNAME: string;
|
|
656
661
|
old_authentication_key: string;
|
|
657
662
|
new_authentication_key: string;
|
|
658
663
|
}
|
|
@@ -661,36 +666,36 @@ export declare namespace account {
|
|
|
661
666
|
type_arguments: [];
|
|
662
667
|
}
|
|
663
668
|
class OriginatingAddress {
|
|
664
|
-
static
|
|
669
|
+
static TYPE_QNAME: string;
|
|
665
670
|
address_map: table.Table<Address, Address>;
|
|
666
671
|
}
|
|
667
672
|
class RotationCapability {
|
|
668
|
-
static
|
|
673
|
+
static TYPE_QNAME: string;
|
|
669
674
|
account: Address;
|
|
670
675
|
}
|
|
671
676
|
class RotationCapabilityOfferProofChallenge {
|
|
672
|
-
static
|
|
677
|
+
static TYPE_QNAME: string;
|
|
673
678
|
sequence_number: bigint;
|
|
674
679
|
recipient_address: Address;
|
|
675
680
|
}
|
|
676
681
|
class RotationProofChallenge {
|
|
677
|
-
static
|
|
682
|
+
static TYPE_QNAME: string;
|
|
678
683
|
sequence_number: bigint;
|
|
679
684
|
originator: Address;
|
|
680
685
|
current_auth_key: Address;
|
|
681
686
|
new_public_key: string;
|
|
682
687
|
}
|
|
683
688
|
class SignerCapability {
|
|
684
|
-
static
|
|
689
|
+
static TYPE_QNAME: string;
|
|
685
690
|
account: Address;
|
|
686
691
|
}
|
|
687
692
|
class SignerCapabilityOfferProofChallenge {
|
|
688
|
-
static
|
|
693
|
+
static TYPE_QNAME: string;
|
|
689
694
|
sequence_number: bigint;
|
|
690
695
|
recipient_address: Address;
|
|
691
696
|
}
|
|
692
697
|
class SignerCapabilityOfferProofChallengeV2 {
|
|
693
|
-
static
|
|
698
|
+
static TYPE_QNAME: string;
|
|
694
699
|
sequence_number: bigint;
|
|
695
700
|
source_address: Address;
|
|
696
701
|
recipient_address: Address;
|
|
@@ -714,38 +719,38 @@ export declare namespace account {
|
|
|
714
719
|
arguments_typed: [number, string, number, string, string, string];
|
|
715
720
|
type_arguments: [];
|
|
716
721
|
}
|
|
717
|
-
function loadTypes(
|
|
722
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
718
723
|
const ABI: MoveModule;
|
|
719
724
|
}
|
|
720
725
|
export declare namespace ed25519 {
|
|
721
726
|
class Signature {
|
|
722
|
-
static
|
|
727
|
+
static TYPE_QNAME: string;
|
|
723
728
|
bytes: string;
|
|
724
729
|
}
|
|
725
730
|
class SignedMessage<T0> {
|
|
726
|
-
static
|
|
731
|
+
static TYPE_QNAME: string;
|
|
727
732
|
type_info: type_info.TypeInfo;
|
|
728
733
|
inner: T0;
|
|
729
734
|
}
|
|
730
735
|
class UnvalidatedPublicKey {
|
|
731
|
-
static
|
|
736
|
+
static TYPE_QNAME: string;
|
|
732
737
|
bytes: string;
|
|
733
738
|
}
|
|
734
739
|
class ValidatedPublicKey {
|
|
735
|
-
static
|
|
740
|
+
static TYPE_QNAME: string;
|
|
736
741
|
bytes: string;
|
|
737
742
|
}
|
|
738
|
-
function loadTypes(
|
|
743
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
739
744
|
const ABI: MoveModule;
|
|
740
745
|
}
|
|
741
746
|
export declare namespace genesis {
|
|
742
747
|
class AccountMap {
|
|
743
|
-
static
|
|
748
|
+
static TYPE_QNAME: string;
|
|
744
749
|
account_address: Address;
|
|
745
750
|
balance: bigint;
|
|
746
751
|
}
|
|
747
752
|
class EmployeeAccountMap {
|
|
748
|
-
static
|
|
753
|
+
static TYPE_QNAME: string;
|
|
749
754
|
accounts: Address[];
|
|
750
755
|
validator: genesis.ValidatorConfigurationWithCommission;
|
|
751
756
|
vesting_schedule_numerator: bigint[];
|
|
@@ -753,7 +758,7 @@ export declare namespace genesis {
|
|
|
753
758
|
beneficiary_resetter: Address;
|
|
754
759
|
}
|
|
755
760
|
class ValidatorConfiguration {
|
|
756
|
-
static
|
|
761
|
+
static TYPE_QNAME: string;
|
|
757
762
|
owner_address: Address;
|
|
758
763
|
operator_address: Address;
|
|
759
764
|
voter_address: Address;
|
|
@@ -764,16 +769,16 @@ export declare namespace genesis {
|
|
|
764
769
|
full_node_network_addresses: string;
|
|
765
770
|
}
|
|
766
771
|
class ValidatorConfigurationWithCommission {
|
|
767
|
-
static
|
|
772
|
+
static TYPE_QNAME: string;
|
|
768
773
|
validator_config: genesis.ValidatorConfiguration;
|
|
769
774
|
commission_percentage: bigint;
|
|
770
775
|
join_during_genesis: Boolean;
|
|
771
776
|
}
|
|
772
|
-
function loadTypes(
|
|
777
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
773
778
|
const ABI: MoveModule;
|
|
774
779
|
}
|
|
775
780
|
export declare namespace math128 {
|
|
776
|
-
function loadTypes(
|
|
781
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
777
782
|
const ABI: MoveModule;
|
|
778
783
|
}
|
|
779
784
|
export declare class version extends aptos.AptosBaseProcessor {
|
|
@@ -785,18 +790,18 @@ export declare class version extends aptos.AptosBaseProcessor {
|
|
|
785
790
|
}
|
|
786
791
|
export declare namespace version {
|
|
787
792
|
class SetVersionCapability {
|
|
788
|
-
static
|
|
793
|
+
static TYPE_QNAME: string;
|
|
789
794
|
dummy_field: Boolean;
|
|
790
795
|
}
|
|
791
796
|
class Version {
|
|
792
|
-
static
|
|
797
|
+
static TYPE_QNAME: string;
|
|
793
798
|
major: bigint;
|
|
794
799
|
}
|
|
795
800
|
interface SetVersionPayload extends aptos.TypedEntryFunctionPayload<[bigint]> {
|
|
796
801
|
arguments_typed: [bigint];
|
|
797
802
|
type_arguments: [];
|
|
798
803
|
}
|
|
799
|
-
function loadTypes(
|
|
804
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
800
805
|
const ABI: MoveModule;
|
|
801
806
|
}
|
|
802
807
|
export declare class vesting extends aptos.AptosBaseProcessor {
|
|
@@ -816,27 +821,27 @@ export declare class vesting extends aptos.AptosBaseProcessor {
|
|
|
816
821
|
onEntryUpdateOperatorWithSameCommission(func: (call: vesting.UpdateOperatorWithSameCommissionPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
|
|
817
822
|
onEntryUpdateVoter(func: (call: vesting.UpdateVoterPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
|
|
818
823
|
onEntryVest(func: (call: vesting.VestPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): vesting;
|
|
819
|
-
onEventAdminWithdrawEvent(func: (event: vesting.AdminWithdrawEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
|
820
824
|
onEventCreateVestingContractEvent(func: (event: vesting.CreateVestingContractEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
|
821
|
-
|
|
825
|
+
onEventUpdateOperatorEvent(func: (event: vesting.UpdateOperatorEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
|
826
|
+
onEventUpdateVoterEvent(func: (event: vesting.UpdateVoterEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
|
822
827
|
onEventResetLockupEvent(func: (event: vesting.ResetLockupEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
|
823
828
|
onEventSetBeneficiaryEvent(func: (event: vesting.SetBeneficiaryEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
|
824
|
-
onEventTerminateEvent(func: (event: vesting.TerminateEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
|
825
829
|
onEventUnlockRewardsEvent(func: (event: vesting.UnlockRewardsEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
|
826
|
-
onEventUpdateOperatorEvent(func: (event: vesting.UpdateOperatorEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
|
827
|
-
onEventUpdateVoterEvent(func: (event: vesting.UpdateVoterEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
|
828
830
|
onEventVestEvent(func: (event: vesting.VestEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
|
831
|
+
onEventDistributeEvent(func: (event: vesting.DistributeEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
|
832
|
+
onEventTerminateEvent(func: (event: vesting.TerminateEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
|
833
|
+
onEventAdminWithdrawEvent(func: (event: vesting.AdminWithdrawEventInstance, ctx: aptos.AptosContext) => void): vesting;
|
|
829
834
|
loadTypesInternal(registry: aptos.TypeRegistry): void;
|
|
830
835
|
}
|
|
831
836
|
export declare namespace vesting {
|
|
832
837
|
class AdminStore {
|
|
833
|
-
static
|
|
838
|
+
static TYPE_QNAME: string;
|
|
834
839
|
vesting_contracts: Address[];
|
|
835
840
|
nonce: bigint;
|
|
836
841
|
create_events: event.EventHandle<vesting.CreateVestingContractEvent>;
|
|
837
842
|
}
|
|
838
843
|
class AdminWithdrawEvent {
|
|
839
|
-
static
|
|
844
|
+
static TYPE_QNAME: string;
|
|
840
845
|
admin: Address;
|
|
841
846
|
vesting_contract_address: Address;
|
|
842
847
|
amount: bigint;
|
|
@@ -846,7 +851,7 @@ export declare namespace vesting {
|
|
|
846
851
|
type_arguments: [];
|
|
847
852
|
}
|
|
848
853
|
class CreateVestingContractEvent {
|
|
849
|
-
static
|
|
854
|
+
static TYPE_QNAME: string;
|
|
850
855
|
operator: Address;
|
|
851
856
|
voter: Address;
|
|
852
857
|
grant_amount: bigint;
|
|
@@ -860,7 +865,7 @@ export declare namespace vesting {
|
|
|
860
865
|
type_arguments: [];
|
|
861
866
|
}
|
|
862
867
|
class DistributeEvent {
|
|
863
|
-
static
|
|
868
|
+
static TYPE_QNAME: string;
|
|
864
869
|
admin: Address;
|
|
865
870
|
vesting_contract_address: Address;
|
|
866
871
|
amount: bigint;
|
|
@@ -870,7 +875,7 @@ export declare namespace vesting {
|
|
|
870
875
|
type_arguments: [];
|
|
871
876
|
}
|
|
872
877
|
class ResetLockupEvent {
|
|
873
|
-
static
|
|
878
|
+
static TYPE_QNAME: string;
|
|
874
879
|
admin: Address;
|
|
875
880
|
vesting_contract_address: Address;
|
|
876
881
|
staking_pool_address: Address;
|
|
@@ -881,7 +886,7 @@ export declare namespace vesting {
|
|
|
881
886
|
type_arguments: [];
|
|
882
887
|
}
|
|
883
888
|
class SetBeneficiaryEvent {
|
|
884
|
-
static
|
|
889
|
+
static TYPE_QNAME: string;
|
|
885
890
|
admin: Address;
|
|
886
891
|
vesting_contract_address: Address;
|
|
887
892
|
shareholder: Address;
|
|
@@ -893,14 +898,14 @@ export declare namespace vesting {
|
|
|
893
898
|
type_arguments: [];
|
|
894
899
|
}
|
|
895
900
|
class StakingInfo {
|
|
896
|
-
static
|
|
901
|
+
static TYPE_QNAME: string;
|
|
897
902
|
pool_address: Address;
|
|
898
903
|
operator: Address;
|
|
899
904
|
voter: Address;
|
|
900
905
|
commission_percentage: bigint;
|
|
901
906
|
}
|
|
902
907
|
class TerminateEvent {
|
|
903
|
-
static
|
|
908
|
+
static TYPE_QNAME: string;
|
|
904
909
|
admin: Address;
|
|
905
910
|
vesting_contract_address: Address;
|
|
906
911
|
}
|
|
@@ -909,7 +914,7 @@ export declare namespace vesting {
|
|
|
909
914
|
type_arguments: [];
|
|
910
915
|
}
|
|
911
916
|
class UnlockRewardsEvent {
|
|
912
|
-
static
|
|
917
|
+
static TYPE_QNAME: string;
|
|
913
918
|
admin: Address;
|
|
914
919
|
vesting_contract_address: Address;
|
|
915
920
|
staking_pool_address: Address;
|
|
@@ -920,7 +925,7 @@ export declare namespace vesting {
|
|
|
920
925
|
type_arguments: [];
|
|
921
926
|
}
|
|
922
927
|
class UpdateOperatorEvent {
|
|
923
|
-
static
|
|
928
|
+
static TYPE_QNAME: string;
|
|
924
929
|
admin: Address;
|
|
925
930
|
vesting_contract_address: Address;
|
|
926
931
|
staking_pool_address: Address;
|
|
@@ -933,7 +938,7 @@ export declare namespace vesting {
|
|
|
933
938
|
type_arguments: [];
|
|
934
939
|
}
|
|
935
940
|
class UpdateVoterEvent {
|
|
936
|
-
static
|
|
941
|
+
static TYPE_QNAME: string;
|
|
937
942
|
admin: Address;
|
|
938
943
|
vesting_contract_address: Address;
|
|
939
944
|
staking_pool_address: Address;
|
|
@@ -945,7 +950,7 @@ export declare namespace vesting {
|
|
|
945
950
|
type_arguments: [];
|
|
946
951
|
}
|
|
947
952
|
class VestEvent {
|
|
948
|
-
static
|
|
953
|
+
static TYPE_QNAME: string;
|
|
949
954
|
admin: Address;
|
|
950
955
|
vesting_contract_address: Address;
|
|
951
956
|
staking_pool_address: Address;
|
|
@@ -957,11 +962,11 @@ export declare namespace vesting {
|
|
|
957
962
|
type_arguments: [];
|
|
958
963
|
}
|
|
959
964
|
class VestingAccountManagement {
|
|
960
|
-
static
|
|
965
|
+
static TYPE_QNAME: string;
|
|
961
966
|
roles: simple_map.SimpleMap<string, Address>;
|
|
962
967
|
}
|
|
963
968
|
class VestingContract {
|
|
964
|
-
static
|
|
969
|
+
static TYPE_QNAME: string;
|
|
965
970
|
state: bigint;
|
|
966
971
|
admin: Address;
|
|
967
972
|
grant_pool: pool_u64.Pool;
|
|
@@ -982,7 +987,7 @@ export declare namespace vesting {
|
|
|
982
987
|
admin_withdraw_events: event.EventHandle<vesting.AdminWithdrawEvent>;
|
|
983
988
|
}
|
|
984
989
|
class VestingSchedule {
|
|
985
|
-
static
|
|
990
|
+
static TYPE_QNAME: string;
|
|
986
991
|
schedule: fixed_point32.FixedPoint32[];
|
|
987
992
|
start_timestamp_secs: bigint;
|
|
988
993
|
period_duration: bigint;
|
|
@@ -1040,60 +1045,60 @@ export declare namespace vesting {
|
|
|
1040
1045
|
arguments_typed: [];
|
|
1041
1046
|
type_arguments: [];
|
|
1042
1047
|
}
|
|
1043
|
-
function loadTypes(
|
|
1048
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1044
1049
|
const ABI: MoveModule;
|
|
1045
1050
|
}
|
|
1046
1051
|
export declare namespace bls12381 {
|
|
1047
1052
|
class AggrOrMultiSignature {
|
|
1048
|
-
static
|
|
1053
|
+
static TYPE_QNAME: string;
|
|
1049
1054
|
bytes: string;
|
|
1050
1055
|
}
|
|
1051
1056
|
class AggrPublicKeysWithPoP {
|
|
1052
|
-
static
|
|
1057
|
+
static TYPE_QNAME: string;
|
|
1053
1058
|
bytes: string;
|
|
1054
1059
|
}
|
|
1055
1060
|
class ProofOfPossession {
|
|
1056
|
-
static
|
|
1061
|
+
static TYPE_QNAME: string;
|
|
1057
1062
|
bytes: string;
|
|
1058
1063
|
}
|
|
1059
1064
|
class PublicKey {
|
|
1060
|
-
static
|
|
1065
|
+
static TYPE_QNAME: string;
|
|
1061
1066
|
bytes: string;
|
|
1062
1067
|
}
|
|
1063
1068
|
class PublicKeyWithPoP {
|
|
1064
|
-
static
|
|
1069
|
+
static TYPE_QNAME: string;
|
|
1065
1070
|
bytes: string;
|
|
1066
1071
|
}
|
|
1067
1072
|
class Signature {
|
|
1068
|
-
static
|
|
1073
|
+
static TYPE_QNAME: string;
|
|
1069
1074
|
bytes: string;
|
|
1070
1075
|
}
|
|
1071
|
-
function loadTypes(
|
|
1076
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1072
1077
|
const ABI: MoveModule;
|
|
1073
1078
|
}
|
|
1074
1079
|
export declare namespace chain_id {
|
|
1075
1080
|
class ChainId {
|
|
1076
|
-
static
|
|
1081
|
+
static TYPE_QNAME: string;
|
|
1077
1082
|
id: number;
|
|
1078
1083
|
}
|
|
1079
|
-
function loadTypes(
|
|
1084
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1080
1085
|
const ABI: MoveModule;
|
|
1081
1086
|
}
|
|
1082
1087
|
export declare namespace features {
|
|
1083
1088
|
class Features {
|
|
1084
|
-
static
|
|
1089
|
+
static TYPE_QNAME: string;
|
|
1085
1090
|
features: string;
|
|
1086
1091
|
}
|
|
1087
|
-
function loadTypes(
|
|
1092
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1088
1093
|
const ABI: MoveModule;
|
|
1089
1094
|
}
|
|
1090
1095
|
export declare namespace from_bcs {
|
|
1091
|
-
function loadTypes(
|
|
1096
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1092
1097
|
const ABI: MoveModule;
|
|
1093
1098
|
}
|
|
1094
1099
|
export declare namespace pool_u64 {
|
|
1095
1100
|
class Pool {
|
|
1096
|
-
static
|
|
1101
|
+
static TYPE_QNAME: string;
|
|
1097
1102
|
shareholders_limit: bigint;
|
|
1098
1103
|
total_coins: bigint;
|
|
1099
1104
|
total_shares: bigint;
|
|
@@ -1101,47 +1106,47 @@ export declare namespace pool_u64 {
|
|
|
1101
1106
|
shareholders: Address[];
|
|
1102
1107
|
scaling_factor: bigint;
|
|
1103
1108
|
}
|
|
1104
|
-
function loadTypes(
|
|
1109
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1105
1110
|
const ABI: MoveModule;
|
|
1106
1111
|
}
|
|
1107
1112
|
export declare namespace secp256k1 {
|
|
1108
1113
|
class ECDSARawPublicKey {
|
|
1109
|
-
static
|
|
1114
|
+
static TYPE_QNAME: string;
|
|
1110
1115
|
bytes: string;
|
|
1111
1116
|
}
|
|
1112
1117
|
class ECDSASignature {
|
|
1113
|
-
static
|
|
1118
|
+
static TYPE_QNAME: string;
|
|
1114
1119
|
bytes: string;
|
|
1115
1120
|
}
|
|
1116
|
-
function loadTypes(
|
|
1121
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1117
1122
|
const ABI: MoveModule;
|
|
1118
1123
|
}
|
|
1119
1124
|
export declare namespace timestamp {
|
|
1120
1125
|
class CurrentTimeMicroseconds {
|
|
1121
|
-
static
|
|
1126
|
+
static TYPE_QNAME: string;
|
|
1122
1127
|
microseconds: bigint;
|
|
1123
1128
|
}
|
|
1124
|
-
function loadTypes(
|
|
1129
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1125
1130
|
const ABI: MoveModule;
|
|
1126
1131
|
}
|
|
1127
1132
|
export declare namespace type_info {
|
|
1128
1133
|
class TypeInfo {
|
|
1129
|
-
static
|
|
1134
|
+
static TYPE_QNAME: string;
|
|
1130
1135
|
account_address: Address;
|
|
1131
1136
|
module_name: string;
|
|
1132
1137
|
struct_name: string;
|
|
1133
1138
|
}
|
|
1134
|
-
function loadTypes(
|
|
1139
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1135
1140
|
const ABI: MoveModule;
|
|
1136
1141
|
}
|
|
1137
1142
|
export declare namespace aggregator {
|
|
1138
1143
|
class Aggregator {
|
|
1139
|
-
static
|
|
1144
|
+
static TYPE_QNAME: string;
|
|
1140
1145
|
handle: Address;
|
|
1141
1146
|
key: Address;
|
|
1142
1147
|
limit: bigint;
|
|
1143
1148
|
}
|
|
1144
|
-
function loadTypes(
|
|
1149
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1145
1150
|
const ABI: MoveModule;
|
|
1146
1151
|
}
|
|
1147
1152
|
export declare class aptos_coin extends aptos.AptosBaseProcessor {
|
|
@@ -1155,19 +1160,19 @@ export declare class aptos_coin extends aptos.AptosBaseProcessor {
|
|
|
1155
1160
|
}
|
|
1156
1161
|
export declare namespace aptos_coin {
|
|
1157
1162
|
class AptosCoin {
|
|
1158
|
-
static
|
|
1163
|
+
static TYPE_QNAME: string;
|
|
1159
1164
|
dummy_field: Boolean;
|
|
1160
1165
|
}
|
|
1161
1166
|
class DelegatedMintCapability {
|
|
1162
|
-
static
|
|
1167
|
+
static TYPE_QNAME: string;
|
|
1163
1168
|
to: Address;
|
|
1164
1169
|
}
|
|
1165
1170
|
class Delegations {
|
|
1166
|
-
static
|
|
1171
|
+
static TYPE_QNAME: string;
|
|
1167
1172
|
inner: aptos_coin.DelegatedMintCapability[];
|
|
1168
1173
|
}
|
|
1169
1174
|
class MintCapStore {
|
|
1170
|
-
static
|
|
1175
|
+
static TYPE_QNAME: string;
|
|
1171
1176
|
mint_cap: coin.MintCapability<aptos_coin.AptosCoin>;
|
|
1172
1177
|
}
|
|
1173
1178
|
interface ClaimMintCapabilityPayload extends aptos.TypedEntryFunctionPayload<[]> {
|
|
@@ -1182,77 +1187,77 @@ export declare namespace aptos_coin {
|
|
|
1182
1187
|
arguments_typed: [Address, bigint];
|
|
1183
1188
|
type_arguments: [];
|
|
1184
1189
|
}
|
|
1185
|
-
function loadTypes(
|
|
1190
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1186
1191
|
const ABI: MoveModule;
|
|
1187
1192
|
}
|
|
1188
1193
|
export declare namespace aptos_hash {
|
|
1189
|
-
function loadTypes(
|
|
1194
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1190
1195
|
const ABI: MoveModule;
|
|
1191
1196
|
}
|
|
1192
1197
|
export declare namespace bit_vector {
|
|
1193
1198
|
class BitVector {
|
|
1194
|
-
static
|
|
1199
|
+
static TYPE_QNAME: string;
|
|
1195
1200
|
length: bigint;
|
|
1196
1201
|
bit_field: Boolean[];
|
|
1197
1202
|
}
|
|
1198
|
-
function loadTypes(
|
|
1203
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1199
1204
|
const ABI: MoveModule;
|
|
1200
1205
|
}
|
|
1201
1206
|
export declare namespace capability {
|
|
1202
1207
|
class Cap<T0> {
|
|
1203
|
-
static
|
|
1208
|
+
static TYPE_QNAME: string;
|
|
1204
1209
|
root: Address;
|
|
1205
1210
|
}
|
|
1206
1211
|
class CapDelegateState<T0> {
|
|
1207
|
-
static
|
|
1212
|
+
static TYPE_QNAME: string;
|
|
1208
1213
|
root: Address;
|
|
1209
1214
|
}
|
|
1210
1215
|
class CapState<T0> {
|
|
1211
|
-
static
|
|
1216
|
+
static TYPE_QNAME: string;
|
|
1212
1217
|
delegates: Address[];
|
|
1213
1218
|
}
|
|
1214
1219
|
class LinearCap<T0> {
|
|
1215
|
-
static
|
|
1220
|
+
static TYPE_QNAME: string;
|
|
1216
1221
|
root: Address;
|
|
1217
1222
|
}
|
|
1218
|
-
function loadTypes(
|
|
1223
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1219
1224
|
const ABI: MoveModule;
|
|
1220
1225
|
}
|
|
1221
1226
|
export declare namespace comparator {
|
|
1222
1227
|
class Result {
|
|
1223
|
-
static
|
|
1228
|
+
static TYPE_QNAME: string;
|
|
1224
1229
|
inner: number;
|
|
1225
1230
|
}
|
|
1226
|
-
function loadTypes(
|
|
1231
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1227
1232
|
const ABI: MoveModule;
|
|
1228
1233
|
}
|
|
1229
1234
|
export declare namespace simple_map {
|
|
1230
1235
|
class Element<T0, T1> {
|
|
1231
|
-
static
|
|
1236
|
+
static TYPE_QNAME: string;
|
|
1232
1237
|
key: T0;
|
|
1233
1238
|
value: T1;
|
|
1234
1239
|
}
|
|
1235
1240
|
class SimpleMap<T0, T1> {
|
|
1236
|
-
static
|
|
1241
|
+
static TYPE_QNAME: string;
|
|
1237
1242
|
data: simple_map.Element<T0, T1>[];
|
|
1238
1243
|
}
|
|
1239
|
-
function loadTypes(
|
|
1244
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1240
1245
|
const ABI: MoveModule;
|
|
1241
1246
|
}
|
|
1242
1247
|
export declare namespace storage_gas {
|
|
1243
1248
|
class GasCurve {
|
|
1244
|
-
static
|
|
1249
|
+
static TYPE_QNAME: string;
|
|
1245
1250
|
min_gas: bigint;
|
|
1246
1251
|
max_gas: bigint;
|
|
1247
1252
|
points: storage_gas.Point[];
|
|
1248
1253
|
}
|
|
1249
1254
|
class Point {
|
|
1250
|
-
static
|
|
1255
|
+
static TYPE_QNAME: string;
|
|
1251
1256
|
x: bigint;
|
|
1252
1257
|
y: bigint;
|
|
1253
1258
|
}
|
|
1254
1259
|
class StorageGas {
|
|
1255
|
-
static
|
|
1260
|
+
static TYPE_QNAME: string;
|
|
1256
1261
|
per_item_read: bigint;
|
|
1257
1262
|
per_item_create: bigint;
|
|
1258
1263
|
per_item_write: bigint;
|
|
@@ -1261,53 +1266,53 @@ export declare namespace storage_gas {
|
|
|
1261
1266
|
per_byte_write: bigint;
|
|
1262
1267
|
}
|
|
1263
1268
|
class StorageGasConfig {
|
|
1264
|
-
static
|
|
1269
|
+
static TYPE_QNAME: string;
|
|
1265
1270
|
item_config: storage_gas.UsageGasConfig;
|
|
1266
1271
|
byte_config: storage_gas.UsageGasConfig;
|
|
1267
1272
|
}
|
|
1268
1273
|
class UsageGasConfig {
|
|
1269
|
-
static
|
|
1274
|
+
static TYPE_QNAME: string;
|
|
1270
1275
|
target_usage: bigint;
|
|
1271
1276
|
read_curve: storage_gas.GasCurve;
|
|
1272
1277
|
create_curve: storage_gas.GasCurve;
|
|
1273
1278
|
write_curve: storage_gas.GasCurve;
|
|
1274
1279
|
}
|
|
1275
|
-
function loadTypes(
|
|
1280
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1276
1281
|
const ABI: MoveModule;
|
|
1277
1282
|
}
|
|
1278
1283
|
export declare namespace chain_status {
|
|
1279
1284
|
class GenesisEndMarker {
|
|
1280
|
-
static
|
|
1285
|
+
static TYPE_QNAME: string;
|
|
1281
1286
|
dummy_field: Boolean;
|
|
1282
1287
|
}
|
|
1283
|
-
function loadTypes(
|
|
1288
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1284
1289
|
const ABI: MoveModule;
|
|
1285
1290
|
}
|
|
1286
1291
|
export declare namespace copyable_any {
|
|
1287
1292
|
class Any {
|
|
1288
|
-
static
|
|
1293
|
+
static TYPE_QNAME: string;
|
|
1289
1294
|
type_name: string;
|
|
1290
1295
|
data: string;
|
|
1291
1296
|
}
|
|
1292
|
-
function loadTypes(
|
|
1297
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1293
1298
|
const ABI: MoveModule;
|
|
1294
1299
|
}
|
|
1295
1300
|
export declare namespace gas_schedule {
|
|
1296
1301
|
class GasEntry {
|
|
1297
|
-
static
|
|
1302
|
+
static TYPE_QNAME: string;
|
|
1298
1303
|
key: string;
|
|
1299
1304
|
val: bigint;
|
|
1300
1305
|
}
|
|
1301
1306
|
class GasSchedule {
|
|
1302
|
-
static
|
|
1307
|
+
static TYPE_QNAME: string;
|
|
1303
1308
|
entries: gas_schedule.GasEntry[];
|
|
1304
1309
|
}
|
|
1305
1310
|
class GasScheduleV2 {
|
|
1306
|
-
static
|
|
1311
|
+
static TYPE_QNAME: string;
|
|
1307
1312
|
feature_version: bigint;
|
|
1308
1313
|
entries: gas_schedule.GasEntry[];
|
|
1309
1314
|
}
|
|
1310
|
-
function loadTypes(
|
|
1315
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1311
1316
|
const ABI: MoveModule;
|
|
1312
1317
|
}
|
|
1313
1318
|
export declare class managed_coin extends aptos.AptosBaseProcessor {
|
|
@@ -1322,7 +1327,7 @@ export declare class managed_coin extends aptos.AptosBaseProcessor {
|
|
|
1322
1327
|
}
|
|
1323
1328
|
export declare namespace managed_coin {
|
|
1324
1329
|
class Capabilities<T0> {
|
|
1325
|
-
static
|
|
1330
|
+
static TYPE_QNAME: string;
|
|
1326
1331
|
burn_cap: coin.BurnCapability<T0>;
|
|
1327
1332
|
freeze_cap: coin.FreezeCapability<T0>;
|
|
1328
1333
|
mint_cap: coin.MintCapability<T0>;
|
|
@@ -1343,23 +1348,23 @@ export declare namespace managed_coin {
|
|
|
1343
1348
|
arguments_typed: [];
|
|
1344
1349
|
type_arguments: [string];
|
|
1345
1350
|
}
|
|
1346
|
-
function loadTypes(
|
|
1351
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1347
1352
|
const ABI: MoveModule;
|
|
1348
1353
|
}
|
|
1349
1354
|
export declare namespace ristretto255 {
|
|
1350
1355
|
class CompressedRistretto {
|
|
1351
|
-
static
|
|
1356
|
+
static TYPE_QNAME: string;
|
|
1352
1357
|
data: string;
|
|
1353
1358
|
}
|
|
1354
1359
|
class RistrettoPoint {
|
|
1355
|
-
static
|
|
1360
|
+
static TYPE_QNAME: string;
|
|
1356
1361
|
handle: bigint;
|
|
1357
1362
|
}
|
|
1358
1363
|
class Scalar {
|
|
1359
|
-
static
|
|
1364
|
+
static TYPE_QNAME: string;
|
|
1360
1365
|
data: string;
|
|
1361
1366
|
}
|
|
1362
|
-
function loadTypes(
|
|
1367
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1363
1368
|
const ABI: MoveModule;
|
|
1364
1369
|
}
|
|
1365
1370
|
export declare class aptos_account extends aptos.AptosBaseProcessor {
|
|
@@ -1379,31 +1384,31 @@ export declare namespace aptos_account {
|
|
|
1379
1384
|
arguments_typed: [Address, bigint];
|
|
1380
1385
|
type_arguments: [];
|
|
1381
1386
|
}
|
|
1382
|
-
function loadTypes(
|
|
1387
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1383
1388
|
const ABI: MoveModule;
|
|
1384
1389
|
}
|
|
1385
1390
|
export declare namespace fixed_point32 {
|
|
1386
1391
|
class FixedPoint32 {
|
|
1387
|
-
static
|
|
1392
|
+
static TYPE_QNAME: string;
|
|
1388
1393
|
value: bigint;
|
|
1389
1394
|
}
|
|
1390
|
-
function loadTypes(
|
|
1395
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1391
1396
|
const ABI: MoveModule;
|
|
1392
1397
|
}
|
|
1393
1398
|
export declare namespace multi_ed25519 {
|
|
1394
1399
|
class Signature {
|
|
1395
|
-
static
|
|
1400
|
+
static TYPE_QNAME: string;
|
|
1396
1401
|
bytes: string;
|
|
1397
1402
|
}
|
|
1398
1403
|
class UnvalidatedPublicKey {
|
|
1399
|
-
static
|
|
1404
|
+
static TYPE_QNAME: string;
|
|
1400
1405
|
bytes: string;
|
|
1401
1406
|
}
|
|
1402
1407
|
class ValidatedPublicKey {
|
|
1403
|
-
static
|
|
1408
|
+
static TYPE_QNAME: string;
|
|
1404
1409
|
bytes: string;
|
|
1405
1410
|
}
|
|
1406
|
-
function loadTypes(
|
|
1411
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1407
1412
|
const ABI: MoveModule;
|
|
1408
1413
|
}
|
|
1409
1414
|
export declare class staking_proxy extends aptos.AptosBaseProcessor {
|
|
@@ -1453,30 +1458,30 @@ export declare namespace staking_proxy {
|
|
|
1453
1458
|
arguments_typed: [Address, Address];
|
|
1454
1459
|
type_arguments: [];
|
|
1455
1460
|
}
|
|
1456
|
-
function loadTypes(
|
|
1461
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1457
1462
|
const ABI: MoveModule;
|
|
1458
1463
|
}
|
|
1459
1464
|
export declare namespace state_storage {
|
|
1460
1465
|
class GasParameter {
|
|
1461
|
-
static
|
|
1466
|
+
static TYPE_QNAME: string;
|
|
1462
1467
|
usage: state_storage.Usage;
|
|
1463
1468
|
}
|
|
1464
1469
|
class StateStorageUsage {
|
|
1465
|
-
static
|
|
1470
|
+
static TYPE_QNAME: string;
|
|
1466
1471
|
epoch: bigint;
|
|
1467
1472
|
usage: state_storage.Usage;
|
|
1468
1473
|
}
|
|
1469
1474
|
class Usage {
|
|
1470
|
-
static
|
|
1475
|
+
static TYPE_QNAME: string;
|
|
1471
1476
|
items: bigint;
|
|
1472
1477
|
bytes: bigint;
|
|
1473
1478
|
}
|
|
1474
|
-
function loadTypes(
|
|
1479
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1475
1480
|
const ABI: MoveModule;
|
|
1476
1481
|
}
|
|
1477
1482
|
export declare namespace staking_config {
|
|
1478
1483
|
class StakingConfig {
|
|
1479
|
-
static
|
|
1484
|
+
static TYPE_QNAME: string;
|
|
1480
1485
|
minimum_stake: bigint;
|
|
1481
1486
|
maximum_stake: bigint;
|
|
1482
1487
|
recurring_lockup_duration_secs: bigint;
|
|
@@ -1485,7 +1490,7 @@ export declare namespace staking_config {
|
|
|
1485
1490
|
rewards_rate_denominator: bigint;
|
|
1486
1491
|
voting_power_increase_limit: bigint;
|
|
1487
1492
|
}
|
|
1488
|
-
function loadTypes(
|
|
1493
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1489
1494
|
const ABI: MoveModule;
|
|
1490
1495
|
}
|
|
1491
1496
|
export declare class reconfiguration extends aptos.AptosBaseProcessor {
|
|
@@ -1497,32 +1502,32 @@ export declare class reconfiguration extends aptos.AptosBaseProcessor {
|
|
|
1497
1502
|
}
|
|
1498
1503
|
export declare namespace reconfiguration {
|
|
1499
1504
|
class Configuration {
|
|
1500
|
-
static
|
|
1505
|
+
static TYPE_QNAME: string;
|
|
1501
1506
|
epoch: bigint;
|
|
1502
1507
|
last_reconfiguration_time: bigint;
|
|
1503
1508
|
events: event.EventHandle<reconfiguration.NewEpochEvent>;
|
|
1504
1509
|
}
|
|
1505
1510
|
class DisableReconfiguration {
|
|
1506
|
-
static
|
|
1511
|
+
static TYPE_QNAME: string;
|
|
1507
1512
|
dummy_field: Boolean;
|
|
1508
1513
|
}
|
|
1509
1514
|
class NewEpochEvent {
|
|
1510
|
-
static
|
|
1515
|
+
static TYPE_QNAME: string;
|
|
1511
1516
|
epoch: bigint;
|
|
1512
1517
|
}
|
|
1513
1518
|
interface NewEpochEventInstance extends aptos.TypedEventInstance<NewEpochEvent> {
|
|
1514
1519
|
data_typed: NewEpochEvent;
|
|
1515
1520
|
type_arguments: [];
|
|
1516
1521
|
}
|
|
1517
|
-
function loadTypes(
|
|
1522
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1518
1523
|
const ABI: MoveModule;
|
|
1519
1524
|
}
|
|
1520
1525
|
export declare namespace transaction_fee {
|
|
1521
1526
|
class AptosCoinCapabilities {
|
|
1522
|
-
static
|
|
1527
|
+
static TYPE_QNAME: string;
|
|
1523
1528
|
burn_cap: coin.BurnCapability<aptos_coin.AptosCoin>;
|
|
1524
1529
|
}
|
|
1525
|
-
function loadTypes(
|
|
1530
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1526
1531
|
const ABI: MoveModule;
|
|
1527
1532
|
}
|
|
1528
1533
|
export declare class aptos_governance extends aptos.AptosBaseProcessor {
|
|
@@ -1539,11 +1544,11 @@ export declare class aptos_governance extends aptos.AptosBaseProcessor {
|
|
|
1539
1544
|
}
|
|
1540
1545
|
export declare namespace aptos_governance {
|
|
1541
1546
|
class ApprovedExecutionHashes {
|
|
1542
|
-
static
|
|
1547
|
+
static TYPE_QNAME: string;
|
|
1543
1548
|
hashes: simple_map.SimpleMap<bigint, string>;
|
|
1544
1549
|
}
|
|
1545
1550
|
class CreateProposalEvent {
|
|
1546
|
-
static
|
|
1551
|
+
static TYPE_QNAME: string;
|
|
1547
1552
|
proposer: Address;
|
|
1548
1553
|
stake_pool: Address;
|
|
1549
1554
|
proposal_id: bigint;
|
|
@@ -1555,28 +1560,28 @@ export declare namespace aptos_governance {
|
|
|
1555
1560
|
type_arguments: [];
|
|
1556
1561
|
}
|
|
1557
1562
|
class GovernanceConfig {
|
|
1558
|
-
static
|
|
1563
|
+
static TYPE_QNAME: string;
|
|
1559
1564
|
min_voting_threshold: bigint;
|
|
1560
1565
|
required_proposer_stake: bigint;
|
|
1561
1566
|
voting_duration_secs: bigint;
|
|
1562
1567
|
}
|
|
1563
1568
|
class GovernanceEvents {
|
|
1564
|
-
static
|
|
1569
|
+
static TYPE_QNAME: string;
|
|
1565
1570
|
create_proposal_events: event.EventHandle<aptos_governance.CreateProposalEvent>;
|
|
1566
1571
|
update_config_events: event.EventHandle<aptos_governance.UpdateConfigEvent>;
|
|
1567
1572
|
vote_events: event.EventHandle<aptos_governance.VoteEvent>;
|
|
1568
1573
|
}
|
|
1569
1574
|
class GovernanceResponsbility {
|
|
1570
|
-
static
|
|
1575
|
+
static TYPE_QNAME: string;
|
|
1571
1576
|
signer_caps: simple_map.SimpleMap<Address, account.SignerCapability>;
|
|
1572
1577
|
}
|
|
1573
1578
|
class RecordKey {
|
|
1574
|
-
static
|
|
1579
|
+
static TYPE_QNAME: string;
|
|
1575
1580
|
stake_pool: Address;
|
|
1576
1581
|
proposal_id: bigint;
|
|
1577
1582
|
}
|
|
1578
1583
|
class UpdateConfigEvent {
|
|
1579
|
-
static
|
|
1584
|
+
static TYPE_QNAME: string;
|
|
1580
1585
|
min_voting_threshold: bigint;
|
|
1581
1586
|
required_proposer_stake: bigint;
|
|
1582
1587
|
voting_duration_secs: bigint;
|
|
@@ -1586,7 +1591,7 @@ export declare namespace aptos_governance {
|
|
|
1586
1591
|
type_arguments: [];
|
|
1587
1592
|
}
|
|
1588
1593
|
class VoteEvent {
|
|
1589
|
-
static
|
|
1594
|
+
static TYPE_QNAME: string;
|
|
1590
1595
|
proposal_id: bigint;
|
|
1591
1596
|
voter: Address;
|
|
1592
1597
|
stake_pool: Address;
|
|
@@ -1598,7 +1603,7 @@ export declare namespace aptos_governance {
|
|
|
1598
1603
|
type_arguments: [];
|
|
1599
1604
|
}
|
|
1600
1605
|
class VotingRecords {
|
|
1601
|
-
static
|
|
1606
|
+
static TYPE_QNAME: string;
|
|
1602
1607
|
votes: table.Table<aptos_governance.RecordKey, Boolean>;
|
|
1603
1608
|
}
|
|
1604
1609
|
interface AddApprovedScriptHashScriptPayload extends aptos.TypedEntryFunctionPayload<[]> {
|
|
@@ -1613,15 +1618,15 @@ export declare namespace aptos_governance {
|
|
|
1613
1618
|
arguments_typed: [Address, bigint, Boolean];
|
|
1614
1619
|
type_arguments: [];
|
|
1615
1620
|
}
|
|
1616
|
-
function loadTypes(
|
|
1621
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1617
1622
|
const ABI: MoveModule;
|
|
1618
1623
|
}
|
|
1619
1624
|
export declare namespace consensus_config {
|
|
1620
1625
|
class ConsensusConfig {
|
|
1621
|
-
static
|
|
1626
|
+
static TYPE_QNAME: string;
|
|
1622
1627
|
config: string;
|
|
1623
1628
|
}
|
|
1624
|
-
function loadTypes(
|
|
1629
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1625
1630
|
const ABI: MoveModule;
|
|
1626
1631
|
}
|
|
1627
1632
|
export declare class resource_account extends aptos.AptosBaseProcessor {
|
|
@@ -1635,7 +1640,7 @@ export declare class resource_account extends aptos.AptosBaseProcessor {
|
|
|
1635
1640
|
}
|
|
1636
1641
|
export declare namespace resource_account {
|
|
1637
1642
|
class Container {
|
|
1638
|
-
static
|
|
1643
|
+
static TYPE_QNAME: string;
|
|
1639
1644
|
store: simple_map.SimpleMap<Address, account.SignerCapability>;
|
|
1640
1645
|
}
|
|
1641
1646
|
interface CreateResourceAccountPayload extends aptos.TypedEntryFunctionPayload<[string, string]> {
|
|
@@ -1650,7 +1655,7 @@ export declare namespace resource_account {
|
|
|
1650
1655
|
arguments_typed: [string, string, string[]];
|
|
1651
1656
|
type_arguments: [];
|
|
1652
1657
|
}
|
|
1653
|
-
function loadTypes(
|
|
1658
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1654
1659
|
const ABI: MoveModule;
|
|
1655
1660
|
}
|
|
1656
1661
|
export declare class staking_contract extends aptos.AptosBaseProcessor {
|
|
@@ -1667,20 +1672,20 @@ export declare class staking_contract extends aptos.AptosBaseProcessor {
|
|
|
1667
1672
|
onEntryUnlockRewards(func: (call: staking_contract.UnlockRewardsPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_contract;
|
|
1668
1673
|
onEntryUnlockStake(func: (call: staking_contract.UnlockStakePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_contract;
|
|
1669
1674
|
onEntryUpdateVoter(func: (call: staking_contract.UpdateVoterPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): staking_contract;
|
|
1670
|
-
onEventAddDistributionEvent(func: (event: staking_contract.AddDistributionEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
|
1671
|
-
onEventAddStakeEvent(func: (event: staking_contract.AddStakeEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
|
1672
1675
|
onEventCreateStakingContractEvent(func: (event: staking_contract.CreateStakingContractEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
|
1673
|
-
|
|
1674
|
-
onEventRequestCommissionEvent(func: (event: staking_contract.RequestCommissionEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
|
1676
|
+
onEventUpdateVoterEvent(func: (event: staking_contract.UpdateVoterEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
|
1675
1677
|
onEventResetLockupEvent(func: (event: staking_contract.ResetLockupEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
|
1676
|
-
|
|
1678
|
+
onEventAddStakeEvent(func: (event: staking_contract.AddStakeEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
|
1679
|
+
onEventRequestCommissionEvent(func: (event: staking_contract.RequestCommissionEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
|
1677
1680
|
onEventUnlockStakeEvent(func: (event: staking_contract.UnlockStakeEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
|
1678
|
-
|
|
1681
|
+
onEventSwitchOperatorEvent(func: (event: staking_contract.SwitchOperatorEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
|
1682
|
+
onEventAddDistributionEvent(func: (event: staking_contract.AddDistributionEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
|
1683
|
+
onEventDistributeEvent(func: (event: staking_contract.DistributeEventInstance, ctx: aptos.AptosContext) => void): staking_contract;
|
|
1679
1684
|
loadTypesInternal(registry: aptos.TypeRegistry): void;
|
|
1680
1685
|
}
|
|
1681
1686
|
export declare namespace staking_contract {
|
|
1682
1687
|
class AddDistributionEvent {
|
|
1683
|
-
static
|
|
1688
|
+
static TYPE_QNAME: string;
|
|
1684
1689
|
operator: Address;
|
|
1685
1690
|
pool_address: Address;
|
|
1686
1691
|
amount: bigint;
|
|
@@ -1690,7 +1695,7 @@ export declare namespace staking_contract {
|
|
|
1690
1695
|
type_arguments: [];
|
|
1691
1696
|
}
|
|
1692
1697
|
class AddStakeEvent {
|
|
1693
|
-
static
|
|
1698
|
+
static TYPE_QNAME: string;
|
|
1694
1699
|
operator: Address;
|
|
1695
1700
|
pool_address: Address;
|
|
1696
1701
|
amount: bigint;
|
|
@@ -1700,7 +1705,7 @@ export declare namespace staking_contract {
|
|
|
1700
1705
|
type_arguments: [];
|
|
1701
1706
|
}
|
|
1702
1707
|
class CreateStakingContractEvent {
|
|
1703
|
-
static
|
|
1708
|
+
static TYPE_QNAME: string;
|
|
1704
1709
|
operator: Address;
|
|
1705
1710
|
voter: Address;
|
|
1706
1711
|
pool_address: Address;
|
|
@@ -1712,7 +1717,7 @@ export declare namespace staking_contract {
|
|
|
1712
1717
|
type_arguments: [];
|
|
1713
1718
|
}
|
|
1714
1719
|
class DistributeEvent {
|
|
1715
|
-
static
|
|
1720
|
+
static TYPE_QNAME: string;
|
|
1716
1721
|
operator: Address;
|
|
1717
1722
|
pool_address: Address;
|
|
1718
1723
|
recipient: Address;
|
|
@@ -1723,7 +1728,7 @@ export declare namespace staking_contract {
|
|
|
1723
1728
|
type_arguments: [];
|
|
1724
1729
|
}
|
|
1725
1730
|
class RequestCommissionEvent {
|
|
1726
|
-
static
|
|
1731
|
+
static TYPE_QNAME: string;
|
|
1727
1732
|
operator: Address;
|
|
1728
1733
|
pool_address: Address;
|
|
1729
1734
|
accumulated_rewards: bigint;
|
|
@@ -1734,7 +1739,7 @@ export declare namespace staking_contract {
|
|
|
1734
1739
|
type_arguments: [];
|
|
1735
1740
|
}
|
|
1736
1741
|
class ResetLockupEvent {
|
|
1737
|
-
static
|
|
1742
|
+
static TYPE_QNAME: string;
|
|
1738
1743
|
operator: Address;
|
|
1739
1744
|
pool_address: Address;
|
|
1740
1745
|
}
|
|
@@ -1743,7 +1748,7 @@ export declare namespace staking_contract {
|
|
|
1743
1748
|
type_arguments: [];
|
|
1744
1749
|
}
|
|
1745
1750
|
class StakingContract {
|
|
1746
|
-
static
|
|
1751
|
+
static TYPE_QNAME: string;
|
|
1747
1752
|
principal: bigint;
|
|
1748
1753
|
pool_address: Address;
|
|
1749
1754
|
owner_cap: stake.OwnerCapability;
|
|
@@ -1752,7 +1757,7 @@ export declare namespace staking_contract {
|
|
|
1752
1757
|
signer_cap: account.SignerCapability;
|
|
1753
1758
|
}
|
|
1754
1759
|
class Store {
|
|
1755
|
-
static
|
|
1760
|
+
static TYPE_QNAME: string;
|
|
1756
1761
|
staking_contracts: simple_map.SimpleMap<Address, staking_contract.StakingContract>;
|
|
1757
1762
|
create_staking_contract_events: event.EventHandle<staking_contract.CreateStakingContractEvent>;
|
|
1758
1763
|
update_voter_events: event.EventHandle<staking_contract.UpdateVoterEvent>;
|
|
@@ -1765,7 +1770,7 @@ export declare namespace staking_contract {
|
|
|
1765
1770
|
distribute_events: event.EventHandle<staking_contract.DistributeEvent>;
|
|
1766
1771
|
}
|
|
1767
1772
|
class SwitchOperatorEvent {
|
|
1768
|
-
static
|
|
1773
|
+
static TYPE_QNAME: string;
|
|
1769
1774
|
old_operator: Address;
|
|
1770
1775
|
new_operator: Address;
|
|
1771
1776
|
pool_address: Address;
|
|
@@ -1775,7 +1780,7 @@ export declare namespace staking_contract {
|
|
|
1775
1780
|
type_arguments: [];
|
|
1776
1781
|
}
|
|
1777
1782
|
class UnlockStakeEvent {
|
|
1778
|
-
static
|
|
1783
|
+
static TYPE_QNAME: string;
|
|
1779
1784
|
operator: Address;
|
|
1780
1785
|
pool_address: Address;
|
|
1781
1786
|
amount: bigint;
|
|
@@ -1786,7 +1791,7 @@ export declare namespace staking_contract {
|
|
|
1786
1791
|
type_arguments: [];
|
|
1787
1792
|
}
|
|
1788
1793
|
class UpdateVoterEvent {
|
|
1789
|
-
static
|
|
1794
|
+
static TYPE_QNAME: string;
|
|
1790
1795
|
operator: Address;
|
|
1791
1796
|
pool_address: Address;
|
|
1792
1797
|
old_voter: Address;
|
|
@@ -1842,59 +1847,59 @@ export declare namespace staking_contract {
|
|
|
1842
1847
|
arguments_typed: [Address, Address];
|
|
1843
1848
|
type_arguments: [];
|
|
1844
1849
|
}
|
|
1845
|
-
function loadTypes(
|
|
1850
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1846
1851
|
const ABI: MoveModule;
|
|
1847
1852
|
}
|
|
1848
1853
|
export declare namespace system_addresses {
|
|
1849
|
-
function loadTypes(
|
|
1854
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1850
1855
|
const ABI: MoveModule;
|
|
1851
1856
|
}
|
|
1852
1857
|
export declare namespace table_with_length {
|
|
1853
1858
|
class TableWithLength<T0, T1> {
|
|
1854
|
-
static
|
|
1859
|
+
static TYPE_QNAME: string;
|
|
1855
1860
|
inner: table.Table<T0, T1>;
|
|
1856
1861
|
length: bigint;
|
|
1857
1862
|
}
|
|
1858
|
-
function loadTypes(
|
|
1863
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1859
1864
|
const ABI: MoveModule;
|
|
1860
1865
|
}
|
|
1861
1866
|
export declare namespace aggregator_factory {
|
|
1862
1867
|
class AggregatorFactory {
|
|
1863
|
-
static
|
|
1868
|
+
static TYPE_QNAME: string;
|
|
1864
1869
|
phantom_table: table.Table<Address, bigint>;
|
|
1865
1870
|
}
|
|
1866
|
-
function loadTypes(
|
|
1871
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1867
1872
|
const ABI: MoveModule;
|
|
1868
1873
|
}
|
|
1869
1874
|
export declare namespace governance_proposal {
|
|
1870
1875
|
class GovernanceProposal {
|
|
1871
|
-
static
|
|
1876
|
+
static TYPE_QNAME: string;
|
|
1872
1877
|
dummy_field: Boolean;
|
|
1873
1878
|
}
|
|
1874
|
-
function loadTypes(
|
|
1879
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1875
1880
|
const ABI: MoveModule;
|
|
1876
1881
|
}
|
|
1877
1882
|
export declare namespace optional_aggregator {
|
|
1878
1883
|
class Integer {
|
|
1879
|
-
static
|
|
1884
|
+
static TYPE_QNAME: string;
|
|
1880
1885
|
value: bigint;
|
|
1881
1886
|
limit: bigint;
|
|
1882
1887
|
}
|
|
1883
1888
|
class OptionalAggregator {
|
|
1884
|
-
static
|
|
1889
|
+
static TYPE_QNAME: string;
|
|
1885
1890
|
aggregator: option.Option<aggregator.Aggregator>;
|
|
1886
1891
|
integer: option.Option<optional_aggregator.Integer>;
|
|
1887
1892
|
}
|
|
1888
|
-
function loadTypes(
|
|
1893
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1889
1894
|
const ABI: MoveModule;
|
|
1890
1895
|
}
|
|
1891
1896
|
export declare namespace transaction_context {
|
|
1892
|
-
function loadTypes(
|
|
1897
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1893
1898
|
const ABI: MoveModule;
|
|
1894
1899
|
}
|
|
1895
1900
|
export declare namespace transaction_validation {
|
|
1896
1901
|
class TransactionValidation {
|
|
1897
|
-
static
|
|
1902
|
+
static TYPE_QNAME: string;
|
|
1898
1903
|
module_addr: Address;
|
|
1899
1904
|
module_name: string;
|
|
1900
1905
|
script_prologue_name: string;
|
|
@@ -1902,6 +1907,6 @@ export declare namespace transaction_validation {
|
|
|
1902
1907
|
multi_agent_prologue_name: string;
|
|
1903
1908
|
user_epilogue_name: string;
|
|
1904
1909
|
}
|
|
1905
|
-
function loadTypes(
|
|
1910
|
+
function loadTypes(_r: aptos.TypeRegistry): void;
|
|
1906
1911
|
const ABI: MoveModule;
|
|
1907
1912
|
}
|