v2: transaction + counter asset
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
066110edaa
commit
1bca5f3c0c
@ -51,9 +51,11 @@ message PurchaseReq {
|
||||
}
|
||||
message PurchaseRes {
|
||||
uint64 order_id = 1;
|
||||
uint64 trx_id = 2;
|
||||
double calculated_amount = 3;
|
||||
MarketOrderStatus status = 4;
|
||||
optional uint64 trx_id = 2;
|
||||
double req_amount = 3;
|
||||
double commission_amount = 4;
|
||||
double calculated_amount = 5;
|
||||
MarketOrderStatus status = 6;
|
||||
}
|
||||
|
||||
message MarketOrderList {
|
||||
@ -65,11 +67,12 @@ message NewMarketReq {
|
||||
auth.v1.InternalIAM iam = 1;
|
||||
// wallet.v1.Asset asset = 2;
|
||||
int64 asset_id = 2;
|
||||
double amount = 3;
|
||||
double unit_price = 4;
|
||||
MarketOrderSide side = 5;
|
||||
optional auth.v1.TFA tfa = 6;
|
||||
optional bool accepted_contract = 7;
|
||||
int64 counter_asset_id = 3;
|
||||
double amount = 4;
|
||||
double unit_price = 5;
|
||||
MarketOrderSide side = 6;
|
||||
optional auth.v1.TFA tfa = 7;
|
||||
optional bool accepted_contract = 8;
|
||||
}
|
||||
|
||||
enum MarketOrderSide {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user