Module pallet_prelude

Module pallet_prelude 

Source
Expand description

Prelude to be used alongside pallet macro, for ease of use.

Re-exports§

pub use crate::ensure_none;
pub use crate::ensure_root;
pub use crate::ensure_signed;
pub use crate::ensure_signed_or_root;

Type Aliases§

BlockNumberFor
Type alias for the BlockNumber associated type of system config.
ExtrinsicFor
Type alias for the Extrinsic associated type of system config.
HeaderFor
Type alias for the Header.
OriginFor
Type alias for the Origin associated type of system config.
RuntimeCallFor
Type alias for the RuntimeCall associated type of system config.