cw-denom

Crates.iocw-denom
lib.rscw-denom
version2.6.0
sourcesrc
created_at2022-09-25 02:07:46.339832
updated_at2024-11-07 23:37:42.172413
descriptionA package for validation and handling of cw20 and native Cosmos SDK denominations.
homepage
repositoryhttps://github.com/DA0-DA0/dao-contracts
max_upload_size
id673402
size17,465
publishers (github:da0-da0:publishers)

documentation

README

CosmWasm Denom

This is a simple package for validating cw20 and Cosmos SDK native denominations. It proves the types, UncheckedDenom and CheckedDenom. UncheckedDenom may be used in CosmWasm contract messages and checked via the into_checked method.

To validate native denominations, this package uses the same rules as the SDK.

To validate cw20 denominations this package ensures that the specified address is valid, that the specified address is a CosmWasm contract, and that the specified address responds correctly to cw20 TokenInfo queries.

Commit count: 879

cargo fmt