Skip to content

Commit 94c7b05

Browse files
committed
add missing chains to beefy
1 parent 2acf8db commit 94c7b05

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/adaptors/beefy/index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ const networkMapping = {
1919
122: 'fuse',
2020
56: 'binance',
2121
25: 'cronos',
22+
1284: 'moonbeam',
23+
42262: 'oasis',
24+
1313161554: 'aurora',
2225
};
2326

2427
// hardcode bifi token addresses per chain
@@ -36,6 +39,9 @@ const bifiMapping = {
3639
122: '0x2bF9b864cdc97b08B6D79ad4663e71B8aB65c45c',
3740
56: '0xCa3F508B8e4Dd382eE878A314789373D80A5190A',
3841
25: '0xe6801928061CDbE32AC5AD0634427E140EFd05F9',
42+
1284: '0x595c8481c48894771CE8FaDE54ac6Bf59093F9E8',
43+
42262: '0x65e66a61D0a8F1e686C2D6083ad611a10D84D97A',
44+
1313161554: '0x218c3c3D49d0E7B37aff0D8bB079de36Ae61A4c0',
3945
};
4046

4147
const main = async () => {
@@ -66,7 +72,7 @@ const main = async () => {
6672
project: 'beefy',
6773
symbol: utils.formatSymbol(pool.split('-').slice(1).join('-')),
6874
tvlUsd: poolData[pool],
69-
apy: poolMeta?.status == 'active' ? apy[pool] * 100: 0,
75+
apy: poolMeta?.status == 'active' ? apy[pool] * 100 : 0,
7076
poolMeta:
7177
platformId === undefined ? null : utils.formatChain(platformId),
7278
});

0 commit comments

Comments
 (0)