Skip to content

Commit

Permalink
count under staking
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Sep 20, 2024
1 parent 68d06c5 commit 4e818df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions projects/tonstakers-token-staking/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ const getFullTVl = async (api) => {

const decimalPow = Math.pow(10, farm.decimals);
const balance = balanceRaw / decimalPow;
api.add("tether", balance * (prices[farm.token] || 0), { skipChain: true });
api.addUSDValue(balance * (prices[farm.token] || 0));
}
return api.getBalances();
};

module.exports = {
timetravel: false,
hallmarks: farms.map((farm) => [farm.launch, `${farm.name} token launch`]),
misrepresentedTokens: true,
ton: {
tvl: getFullTVl,
tvl: () => ({}),
staking: getFullTVl,
},
};

0 comments on commit 4e818df

Please sign in to comment.