Phase 6: Deprecation cleanup + ConfigurationService MagicWallet

- Mark PurchaseGoldenPackage/VerifyGoldenPackagePurchase RPCs as deprecated
- Mark InitiateBasePackagePayment/VerifyBasePackagePayment RPCs as deprecated
- Remove deprecated SystemConstants from GetAllAsDict/GetAllWithDescriptions helpers
- Add MagicWallet per-package values to ConfigurationService (Multiplier, MaxDeposit, MaxCredit)
- All deprecated constants have zero active code usages — safe dead code
This commit is contained in:
masoodafar-web
2026-02-26 01:10:43 +03:30
parent 7176fe44ee
commit d19c569aae
3 changed files with 22 additions and 26 deletions
@@ -44,14 +44,16 @@ service PackageContract
};
};
// Package Purchase System
// Package Purchase System (Legacy — use Customer* RPCs instead)
rpc PurchaseGoldenPackage(PurchaseGoldenPackageRequest) returns (PurchaseGoldenPackageResponse){
option deprecated = true;
option (google.api.http) = {
post: "/PurchaseGoldenPackage"
body: "*"
};
};
rpc VerifyGoldenPackagePurchase(VerifyGoldenPackagePurchaseRequest) returns (VerifyGoldenPackagePurchaseResponse){
option deprecated = true;
option (google.api.http) = {
post: "/VerifyGoldenPackagePurchase"
body: "*"
@@ -63,14 +65,16 @@ service PackageContract
};
};
// Base Package Payment (56M)
// Base Package Payment (Legacy — migrate to Customer* RPCs, then remove)
rpc InitiateBasePackagePayment(InitiateBasePackagePaymentRequest) returns (InitiateBasePackagePaymentResponse){
option deprecated = true;
option (google.api.http) = {
post: "/InitiateBasePackagePayment"
body: "*"
};
};
rpc VerifyBasePackagePayment(VerifyBasePackagePaymentRequest) returns (VerifyBasePackagePaymentResponse){
option deprecated = true;
option (google.api.http) = {
post: "/VerifyBasePackagePayment"
body: "*"