Add base symbol to settle fees and settle pnl parsers.

This commit is contained in:
Nicholas Clarke 2021-12-22 10:13:49 -08:00
parent 3f6c14c111
commit ba9d8abaad
1 changed files with 3 additions and 0 deletions

View File

@ -619,6 +619,7 @@ function parseFillLog(
margin_account: mangoAccount,
settlement: settlement,
perp_market_name: perpMarketName,
base_symbol: perpMarket.baseSymbol,
instruction_num: instructionNum,
mango_group: mangoGroupPk,
block_datetime: blockDatetime,
@ -658,6 +659,7 @@ function parseFillLog(
margin_account: mangoAccountA,
settlement: settlementA,
perp_market_name: perpMarketName,
base_symbol: perpMarket.baseSymbol,
counterparty: mangoAccountB,
instruction_num: instructionNum,
@ -671,6 +673,7 @@ function parseFillLog(
margin_account: mangoAccountB,
settlement: settlementB,
perp_market_name: perpMarketName,
base_symbol: perpMarket.baseSymbol,
counterparty: mangoAccountA,
instruction_num: instructionNum,