Registry / other / cw-ownable

cw-ownable

JSON →
library2.1.0rscratesunverified

Utility for controlling ownership of CosmWasm smart contracts.

# Cargo.toml [dependencies] cw-ownable = "2.1.0"
INSTALL
IMPORT
SIG · CW-OWNABLE
C
cw-ownable
otherrustv2.1.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.

Ownable
use cw_ownable::Ownable;

Derive the Ownable trait for a CosmWasm contract.

use cw_ownable::Ownable; #[derive(Ownable)] struct MyContract { owner: cosmwasm_std::Addr, } fn main() { println!("Ownable contract defined"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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