get_croncat_contract

Function get_croncat_contract 

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

Given the CronCat factory address and a version, returns the proper contract address if it exists. Use get_latest_croncat_contract to get latest version See TASKS_NAME, MANAGER_NAME, and AGENTS_NAME