From a5b3805b2b50d52dc51d896b9ab9c1f98ac8201d Mon Sep 17 00:00:00 2001 From: nfel Date: Sun, 18 May 2025 11:41:46 +0330 Subject: [PATCH] v2: changed effective amount Signed-off-by: nfel --- wallet/v1/msg.proto | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/wallet/v1/msg.proto b/wallet/v1/msg.proto index f5aa814..7ad9f97 100644 --- a/wallet/v1/msg.proto +++ b/wallet/v1/msg.proto @@ -166,7 +166,7 @@ message AssetDiscountRes { double static_amount = 4; double percentage = 5; 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; } @@ -581,9 +581,9 @@ message BuyAssetReq { optional string discount_code = 6; } -message DeclineBuyContractReq{ +message DeclineBuyContractReq { auth.v1.InternalIAM iam = 1; - uint64 aggreement_id = 2; + uint64 aggreement_id = 2; } message ConfirmBuyAssetReq { @@ -620,7 +620,6 @@ enum ContractType { CONTRACT_TYPE_REDEEM = 3; } - message ContractRes { string link = 1; uint64 aggreement_id = 2;