v2: changed effective amount
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
d9c2be7657
commit
a5b3805b2b
@ -166,7 +166,7 @@ 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 discount_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;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -581,7 +581,7 @@ message BuyAssetReq {
|
|||||||
optional string discount_code = 6;
|
optional string discount_code = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
message DeclineBuyContractReq{
|
message DeclineBuyContractReq {
|
||||||
auth.v1.InternalIAM iam = 1;
|
auth.v1.InternalIAM iam = 1;
|
||||||
uint64 aggreement_id = 2;
|
uint64 aggreement_id = 2;
|
||||||
}
|
}
|
||||||
@ -620,7 +620,6 @@ enum ContractType {
|
|||||||
CONTRACT_TYPE_REDEEM = 3;
|
CONTRACT_TYPE_REDEEM = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
message ContractRes {
|
message ContractRes {
|
||||||
string link = 1;
|
string link = 1;
|
||||||
uint64 aggreement_id = 2;
|
uint64 aggreement_id = 2;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user