feat(gf-16): protocol management pages (/allocations, /harvest, /governance)#71
Merged
wumibals merged 2 commits intoJun 26, 2026
Conversation
…rnance) - Add /allocations page with per-pool exposure table, colour-coded bar chart (green/amber/red vs 35% cap), and IL % highlighting for pools above the 2% threshold - Add /harvest page with live countdown timer (ledger-based cooldown), Harvest Now button enabled only when cooldown elapses, tx state feedback (pending/confirmed/failed), estimated bounty display, and last-20-harvests history table - Add /governance page with active proposal cards including timelock countdowns, a Veto button visible to all (enabled only for Guardian Multisig once wallet connect is wired), Execute button appearing after timelock elapses, and a full proposal history table with Executed/Vetoed status badges - Add useAllocations, useLastHarvest, useGovernance hooks (stub data, wired for GF-12 replacement) closes LadderMine#48
|
@Nimatstar is attempting to deploy a commit to the wumibals' projects Team on Vercel. A member of the Team first needs to authorize it. |
wumibals
approved these changes
Jun 26, 2026
9 tasks
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.
Summary
/allocations— Full pool allocation table sourced fromuseAllocations(). Each row shows pair, allocated USDC, strategy %, headroom vs 35% cap, a colour-coded exposure bar (green < 25%, amber 25–30%, red ≥ 30% with dashed cap line at 35%), 30d fee APY, and IL % (amber warning when IL > 2%)/harvest— Status card with last harvest timestamp, ledger number, live cooldown countdown (ticks every second viasetInterval), estimated harvestable yield, and estimated 10 bps bounty.Harvest Nowbutton is disabled until cooldown reaches zero; shows pending/confirmed/failed tx states. Full harvest history table (last 20 events) below/governance— Active proposals with live timelock countdowns (72h), Veto button (visible to all, disabled until Guardian Multisig wallet is connected), Execute button appearing after timelock elapses, and a history table with Executed/Vetoed status badgesuseAllocations,useLastHarvest,useGovernance) use stub data markedTODO(GF-12)for replacement once the data service layer ([GF-12] [FRONTEND] Data Service Layer (Soroban RPC hooks, price feeds, TVL/APY) #44) is mergedTest plan
/allocationsrenders pool table with 5 rows; XLM/USDC bar is the widest/harvestcooldown counter ticks down in real timeHarvest Nowbutton is disabled while cooldown > 0 and enabled when it reaches 0/governanceshows 2 active proposals with live countdown timerspnpm typecheckpasses with no errorscloses #48