Function: stakeNative()

This function calls the handleReceivedNative function, which emits the Stake event.

Branches and code coverage

Intended branches

  • Increase the nextStakeNum by one.

Negative behavior

  • Revert when the native token is not supported.

  • Revert when the msg.value is smaller than minStakes[native].

Zellic © 2025Back to top ↑