Bella-DeFinTech / uniswap-v3-simulator

the "Tuner", a Uniswap V3 Simulator
https://docs.bella.fi/
Other
144 stars 45 forks source link

Correct Tick object calling `update` method in `CorePool.updatePosition` #34

Closed kafeikui closed 3 years ago

kafeikui commented 3 years ago

A Tick model has its state and behavior(method), when init or update a tick we get or init the tick object itself according to tickLower / tickUpper from input and then call update method on it.