pub async fn try_into_home(&self, signer: Option<Signers>) -> Result<Homes, Report> {
        match &self.chain {
            ChainConf::Ethereum(conf) => Ok(HomeVariants::Ethereum(
                make_home(
                    conf.clone(),
                    &ContractLocator {
                        name: self.name.clone(),
                        domain: self.domain.parse().expect("invalid uint"),
                        address: self.address.parse::<ethers::types::Address>()?.into(),
                    },
                    signer,
                )
                .await?,
            )
            .into()),
        }
    }
/// Try to convert the chain setting into a Home contract
Try to convert the chain setting into a Home contract
Try to convert the chain setting into a Home contract
pub async fn try_into_home(&self, signer: Option<Signers>) -> Result<Homes, Report> {
        match &self.chain {
            ChainConf::Ethereum(conf) => Ok(HomeVariants::Ethereum(
                make_home(
                    conf.clone(),
                    &ContractLocator {
                        name: self.name.clone(),
                        domain: self.domain.parse().expect("invalid uint"),
                        address: self.address.parse::<ethers::types::Address>()?.into(),
                    },
                    signer,
                )
                .await?,
            )
            .into()),
        }
    }
pub async fn try_into_home ( & self , signer : Option < Signers > ) -> Result < Homes , Report > { match & self . chain { ChainConf :: Ethereum ( conf ) => Ok ( HomeVariants :: Ethereum ( make_home ( conf . clone ( ) , & ContractLocator { name : self . name . clone ( ) , domain : self . domain . parse ( ) . expect ( " " ) , address : self . address . parse :: < ethers :: types :: Address > ( ) ? . into ( ) , } , signer , ) . await ? , ) . into ( ) ) , } }
Try to convert the chain setting into a Home contract
Try to convert the chain setting into a Home contract
&self
signer
Option<Signers>
&self
signer
Option<Signers>