Pompeet Core Program
- Main program handling all logic and calculations
- Source of PDA derivation
- Controls all protocol operations
Mint Authority PDA
- Derived using program_id
- Signs initial token minting
- Controls mint authority for all tokens
Bonding Curve PDA (per token)
- Derived using program_id + token_mint address
- Stores parameters & holds SOL
- Unique per token
Token Vault (per token)
- ATA owned by Bonding Curve PDA
- Holds token supply
- One per token
Seed Derivation Components:
Security & Design Benefits:
// Virtual Reserves (Price Control) const virtualSolReserves = 30_000_000_000n; // 30 SOL in lamports const virtualTokenReserves = 1_073_000_000n; // 1.073B tokens // Real Reserves (Tradeable Assets) const realTokenReserves = 800_000_000n; // 800M tokens const realSolReserves = 0n; // Start empty // Initial Price Initial Price = 0.000000028 SOL/token
Initial Price:
price = 30 SOL / 1.073B = 0.000000028 SOL/token
Price Impact:
1 SOL Purchase Impact: Initial: 0.000000028 SOL/token After: 0.000000029 SOL/token Impact: ~3.2% increase