# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package staking is a generated GoMock package.
No description provided by the author
# Functions
CreateStateConfig creates a config for accessing stateDB.
GetActionCtx gets ActionCtx.
GetBlockchainCtx gets BlockchainCtx.
GetBlockCtx gets BlockCtx.
GetFeatureCtx gets FeatureCtx.
GetFeatureWithHeightCtx gets FeatureWithHeightCtx.
GetRegistry returns the registry from context.
GetVMConfigCtx returns the vm config from context.
HashStringToAddress generates the contract address from the protocolID of each protocol.
KeyOption sets the key for call.
KeysOption sets the key for call.
LegacyKeyOption sets the key for call with legacy key.
MustGetActionCtx must get ActionCtx .
MustGetBlockchainCtx must get BlockchainCtx.
MustGetBlockCtx must get BlockCtx .
MustGetFeatureCtx must get FeatureCtx.
MustGetFeatureWithHeightCtx must get FeatureWithHeightCtx.
MustGetRegistry returns the registry from context.
NamespaceOption creates an option for given namesapce.
NewDock returns a new dock.
NewGenericValidator constructs a new genericValidator.
NewKVStoreForTrieWithStateManager creates a trie.KVStore with state manager.
NewKVStoreForTrieWithStateReader creates a trie.KVStore with state reader.
NewRegistry create a new Registry.
WithActionCtx add ActionCtx into context.
WithBlockchainCtx add BlockchainCtx into context.
WithBlockCtx add BlockCtx into context.
WithFeatureCtx add FeatureCtx into context.
WithFeatureWithHeightCtx add FeatureWithHeightCtx into context.
WithRegistry adds registry to context.
WithVMConfigCtx adds vm config to context.
# Constants
SystemNamespace is the namespace to store system information such as candidates/probationList/unproductiveDelegates.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Registry is the hub of all protocols deployed on the chain.
No description provided by the author
No description provided by the author
# Interfaces
ActionHandler is the interface for the action handlers.
ActionValidator is the interface of validating an action.
Committer performs commit action of the protocol.
No description provided by the author
GenesisStateCreator creates some genesis states.
PostSystemActionsCreator creates a list of system actions to be appended to block actions.
PreCommitter performs pre-commit action of the protocol.
PreStatesCreator creates preliminary states for state manager.
Protocol defines the protocol interfaces atop IoTeX blockchain.
Starter starts the protocol.
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
SerializableBytes defines a type of serializable bytes.
No description provided by the author
View stores the view for all protocols.