Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

viem

Package Overview
Dependencies
Maintainers
1
Versions
2210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

viem - npm Package Compare versions

Comparing version 0.0.1-alpha.10 to 0.0.1-alpha.11

dist/actions/index.mjs

2

actions/package.json
{
"type": "module",
"module": "../dist/actions/index.mjs",
"main": "../dist/actions/index.js"
}
{
"type": "module",
"module": "../dist/chains.mjs",
"main": "../dist/chains.js"
}
{
"type": "module",
"module": "../dist/clients/index.mjs",
"main": "../dist/clients/index.js"
}

@@ -1,2 +0,2 @@

export { C as CallArgs, a as CallContractArgs, b as CallContractResponse, c as CallResponse, d as CreateBlockFilterResponse, e as CreatePendingTransactionFilterResponse, D as DropTransactionArgs, E as EstimateGasArgs, f as EstimateGasResponse, bh as FormattedTransactionRequest, G as GetBalanceArgs, g as GetBalanceResponse, h as GetBlockArgs, i as GetBlockNumberArgs, j as GetBlockNumberResponse, k as GetBlockResponse, l as GetBlockTransactionCountArgs, m as GetBlockTransactionCountResponse, n as GetFeeHistoryArgs, o as GetFeeHistoryResponse, p as GetFilterChangesArgs, q as GetFilterChangesResponse, r as GetFilterLogsArgs, s as GetFilterLogsResponse, t as GetGasPriceResponse, u as GetPermissionsResponse, v as GetTransactionArgs, w as GetTransactionConfirmationsArgs, x as GetTransactionConfirmationsResponse, y as GetTransactionCountArgs, z as GetTransactionCountResponse, B as GetTransactionReceiptArgs, F as GetTransactionReceiptResponse, A as GetTransactionResponse, I as ImpersonateAccountArgs, H as IncreaseTimeArgs, M as MineArgs, O as OnBlock, J as OnBlockNumber, K as OnBlockNumberResponse, L as OnBlockResponse, N as OnTransactions, P as OnTransactionsResponse, bf as ReplacementReason, bg as ReplacementResponse, Q as RequestPermissionsResponse, R as ResetArgs, S as RevertArgs, T as SendTransactionArgs, U as SendTransactionResponse, V as SendUnsignedTransactionArgs, W as SendUnsignedTransactionResponse, X as SetBalanceArgs, Y as SetBlockGasLimitArgs, a1 as SetBlockTimestampIntervalArgs, Z as SetCodeArgs, _ as SetCoinbaseArgs, $ as SetIntervalMiningArgs, a0 as SetMinGasPriceArgs, a3 as SetNextBlockBaseFeePerGasArgs, a2 as SetNextBlockTimestampArgs, a4 as SetNonceArgs, a5 as SetStorageAtArgs, a6 as SignMessageArgs, a7 as SignMessageResponse, a8 as StopImpersonatingAccountArgs, a9 as SwitchChainArgs, aa as UninstallFilterArgs, ab as UninstallFilterResponse, ac as WaitForTransactionReceiptArgs, ad as WaitForTransactionReceiptResponse, ae as WatchAssetArgs, af as WatchAssetResponse, ag as WatchBlockNumberArgs, ah as WatchBlocksArgs, ai as WatchPendingTransactionsArgs, aj as addChain, ak as call, al as callContract, am as createBlockFilter, an as createPendingTransactionFilter, ap as dropTransaction, ao as estimateGas, aq as getAccounts, ar as getAutomine, as as getBalance, at as getBlock, au as getBlockNumber, be as getBlockNumberCache, av as getBlockTransactionCount, aw as getChainId, ax as getFeeHistory, ay as getFilterChanges, az as getFilterLogs, aA as getGasPrice, aB as getPermissions, aC as getTransaction, aD as getTransactionConfirmations, aE as getTransactionCount, aF as getTransactionReceipt, aG as getTxpoolContent, aH as getTxpoolStatus, aI as impersonateAccount, aJ as increaseTime, aK as inspectTxpool, aL as mine, aM as removeBlockTimestampInterval, aO as requestAccounts, aP as requestPermissions, aN as reset, aQ as revert, aR as sendTransaction, aS as sendUnsignedTransaction, aT as setAutomine, aU as setBalance, aV as setBlockGasLimit, aW as setBlockTimestampInterval, aX as setCode, aY as setCoinbase, aZ as setIntervalMining, a_ as setLoggingEnabled, a$ as setMinGasPrice, b0 as setNextBlockBaseFeePerGas, b1 as setNextBlockTimestamp, b2 as setNonce, b3 as setStorageAt, b4 as signMessage, b5 as snapshot, b6 as stopImpersonatingAccount, b7 as switchChain, b8 as uninstallFilter, b9 as waitForTransactionReceipt, ba as watchAsset, bb as watchBlockNumber, bc as watchBlocks, bd as watchPendingTransactions } from '../watchAsset-bc6373f4.js';
export { C as CallArgs, a as CallContractArgs, b as CallContractResponse, c as CallResponse, d as CreateBlockFilterResponse, e as CreatePendingTransactionFilterResponse, D as DropTransactionArgs, E as EstimateGasArgs, f as EstimateGasResponse, bh as FormattedTransactionRequest, G as GetBalanceArgs, g as GetBalanceResponse, h as GetBlockArgs, i as GetBlockNumberArgs, j as GetBlockNumberResponse, k as GetBlockResponse, l as GetBlockTransactionCountArgs, m as GetBlockTransactionCountResponse, n as GetFeeHistoryArgs, o as GetFeeHistoryResponse, p as GetFilterChangesArgs, q as GetFilterChangesResponse, r as GetFilterLogsArgs, s as GetFilterLogsResponse, t as GetGasPriceResponse, u as GetPermissionsResponse, v as GetTransactionArgs, w as GetTransactionConfirmationsArgs, x as GetTransactionConfirmationsResponse, y as GetTransactionCountArgs, z as GetTransactionCountResponse, B as GetTransactionReceiptArgs, F as GetTransactionReceiptResponse, A as GetTransactionResponse, I as ImpersonateAccountArgs, H as IncreaseTimeArgs, M as MineArgs, O as OnBlock, J as OnBlockNumber, K as OnBlockNumberResponse, L as OnBlockResponse, N as OnTransactions, P as OnTransactionsResponse, bf as ReplacementReason, bg as ReplacementResponse, Q as RequestPermissionsResponse, R as ResetArgs, S as RevertArgs, T as SendTransactionArgs, U as SendTransactionResponse, V as SendUnsignedTransactionArgs, W as SendUnsignedTransactionResponse, X as SetBalanceArgs, Y as SetBlockGasLimitArgs, a1 as SetBlockTimestampIntervalArgs, Z as SetCodeArgs, _ as SetCoinbaseArgs, $ as SetIntervalMiningArgs, a0 as SetMinGasPriceArgs, a3 as SetNextBlockBaseFeePerGasArgs, a2 as SetNextBlockTimestampArgs, a4 as SetNonceArgs, a5 as SetStorageAtArgs, a6 as SignMessageArgs, a7 as SignMessageResponse, a8 as StopImpersonatingAccountArgs, a9 as SwitchChainArgs, aa as UninstallFilterArgs, ab as UninstallFilterResponse, ac as WaitForTransactionReceiptArgs, ad as WaitForTransactionReceiptResponse, ae as WatchAssetArgs, af as WatchAssetResponse, ag as WatchBlockNumberArgs, ah as WatchBlocksArgs, ai as WatchPendingTransactionsArgs, aj as addChain, ak as call, al as callContract, am as createBlockFilter, an as createPendingTransactionFilter, ap as dropTransaction, ao as estimateGas, aq as getAccounts, ar as getAutomine, as as getBalance, at as getBlock, au as getBlockNumber, be as getBlockNumberCache, av as getBlockTransactionCount, aw as getChainId, ax as getFeeHistory, ay as getFilterChanges, az as getFilterLogs, aA as getGasPrice, aB as getPermissions, aC as getTransaction, aD as getTransactionConfirmations, aE as getTransactionCount, aF as getTransactionReceipt, aG as getTxpoolContent, aH as getTxpoolStatus, aI as impersonateAccount, aJ as increaseTime, aK as inspectTxpool, aL as mine, aM as removeBlockTimestampInterval, aO as requestAccounts, aP as requestPermissions, aN as reset, aQ as revert, aR as sendTransaction, aS as sendUnsignedTransaction, aT as setAutomine, aU as setBalance, aV as setBlockGasLimit, aW as setBlockTimestampInterval, aX as setCode, aY as setCoinbase, aZ as setIntervalMining, a_ as setLoggingEnabled, a$ as setMinGasPrice, b0 as setNextBlockBaseFeePerGas, b1 as setNextBlockTimestamp, b2 as setNonce, b3 as setStorageAt, b4 as signMessage, b5 as snapshot, b6 as stopImpersonatingAccount, b7 as switchChain, b8 as uninstallFilter, b9 as waitForTransactionReceipt, ba as watchAsset, bb as watchBlockNumber, bc as watchBlocks, bd as watchPendingTransactions } from '../watchAsset-43255bfd.js';
import 'abitype';

@@ -7,3 +7,3 @@ import '../chains.js';

import '../transactionRequest-08d30731.js';
import '../createWalletClient-d612fe08.js';
import '../eip1193-020a6f13.js';
import '../createWalletClient-3f9fa8b6.js';
import '../eip1193-c001fcd5.js';

@@ -1,125 +0,125 @@

import {
addChain,
call,
callContract,
createBlockFilter,
createPendingTransactionFilter,
dropTransaction,
estimateGas,
getAccounts,
getAutomine,
getBalance,
getBlock,
getBlockNumber,
getBlockNumberCache,
getBlockTransactionCount,
getChainId,
getFeeHistory,
getFilterChanges,
getFilterLogs,
getGasPrice,
getPermissions,
getTransaction,
getTransactionConfirmations,
getTransactionCount,
getTransactionReceipt,
getTxpoolContent,
getTxpoolStatus,
impersonateAccount,
increaseTime,
inspectTxpool,
mine,
removeBlockTimestampInterval,
requestAccounts,
requestPermissions,
reset,
revert,
sendTransaction,
sendUnsignedTransaction,
setAutomine,
setBalance,
setBlockGasLimit,
setBlockTimestampInterval,
setCode,
setCoinbase,
setIntervalMining,
setLoggingEnabled,
setMinGasPrice,
setNextBlockBaseFeePerGas,
setNextBlockTimestamp,
setNonce,
setStorageAt,
signMessage,
snapshot,
stopImpersonatingAccount,
switchChain,
uninstallFilter,
waitForTransactionReceipt,
watchAsset,
watchBlockNumber,
watchBlocks,
watchPendingTransactions
} from "../chunk-NMN4TFDP.js";
import "../chunk-6GAKRM5P.js";
export {
addChain,
call,
callContract,
createBlockFilter,
createPendingTransactionFilter,
dropTransaction,
estimateGas,
getAccounts,
getAutomine,
getBalance,
getBlock,
getBlockNumber,
getBlockNumberCache,
getBlockTransactionCount,
getChainId,
getFeeHistory,
getFilterChanges,
getFilterLogs,
getGasPrice,
getPermissions,
getTransaction,
getTransactionConfirmations,
getTransactionCount,
getTransactionReceipt,
getTxpoolContent,
getTxpoolStatus,
impersonateAccount,
increaseTime,
inspectTxpool,
mine,
removeBlockTimestampInterval,
requestAccounts,
requestPermissions,
reset,
revert,
sendTransaction,
sendUnsignedTransaction,
setAutomine,
setBalance,
setBlockGasLimit,
setBlockTimestampInterval,
setCode,
setCoinbase,
setIntervalMining,
setLoggingEnabled,
setMinGasPrice,
setNextBlockBaseFeePerGas,
setNextBlockTimestamp,
setNonce,
setStorageAt,
signMessage,
snapshot,
stopImpersonatingAccount,
switchChain,
uninstallFilter,
waitForTransactionReceipt,
watchAsset,
watchBlockNumber,
watchBlocks,
watchPendingTransactions
};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkPEAG3TICjs = require('../chunk-PEAG3TIC.js');
require('../chunk-35OJIFIW.js');
exports.addChain = _chunkPEAG3TICjs.addChain; exports.call = _chunkPEAG3TICjs.call; exports.callContract = _chunkPEAG3TICjs.callContract; exports.createBlockFilter = _chunkPEAG3TICjs.createBlockFilter; exports.createPendingTransactionFilter = _chunkPEAG3TICjs.createPendingTransactionFilter; exports.dropTransaction = _chunkPEAG3TICjs.dropTransaction; exports.estimateGas = _chunkPEAG3TICjs.estimateGas; exports.getAccounts = _chunkPEAG3TICjs.getAccounts; exports.getAutomine = _chunkPEAG3TICjs.getAutomine; exports.getBalance = _chunkPEAG3TICjs.getBalance; exports.getBlock = _chunkPEAG3TICjs.getBlock; exports.getBlockNumber = _chunkPEAG3TICjs.getBlockNumber; exports.getBlockNumberCache = _chunkPEAG3TICjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkPEAG3TICjs.getBlockTransactionCount; exports.getChainId = _chunkPEAG3TICjs.getChainId; exports.getFeeHistory = _chunkPEAG3TICjs.getFeeHistory; exports.getFilterChanges = _chunkPEAG3TICjs.getFilterChanges; exports.getFilterLogs = _chunkPEAG3TICjs.getFilterLogs; exports.getGasPrice = _chunkPEAG3TICjs.getGasPrice; exports.getPermissions = _chunkPEAG3TICjs.getPermissions; exports.getTransaction = _chunkPEAG3TICjs.getTransaction; exports.getTransactionConfirmations = _chunkPEAG3TICjs.getTransactionConfirmations; exports.getTransactionCount = _chunkPEAG3TICjs.getTransactionCount; exports.getTransactionReceipt = _chunkPEAG3TICjs.getTransactionReceipt; exports.getTxpoolContent = _chunkPEAG3TICjs.getTxpoolContent; exports.getTxpoolStatus = _chunkPEAG3TICjs.getTxpoolStatus; exports.impersonateAccount = _chunkPEAG3TICjs.impersonateAccount; exports.increaseTime = _chunkPEAG3TICjs.increaseTime; exports.inspectTxpool = _chunkPEAG3TICjs.inspectTxpool; exports.mine = _chunkPEAG3TICjs.mine; exports.removeBlockTimestampInterval = _chunkPEAG3TICjs.removeBlockTimestampInterval; exports.requestAccounts = _chunkPEAG3TICjs.requestAccounts; exports.requestPermissions = _chunkPEAG3TICjs.requestPermissions; exports.reset = _chunkPEAG3TICjs.reset; exports.revert = _chunkPEAG3TICjs.revert; exports.sendTransaction = _chunkPEAG3TICjs.sendTransaction; exports.sendUnsignedTransaction = _chunkPEAG3TICjs.sendUnsignedTransaction; exports.setAutomine = _chunkPEAG3TICjs.setAutomine; exports.setBalance = _chunkPEAG3TICjs.setBalance; exports.setBlockGasLimit = _chunkPEAG3TICjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkPEAG3TICjs.setBlockTimestampInterval; exports.setCode = _chunkPEAG3TICjs.setCode; exports.setCoinbase = _chunkPEAG3TICjs.setCoinbase; exports.setIntervalMining = _chunkPEAG3TICjs.setIntervalMining; exports.setLoggingEnabled = _chunkPEAG3TICjs.setLoggingEnabled; exports.setMinGasPrice = _chunkPEAG3TICjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkPEAG3TICjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkPEAG3TICjs.setNextBlockTimestamp; exports.setNonce = _chunkPEAG3TICjs.setNonce; exports.setStorageAt = _chunkPEAG3TICjs.setStorageAt; exports.signMessage = _chunkPEAG3TICjs.signMessage; exports.snapshot = _chunkPEAG3TICjs.snapshot; exports.stopImpersonatingAccount = _chunkPEAG3TICjs.stopImpersonatingAccount; exports.switchChain = _chunkPEAG3TICjs.switchChain; exports.uninstallFilter = _chunkPEAG3TICjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkPEAG3TICjs.waitForTransactionReceipt; exports.watchAsset = _chunkPEAG3TICjs.watchAsset; exports.watchBlockNumber = _chunkPEAG3TICjs.watchBlockNumber; exports.watchBlocks = _chunkPEAG3TICjs.watchBlocks; exports.watchPendingTransactions = _chunkPEAG3TICjs.watchPendingTransactions;

@@ -49,8 +49,225 @@ import { R as RpcBlock, d as Block, q as RpcTransaction, D as Transaction, r as RpcTransactionReceipt, T as TransactionReceipt, v as TransactionRequest, s as RpcTransactionRequest, N as TransactionType, H as Hex } from './rpc-b77c5aee.js';

}) => TransactionReceipt<bigint, number, "success" | "reverted", TransactionType> & ReturnType<TFormat> & { [K in TExclude[number]]: never; };
declare const arbitrumGoerli: Chain$1;
declare const arbitrum: Chain$1;
declare const avalancheFuji: Chain$1;
declare const avalanche: Chain$1;
declare const bscTestnet: Chain$1;
declare const bsc: Chain$1;
declare const arbitrumGoerli: {
readonly id: 421613;
readonly name: "Arbitrum Goerli";
readonly network: "arbitrum-goerli";
readonly nativeCurrency: {
readonly name: "Arbitrum Goerli Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly alchemy: {
readonly http: readonly ["https://arb-goerli.g.alchemy.com/v2"];
readonly webSocket: readonly ["wss://arb-goerli.g.alchemy.com/v2"];
};
readonly infura: {
readonly http: readonly ["https://arbitrum-goerli.infura.io/v3"];
readonly webSocket: readonly ["wss://arbitrum-goerli.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://goerli-rollup.arbitrum.io/rpc"];
};
readonly public: {
readonly http: readonly ["https://goerli-rollup.arbitrum.io/rpc"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "Arbiscan";
readonly url: "https://goerli.arbiscan.io/";
};
readonly default: {
readonly name: "Arbiscan";
readonly url: "https://goerli.arbiscan.io/";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 88114;
};
};
readonly testnet: true;
};
declare const arbitrum: {
readonly id: 42161;
readonly name: "Arbitrum One";
readonly network: "arbitrum";
readonly nativeCurrency: {
readonly name: "Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly alchemy: {
readonly http: readonly ["https://arb-mainnet.g.alchemy.com/v2"];
readonly webSocket: readonly ["wss://arb-mainnet.g.alchemy.com/v2"];
};
readonly infura: {
readonly http: readonly ["https://arbitrum-mainnet.infura.io/v3"];
readonly webSocket: readonly ["wss://arbitrum-mainnet.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
};
readonly public: {
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "Arbiscan";
readonly url: "https://arbiscan.io";
};
readonly default: {
readonly name: "Arbiscan";
readonly url: "https://arbiscan.io";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 7654707;
};
};
};
declare const avalancheFuji: {
readonly id: 43113;
readonly name: "Avalanche Fuji";
readonly network: "avalanche-fuji";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Avalanche Fuji";
readonly symbol: "AVAX";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://api.avax-test.network/ext/bc/C/rpc"];
};
readonly public: {
readonly http: readonly ["https://api.avax-test.network/ext/bc/C/rpc"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "SnowTrace";
readonly url: "https://testnet.snowtrace.io";
};
readonly default: {
readonly name: "SnowTrace";
readonly url: "https://testnet.snowtrace.io";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 7096959;
};
};
readonly testnet: true;
};
declare const avalanche: {
readonly id: 43114;
readonly name: "Avalanche";
readonly network: "avalanche";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Avalanche";
readonly symbol: "AVAX";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://api.avax.network/ext/bc/C/rpc"];
};
readonly public: {
readonly http: readonly ["https://api.avax.network/ext/bc/C/rpc"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "SnowTrace";
readonly url: "https://snowtrace.io";
};
readonly default: {
readonly name: "SnowTrace";
readonly url: "https://snowtrace.io";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 11907934;
};
};
};
declare const bscTestnet: {
readonly id: 97;
readonly name: "Binance Smart Chain Testnet";
readonly network: "bsc-testnet";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "BNB";
readonly symbol: "tBNB";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://bsc-testnet.public.blastapi.io"];
};
readonly public: {
readonly http: readonly ["https://bsc-testnet.public.blastapi.io"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "BscScan";
readonly url: "https://testnet.bscscan.com";
};
readonly default: {
readonly name: "BscScan";
readonly url: "https://testnet.bscscan.com";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 17422483;
};
};
readonly testnet: true;
};
declare const bsc: {
readonly id: 56;
readonly name: "BNB Smart Chain";
readonly network: "bsc";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "BNB";
readonly symbol: "BNB";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.ankr.com/bsc"];
};
readonly public: {
readonly http: readonly ["https://rpc.ankr.com/bsc"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "BscScan";
readonly url: "https://bscscan.com";
};
readonly default: {
readonly name: "BscScan";
readonly url: "https://bscscan.com";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 15921452;
};
};
};
declare const celo: {

@@ -66,2 +283,5 @@ id: number;

rpcUrls: {
public: {
http: string[];
};
default: {

@@ -102,15 +322,425 @@ http: string[];

};
declare const fantomTestnet: Chain$1;
declare const fantom: Chain$1;
declare const foundry: Chain$1;
declare const goerli: Chain$1;
declare const hardhat: Chain$1;
declare const localhost: Chain$1;
declare const mainnet: Chain$1;
declare const optimismGoerli: Chain$1;
declare const optimism: Chain$1;
declare const polygonMumbai: Chain$1;
declare const polygon: Chain$1;
declare const sepolia: Chain$1;
declare const fantomTestnet: {
readonly id: 4002;
readonly name: "Fantom Testnet";
readonly network: "fantom-testnet";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Fantom";
readonly symbol: "FTM";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.testnet.fantom.network"];
};
readonly public: {
readonly http: readonly ["https://rpc.testnet.fantom.network"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "FTMScan";
readonly url: "https://testnet.ftmscan.com";
};
readonly default: {
readonly name: "FTMScan";
readonly url: "https://testnet.ftmscan.com";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 8328688;
};
};
};
declare const fantom: {
readonly id: 250;
readonly name: "Fantom";
readonly network: "fantom";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Fantom";
readonly symbol: "FTM";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.ankr.com/fantom"];
};
readonly public: {
readonly http: readonly ["https://rpc.ankr.com/fantom"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "FTMScan";
readonly url: "https://ftmscan.com";
};
readonly default: {
readonly name: "FTMScan";
readonly url: "https://ftmscan.com";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 33001987;
};
};
};
declare const foundry: {
readonly id: 31337;
readonly name: "Foundry";
readonly network: "foundry";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Ether";
readonly symbol: "ETH";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["http://127.0.0.1:8545"];
};
readonly public: {
readonly http: readonly ["http://127.0.0.1:8545"];
};
};
};
declare const goerli: {
readonly id: 5;
readonly network: "goerli";
readonly name: "Goerli";
readonly nativeCurrency: {
readonly name: "Goerli Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly alchemy: {
readonly http: readonly ["https://eth-goerli.g.alchemy.com/v2"];
readonly webSocket: readonly ["wss://eth-goerli.g.alchemy.com/v2"];
};
readonly infura: {
readonly http: readonly ["https://goerli.infura.io/v3"];
readonly webSocket: readonly ["wss://goerli.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://rpc.ankr.com/eth_goerli"];
};
readonly public: {
readonly http: readonly ["https://rpc.ankr.com/eth_goerli"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "Etherscan";
readonly url: "https://goerli.etherscan.io";
};
readonly default: {
readonly name: "Etherscan";
readonly url: "https://goerli.etherscan.io";
};
};
readonly contracts: {
readonly ensRegistry: {
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
};
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 6507670;
};
};
readonly testnet: true;
};
declare const hardhat: {
readonly id: 31337;
readonly name: "Hardhat";
readonly network: "hardhat";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Ether";
readonly symbol: "ETH";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["http://127.0.0.1:8545"];
};
readonly public: {
readonly http: readonly ["http://127.0.0.1:8545"];
};
};
};
declare const localhost: {
readonly id: 1337;
readonly name: "Localhost";
readonly network: "localhost";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Ether";
readonly symbol: "ETH";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["http://127.0.0.1:8545"];
};
readonly public: {
readonly http: readonly ["http://127.0.0.1:8545"];
};
};
};
declare const mainnet: {
readonly id: 1;
readonly network: "homestead";
readonly name: "Ethereum";
readonly nativeCurrency: {
readonly name: "Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly alchemy: {
readonly http: readonly ["https://eth-mainnet.g.alchemy.com/v2"];
readonly webSocket: readonly ["wss://eth-mainnet.g.alchemy.com/v2"];
};
readonly infura: {
readonly http: readonly ["https://mainnet.infura.io/v3"];
readonly webSocket: readonly ["wss://mainnet.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://cloudflare-eth.com"];
};
readonly public: {
readonly http: readonly ["https://cloudflare-eth.com"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "Etherscan";
readonly url: "https://etherscan.io";
};
readonly default: {
readonly name: "Etherscan";
readonly url: "https://etherscan.io";
};
};
readonly contracts: {
readonly ensRegistry: {
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
};
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 14353601;
};
};
};
declare const optimismGoerli: {
readonly id: 420;
readonly name: "Optimism Goerli";
readonly network: "optimism-goerli";
readonly nativeCurrency: {
readonly name: "Goerli Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly alchemy: {
readonly http: readonly ["https://opt-goerli.g.alchemy.com/v2"];
readonly webSocket: readonly ["wss://opt-goerli.g.alchemy.com/v2"];
};
readonly infura: {
readonly http: readonly ["https://optimism-goerli.infura.io/v3"];
readonly webSocket: readonly ["wss://optimism-goerli.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://goerli.optimism.io"];
};
readonly public: {
readonly http: readonly ["https://goerli.optimism.io"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "Etherscan";
readonly url: "https://goerli-optimism.etherscan.io";
};
readonly default: {
readonly name: "Etherscan";
readonly url: "https://goerli-optimism.etherscan.io";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 49461;
};
};
readonly testnet: true;
};
declare const optimism: {
readonly id: 10;
readonly name: "Optimism";
readonly network: "optimism";
readonly nativeCurrency: {
readonly name: "Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly alchemy: {
readonly http: readonly ["https://opt-mainnet.g.alchemy.com/v2"];
readonly webSocket: readonly ["wss://opt-mainnet.g.alchemy.com/v2"];
};
readonly infura: {
readonly http: readonly ["https://optimism-mainnet.infura.io/v3"];
readonly webSocket: readonly ["wss://optimism-mainnet.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://mainnet.optimism.io"];
};
readonly public: {
readonly http: readonly ["https://mainnet.optimism.io"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "Etherscan";
readonly url: "https://optimistic.etherscan.io";
};
readonly default: {
readonly name: "Optimism Explorer";
readonly url: "https://explorer.optimism.io";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 4286263;
};
};
};
declare const polygonMumbai: {
readonly id: 80001;
readonly name: "Polygon Mumbai";
readonly network: "maticmum";
readonly nativeCurrency: {
readonly name: "MATIC";
readonly symbol: "MATIC";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly alchemy: {
readonly http: readonly ["https://polygon-mumbai.g.alchemy.com/v2"];
readonly webSocket: readonly ["wss://polygon-mumbai.g.alchemy.com/v2"];
};
readonly infura: {
readonly http: readonly ["https://polygon-mumbai.infura.io/v3"];
readonly webSocket: readonly ["wss://polygon-mumbai.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://matic-mumbai.chainstacklabs.com"];
};
readonly public: {
readonly http: readonly ["https://matic-mumbai.chainstacklabs.com"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "PolygonScan";
readonly url: "https://mumbai.polygonscan.com";
};
readonly default: {
readonly name: "PolygonScan";
readonly url: "https://mumbai.polygonscan.com";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 25770160;
};
};
readonly testnet: true;
};
declare const polygon: {
readonly id: 137;
readonly name: "Polygon";
readonly network: "matic";
readonly nativeCurrency: {
readonly name: "MATIC";
readonly symbol: "MATIC";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly alchemy: {
readonly http: readonly ["https://polygon-mainnet.g.alchemy.com/v2"];
readonly webSocket: readonly ["wss://polygon-mainnet.g.alchemy.com/v2"];
};
readonly infura: {
readonly http: readonly ["https://polygon-mainnet.infura.io/v3"];
readonly webSocket: readonly ["wss://polygon-mainnet.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://polygon-rpc.com"];
};
readonly public: {
readonly http: readonly ["https://polygon-rpc.com"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "PolygonScan";
readonly url: "https://polygonscan.com";
};
readonly default: {
readonly name: "PolygonScan";
readonly url: "https://polygonscan.com";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 25770160;
};
};
};
declare const sepolia: {
readonly id: 11155111;
readonly network: "sepolia";
readonly name: "Sepolia";
readonly nativeCurrency: {
readonly name: "Sepolia Ether";
readonly symbol: "SEP";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly infura: {
readonly http: readonly ["https://sepolia.infura.io/v3"];
readonly webSocket: readonly ["wss://sepolia.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://rpc.sepolia.org"];
};
readonly public: {
readonly http: readonly ["https://rpc.sepolia.org"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "Etherscan";
readonly url: "https://sepolia.etherscan.io";
};
readonly default: {
readonly name: "Etherscan";
readonly url: "https://sepolia.etherscan.io";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 6507670;
};
};
readonly testnet: true;
};
export { Chain, Formatter, Formatters, arbitrum, arbitrumGoerli, avalanche, avalancheFuji, bsc, bscTestnet, celo, defineBlock, defineChain, defineTransaction, defineTransactionReceipt, defineTransactionRequest, fantom, fantomTestnet, foundry, goerli, hardhat, localhost, mainnet, optimism, optimismGoerli, polygon, polygonMumbai, sepolia };

@@ -1,29 +0,29 @@

import {
formatBlock,
formatTransaction,
formatTransactionReceipt,
formatTransactionRequest
} from "./chunk-6GAKRM5P.js";
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunk35OJIFIWjs = require('./chunk-35OJIFIW.js');
// src/chains.ts
import {
arbitrumGoerli as arbitrumGoerli_,
arbitrum as arbitrum_,
avalancheFuji as avalancheFuji_,
avalanche as avalanche_,
bscTestnet as bscTestnet_,
bsc as bsc_,
fantomTestnet as fantomTestnet_,
fantom as fantom_,
foundry as foundry_,
goerli as goerli_,
hardhat as hardhat_,
localhost as localhost_,
mainnet as mainnet_,
optimismGoerli as optimismGoerli_,
optimism as optimism_,
polygonMumbai as polygonMumbai_,
polygon as polygon_,
sepolia as sepolia_
} from "@wagmi/chains";
var _chains = require('@wagmi/chains');
function defineChain(chain) {

@@ -47,20 +47,20 @@ return chain;

...formatted,
...formatOverride?.(data)
..._optionalChain([formatOverride, 'optionalCall', _ => _(data)])
};
};
}
var defineBlock = defineFormatter({ format: formatBlock });
var defineTransaction = defineFormatter({ format: formatTransaction });
var defineBlock = defineFormatter({ format: _chunk35OJIFIWjs.formatBlock });
var defineTransaction = defineFormatter({ format: _chunk35OJIFIWjs.formatTransaction });
var defineTransactionRequest = defineFormatter({
format: formatTransactionRequest
format: _chunk35OJIFIWjs.formatTransactionRequest
});
var defineTransactionReceipt = defineFormatter({
format: formatTransactionReceipt
format: _chunk35OJIFIWjs.formatTransactionReceipt
});
var arbitrumGoerli = defineChain(arbitrumGoerli_);
var arbitrum = defineChain(arbitrum_);
var avalancheFuji = defineChain(avalancheFuji_);
var avalanche = defineChain(avalanche_);
var bscTestnet = defineChain(bscTestnet_);
var bsc = defineChain(bsc_);
var arbitrumGoerli = defineChain(_chains.arbitrumGoerli);
var arbitrum = defineChain(_chains.arbitrum);
var avalancheFuji = defineChain(_chains.avalancheFuji);
var avalanche = defineChain(_chains.avalanche);
var bscTestnet = defineChain(_chains.bscTestnet);
var bsc = defineChain(_chains.bsc);
var celo = defineChain({

@@ -72,2 +72,3 @@ id: 42220,

rpcUrls: {
public: { http: ["https://rpc.ankr.com/celo"] },
default: { http: ["https://rpc.ankr.com/celo"] }

@@ -98,39 +99,39 @@ },

});
var fantomTestnet = defineChain(fantomTestnet_);
var fantom = defineChain(fantom_);
var foundry = defineChain(foundry_);
var goerli = defineChain(goerli_);
var hardhat = defineChain(hardhat_);
var localhost = defineChain(localhost_);
var mainnet = defineChain(mainnet_);
var optimismGoerli = defineChain(optimismGoerli_);
var optimism = defineChain(optimism_);
var polygonMumbai = defineChain(polygonMumbai_);
var polygon = defineChain(polygon_);
var sepolia = defineChain(sepolia_);
export {
arbitrum,
arbitrumGoerli,
avalanche,
avalancheFuji,
bsc,
bscTestnet,
celo,
defineBlock,
defineChain,
defineTransaction,
defineTransactionReceipt,
defineTransactionRequest,
fantom,
fantomTestnet,
foundry,
goerli,
hardhat,
localhost,
mainnet,
optimism,
optimismGoerli,
polygon,
polygonMumbai,
sepolia
};
var fantomTestnet = defineChain(_chains.fantomTestnet);
var fantom = defineChain(_chains.fantom);
var foundry = defineChain(_chains.foundry);
var goerli = defineChain(_chains.goerli);
var hardhat = defineChain(_chains.hardhat);
var localhost = defineChain(_chains.localhost);
var mainnet = defineChain(_chains.mainnet);
var optimismGoerli = defineChain(_chains.optimismGoerli);
var optimism = defineChain(_chains.optimism);
var polygonMumbai = defineChain(_chains.polygonMumbai);
var polygon = defineChain(_chains.polygon);
var sepolia = defineChain(_chains.sepolia);
exports.arbitrum = arbitrum; exports.arbitrumGoerli = arbitrumGoerli; exports.avalanche = avalanche; exports.avalancheFuji = avalancheFuji; exports.bsc = bsc; exports.bscTestnet = bscTestnet; exports.celo = celo; exports.defineBlock = defineBlock; exports.defineChain = defineChain; exports.defineTransaction = defineTransaction; exports.defineTransactionReceipt = defineTransactionReceipt; exports.defineTransactionRequest = defineTransactionRequest; exports.fantom = fantom; exports.fantomTestnet = fantomTestnet; exports.foundry = foundry; exports.goerli = goerli; exports.hardhat = hardhat; exports.localhost = localhost; exports.mainnet = mainnet; exports.optimism = optimism; exports.optimismGoerli = optimismGoerli; exports.polygon = polygon; exports.polygonMumbai = polygonMumbai; exports.sepolia = sepolia;

@@ -1,7 +0,7 @@

export { C as Client, a as ClientConfig, P as PublicClient, b as PublicClientConfig, T as TestClient, c as TestClientConfig, d as Transport, e as TransportConfig, W as WalletClient, f as WalletClientConfig, g as createClient, h as createPublicClient, i as createTestClient, j as createTransport, k as createWalletClient } from '../createWalletClient-d612fe08.js';
export { C as CustomTransport, a as CustomTransportConfig, F as FallbackTransport, b as FallbackTransportConfig, H as HttpTransport, c as HttpTransportConfig, W as WebSocketTransport, d as WebSocketTransportConfig, e as custom, f as fallback, h as http, w as webSocket } from '../webSocket-7f88e9e0.js';
export { C as Client, a as ClientConfig, P as PublicClient, b as PublicClientConfig, T as TestClient, c as TestClientConfig, d as Transport, e as TransportConfig, W as WalletClient, f as WalletClientConfig, g as createClient, h as createPublicClient, i as createTestClient, j as createTransport, k as createWalletClient } from '../createWalletClient-3f9fa8b6.js';
export { C as CustomTransport, a as CustomTransportConfig, F as FallbackTransport, b as FallbackTransportConfig, H as HttpTransport, c as HttpTransportConfig, W as WebSocketTransport, d as WebSocketTransportConfig, e as custom, f as fallback, h as http, w as webSocket } from '../webSocket-3385e295.js';
import '../chains.js';
import '../rpc-b77c5aee.js';
import '@wagmi/chains';
import '../eip1193-020a6f13.js';
import '../eip1193-c001fcd5.js';
import '../rpc-26932bae.js';

@@ -1,23 +0,23 @@

import {
createClient,
createPublicClient,
createTestClient,
createTransport,
createWalletClient,
custom,
fallback,
http,
webSocket
} from "../chunk-3TSTZHVO.js";
import "../chunk-6GAKRM5P.js";
export {
createClient,
createPublicClient,
createTestClient,
createTransport,
createWalletClient,
custom,
fallback,
http,
webSocket
};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkGXCYE2PDjs = require('../chunk-GXCYE2PD.js');
require('../chunk-35OJIFIW.js');
exports.createClient = _chunkGXCYE2PDjs.createClient; exports.createPublicClient = _chunkGXCYE2PDjs.createPublicClient; exports.createTestClient = _chunkGXCYE2PDjs.createTestClient; exports.createTransport = _chunkGXCYE2PDjs.createTransport; exports.createWalletClient = _chunkGXCYE2PDjs.createWalletClient; exports.custom = _chunkGXCYE2PDjs.custom; exports.fallback = _chunkGXCYE2PDjs.fallback; exports.http = _chunkGXCYE2PDjs.http; exports.webSocket = _chunkGXCYE2PDjs.webSocket;

@@ -1,4 +0,4 @@

export { C as CallArgs, a as CallContractArgs, b as CallContractResponse, c as CallResponse, d as CreateBlockFilterResponse, e as CreatePendingTransactionFilterResponse, D as DropTransactionArgs, E as EstimateGasArgs, f as EstimateGasResponse, G as GetBalanceArgs, g as GetBalanceResponse, h as GetBlockArgs, i as GetBlockNumberArgs, j as GetBlockNumberResponse, k as GetBlockResponse, l as GetBlockTransactionCountArgs, m as GetBlockTransactionCountResponse, n as GetFeeHistoryArgs, o as GetFeeHistoryResponse, p as GetFilterChangesArgs, q as GetFilterChangesResponse, r as GetFilterLogsArgs, s as GetFilterLogsResponse, t as GetGasPriceResponse, u as GetPermissionsResponse, v as GetTransactionArgs, w as GetTransactionConfirmationsArgs, x as GetTransactionConfirmationsResponse, y as GetTransactionCountArgs, z as GetTransactionCountResponse, B as GetTransactionReceiptArgs, F as GetTransactionReceiptResponse, A as GetTransactionResponse, I as ImpersonateAccountArgs, H as IncreaseTimeArgs, M as MineArgs, O as OnBlock, J as OnBlockNumber, K as OnBlockNumberResponse, L as OnBlockResponse, N as OnTransactions, P as OnTransactionsResponse, Q as RequestPermissionsResponse, R as ResetArgs, S as RevertArgs, T as SendTransactionArgs, U as SendTransactionResponse, V as SendUnsignedTransactionArgs, W as SendUnsignedTransactionResponse, X as SetBalanceArgs, Y as SetBlockGasLimitArgs, a1 as SetBlockTimestampIntervalArgs, Z as SetCodeArgs, _ as SetCoinbaseArgs, $ as SetIntervalMiningArgs, a0 as SetMinGasPriceArgs, a3 as SetNextBlockBaseFeePerGasArgs, a2 as SetNextBlockTimestampArgs, a4 as SetNonceArgs, a5 as SetStorageAtArgs, a6 as SignMessageArgs, a7 as SignMessageResponse, a8 as StopImpersonatingAccountArgs, a9 as SwitchChainArgs, aa as UninstallFilterArgs, ab as UninstallFilterResponse, ac as WaitForTransactionReceiptArgs, ad as WaitForTransactionReceiptResponse, ae as WatchAssetArgs, af as WatchAssetResponse, ag as WatchBlockNumberArgs, ah as WatchBlocksArgs, ai as WatchPendingTransactionsArgs, aj as addChain, ak as call, al as callContract, am as createBlockFilter, an as createPendingTransactionFilter, ap as dropTransaction, ao as estimateGas, aq as getAccounts, ar as getAutomine, as as getBalance, at as getBlock, au as getBlockNumber, av as getBlockTransactionCount, aw as getChainId, ax as getFeeHistory, ay as getFilterChanges, az as getFilterLogs, aA as getGasPrice, aB as getPermissions, aC as getTransaction, aD as getTransactionConfirmations, aE as getTransactionCount, aF as getTransactionReceipt, aG as getTxpoolContent, aH as getTxpoolStatus, aI as impersonateAccount, aJ as increaseTime, aK as inspectTxpool, aL as mine, aM as removeBlockTimestampInterval, aO as requestAccounts, aP as requestPermissions, aN as reset, aQ as revert, aR as sendTransaction, aS as sendUnsignedTransaction, aT as setAutomine, aU as setBalance, aV as setBlockGasLimit, aW as setBlockTimestampInterval, aX as setCode, aY as setCoinbase, aZ as setIntervalMining, a_ as setLoggingEnabled, a$ as setMinGasPrice, b0 as setNextBlockBaseFeePerGas, b1 as setNextBlockTimestamp, b2 as setNonce, b3 as setStorageAt, b4 as signMessage, b5 as snapshot, b6 as stopImpersonatingAccount, b7 as switchChain, b8 as uninstallFilter, b9 as waitForTransactionReceipt, ba as watchAsset, bb as watchBlockNumber, bc as watchBlocks, bd as watchPendingTransactions } from './watchAsset-bc6373f4.js';
export { C as Client, a as ClientConfig, P as PublicClient, b as PublicClientConfig, T as TestClient, c as TestClientConfig, d as Transport, e as TransportConfig, W as WalletClient, f as WalletClientConfig, g as createClient, h as createPublicClient, i as createTestClient, j as createTransport, k as createWalletClient } from './createWalletClient-d612fe08.js';
export { C as CustomTransport, a as CustomTransportConfig, F as FallbackTransport, b as FallbackTransportConfig, H as HttpTransport, c as HttpTransportConfig, W as WebSocketTransport, d as WebSocketTransportConfig, e as custom, f as fallback, h as http, w as webSocket } from './webSocket-7f88e9e0.js';
export { C as CallArgs, a as CallContractArgs, b as CallContractResponse, c as CallResponse, d as CreateBlockFilterResponse, e as CreatePendingTransactionFilterResponse, D as DropTransactionArgs, E as EstimateGasArgs, f as EstimateGasResponse, G as GetBalanceArgs, g as GetBalanceResponse, h as GetBlockArgs, i as GetBlockNumberArgs, j as GetBlockNumberResponse, k as GetBlockResponse, l as GetBlockTransactionCountArgs, m as GetBlockTransactionCountResponse, n as GetFeeHistoryArgs, o as GetFeeHistoryResponse, p as GetFilterChangesArgs, q as GetFilterChangesResponse, r as GetFilterLogsArgs, s as GetFilterLogsResponse, t as GetGasPriceResponse, u as GetPermissionsResponse, v as GetTransactionArgs, w as GetTransactionConfirmationsArgs, x as GetTransactionConfirmationsResponse, y as GetTransactionCountArgs, z as GetTransactionCountResponse, B as GetTransactionReceiptArgs, F as GetTransactionReceiptResponse, A as GetTransactionResponse, I as ImpersonateAccountArgs, H as IncreaseTimeArgs, M as MineArgs, O as OnBlock, J as OnBlockNumber, K as OnBlockNumberResponse, L as OnBlockResponse, N as OnTransactions, P as OnTransactionsResponse, Q as RequestPermissionsResponse, R as ResetArgs, S as RevertArgs, T as SendTransactionArgs, U as SendTransactionResponse, V as SendUnsignedTransactionArgs, W as SendUnsignedTransactionResponse, X as SetBalanceArgs, Y as SetBlockGasLimitArgs, a1 as SetBlockTimestampIntervalArgs, Z as SetCodeArgs, _ as SetCoinbaseArgs, $ as SetIntervalMiningArgs, a0 as SetMinGasPriceArgs, a3 as SetNextBlockBaseFeePerGasArgs, a2 as SetNextBlockTimestampArgs, a4 as SetNonceArgs, a5 as SetStorageAtArgs, a6 as SignMessageArgs, a7 as SignMessageResponse, a8 as StopImpersonatingAccountArgs, a9 as SwitchChainArgs, aa as UninstallFilterArgs, ab as UninstallFilterResponse, ac as WaitForTransactionReceiptArgs, ad as WaitForTransactionReceiptResponse, ae as WatchAssetArgs, af as WatchAssetResponse, ag as WatchBlockNumberArgs, ah as WatchBlocksArgs, ai as WatchPendingTransactionsArgs, aj as addChain, ak as call, al as callContract, am as createBlockFilter, an as createPendingTransactionFilter, ap as dropTransaction, ao as estimateGas, aq as getAccounts, ar as getAutomine, as as getBalance, at as getBlock, au as getBlockNumber, av as getBlockTransactionCount, aw as getChainId, ax as getFeeHistory, ay as getFilterChanges, az as getFilterLogs, aA as getGasPrice, aB as getPermissions, aC as getTransaction, aD as getTransactionConfirmations, aE as getTransactionCount, aF as getTransactionReceipt, aG as getTxpoolContent, aH as getTxpoolStatus, aI as impersonateAccount, aJ as increaseTime, aK as inspectTxpool, aL as mine, aM as removeBlockTimestampInterval, aO as requestAccounts, aP as requestPermissions, aN as reset, aQ as revert, aR as sendTransaction, aS as sendUnsignedTransaction, aT as setAutomine, aU as setBalance, aV as setBlockGasLimit, aW as setBlockTimestampInterval, aX as setCode, aY as setCoinbase, aZ as setIntervalMining, a_ as setLoggingEnabled, a$ as setMinGasPrice, b0 as setNextBlockBaseFeePerGas, b1 as setNextBlockTimestamp, b2 as setNonce, b3 as setStorageAt, b4 as signMessage, b5 as snapshot, b6 as stopImpersonatingAccount, b7 as switchChain, b8 as uninstallFilter, b9 as waitForTransactionReceipt, ba as watchAsset, bb as watchBlockNumber, bc as watchBlocks, bd as watchPendingTransactions } from './watchAsset-43255bfd.js';
export { C as Client, a as ClientConfig, P as PublicClient, b as PublicClientConfig, T as TestClient, c as TestClientConfig, d as Transport, e as TransportConfig, W as WalletClient, f as WalletClientConfig, g as createClient, h as createPublicClient, i as createTestClient, j as createTransport, k as createWalletClient } from './createWalletClient-3f9fa8b6.js';
export { C as CustomTransport, a as CustomTransportConfig, F as FallbackTransport, b as FallbackTransportConfig, H as HttpTransport, c as HttpTransportConfig, W as WebSocketTransport, d as WebSocketTransportConfig, e as custom, f as fallback, h as http, w as webSocket } from './webSocket-3385e295.js';
import { H as Hex, A as Address, a as Hash, B as ByteArray, b as BlockTag } from './rpc-b77c5aee.js';

@@ -11,3 +11,3 @@ export { c as AccessList, A as Address, d as Block, f as BlockIdentifier, h as BlockNumber, b as BlockTag, B as ByteArray, F as FeeHistory, i as FeeValues, j as FeeValuesEIP1559, k as FeeValuesLegacy, a as Hash, H as Hex, L as Log, R as RpcBlock, l as RpcBlockIdentifier, m as RpcBlockNumber, n as RpcFeeHistory, o as RpcFeeValues, p as RpcLog, q as RpcTransaction, r as RpcTransactionReceipt, s as RpcTransactionRequest, u as RpcUncle, D as Transaction, E as TransactionBase, G as TransactionEIP1559, I as TransactionEIP2930, J as TransactionLegacy, T as TransactionReceipt, v as TransactionRequest, x as TransactionRequestBase, y as TransactionRequestEIP1559, z as TransactionRequestEIP2930, C as TransactionRequestLegacy, U as Uncle, e as etherUnits, g as gweiUnits, t as transactionType, w as weiUnits } from './rpc-b77c5aee.js';

import '@wagmi/chains';
import './eip1193-020a6f13.js';
import './eip1193-c001fcd5.js';
import './rpc-26932bae.js';

@@ -14,0 +14,0 @@

@@ -1,374 +0,374 @@

import {
addChain,
call,
callContract,
createBlockFilter,
createPendingTransactionFilter,
dropTransaction,
estimateGas,
getAccounts,
getAutomine,
getBalance,
getBlock,
getBlockNumber,
getBlockTransactionCount,
getChainId,
getFeeHistory,
getFilterChanges,
getFilterLogs,
getGasPrice,
getPermissions,
getTransaction,
getTransactionConfirmations,
getTransactionCount,
getTransactionReceipt,
getTxpoolContent,
getTxpoolStatus,
impersonateAccount,
increaseTime,
inspectTxpool,
mine,
removeBlockTimestampInterval,
requestAccounts,
requestPermissions,
reset,
revert,
sendTransaction,
sendUnsignedTransaction,
setAutomine,
setBalance,
setBlockGasLimit,
setBlockTimestampInterval,
setCode,
setCoinbase,
setIntervalMining,
setLoggingEnabled,
setMinGasPrice,
setNextBlockBaseFeePerGas,
setNextBlockTimestamp,
setNonce,
setStorageAt,
signMessage,
snapshot,
stopImpersonatingAccount,
switchChain,
uninstallFilter,
waitForTransactionReceipt,
watchAsset,
watchBlockNumber,
watchBlocks,
watchPendingTransactions
} from "./chunk-NMN4TFDP.js";
import {
createClient,
createPublicClient,
createTestClient,
createTransport,
createWalletClient,
custom,
fallback,
http,
webSocket
} from "./chunk-3TSTZHVO.js";
import {
AbiConstructorNotFoundError,
AbiConstructorParamsNotFoundError,
AbiDecodingDataSizeInvalidError,
AbiEncodingArrayLengthMismatchError,
AbiEncodingLengthMismatchError,
AbiErrorInputsNotFoundError,
AbiErrorNotFoundError,
AbiErrorSignatureNotFoundError,
AbiEventNotFoundError,
AbiFunctionNotFoundError,
AbiFunctionOutputsNotFoundError,
AbiFunctionSignatureNotFoundError,
BaseError,
BlockNotFoundError,
DataLengthTooLongError,
DataLengthTooShortError,
FilterTypeNotSupportedError,
HttpRequestError,
InternalRpcError,
InvalidAbiDecodingTypeError,
InvalidAbiEncodingTypeError,
InvalidAddressError,
InvalidArrayError,
InvalidBytesBooleanError,
InvalidDefinitionTypeError,
InvalidGasArgumentsError,
InvalidHexBooleanError,
InvalidHexValueError,
InvalidInputRpcError,
InvalidParamsRpcError,
InvalidRequestRpcError,
JsonRpcVersionUnsupportedError,
LimitExceededRpcError,
MethodNotFoundRpcError,
MethodNotSupportedRpcError,
OffsetOutOfBoundsError,
ParseRpcError,
RequestError,
ResourceNotFoundRpcError,
ResourceUnavailableRpcError,
RpcError,
RpcRequestError,
SizeExceedsPaddingSizeError,
TimeoutError,
TransactionNotFoundError,
TransactionReceiptNotFoundError,
TransactionRejectedRpcError,
UnknownRpcError,
UrlRequiredError,
WaitForTransactionReceiptTimeoutError,
WebSocketRequestError,
boolToBytes,
boolToHex,
bytesToBigint,
bytesToBool,
bytesToHex,
bytesToNumber,
bytesToString,
decodeAbi,
decodeBytes,
decodeErrorResult,
decodeFunctionData,
decodeFunctionResult,
decodeHex,
decodeRlp,
encodeAbi,
encodeBytes,
encodeDeployData,
encodeErrorResult,
encodeEventTopics,
encodeFunctionData,
encodeFunctionResult,
encodeHex,
encodeRlp,
etherUnits,
formatBlock,
formatEther,
formatGwei,
formatTransaction,
formatTransactionRequest,
formatUnit,
getAddress,
getContractAddress,
getCreate2Address,
getCreateAddress,
getEventSignature,
getFunctionSignature,
gweiUnits,
hexToBigInt,
hexToBool,
hexToBytes,
hexToNumber,
hexToString,
isAddress,
isAddressEqual,
isBytes,
isHex,
keccak256,
numberToBytes,
numberToHex,
pad,
padBytes,
padHex,
parseEther,
parseGwei,
parseUnit,
size,
slice,
sliceBytes,
sliceHex,
stringToBytes,
stringToHex,
transactionType,
trim,
weiUnits
} from "./chunk-6GAKRM5P.js";
export {
AbiConstructorNotFoundError,
AbiConstructorParamsNotFoundError,
AbiDecodingDataSizeInvalidError,
AbiEncodingArrayLengthMismatchError,
AbiEncodingLengthMismatchError,
AbiErrorInputsNotFoundError,
AbiErrorNotFoundError,
AbiErrorSignatureNotFoundError,
AbiEventNotFoundError,
AbiFunctionNotFoundError,
AbiFunctionOutputsNotFoundError,
AbiFunctionSignatureNotFoundError,
BaseError,
BlockNotFoundError,
DataLengthTooLongError,
DataLengthTooShortError,
FilterTypeNotSupportedError,
HttpRequestError,
InternalRpcError,
InvalidAbiDecodingTypeError,
InvalidAbiEncodingTypeError,
InvalidAddressError,
InvalidArrayError,
InvalidBytesBooleanError,
InvalidDefinitionTypeError,
InvalidGasArgumentsError,
InvalidHexBooleanError,
InvalidHexValueError,
InvalidInputRpcError,
InvalidParamsRpcError,
InvalidRequestRpcError,
JsonRpcVersionUnsupportedError,
LimitExceededRpcError,
MethodNotFoundRpcError,
MethodNotSupportedRpcError,
OffsetOutOfBoundsError,
ParseRpcError,
RequestError,
ResourceNotFoundRpcError,
ResourceUnavailableRpcError,
RpcError,
RpcRequestError,
SizeExceedsPaddingSizeError,
TimeoutError,
TransactionNotFoundError,
TransactionReceiptNotFoundError,
TransactionRejectedRpcError,
UnknownRpcError,
UrlRequiredError,
WaitForTransactionReceiptTimeoutError,
WebSocketRequestError,
addChain,
boolToBytes,
boolToHex,
bytesToBigint,
bytesToBool,
bytesToHex,
bytesToNumber,
bytesToString,
call,
callContract,
createBlockFilter,
createClient,
createPendingTransactionFilter,
createPublicClient,
createTestClient,
createTransport,
createWalletClient,
custom,
decodeAbi,
decodeBytes,
decodeErrorResult,
decodeFunctionData,
decodeFunctionResult,
decodeHex,
decodeRlp,
dropTransaction,
encodeAbi,
encodeBytes,
encodeDeployData,
encodeErrorResult,
encodeEventTopics,
encodeFunctionData,
encodeFunctionResult,
encodeHex,
encodeRlp,
estimateGas,
etherUnits,
fallback,
formatBlock,
formatEther,
formatGwei,
formatTransaction,
formatTransactionRequest,
formatUnit,
getAccounts,
getAddress,
getAutomine,
getBalance,
getBlock,
getBlockNumber,
getBlockTransactionCount,
getChainId,
getContractAddress,
getCreate2Address,
getCreateAddress,
getEventSignature,
getFeeHistory,
getFilterChanges,
getFilterLogs,
getFunctionSignature,
getGasPrice,
getPermissions,
getTransaction,
getTransactionConfirmations,
getTransactionCount,
getTransactionReceipt,
getTxpoolContent,
getTxpoolStatus,
gweiUnits,
hexToBigInt,
hexToBool,
hexToBytes,
hexToNumber,
hexToString,
http,
impersonateAccount,
increaseTime,
inspectTxpool,
isAddress,
isAddressEqual,
isBytes,
isHex,
keccak256,
mine,
numberToBytes,
numberToHex,
pad,
padBytes,
padHex,
parseEther,
parseGwei,
parseUnit,
removeBlockTimestampInterval,
requestAccounts,
requestPermissions,
reset,
revert,
sendTransaction,
sendUnsignedTransaction,
setAutomine,
setBalance,
setBlockGasLimit,
setBlockTimestampInterval,
setCode,
setCoinbase,
setIntervalMining,
setLoggingEnabled,
setMinGasPrice,
setNextBlockBaseFeePerGas,
setNextBlockTimestamp,
setNonce,
setStorageAt,
signMessage,
size,
slice,
sliceBytes,
sliceHex,
snapshot,
stopImpersonatingAccount,
stringToBytes,
stringToHex,
switchChain,
transactionType,
trim,
uninstallFilter,
waitForTransactionReceipt,
watchAsset,
watchBlockNumber,
watchBlocks,
watchPendingTransactions,
webSocket,
weiUnits
};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkPEAG3TICjs = require('./chunk-PEAG3TIC.js');
var _chunkGXCYE2PDjs = require('./chunk-GXCYE2PD.js');
var _chunk35OJIFIWjs = require('./chunk-35OJIFIW.js');
exports.AbiConstructorNotFoundError = _chunk35OJIFIWjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunk35OJIFIWjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunk35OJIFIWjs.AbiDecodingDataSizeInvalidError; exports.AbiEncodingArrayLengthMismatchError = _chunk35OJIFIWjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunk35OJIFIWjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunk35OJIFIWjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunk35OJIFIWjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunk35OJIFIWjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunk35OJIFIWjs.AbiEventNotFoundError; exports.AbiFunctionNotFoundError = _chunk35OJIFIWjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunk35OJIFIWjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunk35OJIFIWjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunk35OJIFIWjs.BaseError; exports.BlockNotFoundError = _chunk35OJIFIWjs.BlockNotFoundError; exports.DataLengthTooLongError = _chunk35OJIFIWjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunk35OJIFIWjs.DataLengthTooShortError; exports.FilterTypeNotSupportedError = _chunk35OJIFIWjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunk35OJIFIWjs.HttpRequestError; exports.InternalRpcError = _chunk35OJIFIWjs.InternalRpcError; exports.InvalidAbiDecodingTypeError = _chunk35OJIFIWjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunk35OJIFIWjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunk35OJIFIWjs.InvalidAddressError; exports.InvalidArrayError = _chunk35OJIFIWjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunk35OJIFIWjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunk35OJIFIWjs.InvalidDefinitionTypeError; exports.InvalidGasArgumentsError = _chunk35OJIFIWjs.InvalidGasArgumentsError; exports.InvalidHexBooleanError = _chunk35OJIFIWjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunk35OJIFIWjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunk35OJIFIWjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunk35OJIFIWjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunk35OJIFIWjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunk35OJIFIWjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunk35OJIFIWjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunk35OJIFIWjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunk35OJIFIWjs.MethodNotSupportedRpcError; exports.OffsetOutOfBoundsError = _chunk35OJIFIWjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunk35OJIFIWjs.ParseRpcError; exports.RequestError = _chunk35OJIFIWjs.RequestError; exports.ResourceNotFoundRpcError = _chunk35OJIFIWjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunk35OJIFIWjs.ResourceUnavailableRpcError; exports.RpcError = _chunk35OJIFIWjs.RpcError; exports.RpcRequestError = _chunk35OJIFIWjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunk35OJIFIWjs.SizeExceedsPaddingSizeError; exports.TimeoutError = _chunk35OJIFIWjs.TimeoutError; exports.TransactionNotFoundError = _chunk35OJIFIWjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunk35OJIFIWjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunk35OJIFIWjs.TransactionRejectedRpcError; exports.UnknownRpcError = _chunk35OJIFIWjs.UnknownRpcError; exports.UrlRequiredError = _chunk35OJIFIWjs.UrlRequiredError; exports.WaitForTransactionReceiptTimeoutError = _chunk35OJIFIWjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunk35OJIFIWjs.WebSocketRequestError; exports.addChain = _chunkPEAG3TICjs.addChain; exports.boolToBytes = _chunk35OJIFIWjs.boolToBytes; exports.boolToHex = _chunk35OJIFIWjs.boolToHex; exports.bytesToBigint = _chunk35OJIFIWjs.bytesToBigint; exports.bytesToBool = _chunk35OJIFIWjs.bytesToBool; exports.bytesToHex = _chunk35OJIFIWjs.bytesToHex; exports.bytesToNumber = _chunk35OJIFIWjs.bytesToNumber; exports.bytesToString = _chunk35OJIFIWjs.bytesToString; exports.call = _chunkPEAG3TICjs.call; exports.callContract = _chunkPEAG3TICjs.callContract; exports.createBlockFilter = _chunkPEAG3TICjs.createBlockFilter; exports.createClient = _chunkGXCYE2PDjs.createClient; exports.createPendingTransactionFilter = _chunkPEAG3TICjs.createPendingTransactionFilter; exports.createPublicClient = _chunkGXCYE2PDjs.createPublicClient; exports.createTestClient = _chunkGXCYE2PDjs.createTestClient; exports.createTransport = _chunkGXCYE2PDjs.createTransport; exports.createWalletClient = _chunkGXCYE2PDjs.createWalletClient; exports.custom = _chunkGXCYE2PDjs.custom; exports.decodeAbi = _chunk35OJIFIWjs.decodeAbi; exports.decodeBytes = _chunk35OJIFIWjs.decodeBytes; exports.decodeErrorResult = _chunk35OJIFIWjs.decodeErrorResult; exports.decodeFunctionData = _chunk35OJIFIWjs.decodeFunctionData; exports.decodeFunctionResult = _chunk35OJIFIWjs.decodeFunctionResult; exports.decodeHex = _chunk35OJIFIWjs.decodeHex; exports.decodeRlp = _chunk35OJIFIWjs.decodeRlp; exports.dropTransaction = _chunkPEAG3TICjs.dropTransaction; exports.encodeAbi = _chunk35OJIFIWjs.encodeAbi; exports.encodeBytes = _chunk35OJIFIWjs.encodeBytes; exports.encodeDeployData = _chunk35OJIFIWjs.encodeDeployData; exports.encodeErrorResult = _chunk35OJIFIWjs.encodeErrorResult; exports.encodeEventTopics = _chunk35OJIFIWjs.encodeEventTopics; exports.encodeFunctionData = _chunk35OJIFIWjs.encodeFunctionData; exports.encodeFunctionResult = _chunk35OJIFIWjs.encodeFunctionResult; exports.encodeHex = _chunk35OJIFIWjs.encodeHex; exports.encodeRlp = _chunk35OJIFIWjs.encodeRlp; exports.estimateGas = _chunkPEAG3TICjs.estimateGas; exports.etherUnits = _chunk35OJIFIWjs.etherUnits; exports.fallback = _chunkGXCYE2PDjs.fallback; exports.formatBlock = _chunk35OJIFIWjs.formatBlock; exports.formatEther = _chunk35OJIFIWjs.formatEther; exports.formatGwei = _chunk35OJIFIWjs.formatGwei; exports.formatTransaction = _chunk35OJIFIWjs.formatTransaction; exports.formatTransactionRequest = _chunk35OJIFIWjs.formatTransactionRequest; exports.formatUnit = _chunk35OJIFIWjs.formatUnit; exports.getAccounts = _chunkPEAG3TICjs.getAccounts; exports.getAddress = _chunk35OJIFIWjs.getAddress; exports.getAutomine = _chunkPEAG3TICjs.getAutomine; exports.getBalance = _chunkPEAG3TICjs.getBalance; exports.getBlock = _chunkPEAG3TICjs.getBlock; exports.getBlockNumber = _chunkPEAG3TICjs.getBlockNumber; exports.getBlockTransactionCount = _chunkPEAG3TICjs.getBlockTransactionCount; exports.getChainId = _chunkPEAG3TICjs.getChainId; exports.getContractAddress = _chunk35OJIFIWjs.getContractAddress; exports.getCreate2Address = _chunk35OJIFIWjs.getCreate2Address; exports.getCreateAddress = _chunk35OJIFIWjs.getCreateAddress; exports.getEventSignature = _chunk35OJIFIWjs.getEventSignature; exports.getFeeHistory = _chunkPEAG3TICjs.getFeeHistory; exports.getFilterChanges = _chunkPEAG3TICjs.getFilterChanges; exports.getFilterLogs = _chunkPEAG3TICjs.getFilterLogs; exports.getFunctionSignature = _chunk35OJIFIWjs.getFunctionSignature; exports.getGasPrice = _chunkPEAG3TICjs.getGasPrice; exports.getPermissions = _chunkPEAG3TICjs.getPermissions; exports.getTransaction = _chunkPEAG3TICjs.getTransaction; exports.getTransactionConfirmations = _chunkPEAG3TICjs.getTransactionConfirmations; exports.getTransactionCount = _chunkPEAG3TICjs.getTransactionCount; exports.getTransactionReceipt = _chunkPEAG3TICjs.getTransactionReceipt; exports.getTxpoolContent = _chunkPEAG3TICjs.getTxpoolContent; exports.getTxpoolStatus = _chunkPEAG3TICjs.getTxpoolStatus; exports.gweiUnits = _chunk35OJIFIWjs.gweiUnits; exports.hexToBigInt = _chunk35OJIFIWjs.hexToBigInt; exports.hexToBool = _chunk35OJIFIWjs.hexToBool; exports.hexToBytes = _chunk35OJIFIWjs.hexToBytes; exports.hexToNumber = _chunk35OJIFIWjs.hexToNumber; exports.hexToString = _chunk35OJIFIWjs.hexToString; exports.http = _chunkGXCYE2PDjs.http; exports.impersonateAccount = _chunkPEAG3TICjs.impersonateAccount; exports.increaseTime = _chunkPEAG3TICjs.increaseTime; exports.inspectTxpool = _chunkPEAG3TICjs.inspectTxpool; exports.isAddress = _chunk35OJIFIWjs.isAddress; exports.isAddressEqual = _chunk35OJIFIWjs.isAddressEqual; exports.isBytes = _chunk35OJIFIWjs.isBytes; exports.isHex = _chunk35OJIFIWjs.isHex; exports.keccak256 = _chunk35OJIFIWjs.keccak256; exports.mine = _chunkPEAG3TICjs.mine; exports.numberToBytes = _chunk35OJIFIWjs.numberToBytes; exports.numberToHex = _chunk35OJIFIWjs.numberToHex; exports.pad = _chunk35OJIFIWjs.pad; exports.padBytes = _chunk35OJIFIWjs.padBytes; exports.padHex = _chunk35OJIFIWjs.padHex; exports.parseEther = _chunk35OJIFIWjs.parseEther; exports.parseGwei = _chunk35OJIFIWjs.parseGwei; exports.parseUnit = _chunk35OJIFIWjs.parseUnit; exports.removeBlockTimestampInterval = _chunkPEAG3TICjs.removeBlockTimestampInterval; exports.requestAccounts = _chunkPEAG3TICjs.requestAccounts; exports.requestPermissions = _chunkPEAG3TICjs.requestPermissions; exports.reset = _chunkPEAG3TICjs.reset; exports.revert = _chunkPEAG3TICjs.revert; exports.sendTransaction = _chunkPEAG3TICjs.sendTransaction; exports.sendUnsignedTransaction = _chunkPEAG3TICjs.sendUnsignedTransaction; exports.setAutomine = _chunkPEAG3TICjs.setAutomine; exports.setBalance = _chunkPEAG3TICjs.setBalance; exports.setBlockGasLimit = _chunkPEAG3TICjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkPEAG3TICjs.setBlockTimestampInterval; exports.setCode = _chunkPEAG3TICjs.setCode; exports.setCoinbase = _chunkPEAG3TICjs.setCoinbase; exports.setIntervalMining = _chunkPEAG3TICjs.setIntervalMining; exports.setLoggingEnabled = _chunkPEAG3TICjs.setLoggingEnabled; exports.setMinGasPrice = _chunkPEAG3TICjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkPEAG3TICjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkPEAG3TICjs.setNextBlockTimestamp; exports.setNonce = _chunkPEAG3TICjs.setNonce; exports.setStorageAt = _chunkPEAG3TICjs.setStorageAt; exports.signMessage = _chunkPEAG3TICjs.signMessage; exports.size = _chunk35OJIFIWjs.size; exports.slice = _chunk35OJIFIWjs.slice; exports.sliceBytes = _chunk35OJIFIWjs.sliceBytes; exports.sliceHex = _chunk35OJIFIWjs.sliceHex; exports.snapshot = _chunkPEAG3TICjs.snapshot; exports.stopImpersonatingAccount = _chunkPEAG3TICjs.stopImpersonatingAccount; exports.stringToBytes = _chunk35OJIFIWjs.stringToBytes; exports.stringToHex = _chunk35OJIFIWjs.stringToHex; exports.switchChain = _chunkPEAG3TICjs.switchChain; exports.transactionType = _chunk35OJIFIWjs.transactionType; exports.trim = _chunk35OJIFIWjs.trim; exports.uninstallFilter = _chunkPEAG3TICjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkPEAG3TICjs.waitForTransactionReceipt; exports.watchAsset = _chunkPEAG3TICjs.watchAsset; exports.watchBlockNumber = _chunkPEAG3TICjs.watchBlockNumber; exports.watchBlocks = _chunkPEAG3TICjs.watchBlocks; exports.watchPendingTransactions = _chunkPEAG3TICjs.watchPendingTransactions; exports.webSocket = _chunkGXCYE2PDjs.webSocket; exports.weiUnits = _chunk35OJIFIWjs.weiUnits;

@@ -1,148 +0,148 @@

import {
boolToBytes,
boolToHex,
buildRequest,
bytesToBigint,
bytesToBool,
bytesToHex,
bytesToNumber,
bytesToString,
decodeAbi,
decodeBytes,
decodeErrorResult,
decodeFunctionData,
decodeFunctionResult,
decodeHex,
decodeRlp,
encodeAbi,
encodeBytes,
encodeDeployData,
encodeErrorResult,
encodeEventTopics,
encodeFunctionData,
encodeFunctionResult,
encodeHex,
encodeRlp,
extractFunctionName,
extractFunctionParams,
extractFunctionParts,
extractFunctionType,
format,
formatAbiItemWithArgs,
formatAbiItemWithParams,
formatBlock,
formatEther,
formatGwei,
formatTransaction,
formatTransactionRequest,
formatUnit,
getAbiItem,
getAddress,
getContractAddress,
getContractError,
getCreate2Address,
getCreateAddress,
getEventSignature,
getFunctionSignature,
hexToBigInt,
hexToBool,
hexToBytes,
hexToNumber,
hexToString,
isAddress,
isAddressEqual,
isBytes,
isHex,
keccak256,
numberToBytes,
numberToHex,
pad,
padBytes,
padHex,
parseEther,
parseGwei,
parseUnit,
rpc,
size,
slice,
sliceBytes,
sliceHex,
stringToBytes,
stringToHex,
stringify,
trim
} from "../chunk-6GAKRM5P.js";
export {
boolToBytes,
boolToHex,
buildRequest,
bytesToBigint,
bytesToBool,
bytesToHex,
bytesToNumber,
bytesToString,
decodeAbi,
decodeBytes,
decodeErrorResult,
decodeFunctionData,
decodeFunctionResult,
decodeHex,
decodeRlp,
encodeAbi,
encodeBytes,
encodeDeployData,
encodeErrorResult,
encodeEventTopics,
encodeFunctionData,
encodeFunctionResult,
encodeHex,
encodeRlp,
extractFunctionName,
extractFunctionParams,
extractFunctionParts,
extractFunctionType,
format,
formatAbiItemWithArgs,
formatAbiItemWithParams,
formatBlock,
formatEther,
formatGwei,
formatTransaction,
formatTransactionRequest,
formatUnit,
getAbiItem,
getAddress,
getContractAddress,
getContractError,
getCreate2Address,
getCreateAddress,
getEventSignature,
getFunctionSignature,
hexToBigInt,
hexToBool,
hexToBytes,
hexToNumber,
hexToString,
isAddress,
isAddressEqual,
isBytes,
isHex,
keccak256,
numberToBytes,
numberToHex,
pad,
padBytes,
padHex,
parseEther,
parseGwei,
parseUnit,
rpc,
size,
slice,
sliceBytes,
sliceHex,
stringToBytes,
stringToHex,
stringify,
trim
};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunk35OJIFIWjs = require('../chunk-35OJIFIW.js');
exports.boolToBytes = _chunk35OJIFIWjs.boolToBytes; exports.boolToHex = _chunk35OJIFIWjs.boolToHex; exports.buildRequest = _chunk35OJIFIWjs.buildRequest; exports.bytesToBigint = _chunk35OJIFIWjs.bytesToBigint; exports.bytesToBool = _chunk35OJIFIWjs.bytesToBool; exports.bytesToHex = _chunk35OJIFIWjs.bytesToHex; exports.bytesToNumber = _chunk35OJIFIWjs.bytesToNumber; exports.bytesToString = _chunk35OJIFIWjs.bytesToString; exports.decodeAbi = _chunk35OJIFIWjs.decodeAbi; exports.decodeBytes = _chunk35OJIFIWjs.decodeBytes; exports.decodeErrorResult = _chunk35OJIFIWjs.decodeErrorResult; exports.decodeFunctionData = _chunk35OJIFIWjs.decodeFunctionData; exports.decodeFunctionResult = _chunk35OJIFIWjs.decodeFunctionResult; exports.decodeHex = _chunk35OJIFIWjs.decodeHex; exports.decodeRlp = _chunk35OJIFIWjs.decodeRlp; exports.encodeAbi = _chunk35OJIFIWjs.encodeAbi; exports.encodeBytes = _chunk35OJIFIWjs.encodeBytes; exports.encodeDeployData = _chunk35OJIFIWjs.encodeDeployData; exports.encodeErrorResult = _chunk35OJIFIWjs.encodeErrorResult; exports.encodeEventTopics = _chunk35OJIFIWjs.encodeEventTopics; exports.encodeFunctionData = _chunk35OJIFIWjs.encodeFunctionData; exports.encodeFunctionResult = _chunk35OJIFIWjs.encodeFunctionResult; exports.encodeHex = _chunk35OJIFIWjs.encodeHex; exports.encodeRlp = _chunk35OJIFIWjs.encodeRlp; exports.extractFunctionName = _chunk35OJIFIWjs.extractFunctionName; exports.extractFunctionParams = _chunk35OJIFIWjs.extractFunctionParams; exports.extractFunctionParts = _chunk35OJIFIWjs.extractFunctionParts; exports.extractFunctionType = _chunk35OJIFIWjs.extractFunctionType; exports.format = _chunk35OJIFIWjs.format; exports.formatAbiItemWithArgs = _chunk35OJIFIWjs.formatAbiItemWithArgs; exports.formatAbiItemWithParams = _chunk35OJIFIWjs.formatAbiItemWithParams; exports.formatBlock = _chunk35OJIFIWjs.formatBlock; exports.formatEther = _chunk35OJIFIWjs.formatEther; exports.formatGwei = _chunk35OJIFIWjs.formatGwei; exports.formatTransaction = _chunk35OJIFIWjs.formatTransaction; exports.formatTransactionRequest = _chunk35OJIFIWjs.formatTransactionRequest; exports.formatUnit = _chunk35OJIFIWjs.formatUnit; exports.getAbiItem = _chunk35OJIFIWjs.getAbiItem; exports.getAddress = _chunk35OJIFIWjs.getAddress; exports.getContractAddress = _chunk35OJIFIWjs.getContractAddress; exports.getContractError = _chunk35OJIFIWjs.getContractError; exports.getCreate2Address = _chunk35OJIFIWjs.getCreate2Address; exports.getCreateAddress = _chunk35OJIFIWjs.getCreateAddress; exports.getEventSignature = _chunk35OJIFIWjs.getEventSignature; exports.getFunctionSignature = _chunk35OJIFIWjs.getFunctionSignature; exports.hexToBigInt = _chunk35OJIFIWjs.hexToBigInt; exports.hexToBool = _chunk35OJIFIWjs.hexToBool; exports.hexToBytes = _chunk35OJIFIWjs.hexToBytes; exports.hexToNumber = _chunk35OJIFIWjs.hexToNumber; exports.hexToString = _chunk35OJIFIWjs.hexToString; exports.isAddress = _chunk35OJIFIWjs.isAddress; exports.isAddressEqual = _chunk35OJIFIWjs.isAddressEqual; exports.isBytes = _chunk35OJIFIWjs.isBytes; exports.isHex = _chunk35OJIFIWjs.isHex; exports.keccak256 = _chunk35OJIFIWjs.keccak256; exports.numberToBytes = _chunk35OJIFIWjs.numberToBytes; exports.numberToHex = _chunk35OJIFIWjs.numberToHex; exports.pad = _chunk35OJIFIWjs.pad; exports.padBytes = _chunk35OJIFIWjs.padBytes; exports.padHex = _chunk35OJIFIWjs.padHex; exports.parseEther = _chunk35OJIFIWjs.parseEther; exports.parseGwei = _chunk35OJIFIWjs.parseGwei; exports.parseUnit = _chunk35OJIFIWjs.parseUnit; exports.rpc = _chunk35OJIFIWjs.rpc; exports.size = _chunk35OJIFIWjs.size; exports.slice = _chunk35OJIFIWjs.slice; exports.sliceBytes = _chunk35OJIFIWjs.sliceBytes; exports.sliceHex = _chunk35OJIFIWjs.sliceHex; exports.stringToBytes = _chunk35OJIFIWjs.stringToBytes; exports.stringToHex = _chunk35OJIFIWjs.stringToHex; exports.stringify = _chunk35OJIFIWjs.stringify; exports.trim = _chunk35OJIFIWjs.trim;

@@ -1,2 +0,2 @@

import { R as Requests, E as Events } from './eip1193-020a6f13.js';
import { R as Requests, E as Events } from './eip1193-c001fcd5.js';
import './rpc-b77c5aee.js';

@@ -3,0 +3,0 @@

{
"name": "viem",
"description": "TypeScript (& JavaScript) Interface for Ethereum",
"version": "0.0.1-alpha.10",
"description": "TypeScript Interface for Ethereum",
"version": "0.0.1-alpha.11",
"files": [

@@ -17,2 +17,3 @@ "/actions",

"types": "./dist/index.d.ts",
"module": "./dist/index.mjs",
"default": "./dist/index.js"

@@ -22,2 +23,3 @@ },

"types": "./dist/actions/index.d.ts",
"module": "./dist/actions/index.mjs",
"default": "./dist/actions/index.js"

@@ -27,2 +29,3 @@ },

"types": "./dist/chains.d.ts",
"module": "./dist/chains.mjs",
"default": "./dist/chains.js"

@@ -32,2 +35,3 @@ },

"types": "./dist/clients/index.d.ts",
"module": "./dist/clients/index.mjs",
"default": "./dist/clients/index.js"

@@ -37,2 +41,3 @@ },

"types": "./dist/utils/index.d.ts",
"module": "./dist/utils/index.mjs",
"default": "./dist/utils/index.js"

@@ -42,2 +47,3 @@ },

"types": "./dist/window.d.ts",
"module": "./dist/window.mjs",
"default": "./dist/window.js"

@@ -47,39 +53,5 @@ },

},
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"dependencies": {
"@noble/hashes": "^1.1.2",
"@wagmi/chains": "^0.1.0",
"abitype": "^0.2.5"
},
"devDependencies": {
"@actions/core": "^1.10.0",
"@actions/github": "^5.1.1",
"@changesets/changelog-github": "^0.4.5",
"@changesets/cli": "^2.23.2",
"@testing-library/jest-dom": "^5.16.5",
"@types/dedent": "^0.7.0",
"@types/fs-extra": "^9.0.13",
"@types/node": "^17.0.45",
"@vitest/coverage-c8": "^0.24.3",
"@vitest/ui": "^0.19.1",
"bundlewatch": "^0.3.3",
"dedent": "^0.7.0",
"esbuild": "^0.16.12",
"esbuild-register": "^3.4.2",
"essential-eth": "^0.6.2",
"ethers": "^5.7.2",
"execa": "^6.1.0",
"fs-extra": "^10.1.0",
"jsdom": "^20.0.0",
"rome": "^11.0.0",
"simple-git-hooks": "^2.8.1",
"tsup": "^6.5.0",
"typescript": "^4.9.3",
"vite": "^3.0.4",
"vitest": "^0.25.2",
"web3": "^1.8.1"
},
"license": "MIT",

@@ -97,31 +69,3 @@ "repository": "wagmi-dev/viem",

"web3"
],
"engines": {
"node": ">=18"
},
"simple-git-hooks": {
"pre-commit": "pnpm format & pnpm lint:fix"
},
"scripts": {
"anvil": "source .env && anvil --fork-url $VITE_ANVIL_FORK_URL --fork-block-number $VITE_ANVIL_BLOCK_NUMBER --block-time $VITE_ANVIL_BLOCK_TIME",
"bench": "vitest bench --no-threads",
"bench:ci": "CI=true vitest bench --no-threads",
"build": "tsup",
"changeset": "changeset",
"changeset:release": "pnpm build && changeset publish",
"changeset:version": "changeset version && pnpm install --lockfile-only",
"dev": "DEV=true tsup",
"dev:docs": "pnpm -r --filter site dev",
"format": "rome format src/ test/ --write",
"lint": "rome check .",
"lint:fix": "pnpm lint --apply-suggested",
"playground": "pnpm --filter playground-dev dev",
"playground:benchmark": "pnpm --filter playground-benchmark dev",
"postinstall": "pnpm dev",
"preinstall": "npx only-allow pnpm",
"test": "vitest dev --coverage --no-threads",
"test:ci": "CI=true vitest --coverage --no-threads",
"test:ui": "vitest dev --ui --no-threads",
"typecheck": "tsc --noEmit"
}
]
}
{
"type": "module",
"module": "../dist/utils/index.mjs",
"main": "../dist/utils/index.js"
}
{
"type": "module",
"module": "../dist/window.mjs",
"main": "../dist/window.js"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc