Assessment reportsPublic findings
Back to Zellic site
↗
Assessment reports>Suilend>Threat Model>Function repay_liquidity
GeneralOverview
Findings
Medium (2)
DiscussionUse of APR in configurationLiquidate maximum percentage is weightedDesync between reserve and obligation interest
Threat ModelWhat are threat models?1-lending_market
3-reserveBasic functionFunction update_reserve_configFunction update_priceFunction compound_interestFunction claim_feesFunction deposit_liquidity_and_mint_ctokensFunction redeem_ctokensFunction borrow_liquidityFunction repay_liquidityFunction deposit_ctokensFunction withdraw_ctokens
4-obligation
Audit ResultsSummary

Function repay_liquidity

The function adds the given coins into the balance of the current reserve and performs appropriate accounting.

Zellic © 2025Back to top ↑