Skip to content

@liquity2/app-v1.10.0

Latest

Choose a tag to compare

@cyril-dfi cyril-dfi released this 16 Dec 06:19
· 4 commits to main since this release
eb92333

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

image

Improved Fee Transparency

Loan opening fees are now displayed on the initial borrow screen and are applied to the frontend calculations.

image

Redemption fee application is now clearer and easier to understand on the Redeem screens.

image

Fork Farming Vaults

Forks Airdrop Farming Vaults links are now directly exposed in the dashboard.

image

Safety Mode Banner

A new banner alerts users when the protocol enters Safety Mode.

image

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=false

NEXT_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.json

NEXT_PUBLIC_LEGACY_CHECK

Enable a banner warning users of remaining positions in Liquity V2 Legacy. Optional. Defaults to true.

# Example
NEXT_PUBLIC_LEGACY_CHECK=false

NEXT_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=false

NEXT_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=false

NEXT_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=false

API 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

Full Changelog: https://github.com/liquity/bold/compare/@liquity2/app-v1.9.1...@liquity2/app-v1.10.0