$GMX issued an urgent notice on the X platform stating that $GMX V1 has been attacked, targeting all $GMX V1 fork projects. The following actions can be taken to reduce risk:
·Disable leverage function: You can call Vault.setIsLeverageEnabled(false) to close it; if Vault Timelock is used, call Timelock.setShouldToggleIsLeverageEnabled(false).
·Set the maxUsdgAmounts of all tokens to "1": Use Vault.setTokenConfig or Timelock.setTokenConfig to prevent further minting of GLP.
Please note that the value must be set to "1", not "0", because setting it to 0 means there is no upper limit, which will lead to the continued exploitation of the vulnerability. [Odaily Planet Daily]