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
This can be done by either calling Staking or Delegate contract, based on the address "isKeyper" truth.
Then, "getUserStakeIds" must be called, followed by individual "stakes" function call for each stake id.
Lastly, a sum of all stake amounts shall be done to achieve the desired total stkSHU amount.
The text was updated successfully, but these errors were encountered:
Get user stakes and sum total stkSHU amount
This can be done by either calling Staking or Delegate contract, based on the address "isKeyper" truth.
Then, "getUserStakeIds" must be called, followed by individual "stakes" function call for each stake id.
Lastly, a sum of all stake amounts shall be done to achieve the desired total stkSHU amount.
The text was updated successfully, but these errors were encountered: