Trait orml_traits::asset_registry::AssetProcessor
source · pub trait AssetProcessor<AssetId, Metadata> {
fn pre_register(
id: Option<AssetId>,
asset_metadata: Metadata
) -> Result<(AssetId, Metadata), DispatchError>;
fn post_register(
_id: AssetId,
_asset_metadata: Metadata
) -> Result<(), DispatchError> { ... }
}