Lookonchain APP

App Store

GMX: Proposal to Disable Leverage and Limit Token Minting for GMX V1 Fork Project to Mitigate Risk

9 hours ago

On July 9th, GMX issued an emergency notice indicating that all GMX V1 forked projects have come under attack. In order to mitigate the risk, the following actions can be taken: · Disable the leverage feature: One can call Vault.setIsLeverageEnabled(false) to turn it off; if using Vault Timelock, then call Timelock.setShouldToggleIsLeverageEnabled(false). · Set the maxUsdgAmounts of all tokens to "1": Utilize Vault.setTokenConfig or Timelock.setTokenConfig to prevent the further minting of GLP. It should be noted that this value must be set to "1" and not "0". Setting it to 0 indicates no limit, which would instead lead to the continuous exploitability of the vulnerability.