@typemove/aptos 1.2.3-rc.1 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/aptos-chain-adapter.d.ts.map +1 -1
- package/dist/cjs/aptos-chain-adapter.js +27 -15
- package/dist/cjs/aptos-chain-adapter.js.map +1 -1
- package/dist/cjs/builtin/0x1.d.ts +252 -0
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +40 -0
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/esm/aptos-chain-adapter.d.ts.map +1 -1
- package/dist/esm/aptos-chain-adapter.js +27 -15
- package/dist/esm/aptos-chain-adapter.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +252 -0
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +40 -0
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/package.json +2 -2
- package/src/aptos-chain-adapter.ts +29 -15
- package/src/builtin/0x1.ts +346 -0
- package/src/builtin/0x3.ts +56 -0
- package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts +12 -0
- package/src/tests/types/0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.ts +6 -0
- package/src/tests/types/0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541.ts +63 -0
|
@@ -10,6 +10,10 @@ export declare namespace acl {
|
|
|
10
10
|
const TYPE_QNAME = "0x1::acl::ACL";
|
|
11
11
|
function type(): TypeDescriptor<ACL>;
|
|
12
12
|
}
|
|
13
|
+
interface ACLInstance extends TypedEventInstance<ACL> {
|
|
14
|
+
data_decoded: ACL;
|
|
15
|
+
type_arguments: [];
|
|
16
|
+
}
|
|
13
17
|
namespace entry { }
|
|
14
18
|
namespace view { }
|
|
15
19
|
}
|
|
@@ -22,6 +26,10 @@ export declare namespace any_ {
|
|
|
22
26
|
const TYPE_QNAME = "0x1::any::Any";
|
|
23
27
|
function type(): TypeDescriptor<Any>;
|
|
24
28
|
}
|
|
29
|
+
interface AnyInstance extends TypedEventInstance<Any> {
|
|
30
|
+
data_decoded: Any;
|
|
31
|
+
type_arguments: [];
|
|
32
|
+
}
|
|
25
33
|
namespace entry { }
|
|
26
34
|
namespace view { }
|
|
27
35
|
}
|
|
@@ -48,6 +56,10 @@ export declare namespace code {
|
|
|
48
56
|
const TYPE_QNAME = "0x1::code::ModuleMetadata";
|
|
49
57
|
function type(): TypeDescriptor<ModuleMetadata>;
|
|
50
58
|
}
|
|
59
|
+
interface ModuleMetadataInstance extends TypedEventInstance<ModuleMetadata> {
|
|
60
|
+
data_decoded: ModuleMetadata;
|
|
61
|
+
type_arguments: [];
|
|
62
|
+
}
|
|
51
63
|
interface PackageDep {
|
|
52
64
|
account: Address;
|
|
53
65
|
package_name: string;
|
|
@@ -56,6 +68,10 @@ export declare namespace code {
|
|
|
56
68
|
const TYPE_QNAME = "0x1::code::PackageDep";
|
|
57
69
|
function type(): TypeDescriptor<PackageDep>;
|
|
58
70
|
}
|
|
71
|
+
interface PackageDepInstance extends TypedEventInstance<PackageDep> {
|
|
72
|
+
data_decoded: PackageDep;
|
|
73
|
+
type_arguments: [];
|
|
74
|
+
}
|
|
59
75
|
interface PackageMetadata {
|
|
60
76
|
name: string;
|
|
61
77
|
upgrade_policy: code.UpgradePolicy;
|
|
@@ -70,6 +86,10 @@ export declare namespace code {
|
|
|
70
86
|
const TYPE_QNAME = "0x1::code::PackageMetadata";
|
|
71
87
|
function type(): TypeDescriptor<PackageMetadata>;
|
|
72
88
|
}
|
|
89
|
+
interface PackageMetadataInstance extends TypedEventInstance<PackageMetadata> {
|
|
90
|
+
data_decoded: PackageMetadata;
|
|
91
|
+
type_arguments: [];
|
|
92
|
+
}
|
|
73
93
|
interface PackageRegistry {
|
|
74
94
|
packages: code.PackageMetadata[];
|
|
75
95
|
}
|
|
@@ -77,6 +97,10 @@ export declare namespace code {
|
|
|
77
97
|
const TYPE_QNAME = "0x1::code::PackageRegistry";
|
|
78
98
|
function type(): TypeDescriptor<PackageRegistry>;
|
|
79
99
|
}
|
|
100
|
+
interface PackageRegistryInstance extends TypedEventInstance<PackageRegistry> {
|
|
101
|
+
data_decoded: PackageRegistry;
|
|
102
|
+
type_arguments: [];
|
|
103
|
+
}
|
|
80
104
|
interface UpgradePolicy {
|
|
81
105
|
policy: number;
|
|
82
106
|
}
|
|
@@ -84,6 +108,10 @@ export declare namespace code {
|
|
|
84
108
|
const TYPE_QNAME = "0x1::code::UpgradePolicy";
|
|
85
109
|
function type(): TypeDescriptor<UpgradePolicy>;
|
|
86
110
|
}
|
|
111
|
+
interface UpgradePolicyInstance extends TypedEventInstance<UpgradePolicy> {
|
|
112
|
+
data_decoded: UpgradePolicy;
|
|
113
|
+
type_arguments: [];
|
|
114
|
+
}
|
|
87
115
|
namespace entry {
|
|
88
116
|
function publishPackageTxn(client: AptosClient, account: AptosAccount, request: {
|
|
89
117
|
type_arguments: [];
|
|
@@ -229,6 +257,10 @@ export declare namespace guid {
|
|
|
229
257
|
const TYPE_QNAME = "0x1::guid::GUID";
|
|
230
258
|
function type(): TypeDescriptor<GUID>;
|
|
231
259
|
}
|
|
260
|
+
interface GUIDInstance extends TypedEventInstance<GUID> {
|
|
261
|
+
data_decoded: GUID;
|
|
262
|
+
type_arguments: [];
|
|
263
|
+
}
|
|
232
264
|
interface ID {
|
|
233
265
|
creation_num: bigint;
|
|
234
266
|
addr: Address;
|
|
@@ -237,6 +269,10 @@ export declare namespace guid {
|
|
|
237
269
|
const TYPE_QNAME = "0x1::guid::ID";
|
|
238
270
|
function type(): TypeDescriptor<ID>;
|
|
239
271
|
}
|
|
272
|
+
interface IDInstance extends TypedEventInstance<ID> {
|
|
273
|
+
data_decoded: ID;
|
|
274
|
+
type_arguments: [];
|
|
275
|
+
}
|
|
240
276
|
namespace entry { }
|
|
241
277
|
namespace view { }
|
|
242
278
|
}
|
|
@@ -375,6 +411,10 @@ export declare namespace stake {
|
|
|
375
411
|
const TYPE_QNAME = "0x1::stake::IndividualValidatorPerformance";
|
|
376
412
|
function type(): TypeDescriptor<IndividualValidatorPerformance>;
|
|
377
413
|
}
|
|
414
|
+
interface IndividualValidatorPerformanceInstance extends TypedEventInstance<IndividualValidatorPerformance> {
|
|
415
|
+
data_decoded: IndividualValidatorPerformance;
|
|
416
|
+
type_arguments: [];
|
|
417
|
+
}
|
|
378
418
|
interface JoinValidatorSetEvent {
|
|
379
419
|
pool_address: Address;
|
|
380
420
|
}
|
|
@@ -515,6 +555,10 @@ export declare namespace stake {
|
|
|
515
555
|
const TYPE_QNAME = "0x1::stake::ValidatorConfig";
|
|
516
556
|
function type(): TypeDescriptor<ValidatorConfig>;
|
|
517
557
|
}
|
|
558
|
+
interface ValidatorConfigInstance extends TypedEventInstance<ValidatorConfig> {
|
|
559
|
+
data_decoded: ValidatorConfig;
|
|
560
|
+
type_arguments: [];
|
|
561
|
+
}
|
|
518
562
|
interface ValidatorFees {
|
|
519
563
|
fees_table: table.Table<Address, coin.Coin<aptos_coin.AptosCoin>>;
|
|
520
564
|
}
|
|
@@ -531,6 +575,10 @@ export declare namespace stake {
|
|
|
531
575
|
const TYPE_QNAME = "0x1::stake::ValidatorInfo";
|
|
532
576
|
function type(): TypeDescriptor<ValidatorInfo>;
|
|
533
577
|
}
|
|
578
|
+
interface ValidatorInfoInstance extends TypedEventInstance<ValidatorInfo> {
|
|
579
|
+
data_decoded: ValidatorInfo;
|
|
580
|
+
type_arguments: [];
|
|
581
|
+
}
|
|
534
582
|
interface ValidatorPerformance {
|
|
535
583
|
validators: stake.IndividualValidatorPerformance[];
|
|
536
584
|
}
|
|
@@ -660,6 +708,10 @@ export declare namespace table {
|
|
|
660
708
|
const TYPE_QNAME = "0x1::table::Box";
|
|
661
709
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Box<T0>>;
|
|
662
710
|
}
|
|
711
|
+
interface BoxInstance extends TypedEventInstance<Box<any>> {
|
|
712
|
+
data_decoded: Box<any>;
|
|
713
|
+
type_arguments: [string];
|
|
714
|
+
}
|
|
663
715
|
interface Table<T0, T1> {
|
|
664
716
|
handle: Address;
|
|
665
717
|
}
|
|
@@ -690,6 +742,10 @@ export declare namespace object_ {
|
|
|
690
742
|
const TYPE_QNAME = "0x1::object::DeleteRef";
|
|
691
743
|
function type(): TypeDescriptor<DeleteRef>;
|
|
692
744
|
}
|
|
745
|
+
interface DeleteRefInstance extends TypedEventInstance<DeleteRef> {
|
|
746
|
+
data_decoded: DeleteRef;
|
|
747
|
+
type_arguments: [];
|
|
748
|
+
}
|
|
693
749
|
interface DeriveRef {
|
|
694
750
|
self: Address;
|
|
695
751
|
}
|
|
@@ -697,6 +753,10 @@ export declare namespace object_ {
|
|
|
697
753
|
const TYPE_QNAME = "0x1::object::DeriveRef";
|
|
698
754
|
function type(): TypeDescriptor<DeriveRef>;
|
|
699
755
|
}
|
|
756
|
+
interface DeriveRefInstance extends TypedEventInstance<DeriveRef> {
|
|
757
|
+
data_decoded: DeriveRef;
|
|
758
|
+
type_arguments: [];
|
|
759
|
+
}
|
|
700
760
|
interface ExtendRef {
|
|
701
761
|
self: Address;
|
|
702
762
|
}
|
|
@@ -704,6 +764,10 @@ export declare namespace object_ {
|
|
|
704
764
|
const TYPE_QNAME = "0x1::object::ExtendRef";
|
|
705
765
|
function type(): TypeDescriptor<ExtendRef>;
|
|
706
766
|
}
|
|
767
|
+
interface ExtendRefInstance extends TypedEventInstance<ExtendRef> {
|
|
768
|
+
data_decoded: ExtendRef;
|
|
769
|
+
type_arguments: [];
|
|
770
|
+
}
|
|
707
771
|
interface LinearTransferRef {
|
|
708
772
|
self: Address;
|
|
709
773
|
owner: Address;
|
|
@@ -719,6 +783,10 @@ export declare namespace object_ {
|
|
|
719
783
|
const TYPE_QNAME = "0x1::object::Object";
|
|
720
784
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Object<T0>>;
|
|
721
785
|
}
|
|
786
|
+
interface ObjectInstance extends TypedEventInstance<Object<any>> {
|
|
787
|
+
data_decoded: Object<any>;
|
|
788
|
+
type_arguments: [string];
|
|
789
|
+
}
|
|
722
790
|
interface ObjectCore {
|
|
723
791
|
guid_creation_num: bigint;
|
|
724
792
|
owner: Address;
|
|
@@ -756,6 +824,10 @@ export declare namespace object_ {
|
|
|
756
824
|
const TYPE_QNAME = "0x1::object::TransferRef";
|
|
757
825
|
function type(): TypeDescriptor<TransferRef>;
|
|
758
826
|
}
|
|
827
|
+
interface TransferRefInstance extends TypedEventInstance<TransferRef> {
|
|
828
|
+
data_decoded: TransferRef;
|
|
829
|
+
type_arguments: [];
|
|
830
|
+
}
|
|
759
831
|
namespace entry {
|
|
760
832
|
function transfer<T0 = any>(client: AptosClient, account: AptosAccount, request: {
|
|
761
833
|
type_arguments: [string];
|
|
@@ -780,6 +852,10 @@ export declare namespace option {
|
|
|
780
852
|
const TYPE_QNAME = "0x1::option::Option";
|
|
781
853
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Option<T0>>;
|
|
782
854
|
}
|
|
855
|
+
interface OptionInstance extends TypedEventInstance<Option<any>> {
|
|
856
|
+
data_decoded: Option<any>;
|
|
857
|
+
type_arguments: [string];
|
|
858
|
+
}
|
|
783
859
|
namespace entry { }
|
|
784
860
|
namespace view { }
|
|
785
861
|
}
|
|
@@ -795,6 +871,10 @@ export declare namespace string_ {
|
|
|
795
871
|
const TYPE_QNAME = "0x1::string::String";
|
|
796
872
|
function type(): TypeDescriptor<String>;
|
|
797
873
|
}
|
|
874
|
+
interface StringInstance extends TypedEventInstance<String> {
|
|
875
|
+
data_decoded: String;
|
|
876
|
+
type_arguments: [];
|
|
877
|
+
}
|
|
798
878
|
namespace entry { }
|
|
799
879
|
namespace view { }
|
|
800
880
|
}
|
|
@@ -1000,6 +1080,10 @@ export declare namespace account {
|
|
|
1000
1080
|
const TYPE_QNAME = "0x1::account::RotationCapability";
|
|
1001
1081
|
function type(): TypeDescriptor<RotationCapability>;
|
|
1002
1082
|
}
|
|
1083
|
+
interface RotationCapabilityInstance extends TypedEventInstance<RotationCapability> {
|
|
1084
|
+
data_decoded: RotationCapability;
|
|
1085
|
+
type_arguments: [];
|
|
1086
|
+
}
|
|
1003
1087
|
interface RotationCapabilityOfferProofChallenge {
|
|
1004
1088
|
sequence_number: bigint;
|
|
1005
1089
|
recipient_address: Address;
|
|
@@ -1035,6 +1119,10 @@ export declare namespace account {
|
|
|
1035
1119
|
const TYPE_QNAME = "0x1::account::SignerCapability";
|
|
1036
1120
|
function type(): TypeDescriptor<SignerCapability>;
|
|
1037
1121
|
}
|
|
1122
|
+
interface SignerCapabilityInstance extends TypedEventInstance<SignerCapability> {
|
|
1123
|
+
data_decoded: SignerCapability;
|
|
1124
|
+
type_arguments: [];
|
|
1125
|
+
}
|
|
1038
1126
|
interface SignerCapabilityOfferProofChallenge {
|
|
1039
1127
|
sequence_number: bigint;
|
|
1040
1128
|
recipient_address: Address;
|
|
@@ -1115,6 +1203,10 @@ export declare namespace ed25519 {
|
|
|
1115
1203
|
const TYPE_QNAME = "0x1::ed25519::Signature";
|
|
1116
1204
|
function type(): TypeDescriptor<Signature>;
|
|
1117
1205
|
}
|
|
1206
|
+
interface SignatureInstance extends TypedEventInstance<Signature> {
|
|
1207
|
+
data_decoded: Signature;
|
|
1208
|
+
type_arguments: [];
|
|
1209
|
+
}
|
|
1118
1210
|
interface SignedMessage<T0> {
|
|
1119
1211
|
type_info: type_info.TypeInfo;
|
|
1120
1212
|
inner: T0;
|
|
@@ -1130,6 +1222,10 @@ export declare namespace ed25519 {
|
|
|
1130
1222
|
const TYPE_QNAME = "0x1::ed25519::UnvalidatedPublicKey";
|
|
1131
1223
|
function type(): TypeDescriptor<UnvalidatedPublicKey>;
|
|
1132
1224
|
}
|
|
1225
|
+
interface UnvalidatedPublicKeyInstance extends TypedEventInstance<UnvalidatedPublicKey> {
|
|
1226
|
+
data_decoded: UnvalidatedPublicKey;
|
|
1227
|
+
type_arguments: [];
|
|
1228
|
+
}
|
|
1133
1229
|
interface ValidatedPublicKey {
|
|
1134
1230
|
bytes: string;
|
|
1135
1231
|
}
|
|
@@ -1137,6 +1233,10 @@ export declare namespace ed25519 {
|
|
|
1137
1233
|
const TYPE_QNAME = "0x1::ed25519::ValidatedPublicKey";
|
|
1138
1234
|
function type(): TypeDescriptor<ValidatedPublicKey>;
|
|
1139
1235
|
}
|
|
1236
|
+
interface ValidatedPublicKeyInstance extends TypedEventInstance<ValidatedPublicKey> {
|
|
1237
|
+
data_decoded: ValidatedPublicKey;
|
|
1238
|
+
type_arguments: [];
|
|
1239
|
+
}
|
|
1140
1240
|
namespace entry { }
|
|
1141
1241
|
namespace view { }
|
|
1142
1242
|
}
|
|
@@ -1418,6 +1518,10 @@ export declare namespace vesting {
|
|
|
1418
1518
|
const TYPE_QNAME = "0x1::vesting::VestingSchedule";
|
|
1419
1519
|
function type(): TypeDescriptor<VestingSchedule>;
|
|
1420
1520
|
}
|
|
1521
|
+
interface VestingScheduleInstance extends TypedEventInstance<VestingSchedule> {
|
|
1522
|
+
data_decoded: VestingSchedule;
|
|
1523
|
+
type_arguments: [];
|
|
1524
|
+
}
|
|
1421
1525
|
namespace entry {
|
|
1422
1526
|
function adminWithdraw(client: AptosClient, account: AptosAccount, request: {
|
|
1423
1527
|
type_arguments: [];
|
|
@@ -1537,6 +1641,10 @@ export declare namespace bls12381 {
|
|
|
1537
1641
|
const TYPE_QNAME = "0x1::bls12381::AggrOrMultiSignature";
|
|
1538
1642
|
function type(): TypeDescriptor<AggrOrMultiSignature>;
|
|
1539
1643
|
}
|
|
1644
|
+
interface AggrOrMultiSignatureInstance extends TypedEventInstance<AggrOrMultiSignature> {
|
|
1645
|
+
data_decoded: AggrOrMultiSignature;
|
|
1646
|
+
type_arguments: [];
|
|
1647
|
+
}
|
|
1540
1648
|
interface AggrPublicKeysWithPoP {
|
|
1541
1649
|
bytes: string;
|
|
1542
1650
|
}
|
|
@@ -1544,6 +1652,10 @@ export declare namespace bls12381 {
|
|
|
1544
1652
|
const TYPE_QNAME = "0x1::bls12381::AggrPublicKeysWithPoP";
|
|
1545
1653
|
function type(): TypeDescriptor<AggrPublicKeysWithPoP>;
|
|
1546
1654
|
}
|
|
1655
|
+
interface AggrPublicKeysWithPoPInstance extends TypedEventInstance<AggrPublicKeysWithPoP> {
|
|
1656
|
+
data_decoded: AggrPublicKeysWithPoP;
|
|
1657
|
+
type_arguments: [];
|
|
1658
|
+
}
|
|
1547
1659
|
interface ProofOfPossession {
|
|
1548
1660
|
bytes: string;
|
|
1549
1661
|
}
|
|
@@ -1551,6 +1663,10 @@ export declare namespace bls12381 {
|
|
|
1551
1663
|
const TYPE_QNAME = "0x1::bls12381::ProofOfPossession";
|
|
1552
1664
|
function type(): TypeDescriptor<ProofOfPossession>;
|
|
1553
1665
|
}
|
|
1666
|
+
interface ProofOfPossessionInstance extends TypedEventInstance<ProofOfPossession> {
|
|
1667
|
+
data_decoded: ProofOfPossession;
|
|
1668
|
+
type_arguments: [];
|
|
1669
|
+
}
|
|
1554
1670
|
interface PublicKey {
|
|
1555
1671
|
bytes: string;
|
|
1556
1672
|
}
|
|
@@ -1558,6 +1674,10 @@ export declare namespace bls12381 {
|
|
|
1558
1674
|
const TYPE_QNAME = "0x1::bls12381::PublicKey";
|
|
1559
1675
|
function type(): TypeDescriptor<PublicKey>;
|
|
1560
1676
|
}
|
|
1677
|
+
interface PublicKeyInstance extends TypedEventInstance<PublicKey> {
|
|
1678
|
+
data_decoded: PublicKey;
|
|
1679
|
+
type_arguments: [];
|
|
1680
|
+
}
|
|
1561
1681
|
interface PublicKeyWithPoP {
|
|
1562
1682
|
bytes: string;
|
|
1563
1683
|
}
|
|
@@ -1565,6 +1685,10 @@ export declare namespace bls12381 {
|
|
|
1565
1685
|
const TYPE_QNAME = "0x1::bls12381::PublicKeyWithPoP";
|
|
1566
1686
|
function type(): TypeDescriptor<PublicKeyWithPoP>;
|
|
1567
1687
|
}
|
|
1688
|
+
interface PublicKeyWithPoPInstance extends TypedEventInstance<PublicKeyWithPoP> {
|
|
1689
|
+
data_decoded: PublicKeyWithPoP;
|
|
1690
|
+
type_arguments: [];
|
|
1691
|
+
}
|
|
1568
1692
|
interface Signature {
|
|
1569
1693
|
bytes: string;
|
|
1570
1694
|
}
|
|
@@ -1572,6 +1696,10 @@ export declare namespace bls12381 {
|
|
|
1572
1696
|
const TYPE_QNAME = "0x1::bls12381::Signature";
|
|
1573
1697
|
function type(): TypeDescriptor<Signature>;
|
|
1574
1698
|
}
|
|
1699
|
+
interface SignatureInstance extends TypedEventInstance<Signature> {
|
|
1700
|
+
data_decoded: Signature;
|
|
1701
|
+
type_arguments: [];
|
|
1702
|
+
}
|
|
1575
1703
|
namespace entry { }
|
|
1576
1704
|
namespace view { }
|
|
1577
1705
|
}
|
|
@@ -1627,6 +1755,10 @@ export declare namespace secp256k1 {
|
|
|
1627
1755
|
const TYPE_QNAME = "0x1::secp256k1::ECDSARawPublicKey";
|
|
1628
1756
|
function type(): TypeDescriptor<ECDSARawPublicKey>;
|
|
1629
1757
|
}
|
|
1758
|
+
interface ECDSARawPublicKeyInstance extends TypedEventInstance<ECDSARawPublicKey> {
|
|
1759
|
+
data_decoded: ECDSARawPublicKey;
|
|
1760
|
+
type_arguments: [];
|
|
1761
|
+
}
|
|
1630
1762
|
interface ECDSASignature {
|
|
1631
1763
|
bytes: string;
|
|
1632
1764
|
}
|
|
@@ -1634,6 +1766,10 @@ export declare namespace secp256k1 {
|
|
|
1634
1766
|
const TYPE_QNAME = "0x1::secp256k1::ECDSASignature";
|
|
1635
1767
|
function type(): TypeDescriptor<ECDSASignature>;
|
|
1636
1768
|
}
|
|
1769
|
+
interface ECDSASignatureInstance extends TypedEventInstance<ECDSASignature> {
|
|
1770
|
+
data_decoded: ECDSASignature;
|
|
1771
|
+
type_arguments: [];
|
|
1772
|
+
}
|
|
1637
1773
|
namespace entry { }
|
|
1638
1774
|
namespace view { }
|
|
1639
1775
|
}
|
|
@@ -1661,6 +1797,10 @@ export declare namespace type_info {
|
|
|
1661
1797
|
const TYPE_QNAME = "0x1::type_info::TypeInfo";
|
|
1662
1798
|
function type(): TypeDescriptor<TypeInfo>;
|
|
1663
1799
|
}
|
|
1800
|
+
interface TypeInfoInstance extends TypedEventInstance<TypeInfo> {
|
|
1801
|
+
data_decoded: TypeInfo;
|
|
1802
|
+
type_arguments: [];
|
|
1803
|
+
}
|
|
1664
1804
|
namespace entry { }
|
|
1665
1805
|
namespace view { }
|
|
1666
1806
|
}
|
|
@@ -1748,6 +1888,10 @@ export declare namespace bit_vector {
|
|
|
1748
1888
|
const TYPE_QNAME = "0x1::bit_vector::BitVector";
|
|
1749
1889
|
function type(): TypeDescriptor<BitVector>;
|
|
1750
1890
|
}
|
|
1891
|
+
interface BitVectorInstance extends TypedEventInstance<BitVector> {
|
|
1892
|
+
data_decoded: BitVector;
|
|
1893
|
+
type_arguments: [];
|
|
1894
|
+
}
|
|
1751
1895
|
namespace entry { }
|
|
1752
1896
|
namespace view { }
|
|
1753
1897
|
}
|
|
@@ -1807,6 +1951,10 @@ export declare namespace simple_map {
|
|
|
1807
1951
|
const TYPE_QNAME = "0x1::simple_map::Element";
|
|
1808
1952
|
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Element<T0, T1>>;
|
|
1809
1953
|
}
|
|
1954
|
+
interface ElementInstance extends TypedEventInstance<Element<any, any>> {
|
|
1955
|
+
data_decoded: Element<any, any>;
|
|
1956
|
+
type_arguments: [string, string];
|
|
1957
|
+
}
|
|
1810
1958
|
interface SimpleMap<T0, T1> {
|
|
1811
1959
|
data: simple_map.Element<T0, T1>[];
|
|
1812
1960
|
}
|
|
@@ -1814,6 +1962,10 @@ export declare namespace simple_map {
|
|
|
1814
1962
|
const TYPE_QNAME = "0x1::simple_map::SimpleMap";
|
|
1815
1963
|
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<SimpleMap<T0, T1>>;
|
|
1816
1964
|
}
|
|
1965
|
+
interface SimpleMapInstance extends TypedEventInstance<SimpleMap<any, any>> {
|
|
1966
|
+
data_decoded: SimpleMap<any, any>;
|
|
1967
|
+
type_arguments: [string, string];
|
|
1968
|
+
}
|
|
1817
1969
|
namespace entry { }
|
|
1818
1970
|
namespace view { }
|
|
1819
1971
|
}
|
|
@@ -1827,6 +1979,10 @@ export declare namespace smart_table {
|
|
|
1827
1979
|
const TYPE_QNAME = "0x1::smart_table::Entry";
|
|
1828
1980
|
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Entry<T0, T1>>;
|
|
1829
1981
|
}
|
|
1982
|
+
interface EntryInstance extends TypedEventInstance<Entry<any, any>> {
|
|
1983
|
+
data_decoded: Entry<any, any>;
|
|
1984
|
+
type_arguments: [string, string];
|
|
1985
|
+
}
|
|
1830
1986
|
interface SmartTable<T0, T1> {
|
|
1831
1987
|
buckets: table_with_length.TableWithLength<bigint, smart_table.Entry<T0, T1>[]>;
|
|
1832
1988
|
num_buckets: bigint;
|
|
@@ -1852,6 +2008,10 @@ export declare namespace storage_gas {
|
|
|
1852
2008
|
const TYPE_QNAME = "0x1::storage_gas::GasCurve";
|
|
1853
2009
|
function type(): TypeDescriptor<GasCurve>;
|
|
1854
2010
|
}
|
|
2011
|
+
interface GasCurveInstance extends TypedEventInstance<GasCurve> {
|
|
2012
|
+
data_decoded: GasCurve;
|
|
2013
|
+
type_arguments: [];
|
|
2014
|
+
}
|
|
1855
2015
|
interface Point {
|
|
1856
2016
|
x: bigint;
|
|
1857
2017
|
y: bigint;
|
|
@@ -1860,6 +2020,10 @@ export declare namespace storage_gas {
|
|
|
1860
2020
|
const TYPE_QNAME = "0x1::storage_gas::Point";
|
|
1861
2021
|
function type(): TypeDescriptor<Point>;
|
|
1862
2022
|
}
|
|
2023
|
+
interface PointInstance extends TypedEventInstance<Point> {
|
|
2024
|
+
data_decoded: Point;
|
|
2025
|
+
type_arguments: [];
|
|
2026
|
+
}
|
|
1863
2027
|
interface StorageGas {
|
|
1864
2028
|
per_item_read: bigint;
|
|
1865
2029
|
per_item_create: bigint;
|
|
@@ -1890,6 +2054,10 @@ export declare namespace storage_gas {
|
|
|
1890
2054
|
const TYPE_QNAME = "0x1::storage_gas::UsageGasConfig";
|
|
1891
2055
|
function type(): TypeDescriptor<UsageGasConfig>;
|
|
1892
2056
|
}
|
|
2057
|
+
interface UsageGasConfigInstance extends TypedEventInstance<UsageGasConfig> {
|
|
2058
|
+
data_decoded: UsageGasConfig;
|
|
2059
|
+
type_arguments: [];
|
|
2060
|
+
}
|
|
1893
2061
|
namespace entry { }
|
|
1894
2062
|
namespace view { }
|
|
1895
2063
|
}
|
|
@@ -1916,6 +2084,10 @@ export declare namespace copyable_any {
|
|
|
1916
2084
|
const TYPE_QNAME = "0x1::copyable_any::Any";
|
|
1917
2085
|
function type(): TypeDescriptor<Any>;
|
|
1918
2086
|
}
|
|
2087
|
+
interface AnyInstance extends TypedEventInstance<Any> {
|
|
2088
|
+
data_decoded: Any;
|
|
2089
|
+
type_arguments: [];
|
|
2090
|
+
}
|
|
1919
2091
|
namespace entry { }
|
|
1920
2092
|
namespace view { }
|
|
1921
2093
|
}
|
|
@@ -1928,6 +2100,10 @@ export declare namespace gas_schedule {
|
|
|
1928
2100
|
const TYPE_QNAME = "0x1::gas_schedule::GasEntry";
|
|
1929
2101
|
function type(): TypeDescriptor<GasEntry>;
|
|
1930
2102
|
}
|
|
2103
|
+
interface GasEntryInstance extends TypedEventInstance<GasEntry> {
|
|
2104
|
+
data_decoded: GasEntry;
|
|
2105
|
+
type_arguments: [];
|
|
2106
|
+
}
|
|
1931
2107
|
interface GasSchedule {
|
|
1932
2108
|
entries: gas_schedule.GasEntry[];
|
|
1933
2109
|
}
|
|
@@ -1988,6 +2164,10 @@ export declare namespace ristretto255 {
|
|
|
1988
2164
|
const TYPE_QNAME = "0x1::ristretto255::CompressedRistretto";
|
|
1989
2165
|
function type(): TypeDescriptor<CompressedRistretto>;
|
|
1990
2166
|
}
|
|
2167
|
+
interface CompressedRistrettoInstance extends TypedEventInstance<CompressedRistretto> {
|
|
2168
|
+
data_decoded: CompressedRistretto;
|
|
2169
|
+
type_arguments: [];
|
|
2170
|
+
}
|
|
1991
2171
|
interface RistrettoPoint {
|
|
1992
2172
|
handle: bigint;
|
|
1993
2173
|
}
|
|
@@ -2002,6 +2182,10 @@ export declare namespace ristretto255 {
|
|
|
2002
2182
|
const TYPE_QNAME = "0x1::ristretto255::Scalar";
|
|
2003
2183
|
function type(): TypeDescriptor<Scalar>;
|
|
2004
2184
|
}
|
|
2185
|
+
interface ScalarInstance extends TypedEventInstance<Scalar> {
|
|
2186
|
+
data_decoded: Scalar;
|
|
2187
|
+
type_arguments: [];
|
|
2188
|
+
}
|
|
2005
2189
|
namespace entry { }
|
|
2006
2190
|
namespace view { }
|
|
2007
2191
|
}
|
|
@@ -2028,6 +2212,10 @@ export declare namespace string_utils {
|
|
|
2028
2212
|
const TYPE_QNAME = "0x1::string_utils::Cons";
|
|
2029
2213
|
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Cons<T0, T1>>;
|
|
2030
2214
|
}
|
|
2215
|
+
interface ConsInstance extends TypedEventInstance<Cons<any, any>> {
|
|
2216
|
+
data_decoded: Cons<any, any>;
|
|
2217
|
+
type_arguments: [string, string];
|
|
2218
|
+
}
|
|
2031
2219
|
interface FakeCons<T0, T1> {
|
|
2032
2220
|
car: T0;
|
|
2033
2221
|
cdr: T1;
|
|
@@ -2036,6 +2224,10 @@ export declare namespace string_utils {
|
|
|
2036
2224
|
const TYPE_QNAME = "0x1::string_utils::FakeCons";
|
|
2037
2225
|
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<FakeCons<T0, T1>>;
|
|
2038
2226
|
}
|
|
2227
|
+
interface FakeConsInstance extends TypedEventInstance<FakeCons<any, any>> {
|
|
2228
|
+
data_decoded: FakeCons<any, any>;
|
|
2229
|
+
type_arguments: [string, string];
|
|
2230
|
+
}
|
|
2039
2231
|
interface NIL {
|
|
2040
2232
|
dummy_field: Boolean;
|
|
2041
2233
|
}
|
|
@@ -2043,6 +2235,10 @@ export declare namespace string_utils {
|
|
|
2043
2235
|
const TYPE_QNAME = "0x1::string_utils::NIL";
|
|
2044
2236
|
function type(): TypeDescriptor<NIL>;
|
|
2045
2237
|
}
|
|
2238
|
+
interface NILInstance extends TypedEventInstance<NIL> {
|
|
2239
|
+
data_decoded: NIL;
|
|
2240
|
+
type_arguments: [];
|
|
2241
|
+
}
|
|
2046
2242
|
namespace entry { }
|
|
2047
2243
|
namespace view { }
|
|
2048
2244
|
}
|
|
@@ -2110,6 +2306,10 @@ export declare namespace fixed_point32 {
|
|
|
2110
2306
|
const TYPE_QNAME = "0x1::fixed_point32::FixedPoint32";
|
|
2111
2307
|
function type(): TypeDescriptor<FixedPoint32>;
|
|
2112
2308
|
}
|
|
2309
|
+
interface FixedPoint32Instance extends TypedEventInstance<FixedPoint32> {
|
|
2310
|
+
data_decoded: FixedPoint32;
|
|
2311
|
+
type_arguments: [];
|
|
2312
|
+
}
|
|
2113
2313
|
namespace entry { }
|
|
2114
2314
|
namespace view { }
|
|
2115
2315
|
}
|
|
@@ -2121,6 +2321,10 @@ export declare namespace fixed_point64 {
|
|
|
2121
2321
|
const TYPE_QNAME = "0x1::fixed_point64::FixedPoint64";
|
|
2122
2322
|
function type(): TypeDescriptor<FixedPoint64>;
|
|
2123
2323
|
}
|
|
2324
|
+
interface FixedPoint64Instance extends TypedEventInstance<FixedPoint64> {
|
|
2325
|
+
data_decoded: FixedPoint64;
|
|
2326
|
+
type_arguments: [];
|
|
2327
|
+
}
|
|
2124
2328
|
namespace entry { }
|
|
2125
2329
|
namespace view { }
|
|
2126
2330
|
}
|
|
@@ -2132,6 +2336,10 @@ export declare namespace multi_ed25519 {
|
|
|
2132
2336
|
const TYPE_QNAME = "0x1::multi_ed25519::Signature";
|
|
2133
2337
|
function type(): TypeDescriptor<Signature>;
|
|
2134
2338
|
}
|
|
2339
|
+
interface SignatureInstance extends TypedEventInstance<Signature> {
|
|
2340
|
+
data_decoded: Signature;
|
|
2341
|
+
type_arguments: [];
|
|
2342
|
+
}
|
|
2135
2343
|
interface UnvalidatedPublicKey {
|
|
2136
2344
|
bytes: string;
|
|
2137
2345
|
}
|
|
@@ -2139,6 +2347,10 @@ export declare namespace multi_ed25519 {
|
|
|
2139
2347
|
const TYPE_QNAME = "0x1::multi_ed25519::UnvalidatedPublicKey";
|
|
2140
2348
|
function type(): TypeDescriptor<UnvalidatedPublicKey>;
|
|
2141
2349
|
}
|
|
2350
|
+
interface UnvalidatedPublicKeyInstance extends TypedEventInstance<UnvalidatedPublicKey> {
|
|
2351
|
+
data_decoded: UnvalidatedPublicKey;
|
|
2352
|
+
type_arguments: [];
|
|
2353
|
+
}
|
|
2142
2354
|
interface ValidatedPublicKey {
|
|
2143
2355
|
bytes: string;
|
|
2144
2356
|
}
|
|
@@ -2146,6 +2358,10 @@ export declare namespace multi_ed25519 {
|
|
|
2146
2358
|
const TYPE_QNAME = "0x1::multi_ed25519::ValidatedPublicKey";
|
|
2147
2359
|
function type(): TypeDescriptor<ValidatedPublicKey>;
|
|
2148
2360
|
}
|
|
2361
|
+
interface ValidatedPublicKeyInstance extends TypedEventInstance<ValidatedPublicKey> {
|
|
2362
|
+
data_decoded: ValidatedPublicKey;
|
|
2363
|
+
type_arguments: [];
|
|
2364
|
+
}
|
|
2149
2365
|
namespace entry { }
|
|
2150
2366
|
namespace view { }
|
|
2151
2367
|
}
|
|
@@ -2210,6 +2426,10 @@ export declare namespace state_storage {
|
|
|
2210
2426
|
const TYPE_QNAME = "0x1::state_storage::Usage";
|
|
2211
2427
|
function type(): TypeDescriptor<Usage>;
|
|
2212
2428
|
}
|
|
2429
|
+
interface UsageInstance extends TypedEventInstance<Usage> {
|
|
2430
|
+
data_decoded: Usage;
|
|
2431
|
+
type_arguments: [];
|
|
2432
|
+
}
|
|
2213
2433
|
namespace entry { }
|
|
2214
2434
|
namespace view { }
|
|
2215
2435
|
}
|
|
@@ -2232,6 +2452,10 @@ export declare namespace fungible_asset {
|
|
|
2232
2452
|
const TYPE_QNAME = "0x1::fungible_asset::BurnRef";
|
|
2233
2453
|
function type(): TypeDescriptor<BurnRef>;
|
|
2234
2454
|
}
|
|
2455
|
+
interface BurnRefInstance extends TypedEventInstance<BurnRef> {
|
|
2456
|
+
data_decoded: BurnRef;
|
|
2457
|
+
type_arguments: [];
|
|
2458
|
+
}
|
|
2235
2459
|
interface DepositEvent {
|
|
2236
2460
|
amount: bigint;
|
|
2237
2461
|
}
|
|
@@ -2298,6 +2522,10 @@ export declare namespace fungible_asset {
|
|
|
2298
2522
|
const TYPE_QNAME = "0x1::fungible_asset::MintRef";
|
|
2299
2523
|
function type(): TypeDescriptor<MintRef>;
|
|
2300
2524
|
}
|
|
2525
|
+
interface MintRefInstance extends TypedEventInstance<MintRef> {
|
|
2526
|
+
data_decoded: MintRef;
|
|
2527
|
+
type_arguments: [];
|
|
2528
|
+
}
|
|
2301
2529
|
interface Supply {
|
|
2302
2530
|
current: bigint;
|
|
2303
2531
|
maximum: option.Option<bigint>;
|
|
@@ -2313,6 +2541,10 @@ export declare namespace fungible_asset {
|
|
|
2313
2541
|
const TYPE_QNAME = "0x1::fungible_asset::TransferRef";
|
|
2314
2542
|
function type(): TypeDescriptor<TransferRef>;
|
|
2315
2543
|
}
|
|
2544
|
+
interface TransferRefInstance extends TypedEventInstance<TransferRef> {
|
|
2545
|
+
data_decoded: TransferRef;
|
|
2546
|
+
type_arguments: [];
|
|
2547
|
+
}
|
|
2316
2548
|
interface WithdrawEvent {
|
|
2317
2549
|
amount: bigint;
|
|
2318
2550
|
}
|
|
@@ -2457,6 +2689,10 @@ export declare namespace delegation_pool {
|
|
|
2457
2689
|
const TYPE_QNAME = "0x1::delegation_pool::ObservedLockupCycle";
|
|
2458
2690
|
function type(): TypeDescriptor<ObservedLockupCycle>;
|
|
2459
2691
|
}
|
|
2692
|
+
interface ObservedLockupCycleInstance extends TypedEventInstance<ObservedLockupCycle> {
|
|
2693
|
+
data_decoded: ObservedLockupCycle;
|
|
2694
|
+
type_arguments: [];
|
|
2695
|
+
}
|
|
2460
2696
|
interface ReactivateStakeEvent {
|
|
2461
2697
|
pool_address: Address;
|
|
2462
2698
|
delegator_address: Address;
|
|
@@ -2673,6 +2909,10 @@ export declare namespace aptos_governance {
|
|
|
2673
2909
|
const TYPE_QNAME = "0x1::aptos_governance::RecordKey";
|
|
2674
2910
|
function type(): TypeDescriptor<RecordKey>;
|
|
2675
2911
|
}
|
|
2912
|
+
interface RecordKeyInstance extends TypedEventInstance<RecordKey> {
|
|
2913
|
+
data_decoded: RecordKey;
|
|
2914
|
+
type_arguments: [];
|
|
2915
|
+
}
|
|
2676
2916
|
interface UpdateConfigEvent {
|
|
2677
2917
|
min_voting_threshold: bigint;
|
|
2678
2918
|
required_proposer_stake: bigint;
|
|
@@ -2910,6 +3150,10 @@ export declare namespace multisig_account {
|
|
|
2910
3150
|
const TYPE_QNAME = "0x1::multisig_account::ExecutionError";
|
|
2911
3151
|
function type(): TypeDescriptor<ExecutionError>;
|
|
2912
3152
|
}
|
|
3153
|
+
interface ExecutionErrorInstance extends TypedEventInstance<ExecutionError> {
|
|
3154
|
+
data_decoded: ExecutionError;
|
|
3155
|
+
type_arguments: [];
|
|
3156
|
+
}
|
|
2913
3157
|
interface MetadataUpdatedEvent {
|
|
2914
3158
|
old_metadata: simple_map.SimpleMap<string, string>;
|
|
2915
3159
|
new_metadata: simple_map.SimpleMap<string, string>;
|
|
@@ -2966,6 +3210,10 @@ export declare namespace multisig_account {
|
|
|
2966
3210
|
const TYPE_QNAME = "0x1::multisig_account::MultisigTransaction";
|
|
2967
3211
|
function type(): TypeDescriptor<MultisigTransaction>;
|
|
2968
3212
|
}
|
|
3213
|
+
interface MultisigTransactionInstance extends TypedEventInstance<MultisigTransaction> {
|
|
3214
|
+
data_decoded: MultisigTransaction;
|
|
3215
|
+
type_arguments: [];
|
|
3216
|
+
}
|
|
2969
3217
|
interface RemoveOwnersEvent {
|
|
2970
3218
|
owners_removed: Address[];
|
|
2971
3219
|
}
|
|
@@ -3460,6 +3708,10 @@ export declare namespace governance_proposal {
|
|
|
3460
3708
|
const TYPE_QNAME = "0x1::governance_proposal::GovernanceProposal";
|
|
3461
3709
|
function type(): TypeDescriptor<GovernanceProposal>;
|
|
3462
3710
|
}
|
|
3711
|
+
interface GovernanceProposalInstance extends TypedEventInstance<GovernanceProposal> {
|
|
3712
|
+
data_decoded: GovernanceProposal;
|
|
3713
|
+
type_arguments: [];
|
|
3714
|
+
}
|
|
3463
3715
|
namespace entry { }
|
|
3464
3716
|
namespace view { }
|
|
3465
3717
|
}
|