mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 16:53:02 +08:00
spookyswap typescript
This commit is contained in:
@@ -19,5 +19,10 @@ import uniswap from "./uniswap";
|
||||
import yieldfields from "./yieldfields";
|
||||
|
||||
export default {
|
||||
spookyswap,
|
||||
sushiswap,
|
||||
terraswap,
|
||||
traderjoe,
|
||||
uniswap,
|
||||
yieldfields,
|
||||
};
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import { DexVolumeAdapter } from "../dexVolume.type";
|
||||
|
||||
const { getChainVolume } = require("../helper/getUniSubgraphVolume");
|
||||
const { FANTOM } = require("../helper/chains");
|
||||
const endpoints = {
|
||||
@@ -10,7 +12,7 @@ const graphs = getChainVolume({
|
||||
},
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
const adapter: DexVolumeAdapter = {
|
||||
volume: {
|
||||
[FANTOM]: {
|
||||
fetch: graphs(FANTOM),
|
||||
@@ -18,3 +20,5 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default adapter;
|
||||
@@ -71,3 +71,5 @@ const adapter: DexVolumeAdapter = {
|
||||
// TODO custom backfill
|
||||
},
|
||||
};
|
||||
|
||||
export default adapter;
|
||||
|
||||
Reference in New Issue
Block a user