Venus Protocol New Liquidation Interface

Published on: 23.01.2022

Venus will update its liquidation smart-contract interface to accomodate for the liquidation incentive change in accordance with the Venus V3 tokenomics.

The current 10% liquidation incentive will be split into two parts:

  • Half of the liquidation incentive along with the seized collateral will be sent to the liquidator. Thus, the liquidators will receive 105% of the liquidated borrow amount in collateral vTokens instead of the current 110%.
  • Another half of the liquidation incentive (5% of the liquidated borrow amount) will be sent to Venus treasury.

Venus will provide a new interface that accounts for this change: the Liquidator contract. Venus will have a grace period of 30 days, during which both the old interface and the new interface will be available. After the grace period, the Comptroller contract will be upgraded to block the liquidateBorrow requests originating from other senders.

Breaking changes:

  1. Instead of calling vToken.liquidateBorrow(...), liquidators will now have to call Liquidator.liquidateBorrow(...). The new interface is unified for BNB and BEP-20 tokens.
    1. For BEP20 borrows, liquidators will need to approve tokens to liquidator contract (instead of the corresponding vToken) before calling liquidateBorrow.
    2. For BNB borrows, liquidators will need to send the corresponding repayAmount of BNB along with the liquidateBorrow transaction.
  2. Instead of listening to the LiquidateBorrow event, indexers should now listen to the new LiquidateBorrowedTokens event. The previous event will still be emitted, but the information there will be incomplete.

The upgrade will happen in two phases:

  1. Venus will deploy a fully functional version of the Liquidator contract to BSC mainnet. Liquidators and indexers can start adapting their code immediately.
  2. Venus will disable the liquidateBorrow function of vBNB and vBep20 by adding a check that ensures msg.sender == comptroller.liquidatorContract().

Liquidators should not expect that the address of the liquidator contract will stay the same forever. The contract may be upgraded later without prior notice. The address of the liquidator contract will become available on chain after phase (2)

ABOUT Venus Protocol
Venus enables the world’s first decentralized stablecoin, VAI, built on Binance Smart Chain that is backed by a basket of stablecoins and crypto assets without centralized control.

RESOURCES
Venus Announcement

Market Stats:
BTC Dominance: 59.3%(-1.26%/24h)
ETH Dominance: 12.34%(+0.56%/24h)
Defi Market Cap: $91.92B(+28.00%/24h)
Total Market Cap: $3301.85B(+4.03%/24h)
Total Trading Volume 24h: $241.86B(+21.71%/24h)
ETH Market Cap: $407.55B
Defi to ETH Ratio: 22.55%
Defi Dominance: 2.67%
Altcoin Market Cap: $1344.01B
Altcoin Volume 24h: $146.3B
Total Cryptocurrencies: 32361
Active Cryptocurrencies: 10162
Active Market Pairs: 90718
Active Exchanges: 762
Total Exchanges: 9610
BTC: 98917.65$(-0.01%/1H)
ETH: 3379.75$(-0.21%/1H)
AVAX: 36.4$(0.05%/1H)
BNB: 632.37$(-0.54%/1H)
MATIC: 0.47$(-1.24%/1H)
FTM: 0.72$(0.02%/1H)
ADA: 0.88$(0.04%/1H)
DOT: 6.24$(0.55%/1H)
UNI: 9.37$(-0.44%/1H)
CAKE: 1.99$(0%/1H)
SUSHI: 0.8$(0.27%/1H)
ONE: 0.02$(1.66%/1H)