Documentation ¶
Index ¶
- Constants
- func MakeQueryAllEvidenceMsg() (evidencetypes.QueryAllEvidenceRequest, error)
- func MakeQueryEvidenceMsg(queryEvidenceMsg types.QueryEvidenceMsg) (evidencetypes.QueryEvidenceRequest, error)
- func NewCoreModule() core.CoreModule
- func QueryEvidence(i core.QueryClient) (string, error)
- type EvidenceExternal
Constants ¶
View Source
const ( EvidenceModule = "evidence" EvidenceQueryMsgType = "evidence-query" EvidenceQueryAllMsgType = "evidence-query-all" )
Variables ¶
This section is empty.
Functions ¶
func MakeQueryAllEvidenceMsg ¶
func MakeQueryAllEvidenceMsg() (evidencetypes.QueryAllEvidenceRequest, error)
(Query) make msg - all evidences
func MakeQueryEvidenceMsg ¶
func MakeQueryEvidenceMsg(queryEvidenceMsg types.QueryEvidenceMsg) (evidencetypes.QueryEvidenceRequest, error)
(Query) make msg - evidence
func NewCoreModule ¶ added in v0.1.2
func NewCoreModule() core.CoreModule
func QueryEvidence ¶
func QueryEvidence(i core.QueryClient) (string, error)
Query client for evidence module.
Types ¶
type EvidenceExternal ¶ added in v0.1.2
type EvidenceExternal struct {
Xplac provider.XplaClient
}
func NewEvidenceExternal ¶ added in v0.1.2
func NewEvidenceExternal(xplac provider.XplaClient) (e EvidenceExternal)
func (EvidenceExternal) QueryEvidence ¶ added in v0.1.2
func (e EvidenceExternal) QueryEvidence(queryEvidenceMsg ...types.QueryEvidenceMsg) provider.XplaClient
Query for evidence by hash or for all (paginated) submitted evidence.
Click to show internal directories.
Click to hide internal directories.