Skip to content

Commit

Permalink
fix: PairMint amount parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
tmrdlt committed Apr 4, 2024
1 parent 4168df5 commit 0d655e0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,13 @@ export class PairLiquidityInfoHistoryImporterV2Service {
};
case this.PAIR_MINT_EVENT_HASH:
// PairMint
// args: [_, _, amount0, amount1], data: empty
// args: [_, amount0, amount1], data: empty
return {
eventType: 'PairMint',
reserve0: null,
reserve1: null,
deltaReserve0: log.args[2],
deltaReserve1: log.args[3],
deltaReserve0: log.args[1],
deltaReserve1: log.args[2],
};
case this.PAIR_BURN_EVENT_HASH:
// PairBurn
Expand Down

0 comments on commit 0d655e0

Please sign in to comment.