Skip to content

This repository is a Uniswap V3 price changer project. It allows users to change the price of a token pair on the Uniswap V3 decentralized exchange.

Notifications You must be signed in to change notification settings

stevenpiao0822/Uniswap-v3-price-changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This repository is a Uniswap V3 price changer project. It allows users to change the price of a token pair on the Uniswap V3 decentralized exchange.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •