@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/cjs/builtin/0x1.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.fixed_point64 = exports.fixed_point32 = exports.config_buffer = exports.bn254_algebra = exports.aptos_account = exports.aggregator_v2 = exports.string_utils = exports.smart_vector = exports.ristretto255 = exports.managed_coin = exports.gas_schedule = exports.copyable_any = exports.chain_status = exports.storage_gas = exports.smart_table = exports.simple_map = exports.randomness = exports.comparator = exports.capability = exports.bit_vector = exports.big_vector = exports.aptos_coin = exports.aggregator = exports.type_info = exports.timestamp = exports.secp256k1 = exports.pool_u64 = exports.features = exports.chain_id = exports.bls12381 = exports.vesting = exports.version = exports.genesis = exports.ed25519 = exports.account = exports.voting = exports.
|
|
6
|
+
exports.fixed_point64 = exports.fixed_point32 = exports.config_buffer = exports.bn254_algebra = exports.aptos_account = exports.aggregator_v2 = exports.string_utils = exports.smart_vector = exports.ristretto255 = exports.managed_coin = exports.gas_schedule = exports.copyable_any = exports.chain_status = exports.storage_gas = exports.smart_table = exports.simple_map = exports.randomness = exports.comparator = exports.capability = exports.bit_vector = exports.big_vector = exports.aptos_coin = exports.aggregator = exports.type_info = exports.timestamp = exports.secp256k1 = exports.pool_u64 = exports.features = exports.chain_id = exports.bls12381 = exports.vesting = exports.version = exports.genesis = exports.ed25519 = exports.account = exports.voting = exports.string$ = exports.option = exports.object$ = exports.table = exports.stake = exports.event = exports.block = exports.jwks = exports.guid = exports.coin = exports.code = exports.dkg = exports.any$ = exports.acl = void 0;
|
|
7
7
|
exports.loadAllTypes = exports.dispatchable_fungible_asset = exports.ristretto255_bulletproofs = exports.validator_consensus_info = exports.randomness_config_seqnum = exports.randomness_api_v0_config = exports.transaction_validation = exports.primary_fungible_store = exports.object_code_deployment = exports.ristretto255_pedersen = exports.reconfiguration_state = exports.ristretto255_elgamal = exports.jwk_consensus_config = exports.transaction_context = exports.optional_aggregator = exports.governance_proposal = exports.aggregator_factory = exports.table_with_length = exports.randomness_config = exports.staking_contract = exports.resource_account = exports.pool_u64_unbound = exports.multisig_account = exports.execution_config = exports.consensus_config = exports.bls12381_algebra = exports.aptos_governance = exports.transaction_fee = exports.reconfiguration = exports.keyless_account = exports.delegation_pool = exports.staking_config = exports.fungible_asset = exports.crypto_algebra = exports.state_storage = exports.staking_proxy = exports.multi_ed25519 = exports.function_info = void 0;
|
|
8
8
|
/* Generated types for 0x1, original address 0x1 */
|
|
9
9
|
const move_1 = require("@typemove/move");
|
|
@@ -20,8 +20,8 @@ var acl;
|
|
|
20
20
|
ACL.type = type;
|
|
21
21
|
})(ACL = acl.ACL || (acl.ACL = {}));
|
|
22
22
|
})(acl || (exports.acl = acl = {}));
|
|
23
|
-
var
|
|
24
|
-
(function (
|
|
23
|
+
var any$;
|
|
24
|
+
(function (any$) {
|
|
25
25
|
let Any;
|
|
26
26
|
(function (Any) {
|
|
27
27
|
Any.TYPE_QNAME = "0x1::any::Any";
|
|
@@ -30,8 +30,8 @@ var any_;
|
|
|
30
30
|
return TYPE.apply();
|
|
31
31
|
}
|
|
32
32
|
Any.type = type;
|
|
33
|
-
})(Any =
|
|
34
|
-
})(
|
|
33
|
+
})(Any = any$.Any || (any$.Any = {}));
|
|
34
|
+
})(any$ || (exports.any$ = any$ = {}));
|
|
35
35
|
var dkg;
|
|
36
36
|
(function (dkg) {
|
|
37
37
|
let DKGSessionMetadata;
|
|
@@ -700,7 +700,7 @@ var coin;
|
|
|
700
700
|
return (await coder.decodeArray(res, type.return));
|
|
701
701
|
}
|
|
702
702
|
view.supply = supply;
|
|
703
|
-
async function symbol(client, request, version) {
|
|
703
|
+
async function symbol$(client, request, version) {
|
|
704
704
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
705
705
|
const data = {
|
|
706
706
|
function: "0x1::coin::symbol",
|
|
@@ -714,7 +714,7 @@ var coin;
|
|
|
714
714
|
const type = await coder.getMoveFunction("0x1::coin::symbol");
|
|
715
715
|
return (await coder.decodeArray(res, type.return));
|
|
716
716
|
}
|
|
717
|
-
view.symbol = symbol
|
|
717
|
+
view.symbol$ = symbol$;
|
|
718
718
|
})(view = coin.view || (coin.view = {}));
|
|
719
719
|
})(coin || (exports.coin = coin = {}));
|
|
720
720
|
var guid;
|
|
@@ -1738,8 +1738,8 @@ var table;
|
|
|
1738
1738
|
Table.type = type;
|
|
1739
1739
|
})(Table = table.Table || (table.Table = {}));
|
|
1740
1740
|
})(table || (exports.table = table = {}));
|
|
1741
|
-
var
|
|
1742
|
-
(function (
|
|
1741
|
+
var object$;
|
|
1742
|
+
(function (object$) {
|
|
1743
1743
|
let ConstructorRef;
|
|
1744
1744
|
(function (ConstructorRef) {
|
|
1745
1745
|
ConstructorRef.TYPE_QNAME = "0x1::object::ConstructorRef";
|
|
@@ -1748,7 +1748,7 @@ var object_;
|
|
|
1748
1748
|
return TYPE.apply();
|
|
1749
1749
|
}
|
|
1750
1750
|
ConstructorRef.type = type;
|
|
1751
|
-
})(ConstructorRef =
|
|
1751
|
+
})(ConstructorRef = object$.ConstructorRef || (object$.ConstructorRef = {}));
|
|
1752
1752
|
let DeleteRef;
|
|
1753
1753
|
(function (DeleteRef) {
|
|
1754
1754
|
DeleteRef.TYPE_QNAME = "0x1::object::DeleteRef";
|
|
@@ -1757,7 +1757,7 @@ var object_;
|
|
|
1757
1757
|
return TYPE.apply();
|
|
1758
1758
|
}
|
|
1759
1759
|
DeleteRef.type = type;
|
|
1760
|
-
})(DeleteRef =
|
|
1760
|
+
})(DeleteRef = object$.DeleteRef || (object$.DeleteRef = {}));
|
|
1761
1761
|
let DeriveRef;
|
|
1762
1762
|
(function (DeriveRef) {
|
|
1763
1763
|
DeriveRef.TYPE_QNAME = "0x1::object::DeriveRef";
|
|
@@ -1766,7 +1766,7 @@ var object_;
|
|
|
1766
1766
|
return TYPE.apply();
|
|
1767
1767
|
}
|
|
1768
1768
|
DeriveRef.type = type;
|
|
1769
|
-
})(DeriveRef =
|
|
1769
|
+
})(DeriveRef = object$.DeriveRef || (object$.DeriveRef = {}));
|
|
1770
1770
|
let ExtendRef;
|
|
1771
1771
|
(function (ExtendRef) {
|
|
1772
1772
|
ExtendRef.TYPE_QNAME = "0x1::object::ExtendRef";
|
|
@@ -1775,7 +1775,7 @@ var object_;
|
|
|
1775
1775
|
return TYPE.apply();
|
|
1776
1776
|
}
|
|
1777
1777
|
ExtendRef.type = type;
|
|
1778
|
-
})(ExtendRef =
|
|
1778
|
+
})(ExtendRef = object$.ExtendRef || (object$.ExtendRef = {}));
|
|
1779
1779
|
let LinearTransferRef;
|
|
1780
1780
|
(function (LinearTransferRef) {
|
|
1781
1781
|
LinearTransferRef.TYPE_QNAME = "0x1::object::LinearTransferRef";
|
|
@@ -1784,7 +1784,7 @@ var object_;
|
|
|
1784
1784
|
return TYPE.apply();
|
|
1785
1785
|
}
|
|
1786
1786
|
LinearTransferRef.type = type;
|
|
1787
|
-
})(LinearTransferRef =
|
|
1787
|
+
})(LinearTransferRef = object$.LinearTransferRef || (object$.LinearTransferRef = {}));
|
|
1788
1788
|
let Object;
|
|
1789
1789
|
(function (Object) {
|
|
1790
1790
|
Object.TYPE_QNAME = "0x1::object::Object";
|
|
@@ -1793,7 +1793,7 @@ var object_;
|
|
|
1793
1793
|
return TYPE.apply(arg0);
|
|
1794
1794
|
}
|
|
1795
1795
|
Object.type = type;
|
|
1796
|
-
})(Object =
|
|
1796
|
+
})(Object = object$.Object || (object$.Object = {}));
|
|
1797
1797
|
let ObjectCore;
|
|
1798
1798
|
(function (ObjectCore) {
|
|
1799
1799
|
ObjectCore.TYPE_QNAME = "0x1::object::ObjectCore";
|
|
@@ -1802,7 +1802,7 @@ var object_;
|
|
|
1802
1802
|
return TYPE.apply();
|
|
1803
1803
|
}
|
|
1804
1804
|
ObjectCore.type = type;
|
|
1805
|
-
})(ObjectCore =
|
|
1805
|
+
})(ObjectCore = object$.ObjectCore || (object$.ObjectCore = {}));
|
|
1806
1806
|
let ObjectGroup;
|
|
1807
1807
|
(function (ObjectGroup) {
|
|
1808
1808
|
ObjectGroup.TYPE_QNAME = "0x1::object::ObjectGroup";
|
|
@@ -1811,7 +1811,7 @@ var object_;
|
|
|
1811
1811
|
return TYPE.apply();
|
|
1812
1812
|
}
|
|
1813
1813
|
ObjectGroup.type = type;
|
|
1814
|
-
})(ObjectGroup =
|
|
1814
|
+
})(ObjectGroup = object$.ObjectGroup || (object$.ObjectGroup = {}));
|
|
1815
1815
|
let TombStone;
|
|
1816
1816
|
(function (TombStone) {
|
|
1817
1817
|
TombStone.TYPE_QNAME = "0x1::object::TombStone";
|
|
@@ -1820,7 +1820,7 @@ var object_;
|
|
|
1820
1820
|
return TYPE.apply();
|
|
1821
1821
|
}
|
|
1822
1822
|
TombStone.type = type;
|
|
1823
|
-
})(TombStone =
|
|
1823
|
+
})(TombStone = object$.TombStone || (object$.TombStone = {}));
|
|
1824
1824
|
let Transfer;
|
|
1825
1825
|
(function (Transfer) {
|
|
1826
1826
|
Transfer.TYPE_QNAME = "0x1::object::Transfer";
|
|
@@ -1829,7 +1829,7 @@ var object_;
|
|
|
1829
1829
|
return TYPE.apply();
|
|
1830
1830
|
}
|
|
1831
1831
|
Transfer.type = type;
|
|
1832
|
-
})(Transfer =
|
|
1832
|
+
})(Transfer = object$.Transfer || (object$.Transfer = {}));
|
|
1833
1833
|
let TransferEvent;
|
|
1834
1834
|
(function (TransferEvent) {
|
|
1835
1835
|
TransferEvent.TYPE_QNAME = "0x1::object::TransferEvent";
|
|
@@ -1838,7 +1838,7 @@ var object_;
|
|
|
1838
1838
|
return TYPE.apply();
|
|
1839
1839
|
}
|
|
1840
1840
|
TransferEvent.type = type;
|
|
1841
|
-
})(TransferEvent =
|
|
1841
|
+
})(TransferEvent = object$.TransferEvent || (object$.TransferEvent = {}));
|
|
1842
1842
|
let TransferRef;
|
|
1843
1843
|
(function (TransferRef) {
|
|
1844
1844
|
TransferRef.TYPE_QNAME = "0x1::object::TransferRef";
|
|
@@ -1847,7 +1847,7 @@ var object_;
|
|
|
1847
1847
|
return TYPE.apply();
|
|
1848
1848
|
}
|
|
1849
1849
|
TransferRef.type = type;
|
|
1850
|
-
})(TransferRef =
|
|
1850
|
+
})(TransferRef = object$.TransferRef || (object$.TransferRef = {}));
|
|
1851
1851
|
let Untransferable;
|
|
1852
1852
|
(function (Untransferable) {
|
|
1853
1853
|
Untransferable.TYPE_QNAME = "0x1::object::Untransferable";
|
|
@@ -1856,7 +1856,7 @@ var object_;
|
|
|
1856
1856
|
return TYPE.apply();
|
|
1857
1857
|
}
|
|
1858
1858
|
Untransferable.type = type;
|
|
1859
|
-
})(Untransferable =
|
|
1859
|
+
})(Untransferable = object$.Untransferable || (object$.Untransferable = {}));
|
|
1860
1860
|
let entry;
|
|
1861
1861
|
(function (entry) {
|
|
1862
1862
|
async function burn(client, account, request, options) {
|
|
@@ -1944,7 +1944,7 @@ var object_;
|
|
|
1944
1944
|
});
|
|
1945
1945
|
}
|
|
1946
1946
|
entry.unburn = unburn;
|
|
1947
|
-
})(entry =
|
|
1947
|
+
})(entry = object$.entry || (object$.entry = {}));
|
|
1948
1948
|
let view;
|
|
1949
1949
|
(function (view) {
|
|
1950
1950
|
async function isBurnt(client, request, version) {
|
|
@@ -1977,8 +1977,8 @@ var object_;
|
|
|
1977
1977
|
return (await coder.decodeArray(res, type.return));
|
|
1978
1978
|
}
|
|
1979
1979
|
view.isUntransferable = isUntransferable;
|
|
1980
|
-
})(view =
|
|
1981
|
-
})(
|
|
1980
|
+
})(view = object$.view || (object$.view = {}));
|
|
1981
|
+
})(object$ || (exports.object$ = object$ = {}));
|
|
1982
1982
|
var option;
|
|
1983
1983
|
(function (option) {
|
|
1984
1984
|
let Option;
|
|
@@ -1991,8 +1991,8 @@ var option;
|
|
|
1991
1991
|
Option.type = type;
|
|
1992
1992
|
})(Option = option.Option || (option.Option = {}));
|
|
1993
1993
|
})(option || (exports.option = option = {}));
|
|
1994
|
-
var
|
|
1995
|
-
(function (
|
|
1994
|
+
var string$;
|
|
1995
|
+
(function (string$) {
|
|
1996
1996
|
let String;
|
|
1997
1997
|
(function (String) {
|
|
1998
1998
|
String.TYPE_QNAME = "0x1::string::String";
|
|
@@ -2001,8 +2001,8 @@ var string_;
|
|
|
2001
2001
|
return TYPE.apply();
|
|
2002
2002
|
}
|
|
2003
2003
|
String.type = type;
|
|
2004
|
-
})(String =
|
|
2005
|
-
})(
|
|
2004
|
+
})(String = string$.String || (string$.String = {}));
|
|
2005
|
+
})(string$ || (exports.string$ = string$ = {}));
|
|
2006
2006
|
var voting;
|
|
2007
2007
|
(function (voting) {
|
|
2008
2008
|
let CreateProposal;
|
|
@@ -5415,7 +5415,7 @@ var fungible_asset;
|
|
|
5415
5415
|
return (await coder.decodeArray(res, type.return));
|
|
5416
5416
|
}
|
|
5417
5417
|
view.supply = supply;
|
|
5418
|
-
async function symbol(client, request, version) {
|
|
5418
|
+
async function symbol$(client, request, version) {
|
|
5419
5419
|
const coder = (0, aptos_1.defaultMoveCoder)(client.config.fullnode);
|
|
5420
5420
|
const data = {
|
|
5421
5421
|
function: "0x1::fungible_asset::symbol",
|
|
@@ -5429,7 +5429,7 @@ var fungible_asset;
|
|
|
5429
5429
|
const type = await coder.getMoveFunction("0x1::fungible_asset::symbol");
|
|
5430
5430
|
return (await coder.decodeArray(res, type.return));
|
|
5431
5431
|
}
|
|
5432
|
-
view.symbol = symbol
|
|
5432
|
+
view.symbol$ = symbol$;
|
|
5433
5433
|
})(view = fungible_asset.view || (fungible_asset.view = {}));
|
|
5434
5434
|
})(fungible_asset || (exports.fungible_asset = fungible_asset = {}));
|
|
5435
5435
|
var staking_config;
|