Skip to main content

stakingUserProcess

Function Type: internal

Internal wrapper function that calls the base staking process for user operations.

Parameters

ParameterTypeDescription
useraddressAddress of the user performing the staking operation
amountOfStakinguint256Amount of staking tokens to stake/unstake
isStakingbooltrue = Stake, false = Unstake
priorityFee_EVVMuint256EVVM priority fee
nonce_EVVMuint256EVVM nonce
priorityFlag_EVVMboolEVVM priority flag
signature_EVVMbytesEVVM signature

Description

This internal function serves as a wrapper that calls the base staking process specifically for user operations. It handles the routing of user-based staking requests to the appropriate base processing function.

info

This function internally calls stakingBaseProcess with the user address as both the user account and staking account.