Trait sov_modules_api::ModuleInfo
source · pub trait ModuleInfo {
type Context: Context;
// Required methods
fn address(&self) -> &<Self::Context as Spec>::Address;
fn prefix(&self) -> Prefix;
fn dependencies(&self) -> Vec<&<Self::Context as Spec>::Address>;
}
Expand description
Every module has to implement this trait.