Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub mod services {
use crate::{
BlockchainRegionParamsV1, BlockchainTokenTypeV1, BlockchainTxn, BoostedHexInfoV1, DataRate,
Decimal, EntropyReportV1, GatewayStakingMode, MapperAttach, Region, RoutingAddress,
ServiceProvider, ServiceProviderPromotions,
ServiceProvider, ServiceProviderPromotions, ServiceProviderRewardType
};

pub mod sub_dao {
Expand Down
3 changes: 3 additions & 0 deletions src/service/poc_mobile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,9 @@ message service_provider_reward {
service_provider service_provider_id = 1;
/// Amount in bones rewarded
uint64 amount = 2;
// the service provider type representing the wallet which the reward will
// be credited
service_provider_reward_type service_provider_reward_type = 3;
Comment thread
connormck333 marked this conversation as resolved.
Outdated
}

enum unallocated_reward_type {
Expand Down
5 changes: 5 additions & 0 deletions src/service_provider.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ package helium;
enum service_provider {
helium_mobile = 0;
}

enum service_provider_reward_type {
network = 0;
subscriber = 1;
}
Loading