@sentio/sdk 1.26.1 → 1.26.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/aptos-codegen/codegen.js +1 -0
- package/lib/aptos-codegen/codegen.js.map +1 -1
- package/lib/builtin/aptos/0x1.d.ts +171 -0
- package/lib/builtin/aptos/0x1.js +171 -0
- package/lib/builtin/aptos/0x1.js.map +1 -1
- package/lib/builtin/aptos/0x3.d.ts +31 -0
- package/lib/builtin/aptos/0x3.js +31 -0
- package/lib/builtin/aptos/0x3.js.map +1 -1
- package/lib/tests/types/aptos/souffle.d.ts +14 -0
- package/lib/tests/types/aptos/souffle.js +14 -0
- package/lib/tests/types/aptos/souffle.js.map +1 -1
- package/package.json +1 -1
- package/src/aptos-codegen/codegen.ts +1 -0
- package/src/builtin/aptos/0x1.ts +171 -0
- package/src/builtin/aptos/0x3.ts +31 -0
- package/src/tests/types/aptos/souffle.ts +28 -0
|
@@ -2,6 +2,7 @@ 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 TYPE_NAME: string;
|
|
5
6
|
list: Address[];
|
|
6
7
|
}
|
|
7
8
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -9,6 +10,7 @@ export declare namespace acl {
|
|
|
9
10
|
}
|
|
10
11
|
export declare namespace any {
|
|
11
12
|
class Any {
|
|
13
|
+
static TYPE_NAME: string;
|
|
12
14
|
type_name: string;
|
|
13
15
|
data: string;
|
|
14
16
|
}
|
|
@@ -28,20 +30,24 @@ export declare class code extends aptos.AptosBaseProcessor {
|
|
|
28
30
|
}
|
|
29
31
|
export declare namespace code {
|
|
30
32
|
class AllowedDep {
|
|
33
|
+
static TYPE_NAME: string;
|
|
31
34
|
account: Address;
|
|
32
35
|
module_name: string;
|
|
33
36
|
}
|
|
34
37
|
class ModuleMetadata {
|
|
38
|
+
static TYPE_NAME: string;
|
|
35
39
|
name: string;
|
|
36
40
|
source: string;
|
|
37
41
|
source_map: string;
|
|
38
42
|
extension: option.Option<copyable_any.Any>;
|
|
39
43
|
}
|
|
40
44
|
class PackageDep {
|
|
45
|
+
static TYPE_NAME: string;
|
|
41
46
|
account: Address;
|
|
42
47
|
package_name: string;
|
|
43
48
|
}
|
|
44
49
|
class PackageMetadata {
|
|
50
|
+
static TYPE_NAME: string;
|
|
45
51
|
name: string;
|
|
46
52
|
upgrade_policy: code.UpgradePolicy;
|
|
47
53
|
upgrade_number: bigint;
|
|
@@ -52,9 +58,11 @@ export declare namespace code {
|
|
|
52
58
|
extension: option.Option<copyable_any.Any>;
|
|
53
59
|
}
|
|
54
60
|
class PackageRegistry {
|
|
61
|
+
static TYPE_NAME: string;
|
|
55
62
|
packages: code.PackageMetadata[];
|
|
56
63
|
}
|
|
57
64
|
class UpgradePolicy {
|
|
65
|
+
static TYPE_NAME: string;
|
|
58
66
|
policy: number;
|
|
59
67
|
}
|
|
60
68
|
interface PublishPackageTxnPayload extends aptos.TypedEntryFunctionPayload<[string, string[]]> {
|
|
@@ -78,24 +86,29 @@ export declare class coin extends aptos.AptosBaseProcessor {
|
|
|
78
86
|
}
|
|
79
87
|
export declare namespace coin {
|
|
80
88
|
class BurnCapability<T0> {
|
|
89
|
+
static TYPE_NAME: string;
|
|
81
90
|
dummy_field: Boolean;
|
|
82
91
|
}
|
|
83
92
|
class Coin<T0> {
|
|
93
|
+
static TYPE_NAME: string;
|
|
84
94
|
value: bigint;
|
|
85
95
|
}
|
|
86
96
|
class CoinInfo<T0> {
|
|
97
|
+
static TYPE_NAME: string;
|
|
87
98
|
name: string;
|
|
88
99
|
symbol: string;
|
|
89
100
|
decimals: number;
|
|
90
101
|
supply: option.Option<optional_aggregator.OptionalAggregator>;
|
|
91
102
|
}
|
|
92
103
|
class CoinStore<T0> {
|
|
104
|
+
static TYPE_NAME: string;
|
|
93
105
|
coin: coin.Coin<T0>;
|
|
94
106
|
frozen: Boolean;
|
|
95
107
|
deposit_events: event.EventHandle<coin.DepositEvent>;
|
|
96
108
|
withdraw_events: event.EventHandle<coin.WithdrawEvent>;
|
|
97
109
|
}
|
|
98
110
|
class DepositEvent {
|
|
111
|
+
static TYPE_NAME: string;
|
|
99
112
|
amount: bigint;
|
|
100
113
|
}
|
|
101
114
|
interface DepositEventInstance extends aptos.TypedEventInstance<DepositEvent> {
|
|
@@ -103,15 +116,19 @@ export declare namespace coin {
|
|
|
103
116
|
type_arguments: [];
|
|
104
117
|
}
|
|
105
118
|
class FreezeCapability<T0> {
|
|
119
|
+
static TYPE_NAME: string;
|
|
106
120
|
dummy_field: Boolean;
|
|
107
121
|
}
|
|
108
122
|
class MintCapability<T0> {
|
|
123
|
+
static TYPE_NAME: string;
|
|
109
124
|
dummy_field: Boolean;
|
|
110
125
|
}
|
|
111
126
|
class SupplyConfig {
|
|
127
|
+
static TYPE_NAME: string;
|
|
112
128
|
allow_upgrades: Boolean;
|
|
113
129
|
}
|
|
114
130
|
class WithdrawEvent {
|
|
131
|
+
static TYPE_NAME: string;
|
|
115
132
|
amount: bigint;
|
|
116
133
|
}
|
|
117
134
|
interface WithdrawEventInstance extends aptos.TypedEventInstance<WithdrawEvent> {
|
|
@@ -139,9 +156,11 @@ export declare namespace coin {
|
|
|
139
156
|
}
|
|
140
157
|
export declare namespace guid {
|
|
141
158
|
class GUID {
|
|
159
|
+
static TYPE_NAME: string;
|
|
142
160
|
id: guid.ID;
|
|
143
161
|
}
|
|
144
162
|
class ID {
|
|
163
|
+
static TYPE_NAME: string;
|
|
145
164
|
creation_num: bigint;
|
|
146
165
|
addr: Address;
|
|
147
166
|
}
|
|
@@ -166,12 +185,14 @@ export declare class block extends aptos.AptosBaseProcessor {
|
|
|
166
185
|
}
|
|
167
186
|
export declare namespace block {
|
|
168
187
|
class BlockResource {
|
|
188
|
+
static TYPE_NAME: string;
|
|
169
189
|
height: bigint;
|
|
170
190
|
epoch_interval: bigint;
|
|
171
191
|
new_block_events: event.EventHandle<block.NewBlockEvent>;
|
|
172
192
|
update_epoch_interval_events: event.EventHandle<block.UpdateEpochIntervalEvent>;
|
|
173
193
|
}
|
|
174
194
|
class NewBlockEvent {
|
|
195
|
+
static TYPE_NAME: string;
|
|
175
196
|
hash: Address;
|
|
176
197
|
epoch: bigint;
|
|
177
198
|
round: bigint;
|
|
@@ -186,6 +207,7 @@ export declare namespace block {
|
|
|
186
207
|
type_arguments: [];
|
|
187
208
|
}
|
|
188
209
|
class UpdateEpochIntervalEvent {
|
|
210
|
+
static TYPE_NAME: string;
|
|
189
211
|
old_epoch_interval: bigint;
|
|
190
212
|
new_epoch_interval: bigint;
|
|
191
213
|
}
|
|
@@ -206,6 +228,7 @@ export declare namespace error {
|
|
|
206
228
|
}
|
|
207
229
|
export declare namespace event {
|
|
208
230
|
class EventHandle<T0> {
|
|
231
|
+
static TYPE_NAME: string;
|
|
209
232
|
counter: bigint;
|
|
210
233
|
guid: guid.GUID;
|
|
211
234
|
}
|
|
@@ -245,6 +268,7 @@ export declare class stake extends aptos.AptosBaseProcessor {
|
|
|
245
268
|
}
|
|
246
269
|
export declare namespace stake {
|
|
247
270
|
class AddStakeEvent {
|
|
271
|
+
static TYPE_NAME: string;
|
|
248
272
|
pool_address: Address;
|
|
249
273
|
amount_added: bigint;
|
|
250
274
|
}
|
|
@@ -253,12 +277,15 @@ export declare namespace stake {
|
|
|
253
277
|
type_arguments: [];
|
|
254
278
|
}
|
|
255
279
|
class AllowedValidators {
|
|
280
|
+
static TYPE_NAME: string;
|
|
256
281
|
accounts: Address[];
|
|
257
282
|
}
|
|
258
283
|
class AptosCoinCapabilities {
|
|
284
|
+
static TYPE_NAME: string;
|
|
259
285
|
mint_cap: coin.MintCapability<aptos_coin.AptosCoin>;
|
|
260
286
|
}
|
|
261
287
|
class DistributeRewardsEvent {
|
|
288
|
+
static TYPE_NAME: string;
|
|
262
289
|
pool_address: Address;
|
|
263
290
|
rewards_amount: bigint;
|
|
264
291
|
}
|
|
@@ -267,6 +294,7 @@ export declare namespace stake {
|
|
|
267
294
|
type_arguments: [];
|
|
268
295
|
}
|
|
269
296
|
class IncreaseLockupEvent {
|
|
297
|
+
static TYPE_NAME: string;
|
|
270
298
|
pool_address: Address;
|
|
271
299
|
old_locked_until_secs: bigint;
|
|
272
300
|
new_locked_until_secs: bigint;
|
|
@@ -276,10 +304,12 @@ export declare namespace stake {
|
|
|
276
304
|
type_arguments: [];
|
|
277
305
|
}
|
|
278
306
|
class IndividualValidatorPerformance {
|
|
307
|
+
static TYPE_NAME: string;
|
|
279
308
|
successful_proposals: bigint;
|
|
280
309
|
failed_proposals: bigint;
|
|
281
310
|
}
|
|
282
311
|
class JoinValidatorSetEvent {
|
|
312
|
+
static TYPE_NAME: string;
|
|
283
313
|
pool_address: Address;
|
|
284
314
|
}
|
|
285
315
|
interface JoinValidatorSetEventInstance extends aptos.TypedEventInstance<JoinValidatorSetEvent> {
|
|
@@ -287,6 +317,7 @@ export declare namespace stake {
|
|
|
287
317
|
type_arguments: [];
|
|
288
318
|
}
|
|
289
319
|
class LeaveValidatorSetEvent {
|
|
320
|
+
static TYPE_NAME: string;
|
|
290
321
|
pool_address: Address;
|
|
291
322
|
}
|
|
292
323
|
interface LeaveValidatorSetEventInstance extends aptos.TypedEventInstance<LeaveValidatorSetEvent> {
|
|
@@ -294,9 +325,11 @@ export declare namespace stake {
|
|
|
294
325
|
type_arguments: [];
|
|
295
326
|
}
|
|
296
327
|
class OwnerCapability {
|
|
328
|
+
static TYPE_NAME: string;
|
|
297
329
|
pool_address: Address;
|
|
298
330
|
}
|
|
299
331
|
class ReactivateStakeEvent {
|
|
332
|
+
static TYPE_NAME: string;
|
|
300
333
|
pool_address: Address;
|
|
301
334
|
amount: bigint;
|
|
302
335
|
}
|
|
@@ -305,6 +338,7 @@ export declare namespace stake {
|
|
|
305
338
|
type_arguments: [];
|
|
306
339
|
}
|
|
307
340
|
class RegisterValidatorCandidateEvent {
|
|
341
|
+
static TYPE_NAME: string;
|
|
308
342
|
pool_address: Address;
|
|
309
343
|
}
|
|
310
344
|
interface RegisterValidatorCandidateEventInstance extends aptos.TypedEventInstance<RegisterValidatorCandidateEvent> {
|
|
@@ -312,6 +346,7 @@ export declare namespace stake {
|
|
|
312
346
|
type_arguments: [];
|
|
313
347
|
}
|
|
314
348
|
class RotateConsensusKeyEvent {
|
|
349
|
+
static TYPE_NAME: string;
|
|
315
350
|
pool_address: Address;
|
|
316
351
|
old_consensus_pubkey: string;
|
|
317
352
|
new_consensus_pubkey: string;
|
|
@@ -321,6 +356,7 @@ export declare namespace stake {
|
|
|
321
356
|
type_arguments: [];
|
|
322
357
|
}
|
|
323
358
|
class SetOperatorEvent {
|
|
359
|
+
static TYPE_NAME: string;
|
|
324
360
|
pool_address: Address;
|
|
325
361
|
old_operator: Address;
|
|
326
362
|
new_operator: Address;
|
|
@@ -330,6 +366,7 @@ export declare namespace stake {
|
|
|
330
366
|
type_arguments: [];
|
|
331
367
|
}
|
|
332
368
|
class StakePool {
|
|
369
|
+
static TYPE_NAME: string;
|
|
333
370
|
active: coin.Coin<aptos_coin.AptosCoin>;
|
|
334
371
|
inactive: coin.Coin<aptos_coin.AptosCoin>;
|
|
335
372
|
pending_active: coin.Coin<aptos_coin.AptosCoin>;
|
|
@@ -351,6 +388,7 @@ export declare namespace stake {
|
|
|
351
388
|
leave_validator_set_events: event.EventHandle<stake.LeaveValidatorSetEvent>;
|
|
352
389
|
}
|
|
353
390
|
class UnlockStakeEvent {
|
|
391
|
+
static TYPE_NAME: string;
|
|
354
392
|
pool_address: Address;
|
|
355
393
|
amount_unlocked: bigint;
|
|
356
394
|
}
|
|
@@ -359,6 +397,7 @@ export declare namespace stake {
|
|
|
359
397
|
type_arguments: [];
|
|
360
398
|
}
|
|
361
399
|
class UpdateNetworkAndFullnodeAddressesEvent {
|
|
400
|
+
static TYPE_NAME: string;
|
|
362
401
|
pool_address: Address;
|
|
363
402
|
old_network_addresses: string;
|
|
364
403
|
new_network_addresses: string;
|
|
@@ -370,20 +409,24 @@ export declare namespace stake {
|
|
|
370
409
|
type_arguments: [];
|
|
371
410
|
}
|
|
372
411
|
class ValidatorConfig {
|
|
412
|
+
static TYPE_NAME: string;
|
|
373
413
|
consensus_pubkey: string;
|
|
374
414
|
network_addresses: string;
|
|
375
415
|
fullnode_addresses: string;
|
|
376
416
|
validator_index: bigint;
|
|
377
417
|
}
|
|
378
418
|
class ValidatorInfo {
|
|
419
|
+
static TYPE_NAME: string;
|
|
379
420
|
addr: Address;
|
|
380
421
|
voting_power: bigint;
|
|
381
422
|
config: stake.ValidatorConfig;
|
|
382
423
|
}
|
|
383
424
|
class ValidatorPerformance {
|
|
425
|
+
static TYPE_NAME: string;
|
|
384
426
|
validators: stake.IndividualValidatorPerformance[];
|
|
385
427
|
}
|
|
386
428
|
class ValidatorSet {
|
|
429
|
+
static TYPE_NAME: string;
|
|
387
430
|
consensus_scheme: number;
|
|
388
431
|
active_validators: stake.ValidatorInfo[];
|
|
389
432
|
pending_inactive: stake.ValidatorInfo[];
|
|
@@ -392,6 +435,7 @@ export declare namespace stake {
|
|
|
392
435
|
total_joining_power: bigint;
|
|
393
436
|
}
|
|
394
437
|
class WithdrawStakeEvent {
|
|
438
|
+
static TYPE_NAME: string;
|
|
395
439
|
pool_address: Address;
|
|
396
440
|
amount_withdrawn: bigint;
|
|
397
441
|
}
|
|
@@ -456,9 +500,11 @@ export declare namespace stake {
|
|
|
456
500
|
}
|
|
457
501
|
export declare namespace table {
|
|
458
502
|
class Box<T0> {
|
|
503
|
+
static TYPE_NAME: string;
|
|
459
504
|
val: T0;
|
|
460
505
|
}
|
|
461
506
|
class Table<T0, T1> {
|
|
507
|
+
static TYPE_NAME: string;
|
|
462
508
|
handle: Address;
|
|
463
509
|
}
|
|
464
510
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -470,6 +516,7 @@ export declare namespace math64 {
|
|
|
470
516
|
}
|
|
471
517
|
export declare namespace option {
|
|
472
518
|
class Option<T0> {
|
|
519
|
+
static TYPE_NAME: string;
|
|
473
520
|
vec: T0[] | string;
|
|
474
521
|
}
|
|
475
522
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -481,6 +528,7 @@ export declare namespace signer {
|
|
|
481
528
|
}
|
|
482
529
|
export declare namespace string {
|
|
483
530
|
class String {
|
|
531
|
+
static TYPE_NAME: string;
|
|
484
532
|
bytes: string;
|
|
485
533
|
}
|
|
486
534
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -501,6 +549,7 @@ export declare class voting extends aptos.AptosBaseProcessor {
|
|
|
501
549
|
}
|
|
502
550
|
export declare namespace voting {
|
|
503
551
|
class CreateProposalEvent {
|
|
552
|
+
static TYPE_NAME: string;
|
|
504
553
|
proposal_id: bigint;
|
|
505
554
|
early_resolution_vote_threshold: option.Option<bigint>;
|
|
506
555
|
execution_hash: string;
|
|
@@ -513,6 +562,7 @@ export declare namespace voting {
|
|
|
513
562
|
type_arguments: [];
|
|
514
563
|
}
|
|
515
564
|
class Proposal<T0> {
|
|
565
|
+
static TYPE_NAME: string;
|
|
516
566
|
proposer: Address;
|
|
517
567
|
execution_content: option.Option<T0>;
|
|
518
568
|
metadata: simple_map.SimpleMap<string, string>;
|
|
@@ -527,6 +577,7 @@ export declare namespace voting {
|
|
|
527
577
|
resolution_time_secs: bigint;
|
|
528
578
|
}
|
|
529
579
|
class RegisterForumEvent {
|
|
580
|
+
static TYPE_NAME: string;
|
|
530
581
|
hosting_account: Address;
|
|
531
582
|
proposal_type_info: type_info.TypeInfo;
|
|
532
583
|
}
|
|
@@ -535,12 +586,14 @@ export declare namespace voting {
|
|
|
535
586
|
type_arguments: [];
|
|
536
587
|
}
|
|
537
588
|
class ResolveProposal {
|
|
589
|
+
static TYPE_NAME: string;
|
|
538
590
|
proposal_id: bigint;
|
|
539
591
|
yes_votes: bigint;
|
|
540
592
|
no_votes: bigint;
|
|
541
593
|
resolved_early: Boolean;
|
|
542
594
|
}
|
|
543
595
|
class VoteEvent {
|
|
596
|
+
static TYPE_NAME: string;
|
|
544
597
|
proposal_id: bigint;
|
|
545
598
|
num_votes: bigint;
|
|
546
599
|
}
|
|
@@ -549,12 +602,14 @@ export declare namespace voting {
|
|
|
549
602
|
type_arguments: [];
|
|
550
603
|
}
|
|
551
604
|
class VotingEvents {
|
|
605
|
+
static TYPE_NAME: string;
|
|
552
606
|
create_proposal_events: event.EventHandle<voting.CreateProposalEvent>;
|
|
553
607
|
register_forum_events: event.EventHandle<voting.RegisterForumEvent>;
|
|
554
608
|
resolve_proposal_events: event.EventHandle<voting.ResolveProposal>;
|
|
555
609
|
vote_events: event.EventHandle<voting.VoteEvent>;
|
|
556
610
|
}
|
|
557
611
|
class VotingForum<T0> {
|
|
612
|
+
static TYPE_NAME: string;
|
|
558
613
|
proposals: table.Table<bigint, voting.Proposal<T0>>;
|
|
559
614
|
events: voting.VotingEvents;
|
|
560
615
|
next_proposal_id: bigint;
|
|
@@ -575,6 +630,7 @@ export declare class account extends aptos.AptosBaseProcessor {
|
|
|
575
630
|
}
|
|
576
631
|
export declare namespace account {
|
|
577
632
|
class Account {
|
|
633
|
+
static TYPE_NAME: string;
|
|
578
634
|
authentication_key: string;
|
|
579
635
|
sequence_number: bigint;
|
|
580
636
|
guid_creation_num: bigint;
|
|
@@ -584,9 +640,11 @@ export declare namespace account {
|
|
|
584
640
|
signer_capability_offer: account.CapabilityOffer<account.SignerCapability>;
|
|
585
641
|
}
|
|
586
642
|
class CapabilityOffer<T0> {
|
|
643
|
+
static TYPE_NAME: string;
|
|
587
644
|
for: option.Option<Address>;
|
|
588
645
|
}
|
|
589
646
|
class CoinRegisterEvent {
|
|
647
|
+
static TYPE_NAME: string;
|
|
590
648
|
type_info: type_info.TypeInfo;
|
|
591
649
|
}
|
|
592
650
|
interface CoinRegisterEventInstance extends aptos.TypedEventInstance<CoinRegisterEvent> {
|
|
@@ -594,6 +652,7 @@ export declare namespace account {
|
|
|
594
652
|
type_arguments: [];
|
|
595
653
|
}
|
|
596
654
|
class KeyRotationEvent {
|
|
655
|
+
static TYPE_NAME: string;
|
|
597
656
|
old_authentication_key: string;
|
|
598
657
|
new_authentication_key: string;
|
|
599
658
|
}
|
|
@@ -602,29 +661,36 @@ export declare namespace account {
|
|
|
602
661
|
type_arguments: [];
|
|
603
662
|
}
|
|
604
663
|
class OriginatingAddress {
|
|
664
|
+
static TYPE_NAME: string;
|
|
605
665
|
address_map: table.Table<Address, Address>;
|
|
606
666
|
}
|
|
607
667
|
class RotationCapability {
|
|
668
|
+
static TYPE_NAME: string;
|
|
608
669
|
account: Address;
|
|
609
670
|
}
|
|
610
671
|
class RotationCapabilityOfferProofChallenge {
|
|
672
|
+
static TYPE_NAME: string;
|
|
611
673
|
sequence_number: bigint;
|
|
612
674
|
recipient_address: Address;
|
|
613
675
|
}
|
|
614
676
|
class RotationProofChallenge {
|
|
677
|
+
static TYPE_NAME: string;
|
|
615
678
|
sequence_number: bigint;
|
|
616
679
|
originator: Address;
|
|
617
680
|
current_auth_key: Address;
|
|
618
681
|
new_public_key: string;
|
|
619
682
|
}
|
|
620
683
|
class SignerCapability {
|
|
684
|
+
static TYPE_NAME: string;
|
|
621
685
|
account: Address;
|
|
622
686
|
}
|
|
623
687
|
class SignerCapabilityOfferProofChallenge {
|
|
688
|
+
static TYPE_NAME: string;
|
|
624
689
|
sequence_number: bigint;
|
|
625
690
|
recipient_address: Address;
|
|
626
691
|
}
|
|
627
692
|
class SignerCapabilityOfferProofChallengeV2 {
|
|
693
|
+
static TYPE_NAME: string;
|
|
628
694
|
sequence_number: bigint;
|
|
629
695
|
source_address: Address;
|
|
630
696
|
recipient_address: Address;
|
|
@@ -653,16 +719,20 @@ export declare namespace account {
|
|
|
653
719
|
}
|
|
654
720
|
export declare namespace ed25519 {
|
|
655
721
|
class Signature {
|
|
722
|
+
static TYPE_NAME: string;
|
|
656
723
|
bytes: string;
|
|
657
724
|
}
|
|
658
725
|
class SignedMessage<T0> {
|
|
726
|
+
static TYPE_NAME: string;
|
|
659
727
|
type_info: type_info.TypeInfo;
|
|
660
728
|
inner: T0;
|
|
661
729
|
}
|
|
662
730
|
class UnvalidatedPublicKey {
|
|
731
|
+
static TYPE_NAME: string;
|
|
663
732
|
bytes: string;
|
|
664
733
|
}
|
|
665
734
|
class ValidatedPublicKey {
|
|
735
|
+
static TYPE_NAME: string;
|
|
666
736
|
bytes: string;
|
|
667
737
|
}
|
|
668
738
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -670,10 +740,12 @@ export declare namespace ed25519 {
|
|
|
670
740
|
}
|
|
671
741
|
export declare namespace genesis {
|
|
672
742
|
class AccountMap {
|
|
743
|
+
static TYPE_NAME: string;
|
|
673
744
|
account_address: Address;
|
|
674
745
|
balance: bigint;
|
|
675
746
|
}
|
|
676
747
|
class EmployeeAccountMap {
|
|
748
|
+
static TYPE_NAME: string;
|
|
677
749
|
accounts: Address[];
|
|
678
750
|
validator: genesis.ValidatorConfigurationWithCommission;
|
|
679
751
|
vesting_schedule_numerator: bigint[];
|
|
@@ -681,6 +753,7 @@ export declare namespace genesis {
|
|
|
681
753
|
beneficiary_resetter: Address;
|
|
682
754
|
}
|
|
683
755
|
class ValidatorConfiguration {
|
|
756
|
+
static TYPE_NAME: string;
|
|
684
757
|
owner_address: Address;
|
|
685
758
|
operator_address: Address;
|
|
686
759
|
voter_address: Address;
|
|
@@ -691,6 +764,7 @@ export declare namespace genesis {
|
|
|
691
764
|
full_node_network_addresses: string;
|
|
692
765
|
}
|
|
693
766
|
class ValidatorConfigurationWithCommission {
|
|
767
|
+
static TYPE_NAME: string;
|
|
694
768
|
validator_config: genesis.ValidatorConfiguration;
|
|
695
769
|
commission_percentage: bigint;
|
|
696
770
|
join_during_genesis: Boolean;
|
|
@@ -711,9 +785,11 @@ export declare class version extends aptos.AptosBaseProcessor {
|
|
|
711
785
|
}
|
|
712
786
|
export declare namespace version {
|
|
713
787
|
class SetVersionCapability {
|
|
788
|
+
static TYPE_NAME: string;
|
|
714
789
|
dummy_field: Boolean;
|
|
715
790
|
}
|
|
716
791
|
class Version {
|
|
792
|
+
static TYPE_NAME: string;
|
|
717
793
|
major: bigint;
|
|
718
794
|
}
|
|
719
795
|
interface SetVersionPayload extends aptos.TypedEntryFunctionPayload<[bigint]> {
|
|
@@ -754,11 +830,13 @@ export declare class vesting extends aptos.AptosBaseProcessor {
|
|
|
754
830
|
}
|
|
755
831
|
export declare namespace vesting {
|
|
756
832
|
class AdminStore {
|
|
833
|
+
static TYPE_NAME: string;
|
|
757
834
|
vesting_contracts: Address[];
|
|
758
835
|
nonce: bigint;
|
|
759
836
|
create_events: event.EventHandle<vesting.CreateVestingContractEvent>;
|
|
760
837
|
}
|
|
761
838
|
class AdminWithdrawEvent {
|
|
839
|
+
static TYPE_NAME: string;
|
|
762
840
|
admin: Address;
|
|
763
841
|
vesting_contract_address: Address;
|
|
764
842
|
amount: bigint;
|
|
@@ -768,6 +846,7 @@ export declare namespace vesting {
|
|
|
768
846
|
type_arguments: [];
|
|
769
847
|
}
|
|
770
848
|
class CreateVestingContractEvent {
|
|
849
|
+
static TYPE_NAME: string;
|
|
771
850
|
operator: Address;
|
|
772
851
|
voter: Address;
|
|
773
852
|
grant_amount: bigint;
|
|
@@ -781,6 +860,7 @@ export declare namespace vesting {
|
|
|
781
860
|
type_arguments: [];
|
|
782
861
|
}
|
|
783
862
|
class DistributeEvent {
|
|
863
|
+
static TYPE_NAME: string;
|
|
784
864
|
admin: Address;
|
|
785
865
|
vesting_contract_address: Address;
|
|
786
866
|
amount: bigint;
|
|
@@ -790,6 +870,7 @@ export declare namespace vesting {
|
|
|
790
870
|
type_arguments: [];
|
|
791
871
|
}
|
|
792
872
|
class ResetLockupEvent {
|
|
873
|
+
static TYPE_NAME: string;
|
|
793
874
|
admin: Address;
|
|
794
875
|
vesting_contract_address: Address;
|
|
795
876
|
staking_pool_address: Address;
|
|
@@ -800,6 +881,7 @@ export declare namespace vesting {
|
|
|
800
881
|
type_arguments: [];
|
|
801
882
|
}
|
|
802
883
|
class SetBeneficiaryEvent {
|
|
884
|
+
static TYPE_NAME: string;
|
|
803
885
|
admin: Address;
|
|
804
886
|
vesting_contract_address: Address;
|
|
805
887
|
shareholder: Address;
|
|
@@ -811,12 +893,14 @@ export declare namespace vesting {
|
|
|
811
893
|
type_arguments: [];
|
|
812
894
|
}
|
|
813
895
|
class StakingInfo {
|
|
896
|
+
static TYPE_NAME: string;
|
|
814
897
|
pool_address: Address;
|
|
815
898
|
operator: Address;
|
|
816
899
|
voter: Address;
|
|
817
900
|
commission_percentage: bigint;
|
|
818
901
|
}
|
|
819
902
|
class TerminateEvent {
|
|
903
|
+
static TYPE_NAME: string;
|
|
820
904
|
admin: Address;
|
|
821
905
|
vesting_contract_address: Address;
|
|
822
906
|
}
|
|
@@ -825,6 +909,7 @@ export declare namespace vesting {
|
|
|
825
909
|
type_arguments: [];
|
|
826
910
|
}
|
|
827
911
|
class UnlockRewardsEvent {
|
|
912
|
+
static TYPE_NAME: string;
|
|
828
913
|
admin: Address;
|
|
829
914
|
vesting_contract_address: Address;
|
|
830
915
|
staking_pool_address: Address;
|
|
@@ -835,6 +920,7 @@ export declare namespace vesting {
|
|
|
835
920
|
type_arguments: [];
|
|
836
921
|
}
|
|
837
922
|
class UpdateOperatorEvent {
|
|
923
|
+
static TYPE_NAME: string;
|
|
838
924
|
admin: Address;
|
|
839
925
|
vesting_contract_address: Address;
|
|
840
926
|
staking_pool_address: Address;
|
|
@@ -847,6 +933,7 @@ export declare namespace vesting {
|
|
|
847
933
|
type_arguments: [];
|
|
848
934
|
}
|
|
849
935
|
class UpdateVoterEvent {
|
|
936
|
+
static TYPE_NAME: string;
|
|
850
937
|
admin: Address;
|
|
851
938
|
vesting_contract_address: Address;
|
|
852
939
|
staking_pool_address: Address;
|
|
@@ -858,6 +945,7 @@ export declare namespace vesting {
|
|
|
858
945
|
type_arguments: [];
|
|
859
946
|
}
|
|
860
947
|
class VestEvent {
|
|
948
|
+
static TYPE_NAME: string;
|
|
861
949
|
admin: Address;
|
|
862
950
|
vesting_contract_address: Address;
|
|
863
951
|
staking_pool_address: Address;
|
|
@@ -869,9 +957,11 @@ export declare namespace vesting {
|
|
|
869
957
|
type_arguments: [];
|
|
870
958
|
}
|
|
871
959
|
class VestingAccountManagement {
|
|
960
|
+
static TYPE_NAME: string;
|
|
872
961
|
roles: simple_map.SimpleMap<string, Address>;
|
|
873
962
|
}
|
|
874
963
|
class VestingContract {
|
|
964
|
+
static TYPE_NAME: string;
|
|
875
965
|
state: bigint;
|
|
876
966
|
admin: Address;
|
|
877
967
|
grant_pool: pool_u64.Pool;
|
|
@@ -892,6 +982,7 @@ export declare namespace vesting {
|
|
|
892
982
|
admin_withdraw_events: event.EventHandle<vesting.AdminWithdrawEvent>;
|
|
893
983
|
}
|
|
894
984
|
class VestingSchedule {
|
|
985
|
+
static TYPE_NAME: string;
|
|
895
986
|
schedule: fixed_point32.FixedPoint32[];
|
|
896
987
|
start_timestamp_secs: bigint;
|
|
897
988
|
period_duration: bigint;
|
|
@@ -954,21 +1045,27 @@ export declare namespace vesting {
|
|
|
954
1045
|
}
|
|
955
1046
|
export declare namespace bls12381 {
|
|
956
1047
|
class AggrOrMultiSignature {
|
|
1048
|
+
static TYPE_NAME: string;
|
|
957
1049
|
bytes: string;
|
|
958
1050
|
}
|
|
959
1051
|
class AggrPublicKeysWithPoP {
|
|
1052
|
+
static TYPE_NAME: string;
|
|
960
1053
|
bytes: string;
|
|
961
1054
|
}
|
|
962
1055
|
class ProofOfPossession {
|
|
1056
|
+
static TYPE_NAME: string;
|
|
963
1057
|
bytes: string;
|
|
964
1058
|
}
|
|
965
1059
|
class PublicKey {
|
|
1060
|
+
static TYPE_NAME: string;
|
|
966
1061
|
bytes: string;
|
|
967
1062
|
}
|
|
968
1063
|
class PublicKeyWithPoP {
|
|
1064
|
+
static TYPE_NAME: string;
|
|
969
1065
|
bytes: string;
|
|
970
1066
|
}
|
|
971
1067
|
class Signature {
|
|
1068
|
+
static TYPE_NAME: string;
|
|
972
1069
|
bytes: string;
|
|
973
1070
|
}
|
|
974
1071
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -976,6 +1073,7 @@ export declare namespace bls12381 {
|
|
|
976
1073
|
}
|
|
977
1074
|
export declare namespace chain_id {
|
|
978
1075
|
class ChainId {
|
|
1076
|
+
static TYPE_NAME: string;
|
|
979
1077
|
id: number;
|
|
980
1078
|
}
|
|
981
1079
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -983,6 +1081,7 @@ export declare namespace chain_id {
|
|
|
983
1081
|
}
|
|
984
1082
|
export declare namespace features {
|
|
985
1083
|
class Features {
|
|
1084
|
+
static TYPE_NAME: string;
|
|
986
1085
|
features: string;
|
|
987
1086
|
}
|
|
988
1087
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -994,6 +1093,7 @@ export declare namespace from_bcs {
|
|
|
994
1093
|
}
|
|
995
1094
|
export declare namespace pool_u64 {
|
|
996
1095
|
class Pool {
|
|
1096
|
+
static TYPE_NAME: string;
|
|
997
1097
|
shareholders_limit: bigint;
|
|
998
1098
|
total_coins: bigint;
|
|
999
1099
|
total_shares: bigint;
|
|
@@ -1006,9 +1106,11 @@ export declare namespace pool_u64 {
|
|
|
1006
1106
|
}
|
|
1007
1107
|
export declare namespace secp256k1 {
|
|
1008
1108
|
class ECDSARawPublicKey {
|
|
1109
|
+
static TYPE_NAME: string;
|
|
1009
1110
|
bytes: string;
|
|
1010
1111
|
}
|
|
1011
1112
|
class ECDSASignature {
|
|
1113
|
+
static TYPE_NAME: string;
|
|
1012
1114
|
bytes: string;
|
|
1013
1115
|
}
|
|
1014
1116
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -1016,6 +1118,7 @@ export declare namespace secp256k1 {
|
|
|
1016
1118
|
}
|
|
1017
1119
|
export declare namespace timestamp {
|
|
1018
1120
|
class CurrentTimeMicroseconds {
|
|
1121
|
+
static TYPE_NAME: string;
|
|
1019
1122
|
microseconds: bigint;
|
|
1020
1123
|
}
|
|
1021
1124
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -1023,6 +1126,7 @@ export declare namespace timestamp {
|
|
|
1023
1126
|
}
|
|
1024
1127
|
export declare namespace type_info {
|
|
1025
1128
|
class TypeInfo {
|
|
1129
|
+
static TYPE_NAME: string;
|
|
1026
1130
|
account_address: Address;
|
|
1027
1131
|
module_name: string;
|
|
1028
1132
|
struct_name: string;
|
|
@@ -1032,6 +1136,7 @@ export declare namespace type_info {
|
|
|
1032
1136
|
}
|
|
1033
1137
|
export declare namespace aggregator {
|
|
1034
1138
|
class Aggregator {
|
|
1139
|
+
static TYPE_NAME: string;
|
|
1035
1140
|
handle: Address;
|
|
1036
1141
|
key: Address;
|
|
1037
1142
|
limit: bigint;
|
|
@@ -1050,15 +1155,19 @@ export declare class aptos_coin extends aptos.AptosBaseProcessor {
|
|
|
1050
1155
|
}
|
|
1051
1156
|
export declare namespace aptos_coin {
|
|
1052
1157
|
class AptosCoin {
|
|
1158
|
+
static TYPE_NAME: string;
|
|
1053
1159
|
dummy_field: Boolean;
|
|
1054
1160
|
}
|
|
1055
1161
|
class DelegatedMintCapability {
|
|
1162
|
+
static TYPE_NAME: string;
|
|
1056
1163
|
to: Address;
|
|
1057
1164
|
}
|
|
1058
1165
|
class Delegations {
|
|
1166
|
+
static TYPE_NAME: string;
|
|
1059
1167
|
inner: aptos_coin.DelegatedMintCapability[];
|
|
1060
1168
|
}
|
|
1061
1169
|
class MintCapStore {
|
|
1170
|
+
static TYPE_NAME: string;
|
|
1062
1171
|
mint_cap: coin.MintCapability<aptos_coin.AptosCoin>;
|
|
1063
1172
|
}
|
|
1064
1173
|
interface ClaimMintCapabilityPayload extends aptos.TypedEntryFunctionPayload<[]> {
|
|
@@ -1082,6 +1191,7 @@ export declare namespace aptos_hash {
|
|
|
1082
1191
|
}
|
|
1083
1192
|
export declare namespace bit_vector {
|
|
1084
1193
|
class BitVector {
|
|
1194
|
+
static TYPE_NAME: string;
|
|
1085
1195
|
length: bigint;
|
|
1086
1196
|
bit_field: Boolean[];
|
|
1087
1197
|
}
|
|
@@ -1090,15 +1200,19 @@ export declare namespace bit_vector {
|
|
|
1090
1200
|
}
|
|
1091
1201
|
export declare namespace capability {
|
|
1092
1202
|
class Cap<T0> {
|
|
1203
|
+
static TYPE_NAME: string;
|
|
1093
1204
|
root: Address;
|
|
1094
1205
|
}
|
|
1095
1206
|
class CapDelegateState<T0> {
|
|
1207
|
+
static TYPE_NAME: string;
|
|
1096
1208
|
root: Address;
|
|
1097
1209
|
}
|
|
1098
1210
|
class CapState<T0> {
|
|
1211
|
+
static TYPE_NAME: string;
|
|
1099
1212
|
delegates: Address[];
|
|
1100
1213
|
}
|
|
1101
1214
|
class LinearCap<T0> {
|
|
1215
|
+
static TYPE_NAME: string;
|
|
1102
1216
|
root: Address;
|
|
1103
1217
|
}
|
|
1104
1218
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -1106,6 +1220,7 @@ export declare namespace capability {
|
|
|
1106
1220
|
}
|
|
1107
1221
|
export declare namespace comparator {
|
|
1108
1222
|
class Result {
|
|
1223
|
+
static TYPE_NAME: string;
|
|
1109
1224
|
inner: number;
|
|
1110
1225
|
}
|
|
1111
1226
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -1113,10 +1228,12 @@ export declare namespace comparator {
|
|
|
1113
1228
|
}
|
|
1114
1229
|
export declare namespace simple_map {
|
|
1115
1230
|
class Element<T0, T1> {
|
|
1231
|
+
static TYPE_NAME: string;
|
|
1116
1232
|
key: T0;
|
|
1117
1233
|
value: T1;
|
|
1118
1234
|
}
|
|
1119
1235
|
class SimpleMap<T0, T1> {
|
|
1236
|
+
static TYPE_NAME: string;
|
|
1120
1237
|
data: simple_map.Element<T0, T1>[];
|
|
1121
1238
|
}
|
|
1122
1239
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -1124,15 +1241,18 @@ export declare namespace simple_map {
|
|
|
1124
1241
|
}
|
|
1125
1242
|
export declare namespace storage_gas {
|
|
1126
1243
|
class GasCurve {
|
|
1244
|
+
static TYPE_NAME: string;
|
|
1127
1245
|
min_gas: bigint;
|
|
1128
1246
|
max_gas: bigint;
|
|
1129
1247
|
points: storage_gas.Point[];
|
|
1130
1248
|
}
|
|
1131
1249
|
class Point {
|
|
1250
|
+
static TYPE_NAME: string;
|
|
1132
1251
|
x: bigint;
|
|
1133
1252
|
y: bigint;
|
|
1134
1253
|
}
|
|
1135
1254
|
class StorageGas {
|
|
1255
|
+
static TYPE_NAME: string;
|
|
1136
1256
|
per_item_read: bigint;
|
|
1137
1257
|
per_item_create: bigint;
|
|
1138
1258
|
per_item_write: bigint;
|
|
@@ -1141,10 +1261,12 @@ export declare namespace storage_gas {
|
|
|
1141
1261
|
per_byte_write: bigint;
|
|
1142
1262
|
}
|
|
1143
1263
|
class StorageGasConfig {
|
|
1264
|
+
static TYPE_NAME: string;
|
|
1144
1265
|
item_config: storage_gas.UsageGasConfig;
|
|
1145
1266
|
byte_config: storage_gas.UsageGasConfig;
|
|
1146
1267
|
}
|
|
1147
1268
|
class UsageGasConfig {
|
|
1269
|
+
static TYPE_NAME: string;
|
|
1148
1270
|
target_usage: bigint;
|
|
1149
1271
|
read_curve: storage_gas.GasCurve;
|
|
1150
1272
|
create_curve: storage_gas.GasCurve;
|
|
@@ -1155,6 +1277,7 @@ export declare namespace storage_gas {
|
|
|
1155
1277
|
}
|
|
1156
1278
|
export declare namespace chain_status {
|
|
1157
1279
|
class GenesisEndMarker {
|
|
1280
|
+
static TYPE_NAME: string;
|
|
1158
1281
|
dummy_field: Boolean;
|
|
1159
1282
|
}
|
|
1160
1283
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -1162,6 +1285,7 @@ export declare namespace chain_status {
|
|
|
1162
1285
|
}
|
|
1163
1286
|
export declare namespace copyable_any {
|
|
1164
1287
|
class Any {
|
|
1288
|
+
static TYPE_NAME: string;
|
|
1165
1289
|
type_name: string;
|
|
1166
1290
|
data: string;
|
|
1167
1291
|
}
|
|
@@ -1170,13 +1294,16 @@ export declare namespace copyable_any {
|
|
|
1170
1294
|
}
|
|
1171
1295
|
export declare namespace gas_schedule {
|
|
1172
1296
|
class GasEntry {
|
|
1297
|
+
static TYPE_NAME: string;
|
|
1173
1298
|
key: string;
|
|
1174
1299
|
val: bigint;
|
|
1175
1300
|
}
|
|
1176
1301
|
class GasSchedule {
|
|
1302
|
+
static TYPE_NAME: string;
|
|
1177
1303
|
entries: gas_schedule.GasEntry[];
|
|
1178
1304
|
}
|
|
1179
1305
|
class GasScheduleV2 {
|
|
1306
|
+
static TYPE_NAME: string;
|
|
1180
1307
|
feature_version: bigint;
|
|
1181
1308
|
entries: gas_schedule.GasEntry[];
|
|
1182
1309
|
}
|
|
@@ -1195,6 +1322,7 @@ export declare class managed_coin extends aptos.AptosBaseProcessor {
|
|
|
1195
1322
|
}
|
|
1196
1323
|
export declare namespace managed_coin {
|
|
1197
1324
|
class Capabilities<T0> {
|
|
1325
|
+
static TYPE_NAME: string;
|
|
1198
1326
|
burn_cap: coin.BurnCapability<T0>;
|
|
1199
1327
|
freeze_cap: coin.FreezeCapability<T0>;
|
|
1200
1328
|
mint_cap: coin.MintCapability<T0>;
|
|
@@ -1220,12 +1348,15 @@ export declare namespace managed_coin {
|
|
|
1220
1348
|
}
|
|
1221
1349
|
export declare namespace ristretto255 {
|
|
1222
1350
|
class CompressedRistretto {
|
|
1351
|
+
static TYPE_NAME: string;
|
|
1223
1352
|
data: string;
|
|
1224
1353
|
}
|
|
1225
1354
|
class RistrettoPoint {
|
|
1355
|
+
static TYPE_NAME: string;
|
|
1226
1356
|
handle: bigint;
|
|
1227
1357
|
}
|
|
1228
1358
|
class Scalar {
|
|
1359
|
+
static TYPE_NAME: string;
|
|
1229
1360
|
data: string;
|
|
1230
1361
|
}
|
|
1231
1362
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -1253,6 +1384,7 @@ export declare namespace aptos_account {
|
|
|
1253
1384
|
}
|
|
1254
1385
|
export declare namespace fixed_point32 {
|
|
1255
1386
|
class FixedPoint32 {
|
|
1387
|
+
static TYPE_NAME: string;
|
|
1256
1388
|
value: bigint;
|
|
1257
1389
|
}
|
|
1258
1390
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -1260,12 +1392,15 @@ export declare namespace fixed_point32 {
|
|
|
1260
1392
|
}
|
|
1261
1393
|
export declare namespace multi_ed25519 {
|
|
1262
1394
|
class Signature {
|
|
1395
|
+
static TYPE_NAME: string;
|
|
1263
1396
|
bytes: string;
|
|
1264
1397
|
}
|
|
1265
1398
|
class UnvalidatedPublicKey {
|
|
1399
|
+
static TYPE_NAME: string;
|
|
1266
1400
|
bytes: string;
|
|
1267
1401
|
}
|
|
1268
1402
|
class ValidatedPublicKey {
|
|
1403
|
+
static TYPE_NAME: string;
|
|
1269
1404
|
bytes: string;
|
|
1270
1405
|
}
|
|
1271
1406
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -1323,13 +1458,16 @@ export declare namespace staking_proxy {
|
|
|
1323
1458
|
}
|
|
1324
1459
|
export declare namespace state_storage {
|
|
1325
1460
|
class GasParameter {
|
|
1461
|
+
static TYPE_NAME: string;
|
|
1326
1462
|
usage: state_storage.Usage;
|
|
1327
1463
|
}
|
|
1328
1464
|
class StateStorageUsage {
|
|
1465
|
+
static TYPE_NAME: string;
|
|
1329
1466
|
epoch: bigint;
|
|
1330
1467
|
usage: state_storage.Usage;
|
|
1331
1468
|
}
|
|
1332
1469
|
class Usage {
|
|
1470
|
+
static TYPE_NAME: string;
|
|
1333
1471
|
items: bigint;
|
|
1334
1472
|
bytes: bigint;
|
|
1335
1473
|
}
|
|
@@ -1338,6 +1476,7 @@ export declare namespace state_storage {
|
|
|
1338
1476
|
}
|
|
1339
1477
|
export declare namespace staking_config {
|
|
1340
1478
|
class StakingConfig {
|
|
1479
|
+
static TYPE_NAME: string;
|
|
1341
1480
|
minimum_stake: bigint;
|
|
1342
1481
|
maximum_stake: bigint;
|
|
1343
1482
|
recurring_lockup_duration_secs: bigint;
|
|
@@ -1358,14 +1497,17 @@ export declare class reconfiguration extends aptos.AptosBaseProcessor {
|
|
|
1358
1497
|
}
|
|
1359
1498
|
export declare namespace reconfiguration {
|
|
1360
1499
|
class Configuration {
|
|
1500
|
+
static TYPE_NAME: string;
|
|
1361
1501
|
epoch: bigint;
|
|
1362
1502
|
last_reconfiguration_time: bigint;
|
|
1363
1503
|
events: event.EventHandle<reconfiguration.NewEpochEvent>;
|
|
1364
1504
|
}
|
|
1365
1505
|
class DisableReconfiguration {
|
|
1506
|
+
static TYPE_NAME: string;
|
|
1366
1507
|
dummy_field: Boolean;
|
|
1367
1508
|
}
|
|
1368
1509
|
class NewEpochEvent {
|
|
1510
|
+
static TYPE_NAME: string;
|
|
1369
1511
|
epoch: bigint;
|
|
1370
1512
|
}
|
|
1371
1513
|
interface NewEpochEventInstance extends aptos.TypedEventInstance<NewEpochEvent> {
|
|
@@ -1377,6 +1519,7 @@ export declare namespace reconfiguration {
|
|
|
1377
1519
|
}
|
|
1378
1520
|
export declare namespace transaction_fee {
|
|
1379
1521
|
class AptosCoinCapabilities {
|
|
1522
|
+
static TYPE_NAME: string;
|
|
1380
1523
|
burn_cap: coin.BurnCapability<aptos_coin.AptosCoin>;
|
|
1381
1524
|
}
|
|
1382
1525
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -1396,9 +1539,11 @@ export declare class aptos_governance extends aptos.AptosBaseProcessor {
|
|
|
1396
1539
|
}
|
|
1397
1540
|
export declare namespace aptos_governance {
|
|
1398
1541
|
class ApprovedExecutionHashes {
|
|
1542
|
+
static TYPE_NAME: string;
|
|
1399
1543
|
hashes: simple_map.SimpleMap<bigint, string>;
|
|
1400
1544
|
}
|
|
1401
1545
|
class CreateProposalEvent {
|
|
1546
|
+
static TYPE_NAME: string;
|
|
1402
1547
|
proposer: Address;
|
|
1403
1548
|
stake_pool: Address;
|
|
1404
1549
|
proposal_id: bigint;
|
|
@@ -1410,23 +1555,28 @@ export declare namespace aptos_governance {
|
|
|
1410
1555
|
type_arguments: [];
|
|
1411
1556
|
}
|
|
1412
1557
|
class GovernanceConfig {
|
|
1558
|
+
static TYPE_NAME: string;
|
|
1413
1559
|
min_voting_threshold: bigint;
|
|
1414
1560
|
required_proposer_stake: bigint;
|
|
1415
1561
|
voting_duration_secs: bigint;
|
|
1416
1562
|
}
|
|
1417
1563
|
class GovernanceEvents {
|
|
1564
|
+
static TYPE_NAME: string;
|
|
1418
1565
|
create_proposal_events: event.EventHandle<aptos_governance.CreateProposalEvent>;
|
|
1419
1566
|
update_config_events: event.EventHandle<aptos_governance.UpdateConfigEvent>;
|
|
1420
1567
|
vote_events: event.EventHandle<aptos_governance.VoteEvent>;
|
|
1421
1568
|
}
|
|
1422
1569
|
class GovernanceResponsbility {
|
|
1570
|
+
static TYPE_NAME: string;
|
|
1423
1571
|
signer_caps: simple_map.SimpleMap<Address, account.SignerCapability>;
|
|
1424
1572
|
}
|
|
1425
1573
|
class RecordKey {
|
|
1574
|
+
static TYPE_NAME: string;
|
|
1426
1575
|
stake_pool: Address;
|
|
1427
1576
|
proposal_id: bigint;
|
|
1428
1577
|
}
|
|
1429
1578
|
class UpdateConfigEvent {
|
|
1579
|
+
static TYPE_NAME: string;
|
|
1430
1580
|
min_voting_threshold: bigint;
|
|
1431
1581
|
required_proposer_stake: bigint;
|
|
1432
1582
|
voting_duration_secs: bigint;
|
|
@@ -1436,6 +1586,7 @@ export declare namespace aptos_governance {
|
|
|
1436
1586
|
type_arguments: [];
|
|
1437
1587
|
}
|
|
1438
1588
|
class VoteEvent {
|
|
1589
|
+
static TYPE_NAME: string;
|
|
1439
1590
|
proposal_id: bigint;
|
|
1440
1591
|
voter: Address;
|
|
1441
1592
|
stake_pool: Address;
|
|
@@ -1447,6 +1598,7 @@ export declare namespace aptos_governance {
|
|
|
1447
1598
|
type_arguments: [];
|
|
1448
1599
|
}
|
|
1449
1600
|
class VotingRecords {
|
|
1601
|
+
static TYPE_NAME: string;
|
|
1450
1602
|
votes: table.Table<aptos_governance.RecordKey, Boolean>;
|
|
1451
1603
|
}
|
|
1452
1604
|
interface AddApprovedScriptHashScriptPayload extends aptos.TypedEntryFunctionPayload<[]> {
|
|
@@ -1466,6 +1618,7 @@ export declare namespace aptos_governance {
|
|
|
1466
1618
|
}
|
|
1467
1619
|
export declare namespace consensus_config {
|
|
1468
1620
|
class ConsensusConfig {
|
|
1621
|
+
static TYPE_NAME: string;
|
|
1469
1622
|
config: string;
|
|
1470
1623
|
}
|
|
1471
1624
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -1482,6 +1635,7 @@ export declare class resource_account extends aptos.AptosBaseProcessor {
|
|
|
1482
1635
|
}
|
|
1483
1636
|
export declare namespace resource_account {
|
|
1484
1637
|
class Container {
|
|
1638
|
+
static TYPE_NAME: string;
|
|
1485
1639
|
store: simple_map.SimpleMap<Address, account.SignerCapability>;
|
|
1486
1640
|
}
|
|
1487
1641
|
interface CreateResourceAccountPayload extends aptos.TypedEntryFunctionPayload<[string, string]> {
|
|
@@ -1526,6 +1680,7 @@ export declare class staking_contract extends aptos.AptosBaseProcessor {
|
|
|
1526
1680
|
}
|
|
1527
1681
|
export declare namespace staking_contract {
|
|
1528
1682
|
class AddDistributionEvent {
|
|
1683
|
+
static TYPE_NAME: string;
|
|
1529
1684
|
operator: Address;
|
|
1530
1685
|
pool_address: Address;
|
|
1531
1686
|
amount: bigint;
|
|
@@ -1535,6 +1690,7 @@ export declare namespace staking_contract {
|
|
|
1535
1690
|
type_arguments: [];
|
|
1536
1691
|
}
|
|
1537
1692
|
class AddStakeEvent {
|
|
1693
|
+
static TYPE_NAME: string;
|
|
1538
1694
|
operator: Address;
|
|
1539
1695
|
pool_address: Address;
|
|
1540
1696
|
amount: bigint;
|
|
@@ -1544,6 +1700,7 @@ export declare namespace staking_contract {
|
|
|
1544
1700
|
type_arguments: [];
|
|
1545
1701
|
}
|
|
1546
1702
|
class CreateStakingContractEvent {
|
|
1703
|
+
static TYPE_NAME: string;
|
|
1547
1704
|
operator: Address;
|
|
1548
1705
|
voter: Address;
|
|
1549
1706
|
pool_address: Address;
|
|
@@ -1555,6 +1712,7 @@ export declare namespace staking_contract {
|
|
|
1555
1712
|
type_arguments: [];
|
|
1556
1713
|
}
|
|
1557
1714
|
class DistributeEvent {
|
|
1715
|
+
static TYPE_NAME: string;
|
|
1558
1716
|
operator: Address;
|
|
1559
1717
|
pool_address: Address;
|
|
1560
1718
|
recipient: Address;
|
|
@@ -1565,6 +1723,7 @@ export declare namespace staking_contract {
|
|
|
1565
1723
|
type_arguments: [];
|
|
1566
1724
|
}
|
|
1567
1725
|
class RequestCommissionEvent {
|
|
1726
|
+
static TYPE_NAME: string;
|
|
1568
1727
|
operator: Address;
|
|
1569
1728
|
pool_address: Address;
|
|
1570
1729
|
accumulated_rewards: bigint;
|
|
@@ -1575,6 +1734,7 @@ export declare namespace staking_contract {
|
|
|
1575
1734
|
type_arguments: [];
|
|
1576
1735
|
}
|
|
1577
1736
|
class ResetLockupEvent {
|
|
1737
|
+
static TYPE_NAME: string;
|
|
1578
1738
|
operator: Address;
|
|
1579
1739
|
pool_address: Address;
|
|
1580
1740
|
}
|
|
@@ -1583,6 +1743,7 @@ export declare namespace staking_contract {
|
|
|
1583
1743
|
type_arguments: [];
|
|
1584
1744
|
}
|
|
1585
1745
|
class StakingContract {
|
|
1746
|
+
static TYPE_NAME: string;
|
|
1586
1747
|
principal: bigint;
|
|
1587
1748
|
pool_address: Address;
|
|
1588
1749
|
owner_cap: stake.OwnerCapability;
|
|
@@ -1591,6 +1752,7 @@ export declare namespace staking_contract {
|
|
|
1591
1752
|
signer_cap: account.SignerCapability;
|
|
1592
1753
|
}
|
|
1593
1754
|
class Store {
|
|
1755
|
+
static TYPE_NAME: string;
|
|
1594
1756
|
staking_contracts: simple_map.SimpleMap<Address, staking_contract.StakingContract>;
|
|
1595
1757
|
create_staking_contract_events: event.EventHandle<staking_contract.CreateStakingContractEvent>;
|
|
1596
1758
|
update_voter_events: event.EventHandle<staking_contract.UpdateVoterEvent>;
|
|
@@ -1603,6 +1765,7 @@ export declare namespace staking_contract {
|
|
|
1603
1765
|
distribute_events: event.EventHandle<staking_contract.DistributeEvent>;
|
|
1604
1766
|
}
|
|
1605
1767
|
class SwitchOperatorEvent {
|
|
1768
|
+
static TYPE_NAME: string;
|
|
1606
1769
|
old_operator: Address;
|
|
1607
1770
|
new_operator: Address;
|
|
1608
1771
|
pool_address: Address;
|
|
@@ -1612,6 +1775,7 @@ export declare namespace staking_contract {
|
|
|
1612
1775
|
type_arguments: [];
|
|
1613
1776
|
}
|
|
1614
1777
|
class UnlockStakeEvent {
|
|
1778
|
+
static TYPE_NAME: string;
|
|
1615
1779
|
operator: Address;
|
|
1616
1780
|
pool_address: Address;
|
|
1617
1781
|
amount: bigint;
|
|
@@ -1622,6 +1786,7 @@ export declare namespace staking_contract {
|
|
|
1622
1786
|
type_arguments: [];
|
|
1623
1787
|
}
|
|
1624
1788
|
class UpdateVoterEvent {
|
|
1789
|
+
static TYPE_NAME: string;
|
|
1625
1790
|
operator: Address;
|
|
1626
1791
|
pool_address: Address;
|
|
1627
1792
|
old_voter: Address;
|
|
@@ -1686,6 +1851,7 @@ export declare namespace system_addresses {
|
|
|
1686
1851
|
}
|
|
1687
1852
|
export declare namespace table_with_length {
|
|
1688
1853
|
class TableWithLength<T0, T1> {
|
|
1854
|
+
static TYPE_NAME: string;
|
|
1689
1855
|
inner: table.Table<T0, T1>;
|
|
1690
1856
|
length: bigint;
|
|
1691
1857
|
}
|
|
@@ -1694,6 +1860,7 @@ export declare namespace table_with_length {
|
|
|
1694
1860
|
}
|
|
1695
1861
|
export declare namespace aggregator_factory {
|
|
1696
1862
|
class AggregatorFactory {
|
|
1863
|
+
static TYPE_NAME: string;
|
|
1697
1864
|
phantom_table: table.Table<Address, bigint>;
|
|
1698
1865
|
}
|
|
1699
1866
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -1701,6 +1868,7 @@ export declare namespace aggregator_factory {
|
|
|
1701
1868
|
}
|
|
1702
1869
|
export declare namespace governance_proposal {
|
|
1703
1870
|
class GovernanceProposal {
|
|
1871
|
+
static TYPE_NAME: string;
|
|
1704
1872
|
dummy_field: Boolean;
|
|
1705
1873
|
}
|
|
1706
1874
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
|
@@ -1708,10 +1876,12 @@ export declare namespace governance_proposal {
|
|
|
1708
1876
|
}
|
|
1709
1877
|
export declare namespace optional_aggregator {
|
|
1710
1878
|
class Integer {
|
|
1879
|
+
static TYPE_NAME: string;
|
|
1711
1880
|
value: bigint;
|
|
1712
1881
|
limit: bigint;
|
|
1713
1882
|
}
|
|
1714
1883
|
class OptionalAggregator {
|
|
1884
|
+
static TYPE_NAME: string;
|
|
1715
1885
|
aggregator: option.Option<aggregator.Aggregator>;
|
|
1716
1886
|
integer: option.Option<optional_aggregator.Integer>;
|
|
1717
1887
|
}
|
|
@@ -1724,6 +1894,7 @@ export declare namespace transaction_context {
|
|
|
1724
1894
|
}
|
|
1725
1895
|
export declare namespace transaction_validation {
|
|
1726
1896
|
class TransactionValidation {
|
|
1897
|
+
static TYPE_NAME: string;
|
|
1727
1898
|
module_addr: Address;
|
|
1728
1899
|
module_name: string;
|
|
1729
1900
|
script_prologue_name: string;
|