remove_gmx_markets
Documentation for eth_defi.gmx.whitelist.remove_gmx_markets function.
- remove_gmx_markets(guard, markets, owner, notes_prefix='Remove GMX market')
Remove GMX markets from Guard whitelist.
This function removes each market individually by calling
removeGMXMarket()on the Guard contract.- Parameters
guard (web3.contract.contract.Contract) – Guard contract instance (GuardV0).
markets (list[eth_typing.evm.HexAddress]) – List of GMX market addresses to remove.
owner (eth_typing.evm.HexAddress) – Address of the Guard owner (must have permission).
notes_prefix (str) – Prefix for the notes string in each remove call.
- Returns
List of transaction hashes for each remove operation.
- Return type
list[hexbytes.main.HexBytes]