Skip to main content

stakingServiceProcess

Function Type: internal

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

Parameters

ParameterTypeDescription
useraddressAddress of the user who owns the stake
serviceaddressAddress of the smart contract performing the staking
isStakingbooltrue = Stake, false = Unstake
amountOfStakinguint256Amount of staking tokens to stake/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 service operations. It handles the routing of service-based staking requests to the appropriate base processing function.

info

This function internally calls stakingBaseProcess with the service address as the staking account.