magicblock_magic_program_api/
lib.rs1pub mod args;
2pub mod compat;
3pub mod instruction;
4pub mod pda;
5pub mod response;
6
7pub use compat::{declare_id, pubkey, Pubkey};
8
9declare_id!("Magic11111111111111111111111111111111111111");
10
11pub const CRANK_PROGRAM_ID: Pubkey =
12 pubkey!("Crank11111111111111111111111111111111111111");
13
14pub const CALLBACK_PROGRAM_ID: Pubkey =
15 pubkey!("CaLLback11111111111111111111111111111111111");
16
17pub const POST_DELEGATION_ACTION_EXECUTOR_PROGRAM_ID: Pubkey =
18 pubkey!("PostAct111111111111111111111111111111111111");
19
20pub const MAGIC_CONTEXT_PUBKEY: Pubkey =
21 pubkey!("MagicContext1111111111111111111111111111111");
22
23pub const EPHEMERAL_VAULT_PUBKEY: Pubkey =
25 pubkey!("MagicVau1t999999999999999999999999999999999");
26
27pub const MAGIC_CONTEXT_SIZE: usize = 1024 * 1024 * 5; pub const EPHEMERAL_RENT_PER_BYTE: u64 = 32;