Function: stakeEsGs(uint256 _amount)
Allows msg.sender to stake esGs on behalf of msg.sender.
Inputs
_amountControl: Fully controlled by the handler.
Constraints: None.
Impact: Amount to be staked.
Branches and code coverage (including function calls)
Intended branches
Allows
msg.senderto stakeesGs.Call
IRewardTracker.stakeForAccountwithesGstracker.Call
IRewardTracker.stakeForAccountwithbonustracker.Call
IRewardTracker.stakeForAccountwithfeetracker.Assumes all other relevant checks are performed in
IRewardTracker.stakeForAccount.