osmosis-labs / osmojs

OsmosJS makes it easy to compose and broadcast Osmosis and Cosmos messages
https://cosmology.zone/products/osmojs
Apache License 2.0
63 stars 33 forks source link

Calculating impact for Concentrated Liquidity pools #81

Open ko0f opened 10 months ago

ko0f commented 10 months ago

It seems that @osmonauts/math doesn't support concentrated liquidity, and I couldn't find in module docs how to calculate impact.

Any pointer as for how to calculate impact for a CL pool?