Module frame_support::instances[][src]

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

Instance0

Instance0 to be used for instantiable pallet define with pallet macro.

Instance1

Instance1 to be used for instantiable pallet define with pallet macro.

Instance2

Instance2 to be used for instantiable pallet define with pallet macro.

Instance3

Instance3 to be used for instantiable pallet define with pallet macro.

Instance4

Instance4 to be used for instantiable pallet define with pallet macro.

Instance5

Instance5 to be used for instantiable pallet define with pallet macro.

Instance6

Instance6 to be used for instantiable pallet define with pallet macro.

Instance7

Instance7 to be used for instantiable pallet define with pallet macro.

Instance8

Instance8 to be used for instantiable pallet define with pallet macro.

Instance9

Instance9 to be used for instantiable pallet define with pallet macro.

Instance10

Instance10 to be used for instantiable pallet define with pallet macro.

Instance11

Instance11 to be used for instantiable pallet define with pallet macro.

Instance12

Instance12 to be used for instantiable pallet define with pallet macro.

Instance13

Instance13 to be used for instantiable pallet define with pallet macro.

Instance14

Instance14 to be used for instantiable pallet define with pallet macro.

Instance15

Instance15 to be used for instantiable pallet define with pallet macro.