func (msg MsgCreate) GetSignBytes() []byte {
	return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(msg))
}
GetSignBytes encodes the message for signing.
package types
import (
	sdk "github.com/cosmos/cosmos-sdk/types"
	sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
	"github.com/mesg-foundation/engine/ext/xvalidator"
	processpb "github.com/mesg-foundation/engine/process"
)
func (msg MsgCreate) Route() string {
	return RouterKey
}
func (msg MsgCreate) Type() string {
	return "create"
}
func (msg MsgCreate) ValidateBasic() error {
	if err := xvalidator.Struct(msg); err != nil {
		return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
	}
	if _, err := processpb.New(msg.Name, msg.Nodes, msg.Edges, msg.Owner); err != nil {
		return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
	}
	return nil
}