Expand description
§CosmWasm DAO Proposal Hooks
This package provides an interface for managing and dispatching proposal hooks from a proposal module.
There are two types of proposal hooks:
- New Proposal Hook: fired when a new proposal is created.
- Proposal Staus Changed Hook: fired when a proposal’s status changes.
Our wiki contains more info on Proposal Hooks.
Enums§
Functions§
- new_
proposal_ hooks - Prepares new proposal hook messages. These messages reply on error and have even reply IDs. IDs are set to even numbers to then be interleaved with the vote hooks.
- proposal_
status_ changed_ hooks - Prepares proposal status hook messages. These messages reply on error and have even reply IDs. IDs are set to even numbers to then be interleaved with the vote hooks.