#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

6 stable releases

2.4.2 Jul 22, 2024
2.4.0 Jul 21, 2024
2.3.0 Oct 18, 2023
2.2.0 Jul 9, 2023
2.0.1 Jan 19, 2023

#5 in #inter-chain

Download history 70/week @ 2024-06-04 57/week @ 2024-06-11 122/week @ 2024-06-18 61/week @ 2024-06-25 2/week @ 2024-07-02 76/week @ 2024-07-09 607/week @ 2024-07-16 487/week @ 2024-07-23 389/week @ 2024-07-30 198/week @ 2024-08-06 320/week @ 2024-08-13 62/week @ 2024-08-20 70/week @ 2024-08-27 180/week @ 2024-09-03 191/week @ 2024-09-10 167/week @ 2024-09-17

609 downloads per month
Used in 20 crates (10 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.5–6.5MB
~141K SLoC