'immutable' greatly reduces gas costs. There are variables that do not change so they can be marked as immutable to greatly improve the gas costs. Examples of such variables are _name in BasePool _name, _vaderPool and _updatePeriod in TwapOracle, vader in XVader.
Handle
pauliax
Vulnerability details
Impact
'immutable' greatly reduces gas costs. There are variables that do not change so they can be marked as immutable to greatly improve the gas costs. Examples of such variables are _name in BasePool _name, _vaderPool and _updatePeriod in TwapOracle, vader in XVader.