Assessment reportsPublic findings
Back to Zellic site
↗
Assessment reports>Suilend>Threat Model>Function deposit_ctokens
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 deposit_ctokens

The function takes a deposit of cTokens for the purposes of using as collateral. The user continues to earn interest on the deposited tokens.

Zellic © 2025Back to top ↑