Skip to main content

codama_nodes/generated/shared/
program_origin.rs

1use serde::{Deserialize, Serialize};
2
3/// The toolchain that originally generated a program description.
4#[derive(Debug, PartialEq, Eq, Clone, Copy, Serialize, Deserialize)]
5#[serde(rename_all = "camelCase")]
6pub enum ProgramOrigin {
7    /// The program was originally described by an Anchor IDL.
8    Anchor,
9    /// The program was originally described by a Shank IDL.
10    Shank,
11}