Skip to content

Commit

Permalink
Merge pull request #131 from DegenYM/TeahouseFinance
Browse files Browse the repository at this point in the history
Teahouse: DEX : adding NILE vaults
  • Loading branch information
nitish-91 authored May 16, 2024
2 parents 551d3fa + a4cce99 commit 37373e0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion adapters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"license": "UNLICENSED",
"dependencies": {
"csv-parser": "^3.0.0",
"fast-csv": "^5.0.1"
"fast-csv": "^5.0.1",
"viem": "^2.9.20"
}
}
2 changes: 1 addition & 1 deletion adapters/teahouse/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const pipeline = promisify(stream.pipeline);

const getData = async () => {
const blocks = [
4174101
4368847
]; //await readBlocksFromCSV('src/sdk/mode_chain_daily_blocks.csv');

const csvRows: OutputDataSchemaRow[] = [];
Expand Down
2 changes: 1 addition & 1 deletion adapters/teahouse/src/sdk/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { createPublicClient, http } from "viem";
import { linea } from "viem/chains"

export const V3_SUBGRAPH_URL = "https://api.goldsky.com/api/public/project_clu5ow773st3501un98cv0861/subgraphs/TeavaultV3PairLinea-linea/1.0/gn";
export const V3_SUBGRAPH_URL = "https://api.goldsky.com/api/public/project_clu5ow773st3501un98cv0861/subgraphs/TeavaultV3PairLinea-linea/surge/gn";

export const client = createPublicClient({
chain: linea,
Expand Down
3 changes: 2 additions & 1 deletion adapters/teahouse/src/sdk/vaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ export const VAULT_ADDRESS = [
"0x07811284e36fDc45f65cd56FC7c6929855d6A0cc",
"0x73d9ccd3017b41e9b29f1e4a49d5468b52bd17c6",
"0x7d372Cc969211502D5C3a5721a85fc382f83bC8F",
"0x172Dba015dDfA642a3E3e0e8BaB040468D8D9879"
"0x172Dba015dDfA642a3E3e0e8BaB040468D8D9879",
"0x1adC5E10933b696FA5311DB5339F9a15E959e2B5"
];

0 comments on commit 37373e0

Please sign in to comment.