update contracts
This commit is contained in:
+4
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user