Proposal Details

Proposal #186

Passed

Proposal title

CronCat Mod Generic

Submit time

Deposit end time

Voting start time

Voting end time

Tally result

98.26%

Proposal #186 description

CronCat Module: Generic

The CronCat mod generic contract allows for all kinds of queries, wrapped in a special way that makes it easy to create tasks that have superpowers when it comes to executing exactly when it's supposed to. This makes the \if this then that\ aspect of CronCat ridiculously generic, which boils down to the 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 additional info.

Store WASM Code

Contract uploaded:

croncat_mod_generic.wasm

Source code: https://github.com/CronCats/cw-croncat/tree/main/contracts/mod-generic

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:

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

The above will take a while. \ud83d\ude3c

This results in the following checksum:

c004610b61b3c64b405658c40b9c845cc9622033ecc4385f03e3db652aad8763

Verify on-chain contract

starsd q gov proposal $ID --output json | jq -r '.content.wasm_byte_code' | base64 -d | gzip -dc | sha256sum

Verify locally

sha256sum artifacts/croncat_mod_generic.wasm

Hakuna matata.

Proposal #186 overview

Total votes
995
Voters
993
Total deposit
50,000 STARS