checkers

package
v4.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package checkers provides functions and structures to verify common types and aggregate errors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Signers

func Signers(signers ...string) []sdk.AccAddress

Signers converts signer bech32 addresses to sdk.AccAddress list. The function ignores errors. It is supposed to be used within Msg.GetSigners implementation.

func ValidateAddr added in v4.1.0

func ValidateAddr(addr, name string) error

func ValidateProposal

func ValidateProposal(title, description, authority string) error

ValidateProposal checks the format of the title, description, and authority of a gov message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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