Function: stakeNative()
This function calls the handleReceivedNative function, which emits the Stake event.
Branches and code coverage
Intended branches
Increase the
nextStakeNumby one.
Negative behavior
Revert when the native token is not supported.
Revert when the
msg.valueis smaller thanminStakes[native].