Module polkadot_sdk_frame::prelude
source · Expand description
The main prelude of FRAME.
This prelude should almost always be the first line of code in any pallet or runtime.
use polkadot_sdk_frame::prelude::*;
// rest of your pallet..
mod pallet {}
Re-exports§
pub use frame_support::pallet_prelude::*;
pub use frame_system::pallet_prelude::*;
pub use sp_std::prelude::*;
pub use super::derive::*;
Modules§
frame_system
’s parent crate, which is mandatory in all pallets build with this crate.