Skip to content

Commit

Permalink
Revert "Revert "fix: marinade tvl (DefiLlama#11306)" (DefiLlama#11308)…
Browse files Browse the repository at this point in the history
…" (DefiLlama#11309)

This reverts commit d17fba3.
  • Loading branch information
g1nt0ki authored and 0xIvan committed Sep 11, 2024
1 parent ab46944 commit ae54d0e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions projects/marinade.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ async function tvl() {
account: {
validatorSystem: { totalActiveBalance },
availableReserveBalance,
emergencyCoolingDown,
},
},] = await program.account.state.all()

const balances = {
solana: (+totalActiveBalance + +availableReserveBalance) / 1e9
solana: (+totalActiveBalance + +availableReserveBalance + +emergencyCoolingDown) / 1e9
}

return sumTokens2({ balances, solOwners: ['UefNb6z6yvArqe4cJHTXCqStRsKmWhGxnZzuHbikP5Q'] }) // Liq Pool Sol Leg Pda
}

Expand All @@ -24,5 +27,5 @@ module.exports = {
],
timetravel: false,
solana: { tvl },
methodology: `We sum the amount of SOL staked, SOL in reserve address: Du3Ysj1wKbxPKkuPPnvzQLQh8oMSVifs3jGZjJWXFmHN and SOL in the Liquidity pool: UefNb6z6yvArqe4cJHTXCqStRsKmWhGxnZzuHbikP5Q`,
}
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.`,
}

0 comments on commit ae54d0e

Please sign in to comment.