duality-labs / hapi-indexer

A Node.js based indexer for the Duality Cosmos chain
1 stars 0 forks source link

fix: add Fee to liquidity DB data #52

Closed dib542 closed 10 months ago

dib542 commented 10 months ago

The liquidity reserve value being set from TickUpdate events is specific to the given index & fee: so it must be stored against this fee

Previously it was not, which would have been more of an issue if the PriceBot had been attempting to use multiple fees