| Crates.io | cw-denom |
| lib.rs | cw-denom |
| version | 2.6.0 |
| created_at | 2022-09-25 02:07:46.339832+00 |
| updated_at | 2024-11-07 23:37:42.172413+00 |
| description | A package for validation and handling of cw20 and native Cosmos SDK denominations. |
| homepage | |
| repository | https://github.com/DA0-DA0/dao-contracts |
| max_upload_size | |
| id | 673402 |
| size | 17,465 |
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.