feat: Uniswap V3 1bps pools [TKR-263] (#366)

* feat: Uniswap V3 1bps pools

* Update CHANGELOG
This commit is contained in:
Jacob Evans
2021-11-16 08:15:24 +10:00
committed by GitHub
parent 4b3d98f43c
commit 797a00a33a
2 changed files with 11 additions and 1 deletions

View File

@@ -1,4 +1,13 @@
[ [
{
"version": "16.33.0",
"changes": [
{
"note": "Add support for Uniswap V3 1 bps pools",
"pr": 366
}
]
},
{ {
"version": "16.32.0", "version": "16.32.0",
"changes": [ "changes": [

View File

@@ -174,8 +174,9 @@ contract UniswapV3Sampler
tokenPath.length - startIndex >= 2, tokenPath.length - startIndex >= 2,
"UniswapV3Sampler/tokenPath too short" "UniswapV3Sampler/tokenPath too short"
); );
uint24[3] memory validPoolFees = [ uint24[4] memory validPoolFees = [
// The launch pool fees. Could get hairier if they add more. // The launch pool fees. Could get hairier if they add more.
uint24(0.0001e6),
uint24(0.0005e6), uint24(0.0005e6),
uint24(0.003e6), uint24(0.003e6),
uint24(0.01e6) uint24(0.01e6)