@o2exchange/contracts 0.2.0 → 0.2.3-rc
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/dist/contracts/LinkedListTest.d.ts +67 -24
- package/dist/contracts/LinkedListTest.d.ts.map +1 -1
- package/dist/contracts/LinkedListTest.js +122 -57
- package/dist/contracts/LinkedListTest.js.map +1 -1
- package/dist/contracts/LinkedListTestFactory.js +1 -1
- package/dist/contracts/LinkedListTestFactory.js.map +1 -1
- package/dist/contracts/OrderBook.d.ts +217 -13
- package/dist/contracts/OrderBook.d.ts.map +1 -1
- package/dist/contracts/OrderBook.js +1049 -178
- package/dist/contracts/OrderBook.js.map +1 -1
- package/dist/contracts/OrderBookFactory.js +1 -1
- package/dist/contracts/OrderBookFactory.js.map +1 -1
- package/package.json +1 -1
|
@@ -18,6 +18,28 @@ export var AccessErrorOutput;
|
|
|
18
18
|
AccessErrorOutput["NotOwner"] = "NotOwner";
|
|
19
19
|
})(AccessErrorOutput || (AccessErrorOutput = {}));
|
|
20
20
|
;
|
|
21
|
+
export var EjectionReasonInput;
|
|
22
|
+
(function (EjectionReasonInput) {
|
|
23
|
+
EjectionReasonInput["Activated"] = "Activated";
|
|
24
|
+
EjectionReasonInput["CanceledByTheUser"] = "CanceledByTheUser";
|
|
25
|
+
EjectionReasonInput["ForceCanceled"] = "ForceCanceled";
|
|
26
|
+
EjectionReasonInput["SiblingOrderActivated"] = "SiblingOrderActivated";
|
|
27
|
+
EjectionReasonInput["NotEnoughFunds"] = "NotEnoughFunds";
|
|
28
|
+
EjectionReasonInput["EjectedByAdmin"] = "EjectedByAdmin";
|
|
29
|
+
EjectionReasonInput["ParentOrderCanceled"] = "ParentOrderCanceled";
|
|
30
|
+
})(EjectionReasonInput || (EjectionReasonInput = {}));
|
|
31
|
+
;
|
|
32
|
+
export var EjectionReasonOutput;
|
|
33
|
+
(function (EjectionReasonOutput) {
|
|
34
|
+
EjectionReasonOutput["Activated"] = "Activated";
|
|
35
|
+
EjectionReasonOutput["CanceledByTheUser"] = "CanceledByTheUser";
|
|
36
|
+
EjectionReasonOutput["ForceCanceled"] = "ForceCanceled";
|
|
37
|
+
EjectionReasonOutput["SiblingOrderActivated"] = "SiblingOrderActivated";
|
|
38
|
+
EjectionReasonOutput["NotEnoughFunds"] = "NotEnoughFunds";
|
|
39
|
+
EjectionReasonOutput["EjectedByAdmin"] = "EjectedByAdmin";
|
|
40
|
+
EjectionReasonOutput["ParentOrderCanceled"] = "ParentOrderCanceled";
|
|
41
|
+
})(EjectionReasonOutput || (EjectionReasonOutput = {}));
|
|
42
|
+
;
|
|
21
43
|
export var FeeErrorInput;
|
|
22
44
|
(function (FeeErrorInput) {
|
|
23
45
|
FeeErrorInput["NoFeesAvailable"] = "NoFeesAvailable";
|
|
@@ -46,6 +68,7 @@ export var OrderBookInitializationErrorInput;
|
|
|
46
68
|
OrderBookInitializationErrorInput["InvalidPricePrecision"] = "InvalidPricePrecision";
|
|
47
69
|
OrderBookInitializationErrorInput["OwnerNotSet"] = "OwnerNotSet";
|
|
48
70
|
OrderBookInitializationErrorInput["InvalidMinOrder"] = "InvalidMinOrder";
|
|
71
|
+
OrderBookInitializationErrorInput["InvalidTriggerMaxSlippage"] = "InvalidTriggerMaxSlippage";
|
|
49
72
|
})(OrderBookInitializationErrorInput || (OrderBookInitializationErrorInput = {}));
|
|
50
73
|
;
|
|
51
74
|
export var OrderBookInitializationErrorOutput;
|
|
@@ -56,6 +79,7 @@ export var OrderBookInitializationErrorOutput;
|
|
|
56
79
|
OrderBookInitializationErrorOutput["InvalidPricePrecision"] = "InvalidPricePrecision";
|
|
57
80
|
OrderBookInitializationErrorOutput["OwnerNotSet"] = "OwnerNotSet";
|
|
58
81
|
OrderBookInitializationErrorOutput["InvalidMinOrder"] = "InvalidMinOrder";
|
|
82
|
+
OrderBookInitializationErrorOutput["InvalidTriggerMaxSlippage"] = "InvalidTriggerMaxSlippage";
|
|
59
83
|
})(OrderBookInitializationErrorOutput || (OrderBookInitializationErrorOutput = {}));
|
|
60
84
|
;
|
|
61
85
|
export var OrderCancelErrorInput;
|
|
@@ -96,6 +120,80 @@ export var SideOutput;
|
|
|
96
120
|
SideOutput["Sell"] = "Sell";
|
|
97
121
|
})(SideOutput || (SideOutput = {}));
|
|
98
122
|
;
|
|
123
|
+
export var TriggerOrderCancelErrorInput;
|
|
124
|
+
(function (TriggerOrderCancelErrorInput) {
|
|
125
|
+
TriggerOrderCancelErrorInput["NotOrderOwner"] = "NotOrderOwner";
|
|
126
|
+
TriggerOrderCancelErrorInput["TraderNotBlacklisted"] = "TraderNotBlacklisted";
|
|
127
|
+
TriggerOrderCancelErrorInput["OrderDoesNotExist"] = "OrderDoesNotExist";
|
|
128
|
+
})(TriggerOrderCancelErrorInput || (TriggerOrderCancelErrorInput = {}));
|
|
129
|
+
;
|
|
130
|
+
export var TriggerOrderCancelErrorOutput;
|
|
131
|
+
(function (TriggerOrderCancelErrorOutput) {
|
|
132
|
+
TriggerOrderCancelErrorOutput["NotOrderOwner"] = "NotOrderOwner";
|
|
133
|
+
TriggerOrderCancelErrorOutput["TraderNotBlacklisted"] = "TraderNotBlacklisted";
|
|
134
|
+
TriggerOrderCancelErrorOutput["OrderDoesNotExist"] = "OrderDoesNotExist";
|
|
135
|
+
})(TriggerOrderCancelErrorOutput || (TriggerOrderCancelErrorOutput = {}));
|
|
136
|
+
;
|
|
137
|
+
export var TriggerOrderCreationErrorInput;
|
|
138
|
+
(function (TriggerOrderCreationErrorInput) {
|
|
139
|
+
TriggerOrderCreationErrorInput["InvalidArgs"] = "InvalidArgs";
|
|
140
|
+
TriggerOrderCreationErrorInput["PricePrecision"] = "PricePrecision";
|
|
141
|
+
TriggerOrderCreationErrorInput["InvalidOrderType"] = "InvalidOrderType";
|
|
142
|
+
TriggerOrderCreationErrorInput["InvalidMarketOrderArgs"] = "InvalidMarketOrderArgs";
|
|
143
|
+
TriggerOrderCreationErrorInput["FractionalPrice"] = "FractionalPrice";
|
|
144
|
+
TriggerOrderCreationErrorInput["InvalidAsset"] = "InvalidAsset";
|
|
145
|
+
TriggerOrderCreationErrorInput["InvalidInputAmount"] = "InvalidInputAmount";
|
|
146
|
+
TriggerOrderCreationErrorInput["ZeroTriggerPrice"] = "ZeroTriggerPrice";
|
|
147
|
+
TriggerOrderCreationErrorInput["ZeroLimitPrice"] = "ZeroLimitPrice";
|
|
148
|
+
TriggerOrderCreationErrorInput["QuantityMustBeParentOrder"] = "QuantityMustBeParentOrder";
|
|
149
|
+
TriggerOrderCreationErrorInput["ZeroResolvedQtyOrPrice"] = "ZeroResolvedQtyOrPrice";
|
|
150
|
+
TriggerOrderCreationErrorInput["InvalidParentOrderId"] = "InvalidParentOrderId";
|
|
151
|
+
TriggerOrderCreationErrorInput["ParentOrderIsNotSpot"] = "ParentOrderIsNotSpot";
|
|
152
|
+
TriggerOrderCreationErrorInput["ParentOrderFilled"] = "ParentOrderFilled";
|
|
153
|
+
TriggerOrderCreationErrorInput["ParentOrderNotFound"] = "ParentOrderNotFound";
|
|
154
|
+
TriggerOrderCreationErrorInput["ParentTriggerSlotsExhausted"] = "ParentTriggerSlotsExhausted";
|
|
155
|
+
TriggerOrderCreationErrorInput["ParentOrderOwnerMismatch"] = "ParentOrderOwnerMismatch";
|
|
156
|
+
TriggerOrderCreationErrorInput["TriggerPriceSameAsParent"] = "TriggerPriceSameAsParent";
|
|
157
|
+
TriggerOrderCreationErrorInput["TriggerSideSameAsParent"] = "TriggerSideSameAsParent";
|
|
158
|
+
TriggerOrderCreationErrorInput["SlippageExceedsMax"] = "SlippageExceedsMax";
|
|
159
|
+
TriggerOrderCreationErrorInput["OcoSameTriggerPrice"] = "OcoSameTriggerPrice";
|
|
160
|
+
TriggerOrderCreationErrorInput["OcoNotStopAndTakeProfit"] = "OcoNotStopAndTakeProfit";
|
|
161
|
+
TriggerOrderCreationErrorInput["LimitPriceCrossesParent"] = "LimitPriceCrossesParent";
|
|
162
|
+
TriggerOrderCreationErrorInput["ParentQuantityMismatch"] = "ParentQuantityMismatch";
|
|
163
|
+
TriggerOrderCreationErrorInput["TraderNotWhiteListed"] = "TraderNotWhiteListed";
|
|
164
|
+
TriggerOrderCreationErrorInput["TraderBlackListed"] = "TraderBlackListed";
|
|
165
|
+
})(TriggerOrderCreationErrorInput || (TriggerOrderCreationErrorInput = {}));
|
|
166
|
+
;
|
|
167
|
+
export var TriggerOrderCreationErrorOutput;
|
|
168
|
+
(function (TriggerOrderCreationErrorOutput) {
|
|
169
|
+
TriggerOrderCreationErrorOutput["InvalidArgs"] = "InvalidArgs";
|
|
170
|
+
TriggerOrderCreationErrorOutput["PricePrecision"] = "PricePrecision";
|
|
171
|
+
TriggerOrderCreationErrorOutput["InvalidOrderType"] = "InvalidOrderType";
|
|
172
|
+
TriggerOrderCreationErrorOutput["InvalidMarketOrderArgs"] = "InvalidMarketOrderArgs";
|
|
173
|
+
TriggerOrderCreationErrorOutput["FractionalPrice"] = "FractionalPrice";
|
|
174
|
+
TriggerOrderCreationErrorOutput["InvalidAsset"] = "InvalidAsset";
|
|
175
|
+
TriggerOrderCreationErrorOutput["InvalidInputAmount"] = "InvalidInputAmount";
|
|
176
|
+
TriggerOrderCreationErrorOutput["ZeroTriggerPrice"] = "ZeroTriggerPrice";
|
|
177
|
+
TriggerOrderCreationErrorOutput["ZeroLimitPrice"] = "ZeroLimitPrice";
|
|
178
|
+
TriggerOrderCreationErrorOutput["QuantityMustBeParentOrder"] = "QuantityMustBeParentOrder";
|
|
179
|
+
TriggerOrderCreationErrorOutput["ZeroResolvedQtyOrPrice"] = "ZeroResolvedQtyOrPrice";
|
|
180
|
+
TriggerOrderCreationErrorOutput["InvalidParentOrderId"] = "InvalidParentOrderId";
|
|
181
|
+
TriggerOrderCreationErrorOutput["ParentOrderIsNotSpot"] = "ParentOrderIsNotSpot";
|
|
182
|
+
TriggerOrderCreationErrorOutput["ParentOrderFilled"] = "ParentOrderFilled";
|
|
183
|
+
TriggerOrderCreationErrorOutput["ParentOrderNotFound"] = "ParentOrderNotFound";
|
|
184
|
+
TriggerOrderCreationErrorOutput["ParentTriggerSlotsExhausted"] = "ParentTriggerSlotsExhausted";
|
|
185
|
+
TriggerOrderCreationErrorOutput["ParentOrderOwnerMismatch"] = "ParentOrderOwnerMismatch";
|
|
186
|
+
TriggerOrderCreationErrorOutput["TriggerPriceSameAsParent"] = "TriggerPriceSameAsParent";
|
|
187
|
+
TriggerOrderCreationErrorOutput["TriggerSideSameAsParent"] = "TriggerSideSameAsParent";
|
|
188
|
+
TriggerOrderCreationErrorOutput["SlippageExceedsMax"] = "SlippageExceedsMax";
|
|
189
|
+
TriggerOrderCreationErrorOutput["OcoSameTriggerPrice"] = "OcoSameTriggerPrice";
|
|
190
|
+
TriggerOrderCreationErrorOutput["OcoNotStopAndTakeProfit"] = "OcoNotStopAndTakeProfit";
|
|
191
|
+
TriggerOrderCreationErrorOutput["LimitPriceCrossesParent"] = "LimitPriceCrossesParent";
|
|
192
|
+
TriggerOrderCreationErrorOutput["ParentQuantityMismatch"] = "ParentQuantityMismatch";
|
|
193
|
+
TriggerOrderCreationErrorOutput["TraderNotWhiteListed"] = "TraderNotWhiteListed";
|
|
194
|
+
TriggerOrderCreationErrorOutput["TraderBlackListed"] = "TraderBlackListed";
|
|
195
|
+
})(TriggerOrderCreationErrorOutput || (TriggerOrderCreationErrorOutput = {}));
|
|
196
|
+
;
|
|
99
197
|
const abi = {
|
|
100
198
|
"programType": "contract",
|
|
101
199
|
"specVersion": "1.2",
|
|
@@ -105,6 +203,16 @@ const abi = {
|
|
|
105
203
|
"type": "()",
|
|
106
204
|
"concreteTypeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
107
205
|
},
|
|
206
|
+
{
|
|
207
|
+
"type": "(b256, b256)",
|
|
208
|
+
"concreteTypeId": "bc42ec26f2a17c5b23fc007d96b96bf35f8949ee156afdd789064210d881f7e0",
|
|
209
|
+
"metadataTypeId": 2
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"type": "(b256, b256, enum std::option::Option<b256>)",
|
|
213
|
+
"concreteTypeId": "cdeacf58742dab0aa73fcb9b540d076dab5973f18c48cdd27818f72784feb6f2",
|
|
214
|
+
"metadataTypeId": 3
|
|
215
|
+
},
|
|
108
216
|
{
|
|
109
217
|
"type": "(u64, struct std::time::Time)",
|
|
110
218
|
"concreteTypeId": "3639c0c1fb291a3e7e7ab4d9fe1d6762d6ff0fde0777d0ef8f3799d2f3d70a95",
|
|
@@ -126,65 +234,99 @@ const abi = {
|
|
|
126
234
|
{
|
|
127
235
|
"type": "enum contract_schema::order_book::FeeError",
|
|
128
236
|
"concreteTypeId": "41ffdde08d41a5769627d4e77a60cbf9ef0a0e9194114652b57247e64a9ce7f0",
|
|
129
|
-
"metadataTypeId":
|
|
237
|
+
"metadataTypeId": 5
|
|
130
238
|
},
|
|
131
239
|
{
|
|
132
240
|
"type": "enum contract_schema::order_book::OrderBookInitializationError",
|
|
133
241
|
"concreteTypeId": "7beea8d3e75df4e367b45e1567e03c81f969faef517cea9a4ff938fed6ee9f6a",
|
|
134
|
-
"metadataTypeId":
|
|
242
|
+
"metadataTypeId": 6
|
|
135
243
|
},
|
|
136
244
|
{
|
|
137
245
|
"type": "enum contract_schema::order_book::OrderCancelError",
|
|
138
246
|
"concreteTypeId": "0e7d0742559c4d2c273298fdc0b9b7e9b07f7f944855ca3020dba8617515e2f0",
|
|
139
|
-
"metadataTypeId":
|
|
247
|
+
"metadataTypeId": 7
|
|
140
248
|
},
|
|
141
249
|
{
|
|
142
250
|
"type": "enum contract_schema::order_book::OrderCreationError",
|
|
143
251
|
"concreteTypeId": "a700a0d30e8d2803040dc79b7b7b259d0c308ca5187f6c742da1df21c27bf24a",
|
|
144
|
-
"metadataTypeId":
|
|
252
|
+
"metadataTypeId": 8
|
|
145
253
|
},
|
|
146
254
|
{
|
|
147
255
|
"type": "enum contract_schema::order_book::Side",
|
|
148
256
|
"concreteTypeId": "9a10e2c94a13825d2af23f4a4743379feba2acfcec8e2d775e945c5452e84708",
|
|
149
|
-
"metadataTypeId":
|
|
257
|
+
"metadataTypeId": 10
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"type": "enum contract_schema::order_book::TriggerOrderCancelError",
|
|
261
|
+
"concreteTypeId": "a4c1f16008f794e4bb5f1e3dee0e961b2c480dad11ea5b89fc2eacfe38631db5",
|
|
262
|
+
"metadataTypeId": 11
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"type": "enum contract_schema::order_book::TriggerOrderCreationError",
|
|
266
|
+
"concreteTypeId": "15a4dcc6afac3f5e9d69383292c88895475737c599b518309c34cf8c1104f8f5",
|
|
267
|
+
"metadataTypeId": 12
|
|
150
268
|
},
|
|
151
269
|
{
|
|
152
270
|
"type": "enum ownership::errors::InitializationError",
|
|
153
271
|
"concreteTypeId": "b1fddf488ccb9e63d11888b2750bbd1280a1ae1c49f2d6637fd4cf1e930d1468",
|
|
154
|
-
"metadataTypeId":
|
|
272
|
+
"metadataTypeId": 15
|
|
155
273
|
},
|
|
156
274
|
{
|
|
157
275
|
"type": "enum pausable::errors::PauseError",
|
|
158
276
|
"concreteTypeId": "455b46a49016f5c03c18ce54b969ea3d0d33c9b00263b3dcc36aa8da27558b8a",
|
|
159
|
-
"metadataTypeId":
|
|
277
|
+
"metadataTypeId": 16
|
|
160
278
|
},
|
|
161
279
|
{
|
|
162
280
|
"type": "enum src5::AccessError",
|
|
163
281
|
"concreteTypeId": "f1247475d0d1466599267010f088190f8664dd31663a40c5d5e525d8e64b995d",
|
|
164
|
-
"metadataTypeId":
|
|
282
|
+
"metadataTypeId": 17
|
|
165
283
|
},
|
|
166
284
|
{
|
|
167
285
|
"type": "enum src5::State",
|
|
168
286
|
"concreteTypeId": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
|
|
169
|
-
"metadataTypeId":
|
|
287
|
+
"metadataTypeId": 18
|
|
170
288
|
},
|
|
171
289
|
{
|
|
172
290
|
"type": "enum std::identity::Identity",
|
|
173
291
|
"concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
|
|
174
|
-
"metadataTypeId":
|
|
292
|
+
"metadataTypeId": 19
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"type": "enum std::option::Option<b256>",
|
|
296
|
+
"concreteTypeId": "0c2beb9013490c4f753f2757dfe2d8340b22ce3827d596d81d249b7038033cb6",
|
|
297
|
+
"metadataTypeId": 20,
|
|
298
|
+
"typeArguments": [
|
|
299
|
+
"7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
300
|
+
]
|
|
175
301
|
},
|
|
176
302
|
{
|
|
177
303
|
"type": "enum std::option::Option<struct contract_schema::order_book::Order>",
|
|
178
304
|
"concreteTypeId": "6cbb9ddffc993ba68abb27bb88aae72e4d50123c3fc8f05d663246d7c9f70724",
|
|
179
|
-
"metadataTypeId":
|
|
305
|
+
"metadataTypeId": 20,
|
|
180
306
|
"typeArguments": [
|
|
181
307
|
"8269f147d8b1fed93590ca56380b11413a1bed10c13c00627a887a6a5e042cea"
|
|
182
308
|
]
|
|
183
309
|
},
|
|
310
|
+
{
|
|
311
|
+
"type": "enum std::option::Option<struct contract_schema::order_book::TriggerOrder>",
|
|
312
|
+
"concreteTypeId": "aa46988b96e71d9a5994f2807f743c9a360e72be8e9865141192345e539187f5",
|
|
313
|
+
"metadataTypeId": 20,
|
|
314
|
+
"typeArguments": [
|
|
315
|
+
"4cf39a60821b204ac155fe0a818c69e2008c926cb1903b2215dc08bec937dd21"
|
|
316
|
+
]
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"type": "enum std::option::Option<struct contract_schema::order_book::TriggerOrderArgs>",
|
|
320
|
+
"concreteTypeId": "020bfa2968cbf7600b3752287637e71587b0f46760ffdf0a977421343746b5c8",
|
|
321
|
+
"metadataTypeId": 20,
|
|
322
|
+
"typeArguments": [
|
|
323
|
+
"e915e400fd7cca76151cd63ea4a84d70d906ea97663b011363db9271072cad74"
|
|
324
|
+
]
|
|
325
|
+
},
|
|
184
326
|
{
|
|
185
327
|
"type": "enum std::option::Option<struct std::contract_id::ContractId>",
|
|
186
328
|
"concreteTypeId": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
|
|
187
|
-
"metadataTypeId":
|
|
329
|
+
"metadataTypeId": 20,
|
|
188
330
|
"typeArguments": [
|
|
189
331
|
"29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
|
|
190
332
|
]
|
|
@@ -192,7 +334,7 @@ const abi = {
|
|
|
192
334
|
{
|
|
193
335
|
"type": "enum std::option::Option<u64>",
|
|
194
336
|
"concreteTypeId": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d",
|
|
195
|
-
"metadataTypeId":
|
|
337
|
+
"metadataTypeId": 20,
|
|
196
338
|
"typeArguments": [
|
|
197
339
|
"1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
198
340
|
]
|
|
@@ -204,117 +346,142 @@ const abi = {
|
|
|
204
346
|
{
|
|
205
347
|
"type": "struct contract_schema::order_book::ExpireMakerEvent",
|
|
206
348
|
"concreteTypeId": "937c43727e43c6ad683c47ad69885cf2783ecf73d59460fe1d7033a78ad5963c",
|
|
207
|
-
"metadataTypeId":
|
|
349
|
+
"metadataTypeId": 23
|
|
208
350
|
},
|
|
209
351
|
{
|
|
210
352
|
"type": "struct contract_schema::order_book::FeesClaimedEvent",
|
|
211
353
|
"concreteTypeId": "2e0368c222981c3e3cbba54d7dafbda77dd2c48809b2fd989773b4ae092d8b47",
|
|
212
|
-
"metadataTypeId":
|
|
354
|
+
"metadataTypeId": 24
|
|
213
355
|
},
|
|
214
356
|
{
|
|
215
357
|
"type": "struct contract_schema::order_book::FeesCollectedEvent",
|
|
216
358
|
"concreteTypeId": "814befd15e7d0ec83c54b78f1248f65890b6e4db618d7f067940385064ae00fa",
|
|
217
|
-
"metadataTypeId":
|
|
359
|
+
"metadataTypeId": 25
|
|
218
360
|
},
|
|
219
361
|
{
|
|
220
362
|
"type": "struct contract_schema::order_book::Order",
|
|
221
363
|
"concreteTypeId": "8269f147d8b1fed93590ca56380b11413a1bed10c13c00627a887a6a5e042cea",
|
|
222
|
-
"metadataTypeId":
|
|
364
|
+
"metadataTypeId": 27
|
|
223
365
|
},
|
|
224
366
|
{
|
|
225
367
|
"type": "struct contract_schema::order_book::OrderArgs",
|
|
226
368
|
"concreteTypeId": "027cfee5b9839be8e12b3b56eaf1315f269a86a23ae0a392f084185f7b54a410",
|
|
227
|
-
"metadataTypeId":
|
|
369
|
+
"metadataTypeId": 28
|
|
228
370
|
},
|
|
229
371
|
{
|
|
230
372
|
"type": "struct contract_schema::order_book::OrderBookBlacklistEvent",
|
|
231
373
|
"concreteTypeId": "15e58f365af5d32c8a830ec43e70fce6cfbad16f88ed89b35bb7878f15f5b75d",
|
|
232
|
-
"metadataTypeId":
|
|
374
|
+
"metadataTypeId": 29
|
|
233
375
|
},
|
|
234
376
|
{
|
|
235
377
|
"type": "struct contract_schema::order_book::OrderBookConfigEvent",
|
|
236
378
|
"concreteTypeId": "0959a811c54f76a36f4b1ca7a14729eba6801a5c03356f2cfb12233f574d0ce2",
|
|
237
|
-
"metadataTypeId":
|
|
379
|
+
"metadataTypeId": 30
|
|
238
380
|
},
|
|
239
381
|
{
|
|
240
382
|
"type": "struct contract_schema::order_book::OrderBookSymbolsEvent",
|
|
241
383
|
"concreteTypeId": "99b332e010c1fe173601492be1e50767afba39d95f5aebb83f07fdf4c2103104",
|
|
242
|
-
"metadataTypeId":
|
|
384
|
+
"metadataTypeId": 31
|
|
243
385
|
},
|
|
244
386
|
{
|
|
245
387
|
"type": "struct contract_schema::order_book::OrderBookWhitelistEvent",
|
|
246
388
|
"concreteTypeId": "39cbf43d52ecef8290e4f6e639a22b50f2ea8ce7d673930c83622422c7653026",
|
|
247
|
-
"metadataTypeId":
|
|
389
|
+
"metadataTypeId": 32
|
|
248
390
|
},
|
|
249
391
|
{
|
|
250
392
|
"type": "struct contract_schema::order_book::OrderCancelledEvent",
|
|
251
393
|
"concreteTypeId": "82fb068ba8a0739f1b0a907ff1fbcbc8b1e5a31d5a2f1b46742e4c5fca967c18",
|
|
252
|
-
"metadataTypeId":
|
|
394
|
+
"metadataTypeId": 33
|
|
253
395
|
},
|
|
254
396
|
{
|
|
255
397
|
"type": "struct contract_schema::order_book::OrderCancelledInternalEvent",
|
|
256
398
|
"concreteTypeId": "6e6744800e6fc84d4680e9492774bc9e0cab52bb665d518bdfd2ba21b3a4866c",
|
|
257
|
-
"metadataTypeId":
|
|
399
|
+
"metadataTypeId": 34
|
|
258
400
|
},
|
|
259
401
|
{
|
|
260
402
|
"type": "struct contract_schema::order_book::OrderCreatedEvent",
|
|
261
403
|
"concreteTypeId": "df21162bb6a03b08040f043d238f4b5275e591737c8b5f068f7422be87168258",
|
|
262
|
-
"metadataTypeId":
|
|
404
|
+
"metadataTypeId": 35
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"type": "struct contract_schema::order_book::OrderHaltedEvent",
|
|
408
|
+
"concreteTypeId": "704d11e3abffc019b7c89fea24cbc379742ed0dc7ddc01c5425a143c1f0bc2b8",
|
|
409
|
+
"metadataTypeId": 36
|
|
263
410
|
},
|
|
264
411
|
{
|
|
265
412
|
"type": "struct contract_schema::order_book::OrderMatchedEvent",
|
|
266
413
|
"concreteTypeId": "cd2ccf60c8a1d69c9f5a8c9d17ec658f09cd58dac7f0f991a3ce3161c494ea88",
|
|
267
|
-
"metadataTypeId":
|
|
414
|
+
"metadataTypeId": 37
|
|
268
415
|
},
|
|
269
416
|
{
|
|
270
417
|
"type": "struct contract_schema::order_book::OrderOutOfGasEvent",
|
|
271
418
|
"concreteTypeId": "d7fc4e0e366f46285d7ebf08fe5d7a450b649532159d67ce60a329a2d468c5c1",
|
|
272
|
-
"metadataTypeId":
|
|
419
|
+
"metadataTypeId": 38
|
|
273
420
|
},
|
|
274
421
|
{
|
|
275
422
|
"type": "struct contract_schema::order_book::OrderTooSmallEvent",
|
|
276
423
|
"concreteTypeId": "2fed5c339537969e7d6569d8f1607e8476b5829cc3ef3185c9c4ae8f3a4f5edd",
|
|
277
|
-
"metadataTypeId":
|
|
424
|
+
"metadataTypeId": 39
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"type": "struct contract_schema::order_book::TriggerOrder",
|
|
428
|
+
"concreteTypeId": "4cf39a60821b204ac155fe0a818c69e2008c926cb1903b2215dc08bec937dd21",
|
|
429
|
+
"metadataTypeId": 40
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"type": "struct contract_schema::order_book::TriggerOrderArgs",
|
|
433
|
+
"concreteTypeId": "e915e400fd7cca76151cd63ea4a84d70d906ea97663b011363db9271072cad74",
|
|
434
|
+
"metadataTypeId": 41
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"type": "struct contract_schema::order_book::TriggerOrderCreatedEvent",
|
|
438
|
+
"concreteTypeId": "e668619391f65f6ddbe3de3cfd8a1777035887bc8bbb31c7847131031159841a",
|
|
439
|
+
"metadataTypeId": 42
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"type": "struct contract_schema::order_book::TriggerOrderEjectedEvent",
|
|
443
|
+
"concreteTypeId": "962f5e9ef1b8222269128afe35ff4d3241c140c267d673365de624d353b563c8",
|
|
444
|
+
"metadataTypeId": 43
|
|
278
445
|
},
|
|
279
446
|
{
|
|
280
447
|
"type": "struct contract_schema::order_book::WithdrawSettledTradeEvent",
|
|
281
448
|
"concreteTypeId": "b145f499e90557447a26156cda458d1c0284a487ef8b8a90646411a33ee5e241",
|
|
282
|
-
"metadataTypeId":
|
|
449
|
+
"metadataTypeId": 44
|
|
283
450
|
},
|
|
284
451
|
{
|
|
285
452
|
"type": "struct ownership::events::OwnershipSet",
|
|
286
453
|
"concreteTypeId": "8c0d2488561c35a28ef795bb8bcc4c43999cdd1e3ecbd10c226e0a68660c54d4",
|
|
287
|
-
"metadataTypeId":
|
|
454
|
+
"metadataTypeId": 45
|
|
288
455
|
},
|
|
289
456
|
{
|
|
290
457
|
"type": "struct ownership::events::OwnershipTransferred",
|
|
291
458
|
"concreteTypeId": "a2a2643e0252b510328c0323a0ea60724fb4cb3309a2322ab31b27566ff9a79d",
|
|
292
|
-
"metadataTypeId":
|
|
459
|
+
"metadataTypeId": 46
|
|
293
460
|
},
|
|
294
461
|
{
|
|
295
462
|
"type": "struct pausable::events::PauseEvent",
|
|
296
463
|
"concreteTypeId": "692983a9aba767e36b5014d3eb842447c736e341cc3b30fcb051b1f5a3d5f80a",
|
|
297
|
-
"metadataTypeId":
|
|
464
|
+
"metadataTypeId": 47
|
|
298
465
|
},
|
|
299
466
|
{
|
|
300
467
|
"type": "struct pausable::events::UnpauseEvent",
|
|
301
468
|
"concreteTypeId": "0026d386ad84e75b525bec3e7c8b6a63df3fcd108a8c4b26438c8a7a2e2c218b",
|
|
302
|
-
"metadataTypeId":
|
|
469
|
+
"metadataTypeId": 48
|
|
303
470
|
},
|
|
304
471
|
{
|
|
305
472
|
"type": "struct std::asset_id::AssetId",
|
|
306
473
|
"concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
|
|
307
|
-
"metadataTypeId":
|
|
474
|
+
"metadataTypeId": 50
|
|
308
475
|
},
|
|
309
476
|
{
|
|
310
477
|
"type": "struct std::contract_id::ContractId",
|
|
311
478
|
"concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54",
|
|
312
|
-
"metadataTypeId":
|
|
479
|
+
"metadataTypeId": 53
|
|
313
480
|
},
|
|
314
481
|
{
|
|
315
482
|
"type": "struct std::vec::Vec<b256>",
|
|
316
483
|
"concreteTypeId": "32559685d0c9845f059bf9d472a0a38cf77d36c23dfcffe5489e86a65cdd9198",
|
|
317
|
-
"metadataTypeId":
|
|
484
|
+
"metadataTypeId": 57,
|
|
318
485
|
"typeArguments": [
|
|
319
486
|
"7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
320
487
|
]
|
|
@@ -322,7 +489,7 @@ const abi = {
|
|
|
322
489
|
{
|
|
323
490
|
"type": "struct std::vec::Vec<enum std::identity::Identity>",
|
|
324
491
|
"concreteTypeId": "2f79033d0d3729398611309f48578b56cf5162ba85e50f4d8fb79c9d9d1abc7b",
|
|
325
|
-
"metadataTypeId":
|
|
492
|
+
"metadataTypeId": 57,
|
|
326
493
|
"typeArguments": [
|
|
327
494
|
"ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
|
|
328
495
|
]
|
|
@@ -330,11 +497,19 @@ const abi = {
|
|
|
330
497
|
{
|
|
331
498
|
"type": "struct std::vec::Vec<struct contract_schema::order_book::Order>",
|
|
332
499
|
"concreteTypeId": "d390c7062efc85cc0e3e0a9339016565cda69d055c218f82d362776998f4e505",
|
|
333
|
-
"metadataTypeId":
|
|
500
|
+
"metadataTypeId": 57,
|
|
334
501
|
"typeArguments": [
|
|
335
502
|
"8269f147d8b1fed93590ca56380b11413a1bed10c13c00627a887a6a5e042cea"
|
|
336
503
|
]
|
|
337
504
|
},
|
|
505
|
+
{
|
|
506
|
+
"type": "struct std::vec::Vec<struct contract_schema::order_book::TriggerOrder>",
|
|
507
|
+
"concreteTypeId": "90bd4a53a7770f92afd12f9ceaea3e7f99a6c46d42d3ddedeef0874b7be6c92a",
|
|
508
|
+
"metadataTypeId": 57,
|
|
509
|
+
"typeArguments": [
|
|
510
|
+
"4cf39a60821b204ac155fe0a818c69e2008c926cb1903b2215dc08bec937dd21"
|
|
511
|
+
]
|
|
512
|
+
},
|
|
338
513
|
{
|
|
339
514
|
"type": "u256",
|
|
340
515
|
"concreteTypeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e"
|
|
@@ -355,7 +530,7 @@ const abi = {
|
|
|
355
530
|
},
|
|
356
531
|
{
|
|
357
532
|
"name": "__tuple_element",
|
|
358
|
-
"typeId":
|
|
533
|
+
"typeId": 55
|
|
359
534
|
}
|
|
360
535
|
]
|
|
361
536
|
},
|
|
@@ -374,8 +549,80 @@ const abi = {
|
|
|
374
549
|
]
|
|
375
550
|
},
|
|
376
551
|
{
|
|
377
|
-
"type": "
|
|
552
|
+
"type": "(_, _)",
|
|
378
553
|
"metadataTypeId": 2,
|
|
554
|
+
"components": [
|
|
555
|
+
{
|
|
556
|
+
"name": "__tuple_element",
|
|
557
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"name": "__tuple_element",
|
|
561
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
562
|
+
}
|
|
563
|
+
]
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"type": "(_, _, _)",
|
|
567
|
+
"metadataTypeId": 3,
|
|
568
|
+
"components": [
|
|
569
|
+
{
|
|
570
|
+
"name": "__tuple_element",
|
|
571
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"name": "__tuple_element",
|
|
575
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"name": "__tuple_element",
|
|
579
|
+
"typeId": 20,
|
|
580
|
+
"typeArguments": [
|
|
581
|
+
{
|
|
582
|
+
"name": "",
|
|
583
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
584
|
+
}
|
|
585
|
+
]
|
|
586
|
+
}
|
|
587
|
+
]
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"type": "enum contract_schema::order_book::EjectionReason",
|
|
591
|
+
"metadataTypeId": 4,
|
|
592
|
+
"components": [
|
|
593
|
+
{
|
|
594
|
+
"name": "Activated",
|
|
595
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"name": "CanceledByTheUser",
|
|
599
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"name": "ForceCanceled",
|
|
603
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"name": "SiblingOrderActivated",
|
|
607
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"name": "NotEnoughFunds",
|
|
611
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
"name": "EjectedByAdmin",
|
|
615
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"name": "ParentOrderCanceled",
|
|
619
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
620
|
+
}
|
|
621
|
+
]
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"type": "enum contract_schema::order_book::FeeError",
|
|
625
|
+
"metadataTypeId": 5,
|
|
379
626
|
"components": [
|
|
380
627
|
{
|
|
381
628
|
"name": "NoFeesAvailable",
|
|
@@ -385,7 +632,7 @@ const abi = {
|
|
|
385
632
|
},
|
|
386
633
|
{
|
|
387
634
|
"type": "enum contract_schema::order_book::OrderBookInitializationError",
|
|
388
|
-
"metadataTypeId":
|
|
635
|
+
"metadataTypeId": 6,
|
|
389
636
|
"components": [
|
|
390
637
|
{
|
|
391
638
|
"name": "InvalidAsset",
|
|
@@ -410,12 +657,16 @@ const abi = {
|
|
|
410
657
|
{
|
|
411
658
|
"name": "InvalidMinOrder",
|
|
412
659
|
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"name": "InvalidTriggerMaxSlippage",
|
|
663
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
413
664
|
}
|
|
414
665
|
]
|
|
415
666
|
},
|
|
416
667
|
{
|
|
417
668
|
"type": "enum contract_schema::order_book::OrderCancelError",
|
|
418
|
-
"metadataTypeId":
|
|
669
|
+
"metadataTypeId": 7,
|
|
419
670
|
"components": [
|
|
420
671
|
{
|
|
421
672
|
"name": "NotOrderOwner",
|
|
@@ -433,7 +684,7 @@ const abi = {
|
|
|
433
684
|
},
|
|
434
685
|
{
|
|
435
686
|
"type": "enum contract_schema::order_book::OrderCreationError",
|
|
436
|
-
"metadataTypeId":
|
|
687
|
+
"metadataTypeId": 8,
|
|
437
688
|
"components": [
|
|
438
689
|
{
|
|
439
690
|
"name": "InvalidOrderArgs",
|
|
@@ -491,7 +742,7 @@ const abi = {
|
|
|
491
742
|
},
|
|
492
743
|
{
|
|
493
744
|
"type": "enum contract_schema::order_book::OrderType",
|
|
494
|
-
"metadataTypeId":
|
|
745
|
+
"metadataTypeId": 9,
|
|
495
746
|
"components": [
|
|
496
747
|
{
|
|
497
748
|
"name": "Limit",
|
|
@@ -521,21 +772,181 @@ const abi = {
|
|
|
521
772
|
},
|
|
522
773
|
{
|
|
523
774
|
"type": "enum contract_schema::order_book::Side",
|
|
524
|
-
"metadataTypeId":
|
|
775
|
+
"metadataTypeId": 10,
|
|
525
776
|
"components": [
|
|
526
777
|
{
|
|
527
778
|
"name": "Buy",
|
|
528
779
|
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
529
780
|
},
|
|
530
781
|
{
|
|
531
|
-
"name": "Sell",
|
|
532
|
-
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
782
|
+
"name": "Sell",
|
|
783
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
784
|
+
}
|
|
785
|
+
]
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"type": "enum contract_schema::order_book::TriggerOrderCancelError",
|
|
789
|
+
"metadataTypeId": 11,
|
|
790
|
+
"components": [
|
|
791
|
+
{
|
|
792
|
+
"name": "NotOrderOwner",
|
|
793
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"name": "TraderNotBlacklisted",
|
|
797
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"name": "OrderDoesNotExist",
|
|
801
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
802
|
+
}
|
|
803
|
+
]
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"type": "enum contract_schema::order_book::TriggerOrderCreationError",
|
|
807
|
+
"metadataTypeId": 12,
|
|
808
|
+
"components": [
|
|
809
|
+
{
|
|
810
|
+
"name": "InvalidArgs",
|
|
811
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"name": "PricePrecision",
|
|
815
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"name": "InvalidOrderType",
|
|
819
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"name": "InvalidMarketOrderArgs",
|
|
823
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"name": "FractionalPrice",
|
|
827
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"name": "InvalidAsset",
|
|
831
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"name": "InvalidInputAmount",
|
|
835
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"name": "ZeroTriggerPrice",
|
|
839
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"name": "ZeroLimitPrice",
|
|
843
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"name": "QuantityMustBeParentOrder",
|
|
847
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"name": "ZeroResolvedQtyOrPrice",
|
|
851
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"name": "InvalidParentOrderId",
|
|
855
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"name": "ParentOrderIsNotSpot",
|
|
859
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
"name": "ParentOrderFilled",
|
|
863
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"name": "ParentOrderNotFound",
|
|
867
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
"name": "ParentTriggerSlotsExhausted",
|
|
871
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"name": "ParentOrderOwnerMismatch",
|
|
875
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"name": "TriggerPriceSameAsParent",
|
|
879
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"name": "TriggerSideSameAsParent",
|
|
883
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"name": "SlippageExceedsMax",
|
|
887
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"name": "OcoSameTriggerPrice",
|
|
891
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"name": "OcoNotStopAndTakeProfit",
|
|
895
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"name": "LimitPriceCrossesParent",
|
|
899
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"name": "ParentQuantityMismatch",
|
|
903
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"name": "TraderNotWhiteListed",
|
|
907
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"name": "TraderBlackListed",
|
|
911
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
912
|
+
}
|
|
913
|
+
]
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"type": "enum contract_schema::order_book::TriggerOrderType",
|
|
917
|
+
"metadataTypeId": 13,
|
|
918
|
+
"components": [
|
|
919
|
+
{
|
|
920
|
+
"name": "Market",
|
|
921
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"name": "MarketBounded",
|
|
925
|
+
"typeId": 1
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"name": "Spot",
|
|
929
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
930
|
+
}
|
|
931
|
+
]
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"type": "enum contract_schema::order_book::TriggerQuantity",
|
|
935
|
+
"metadataTypeId": 14,
|
|
936
|
+
"components": [
|
|
937
|
+
{
|
|
938
|
+
"name": "Quantity",
|
|
939
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"name": "ParentOrder",
|
|
943
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
533
944
|
}
|
|
534
945
|
]
|
|
535
946
|
},
|
|
536
947
|
{
|
|
537
948
|
"type": "enum ownership::errors::InitializationError",
|
|
538
|
-
"metadataTypeId":
|
|
949
|
+
"metadataTypeId": 15,
|
|
539
950
|
"components": [
|
|
540
951
|
{
|
|
541
952
|
"name": "CannotReinitialized",
|
|
@@ -545,7 +956,7 @@ const abi = {
|
|
|
545
956
|
},
|
|
546
957
|
{
|
|
547
958
|
"type": "enum pausable::errors::PauseError",
|
|
548
|
-
"metadataTypeId":
|
|
959
|
+
"metadataTypeId": 16,
|
|
549
960
|
"components": [
|
|
550
961
|
{
|
|
551
962
|
"name": "Paused",
|
|
@@ -559,7 +970,7 @@ const abi = {
|
|
|
559
970
|
},
|
|
560
971
|
{
|
|
561
972
|
"type": "enum src5::AccessError",
|
|
562
|
-
"metadataTypeId":
|
|
973
|
+
"metadataTypeId": 17,
|
|
563
974
|
"components": [
|
|
564
975
|
{
|
|
565
976
|
"name": "NotOwner",
|
|
@@ -569,7 +980,7 @@ const abi = {
|
|
|
569
980
|
},
|
|
570
981
|
{
|
|
571
982
|
"type": "enum src5::State",
|
|
572
|
-
"metadataTypeId":
|
|
983
|
+
"metadataTypeId": 18,
|
|
573
984
|
"components": [
|
|
574
985
|
{
|
|
575
986
|
"name": "Uninitialized",
|
|
@@ -577,7 +988,7 @@ const abi = {
|
|
|
577
988
|
},
|
|
578
989
|
{
|
|
579
990
|
"name": "Initialized",
|
|
580
|
-
"typeId":
|
|
991
|
+
"typeId": 19
|
|
581
992
|
},
|
|
582
993
|
{
|
|
583
994
|
"name": "Revoked",
|
|
@@ -587,21 +998,21 @@ const abi = {
|
|
|
587
998
|
},
|
|
588
999
|
{
|
|
589
1000
|
"type": "enum std::identity::Identity",
|
|
590
|
-
"metadataTypeId":
|
|
1001
|
+
"metadataTypeId": 19,
|
|
591
1002
|
"components": [
|
|
592
1003
|
{
|
|
593
1004
|
"name": "Address",
|
|
594
|
-
"typeId":
|
|
1005
|
+
"typeId": 49
|
|
595
1006
|
},
|
|
596
1007
|
{
|
|
597
1008
|
"name": "ContractId",
|
|
598
|
-
"typeId":
|
|
1009
|
+
"typeId": 53
|
|
599
1010
|
}
|
|
600
1011
|
]
|
|
601
1012
|
},
|
|
602
1013
|
{
|
|
603
1014
|
"type": "enum std::option::Option",
|
|
604
|
-
"metadataTypeId":
|
|
1015
|
+
"metadataTypeId": 20,
|
|
605
1016
|
"components": [
|
|
606
1017
|
{
|
|
607
1018
|
"name": "None",
|
|
@@ -609,24 +1020,24 @@ const abi = {
|
|
|
609
1020
|
},
|
|
610
1021
|
{
|
|
611
1022
|
"name": "Some",
|
|
612
|
-
"typeId":
|
|
1023
|
+
"typeId": 21
|
|
613
1024
|
}
|
|
614
1025
|
],
|
|
615
1026
|
"typeParameters": [
|
|
616
|
-
|
|
1027
|
+
21
|
|
617
1028
|
]
|
|
618
1029
|
},
|
|
619
1030
|
{
|
|
620
1031
|
"type": "generic T",
|
|
621
|
-
"metadataTypeId":
|
|
1032
|
+
"metadataTypeId": 21
|
|
622
1033
|
},
|
|
623
1034
|
{
|
|
624
1035
|
"type": "raw untyped ptr",
|
|
625
|
-
"metadataTypeId":
|
|
1036
|
+
"metadataTypeId": 22
|
|
626
1037
|
},
|
|
627
1038
|
{
|
|
628
1039
|
"type": "struct contract_schema::order_book::ExpireMakerEvent",
|
|
629
|
-
"metadataTypeId":
|
|
1040
|
+
"metadataTypeId": 23,
|
|
630
1041
|
"components": [
|
|
631
1042
|
{
|
|
632
1043
|
"name": "order_id",
|
|
@@ -634,13 +1045,13 @@ const abi = {
|
|
|
634
1045
|
},
|
|
635
1046
|
{
|
|
636
1047
|
"name": "timestamp",
|
|
637
|
-
"typeId":
|
|
1048
|
+
"typeId": 55
|
|
638
1049
|
}
|
|
639
1050
|
]
|
|
640
1051
|
},
|
|
641
1052
|
{
|
|
642
1053
|
"type": "struct contract_schema::order_book::FeesClaimedEvent",
|
|
643
|
-
"metadataTypeId":
|
|
1054
|
+
"metadataTypeId": 24,
|
|
644
1055
|
"components": [
|
|
645
1056
|
{
|
|
646
1057
|
"name": "base_fees",
|
|
@@ -654,7 +1065,7 @@ const abi = {
|
|
|
654
1065
|
},
|
|
655
1066
|
{
|
|
656
1067
|
"type": "struct contract_schema::order_book::FeesCollectedEvent",
|
|
657
|
-
"metadataTypeId":
|
|
1068
|
+
"metadataTypeId": 25,
|
|
658
1069
|
"components": [
|
|
659
1070
|
{
|
|
660
1071
|
"name": "base_fees",
|
|
@@ -668,7 +1079,7 @@ const abi = {
|
|
|
668
1079
|
},
|
|
669
1080
|
{
|
|
670
1081
|
"type": "struct contract_schema::order_book::MatchId",
|
|
671
|
-
"metadataTypeId":
|
|
1082
|
+
"metadataTypeId": 26,
|
|
672
1083
|
"components": [
|
|
673
1084
|
{
|
|
674
1085
|
"name": "maker_id",
|
|
@@ -682,7 +1093,7 @@ const abi = {
|
|
|
682
1093
|
},
|
|
683
1094
|
{
|
|
684
1095
|
"type": "struct contract_schema::order_book::Order",
|
|
685
|
-
"metadataTypeId":
|
|
1096
|
+
"metadataTypeId": 27,
|
|
686
1097
|
"components": [
|
|
687
1098
|
{
|
|
688
1099
|
"name": "order_id",
|
|
@@ -690,11 +1101,11 @@ const abi = {
|
|
|
690
1101
|
},
|
|
691
1102
|
{
|
|
692
1103
|
"name": "trader_id",
|
|
693
|
-
"typeId":
|
|
1104
|
+
"typeId": 19
|
|
694
1105
|
},
|
|
695
1106
|
{
|
|
696
1107
|
"name": "side",
|
|
697
|
-
"typeId":
|
|
1108
|
+
"typeId": 10
|
|
698
1109
|
},
|
|
699
1110
|
{
|
|
700
1111
|
"name": "price",
|
|
@@ -706,13 +1117,13 @@ const abi = {
|
|
|
706
1117
|
},
|
|
707
1118
|
{
|
|
708
1119
|
"name": "order_type",
|
|
709
|
-
"typeId":
|
|
1120
|
+
"typeId": 9
|
|
710
1121
|
}
|
|
711
1122
|
]
|
|
712
1123
|
},
|
|
713
1124
|
{
|
|
714
1125
|
"type": "struct contract_schema::order_book::OrderArgs",
|
|
715
|
-
"metadataTypeId":
|
|
1126
|
+
"metadataTypeId": 28,
|
|
716
1127
|
"components": [
|
|
717
1128
|
{
|
|
718
1129
|
"name": "price",
|
|
@@ -724,21 +1135,21 @@ const abi = {
|
|
|
724
1135
|
},
|
|
725
1136
|
{
|
|
726
1137
|
"name": "order_type",
|
|
727
|
-
"typeId":
|
|
1138
|
+
"typeId": 9
|
|
728
1139
|
}
|
|
729
1140
|
]
|
|
730
1141
|
},
|
|
731
1142
|
{
|
|
732
1143
|
"type": "struct contract_schema::order_book::OrderBookBlacklistEvent",
|
|
733
|
-
"metadataTypeId":
|
|
1144
|
+
"metadataTypeId": 29,
|
|
734
1145
|
"components": [
|
|
735
1146
|
{
|
|
736
1147
|
"name": "blacklist",
|
|
737
|
-
"typeId":
|
|
1148
|
+
"typeId": 20,
|
|
738
1149
|
"typeArguments": [
|
|
739
1150
|
{
|
|
740
1151
|
"name": "",
|
|
741
|
-
"typeId":
|
|
1152
|
+
"typeId": 53
|
|
742
1153
|
}
|
|
743
1154
|
]
|
|
744
1155
|
}
|
|
@@ -746,15 +1157,15 @@ const abi = {
|
|
|
746
1157
|
},
|
|
747
1158
|
{
|
|
748
1159
|
"type": "struct contract_schema::order_book::OrderBookConfigEvent",
|
|
749
|
-
"metadataTypeId":
|
|
1160
|
+
"metadataTypeId": 30,
|
|
750
1161
|
"components": [
|
|
751
1162
|
{
|
|
752
1163
|
"name": "base_asset",
|
|
753
|
-
"typeId":
|
|
1164
|
+
"typeId": 50
|
|
754
1165
|
},
|
|
755
1166
|
{
|
|
756
1167
|
"name": "quote_asset",
|
|
757
|
-
"typeId":
|
|
1168
|
+
"typeId": 50
|
|
758
1169
|
},
|
|
759
1170
|
{
|
|
760
1171
|
"name": "base_decimals",
|
|
@@ -795,34 +1206,38 @@ const abi = {
|
|
|
795
1206
|
{
|
|
796
1207
|
"name": "allow_fractional_price",
|
|
797
1208
|
"typeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
"name": "trigger_max_slippage",
|
|
1212
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
798
1213
|
}
|
|
799
1214
|
]
|
|
800
1215
|
},
|
|
801
1216
|
{
|
|
802
1217
|
"type": "struct contract_schema::order_book::OrderBookSymbolsEvent",
|
|
803
|
-
"metadataTypeId":
|
|
1218
|
+
"metadataTypeId": 31,
|
|
804
1219
|
"components": [
|
|
805
1220
|
{
|
|
806
1221
|
"name": "base_symbol",
|
|
807
|
-
"typeId":
|
|
1222
|
+
"typeId": 54
|
|
808
1223
|
},
|
|
809
1224
|
{
|
|
810
1225
|
"name": "quote_symbol",
|
|
811
|
-
"typeId":
|
|
1226
|
+
"typeId": 54
|
|
812
1227
|
}
|
|
813
1228
|
]
|
|
814
1229
|
},
|
|
815
1230
|
{
|
|
816
1231
|
"type": "struct contract_schema::order_book::OrderBookWhitelistEvent",
|
|
817
|
-
"metadataTypeId":
|
|
1232
|
+
"metadataTypeId": 32,
|
|
818
1233
|
"components": [
|
|
819
1234
|
{
|
|
820
1235
|
"name": "whitelist",
|
|
821
|
-
"typeId":
|
|
1236
|
+
"typeId": 20,
|
|
822
1237
|
"typeArguments": [
|
|
823
1238
|
{
|
|
824
1239
|
"name": "",
|
|
825
|
-
"typeId":
|
|
1240
|
+
"typeId": 53
|
|
826
1241
|
}
|
|
827
1242
|
]
|
|
828
1243
|
}
|
|
@@ -830,7 +1245,7 @@ const abi = {
|
|
|
830
1245
|
},
|
|
831
1246
|
{
|
|
832
1247
|
"type": "struct contract_schema::order_book::OrderCancelledEvent",
|
|
833
|
-
"metadataTypeId":
|
|
1248
|
+
"metadataTypeId": 33,
|
|
834
1249
|
"components": [
|
|
835
1250
|
{
|
|
836
1251
|
"name": "order_id",
|
|
@@ -838,13 +1253,13 @@ const abi = {
|
|
|
838
1253
|
},
|
|
839
1254
|
{
|
|
840
1255
|
"name": "timestamp",
|
|
841
|
-
"typeId":
|
|
1256
|
+
"typeId": 55
|
|
842
1257
|
}
|
|
843
1258
|
]
|
|
844
1259
|
},
|
|
845
1260
|
{
|
|
846
1261
|
"type": "struct contract_schema::order_book::OrderCancelledInternalEvent",
|
|
847
|
-
"metadataTypeId":
|
|
1262
|
+
"metadataTypeId": 34,
|
|
848
1263
|
"components": [
|
|
849
1264
|
{
|
|
850
1265
|
"name": "order_id",
|
|
@@ -852,13 +1267,13 @@ const abi = {
|
|
|
852
1267
|
},
|
|
853
1268
|
{
|
|
854
1269
|
"name": "timestamp",
|
|
855
|
-
"typeId":
|
|
1270
|
+
"typeId": 55
|
|
856
1271
|
}
|
|
857
1272
|
]
|
|
858
1273
|
},
|
|
859
1274
|
{
|
|
860
1275
|
"type": "struct contract_schema::order_book::OrderCreatedEvent",
|
|
861
|
-
"metadataTypeId":
|
|
1276
|
+
"metadataTypeId": 35,
|
|
862
1277
|
"components": [
|
|
863
1278
|
{
|
|
864
1279
|
"name": "order_id",
|
|
@@ -866,15 +1281,15 @@ const abi = {
|
|
|
866
1281
|
},
|
|
867
1282
|
{
|
|
868
1283
|
"name": "trader_id",
|
|
869
|
-
"typeId":
|
|
1284
|
+
"typeId": 19
|
|
870
1285
|
},
|
|
871
1286
|
{
|
|
872
1287
|
"name": "order_side",
|
|
873
|
-
"typeId":
|
|
1288
|
+
"typeId": 10
|
|
874
1289
|
},
|
|
875
1290
|
{
|
|
876
1291
|
"name": "order_type",
|
|
877
|
-
"typeId":
|
|
1292
|
+
"typeId": 9
|
|
878
1293
|
},
|
|
879
1294
|
{
|
|
880
1295
|
"name": "quantity",
|
|
@@ -886,17 +1301,35 @@ const abi = {
|
|
|
886
1301
|
},
|
|
887
1302
|
{
|
|
888
1303
|
"name": "timestamp",
|
|
889
|
-
"typeId":
|
|
1304
|
+
"typeId": 55
|
|
1305
|
+
}
|
|
1306
|
+
]
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"type": "struct contract_schema::order_book::OrderHaltedEvent",
|
|
1310
|
+
"metadataTypeId": 36,
|
|
1311
|
+
"components": [
|
|
1312
|
+
{
|
|
1313
|
+
"name": "order_id",
|
|
1314
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
"name": "remaining_quantity",
|
|
1318
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"name": "timestamp",
|
|
1322
|
+
"typeId": 55
|
|
890
1323
|
}
|
|
891
1324
|
]
|
|
892
1325
|
},
|
|
893
1326
|
{
|
|
894
1327
|
"type": "struct contract_schema::order_book::OrderMatchedEvent",
|
|
895
|
-
"metadataTypeId":
|
|
1328
|
+
"metadataTypeId": 37,
|
|
896
1329
|
"components": [
|
|
897
1330
|
{
|
|
898
1331
|
"name": "match_id",
|
|
899
|
-
"typeId":
|
|
1332
|
+
"typeId": 26
|
|
900
1333
|
},
|
|
901
1334
|
{
|
|
902
1335
|
"name": "quantity",
|
|
@@ -908,13 +1341,13 @@ const abi = {
|
|
|
908
1341
|
},
|
|
909
1342
|
{
|
|
910
1343
|
"name": "timestamp",
|
|
911
|
-
"typeId":
|
|
1344
|
+
"typeId": 55
|
|
912
1345
|
}
|
|
913
1346
|
]
|
|
914
1347
|
},
|
|
915
1348
|
{
|
|
916
1349
|
"type": "struct contract_schema::order_book::OrderOutOfGasEvent",
|
|
917
|
-
"metadataTypeId":
|
|
1350
|
+
"metadataTypeId": 38,
|
|
918
1351
|
"components": [
|
|
919
1352
|
{
|
|
920
1353
|
"name": "order_id",
|
|
@@ -922,31 +1355,141 @@ const abi = {
|
|
|
922
1355
|
},
|
|
923
1356
|
{
|
|
924
1357
|
"name": "timestamp",
|
|
925
|
-
"typeId":
|
|
1358
|
+
"typeId": 55
|
|
926
1359
|
}
|
|
927
1360
|
]
|
|
928
1361
|
},
|
|
929
1362
|
{
|
|
930
1363
|
"type": "struct contract_schema::order_book::OrderTooSmallEvent",
|
|
931
|
-
"metadataTypeId":
|
|
1364
|
+
"metadataTypeId": 39,
|
|
1365
|
+
"components": [
|
|
1366
|
+
{
|
|
1367
|
+
"name": "order_id",
|
|
1368
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
"name": "timestamp",
|
|
1372
|
+
"typeId": 55
|
|
1373
|
+
}
|
|
1374
|
+
]
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
"type": "struct contract_schema::order_book::TriggerOrder",
|
|
1378
|
+
"metadataTypeId": 40,
|
|
1379
|
+
"components": [
|
|
1380
|
+
{
|
|
1381
|
+
"name": "order_id",
|
|
1382
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
"name": "trader_id",
|
|
1386
|
+
"typeId": 19
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
"name": "side",
|
|
1390
|
+
"typeId": 10
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
"name": "price",
|
|
1394
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"name": "quantity",
|
|
1398
|
+
"typeId": 14
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
"name": "order_type",
|
|
1402
|
+
"typeId": 13
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
"name": "trigger_price",
|
|
1406
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1407
|
+
}
|
|
1408
|
+
]
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
"type": "struct contract_schema::order_book::TriggerOrderArgs",
|
|
1412
|
+
"metadataTypeId": 41,
|
|
1413
|
+
"components": [
|
|
1414
|
+
{
|
|
1415
|
+
"name": "quantity",
|
|
1416
|
+
"typeId": 14
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
"name": "order_type",
|
|
1420
|
+
"typeId": 13
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
"name": "trigger_price",
|
|
1424
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1425
|
+
}
|
|
1426
|
+
]
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
"type": "struct contract_schema::order_book::TriggerOrderCreatedEvent",
|
|
1430
|
+
"metadataTypeId": 42,
|
|
932
1431
|
"components": [
|
|
933
1432
|
{
|
|
934
1433
|
"name": "order_id",
|
|
935
1434
|
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
936
1435
|
},
|
|
1436
|
+
{
|
|
1437
|
+
"name": "trader_id",
|
|
1438
|
+
"typeId": 19
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
"name": "order_side",
|
|
1442
|
+
"typeId": 10
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
"name": "order_type",
|
|
1446
|
+
"typeId": 13
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
"name": "quantity",
|
|
1450
|
+
"typeId": 14
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
"name": "trigger_price",
|
|
1454
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1455
|
+
},
|
|
937
1456
|
{
|
|
938
1457
|
"name": "timestamp",
|
|
939
|
-
"typeId":
|
|
1458
|
+
"typeId": 55
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
"name": "sibling_order",
|
|
1462
|
+
"typeId": 20,
|
|
1463
|
+
"typeArguments": [
|
|
1464
|
+
{
|
|
1465
|
+
"name": "",
|
|
1466
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1467
|
+
}
|
|
1468
|
+
]
|
|
1469
|
+
}
|
|
1470
|
+
]
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"type": "struct contract_schema::order_book::TriggerOrderEjectedEvent",
|
|
1474
|
+
"metadataTypeId": 43,
|
|
1475
|
+
"components": [
|
|
1476
|
+
{
|
|
1477
|
+
"name": "order_id",
|
|
1478
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
"name": "reason",
|
|
1482
|
+
"typeId": 4
|
|
940
1483
|
}
|
|
941
1484
|
]
|
|
942
1485
|
},
|
|
943
1486
|
{
|
|
944
1487
|
"type": "struct contract_schema::order_book::WithdrawSettledTradeEvent",
|
|
945
|
-
"metadataTypeId":
|
|
1488
|
+
"metadataTypeId": 44,
|
|
946
1489
|
"components": [
|
|
947
1490
|
{
|
|
948
1491
|
"name": "trader_id",
|
|
949
|
-
"typeId":
|
|
1492
|
+
"typeId": 19
|
|
950
1493
|
},
|
|
951
1494
|
{
|
|
952
1495
|
"name": "base_amount",
|
|
@@ -960,51 +1503,51 @@ const abi = {
|
|
|
960
1503
|
},
|
|
961
1504
|
{
|
|
962
1505
|
"type": "struct ownership::events::OwnershipSet",
|
|
963
|
-
"metadataTypeId":
|
|
1506
|
+
"metadataTypeId": 45,
|
|
964
1507
|
"components": [
|
|
965
1508
|
{
|
|
966
1509
|
"name": "new_owner",
|
|
967
|
-
"typeId":
|
|
1510
|
+
"typeId": 19
|
|
968
1511
|
}
|
|
969
1512
|
]
|
|
970
1513
|
},
|
|
971
1514
|
{
|
|
972
1515
|
"type": "struct ownership::events::OwnershipTransferred",
|
|
973
|
-
"metadataTypeId":
|
|
1516
|
+
"metadataTypeId": 46,
|
|
974
1517
|
"components": [
|
|
975
1518
|
{
|
|
976
1519
|
"name": "new_owner",
|
|
977
|
-
"typeId":
|
|
1520
|
+
"typeId": 19
|
|
978
1521
|
},
|
|
979
1522
|
{
|
|
980
1523
|
"name": "previous_owner",
|
|
981
|
-
"typeId":
|
|
1524
|
+
"typeId": 19
|
|
982
1525
|
}
|
|
983
1526
|
]
|
|
984
1527
|
},
|
|
985
1528
|
{
|
|
986
1529
|
"type": "struct pausable::events::PauseEvent",
|
|
987
|
-
"metadataTypeId":
|
|
1530
|
+
"metadataTypeId": 47,
|
|
988
1531
|
"components": [
|
|
989
1532
|
{
|
|
990
1533
|
"name": "caller",
|
|
991
|
-
"typeId":
|
|
1534
|
+
"typeId": 19
|
|
992
1535
|
}
|
|
993
1536
|
]
|
|
994
1537
|
},
|
|
995
1538
|
{
|
|
996
1539
|
"type": "struct pausable::events::UnpauseEvent",
|
|
997
|
-
"metadataTypeId":
|
|
1540
|
+
"metadataTypeId": 48,
|
|
998
1541
|
"components": [
|
|
999
1542
|
{
|
|
1000
1543
|
"name": "caller",
|
|
1001
|
-
"typeId":
|
|
1544
|
+
"typeId": 19
|
|
1002
1545
|
}
|
|
1003
1546
|
]
|
|
1004
1547
|
},
|
|
1005
1548
|
{
|
|
1006
1549
|
"type": "struct std::address::Address",
|
|
1007
|
-
"metadataTypeId":
|
|
1550
|
+
"metadataTypeId": 49,
|
|
1008
1551
|
"components": [
|
|
1009
1552
|
{
|
|
1010
1553
|
"name": "bits",
|
|
@@ -1014,7 +1557,7 @@ const abi = {
|
|
|
1014
1557
|
},
|
|
1015
1558
|
{
|
|
1016
1559
|
"type": "struct std::asset_id::AssetId",
|
|
1017
|
-
"metadataTypeId":
|
|
1560
|
+
"metadataTypeId": 50,
|
|
1018
1561
|
"components": [
|
|
1019
1562
|
{
|
|
1020
1563
|
"name": "bits",
|
|
@@ -1024,11 +1567,11 @@ const abi = {
|
|
|
1024
1567
|
},
|
|
1025
1568
|
{
|
|
1026
1569
|
"type": "struct std::bytes::Bytes",
|
|
1027
|
-
"metadataTypeId":
|
|
1570
|
+
"metadataTypeId": 51,
|
|
1028
1571
|
"components": [
|
|
1029
1572
|
{
|
|
1030
1573
|
"name": "buf",
|
|
1031
|
-
"typeId":
|
|
1574
|
+
"typeId": 52
|
|
1032
1575
|
},
|
|
1033
1576
|
{
|
|
1034
1577
|
"name": "len",
|
|
@@ -1038,11 +1581,11 @@ const abi = {
|
|
|
1038
1581
|
},
|
|
1039
1582
|
{
|
|
1040
1583
|
"type": "struct std::bytes::RawBytes",
|
|
1041
|
-
"metadataTypeId":
|
|
1584
|
+
"metadataTypeId": 52,
|
|
1042
1585
|
"components": [
|
|
1043
1586
|
{
|
|
1044
1587
|
"name": "ptr",
|
|
1045
|
-
"typeId":
|
|
1588
|
+
"typeId": 22
|
|
1046
1589
|
},
|
|
1047
1590
|
{
|
|
1048
1591
|
"name": "cap",
|
|
@@ -1052,7 +1595,7 @@ const abi = {
|
|
|
1052
1595
|
},
|
|
1053
1596
|
{
|
|
1054
1597
|
"type": "struct std::contract_id::ContractId",
|
|
1055
|
-
"metadataTypeId":
|
|
1598
|
+
"metadataTypeId": 53,
|
|
1056
1599
|
"components": [
|
|
1057
1600
|
{
|
|
1058
1601
|
"name": "bits",
|
|
@@ -1062,17 +1605,17 @@ const abi = {
|
|
|
1062
1605
|
},
|
|
1063
1606
|
{
|
|
1064
1607
|
"type": "struct std::string::String",
|
|
1065
|
-
"metadataTypeId":
|
|
1608
|
+
"metadataTypeId": 54,
|
|
1066
1609
|
"components": [
|
|
1067
1610
|
{
|
|
1068
1611
|
"name": "bytes",
|
|
1069
|
-
"typeId":
|
|
1612
|
+
"typeId": 51
|
|
1070
1613
|
}
|
|
1071
1614
|
]
|
|
1072
1615
|
},
|
|
1073
1616
|
{
|
|
1074
1617
|
"type": "struct std::time::Time",
|
|
1075
|
-
"metadataTypeId":
|
|
1618
|
+
"metadataTypeId": 55,
|
|
1076
1619
|
"components": [
|
|
1077
1620
|
{
|
|
1078
1621
|
"name": "unix",
|
|
@@ -1082,11 +1625,11 @@ const abi = {
|
|
|
1082
1625
|
},
|
|
1083
1626
|
{
|
|
1084
1627
|
"type": "struct std::vec::RawVec",
|
|
1085
|
-
"metadataTypeId":
|
|
1628
|
+
"metadataTypeId": 56,
|
|
1086
1629
|
"components": [
|
|
1087
1630
|
{
|
|
1088
1631
|
"name": "ptr",
|
|
1089
|
-
"typeId":
|
|
1632
|
+
"typeId": 22
|
|
1090
1633
|
},
|
|
1091
1634
|
{
|
|
1092
1635
|
"name": "cap",
|
|
@@ -1094,20 +1637,20 @@ const abi = {
|
|
|
1094
1637
|
}
|
|
1095
1638
|
],
|
|
1096
1639
|
"typeParameters": [
|
|
1097
|
-
|
|
1640
|
+
21
|
|
1098
1641
|
]
|
|
1099
1642
|
},
|
|
1100
1643
|
{
|
|
1101
1644
|
"type": "struct std::vec::Vec",
|
|
1102
|
-
"metadataTypeId":
|
|
1645
|
+
"metadataTypeId": 57,
|
|
1103
1646
|
"components": [
|
|
1104
1647
|
{
|
|
1105
1648
|
"name": "buf",
|
|
1106
|
-
"typeId":
|
|
1649
|
+
"typeId": 56,
|
|
1107
1650
|
"typeArguments": [
|
|
1108
1651
|
{
|
|
1109
1652
|
"name": "",
|
|
1110
|
-
"typeId":
|
|
1653
|
+
"typeId": 21
|
|
1111
1654
|
}
|
|
1112
1655
|
]
|
|
1113
1656
|
},
|
|
@@ -1117,7 +1660,7 @@ const abi = {
|
|
|
1117
1660
|
}
|
|
1118
1661
|
],
|
|
1119
1662
|
"typeParameters": [
|
|
1120
|
-
|
|
1663
|
+
21
|
|
1121
1664
|
]
|
|
1122
1665
|
}
|
|
1123
1666
|
],
|
|
@@ -1502,109 +2045,258 @@ const abi = {
|
|
|
1502
2045
|
{
|
|
1503
2046
|
"name": "doc-comment",
|
|
1504
2047
|
"arguments": [
|
|
1505
|
-
" # Storage Access"
|
|
2048
|
+
" # Storage Access"
|
|
2049
|
+
]
|
|
2050
|
+
},
|
|
2051
|
+
{
|
|
2052
|
+
"name": "doc-comment",
|
|
2053
|
+
"arguments": [
|
|
2054
|
+
""
|
|
2055
|
+
]
|
|
2056
|
+
},
|
|
2057
|
+
{
|
|
2058
|
+
"name": "doc-comment",
|
|
2059
|
+
"arguments": [
|
|
2060
|
+
" - Reads: Current order book state to check for matches"
|
|
2061
|
+
]
|
|
2062
|
+
},
|
|
2063
|
+
{
|
|
2064
|
+
"name": "doc-comment",
|
|
2065
|
+
"arguments": [
|
|
2066
|
+
" - Writes: Updates order book with new order or executes trades"
|
|
2067
|
+
]
|
|
2068
|
+
},
|
|
2069
|
+
{
|
|
2070
|
+
"name": "doc-comment",
|
|
2071
|
+
"arguments": [
|
|
2072
|
+
""
|
|
2073
|
+
]
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"name": "doc-comment",
|
|
2077
|
+
"arguments": [
|
|
2078
|
+
" # Events"
|
|
2079
|
+
]
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
"name": "doc-comment",
|
|
2083
|
+
"arguments": [
|
|
2084
|
+
""
|
|
2085
|
+
]
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"name": "doc-comment",
|
|
2089
|
+
"arguments": [
|
|
2090
|
+
" - Emits `OrderCreatedEvent` if order is added to book"
|
|
2091
|
+
]
|
|
2092
|
+
},
|
|
2093
|
+
{
|
|
2094
|
+
"name": "doc-comment",
|
|
2095
|
+
"arguments": [
|
|
2096
|
+
" - Emits `OrderMatchedEvent` for each match executed"
|
|
2097
|
+
]
|
|
2098
|
+
},
|
|
2099
|
+
{
|
|
2100
|
+
"name": "doc-comment",
|
|
2101
|
+
"arguments": [
|
|
2102
|
+
""
|
|
2103
|
+
]
|
|
2104
|
+
},
|
|
2105
|
+
{
|
|
2106
|
+
"name": "doc-comment",
|
|
2107
|
+
"arguments": [
|
|
2108
|
+
" # Reverts"
|
|
2109
|
+
]
|
|
2110
|
+
},
|
|
2111
|
+
{
|
|
2112
|
+
"name": "doc-comment",
|
|
2113
|
+
"arguments": [
|
|
2114
|
+
""
|
|
2115
|
+
]
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
"name": "doc-comment",
|
|
2119
|
+
"arguments": [
|
|
2120
|
+
" - If quantity is zero"
|
|
1506
2121
|
]
|
|
1507
2122
|
},
|
|
1508
2123
|
{
|
|
1509
2124
|
"name": "doc-comment",
|
|
1510
2125
|
"arguments": [
|
|
1511
|
-
""
|
|
2126
|
+
" - If price is zero"
|
|
1512
2127
|
]
|
|
1513
2128
|
},
|
|
1514
2129
|
{
|
|
1515
2130
|
"name": "doc-comment",
|
|
1516
2131
|
"arguments": [
|
|
1517
|
-
" -
|
|
2132
|
+
" - If msg_asset_id is neither BASE_ASSET nor QUOTE_ASSET"
|
|
1518
2133
|
]
|
|
1519
2134
|
},
|
|
1520
2135
|
{
|
|
1521
2136
|
"name": "doc-comment",
|
|
1522
2137
|
"arguments": [
|
|
1523
|
-
" -
|
|
2138
|
+
" - If msg_amount doesn't match expected amount:"
|
|
1524
2139
|
]
|
|
1525
2140
|
},
|
|
1526
2141
|
{
|
|
1527
2142
|
"name": "doc-comment",
|
|
1528
2143
|
"arguments": [
|
|
1529
|
-
""
|
|
2144
|
+
" - Buy orders: msg_amount != quantity * price"
|
|
1530
2145
|
]
|
|
1531
2146
|
},
|
|
1532
2147
|
{
|
|
1533
2148
|
"name": "doc-comment",
|
|
1534
2149
|
"arguments": [
|
|
1535
|
-
"
|
|
2150
|
+
" - Sell orders: msg_amount != quantity"
|
|
1536
2151
|
]
|
|
1537
2152
|
},
|
|
1538
2153
|
{
|
|
1539
|
-
"name": "
|
|
2154
|
+
"name": "storage",
|
|
1540
2155
|
"arguments": [
|
|
1541
|
-
""
|
|
2156
|
+
"read",
|
|
2157
|
+
"write"
|
|
1542
2158
|
]
|
|
1543
2159
|
},
|
|
1544
2160
|
{
|
|
1545
|
-
"name": "
|
|
1546
|
-
"arguments": [
|
|
1547
|
-
|
|
1548
|
-
|
|
2161
|
+
"name": "payable",
|
|
2162
|
+
"arguments": []
|
|
2163
|
+
}
|
|
2164
|
+
]
|
|
2165
|
+
},
|
|
2166
|
+
{
|
|
2167
|
+
"name": "create_order_with_triggers",
|
|
2168
|
+
"inputs": [
|
|
2169
|
+
{
|
|
2170
|
+
"name": "order_args",
|
|
2171
|
+
"concreteTypeId": "027cfee5b9839be8e12b3b56eaf1315f269a86a23ae0a392f084185f7b54a410"
|
|
1549
2172
|
},
|
|
1550
2173
|
{
|
|
1551
|
-
"name": "
|
|
2174
|
+
"name": "trigger_1",
|
|
2175
|
+
"concreteTypeId": "e915e400fd7cca76151cd63ea4a84d70d906ea97663b011363db9271072cad74"
|
|
2176
|
+
},
|
|
2177
|
+
{
|
|
2178
|
+
"name": "trigger_2",
|
|
2179
|
+
"concreteTypeId": "020bfa2968cbf7600b3752287637e71587b0f46760ffdf0a977421343746b5c8"
|
|
2180
|
+
}
|
|
2181
|
+
],
|
|
2182
|
+
"output": "cdeacf58742dab0aa73fcb9b540d076dab5973f18c48cdd27818f72784feb6f2",
|
|
2183
|
+
"attributes": [
|
|
2184
|
+
{
|
|
2185
|
+
"name": "storage",
|
|
1552
2186
|
"arguments": [
|
|
1553
|
-
"
|
|
2187
|
+
"read",
|
|
2188
|
+
"write"
|
|
1554
2189
|
]
|
|
1555
2190
|
},
|
|
1556
2191
|
{
|
|
1557
|
-
"name": "
|
|
2192
|
+
"name": "payable",
|
|
2193
|
+
"arguments": []
|
|
2194
|
+
}
|
|
2195
|
+
]
|
|
2196
|
+
},
|
|
2197
|
+
{
|
|
2198
|
+
"name": "create_trigger_order",
|
|
2199
|
+
"inputs": [
|
|
2200
|
+
{
|
|
2201
|
+
"name": "trigger_order",
|
|
2202
|
+
"concreteTypeId": "e915e400fd7cca76151cd63ea4a84d70d906ea97663b011363db9271072cad74"
|
|
2203
|
+
},
|
|
2204
|
+
{
|
|
2205
|
+
"name": "expected_parent_quantity",
|
|
2206
|
+
"concreteTypeId": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d"
|
|
2207
|
+
}
|
|
2208
|
+
],
|
|
2209
|
+
"output": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
|
|
2210
|
+
"attributes": [
|
|
2211
|
+
{
|
|
2212
|
+
"name": "storage",
|
|
1558
2213
|
"arguments": [
|
|
1559
|
-
""
|
|
2214
|
+
"read",
|
|
2215
|
+
"write"
|
|
1560
2216
|
]
|
|
1561
2217
|
},
|
|
1562
2218
|
{
|
|
1563
|
-
"name": "
|
|
2219
|
+
"name": "payable",
|
|
2220
|
+
"arguments": []
|
|
2221
|
+
}
|
|
2222
|
+
]
|
|
2223
|
+
},
|
|
2224
|
+
{
|
|
2225
|
+
"name": "create_trigger_orders",
|
|
2226
|
+
"inputs": [
|
|
2227
|
+
{
|
|
2228
|
+
"name": "trigger_order_1",
|
|
2229
|
+
"concreteTypeId": "e915e400fd7cca76151cd63ea4a84d70d906ea97663b011363db9271072cad74"
|
|
2230
|
+
},
|
|
2231
|
+
{
|
|
2232
|
+
"name": "trigger_order_2",
|
|
2233
|
+
"concreteTypeId": "e915e400fd7cca76151cd63ea4a84d70d906ea97663b011363db9271072cad74"
|
|
2234
|
+
},
|
|
2235
|
+
{
|
|
2236
|
+
"name": "expected_parent_quantity",
|
|
2237
|
+
"concreteTypeId": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d"
|
|
2238
|
+
}
|
|
2239
|
+
],
|
|
2240
|
+
"output": "bc42ec26f2a17c5b23fc007d96b96bf35f8949ee156afdd789064210d881f7e0",
|
|
2241
|
+
"attributes": [
|
|
2242
|
+
{
|
|
2243
|
+
"name": "storage",
|
|
1564
2244
|
"arguments": [
|
|
1565
|
-
"
|
|
2245
|
+
"read",
|
|
2246
|
+
"write"
|
|
1566
2247
|
]
|
|
1567
2248
|
},
|
|
2249
|
+
{
|
|
2250
|
+
"name": "payable",
|
|
2251
|
+
"arguments": []
|
|
2252
|
+
}
|
|
2253
|
+
]
|
|
2254
|
+
},
|
|
2255
|
+
{
|
|
2256
|
+
"name": "execute_trigger_order",
|
|
2257
|
+
"inputs": [],
|
|
2258
|
+
"output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
2259
|
+
"attributes": [
|
|
1568
2260
|
{
|
|
1569
2261
|
"name": "doc-comment",
|
|
1570
2262
|
"arguments": [
|
|
1571
|
-
""
|
|
2263
|
+
" Executes the next trigger order at the head of the global queue."
|
|
1572
2264
|
]
|
|
1573
2265
|
},
|
|
1574
2266
|
{
|
|
1575
2267
|
"name": "doc-comment",
|
|
1576
2268
|
"arguments": [
|
|
1577
|
-
"
|
|
2269
|
+
""
|
|
1578
2270
|
]
|
|
1579
2271
|
},
|
|
1580
2272
|
{
|
|
1581
2273
|
"name": "doc-comment",
|
|
1582
2274
|
"arguments": [
|
|
1583
|
-
"
|
|
2275
|
+
" The trigger is funded by whatever has accumulated in its lock. If a parent spot"
|
|
1584
2276
|
]
|
|
1585
2277
|
},
|
|
1586
2278
|
{
|
|
1587
2279
|
"name": "doc-comment",
|
|
1588
2280
|
"arguments": [
|
|
1589
|
-
"
|
|
2281
|
+
" order is still resting, it is cancelled first (its escrow returned to the trader's"
|
|
1590
2282
|
]
|
|
1591
2283
|
},
|
|
1592
2284
|
{
|
|
1593
2285
|
"name": "doc-comment",
|
|
1594
2286
|
"arguments": [
|
|
1595
|
-
"
|
|
2287
|
+
" settled balance) so the trigger fires at the snapshot of available funds rather"
|
|
1596
2288
|
]
|
|
1597
2289
|
},
|
|
1598
2290
|
{
|
|
1599
2291
|
"name": "doc-comment",
|
|
1600
2292
|
"arguments": [
|
|
1601
|
-
"
|
|
2293
|
+
" than racing future fills against it. The new spot's quantity is scaled down to"
|
|
1602
2294
|
]
|
|
1603
2295
|
},
|
|
1604
2296
|
{
|
|
1605
2297
|
"name": "doc-comment",
|
|
1606
2298
|
"arguments": [
|
|
1607
|
-
"
|
|
2299
|
+
" match the available lock — never up."
|
|
1608
2300
|
]
|
|
1609
2301
|
},
|
|
1610
2302
|
{
|
|
@@ -1613,10 +2305,6 @@ const abi = {
|
|
|
1613
2305
|
"read",
|
|
1614
2306
|
"write"
|
|
1615
2307
|
]
|
|
1616
|
-
},
|
|
1617
|
-
{
|
|
1618
|
-
"name": "payable",
|
|
1619
|
-
"arguments": []
|
|
1620
2308
|
}
|
|
1621
2309
|
]
|
|
1622
2310
|
},
|
|
@@ -1815,6 +2503,19 @@ const abi = {
|
|
|
1815
2503
|
"output": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
|
|
1816
2504
|
"attributes": null
|
|
1817
2505
|
},
|
|
2506
|
+
{
|
|
2507
|
+
"name": "get_head_trigger_order",
|
|
2508
|
+
"inputs": [],
|
|
2509
|
+
"output": "aa46988b96e71d9a5994f2807f743c9a360e72be8e9865141192345e539187f5",
|
|
2510
|
+
"attributes": [
|
|
2511
|
+
{
|
|
2512
|
+
"name": "storage",
|
|
2513
|
+
"arguments": [
|
|
2514
|
+
"read"
|
|
2515
|
+
]
|
|
2516
|
+
}
|
|
2517
|
+
]
|
|
2518
|
+
},
|
|
1818
2519
|
{
|
|
1819
2520
|
"name": "get_heap_price",
|
|
1820
2521
|
"inputs": [
|
|
@@ -1988,6 +2689,28 @@ const abi = {
|
|
|
1988
2689
|
}
|
|
1989
2690
|
]
|
|
1990
2691
|
},
|
|
2692
|
+
{
|
|
2693
|
+
"name": "get_locked_balance_of",
|
|
2694
|
+
"inputs": [
|
|
2695
|
+
{
|
|
2696
|
+
"name": "trader",
|
|
2697
|
+
"concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
"name": "order_id",
|
|
2701
|
+
"concreteTypeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
2702
|
+
}
|
|
2703
|
+
],
|
|
2704
|
+
"output": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
2705
|
+
"attributes": [
|
|
2706
|
+
{
|
|
2707
|
+
"name": "storage",
|
|
2708
|
+
"arguments": [
|
|
2709
|
+
"read"
|
|
2710
|
+
]
|
|
2711
|
+
}
|
|
2712
|
+
]
|
|
2713
|
+
},
|
|
1991
2714
|
{
|
|
1992
2715
|
"name": "get_maker_fee",
|
|
1993
2716
|
"inputs": [],
|
|
@@ -2530,6 +3253,78 @@ const abi = {
|
|
|
2530
3253
|
}
|
|
2531
3254
|
]
|
|
2532
3255
|
},
|
|
3256
|
+
{
|
|
3257
|
+
"name": "get_trigger_order",
|
|
3258
|
+
"inputs": [
|
|
3259
|
+
{
|
|
3260
|
+
"name": "order_id",
|
|
3261
|
+
"concreteTypeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
3262
|
+
}
|
|
3263
|
+
],
|
|
3264
|
+
"output": "aa46988b96e71d9a5994f2807f743c9a360e72be8e9865141192345e539187f5",
|
|
3265
|
+
"attributes": [
|
|
3266
|
+
{
|
|
3267
|
+
"name": "storage",
|
|
3268
|
+
"arguments": [
|
|
3269
|
+
"read"
|
|
3270
|
+
]
|
|
3271
|
+
}
|
|
3272
|
+
]
|
|
3273
|
+
},
|
|
3274
|
+
{
|
|
3275
|
+
"name": "get_trigger_order_parent",
|
|
3276
|
+
"inputs": [
|
|
3277
|
+
{
|
|
3278
|
+
"name": "order_id",
|
|
3279
|
+
"concreteTypeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
3280
|
+
}
|
|
3281
|
+
],
|
|
3282
|
+
"output": "0c2beb9013490c4f753f2757dfe2d8340b22ce3827d596d81d249b7038033cb6",
|
|
3283
|
+
"attributes": [
|
|
3284
|
+
{
|
|
3285
|
+
"name": "storage",
|
|
3286
|
+
"arguments": [
|
|
3287
|
+
"read"
|
|
3288
|
+
]
|
|
3289
|
+
}
|
|
3290
|
+
]
|
|
3291
|
+
},
|
|
3292
|
+
{
|
|
3293
|
+
"name": "get_trigger_order_sibling",
|
|
3294
|
+
"inputs": [
|
|
3295
|
+
{
|
|
3296
|
+
"name": "order_id",
|
|
3297
|
+
"concreteTypeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
3298
|
+
}
|
|
3299
|
+
],
|
|
3300
|
+
"output": "0c2beb9013490c4f753f2757dfe2d8340b22ce3827d596d81d249b7038033cb6",
|
|
3301
|
+
"attributes": [
|
|
3302
|
+
{
|
|
3303
|
+
"name": "storage",
|
|
3304
|
+
"arguments": [
|
|
3305
|
+
"read"
|
|
3306
|
+
]
|
|
3307
|
+
}
|
|
3308
|
+
]
|
|
3309
|
+
},
|
|
3310
|
+
{
|
|
3311
|
+
"name": "get_trigger_orders_at_price",
|
|
3312
|
+
"inputs": [
|
|
3313
|
+
{
|
|
3314
|
+
"name": "trigger_price",
|
|
3315
|
+
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
3316
|
+
}
|
|
3317
|
+
],
|
|
3318
|
+
"output": "90bd4a53a7770f92afd12f9ceaea3e7f99a6c46d42d3ddedeef0874b7be6c92a",
|
|
3319
|
+
"attributes": [
|
|
3320
|
+
{
|
|
3321
|
+
"name": "storage",
|
|
3322
|
+
"arguments": [
|
|
3323
|
+
"read"
|
|
3324
|
+
]
|
|
3325
|
+
}
|
|
3326
|
+
]
|
|
3327
|
+
},
|
|
2533
3328
|
{
|
|
2534
3329
|
"name": "get_whitelist_id",
|
|
2535
3330
|
"inputs": [],
|
|
@@ -2859,6 +3654,44 @@ const abi = {
|
|
|
2859
3654
|
}
|
|
2860
3655
|
]
|
|
2861
3656
|
},
|
|
3657
|
+
{
|
|
3658
|
+
"name": "eject_trigger_order",
|
|
3659
|
+
"inputs": [],
|
|
3660
|
+
"output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
3661
|
+
"attributes": [
|
|
3662
|
+
{
|
|
3663
|
+
"name": "doc-comment",
|
|
3664
|
+
"arguments": [
|
|
3665
|
+
" Owner-only escape hatch: removes the trigger at the head of the global queue,"
|
|
3666
|
+
]
|
|
3667
|
+
},
|
|
3668
|
+
{
|
|
3669
|
+
"name": "doc-comment",
|
|
3670
|
+
"arguments": [
|
|
3671
|
+
" refunds any held lock to the trader, clears all linked state, and unhalts the book"
|
|
3672
|
+
]
|
|
3673
|
+
},
|
|
3674
|
+
{
|
|
3675
|
+
"name": "doc-comment",
|
|
3676
|
+
"arguments": [
|
|
3677
|
+
" if it was halted. Used when a trigger at the head is stuck (e.g. systematically"
|
|
3678
|
+
]
|
|
3679
|
+
},
|
|
3680
|
+
{
|
|
3681
|
+
"name": "doc-comment",
|
|
3682
|
+
"arguments": [
|
|
3683
|
+
" running OOG and blocking subsequent triggers)."
|
|
3684
|
+
]
|
|
3685
|
+
},
|
|
3686
|
+
{
|
|
3687
|
+
"name": "storage",
|
|
3688
|
+
"arguments": [
|
|
3689
|
+
"read",
|
|
3690
|
+
"write"
|
|
3691
|
+
]
|
|
3692
|
+
}
|
|
3693
|
+
]
|
|
3694
|
+
},
|
|
2862
3695
|
{
|
|
2863
3696
|
"name": "emit_orderbook_config",
|
|
2864
3697
|
"inputs": [],
|
|
@@ -3238,6 +4071,14 @@ const abi = {
|
|
|
3238
4071
|
"logId": "4997665884103701952",
|
|
3239
4072
|
"concreteTypeId": "455b46a49016f5c03c18ce54b969ea3d0d33c9b00263b3dcc36aa8da27558b8a"
|
|
3240
4073
|
},
|
|
4074
|
+
{
|
|
4075
|
+
"logId": "11872035487494935780",
|
|
4076
|
+
"concreteTypeId": "a4c1f16008f794e4bb5f1e3dee0e961b2c480dad11ea5b89fc2eacfe38631db5"
|
|
4077
|
+
},
|
|
4078
|
+
{
|
|
4079
|
+
"logId": "10821972466347811362",
|
|
4080
|
+
"concreteTypeId": "962f5e9ef1b8222269128afe35ff4d3241c140c267d673365de624d353b563c8"
|
|
4081
|
+
},
|
|
3241
4082
|
{
|
|
3242
4083
|
"logId": "1043998670105365804",
|
|
3243
4084
|
"concreteTypeId": "0e7d0742559c4d2c273298fdc0b9b7e9b07f7f944855ca3020dba8617515e2f0"
|
|
@@ -3293,6 +4134,18 @@ const abi = {
|
|
|
3293
4134
|
{
|
|
3294
4135
|
"logId": "11719039397861176592",
|
|
3295
4136
|
"concreteTypeId": "a2a2643e0252b510328c0323a0ea60724fb4cb3309a2322ab31b27566ff9a79d"
|
|
4137
|
+
},
|
|
4138
|
+
{
|
|
4139
|
+
"logId": "1559614116885970782",
|
|
4140
|
+
"concreteTypeId": "15a4dcc6afac3f5e9d69383292c88895475737c599b518309c34cf8c1104f8f5"
|
|
4141
|
+
},
|
|
4142
|
+
{
|
|
4143
|
+
"logId": "16602627312738262893",
|
|
4144
|
+
"concreteTypeId": "e668619391f65f6ddbe3de3cfd8a1777035887bc8bbb31c7847131031159841a"
|
|
4145
|
+
},
|
|
4146
|
+
{
|
|
4147
|
+
"logId": "8092143774995562521",
|
|
4148
|
+
"concreteTypeId": "704d11e3abffc019b7c89fea24cbc379742ed0dc7ddc01c5425a143c1f0bc2b8"
|
|
3296
4149
|
}
|
|
3297
4150
|
],
|
|
3298
4151
|
"messagesTypes": [],
|
|
@@ -3300,133 +4153,139 @@ const abi = {
|
|
|
3300
4153
|
{
|
|
3301
4154
|
"name": "INITIAL_OWNER",
|
|
3302
4155
|
"concreteTypeId": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
|
|
3303
|
-
"offset":
|
|
4156
|
+
"offset": 148816,
|
|
3304
4157
|
"indirect": false
|
|
3305
4158
|
},
|
|
3306
4159
|
{
|
|
3307
4160
|
"name": "BASE_ASSET",
|
|
3308
4161
|
"concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
|
|
3309
|
-
"offset":
|
|
4162
|
+
"offset": 148704,
|
|
3310
4163
|
"indirect": false
|
|
3311
4164
|
},
|
|
3312
4165
|
{
|
|
3313
4166
|
"name": "QUOTE_ASSET",
|
|
3314
4167
|
"concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
|
|
3315
|
-
"offset":
|
|
4168
|
+
"offset": 148960,
|
|
3316
4169
|
"indirect": false
|
|
3317
4170
|
},
|
|
3318
4171
|
{
|
|
3319
4172
|
"name": "MIN_ORDER",
|
|
3320
4173
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
3321
|
-
"offset":
|
|
4174
|
+
"offset": 148928,
|
|
3322
4175
|
"indirect": false
|
|
3323
4176
|
},
|
|
3324
4177
|
{
|
|
3325
4178
|
"name": "MAKER_FEE",
|
|
3326
4179
|
"concreteTypeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
3327
|
-
"offset":
|
|
4180
|
+
"offset": 148864,
|
|
3328
4181
|
"indirect": false
|
|
3329
4182
|
},
|
|
3330
4183
|
{
|
|
3331
4184
|
"name": "TAKER_FEE",
|
|
3332
4185
|
"concreteTypeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
3333
|
-
"offset":
|
|
4186
|
+
"offset": 149016,
|
|
3334
4187
|
"indirect": false
|
|
3335
4188
|
},
|
|
3336
4189
|
{
|
|
3337
4190
|
"name": "BASE_DECIMALS",
|
|
3338
4191
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
3339
|
-
"offset":
|
|
4192
|
+
"offset": 148736,
|
|
3340
4193
|
"indirect": false
|
|
3341
4194
|
},
|
|
3342
4195
|
{
|
|
3343
4196
|
"name": "QUOTE_DECIMALS",
|
|
3344
4197
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
3345
|
-
"offset":
|
|
4198
|
+
"offset": 148992,
|
|
3346
4199
|
"indirect": false
|
|
3347
4200
|
},
|
|
3348
4201
|
{
|
|
3349
4202
|
"name": "PRICE_WINDOW",
|
|
3350
4203
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
3351
|
-
"offset":
|
|
4204
|
+
"offset": 148944,
|
|
3352
4205
|
"indirect": false
|
|
3353
4206
|
},
|
|
3354
4207
|
{
|
|
3355
4208
|
"name": "PRICE_PRECISION",
|
|
3356
4209
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
3357
|
-
"offset":
|
|
4210
|
+
"offset": 148936,
|
|
3358
4211
|
"indirect": false
|
|
3359
4212
|
},
|
|
3360
4213
|
{
|
|
3361
4214
|
"name": "QUANTITY_PRECISION",
|
|
3362
4215
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
3363
|
-
"offset":
|
|
4216
|
+
"offset": 148952,
|
|
3364
4217
|
"indirect": false
|
|
3365
4218
|
},
|
|
3366
4219
|
{
|
|
3367
4220
|
"name": "DUST",
|
|
3368
4221
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
3369
|
-
"offset":
|
|
4222
|
+
"offset": 148808,
|
|
3370
4223
|
"indirect": false
|
|
3371
4224
|
},
|
|
3372
4225
|
{
|
|
3373
4226
|
"name": "BASE_GAS",
|
|
3374
4227
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
3375
|
-
"offset":
|
|
4228
|
+
"offset": 148744,
|
|
3376
4229
|
"indirect": false
|
|
3377
4230
|
},
|
|
3378
4231
|
{
|
|
3379
4232
|
"name": "MATCH_EVENT_GAS",
|
|
3380
4233
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
3381
|
-
"offset":
|
|
4234
|
+
"offset": 148896,
|
|
3382
4235
|
"indirect": false
|
|
3383
4236
|
},
|
|
3384
4237
|
{
|
|
3385
4238
|
"name": "MATCH_SINGLE_LEVEL_GAS",
|
|
3386
4239
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
3387
|
-
"offset":
|
|
4240
|
+
"offset": 148912,
|
|
3388
4241
|
"indirect": false
|
|
3389
4242
|
},
|
|
3390
4243
|
{
|
|
3391
4244
|
"name": "MATCH_MULTI_LEVEL_GAS",
|
|
3392
4245
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
3393
|
-
"offset":
|
|
4246
|
+
"offset": 148904,
|
|
3394
4247
|
"indirect": false
|
|
3395
4248
|
},
|
|
3396
4249
|
{
|
|
3397
4250
|
"name": "MIN_GAS",
|
|
3398
4251
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
3399
|
-
"offset":
|
|
4252
|
+
"offset": 148920,
|
|
3400
4253
|
"indirect": false
|
|
3401
4254
|
},
|
|
3402
4255
|
{
|
|
3403
4256
|
"name": "ALLOW_FRACTIONAL_PRICE",
|
|
3404
4257
|
"concreteTypeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
|
|
3405
|
-
"offset":
|
|
4258
|
+
"offset": 148696,
|
|
4259
|
+
"indirect": false
|
|
4260
|
+
},
|
|
4261
|
+
{
|
|
4262
|
+
"name": "TRIGGER_MAX_SLIPPAGE",
|
|
4263
|
+
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4264
|
+
"offset": 149048,
|
|
3406
4265
|
"indirect": false
|
|
3407
4266
|
},
|
|
3408
4267
|
{
|
|
3409
4268
|
"name": "BASE_SYMBOL",
|
|
3410
4269
|
"concreteTypeId": "338a25cb65b9251663dcce6362b744fe10aa849758299590f4efed5dd299bf50",
|
|
3411
|
-
"offset":
|
|
4270
|
+
"offset": 148752,
|
|
3412
4271
|
"indirect": false
|
|
3413
4272
|
},
|
|
3414
4273
|
{
|
|
3415
4274
|
"name": "QUOTE_SYMBOL",
|
|
3416
4275
|
"concreteTypeId": "338a25cb65b9251663dcce6362b744fe10aa849758299590f4efed5dd299bf50",
|
|
3417
|
-
"offset":
|
|
4276
|
+
"offset": 149000,
|
|
3418
4277
|
"indirect": false
|
|
3419
4278
|
},
|
|
3420
4279
|
{
|
|
3421
4280
|
"name": "WHITE_LIST_CONTRACT",
|
|
3422
4281
|
"concreteTypeId": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
|
|
3423
|
-
"offset":
|
|
4282
|
+
"offset": 149056,
|
|
3424
4283
|
"indirect": false
|
|
3425
4284
|
},
|
|
3426
4285
|
{
|
|
3427
4286
|
"name": "BLACK_LIST_CONTRACT",
|
|
3428
4287
|
"concreteTypeId": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
|
|
3429
|
-
"offset":
|
|
4288
|
+
"offset": 148768,
|
|
3430
4289
|
"indirect": false
|
|
3431
4290
|
}
|
|
3432
4291
|
],
|
|
@@ -3434,6 +4293,14 @@ const abi = {
|
|
|
3434
4293
|
"panickingCalls": {}
|
|
3435
4294
|
};
|
|
3436
4295
|
const storageSlots = [
|
|
4296
|
+
{
|
|
4297
|
+
"key": "0e37d740667cc57abb67fd7a1336769600f94d8b7ee55c86be3d3ab1b450d5f6",
|
|
4298
|
+
"value": "0000000000000000000000000000000000000000000000000000000000000000"
|
|
4299
|
+
},
|
|
4300
|
+
{
|
|
4301
|
+
"key": "4d01d421159e00072c30c0e33ebb92efc2ad962501ea745cc6443828196d0262",
|
|
4302
|
+
"value": "0000000000000000000000000000000000000000000000000000000000000000"
|
|
4303
|
+
},
|
|
3437
4304
|
{
|
|
3438
4305
|
"key": "7ceadc98468d452f30f6b180bc1065fbce8620efac57fef287b5c34e4c9687f4",
|
|
3439
4306
|
"value": "0000000000000000000000000000000000000000000000000000000000000000"
|
|
@@ -3445,6 +4312,10 @@ const storageSlots = [
|
|
|
3445
4312
|
{
|
|
3446
4313
|
"key": "ad467f799b8cd85bf32c612ea056ff074c7e9fef2ca8673e7a9b34743223d66f",
|
|
3447
4314
|
"value": "000000000000000000000000000000000000000000000000ffffffffffffffff"
|
|
4315
|
+
},
|
|
4316
|
+
{
|
|
4317
|
+
"key": "d86e355c3987290610faa33c5721bb75366b3434e51536793b2486554f8c4d0c",
|
|
4318
|
+
"value": "0000000000000000000000000000000000000000000000000000000000000000"
|
|
3448
4319
|
}
|
|
3449
4320
|
];
|
|
3450
4321
|
export class OrderBookInterface extends Interface {
|