Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (18 loc) · 1.18 KB

017.md

File metadata and controls

24 lines (18 loc) · 1.18 KB

rvierdiiev

medium

In case if market is delisted then suppliers can't redeem their ibToken

Summary

In case if market is delisted then suppliers can't redeem their ibToken

Vulnerability Detail

IronBank.delistMarket function will mark market as not active and remove the state of market. Protocol team said:

The delistMarket function will be called after the market has been paused and the collateral factor has been set to zero by the governance. The Iron Bank team will assess the impact on the remaining suppliers of the market when the collateral factor is set to zero. If the total borrow amount is relatively low, we will cover all debts using our protocol reserves.

In case if delistMarket will be called on market, where totalSupply is not 0, then it will be not possible for holders to redeem their shares.

Impact

Stake holders will not be able to redeem.

Code Snippet

Provided above

Tool used

Manual Review

Recommendation

Think how they can redeem in such case.