Payouts
3rd Places
Top 10
Top 25
All
Code4rena
CodeHawks
Apr '24
Jan '24
Nov '23
Oct '23
Aug '23
Jul '23
medium
Single-step process for critical ownership transfer is risky
medium
Pragma non-specification can lead to non-functional / corrupted contract when deployed on Arbitrum
low
Zero address leads to transaction reverts
low
Amount != 0 checks are missing
low
Event Based Reentrancy due to CallBack Tokens
gas
Multiple accesses of a mapping/array should use a local variable cache.
gas
+= and -= are more expensive
gas
Uncheck Arithmetic where overflow/underflow impossible
gas
Use of magic numbers
gas
Named parameter mappings
gas
For the borrow(), repay() & startAuction() functions in Lender.sol the public visibility modifiers should be changed to external, to help optimize gas usage
gas
Use assembly to check for `address(0)`
gas
NatSpec documentation for function is missing
gas
Constants in comparisons should appear on the left side
gas
Floating pragma in all contracts
gas
Mixed usage of `int`/`uint` with `int256`/`uint256`
gas
Function ordering does not follow the Solidity style guide
gas
Use predefined address instead of `address(this)`
46.22 USDC • 6 total findings • CodeHawks • codeslide
#45
May '23
Apr '23
Mar '23