Skip to content

Commit

Permalink
remove stats import
Browse files Browse the repository at this point in the history
  • Loading branch information
ewansheldon committed Sep 19, 2023
1 parent 9d4beda commit 4e2a870
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const ethers = require('ethers');
const { createClient } = require('redis');
const { getContract, getERC20 } = require('./contractFactory');
const { getNetwork } = require('./networks');
const { getVaultAddresses } = require('./vaults');

const redisHost = process.env.REDIS_HOST || '127.0.0.1';
const redisPort = process.env.REDIS_PORT || '6379';
Expand All @@ -30,7 +29,7 @@ const indexStats = async _ => {
const provider = new ethers.getDefaultProvider(network.rpc);
const wallet = new ethers.Wallet(process.env.WALLET_PRIVATE_KEY, provider);
const tokens = await (await getContract(network.name, 'TokenManager')).connect(wallet).getAcceptedTokens();
const vaultAddresses = await getVaultAddresses(wallet, network);
const vaultAddresses = [];

const tvl = [];
for (let i = 0; i < tokens.length; i++) {
Expand Down

0 comments on commit 4e2a870

Please sign in to comment.