The RAAC protocol allows for dynamic fee-type settings in the FeeCollector
contract. However, the current fee setting update function, incorrectly enforces the sum of all fee shares to be 100%
, making it impossible to set low fee shares for specific types.
If we look at how the fees are initially created, we can see that some fee types do not require a 100%
share total:
However, when these types need to be updated, the updateFeeType()
enforces all shares to sum up to BASIS_POINTS
, making it impossible to set lower fee shares:
Inability to create low-fee shares for specific fee types.
Manual review
Change the !=
comparison to >
, so that the total sum can't go over 100%
.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.