Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2025-05-18 11:43:37 +03:30
parent a5b3805b2b
commit e2b3b41fbb
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F

View File

@ -583,12 +583,12 @@ message BuyAssetReq {
message DeclineBuyContractReq { message DeclineBuyContractReq {
auth.v1.InternalIAM iam = 1; auth.v1.InternalIAM iam = 1;
uint64 aggreement_id = 2; uint64 agreement_id = 2;
} }
message ConfirmBuyAssetReq { message ConfirmBuyAssetReq {
auth.v1.InternalIAM iam = 1; auth.v1.InternalIAM iam = 1;
uint64 aggreement_id = 2; // Only in asset that require agreement contract uint64 agreement_id = 2; // Only in asset that require agreement contract
optional auth.v1.TFA tfa = 3; // This might be used in the future optional auth.v1.TFA tfa = 3; // This might be used in the future
} }
@ -620,9 +620,10 @@ enum ContractType {
CONTRACT_TYPE_REDEEM = 3; CONTRACT_TYPE_REDEEM = 3;
} }
//agreement_id
message ContractRes { message ContractRes {
string link = 1; string link = 1;
uint64 aggreement_id = 2; uint64 agreement_id = 2;
uint64 transaction_id = 3; uint64 transaction_id = 3;
string contract_hash = 4; string contract_hash = 4;
string contract_content = 5; string contract_content = 5;