From d1ba5a4b09d107a3994d9e8dedc3acb12ebe17a8 Mon Sep 17 00:00:00 2001 From: Deadshot Ryker <151393124+deadshotryker@users.noreply.github.com> Date: Mon, 12 Aug 2024 23:59:33 +0300 Subject: [PATCH] Update index.ts --- adapters/zerolend/src/index.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/adapters/zerolend/src/index.ts b/adapters/zerolend/src/index.ts index dcb38919..23a7b239 100644 --- a/adapters/zerolend/src/index.ts +++ b/adapters/zerolend/src/index.ts @@ -43,15 +43,15 @@ readBlocksFromCSV("hourly_blocks.csv") for (const block of blocks) { try { - // const resultTvl = await getUserTVLByBlock(block); - // for (let i = 0; i < resultTvl.length; i++) { - // allCsvRows.push(resultTvl[i]); - // } + const resultTvl = await getUserTVLByBlock(block); + for (let i = 0; i < resultTvl.length; i++) { + allCsvRows.push(resultTvl[i]); + } - // const resultStake = await getUserStakeByBlock(block); - // for (let i = 0; i < resultStake.length; i++) { - // allCsvRows.push(resultStake[i]); - // } + const resultStake = await getUserStakeByBlock(block); + for (let i = 0; i < resultStake.length; i++) { + allCsvRows.push(resultStake[i]); + } const resultLp = await getUserLPByBlock(block); for (let i = 0; i < resultLp.length; i++) {