Skip to content

Commit 781726a

Browse files
committed
Remove deprecated product
1 parent e4c6be9 commit 781726a

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

src/adaptors/maia-dao/index.ts

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,4 @@
1-
const utils = require('../utils');
2-
3-
const API_URL: string = 'http://api.maiadao.io:9090/maia-apr';
4-
const MAIA: string = "0x72c232D56542Ba082592DEE7C77b1C6CFA758BCD";
5-
const sMAIA: string = "0xD7a586CE5250bEfaB2cc2239F7226B9602536E6A";
6-
7-
const getApy = async () => {
8-
const res = await utils.getData(API_URL);
9-
10-
const pool = [{
11-
pool: sMAIA,
12-
chain: utils.formatChain('metis'),
13-
project: 'maia-dao',
14-
symbol: 'MAIA',
15-
tvlUsd: res.tvl,
16-
apyReward: res.currentAPR,
17-
underlyingTokens: [MAIA],
18-
rewardTokens: [res.rewards['0'].token.address, res.rewards['1'].token.address, res.rewards['2'].token.address],
19-
}];
20-
21-
return pool;
22-
};
23-
241
module.exports = {
252
timetravel: false,
26-
apy: getApy,
27-
url: 'https://app.maiadao.io/#/stake',
3+
apy: () => ({}),
284
};

0 commit comments

Comments
 (0)