Skip to content

Commit

Permalink
docs: add percentage to reward amount
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpioborn committed Apr 18, 2024
1 parent c2ff4e2 commit 789ce50
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions docs/specs/Reward/04_State.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,14 +254,14 @@ message Reward {
// RewardAmount
message RewardAmount {
// main_account_reward amount transferred to main account address
// main_account_amount transferred to main account address
string main_account_amount = 1 [
(gogoproto.customtype) = "cosmossdk.io/math.Int",
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"main_account_amount\""
];
// sub_account reward amount transferred to subaccount address
// subaccount_amount transferred to subaccount address
string subaccount_amount = 2 [
(gogoproto.customtype) = "cosmossdk.io/math.Int",
(gogoproto.nullable) = false,
Expand All @@ -274,6 +274,20 @@ message RewardAmount {
(gogoproto.jsontag) = "unlock_period",
json_name = "unlock_period"
];
// main_account_percentage transferred to main account address
string main_account_percentage = 4 [
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"main_account_percentage\""
];
// subaccount_percentage amount transferred to subaccount address
string subaccount_percentage = 5 [
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"subaccount_percentage\""
];
}
// RewardByCategory
Expand Down

0 comments on commit 789ce50

Please sign in to comment.