Function: depositETH()
The function can be utilized for depositing ETH into the escrow contract.
Branches and code coverage
Intended branches
Wrap the deposited ETH to WETH, then increase the
totalStaked
value of WETH, and increase the value ofusersBalance
of user for that token.
Negative behavior
Revert if
msg.value
is0
.
Function call analysis
this._getStorage()
What is controllable? N/A.
If the return value is controllable, how is it used and how can it go wrong? Returns the storage slot.
What happens if it reverts, reenters or does other unusual control flow? N/A.