Skip to main content

airdrop_api/
lib.rs

1pub mod consts;
2pub mod error;
3pub mod event;
4pub mod instruction;
5pub mod loaders;
6pub mod merkle;
7pub mod pda;
8pub mod sdk;
9pub mod state;
10
11pub use consts::AirdropAccount;
12pub use error::AirdropError;
13pub use event::*;
14pub use instruction::*;
15pub use loaders::AirdropAccountInfoValidation;
16pub use merkle::*;
17
18// Re-export state types
19pub use state::*;
20
21use steel::*;
22
23// Program ID will be declared when deployed
24// For now, using a placeholder - update this with actual program ID after deployment
25declare_id!("11111111111111111111111111111111");
26
27pub mod prelude {
28    // Core modules
29    pub use crate::error::*;
30    pub use crate::event::*;
31    pub use crate::instruction::*;
32    pub use crate::state::*;
33
34    // SDK functions (primary source for user-facing functions)
35    pub use crate::sdk::*;
36
37    // Consts
38    pub use crate::consts::*;
39}