Compare commits

..

4 Commits

Author SHA1 Message Date
nfel f9ef69113a Removed unnecessary enum 2025-08-09 11:32:01 +03:30
nfel 4154200991 Merge pull request 'change to [maker/taker]' (#30) from ref/tfa_enum into v2
Reviewed-on: #30
2025-08-07 18:08:53 +00:00
VQIVS 7a886e094e change to [maker/taker] 2025-08-07 19:01:29 +03:30
nfel 488d624a52 v2: source removed in favour of maker_order
Signed-off-by: nfel <nfilsaraee@gmail.com>
2025-08-05 15:17:02 +03:30
2 changed files with 10 additions and 11 deletions
+5 -5
View File
@@ -34,7 +34,7 @@ message PermissionList {
repeated Permission list = 1;
uint32 page_no = 2;
uint32 page_size = 3;
uint32 total_count = 4;
uint32 total_count = 4;
}
/*
@@ -206,7 +206,7 @@ message BankInfoList {
repeated BankInfo list = 1;
uint32 page_no = 2;
uint32 page_size = 3;
uint32 total_count = 4;
uint32 total_count = 4;
}
// Status 0: Fail Verify, 1: Verified, 2: Does not Match user's credential , 3:
@@ -266,8 +266,8 @@ enum TfaStateEnum {
INTERNAL_TRANSFER = 2;
EXTERNAL_TRANSFER = 3;
REDEEM_TOKEN = 4;
MARKET_PLACE_PURCHASE = 5;
MARKET_PLACE_ORDER_CREATE = 6;
MARKET_PLACE_MAKER = 5;
MARKET_PLACE_TAKER = 6;
MARKET_PLACE_ORDER_CANCEL = 7;
IRT_WITHDRAWAL = 8;
IRT_DEPOSIT = 9;
@@ -300,5 +300,5 @@ message BasicUserInfoList {
repeated BasicUserInfo list = 1;
uint32 page_no = 2;
uint32 page_size = 3;
uint32 total_count = 4;
uint32 total_count = 4;
}
+5 -6
View File
@@ -71,7 +71,6 @@ message MarketOrder {
repeated string tags = 20;
repeated string comment = 21;
optional MarketOrder source = 22; // purchase is done via this field
optional uint64 maker_order_id = 23;
// repeated string attachments = 14; // possible files included by
// seller/buyer
}
@@ -158,13 +157,13 @@ message OrderListFilter {
optional uint64 order_id = 11;
optional uint64 trx_id = 12;
optional bool is_public = 13;
optional bool has_source = 14;
optional uint64 source_order_id = 15;
optional uint64 maker_order_id = 15;
optional string from_date = 16;
optional string to_date = 17;
optional MarketOrdersSortBy sort_by = 18;
optional uint32 page_no = 19;
optional uint32 page_size = 20;
optional MarketParticipantType participant_type = 18;
optional MarketOrdersSortBy sort_by = 19;
optional uint32 page_no = 21;
optional uint32 page_size = 22;
}
/* Contract */