Versions in this module Expand all Collapse all v1 v1.1.0 May 31, 2019 v1.0.0 Apr 23, 2019 Changes in this version + const ContractMetaDate + const GetCandidataByRanking + const GetContractById + const RegisteContract + const UrlReg + type MetaData interface + GetContractById func(types.ContractType) types.Address + UpdateContractAddress func(uint64, types.ContractType, types.Address) + UpdateWhiteListAddress func(uint64, types.Address) + func NewMetaDataContract() MetaData + type MetaDataContract struct + Address types.Address + MetaMap map[types.ContractType]types.Address + func (instance *MetaDataContract) GetContractById(contractType types.ContractType) types.Address + func (instance *MetaDataContract) UpdateContractAddress(uint64, types.ContractType, types.Address) + func (instance *MetaDataContract) UpdateWhiteListAddress(uint64, types.Address) + type NodeInfo struct + Address types.Address + Id uint64 + Url string + type Voting interface + GetNodeList func(count uint64) ([]NodeInfo, error) + NodeNumber func() uint64 + func NewVotingContract() Voting + type VotingContract struct + func (vote *VotingContract) GetNodeList(count uint64) ([]NodeInfo, error) + func (vote *VotingContract) NodeNumber() uint64 + type WhiteList interface + IssueContractProposal func(uint64, types.ContractType) + IssueWhileListProposal func(uint64, types.Address, uint64) + VoteForContractProposal func(uint64) + VoteForWhiteListProposal func(uint64)