Skip to content

Code4rena

Ramses Exchange

Every publicly disclosed report for Ramses Exchange and what kind of bugs they were.

disclosed reports
2
most reported class
Business logic
bug classes found
1
first disclosure
2024
Find Ramses Exchange on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Ramses Exchange chose to make public.

Business logic

Inflated GaugeV3 rewards when period is skipped

The GaugeV3 contract calculates rewards based on the seconds per liquidity within a period, but when a period is skipped, the [redacted] for the previous period is set too far in the future, inflating rewards for that period. An attacker could exploit this to claim more tokens than they should, at the expense of other users.

Ramses Exchange

Medium
Business logic

The fee for the protocol in the function RamsesV3Pool::flash() is not calculated correctly

The flash loan fee split in RamsesV3Pool::flash() divided the paid fee by the feeProtocol value instead of multiplying by a percentage, so the protocol received far less than its intended share. With the initial value of 80, the protocol got one-eightieth of the fee rather than 80 percent, leaking value away from the protocol.

Ramses Exchange

Medium