@typemove/aptos 1.8.3 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/cjs/builtin/0x1.d.ts +308 -308
  2. package/dist/cjs/builtin/0x1.d.ts.map +1 -1
  3. package/dist/cjs/builtin/0x1.js +2 -2
  4. package/dist/cjs/builtin/0x1.js.map +1 -1
  5. package/dist/cjs/builtin/0x3.d.ts +102 -102
  6. package/dist/cjs/builtin/0x3.d.ts.map +1 -1
  7. package/dist/cjs/builtin/0x3.js +2 -2
  8. package/dist/cjs/builtin/0x3.js.map +1 -1
  9. package/dist/cjs/builtin/0x4.d.ts +22 -22
  10. package/dist/cjs/builtin/0x4.d.ts.map +1 -1
  11. package/dist/cjs/builtin/0x4.js +2 -2
  12. package/dist/cjs/builtin/0x4.js.map +1 -1
  13. package/dist/cjs/codegen/codegen.js +2 -2
  14. package/dist/cjs/codegen/codegen.js.map +1 -1
  15. package/dist/cjs/coder-helpers.js +1 -2
  16. package/dist/cjs/coder-helpers.js.map +1 -1
  17. package/dist/cjs/move-coder.d.ts.map +1 -1
  18. package/dist/cjs/move-coder.js +3 -2
  19. package/dist/cjs/move-coder.js.map +1 -1
  20. package/dist/cjs/to-internal.d.ts.map +1 -1
  21. package/dist/cjs/to-internal.js +6 -6
  22. package/dist/cjs/to-internal.js.map +1 -1
  23. package/dist/esm/builtin/0x1.d.ts +308 -308
  24. package/dist/esm/builtin/0x1.d.ts.map +1 -1
  25. package/dist/esm/builtin/0x1.js.map +1 -1
  26. package/dist/esm/builtin/0x3.d.ts +102 -102
  27. package/dist/esm/builtin/0x3.d.ts.map +1 -1
  28. package/dist/esm/builtin/0x3.js.map +1 -1
  29. package/dist/esm/builtin/0x4.d.ts +22 -22
  30. package/dist/esm/builtin/0x4.d.ts.map +1 -1
  31. package/dist/esm/builtin/0x4.js.map +1 -1
  32. package/dist/esm/move-coder.d.ts.map +1 -1
  33. package/dist/esm/move-coder.js +1 -0
  34. package/dist/esm/move-coder.js.map +1 -1
  35. package/dist/esm/to-internal.d.ts.map +1 -1
  36. package/dist/esm/to-internal.js +2 -1
  37. package/dist/esm/to-internal.js.map +1 -1
  38. package/package.json +2 -2
  39. package/src/builtin/0x1.ts +539 -579
  40. package/src/builtin/0x3.ts +177 -191
  41. package/src/builtin/0x4.ts +28 -31
  42. package/src/move-coder.ts +1 -0
  43. package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts +55 -55
  44. package/src/tests/types/0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99.ts +32 -36
  45. package/src/tests/types/0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541.ts +36 -42
  46. package/src/to-internal.ts +2 -1
@@ -56,10 +56,10 @@ export declare namespace dkg {
56
56
  const TYPE_QNAME = "0x1::dkg::DKGStartEvent";
57
57
  function type(): TypeDescriptor<DKGStartEvent>;
58
58
  }
59
- interface DKGStartEventInstance extends TypedEventInstance<DKGStartEvent> {
59
+ type DKGStartEventInstance = TypedEventInstance<DKGStartEvent> & {
60
60
  data_decoded: DKGStartEvent;
61
61
  type_arguments: [];
62
- }
62
+ };
63
63
  interface DKGState {
64
64
  last_completed: option.Option<dkg.DKGSessionState>;
65
65
  in_progress: option.Option<dkg.DKGSessionState>;
@@ -131,10 +131,10 @@ export declare namespace code {
131
131
  const TYPE_QNAME = "0x1::code::PublishPackage";
132
132
  function type(): TypeDescriptor<PublishPackage>;
133
133
  }
134
- interface PublishPackageInstance extends TypedEventInstance<PublishPackage> {
134
+ type PublishPackageInstance = TypedEventInstance<PublishPackage> & {
135
135
  data_decoded: PublishPackage;
136
136
  type_arguments: [];
137
- }
137
+ };
138
138
  interface UpgradePolicy {
139
139
  policy: number;
140
140
  }
@@ -166,10 +166,10 @@ export declare namespace coin {
166
166
  const TYPE_QNAME = "0x1::coin::DepositEvent";
167
167
  function type(): TypeDescriptor<DepositEvent>;
168
168
  }
169
- interface DepositEventInstance extends TypedEventInstance<DepositEvent> {
169
+ type DepositEventInstance = TypedEventInstance<DepositEvent> & {
170
170
  data_decoded: DepositEvent;
171
171
  type_arguments: [];
172
- }
172
+ };
173
173
  interface Withdraw<T0> {
174
174
  account: MoveAddressType;
175
175
  amount: bigint;
@@ -185,10 +185,10 @@ export declare namespace coin {
185
185
  const TYPE_QNAME = "0x1::coin::WithdrawEvent";
186
186
  function type(): TypeDescriptor<WithdrawEvent>;
187
187
  }
188
- interface WithdrawEventInstance extends TypedEventInstance<WithdrawEvent> {
188
+ type WithdrawEventInstance = TypedEventInstance<WithdrawEvent> & {
189
189
  data_decoded: WithdrawEvent;
190
190
  type_arguments: [];
191
- }
191
+ };
192
192
  interface AggregatableCoin<T0> {
193
193
  value: aggregator.Aggregator;
194
194
  }
@@ -233,10 +233,10 @@ export declare namespace coin {
233
233
  const TYPE_QNAME = "0x1::coin::CoinDeposit";
234
234
  function type(): TypeDescriptor<CoinDeposit>;
235
235
  }
236
- interface CoinDepositInstance extends TypedEventInstance<CoinDeposit> {
236
+ type CoinDepositInstance = TypedEventInstance<CoinDeposit> & {
237
237
  data_decoded: CoinDeposit;
238
238
  type_arguments: [];
239
- }
239
+ };
240
240
  interface CoinEventHandleDeletion {
241
241
  event_handle_creation_address: MoveAddressType;
242
242
  deleted_deposit_event_handle_creation_number: bigint;
@@ -246,10 +246,10 @@ export declare namespace coin {
246
246
  const TYPE_QNAME = "0x1::coin::CoinEventHandleDeletion";
247
247
  function type(): TypeDescriptor<CoinEventHandleDeletion>;
248
248
  }
249
- interface CoinEventHandleDeletionInstance extends TypedEventInstance<CoinEventHandleDeletion> {
249
+ type CoinEventHandleDeletionInstance = TypedEventInstance<CoinEventHandleDeletion> & {
250
250
  data_decoded: CoinEventHandleDeletion;
251
251
  type_arguments: [];
252
- }
252
+ };
253
253
  interface CoinInfo<T0> {
254
254
  name: string;
255
255
  symbol: string;
@@ -279,10 +279,10 @@ export declare namespace coin {
279
279
  const TYPE_QNAME = "0x1::coin::CoinWithdraw";
280
280
  function type(): TypeDescriptor<CoinWithdraw>;
281
281
  }
282
- interface CoinWithdrawInstance extends TypedEventInstance<CoinWithdraw> {
282
+ type CoinWithdrawInstance = TypedEventInstance<CoinWithdraw> & {
283
283
  data_decoded: CoinWithdraw;
284
284
  type_arguments: [];
285
- }
285
+ };
286
286
  interface FreezeCapability<T0> {
287
287
  dummy_field: boolean;
288
288
  }
@@ -319,10 +319,10 @@ export declare namespace coin {
319
319
  const TYPE_QNAME = "0x1::coin::PairCreation";
320
320
  function type(): TypeDescriptor<PairCreation>;
321
321
  }
322
- interface PairCreationInstance extends TypedEventInstance<PairCreation> {
322
+ type PairCreationInstance = TypedEventInstance<PairCreation> & {
323
323
  data_decoded: PairCreation;
324
324
  type_arguments: [];
325
- }
325
+ };
326
326
  interface PairedCoinType {
327
327
  type: type_info.TypeInfo;
328
328
  }
@@ -507,10 +507,10 @@ export declare namespace jwks {
507
507
  const TYPE_QNAME = "0x1::jwks::ObservedJWKsUpdated";
508
508
  function type(): TypeDescriptor<ObservedJWKsUpdated>;
509
509
  }
510
- interface ObservedJWKsUpdatedInstance extends TypedEventInstance<ObservedJWKsUpdated> {
510
+ type ObservedJWKsUpdatedInstance = TypedEventInstance<ObservedJWKsUpdated> & {
511
511
  data_decoded: ObservedJWKsUpdated;
512
512
  type_arguments: [];
513
- }
513
+ };
514
514
  interface Patch {
515
515
  variant: copyable_any.Any;
516
516
  }
@@ -643,10 +643,10 @@ export declare namespace block {
643
643
  const TYPE_QNAME = "0x1::block::NewBlock";
644
644
  function type(): TypeDescriptor<NewBlock>;
645
645
  }
646
- interface NewBlockInstance extends TypedEventInstance<NewBlock> {
646
+ type NewBlockInstance = TypedEventInstance<NewBlock> & {
647
647
  data_decoded: NewBlock;
648
648
  type_arguments: [];
649
- }
649
+ };
650
650
  interface NewBlockEvent {
651
651
  hash: MoveAddressType;
652
652
  epoch: bigint;
@@ -661,10 +661,10 @@ export declare namespace block {
661
661
  const TYPE_QNAME = "0x1::block::NewBlockEvent";
662
662
  function type(): TypeDescriptor<NewBlockEvent>;
663
663
  }
664
- interface NewBlockEventInstance extends TypedEventInstance<NewBlockEvent> {
664
+ type NewBlockEventInstance = TypedEventInstance<NewBlockEvent> & {
665
665
  data_decoded: NewBlockEvent;
666
666
  type_arguments: [];
667
- }
667
+ };
668
668
  interface UpdateEpochInterval {
669
669
  old_epoch_interval: bigint;
670
670
  new_epoch_interval: bigint;
@@ -673,10 +673,10 @@ export declare namespace block {
673
673
  const TYPE_QNAME = "0x1::block::UpdateEpochInterval";
674
674
  function type(): TypeDescriptor<UpdateEpochInterval>;
675
675
  }
676
- interface UpdateEpochIntervalInstance extends TypedEventInstance<UpdateEpochInterval> {
676
+ type UpdateEpochIntervalInstance = TypedEventInstance<UpdateEpochInterval> & {
677
677
  data_decoded: UpdateEpochInterval;
678
678
  type_arguments: [];
679
- }
679
+ };
680
680
  interface UpdateEpochIntervalEvent {
681
681
  old_epoch_interval: bigint;
682
682
  new_epoch_interval: bigint;
@@ -685,10 +685,10 @@ export declare namespace block {
685
685
  const TYPE_QNAME = "0x1::block::UpdateEpochIntervalEvent";
686
686
  function type(): TypeDescriptor<UpdateEpochIntervalEvent>;
687
687
  }
688
- interface UpdateEpochIntervalEventInstance extends TypedEventInstance<UpdateEpochIntervalEvent> {
688
+ type UpdateEpochIntervalEventInstance = TypedEventInstance<UpdateEpochIntervalEvent> & {
689
689
  data_decoded: UpdateEpochIntervalEvent;
690
690
  type_arguments: [];
691
- }
691
+ };
692
692
  namespace entry { }
693
693
  namespace view {
694
694
  function getCurrentBlockHeight(client: Aptos, version?: bigint): Promise<[bigint]>;
@@ -724,10 +724,10 @@ export declare namespace stake {
724
724
  const TYPE_QNAME = "0x1::stake::AddStake";
725
725
  function type(): TypeDescriptor<AddStake>;
726
726
  }
727
- interface AddStakeInstance extends TypedEventInstance<AddStake> {
727
+ type AddStakeInstance = TypedEventInstance<AddStake> & {
728
728
  data_decoded: AddStake;
729
729
  type_arguments: [];
730
- }
730
+ };
731
731
  interface AddStakeEvent {
732
732
  pool_address: MoveAddressType;
733
733
  amount_added: bigint;
@@ -736,10 +736,10 @@ export declare namespace stake {
736
736
  const TYPE_QNAME = "0x1::stake::AddStakeEvent";
737
737
  function type(): TypeDescriptor<AddStakeEvent>;
738
738
  }
739
- interface AddStakeEventInstance extends TypedEventInstance<AddStakeEvent> {
739
+ type AddStakeEventInstance = TypedEventInstance<AddStakeEvent> & {
740
740
  data_decoded: AddStakeEvent;
741
741
  type_arguments: [];
742
- }
742
+ };
743
743
  interface AllowedValidators {
744
744
  accounts: MoveAddressType[];
745
745
  }
@@ -762,10 +762,10 @@ export declare namespace stake {
762
762
  const TYPE_QNAME = "0x1::stake::DistributeRewards";
763
763
  function type(): TypeDescriptor<DistributeRewards>;
764
764
  }
765
- interface DistributeRewardsInstance extends TypedEventInstance<DistributeRewards> {
765
+ type DistributeRewardsInstance = TypedEventInstance<DistributeRewards> & {
766
766
  data_decoded: DistributeRewards;
767
767
  type_arguments: [];
768
- }
768
+ };
769
769
  interface DistributeRewardsEvent {
770
770
  pool_address: MoveAddressType;
771
771
  rewards_amount: bigint;
@@ -774,10 +774,10 @@ export declare namespace stake {
774
774
  const TYPE_QNAME = "0x1::stake::DistributeRewardsEvent";
775
775
  function type(): TypeDescriptor<DistributeRewardsEvent>;
776
776
  }
777
- interface DistributeRewardsEventInstance extends TypedEventInstance<DistributeRewardsEvent> {
777
+ type DistributeRewardsEventInstance = TypedEventInstance<DistributeRewardsEvent> & {
778
778
  data_decoded: DistributeRewardsEvent;
779
779
  type_arguments: [];
780
- }
780
+ };
781
781
  interface IncreaseLockup {
782
782
  pool_address: MoveAddressType;
783
783
  old_locked_until_secs: bigint;
@@ -787,10 +787,10 @@ export declare namespace stake {
787
787
  const TYPE_QNAME = "0x1::stake::IncreaseLockup";
788
788
  function type(): TypeDescriptor<IncreaseLockup>;
789
789
  }
790
- interface IncreaseLockupInstance extends TypedEventInstance<IncreaseLockup> {
790
+ type IncreaseLockupInstance = TypedEventInstance<IncreaseLockup> & {
791
791
  data_decoded: IncreaseLockup;
792
792
  type_arguments: [];
793
- }
793
+ };
794
794
  interface IncreaseLockupEvent {
795
795
  pool_address: MoveAddressType;
796
796
  old_locked_until_secs: bigint;
@@ -800,10 +800,10 @@ export declare namespace stake {
800
800
  const TYPE_QNAME = "0x1::stake::IncreaseLockupEvent";
801
801
  function type(): TypeDescriptor<IncreaseLockupEvent>;
802
802
  }
803
- interface IncreaseLockupEventInstance extends TypedEventInstance<IncreaseLockupEvent> {
803
+ type IncreaseLockupEventInstance = TypedEventInstance<IncreaseLockupEvent> & {
804
804
  data_decoded: IncreaseLockupEvent;
805
805
  type_arguments: [];
806
- }
806
+ };
807
807
  interface IndividualValidatorPerformance {
808
808
  successful_proposals: bigint;
809
809
  failed_proposals: bigint;
@@ -819,10 +819,10 @@ export declare namespace stake {
819
819
  const TYPE_QNAME = "0x1::stake::JoinValidatorSet";
820
820
  function type(): TypeDescriptor<JoinValidatorSet>;
821
821
  }
822
- interface JoinValidatorSetInstance extends TypedEventInstance<JoinValidatorSet> {
822
+ type JoinValidatorSetInstance = TypedEventInstance<JoinValidatorSet> & {
823
823
  data_decoded: JoinValidatorSet;
824
824
  type_arguments: [];
825
- }
825
+ };
826
826
  interface JoinValidatorSetEvent {
827
827
  pool_address: MoveAddressType;
828
828
  }
@@ -830,10 +830,10 @@ export declare namespace stake {
830
830
  const TYPE_QNAME = "0x1::stake::JoinValidatorSetEvent";
831
831
  function type(): TypeDescriptor<JoinValidatorSetEvent>;
832
832
  }
833
- interface JoinValidatorSetEventInstance extends TypedEventInstance<JoinValidatorSetEvent> {
833
+ type JoinValidatorSetEventInstance = TypedEventInstance<JoinValidatorSetEvent> & {
834
834
  data_decoded: JoinValidatorSetEvent;
835
835
  type_arguments: [];
836
- }
836
+ };
837
837
  interface LeaveValidatorSet {
838
838
  pool_address: MoveAddressType;
839
839
  }
@@ -841,10 +841,10 @@ export declare namespace stake {
841
841
  const TYPE_QNAME = "0x1::stake::LeaveValidatorSet";
842
842
  function type(): TypeDescriptor<LeaveValidatorSet>;
843
843
  }
844
- interface LeaveValidatorSetInstance extends TypedEventInstance<LeaveValidatorSet> {
844
+ type LeaveValidatorSetInstance = TypedEventInstance<LeaveValidatorSet> & {
845
845
  data_decoded: LeaveValidatorSet;
846
846
  type_arguments: [];
847
- }
847
+ };
848
848
  interface LeaveValidatorSetEvent {
849
849
  pool_address: MoveAddressType;
850
850
  }
@@ -852,10 +852,10 @@ export declare namespace stake {
852
852
  const TYPE_QNAME = "0x1::stake::LeaveValidatorSetEvent";
853
853
  function type(): TypeDescriptor<LeaveValidatorSetEvent>;
854
854
  }
855
- interface LeaveValidatorSetEventInstance extends TypedEventInstance<LeaveValidatorSetEvent> {
855
+ type LeaveValidatorSetEventInstance = TypedEventInstance<LeaveValidatorSetEvent> & {
856
856
  data_decoded: LeaveValidatorSetEvent;
857
857
  type_arguments: [];
858
- }
858
+ };
859
859
  interface OwnerCapability {
860
860
  pool_address: MoveAddressType;
861
861
  }
@@ -871,10 +871,10 @@ export declare namespace stake {
871
871
  const TYPE_QNAME = "0x1::stake::ReactivateStake";
872
872
  function type(): TypeDescriptor<ReactivateStake>;
873
873
  }
874
- interface ReactivateStakeInstance extends TypedEventInstance<ReactivateStake> {
874
+ type ReactivateStakeInstance = TypedEventInstance<ReactivateStake> & {
875
875
  data_decoded: ReactivateStake;
876
876
  type_arguments: [];
877
- }
877
+ };
878
878
  interface ReactivateStakeEvent {
879
879
  pool_address: MoveAddressType;
880
880
  amount: bigint;
@@ -883,10 +883,10 @@ export declare namespace stake {
883
883
  const TYPE_QNAME = "0x1::stake::ReactivateStakeEvent";
884
884
  function type(): TypeDescriptor<ReactivateStakeEvent>;
885
885
  }
886
- interface ReactivateStakeEventInstance extends TypedEventInstance<ReactivateStakeEvent> {
886
+ type ReactivateStakeEventInstance = TypedEventInstance<ReactivateStakeEvent> & {
887
887
  data_decoded: ReactivateStakeEvent;
888
888
  type_arguments: [];
889
- }
889
+ };
890
890
  interface RegisterValidatorCandidate {
891
891
  pool_address: MoveAddressType;
892
892
  }
@@ -894,10 +894,10 @@ export declare namespace stake {
894
894
  const TYPE_QNAME = "0x1::stake::RegisterValidatorCandidate";
895
895
  function type(): TypeDescriptor<RegisterValidatorCandidate>;
896
896
  }
897
- interface RegisterValidatorCandidateInstance extends TypedEventInstance<RegisterValidatorCandidate> {
897
+ type RegisterValidatorCandidateInstance = TypedEventInstance<RegisterValidatorCandidate> & {
898
898
  data_decoded: RegisterValidatorCandidate;
899
899
  type_arguments: [];
900
- }
900
+ };
901
901
  interface RegisterValidatorCandidateEvent {
902
902
  pool_address: MoveAddressType;
903
903
  }
@@ -905,10 +905,10 @@ export declare namespace stake {
905
905
  const TYPE_QNAME = "0x1::stake::RegisterValidatorCandidateEvent";
906
906
  function type(): TypeDescriptor<RegisterValidatorCandidateEvent>;
907
907
  }
908
- interface RegisterValidatorCandidateEventInstance extends TypedEventInstance<RegisterValidatorCandidateEvent> {
908
+ type RegisterValidatorCandidateEventInstance = TypedEventInstance<RegisterValidatorCandidateEvent> & {
909
909
  data_decoded: RegisterValidatorCandidateEvent;
910
910
  type_arguments: [];
911
- }
911
+ };
912
912
  interface RotateConsensusKey {
913
913
  pool_address: MoveAddressType;
914
914
  old_consensus_pubkey: string;
@@ -918,10 +918,10 @@ export declare namespace stake {
918
918
  const TYPE_QNAME = "0x1::stake::RotateConsensusKey";
919
919
  function type(): TypeDescriptor<RotateConsensusKey>;
920
920
  }
921
- interface RotateConsensusKeyInstance extends TypedEventInstance<RotateConsensusKey> {
921
+ type RotateConsensusKeyInstance = TypedEventInstance<RotateConsensusKey> & {
922
922
  data_decoded: RotateConsensusKey;
923
923
  type_arguments: [];
924
- }
924
+ };
925
925
  interface RotateConsensusKeyEvent {
926
926
  pool_address: MoveAddressType;
927
927
  old_consensus_pubkey: string;
@@ -931,10 +931,10 @@ export declare namespace stake {
931
931
  const TYPE_QNAME = "0x1::stake::RotateConsensusKeyEvent";
932
932
  function type(): TypeDescriptor<RotateConsensusKeyEvent>;
933
933
  }
934
- interface RotateConsensusKeyEventInstance extends TypedEventInstance<RotateConsensusKeyEvent> {
934
+ type RotateConsensusKeyEventInstance = TypedEventInstance<RotateConsensusKeyEvent> & {
935
935
  data_decoded: RotateConsensusKeyEvent;
936
936
  type_arguments: [];
937
- }
937
+ };
938
938
  interface SetOperator {
939
939
  pool_address: MoveAddressType;
940
940
  old_operator: MoveAddressType;
@@ -944,10 +944,10 @@ export declare namespace stake {
944
944
  const TYPE_QNAME = "0x1::stake::SetOperator";
945
945
  function type(): TypeDescriptor<SetOperator>;
946
946
  }
947
- interface SetOperatorInstance extends TypedEventInstance<SetOperator> {
947
+ type SetOperatorInstance = TypedEventInstance<SetOperator> & {
948
948
  data_decoded: SetOperator;
949
949
  type_arguments: [];
950
- }
950
+ };
951
951
  interface SetOperatorEvent {
952
952
  pool_address: MoveAddressType;
953
953
  old_operator: MoveAddressType;
@@ -957,10 +957,10 @@ export declare namespace stake {
957
957
  const TYPE_QNAME = "0x1::stake::SetOperatorEvent";
958
958
  function type(): TypeDescriptor<SetOperatorEvent>;
959
959
  }
960
- interface SetOperatorEventInstance extends TypedEventInstance<SetOperatorEvent> {
960
+ type SetOperatorEventInstance = TypedEventInstance<SetOperatorEvent> & {
961
961
  data_decoded: SetOperatorEvent;
962
962
  type_arguments: [];
963
- }
963
+ };
964
964
  interface StakePool {
965
965
  active: coin.Coin<aptos_coin.AptosCoin>;
966
966
  inactive: coin.Coin<aptos_coin.AptosCoin>;
@@ -994,10 +994,10 @@ export declare namespace stake {
994
994
  const TYPE_QNAME = "0x1::stake::UnlockStake";
995
995
  function type(): TypeDescriptor<UnlockStake>;
996
996
  }
997
- interface UnlockStakeInstance extends TypedEventInstance<UnlockStake> {
997
+ type UnlockStakeInstance = TypedEventInstance<UnlockStake> & {
998
998
  data_decoded: UnlockStake;
999
999
  type_arguments: [];
1000
- }
1000
+ };
1001
1001
  interface UnlockStakeEvent {
1002
1002
  pool_address: MoveAddressType;
1003
1003
  amount_unlocked: bigint;
@@ -1006,10 +1006,10 @@ export declare namespace stake {
1006
1006
  const TYPE_QNAME = "0x1::stake::UnlockStakeEvent";
1007
1007
  function type(): TypeDescriptor<UnlockStakeEvent>;
1008
1008
  }
1009
- interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
1009
+ type UnlockStakeEventInstance = TypedEventInstance<UnlockStakeEvent> & {
1010
1010
  data_decoded: UnlockStakeEvent;
1011
1011
  type_arguments: [];
1012
- }
1012
+ };
1013
1013
  interface UpdateNetworkAndFullnodeAddresses {
1014
1014
  pool_address: MoveAddressType;
1015
1015
  old_network_addresses: string;
@@ -1021,10 +1021,10 @@ export declare namespace stake {
1021
1021
  const TYPE_QNAME = "0x1::stake::UpdateNetworkAndFullnodeAddresses";
1022
1022
  function type(): TypeDescriptor<UpdateNetworkAndFullnodeAddresses>;
1023
1023
  }
1024
- interface UpdateNetworkAndFullnodeAddressesInstance extends TypedEventInstance<UpdateNetworkAndFullnodeAddresses> {
1024
+ type UpdateNetworkAndFullnodeAddressesInstance = TypedEventInstance<UpdateNetworkAndFullnodeAddresses> & {
1025
1025
  data_decoded: UpdateNetworkAndFullnodeAddresses;
1026
1026
  type_arguments: [];
1027
- }
1027
+ };
1028
1028
  interface UpdateNetworkAndFullnodeAddressesEvent {
1029
1029
  pool_address: MoveAddressType;
1030
1030
  old_network_addresses: string;
@@ -1036,10 +1036,10 @@ export declare namespace stake {
1036
1036
  const TYPE_QNAME = "0x1::stake::UpdateNetworkAndFullnodeAddressesEvent";
1037
1037
  function type(): TypeDescriptor<UpdateNetworkAndFullnodeAddressesEvent>;
1038
1038
  }
1039
- interface UpdateNetworkAndFullnodeAddressesEventInstance extends TypedEventInstance<UpdateNetworkAndFullnodeAddressesEvent> {
1039
+ type UpdateNetworkAndFullnodeAddressesEventInstance = TypedEventInstance<UpdateNetworkAndFullnodeAddressesEvent> & {
1040
1040
  data_decoded: UpdateNetworkAndFullnodeAddressesEvent;
1041
1041
  type_arguments: [];
1042
- }
1042
+ };
1043
1043
  interface ValidatorConfig {
1044
1044
  consensus_pubkey: string;
1045
1045
  network_addresses: string;
@@ -1093,10 +1093,10 @@ export declare namespace stake {
1093
1093
  const TYPE_QNAME = "0x1::stake::WithdrawStake";
1094
1094
  function type(): TypeDescriptor<WithdrawStake>;
1095
1095
  }
1096
- interface WithdrawStakeInstance extends TypedEventInstance<WithdrawStake> {
1096
+ type WithdrawStakeInstance = TypedEventInstance<WithdrawStake> & {
1097
1097
  data_decoded: WithdrawStake;
1098
1098
  type_arguments: [];
1099
- }
1099
+ };
1100
1100
  interface WithdrawStakeEvent {
1101
1101
  pool_address: MoveAddressType;
1102
1102
  amount_withdrawn: bigint;
@@ -1105,10 +1105,10 @@ export declare namespace stake {
1105
1105
  const TYPE_QNAME = "0x1::stake::WithdrawStakeEvent";
1106
1106
  function type(): TypeDescriptor<WithdrawStakeEvent>;
1107
1107
  }
1108
- interface WithdrawStakeEventInstance extends TypedEventInstance<WithdrawStakeEvent> {
1108
+ type WithdrawStakeEventInstance = TypedEventInstance<WithdrawStakeEvent> & {
1109
1109
  data_decoded: WithdrawStakeEvent;
1110
1110
  type_arguments: [];
1111
- }
1111
+ };
1112
1112
  namespace entry {
1113
1113
  function withdraw(client: Aptos, account: AptosAccount, request: {
1114
1114
  typeArguments: [];
@@ -1297,10 +1297,10 @@ export declare namespace object$ {
1297
1297
  const TYPE_QNAME = "0x1::object::Transfer";
1298
1298
  function type(): TypeDescriptor<Transfer>;
1299
1299
  }
1300
- interface TransferInstance extends TypedEventInstance<Transfer> {
1300
+ type TransferInstance = TypedEventInstance<Transfer> & {
1301
1301
  data_decoded: Transfer;
1302
1302
  type_arguments: [];
1303
- }
1303
+ };
1304
1304
  interface TransferEvent {
1305
1305
  object: MoveAddressType;
1306
1306
  from: MoveAddressType;
@@ -1310,10 +1310,10 @@ export declare namespace object$ {
1310
1310
  const TYPE_QNAME = "0x1::object::TransferEvent";
1311
1311
  function type(): TypeDescriptor<TransferEvent>;
1312
1312
  }
1313
- interface TransferEventInstance extends TypedEventInstance<TransferEvent> {
1313
+ type TransferEventInstance = TypedEventInstance<TransferEvent> & {
1314
1314
  data_decoded: TransferEvent;
1315
1315
  type_arguments: [];
1316
- }
1316
+ };
1317
1317
  interface TransferRef {
1318
1318
  self: MoveAddressType;
1319
1319
  }
@@ -1404,10 +1404,10 @@ export declare namespace voting {
1404
1404
  const TYPE_QNAME = "0x1::voting::CreateProposal";
1405
1405
  function type(): TypeDescriptor<CreateProposal>;
1406
1406
  }
1407
- interface CreateProposalInstance extends TypedEventInstance<CreateProposal> {
1407
+ type CreateProposalInstance = TypedEventInstance<CreateProposal> & {
1408
1408
  data_decoded: CreateProposal;
1409
1409
  type_arguments: [];
1410
- }
1410
+ };
1411
1411
  interface CreateProposalEvent {
1412
1412
  proposal_id: bigint;
1413
1413
  early_resolution_vote_threshold: option.Option<bigint>;
@@ -1420,10 +1420,10 @@ export declare namespace voting {
1420
1420
  const TYPE_QNAME = "0x1::voting::CreateProposalEvent";
1421
1421
  function type(): TypeDescriptor<CreateProposalEvent>;
1422
1422
  }
1423
- interface CreateProposalEventInstance extends TypedEventInstance<CreateProposalEvent> {
1423
+ type CreateProposalEventInstance = TypedEventInstance<CreateProposalEvent> & {
1424
1424
  data_decoded: CreateProposalEvent;
1425
1425
  type_arguments: [];
1426
- }
1426
+ };
1427
1427
  interface Proposal<T0> {
1428
1428
  proposer: MoveAddressType;
1429
1429
  execution_content: option.Option<T0>;
@@ -1450,10 +1450,10 @@ export declare namespace voting {
1450
1450
  const TYPE_QNAME = "0x1::voting::RegisterForum";
1451
1451
  function type(): TypeDescriptor<RegisterForum>;
1452
1452
  }
1453
- interface RegisterForumInstance extends TypedEventInstance<RegisterForum> {
1453
+ type RegisterForumInstance = TypedEventInstance<RegisterForum> & {
1454
1454
  data_decoded: RegisterForum;
1455
1455
  type_arguments: [];
1456
- }
1456
+ };
1457
1457
  interface RegisterForumEvent {
1458
1458
  hosting_account: MoveAddressType;
1459
1459
  proposal_type_info: type_info.TypeInfo;
@@ -1462,10 +1462,10 @@ export declare namespace voting {
1462
1462
  const TYPE_QNAME = "0x1::voting::RegisterForumEvent";
1463
1463
  function type(): TypeDescriptor<RegisterForumEvent>;
1464
1464
  }
1465
- interface RegisterForumEventInstance extends TypedEventInstance<RegisterForumEvent> {
1465
+ type RegisterForumEventInstance = TypedEventInstance<RegisterForumEvent> & {
1466
1466
  data_decoded: RegisterForumEvent;
1467
1467
  type_arguments: [];
1468
- }
1468
+ };
1469
1469
  interface ResolveProposal {
1470
1470
  proposal_id: bigint;
1471
1471
  yes_votes: bigint;
@@ -1476,10 +1476,10 @@ export declare namespace voting {
1476
1476
  const TYPE_QNAME = "0x1::voting::ResolveProposal";
1477
1477
  function type(): TypeDescriptor<ResolveProposal>;
1478
1478
  }
1479
- interface ResolveProposalInstance extends TypedEventInstance<ResolveProposal> {
1479
+ type ResolveProposalInstance = TypedEventInstance<ResolveProposal> & {
1480
1480
  data_decoded: ResolveProposal;
1481
1481
  type_arguments: [];
1482
- }
1482
+ };
1483
1483
  interface Vote {
1484
1484
  proposal_id: bigint;
1485
1485
  num_votes: bigint;
@@ -1488,10 +1488,10 @@ export declare namespace voting {
1488
1488
  const TYPE_QNAME = "0x1::voting::Vote";
1489
1489
  function type(): TypeDescriptor<Vote>;
1490
1490
  }
1491
- interface VoteInstance extends TypedEventInstance<Vote> {
1491
+ type VoteInstance = TypedEventInstance<Vote> & {
1492
1492
  data_decoded: Vote;
1493
1493
  type_arguments: [];
1494
- }
1494
+ };
1495
1495
  interface VoteEvent {
1496
1496
  proposal_id: bigint;
1497
1497
  num_votes: bigint;
@@ -1500,10 +1500,10 @@ export declare namespace voting {
1500
1500
  const TYPE_QNAME = "0x1::voting::VoteEvent";
1501
1501
  function type(): TypeDescriptor<VoteEvent>;
1502
1502
  }
1503
- interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
1503
+ type VoteEventInstance = TypedEventInstance<VoteEvent> & {
1504
1504
  data_decoded: VoteEvent;
1505
1505
  type_arguments: [];
1506
- }
1506
+ };
1507
1507
  interface VotingEvents {
1508
1508
  create_proposal_events: event.EventHandle<voting.CreateProposalEvent>;
1509
1509
  register_forum_events: event.EventHandle<voting.RegisterForumEvent>;
@@ -1616,10 +1616,10 @@ export declare namespace account {
1616
1616
  const TYPE_QNAME = "0x1::account::CoinRegister";
1617
1617
  function type(): TypeDescriptor<CoinRegister>;
1618
1618
  }
1619
- interface CoinRegisterInstance extends TypedEventInstance<CoinRegister> {
1619
+ type CoinRegisterInstance = TypedEventInstance<CoinRegister> & {
1620
1620
  data_decoded: CoinRegister;
1621
1621
  type_arguments: [];
1622
- }
1622
+ };
1623
1623
  interface CoinRegisterEvent {
1624
1624
  type_info: type_info.TypeInfo;
1625
1625
  }
@@ -1627,10 +1627,10 @@ export declare namespace account {
1627
1627
  const TYPE_QNAME = "0x1::account::CoinRegisterEvent";
1628
1628
  function type(): TypeDescriptor<CoinRegisterEvent>;
1629
1629
  }
1630
- interface CoinRegisterEventInstance extends TypedEventInstance<CoinRegisterEvent> {
1630
+ type CoinRegisterEventInstance = TypedEventInstance<CoinRegisterEvent> & {
1631
1631
  data_decoded: CoinRegisterEvent;
1632
1632
  type_arguments: [];
1633
- }
1633
+ };
1634
1634
  interface KeyRotation {
1635
1635
  account: MoveAddressType;
1636
1636
  old_authentication_key: string;
@@ -1640,10 +1640,10 @@ export declare namespace account {
1640
1640
  const TYPE_QNAME = "0x1::account::KeyRotation";
1641
1641
  function type(): TypeDescriptor<KeyRotation>;
1642
1642
  }
1643
- interface KeyRotationInstance extends TypedEventInstance<KeyRotation> {
1643
+ type KeyRotationInstance = TypedEventInstance<KeyRotation> & {
1644
1644
  data_decoded: KeyRotation;
1645
1645
  type_arguments: [];
1646
- }
1646
+ };
1647
1647
  interface KeyRotationEvent {
1648
1648
  old_authentication_key: string;
1649
1649
  new_authentication_key: string;
@@ -1652,10 +1652,10 @@ export declare namespace account {
1652
1652
  const TYPE_QNAME = "0x1::account::KeyRotationEvent";
1653
1653
  function type(): TypeDescriptor<KeyRotationEvent>;
1654
1654
  }
1655
- interface KeyRotationEventInstance extends TypedEventInstance<KeyRotationEvent> {
1655
+ type KeyRotationEventInstance = TypedEventInstance<KeyRotationEvent> & {
1656
1656
  data_decoded: KeyRotationEvent;
1657
1657
  type_arguments: [];
1658
- }
1658
+ };
1659
1659
  interface OriginatingAddress {
1660
1660
  address_map: table.Table<MoveAddressType, MoveAddressType>;
1661
1661
  }
@@ -1914,10 +1914,10 @@ export declare namespace vesting {
1914
1914
  const TYPE_QNAME = "0x1::vesting::Distribute";
1915
1915
  function type(): TypeDescriptor<Distribute>;
1916
1916
  }
1917
- interface DistributeInstance extends TypedEventInstance<Distribute> {
1917
+ type DistributeInstance = TypedEventInstance<Distribute> & {
1918
1918
  data_decoded: Distribute;
1919
1919
  type_arguments: [];
1920
- }
1920
+ };
1921
1921
  interface DistributeEvent {
1922
1922
  admin: MoveAddressType;
1923
1923
  vesting_contract_address: MoveAddressType;
@@ -1927,10 +1927,10 @@ export declare namespace vesting {
1927
1927
  const TYPE_QNAME = "0x1::vesting::DistributeEvent";
1928
1928
  function type(): TypeDescriptor<DistributeEvent>;
1929
1929
  }
1930
- interface DistributeEventInstance extends TypedEventInstance<DistributeEvent> {
1930
+ type DistributeEventInstance = TypedEventInstance<DistributeEvent> & {
1931
1931
  data_decoded: DistributeEvent;
1932
1932
  type_arguments: [];
1933
- }
1933
+ };
1934
1934
  interface ResetLockup {
1935
1935
  admin: MoveAddressType;
1936
1936
  vesting_contract_address: MoveAddressType;
@@ -1941,10 +1941,10 @@ export declare namespace vesting {
1941
1941
  const TYPE_QNAME = "0x1::vesting::ResetLockup";
1942
1942
  function type(): TypeDescriptor<ResetLockup>;
1943
1943
  }
1944
- interface ResetLockupInstance extends TypedEventInstance<ResetLockup> {
1944
+ type ResetLockupInstance = TypedEventInstance<ResetLockup> & {
1945
1945
  data_decoded: ResetLockup;
1946
1946
  type_arguments: [];
1947
- }
1947
+ };
1948
1948
  interface ResetLockupEvent {
1949
1949
  admin: MoveAddressType;
1950
1950
  vesting_contract_address: MoveAddressType;
@@ -1955,10 +1955,10 @@ export declare namespace vesting {
1955
1955
  const TYPE_QNAME = "0x1::vesting::ResetLockupEvent";
1956
1956
  function type(): TypeDescriptor<ResetLockupEvent>;
1957
1957
  }
1958
- interface ResetLockupEventInstance extends TypedEventInstance<ResetLockupEvent> {
1958
+ type ResetLockupEventInstance = TypedEventInstance<ResetLockupEvent> & {
1959
1959
  data_decoded: ResetLockupEvent;
1960
1960
  type_arguments: [];
1961
- }
1961
+ };
1962
1962
  interface UpdateVoter {
1963
1963
  admin: MoveAddressType;
1964
1964
  vesting_contract_address: MoveAddressType;
@@ -1970,10 +1970,10 @@ export declare namespace vesting {
1970
1970
  const TYPE_QNAME = "0x1::vesting::UpdateVoter";
1971
1971
  function type(): TypeDescriptor<UpdateVoter>;
1972
1972
  }
1973
- interface UpdateVoterInstance extends TypedEventInstance<UpdateVoter> {
1973
+ type UpdateVoterInstance = TypedEventInstance<UpdateVoter> & {
1974
1974
  data_decoded: UpdateVoter;
1975
1975
  type_arguments: [];
1976
- }
1976
+ };
1977
1977
  interface UpdateVoterEvent {
1978
1978
  admin: MoveAddressType;
1979
1979
  vesting_contract_address: MoveAddressType;
@@ -1985,10 +1985,10 @@ export declare namespace vesting {
1985
1985
  const TYPE_QNAME = "0x1::vesting::UpdateVoterEvent";
1986
1986
  function type(): TypeDescriptor<UpdateVoterEvent>;
1987
1987
  }
1988
- interface UpdateVoterEventInstance extends TypedEventInstance<UpdateVoterEvent> {
1988
+ type UpdateVoterEventInstance = TypedEventInstance<UpdateVoterEvent> & {
1989
1989
  data_decoded: UpdateVoterEvent;
1990
1990
  type_arguments: [];
1991
- }
1991
+ };
1992
1992
  interface AdminStore {
1993
1993
  vesting_contracts: MoveAddressType[];
1994
1994
  nonce: bigint;
@@ -2007,10 +2007,10 @@ export declare namespace vesting {
2007
2007
  const TYPE_QNAME = "0x1::vesting::AdminWithdraw";
2008
2008
  function type(): TypeDescriptor<AdminWithdraw>;
2009
2009
  }
2010
- interface AdminWithdrawInstance extends TypedEventInstance<AdminWithdraw> {
2010
+ type AdminWithdrawInstance = TypedEventInstance<AdminWithdraw> & {
2011
2011
  data_decoded: AdminWithdraw;
2012
2012
  type_arguments: [];
2013
- }
2013
+ };
2014
2014
  interface AdminWithdrawEvent {
2015
2015
  admin: MoveAddressType;
2016
2016
  vesting_contract_address: MoveAddressType;
@@ -2020,10 +2020,10 @@ export declare namespace vesting {
2020
2020
  const TYPE_QNAME = "0x1::vesting::AdminWithdrawEvent";
2021
2021
  function type(): TypeDescriptor<AdminWithdrawEvent>;
2022
2022
  }
2023
- interface AdminWithdrawEventInstance extends TypedEventInstance<AdminWithdrawEvent> {
2023
+ type AdminWithdrawEventInstance = TypedEventInstance<AdminWithdrawEvent> & {
2024
2024
  data_decoded: AdminWithdrawEvent;
2025
2025
  type_arguments: [];
2026
- }
2026
+ };
2027
2027
  interface CreateVestingContract {
2028
2028
  operator: MoveAddressType;
2029
2029
  voter: MoveAddressType;
@@ -2037,10 +2037,10 @@ export declare namespace vesting {
2037
2037
  const TYPE_QNAME = "0x1::vesting::CreateVestingContract";
2038
2038
  function type(): TypeDescriptor<CreateVestingContract>;
2039
2039
  }
2040
- interface CreateVestingContractInstance extends TypedEventInstance<CreateVestingContract> {
2040
+ type CreateVestingContractInstance = TypedEventInstance<CreateVestingContract> & {
2041
2041
  data_decoded: CreateVestingContract;
2042
2042
  type_arguments: [];
2043
- }
2043
+ };
2044
2044
  interface CreateVestingContractEvent {
2045
2045
  operator: MoveAddressType;
2046
2046
  voter: MoveAddressType;
@@ -2054,10 +2054,10 @@ export declare namespace vesting {
2054
2054
  const TYPE_QNAME = "0x1::vesting::CreateVestingContractEvent";
2055
2055
  function type(): TypeDescriptor<CreateVestingContractEvent>;
2056
2056
  }
2057
- interface CreateVestingContractEventInstance extends TypedEventInstance<CreateVestingContractEvent> {
2057
+ type CreateVestingContractEventInstance = TypedEventInstance<CreateVestingContractEvent> & {
2058
2058
  data_decoded: CreateVestingContractEvent;
2059
2059
  type_arguments: [];
2060
- }
2060
+ };
2061
2061
  interface SetBeneficiary {
2062
2062
  admin: MoveAddressType;
2063
2063
  vesting_contract_address: MoveAddressType;
@@ -2069,10 +2069,10 @@ export declare namespace vesting {
2069
2069
  const TYPE_QNAME = "0x1::vesting::SetBeneficiary";
2070
2070
  function type(): TypeDescriptor<SetBeneficiary>;
2071
2071
  }
2072
- interface SetBeneficiaryInstance extends TypedEventInstance<SetBeneficiary> {
2072
+ type SetBeneficiaryInstance = TypedEventInstance<SetBeneficiary> & {
2073
2073
  data_decoded: SetBeneficiary;
2074
2074
  type_arguments: [];
2075
- }
2075
+ };
2076
2076
  interface SetBeneficiaryEvent {
2077
2077
  admin: MoveAddressType;
2078
2078
  vesting_contract_address: MoveAddressType;
@@ -2084,10 +2084,10 @@ export declare namespace vesting {
2084
2084
  const TYPE_QNAME = "0x1::vesting::SetBeneficiaryEvent";
2085
2085
  function type(): TypeDescriptor<SetBeneficiaryEvent>;
2086
2086
  }
2087
- interface SetBeneficiaryEventInstance extends TypedEventInstance<SetBeneficiaryEvent> {
2087
+ type SetBeneficiaryEventInstance = TypedEventInstance<SetBeneficiaryEvent> & {
2088
2088
  data_decoded: SetBeneficiaryEvent;
2089
2089
  type_arguments: [];
2090
- }
2090
+ };
2091
2091
  interface StakingInfo {
2092
2092
  pool_address: MoveAddressType;
2093
2093
  operator: MoveAddressType;
@@ -2106,10 +2106,10 @@ export declare namespace vesting {
2106
2106
  const TYPE_QNAME = "0x1::vesting::Terminate";
2107
2107
  function type(): TypeDescriptor<Terminate>;
2108
2108
  }
2109
- interface TerminateInstance extends TypedEventInstance<Terminate> {
2109
+ type TerminateInstance = TypedEventInstance<Terminate> & {
2110
2110
  data_decoded: Terminate;
2111
2111
  type_arguments: [];
2112
- }
2112
+ };
2113
2113
  interface TerminateEvent {
2114
2114
  admin: MoveAddressType;
2115
2115
  vesting_contract_address: MoveAddressType;
@@ -2118,10 +2118,10 @@ export declare namespace vesting {
2118
2118
  const TYPE_QNAME = "0x1::vesting::TerminateEvent";
2119
2119
  function type(): TypeDescriptor<TerminateEvent>;
2120
2120
  }
2121
- interface TerminateEventInstance extends TypedEventInstance<TerminateEvent> {
2121
+ type TerminateEventInstance = TypedEventInstance<TerminateEvent> & {
2122
2122
  data_decoded: TerminateEvent;
2123
2123
  type_arguments: [];
2124
- }
2124
+ };
2125
2125
  interface UnlockRewards {
2126
2126
  admin: MoveAddressType;
2127
2127
  vesting_contract_address: MoveAddressType;
@@ -2132,10 +2132,10 @@ export declare namespace vesting {
2132
2132
  const TYPE_QNAME = "0x1::vesting::UnlockRewards";
2133
2133
  function type(): TypeDescriptor<UnlockRewards>;
2134
2134
  }
2135
- interface UnlockRewardsInstance extends TypedEventInstance<UnlockRewards> {
2135
+ type UnlockRewardsInstance = TypedEventInstance<UnlockRewards> & {
2136
2136
  data_decoded: UnlockRewards;
2137
2137
  type_arguments: [];
2138
- }
2138
+ };
2139
2139
  interface UnlockRewardsEvent {
2140
2140
  admin: MoveAddressType;
2141
2141
  vesting_contract_address: MoveAddressType;
@@ -2146,10 +2146,10 @@ export declare namespace vesting {
2146
2146
  const TYPE_QNAME = "0x1::vesting::UnlockRewardsEvent";
2147
2147
  function type(): TypeDescriptor<UnlockRewardsEvent>;
2148
2148
  }
2149
- interface UnlockRewardsEventInstance extends TypedEventInstance<UnlockRewardsEvent> {
2149
+ type UnlockRewardsEventInstance = TypedEventInstance<UnlockRewardsEvent> & {
2150
2150
  data_decoded: UnlockRewardsEvent;
2151
2151
  type_arguments: [];
2152
- }
2152
+ };
2153
2153
  interface UpdateOperator {
2154
2154
  admin: MoveAddressType;
2155
2155
  vesting_contract_address: MoveAddressType;
@@ -2162,10 +2162,10 @@ export declare namespace vesting {
2162
2162
  const TYPE_QNAME = "0x1::vesting::UpdateOperator";
2163
2163
  function type(): TypeDescriptor<UpdateOperator>;
2164
2164
  }
2165
- interface UpdateOperatorInstance extends TypedEventInstance<UpdateOperator> {
2165
+ type UpdateOperatorInstance = TypedEventInstance<UpdateOperator> & {
2166
2166
  data_decoded: UpdateOperator;
2167
2167
  type_arguments: [];
2168
- }
2168
+ };
2169
2169
  interface UpdateOperatorEvent {
2170
2170
  admin: MoveAddressType;
2171
2171
  vesting_contract_address: MoveAddressType;
@@ -2178,10 +2178,10 @@ export declare namespace vesting {
2178
2178
  const TYPE_QNAME = "0x1::vesting::UpdateOperatorEvent";
2179
2179
  function type(): TypeDescriptor<UpdateOperatorEvent>;
2180
2180
  }
2181
- interface UpdateOperatorEventInstance extends TypedEventInstance<UpdateOperatorEvent> {
2181
+ type UpdateOperatorEventInstance = TypedEventInstance<UpdateOperatorEvent> & {
2182
2182
  data_decoded: UpdateOperatorEvent;
2183
2183
  type_arguments: [];
2184
- }
2184
+ };
2185
2185
  interface Vest {
2186
2186
  admin: MoveAddressType;
2187
2187
  vesting_contract_address: MoveAddressType;
@@ -2193,10 +2193,10 @@ export declare namespace vesting {
2193
2193
  const TYPE_QNAME = "0x1::vesting::Vest";
2194
2194
  function type(): TypeDescriptor<Vest>;
2195
2195
  }
2196
- interface VestInstance extends TypedEventInstance<Vest> {
2196
+ type VestInstance = TypedEventInstance<Vest> & {
2197
2197
  data_decoded: Vest;
2198
2198
  type_arguments: [];
2199
- }
2199
+ };
2200
2200
  interface VestEvent {
2201
2201
  admin: MoveAddressType;
2202
2202
  vesting_contract_address: MoveAddressType;
@@ -2208,10 +2208,10 @@ export declare namespace vesting {
2208
2208
  const TYPE_QNAME = "0x1::vesting::VestEvent";
2209
2209
  function type(): TypeDescriptor<VestEvent>;
2210
2210
  }
2211
- interface VestEventInstance extends TypedEventInstance<VestEvent> {
2211
+ type VestEventInstance = TypedEventInstance<VestEvent> & {
2212
2212
  data_decoded: VestEvent;
2213
2213
  type_arguments: [];
2214
- }
2214
+ };
2215
2215
  interface VestingAccountManagement {
2216
2216
  roles: simple_map.SimpleMap<string, MoveAddressType>;
2217
2217
  }
@@ -2669,10 +2669,10 @@ export declare namespace randomness {
2669
2669
  const TYPE_QNAME = "0x1::randomness::RandomnessGeneratedEvent";
2670
2670
  function type(): TypeDescriptor<RandomnessGeneratedEvent>;
2671
2671
  }
2672
- interface RandomnessGeneratedEventInstance extends TypedEventInstance<RandomnessGeneratedEvent> {
2672
+ type RandomnessGeneratedEventInstance = TypedEventInstance<RandomnessGeneratedEvent> & {
2673
2673
  data_decoded: RandomnessGeneratedEvent;
2674
2674
  type_arguments: [];
2675
- }
2675
+ };
2676
2676
  namespace entry { }
2677
2677
  namespace view { }
2678
2678
  }
@@ -2964,10 +2964,10 @@ export declare namespace aptos_account {
2964
2964
  const TYPE_QNAME = "0x1::aptos_account::DirectCoinTransferConfigUpdated";
2965
2965
  function type(): TypeDescriptor<DirectCoinTransferConfigUpdated>;
2966
2966
  }
2967
- interface DirectCoinTransferConfigUpdatedInstance extends TypedEventInstance<DirectCoinTransferConfigUpdated> {
2967
+ type DirectCoinTransferConfigUpdatedInstance = TypedEventInstance<DirectCoinTransferConfigUpdated> & {
2968
2968
  data_decoded: DirectCoinTransferConfigUpdated;
2969
2969
  type_arguments: [];
2970
- }
2970
+ };
2971
2971
  interface DirectCoinTransferConfigUpdatedEvent {
2972
2972
  new_allow_direct_transfers: boolean;
2973
2973
  }
@@ -2975,10 +2975,10 @@ export declare namespace aptos_account {
2975
2975
  const TYPE_QNAME = "0x1::aptos_account::DirectCoinTransferConfigUpdatedEvent";
2976
2976
  function type(): TypeDescriptor<DirectCoinTransferConfigUpdatedEvent>;
2977
2977
  }
2978
- interface DirectCoinTransferConfigUpdatedEventInstance extends TypedEventInstance<DirectCoinTransferConfigUpdatedEvent> {
2978
+ type DirectCoinTransferConfigUpdatedEventInstance = TypedEventInstance<DirectCoinTransferConfigUpdatedEvent> & {
2979
2979
  data_decoded: DirectCoinTransferConfigUpdatedEvent;
2980
2980
  type_arguments: [];
2981
- }
2981
+ };
2982
2982
  interface DirectTransferConfig {
2983
2983
  allow_arbitrary_coin_transfers: boolean;
2984
2984
  update_coin_transfer_events: event.EventHandle<aptos_account.DirectCoinTransferConfigUpdatedEvent>;
@@ -3349,10 +3349,10 @@ export declare namespace fungible_asset {
3349
3349
  const TYPE_QNAME = "0x1::fungible_asset::Deposit";
3350
3350
  function type(): TypeDescriptor<Deposit>;
3351
3351
  }
3352
- interface DepositInstance extends TypedEventInstance<Deposit> {
3352
+ type DepositInstance = TypedEventInstance<Deposit> & {
3353
3353
  data_decoded: Deposit;
3354
3354
  type_arguments: [];
3355
- }
3355
+ };
3356
3356
  interface DepositEvent {
3357
3357
  amount: bigint;
3358
3358
  }
@@ -3360,10 +3360,10 @@ export declare namespace fungible_asset {
3360
3360
  const TYPE_QNAME = "0x1::fungible_asset::DepositEvent";
3361
3361
  function type(): TypeDescriptor<DepositEvent>;
3362
3362
  }
3363
- interface DepositEventInstance extends TypedEventInstance<DepositEvent> {
3363
+ type DepositEventInstance = TypedEventInstance<DepositEvent> & {
3364
3364
  data_decoded: DepositEvent;
3365
3365
  type_arguments: [];
3366
- }
3366
+ };
3367
3367
  interface DeriveSupply {
3368
3368
  dispatch_function: option.Option<function_info.FunctionInfo>;
3369
3369
  }
@@ -3388,10 +3388,10 @@ export declare namespace fungible_asset {
3388
3388
  const TYPE_QNAME = "0x1::fungible_asset::Frozen";
3389
3389
  function type(): TypeDescriptor<Frozen>;
3390
3390
  }
3391
- interface FrozenInstance extends TypedEventInstance<Frozen> {
3391
+ type FrozenInstance = TypedEventInstance<Frozen> & {
3392
3392
  data_decoded: Frozen;
3393
3393
  type_arguments: [];
3394
- }
3394
+ };
3395
3395
  interface FrozenEvent {
3396
3396
  frozen: boolean;
3397
3397
  }
@@ -3399,10 +3399,10 @@ export declare namespace fungible_asset {
3399
3399
  const TYPE_QNAME = "0x1::fungible_asset::FrozenEvent";
3400
3400
  function type(): TypeDescriptor<FrozenEvent>;
3401
3401
  }
3402
- interface FrozenEventInstance extends TypedEventInstance<FrozenEvent> {
3402
+ type FrozenEventInstance = TypedEventInstance<FrozenEvent> & {
3403
3403
  data_decoded: FrozenEvent;
3404
3404
  type_arguments: [];
3405
- }
3405
+ };
3406
3406
  interface FungibleAsset {
3407
3407
  metadata: object$.Object<fungible_asset.Metadata>;
3408
3408
  amount: bigint;
@@ -3470,10 +3470,10 @@ export declare namespace fungible_asset {
3470
3470
  const TYPE_QNAME = "0x1::fungible_asset::Withdraw";
3471
3471
  function type(): TypeDescriptor<Withdraw>;
3472
3472
  }
3473
- interface WithdrawInstance extends TypedEventInstance<Withdraw> {
3473
+ type WithdrawInstance = TypedEventInstance<Withdraw> & {
3474
3474
  data_decoded: Withdraw;
3475
3475
  type_arguments: [];
3476
- }
3476
+ };
3477
3477
  interface WithdrawEvent {
3478
3478
  amount: bigint;
3479
3479
  }
@@ -3481,10 +3481,10 @@ export declare namespace fungible_asset {
3481
3481
  const TYPE_QNAME = "0x1::fungible_asset::WithdrawEvent";
3482
3482
  function type(): TypeDescriptor<WithdrawEvent>;
3483
3483
  }
3484
- interface WithdrawEventInstance extends TypedEventInstance<WithdrawEvent> {
3484
+ type WithdrawEventInstance = TypedEventInstance<WithdrawEvent> & {
3485
3485
  data_decoded: WithdrawEvent;
3486
3486
  type_arguments: [];
3487
- }
3487
+ };
3488
3488
  namespace entry {
3489
3489
  function transfer<T0 = any>(client: Aptos, account: AptosAccount, request: {
3490
3490
  typeArguments: [MoveStructId];
@@ -3597,10 +3597,10 @@ export declare namespace delegation_pool {
3597
3597
  const TYPE_QNAME = "0x1::delegation_pool::CreateProposal";
3598
3598
  function type(): TypeDescriptor<CreateProposal>;
3599
3599
  }
3600
- interface CreateProposalInstance extends TypedEventInstance<CreateProposal> {
3600
+ type CreateProposalInstance = TypedEventInstance<CreateProposal> & {
3601
3601
  data_decoded: CreateProposal;
3602
3602
  type_arguments: [];
3603
- }
3603
+ };
3604
3604
  interface CreateProposalEvent {
3605
3605
  proposal_id: bigint;
3606
3606
  voter: MoveAddressType;
@@ -3610,10 +3610,10 @@ export declare namespace delegation_pool {
3610
3610
  const TYPE_QNAME = "0x1::delegation_pool::CreateProposalEvent";
3611
3611
  function type(): TypeDescriptor<CreateProposalEvent>;
3612
3612
  }
3613
- interface CreateProposalEventInstance extends TypedEventInstance<CreateProposalEvent> {
3613
+ type CreateProposalEventInstance = TypedEventInstance<CreateProposalEvent> & {
3614
3614
  data_decoded: CreateProposalEvent;
3615
3615
  type_arguments: [];
3616
- }
3616
+ };
3617
3617
  interface Vote {
3618
3618
  voter: MoveAddressType;
3619
3619
  proposal_id: bigint;
@@ -3625,10 +3625,10 @@ export declare namespace delegation_pool {
3625
3625
  const TYPE_QNAME = "0x1::delegation_pool::Vote";
3626
3626
  function type(): TypeDescriptor<Vote>;
3627
3627
  }
3628
- interface VoteInstance extends TypedEventInstance<Vote> {
3628
+ type VoteInstance = TypedEventInstance<Vote> & {
3629
3629
  data_decoded: Vote;
3630
3630
  type_arguments: [];
3631
- }
3631
+ };
3632
3632
  interface VoteEvent {
3633
3633
  voter: MoveAddressType;
3634
3634
  proposal_id: bigint;
@@ -3640,10 +3640,10 @@ export declare namespace delegation_pool {
3640
3640
  const TYPE_QNAME = "0x1::delegation_pool::VoteEvent";
3641
3641
  function type(): TypeDescriptor<VoteEvent>;
3642
3642
  }
3643
- interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
3643
+ type VoteEventInstance = TypedEventInstance<VoteEvent> & {
3644
3644
  data_decoded: VoteEvent;
3645
3645
  type_arguments: [];
3646
- }
3646
+ };
3647
3647
  interface AddStake {
3648
3648
  pool_address: MoveAddressType;
3649
3649
  delegator_address: MoveAddressType;
@@ -3654,10 +3654,10 @@ export declare namespace delegation_pool {
3654
3654
  const TYPE_QNAME = "0x1::delegation_pool::AddStake";
3655
3655
  function type(): TypeDescriptor<AddStake>;
3656
3656
  }
3657
- interface AddStakeInstance extends TypedEventInstance<AddStake> {
3657
+ type AddStakeInstance = TypedEventInstance<AddStake> & {
3658
3658
  data_decoded: AddStake;
3659
3659
  type_arguments: [];
3660
- }
3660
+ };
3661
3661
  interface AddStakeEvent {
3662
3662
  pool_address: MoveAddressType;
3663
3663
  delegator_address: MoveAddressType;
@@ -3668,10 +3668,10 @@ export declare namespace delegation_pool {
3668
3668
  const TYPE_QNAME = "0x1::delegation_pool::AddStakeEvent";
3669
3669
  function type(): TypeDescriptor<AddStakeEvent>;
3670
3670
  }
3671
- interface AddStakeEventInstance extends TypedEventInstance<AddStakeEvent> {
3671
+ type AddStakeEventInstance = TypedEventInstance<AddStakeEvent> & {
3672
3672
  data_decoded: AddStakeEvent;
3673
3673
  type_arguments: [];
3674
- }
3674
+ };
3675
3675
  interface ReactivateStake {
3676
3676
  pool_address: MoveAddressType;
3677
3677
  delegator_address: MoveAddressType;
@@ -3681,10 +3681,10 @@ export declare namespace delegation_pool {
3681
3681
  const TYPE_QNAME = "0x1::delegation_pool::ReactivateStake";
3682
3682
  function type(): TypeDescriptor<ReactivateStake>;
3683
3683
  }
3684
- interface ReactivateStakeInstance extends TypedEventInstance<ReactivateStake> {
3684
+ type ReactivateStakeInstance = TypedEventInstance<ReactivateStake> & {
3685
3685
  data_decoded: ReactivateStake;
3686
3686
  type_arguments: [];
3687
- }
3687
+ };
3688
3688
  interface ReactivateStakeEvent {
3689
3689
  pool_address: MoveAddressType;
3690
3690
  delegator_address: MoveAddressType;
@@ -3694,10 +3694,10 @@ export declare namespace delegation_pool {
3694
3694
  const TYPE_QNAME = "0x1::delegation_pool::ReactivateStakeEvent";
3695
3695
  function type(): TypeDescriptor<ReactivateStakeEvent>;
3696
3696
  }
3697
- interface ReactivateStakeEventInstance extends TypedEventInstance<ReactivateStakeEvent> {
3697
+ type ReactivateStakeEventInstance = TypedEventInstance<ReactivateStakeEvent> & {
3698
3698
  data_decoded: ReactivateStakeEvent;
3699
3699
  type_arguments: [];
3700
- }
3700
+ };
3701
3701
  interface UnlockStake {
3702
3702
  pool_address: MoveAddressType;
3703
3703
  delegator_address: MoveAddressType;
@@ -3707,10 +3707,10 @@ export declare namespace delegation_pool {
3707
3707
  const TYPE_QNAME = "0x1::delegation_pool::UnlockStake";
3708
3708
  function type(): TypeDescriptor<UnlockStake>;
3709
3709
  }
3710
- interface UnlockStakeInstance extends TypedEventInstance<UnlockStake> {
3710
+ type UnlockStakeInstance = TypedEventInstance<UnlockStake> & {
3711
3711
  data_decoded: UnlockStake;
3712
3712
  type_arguments: [];
3713
- }
3713
+ };
3714
3714
  interface UnlockStakeEvent {
3715
3715
  pool_address: MoveAddressType;
3716
3716
  delegator_address: MoveAddressType;
@@ -3720,10 +3720,10 @@ export declare namespace delegation_pool {
3720
3720
  const TYPE_QNAME = "0x1::delegation_pool::UnlockStakeEvent";
3721
3721
  function type(): TypeDescriptor<UnlockStakeEvent>;
3722
3722
  }
3723
- interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
3723
+ type UnlockStakeEventInstance = TypedEventInstance<UnlockStakeEvent> & {
3724
3724
  data_decoded: UnlockStakeEvent;
3725
3725
  type_arguments: [];
3726
- }
3726
+ };
3727
3727
  interface WithdrawStake {
3728
3728
  pool_address: MoveAddressType;
3729
3729
  delegator_address: MoveAddressType;
@@ -3733,10 +3733,10 @@ export declare namespace delegation_pool {
3733
3733
  const TYPE_QNAME = "0x1::delegation_pool::WithdrawStake";
3734
3734
  function type(): TypeDescriptor<WithdrawStake>;
3735
3735
  }
3736
- interface WithdrawStakeInstance extends TypedEventInstance<WithdrawStake> {
3736
+ type WithdrawStakeInstance = TypedEventInstance<WithdrawStake> & {
3737
3737
  data_decoded: WithdrawStake;
3738
3738
  type_arguments: [];
3739
- }
3739
+ };
3740
3740
  interface WithdrawStakeEvent {
3741
3741
  pool_address: MoveAddressType;
3742
3742
  delegator_address: MoveAddressType;
@@ -3746,10 +3746,10 @@ export declare namespace delegation_pool {
3746
3746
  const TYPE_QNAME = "0x1::delegation_pool::WithdrawStakeEvent";
3747
3747
  function type(): TypeDescriptor<WithdrawStakeEvent>;
3748
3748
  }
3749
- interface WithdrawStakeEventInstance extends TypedEventInstance<WithdrawStakeEvent> {
3749
+ type WithdrawStakeEventInstance = TypedEventInstance<WithdrawStakeEvent> & {
3750
3750
  data_decoded: WithdrawStakeEvent;
3751
3751
  type_arguments: [];
3752
- }
3752
+ };
3753
3753
  interface AllowlistDelegator {
3754
3754
  pool_address: MoveAddressType;
3755
3755
  delegator_address: MoveAddressType;
@@ -3758,10 +3758,10 @@ export declare namespace delegation_pool {
3758
3758
  const TYPE_QNAME = "0x1::delegation_pool::AllowlistDelegator";
3759
3759
  function type(): TypeDescriptor<AllowlistDelegator>;
3760
3760
  }
3761
- interface AllowlistDelegatorInstance extends TypedEventInstance<AllowlistDelegator> {
3761
+ type AllowlistDelegatorInstance = TypedEventInstance<AllowlistDelegator> & {
3762
3762
  data_decoded: AllowlistDelegator;
3763
3763
  type_arguments: [];
3764
- }
3764
+ };
3765
3765
  interface BeneficiaryForOperator {
3766
3766
  beneficiary_for_operator: MoveAddressType;
3767
3767
  }
@@ -3778,10 +3778,10 @@ export declare namespace delegation_pool {
3778
3778
  const TYPE_QNAME = "0x1::delegation_pool::CommissionPercentageChange";
3779
3779
  function type(): TypeDescriptor<CommissionPercentageChange>;
3780
3780
  }
3781
- interface CommissionPercentageChangeInstance extends TypedEventInstance<CommissionPercentageChange> {
3781
+ type CommissionPercentageChangeInstance = TypedEventInstance<CommissionPercentageChange> & {
3782
3782
  data_decoded: CommissionPercentageChange;
3783
3783
  type_arguments: [];
3784
- }
3784
+ };
3785
3785
  interface DelegateVotingPower {
3786
3786
  pool_address: MoveAddressType;
3787
3787
  delegator: MoveAddressType;
@@ -3791,10 +3791,10 @@ export declare namespace delegation_pool {
3791
3791
  const TYPE_QNAME = "0x1::delegation_pool::DelegateVotingPower";
3792
3792
  function type(): TypeDescriptor<DelegateVotingPower>;
3793
3793
  }
3794
- interface DelegateVotingPowerInstance extends TypedEventInstance<DelegateVotingPower> {
3794
+ type DelegateVotingPowerInstance = TypedEventInstance<DelegateVotingPower> & {
3795
3795
  data_decoded: DelegateVotingPower;
3796
3796
  type_arguments: [];
3797
- }
3797
+ };
3798
3798
  interface DelegateVotingPowerEvent {
3799
3799
  pool_address: MoveAddressType;
3800
3800
  delegator: MoveAddressType;
@@ -3804,10 +3804,10 @@ export declare namespace delegation_pool {
3804
3804
  const TYPE_QNAME = "0x1::delegation_pool::DelegateVotingPowerEvent";
3805
3805
  function type(): TypeDescriptor<DelegateVotingPowerEvent>;
3806
3806
  }
3807
- interface DelegateVotingPowerEventInstance extends TypedEventInstance<DelegateVotingPowerEvent> {
3807
+ type DelegateVotingPowerEventInstance = TypedEventInstance<DelegateVotingPowerEvent> & {
3808
3808
  data_decoded: DelegateVotingPowerEvent;
3809
3809
  type_arguments: [];
3810
- }
3810
+ };
3811
3811
  interface DelegatedVotes {
3812
3812
  active_shares: bigint;
3813
3813
  pending_inactive_shares: bigint;
@@ -3857,10 +3857,10 @@ export declare namespace delegation_pool {
3857
3857
  const TYPE_QNAME = "0x1::delegation_pool::DisableDelegatorsAllowlisting";
3858
3858
  function type(): TypeDescriptor<DisableDelegatorsAllowlisting>;
3859
3859
  }
3860
- interface DisableDelegatorsAllowlistingInstance extends TypedEventInstance<DisableDelegatorsAllowlisting> {
3860
+ type DisableDelegatorsAllowlistingInstance = TypedEventInstance<DisableDelegatorsAllowlisting> & {
3861
3861
  data_decoded: DisableDelegatorsAllowlisting;
3862
3862
  type_arguments: [];
3863
- }
3863
+ };
3864
3864
  interface DistributeCommission {
3865
3865
  pool_address: MoveAddressType;
3866
3866
  operator: MoveAddressType;
@@ -3872,10 +3872,10 @@ export declare namespace delegation_pool {
3872
3872
  const TYPE_QNAME = "0x1::delegation_pool::DistributeCommission";
3873
3873
  function type(): TypeDescriptor<DistributeCommission>;
3874
3874
  }
3875
- interface DistributeCommissionInstance extends TypedEventInstance<DistributeCommission> {
3875
+ type DistributeCommissionInstance = TypedEventInstance<DistributeCommission> & {
3876
3876
  data_decoded: DistributeCommission;
3877
3877
  type_arguments: [];
3878
- }
3878
+ };
3879
3879
  interface DistributeCommissionEvent {
3880
3880
  pool_address: MoveAddressType;
3881
3881
  operator: MoveAddressType;
@@ -3886,10 +3886,10 @@ export declare namespace delegation_pool {
3886
3886
  const TYPE_QNAME = "0x1::delegation_pool::DistributeCommissionEvent";
3887
3887
  function type(): TypeDescriptor<DistributeCommissionEvent>;
3888
3888
  }
3889
- interface DistributeCommissionEventInstance extends TypedEventInstance<DistributeCommissionEvent> {
3889
+ type DistributeCommissionEventInstance = TypedEventInstance<DistributeCommissionEvent> & {
3890
3890
  data_decoded: DistributeCommissionEvent;
3891
3891
  type_arguments: [];
3892
- }
3892
+ };
3893
3893
  interface EnableDelegatorsAllowlisting {
3894
3894
  pool_address: MoveAddressType;
3895
3895
  }
@@ -3897,10 +3897,10 @@ export declare namespace delegation_pool {
3897
3897
  const TYPE_QNAME = "0x1::delegation_pool::EnableDelegatorsAllowlisting";
3898
3898
  function type(): TypeDescriptor<EnableDelegatorsAllowlisting>;
3899
3899
  }
3900
- interface EnableDelegatorsAllowlistingInstance extends TypedEventInstance<EnableDelegatorsAllowlisting> {
3900
+ type EnableDelegatorsAllowlistingInstance = TypedEventInstance<EnableDelegatorsAllowlisting> & {
3901
3901
  data_decoded: EnableDelegatorsAllowlisting;
3902
3902
  type_arguments: [];
3903
- }
3903
+ };
3904
3904
  interface EvictDelegator {
3905
3905
  pool_address: MoveAddressType;
3906
3906
  delegator_address: MoveAddressType;
@@ -3909,10 +3909,10 @@ export declare namespace delegation_pool {
3909
3909
  const TYPE_QNAME = "0x1::delegation_pool::EvictDelegator";
3910
3910
  function type(): TypeDescriptor<EvictDelegator>;
3911
3911
  }
3912
- interface EvictDelegatorInstance extends TypedEventInstance<EvictDelegator> {
3912
+ type EvictDelegatorInstance = TypedEventInstance<EvictDelegator> & {
3913
3913
  data_decoded: EvictDelegator;
3914
3914
  type_arguments: [];
3915
- }
3915
+ };
3916
3916
  interface GovernanceRecords {
3917
3917
  votes: smart_table.SmartTable<delegation_pool.VotingRecordKey, bigint>;
3918
3918
  votes_per_proposal: smart_table.SmartTable<bigint, bigint>;
@@ -3949,10 +3949,10 @@ export declare namespace delegation_pool {
3949
3949
  const TYPE_QNAME = "0x1::delegation_pool::RemoveDelegatorFromAllowlist";
3950
3950
  function type(): TypeDescriptor<RemoveDelegatorFromAllowlist>;
3951
3951
  }
3952
- interface RemoveDelegatorFromAllowlistInstance extends TypedEventInstance<RemoveDelegatorFromAllowlist> {
3952
+ type RemoveDelegatorFromAllowlistInstance = TypedEventInstance<RemoveDelegatorFromAllowlist> & {
3953
3953
  data_decoded: RemoveDelegatorFromAllowlist;
3954
3954
  type_arguments: [];
3955
- }
3955
+ };
3956
3956
  interface SetBeneficiaryForOperator {
3957
3957
  operator: MoveAddressType;
3958
3958
  old_beneficiary: MoveAddressType;
@@ -3962,10 +3962,10 @@ export declare namespace delegation_pool {
3962
3962
  const TYPE_QNAME = "0x1::delegation_pool::SetBeneficiaryForOperator";
3963
3963
  function type(): TypeDescriptor<SetBeneficiaryForOperator>;
3964
3964
  }
3965
- interface SetBeneficiaryForOperatorInstance extends TypedEventInstance<SetBeneficiaryForOperator> {
3965
+ type SetBeneficiaryForOperatorInstance = TypedEventInstance<SetBeneficiaryForOperator> & {
3966
3966
  data_decoded: SetBeneficiaryForOperator;
3967
3967
  type_arguments: [];
3968
- }
3968
+ };
3969
3969
  interface VoteDelegation {
3970
3970
  voter: MoveAddressType;
3971
3971
  pending_voter: MoveAddressType;
@@ -4194,10 +4194,10 @@ export declare namespace reconfiguration {
4194
4194
  const TYPE_QNAME = "0x1::reconfiguration::NewEpoch";
4195
4195
  function type(): TypeDescriptor<NewEpoch>;
4196
4196
  }
4197
- interface NewEpochInstance extends TypedEventInstance<NewEpoch> {
4197
+ type NewEpochInstance = TypedEventInstance<NewEpoch> & {
4198
4198
  data_decoded: NewEpoch;
4199
4199
  type_arguments: [];
4200
- }
4200
+ };
4201
4201
  interface NewEpochEvent {
4202
4202
  epoch: bigint;
4203
4203
  }
@@ -4205,10 +4205,10 @@ export declare namespace reconfiguration {
4205
4205
  const TYPE_QNAME = "0x1::reconfiguration::NewEpochEvent";
4206
4206
  function type(): TypeDescriptor<NewEpochEvent>;
4207
4207
  }
4208
- interface NewEpochEventInstance extends TypedEventInstance<NewEpochEvent> {
4208
+ type NewEpochEventInstance = TypedEventInstance<NewEpochEvent> & {
4209
4209
  data_decoded: NewEpochEvent;
4210
4210
  type_arguments: [];
4211
- }
4211
+ };
4212
4212
  namespace entry { }
4213
4213
  namespace view { }
4214
4214
  }
@@ -4254,10 +4254,10 @@ export declare namespace transaction_fee {
4254
4254
  const TYPE_QNAME = "0x1::transaction_fee::FeeStatement";
4255
4255
  function type(): TypeDescriptor<FeeStatement>;
4256
4256
  }
4257
- interface FeeStatementInstance extends TypedEventInstance<FeeStatement> {
4257
+ type FeeStatementInstance = TypedEventInstance<FeeStatement> & {
4258
4258
  data_decoded: FeeStatement;
4259
4259
  type_arguments: [];
4260
- }
4260
+ };
4261
4261
  namespace entry {
4262
4262
  function convertToAptosFaBurnRef(client: Aptos, account: AptosAccount, request: {
4263
4263
  typeArguments: [];
@@ -4278,10 +4278,10 @@ export declare namespace aptos_governance {
4278
4278
  const TYPE_QNAME = "0x1::aptos_governance::CreateProposal";
4279
4279
  function type(): TypeDescriptor<CreateProposal>;
4280
4280
  }
4281
- interface CreateProposalInstance extends TypedEventInstance<CreateProposal> {
4281
+ type CreateProposalInstance = TypedEventInstance<CreateProposal> & {
4282
4282
  data_decoded: CreateProposal;
4283
4283
  type_arguments: [];
4284
- }
4284
+ };
4285
4285
  interface CreateProposalEvent {
4286
4286
  proposer: MoveAddressType;
4287
4287
  stake_pool: MoveAddressType;
@@ -4293,10 +4293,10 @@ export declare namespace aptos_governance {
4293
4293
  const TYPE_QNAME = "0x1::aptos_governance::CreateProposalEvent";
4294
4294
  function type(): TypeDescriptor<CreateProposalEvent>;
4295
4295
  }
4296
- interface CreateProposalEventInstance extends TypedEventInstance<CreateProposalEvent> {
4296
+ type CreateProposalEventInstance = TypedEventInstance<CreateProposalEvent> & {
4297
4297
  data_decoded: CreateProposalEvent;
4298
4298
  type_arguments: [];
4299
- }
4299
+ };
4300
4300
  interface Vote {
4301
4301
  proposal_id: bigint;
4302
4302
  voter: MoveAddressType;
@@ -4308,10 +4308,10 @@ export declare namespace aptos_governance {
4308
4308
  const TYPE_QNAME = "0x1::aptos_governance::Vote";
4309
4309
  function type(): TypeDescriptor<Vote>;
4310
4310
  }
4311
- interface VoteInstance extends TypedEventInstance<Vote> {
4311
+ type VoteInstance = TypedEventInstance<Vote> & {
4312
4312
  data_decoded: Vote;
4313
4313
  type_arguments: [];
4314
- }
4314
+ };
4315
4315
  interface VoteEvent {
4316
4316
  proposal_id: bigint;
4317
4317
  voter: MoveAddressType;
@@ -4323,10 +4323,10 @@ export declare namespace aptos_governance {
4323
4323
  const TYPE_QNAME = "0x1::aptos_governance::VoteEvent";
4324
4324
  function type(): TypeDescriptor<VoteEvent>;
4325
4325
  }
4326
- interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
4326
+ type VoteEventInstance = TypedEventInstance<VoteEvent> & {
4327
4327
  data_decoded: VoteEvent;
4328
4328
  type_arguments: [];
4329
- }
4329
+ };
4330
4330
  interface ApprovedExecutionHashes {
4331
4331
  hashes: simple_map.SimpleMap<bigint, string>;
4332
4332
  }
@@ -4376,10 +4376,10 @@ export declare namespace aptos_governance {
4376
4376
  const TYPE_QNAME = "0x1::aptos_governance::UpdateConfig";
4377
4377
  function type(): TypeDescriptor<UpdateConfig>;
4378
4378
  }
4379
- interface UpdateConfigInstance extends TypedEventInstance<UpdateConfig> {
4379
+ type UpdateConfigInstance = TypedEventInstance<UpdateConfig> & {
4380
4380
  data_decoded: UpdateConfig;
4381
4381
  type_arguments: [];
4382
- }
4382
+ };
4383
4383
  interface UpdateConfigEvent {
4384
4384
  min_voting_threshold: bigint;
4385
4385
  required_proposer_stake: bigint;
@@ -4389,10 +4389,10 @@ export declare namespace aptos_governance {
4389
4389
  const TYPE_QNAME = "0x1::aptos_governance::UpdateConfigEvent";
4390
4390
  function type(): TypeDescriptor<UpdateConfigEvent>;
4391
4391
  }
4392
- interface UpdateConfigEventInstance extends TypedEventInstance<UpdateConfigEvent> {
4392
+ type UpdateConfigEventInstance = TypedEventInstance<UpdateConfigEvent> & {
4393
4393
  data_decoded: UpdateConfigEvent;
4394
4394
  type_arguments: [];
4395
- }
4395
+ };
4396
4396
  interface VotingRecords {
4397
4397
  votes: table.Table<aptos_governance.RecordKey, boolean>;
4398
4398
  }
@@ -4606,10 +4606,10 @@ export declare namespace multisig_account {
4606
4606
  const TYPE_QNAME = "0x1::multisig_account::Vote";
4607
4607
  function type(): TypeDescriptor<Vote>;
4608
4608
  }
4609
- interface VoteInstance extends TypedEventInstance<Vote> {
4609
+ type VoteInstance = TypedEventInstance<Vote> & {
4610
4610
  data_decoded: Vote;
4611
4611
  type_arguments: [];
4612
- }
4612
+ };
4613
4613
  interface VoteEvent {
4614
4614
  owner: MoveAddressType;
4615
4615
  sequence_number: bigint;
@@ -4619,10 +4619,10 @@ export declare namespace multisig_account {
4619
4619
  const TYPE_QNAME = "0x1::multisig_account::VoteEvent";
4620
4620
  function type(): TypeDescriptor<VoteEvent>;
4621
4621
  }
4622
- interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
4622
+ type VoteEventInstance = TypedEventInstance<VoteEvent> & {
4623
4623
  data_decoded: VoteEvent;
4624
4624
  type_arguments: [];
4625
- }
4625
+ };
4626
4626
  interface AddOwners {
4627
4627
  multisig_account: MoveAddressType;
4628
4628
  owners_added: MoveAddressType[];
@@ -4631,10 +4631,10 @@ export declare namespace multisig_account {
4631
4631
  const TYPE_QNAME = "0x1::multisig_account::AddOwners";
4632
4632
  function type(): TypeDescriptor<AddOwners>;
4633
4633
  }
4634
- interface AddOwnersInstance extends TypedEventInstance<AddOwners> {
4634
+ type AddOwnersInstance = TypedEventInstance<AddOwners> & {
4635
4635
  data_decoded: AddOwners;
4636
4636
  type_arguments: [];
4637
- }
4637
+ };
4638
4638
  interface AddOwnersEvent {
4639
4639
  owners_added: MoveAddressType[];
4640
4640
  }
@@ -4642,10 +4642,10 @@ export declare namespace multisig_account {
4642
4642
  const TYPE_QNAME = "0x1::multisig_account::AddOwnersEvent";
4643
4643
  function type(): TypeDescriptor<AddOwnersEvent>;
4644
4644
  }
4645
- interface AddOwnersEventInstance extends TypedEventInstance<AddOwnersEvent> {
4645
+ type AddOwnersEventInstance = TypedEventInstance<AddOwnersEvent> & {
4646
4646
  data_decoded: AddOwnersEvent;
4647
4647
  type_arguments: [];
4648
- }
4648
+ };
4649
4649
  interface CreateTransaction {
4650
4650
  multisig_account: MoveAddressType;
4651
4651
  creator: MoveAddressType;
@@ -4656,10 +4656,10 @@ export declare namespace multisig_account {
4656
4656
  const TYPE_QNAME = "0x1::multisig_account::CreateTransaction";
4657
4657
  function type(): TypeDescriptor<CreateTransaction>;
4658
4658
  }
4659
- interface CreateTransactionInstance extends TypedEventInstance<CreateTransaction> {
4659
+ type CreateTransactionInstance = TypedEventInstance<CreateTransaction> & {
4660
4660
  data_decoded: CreateTransaction;
4661
4661
  type_arguments: [];
4662
- }
4662
+ };
4663
4663
  interface CreateTransactionEvent {
4664
4664
  creator: MoveAddressType;
4665
4665
  sequence_number: bigint;
@@ -4669,10 +4669,10 @@ export declare namespace multisig_account {
4669
4669
  const TYPE_QNAME = "0x1::multisig_account::CreateTransactionEvent";
4670
4670
  function type(): TypeDescriptor<CreateTransactionEvent>;
4671
4671
  }
4672
- interface CreateTransactionEventInstance extends TypedEventInstance<CreateTransactionEvent> {
4672
+ type CreateTransactionEventInstance = TypedEventInstance<CreateTransactionEvent> & {
4673
4673
  data_decoded: CreateTransactionEvent;
4674
4674
  type_arguments: [];
4675
- }
4675
+ };
4676
4676
  interface ExecuteRejectedTransaction {
4677
4677
  multisig_account: MoveAddressType;
4678
4678
  sequence_number: bigint;
@@ -4683,10 +4683,10 @@ export declare namespace multisig_account {
4683
4683
  const TYPE_QNAME = "0x1::multisig_account::ExecuteRejectedTransaction";
4684
4684
  function type(): TypeDescriptor<ExecuteRejectedTransaction>;
4685
4685
  }
4686
- interface ExecuteRejectedTransactionInstance extends TypedEventInstance<ExecuteRejectedTransaction> {
4686
+ type ExecuteRejectedTransactionInstance = TypedEventInstance<ExecuteRejectedTransaction> & {
4687
4687
  data_decoded: ExecuteRejectedTransaction;
4688
4688
  type_arguments: [];
4689
- }
4689
+ };
4690
4690
  interface ExecuteRejectedTransactionEvent {
4691
4691
  sequence_number: bigint;
4692
4692
  num_rejections: bigint;
@@ -4696,10 +4696,10 @@ export declare namespace multisig_account {
4696
4696
  const TYPE_QNAME = "0x1::multisig_account::ExecuteRejectedTransactionEvent";
4697
4697
  function type(): TypeDescriptor<ExecuteRejectedTransactionEvent>;
4698
4698
  }
4699
- interface ExecuteRejectedTransactionEventInstance extends TypedEventInstance<ExecuteRejectedTransactionEvent> {
4699
+ type ExecuteRejectedTransactionEventInstance = TypedEventInstance<ExecuteRejectedTransactionEvent> & {
4700
4700
  data_decoded: ExecuteRejectedTransactionEvent;
4701
4701
  type_arguments: [];
4702
- }
4702
+ };
4703
4703
  interface ExecutionError {
4704
4704
  abort_location: string;
4705
4705
  error_type: string;
@@ -4718,10 +4718,10 @@ export declare namespace multisig_account {
4718
4718
  const TYPE_QNAME = "0x1::multisig_account::MetadataUpdated";
4719
4719
  function type(): TypeDescriptor<MetadataUpdated>;
4720
4720
  }
4721
- interface MetadataUpdatedInstance extends TypedEventInstance<MetadataUpdated> {
4721
+ type MetadataUpdatedInstance = TypedEventInstance<MetadataUpdated> & {
4722
4722
  data_decoded: MetadataUpdated;
4723
4723
  type_arguments: [];
4724
- }
4724
+ };
4725
4725
  interface MetadataUpdatedEvent {
4726
4726
  old_metadata: simple_map.SimpleMap<string, string>;
4727
4727
  new_metadata: simple_map.SimpleMap<string, string>;
@@ -4730,10 +4730,10 @@ export declare namespace multisig_account {
4730
4730
  const TYPE_QNAME = "0x1::multisig_account::MetadataUpdatedEvent";
4731
4731
  function type(): TypeDescriptor<MetadataUpdatedEvent>;
4732
4732
  }
4733
- interface MetadataUpdatedEventInstance extends TypedEventInstance<MetadataUpdatedEvent> {
4733
+ type MetadataUpdatedEventInstance = TypedEventInstance<MetadataUpdatedEvent> & {
4734
4734
  data_decoded: MetadataUpdatedEvent;
4735
4735
  type_arguments: [];
4736
- }
4736
+ };
4737
4737
  interface MultisigAccount {
4738
4738
  owners: MoveAddressType[];
4739
4739
  num_signatures_required: bigint;
@@ -4797,10 +4797,10 @@ export declare namespace multisig_account {
4797
4797
  const TYPE_QNAME = "0x1::multisig_account::RemoveOwners";
4798
4798
  function type(): TypeDescriptor<RemoveOwners>;
4799
4799
  }
4800
- interface RemoveOwnersInstance extends TypedEventInstance<RemoveOwners> {
4800
+ type RemoveOwnersInstance = TypedEventInstance<RemoveOwners> & {
4801
4801
  data_decoded: RemoveOwners;
4802
4802
  type_arguments: [];
4803
- }
4803
+ };
4804
4804
  interface RemoveOwnersEvent {
4805
4805
  owners_removed: MoveAddressType[];
4806
4806
  }
@@ -4808,10 +4808,10 @@ export declare namespace multisig_account {
4808
4808
  const TYPE_QNAME = "0x1::multisig_account::RemoveOwnersEvent";
4809
4809
  function type(): TypeDescriptor<RemoveOwnersEvent>;
4810
4810
  }
4811
- interface RemoveOwnersEventInstance extends TypedEventInstance<RemoveOwnersEvent> {
4811
+ type RemoveOwnersEventInstance = TypedEventInstance<RemoveOwnersEvent> & {
4812
4812
  data_decoded: RemoveOwnersEvent;
4813
4813
  type_arguments: [];
4814
- }
4814
+ };
4815
4815
  interface TransactionExecutionFailed {
4816
4816
  multisig_account: MoveAddressType;
4817
4817
  executor: MoveAddressType;
@@ -4824,10 +4824,10 @@ export declare namespace multisig_account {
4824
4824
  const TYPE_QNAME = "0x1::multisig_account::TransactionExecutionFailed";
4825
4825
  function type(): TypeDescriptor<TransactionExecutionFailed>;
4826
4826
  }
4827
- interface TransactionExecutionFailedInstance extends TypedEventInstance<TransactionExecutionFailed> {
4827
+ type TransactionExecutionFailedInstance = TypedEventInstance<TransactionExecutionFailed> & {
4828
4828
  data_decoded: TransactionExecutionFailed;
4829
4829
  type_arguments: [];
4830
- }
4830
+ };
4831
4831
  interface TransactionExecutionFailedEvent {
4832
4832
  executor: MoveAddressType;
4833
4833
  sequence_number: bigint;
@@ -4839,10 +4839,10 @@ export declare namespace multisig_account {
4839
4839
  const TYPE_QNAME = "0x1::multisig_account::TransactionExecutionFailedEvent";
4840
4840
  function type(): TypeDescriptor<TransactionExecutionFailedEvent>;
4841
4841
  }
4842
- interface TransactionExecutionFailedEventInstance extends TypedEventInstance<TransactionExecutionFailedEvent> {
4842
+ type TransactionExecutionFailedEventInstance = TypedEventInstance<TransactionExecutionFailedEvent> & {
4843
4843
  data_decoded: TransactionExecutionFailedEvent;
4844
4844
  type_arguments: [];
4845
- }
4845
+ };
4846
4846
  interface TransactionExecutionSucceeded {
4847
4847
  multisig_account: MoveAddressType;
4848
4848
  executor: MoveAddressType;
@@ -4854,10 +4854,10 @@ export declare namespace multisig_account {
4854
4854
  const TYPE_QNAME = "0x1::multisig_account::TransactionExecutionSucceeded";
4855
4855
  function type(): TypeDescriptor<TransactionExecutionSucceeded>;
4856
4856
  }
4857
- interface TransactionExecutionSucceededInstance extends TypedEventInstance<TransactionExecutionSucceeded> {
4857
+ type TransactionExecutionSucceededInstance = TypedEventInstance<TransactionExecutionSucceeded> & {
4858
4858
  data_decoded: TransactionExecutionSucceeded;
4859
4859
  type_arguments: [];
4860
- }
4860
+ };
4861
4861
  interface TransactionExecutionSucceededEvent {
4862
4862
  executor: MoveAddressType;
4863
4863
  sequence_number: bigint;
@@ -4868,10 +4868,10 @@ export declare namespace multisig_account {
4868
4868
  const TYPE_QNAME = "0x1::multisig_account::TransactionExecutionSucceededEvent";
4869
4869
  function type(): TypeDescriptor<TransactionExecutionSucceededEvent>;
4870
4870
  }
4871
- interface TransactionExecutionSucceededEventInstance extends TypedEventInstance<TransactionExecutionSucceededEvent> {
4871
+ type TransactionExecutionSucceededEventInstance = TypedEventInstance<TransactionExecutionSucceededEvent> & {
4872
4872
  data_decoded: TransactionExecutionSucceededEvent;
4873
4873
  type_arguments: [];
4874
- }
4874
+ };
4875
4875
  interface UpdateSignaturesRequired {
4876
4876
  multisig_account: MoveAddressType;
4877
4877
  old_num_signatures_required: bigint;
@@ -4881,10 +4881,10 @@ export declare namespace multisig_account {
4881
4881
  const TYPE_QNAME = "0x1::multisig_account::UpdateSignaturesRequired";
4882
4882
  function type(): TypeDescriptor<UpdateSignaturesRequired>;
4883
4883
  }
4884
- interface UpdateSignaturesRequiredInstance extends TypedEventInstance<UpdateSignaturesRequired> {
4884
+ type UpdateSignaturesRequiredInstance = TypedEventInstance<UpdateSignaturesRequired> & {
4885
4885
  data_decoded: UpdateSignaturesRequired;
4886
4886
  type_arguments: [];
4887
- }
4887
+ };
4888
4888
  interface UpdateSignaturesRequiredEvent {
4889
4889
  old_num_signatures_required: bigint;
4890
4890
  new_num_signatures_required: bigint;
@@ -4893,10 +4893,10 @@ export declare namespace multisig_account {
4893
4893
  const TYPE_QNAME = "0x1::multisig_account::UpdateSignaturesRequiredEvent";
4894
4894
  function type(): TypeDescriptor<UpdateSignaturesRequiredEvent>;
4895
4895
  }
4896
- interface UpdateSignaturesRequiredEventInstance extends TypedEventInstance<UpdateSignaturesRequiredEvent> {
4896
+ type UpdateSignaturesRequiredEventInstance = TypedEventInstance<UpdateSignaturesRequiredEvent> & {
4897
4897
  data_decoded: UpdateSignaturesRequiredEvent;
4898
4898
  type_arguments: [];
4899
- }
4899
+ };
4900
4900
  namespace entry {
4901
4901
  function create(client: Aptos, account: AptosAccount, request: {
4902
4902
  typeArguments: [];
@@ -5120,10 +5120,10 @@ export declare namespace staking_contract {
5120
5120
  const TYPE_QNAME = "0x1::staking_contract::AddStake";
5121
5121
  function type(): TypeDescriptor<AddStake>;
5122
5122
  }
5123
- interface AddStakeInstance extends TypedEventInstance<AddStake> {
5123
+ type AddStakeInstance = TypedEventInstance<AddStake> & {
5124
5124
  data_decoded: AddStake;
5125
5125
  type_arguments: [];
5126
- }
5126
+ };
5127
5127
  interface AddStakeEvent {
5128
5128
  operator: MoveAddressType;
5129
5129
  pool_address: MoveAddressType;
@@ -5133,10 +5133,10 @@ export declare namespace staking_contract {
5133
5133
  const TYPE_QNAME = "0x1::staking_contract::AddStakeEvent";
5134
5134
  function type(): TypeDescriptor<AddStakeEvent>;
5135
5135
  }
5136
- interface AddStakeEventInstance extends TypedEventInstance<AddStakeEvent> {
5136
+ type AddStakeEventInstance = TypedEventInstance<AddStakeEvent> & {
5137
5137
  data_decoded: AddStakeEvent;
5138
5138
  type_arguments: [];
5139
- }
5139
+ };
5140
5140
  interface UnlockStake {
5141
5141
  operator: MoveAddressType;
5142
5142
  pool_address: MoveAddressType;
@@ -5147,10 +5147,10 @@ export declare namespace staking_contract {
5147
5147
  const TYPE_QNAME = "0x1::staking_contract::UnlockStake";
5148
5148
  function type(): TypeDescriptor<UnlockStake>;
5149
5149
  }
5150
- interface UnlockStakeInstance extends TypedEventInstance<UnlockStake> {
5150
+ type UnlockStakeInstance = TypedEventInstance<UnlockStake> & {
5151
5151
  data_decoded: UnlockStake;
5152
5152
  type_arguments: [];
5153
- }
5153
+ };
5154
5154
  interface UnlockStakeEvent {
5155
5155
  operator: MoveAddressType;
5156
5156
  pool_address: MoveAddressType;
@@ -5161,10 +5161,10 @@ export declare namespace staking_contract {
5161
5161
  const TYPE_QNAME = "0x1::staking_contract::UnlockStakeEvent";
5162
5162
  function type(): TypeDescriptor<UnlockStakeEvent>;
5163
5163
  }
5164
- interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
5164
+ type UnlockStakeEventInstance = TypedEventInstance<UnlockStakeEvent> & {
5165
5165
  data_decoded: UnlockStakeEvent;
5166
5166
  type_arguments: [];
5167
- }
5167
+ };
5168
5168
  interface BeneficiaryForOperator {
5169
5169
  beneficiary_for_operator: MoveAddressType;
5170
5170
  }
@@ -5181,10 +5181,10 @@ export declare namespace staking_contract {
5181
5181
  const TYPE_QNAME = "0x1::staking_contract::SetBeneficiaryForOperator";
5182
5182
  function type(): TypeDescriptor<SetBeneficiaryForOperator>;
5183
5183
  }
5184
- interface SetBeneficiaryForOperatorInstance extends TypedEventInstance<SetBeneficiaryForOperator> {
5184
+ type SetBeneficiaryForOperatorInstance = TypedEventInstance<SetBeneficiaryForOperator> & {
5185
5185
  data_decoded: SetBeneficiaryForOperator;
5186
5186
  type_arguments: [];
5187
- }
5187
+ };
5188
5188
  interface AddDistribution {
5189
5189
  operator: MoveAddressType;
5190
5190
  pool_address: MoveAddressType;
@@ -5194,10 +5194,10 @@ export declare namespace staking_contract {
5194
5194
  const TYPE_QNAME = "0x1::staking_contract::AddDistribution";
5195
5195
  function type(): TypeDescriptor<AddDistribution>;
5196
5196
  }
5197
- interface AddDistributionInstance extends TypedEventInstance<AddDistribution> {
5197
+ type AddDistributionInstance = TypedEventInstance<AddDistribution> & {
5198
5198
  data_decoded: AddDistribution;
5199
5199
  type_arguments: [];
5200
- }
5200
+ };
5201
5201
  interface AddDistributionEvent {
5202
5202
  operator: MoveAddressType;
5203
5203
  pool_address: MoveAddressType;
@@ -5207,10 +5207,10 @@ export declare namespace staking_contract {
5207
5207
  const TYPE_QNAME = "0x1::staking_contract::AddDistributionEvent";
5208
5208
  function type(): TypeDescriptor<AddDistributionEvent>;
5209
5209
  }
5210
- interface AddDistributionEventInstance extends TypedEventInstance<AddDistributionEvent> {
5210
+ type AddDistributionEventInstance = TypedEventInstance<AddDistributionEvent> & {
5211
5211
  data_decoded: AddDistributionEvent;
5212
5212
  type_arguments: [];
5213
- }
5213
+ };
5214
5214
  interface CreateStakingContract {
5215
5215
  operator: MoveAddressType;
5216
5216
  voter: MoveAddressType;
@@ -5222,10 +5222,10 @@ export declare namespace staking_contract {
5222
5222
  const TYPE_QNAME = "0x1::staking_contract::CreateStakingContract";
5223
5223
  function type(): TypeDescriptor<CreateStakingContract>;
5224
5224
  }
5225
- interface CreateStakingContractInstance extends TypedEventInstance<CreateStakingContract> {
5225
+ type CreateStakingContractInstance = TypedEventInstance<CreateStakingContract> & {
5226
5226
  data_decoded: CreateStakingContract;
5227
5227
  type_arguments: [];
5228
- }
5228
+ };
5229
5229
  interface CreateStakingContractEvent {
5230
5230
  operator: MoveAddressType;
5231
5231
  voter: MoveAddressType;
@@ -5237,10 +5237,10 @@ export declare namespace staking_contract {
5237
5237
  const TYPE_QNAME = "0x1::staking_contract::CreateStakingContractEvent";
5238
5238
  function type(): TypeDescriptor<CreateStakingContractEvent>;
5239
5239
  }
5240
- interface CreateStakingContractEventInstance extends TypedEventInstance<CreateStakingContractEvent> {
5240
+ type CreateStakingContractEventInstance = TypedEventInstance<CreateStakingContractEvent> & {
5241
5241
  data_decoded: CreateStakingContractEvent;
5242
5242
  type_arguments: [];
5243
- }
5243
+ };
5244
5244
  interface Distribute {
5245
5245
  operator: MoveAddressType;
5246
5246
  pool_address: MoveAddressType;
@@ -5251,10 +5251,10 @@ export declare namespace staking_contract {
5251
5251
  const TYPE_QNAME = "0x1::staking_contract::Distribute";
5252
5252
  function type(): TypeDescriptor<Distribute>;
5253
5253
  }
5254
- interface DistributeInstance extends TypedEventInstance<Distribute> {
5254
+ type DistributeInstance = TypedEventInstance<Distribute> & {
5255
5255
  data_decoded: Distribute;
5256
5256
  type_arguments: [];
5257
- }
5257
+ };
5258
5258
  interface DistributeEvent {
5259
5259
  operator: MoveAddressType;
5260
5260
  pool_address: MoveAddressType;
@@ -5265,10 +5265,10 @@ export declare namespace staking_contract {
5265
5265
  const TYPE_QNAME = "0x1::staking_contract::DistributeEvent";
5266
5266
  function type(): TypeDescriptor<DistributeEvent>;
5267
5267
  }
5268
- interface DistributeEventInstance extends TypedEventInstance<DistributeEvent> {
5268
+ type DistributeEventInstance = TypedEventInstance<DistributeEvent> & {
5269
5269
  data_decoded: DistributeEvent;
5270
5270
  type_arguments: [];
5271
- }
5271
+ };
5272
5272
  interface RequestCommission {
5273
5273
  operator: MoveAddressType;
5274
5274
  pool_address: MoveAddressType;
@@ -5279,10 +5279,10 @@ export declare namespace staking_contract {
5279
5279
  const TYPE_QNAME = "0x1::staking_contract::RequestCommission";
5280
5280
  function type(): TypeDescriptor<RequestCommission>;
5281
5281
  }
5282
- interface RequestCommissionInstance extends TypedEventInstance<RequestCommission> {
5282
+ type RequestCommissionInstance = TypedEventInstance<RequestCommission> & {
5283
5283
  data_decoded: RequestCommission;
5284
5284
  type_arguments: [];
5285
- }
5285
+ };
5286
5286
  interface RequestCommissionEvent {
5287
5287
  operator: MoveAddressType;
5288
5288
  pool_address: MoveAddressType;
@@ -5293,10 +5293,10 @@ export declare namespace staking_contract {
5293
5293
  const TYPE_QNAME = "0x1::staking_contract::RequestCommissionEvent";
5294
5294
  function type(): TypeDescriptor<RequestCommissionEvent>;
5295
5295
  }
5296
- interface RequestCommissionEventInstance extends TypedEventInstance<RequestCommissionEvent> {
5296
+ type RequestCommissionEventInstance = TypedEventInstance<RequestCommissionEvent> & {
5297
5297
  data_decoded: RequestCommissionEvent;
5298
5298
  type_arguments: [];
5299
- }
5299
+ };
5300
5300
  interface ResetLockup {
5301
5301
  operator: MoveAddressType;
5302
5302
  pool_address: MoveAddressType;
@@ -5305,10 +5305,10 @@ export declare namespace staking_contract {
5305
5305
  const TYPE_QNAME = "0x1::staking_contract::ResetLockup";
5306
5306
  function type(): TypeDescriptor<ResetLockup>;
5307
5307
  }
5308
- interface ResetLockupInstance extends TypedEventInstance<ResetLockup> {
5308
+ type ResetLockupInstance = TypedEventInstance<ResetLockup> & {
5309
5309
  data_decoded: ResetLockup;
5310
5310
  type_arguments: [];
5311
- }
5311
+ };
5312
5312
  interface ResetLockupEvent {
5313
5313
  operator: MoveAddressType;
5314
5314
  pool_address: MoveAddressType;
@@ -5317,10 +5317,10 @@ export declare namespace staking_contract {
5317
5317
  const TYPE_QNAME = "0x1::staking_contract::ResetLockupEvent";
5318
5318
  function type(): TypeDescriptor<ResetLockupEvent>;
5319
5319
  }
5320
- interface ResetLockupEventInstance extends TypedEventInstance<ResetLockupEvent> {
5320
+ type ResetLockupEventInstance = TypedEventInstance<ResetLockupEvent> & {
5321
5321
  data_decoded: ResetLockupEvent;
5322
5322
  type_arguments: [];
5323
- }
5323
+ };
5324
5324
  interface StakingContract {
5325
5325
  principal: bigint;
5326
5326
  pool_address: MoveAddressType;
@@ -5347,10 +5347,10 @@ export declare namespace staking_contract {
5347
5347
  const TYPE_QNAME = "0x1::staking_contract::StakingGroupUpdateCommissionEvent";
5348
5348
  function type(): TypeDescriptor<StakingGroupUpdateCommissionEvent>;
5349
5349
  }
5350
- interface StakingGroupUpdateCommissionEventInstance extends TypedEventInstance<StakingGroupUpdateCommissionEvent> {
5350
+ type StakingGroupUpdateCommissionEventInstance = TypedEventInstance<StakingGroupUpdateCommissionEvent> & {
5351
5351
  data_decoded: StakingGroupUpdateCommissionEvent;
5352
5352
  type_arguments: [];
5353
- }
5353
+ };
5354
5354
  interface Store {
5355
5355
  staking_contracts: simple_map.SimpleMap<MoveAddressType, staking_contract.StakingContract>;
5356
5356
  create_staking_contract_events: event.EventHandle<staking_contract.CreateStakingContractEvent>;
@@ -5376,10 +5376,10 @@ export declare namespace staking_contract {
5376
5376
  const TYPE_QNAME = "0x1::staking_contract::SwitchOperator";
5377
5377
  function type(): TypeDescriptor<SwitchOperator>;
5378
5378
  }
5379
- interface SwitchOperatorInstance extends TypedEventInstance<SwitchOperator> {
5379
+ type SwitchOperatorInstance = TypedEventInstance<SwitchOperator> & {
5380
5380
  data_decoded: SwitchOperator;
5381
5381
  type_arguments: [];
5382
- }
5382
+ };
5383
5383
  interface SwitchOperatorEvent {
5384
5384
  old_operator: MoveAddressType;
5385
5385
  new_operator: MoveAddressType;
@@ -5389,10 +5389,10 @@ export declare namespace staking_contract {
5389
5389
  const TYPE_QNAME = "0x1::staking_contract::SwitchOperatorEvent";
5390
5390
  function type(): TypeDescriptor<SwitchOperatorEvent>;
5391
5391
  }
5392
- interface SwitchOperatorEventInstance extends TypedEventInstance<SwitchOperatorEvent> {
5392
+ type SwitchOperatorEventInstance = TypedEventInstance<SwitchOperatorEvent> & {
5393
5393
  data_decoded: SwitchOperatorEvent;
5394
5394
  type_arguments: [];
5395
- }
5395
+ };
5396
5396
  interface UpdateCommission {
5397
5397
  staker: MoveAddressType;
5398
5398
  operator: MoveAddressType;
@@ -5403,10 +5403,10 @@ export declare namespace staking_contract {
5403
5403
  const TYPE_QNAME = "0x1::staking_contract::UpdateCommission";
5404
5404
  function type(): TypeDescriptor<UpdateCommission>;
5405
5405
  }
5406
- interface UpdateCommissionInstance extends TypedEventInstance<UpdateCommission> {
5406
+ type UpdateCommissionInstance = TypedEventInstance<UpdateCommission> & {
5407
5407
  data_decoded: UpdateCommission;
5408
5408
  type_arguments: [];
5409
- }
5409
+ };
5410
5410
  interface UpdateCommissionEvent {
5411
5411
  staker: MoveAddressType;
5412
5412
  operator: MoveAddressType;
@@ -5417,10 +5417,10 @@ export declare namespace staking_contract {
5417
5417
  const TYPE_QNAME = "0x1::staking_contract::UpdateCommissionEvent";
5418
5418
  function type(): TypeDescriptor<UpdateCommissionEvent>;
5419
5419
  }
5420
- interface UpdateCommissionEventInstance extends TypedEventInstance<UpdateCommissionEvent> {
5420
+ type UpdateCommissionEventInstance = TypedEventInstance<UpdateCommissionEvent> & {
5421
5421
  data_decoded: UpdateCommissionEvent;
5422
5422
  type_arguments: [];
5423
- }
5423
+ };
5424
5424
  interface UpdateVoter {
5425
5425
  operator: MoveAddressType;
5426
5426
  pool_address: MoveAddressType;
@@ -5431,10 +5431,10 @@ export declare namespace staking_contract {
5431
5431
  const TYPE_QNAME = "0x1::staking_contract::UpdateVoter";
5432
5432
  function type(): TypeDescriptor<UpdateVoter>;
5433
5433
  }
5434
- interface UpdateVoterInstance extends TypedEventInstance<UpdateVoter> {
5434
+ type UpdateVoterInstance = TypedEventInstance<UpdateVoter> & {
5435
5435
  data_decoded: UpdateVoter;
5436
5436
  type_arguments: [];
5437
- }
5437
+ };
5438
5438
  interface UpdateVoterEvent {
5439
5439
  operator: MoveAddressType;
5440
5440
  pool_address: MoveAddressType;
@@ -5445,10 +5445,10 @@ export declare namespace staking_contract {
5445
5445
  const TYPE_QNAME = "0x1::staking_contract::UpdateVoterEvent";
5446
5446
  function type(): TypeDescriptor<UpdateVoterEvent>;
5447
5447
  }
5448
- interface UpdateVoterEventInstance extends TypedEventInstance<UpdateVoterEvent> {
5448
+ type UpdateVoterEventInstance = TypedEventInstance<UpdateVoterEvent> & {
5449
5449
  data_decoded: UpdateVoterEvent;
5450
5450
  type_arguments: [];
5451
- }
5451
+ };
5452
5452
  namespace entry {
5453
5453
  function addStake(client: Aptos, account: AptosAccount, request: {
5454
5454
  typeArguments: [];
@@ -5759,10 +5759,10 @@ export declare namespace object_code_deployment {
5759
5759
  const TYPE_QNAME = "0x1::object_code_deployment::Freeze";
5760
5760
  function type(): TypeDescriptor<Freeze>;
5761
5761
  }
5762
- interface FreezeInstance extends TypedEventInstance<Freeze> {
5762
+ type FreezeInstance = TypedEventInstance<Freeze> & {
5763
5763
  data_decoded: Freeze;
5764
5764
  type_arguments: [];
5765
- }
5765
+ };
5766
5766
  interface ManagingRefs {
5767
5767
  extend_ref: object$.ExtendRef;
5768
5768
  }
@@ -5777,10 +5777,10 @@ export declare namespace object_code_deployment {
5777
5777
  const TYPE_QNAME = "0x1::object_code_deployment::Publish";
5778
5778
  function type(): TypeDescriptor<Publish>;
5779
5779
  }
5780
- interface PublishInstance extends TypedEventInstance<Publish> {
5780
+ type PublishInstance = TypedEventInstance<Publish> & {
5781
5781
  data_decoded: Publish;
5782
5782
  type_arguments: [];
5783
- }
5783
+ };
5784
5784
  interface Upgrade {
5785
5785
  object_address: MoveAddressType;
5786
5786
  }
@@ -5788,10 +5788,10 @@ export declare namespace object_code_deployment {
5788
5788
  const TYPE_QNAME = "0x1::object_code_deployment::Upgrade";
5789
5789
  function type(): TypeDescriptor<Upgrade>;
5790
5790
  }
5791
- interface UpgradeInstance extends TypedEventInstance<Upgrade> {
5791
+ type UpgradeInstance = TypedEventInstance<Upgrade> & {
5792
5792
  data_decoded: Upgrade;
5793
5793
  type_arguments: [];
5794
- }
5794
+ };
5795
5795
  namespace entry {
5796
5796
  function freezeCodeObject(client: Aptos, account: AptosAccount, request: {
5797
5797
  typeArguments: [];