@sentio/sdk 1.21.2 → 1.21.4
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/aptos/aptos-processor.js +6 -2
- package/lib/aptos/aptos-processor.js.map +1 -1
- package/lib/aptos/types.d.ts +3 -1
- package/lib/aptos/types.js +9 -3
- package/lib/aptos/types.js.map +1 -1
- package/lib/aptos-codegen/codegen.js +27 -24
- package/lib/aptos-codegen/codegen.js.map +1 -1
- package/lib/aptos-codegen/typegen.js.map +1 -1
- package/lib/builtin/aptos/0x1.d.ts +128 -16
- package/lib/builtin/aptos/0x1.js.map +1 -1
- package/lib/builtin/aptos/0x3.d.ts +27 -2
- package/lib/builtin/aptos/0x3.js.map +1 -1
- package/lib/core/context.js +1 -0
- package/lib/core/context.js.map +1 -1
- package/lib/tests/aptos.test.js +1 -1
- package/lib/tests/aptos.test.js.map +1 -1
- package/lib/tests/souffl3.js.map +1 -1
- package/lib/tests/types/aptos/souffle.d.ts +50 -32
- package/lib/tests/types/aptos/souffle.js.map +1 -1
- package/package.json +1 -1
- package/src/aptos/aptos-processor.ts +7 -2
- package/src/aptos/types.ts +12 -3
- package/src/aptos-codegen/codegen.ts +28 -25
- package/src/aptos-codegen/typegen.test.ts +5 -2
- package/src/aptos-codegen/typegen.ts +1 -1
- package/src/builtin/aptos/0x1.ts +136 -34
- package/src/builtin/aptos/0x3.ts +28 -3
- package/src/core/context.ts +1 -0
- package/src/tests/aptos.test.ts +1 -1
- package/src/tests/souffl3.ts +2 -2
- package/src/tests/types/aptos/souffle.ts +66 -51
@@ -59,6 +59,7 @@ export declare namespace code {
|
|
59
59
|
}
|
60
60
|
interface PublishPackageTxnPayload extends aptos.TypedEntryFunctionPayload<[string, string[]]> {
|
61
61
|
arguments_typed: [string, string[]];
|
62
|
+
type_arguments: [];
|
62
63
|
}
|
63
64
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
64
65
|
const ABI: MoveModule;
|
@@ -67,10 +68,10 @@ export declare class coin extends aptos.AptosBaseProcessor {
|
|
67
68
|
constructor(options: aptos.AptosBindOptions);
|
68
69
|
static DEFAULT_OPTIONS: aptos.AptosBindOptions;
|
69
70
|
static bind(options?: Partial<aptos.AptosBindOptions>): coin;
|
70
|
-
onEntryFreezeCoinStore
|
71
|
-
onEntryTransfer
|
72
|
-
onEntryUnfreezeCoinStore
|
73
|
-
onEntryUpgradeSupply
|
71
|
+
onEntryFreezeCoinStore(func: (call: coin.FreezeCoinStorePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): coin;
|
72
|
+
onEntryTransfer(func: (call: coin.TransferPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): coin;
|
73
|
+
onEntryUnfreezeCoinStore(func: (call: coin.UnfreezeCoinStorePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): coin;
|
74
|
+
onEntryUpgradeSupply(func: (call: coin.UpgradeSupplyPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): coin;
|
74
75
|
onEventDepositEvent(func: (event: coin.DepositEventInstance, ctx: aptos.AptosContext) => void): coin;
|
75
76
|
onEventWithdrawEvent(func: (event: coin.WithdrawEventInstance, ctx: aptos.AptosContext) => void): coin;
|
76
77
|
loadTypesInternal(registry: aptos.TypeRegistry): void;
|
@@ -99,6 +100,7 @@ export declare namespace coin {
|
|
99
100
|
}
|
100
101
|
interface DepositEventInstance extends aptos.TypedEventInstance<DepositEvent> {
|
101
102
|
data_typed: DepositEvent;
|
103
|
+
type_arguments: [];
|
102
104
|
}
|
103
105
|
class FreezeCapability<T0> {
|
104
106
|
dummy_field: Boolean;
|
@@ -114,18 +116,23 @@ export declare namespace coin {
|
|
114
116
|
}
|
115
117
|
interface WithdrawEventInstance extends aptos.TypedEventInstance<WithdrawEvent> {
|
116
118
|
data_typed: WithdrawEvent;
|
119
|
+
type_arguments: [];
|
117
120
|
}
|
118
|
-
interface FreezeCoinStorePayload
|
121
|
+
interface FreezeCoinStorePayload extends aptos.TypedEntryFunctionPayload<[Address]> {
|
119
122
|
arguments_typed: [Address];
|
123
|
+
type_arguments: [string];
|
120
124
|
}
|
121
|
-
interface TransferPayload
|
125
|
+
interface TransferPayload extends aptos.TypedEntryFunctionPayload<[Address, bigint]> {
|
122
126
|
arguments_typed: [Address, bigint];
|
127
|
+
type_arguments: [string];
|
123
128
|
}
|
124
|
-
interface UnfreezeCoinStorePayload
|
129
|
+
interface UnfreezeCoinStorePayload extends aptos.TypedEntryFunctionPayload<[Address]> {
|
125
130
|
arguments_typed: [Address];
|
131
|
+
type_arguments: [string];
|
126
132
|
}
|
127
|
-
interface UpgradeSupplyPayload
|
133
|
+
interface UpgradeSupplyPayload extends aptos.TypedEntryFunctionPayload<[]> {
|
128
134
|
arguments_typed: [];
|
135
|
+
type_arguments: [string];
|
129
136
|
}
|
130
137
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
131
138
|
const ABI: MoveModule;
|
@@ -176,6 +183,7 @@ export declare namespace block {
|
|
176
183
|
}
|
177
184
|
interface NewBlockEventInstance extends aptos.TypedEventInstance<NewBlockEvent> {
|
178
185
|
data_typed: NewBlockEvent;
|
186
|
+
type_arguments: [];
|
179
187
|
}
|
180
188
|
class UpdateEpochIntervalEvent {
|
181
189
|
old_epoch_interval: bigint;
|
@@ -183,6 +191,7 @@ export declare namespace block {
|
|
183
191
|
}
|
184
192
|
interface UpdateEpochIntervalEventInstance extends aptos.TypedEventInstance<UpdateEpochIntervalEvent> {
|
185
193
|
data_typed: UpdateEpochIntervalEvent;
|
194
|
+
type_arguments: [];
|
186
195
|
}
|
187
196
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
188
197
|
const ABI: MoveModule;
|
@@ -241,6 +250,7 @@ export declare namespace stake {
|
|
241
250
|
}
|
242
251
|
interface AddStakeEventInstance extends aptos.TypedEventInstance<AddStakeEvent> {
|
243
252
|
data_typed: AddStakeEvent;
|
253
|
+
type_arguments: [];
|
244
254
|
}
|
245
255
|
class AllowedValidators {
|
246
256
|
accounts: Address[];
|
@@ -254,6 +264,7 @@ export declare namespace stake {
|
|
254
264
|
}
|
255
265
|
interface DistributeRewardsEventInstance extends aptos.TypedEventInstance<DistributeRewardsEvent> {
|
256
266
|
data_typed: DistributeRewardsEvent;
|
267
|
+
type_arguments: [];
|
257
268
|
}
|
258
269
|
class IncreaseLockupEvent {
|
259
270
|
pool_address: Address;
|
@@ -262,6 +273,7 @@ export declare namespace stake {
|
|
262
273
|
}
|
263
274
|
interface IncreaseLockupEventInstance extends aptos.TypedEventInstance<IncreaseLockupEvent> {
|
264
275
|
data_typed: IncreaseLockupEvent;
|
276
|
+
type_arguments: [];
|
265
277
|
}
|
266
278
|
class IndividualValidatorPerformance {
|
267
279
|
successful_proposals: bigint;
|
@@ -272,12 +284,14 @@ export declare namespace stake {
|
|
272
284
|
}
|
273
285
|
interface JoinValidatorSetEventInstance extends aptos.TypedEventInstance<JoinValidatorSetEvent> {
|
274
286
|
data_typed: JoinValidatorSetEvent;
|
287
|
+
type_arguments: [];
|
275
288
|
}
|
276
289
|
class LeaveValidatorSetEvent {
|
277
290
|
pool_address: Address;
|
278
291
|
}
|
279
292
|
interface LeaveValidatorSetEventInstance extends aptos.TypedEventInstance<LeaveValidatorSetEvent> {
|
280
293
|
data_typed: LeaveValidatorSetEvent;
|
294
|
+
type_arguments: [];
|
281
295
|
}
|
282
296
|
class OwnerCapability {
|
283
297
|
pool_address: Address;
|
@@ -288,12 +302,14 @@ export declare namespace stake {
|
|
288
302
|
}
|
289
303
|
interface ReactivateStakeEventInstance extends aptos.TypedEventInstance<ReactivateStakeEvent> {
|
290
304
|
data_typed: ReactivateStakeEvent;
|
305
|
+
type_arguments: [];
|
291
306
|
}
|
292
307
|
class RegisterValidatorCandidateEvent {
|
293
308
|
pool_address: Address;
|
294
309
|
}
|
295
310
|
interface RegisterValidatorCandidateEventInstance extends aptos.TypedEventInstance<RegisterValidatorCandidateEvent> {
|
296
311
|
data_typed: RegisterValidatorCandidateEvent;
|
312
|
+
type_arguments: [];
|
297
313
|
}
|
298
314
|
class RotateConsensusKeyEvent {
|
299
315
|
pool_address: Address;
|
@@ -302,6 +318,7 @@ export declare namespace stake {
|
|
302
318
|
}
|
303
319
|
interface RotateConsensusKeyEventInstance extends aptos.TypedEventInstance<RotateConsensusKeyEvent> {
|
304
320
|
data_typed: RotateConsensusKeyEvent;
|
321
|
+
type_arguments: [];
|
305
322
|
}
|
306
323
|
class SetOperatorEvent {
|
307
324
|
pool_address: Address;
|
@@ -310,6 +327,7 @@ export declare namespace stake {
|
|
310
327
|
}
|
311
328
|
interface SetOperatorEventInstance extends aptos.TypedEventInstance<SetOperatorEvent> {
|
312
329
|
data_typed: SetOperatorEvent;
|
330
|
+
type_arguments: [];
|
313
331
|
}
|
314
332
|
class StakePool {
|
315
333
|
active: coin.Coin<aptos_coin.AptosCoin>;
|
@@ -338,6 +356,7 @@ export declare namespace stake {
|
|
338
356
|
}
|
339
357
|
interface UnlockStakeEventInstance extends aptos.TypedEventInstance<UnlockStakeEvent> {
|
340
358
|
data_typed: UnlockStakeEvent;
|
359
|
+
type_arguments: [];
|
341
360
|
}
|
342
361
|
class UpdateNetworkAndFullnodeAddressesEvent {
|
343
362
|
pool_address: Address;
|
@@ -348,6 +367,7 @@ export declare namespace stake {
|
|
348
367
|
}
|
349
368
|
interface UpdateNetworkAndFullnodeAddressesEventInstance extends aptos.TypedEventInstance<UpdateNetworkAndFullnodeAddressesEvent> {
|
350
369
|
data_typed: UpdateNetworkAndFullnodeAddressesEvent;
|
370
|
+
type_arguments: [];
|
351
371
|
}
|
352
372
|
class ValidatorConfig {
|
353
373
|
consensus_pubkey: string;
|
@@ -377,45 +397,59 @@ export declare namespace stake {
|
|
377
397
|
}
|
378
398
|
interface WithdrawStakeEventInstance extends aptos.TypedEventInstance<WithdrawStakeEvent> {
|
379
399
|
data_typed: WithdrawStakeEvent;
|
400
|
+
type_arguments: [];
|
380
401
|
}
|
381
402
|
interface AddStakePayload extends aptos.TypedEntryFunctionPayload<[bigint]> {
|
382
403
|
arguments_typed: [bigint];
|
404
|
+
type_arguments: [];
|
383
405
|
}
|
384
406
|
interface IncreaseLockupPayload extends aptos.TypedEntryFunctionPayload<[]> {
|
385
407
|
arguments_typed: [];
|
408
|
+
type_arguments: [];
|
386
409
|
}
|
387
410
|
interface InitializeStakeOwnerPayload extends aptos.TypedEntryFunctionPayload<[bigint, Address, Address]> {
|
388
411
|
arguments_typed: [bigint, Address, Address];
|
412
|
+
type_arguments: [];
|
389
413
|
}
|
390
414
|
interface InitializeValidatorPayload extends aptos.TypedEntryFunctionPayload<[string, string, string, string]> {
|
391
415
|
arguments_typed: [string, string, string, string];
|
416
|
+
type_arguments: [];
|
392
417
|
}
|
393
418
|
interface JoinValidatorSetPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
|
394
419
|
arguments_typed: [Address];
|
420
|
+
type_arguments: [];
|
395
421
|
}
|
396
422
|
interface LeaveValidatorSetPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
|
397
423
|
arguments_typed: [Address];
|
424
|
+
type_arguments: [];
|
398
425
|
}
|
399
426
|
interface ReactivateStakePayload extends aptos.TypedEntryFunctionPayload<[bigint]> {
|
400
427
|
arguments_typed: [bigint];
|
428
|
+
type_arguments: [];
|
401
429
|
}
|
402
430
|
interface RotateConsensusKeyPayload extends aptos.TypedEntryFunctionPayload<[Address, string, string]> {
|
403
431
|
arguments_typed: [Address, string, string];
|
432
|
+
type_arguments: [];
|
404
433
|
}
|
405
434
|
interface SetDelegatedVoterPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
|
406
435
|
arguments_typed: [Address];
|
436
|
+
type_arguments: [];
|
407
437
|
}
|
408
438
|
interface SetOperatorPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
|
409
439
|
arguments_typed: [Address];
|
440
|
+
type_arguments: [];
|
410
441
|
}
|
411
442
|
interface UnlockPayload extends aptos.TypedEntryFunctionPayload<[bigint]> {
|
412
443
|
arguments_typed: [bigint];
|
444
|
+
type_arguments: [];
|
413
445
|
}
|
414
446
|
interface UpdateNetworkAndFullnodeAddressesPayload extends aptos.TypedEntryFunctionPayload<[Address, string, string]> {
|
415
447
|
arguments_typed: [Address, string, string];
|
448
|
+
type_arguments: [];
|
416
449
|
}
|
417
450
|
interface WithdrawPayload extends aptos.TypedEntryFunctionPayload<[bigint]> {
|
418
451
|
arguments_typed: [bigint];
|
452
|
+
type_arguments: [];
|
419
453
|
}
|
420
454
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
421
455
|
const ABI: MoveModule;
|
@@ -476,6 +510,7 @@ export declare namespace voting {
|
|
476
510
|
}
|
477
511
|
interface CreateProposalEventInstance extends aptos.TypedEventInstance<CreateProposalEvent> {
|
478
512
|
data_typed: CreateProposalEvent;
|
513
|
+
type_arguments: [];
|
479
514
|
}
|
480
515
|
class Proposal<T0> {
|
481
516
|
proposer: Address;
|
@@ -497,6 +532,7 @@ export declare namespace voting {
|
|
497
532
|
}
|
498
533
|
interface RegisterForumEventInstance extends aptos.TypedEventInstance<RegisterForumEvent> {
|
499
534
|
data_typed: RegisterForumEvent;
|
535
|
+
type_arguments: [];
|
500
536
|
}
|
501
537
|
class ResolveProposal {
|
502
538
|
proposal_id: bigint;
|
@@ -510,6 +546,7 @@ export declare namespace voting {
|
|
510
546
|
}
|
511
547
|
interface VoteEventInstance extends aptos.TypedEventInstance<VoteEvent> {
|
512
548
|
data_typed: VoteEvent;
|
549
|
+
type_arguments: [];
|
513
550
|
}
|
514
551
|
class VotingEvents {
|
515
552
|
create_proposal_events: event.EventHandle<voting.CreateProposalEvent>;
|
@@ -554,6 +591,7 @@ export declare namespace account {
|
|
554
591
|
}
|
555
592
|
interface CoinRegisterEventInstance extends aptos.TypedEventInstance<CoinRegisterEvent> {
|
556
593
|
data_typed: CoinRegisterEvent;
|
594
|
+
type_arguments: [];
|
557
595
|
}
|
558
596
|
class KeyRotationEvent {
|
559
597
|
old_authentication_key: string;
|
@@ -561,6 +599,7 @@ export declare namespace account {
|
|
561
599
|
}
|
562
600
|
interface KeyRotationEventInstance extends aptos.TypedEventInstance<KeyRotationEvent> {
|
563
601
|
data_typed: KeyRotationEvent;
|
602
|
+
type_arguments: [];
|
564
603
|
}
|
565
604
|
class OriginatingAddress {
|
566
605
|
address_map: table.Table<Address, Address>;
|
@@ -592,9 +631,11 @@ export declare namespace account {
|
|
592
631
|
}
|
593
632
|
interface OfferSignerCapabilityPayload extends aptos.TypedEntryFunctionPayload<[string, number, string, Address]> {
|
594
633
|
arguments_typed: [string, number, string, Address];
|
634
|
+
type_arguments: [];
|
595
635
|
}
|
596
636
|
interface RevokeSignerCapabilityPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
|
597
637
|
arguments_typed: [Address];
|
638
|
+
type_arguments: [];
|
598
639
|
}
|
599
640
|
interface RotateAuthenticationKeyPayload extends aptos.TypedEntryFunctionPayload<[
|
600
641
|
number,
|
@@ -605,6 +646,7 @@ export declare namespace account {
|
|
605
646
|
string
|
606
647
|
]> {
|
607
648
|
arguments_typed: [number, string, number, string, string, string];
|
649
|
+
type_arguments: [];
|
608
650
|
}
|
609
651
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
610
652
|
const ABI: MoveModule;
|
@@ -676,6 +718,7 @@ export declare namespace version {
|
|
676
718
|
}
|
677
719
|
interface SetVersionPayload extends aptos.TypedEntryFunctionPayload<[bigint]> {
|
678
720
|
arguments_typed: [bigint];
|
721
|
+
type_arguments: [];
|
679
722
|
}
|
680
723
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
681
724
|
const ABI: MoveModule;
|
@@ -722,6 +765,7 @@ export declare namespace vesting {
|
|
722
765
|
}
|
723
766
|
interface AdminWithdrawEventInstance extends aptos.TypedEventInstance<AdminWithdrawEvent> {
|
724
767
|
data_typed: AdminWithdrawEvent;
|
768
|
+
type_arguments: [];
|
725
769
|
}
|
726
770
|
class CreateVestingContractEvent {
|
727
771
|
operator: Address;
|
@@ -734,6 +778,7 @@ export declare namespace vesting {
|
|
734
778
|
}
|
735
779
|
interface CreateVestingContractEventInstance extends aptos.TypedEventInstance<CreateVestingContractEvent> {
|
736
780
|
data_typed: CreateVestingContractEvent;
|
781
|
+
type_arguments: [];
|
737
782
|
}
|
738
783
|
class DistributeEvent {
|
739
784
|
admin: Address;
|
@@ -742,6 +787,7 @@ export declare namespace vesting {
|
|
742
787
|
}
|
743
788
|
interface DistributeEventInstance extends aptos.TypedEventInstance<DistributeEvent> {
|
744
789
|
data_typed: DistributeEvent;
|
790
|
+
type_arguments: [];
|
745
791
|
}
|
746
792
|
class ResetLockupEvent {
|
747
793
|
admin: Address;
|
@@ -751,6 +797,7 @@ export declare namespace vesting {
|
|
751
797
|
}
|
752
798
|
interface ResetLockupEventInstance extends aptos.TypedEventInstance<ResetLockupEvent> {
|
753
799
|
data_typed: ResetLockupEvent;
|
800
|
+
type_arguments: [];
|
754
801
|
}
|
755
802
|
class SetBeneficiaryEvent {
|
756
803
|
admin: Address;
|
@@ -761,6 +808,7 @@ export declare namespace vesting {
|
|
761
808
|
}
|
762
809
|
interface SetBeneficiaryEventInstance extends aptos.TypedEventInstance<SetBeneficiaryEvent> {
|
763
810
|
data_typed: SetBeneficiaryEvent;
|
811
|
+
type_arguments: [];
|
764
812
|
}
|
765
813
|
class StakingInfo {
|
766
814
|
pool_address: Address;
|
@@ -774,6 +822,7 @@ export declare namespace vesting {
|
|
774
822
|
}
|
775
823
|
interface TerminateEventInstance extends aptos.TypedEventInstance<TerminateEvent> {
|
776
824
|
data_typed: TerminateEvent;
|
825
|
+
type_arguments: [];
|
777
826
|
}
|
778
827
|
class UnlockRewardsEvent {
|
779
828
|
admin: Address;
|
@@ -783,6 +832,7 @@ export declare namespace vesting {
|
|
783
832
|
}
|
784
833
|
interface UnlockRewardsEventInstance extends aptos.TypedEventInstance<UnlockRewardsEvent> {
|
785
834
|
data_typed: UnlockRewardsEvent;
|
835
|
+
type_arguments: [];
|
786
836
|
}
|
787
837
|
class UpdateOperatorEvent {
|
788
838
|
admin: Address;
|
@@ -794,6 +844,7 @@ export declare namespace vesting {
|
|
794
844
|
}
|
795
845
|
interface UpdateOperatorEventInstance extends aptos.TypedEventInstance<UpdateOperatorEvent> {
|
796
846
|
data_typed: UpdateOperatorEvent;
|
847
|
+
type_arguments: [];
|
797
848
|
}
|
798
849
|
class UpdateVoterEvent {
|
799
850
|
admin: Address;
|
@@ -804,6 +855,7 @@ export declare namespace vesting {
|
|
804
855
|
}
|
805
856
|
interface UpdateVoterEventInstance extends aptos.TypedEventInstance<UpdateVoterEvent> {
|
806
857
|
data_typed: UpdateVoterEvent;
|
858
|
+
type_arguments: [];
|
807
859
|
}
|
808
860
|
class VestEvent {
|
809
861
|
admin: Address;
|
@@ -814,6 +866,7 @@ export declare namespace vesting {
|
|
814
866
|
}
|
815
867
|
interface VestEventInstance extends aptos.TypedEventInstance<VestEvent> {
|
816
868
|
data_typed: VestEvent;
|
869
|
+
type_arguments: [];
|
817
870
|
}
|
818
871
|
class VestingAccountManagement {
|
819
872
|
roles: simple_map.SimpleMap<string, Address>;
|
@@ -846,42 +899,55 @@ export declare namespace vesting {
|
|
846
899
|
}
|
847
900
|
interface AdminWithdrawPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
|
848
901
|
arguments_typed: [Address];
|
902
|
+
type_arguments: [];
|
849
903
|
}
|
850
904
|
interface DistributePayload extends aptos.TypedEntryFunctionPayload<[]> {
|
851
905
|
arguments_typed: [];
|
906
|
+
type_arguments: [];
|
852
907
|
}
|
853
908
|
interface ResetBeneficiaryPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
|
854
909
|
arguments_typed: [Address, Address];
|
910
|
+
type_arguments: [];
|
855
911
|
}
|
856
912
|
interface ResetLockupPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
|
857
913
|
arguments_typed: [Address];
|
914
|
+
type_arguments: [];
|
858
915
|
}
|
859
916
|
interface SetBeneficiaryPayload extends aptos.TypedEntryFunctionPayload<[Address, Address, Address]> {
|
860
917
|
arguments_typed: [Address, Address, Address];
|
918
|
+
type_arguments: [];
|
861
919
|
}
|
862
920
|
interface SetBeneficiaryResetterPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
|
863
921
|
arguments_typed: [Address, Address];
|
922
|
+
type_arguments: [];
|
864
923
|
}
|
865
924
|
interface SetManagementRolePayload extends aptos.TypedEntryFunctionPayload<[Address, string, Address]> {
|
866
925
|
arguments_typed: [Address, string, Address];
|
926
|
+
type_arguments: [];
|
867
927
|
}
|
868
928
|
interface TerminateVestingContractPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
|
869
929
|
arguments_typed: [Address];
|
930
|
+
type_arguments: [];
|
870
931
|
}
|
871
932
|
interface UnlockRewardsPayload extends aptos.TypedEntryFunctionPayload<[]> {
|
872
933
|
arguments_typed: [];
|
934
|
+
type_arguments: [];
|
873
935
|
}
|
874
936
|
interface UpdateOperatorPayload extends aptos.TypedEntryFunctionPayload<[Address, Address, bigint]> {
|
875
937
|
arguments_typed: [Address, Address, bigint];
|
938
|
+
type_arguments: [];
|
876
939
|
}
|
877
940
|
interface UpdateOperatorWithSameCommissionPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
|
878
941
|
arguments_typed: [Address, Address];
|
942
|
+
type_arguments: [];
|
879
943
|
}
|
880
944
|
interface UpdateVoterPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
|
881
945
|
arguments_typed: [Address, Address];
|
946
|
+
type_arguments: [];
|
882
947
|
}
|
883
948
|
interface VestPayload extends aptos.TypedEntryFunctionPayload<[]> {
|
884
949
|
arguments_typed: [];
|
950
|
+
type_arguments: [];
|
885
951
|
}
|
886
952
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
887
953
|
const ABI: MoveModule;
|
@@ -997,12 +1063,15 @@ export declare namespace aptos_coin {
|
|
997
1063
|
}
|
998
1064
|
interface ClaimMintCapabilityPayload extends aptos.TypedEntryFunctionPayload<[]> {
|
999
1065
|
arguments_typed: [];
|
1066
|
+
type_arguments: [];
|
1000
1067
|
}
|
1001
1068
|
interface DelegateMintCapabilityPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
|
1002
1069
|
arguments_typed: [Address];
|
1070
|
+
type_arguments: [];
|
1003
1071
|
}
|
1004
1072
|
interface MintPayload extends aptos.TypedEntryFunctionPayload<[Address, bigint]> {
|
1005
1073
|
arguments_typed: [Address, bigint];
|
1074
|
+
type_arguments: [];
|
1006
1075
|
}
|
1007
1076
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
1008
1077
|
const ABI: MoveModule;
|
@@ -1118,10 +1187,10 @@ export declare class managed_coin extends aptos.AptosBaseProcessor {
|
|
1118
1187
|
constructor(options: aptos.AptosBindOptions);
|
1119
1188
|
static DEFAULT_OPTIONS: aptos.AptosBindOptions;
|
1120
1189
|
static bind(options?: Partial<aptos.AptosBindOptions>): managed_coin;
|
1121
|
-
onEntryBurn
|
1122
|
-
onEntryInitialize
|
1123
|
-
onEntryMint
|
1124
|
-
onEntryRegister
|
1190
|
+
onEntryBurn(func: (call: managed_coin.BurnPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): managed_coin;
|
1191
|
+
onEntryInitialize(func: (call: managed_coin.InitializePayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): managed_coin;
|
1192
|
+
onEntryMint(func: (call: managed_coin.MintPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): managed_coin;
|
1193
|
+
onEntryRegister(func: (call: managed_coin.RegisterPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): managed_coin;
|
1125
1194
|
loadTypesInternal(registry: aptos.TypeRegistry): void;
|
1126
1195
|
}
|
1127
1196
|
export declare namespace managed_coin {
|
@@ -1130,17 +1199,21 @@ export declare namespace managed_coin {
|
|
1130
1199
|
freeze_cap: coin.FreezeCapability<T0>;
|
1131
1200
|
mint_cap: coin.MintCapability<T0>;
|
1132
1201
|
}
|
1133
|
-
interface BurnPayload
|
1202
|
+
interface BurnPayload extends aptos.TypedEntryFunctionPayload<[bigint]> {
|
1134
1203
|
arguments_typed: [bigint];
|
1204
|
+
type_arguments: [string];
|
1135
1205
|
}
|
1136
|
-
interface InitializePayload
|
1206
|
+
interface InitializePayload extends aptos.TypedEntryFunctionPayload<[string, string, number, Boolean]> {
|
1137
1207
|
arguments_typed: [string, string, number, Boolean];
|
1208
|
+
type_arguments: [string];
|
1138
1209
|
}
|
1139
|
-
interface MintPayload
|
1210
|
+
interface MintPayload extends aptos.TypedEntryFunctionPayload<[Address, bigint]> {
|
1140
1211
|
arguments_typed: [Address, bigint];
|
1212
|
+
type_arguments: [string];
|
1141
1213
|
}
|
1142
|
-
interface RegisterPayload
|
1214
|
+
interface RegisterPayload extends aptos.TypedEntryFunctionPayload<[]> {
|
1143
1215
|
arguments_typed: [];
|
1216
|
+
type_arguments: [string];
|
1144
1217
|
}
|
1145
1218
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
1146
1219
|
const ABI: MoveModule;
|
@@ -1169,9 +1242,11 @@ export declare class aptos_account extends aptos.AptosBaseProcessor {
|
|
1169
1242
|
export declare namespace aptos_account {
|
1170
1243
|
interface CreateAccountPayload extends aptos.TypedEntryFunctionPayload<[]> {
|
1171
1244
|
arguments_typed: [];
|
1245
|
+
type_arguments: [];
|
1172
1246
|
}
|
1173
1247
|
interface TransferPayload extends aptos.TypedEntryFunctionPayload<[Address, bigint]> {
|
1174
1248
|
arguments_typed: [Address, bigint];
|
1249
|
+
type_arguments: [];
|
1175
1250
|
}
|
1176
1251
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
1177
1252
|
const ABI: MoveModule;
|
@@ -1213,27 +1288,35 @@ export declare class staking_proxy extends aptos.AptosBaseProcessor {
|
|
1213
1288
|
export declare namespace staking_proxy {
|
1214
1289
|
interface SetOperatorPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
|
1215
1290
|
arguments_typed: [Address, Address];
|
1291
|
+
type_arguments: [];
|
1216
1292
|
}
|
1217
1293
|
interface SetStakePoolOperatorPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
|
1218
1294
|
arguments_typed: [Address];
|
1295
|
+
type_arguments: [];
|
1219
1296
|
}
|
1220
1297
|
interface SetStakePoolVoterPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
|
1221
1298
|
arguments_typed: [Address];
|
1299
|
+
type_arguments: [];
|
1222
1300
|
}
|
1223
1301
|
interface SetStakingContractOperatorPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
|
1224
1302
|
arguments_typed: [Address, Address];
|
1303
|
+
type_arguments: [];
|
1225
1304
|
}
|
1226
1305
|
interface SetStakingContractVoterPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
|
1227
1306
|
arguments_typed: [Address, Address];
|
1307
|
+
type_arguments: [];
|
1228
1308
|
}
|
1229
1309
|
interface SetVestingContractOperatorPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
|
1230
1310
|
arguments_typed: [Address, Address];
|
1311
|
+
type_arguments: [];
|
1231
1312
|
}
|
1232
1313
|
interface SetVestingContractVoterPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
|
1233
1314
|
arguments_typed: [Address, Address];
|
1315
|
+
type_arguments: [];
|
1234
1316
|
}
|
1235
1317
|
interface SetVoterPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
|
1236
1318
|
arguments_typed: [Address, Address];
|
1319
|
+
type_arguments: [];
|
1237
1320
|
}
|
1238
1321
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
1239
1322
|
const ABI: MoveModule;
|
@@ -1287,6 +1370,7 @@ export declare namespace reconfiguration {
|
|
1287
1370
|
}
|
1288
1371
|
interface NewEpochEventInstance extends aptos.TypedEventInstance<NewEpochEvent> {
|
1289
1372
|
data_typed: NewEpochEvent;
|
1373
|
+
type_arguments: [];
|
1290
1374
|
}
|
1291
1375
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
1292
1376
|
const ABI: MoveModule;
|
@@ -1323,6 +1407,7 @@ export declare namespace aptos_governance {
|
|
1323
1407
|
}
|
1324
1408
|
interface CreateProposalEventInstance extends aptos.TypedEventInstance<CreateProposalEvent> {
|
1325
1409
|
data_typed: CreateProposalEvent;
|
1410
|
+
type_arguments: [];
|
1326
1411
|
}
|
1327
1412
|
class GovernanceConfig {
|
1328
1413
|
min_voting_threshold: bigint;
|
@@ -1348,6 +1433,7 @@ export declare namespace aptos_governance {
|
|
1348
1433
|
}
|
1349
1434
|
interface UpdateConfigEventInstance extends aptos.TypedEventInstance<UpdateConfigEvent> {
|
1350
1435
|
data_typed: UpdateConfigEvent;
|
1436
|
+
type_arguments: [];
|
1351
1437
|
}
|
1352
1438
|
class VoteEvent {
|
1353
1439
|
proposal_id: bigint;
|
@@ -1358,18 +1444,22 @@ export declare namespace aptos_governance {
|
|
1358
1444
|
}
|
1359
1445
|
interface VoteEventInstance extends aptos.TypedEventInstance<VoteEvent> {
|
1360
1446
|
data_typed: VoteEvent;
|
1447
|
+
type_arguments: [];
|
1361
1448
|
}
|
1362
1449
|
class VotingRecords {
|
1363
1450
|
votes: table.Table<aptos_governance.RecordKey, Boolean>;
|
1364
1451
|
}
|
1365
1452
|
interface AddApprovedScriptHashScriptPayload extends aptos.TypedEntryFunctionPayload<[]> {
|
1366
1453
|
arguments_typed: [];
|
1454
|
+
type_arguments: [];
|
1367
1455
|
}
|
1368
1456
|
interface CreateProposalPayload extends aptos.TypedEntryFunctionPayload<[Address, string, string, string]> {
|
1369
1457
|
arguments_typed: [Address, string, string, string];
|
1458
|
+
type_arguments: [];
|
1370
1459
|
}
|
1371
1460
|
interface VotePayload extends aptos.TypedEntryFunctionPayload<[Address, bigint, Boolean]> {
|
1372
1461
|
arguments_typed: [Address, bigint, Boolean];
|
1462
|
+
type_arguments: [];
|
1373
1463
|
}
|
1374
1464
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
1375
1465
|
const ABI: MoveModule;
|
@@ -1396,12 +1486,15 @@ export declare namespace resource_account {
|
|
1396
1486
|
}
|
1397
1487
|
interface CreateResourceAccountPayload extends aptos.TypedEntryFunctionPayload<[string, string]> {
|
1398
1488
|
arguments_typed: [string, string];
|
1489
|
+
type_arguments: [];
|
1399
1490
|
}
|
1400
1491
|
interface CreateResourceAccountAndFundPayload extends aptos.TypedEntryFunctionPayload<[string, string, bigint]> {
|
1401
1492
|
arguments_typed: [string, string, bigint];
|
1493
|
+
type_arguments: [];
|
1402
1494
|
}
|
1403
1495
|
interface CreateResourceAccountAndPublishPackagePayload extends aptos.TypedEntryFunctionPayload<[string, string, string[]]> {
|
1404
1496
|
arguments_typed: [string, string, string[]];
|
1497
|
+
type_arguments: [];
|
1405
1498
|
}
|
1406
1499
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
1407
1500
|
const ABI: MoveModule;
|
@@ -1439,6 +1532,7 @@ export declare namespace staking_contract {
|
|
1439
1532
|
}
|
1440
1533
|
interface AddDistributionEventInstance extends aptos.TypedEventInstance<AddDistributionEvent> {
|
1441
1534
|
data_typed: AddDistributionEvent;
|
1535
|
+
type_arguments: [];
|
1442
1536
|
}
|
1443
1537
|
class AddStakeEvent {
|
1444
1538
|
operator: Address;
|
@@ -1447,6 +1541,7 @@ export declare namespace staking_contract {
|
|
1447
1541
|
}
|
1448
1542
|
interface AddStakeEventInstance extends aptos.TypedEventInstance<AddStakeEvent> {
|
1449
1543
|
data_typed: AddStakeEvent;
|
1544
|
+
type_arguments: [];
|
1450
1545
|
}
|
1451
1546
|
class CreateStakingContractEvent {
|
1452
1547
|
operator: Address;
|
@@ -1457,6 +1552,7 @@ export declare namespace staking_contract {
|
|
1457
1552
|
}
|
1458
1553
|
interface CreateStakingContractEventInstance extends aptos.TypedEventInstance<CreateStakingContractEvent> {
|
1459
1554
|
data_typed: CreateStakingContractEvent;
|
1555
|
+
type_arguments: [];
|
1460
1556
|
}
|
1461
1557
|
class DistributeEvent {
|
1462
1558
|
operator: Address;
|
@@ -1466,6 +1562,7 @@ export declare namespace staking_contract {
|
|
1466
1562
|
}
|
1467
1563
|
interface DistributeEventInstance extends aptos.TypedEventInstance<DistributeEvent> {
|
1468
1564
|
data_typed: DistributeEvent;
|
1565
|
+
type_arguments: [];
|
1469
1566
|
}
|
1470
1567
|
class RequestCommissionEvent {
|
1471
1568
|
operator: Address;
|
@@ -1475,6 +1572,7 @@ export declare namespace staking_contract {
|
|
1475
1572
|
}
|
1476
1573
|
interface RequestCommissionEventInstance extends aptos.TypedEventInstance<RequestCommissionEvent> {
|
1477
1574
|
data_typed: RequestCommissionEvent;
|
1575
|
+
type_arguments: [];
|
1478
1576
|
}
|
1479
1577
|
class ResetLockupEvent {
|
1480
1578
|
operator: Address;
|
@@ -1482,6 +1580,7 @@ export declare namespace staking_contract {
|
|
1482
1580
|
}
|
1483
1581
|
interface ResetLockupEventInstance extends aptos.TypedEventInstance<ResetLockupEvent> {
|
1484
1582
|
data_typed: ResetLockupEvent;
|
1583
|
+
type_arguments: [];
|
1485
1584
|
}
|
1486
1585
|
class StakingContract {
|
1487
1586
|
principal: bigint;
|
@@ -1510,6 +1609,7 @@ export declare namespace staking_contract {
|
|
1510
1609
|
}
|
1511
1610
|
interface SwitchOperatorEventInstance extends aptos.TypedEventInstance<SwitchOperatorEvent> {
|
1512
1611
|
data_typed: SwitchOperatorEvent;
|
1612
|
+
type_arguments: [];
|
1513
1613
|
}
|
1514
1614
|
class UnlockStakeEvent {
|
1515
1615
|
operator: Address;
|
@@ -1519,6 +1619,7 @@ export declare namespace staking_contract {
|
|
1519
1619
|
}
|
1520
1620
|
interface UnlockStakeEventInstance extends aptos.TypedEventInstance<UnlockStakeEvent> {
|
1521
1621
|
data_typed: UnlockStakeEvent;
|
1622
|
+
type_arguments: [];
|
1522
1623
|
}
|
1523
1624
|
class UpdateVoterEvent {
|
1524
1625
|
operator: Address;
|
@@ -1528,9 +1629,11 @@ export declare namespace staking_contract {
|
|
1528
1629
|
}
|
1529
1630
|
interface UpdateVoterEventInstance extends aptos.TypedEventInstance<UpdateVoterEvent> {
|
1530
1631
|
data_typed: UpdateVoterEvent;
|
1632
|
+
type_arguments: [];
|
1531
1633
|
}
|
1532
1634
|
interface AddStakePayload extends aptos.TypedEntryFunctionPayload<[Address, bigint]> {
|
1533
1635
|
arguments_typed: [Address, bigint];
|
1636
|
+
type_arguments: [];
|
1534
1637
|
}
|
1535
1638
|
interface CreateStakingContractPayload extends aptos.TypedEntryFunctionPayload<[
|
1536
1639
|
Address,
|
@@ -1540,30 +1643,39 @@ export declare namespace staking_contract {
|
|
1540
1643
|
string
|
1541
1644
|
]> {
|
1542
1645
|
arguments_typed: [Address, Address, bigint, bigint, string];
|
1646
|
+
type_arguments: [];
|
1543
1647
|
}
|
1544
1648
|
interface DistributePayload extends aptos.TypedEntryFunctionPayload<[Address]> {
|
1545
1649
|
arguments_typed: [Address];
|
1650
|
+
type_arguments: [];
|
1546
1651
|
}
|
1547
1652
|
interface RequestCommissionPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
|
1548
1653
|
arguments_typed: [Address, Address];
|
1654
|
+
type_arguments: [];
|
1549
1655
|
}
|
1550
1656
|
interface ResetLockupPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
|
1551
1657
|
arguments_typed: [Address];
|
1658
|
+
type_arguments: [];
|
1552
1659
|
}
|
1553
1660
|
interface SwitchOperatorPayload extends aptos.TypedEntryFunctionPayload<[Address, Address, bigint]> {
|
1554
1661
|
arguments_typed: [Address, Address, bigint];
|
1662
|
+
type_arguments: [];
|
1555
1663
|
}
|
1556
1664
|
interface SwitchOperatorWithSameCommissionPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
|
1557
1665
|
arguments_typed: [Address, Address];
|
1666
|
+
type_arguments: [];
|
1558
1667
|
}
|
1559
1668
|
interface UnlockRewardsPayload extends aptos.TypedEntryFunctionPayload<[Address]> {
|
1560
1669
|
arguments_typed: [Address];
|
1670
|
+
type_arguments: [];
|
1561
1671
|
}
|
1562
1672
|
interface UnlockStakePayload extends aptos.TypedEntryFunctionPayload<[Address, bigint]> {
|
1563
1673
|
arguments_typed: [Address, bigint];
|
1674
|
+
type_arguments: [];
|
1564
1675
|
}
|
1565
1676
|
interface UpdateVoterPayload extends aptos.TypedEntryFunctionPayload<[Address, Address]> {
|
1566
1677
|
arguments_typed: [Address, Address];
|
1678
|
+
type_arguments: [];
|
1567
1679
|
}
|
1568
1680
|
function loadTypes(registry: aptos.TypeRegistry): void;
|
1569
1681
|
const ABI: MoveModule;
|