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