@typemove/aptos 1.6.11 → 1.6.12-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/dist/cjs/builtin/0x1.d.ts +60 -60
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +31 -31
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +1 -1
- package/dist/cjs/builtin/0x4.d.ts +40 -40
- package/dist/esm/builtin/0x1.d.ts +60 -60
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +30 -30
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +1 -1
- package/dist/esm/builtin/0x4.d.ts +40 -40
- package/package.json +2 -2
- package/src/builtin/0x1.ts +60 -60
- package/src/builtin/0x3.ts +1 -1
- package/src/builtin/0x4.ts +40 -40
- package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts +1 -1
package/dist/esm/builtin/0x1.js
CHANGED
|
@@ -16,8 +16,8 @@ export var acl;
|
|
|
16
16
|
ACL.type = type;
|
|
17
17
|
})(ACL = acl.ACL || (acl.ACL = {}));
|
|
18
18
|
})(acl || (acl = {}));
|
|
19
|
-
export var
|
|
20
|
-
(function (
|
|
19
|
+
export var any$;
|
|
20
|
+
(function (any$) {
|
|
21
21
|
let Any;
|
|
22
22
|
(function (Any) {
|
|
23
23
|
Any.TYPE_QNAME = "0x1::any::Any";
|
|
@@ -26,8 +26,8 @@ export var any_;
|
|
|
26
26
|
return TYPE.apply();
|
|
27
27
|
}
|
|
28
28
|
Any.type = type;
|
|
29
|
-
})(Any =
|
|
30
|
-
})(
|
|
29
|
+
})(Any = any$.Any || (any$.Any = {}));
|
|
30
|
+
})(any$ || (any$ = {}));
|
|
31
31
|
export var dkg;
|
|
32
32
|
(function (dkg) {
|
|
33
33
|
let DKGSessionMetadata;
|
|
@@ -696,7 +696,7 @@ export var coin;
|
|
|
696
696
|
return (await coder.decodeArray(res, type.return));
|
|
697
697
|
}
|
|
698
698
|
view.supply = supply;
|
|
699
|
-
async function symbol(client, request, version) {
|
|
699
|
+
async function symbol$(client, request, version) {
|
|
700
700
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
701
701
|
const data = {
|
|
702
702
|
function: "0x1::coin::symbol",
|
|
@@ -710,7 +710,7 @@ export var coin;
|
|
|
710
710
|
const type = await coder.getMoveFunction("0x1::coin::symbol");
|
|
711
711
|
return (await coder.decodeArray(res, type.return));
|
|
712
712
|
}
|
|
713
|
-
view.symbol = symbol
|
|
713
|
+
view.symbol$ = symbol$;
|
|
714
714
|
})(view = coin.view || (coin.view = {}));
|
|
715
715
|
})(coin || (coin = {}));
|
|
716
716
|
export var guid;
|
|
@@ -1734,8 +1734,8 @@ export var table;
|
|
|
1734
1734
|
Table.type = type;
|
|
1735
1735
|
})(Table = table.Table || (table.Table = {}));
|
|
1736
1736
|
})(table || (table = {}));
|
|
1737
|
-
export var
|
|
1738
|
-
(function (
|
|
1737
|
+
export var object$;
|
|
1738
|
+
(function (object$) {
|
|
1739
1739
|
let ConstructorRef;
|
|
1740
1740
|
(function (ConstructorRef) {
|
|
1741
1741
|
ConstructorRef.TYPE_QNAME = "0x1::object::ConstructorRef";
|
|
@@ -1744,7 +1744,7 @@ export var object_;
|
|
|
1744
1744
|
return TYPE.apply();
|
|
1745
1745
|
}
|
|
1746
1746
|
ConstructorRef.type = type;
|
|
1747
|
-
})(ConstructorRef =
|
|
1747
|
+
})(ConstructorRef = object$.ConstructorRef || (object$.ConstructorRef = {}));
|
|
1748
1748
|
let DeleteRef;
|
|
1749
1749
|
(function (DeleteRef) {
|
|
1750
1750
|
DeleteRef.TYPE_QNAME = "0x1::object::DeleteRef";
|
|
@@ -1753,7 +1753,7 @@ export var object_;
|
|
|
1753
1753
|
return TYPE.apply();
|
|
1754
1754
|
}
|
|
1755
1755
|
DeleteRef.type = type;
|
|
1756
|
-
})(DeleteRef =
|
|
1756
|
+
})(DeleteRef = object$.DeleteRef || (object$.DeleteRef = {}));
|
|
1757
1757
|
let DeriveRef;
|
|
1758
1758
|
(function (DeriveRef) {
|
|
1759
1759
|
DeriveRef.TYPE_QNAME = "0x1::object::DeriveRef";
|
|
@@ -1762,7 +1762,7 @@ export var object_;
|
|
|
1762
1762
|
return TYPE.apply();
|
|
1763
1763
|
}
|
|
1764
1764
|
DeriveRef.type = type;
|
|
1765
|
-
})(DeriveRef =
|
|
1765
|
+
})(DeriveRef = object$.DeriveRef || (object$.DeriveRef = {}));
|
|
1766
1766
|
let ExtendRef;
|
|
1767
1767
|
(function (ExtendRef) {
|
|
1768
1768
|
ExtendRef.TYPE_QNAME = "0x1::object::ExtendRef";
|
|
@@ -1771,7 +1771,7 @@ export var object_;
|
|
|
1771
1771
|
return TYPE.apply();
|
|
1772
1772
|
}
|
|
1773
1773
|
ExtendRef.type = type;
|
|
1774
|
-
})(ExtendRef =
|
|
1774
|
+
})(ExtendRef = object$.ExtendRef || (object$.ExtendRef = {}));
|
|
1775
1775
|
let LinearTransferRef;
|
|
1776
1776
|
(function (LinearTransferRef) {
|
|
1777
1777
|
LinearTransferRef.TYPE_QNAME = "0x1::object::LinearTransferRef";
|
|
@@ -1780,7 +1780,7 @@ export var object_;
|
|
|
1780
1780
|
return TYPE.apply();
|
|
1781
1781
|
}
|
|
1782
1782
|
LinearTransferRef.type = type;
|
|
1783
|
-
})(LinearTransferRef =
|
|
1783
|
+
})(LinearTransferRef = object$.LinearTransferRef || (object$.LinearTransferRef = {}));
|
|
1784
1784
|
let Object;
|
|
1785
1785
|
(function (Object) {
|
|
1786
1786
|
Object.TYPE_QNAME = "0x1::object::Object";
|
|
@@ -1789,7 +1789,7 @@ export var object_;
|
|
|
1789
1789
|
return TYPE.apply(arg0);
|
|
1790
1790
|
}
|
|
1791
1791
|
Object.type = type;
|
|
1792
|
-
})(Object =
|
|
1792
|
+
})(Object = object$.Object || (object$.Object = {}));
|
|
1793
1793
|
let ObjectCore;
|
|
1794
1794
|
(function (ObjectCore) {
|
|
1795
1795
|
ObjectCore.TYPE_QNAME = "0x1::object::ObjectCore";
|
|
@@ -1798,7 +1798,7 @@ export var object_;
|
|
|
1798
1798
|
return TYPE.apply();
|
|
1799
1799
|
}
|
|
1800
1800
|
ObjectCore.type = type;
|
|
1801
|
-
})(ObjectCore =
|
|
1801
|
+
})(ObjectCore = object$.ObjectCore || (object$.ObjectCore = {}));
|
|
1802
1802
|
let ObjectGroup;
|
|
1803
1803
|
(function (ObjectGroup) {
|
|
1804
1804
|
ObjectGroup.TYPE_QNAME = "0x1::object::ObjectGroup";
|
|
@@ -1807,7 +1807,7 @@ export var object_;
|
|
|
1807
1807
|
return TYPE.apply();
|
|
1808
1808
|
}
|
|
1809
1809
|
ObjectGroup.type = type;
|
|
1810
|
-
})(ObjectGroup =
|
|
1810
|
+
})(ObjectGroup = object$.ObjectGroup || (object$.ObjectGroup = {}));
|
|
1811
1811
|
let TombStone;
|
|
1812
1812
|
(function (TombStone) {
|
|
1813
1813
|
TombStone.TYPE_QNAME = "0x1::object::TombStone";
|
|
@@ -1816,7 +1816,7 @@ export var object_;
|
|
|
1816
1816
|
return TYPE.apply();
|
|
1817
1817
|
}
|
|
1818
1818
|
TombStone.type = type;
|
|
1819
|
-
})(TombStone =
|
|
1819
|
+
})(TombStone = object$.TombStone || (object$.TombStone = {}));
|
|
1820
1820
|
let Transfer;
|
|
1821
1821
|
(function (Transfer) {
|
|
1822
1822
|
Transfer.TYPE_QNAME = "0x1::object::Transfer";
|
|
@@ -1825,7 +1825,7 @@ export var object_;
|
|
|
1825
1825
|
return TYPE.apply();
|
|
1826
1826
|
}
|
|
1827
1827
|
Transfer.type = type;
|
|
1828
|
-
})(Transfer =
|
|
1828
|
+
})(Transfer = object$.Transfer || (object$.Transfer = {}));
|
|
1829
1829
|
let TransferEvent;
|
|
1830
1830
|
(function (TransferEvent) {
|
|
1831
1831
|
TransferEvent.TYPE_QNAME = "0x1::object::TransferEvent";
|
|
@@ -1834,7 +1834,7 @@ export var object_;
|
|
|
1834
1834
|
return TYPE.apply();
|
|
1835
1835
|
}
|
|
1836
1836
|
TransferEvent.type = type;
|
|
1837
|
-
})(TransferEvent =
|
|
1837
|
+
})(TransferEvent = object$.TransferEvent || (object$.TransferEvent = {}));
|
|
1838
1838
|
let TransferRef;
|
|
1839
1839
|
(function (TransferRef) {
|
|
1840
1840
|
TransferRef.TYPE_QNAME = "0x1::object::TransferRef";
|
|
@@ -1843,7 +1843,7 @@ export var object_;
|
|
|
1843
1843
|
return TYPE.apply();
|
|
1844
1844
|
}
|
|
1845
1845
|
TransferRef.type = type;
|
|
1846
|
-
})(TransferRef =
|
|
1846
|
+
})(TransferRef = object$.TransferRef || (object$.TransferRef = {}));
|
|
1847
1847
|
let Untransferable;
|
|
1848
1848
|
(function (Untransferable) {
|
|
1849
1849
|
Untransferable.TYPE_QNAME = "0x1::object::Untransferable";
|
|
@@ -1852,7 +1852,7 @@ export var object_;
|
|
|
1852
1852
|
return TYPE.apply();
|
|
1853
1853
|
}
|
|
1854
1854
|
Untransferable.type = type;
|
|
1855
|
-
})(Untransferable =
|
|
1855
|
+
})(Untransferable = object$.Untransferable || (object$.Untransferable = {}));
|
|
1856
1856
|
let entry;
|
|
1857
1857
|
(function (entry) {
|
|
1858
1858
|
async function burn(client, account, request, options) {
|
|
@@ -1940,7 +1940,7 @@ export var object_;
|
|
|
1940
1940
|
});
|
|
1941
1941
|
}
|
|
1942
1942
|
entry.unburn = unburn;
|
|
1943
|
-
})(entry =
|
|
1943
|
+
})(entry = object$.entry || (object$.entry = {}));
|
|
1944
1944
|
let view;
|
|
1945
1945
|
(function (view) {
|
|
1946
1946
|
async function isBurnt(client, request, version) {
|
|
@@ -1973,8 +1973,8 @@ export var object_;
|
|
|
1973
1973
|
return (await coder.decodeArray(res, type.return));
|
|
1974
1974
|
}
|
|
1975
1975
|
view.isUntransferable = isUntransferable;
|
|
1976
|
-
})(view =
|
|
1977
|
-
})(
|
|
1976
|
+
})(view = object$.view || (object$.view = {}));
|
|
1977
|
+
})(object$ || (object$ = {}));
|
|
1978
1978
|
export var option;
|
|
1979
1979
|
(function (option) {
|
|
1980
1980
|
let Option;
|
|
@@ -1987,8 +1987,8 @@ export var option;
|
|
|
1987
1987
|
Option.type = type;
|
|
1988
1988
|
})(Option = option.Option || (option.Option = {}));
|
|
1989
1989
|
})(option || (option = {}));
|
|
1990
|
-
export var
|
|
1991
|
-
(function (
|
|
1990
|
+
export var string$;
|
|
1991
|
+
(function (string$) {
|
|
1992
1992
|
let String;
|
|
1993
1993
|
(function (String) {
|
|
1994
1994
|
String.TYPE_QNAME = "0x1::string::String";
|
|
@@ -1997,8 +1997,8 @@ export var string_;
|
|
|
1997
1997
|
return TYPE.apply();
|
|
1998
1998
|
}
|
|
1999
1999
|
String.type = type;
|
|
2000
|
-
})(String =
|
|
2001
|
-
})(
|
|
2000
|
+
})(String = string$.String || (string$.String = {}));
|
|
2001
|
+
})(string$ || (string$ = {}));
|
|
2002
2002
|
export var voting;
|
|
2003
2003
|
(function (voting) {
|
|
2004
2004
|
let CreateProposal;
|
|
@@ -5411,7 +5411,7 @@ export var fungible_asset;
|
|
|
5411
5411
|
return (await coder.decodeArray(res, type.return));
|
|
5412
5412
|
}
|
|
5413
5413
|
view.supply = supply;
|
|
5414
|
-
async function symbol(client, request, version) {
|
|
5414
|
+
async function symbol$(client, request, version) {
|
|
5415
5415
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
5416
5416
|
const data = {
|
|
5417
5417
|
function: "0x1::fungible_asset::symbol",
|
|
@@ -5425,7 +5425,7 @@ export var fungible_asset;
|
|
|
5425
5425
|
const type = await coder.getMoveFunction("0x1::fungible_asset::symbol");
|
|
5426
5426
|
return (await coder.decodeArray(res, type.return));
|
|
5427
5427
|
}
|
|
5428
|
-
view.symbol = symbol
|
|
5428
|
+
view.symbol$ = symbol$;
|
|
5429
5429
|
})(view = fungible_asset.view || (fungible_asset.view = {}));
|
|
5430
5430
|
})(fungible_asset || (fungible_asset = {}));
|
|
5431
5431
|
export var staking_config;
|