2023-09-22 16:05:12 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package kava.community.v1beta1;
|
|
|
|
|
|
|
|
import "cosmos_proto/cosmos.proto";
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
|
2024-08-03 09:51:56 +00:00
|
|
|
option go_package = "github.com/0glabs/0g-chain/x/community/types";
|
2023-09-22 16:05:12 +00:00
|
|
|
|
|
|
|
// Params defines the parameters of the community module.
|
|
|
|
message Params {
|
2023-10-11 17:22:25 +00:00
|
|
|
option (gogoproto.equal) = true;
|
|
|
|
|
2023-09-22 16:05:12 +00:00
|
|
|
// upgrade_time_disable_inflation is the time at which to disable mint and kavadist module inflation.
|
|
|
|
// If set to 0, inflation will be disabled from block 1.
|
|
|
|
google.protobuf.Timestamp upgrade_time_disable_inflation = 1 [
|
|
|
|
(gogoproto.stdtime) = true,
|
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
|
|
|
|
|
|
|
// staking_rewards_per_second is the amount paid out to delegators each block from the community account
|
|
|
|
string staking_rewards_per_second = 2 [
|
2023-09-26 17:08:26 +00:00
|
|
|
(cosmos_proto.scalar) = "cosmos.Dec",
|
|
|
|
(gogoproto.customtype) = "cosmossdk.io/math.LegacyDec",
|
2023-09-22 16:05:12 +00:00
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
2023-10-03 15:41:54 +00:00
|
|
|
|
|
|
|
// upgrade_time_set_staking_rewards_per_second is the initial staking_rewards_per_second to set
|
|
|
|
// and use when the disable inflation time is reached
|
|
|
|
string upgrade_time_set_staking_rewards_per_second = 3 [
|
|
|
|
(cosmos_proto.scalar) = "cosmos.Dec",
|
|
|
|
(gogoproto.customtype) = "cosmossdk.io/math.LegacyDec",
|
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
2023-09-22 16:05:12 +00:00
|
|
|
}
|