@o2exchange/contracts 0.3.7-rc → 0.3.9
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/AccessControlTest.d.ts +124 -0
- package/dist/contracts/AccessControlTest.d.ts.map +1 -0
- package/dist/contracts/AccessControlTest.js +304 -0
- package/dist/contracts/AccessControlTest.js.map +1 -0
- package/dist/contracts/AccessControlTestFactory.d.ts +9 -0
- package/dist/contracts/AccessControlTestFactory.d.ts.map +1 -0
- package/dist/contracts/AccessControlTestFactory.js +23 -0
- package/dist/contracts/AccessControlTestFactory.js.map +1 -0
- package/dist/contracts/OrderBook.d.ts +48 -8
- package/dist/contracts/OrderBook.d.ts.map +1 -1
- package/dist/contracts/OrderBook.js +693 -200
- package/dist/contracts/OrderBook.js.map +1 -1
- package/dist/contracts/OrderBookFactory.js +1 -1
- package/dist/contracts/OrderBookFactory.js.map +1 -1
- package/dist/contracts/TradeAccountRegistry.js +8 -8
- package/dist/contracts/TradeAccountRegistryFactory.js +1 -1
- package/dist/contracts/TradeAccountRegistryFactory.js.map +1 -1
- package/dist/contracts/TrialTradeAccount.d.ts +20 -34
- package/dist/contracts/TrialTradeAccount.d.ts.map +1 -1
- package/dist/contracts/TrialTradeAccount.js +115 -126
- package/dist/contracts/TrialTradeAccount.js.map +1 -1
- package/dist/contracts/TrialTradeAccountFactory.js +1 -1
- package/dist/contracts/TrialTradeAccountFactory.js.map +1 -1
- package/dist/contracts/TrialTradeAccountProxy.d.ts +4 -2
- package/dist/contracts/TrialTradeAccountProxy.d.ts.map +1 -1
- package/dist/contracts/TrialTradeAccountProxy.js +29 -3
- package/dist/contracts/TrialTradeAccountProxy.js.map +1 -1
- package/dist/contracts/TrialTradeAccountProxyFactory.js +1 -1
- package/dist/contracts/TrialTradeAccountProxyFactory.js.map +1 -1
- package/dist/contracts/index.d.ts +2 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +2 -0
- package/dist/contracts/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -216,12 +216,12 @@ const abi = {
|
|
|
216
216
|
{
|
|
217
217
|
"type": "(u64, struct std::time::Time)",
|
|
218
218
|
"concreteTypeId": "3639c0c1fb291a3e7e7ab4d9fe1d6762d6ff0fde0777d0ef8f3799d2f3d70a95",
|
|
219
|
-
"metadataTypeId":
|
|
219
|
+
"metadataTypeId": 1
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
222
|
"type": "(u64, u64)",
|
|
223
223
|
"concreteTypeId": "41bd1a98f0a59642d8f824c805b798a5f268d1f7d05808eb05c4189c493f1be0",
|
|
224
|
-
"metadataTypeId":
|
|
224
|
+
"metadataTypeId": 0
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
227
|
"type": "b256",
|
|
@@ -231,70 +231,83 @@ const abi = {
|
|
|
231
231
|
"type": "bool",
|
|
232
232
|
"concreteTypeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
|
|
233
233
|
},
|
|
234
|
+
{
|
|
235
|
+
"type": "enum contract_libs::access_control::AccessControlError",
|
|
236
|
+
"concreteTypeId": "2285ad920393160f43816bfa64a891b1956e2bbd066346d01638db4aaa81cfb9",
|
|
237
|
+
"metadataTypeId": 4
|
|
238
|
+
},
|
|
234
239
|
{
|
|
235
240
|
"type": "enum contract_schema::order_book::FeeError",
|
|
236
241
|
"concreteTypeId": "41ffdde08d41a5769627d4e77a60cbf9ef0a0e9194114652b57247e64a9ce7f0",
|
|
237
|
-
"metadataTypeId":
|
|
242
|
+
"metadataTypeId": 6
|
|
238
243
|
},
|
|
239
244
|
{
|
|
240
245
|
"type": "enum contract_schema::order_book::OrderBookInitializationError",
|
|
241
246
|
"concreteTypeId": "7beea8d3e75df4e367b45e1567e03c81f969faef517cea9a4ff938fed6ee9f6a",
|
|
242
|
-
"metadataTypeId":
|
|
247
|
+
"metadataTypeId": 7
|
|
243
248
|
},
|
|
244
249
|
{
|
|
245
250
|
"type": "enum contract_schema::order_book::OrderCancelError",
|
|
246
251
|
"concreteTypeId": "0e7d0742559c4d2c273298fdc0b9b7e9b07f7f944855ca3020dba8617515e2f0",
|
|
247
|
-
"metadataTypeId":
|
|
252
|
+
"metadataTypeId": 8
|
|
248
253
|
},
|
|
249
254
|
{
|
|
250
255
|
"type": "enum contract_schema::order_book::OrderCreationError",
|
|
251
256
|
"concreteTypeId": "a700a0d30e8d2803040dc79b7b7b259d0c308ca5187f6c742da1df21c27bf24a",
|
|
252
|
-
"metadataTypeId":
|
|
257
|
+
"metadataTypeId": 9
|
|
253
258
|
},
|
|
254
259
|
{
|
|
255
260
|
"type": "enum contract_schema::order_book::Side",
|
|
256
261
|
"concreteTypeId": "9a10e2c94a13825d2af23f4a4743379feba2acfcec8e2d775e945c5452e84708",
|
|
257
|
-
"metadataTypeId":
|
|
262
|
+
"metadataTypeId": 11
|
|
258
263
|
},
|
|
259
264
|
{
|
|
260
265
|
"type": "enum contract_schema::order_book::TriggerOrderCancelError",
|
|
261
266
|
"concreteTypeId": "a4c1f16008f794e4bb5f1e3dee0e961b2c480dad11ea5b89fc2eacfe38631db5",
|
|
262
|
-
"metadataTypeId":
|
|
267
|
+
"metadataTypeId": 12
|
|
263
268
|
},
|
|
264
269
|
{
|
|
265
270
|
"type": "enum contract_schema::order_book::TriggerOrderCreationError",
|
|
266
271
|
"concreteTypeId": "15a4dcc6afac3f5e9d69383292c88895475737c599b518309c34cf8c1104f8f5",
|
|
267
|
-
"metadataTypeId":
|
|
272
|
+
"metadataTypeId": 13
|
|
268
273
|
},
|
|
269
274
|
{
|
|
270
275
|
"type": "enum ownership::errors::InitializationError",
|
|
271
276
|
"concreteTypeId": "b1fddf488ccb9e63d11888b2750bbd1280a1ae1c49f2d6637fd4cf1e930d1468",
|
|
272
|
-
"metadataTypeId":
|
|
277
|
+
"metadataTypeId": 16
|
|
273
278
|
},
|
|
274
279
|
{
|
|
275
280
|
"type": "enum pausable::errors::PauseError",
|
|
276
281
|
"concreteTypeId": "455b46a49016f5c03c18ce54b969ea3d0d33c9b00263b3dcc36aa8da27558b8a",
|
|
277
|
-
"metadataTypeId":
|
|
282
|
+
"metadataTypeId": 17
|
|
278
283
|
},
|
|
279
284
|
{
|
|
280
285
|
"type": "enum src5::AccessError",
|
|
281
286
|
"concreteTypeId": "f1247475d0d1466599267010f088190f8664dd31663a40c5d5e525d8e64b995d",
|
|
282
|
-
"metadataTypeId":
|
|
287
|
+
"metadataTypeId": 18
|
|
283
288
|
},
|
|
284
289
|
{
|
|
285
290
|
"type": "enum src5::State",
|
|
286
291
|
"concreteTypeId": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
|
|
287
|
-
"metadataTypeId":
|
|
292
|
+
"metadataTypeId": 19
|
|
288
293
|
},
|
|
289
294
|
{
|
|
290
295
|
"type": "enum std::identity::Identity",
|
|
291
296
|
"concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
|
|
292
|
-
"metadataTypeId":
|
|
297
|
+
"metadataTypeId": 20
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"type": "enum std::option::Option<(u64, u64)>",
|
|
301
|
+
"concreteTypeId": "19242ae35d869d7b20e980d4748dd1553fc96476a763b9169f74d949f3d3ecfb",
|
|
302
|
+
"metadataTypeId": 21,
|
|
303
|
+
"typeArguments": [
|
|
304
|
+
"41bd1a98f0a59642d8f824c805b798a5f268d1f7d05808eb05c4189c493f1be0"
|
|
305
|
+
]
|
|
293
306
|
},
|
|
294
307
|
{
|
|
295
308
|
"type": "enum std::option::Option<b256>",
|
|
296
309
|
"concreteTypeId": "0c2beb9013490c4f753f2757dfe2d8340b22ce3827d596d81d249b7038033cb6",
|
|
297
|
-
"metadataTypeId":
|
|
310
|
+
"metadataTypeId": 21,
|
|
298
311
|
"typeArguments": [
|
|
299
312
|
"7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
300
313
|
]
|
|
@@ -302,7 +315,7 @@ const abi = {
|
|
|
302
315
|
{
|
|
303
316
|
"type": "enum std::option::Option<struct contract_schema::order_book::Order>",
|
|
304
317
|
"concreteTypeId": "6cbb9ddffc993ba68abb27bb88aae72e4d50123c3fc8f05d663246d7c9f70724",
|
|
305
|
-
"metadataTypeId":
|
|
318
|
+
"metadataTypeId": 21,
|
|
306
319
|
"typeArguments": [
|
|
307
320
|
"8269f147d8b1fed93590ca56380b11413a1bed10c13c00627a887a6a5e042cea"
|
|
308
321
|
]
|
|
@@ -310,7 +323,7 @@ const abi = {
|
|
|
310
323
|
{
|
|
311
324
|
"type": "enum std::option::Option<struct contract_schema::order_book::TriggerOrder>",
|
|
312
325
|
"concreteTypeId": "aa46988b96e71d9a5994f2807f743c9a360e72be8e9865141192345e539187f5",
|
|
313
|
-
"metadataTypeId":
|
|
326
|
+
"metadataTypeId": 21,
|
|
314
327
|
"typeArguments": [
|
|
315
328
|
"4cf39a60821b204ac155fe0a818c69e2008c926cb1903b2215dc08bec937dd21"
|
|
316
329
|
]
|
|
@@ -318,7 +331,7 @@ const abi = {
|
|
|
318
331
|
{
|
|
319
332
|
"type": "enum std::option::Option<struct contract_schema::order_book::TriggerOrderArgs>",
|
|
320
333
|
"concreteTypeId": "020bfa2968cbf7600b3752287637e71587b0f46760ffdf0a977421343746b5c8",
|
|
321
|
-
"metadataTypeId":
|
|
334
|
+
"metadataTypeId": 21,
|
|
322
335
|
"typeArguments": [
|
|
323
336
|
"e915e400fd7cca76151cd63ea4a84d70d906ea97663b011363db9271072cad74"
|
|
324
337
|
]
|
|
@@ -326,7 +339,7 @@ const abi = {
|
|
|
326
339
|
{
|
|
327
340
|
"type": "enum std::option::Option<struct std::contract_id::ContractId>",
|
|
328
341
|
"concreteTypeId": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
|
|
329
|
-
"metadataTypeId":
|
|
342
|
+
"metadataTypeId": 21,
|
|
330
343
|
"typeArguments": [
|
|
331
344
|
"29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
|
|
332
345
|
]
|
|
@@ -334,7 +347,7 @@ const abi = {
|
|
|
334
347
|
{
|
|
335
348
|
"type": "enum std::option::Option<u64>",
|
|
336
349
|
"concreteTypeId": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d",
|
|
337
|
-
"metadataTypeId":
|
|
350
|
+
"metadataTypeId": 21,
|
|
338
351
|
"typeArguments": [
|
|
339
352
|
"1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
340
353
|
]
|
|
@@ -343,145 +356,155 @@ const abi = {
|
|
|
343
356
|
"type": "str[10]",
|
|
344
357
|
"concreteTypeId": "338a25cb65b9251663dcce6362b744fe10aa849758299590f4efed5dd299bf50"
|
|
345
358
|
},
|
|
359
|
+
{
|
|
360
|
+
"type": "struct contract_libs::access_control::RoleGrantedEvent",
|
|
361
|
+
"concreteTypeId": "564661938244954c8836434b2cf26c3495e0538f78f281fc531f82003ef55d42",
|
|
362
|
+
"metadataTypeId": 24
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"type": "struct contract_libs::access_control::RoleRevokedEvent",
|
|
366
|
+
"concreteTypeId": "e3693daf8fe6223e6a97667025b9fc906b02ca79ea87b1376058b0be52c7778d",
|
|
367
|
+
"metadataTypeId": 25
|
|
368
|
+
},
|
|
346
369
|
{
|
|
347
370
|
"type": "struct contract_schema::order_book::ExpireMakerEvent",
|
|
348
371
|
"concreteTypeId": "937c43727e43c6ad683c47ad69885cf2783ecf73d59460fe1d7033a78ad5963c",
|
|
349
|
-
"metadataTypeId":
|
|
372
|
+
"metadataTypeId": 26
|
|
350
373
|
},
|
|
351
374
|
{
|
|
352
375
|
"type": "struct contract_schema::order_book::FeesClaimedEvent",
|
|
353
376
|
"concreteTypeId": "2e0368c222981c3e3cbba54d7dafbda77dd2c48809b2fd989773b4ae092d8b47",
|
|
354
|
-
"metadataTypeId":
|
|
377
|
+
"metadataTypeId": 27
|
|
355
378
|
},
|
|
356
379
|
{
|
|
357
380
|
"type": "struct contract_schema::order_book::FeesCollectedEvent",
|
|
358
381
|
"concreteTypeId": "814befd15e7d0ec83c54b78f1248f65890b6e4db618d7f067940385064ae00fa",
|
|
359
|
-
"metadataTypeId":
|
|
382
|
+
"metadataTypeId": 28
|
|
360
383
|
},
|
|
361
384
|
{
|
|
362
385
|
"type": "struct contract_schema::order_book::Order",
|
|
363
386
|
"concreteTypeId": "8269f147d8b1fed93590ca56380b11413a1bed10c13c00627a887a6a5e042cea",
|
|
364
|
-
"metadataTypeId":
|
|
387
|
+
"metadataTypeId": 30
|
|
365
388
|
},
|
|
366
389
|
{
|
|
367
390
|
"type": "struct contract_schema::order_book::OrderArgs",
|
|
368
391
|
"concreteTypeId": "027cfee5b9839be8e12b3b56eaf1315f269a86a23ae0a392f084185f7b54a410",
|
|
369
|
-
"metadataTypeId":
|
|
392
|
+
"metadataTypeId": 31
|
|
370
393
|
},
|
|
371
394
|
{
|
|
372
395
|
"type": "struct contract_schema::order_book::OrderBookBlacklistEvent",
|
|
373
396
|
"concreteTypeId": "15e58f365af5d32c8a830ec43e70fce6cfbad16f88ed89b35bb7878f15f5b75d",
|
|
374
|
-
"metadataTypeId":
|
|
397
|
+
"metadataTypeId": 32
|
|
375
398
|
},
|
|
376
399
|
{
|
|
377
400
|
"type": "struct contract_schema::order_book::OrderBookConfigEvent",
|
|
378
401
|
"concreteTypeId": "0959a811c54f76a36f4b1ca7a14729eba6801a5c03356f2cfb12233f574d0ce2",
|
|
379
|
-
"metadataTypeId":
|
|
402
|
+
"metadataTypeId": 33
|
|
380
403
|
},
|
|
381
404
|
{
|
|
382
405
|
"type": "struct contract_schema::order_book::OrderBookSymbolsEvent",
|
|
383
406
|
"concreteTypeId": "99b332e010c1fe173601492be1e50767afba39d95f5aebb83f07fdf4c2103104",
|
|
384
|
-
"metadataTypeId":
|
|
407
|
+
"metadataTypeId": 34
|
|
385
408
|
},
|
|
386
409
|
{
|
|
387
410
|
"type": "struct contract_schema::order_book::OrderBookWhitelistEvent",
|
|
388
411
|
"concreteTypeId": "39cbf43d52ecef8290e4f6e639a22b50f2ea8ce7d673930c83622422c7653026",
|
|
389
|
-
"metadataTypeId":
|
|
412
|
+
"metadataTypeId": 35
|
|
390
413
|
},
|
|
391
414
|
{
|
|
392
415
|
"type": "struct contract_schema::order_book::OrderCancelledEvent",
|
|
393
416
|
"concreteTypeId": "82fb068ba8a0739f1b0a907ff1fbcbc8b1e5a31d5a2f1b46742e4c5fca967c18",
|
|
394
|
-
"metadataTypeId":
|
|
417
|
+
"metadataTypeId": 36
|
|
395
418
|
},
|
|
396
419
|
{
|
|
397
420
|
"type": "struct contract_schema::order_book::OrderCancelledInternalEvent",
|
|
398
421
|
"concreteTypeId": "6e6744800e6fc84d4680e9492774bc9e0cab52bb665d518bdfd2ba21b3a4866c",
|
|
399
|
-
"metadataTypeId":
|
|
422
|
+
"metadataTypeId": 37
|
|
400
423
|
},
|
|
401
424
|
{
|
|
402
425
|
"type": "struct contract_schema::order_book::OrderCreatedEvent",
|
|
403
426
|
"concreteTypeId": "df21162bb6a03b08040f043d238f4b5275e591737c8b5f068f7422be87168258",
|
|
404
|
-
"metadataTypeId":
|
|
427
|
+
"metadataTypeId": 38
|
|
405
428
|
},
|
|
406
429
|
{
|
|
407
430
|
"type": "struct contract_schema::order_book::OrderHaltedEvent",
|
|
408
431
|
"concreteTypeId": "704d11e3abffc019b7c89fea24cbc379742ed0dc7ddc01c5425a143c1f0bc2b8",
|
|
409
|
-
"metadataTypeId":
|
|
432
|
+
"metadataTypeId": 39
|
|
410
433
|
},
|
|
411
434
|
{
|
|
412
435
|
"type": "struct contract_schema::order_book::OrderMatchedEvent",
|
|
413
436
|
"concreteTypeId": "cd2ccf60c8a1d69c9f5a8c9d17ec658f09cd58dac7f0f991a3ce3161c494ea88",
|
|
414
|
-
"metadataTypeId":
|
|
437
|
+
"metadataTypeId": 40
|
|
415
438
|
},
|
|
416
439
|
{
|
|
417
440
|
"type": "struct contract_schema::order_book::OrderOutOfGasEvent",
|
|
418
441
|
"concreteTypeId": "d7fc4e0e366f46285d7ebf08fe5d7a450b649532159d67ce60a329a2d468c5c1",
|
|
419
|
-
"metadataTypeId":
|
|
442
|
+
"metadataTypeId": 41
|
|
420
443
|
},
|
|
421
444
|
{
|
|
422
445
|
"type": "struct contract_schema::order_book::OrderTooSmallEvent",
|
|
423
446
|
"concreteTypeId": "2fed5c339537969e7d6569d8f1607e8476b5829cc3ef3185c9c4ae8f3a4f5edd",
|
|
424
|
-
"metadataTypeId":
|
|
447
|
+
"metadataTypeId": 42
|
|
425
448
|
},
|
|
426
449
|
{
|
|
427
450
|
"type": "struct contract_schema::order_book::TriggerOrder",
|
|
428
451
|
"concreteTypeId": "4cf39a60821b204ac155fe0a818c69e2008c926cb1903b2215dc08bec937dd21",
|
|
429
|
-
"metadataTypeId":
|
|
452
|
+
"metadataTypeId": 43
|
|
430
453
|
},
|
|
431
454
|
{
|
|
432
455
|
"type": "struct contract_schema::order_book::TriggerOrderArgs",
|
|
433
456
|
"concreteTypeId": "e915e400fd7cca76151cd63ea4a84d70d906ea97663b011363db9271072cad74",
|
|
434
|
-
"metadataTypeId":
|
|
457
|
+
"metadataTypeId": 44
|
|
435
458
|
},
|
|
436
459
|
{
|
|
437
460
|
"type": "struct contract_schema::order_book::TriggerOrderCreatedEvent",
|
|
438
461
|
"concreteTypeId": "e668619391f65f6ddbe3de3cfd8a1777035887bc8bbb31c7847131031159841a",
|
|
439
|
-
"metadataTypeId":
|
|
462
|
+
"metadataTypeId": 45
|
|
440
463
|
},
|
|
441
464
|
{
|
|
442
465
|
"type": "struct contract_schema::order_book::TriggerOrderEjectedEvent",
|
|
443
466
|
"concreteTypeId": "962f5e9ef1b8222269128afe35ff4d3241c140c267d673365de624d353b563c8",
|
|
444
|
-
"metadataTypeId":
|
|
467
|
+
"metadataTypeId": 46
|
|
445
468
|
},
|
|
446
469
|
{
|
|
447
470
|
"type": "struct contract_schema::order_book::WithdrawSettledTradeEvent",
|
|
448
471
|
"concreteTypeId": "b145f499e90557447a26156cda458d1c0284a487ef8b8a90646411a33ee5e241",
|
|
449
|
-
"metadataTypeId":
|
|
472
|
+
"metadataTypeId": 47
|
|
450
473
|
},
|
|
451
474
|
{
|
|
452
475
|
"type": "struct ownership::events::OwnershipSet",
|
|
453
476
|
"concreteTypeId": "8c0d2488561c35a28ef795bb8bcc4c43999cdd1e3ecbd10c226e0a68660c54d4",
|
|
454
|
-
"metadataTypeId":
|
|
477
|
+
"metadataTypeId": 48
|
|
455
478
|
},
|
|
456
479
|
{
|
|
457
480
|
"type": "struct ownership::events::OwnershipTransferred",
|
|
458
481
|
"concreteTypeId": "a2a2643e0252b510328c0323a0ea60724fb4cb3309a2322ab31b27566ff9a79d",
|
|
459
|
-
"metadataTypeId":
|
|
482
|
+
"metadataTypeId": 49
|
|
460
483
|
},
|
|
461
484
|
{
|
|
462
485
|
"type": "struct pausable::events::PauseEvent",
|
|
463
486
|
"concreteTypeId": "692983a9aba767e36b5014d3eb842447c736e341cc3b30fcb051b1f5a3d5f80a",
|
|
464
|
-
"metadataTypeId":
|
|
487
|
+
"metadataTypeId": 50
|
|
465
488
|
},
|
|
466
489
|
{
|
|
467
490
|
"type": "struct pausable::events::UnpauseEvent",
|
|
468
491
|
"concreteTypeId": "0026d386ad84e75b525bec3e7c8b6a63df3fcd108a8c4b26438c8a7a2e2c218b",
|
|
469
|
-
"metadataTypeId":
|
|
492
|
+
"metadataTypeId": 51
|
|
470
493
|
},
|
|
471
494
|
{
|
|
472
495
|
"type": "struct std::asset_id::AssetId",
|
|
473
496
|
"concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
|
|
474
|
-
"metadataTypeId":
|
|
497
|
+
"metadataTypeId": 53
|
|
475
498
|
},
|
|
476
499
|
{
|
|
477
500
|
"type": "struct std::contract_id::ContractId",
|
|
478
501
|
"concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54",
|
|
479
|
-
"metadataTypeId":
|
|
502
|
+
"metadataTypeId": 56
|
|
480
503
|
},
|
|
481
504
|
{
|
|
482
505
|
"type": "struct std::vec::Vec<b256>",
|
|
483
506
|
"concreteTypeId": "32559685d0c9845f059bf9d472a0a38cf77d36c23dfcffe5489e86a65cdd9198",
|
|
484
|
-
"metadataTypeId":
|
|
507
|
+
"metadataTypeId": 60,
|
|
485
508
|
"typeArguments": [
|
|
486
509
|
"7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
487
510
|
]
|
|
@@ -489,7 +512,7 @@ const abi = {
|
|
|
489
512
|
{
|
|
490
513
|
"type": "struct std::vec::Vec<enum std::identity::Identity>",
|
|
491
514
|
"concreteTypeId": "2f79033d0d3729398611309f48578b56cf5162ba85e50f4d8fb79c9d9d1abc7b",
|
|
492
|
-
"metadataTypeId":
|
|
515
|
+
"metadataTypeId": 60,
|
|
493
516
|
"typeArguments": [
|
|
494
517
|
"ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
|
|
495
518
|
]
|
|
@@ -497,7 +520,7 @@ const abi = {
|
|
|
497
520
|
{
|
|
498
521
|
"type": "struct std::vec::Vec<struct contract_schema::order_book::Order>",
|
|
499
522
|
"concreteTypeId": "d390c7062efc85cc0e3e0a9339016565cda69d055c218f82d362776998f4e505",
|
|
500
|
-
"metadataTypeId":
|
|
523
|
+
"metadataTypeId": 60,
|
|
501
524
|
"typeArguments": [
|
|
502
525
|
"8269f147d8b1fed93590ca56380b11413a1bed10c13c00627a887a6a5e042cea"
|
|
503
526
|
]
|
|
@@ -505,7 +528,7 @@ const abi = {
|
|
|
505
528
|
{
|
|
506
529
|
"type": "struct std::vec::Vec<struct contract_schema::order_book::TriggerOrder>",
|
|
507
530
|
"concreteTypeId": "90bd4a53a7770f92afd12f9ceaea3e7f99a6c46d42d3ddedeef0874b7be6c92a",
|
|
508
|
-
"metadataTypeId":
|
|
531
|
+
"metadataTypeId": 60,
|
|
509
532
|
"typeArguments": [
|
|
510
533
|
"4cf39a60821b204ac155fe0a818c69e2008c926cb1903b2215dc08bec937dd21"
|
|
511
534
|
]
|
|
@@ -530,7 +553,7 @@ const abi = {
|
|
|
530
553
|
},
|
|
531
554
|
{
|
|
532
555
|
"name": "__tuple_element",
|
|
533
|
-
"typeId":
|
|
556
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
534
557
|
}
|
|
535
558
|
]
|
|
536
559
|
},
|
|
@@ -544,7 +567,7 @@ const abi = {
|
|
|
544
567
|
},
|
|
545
568
|
{
|
|
546
569
|
"name": "__tuple_element",
|
|
547
|
-
"typeId":
|
|
570
|
+
"typeId": 58
|
|
548
571
|
}
|
|
549
572
|
]
|
|
550
573
|
},
|
|
@@ -576,7 +599,7 @@ const abi = {
|
|
|
576
599
|
},
|
|
577
600
|
{
|
|
578
601
|
"name": "__tuple_element",
|
|
579
|
-
"typeId":
|
|
602
|
+
"typeId": 21,
|
|
580
603
|
"typeArguments": [
|
|
581
604
|
{
|
|
582
605
|
"name": "",
|
|
@@ -587,8 +610,26 @@ const abi = {
|
|
|
587
610
|
]
|
|
588
611
|
},
|
|
589
612
|
{
|
|
590
|
-
"type": "enum
|
|
613
|
+
"type": "enum contract_libs::access_control::AccessControlError",
|
|
591
614
|
"metadataTypeId": 4,
|
|
615
|
+
"components": [
|
|
616
|
+
{
|
|
617
|
+
"name": "AccessControlNotAuthorized",
|
|
618
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"name": "AccessControlNoMsgSender",
|
|
622
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"name": "AccessControlRoleOutOfBounds",
|
|
626
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
627
|
+
}
|
|
628
|
+
]
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"type": "enum contract_schema::order_book::EjectionReason",
|
|
632
|
+
"metadataTypeId": 5,
|
|
592
633
|
"components": [
|
|
593
634
|
{
|
|
594
635
|
"name": "Activated",
|
|
@@ -622,7 +663,7 @@ const abi = {
|
|
|
622
663
|
},
|
|
623
664
|
{
|
|
624
665
|
"type": "enum contract_schema::order_book::FeeError",
|
|
625
|
-
"metadataTypeId":
|
|
666
|
+
"metadataTypeId": 6,
|
|
626
667
|
"components": [
|
|
627
668
|
{
|
|
628
669
|
"name": "NoFeesAvailable",
|
|
@@ -632,7 +673,7 @@ const abi = {
|
|
|
632
673
|
},
|
|
633
674
|
{
|
|
634
675
|
"type": "enum contract_schema::order_book::OrderBookInitializationError",
|
|
635
|
-
"metadataTypeId":
|
|
676
|
+
"metadataTypeId": 7,
|
|
636
677
|
"components": [
|
|
637
678
|
{
|
|
638
679
|
"name": "InvalidAsset",
|
|
@@ -666,7 +707,7 @@ const abi = {
|
|
|
666
707
|
},
|
|
667
708
|
{
|
|
668
709
|
"type": "enum contract_schema::order_book::OrderCancelError",
|
|
669
|
-
"metadataTypeId":
|
|
710
|
+
"metadataTypeId": 8,
|
|
670
711
|
"components": [
|
|
671
712
|
{
|
|
672
713
|
"name": "NotOrderOwner",
|
|
@@ -684,7 +725,7 @@ const abi = {
|
|
|
684
725
|
},
|
|
685
726
|
{
|
|
686
727
|
"type": "enum contract_schema::order_book::OrderCreationError",
|
|
687
|
-
"metadataTypeId":
|
|
728
|
+
"metadataTypeId": 9,
|
|
688
729
|
"components": [
|
|
689
730
|
{
|
|
690
731
|
"name": "InvalidOrderArgs",
|
|
@@ -708,7 +749,7 @@ const abi = {
|
|
|
708
749
|
},
|
|
709
750
|
{
|
|
710
751
|
"name": "InvalidHeapPrices",
|
|
711
|
-
"typeId":
|
|
752
|
+
"typeId": 0
|
|
712
753
|
},
|
|
713
754
|
{
|
|
714
755
|
"name": "FractionalPrice",
|
|
@@ -742,11 +783,11 @@ const abi = {
|
|
|
742
783
|
},
|
|
743
784
|
{
|
|
744
785
|
"type": "enum contract_schema::order_book::OrderType",
|
|
745
|
-
"metadataTypeId":
|
|
786
|
+
"metadataTypeId": 10,
|
|
746
787
|
"components": [
|
|
747
788
|
{
|
|
748
789
|
"name": "Limit",
|
|
749
|
-
"typeId":
|
|
790
|
+
"typeId": 1
|
|
750
791
|
},
|
|
751
792
|
{
|
|
752
793
|
"name": "Spot",
|
|
@@ -766,13 +807,13 @@ const abi = {
|
|
|
766
807
|
},
|
|
767
808
|
{
|
|
768
809
|
"name": "BoundedMarket",
|
|
769
|
-
"typeId":
|
|
810
|
+
"typeId": 0
|
|
770
811
|
}
|
|
771
812
|
]
|
|
772
813
|
},
|
|
773
814
|
{
|
|
774
815
|
"type": "enum contract_schema::order_book::Side",
|
|
775
|
-
"metadataTypeId":
|
|
816
|
+
"metadataTypeId": 11,
|
|
776
817
|
"components": [
|
|
777
818
|
{
|
|
778
819
|
"name": "Buy",
|
|
@@ -786,7 +827,7 @@ const abi = {
|
|
|
786
827
|
},
|
|
787
828
|
{
|
|
788
829
|
"type": "enum contract_schema::order_book::TriggerOrderCancelError",
|
|
789
|
-
"metadataTypeId":
|
|
830
|
+
"metadataTypeId": 12,
|
|
790
831
|
"components": [
|
|
791
832
|
{
|
|
792
833
|
"name": "NotOrderOwner",
|
|
@@ -804,7 +845,7 @@ const abi = {
|
|
|
804
845
|
},
|
|
805
846
|
{
|
|
806
847
|
"type": "enum contract_schema::order_book::TriggerOrderCreationError",
|
|
807
|
-
"metadataTypeId":
|
|
848
|
+
"metadataTypeId": 13,
|
|
808
849
|
"components": [
|
|
809
850
|
{
|
|
810
851
|
"name": "InvalidArgs",
|
|
@@ -914,7 +955,7 @@ const abi = {
|
|
|
914
955
|
},
|
|
915
956
|
{
|
|
916
957
|
"type": "enum contract_schema::order_book::TriggerOrderType",
|
|
917
|
-
"metadataTypeId":
|
|
958
|
+
"metadataTypeId": 14,
|
|
918
959
|
"components": [
|
|
919
960
|
{
|
|
920
961
|
"name": "Market",
|
|
@@ -922,7 +963,7 @@ const abi = {
|
|
|
922
963
|
},
|
|
923
964
|
{
|
|
924
965
|
"name": "MarketBounded",
|
|
925
|
-
"typeId":
|
|
966
|
+
"typeId": 0
|
|
926
967
|
},
|
|
927
968
|
{
|
|
928
969
|
"name": "Spot",
|
|
@@ -932,7 +973,7 @@ const abi = {
|
|
|
932
973
|
},
|
|
933
974
|
{
|
|
934
975
|
"type": "enum contract_schema::order_book::TriggerQuantity",
|
|
935
|
-
"metadataTypeId":
|
|
976
|
+
"metadataTypeId": 15,
|
|
936
977
|
"components": [
|
|
937
978
|
{
|
|
938
979
|
"name": "Quantity",
|
|
@@ -946,7 +987,7 @@ const abi = {
|
|
|
946
987
|
},
|
|
947
988
|
{
|
|
948
989
|
"type": "enum ownership::errors::InitializationError",
|
|
949
|
-
"metadataTypeId":
|
|
990
|
+
"metadataTypeId": 16,
|
|
950
991
|
"components": [
|
|
951
992
|
{
|
|
952
993
|
"name": "CannotReinitialized",
|
|
@@ -956,7 +997,7 @@ const abi = {
|
|
|
956
997
|
},
|
|
957
998
|
{
|
|
958
999
|
"type": "enum pausable::errors::PauseError",
|
|
959
|
-
"metadataTypeId":
|
|
1000
|
+
"metadataTypeId": 17,
|
|
960
1001
|
"components": [
|
|
961
1002
|
{
|
|
962
1003
|
"name": "Paused",
|
|
@@ -970,7 +1011,7 @@ const abi = {
|
|
|
970
1011
|
},
|
|
971
1012
|
{
|
|
972
1013
|
"type": "enum src5::AccessError",
|
|
973
|
-
"metadataTypeId":
|
|
1014
|
+
"metadataTypeId": 18,
|
|
974
1015
|
"components": [
|
|
975
1016
|
{
|
|
976
1017
|
"name": "NotOwner",
|
|
@@ -980,7 +1021,7 @@ const abi = {
|
|
|
980
1021
|
},
|
|
981
1022
|
{
|
|
982
1023
|
"type": "enum src5::State",
|
|
983
|
-
"metadataTypeId":
|
|
1024
|
+
"metadataTypeId": 19,
|
|
984
1025
|
"components": [
|
|
985
1026
|
{
|
|
986
1027
|
"name": "Uninitialized",
|
|
@@ -988,7 +1029,7 @@ const abi = {
|
|
|
988
1029
|
},
|
|
989
1030
|
{
|
|
990
1031
|
"name": "Initialized",
|
|
991
|
-
"typeId":
|
|
1032
|
+
"typeId": 20
|
|
992
1033
|
},
|
|
993
1034
|
{
|
|
994
1035
|
"name": "Revoked",
|
|
@@ -998,21 +1039,21 @@ const abi = {
|
|
|
998
1039
|
},
|
|
999
1040
|
{
|
|
1000
1041
|
"type": "enum std::identity::Identity",
|
|
1001
|
-
"metadataTypeId":
|
|
1042
|
+
"metadataTypeId": 20,
|
|
1002
1043
|
"components": [
|
|
1003
1044
|
{
|
|
1004
1045
|
"name": "Address",
|
|
1005
|
-
"typeId":
|
|
1046
|
+
"typeId": 52
|
|
1006
1047
|
},
|
|
1007
1048
|
{
|
|
1008
1049
|
"name": "ContractId",
|
|
1009
|
-
"typeId":
|
|
1050
|
+
"typeId": 56
|
|
1010
1051
|
}
|
|
1011
1052
|
]
|
|
1012
1053
|
},
|
|
1013
1054
|
{
|
|
1014
1055
|
"type": "enum std::option::Option",
|
|
1015
|
-
"metadataTypeId":
|
|
1056
|
+
"metadataTypeId": 21,
|
|
1016
1057
|
"components": [
|
|
1017
1058
|
{
|
|
1018
1059
|
"name": "None",
|
|
@@ -1020,24 +1061,52 @@ const abi = {
|
|
|
1020
1061
|
},
|
|
1021
1062
|
{
|
|
1022
1063
|
"name": "Some",
|
|
1023
|
-
"typeId":
|
|
1064
|
+
"typeId": 22
|
|
1024
1065
|
}
|
|
1025
1066
|
],
|
|
1026
1067
|
"typeParameters": [
|
|
1027
|
-
|
|
1068
|
+
22
|
|
1028
1069
|
]
|
|
1029
1070
|
},
|
|
1030
1071
|
{
|
|
1031
1072
|
"type": "generic T",
|
|
1032
|
-
"metadataTypeId":
|
|
1073
|
+
"metadataTypeId": 22
|
|
1033
1074
|
},
|
|
1034
1075
|
{
|
|
1035
1076
|
"type": "raw untyped ptr",
|
|
1036
|
-
"metadataTypeId":
|
|
1077
|
+
"metadataTypeId": 23
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"type": "struct contract_libs::access_control::RoleGrantedEvent",
|
|
1081
|
+
"metadataTypeId": 24,
|
|
1082
|
+
"components": [
|
|
1083
|
+
{
|
|
1084
|
+
"name": "role",
|
|
1085
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"name": "account",
|
|
1089
|
+
"typeId": 20
|
|
1090
|
+
}
|
|
1091
|
+
]
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"type": "struct contract_libs::access_control::RoleRevokedEvent",
|
|
1095
|
+
"metadataTypeId": 25,
|
|
1096
|
+
"components": [
|
|
1097
|
+
{
|
|
1098
|
+
"name": "role",
|
|
1099
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"name": "account",
|
|
1103
|
+
"typeId": 20
|
|
1104
|
+
}
|
|
1105
|
+
]
|
|
1037
1106
|
},
|
|
1038
1107
|
{
|
|
1039
1108
|
"type": "struct contract_schema::order_book::ExpireMakerEvent",
|
|
1040
|
-
"metadataTypeId":
|
|
1109
|
+
"metadataTypeId": 26,
|
|
1041
1110
|
"components": [
|
|
1042
1111
|
{
|
|
1043
1112
|
"name": "order_id",
|
|
@@ -1045,13 +1114,13 @@ const abi = {
|
|
|
1045
1114
|
},
|
|
1046
1115
|
{
|
|
1047
1116
|
"name": "timestamp",
|
|
1048
|
-
"typeId":
|
|
1117
|
+
"typeId": 58
|
|
1049
1118
|
}
|
|
1050
1119
|
]
|
|
1051
1120
|
},
|
|
1052
1121
|
{
|
|
1053
1122
|
"type": "struct contract_schema::order_book::FeesClaimedEvent",
|
|
1054
|
-
"metadataTypeId":
|
|
1123
|
+
"metadataTypeId": 27,
|
|
1055
1124
|
"components": [
|
|
1056
1125
|
{
|
|
1057
1126
|
"name": "base_fees",
|
|
@@ -1065,7 +1134,7 @@ const abi = {
|
|
|
1065
1134
|
},
|
|
1066
1135
|
{
|
|
1067
1136
|
"type": "struct contract_schema::order_book::FeesCollectedEvent",
|
|
1068
|
-
"metadataTypeId":
|
|
1137
|
+
"metadataTypeId": 28,
|
|
1069
1138
|
"components": [
|
|
1070
1139
|
{
|
|
1071
1140
|
"name": "base_fees",
|
|
@@ -1079,7 +1148,7 @@ const abi = {
|
|
|
1079
1148
|
},
|
|
1080
1149
|
{
|
|
1081
1150
|
"type": "struct contract_schema::order_book::MatchId",
|
|
1082
|
-
"metadataTypeId":
|
|
1151
|
+
"metadataTypeId": 29,
|
|
1083
1152
|
"components": [
|
|
1084
1153
|
{
|
|
1085
1154
|
"name": "maker_id",
|
|
@@ -1093,7 +1162,7 @@ const abi = {
|
|
|
1093
1162
|
},
|
|
1094
1163
|
{
|
|
1095
1164
|
"type": "struct contract_schema::order_book::Order",
|
|
1096
|
-
"metadataTypeId":
|
|
1165
|
+
"metadataTypeId": 30,
|
|
1097
1166
|
"components": [
|
|
1098
1167
|
{
|
|
1099
1168
|
"name": "order_id",
|
|
@@ -1101,11 +1170,11 @@ const abi = {
|
|
|
1101
1170
|
},
|
|
1102
1171
|
{
|
|
1103
1172
|
"name": "trader_id",
|
|
1104
|
-
"typeId":
|
|
1173
|
+
"typeId": 20
|
|
1105
1174
|
},
|
|
1106
1175
|
{
|
|
1107
1176
|
"name": "side",
|
|
1108
|
-
"typeId":
|
|
1177
|
+
"typeId": 11
|
|
1109
1178
|
},
|
|
1110
1179
|
{
|
|
1111
1180
|
"name": "price",
|
|
@@ -1117,13 +1186,13 @@ const abi = {
|
|
|
1117
1186
|
},
|
|
1118
1187
|
{
|
|
1119
1188
|
"name": "order_type",
|
|
1120
|
-
"typeId":
|
|
1189
|
+
"typeId": 10
|
|
1121
1190
|
}
|
|
1122
1191
|
]
|
|
1123
1192
|
},
|
|
1124
1193
|
{
|
|
1125
1194
|
"type": "struct contract_schema::order_book::OrderArgs",
|
|
1126
|
-
"metadataTypeId":
|
|
1195
|
+
"metadataTypeId": 31,
|
|
1127
1196
|
"components": [
|
|
1128
1197
|
{
|
|
1129
1198
|
"name": "price",
|
|
@@ -1135,21 +1204,21 @@ const abi = {
|
|
|
1135
1204
|
},
|
|
1136
1205
|
{
|
|
1137
1206
|
"name": "order_type",
|
|
1138
|
-
"typeId":
|
|
1207
|
+
"typeId": 10
|
|
1139
1208
|
}
|
|
1140
1209
|
]
|
|
1141
1210
|
},
|
|
1142
1211
|
{
|
|
1143
1212
|
"type": "struct contract_schema::order_book::OrderBookBlacklistEvent",
|
|
1144
|
-
"metadataTypeId":
|
|
1213
|
+
"metadataTypeId": 32,
|
|
1145
1214
|
"components": [
|
|
1146
1215
|
{
|
|
1147
1216
|
"name": "blacklist",
|
|
1148
|
-
"typeId":
|
|
1217
|
+
"typeId": 21,
|
|
1149
1218
|
"typeArguments": [
|
|
1150
1219
|
{
|
|
1151
1220
|
"name": "",
|
|
1152
|
-
"typeId":
|
|
1221
|
+
"typeId": 56
|
|
1153
1222
|
}
|
|
1154
1223
|
]
|
|
1155
1224
|
}
|
|
@@ -1157,15 +1226,15 @@ const abi = {
|
|
|
1157
1226
|
},
|
|
1158
1227
|
{
|
|
1159
1228
|
"type": "struct contract_schema::order_book::OrderBookConfigEvent",
|
|
1160
|
-
"metadataTypeId":
|
|
1229
|
+
"metadataTypeId": 33,
|
|
1161
1230
|
"components": [
|
|
1162
1231
|
{
|
|
1163
1232
|
"name": "base_asset",
|
|
1164
|
-
"typeId":
|
|
1233
|
+
"typeId": 53
|
|
1165
1234
|
},
|
|
1166
1235
|
{
|
|
1167
1236
|
"name": "quote_asset",
|
|
1168
|
-
"typeId":
|
|
1237
|
+
"typeId": 53
|
|
1169
1238
|
},
|
|
1170
1239
|
{
|
|
1171
1240
|
"name": "base_decimals",
|
|
@@ -1215,29 +1284,29 @@ const abi = {
|
|
|
1215
1284
|
},
|
|
1216
1285
|
{
|
|
1217
1286
|
"type": "struct contract_schema::order_book::OrderBookSymbolsEvent",
|
|
1218
|
-
"metadataTypeId":
|
|
1287
|
+
"metadataTypeId": 34,
|
|
1219
1288
|
"components": [
|
|
1220
1289
|
{
|
|
1221
1290
|
"name": "base_symbol",
|
|
1222
|
-
"typeId":
|
|
1291
|
+
"typeId": 57
|
|
1223
1292
|
},
|
|
1224
1293
|
{
|
|
1225
1294
|
"name": "quote_symbol",
|
|
1226
|
-
"typeId":
|
|
1295
|
+
"typeId": 57
|
|
1227
1296
|
}
|
|
1228
1297
|
]
|
|
1229
1298
|
},
|
|
1230
1299
|
{
|
|
1231
1300
|
"type": "struct contract_schema::order_book::OrderBookWhitelistEvent",
|
|
1232
|
-
"metadataTypeId":
|
|
1301
|
+
"metadataTypeId": 35,
|
|
1233
1302
|
"components": [
|
|
1234
1303
|
{
|
|
1235
1304
|
"name": "whitelist",
|
|
1236
|
-
"typeId":
|
|
1305
|
+
"typeId": 21,
|
|
1237
1306
|
"typeArguments": [
|
|
1238
1307
|
{
|
|
1239
1308
|
"name": "",
|
|
1240
|
-
"typeId":
|
|
1309
|
+
"typeId": 56
|
|
1241
1310
|
}
|
|
1242
1311
|
]
|
|
1243
1312
|
}
|
|
@@ -1245,7 +1314,7 @@ const abi = {
|
|
|
1245
1314
|
},
|
|
1246
1315
|
{
|
|
1247
1316
|
"type": "struct contract_schema::order_book::OrderCancelledEvent",
|
|
1248
|
-
"metadataTypeId":
|
|
1317
|
+
"metadataTypeId": 36,
|
|
1249
1318
|
"components": [
|
|
1250
1319
|
{
|
|
1251
1320
|
"name": "order_id",
|
|
@@ -1253,13 +1322,13 @@ const abi = {
|
|
|
1253
1322
|
},
|
|
1254
1323
|
{
|
|
1255
1324
|
"name": "timestamp",
|
|
1256
|
-
"typeId":
|
|
1325
|
+
"typeId": 58
|
|
1257
1326
|
}
|
|
1258
1327
|
]
|
|
1259
1328
|
},
|
|
1260
1329
|
{
|
|
1261
1330
|
"type": "struct contract_schema::order_book::OrderCancelledInternalEvent",
|
|
1262
|
-
"metadataTypeId":
|
|
1331
|
+
"metadataTypeId": 37,
|
|
1263
1332
|
"components": [
|
|
1264
1333
|
{
|
|
1265
1334
|
"name": "order_id",
|
|
@@ -1267,13 +1336,13 @@ const abi = {
|
|
|
1267
1336
|
},
|
|
1268
1337
|
{
|
|
1269
1338
|
"name": "timestamp",
|
|
1270
|
-
"typeId":
|
|
1339
|
+
"typeId": 58
|
|
1271
1340
|
}
|
|
1272
1341
|
]
|
|
1273
1342
|
},
|
|
1274
1343
|
{
|
|
1275
1344
|
"type": "struct contract_schema::order_book::OrderCreatedEvent",
|
|
1276
|
-
"metadataTypeId":
|
|
1345
|
+
"metadataTypeId": 38,
|
|
1277
1346
|
"components": [
|
|
1278
1347
|
{
|
|
1279
1348
|
"name": "order_id",
|
|
@@ -1281,15 +1350,15 @@ const abi = {
|
|
|
1281
1350
|
},
|
|
1282
1351
|
{
|
|
1283
1352
|
"name": "trader_id",
|
|
1284
|
-
"typeId":
|
|
1353
|
+
"typeId": 20
|
|
1285
1354
|
},
|
|
1286
1355
|
{
|
|
1287
1356
|
"name": "order_side",
|
|
1288
|
-
"typeId":
|
|
1357
|
+
"typeId": 11
|
|
1289
1358
|
},
|
|
1290
1359
|
{
|
|
1291
1360
|
"name": "order_type",
|
|
1292
|
-
"typeId":
|
|
1361
|
+
"typeId": 10
|
|
1293
1362
|
},
|
|
1294
1363
|
{
|
|
1295
1364
|
"name": "quantity",
|
|
@@ -1301,13 +1370,13 @@ const abi = {
|
|
|
1301
1370
|
},
|
|
1302
1371
|
{
|
|
1303
1372
|
"name": "timestamp",
|
|
1304
|
-
"typeId":
|
|
1373
|
+
"typeId": 58
|
|
1305
1374
|
}
|
|
1306
1375
|
]
|
|
1307
1376
|
},
|
|
1308
1377
|
{
|
|
1309
1378
|
"type": "struct contract_schema::order_book::OrderHaltedEvent",
|
|
1310
|
-
"metadataTypeId":
|
|
1379
|
+
"metadataTypeId": 39,
|
|
1311
1380
|
"components": [
|
|
1312
1381
|
{
|
|
1313
1382
|
"name": "order_id",
|
|
@@ -1319,17 +1388,17 @@ const abi = {
|
|
|
1319
1388
|
},
|
|
1320
1389
|
{
|
|
1321
1390
|
"name": "timestamp",
|
|
1322
|
-
"typeId":
|
|
1391
|
+
"typeId": 58
|
|
1323
1392
|
}
|
|
1324
1393
|
]
|
|
1325
1394
|
},
|
|
1326
1395
|
{
|
|
1327
1396
|
"type": "struct contract_schema::order_book::OrderMatchedEvent",
|
|
1328
|
-
"metadataTypeId":
|
|
1397
|
+
"metadataTypeId": 40,
|
|
1329
1398
|
"components": [
|
|
1330
1399
|
{
|
|
1331
1400
|
"name": "match_id",
|
|
1332
|
-
"typeId":
|
|
1401
|
+
"typeId": 29
|
|
1333
1402
|
},
|
|
1334
1403
|
{
|
|
1335
1404
|
"name": "quantity",
|
|
@@ -1341,13 +1410,13 @@ const abi = {
|
|
|
1341
1410
|
},
|
|
1342
1411
|
{
|
|
1343
1412
|
"name": "timestamp",
|
|
1344
|
-
"typeId":
|
|
1413
|
+
"typeId": 58
|
|
1345
1414
|
}
|
|
1346
1415
|
]
|
|
1347
1416
|
},
|
|
1348
1417
|
{
|
|
1349
1418
|
"type": "struct contract_schema::order_book::OrderOutOfGasEvent",
|
|
1350
|
-
"metadataTypeId":
|
|
1419
|
+
"metadataTypeId": 41,
|
|
1351
1420
|
"components": [
|
|
1352
1421
|
{
|
|
1353
1422
|
"name": "order_id",
|
|
@@ -1355,13 +1424,13 @@ const abi = {
|
|
|
1355
1424
|
},
|
|
1356
1425
|
{
|
|
1357
1426
|
"name": "timestamp",
|
|
1358
|
-
"typeId":
|
|
1427
|
+
"typeId": 58
|
|
1359
1428
|
}
|
|
1360
1429
|
]
|
|
1361
1430
|
},
|
|
1362
1431
|
{
|
|
1363
1432
|
"type": "struct contract_schema::order_book::OrderTooSmallEvent",
|
|
1364
|
-
"metadataTypeId":
|
|
1433
|
+
"metadataTypeId": 42,
|
|
1365
1434
|
"components": [
|
|
1366
1435
|
{
|
|
1367
1436
|
"name": "order_id",
|
|
@@ -1369,13 +1438,13 @@ const abi = {
|
|
|
1369
1438
|
},
|
|
1370
1439
|
{
|
|
1371
1440
|
"name": "timestamp",
|
|
1372
|
-
"typeId":
|
|
1441
|
+
"typeId": 58
|
|
1373
1442
|
}
|
|
1374
1443
|
]
|
|
1375
1444
|
},
|
|
1376
1445
|
{
|
|
1377
1446
|
"type": "struct contract_schema::order_book::TriggerOrder",
|
|
1378
|
-
"metadataTypeId":
|
|
1447
|
+
"metadataTypeId": 43,
|
|
1379
1448
|
"components": [
|
|
1380
1449
|
{
|
|
1381
1450
|
"name": "order_id",
|
|
@@ -1383,11 +1452,11 @@ const abi = {
|
|
|
1383
1452
|
},
|
|
1384
1453
|
{
|
|
1385
1454
|
"name": "trader_id",
|
|
1386
|
-
"typeId":
|
|
1455
|
+
"typeId": 20
|
|
1387
1456
|
},
|
|
1388
1457
|
{
|
|
1389
1458
|
"name": "side",
|
|
1390
|
-
"typeId":
|
|
1459
|
+
"typeId": 11
|
|
1391
1460
|
},
|
|
1392
1461
|
{
|
|
1393
1462
|
"name": "price",
|
|
@@ -1395,11 +1464,11 @@ const abi = {
|
|
|
1395
1464
|
},
|
|
1396
1465
|
{
|
|
1397
1466
|
"name": "quantity",
|
|
1398
|
-
"typeId":
|
|
1467
|
+
"typeId": 15
|
|
1399
1468
|
},
|
|
1400
1469
|
{
|
|
1401
1470
|
"name": "order_type",
|
|
1402
|
-
"typeId":
|
|
1471
|
+
"typeId": 14
|
|
1403
1472
|
},
|
|
1404
1473
|
{
|
|
1405
1474
|
"name": "trigger_price",
|
|
@@ -1409,15 +1478,15 @@ const abi = {
|
|
|
1409
1478
|
},
|
|
1410
1479
|
{
|
|
1411
1480
|
"type": "struct contract_schema::order_book::TriggerOrderArgs",
|
|
1412
|
-
"metadataTypeId":
|
|
1481
|
+
"metadataTypeId": 44,
|
|
1413
1482
|
"components": [
|
|
1414
1483
|
{
|
|
1415
1484
|
"name": "quantity",
|
|
1416
|
-
"typeId":
|
|
1485
|
+
"typeId": 15
|
|
1417
1486
|
},
|
|
1418
1487
|
{
|
|
1419
1488
|
"name": "order_type",
|
|
1420
|
-
"typeId":
|
|
1489
|
+
"typeId": 14
|
|
1421
1490
|
},
|
|
1422
1491
|
{
|
|
1423
1492
|
"name": "trigger_price",
|
|
@@ -1427,7 +1496,7 @@ const abi = {
|
|
|
1427
1496
|
},
|
|
1428
1497
|
{
|
|
1429
1498
|
"type": "struct contract_schema::order_book::TriggerOrderCreatedEvent",
|
|
1430
|
-
"metadataTypeId":
|
|
1499
|
+
"metadataTypeId": 45,
|
|
1431
1500
|
"components": [
|
|
1432
1501
|
{
|
|
1433
1502
|
"name": "order_id",
|
|
@@ -1435,19 +1504,19 @@ const abi = {
|
|
|
1435
1504
|
},
|
|
1436
1505
|
{
|
|
1437
1506
|
"name": "trader_id",
|
|
1438
|
-
"typeId":
|
|
1507
|
+
"typeId": 20
|
|
1439
1508
|
},
|
|
1440
1509
|
{
|
|
1441
1510
|
"name": "order_side",
|
|
1442
|
-
"typeId":
|
|
1511
|
+
"typeId": 11
|
|
1443
1512
|
},
|
|
1444
1513
|
{
|
|
1445
1514
|
"name": "order_type",
|
|
1446
|
-
"typeId":
|
|
1515
|
+
"typeId": 14
|
|
1447
1516
|
},
|
|
1448
1517
|
{
|
|
1449
1518
|
"name": "quantity",
|
|
1450
|
-
"typeId":
|
|
1519
|
+
"typeId": 15
|
|
1451
1520
|
},
|
|
1452
1521
|
{
|
|
1453
1522
|
"name": "trigger_price",
|
|
@@ -1455,11 +1524,11 @@ const abi = {
|
|
|
1455
1524
|
},
|
|
1456
1525
|
{
|
|
1457
1526
|
"name": "timestamp",
|
|
1458
|
-
"typeId":
|
|
1527
|
+
"typeId": 58
|
|
1459
1528
|
},
|
|
1460
1529
|
{
|
|
1461
1530
|
"name": "sibling_order",
|
|
1462
|
-
"typeId":
|
|
1531
|
+
"typeId": 21,
|
|
1463
1532
|
"typeArguments": [
|
|
1464
1533
|
{
|
|
1465
1534
|
"name": "",
|
|
@@ -1471,7 +1540,7 @@ const abi = {
|
|
|
1471
1540
|
},
|
|
1472
1541
|
{
|
|
1473
1542
|
"type": "struct contract_schema::order_book::TriggerOrderEjectedEvent",
|
|
1474
|
-
"metadataTypeId":
|
|
1543
|
+
"metadataTypeId": 46,
|
|
1475
1544
|
"components": [
|
|
1476
1545
|
{
|
|
1477
1546
|
"name": "order_id",
|
|
@@ -1479,17 +1548,17 @@ const abi = {
|
|
|
1479
1548
|
},
|
|
1480
1549
|
{
|
|
1481
1550
|
"name": "reason",
|
|
1482
|
-
"typeId":
|
|
1551
|
+
"typeId": 5
|
|
1483
1552
|
}
|
|
1484
1553
|
]
|
|
1485
1554
|
},
|
|
1486
1555
|
{
|
|
1487
1556
|
"type": "struct contract_schema::order_book::WithdrawSettledTradeEvent",
|
|
1488
|
-
"metadataTypeId":
|
|
1557
|
+
"metadataTypeId": 47,
|
|
1489
1558
|
"components": [
|
|
1490
1559
|
{
|
|
1491
1560
|
"name": "trader_id",
|
|
1492
|
-
"typeId":
|
|
1561
|
+
"typeId": 20
|
|
1493
1562
|
},
|
|
1494
1563
|
{
|
|
1495
1564
|
"name": "base_amount",
|
|
@@ -1503,51 +1572,51 @@ const abi = {
|
|
|
1503
1572
|
},
|
|
1504
1573
|
{
|
|
1505
1574
|
"type": "struct ownership::events::OwnershipSet",
|
|
1506
|
-
"metadataTypeId":
|
|
1575
|
+
"metadataTypeId": 48,
|
|
1507
1576
|
"components": [
|
|
1508
1577
|
{
|
|
1509
1578
|
"name": "new_owner",
|
|
1510
|
-
"typeId":
|
|
1579
|
+
"typeId": 20
|
|
1511
1580
|
}
|
|
1512
1581
|
]
|
|
1513
1582
|
},
|
|
1514
1583
|
{
|
|
1515
1584
|
"type": "struct ownership::events::OwnershipTransferred",
|
|
1516
|
-
"metadataTypeId":
|
|
1585
|
+
"metadataTypeId": 49,
|
|
1517
1586
|
"components": [
|
|
1518
1587
|
{
|
|
1519
1588
|
"name": "new_owner",
|
|
1520
|
-
"typeId":
|
|
1589
|
+
"typeId": 20
|
|
1521
1590
|
},
|
|
1522
1591
|
{
|
|
1523
1592
|
"name": "previous_owner",
|
|
1524
|
-
"typeId":
|
|
1593
|
+
"typeId": 20
|
|
1525
1594
|
}
|
|
1526
1595
|
]
|
|
1527
1596
|
},
|
|
1528
1597
|
{
|
|
1529
1598
|
"type": "struct pausable::events::PauseEvent",
|
|
1530
|
-
"metadataTypeId":
|
|
1599
|
+
"metadataTypeId": 50,
|
|
1531
1600
|
"components": [
|
|
1532
1601
|
{
|
|
1533
1602
|
"name": "caller",
|
|
1534
|
-
"typeId":
|
|
1603
|
+
"typeId": 20
|
|
1535
1604
|
}
|
|
1536
1605
|
]
|
|
1537
1606
|
},
|
|
1538
1607
|
{
|
|
1539
1608
|
"type": "struct pausable::events::UnpauseEvent",
|
|
1540
|
-
"metadataTypeId":
|
|
1609
|
+
"metadataTypeId": 51,
|
|
1541
1610
|
"components": [
|
|
1542
1611
|
{
|
|
1543
1612
|
"name": "caller",
|
|
1544
|
-
"typeId":
|
|
1613
|
+
"typeId": 20
|
|
1545
1614
|
}
|
|
1546
1615
|
]
|
|
1547
1616
|
},
|
|
1548
1617
|
{
|
|
1549
1618
|
"type": "struct std::address::Address",
|
|
1550
|
-
"metadataTypeId":
|
|
1619
|
+
"metadataTypeId": 52,
|
|
1551
1620
|
"components": [
|
|
1552
1621
|
{
|
|
1553
1622
|
"name": "bits",
|
|
@@ -1557,7 +1626,7 @@ const abi = {
|
|
|
1557
1626
|
},
|
|
1558
1627
|
{
|
|
1559
1628
|
"type": "struct std::asset_id::AssetId",
|
|
1560
|
-
"metadataTypeId":
|
|
1629
|
+
"metadataTypeId": 53,
|
|
1561
1630
|
"components": [
|
|
1562
1631
|
{
|
|
1563
1632
|
"name": "bits",
|
|
@@ -1567,11 +1636,11 @@ const abi = {
|
|
|
1567
1636
|
},
|
|
1568
1637
|
{
|
|
1569
1638
|
"type": "struct std::bytes::Bytes",
|
|
1570
|
-
"metadataTypeId":
|
|
1639
|
+
"metadataTypeId": 54,
|
|
1571
1640
|
"components": [
|
|
1572
1641
|
{
|
|
1573
1642
|
"name": "buf",
|
|
1574
|
-
"typeId":
|
|
1643
|
+
"typeId": 55
|
|
1575
1644
|
},
|
|
1576
1645
|
{
|
|
1577
1646
|
"name": "len",
|
|
@@ -1581,11 +1650,11 @@ const abi = {
|
|
|
1581
1650
|
},
|
|
1582
1651
|
{
|
|
1583
1652
|
"type": "struct std::bytes::RawBytes",
|
|
1584
|
-
"metadataTypeId":
|
|
1653
|
+
"metadataTypeId": 55,
|
|
1585
1654
|
"components": [
|
|
1586
1655
|
{
|
|
1587
1656
|
"name": "ptr",
|
|
1588
|
-
"typeId":
|
|
1657
|
+
"typeId": 23
|
|
1589
1658
|
},
|
|
1590
1659
|
{
|
|
1591
1660
|
"name": "cap",
|
|
@@ -1595,7 +1664,7 @@ const abi = {
|
|
|
1595
1664
|
},
|
|
1596
1665
|
{
|
|
1597
1666
|
"type": "struct std::contract_id::ContractId",
|
|
1598
|
-
"metadataTypeId":
|
|
1667
|
+
"metadataTypeId": 56,
|
|
1599
1668
|
"components": [
|
|
1600
1669
|
{
|
|
1601
1670
|
"name": "bits",
|
|
@@ -1605,17 +1674,17 @@ const abi = {
|
|
|
1605
1674
|
},
|
|
1606
1675
|
{
|
|
1607
1676
|
"type": "struct std::string::String",
|
|
1608
|
-
"metadataTypeId":
|
|
1677
|
+
"metadataTypeId": 57,
|
|
1609
1678
|
"components": [
|
|
1610
1679
|
{
|
|
1611
1680
|
"name": "bytes",
|
|
1612
|
-
"typeId":
|
|
1681
|
+
"typeId": 54
|
|
1613
1682
|
}
|
|
1614
1683
|
]
|
|
1615
1684
|
},
|
|
1616
1685
|
{
|
|
1617
1686
|
"type": "struct std::time::Time",
|
|
1618
|
-
"metadataTypeId":
|
|
1687
|
+
"metadataTypeId": 58,
|
|
1619
1688
|
"components": [
|
|
1620
1689
|
{
|
|
1621
1690
|
"name": "unix",
|
|
@@ -1625,11 +1694,11 @@ const abi = {
|
|
|
1625
1694
|
},
|
|
1626
1695
|
{
|
|
1627
1696
|
"type": "struct std::vec::RawVec",
|
|
1628
|
-
"metadataTypeId":
|
|
1697
|
+
"metadataTypeId": 59,
|
|
1629
1698
|
"components": [
|
|
1630
1699
|
{
|
|
1631
1700
|
"name": "ptr",
|
|
1632
|
-
"typeId":
|
|
1701
|
+
"typeId": 23
|
|
1633
1702
|
},
|
|
1634
1703
|
{
|
|
1635
1704
|
"name": "cap",
|
|
@@ -1637,20 +1706,20 @@ const abi = {
|
|
|
1637
1706
|
}
|
|
1638
1707
|
],
|
|
1639
1708
|
"typeParameters": [
|
|
1640
|
-
|
|
1709
|
+
22
|
|
1641
1710
|
]
|
|
1642
1711
|
},
|
|
1643
1712
|
{
|
|
1644
1713
|
"type": "struct std::vec::Vec",
|
|
1645
|
-
"metadataTypeId":
|
|
1714
|
+
"metadataTypeId": 60,
|
|
1646
1715
|
"components": [
|
|
1647
1716
|
{
|
|
1648
1717
|
"name": "buf",
|
|
1649
|
-
"typeId":
|
|
1718
|
+
"typeId": 59,
|
|
1650
1719
|
"typeArguments": [
|
|
1651
1720
|
{
|
|
1652
1721
|
"name": "",
|
|
1653
|
-
"typeId":
|
|
1722
|
+
"typeId": 22
|
|
1654
1723
|
}
|
|
1655
1724
|
]
|
|
1656
1725
|
},
|
|
@@ -1660,11 +1729,33 @@ const abi = {
|
|
|
1660
1729
|
}
|
|
1661
1730
|
],
|
|
1662
1731
|
"typeParameters": [
|
|
1663
|
-
|
|
1732
|
+
22
|
|
1664
1733
|
]
|
|
1665
1734
|
}
|
|
1666
1735
|
],
|
|
1667
1736
|
"functions": [
|
|
1737
|
+
{
|
|
1738
|
+
"name": "acceptable_market_sell",
|
|
1739
|
+
"inputs": [
|
|
1740
|
+
{
|
|
1741
|
+
"name": "base_amount",
|
|
1742
|
+
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"name": "best_bid",
|
|
1746
|
+
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1747
|
+
}
|
|
1748
|
+
],
|
|
1749
|
+
"output": "19242ae35d869d7b20e980d4748dd1553fc96476a763b9169f74d949f3d3ecfb",
|
|
1750
|
+
"attributes": [
|
|
1751
|
+
{
|
|
1752
|
+
"name": "storage",
|
|
1753
|
+
"arguments": [
|
|
1754
|
+
"read"
|
|
1755
|
+
]
|
|
1756
|
+
}
|
|
1757
|
+
]
|
|
1758
|
+
},
|
|
1668
1759
|
{
|
|
1669
1760
|
"name": "cancel_order",
|
|
1670
1761
|
"inputs": [
|
|
@@ -1858,19 +1949,25 @@ const abi = {
|
|
|
1858
1949
|
{
|
|
1859
1950
|
"name": "doc-comment",
|
|
1860
1951
|
"arguments": [
|
|
1861
|
-
" - If order
|
|
1952
|
+
" - If msg_sender != order.trader_id (unauthorized cancellation attempt)"
|
|
1862
1953
|
]
|
|
1863
1954
|
},
|
|
1864
1955
|
{
|
|
1865
1956
|
"name": "doc-comment",
|
|
1866
1957
|
"arguments": [
|
|
1867
|
-
" - If
|
|
1958
|
+
" - If the order book is paused"
|
|
1868
1959
|
]
|
|
1869
1960
|
},
|
|
1870
1961
|
{
|
|
1871
1962
|
"name": "doc-comment",
|
|
1872
1963
|
"arguments": [
|
|
1873
|
-
"
|
|
1964
|
+
""
|
|
1965
|
+
]
|
|
1966
|
+
},
|
|
1967
|
+
{
|
|
1968
|
+
"name": "doc-comment",
|
|
1969
|
+
"arguments": [
|
|
1970
|
+
" Invalid, missing, already executed, or already cancelled order IDs return `false`."
|
|
1874
1971
|
]
|
|
1875
1972
|
},
|
|
1876
1973
|
{
|
|
@@ -3429,6 +3526,92 @@ const abi = {
|
|
|
3429
3526
|
}
|
|
3430
3527
|
]
|
|
3431
3528
|
},
|
|
3529
|
+
{
|
|
3530
|
+
"name": "get_roles",
|
|
3531
|
+
"inputs": [
|
|
3532
|
+
{
|
|
3533
|
+
"name": "account",
|
|
3534
|
+
"concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
|
|
3535
|
+
}
|
|
3536
|
+
],
|
|
3537
|
+
"output": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
3538
|
+
"attributes": [
|
|
3539
|
+
{
|
|
3540
|
+
"name": "storage",
|
|
3541
|
+
"arguments": [
|
|
3542
|
+
"read"
|
|
3543
|
+
]
|
|
3544
|
+
}
|
|
3545
|
+
]
|
|
3546
|
+
},
|
|
3547
|
+
{
|
|
3548
|
+
"name": "grant_role",
|
|
3549
|
+
"inputs": [
|
|
3550
|
+
{
|
|
3551
|
+
"name": "role",
|
|
3552
|
+
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
3553
|
+
},
|
|
3554
|
+
{
|
|
3555
|
+
"name": "account",
|
|
3556
|
+
"concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
|
|
3557
|
+
}
|
|
3558
|
+
],
|
|
3559
|
+
"output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
3560
|
+
"attributes": [
|
|
3561
|
+
{
|
|
3562
|
+
"name": "storage",
|
|
3563
|
+
"arguments": [
|
|
3564
|
+
"read",
|
|
3565
|
+
"write"
|
|
3566
|
+
]
|
|
3567
|
+
}
|
|
3568
|
+
]
|
|
3569
|
+
},
|
|
3570
|
+
{
|
|
3571
|
+
"name": "has_role",
|
|
3572
|
+
"inputs": [
|
|
3573
|
+
{
|
|
3574
|
+
"name": "role",
|
|
3575
|
+
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
3576
|
+
},
|
|
3577
|
+
{
|
|
3578
|
+
"name": "account",
|
|
3579
|
+
"concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
|
|
3580
|
+
}
|
|
3581
|
+
],
|
|
3582
|
+
"output": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
|
|
3583
|
+
"attributes": [
|
|
3584
|
+
{
|
|
3585
|
+
"name": "storage",
|
|
3586
|
+
"arguments": [
|
|
3587
|
+
"read"
|
|
3588
|
+
]
|
|
3589
|
+
}
|
|
3590
|
+
]
|
|
3591
|
+
},
|
|
3592
|
+
{
|
|
3593
|
+
"name": "revoke_role",
|
|
3594
|
+
"inputs": [
|
|
3595
|
+
{
|
|
3596
|
+
"name": "role",
|
|
3597
|
+
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
3598
|
+
},
|
|
3599
|
+
{
|
|
3600
|
+
"name": "account",
|
|
3601
|
+
"concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
|
|
3602
|
+
}
|
|
3603
|
+
],
|
|
3604
|
+
"output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
3605
|
+
"attributes": [
|
|
3606
|
+
{
|
|
3607
|
+
"name": "storage",
|
|
3608
|
+
"arguments": [
|
|
3609
|
+
"read",
|
|
3610
|
+
"write"
|
|
3611
|
+
]
|
|
3612
|
+
}
|
|
3613
|
+
]
|
|
3614
|
+
},
|
|
3432
3615
|
{
|
|
3433
3616
|
"name": "cancel_blacklist_orders",
|
|
3434
3617
|
"inputs": [
|
|
@@ -3490,7 +3673,7 @@ const abi = {
|
|
|
3490
3673
|
{
|
|
3491
3674
|
"name": "doc-comment",
|
|
3492
3675
|
"arguments": [
|
|
3493
|
-
" * When not called by the
|
|
3676
|
+
" * When not called by an account with the orderbook maintainer role."
|
|
3494
3677
|
]
|
|
3495
3678
|
},
|
|
3496
3679
|
{
|
|
@@ -3662,7 +3845,7 @@ const abi = {
|
|
|
3662
3845
|
{
|
|
3663
3846
|
"name": "doc-comment",
|
|
3664
3847
|
"arguments": [
|
|
3665
|
-
"
|
|
3848
|
+
" Maintainer-only escape hatch: removes the trigger at the head of the global queue,"
|
|
3666
3849
|
]
|
|
3667
3850
|
},
|
|
3668
3851
|
{
|
|
@@ -3766,7 +3949,7 @@ const abi = {
|
|
|
3766
3949
|
{
|
|
3767
3950
|
"name": "doc-comment",
|
|
3768
3951
|
"arguments": [
|
|
3769
|
-
" Force cancels the given orders."
|
|
3952
|
+
" Force cancels the given orders only if the contract is paused."
|
|
3770
3953
|
]
|
|
3771
3954
|
},
|
|
3772
3955
|
{
|
|
@@ -3814,7 +3997,7 @@ const abi = {
|
|
|
3814
3997
|
{
|
|
3815
3998
|
"name": "doc-comment",
|
|
3816
3999
|
"arguments": [
|
|
3817
|
-
" * When not called by the
|
|
4000
|
+
" * When not called by an account with the orderbook maintainer role."
|
|
3818
4001
|
]
|
|
3819
4002
|
},
|
|
3820
4003
|
{
|
|
@@ -3840,7 +4023,7 @@ const abi = {
|
|
|
3840
4023
|
{
|
|
3841
4024
|
"name": "doc-comment",
|
|
3842
4025
|
"arguments": [
|
|
3843
|
-
" Initializes the contract with an owner."
|
|
4026
|
+
" Initializes the contract with an owner and grants that owner the default admin role."
|
|
3844
4027
|
]
|
|
3845
4028
|
},
|
|
3846
4029
|
{
|
|
@@ -3888,7 +4071,305 @@ const abi = {
|
|
|
3888
4071
|
{
|
|
3889
4072
|
"name": "doc-comment",
|
|
3890
4073
|
"arguments": [
|
|
3891
|
-
" * `
|
|
4074
|
+
" * `RoleGrantedEvent`"
|
|
4075
|
+
]
|
|
4076
|
+
},
|
|
4077
|
+
{
|
|
4078
|
+
"name": "doc-comment",
|
|
4079
|
+
"arguments": [
|
|
4080
|
+
" * `OrderBookConfigEvent`"
|
|
4081
|
+
]
|
|
4082
|
+
},
|
|
4083
|
+
{
|
|
4084
|
+
"name": "doc-comment",
|
|
4085
|
+
"arguments": [
|
|
4086
|
+
" * `OrderBookSymbolsEvent`"
|
|
4087
|
+
]
|
|
4088
|
+
},
|
|
4089
|
+
{
|
|
4090
|
+
"name": "doc-comment",
|
|
4091
|
+
"arguments": [
|
|
4092
|
+
" * `OrderBookWhitelistEvent`"
|
|
4093
|
+
]
|
|
4094
|
+
},
|
|
4095
|
+
{
|
|
4096
|
+
"name": "doc-comment",
|
|
4097
|
+
"arguments": [
|
|
4098
|
+
" * `OrderBookBlacklistEvent`"
|
|
4099
|
+
]
|
|
4100
|
+
},
|
|
4101
|
+
{
|
|
4102
|
+
"name": "storage",
|
|
4103
|
+
"arguments": [
|
|
4104
|
+
"read",
|
|
4105
|
+
"write"
|
|
4106
|
+
]
|
|
4107
|
+
}
|
|
4108
|
+
]
|
|
4109
|
+
},
|
|
4110
|
+
{
|
|
4111
|
+
"name": "owner_grant_role",
|
|
4112
|
+
"inputs": [
|
|
4113
|
+
{
|
|
4114
|
+
"name": "role",
|
|
4115
|
+
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
4116
|
+
},
|
|
4117
|
+
{
|
|
4118
|
+
"name": "account",
|
|
4119
|
+
"concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
|
|
4120
|
+
}
|
|
4121
|
+
],
|
|
4122
|
+
"output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
4123
|
+
"attributes": [
|
|
4124
|
+
{
|
|
4125
|
+
"name": "doc-comment",
|
|
4126
|
+
"arguments": [
|
|
4127
|
+
" Allows the contract owner to grant an access-control role."
|
|
4128
|
+
]
|
|
4129
|
+
},
|
|
4130
|
+
{
|
|
4131
|
+
"name": "doc-comment",
|
|
4132
|
+
"arguments": [
|
|
4133
|
+
""
|
|
4134
|
+
]
|
|
4135
|
+
},
|
|
4136
|
+
{
|
|
4137
|
+
"name": "doc-comment",
|
|
4138
|
+
"arguments": [
|
|
4139
|
+
" This keeps ownership as the recovery authority for access control, even when the"
|
|
4140
|
+
]
|
|
4141
|
+
},
|
|
4142
|
+
{
|
|
4143
|
+
"name": "doc-comment",
|
|
4144
|
+
"arguments": [
|
|
4145
|
+
" current owner does not already hold the default admin role."
|
|
4146
|
+
]
|
|
4147
|
+
},
|
|
4148
|
+
{
|
|
4149
|
+
"name": "doc-comment",
|
|
4150
|
+
"arguments": [
|
|
4151
|
+
""
|
|
4152
|
+
]
|
|
4153
|
+
},
|
|
4154
|
+
{
|
|
4155
|
+
"name": "doc-comment",
|
|
4156
|
+
"arguments": [
|
|
4157
|
+
" # Arguments"
|
|
4158
|
+
]
|
|
4159
|
+
},
|
|
4160
|
+
{
|
|
4161
|
+
"name": "doc-comment",
|
|
4162
|
+
"arguments": [
|
|
4163
|
+
""
|
|
4164
|
+
]
|
|
4165
|
+
},
|
|
4166
|
+
{
|
|
4167
|
+
"name": "doc-comment",
|
|
4168
|
+
"arguments": [
|
|
4169
|
+
" * [role]: `Role` - The role to grant."
|
|
4170
|
+
]
|
|
4171
|
+
},
|
|
4172
|
+
{
|
|
4173
|
+
"name": "doc-comment",
|
|
4174
|
+
"arguments": [
|
|
4175
|
+
" * [account]: `Identity` - The account receiving the role."
|
|
4176
|
+
]
|
|
4177
|
+
},
|
|
4178
|
+
{
|
|
4179
|
+
"name": "doc-comment",
|
|
4180
|
+
"arguments": [
|
|
4181
|
+
""
|
|
4182
|
+
]
|
|
4183
|
+
},
|
|
4184
|
+
{
|
|
4185
|
+
"name": "doc-comment",
|
|
4186
|
+
"arguments": [
|
|
4187
|
+
" # Reverts"
|
|
4188
|
+
]
|
|
4189
|
+
},
|
|
4190
|
+
{
|
|
4191
|
+
"name": "doc-comment",
|
|
4192
|
+
"arguments": [
|
|
4193
|
+
""
|
|
4194
|
+
]
|
|
4195
|
+
},
|
|
4196
|
+
{
|
|
4197
|
+
"name": "doc-comment",
|
|
4198
|
+
"arguments": [
|
|
4199
|
+
" * When not called by the owner."
|
|
4200
|
+
]
|
|
4201
|
+
},
|
|
4202
|
+
{
|
|
4203
|
+
"name": "doc-comment",
|
|
4204
|
+
"arguments": [
|
|
4205
|
+
" * When the role is outside the supported bitmap range."
|
|
4206
|
+
]
|
|
4207
|
+
},
|
|
4208
|
+
{
|
|
4209
|
+
"name": "doc-comment",
|
|
4210
|
+
"arguments": [
|
|
4211
|
+
""
|
|
4212
|
+
]
|
|
4213
|
+
},
|
|
4214
|
+
{
|
|
4215
|
+
"name": "doc-comment",
|
|
4216
|
+
"arguments": [
|
|
4217
|
+
" # Events"
|
|
4218
|
+
]
|
|
4219
|
+
},
|
|
4220
|
+
{
|
|
4221
|
+
"name": "doc-comment",
|
|
4222
|
+
"arguments": [
|
|
4223
|
+
""
|
|
4224
|
+
]
|
|
4225
|
+
},
|
|
4226
|
+
{
|
|
4227
|
+
"name": "doc-comment",
|
|
4228
|
+
"arguments": [
|
|
4229
|
+
" * `RoleGrantedEvent`"
|
|
4230
|
+
]
|
|
4231
|
+
},
|
|
4232
|
+
{
|
|
4233
|
+
"name": "storage",
|
|
4234
|
+
"arguments": [
|
|
4235
|
+
"read",
|
|
4236
|
+
"write"
|
|
4237
|
+
]
|
|
4238
|
+
}
|
|
4239
|
+
]
|
|
4240
|
+
},
|
|
4241
|
+
{
|
|
4242
|
+
"name": "owner_revoke_role",
|
|
4243
|
+
"inputs": [
|
|
4244
|
+
{
|
|
4245
|
+
"name": "role",
|
|
4246
|
+
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
4247
|
+
},
|
|
4248
|
+
{
|
|
4249
|
+
"name": "account",
|
|
4250
|
+
"concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
|
|
4251
|
+
}
|
|
4252
|
+
],
|
|
4253
|
+
"output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
4254
|
+
"attributes": [
|
|
4255
|
+
{
|
|
4256
|
+
"name": "doc-comment",
|
|
4257
|
+
"arguments": [
|
|
4258
|
+
" Allows the contract owner to revoke an access-control role."
|
|
4259
|
+
]
|
|
4260
|
+
},
|
|
4261
|
+
{
|
|
4262
|
+
"name": "doc-comment",
|
|
4263
|
+
"arguments": [
|
|
4264
|
+
""
|
|
4265
|
+
]
|
|
4266
|
+
},
|
|
4267
|
+
{
|
|
4268
|
+
"name": "doc-comment",
|
|
4269
|
+
"arguments": [
|
|
4270
|
+
" This keeps ownership as the recovery authority for access control, even when the"
|
|
4271
|
+
]
|
|
4272
|
+
},
|
|
4273
|
+
{
|
|
4274
|
+
"name": "doc-comment",
|
|
4275
|
+
"arguments": [
|
|
4276
|
+
" current owner does not already hold the default admin role. Together with"
|
|
4277
|
+
]
|
|
4278
|
+
},
|
|
4279
|
+
{
|
|
4280
|
+
"name": "doc-comment",
|
|
4281
|
+
"arguments": [
|
|
4282
|
+
" `owner_grant_role` it lets the owner rotate a role by revoking the previous"
|
|
4283
|
+
]
|
|
4284
|
+
},
|
|
4285
|
+
{
|
|
4286
|
+
"name": "doc-comment",
|
|
4287
|
+
"arguments": [
|
|
4288
|
+
" holders before granting the new one."
|
|
4289
|
+
]
|
|
4290
|
+
},
|
|
4291
|
+
{
|
|
4292
|
+
"name": "doc-comment",
|
|
4293
|
+
"arguments": [
|
|
4294
|
+
""
|
|
4295
|
+
]
|
|
4296
|
+
},
|
|
4297
|
+
{
|
|
4298
|
+
"name": "doc-comment",
|
|
4299
|
+
"arguments": [
|
|
4300
|
+
" # Arguments"
|
|
4301
|
+
]
|
|
4302
|
+
},
|
|
4303
|
+
{
|
|
4304
|
+
"name": "doc-comment",
|
|
4305
|
+
"arguments": [
|
|
4306
|
+
""
|
|
4307
|
+
]
|
|
4308
|
+
},
|
|
4309
|
+
{
|
|
4310
|
+
"name": "doc-comment",
|
|
4311
|
+
"arguments": [
|
|
4312
|
+
" * [role]: `Role` - The role to revoke."
|
|
4313
|
+
]
|
|
4314
|
+
},
|
|
4315
|
+
{
|
|
4316
|
+
"name": "doc-comment",
|
|
4317
|
+
"arguments": [
|
|
4318
|
+
" * [account]: `Identity` - The account losing the role."
|
|
4319
|
+
]
|
|
4320
|
+
},
|
|
4321
|
+
{
|
|
4322
|
+
"name": "doc-comment",
|
|
4323
|
+
"arguments": [
|
|
4324
|
+
""
|
|
4325
|
+
]
|
|
4326
|
+
},
|
|
4327
|
+
{
|
|
4328
|
+
"name": "doc-comment",
|
|
4329
|
+
"arguments": [
|
|
4330
|
+
" # Reverts"
|
|
4331
|
+
]
|
|
4332
|
+
},
|
|
4333
|
+
{
|
|
4334
|
+
"name": "doc-comment",
|
|
4335
|
+
"arguments": [
|
|
4336
|
+
""
|
|
4337
|
+
]
|
|
4338
|
+
},
|
|
4339
|
+
{
|
|
4340
|
+
"name": "doc-comment",
|
|
4341
|
+
"arguments": [
|
|
4342
|
+
" * When not called by the owner."
|
|
4343
|
+
]
|
|
4344
|
+
},
|
|
4345
|
+
{
|
|
4346
|
+
"name": "doc-comment",
|
|
4347
|
+
"arguments": [
|
|
4348
|
+
" * When the role is outside the supported bitmap range."
|
|
4349
|
+
]
|
|
4350
|
+
},
|
|
4351
|
+
{
|
|
4352
|
+
"name": "doc-comment",
|
|
4353
|
+
"arguments": [
|
|
4354
|
+
""
|
|
4355
|
+
]
|
|
4356
|
+
},
|
|
4357
|
+
{
|
|
4358
|
+
"name": "doc-comment",
|
|
4359
|
+
"arguments": [
|
|
4360
|
+
" # Events"
|
|
4361
|
+
]
|
|
4362
|
+
},
|
|
4363
|
+
{
|
|
4364
|
+
"name": "doc-comment",
|
|
4365
|
+
"arguments": [
|
|
4366
|
+
""
|
|
4367
|
+
]
|
|
4368
|
+
},
|
|
4369
|
+
{
|
|
4370
|
+
"name": "doc-comment",
|
|
4371
|
+
"arguments": [
|
|
4372
|
+
" * `RoleRevokedEvent`"
|
|
3892
4373
|
]
|
|
3893
4374
|
},
|
|
3894
4375
|
{
|
|
@@ -4039,6 +4520,14 @@ const abi = {
|
|
|
4039
4520
|
"logId": "10928624505251675",
|
|
4040
4521
|
"concreteTypeId": "0026d386ad84e75b525bec3e7c8b6a63df3fcd108a8c4b26438c8a7a2e2c218b"
|
|
4041
4522
|
},
|
|
4523
|
+
{
|
|
4524
|
+
"logId": "2487585211828868623",
|
|
4525
|
+
"concreteTypeId": "2285ad920393160f43816bfa64a891b1956e2bbd066346d01638db4aaa81cfb9"
|
|
4526
|
+
},
|
|
4527
|
+
{
|
|
4528
|
+
"logId": "6216763621805167948",
|
|
4529
|
+
"concreteTypeId": "564661938244954c8836434b2cf26c3495e0538f78f281fc531f82003ef55d42"
|
|
4530
|
+
},
|
|
4042
4531
|
{
|
|
4043
4532
|
"logId": "12825652816513834595",
|
|
4044
4533
|
"concreteTypeId": "b1fddf488ccb9e63d11888b2750bbd1280a1ae1c49f2d6637fd4cf1e930d1468"
|
|
@@ -4067,6 +4556,10 @@ const abi = {
|
|
|
4067
4556
|
"logId": "1577824708080292652",
|
|
4068
4557
|
"concreteTypeId": "15e58f365af5d32c8a830ec43e70fce6cfbad16f88ed89b35bb7878f15f5b75d"
|
|
4069
4558
|
},
|
|
4559
|
+
{
|
|
4560
|
+
"logId": "16386696543407055422",
|
|
4561
|
+
"concreteTypeId": "e3693daf8fe6223e6a97667025b9fc906b02ca79ea87b1376058b0be52c7778d"
|
|
4562
|
+
},
|
|
4070
4563
|
{
|
|
4071
4564
|
"logId": "4997665884103701952",
|
|
4072
4565
|
"concreteTypeId": "455b46a49016f5c03c18ce54b969ea3d0d33c9b00263b3dcc36aa8da27558b8a"
|
|
@@ -4153,139 +4646,139 @@ const abi = {
|
|
|
4153
4646
|
{
|
|
4154
4647
|
"name": "INITIAL_OWNER",
|
|
4155
4648
|
"concreteTypeId": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
|
|
4156
|
-
"offset":
|
|
4649
|
+
"offset": 153600,
|
|
4157
4650
|
"indirect": false
|
|
4158
4651
|
},
|
|
4159
4652
|
{
|
|
4160
4653
|
"name": "BASE_ASSET",
|
|
4161
4654
|
"concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
|
|
4162
|
-
"offset":
|
|
4655
|
+
"offset": 153488,
|
|
4163
4656
|
"indirect": false
|
|
4164
4657
|
},
|
|
4165
4658
|
{
|
|
4166
4659
|
"name": "QUOTE_ASSET",
|
|
4167
4660
|
"concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
|
|
4168
|
-
"offset":
|
|
4661
|
+
"offset": 153744,
|
|
4169
4662
|
"indirect": false
|
|
4170
4663
|
},
|
|
4171
4664
|
{
|
|
4172
4665
|
"name": "MIN_ORDER",
|
|
4173
4666
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4174
|
-
"offset":
|
|
4667
|
+
"offset": 153712,
|
|
4175
4668
|
"indirect": false
|
|
4176
4669
|
},
|
|
4177
4670
|
{
|
|
4178
4671
|
"name": "MAKER_FEE",
|
|
4179
4672
|
"concreteTypeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
4180
|
-
"offset":
|
|
4673
|
+
"offset": 153648,
|
|
4181
4674
|
"indirect": false
|
|
4182
4675
|
},
|
|
4183
4676
|
{
|
|
4184
4677
|
"name": "TAKER_FEE",
|
|
4185
4678
|
"concreteTypeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
4186
|
-
"offset":
|
|
4679
|
+
"offset": 153800,
|
|
4187
4680
|
"indirect": false
|
|
4188
4681
|
},
|
|
4189
4682
|
{
|
|
4190
4683
|
"name": "BASE_DECIMALS",
|
|
4191
4684
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4192
|
-
"offset":
|
|
4685
|
+
"offset": 153520,
|
|
4193
4686
|
"indirect": false
|
|
4194
4687
|
},
|
|
4195
4688
|
{
|
|
4196
4689
|
"name": "QUOTE_DECIMALS",
|
|
4197
4690
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4198
|
-
"offset":
|
|
4691
|
+
"offset": 153776,
|
|
4199
4692
|
"indirect": false
|
|
4200
4693
|
},
|
|
4201
4694
|
{
|
|
4202
4695
|
"name": "PRICE_WINDOW",
|
|
4203
4696
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4204
|
-
"offset":
|
|
4697
|
+
"offset": 153728,
|
|
4205
4698
|
"indirect": false
|
|
4206
4699
|
},
|
|
4207
4700
|
{
|
|
4208
4701
|
"name": "PRICE_PRECISION",
|
|
4209
4702
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4210
|
-
"offset":
|
|
4703
|
+
"offset": 153720,
|
|
4211
4704
|
"indirect": false
|
|
4212
4705
|
},
|
|
4213
4706
|
{
|
|
4214
4707
|
"name": "QUANTITY_PRECISION",
|
|
4215
4708
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4216
|
-
"offset":
|
|
4709
|
+
"offset": 153736,
|
|
4217
4710
|
"indirect": false
|
|
4218
4711
|
},
|
|
4219
4712
|
{
|
|
4220
4713
|
"name": "DUST",
|
|
4221
4714
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4222
|
-
"offset":
|
|
4715
|
+
"offset": 153592,
|
|
4223
4716
|
"indirect": false
|
|
4224
4717
|
},
|
|
4225
4718
|
{
|
|
4226
4719
|
"name": "BASE_GAS",
|
|
4227
4720
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4228
|
-
"offset":
|
|
4721
|
+
"offset": 153528,
|
|
4229
4722
|
"indirect": false
|
|
4230
4723
|
},
|
|
4231
4724
|
{
|
|
4232
4725
|
"name": "MATCH_EVENT_GAS",
|
|
4233
4726
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4234
|
-
"offset":
|
|
4727
|
+
"offset": 153680,
|
|
4235
4728
|
"indirect": false
|
|
4236
4729
|
},
|
|
4237
4730
|
{
|
|
4238
4731
|
"name": "MATCH_SINGLE_LEVEL_GAS",
|
|
4239
4732
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4240
|
-
"offset":
|
|
4733
|
+
"offset": 153696,
|
|
4241
4734
|
"indirect": false
|
|
4242
4735
|
},
|
|
4243
4736
|
{
|
|
4244
4737
|
"name": "MATCH_MULTI_LEVEL_GAS",
|
|
4245
4738
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4246
|
-
"offset":
|
|
4739
|
+
"offset": 153688,
|
|
4247
4740
|
"indirect": false
|
|
4248
4741
|
},
|
|
4249
4742
|
{
|
|
4250
4743
|
"name": "MIN_GAS",
|
|
4251
4744
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4252
|
-
"offset":
|
|
4745
|
+
"offset": 153704,
|
|
4253
4746
|
"indirect": false
|
|
4254
4747
|
},
|
|
4255
4748
|
{
|
|
4256
4749
|
"name": "ALLOW_FRACTIONAL_PRICE",
|
|
4257
4750
|
"concreteTypeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
|
|
4258
|
-
"offset":
|
|
4751
|
+
"offset": 153480,
|
|
4259
4752
|
"indirect": false
|
|
4260
4753
|
},
|
|
4261
4754
|
{
|
|
4262
4755
|
"name": "TRIGGER_MAX_SLIPPAGE",
|
|
4263
4756
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4264
|
-
"offset":
|
|
4757
|
+
"offset": 153832,
|
|
4265
4758
|
"indirect": false
|
|
4266
4759
|
},
|
|
4267
4760
|
{
|
|
4268
4761
|
"name": "BASE_SYMBOL",
|
|
4269
4762
|
"concreteTypeId": "338a25cb65b9251663dcce6362b744fe10aa849758299590f4efed5dd299bf50",
|
|
4270
|
-
"offset":
|
|
4763
|
+
"offset": 153536,
|
|
4271
4764
|
"indirect": false
|
|
4272
4765
|
},
|
|
4273
4766
|
{
|
|
4274
4767
|
"name": "QUOTE_SYMBOL",
|
|
4275
4768
|
"concreteTypeId": "338a25cb65b9251663dcce6362b744fe10aa849758299590f4efed5dd299bf50",
|
|
4276
|
-
"offset":
|
|
4769
|
+
"offset": 153784,
|
|
4277
4770
|
"indirect": false
|
|
4278
4771
|
},
|
|
4279
4772
|
{
|
|
4280
4773
|
"name": "WHITE_LIST_CONTRACT",
|
|
4281
4774
|
"concreteTypeId": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
|
|
4282
|
-
"offset":
|
|
4775
|
+
"offset": 153840,
|
|
4283
4776
|
"indirect": false
|
|
4284
4777
|
},
|
|
4285
4778
|
{
|
|
4286
4779
|
"name": "BLACK_LIST_CONTRACT",
|
|
4287
4780
|
"concreteTypeId": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
|
|
4288
|
-
"offset":
|
|
4781
|
+
"offset": 153552,
|
|
4289
4782
|
"indirect": false
|
|
4290
4783
|
}
|
|
4291
4784
|
],
|