2023-09-22 16:05:12 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package kava.community.v1beta1;
|
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
import "kava/community/v1beta1/params.proto";
|
2023-10-03 15:41:54 +00:00
|
|
|
import "kava/community/v1beta1/staking.proto";
|
2023-09-22 16:05:12 +00:00
|
|
|
|
|
|
|
option go_package = "github.com/kava-labs/kava/x/community/types";
|
|
|
|
|
|
|
|
// GenesisState defines the community module's genesis state.
|
|
|
|
message GenesisState {
|
2024-04-05 14:02:52 +00:00
|
|
|
// params defines all the parameters related to commmunity
|
2023-09-22 16:05:12 +00:00
|
|
|
Params params = 1 [(gogoproto.nullable) = false];
|
2023-10-03 15:41:54 +00:00
|
|
|
|
|
|
|
// StakingRewardsState stores the internal staking reward data required to
|
|
|
|
// track staking rewards across blocks
|
|
|
|
StakingRewardsState staking_rewards_state = 2 [(gogoproto.nullable) = false];
|
2023-09-22 16:05:12 +00:00
|
|
|
}
|