A hard-coded value, although, according to the documentation, it should be possible to select a value from a specified range.
governanceFee (protocol fee) is specified in the documentation from 1% to 20% (100-2000), and 500 (5%) is initialized by default. There is no direct restriction in the code, but in the documentation it is expected that the contract owner adheres to the declared.
Transparency of the protocol for the end user. There is a significant need to upgrade the contract every time in order to update the governanceFee.
Foundry unit tests.
For an additional guarantee, you can add this function:
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelihood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.