Trait HasChainMetadata
concordium_std
pub trait HasChainMetadata { fn slot_time(&self) -> SlotTime; }
Objects which can access chain metadata.
fn slot_time(&self) -> SlotTime
Get time in milliseconds at the beginning of this block.
impl HasChainMetadata for ChainMetaTest