@sentio/sdk 1.26.0 → 1.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/lib/aptos/aptos-processor.d.ts +1 -0
  2. package/lib/aptos/aptos-processor.js +2 -1
  3. package/lib/aptos/aptos-processor.js.map +1 -1
  4. package/lib/aptos/context.d.ts +2 -1
  5. package/lib/aptos/context.js +3 -1
  6. package/lib/aptos/context.js.map +1 -1
  7. package/lib/aptos/index.d.ts +1 -1
  8. package/lib/aptos/index.js +2 -1
  9. package/lib/aptos/index.js.map +1 -1
  10. package/lib/aptos-codegen/codegen.js +1 -0
  11. package/lib/aptos-codegen/codegen.js.map +1 -1
  12. package/lib/builtin/aptos/0x1.d.ts +171 -0
  13. package/lib/builtin/aptos/0x1.js +171 -0
  14. package/lib/builtin/aptos/0x1.js.map +1 -1
  15. package/lib/builtin/aptos/0x3.d.ts +31 -0
  16. package/lib/builtin/aptos/0x3.js +31 -0
  17. package/lib/builtin/aptos/0x3.js.map +1 -1
  18. package/lib/core/context.d.ts +2 -5
  19. package/lib/core/context.js +8 -11
  20. package/lib/core/context.js.map +1 -1
  21. package/lib/core/event-tracker.js +1 -1
  22. package/lib/core/event-tracker.js.map +1 -1
  23. package/lib/core/exporter.d.ts +14 -0
  24. package/lib/core/exporter.js +27 -0
  25. package/lib/core/exporter.js.map +1 -0
  26. package/lib/core/logger.js +1 -1
  27. package/lib/core/logger.js.map +1 -1
  28. package/lib/core/meter.js +2 -2
  29. package/lib/core/meter.js.map +1 -1
  30. package/lib/gen/processor/protos/processor.d.ts +32 -0
  31. package/lib/gen/processor/protos/processor.js +206 -3
  32. package/lib/gen/processor/protos/processor.js.map +1 -1
  33. package/lib/processor-state.d.ts +2 -0
  34. package/lib/processor-state.js +1 -0
  35. package/lib/processor-state.js.map +1 -1
  36. package/lib/service.d.ts +1 -0
  37. package/lib/service.js +19 -16
  38. package/lib/service.js.map +1 -1
  39. package/lib/tests/erc20.js +7 -0
  40. package/lib/tests/erc20.js.map +1 -1
  41. package/lib/tests/types/aptos/souffle.d.ts +14 -0
  42. package/lib/tests/types/aptos/souffle.js +14 -0
  43. package/lib/tests/types/aptos/souffle.js.map +1 -1
  44. package/package.json +1 -1
  45. package/src/aptos/aptos-processor.ts +7 -1
  46. package/src/aptos/context.ts +3 -1
  47. package/src/aptos/index.ts +1 -1
  48. package/src/aptos-codegen/codegen.ts +1 -0
  49. package/src/builtin/aptos/0x1.ts +171 -0
  50. package/src/builtin/aptos/0x3.ts +31 -0
  51. package/src/core/context.ts +10 -20
  52. package/src/core/event-tracker.ts +1 -1
  53. package/src/core/exporter.ts +33 -0
  54. package/src/core/logger.ts +1 -1
  55. package/src/core/meter.ts +2 -2
  56. package/src/gen/processor/protos/processor.ts +250 -1
  57. package/src/processor-state.ts +3 -0
  58. package/src/service.ts +21 -18
  59. package/src/tests/erc20.ts +7 -0
  60. package/src/tests/types/aptos/souffle.ts +28 -0
@@ -10,6 +10,7 @@ const sdk_1 = require("@sentio/sdk");
10
10
  var acl;
11
11
  (function (acl) {
12
12
  class ACL {
13
+ static TYPE_NAME = "0x1::acl::ACL";
13
14
  list;
14
15
  }
15
16
  acl.ACL = ACL;
@@ -22,6 +23,7 @@ var acl;
22
23
  var any;
23
24
  (function (any) {
24
25
  class Any {
26
+ static TYPE_NAME = "0x1::any::Any";
25
27
  type_name;
26
28
  data;
27
29
  }
@@ -65,11 +67,13 @@ class code extends sdk_1.aptos.AptosBaseProcessor {
65
67
  exports.code = code;
66
68
  (function (code) {
67
69
  class AllowedDep {
70
+ static TYPE_NAME = "0x1::code::AllowedDep";
68
71
  account;
69
72
  module_name;
70
73
  }
71
74
  code.AllowedDep = AllowedDep;
72
75
  class ModuleMetadata {
76
+ static TYPE_NAME = "0x1::code::ModuleMetadata";
73
77
  name;
74
78
  source;
75
79
  source_map;
@@ -77,11 +81,13 @@ exports.code = code;
77
81
  }
78
82
  code.ModuleMetadata = ModuleMetadata;
79
83
  class PackageDep {
84
+ static TYPE_NAME = "0x1::code::PackageDep";
80
85
  account;
81
86
  package_name;
82
87
  }
83
88
  code.PackageDep = PackageDep;
84
89
  class PackageMetadata {
90
+ static TYPE_NAME = "0x1::code::PackageMetadata";
85
91
  name;
86
92
  upgrade_policy;
87
93
  upgrade_number;
@@ -93,10 +99,12 @@ exports.code = code;
93
99
  }
94
100
  code.PackageMetadata = PackageMetadata;
95
101
  class PackageRegistry {
102
+ static TYPE_NAME = "0x1::code::PackageRegistry";
96
103
  packages;
97
104
  }
98
105
  code.PackageRegistry = PackageRegistry;
99
106
  class UpgradePolicy {
107
+ static TYPE_NAME = "0x1::code::UpgradePolicy";
100
108
  policy;
101
109
  }
102
110
  code.UpgradePolicy = UpgradePolicy;
@@ -164,14 +172,17 @@ class coin extends sdk_1.aptos.AptosBaseProcessor {
164
172
  exports.coin = coin;
165
173
  (function (coin) {
166
174
  class BurnCapability {
175
+ static TYPE_NAME = "0x1::coin::BurnCapability";
167
176
  dummy_field;
168
177
  }
169
178
  coin.BurnCapability = BurnCapability;
170
179
  class Coin {
180
+ static TYPE_NAME = "0x1::coin::Coin";
171
181
  value;
172
182
  }
173
183
  coin.Coin = Coin;
174
184
  class CoinInfo {
185
+ static TYPE_NAME = "0x1::coin::CoinInfo";
175
186
  name;
176
187
  symbol;
177
188
  decimals;
@@ -179,6 +190,7 @@ exports.coin = coin;
179
190
  }
180
191
  coin.CoinInfo = CoinInfo;
181
192
  class CoinStore {
193
+ static TYPE_NAME = "0x1::coin::CoinStore";
182
194
  coin;
183
195
  frozen;
184
196
  deposit_events;
@@ -186,22 +198,27 @@ exports.coin = coin;
186
198
  }
187
199
  coin.CoinStore = CoinStore;
188
200
  class DepositEvent {
201
+ static TYPE_NAME = "0x1::coin::DepositEvent";
189
202
  amount;
190
203
  }
191
204
  coin.DepositEvent = DepositEvent;
192
205
  class FreezeCapability {
206
+ static TYPE_NAME = "0x1::coin::FreezeCapability";
193
207
  dummy_field;
194
208
  }
195
209
  coin.FreezeCapability = FreezeCapability;
196
210
  class MintCapability {
211
+ static TYPE_NAME = "0x1::coin::MintCapability";
197
212
  dummy_field;
198
213
  }
199
214
  coin.MintCapability = MintCapability;
200
215
  class SupplyConfig {
216
+ static TYPE_NAME = "0x1::coin::SupplyConfig";
201
217
  allow_upgrades;
202
218
  }
203
219
  coin.SupplyConfig = SupplyConfig;
204
220
  class WithdrawEvent {
221
+ static TYPE_NAME = "0x1::coin::WithdrawEvent";
205
222
  amount;
206
223
  }
207
224
  coin.WithdrawEvent = WithdrawEvent;
@@ -214,10 +231,12 @@ exports.coin = coin;
214
231
  var guid;
215
232
  (function (guid) {
216
233
  class GUID {
234
+ static TYPE_NAME = "0x1::guid::GUID";
217
235
  id;
218
236
  }
219
237
  guid.GUID = GUID;
220
238
  class ID {
239
+ static TYPE_NAME = "0x1::guid::ID";
221
240
  creation_num;
222
241
  addr;
223
242
  }
@@ -274,6 +293,7 @@ class block extends sdk_1.aptos.AptosBaseProcessor {
274
293
  exports.block = block;
275
294
  (function (block) {
276
295
  class BlockResource {
296
+ static TYPE_NAME = "0x1::block::BlockResource";
277
297
  height;
278
298
  epoch_interval;
279
299
  new_block_events;
@@ -281,6 +301,7 @@ exports.block = block;
281
301
  }
282
302
  block.BlockResource = BlockResource;
283
303
  class NewBlockEvent {
304
+ static TYPE_NAME = "0x1::block::NewBlockEvent";
284
305
  hash;
285
306
  epoch;
286
307
  round;
@@ -292,6 +313,7 @@ exports.block = block;
292
313
  }
293
314
  block.NewBlockEvent = NewBlockEvent;
294
315
  class UpdateEpochIntervalEvent {
316
+ static TYPE_NAME = "0x1::block::UpdateEpochIntervalEvent";
295
317
  old_epoch_interval;
296
318
  new_epoch_interval;
297
319
  }
@@ -321,6 +343,7 @@ var error;
321
343
  var event;
322
344
  (function (event) {
323
345
  class EventHandle {
346
+ static TYPE_NAME = "0x1::event::EventHandle";
324
347
  counter;
325
348
  guid;
326
349
  }
@@ -512,68 +535,82 @@ class stake extends sdk_1.aptos.AptosBaseProcessor {
512
535
  exports.stake = stake;
513
536
  (function (stake) {
514
537
  class AddStakeEvent {
538
+ static TYPE_NAME = "0x1::stake::AddStakeEvent";
515
539
  pool_address;
516
540
  amount_added;
517
541
  }
518
542
  stake.AddStakeEvent = AddStakeEvent;
519
543
  class AllowedValidators {
544
+ static TYPE_NAME = "0x1::stake::AllowedValidators";
520
545
  accounts;
521
546
  }
522
547
  stake.AllowedValidators = AllowedValidators;
523
548
  class AptosCoinCapabilities {
549
+ static TYPE_NAME = "0x1::stake::AptosCoinCapabilities";
524
550
  mint_cap;
525
551
  }
526
552
  stake.AptosCoinCapabilities = AptosCoinCapabilities;
527
553
  class DistributeRewardsEvent {
554
+ static TYPE_NAME = "0x1::stake::DistributeRewardsEvent";
528
555
  pool_address;
529
556
  rewards_amount;
530
557
  }
531
558
  stake.DistributeRewardsEvent = DistributeRewardsEvent;
532
559
  class IncreaseLockupEvent {
560
+ static TYPE_NAME = "0x1::stake::IncreaseLockupEvent";
533
561
  pool_address;
534
562
  old_locked_until_secs;
535
563
  new_locked_until_secs;
536
564
  }
537
565
  stake.IncreaseLockupEvent = IncreaseLockupEvent;
538
566
  class IndividualValidatorPerformance {
567
+ static TYPE_NAME = "0x1::stake::IndividualValidatorPerformance";
539
568
  successful_proposals;
540
569
  failed_proposals;
541
570
  }
542
571
  stake.IndividualValidatorPerformance = IndividualValidatorPerformance;
543
572
  class JoinValidatorSetEvent {
573
+ static TYPE_NAME = "0x1::stake::JoinValidatorSetEvent";
544
574
  pool_address;
545
575
  }
546
576
  stake.JoinValidatorSetEvent = JoinValidatorSetEvent;
547
577
  class LeaveValidatorSetEvent {
578
+ static TYPE_NAME = "0x1::stake::LeaveValidatorSetEvent";
548
579
  pool_address;
549
580
  }
550
581
  stake.LeaveValidatorSetEvent = LeaveValidatorSetEvent;
551
582
  class OwnerCapability {
583
+ static TYPE_NAME = "0x1::stake::OwnerCapability";
552
584
  pool_address;
553
585
  }
554
586
  stake.OwnerCapability = OwnerCapability;
555
587
  class ReactivateStakeEvent {
588
+ static TYPE_NAME = "0x1::stake::ReactivateStakeEvent";
556
589
  pool_address;
557
590
  amount;
558
591
  }
559
592
  stake.ReactivateStakeEvent = ReactivateStakeEvent;
560
593
  class RegisterValidatorCandidateEvent {
594
+ static TYPE_NAME = "0x1::stake::RegisterValidatorCandidateEvent";
561
595
  pool_address;
562
596
  }
563
597
  stake.RegisterValidatorCandidateEvent = RegisterValidatorCandidateEvent;
564
598
  class RotateConsensusKeyEvent {
599
+ static TYPE_NAME = "0x1::stake::RotateConsensusKeyEvent";
565
600
  pool_address;
566
601
  old_consensus_pubkey;
567
602
  new_consensus_pubkey;
568
603
  }
569
604
  stake.RotateConsensusKeyEvent = RotateConsensusKeyEvent;
570
605
  class SetOperatorEvent {
606
+ static TYPE_NAME = "0x1::stake::SetOperatorEvent";
571
607
  pool_address;
572
608
  old_operator;
573
609
  new_operator;
574
610
  }
575
611
  stake.SetOperatorEvent = SetOperatorEvent;
576
612
  class StakePool {
613
+ static TYPE_NAME = "0x1::stake::StakePool";
577
614
  active;
578
615
  inactive;
579
616
  pending_active;
@@ -596,11 +633,13 @@ exports.stake = stake;
596
633
  }
597
634
  stake.StakePool = StakePool;
598
635
  class UnlockStakeEvent {
636
+ static TYPE_NAME = "0x1::stake::UnlockStakeEvent";
599
637
  pool_address;
600
638
  amount_unlocked;
601
639
  }
602
640
  stake.UnlockStakeEvent = UnlockStakeEvent;
603
641
  class UpdateNetworkAndFullnodeAddressesEvent {
642
+ static TYPE_NAME = "0x1::stake::UpdateNetworkAndFullnodeAddressesEvent";
604
643
  pool_address;
605
644
  old_network_addresses;
606
645
  new_network_addresses;
@@ -609,6 +648,7 @@ exports.stake = stake;
609
648
  }
610
649
  stake.UpdateNetworkAndFullnodeAddressesEvent = UpdateNetworkAndFullnodeAddressesEvent;
611
650
  class ValidatorConfig {
651
+ static TYPE_NAME = "0x1::stake::ValidatorConfig";
612
652
  consensus_pubkey;
613
653
  network_addresses;
614
654
  fullnode_addresses;
@@ -616,16 +656,19 @@ exports.stake = stake;
616
656
  }
617
657
  stake.ValidatorConfig = ValidatorConfig;
618
658
  class ValidatorInfo {
659
+ static TYPE_NAME = "0x1::stake::ValidatorInfo";
619
660
  addr;
620
661
  voting_power;
621
662
  config;
622
663
  }
623
664
  stake.ValidatorInfo = ValidatorInfo;
624
665
  class ValidatorPerformance {
666
+ static TYPE_NAME = "0x1::stake::ValidatorPerformance";
625
667
  validators;
626
668
  }
627
669
  stake.ValidatorPerformance = ValidatorPerformance;
628
670
  class ValidatorSet {
671
+ static TYPE_NAME = "0x1::stake::ValidatorSet";
629
672
  consensus_scheme;
630
673
  active_validators;
631
674
  pending_inactive;
@@ -635,6 +678,7 @@ exports.stake = stake;
635
678
  }
636
679
  stake.ValidatorSet = ValidatorSet;
637
680
  class WithdrawStakeEvent {
681
+ static TYPE_NAME = "0x1::stake::WithdrawStakeEvent";
638
682
  pool_address;
639
683
  amount_withdrawn;
640
684
  }
@@ -648,10 +692,12 @@ exports.stake = stake;
648
692
  var table;
649
693
  (function (table) {
650
694
  class Box {
695
+ static TYPE_NAME = "0x1::table::Box";
651
696
  val;
652
697
  }
653
698
  table.Box = Box;
654
699
  class Table {
700
+ static TYPE_NAME = "0x1::table::Table";
655
701
  handle;
656
702
  }
657
703
  table.Table = Table;
@@ -672,6 +718,7 @@ var math64;
672
718
  var option;
673
719
  (function (option) {
674
720
  class Option {
721
+ static TYPE_NAME = "0x1::option::Option";
675
722
  vec;
676
723
  }
677
724
  option.Option = Option;
@@ -692,6 +739,7 @@ var signer;
692
739
  var string;
693
740
  (function (string) {
694
741
  class String {
742
+ static TYPE_NAME = "0x1::string::String";
695
743
  bytes;
696
744
  }
697
745
  string.String = String;
@@ -745,6 +793,7 @@ class voting extends sdk_1.aptos.AptosBaseProcessor {
745
793
  exports.voting = voting;
746
794
  (function (voting) {
747
795
  class CreateProposalEvent {
796
+ static TYPE_NAME = "0x1::voting::CreateProposalEvent";
748
797
  proposal_id;
749
798
  early_resolution_vote_threshold;
750
799
  execution_hash;
@@ -754,6 +803,7 @@ exports.voting = voting;
754
803
  }
755
804
  voting.CreateProposalEvent = CreateProposalEvent;
756
805
  class Proposal {
806
+ static TYPE_NAME = "0x1::voting::Proposal";
757
807
  proposer;
758
808
  execution_content;
759
809
  metadata;
@@ -769,11 +819,13 @@ exports.voting = voting;
769
819
  }
770
820
  voting.Proposal = Proposal;
771
821
  class RegisterForumEvent {
822
+ static TYPE_NAME = "0x1::voting::RegisterForumEvent";
772
823
  hosting_account;
773
824
  proposal_type_info;
774
825
  }
775
826
  voting.RegisterForumEvent = RegisterForumEvent;
776
827
  class ResolveProposal {
828
+ static TYPE_NAME = "0x1::voting::ResolveProposal";
777
829
  proposal_id;
778
830
  yes_votes;
779
831
  no_votes;
@@ -781,11 +833,13 @@ exports.voting = voting;
781
833
  }
782
834
  voting.ResolveProposal = ResolveProposal;
783
835
  class VoteEvent {
836
+ static TYPE_NAME = "0x1::voting::VoteEvent";
784
837
  proposal_id;
785
838
  num_votes;
786
839
  }
787
840
  voting.VoteEvent = VoteEvent;
788
841
  class VotingEvents {
842
+ static TYPE_NAME = "0x1::voting::VotingEvents";
789
843
  create_proposal_events;
790
844
  register_forum_events;
791
845
  resolve_proposal_events;
@@ -793,6 +847,7 @@ exports.voting = voting;
793
847
  }
794
848
  voting.VotingEvents = VotingEvents;
795
849
  class VotingForum {
850
+ static TYPE_NAME = "0x1::voting::VotingForum";
796
851
  proposals;
797
852
  events;
798
853
  next_proposal_id;
@@ -855,6 +910,7 @@ class account extends sdk_1.aptos.AptosBaseProcessor {
855
910
  exports.account = account;
856
911
  (function (account) {
857
912
  class Account {
913
+ static TYPE_NAME = "0x1::account::Account";
858
914
  authentication_key;
859
915
  sequence_number;
860
916
  guid_creation_num;
@@ -865,32 +921,39 @@ exports.account = account;
865
921
  }
866
922
  account.Account = Account;
867
923
  class CapabilityOffer {
924
+ static TYPE_NAME = "0x1::account::CapabilityOffer";
868
925
  for;
869
926
  }
870
927
  account.CapabilityOffer = CapabilityOffer;
871
928
  class CoinRegisterEvent {
929
+ static TYPE_NAME = "0x1::account::CoinRegisterEvent";
872
930
  type_info;
873
931
  }
874
932
  account.CoinRegisterEvent = CoinRegisterEvent;
875
933
  class KeyRotationEvent {
934
+ static TYPE_NAME = "0x1::account::KeyRotationEvent";
876
935
  old_authentication_key;
877
936
  new_authentication_key;
878
937
  }
879
938
  account.KeyRotationEvent = KeyRotationEvent;
880
939
  class OriginatingAddress {
940
+ static TYPE_NAME = "0x1::account::OriginatingAddress";
881
941
  address_map;
882
942
  }
883
943
  account.OriginatingAddress = OriginatingAddress;
884
944
  class RotationCapability {
945
+ static TYPE_NAME = "0x1::account::RotationCapability";
885
946
  account;
886
947
  }
887
948
  account.RotationCapability = RotationCapability;
888
949
  class RotationCapabilityOfferProofChallenge {
950
+ static TYPE_NAME = "0x1::account::RotationCapabilityOfferProofChallenge";
889
951
  sequence_number;
890
952
  recipient_address;
891
953
  }
892
954
  account.RotationCapabilityOfferProofChallenge = RotationCapabilityOfferProofChallenge;
893
955
  class RotationProofChallenge {
956
+ static TYPE_NAME = "0x1::account::RotationProofChallenge";
894
957
  sequence_number;
895
958
  originator;
896
959
  current_auth_key;
@@ -898,15 +961,18 @@ exports.account = account;
898
961
  }
899
962
  account.RotationProofChallenge = RotationProofChallenge;
900
963
  class SignerCapability {
964
+ static TYPE_NAME = "0x1::account::SignerCapability";
901
965
  account;
902
966
  }
903
967
  account.SignerCapability = SignerCapability;
904
968
  class SignerCapabilityOfferProofChallenge {
969
+ static TYPE_NAME = "0x1::account::SignerCapabilityOfferProofChallenge";
905
970
  sequence_number;
906
971
  recipient_address;
907
972
  }
908
973
  account.SignerCapabilityOfferProofChallenge = SignerCapabilityOfferProofChallenge;
909
974
  class SignerCapabilityOfferProofChallengeV2 {
975
+ static TYPE_NAME = "0x1::account::SignerCapabilityOfferProofChallengeV2";
910
976
  sequence_number;
911
977
  source_address;
912
978
  recipient_address;
@@ -921,19 +987,23 @@ exports.account = account;
921
987
  var ed25519;
922
988
  (function (ed25519) {
923
989
  class Signature {
990
+ static TYPE_NAME = "0x1::ed25519::Signature";
924
991
  bytes;
925
992
  }
926
993
  ed25519.Signature = Signature;
927
994
  class SignedMessage {
995
+ static TYPE_NAME = "0x1::ed25519::SignedMessage";
928
996
  type_info;
929
997
  inner;
930
998
  }
931
999
  ed25519.SignedMessage = SignedMessage;
932
1000
  class UnvalidatedPublicKey {
1001
+ static TYPE_NAME = "0x1::ed25519::UnvalidatedPublicKey";
933
1002
  bytes;
934
1003
  }
935
1004
  ed25519.UnvalidatedPublicKey = UnvalidatedPublicKey;
936
1005
  class ValidatedPublicKey {
1006
+ static TYPE_NAME = "0x1::ed25519::ValidatedPublicKey";
937
1007
  bytes;
938
1008
  }
939
1009
  ed25519.ValidatedPublicKey = ValidatedPublicKey;
@@ -946,11 +1016,13 @@ var ed25519;
946
1016
  var genesis;
947
1017
  (function (genesis) {
948
1018
  class AccountMap {
1019
+ static TYPE_NAME = "0x1::genesis::AccountMap";
949
1020
  account_address;
950
1021
  balance;
951
1022
  }
952
1023
  genesis.AccountMap = AccountMap;
953
1024
  class EmployeeAccountMap {
1025
+ static TYPE_NAME = "0x1::genesis::EmployeeAccountMap";
954
1026
  accounts;
955
1027
  validator;
956
1028
  vesting_schedule_numerator;
@@ -959,6 +1031,7 @@ var genesis;
959
1031
  }
960
1032
  genesis.EmployeeAccountMap = EmployeeAccountMap;
961
1033
  class ValidatorConfiguration {
1034
+ static TYPE_NAME = "0x1::genesis::ValidatorConfiguration";
962
1035
  owner_address;
963
1036
  operator_address;
964
1037
  voter_address;
@@ -970,6 +1043,7 @@ var genesis;
970
1043
  }
971
1044
  genesis.ValidatorConfiguration = ValidatorConfiguration;
972
1045
  class ValidatorConfigurationWithCommission {
1046
+ static TYPE_NAME = "0x1::genesis::ValidatorConfigurationWithCommission";
973
1047
  validator_config;
974
1048
  commission_percentage;
975
1049
  join_during_genesis;
@@ -1014,10 +1088,12 @@ class version extends sdk_1.aptos.AptosBaseProcessor {
1014
1088
  exports.version = version;
1015
1089
  (function (version) {
1016
1090
  class SetVersionCapability {
1091
+ static TYPE_NAME = "0x1::version::SetVersionCapability";
1017
1092
  dummy_field;
1018
1093
  }
1019
1094
  version.SetVersionCapability = SetVersionCapability;
1020
1095
  class Version {
1096
+ static TYPE_NAME = "0x1::version::Version";
1021
1097
  major;
1022
1098
  }
1023
1099
  version.Version = Version;
@@ -1196,18 +1272,21 @@ class vesting extends sdk_1.aptos.AptosBaseProcessor {
1196
1272
  exports.vesting = vesting;
1197
1273
  (function (vesting) {
1198
1274
  class AdminStore {
1275
+ static TYPE_NAME = "0x1::vesting::AdminStore";
1199
1276
  vesting_contracts;
1200
1277
  nonce;
1201
1278
  create_events;
1202
1279
  }
1203
1280
  vesting.AdminStore = AdminStore;
1204
1281
  class AdminWithdrawEvent {
1282
+ static TYPE_NAME = "0x1::vesting::AdminWithdrawEvent";
1205
1283
  admin;
1206
1284
  vesting_contract_address;
1207
1285
  amount;
1208
1286
  }
1209
1287
  vesting.AdminWithdrawEvent = AdminWithdrawEvent;
1210
1288
  class CreateVestingContractEvent {
1289
+ static TYPE_NAME = "0x1::vesting::CreateVestingContractEvent";
1211
1290
  operator;
1212
1291
  voter;
1213
1292
  grant_amount;
@@ -1218,12 +1297,14 @@ exports.vesting = vesting;
1218
1297
  }
1219
1298
  vesting.CreateVestingContractEvent = CreateVestingContractEvent;
1220
1299
  class DistributeEvent {
1300
+ static TYPE_NAME = "0x1::vesting::DistributeEvent";
1221
1301
  admin;
1222
1302
  vesting_contract_address;
1223
1303
  amount;
1224
1304
  }
1225
1305
  vesting.DistributeEvent = DistributeEvent;
1226
1306
  class ResetLockupEvent {
1307
+ static TYPE_NAME = "0x1::vesting::ResetLockupEvent";
1227
1308
  admin;
1228
1309
  vesting_contract_address;
1229
1310
  staking_pool_address;
@@ -1231,6 +1312,7 @@ exports.vesting = vesting;
1231
1312
  }
1232
1313
  vesting.ResetLockupEvent = ResetLockupEvent;
1233
1314
  class SetBeneficiaryEvent {
1315
+ static TYPE_NAME = "0x1::vesting::SetBeneficiaryEvent";
1234
1316
  admin;
1235
1317
  vesting_contract_address;
1236
1318
  shareholder;
@@ -1239,6 +1321,7 @@ exports.vesting = vesting;
1239
1321
  }
1240
1322
  vesting.SetBeneficiaryEvent = SetBeneficiaryEvent;
1241
1323
  class StakingInfo {
1324
+ static TYPE_NAME = "0x1::vesting::StakingInfo";
1242
1325
  pool_address;
1243
1326
  operator;
1244
1327
  voter;
@@ -1246,11 +1329,13 @@ exports.vesting = vesting;
1246
1329
  }
1247
1330
  vesting.StakingInfo = StakingInfo;
1248
1331
  class TerminateEvent {
1332
+ static TYPE_NAME = "0x1::vesting::TerminateEvent";
1249
1333
  admin;
1250
1334
  vesting_contract_address;
1251
1335
  }
1252
1336
  vesting.TerminateEvent = TerminateEvent;
1253
1337
  class UnlockRewardsEvent {
1338
+ static TYPE_NAME = "0x1::vesting::UnlockRewardsEvent";
1254
1339
  admin;
1255
1340
  vesting_contract_address;
1256
1341
  staking_pool_address;
@@ -1258,6 +1343,7 @@ exports.vesting = vesting;
1258
1343
  }
1259
1344
  vesting.UnlockRewardsEvent = UnlockRewardsEvent;
1260
1345
  class UpdateOperatorEvent {
1346
+ static TYPE_NAME = "0x1::vesting::UpdateOperatorEvent";
1261
1347
  admin;
1262
1348
  vesting_contract_address;
1263
1349
  staking_pool_address;
@@ -1267,6 +1353,7 @@ exports.vesting = vesting;
1267
1353
  }
1268
1354
  vesting.UpdateOperatorEvent = UpdateOperatorEvent;
1269
1355
  class UpdateVoterEvent {
1356
+ static TYPE_NAME = "0x1::vesting::UpdateVoterEvent";
1270
1357
  admin;
1271
1358
  vesting_contract_address;
1272
1359
  staking_pool_address;
@@ -1275,6 +1362,7 @@ exports.vesting = vesting;
1275
1362
  }
1276
1363
  vesting.UpdateVoterEvent = UpdateVoterEvent;
1277
1364
  class VestEvent {
1365
+ static TYPE_NAME = "0x1::vesting::VestEvent";
1278
1366
  admin;
1279
1367
  vesting_contract_address;
1280
1368
  staking_pool_address;
@@ -1283,10 +1371,12 @@ exports.vesting = vesting;
1283
1371
  }
1284
1372
  vesting.VestEvent = VestEvent;
1285
1373
  class VestingAccountManagement {
1374
+ static TYPE_NAME = "0x1::vesting::VestingAccountManagement";
1286
1375
  roles;
1287
1376
  }
1288
1377
  vesting.VestingAccountManagement = VestingAccountManagement;
1289
1378
  class VestingContract {
1379
+ static TYPE_NAME = "0x1::vesting::VestingContract";
1290
1380
  state;
1291
1381
  admin;
1292
1382
  grant_pool;
@@ -1308,6 +1398,7 @@ exports.vesting = vesting;
1308
1398
  }
1309
1399
  vesting.VestingContract = VestingContract;
1310
1400
  class VestingSchedule {
1401
+ static TYPE_NAME = "0x1::vesting::VestingSchedule";
1311
1402
  schedule;
1312
1403
  start_timestamp_secs;
1313
1404
  period_duration;
@@ -1323,26 +1414,32 @@ exports.vesting = vesting;
1323
1414
  var bls12381;
1324
1415
  (function (bls12381) {
1325
1416
  class AggrOrMultiSignature {
1417
+ static TYPE_NAME = "0x1::bls12381::AggrOrMultiSignature";
1326
1418
  bytes;
1327
1419
  }
1328
1420
  bls12381.AggrOrMultiSignature = AggrOrMultiSignature;
1329
1421
  class AggrPublicKeysWithPoP {
1422
+ static TYPE_NAME = "0x1::bls12381::AggrPublicKeysWithPoP";
1330
1423
  bytes;
1331
1424
  }
1332
1425
  bls12381.AggrPublicKeysWithPoP = AggrPublicKeysWithPoP;
1333
1426
  class ProofOfPossession {
1427
+ static TYPE_NAME = "0x1::bls12381::ProofOfPossession";
1334
1428
  bytes;
1335
1429
  }
1336
1430
  bls12381.ProofOfPossession = ProofOfPossession;
1337
1431
  class PublicKey {
1432
+ static TYPE_NAME = "0x1::bls12381::PublicKey";
1338
1433
  bytes;
1339
1434
  }
1340
1435
  bls12381.PublicKey = PublicKey;
1341
1436
  class PublicKeyWithPoP {
1437
+ static TYPE_NAME = "0x1::bls12381::PublicKeyWithPoP";
1342
1438
  bytes;
1343
1439
  }
1344
1440
  bls12381.PublicKeyWithPoP = PublicKeyWithPoP;
1345
1441
  class Signature {
1442
+ static TYPE_NAME = "0x1::bls12381::Signature";
1346
1443
  bytes;
1347
1444
  }
1348
1445
  bls12381.Signature = Signature;
@@ -1355,6 +1452,7 @@ var bls12381;
1355
1452
  var chain_id;
1356
1453
  (function (chain_id) {
1357
1454
  class ChainId {
1455
+ static TYPE_NAME = "0x1::chain_id::ChainId";
1358
1456
  id;
1359
1457
  }
1360
1458
  chain_id.ChainId = ChainId;
@@ -1367,6 +1465,7 @@ var chain_id;
1367
1465
  var features;
1368
1466
  (function (features) {
1369
1467
  class Features {
1468
+ static TYPE_NAME = "0x1::features::Features";
1370
1469
  features;
1371
1470
  }
1372
1471
  features.Features = Features;
@@ -1387,6 +1486,7 @@ var from_bcs;
1387
1486
  var pool_u64;
1388
1487
  (function (pool_u64) {
1389
1488
  class Pool {
1489
+ static TYPE_NAME = "0x1::pool_u64::Pool";
1390
1490
  shareholders_limit;
1391
1491
  total_coins;
1392
1492
  total_shares;
@@ -1404,10 +1504,12 @@ var pool_u64;
1404
1504
  var secp256k1;
1405
1505
  (function (secp256k1) {
1406
1506
  class ECDSARawPublicKey {
1507
+ static TYPE_NAME = "0x1::secp256k1::ECDSARawPublicKey";
1407
1508
  bytes;
1408
1509
  }
1409
1510
  secp256k1.ECDSARawPublicKey = ECDSARawPublicKey;
1410
1511
  class ECDSASignature {
1512
+ static TYPE_NAME = "0x1::secp256k1::ECDSASignature";
1411
1513
  bytes;
1412
1514
  }
1413
1515
  secp256k1.ECDSASignature = ECDSASignature;
@@ -1420,6 +1522,7 @@ var secp256k1;
1420
1522
  var timestamp;
1421
1523
  (function (timestamp) {
1422
1524
  class CurrentTimeMicroseconds {
1525
+ static TYPE_NAME = "0x1::timestamp::CurrentTimeMicroseconds";
1423
1526
  microseconds;
1424
1527
  }
1425
1528
  timestamp.CurrentTimeMicroseconds = CurrentTimeMicroseconds;
@@ -1432,6 +1535,7 @@ var timestamp;
1432
1535
  var type_info;
1433
1536
  (function (type_info) {
1434
1537
  class TypeInfo {
1538
+ static TYPE_NAME = "0x1::type_info::TypeInfo";
1435
1539
  account_address;
1436
1540
  module_name;
1437
1541
  struct_name;
@@ -1446,6 +1550,7 @@ var type_info;
1446
1550
  var aggregator;
1447
1551
  (function (aggregator) {
1448
1552
  class Aggregator {
1553
+ static TYPE_NAME = "0x1::aggregator::Aggregator";
1449
1554
  handle;
1450
1555
  key;
1451
1556
  limit;
@@ -1496,18 +1601,22 @@ class aptos_coin extends sdk_1.aptos.AptosBaseProcessor {
1496
1601
  exports.aptos_coin = aptos_coin;
1497
1602
  (function (aptos_coin) {
1498
1603
  class AptosCoin {
1604
+ static TYPE_NAME = "0x1::aptos_coin::AptosCoin";
1499
1605
  dummy_field;
1500
1606
  }
1501
1607
  aptos_coin.AptosCoin = AptosCoin;
1502
1608
  class DelegatedMintCapability {
1609
+ static TYPE_NAME = "0x1::aptos_coin::DelegatedMintCapability";
1503
1610
  to;
1504
1611
  }
1505
1612
  aptos_coin.DelegatedMintCapability = DelegatedMintCapability;
1506
1613
  class Delegations {
1614
+ static TYPE_NAME = "0x1::aptos_coin::Delegations";
1507
1615
  inner;
1508
1616
  }
1509
1617
  aptos_coin.Delegations = Delegations;
1510
1618
  class MintCapStore {
1619
+ static TYPE_NAME = "0x1::aptos_coin::MintCapStore";
1511
1620
  mint_cap;
1512
1621
  }
1513
1622
  aptos_coin.MintCapStore = MintCapStore;
@@ -1528,6 +1637,7 @@ var aptos_hash;
1528
1637
  var bit_vector;
1529
1638
  (function (bit_vector) {
1530
1639
  class BitVector {
1640
+ static TYPE_NAME = "0x1::bit_vector::BitVector";
1531
1641
  length;
1532
1642
  bit_field;
1533
1643
  }
@@ -1541,18 +1651,22 @@ var bit_vector;
1541
1651
  var capability;
1542
1652
  (function (capability) {
1543
1653
  class Cap {
1654
+ static TYPE_NAME = "0x1::capability::Cap";
1544
1655
  root;
1545
1656
  }
1546
1657
  capability.Cap = Cap;
1547
1658
  class CapDelegateState {
1659
+ static TYPE_NAME = "0x1::capability::CapDelegateState";
1548
1660
  root;
1549
1661
  }
1550
1662
  capability.CapDelegateState = CapDelegateState;
1551
1663
  class CapState {
1664
+ static TYPE_NAME = "0x1::capability::CapState";
1552
1665
  delegates;
1553
1666
  }
1554
1667
  capability.CapState = CapState;
1555
1668
  class LinearCap {
1669
+ static TYPE_NAME = "0x1::capability::LinearCap";
1556
1670
  root;
1557
1671
  }
1558
1672
  capability.LinearCap = LinearCap;
@@ -1565,6 +1679,7 @@ var capability;
1565
1679
  var comparator;
1566
1680
  (function (comparator) {
1567
1681
  class Result {
1682
+ static TYPE_NAME = "0x1::comparator::Result";
1568
1683
  inner;
1569
1684
  }
1570
1685
  comparator.Result = Result;
@@ -1577,11 +1692,13 @@ var comparator;
1577
1692
  var simple_map;
1578
1693
  (function (simple_map) {
1579
1694
  class Element {
1695
+ static TYPE_NAME = "0x1::simple_map::Element";
1580
1696
  key;
1581
1697
  value;
1582
1698
  }
1583
1699
  simple_map.Element = Element;
1584
1700
  class SimpleMap {
1701
+ static TYPE_NAME = "0x1::simple_map::SimpleMap";
1585
1702
  data;
1586
1703
  }
1587
1704
  simple_map.SimpleMap = SimpleMap;
@@ -1594,17 +1711,20 @@ var simple_map;
1594
1711
  var storage_gas;
1595
1712
  (function (storage_gas) {
1596
1713
  class GasCurve {
1714
+ static TYPE_NAME = "0x1::storage_gas::GasCurve";
1597
1715
  min_gas;
1598
1716
  max_gas;
1599
1717
  points;
1600
1718
  }
1601
1719
  storage_gas.GasCurve = GasCurve;
1602
1720
  class Point {
1721
+ static TYPE_NAME = "0x1::storage_gas::Point";
1603
1722
  x;
1604
1723
  y;
1605
1724
  }
1606
1725
  storage_gas.Point = Point;
1607
1726
  class StorageGas {
1727
+ static TYPE_NAME = "0x1::storage_gas::StorageGas";
1608
1728
  per_item_read;
1609
1729
  per_item_create;
1610
1730
  per_item_write;
@@ -1614,11 +1734,13 @@ var storage_gas;
1614
1734
  }
1615
1735
  storage_gas.StorageGas = StorageGas;
1616
1736
  class StorageGasConfig {
1737
+ static TYPE_NAME = "0x1::storage_gas::StorageGasConfig";
1617
1738
  item_config;
1618
1739
  byte_config;
1619
1740
  }
1620
1741
  storage_gas.StorageGasConfig = StorageGasConfig;
1621
1742
  class UsageGasConfig {
1743
+ static TYPE_NAME = "0x1::storage_gas::UsageGasConfig";
1622
1744
  target_usage;
1623
1745
  read_curve;
1624
1746
  create_curve;
@@ -1634,6 +1756,7 @@ var storage_gas;
1634
1756
  var chain_status;
1635
1757
  (function (chain_status) {
1636
1758
  class GenesisEndMarker {
1759
+ static TYPE_NAME = "0x1::chain_status::GenesisEndMarker";
1637
1760
  dummy_field;
1638
1761
  }
1639
1762
  chain_status.GenesisEndMarker = GenesisEndMarker;
@@ -1646,6 +1769,7 @@ var chain_status;
1646
1769
  var copyable_any;
1647
1770
  (function (copyable_any) {
1648
1771
  class Any {
1772
+ static TYPE_NAME = "0x1::copyable_any::Any";
1649
1773
  type_name;
1650
1774
  data;
1651
1775
  }
@@ -1659,15 +1783,18 @@ var copyable_any;
1659
1783
  var gas_schedule;
1660
1784
  (function (gas_schedule) {
1661
1785
  class GasEntry {
1786
+ static TYPE_NAME = "0x1::gas_schedule::GasEntry";
1662
1787
  key;
1663
1788
  val;
1664
1789
  }
1665
1790
  gas_schedule.GasEntry = GasEntry;
1666
1791
  class GasSchedule {
1792
+ static TYPE_NAME = "0x1::gas_schedule::GasSchedule";
1667
1793
  entries;
1668
1794
  }
1669
1795
  gas_schedule.GasSchedule = GasSchedule;
1670
1796
  class GasScheduleV2 {
1797
+ static TYPE_NAME = "0x1::gas_schedule::GasScheduleV2";
1671
1798
  feature_version;
1672
1799
  entries;
1673
1800
  }
@@ -1724,6 +1851,7 @@ class managed_coin extends sdk_1.aptos.AptosBaseProcessor {
1724
1851
  exports.managed_coin = managed_coin;
1725
1852
  (function (managed_coin) {
1726
1853
  class Capabilities {
1854
+ static TYPE_NAME = "0x1::managed_coin::Capabilities";
1727
1855
  burn_cap;
1728
1856
  freeze_cap;
1729
1857
  mint_cap;
@@ -1738,14 +1866,17 @@ exports.managed_coin = managed_coin;
1738
1866
  var ristretto255;
1739
1867
  (function (ristretto255) {
1740
1868
  class CompressedRistretto {
1869
+ static TYPE_NAME = "0x1::ristretto255::CompressedRistretto";
1741
1870
  data;
1742
1871
  }
1743
1872
  ristretto255.CompressedRistretto = CompressedRistretto;
1744
1873
  class RistrettoPoint {
1874
+ static TYPE_NAME = "0x1::ristretto255::RistrettoPoint";
1745
1875
  handle;
1746
1876
  }
1747
1877
  ristretto255.RistrettoPoint = RistrettoPoint;
1748
1878
  class Scalar {
1879
+ static TYPE_NAME = "0x1::ristretto255::Scalar";
1749
1880
  data;
1750
1881
  }
1751
1882
  ristretto255.Scalar = Scalar;
@@ -1795,6 +1926,7 @@ exports.aptos_account = aptos_account;
1795
1926
  var fixed_point32;
1796
1927
  (function (fixed_point32) {
1797
1928
  class FixedPoint32 {
1929
+ static TYPE_NAME = "0x1::fixed_point32::FixedPoint32";
1798
1930
  value;
1799
1931
  }
1800
1932
  fixed_point32.FixedPoint32 = FixedPoint32;
@@ -1807,14 +1939,17 @@ var fixed_point32;
1807
1939
  var multi_ed25519;
1808
1940
  (function (multi_ed25519) {
1809
1941
  class Signature {
1942
+ static TYPE_NAME = "0x1::multi_ed25519::Signature";
1810
1943
  bytes;
1811
1944
  }
1812
1945
  multi_ed25519.Signature = Signature;
1813
1946
  class UnvalidatedPublicKey {
1947
+ static TYPE_NAME = "0x1::multi_ed25519::UnvalidatedPublicKey";
1814
1948
  bytes;
1815
1949
  }
1816
1950
  multi_ed25519.UnvalidatedPublicKey = UnvalidatedPublicKey;
1817
1951
  class ValidatedPublicKey {
1952
+ static TYPE_NAME = "0x1::multi_ed25519::ValidatedPublicKey";
1818
1953
  bytes;
1819
1954
  }
1820
1955
  multi_ed25519.ValidatedPublicKey = ValidatedPublicKey;
@@ -1906,15 +2041,18 @@ exports.staking_proxy = staking_proxy;
1906
2041
  var state_storage;
1907
2042
  (function (state_storage) {
1908
2043
  class GasParameter {
2044
+ static TYPE_NAME = "0x1::state_storage::GasParameter";
1909
2045
  usage;
1910
2046
  }
1911
2047
  state_storage.GasParameter = GasParameter;
1912
2048
  class StateStorageUsage {
2049
+ static TYPE_NAME = "0x1::state_storage::StateStorageUsage";
1913
2050
  epoch;
1914
2051
  usage;
1915
2052
  }
1916
2053
  state_storage.StateStorageUsage = StateStorageUsage;
1917
2054
  class Usage {
2055
+ static TYPE_NAME = "0x1::state_storage::Usage";
1918
2056
  items;
1919
2057
  bytes;
1920
2058
  }
@@ -1928,6 +2066,7 @@ var state_storage;
1928
2066
  var staking_config;
1929
2067
  (function (staking_config) {
1930
2068
  class StakingConfig {
2069
+ static TYPE_NAME = "0x1::staking_config::StakingConfig";
1931
2070
  minimum_stake;
1932
2071
  maximum_stake;
1933
2072
  recurring_lockup_duration_secs;
@@ -1970,16 +2109,19 @@ class reconfiguration extends sdk_1.aptos.AptosBaseProcessor {
1970
2109
  exports.reconfiguration = reconfiguration;
1971
2110
  (function (reconfiguration) {
1972
2111
  class Configuration {
2112
+ static TYPE_NAME = "0x1::reconfiguration::Configuration";
1973
2113
  epoch;
1974
2114
  last_reconfiguration_time;
1975
2115
  events;
1976
2116
  }
1977
2117
  reconfiguration.Configuration = Configuration;
1978
2118
  class DisableReconfiguration {
2119
+ static TYPE_NAME = "0x1::reconfiguration::DisableReconfiguration";
1979
2120
  dummy_field;
1980
2121
  }
1981
2122
  reconfiguration.DisableReconfiguration = DisableReconfiguration;
1982
2123
  class NewEpochEvent {
2124
+ static TYPE_NAME = "0x1::reconfiguration::NewEpochEvent";
1983
2125
  epoch;
1984
2126
  }
1985
2127
  reconfiguration.NewEpochEvent = NewEpochEvent;
@@ -1992,6 +2134,7 @@ exports.reconfiguration = reconfiguration;
1992
2134
  var transaction_fee;
1993
2135
  (function (transaction_fee) {
1994
2136
  class AptosCoinCapabilities {
2137
+ static TYPE_NAME = "0x1::transaction_fee::AptosCoinCapabilities";
1995
2138
  burn_cap;
1996
2139
  }
1997
2140
  transaction_fee.AptosCoinCapabilities = AptosCoinCapabilities;
@@ -2061,10 +2204,12 @@ class aptos_governance extends sdk_1.aptos.AptosBaseProcessor {
2061
2204
  exports.aptos_governance = aptos_governance;
2062
2205
  (function (aptos_governance) {
2063
2206
  class ApprovedExecutionHashes {
2207
+ static TYPE_NAME = "0x1::aptos_governance::ApprovedExecutionHashes";
2064
2208
  hashes;
2065
2209
  }
2066
2210
  aptos_governance.ApprovedExecutionHashes = ApprovedExecutionHashes;
2067
2211
  class CreateProposalEvent {
2212
+ static TYPE_NAME = "0x1::aptos_governance::CreateProposalEvent";
2068
2213
  proposer;
2069
2214
  stake_pool;
2070
2215
  proposal_id;
@@ -2073,33 +2218,39 @@ exports.aptos_governance = aptos_governance;
2073
2218
  }
2074
2219
  aptos_governance.CreateProposalEvent = CreateProposalEvent;
2075
2220
  class GovernanceConfig {
2221
+ static TYPE_NAME = "0x1::aptos_governance::GovernanceConfig";
2076
2222
  min_voting_threshold;
2077
2223
  required_proposer_stake;
2078
2224
  voting_duration_secs;
2079
2225
  }
2080
2226
  aptos_governance.GovernanceConfig = GovernanceConfig;
2081
2227
  class GovernanceEvents {
2228
+ static TYPE_NAME = "0x1::aptos_governance::GovernanceEvents";
2082
2229
  create_proposal_events;
2083
2230
  update_config_events;
2084
2231
  vote_events;
2085
2232
  }
2086
2233
  aptos_governance.GovernanceEvents = GovernanceEvents;
2087
2234
  class GovernanceResponsbility {
2235
+ static TYPE_NAME = "0x1::aptos_governance::GovernanceResponsbility";
2088
2236
  signer_caps;
2089
2237
  }
2090
2238
  aptos_governance.GovernanceResponsbility = GovernanceResponsbility;
2091
2239
  class RecordKey {
2240
+ static TYPE_NAME = "0x1::aptos_governance::RecordKey";
2092
2241
  stake_pool;
2093
2242
  proposal_id;
2094
2243
  }
2095
2244
  aptos_governance.RecordKey = RecordKey;
2096
2245
  class UpdateConfigEvent {
2246
+ static TYPE_NAME = "0x1::aptos_governance::UpdateConfigEvent";
2097
2247
  min_voting_threshold;
2098
2248
  required_proposer_stake;
2099
2249
  voting_duration_secs;
2100
2250
  }
2101
2251
  aptos_governance.UpdateConfigEvent = UpdateConfigEvent;
2102
2252
  class VoteEvent {
2253
+ static TYPE_NAME = "0x1::aptos_governance::VoteEvent";
2103
2254
  proposal_id;
2104
2255
  voter;
2105
2256
  stake_pool;
@@ -2108,6 +2259,7 @@ exports.aptos_governance = aptos_governance;
2108
2259
  }
2109
2260
  aptos_governance.VoteEvent = VoteEvent;
2110
2261
  class VotingRecords {
2262
+ static TYPE_NAME = "0x1::aptos_governance::VotingRecords";
2111
2263
  votes;
2112
2264
  }
2113
2265
  aptos_governance.VotingRecords = VotingRecords;
@@ -2120,6 +2272,7 @@ exports.aptos_governance = aptos_governance;
2120
2272
  var consensus_config;
2121
2273
  (function (consensus_config) {
2122
2274
  class ConsensusConfig {
2275
+ static TYPE_NAME = "0x1::consensus_config::ConsensusConfig";
2123
2276
  config;
2124
2277
  }
2125
2278
  consensus_config.ConsensusConfig = ConsensusConfig;
@@ -2171,6 +2324,7 @@ class resource_account extends sdk_1.aptos.AptosBaseProcessor {
2171
2324
  exports.resource_account = resource_account;
2172
2325
  (function (resource_account) {
2173
2326
  class Container {
2327
+ static TYPE_NAME = "0x1::resource_account::Container";
2174
2328
  store;
2175
2329
  }
2176
2330
  resource_account.Container = Container;
@@ -2325,18 +2479,21 @@ class staking_contract extends sdk_1.aptos.AptosBaseProcessor {
2325
2479
  exports.staking_contract = staking_contract;
2326
2480
  (function (staking_contract) {
2327
2481
  class AddDistributionEvent {
2482
+ static TYPE_NAME = "0x1::staking_contract::AddDistributionEvent";
2328
2483
  operator;
2329
2484
  pool_address;
2330
2485
  amount;
2331
2486
  }
2332
2487
  staking_contract.AddDistributionEvent = AddDistributionEvent;
2333
2488
  class AddStakeEvent {
2489
+ static TYPE_NAME = "0x1::staking_contract::AddStakeEvent";
2334
2490
  operator;
2335
2491
  pool_address;
2336
2492
  amount;
2337
2493
  }
2338
2494
  staking_contract.AddStakeEvent = AddStakeEvent;
2339
2495
  class CreateStakingContractEvent {
2496
+ static TYPE_NAME = "0x1::staking_contract::CreateStakingContractEvent";
2340
2497
  operator;
2341
2498
  voter;
2342
2499
  pool_address;
@@ -2345,6 +2502,7 @@ exports.staking_contract = staking_contract;
2345
2502
  }
2346
2503
  staking_contract.CreateStakingContractEvent = CreateStakingContractEvent;
2347
2504
  class DistributeEvent {
2505
+ static TYPE_NAME = "0x1::staking_contract::DistributeEvent";
2348
2506
  operator;
2349
2507
  pool_address;
2350
2508
  recipient;
@@ -2352,6 +2510,7 @@ exports.staking_contract = staking_contract;
2352
2510
  }
2353
2511
  staking_contract.DistributeEvent = DistributeEvent;
2354
2512
  class RequestCommissionEvent {
2513
+ static TYPE_NAME = "0x1::staking_contract::RequestCommissionEvent";
2355
2514
  operator;
2356
2515
  pool_address;
2357
2516
  accumulated_rewards;
@@ -2359,11 +2518,13 @@ exports.staking_contract = staking_contract;
2359
2518
  }
2360
2519
  staking_contract.RequestCommissionEvent = RequestCommissionEvent;
2361
2520
  class ResetLockupEvent {
2521
+ static TYPE_NAME = "0x1::staking_contract::ResetLockupEvent";
2362
2522
  operator;
2363
2523
  pool_address;
2364
2524
  }
2365
2525
  staking_contract.ResetLockupEvent = ResetLockupEvent;
2366
2526
  class StakingContract {
2527
+ static TYPE_NAME = "0x1::staking_contract::StakingContract";
2367
2528
  principal;
2368
2529
  pool_address;
2369
2530
  owner_cap;
@@ -2373,6 +2534,7 @@ exports.staking_contract = staking_contract;
2373
2534
  }
2374
2535
  staking_contract.StakingContract = StakingContract;
2375
2536
  class Store {
2537
+ static TYPE_NAME = "0x1::staking_contract::Store";
2376
2538
  staking_contracts;
2377
2539
  create_staking_contract_events;
2378
2540
  update_voter_events;
@@ -2386,12 +2548,14 @@ exports.staking_contract = staking_contract;
2386
2548
  }
2387
2549
  staking_contract.Store = Store;
2388
2550
  class SwitchOperatorEvent {
2551
+ static TYPE_NAME = "0x1::staking_contract::SwitchOperatorEvent";
2389
2552
  old_operator;
2390
2553
  new_operator;
2391
2554
  pool_address;
2392
2555
  }
2393
2556
  staking_contract.SwitchOperatorEvent = SwitchOperatorEvent;
2394
2557
  class UnlockStakeEvent {
2558
+ static TYPE_NAME = "0x1::staking_contract::UnlockStakeEvent";
2395
2559
  operator;
2396
2560
  pool_address;
2397
2561
  amount;
@@ -2399,6 +2563,7 @@ exports.staking_contract = staking_contract;
2399
2563
  }
2400
2564
  staking_contract.UnlockStakeEvent = UnlockStakeEvent;
2401
2565
  class UpdateVoterEvent {
2566
+ static TYPE_NAME = "0x1::staking_contract::UpdateVoterEvent";
2402
2567
  operator;
2403
2568
  pool_address;
2404
2569
  old_voter;
@@ -2422,6 +2587,7 @@ var system_addresses;
2422
2587
  var table_with_length;
2423
2588
  (function (table_with_length) {
2424
2589
  class TableWithLength {
2590
+ static TYPE_NAME = "0x1::table_with_length::TableWithLength";
2425
2591
  inner;
2426
2592
  length;
2427
2593
  }
@@ -2435,6 +2601,7 @@ var table_with_length;
2435
2601
  var aggregator_factory;
2436
2602
  (function (aggregator_factory) {
2437
2603
  class AggregatorFactory {
2604
+ static TYPE_NAME = "0x1::aggregator_factory::AggregatorFactory";
2438
2605
  phantom_table;
2439
2606
  }
2440
2607
  aggregator_factory.AggregatorFactory = AggregatorFactory;
@@ -2447,6 +2614,7 @@ var aggregator_factory;
2447
2614
  var governance_proposal;
2448
2615
  (function (governance_proposal) {
2449
2616
  class GovernanceProposal {
2617
+ static TYPE_NAME = "0x1::governance_proposal::GovernanceProposal";
2450
2618
  dummy_field;
2451
2619
  }
2452
2620
  governance_proposal.GovernanceProposal = GovernanceProposal;
@@ -2459,11 +2627,13 @@ var governance_proposal;
2459
2627
  var optional_aggregator;
2460
2628
  (function (optional_aggregator) {
2461
2629
  class Integer {
2630
+ static TYPE_NAME = "0x1::optional_aggregator::Integer";
2462
2631
  value;
2463
2632
  limit;
2464
2633
  }
2465
2634
  optional_aggregator.Integer = Integer;
2466
2635
  class OptionalAggregator {
2636
+ static TYPE_NAME = "0x1::optional_aggregator::OptionalAggregator";
2467
2637
  aggregator;
2468
2638
  integer;
2469
2639
  }
@@ -2485,6 +2655,7 @@ var transaction_context;
2485
2655
  var transaction_validation;
2486
2656
  (function (transaction_validation) {
2487
2657
  class TransactionValidation {
2658
+ static TYPE_NAME = "0x1::transaction_validation::TransactionValidation";
2488
2659
  module_addr;
2489
2660
  module_name;
2490
2661
  script_prologue_name;