Compare commits

..

No commits in common. "b133fd5fed1d70aac7b4ba25a42dcc353941c2c7" and "39afba396d4dcf4eeeeb72d0caaae794e01a7d24" have entirely different histories.

2 changed files with 4 additions and 5 deletions

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 optional wallet.v1.BuyAssetSide req_side = 7; // For Calculation : can be from asset or irt
} }
message CalcMarketRes { message CalcMarketRes {
@ -124,7 +124,6 @@ message NewMarketReq {
wallet.v1.BuyAssetSide req_side = 7; wallet.v1.BuyAssetSide req_side = 7;
MarketOrderSide side = 8; MarketOrderSide side = 8;
// TODO: maker market order as optional // TODO: maker market order as optional
optional uint64 maker_order_id = 9;
} }
enum MarketOrdersSortBy { enum MarketOrdersSortBy {

View File

@ -690,11 +690,11 @@ message BuyAssetRes {
/* Contract */ /* Contract */
enum ContractType { enum ContractType {
CONTRACT_TYPE_ICO = 0; CONTRACT_TYPE_ICO = 0;
CONTRACT_TYPE_MARKET = 1; //FIXME: Please remove this :) CONTRACT_TYPE_MARKET = 1;
CONTRACT_TYPE_BNPL = 2; CONTRACT_TYPE_BNPL = 2;
CONTRACT_TYPE_REDEEM = 3; CONTRACT_TYPE_REDEEM = 3;
CONTRACT_TYPE_MARKET_MAKER = 4; CONTRACT_TYPE_MARKE_MAKER = 4;
CONTRACT_TYPE_MARKET_TAKER = 5; CONTRACT_TYPE_MARKE_TAKER = 5;
} }
// agreement_id // agreement_id