v2: optional ( nil means supported for all types of coin )

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2025-04-08 12:11:05 +03:30
parent 180b98a282
commit 56296a2de5
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F

View File

@ -487,7 +487,7 @@ message AssetDiscountRes {
string expires_at = 3; string expires_at = 3;
double static_amount = 4; double static_amount = 4;
double percentage = 5; double percentage = 5;
int64 supported_asset = 6; optional int64 supported_asset = 6;
optional double discount_amount = optional double discount_amount =
7; // based of asset price and discount amount in req 7; // based of asset price and discount amount in req
} }