ante

package
v0.0.0-...-13dda56 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: AGPL-3.0, AGPL-3.0-or-later Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const KLYRA_MSG_PREFIX = "/" + constants.AppName

Variables

This section is empty.

Functions

func IsAppInjectedMsg

func IsAppInjectedMsg(msg sdk.Msg) bool

IsAppInjectedMsg returns true if the given msg is an "app-injected msg". Otherwise, returns false.

func IsDisallowExternalSubmitMsg

func IsDisallowExternalSubmitMsg(msg sdk.Msg) bool

IsDisallowExternalSubmitMsg returns true if the msg is not allowed to be submitted externally.

func IsInternalMsg

func IsInternalMsg(msg sdk.Msg) bool

IsInternalMsg returns true if the given msg is an internal message.

func IsKlyraMsg

func IsKlyraMsg(msg sdk.Msg) bool

IsKlyraMsg returns true if the given msg is a klyra custom msg.

func IsNestedMsg

func IsNestedMsg(msg sdk.Msg) bool

IsNestedMsg returns true if the given msg is a nested msg.

func IsSingleAppInjectedMsg

func IsSingleAppInjectedMsg(msgs []sdk.Msg) bool

IsSingleAppInjectedMsg returns true if the given list of msgs contains an "app-injected msg" and it's the only msg in the list. Otherwise, returns false.

func IsUnsupportedMsg

func IsUnsupportedMsg(msg sdk.Msg) bool

IsUnsupportedMsg returns true if the msg is unsupported by the app.

func ValidateNestedMsg

func ValidateNestedMsg(msg sdk.Msg) error

ValidateNestedMsg returns err if the given msg is an invalid nested msg.

Types

This section is empty.

Jump to

Keyboard shortcuts

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