2024-02-15 07:08:32 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package cerc.registry.v1;
|
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
import "cerc/registry/v1/registry.proto";
|
|
|
|
|
2024-04-01 09:57:26 +00:00
|
|
|
option go_package = "git.vdb.to/cerc-io/laconicd/x/registry";
|
2024-02-15 07:08:32 +00:00
|
|
|
|
|
|
|
// GenesisState defines the registry module's genesis state.
|
|
|
|
message GenesisState {
|
|
|
|
// params defines all the params of registry module.
|
2024-03-07 11:25:15 +00:00
|
|
|
Params params = 1 [ (gogoproto.nullable) = false ];
|
2024-02-15 07:08:32 +00:00
|
|
|
|
|
|
|
// records
|
|
|
|
repeated Record records = 2 [
|
|
|
|
(gogoproto.nullable) = false,
|
|
|
|
(gogoproto.moretags) = "json:\"records\" yaml:\"records\""
|
|
|
|
];
|
|
|
|
|
|
|
|
// authorities
|
|
|
|
repeated AuthorityEntry authorities = 3 [
|
|
|
|
(gogoproto.nullable) = false,
|
|
|
|
(gogoproto.moretags) = "json:\"authorities\" yaml:\"authorities\""
|
|
|
|
];
|
|
|
|
|
|
|
|
// names
|
|
|
|
repeated NameEntry names = 4 [
|
|
|
|
(gogoproto.nullable) = false,
|
|
|
|
(gogoproto.moretags) = "json:\"names\" yaml:\"names\""
|
|
|
|
];
|
|
|
|
}
|