Hunt prep
Before you test OpenLeverage contest
What 6 disclosed reports say about OpenLeverage contest: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 4 | 0 | – | – | $0 |
| DoS lesson | 1 | 0 | – | – | $0 |
| Smart contracts lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
Missing payable
The function should be marked payable.
Disclosed
-
anti-flashloan mechanism may lead to protocol default
The sponsor decided not to fix it, but the report suggests using the TWAP price to determine position health instead of reverting.
Disclosed
-
OpenLevV1Lib’s and LPool’s doTransferOut functions call native payable.transfer , which can be unusable for smart contract calls
The transfer() calls should be replaced with a low-level call that forwards all available gas and checks the result, or with OpenZeppelin's Address.sendValue; the report notes the functions are nonReentrant so reentrancy is not a concern.
Disclosed
-
OpenLevV1.closeTrade with V3 DEX doesn’t correctly accounts fee on transfer tokens for repayments
The accounting and amounts returned to users should be controlled via balance before/after calculations for DEX V3 logic as well.
Disclosed
-
UniV2ClassDex.sol#uniClassSell() Tokens with fee on transfer are not fully supported
The function should measure the actual received amount by comparing the buyToken balance before and after the swap, and use that for the minimum amount check.
Disclosed