This release aims to improve the resilience of the frontend by introducing RPC fallback routes when the subgraph is down. It also improves fee transparency across the frontend and introduces a number of bug fixes and smaller UX improvements.
Highlights
RPC Fallback for Subgraph Downtime
The frontend now falls back to direct RPC calls when the subgraph is unavailable, to increase frontend uptime for users. Learn more
Improved Fee Transparency
Loan opening fees are now displayed on the initial borrow screen and are applied to the frontend calculations.
Redemption fee application is now clearer and easier to understand on the Redeem screens.
Fork Farming Vaults
Forks Airdrop Farming Vaults links are now directly exposed in the dashboard.
Safety Mode Banner
A new banner alerts users when the protocol enters Safety Mode.
Accurate sBOLD APR
The frontend now displays the actual realized sBOLD APR instead of estimated values.
Configuration changes
New environment variables
The following environment variables have been added as configuration options when building the app. They each have reasonable default values, so no action is needed unless wanting to override the defaults.
NEXT_PUBLIC_AIRDROP_VAULTS
Enable a banner displaying Liquity Airdrop Vault links to users. The links appear on the homepage under the "Earn rewards with BOLD" card. Optional. Defaults to true.
# Example
NEXT_PUBLIC_AIRDROP_VAULTS=falseNEXT_PUBLIC_AIRDROP_VAULTS_URL
URL to fetch Liquity Airdrop Vaults information from (optional).
# Default
NEXT_PUBLIC_AIRDROP_VAULTS_URL=https://api.liquity.org/v2/airdrop-vaults/ethereum.jsonNEXT_PUBLIC_LEGACY_CHECK
Enable a banner warning users of remaining positions in Liquity V2 Legacy. Optional. Defaults to true.
# Example
NEXT_PUBLIC_LEGACY_CHECK=falseNEXT_PUBLIC_SAFETY_MODE_CHECK
Enable a banner warning users when one or more branches are in Safety Mode. Optional. Defaults to true.
# Example
NEXT_PUBLIC_SAFETY_MODE_CHECK=falseNEXT_PUBLIC_V1_STAKING_CHECK
Enable a banner warning users about any LQTY remaining staked in v1. Optional. Defaults to true.
# Example
NEXT_PUBLIC_V1_STAKING_CHECK=falseNEXT_PUBLIC_V1_STABILITY_POOL_CHECK
Enable a banner warning users about unclaimed LQTY in the V1 Stability Pool. Optional. Defaults to true.
# Example
NEXT_PUBLIC_V1_STABILITY_POOL_CHECK=falseAPI changes
Airdrop Vaults information
A new endpoint has been added to the API exposing the links of Airdrop Vaults: https://api.liquity.org/v2/airdrop-vaults/ethereum.json.
Currently, the following fields are included:
name: the Airdrop Vault name.link: the link to the Airdrop Vault.icon: the internal API link to the Airdrop Vault provider logo.
App changes
- Consider opening fee on initial borrow screen by @cyril-dfi in #1173
- Use actual realized sBOLD APR by @cyril-dfi in #1174
- Add Safety Mode banner by @cyril-dfi in #1184
- Show Fork Farming Vaults on UI by @cyril-dfi in #1186
- Make it clearer how redemption fee applies by @cyril-dfi in #1183
- Add new env variables for 1.10 in README by @cyril-dfi in #1187
- RPC Fallback when subgraph is down by @cyril-dfi in #1177
Full Changelog: https://github.com/liquity/bold/compare/@liquity2/app-v1.9.1...@liquity2/app-v1.10.0