sdk

package
v1.19.0-rc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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

func ValidateBasic(msg sdk.Msg) error

ValidateBasic calls the ValidateBasic on the provided msg if it has that method, otherwise returns nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL