mrgnlabs / mrgn-ts

https://app.marginfi.com
Apache License 2.0
87 stars 70 forks source link

fix(mfi-v2-ui): reduce only positions #956

Closed chambaz closed 2 weeks ago

chambaz commented 2 weeks ago

Checks liability shares instead of usd value to determine if position is lending / borrowing. Fixes reduce only borrows, with 0 state oracles, showing as lending positions unintentionally.

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marginfi-landing-page ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 15, 2024 7:02pm
marginfi-v2-trading ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 15, 2024 7:02pm
marginfi-v2-ui 🛑 Canceled (Inspect) Nov 15, 2024 7:02pm
1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **marginfi-v2-docs** | ⬜️ Skipped ([Inspect](https://vercel.com/mrgn/marginfi-v2-docs/9LVk5Xv2sXjvQdTHTKpjTXsiojCY)) | | | Nov 15, 2024 7:02pm |