aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/scrape_prices.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pipeline/src/scrape_prices.ts')
-rw-r--r--packages/pipeline/src/scrape_prices.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/packages/pipeline/src/scrape_prices.ts b/packages/pipeline/src/scrape_prices.ts
deleted file mode 100644
index c26062fac..000000000
--- a/packages/pipeline/src/scrape_prices.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { postgresClient } from './postgres.js';
-import { dataFetchingQueries } from './scripts/query_data.js';
-import { scrapeDataScripts } from './scripts/scrape_data.js';
-import { web3, zrx } from './zrx.js';
-const CUR_BLOCK_OFFSET = 20;
-postgresClient.query(dataFetchingQueries.get_most_recent_pricing_date, []).then((data: any) => {
- const curMaxScrapedDate = new Date(data.rows[0].max);
- const curDate = new Date();
- scrapeDataScripts.scrapeAllPricesToDB(curMaxScrapedDate.getTime(), curDate.getTime());
-});