Closed xxamxx closed 4 months ago
hey @xxamxx
does this remove inactive liquidity? (positions that are not in range)
@0xroll how define inactive liquidity"?
@xxamxx are there any pools with concentrated liquidity model in here?
@0xroll yes we have. have any problem with that?
@xxamxx yes, we need to remove inactive liquidity (for uniswap clmm they are identified as out of range)
@0xroll we have not this problem, we have a concentrated liquidity function, but not through the Tick structure but through algorithms.reading is more similar to AMM, and you can read it directly through base reserve and quote reserve.
@xxamxx can users provide liquidity that "does nothing?" (eg: adding weth liquidity priced at 10,000 usdc/weth)
@0xroll "does nothing" it's mean no swap? that's yes, we may have this liquidity and i can filter that.
@0xroll "does nothing" it's mean no swap? that's yes, we may have this liquidity and i can filter that.
using uniswap v3 as an example here.
if someone provides a liquidity that is out of range (eg, current ETH price is 3.5k but he priced it at 5k) , this liquidity is basicially not providing any EV, just sitting on the contract "doing nothing".
im not that familiar with how dodo works, if there is something similar to this then yes it should be removed
@0xroll i got it!we have not for that, please merge this pr.
@0xroll thank you
@xxamxx
hey, can you make sure those code are in there. those that in this checklist. you commented them out
Hello, I am interested in the concentrated liquidity pools protocol.
Title:
Checklist before requesting a review
index.ts file
[x] Contains function
[x] getUserTVLByBlock function takes input with this schema
[x] getUserTVLByBlock function returns output in this schema
[x] contains function
[x] has this code
Output data