[][src]Trait frame_support::traits::Instance

pub trait Instance: 'static {
    pub const PREFIX: &'static str;
}

An instance of a pallet in the storage.

It is required that these instances are unique, to support multiple instances per pallet in the same runtime!

E.g. for module MyModule default instance will have prefix "MyModule" and other instances "InstanceNMyModule".

Associated Constants

pub const PREFIX: &'static str[src]

Unique module prefix. E.g. "InstanceNMyModule" or "MyModule"

Loading content...

Implementors

Loading content...