Crate cw_boolean_contract
source ·Expand description
For an overview, see the README here, since Rust docs are odd.
Modules
CosmWasm smart contracts contain entry points.
More on this pattern here: https://book.cosmwasm.com/basics/entry-points.html
The errors that can be thrown for this boolean contract, including demonstration ones.
Messages are how interactions occur in CosmWasm contracts.
Silly way to have a README and the docs how I like it.
What’s stored in the contract state. For this simple contract, that’s just a boolean.
Constants
Contract name as it’ll be stored according to the cw2 dependency
The version comes from the manifest file (Cargo.toml)