get_latest_croncat_contract

Function get_latest_croncat_contract 

Source
pub fn get_latest_croncat_contract(
    querier: &QuerierWrapper<'_>,
    croncat_factory_address: Addr,
    croncat_contract_name: String,
) -> Result<Addr, CronCatContractError>
Expand description

Given the CronCat factory address, returns the proper contract address if it exists. See TASKS_NAME, MANAGER_NAME, and AGENTS_NAME