the gmxOracle
contract dependes on gmxReader (syntheticReader
) contract . and it's address marked as immutable
while the GMX team stated tha it can be changed in the future. if this happend the GMXOrcale
contract will be broken. and even the owner can't recover in this situation .since the gmxVault
doesn't have any function Or mechanism to change GMXOrcale
address.
the gmxOracle
contract dependes on gmxReader contract . it's address marked as immutable
while the GMX team stated that it can be changed in the future. you can see that here
in this case where the gmxReader
contract address change the gmxOracle
contract will be broken. since it's depends on it on the most important components of the protocol (Determine the value of GM
token , get market info ...ect)
also notice that even the owner can't update the gmxOracle
address in this situation .since the gmxVault
strategy doesn't have any function Or mechanism to update this address,
The whole functionality of the vaultStrategy
will be broken.
manual review
add a function that allow the owner to update the address of the gmxOracle
in case this happend.
Impact: High Likelihood: Low
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.