@o2exchange/contracts 0.0.1 → 0.0.2

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 (126) hide show
  1. package/README.md +4 -39
  2. package/dist/contracts/LargeContract.d.ts +136 -0
  3. package/dist/contracts/LargeContract.d.ts.map +1 -0
  4. package/dist/contracts/LargeContract.js +366 -0
  5. package/dist/contracts/LargeContract.js.map +1 -0
  6. package/dist/contracts/LargeContractFactory.d.ts +9 -0
  7. package/dist/contracts/LargeContractFactory.d.ts.map +1 -0
  8. package/dist/contracts/LargeContractFactory.js +23 -0
  9. package/dist/contracts/LargeContractFactory.js.map +1 -0
  10. package/dist/contracts/MaxHeapTest.d.ts +78 -0
  11. package/dist/contracts/MaxHeapTest.d.ts.map +1 -0
  12. package/dist/contracts/MaxHeapTest.js +176 -0
  13. package/dist/contracts/MaxHeapTest.js.map +1 -0
  14. package/dist/contracts/MaxHeapTestFactory.d.ts +9 -0
  15. package/dist/contracts/MaxHeapTestFactory.d.ts.map +1 -0
  16. package/dist/contracts/MaxHeapTestFactory.js +23 -0
  17. package/dist/contracts/MaxHeapTestFactory.js.map +1 -0
  18. package/dist/contracts/MinHeapTest.d.ts +78 -0
  19. package/dist/contracts/MinHeapTest.d.ts.map +1 -0
  20. package/dist/contracts/MinHeapTest.js +172 -0
  21. package/dist/contracts/MinHeapTest.js.map +1 -0
  22. package/dist/contracts/MinHeapTestFactory.d.ts +9 -0
  23. package/dist/contracts/MinHeapTestFactory.d.ts.map +1 -0
  24. package/dist/contracts/MinHeapTestFactory.js +23 -0
  25. package/dist/contracts/MinHeapTestFactory.js.map +1 -0
  26. package/dist/contracts/OrderBook.d.ts +541 -0
  27. package/dist/contracts/OrderBook.d.ts.map +1 -0
  28. package/dist/contracts/OrderBook.js +3439 -0
  29. package/dist/contracts/OrderBook.js.map +1 -0
  30. package/dist/contracts/OrderBookBlacklist.d.ts +155 -0
  31. package/dist/contracts/OrderBookBlacklist.d.ts.map +1 -0
  32. package/dist/contracts/OrderBookBlacklist.js +381 -0
  33. package/dist/contracts/OrderBookBlacklist.js.map +1 -0
  34. package/dist/contracts/OrderBookBlacklistFactory.d.ts +9 -0
  35. package/dist/contracts/OrderBookBlacklistFactory.d.ts.map +1 -0
  36. package/dist/contracts/OrderBookBlacklistFactory.js +23 -0
  37. package/dist/contracts/OrderBookBlacklistFactory.js.map +1 -0
  38. package/dist/contracts/OrderBookFactory.d.ts +9 -0
  39. package/dist/contracts/OrderBookFactory.d.ts.map +1 -0
  40. package/dist/contracts/OrderBookFactory.js +23 -0
  41. package/dist/contracts/OrderBookFactory.js.map +1 -0
  42. package/dist/contracts/OrderBookProxy.d.ts +192 -0
  43. package/dist/contracts/OrderBookProxy.d.ts.map +1 -0
  44. package/dist/contracts/OrderBookProxy.js +852 -0
  45. package/dist/contracts/OrderBookProxy.js.map +1 -0
  46. package/dist/contracts/OrderBookProxyFactory.d.ts +9 -0
  47. package/dist/contracts/OrderBookProxyFactory.d.ts.map +1 -0
  48. package/dist/contracts/OrderBookProxyFactory.js +23 -0
  49. package/dist/contracts/OrderBookProxyFactory.js.map +1 -0
  50. package/dist/contracts/OrderBookRegistry.d.ts +237 -0
  51. package/dist/contracts/OrderBookRegistry.d.ts.map +1 -0
  52. package/dist/contracts/OrderBookRegistry.js +678 -0
  53. package/dist/contracts/OrderBookRegistry.js.map +1 -0
  54. package/dist/contracts/OrderBookRegistryFactory.d.ts +9 -0
  55. package/dist/contracts/OrderBookRegistryFactory.d.ts.map +1 -0
  56. package/dist/contracts/OrderBookRegistryFactory.js +23 -0
  57. package/dist/contracts/OrderBookRegistryFactory.js.map +1 -0
  58. package/dist/contracts/OrderBookRegistryProxy.d.ts +192 -0
  59. package/dist/contracts/OrderBookRegistryProxy.d.ts.map +1 -0
  60. package/dist/contracts/OrderBookRegistryProxy.js +852 -0
  61. package/dist/contracts/OrderBookRegistryProxy.js.map +1 -0
  62. package/dist/contracts/OrderBookRegistryProxyFactory.d.ts +9 -0
  63. package/dist/contracts/OrderBookRegistryProxyFactory.d.ts.map +1 -0
  64. package/dist/contracts/OrderBookRegistryProxyFactory.js +23 -0
  65. package/dist/contracts/OrderBookRegistryProxyFactory.js.map +1 -0
  66. package/dist/contracts/OrderBookWhitelist.d.ts +155 -0
  67. package/dist/contracts/OrderBookWhitelist.d.ts.map +1 -0
  68. package/dist/contracts/OrderBookWhitelist.js +381 -0
  69. package/dist/contracts/OrderBookWhitelist.js.map +1 -0
  70. package/dist/contracts/OrderBookWhitelistFactory.d.ts +9 -0
  71. package/dist/contracts/OrderBookWhitelistFactory.d.ts.map +1 -0
  72. package/dist/contracts/OrderBookWhitelistFactory.js +23 -0
  73. package/dist/contracts/OrderBookWhitelistFactory.js.map +1 -0
  74. package/dist/contracts/TradeAccount.d.ts +449 -0
  75. package/dist/contracts/TradeAccount.d.ts.map +1 -0
  76. package/dist/contracts/TradeAccount.js +2780 -0
  77. package/dist/contracts/TradeAccount.js.map +1 -0
  78. package/dist/contracts/TradeAccountFactory.d.ts +9 -0
  79. package/dist/contracts/TradeAccountFactory.d.ts.map +1 -0
  80. package/dist/contracts/TradeAccountFactory.js +23 -0
  81. package/dist/contracts/TradeAccountFactory.js.map +1 -0
  82. package/dist/contracts/TradeAccountOracle.d.ts +161 -0
  83. package/dist/contracts/TradeAccountOracle.d.ts.map +1 -0
  84. package/dist/contracts/TradeAccountOracle.js +1015 -0
  85. package/dist/contracts/TradeAccountOracle.js.map +1 -0
  86. package/dist/contracts/TradeAccountOracleFactory.d.ts +9 -0
  87. package/dist/contracts/TradeAccountOracleFactory.d.ts.map +1 -0
  88. package/dist/contracts/TradeAccountOracleFactory.js +23 -0
  89. package/dist/contracts/TradeAccountOracleFactory.js.map +1 -0
  90. package/dist/contracts/TradeAccountProxy.d.ts +312 -0
  91. package/dist/contracts/TradeAccountProxy.d.ts.map +1 -0
  92. package/dist/contracts/TradeAccountProxy.js +1355 -0
  93. package/dist/contracts/TradeAccountProxy.js.map +1 -0
  94. package/dist/contracts/TradeAccountProxyFactory.d.ts +9 -0
  95. package/dist/contracts/TradeAccountProxyFactory.d.ts.map +1 -0
  96. package/dist/contracts/TradeAccountProxyFactory.js +23 -0
  97. package/dist/contracts/TradeAccountProxyFactory.js.map +1 -0
  98. package/dist/contracts/TradeAccountRegistry.d.ts +271 -0
  99. package/dist/contracts/TradeAccountRegistry.d.ts.map +1 -0
  100. package/dist/contracts/TradeAccountRegistry.js +841 -0
  101. package/dist/contracts/TradeAccountRegistry.js.map +1 -0
  102. package/dist/contracts/TradeAccountRegistryFactory.d.ts +9 -0
  103. package/dist/contracts/TradeAccountRegistryFactory.d.ts.map +1 -0
  104. package/dist/contracts/TradeAccountRegistryFactory.js +23 -0
  105. package/dist/contracts/TradeAccountRegistryFactory.js.map +1 -0
  106. package/dist/contracts/TradeAccountRegistryProxy.d.ts +192 -0
  107. package/dist/contracts/TradeAccountRegistryProxy.d.ts.map +1 -0
  108. package/dist/contracts/TradeAccountRegistryProxy.js +852 -0
  109. package/dist/contracts/TradeAccountRegistryProxy.js.map +1 -0
  110. package/dist/contracts/TradeAccountRegistryProxyFactory.d.ts +9 -0
  111. package/dist/contracts/TradeAccountRegistryProxyFactory.d.ts.map +1 -0
  112. package/dist/contracts/TradeAccountRegistryProxyFactory.js +23 -0
  113. package/dist/contracts/TradeAccountRegistryProxyFactory.js.map +1 -0
  114. package/dist/contracts/common.d.ts +24 -0
  115. package/dist/contracts/common.d.ts.map +1 -0
  116. package/dist/contracts/common.js +3 -0
  117. package/dist/contracts/common.js.map +1 -0
  118. package/dist/contracts/index.d.ts +29 -0
  119. package/dist/contracts/index.d.ts.map +1 -0
  120. package/dist/contracts/index.js +38 -0
  121. package/dist/contracts/index.js.map +1 -0
  122. package/dist/index.d.ts +2 -0
  123. package/dist/index.d.ts.map +1 -0
  124. package/dist/index.js +2 -0
  125. package/dist/index.js.map +1 -0
  126. package/package.json +88 -8
@@ -0,0 +1,1355 @@
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[17]",
176
+ "concreteTypeId": "e445a4739384921af0cc8e780cbf77cf8419b4ba072c5b55f81e399993be4c9a"
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": 27
449
+ },
450
+ {
451
+ "name": "version",
452
+ "typeId": 27
453
+ },
454
+ {
455
+ "name": "chain_id",
456
+ "typeId": 30
457
+ },
458
+ {
459
+ "name": "verifying_contract",
460
+ "typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
461
+ }
462
+ ]
463
+ },
464
+ {
465
+ "type": "struct contract_schema::src16::SRC16Domain",
466
+ "metadataTypeId": 19,
467
+ "components": [
468
+ {
469
+ "name": "name",
470
+ "typeId": 27
471
+ },
472
+ {
473
+ "name": "version",
474
+ "typeId": 27
475
+ },
476
+ {
477
+ "name": "chain_id",
478
+ "typeId": 31
479
+ },
480
+ {
481
+ "name": "verifying_contract",
482
+ "typeId": 23
483
+ }
484
+ ]
485
+ },
486
+ {
487
+ "type": "struct std::address::Address",
488
+ "metadataTypeId": 20,
489
+ "components": [
490
+ {
491
+ "name": "bits",
492
+ "typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
493
+ }
494
+ ]
495
+ },
496
+ {
497
+ "type": "struct std::bytes::Bytes",
498
+ "metadataTypeId": 21,
499
+ "components": [
500
+ {
501
+ "name": "buf",
502
+ "typeId": 22
503
+ },
504
+ {
505
+ "name": "len",
506
+ "typeId": 31
507
+ }
508
+ ]
509
+ },
510
+ {
511
+ "type": "struct std::bytes::RawBytes",
512
+ "metadataTypeId": 22,
513
+ "components": [
514
+ {
515
+ "name": "ptr",
516
+ "typeId": 14
517
+ },
518
+ {
519
+ "name": "cap",
520
+ "typeId": 31
521
+ }
522
+ ]
523
+ },
524
+ {
525
+ "type": "struct std::contract_id::ContractId",
526
+ "metadataTypeId": 23,
527
+ "components": [
528
+ {
529
+ "name": "bits",
530
+ "typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
531
+ }
532
+ ]
533
+ },
534
+ {
535
+ "type": "struct std::crypto::ed25519::Ed25519",
536
+ "metadataTypeId": 24,
537
+ "components": [
538
+ {
539
+ "name": "bits",
540
+ "typeId": 0
541
+ }
542
+ ]
543
+ },
544
+ {
545
+ "type": "struct std::crypto::secp256k1::Secp256k1",
546
+ "metadataTypeId": 25,
547
+ "components": [
548
+ {
549
+ "name": "bits",
550
+ "typeId": 0
551
+ }
552
+ ]
553
+ },
554
+ {
555
+ "type": "struct std::crypto::secp256r1::Secp256r1",
556
+ "metadataTypeId": 26,
557
+ "components": [
558
+ {
559
+ "name": "bits",
560
+ "typeId": 0
561
+ }
562
+ ]
563
+ },
564
+ {
565
+ "type": "struct std::string::String",
566
+ "metadataTypeId": 27,
567
+ "components": [
568
+ {
569
+ "name": "bytes",
570
+ "typeId": 21
571
+ }
572
+ ]
573
+ },
574
+ {
575
+ "type": "struct std::time::Time",
576
+ "metadataTypeId": 28,
577
+ "components": [
578
+ {
579
+ "name": "unix",
580
+ "typeId": 31
581
+ }
582
+ ]
583
+ },
584
+ {
585
+ "type": "struct upgradability::events::ProxyTargetSet",
586
+ "metadataTypeId": 29,
587
+ "components": [
588
+ {
589
+ "name": "new_target",
590
+ "typeId": 23
591
+ }
592
+ ]
593
+ },
594
+ {
595
+ "type": "u256",
596
+ "metadataTypeId": 30
597
+ },
598
+ {
599
+ "type": "u64",
600
+ "metadataTypeId": 31
601
+ },
602
+ {
603
+ "type": "u8",
604
+ "metadataTypeId": 32
605
+ }
606
+ ],
607
+ "functions": [
608
+ {
609
+ "name": "proxy_owner",
610
+ "inputs": [],
611
+ "output": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
612
+ "attributes": [
613
+ {
614
+ "name": "doc-comment",
615
+ "arguments": [
616
+ " Returns the owner of the proxy contract."
617
+ ]
618
+ },
619
+ {
620
+ "name": "doc-comment",
621
+ "arguments": [
622
+ ""
623
+ ]
624
+ },
625
+ {
626
+ "name": "doc-comment",
627
+ "arguments": [
628
+ " # Returns"
629
+ ]
630
+ },
631
+ {
632
+ "name": "doc-comment",
633
+ "arguments": [
634
+ ""
635
+ ]
636
+ },
637
+ {
638
+ "name": "doc-comment",
639
+ "arguments": [
640
+ " * [State] - Represents the state of ownership for this contract."
641
+ ]
642
+ },
643
+ {
644
+ "name": "doc-comment",
645
+ "arguments": [
646
+ ""
647
+ ]
648
+ },
649
+ {
650
+ "name": "doc-comment",
651
+ "arguments": [
652
+ " # Number of Storage Accesses"
653
+ ]
654
+ },
655
+ {
656
+ "name": "doc-comment",
657
+ "arguments": [
658
+ ""
659
+ ]
660
+ },
661
+ {
662
+ "name": "doc-comment",
663
+ "arguments": [
664
+ " * Reads: `1`"
665
+ ]
666
+ },
667
+ {
668
+ "name": "storage",
669
+ "arguments": [
670
+ "read"
671
+ ]
672
+ }
673
+ ]
674
+ },
675
+ {
676
+ "name": "proxy_target",
677
+ "inputs": [],
678
+ "output": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
679
+ "attributes": [
680
+ {
681
+ "name": "doc-comment",
682
+ "arguments": [
683
+ " Returns the target contract of the proxy contract."
684
+ ]
685
+ },
686
+ {
687
+ "name": "doc-comment",
688
+ "arguments": [
689
+ ""
690
+ ]
691
+ },
692
+ {
693
+ "name": "doc-comment",
694
+ "arguments": [
695
+ " # Returns"
696
+ ]
697
+ },
698
+ {
699
+ "name": "doc-comment",
700
+ "arguments": [
701
+ ""
702
+ ]
703
+ },
704
+ {
705
+ "name": "doc-comment",
706
+ "arguments": [
707
+ " * [Option<ContractId>] - The new proxy contract to which all fallback calls will be passed or `None`."
708
+ ]
709
+ },
710
+ {
711
+ "name": "doc-comment",
712
+ "arguments": [
713
+ ""
714
+ ]
715
+ },
716
+ {
717
+ "name": "doc-comment",
718
+ "arguments": [
719
+ " # Number of Storage Accesses"
720
+ ]
721
+ },
722
+ {
723
+ "name": "doc-comment",
724
+ "arguments": [
725
+ ""
726
+ ]
727
+ },
728
+ {
729
+ "name": "doc-comment",
730
+ "arguments": [
731
+ " * Reads: `1`"
732
+ ]
733
+ },
734
+ {
735
+ "name": "storage",
736
+ "arguments": [
737
+ "read"
738
+ ]
739
+ }
740
+ ]
741
+ },
742
+ {
743
+ "name": "set_proxy_target",
744
+ "inputs": [
745
+ {
746
+ "name": "_new_target",
747
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
748
+ }
749
+ ],
750
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
751
+ "attributes": [
752
+ {
753
+ "name": "doc-comment",
754
+ "arguments": [
755
+ " Change the target contract of the proxy contract."
756
+ ]
757
+ },
758
+ {
759
+ "name": "doc-comment",
760
+ "arguments": [
761
+ ""
762
+ ]
763
+ },
764
+ {
765
+ "name": "doc-comment",
766
+ "arguments": [
767
+ " # Additional Information"
768
+ ]
769
+ },
770
+ {
771
+ "name": "doc-comment",
772
+ "arguments": [
773
+ ""
774
+ ]
775
+ },
776
+ {
777
+ "name": "doc-comment",
778
+ "arguments": [
779
+ " This method can only be called by the `proxy_owner`."
780
+ ]
781
+ },
782
+ {
783
+ "name": "doc-comment",
784
+ "arguments": [
785
+ ""
786
+ ]
787
+ },
788
+ {
789
+ "name": "doc-comment",
790
+ "arguments": [
791
+ " # Arguments"
792
+ ]
793
+ },
794
+ {
795
+ "name": "doc-comment",
796
+ "arguments": [
797
+ ""
798
+ ]
799
+ },
800
+ {
801
+ "name": "doc-comment",
802
+ "arguments": [
803
+ " * `new_target`: [ContractId] - The new proxy contract to which all fallback calls will be passed."
804
+ ]
805
+ },
806
+ {
807
+ "name": "doc-comment",
808
+ "arguments": [
809
+ ""
810
+ ]
811
+ },
812
+ {
813
+ "name": "doc-comment",
814
+ "arguments": [
815
+ " # Reverts"
816
+ ]
817
+ },
818
+ {
819
+ "name": "doc-comment",
820
+ "arguments": [
821
+ ""
822
+ ]
823
+ },
824
+ {
825
+ "name": "doc-comment",
826
+ "arguments": [
827
+ " * When not called by `proxy_owner`."
828
+ ]
829
+ },
830
+ {
831
+ "name": "doc-comment",
832
+ "arguments": [
833
+ ""
834
+ ]
835
+ },
836
+ {
837
+ "name": "doc-comment",
838
+ "arguments": [
839
+ " # Number of Storage Accesses"
840
+ ]
841
+ },
842
+ {
843
+ "name": "doc-comment",
844
+ "arguments": [
845
+ ""
846
+ ]
847
+ },
848
+ {
849
+ "name": "doc-comment",
850
+ "arguments": [
851
+ " * Reads: `1`"
852
+ ]
853
+ },
854
+ {
855
+ "name": "doc-comment",
856
+ "arguments": [
857
+ " * Write: `1`"
858
+ ]
859
+ },
860
+ {
861
+ "name": "storage",
862
+ "arguments": [
863
+ "read",
864
+ "write"
865
+ ]
866
+ }
867
+ ]
868
+ },
869
+ {
870
+ "name": "check_upgrade",
871
+ "inputs": [],
872
+ "output": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
873
+ "attributes": [
874
+ {
875
+ "name": "doc-comment",
876
+ "arguments": [
877
+ " Checks if an upgrade is available for this trading account."
878
+ ]
879
+ },
880
+ {
881
+ "name": "doc-comment",
882
+ "arguments": [
883
+ " Queries the oracle contract for any pending upgrades."
884
+ ]
885
+ },
886
+ {
887
+ "name": "doc-comment",
888
+ "arguments": [
889
+ ""
890
+ ]
891
+ },
892
+ {
893
+ "name": "doc-comment",
894
+ "arguments": [
895
+ " # Returns"
896
+ ]
897
+ },
898
+ {
899
+ "name": "doc-comment",
900
+ "arguments": [
901
+ ""
902
+ ]
903
+ },
904
+ {
905
+ "name": "doc-comment",
906
+ "arguments": [
907
+ " * `Option<ContractId>` - The new implementation contract ID if upgrade is available, None otherwise"
908
+ ]
909
+ },
910
+ {
911
+ "name": "doc-comment",
912
+ "arguments": [
913
+ ""
914
+ ]
915
+ },
916
+ {
917
+ "name": "doc-comment",
918
+ "arguments": [
919
+ " # Storage Access"
920
+ ]
921
+ },
922
+ {
923
+ "name": "doc-comment",
924
+ "arguments": [
925
+ ""
926
+ ]
927
+ },
928
+ {
929
+ "name": "doc-comment",
930
+ "arguments": [
931
+ " - Reads: Oracle contract ID from configurables"
932
+ ]
933
+ },
934
+ {
935
+ "name": "doc-comment",
936
+ "arguments": [
937
+ ""
938
+ ]
939
+ },
940
+ {
941
+ "name": "doc-comment",
942
+ "arguments": [
943
+ " # External Calls"
944
+ ]
945
+ },
946
+ {
947
+ "name": "doc-comment",
948
+ "arguments": [
949
+ ""
950
+ ]
951
+ },
952
+ {
953
+ "name": "doc-comment",
954
+ "arguments": [
955
+ " - Calls the oracle contract to check for upgrades"
956
+ ]
957
+ },
958
+ {
959
+ "name": "storage",
960
+ "arguments": [
961
+ "read"
962
+ ]
963
+ }
964
+ ]
965
+ },
966
+ {
967
+ "name": "initialize",
968
+ "inputs": [],
969
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
970
+ "attributes": [
971
+ {
972
+ "name": "doc-comment",
973
+ "arguments": [
974
+ " Initializes the proxy contract."
975
+ ]
976
+ },
977
+ {
978
+ "name": "doc-comment",
979
+ "arguments": [
980
+ ""
981
+ ]
982
+ },
983
+ {
984
+ "name": "doc-comment",
985
+ "arguments": [
986
+ " # Additional Information"
987
+ ]
988
+ },
989
+ {
990
+ "name": "doc-comment",
991
+ "arguments": [
992
+ ""
993
+ ]
994
+ },
995
+ {
996
+ "name": "doc-comment",
997
+ "arguments": [
998
+ " This method sets the storage values using the values of the configurable constants `INITIAL_TARGET` and `INITIAL_OWNER`."
999
+ ]
1000
+ },
1001
+ {
1002
+ "name": "doc-comment",
1003
+ "arguments": [
1004
+ " This then allows methods that write to storage to be called."
1005
+ ]
1006
+ },
1007
+ {
1008
+ "name": "doc-comment",
1009
+ "arguments": [
1010
+ " This method can only be called once."
1011
+ ]
1012
+ },
1013
+ {
1014
+ "name": "doc-comment",
1015
+ "arguments": [
1016
+ ""
1017
+ ]
1018
+ },
1019
+ {
1020
+ "name": "doc-comment",
1021
+ "arguments": [
1022
+ " # Reverts"
1023
+ ]
1024
+ },
1025
+ {
1026
+ "name": "doc-comment",
1027
+ "arguments": [
1028
+ ""
1029
+ ]
1030
+ },
1031
+ {
1032
+ "name": "doc-comment",
1033
+ "arguments": [
1034
+ " * When `storage::SRC14.proxy_owner` is not [State::Uninitialized]."
1035
+ ]
1036
+ },
1037
+ {
1038
+ "name": "doc-comment",
1039
+ "arguments": [
1040
+ ""
1041
+ ]
1042
+ },
1043
+ {
1044
+ "name": "doc-comment",
1045
+ "arguments": [
1046
+ " # Number of Storage Accesses"
1047
+ ]
1048
+ },
1049
+ {
1050
+ "name": "doc-comment",
1051
+ "arguments": [
1052
+ ""
1053
+ ]
1054
+ },
1055
+ {
1056
+ "name": "doc-comment",
1057
+ "arguments": [
1058
+ " * Writes: `2`"
1059
+ ]
1060
+ },
1061
+ {
1062
+ "name": "storage",
1063
+ "arguments": [
1064
+ "write"
1065
+ ]
1066
+ }
1067
+ ]
1068
+ },
1069
+ {
1070
+ "name": "set_proxy_target_with_signature",
1071
+ "inputs": [
1072
+ {
1073
+ "name": "signature",
1074
+ "concreteTypeId": "8c8a9aeea8dc1a1ac1f1fe31c77823653152feda3fa93cd494eedbf84395ca40"
1075
+ }
1076
+ ],
1077
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1078
+ "attributes": [
1079
+ {
1080
+ "name": "doc-comment",
1081
+ "arguments": [
1082
+ " Change the target contract of the proxy contract."
1083
+ ]
1084
+ },
1085
+ {
1086
+ "name": "doc-comment",
1087
+ "arguments": [
1088
+ ""
1089
+ ]
1090
+ },
1091
+ {
1092
+ "name": "doc-comment",
1093
+ "arguments": [
1094
+ " # Additional Information"
1095
+ ]
1096
+ },
1097
+ {
1098
+ "name": "doc-comment",
1099
+ "arguments": [
1100
+ ""
1101
+ ]
1102
+ },
1103
+ {
1104
+ "name": "doc-comment",
1105
+ "arguments": [
1106
+ " This method can only be called by the `proxy_owner`."
1107
+ ]
1108
+ },
1109
+ {
1110
+ "name": "doc-comment",
1111
+ "arguments": [
1112
+ ""
1113
+ ]
1114
+ },
1115
+ {
1116
+ "name": "doc-comment",
1117
+ "arguments": [
1118
+ " # Arguments"
1119
+ ]
1120
+ },
1121
+ {
1122
+ "name": "doc-comment",
1123
+ "arguments": [
1124
+ ""
1125
+ ]
1126
+ },
1127
+ {
1128
+ "name": "doc-comment",
1129
+ "arguments": [
1130
+ " * `new_target`: [ContractId] - The new proxy contract to which all fallback calls will be passed."
1131
+ ]
1132
+ },
1133
+ {
1134
+ "name": "doc-comment",
1135
+ "arguments": [
1136
+ ""
1137
+ ]
1138
+ },
1139
+ {
1140
+ "name": "doc-comment",
1141
+ "arguments": [
1142
+ " # Reverts"
1143
+ ]
1144
+ },
1145
+ {
1146
+ "name": "doc-comment",
1147
+ "arguments": [
1148
+ ""
1149
+ ]
1150
+ },
1151
+ {
1152
+ "name": "doc-comment",
1153
+ "arguments": [
1154
+ " * When not called by `proxy_owner`."
1155
+ ]
1156
+ },
1157
+ {
1158
+ "name": "doc-comment",
1159
+ "arguments": [
1160
+ ""
1161
+ ]
1162
+ },
1163
+ {
1164
+ "name": "doc-comment",
1165
+ "arguments": [
1166
+ " # Number of Storage Accesses"
1167
+ ]
1168
+ },
1169
+ {
1170
+ "name": "doc-comment",
1171
+ "arguments": [
1172
+ ""
1173
+ ]
1174
+ },
1175
+ {
1176
+ "name": "doc-comment",
1177
+ "arguments": [
1178
+ " * Reads: `1`"
1179
+ ]
1180
+ },
1181
+ {
1182
+ "name": "doc-comment",
1183
+ "arguments": [
1184
+ " * Write: `1`"
1185
+ ]
1186
+ },
1187
+ {
1188
+ "name": "storage",
1189
+ "arguments": [
1190
+ "read",
1191
+ "write"
1192
+ ]
1193
+ }
1194
+ ]
1195
+ },
1196
+ {
1197
+ "name": "typed_set_proxy_target_with_signature",
1198
+ "inputs": [
1199
+ {
1200
+ "name": "signature",
1201
+ "concreteTypeId": "8c8a9aeea8dc1a1ac1f1fe31c77823653152feda3fa93cd494eedbf84395ca40"
1202
+ },
1203
+ {
1204
+ "name": "proxy_target_args",
1205
+ "concreteTypeId": "654c5f815313cff0f986e7649de9337da139ac6ba80d1b2b22f67bb30061d3f1"
1206
+ }
1207
+ ],
1208
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1209
+ "attributes": [
1210
+ {
1211
+ "name": "storage",
1212
+ "arguments": [
1213
+ "read",
1214
+ "write"
1215
+ ]
1216
+ }
1217
+ ]
1218
+ },
1219
+ {
1220
+ "name": "domain_separator",
1221
+ "inputs": [
1222
+ {
1223
+ "name": "encoding",
1224
+ "concreteTypeId": "5eb19a24b67b9922247392ca34ef7e4726b323401f4d6b3f65d4a8f382632a07"
1225
+ }
1226
+ ],
1227
+ "output": "5f05ed49298866d467640c48af64b5e978f95a74358b7050b09adfa77ea558b2",
1228
+ "attributes": null
1229
+ },
1230
+ {
1231
+ "name": "domain_separator_hash",
1232
+ "inputs": [
1233
+ {
1234
+ "name": "encoding",
1235
+ "concreteTypeId": "5eb19a24b67b9922247392ca34ef7e4726b323401f4d6b3f65d4a8f382632a07"
1236
+ }
1237
+ ],
1238
+ "output": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
1239
+ "attributes": null
1240
+ },
1241
+ {
1242
+ "name": "set_proxy_target_args_type_hash",
1243
+ "inputs": [
1244
+ {
1245
+ "name": "encoding",
1246
+ "concreteTypeId": "5eb19a24b67b9922247392ca34ef7e4726b323401f4d6b3f65d4a8f382632a07"
1247
+ }
1248
+ ],
1249
+ "output": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
1250
+ "attributes": null
1251
+ }
1252
+ ],
1253
+ "loggedTypes": [
1254
+ {
1255
+ "logId": "12825652816513834595",
1256
+ "concreteTypeId": "b1fddf488ccb9e63d11888b2750bbd1280a1ae1c49f2d6637fd4cf1e930d1468"
1257
+ },
1258
+ {
1259
+ "logId": "10098701174489624218",
1260
+ "concreteTypeId": "8c25cb3686462e9a86d2883c5688a22fe738b0bbc85f458d2d2b5f3f667c6d5a"
1261
+ },
1262
+ {
1263
+ "logId": "1894389395588545366",
1264
+ "concreteTypeId": "1a4a391e4e527b56f6e488bce418bfd7ff45c5ee2956b4891af265057da0ae69"
1265
+ },
1266
+ {
1267
+ "logId": "17376141311665587813",
1268
+ "concreteTypeId": "f1247475d0d1466599267010f088190f8664dd31663a40c5d5e525d8e64b995d"
1269
+ },
1270
+ {
1271
+ "logId": "5177317175553620777",
1272
+ "concreteTypeId": "47d9868a6266fb294f68de9d33690c9e627c37425d784cc82b7a7b7e5635b779"
1273
+ },
1274
+ {
1275
+ "logId": "2261086600904378517",
1276
+ "concreteTypeId": "1f60fe48a54d08956985da0422f2d7d44834b7c4d4687f0376f26dce46fe44bf"
1277
+ },
1278
+ {
1279
+ "logId": "17909535172322737929",
1280
+ "concreteTypeId": "f88b7359b6a93f09790d042f771eb46a798919cde0d85a95d291dae15d746312"
1281
+ },
1282
+ {
1283
+ "logId": "11035215306127844569",
1284
+ "concreteTypeId": "9924f5da95b424d9efb5403e33f96557a6fa8e766014c055159e9c3bd457ca83"
1285
+ },
1286
+ {
1287
+ "logId": "14509209538366790003",
1288
+ "concreteTypeId": "c95b1133ba0fd973819faa015c9a3bf27edbbef753c977f859ba593b89ae22e5"
1289
+ },
1290
+ {
1291
+ "logId": "821289540733930261",
1292
+ "concreteTypeId": "0b65ce7c65308b155a42d67dba9a8f5ec826782ec477a1970fe592016e92d527"
1293
+ }
1294
+ ],
1295
+ "messagesTypes": [],
1296
+ "configurables": [
1297
+ {
1298
+ "name": "ORACLE_CONTRACT_ID",
1299
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54",
1300
+ "offset": 31920,
1301
+ "indirect": false
1302
+ },
1303
+ {
1304
+ "name": "INITIAL_OWNER",
1305
+ "concreteTypeId": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
1306
+ "offset": 31872,
1307
+ "indirect": false
1308
+ },
1309
+ {
1310
+ "name": "DOMAIN",
1311
+ "concreteTypeId": "e445a4739384921af0cc8e780cbf77cf8419b4ba072c5b55f81e399993be4c9a",
1312
+ "offset": 31848,
1313
+ "indirect": false
1314
+ },
1315
+ {
1316
+ "name": "VERSION",
1317
+ "concreteTypeId": "6354581bfa62ac188c9f243cc30e1bf38a150773f871be8765351ef8c5db6c1e",
1318
+ "offset": 31952,
1319
+ "indirect": false
1320
+ }
1321
+ ],
1322
+ "errorCodes": {},
1323
+ "panickingCalls": {}
1324
+ };
1325
+ const storageSlots = [
1326
+ {
1327
+ "key": "7bb458adc1d118713319a5baa00a2d049dd64d2916477d2688d76970c898cd55",
1328
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
1329
+ },
1330
+ {
1331
+ "key": "7bb458adc1d118713319a5baa00a2d049dd64d2916477d2688d76970c898cd56",
1332
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
1333
+ },
1334
+ {
1335
+ "key": "bb79927b15d9259ea316f2ecb2297d6cc8851888a98278c0a2e03e1a091ea754",
1336
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
1337
+ },
1338
+ {
1339
+ "key": "bb79927b15d9259ea316f2ecb2297d6cc8851888a98278c0a2e03e1a091ea755",
1340
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
1341
+ }
1342
+ ];
1343
+ export class TradeAccountProxyInterface extends Interface {
1344
+ constructor() {
1345
+ super(abi);
1346
+ }
1347
+ }
1348
+ export class TradeAccountProxy extends __Contract {
1349
+ static abi = abi;
1350
+ static storageSlots = storageSlots;
1351
+ constructor(id, accountOrProvider) {
1352
+ super(id, abi, accountOrProvider);
1353
+ }
1354
+ }
1355
+ //# sourceMappingURL=TradeAccountProxy.js.map