We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff5147a commit e61cca1Copy full SHA for e61cca1
projects/aegis-yusd/index.js
@@ -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
13
+ const supply = await api.call({ abi: 'erc20:totalSupply', target: YUSDbsc })
14
+ api.add(YUSDbsc, supply)
15
16
17
+}
0 commit comments