Registry / other / cw2
library3.0.0rscratesunverified

Definition and types for the CosmWasm-2 interface.

# Cargo.toml [dependencies] cw2 = "3.0.0"
INSTALL
IMPORT
SIG · CW2
C
cw2
otherrustv3.0.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.

ContractVersion
use cw2::ContractVersion;

Defines a contract version struct for CosmWasm smart contracts.

use cw2::ContractVersion; fn main() { let version = ContractVersion { contract: "my_contract".to_string(), version: "1.0.0".to_string(), }; println!("{:?}", version); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Meta
1
Resources
cw2 — cargo add cw2 · libregistry