@sentio/sdk 2.26.1-rc.1 → 2.26.1-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/aptos/builtin/0x1.d.ts +484 -29
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +642 -104
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +64 -9
- package/lib/aptos/builtin/0x3.d.ts.map +1 -1
- package/lib/aptos/builtin/0x3.js +78 -27
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/tsup.config.ts +1 -1
- package/package.json +7 -7
- package/src/aptos/builtin/0x1.ts +1572 -164
- package/src/aptos/builtin/0x3.ts +227 -42
- package/src/tsup.config.ts +1 -1
@@ -3,6 +3,12 @@ import { MoveCoder, TypedEventInstance } from "@typemove/aptos";
|
|
3
3
|
import { Address } from "@typemove/aptos";
|
4
4
|
import { CallFilter, MoveFetchConfig } from "@sentio/sdk/move";
|
5
5
|
import { AptosBindOptions, AptosBaseProcessor, TypedFunctionPayload, AptosContext } from "@sentio/sdk/aptos";
|
6
|
+
export declare class acl extends AptosBaseProcessor {
|
7
|
+
constructor(options: AptosBindOptions);
|
8
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
9
|
+
static bind(options?: Partial<AptosBindOptions>): acl;
|
10
|
+
onEventACL(func: (event: acl.ACLInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): acl;
|
11
|
+
}
|
6
12
|
export declare namespace acl {
|
7
13
|
interface ACL {
|
8
14
|
list: Address[];
|
@@ -11,6 +17,16 @@ export declare namespace acl {
|
|
11
17
|
const TYPE_QNAME = "0x1::acl::ACL";
|
12
18
|
function type(): TypeDescriptor<ACL>;
|
13
19
|
}
|
20
|
+
interface ACLInstance extends TypedEventInstance<ACL> {
|
21
|
+
data_decoded: ACL;
|
22
|
+
type_arguments: [];
|
23
|
+
}
|
24
|
+
}
|
25
|
+
export declare class any_ extends AptosBaseProcessor {
|
26
|
+
constructor(options: AptosBindOptions);
|
27
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
28
|
+
static bind(options?: Partial<AptosBindOptions>): any_;
|
29
|
+
onEventAny(func: (event: any_.AnyInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): any_;
|
14
30
|
}
|
15
31
|
export declare namespace any_ {
|
16
32
|
interface Any {
|
@@ -21,6 +37,10 @@ export declare namespace any_ {
|
|
21
37
|
const TYPE_QNAME = "0x1::any::Any";
|
22
38
|
function type(): TypeDescriptor<Any>;
|
23
39
|
}
|
40
|
+
interface AnyInstance extends TypedEventInstance<Any> {
|
41
|
+
data_decoded: Any;
|
42
|
+
type_arguments: [];
|
43
|
+
}
|
24
44
|
}
|
25
45
|
export declare namespace bcs { }
|
26
46
|
export declare class code extends AptosBaseProcessor {
|
@@ -28,6 +48,11 @@ export declare class code extends AptosBaseProcessor {
|
|
28
48
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
29
49
|
static bind(options?: Partial<AptosBindOptions>): code;
|
30
50
|
onEntryPublishPackageTxn(func: (call: code.PublishPackageTxnPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): code;
|
51
|
+
onEventModuleMetadata(func: (event: code.ModuleMetadataInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): code;
|
52
|
+
onEventPackageDep(func: (event: code.PackageDepInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): code;
|
53
|
+
onEventPackageMetadata(func: (event: code.PackageMetadataInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): code;
|
54
|
+
onEventPackageRegistry(func: (event: code.PackageRegistryInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): code;
|
55
|
+
onEventUpgradePolicy(func: (event: code.UpgradePolicyInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): code;
|
31
56
|
}
|
32
57
|
export declare namespace code {
|
33
58
|
interface AllowedDep {
|
@@ -48,6 +73,10 @@ export declare namespace code {
|
|
48
73
|
const TYPE_QNAME = "0x1::code::ModuleMetadata";
|
49
74
|
function type(): TypeDescriptor<ModuleMetadata>;
|
50
75
|
}
|
76
|
+
interface ModuleMetadataInstance extends TypedEventInstance<ModuleMetadata> {
|
77
|
+
data_decoded: ModuleMetadata;
|
78
|
+
type_arguments: [];
|
79
|
+
}
|
51
80
|
interface PackageDep {
|
52
81
|
account: Address;
|
53
82
|
package_name: string;
|
@@ -56,6 +85,10 @@ export declare namespace code {
|
|
56
85
|
const TYPE_QNAME = "0x1::code::PackageDep";
|
57
86
|
function type(): TypeDescriptor<PackageDep>;
|
58
87
|
}
|
88
|
+
interface PackageDepInstance extends TypedEventInstance<PackageDep> {
|
89
|
+
data_decoded: PackageDep;
|
90
|
+
type_arguments: [];
|
91
|
+
}
|
59
92
|
interface PackageMetadata {
|
60
93
|
name: string;
|
61
94
|
upgrade_policy: code.UpgradePolicy;
|
@@ -70,6 +103,10 @@ export declare namespace code {
|
|
70
103
|
const TYPE_QNAME = "0x1::code::PackageMetadata";
|
71
104
|
function type(): TypeDescriptor<PackageMetadata>;
|
72
105
|
}
|
106
|
+
interface PackageMetadataInstance extends TypedEventInstance<PackageMetadata> {
|
107
|
+
data_decoded: PackageMetadata;
|
108
|
+
type_arguments: [];
|
109
|
+
}
|
73
110
|
interface PackageRegistry {
|
74
111
|
packages: code.PackageMetadata[];
|
75
112
|
}
|
@@ -77,6 +114,10 @@ export declare namespace code {
|
|
77
114
|
const TYPE_QNAME = "0x1::code::PackageRegistry";
|
78
115
|
function type(): TypeDescriptor<PackageRegistry>;
|
79
116
|
}
|
117
|
+
interface PackageRegistryInstance extends TypedEventInstance<PackageRegistry> {
|
118
|
+
data_decoded: PackageRegistry;
|
119
|
+
type_arguments: [];
|
120
|
+
}
|
80
121
|
interface UpgradePolicy {
|
81
122
|
policy: number;
|
82
123
|
}
|
@@ -84,6 +125,10 @@ export declare namespace code {
|
|
84
125
|
const TYPE_QNAME = "0x1::code::UpgradePolicy";
|
85
126
|
function type(): TypeDescriptor<UpgradePolicy>;
|
86
127
|
}
|
128
|
+
interface UpgradePolicyInstance extends TypedEventInstance<UpgradePolicy> {
|
129
|
+
data_decoded: UpgradePolicy;
|
130
|
+
type_arguments: [];
|
131
|
+
}
|
87
132
|
interface PublishPackageTxnPayload extends TypedFunctionPayload<[string, string[]]> {
|
88
133
|
arguments_decoded: [string, string[]];
|
89
134
|
type_arguments: [];
|
@@ -202,6 +247,13 @@ export declare namespace coin {
|
|
202
247
|
type_arguments: [string];
|
203
248
|
}
|
204
249
|
}
|
250
|
+
export declare class guid extends AptosBaseProcessor {
|
251
|
+
constructor(options: AptosBindOptions);
|
252
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
253
|
+
static bind(options?: Partial<AptosBindOptions>): guid;
|
254
|
+
onEventGUID(func: (event: guid.GUIDInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): guid;
|
255
|
+
onEventID(func: (event: guid.IDInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): guid;
|
256
|
+
}
|
205
257
|
export declare namespace guid {
|
206
258
|
interface GUID {
|
207
259
|
id: guid.ID;
|
@@ -210,6 +262,10 @@ export declare namespace guid {
|
|
210
262
|
const TYPE_QNAME = "0x1::guid::GUID";
|
211
263
|
function type(): TypeDescriptor<GUID>;
|
212
264
|
}
|
265
|
+
interface GUIDInstance extends TypedEventInstance<GUID> {
|
266
|
+
data_decoded: GUID;
|
267
|
+
type_arguments: [];
|
268
|
+
}
|
213
269
|
interface ID {
|
214
270
|
creation_num: bigint;
|
215
271
|
addr: Address;
|
@@ -218,6 +274,10 @@ export declare namespace guid {
|
|
218
274
|
const TYPE_QNAME = "0x1::guid::ID";
|
219
275
|
function type(): TypeDescriptor<ID>;
|
220
276
|
}
|
277
|
+
interface IDInstance extends TypedEventInstance<ID> {
|
278
|
+
data_decoded: ID;
|
279
|
+
type_arguments: [];
|
280
|
+
}
|
221
281
|
}
|
222
282
|
export declare namespace hash { }
|
223
283
|
export declare namespace util { }
|
@@ -299,18 +359,21 @@ export declare class stake extends AptosBaseProcessor {
|
|
299
359
|
onEntryUnlock(func: (call: stake.UnlockPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
300
360
|
onEntryUpdateNetworkAndFullnodeAddresses(func: (call: stake.UpdateNetworkAndFullnodeAddressesPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
301
361
|
onEntryWithdraw(func: (call: stake.WithdrawPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
302
|
-
onEventRegisterValidatorCandidateEvent(func: (event: stake.RegisterValidatorCandidateEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
303
|
-
onEventSetOperatorEvent(func: (event: stake.SetOperatorEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
304
362
|
onEventAddStakeEvent(func: (event: stake.AddStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
305
|
-
|
306
|
-
onEventRotateConsensusKeyEvent(func: (event: stake.RotateConsensusKeyEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
307
|
-
onEventUpdateNetworkAndFullnodeAddressesEvent(func: (event: stake.UpdateNetworkAndFullnodeAddressesEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
363
|
+
onEventDistributeRewardsEvent(func: (event: stake.DistributeRewardsEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
308
364
|
onEventIncreaseLockupEvent(func: (event: stake.IncreaseLockupEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
365
|
+
onEventIndividualValidatorPerformance(func: (event: stake.IndividualValidatorPerformanceInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
309
366
|
onEventJoinValidatorSetEvent(func: (event: stake.JoinValidatorSetEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
310
|
-
|
367
|
+
onEventLeaveValidatorSetEvent(func: (event: stake.LeaveValidatorSetEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
368
|
+
onEventReactivateStakeEvent(func: (event: stake.ReactivateStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
369
|
+
onEventRegisterValidatorCandidateEvent(func: (event: stake.RegisterValidatorCandidateEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
370
|
+
onEventRotateConsensusKeyEvent(func: (event: stake.RotateConsensusKeyEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
371
|
+
onEventSetOperatorEvent(func: (event: stake.SetOperatorEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
311
372
|
onEventUnlockStakeEvent(func: (event: stake.UnlockStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
373
|
+
onEventUpdateNetworkAndFullnodeAddressesEvent(func: (event: stake.UpdateNetworkAndFullnodeAddressesEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
374
|
+
onEventValidatorConfig(func: (event: stake.ValidatorConfigInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
375
|
+
onEventValidatorInfo(func: (event: stake.ValidatorInfoInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
312
376
|
onEventWithdrawStakeEvent(func: (event: stake.WithdrawStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
313
|
-
onEventLeaveValidatorSetEvent(func: (event: stake.LeaveValidatorSetEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
314
377
|
}
|
315
378
|
export declare namespace stake {
|
316
379
|
interface AddStakeEvent {
|
@@ -372,6 +435,10 @@ export declare namespace stake {
|
|
372
435
|
const TYPE_QNAME = "0x1::stake::IndividualValidatorPerformance";
|
373
436
|
function type(): TypeDescriptor<IndividualValidatorPerformance>;
|
374
437
|
}
|
438
|
+
interface IndividualValidatorPerformanceInstance extends TypedEventInstance<IndividualValidatorPerformance> {
|
439
|
+
data_decoded: IndividualValidatorPerformance;
|
440
|
+
type_arguments: [];
|
441
|
+
}
|
375
442
|
interface JoinValidatorSetEvent {
|
376
443
|
pool_address: Address;
|
377
444
|
}
|
@@ -512,6 +579,10 @@ export declare namespace stake {
|
|
512
579
|
const TYPE_QNAME = "0x1::stake::ValidatorConfig";
|
513
580
|
function type(): TypeDescriptor<ValidatorConfig>;
|
514
581
|
}
|
582
|
+
interface ValidatorConfigInstance extends TypedEventInstance<ValidatorConfig> {
|
583
|
+
data_decoded: ValidatorConfig;
|
584
|
+
type_arguments: [];
|
585
|
+
}
|
515
586
|
interface ValidatorFees {
|
516
587
|
fees_table: table.Table<Address, coin.Coin<aptos_coin.AptosCoin>>;
|
517
588
|
}
|
@@ -528,6 +599,10 @@ export declare namespace stake {
|
|
528
599
|
const TYPE_QNAME = "0x1::stake::ValidatorInfo";
|
529
600
|
function type(): TypeDescriptor<ValidatorInfo>;
|
530
601
|
}
|
602
|
+
interface ValidatorInfoInstance extends TypedEventInstance<ValidatorInfo> {
|
603
|
+
data_decoded: ValidatorInfo;
|
604
|
+
type_arguments: [];
|
605
|
+
}
|
531
606
|
interface ValidatorPerformance {
|
532
607
|
validators: stake.IndividualValidatorPerformance[];
|
533
608
|
}
|
@@ -612,6 +687,12 @@ export declare namespace stake {
|
|
612
687
|
type_arguments: [];
|
613
688
|
}
|
614
689
|
}
|
690
|
+
export declare class table extends AptosBaseProcessor {
|
691
|
+
constructor(options: AptosBindOptions);
|
692
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
693
|
+
static bind(options?: Partial<AptosBindOptions>): table;
|
694
|
+
onEventBox(func: (event: table.BoxInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): table;
|
695
|
+
}
|
615
696
|
export declare namespace table {
|
616
697
|
interface Box<T0> {
|
617
698
|
val: T0;
|
@@ -620,6 +701,10 @@ export declare namespace table {
|
|
620
701
|
const TYPE_QNAME = "0x1::table::Box";
|
621
702
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Box<T0>>;
|
622
703
|
}
|
704
|
+
interface BoxInstance extends TypedEventInstance<Box<any>> {
|
705
|
+
data_decoded: Box<any>;
|
706
|
+
type_arguments: [string];
|
707
|
+
}
|
623
708
|
interface Table<T0, T1> {
|
624
709
|
handle: Address;
|
625
710
|
}
|
@@ -636,7 +721,12 @@ export declare class object_ extends AptosBaseProcessor {
|
|
636
721
|
onEntryTransfer(func: (call: object_.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
637
722
|
onEntryTransferCall(func: (call: object_.TransferCallPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
638
723
|
onEntryTransferToObject(func: (call: object_.TransferToObjectPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
724
|
+
onEventDeleteRef(func: (event: object_.DeleteRefInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
725
|
+
onEventDeriveRef(func: (event: object_.DeriveRefInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
726
|
+
onEventExtendRef(func: (event: object_.ExtendRefInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
727
|
+
onEventObject(func: (event: object_.ObjectInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
639
728
|
onEventTransferEvent(func: (event: object_.TransferEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
729
|
+
onEventTransferRef(func: (event: object_.TransferRefInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
640
730
|
}
|
641
731
|
export declare namespace object_ {
|
642
732
|
interface ConstructorRef {
|
@@ -654,6 +744,10 @@ export declare namespace object_ {
|
|
654
744
|
const TYPE_QNAME = "0x1::object::DeleteRef";
|
655
745
|
function type(): TypeDescriptor<DeleteRef>;
|
656
746
|
}
|
747
|
+
interface DeleteRefInstance extends TypedEventInstance<DeleteRef> {
|
748
|
+
data_decoded: DeleteRef;
|
749
|
+
type_arguments: [];
|
750
|
+
}
|
657
751
|
interface DeriveRef {
|
658
752
|
self: Address;
|
659
753
|
}
|
@@ -661,6 +755,10 @@ export declare namespace object_ {
|
|
661
755
|
const TYPE_QNAME = "0x1::object::DeriveRef";
|
662
756
|
function type(): TypeDescriptor<DeriveRef>;
|
663
757
|
}
|
758
|
+
interface DeriveRefInstance extends TypedEventInstance<DeriveRef> {
|
759
|
+
data_decoded: DeriveRef;
|
760
|
+
type_arguments: [];
|
761
|
+
}
|
664
762
|
interface ExtendRef {
|
665
763
|
self: Address;
|
666
764
|
}
|
@@ -668,6 +766,10 @@ export declare namespace object_ {
|
|
668
766
|
const TYPE_QNAME = "0x1::object::ExtendRef";
|
669
767
|
function type(): TypeDescriptor<ExtendRef>;
|
670
768
|
}
|
769
|
+
interface ExtendRefInstance extends TypedEventInstance<ExtendRef> {
|
770
|
+
data_decoded: ExtendRef;
|
771
|
+
type_arguments: [];
|
772
|
+
}
|
671
773
|
interface LinearTransferRef {
|
672
774
|
self: Address;
|
673
775
|
owner: Address;
|
@@ -683,6 +785,10 @@ export declare namespace object_ {
|
|
683
785
|
const TYPE_QNAME = "0x1::object::Object";
|
684
786
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Object<T0>>;
|
685
787
|
}
|
788
|
+
interface ObjectInstance extends TypedEventInstance<Object<any>> {
|
789
|
+
data_decoded: Object<any>;
|
790
|
+
type_arguments: [string];
|
791
|
+
}
|
686
792
|
interface ObjectCore {
|
687
793
|
guid_creation_num: bigint;
|
688
794
|
owner: Address;
|
@@ -720,6 +826,10 @@ export declare namespace object_ {
|
|
720
826
|
const TYPE_QNAME = "0x1::object::TransferRef";
|
721
827
|
function type(): TypeDescriptor<TransferRef>;
|
722
828
|
}
|
829
|
+
interface TransferRefInstance extends TypedEventInstance<TransferRef> {
|
830
|
+
data_decoded: TransferRef;
|
831
|
+
type_arguments: [];
|
832
|
+
}
|
723
833
|
interface TransferPayload<T0 = any> extends TypedFunctionPayload<[object_.Object<T0>, Address]> {
|
724
834
|
arguments_decoded: [object_.Object<T0>, Address];
|
725
835
|
type_arguments: [string];
|
@@ -733,6 +843,12 @@ export declare namespace object_ {
|
|
733
843
|
type_arguments: [string, string];
|
734
844
|
}
|
735
845
|
}
|
846
|
+
export declare class option extends AptosBaseProcessor {
|
847
|
+
constructor(options: AptosBindOptions);
|
848
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
849
|
+
static bind(options?: Partial<AptosBindOptions>): option;
|
850
|
+
onEventOption(func: (event: option.OptionInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): option;
|
851
|
+
}
|
736
852
|
export declare namespace option {
|
737
853
|
interface Option<T0> {
|
738
854
|
vec: T0[] | string;
|
@@ -741,8 +857,18 @@ export declare namespace option {
|
|
741
857
|
const TYPE_QNAME = "0x1::option::Option";
|
742
858
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Option<T0>>;
|
743
859
|
}
|
860
|
+
interface OptionInstance extends TypedEventInstance<Option<any>> {
|
861
|
+
data_decoded: Option<any>;
|
862
|
+
type_arguments: [string];
|
863
|
+
}
|
744
864
|
}
|
745
865
|
export declare namespace signer { }
|
866
|
+
export declare class string_ extends AptosBaseProcessor {
|
867
|
+
constructor(options: AptosBindOptions);
|
868
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
869
|
+
static bind(options?: Partial<AptosBindOptions>): string_;
|
870
|
+
onEventString(func: (event: string_.StringInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): string_;
|
871
|
+
}
|
746
872
|
export declare namespace string_ {
|
747
873
|
interface String {
|
748
874
|
bytes: string;
|
@@ -751,6 +877,10 @@ export declare namespace string_ {
|
|
751
877
|
const TYPE_QNAME = "0x1::string::String";
|
752
878
|
function type(): TypeDescriptor<String>;
|
753
879
|
}
|
880
|
+
interface StringInstance extends TypedEventInstance<String> {
|
881
|
+
data_decoded: String;
|
882
|
+
type_arguments: [];
|
883
|
+
}
|
754
884
|
}
|
755
885
|
export declare namespace vector { }
|
756
886
|
export declare class voting extends AptosBaseProcessor {
|
@@ -869,6 +999,8 @@ export declare class account extends AptosBaseProcessor {
|
|
869
999
|
onEntryRotateAuthenticationKeyWithRotationCapability(func: (call: account.RotateAuthenticationKeyWithRotationCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): account;
|
870
1000
|
onEventCoinRegisterEvent(func: (event: account.CoinRegisterEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): account;
|
871
1001
|
onEventKeyRotationEvent(func: (event: account.KeyRotationEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): account;
|
1002
|
+
onEventRotationCapability(func: (event: account.RotationCapabilityInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): account;
|
1003
|
+
onEventSignerCapability(func: (event: account.SignerCapabilityInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): account;
|
872
1004
|
}
|
873
1005
|
export declare namespace account {
|
874
1006
|
interface Account {
|
@@ -928,6 +1060,10 @@ export declare namespace account {
|
|
928
1060
|
const TYPE_QNAME = "0x1::account::RotationCapability";
|
929
1061
|
function type(): TypeDescriptor<RotationCapability>;
|
930
1062
|
}
|
1063
|
+
interface RotationCapabilityInstance extends TypedEventInstance<RotationCapability> {
|
1064
|
+
data_decoded: RotationCapability;
|
1065
|
+
type_arguments: [];
|
1066
|
+
}
|
931
1067
|
interface RotationCapabilityOfferProofChallenge {
|
932
1068
|
sequence_number: bigint;
|
933
1069
|
recipient_address: Address;
|
@@ -963,6 +1099,10 @@ export declare namespace account {
|
|
963
1099
|
const TYPE_QNAME = "0x1::account::SignerCapability";
|
964
1100
|
function type(): TypeDescriptor<SignerCapability>;
|
965
1101
|
}
|
1102
|
+
interface SignerCapabilityInstance extends TypedEventInstance<SignerCapability> {
|
1103
|
+
data_decoded: SignerCapability;
|
1104
|
+
type_arguments: [];
|
1105
|
+
}
|
966
1106
|
interface SignerCapabilityOfferProofChallenge {
|
967
1107
|
sequence_number: bigint;
|
968
1108
|
recipient_address: Address;
|
@@ -1020,6 +1160,14 @@ export declare namespace account {
|
|
1020
1160
|
type_arguments: [];
|
1021
1161
|
}
|
1022
1162
|
}
|
1163
|
+
export declare class ed25519 extends AptosBaseProcessor {
|
1164
|
+
constructor(options: AptosBindOptions);
|
1165
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
1166
|
+
static bind(options?: Partial<AptosBindOptions>): ed25519;
|
1167
|
+
onEventSignature(func: (event: ed25519.SignatureInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): ed25519;
|
1168
|
+
onEventUnvalidatedPublicKey(func: (event: ed25519.UnvalidatedPublicKeyInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): ed25519;
|
1169
|
+
onEventValidatedPublicKey(func: (event: ed25519.ValidatedPublicKeyInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): ed25519;
|
1170
|
+
}
|
1023
1171
|
export declare namespace ed25519 {
|
1024
1172
|
interface Signature {
|
1025
1173
|
bytes: string;
|
@@ -1028,6 +1176,10 @@ export declare namespace ed25519 {
|
|
1028
1176
|
const TYPE_QNAME = "0x1::ed25519::Signature";
|
1029
1177
|
function type(): TypeDescriptor<Signature>;
|
1030
1178
|
}
|
1179
|
+
interface SignatureInstance extends TypedEventInstance<Signature> {
|
1180
|
+
data_decoded: Signature;
|
1181
|
+
type_arguments: [];
|
1182
|
+
}
|
1031
1183
|
interface SignedMessage<T0> {
|
1032
1184
|
type_info: type_info.TypeInfo;
|
1033
1185
|
inner: T0;
|
@@ -1043,6 +1195,10 @@ export declare namespace ed25519 {
|
|
1043
1195
|
const TYPE_QNAME = "0x1::ed25519::UnvalidatedPublicKey";
|
1044
1196
|
function type(): TypeDescriptor<UnvalidatedPublicKey>;
|
1045
1197
|
}
|
1198
|
+
interface UnvalidatedPublicKeyInstance extends TypedEventInstance<UnvalidatedPublicKey> {
|
1199
|
+
data_decoded: UnvalidatedPublicKey;
|
1200
|
+
type_arguments: [];
|
1201
|
+
}
|
1046
1202
|
interface ValidatedPublicKey {
|
1047
1203
|
bytes: string;
|
1048
1204
|
}
|
@@ -1050,6 +1206,10 @@ export declare namespace ed25519 {
|
|
1050
1206
|
const TYPE_QNAME = "0x1::ed25519::ValidatedPublicKey";
|
1051
1207
|
function type(): TypeDescriptor<ValidatedPublicKey>;
|
1052
1208
|
}
|
1209
|
+
interface ValidatedPublicKeyInstance extends TypedEventInstance<ValidatedPublicKey> {
|
1210
|
+
data_decoded: ValidatedPublicKey;
|
1211
|
+
type_arguments: [];
|
1212
|
+
}
|
1053
1213
|
}
|
1054
1214
|
export declare namespace genesis {
|
1055
1215
|
interface AccountMap {
|
@@ -1142,16 +1302,17 @@ export declare class vesting extends AptosBaseProcessor {
|
|
1142
1302
|
onEntryUpdateVoter(func: (call: vesting.UpdateVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1143
1303
|
onEntryVest(func: (call: vesting.VestPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1144
1304
|
onEntryVestMany(func: (call: vesting.VestManyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1305
|
+
onEventAdminWithdrawEvent(func: (event: vesting.AdminWithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1145
1306
|
onEventCreateVestingContractEvent(func: (event: vesting.CreateVestingContractEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1146
|
-
|
1147
|
-
onEventUpdateVoterEvent(func: (event: vesting.UpdateVoterEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1307
|
+
onEventDistributeEvent(func: (event: vesting.DistributeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1148
1308
|
onEventResetLockupEvent(func: (event: vesting.ResetLockupEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1149
1309
|
onEventSetBeneficiaryEvent(func: (event: vesting.SetBeneficiaryEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1310
|
+
onEventTerminateEvent(func: (event: vesting.TerminateEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1150
1311
|
onEventUnlockRewardsEvent(func: (event: vesting.UnlockRewardsEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1312
|
+
onEventUpdateOperatorEvent(func: (event: vesting.UpdateOperatorEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1313
|
+
onEventUpdateVoterEvent(func: (event: vesting.UpdateVoterEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1151
1314
|
onEventVestEvent(func: (event: vesting.VestEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1152
|
-
|
1153
|
-
onEventTerminateEvent(func: (event: vesting.TerminateEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1154
|
-
onEventAdminWithdrawEvent(func: (event: vesting.AdminWithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1315
|
+
onEventVestingSchedule(func: (event: vesting.VestingScheduleInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1155
1316
|
}
|
1156
1317
|
export declare namespace vesting {
|
1157
1318
|
interface AdminStore {
|
@@ -1358,6 +1519,10 @@ export declare namespace vesting {
|
|
1358
1519
|
const TYPE_QNAME = "0x1::vesting::VestingSchedule";
|
1359
1520
|
function type(): TypeDescriptor<VestingSchedule>;
|
1360
1521
|
}
|
1522
|
+
interface VestingScheduleInstance extends TypedEventInstance<VestingSchedule> {
|
1523
|
+
data_decoded: VestingSchedule;
|
1524
|
+
type_arguments: [];
|
1525
|
+
}
|
1361
1526
|
interface AdminWithdrawPayload extends TypedFunctionPayload<[Address]> {
|
1362
1527
|
arguments_decoded: [Address];
|
1363
1528
|
type_arguments: [];
|
@@ -1423,6 +1588,17 @@ export declare namespace vesting {
|
|
1423
1588
|
type_arguments: [];
|
1424
1589
|
}
|
1425
1590
|
}
|
1591
|
+
export declare class bls12381 extends AptosBaseProcessor {
|
1592
|
+
constructor(options: AptosBindOptions);
|
1593
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
1594
|
+
static bind(options?: Partial<AptosBindOptions>): bls12381;
|
1595
|
+
onEventAggrOrMultiSignature(func: (event: bls12381.AggrOrMultiSignatureInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): bls12381;
|
1596
|
+
onEventAggrPublicKeysWithPoP(func: (event: bls12381.AggrPublicKeysWithPoPInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): bls12381;
|
1597
|
+
onEventProofOfPossession(func: (event: bls12381.ProofOfPossessionInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): bls12381;
|
1598
|
+
onEventPublicKey(func: (event: bls12381.PublicKeyInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): bls12381;
|
1599
|
+
onEventPublicKeyWithPoP(func: (event: bls12381.PublicKeyWithPoPInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): bls12381;
|
1600
|
+
onEventSignature(func: (event: bls12381.SignatureInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): bls12381;
|
1601
|
+
}
|
1426
1602
|
export declare namespace bls12381 {
|
1427
1603
|
interface AggrOrMultiSignature {
|
1428
1604
|
bytes: string;
|
@@ -1431,6 +1607,10 @@ export declare namespace bls12381 {
|
|
1431
1607
|
const TYPE_QNAME = "0x1::bls12381::AggrOrMultiSignature";
|
1432
1608
|
function type(): TypeDescriptor<AggrOrMultiSignature>;
|
1433
1609
|
}
|
1610
|
+
interface AggrOrMultiSignatureInstance extends TypedEventInstance<AggrOrMultiSignature> {
|
1611
|
+
data_decoded: AggrOrMultiSignature;
|
1612
|
+
type_arguments: [];
|
1613
|
+
}
|
1434
1614
|
interface AggrPublicKeysWithPoP {
|
1435
1615
|
bytes: string;
|
1436
1616
|
}
|
@@ -1438,6 +1618,10 @@ export declare namespace bls12381 {
|
|
1438
1618
|
const TYPE_QNAME = "0x1::bls12381::AggrPublicKeysWithPoP";
|
1439
1619
|
function type(): TypeDescriptor<AggrPublicKeysWithPoP>;
|
1440
1620
|
}
|
1621
|
+
interface AggrPublicKeysWithPoPInstance extends TypedEventInstance<AggrPublicKeysWithPoP> {
|
1622
|
+
data_decoded: AggrPublicKeysWithPoP;
|
1623
|
+
type_arguments: [];
|
1624
|
+
}
|
1441
1625
|
interface ProofOfPossession {
|
1442
1626
|
bytes: string;
|
1443
1627
|
}
|
@@ -1445,6 +1629,10 @@ export declare namespace bls12381 {
|
|
1445
1629
|
const TYPE_QNAME = "0x1::bls12381::ProofOfPossession";
|
1446
1630
|
function type(): TypeDescriptor<ProofOfPossession>;
|
1447
1631
|
}
|
1632
|
+
interface ProofOfPossessionInstance extends TypedEventInstance<ProofOfPossession> {
|
1633
|
+
data_decoded: ProofOfPossession;
|
1634
|
+
type_arguments: [];
|
1635
|
+
}
|
1448
1636
|
interface PublicKey {
|
1449
1637
|
bytes: string;
|
1450
1638
|
}
|
@@ -1452,6 +1640,10 @@ export declare namespace bls12381 {
|
|
1452
1640
|
const TYPE_QNAME = "0x1::bls12381::PublicKey";
|
1453
1641
|
function type(): TypeDescriptor<PublicKey>;
|
1454
1642
|
}
|
1643
|
+
interface PublicKeyInstance extends TypedEventInstance<PublicKey> {
|
1644
|
+
data_decoded: PublicKey;
|
1645
|
+
type_arguments: [];
|
1646
|
+
}
|
1455
1647
|
interface PublicKeyWithPoP {
|
1456
1648
|
bytes: string;
|
1457
1649
|
}
|
@@ -1459,6 +1651,10 @@ export declare namespace bls12381 {
|
|
1459
1651
|
const TYPE_QNAME = "0x1::bls12381::PublicKeyWithPoP";
|
1460
1652
|
function type(): TypeDescriptor<PublicKeyWithPoP>;
|
1461
1653
|
}
|
1654
|
+
interface PublicKeyWithPoPInstance extends TypedEventInstance<PublicKeyWithPoP> {
|
1655
|
+
data_decoded: PublicKeyWithPoP;
|
1656
|
+
type_arguments: [];
|
1657
|
+
}
|
1462
1658
|
interface Signature {
|
1463
1659
|
bytes: string;
|
1464
1660
|
}
|
@@ -1466,6 +1662,10 @@ export declare namespace bls12381 {
|
|
1466
1662
|
const TYPE_QNAME = "0x1::bls12381::Signature";
|
1467
1663
|
function type(): TypeDescriptor<Signature>;
|
1468
1664
|
}
|
1665
|
+
interface SignatureInstance extends TypedEventInstance<Signature> {
|
1666
|
+
data_decoded: Signature;
|
1667
|
+
type_arguments: [];
|
1668
|
+
}
|
1469
1669
|
}
|
1470
1670
|
export declare namespace chain_id {
|
1471
1671
|
interface ChainId {
|
@@ -1500,6 +1700,13 @@ export declare namespace pool_u64 {
|
|
1500
1700
|
function type(): TypeDescriptor<Pool>;
|
1501
1701
|
}
|
1502
1702
|
}
|
1703
|
+
export declare class secp256k1 extends AptosBaseProcessor {
|
1704
|
+
constructor(options: AptosBindOptions);
|
1705
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
1706
|
+
static bind(options?: Partial<AptosBindOptions>): secp256k1;
|
1707
|
+
onEventECDSARawPublicKey(func: (event: secp256k1.ECDSARawPublicKeyInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): secp256k1;
|
1708
|
+
onEventECDSASignature(func: (event: secp256k1.ECDSASignatureInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): secp256k1;
|
1709
|
+
}
|
1503
1710
|
export declare namespace secp256k1 {
|
1504
1711
|
interface ECDSARawPublicKey {
|
1505
1712
|
bytes: string;
|
@@ -1508,6 +1715,10 @@ export declare namespace secp256k1 {
|
|
1508
1715
|
const TYPE_QNAME = "0x1::secp256k1::ECDSARawPublicKey";
|
1509
1716
|
function type(): TypeDescriptor<ECDSARawPublicKey>;
|
1510
1717
|
}
|
1718
|
+
interface ECDSARawPublicKeyInstance extends TypedEventInstance<ECDSARawPublicKey> {
|
1719
|
+
data_decoded: ECDSARawPublicKey;
|
1720
|
+
type_arguments: [];
|
1721
|
+
}
|
1511
1722
|
interface ECDSASignature {
|
1512
1723
|
bytes: string;
|
1513
1724
|
}
|
@@ -1515,6 +1726,10 @@ export declare namespace secp256k1 {
|
|
1515
1726
|
const TYPE_QNAME = "0x1::secp256k1::ECDSASignature";
|
1516
1727
|
function type(): TypeDescriptor<ECDSASignature>;
|
1517
1728
|
}
|
1729
|
+
interface ECDSASignatureInstance extends TypedEventInstance<ECDSASignature> {
|
1730
|
+
data_decoded: ECDSASignature;
|
1731
|
+
type_arguments: [];
|
1732
|
+
}
|
1518
1733
|
}
|
1519
1734
|
export declare namespace timestamp {
|
1520
1735
|
interface CurrentTimeMicroseconds {
|
@@ -1525,6 +1740,12 @@ export declare namespace timestamp {
|
|
1525
1740
|
function type(): TypeDescriptor<CurrentTimeMicroseconds>;
|
1526
1741
|
}
|
1527
1742
|
}
|
1743
|
+
export declare class type_info extends AptosBaseProcessor {
|
1744
|
+
constructor(options: AptosBindOptions);
|
1745
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
1746
|
+
static bind(options?: Partial<AptosBindOptions>): type_info;
|
1747
|
+
onEventTypeInfo(func: (event: type_info.TypeInfoInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): type_info;
|
1748
|
+
}
|
1528
1749
|
export declare namespace type_info {
|
1529
1750
|
interface TypeInfo {
|
1530
1751
|
account_address: Address;
|
@@ -1535,6 +1756,10 @@ export declare namespace type_info {
|
|
1535
1756
|
const TYPE_QNAME = "0x1::type_info::TypeInfo";
|
1536
1757
|
function type(): TypeDescriptor<TypeInfo>;
|
1537
1758
|
}
|
1759
|
+
interface TypeInfoInstance extends TypedEventInstance<TypeInfo> {
|
1760
|
+
data_decoded: TypeInfo;
|
1761
|
+
type_arguments: [];
|
1762
|
+
}
|
1538
1763
|
}
|
1539
1764
|
export declare namespace aggregator {
|
1540
1765
|
interface Aggregator {
|
@@ -1609,6 +1834,12 @@ export declare namespace big_vector {
|
|
1609
1834
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<BigVector<T0>>;
|
1610
1835
|
}
|
1611
1836
|
}
|
1837
|
+
export declare class bit_vector extends AptosBaseProcessor {
|
1838
|
+
constructor(options: AptosBindOptions);
|
1839
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
1840
|
+
static bind(options?: Partial<AptosBindOptions>): bit_vector;
|
1841
|
+
onEventBitVector(func: (event: bit_vector.BitVectorInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): bit_vector;
|
1842
|
+
}
|
1612
1843
|
export declare namespace bit_vector {
|
1613
1844
|
interface BitVector {
|
1614
1845
|
length: bigint;
|
@@ -1618,6 +1849,10 @@ export declare namespace bit_vector {
|
|
1618
1849
|
const TYPE_QNAME = "0x1::bit_vector::BitVector";
|
1619
1850
|
function type(): TypeDescriptor<BitVector>;
|
1620
1851
|
}
|
1852
|
+
interface BitVectorInstance extends TypedEventInstance<BitVector> {
|
1853
|
+
data_decoded: BitVector;
|
1854
|
+
type_arguments: [];
|
1855
|
+
}
|
1621
1856
|
}
|
1622
1857
|
export declare namespace capability {
|
1623
1858
|
interface Cap<T0> {
|
@@ -1659,6 +1894,13 @@ export declare namespace comparator {
|
|
1659
1894
|
}
|
1660
1895
|
}
|
1661
1896
|
export declare namespace math_fixed { }
|
1897
|
+
export declare class simple_map extends AptosBaseProcessor {
|
1898
|
+
constructor(options: AptosBindOptions);
|
1899
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
1900
|
+
static bind(options?: Partial<AptosBindOptions>): simple_map;
|
1901
|
+
onEventElement(func: (event: simple_map.ElementInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): simple_map;
|
1902
|
+
onEventSimpleMap(func: (event: simple_map.SimpleMapInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): simple_map;
|
1903
|
+
}
|
1662
1904
|
export declare namespace simple_map {
|
1663
1905
|
interface Element<T0, T1> {
|
1664
1906
|
key: T0;
|
@@ -1668,6 +1910,10 @@ export declare namespace simple_map {
|
|
1668
1910
|
const TYPE_QNAME = "0x1::simple_map::Element";
|
1669
1911
|
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Element<T0, T1>>;
|
1670
1912
|
}
|
1913
|
+
interface ElementInstance extends TypedEventInstance<Element<any, any>> {
|
1914
|
+
data_decoded: Element<any, any>;
|
1915
|
+
type_arguments: [string, string];
|
1916
|
+
}
|
1671
1917
|
interface SimpleMap<T0, T1> {
|
1672
1918
|
data: simple_map.Element<T0, T1>[];
|
1673
1919
|
}
|
@@ -1675,6 +1921,16 @@ export declare namespace simple_map {
|
|
1675
1921
|
const TYPE_QNAME = "0x1::simple_map::SimpleMap";
|
1676
1922
|
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<SimpleMap<T0, T1>>;
|
1677
1923
|
}
|
1924
|
+
interface SimpleMapInstance extends TypedEventInstance<SimpleMap<any, any>> {
|
1925
|
+
data_decoded: SimpleMap<any, any>;
|
1926
|
+
type_arguments: [string, string];
|
1927
|
+
}
|
1928
|
+
}
|
1929
|
+
export declare class smart_table extends AptosBaseProcessor {
|
1930
|
+
constructor(options: AptosBindOptions);
|
1931
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
1932
|
+
static bind(options?: Partial<AptosBindOptions>): smart_table;
|
1933
|
+
onEventEntry(func: (event: smart_table.EntryInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): smart_table;
|
1678
1934
|
}
|
1679
1935
|
export declare namespace smart_table {
|
1680
1936
|
interface Entry<T0, T1> {
|
@@ -1686,6 +1942,10 @@ export declare namespace smart_table {
|
|
1686
1942
|
const TYPE_QNAME = "0x1::smart_table::Entry";
|
1687
1943
|
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Entry<T0, T1>>;
|
1688
1944
|
}
|
1945
|
+
interface EntryInstance extends TypedEventInstance<Entry<any, any>> {
|
1946
|
+
data_decoded: Entry<any, any>;
|
1947
|
+
type_arguments: [string, string];
|
1948
|
+
}
|
1689
1949
|
interface SmartTable<T0, T1> {
|
1690
1950
|
buckets: table_with_length.TableWithLength<bigint, smart_table.Entry<T0, T1>[]>;
|
1691
1951
|
num_buckets: bigint;
|
@@ -1699,6 +1959,14 @@ export declare namespace smart_table {
|
|
1699
1959
|
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<SmartTable<T0, T1>>;
|
1700
1960
|
}
|
1701
1961
|
}
|
1962
|
+
export declare class storage_gas extends AptosBaseProcessor {
|
1963
|
+
constructor(options: AptosBindOptions);
|
1964
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
1965
|
+
static bind(options?: Partial<AptosBindOptions>): storage_gas;
|
1966
|
+
onEventGasCurve(func: (event: storage_gas.GasCurveInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): storage_gas;
|
1967
|
+
onEventPoint(func: (event: storage_gas.PointInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): storage_gas;
|
1968
|
+
onEventUsageGasConfig(func: (event: storage_gas.UsageGasConfigInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): storage_gas;
|
1969
|
+
}
|
1702
1970
|
export declare namespace storage_gas {
|
1703
1971
|
interface GasCurve {
|
1704
1972
|
min_gas: bigint;
|
@@ -1709,6 +1977,10 @@ export declare namespace storage_gas {
|
|
1709
1977
|
const TYPE_QNAME = "0x1::storage_gas::GasCurve";
|
1710
1978
|
function type(): TypeDescriptor<GasCurve>;
|
1711
1979
|
}
|
1980
|
+
interface GasCurveInstance extends TypedEventInstance<GasCurve> {
|
1981
|
+
data_decoded: GasCurve;
|
1982
|
+
type_arguments: [];
|
1983
|
+
}
|
1712
1984
|
interface Point {
|
1713
1985
|
x: bigint;
|
1714
1986
|
y: bigint;
|
@@ -1717,6 +1989,10 @@ export declare namespace storage_gas {
|
|
1717
1989
|
const TYPE_QNAME = "0x1::storage_gas::Point";
|
1718
1990
|
function type(): TypeDescriptor<Point>;
|
1719
1991
|
}
|
1992
|
+
interface PointInstance extends TypedEventInstance<Point> {
|
1993
|
+
data_decoded: Point;
|
1994
|
+
type_arguments: [];
|
1995
|
+
}
|
1720
1996
|
interface StorageGas {
|
1721
1997
|
per_item_read: bigint;
|
1722
1998
|
per_item_create: bigint;
|
@@ -1747,6 +2023,10 @@ export declare namespace storage_gas {
|
|
1747
2023
|
const TYPE_QNAME = "0x1::storage_gas::UsageGasConfig";
|
1748
2024
|
function type(): TypeDescriptor<UsageGasConfig>;
|
1749
2025
|
}
|
2026
|
+
interface UsageGasConfigInstance extends TypedEventInstance<UsageGasConfig> {
|
2027
|
+
data_decoded: UsageGasConfig;
|
2028
|
+
type_arguments: [];
|
2029
|
+
}
|
1750
2030
|
}
|
1751
2031
|
export declare namespace chain_status {
|
1752
2032
|
interface GenesisEndMarker {
|
@@ -1757,6 +2037,12 @@ export declare namespace chain_status {
|
|
1757
2037
|
function type(): TypeDescriptor<GenesisEndMarker>;
|
1758
2038
|
}
|
1759
2039
|
}
|
2040
|
+
export declare class copyable_any extends AptosBaseProcessor {
|
2041
|
+
constructor(options: AptosBindOptions);
|
2042
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
2043
|
+
static bind(options?: Partial<AptosBindOptions>): copyable_any;
|
2044
|
+
onEventAny(func: (event: copyable_any.AnyInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): copyable_any;
|
2045
|
+
}
|
1760
2046
|
export declare namespace copyable_any {
|
1761
2047
|
interface Any {
|
1762
2048
|
type_name: string;
|
@@ -1766,6 +2052,16 @@ export declare namespace copyable_any {
|
|
1766
2052
|
const TYPE_QNAME = "0x1::copyable_any::Any";
|
1767
2053
|
function type(): TypeDescriptor<Any>;
|
1768
2054
|
}
|
2055
|
+
interface AnyInstance extends TypedEventInstance<Any> {
|
2056
|
+
data_decoded: Any;
|
2057
|
+
type_arguments: [];
|
2058
|
+
}
|
2059
|
+
}
|
2060
|
+
export declare class gas_schedule extends AptosBaseProcessor {
|
2061
|
+
constructor(options: AptosBindOptions);
|
2062
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
2063
|
+
static bind(options?: Partial<AptosBindOptions>): gas_schedule;
|
2064
|
+
onEventGasEntry(func: (event: gas_schedule.GasEntryInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): gas_schedule;
|
1769
2065
|
}
|
1770
2066
|
export declare namespace gas_schedule {
|
1771
2067
|
interface GasEntry {
|
@@ -1776,6 +2072,10 @@ export declare namespace gas_schedule {
|
|
1776
2072
|
const TYPE_QNAME = "0x1::gas_schedule::GasEntry";
|
1777
2073
|
function type(): TypeDescriptor<GasEntry>;
|
1778
2074
|
}
|
2075
|
+
interface GasEntryInstance extends TypedEventInstance<GasEntry> {
|
2076
|
+
data_decoded: GasEntry;
|
2077
|
+
type_arguments: [];
|
2078
|
+
}
|
1779
2079
|
interface GasSchedule {
|
1780
2080
|
entries: gas_schedule.GasEntry[];
|
1781
2081
|
}
|
@@ -1829,6 +2129,13 @@ export declare namespace managed_coin {
|
|
1829
2129
|
}
|
1830
2130
|
}
|
1831
2131
|
export declare namespace math_fixed64 { }
|
2132
|
+
export declare class ristretto255 extends AptosBaseProcessor {
|
2133
|
+
constructor(options: AptosBindOptions);
|
2134
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
2135
|
+
static bind(options?: Partial<AptosBindOptions>): ristretto255;
|
2136
|
+
onEventCompressedRistretto(func: (event: ristretto255.CompressedRistrettoInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): ristretto255;
|
2137
|
+
onEventScalar(func: (event: ristretto255.ScalarInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): ristretto255;
|
2138
|
+
}
|
1832
2139
|
export declare namespace ristretto255 {
|
1833
2140
|
interface CompressedRistretto {
|
1834
2141
|
data: string;
|
@@ -1837,6 +2144,10 @@ export declare namespace ristretto255 {
|
|
1837
2144
|
const TYPE_QNAME = "0x1::ristretto255::CompressedRistretto";
|
1838
2145
|
function type(): TypeDescriptor<CompressedRistretto>;
|
1839
2146
|
}
|
2147
|
+
interface CompressedRistrettoInstance extends TypedEventInstance<CompressedRistretto> {
|
2148
|
+
data_decoded: CompressedRistretto;
|
2149
|
+
type_arguments: [];
|
2150
|
+
}
|
1840
2151
|
interface RistrettoPoint {
|
1841
2152
|
handle: bigint;
|
1842
2153
|
}
|
@@ -1851,6 +2162,10 @@ export declare namespace ristretto255 {
|
|
1851
2162
|
const TYPE_QNAME = "0x1::ristretto255::Scalar";
|
1852
2163
|
function type(): TypeDescriptor<Scalar>;
|
1853
2164
|
}
|
2165
|
+
interface ScalarInstance extends TypedEventInstance<Scalar> {
|
2166
|
+
data_decoded: Scalar;
|
2167
|
+
type_arguments: [];
|
2168
|
+
}
|
1854
2169
|
}
|
1855
2170
|
export declare namespace smart_vector {
|
1856
2171
|
interface SmartVector<T0> {
|
@@ -1864,6 +2179,14 @@ export declare namespace smart_vector {
|
|
1864
2179
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<SmartVector<T0>>;
|
1865
2180
|
}
|
1866
2181
|
}
|
2182
|
+
export declare class string_utils extends AptosBaseProcessor {
|
2183
|
+
constructor(options: AptosBindOptions);
|
2184
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
2185
|
+
static bind(options?: Partial<AptosBindOptions>): string_utils;
|
2186
|
+
onEventCons(func: (event: string_utils.ConsInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): string_utils;
|
2187
|
+
onEventFakeCons(func: (event: string_utils.FakeConsInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): string_utils;
|
2188
|
+
onEventNIL(func: (event: string_utils.NILInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): string_utils;
|
2189
|
+
}
|
1867
2190
|
export declare namespace string_utils {
|
1868
2191
|
interface Cons<T0, T1> {
|
1869
2192
|
car: T0;
|
@@ -1873,6 +2196,10 @@ export declare namespace string_utils {
|
|
1873
2196
|
const TYPE_QNAME = "0x1::string_utils::Cons";
|
1874
2197
|
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Cons<T0, T1>>;
|
1875
2198
|
}
|
2199
|
+
interface ConsInstance extends TypedEventInstance<Cons<any, any>> {
|
2200
|
+
data_decoded: Cons<any, any>;
|
2201
|
+
type_arguments: [string, string];
|
2202
|
+
}
|
1876
2203
|
interface FakeCons<T0, T1> {
|
1877
2204
|
car: T0;
|
1878
2205
|
cdr: T1;
|
@@ -1881,6 +2208,10 @@ export declare namespace string_utils {
|
|
1881
2208
|
const TYPE_QNAME = "0x1::string_utils::FakeCons";
|
1882
2209
|
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<FakeCons<T0, T1>>;
|
1883
2210
|
}
|
2211
|
+
interface FakeConsInstance extends TypedEventInstance<FakeCons<any, any>> {
|
2212
|
+
data_decoded: FakeCons<any, any>;
|
2213
|
+
type_arguments: [string, string];
|
2214
|
+
}
|
1884
2215
|
interface NIL {
|
1885
2216
|
dummy_field: Boolean;
|
1886
2217
|
}
|
@@ -1888,6 +2219,10 @@ export declare namespace string_utils {
|
|
1888
2219
|
const TYPE_QNAME = "0x1::string_utils::NIL";
|
1889
2220
|
function type(): TypeDescriptor<NIL>;
|
1890
2221
|
}
|
2222
|
+
interface NILInstance extends TypedEventInstance<NIL> {
|
2223
|
+
data_decoded: NIL;
|
2224
|
+
type_arguments: [];
|
2225
|
+
}
|
1891
2226
|
}
|
1892
2227
|
export declare class aptos_account extends AptosBaseProcessor {
|
1893
2228
|
constructor(options: AptosBindOptions);
|
@@ -1947,6 +2282,12 @@ export declare namespace aptos_account {
|
|
1947
2282
|
}
|
1948
2283
|
}
|
1949
2284
|
export declare namespace create_signer { }
|
2285
|
+
export declare class fixed_point32 extends AptosBaseProcessor {
|
2286
|
+
constructor(options: AptosBindOptions);
|
2287
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
2288
|
+
static bind(options?: Partial<AptosBindOptions>): fixed_point32;
|
2289
|
+
onEventFixedPoint32(func: (event: fixed_point32.FixedPoint32Instance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): fixed_point32;
|
2290
|
+
}
|
1950
2291
|
export declare namespace fixed_point32 {
|
1951
2292
|
interface FixedPoint32 {
|
1952
2293
|
value: bigint;
|
@@ -1955,6 +2296,16 @@ export declare namespace fixed_point32 {
|
|
1955
2296
|
const TYPE_QNAME = "0x1::fixed_point32::FixedPoint32";
|
1956
2297
|
function type(): TypeDescriptor<FixedPoint32>;
|
1957
2298
|
}
|
2299
|
+
interface FixedPoint32Instance extends TypedEventInstance<FixedPoint32> {
|
2300
|
+
data_decoded: FixedPoint32;
|
2301
|
+
type_arguments: [];
|
2302
|
+
}
|
2303
|
+
}
|
2304
|
+
export declare class fixed_point64 extends AptosBaseProcessor {
|
2305
|
+
constructor(options: AptosBindOptions);
|
2306
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
2307
|
+
static bind(options?: Partial<AptosBindOptions>): fixed_point64;
|
2308
|
+
onEventFixedPoint64(func: (event: fixed_point64.FixedPoint64Instance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): fixed_point64;
|
1958
2309
|
}
|
1959
2310
|
export declare namespace fixed_point64 {
|
1960
2311
|
interface FixedPoint64 {
|
@@ -1964,6 +2315,18 @@ export declare namespace fixed_point64 {
|
|
1964
2315
|
const TYPE_QNAME = "0x1::fixed_point64::FixedPoint64";
|
1965
2316
|
function type(): TypeDescriptor<FixedPoint64>;
|
1966
2317
|
}
|
2318
|
+
interface FixedPoint64Instance extends TypedEventInstance<FixedPoint64> {
|
2319
|
+
data_decoded: FixedPoint64;
|
2320
|
+
type_arguments: [];
|
2321
|
+
}
|
2322
|
+
}
|
2323
|
+
export declare class multi_ed25519 extends AptosBaseProcessor {
|
2324
|
+
constructor(options: AptosBindOptions);
|
2325
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
2326
|
+
static bind(options?: Partial<AptosBindOptions>): multi_ed25519;
|
2327
|
+
onEventSignature(func: (event: multi_ed25519.SignatureInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multi_ed25519;
|
2328
|
+
onEventUnvalidatedPublicKey(func: (event: multi_ed25519.UnvalidatedPublicKeyInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multi_ed25519;
|
2329
|
+
onEventValidatedPublicKey(func: (event: multi_ed25519.ValidatedPublicKeyInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multi_ed25519;
|
1967
2330
|
}
|
1968
2331
|
export declare namespace multi_ed25519 {
|
1969
2332
|
interface Signature {
|
@@ -1973,6 +2336,10 @@ export declare namespace multi_ed25519 {
|
|
1973
2336
|
const TYPE_QNAME = "0x1::multi_ed25519::Signature";
|
1974
2337
|
function type(): TypeDescriptor<Signature>;
|
1975
2338
|
}
|
2339
|
+
interface SignatureInstance extends TypedEventInstance<Signature> {
|
2340
|
+
data_decoded: Signature;
|
2341
|
+
type_arguments: [];
|
2342
|
+
}
|
1976
2343
|
interface UnvalidatedPublicKey {
|
1977
2344
|
bytes: string;
|
1978
2345
|
}
|
@@ -1980,6 +2347,10 @@ export declare namespace multi_ed25519 {
|
|
1980
2347
|
const TYPE_QNAME = "0x1::multi_ed25519::UnvalidatedPublicKey";
|
1981
2348
|
function type(): TypeDescriptor<UnvalidatedPublicKey>;
|
1982
2349
|
}
|
2350
|
+
interface UnvalidatedPublicKeyInstance extends TypedEventInstance<UnvalidatedPublicKey> {
|
2351
|
+
data_decoded: UnvalidatedPublicKey;
|
2352
|
+
type_arguments: [];
|
2353
|
+
}
|
1983
2354
|
interface ValidatedPublicKey {
|
1984
2355
|
bytes: string;
|
1985
2356
|
}
|
@@ -1987,6 +2358,10 @@ export declare namespace multi_ed25519 {
|
|
1987
2358
|
const TYPE_QNAME = "0x1::multi_ed25519::ValidatedPublicKey";
|
1988
2359
|
function type(): TypeDescriptor<ValidatedPublicKey>;
|
1989
2360
|
}
|
2361
|
+
interface ValidatedPublicKeyInstance extends TypedEventInstance<ValidatedPublicKey> {
|
2362
|
+
data_decoded: ValidatedPublicKey;
|
2363
|
+
type_arguments: [];
|
2364
|
+
}
|
1990
2365
|
}
|
1991
2366
|
export declare class staking_proxy extends AptosBaseProcessor {
|
1992
2367
|
constructor(options: AptosBindOptions);
|
@@ -2035,6 +2410,12 @@ export declare namespace staking_proxy {
|
|
2035
2410
|
type_arguments: [];
|
2036
2411
|
}
|
2037
2412
|
}
|
2413
|
+
export declare class state_storage extends AptosBaseProcessor {
|
2414
|
+
constructor(options: AptosBindOptions);
|
2415
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
2416
|
+
static bind(options?: Partial<AptosBindOptions>): state_storage;
|
2417
|
+
onEventUsage(func: (event: state_storage.UsageInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): state_storage;
|
2418
|
+
}
|
2038
2419
|
export declare namespace state_storage {
|
2039
2420
|
interface GasParameter {
|
2040
2421
|
usage: state_storage.Usage;
|
@@ -2059,6 +2440,10 @@ export declare namespace state_storage {
|
|
2059
2440
|
const TYPE_QNAME = "0x1::state_storage::Usage";
|
2060
2441
|
function type(): TypeDescriptor<Usage>;
|
2061
2442
|
}
|
2443
|
+
interface UsageInstance extends TypedEventInstance<Usage> {
|
2444
|
+
data_decoded: Usage;
|
2445
|
+
type_arguments: [];
|
2446
|
+
}
|
2062
2447
|
}
|
2063
2448
|
export declare namespace crypto_algebra {
|
2064
2449
|
interface Element<T0> {
|
@@ -2074,9 +2459,12 @@ export declare class fungible_asset extends AptosBaseProcessor {
|
|
2074
2459
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
2075
2460
|
static bind(options?: Partial<AptosBindOptions>): fungible_asset;
|
2076
2461
|
onEntryTransfer(func: (call: fungible_asset.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
2462
|
+
onEventBurnRef(func: (event: fungible_asset.BurnRefInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
2077
2463
|
onEventDepositEvent(func: (event: fungible_asset.DepositEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
2078
|
-
onEventWithdrawEvent(func: (event: fungible_asset.WithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
2079
2464
|
onEventFrozenEvent(func: (event: fungible_asset.FrozenEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
2465
|
+
onEventMintRef(func: (event: fungible_asset.MintRefInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
2466
|
+
onEventTransferRef(func: (event: fungible_asset.TransferRefInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
2467
|
+
onEventWithdrawEvent(func: (event: fungible_asset.WithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
2080
2468
|
}
|
2081
2469
|
export declare namespace fungible_asset {
|
2082
2470
|
interface BurnRef {
|
@@ -2086,6 +2474,10 @@ export declare namespace fungible_asset {
|
|
2086
2474
|
const TYPE_QNAME = "0x1::fungible_asset::BurnRef";
|
2087
2475
|
function type(): TypeDescriptor<BurnRef>;
|
2088
2476
|
}
|
2477
|
+
interface BurnRefInstance extends TypedEventInstance<BurnRef> {
|
2478
|
+
data_decoded: BurnRef;
|
2479
|
+
type_arguments: [];
|
2480
|
+
}
|
2089
2481
|
interface DepositEvent {
|
2090
2482
|
amount: bigint;
|
2091
2483
|
}
|
@@ -2152,6 +2544,10 @@ export declare namespace fungible_asset {
|
|
2152
2544
|
const TYPE_QNAME = "0x1::fungible_asset::MintRef";
|
2153
2545
|
function type(): TypeDescriptor<MintRef>;
|
2154
2546
|
}
|
2547
|
+
interface MintRefInstance extends TypedEventInstance<MintRef> {
|
2548
|
+
data_decoded: MintRef;
|
2549
|
+
type_arguments: [];
|
2550
|
+
}
|
2155
2551
|
interface Supply {
|
2156
2552
|
current: bigint;
|
2157
2553
|
maximum: option.Option<bigint>;
|
@@ -2167,6 +2563,10 @@ export declare namespace fungible_asset {
|
|
2167
2563
|
const TYPE_QNAME = "0x1::fungible_asset::TransferRef";
|
2168
2564
|
function type(): TypeDescriptor<TransferRef>;
|
2169
2565
|
}
|
2566
|
+
interface TransferRefInstance extends TypedEventInstance<TransferRef> {
|
2567
|
+
data_decoded: TransferRef;
|
2568
|
+
type_arguments: [];
|
2569
|
+
}
|
2170
2570
|
interface WithdrawEvent {
|
2171
2571
|
amount: bigint;
|
2172
2572
|
}
|
@@ -2230,13 +2630,17 @@ export declare class delegation_pool extends AptosBaseProcessor {
|
|
2230
2630
|
onEntryVote(func: (call: delegation_pool.VotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2231
2631
|
onEntryWithdraw(func: (call: delegation_pool.WithdrawPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2232
2632
|
onEventAddStakeEvent(func: (event: delegation_pool.AddStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2633
|
+
onEventCreateProposalEvent(func: (event: delegation_pool.CreateProposalEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2634
|
+
onEventDelegateVotingPowerEvent(func: (event: delegation_pool.DelegateVotingPowerEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2635
|
+
onEventDelegatedVotes(func: (event: delegation_pool.DelegatedVotesInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2636
|
+
onEventDistributeCommissionEvent(func: (event: delegation_pool.DistributeCommissionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2637
|
+
onEventObservedLockupCycle(func: (event: delegation_pool.ObservedLockupCycleInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2233
2638
|
onEventReactivateStakeEvent(func: (event: delegation_pool.ReactivateStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2234
2639
|
onEventUnlockStakeEvent(func: (event: delegation_pool.UnlockStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2235
|
-
|
2236
|
-
onEventDistributeCommissionEvent(func: (event: delegation_pool.DistributeCommissionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2640
|
+
onEventVoteDelegation(func: (event: delegation_pool.VoteDelegationInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2237
2641
|
onEventVoteEvent(func: (event: delegation_pool.VoteEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2238
|
-
|
2239
|
-
|
2642
|
+
onEventVotingRecordKey(func: (event: delegation_pool.VotingRecordKeyInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2643
|
+
onEventWithdrawStakeEvent(func: (event: delegation_pool.WithdrawStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2240
2644
|
}
|
2241
2645
|
export declare namespace delegation_pool {
|
2242
2646
|
interface AddStakeEvent {
|
@@ -2289,6 +2693,10 @@ export declare namespace delegation_pool {
|
|
2289
2693
|
const TYPE_QNAME = "0x1::delegation_pool::DelegatedVotes";
|
2290
2694
|
function type(): TypeDescriptor<DelegatedVotes>;
|
2291
2695
|
}
|
2696
|
+
interface DelegatedVotesInstance extends TypedEventInstance<DelegatedVotes> {
|
2697
|
+
data_decoded: DelegatedVotes;
|
2698
|
+
type_arguments: [];
|
2699
|
+
}
|
2292
2700
|
interface DelegationPool {
|
2293
2701
|
active_shares: pool_u64_unbound.Pool;
|
2294
2702
|
observed_lockup_cycle: delegation_pool.ObservedLockupCycle;
|
@@ -2348,6 +2756,10 @@ export declare namespace delegation_pool {
|
|
2348
2756
|
const TYPE_QNAME = "0x1::delegation_pool::ObservedLockupCycle";
|
2349
2757
|
function type(): TypeDescriptor<ObservedLockupCycle>;
|
2350
2758
|
}
|
2759
|
+
interface ObservedLockupCycleInstance extends TypedEventInstance<ObservedLockupCycle> {
|
2760
|
+
data_decoded: ObservedLockupCycle;
|
2761
|
+
type_arguments: [];
|
2762
|
+
}
|
2351
2763
|
interface ReactivateStakeEvent {
|
2352
2764
|
pool_address: Address;
|
2353
2765
|
delegator_address: Address;
|
@@ -2383,6 +2795,10 @@ export declare namespace delegation_pool {
|
|
2383
2795
|
const TYPE_QNAME = "0x1::delegation_pool::VoteDelegation";
|
2384
2796
|
function type(): TypeDescriptor<VoteDelegation>;
|
2385
2797
|
}
|
2798
|
+
interface VoteDelegationInstance extends TypedEventInstance<VoteDelegation> {
|
2799
|
+
data_decoded: VoteDelegation;
|
2800
|
+
type_arguments: [];
|
2801
|
+
}
|
2386
2802
|
interface VoteEvent {
|
2387
2803
|
voter: Address;
|
2388
2804
|
proposal_id: bigint;
|
@@ -2406,6 +2822,10 @@ export declare namespace delegation_pool {
|
|
2406
2822
|
const TYPE_QNAME = "0x1::delegation_pool::VotingRecordKey";
|
2407
2823
|
function type(): TypeDescriptor<VotingRecordKey>;
|
2408
2824
|
}
|
2825
|
+
interface VotingRecordKeyInstance extends TypedEventInstance<VotingRecordKey> {
|
2826
|
+
data_decoded: VotingRecordKey;
|
2827
|
+
type_arguments: [];
|
2828
|
+
}
|
2409
2829
|
interface WithdrawStakeEvent {
|
2410
2830
|
pool_address: Address;
|
2411
2831
|
delegator_address: Address;
|
@@ -2531,6 +2951,7 @@ export declare class aptos_governance extends AptosBaseProcessor {
|
|
2531
2951
|
onEntryPartialVote(func: (call: aptos_governance.PartialVotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2532
2952
|
onEntryVote(func: (call: aptos_governance.VotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2533
2953
|
onEventCreateProposalEvent(func: (event: aptos_governance.CreateProposalEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2954
|
+
onEventRecordKey(func: (event: aptos_governance.RecordKeyInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2534
2955
|
onEventUpdateConfigEvent(func: (event: aptos_governance.UpdateConfigEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2535
2956
|
onEventVoteEvent(func: (event: aptos_governance.VoteEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2536
2957
|
}
|
@@ -2590,6 +3011,10 @@ export declare namespace aptos_governance {
|
|
2590
3011
|
const TYPE_QNAME = "0x1::aptos_governance::RecordKey";
|
2591
3012
|
function type(): TypeDescriptor<RecordKey>;
|
2592
3013
|
}
|
3014
|
+
interface RecordKeyInstance extends TypedEventInstance<RecordKey> {
|
3015
|
+
data_decoded: RecordKey;
|
3016
|
+
type_arguments: [];
|
3017
|
+
}
|
2593
3018
|
interface UpdateConfigEvent {
|
2594
3019
|
min_voting_threshold: bigint;
|
2595
3020
|
required_proposer_stake: bigint;
|
@@ -2804,14 +3229,16 @@ export declare class multisig_account extends AptosBaseProcessor {
|
|
2804
3229
|
onEntryUpdateSignaturesRequired(func: (call: multisig_account.UpdateSignaturesRequiredPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2805
3230
|
onEntryVoteTransanction(func: (call: multisig_account.VoteTransanctionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2806
3231
|
onEventAddOwnersEvent(func: (event: multisig_account.AddOwnersEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2807
|
-
onEventRemoveOwnersEvent(func: (event: multisig_account.RemoveOwnersEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2808
|
-
onEventUpdateSignaturesRequiredEvent(func: (event: multisig_account.UpdateSignaturesRequiredEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2809
3232
|
onEventCreateTransactionEvent(func: (event: multisig_account.CreateTransactionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2810
|
-
onEventVoteEvent(func: (event: multisig_account.VoteEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2811
3233
|
onEventExecuteRejectedTransactionEvent(func: (event: multisig_account.ExecuteRejectedTransactionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2812
|
-
|
2813
|
-
onEventTransactionExecutionFailedEvent(func: (event: multisig_account.TransactionExecutionFailedEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
3234
|
+
onEventExecutionError(func: (event: multisig_account.ExecutionErrorInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2814
3235
|
onEventMetadataUpdatedEvent(func: (event: multisig_account.MetadataUpdatedEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
3236
|
+
onEventMultisigTransaction(func: (event: multisig_account.MultisigTransactionInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
3237
|
+
onEventRemoveOwnersEvent(func: (event: multisig_account.RemoveOwnersEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
3238
|
+
onEventTransactionExecutionFailedEvent(func: (event: multisig_account.TransactionExecutionFailedEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
3239
|
+
onEventTransactionExecutionSucceededEvent(func: (event: multisig_account.TransactionExecutionSucceededEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
3240
|
+
onEventUpdateSignaturesRequiredEvent(func: (event: multisig_account.UpdateSignaturesRequiredEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
3241
|
+
onEventVoteEvent(func: (event: multisig_account.VoteEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2815
3242
|
}
|
2816
3243
|
export declare namespace multisig_account {
|
2817
3244
|
interface AddOwnersEvent {
|
@@ -2860,6 +3287,10 @@ export declare namespace multisig_account {
|
|
2860
3287
|
const TYPE_QNAME = "0x1::multisig_account::ExecutionError";
|
2861
3288
|
function type(): TypeDescriptor<ExecutionError>;
|
2862
3289
|
}
|
3290
|
+
interface ExecutionErrorInstance extends TypedEventInstance<ExecutionError> {
|
3291
|
+
data_decoded: ExecutionError;
|
3292
|
+
type_arguments: [];
|
3293
|
+
}
|
2863
3294
|
interface MetadataUpdatedEvent {
|
2864
3295
|
old_metadata: simple_map.SimpleMap<string, string>;
|
2865
3296
|
new_metadata: simple_map.SimpleMap<string, string>;
|
@@ -2927,6 +3358,10 @@ export declare namespace multisig_account {
|
|
2927
3358
|
const TYPE_QNAME = "0x1::multisig_account::MultisigTransaction";
|
2928
3359
|
function type(): TypeDescriptor<MultisigTransaction>;
|
2929
3360
|
}
|
3361
|
+
interface MultisigTransactionInstance extends TypedEventInstance<MultisigTransaction> {
|
3362
|
+
data_decoded: MultisigTransaction;
|
3363
|
+
type_arguments: [];
|
3364
|
+
}
|
2930
3365
|
interface RemoveOwnersEvent {
|
2931
3366
|
owners_removed: Address[];
|
2932
3367
|
}
|
@@ -3169,16 +3604,16 @@ export declare class staking_contract extends AptosBaseProcessor {
|
|
3169
3604
|
onEntryUnlockStake(func: (call: staking_contract.UnlockStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
3170
3605
|
onEntryUpdateCommision(func: (call: staking_contract.UpdateCommisionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
3171
3606
|
onEntryUpdateVoter(func: (call: staking_contract.UpdateVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
3172
|
-
|
3173
|
-
onEventCreateStakingContractEvent(func: (event: staking_contract.CreateStakingContractEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
3174
|
-
onEventUpdateVoterEvent(func: (event: staking_contract.UpdateVoterEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
3175
|
-
onEventResetLockupEvent(func: (event: staking_contract.ResetLockupEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
3607
|
+
onEventAddDistributionEvent(func: (event: staking_contract.AddDistributionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
3176
3608
|
onEventAddStakeEvent(func: (event: staking_contract.AddStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
3609
|
+
onEventCreateStakingContractEvent(func: (event: staking_contract.CreateStakingContractEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
3610
|
+
onEventDistributeEvent(func: (event: staking_contract.DistributeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
3177
3611
|
onEventRequestCommissionEvent(func: (event: staking_contract.RequestCommissionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
3178
|
-
|
3612
|
+
onEventResetLockupEvent(func: (event: staking_contract.ResetLockupEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
3179
3613
|
onEventSwitchOperatorEvent(func: (event: staking_contract.SwitchOperatorEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
3180
|
-
|
3181
|
-
|
3614
|
+
onEventUnlockStakeEvent(func: (event: staking_contract.UnlockStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
3615
|
+
onEventUpdateCommissionEvent(func: (event: staking_contract.UpdateCommissionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
3616
|
+
onEventUpdateVoterEvent(func: (event: staking_contract.UpdateVoterEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
3182
3617
|
}
|
3183
3618
|
export declare namespace staking_contract {
|
3184
3619
|
interface AddDistributionEvent {
|
@@ -3424,6 +3859,12 @@ export declare namespace aggregator_factory {
|
|
3424
3859
|
function type(): TypeDescriptor<AggregatorFactory>;
|
3425
3860
|
}
|
3426
3861
|
}
|
3862
|
+
export declare class governance_proposal extends AptosBaseProcessor {
|
3863
|
+
constructor(options: AptosBindOptions);
|
3864
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
3865
|
+
static bind(options?: Partial<AptosBindOptions>): governance_proposal;
|
3866
|
+
onEventGovernanceProposal(func: (event: governance_proposal.GovernanceProposalInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): governance_proposal;
|
3867
|
+
}
|
3427
3868
|
export declare namespace governance_proposal {
|
3428
3869
|
interface GovernanceProposal {
|
3429
3870
|
dummy_field: Boolean;
|
@@ -3432,6 +3873,10 @@ export declare namespace governance_proposal {
|
|
3432
3873
|
const TYPE_QNAME = "0x1::governance_proposal::GovernanceProposal";
|
3433
3874
|
function type(): TypeDescriptor<GovernanceProposal>;
|
3434
3875
|
}
|
3876
|
+
interface GovernanceProposalInstance extends TypedEventInstance<GovernanceProposal> {
|
3877
|
+
data_decoded: GovernanceProposal;
|
3878
|
+
type_arguments: [];
|
3879
|
+
}
|
3435
3880
|
}
|
3436
3881
|
export declare namespace optional_aggregator {
|
3437
3882
|
interface Integer {
|
@@ -3451,6 +3896,12 @@ export declare namespace optional_aggregator {
|
|
3451
3896
|
function type(): TypeDescriptor<OptionalAggregator>;
|
3452
3897
|
}
|
3453
3898
|
}
|
3899
|
+
export declare class transaction_context extends AptosBaseProcessor {
|
3900
|
+
constructor(options: AptosBindOptions);
|
3901
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
3902
|
+
static bind(options?: Partial<AptosBindOptions>): transaction_context;
|
3903
|
+
onEventAUID(func: (event: transaction_context.AUIDInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): transaction_context;
|
3904
|
+
}
|
3454
3905
|
export declare namespace transaction_context {
|
3455
3906
|
interface AUID {
|
3456
3907
|
unique_address: Address;
|
@@ -3459,6 +3910,10 @@ export declare namespace transaction_context {
|
|
3459
3910
|
const TYPE_QNAME = "0x1::transaction_context::AUID";
|
3460
3911
|
function type(): TypeDescriptor<AUID>;
|
3461
3912
|
}
|
3913
|
+
interface AUIDInstance extends TypedEventInstance<AUID> {
|
3914
|
+
data_decoded: AUID;
|
3915
|
+
type_arguments: [];
|
3916
|
+
}
|
3462
3917
|
}
|
3463
3918
|
export declare class primary_fungible_store extends AptosBaseProcessor {
|
3464
3919
|
constructor(options: AptosBindOptions);
|