Skip to content

feat(mobile): add the pools screen with add/remove liquidity - #545

Merged
Miracle656 merged 2 commits into
Miracle656:mainfrom
chizzy0011:feat/mobile-pools
Jul 29, 2026
Merged

feat(mobile): add the pools screen with add/remove liquidity#545
Miracle656 merged 2 commits into
Miracle656:mainfrom
chizzy0011:feat/mobile-pools

Conversation

@chizzy0011

Copy link
Copy Markdown
Contributor

What

Ports the web pools page to native (app/pools.tsx): list liquidity pools and manage positions.

Screen

  • Pool list — each pool shows the pair, APR, TVL, and fee, plus an "In position" badge when you hold LP shares.
  • Tapping a pool opens a bottom sheet with Add / Remove tabs:
    • Add liquidity — enter the first asset's amount; the second is derived proportionally from the pool reserves; submit gated on a positive amount.
    • Remove liquidity — enter a percentage of your position; the amounts you'd receive are computed from your pool ownership (yourShares / totalShares); gated on actually holding a position (otherwise shows an empty state).

Acceptance

pools listed; add/remove liquidity flows work.

✅ Pools list; both flows open, compute proportional amounts, and gate their submit.

Notes

  • Self-contained styling and RN Modal (the shared UI primitives / @gorhom sheets from sibling issues aren't in main yet); representative pool data pending AMM + wallet wiring.
  • The submit actions are gated UI — the on-chain deposit/withdraw calls land with wallet integration (a later issue).

Verification (local — no mobile CI job)

  • npm run typecheck ✅ · eslint app/pools.tsx ✅ clean.

Closes #476

Port the web pools page to native: list liquidity pools and manage
positions. Each pool shows APR, TVL and fee; tapping one opens a sheet with
Add / Remove tabs.

- Add: enter the first asset amount, the second is derived proportionally
  from the pool reserves; submit is gated on a positive amount.
- Remove: enter a percentage of your position; the amounts you receive are
  computed from your pool ownership; gated on holding a position.

Self-contained (shared UI primitives aren't in main yet); representative
pool data pending AMM/wallet wiring.

Closes Miracle656#476
@chizzy0011
chizzy0011 requested a review from Miracle656 as a code owner July 28, 2026 16:45
@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

@Chizzychi is attempting to deploy a commit to the miracle656's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@chizzy0011 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Miracle656

Copy link
Copy Markdown
Owner

Thanks @chizzy0011 — pools screen with add/remove liquidity. Closes #476. Merged main in cleanly; typecheck and the full suite are green.

@Miracle656
Miracle656 merged commit b55cc55 into Miracle656:main Jul 29, 2026
9 of 12 checks passed
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.

48. Pools screen

4 participants