Since there is no option to change the collateral asset of the vault once it is defined, consider defining _asset as immutable. This will save gas since gas-intensive SLOADs will no longer be required.
[G-2] Consider defining _debtAsset as immutable inside BorrowingVault.sol
Since there is no option to change the debt asset of the vault once it is defined, consider defining _debtAsset as immutable. This will save gas since gas-intensive SLOADs will no longer be required.
The following issues were lumped into one, due to similarity.
[G-1] Consider defining _asset as immutable inside BaseVault.sol
Description
Since there is no option to change the collateral asset of the vault once it is defined, consider defining _asset as immutable. This will save gas since gas-intensive SLOADs will no longer be required.
[G-2] Consider defining _debtAsset as immutable inside BorrowingVault.sol
Description
Since there is no option to change the debt asset of the vault once it is defined, consider defining
_debtAsset
as immutable. This will save gas since gas-intensiveSLOADs
will no longer be required.