Skip to main content
Solana splits code and state. Vanna’s programs are executable at fixed IDs, and every pool, config and user account is a separate PDA they own.

Three programs

The core knows no price source and no external protocol. It asks the agents and accepts only their return data. Adding a protocol means adding rules to the validator (and, if needed, a reader to the oracle), then one admin registration. The core is not redeployed.

Core accounts

Earn never touches a margin account. A margin account never uses Earn vTokens as collateral unless the user redeems first and deposits the underlying. See Developer Architecture for the account graph and the remaining-accounts convention.