feat: USDT0 migration campaign — banner card + Merkl incentive badge (~10% APR)#1142
Merged
Conversation
Campaign: ~10% APR via Merkl for USDT0/RBTC LPs, rewards every 8h. Enables carousel rotation (autoPlay/showDots/infinite) now that there is more than one promo card. Spec: tyrone-work usdt0-rollout docs 2026-07-13-usdt0-campaign-frontend-spec.md
Circled gift icon (design-final SVG, #F57118) with hover/tap tooltip linking to the Merkl campaign page. Outer wrapper stops click propagation so the pools-table row does not expand on tap.
Adds campaign 10% APR on top of the pool's organic return rate for the USDT0/RBTC AMM pool only, identified by its exported pool token address. Covers desktop column and mobile row title (both render PoolsTableReturns).
|
✅ Deploy Preview for sovryn-dapp ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This reverts commit 4c12ef3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the USDT0 migration campaign frontend spec (2026-07-13, Shir): incentivized USDT→USDT0 migration on Rootstock, ~10% APR via Merkl, rewards every 8h, all USDT0/RBTC LPs eligible.
Changes
1. Landing-page banner card (
Banner.tsx)LandingPromoCardas the first carousel slide: "USDT0 MIGRATION: ~10% APR", CTA "Start migration" →/earn/market-making, orange border (mirrors the Zero card).autoPlay+showDots+infinite(15s interval already configured).2. Market Making — USDT0/RBTC incentive badge (
PoolsTableReturns.tsx)~10.NN%(campaign 10% + pool's organic rate). Pool identified by its pool token viaUSDT0_BTC_AMM_POOL_TOKEN(now exported fromMarketMakingPage.constants.ts).MerklIncentiveBadge: 16×16 circled-gift SVG (#F57118) +@sovryn/uiTooltip with campaign explainer and "View & claim on Merkl ↗" link (new tab). Tooltip stays open while hovered so the link is clickable; aprevent-row-click+ stopPropagation wrapper keeps taps/clicks from expanding the table row (incl. the mobile accordion, which has no prevent-class support).PoolsTableReturnscomponent.Campaign teardown is trivial: remove one carousel card, one conditional, and the
MerklIncentiveBadge/folder (holds the hardcoded Merkl URL + 10% addend, hardcoded per the 2026-07-13 call).Testing
~10.NN%+ icon (all other pools unchanged); tooltip opens on hover, stays open over content, link href/target/rel correct; badge click does not expand the row (control click on another row does); mobile viewport shows the boosted rate + icon.PortfolioPage/.../AmbientMarketMakingTotalValue(TS2339ammPools→never) is pre-existing ondevelop— reproduced with a pristine develop working tree.Remaining QA (manual)
HelperButtontooltips).EARN ~10% ON USDT0.🤖 Generated with Claude Code