Skip to content

Commit e226e9e

Browse files
mummyguymummyguy0xpeluche
authored
Add navigator.exchange (DefiLlama#13033)
Co-authored-by: mummyguy <[email protected]> Co-authored-by: 0xpeluche <[email protected]>
1 parent c2be0f4 commit e226e9e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

projects/navigator/index.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
const { staking } = require("../helper/staking");
2+
const { gmxExports } = require("../helper/gmx");
3+
const { sumTokens2 } = require("../helper/unwrapLPs");
4+
5+
// sonic
6+
const sonicVault = "0xe9263682E837eFabb145f8C632B9d2c518D90652";
7+
const sonicStaking = "0xEF8770E9506a8D1aAE3D599327a39Cf14B6B3dc4";
8+
const sonicNAVI = "0x6881B80ea7C858E4aEEf63893e18a8A36f3682f3";
9+
10+
// sonicV2
11+
const sonicV2Vault = "0x41cD8CaFc24A771031B9eB9C57cFC94D86045eB6";
12+
const sonicV2Assets = ["0x29219dd400f2bf60e5a23d13be72b486d4038894"]
13+
14+
const tvl = async (api) => {
15+
await Promise.all([
16+
gmxExports({ vault: sonicVault })(api),
17+
sumTokens2({ api, tokens: sonicV2Assets, owner: sonicV2Vault })])
18+
};
19+
20+
module.exports = {
21+
sonic: {
22+
tvl,
23+
staking: staking(sonicStaking, sonicNAVI)
24+
}
25+
}

0 commit comments

Comments
 (0)