foundry_common::ens::EnsResolver

Function new

Source
pub const fn new<T: Transport + Clone, P: Provider<T, N>, N: Network>(
    address: Address,
    provider: P,
) -> EnsResolverInstance<T, P, N>
Expand description

Creates a new wrapper around an on-chain EnsResolver contract instance.

See the wrapper’s documentation for more details.