GmxAdapterLib
Overview
License: Apache-2.0-or-later
library GmxAdapterLibErrors info
MaxGmxPositionsReached
error MaxGmxPositionsReached()GmxRouterNotAuthorized
error GmxRouterNotAuthorized()Functions info
assertRouterAuthorized
function assertRouterAuthorized() internal viewReverts if the GMX ExchangeRouter lost the CONTROLLER role (e.g. after a GMX contract rotation), which would make order writes and claims revert downstream.
computeExecutionFee
getMarketTokens
getMarketIndexToken
isIndexTokenPriced
assertPositionLimitNotReached
isMarketActive
hasClaimableFundingFees
claimableCollateralAmount
Last updated