Skip to content

Commit 03c7211

Browse files
authored
Revert "Revert "fix: marinade tvl (DefiLlama#11306)" (DefiLlama#11308)" (DefiLlama#11309)
This reverts commit d17fba3.
1 parent 53b17ad commit 03c7211

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

projects/marinade.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ async function tvl() {
1010
account: {
1111
validatorSystem: { totalActiveBalance },
1212
availableReserveBalance,
13+
emergencyCoolingDown,
1314
},
1415
},] = await program.account.state.all()
16+
1517
const balances = {
16-
solana: (+totalActiveBalance + +availableReserveBalance) / 1e9
18+
solana: (+totalActiveBalance + +availableReserveBalance + +emergencyCoolingDown) / 1e9
1719
}
20+
1821
return sumTokens2({ balances, solOwners: ['UefNb6z6yvArqe4cJHTXCqStRsKmWhGxnZzuHbikP5Q'] }) // Liq Pool Sol Leg Pda
1922
}
2023

@@ -24,5 +27,5 @@ module.exports = {
2427
],
2528
timetravel: false,
2629
solana: { tvl },
27-
methodology: `We sum the amount of SOL staked, SOL in reserve address: Du3Ysj1wKbxPKkuPPnvzQLQh8oMSVifs3jGZjJWXFmHN and SOL in the Liquidity pool: UefNb6z6yvArqe4cJHTXCqStRsKmWhGxnZzuHbikP5Q`,
28-
}
30+
methodology: `We sum the amount of SOL staked, SOL in reserve address: Du3Ysj1wKbxPKkuPPnvzQLQh8oMSVifs3jGZjJWXFmHN, SOL in the Liquidity pool: UefNb6z6yvArqe4cJHTXCqStRsKmWhGxnZzuHbikP5Q, and the emergency cooling down balance.`,
31+
}

0 commit comments

Comments
 (0)