filters

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShouldMsgBeParsed

func ShouldMsgBeParsed(msg sdk.Msg) bool

ShouldMsgBeParsed tells whether the given subspace is currently supported and its messages should be parsed

Types

type Config

type Config struct {
	// SupportedSubspaceIDs represents the list of supported subspaces
	SupportedSubspaceIDs []uint64 `yaml:"supported_subspace_ids"`

	// Contracts contains the list of contracts to be parsed
	Contracts *ContractsConfig `yaml:"contracts"`
}

func ParseConfig

func ParseConfig(bz []byte) (*Config, error)

type ContractsConfig

type ContractsConfig struct {
	Tips *tips.Config `yaml:"tips"`
}

Jump to

Keyboard shortcuts

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