Skip to content

Commit

Permalink
modify TVL
Browse files Browse the repository at this point in the history
  • Loading branch information
EnzoPlayer0ne committed Jan 18, 2025
1 parent 2423fe5 commit 1da0fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adaptors/waterneuron/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async function fetchData() {
const icp_price = await fetchPrice();
const E8S = 100000000;

const tvl = Number(res.get("total_icp_deposited")) / E8S * icp_price || 0;
const tvl = Number(res.get("neuron_6m_tracked_stake") + res.get("neuron_8y_stake")) / E8S * icp_price || 0;

const apy = Number(res.get("apy")) * 100 || 0;

Expand Down

0 comments on commit 1da0fb6

Please sign in to comment.