new_proposal_hooks

Function new_proposal_hooks 

Source
pub fn new_proposal_hooks(
    hooks: Hooks<'_>,
    storage: &dyn Storage,
    id: u64,
) -> StdResult<Vec<SubMsg>>
Expand description

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.