v2: asset meta changes

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2025-05-20 16:12:58 +03:30
parent bba9c90c6e
commit 206836156a
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F

View File

@ -166,7 +166,8 @@ 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 effective_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;
} }
@ -196,6 +197,18 @@ message PropertyMeta {
string completion_date = 10; string completion_date = 10;
string user_agreement_url = 11; string user_agreement_url = 11;
string location_image = 12; string location_image = 12;
PropertyDetail detail = 13;
}
message PropertyDetail {
repeated Content badge = 1; // 2>
repeated Content content = 2; // 4>
}
message Content {
string label = 1;
string value = 2;
string value_type = 3;
} }
// Used for both locking and releasing asset :) // Used for both locking and releasing asset :)
@ -620,7 +633,7 @@ enum ContractType {
CONTRACT_TYPE_REDEEM = 3; CONTRACT_TYPE_REDEEM = 3;
} }
//agreement_id // agreement_id
message ContractRes { message ContractRes {
string link = 1; string link = 1;
uint64 agreement_id = 2; uint64 agreement_id = 2;