Function: stakeLoan(address _gsPool, uint256 _loanId)
Allows msg.sender to stake loan on behalf of msg.sender.
Inputs
_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
Allows
msg.senderto stakeloan.Assumes all other relevant checks are performed in
ILoanTracker.stakeForAccount.
Negative behavior
Should not allow calling an unregistered pool.