Function: stakeLoanForAccount(address _account, address _gsPool, uint256 _loanId)
Allows the handler to stake loan
on behalf of account
.
Inputs
_account
Control: Fully controlled by the handler.
Constraints: None.
Impact: The
loan
is staked on behalf of_account
.
_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
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.