package
0.0.0-20201217075903-aecdb050f89d
Repository: https://github.com/lvbin2012/neuralchain.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Deprecated: Using NewStateDbStakingCaller instead of NewBECaller returns staking caller which reads data from staking smart-contract by execute a call from evm.
NewLayOut returns new instance of a LayOut.
NewStateDbStakingCaller return instance of StakingCaller which reads data directly from state DB.

# Variables

DefaultConfig represents he default configuration.
ErrEmptyValidatorSet returns when valset from smart-contract is empty.
ErrLengthOfCandidatesAndStakesMisMatch returns when lengths stakes and candidates are not match.
ErrLengthOfVotesAndStakesMisMatch returns when lengths voters and stakes are not match.

# Structs

No description provided by the author
layout inside candidateData struct.
IndexConfigs represents the configuration index of state variables.
LayOut represents the Offset and Slot order of a state variable.

# Interfaces

No description provided by the author