@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.
- package/lib/aptos/aptos-processor.d.ts +1 -0
- package/lib/aptos/aptos-processor.js +2 -1
- package/lib/aptos/aptos-processor.js.map +1 -1
- package/lib/aptos/context.d.ts +2 -1
- package/lib/aptos/context.js +3 -1
- package/lib/aptos/context.js.map +1 -1
- package/lib/aptos/index.d.ts +1 -1
- package/lib/aptos/index.js +2 -1
- package/lib/aptos/index.js.map +1 -1
- package/lib/aptos-codegen/codegen.js +1 -0
- package/lib/aptos-codegen/codegen.js.map +1 -1
- package/lib/builtin/aptos/0x1.d.ts +171 -0
- package/lib/builtin/aptos/0x1.js +171 -0
- package/lib/builtin/aptos/0x1.js.map +1 -1
- package/lib/builtin/aptos/0x3.d.ts +31 -0
- package/lib/builtin/aptos/0x3.js +31 -0
- package/lib/builtin/aptos/0x3.js.map +1 -1
- package/lib/core/context.d.ts +2 -5
- package/lib/core/context.js +8 -11
- package/lib/core/context.js.map +1 -1
- package/lib/core/event-tracker.js +1 -1
- package/lib/core/event-tracker.js.map +1 -1
- package/lib/core/exporter.d.ts +14 -0
- package/lib/core/exporter.js +27 -0
- package/lib/core/exporter.js.map +1 -0
- package/lib/core/logger.js +1 -1
- package/lib/core/logger.js.map +1 -1
- package/lib/core/meter.js +2 -2
- package/lib/core/meter.js.map +1 -1
- package/lib/gen/processor/protos/processor.d.ts +32 -0
- package/lib/gen/processor/protos/processor.js +206 -3
- package/lib/gen/processor/protos/processor.js.map +1 -1
- package/lib/processor-state.d.ts +2 -0
- package/lib/processor-state.js +1 -0
- package/lib/processor-state.js.map +1 -1
- package/lib/service.d.ts +1 -0
- package/lib/service.js +19 -16
- package/lib/service.js.map +1 -1
- package/lib/tests/erc20.js +7 -0
- package/lib/tests/erc20.js.map +1 -1
- package/lib/tests/types/aptos/souffle.d.ts +14 -0
- package/lib/tests/types/aptos/souffle.js +14 -0
- package/lib/tests/types/aptos/souffle.js.map +1 -1
- package/package.json +1 -1
- package/src/aptos/aptos-processor.ts +7 -1
- package/src/aptos/context.ts +3 -1
- package/src/aptos/index.ts +1 -1
- package/src/aptos-codegen/codegen.ts +1 -0
- package/src/builtin/aptos/0x1.ts +171 -0
- package/src/builtin/aptos/0x3.ts +31 -0
- package/src/core/context.ts +10 -20
- package/src/core/event-tracker.ts +1 -1
- package/src/core/exporter.ts +33 -0
- package/src/core/logger.ts +1 -1
- package/src/core/meter.ts +2 -2
- package/src/gen/processor/protos/processor.ts +250 -1
- package/src/processor-state.ts +3 -0
- package/src/service.ts +21 -18
- package/src/tests/erc20.ts +7 -0
- package/src/tests/types/aptos/souffle.ts +28 -0
package/src/builtin/aptos/0x1.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { Address, MoveModule } from "aptos-sdk/src/generated";
|
|
|
9
9
|
|
|
10
10
|
export namespace acl {
|
|
11
11
|
export class ACL {
|
|
12
|
+
static TYPE_NAME = "0x1::acl::ACL";
|
|
12
13
|
list: Address[];
|
|
13
14
|
}
|
|
14
15
|
|
|
@@ -22,6 +23,7 @@ export namespace acl {
|
|
|
22
23
|
|
|
23
24
|
export namespace any {
|
|
24
25
|
export class Any {
|
|
26
|
+
static TYPE_NAME = "0x1::any::Any";
|
|
25
27
|
type_name: string;
|
|
26
28
|
data: string;
|
|
27
29
|
}
|
|
@@ -77,11 +79,13 @@ export class code extends aptos.AptosBaseProcessor {
|
|
|
77
79
|
|
|
78
80
|
export namespace code {
|
|
79
81
|
export class AllowedDep {
|
|
82
|
+
static TYPE_NAME = "0x1::code::AllowedDep";
|
|
80
83
|
account: Address;
|
|
81
84
|
module_name: string;
|
|
82
85
|
}
|
|
83
86
|
|
|
84
87
|
export class ModuleMetadata {
|
|
88
|
+
static TYPE_NAME = "0x1::code::ModuleMetadata";
|
|
85
89
|
name: string;
|
|
86
90
|
source: string;
|
|
87
91
|
source_map: string;
|
|
@@ -89,11 +93,13 @@ export namespace code {
|
|
|
89
93
|
}
|
|
90
94
|
|
|
91
95
|
export class PackageDep {
|
|
96
|
+
static TYPE_NAME = "0x1::code::PackageDep";
|
|
92
97
|
account: Address;
|
|
93
98
|
package_name: string;
|
|
94
99
|
}
|
|
95
100
|
|
|
96
101
|
export class PackageMetadata {
|
|
102
|
+
static TYPE_NAME = "0x1::code::PackageMetadata";
|
|
97
103
|
name: string;
|
|
98
104
|
upgrade_policy: code.UpgradePolicy;
|
|
99
105
|
upgrade_number: bigint;
|
|
@@ -105,10 +111,12 @@ export namespace code {
|
|
|
105
111
|
}
|
|
106
112
|
|
|
107
113
|
export class PackageRegistry {
|
|
114
|
+
static TYPE_NAME = "0x1::code::PackageRegistry";
|
|
108
115
|
packages: code.PackageMetadata[];
|
|
109
116
|
}
|
|
110
117
|
|
|
111
118
|
export class UpgradePolicy {
|
|
119
|
+
static TYPE_NAME = "0x1::code::UpgradePolicy";
|
|
112
120
|
policy: number;
|
|
113
121
|
}
|
|
114
122
|
|
|
@@ -211,14 +219,17 @@ export class coin extends aptos.AptosBaseProcessor {
|
|
|
211
219
|
|
|
212
220
|
export namespace coin {
|
|
213
221
|
export class BurnCapability<T0> {
|
|
222
|
+
static TYPE_NAME = "0x1::coin::BurnCapability";
|
|
214
223
|
dummy_field: Boolean;
|
|
215
224
|
}
|
|
216
225
|
|
|
217
226
|
export class Coin<T0> {
|
|
227
|
+
static TYPE_NAME = "0x1::coin::Coin";
|
|
218
228
|
value: bigint;
|
|
219
229
|
}
|
|
220
230
|
|
|
221
231
|
export class CoinInfo<T0> {
|
|
232
|
+
static TYPE_NAME = "0x1::coin::CoinInfo";
|
|
222
233
|
name: string;
|
|
223
234
|
symbol: string;
|
|
224
235
|
decimals: number;
|
|
@@ -226,6 +237,7 @@ export namespace coin {
|
|
|
226
237
|
}
|
|
227
238
|
|
|
228
239
|
export class CoinStore<T0> {
|
|
240
|
+
static TYPE_NAME = "0x1::coin::CoinStore";
|
|
229
241
|
coin: coin.Coin<T0>;
|
|
230
242
|
frozen: Boolean;
|
|
231
243
|
deposit_events: event.EventHandle<coin.DepositEvent>;
|
|
@@ -233,6 +245,7 @@ export namespace coin {
|
|
|
233
245
|
}
|
|
234
246
|
|
|
235
247
|
export class DepositEvent {
|
|
248
|
+
static TYPE_NAME = "0x1::coin::DepositEvent";
|
|
236
249
|
amount: bigint;
|
|
237
250
|
}
|
|
238
251
|
|
|
@@ -243,18 +256,22 @@ export namespace coin {
|
|
|
243
256
|
}
|
|
244
257
|
|
|
245
258
|
export class FreezeCapability<T0> {
|
|
259
|
+
static TYPE_NAME = "0x1::coin::FreezeCapability";
|
|
246
260
|
dummy_field: Boolean;
|
|
247
261
|
}
|
|
248
262
|
|
|
249
263
|
export class MintCapability<T0> {
|
|
264
|
+
static TYPE_NAME = "0x1::coin::MintCapability";
|
|
250
265
|
dummy_field: Boolean;
|
|
251
266
|
}
|
|
252
267
|
|
|
253
268
|
export class SupplyConfig {
|
|
269
|
+
static TYPE_NAME = "0x1::coin::SupplyConfig";
|
|
254
270
|
allow_upgrades: Boolean;
|
|
255
271
|
}
|
|
256
272
|
|
|
257
273
|
export class WithdrawEvent {
|
|
274
|
+
static TYPE_NAME = "0x1::coin::WithdrawEvent";
|
|
258
275
|
amount: bigint;
|
|
259
276
|
}
|
|
260
277
|
|
|
@@ -298,10 +315,12 @@ export namespace coin {
|
|
|
298
315
|
|
|
299
316
|
export namespace guid {
|
|
300
317
|
export class GUID {
|
|
318
|
+
static TYPE_NAME = "0x1::guid::GUID";
|
|
301
319
|
id: guid.ID;
|
|
302
320
|
}
|
|
303
321
|
|
|
304
322
|
export class ID {
|
|
323
|
+
static TYPE_NAME = "0x1::guid::ID";
|
|
305
324
|
creation_num: bigint;
|
|
306
325
|
addr: Address;
|
|
307
326
|
}
|
|
@@ -373,6 +392,7 @@ export class block extends aptos.AptosBaseProcessor {
|
|
|
373
392
|
|
|
374
393
|
export namespace block {
|
|
375
394
|
export class BlockResource {
|
|
395
|
+
static TYPE_NAME = "0x1::block::BlockResource";
|
|
376
396
|
height: bigint;
|
|
377
397
|
epoch_interval: bigint;
|
|
378
398
|
new_block_events: event.EventHandle<block.NewBlockEvent>;
|
|
@@ -380,6 +400,7 @@ export namespace block {
|
|
|
380
400
|
}
|
|
381
401
|
|
|
382
402
|
export class NewBlockEvent {
|
|
403
|
+
static TYPE_NAME = "0x1::block::NewBlockEvent";
|
|
383
404
|
hash: Address;
|
|
384
405
|
epoch: bigint;
|
|
385
406
|
round: bigint;
|
|
@@ -397,6 +418,7 @@ export namespace block {
|
|
|
397
418
|
}
|
|
398
419
|
|
|
399
420
|
export class UpdateEpochIntervalEvent {
|
|
421
|
+
static TYPE_NAME = "0x1::block::UpdateEpochIntervalEvent";
|
|
400
422
|
old_epoch_interval: bigint;
|
|
401
423
|
new_epoch_interval: bigint;
|
|
402
424
|
}
|
|
@@ -435,6 +457,7 @@ export namespace error {
|
|
|
435
457
|
|
|
436
458
|
export namespace event {
|
|
437
459
|
export class EventHandle<T0> {
|
|
460
|
+
static TYPE_NAME = "0x1::event::EventHandle";
|
|
438
461
|
counter: bigint;
|
|
439
462
|
guid: guid.GUID;
|
|
440
463
|
}
|
|
@@ -772,6 +795,7 @@ export class stake extends aptos.AptosBaseProcessor {
|
|
|
772
795
|
|
|
773
796
|
export namespace stake {
|
|
774
797
|
export class AddStakeEvent {
|
|
798
|
+
static TYPE_NAME = "0x1::stake::AddStakeEvent";
|
|
775
799
|
pool_address: Address;
|
|
776
800
|
amount_added: bigint;
|
|
777
801
|
}
|
|
@@ -783,14 +807,17 @@ export namespace stake {
|
|
|
783
807
|
}
|
|
784
808
|
|
|
785
809
|
export class AllowedValidators {
|
|
810
|
+
static TYPE_NAME = "0x1::stake::AllowedValidators";
|
|
786
811
|
accounts: Address[];
|
|
787
812
|
}
|
|
788
813
|
|
|
789
814
|
export class AptosCoinCapabilities {
|
|
815
|
+
static TYPE_NAME = "0x1::stake::AptosCoinCapabilities";
|
|
790
816
|
mint_cap: coin.MintCapability<aptos_coin.AptosCoin>;
|
|
791
817
|
}
|
|
792
818
|
|
|
793
819
|
export class DistributeRewardsEvent {
|
|
820
|
+
static TYPE_NAME = "0x1::stake::DistributeRewardsEvent";
|
|
794
821
|
pool_address: Address;
|
|
795
822
|
rewards_amount: bigint;
|
|
796
823
|
}
|
|
@@ -802,6 +829,7 @@ export namespace stake {
|
|
|
802
829
|
}
|
|
803
830
|
|
|
804
831
|
export class IncreaseLockupEvent {
|
|
832
|
+
static TYPE_NAME = "0x1::stake::IncreaseLockupEvent";
|
|
805
833
|
pool_address: Address;
|
|
806
834
|
old_locked_until_secs: bigint;
|
|
807
835
|
new_locked_until_secs: bigint;
|
|
@@ -814,11 +842,13 @@ export namespace stake {
|
|
|
814
842
|
}
|
|
815
843
|
|
|
816
844
|
export class IndividualValidatorPerformance {
|
|
845
|
+
static TYPE_NAME = "0x1::stake::IndividualValidatorPerformance";
|
|
817
846
|
successful_proposals: bigint;
|
|
818
847
|
failed_proposals: bigint;
|
|
819
848
|
}
|
|
820
849
|
|
|
821
850
|
export class JoinValidatorSetEvent {
|
|
851
|
+
static TYPE_NAME = "0x1::stake::JoinValidatorSetEvent";
|
|
822
852
|
pool_address: Address;
|
|
823
853
|
}
|
|
824
854
|
|
|
@@ -829,6 +859,7 @@ export namespace stake {
|
|
|
829
859
|
}
|
|
830
860
|
|
|
831
861
|
export class LeaveValidatorSetEvent {
|
|
862
|
+
static TYPE_NAME = "0x1::stake::LeaveValidatorSetEvent";
|
|
832
863
|
pool_address: Address;
|
|
833
864
|
}
|
|
834
865
|
|
|
@@ -839,10 +870,12 @@ export namespace stake {
|
|
|
839
870
|
}
|
|
840
871
|
|
|
841
872
|
export class OwnerCapability {
|
|
873
|
+
static TYPE_NAME = "0x1::stake::OwnerCapability";
|
|
842
874
|
pool_address: Address;
|
|
843
875
|
}
|
|
844
876
|
|
|
845
877
|
export class ReactivateStakeEvent {
|
|
878
|
+
static TYPE_NAME = "0x1::stake::ReactivateStakeEvent";
|
|
846
879
|
pool_address: Address;
|
|
847
880
|
amount: bigint;
|
|
848
881
|
}
|
|
@@ -854,6 +887,7 @@ export namespace stake {
|
|
|
854
887
|
}
|
|
855
888
|
|
|
856
889
|
export class RegisterValidatorCandidateEvent {
|
|
890
|
+
static TYPE_NAME = "0x1::stake::RegisterValidatorCandidateEvent";
|
|
857
891
|
pool_address: Address;
|
|
858
892
|
}
|
|
859
893
|
|
|
@@ -864,6 +898,7 @@ export namespace stake {
|
|
|
864
898
|
}
|
|
865
899
|
|
|
866
900
|
export class RotateConsensusKeyEvent {
|
|
901
|
+
static TYPE_NAME = "0x1::stake::RotateConsensusKeyEvent";
|
|
867
902
|
pool_address: Address;
|
|
868
903
|
old_consensus_pubkey: string;
|
|
869
904
|
new_consensus_pubkey: string;
|
|
@@ -876,6 +911,7 @@ export namespace stake {
|
|
|
876
911
|
}
|
|
877
912
|
|
|
878
913
|
export class SetOperatorEvent {
|
|
914
|
+
static TYPE_NAME = "0x1::stake::SetOperatorEvent";
|
|
879
915
|
pool_address: Address;
|
|
880
916
|
old_operator: Address;
|
|
881
917
|
new_operator: Address;
|
|
@@ -888,6 +924,7 @@ export namespace stake {
|
|
|
888
924
|
}
|
|
889
925
|
|
|
890
926
|
export class StakePool {
|
|
927
|
+
static TYPE_NAME = "0x1::stake::StakePool";
|
|
891
928
|
active: coin.Coin<aptos_coin.AptosCoin>;
|
|
892
929
|
inactive: coin.Coin<aptos_coin.AptosCoin>;
|
|
893
930
|
pending_active: coin.Coin<aptos_coin.AptosCoin>;
|
|
@@ -910,6 +947,7 @@ export namespace stake {
|
|
|
910
947
|
}
|
|
911
948
|
|
|
912
949
|
export class UnlockStakeEvent {
|
|
950
|
+
static TYPE_NAME = "0x1::stake::UnlockStakeEvent";
|
|
913
951
|
pool_address: Address;
|
|
914
952
|
amount_unlocked: bigint;
|
|
915
953
|
}
|
|
@@ -921,6 +959,7 @@ export namespace stake {
|
|
|
921
959
|
}
|
|
922
960
|
|
|
923
961
|
export class UpdateNetworkAndFullnodeAddressesEvent {
|
|
962
|
+
static TYPE_NAME = "0x1::stake::UpdateNetworkAndFullnodeAddressesEvent";
|
|
924
963
|
pool_address: Address;
|
|
925
964
|
old_network_addresses: string;
|
|
926
965
|
new_network_addresses: string;
|
|
@@ -935,6 +974,7 @@ export namespace stake {
|
|
|
935
974
|
}
|
|
936
975
|
|
|
937
976
|
export class ValidatorConfig {
|
|
977
|
+
static TYPE_NAME = "0x1::stake::ValidatorConfig";
|
|
938
978
|
consensus_pubkey: string;
|
|
939
979
|
network_addresses: string;
|
|
940
980
|
fullnode_addresses: string;
|
|
@@ -942,16 +982,19 @@ export namespace stake {
|
|
|
942
982
|
}
|
|
943
983
|
|
|
944
984
|
export class ValidatorInfo {
|
|
985
|
+
static TYPE_NAME = "0x1::stake::ValidatorInfo";
|
|
945
986
|
addr: Address;
|
|
946
987
|
voting_power: bigint;
|
|
947
988
|
config: stake.ValidatorConfig;
|
|
948
989
|
}
|
|
949
990
|
|
|
950
991
|
export class ValidatorPerformance {
|
|
992
|
+
static TYPE_NAME = "0x1::stake::ValidatorPerformance";
|
|
951
993
|
validators: stake.IndividualValidatorPerformance[];
|
|
952
994
|
}
|
|
953
995
|
|
|
954
996
|
export class ValidatorSet {
|
|
997
|
+
static TYPE_NAME = "0x1::stake::ValidatorSet";
|
|
955
998
|
consensus_scheme: number;
|
|
956
999
|
active_validators: stake.ValidatorInfo[];
|
|
957
1000
|
pending_inactive: stake.ValidatorInfo[];
|
|
@@ -961,6 +1004,7 @@ export namespace stake {
|
|
|
961
1004
|
}
|
|
962
1005
|
|
|
963
1006
|
export class WithdrawStakeEvent {
|
|
1007
|
+
static TYPE_NAME = "0x1::stake::WithdrawStakeEvent";
|
|
964
1008
|
pool_address: Address;
|
|
965
1009
|
amount_withdrawn: bigint;
|
|
966
1010
|
}
|
|
@@ -1059,10 +1103,12 @@ export namespace stake {
|
|
|
1059
1103
|
|
|
1060
1104
|
export namespace table {
|
|
1061
1105
|
export class Box<T0> {
|
|
1106
|
+
static TYPE_NAME = "0x1::table::Box";
|
|
1062
1107
|
val: T0;
|
|
1063
1108
|
}
|
|
1064
1109
|
|
|
1065
1110
|
export class Table<T0, T1> {
|
|
1111
|
+
static TYPE_NAME = "0x1::table::Table";
|
|
1066
1112
|
handle: Address;
|
|
1067
1113
|
}
|
|
1068
1114
|
|
|
@@ -1085,6 +1131,7 @@ export namespace math64 {
|
|
|
1085
1131
|
|
|
1086
1132
|
export namespace option {
|
|
1087
1133
|
export class Option<T0> {
|
|
1134
|
+
static TYPE_NAME = "0x1::option::Option";
|
|
1088
1135
|
vec: T0[] | string;
|
|
1089
1136
|
}
|
|
1090
1137
|
|
|
@@ -1107,6 +1154,7 @@ export namespace signer {
|
|
|
1107
1154
|
|
|
1108
1155
|
export namespace string {
|
|
1109
1156
|
export class String {
|
|
1157
|
+
static TYPE_NAME = "0x1::string::String";
|
|
1110
1158
|
bytes: string;
|
|
1111
1159
|
}
|
|
1112
1160
|
|
|
@@ -1180,6 +1228,7 @@ export class voting extends aptos.AptosBaseProcessor {
|
|
|
1180
1228
|
|
|
1181
1229
|
export namespace voting {
|
|
1182
1230
|
export class CreateProposalEvent {
|
|
1231
|
+
static TYPE_NAME = "0x1::voting::CreateProposalEvent";
|
|
1183
1232
|
proposal_id: bigint;
|
|
1184
1233
|
early_resolution_vote_threshold: option.Option<bigint>;
|
|
1185
1234
|
execution_hash: string;
|
|
@@ -1195,6 +1244,7 @@ export namespace voting {
|
|
|
1195
1244
|
}
|
|
1196
1245
|
|
|
1197
1246
|
export class Proposal<T0> {
|
|
1247
|
+
static TYPE_NAME = "0x1::voting::Proposal";
|
|
1198
1248
|
proposer: Address;
|
|
1199
1249
|
execution_content: option.Option<T0>;
|
|
1200
1250
|
metadata: simple_map.SimpleMap<string, string>;
|
|
@@ -1210,6 +1260,7 @@ export namespace voting {
|
|
|
1210
1260
|
}
|
|
1211
1261
|
|
|
1212
1262
|
export class RegisterForumEvent {
|
|
1263
|
+
static TYPE_NAME = "0x1::voting::RegisterForumEvent";
|
|
1213
1264
|
hosting_account: Address;
|
|
1214
1265
|
proposal_type_info: type_info.TypeInfo;
|
|
1215
1266
|
}
|
|
@@ -1221,6 +1272,7 @@ export namespace voting {
|
|
|
1221
1272
|
}
|
|
1222
1273
|
|
|
1223
1274
|
export class ResolveProposal {
|
|
1275
|
+
static TYPE_NAME = "0x1::voting::ResolveProposal";
|
|
1224
1276
|
proposal_id: bigint;
|
|
1225
1277
|
yes_votes: bigint;
|
|
1226
1278
|
no_votes: bigint;
|
|
@@ -1228,6 +1280,7 @@ export namespace voting {
|
|
|
1228
1280
|
}
|
|
1229
1281
|
|
|
1230
1282
|
export class VoteEvent {
|
|
1283
|
+
static TYPE_NAME = "0x1::voting::VoteEvent";
|
|
1231
1284
|
proposal_id: bigint;
|
|
1232
1285
|
num_votes: bigint;
|
|
1233
1286
|
}
|
|
@@ -1239,6 +1292,7 @@ export namespace voting {
|
|
|
1239
1292
|
}
|
|
1240
1293
|
|
|
1241
1294
|
export class VotingEvents {
|
|
1295
|
+
static TYPE_NAME = "0x1::voting::VotingEvents";
|
|
1242
1296
|
create_proposal_events: event.EventHandle<voting.CreateProposalEvent>;
|
|
1243
1297
|
register_forum_events: event.EventHandle<voting.RegisterForumEvent>;
|
|
1244
1298
|
resolve_proposal_events: event.EventHandle<voting.ResolveProposal>;
|
|
@@ -1246,6 +1300,7 @@ export namespace voting {
|
|
|
1246
1300
|
}
|
|
1247
1301
|
|
|
1248
1302
|
export class VotingForum<T0> {
|
|
1303
|
+
static TYPE_NAME = "0x1::voting::VotingForum";
|
|
1249
1304
|
proposals: table.Table<bigint, voting.Proposal<T0>>;
|
|
1250
1305
|
events: voting.VotingEvents;
|
|
1251
1306
|
next_proposal_id: bigint;
|
|
@@ -1345,6 +1400,7 @@ export class account extends aptos.AptosBaseProcessor {
|
|
|
1345
1400
|
|
|
1346
1401
|
export namespace account {
|
|
1347
1402
|
export class Account {
|
|
1403
|
+
static TYPE_NAME = "0x1::account::Account";
|
|
1348
1404
|
authentication_key: string;
|
|
1349
1405
|
sequence_number: bigint;
|
|
1350
1406
|
guid_creation_num: bigint;
|
|
@@ -1355,10 +1411,12 @@ export namespace account {
|
|
|
1355
1411
|
}
|
|
1356
1412
|
|
|
1357
1413
|
export class CapabilityOffer<T0> {
|
|
1414
|
+
static TYPE_NAME = "0x1::account::CapabilityOffer";
|
|
1358
1415
|
for: option.Option<Address>;
|
|
1359
1416
|
}
|
|
1360
1417
|
|
|
1361
1418
|
export class CoinRegisterEvent {
|
|
1419
|
+
static TYPE_NAME = "0x1::account::CoinRegisterEvent";
|
|
1362
1420
|
type_info: type_info.TypeInfo;
|
|
1363
1421
|
}
|
|
1364
1422
|
|
|
@@ -1369,6 +1427,7 @@ export namespace account {
|
|
|
1369
1427
|
}
|
|
1370
1428
|
|
|
1371
1429
|
export class KeyRotationEvent {
|
|
1430
|
+
static TYPE_NAME = "0x1::account::KeyRotationEvent";
|
|
1372
1431
|
old_authentication_key: string;
|
|
1373
1432
|
new_authentication_key: string;
|
|
1374
1433
|
}
|
|
@@ -1380,19 +1439,23 @@ export namespace account {
|
|
|
1380
1439
|
}
|
|
1381
1440
|
|
|
1382
1441
|
export class OriginatingAddress {
|
|
1442
|
+
static TYPE_NAME = "0x1::account::OriginatingAddress";
|
|
1383
1443
|
address_map: table.Table<Address, Address>;
|
|
1384
1444
|
}
|
|
1385
1445
|
|
|
1386
1446
|
export class RotationCapability {
|
|
1447
|
+
static TYPE_NAME = "0x1::account::RotationCapability";
|
|
1387
1448
|
account: Address;
|
|
1388
1449
|
}
|
|
1389
1450
|
|
|
1390
1451
|
export class RotationCapabilityOfferProofChallenge {
|
|
1452
|
+
static TYPE_NAME = "0x1::account::RotationCapabilityOfferProofChallenge";
|
|
1391
1453
|
sequence_number: bigint;
|
|
1392
1454
|
recipient_address: Address;
|
|
1393
1455
|
}
|
|
1394
1456
|
|
|
1395
1457
|
export class RotationProofChallenge {
|
|
1458
|
+
static TYPE_NAME = "0x1::account::RotationProofChallenge";
|
|
1396
1459
|
sequence_number: bigint;
|
|
1397
1460
|
originator: Address;
|
|
1398
1461
|
current_auth_key: Address;
|
|
@@ -1400,15 +1463,18 @@ export namespace account {
|
|
|
1400
1463
|
}
|
|
1401
1464
|
|
|
1402
1465
|
export class SignerCapability {
|
|
1466
|
+
static TYPE_NAME = "0x1::account::SignerCapability";
|
|
1403
1467
|
account: Address;
|
|
1404
1468
|
}
|
|
1405
1469
|
|
|
1406
1470
|
export class SignerCapabilityOfferProofChallenge {
|
|
1471
|
+
static TYPE_NAME = "0x1::account::SignerCapabilityOfferProofChallenge";
|
|
1407
1472
|
sequence_number: bigint;
|
|
1408
1473
|
recipient_address: Address;
|
|
1409
1474
|
}
|
|
1410
1475
|
|
|
1411
1476
|
export class SignerCapabilityOfferProofChallengeV2 {
|
|
1477
|
+
static TYPE_NAME = "0x1::account::SignerCapabilityOfferProofChallengeV2";
|
|
1412
1478
|
sequence_number: bigint;
|
|
1413
1479
|
source_address: Address;
|
|
1414
1480
|
recipient_address: Address;
|
|
@@ -1444,19 +1510,23 @@ export namespace account {
|
|
|
1444
1510
|
|
|
1445
1511
|
export namespace ed25519 {
|
|
1446
1512
|
export class Signature {
|
|
1513
|
+
static TYPE_NAME = "0x1::ed25519::Signature";
|
|
1447
1514
|
bytes: string;
|
|
1448
1515
|
}
|
|
1449
1516
|
|
|
1450
1517
|
export class SignedMessage<T0> {
|
|
1518
|
+
static TYPE_NAME = "0x1::ed25519::SignedMessage";
|
|
1451
1519
|
type_info: type_info.TypeInfo;
|
|
1452
1520
|
inner: T0;
|
|
1453
1521
|
}
|
|
1454
1522
|
|
|
1455
1523
|
export class UnvalidatedPublicKey {
|
|
1524
|
+
static TYPE_NAME = "0x1::ed25519::UnvalidatedPublicKey";
|
|
1456
1525
|
bytes: string;
|
|
1457
1526
|
}
|
|
1458
1527
|
|
|
1459
1528
|
export class ValidatedPublicKey {
|
|
1529
|
+
static TYPE_NAME = "0x1::ed25519::ValidatedPublicKey";
|
|
1460
1530
|
bytes: string;
|
|
1461
1531
|
}
|
|
1462
1532
|
|
|
@@ -1470,11 +1540,13 @@ export namespace ed25519 {
|
|
|
1470
1540
|
|
|
1471
1541
|
export namespace genesis {
|
|
1472
1542
|
export class AccountMap {
|
|
1543
|
+
static TYPE_NAME = "0x1::genesis::AccountMap";
|
|
1473
1544
|
account_address: Address;
|
|
1474
1545
|
balance: bigint;
|
|
1475
1546
|
}
|
|
1476
1547
|
|
|
1477
1548
|
export class EmployeeAccountMap {
|
|
1549
|
+
static TYPE_NAME = "0x1::genesis::EmployeeAccountMap";
|
|
1478
1550
|
accounts: Address[];
|
|
1479
1551
|
validator: genesis.ValidatorConfigurationWithCommission;
|
|
1480
1552
|
vesting_schedule_numerator: bigint[];
|
|
@@ -1483,6 +1555,7 @@ export namespace genesis {
|
|
|
1483
1555
|
}
|
|
1484
1556
|
|
|
1485
1557
|
export class ValidatorConfiguration {
|
|
1558
|
+
static TYPE_NAME = "0x1::genesis::ValidatorConfiguration";
|
|
1486
1559
|
owner_address: Address;
|
|
1487
1560
|
operator_address: Address;
|
|
1488
1561
|
voter_address: Address;
|
|
@@ -1494,6 +1567,7 @@ export namespace genesis {
|
|
|
1494
1567
|
}
|
|
1495
1568
|
|
|
1496
1569
|
export class ValidatorConfigurationWithCommission {
|
|
1570
|
+
static TYPE_NAME = "0x1::genesis::ValidatorConfigurationWithCommission";
|
|
1497
1571
|
validator_config: genesis.ValidatorConfiguration;
|
|
1498
1572
|
commission_percentage: bigint;
|
|
1499
1573
|
join_during_genesis: Boolean;
|
|
@@ -1547,10 +1621,12 @@ export class version extends aptos.AptosBaseProcessor {
|
|
|
1547
1621
|
|
|
1548
1622
|
export namespace version {
|
|
1549
1623
|
export class SetVersionCapability {
|
|
1624
|
+
static TYPE_NAME = "0x1::version::SetVersionCapability";
|
|
1550
1625
|
dummy_field: Boolean;
|
|
1551
1626
|
}
|
|
1552
1627
|
|
|
1553
1628
|
export class Version {
|
|
1629
|
+
static TYPE_NAME = "0x1::version::Version";
|
|
1554
1630
|
major: bigint;
|
|
1555
1631
|
}
|
|
1556
1632
|
|
|
@@ -1869,12 +1945,14 @@ export class vesting extends aptos.AptosBaseProcessor {
|
|
|
1869
1945
|
|
|
1870
1946
|
export namespace vesting {
|
|
1871
1947
|
export class AdminStore {
|
|
1948
|
+
static TYPE_NAME = "0x1::vesting::AdminStore";
|
|
1872
1949
|
vesting_contracts: Address[];
|
|
1873
1950
|
nonce: bigint;
|
|
1874
1951
|
create_events: event.EventHandle<vesting.CreateVestingContractEvent>;
|
|
1875
1952
|
}
|
|
1876
1953
|
|
|
1877
1954
|
export class AdminWithdrawEvent {
|
|
1955
|
+
static TYPE_NAME = "0x1::vesting::AdminWithdrawEvent";
|
|
1878
1956
|
admin: Address;
|
|
1879
1957
|
vesting_contract_address: Address;
|
|
1880
1958
|
amount: bigint;
|
|
@@ -1887,6 +1965,7 @@ export namespace vesting {
|
|
|
1887
1965
|
}
|
|
1888
1966
|
|
|
1889
1967
|
export class CreateVestingContractEvent {
|
|
1968
|
+
static TYPE_NAME = "0x1::vesting::CreateVestingContractEvent";
|
|
1890
1969
|
operator: Address;
|
|
1891
1970
|
voter: Address;
|
|
1892
1971
|
grant_amount: bigint;
|
|
@@ -1903,6 +1982,7 @@ export namespace vesting {
|
|
|
1903
1982
|
}
|
|
1904
1983
|
|
|
1905
1984
|
export class DistributeEvent {
|
|
1985
|
+
static TYPE_NAME = "0x1::vesting::DistributeEvent";
|
|
1906
1986
|
admin: Address;
|
|
1907
1987
|
vesting_contract_address: Address;
|
|
1908
1988
|
amount: bigint;
|
|
@@ -1915,6 +1995,7 @@ export namespace vesting {
|
|
|
1915
1995
|
}
|
|
1916
1996
|
|
|
1917
1997
|
export class ResetLockupEvent {
|
|
1998
|
+
static TYPE_NAME = "0x1::vesting::ResetLockupEvent";
|
|
1918
1999
|
admin: Address;
|
|
1919
2000
|
vesting_contract_address: Address;
|
|
1920
2001
|
staking_pool_address: Address;
|
|
@@ -1928,6 +2009,7 @@ export namespace vesting {
|
|
|
1928
2009
|
}
|
|
1929
2010
|
|
|
1930
2011
|
export class SetBeneficiaryEvent {
|
|
2012
|
+
static TYPE_NAME = "0x1::vesting::SetBeneficiaryEvent";
|
|
1931
2013
|
admin: Address;
|
|
1932
2014
|
vesting_contract_address: Address;
|
|
1933
2015
|
shareholder: Address;
|
|
@@ -1942,6 +2024,7 @@ export namespace vesting {
|
|
|
1942
2024
|
}
|
|
1943
2025
|
|
|
1944
2026
|
export class StakingInfo {
|
|
2027
|
+
static TYPE_NAME = "0x1::vesting::StakingInfo";
|
|
1945
2028
|
pool_address: Address;
|
|
1946
2029
|
operator: Address;
|
|
1947
2030
|
voter: Address;
|
|
@@ -1949,6 +2032,7 @@ export namespace vesting {
|
|
|
1949
2032
|
}
|
|
1950
2033
|
|
|
1951
2034
|
export class TerminateEvent {
|
|
2035
|
+
static TYPE_NAME = "0x1::vesting::TerminateEvent";
|
|
1952
2036
|
admin: Address;
|
|
1953
2037
|
vesting_contract_address: Address;
|
|
1954
2038
|
}
|
|
@@ -1960,6 +2044,7 @@ export namespace vesting {
|
|
|
1960
2044
|
}
|
|
1961
2045
|
|
|
1962
2046
|
export class UnlockRewardsEvent {
|
|
2047
|
+
static TYPE_NAME = "0x1::vesting::UnlockRewardsEvent";
|
|
1963
2048
|
admin: Address;
|
|
1964
2049
|
vesting_contract_address: Address;
|
|
1965
2050
|
staking_pool_address: Address;
|
|
@@ -1973,6 +2058,7 @@ export namespace vesting {
|
|
|
1973
2058
|
}
|
|
1974
2059
|
|
|
1975
2060
|
export class UpdateOperatorEvent {
|
|
2061
|
+
static TYPE_NAME = "0x1::vesting::UpdateOperatorEvent";
|
|
1976
2062
|
admin: Address;
|
|
1977
2063
|
vesting_contract_address: Address;
|
|
1978
2064
|
staking_pool_address: Address;
|
|
@@ -1988,6 +2074,7 @@ export namespace vesting {
|
|
|
1988
2074
|
}
|
|
1989
2075
|
|
|
1990
2076
|
export class UpdateVoterEvent {
|
|
2077
|
+
static TYPE_NAME = "0x1::vesting::UpdateVoterEvent";
|
|
1991
2078
|
admin: Address;
|
|
1992
2079
|
vesting_contract_address: Address;
|
|
1993
2080
|
staking_pool_address: Address;
|
|
@@ -2002,6 +2089,7 @@ export namespace vesting {
|
|
|
2002
2089
|
}
|
|
2003
2090
|
|
|
2004
2091
|
export class VestEvent {
|
|
2092
|
+
static TYPE_NAME = "0x1::vesting::VestEvent";
|
|
2005
2093
|
admin: Address;
|
|
2006
2094
|
vesting_contract_address: Address;
|
|
2007
2095
|
staking_pool_address: Address;
|
|
@@ -2016,10 +2104,12 @@ export namespace vesting {
|
|
|
2016
2104
|
}
|
|
2017
2105
|
|
|
2018
2106
|
export class VestingAccountManagement {
|
|
2107
|
+
static TYPE_NAME = "0x1::vesting::VestingAccountManagement";
|
|
2019
2108
|
roles: simple_map.SimpleMap<string, Address>;
|
|
2020
2109
|
}
|
|
2021
2110
|
|
|
2022
2111
|
export class VestingContract {
|
|
2112
|
+
static TYPE_NAME = "0x1::vesting::VestingContract";
|
|
2023
2113
|
state: bigint;
|
|
2024
2114
|
admin: Address;
|
|
2025
2115
|
grant_pool: pool_u64.Pool;
|
|
@@ -2041,6 +2131,7 @@ export namespace vesting {
|
|
|
2041
2131
|
}
|
|
2042
2132
|
|
|
2043
2133
|
export class VestingSchedule {
|
|
2134
|
+
static TYPE_NAME = "0x1::vesting::VestingSchedule";
|
|
2044
2135
|
schedule: fixed_point32.FixedPoint32[];
|
|
2045
2136
|
start_timestamp_secs: bigint;
|
|
2046
2137
|
period_duration: bigint;
|
|
@@ -2134,26 +2225,32 @@ export namespace vesting {
|
|
|
2134
2225
|
|
|
2135
2226
|
export namespace bls12381 {
|
|
2136
2227
|
export class AggrOrMultiSignature {
|
|
2228
|
+
static TYPE_NAME = "0x1::bls12381::AggrOrMultiSignature";
|
|
2137
2229
|
bytes: string;
|
|
2138
2230
|
}
|
|
2139
2231
|
|
|
2140
2232
|
export class AggrPublicKeysWithPoP {
|
|
2233
|
+
static TYPE_NAME = "0x1::bls12381::AggrPublicKeysWithPoP";
|
|
2141
2234
|
bytes: string;
|
|
2142
2235
|
}
|
|
2143
2236
|
|
|
2144
2237
|
export class ProofOfPossession {
|
|
2238
|
+
static TYPE_NAME = "0x1::bls12381::ProofOfPossession";
|
|
2145
2239
|
bytes: string;
|
|
2146
2240
|
}
|
|
2147
2241
|
|
|
2148
2242
|
export class PublicKey {
|
|
2243
|
+
static TYPE_NAME = "0x1::bls12381::PublicKey";
|
|
2149
2244
|
bytes: string;
|
|
2150
2245
|
}
|
|
2151
2246
|
|
|
2152
2247
|
export class PublicKeyWithPoP {
|
|
2248
|
+
static TYPE_NAME = "0x1::bls12381::PublicKeyWithPoP";
|
|
2153
2249
|
bytes: string;
|
|
2154
2250
|
}
|
|
2155
2251
|
|
|
2156
2252
|
export class Signature {
|
|
2253
|
+
static TYPE_NAME = "0x1::bls12381::Signature";
|
|
2157
2254
|
bytes: string;
|
|
2158
2255
|
}
|
|
2159
2256
|
|
|
@@ -2167,6 +2264,7 @@ export namespace bls12381 {
|
|
|
2167
2264
|
|
|
2168
2265
|
export namespace chain_id {
|
|
2169
2266
|
export class ChainId {
|
|
2267
|
+
static TYPE_NAME = "0x1::chain_id::ChainId";
|
|
2170
2268
|
id: number;
|
|
2171
2269
|
}
|
|
2172
2270
|
|
|
@@ -2180,6 +2278,7 @@ export namespace chain_id {
|
|
|
2180
2278
|
|
|
2181
2279
|
export namespace features {
|
|
2182
2280
|
export class Features {
|
|
2281
|
+
static TYPE_NAME = "0x1::features::Features";
|
|
2183
2282
|
features: string;
|
|
2184
2283
|
}
|
|
2185
2284
|
|
|
@@ -2202,6 +2301,7 @@ export namespace from_bcs {
|
|
|
2202
2301
|
|
|
2203
2302
|
export namespace pool_u64 {
|
|
2204
2303
|
export class Pool {
|
|
2304
|
+
static TYPE_NAME = "0x1::pool_u64::Pool";
|
|
2205
2305
|
shareholders_limit: bigint;
|
|
2206
2306
|
total_coins: bigint;
|
|
2207
2307
|
total_shares: bigint;
|
|
@@ -2220,10 +2320,12 @@ export namespace pool_u64 {
|
|
|
2220
2320
|
|
|
2221
2321
|
export namespace secp256k1 {
|
|
2222
2322
|
export class ECDSARawPublicKey {
|
|
2323
|
+
static TYPE_NAME = "0x1::secp256k1::ECDSARawPublicKey";
|
|
2223
2324
|
bytes: string;
|
|
2224
2325
|
}
|
|
2225
2326
|
|
|
2226
2327
|
export class ECDSASignature {
|
|
2328
|
+
static TYPE_NAME = "0x1::secp256k1::ECDSASignature";
|
|
2227
2329
|
bytes: string;
|
|
2228
2330
|
}
|
|
2229
2331
|
|
|
@@ -2237,6 +2339,7 @@ export namespace secp256k1 {
|
|
|
2237
2339
|
|
|
2238
2340
|
export namespace timestamp {
|
|
2239
2341
|
export class CurrentTimeMicroseconds {
|
|
2342
|
+
static TYPE_NAME = "0x1::timestamp::CurrentTimeMicroseconds";
|
|
2240
2343
|
microseconds: bigint;
|
|
2241
2344
|
}
|
|
2242
2345
|
|
|
@@ -2250,6 +2353,7 @@ export namespace timestamp {
|
|
|
2250
2353
|
|
|
2251
2354
|
export namespace type_info {
|
|
2252
2355
|
export class TypeInfo {
|
|
2356
|
+
static TYPE_NAME = "0x1::type_info::TypeInfo";
|
|
2253
2357
|
account_address: Address;
|
|
2254
2358
|
module_name: string;
|
|
2255
2359
|
struct_name: string;
|
|
@@ -2265,6 +2369,7 @@ export namespace type_info {
|
|
|
2265
2369
|
|
|
2266
2370
|
export namespace aggregator {
|
|
2267
2371
|
export class Aggregator {
|
|
2372
|
+
static TYPE_NAME = "0x1::aggregator::Aggregator";
|
|
2268
2373
|
handle: Address;
|
|
2269
2374
|
key: Address;
|
|
2270
2375
|
limit: bigint;
|
|
@@ -2337,18 +2442,22 @@ export class aptos_coin extends aptos.AptosBaseProcessor {
|
|
|
2337
2442
|
|
|
2338
2443
|
export namespace aptos_coin {
|
|
2339
2444
|
export class AptosCoin {
|
|
2445
|
+
static TYPE_NAME = "0x1::aptos_coin::AptosCoin";
|
|
2340
2446
|
dummy_field: Boolean;
|
|
2341
2447
|
}
|
|
2342
2448
|
|
|
2343
2449
|
export class DelegatedMintCapability {
|
|
2450
|
+
static TYPE_NAME = "0x1::aptos_coin::DelegatedMintCapability";
|
|
2344
2451
|
to: Address;
|
|
2345
2452
|
}
|
|
2346
2453
|
|
|
2347
2454
|
export class Delegations {
|
|
2455
|
+
static TYPE_NAME = "0x1::aptos_coin::Delegations";
|
|
2348
2456
|
inner: aptos_coin.DelegatedMintCapability[];
|
|
2349
2457
|
}
|
|
2350
2458
|
|
|
2351
2459
|
export class MintCapStore {
|
|
2460
|
+
static TYPE_NAME = "0x1::aptos_coin::MintCapStore";
|
|
2352
2461
|
mint_cap: coin.MintCapability<aptos_coin.AptosCoin>;
|
|
2353
2462
|
}
|
|
2354
2463
|
|
|
@@ -2389,6 +2498,7 @@ export namespace aptos_hash {
|
|
|
2389
2498
|
|
|
2390
2499
|
export namespace bit_vector {
|
|
2391
2500
|
export class BitVector {
|
|
2501
|
+
static TYPE_NAME = "0x1::bit_vector::BitVector";
|
|
2392
2502
|
length: bigint;
|
|
2393
2503
|
bit_field: Boolean[];
|
|
2394
2504
|
}
|
|
@@ -2403,18 +2513,22 @@ export namespace bit_vector {
|
|
|
2403
2513
|
|
|
2404
2514
|
export namespace capability {
|
|
2405
2515
|
export class Cap<T0> {
|
|
2516
|
+
static TYPE_NAME = "0x1::capability::Cap";
|
|
2406
2517
|
root: Address;
|
|
2407
2518
|
}
|
|
2408
2519
|
|
|
2409
2520
|
export class CapDelegateState<T0> {
|
|
2521
|
+
static TYPE_NAME = "0x1::capability::CapDelegateState";
|
|
2410
2522
|
root: Address;
|
|
2411
2523
|
}
|
|
2412
2524
|
|
|
2413
2525
|
export class CapState<T0> {
|
|
2526
|
+
static TYPE_NAME = "0x1::capability::CapState";
|
|
2414
2527
|
delegates: Address[];
|
|
2415
2528
|
}
|
|
2416
2529
|
|
|
2417
2530
|
export class LinearCap<T0> {
|
|
2531
|
+
static TYPE_NAME = "0x1::capability::LinearCap";
|
|
2418
2532
|
root: Address;
|
|
2419
2533
|
}
|
|
2420
2534
|
|
|
@@ -2428,6 +2542,7 @@ export namespace capability {
|
|
|
2428
2542
|
|
|
2429
2543
|
export namespace comparator {
|
|
2430
2544
|
export class Result {
|
|
2545
|
+
static TYPE_NAME = "0x1::comparator::Result";
|
|
2431
2546
|
inner: number;
|
|
2432
2547
|
}
|
|
2433
2548
|
|
|
@@ -2441,11 +2556,13 @@ export namespace comparator {
|
|
|
2441
2556
|
|
|
2442
2557
|
export namespace simple_map {
|
|
2443
2558
|
export class Element<T0, T1> {
|
|
2559
|
+
static TYPE_NAME = "0x1::simple_map::Element";
|
|
2444
2560
|
key: T0;
|
|
2445
2561
|
value: T1;
|
|
2446
2562
|
}
|
|
2447
2563
|
|
|
2448
2564
|
export class SimpleMap<T0, T1> {
|
|
2565
|
+
static TYPE_NAME = "0x1::simple_map::SimpleMap";
|
|
2449
2566
|
data: simple_map.Element<T0, T1>[];
|
|
2450
2567
|
}
|
|
2451
2568
|
|
|
@@ -2459,17 +2576,20 @@ export namespace simple_map {
|
|
|
2459
2576
|
|
|
2460
2577
|
export namespace storage_gas {
|
|
2461
2578
|
export class GasCurve {
|
|
2579
|
+
static TYPE_NAME = "0x1::storage_gas::GasCurve";
|
|
2462
2580
|
min_gas: bigint;
|
|
2463
2581
|
max_gas: bigint;
|
|
2464
2582
|
points: storage_gas.Point[];
|
|
2465
2583
|
}
|
|
2466
2584
|
|
|
2467
2585
|
export class Point {
|
|
2586
|
+
static TYPE_NAME = "0x1::storage_gas::Point";
|
|
2468
2587
|
x: bigint;
|
|
2469
2588
|
y: bigint;
|
|
2470
2589
|
}
|
|
2471
2590
|
|
|
2472
2591
|
export class StorageGas {
|
|
2592
|
+
static TYPE_NAME = "0x1::storage_gas::StorageGas";
|
|
2473
2593
|
per_item_read: bigint;
|
|
2474
2594
|
per_item_create: bigint;
|
|
2475
2595
|
per_item_write: bigint;
|
|
@@ -2479,11 +2599,13 @@ export namespace storage_gas {
|
|
|
2479
2599
|
}
|
|
2480
2600
|
|
|
2481
2601
|
export class StorageGasConfig {
|
|
2602
|
+
static TYPE_NAME = "0x1::storage_gas::StorageGasConfig";
|
|
2482
2603
|
item_config: storage_gas.UsageGasConfig;
|
|
2483
2604
|
byte_config: storage_gas.UsageGasConfig;
|
|
2484
2605
|
}
|
|
2485
2606
|
|
|
2486
2607
|
export class UsageGasConfig {
|
|
2608
|
+
static TYPE_NAME = "0x1::storage_gas::UsageGasConfig";
|
|
2487
2609
|
target_usage: bigint;
|
|
2488
2610
|
read_curve: storage_gas.GasCurve;
|
|
2489
2611
|
create_curve: storage_gas.GasCurve;
|
|
@@ -2500,6 +2622,7 @@ export namespace storage_gas {
|
|
|
2500
2622
|
|
|
2501
2623
|
export namespace chain_status {
|
|
2502
2624
|
export class GenesisEndMarker {
|
|
2625
|
+
static TYPE_NAME = "0x1::chain_status::GenesisEndMarker";
|
|
2503
2626
|
dummy_field: Boolean;
|
|
2504
2627
|
}
|
|
2505
2628
|
|
|
@@ -2513,6 +2636,7 @@ export namespace chain_status {
|
|
|
2513
2636
|
|
|
2514
2637
|
export namespace copyable_any {
|
|
2515
2638
|
export class Any {
|
|
2639
|
+
static TYPE_NAME = "0x1::copyable_any::Any";
|
|
2516
2640
|
type_name: string;
|
|
2517
2641
|
data: string;
|
|
2518
2642
|
}
|
|
@@ -2527,15 +2651,18 @@ export namespace copyable_any {
|
|
|
2527
2651
|
|
|
2528
2652
|
export namespace gas_schedule {
|
|
2529
2653
|
export class GasEntry {
|
|
2654
|
+
static TYPE_NAME = "0x1::gas_schedule::GasEntry";
|
|
2530
2655
|
key: string;
|
|
2531
2656
|
val: bigint;
|
|
2532
2657
|
}
|
|
2533
2658
|
|
|
2534
2659
|
export class GasSchedule {
|
|
2660
|
+
static TYPE_NAME = "0x1::gas_schedule::GasSchedule";
|
|
2535
2661
|
entries: gas_schedule.GasEntry[];
|
|
2536
2662
|
}
|
|
2537
2663
|
|
|
2538
2664
|
export class GasScheduleV2 {
|
|
2665
|
+
static TYPE_NAME = "0x1::gas_schedule::GasScheduleV2";
|
|
2539
2666
|
feature_version: bigint;
|
|
2540
2667
|
entries: gas_schedule.GasEntry[];
|
|
2541
2668
|
}
|
|
@@ -2615,6 +2742,7 @@ export class managed_coin extends aptos.AptosBaseProcessor {
|
|
|
2615
2742
|
|
|
2616
2743
|
export namespace managed_coin {
|
|
2617
2744
|
export class Capabilities<T0> {
|
|
2745
|
+
static TYPE_NAME = "0x1::managed_coin::Capabilities";
|
|
2618
2746
|
burn_cap: coin.BurnCapability<T0>;
|
|
2619
2747
|
freeze_cap: coin.FreezeCapability<T0>;
|
|
2620
2748
|
mint_cap: coin.MintCapability<T0>;
|
|
@@ -2653,14 +2781,17 @@ export namespace managed_coin {
|
|
|
2653
2781
|
|
|
2654
2782
|
export namespace ristretto255 {
|
|
2655
2783
|
export class CompressedRistretto {
|
|
2784
|
+
static TYPE_NAME = "0x1::ristretto255::CompressedRistretto";
|
|
2656
2785
|
data: string;
|
|
2657
2786
|
}
|
|
2658
2787
|
|
|
2659
2788
|
export class RistrettoPoint {
|
|
2789
|
+
static TYPE_NAME = "0x1::ristretto255::RistrettoPoint";
|
|
2660
2790
|
handle: bigint;
|
|
2661
2791
|
}
|
|
2662
2792
|
|
|
2663
2793
|
export class Scalar {
|
|
2794
|
+
static TYPE_NAME = "0x1::ristretto255::Scalar";
|
|
2664
2795
|
data: string;
|
|
2665
2796
|
}
|
|
2666
2797
|
|
|
@@ -2741,6 +2872,7 @@ export namespace aptos_account {
|
|
|
2741
2872
|
|
|
2742
2873
|
export namespace fixed_point32 {
|
|
2743
2874
|
export class FixedPoint32 {
|
|
2875
|
+
static TYPE_NAME = "0x1::fixed_point32::FixedPoint32";
|
|
2744
2876
|
value: bigint;
|
|
2745
2877
|
}
|
|
2746
2878
|
|
|
@@ -2754,14 +2886,17 @@ export namespace fixed_point32 {
|
|
|
2754
2886
|
|
|
2755
2887
|
export namespace multi_ed25519 {
|
|
2756
2888
|
export class Signature {
|
|
2889
|
+
static TYPE_NAME = "0x1::multi_ed25519::Signature";
|
|
2757
2890
|
bytes: string;
|
|
2758
2891
|
}
|
|
2759
2892
|
|
|
2760
2893
|
export class UnvalidatedPublicKey {
|
|
2894
|
+
static TYPE_NAME = "0x1::multi_ed25519::UnvalidatedPublicKey";
|
|
2761
2895
|
bytes: string;
|
|
2762
2896
|
}
|
|
2763
2897
|
|
|
2764
2898
|
export class ValidatedPublicKey {
|
|
2899
|
+
static TYPE_NAME = "0x1::multi_ed25519::ValidatedPublicKey";
|
|
2765
2900
|
bytes: string;
|
|
2766
2901
|
}
|
|
2767
2902
|
|
|
@@ -2962,15 +3097,18 @@ export namespace staking_proxy {
|
|
|
2962
3097
|
|
|
2963
3098
|
export namespace state_storage {
|
|
2964
3099
|
export class GasParameter {
|
|
3100
|
+
static TYPE_NAME = "0x1::state_storage::GasParameter";
|
|
2965
3101
|
usage: state_storage.Usage;
|
|
2966
3102
|
}
|
|
2967
3103
|
|
|
2968
3104
|
export class StateStorageUsage {
|
|
3105
|
+
static TYPE_NAME = "0x1::state_storage::StateStorageUsage";
|
|
2969
3106
|
epoch: bigint;
|
|
2970
3107
|
usage: state_storage.Usage;
|
|
2971
3108
|
}
|
|
2972
3109
|
|
|
2973
3110
|
export class Usage {
|
|
3111
|
+
static TYPE_NAME = "0x1::state_storage::Usage";
|
|
2974
3112
|
items: bigint;
|
|
2975
3113
|
bytes: bigint;
|
|
2976
3114
|
}
|
|
@@ -2985,6 +3123,7 @@ export namespace state_storage {
|
|
|
2985
3123
|
|
|
2986
3124
|
export namespace staking_config {
|
|
2987
3125
|
export class StakingConfig {
|
|
3126
|
+
static TYPE_NAME = "0x1::staking_config::StakingConfig";
|
|
2988
3127
|
minimum_stake: bigint;
|
|
2989
3128
|
maximum_stake: bigint;
|
|
2990
3129
|
recurring_lockup_duration_secs: bigint;
|
|
@@ -3037,16 +3176,19 @@ export class reconfiguration extends aptos.AptosBaseProcessor {
|
|
|
3037
3176
|
|
|
3038
3177
|
export namespace reconfiguration {
|
|
3039
3178
|
export class Configuration {
|
|
3179
|
+
static TYPE_NAME = "0x1::reconfiguration::Configuration";
|
|
3040
3180
|
epoch: bigint;
|
|
3041
3181
|
last_reconfiguration_time: bigint;
|
|
3042
3182
|
events: event.EventHandle<reconfiguration.NewEpochEvent>;
|
|
3043
3183
|
}
|
|
3044
3184
|
|
|
3045
3185
|
export class DisableReconfiguration {
|
|
3186
|
+
static TYPE_NAME = "0x1::reconfiguration::DisableReconfiguration";
|
|
3046
3187
|
dummy_field: Boolean;
|
|
3047
3188
|
}
|
|
3048
3189
|
|
|
3049
3190
|
export class NewEpochEvent {
|
|
3191
|
+
static TYPE_NAME = "0x1::reconfiguration::NewEpochEvent";
|
|
3050
3192
|
epoch: bigint;
|
|
3051
3193
|
}
|
|
3052
3194
|
|
|
@@ -3066,6 +3208,7 @@ export namespace reconfiguration {
|
|
|
3066
3208
|
|
|
3067
3209
|
export namespace transaction_fee {
|
|
3068
3210
|
export class AptosCoinCapabilities {
|
|
3211
|
+
static TYPE_NAME = "0x1::transaction_fee::AptosCoinCapabilities";
|
|
3069
3212
|
burn_cap: coin.BurnCapability<aptos_coin.AptosCoin>;
|
|
3070
3213
|
}
|
|
3071
3214
|
|
|
@@ -3175,10 +3318,12 @@ export class aptos_governance extends aptos.AptosBaseProcessor {
|
|
|
3175
3318
|
|
|
3176
3319
|
export namespace aptos_governance {
|
|
3177
3320
|
export class ApprovedExecutionHashes {
|
|
3321
|
+
static TYPE_NAME = "0x1::aptos_governance::ApprovedExecutionHashes";
|
|
3178
3322
|
hashes: simple_map.SimpleMap<bigint, string>;
|
|
3179
3323
|
}
|
|
3180
3324
|
|
|
3181
3325
|
export class CreateProposalEvent {
|
|
3326
|
+
static TYPE_NAME = "0x1::aptos_governance::CreateProposalEvent";
|
|
3182
3327
|
proposer: Address;
|
|
3183
3328
|
stake_pool: Address;
|
|
3184
3329
|
proposal_id: bigint;
|
|
@@ -3193,27 +3338,32 @@ export namespace aptos_governance {
|
|
|
3193
3338
|
}
|
|
3194
3339
|
|
|
3195
3340
|
export class GovernanceConfig {
|
|
3341
|
+
static TYPE_NAME = "0x1::aptos_governance::GovernanceConfig";
|
|
3196
3342
|
min_voting_threshold: bigint;
|
|
3197
3343
|
required_proposer_stake: bigint;
|
|
3198
3344
|
voting_duration_secs: bigint;
|
|
3199
3345
|
}
|
|
3200
3346
|
|
|
3201
3347
|
export class GovernanceEvents {
|
|
3348
|
+
static TYPE_NAME = "0x1::aptos_governance::GovernanceEvents";
|
|
3202
3349
|
create_proposal_events: event.EventHandle<aptos_governance.CreateProposalEvent>;
|
|
3203
3350
|
update_config_events: event.EventHandle<aptos_governance.UpdateConfigEvent>;
|
|
3204
3351
|
vote_events: event.EventHandle<aptos_governance.VoteEvent>;
|
|
3205
3352
|
}
|
|
3206
3353
|
|
|
3207
3354
|
export class GovernanceResponsbility {
|
|
3355
|
+
static TYPE_NAME = "0x1::aptos_governance::GovernanceResponsbility";
|
|
3208
3356
|
signer_caps: simple_map.SimpleMap<Address, account.SignerCapability>;
|
|
3209
3357
|
}
|
|
3210
3358
|
|
|
3211
3359
|
export class RecordKey {
|
|
3360
|
+
static TYPE_NAME = "0x1::aptos_governance::RecordKey";
|
|
3212
3361
|
stake_pool: Address;
|
|
3213
3362
|
proposal_id: bigint;
|
|
3214
3363
|
}
|
|
3215
3364
|
|
|
3216
3365
|
export class UpdateConfigEvent {
|
|
3366
|
+
static TYPE_NAME = "0x1::aptos_governance::UpdateConfigEvent";
|
|
3217
3367
|
min_voting_threshold: bigint;
|
|
3218
3368
|
required_proposer_stake: bigint;
|
|
3219
3369
|
voting_duration_secs: bigint;
|
|
@@ -3226,6 +3376,7 @@ export namespace aptos_governance {
|
|
|
3226
3376
|
}
|
|
3227
3377
|
|
|
3228
3378
|
export class VoteEvent {
|
|
3379
|
+
static TYPE_NAME = "0x1::aptos_governance::VoteEvent";
|
|
3229
3380
|
proposal_id: bigint;
|
|
3230
3381
|
voter: Address;
|
|
3231
3382
|
stake_pool: Address;
|
|
@@ -3240,6 +3391,7 @@ export namespace aptos_governance {
|
|
|
3240
3391
|
}
|
|
3241
3392
|
|
|
3242
3393
|
export class VotingRecords {
|
|
3394
|
+
static TYPE_NAME = "0x1::aptos_governance::VotingRecords";
|
|
3243
3395
|
votes: table.Table<aptos_governance.RecordKey, Boolean>;
|
|
3244
3396
|
}
|
|
3245
3397
|
|
|
@@ -3271,6 +3423,7 @@ export namespace aptos_governance {
|
|
|
3271
3423
|
|
|
3272
3424
|
export namespace consensus_config {
|
|
3273
3425
|
export class ConsensusConfig {
|
|
3426
|
+
static TYPE_NAME = "0x1::consensus_config::ConsensusConfig";
|
|
3274
3427
|
config: string;
|
|
3275
3428
|
}
|
|
3276
3429
|
|
|
@@ -3347,6 +3500,7 @@ export class resource_account extends aptos.AptosBaseProcessor {
|
|
|
3347
3500
|
|
|
3348
3501
|
export namespace resource_account {
|
|
3349
3502
|
export class Container {
|
|
3503
|
+
static TYPE_NAME = "0x1::resource_account::Container";
|
|
3350
3504
|
store: simple_map.SimpleMap<Address, account.SignerCapability>;
|
|
3351
3505
|
}
|
|
3352
3506
|
|
|
@@ -3647,6 +3801,7 @@ export class staking_contract extends aptos.AptosBaseProcessor {
|
|
|
3647
3801
|
|
|
3648
3802
|
export namespace staking_contract {
|
|
3649
3803
|
export class AddDistributionEvent {
|
|
3804
|
+
static TYPE_NAME = "0x1::staking_contract::AddDistributionEvent";
|
|
3650
3805
|
operator: Address;
|
|
3651
3806
|
pool_address: Address;
|
|
3652
3807
|
amount: bigint;
|
|
@@ -3659,6 +3814,7 @@ export namespace staking_contract {
|
|
|
3659
3814
|
}
|
|
3660
3815
|
|
|
3661
3816
|
export class AddStakeEvent {
|
|
3817
|
+
static TYPE_NAME = "0x1::staking_contract::AddStakeEvent";
|
|
3662
3818
|
operator: Address;
|
|
3663
3819
|
pool_address: Address;
|
|
3664
3820
|
amount: bigint;
|
|
@@ -3671,6 +3827,7 @@ export namespace staking_contract {
|
|
|
3671
3827
|
}
|
|
3672
3828
|
|
|
3673
3829
|
export class CreateStakingContractEvent {
|
|
3830
|
+
static TYPE_NAME = "0x1::staking_contract::CreateStakingContractEvent";
|
|
3674
3831
|
operator: Address;
|
|
3675
3832
|
voter: Address;
|
|
3676
3833
|
pool_address: Address;
|
|
@@ -3685,6 +3842,7 @@ export namespace staking_contract {
|
|
|
3685
3842
|
}
|
|
3686
3843
|
|
|
3687
3844
|
export class DistributeEvent {
|
|
3845
|
+
static TYPE_NAME = "0x1::staking_contract::DistributeEvent";
|
|
3688
3846
|
operator: Address;
|
|
3689
3847
|
pool_address: Address;
|
|
3690
3848
|
recipient: Address;
|
|
@@ -3698,6 +3856,7 @@ export namespace staking_contract {
|
|
|
3698
3856
|
}
|
|
3699
3857
|
|
|
3700
3858
|
export class RequestCommissionEvent {
|
|
3859
|
+
static TYPE_NAME = "0x1::staking_contract::RequestCommissionEvent";
|
|
3701
3860
|
operator: Address;
|
|
3702
3861
|
pool_address: Address;
|
|
3703
3862
|
accumulated_rewards: bigint;
|
|
@@ -3711,6 +3870,7 @@ export namespace staking_contract {
|
|
|
3711
3870
|
}
|
|
3712
3871
|
|
|
3713
3872
|
export class ResetLockupEvent {
|
|
3873
|
+
static TYPE_NAME = "0x1::staking_contract::ResetLockupEvent";
|
|
3714
3874
|
operator: Address;
|
|
3715
3875
|
pool_address: Address;
|
|
3716
3876
|
}
|
|
@@ -3722,6 +3882,7 @@ export namespace staking_contract {
|
|
|
3722
3882
|
}
|
|
3723
3883
|
|
|
3724
3884
|
export class StakingContract {
|
|
3885
|
+
static TYPE_NAME = "0x1::staking_contract::StakingContract";
|
|
3725
3886
|
principal: bigint;
|
|
3726
3887
|
pool_address: Address;
|
|
3727
3888
|
owner_cap: stake.OwnerCapability;
|
|
@@ -3731,6 +3892,7 @@ export namespace staking_contract {
|
|
|
3731
3892
|
}
|
|
3732
3893
|
|
|
3733
3894
|
export class Store {
|
|
3895
|
+
static TYPE_NAME = "0x1::staking_contract::Store";
|
|
3734
3896
|
staking_contracts: simple_map.SimpleMap<
|
|
3735
3897
|
Address,
|
|
3736
3898
|
staking_contract.StakingContract
|
|
@@ -3747,6 +3909,7 @@ export namespace staking_contract {
|
|
|
3747
3909
|
}
|
|
3748
3910
|
|
|
3749
3911
|
export class SwitchOperatorEvent {
|
|
3912
|
+
static TYPE_NAME = "0x1::staking_contract::SwitchOperatorEvent";
|
|
3750
3913
|
old_operator: Address;
|
|
3751
3914
|
new_operator: Address;
|
|
3752
3915
|
pool_address: Address;
|
|
@@ -3759,6 +3922,7 @@ export namespace staking_contract {
|
|
|
3759
3922
|
}
|
|
3760
3923
|
|
|
3761
3924
|
export class UnlockStakeEvent {
|
|
3925
|
+
static TYPE_NAME = "0x1::staking_contract::UnlockStakeEvent";
|
|
3762
3926
|
operator: Address;
|
|
3763
3927
|
pool_address: Address;
|
|
3764
3928
|
amount: bigint;
|
|
@@ -3772,6 +3936,7 @@ export namespace staking_contract {
|
|
|
3772
3936
|
}
|
|
3773
3937
|
|
|
3774
3938
|
export class UpdateVoterEvent {
|
|
3939
|
+
static TYPE_NAME = "0x1::staking_contract::UpdateVoterEvent";
|
|
3775
3940
|
operator: Address;
|
|
3776
3941
|
pool_address: Address;
|
|
3777
3942
|
old_voter: Address;
|
|
@@ -3865,6 +4030,7 @@ export namespace system_addresses {
|
|
|
3865
4030
|
|
|
3866
4031
|
export namespace table_with_length {
|
|
3867
4032
|
export class TableWithLength<T0, T1> {
|
|
4033
|
+
static TYPE_NAME = "0x1::table_with_length::TableWithLength";
|
|
3868
4034
|
inner: table.Table<T0, T1>;
|
|
3869
4035
|
length: bigint;
|
|
3870
4036
|
}
|
|
@@ -3879,6 +4045,7 @@ export namespace table_with_length {
|
|
|
3879
4045
|
|
|
3880
4046
|
export namespace aggregator_factory {
|
|
3881
4047
|
export class AggregatorFactory {
|
|
4048
|
+
static TYPE_NAME = "0x1::aggregator_factory::AggregatorFactory";
|
|
3882
4049
|
phantom_table: table.Table<Address, bigint>;
|
|
3883
4050
|
}
|
|
3884
4051
|
|
|
@@ -3892,6 +4059,7 @@ export namespace aggregator_factory {
|
|
|
3892
4059
|
|
|
3893
4060
|
export namespace governance_proposal {
|
|
3894
4061
|
export class GovernanceProposal {
|
|
4062
|
+
static TYPE_NAME = "0x1::governance_proposal::GovernanceProposal";
|
|
3895
4063
|
dummy_field: Boolean;
|
|
3896
4064
|
}
|
|
3897
4065
|
|
|
@@ -3905,11 +4073,13 @@ export namespace governance_proposal {
|
|
|
3905
4073
|
|
|
3906
4074
|
export namespace optional_aggregator {
|
|
3907
4075
|
export class Integer {
|
|
4076
|
+
static TYPE_NAME = "0x1::optional_aggregator::Integer";
|
|
3908
4077
|
value: bigint;
|
|
3909
4078
|
limit: bigint;
|
|
3910
4079
|
}
|
|
3911
4080
|
|
|
3912
4081
|
export class OptionalAggregator {
|
|
4082
|
+
static TYPE_NAME = "0x1::optional_aggregator::OptionalAggregator";
|
|
3913
4083
|
aggregator: option.Option<aggregator.Aggregator>;
|
|
3914
4084
|
integer: option.Option<optional_aggregator.Integer>;
|
|
3915
4085
|
}
|
|
@@ -3933,6 +4103,7 @@ export namespace transaction_context {
|
|
|
3933
4103
|
|
|
3934
4104
|
export namespace transaction_validation {
|
|
3935
4105
|
export class TransactionValidation {
|
|
4106
|
+
static TYPE_NAME = "0x1::transaction_validation::TransactionValidation";
|
|
3936
4107
|
module_addr: Address;
|
|
3937
4108
|
module_name: string;
|
|
3938
4109
|
script_prologue_name: string;
|