Skip to content

Add Pool E WAD LP markets and enable WAD/UNIT pool lending actions#414

Merged
temptemp3 merged 4 commits into
nextfrom
feat/pool-e-wad-lp-markets
Jun 3, 2026
Merged

Add Pool E WAD LP markets and enable WAD/UNIT pool lending actions#414
temptemp3 merged 4 commits into
nextfrom
feat/pool-e-wad-lp-markets

Conversation

@temptemp3
Copy link
Copy Markdown
Contributor

Summary

  • Register lending pool E (3585829377) for WAD-base Tinyman TMPOOL2 markets and add token configs for LP_TMPOOL2_WAD_ALGO, WAD_USDC, WAD_GOETH, and WAD_GOBTC
  • Include pool E in the mainnet lending pool list and add a Pool C/E grouping helper with documented pool tier labels (A–E)
  • Extend resolvePoolsPageLendingMarket so WAD LP markets (e.g. WAD/UNIT) show Supply/Withdraw on the Pools page, not only UNIT LP collateral pairs

Test plan

  • npm test -- src/constants/__tests__/liquidityPools.test.ts
  • Confirm WAD/UNIT pool card shows Supply/Withdraw when wallet holds LP or has supplied balance
  • Confirm WAD/ALGO, WAD/USDC, WAD/goBTC, and WAD/goETH pool cards resolve lending markets on Pool E
  • Confirm UNIT/ALGO and UNIT/goBTC pool cards still show Supply/Withdraw on Pool C
  • Verify pool E appears in lending pool contract list for mainnet config

Made with Cursor

temptemp3 and others added 4 commits June 1, 2026 17:44
Extend resolvePoolsPageLendingMarket to include WAD LP markets
(LP_TMPOOL2_WAD_*), not only UNIT LP collateral pairs. WAD/UNIT was
configured on Pool C but excluded by the UNIT-only gate, so Supply and
Withdraw never appeared on the pool card. Add unit tests for the resolver.

Co-authored-by: Cursor <cursoragent@cursor.com>
Register lending pool E (3585829377) for WAD-base TMPOOL2 markets and add
token configs for LP_TMPOOL2_WAD_ALGO, WAD_USDC, WAD_GOETH, and WAD_GOBTC.
Include pool E in the mainnet lending pool list, add a Pool C/E grouping
helper, and document pool tier labels (A–E).
Wire Pool E WAD borrow (3585829377 / nToken 3585972631) through
WAD_LP_LENDING_WAD_BORROW_MARKET so the WAD filter can show borrow/supply
against WAD LP collateral, mirroring UNIT → WAD on Pool C.

- Add tokens.WAD Pool E row and Pool E helpers (collateral ids, borrow ref,
  getPoolELendingPoolId)
- Map Pool E TMPOOL2 contracts in LENDING_POOL_BY_MARKET_CONTRACT; exclude
  Pool E from Markets table (WAD borrow remains visible)
- Pools page: WAD filter uses Pool E global summary and WAD lending panel;
  PoolsWadBorrowSection copy supports UNIT LP vs WAD LP collateral
- Extend unit tests for Pool E resolution and borrow market wiring
@temptemp3 temptemp3 merged commit f9f752f into next Jun 3, 2026
2 checks passed
@temptemp3 temptemp3 deleted the feat/pool-e-wad-lp-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