Function: stakeLoanForAccount(address _account, address _gsPool, uint256 _loanId)
Allows the handler to stake loan on behalf of account.
Inputs
_accountControl: Fully controlled by the handler.
Constraints: None.
Impact: The
loanis staked on behalf of_account.
_gsPoolControl: Fully controlled by the handler.
Constraints: None --- should be a registered pool.
Impact: The pool to stake in.
_loanIdControl: Fully controlled by the handler.
Constraints: None.
Impact: The loan to stake.
Branches and code coverage (including function calls)
Intended branches
Stake on behalf of the account for account.
Assumes all other relevant checks are performed in
ILoanTracker.stakeForAccount.
Negative behavior
Should not allow calling an unregistered pool.
Should not allow anyone other than the handler to call this function.