Submitted by TomFrenchBlockchain
All liquidity deployed to one of VaderPool or VaderPoolV2 will be locked permanently.
Both VaderRouter and VaderRouterV2 make calls to VaderReserve in order to pay out IL protection.
However VaderReserve only allows a single router to claim IL protection on behalf of users.
https://github.com/code-423n4/2021-11-vader/blob/3a43059e33d549f03b021d6b417b7eeba66cf62e/contracts/reserve/VaderReserve.sol#L80-L83
Its unlikely that the intent is to deploy multiple reserves so theres no way for both VaderRouter and VaderRouterV2 to pay out IL protection simultaneously.
This is a high severity issue as any LPs which are using the router which is not listed on VaderReserve will be unable to remove liquidity as the call to the reserve will revert. Vader governance is unable to update the allowed router on VaderReserve so all liquidity on either VaderPool or VaderPoolV2 will be locked permanently.
Options:
SamSteinGG (Vader) disputed:
alcueca (judge) commented:
SamSteinGG (Vader) commented:
