Skip to content

Commit e61cca1

Browse files
authored
Add Aegis.im (DefiLlama#14201)
1 parent ff5147a commit e61cca1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

projects/aegis-yusd/index.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
const YUSDeth = '0x4274cD7277C7bb0806Bd5FE84b9aDAE466a8DA0a'
2+
const YUSDbsc = '0xAB3dBcD9B096C3fF76275038bf58eAC10D22C61f'
3+
4+
module.exports = {
5+
ethereum: {
6+
tvl: async (api) => {
7+
const supply = await api.call({ abi: 'erc20:totalSupply', target: YUSDeth })
8+
api.add(YUSDeth, supply)
9+
},
10+
},
11+
bsc: {
12+
tvl: async (api) => {
13+
const supply = await api.call({ abi: 'erc20:totalSupply', target: YUSDbsc })
14+
api.add(YUSDbsc, supply)
15+
},
16+
},
17+
}

0 commit comments

Comments
 (0)