GMXRouterNotWhitelisted
Documentation for eth_defi.gmx.whitelist.GMXRouterNotWhitelisted exception.
- exception GMXRouterNotWhitelisted
Bases:
ExceptionThe GMX ExchangeRouter we would trade through is not allowed by the Guard.
Raised by
assert_gmx_router_whitelisted(). Every order created through this router would revert on-chain withTarget not allowed, so this is a fatal startup condition rather than a per-order error.- __init__(*args, **kwargs)
- __new__(**kwargs)
- add_note(note, /)
Add a note to the exception
- with_traceback(tb, /)
Set self.__traceback__ to tb and return self.