Skip to content

Commit

Permalink
use enum for service provider
Browse files Browse the repository at this point in the history
  • Loading branch information
andymck committed Dec 8, 2023
1 parent 64f4f2c commit 5584f70
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/service/poc_mobile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,14 @@ message subscriber_reward {
uint64 discovery_location_amount = 2;
}

enum service_provider {
service_provider_helium_mobile = 0;
}

message service_provider_reward {
// rewardable entity id of the service provider to which the reward will be
// credited
string service_provider_id = 1;
service_provider service_provider_id = 1;
/// Amount in bones rewarded
uint64 amount = 2;
}
Expand Down

0 comments on commit 5584f70

Please sign in to comment.