Module task_creation

Source

Functions§

create_croncat_task_cosmos_msg
This returns a CosmosMsg Execute object It’s a helper in this crate, but is exposed for external usage as well.
create_croncat_task_message
Returns a CosmosMsg This can be conveniently used when returning a Response Ok(Response::new().add_message(returned_val))
create_croncat_task_submessage
Returns a SubMsg This can be conveniently used when returning a Response where you might handle what happened in the reply entry point. Ok(Response::new().add_submessage(returned_val))
croncat_basic_validation
get_croncat_contract
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
get_latest_croncat_contract
Given the CronCat factory address, returns the proper contract address if it exists. See TASKS_NAME, MANAGER_NAME, and AGENTS_NAME
simulate_amount_for_one_task
simulate_task
This will simulate created task structure, assuming no errors happened during creation