pub trait Time {
    type Moment: AtLeast32Bit + Parameter + Default + Copy + MaxEncodedLen;

    fn now() -> Self::Moment;
}

Required Associated Types§

Required Methods§

Implementors§

impl<T: Config> Time for Pallet<T>