Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2025-08-05 12:46:46 +03:30
parent b133fd5fed
commit e5886d2e86
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F

View File

@ -35,7 +35,7 @@ message CalcMarketReq {
double amount = 4;
double unit_price = 5;
MarketParticipantType participant_type = 6;
market.v1.MarketOrderSide req_side = 7; // For Calculation : can be from asset or irt
wallet.v1.BuyAssetSide req_side = 7; // For Calculation : can be from asset or irt
}
message CalcMarketRes {
@ -112,6 +112,11 @@ message MarketOrderList {
uint32 total_count = 4;
}
/*
* participant_type: IS Maker/Taker
* side: IS Buying/Selling
* req_side: IS input (amount) in irt/asset
* */
message NewMarketReq {
auth.v1.InternalIAM iam = 1;
int64 asset_id = 2;