Skip to content

Commit

Permalink
fix e3
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Feb 14, 2024
1 parent e055ee2 commit d4d22fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dexs/e3/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ChainBlocks, SimpleAdapter } from "../../adapters/types";
import { ChainBlocks, FetchOptions, SimpleAdapter } from "../../adapters/types";
import { CHAIN } from "../../helpers/chains";

const event_swap = 'event Swap(address indexed sender,address indexed to,uint24 id,bytes32 amountsIn,bytes32 amountsOut,uint24 volatilityAccumulator,bytes32 totalFees,bytes32 protocolFees)';
Expand All @@ -12,7 +12,7 @@ const ABIs: TABI = {
"getLBPairAtIndex": "function getLBPairAtIndex(uint256 index) view returns (address lbPair)"
}

const fetch: any = async (timestamp: number, _: ChainBlocks, { getLogs, api, createBalances }) => {
const fetch: any = async (timestamp: number, _: ChainBlocks, { getLogs, api, createBalances }: FetchOptions) => {
const dailyVolume = createBalances();
const lpTokens = await api.fetchList({ lengthAbi: ABIs.getNumberOfLBPairs, itemAbi: ABIs.getLBPairAtIndex, target: FACTORY_ADDRESS })

Expand Down

0 comments on commit d4d22fb

Please sign in to comment.