sherlock-audit / 2024-06-new-scope-judging

1 stars 1 forks source link

Deep Seaweed Haddock - _poolAssetList in NFTPositionManagerStorage.sol no use. #524

Closed sherlock-admin4 closed 2 months ago

sherlock-admin4 commented 2 months ago

Deep Seaweed Haddock

Low/Info

_poolAssetList in NFTPositionManagerStorage.sol no use.

Summary

There are no places apply _poolAssetList in NFTPositionManagerStorage.so:47 https://github.com/sherlock-audit/2024-06-new-scope/blob/main/zerolend-one/contracts/core/positions/NFTPositionManagerStorage.sol#L47C54-L47C68

Vulnerability Detail

Impact

Code Snippet

Tool used

Manual Review

Recommendation

It seems to use a zerolend token as a reward token. so don't need the data type mapping(address pool => address[] assets) internal _poolAssetList;