You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey firstly don't use await and .wait() in same line. It means the same and secondly check the parameters you have provided by directly interacting with contract and check that it give you the desire output. since its an view function it must return the value.
And as the return value are two. I think this may have some issue.
Do let me know if it solved or not.
And please also share output of it.
How to get the RewardInfo using getRewardInfo?
This is how I call the function, but I got only the transaction receipt.
The text was updated successfully, but these errors were encountered: