Registry / other / cw-hooks

cw-hooks

JSON →
library2.6.0rscratesunverified

A package for managing a set of hooks that can be accessed by their index, used in CosmWasm smart contracts.

# Cargo.toml [dependencies] cw-hooks = "2.6.0"
INSTALL
IMPORT
SIG · CW-HOOKS
C
cw-hooks
otherrustv2.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Hooks
use cw_hooks::Hooks;

Create a new Hooks instance.

use cw_hooks::Hooks; fn main() { let hooks = Hooks::new(); println!("Hooks created"); }
Debug
Known issues
gotchaThis crate is designed for CosmWasm and may not be suitable for non-blockchain applications.
fix
Only use in CosmWasm smart contract contexts.
affects: >=2.0.0
Upgrade
Version history
2.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
cw-hooks — cargo add cw-hooks · libregistry