@typemove/aptos 1.6.12 → 1.7.0-rc.1
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 +30 -26
- package/dist/cjs/aptos-chain-adapter.js.map +1 -1
- package/dist/cjs/builtin/0x1.d.ts +0 -444
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +1 -1
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +0 -36
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/builtin/0x4.d.ts +0 -24
- package/dist/cjs/builtin/0x4.d.ts.map +1 -1
- package/dist/cjs/builtin/0x4.js.map +1 -1
- package/dist/cjs/to-internal.d.ts.map +1 -1
- package/dist/cjs/to-internal.js +1 -0
- package/dist/cjs/to-internal.js.map +1 -1
- package/dist/esm/aptos-chain-adapter.d.ts.map +1 -1
- package/dist/esm/aptos-chain-adapter.js +30 -26
- package/dist/esm/aptos-chain-adapter.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +0 -444
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +1 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +0 -36
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/builtin/0x4.d.ts +0 -24
- package/dist/esm/builtin/0x4.d.ts.map +1 -1
- package/dist/esm/builtin/0x4.js.map +1 -1
- package/dist/esm/to-internal.d.ts.map +1 -1
- package/dist/esm/to-internal.js +1 -0
- package/dist/esm/to-internal.js.map +1 -1
- package/package.json +3 -3
- package/src/abis/0x1.json +1 -1
- package/src/aptos-chain-adapter.ts +34 -29
- package/src/builtin/0x1.ts +1 -623
- package/src/builtin/0x3.ts +0 -50
- package/src/builtin/0x4.ts +0 -31
- package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts +0 -12
- package/src/tests/types/0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.ts +0 -6
- package/src/tests/types/0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541.ts +0 -63
- package/src/to-internal.ts +1 -0
package/src/builtin/0x3.ts
CHANGED
|
@@ -100,12 +100,6 @@ export namespace token {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
export interface CollectionMutabilityConfigInstance
|
|
104
|
-
extends TypedEventInstance<CollectionMutabilityConfig> {
|
|
105
|
-
data_decoded: CollectionMutabilityConfig;
|
|
106
|
-
type_arguments: [];
|
|
107
|
-
}
|
|
108
|
-
|
|
109
103
|
export interface Collections {
|
|
110
104
|
collection_data: _0x1.table.Table<string, token.CollectionData>;
|
|
111
105
|
token_data: _0x1.table.Table<token.TokenDataId, token.TokenData>;
|
|
@@ -392,11 +386,6 @@ export namespace token {
|
|
|
392
386
|
}
|
|
393
387
|
}
|
|
394
388
|
|
|
395
|
-
export interface RoyaltyInstance extends TypedEventInstance<Royalty> {
|
|
396
|
-
data_decoded: Royalty;
|
|
397
|
-
type_arguments: [];
|
|
398
|
-
}
|
|
399
|
-
|
|
400
389
|
export interface Token {
|
|
401
390
|
id: token.TokenId;
|
|
402
391
|
amount: bigint;
|
|
@@ -451,11 +440,6 @@ export namespace token {
|
|
|
451
440
|
}
|
|
452
441
|
}
|
|
453
442
|
|
|
454
|
-
export interface TokenDataIdInstance extends TypedEventInstance<TokenDataId> {
|
|
455
|
-
data_decoded: TokenDataId;
|
|
456
|
-
type_arguments: [];
|
|
457
|
-
}
|
|
458
|
-
|
|
459
443
|
export interface TokenId {
|
|
460
444
|
token_data_id: token.TokenDataId;
|
|
461
445
|
property_version: bigint;
|
|
@@ -471,11 +455,6 @@ export namespace token {
|
|
|
471
455
|
}
|
|
472
456
|
}
|
|
473
457
|
|
|
474
|
-
export interface TokenIdInstance extends TypedEventInstance<TokenId> {
|
|
475
|
-
data_decoded: TokenId;
|
|
476
|
-
type_arguments: [];
|
|
477
|
-
}
|
|
478
|
-
|
|
479
458
|
export interface TokenMutabilityConfig {
|
|
480
459
|
maximum: boolean;
|
|
481
460
|
uri: boolean;
|
|
@@ -496,12 +475,6 @@ export namespace token {
|
|
|
496
475
|
}
|
|
497
476
|
}
|
|
498
477
|
|
|
499
|
-
export interface TokenMutabilityConfigInstance
|
|
500
|
-
extends TypedEventInstance<TokenMutabilityConfig> {
|
|
501
|
-
data_decoded: TokenMutabilityConfig;
|
|
502
|
-
type_arguments: [];
|
|
503
|
-
}
|
|
504
|
-
|
|
505
478
|
export interface TokenStore {
|
|
506
479
|
tokens: _0x1.table.Table<token.TokenId, token.Token>;
|
|
507
480
|
direct_transfer: boolean;
|
|
@@ -560,12 +533,6 @@ export namespace token {
|
|
|
560
533
|
}
|
|
561
534
|
}
|
|
562
535
|
|
|
563
|
-
export interface WithdrawCapabilityInstance
|
|
564
|
-
extends TypedEventInstance<WithdrawCapability> {
|
|
565
|
-
data_decoded: WithdrawCapability;
|
|
566
|
-
type_arguments: [];
|
|
567
|
-
}
|
|
568
|
-
|
|
569
536
|
export interface WithdrawEvent {
|
|
570
537
|
id: token.TokenId;
|
|
571
538
|
amount: bigint;
|
|
@@ -916,11 +883,6 @@ export namespace property_map {
|
|
|
916
883
|
}
|
|
917
884
|
}
|
|
918
885
|
|
|
919
|
-
export interface PropertyMapInstance extends TypedEventInstance<PropertyMap> {
|
|
920
|
-
data_decoded: PropertyMap;
|
|
921
|
-
type_arguments: [];
|
|
922
|
-
}
|
|
923
|
-
|
|
924
886
|
export interface PropertyValue {
|
|
925
887
|
value: string;
|
|
926
888
|
type: string;
|
|
@@ -936,12 +898,6 @@ export namespace property_map {
|
|
|
936
898
|
}
|
|
937
899
|
}
|
|
938
900
|
|
|
939
|
-
export interface PropertyValueInstance
|
|
940
|
-
extends TypedEventInstance<PropertyValue> {
|
|
941
|
-
data_decoded: PropertyValue;
|
|
942
|
-
type_arguments: [];
|
|
943
|
-
}
|
|
944
|
-
|
|
945
901
|
export namespace entry {}
|
|
946
902
|
export namespace view {}
|
|
947
903
|
}
|
|
@@ -966,12 +922,6 @@ export namespace token_coin_swap {
|
|
|
966
922
|
}
|
|
967
923
|
}
|
|
968
924
|
|
|
969
|
-
export interface TokenCoinSwapInstance
|
|
970
|
-
extends TypedEventInstance<TokenCoinSwap<any>> {
|
|
971
|
-
data_decoded: TokenCoinSwap<any>;
|
|
972
|
-
type_arguments: [string];
|
|
973
|
-
}
|
|
974
|
-
|
|
975
925
|
export interface TokenEscrow {
|
|
976
926
|
token: token.Token;
|
|
977
927
|
locked_until_secs: bigint;
|
package/src/builtin/0x4.ts
CHANGED
|
@@ -37,11 +37,6 @@ export namespace token {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
export interface BurnRefInstance extends TypedEventInstance<BurnRef> {
|
|
41
|
-
data_decoded: BurnRef;
|
|
42
|
-
type_arguments: [];
|
|
43
|
-
}
|
|
44
|
-
|
|
45
40
|
export interface ConcurrentTokenIdentifiers {
|
|
46
41
|
index: _0x1.aggregator_v2.AggregatorSnapshot<bigint>;
|
|
47
42
|
name: _0x1.aggregator_v2.AggregatorSnapshot<string>;
|
|
@@ -117,11 +112,6 @@ export namespace token {
|
|
|
117
112
|
}
|
|
118
113
|
}
|
|
119
114
|
|
|
120
|
-
export interface MutatorRefInstance extends TypedEventInstance<MutatorRef> {
|
|
121
|
-
data_decoded: MutatorRef;
|
|
122
|
-
type_arguments: [];
|
|
123
|
-
}
|
|
124
|
-
|
|
125
115
|
export interface Token {
|
|
126
116
|
collection: _0x1.object$.Object<collection.Collection>;
|
|
127
117
|
index: bigint;
|
|
@@ -372,11 +362,6 @@ export namespace royalty {
|
|
|
372
362
|
}
|
|
373
363
|
}
|
|
374
364
|
|
|
375
|
-
export interface MutatorRefInstance extends TypedEventInstance<MutatorRef> {
|
|
376
|
-
data_decoded: MutatorRef;
|
|
377
|
-
type_arguments: [];
|
|
378
|
-
}
|
|
379
|
-
|
|
380
365
|
export interface Royalty {
|
|
381
366
|
numerator: bigint;
|
|
382
367
|
denominator: bigint;
|
|
@@ -638,11 +623,6 @@ export namespace collection {
|
|
|
638
623
|
}
|
|
639
624
|
}
|
|
640
625
|
|
|
641
|
-
export interface MutatorRefInstance extends TypedEventInstance<MutatorRef> {
|
|
642
|
-
data_decoded: MutatorRef;
|
|
643
|
-
type_arguments: [];
|
|
644
|
-
}
|
|
645
|
-
|
|
646
626
|
export interface SetMaxSupply {
|
|
647
627
|
collection: _0x1.object$.Object<collection.Collection>;
|
|
648
628
|
old_max_supply: bigint;
|
|
@@ -1451,11 +1431,6 @@ export namespace property_map {
|
|
|
1451
1431
|
}
|
|
1452
1432
|
}
|
|
1453
1433
|
|
|
1454
|
-
export interface MutatorRefInstance extends TypedEventInstance<MutatorRef> {
|
|
1455
|
-
data_decoded: MutatorRef;
|
|
1456
|
-
type_arguments: [];
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
1434
|
export interface PropertyMap {
|
|
1460
1435
|
inner: _0x1.simple_map.SimpleMap<string, property_map.PropertyValue>;
|
|
1461
1436
|
}
|
|
@@ -1485,12 +1460,6 @@ export namespace property_map {
|
|
|
1485
1460
|
}
|
|
1486
1461
|
}
|
|
1487
1462
|
|
|
1488
|
-
export interface PropertyValueInstance
|
|
1489
|
-
extends TypedEventInstance<PropertyValue> {
|
|
1490
|
-
data_decoded: PropertyValue;
|
|
1491
|
-
type_arguments: [];
|
|
1492
|
-
}
|
|
1493
|
-
|
|
1494
1463
|
export namespace entry {}
|
|
1495
1464
|
export namespace view {}
|
|
1496
1465
|
}
|
package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts
CHANGED
|
@@ -563,12 +563,6 @@ export namespace stable_pool {
|
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
565
|
|
|
566
|
-
export interface StablePoolInfoInstance
|
|
567
|
-
extends TypedEventInstance<StablePoolInfo> {
|
|
568
|
-
data_decoded: StablePoolInfo;
|
|
569
|
-
type_arguments: [];
|
|
570
|
-
}
|
|
571
|
-
|
|
572
566
|
export interface StablePoolLookup {
|
|
573
567
|
name_to_pool: _0x1.table.Table<string, stable_pool.StablePoolInfo>;
|
|
574
568
|
id_to_name: _0x1.table.Table<bigint, string>;
|
|
@@ -1763,12 +1757,6 @@ export namespace weighted_pool {
|
|
|
1763
1757
|
}
|
|
1764
1758
|
}
|
|
1765
1759
|
|
|
1766
|
-
export interface WeightedPoolInfoInstance
|
|
1767
|
-
extends TypedEventInstance<WeightedPoolInfo> {
|
|
1768
|
-
data_decoded: WeightedPoolInfo;
|
|
1769
|
-
type_arguments: [];
|
|
1770
|
-
}
|
|
1771
|
-
|
|
1772
1760
|
export interface WeightedPoolLookup {
|
|
1773
1761
|
name_to_pool: _0x1.table.Table<string, weighted_pool.WeightedPoolInfo>;
|
|
1774
1762
|
id_to_name: _0x1.table.Table<bigint, string>;
|
package/src/tests/types/0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.ts
CHANGED
|
@@ -52,12 +52,6 @@ export namespace fixed_point64 {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export interface FixedPoint64Instance
|
|
56
|
-
extends TypedEventInstance<FixedPoint64> {
|
|
57
|
-
data_decoded: FixedPoint64;
|
|
58
|
-
type_arguments: [];
|
|
59
|
-
}
|
|
60
|
-
|
|
61
55
|
export namespace entry {}
|
|
62
56
|
export namespace view {}
|
|
63
57
|
}
|
package/src/tests/types/0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541.ts
CHANGED
|
@@ -87,11 +87,6 @@ export namespace amm {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export interface LPInstance extends TypedEventInstance<LP<any, any>> {
|
|
91
|
-
data_decoded: LP<any, any>;
|
|
92
|
-
type_arguments: [string, string];
|
|
93
|
-
}
|
|
94
|
-
|
|
95
90
|
export interface Pool<T0, T1> {
|
|
96
91
|
frozen: boolean;
|
|
97
92
|
timestamp: bigint;
|
|
@@ -549,11 +544,6 @@ export namespace util {
|
|
|
549
544
|
}
|
|
550
545
|
}
|
|
551
546
|
|
|
552
|
-
export interface TypeInstance extends TypedEventInstance<Type> {
|
|
553
|
-
data_decoded: Type;
|
|
554
|
-
type_arguments: [];
|
|
555
|
-
}
|
|
556
|
-
|
|
557
547
|
export namespace entry {}
|
|
558
548
|
export namespace view {}
|
|
559
549
|
}
|
|
@@ -648,11 +638,6 @@ export namespace vault {
|
|
|
648
638
|
}
|
|
649
639
|
}
|
|
650
640
|
|
|
651
|
-
export interface NothingInstance extends TypedEventInstance<Nothing> {
|
|
652
|
-
data_decoded: Nothing;
|
|
653
|
-
type_arguments: [];
|
|
654
|
-
}
|
|
655
|
-
|
|
656
641
|
export interface TransferEvent {
|
|
657
642
|
coinType: string;
|
|
658
643
|
from: MoveAddressType;
|
|
@@ -1001,11 +986,6 @@ export namespace critbit {
|
|
|
1001
986
|
}
|
|
1002
987
|
}
|
|
1003
988
|
|
|
1004
|
-
export interface DataNodeInstance extends TypedEventInstance<DataNode<any>> {
|
|
1005
|
-
data_decoded: DataNode<any>;
|
|
1006
|
-
type_arguments: [string];
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
989
|
export interface TreeNode {
|
|
1010
990
|
mask: bigint;
|
|
1011
991
|
parent: bigint;
|
|
@@ -1024,11 +1004,6 @@ export namespace critbit {
|
|
|
1024
1004
|
}
|
|
1025
1005
|
}
|
|
1026
1006
|
|
|
1027
|
-
export interface TreeNodeInstance extends TypedEventInstance<TreeNode> {
|
|
1028
|
-
data_decoded: TreeNode;
|
|
1029
|
-
type_arguments: [];
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
1007
|
export namespace entry {}
|
|
1033
1008
|
export namespace view {}
|
|
1034
1009
|
}
|
|
@@ -1050,11 +1025,6 @@ export namespace uint256 {
|
|
|
1050
1025
|
}
|
|
1051
1026
|
}
|
|
1052
1027
|
|
|
1053
|
-
export interface Uint256Instance extends TypedEventInstance<Uint256> {
|
|
1054
|
-
data_decoded: Uint256;
|
|
1055
|
-
type_arguments: [];
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
1028
|
export namespace entry {}
|
|
1059
1029
|
export namespace view {}
|
|
1060
1030
|
}
|
|
@@ -1198,12 +1168,6 @@ export namespace critbit_v {
|
|
|
1198
1168
|
}
|
|
1199
1169
|
}
|
|
1200
1170
|
|
|
1201
|
-
export interface CritbitTreeInstance
|
|
1202
|
-
extends TypedEventInstance<CritbitTree<any>> {
|
|
1203
|
-
data_decoded: CritbitTree<any>;
|
|
1204
|
-
type_arguments: [string];
|
|
1205
|
-
}
|
|
1206
|
-
|
|
1207
1171
|
export interface DataNode<T0> {
|
|
1208
1172
|
key: bigint;
|
|
1209
1173
|
parent: bigint;
|
|
@@ -1223,11 +1187,6 @@ export namespace critbit_v {
|
|
|
1223
1187
|
}
|
|
1224
1188
|
}
|
|
1225
1189
|
|
|
1226
|
-
export interface DataNodeInstance extends TypedEventInstance<DataNode<any>> {
|
|
1227
|
-
data_decoded: DataNode<any>;
|
|
1228
|
-
type_arguments: [string];
|
|
1229
|
-
}
|
|
1230
|
-
|
|
1231
1190
|
export interface TreeNode {
|
|
1232
1191
|
mask: bigint;
|
|
1233
1192
|
parent: bigint;
|
|
@@ -1246,11 +1205,6 @@ export namespace critbit_v {
|
|
|
1246
1205
|
}
|
|
1247
1206
|
}
|
|
1248
1207
|
|
|
1249
|
-
export interface TreeNodeInstance extends TypedEventInstance<TreeNode> {
|
|
1250
|
-
data_decoded: TreeNode;
|
|
1251
|
-
type_arguments: [];
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
1208
|
export namespace entry {}
|
|
1255
1209
|
export namespace view {}
|
|
1256
1210
|
}
|
|
@@ -1548,11 +1502,6 @@ export namespace clob_market {
|
|
|
1548
1502
|
}
|
|
1549
1503
|
}
|
|
1550
1504
|
|
|
1551
|
-
export interface L2QuoteInstance extends TypedEventInstance<L2Quote> {
|
|
1552
|
-
data_decoded: L2Quote;
|
|
1553
|
-
type_arguments: [];
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
1505
|
export interface Level {
|
|
1557
1506
|
price: bigint;
|
|
1558
1507
|
total_quantity: bigint;
|
|
@@ -1664,12 +1613,6 @@ export namespace clob_market {
|
|
|
1664
1613
|
}
|
|
1665
1614
|
}
|
|
1666
1615
|
|
|
1667
|
-
export interface OpenOrderEventInfoInstance
|
|
1668
|
-
extends TypedEventInstance<OpenOrderEventInfo> {
|
|
1669
|
-
data_decoded: OpenOrderEventInfo;
|
|
1670
|
-
type_arguments: [];
|
|
1671
|
-
}
|
|
1672
|
-
|
|
1673
1616
|
export interface OpenOrderInfo {
|
|
1674
1617
|
price: bigint;
|
|
1675
1618
|
is_bid: boolean;
|
|
@@ -1686,12 +1629,6 @@ export namespace clob_market {
|
|
|
1686
1629
|
}
|
|
1687
1630
|
}
|
|
1688
1631
|
|
|
1689
|
-
export interface OpenOrderInfoInstance
|
|
1690
|
-
extends TypedEventInstance<OpenOrderInfo> {
|
|
1691
|
-
data_decoded: OpenOrderInfo;
|
|
1692
|
-
type_arguments: [];
|
|
1693
|
-
}
|
|
1694
|
-
|
|
1695
1632
|
export interface OpenOrdersEvent {
|
|
1696
1633
|
open_orders: clob_market.OpenOrderEventInfo[];
|
|
1697
1634
|
}
|
package/src/to-internal.ts
CHANGED