Documentation ¶
Index ¶
- Constants
- func MakeQuerySigningInfoMsg(signingInfoMsg types.SigningInfoMsg, xplacEncodingConfig params.EncodingConfig) (slashingtypes.QuerySigningInfoRequest, error)
- func MakeQuerySigningInfosMsg() (slashingtypes.QuerySigningInfosRequest, error)
- func MakeQuerySlashingParamsMsg() (slashingtypes.QueryParamsRequest, error)
- func MakeUnjailMsg(addr sdk.AccAddress) (slashingtypes.MsgUnjail, error)
- func NewCoreModule() core.CoreModule
- func QuerySlashing(i core.QueryClient) (string, error)
- type SlashingExternal
Constants ¶
View Source
const ( SlashingModule = "slashing" SlahsingUnjailMsgType = "unjail" SlashingQuerySlashingParamsMsgType = "query-slashing-params" SlashingQuerySigningInfosMsgType = "query-sining-infos" SlashingQuerySigningInfoMsgType = "query-sining-info" )
Variables ¶
This section is empty.
Functions ¶
func MakeQuerySigningInfoMsg ¶
func MakeQuerySigningInfoMsg(signingInfoMsg types.SigningInfoMsg, xplacEncodingConfig params.EncodingConfig) (slashingtypes.QuerySigningInfoRequest, error)
(Query) make msg - signing info
func MakeQuerySigningInfosMsg ¶
func MakeQuerySigningInfosMsg() (slashingtypes.QuerySigningInfosRequest, error)
(Query) make msg - signing infos
func MakeQuerySlashingParamsMsg ¶
func MakeQuerySlashingParamsMsg() (slashingtypes.QueryParamsRequest, error)
(Query) make msg - slahsing params
func MakeUnjailMsg ¶
func MakeUnjailMsg(addr sdk.AccAddress) (slashingtypes.MsgUnjail, error)
(Tx) make msg - unjail
func NewCoreModule ¶ added in v0.1.2
func NewCoreModule() core.CoreModule
func QuerySlashing ¶
func QuerySlashing(i core.QueryClient) (string, error)
Query client for slashing module.
Types ¶
type SlashingExternal ¶ added in v0.1.2
type SlashingExternal struct {
Xplac provider.XplaClient
}
func NewSlashingExternal ¶ added in v0.1.2
func NewSlashingExternal(xplac provider.XplaClient) (e SlashingExternal)
func (SlashingExternal) SigningInfos ¶ added in v0.1.2
func (e SlashingExternal) SigningInfos(signingInfoMsg ...types.SigningInfoMsg) provider.XplaClient
Query a validator's signing information or signing information of all validators.
func (SlashingExternal) SlashingParams ¶ added in v0.1.2
func (e SlashingExternal) SlashingParams() provider.XplaClient
Query the current slashing parameters.
func (SlashingExternal) Unjail ¶ added in v0.1.2
func (e SlashingExternal) Unjail() provider.XplaClient
Unjail validator previously jailed for downtime.
Click to show internal directories.
Click to hide internal directories.