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 -2
View File
@@ -42,6 +42,7 @@ function isMobileFunc() {
provide("isMobile", isMobile);
onMounted(async () => {
//more or less tests
var test = await walletStore.isConnected();
console.log("test", test);
@@ -60,11 +61,12 @@ onMounted(async () => {
);
var getGoal = await memeBurnerStore.getGoal(2);
var getSacrificedMeme = await memeBurnerStore.getSacrificedMeme(1, "0x60dd9D0e015115b9aEf61bEDCcBE1390CEEfC247");
console.log("getSacrificedMeme", getSacrificedMeme);
console.log("getGoal", getGoal);
console.log("memeBurnerStore.contract", memeBurnerStore.contract);
console.log("list", list.value);
const currentRound = await contract.methods.currentRound().call();
const currentRound = await memeBurnerStore.getCurrentRound();
const rounds = await contract.methods.rounds("0x0e349D42C125acA39ea58024FFC23ED0fE5feE32").call();
console.log("currentRound", currentRound);
console.log("rounds", rounds);