🍘
Architecture
marginfi has two major components, the global margin account and the liquidity pool.

This is the main venue you use to interact with marginfi and the underlying trading markets. Together with the underlying trading accounts (UTPs) acts as a unified isolated margin account.
All liquidity in marginfi exists in either user owned UTP accounts or the liquidity pool. The liquidity pool is a shared borrow-lend pool from which margin accounts can access liquidity for trading.
Traders can automatically access liquidity in the pool based on their accounts aggregate available margin.
marginfi currently enables traders to access perpetual futures markets on both Mango Markets and the 01 Protocol.
A network of bots real-time observe on-chain data, and use multiple cranking systems to keep your margin accounts safe and the protocol solvent.
Last modified 6mo ago