Registry / utility / cw-utils

cw-utils

JSON →
library3.0.0rscratesunverified

Common helpers for other cw specs

# Cargo.toml [dependencies] cw-utils = "3.0.0"
INSTALL
IMPORT
SIG · CW-UTILS
C
cw-utils
utilityrustv3.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.

PaymentError
use cw_utils::PaymentError;

Use a common error type from CW utilities

use cw_utils::PaymentError; fn main() { let err = PaymentError::NoFunds {}; println!("Error: {:?}", err); }
Debug
Known issues
gotchaDesigned for CosmWasm smart contracts; may not be useful outside that ecosystem.
fix
Only use this crate if you are developing CosmWasm contracts.
affects: >=3.0.0
Upgrade
Version history
3.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
cw-utils — cargo add cw-utils · libregistry