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 2715b6788f - Show all commits
+2
View File
@@ -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
}