mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-04-29 13:25:30 +08:00
quickswap typescript
This commit is contained in:
@@ -20,6 +20,7 @@ import uniswap from "./uniswap";
|
||||
import yieldfields from "./yieldfields";
|
||||
|
||||
export default {
|
||||
quickswap,
|
||||
raydium,
|
||||
saros,
|
||||
serum,
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user