Skip to content

Commit

Permalink
fix error type
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Feb 8, 2024
1 parent 1c2477f commit ad169ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dexs/chronos-v2/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SimpleAdapter } from "../../adapters/types"
import { Fetch, SimpleAdapter } from "../../adapters/types"
import { CHAIN } from "../../helpers/chains"
import { getDexVolumeExportsV3 } from "../../helpers/dexVolumeLogs";

Expand All @@ -7,7 +7,7 @@ const poolFactoryAddress = '0x4Db9D624F67E00dbF8ef7AE0e0e8eE54aF1dee49';
const adapters: SimpleAdapter = {
adapter: {
[CHAIN.ARBITRUM]: {
fetch: getDexVolumeExportsV3({ factory: poolFactoryAddress, factoryFromBlock: 114041129, chain: CHAIN.ARBITRUM, }),
fetch: getDexVolumeExportsV3({ factory: poolFactoryAddress, factoryFromBlock: 114041129, chain: CHAIN.ARBITRUM, }) as Fetch,
start: 1690070400,
}
}
Expand Down
10 changes: 5 additions & 5 deletions dexs/thick/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SimpleAdapter } from "../../adapters/types";
import { Fetch, SimpleAdapter } from "../../adapters/types";
import { CHAIN } from "../../helpers/chains";
import { getDexVolumeExportsV3 } from "../../helpers/dexVolumeLogs";

Expand All @@ -14,21 +14,21 @@ const methodology = {
const adapters: SimpleAdapter = {
adapter: {
[CHAIN.FANTOM]: {
fetch: getDexVolumeExportsV3({ factory: poolFactoryAddress, factoryFromBlock: 70309749, chain: CHAIN.FANTOM, }),
fetch: getDexVolumeExportsV3({ factory: poolFactoryAddress, factoryFromBlock: 70309749, chain: CHAIN.FANTOM, }) as Fetch,
start: 1699300000,
meta: { methodology: { ...methodology, } },
},
[CHAIN.ARBITRUM]: {
fetch: getDexVolumeExportsV3({ factory: poolFactoryAddress, factoryFromBlock: 148243463, chain: CHAIN.ARBITRUM, }),
fetch: getDexVolumeExportsV3({ factory: poolFactoryAddress, factoryFromBlock: 148243463, chain: CHAIN.ARBITRUM, }) as Fetch,
start: 1699300000,
meta: { methodology: { ...methodology, } },
},
[CHAIN.BASE]: {
fetch: getDexVolumeExportsV3({ factory: poolFactoryAddress, factoryFromBlock: 6314325, chain: CHAIN.BASE, }),
fetch: getDexVolumeExportsV3({ factory: poolFactoryAddress, factoryFromBlock: 6314325, chain: CHAIN.BASE, }) as Fetch,
start: 1699300000,
meta: { methodology: { ...methodology, } },
}
}
}

export default adapters;
export default adapters;

0 comments on commit ad169ea

Please sign in to comment.