package
0.6.4-alpha.6
Repository: https://github.com/vntchain/go-vnt.git
Documentation: pkg.go.dev

# Functions

GetAllCandidates return the list of all candidate.
GetCandidate returns a candidate's information.
To show how to use election abi.
GetFirstNCandidates get candidates with most votes as witness from specific stateDB.
GetStake returns a user's information.
GetVoter returns a voter's information.
GrantReward 发放激励给该候选节点的受益人,返回错误。 发放激励的接口不区分是产块激励还是投票激励,超级节点必须是Active,否则无收益。 激励金额不足发放时为正常情况不返回error,返回nil。 返回错误时,数据状态恢复到原始情况,即所有激励都不发放。.
No description provided by the author
QueryRestReward returns the value of left reward for candidates.

# Constants

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
key的结构为,4位表前缀,20位address,8位的value在struct中的位置.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

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
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Candidate information of witness candidates.
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

# Type aliases

No description provided by the author