update new contracts
This commit is contained in:
@@ -74,7 +74,7 @@ export const useRewardLockerStore = defineStore("rewardlocker", {
|
||||
console.log("acocunt", account);
|
||||
|
||||
const rounds = await roundsStore.getFinshedRoundNumbers();
|
||||
return await this.contract.write.claim([[1, 2]]);
|
||||
return await this.contract.write.claim([rounds]);
|
||||
},
|
||||
async getTotalRewardsOf(address, rounds) {
|
||||
return await this.contract.read.getTotalRewardsOf([address, rounds]);
|
||||
|
||||
Reference in New Issue
Block a user