mod.rs 348 B

12345678910111213141516
  1. mod power_status;
  2. pub use power_status::*;
  3. use steel::*;
  4. #[repr(u8)]
  5. #[derive(Clone, Copy, Debug, Eq, PartialEq, IntoPrimitive, TryFromPrimitive)]
  6. pub enum LeverAccount {
  7. PowerStatus = 0,
  8. }
  9. // /// Fetch PDA of the counter account.
  10. // pub fn counter_pda() -> (Pubkey, u8) {
  11. // Pubkey::find_program_address(&[COUNTER], &crate::id())
  12. // }