collateral_sum_key

Documentation for eth_defi.gmx.keys.collateral_sum_key function.

collateral_sum_key(market, collateral_token, is_long)

Get collateral sum key.

Parameters
  • market (str) – Market address

  • collateral_token (str) – Collateral token address

  • is_long (bool) – Is long position

Returns

Keccak-256 hashed key

Return type

bytes