get_pinned_contract_release

Documentation for eth_defi.gmx.contracts.get_pinned_contract_release function.

get_pinned_contract_release()

Resolve which GMX contract release address lookups should use.

Reads GMX_CONTRACT_RELEASE_ENV_VAR at call time so tests and operators can override the pin without reimporting the module.

Returns

Release key into PINNED_CONTRACTS, or GMX_CONTRACT_RELEASE_REMOTE for live resolution.

Return type

str