Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ModuleCdc = codec.New()
ModuleCdc defines the evidence module's codec. The codec is not sealed as to allow other modules to register their concrete Evidence types.
Functions ¶
func RegisterCodec ¶
RegisterCodec registers all the necessary types and interfaces for the evidence module.
func RegisterEvidenceTypeCodec ¶
func RegisterEvidenceTypeCodec(o interface{}, name string)
RegisterEvidenceTypeCodec registers an external concrete Evidence type defined in another module for the internal ModuleCdc. This allows the MsgSubmitEvidence to be correctly Amino encoded and decoded.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.