max_pnl_factor_key

Documentation for eth_defi.gmx.keys.max_pnl_factor_key function.

max_pnl_factor_key(pnl_factor_type, market, is_long)

Get maximum PNL factor key.

Parameters
  • pnl_factor_type (bytes) – PNL factor type (bytes32)

  • market (str) – Market address

  • is_long (bool) – Is long position

Returns

Keccak-256 hashed key

Return type

bytes