Module frame::prelude::frame_system::pallet_prelude
Expand description
Prelude to be used alongside pallet macro, for ease of use.
Functions
- Ensure that the origin
orepresents an unsigned extrinsic. ReturnsOkor anErrotherwise. - Ensure that the origin
orepresents the root. ReturnsOkor anErrotherwise. - Ensure that the origin
orepresents a signed extrinsic (i.e. transaction). ReturnsOkwith the account that signed the extrinsic or anErrotherwise. - Ensure that the origin
orepresents either a signed extrinsic (i.e. transaction) or the root. ReturnsOkwith the account that signed the extrinsic,Noneif it was root, or anErrotherwise.
Type Definitions
- Type alias for the
BlockNumberassociated type of system config. - Type alias for the
Extrinsicassociated type of system config. - Type alias for the
Header. - Type alias for the
Originassociated type of system config. - Type alias for the
RuntimeCallassociated type of system config.