diff --git a/src/adaptors/compx/index.js b/src/adaptors/compx-yield/index.js similarity index 70% rename from src/adaptors/compx/index.js rename to src/adaptors/compx-yield/index.js index 3049db6419..86f1c40433 100644 --- a/src/adaptors/compx/index.js +++ b/src/adaptors/compx-yield/index.js @@ -1,9 +1,11 @@ const utils = require('../utils'); const poolsFunction = async () => { - return await utils.getData( + const pools = await utils.getData( 'https://api-general.compx.io/api/defillama/yield-farms' ); + + return pools.map((i) => ({ ...i, project: 'compx-yield' })); }; module.exports = {