Omniscia BlazeSwap Audit

BlazeSwapBaseManager Code Style Findings

BlazeSwapBaseManager Code Style Findings

BBM-01C: Variable Mutability Specifier (Immutable)

Description:

The linked variable is assigned to only once during the contract's constructor.

Example:

contracts/core/BlazeSwapBaseManager.sol
18constructor(address _configSetter, address _mathContext) {
19 initConfigurable(_configSetter);
20 mathContext = IBlazeSwapMath(_mathContext);
21}

Recommendation:

We advise it to be set as immutable greatly optimizing its read-access gas cost.

Alleviation:

The variable has been set as immutable according to our recommendation.