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