1 2 3 4 5 6 7 8 9 10 11
//! This account contains the clock slot, epoch, and leader_schedule_epoch //! pub use crate::clock::Clock; use crate::{impl_sysvar_get, program_error::ProgramError, sysvar::Sysvar}; crate::declare_sysvar_id!("SysvarC1ock11111111111111111111111111111111", Clock); impl Sysvar for Clock { impl_sysvar_get!(sol_get_clock_sysvar); }