GMX: It is recommended that the GMX V1 fork project disable leverage and limit token minting to prevent risks

This article is machine translated
Show original

On July 9, GMX released an emergency notice that GMX V1 has been attacked for all GMX V1 forked projects. The following actions can be taken to reduce risks:

· Disable leverage function: Call Vault.setIsLeverageEnabled(false) to turn it off; if Vault Timelock is used, call Timelock.setShouldToggleIsLeverageEnabled(false).

· Set maxUsdgAmounts for all tokens to "1": Use Vault.setTokenConfig or Timelock.setTokenConfig to prevent further GLP minting.

Please note that the value must be set to "1", not "0", because setting it to 0 indicates no limit and would instead allow the vulnerability to continue to be exploited.

Source
Disclaimer: The content above is only the author's opinion which does not represent any position of Followin, and is not intended as, and shall not be understood or construed as, investment advice from Followin.
Like
Add to Favorites
Comments