Skip to content

Commit

Permalink
fix breakdown
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Sep 22, 2024
1 parent 35d3a7d commit 28dd9db
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions dexs/pear-protocol/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { IExchangeTotalVolume } from "./../flowx-finance/index";
import { Adapter, BreakdownAdapter, FetchOptions } from "../../adapters/types";
import { SimpleAdapter } from "../../adapters/types";
import { CHAIN } from "../../helpers/chains";
import { httpGet } from "../../utils/fetchURL";

Expand All @@ -17,14 +16,12 @@ const fetch = async (timestamp: number) => {
};
};

const adapter: BreakdownAdapter = {
breakdown: {
derivatives: {
const adapter: SimpleAdapter = {
adapter: {
[CHAIN.ARBITRUM]: {
fetch: fetch,
start: 1715199684,
},
},
},
};

Expand Down

0 comments on commit 28dd9db

Please sign in to comment.