You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
contract ATokenYieldSource aToken, lendingPoolAddressesProviderRegistry.
contract IdleYieldSource idleToken, underlyingAsset.
contract YearnV2YieldSource vault, token.
contract ControlledToken controller.
Recommended Mitigation Steps
Mark such variables with the 'immutable' keyword.
The text was updated successfully, but these errors were encountered:
Handle
pauliax
Vulnerability details
Impact
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:
contract ATokenYieldSource aToken, lendingPoolAddressesProviderRegistry.
contract IdleYieldSource idleToken, underlyingAsset.
contract YearnV2YieldSource vault, token.
contract ControlledToken controller.
Recommended Mitigation Steps
Mark such variables with the 'immutable' keyword.
The text was updated successfully, but these errors were encountered: