Module polkadot_sdk_frame::prelude::frame_system::pallet_prelude
Expand description
Prelude to be used alongside pallet macro, for ease of use.
Functions§
- Ensure that the origin
o
represents an unsigned extrinsic. ReturnsOk
or anErr
otherwise. - Ensure that the origin
o
represents the root. ReturnsOk
or anErr
otherwise. - Ensure that the origin
o
represents a signed extrinsic (i.e. transaction). ReturnsOk
with the account that signed the extrinsic or anErr
otherwise. - Ensure that the origin
o
represents either a signed extrinsic (i.e. transaction) or the root. ReturnsOk
with the account that signed the extrinsic,None
if it was root, or anErr
otherwise.
Type Aliases§
- Type alias for the
BlockNumber
associated type of system config. - Type alias for the
Extrinsic
associated type of system config. - Type alias for the
Header
. - Type alias for the
Origin
associated type of system config. - Type alias for the
RuntimeCall
associated type of system config.