From 950d6eab26b6984b6b8a85fe25f771efa7867fb9 Mon Sep 17 00:00:00 2001 From: Mantas S Date: Mon, 1 Jul 2024 14:36:09 +0300 Subject: [PATCH] Update uniswapV3chain.ts --- src/util/calculators/uniswapV3chain.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/calculators/uniswapV3chain.ts b/src/util/calculators/uniswapV3chain.ts index 4d9daa5..7c04afb 100644 --- a/src/util/calculators/uniswapV3chain.ts +++ b/src/util/calculators/uniswapV3chain.ts @@ -84,11 +84,11 @@ async function getTvl( detail: `Error: tvl of ethereum/uniswapv3`, endpoint: 'tvl', }); - if (offset > 1000) { + if (offset > 3000) { offset -= 2000; - } else if (offset > 100) { + } else if (offset > 300) { offset -= 200; - } else if (offset > 10) { + } else if (offset > 30) { offset -= 20; } else { break;