Skip to main content

Access Control List

Access Types

TypeAccess
NodeAnyone, Not differentiated on msg.sender
Particular NodeAnyone, Differentiated on msg.sender
ClientAnyone
InternalOnly Parent and Inherited contract
Role WiseSpecific Role, grantable/revocable by Admin through ACL.sol
  1. JobConfirmer
  2. BlockConfirmer
  3. StakeModifier
  4. StakerActivityUpdater

Functional Overview

JobManager.sol

FunctionAccessComments
createJobClient
fulfillJobJobConfirmer

BlockManager.sol

FunctionAccessComments
proposeParticular Node
giveSortedParticular Node
resetDisputeParticular Node
confirmBlockBlockConfirmer
_insertAppropriatelyInternal

VoteManager.sol

FunctionAccessComments
commitParticular Node
revealNode

StakeManager.sol

FunctionRoleComments
setStakerEpochLastRevealedStakerActivityUpdater
updateCommitmentEpochStakerActivityUpdater
stakeParticular Node
unstakeParticular Node
withdrawParticular Node
givePenaltiesStakeModifier
giveBlockRewardStakeModifier
giveRewardsStakeModifier
slashStakeModifier

Roles and their Holders

ACL

RoleAccessible FunctionsFunctions ofRole Holder
JobConfirmerfullfillJob()JobManagerBlockManager
BlockConfirmerconfirmBlock()BlockManagerVoteManager
StakeModifierslash() giveBlockReward()StakeManagerBlockManager
giveRewards() givePenalties()StakeManagerVoteManager
StakerActivityUpdatersetStakerEpochLastRevealed() updateCommitmentEpoch()StakeManagerVoteManager