2022-04-05 07:09:27 +00:00
|
|
|
syntax = "proto3";
|
2022-12-09 04:17:14 +00:00
|
|
|
package vulcanize.registry.v1beta1;
|
2022-04-05 07:09:27 +00:00
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
2022-12-09 04:17:14 +00:00
|
|
|
import "vulcanize/registry/v1beta1/registry.proto";
|
2022-04-05 07:09:27 +00:00
|
|
|
|
2022-12-09 04:17:14 +00:00
|
|
|
option go_package = "github.com/cerc-io/laconicd/x/registry/types";
|
2022-04-05 07:09:27 +00:00
|
|
|
|
2022-12-09 04:17:14 +00:00
|
|
|
// GenesisState defines the registry module's genesis state.
|
2022-04-05 07:09:27 +00:00
|
|
|
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];
|
2022-04-05 07:09:27 +00:00
|
|
|
// records
|
2022-10-10 10:38:33 +00:00
|
|
|
repeated Record records = 2
|
|
|
|
[(gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"records\" yaml:\"records\""];
|
2022-04-05 07:09:27 +00:00
|
|
|
// authorities
|
2022-10-10 10:38:33 +00:00
|
|
|
repeated AuthorityEntry authorities = 3
|
|
|
|
[(gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"authorities\" yaml:\"authorities\""];
|
2022-04-05 07:09:27 +00:00
|
|
|
// names
|
2022-10-10 10:38:33 +00:00
|
|
|
repeated NameEntry names = 4 [(gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"names\" yaml:\"names\""];
|
2022-04-05 07:09:27 +00:00
|
|
|
}
|