#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

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

#422 in Magic Beans

Download history 435/week @ 2024-07-29 132/week @ 2024-08-05 414/week @ 2024-08-12 65/week @ 2024-08-19 66/week @ 2024-08-26 168/week @ 2024-09-02 189/week @ 2024-09-09 126/week @ 2024-09-16 142/week @ 2024-09-23 65/week @ 2024-09-30 55/week @ 2024-10-07 266/week @ 2024-10-14 78/week @ 2024-10-21 402/week @ 2024-10-28 311/week @ 2024-11-04 45/week @ 2024-11-11

851 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
~121K SLoC