From 2715b6788f497aa916978280514674d094f2661e Mon Sep 17 00:00:00 2001 From: nfel Date: Sat, 5 Apr 2025 13:55:04 +0330 Subject: [PATCH] v2: added amount to discount Signed-off-by: nfel --- wallet/v1/msg.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wallet/v1/msg.proto b/wallet/v1/msg.proto index 510fe69..221b3ec 100644 --- a/wallet/v1/msg.proto +++ b/wallet/v1/msg.proto @@ -492,6 +492,7 @@ message LockAssetReq { message AssetDiscountReq { string code = 1; string asset_id = 2; + optional double amount = 3; // calculate discount amount } message AssetDiscountRes { @@ -499,4 +500,5 @@ message AssetDiscountRes { string expires_at = 2; double static_amount = 3; double percentage = 4; + optional double discount_amount = 5; // based of asset price and discount amount in req }