Skip to content

Hide Pool C/E LP markets from portfolio page#476

Merged
temptemp3 merged 1 commit into
betafrom
fix/portfolio-exclude-pool-c-e-markets
Jun 4, 2026
Merged

Hide Pool C/E LP markets from portfolio page#476
temptemp3 merged 1 commit into
betafrom
fix/portfolio-exclude-pool-c-e-markets

Conversation

@temptemp3
Copy link
Copy Markdown
Contributor

Summary

  • Apply the same Pool C/E exclusion rules used on the Markets table to the Portfolio page
  • Hide Tinyman LP collateral (LP_TMPOOL2_*) from supplied/borrowed asset lists and portfolio market snapshots
  • Keep WAD borrow markets on pools C and E visible
  • Add shared config helpers (getPortfolioVisibleTokens, filterPortfolioVisibleMarketRows) and unit tests

Test plan

  • npm test -- src/config/__tests__/marketsTableExclusion.test.ts
  • Open Portfolio with Pool C/E LP positions — LP rows should not appear
  • Confirm WAD borrow on Pool C/E still appears in borrowed assets
  • Confirm health factor / totals still reflect on-chain global values

Made with Cursor

Apply the same Markets table exclusion rules to portfolio position lists
and market snapshots so Tinyman LP collateral on pools C and E no longer
appear in supplied/borrowed assets, while WAD borrow on those pools
stays visible.

Co-authored-by: Cursor <cursoragent@cursor.com>
@temptemp3 temptemp3 changed the base branch from next to beta June 4, 2026 00:18
@temptemp3 temptemp3 merged commit c22efed into beta Jun 4, 2026
2 checks passed
temptemp3 added a commit that referenced this pull request Jun 4, 2026
* Hide Pool C/E LP markets from portfolio page (#476)

Apply the same Markets table exclusion rules to portfolio position lists
and market snapshots so Tinyman LP collateral on pools C and E no longer
appear in supplied/borrowed assets, while WAD borrow on those pools
stays visible.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix pool LP lending withdraw and success screen UX (#477)

Wire pool-page withdraw like Portfolio with HF-safe max, collateral rows,
and real borrow state. Defer pool refresh until after the success modal
renders so LP congrats are not wiped by query invalidation. Show pair
icons and LP labels on success screens; enable supply/withdraw when
Tinyman snapshot is unavailable.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
@temptemp3 temptemp3 deleted the fix/portfolio-exclude-pool-c-e-markets branch June 4, 2026 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant