Skip to content

Commit

Permalink
support unallocated reward type in iot
Browse files Browse the repository at this point in the history
  • Loading branch information
andymck committed Jan 2, 2024
1 parent 5e38bab commit bfb7ac5
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_mapper = 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 bones 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 bfb7ac5

Please sign in to comment.