{"id":58373,"library":"cw-controllers","title":"CW Controllers","description":"Common controllers to be reused in multiple contracts for CosmWasm smart contracts.","status":"active","version":"3.0.0","language":"rust","source_language":null,"source_url":"https://github.com/CosmWasm/cw-minus","tags":["cosmwasm","controllers","smart-contracts","blockchain"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ncw-controllers = \"3.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add cw-controllers","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Admin","correct":"use cw_controllers::Admin;"}],"quickstart":{"code":"use cw_controllers::Admin;\nuse cosmwasm_std::Addr;\n\nfn main() {\n    let admin = Admin::new(\"admin\".to_string());\n    println!(\"Admin address: {:?}\", admin);\n}","lang":"rust","description":"Creates an Admin controller for managing contract permissions."},"warnings":[{"fix":"Ensure you are building for a CosmWasm smart contract target.","message":"Requires CosmWasm environment (e.g., cosmwasm_std) to function properly.","severity":"gotcha","affected_versions":">=3.0.0"}],"env_vars":null,"search_vec":"'blockchain':20 'common':3 'contract':10,14,19 'control':2,4,16 'cosmwasm':12,15 'cw':1 'multipl':9 'reus':7 'smart':13,18 'smart-contract':17","created_at":"2026-06-16T16:21:31.364538+00:00","updated_at":"2026-06-16T16:21:31.364538+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/CosmWasm/cw-minus","github":"https://github.com/CosmWasm/cw-minus","docs":"https://docs.rs/cw-controllers/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}