pub trait Config: Config + Config {
    type MagicNumber: Get<Self::Balance>;
    type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
    type WeightInfo: WeightInfo;
}
Expand description

Our pallet’s configuration trait. All our types and constants go in here. If the pallet is dependent on specific other pallets, then their configuration traits should be added to our implied traits list.

frame_system::Config should always be included.

Required Associated Types§

The overarching event type.

Type representing the weight of this pallet

Implementors§