| Crates.io | dao-hooks |
| lib.rs | dao-hooks |
| version | 2.6.0 |
| created_at | 2023-10-18 19:23:26.68958+00 |
| updated_at | 2024-11-07 23:44:35.059678+00 |
| description | A package for managing DAO vote, proposal, and stake hooks. |
| homepage | |
| repository | https://github.com/DA0-DA0/dao-contracts |
| max_upload_size | |
| id | 1007091 |
| size | 12,258 |
This package provides an interface for managing and dispatching proposal, staking, and voting related hooks.
Staking hooks are fired when NFTs are staked or unstaked in a DAO.
There are two types of proposal hooks:
Our wiki contains more info on Proposal Hooks.
Staking hooks are fired when tokens are staked or unstaked in a DAO.
Vote hooks are fired when new votes are cast.
You can read more about vote hooks in our wiki.