CronCat Module: DAO
The CronCat mod DAO contract is a helpful abstraction allowing DAO DAO DAOs (say that three times fast oh-wait-we-just-did) to interact smoothly with CronCat tasks. This is especially helpful when using the \if this then that\ aspect of CronCat, which is described in the task fields queries
and transforms
. You can read more about those fields at https://docs.cron.cat/docs/task-anatomy/#queries--transforms.
See https://docs.cron.cat/docs for other helpful info.
## Store WASM Code
Contract uploaded: croncat_mod_dao.wasm
Source code: https://github.com/CronCats/cw-croncat/tree/main/contracts/mod-dao
## Compile Instructions
CronCat consists of several smart contracts, utilizing cargo workspaces. Look in the project root for a justfile
that contains several helper utilities.
To compile the canonical way:
sh<br />docker run --rm -v \$(pwd)\:/code --mount type=volume,source=\$(basename \$(pwd)\)_cache\,target=/code/target --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry cosmwasm/workspace-optimizer:0.12.13<br />
The above will take a while. \ud83d\ude3c
This results in the following checksum:
<br />13da56b9b715971386cd7558639e53ca866b93399bb420de08a853ebcf21d87c<br />
## Verify on-chain contract
sh<br />starsd q gov proposal $ID --output json | jq -r '.content.wasm_byte_code' | base64 -d | gzip -dc | sha256sum<br />
## Verify locally
sh<br />sha256sum artifacts/croncat_mod_dao.wasm<br />
Hakuna matata.