diff --git a/wallet/v1/msg.proto b/wallet/v1/msg.proto index 9c8a638..e7a63de 100644 --- a/wallet/v1/msg.proto +++ b/wallet/v1/msg.proto @@ -600,6 +600,15 @@ message ReferrerCommissionLogsList { uint32 total_count = 4; } +message TotalReferralCommissionIn { + int64 referrer_id = 1; +} + +message TotalReferralCommissionOut { + double claimed = 1; + double unclaimed = 2; +} + /* * IPG - Internet Payment Gateway * 1. Get Token diff --git a/wallet/v1/srv.proto b/wallet/v1/srv.proto index 32e1d2f..6db73b9 100644 --- a/wallet/v1/srv.proto +++ b/wallet/v1/srv.proto @@ -26,6 +26,7 @@ service WalletService { // Commission Logs rpc GetReferrerCommissionLogsList(auth.v1.InternalIAM) returns (ReferrerCommissionLogsList); + rpc GetTotalReferralCommission(TotalReferralCommissionIn) returns (TotalReferralCommissionOut); // Get Token from IPG is and internal api rpc IPGGetToken(IPGGetTokenReq) returns (IPGGetTokenRes);