Copy updates dapp - #1039
Open
r-czajkowski wants to merge 9 commits into
Open
Conversation
Deposits must stop while funds are recovered ahead of the allocator vault upgrade. Reuses the `ArrivingSoonTooltip` pattern already used by the paused Withdraw button, and drops the TVL-cap condition that `DEPOSIT_CAP_ENABLED` left permanently unreachable.
Users need to know deposits are paused before they try to deposit. No app-wide notice component existed: `MobileModeBanner` replaces the whole page and `WithdrawalStatusBanner` is per-activity, so this adds a small banner styled to match the latter and renders it full-width above the balance card.
acreBTC earns Acre points only during the protocol upgrade, so the advertised 14% target APY is no longer accurate. Renames the card to `CurrentAPYCard` since it no longer shows a forward-looking estimate, and updates the duplicate figure reported to Ledger Live.
The daily drop cadence no longer reflects how points accrue during the upgrade, so the "Next drop in" countdown is misleading. Deletes `AcrePointsLabel` and trims the balance tooltips to drop the same claim. Balances still refresh on the existing poll interval, which the countdown's refetch callback was only supplementing.
The vault details modal needs to link to the acreBTC token page, which `createBlockExplorerLink` could not build. Adds a `token` case so `BlockExplorerLink` stays the single path for explorer URLs rather than hand-rolling one at the call site.
The vault no longer runs blended-yield strategies and Midas has replaced Re7 Labs as the party named for it, so the row is retitled, the column header becomes Infrastructure Provider, and net APY drops to 0% with the "(est.)" suffix removed since zero is not an estimate. Also drops the `details` field, which was computed per row but never read because the modal rebuilds it.
Describes what the vault actually does now: hold tBTC ahead of strategy deployment, redeemable on a ~72 hour cooldown. Names Midas as sole infrastructure provider, collapsing the separate risk manager row, and zeroes the APY figures that contradicted the 0% shown elsewhere. Transparency links are reduced to the three addresses that still matter -- available liquidity, the acreBTC token and the withdrawal queue -- and the modal footer no longer claims rewards auto-compound.
Drops the now-unused `BLOG` constant along with it.
✅ Deploy Preview for acre-dapp-v1 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for acre-dapp ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for acre-dapp-testnet ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
The Etherscan base URLs in `chains.ts` carry a trailing slash, so every Ethereum link rendered as `etherscan.io//address/...`. Browsers tolerate it, but the acreBTC and withdrawal queue links in the vault details modal are specified without it. Normalises the prefix in `createBlockExplorerLink` so all chains are handled the same way.
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.
Pauses deposits and brings dapp copy in line with the protocol upgrade.