libmeta

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const ErrMissingSigners err = "missing signers"

Variables

This section is empty.

Functions

func GetSigners

func GetSigners[E Metadata, T MsgWithMetadata[E]](msg T) []sdk.AccAddress

func ValidateBasic

func ValidateBasic[E Metadata, T MsgWithMetadata[E]](msg T) error

Types

type Metadata

type Metadata interface {
	GetSigners() []string
	GetCreator() string
}

type MsgWithMetadata

type MsgWithMetadata[T Metadata] interface {
	GetMetadata() T
}

Jump to

Keyboard shortcuts

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