Comparing version 0.2.0-main.20230401T004104 to 0.2.0-main.20230403T061632
export { ParseAbi, ParseAbiItem, ParseAbiParameter, ParseAbiParameters, parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters } from 'abitype'; | ||
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-3e809ff9.js'; | ||
export { e as encodePacked } from './encodePacked-d5d5264a.js'; | ||
import './chain-1b53ef88.js'; | ||
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-bfba73d1.js'; | ||
export { e as encodePacked } from './encodePacked-98f67d09.js'; | ||
import './chain-5507c6f0.js'; | ||
import '@wagmi/chains'; |
@@ -10,3 +10,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkHBDMIBEOjs = require('./chunk-HBDMIBEO.js'); | ||
var _chunkPWUNCH5Gjs = require('./chunk-PWUNCH5G.js'); | ||
@@ -21,3 +21,3 @@ | ||
exports.decodeAbiParameters = _chunkHBDMIBEOjs.decodeAbiParameters; exports.encodeAbiParameters = _chunkHBDMIBEOjs.encodeAbiParameters; exports.encodePacked = _chunkHBDMIBEOjs.encodePacked; exports.getAbiItem = _chunkHBDMIBEOjs.getAbiItem; exports.parseAbi = _chunkHBDMIBEOjs.parseAbi; exports.parseAbiItem = _chunkHBDMIBEOjs.parseAbiItem; exports.parseAbiParameter = _chunkHBDMIBEOjs.parseAbiParameter; exports.parseAbiParameters = _chunkHBDMIBEOjs.parseAbiParameters; | ||
exports.decodeAbiParameters = _chunkPWUNCH5Gjs.decodeAbiParameters; exports.encodeAbiParameters = _chunkPWUNCH5Gjs.encodeAbiParameters; exports.encodePacked = _chunkPWUNCH5Gjs.encodePacked; exports.getAbiItem = _chunkPWUNCH5Gjs.getAbiItem; exports.parseAbi = _chunkPWUNCH5Gjs.parseAbi; exports.parseAbiItem = _chunkPWUNCH5Gjs.parseAbiItem; exports.parseAbiParameter = _chunkPWUNCH5Gjs.parseAbiParameter; exports.parseAbiParameters = _chunkPWUNCH5Gjs.parseAbiParameters; | ||
//# sourceMappingURL=abi.js.map |
@@ -7,3 +7,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } | ||
var _chunkHBDMIBEOjs = require('./chunk-HBDMIBEO.js'); | ||
var _chunkPWUNCH5Gjs = require('./chunk-PWUNCH5G.js'); | ||
@@ -13,3 +13,3 @@ // src/chains.ts | ||
var celoFormatters = { | ||
block: _chunkHBDMIBEOjs.defineBlock.call(void 0, { | ||
block: _chunkPWUNCH5Gjs.defineBlock.call(void 0, { | ||
exclude: ["difficulty", "gasLimit", "mixHash", "nonce", "uncles"], | ||
@@ -20,3 +20,3 @@ format: (block) => ({ | ||
}), | ||
transaction: _chunkHBDMIBEOjs.defineTransaction.call(void 0, { | ||
transaction: _chunkPWUNCH5Gjs.defineTransaction.call(void 0, { | ||
format: (transaction) => ({ | ||
@@ -28,3 +28,3 @@ feeCurrency: transaction.feeCurrency, | ||
}), | ||
transactionReceipt: _chunkHBDMIBEOjs.defineTransactionReceipt.call(void 0, { | ||
transactionReceipt: _chunkPWUNCH5Gjs.defineTransactionReceipt.call(void 0, { | ||
format: (transaction) => ({ | ||
@@ -36,3 +36,3 @@ feeCurrency: transaction.feeCurrency, | ||
}), | ||
transactionRequest: _chunkHBDMIBEOjs.defineTransactionRequest.call(void 0, { | ||
transactionRequest: _chunkPWUNCH5Gjs.defineTransactionRequest.call(void 0, { | ||
format: (transactionRequest) => ({ | ||
@@ -45,65 +45,91 @@ feeCurrency: transactionRequest.feeCurrency, | ||
}; | ||
var arbitrum2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.arbitrum); | ||
var arbitrumGoerli2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.arbitrumGoerli); | ||
var aurora2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.aurora); | ||
var auroraGoerli = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.auroraTestnet); | ||
var avalanche2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.avalanche); | ||
var avalancheFuji2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.avalancheFuji); | ||
var baseGoerli2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.baseGoerli); | ||
var boba2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.boba); | ||
var bronos2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.bronos); | ||
var bronosTestnet2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.bronosTestnet); | ||
var bsc2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.bsc); | ||
var bscTestnet2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.bscTestnet); | ||
var canto2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.canto); | ||
var celo2 = _chunkHBDMIBEOjs.defineChain.call(void 0, { | ||
var arbitrum2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.arbitrum); | ||
var arbitrumGoerli2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.arbitrumGoerli); | ||
var aurora2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.aurora); | ||
var auroraTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.auroraTestnet); | ||
var avalanche2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.avalanche); | ||
var avalancheFuji2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.avalancheFuji); | ||
var baseGoerli2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.baseGoerli); | ||
var boba2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.boba); | ||
var bronos2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.bronos); | ||
var bronosTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.bronosTestnet); | ||
var bsc2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.bsc); | ||
var bscTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.bscTestnet); | ||
var canto2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.canto); | ||
var celo2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, { | ||
...chains.celo, | ||
formatters: celoFormatters | ||
}); | ||
var celoAlfajores2 = _chunkHBDMIBEOjs.defineChain.call(void 0, { | ||
var celoAlfajores2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, { | ||
...chains.celoAlfajores, | ||
formatters: celoFormatters | ||
}); | ||
var crossbell2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.crossbell); | ||
var evmos2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.evmos); | ||
var evmosTestnet2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.evmosTestnet); | ||
var fantom2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.fantom); | ||
var fantomTestnet2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.fantomTestnet); | ||
var filecoin2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.filecoin); | ||
var filecoinCalibration2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.filecoinCalibration); | ||
var filecoinHyperspace2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.filecoinHyperspace); | ||
var flare2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.flare); | ||
var flareTestnet2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.flareTestnet); | ||
var foundry2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.foundry); | ||
var goerli2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.goerli); | ||
var gnosis2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.gnosis); | ||
var gnosisChiado2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.gnosisChiado); | ||
var hardhat2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.hardhat); | ||
var harmonyOne2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.harmonyOne); | ||
var iotex2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.iotex); | ||
var iotexTestnet2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.iotexTestnet); | ||
var localhost2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.localhost); | ||
var mainnet2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.mainnet); | ||
var metis2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.metis); | ||
var metisGoerli2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.metisGoerli); | ||
var moonbaseAlpha2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.moonbaseAlpha); | ||
var moonbeam2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.moonbeam); | ||
var moonriver2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.moonriver); | ||
var okc2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.okc); | ||
var optimism2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.optimism); | ||
var optimismGoerli2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.optimismGoerli); | ||
var polygon2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.polygon); | ||
var polygonMumbai2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.polygonMumbai); | ||
var polygonZkEvmTestnet2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.polygonZkEvmTestnet); | ||
var sepolia2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.sepolia); | ||
var shardeumSphinx2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.shardeumSphinx); | ||
var songbird2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.songbird); | ||
var songbirdTestnet2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.songbirdTestnet); | ||
var taraxa2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.taraxa); | ||
var taraxaTestnet2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.taraxaTestnet); | ||
var telos2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.telos); | ||
var telosTestnet2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.telosTestnet); | ||
var zhejiang2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.zhejiang); | ||
var zkSync2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.zkSync); | ||
var zkSyncTestnet2 = _chunkHBDMIBEOjs.defineChain.call(void 0, chains.zkSyncTestnet); | ||
var cronos2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.cronos); | ||
var crossbell2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.crossbell); | ||
var dfk2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.dfk); | ||
var dogechain2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.dogechain); | ||
var evmos2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.evmos); | ||
var evmosTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.evmosTestnet); | ||
var fantom2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.fantom); | ||
var fantomTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.fantomTestnet); | ||
var filecoin2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.filecoin); | ||
var filecoinCalibration2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.filecoinCalibration); | ||
var filecoinHyperspace2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.filecoinHyperspace); | ||
var flare2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.flare); | ||
var flareTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.flareTestnet); | ||
var foundry2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.foundry); | ||
var iotex2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.iotex); | ||
var iotexTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.iotexTestnet); | ||
var goerli2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.goerli); | ||
var gnosis2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.gnosis); | ||
var gnosisChiado2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.gnosisChiado); | ||
var hardhat2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.hardhat); | ||
var harmonyOne2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.harmonyOne); | ||
var klaytn2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.klaytn); | ||
var localhost2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.localhost); | ||
var mainnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.mainnet); | ||
var metis2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.metis); | ||
var metisGoerli2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.metisGoerli); | ||
var moonbaseAlpha2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.moonbaseAlpha); | ||
var moonbeam2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.moonbeam); | ||
var moonriver2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.moonriver); | ||
var nexi2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.nexi); | ||
var okc2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.okc); | ||
var optimism2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.optimism); | ||
var optimismGoerli2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.optimismGoerli); | ||
var polygon2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.polygon); | ||
var polygonMumbai2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.polygonMumbai); | ||
var polygonZkEvm2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.polygonZkEvm); | ||
var polygonZkEvmTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.polygonZkEvmTestnet); | ||
var scrollTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.scrollTestnet); | ||
var sepolia2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.sepolia); | ||
var skaleBlockBrawlers2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.skaleBlockBrawlers); | ||
var skaleCalypso2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.skaleCalypso); | ||
var skaleCalypsoTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.skaleCalypsoTestnet); | ||
var skaleChaosTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.skaleChaosTestnet); | ||
var skaleCryptoBlades2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.skaleCryptoBlades); | ||
var skaleCryptoColosseum2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.skaleCryptoColosseum); | ||
var skaleEuropa2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.skaleEuropa); | ||
var skaleEuropaTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.skaleEuropaTestnet); | ||
var skaleExorde2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.skaleExorde); | ||
var skaleHumanProtocol2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.skaleHumanProtocol); | ||
var skaleNebula2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.skaleNebula); | ||
var skaleNebulaTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.skaleNebulaTestnet); | ||
var skaleRazor2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.skaleRazor); | ||
var skaleTitan2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.skaleTitan); | ||
var skaleTitanTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.skaleTitanTestnet); | ||
var songbird2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.songbird); | ||
var songbirdTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.songbirdTestnet); | ||
var shardeumSphinx2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.shardeumSphinx); | ||
var taraxa2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.taraxa); | ||
var taraxaTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.taraxaTestnet); | ||
var telos2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.telos); | ||
var telosTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.telosTestnet); | ||
var wanchain2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.wanchain); | ||
var wanchainTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.wanchainTestnet); | ||
var xdc2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.xdc); | ||
var xdcTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.xdcTestnet); | ||
var zhejiang2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.zhejiang); | ||
var zkSync2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.zkSync); | ||
var zkSyncTestnet2 = _chunkPWUNCH5Gjs.defineChain.call(void 0, chains.zkSyncTestnet); | ||
@@ -168,3 +194,29 @@ | ||
exports.arbitrum = arbitrum2; exports.arbitrumGoerli = arbitrumGoerli2; exports.aurora = aurora2; exports.auroraGoerli = auroraGoerli; exports.avalanche = avalanche2; exports.avalancheFuji = avalancheFuji2; exports.baseGoerli = baseGoerli2; exports.boba = boba2; exports.bronos = bronos2; exports.bronosTestnet = bronosTestnet2; exports.bsc = bsc2; exports.bscTestnet = bscTestnet2; exports.canto = canto2; exports.celo = celo2; exports.celoAlfajores = celoAlfajores2; exports.crossbell = crossbell2; exports.defineChain = _chunkHBDMIBEOjs.defineChain; exports.evmos = evmos2; exports.evmosTestnet = evmosTestnet2; exports.fantom = fantom2; exports.fantomTestnet = fantomTestnet2; exports.filecoin = filecoin2; exports.filecoinCalibration = filecoinCalibration2; exports.filecoinHyperspace = filecoinHyperspace2; exports.flare = flare2; exports.flareTestnet = flareTestnet2; exports.foundry = foundry2; exports.gnosis = gnosis2; exports.gnosisChiado = gnosisChiado2; exports.goerli = goerli2; exports.hardhat = hardhat2; exports.harmonyOne = harmonyOne2; exports.iotex = iotex2; exports.iotexTestnet = iotexTestnet2; exports.localhost = localhost2; exports.mainnet = mainnet2; exports.metis = metis2; exports.metisGoerli = metisGoerli2; exports.moonbaseAlpha = moonbaseAlpha2; exports.moonbeam = moonbeam2; exports.moonriver = moonriver2; exports.okc = okc2; exports.optimism = optimism2; exports.optimismGoerli = optimismGoerli2; exports.polygon = polygon2; exports.polygonMumbai = polygonMumbai2; exports.polygonZkEvmTestnet = polygonZkEvmTestnet2; exports.sepolia = sepolia2; exports.shardeumSphinx = shardeumSphinx2; exports.songbird = songbird2; exports.songbirdTestnet = songbirdTestnet2; exports.taraxa = taraxa2; exports.taraxaTestnet = taraxaTestnet2; exports.telos = telos2; exports.telosTestnet = telosTestnet2; exports.zhejiang = zhejiang2; exports.zkSync = zkSync2; exports.zkSyncTestnet = zkSyncTestnet2; | ||
exports.arbitrum = arbitrum2; exports.arbitrumGoerli = arbitrumGoerli2; exports.aurora = aurora2; exports.auroraTestnet = auroraTestnet2; exports.avalanche = avalanche2; exports.avalancheFuji = avalancheFuji2; exports.baseGoerli = baseGoerli2; exports.boba = boba2; exports.bronos = bronos2; exports.bronosTestnet = bronosTestnet2; exports.bsc = bsc2; exports.bscTestnet = bscTestnet2; exports.canto = canto2; exports.celo = celo2; exports.celoAlfajores = celoAlfajores2; exports.cronos = cronos2; exports.crossbell = crossbell2; exports.defineChain = _chunkPWUNCH5Gjs.defineChain; exports.dfk = dfk2; exports.dogechain = dogechain2; exports.evmos = evmos2; exports.evmosTestnet = evmosTestnet2; exports.fantom = fantom2; exports.fantomTestnet = fantomTestnet2; exports.filecoin = filecoin2; exports.filecoinCalibration = filecoinCalibration2; exports.filecoinHyperspace = filecoinHyperspace2; exports.flare = flare2; exports.flareTestnet = flareTestnet2; exports.foundry = foundry2; exports.gnosis = gnosis2; exports.gnosisChiado = gnosisChiado2; exports.goerli = goerli2; exports.hardhat = hardhat2; exports.harmonyOne = harmonyOne2; exports.iotex = iotex2; exports.iotexTestnet = iotexTestnet2; exports.klaytn = klaytn2; exports.localhost = localhost2; exports.mainnet = mainnet2; exports.metis = metis2; exports.metisGoerli = metisGoerli2; exports.moonbaseAlpha = moonbaseAlpha2; exports.moonbeam = moonbeam2; exports.moonriver = moonriver2; exports.nexi = nexi2; exports.okc = okc2; exports.optimism = optimism2; exports.optimismGoerli = optimismGoerli2; exports.polygon = polygon2; exports.polygonMumbai = polygonMumbai2; exports.polygonZkEvm = polygonZkEvm2; exports.polygonZkEvmTestnet = polygonZkEvmTestnet2; exports.scrollTestnet = scrollTestnet2; exports.sepolia = sepolia2; exports.shardeumSphinx = shardeumSphinx2; exports.skaleBlockBrawlers = skaleBlockBrawlers2; exports.skaleCalypso = skaleCalypso2; exports.skaleCalypsoTestnet = skaleCalypsoTestnet2; exports.skaleChaosTestnet = skaleChaosTestnet2; exports.skaleCryptoBlades = skaleCryptoBlades2; exports.skaleCryptoColosseum = skaleCryptoColosseum2; exports.skaleEuropa = skaleEuropa2; exports.skaleEuropaTestnet = skaleEuropaTestnet2; exports.skaleExorde = skaleExorde2; exports.skaleHumanProtocol = skaleHumanProtocol2; exports.skaleNebula = skaleNebula2; exports.skaleNebulaTestnet = skaleNebulaTestnet2; exports.skaleRazor = skaleRazor2; exports.skaleTitan = skaleTitan2; exports.skaleTitanTestnet = skaleTitanTestnet2; exports.songbird = songbird2; exports.songbirdTestnet = songbirdTestnet2; exports.taraxa = taraxa2; exports.taraxaTestnet = taraxaTestnet2; exports.telos = telos2; exports.telosTestnet = telosTestnet2; exports.wanchain = wanchain2; exports.wanchainTestnet = wanchainTestnet2; exports.xdc = xdc2; exports.xdcTestnet = xdcTestnet2; exports.zhejiang = zhejiang2; exports.zkSync = zkSync2; exports.zkSyncTestnet = zkSyncTestnet2; | ||
//# sourceMappingURL=chains.js.map |
@@ -1,9 +0,11 @@ | ||
export { m as CreateContractEventFilterParameters, n as CreateContractEventFilterReturnType, V as DeployContractParameters, X as DeployContractReturnType, o as EstimateContractGasParameters, p as EstimateContractGasReturnType, G as GetBytecodeParameters, q as GetBytecodeReturnType, r as GetStorageAtParameters, s as GetStorageAtReturnType, M as MulticallParameters, t as MulticallReturnType, O as OnLogsFn, u as OnLogsParameter, R as ReadContractParameters, v as ReadContractReturnType, w as SimulateContractParameters, x as SimulateContractReturnType, y as WatchContractEventParameters, Y as WriteContractParameters, Z as WriteContractReturnType, z as createContractEventFilter, _ as deployContract, D as estimateContractGas, H as getBytecode, I as getStorageAt, K as multicall, N as readContract, Q as simulateContract, U as watchContractEvent, $ as writeContract } from './createPublicClient-31d44569.js'; | ||
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-3e809ff9.js'; | ||
export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from './encodeFunctionResult-1f324375.js'; | ||
export { a as formatAbiItem, f as formatAbiItemWithArgs } from './formatAbiItem-15e8817d.js'; | ||
import './eip1193-4f4e240c.js'; | ||
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-bfba73d1.js'; | ||
export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from './encodeFunctionResult-c5185b98.js'; | ||
export { a as formatAbiItem, f as formatAbiItemWithArgs } from './formatAbiItem-56dff508.js'; | ||
export { C as CreateContractEventFilterParameters, f as CreateContractEventFilterReturnType, D as DeployContractParameters, o as DeployContractReturnType, E as EstimateContractGasParameters, b as EstimateContractGasReturnType, z as GetBytecodeParameters, B as GetBytecodeReturnType, $ as GetStorageAtParameters, a0 as GetStorageAtReturnType, a9 as MulticallParameters, aa as MulticallReturnType, af as OnLogsFn, ag as OnLogsParameter, R as ReadContractParameters, a as ReadContractReturnType, S as SimulateContractParameters, c as SimulateContractReturnType, g as WatchContractEventParameters, d as WriteContractParameters, e as WriteContractReturnType, b4 as createContractEventFilter, bc as deployContract, b5 as estimateContractGas, b6 as getBytecode, b7 as getStorageAt, b8 as multicall, b9 as readContract, ba as simulateContract, bb as watchContractEvent, bd as writeContract } from './getEnsResolver-9e26c596.js'; | ||
import 'abitype'; | ||
import './chain-1b53ef88.js'; | ||
import './chain-5507c6f0.js'; | ||
import '@wagmi/chains'; | ||
import './createTransport-e3eba9f7.js'; | ||
import './createTransport-21a0d2b3.js'; | ||
import './eip1193-2f3a9cd2.js'; | ||
import './typedData-46b4d81f.js'; | ||
import '@scure/bip32'; |
@@ -26,3 +26,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkHBDMIBEOjs = require('./chunk-HBDMIBEO.js'); | ||
var _chunkPWUNCH5Gjs = require('./chunk-PWUNCH5G.js'); | ||
@@ -53,3 +53,3 @@ | ||
exports.createContractEventFilter = _chunkHBDMIBEOjs.createContractEventFilter; exports.decodeAbiParameters = _chunkHBDMIBEOjs.decodeAbiParameters; exports.decodeErrorResult = _chunkHBDMIBEOjs.decodeErrorResult; exports.decodeEventLog = _chunkHBDMIBEOjs.decodeEventLog; exports.decodeFunctionData = _chunkHBDMIBEOjs.decodeFunctionData; exports.decodeFunctionResult = _chunkHBDMIBEOjs.decodeFunctionResult; exports.deployContract = _chunkHBDMIBEOjs.deployContract; exports.encodeAbiParameters = _chunkHBDMIBEOjs.encodeAbiParameters; exports.encodeDeployData = _chunkHBDMIBEOjs.encodeDeployData; exports.encodeErrorResult = _chunkHBDMIBEOjs.encodeErrorResult; exports.encodeEventTopics = _chunkHBDMIBEOjs.encodeEventTopics; exports.encodeFunctionData = _chunkHBDMIBEOjs.encodeFunctionData; exports.encodeFunctionResult = _chunkHBDMIBEOjs.encodeFunctionResult; exports.estimateContractGas = _chunkHBDMIBEOjs.estimateContractGas; exports.formatAbiItem = _chunkHBDMIBEOjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkHBDMIBEOjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkHBDMIBEOjs.getAbiItem; exports.getBytecode = _chunkHBDMIBEOjs.getBytecode; exports.getStorageAt = _chunkHBDMIBEOjs.getStorageAt; exports.multicall = _chunkHBDMIBEOjs.multicall; exports.readContract = _chunkHBDMIBEOjs.readContract; exports.simulateContract = _chunkHBDMIBEOjs.simulateContract; exports.watchContractEvent = _chunkHBDMIBEOjs.watchContractEvent; exports.writeContract = _chunkHBDMIBEOjs.writeContract; | ||
exports.createContractEventFilter = _chunkPWUNCH5Gjs.createContractEventFilter; exports.decodeAbiParameters = _chunkPWUNCH5Gjs.decodeAbiParameters; exports.decodeErrorResult = _chunkPWUNCH5Gjs.decodeErrorResult; exports.decodeEventLog = _chunkPWUNCH5Gjs.decodeEventLog; exports.decodeFunctionData = _chunkPWUNCH5Gjs.decodeFunctionData; exports.decodeFunctionResult = _chunkPWUNCH5Gjs.decodeFunctionResult; exports.deployContract = _chunkPWUNCH5Gjs.deployContract; exports.encodeAbiParameters = _chunkPWUNCH5Gjs.encodeAbiParameters; exports.encodeDeployData = _chunkPWUNCH5Gjs.encodeDeployData; exports.encodeErrorResult = _chunkPWUNCH5Gjs.encodeErrorResult; exports.encodeEventTopics = _chunkPWUNCH5Gjs.encodeEventTopics; exports.encodeFunctionData = _chunkPWUNCH5Gjs.encodeFunctionData; exports.encodeFunctionResult = _chunkPWUNCH5Gjs.encodeFunctionResult; exports.estimateContractGas = _chunkPWUNCH5Gjs.estimateContractGas; exports.formatAbiItem = _chunkPWUNCH5Gjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkPWUNCH5Gjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkPWUNCH5Gjs.getAbiItem; exports.getBytecode = _chunkPWUNCH5Gjs.getBytecode; exports.getStorageAt = _chunkPWUNCH5Gjs.getStorageAt; exports.multicall = _chunkPWUNCH5Gjs.multicall; exports.readContract = _chunkPWUNCH5Gjs.readContract; exports.simulateContract = _chunkPWUNCH5Gjs.simulateContract; exports.watchContractEvent = _chunkPWUNCH5Gjs.watchContractEvent; exports.writeContract = _chunkPWUNCH5Gjs.writeContract; | ||
//# sourceMappingURL=contract.js.map |
@@ -1,8 +0,10 @@ | ||
export { a0 as GetEnsAddressParameters, a1 as GetEnsNameParameters, a2 as getEnsAddress, a3 as getEnsName } from './createPublicClient-31d44569.js'; | ||
export { H as GetEnsAddressParameters, I as GetEnsAddressReturnType, be as GetEnsAvatarParameters, bf as GetEnsAvatarReturnType, J as GetEnsNameParameters, K as GetEnsNameReturnType, L as GetEnsResolverParameters, M as GetEnsResolverReturnType, bg as GetEnsTextParameters, bh as GetEnsTextReturnType, bi as getEnsAddress, bj as getEnsAvatar, bk as getEnsName, bl as getEnsResolver, bm as getEnsText } from './getEnsResolver-9e26c596.js'; | ||
export { l as labelhash, n as namehash } from './namehash-afff0feb.js'; | ||
import './eip1193-4f4e240c.js'; | ||
import './createTransport-21a0d2b3.js'; | ||
import './eip1193-2f3a9cd2.js'; | ||
import 'abitype'; | ||
import './chain-1b53ef88.js'; | ||
import './chain-5507c6f0.js'; | ||
import '@wagmi/chains'; | ||
import './createTransport-e3eba9f7.js'; | ||
import './typedData-46b4d81f.js'; | ||
import '@scure/bip32'; | ||
@@ -9,0 +11,0 @@ /** |
@@ -6,5 +6,7 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkLWNOZI6Jjs = require('./chunk-LWNOZI6J.js'); | ||
require('./chunk-HBDMIBEO.js'); | ||
var _chunkPWUNCH5Gjs = require('./chunk-PWUNCH5G.js'); | ||
// src/utils/ens/normalize.ts | ||
@@ -21,3 +23,6 @@ var _idnauts46hx = require('idna-uts46-hx'); | ||
exports.getEnsAddress = _chunkLWNOZI6Jjs.getEnsAddress; exports.getEnsName = _chunkLWNOZI6Jjs.getEnsName; exports.labelhash = _chunkLWNOZI6Jjs.labelhash; exports.namehash = _chunkLWNOZI6Jjs.namehash; exports.normalize = normalize; | ||
exports.getEnsAddress = _chunkPWUNCH5Gjs.getEnsAddress; exports.getEnsAvatar = _chunkPWUNCH5Gjs.getEnsAvatar; exports.getEnsName = _chunkPWUNCH5Gjs.getEnsName; exports.getEnsResolver = _chunkPWUNCH5Gjs.getEnsResolver; exports.getEnsText = _chunkPWUNCH5Gjs.getEnsText; exports.labelhash = _chunkPWUNCH5Gjs.labelhash; exports.namehash = _chunkPWUNCH5Gjs.namehash; exports.normalize = normalize; | ||
//# sourceMappingURL=ens.js.map |
@@ -1,7 +0,6 @@ | ||
import { A as Account } from './createPublicClient-31d44569.js'; | ||
import './eip1193-4f4e240c.js'; | ||
import { L as LocalAccount } from './typedData-46b4d81f.js'; | ||
import '@scure/bip32'; | ||
import 'abitype'; | ||
import './chain-1b53ef88.js'; | ||
import './chain-5507c6f0.js'; | ||
import '@wagmi/chains'; | ||
import './createTransport-e3eba9f7.js'; | ||
@@ -32,4 +31,4 @@ type BigNumberish = string | number | bigint; | ||
}); | ||
declare const getAccount: (wallet: EthersWallet) => Account; | ||
declare const ethersWalletToAccount: (wallet: EthersWallet) => LocalAccount<"custom", `0x${string}`>; | ||
export { getAccount }; | ||
export { ethersWalletToAccount }; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } | ||
var _chunkKQOOAYBYjs = require('./chunk-KQOOAYBY.js'); | ||
var _chunkHBDMIBEOjs = require('./chunk-HBDMIBEO.js'); | ||
var _chunkPWUNCH5Gjs = require('./chunk-PWUNCH5G.js'); | ||
// src/adapters/ethers.ts | ||
var getAccount2 = (wallet) => _chunkHBDMIBEOjs.getAccount.call(void 0, { | ||
var ethersWalletToAccount = (wallet) => _chunkKQOOAYBYjs.toAccount.call(void 0, { | ||
address: wallet.address, | ||
async signMessage(message) { | ||
return await wallet.signMessage(_chunkHBDMIBEOjs.toBytes.call(void 0, message)); | ||
async signMessage({ message }) { | ||
return await wallet.signMessage(_chunkPWUNCH5Gjs.toBytes.call(void 0, message)); | ||
}, | ||
@@ -30,3 +32,3 @@ async signTransaction(txn) { | ||
exports.getAccount = getAccount2; | ||
exports.ethersWalletToAccount = ethersWalletToAccount; | ||
//# sourceMappingURL=ethers.js.map |
@@ -1,18 +0,22 @@ | ||
import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createTransport-e3eba9f7.js'; | ||
export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createTransport-e3eba9f7.js'; | ||
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-361e8a12.js'; | ||
export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, T as TipAboveFeeCapError, q as ToRlpReturnType, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, W as WaitForTransactionReceiptTimeoutError, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as concat, z as concatBytes, A as concatHex, D as formatEther, J as formatGwei, K as formatUnits, L as fromBytes, M as fromHex, O as fromRlp, P as getAccount, Q as getAddress, S as getContractAddress, V as getContractError, X as getCreate2Address, Y as getCreateAddress, Z as getEventSelector, _ as getFunctionSelector, $ as hashMessage, a0 as hexToBigInt, a1 as hexToBool, a2 as hexToBytes, a3 as hexToNumber, a4 as hexToString, a5 as isAddress, a6 as isAddressEqual, a7 as isBytes, a8 as isHex, a9 as keccak256, aa as numberToBytes, ab as numberToHex, ac as pad, ad as padBytes, ae as padHex, af as parseEther, ag as parseGwei, ah as parseUnits, ai as recoverAddress, aj as recoverMessageAddress, ak as size, al as slice, am as sliceBytes, an as sliceHex, ao as stringToBytes, ap as stringToHex, aq as stringify, ar as toBytes, as as toHex, at as toRlp, au as trim, av as verifyMessage } from './parseGwei-361e8a12.js'; | ||
import { P as PublicClient, W as WalletClient, R as ReadContractParameters, a as ReadContractReturnType, E as EstimateContractGasParameters, b as EstimateContractGasReturnType, S as SimulateContractParameters, c as SimulateContractReturnType, d as WriteContractParameters, e as WriteContractReturnType, C as CreateContractEventFilterParameters, f as CreateContractEventFilterReturnType, g as WatchContractEventParameters, h as WatchContractEventReturnType } from './getEnsResolver-9e26c596.js'; | ||
export { A as AddChainParameters, aN as AssetGateway, aO as AssetGatewayUrls, aU as BlockFormatter, i as CallParameters, j as CallReturnType, k as CreateBlockFilterReturnType, C as CreateContractEventFilterParameters, f as CreateContractEventFilterReturnType, l as CreateEventFilterParameters, m as CreateEventFilterReturnType, n as CreatePendingTransactionFilterReturnType, D as DeployContractParameters, o as DeployContractReturnType, p as EstimateGasParameters, q as EstimateGasReturnType, aV as FormattedBlock, aW as FormattedTransactionReceipt, aX as FormattedTransactionRequest, G as GetAddressesReturnType, r as GetBalanceParameters, s as GetBalanceReturnType, t as GetBlockNumberParameters, u as GetBlockNumberReturnType, v as GetBlockParameters, w as GetBlockReturnType, x as GetBlockTransactionCountParameters, y as GetBlockTransactionCountReturnType, z as GetBytecodeParameters, B as GetBytecodeReturnType, F as GetChainIdReturnType, H as GetEnsAddressParameters, I as GetEnsAddressReturnType, J as GetEnsNameParameters, K as GetEnsNameReturnType, L as GetEnsResolverParameters, M as GetEnsResolverReturnType, N as GetFeeHistoryParameters, O as GetFeeHistoryReturnType, Q as GetFilterChangesParameters, T as GetFilterChangesReturnType, U as GetFilterLogsParameters, V as GetFilterLogsReturnType, X as GetGasPriceReturnType, Y as GetLogsParameters, Z as GetLogsReturnType, _ as GetPermissionsReturnType, $ as GetStorageAtParameters, a0 as GetStorageAtReturnType, a1 as GetTransactionConfirmationsParameters, a3 as GetTransactionConfirmationsReturnType, a2 as GetTransactionCountParameters, a4 as GetTransactionCountReturnType, a5 as GetTransactionParameters, a6 as GetTransactionReceiptParameters, a7 as GetTransactionReceiptReturnType, a8 as GetTransactionReturnType, aP as GetTransportConfig, aQ as MulticallContracts, a9 as MulticallParameters, aR as MulticallResult, aS as MulticallResults, aa as MulticallReturnType, ab as OnBlock, ac as OnBlockNumberFn, ad as OnBlockNumberParameter, ae as OnBlockParameter, af as OnLogsFn, ag as OnLogsParameter, ah as OnTransactionsFn, ai as OnTransactionsParameter, aT as ParseAccount, P as PublicClient, aJ as PublicClientConfig, R as ReadContractParameters, a as ReadContractReturnType, aj as ReplacementReason, ak as ReplacementReturnType, al as RequestAddressesReturnType, an as RequestPermissionsParameters, am as RequestPermissionsReturnType, ao as SendTransactionParameters, ap as SendTransactionReturnType, aq as SignMessageParameters, ar as SignMessageReturnType, as as SignTypedDataParameters, at as SignTypedDataReturnType, S as SimulateContractParameters, c as SimulateContractReturnType, au as SwitchChainParameters, aY as TransactionReceiptFormatter, aZ as TransactionRequestFormatter, av as UninstallFilterParameters, aw as UninstallFilterReturnType, ax as WaitForTransactionReceiptParameters, ay as WaitForTransactionReceiptReturnType, W as WalletClient, aK as WalletClientConfig, az as WatchAssetParameters, aA as WatchAssetReturnType, aB as WatchBlockNumberParameters, aC as WatchBlockNumberReturnType, aD as WatchBlocksParameters, aE as WatchBlocksReturnType, g as WatchContractEventParameters, h as WatchContractEventReturnType, aF as WatchEventParameters, aG as WatchEventReturnType, aH as WatchPendingTransactionsParameters, aI as WatchPendingTransactionsReturnType, d as WriteContractParameters, e as WriteContractReturnType, aL as createPublicClient, aM as createWalletClient, a_ as defineBlock, a$ as defineTransactionReceipt, b0 as defineTransactionRequest, b1 as formatBlock, b2 as formatTransactionRequest } from './getEnsResolver-9e26c596.js'; | ||
import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createTransport-21a0d2b3.js'; | ||
export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createTransport-21a0d2b3.js'; | ||
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-d2147f8b.js'; | ||
export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, p as GetCreate2AddressOptions, q as GetCreateAddressOptions, r as GetSerializedTransactionType, s as GetTransactionType, t as HashTypedDataParameters, u as HashTypedDataReturnType, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, h as InvalidLegacyVError, N as NonceMaxValueError, i as NonceTooHighError, j as NonceTooLowError, k as RawContractError, v as RecoverAddressParameters, w as RecoverAddressReturnType, x as RecoverMessageAddressParameters, y as RecoverMessageAddressReturnType, z as RecoverTypedDataAddressParameters, A as RecoverTypedDataAddressReturnType, T as TipAboveFeeCapError, D as ToRlpReturnType, l as TransactionExecutionError, n as TransactionNotFoundError, o as TransactionReceiptNotFoundError, m as TransactionTypeNotSupportedError, U as UnknownNodeError, V as VerifyMessageParameters, J as VerifyMessageReturnType, K as VerifyTypedDataParameters, L as VerifyTypedDataReturnType, W as WaitForTransactionReceiptTimeoutError, M as assertRequest, O as assertTransactionEIP1559, P as assertTransactionEIP2930, Q as assertTransactionLegacy, S as boolToBytes, X as boolToHex, Y as bytesToBigint, Z as bytesToBool, _ as bytesToHex, $ as bytesToNumber, a0 as bytesToString, a1 as concat, a2 as concatBytes, a3 as concatHex, a4 as formatEther, a5 as formatGwei, a6 as formatUnits, a7 as fromBytes, a8 as fromHex, a9 as fromRlp, aa as getAddress, ab as getContractAddress, ac as getContractError, ad as getCreate2Address, ae as getCreateAddress, af as getEventSelector, ag as getFunctionSelector, ah as getSerializedTransactionType, ai as getTransactionType, aj as hashMessage, ak as hashTypedData, al as hexToBigInt, am as hexToBool, an as hexToBytes, ao as hexToNumber, ap as hexToString, aq as isAddress, ar as isAddressEqual, as as isBytes, at as isHash, au as isHex, av as keccak256, aw as numberToBytes, ax as numberToHex, ay as pad, az as padBytes, aA as padHex, aB as parseEther, aC as parseGwei, aD as parseTransaction, aE as parseUnits, aF as prepareRequest, aG as recoverAddress, aH as recoverMessageAddress, aI as recoverTypedDataAddress, aJ as serializeTransaction, aK as size, aL as slice, aM as sliceBytes, aN as sliceHex, aO as stringToBytes, aP as stringToHex, aQ as stringify, aR as toBytes, aS as toHex, aT as toRlp, aU as trim, aV as validateTypedData, aW as verifyMessage, aX as verifyTypedData } from './parseGwei-d2147f8b.js'; | ||
import WebSocket from 'isomorphic-ws'; | ||
import { H as Hex, A as AbiItem, a as Hash, C as Chain, B as ByteArray } from './chain-1b53ef88.js'; | ||
export { A as AbiItem, b as AccessList, c as Block, d as BlockIdentifier, e as BlockNumber, f as BlockTag, B as ByteArray, C as Chain, g as ContractConfig, E as ExtractArgsFromAbi, h as ExtractConstructorArgsFromAbi, i as ExtractErrorArgsFromAbi, j as ExtractErrorNameFromAbi, k as ExtractEventArgsFromAbi, l as ExtractEventArgsFromTopics, m as ExtractEventNameFromAbi, W as ExtractFormatter, n as ExtractFunctionNameFromAbi, o as ExtractNameFromAbi, p as ExtractResultFromAbi, F as FeeHistory, q as FeeValues, r as FeeValuesEIP1559, s as FeeValuesLegacy, X as Formatted, Y as FormattedTransaction, a as Hash, H as Hex, L as Log, R as RpcBlock, t as RpcBlockIdentifier, u as RpcBlockNumber, v as RpcFeeHistory, w as RpcFeeValues, x as RpcLog, y as RpcTransaction, z as RpcTransactionReceipt, D as RpcTransactionRequest, G as RpcUncle, O as Transaction, P as TransactionBase, Q as TransactionEIP1559, S as TransactionEIP2930, Z as TransactionFormatter, U as TransactionLegacy, T as TransactionReceipt, I as TransactionRequest, J as TransactionRequestBase, K as TransactionRequestEIP1559, M as TransactionRequestEIP2930, N as TransactionRequestLegacy, V as Uncle, _ as defineTransaction, $ as formatTransaction, a0 as transactionType } from './chain-1b53ef88.js'; | ||
export { A as Account, B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, J as JsonRpcAccount, L as LocalAccount, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, g as TransactionRequestFormatter, W as WalletClient, b as WalletClientConfig, c as createPublicClient, d as createWalletClient, h as defineBlock, i as defineTransactionReceipt, j as defineTransactionRequest, k as formatBlock, l as formatTransactionRequest } from './createPublicClient-31d44569.js'; | ||
export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-67630299.js'; | ||
import { AbiParameter } from 'abitype'; | ||
import { H as Hex, A as AbiItem, a as Hash, C as Chain, B as ByteArray, I as IsNarrowable, P as Prettify, b as IsNever, c as IsUndefined, d as AbiEventParametersToPrimitiveTypes, M as MaybeExtractEventArgsFromAbi } from './chain-5507c6f0.js'; | ||
export { A as AbiItem, e as AccessList, f as Block, g as BlockIdentifier, h as BlockNumber, i as BlockTag, B as ByteArray, C as Chain, j as ContractFunctionConfig, k as ContractFunctionResult, aa as ExtractFormatter, F as FeeHistory, l as FeeValues, m as FeeValuesEIP1559, n as FeeValuesLegacy, ab as Formatted, ac as FormattedTransaction, G as GetConstructorArgs, o as GetErrorArgs, p as GetEventArgs, q as GetEventArgsFromTopics, r as GetFunctionArgs, a as Hash, H as Hex, s as InferErrorName, t as InferEventName, u as InferFunctionName, v as InferItemName, L as Log, R as RpcBlock, w as RpcBlockIdentifier, x as RpcBlockNumber, y as RpcFeeHistory, z as RpcFeeValues, D as RpcLog, E as RpcTransaction, J as RpcTransactionReceipt, K as RpcTransactionRequest, N as RpcUncle, T as Transaction, O as TransactionBase, Q as TransactionEIP1559, S as TransactionEIP2930, ad as TransactionFormatter, U as TransactionLegacy, V as TransactionReceipt, W as TransactionRequest, X as TransactionRequestBase, Y as TransactionRequestEIP1559, Z as TransactionRequestEIP2930, _ as TransactionRequestLegacy, $ as TransactionSerializable, a0 as TransactionSerializableBase, a1 as TransactionSerializableEIP1559, a2 as TransactionSerializableEIP2930, a3 as TransactionSerializableLegacy, a4 as TransactionSerialized, a5 as TransactionSerializedEIP1559, a6 as TransactionSerializedEIP2930, a7 as TransactionSerializedLegacy, a8 as TransactionType, a9 as Uncle, ae as defineTransaction, af as formatTransaction, ag as transactionType } from './chain-5507c6f0.js'; | ||
export { D as DropTransactionParameters, I as ImpersonateAccountParameters, a as IncreaseTimeParameters, M as MineParameters, R as ResetParameters, b as RevertParameters, S as SendUnsignedTransactionParameters, c as SendUnsignedTransactionReturnType, d as SetBalanceParameters, e as SetBlockGasLimitParameters, f as SetBlockTimestampIntervalParameters, g as SetCodeParameters, h as SetCoinbaseParameters, i as SetIntervalMiningParameters, j as SetMinGasPriceParameters, k as SetNextBlockBaseFeePerGasParameters, l as SetNextBlockTimestampParameters, m as SetNonceParameters, n as SetStorageAtParameters, o as StopImpersonatingAccountParameters, T as TestClient, p as TestClientConfig, q as createTestClient } from './test-b67569fe.js'; | ||
import { AbiParameter, Abi, Narrow, Address, ExtractAbiEventNames, ExtractAbiFunctionNames, AbiFunction, ExtractAbiFunction, AbiParametersToPrimitiveTypes, AbiEvent, ExtractAbiEvent } from 'abitype'; | ||
export { Address, ParseAbi, ParseAbiItem, ParseAbiParameter, ParseAbiParameters, parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters } from 'abitype'; | ||
import { A as Account } from './typedData-46b4d81f.js'; | ||
export { A as Account, a as AccountSource, C as CustomSource, H as HDAccount, b as HDOptions, J as JsonRpcAccount, L as LocalAccount } from './typedData-46b4d81f.js'; | ||
export { l as labelhash, n as namehash } from './namehash-afff0feb.js'; | ||
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-3e809ff9.js'; | ||
export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from './encodeFunctionResult-1f324375.js'; | ||
export { e as encodePacked } from './encodePacked-d5d5264a.js'; | ||
export { d as defineChain } from './chain-ec8c485d.js'; | ||
import './eip1193-4f4e240c.js'; | ||
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-bfba73d1.js'; | ||
export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from './encodeFunctionResult-c5185b98.js'; | ||
export { e as encodePacked } from './encodePacked-98f67d09.js'; | ||
export { d as defineChain } from './chain-fe47467d.js'; | ||
export { HDKey } from '@scure/bip32'; | ||
import './eip1193-2f3a9cd2.js'; | ||
import '@wagmi/chains'; | ||
@@ -165,2 +169,8 @@ | ||
} | ||
declare class InvalidChainIdError extends BaseError { | ||
name: string; | ||
constructor({ chainId }: { | ||
chainId: number; | ||
}); | ||
} | ||
@@ -210,2 +220,9 @@ declare class SizeExceedsPaddingSizeError extends BaseError { | ||
declare class EnsAvatarUriResolutionError extends BaseError { | ||
name: string; | ||
constructor({ uri }: { | ||
uri: string; | ||
}); | ||
} | ||
declare class FilterTypeNotSupportedError extends BaseError { | ||
@@ -496,2 +513,102 @@ name: string; | ||
type GetContractParameters<TTransport extends Transport = Transport, TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined, TAbi extends Abi | readonly unknown[] = Abi, TPublicClient extends PublicClient<TTransport, TChain> | unknown = unknown, TWalletClient extends WalletClient<TTransport, TChain, TAccount> | unknown = unknown> = { | ||
/** Contract ABI */ | ||
abi: Narrow<TAbi>; | ||
/** Contract address */ | ||
address: Address; | ||
/** Public client */ | ||
publicClient?: TPublicClient; | ||
/** Wallet client */ | ||
walletClient?: TWalletClient; | ||
}; | ||
type GetContractReturnType<TAbi extends Abi | readonly unknown[] = Abi, TPublicClient extends PublicClient | unknown = unknown, TWalletClient extends WalletClient | unknown = unknown, _EventNames extends string = TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiEventNames<TAbi> : string, _ReadFunctionNames extends string = TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiFunctionNames<TAbi, 'pure' | 'view'> : string, _WriteFunctionNames extends string = TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiFunctionNames<TAbi, 'nonpayable' | 'payable'> : string, _Narrowable extends boolean = IsNarrowable<TAbi, Abi>> = Prettify<(TPublicClient extends PublicClient ? (IsNever<_ReadFunctionNames> extends true ? unknown : { | ||
/** | ||
* Calls a read-only function on a contract, and returns the response. | ||
* | ||
* A "read-only" function (constant function) on a Solidity contract is denoted by a `view` or `pure` keyword. They can only read the state of the contract, and cannot make any changes to it. Since read-only methods do not change the state of the contract, they do not require any gas to be executed, and can be called by any user without the need to pay for gas. | ||
* | ||
* Internally, `read` uses a [Public Client](https://viem.sh/docs/clients/public.html) to call the [`call` action](https://viem.sh/docs/actions/public/call.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html). | ||
*/ | ||
read: { | ||
[FunctionName in _ReadFunctionNames]: GetReadFunction<_Narrowable, TAbi, FunctionName>; | ||
}; | ||
}) & (IsNever<_WriteFunctionNames> extends true ? unknown : { | ||
/** | ||
* Estimates the gas necessary to complete a transaction without submitting it to the network. | ||
*/ | ||
estimateGas: { | ||
[FunctionName in _WriteFunctionNames]: GetEstimateFunction<_Narrowable, TPublicClient extends PublicClient ? TPublicClient['chain'] : undefined, TAbi, FunctionName>; | ||
}; | ||
/** | ||
* Simulates/validates a contract interaction. This is useful for retrieving return data and revert reasons of contract write functions. | ||
* | ||
* This function does not require gas to execute and does not change the state of the blockchain. It is almost identical to [`readContract`](https://viem.sh/docs/contract/readContract.html), but also supports contract write functions. | ||
* | ||
* Internally, `simulate` uses a [Public Client](https://viem.sh/docs/clients/public.html) to call the [`call` action](https://viem.sh/docs/actions/public/call.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html). | ||
*/ | ||
simulate: { | ||
[FunctionName in _WriteFunctionNames]: GetSimulateFunction<_Narrowable, TPublicClient extends PublicClient ? TPublicClient['chain'] : undefined, TAbi, FunctionName>; | ||
}; | ||
}) & (IsNever<_EventNames> extends true ? unknown : { | ||
/** | ||
* Creates a Filter to retrieve event logs that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges.html) or [`getFilterLogs`](https://viem.sh/docs/actions/public/getFilterLogs.html). | ||
*/ | ||
createEventFilter: { | ||
[EventName in _EventNames]: GetEventFilter<_Narrowable, TAbi, EventName>; | ||
}; | ||
/** | ||
* Watches and returns emitted contract event logs. | ||
* | ||
* This Action will batch up all the event logs found within the [`pollingInterval`](https://viem.sh/docs/contract/watchContractEvent.html#pollinginterval-optional), and invoke them via [`onLogs`](https://viem.sh/docs/contract/watchContractEvent.html#onLogs). | ||
* | ||
* `watchEvent` will attempt to create an [Event Filter](https://viem.sh/docs/contract/createContractEventFilter.html) and listen to changes to the Filter per polling interval, however, if the RPC Provider does not support Filters (e.g. `eth_newFilter`), then `watchEvent` will fall back to using [`getLogs`](https://viem.sh/docs/actions/public/getLogs.html) instead. | ||
*/ | ||
watchEvent: { | ||
[EventName in _EventNames]: GetWatchEvent<_Narrowable, TAbi, EventName>; | ||
}; | ||
}) : unknown) & (TWalletClient extends WalletClient ? IsNever<_WriteFunctionNames> extends true ? unknown : { | ||
/** | ||
* Executes a write function on a contract. | ||
* | ||
* A "write" function on a Solidity contract modifies the state of the blockchain. These types of functions require gas to be executed, and hence a [Transaction](https://viem.sh/docs/glossary/terms.html) is needed to be broadcast in order to change the state. | ||
* | ||
* Internally, `write` uses a [Wallet Client](https://viem.sh/docs/clients/wallet.html) to call the [`sendTransaction` action](https://viem.sh/docs/actions/wallet/sendTransaction.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html). | ||
* | ||
* Warning: The `write` internally sends a transaction – it does not validate if the contract write will succeed (the contract may throw an error). It is highly recommended to [simulate the contract write with `contract.simulate`](https://viem.sh/docs/contract/writeContract.html#usage) before you execute it. | ||
*/ | ||
write: { | ||
[FunctionName in _WriteFunctionNames]: GetWriteFunction<_Narrowable, TWalletClient extends WalletClient ? TWalletClient['chain'] : undefined, TWalletClient extends WalletClient ? TWalletClient['account'] : undefined, TAbi, FunctionName>; | ||
}; | ||
} : unknown)>; | ||
/** | ||
* Gets type-safe contract instance. | ||
*/ | ||
declare function getContract<TTransport extends Transport, TAbi extends Abi | readonly unknown[], TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined, TPublicClient extends PublicClient<TTransport, TChain> | undefined = PublicClient<TTransport, TChain> | undefined, TWalletClient extends WalletClient<TTransport, TChain, TAccount> | undefined = WalletClient<TTransport, TChain, TAccount> | undefined>({ abi, address, publicClient, walletClient, }: GetContractParameters<TTransport, TChain, TAccount, TAbi, TPublicClient, TWalletClient>): GetContractReturnType<TAbi, TPublicClient, TWalletClient>; | ||
type GetReadFunction<Narrowable extends boolean, TAbi extends Abi | readonly unknown[], TFunctionName extends string, TAbiFunction extends AbiFunction = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction, Args = AbiParametersToPrimitiveTypes<TAbiFunction['inputs']>, Options = Prettify<Omit<ReadContractParameters<TAbi, TFunctionName>, 'abi' | 'address' | 'args' | 'functionName'>>> = Narrowable extends true ? (...parameters: Args extends readonly [] ? [options?: Options] : [args: Args, options?: Options]) => Promise<ReadContractReturnType<TAbi, TFunctionName>> : (...parameters: [options?: Options] | [args: readonly unknown[], options?: Options]) => Promise<ReadContractReturnType>; | ||
type GetEstimateFunction<Narrowable extends boolean, TChain extends Chain | undefined, TAbi extends Abi | readonly unknown[], TFunctionName extends string, TAbiFunction extends AbiFunction = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction, Args = AbiParametersToPrimitiveTypes<TAbiFunction['inputs']>, Options = Prettify<Omit<EstimateContractGasParameters<TAbi, TFunctionName, TChain>, 'abi' | 'address' | 'args' | 'functionName'>>> = Narrowable extends true ? (...parameters: Args extends readonly [] ? [options?: Options] : [args: Args, options?: Options]) => Promise<EstimateContractGasReturnType> : (...parameters: [options?: Options] | [args: readonly unknown[], options?: Options]) => Promise<EstimateContractGasReturnType>; | ||
type GetSimulateFunction<Narrowable extends boolean, TChain extends Chain | undefined, TAbi extends Abi | readonly unknown[], TFunctionName extends string, TAbiFunction extends AbiFunction = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction, Args = AbiParametersToPrimitiveTypes<TAbiFunction['inputs']>> = Narrowable extends true ? <TChainOverride extends Chain | undefined, Options extends Prettify<Omit<SimulateContractParameters<TAbi, TFunctionName, TChain, TChainOverride>, 'abi' | 'address' | 'args' | 'functionName'>>>(...parameters: Args extends readonly [] ? [options?: Options] : [args: Args, options?: Options]) => Promise<SimulateContractReturnType<TAbi, TFunctionName, TChain, TChainOverride>> : <TChainOverride extends Chain | undefined, Options extends Prettify<Omit<SimulateContractParameters<TAbi, TFunctionName, TChain, TChainOverride>, 'abi' | 'address' | 'args' | 'functionName'>>>(...parameters: [options?: Options] | [args: readonly unknown[], options?: Options]) => Promise<SimulateContractReturnType>; | ||
type GetWriteFunction<Narrowable extends boolean, TChain extends Chain | undefined, TAccount extends Account | undefined, TAbi extends Abi | readonly unknown[], TFunctionName extends string, TAbiFunction extends AbiFunction = TAbi extends Abi ? ExtractAbiFunction<TAbi, TFunctionName> : AbiFunction, Args = AbiParametersToPrimitiveTypes<TAbiFunction['inputs']>, IsOptionsRequired = [IsUndefined<TAccount>, IsUndefined<TChain>] extends [true, false] | [false, true] ? true : false> = Narrowable extends true ? <TChainOverride extends Chain | undefined, Options extends Prettify<Omit<WriteContractParameters<TAbi, TFunctionName, TChain, TAccount, TChainOverride>, 'abi' | 'address' | 'args' | 'functionName'>>, Rest extends IsOptionsRequired extends true ? [options: Options] : [options?: Options]>(...parameters: Args extends readonly [] ? Rest : [args: Args, ...parameters: Rest]) => Promise<WriteContractReturnType> : <TChainOverride extends Chain | undefined, Options extends Prettify<Omit<WriteContractParameters<TAbi, TFunctionName, TChain, TAccount, TChainOverride>, 'abi' | 'address' | 'args' | 'functionName'>>, Rest extends unknown[] = IsOptionsRequired extends true ? [options: Options] : [options?: Options]>(...parameters: Rest | [args: readonly unknown[], ...parameters: Rest]) => Promise<WriteContractReturnType>; | ||
type GetEventFilter<Narrowable extends boolean, TAbi extends Abi | readonly unknown[], TEventName extends string, TAbiEvent extends AbiEvent = TAbi extends Abi ? ExtractAbiEvent<TAbi, TEventName> : AbiEvent, Args = AbiEventParametersToPrimitiveTypes<TAbiEvent['inputs']>, Options = Prettify<Omit<CreateContractEventFilterParameters<TAbi, TEventName>, 'abi' | 'address' | 'args' | 'eventName'>>, IndexedInputs = Extract<TAbiEvent['inputs'][number], { | ||
indexed: true; | ||
}>> = Narrowable extends true ? <TArgs extends MaybeExtractEventArgsFromAbi<TAbi, TEventName> | undefined>(...parameters: IsNever<IndexedInputs> extends true ? [options?: Options] : [ | ||
args: Args | (Args extends Narrow<TArgs> ? Narrow<TArgs> : never), | ||
options?: Options | ||
]) => Promise<CreateContractEventFilterReturnType<TAbi, TEventName, TArgs>> : (...parameters: [options?: Options] | [ | ||
args: readonly unknown[] | CreateContractFilterOptions, | ||
options?: Options | ||
]) => Promise<CreateContractEventFilterReturnType>; | ||
type GetWatchEvent<Narrowable extends boolean, TAbi extends Abi | readonly unknown[], TEventName extends string, TAbiEvent extends AbiEvent = TAbi extends Abi ? ExtractAbiEvent<TAbi, TEventName> : AbiEvent, Args = AbiEventParametersToPrimitiveTypes<TAbiEvent['inputs']>, Options = Prettify<Omit<WatchContractEventParameters<TAbi, TEventName>, 'abi' | 'address' | 'args' | 'eventName'>>, IndexedInputs = Extract<TAbiEvent['inputs'][number], { | ||
indexed: true; | ||
}>> = Narrowable extends true ? (...parameters: IsNever<IndexedInputs> extends true ? [options: Options] : [args: Args, options: Options]) => WatchContractEventReturnType : (...parameters: [options?: Options] | [ | ||
args: readonly unknown[] | WatchContractEventOptions, | ||
options?: Options | ||
]) => WatchContractEventReturnType; | ||
type CreateContractFilterOptions = RemoveProperties<CreateContractEventFilterParameters>; | ||
type WatchContractEventOptions = RemoveProperties<WatchContractEventParameters>; | ||
type RemoveProperties<T extends object> = Prettify<{ | ||
[key: string]: unknown; | ||
} & { | ||
[_ in keyof T]?: never; | ||
}>; | ||
declare const multicall3Abi: readonly [{ | ||
@@ -541,2 +658,2 @@ readonly inputs: readonly [{ | ||
export { AbiConstructorNotFoundError, AbiConstructorParamsNotFoundError, AbiDecodingDataSizeInvalidError, AbiDecodingZeroDataError, AbiEncodingArrayLengthMismatchError, AbiEncodingLengthMismatchError, AbiErrorInputsNotFoundError, AbiErrorNotFoundError, AbiErrorSignatureNotFoundError, AbiEventNotFoundError, AbiEventSignatureEmptyTopicsError, AbiEventSignatureNotFoundError, AbiFunctionNotFoundError, AbiFunctionOutputsNotFoundError, AbiFunctionSignatureNotFoundError, BlockNotFoundError, ChainDoesNotSupportContract, CustomTransport, CustomTransportConfig, DataLengthTooLongError, DataLengthTooShortError, DecodeLogTopicsMismatch, FallbackTransport, FallbackTransportConfig, FilterTypeNotSupportedError, HttpRequestError, HttpTransport, HttpTransportConfig, InternalRpcError, InvalidAbiDecodingTypeError, InvalidAbiEncodingTypeError, InvalidAddressError, InvalidArrayError, InvalidBytesBooleanError, InvalidDefinitionTypeError, InvalidHexBooleanError, InvalidHexValueError, InvalidInputRpcError, InvalidParamsRpcError, InvalidRequestRpcError, JsonRpcVersionUnsupportedError, LimitExceededRpcError, MethodNotFoundRpcError, MethodNotSupportedRpcError, OffsetOutOfBoundsError, ParseRpcError, RequestError, ResourceNotFoundRpcError, ResourceUnavailableRpcError, RpcError, RpcRequestError, SizeExceedsPaddingSizeError, SwitchChainError, TimeoutError, TransactionRejectedRpcError, UnknownRpcError, UrlRequiredError, UserRejectedRequestError, WebSocketRequestError, WebSocketTransport, WebSocketTransportConfig, custom, etherUnits, fallback, gweiUnits, http, multicall3Abi, webSocket, weiUnits }; | ||
export { AbiConstructorNotFoundError, AbiConstructorParamsNotFoundError, AbiDecodingDataSizeInvalidError, AbiDecodingZeroDataError, AbiEncodingArrayLengthMismatchError, AbiEncodingLengthMismatchError, AbiErrorInputsNotFoundError, AbiErrorNotFoundError, AbiErrorSignatureNotFoundError, AbiEventNotFoundError, AbiEventSignatureEmptyTopicsError, AbiEventSignatureNotFoundError, AbiFunctionNotFoundError, AbiFunctionOutputsNotFoundError, AbiFunctionSignatureNotFoundError, BlockNotFoundError, ChainDoesNotSupportContract, CustomTransport, CustomTransportConfig, DataLengthTooLongError, DataLengthTooShortError, DecodeLogTopicsMismatch, EnsAvatarUriResolutionError, FallbackTransport, FallbackTransportConfig, FilterTypeNotSupportedError, GetContractParameters, GetContractReturnType, HttpRequestError, HttpTransport, HttpTransportConfig, InternalRpcError, InvalidAbiDecodingTypeError, InvalidAbiEncodingTypeError, InvalidAddressError, InvalidArrayError, InvalidBytesBooleanError, InvalidChainIdError, InvalidDefinitionTypeError, InvalidHexBooleanError, InvalidHexValueError, InvalidInputRpcError, InvalidParamsRpcError, InvalidRequestRpcError, JsonRpcVersionUnsupportedError, LimitExceededRpcError, MethodNotFoundRpcError, MethodNotSupportedRpcError, OffsetOutOfBoundsError, ParseRpcError, RequestError, ResourceNotFoundRpcError, ResourceUnavailableRpcError, RpcError, RpcRequestError, SizeExceedsPaddingSizeError, SwitchChainError, TimeoutError, TransactionRejectedRpcError, UnknownRpcError, UrlRequiredError, UserRejectedRequestError, WebSocketRequestError, WebSocketTransport, WebSocketTransportConfig, custom, etherUnits, fallback, getContract, gweiUnits, http, multicall3Abi, webSocket, weiUnits }; |
@@ -6,3 +6,2 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } | ||
var _chunkLWNOZI6Jjs = require('./chunk-LWNOZI6J.js'); | ||
@@ -250,4 +249,24 @@ | ||
var _chunkHBDMIBEOjs = require('./chunk-HBDMIBEO.js'); | ||
var _chunkPWUNCH5Gjs = require('./chunk-PWUNCH5G.js'); | ||
// src/clients/transports/createTransport.ts | ||
@@ -265,3 +284,3 @@ function createTransport({ | ||
config: { key, name, request, retryCount, retryDelay, timeout, type }, | ||
request: _chunkHBDMIBEOjs.buildRequest.call(void 0, request, { retryCount, retryDelay }), | ||
request: _chunkPWUNCH5Gjs.buildRequest.call(void 0, request, { retryCount, retryDelay }), | ||
value | ||
@@ -308,3 +327,3 @@ }; | ||
} catch (err) { | ||
if (_chunkHBDMIBEOjs.isDeterministicError.call(void 0, err)) | ||
if (_chunkPWUNCH5Gjs.isDeterministicError.call(void 0, err)) | ||
throw err; | ||
@@ -353,3 +372,3 @@ if (i === transports.length - 1) | ||
const { stability: stabilityWeight = 0.7, latency: latencyWeight = 0.3 } = weights; | ||
let samples = []; | ||
const samples = []; | ||
const rankTransports_ = async () => { | ||
@@ -396,3 +415,3 @@ const sample = await Promise.all( | ||
onTransports(scores.map(([, i]) => transports[i])); | ||
await _chunkHBDMIBEOjs.wait.call(void 0, interval); | ||
await _chunkPWUNCH5Gjs.wait.call(void 0, interval); | ||
rankTransports_(); | ||
@@ -416,3 +435,3 @@ }; | ||
if (!url_) | ||
throw new (0, _chunkHBDMIBEOjs.UrlRequiredError)(); | ||
throw new (0, _chunkPWUNCH5Gjs.UrlRequiredError)(); | ||
return createTransport( | ||
@@ -423,3 +442,3 @@ { | ||
async request({ method, params }) { | ||
const { result } = await _chunkHBDMIBEOjs.rpc.http(url_, { | ||
const { result } = await _chunkPWUNCH5Gjs.rpc.http(url_, { | ||
body: { | ||
@@ -454,3 +473,3 @@ method, | ||
if (!url_) | ||
throw new (0, _chunkHBDMIBEOjs.UrlRequiredError)(); | ||
throw new (0, _chunkPWUNCH5Gjs.UrlRequiredError)(); | ||
return createTransport( | ||
@@ -461,4 +480,4 @@ { | ||
async request({ method, params }) { | ||
const socket = await _chunkHBDMIBEOjs.getSocket.call(void 0, url_); | ||
const { result } = await _chunkHBDMIBEOjs.rpc.webSocketAsync(socket, { | ||
const socket = await _chunkPWUNCH5Gjs.getSocket.call(void 0, url_); | ||
const { result } = await _chunkPWUNCH5Gjs.rpc.webSocketAsync(socket, { | ||
body: { method, params }, | ||
@@ -476,8 +495,8 @@ timeout | ||
getSocket() { | ||
return _chunkHBDMIBEOjs.getSocket.call(void 0, url_); | ||
return _chunkPWUNCH5Gjs.getSocket.call(void 0, url_); | ||
}, | ||
async subscribe({ params, onData, onError }) { | ||
const socket = await _chunkHBDMIBEOjs.getSocket.call(void 0, url_); | ||
const socket = await _chunkPWUNCH5Gjs.getSocket.call(void 0, url_); | ||
const { result: subscriptionId } = await new Promise( | ||
(resolve, reject) => _chunkHBDMIBEOjs.rpc.webSocket(socket, { | ||
(resolve, reject) => _chunkPWUNCH5Gjs.rpc.webSocket(socket, { | ||
body: { | ||
@@ -492,3 +511,5 @@ method: "eth_subscribe", | ||
} | ||
onData(data); | ||
if (data.method !== "eth_subscription") | ||
return; | ||
onData(data.params); | ||
}, | ||
@@ -505,3 +526,3 @@ onError: (error) => { | ||
return new Promise( | ||
(resolve, reject) => _chunkHBDMIBEOjs.rpc.webSocket(socket, { | ||
(resolve, reject) => _chunkPWUNCH5Gjs.rpc.webSocket(socket, { | ||
body: { | ||
@@ -562,86 +583,91 @@ method: "eth_unsubscribe", | ||
var publicActions = (client) => ({ | ||
call: (args) => _chunkHBDMIBEOjs.call.call(void 0, client, args), | ||
createBlockFilter: () => _chunkHBDMIBEOjs.createBlockFilter.call(void 0, client), | ||
createContractEventFilter: (args) => _chunkHBDMIBEOjs.createContractEventFilter.call(void 0, client, args), | ||
createEventFilter: (args) => _chunkHBDMIBEOjs.createEventFilter.call(void 0, client, args), | ||
createPendingTransactionFilter: () => _chunkHBDMIBEOjs.createPendingTransactionFilter.call(void 0, client), | ||
estimateContractGas: (args) => _chunkHBDMIBEOjs.estimateContractGas.call(void 0, client, args), | ||
estimateGas: (args) => _chunkHBDMIBEOjs.estimateGas.call(void 0, client, args), | ||
getBalance: (args) => _chunkHBDMIBEOjs.getBalance.call(void 0, client, args), | ||
getBlock: (args) => _chunkHBDMIBEOjs.getBlock.call(void 0, client, args), | ||
getBlockNumber: (args) => _chunkHBDMIBEOjs.getBlockNumber.call(void 0, client, args), | ||
getBlockTransactionCount: (args) => _chunkHBDMIBEOjs.getBlockTransactionCount.call(void 0, client, args), | ||
getBytecode: (args) => _chunkHBDMIBEOjs.getBytecode.call(void 0, client, args), | ||
getChainId: () => _chunkHBDMIBEOjs.getChainId.call(void 0, client), | ||
getEnsAddress: (args) => _chunkLWNOZI6Jjs.getEnsAddress.call(void 0, client, args), | ||
getEnsName: (args) => _chunkLWNOZI6Jjs.getEnsName.call(void 0, client, args), | ||
getFeeHistory: (args) => _chunkHBDMIBEOjs.getFeeHistory.call(void 0, client, args), | ||
getFilterChanges: (args) => _chunkHBDMIBEOjs.getFilterChanges.call(void 0, client, args), | ||
getFilterLogs: (args) => _chunkHBDMIBEOjs.getFilterLogs.call(void 0, client, args), | ||
getGasPrice: () => _chunkHBDMIBEOjs.getGasPrice.call(void 0, client), | ||
getLogs: (args) => _chunkHBDMIBEOjs.getLogs.call(void 0, client, args), | ||
getStorageAt: (args) => _chunkHBDMIBEOjs.getStorageAt.call(void 0, client, args), | ||
getTransaction: (args) => _chunkHBDMIBEOjs.getTransaction.call(void 0, client, args), | ||
getTransactionConfirmations: (args) => _chunkHBDMIBEOjs.getTransactionConfirmations.call(void 0, client, args), | ||
getTransactionCount: (args) => _chunkHBDMIBEOjs.getTransactionCount.call(void 0, client, args), | ||
getTransactionReceipt: (args) => _chunkHBDMIBEOjs.getTransactionReceipt.call(void 0, client, args), | ||
multicall: (args) => _chunkHBDMIBEOjs.multicall.call(void 0, client, args), | ||
readContract: (args) => _chunkHBDMIBEOjs.readContract.call(void 0, client, args), | ||
simulateContract: (args) => _chunkHBDMIBEOjs.simulateContract.call(void 0, client, args), | ||
uninstallFilter: (args) => _chunkHBDMIBEOjs.uninstallFilter.call(void 0, client, args), | ||
waitForTransactionReceipt: (args) => _chunkHBDMIBEOjs.waitForTransactionReceipt.call(void 0, client, args), | ||
watchBlocks: (args) => _chunkHBDMIBEOjs.watchBlocks.call(void 0, client, args), | ||
watchBlockNumber: (args) => _chunkHBDMIBEOjs.watchBlockNumber.call(void 0, client, args), | ||
watchContractEvent: (args) => _chunkHBDMIBEOjs.watchContractEvent.call(void 0, client, args), | ||
watchEvent: (args) => _chunkHBDMIBEOjs.watchEvent.call(void 0, client, args), | ||
watchPendingTransactions: (args) => _chunkHBDMIBEOjs.watchPendingTransactions.call(void 0, client, args) | ||
call: (args) => _chunkPWUNCH5Gjs.call.call(void 0, client, args), | ||
createBlockFilter: () => _chunkPWUNCH5Gjs.createBlockFilter.call(void 0, client), | ||
createContractEventFilter: (args) => _chunkPWUNCH5Gjs.createContractEventFilter.call(void 0, client, args), | ||
createEventFilter: (args) => _chunkPWUNCH5Gjs.createEventFilter.call(void 0, client, args), | ||
createPendingTransactionFilter: () => _chunkPWUNCH5Gjs.createPendingTransactionFilter.call(void 0, client), | ||
estimateContractGas: (args) => _chunkPWUNCH5Gjs.estimateContractGas.call(void 0, client, args), | ||
estimateGas: (args) => _chunkPWUNCH5Gjs.estimateGas.call(void 0, client, args), | ||
getBalance: (args) => _chunkPWUNCH5Gjs.getBalance.call(void 0, client, args), | ||
getBlock: (args) => _chunkPWUNCH5Gjs.getBlock.call(void 0, client, args), | ||
getBlockNumber: (args) => _chunkPWUNCH5Gjs.getBlockNumber.call(void 0, client, args), | ||
getBlockTransactionCount: (args) => _chunkPWUNCH5Gjs.getBlockTransactionCount.call(void 0, client, args), | ||
getBytecode: (args) => _chunkPWUNCH5Gjs.getBytecode.call(void 0, client, args), | ||
getChainId: () => _chunkPWUNCH5Gjs.getChainId.call(void 0, client), | ||
getEnsAddress: (args) => _chunkPWUNCH5Gjs.getEnsAddress.call(void 0, client, args), | ||
getEnsAvatar: (args) => _chunkPWUNCH5Gjs.getEnsAvatar.call(void 0, client, args), | ||
getEnsName: (args) => _chunkPWUNCH5Gjs.getEnsName.call(void 0, client, args), | ||
getEnsResolver: (args) => _chunkPWUNCH5Gjs.getEnsResolver.call(void 0, client, args), | ||
getEnsText: (args) => _chunkPWUNCH5Gjs.getEnsText.call(void 0, client, args), | ||
getFeeHistory: (args) => _chunkPWUNCH5Gjs.getFeeHistory.call(void 0, client, args), | ||
getFilterChanges: (args) => _chunkPWUNCH5Gjs.getFilterChanges.call(void 0, client, args), | ||
getFilterLogs: (args) => _chunkPWUNCH5Gjs.getFilterLogs.call(void 0, client, args), | ||
getGasPrice: () => _chunkPWUNCH5Gjs.getGasPrice.call(void 0, client), | ||
getLogs: (args) => _chunkPWUNCH5Gjs.getLogs.call(void 0, client, args), | ||
getStorageAt: (args) => _chunkPWUNCH5Gjs.getStorageAt.call(void 0, client, args), | ||
getTransaction: (args) => _chunkPWUNCH5Gjs.getTransaction.call(void 0, client, args), | ||
getTransactionConfirmations: (args) => _chunkPWUNCH5Gjs.getTransactionConfirmations.call(void 0, client, args), | ||
getTransactionCount: (args) => _chunkPWUNCH5Gjs.getTransactionCount.call(void 0, client, args), | ||
getTransactionReceipt: (args) => _chunkPWUNCH5Gjs.getTransactionReceipt.call(void 0, client, args), | ||
multicall: (args) => _chunkPWUNCH5Gjs.multicall.call(void 0, client, args), | ||
readContract: (args) => _chunkPWUNCH5Gjs.readContract.call(void 0, client, args), | ||
simulateContract: (args) => _chunkPWUNCH5Gjs.simulateContract.call(void 0, client, args), | ||
uninstallFilter: (args) => _chunkPWUNCH5Gjs.uninstallFilter.call(void 0, client, args), | ||
waitForTransactionReceipt: (args) => _chunkPWUNCH5Gjs.waitForTransactionReceipt.call(void 0, client, args), | ||
watchBlocks: (args) => _chunkPWUNCH5Gjs.watchBlocks.call(void 0, client, args), | ||
watchBlockNumber: (args) => _chunkPWUNCH5Gjs.watchBlockNumber.call(void 0, client, args), | ||
watchContractEvent: (args) => _chunkPWUNCH5Gjs.watchContractEvent.call(void 0, client, args), | ||
watchEvent: (args) => _chunkPWUNCH5Gjs.watchEvent.call(void 0, client, args), | ||
watchPendingTransactions: (args) => _chunkPWUNCH5Gjs.watchPendingTransactions.call(void 0, client, args) | ||
}); | ||
// src/clients/decorators/test.ts | ||
var testActions = (client) => ({ | ||
dropTransaction: (args) => _chunkHBDMIBEOjs.dropTransaction.call(void 0, client, args), | ||
getAutomine: () => _chunkHBDMIBEOjs.getAutomine.call(void 0, client), | ||
getTxpoolContent: () => _chunkHBDMIBEOjs.getTxpoolContent.call(void 0, client), | ||
getTxpoolStatus: () => _chunkHBDMIBEOjs.getTxpoolStatus.call(void 0, client), | ||
impersonateAccount: (args) => _chunkHBDMIBEOjs.impersonateAccount.call(void 0, client, args), | ||
increaseTime: (args) => _chunkHBDMIBEOjs.increaseTime.call(void 0, client, args), | ||
inspectTxpool: () => _chunkHBDMIBEOjs.inspectTxpool.call(void 0, client), | ||
mine: (args) => _chunkHBDMIBEOjs.mine.call(void 0, client, args), | ||
removeBlockTimestampInterval: () => _chunkHBDMIBEOjs.removeBlockTimestampInterval.call(void 0, client), | ||
reset: (args) => _chunkHBDMIBEOjs.reset.call(void 0, client, args), | ||
revert: (args) => _chunkHBDMIBEOjs.revert.call(void 0, client, args), | ||
sendUnsignedTransaction: (args) => _chunkHBDMIBEOjs.sendUnsignedTransaction.call(void 0, client, args), | ||
setAutomine: (args) => _chunkHBDMIBEOjs.setAutomine.call(void 0, client, args), | ||
setBalance: (args) => _chunkHBDMIBEOjs.setBalance.call(void 0, client, args), | ||
setBlockGasLimit: (args) => _chunkHBDMIBEOjs.setBlockGasLimit.call(void 0, client, args), | ||
setBlockTimestampInterval: (args) => _chunkHBDMIBEOjs.setBlockTimestampInterval.call(void 0, client, args), | ||
setCode: (args) => _chunkHBDMIBEOjs.setCode.call(void 0, client, args), | ||
setCoinbase: (args) => _chunkHBDMIBEOjs.setCoinbase.call(void 0, client, args), | ||
setIntervalMining: (args) => _chunkHBDMIBEOjs.setIntervalMining.call(void 0, client, args), | ||
setLoggingEnabled: (args) => _chunkHBDMIBEOjs.setLoggingEnabled.call(void 0, client, args), | ||
setMinGasPrice: (args) => _chunkHBDMIBEOjs.setMinGasPrice.call(void 0, client, args), | ||
setNextBlockBaseFeePerGas: (args) => _chunkHBDMIBEOjs.setNextBlockBaseFeePerGas.call(void 0, client, args), | ||
setNextBlockTimestamp: (args) => _chunkHBDMIBEOjs.setNextBlockTimestamp.call(void 0, client, args), | ||
setNonce: (args) => _chunkHBDMIBEOjs.setNonce.call(void 0, client, args), | ||
setRpcUrl: (args) => _chunkHBDMIBEOjs.setRpcUrl.call(void 0, client, args), | ||
setStorageAt: (args) => _chunkHBDMIBEOjs.setStorageAt.call(void 0, client, args), | ||
snapshot: () => _chunkHBDMIBEOjs.snapshot.call(void 0, client), | ||
stopImpersonatingAccount: (args) => _chunkHBDMIBEOjs.stopImpersonatingAccount.call(void 0, client, args) | ||
}); | ||
function testActions(client) { | ||
return { | ||
dropTransaction: (args) => _chunkPWUNCH5Gjs.dropTransaction.call(void 0, client, args), | ||
getAutomine: () => _chunkPWUNCH5Gjs.getAutomine.call(void 0, client), | ||
getTxpoolContent: () => _chunkPWUNCH5Gjs.getTxpoolContent.call(void 0, client), | ||
getTxpoolStatus: () => _chunkPWUNCH5Gjs.getTxpoolStatus.call(void 0, client), | ||
impersonateAccount: (args) => _chunkPWUNCH5Gjs.impersonateAccount.call(void 0, client, args), | ||
increaseTime: (args) => _chunkPWUNCH5Gjs.increaseTime.call(void 0, client, args), | ||
inspectTxpool: () => _chunkPWUNCH5Gjs.inspectTxpool.call(void 0, client), | ||
mine: (args) => _chunkPWUNCH5Gjs.mine.call(void 0, client, args), | ||
removeBlockTimestampInterval: () => _chunkPWUNCH5Gjs.removeBlockTimestampInterval.call(void 0, client), | ||
reset: (args) => _chunkPWUNCH5Gjs.reset.call(void 0, client, args), | ||
revert: (args) => _chunkPWUNCH5Gjs.revert.call(void 0, client, args), | ||
sendUnsignedTransaction: (args) => _chunkPWUNCH5Gjs.sendUnsignedTransaction.call(void 0, client, args), | ||
setAutomine: (args) => _chunkPWUNCH5Gjs.setAutomine.call(void 0, client, args), | ||
setBalance: (args) => _chunkPWUNCH5Gjs.setBalance.call(void 0, client, args), | ||
setBlockGasLimit: (args) => _chunkPWUNCH5Gjs.setBlockGasLimit.call(void 0, client, args), | ||
setBlockTimestampInterval: (args) => _chunkPWUNCH5Gjs.setBlockTimestampInterval.call(void 0, client, args), | ||
setCode: (args) => _chunkPWUNCH5Gjs.setCode.call(void 0, client, args), | ||
setCoinbase: (args) => _chunkPWUNCH5Gjs.setCoinbase.call(void 0, client, args), | ||
setIntervalMining: (args) => _chunkPWUNCH5Gjs.setIntervalMining.call(void 0, client, args), | ||
setLoggingEnabled: (args) => _chunkPWUNCH5Gjs.setLoggingEnabled.call(void 0, client, args), | ||
setMinGasPrice: (args) => _chunkPWUNCH5Gjs.setMinGasPrice.call(void 0, client, args), | ||
setNextBlockBaseFeePerGas: (args) => _chunkPWUNCH5Gjs.setNextBlockBaseFeePerGas.call(void 0, client, args), | ||
setNextBlockTimestamp: (args) => _chunkPWUNCH5Gjs.setNextBlockTimestamp.call(void 0, client, args), | ||
setNonce: (args) => _chunkPWUNCH5Gjs.setNonce.call(void 0, client, args), | ||
setRpcUrl: (args) => _chunkPWUNCH5Gjs.setRpcUrl.call(void 0, client, args), | ||
setStorageAt: (args) => _chunkPWUNCH5Gjs.setStorageAt.call(void 0, client, args), | ||
snapshot: () => _chunkPWUNCH5Gjs.snapshot.call(void 0, client), | ||
stopImpersonatingAccount: (args) => _chunkPWUNCH5Gjs.stopImpersonatingAccount.call(void 0, client, args) | ||
}; | ||
} | ||
// src/clients/decorators/wallet.ts | ||
var walletActions = (client) => ({ | ||
addChain: (args) => _chunkHBDMIBEOjs.addChain.call(void 0, client, args), | ||
deployContract: (args) => _chunkHBDMIBEOjs.deployContract.call(void 0, client, args), | ||
getAddresses: () => _chunkHBDMIBEOjs.getAddresses.call(void 0, client), | ||
getChainId: () => _chunkHBDMIBEOjs.getChainId.call(void 0, client), | ||
getPermissions: () => _chunkHBDMIBEOjs.getPermissions.call(void 0, client), | ||
requestAddresses: () => _chunkHBDMIBEOjs.requestAddresses.call(void 0, client), | ||
requestPermissions: (args) => _chunkHBDMIBEOjs.requestPermissions.call(void 0, client, args), | ||
sendTransaction: (args) => _chunkHBDMIBEOjs.sendTransaction.call(void 0, client, args), | ||
signMessage: (args) => _chunkHBDMIBEOjs.signMessage.call(void 0, client, args), | ||
signTypedData: (args) => _chunkHBDMIBEOjs.signTypedData.call(void 0, client, args), | ||
switchChain: (args) => _chunkHBDMIBEOjs.switchChain.call(void 0, client, args), | ||
watchAsset: (args) => _chunkHBDMIBEOjs.watchAsset.call(void 0, client, args), | ||
writeContract: (args) => _chunkHBDMIBEOjs.writeContract.call(void 0, client, args) | ||
addChain: (args) => _chunkPWUNCH5Gjs.addChain.call(void 0, client, args), | ||
deployContract: (args) => _chunkPWUNCH5Gjs.deployContract.call(void 0, client, args), | ||
getAddresses: () => _chunkPWUNCH5Gjs.getAddresses.call(void 0, client), | ||
getChainId: () => _chunkPWUNCH5Gjs.getChainId.call(void 0, client), | ||
getPermissions: () => _chunkPWUNCH5Gjs.getPermissions.call(void 0, client), | ||
requestAddresses: () => _chunkPWUNCH5Gjs.requestAddresses.call(void 0, client), | ||
requestPermissions: (args) => _chunkPWUNCH5Gjs.requestPermissions.call(void 0, client, args), | ||
sendTransaction: (args) => _chunkPWUNCH5Gjs.sendTransaction.call(void 0, client, args), | ||
signMessage: (args) => _chunkPWUNCH5Gjs.signMessage.call(void 0, client, args), | ||
signTypedData: (args) => _chunkPWUNCH5Gjs.signTypedData.call(void 0, client, args), | ||
switchChain: (args) => _chunkPWUNCH5Gjs.switchChain.call(void 0, client, args), | ||
watchAsset: (args) => _chunkPWUNCH5Gjs.watchAsset.call(void 0, client, args), | ||
writeContract: (args) => _chunkPWUNCH5Gjs.writeContract.call(void 0, client, args) | ||
}); | ||
@@ -699,2 +725,3 @@ | ||
function createWalletClient({ | ||
account, | ||
chain, | ||
@@ -706,10 +733,13 @@ transport, | ||
}) { | ||
const client = createClient({ | ||
chain, | ||
key, | ||
name, | ||
pollingInterval, | ||
transport: () => transport({ retryCount: 0 }), | ||
type: "walletClient" | ||
}); | ||
const client = { | ||
...createClient({ | ||
chain, | ||
key, | ||
name, | ||
pollingInterval, | ||
transport: () => transport({ retryCount: 0 }), | ||
type: "walletClient" | ||
}), | ||
account: account ? _chunkPWUNCH5Gjs.parseAccount.call(void 0, account) : void 0 | ||
}; | ||
return { | ||
@@ -895,3 +925,20 @@ ...client, | ||
exports.AbiConstructorNotFoundError = _chunkHBDMIBEOjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkHBDMIBEOjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkHBDMIBEOjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkHBDMIBEOjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkHBDMIBEOjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkHBDMIBEOjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkHBDMIBEOjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkHBDMIBEOjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkHBDMIBEOjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkHBDMIBEOjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkHBDMIBEOjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkHBDMIBEOjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkHBDMIBEOjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkHBDMIBEOjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkHBDMIBEOjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkHBDMIBEOjs.BaseError; exports.BlockNotFoundError = _chunkHBDMIBEOjs.BlockNotFoundError; exports.CallExecutionError = _chunkHBDMIBEOjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkHBDMIBEOjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkHBDMIBEOjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkHBDMIBEOjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkHBDMIBEOjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkHBDMIBEOjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkHBDMIBEOjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkHBDMIBEOjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkHBDMIBEOjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkHBDMIBEOjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkHBDMIBEOjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkHBDMIBEOjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkHBDMIBEOjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkHBDMIBEOjs.HttpRequestError; exports.InsufficientFundsError = _chunkHBDMIBEOjs.InsufficientFundsError; exports.InternalRpcError = _chunkHBDMIBEOjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkHBDMIBEOjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkHBDMIBEOjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkHBDMIBEOjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkHBDMIBEOjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkHBDMIBEOjs.InvalidAddressError; exports.InvalidArrayError = _chunkHBDMIBEOjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkHBDMIBEOjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkHBDMIBEOjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkHBDMIBEOjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkHBDMIBEOjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkHBDMIBEOjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkHBDMIBEOjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkHBDMIBEOjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkHBDMIBEOjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkHBDMIBEOjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkHBDMIBEOjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkHBDMIBEOjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkHBDMIBEOjs.NonceMaxValueError; exports.NonceTooHighError = _chunkHBDMIBEOjs.NonceTooHighError; exports.NonceTooLowError = _chunkHBDMIBEOjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkHBDMIBEOjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkHBDMIBEOjs.ParseRpcError; exports.RawContractError = _chunkHBDMIBEOjs.RawContractError; exports.RequestError = _chunkHBDMIBEOjs.RequestError; exports.ResourceNotFoundRpcError = _chunkHBDMIBEOjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkHBDMIBEOjs.ResourceUnavailableRpcError; exports.RpcError = _chunkHBDMIBEOjs.RpcError; exports.RpcRequestError = _chunkHBDMIBEOjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkHBDMIBEOjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkHBDMIBEOjs.SwitchChainError; exports.TimeoutError = _chunkHBDMIBEOjs.TimeoutError; exports.TipAboveFeeCapError = _chunkHBDMIBEOjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkHBDMIBEOjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkHBDMIBEOjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkHBDMIBEOjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkHBDMIBEOjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkHBDMIBEOjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkHBDMIBEOjs.UnknownNodeError; exports.UnknownRpcError = _chunkHBDMIBEOjs.UnknownRpcError; exports.UrlRequiredError = _chunkHBDMIBEOjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkHBDMIBEOjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkHBDMIBEOjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkHBDMIBEOjs.WebSocketRequestError; exports.boolToBytes = _chunkHBDMIBEOjs.boolToBytes; exports.boolToHex = _chunkHBDMIBEOjs.boolToHex; exports.bytesToBigint = _chunkHBDMIBEOjs.bytesToBigint; exports.bytesToBool = _chunkHBDMIBEOjs.bytesToBool; exports.bytesToHex = _chunkHBDMIBEOjs.bytesToHex; exports.bytesToNumber = _chunkHBDMIBEOjs.bytesToNumber; exports.bytesToString = _chunkHBDMIBEOjs.bytesToString; exports.concat = _chunkHBDMIBEOjs.concat; exports.concatBytes = _chunkHBDMIBEOjs.concatBytes; exports.concatHex = _chunkHBDMIBEOjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkHBDMIBEOjs.decodeAbiParameters; exports.decodeErrorResult = _chunkHBDMIBEOjs.decodeErrorResult; exports.decodeEventLog = _chunkHBDMIBEOjs.decodeEventLog; exports.decodeFunctionData = _chunkHBDMIBEOjs.decodeFunctionData; exports.decodeFunctionResult = _chunkHBDMIBEOjs.decodeFunctionResult; exports.defineBlock = _chunkHBDMIBEOjs.defineBlock; exports.defineChain = _chunkHBDMIBEOjs.defineChain; exports.defineTransaction = _chunkHBDMIBEOjs.defineTransaction; exports.defineTransactionReceipt = _chunkHBDMIBEOjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkHBDMIBEOjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkHBDMIBEOjs.encodeAbiParameters; exports.encodeDeployData = _chunkHBDMIBEOjs.encodeDeployData; exports.encodeErrorResult = _chunkHBDMIBEOjs.encodeErrorResult; exports.encodeEventTopics = _chunkHBDMIBEOjs.encodeEventTopics; exports.encodeFunctionData = _chunkHBDMIBEOjs.encodeFunctionData; exports.encodeFunctionResult = _chunkHBDMIBEOjs.encodeFunctionResult; exports.encodePacked = _chunkHBDMIBEOjs.encodePacked; exports.etherUnits = _chunkHBDMIBEOjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkHBDMIBEOjs.formatBlock; exports.formatEther = _chunkHBDMIBEOjs.formatEther; exports.formatGwei = _chunkHBDMIBEOjs.formatGwei; exports.formatTransaction = _chunkHBDMIBEOjs.formatTransaction; exports.formatTransactionRequest = _chunkHBDMIBEOjs.formatTransactionRequest; exports.formatUnits = _chunkHBDMIBEOjs.formatUnits; exports.fromBytes = _chunkHBDMIBEOjs.fromBytes; exports.fromHex = _chunkHBDMIBEOjs.fromHex; exports.fromRlp = _chunkHBDMIBEOjs.fromRlp; exports.getAbiItem = _chunkHBDMIBEOjs.getAbiItem; exports.getAccount = _chunkHBDMIBEOjs.getAccount; exports.getAddress = _chunkHBDMIBEOjs.getAddress; exports.getContractAddress = _chunkHBDMIBEOjs.getContractAddress; exports.getContractError = _chunkHBDMIBEOjs.getContractError; exports.getCreate2Address = _chunkHBDMIBEOjs.getCreate2Address; exports.getCreateAddress = _chunkHBDMIBEOjs.getCreateAddress; exports.getEventSelector = _chunkHBDMIBEOjs.getEventSelector; exports.getFunctionSelector = _chunkHBDMIBEOjs.getFunctionSelector; exports.gweiUnits = _chunkHBDMIBEOjs.gweiUnits; exports.hashMessage = _chunkHBDMIBEOjs.hashMessage; exports.hexToBigInt = _chunkHBDMIBEOjs.hexToBigInt; exports.hexToBool = _chunkHBDMIBEOjs.hexToBool; exports.hexToBytes = _chunkHBDMIBEOjs.hexToBytes; exports.hexToNumber = _chunkHBDMIBEOjs.hexToNumber; exports.hexToString = _chunkHBDMIBEOjs.hexToString; exports.http = http; exports.isAddress = _chunkHBDMIBEOjs.isAddress; exports.isAddressEqual = _chunkHBDMIBEOjs.isAddressEqual; exports.isBytes = _chunkHBDMIBEOjs.isBytes; exports.isHex = _chunkHBDMIBEOjs.isHex; exports.keccak256 = _chunkHBDMIBEOjs.keccak256; exports.labelhash = _chunkLWNOZI6Jjs.labelhash; exports.multicall3Abi = _chunkHBDMIBEOjs.multicall3Abi; exports.namehash = _chunkLWNOZI6Jjs.namehash; exports.numberToBytes = _chunkHBDMIBEOjs.numberToBytes; exports.numberToHex = _chunkHBDMIBEOjs.numberToHex; exports.pad = _chunkHBDMIBEOjs.pad; exports.padBytes = _chunkHBDMIBEOjs.padBytes; exports.padHex = _chunkHBDMIBEOjs.padHex; exports.parseAbi = _chunkHBDMIBEOjs.parseAbi; exports.parseAbiItem = _chunkHBDMIBEOjs.parseAbiItem; exports.parseAbiParameter = _chunkHBDMIBEOjs.parseAbiParameter; exports.parseAbiParameters = _chunkHBDMIBEOjs.parseAbiParameters; exports.parseEther = _chunkHBDMIBEOjs.parseEther; exports.parseGwei = _chunkHBDMIBEOjs.parseGwei; exports.parseUnits = _chunkHBDMIBEOjs.parseUnits; exports.recoverAddress = _chunkHBDMIBEOjs.recoverAddress; exports.recoverMessageAddress = _chunkHBDMIBEOjs.recoverMessageAddress; exports.size = _chunkHBDMIBEOjs.size; exports.slice = _chunkHBDMIBEOjs.slice; exports.sliceBytes = _chunkHBDMIBEOjs.sliceBytes; exports.sliceHex = _chunkHBDMIBEOjs.sliceHex; exports.stringToBytes = _chunkHBDMIBEOjs.stringToBytes; exports.stringToHex = _chunkHBDMIBEOjs.stringToHex; exports.stringify = _chunkHBDMIBEOjs.stringify; exports.toBytes = _chunkHBDMIBEOjs.toBytes; exports.toHex = _chunkHBDMIBEOjs.toHex; exports.toRlp = _chunkHBDMIBEOjs.toRlp; exports.transactionType = _chunkHBDMIBEOjs.transactionType; exports.trim = _chunkHBDMIBEOjs.trim; exports.verifyMessage = _chunkHBDMIBEOjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkHBDMIBEOjs.weiUnits; | ||
exports.AbiConstructorNotFoundError = _chunkPWUNCH5Gjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkPWUNCH5Gjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkPWUNCH5Gjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkPWUNCH5Gjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkPWUNCH5Gjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkPWUNCH5Gjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkPWUNCH5Gjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkPWUNCH5Gjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkPWUNCH5Gjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkPWUNCH5Gjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkPWUNCH5Gjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkPWUNCH5Gjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkPWUNCH5Gjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkPWUNCH5Gjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkPWUNCH5Gjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkPWUNCH5Gjs.BaseError; exports.BlockNotFoundError = _chunkPWUNCH5Gjs.BlockNotFoundError; exports.CallExecutionError = _chunkPWUNCH5Gjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkPWUNCH5Gjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkPWUNCH5Gjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkPWUNCH5Gjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkPWUNCH5Gjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkPWUNCH5Gjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkPWUNCH5Gjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkPWUNCH5Gjs.DecodeLogTopicsMismatch; exports.EnsAvatarUriResolutionError = _chunkPWUNCH5Gjs.EnsAvatarUriResolutionError; exports.EstimateGasExecutionError = _chunkPWUNCH5Gjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkPWUNCH5Gjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkPWUNCH5Gjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkPWUNCH5Gjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkPWUNCH5Gjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkPWUNCH5Gjs.HttpRequestError; exports.InsufficientFundsError = _chunkPWUNCH5Gjs.InsufficientFundsError; exports.InternalRpcError = _chunkPWUNCH5Gjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkPWUNCH5Gjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkPWUNCH5Gjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkPWUNCH5Gjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkPWUNCH5Gjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkPWUNCH5Gjs.InvalidAddressError; exports.InvalidArrayError = _chunkPWUNCH5Gjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkPWUNCH5Gjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunkPWUNCH5Gjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunkPWUNCH5Gjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkPWUNCH5Gjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkPWUNCH5Gjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkPWUNCH5Gjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunkPWUNCH5Gjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunkPWUNCH5Gjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkPWUNCH5Gjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkPWUNCH5Gjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkPWUNCH5Gjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkPWUNCH5Gjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkPWUNCH5Gjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkPWUNCH5Gjs.NonceMaxValueError; exports.NonceTooHighError = _chunkPWUNCH5Gjs.NonceTooHighError; exports.NonceTooLowError = _chunkPWUNCH5Gjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkPWUNCH5Gjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkPWUNCH5Gjs.ParseRpcError; exports.RawContractError = _chunkPWUNCH5Gjs.RawContractError; exports.RequestError = _chunkPWUNCH5Gjs.RequestError; exports.ResourceNotFoundRpcError = _chunkPWUNCH5Gjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkPWUNCH5Gjs.ResourceUnavailableRpcError; exports.RpcError = _chunkPWUNCH5Gjs.RpcError; exports.RpcRequestError = _chunkPWUNCH5Gjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkPWUNCH5Gjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkPWUNCH5Gjs.SwitchChainError; exports.TimeoutError = _chunkPWUNCH5Gjs.TimeoutError; exports.TipAboveFeeCapError = _chunkPWUNCH5Gjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkPWUNCH5Gjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkPWUNCH5Gjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkPWUNCH5Gjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkPWUNCH5Gjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkPWUNCH5Gjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkPWUNCH5Gjs.UnknownNodeError; exports.UnknownRpcError = _chunkPWUNCH5Gjs.UnknownRpcError; exports.UrlRequiredError = _chunkPWUNCH5Gjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkPWUNCH5Gjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkPWUNCH5Gjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkPWUNCH5Gjs.WebSocketRequestError; exports.assertRequest = _chunkPWUNCH5Gjs.assertRequest; exports.assertTransactionEIP1559 = _chunkPWUNCH5Gjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkPWUNCH5Gjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkPWUNCH5Gjs.assertTransactionLegacy; exports.boolToBytes = _chunkPWUNCH5Gjs.boolToBytes; exports.boolToHex = _chunkPWUNCH5Gjs.boolToHex; exports.bytesToBigint = _chunkPWUNCH5Gjs.bytesToBigint; exports.bytesToBool = _chunkPWUNCH5Gjs.bytesToBool; exports.bytesToHex = _chunkPWUNCH5Gjs.bytesToHex; exports.bytesToNumber = _chunkPWUNCH5Gjs.bytesToNumber; exports.bytesToString = _chunkPWUNCH5Gjs.bytesToString; exports.concat = _chunkPWUNCH5Gjs.concat; exports.concatBytes = _chunkPWUNCH5Gjs.concatBytes; exports.concatHex = _chunkPWUNCH5Gjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkPWUNCH5Gjs.decodeAbiParameters; exports.decodeErrorResult = _chunkPWUNCH5Gjs.decodeErrorResult; exports.decodeEventLog = _chunkPWUNCH5Gjs.decodeEventLog; exports.decodeFunctionData = _chunkPWUNCH5Gjs.decodeFunctionData; exports.decodeFunctionResult = _chunkPWUNCH5Gjs.decodeFunctionResult; exports.defineBlock = _chunkPWUNCH5Gjs.defineBlock; exports.defineChain = _chunkPWUNCH5Gjs.defineChain; exports.defineTransaction = _chunkPWUNCH5Gjs.defineTransaction; exports.defineTransactionReceipt = _chunkPWUNCH5Gjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkPWUNCH5Gjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkPWUNCH5Gjs.encodeAbiParameters; exports.encodeDeployData = _chunkPWUNCH5Gjs.encodeDeployData; exports.encodeErrorResult = _chunkPWUNCH5Gjs.encodeErrorResult; exports.encodeEventTopics = _chunkPWUNCH5Gjs.encodeEventTopics; exports.encodeFunctionData = _chunkPWUNCH5Gjs.encodeFunctionData; exports.encodeFunctionResult = _chunkPWUNCH5Gjs.encodeFunctionResult; exports.encodePacked = _chunkPWUNCH5Gjs.encodePacked; exports.etherUnits = _chunkPWUNCH5Gjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkPWUNCH5Gjs.formatBlock; exports.formatEther = _chunkPWUNCH5Gjs.formatEther; exports.formatGwei = _chunkPWUNCH5Gjs.formatGwei; exports.formatTransaction = _chunkPWUNCH5Gjs.formatTransaction; exports.formatTransactionRequest = _chunkPWUNCH5Gjs.formatTransactionRequest; exports.formatUnits = _chunkPWUNCH5Gjs.formatUnits; exports.fromBytes = _chunkPWUNCH5Gjs.fromBytes; exports.fromHex = _chunkPWUNCH5Gjs.fromHex; exports.fromRlp = _chunkPWUNCH5Gjs.fromRlp; exports.getAbiItem = _chunkPWUNCH5Gjs.getAbiItem; exports.getAddress = _chunkPWUNCH5Gjs.getAddress; exports.getContract = _chunkPWUNCH5Gjs.getContract; exports.getContractAddress = _chunkPWUNCH5Gjs.getContractAddress; exports.getContractError = _chunkPWUNCH5Gjs.getContractError; exports.getCreate2Address = _chunkPWUNCH5Gjs.getCreate2Address; exports.getCreateAddress = _chunkPWUNCH5Gjs.getCreateAddress; exports.getEventSelector = _chunkPWUNCH5Gjs.getEventSelector; exports.getFunctionSelector = _chunkPWUNCH5Gjs.getFunctionSelector; exports.getSerializedTransactionType = _chunkPWUNCH5Gjs.getSerializedTransactionType; exports.getTransactionType = _chunkPWUNCH5Gjs.getTransactionType; exports.gweiUnits = _chunkPWUNCH5Gjs.gweiUnits; exports.hashMessage = _chunkPWUNCH5Gjs.hashMessage; exports.hashTypedData = _chunkPWUNCH5Gjs.hashTypedData; exports.hexToBigInt = _chunkPWUNCH5Gjs.hexToBigInt; exports.hexToBool = _chunkPWUNCH5Gjs.hexToBool; exports.hexToBytes = _chunkPWUNCH5Gjs.hexToBytes; exports.hexToNumber = _chunkPWUNCH5Gjs.hexToNumber; exports.hexToString = _chunkPWUNCH5Gjs.hexToString; exports.http = http; exports.isAddress = _chunkPWUNCH5Gjs.isAddress; exports.isAddressEqual = _chunkPWUNCH5Gjs.isAddressEqual; exports.isBytes = _chunkPWUNCH5Gjs.isBytes; exports.isHash = _chunkPWUNCH5Gjs.isHash; exports.isHex = _chunkPWUNCH5Gjs.isHex; exports.keccak256 = _chunkPWUNCH5Gjs.keccak256; exports.labelhash = _chunkPWUNCH5Gjs.labelhash; exports.multicall3Abi = _chunkPWUNCH5Gjs.multicall3Abi; exports.namehash = _chunkPWUNCH5Gjs.namehash; exports.numberToBytes = _chunkPWUNCH5Gjs.numberToBytes; exports.numberToHex = _chunkPWUNCH5Gjs.numberToHex; exports.pad = _chunkPWUNCH5Gjs.pad; exports.padBytes = _chunkPWUNCH5Gjs.padBytes; exports.padHex = _chunkPWUNCH5Gjs.padHex; exports.parseAbi = _chunkPWUNCH5Gjs.parseAbi; exports.parseAbiItem = _chunkPWUNCH5Gjs.parseAbiItem; exports.parseAbiParameter = _chunkPWUNCH5Gjs.parseAbiParameter; exports.parseAbiParameters = _chunkPWUNCH5Gjs.parseAbiParameters; exports.parseEther = _chunkPWUNCH5Gjs.parseEther; exports.parseGwei = _chunkPWUNCH5Gjs.parseGwei; exports.parseTransaction = _chunkPWUNCH5Gjs.parseTransaction; exports.parseUnits = _chunkPWUNCH5Gjs.parseUnits; exports.prepareRequest = _chunkPWUNCH5Gjs.prepareRequest; exports.recoverAddress = _chunkPWUNCH5Gjs.recoverAddress; exports.recoverMessageAddress = _chunkPWUNCH5Gjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkPWUNCH5Gjs.recoverTypedDataAddress; exports.serializeTransaction = _chunkPWUNCH5Gjs.serializeTransaction; exports.size = _chunkPWUNCH5Gjs.size; exports.slice = _chunkPWUNCH5Gjs.slice; exports.sliceBytes = _chunkPWUNCH5Gjs.sliceBytes; exports.sliceHex = _chunkPWUNCH5Gjs.sliceHex; exports.stringToBytes = _chunkPWUNCH5Gjs.stringToBytes; exports.stringToHex = _chunkPWUNCH5Gjs.stringToHex; exports.stringify = _chunkPWUNCH5Gjs.stringify; exports.toBytes = _chunkPWUNCH5Gjs.toBytes; exports.toHex = _chunkPWUNCH5Gjs.toHex; exports.toRlp = _chunkPWUNCH5Gjs.toRlp; exports.transactionType = _chunkPWUNCH5Gjs.transactionType; exports.trim = _chunkPWUNCH5Gjs.trim; exports.validateTypedData = _chunkPWUNCH5Gjs.validateTypedData; exports.verifyMessage = _chunkPWUNCH5Gjs.verifyMessage; exports.verifyTypedData = _chunkPWUNCH5Gjs.verifyTypedData; exports.webSocket = webSocket; exports.weiUnits = _chunkPWUNCH5Gjs.weiUnits; | ||
//# sourceMappingURL=index.js.map |
@@ -1,6 +0,8 @@ | ||
export { C as CallParameters, au as CallReturnType, av as CreateBlockFilterReturnType, aw as CreateEventFilterParameters, ax as CreateEventFilterReturnType, ay as CreatePendingTransactionFilterReturnType, E as EstimateGasParameters, az as EstimateGasReturnType, aA as GetBalanceParameters, aB as GetBalanceReturnType, aD as GetBlockNumberParameters, aE as GetBlockNumberReturnType, aC as GetBlockParameters, aF as GetBlockReturnType, aG as GetBlockTransactionCountParameters, aH as GetBlockTransactionCountReturnType, G as GetBytecodeParameters, q as GetBytecodeReturnType, aI as GetFeeHistoryParameters, aJ as GetFeeHistoryReturnType, aK as GetFilterChangesParameters, aL as GetFilterChangesReturnType, aM as GetFilterLogsParameters, aN as GetFilterLogsReturnType, aO as GetGasPriceReturnType, aQ as GetTransactionConfirmationsParameters, aR as GetTransactionConfirmationsReturnType, aS as GetTransactionCountParameters, aT as GetTransactionCountReturnType, aP as GetTransactionParameters, aU as GetTransactionReceiptParameters, aV as GetTransactionReceiptReturnType, aW as GetTransactionReturnType, aX as OnBlock, aY as OnBlockNumberFn, aZ as OnBlockNumberParameter, a_ as OnBlockParameter, O as OnLogsFn, u as OnLogsParameter, a$ as OnTransactionsFn, b0 as OnTransactionsParameter, b1 as ReplacementReason, b2 as ReplacementReturnType, b3 as UninstallFilterParameters, b4 as UninstallFilterReturnType, b5 as WaitForTransactionReceiptParameters, b6 as WaitForTransactionReceiptReturnType, b7 as WatchBlockNumberParameters, b8 as WatchBlocksParameters, b9 as WatchPendingTransactionsParameters, a4 as call, a5 as createBlockFilter, a6 as createEventFilter, a7 as createPendingTransactionFilter, a8 as estimateGas, a9 as getBalance, aa as getBlock, ab as getBlockNumber, ac as getBlockNumberCache, ad as getBlockTransactionCount, H as getBytecode, ae as getChainId, af as getFeeHistory, ag as getFilterChanges, ah as getFilterLogs, aj as getGasPrice, ai as getLogs, ak as getTransaction, al as getTransactionConfirmations, am as getTransactionCount, an as getTransactionReceipt, ao as uninstallFilter, ap as waitForTransactionReceipt, aq as watchBlockNumber, ar as watchBlocks, as as watchEvent, at as watchPendingTransactions } from './createPublicClient-31d44569.js'; | ||
import './eip1193-4f4e240c.js'; | ||
export { i as CallParameters, j as CallReturnType, k as CreateBlockFilterReturnType, l as CreateEventFilterParameters, m as CreateEventFilterReturnType, n as CreatePendingTransactionFilterReturnType, p as EstimateGasParameters, q as EstimateGasReturnType, r as GetBalanceParameters, s as GetBalanceReturnType, t as GetBlockNumberParameters, u as GetBlockNumberReturnType, v as GetBlockParameters, w as GetBlockReturnType, x as GetBlockTransactionCountParameters, y as GetBlockTransactionCountReturnType, z as GetBytecodeParameters, B as GetBytecodeReturnType, N as GetFeeHistoryParameters, O as GetFeeHistoryReturnType, Q as GetFilterChangesParameters, T as GetFilterChangesReturnType, U as GetFilterLogsParameters, V as GetFilterLogsReturnType, X as GetGasPriceReturnType, a1 as GetTransactionConfirmationsParameters, a3 as GetTransactionConfirmationsReturnType, a2 as GetTransactionCountParameters, a4 as GetTransactionCountReturnType, a5 as GetTransactionParameters, a6 as GetTransactionReceiptParameters, a7 as GetTransactionReceiptReturnType, a8 as GetTransactionReturnType, ab as OnBlock, ac as OnBlockNumberFn, ad as OnBlockNumberParameter, ae as OnBlockParameter, af as OnLogsFn, ag as OnLogsParameter, ah as OnTransactionsFn, ai as OnTransactionsParameter, aj as ReplacementReason, ak as ReplacementReturnType, av as UninstallFilterParameters, aw as UninstallFilterReturnType, ax as WaitForTransactionReceiptParameters, ay as WaitForTransactionReceiptReturnType, aB as WatchBlockNumberParameters, aD as WatchBlocksParameters, aH as WatchPendingTransactionsParameters, bn as call, bo as createBlockFilter, bp as createEventFilter, bq as createPendingTransactionFilter, br as estimateGas, bs as getBalance, bt as getBlock, bu as getBlockNumber, bv as getBlockNumberCache, bw as getBlockTransactionCount, b6 as getBytecode, bx as getChainId, by as getFeeHistory, bz as getFilterChanges, bA as getFilterLogs, bC as getGasPrice, bB as getLogs, bD as getTransaction, bE as getTransactionConfirmations, bF as getTransactionCount, bG as getTransactionReceipt, bH as uninstallFilter, bI as waitForTransactionReceipt, bJ as watchBlockNumber, bK as watchBlocks, bL as watchEvent, bM as watchPendingTransactions } from './getEnsResolver-9e26c596.js'; | ||
import './createTransport-21a0d2b3.js'; | ||
import './eip1193-2f3a9cd2.js'; | ||
import 'abitype'; | ||
import './chain-1b53ef88.js'; | ||
import './chain-5507c6f0.js'; | ||
import '@wagmi/chains'; | ||
import './createTransport-e3eba9f7.js'; | ||
import './typedData-46b4d81f.js'; | ||
import '@scure/bip32'; |
@@ -29,3 +29,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkHBDMIBEOjs = require('./chunk-HBDMIBEO.js'); | ||
var _chunkPWUNCH5Gjs = require('./chunk-PWUNCH5G.js'); | ||
@@ -59,3 +59,3 @@ | ||
exports.call = _chunkHBDMIBEOjs.call; exports.createBlockFilter = _chunkHBDMIBEOjs.createBlockFilter; exports.createEventFilter = _chunkHBDMIBEOjs.createEventFilter; exports.createPendingTransactionFilter = _chunkHBDMIBEOjs.createPendingTransactionFilter; exports.estimateGas = _chunkHBDMIBEOjs.estimateGas; exports.getBalance = _chunkHBDMIBEOjs.getBalance; exports.getBlock = _chunkHBDMIBEOjs.getBlock; exports.getBlockNumber = _chunkHBDMIBEOjs.getBlockNumber; exports.getBlockNumberCache = _chunkHBDMIBEOjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkHBDMIBEOjs.getBlockTransactionCount; exports.getBytecode = _chunkHBDMIBEOjs.getBytecode; exports.getChainId = _chunkHBDMIBEOjs.getChainId; exports.getFeeHistory = _chunkHBDMIBEOjs.getFeeHistory; exports.getFilterChanges = _chunkHBDMIBEOjs.getFilterChanges; exports.getFilterLogs = _chunkHBDMIBEOjs.getFilterLogs; exports.getGasPrice = _chunkHBDMIBEOjs.getGasPrice; exports.getLogs = _chunkHBDMIBEOjs.getLogs; exports.getTransaction = _chunkHBDMIBEOjs.getTransaction; exports.getTransactionConfirmations = _chunkHBDMIBEOjs.getTransactionConfirmations; exports.getTransactionCount = _chunkHBDMIBEOjs.getTransactionCount; exports.getTransactionReceipt = _chunkHBDMIBEOjs.getTransactionReceipt; exports.uninstallFilter = _chunkHBDMIBEOjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkHBDMIBEOjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkHBDMIBEOjs.watchBlockNumber; exports.watchBlocks = _chunkHBDMIBEOjs.watchBlocks; exports.watchEvent = _chunkHBDMIBEOjs.watchEvent; exports.watchPendingTransactions = _chunkHBDMIBEOjs.watchPendingTransactions; | ||
exports.call = _chunkPWUNCH5Gjs.call; exports.createBlockFilter = _chunkPWUNCH5Gjs.createBlockFilter; exports.createEventFilter = _chunkPWUNCH5Gjs.createEventFilter; exports.createPendingTransactionFilter = _chunkPWUNCH5Gjs.createPendingTransactionFilter; exports.estimateGas = _chunkPWUNCH5Gjs.estimateGas; exports.getBalance = _chunkPWUNCH5Gjs.getBalance; exports.getBlock = _chunkPWUNCH5Gjs.getBlock; exports.getBlockNumber = _chunkPWUNCH5Gjs.getBlockNumber; exports.getBlockNumberCache = _chunkPWUNCH5Gjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkPWUNCH5Gjs.getBlockTransactionCount; exports.getBytecode = _chunkPWUNCH5Gjs.getBytecode; exports.getChainId = _chunkPWUNCH5Gjs.getChainId; exports.getFeeHistory = _chunkPWUNCH5Gjs.getFeeHistory; exports.getFilterChanges = _chunkPWUNCH5Gjs.getFilterChanges; exports.getFilterLogs = _chunkPWUNCH5Gjs.getFilterLogs; exports.getGasPrice = _chunkPWUNCH5Gjs.getGasPrice; exports.getLogs = _chunkPWUNCH5Gjs.getLogs; exports.getTransaction = _chunkPWUNCH5Gjs.getTransaction; exports.getTransactionConfirmations = _chunkPWUNCH5Gjs.getTransactionConfirmations; exports.getTransactionCount = _chunkPWUNCH5Gjs.getTransactionCount; exports.getTransactionReceipt = _chunkPWUNCH5Gjs.getTransactionReceipt; exports.uninstallFilter = _chunkPWUNCH5Gjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkPWUNCH5Gjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkPWUNCH5Gjs.watchBlockNumber; exports.watchBlocks = _chunkPWUNCH5Gjs.watchBlocks; exports.watchEvent = _chunkPWUNCH5Gjs.watchEvent; exports.watchPendingTransactions = _chunkPWUNCH5Gjs.watchPendingTransactions; | ||
//# sourceMappingURL=public.js.map |
@@ -1,19 +0,19 @@ | ||
import { T as TestClient } from './test-67630299.js'; | ||
export { D as DropTransactionParameters, I as ImpersonateAccountParameters, z as IncreaseTimeParameters, M as MineParameters, R as ResetParameters, A as RevertParameters, S as SendUnsignedTransactionParameters, B as SendUnsignedTransactionReturnType, C as SetBalanceParameters, E as SetBlockGasLimitParameters, F as SetBlockTimestampIntervalParameters, G as SetCodeParameters, H as SetCoinbaseParameters, J as SetIntervalMiningParameters, K as SetMinGasPriceParameters, L as SetNextBlockBaseFeePerGasParameters, N as SetNextBlockTimestampParameters, O as SetNonceParameters, P as SetStorageAtParameters, Q as StopImpersonatingAccountParameters, d as dropTransaction, g as getAutomine, b as getTxpoolContent, e as getTxpoolStatus, i as impersonateAccount, f as increaseTime, h as inspectTxpool, m as mine, r as reset, j as revert, s as sendUnsignedTransaction, k as setBalance, l as setBlockGasLimit, n as setBlockTimestampInterval, o as setCode, p as setCoinbase, q as setIntervalMining, t as setMinGasPrice, u as setNextBlockBaseFeePerGas, v as setNextBlockTimestamp, w as setNonce, x as setStorageAt, y as stopImpersonatingAccount } from './test-67630299.js'; | ||
import './chain-1b53ef88.js'; | ||
import '@wagmi/chains'; | ||
import { T as TestClient, r as TestClientMode } from './test-b67569fe.js'; | ||
export { D as DropTransactionParameters, I as ImpersonateAccountParameters, a as IncreaseTimeParameters, M as MineParameters, R as ResetParameters, b as RevertParameters, S as SendUnsignedTransactionParameters, c as SendUnsignedTransactionReturnType, d as SetBalanceParameters, e as SetBlockGasLimitParameters, f as SetBlockTimestampIntervalParameters, g as SetCodeParameters, h as SetCoinbaseParameters, i as SetIntervalMiningParameters, j as SetMinGasPriceParameters, k as SetNextBlockBaseFeePerGasParameters, l as SetNextBlockTimestampParameters, m as SetNonceParameters, n as SetStorageAtParameters, o as StopImpersonatingAccountParameters, s as dropTransaction, t as getAutomine, u as getTxpoolContent, v as getTxpoolStatus, w as impersonateAccount, x as increaseTime, y as inspectTxpool, z as mine, A as reset, B as revert, C as sendUnsignedTransaction, E as setBalance, F as setBlockGasLimit, G as setBlockTimestampInterval, H as setCode, J as setCoinbase, K as setIntervalMining, L as setMinGasPrice, N as setNextBlockBaseFeePerGas, O as setNextBlockTimestamp, P as setNonce, Q as setStorageAt, U as stopImpersonatingAccount } from './test-b67569fe.js'; | ||
import { Chain } from '@wagmi/chains'; | ||
import { a as Transport } from './createTransport-21a0d2b3.js'; | ||
import { C as Chain$1 } from './chain-5507c6f0.js'; | ||
import './eip1193-2f3a9cd2.js'; | ||
import 'abitype'; | ||
import './createTransport-e3eba9f7.js'; | ||
import './eip1193-4f4e240c.js'; | ||
declare function removeBlockTimestampInterval(client: TestClient): Promise<void>; | ||
declare function removeBlockTimestampInterval<TChain extends Chain | undefined>(client: TestClient<TestClientMode, Transport, TChain>): Promise<void>; | ||
declare function setAutomine(client: TestClient, enabled: boolean): Promise<void>; | ||
declare function setAutomine<TChain extends Chain$1 | undefined>(client: TestClient<TestClientMode, Transport, TChain>, enabled: boolean): Promise<void>; | ||
declare function setLoggingEnabled(client: TestClient, enabled: boolean): Promise<void>; | ||
declare function setLoggingEnabled<TChain extends Chain$1 | undefined>(client: TestClient<TestClientMode, Transport, TChain>, enabled: boolean): Promise<void>; | ||
declare function setRpcUrl(client: TestClient, jsonRpcUrl: string): Promise<void>; | ||
declare function setRpcUrl<TChain extends Chain$1 | undefined>(client: TestClient<TestClientMode, Transport, TChain>, jsonRpcUrl: string): Promise<void>; | ||
declare function snapshot(client: TestClient): Promise<`0x${string}`>; | ||
declare function snapshot<TChain extends Chain$1 | undefined>(client: TestClient<TestClientMode, Transport, TChain>): Promise<`0x${string}`>; | ||
export { removeBlockTimestampInterval, setAutomine, setLoggingEnabled, setRpcUrl, snapshot }; |
@@ -30,3 +30,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkHBDMIBEOjs = require('./chunk-HBDMIBEO.js'); | ||
var _chunkPWUNCH5Gjs = require('./chunk-PWUNCH5G.js'); | ||
@@ -61,3 +61,3 @@ | ||
exports.dropTransaction = _chunkHBDMIBEOjs.dropTransaction; exports.getAutomine = _chunkHBDMIBEOjs.getAutomine; exports.getTxpoolContent = _chunkHBDMIBEOjs.getTxpoolContent; exports.getTxpoolStatus = _chunkHBDMIBEOjs.getTxpoolStatus; exports.impersonateAccount = _chunkHBDMIBEOjs.impersonateAccount; exports.increaseTime = _chunkHBDMIBEOjs.increaseTime; exports.inspectTxpool = _chunkHBDMIBEOjs.inspectTxpool; exports.mine = _chunkHBDMIBEOjs.mine; exports.removeBlockTimestampInterval = _chunkHBDMIBEOjs.removeBlockTimestampInterval; exports.reset = _chunkHBDMIBEOjs.reset; exports.revert = _chunkHBDMIBEOjs.revert; exports.sendUnsignedTransaction = _chunkHBDMIBEOjs.sendUnsignedTransaction; exports.setAutomine = _chunkHBDMIBEOjs.setAutomine; exports.setBalance = _chunkHBDMIBEOjs.setBalance; exports.setBlockGasLimit = _chunkHBDMIBEOjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkHBDMIBEOjs.setBlockTimestampInterval; exports.setCode = _chunkHBDMIBEOjs.setCode; exports.setCoinbase = _chunkHBDMIBEOjs.setCoinbase; exports.setIntervalMining = _chunkHBDMIBEOjs.setIntervalMining; exports.setLoggingEnabled = _chunkHBDMIBEOjs.setLoggingEnabled; exports.setMinGasPrice = _chunkHBDMIBEOjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkHBDMIBEOjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkHBDMIBEOjs.setNextBlockTimestamp; exports.setNonce = _chunkHBDMIBEOjs.setNonce; exports.setRpcUrl = _chunkHBDMIBEOjs.setRpcUrl; exports.setStorageAt = _chunkHBDMIBEOjs.setStorageAt; exports.snapshot = _chunkHBDMIBEOjs.snapshot; exports.stopImpersonatingAccount = _chunkHBDMIBEOjs.stopImpersonatingAccount; | ||
exports.dropTransaction = _chunkPWUNCH5Gjs.dropTransaction; exports.getAutomine = _chunkPWUNCH5Gjs.getAutomine; exports.getTxpoolContent = _chunkPWUNCH5Gjs.getTxpoolContent; exports.getTxpoolStatus = _chunkPWUNCH5Gjs.getTxpoolStatus; exports.impersonateAccount = _chunkPWUNCH5Gjs.impersonateAccount; exports.increaseTime = _chunkPWUNCH5Gjs.increaseTime; exports.inspectTxpool = _chunkPWUNCH5Gjs.inspectTxpool; exports.mine = _chunkPWUNCH5Gjs.mine; exports.removeBlockTimestampInterval = _chunkPWUNCH5Gjs.removeBlockTimestampInterval; exports.reset = _chunkPWUNCH5Gjs.reset; exports.revert = _chunkPWUNCH5Gjs.revert; exports.sendUnsignedTransaction = _chunkPWUNCH5Gjs.sendUnsignedTransaction; exports.setAutomine = _chunkPWUNCH5Gjs.setAutomine; exports.setBalance = _chunkPWUNCH5Gjs.setBalance; exports.setBlockGasLimit = _chunkPWUNCH5Gjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkPWUNCH5Gjs.setBlockTimestampInterval; exports.setCode = _chunkPWUNCH5Gjs.setCode; exports.setCoinbase = _chunkPWUNCH5Gjs.setCoinbase; exports.setIntervalMining = _chunkPWUNCH5Gjs.setIntervalMining; exports.setLoggingEnabled = _chunkPWUNCH5Gjs.setLoggingEnabled; exports.setMinGasPrice = _chunkPWUNCH5Gjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkPWUNCH5Gjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkPWUNCH5Gjs.setNextBlockTimestamp; exports.setNonce = _chunkPWUNCH5Gjs.setNonce; exports.setRpcUrl = _chunkPWUNCH5Gjs.setRpcUrl; exports.setStorageAt = _chunkPWUNCH5Gjs.setStorageAt; exports.snapshot = _chunkPWUNCH5Gjs.snapshot; exports.stopImpersonatingAccount = _chunkPWUNCH5Gjs.stopImpersonatingAccount; | ||
//# sourceMappingURL=test.js.map |
@@ -1,18 +0,20 @@ | ||
import { Address } from 'abitype'; | ||
export { ParseAbi, ParseAbiItem, ParseAbiParameter, ParseAbiParameters, parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters } from 'abitype'; | ||
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from '../getAbiItem-3e809ff9.js'; | ||
export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from '../encodeFunctionResult-1f324375.js'; | ||
export { e as encodePacked } from '../encodePacked-d5d5264a.js'; | ||
export { a as formatAbiItem, f as formatAbiItemWithArgs } from '../formatAbiItem-15e8817d.js'; | ||
import { B as BaseError, C as CallExecutionError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, h as NonceTooHighError, i as NonceTooLowError, N as NonceMaxValueError, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, l as TransactionTypeNotSupportedError, T as TipAboveFeeCapError, U as UnknownNodeError, k as TransactionExecutionError } from '../parseGwei-361e8a12.js'; | ||
export { G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, H as HttpOptions, az as RecoverAddressParameters, aA as RecoverAddressReturnType, aB as RecoverMessageAddressParameters, aC as RecoverMessageAddressReturnType, R as RpcResponse, aw as Socket, q as ToRlpReturnType, aD as VerifyMessageParameters, aE as VerifyMessageReturnType, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as concat, z as concatBytes, A as concatHex, D as formatEther, J as formatGwei, K as formatUnits, L as fromBytes, M as fromHex, O as fromRlp, P as getAccount, Q as getAddress, S as getContractAddress, V as getContractError, X as getCreate2Address, Y as getCreateAddress, Z as getEventSelector, _ as getFunctionSelector, ax as getSocket, $ as hashMessage, a0 as hexToBigInt, a1 as hexToBool, a2 as hexToBytes, a3 as hexToNumber, a4 as hexToString, a5 as isAddress, a6 as isAddressEqual, a7 as isBytes, a8 as isHex, a9 as keccak256, aa as numberToBytes, ab as numberToHex, ac as pad, ad as padBytes, ae as padHex, af as parseEther, ag as parseGwei, ah as parseUnits, ai as recoverAddress, aj as recoverMessageAddress, ay as rpc, ak as size, al as slice, am as sliceBytes, an as sliceHex, ao as stringToBytes, ap as stringToHex, aq as stringify, ar as toBytes, as as toHex, at as toRlp, au as trim, av as verifyMessage } from '../parseGwei-361e8a12.js'; | ||
export { d as defineChain, g as getChainContractAddress } from '../chain-ec8c485d.js'; | ||
import { C as CallParameters, E as EstimateGasParameters, S as SendTransactionParameters, W as WalletClient, P as PublicClient } from '../createPublicClient-31d44569.js'; | ||
export { B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, T as TransactionReceiptFormatter, g as TransactionRequestFormatter, h as defineBlock, i as defineTransactionReceipt, j as defineTransactionRequest, k as formatBlock, l as formatTransactionRequest } from '../createPublicClient-31d44569.js'; | ||
import { a2 as Formatter, C as Chain } from '../chain-1b53ef88.js'; | ||
export { W as ExtractFormatter, X as Formatted, Y as FormattedTransaction, Z as TransactionFormatter, ac as defineFormatter, _ as defineTransaction, ad as format, $ as formatTransaction, a0 as transactionType } from '../chain-1b53ef88.js'; | ||
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from '../getAbiItem-bfba73d1.js'; | ||
export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from '../encodeFunctionResult-c5185b98.js'; | ||
export { e as encodePacked } from '../encodePacked-98f67d09.js'; | ||
export { a as formatAbiItem, f as formatAbiItemWithArgs } from '../formatAbiItem-56dff508.js'; | ||
export { p as parseAccount, a as publicKeyToAddress } from '../publicKeyToAddress-623eb398.js'; | ||
import { B as BaseError, C as CallExecutionError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, i as NonceTooHighError, j as NonceTooLowError, N as NonceMaxValueError, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, m as TransactionTypeNotSupportedError, T as TipAboveFeeCapError, U as UnknownNodeError, l as TransactionExecutionError } from '../parseGwei-d2147f8b.js'; | ||
export { G as GetContractAddressOptions, p as GetCreate2AddressOptions, q as GetCreateAddressOptions, r as GetSerializedTransactionType, s as GetTransactionType, t as HashTypedDataParameters, u as HashTypedDataReturnType, H as HttpOptions, v as RecoverAddressParameters, w as RecoverAddressReturnType, x as RecoverMessageAddressParameters, y as RecoverMessageAddressReturnType, z as RecoverTypedDataAddressParameters, A as RecoverTypedDataAddressReturnType, R as RpcResponse, aY as Socket, D as ToRlpReturnType, V as VerifyMessageParameters, J as VerifyMessageReturnType, K as VerifyTypedDataParameters, L as VerifyTypedDataReturnType, M as assertRequest, O as assertTransactionEIP1559, P as assertTransactionEIP2930, Q as assertTransactionLegacy, S as boolToBytes, X as boolToHex, Y as bytesToBigint, Z as bytesToBool, _ as bytesToHex, $ as bytesToNumber, a0 as bytesToString, a1 as concat, a2 as concatBytes, a3 as concatHex, a4 as formatEther, a5 as formatGwei, a6 as formatUnits, a7 as fromBytes, a8 as fromHex, a9 as fromRlp, aa as getAddress, ab as getContractAddress, ac as getContractError, ad as getCreate2Address, ae as getCreateAddress, af as getEventSelector, ag as getFunctionSelector, ah as getSerializedTransactionType, aZ as getSocket, ai as getTransactionType, aj as hashMessage, ak as hashTypedData, al as hexToBigInt, am as hexToBool, an as hexToBytes, ao as hexToNumber, ap as hexToString, aq as isAddress, ar as isAddressEqual, as as isBytes, at as isHash, au as isHex, av as keccak256, aw as numberToBytes, ax as numberToHex, ay as pad, az as padBytes, aA as padHex, aB as parseEther, aC as parseGwei, aD as parseTransaction, aE as parseUnits, aF as prepareRequest, aG as recoverAddress, aH as recoverMessageAddress, aI as recoverTypedDataAddress, a_ as rpc, aJ as serializeTransaction, aK as size, aL as slice, aM as sliceBytes, aN as sliceHex, aO as stringToBytes, aP as stringToHex, aQ as stringify, aR as toBytes, aS as toHex, aT as toRlp, aU as trim, aV as validateTypedData, aW as verifyMessage, aX as verifyTypedData } from '../parseGwei-d2147f8b.js'; | ||
export { d as defineChain, g as getChainContractAddress } from '../chain-fe47467d.js'; | ||
import { i as CallParameters, p as EstimateGasParameters, ao as SendTransactionParameters } from '../getEnsResolver-9e26c596.js'; | ||
export { aU as BlockFormatter, aV as FormattedBlock, aW as FormattedTransactionReceipt, aX as FormattedTransactionRequest, aY as TransactionReceiptFormatter, aZ as TransactionRequestFormatter, a_ as defineBlock, a$ as defineTransactionReceipt, b0 as defineTransactionRequest, b1 as formatBlock, b2 as formatTransactionRequest } from '../getEnsResolver-9e26c596.js'; | ||
import { ai as Formatter, C as Chain } from '../chain-5507c6f0.js'; | ||
export { aa as ExtractFormatter, ab as Formatted, ac as FormattedTransaction, ad as TransactionFormatter, ar as defineFormatter, ae as defineTransaction, as as format, af as formatTransaction, ag as transactionType } from '../chain-5507c6f0.js'; | ||
import { A as Account } from '../typedData-46b4d81f.js'; | ||
import 'isomorphic-ws'; | ||
import '../eip1193-4f4e240c.js'; | ||
import '../createTransport-e3eba9f7.js'; | ||
import '../createTransport-21a0d2b3.js'; | ||
import '../eip1193-2f3a9cd2.js'; | ||
import '@wagmi/chains'; | ||
import '@scure/bip32'; | ||
@@ -49,3 +51,4 @@ declare function buildRequest<TRequest extends (args: any) => Promise<any>>(request: TRequest, { retryDelay, retryCount, }?: { | ||
declare function getEstimateGasError(err: BaseError, { docsPath, ...args }: EstimateGasParameters & { | ||
declare function getEstimateGasError(err: BaseError, { docsPath, ...args }: Omit<EstimateGasParameters, 'account'> & { | ||
account?: Account; | ||
chain?: Chain; | ||
@@ -58,3 +61,5 @@ docsPath?: string; | ||
declare function getTransactionError(err: BaseError, { docsPath, ...args }: SendTransactionParameters & { | ||
declare function getTransactionError(err: BaseError, { docsPath, ...args }: Omit<SendTransactionParameters, 'account' | 'chain'> & { | ||
account: Account; | ||
chain?: Chain; | ||
docsPath?: string; | ||
@@ -67,15 +72,2 @@ }): TransactionExecutionError; | ||
declare function assertRequest(args: Partial<SendTransactionParameters<Chain>>): void; | ||
type PrepareRequestParameters<TParameters extends SendTransactionParameters = SendTransactionParameters> = TParameters; | ||
type PrepareRequestReturnType<TParameters extends SendTransactionParameters = SendTransactionParameters> = TParameters & { | ||
from: Address; | ||
gas: SendTransactionParameters['gas']; | ||
gasPrice?: SendTransactionParameters['gasPrice']; | ||
maxFeePerGas?: SendTransactionParameters['maxFeePerGas']; | ||
maxPriorityFeePerGas?: SendTransactionParameters['maxPriorityFeePerGas']; | ||
nonce: SendTransactionParameters['nonce']; | ||
}; | ||
declare function prepareRequest<TParameters extends SendTransactionParameters>(client: WalletClient<any, any> | PublicClient<any, any>, args: PrepareRequestParameters<TParameters>): Promise<PrepareRequestReturnType<TParameters>>; | ||
export { arrayRegex, assertRequest, buildRequest, bytesRegex, containsNodeError, extract, extractFunctionName, extractFunctionParams, extractFunctionParts, extractFunctionType, getCallError, getEstimateGasError, getNodeError, getTransactionError, integerRegex, prepareRequest }; | ||
export { arrayRegex, buildRequest, bytesRegex, containsNodeError, extract, extractFunctionName, extractFunctionParams, extractFunctionParts, extractFunctionType, getCallError, getEstimateGasError, getNodeError, getTransactionError, integerRegex }; |
@@ -108,3 +108,2 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkHBDMIBEOjs = require('../chunk-HBDMIBEO.js'); | ||
@@ -123,2 +122,3 @@ | ||
var _chunkPWUNCH5Gjs = require('../chunk-PWUNCH5G.js'); | ||
@@ -218,3 +218,29 @@ | ||
exports.arrayRegex = _chunkHBDMIBEOjs.arrayRegex; exports.assertRequest = _chunkHBDMIBEOjs.assertRequest; exports.boolToBytes = _chunkHBDMIBEOjs.boolToBytes; exports.boolToHex = _chunkHBDMIBEOjs.boolToHex; exports.buildRequest = _chunkHBDMIBEOjs.buildRequest; exports.bytesRegex = _chunkHBDMIBEOjs.bytesRegex; exports.bytesToBigint = _chunkHBDMIBEOjs.bytesToBigint; exports.bytesToBool = _chunkHBDMIBEOjs.bytesToBool; exports.bytesToHex = _chunkHBDMIBEOjs.bytesToHex; exports.bytesToNumber = _chunkHBDMIBEOjs.bytesToNumber; exports.bytesToString = _chunkHBDMIBEOjs.bytesToString; exports.concat = _chunkHBDMIBEOjs.concat; exports.concatBytes = _chunkHBDMIBEOjs.concatBytes; exports.concatHex = _chunkHBDMIBEOjs.concatHex; exports.containsNodeError = _chunkHBDMIBEOjs.containsNodeError; exports.decodeAbiParameters = _chunkHBDMIBEOjs.decodeAbiParameters; exports.decodeErrorResult = _chunkHBDMIBEOjs.decodeErrorResult; exports.decodeEventLog = _chunkHBDMIBEOjs.decodeEventLog; exports.decodeFunctionData = _chunkHBDMIBEOjs.decodeFunctionData; exports.decodeFunctionResult = _chunkHBDMIBEOjs.decodeFunctionResult; exports.defineBlock = _chunkHBDMIBEOjs.defineBlock; exports.defineChain = _chunkHBDMIBEOjs.defineChain; exports.defineFormatter = _chunkHBDMIBEOjs.defineFormatter; exports.defineTransaction = _chunkHBDMIBEOjs.defineTransaction; exports.defineTransactionReceipt = _chunkHBDMIBEOjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkHBDMIBEOjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkHBDMIBEOjs.encodeAbiParameters; exports.encodeDeployData = _chunkHBDMIBEOjs.encodeDeployData; exports.encodeErrorResult = _chunkHBDMIBEOjs.encodeErrorResult; exports.encodeEventTopics = _chunkHBDMIBEOjs.encodeEventTopics; exports.encodeFunctionData = _chunkHBDMIBEOjs.encodeFunctionData; exports.encodeFunctionResult = _chunkHBDMIBEOjs.encodeFunctionResult; exports.encodePacked = _chunkHBDMIBEOjs.encodePacked; exports.extract = _chunkHBDMIBEOjs.extract; exports.extractFunctionName = _chunkHBDMIBEOjs.extractFunctionName; exports.extractFunctionParams = _chunkHBDMIBEOjs.extractFunctionParams; exports.extractFunctionParts = _chunkHBDMIBEOjs.extractFunctionParts; exports.extractFunctionType = _chunkHBDMIBEOjs.extractFunctionType; exports.format = _chunkHBDMIBEOjs.format; exports.formatAbiItem = _chunkHBDMIBEOjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkHBDMIBEOjs.formatAbiItemWithArgs; exports.formatBlock = _chunkHBDMIBEOjs.formatBlock; exports.formatEther = _chunkHBDMIBEOjs.formatEther; exports.formatGwei = _chunkHBDMIBEOjs.formatGwei; exports.formatTransaction = _chunkHBDMIBEOjs.formatTransaction; exports.formatTransactionRequest = _chunkHBDMIBEOjs.formatTransactionRequest; exports.formatUnits = _chunkHBDMIBEOjs.formatUnits; exports.fromBytes = _chunkHBDMIBEOjs.fromBytes; exports.fromHex = _chunkHBDMIBEOjs.fromHex; exports.fromRlp = _chunkHBDMIBEOjs.fromRlp; exports.getAbiItem = _chunkHBDMIBEOjs.getAbiItem; exports.getAccount = _chunkHBDMIBEOjs.getAccount; exports.getAddress = _chunkHBDMIBEOjs.getAddress; exports.getCallError = _chunkHBDMIBEOjs.getCallError; exports.getChainContractAddress = _chunkHBDMIBEOjs.getChainContractAddress; exports.getContractAddress = _chunkHBDMIBEOjs.getContractAddress; exports.getContractError = _chunkHBDMIBEOjs.getContractError; exports.getCreate2Address = _chunkHBDMIBEOjs.getCreate2Address; exports.getCreateAddress = _chunkHBDMIBEOjs.getCreateAddress; exports.getEstimateGasError = _chunkHBDMIBEOjs.getEstimateGasError; exports.getEventSelector = _chunkHBDMIBEOjs.getEventSelector; exports.getFunctionSelector = _chunkHBDMIBEOjs.getFunctionSelector; exports.getNodeError = _chunkHBDMIBEOjs.getNodeError; exports.getSocket = _chunkHBDMIBEOjs.getSocket; exports.getTransactionError = _chunkHBDMIBEOjs.getTransactionError; exports.hashMessage = _chunkHBDMIBEOjs.hashMessage; exports.hexToBigInt = _chunkHBDMIBEOjs.hexToBigInt; exports.hexToBool = _chunkHBDMIBEOjs.hexToBool; exports.hexToBytes = _chunkHBDMIBEOjs.hexToBytes; exports.hexToNumber = _chunkHBDMIBEOjs.hexToNumber; exports.hexToString = _chunkHBDMIBEOjs.hexToString; exports.integerRegex = _chunkHBDMIBEOjs.integerRegex; exports.isAddress = _chunkHBDMIBEOjs.isAddress; exports.isAddressEqual = _chunkHBDMIBEOjs.isAddressEqual; exports.isBytes = _chunkHBDMIBEOjs.isBytes; exports.isHex = _chunkHBDMIBEOjs.isHex; exports.keccak256 = _chunkHBDMIBEOjs.keccak256; exports.numberToBytes = _chunkHBDMIBEOjs.numberToBytes; exports.numberToHex = _chunkHBDMIBEOjs.numberToHex; exports.pad = _chunkHBDMIBEOjs.pad; exports.padBytes = _chunkHBDMIBEOjs.padBytes; exports.padHex = _chunkHBDMIBEOjs.padHex; exports.parseAbi = _chunkHBDMIBEOjs.parseAbi; exports.parseAbiItem = _chunkHBDMIBEOjs.parseAbiItem; exports.parseAbiParameter = _chunkHBDMIBEOjs.parseAbiParameter; exports.parseAbiParameters = _chunkHBDMIBEOjs.parseAbiParameters; exports.parseEther = _chunkHBDMIBEOjs.parseEther; exports.parseGwei = _chunkHBDMIBEOjs.parseGwei; exports.parseUnits = _chunkHBDMIBEOjs.parseUnits; exports.prepareRequest = _chunkHBDMIBEOjs.prepareRequest; exports.recoverAddress = _chunkHBDMIBEOjs.recoverAddress; exports.recoverMessageAddress = _chunkHBDMIBEOjs.recoverMessageAddress; exports.rpc = _chunkHBDMIBEOjs.rpc; exports.size = _chunkHBDMIBEOjs.size; exports.slice = _chunkHBDMIBEOjs.slice; exports.sliceBytes = _chunkHBDMIBEOjs.sliceBytes; exports.sliceHex = _chunkHBDMIBEOjs.sliceHex; exports.stringToBytes = _chunkHBDMIBEOjs.stringToBytes; exports.stringToHex = _chunkHBDMIBEOjs.stringToHex; exports.stringify = _chunkHBDMIBEOjs.stringify; exports.toBytes = _chunkHBDMIBEOjs.toBytes; exports.toHex = _chunkHBDMIBEOjs.toHex; exports.toRlp = _chunkHBDMIBEOjs.toRlp; exports.transactionType = _chunkHBDMIBEOjs.transactionType; exports.trim = _chunkHBDMIBEOjs.trim; exports.verifyMessage = _chunkHBDMIBEOjs.verifyMessage; | ||
exports.arrayRegex = _chunkPWUNCH5Gjs.arrayRegex; exports.assertRequest = _chunkPWUNCH5Gjs.assertRequest; exports.assertTransactionEIP1559 = _chunkPWUNCH5Gjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkPWUNCH5Gjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkPWUNCH5Gjs.assertTransactionLegacy; exports.boolToBytes = _chunkPWUNCH5Gjs.boolToBytes; exports.boolToHex = _chunkPWUNCH5Gjs.boolToHex; exports.buildRequest = _chunkPWUNCH5Gjs.buildRequest; exports.bytesRegex = _chunkPWUNCH5Gjs.bytesRegex; exports.bytesToBigint = _chunkPWUNCH5Gjs.bytesToBigint; exports.bytesToBool = _chunkPWUNCH5Gjs.bytesToBool; exports.bytesToHex = _chunkPWUNCH5Gjs.bytesToHex; exports.bytesToNumber = _chunkPWUNCH5Gjs.bytesToNumber; exports.bytesToString = _chunkPWUNCH5Gjs.bytesToString; exports.concat = _chunkPWUNCH5Gjs.concat; exports.concatBytes = _chunkPWUNCH5Gjs.concatBytes; exports.concatHex = _chunkPWUNCH5Gjs.concatHex; exports.containsNodeError = _chunkPWUNCH5Gjs.containsNodeError; exports.decodeAbiParameters = _chunkPWUNCH5Gjs.decodeAbiParameters; exports.decodeErrorResult = _chunkPWUNCH5Gjs.decodeErrorResult; exports.decodeEventLog = _chunkPWUNCH5Gjs.decodeEventLog; exports.decodeFunctionData = _chunkPWUNCH5Gjs.decodeFunctionData; exports.decodeFunctionResult = _chunkPWUNCH5Gjs.decodeFunctionResult; exports.defineBlock = _chunkPWUNCH5Gjs.defineBlock; exports.defineChain = _chunkPWUNCH5Gjs.defineChain; exports.defineFormatter = _chunkPWUNCH5Gjs.defineFormatter; exports.defineTransaction = _chunkPWUNCH5Gjs.defineTransaction; exports.defineTransactionReceipt = _chunkPWUNCH5Gjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkPWUNCH5Gjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkPWUNCH5Gjs.encodeAbiParameters; exports.encodeDeployData = _chunkPWUNCH5Gjs.encodeDeployData; exports.encodeErrorResult = _chunkPWUNCH5Gjs.encodeErrorResult; exports.encodeEventTopics = _chunkPWUNCH5Gjs.encodeEventTopics; exports.encodeFunctionData = _chunkPWUNCH5Gjs.encodeFunctionData; exports.encodeFunctionResult = _chunkPWUNCH5Gjs.encodeFunctionResult; exports.encodePacked = _chunkPWUNCH5Gjs.encodePacked; exports.extract = _chunkPWUNCH5Gjs.extract; exports.extractFunctionName = _chunkPWUNCH5Gjs.extractFunctionName; exports.extractFunctionParams = _chunkPWUNCH5Gjs.extractFunctionParams; exports.extractFunctionParts = _chunkPWUNCH5Gjs.extractFunctionParts; exports.extractFunctionType = _chunkPWUNCH5Gjs.extractFunctionType; exports.format = _chunkPWUNCH5Gjs.format; exports.formatAbiItem = _chunkPWUNCH5Gjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkPWUNCH5Gjs.formatAbiItemWithArgs; exports.formatBlock = _chunkPWUNCH5Gjs.formatBlock; exports.formatEther = _chunkPWUNCH5Gjs.formatEther; exports.formatGwei = _chunkPWUNCH5Gjs.formatGwei; exports.formatTransaction = _chunkPWUNCH5Gjs.formatTransaction; exports.formatTransactionRequest = _chunkPWUNCH5Gjs.formatTransactionRequest; exports.formatUnits = _chunkPWUNCH5Gjs.formatUnits; exports.fromBytes = _chunkPWUNCH5Gjs.fromBytes; exports.fromHex = _chunkPWUNCH5Gjs.fromHex; exports.fromRlp = _chunkPWUNCH5Gjs.fromRlp; exports.getAbiItem = _chunkPWUNCH5Gjs.getAbiItem; exports.getAddress = _chunkPWUNCH5Gjs.getAddress; exports.getCallError = _chunkPWUNCH5Gjs.getCallError; exports.getChainContractAddress = _chunkPWUNCH5Gjs.getChainContractAddress; exports.getContractAddress = _chunkPWUNCH5Gjs.getContractAddress; exports.getContractError = _chunkPWUNCH5Gjs.getContractError; exports.getCreate2Address = _chunkPWUNCH5Gjs.getCreate2Address; exports.getCreateAddress = _chunkPWUNCH5Gjs.getCreateAddress; exports.getEstimateGasError = _chunkPWUNCH5Gjs.getEstimateGasError; exports.getEventSelector = _chunkPWUNCH5Gjs.getEventSelector; exports.getFunctionSelector = _chunkPWUNCH5Gjs.getFunctionSelector; exports.getNodeError = _chunkPWUNCH5Gjs.getNodeError; exports.getSerializedTransactionType = _chunkPWUNCH5Gjs.getSerializedTransactionType; exports.getSocket = _chunkPWUNCH5Gjs.getSocket; exports.getTransactionError = _chunkPWUNCH5Gjs.getTransactionError; exports.getTransactionType = _chunkPWUNCH5Gjs.getTransactionType; exports.hashMessage = _chunkPWUNCH5Gjs.hashMessage; exports.hashTypedData = _chunkPWUNCH5Gjs.hashTypedData; exports.hexToBigInt = _chunkPWUNCH5Gjs.hexToBigInt; exports.hexToBool = _chunkPWUNCH5Gjs.hexToBool; exports.hexToBytes = _chunkPWUNCH5Gjs.hexToBytes; exports.hexToNumber = _chunkPWUNCH5Gjs.hexToNumber; exports.hexToString = _chunkPWUNCH5Gjs.hexToString; exports.integerRegex = _chunkPWUNCH5Gjs.integerRegex; exports.isAddress = _chunkPWUNCH5Gjs.isAddress; exports.isAddressEqual = _chunkPWUNCH5Gjs.isAddressEqual; exports.isBytes = _chunkPWUNCH5Gjs.isBytes; exports.isHash = _chunkPWUNCH5Gjs.isHash; exports.isHex = _chunkPWUNCH5Gjs.isHex; exports.keccak256 = _chunkPWUNCH5Gjs.keccak256; exports.numberToBytes = _chunkPWUNCH5Gjs.numberToBytes; exports.numberToHex = _chunkPWUNCH5Gjs.numberToHex; exports.pad = _chunkPWUNCH5Gjs.pad; exports.padBytes = _chunkPWUNCH5Gjs.padBytes; exports.padHex = _chunkPWUNCH5Gjs.padHex; exports.parseAbi = _chunkPWUNCH5Gjs.parseAbi; exports.parseAbiItem = _chunkPWUNCH5Gjs.parseAbiItem; exports.parseAbiParameter = _chunkPWUNCH5Gjs.parseAbiParameter; exports.parseAbiParameters = _chunkPWUNCH5Gjs.parseAbiParameters; exports.parseAccount = _chunkPWUNCH5Gjs.parseAccount; exports.parseEther = _chunkPWUNCH5Gjs.parseEther; exports.parseGwei = _chunkPWUNCH5Gjs.parseGwei; exports.parseTransaction = _chunkPWUNCH5Gjs.parseTransaction; exports.parseUnits = _chunkPWUNCH5Gjs.parseUnits; exports.prepareRequest = _chunkPWUNCH5Gjs.prepareRequest; exports.publicKeyToAddress = _chunkPWUNCH5Gjs.publicKeyToAddress; exports.recoverAddress = _chunkPWUNCH5Gjs.recoverAddress; exports.recoverMessageAddress = _chunkPWUNCH5Gjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkPWUNCH5Gjs.recoverTypedDataAddress; exports.rpc = _chunkPWUNCH5Gjs.rpc; exports.serializeTransaction = _chunkPWUNCH5Gjs.serializeTransaction; exports.size = _chunkPWUNCH5Gjs.size; exports.slice = _chunkPWUNCH5Gjs.slice; exports.sliceBytes = _chunkPWUNCH5Gjs.sliceBytes; exports.sliceHex = _chunkPWUNCH5Gjs.sliceHex; exports.stringToBytes = _chunkPWUNCH5Gjs.stringToBytes; exports.stringToHex = _chunkPWUNCH5Gjs.stringToHex; exports.stringify = _chunkPWUNCH5Gjs.stringify; exports.toBytes = _chunkPWUNCH5Gjs.toBytes; exports.toHex = _chunkPWUNCH5Gjs.toHex; exports.toRlp = _chunkPWUNCH5Gjs.toRlp; exports.transactionType = _chunkPWUNCH5Gjs.transactionType; exports.trim = _chunkPWUNCH5Gjs.trim; exports.validateTypedData = _chunkPWUNCH5Gjs.validateTypedData; exports.verifyMessage = _chunkPWUNCH5Gjs.verifyMessage; exports.verifyTypedData = _chunkPWUNCH5Gjs.verifyTypedData; | ||
//# sourceMappingURL=index.js.map |
@@ -1,6 +0,8 @@ | ||
export { bk as AddChainParameters, bl as FormattedTransactionRequest, bn as GetAddressesReturnType, bm as GetPermissionsReturnType, bo as RequestAddressesReturnType, bp as RequestPermissionsReturnType, S as SendTransactionParameters, bq as SendTransactionReturnType, br as SignMessageParameters, bs as SignMessageReturnType, bt as SignTypedDataParameters, bu as SignTypedDataReturnType, bv as SwitchChainParameters, bw as WatchAssetParameters, bx as WatchAssetReturnType, ba as addChain, bb as getAddresses, bc as getPermissions, bd as requestAddresses, be as requestPermissions, bf as sendTransaction, bg as signMessage, bh as signTypedData, bi as switchChain, bj as watchAsset } from './createPublicClient-31d44569.js'; | ||
import './eip1193-4f4e240c.js'; | ||
export { A as AddChainParameters, bX as FormattedTransactionRequest, G as GetAddressesReturnType, _ as GetPermissionsReturnType, al as RequestAddressesReturnType, am as RequestPermissionsReturnType, ao as SendTransactionParameters, ap as SendTransactionReturnType, aq as SignMessageParameters, ar as SignMessageReturnType, as as SignTypedDataParameters, at as SignTypedDataReturnType, au as SwitchChainParameters, az as WatchAssetParameters, aA as WatchAssetReturnType, bN as addChain, bO as getAddresses, bP as getPermissions, bQ as requestAddresses, bR as requestPermissions, bS as sendTransaction, bT as signMessage, bU as signTypedData, bV as switchChain, bW as watchAsset } from './getEnsResolver-9e26c596.js'; | ||
import './createTransport-21a0d2b3.js'; | ||
import './eip1193-2f3a9cd2.js'; | ||
import 'abitype'; | ||
import './chain-1b53ef88.js'; | ||
import './chain-5507c6f0.js'; | ||
import '@wagmi/chains'; | ||
import './createTransport-e3eba9f7.js'; | ||
import './typedData-46b4d81f.js'; | ||
import '@scure/bip32'; |
@@ -12,3 +12,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkHBDMIBEOjs = require('./chunk-HBDMIBEO.js'); | ||
var _chunkPWUNCH5Gjs = require('./chunk-PWUNCH5G.js'); | ||
@@ -25,3 +25,3 @@ | ||
exports.addChain = _chunkHBDMIBEOjs.addChain; exports.getAddresses = _chunkHBDMIBEOjs.getAddresses; exports.getPermissions = _chunkHBDMIBEOjs.getPermissions; exports.requestAddresses = _chunkHBDMIBEOjs.requestAddresses; exports.requestPermissions = _chunkHBDMIBEOjs.requestPermissions; exports.sendTransaction = _chunkHBDMIBEOjs.sendTransaction; exports.signMessage = _chunkHBDMIBEOjs.signMessage; exports.signTypedData = _chunkHBDMIBEOjs.signTypedData; exports.switchChain = _chunkHBDMIBEOjs.switchChain; exports.watchAsset = _chunkHBDMIBEOjs.watchAsset; | ||
exports.addChain = _chunkPWUNCH5Gjs.addChain; exports.getAddresses = _chunkPWUNCH5Gjs.getAddresses; exports.getPermissions = _chunkPWUNCH5Gjs.getPermissions; exports.requestAddresses = _chunkPWUNCH5Gjs.requestAddresses; exports.requestPermissions = _chunkPWUNCH5Gjs.requestPermissions; exports.sendTransaction = _chunkPWUNCH5Gjs.sendTransaction; exports.signMessage = _chunkPWUNCH5Gjs.signMessage; exports.signTypedData = _chunkPWUNCH5Gjs.signTypedData; exports.switchChain = _chunkPWUNCH5Gjs.switchChain; exports.watchAsset = _chunkPWUNCH5Gjs.watchAsset; | ||
//# sourceMappingURL=wallet.js.map |
@@ -1,4 +0,4 @@ | ||
import { R as Requests, E as Events } from './eip1193-4f4e240c.js'; | ||
import { R as Requests, E as Events } from './eip1193-2f3a9cd2.js'; | ||
import 'abitype'; | ||
import './chain-1b53ef88.js'; | ||
import './chain-5507c6f0.js'; | ||
import '@wagmi/chains'; | ||
@@ -5,0 +5,0 @@ |
@@ -5,5 +5,8 @@ { | ||
"dependencies": { | ||
"@ensdomains/address-encoder": "^0.2.21", | ||
"@noble/curves": "^0.9.0", | ||
"@noble/hashes": "^1.1.2", | ||
"@noble/secp256k1": "^1.7.1", | ||
"@wagmi/chains": "~0.2.11", | ||
"@scure/bip32": "^1.2.0", | ||
"@scure/bip39": "^1.1.1", | ||
"@wagmi/chains": "~0.2.15", | ||
"abitype": "~0.7.1", | ||
@@ -14,5 +17,6 @@ "idna-uts46-hx": "^4.1.2", | ||
}, | ||
"version": "0.2.0-main.20230401T004104", | ||
"version": "0.2.0-main.20230403T061632", | ||
"files": [ | ||
"/abi", | ||
"/accounts", | ||
"/dist", | ||
@@ -40,2 +44,7 @@ "/chains", | ||
}, | ||
"./accounts": { | ||
"types": "./dist/accounts/index.d.ts", | ||
"module": "./dist/accounts/index.mjs", | ||
"default": "./dist/accounts/index.js" | ||
}, | ||
"./chains": { | ||
@@ -42,0 +51,0 @@ "types": "./dist/chains.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2045563
96
23446
10
11
8
+ Added@noble/curves@^0.9.0
+ Added@scure/bip32@^1.2.0
+ Added@scure/bip39@^1.1.1
+ Added@ensdomains/address-encoder@0.2.22(transitive)
+ Added@noble/curves@0.9.11.6.0(transitive)
+ Added@noble/hashes@1.3.0(transitive)
+ Added@scure/base@1.1.9(transitive)
+ Added@scure/bip32@1.5.0(transitive)
+ Added@scure/bip39@1.4.0(transitive)
+ Addedbase-x@3.0.10(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbech32@2.0.0(transitive)
+ Addedbig-integer@1.6.36(transitive)
+ Addedblakejs@1.2.1(transitive)
+ Addedbn.js@4.12.0(transitive)
+ Addedbs58@4.0.1(transitive)
+ Addedbuffer@6.0.3(transitive)
+ Addedcrypto-addr-codec@0.1.8(transitive)
+ Addedhash-base@3.1.0(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedjs-crc@0.2.0(transitive)
+ Addedjs-sha256@0.9.0(transitive)
+ Addedjs-sha512@0.8.0(transitive)
+ Addednano-base32@1.0.1(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedripemd160@2.0.2(transitive)
+ Addedripemd160-min@0.0.6(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsha3@2.1.4(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
- Removed@noble/secp256k1@^1.7.1
- Removed@noble/secp256k1@1.7.1(transitive)
Updated@wagmi/chains@~0.2.15