checkers

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 5 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 ValidateProposal added in v0.1.3

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