Function: stakeLoan(address _gsPool, uint256 _loanId)
Allows msg.sender
to stake loan
on behalf of msg.sender
.
Inputs
_gsPool
Control: Fully controlled by the handler.
Constraints: None --- should be a registered pool.
Impact: The pool to stake in.
_loanId
Control: Fully controlled by the handler.
Constraints: None.
Impact: The loan to stake.
Branches and code coverage (including function calls)
Intended branches
Allows
msg.sender
to stakeloan
.Assumes all other relevant checks are performed in
ILoanTracker.stakeForAccount
.
Negative behavior
Should not allow calling an unregistered pool.