diff --git a/src/adapter/index.ts b/src/adapter/index.ts index 0dda13c..29c4e06 100644 --- a/src/adapter/index.ts +++ b/src/adapter/index.ts @@ -11,11 +11,12 @@ interface ApiParameter { } async function tvl( - timestamp: number, - block: number, + _timestamp: number, + _block: number, _: unknown, { api }: ApiParameter, ): Promise { + const block = await api.getBlock(); // Pool TVL (Current token balances) const tokensAndOwners = await getPools(block, api);