@loafmarkets/shared-types 1.0.24 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/proto/trading.proto +25 -19
package/package.json
CHANGED
package/proto/trading.proto
CHANGED
|
@@ -18,6 +18,9 @@ message Order {
|
|
|
18
18
|
string wallet_address = 12;
|
|
19
19
|
string nonce = 13;
|
|
20
20
|
int64 created_at = 14;
|
|
21
|
+
int64 maker_fee = 15;
|
|
22
|
+
int64 taker_fee = 16;
|
|
23
|
+
|
|
21
24
|
}
|
|
22
25
|
|
|
23
26
|
enum OrderSide {
|
|
@@ -55,25 +58,26 @@ message TradeExecution {
|
|
|
55
58
|
string property_token_address = 5;
|
|
56
59
|
double price = 6;
|
|
57
60
|
double quantity = 7;
|
|
58
|
-
double
|
|
59
|
-
|
|
60
|
-
string
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
int64
|
|
64
|
-
|
|
65
|
-
string
|
|
66
|
-
string
|
|
67
|
-
string
|
|
68
|
-
string
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
uint32
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
uint32
|
|
76
|
-
|
|
61
|
+
double buyer_fee = 8;
|
|
62
|
+
double seller_fee = 9;
|
|
63
|
+
string buyer_wallet = 10;
|
|
64
|
+
string seller_wallet = 11;
|
|
65
|
+
OrderSide side = 12;
|
|
66
|
+
int64 timestamp = 13;
|
|
67
|
+
int64 deadline = 14;
|
|
68
|
+
string buyer_nonce = 15;
|
|
69
|
+
string seller_nonce = 16;
|
|
70
|
+
string buyer_signature = 17;
|
|
71
|
+
string seller_signature = 18;
|
|
72
|
+
string cpp_signature = 19;
|
|
73
|
+
uint64 buy_price = 20;
|
|
74
|
+
uint32 buy_quantity = 21;
|
|
75
|
+
uint32 buy_quantity_remaining = 22;
|
|
76
|
+
int64 buy_deadline = 23;
|
|
77
|
+
uint64 sell_price = 24;
|
|
78
|
+
uint32 sell_quantity = 25;
|
|
79
|
+
uint32 sell_quantity_remaining = 26;
|
|
80
|
+
int64 sell_deadline = 27;
|
|
77
81
|
}
|
|
78
82
|
|
|
79
83
|
// Order book
|
|
@@ -127,6 +131,8 @@ message SubmitOrderRequest {
|
|
|
127
131
|
string signature = 10;
|
|
128
132
|
string wallet_address = 11;
|
|
129
133
|
string nonce = 12;
|
|
134
|
+
int64 maker_fee = 13;
|
|
135
|
+
int64 taker_fee = 14;
|
|
130
136
|
}
|
|
131
137
|
|
|
132
138
|
message SubmitOrderResponse {
|