Crate dao_vote_hooks

Source
Expand description

§CosmWasm DAO Vote Hooks

This package provides an interface for managing and dispatching vote hooks from a proposal module. Vote hooks are fired when new votes are cast.

You can read more about vote hooks in our wiki.

Enums§

VoteHookExecuteMsg
VoteHookMsg

Functions§

new_vote_hooks
Prepares new vote hook messages. These messages reply on error and have even reply IDs. IDs are set to odd numbers to then be interleaved with the proposal hooks.