GMX_DEFAULT_CONTRACT_RELEASE

Documentation for eth_defi.gmx.contracts.GMX_DEFAULT_CONTRACT_RELEASE data.

GMX_DEFAULT_CONTRACT_RELEASE = 'v2.2c'

Default GMX contract release used to resolve addresses.

Address resolution is pinned rather than fetched live. GMX publishes new deployments to the updates branch of gmx-io/gmx-synthetics; resolving against that branch on every call means the ExchangeRouter a bot trades through can change because of an upstream git push, or flip back to the previous deployment when GitHub returns HTTP 429. Both happened in production and caused every order to revert with Target not allowed against a Lagoon vault guard whose allowlist still held the older router.