Proposal Details

Proposal #187

Passed

Proposal title

CronCat Mod NFT

Submit time

Deposit end time

Voting start time

Voting end time

Tally result

98.26%

Proposal #187 description

CronCat Module: NFT

The CronCat mod NFT contract was created with Stargaze in mind! This contract enables NFT queries and interaction with CronCat tasks. Combine this with the \if this then that\ aspect of CronCat, and baby, you got a stew goin'. An interested person might dig into the task fields

queries
and
transforms
to see how to leverage this module. 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_nft.wasm

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

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:

1246e1d609d50180861da1942b32acd0a76f77e9b17edf4c2cae98d8a9eae6b4

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

Hakuna matata.

Proposal #187 overview

Total votes
1,077
Voters
1,076
Total deposit
50,000 STARS