pub trait Clock<T: Config> {
    // Required methods
    fn current_round() -> RoundInfo<BlockNumberFor<T>>;
    fn round_duration() -> BlockNumberFor<T>;
}

Required Methods§

source

fn current_round() -> RoundInfo<BlockNumberFor<T>>

source

fn round_duration() -> BlockNumberFor<T>

Implementors§

source§

impl<T: Config> Clock<T> for ClockMock<T>