ante

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: AGPL-3.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

View Source
const DYDX_MSG_PREFIX = "/" + constants.AppName
View Source
const SLINKY_MSG_PREFIX = "/slinky"

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 IsDydxMsg

func IsDydxMsg(msg sdk.Msg) bool

IsDydxMsg returns true if the given msg is a dYdX custom msg.

func IsInternalMsg

func IsInternalMsg(msg sdk.Msg) bool

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

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 IsSlinkyMsg

func IsSlinkyMsg(msg sdk.Msg) bool

IsSlinkyMsg returns true if the given msg is a Slinky custom msg.

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