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 b9df5fc commit 0226d4eCopy full SHA for 0226d4e
projects/axlp/index.js
@@ -0,0 +1,16 @@
1
+const sAMLP_arbitrum = '0xbC08F30c18a79a3a18dBbd40931C551F91EDB9dB'
2
+const sAHLP_arbitrum = '0x50c30f24b957B1ac9e31558e55Bf7dc4ab685eA9'
3
+
4
+module.exports = {
5
+ methodology: 'counts the number of sAMLP and sAHLP tokens in the contract.',
6
+ arbitrum: {
7
+ tvl: async (api) => {
8
+ const [sAMLP_supply, sAHLP_supply] = await api.multiCall({
9
+ abi: 'erc20:totalSupply',
10
+ calls: [sAMLP_arbitrum, sAHLP_arbitrum]
11
+ })
12
+ api.add(sAMLP_arbitrum, sAMLP_supply)
13
+ api.add(sAHLP_arbitrum, sAHLP_supply)
14
+ }
15
16
+}
0 commit comments