Documentation
¶
Index ¶
- Constants
- func IsAppInjectedMsg(msg sdk.Msg) bool
- func IsDisallowExternalSubmitMsg(msg sdk.Msg) bool
- func IsInternalMsg(msg sdk.Msg) bool
- func IsKlyraMsg(msg sdk.Msg) bool
- func IsNestedMsg(msg sdk.Msg) bool
- func IsSingleAppInjectedMsg(msgs []sdk.Msg) bool
- func IsUnsupportedMsg(msg sdk.Msg) bool
- func ValidateNestedMsg(msg sdk.Msg) error
Constants ¶
const KLYRA_MSG_PREFIX = "/" + constants.AppName
Variables ¶
This section is empty.
Functions ¶
func IsAppInjectedMsg ¶
IsAppInjectedMsg returns true if the given msg is an "app-injected msg". Otherwise, returns false.
func IsDisallowExternalSubmitMsg ¶
IsDisallowExternalSubmitMsg returns true if the msg is not allowed to be submitted externally.
func IsInternalMsg ¶
IsInternalMsg returns true if the given msg is an internal message.
func IsKlyraMsg ¶
IsKlyraMsg returns true if the given msg is a klyra custom msg.
func IsNestedMsg ¶
IsNestedMsg returns true if the given msg is a nested msg.
func IsSingleAppInjectedMsg ¶
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 ¶
IsUnsupportedMsg returns true if the msg is unsupported by the app.
func ValidateNestedMsg ¶
ValidateNestedMsg returns err if the given msg is an invalid nested msg.
Types ¶
This section is empty.