mirror of
https://github.com/pezkuwichain/pez-minimal-template.git
synced 2026-07-27 21:05:39 +00:00
23 lines
564 B
Rust
23 lines
564 B
Rust
//! A shell pallet built with [`frame`].
|
|
//!
|
|
//! To get started with this pallet, try implementing the guide in
|
|
//! <https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/guides/your_first_pallet/index.html>
|
|
|
|
#![cfg_attr(not(feature = "std"), no_std)]
|
|
|
|
use frame::prelude::*;
|
|
|
|
// Re-export all pallet parts, this is needed to properly import the pallet into the runtime.
|
|
pub use pallet::*;
|
|
|
|
#[frame::pallet]
|
|
pub mod pallet {
|
|
use super::*;
|
|
|
|
#[pallet::config]
|
|
pub trait Config: frame_system::Config {}
|
|
|
|
#[pallet::pallet]
|
|
pub struct Pallet<T>(_);
|
|
}
|