V2: updating to new proto schema. domain seperated packages #36

Merged
nfel merged 327 commits from v2 into dev 2026-07-21 10:59:54 +00:00
Showing only changes of commit a5b3805b2b - Show all commits
+2 -3
View File
@@ -166,7 +166,7 @@ message AssetDiscountRes {
double static_amount = 4; double static_amount = 4;
double percentage = 5; double percentage = 5;
double max_amount = 6; double max_amount = 6;
double discount_amount = 7; // based of asset price and discount amount in req double effective_amount = 7; // based of asset price and discount amount in req
optional int64 supported_asset = 8; optional int64 supported_asset = 8;
} }
@@ -581,7 +581,7 @@ message BuyAssetReq {
optional string discount_code = 6; optional string discount_code = 6;
} }
message DeclineBuyContractReq{ message DeclineBuyContractReq {
auth.v1.InternalIAM iam = 1; auth.v1.InternalIAM iam = 1;
uint64 aggreement_id = 2; uint64 aggreement_id = 2;
} }
@@ -620,7 +620,6 @@ enum ContractType {
CONTRACT_TYPE_REDEEM = 3; CONTRACT_TYPE_REDEEM = 3;
} }
message ContractRes { message ContractRes {
string link = 1; string link = 1;
uint64 aggreement_id = 2; uint64 aggreement_id = 2;