Documentation ¶
Index ¶
Constants ¶
View Source
const ( ManagerContract = "0xfffffffffffffffffffffffffffffffff0000003" ABI = "" /* 5911-byte string literal not displayed */ )
Variables ¶
View Source
var ( SingleMode = big.NewInt(1) NormalMode = big.NewInt(0) )
Functions ¶
func CalculateStateDbIndex ¶
calculate the statedb index from key and parameter
func GetCommitteeCount ¶
Get the committee max count based on state db reader Normal mode 0: 5 committees Single mode 1: 1 committees
func GetCommitteePublicKey ¶
read the committee public key from contract
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.