use crate::{cfg_macros, cfg_program};
pub use crate::accounts::*;
pub use crate::decimal::*;
pub use crate::error::*;
pub use crate::instructions::*;
pub use crate::seeds::*;
pub use crate::types::*;
pub use crate::{SWITCHBOARD_ATTESTATION_PROGRAM_ID, SWITCHBOARD_PROGRAM_ID};
pub use rust_decimal;
cfg_program! {
pub use anchor_lang;
pub use anchor_lang::solana_program;
pub use anchor_lang::prelude::*;
pub use anchor_lang::prelude::Result;
}
cfg_macros! {
pub use futures;
pub use futures::Future;
pub use switchboard_solana_macros::switchboard_function;
pub use switchboard_solana_macros::sb_error;
}
pub use anchor_lang::{
AccountDeserialize, AccountSerialize, AnchorDeserialize, AnchorSerialize, Discriminator,
InstructionData, Owner, ZeroCopy,
};
pub use solana_program::entrypoint::ProgramResult;
pub use solana_program::instruction::{AccountMeta, Instruction};
pub use solana_program::program::{invoke, invoke_signed};