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