Skip to content

Commit

Permalink
update rhomarkets with latest lending schema
Browse files Browse the repository at this point in the history
  • Loading branch information
melotik authored and Carl committed Jul 3, 2024
1 parent 0c1cfd0 commit 6078453
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adapters/rhomarkets/hourly_blocks.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
number,block_timestamp
number,timestamp
7043812,1719856798
3 changes: 2 additions & 1 deletion adapters/rhomarkets/src/sdk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export const getUserTVLByBlock = async (blocks: BlockData) => {
(x.borrow_token > 0 || x.supply_token > 0) && x.market && x.user_address
);


const csvRows: OutputDataSchemaRow[] = newStates.map((item) => {
const marketInfo = marketsMapping[item.market];
return {
Expand Down Expand Up @@ -163,4 +164,4 @@ export const readBlocksFromCSV = async (
});

return blocks;
};
};

0 comments on commit 6078453

Please sign in to comment.