pub fn new(
        provider: Arc<M>,
        ContractLocator {
            name,
            domain,
            address,
        }: &ContractLocator,
    ) -> Self {
        Self {
            contract: Arc::new(EthereumHomeInternal::new(address, provider.clone())),
            domain: *domain,
            name: name.to_owned(),
            provider,
        }
    }
/// Create a reference to a Home at a specific Ethereum address on some
/// chain
Create a reference to a Home at a specific Ethereum address on some
chain
Create a reference to a Home at a specific Ethereum address on some chain
pub fn new(
        provider: Arc<M>,
        ContractLocator {
            name,
            domain,
            address,
        }: &ContractLocator,
    ) -> Self {
        Self {
            contract: Arc::new(EthereumHomeInternal::new(address, provider.clone())),
            domain: *domain,
            name: name.to_owned(),
            provider,
        }
    }
pub fn new ( provider : Arc < M > , ContractLocator { name , domain , address , } : & ContractLocator , ) -> Self { Self { contract : Arc :: new ( EthereumHomeInternal :: new ( address , provider . clone ( ) ) ) , domain : * domain , name : name . to_owned ( ) , provider , } }
Create a reference to a Home at a specific Ethereum address on some
chain
Create a reference to a Home at a specific Ethereum address on some chain
provider
&ContractLocator
provider
&ContractLocator