@o2exchange/contracts 0.1.14 → 0.1.15

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 (55) hide show
  1. package/dist/contracts/LinkedListTest.d.ts +141 -0
  2. package/dist/contracts/LinkedListTest.d.ts.map +1 -0
  3. package/dist/contracts/LinkedListTest.js +533 -0
  4. package/dist/contracts/LinkedListTest.js.map +1 -0
  5. package/dist/contracts/LinkedListTestFactory.d.ts +9 -0
  6. package/dist/contracts/LinkedListTestFactory.d.ts.map +1 -0
  7. package/dist/contracts/LinkedListTestFactory.js +23 -0
  8. package/dist/contracts/LinkedListTestFactory.js.map +1 -0
  9. package/dist/contracts/MarginAccountProxy.d.ts +335 -0
  10. package/dist/contracts/MarginAccountProxy.d.ts.map +1 -0
  11. package/dist/contracts/MarginAccountProxy.js +1423 -0
  12. package/dist/contracts/MarginAccountProxy.js.map +1 -0
  13. package/dist/contracts/MarginAccountProxyFactory.d.ts +9 -0
  14. package/dist/contracts/MarginAccountProxyFactory.d.ts.map +1 -0
  15. package/dist/contracts/MarginAccountProxyFactory.js +23 -0
  16. package/dist/contracts/MarginAccountProxyFactory.js.map +1 -0
  17. package/dist/contracts/MarginAccountRegistry.d.ts +241 -0
  18. package/dist/contracts/MarginAccountRegistry.d.ts.map +1 -0
  19. package/dist/contracts/MarginAccountRegistry.js +697 -0
  20. package/dist/contracts/MarginAccountRegistry.js.map +1 -0
  21. package/dist/contracts/MarginAccountRegistryFactory.d.ts +9 -0
  22. package/dist/contracts/MarginAccountRegistryFactory.d.ts.map +1 -0
  23. package/dist/contracts/MarginAccountRegistryFactory.js +23 -0
  24. package/dist/contracts/MarginAccountRegistryFactory.js.map +1 -0
  25. package/dist/contracts/MarginAccountRegistryProxy.d.ts +192 -0
  26. package/dist/contracts/MarginAccountRegistryProxy.d.ts.map +1 -0
  27. package/dist/contracts/MarginAccountRegistryProxy.js +852 -0
  28. package/dist/contracts/MarginAccountRegistryProxy.js.map +1 -0
  29. package/dist/contracts/MarginAccountRegistryProxyFactory.d.ts +9 -0
  30. package/dist/contracts/MarginAccountRegistryProxyFactory.d.ts.map +1 -0
  31. package/dist/contracts/MarginAccountRegistryProxyFactory.js +23 -0
  32. package/dist/contracts/MarginAccountRegistryProxyFactory.js.map +1 -0
  33. package/dist/contracts/MultiSetTest.d.ts +109 -0
  34. package/dist/contracts/MultiSetTest.d.ts.map +1 -0
  35. package/dist/contracts/MultiSetTest.js +205 -0
  36. package/dist/contracts/MultiSetTest.js.map +1 -0
  37. package/dist/contracts/MultiSetTestFactory.d.ts +9 -0
  38. package/dist/contracts/MultiSetTestFactory.d.ts.map +1 -0
  39. package/dist/contracts/MultiSetTestFactory.js +23 -0
  40. package/dist/contracts/MultiSetTestFactory.js.map +1 -0
  41. package/dist/contracts/OrderBookFactory.js +1 -1
  42. package/dist/contracts/OrderBookFactory.js.map +1 -1
  43. package/dist/contracts/SetTest.d.ts +94 -0
  44. package/dist/contracts/SetTest.d.ts.map +1 -0
  45. package/dist/contracts/SetTest.js +174 -0
  46. package/dist/contracts/SetTest.js.map +1 -0
  47. package/dist/contracts/SetTestFactory.d.ts +9 -0
  48. package/dist/contracts/SetTestFactory.d.ts.map +1 -0
  49. package/dist/contracts/SetTestFactory.js +23 -0
  50. package/dist/contracts/SetTestFactory.js.map +1 -0
  51. package/dist/contracts/index.d.ts +12 -0
  52. package/dist/contracts/index.d.ts.map +1 -1
  53. package/dist/contracts/index.js +12 -0
  54. package/dist/contracts/index.js.map +1 -1
  55. package/package.json +1 -1
@@ -0,0 +1,1423 @@
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 CallerErrorInput;
22
+ (function (CallerErrorInput) {
23
+ CallerErrorInput["InvalidCaller"] = "InvalidCaller";
24
+ })(CallerErrorInput || (CallerErrorInput = {}));
25
+ ;
26
+ export var CallerErrorOutput;
27
+ (function (CallerErrorOutput) {
28
+ CallerErrorOutput["InvalidCaller"] = "InvalidCaller";
29
+ })(CallerErrorOutput || (CallerErrorOutput = {}));
30
+ ;
31
+ export var EncodingInput;
32
+ (function (EncodingInput) {
33
+ EncodingInput["SRC16"] = "SRC16";
34
+ EncodingInput["EIP712"] = "EIP712";
35
+ })(EncodingInput || (EncodingInput = {}));
36
+ ;
37
+ export var EncodingOutput;
38
+ (function (EncodingOutput) {
39
+ EncodingOutput["SRC16"] = "SRC16";
40
+ EncodingOutput["EIP712"] = "EIP712";
41
+ })(EncodingOutput || (EncodingOutput = {}));
42
+ ;
43
+ export var InitializationErrorInput;
44
+ (function (InitializationErrorInput) {
45
+ InitializationErrorInput["CannotReinitialized"] = "CannotReinitialized";
46
+ })(InitializationErrorInput || (InitializationErrorInput = {}));
47
+ ;
48
+ export var InitializationErrorOutput;
49
+ (function (InitializationErrorOutput) {
50
+ InitializationErrorOutput["CannotReinitialized"] = "CannotReinitialized";
51
+ })(InitializationErrorOutput || (InitializationErrorOutput = {}));
52
+ ;
53
+ export var NonceErrorInput;
54
+ (function (NonceErrorInput) {
55
+ NonceErrorInput["InvalidNonce"] = "InvalidNonce";
56
+ })(NonceErrorInput || (NonceErrorInput = {}));
57
+ ;
58
+ export var NonceErrorOutput;
59
+ (function (NonceErrorOutput) {
60
+ NonceErrorOutput["InvalidNonce"] = "InvalidNonce";
61
+ })(NonceErrorOutput || (NonceErrorOutput = {}));
62
+ ;
63
+ export var SignatureErrorInput;
64
+ (function (SignatureErrorInput) {
65
+ SignatureErrorInput["UnrecoverablePublicKey"] = "UnrecoverablePublicKey";
66
+ SignatureErrorInput["InvalidPublicKey"] = "InvalidPublicKey";
67
+ SignatureErrorInput["InvalidSignature"] = "InvalidSignature";
68
+ SignatureErrorInput["InvalidOperation"] = "InvalidOperation";
69
+ })(SignatureErrorInput || (SignatureErrorInput = {}));
70
+ ;
71
+ export var SignatureErrorOutput;
72
+ (function (SignatureErrorOutput) {
73
+ SignatureErrorOutput["UnrecoverablePublicKey"] = "UnrecoverablePublicKey";
74
+ SignatureErrorOutput["InvalidPublicKey"] = "InvalidPublicKey";
75
+ SignatureErrorOutput["InvalidSignature"] = "InvalidSignature";
76
+ SignatureErrorOutput["InvalidOperation"] = "InvalidOperation";
77
+ })(SignatureErrorOutput || (SignatureErrorOutput = {}));
78
+ ;
79
+ export var SignerErrorInput;
80
+ (function (SignerErrorInput) {
81
+ SignerErrorInput["InvalidSigner"] = "InvalidSigner";
82
+ SignerErrorInput["ProxyOwnerIsContract"] = "ProxyOwnerIsContract";
83
+ })(SignerErrorInput || (SignerErrorInput = {}));
84
+ ;
85
+ export var SignerErrorOutput;
86
+ (function (SignerErrorOutput) {
87
+ SignerErrorOutput["InvalidSigner"] = "InvalidSigner";
88
+ SignerErrorOutput["ProxyOwnerIsContract"] = "ProxyOwnerIsContract";
89
+ })(SignerErrorOutput || (SignerErrorOutput = {}));
90
+ ;
91
+ const abi = {
92
+ "programType": "contract",
93
+ "specVersion": "1.2",
94
+ "encodingVersion": "1",
95
+ "concreteTypes": [
96
+ {
97
+ "type": "()",
98
+ "concreteTypeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
99
+ },
100
+ {
101
+ "type": "b256",
102
+ "concreteTypeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
103
+ },
104
+ {
105
+ "type": "enum contract_schema::src16::Domain",
106
+ "concreteTypeId": "5f05ed49298866d467640c48af64b5e978f95a74358b7050b09adfa77ea558b2",
107
+ "metadataTypeId": 1
108
+ },
109
+ {
110
+ "type": "enum contract_schema::src16::Encoding",
111
+ "concreteTypeId": "5eb19a24b67b9922247392ca34ef7e4726b323401f4d6b3f65d4a8f382632a07",
112
+ "metadataTypeId": 2
113
+ },
114
+ {
115
+ "type": "enum contract_schema::trade_account::CallerError",
116
+ "concreteTypeId": "0b65ce7c65308b155a42d67dba9a8f5ec826782ec477a1970fe592016e92d527",
117
+ "metadataTypeId": 3
118
+ },
119
+ {
120
+ "type": "enum contract_schema::trade_account::NonceError",
121
+ "concreteTypeId": "f88b7359b6a93f09790d042f771eb46a798919cde0d85a95d291dae15d746312",
122
+ "metadataTypeId": 4
123
+ },
124
+ {
125
+ "type": "enum contract_schema::trade_account::SignerError",
126
+ "concreteTypeId": "9924f5da95b424d9efb5403e33f96557a6fa8e766014c055159e9c3bd457ca83",
127
+ "metadataTypeId": 5
128
+ },
129
+ {
130
+ "type": "enum ownership::errors::InitializationError",
131
+ "concreteTypeId": "b1fddf488ccb9e63d11888b2750bbd1280a1ae1c49f2d6637fd4cf1e930d1468",
132
+ "metadataTypeId": 6
133
+ },
134
+ {
135
+ "type": "enum src5::AccessError",
136
+ "concreteTypeId": "f1247475d0d1466599267010f088190f8664dd31663a40c5d5e525d8e64b995d",
137
+ "metadataTypeId": 7
138
+ },
139
+ {
140
+ "type": "enum src5::State",
141
+ "concreteTypeId": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
142
+ "metadataTypeId": 8
143
+ },
144
+ {
145
+ "type": "enum std::crypto::signature::Signature",
146
+ "concreteTypeId": "2a32867dec49ed8ddf6b7d2ed19d53c626d3f593369b5dd82a317d7b300e1c39",
147
+ "metadataTypeId": 9
148
+ },
149
+ {
150
+ "type": "enum std::crypto::signature_error::SignatureError",
151
+ "concreteTypeId": "c95b1133ba0fd973819faa015c9a3bf27edbbef753c977f859ba593b89ae22e5",
152
+ "metadataTypeId": 10
153
+ },
154
+ {
155
+ "type": "enum std::option::Option<enum std::crypto::signature::Signature>",
156
+ "concreteTypeId": "8c8a9aeea8dc1a1ac1f1fe31c77823653152feda3fa93cd494eedbf84395ca40",
157
+ "metadataTypeId": 12,
158
+ "typeArguments": [
159
+ "2a32867dec49ed8ddf6b7d2ed19d53c626d3f593369b5dd82a317d7b300e1c39"
160
+ ]
161
+ },
162
+ {
163
+ "type": "enum std::option::Option<struct std::contract_id::ContractId>",
164
+ "concreteTypeId": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
165
+ "metadataTypeId": 12,
166
+ "typeArguments": [
167
+ "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
168
+ ]
169
+ },
170
+ {
171
+ "type": "str",
172
+ "concreteTypeId": "8c25cb3686462e9a86d2883c5688a22fe738b0bbc85f458d2d2b5f3f667c6d5a"
173
+ },
174
+ {
175
+ "type": "str[18]",
176
+ "concreteTypeId": "58917167d101d95177bf16f9bb6db90f521ee1af6337127222eda49f2066c4bb"
177
+ },
178
+ {
179
+ "type": "str[1]",
180
+ "concreteTypeId": "6354581bfa62ac188c9f243cc30e1bf38a150773f871be8765351ef8c5db6c1e"
181
+ },
182
+ {
183
+ "type": "struct contract_libs::signature::IncrementNonceEvent",
184
+ "concreteTypeId": "1f60fe48a54d08956985da0422f2d7d44834b7c4d4687f0376f26dce46fe44bf",
185
+ "metadataTypeId": 15
186
+ },
187
+ {
188
+ "type": "struct contract_schema::proxys::OwnershipTransferredEvent",
189
+ "concreteTypeId": "1a4a391e4e527b56f6e488bce418bfd7ff45c5ee2956b4891af265057da0ae69",
190
+ "metadataTypeId": 16
191
+ },
192
+ {
193
+ "type": "struct contract_schema::proxys::SetProxyTargetArgs",
194
+ "concreteTypeId": "654c5f815313cff0f986e7649de9337da139ac6ba80d1b2b22f67bb30061d3f1",
195
+ "metadataTypeId": 17
196
+ },
197
+ {
198
+ "type": "struct std::contract_id::ContractId",
199
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54",
200
+ "metadataTypeId": 23
201
+ },
202
+ {
203
+ "type": "struct upgradability::events::ProxyTargetSet",
204
+ "concreteTypeId": "47d9868a6266fb294f68de9d33690c9e627c37425d784cc82b7a7b7e5635b779",
205
+ "metadataTypeId": 29
206
+ }
207
+ ],
208
+ "metadataTypes": [
209
+ {
210
+ "type": "[_; 64]",
211
+ "metadataTypeId": 0,
212
+ "components": [
213
+ {
214
+ "name": "__array_element",
215
+ "typeId": 32
216
+ }
217
+ ]
218
+ },
219
+ {
220
+ "type": "enum contract_schema::src16::Domain",
221
+ "metadataTypeId": 1,
222
+ "components": [
223
+ {
224
+ "name": "SRC16Domain",
225
+ "typeId": 19
226
+ },
227
+ {
228
+ "name": "EIP712Domain",
229
+ "typeId": 18
230
+ }
231
+ ]
232
+ },
233
+ {
234
+ "type": "enum contract_schema::src16::Encoding",
235
+ "metadataTypeId": 2,
236
+ "components": [
237
+ {
238
+ "name": "SRC16",
239
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
240
+ },
241
+ {
242
+ "name": "EIP712",
243
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
244
+ }
245
+ ]
246
+ },
247
+ {
248
+ "type": "enum contract_schema::trade_account::CallerError",
249
+ "metadataTypeId": 3,
250
+ "components": [
251
+ {
252
+ "name": "InvalidCaller",
253
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
254
+ }
255
+ ]
256
+ },
257
+ {
258
+ "type": "enum contract_schema::trade_account::NonceError",
259
+ "metadataTypeId": 4,
260
+ "components": [
261
+ {
262
+ "name": "InvalidNonce",
263
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
264
+ }
265
+ ]
266
+ },
267
+ {
268
+ "type": "enum contract_schema::trade_account::SignerError",
269
+ "metadataTypeId": 5,
270
+ "components": [
271
+ {
272
+ "name": "InvalidSigner",
273
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
274
+ },
275
+ {
276
+ "name": "ProxyOwnerIsContract",
277
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
278
+ }
279
+ ]
280
+ },
281
+ {
282
+ "type": "enum ownership::errors::InitializationError",
283
+ "metadataTypeId": 6,
284
+ "components": [
285
+ {
286
+ "name": "CannotReinitialized",
287
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
288
+ }
289
+ ]
290
+ },
291
+ {
292
+ "type": "enum src5::AccessError",
293
+ "metadataTypeId": 7,
294
+ "components": [
295
+ {
296
+ "name": "NotOwner",
297
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
298
+ }
299
+ ]
300
+ },
301
+ {
302
+ "type": "enum src5::State",
303
+ "metadataTypeId": 8,
304
+ "components": [
305
+ {
306
+ "name": "Uninitialized",
307
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
308
+ },
309
+ {
310
+ "name": "Initialized",
311
+ "typeId": 11
312
+ },
313
+ {
314
+ "name": "Revoked",
315
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
316
+ }
317
+ ]
318
+ },
319
+ {
320
+ "type": "enum std::crypto::signature::Signature",
321
+ "metadataTypeId": 9,
322
+ "components": [
323
+ {
324
+ "name": "Secp256k1",
325
+ "typeId": 25
326
+ },
327
+ {
328
+ "name": "Secp256r1",
329
+ "typeId": 26
330
+ },
331
+ {
332
+ "name": "Ed25519",
333
+ "typeId": 24
334
+ }
335
+ ]
336
+ },
337
+ {
338
+ "type": "enum std::crypto::signature_error::SignatureError",
339
+ "metadataTypeId": 10,
340
+ "components": [
341
+ {
342
+ "name": "UnrecoverablePublicKey",
343
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
344
+ },
345
+ {
346
+ "name": "InvalidPublicKey",
347
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
348
+ },
349
+ {
350
+ "name": "InvalidSignature",
351
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
352
+ },
353
+ {
354
+ "name": "InvalidOperation",
355
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
356
+ }
357
+ ]
358
+ },
359
+ {
360
+ "type": "enum std::identity::Identity",
361
+ "metadataTypeId": 11,
362
+ "components": [
363
+ {
364
+ "name": "Address",
365
+ "typeId": 20
366
+ },
367
+ {
368
+ "name": "ContractId",
369
+ "typeId": 23
370
+ }
371
+ ]
372
+ },
373
+ {
374
+ "type": "enum std::option::Option",
375
+ "metadataTypeId": 12,
376
+ "components": [
377
+ {
378
+ "name": "None",
379
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
380
+ },
381
+ {
382
+ "name": "Some",
383
+ "typeId": 13
384
+ }
385
+ ],
386
+ "typeParameters": [
387
+ 13
388
+ ]
389
+ },
390
+ {
391
+ "type": "generic T",
392
+ "metadataTypeId": 13
393
+ },
394
+ {
395
+ "type": "raw untyped ptr",
396
+ "metadataTypeId": 14
397
+ },
398
+ {
399
+ "type": "struct contract_libs::signature::IncrementNonceEvent",
400
+ "metadataTypeId": 15,
401
+ "components": [
402
+ {
403
+ "name": "nonce",
404
+ "typeId": 31
405
+ }
406
+ ]
407
+ },
408
+ {
409
+ "type": "struct contract_schema::proxys::OwnershipTransferredEvent",
410
+ "metadataTypeId": 16,
411
+ "components": [
412
+ {
413
+ "name": "previous_owner",
414
+ "typeId": 12,
415
+ "typeArguments": [
416
+ {
417
+ "name": "",
418
+ "typeId": 11
419
+ }
420
+ ]
421
+ },
422
+ {
423
+ "name": "new_owner",
424
+ "typeId": 11
425
+ },
426
+ {
427
+ "name": "timestamp",
428
+ "typeId": 28
429
+ }
430
+ ]
431
+ },
432
+ {
433
+ "type": "struct contract_schema::proxys::SetProxyTargetArgs",
434
+ "metadataTypeId": 17,
435
+ "components": [
436
+ {
437
+ "name": "nonce",
438
+ "typeId": 31
439
+ }
440
+ ]
441
+ },
442
+ {
443
+ "type": "struct contract_schema::src16::EIP712Domain",
444
+ "metadataTypeId": 18,
445
+ "components": [
446
+ {
447
+ "name": "name",
448
+ "typeId": 12,
449
+ "typeArguments": [
450
+ {
451
+ "name": "",
452
+ "typeId": 27
453
+ }
454
+ ]
455
+ },
456
+ {
457
+ "name": "version",
458
+ "typeId": 12,
459
+ "typeArguments": [
460
+ {
461
+ "name": "",
462
+ "typeId": 27
463
+ }
464
+ ]
465
+ },
466
+ {
467
+ "name": "chain_id",
468
+ "typeId": 12,
469
+ "typeArguments": [
470
+ {
471
+ "name": "",
472
+ "typeId": 30
473
+ }
474
+ ]
475
+ },
476
+ {
477
+ "name": "verifying_contract",
478
+ "typeId": 12,
479
+ "typeArguments": [
480
+ {
481
+ "name": "",
482
+ "typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
483
+ }
484
+ ]
485
+ },
486
+ {
487
+ "name": "salt",
488
+ "typeId": 12,
489
+ "typeArguments": [
490
+ {
491
+ "name": "",
492
+ "typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
493
+ }
494
+ ]
495
+ }
496
+ ]
497
+ },
498
+ {
499
+ "type": "struct contract_schema::src16::SRC16Domain",
500
+ "metadataTypeId": 19,
501
+ "components": [
502
+ {
503
+ "name": "name",
504
+ "typeId": 12,
505
+ "typeArguments": [
506
+ {
507
+ "name": "",
508
+ "typeId": 27
509
+ }
510
+ ]
511
+ },
512
+ {
513
+ "name": "version",
514
+ "typeId": 12,
515
+ "typeArguments": [
516
+ {
517
+ "name": "",
518
+ "typeId": 27
519
+ }
520
+ ]
521
+ },
522
+ {
523
+ "name": "chain_id",
524
+ "typeId": 12,
525
+ "typeArguments": [
526
+ {
527
+ "name": "",
528
+ "typeId": 30
529
+ }
530
+ ]
531
+ },
532
+ {
533
+ "name": "verifying_contract",
534
+ "typeId": 12,
535
+ "typeArguments": [
536
+ {
537
+ "name": "",
538
+ "typeId": 23
539
+ }
540
+ ]
541
+ },
542
+ {
543
+ "name": "salt",
544
+ "typeId": 12,
545
+ "typeArguments": [
546
+ {
547
+ "name": "",
548
+ "typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
549
+ }
550
+ ]
551
+ }
552
+ ]
553
+ },
554
+ {
555
+ "type": "struct std::address::Address",
556
+ "metadataTypeId": 20,
557
+ "components": [
558
+ {
559
+ "name": "bits",
560
+ "typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
561
+ }
562
+ ]
563
+ },
564
+ {
565
+ "type": "struct std::bytes::Bytes",
566
+ "metadataTypeId": 21,
567
+ "components": [
568
+ {
569
+ "name": "buf",
570
+ "typeId": 22
571
+ },
572
+ {
573
+ "name": "len",
574
+ "typeId": 31
575
+ }
576
+ ]
577
+ },
578
+ {
579
+ "type": "struct std::bytes::RawBytes",
580
+ "metadataTypeId": 22,
581
+ "components": [
582
+ {
583
+ "name": "ptr",
584
+ "typeId": 14
585
+ },
586
+ {
587
+ "name": "cap",
588
+ "typeId": 31
589
+ }
590
+ ]
591
+ },
592
+ {
593
+ "type": "struct std::contract_id::ContractId",
594
+ "metadataTypeId": 23,
595
+ "components": [
596
+ {
597
+ "name": "bits",
598
+ "typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
599
+ }
600
+ ]
601
+ },
602
+ {
603
+ "type": "struct std::crypto::ed25519::Ed25519",
604
+ "metadataTypeId": 24,
605
+ "components": [
606
+ {
607
+ "name": "bits",
608
+ "typeId": 0
609
+ }
610
+ ]
611
+ },
612
+ {
613
+ "type": "struct std::crypto::secp256k1::Secp256k1",
614
+ "metadataTypeId": 25,
615
+ "components": [
616
+ {
617
+ "name": "bits",
618
+ "typeId": 0
619
+ }
620
+ ]
621
+ },
622
+ {
623
+ "type": "struct std::crypto::secp256r1::Secp256r1",
624
+ "metadataTypeId": 26,
625
+ "components": [
626
+ {
627
+ "name": "bits",
628
+ "typeId": 0
629
+ }
630
+ ]
631
+ },
632
+ {
633
+ "type": "struct std::string::String",
634
+ "metadataTypeId": 27,
635
+ "components": [
636
+ {
637
+ "name": "bytes",
638
+ "typeId": 21
639
+ }
640
+ ]
641
+ },
642
+ {
643
+ "type": "struct std::time::Time",
644
+ "metadataTypeId": 28,
645
+ "components": [
646
+ {
647
+ "name": "unix",
648
+ "typeId": 31
649
+ }
650
+ ]
651
+ },
652
+ {
653
+ "type": "struct upgradability::events::ProxyTargetSet",
654
+ "metadataTypeId": 29,
655
+ "components": [
656
+ {
657
+ "name": "new_target",
658
+ "typeId": 23
659
+ }
660
+ ]
661
+ },
662
+ {
663
+ "type": "u256",
664
+ "metadataTypeId": 30
665
+ },
666
+ {
667
+ "type": "u64",
668
+ "metadataTypeId": 31
669
+ },
670
+ {
671
+ "type": "u8",
672
+ "metadataTypeId": 32
673
+ }
674
+ ],
675
+ "functions": [
676
+ {
677
+ "name": "proxy_owner",
678
+ "inputs": [],
679
+ "output": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
680
+ "attributes": [
681
+ {
682
+ "name": "doc-comment",
683
+ "arguments": [
684
+ " Returns the owner of the proxy contract."
685
+ ]
686
+ },
687
+ {
688
+ "name": "doc-comment",
689
+ "arguments": [
690
+ ""
691
+ ]
692
+ },
693
+ {
694
+ "name": "doc-comment",
695
+ "arguments": [
696
+ " # Returns"
697
+ ]
698
+ },
699
+ {
700
+ "name": "doc-comment",
701
+ "arguments": [
702
+ ""
703
+ ]
704
+ },
705
+ {
706
+ "name": "doc-comment",
707
+ "arguments": [
708
+ " * [State] - Represents the state of ownership for this contract."
709
+ ]
710
+ },
711
+ {
712
+ "name": "doc-comment",
713
+ "arguments": [
714
+ ""
715
+ ]
716
+ },
717
+ {
718
+ "name": "doc-comment",
719
+ "arguments": [
720
+ " # Number of Storage Accesses"
721
+ ]
722
+ },
723
+ {
724
+ "name": "doc-comment",
725
+ "arguments": [
726
+ ""
727
+ ]
728
+ },
729
+ {
730
+ "name": "doc-comment",
731
+ "arguments": [
732
+ " * Reads: `1`"
733
+ ]
734
+ },
735
+ {
736
+ "name": "storage",
737
+ "arguments": [
738
+ "read"
739
+ ]
740
+ }
741
+ ]
742
+ },
743
+ {
744
+ "name": "proxy_target",
745
+ "inputs": [],
746
+ "output": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
747
+ "attributes": [
748
+ {
749
+ "name": "doc-comment",
750
+ "arguments": [
751
+ " Returns the target contract of the proxy contract."
752
+ ]
753
+ },
754
+ {
755
+ "name": "doc-comment",
756
+ "arguments": [
757
+ ""
758
+ ]
759
+ },
760
+ {
761
+ "name": "doc-comment",
762
+ "arguments": [
763
+ " # Returns"
764
+ ]
765
+ },
766
+ {
767
+ "name": "doc-comment",
768
+ "arguments": [
769
+ ""
770
+ ]
771
+ },
772
+ {
773
+ "name": "doc-comment",
774
+ "arguments": [
775
+ " * [Option<ContractId>] - The new proxy contract to which all fallback calls will be passed or `None`."
776
+ ]
777
+ },
778
+ {
779
+ "name": "doc-comment",
780
+ "arguments": [
781
+ ""
782
+ ]
783
+ },
784
+ {
785
+ "name": "doc-comment",
786
+ "arguments": [
787
+ " # Number of Storage Accesses"
788
+ ]
789
+ },
790
+ {
791
+ "name": "doc-comment",
792
+ "arguments": [
793
+ ""
794
+ ]
795
+ },
796
+ {
797
+ "name": "doc-comment",
798
+ "arguments": [
799
+ " * Reads: `1`"
800
+ ]
801
+ },
802
+ {
803
+ "name": "storage",
804
+ "arguments": [
805
+ "read"
806
+ ]
807
+ }
808
+ ]
809
+ },
810
+ {
811
+ "name": "set_proxy_target",
812
+ "inputs": [
813
+ {
814
+ "name": "_new_target",
815
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
816
+ }
817
+ ],
818
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
819
+ "attributes": [
820
+ {
821
+ "name": "doc-comment",
822
+ "arguments": [
823
+ " Change the target contract of the proxy contract."
824
+ ]
825
+ },
826
+ {
827
+ "name": "doc-comment",
828
+ "arguments": [
829
+ ""
830
+ ]
831
+ },
832
+ {
833
+ "name": "doc-comment",
834
+ "arguments": [
835
+ " # Additional Information"
836
+ ]
837
+ },
838
+ {
839
+ "name": "doc-comment",
840
+ "arguments": [
841
+ ""
842
+ ]
843
+ },
844
+ {
845
+ "name": "doc-comment",
846
+ "arguments": [
847
+ " This method can only be called by the `proxy_owner`."
848
+ ]
849
+ },
850
+ {
851
+ "name": "doc-comment",
852
+ "arguments": [
853
+ ""
854
+ ]
855
+ },
856
+ {
857
+ "name": "doc-comment",
858
+ "arguments": [
859
+ " # Arguments"
860
+ ]
861
+ },
862
+ {
863
+ "name": "doc-comment",
864
+ "arguments": [
865
+ ""
866
+ ]
867
+ },
868
+ {
869
+ "name": "doc-comment",
870
+ "arguments": [
871
+ " * `new_target`: [ContractId] - The new proxy contract to which all fallback calls will be passed."
872
+ ]
873
+ },
874
+ {
875
+ "name": "doc-comment",
876
+ "arguments": [
877
+ ""
878
+ ]
879
+ },
880
+ {
881
+ "name": "doc-comment",
882
+ "arguments": [
883
+ " # Reverts"
884
+ ]
885
+ },
886
+ {
887
+ "name": "doc-comment",
888
+ "arguments": [
889
+ ""
890
+ ]
891
+ },
892
+ {
893
+ "name": "doc-comment",
894
+ "arguments": [
895
+ " * When not called by `proxy_owner`."
896
+ ]
897
+ },
898
+ {
899
+ "name": "doc-comment",
900
+ "arguments": [
901
+ ""
902
+ ]
903
+ },
904
+ {
905
+ "name": "doc-comment",
906
+ "arguments": [
907
+ " # Number of Storage Accesses"
908
+ ]
909
+ },
910
+ {
911
+ "name": "doc-comment",
912
+ "arguments": [
913
+ ""
914
+ ]
915
+ },
916
+ {
917
+ "name": "doc-comment",
918
+ "arguments": [
919
+ " * Reads: `1`"
920
+ ]
921
+ },
922
+ {
923
+ "name": "doc-comment",
924
+ "arguments": [
925
+ " * Write: `1`"
926
+ ]
927
+ },
928
+ {
929
+ "name": "storage",
930
+ "arguments": [
931
+ "read",
932
+ "write"
933
+ ]
934
+ }
935
+ ]
936
+ },
937
+ {
938
+ "name": "check_upgrade",
939
+ "inputs": [],
940
+ "output": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
941
+ "attributes": [
942
+ {
943
+ "name": "doc-comment",
944
+ "arguments": [
945
+ " Checks if an upgrade is available for this margin account."
946
+ ]
947
+ },
948
+ {
949
+ "name": "doc-comment",
950
+ "arguments": [
951
+ " Queries the oracle contract for any pending upgrades."
952
+ ]
953
+ },
954
+ {
955
+ "name": "doc-comment",
956
+ "arguments": [
957
+ ""
958
+ ]
959
+ },
960
+ {
961
+ "name": "doc-comment",
962
+ "arguments": [
963
+ " # Returns"
964
+ ]
965
+ },
966
+ {
967
+ "name": "doc-comment",
968
+ "arguments": [
969
+ ""
970
+ ]
971
+ },
972
+ {
973
+ "name": "doc-comment",
974
+ "arguments": [
975
+ " * `Option<ContractId>` - The new implementation contract ID if upgrade is available, None otherwise"
976
+ ]
977
+ },
978
+ {
979
+ "name": "doc-comment",
980
+ "arguments": [
981
+ ""
982
+ ]
983
+ },
984
+ {
985
+ "name": "doc-comment",
986
+ "arguments": [
987
+ " # Storage Access"
988
+ ]
989
+ },
990
+ {
991
+ "name": "doc-comment",
992
+ "arguments": [
993
+ ""
994
+ ]
995
+ },
996
+ {
997
+ "name": "doc-comment",
998
+ "arguments": [
999
+ " - Reads: Oracle contract ID from configurables"
1000
+ ]
1001
+ },
1002
+ {
1003
+ "name": "doc-comment",
1004
+ "arguments": [
1005
+ ""
1006
+ ]
1007
+ },
1008
+ {
1009
+ "name": "doc-comment",
1010
+ "arguments": [
1011
+ " # External Calls"
1012
+ ]
1013
+ },
1014
+ {
1015
+ "name": "doc-comment",
1016
+ "arguments": [
1017
+ ""
1018
+ ]
1019
+ },
1020
+ {
1021
+ "name": "doc-comment",
1022
+ "arguments": [
1023
+ " - Calls the oracle contract to check for upgrades"
1024
+ ]
1025
+ },
1026
+ {
1027
+ "name": "storage",
1028
+ "arguments": [
1029
+ "read"
1030
+ ]
1031
+ }
1032
+ ]
1033
+ },
1034
+ {
1035
+ "name": "initialize",
1036
+ "inputs": [],
1037
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1038
+ "attributes": [
1039
+ {
1040
+ "name": "doc-comment",
1041
+ "arguments": [
1042
+ " Initializes the proxy contract."
1043
+ ]
1044
+ },
1045
+ {
1046
+ "name": "doc-comment",
1047
+ "arguments": [
1048
+ ""
1049
+ ]
1050
+ },
1051
+ {
1052
+ "name": "doc-comment",
1053
+ "arguments": [
1054
+ " # Additional Information"
1055
+ ]
1056
+ },
1057
+ {
1058
+ "name": "doc-comment",
1059
+ "arguments": [
1060
+ ""
1061
+ ]
1062
+ },
1063
+ {
1064
+ "name": "doc-comment",
1065
+ "arguments": [
1066
+ " This method sets the storage values using the values of the configurable constants `INITIAL_TARGET` and `INITIAL_OWNER`."
1067
+ ]
1068
+ },
1069
+ {
1070
+ "name": "doc-comment",
1071
+ "arguments": [
1072
+ " This then allows methods that write to storage to be called."
1073
+ ]
1074
+ },
1075
+ {
1076
+ "name": "doc-comment",
1077
+ "arguments": [
1078
+ " This method can only be called once."
1079
+ ]
1080
+ },
1081
+ {
1082
+ "name": "doc-comment",
1083
+ "arguments": [
1084
+ ""
1085
+ ]
1086
+ },
1087
+ {
1088
+ "name": "doc-comment",
1089
+ "arguments": [
1090
+ " # Reverts"
1091
+ ]
1092
+ },
1093
+ {
1094
+ "name": "doc-comment",
1095
+ "arguments": [
1096
+ ""
1097
+ ]
1098
+ },
1099
+ {
1100
+ "name": "doc-comment",
1101
+ "arguments": [
1102
+ " * When `storage::SRC14.proxy_owner` is not [State::Uninitialized]."
1103
+ ]
1104
+ },
1105
+ {
1106
+ "name": "doc-comment",
1107
+ "arguments": [
1108
+ ""
1109
+ ]
1110
+ },
1111
+ {
1112
+ "name": "doc-comment",
1113
+ "arguments": [
1114
+ " # Number of Storage Accesses"
1115
+ ]
1116
+ },
1117
+ {
1118
+ "name": "doc-comment",
1119
+ "arguments": [
1120
+ ""
1121
+ ]
1122
+ },
1123
+ {
1124
+ "name": "doc-comment",
1125
+ "arguments": [
1126
+ " * Writes: `2`"
1127
+ ]
1128
+ },
1129
+ {
1130
+ "name": "storage",
1131
+ "arguments": [
1132
+ "write"
1133
+ ]
1134
+ }
1135
+ ]
1136
+ },
1137
+ {
1138
+ "name": "set_proxy_target_with_signature",
1139
+ "inputs": [
1140
+ {
1141
+ "name": "signature",
1142
+ "concreteTypeId": "8c8a9aeea8dc1a1ac1f1fe31c77823653152feda3fa93cd494eedbf84395ca40"
1143
+ }
1144
+ ],
1145
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1146
+ "attributes": [
1147
+ {
1148
+ "name": "doc-comment",
1149
+ "arguments": [
1150
+ " Change the target contract of the proxy contract."
1151
+ ]
1152
+ },
1153
+ {
1154
+ "name": "doc-comment",
1155
+ "arguments": [
1156
+ ""
1157
+ ]
1158
+ },
1159
+ {
1160
+ "name": "doc-comment",
1161
+ "arguments": [
1162
+ " # Additional Information"
1163
+ ]
1164
+ },
1165
+ {
1166
+ "name": "doc-comment",
1167
+ "arguments": [
1168
+ ""
1169
+ ]
1170
+ },
1171
+ {
1172
+ "name": "doc-comment",
1173
+ "arguments": [
1174
+ " This method can only be called by the `proxy_owner`."
1175
+ ]
1176
+ },
1177
+ {
1178
+ "name": "doc-comment",
1179
+ "arguments": [
1180
+ ""
1181
+ ]
1182
+ },
1183
+ {
1184
+ "name": "doc-comment",
1185
+ "arguments": [
1186
+ " # Arguments"
1187
+ ]
1188
+ },
1189
+ {
1190
+ "name": "doc-comment",
1191
+ "arguments": [
1192
+ ""
1193
+ ]
1194
+ },
1195
+ {
1196
+ "name": "doc-comment",
1197
+ "arguments": [
1198
+ " * `new_target`: [ContractId] - The new proxy contract to which all fallback calls will be passed."
1199
+ ]
1200
+ },
1201
+ {
1202
+ "name": "doc-comment",
1203
+ "arguments": [
1204
+ ""
1205
+ ]
1206
+ },
1207
+ {
1208
+ "name": "doc-comment",
1209
+ "arguments": [
1210
+ " # Reverts"
1211
+ ]
1212
+ },
1213
+ {
1214
+ "name": "doc-comment",
1215
+ "arguments": [
1216
+ ""
1217
+ ]
1218
+ },
1219
+ {
1220
+ "name": "doc-comment",
1221
+ "arguments": [
1222
+ " * When not called by `proxy_owner`."
1223
+ ]
1224
+ },
1225
+ {
1226
+ "name": "doc-comment",
1227
+ "arguments": [
1228
+ ""
1229
+ ]
1230
+ },
1231
+ {
1232
+ "name": "doc-comment",
1233
+ "arguments": [
1234
+ " # Number of Storage Accesses"
1235
+ ]
1236
+ },
1237
+ {
1238
+ "name": "doc-comment",
1239
+ "arguments": [
1240
+ ""
1241
+ ]
1242
+ },
1243
+ {
1244
+ "name": "doc-comment",
1245
+ "arguments": [
1246
+ " * Reads: `1`"
1247
+ ]
1248
+ },
1249
+ {
1250
+ "name": "doc-comment",
1251
+ "arguments": [
1252
+ " * Write: `1`"
1253
+ ]
1254
+ },
1255
+ {
1256
+ "name": "storage",
1257
+ "arguments": [
1258
+ "read",
1259
+ "write"
1260
+ ]
1261
+ }
1262
+ ]
1263
+ },
1264
+ {
1265
+ "name": "typed_set_proxy_target_with_signature",
1266
+ "inputs": [
1267
+ {
1268
+ "name": "signature",
1269
+ "concreteTypeId": "8c8a9aeea8dc1a1ac1f1fe31c77823653152feda3fa93cd494eedbf84395ca40"
1270
+ },
1271
+ {
1272
+ "name": "proxy_target_args",
1273
+ "concreteTypeId": "654c5f815313cff0f986e7649de9337da139ac6ba80d1b2b22f67bb30061d3f1"
1274
+ }
1275
+ ],
1276
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1277
+ "attributes": [
1278
+ {
1279
+ "name": "storage",
1280
+ "arguments": [
1281
+ "read",
1282
+ "write"
1283
+ ]
1284
+ }
1285
+ ]
1286
+ },
1287
+ {
1288
+ "name": "domain_separator",
1289
+ "inputs": [
1290
+ {
1291
+ "name": "encoding",
1292
+ "concreteTypeId": "5eb19a24b67b9922247392ca34ef7e4726b323401f4d6b3f65d4a8f382632a07"
1293
+ }
1294
+ ],
1295
+ "output": "5f05ed49298866d467640c48af64b5e978f95a74358b7050b09adfa77ea558b2",
1296
+ "attributes": null
1297
+ },
1298
+ {
1299
+ "name": "domain_separator_hash",
1300
+ "inputs": [
1301
+ {
1302
+ "name": "encoding",
1303
+ "concreteTypeId": "5eb19a24b67b9922247392ca34ef7e4726b323401f4d6b3f65d4a8f382632a07"
1304
+ }
1305
+ ],
1306
+ "output": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
1307
+ "attributes": null
1308
+ },
1309
+ {
1310
+ "name": "set_proxy_target_args_type_hash",
1311
+ "inputs": [
1312
+ {
1313
+ "name": "encoding",
1314
+ "concreteTypeId": "5eb19a24b67b9922247392ca34ef7e4726b323401f4d6b3f65d4a8f382632a07"
1315
+ }
1316
+ ],
1317
+ "output": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
1318
+ "attributes": null
1319
+ }
1320
+ ],
1321
+ "loggedTypes": [
1322
+ {
1323
+ "logId": "12825652816513834595",
1324
+ "concreteTypeId": "b1fddf488ccb9e63d11888b2750bbd1280a1ae1c49f2d6637fd4cf1e930d1468"
1325
+ },
1326
+ {
1327
+ "logId": "10098701174489624218",
1328
+ "concreteTypeId": "8c25cb3686462e9a86d2883c5688a22fe738b0bbc85f458d2d2b5f3f667c6d5a"
1329
+ },
1330
+ {
1331
+ "logId": "1894389395588545366",
1332
+ "concreteTypeId": "1a4a391e4e527b56f6e488bce418bfd7ff45c5ee2956b4891af265057da0ae69"
1333
+ },
1334
+ {
1335
+ "logId": "17376141311665587813",
1336
+ "concreteTypeId": "f1247475d0d1466599267010f088190f8664dd31663a40c5d5e525d8e64b995d"
1337
+ },
1338
+ {
1339
+ "logId": "5177317175553620777",
1340
+ "concreteTypeId": "47d9868a6266fb294f68de9d33690c9e627c37425d784cc82b7a7b7e5635b779"
1341
+ },
1342
+ {
1343
+ "logId": "2261086600904378517",
1344
+ "concreteTypeId": "1f60fe48a54d08956985da0422f2d7d44834b7c4d4687f0376f26dce46fe44bf"
1345
+ },
1346
+ {
1347
+ "logId": "17909535172322737929",
1348
+ "concreteTypeId": "f88b7359b6a93f09790d042f771eb46a798919cde0d85a95d291dae15d746312"
1349
+ },
1350
+ {
1351
+ "logId": "11035215306127844569",
1352
+ "concreteTypeId": "9924f5da95b424d9efb5403e33f96557a6fa8e766014c055159e9c3bd457ca83"
1353
+ },
1354
+ {
1355
+ "logId": "14509209538366790003",
1356
+ "concreteTypeId": "c95b1133ba0fd973819faa015c9a3bf27edbbef753c977f859ba593b89ae22e5"
1357
+ },
1358
+ {
1359
+ "logId": "821289540733930261",
1360
+ "concreteTypeId": "0b65ce7c65308b155a42d67dba9a8f5ec826782ec477a1970fe592016e92d527"
1361
+ }
1362
+ ],
1363
+ "messagesTypes": [],
1364
+ "configurables": [
1365
+ {
1366
+ "name": "ORACLE_CONTRACT_ID",
1367
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54",
1368
+ "offset": 38552,
1369
+ "indirect": false
1370
+ },
1371
+ {
1372
+ "name": "INITIAL_OWNER",
1373
+ "concreteTypeId": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
1374
+ "offset": 38504,
1375
+ "indirect": false
1376
+ },
1377
+ {
1378
+ "name": "DOMAIN",
1379
+ "concreteTypeId": "58917167d101d95177bf16f9bb6db90f521ee1af6337127222eda49f2066c4bb",
1380
+ "offset": 38480,
1381
+ "indirect": false
1382
+ },
1383
+ {
1384
+ "name": "VERSION",
1385
+ "concreteTypeId": "6354581bfa62ac188c9f243cc30e1bf38a150773f871be8765351ef8c5db6c1e",
1386
+ "offset": 38584,
1387
+ "indirect": false
1388
+ }
1389
+ ],
1390
+ "errorCodes": {},
1391
+ "panickingCalls": {}
1392
+ };
1393
+ const storageSlots = [
1394
+ {
1395
+ "key": "7bb458adc1d118713319a5baa00a2d049dd64d2916477d2688d76970c898cd55",
1396
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
1397
+ },
1398
+ {
1399
+ "key": "7bb458adc1d118713319a5baa00a2d049dd64d2916477d2688d76970c898cd56",
1400
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
1401
+ },
1402
+ {
1403
+ "key": "bb79927b15d9259ea316f2ecb2297d6cc8851888a98278c0a2e03e1a091ea754",
1404
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
1405
+ },
1406
+ {
1407
+ "key": "bb79927b15d9259ea316f2ecb2297d6cc8851888a98278c0a2e03e1a091ea755",
1408
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
1409
+ }
1410
+ ];
1411
+ export class MarginAccountProxyInterface extends Interface {
1412
+ constructor() {
1413
+ super(abi);
1414
+ }
1415
+ }
1416
+ export class MarginAccountProxy extends __Contract {
1417
+ static abi = abi;
1418
+ static storageSlots = storageSlots;
1419
+ constructor(id, accountOrProvider) {
1420
+ super(id, abi, accountOrProvider);
1421
+ }
1422
+ }
1423
+ //# sourceMappingURL=MarginAccountProxy.js.map