Skip to content

Commit

Permalink
Merge pull request #384 from helium/andymck/iot-unallocated-rewards
Browse files Browse the repository at this point in the history
iot unallocated rewards
  • Loading branch information
andymck authored Jan 7, 2024
2 parents ed455af + 96d71c0 commit a7c24d0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/service/poc_lora.proto
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,21 @@ message operational_reward {
uint64 amount = 1;
}

enum unallocated_reward_type {
unallocated_reward_type_poc = 0;
unallocated_reward_type_operation = 1;
unallocated_reward_type_oracle = 2;
unallocated_reward_type_data = 3;
}

message unallocated_reward {
// the reward type representing a reward category to which an unallocated
// amount exists
unallocated_reward_type reward_type = 1;
/// Amount in iot bones credited to unallocated
uint64 amount = 2;
}

message iot_reward_share {
/// Unix timestamp in seconds of the start of the reward period
uint64 start_period = 1;
Expand All @@ -246,6 +261,7 @@ message iot_reward_share {
oneof reward {
gateway_reward gateway_reward = 3;
operational_reward operational_reward = 4;
unallocated_reward unallocated_reward = 5;
}
}

Expand Down

0 comments on commit a7c24d0

Please sign in to comment.