Function: stakeGsForAccount(address _account, uint256 _amount)
Allows the handler to stake gs
on behalf of account
.
Inputs
_account
Control: Fully controlled by the handler.
Constraints: None.
Impact:
gs
is staked on behalf of_account
.
_amount
Control: Fully controlled by the handler.
Constraints: None.
Impact:
gs
is staked on behalf of_account
.
Branches and code coverage (including function calls)
Intended branches
Staked on behalf of the handler for account.
Calls
IRewardTracker.stakeForAccount
withgs
tracker.Calls
IRewardTracker.stakeForAccount
withbonus
tracker.Calls
IRewardTracker.stakeForAccount
withfee
tracker.Assumes all other necessary checks are performed in
IRewardTracker.stakeForAccount
.
Negative behavior
Should not be callable by anyone other than the handler.