v2: aggreement_id added

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2025-05-11 16:21:28 +03:30
parent ff0cfdacaa
commit b917ccdaa8
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F

View File

@ -551,7 +551,7 @@ message BuyAssetReq {
double amount_irt = 3; double amount_irt = 3;
double amount_asset = 4; double amount_asset = 4;
BuyAssetSide side = 5; BuyAssetSide side = 5;
optional uint64 contract_id = 6; // Only in asset that require agreement contract optional uint64 aggreement_id = 6; // Only in asset that require agreement contract
optional string discount_code = 7; optional string discount_code = 7;
optional auth.v1.TFA tfa = 8; // This might be used in the future optional auth.v1.TFA tfa = 8; // This might be used in the future
} }
@ -599,7 +599,7 @@ message GenerateContractReq {
message ContractRes { message ContractRes {
string link = 1; string link = 1;
uint64 contract_id = 2; uint64 aggreement_id = 2;
string contract_hash = 3; string contract_hash = 3;
string contract_content = 4; string contract_content = 4;
} }