Payouts
Top 10
Top 25
Top 50
All
Sherlock
Code4rena
Jan '25
medium
leverage tokens can’t be redeemed when bondSupply = 0.
medium
reserve token amount will be less than expected when leverage tokens are redeemed because precision is multiplied after division in redeemRate calculation.
medium
if bond token holders account is blacklisted for usdc, then those accounts can’t claim usdc from distributor contract.
Dec '24
high
Treasury contract’s updateUsdaCollectedFromCdsWithdraw is not updated/increased when the function withdrawUserWhoNotOptedForLiq is called, as a result some usda will be out of the accounting mechanism(out of usdaCollectedFromCdsWithdraw).
high
optionfees from this chain(params.optionFees - params.optionsFeesToGetFromOtherChain) should be deducted from totalCdsDepositedAmountWithOptionFees but params.optionsFeesToGetFromOtherChain is deducted from totalCdsDepositedAmountWithOptionFees in the function withdrawUser.
high
lastEventTime is not updated in the function liquidate, so CumulativeRate will be bigger than expected.
high
when the function liquidationType1 is called,treasury’s abondUSDaPool is increased/updated but treasury’s usdaGainedFromLiquidation should be increased/updated.
medium
Protocol will get less interest from borrowers as CumulativeRate is updated after borrower withdrawal.
medium
when the liquidate function(function liquidationType1) is called vaultvalue(liquidated collateral value) is not decreased from omniChainData.vaultValue. As a result, the cds/borrow ratio will always be less than the real cds/borrow ratio.
medium
usdaCollectedFromCdsWithdraw will be stuck in the treasury contract.
medium
lastethprice is not updated function in deposit(borrowlib)/function depositTokens(borrowing).
medium
function withdrawUser can revert due to underflow when params.cdsDepositDetails.initialLiquidationAmount is subtracted from returnAmountWithGains
medium
omniChainData.cdsPoolValue is not decreased/updated in the function liquidationType1,as a result cds/ borrow ratio will be bigger than expected.
Sep '24
Aug '24
high
reserve.updateInterestRates is not done properly in the function executeRepay.
high
vars.debtReserveCache.nextDebtShares is updated incorrectly in the function _repayDebtTokens.
high
vars.baseCollateral/ vars.debtAmountNeeded/vars.collateralAmount calculations are incorrect in the function _calculateAvailableCollateralToLiquidate.
high
self.debtShares is not converted into amounts when repaying the debt amount .
high
DoS on liquidations when a reserve’s asset is borrowed/withdrawn fully in a pool.
medium
Nft position owner can’t disable an asset from ReserveAsCollateral.
medium
Repaid interest is not accounted properly between supplier(deposier) and reserve treasury.
Jul '24
Jun '24
Feb '24
medium
NFTs can be transferred even if StakeAtRisk remains, so the user's win cannot be recorded on the chain due to underflow, and can recover past losses that can't be recovered(steal protocol's token)
medium
DoS in `MergingPool::claimRewards` function and potential DoS in `RankedBattle::claimNRN` function if called after a significant amount of rounds passed.
Jan '24
Dec '23
Nov '23
Oct '23