@o2exchange/contracts 0.0.1 → 0.1.8

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