@sentio/sdk 2.26.0 → 2.26.1-rc.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/builtin/0x1.d.ts +484 -29
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +642 -104
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +64 -9
- package/lib/aptos/builtin/0x3.d.ts.map +1 -1
- package/lib/aptos/builtin/0x3.js +78 -27
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/package.json +7 -7
- package/src/aptos/builtin/0x1.ts +1572 -164
- package/src/aptos/builtin/0x3.ts +227 -42
package/lib/aptos/builtin/0x1.js
CHANGED
@@ -5,7 +5,22 @@
|
|
5
5
|
import { TypeDescriptor, ANY_TYPE } from "@typemove/move";
|
6
6
|
import { defaultMoveCoder } from "@sentio/sdk/aptos";
|
7
7
|
import { AptosBaseProcessor, AptosNetwork, } from "@sentio/sdk/aptos";
|
8
|
-
export
|
8
|
+
export class acl extends AptosBaseProcessor {
|
9
|
+
constructor(options) {
|
10
|
+
super("acl", options);
|
11
|
+
}
|
12
|
+
static DEFAULT_OPTIONS = {
|
13
|
+
address: "0x1",
|
14
|
+
network: AptosNetwork.MAIN_NET,
|
15
|
+
};
|
16
|
+
static bind(options = {}) {
|
17
|
+
return new acl({ ...acl.DEFAULT_OPTIONS, ...options });
|
18
|
+
}
|
19
|
+
onEventACL(func, fetchConfig) {
|
20
|
+
this.onMoveEvent(func, { type: "acl::ACL" }, fetchConfig);
|
21
|
+
return this;
|
22
|
+
}
|
23
|
+
}
|
9
24
|
(function (acl) {
|
10
25
|
let ACL;
|
11
26
|
(function (ACL) {
|
@@ -17,7 +32,22 @@ export var acl;
|
|
17
32
|
ACL.type = type;
|
18
33
|
})(ACL = acl.ACL || (acl.ACL = {}));
|
19
34
|
})(acl || (acl = {}));
|
20
|
-
export
|
35
|
+
export class any_ extends AptosBaseProcessor {
|
36
|
+
constructor(options) {
|
37
|
+
super("any", options);
|
38
|
+
}
|
39
|
+
static DEFAULT_OPTIONS = {
|
40
|
+
address: "0x1",
|
41
|
+
network: AptosNetwork.MAIN_NET,
|
42
|
+
};
|
43
|
+
static bind(options = {}) {
|
44
|
+
return new any_({ ...any_.DEFAULT_OPTIONS, ...options });
|
45
|
+
}
|
46
|
+
onEventAny(func, fetchConfig) {
|
47
|
+
this.onMoveEvent(func, { type: "any::Any" }, fetchConfig);
|
48
|
+
return this;
|
49
|
+
}
|
50
|
+
}
|
21
51
|
(function (any_) {
|
22
52
|
let Any;
|
23
53
|
(function (Any) {
|
@@ -47,6 +77,26 @@ export class code extends AptosBaseProcessor {
|
|
47
77
|
}, fetchConfig);
|
48
78
|
return this;
|
49
79
|
}
|
80
|
+
onEventModuleMetadata(func, fetchConfig) {
|
81
|
+
this.onMoveEvent(func, { type: "code::ModuleMetadata" }, fetchConfig);
|
82
|
+
return this;
|
83
|
+
}
|
84
|
+
onEventPackageDep(func, fetchConfig) {
|
85
|
+
this.onMoveEvent(func, { type: "code::PackageDep" }, fetchConfig);
|
86
|
+
return this;
|
87
|
+
}
|
88
|
+
onEventPackageMetadata(func, fetchConfig) {
|
89
|
+
this.onMoveEvent(func, { type: "code::PackageMetadata" }, fetchConfig);
|
90
|
+
return this;
|
91
|
+
}
|
92
|
+
onEventPackageRegistry(func, fetchConfig) {
|
93
|
+
this.onMoveEvent(func, { type: "code::PackageRegistry" }, fetchConfig);
|
94
|
+
return this;
|
95
|
+
}
|
96
|
+
onEventUpgradePolicy(func, fetchConfig) {
|
97
|
+
this.onMoveEvent(func, { type: "code::UpgradePolicy" }, fetchConfig);
|
98
|
+
return this;
|
99
|
+
}
|
50
100
|
}
|
51
101
|
(function (code) {
|
52
102
|
let AllowedDep;
|
@@ -244,7 +294,26 @@ export class coin extends AptosBaseProcessor {
|
|
244
294
|
WithdrawEvent.type = type;
|
245
295
|
})(WithdrawEvent = coin.WithdrawEvent || (coin.WithdrawEvent = {}));
|
246
296
|
})(coin || (coin = {}));
|
247
|
-
export
|
297
|
+
export class guid extends AptosBaseProcessor {
|
298
|
+
constructor(options) {
|
299
|
+
super("guid", options);
|
300
|
+
}
|
301
|
+
static DEFAULT_OPTIONS = {
|
302
|
+
address: "0x1",
|
303
|
+
network: AptosNetwork.MAIN_NET,
|
304
|
+
};
|
305
|
+
static bind(options = {}) {
|
306
|
+
return new guid({ ...guid.DEFAULT_OPTIONS, ...options });
|
307
|
+
}
|
308
|
+
onEventGUID(func, fetchConfig) {
|
309
|
+
this.onMoveEvent(func, { type: "guid::GUID" }, fetchConfig);
|
310
|
+
return this;
|
311
|
+
}
|
312
|
+
onEventID(func, fetchConfig) {
|
313
|
+
this.onMoveEvent(func, { type: "guid::ID" }, fetchConfig);
|
314
|
+
return this;
|
315
|
+
}
|
316
|
+
}
|
248
317
|
(function (guid) {
|
249
318
|
let GUID;
|
250
319
|
(function (GUID) {
|
@@ -428,54 +497,66 @@ export class stake extends AptosBaseProcessor {
|
|
428
497
|
}, fetchConfig);
|
429
498
|
return this;
|
430
499
|
}
|
431
|
-
|
432
|
-
this.onMoveEvent(func, { type: "stake::
|
500
|
+
onEventAddStakeEvent(func, fetchConfig) {
|
501
|
+
this.onMoveEvent(func, { type: "stake::AddStakeEvent" }, fetchConfig);
|
433
502
|
return this;
|
434
503
|
}
|
435
|
-
|
436
|
-
this.onMoveEvent(func, { type: "stake::
|
504
|
+
onEventDistributeRewardsEvent(func, fetchConfig) {
|
505
|
+
this.onMoveEvent(func, { type: "stake::DistributeRewardsEvent" }, fetchConfig);
|
437
506
|
return this;
|
438
507
|
}
|
439
|
-
|
440
|
-
this.onMoveEvent(func, { type: "stake::
|
508
|
+
onEventIncreaseLockupEvent(func, fetchConfig) {
|
509
|
+
this.onMoveEvent(func, { type: "stake::IncreaseLockupEvent" }, fetchConfig);
|
510
|
+
return this;
|
511
|
+
}
|
512
|
+
onEventIndividualValidatorPerformance(func, fetchConfig) {
|
513
|
+
this.onMoveEvent(func, { type: "stake::IndividualValidatorPerformance" }, fetchConfig);
|
514
|
+
return this;
|
515
|
+
}
|
516
|
+
onEventJoinValidatorSetEvent(func, fetchConfig) {
|
517
|
+
this.onMoveEvent(func, { type: "stake::JoinValidatorSetEvent" }, fetchConfig);
|
518
|
+
return this;
|
519
|
+
}
|
520
|
+
onEventLeaveValidatorSetEvent(func, fetchConfig) {
|
521
|
+
this.onMoveEvent(func, { type: "stake::LeaveValidatorSetEvent" }, fetchConfig);
|
441
522
|
return this;
|
442
523
|
}
|
443
524
|
onEventReactivateStakeEvent(func, fetchConfig) {
|
444
525
|
this.onMoveEvent(func, { type: "stake::ReactivateStakeEvent" }, fetchConfig);
|
445
526
|
return this;
|
446
527
|
}
|
528
|
+
onEventRegisterValidatorCandidateEvent(func, fetchConfig) {
|
529
|
+
this.onMoveEvent(func, { type: "stake::RegisterValidatorCandidateEvent" }, fetchConfig);
|
530
|
+
return this;
|
531
|
+
}
|
447
532
|
onEventRotateConsensusKeyEvent(func, fetchConfig) {
|
448
533
|
this.onMoveEvent(func, { type: "stake::RotateConsensusKeyEvent" }, fetchConfig);
|
449
534
|
return this;
|
450
535
|
}
|
451
|
-
|
452
|
-
this.onMoveEvent(func, { type: "stake::
|
536
|
+
onEventSetOperatorEvent(func, fetchConfig) {
|
537
|
+
this.onMoveEvent(func, { type: "stake::SetOperatorEvent" }, fetchConfig);
|
453
538
|
return this;
|
454
539
|
}
|
455
|
-
|
456
|
-
this.onMoveEvent(func, { type: "stake::
|
540
|
+
onEventUnlockStakeEvent(func, fetchConfig) {
|
541
|
+
this.onMoveEvent(func, { type: "stake::UnlockStakeEvent" }, fetchConfig);
|
457
542
|
return this;
|
458
543
|
}
|
459
|
-
|
460
|
-
this.onMoveEvent(func, { type: "stake::
|
544
|
+
onEventUpdateNetworkAndFullnodeAddressesEvent(func, fetchConfig) {
|
545
|
+
this.onMoveEvent(func, { type: "stake::UpdateNetworkAndFullnodeAddressesEvent" }, fetchConfig);
|
461
546
|
return this;
|
462
547
|
}
|
463
|
-
|
464
|
-
this.onMoveEvent(func, { type: "stake::
|
548
|
+
onEventValidatorConfig(func, fetchConfig) {
|
549
|
+
this.onMoveEvent(func, { type: "stake::ValidatorConfig" }, fetchConfig);
|
465
550
|
return this;
|
466
551
|
}
|
467
|
-
|
468
|
-
this.onMoveEvent(func, { type: "stake::
|
552
|
+
onEventValidatorInfo(func, fetchConfig) {
|
553
|
+
this.onMoveEvent(func, { type: "stake::ValidatorInfo" }, fetchConfig);
|
469
554
|
return this;
|
470
555
|
}
|
471
556
|
onEventWithdrawStakeEvent(func, fetchConfig) {
|
472
557
|
this.onMoveEvent(func, { type: "stake::WithdrawStakeEvent" }, fetchConfig);
|
473
558
|
return this;
|
474
559
|
}
|
475
|
-
onEventLeaveValidatorSetEvent(func, fetchConfig) {
|
476
|
-
this.onMoveEvent(func, { type: "stake::LeaveValidatorSetEvent" }, fetchConfig);
|
477
|
-
return this;
|
478
|
-
}
|
479
560
|
}
|
480
561
|
(function (stake) {
|
481
562
|
let AddStakeEvent;
|
@@ -677,7 +758,22 @@ export class stake extends AptosBaseProcessor {
|
|
677
758
|
WithdrawStakeEvent.type = type;
|
678
759
|
})(WithdrawStakeEvent = stake.WithdrawStakeEvent || (stake.WithdrawStakeEvent = {}));
|
679
760
|
})(stake || (stake = {}));
|
680
|
-
export
|
761
|
+
export class table extends AptosBaseProcessor {
|
762
|
+
constructor(options) {
|
763
|
+
super("table", options);
|
764
|
+
}
|
765
|
+
static DEFAULT_OPTIONS = {
|
766
|
+
address: "0x1",
|
767
|
+
network: AptosNetwork.MAIN_NET,
|
768
|
+
};
|
769
|
+
static bind(options = {}) {
|
770
|
+
return new table({ ...table.DEFAULT_OPTIONS, ...options });
|
771
|
+
}
|
772
|
+
onEventBox(func, fetchConfig) {
|
773
|
+
this.onMoveEvent(func, { type: "table::Box" }, fetchConfig);
|
774
|
+
return this;
|
775
|
+
}
|
776
|
+
}
|
681
777
|
(function (table) {
|
682
778
|
let Box;
|
683
779
|
(function (Box) {
|
@@ -730,10 +826,30 @@ export class object_ extends AptosBaseProcessor {
|
|
730
826
|
}, fetchConfig);
|
731
827
|
return this;
|
732
828
|
}
|
829
|
+
onEventDeleteRef(func, fetchConfig) {
|
830
|
+
this.onMoveEvent(func, { type: "object::DeleteRef" }, fetchConfig);
|
831
|
+
return this;
|
832
|
+
}
|
833
|
+
onEventDeriveRef(func, fetchConfig) {
|
834
|
+
this.onMoveEvent(func, { type: "object::DeriveRef" }, fetchConfig);
|
835
|
+
return this;
|
836
|
+
}
|
837
|
+
onEventExtendRef(func, fetchConfig) {
|
838
|
+
this.onMoveEvent(func, { type: "object::ExtendRef" }, fetchConfig);
|
839
|
+
return this;
|
840
|
+
}
|
841
|
+
onEventObject(func, fetchConfig) {
|
842
|
+
this.onMoveEvent(func, { type: "object::Object" }, fetchConfig);
|
843
|
+
return this;
|
844
|
+
}
|
733
845
|
onEventTransferEvent(func, fetchConfig) {
|
734
846
|
this.onMoveEvent(func, { type: "object::TransferEvent" }, fetchConfig);
|
735
847
|
return this;
|
736
848
|
}
|
849
|
+
onEventTransferRef(func, fetchConfig) {
|
850
|
+
this.onMoveEvent(func, { type: "object::TransferRef" }, fetchConfig);
|
851
|
+
return this;
|
852
|
+
}
|
737
853
|
}
|
738
854
|
(function (object_) {
|
739
855
|
let ConstructorRef;
|
@@ -827,7 +943,22 @@ export class object_ extends AptosBaseProcessor {
|
|
827
943
|
TransferRef.type = type;
|
828
944
|
})(TransferRef = object_.TransferRef || (object_.TransferRef = {}));
|
829
945
|
})(object_ || (object_ = {}));
|
830
|
-
export
|
946
|
+
export class option extends AptosBaseProcessor {
|
947
|
+
constructor(options) {
|
948
|
+
super("option", options);
|
949
|
+
}
|
950
|
+
static DEFAULT_OPTIONS = {
|
951
|
+
address: "0x1",
|
952
|
+
network: AptosNetwork.MAIN_NET,
|
953
|
+
};
|
954
|
+
static bind(options = {}) {
|
955
|
+
return new option({ ...option.DEFAULT_OPTIONS, ...options });
|
956
|
+
}
|
957
|
+
onEventOption(func, fetchConfig) {
|
958
|
+
this.onMoveEvent(func, { type: "option::Option" }, fetchConfig);
|
959
|
+
return this;
|
960
|
+
}
|
961
|
+
}
|
831
962
|
(function (option) {
|
832
963
|
let Option;
|
833
964
|
(function (Option) {
|
@@ -839,7 +970,22 @@ export var option;
|
|
839
970
|
Option.type = type;
|
840
971
|
})(Option = option.Option || (option.Option = {}));
|
841
972
|
})(option || (option = {}));
|
842
|
-
export
|
973
|
+
export class string_ extends AptosBaseProcessor {
|
974
|
+
constructor(options) {
|
975
|
+
super("string", options);
|
976
|
+
}
|
977
|
+
static DEFAULT_OPTIONS = {
|
978
|
+
address: "0x1",
|
979
|
+
network: AptosNetwork.MAIN_NET,
|
980
|
+
};
|
981
|
+
static bind(options = {}) {
|
982
|
+
return new string_({ ...string_.DEFAULT_OPTIONS, ...options });
|
983
|
+
}
|
984
|
+
onEventString(func, fetchConfig) {
|
985
|
+
this.onMoveEvent(func, { type: "string::String" }, fetchConfig);
|
986
|
+
return this;
|
987
|
+
}
|
988
|
+
}
|
843
989
|
(function (string_) {
|
844
990
|
let String;
|
845
991
|
(function (String) {
|
@@ -1019,6 +1165,14 @@ export class account extends AptosBaseProcessor {
|
|
1019
1165
|
this.onMoveEvent(func, { type: "account::KeyRotationEvent" }, fetchConfig);
|
1020
1166
|
return this;
|
1021
1167
|
}
|
1168
|
+
onEventRotationCapability(func, fetchConfig) {
|
1169
|
+
this.onMoveEvent(func, { type: "account::RotationCapability" }, fetchConfig);
|
1170
|
+
return this;
|
1171
|
+
}
|
1172
|
+
onEventSignerCapability(func, fetchConfig) {
|
1173
|
+
this.onMoveEvent(func, { type: "account::SignerCapability" }, fetchConfig);
|
1174
|
+
return this;
|
1175
|
+
}
|
1022
1176
|
}
|
1023
1177
|
(function (account) {
|
1024
1178
|
let Account;
|
@@ -1130,7 +1284,30 @@ export class account extends AptosBaseProcessor {
|
|
1130
1284
|
SignerCapabilityOfferProofChallengeV2.type = type;
|
1131
1285
|
})(SignerCapabilityOfferProofChallengeV2 = account.SignerCapabilityOfferProofChallengeV2 || (account.SignerCapabilityOfferProofChallengeV2 = {}));
|
1132
1286
|
})(account || (account = {}));
|
1133
|
-
export
|
1287
|
+
export class ed25519 extends AptosBaseProcessor {
|
1288
|
+
constructor(options) {
|
1289
|
+
super("ed25519", options);
|
1290
|
+
}
|
1291
|
+
static DEFAULT_OPTIONS = {
|
1292
|
+
address: "0x1",
|
1293
|
+
network: AptosNetwork.MAIN_NET,
|
1294
|
+
};
|
1295
|
+
static bind(options = {}) {
|
1296
|
+
return new ed25519({ ...ed25519.DEFAULT_OPTIONS, ...options });
|
1297
|
+
}
|
1298
|
+
onEventSignature(func, fetchConfig) {
|
1299
|
+
this.onMoveEvent(func, { type: "ed25519::Signature" }, fetchConfig);
|
1300
|
+
return this;
|
1301
|
+
}
|
1302
|
+
onEventUnvalidatedPublicKey(func, fetchConfig) {
|
1303
|
+
this.onMoveEvent(func, { type: "ed25519::UnvalidatedPublicKey" }, fetchConfig);
|
1304
|
+
return this;
|
1305
|
+
}
|
1306
|
+
onEventValidatedPublicKey(func, fetchConfig) {
|
1307
|
+
this.onMoveEvent(func, { type: "ed25519::ValidatedPublicKey" }, fetchConfig);
|
1308
|
+
return this;
|
1309
|
+
}
|
1310
|
+
}
|
1134
1311
|
(function (ed25519) {
|
1135
1312
|
let Signature;
|
1136
1313
|
(function (Signature) {
|
@@ -1370,16 +1547,16 @@ export class vesting extends AptosBaseProcessor {
|
|
1370
1547
|
}, fetchConfig);
|
1371
1548
|
return this;
|
1372
1549
|
}
|
1373
|
-
|
1374
|
-
this.onMoveEvent(func, { type: "vesting::
|
1550
|
+
onEventAdminWithdrawEvent(func, fetchConfig) {
|
1551
|
+
this.onMoveEvent(func, { type: "vesting::AdminWithdrawEvent" }, fetchConfig);
|
1375
1552
|
return this;
|
1376
1553
|
}
|
1377
|
-
|
1378
|
-
this.onMoveEvent(func, { type: "vesting::
|
1554
|
+
onEventCreateVestingContractEvent(func, fetchConfig) {
|
1555
|
+
this.onMoveEvent(func, { type: "vesting::CreateVestingContractEvent" }, fetchConfig);
|
1379
1556
|
return this;
|
1380
1557
|
}
|
1381
|
-
|
1382
|
-
this.onMoveEvent(func, { type: "vesting::
|
1558
|
+
onEventDistributeEvent(func, fetchConfig) {
|
1559
|
+
this.onMoveEvent(func, { type: "vesting::DistributeEvent" }, fetchConfig);
|
1383
1560
|
return this;
|
1384
1561
|
}
|
1385
1562
|
onEventResetLockupEvent(func, fetchConfig) {
|
@@ -1390,24 +1567,28 @@ export class vesting extends AptosBaseProcessor {
|
|
1390
1567
|
this.onMoveEvent(func, { type: "vesting::SetBeneficiaryEvent" }, fetchConfig);
|
1391
1568
|
return this;
|
1392
1569
|
}
|
1570
|
+
onEventTerminateEvent(func, fetchConfig) {
|
1571
|
+
this.onMoveEvent(func, { type: "vesting::TerminateEvent" }, fetchConfig);
|
1572
|
+
return this;
|
1573
|
+
}
|
1393
1574
|
onEventUnlockRewardsEvent(func, fetchConfig) {
|
1394
1575
|
this.onMoveEvent(func, { type: "vesting::UnlockRewardsEvent" }, fetchConfig);
|
1395
1576
|
return this;
|
1396
1577
|
}
|
1397
|
-
|
1398
|
-
this.onMoveEvent(func, { type: "vesting::
|
1578
|
+
onEventUpdateOperatorEvent(func, fetchConfig) {
|
1579
|
+
this.onMoveEvent(func, { type: "vesting::UpdateOperatorEvent" }, fetchConfig);
|
1399
1580
|
return this;
|
1400
1581
|
}
|
1401
|
-
|
1402
|
-
this.onMoveEvent(func, { type: "vesting::
|
1582
|
+
onEventUpdateVoterEvent(func, fetchConfig) {
|
1583
|
+
this.onMoveEvent(func, { type: "vesting::UpdateVoterEvent" }, fetchConfig);
|
1403
1584
|
return this;
|
1404
1585
|
}
|
1405
|
-
|
1406
|
-
this.onMoveEvent(func, { type: "vesting::
|
1586
|
+
onEventVestEvent(func, fetchConfig) {
|
1587
|
+
this.onMoveEvent(func, { type: "vesting::VestEvent" }, fetchConfig);
|
1407
1588
|
return this;
|
1408
1589
|
}
|
1409
|
-
|
1410
|
-
this.onMoveEvent(func, { type: "vesting::
|
1590
|
+
onEventVestingSchedule(func, fetchConfig) {
|
1591
|
+
this.onMoveEvent(func, { type: "vesting::VestingSchedule" }, fetchConfig);
|
1411
1592
|
return this;
|
1412
1593
|
}
|
1413
1594
|
}
|
@@ -1548,7 +1729,42 @@ export class vesting extends AptosBaseProcessor {
|
|
1548
1729
|
VestingSchedule.type = type;
|
1549
1730
|
})(VestingSchedule = vesting.VestingSchedule || (vesting.VestingSchedule = {}));
|
1550
1731
|
})(vesting || (vesting = {}));
|
1551
|
-
export
|
1732
|
+
export class bls12381 extends AptosBaseProcessor {
|
1733
|
+
constructor(options) {
|
1734
|
+
super("bls12381", options);
|
1735
|
+
}
|
1736
|
+
static DEFAULT_OPTIONS = {
|
1737
|
+
address: "0x1",
|
1738
|
+
network: AptosNetwork.MAIN_NET,
|
1739
|
+
};
|
1740
|
+
static bind(options = {}) {
|
1741
|
+
return new bls12381({ ...bls12381.DEFAULT_OPTIONS, ...options });
|
1742
|
+
}
|
1743
|
+
onEventAggrOrMultiSignature(func, fetchConfig) {
|
1744
|
+
this.onMoveEvent(func, { type: "bls12381::AggrOrMultiSignature" }, fetchConfig);
|
1745
|
+
return this;
|
1746
|
+
}
|
1747
|
+
onEventAggrPublicKeysWithPoP(func, fetchConfig) {
|
1748
|
+
this.onMoveEvent(func, { type: "bls12381::AggrPublicKeysWithPoP" }, fetchConfig);
|
1749
|
+
return this;
|
1750
|
+
}
|
1751
|
+
onEventProofOfPossession(func, fetchConfig) {
|
1752
|
+
this.onMoveEvent(func, { type: "bls12381::ProofOfPossession" }, fetchConfig);
|
1753
|
+
return this;
|
1754
|
+
}
|
1755
|
+
onEventPublicKey(func, fetchConfig) {
|
1756
|
+
this.onMoveEvent(func, { type: "bls12381::PublicKey" }, fetchConfig);
|
1757
|
+
return this;
|
1758
|
+
}
|
1759
|
+
onEventPublicKeyWithPoP(func, fetchConfig) {
|
1760
|
+
this.onMoveEvent(func, { type: "bls12381::PublicKeyWithPoP" }, fetchConfig);
|
1761
|
+
return this;
|
1762
|
+
}
|
1763
|
+
onEventSignature(func, fetchConfig) {
|
1764
|
+
this.onMoveEvent(func, { type: "bls12381::Signature" }, fetchConfig);
|
1765
|
+
return this;
|
1766
|
+
}
|
1767
|
+
}
|
1552
1768
|
(function (bls12381) {
|
1553
1769
|
let AggrOrMultiSignature;
|
1554
1770
|
(function (AggrOrMultiSignature) {
|
@@ -1641,7 +1857,26 @@ export var pool_u64;
|
|
1641
1857
|
Pool.type = type;
|
1642
1858
|
})(Pool = pool_u64.Pool || (pool_u64.Pool = {}));
|
1643
1859
|
})(pool_u64 || (pool_u64 = {}));
|
1644
|
-
export
|
1860
|
+
export class secp256k1 extends AptosBaseProcessor {
|
1861
|
+
constructor(options) {
|
1862
|
+
super("secp256k1", options);
|
1863
|
+
}
|
1864
|
+
static DEFAULT_OPTIONS = {
|
1865
|
+
address: "0x1",
|
1866
|
+
network: AptosNetwork.MAIN_NET,
|
1867
|
+
};
|
1868
|
+
static bind(options = {}) {
|
1869
|
+
return new secp256k1({ ...secp256k1.DEFAULT_OPTIONS, ...options });
|
1870
|
+
}
|
1871
|
+
onEventECDSARawPublicKey(func, fetchConfig) {
|
1872
|
+
this.onMoveEvent(func, { type: "secp256k1::ECDSARawPublicKey" }, fetchConfig);
|
1873
|
+
return this;
|
1874
|
+
}
|
1875
|
+
onEventECDSASignature(func, fetchConfig) {
|
1876
|
+
this.onMoveEvent(func, { type: "secp256k1::ECDSASignature" }, fetchConfig);
|
1877
|
+
return this;
|
1878
|
+
}
|
1879
|
+
}
|
1645
1880
|
(function (secp256k1) {
|
1646
1881
|
let ECDSARawPublicKey;
|
1647
1882
|
(function (ECDSARawPublicKey) {
|
@@ -1674,7 +1909,22 @@ export var timestamp;
|
|
1674
1909
|
CurrentTimeMicroseconds.type = type;
|
1675
1910
|
})(CurrentTimeMicroseconds = timestamp.CurrentTimeMicroseconds || (timestamp.CurrentTimeMicroseconds = {}));
|
1676
1911
|
})(timestamp || (timestamp = {}));
|
1677
|
-
export
|
1912
|
+
export class type_info extends AptosBaseProcessor {
|
1913
|
+
constructor(options) {
|
1914
|
+
super("type_info", options);
|
1915
|
+
}
|
1916
|
+
static DEFAULT_OPTIONS = {
|
1917
|
+
address: "0x1",
|
1918
|
+
network: AptosNetwork.MAIN_NET,
|
1919
|
+
};
|
1920
|
+
static bind(options = {}) {
|
1921
|
+
return new type_info({ ...type_info.DEFAULT_OPTIONS, ...options });
|
1922
|
+
}
|
1923
|
+
onEventTypeInfo(func, fetchConfig) {
|
1924
|
+
this.onMoveEvent(func, { type: "type_info::TypeInfo" }, fetchConfig);
|
1925
|
+
return this;
|
1926
|
+
}
|
1927
|
+
}
|
1678
1928
|
(function (type_info) {
|
1679
1929
|
let TypeInfo;
|
1680
1930
|
(function (TypeInfo) {
|
@@ -1781,7 +2031,22 @@ export var big_vector;
|
|
1781
2031
|
BigVector.type = type;
|
1782
2032
|
})(BigVector = big_vector.BigVector || (big_vector.BigVector = {}));
|
1783
2033
|
})(big_vector || (big_vector = {}));
|
1784
|
-
export
|
2034
|
+
export class bit_vector extends AptosBaseProcessor {
|
2035
|
+
constructor(options) {
|
2036
|
+
super("bit_vector", options);
|
2037
|
+
}
|
2038
|
+
static DEFAULT_OPTIONS = {
|
2039
|
+
address: "0x1",
|
2040
|
+
network: AptosNetwork.MAIN_NET,
|
2041
|
+
};
|
2042
|
+
static bind(options = {}) {
|
2043
|
+
return new bit_vector({ ...bit_vector.DEFAULT_OPTIONS, ...options });
|
2044
|
+
}
|
2045
|
+
onEventBitVector(func, fetchConfig) {
|
2046
|
+
this.onMoveEvent(func, { type: "bit_vector::BitVector" }, fetchConfig);
|
2047
|
+
return this;
|
2048
|
+
}
|
2049
|
+
}
|
1785
2050
|
(function (bit_vector) {
|
1786
2051
|
let BitVector;
|
1787
2052
|
(function (BitVector) {
|
@@ -1844,7 +2109,26 @@ export var comparator;
|
|
1844
2109
|
Result.type = type;
|
1845
2110
|
})(Result = comparator.Result || (comparator.Result = {}));
|
1846
2111
|
})(comparator || (comparator = {}));
|
1847
|
-
export
|
2112
|
+
export class simple_map extends AptosBaseProcessor {
|
2113
|
+
constructor(options) {
|
2114
|
+
super("simple_map", options);
|
2115
|
+
}
|
2116
|
+
static DEFAULT_OPTIONS = {
|
2117
|
+
address: "0x1",
|
2118
|
+
network: AptosNetwork.MAIN_NET,
|
2119
|
+
};
|
2120
|
+
static bind(options = {}) {
|
2121
|
+
return new simple_map({ ...simple_map.DEFAULT_OPTIONS, ...options });
|
2122
|
+
}
|
2123
|
+
onEventElement(func, fetchConfig) {
|
2124
|
+
this.onMoveEvent(func, { type: "simple_map::Element" }, fetchConfig);
|
2125
|
+
return this;
|
2126
|
+
}
|
2127
|
+
onEventSimpleMap(func, fetchConfig) {
|
2128
|
+
this.onMoveEvent(func, { type: "simple_map::SimpleMap" }, fetchConfig);
|
2129
|
+
return this;
|
2130
|
+
}
|
2131
|
+
}
|
1848
2132
|
(function (simple_map) {
|
1849
2133
|
let Element;
|
1850
2134
|
(function (Element) {
|
@@ -1865,7 +2149,22 @@ export var simple_map;
|
|
1865
2149
|
SimpleMap.type = type;
|
1866
2150
|
})(SimpleMap = simple_map.SimpleMap || (simple_map.SimpleMap = {}));
|
1867
2151
|
})(simple_map || (simple_map = {}));
|
1868
|
-
export
|
2152
|
+
export class smart_table extends AptosBaseProcessor {
|
2153
|
+
constructor(options) {
|
2154
|
+
super("smart_table", options);
|
2155
|
+
}
|
2156
|
+
static DEFAULT_OPTIONS = {
|
2157
|
+
address: "0x1",
|
2158
|
+
network: AptosNetwork.MAIN_NET,
|
2159
|
+
};
|
2160
|
+
static bind(options = {}) {
|
2161
|
+
return new smart_table({ ...smart_table.DEFAULT_OPTIONS, ...options });
|
2162
|
+
}
|
2163
|
+
onEventEntry(func, fetchConfig) {
|
2164
|
+
this.onMoveEvent(func, { type: "smart_table::Entry" }, fetchConfig);
|
2165
|
+
return this;
|
2166
|
+
}
|
2167
|
+
}
|
1869
2168
|
(function (smart_table) {
|
1870
2169
|
let Entry;
|
1871
2170
|
(function (Entry) {
|
@@ -1886,7 +2185,30 @@ export var smart_table;
|
|
1886
2185
|
SmartTable.type = type;
|
1887
2186
|
})(SmartTable = smart_table.SmartTable || (smart_table.SmartTable = {}));
|
1888
2187
|
})(smart_table || (smart_table = {}));
|
1889
|
-
export
|
2188
|
+
export class storage_gas extends AptosBaseProcessor {
|
2189
|
+
constructor(options) {
|
2190
|
+
super("storage_gas", options);
|
2191
|
+
}
|
2192
|
+
static DEFAULT_OPTIONS = {
|
2193
|
+
address: "0x1",
|
2194
|
+
network: AptosNetwork.MAIN_NET,
|
2195
|
+
};
|
2196
|
+
static bind(options = {}) {
|
2197
|
+
return new storage_gas({ ...storage_gas.DEFAULT_OPTIONS, ...options });
|
2198
|
+
}
|
2199
|
+
onEventGasCurve(func, fetchConfig) {
|
2200
|
+
this.onMoveEvent(func, { type: "storage_gas::GasCurve" }, fetchConfig);
|
2201
|
+
return this;
|
2202
|
+
}
|
2203
|
+
onEventPoint(func, fetchConfig) {
|
2204
|
+
this.onMoveEvent(func, { type: "storage_gas::Point" }, fetchConfig);
|
2205
|
+
return this;
|
2206
|
+
}
|
2207
|
+
onEventUsageGasConfig(func, fetchConfig) {
|
2208
|
+
this.onMoveEvent(func, { type: "storage_gas::UsageGasConfig" }, fetchConfig);
|
2209
|
+
return this;
|
2210
|
+
}
|
2211
|
+
}
|
1890
2212
|
(function (storage_gas) {
|
1891
2213
|
let GasCurve;
|
1892
2214
|
(function (GasCurve) {
|
@@ -1946,7 +2268,22 @@ export var chain_status;
|
|
1946
2268
|
GenesisEndMarker.type = type;
|
1947
2269
|
})(GenesisEndMarker = chain_status.GenesisEndMarker || (chain_status.GenesisEndMarker = {}));
|
1948
2270
|
})(chain_status || (chain_status = {}));
|
1949
|
-
export
|
2271
|
+
export class copyable_any extends AptosBaseProcessor {
|
2272
|
+
constructor(options) {
|
2273
|
+
super("copyable_any", options);
|
2274
|
+
}
|
2275
|
+
static DEFAULT_OPTIONS = {
|
2276
|
+
address: "0x1",
|
2277
|
+
network: AptosNetwork.MAIN_NET,
|
2278
|
+
};
|
2279
|
+
static bind(options = {}) {
|
2280
|
+
return new copyable_any({ ...copyable_any.DEFAULT_OPTIONS, ...options });
|
2281
|
+
}
|
2282
|
+
onEventAny(func, fetchConfig) {
|
2283
|
+
this.onMoveEvent(func, { type: "copyable_any::Any" }, fetchConfig);
|
2284
|
+
return this;
|
2285
|
+
}
|
2286
|
+
}
|
1950
2287
|
(function (copyable_any) {
|
1951
2288
|
let Any;
|
1952
2289
|
(function (Any) {
|
@@ -1958,7 +2295,22 @@ export var copyable_any;
|
|
1958
2295
|
Any.type = type;
|
1959
2296
|
})(Any = copyable_any.Any || (copyable_any.Any = {}));
|
1960
2297
|
})(copyable_any || (copyable_any = {}));
|
1961
|
-
export
|
2298
|
+
export class gas_schedule extends AptosBaseProcessor {
|
2299
|
+
constructor(options) {
|
2300
|
+
super("gas_schedule", options);
|
2301
|
+
}
|
2302
|
+
static DEFAULT_OPTIONS = {
|
2303
|
+
address: "0x1",
|
2304
|
+
network: AptosNetwork.MAIN_NET,
|
2305
|
+
};
|
2306
|
+
static bind(options = {}) {
|
2307
|
+
return new gas_schedule({ ...gas_schedule.DEFAULT_OPTIONS, ...options });
|
2308
|
+
}
|
2309
|
+
onEventGasEntry(func, fetchConfig) {
|
2310
|
+
this.onMoveEvent(func, { type: "gas_schedule::GasEntry" }, fetchConfig);
|
2311
|
+
return this;
|
2312
|
+
}
|
2313
|
+
}
|
1962
2314
|
(function (gas_schedule) {
|
1963
2315
|
let GasEntry;
|
1964
2316
|
(function (GasEntry) {
|
@@ -2039,7 +2391,26 @@ export class managed_coin extends AptosBaseProcessor {
|
|
2039
2391
|
Capabilities.type = type;
|
2040
2392
|
})(Capabilities = managed_coin.Capabilities || (managed_coin.Capabilities = {}));
|
2041
2393
|
})(managed_coin || (managed_coin = {}));
|
2042
|
-
export
|
2394
|
+
export class ristretto255 extends AptosBaseProcessor {
|
2395
|
+
constructor(options) {
|
2396
|
+
super("ristretto255", options);
|
2397
|
+
}
|
2398
|
+
static DEFAULT_OPTIONS = {
|
2399
|
+
address: "0x1",
|
2400
|
+
network: AptosNetwork.MAIN_NET,
|
2401
|
+
};
|
2402
|
+
static bind(options = {}) {
|
2403
|
+
return new ristretto255({ ...ristretto255.DEFAULT_OPTIONS, ...options });
|
2404
|
+
}
|
2405
|
+
onEventCompressedRistretto(func, fetchConfig) {
|
2406
|
+
this.onMoveEvent(func, { type: "ristretto255::CompressedRistretto" }, fetchConfig);
|
2407
|
+
return this;
|
2408
|
+
}
|
2409
|
+
onEventScalar(func, fetchConfig) {
|
2410
|
+
this.onMoveEvent(func, { type: "ristretto255::Scalar" }, fetchConfig);
|
2411
|
+
return this;
|
2412
|
+
}
|
2413
|
+
}
|
2043
2414
|
(function (ristretto255) {
|
2044
2415
|
let CompressedRistretto;
|
2045
2416
|
(function (CompressedRistretto) {
|
@@ -2081,7 +2452,30 @@ export var smart_vector;
|
|
2081
2452
|
SmartVector.type = type;
|
2082
2453
|
})(SmartVector = smart_vector.SmartVector || (smart_vector.SmartVector = {}));
|
2083
2454
|
})(smart_vector || (smart_vector = {}));
|
2084
|
-
export
|
2455
|
+
export class string_utils extends AptosBaseProcessor {
|
2456
|
+
constructor(options) {
|
2457
|
+
super("string_utils", options);
|
2458
|
+
}
|
2459
|
+
static DEFAULT_OPTIONS = {
|
2460
|
+
address: "0x1",
|
2461
|
+
network: AptosNetwork.MAIN_NET,
|
2462
|
+
};
|
2463
|
+
static bind(options = {}) {
|
2464
|
+
return new string_utils({ ...string_utils.DEFAULT_OPTIONS, ...options });
|
2465
|
+
}
|
2466
|
+
onEventCons(func, fetchConfig) {
|
2467
|
+
this.onMoveEvent(func, { type: "string_utils::Cons" }, fetchConfig);
|
2468
|
+
return this;
|
2469
|
+
}
|
2470
|
+
onEventFakeCons(func, fetchConfig) {
|
2471
|
+
this.onMoveEvent(func, { type: "string_utils::FakeCons" }, fetchConfig);
|
2472
|
+
return this;
|
2473
|
+
}
|
2474
|
+
onEventNIL(func, fetchConfig) {
|
2475
|
+
this.onMoveEvent(func, { type: "string_utils::NIL" }, fetchConfig);
|
2476
|
+
return this;
|
2477
|
+
}
|
2478
|
+
}
|
2085
2479
|
(function (string_utils) {
|
2086
2480
|
let Cons;
|
2087
2481
|
(function (Cons) {
|
@@ -2189,7 +2583,22 @@ export class aptos_account extends AptosBaseProcessor {
|
|
2189
2583
|
DirectTransferConfig.type = type;
|
2190
2584
|
})(DirectTransferConfig = aptos_account.DirectTransferConfig || (aptos_account.DirectTransferConfig = {}));
|
2191
2585
|
})(aptos_account || (aptos_account = {}));
|
2192
|
-
export
|
2586
|
+
export class fixed_point32 extends AptosBaseProcessor {
|
2587
|
+
constructor(options) {
|
2588
|
+
super("fixed_point32", options);
|
2589
|
+
}
|
2590
|
+
static DEFAULT_OPTIONS = {
|
2591
|
+
address: "0x1",
|
2592
|
+
network: AptosNetwork.MAIN_NET,
|
2593
|
+
};
|
2594
|
+
static bind(options = {}) {
|
2595
|
+
return new fixed_point32({ ...fixed_point32.DEFAULT_OPTIONS, ...options });
|
2596
|
+
}
|
2597
|
+
onEventFixedPoint32(func, fetchConfig) {
|
2598
|
+
this.onMoveEvent(func, { type: "fixed_point32::FixedPoint32" }, fetchConfig);
|
2599
|
+
return this;
|
2600
|
+
}
|
2601
|
+
}
|
2193
2602
|
(function (fixed_point32) {
|
2194
2603
|
let FixedPoint32;
|
2195
2604
|
(function (FixedPoint32) {
|
@@ -2201,7 +2610,22 @@ export var fixed_point32;
|
|
2201
2610
|
FixedPoint32.type = type;
|
2202
2611
|
})(FixedPoint32 = fixed_point32.FixedPoint32 || (fixed_point32.FixedPoint32 = {}));
|
2203
2612
|
})(fixed_point32 || (fixed_point32 = {}));
|
2204
|
-
export
|
2613
|
+
export class fixed_point64 extends AptosBaseProcessor {
|
2614
|
+
constructor(options) {
|
2615
|
+
super("fixed_point64", options);
|
2616
|
+
}
|
2617
|
+
static DEFAULT_OPTIONS = {
|
2618
|
+
address: "0x1",
|
2619
|
+
network: AptosNetwork.MAIN_NET,
|
2620
|
+
};
|
2621
|
+
static bind(options = {}) {
|
2622
|
+
return new fixed_point64({ ...fixed_point64.DEFAULT_OPTIONS, ...options });
|
2623
|
+
}
|
2624
|
+
onEventFixedPoint64(func, fetchConfig) {
|
2625
|
+
this.onMoveEvent(func, { type: "fixed_point64::FixedPoint64" }, fetchConfig);
|
2626
|
+
return this;
|
2627
|
+
}
|
2628
|
+
}
|
2205
2629
|
(function (fixed_point64) {
|
2206
2630
|
let FixedPoint64;
|
2207
2631
|
(function (FixedPoint64) {
|
@@ -2213,7 +2637,30 @@ export var fixed_point64;
|
|
2213
2637
|
FixedPoint64.type = type;
|
2214
2638
|
})(FixedPoint64 = fixed_point64.FixedPoint64 || (fixed_point64.FixedPoint64 = {}));
|
2215
2639
|
})(fixed_point64 || (fixed_point64 = {}));
|
2216
|
-
export
|
2640
|
+
export class multi_ed25519 extends AptosBaseProcessor {
|
2641
|
+
constructor(options) {
|
2642
|
+
super("multi_ed25519", options);
|
2643
|
+
}
|
2644
|
+
static DEFAULT_OPTIONS = {
|
2645
|
+
address: "0x1",
|
2646
|
+
network: AptosNetwork.MAIN_NET,
|
2647
|
+
};
|
2648
|
+
static bind(options = {}) {
|
2649
|
+
return new multi_ed25519({ ...multi_ed25519.DEFAULT_OPTIONS, ...options });
|
2650
|
+
}
|
2651
|
+
onEventSignature(func, fetchConfig) {
|
2652
|
+
this.onMoveEvent(func, { type: "multi_ed25519::Signature" }, fetchConfig);
|
2653
|
+
return this;
|
2654
|
+
}
|
2655
|
+
onEventUnvalidatedPublicKey(func, fetchConfig) {
|
2656
|
+
this.onMoveEvent(func, { type: "multi_ed25519::UnvalidatedPublicKey" }, fetchConfig);
|
2657
|
+
return this;
|
2658
|
+
}
|
2659
|
+
onEventValidatedPublicKey(func, fetchConfig) {
|
2660
|
+
this.onMoveEvent(func, { type: "multi_ed25519::ValidatedPublicKey" }, fetchConfig);
|
2661
|
+
return this;
|
2662
|
+
}
|
2663
|
+
}
|
2217
2664
|
(function (multi_ed25519) {
|
2218
2665
|
let Signature;
|
2219
2666
|
(function (Signature) {
|
@@ -2311,7 +2758,22 @@ export class staking_proxy extends AptosBaseProcessor {
|
|
2311
2758
|
return this;
|
2312
2759
|
}
|
2313
2760
|
}
|
2314
|
-
export
|
2761
|
+
export class state_storage extends AptosBaseProcessor {
|
2762
|
+
constructor(options) {
|
2763
|
+
super("state_storage", options);
|
2764
|
+
}
|
2765
|
+
static DEFAULT_OPTIONS = {
|
2766
|
+
address: "0x1",
|
2767
|
+
network: AptosNetwork.MAIN_NET,
|
2768
|
+
};
|
2769
|
+
static bind(options = {}) {
|
2770
|
+
return new state_storage({ ...state_storage.DEFAULT_OPTIONS, ...options });
|
2771
|
+
}
|
2772
|
+
onEventUsage(func, fetchConfig) {
|
2773
|
+
this.onMoveEvent(func, { type: "state_storage::Usage" }, fetchConfig);
|
2774
|
+
return this;
|
2775
|
+
}
|
2776
|
+
}
|
2315
2777
|
(function (state_storage) {
|
2316
2778
|
let GasParameter;
|
2317
2779
|
(function (GasParameter) {
|
@@ -2374,18 +2836,30 @@ export class fungible_asset extends AptosBaseProcessor {
|
|
2374
2836
|
}, fetchConfig);
|
2375
2837
|
return this;
|
2376
2838
|
}
|
2377
|
-
|
2378
|
-
this.onMoveEvent(func, { type: "fungible_asset::
|
2839
|
+
onEventBurnRef(func, fetchConfig) {
|
2840
|
+
this.onMoveEvent(func, { type: "fungible_asset::BurnRef" }, fetchConfig);
|
2379
2841
|
return this;
|
2380
2842
|
}
|
2381
|
-
|
2382
|
-
this.onMoveEvent(func, { type: "fungible_asset::
|
2843
|
+
onEventDepositEvent(func, fetchConfig) {
|
2844
|
+
this.onMoveEvent(func, { type: "fungible_asset::DepositEvent" }, fetchConfig);
|
2383
2845
|
return this;
|
2384
2846
|
}
|
2385
2847
|
onEventFrozenEvent(func, fetchConfig) {
|
2386
2848
|
this.onMoveEvent(func, { type: "fungible_asset::FrozenEvent" }, fetchConfig);
|
2387
2849
|
return this;
|
2388
2850
|
}
|
2851
|
+
onEventMintRef(func, fetchConfig) {
|
2852
|
+
this.onMoveEvent(func, { type: "fungible_asset::MintRef" }, fetchConfig);
|
2853
|
+
return this;
|
2854
|
+
}
|
2855
|
+
onEventTransferRef(func, fetchConfig) {
|
2856
|
+
this.onMoveEvent(func, { type: "fungible_asset::TransferRef" }, fetchConfig);
|
2857
|
+
return this;
|
2858
|
+
}
|
2859
|
+
onEventWithdrawEvent(func, fetchConfig) {
|
2860
|
+
this.onMoveEvent(func, { type: "fungible_asset::WithdrawEvent" }, fetchConfig);
|
2861
|
+
return this;
|
2862
|
+
}
|
2389
2863
|
}
|
2390
2864
|
(function (fungible_asset) {
|
2391
2865
|
let BurnRef;
|
@@ -2611,32 +3085,48 @@ export class delegation_pool extends AptosBaseProcessor {
|
|
2611
3085
|
this.onMoveEvent(func, { type: "delegation_pool::AddStakeEvent" }, fetchConfig);
|
2612
3086
|
return this;
|
2613
3087
|
}
|
2614
|
-
|
2615
|
-
this.onMoveEvent(func, { type: "delegation_pool::
|
3088
|
+
onEventCreateProposalEvent(func, fetchConfig) {
|
3089
|
+
this.onMoveEvent(func, { type: "delegation_pool::CreateProposalEvent" }, fetchConfig);
|
2616
3090
|
return this;
|
2617
3091
|
}
|
2618
|
-
|
2619
|
-
this.onMoveEvent(func, { type: "delegation_pool::
|
3092
|
+
onEventDelegateVotingPowerEvent(func, fetchConfig) {
|
3093
|
+
this.onMoveEvent(func, { type: "delegation_pool::DelegateVotingPowerEvent" }, fetchConfig);
|
2620
3094
|
return this;
|
2621
3095
|
}
|
2622
|
-
|
2623
|
-
this.onMoveEvent(func, { type: "delegation_pool::
|
3096
|
+
onEventDelegatedVotes(func, fetchConfig) {
|
3097
|
+
this.onMoveEvent(func, { type: "delegation_pool::DelegatedVotes" }, fetchConfig);
|
2624
3098
|
return this;
|
2625
3099
|
}
|
2626
3100
|
onEventDistributeCommissionEvent(func, fetchConfig) {
|
2627
3101
|
this.onMoveEvent(func, { type: "delegation_pool::DistributeCommissionEvent" }, fetchConfig);
|
2628
3102
|
return this;
|
2629
3103
|
}
|
3104
|
+
onEventObservedLockupCycle(func, fetchConfig) {
|
3105
|
+
this.onMoveEvent(func, { type: "delegation_pool::ObservedLockupCycle" }, fetchConfig);
|
3106
|
+
return this;
|
3107
|
+
}
|
3108
|
+
onEventReactivateStakeEvent(func, fetchConfig) {
|
3109
|
+
this.onMoveEvent(func, { type: "delegation_pool::ReactivateStakeEvent" }, fetchConfig);
|
3110
|
+
return this;
|
3111
|
+
}
|
3112
|
+
onEventUnlockStakeEvent(func, fetchConfig) {
|
3113
|
+
this.onMoveEvent(func, { type: "delegation_pool::UnlockStakeEvent" }, fetchConfig);
|
3114
|
+
return this;
|
3115
|
+
}
|
3116
|
+
onEventVoteDelegation(func, fetchConfig) {
|
3117
|
+
this.onMoveEvent(func, { type: "delegation_pool::VoteDelegation" }, fetchConfig);
|
3118
|
+
return this;
|
3119
|
+
}
|
2630
3120
|
onEventVoteEvent(func, fetchConfig) {
|
2631
3121
|
this.onMoveEvent(func, { type: "delegation_pool::VoteEvent" }, fetchConfig);
|
2632
3122
|
return this;
|
2633
3123
|
}
|
2634
|
-
|
2635
|
-
this.onMoveEvent(func, { type: "delegation_pool::
|
3124
|
+
onEventVotingRecordKey(func, fetchConfig) {
|
3125
|
+
this.onMoveEvent(func, { type: "delegation_pool::VotingRecordKey" }, fetchConfig);
|
2636
3126
|
return this;
|
2637
3127
|
}
|
2638
|
-
|
2639
|
-
this.onMoveEvent(func, { type: "delegation_pool::
|
3128
|
+
onEventWithdrawStakeEvent(func, fetchConfig) {
|
3129
|
+
this.onMoveEvent(func, { type: "delegation_pool::WithdrawStakeEvent" }, fetchConfig);
|
2640
3130
|
return this;
|
2641
3131
|
}
|
2642
3132
|
}
|
@@ -2899,6 +3389,10 @@ export class aptos_governance extends AptosBaseProcessor {
|
|
2899
3389
|
this.onMoveEvent(func, { type: "aptos_governance::CreateProposalEvent" }, fetchConfig);
|
2900
3390
|
return this;
|
2901
3391
|
}
|
3392
|
+
onEventRecordKey(func, fetchConfig) {
|
3393
|
+
this.onMoveEvent(func, { type: "aptos_governance::RecordKey" }, fetchConfig);
|
3394
|
+
return this;
|
3395
|
+
}
|
2902
3396
|
onEventUpdateConfigEvent(func, fetchConfig) {
|
2903
3397
|
this.onMoveEvent(func, { type: "aptos_governance::UpdateConfigEvent" }, fetchConfig);
|
2904
3398
|
return this;
|
@@ -3327,36 +3821,44 @@ export class multisig_account extends AptosBaseProcessor {
|
|
3327
3821
|
this.onMoveEvent(func, { type: "multisig_account::AddOwnersEvent" }, fetchConfig);
|
3328
3822
|
return this;
|
3329
3823
|
}
|
3330
|
-
|
3331
|
-
this.onMoveEvent(func, { type: "multisig_account::
|
3824
|
+
onEventCreateTransactionEvent(func, fetchConfig) {
|
3825
|
+
this.onMoveEvent(func, { type: "multisig_account::CreateTransactionEvent" }, fetchConfig);
|
3332
3826
|
return this;
|
3333
3827
|
}
|
3334
|
-
|
3335
|
-
this.onMoveEvent(func, { type: "multisig_account::
|
3828
|
+
onEventExecuteRejectedTransactionEvent(func, fetchConfig) {
|
3829
|
+
this.onMoveEvent(func, { type: "multisig_account::ExecuteRejectedTransactionEvent" }, fetchConfig);
|
3336
3830
|
return this;
|
3337
3831
|
}
|
3338
|
-
|
3339
|
-
this.onMoveEvent(func, { type: "multisig_account::
|
3832
|
+
onEventExecutionError(func, fetchConfig) {
|
3833
|
+
this.onMoveEvent(func, { type: "multisig_account::ExecutionError" }, fetchConfig);
|
3340
3834
|
return this;
|
3341
3835
|
}
|
3342
|
-
|
3343
|
-
this.onMoveEvent(func, { type: "multisig_account::
|
3836
|
+
onEventMetadataUpdatedEvent(func, fetchConfig) {
|
3837
|
+
this.onMoveEvent(func, { type: "multisig_account::MetadataUpdatedEvent" }, fetchConfig);
|
3344
3838
|
return this;
|
3345
3839
|
}
|
3346
|
-
|
3347
|
-
this.onMoveEvent(func, { type: "multisig_account::
|
3840
|
+
onEventMultisigTransaction(func, fetchConfig) {
|
3841
|
+
this.onMoveEvent(func, { type: "multisig_account::MultisigTransaction" }, fetchConfig);
|
3348
3842
|
return this;
|
3349
3843
|
}
|
3350
|
-
|
3351
|
-
this.onMoveEvent(func, { type: "multisig_account::
|
3844
|
+
onEventRemoveOwnersEvent(func, fetchConfig) {
|
3845
|
+
this.onMoveEvent(func, { type: "multisig_account::RemoveOwnersEvent" }, fetchConfig);
|
3352
3846
|
return this;
|
3353
3847
|
}
|
3354
3848
|
onEventTransactionExecutionFailedEvent(func, fetchConfig) {
|
3355
3849
|
this.onMoveEvent(func, { type: "multisig_account::TransactionExecutionFailedEvent" }, fetchConfig);
|
3356
3850
|
return this;
|
3357
3851
|
}
|
3358
|
-
|
3359
|
-
this.onMoveEvent(func, { type: "multisig_account::
|
3852
|
+
onEventTransactionExecutionSucceededEvent(func, fetchConfig) {
|
3853
|
+
this.onMoveEvent(func, { type: "multisig_account::TransactionExecutionSucceededEvent" }, fetchConfig);
|
3854
|
+
return this;
|
3855
|
+
}
|
3856
|
+
onEventUpdateSignaturesRequiredEvent(func, fetchConfig) {
|
3857
|
+
this.onMoveEvent(func, { type: "multisig_account::UpdateSignaturesRequiredEvent" }, fetchConfig);
|
3858
|
+
return this;
|
3859
|
+
}
|
3860
|
+
onEventVoteEvent(func, fetchConfig) {
|
3861
|
+
this.onMoveEvent(func, { type: "multisig_account::VoteEvent" }, fetchConfig);
|
3360
3862
|
return this;
|
3361
3863
|
}
|
3362
3864
|
}
|
@@ -3638,44 +4140,44 @@ export class staking_contract extends AptosBaseProcessor {
|
|
3638
4140
|
}, fetchConfig);
|
3639
4141
|
return this;
|
3640
4142
|
}
|
3641
|
-
|
3642
|
-
this.onMoveEvent(func, { type: "staking_contract::
|
3643
|
-
return this;
|
3644
|
-
}
|
3645
|
-
onEventCreateStakingContractEvent(func, fetchConfig) {
|
3646
|
-
this.onMoveEvent(func, { type: "staking_contract::CreateStakingContractEvent" }, fetchConfig);
|
4143
|
+
onEventAddDistributionEvent(func, fetchConfig) {
|
4144
|
+
this.onMoveEvent(func, { type: "staking_contract::AddDistributionEvent" }, fetchConfig);
|
3647
4145
|
return this;
|
3648
4146
|
}
|
3649
|
-
|
3650
|
-
this.onMoveEvent(func, { type: "staking_contract::
|
4147
|
+
onEventAddStakeEvent(func, fetchConfig) {
|
4148
|
+
this.onMoveEvent(func, { type: "staking_contract::AddStakeEvent" }, fetchConfig);
|
3651
4149
|
return this;
|
3652
4150
|
}
|
3653
|
-
|
3654
|
-
this.onMoveEvent(func, { type: "staking_contract::
|
4151
|
+
onEventCreateStakingContractEvent(func, fetchConfig) {
|
4152
|
+
this.onMoveEvent(func, { type: "staking_contract::CreateStakingContractEvent" }, fetchConfig);
|
3655
4153
|
return this;
|
3656
4154
|
}
|
3657
|
-
|
3658
|
-
this.onMoveEvent(func, { type: "staking_contract::
|
4155
|
+
onEventDistributeEvent(func, fetchConfig) {
|
4156
|
+
this.onMoveEvent(func, { type: "staking_contract::DistributeEvent" }, fetchConfig);
|
3659
4157
|
return this;
|
3660
4158
|
}
|
3661
4159
|
onEventRequestCommissionEvent(func, fetchConfig) {
|
3662
4160
|
this.onMoveEvent(func, { type: "staking_contract::RequestCommissionEvent" }, fetchConfig);
|
3663
4161
|
return this;
|
3664
4162
|
}
|
3665
|
-
|
3666
|
-
this.onMoveEvent(func, { type: "staking_contract::
|
4163
|
+
onEventResetLockupEvent(func, fetchConfig) {
|
4164
|
+
this.onMoveEvent(func, { type: "staking_contract::ResetLockupEvent" }, fetchConfig);
|
3667
4165
|
return this;
|
3668
4166
|
}
|
3669
4167
|
onEventSwitchOperatorEvent(func, fetchConfig) {
|
3670
4168
|
this.onMoveEvent(func, { type: "staking_contract::SwitchOperatorEvent" }, fetchConfig);
|
3671
4169
|
return this;
|
3672
4170
|
}
|
3673
|
-
|
3674
|
-
this.onMoveEvent(func, { type: "staking_contract::
|
4171
|
+
onEventUnlockStakeEvent(func, fetchConfig) {
|
4172
|
+
this.onMoveEvent(func, { type: "staking_contract::UnlockStakeEvent" }, fetchConfig);
|
3675
4173
|
return this;
|
3676
4174
|
}
|
3677
|
-
|
3678
|
-
this.onMoveEvent(func, { type: "staking_contract::
|
4175
|
+
onEventUpdateCommissionEvent(func, fetchConfig) {
|
4176
|
+
this.onMoveEvent(func, { type: "staking_contract::UpdateCommissionEvent" }, fetchConfig);
|
4177
|
+
return this;
|
4178
|
+
}
|
4179
|
+
onEventUpdateVoterEvent(func, fetchConfig) {
|
4180
|
+
this.onMoveEvent(func, { type: "staking_contract::UpdateVoterEvent" }, fetchConfig);
|
3679
4181
|
return this;
|
3680
4182
|
}
|
3681
4183
|
}
|
@@ -3831,7 +4333,25 @@ export var aggregator_factory;
|
|
3831
4333
|
AggregatorFactory.type = type;
|
3832
4334
|
})(AggregatorFactory = aggregator_factory.AggregatorFactory || (aggregator_factory.AggregatorFactory = {}));
|
3833
4335
|
})(aggregator_factory || (aggregator_factory = {}));
|
3834
|
-
export
|
4336
|
+
export class governance_proposal extends AptosBaseProcessor {
|
4337
|
+
constructor(options) {
|
4338
|
+
super("governance_proposal", options);
|
4339
|
+
}
|
4340
|
+
static DEFAULT_OPTIONS = {
|
4341
|
+
address: "0x1",
|
4342
|
+
network: AptosNetwork.MAIN_NET,
|
4343
|
+
};
|
4344
|
+
static bind(options = {}) {
|
4345
|
+
return new governance_proposal({
|
4346
|
+
...governance_proposal.DEFAULT_OPTIONS,
|
4347
|
+
...options,
|
4348
|
+
});
|
4349
|
+
}
|
4350
|
+
onEventGovernanceProposal(func, fetchConfig) {
|
4351
|
+
this.onMoveEvent(func, { type: "governance_proposal::GovernanceProposal" }, fetchConfig);
|
4352
|
+
return this;
|
4353
|
+
}
|
4354
|
+
}
|
3835
4355
|
(function (governance_proposal) {
|
3836
4356
|
let GovernanceProposal;
|
3837
4357
|
(function (GovernanceProposal) {
|
@@ -3864,7 +4384,25 @@ export var optional_aggregator;
|
|
3864
4384
|
OptionalAggregator.type = type;
|
3865
4385
|
})(OptionalAggregator = optional_aggregator.OptionalAggregator || (optional_aggregator.OptionalAggregator = {}));
|
3866
4386
|
})(optional_aggregator || (optional_aggregator = {}));
|
3867
|
-
export
|
4387
|
+
export class transaction_context extends AptosBaseProcessor {
|
4388
|
+
constructor(options) {
|
4389
|
+
super("transaction_context", options);
|
4390
|
+
}
|
4391
|
+
static DEFAULT_OPTIONS = {
|
4392
|
+
address: "0x1",
|
4393
|
+
network: AptosNetwork.MAIN_NET,
|
4394
|
+
};
|
4395
|
+
static bind(options = {}) {
|
4396
|
+
return new transaction_context({
|
4397
|
+
...transaction_context.DEFAULT_OPTIONS,
|
4398
|
+
...options,
|
4399
|
+
});
|
4400
|
+
}
|
4401
|
+
onEventAUID(func, fetchConfig) {
|
4402
|
+
this.onMoveEvent(func, { type: "transaction_context::AUID" }, fetchConfig);
|
4403
|
+
return this;
|
4404
|
+
}
|
4405
|
+
}
|
3868
4406
|
(function (transaction_context) {
|
3869
4407
|
let AUID;
|
3870
4408
|
(function (AUID) {
|