From ba9d8abaad79fdf3c822d1f32287d7352400a3cb Mon Sep 17 00:00:00 2001 From: Nicholas Clarke Date: Wed, 22 Dec 2021 10:13:49 -0800 Subject: [PATCH] Add base symbol to settle fees and settle pnl parsers. --- src/anchorParsers.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/anchorParsers.ts b/src/anchorParsers.ts index ce70678..8f1dd34 100644 --- a/src/anchorParsers.ts +++ b/src/anchorParsers.ts @@ -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,