Open hrmneffdii opened 1 month ago
Severity : Informational
State variables that is Vault:owner, it is not updated following functionality or after deployment. It should be declared as immutable variable to save more gas.
Vault:owner
immutable
Add the immutable syntax to the variable Vault:owner
- address public owner; + address public immutable i_owner; . . . constructor(address _owner){ - owner = _owner; + i_owner = _owner; }
Informational.
Severity : Informational
Description
State variables that is
Vault:owner
, it is not updated following functionality or after deployment. It should be declared asimmutable
variable to save more gas.Recommendation
Add the
immutable
syntax to the variableVault:owner