update menu

This commit is contained in:
EmberSpirit
2023-08-14 18:34:12 +02:00
parent ceac2a1083
commit 7d33f225ce
13 changed files with 290 additions and 179 deletions
+4 -1
View File
@@ -44,6 +44,7 @@ export const useRoundsStore = defineStore("rounds", {
console.log("round not filled --> fill round");
console.log("vor error");
var data = await memeBurnerStore.getSacrificedRound(this.activeRound)
console.log("databla", data);
let rewardData = null;
if (walletStore.connected) {
rewardData = await rewardLockerStore.getRewardsForAllToken(this.activeRound);
@@ -82,7 +83,9 @@ export const useRoundsStore = defineStore("rounds", {
}
tokenArray.push(tokenData);
}
const goalInBLD = await memeBurnerStore.getGoalInBLD(this.activeRound);
const goalInBLD = await memeBurnerStore.getGoalInBLD(this.activeRound);
console.log("goalInBLD", goalInBLD);
console.log("tokenStore.memeToken.decimals", tokenStore.memeToken.decimals);
this.rounds[this.activeRound] = {
goal: goal[0],
goalInBLD: goalInBLD / BigInt(Math.pow(10, tokenStore.memeToken.decimals)),