Skip to main content
Vanna leverage is borrowed tokens that the margin account can spend in approved protocols. Every such call goes through one instruction, margin_execute. The validator checks the call, Vanna signs as the margin account, and the whole account is health-checked afterwards.

What borrowed funds can do

All of these count toward one health factor. A profitable farm and a losing perp offset each other.

Atomic vs multi-step

“One-click” is a UX promise. On-chain atomicity is per transaction.