EGmxCallback
Last updated
GMX v2 order-execution callback extension. Records claimable collateral rebates and tracked markets in pool storage so NAV remains accurate after full closes, liquidations, and ADL.
Runs as an extension (always delegatecalled). Only GMX controller contracts may invoke the callback handler.
error NotGmxController()error InvalidCallbackAccount()error NotArbitrum()constructor() publicmodifier onlyGmxController()Called by GMX after an order affecting this pool is executed.
bytes32
orderData
struct EventUtils.EventLogData
Event log data describing the order.
struct EventUtils.EventLogData
Last updated
function afterOrderExecution(bytes32, struct EventUtils.EventLogData orderData, struct EventUtils.EventLogData) external