GMXVault
contract: no check if the underlyingAsset of the lendingVault is the used token by the vault.
When GMXVault
is deployed;
for each one of the vault tokens: no check is made to ensure that the lendingVault underlyingAsset matches the token that's going to be used by the vault.
A redeployment of the vault will be needed if any of the lendingVaults is wrongly assigned, as the vault functions that interacts with the lendingVault will not work.
Manual Review.
Add the following checks in the constructor before assigning the lendingVaults:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.