Proposal Details

Proposal #180

Passed

Proposal title

CronCat Manager

Submit time

Deposit end time

Voting start time

Voting end time

Tally result

99.99%

Proposal #180 description

CronCat Manager

The CronCat manager is a somewhat central contract in the factory architecture. This is the contract that will store and manage task funds, refunds, etc. It is also the contract that gets called by the agents when it's time to fulfill tasks.

There's a smooth interplay between the manager and the agents and tasks contract, where these contracts habitually query and execute methods with one another.

See https://docs.cron.cat/docs/contracts-manager for more info.

Store WASM Code

Contract uploaded:

croncat_manager.wasm

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

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:

229f1a91efdac64ce3271aa7d868baa85d7589521b9a9c0f9e816b13cb2bd049

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_manager.wasm

Hakuna matata.

Proposal #180 overview

Total votes
993
Voters
988
Total deposit
50,000 STARS