Lorenz Herzberger 39df92c24c
chore(wip): add module proto definition
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2024-11-26 13:19:35 +01:00

22 lines
745 B
Protocol Buffer

syntax = "proto3";
package planetmintgo.machine;
import "cosmos/app/v1alpha1/module.proto";
option go_package = "github.com/planetmint/planetmint-go/x/machine/types";
// Module is the config object of the machine module.
message Module {
option (cosmos.app.v1alpha1.module) = {
go_import: "github.com/planetmint/planetmint-go/x/machine"
};
// hooks_order specifies the order of machine hooks and should be a list
// of module names which provide a machine hooks instance. If no order is
// provided, then hooks will be applied in alphabetical order of module names.
repeated string hooks_order = 1;
// authority defines the custom module authority. If not set, defaults to the governance module.
string authority = 2;
}