#hook #cosmwasm #index #dao #governance #multisig #inter-chain

cw-hooks

A package for managing a set of hooks which can be accessed by their index

8 stable releases

new 2.6.0 Nov 7, 2024
2.5.0 Oct 31, 2024
2.4.2 Jul 22, 2024
2.3.0 Oct 18, 2023
2.0.1 Jan 19, 2023

#572 in Magic Beans

Download history 854/week @ 2024-07-18 279/week @ 2024-07-25 348/week @ 2024-08-01 304/week @ 2024-08-08 197/week @ 2024-08-15 65/week @ 2024-08-22 71/week @ 2024-08-29 221/week @ 2024-09-05 212/week @ 2024-09-12 118/week @ 2024-09-19 83/week @ 2024-09-26 49/week @ 2024-10-03 155/week @ 2024-10-10 203/week @ 2024-10-17 57/week @ 2024-10-24 445/week @ 2024-10-31

865 downloads per month
Used in 22 crates (11 directly)

BSD-3-Clause

9KB
160 lines

CosmWasm DAO Hooks

This package provides shared hook functionality used for dao-hooks.

It deviates from other CosmWasm hook packages in that hooks can be modified based on their index in the hook list AND based on the address receiving the hook. This allows dispatching hooks with their index as the reply ID of a submessage and removing hooks if they fail to process the hook message.

Dependencies

~4–6MB
~122K SLoC