Skip to content

Commit

Permalink
fix: integrate contract query
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl committed Jun 26, 2024
1 parent e180c55 commit f7c06c1
Show file tree
Hide file tree
Showing 10 changed files with 2,349 additions and 58 deletions.
2 changes: 1 addition & 1 deletion adapters/layerbank/hourly_blocks.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
number,timestamp
4243360,1714773599
6881383,1714773599
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
number block_timestamp
4243360 1714773599
6897990 1719322991
4 changes: 3 additions & 1 deletion adapters/rhomarkets/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import { write } from "fast-csv";
import { getUserTVLByBlock, readBlocksFromCSV } from "./sdk";
import path from "path";

const filePath = path.join(process.cwd(), "blocks.csv");
const filePath = path.join(process.cwd(), "hourly_blocks.csv");

console.log("filePath ", filePath);

readBlocksFromCSV(filePath)
.then(async (blocks: any[]) => {
Expand Down
Loading

0 comments on commit f7c06c1

Please sign in to comment.