0xKitsune/uniswap-v3-math

Calculate readable price from sqrt_ratio_x96 or tick.

KuTuGu opened this issue · 2 comments

Is there any consideration for supporting human readable price format?

Implementation of JS

Hey, thank you for opening up an issue! Sounds like a nice feature. We would like to keep uniswap_v3_math to have parity with the v3 math lib in solidity. Definitely open an issue for this on cfmms-rs. I think this would be a useful feature in this library!

Yeah, got it. I took a look and saw that it is already implemented here. Thanks for reply.