Skip to main contentModule state
Source - ProtocolRegistry
- ProtocolRegistry - Tracks a registered yield protocol.
Each protocol (Kamino, Perena, etc.) has its own registry account.
- Stable
- Stable - Per-stablecoin state tracking.
Each stablecoin created has its own Stable account.
- StableProtocolPosition
- StableProtocolPosition - Tracks a stable’s position in a specific yield protocol.
- Vault
- Vault - Global state for the Bucks protocol.
Manages all deposited USDC across multiple yield protocols.
- BucksAccount
- position_pda
- Derives the StableProtocolPosition account PDA for a stable’s position in a protocol.
- protocol_pda
- Derives the ProtocolRegistry account PDA for a given protocol ID.
- stable_pda
- Derives the Stable account PDA from a stablecoin mint.
- vault_pda
- Derives the global Vault account PDA.