1// Anchor program, deployed on Solana devnet
2program_id = 3thUuqi2Pob3hzU2rKFGyCXzb3t214bYKjCiF2FsjKp4
3
4// One market PDA per (base_mint, quote_mint) pair
5e (market_pda, _bump) = Pubkey::find_program_address(
6 &[bmarket, base_mint.as_ref(), quote_mint.as_ref()],
7 &program_id,
8);
9
10// Bonding curves graduate by CPI into Raydium CPMM.
11// LP is burned in the same transaction — no unlock path.
12u nu CurveType {
13 // 0, 1 reserved for legacy inventory markets
14 Bonding = 2, // fair launch → graduates to Raydium
15}
16
17u nu LaunchPreset {
18 Degen = 0, // fast curve, low cap, minimal creator lock
19 Fair = 1, // linear-ish curve, longer creator lock
20 Community = 2, // balanced; default recommendation
21 Custom = 255, // explicit params
22}