#![doc = include_str!("../README.md")]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/alloy-rs/core/main/assets/alloy.jpg",
html_favicon_url = "https://raw.githubusercontent.com/alloy-rs/core/main/assets/favicon.ico"
)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
#[cfg(any(feature = "reqwest", feature = "hyper"))]
use alloy_transport_http as _;
#[cfg(any(test, feature = "reqwest"))]
#[deprecated(since = "0.9.0", note = "use `RootProvider` instead")]
pub type ReqwestProvider<N = alloy_network::Ethereum> = crate::RootProvider<N>;
#[cfg(feature = "hyper")]
#[deprecated(since = "0.9.0", note = "use `RootProvider` instead")]
pub type HyperProvider<N = alloy_network::Ethereum> = crate::RootProvider<N>;
#[macro_use]
extern crate tracing;
mod builder;
pub use builder::{Identity, ProviderBuilder, ProviderLayer, Stack};
mod blocks;
pub mod ext;
pub mod fillers;
mod heart;
pub use heart::{
PendingTransaction, PendingTransactionBuilder, PendingTransactionConfig,
PendingTransactionError, WatchTxError,
};
pub mod layers;
mod provider;
pub use provider::{
bindings, builder, CallInfoTrait, CallItem, CallItemBuilder, CallTuple, Caller, DynProvider,
Dynamic, Empty, EthCall, EthCallMany, EthCallManyParams, EthCallParams, Failure,
FilterPollerBuilder, MulticallBuilder, MulticallError, MulticallItem, ParamsWithBlock,
Provider, ProviderCall, Result, RootProvider, RpcWithBlock, SendableTx, SendableTxErr,
WalletProvider, MULTICALL3_ADDRESS,
};
pub mod utils;
#[doc(no_inline)]
pub use alloy_network::{self as network, Network};
#[cfg(feature = "ws")]
pub use alloy_rpc_client::WsConnect;
#[cfg(feature = "ipc")]
pub use alloy_rpc_client::IpcConnect;