#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

#8 in #inter-chain

Download history 87/week @ 2024-08-31 273/week @ 2024-09-07 133/week @ 2024-09-14 142/week @ 2024-09-21 80/week @ 2024-09-28 43/week @ 2024-10-05 264/week @ 2024-10-12 83/week @ 2024-10-19 386/week @ 2024-10-26 317/week @ 2024-11-02 64/week @ 2024-11-09 44/week @ 2024-11-16 69/week @ 2024-11-23 73/week @ 2024-11-30 106/week @ 2024-12-07 50/week @ 2024-12-14

302 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