Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 485 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 485 Bytes

Uniswap V3 Pool Price Update Experiment

This project experiments how to change exchange rate of given Uniswap v3 pool to target rate.

In the experiment, 2 mock tokens are deployed and a new pool is created for the 2 tokens.

Pool's initial rate is 1. (1 Token1 = 1 Token0)

Liquidity is added in several random tick ranges.

There are 2 test cases - one for changing rate to 1.5, one for chainging rate to 0.66.

Execute below command to run tests.

npx hardhat test