viem 2.0.0-beta.0 → 2.0.0-beta.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/CHANGELOG.md +62 -0
- package/README.md +4 -0
- package/_cjs/actions/index.js.map +1 -1
- package/_cjs/actions/public/getBlockNumber.js +2 -2
- package/_cjs/actions/public/getBlockNumber.js.map +1 -1
- package/_cjs/actions/public/watchContractEvent.js +2 -1
- package/_cjs/actions/public/watchContractEvent.js.map +1 -1
- package/_cjs/chains/celo/formatters.js +23 -35
- package/_cjs/chains/celo/formatters.js.map +1 -1
- package/_cjs/chains/celo/serializers.js +20 -38
- package/_cjs/chains/celo/serializers.js.map +1 -1
- package/_cjs/chains/celo/utils.js +44 -0
- package/_cjs/chains/celo/utils.js.map +1 -0
- package/_cjs/chains/definitions/astar.js +29 -0
- package/_cjs/chains/definitions/astar.js.map +1 -0
- package/_cjs/chains/definitions/gnosis.js +4 -1
- package/_cjs/chains/definitions/gnosis.js.map +1 -1
- package/_cjs/chains/definitions/gnosisChiado.js +10 -1
- package/_cjs/chains/definitions/gnosisChiado.js.map +1 -1
- package/_cjs/chains/definitions/kava.js +29 -0
- package/_cjs/chains/definitions/kava.js.map +1 -0
- package/_cjs/chains/definitions/kavaTestnet.js +32 -0
- package/_cjs/chains/definitions/kavaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/neonDevnet.js +1 -1
- package/_cjs/chains/definitions/neonDevnet.js.map +1 -1
- package/_cjs/chains/definitions/neonMainnet.js +27 -0
- package/_cjs/chains/definitions/neonMainnet.js.map +1 -0
- package/_cjs/chains/definitions/scrollSepolia.js +0 -1
- package/_cjs/chains/definitions/scrollSepolia.js.map +1 -1
- package/_cjs/chains/definitions/tenet.js +23 -0
- package/_cjs/chains/definitions/tenet.js.map +1 -0
- package/_cjs/chains/index.js +14 -4
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/chains/zksync/formatters.js +6 -2
- package/_cjs/chains/zksync/formatters.js.map +1 -1
- package/_cjs/errors/contract.js +1 -1
- package/_cjs/errors/contract.js.map +1 -1
- package/_cjs/errors/encoding.js +1 -37
- package/_cjs/errors/encoding.js.map +1 -1
- package/_cjs/errors/estimateGas.js +1 -1
- package/_cjs/errors/estimateGas.js.map +1 -1
- package/_cjs/errors/node.js +11 -11
- package/_cjs/errors/node.js.map +1 -1
- package/_cjs/errors/rpc.js +18 -18
- package/_cjs/errors/rpc.js.map +1 -1
- package/_cjs/errors/transaction.js +1 -1
- package/_cjs/errors/transaction.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/index.js +5 -9
- package/_cjs/index.js.map +1 -1
- package/_cjs/utils/hash/getFunctionSignature.js +9 -9
- package/_cjs/utils/hash/getFunctionSignature.js.map +1 -1
- package/_cjs/utils/hash/normalizeSignature.js +48 -0
- package/_cjs/utils/hash/normalizeSignature.js.map +1 -0
- package/_cjs/utils/index.js +3 -10
- package/_cjs/utils/index.js.map +1 -1
- package/_cjs/utils/transaction/serializeTransaction.js +14 -5
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
- package/_esm/actions/index.js.map +1 -1
- package/_esm/actions/public/getBlockNumber.js +2 -2
- package/_esm/actions/public/getBlockNumber.js.map +1 -1
- package/_esm/actions/public/watchContractEvent.js +2 -1
- package/_esm/actions/public/watchContractEvent.js.map +1 -1
- package/_esm/chains/celo/formatters.js +23 -35
- package/_esm/chains/celo/formatters.js.map +1 -1
- package/_esm/chains/celo/serializers.js +19 -44
- package/_esm/chains/celo/serializers.js.map +1 -1
- package/_esm/chains/celo/utils.js +39 -0
- package/_esm/chains/celo/utils.js.map +1 -0
- package/_esm/chains/definitions/astar.js +26 -0
- package/_esm/chains/definitions/astar.js.map +1 -0
- package/_esm/chains/definitions/gnosis.js +4 -1
- package/_esm/chains/definitions/gnosis.js.map +1 -1
- package/_esm/chains/definitions/gnosisChiado.js +10 -1
- package/_esm/chains/definitions/gnosisChiado.js.map +1 -1
- package/_esm/chains/definitions/kava.js +26 -0
- package/_esm/chains/definitions/kava.js.map +1 -0
- package/_esm/chains/definitions/kavaTestnet.js +29 -0
- package/_esm/chains/definitions/kavaTestnet.js.map +1 -0
- package/_esm/chains/definitions/neonDevnet.js +1 -1
- package/_esm/chains/definitions/neonDevnet.js.map +1 -1
- package/_esm/chains/definitions/neonMainnet.js +24 -0
- package/_esm/chains/definitions/neonMainnet.js.map +1 -0
- package/_esm/chains/definitions/scrollSepolia.js +0 -1
- package/_esm/chains/definitions/scrollSepolia.js.map +1 -1
- package/_esm/chains/definitions/tenet.js +20 -0
- package/_esm/chains/definitions/tenet.js.map +1 -0
- package/_esm/chains/index.js +5 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/chains/zksync/formatters.js +6 -2
- package/_esm/chains/zksync/formatters.js.map +1 -1
- package/_esm/errors/contract.js +1 -1
- package/_esm/errors/contract.js.map +1 -1
- package/_esm/errors/encoding.js +0 -36
- package/_esm/errors/encoding.js.map +1 -1
- package/_esm/errors/estimateGas.js +1 -1
- package/_esm/errors/estimateGas.js.map +1 -1
- package/_esm/errors/node.js +11 -22
- package/_esm/errors/node.js.map +1 -1
- package/_esm/errors/rpc.js +18 -36
- package/_esm/errors/rpc.js.map +1 -1
- package/_esm/errors/transaction.js +1 -1
- package/_esm/errors/transaction.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/index.js +2 -4
- package/_esm/index.js.map +1 -1
- package/_esm/utils/hash/getFunctionSignature.js +9 -9
- package/_esm/utils/hash/getFunctionSignature.js.map +1 -1
- package/_esm/utils/hash/normalizeSignature.js +51 -0
- package/_esm/utils/hash/normalizeSignature.js.map +1 -0
- package/_esm/utils/index.js +1 -7
- package/_esm/utils/index.js.map +1 -1
- package/_esm/utils/transaction/serializeTransaction.js +17 -5
- package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
- package/_types/actions/index.d.ts +1 -5
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/actions/public/getBlockNumber.d.ts +1 -3
- package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
- package/_types/actions/public/watchContractEvent.d.ts.map +1 -1
- package/_types/chains/celo/formatters.d.ts +6 -6
- package/_types/chains/celo/formatters.d.ts.map +1 -1
- package/_types/chains/celo/serializers.d.ts +3 -2
- package/_types/chains/celo/serializers.d.ts.map +1 -1
- package/_types/chains/celo/types.d.ts +13 -9
- package/_types/chains/celo/types.d.ts.map +1 -1
- package/_types/chains/celo/utils.d.ts +7 -0
- package/_types/chains/celo/utils.d.ts.map +1 -0
- package/_types/chains/definitions/astar.d.ts +36 -0
- package/_types/chains/definitions/astar.d.ts.map +1 -0
- package/_types/chains/definitions/celo.d.ts +7 -7
- package/_types/chains/definitions/celoAlfajores.d.ts +7 -7
- package/_types/chains/definitions/celoCannoli.d.ts +7 -7
- package/_types/chains/definitions/gnosis.d.ts +1 -0
- package/_types/chains/definitions/gnosis.d.ts.map +1 -1
- package/_types/chains/definitions/gnosisChiado.d.ts +7 -8
- package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -1
- package/_types/chains/definitions/kava.d.ts +36 -0
- package/_types/chains/definitions/kava.d.ts.map +1 -0
- package/_types/chains/definitions/kavaTestnet.d.ts +36 -0
- package/_types/chains/definitions/kavaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/neonDevnet.d.ts +1 -1
- package/_types/chains/definitions/neonMainnet.d.ts +31 -0
- package/_types/chains/definitions/neonMainnet.d.ts.map +1 -0
- package/_types/chains/definitions/scrollSepolia.d.ts +0 -1
- package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/tenet.d.ts +38 -0
- package/_types/chains/definitions/tenet.d.ts.map +1 -0
- package/_types/chains/index.d.ts +5 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/chains/zksync/formatters.d.ts.map +1 -1
- package/_types/chains/zksync/types.d.ts +7 -7
- package/_types/chains/zksync/types.d.ts.map +1 -1
- package/_types/errors/encoding.d.ts +0 -33
- package/_types/errors/encoding.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/index.d.ts +5 -25
- package/_types/index.d.ts.map +1 -1
- package/_types/types/contract.d.ts +6 -6
- package/_types/types/contract.d.ts.map +1 -1
- package/_types/utils/hash/getFunctionSignature.d.ts +4 -5
- package/_types/utils/hash/getFunctionSignature.d.ts.map +1 -1
- package/_types/utils/hash/normalizeSignature.d.ts +6 -0
- package/_types/utils/hash/normalizeSignature.d.ts.map +1 -0
- package/_types/utils/index.d.ts +1 -7
- package/_types/utils/index.d.ts.map +1 -1
- package/actions/index.ts +0 -4
- package/actions/public/getBlockNumber.ts +2 -4
- package/actions/public/watchContractEvent.ts +2 -1
- package/chains/celo/formatters.ts +24 -37
- package/chains/celo/serializers.ts +23 -59
- package/chains/celo/types.ts +30 -21
- package/chains/celo/utils.ts +68 -0
- package/chains/definitions/astar.ts +26 -0
- package/chains/definitions/gnosis.ts +4 -1
- package/chains/definitions/gnosisChiado.ts +10 -1
- package/chains/definitions/kava.ts +26 -0
- package/chains/definitions/kavaTestnet.ts +29 -0
- package/chains/definitions/neonDevnet.ts +1 -1
- package/chains/definitions/neonMainnet.ts +24 -0
- package/chains/definitions/scrollSepolia.ts +0 -1
- package/chains/definitions/tenet.ts +20 -0
- package/chains/index.ts +5 -0
- package/chains/zksync/formatters.ts +6 -2
- package/chains/zksync/types.ts +7 -7
- package/errors/contract.ts +1 -1
- package/errors/encoding.ts +0 -43
- package/errors/estimateGas.ts +1 -1
- package/errors/transaction.ts +1 -1
- package/errors/version.ts +1 -1
- package/index.ts +0 -26
- package/package.json +2 -1
- package/types/contract.ts +4 -20
- package/utils/hash/getFunctionSignature.ts +11 -21
- package/utils/hash/normalizeSignature.ts +64 -0
- package/utils/index.ts +0 -15
- package/utils/transaction/serializeTransaction.ts +17 -4
- package/_cjs/utils/contract/extractFunctionParts.js +0 -31
- package/_cjs/utils/contract/extractFunctionParts.js.map +0 -1
- package/_esm/utils/contract/extractFunctionParts.js +0 -24
- package/_esm/utils/contract/extractFunctionParts.js.map +0 -1
- package/_types/utils/contract/extractFunctionParts.d.ts +0 -18
- package/_types/utils/contract/extractFunctionParts.d.ts.map +0 -1
- package/utils/contract/extractFunctionParts.ts +0 -37
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.neonMainnet = void 0;
|
4
|
+
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
|
+
exports.neonMainnet = (0, defineChain_js_1.defineChain)({
|
6
|
+
id: 245022934,
|
7
|
+
network: 'neonMainnet',
|
8
|
+
name: 'Neon EVM MainNet',
|
9
|
+
nativeCurrency: { name: 'NEON', symbol: 'NEON', decimals: 18 },
|
10
|
+
rpcUrls: {
|
11
|
+
default: {
|
12
|
+
http: ['https://neon-proxy-mainnet.solana.p2p.org'],
|
13
|
+
},
|
14
|
+
public: {
|
15
|
+
http: ['https://neon-proxy-mainnet.solana.p2p.org'],
|
16
|
+
},
|
17
|
+
},
|
18
|
+
blockExplorers: {
|
19
|
+
default: {
|
20
|
+
name: 'Neonscan',
|
21
|
+
url: 'https://neonscan.org',
|
22
|
+
},
|
23
|
+
},
|
24
|
+
contracts: {},
|
25
|
+
testnet: false,
|
26
|
+
});
|
27
|
+
//# sourceMappingURL=neonMainnet.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"neonMainnet.js","sourceRoot":"","sources":["../../../chains/definitions/neonMainnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,WAAW,GAAiB,IAAA,4BAAW,EAAC;IACnD,EAAE,EAAE,SAAW;IACf,OAAO,EAAE,aAAa;IACtB,IAAI,EAAE,kBAAkB;IACxB,cAAc,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,2CAA2C,CAAC;SACpD;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,2CAA2C,CAAC;SACpD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,sBAAsB;SAC5B;KACF;IACD,SAAS,EAAE,EAAE;IACb,OAAO,EAAE,KAAK;CACf,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"scrollSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/scrollSepolia.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,aAAa,GAAiB,IAAA,4BAAW,EAAC;IACrD,EAAE,EAAE,MAAO;IACX,IAAI,EAAE,gBAAgB;IACtB,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,+BAA+B,CAAC;
|
1
|
+
{"version":3,"file":"scrollSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/scrollSepolia.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,aAAa,GAAiB,IAAA,4BAAW,EAAC;IACrD,EAAE,EAAE,MAAO;IACX,IAAI,EAAE,gBAAgB;IACtB,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,+BAA+B,CAAC;SACxC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,sCAAsC;SAC5C;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,IAAI;SACnB;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.tenet = void 0;
|
4
|
+
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
|
+
exports.tenet = (0, defineChain_js_1.defineChain)({
|
6
|
+
id: 1559,
|
7
|
+
name: 'Tenet',
|
8
|
+
network: 'tenet-mainnet',
|
9
|
+
nativeCurrency: {
|
10
|
+
name: 'TENET',
|
11
|
+
symbol: 'TENET',
|
12
|
+
decimals: 18,
|
13
|
+
},
|
14
|
+
rpcUrls: {
|
15
|
+
public: { http: ['https://rpc.tenet.org'] },
|
16
|
+
default: { http: ['https://rpc.tenet.org'] },
|
17
|
+
},
|
18
|
+
blockExplorers: {
|
19
|
+
default: { name: 'TenetScan Mainnet', url: 'https://tenetscan.io' },
|
20
|
+
},
|
21
|
+
testnet: false,
|
22
|
+
});
|
23
|
+
//# sourceMappingURL=tenet.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tenet.js","sourceRoot":"","sources":["../../../chains/definitions/tenet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,KAAK,GAAiB,IAAA,4BAAW,EAAC;IAC7C,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,eAAe;IACxB,cAAc,EAAE;QACd,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,OAAO;QACf,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,uBAAuB,CAAC,EAAE;QAC3C,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,uBAAuB,CAAC,EAAE;KAC7C;IACD,cAAc,EAAE;QACd,OAAO,EAAE,EAAE,IAAI,EAAE,mBAAmB,EAAE,GAAG,EAAE,sBAAsB,EAAE;KACpE;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAA"}
|
package/_cjs/chains/index.js
CHANGED
@@ -1,15 +1,17 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.
|
5
|
-
exports.
|
6
|
-
exports.zoraTestnet = void 0;
|
3
|
+
exports.flareTestnet = exports.flare = exports.filecoinHyperspace = exports.filecoinCalibration = exports.filecoin = exports.fibo = exports.fantomTestnet = exports.fantom = exports.ektaTestnet = exports.ekta = exports.evmosTestnet = exports.evmos = exports.eosTestnet = exports.eos = exports.edgewareTestnet = exports.edgeware = exports.dogechain = exports.dfk = exports.crossbell = exports.cronosTestnet = exports.cronos = exports.coreDao = exports.confluxESpace = exports.classic = exports.celoCannoli = exports.celoAlfajores = exports.celo = exports.canto = exports.bxnTestnet = exports.bxn = exports.bscTestnet = exports.bsc = exports.bronosTestnet = exports.bronos = exports.boba = exports.bearNetworkChainTestnet = exports.bearNetworkChainMainnet = exports.baseSepolia = exports.baseGoerli = exports.base = exports.avalancheFuji = exports.avalanche = exports.auroraTestnet = exports.aurora = exports.astarZkatana = exports.arbitrumSepolia = exports.astar = exports.arbitrumNova = exports.arbitrumGoerli = exports.arbitrum = void 0;
|
4
|
+
exports.plinga = exports.opBNBTestnet = exports.opBNB = exports.optimismSepolia = exports.optimismGoerli = exports.optimism = exports.okc = exports.oasys = exports.nexilix = exports.nexi = exports.neonMainnet = exports.neonDevnet = exports.moonriver = exports.moonbeamDev = exports.moonbeam = exports.moonbaseAlpha = exports.modeTestnet = exports.mevTestnet = exports.mev = exports.metisGoerli = exports.metis = exports.meterTestnet = exports.meter = exports.mantleTestnet = exports.mantle = exports.mantaTestnet = exports.manta = exports.mainnet = exports.localhost = exports.lineaTestnet = exports.linea = exports.kromaSepolia = exports.kroma = exports.klaytn = exports.kavaTestnet = exports.kava = exports.holesky = exports.haqqTestedge2 = exports.haqqMainnet = exports.harmonyOne = exports.hardhat = exports.gnosisChiado = exports.gnosis = exports.goerli = exports.gobi = exports.iotexTestnet = exports.iotex = exports.fuseSparknet = exports.fuse = exports.foundry = void 0;
|
5
|
+
exports.zhejiang = exports.xdcTestnet = exports.xdc = exports.wanchainTestnet = exports.wanchain = exports.vechain = exports.thunderTestnet = exports.tenet = exports.telosTestnet = exports.telos = exports.taraxaTestnet = exports.taikoTestnetSepolia = exports.taikoJolnir = exports.taraxa = exports.syscoinTestnet = exports.syscoin = exports.shardeumSphinx = exports.songbirdTestnet = exports.songbird = exports.skaleTitanTestnet = exports.skaleTitan = exports.skaleRazor = exports.skaleNebulaTestnet = exports.skaleNebula = exports.skaleHumanProtocol = exports.skaleExorde = exports.skaleEuropaTestnet = exports.skaleEuropa = exports.skaleCryptoColosseum = exports.skaleCryptoBlades = exports.skaleChaosTestnet = exports.skaleCalypsoTestnet = exports.skaleCalypso = exports.skaleBlockBrawlers = exports.sepolia = exports.scrollTestnet = exports.scrollSepolia = exports.scroll = exports.saigon = exports.ronin = exports.rolluxTestnet = exports.rollux = exports.qTestnet = exports.qMainnet = exports.pulsechainV4 = exports.pulsechain = exports.polygonZkEvm = exports.polygonZkEvmTestnet = exports.polygonMumbai = exports.polygon = void 0;
|
6
|
+
exports.zoraTestnet = exports.zoraSepolia = exports.zora = exports.zetachainAthensTestnet = exports.zkSyncTestnet = exports.zkSync = void 0;
|
7
7
|
var arbitrum_js_1 = require("./definitions/arbitrum.js");
|
8
8
|
Object.defineProperty(exports, "arbitrum", { enumerable: true, get: function () { return arbitrum_js_1.arbitrum; } });
|
9
9
|
var arbitrumGoerli_js_1 = require("./definitions/arbitrumGoerli.js");
|
10
10
|
Object.defineProperty(exports, "arbitrumGoerli", { enumerable: true, get: function () { return arbitrumGoerli_js_1.arbitrumGoerli; } });
|
11
11
|
var arbitrumNova_js_1 = require("./definitions/arbitrumNova.js");
|
12
12
|
Object.defineProperty(exports, "arbitrumNova", { enumerable: true, get: function () { return arbitrumNova_js_1.arbitrumNova; } });
|
13
|
+
var astar_js_1 = require("./definitions/astar.js");
|
14
|
+
Object.defineProperty(exports, "astar", { enumerable: true, get: function () { return astar_js_1.astar; } });
|
13
15
|
var arbitrumSepolia_js_1 = require("./definitions/arbitrumSepolia.js");
|
14
16
|
Object.defineProperty(exports, "arbitrumSepolia", { enumerable: true, get: function () { return arbitrumSepolia_js_1.arbitrumSepolia; } });
|
15
17
|
var astarZkatana_js_1 = require("./definitions/astarZkatana.js");
|
@@ -130,6 +132,10 @@ var haqqTestedge2_js_1 = require("./definitions/haqqTestedge2.js");
|
|
130
132
|
Object.defineProperty(exports, "haqqTestedge2", { enumerable: true, get: function () { return haqqTestedge2_js_1.haqqTestedge2; } });
|
131
133
|
var holesky_js_1 = require("./definitions/holesky.js");
|
132
134
|
Object.defineProperty(exports, "holesky", { enumerable: true, get: function () { return holesky_js_1.holesky; } });
|
135
|
+
var kava_js_1 = require("./definitions/kava.js");
|
136
|
+
Object.defineProperty(exports, "kava", { enumerable: true, get: function () { return kava_js_1.kava; } });
|
137
|
+
var kavaTestnet_js_1 = require("./definitions/kavaTestnet.js");
|
138
|
+
Object.defineProperty(exports, "kavaTestnet", { enumerable: true, get: function () { return kavaTestnet_js_1.kavaTestnet; } });
|
133
139
|
var klaytn_js_1 = require("./definitions/klaytn.js");
|
134
140
|
Object.defineProperty(exports, "klaytn", { enumerable: true, get: function () { return klaytn_js_1.klaytn; } });
|
135
141
|
var kroma_js_1 = require("./definitions/kroma.js");
|
@@ -176,6 +182,8 @@ var moonriver_js_1 = require("./definitions/moonriver.js");
|
|
176
182
|
Object.defineProperty(exports, "moonriver", { enumerable: true, get: function () { return moonriver_js_1.moonriver; } });
|
177
183
|
var neonDevnet_js_1 = require("./definitions/neonDevnet.js");
|
178
184
|
Object.defineProperty(exports, "neonDevnet", { enumerable: true, get: function () { return neonDevnet_js_1.neonDevnet; } });
|
185
|
+
var neonMainnet_js_1 = require("./definitions/neonMainnet.js");
|
186
|
+
Object.defineProperty(exports, "neonMainnet", { enumerable: true, get: function () { return neonMainnet_js_1.neonMainnet; } });
|
179
187
|
var nexi_js_1 = require("./definitions/nexi.js");
|
180
188
|
Object.defineProperty(exports, "nexi", { enumerable: true, get: function () { return nexi_js_1.nexi; } });
|
181
189
|
var nexilix_js_1 = require("./definitions/nexilix.js");
|
@@ -280,6 +288,8 @@ var telos_js_1 = require("./definitions/telos.js");
|
|
280
288
|
Object.defineProperty(exports, "telos", { enumerable: true, get: function () { return telos_js_1.telos; } });
|
281
289
|
var telosTestnet_js_1 = require("./definitions/telosTestnet.js");
|
282
290
|
Object.defineProperty(exports, "telosTestnet", { enumerable: true, get: function () { return telosTestnet_js_1.telosTestnet; } });
|
291
|
+
var tenet_js_1 = require("./definitions/tenet.js");
|
292
|
+
Object.defineProperty(exports, "tenet", { enumerable: true, get: function () { return tenet_js_1.tenet; } });
|
283
293
|
var thunderTestnet_js_1 = require("./definitions/thunderTestnet.js");
|
284
294
|
Object.defineProperty(exports, "thunderTestnet", { enumerable: true, get: function () { return thunderTestnet_js_1.thunderTestnet; } });
|
285
295
|
var vechain_js_1 = require("./definitions/vechain.js");
|
package/_cjs/chains/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../chains/index.ts"],"names":[],"mappings":";;;;;;AAKA,yDAAoD;AAA3C,uGAAA,QAAQ,OAAA;AACjB,qEAAgE;AAAvD,mHAAA,cAAc,OAAA;AACvB,iEAA4D;AAAnD,+GAAA,YAAY,OAAA;AACrB,uEAAkE;AAAzD,qHAAA,eAAe,OAAA;AACxB,iEAA4D;AAAnD,+GAAA,YAAY,OAAA;AACrB,qDAAgD;AAAvC,mGAAA,MAAM,OAAA;AACf,mEAA8D;AAArD,iHAAA,aAAa,OAAA;AACtB,2DAAsD;AAA7C,yGAAA,SAAS,OAAA;AAClB,mEAA8D;AAArD,iHAAA,aAAa,OAAA;AACtB,iDAA4C;AAAnC,+FAAA,IAAI,OAAA;AACb,6DAAwD;AAA/C,2GAAA,UAAU,OAAA;AACnB,+DAA0D;AAAjD,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args.l1BatchNumber)
|
28
|
+
: null,
|
29
|
+
l1BatchTimestamp: args.l1BatchTimestamp
|
30
|
+
? (0, fromHex_js_1.hexToBigInt)(args.l1BatchTimestamp)
|
31
|
+
: null,
|
28
32
|
transactions,
|
29
33
|
};
|
30
34
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"formatters.js","sourceRoot":"","sources":["../../../chains/zksync/formatters.ts"],"names":[],"mappings":";;;AAEA,gEAA0E;AAC1E,gEAA4D;AAC5D,4DAAqD;AACrD,8DAA6D;AAC7D,0DAAyD;AACzD,0EAAyE;AACzE,wFAAuF;AACvF,wFAAuF;AAc1E,QAAA,gBAAgB,GAAG;IAC9B,KAAK,EAAgB,IAAA,sBAAW,EAAC;QAC/B,MAAM,CACJ,IAEC;YAID,MAAM,YAAY,GAAG,IAAI,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE;gBAC1D,IAAI,OAAO,WAAW,KAAK,QAAQ;oBAAE,OAAO,WAAW,CAAA;gBACvD,MAAM,SAAS,GAAG,wBAAgB,CAAC,WAAW,CAAC,MAAM,CACnD,WAAmC,CACf,CAAA;gBACtB,IAAI,SAAS,CAAC,OAAO,KAAK,MAAM;oBAAE,SAAS,CAAC,IAAI,GAAG,QAAQ,CAAA;qBACtD,IAAI,SAAS,CAAC,OAAO,KAAK,MAAM;oBAAE,SAAS,CAAC,IAAI,GAAG,UAAU,CAAA;gBAClE,OAAO,SAAS,CAAA;YAClB,CAAC,CAAiC,CAAA;YAClC,OAAO;gBACL,aAAa,EAAE,IAAA,wBAAW,EAAC,IAAI,CAAC,aAAa,CAAC;
|
1
|
+
{"version":3,"file":"formatters.js","sourceRoot":"","sources":["../../../chains/zksync/formatters.ts"],"names":[],"mappings":";;;AAEA,gEAA0E;AAC1E,gEAA4D;AAC5D,4DAAqD;AACrD,8DAA6D;AAC7D,0DAAyD;AACzD,0EAAyE;AACzE,wFAAuF;AACvF,wFAAuF;AAc1E,QAAA,g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AAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;wBAC9D,GAAG,CAAC,IAAI,CAAC,eAAe;4BACtB,CAAC,CAAC,EAAE,eAAe,EAAE,IAAI,CAAC,eAAe,EAAE;4BAC3C,CAAC,CAAC,EAAE,CAAC;qBACR;oBACD,IAAI,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM;iBAChB,CAAA;YAClC,OAAO,EAAiC,CAAA;QAC1C,CAAC;KACF,CAAC;CACgC,CAAA"}
|
package/_cjs/errors/contract.js
CHANGED
@@ -20,7 +20,7 @@ class CallExecutionError extends base_js_1.BaseError {
|
|
20
20
|
from: account?.address,
|
21
21
|
to,
|
22
22
|
value: typeof value !== 'undefined' &&
|
23
|
-
`${(0, formatEther_js_1.formatEther)(value)} ${chain?.nativeCurrency
|
23
|
+
`${(0, formatEther_js_1.formatEther)(value)} ${chain?.nativeCurrency?.symbol || 'ETH'}`,
|
24
24
|
data,
|
25
25
|
gas,
|
26
26
|
gasPrice: typeof gasPrice !== 'undefined' && `${(0, formatGwei_js_1.formatGwei)(gasPrice)} gwei`,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../../errors/contract.ts"],"names":[],"mappings":";;;AAEA,uEAAgE;AAEhE,0DAAuD;AAGvD,4EAG0C;AAC1C,oEAA6D;AAC7D,oFAA6E;AAC7E,8DAAuD;AACvD,iEAA0D;AAC1D,+DAAwD;AAExD,qCAAyD;AACzD,uCAAqC;AACrC,qDAA8C;AAC9C,yCAA+C;AAK/C,MAAa,kBAAmB,SAAQ,mBAAS;IAK/C,YACE,KAAgB,EAChB,EACE,OAAO,EAAE,QAAQ,EACjB,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,GAAG,EACH,QAAQ,EACR,YAAY,EACZ,oBAAoB,EACpB,KAAK,EACL,EAAE,EACF,KAAK,GACiD;QAExD,MAAM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I;gBAChE,uEAAuE;gBACvE,oCAAoC;aACrC;SACF,CAAC,CAAA;QATK;;;;mBAAO,+BAA+B;WAAA;IAU/C,CAAC;CACF;AAZD,sEAYC;AAKD,MAAa,gBAAiB,SAAQ,mBAAS;IAM7C,YAAY,EACV,IAAI,EACJ,OAAO,GAC2C;QAClD,KAAK,CAAC,OAAO,IAAI,EAAE,CAAC,CAAA;QATtB;;;;mBAAO,CAAC;WAAA;QACC;;;;mBAAO,kBAAkB;WAAA;QAElC;;;;;WAA2B;QAOzB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;IAClB,CAAC;CACF;AAbD,4CAaC"}
|
package/_cjs/errors/encoding.js
CHANGED
@@ -1,31 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SizeOverflowError = exports.
|
3
|
+
exports.SizeOverflowError = exports.InvalidHexValueError = exports.InvalidHexBooleanError = exports.InvalidBytesBooleanError = exports.IntegerOutOfRangeError = void 0;
|
4
4
|
const base_js_1 = require("./base.js");
|
5
|
-
class DataLengthTooLongError extends base_js_1.BaseError {
|
6
|
-
constructor({ consumed, length }) {
|
7
|
-
super(`Consumed bytes (${consumed}) is shorter than data length (${length - 1}).`);
|
8
|
-
Object.defineProperty(this, "name", {
|
9
|
-
enumerable: true,
|
10
|
-
configurable: true,
|
11
|
-
writable: true,
|
12
|
-
value: 'DataLengthTooLongError'
|
13
|
-
});
|
14
|
-
}
|
15
|
-
}
|
16
|
-
exports.DataLengthTooLongError = DataLengthTooLongError;
|
17
|
-
class DataLengthTooShortError extends base_js_1.BaseError {
|
18
|
-
constructor({ length, dataLength }) {
|
19
|
-
super(`Data length (${dataLength - 1}) is shorter than consumed bytes length (${length - 1}).`);
|
20
|
-
Object.defineProperty(this, "name", {
|
21
|
-
enumerable: true,
|
22
|
-
configurable: true,
|
23
|
-
writable: true,
|
24
|
-
value: 'DataLengthTooShortError'
|
25
|
-
});
|
26
|
-
}
|
27
|
-
}
|
28
|
-
exports.DataLengthTooShortError = DataLengthTooShortError;
|
29
5
|
class IntegerOutOfRangeError extends base_js_1.BaseError {
|
30
6
|
constructor({ max, min, signed, size, value, }) {
|
31
7
|
super(`Number "${value}" is not in safe ${size ? `${size * 8}-bit ${signed ? 'signed' : 'unsigned'} ` : ''}integer range ${max ? `(${min} to ${max})` : `(above ${min})`}`);
|
@@ -74,18 +50,6 @@ class InvalidHexValueError extends base_js_1.BaseError {
|
|
74
50
|
}
|
75
51
|
}
|
76
52
|
exports.InvalidHexValueError = InvalidHexValueError;
|
77
|
-
class OffsetOutOfBoundsError extends base_js_1.BaseError {
|
78
|
-
constructor({ nextOffset, offset }) {
|
79
|
-
super(`Next offset (${nextOffset}) is greater than previous offset + consumed bytes (${offset})`);
|
80
|
-
Object.defineProperty(this, "name", {
|
81
|
-
enumerable: true,
|
82
|
-
configurable: true,
|
83
|
-
writable: true,
|
84
|
-
value: 'OffsetOutOfBoundsError'
|
85
|
-
});
|
86
|
-
}
|
87
|
-
}
|
88
|
-
exports.OffsetOutOfBoundsError = OffsetOutOfBoundsError;
|
89
53
|
class SizeOverflowError extends base_js_1.BaseError {
|
90
54
|
constructor({ givenSize, maxSize }) {
|
91
55
|
super(`Size cannot exceed ${maxSize} bytes. Given size: ${givenSize} bytes.`);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"encoding.js","sourceRoot":"","sources":["../../errors/encoding.ts"],"names":[],"mappings":";;;AAEA,uCAAqC;
|
1
|
+
{"version":3,"file":"encoding.js","sourceRoot":"","sources":["../../errors/encoding.ts"],"names":[],"mappings":";;;AAEA,uCAAqC;AAKrC,MAAa,sBAAuB,SAAQ,mBAAS;IAEnD,YAAY,EACV,GAAG,EACH,GAAG,EACH,MAAM,EACN,IAAI,EACJ,KAAK,GAON;QACC,KAAK,CACH,WAAW,KAAK,oBACd,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,CAAC,QAAQ,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,EAChE,iBAAiB,GAAG,CAAC,CAAC,CAAC,IAAI,GAAG,OAAO,GAAG,GAAG,CAAC,CAAC,CAAC,UAAU,GAAG,GAAG,EAAE,CACjE,CAAA;QAlBM;;;;mBAAO,wBAAwB;WAAA;IAmBxC,CAAC;CACF;AArBD,wDAqBC;AAKD,MAAa,wBAAyB,SAAQ,mBAAS;IAErD,YAAY,KAAgB;QAC1B,KAAK,CACH,gBAAgB,KAAK,gGAAgG,CACtH,CAAA;QAJM;;;;mBAAO,0BAA0B;WAAA;IAK1C,CAAC;CACF;AAPD,4DAOC;AAKD,MAAa,sBAAuB,SAAQ,mBAAS;IAEnD,YAAY,GAAQ;QAClB,KAAK,CACH,cAAc,GAAG,gFAAgF,CAClG,CAAA;QAJM;;;;mBAAO,wBAAwB;WAAA;IAKxC,CAAC;CACF;AAPD,wDAOC;AAKD,MAAa,oBAAqB,SAAQ,mBAAS;IAEjD,YAAY,KAAU;QACpB,KAAK,CACH,cAAc,KAAK,uBAAuB,KAAK,CAAC,MAAM,+BAA+B,CACtF,CAAA;QAJM;;;;mBAAO,sBAAsB;WAAA;IAKtC,CAAC;CACF;AAPD,oDAOC;AAKD,MAAa,iBAAkB,SAAQ,mBAAS;IAE9C,YAAY,EAAE,SAAS,EAAE,OAAO,EAA0C;QACxE,KAAK,CACH,sBAAsB,OAAO,uBAAuB,SAAS,SAAS,CACvE,CAAA;QAJM;;;;mBAAO,mBAA4B;WAAA;IAK5C,CAAC;CACF;AAPD,8CAOC"}
|
@@ -11,7 +11,7 @@ class EstimateGasExecutionError extends base_js_1.BaseError {
|
|
11
11
|
from: account?.address,
|
12
12
|
to,
|
13
13
|
value: typeof value !== 'undefined' &&
|
14
|
-
`${(0, formatEther_js_1.formatEther)(value)} ${chain?.nativeCurrency
|
14
|
+
`${(0, formatEther_js_1.formatEther)(value)} ${chain?.nativeCurrency?.symbol || 'ETH'}`,
|
15
15
|
data,
|
16
16
|
gas,
|
17
17
|
gasPrice: typeof gasPrice !== 'undefined' && `${(0, formatGwei_js_1.formatGwei)(gasPrice)} gwei`,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"estimateGas.js","sourceRoot":"","sources":["../../errors/estimateGas.ts"],"names":[],"mappings":";;;AAGA,iEAA0D;AAC1D,+DAAwD;AAExD,uCAAqC;AACrC,qDAA8C;AAK9C,MAAa,yBAA0B,SAAQ,mBAAS;IAKtD,YACE,KAAgB,EAChB,EACE,OAAO,EACP,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,GAAG,EACH,QAAQ,EACR,YAAY,EACZ,oBAAoB,EACpB,KAAK,EACL,EAAE,EACF,KAAK,GAKN;QAED,MAAM,UAAU,GAAG,IAAA,4BAAW,EAAC;YAC7B,IAAI,EAAE,OAAO,EAAE,OAAO;YACtB,EAAE;YACF,KAAK,EACH,OAAO,KAAK,KAAK,WAAW;gBAC5B,GAAG,IAAA,4BAAW,EAAC,KAAK,CAAC,IAAI,KAAK,EAAE,cAAc,
|
1
|
+
{"version":3,"file":"estimateGas.js","sourceRoot":"","sources":["../../errors/estimateGas.ts"],"names":[],"mappings":";;;AAGA,iEAA0D;AAC1D,+DAAwD;AAExD,uCAAqC;AACrC,qDAA8C;AAK9C,MAAa,yBAA0B,SAAQ,mBAAS;IAKtD,YACE,KAAgB,EAChB,EACE,OAAO,EACP,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,GAAG,EACH,QAAQ,EACR,YAAY,EACZ,oBAAoB,EACpB,KAAK,EACL,EAAE,EACF,KAAK,GAKN;QAED,MAAM,UAAU,GAAG,IAAA,4BAAW,EAAC;YAC7B,IAAI,EAAE,OAAO,EAAE,OAAO;YACtB,EAAE;YACF,KAAK,EACH,OAAO,KAAK,KAAK,WAAW;gBAC5B,GAAG,IAAA,4BAAW,EAAC,KAAK,CAAC,IAAI,KAAK,EAAE,cAAc,EAAE,MAAM,IAAI,KAAK,EAAE;YACnE,IAAI;YACJ,GAAG;YACH,QAAQ,EACN,OAAO,QAAQ,KAAK,WAAW,IAAI,GAAG,IAAA,0BAAU,EAAC,QAAQ,CAAC,OAAO;YACnE,YAAY,EACV,OAAO,YAAY,KAAK,WAAW;gBACnC,GAAG,IAAA,0BAAU,EAAC,YAAY,CAAC,OAAO;YACpC,oBAAoB,EAClB,OAAO,oBAAoB,KAAK,WAAW;gBAC3C,GAAG,IAAA,0BAAU,EAAC,oBAAoB,CAAC,OAAO;YAC5C,KAAK;SACN,CAAC,CAAA;QAEF,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE;YACxB,KAAK;YACL,QAAQ;YACR,YAAY,EAAE;gBACZ,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;gBAC3D,yBAAyB;gBACzB,UAAU;aACX,CAAC,MAAM,CAAC,OAAO,CAAa;SAC9B,CAAC,CAAA;QAnDK;;;;;WAAgB;QAEhB;;;;mBAAO,2BAA2B;WAAA;QAkDzC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;IACpB,CAAC;CACF;AAvDD,8DAuDC"}
|
package/_cjs/errors/node.js
CHANGED
@@ -19,6 +19,7 @@ class ExecutionRevertedError extends base_js_1.BaseError {
|
|
19
19
|
});
|
20
20
|
}
|
21
21
|
}
|
22
|
+
exports.ExecutionRevertedError = ExecutionRevertedError;
|
22
23
|
Object.defineProperty(ExecutionRevertedError, "code", {
|
23
24
|
enumerable: true,
|
24
25
|
configurable: true,
|
@@ -31,7 +32,6 @@ Object.defineProperty(ExecutionRevertedError, "nodeMessage", {
|
|
31
32
|
writable: true,
|
32
33
|
value: /execution reverted/
|
33
34
|
});
|
34
|
-
exports.ExecutionRevertedError = ExecutionRevertedError;
|
35
35
|
class FeeCapTooHighError extends base_js_1.BaseError {
|
36
36
|
constructor({ cause, maxFeePerGas, } = {}) {
|
37
37
|
super(`The fee cap (\`maxFeePerGas\`${maxFeePerGas ? ` = ${(0, formatGwei_js_1.formatGwei)(maxFeePerGas)} gwei` : ''}) cannot be higher than the maximum allowed value (2^256-1).`, {
|
@@ -45,13 +45,13 @@ class FeeCapTooHighError extends base_js_1.BaseError {
|
|
45
45
|
});
|
46
46
|
}
|
47
47
|
}
|
48
|
+
exports.FeeCapTooHighError = FeeCapTooHighError;
|
48
49
|
Object.defineProperty(FeeCapTooHighError, "nodeMessage", {
|
49
50
|
enumerable: true,
|
50
51
|
configurable: true,
|
51
52
|
writable: true,
|
52
53
|
value: /max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/
|
53
54
|
});
|
54
|
-
exports.FeeCapTooHighError = FeeCapTooHighError;
|
55
55
|
class FeeCapTooLowError extends base_js_1.BaseError {
|
56
56
|
constructor({ cause, maxFeePerGas, } = {}) {
|
57
57
|
super(`The fee cap (\`maxFeePerGas\`${maxFeePerGas ? ` = ${(0, formatGwei_js_1.formatGwei)(maxFeePerGas)}` : ''} gwei) cannot be lower than the block base fee.`, {
|
@@ -65,13 +65,13 @@ class FeeCapTooLowError extends base_js_1.BaseError {
|
|
65
65
|
});
|
66
66
|
}
|
67
67
|
}
|
68
|
+
exports.FeeCapTooLowError = FeeCapTooLowError;
|
68
69
|
Object.defineProperty(FeeCapTooLowError, "nodeMessage", {
|
69
70
|
enumerable: true,
|
70
71
|
configurable: true,
|
71
72
|
writable: true,
|
72
73
|
value: /max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/
|
73
74
|
});
|
74
|
-
exports.FeeCapTooLowError = FeeCapTooLowError;
|
75
75
|
class NonceTooHighError extends base_js_1.BaseError {
|
76
76
|
constructor({ cause, nonce } = {}) {
|
77
77
|
super(`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ''}is higher than the next one expected.`, { cause });
|
@@ -83,13 +83,13 @@ class NonceTooHighError extends base_js_1.BaseError {
|
|
83
83
|
});
|
84
84
|
}
|
85
85
|
}
|
86
|
+
exports.NonceTooHighError = NonceTooHighError;
|
86
87
|
Object.defineProperty(NonceTooHighError, "nodeMessage", {
|
87
88
|
enumerable: true,
|
88
89
|
configurable: true,
|
89
90
|
writable: true,
|
90
91
|
value: /nonce too high/
|
91
92
|
});
|
92
|
-
exports.NonceTooHighError = NonceTooHighError;
|
93
93
|
class NonceTooLowError extends base_js_1.BaseError {
|
94
94
|
constructor({ cause, nonce } = {}) {
|
95
95
|
super([
|
@@ -104,13 +104,13 @@ class NonceTooLowError extends base_js_1.BaseError {
|
|
104
104
|
});
|
105
105
|
}
|
106
106
|
}
|
107
|
+
exports.NonceTooLowError = NonceTooLowError;
|
107
108
|
Object.defineProperty(NonceTooLowError, "nodeMessage", {
|
108
109
|
enumerable: true,
|
109
110
|
configurable: true,
|
110
111
|
writable: true,
|
111
112
|
value: /nonce too low|transaction already imported|already known/
|
112
113
|
});
|
113
|
-
exports.NonceTooLowError = NonceTooLowError;
|
114
114
|
class NonceMaxValueError extends base_js_1.BaseError {
|
115
115
|
constructor({ cause, nonce } = {}) {
|
116
116
|
super(`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ''}exceeds the maximum allowed nonce.`, { cause });
|
@@ -122,13 +122,13 @@ class NonceMaxValueError extends base_js_1.BaseError {
|
|
122
122
|
});
|
123
123
|
}
|
124
124
|
}
|
125
|
+
exports.NonceMaxValueError = NonceMaxValueError;
|
125
126
|
Object.defineProperty(NonceMaxValueError, "nodeMessage", {
|
126
127
|
enumerable: true,
|
127
128
|
configurable: true,
|
128
129
|
writable: true,
|
129
130
|
value: /nonce has max value/
|
130
131
|
});
|
131
|
-
exports.NonceMaxValueError = NonceMaxValueError;
|
132
132
|
class InsufficientFundsError extends base_js_1.BaseError {
|
133
133
|
constructor({ cause } = {}) {
|
134
134
|
super([
|
@@ -154,13 +154,13 @@ class InsufficientFundsError extends base_js_1.BaseError {
|
|
154
154
|
});
|
155
155
|
}
|
156
156
|
}
|
157
|
+
exports.InsufficientFundsError = InsufficientFundsError;
|
157
158
|
Object.defineProperty(InsufficientFundsError, "nodeMessage", {
|
158
159
|
enumerable: true,
|
159
160
|
configurable: true,
|
160
161
|
writable: true,
|
161
162
|
value: /insufficient funds/
|
162
163
|
});
|
163
|
-
exports.InsufficientFundsError = InsufficientFundsError;
|
164
164
|
class IntrinsicGasTooHighError extends base_js_1.BaseError {
|
165
165
|
constructor({ cause, gas } = {}) {
|
166
166
|
super(`The amount of gas ${gas ? `(${gas}) ` : ''}provided for the transaction exceeds the limit allowed for the block.`, {
|
@@ -174,13 +174,13 @@ class IntrinsicGasTooHighError extends base_js_1.BaseError {
|
|
174
174
|
});
|
175
175
|
}
|
176
176
|
}
|
177
|
+
exports.IntrinsicGasTooHighError = IntrinsicGasTooHighError;
|
177
178
|
Object.defineProperty(IntrinsicGasTooHighError, "nodeMessage", {
|
178
179
|
enumerable: true,
|
179
180
|
configurable: true,
|
180
181
|
writable: true,
|
181
182
|
value: /intrinsic gas too high|gas limit reached/
|
182
183
|
});
|
183
|
-
exports.IntrinsicGasTooHighError = IntrinsicGasTooHighError;
|
184
184
|
class IntrinsicGasTooLowError extends base_js_1.BaseError {
|
185
185
|
constructor({ cause, gas } = {}) {
|
186
186
|
super(`The amount of gas ${gas ? `(${gas}) ` : ''}provided for the transaction is too low.`, {
|
@@ -194,13 +194,13 @@ class IntrinsicGasTooLowError extends base_js_1.BaseError {
|
|
194
194
|
});
|
195
195
|
}
|
196
196
|
}
|
197
|
+
exports.IntrinsicGasTooLowError = IntrinsicGasTooLowError;
|
197
198
|
Object.defineProperty(IntrinsicGasTooLowError, "nodeMessage", {
|
198
199
|
enumerable: true,
|
199
200
|
configurable: true,
|
200
201
|
writable: true,
|
201
202
|
value: /intrinsic gas too low/
|
202
203
|
});
|
203
|
-
exports.IntrinsicGasTooLowError = IntrinsicGasTooLowError;
|
204
204
|
class TransactionTypeNotSupportedError extends base_js_1.BaseError {
|
205
205
|
constructor({ cause }) {
|
206
206
|
super('The transaction type is not supported for this chain.', {
|
@@ -214,13 +214,13 @@ class TransactionTypeNotSupportedError extends base_js_1.BaseError {
|
|
214
214
|
});
|
215
215
|
}
|
216
216
|
}
|
217
|
+
exports.TransactionTypeNotSupportedError = TransactionTypeNotSupportedError;
|
217
218
|
Object.defineProperty(TransactionTypeNotSupportedError, "nodeMessage", {
|
218
219
|
enumerable: true,
|
219
220
|
configurable: true,
|
220
221
|
writable: true,
|
221
222
|
value: /transaction type not valid/
|
222
223
|
});
|
223
|
-
exports.TransactionTypeNotSupportedError = TransactionTypeNotSupportedError;
|
224
224
|
class TipAboveFeeCapError extends base_js_1.BaseError {
|
225
225
|
constructor({ cause, maxPriorityFeePerGas, maxFeePerGas, } = {}) {
|
226
226
|
super([
|
@@ -238,13 +238,13 @@ class TipAboveFeeCapError extends base_js_1.BaseError {
|
|
238
238
|
});
|
239
239
|
}
|
240
240
|
}
|
241
|
+
exports.TipAboveFeeCapError = TipAboveFeeCapError;
|
241
242
|
Object.defineProperty(TipAboveFeeCapError, "nodeMessage", {
|
242
243
|
enumerable: true,
|
243
244
|
configurable: true,
|
244
245
|
writable: true,
|
245
246
|
value: /max priority fee per gas higher than max fee per gas|tip higher than fee cap/
|
246
247
|
});
|
247
|
-
exports.TipAboveFeeCapError = TipAboveFeeCapError;
|
248
248
|
class UnknownNodeError extends base_js_1.BaseError {
|
249
249
|
constructor({ cause }) {
|
250
250
|
super(`An error occurred while executing: ${cause?.shortMessage}`, {
|
package/_cjs/errors/node.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../errors/node.ts"],"names":[],"mappings":";;;AAAA,+DAAwD;AAExD,uCAAqC;AAerC,MAAa,sBAAuB,SAAQ,mBAAS;IAMnD,YAAY,EACV,KAAK,EACL,OAAO,MACoC,EAAE;QAC7C,MAAM,MAAM,GAAG,OAAO;YACpB,EAAE,OAAO,CAAC,sBAAsB,EAAE,EAAE,CAAC;YACrC,EAAE,OAAO,CAAC,oBAAoB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