Skip to content

Commit

Permalink
add baes and xdia
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Nov 21, 2023
1 parent d1a914c commit f324c6b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dexs/contango/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ const endpoint: IEndpoint = {
[CHAIN.OPTIMISM]: "https://api.thegraph.com/subgraphs/name/contango-xyz/v2-optimism",
[CHAIN.ETHEREUM]: "https://api.thegraph.com/subgraphs/name/contango-xyz/v2-mainnet",
[CHAIN.POLYGON]: "https://api.thegraph.com/subgraphs/name/contango-xyz/v2-polygon",
[CHAIN.BASE]: "https://graph.contango.xyz:18000/subgraphs/name/contango-xyz/v2-base",
[CHAIN.XDAI]: "https://api.thegraph.com/subgraphs/name/contango-xyz/v2-gnosis",
}

interface IAssetTotals {
Expand Down Expand Up @@ -122,6 +124,14 @@ const adapter: SimpleAdapter = {
fetch: fetchVolume(CHAIN.POLYGON),
start: async () => 1696291200,
},
[CHAIN.BASE]: {
fetch: fetchVolume(CHAIN.BASE),
start: async () => 1696291200,
},
[CHAIN.XDAI]: {
fetch: fetchVolume(CHAIN.XDAI),
start: async () => 1696291200,
},
}
};
export default adapter;

0 comments on commit f324c6b

Please sign in to comment.