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