Open stalker474 opened 3 weeks ago
The linked value literal is repeated across the codebase multiple times.
uint256 to_sell = surplus.mul(TRADE_POSITIVE_EEFI_100 + TRADE_POSITIVE_OHM_100 + TRADE_POSITIVE_TREASURY_100).divDown(100);
We advise it to be set to a constant variable instead, optimizing the legibility of the codebase.
constant
In case the constant has already been declared, we advise it to be properly re-used across the code.
EVT-03C: Repetitive Value Literal
Description:
The linked value literal is repeated across the codebase multiple times.
Example:
Recommendation:
We advise it to be set to a
constant
variable instead, optimizing the legibility of the codebase.In case the
constant
has already been declared, we advise it to be properly re-used across the code.