Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOperatorAddr ¶
func GetOperatorAddr(val stakingtypes.ValidatorI) (sdk.ValAddress, error)
GetOperatorAddr returns the validator's operator address.
func MustGetOperatorAddr ¶
func MustGetOperatorAddr(val stakingtypes.ValidatorI) sdk.ValAddress
MustGetOperatorAddr returns the validator's operator address and panics on ierror.
func MustValAddressFromBech32 ¶
func MustValAddressFromBech32(operatorAddr string) sdk.ValAddress
MustValAddressFromBech32 calls sdk.ValAddressFromBech32 and panics on error.
func ValidateBasic ¶
ValidateBasic calls the ValidateBasic on the provided msg if it has that method, otherwise returns nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.