@o2exchange/contracts 0.1.15 → 0.1.16

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 (47) hide show
  1. package/dist/contracts/OrderBookFactory.js +1 -1
  2. package/dist/contracts/OrderBookFactory.js.map +1 -1
  3. package/dist/contracts/index.d.ts +0 -10
  4. package/dist/contracts/index.d.ts.map +1 -1
  5. package/dist/contracts/index.js +0 -10
  6. package/dist/contracts/index.js.map +1 -1
  7. package/package.json +1 -1
  8. package/dist/contracts/MarginAccountProxy.d.ts +0 -335
  9. package/dist/contracts/MarginAccountProxy.d.ts.map +0 -1
  10. package/dist/contracts/MarginAccountProxy.js +0 -1423
  11. package/dist/contracts/MarginAccountProxy.js.map +0 -1
  12. package/dist/contracts/MarginAccountProxyFactory.d.ts +0 -9
  13. package/dist/contracts/MarginAccountProxyFactory.d.ts.map +0 -1
  14. package/dist/contracts/MarginAccountProxyFactory.js +0 -23
  15. package/dist/contracts/MarginAccountProxyFactory.js.map +0 -1
  16. package/dist/contracts/MarginAccountRegistry.d.ts +0 -241
  17. package/dist/contracts/MarginAccountRegistry.d.ts.map +0 -1
  18. package/dist/contracts/MarginAccountRegistry.js +0 -697
  19. package/dist/contracts/MarginAccountRegistry.js.map +0 -1
  20. package/dist/contracts/MarginAccountRegistryFactory.d.ts +0 -9
  21. package/dist/contracts/MarginAccountRegistryFactory.d.ts.map +0 -1
  22. package/dist/contracts/MarginAccountRegistryFactory.js +0 -23
  23. package/dist/contracts/MarginAccountRegistryFactory.js.map +0 -1
  24. package/dist/contracts/MarginAccountRegistryProxy.d.ts +0 -192
  25. package/dist/contracts/MarginAccountRegistryProxy.d.ts.map +0 -1
  26. package/dist/contracts/MarginAccountRegistryProxy.js +0 -852
  27. package/dist/contracts/MarginAccountRegistryProxy.js.map +0 -1
  28. package/dist/contracts/MarginAccountRegistryProxyFactory.d.ts +0 -9
  29. package/dist/contracts/MarginAccountRegistryProxyFactory.d.ts.map +0 -1
  30. package/dist/contracts/MarginAccountRegistryProxyFactory.js +0 -23
  31. package/dist/contracts/MarginAccountRegistryProxyFactory.js.map +0 -1
  32. package/dist/contracts/MultiSetTest.d.ts +0 -109
  33. package/dist/contracts/MultiSetTest.d.ts.map +0 -1
  34. package/dist/contracts/MultiSetTest.js +0 -205
  35. package/dist/contracts/MultiSetTest.js.map +0 -1
  36. package/dist/contracts/MultiSetTestFactory.d.ts +0 -9
  37. package/dist/contracts/MultiSetTestFactory.d.ts.map +0 -1
  38. package/dist/contracts/MultiSetTestFactory.js +0 -23
  39. package/dist/contracts/MultiSetTestFactory.js.map +0 -1
  40. package/dist/contracts/SetTest.d.ts +0 -94
  41. package/dist/contracts/SetTest.d.ts.map +0 -1
  42. package/dist/contracts/SetTest.js +0 -174
  43. package/dist/contracts/SetTest.js.map +0 -1
  44. package/dist/contracts/SetTestFactory.d.ts +0 -9
  45. package/dist/contracts/SetTestFactory.d.ts.map +0 -1
  46. package/dist/contracts/SetTestFactory.js +0 -23
  47. package/dist/contracts/SetTestFactory.js.map +0 -1
@@ -1,852 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* eslint-disable max-classes-per-file */
3
- /* eslint-disable @typescript-eslint/no-unused-vars */
4
- /* eslint-disable @typescript-eslint/consistent-type-imports */
5
- /*
6
- Fuels version: 0.103.0
7
- Forc version: 0.70.2
8
- Fuel-Core version: 0.47.1
9
- */
10
- import { Contract as __Contract, Interface } from "fuels";
11
- export var AccessErrorInput;
12
- (function (AccessErrorInput) {
13
- AccessErrorInput["NotOwner"] = "NotOwner";
14
- })(AccessErrorInput || (AccessErrorInput = {}));
15
- ;
16
- export var AccessErrorOutput;
17
- (function (AccessErrorOutput) {
18
- AccessErrorOutput["NotOwner"] = "NotOwner";
19
- })(AccessErrorOutput || (AccessErrorOutput = {}));
20
- ;
21
- export var InitializationErrorInput;
22
- (function (InitializationErrorInput) {
23
- InitializationErrorInput["CannotReinitialized"] = "CannotReinitialized";
24
- })(InitializationErrorInput || (InitializationErrorInput = {}));
25
- ;
26
- export var InitializationErrorOutput;
27
- (function (InitializationErrorOutput) {
28
- InitializationErrorOutput["CannotReinitialized"] = "CannotReinitialized";
29
- })(InitializationErrorOutput || (InitializationErrorOutput = {}));
30
- ;
31
- export var SetProxyOwnerErrorInput;
32
- (function (SetProxyOwnerErrorInput) {
33
- SetProxyOwnerErrorInput["CannotUninitialize"] = "CannotUninitialize";
34
- })(SetProxyOwnerErrorInput || (SetProxyOwnerErrorInput = {}));
35
- ;
36
- export var SetProxyOwnerErrorOutput;
37
- (function (SetProxyOwnerErrorOutput) {
38
- SetProxyOwnerErrorOutput["CannotUninitialize"] = "CannotUninitialize";
39
- })(SetProxyOwnerErrorOutput || (SetProxyOwnerErrorOutput = {}));
40
- ;
41
- const abi = {
42
- "programType": "contract",
43
- "specVersion": "1.2",
44
- "encodingVersion": "1",
45
- "concreteTypes": [
46
- {
47
- "type": "()",
48
- "concreteTypeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
49
- },
50
- {
51
- "type": "enum ownership::errors::InitializationError",
52
- "concreteTypeId": "b1fddf488ccb9e63d11888b2750bbd1280a1ae1c49f2d6637fd4cf1e930d1468",
53
- "metadataTypeId": 1
54
- },
55
- {
56
- "type": "enum src5::AccessError",
57
- "concreteTypeId": "f1247475d0d1466599267010f088190f8664dd31663a40c5d5e525d8e64b995d",
58
- "metadataTypeId": 2
59
- },
60
- {
61
- "type": "enum src5::State",
62
- "concreteTypeId": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
63
- "metadataTypeId": 3
64
- },
65
- {
66
- "type": "enum std::identity::Identity",
67
- "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
68
- "metadataTypeId": 4
69
- },
70
- {
71
- "type": "enum std::option::Option<struct std::contract_id::ContractId>",
72
- "concreteTypeId": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
73
- "metadataTypeId": 5,
74
- "typeArguments": [
75
- "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
76
- ]
77
- },
78
- {
79
- "type": "enum upgradability::errors::SetProxyOwnerError",
80
- "concreteTypeId": "077440f455d1eb83361f2183e189067ac3bf4bb6166b7a0630f371593ebb274e",
81
- "metadataTypeId": 6
82
- },
83
- {
84
- "type": "str",
85
- "concreteTypeId": "8c25cb3686462e9a86d2883c5688a22fe738b0bbc85f458d2d2b5f3f667c6d5a"
86
- },
87
- {
88
- "type": "struct contract_schema::proxys::OwnershipTransferredEvent",
89
- "concreteTypeId": "1a4a391e4e527b56f6e488bce418bfd7ff45c5ee2956b4891af265057da0ae69",
90
- "metadataTypeId": 8
91
- },
92
- {
93
- "type": "struct std::contract_id::ContractId",
94
- "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54",
95
- "metadataTypeId": 10
96
- },
97
- {
98
- "type": "struct upgradability::events::ProxyOwnerSet",
99
- "concreteTypeId": "3c23b359912e25002dc894bca0ea08e15bcae108cb5ed17b9cb5ca3fed321e5d",
100
- "metadataTypeId": 12
101
- },
102
- {
103
- "type": "struct upgradability::events::ProxyTargetSet",
104
- "concreteTypeId": "47d9868a6266fb294f68de9d33690c9e627c37425d784cc82b7a7b7e5635b779",
105
- "metadataTypeId": 13
106
- }
107
- ],
108
- "metadataTypes": [
109
- {
110
- "type": "b256",
111
- "metadataTypeId": 0
112
- },
113
- {
114
- "type": "enum ownership::errors::InitializationError",
115
- "metadataTypeId": 1,
116
- "components": [
117
- {
118
- "name": "CannotReinitialized",
119
- "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
120
- }
121
- ]
122
- },
123
- {
124
- "type": "enum src5::AccessError",
125
- "metadataTypeId": 2,
126
- "components": [
127
- {
128
- "name": "NotOwner",
129
- "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
130
- }
131
- ]
132
- },
133
- {
134
- "type": "enum src5::State",
135
- "metadataTypeId": 3,
136
- "components": [
137
- {
138
- "name": "Uninitialized",
139
- "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
140
- },
141
- {
142
- "name": "Initialized",
143
- "typeId": 4
144
- },
145
- {
146
- "name": "Revoked",
147
- "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
148
- }
149
- ]
150
- },
151
- {
152
- "type": "enum std::identity::Identity",
153
- "metadataTypeId": 4,
154
- "components": [
155
- {
156
- "name": "Address",
157
- "typeId": 9
158
- },
159
- {
160
- "name": "ContractId",
161
- "typeId": 10
162
- }
163
- ]
164
- },
165
- {
166
- "type": "enum std::option::Option",
167
- "metadataTypeId": 5,
168
- "components": [
169
- {
170
- "name": "None",
171
- "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
172
- },
173
- {
174
- "name": "Some",
175
- "typeId": 7
176
- }
177
- ],
178
- "typeParameters": [
179
- 7
180
- ]
181
- },
182
- {
183
- "type": "enum upgradability::errors::SetProxyOwnerError",
184
- "metadataTypeId": 6,
185
- "components": [
186
- {
187
- "name": "CannotUninitialize",
188
- "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
189
- }
190
- ]
191
- },
192
- {
193
- "type": "generic T",
194
- "metadataTypeId": 7
195
- },
196
- {
197
- "type": "struct contract_schema::proxys::OwnershipTransferredEvent",
198
- "metadataTypeId": 8,
199
- "components": [
200
- {
201
- "name": "previous_owner",
202
- "typeId": 5,
203
- "typeArguments": [
204
- {
205
- "name": "",
206
- "typeId": 4
207
- }
208
- ]
209
- },
210
- {
211
- "name": "new_owner",
212
- "typeId": 4
213
- },
214
- {
215
- "name": "timestamp",
216
- "typeId": 11
217
- }
218
- ]
219
- },
220
- {
221
- "type": "struct std::address::Address",
222
- "metadataTypeId": 9,
223
- "components": [
224
- {
225
- "name": "bits",
226
- "typeId": 0
227
- }
228
- ]
229
- },
230
- {
231
- "type": "struct std::contract_id::ContractId",
232
- "metadataTypeId": 10,
233
- "components": [
234
- {
235
- "name": "bits",
236
- "typeId": 0
237
- }
238
- ]
239
- },
240
- {
241
- "type": "struct std::time::Time",
242
- "metadataTypeId": 11,
243
- "components": [
244
- {
245
- "name": "unix",
246
- "typeId": 14
247
- }
248
- ]
249
- },
250
- {
251
- "type": "struct upgradability::events::ProxyOwnerSet",
252
- "metadataTypeId": 12,
253
- "components": [
254
- {
255
- "name": "new_proxy_owner",
256
- "typeId": 3
257
- }
258
- ]
259
- },
260
- {
261
- "type": "struct upgradability::events::ProxyTargetSet",
262
- "metadataTypeId": 13,
263
- "components": [
264
- {
265
- "name": "new_target",
266
- "typeId": 10
267
- }
268
- ]
269
- },
270
- {
271
- "type": "u64",
272
- "metadataTypeId": 14
273
- }
274
- ],
275
- "functions": [
276
- {
277
- "name": "proxy_target",
278
- "inputs": [],
279
- "output": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
280
- "attributes": [
281
- {
282
- "name": "doc-comment",
283
- "arguments": [
284
- " Returns the target contract of the proxy contract."
285
- ]
286
- },
287
- {
288
- "name": "doc-comment",
289
- "arguments": [
290
- ""
291
- ]
292
- },
293
- {
294
- "name": "doc-comment",
295
- "arguments": [
296
- " # Returns"
297
- ]
298
- },
299
- {
300
- "name": "doc-comment",
301
- "arguments": [
302
- ""
303
- ]
304
- },
305
- {
306
- "name": "doc-comment",
307
- "arguments": [
308
- " * [Option<ContractId>] - The new proxy contract to which all fallback calls will be passed or `None`."
309
- ]
310
- },
311
- {
312
- "name": "doc-comment",
313
- "arguments": [
314
- ""
315
- ]
316
- },
317
- {
318
- "name": "doc-comment",
319
- "arguments": [
320
- " # Number of Storage Accesses"
321
- ]
322
- },
323
- {
324
- "name": "doc-comment",
325
- "arguments": [
326
- ""
327
- ]
328
- },
329
- {
330
- "name": "doc-comment",
331
- "arguments": [
332
- " * Reads: `1`"
333
- ]
334
- },
335
- {
336
- "name": "storage",
337
- "arguments": [
338
- "read"
339
- ]
340
- }
341
- ]
342
- },
343
- {
344
- "name": "set_proxy_target",
345
- "inputs": [
346
- {
347
- "name": "new_target",
348
- "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
349
- }
350
- ],
351
- "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
352
- "attributes": [
353
- {
354
- "name": "doc-comment",
355
- "arguments": [
356
- " Change the target contract of the proxy contract."
357
- ]
358
- },
359
- {
360
- "name": "doc-comment",
361
- "arguments": [
362
- ""
363
- ]
364
- },
365
- {
366
- "name": "doc-comment",
367
- "arguments": [
368
- " # Additional Information"
369
- ]
370
- },
371
- {
372
- "name": "doc-comment",
373
- "arguments": [
374
- ""
375
- ]
376
- },
377
- {
378
- "name": "doc-comment",
379
- "arguments": [
380
- " This method can only be called by the `proxy_owner`."
381
- ]
382
- },
383
- {
384
- "name": "doc-comment",
385
- "arguments": [
386
- ""
387
- ]
388
- },
389
- {
390
- "name": "doc-comment",
391
- "arguments": [
392
- " # Arguments"
393
- ]
394
- },
395
- {
396
- "name": "doc-comment",
397
- "arguments": [
398
- ""
399
- ]
400
- },
401
- {
402
- "name": "doc-comment",
403
- "arguments": [
404
- " * `new_target`: [ContractId] - The new proxy contract to which all fallback calls will be passed."
405
- ]
406
- },
407
- {
408
- "name": "doc-comment",
409
- "arguments": [
410
- ""
411
- ]
412
- },
413
- {
414
- "name": "doc-comment",
415
- "arguments": [
416
- " # Reverts"
417
- ]
418
- },
419
- {
420
- "name": "doc-comment",
421
- "arguments": [
422
- ""
423
- ]
424
- },
425
- {
426
- "name": "doc-comment",
427
- "arguments": [
428
- " * When not called by `proxy_owner`."
429
- ]
430
- },
431
- {
432
- "name": "doc-comment",
433
- "arguments": [
434
- ""
435
- ]
436
- },
437
- {
438
- "name": "doc-comment",
439
- "arguments": [
440
- " # Number of Storage Accesses"
441
- ]
442
- },
443
- {
444
- "name": "doc-comment",
445
- "arguments": [
446
- ""
447
- ]
448
- },
449
- {
450
- "name": "doc-comment",
451
- "arguments": [
452
- " * Reads: `1`"
453
- ]
454
- },
455
- {
456
- "name": "doc-comment",
457
- "arguments": [
458
- " * Write: `1`"
459
- ]
460
- },
461
- {
462
- "name": "storage",
463
- "arguments": [
464
- "read",
465
- "write"
466
- ]
467
- }
468
- ]
469
- },
470
- {
471
- "name": "proxy_owner",
472
- "inputs": [],
473
- "output": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
474
- "attributes": [
475
- {
476
- "name": "doc-comment",
477
- "arguments": [
478
- " Returns the owner of the proxy contract."
479
- ]
480
- },
481
- {
482
- "name": "doc-comment",
483
- "arguments": [
484
- ""
485
- ]
486
- },
487
- {
488
- "name": "doc-comment",
489
- "arguments": [
490
- " # Returns"
491
- ]
492
- },
493
- {
494
- "name": "doc-comment",
495
- "arguments": [
496
- ""
497
- ]
498
- },
499
- {
500
- "name": "doc-comment",
501
- "arguments": [
502
- " * [State] - Represents the state of ownership for this contract."
503
- ]
504
- },
505
- {
506
- "name": "doc-comment",
507
- "arguments": [
508
- ""
509
- ]
510
- },
511
- {
512
- "name": "doc-comment",
513
- "arguments": [
514
- " # Number of Storage Accesses"
515
- ]
516
- },
517
- {
518
- "name": "doc-comment",
519
- "arguments": [
520
- ""
521
- ]
522
- },
523
- {
524
- "name": "doc-comment",
525
- "arguments": [
526
- " * Reads: `1`"
527
- ]
528
- },
529
- {
530
- "name": "storage",
531
- "arguments": [
532
- "read"
533
- ]
534
- }
535
- ]
536
- },
537
- {
538
- "name": "initialize_proxy",
539
- "inputs": [],
540
- "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
541
- "attributes": [
542
- {
543
- "name": "doc-comment",
544
- "arguments": [
545
- " Initializes the proxy contract."
546
- ]
547
- },
548
- {
549
- "name": "doc-comment",
550
- "arguments": [
551
- ""
552
- ]
553
- },
554
- {
555
- "name": "doc-comment",
556
- "arguments": [
557
- " # Additional Information"
558
- ]
559
- },
560
- {
561
- "name": "doc-comment",
562
- "arguments": [
563
- ""
564
- ]
565
- },
566
- {
567
- "name": "doc-comment",
568
- "arguments": [
569
- " This method sets the storage values using the values of the configurable constants `INITIAL_TARGET` and `INITIAL_OWNER`."
570
- ]
571
- },
572
- {
573
- "name": "doc-comment",
574
- "arguments": [
575
- " This then allows methods that write to storage to be called."
576
- ]
577
- },
578
- {
579
- "name": "doc-comment",
580
- "arguments": [
581
- " This method can only be called once."
582
- ]
583
- },
584
- {
585
- "name": "doc-comment",
586
- "arguments": [
587
- ""
588
- ]
589
- },
590
- {
591
- "name": "doc-comment",
592
- "arguments": [
593
- " # Reverts"
594
- ]
595
- },
596
- {
597
- "name": "doc-comment",
598
- "arguments": [
599
- ""
600
- ]
601
- },
602
- {
603
- "name": "doc-comment",
604
- "arguments": [
605
- " * When `storage::SRC14.proxy_owner` is not [State::Uninitialized]."
606
- ]
607
- },
608
- {
609
- "name": "doc-comment",
610
- "arguments": [
611
- ""
612
- ]
613
- },
614
- {
615
- "name": "doc-comment",
616
- "arguments": [
617
- " # Number of Storage Accesses"
618
- ]
619
- },
620
- {
621
- "name": "doc-comment",
622
- "arguments": [
623
- ""
624
- ]
625
- },
626
- {
627
- "name": "doc-comment",
628
- "arguments": [
629
- " * Writes: `2`"
630
- ]
631
- },
632
- {
633
- "name": "storage",
634
- "arguments": [
635
- "write"
636
- ]
637
- }
638
- ]
639
- },
640
- {
641
- "name": "set_owner",
642
- "inputs": [
643
- {
644
- "name": "new_owner",
645
- "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
646
- }
647
- ],
648
- "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
649
- "attributes": [
650
- {
651
- "name": "doc-comment",
652
- "arguments": [
653
- " Changes proxy ownership to the passed State."
654
- ]
655
- },
656
- {
657
- "name": "doc-comment",
658
- "arguments": [
659
- ""
660
- ]
661
- },
662
- {
663
- "name": "doc-comment",
664
- "arguments": [
665
- " # Additional Information"
666
- ]
667
- },
668
- {
669
- "name": "doc-comment",
670
- "arguments": [
671
- ""
672
- ]
673
- },
674
- {
675
- "name": "doc-comment",
676
- "arguments": [
677
- " This method can be used to transfer ownership between Identities or to revoke ownership."
678
- ]
679
- },
680
- {
681
- "name": "doc-comment",
682
- "arguments": [
683
- ""
684
- ]
685
- },
686
- {
687
- "name": "doc-comment",
688
- "arguments": [
689
- " # Arguments"
690
- ]
691
- },
692
- {
693
- "name": "doc-comment",
694
- "arguments": [
695
- ""
696
- ]
697
- },
698
- {
699
- "name": "doc-comment",
700
- "arguments": [
701
- " * `new_proxy_owner`: [State] - The new state of the proxy ownership."
702
- ]
703
- },
704
- {
705
- "name": "doc-comment",
706
- "arguments": [
707
- ""
708
- ]
709
- },
710
- {
711
- "name": "doc-comment",
712
- "arguments": [
713
- " # Reverts"
714
- ]
715
- },
716
- {
717
- "name": "doc-comment",
718
- "arguments": [
719
- ""
720
- ]
721
- },
722
- {
723
- "name": "doc-comment",
724
- "arguments": [
725
- " * When the sender is not the current proxy owner."
726
- ]
727
- },
728
- {
729
- "name": "doc-comment",
730
- "arguments": [
731
- " * When the new state of the proxy ownership is [State::Uninitialized]."
732
- ]
733
- },
734
- {
735
- "name": "doc-comment",
736
- "arguments": [
737
- ""
738
- ]
739
- },
740
- {
741
- "name": "doc-comment",
742
- "arguments": [
743
- " # Number of Storage Accesses"
744
- ]
745
- },
746
- {
747
- "name": "doc-comment",
748
- "arguments": [
749
- ""
750
- ]
751
- },
752
- {
753
- "name": "doc-comment",
754
- "arguments": [
755
- " * Reads: `1`"
756
- ]
757
- },
758
- {
759
- "name": "doc-comment",
760
- "arguments": [
761
- " * Writes: `1`"
762
- ]
763
- },
764
- {
765
- "name": "storage",
766
- "arguments": [
767
- "read",
768
- "write"
769
- ]
770
- }
771
- ]
772
- }
773
- ],
774
- "loggedTypes": [
775
- {
776
- "logId": "17376141311665587813",
777
- "concreteTypeId": "f1247475d0d1466599267010f088190f8664dd31663a40c5d5e525d8e64b995d"
778
- },
779
- {
780
- "logId": "537125673719950211",
781
- "concreteTypeId": "077440f455d1eb83361f2183e189067ac3bf4bb6166b7a0630f371593ebb274e"
782
- },
783
- {
784
- "logId": "4333504463729730816",
785
- "concreteTypeId": "3c23b359912e25002dc894bca0ea08e15bcae108cb5ed17b9cb5ca3fed321e5d"
786
- },
787
- {
788
- "logId": "1894389395588545366",
789
- "concreteTypeId": "1a4a391e4e527b56f6e488bce418bfd7ff45c5ee2956b4891af265057da0ae69"
790
- },
791
- {
792
- "logId": "10098701174489624218",
793
- "concreteTypeId": "8c25cb3686462e9a86d2883c5688a22fe738b0bbc85f458d2d2b5f3f667c6d5a"
794
- },
795
- {
796
- "logId": "5177317175553620777",
797
- "concreteTypeId": "47d9868a6266fb294f68de9d33690c9e627c37425d784cc82b7a7b7e5635b779"
798
- },
799
- {
800
- "logId": "12825652816513834595",
801
- "concreteTypeId": "b1fddf488ccb9e63d11888b2750bbd1280a1ae1c49f2d6637fd4cf1e930d1468"
802
- }
803
- ],
804
- "messagesTypes": [],
805
- "configurables": [
806
- {
807
- "name": "INITIAL_OWNER",
808
- "concreteTypeId": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
809
- "offset": 9616,
810
- "indirect": false
811
- },
812
- {
813
- "name": "INITIAL_TARGET",
814
- "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54",
815
- "offset": 9664,
816
- "indirect": false
817
- }
818
- ],
819
- "errorCodes": {},
820
- "panickingCalls": {}
821
- };
822
- const storageSlots = [
823
- {
824
- "key": "7bb458adc1d118713319a5baa00a2d049dd64d2916477d2688d76970c898cd55",
825
- "value": "0000000000000000000000000000000000000000000000000000000000000000"
826
- },
827
- {
828
- "key": "7bb458adc1d118713319a5baa00a2d049dd64d2916477d2688d76970c898cd56",
829
- "value": "0000000000000000000000000000000000000000000000000000000000000000"
830
- },
831
- {
832
- "key": "bb79927b15d9259ea316f2ecb2297d6cc8851888a98278c0a2e03e1a091ea754",
833
- "value": "0000000000000000000000000000000000000000000000000000000000000000"
834
- },
835
- {
836
- "key": "bb79927b15d9259ea316f2ecb2297d6cc8851888a98278c0a2e03e1a091ea755",
837
- "value": "0000000000000000000000000000000000000000000000000000000000000000"
838
- }
839
- ];
840
- export class MarginAccountRegistryProxyInterface extends Interface {
841
- constructor() {
842
- super(abi);
843
- }
844
- }
845
- export class MarginAccountRegistryProxy extends __Contract {
846
- static abi = abi;
847
- static storageSlots = storageSlots;
848
- constructor(id, accountOrProvider) {
849
- super(id, abi, accountOrProvider);
850
- }
851
- }
852
- //# sourceMappingURL=MarginAccountRegistryProxy.js.map