v2: effective commission added
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
55d534bf1d
commit
ad16ac391b
@ -446,13 +446,20 @@ message NetworkList {
|
|||||||
message Commission {
|
message Commission {
|
||||||
uint64 id = 1;
|
uint64 id = 1;
|
||||||
string name = 2;
|
string name = 2;
|
||||||
double service = 3;
|
double service_static = 3;
|
||||||
double tax = 4;
|
double service_percentage = 4;
|
||||||
double total = 5;
|
double tax_static = 5;
|
||||||
optional string collector = 6;
|
double tax_percentage = 6;
|
||||||
optional string description = 7;
|
optional string collector = 7;
|
||||||
string updated_at = 10;
|
optional string description = 8;
|
||||||
string created_at = 11;
|
string updated_at = 9;
|
||||||
|
string created_at = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EffectiveCommission {
|
||||||
|
double service = 1;
|
||||||
|
double tax = 2;
|
||||||
|
double total = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -562,7 +569,7 @@ message CalcBuyAssetRes {
|
|||||||
int64 calculated_irt_amount = 2;
|
int64 calculated_irt_amount = 2;
|
||||||
double calculated_asset_amount = 3;
|
double calculated_asset_amount = 3;
|
||||||
AssetDiscountRes discount_amount = 4;
|
AssetDiscountRes discount_amount = 4;
|
||||||
Commission commission = 5;
|
EffectiveCommission commission = 5;
|
||||||
// double buy_min_amount = 7;
|
// double buy_min_amount = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user