Timeline for How to calculate virtual (50/50 & x*y=k) reserves of UniSwap V3 Pair?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 23, 2022 at 15:11 | comment | added | Chenky | tick_A = -70290 & tick_B = 70290 . Pa = 1.0001 ^ tick_A = 1.0001 ^ (-70290) = 0.0008861285 Pb = 1.0001 ^ tick_B = 1.0001 ^ 70290 = 1128.50448824 | |
Nov 23, 2022 at 15:09 | comment | added | Chenky | About the Pa & Pb: slot(0) sqrtPriceX96 uint160 : 2358490336287291322714092334 tick int24 : -70290 observationIndex uint16 : 29 observationCardinality uint16 : 180 observationCardinalityNext uint16 : 180 feeProtocol uint8 : 0 unlocked bool : true | |
Nov 23, 2022 at 15:07 | comment | added | Chenky | Hi! {x_virtual = x_real + L / sqrt(P_b) y_virtual = y_real + L * sqrt(P_a)} seems to be incorrect | |
Nov 22, 2022 at 15:13 | history | answered | kfx | CC BY-SA 4.0 |