pub fn optional_asset_selector( asset: Option<&str>, custom_asset: Option<&str>, ) -> Result<AssetSelector>