Closed code423n4 closed 2 years ago
First safe slot is filled by blank safe in Master construction. Acknowledging other issues
Agree with sponsor safe0 has a different meaning and it's not supposed to be used.
Rest is not bad.
Because of the first finding, which is duplicate of #29 am bumping this to Medium severity
Lower max fee percentage
Currently fees can be set as high as 100%, may consider a lower max fee to reduce rug risk
First TurboSafe is unusable
The id of first TurboSafe is 0 (
id = safes.length - 1 = 1 - 1 = 0
), which is invalid.effective custom fee cannot be set to 0
It is impossible to set effective custom fee to becuase it is only used if customFeePercentageForSafe != 0 https://github.com/code-423n4/2022-02-tribe-turbo/blob/66f27fe51083f49f7935e3fe594ab2380b75dee8/src/modules/TurboClerk.sol#L111