Module frame_support::instances
source · Expand description
Some instance placeholder to be used in frame_support::pallet attribute macro.
frame_support::pallet attribute macro does only requires the instance generic I to be
static (contrary to decl_* macro which requires instance generic to implement
frame_support::traits::Instance).
Thus support provides some instance types to be used, This allow some instantiable pallet to depend on specific instance of another:
pub trait Config<I: 'static = ()>: another_pallet::Config<I> {}NOTE: frame_support::pallet will reexport them inside the module, in order to make them
accessible to frame_support::construct_runtime.
Structs
- Instance1 to be used for instantiable pallet define with
palletmacro. - Instance2 to be used for instantiable pallet define with
palletmacro. - Instance3 to be used for instantiable pallet define with
palletmacro. - Instance4 to be used for instantiable pallet define with
palletmacro. - Instance5 to be used for instantiable pallet define with
palletmacro. - Instance6 to be used for instantiable pallet define with
palletmacro. - Instance7 to be used for instantiable pallet define with
palletmacro. - Instance8 to be used for instantiable pallet define with
palletmacro. - Instance9 to be used for instantiable pallet define with
palletmacro. - Instance10 to be used for instantiable pallet define with
palletmacro. - Instance11 to be used for instantiable pallet define with
palletmacro. - Instance12 to be used for instantiable pallet define with
palletmacro. - Instance13 to be used for instantiable pallet define with
palletmacro. - Instance14 to be used for instantiable pallet define with
palletmacro. - Instance15 to be used for instantiable pallet define with
palletmacro. - Instance16 to be used for instantiable pallet define with
palletmacro.