rounds implemented + over all improvements
This commit is contained in:
@@ -13,7 +13,7 @@ export const useMemeburnerStore = defineStore("memeburner", {
|
||||
async getCurrentRound() {
|
||||
return await this.contract.methods.currentRound().call();
|
||||
},
|
||||
async getGoal(roundnumber) {
|
||||
async getGoal (roundnumber) {
|
||||
return await this.contract.methods.rounds(roundnumber).call();
|
||||
},
|
||||
//returns participated, amount achieved
|
||||
@@ -21,6 +21,7 @@ export const useMemeburnerStore = defineStore("memeburner", {
|
||||
return await this.contract.methods.getSacrificedMeme(roundnumber, tokenAddress).call();
|
||||
},
|
||||
async getSacrificedRound(roundnumber) {
|
||||
console.log("getSacrificedRound", roundnumber);
|
||||
const tokenStore = useTokenStore();
|
||||
const calls = [];
|
||||
for (let index = 0; index < tokenStore.token.length; index++) {
|
||||
|
||||
Reference in New Issue
Block a user