Skip to main content

Module providers

Module providers 

Source

Re-exportsยง

use alloy_network::Network; ๐Ÿ”’
use alloy_primitives::map::HashMap; ๐Ÿ”’
use alloy_primitives::map::hash_map::Entry; ๐Ÿ”’
use alloy_provider::Provider; ๐Ÿ”’
use alloy_provider::RootProvider; ๐Ÿ”’
use eyre::Result; ๐Ÿ”’
use eyre::WrapErr; ๐Ÿ”’
use foundry_common::provider::ProviderBuilder; ๐Ÿ”’
use foundry_common::provider::fee::ResolvedEip1559Fees; ๐Ÿ”’
use foundry_common::provider::fee::estimate_eip1559_fees; ๐Ÿ”’
use foundry_config::Chain; ๐Ÿ”’
use foundry_config::Config; ๐Ÿ”’
use foundry_config::Eip1559FeeEstimatePreset; ๐Ÿ”’
use std::ops::Deref; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’

Structsยง

ProviderInfo
Holds related metadata to each provider RPC.
ProvidersManager
Contains a map of RPC urls to single instances of ProviderInfo.

Enumsยง

GasPrice
Represents the outcome of a gas price request