update contracts

This commit is contained in:
Michel Fromme
2023-06-26 17:08:20 +02:00
parent fdf96948a5
commit 524a5add62
7 changed files with 440 additions and 144 deletions
+4
View File
@@ -14,5 +14,9 @@ export const useMemeburnerStore = defineStore("memeburner", {
async getGoal(roundnumber) {
return await this.contract.methods.rounds(roundnumber).call();
},
//returns participated, amount achieved
async getSacrificedMeme(roundnumber, address) {
return await this.contract.methods.getSacrificedMeme(roundnumber, address).call();
},
},
});