As interest rates increase through use of the ThunderLoan protocol, and as liquidity providers redeem their deposited underlying tokens with gained interest; this will result in a solvency issue for the protocol and prevent some liquidity providers from redeeming their underlying tokens.
As AssetTokens gain interest, the AssetTokens will be redeemed for more underlying tokens than what was originally deposited. This will lead to a solvency issue in the protocol and result in liquidity providers holding worthless AssetTokens as there are no underlying assets for them to be redeemed for.
The below test passes with a "ERC20: transfer amount exceeds balance" error, which proves that as depositors redeem their underlying tokens, some will be left unable to redeem as no liquidity exists in the protocol.
-Foundry
It is suggested that a health factor system is put into place for the entire protocol based on the AssetToken's that are minted compared to the underlying token's deposited to ensure that the protocol does not become insolvent.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.