pub fn is_factory_token(denom: &str) -> bool
Expand description
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