Skip to content

Commit

Permalink
feat: update params
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyasbhat0 committed Sep 18, 2024
1 parent 3bb1867 commit e4ffd8a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 23 deletions.
4 changes: 2 additions & 2 deletions proto/arkeo/arkeo/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ option go_package = "github.com/arkeonetwork/arkeo/x/arkeo/types";
// Params defines the parameters for the module.
message Params {
option (gogoproto.goproto_stringer) = false;
string CommunityPoolPercentage= 1 [(cosmos_proto.scalar) = "cosmos.LegacyDec", (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", (gogoproto.nullable) = false];
string CommunityPoolPercentage= 1 [(cosmos_proto.scalar) = "cosmos.LegacyDec", (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", (gogoproto.nullable) = false];
string DevFundPercentage= 2 [(cosmos_proto.scalar) = "cosmos.LegacyDec", (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", (gogoproto.nullable) = false];
string ValidatorRewardsPercentage= 3 [(cosmos_proto.scalar) = "cosmos.LegacyDec", (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", (gogoproto.nullable) = false];
string GrantFundPercentage= 3 [(cosmos_proto.scalar) = "cosmos.LegacyDec", (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", (gogoproto.nullable) = false];
}
6 changes: 3 additions & 3 deletions x/arkeo/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ func ParamKeyTable() paramtypes.KeyTable {
// NewParams creates a new Params instance
func NewParams() Params {
return Params{
CommunityPoolPercentage: math.LegacyNewDecWithPrec(10, 2),
DevFundPercentage: math.LegacyNewDecWithPrec(20, 2),
ValidatorRewardsPercentage: math.LegacyNewDecWithPrec(70, 2),
CommunityPoolPercentage: math.LegacyNewDecWithPrec(10, 2),
DevFundPercentage: math.LegacyNewDecWithPrec(20, 2),
GrantFundPercentage: math.LegacyNewDecWithPrec(20, 2),
}
}

Expand Down
35 changes: 17 additions & 18 deletions x/arkeo/types/params.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e4ffd8a

Please sign in to comment.