package
1.14.2
Repository: https://github.com/iotexproject/iotex-core.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

FindProtocol finds the registered protocol from registry.
MustGetProtocol return a registered protocol from registry.
NewBlockMeta constructs new blockmeta struct with given fieldss.
NewCandidateIndexer creates a new CandidateIndexer.
NewConsortiumCommittee creates a committee for consorium chain.
NewConsortiumManagement creates a new instance of ConsortiumManagement, bound to a specific deployed contract.
NewConsortiumManagementCaller creates a new read-only instance of ConsortiumManagement, bound to a specific deployed contract.
NewConsortiumManagementFilterer creates a new log filterer instance of ConsortiumManagement, bound to a specific deployed contract.
NewConsortiumManagementTransactor creates a new write-only instance of ConsortiumManagement, bound to a specific deployed contract.
NewGovernanceChainCommitteeProtocol creates a Poll Protocol which fetch result from governance chain.
NewLifeLongDelegatesProtocol creates a poll protocol with life long delegates.
NewNativeStaking creates a NativeStaking instance.
NewProtocol instantiates a rewarding protocol instance.
NewSlasher returns a new Slasher.
NewStakingCommand creates a staking command center to manage staking committee and new native staking.
NewStakingCommittee creates a staking committee which fetch result from governance chain and native staking.
ProtocolAddr returns the address generated from protocol id.

# Constants

ConsortiumManagementABI is the input ABI used to generate the binding from.

# Variables

CandidateNamespace is a namespace to store raw candidate.
ErrDelegatesNotAsExpected is an error that the delegates are not as expected.
ErrDelegatesNotExist is an error that the delegates cannot be prepared.
ErrEndOfData is an error that reaching end of data in the contract.
ErrInconsistentHeight is an error that result of "readFromStateDB" is not consistent with others.
ErrIndexerNotExist is an error that shows not exist in candidate indexer DB.
ErrNoData is an error that there's no data in the contract.
ErrNoElectionCommittee is an error that the election committee is not specified.
ErrProposedDelegatesLength is an error that the proposed delegate list length is not right.
ErrWrongData is an error that data is wrong.
NsAbi is the ABI of native staking contract.
ProbationNamespace is a namespace to store probationlist.

# Structs

BlockMeta is a struct to store block metadata.
CandidateIndexer is an indexer to store candidate/probationList by given height.
ConsortiumManagement is an auto generated Go binding around an Ethereum contract.
ConsortiumManagementAddOperator represents a AddOperator event raised by the ConsortiumManagement contract.
ConsortiumManagementAddOperatorIterator is returned from FilterAddOperator and is used to iterate over the raw logs and unpacked data for AddOperator events raised by the ConsortiumManagement contract.
ConsortiumManagementCaller is an auto generated read-only Go binding around an Ethereum contract.
ConsortiumManagementCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
ConsortiumManagementCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
ConsortiumManagementFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
ConsortiumManagementPropose represents a Propose event raised by the ConsortiumManagement contract.
ConsortiumManagementProposeIterator is returned from FilterPropose and is used to iterate over the raw logs and unpacked data for Propose events raised by the ConsortiumManagement contract.
ConsortiumManagementRaw is an auto generated low-level Go binding around an Ethereum contract.
ConsortiumManagementRemoveOperator represents a RemoveOperator event raised by the ConsortiumManagement contract.
ConsortiumManagementRemoveOperatorIterator is returned from FilterRemoveOperator and is used to iterate over the raw logs and unpacked data for RemoveOperator events raised by the ConsortiumManagement contract.
ConsortiumManagementSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
ConsortiumManagementSettleProposal represents a SettleProposal event raised by the ConsortiumManagement contract.
ConsortiumManagementSettleProposalIterator is returned from FilterSettleProposal and is used to iterate over the raw logs and unpacked data for SettleProposal events raised by the ConsortiumManagement contract.
ConsortiumManagementTransactor is an auto generated write-only Go binding around an Ethereum contract.
ConsortiumManagementTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
ConsortiumManagementTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
ConsortiumManagementUpdateOperatorHealthEndpoint represents a UpdateOperatorHealthEndpoint event raised by the ConsortiumManagement contract.
ConsortiumManagementUpdateOperatorHealthEndpointIterator is returned from FilterUpdateOperatorHealthEndpoint and is used to iterate over the raw logs and unpacked data for UpdateOperatorHealthEndpoint events raised by the ConsortiumManagement contract.
ConsortiumManagementVote represents a Vote event raised by the ConsortiumManagement contract.
ConsortiumManagementVoteIterator is returned from FilterVote and is used to iterate over the raw logs and unpacked data for Vote events raised by the ConsortiumManagement contract.
No description provided by the author
Slasher is the module to slash candidates.
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

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