pub async fn try_home_indexer(&self) -> Result<HomeIndexers, Report> {
        let signer = self.get_signer(&self.home.name).await;

        match &self.home.chain {
            ChainConf::Ethereum(conn) => Ok(HomeIndexers::Ethereum(
                make_home_indexer(
                    conn.clone(),
                    &ContractLocator {
                        name: self.home.name.clone(),
                        domain: self.home.domain.parse().expect("invalid uint"),
                        address: self.home.address.parse::<ethers::types::Address>()?.into(),
                    },
                    signer,
                    self.index.from(),
                    self.index.chunk_size(),
                )
                .await?,
            )),
        }
    }
/// Try to get an indexer object for a home
Try to get an indexer object for a home
Try to get an indexer object for a home
pub async fn try_home_indexer(&self) -> Result<HomeIndexers, Report> {
        let signer = self.get_signer(&self.home.name).await;
        match &self.home.chain {
            ChainConf::Ethereum(conn) => Ok(HomeIndexers::Ethereum(
                make_home_indexer(
                    conn.clone(),
                    &ContractLocator {
                        name: self.home.name.clone(),
                        domain: self.home.domain.parse().expect("invalid uint"),
                        address: self.home.address.parse::<ethers::types::Address>()?.into(),
                    },
                    signer,
                    self.index.from(),
                    self.index.chunk_size(),
                )
                .await?,
            )),
        }
    }
pub async fn try_home_indexer ( & self ) -> Result < HomeIndexers , Report > { let signer = self . get_signer ( & self . home . name ) . await ; match & self . home . chain { ChainConf :: Ethereum ( conn ) => Ok ( HomeIndexers :: Ethereum ( make_home_indexer ( conn . clone ( ) , & ContractLocator { name : self . home . name . clone ( ) , domain : self . home . domain . parse ( ) . expect ( " " ) , address : self . home . address . parse :: < ethers :: types :: Address > ( ) ? . into ( ) , } , signer , self . index . from ( ) , self . index . chunk_size ( ) , ) . await ? , ) ) , } }
Try to get an indexer object for a home
Try to get an indexer object for a home
&self
&self