2022-04-05 07:09:27 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package vulcanize.nameservice.v1beta1;
|
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
import "vulcanize/nameservice/v1beta1/nameservice.proto";
|
|
|
|
|
2022-09-07 06:36:11 +00:00
|
|
|
option go_package = "github.com/cerc-io/laconicd/x/nameservice/types";
|
2022-04-05 07:09:27 +00:00
|
|
|
|
|
|
|
// GenesisState defines the nameservice module's genesis state.
|
|
|
|
message GenesisState {
|
|
|
|
// params defines all the params of nameservice module.
|
2022-10-06 10:48:22 +00:00
|
|
|
Params params = 1 [(gogoproto.nullable) = false];
|
2022-04-05 07:09:27 +00:00
|
|
|
// records
|
2022-10-06 10:48:22 +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-06 10:48:22 +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-06 10:48:22 +00:00
|
|
|
repeated NameEntry names = 4 [(gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"names\" yaml:\"names\""];
|
2022-04-05 07:09:27 +00:00
|
|
|
}
|