Function: deposit_native()
This function is for depositing ETH to the contract.
Branches and code coverage
Intended branches
Add the request for the deposit.
Emit the events
DepositAcceptedIntoQueue
by usingdepositRequest
's information.
Negative behavior
Revert when the
msg.value
is zero.