Function: stakeWithPool(address _poolAddress, uint256 _stakeAmount)
Stake into certain bonded pool.
Inputs
_poolAddressControl: Full.
Constraints: Must be in the
bondedPoolslist.Impact: The pool to stake into.
_stakeAmountControl: Full.
Constraints: >=
minStakeAmount.Impact: The amount to stake.
Branches and code coverage (including function calls)
Intended branches
Staked amount increases.
Negative behavior
Cannot stake into nonexistent pool (not in
bondedPools).Cannot stake <
minStakeAmount.