lighthouse_sol/types/
known_program.rs

1//! This code was AUTOGENERATED using the codama library.
2//! Please DO NOT EDIT THIS FILE, instead use visitors
3//! to add features, then rerun codama to update it.
4//!
5//! <https://github.com/codama-idl/codama>
6//!
7
8use borsh::BorshDeserialize;
9use borsh::BorshSerialize;
10use num_derive::FromPrimitive;
11
12#[derive(
13    BorshSerialize,
14    BorshDeserialize,
15    Clone,
16    Debug,
17    Eq,
18    PartialEq,
19    Copy,
20    PartialOrd,
21    Hash,
22    FromPrimitive,
23)]
24#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
25pub enum KnownProgram {
26    System,
27    Token,
28    Token2022,
29    Rent,
30    Stake,
31    Vote,
32    BpfLoader,
33    UpgradeableLoader,
34    SysvarConfig,
35}