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 pallet macro.
  • Instance2 to be used for instantiable pallet define with pallet macro.
  • Instance3 to be used for instantiable pallet define with pallet macro.
  • Instance4 to be used for instantiable pallet define with pallet macro.
  • Instance5 to be used for instantiable pallet define with pallet macro.
  • Instance6 to be used for instantiable pallet define with pallet macro.
  • Instance7 to be used for instantiable pallet define with pallet macro.
  • Instance8 to be used for instantiable pallet define with pallet macro.
  • Instance9 to be used for instantiable pallet define with pallet macro.
  • Instance10 to be used for instantiable pallet define with pallet macro.
  • Instance11 to be used for instantiable pallet define with pallet macro.
  • Instance12 to be used for instantiable pallet define with pallet macro.
  • Instance13 to be used for instantiable pallet define with pallet macro.
  • Instance14 to be used for instantiable pallet define with pallet macro.
  • Instance15 to be used for instantiable pallet define with pallet macro.
  • Instance16 to be used for instantiable pallet define with pallet macro.