laconicd/proto/vulcanize/registry/v1beta1/genesis.proto

22 lines
838 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
2022-12-09 04:17:14 +00:00
package vulcanize.registry.v1beta1;
import "gogoproto/gogo.proto";
2022-12-09 04:17:14 +00:00
import "vulcanize/registry/v1beta1/registry.proto";
2022-12-09 04:17:14 +00:00
option go_package = "github.com/cerc-io/laconicd/x/registry/types";
2022-12-09 04:17:14 +00:00
// GenesisState defines the registry module's genesis state.
message GenesisState {
2022-12-09 04:17:14 +00:00
// params defines all the params of registry module.
2022-10-10 10:38:33 +00:00
Params params = 1 [(gogoproto.nullable) = false];
// records
2022-10-10 10:38:33 +00:00
repeated Record records = 2
[(gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"records\" yaml:\"records\""];
// authorities
2022-10-10 10:38:33 +00:00
repeated AuthorityEntry authorities = 3
[(gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"authorities\" yaml:\"authorities\""];
// names
2022-10-10 10:38:33 +00:00
repeated NameEntry names = 4 [(gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"names\" yaml:\"names\""];
}