Constants§
Functions§
- add_
coins - Add the coins in
to_add
tocoins
if they exist. - aggregate_
coins - Aggregates coins from two vectors, summing up the amounts of coins that are the same.
- burn_
coin_ msg - Creates a CosmosMsg::Bank::BankMsg::Burn message with the given coin.
- get_
factory_ token_ creator - Gets the creator of a factory token. To be called after is_factory_token has been successful.
- get_
factory_ token_ subdenom - Gets the subdenom of a factory token. To be called after is_factory_token has been successful.
- is_
factory_ token - Verifies if the given denom is a factory token or not. A factory token has the following structure: factory/{creating contract address}/{subdenom} Subdenom can be of length at most 44 characters, in [0-9a-zA-Z./]. For more details about what’s expected from a factory token, please refer to https://docs.osmosis.zone/osmosis-core/modules/tokenfactory