Skip to content

Commit bd0f65d

Browse files
author
Dan Hsu
authored
Add hasui from Navi (DefiLlama#11337)
* feature: update stapearl psm id * feature: add lst lp to tvl * feature: modified the function of getStakingLPAmount * feature: add navi sLP * feature: change id and remove console.log * feature: add scallop sLP * feature: add hasui from navi
1 parent 767ef6c commit bd0f65d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

projects/bucket-protocol/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ const scallop_sUSDC_LP_ID =
6868
const scallop_sUSDT_LP_ID =
6969
"0x6b68b42cbb4efccd9df30466c21fff3c090279992c005c45154bd1a0d87ac725";
7070

71+
const haSUI_Navi_Pond_ID = "0xef1ff1334c1757d8e841035090d34b17b7aa3d491a3cb611319209169617518e"
72+
7173
async function getStakingLPAmount(id) {
7274
const stakingLPObject = await sui.getObject(id);
7375
return stakingLPObject.fields.output_volume;
@@ -238,6 +240,12 @@ async function tvl(api) {
238240
snaviLPAmount
239241
);
240242

243+
const haSuiNaviPondAmount = await getStakingLPAmount(haSUI_Navi_Pond_ID);
244+
api.add(
245+
"0xbde4ba4c2e274a60ce15c1cfff9e5c42e41654ac8b6d906a57efa4bd3c29f47d::hasui::HASUI",
246+
haSuiNaviPondAmount
247+
);
248+
241249
const scallopUSDC_LPAmount = await getScallopsLPAmount(scallop_sUSDC_LP_ID);
242250
api.add(USDC, scallopUSDC_LPAmount);
243251

0 commit comments

Comments
 (0)