quickswap typescript

This commit is contained in:
shinitakunai
2022-03-01 22:56:05 -08:00
parent 65ecc8c663
commit a8b529b694
2 changed files with 6 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ import uniswap from "./uniswap";
import yieldfields from "./yieldfields";
export default {
quickswap,
raydium,
saros,
serum,

View File

@@ -1,3 +1,5 @@
import { DexVolumeAdapter } from "../dexVolume.type";
const { getChainVolume } = require("../helper/getUniSubgraphVolume");
const endpoints = {
@@ -10,7 +12,7 @@ const graphs = getChainVolume({
},
});
module.exports = {
const adapter: DexVolumeAdapter = {
volume: {
polygon: {
fetch: graphs("polygon"),
@@ -18,3 +20,5 @@ module.exports = {
},
},
};
export default adapter;