Trait orml_traits::asset_registry::Mutate
source · pub trait Mutate: Inspect {
fn register_asset(
asset_id: Option<Self::AssetId>,
metadata: AssetMetadata<Self::Balance, Self::CustomMetadata>
) -> DispatchResult;
fn update_asset(
asset_id: Self::AssetId,
decimals: Option<u32>,
name: Option<Vec<u8>>,
symbol: Option<Vec<u8>>,
existential_deposit: Option<Self::Balance>,
location: Option<Option<VersionedMultiLocation>>,
additional: Option<Self::CustomMetadata>
) -> DispatchResult;
}