Skip to content

Commit

Permalink
disable miaswap
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Apr 11, 2024
1 parent 778a9f3 commit 1ee7259
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dexs/miaswap/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { SimpleAdapter } from "../../adapters/types";
import { DISABLED_ADAPTER_KEY, SimpleAdapter } from "../../adapters/types";
import { CHAIN } from "../../helpers/chains";
import disabledAdapter from "../../helpers/disabledAdapter";
import { DEFAULT_TOTAL_VOLUME_FIELD, getGraphDimensions } from "../../helpers/getUniSubgraph";

const v3Endpoints = {
Expand Down Expand Up @@ -36,8 +37,9 @@ const v3Graphs = getGraphDimensions({
const adapter: SimpleAdapter = {
version: 2,
adapter: {
[DISABLED_ADAPTER_KEY]: disabledAdapter,
[CHAIN.ONUS]: {
fetch: v3Graphs(CHAIN.ONUS),
fetch: async (timestamp: number) => { return { timestamp } },
start: 1685577600,
},
},
Expand Down

0 comments on commit 1ee7259

Please sign in to comment.