Skip to main content
Solana splits code and state. vanna_lending is executable at a fixed program ID. Every pool, config, and user account is a separate PDA the program owns. Earn never touches a margin PDA. Margin never spends Earn vTokens as collateral unless the user redeems first and deposits the underlying. See Developer Architecture for the account graph and remaining-accounts convention.