V2: updating to new proto schema. domain seperated packages #36

Merged
nfel merged 327 commits from v2 into dev 2026-07-21 10:59:54 +00:00
Showing only changes of commit e5886d2e86 - Show all commits
+6 -1
View File
@@ -35,7 +35,7 @@ message CalcMarketReq {
double amount = 4; double amount = 4;
double unit_price = 5; double unit_price = 5;
MarketParticipantType participant_type = 6; 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 { message CalcMarketRes {
@@ -112,6 +112,11 @@ message MarketOrderList {
uint32 total_count = 4; uint32 total_count = 4;
} }
/*
* participant_type: IS Maker/Taker
* side: IS Buying/Selling
* req_side: IS input (amount) in irt/asset
* */
message NewMarketReq { message NewMarketReq {
auth.v1.InternalIAM iam = 1; auth.v1.InternalIAM iam = 1;
int64 asset_id = 2; int64 asset_id = 2;