The LendingLedger contract rewarded users based on weekly deposits but rounded down to the start of the week, so a user could deposit just before the week ended and withdraw immediately after, still receiving a full week's reward. An attacker could exploit this to claim rewards without providing liquidity for the required duration.
The checkpoint_market and checkpoint_lender functions lacked access control and allowed anyone to set the stored epoch to a past value, even zero. An attacker could call them with a zero timestamp to prevent future checkpoints from running, causing users' rewards to be lost and state updates to fail.
The IncreaseAmount function sets the lock end time to the current block timestamp plus the lock duration without rounding down to the nearest weekly increment, unlike other lock creation paths. This misalignment can cause the checkpoint logic to compute incorrect slopes, leading to wrong voting power and relative votes.
A gauge's weight can be decreased by governance, and later increased, leaving its slope at zero while bias is positive. When a user's voting power ends, subtracting the change from the zero slope causes an integer underflow, making all gauge functions revert permanently.
A check in the voting escrow contract requires that when delegating, the recipient's lock end must be at least as late as the sender's lock end. This means a user who delegated to someone with an earlier lock end cannot undelegate back to themselves without extending their own lock by five years, forcing them to remain delegated or accept a long unwanted lock extension.
The delegate mechanism in VotingEscrow allows a user to vote multiple times in GaugeController by delegating their voting power to another address and voting again. An attacker could inflate gauge weights and claim more tokens in LendingLedger.
When a new gauge is added, its time_weight entry is never initialised, so the weight-update loop never advances past old timestamps and votes cast before an admin manually sets an initial weight are recorded as zero. An attacker or ordinary user voting in that window loses their voting power until they remove and re-cast their vote.
A user who delegated their locked votes could not undelegate after their lock expired, because the undelegate function required the lock to still be active. This meant the user could not withdraw their tokens, effectively locking them forever.
A one-line arithmetic mistake in the gauge controller used the wrong variable as the floor in an underflow-protection calculation for the total bias. In edge cases where total voting power was near zero, this could cause an underflow that prevented a user from voting, though the error would generally recover over time.
The change_gauge_weight function sets a gauge's weight directly, so a user who had voted can remove their vote before the change and re-vote after, making the final weight higher than intended. This lets users gain extra voting power.
When governance removes a gauge, users who had voted for it cannot withdraw their voting power because the contract rejects votes for removed gauges. This permanently locks the voting power allocated to that gauge, preventing users from reallocating it to other gauges.
VE
veRWA
High
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.