Registry / other / cw20-base

cw20-base

JSON →
library2.0.0rscratesunverified

Basic implementation of a CosmWasm-20 compliant token for CosmWasm smart contracts.

# Cargo.toml [dependencies] cw20-base = "2.0.0"
INSTALL
IMPORT
SIG · CW20-BASE
C
cw20-base
otherrustv2.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.

execute
use cw20_base::contract::execute;

Use the CW20 base contract execute function (typically in a CosmWasm environment).

use cw20_base::contract::execute; fn main() { // This is typically used in a CosmWasm contract entry point. // Example: let res = execute(deps, env, info, msg)?; println!("CW20 base execute function available"); }
Debug
Known issues
gotchaRequires CosmWasm environment: this crate is designed for CosmWasm smart contracts, not standalone Rust.
fix
Use within a CosmWasm contract project with proper dependencies (cosmwasm-std, etc.).
affects: >=1.0.0
Upgrade
Version history
2.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Meta
1
Resources
cw20-base — cargo add cw20-base · libregistry