@o2exchange/contracts 0.3.9 → 0.3.11-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/contracts/PriceFeed.d.ts +347 -0
  2. package/dist/contracts/PriceFeed.d.ts.map +1 -0
  3. package/dist/contracts/PriceFeed.js +2207 -0
  4. package/dist/contracts/PriceFeed.js.map +1 -0
  5. package/dist/contracts/PriceFeedFactory.d.ts +9 -0
  6. package/dist/contracts/PriceFeedFactory.d.ts.map +1 -0
  7. package/dist/contracts/PriceFeedFactory.js +23 -0
  8. package/dist/contracts/PriceFeedFactory.js.map +1 -0
  9. package/dist/contracts/PriceFeedProxy.d.ts +192 -0
  10. package/dist/contracts/PriceFeedProxy.d.ts.map +1 -0
  11. package/dist/contracts/PriceFeedProxy.js +852 -0
  12. package/dist/contracts/PriceFeedProxy.js.map +1 -0
  13. package/dist/contracts/PriceFeedProxyFactory.d.ts +9 -0
  14. package/dist/contracts/PriceFeedProxyFactory.d.ts.map +1 -0
  15. package/dist/contracts/PriceFeedProxyFactory.js +23 -0
  16. package/dist/contracts/PriceFeedProxyFactory.js.map +1 -0
  17. package/dist/contracts/TrialTradeAccount.d.ts +30 -2
  18. package/dist/contracts/TrialTradeAccount.d.ts.map +1 -1
  19. package/dist/contracts/TrialTradeAccount.js +138 -51
  20. package/dist/contracts/TrialTradeAccount.js.map +1 -1
  21. package/dist/contracts/TrialTradeAccountFactory.js +1 -1
  22. package/dist/contracts/TrialTradeAccountFactory.js.map +1 -1
  23. package/dist/contracts/TrialTradeAccountProxy.d.ts +4 -2
  24. package/dist/contracts/TrialTradeAccountProxy.d.ts.map +1 -1
  25. package/dist/contracts/TrialTradeAccountProxy.js +9 -3
  26. package/dist/contracts/TrialTradeAccountProxy.js.map +1 -1
  27. package/dist/contracts/TrialTradeAccountProxyFactory.js +1 -1
  28. package/dist/contracts/TrialTradeAccountProxyFactory.js.map +1 -1
  29. package/dist/contracts/index.d.ts +12 -8
  30. package/dist/contracts/index.d.ts.map +1 -1
  31. package/dist/contracts/index.js +12 -8
  32. package/dist/contracts/index.js.map +1 -1
  33. package/package.json +9 -1
@@ -0,0 +1,2207 @@
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.48.0
9
+ */
10
+ import { Contract as __Contract, Interface } from "fuels";
11
+ export var AccessErrorInput;
12
+ (function (AccessErrorInput) {
13
+ AccessErrorInput["NotOwner"] = "NotOwner";
14
+ })(AccessErrorInput || (AccessErrorInput = {}));
15
+ ;
16
+ export var AccessErrorOutput;
17
+ (function (AccessErrorOutput) {
18
+ AccessErrorOutput["NotOwner"] = "NotOwner";
19
+ })(AccessErrorOutput || (AccessErrorOutput = {}));
20
+ ;
21
+ export var InitializationErrorInput;
22
+ (function (InitializationErrorInput) {
23
+ InitializationErrorInput["CannotReinitialized"] = "CannotReinitialized";
24
+ })(InitializationErrorInput || (InitializationErrorInput = {}));
25
+ ;
26
+ export var InitializationErrorOutput;
27
+ (function (InitializationErrorOutput) {
28
+ InitializationErrorOutput["CannotReinitialized"] = "CannotReinitialized";
29
+ })(InitializationErrorOutput || (InitializationErrorOutput = {}));
30
+ ;
31
+ export var OffchainPriceErrorInput;
32
+ (function (OffchainPriceErrorInput) {
33
+ OffchainPriceErrorInput["TimestampInFuture"] = "TimestampInFuture";
34
+ OffchainPriceErrorInput["TimestampTooOld"] = "TimestampTooOld";
35
+ OffchainPriceErrorInput["TimestampRegressed"] = "TimestampRegressed";
36
+ })(OffchainPriceErrorInput || (OffchainPriceErrorInput = {}));
37
+ ;
38
+ export var OffchainPriceErrorOutput;
39
+ (function (OffchainPriceErrorOutput) {
40
+ OffchainPriceErrorOutput["TimestampInFuture"] = "TimestampInFuture";
41
+ OffchainPriceErrorOutput["TimestampTooOld"] = "TimestampTooOld";
42
+ OffchainPriceErrorOutput["TimestampRegressed"] = "TimestampRegressed";
43
+ })(OffchainPriceErrorOutput || (OffchainPriceErrorOutput = {}));
44
+ ;
45
+ export var PauseErrorInput;
46
+ (function (PauseErrorInput) {
47
+ PauseErrorInput["Paused"] = "Paused";
48
+ PauseErrorInput["NotPaused"] = "NotPaused";
49
+ })(PauseErrorInput || (PauseErrorInput = {}));
50
+ ;
51
+ export var PauseErrorOutput;
52
+ (function (PauseErrorOutput) {
53
+ PauseErrorOutput["Paused"] = "Paused";
54
+ PauseErrorOutput["NotPaused"] = "NotPaused";
55
+ })(PauseErrorOutput || (PauseErrorOutput = {}));
56
+ ;
57
+ export var PriceFeedErrorInput;
58
+ (function (PriceFeedErrorInput) {
59
+ PriceFeedErrorInput["OwnerNotSet"] = "OwnerNotSet";
60
+ PriceFeedErrorInput["PriceInvalid"] = "PriceInvalid";
61
+ PriceFeedErrorInput["DecimalsNotConfigured"] = "DecimalsNotConfigured";
62
+ })(PriceFeedErrorInput || (PriceFeedErrorInput = {}));
63
+ ;
64
+ export var PriceFeedErrorOutput;
65
+ (function (PriceFeedErrorOutput) {
66
+ PriceFeedErrorOutput["OwnerNotSet"] = "OwnerNotSet";
67
+ PriceFeedErrorOutput["PriceInvalid"] = "PriceInvalid";
68
+ PriceFeedErrorOutput["DecimalsNotConfigured"] = "DecimalsNotConfigured";
69
+ })(PriceFeedErrorOutput || (PriceFeedErrorOutput = {}));
70
+ ;
71
+ const abi = {
72
+ "programType": "contract",
73
+ "specVersion": "1.2",
74
+ "encodingVersion": "1",
75
+ "concreteTypes": [
76
+ {
77
+ "type": "()",
78
+ "concreteTypeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
79
+ },
80
+ {
81
+ "type": "bool",
82
+ "concreteTypeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
83
+ },
84
+ {
85
+ "type": "enum contract_libs::access_control::AccessControlError",
86
+ "concreteTypeId": "2285ad920393160f43816bfa64a891b1956e2bbd066346d01638db4aaa81cfb9",
87
+ "metadataTypeId": 1
88
+ },
89
+ {
90
+ "type": "enum contract_schema::price_feed::OffchainPriceError",
91
+ "concreteTypeId": "e61e761e11e7e6c984a480aa06ad9f477a38e0cdb5b324ddd71160856d4d4e7c",
92
+ "metadataTypeId": 2
93
+ },
94
+ {
95
+ "type": "enum contract_schema::price_feed::PriceFeedError",
96
+ "concreteTypeId": "7934f84757989a7fcfe2e5cd6267a80f0c1a2c1cf90b9477e755bee019af5e94",
97
+ "metadataTypeId": 3
98
+ },
99
+ {
100
+ "type": "enum ownership::errors::InitializationError",
101
+ "concreteTypeId": "b1fddf488ccb9e63d11888b2750bbd1280a1ae1c49f2d6637fd4cf1e930d1468",
102
+ "metadataTypeId": 4
103
+ },
104
+ {
105
+ "type": "enum pausable::errors::PauseError",
106
+ "concreteTypeId": "455b46a49016f5c03c18ce54b969ea3d0d33c9b00263b3dcc36aa8da27558b8a",
107
+ "metadataTypeId": 5
108
+ },
109
+ {
110
+ "type": "enum src5::AccessError",
111
+ "concreteTypeId": "f1247475d0d1466599267010f088190f8664dd31663a40c5d5e525d8e64b995d",
112
+ "metadataTypeId": 6
113
+ },
114
+ {
115
+ "type": "enum src5::State",
116
+ "concreteTypeId": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
117
+ "metadataTypeId": 7
118
+ },
119
+ {
120
+ "type": "enum std::identity::Identity",
121
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
122
+ "metadataTypeId": 8
123
+ },
124
+ {
125
+ "type": "enum std::option::Option<struct contract_schema::price_feed::PriceRecord>",
126
+ "concreteTypeId": "1ed61cbb6dc000d5cf59f11b40c005a0c6c7e650d3f8e36bc6a1d3d442cfe39f",
127
+ "metadataTypeId": 9,
128
+ "typeArguments": [
129
+ "4c8631fd3365b4fa453554a8f6f6c2a725c5b441667fbb30a84230a5ca4ef378"
130
+ ]
131
+ },
132
+ {
133
+ "type": "enum std::option::Option<u64>",
134
+ "concreteTypeId": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d",
135
+ "metadataTypeId": 9,
136
+ "typeArguments": [
137
+ "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
138
+ ]
139
+ },
140
+ {
141
+ "type": "enum std::option::Option<u8>",
142
+ "concreteTypeId": "2da102c46c7263beeed95818cd7bee801716ba8303dddafdcd0f6c9efda4a0f1",
143
+ "metadataTypeId": 9,
144
+ "typeArguments": [
145
+ "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b"
146
+ ]
147
+ },
148
+ {
149
+ "type": "struct contract_libs::access_control::RoleGrantedEvent",
150
+ "concreteTypeId": "564661938244954c8836434b2cf26c3495e0538f78f281fc531f82003ef55d42",
151
+ "metadataTypeId": 12
152
+ },
153
+ {
154
+ "type": "struct contract_libs::access_control::RoleRevokedEvent",
155
+ "concreteTypeId": "e3693daf8fe6223e6a97667025b9fc906b02ca79ea87b1376058b0be52c7778d",
156
+ "metadataTypeId": 13
157
+ },
158
+ {
159
+ "type": "struct contract_schema::price_feed::AssetDecimalsSetEvent",
160
+ "concreteTypeId": "3d4e7212e51e9dd78f02b514400b0049512b2ea8f10c3ebc04ff607dd3547981",
161
+ "metadataTypeId": 14
162
+ },
163
+ {
164
+ "type": "struct contract_schema::price_feed::MaxOffchainAgeUpdatedEvent",
165
+ "concreteTypeId": "10309addd751e90eddd9f40105d7f9fa56e949cc1c95d0d0dea37329873458c0",
166
+ "metadataTypeId": 15
167
+ },
168
+ {
169
+ "type": "struct contract_schema::price_feed::OffchainPriceInvalidatedEvent",
170
+ "concreteTypeId": "6926607855c87a02c23a0ae167fe56d049be5a5bb31d2080b04c51b3cabee286",
171
+ "metadataTypeId": 16
172
+ },
173
+ {
174
+ "type": "struct contract_schema::price_feed::PriceInput",
175
+ "concreteTypeId": "bb7020906ffbe4e9a5a40ed64bbee2a46d5f3241d41a117f6d1697431c33431c",
176
+ "metadataTypeId": 17
177
+ },
178
+ {
179
+ "type": "struct contract_schema::price_feed::PriceRecord",
180
+ "concreteTypeId": "4c8631fd3365b4fa453554a8f6f6c2a725c5b441667fbb30a84230a5ca4ef378",
181
+ "metadataTypeId": 18
182
+ },
183
+ {
184
+ "type": "struct contract_schema::price_feed::PriceUpdated",
185
+ "concreteTypeId": "4042204bd17241ff9c20fe61346baf9847315e68efc4583354ca97f962ab01ec",
186
+ "metadataTypeId": 19
187
+ },
188
+ {
189
+ "type": "struct ownership::events::OwnershipSet",
190
+ "concreteTypeId": "8c0d2488561c35a28ef795bb8bcc4c43999cdd1e3ecbd10c226e0a68660c54d4",
191
+ "metadataTypeId": 20
192
+ },
193
+ {
194
+ "type": "struct ownership::events::OwnershipTransferred",
195
+ "concreteTypeId": "a2a2643e0252b510328c0323a0ea60724fb4cb3309a2322ab31b27566ff9a79d",
196
+ "metadataTypeId": 21
197
+ },
198
+ {
199
+ "type": "struct pausable::events::PauseEvent",
200
+ "concreteTypeId": "692983a9aba767e36b5014d3eb842447c736e341cc3b30fcb051b1f5a3d5f80a",
201
+ "metadataTypeId": 22
202
+ },
203
+ {
204
+ "type": "struct pausable::events::UnpauseEvent",
205
+ "concreteTypeId": "0026d386ad84e75b525bec3e7c8b6a63df3fcd108a8c4b26438c8a7a2e2c218b",
206
+ "metadataTypeId": 23
207
+ },
208
+ {
209
+ "type": "struct std::asset_id::AssetId",
210
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
211
+ "metadataTypeId": 25
212
+ },
213
+ {
214
+ "type": "struct std::u128::U128",
215
+ "concreteTypeId": "c4a4edf5dbd3026f55a64842d4610751fd4996e511a21367af515102dfb99a1b",
216
+ "metadataTypeId": 27
217
+ },
218
+ {
219
+ "type": "struct std::vec::Vec<enum std::option::Option<struct contract_schema::price_feed::PriceRecord>>",
220
+ "concreteTypeId": "790341b5ea19dd9789c7636b5591715a9096109724b245a5fd4265d73edaa2ed",
221
+ "metadataTypeId": 29,
222
+ "typeArguments": [
223
+ "1ed61cbb6dc000d5cf59f11b40c005a0c6c7e650d3f8e36bc6a1d3d442cfe39f"
224
+ ]
225
+ },
226
+ {
227
+ "type": "struct std::vec::Vec<struct contract_schema::price_feed::PriceInput>",
228
+ "concreteTypeId": "c6c89a6687783510b44e8a6ea68eb2c2bd3865b50bb293943c02cd6ce79f440f",
229
+ "metadataTypeId": 29,
230
+ "typeArguments": [
231
+ "bb7020906ffbe4e9a5a40ed64bbee2a46d5f3241d41a117f6d1697431c33431c"
232
+ ]
233
+ },
234
+ {
235
+ "type": "struct std::vec::Vec<struct std::asset_id::AssetId>",
236
+ "concreteTypeId": "8b2275934873f381a769c82334e6f66595eeb350d8b2dd012eef4d9bb117942b",
237
+ "metadataTypeId": 29,
238
+ "typeArguments": [
239
+ "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
240
+ ]
241
+ },
242
+ {
243
+ "type": "u64",
244
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
245
+ },
246
+ {
247
+ "type": "u8",
248
+ "concreteTypeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b"
249
+ }
250
+ ],
251
+ "metadataTypes": [
252
+ {
253
+ "type": "b256",
254
+ "metadataTypeId": 0
255
+ },
256
+ {
257
+ "type": "enum contract_libs::access_control::AccessControlError",
258
+ "metadataTypeId": 1,
259
+ "components": [
260
+ {
261
+ "name": "AccessControlNotAuthorized",
262
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
263
+ },
264
+ {
265
+ "name": "AccessControlNoMsgSender",
266
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
267
+ },
268
+ {
269
+ "name": "AccessControlRoleOutOfBounds",
270
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
271
+ }
272
+ ]
273
+ },
274
+ {
275
+ "type": "enum contract_schema::price_feed::OffchainPriceError",
276
+ "metadataTypeId": 2,
277
+ "components": [
278
+ {
279
+ "name": "TimestampInFuture",
280
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
281
+ },
282
+ {
283
+ "name": "TimestampTooOld",
284
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
285
+ },
286
+ {
287
+ "name": "TimestampRegressed",
288
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
289
+ }
290
+ ]
291
+ },
292
+ {
293
+ "type": "enum contract_schema::price_feed::PriceFeedError",
294
+ "metadataTypeId": 3,
295
+ "components": [
296
+ {
297
+ "name": "OwnerNotSet",
298
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
299
+ },
300
+ {
301
+ "name": "PriceInvalid",
302
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
303
+ },
304
+ {
305
+ "name": "DecimalsNotConfigured",
306
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
307
+ }
308
+ ]
309
+ },
310
+ {
311
+ "type": "enum ownership::errors::InitializationError",
312
+ "metadataTypeId": 4,
313
+ "components": [
314
+ {
315
+ "name": "CannotReinitialized",
316
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
317
+ }
318
+ ]
319
+ },
320
+ {
321
+ "type": "enum pausable::errors::PauseError",
322
+ "metadataTypeId": 5,
323
+ "components": [
324
+ {
325
+ "name": "Paused",
326
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
327
+ },
328
+ {
329
+ "name": "NotPaused",
330
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
331
+ }
332
+ ]
333
+ },
334
+ {
335
+ "type": "enum src5::AccessError",
336
+ "metadataTypeId": 6,
337
+ "components": [
338
+ {
339
+ "name": "NotOwner",
340
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
341
+ }
342
+ ]
343
+ },
344
+ {
345
+ "type": "enum src5::State",
346
+ "metadataTypeId": 7,
347
+ "components": [
348
+ {
349
+ "name": "Uninitialized",
350
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
351
+ },
352
+ {
353
+ "name": "Initialized",
354
+ "typeId": 8
355
+ },
356
+ {
357
+ "name": "Revoked",
358
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
359
+ }
360
+ ]
361
+ },
362
+ {
363
+ "type": "enum std::identity::Identity",
364
+ "metadataTypeId": 8,
365
+ "components": [
366
+ {
367
+ "name": "Address",
368
+ "typeId": 24
369
+ },
370
+ {
371
+ "name": "ContractId",
372
+ "typeId": 26
373
+ }
374
+ ]
375
+ },
376
+ {
377
+ "type": "enum std::option::Option",
378
+ "metadataTypeId": 9,
379
+ "components": [
380
+ {
381
+ "name": "None",
382
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
383
+ },
384
+ {
385
+ "name": "Some",
386
+ "typeId": 10
387
+ }
388
+ ],
389
+ "typeParameters": [
390
+ 10
391
+ ]
392
+ },
393
+ {
394
+ "type": "generic T",
395
+ "metadataTypeId": 10
396
+ },
397
+ {
398
+ "type": "raw untyped ptr",
399
+ "metadataTypeId": 11
400
+ },
401
+ {
402
+ "type": "struct contract_libs::access_control::RoleGrantedEvent",
403
+ "metadataTypeId": 12,
404
+ "components": [
405
+ {
406
+ "name": "role",
407
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
408
+ },
409
+ {
410
+ "name": "account",
411
+ "typeId": 8
412
+ }
413
+ ]
414
+ },
415
+ {
416
+ "type": "struct contract_libs::access_control::RoleRevokedEvent",
417
+ "metadataTypeId": 13,
418
+ "components": [
419
+ {
420
+ "name": "role",
421
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
422
+ },
423
+ {
424
+ "name": "account",
425
+ "typeId": 8
426
+ }
427
+ ]
428
+ },
429
+ {
430
+ "type": "struct contract_schema::price_feed::AssetDecimalsSetEvent",
431
+ "metadataTypeId": 14,
432
+ "components": [
433
+ {
434
+ "name": "asset",
435
+ "typeId": 25
436
+ },
437
+ {
438
+ "name": "decimals",
439
+ "typeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b"
440
+ }
441
+ ]
442
+ },
443
+ {
444
+ "type": "struct contract_schema::price_feed::MaxOffchainAgeUpdatedEvent",
445
+ "metadataTypeId": 15,
446
+ "components": [
447
+ {
448
+ "name": "seconds",
449
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
450
+ }
451
+ ]
452
+ },
453
+ {
454
+ "type": "struct contract_schema::price_feed::OffchainPriceInvalidatedEvent",
455
+ "metadataTypeId": 16,
456
+ "components": [
457
+ {
458
+ "name": "asset",
459
+ "typeId": 25
460
+ }
461
+ ]
462
+ },
463
+ {
464
+ "type": "struct contract_schema::price_feed::PriceInput",
465
+ "metadataTypeId": 17,
466
+ "components": [
467
+ {
468
+ "name": "asset",
469
+ "typeId": 25
470
+ },
471
+ {
472
+ "name": "bid",
473
+ "typeId": 27
474
+ },
475
+ {
476
+ "name": "ask",
477
+ "typeId": 27
478
+ },
479
+ {
480
+ "name": "timestamp",
481
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
482
+ }
483
+ ]
484
+ },
485
+ {
486
+ "type": "struct contract_schema::price_feed::PriceRecord",
487
+ "metadataTypeId": 18,
488
+ "components": [
489
+ {
490
+ "name": "bid",
491
+ "typeId": 27
492
+ },
493
+ {
494
+ "name": "ask",
495
+ "typeId": 27
496
+ },
497
+ {
498
+ "name": "asset_decimals",
499
+ "typeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b"
500
+ },
501
+ {
502
+ "name": "timestamp",
503
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
504
+ }
505
+ ]
506
+ },
507
+ {
508
+ "type": "struct contract_schema::price_feed::PriceUpdated",
509
+ "metadataTypeId": 19,
510
+ "components": [
511
+ {
512
+ "name": "asset_id",
513
+ "typeId": 25
514
+ },
515
+ {
516
+ "name": "bid",
517
+ "typeId": 27
518
+ },
519
+ {
520
+ "name": "ask",
521
+ "typeId": 27
522
+ },
523
+ {
524
+ "name": "asset_decimals",
525
+ "typeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b"
526
+ },
527
+ {
528
+ "name": "timestamp",
529
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
530
+ }
531
+ ]
532
+ },
533
+ {
534
+ "type": "struct ownership::events::OwnershipSet",
535
+ "metadataTypeId": 20,
536
+ "components": [
537
+ {
538
+ "name": "new_owner",
539
+ "typeId": 8
540
+ }
541
+ ]
542
+ },
543
+ {
544
+ "type": "struct ownership::events::OwnershipTransferred",
545
+ "metadataTypeId": 21,
546
+ "components": [
547
+ {
548
+ "name": "new_owner",
549
+ "typeId": 8
550
+ },
551
+ {
552
+ "name": "previous_owner",
553
+ "typeId": 8
554
+ }
555
+ ]
556
+ },
557
+ {
558
+ "type": "struct pausable::events::PauseEvent",
559
+ "metadataTypeId": 22,
560
+ "components": [
561
+ {
562
+ "name": "caller",
563
+ "typeId": 8
564
+ }
565
+ ]
566
+ },
567
+ {
568
+ "type": "struct pausable::events::UnpauseEvent",
569
+ "metadataTypeId": 23,
570
+ "components": [
571
+ {
572
+ "name": "caller",
573
+ "typeId": 8
574
+ }
575
+ ]
576
+ },
577
+ {
578
+ "type": "struct std::address::Address",
579
+ "metadataTypeId": 24,
580
+ "components": [
581
+ {
582
+ "name": "bits",
583
+ "typeId": 0
584
+ }
585
+ ]
586
+ },
587
+ {
588
+ "type": "struct std::asset_id::AssetId",
589
+ "metadataTypeId": 25,
590
+ "components": [
591
+ {
592
+ "name": "bits",
593
+ "typeId": 0
594
+ }
595
+ ]
596
+ },
597
+ {
598
+ "type": "struct std::contract_id::ContractId",
599
+ "metadataTypeId": 26,
600
+ "components": [
601
+ {
602
+ "name": "bits",
603
+ "typeId": 0
604
+ }
605
+ ]
606
+ },
607
+ {
608
+ "type": "struct std::u128::U128",
609
+ "metadataTypeId": 27,
610
+ "components": [
611
+ {
612
+ "name": "upper",
613
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
614
+ },
615
+ {
616
+ "name": "lower",
617
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
618
+ }
619
+ ]
620
+ },
621
+ {
622
+ "type": "struct std::vec::RawVec",
623
+ "metadataTypeId": 28,
624
+ "components": [
625
+ {
626
+ "name": "ptr",
627
+ "typeId": 11
628
+ },
629
+ {
630
+ "name": "cap",
631
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
632
+ }
633
+ ],
634
+ "typeParameters": [
635
+ 10
636
+ ]
637
+ },
638
+ {
639
+ "type": "struct std::vec::Vec",
640
+ "metadataTypeId": 29,
641
+ "components": [
642
+ {
643
+ "name": "buf",
644
+ "typeId": 28,
645
+ "typeArguments": [
646
+ {
647
+ "name": "",
648
+ "typeId": 10
649
+ }
650
+ ]
651
+ },
652
+ {
653
+ "name": "len",
654
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
655
+ }
656
+ ],
657
+ "typeParameters": [
658
+ 10
659
+ ]
660
+ }
661
+ ],
662
+ "functions": [
663
+ {
664
+ "name": "add_publisher",
665
+ "inputs": [
666
+ {
667
+ "name": "who",
668
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
669
+ }
670
+ ],
671
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
672
+ "attributes": [
673
+ {
674
+ "name": "doc-comment",
675
+ "arguments": [
676
+ " Authorizes an account to publish prices — a named wrapper over"
677
+ ]
678
+ },
679
+ {
680
+ "name": "doc-comment",
681
+ "arguments": [
682
+ " `PRICE_SUBMITTER_ROLE`."
683
+ ]
684
+ },
685
+ {
686
+ "name": "doc-comment",
687
+ "arguments": [
688
+ ""
689
+ ]
690
+ },
691
+ {
692
+ "name": "doc-comment",
693
+ "arguments": [
694
+ " # Reverts"
695
+ ]
696
+ },
697
+ {
698
+ "name": "doc-comment",
699
+ "arguments": [
700
+ ""
701
+ ]
702
+ },
703
+ {
704
+ "name": "doc-comment",
705
+ "arguments": [
706
+ " * When not called by the owner."
707
+ ]
708
+ },
709
+ {
710
+ "name": "storage",
711
+ "arguments": [
712
+ "read",
713
+ "write"
714
+ ]
715
+ }
716
+ ]
717
+ },
718
+ {
719
+ "name": "get_asset_decimals",
720
+ "inputs": [
721
+ {
722
+ "name": "asset",
723
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
724
+ }
725
+ ],
726
+ "output": "2da102c46c7263beeed95818cd7bee801716ba8303dddafdcd0f6c9efda4a0f1",
727
+ "attributes": [
728
+ {
729
+ "name": "doc-comment",
730
+ "arguments": [
731
+ " Returns the configured decimals for an asset, if any."
732
+ ]
733
+ },
734
+ {
735
+ "name": "storage",
736
+ "arguments": [
737
+ "read"
738
+ ]
739
+ }
740
+ ]
741
+ },
742
+ {
743
+ "name": "get_last_publish_time",
744
+ "inputs": [
745
+ {
746
+ "name": "asset",
747
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
748
+ }
749
+ ],
750
+ "output": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d",
751
+ "attributes": [
752
+ {
753
+ "name": "doc-comment",
754
+ "arguments": [
755
+ " Returns the replay floor for an asset: the highest publish time ever"
756
+ ]
757
+ },
758
+ {
759
+ "name": "doc-comment",
760
+ "arguments": [
761
+ " accepted, as raised by any invalidation. A push is only accepted with a"
762
+ ]
763
+ },
764
+ {
765
+ "name": "doc-comment",
766
+ "arguments": [
767
+ " `publish_time` strictly greater than this."
768
+ ]
769
+ },
770
+ {
771
+ "name": "storage",
772
+ "arguments": [
773
+ "read"
774
+ ]
775
+ }
776
+ ]
777
+ },
778
+ {
779
+ "name": "get_max_offchain_age",
780
+ "inputs": [],
781
+ "output": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
782
+ "attributes": [
783
+ {
784
+ "name": "doc-comment",
785
+ "arguments": [
786
+ " Returns the current submission bound (in seconds) on a pushed"
787
+ ]
788
+ },
789
+ {
790
+ "name": "doc-comment",
791
+ "arguments": [
792
+ " `publish_time`. Not a read-side staleness gate."
793
+ ]
794
+ },
795
+ {
796
+ "name": "storage",
797
+ "arguments": [
798
+ "read"
799
+ ]
800
+ }
801
+ ]
802
+ },
803
+ {
804
+ "name": "has_price",
805
+ "inputs": [
806
+ {
807
+ "name": "asset",
808
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
809
+ }
810
+ ],
811
+ "output": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
812
+ "attributes": [
813
+ {
814
+ "name": "doc-comment",
815
+ "arguments": [
816
+ " Whether a live price is currently stored for an asset."
817
+ ]
818
+ },
819
+ {
820
+ "name": "doc-comment",
821
+ "arguments": [
822
+ ""
823
+ ]
824
+ },
825
+ {
826
+ "name": "doc-comment",
827
+ "arguments": [
828
+ " # Additional Information"
829
+ ]
830
+ },
831
+ {
832
+ "name": "doc-comment",
833
+ "arguments": [
834
+ ""
835
+ ]
836
+ },
837
+ {
838
+ "name": "doc-comment",
839
+ "arguments": [
840
+ " The configuration-time gate: a consumer registering an asset into a"
841
+ ]
842
+ },
843
+ {
844
+ "name": "doc-comment",
845
+ "arguments": [
846
+ " frozen set checks this once, before committing to a set it can never"
847
+ ]
848
+ },
849
+ {
850
+ "name": "doc-comment",
851
+ "arguments": [
852
+ " price later. Returns `false` during the transient window between an"
853
+ ]
854
+ },
855
+ {
856
+ "name": "doc-comment",
857
+ "arguments": [
858
+ " invalidation and the recovery push — that is not a delisting, and the"
859
+ ]
860
+ },
861
+ {
862
+ "name": "doc-comment",
863
+ "arguments": [
864
+ " asset's decimals survive it."
865
+ ]
866
+ },
867
+ {
868
+ "name": "storage",
869
+ "arguments": [
870
+ "read"
871
+ ]
872
+ }
873
+ ]
874
+ },
875
+ {
876
+ "name": "initialize",
877
+ "inputs": [],
878
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
879
+ "attributes": [
880
+ {
881
+ "name": "doc-comment",
882
+ "arguments": [
883
+ " Initializes the contract with the `INITIAL_OWNER` configurable as owner"
884
+ ]
885
+ },
886
+ {
887
+ "name": "doc-comment",
888
+ "arguments": [
889
+ " and grants that owner the default admin role. The submission-age bound"
890
+ ]
891
+ },
892
+ {
893
+ "name": "doc-comment",
894
+ "arguments": [
895
+ " is written explicitly because, when this code runs behind a proxy,"
896
+ ]
897
+ },
898
+ {
899
+ "name": "doc-comment",
900
+ "arguments": [
901
+ " storage defaults from the implementation deployment are not present in"
902
+ ]
903
+ },
904
+ {
905
+ "name": "doc-comment",
906
+ "arguments": [
907
+ " the proxy's storage."
908
+ ]
909
+ },
910
+ {
911
+ "name": "doc-comment",
912
+ "arguments": [
913
+ ""
914
+ ]
915
+ },
916
+ {
917
+ "name": "doc-comment",
918
+ "arguments": [
919
+ " # Reverts"
920
+ ]
921
+ },
922
+ {
923
+ "name": "doc-comment",
924
+ "arguments": [
925
+ ""
926
+ ]
927
+ },
928
+ {
929
+ "name": "doc-comment",
930
+ "arguments": [
931
+ " * When the contract has already been initialized."
932
+ ]
933
+ },
934
+ {
935
+ "name": "doc-comment",
936
+ "arguments": [
937
+ " * When the contract was built without an `INITIAL_OWNER`."
938
+ ]
939
+ },
940
+ {
941
+ "name": "storage",
942
+ "arguments": [
943
+ "read",
944
+ "write"
945
+ ]
946
+ }
947
+ ]
948
+ },
949
+ {
950
+ "name": "invalidate_offchain_price",
951
+ "inputs": [
952
+ {
953
+ "name": "asset",
954
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
955
+ }
956
+ ],
957
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
958
+ "attributes": [
959
+ {
960
+ "name": "doc-comment",
961
+ "arguments": [
962
+ " Removes the stored offchain price for an asset, making reads fail closed"
963
+ ]
964
+ },
965
+ {
966
+ "name": "doc-comment",
967
+ "arguments": [
968
+ " immediately instead of serving a bad write until it ages out."
969
+ ]
970
+ },
971
+ {
972
+ "name": "doc-comment",
973
+ "arguments": [
974
+ ""
975
+ ]
976
+ },
977
+ {
978
+ "name": "doc-comment",
979
+ "arguments": [
980
+ " # Additional Information"
981
+ ]
982
+ },
983
+ {
984
+ "name": "doc-comment",
985
+ "arguments": [
986
+ ""
987
+ ]
988
+ },
989
+ {
990
+ "name": "doc-comment",
991
+ "arguments": [
992
+ " This is the emergency companion to `pause`: pause halts further pushes,"
993
+ ]
994
+ },
995
+ {
996
+ "name": "doc-comment",
997
+ "arguments": [
998
+ " invalidation retracts a price that already landed. Zeroing `bid` clears"
999
+ ]
1000
+ },
1001
+ {
1002
+ "name": "doc-comment",
1003
+ "arguments": [
1004
+ " the price while leaving `publish_time` behind as the replay floor, raised"
1005
+ ]
1006
+ },
1007
+ {
1008
+ "name": "doc-comment",
1009
+ "arguments": [
1010
+ " to the invalidation block time — so recovery requires an observation"
1011
+ ]
1012
+ },
1013
+ {
1014
+ "name": "doc-comment",
1015
+ "arguments": [
1016
+ " published strictly after the invalidation, and neither the retracted"
1017
+ ]
1018
+ },
1019
+ {
1020
+ "name": "doc-comment",
1021
+ "arguments": [
1022
+ " record nor any pre-incident observation can be re-stored. The asset's"
1023
+ ]
1024
+ },
1025
+ {
1026
+ "name": "doc-comment",
1027
+ "arguments": [
1028
+ " decimals are untouched."
1029
+ ]
1030
+ },
1031
+ {
1032
+ "name": "doc-comment",
1033
+ "arguments": [
1034
+ ""
1035
+ ]
1036
+ },
1037
+ {
1038
+ "name": "doc-comment",
1039
+ "arguments": [
1040
+ " # Reverts"
1041
+ ]
1042
+ },
1043
+ {
1044
+ "name": "doc-comment",
1045
+ "arguments": [
1046
+ ""
1047
+ ]
1048
+ },
1049
+ {
1050
+ "name": "doc-comment",
1051
+ "arguments": [
1052
+ " * When not called by an account with the pauser role."
1053
+ ]
1054
+ },
1055
+ {
1056
+ "name": "doc-comment",
1057
+ "arguments": [
1058
+ ""
1059
+ ]
1060
+ },
1061
+ {
1062
+ "name": "doc-comment",
1063
+ "arguments": [
1064
+ " # Events"
1065
+ ]
1066
+ },
1067
+ {
1068
+ "name": "doc-comment",
1069
+ "arguments": [
1070
+ ""
1071
+ ]
1072
+ },
1073
+ {
1074
+ "name": "doc-comment",
1075
+ "arguments": [
1076
+ " * `OffchainPriceInvalidatedEvent`"
1077
+ ]
1078
+ },
1079
+ {
1080
+ "name": "storage",
1081
+ "arguments": [
1082
+ "read",
1083
+ "write"
1084
+ ]
1085
+ }
1086
+ ]
1087
+ },
1088
+ {
1089
+ "name": "owner_grant_role",
1090
+ "inputs": [
1091
+ {
1092
+ "name": "role",
1093
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1094
+ },
1095
+ {
1096
+ "name": "account",
1097
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
1098
+ }
1099
+ ],
1100
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1101
+ "attributes": [
1102
+ {
1103
+ "name": "doc-comment",
1104
+ "arguments": [
1105
+ " Grants an access-control role, gated on ownership rather than the admin role."
1106
+ ]
1107
+ },
1108
+ {
1109
+ "name": "doc-comment",
1110
+ "arguments": [
1111
+ ""
1112
+ ]
1113
+ },
1114
+ {
1115
+ "name": "doc-comment",
1116
+ "arguments": [
1117
+ " # Reverts"
1118
+ ]
1119
+ },
1120
+ {
1121
+ "name": "doc-comment",
1122
+ "arguments": [
1123
+ ""
1124
+ ]
1125
+ },
1126
+ {
1127
+ "name": "doc-comment",
1128
+ "arguments": [
1129
+ " * When not called by the owner."
1130
+ ]
1131
+ },
1132
+ {
1133
+ "name": "storage",
1134
+ "arguments": [
1135
+ "read",
1136
+ "write"
1137
+ ]
1138
+ }
1139
+ ]
1140
+ },
1141
+ {
1142
+ "name": "owner_revoke_role",
1143
+ "inputs": [
1144
+ {
1145
+ "name": "role",
1146
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1147
+ },
1148
+ {
1149
+ "name": "account",
1150
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
1151
+ }
1152
+ ],
1153
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1154
+ "attributes": [
1155
+ {
1156
+ "name": "doc-comment",
1157
+ "arguments": [
1158
+ " Revokes an access-control role, gated on ownership rather than the admin role."
1159
+ ]
1160
+ },
1161
+ {
1162
+ "name": "doc-comment",
1163
+ "arguments": [
1164
+ ""
1165
+ ]
1166
+ },
1167
+ {
1168
+ "name": "doc-comment",
1169
+ "arguments": [
1170
+ " # Reverts"
1171
+ ]
1172
+ },
1173
+ {
1174
+ "name": "doc-comment",
1175
+ "arguments": [
1176
+ ""
1177
+ ]
1178
+ },
1179
+ {
1180
+ "name": "doc-comment",
1181
+ "arguments": [
1182
+ " * When not called by the owner."
1183
+ ]
1184
+ },
1185
+ {
1186
+ "name": "storage",
1187
+ "arguments": [
1188
+ "read",
1189
+ "write"
1190
+ ]
1191
+ }
1192
+ ]
1193
+ },
1194
+ {
1195
+ "name": "price",
1196
+ "inputs": [
1197
+ {
1198
+ "name": "asset",
1199
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
1200
+ }
1201
+ ],
1202
+ "output": "1ed61cbb6dc000d5cf59f11b40c005a0c6c7e650d3f8e36bc6a1d3d442cfe39f",
1203
+ "attributes": [
1204
+ {
1205
+ "name": "doc-comment",
1206
+ "arguments": [
1207
+ " Returns the most recently stored offchain price for an asset, if any."
1208
+ ]
1209
+ },
1210
+ {
1211
+ "name": "doc-comment",
1212
+ "arguments": [
1213
+ ""
1214
+ ]
1215
+ },
1216
+ {
1217
+ "name": "doc-comment",
1218
+ "arguments": [
1219
+ " Never reverts on staleness — the freshness decision is the caller's."
1220
+ ]
1221
+ },
1222
+ {
1223
+ "name": "storage",
1224
+ "arguments": [
1225
+ "read"
1226
+ ]
1227
+ }
1228
+ ]
1229
+ },
1230
+ {
1231
+ "name": "prices",
1232
+ "inputs": [
1233
+ {
1234
+ "name": "assets",
1235
+ "concreteTypeId": "8b2275934873f381a769c82334e6f66595eeb350d8b2dd012eef4d9bb117942b"
1236
+ }
1237
+ ],
1238
+ "output": "790341b5ea19dd9789c7636b5591715a9096109724b245a5fd4265d73edaa2ed",
1239
+ "attributes": [
1240
+ {
1241
+ "name": "doc-comment",
1242
+ "arguments": [
1243
+ " Returns the stored two-sided prices for many assets in one call."
1244
+ ]
1245
+ },
1246
+ {
1247
+ "name": "doc-comment",
1248
+ "arguments": [
1249
+ ""
1250
+ ]
1251
+ },
1252
+ {
1253
+ "name": "doc-comment",
1254
+ "arguments": [
1255
+ " # Additional Information"
1256
+ ]
1257
+ },
1258
+ {
1259
+ "name": "doc-comment",
1260
+ "arguments": [
1261
+ ""
1262
+ ]
1263
+ },
1264
+ {
1265
+ "name": "doc-comment",
1266
+ "arguments": [
1267
+ " The batch companion to `price`, for a consumer valuing a"
1268
+ ]
1269
+ },
1270
+ {
1271
+ "name": "doc-comment",
1272
+ "arguments": [
1273
+ " whole basket. Never reverts on staleness or absence: entries are `None`"
1274
+ ]
1275
+ },
1276
+ {
1277
+ "name": "doc-comment",
1278
+ "arguments": [
1279
+ " where no live price is stored, and the caller applies its own freshness"
1280
+ ]
1281
+ },
1282
+ {
1283
+ "name": "doc-comment",
1284
+ "arguments": [
1285
+ " policy across the returned set."
1286
+ ]
1287
+ },
1288
+ {
1289
+ "name": "storage",
1290
+ "arguments": [
1291
+ "read"
1292
+ ]
1293
+ }
1294
+ ]
1295
+ },
1296
+ {
1297
+ "name": "publish_price",
1298
+ "inputs": [
1299
+ {
1300
+ "name": "asset",
1301
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
1302
+ },
1303
+ {
1304
+ "name": "bid",
1305
+ "concreteTypeId": "c4a4edf5dbd3026f55a64842d4610751fd4996e511a21367af515102dfb99a1b"
1306
+ },
1307
+ {
1308
+ "name": "ask",
1309
+ "concreteTypeId": "c4a4edf5dbd3026f55a64842d4610751fd4996e511a21367af515102dfb99a1b"
1310
+ },
1311
+ {
1312
+ "name": "publish_time",
1313
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1314
+ }
1315
+ ],
1316
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1317
+ "attributes": [
1318
+ {
1319
+ "name": "doc-comment",
1320
+ "arguments": [
1321
+ " Pushes a two-sided offchain price for a single asset."
1322
+ ]
1323
+ },
1324
+ {
1325
+ "name": "doc-comment",
1326
+ "arguments": [
1327
+ ""
1328
+ ]
1329
+ },
1330
+ {
1331
+ "name": "doc-comment",
1332
+ "arguments": [
1333
+ " # Reverts"
1334
+ ]
1335
+ },
1336
+ {
1337
+ "name": "doc-comment",
1338
+ "arguments": [
1339
+ ""
1340
+ ]
1341
+ },
1342
+ {
1343
+ "name": "doc-comment",
1344
+ "arguments": [
1345
+ " * When the contract is paused."
1346
+ ]
1347
+ },
1348
+ {
1349
+ "name": "doc-comment",
1350
+ "arguments": [
1351
+ " * When not called by an account with the price submitter role."
1352
+ ]
1353
+ },
1354
+ {
1355
+ "name": "doc-comment",
1356
+ "arguments": [
1357
+ " * `PriceFeedError::PriceInvalid`"
1358
+ ]
1359
+ },
1360
+ {
1361
+ "name": "doc-comment",
1362
+ "arguments": [
1363
+ " * `PriceFeedError::DecimalsNotConfigured`"
1364
+ ]
1365
+ },
1366
+ {
1367
+ "name": "doc-comment",
1368
+ "arguments": [
1369
+ " * `OffchainPriceError::TimestampInFuture`"
1370
+ ]
1371
+ },
1372
+ {
1373
+ "name": "doc-comment",
1374
+ "arguments": [
1375
+ " * `OffchainPriceError::TimestampTooOld`"
1376
+ ]
1377
+ },
1378
+ {
1379
+ "name": "doc-comment",
1380
+ "arguments": [
1381
+ " * `OffchainPriceError::TimestampRegressed`"
1382
+ ]
1383
+ },
1384
+ {
1385
+ "name": "doc-comment",
1386
+ "arguments": [
1387
+ ""
1388
+ ]
1389
+ },
1390
+ {
1391
+ "name": "doc-comment",
1392
+ "arguments": [
1393
+ " # Events"
1394
+ ]
1395
+ },
1396
+ {
1397
+ "name": "doc-comment",
1398
+ "arguments": [
1399
+ ""
1400
+ ]
1401
+ },
1402
+ {
1403
+ "name": "doc-comment",
1404
+ "arguments": [
1405
+ " * `PriceUpdated`"
1406
+ ]
1407
+ },
1408
+ {
1409
+ "name": "storage",
1410
+ "arguments": [
1411
+ "read",
1412
+ "write"
1413
+ ]
1414
+ }
1415
+ ]
1416
+ },
1417
+ {
1418
+ "name": "publish_prices",
1419
+ "inputs": [
1420
+ {
1421
+ "name": "inputs",
1422
+ "concreteTypeId": "c6c89a6687783510b44e8a6ea68eb2c2bd3865b50bb293943c02cd6ce79f440f"
1423
+ }
1424
+ ],
1425
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1426
+ "attributes": [
1427
+ {
1428
+ "name": "doc-comment",
1429
+ "arguments": [
1430
+ " Pushes two-sided offchain prices for multiple assets in a single call."
1431
+ ]
1432
+ },
1433
+ {
1434
+ "name": "doc-comment",
1435
+ "arguments": [
1436
+ ""
1437
+ ]
1438
+ },
1439
+ {
1440
+ "name": "doc-comment",
1441
+ "arguments": [
1442
+ " Any invalid entry reverts the whole batch."
1443
+ ]
1444
+ },
1445
+ {
1446
+ "name": "doc-comment",
1447
+ "arguments": [
1448
+ ""
1449
+ ]
1450
+ },
1451
+ {
1452
+ "name": "doc-comment",
1453
+ "arguments": [
1454
+ " # Reverts"
1455
+ ]
1456
+ },
1457
+ {
1458
+ "name": "doc-comment",
1459
+ "arguments": [
1460
+ ""
1461
+ ]
1462
+ },
1463
+ {
1464
+ "name": "doc-comment",
1465
+ "arguments": [
1466
+ " * When the contract is paused."
1467
+ ]
1468
+ },
1469
+ {
1470
+ "name": "doc-comment",
1471
+ "arguments": [
1472
+ " * When not called by an account with the price submitter role."
1473
+ ]
1474
+ },
1475
+ {
1476
+ "name": "doc-comment",
1477
+ "arguments": [
1478
+ " * Any revert of `publish_price`, for any entry."
1479
+ ]
1480
+ },
1481
+ {
1482
+ "name": "doc-comment",
1483
+ "arguments": [
1484
+ ""
1485
+ ]
1486
+ },
1487
+ {
1488
+ "name": "doc-comment",
1489
+ "arguments": [
1490
+ " # Events"
1491
+ ]
1492
+ },
1493
+ {
1494
+ "name": "doc-comment",
1495
+ "arguments": [
1496
+ ""
1497
+ ]
1498
+ },
1499
+ {
1500
+ "name": "doc-comment",
1501
+ "arguments": [
1502
+ " * `PriceUpdated` (once per entry)"
1503
+ ]
1504
+ },
1505
+ {
1506
+ "name": "storage",
1507
+ "arguments": [
1508
+ "read",
1509
+ "write"
1510
+ ]
1511
+ }
1512
+ ]
1513
+ },
1514
+ {
1515
+ "name": "remove_publisher",
1516
+ "inputs": [
1517
+ {
1518
+ "name": "who",
1519
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
1520
+ }
1521
+ ],
1522
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1523
+ "attributes": [
1524
+ {
1525
+ "name": "doc-comment",
1526
+ "arguments": [
1527
+ " Revokes an account's authorization to publish prices. Stops future"
1528
+ ]
1529
+ },
1530
+ {
1531
+ "name": "doc-comment",
1532
+ "arguments": [
1533
+ " writes only — use `invalidate_offchain_price` to retract a price that"
1534
+ ]
1535
+ },
1536
+ {
1537
+ "name": "doc-comment",
1538
+ "arguments": [
1539
+ " already landed."
1540
+ ]
1541
+ },
1542
+ {
1543
+ "name": "doc-comment",
1544
+ "arguments": [
1545
+ ""
1546
+ ]
1547
+ },
1548
+ {
1549
+ "name": "doc-comment",
1550
+ "arguments": [
1551
+ " # Reverts"
1552
+ ]
1553
+ },
1554
+ {
1555
+ "name": "doc-comment",
1556
+ "arguments": [
1557
+ ""
1558
+ ]
1559
+ },
1560
+ {
1561
+ "name": "doc-comment",
1562
+ "arguments": [
1563
+ " * When not called by the owner."
1564
+ ]
1565
+ },
1566
+ {
1567
+ "name": "storage",
1568
+ "arguments": [
1569
+ "read",
1570
+ "write"
1571
+ ]
1572
+ }
1573
+ ]
1574
+ },
1575
+ {
1576
+ "name": "set_asset_decimals",
1577
+ "inputs": [
1578
+ {
1579
+ "name": "asset",
1580
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
1581
+ },
1582
+ {
1583
+ "name": "decimals",
1584
+ "concreteTypeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b"
1585
+ }
1586
+ ],
1587
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1588
+ "attributes": [
1589
+ {
1590
+ "name": "doc-comment",
1591
+ "arguments": [
1592
+ " Configures or updates the decimals of an asset."
1593
+ ]
1594
+ },
1595
+ {
1596
+ "name": "doc-comment",
1597
+ "arguments": [
1598
+ ""
1599
+ ]
1600
+ },
1601
+ {
1602
+ "name": "doc-comment",
1603
+ "arguments": [
1604
+ " # Reverts"
1605
+ ]
1606
+ },
1607
+ {
1608
+ "name": "doc-comment",
1609
+ "arguments": [
1610
+ ""
1611
+ ]
1612
+ },
1613
+ {
1614
+ "name": "doc-comment",
1615
+ "arguments": [
1616
+ " * When not called by the owner."
1617
+ ]
1618
+ },
1619
+ {
1620
+ "name": "doc-comment",
1621
+ "arguments": [
1622
+ ""
1623
+ ]
1624
+ },
1625
+ {
1626
+ "name": "doc-comment",
1627
+ "arguments": [
1628
+ " # Events"
1629
+ ]
1630
+ },
1631
+ {
1632
+ "name": "doc-comment",
1633
+ "arguments": [
1634
+ ""
1635
+ ]
1636
+ },
1637
+ {
1638
+ "name": "doc-comment",
1639
+ "arguments": [
1640
+ " * `AssetDecimalsSetEvent`"
1641
+ ]
1642
+ },
1643
+ {
1644
+ "name": "storage",
1645
+ "arguments": [
1646
+ "read",
1647
+ "write"
1648
+ ]
1649
+ }
1650
+ ]
1651
+ },
1652
+ {
1653
+ "name": "set_max_offchain_age",
1654
+ "inputs": [
1655
+ {
1656
+ "name": "seconds",
1657
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1658
+ }
1659
+ ],
1660
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1661
+ "attributes": [
1662
+ {
1663
+ "name": "doc-comment",
1664
+ "arguments": [
1665
+ " Sets the submission bound: how far behind block time a pushed"
1666
+ ]
1667
+ },
1668
+ {
1669
+ "name": "doc-comment",
1670
+ "arguments": [
1671
+ " `publish_time` may be, in seconds."
1672
+ ]
1673
+ },
1674
+ {
1675
+ "name": "doc-comment",
1676
+ "arguments": [
1677
+ ""
1678
+ ]
1679
+ },
1680
+ {
1681
+ "name": "doc-comment",
1682
+ "arguments": [
1683
+ " # Additional Information"
1684
+ ]
1685
+ },
1686
+ {
1687
+ "name": "doc-comment",
1688
+ "arguments": [
1689
+ ""
1690
+ ]
1691
+ },
1692
+ {
1693
+ "name": "doc-comment",
1694
+ "arguments": [
1695
+ " Bounds writes only. Readers apply their own staleness policy, so"
1696
+ ]
1697
+ },
1698
+ {
1699
+ "name": "doc-comment",
1700
+ "arguments": [
1701
+ " tightening this restricts publishers without capping any consumer's"
1702
+ ]
1703
+ },
1704
+ {
1705
+ "name": "doc-comment",
1706
+ "arguments": [
1707
+ " tolerance."
1708
+ ]
1709
+ },
1710
+ {
1711
+ "name": "doc-comment",
1712
+ "arguments": [
1713
+ ""
1714
+ ]
1715
+ },
1716
+ {
1717
+ "name": "doc-comment",
1718
+ "arguments": [
1719
+ " # Reverts"
1720
+ ]
1721
+ },
1722
+ {
1723
+ "name": "doc-comment",
1724
+ "arguments": [
1725
+ ""
1726
+ ]
1727
+ },
1728
+ {
1729
+ "name": "doc-comment",
1730
+ "arguments": [
1731
+ " * When not called by the owner."
1732
+ ]
1733
+ },
1734
+ {
1735
+ "name": "doc-comment",
1736
+ "arguments": [
1737
+ ""
1738
+ ]
1739
+ },
1740
+ {
1741
+ "name": "doc-comment",
1742
+ "arguments": [
1743
+ " # Events"
1744
+ ]
1745
+ },
1746
+ {
1747
+ "name": "doc-comment",
1748
+ "arguments": [
1749
+ ""
1750
+ ]
1751
+ },
1752
+ {
1753
+ "name": "doc-comment",
1754
+ "arguments": [
1755
+ " * `MaxOffchainAgeUpdatedEvent`"
1756
+ ]
1757
+ },
1758
+ {
1759
+ "name": "storage",
1760
+ "arguments": [
1761
+ "read",
1762
+ "write"
1763
+ ]
1764
+ }
1765
+ ]
1766
+ },
1767
+ {
1768
+ "name": "transfer_ownership",
1769
+ "inputs": [
1770
+ {
1771
+ "name": "new_owner",
1772
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
1773
+ }
1774
+ ],
1775
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1776
+ "attributes": [
1777
+ {
1778
+ "name": "doc-comment",
1779
+ "arguments": [
1780
+ " Transfers ownership to a new owner, moving the default admin role with it."
1781
+ ]
1782
+ },
1783
+ {
1784
+ "name": "doc-comment",
1785
+ "arguments": [
1786
+ ""
1787
+ ]
1788
+ },
1789
+ {
1790
+ "name": "doc-comment",
1791
+ "arguments": [
1792
+ " # Additional Information"
1793
+ ]
1794
+ },
1795
+ {
1796
+ "name": "doc-comment",
1797
+ "arguments": [
1798
+ ""
1799
+ ]
1800
+ },
1801
+ {
1802
+ "name": "doc-comment",
1803
+ "arguments": [
1804
+ " `initialize` couples ownership to the default admin role, so the transfer"
1805
+ ]
1806
+ },
1807
+ {
1808
+ "name": "doc-comment",
1809
+ "arguments": [
1810
+ " keeps them coupled: the outgoing owner loses `DEFAULT_ADMIN_ROLE` and the"
1811
+ ]
1812
+ },
1813
+ {
1814
+ "name": "doc-comment",
1815
+ "arguments": [
1816
+ " new owner gains it. Admin roles granted to *other* accounts are untouched."
1817
+ ]
1818
+ },
1819
+ {
1820
+ "name": "doc-comment",
1821
+ "arguments": [
1822
+ ""
1823
+ ]
1824
+ },
1825
+ {
1826
+ "name": "doc-comment",
1827
+ "arguments": [
1828
+ " # Reverts"
1829
+ ]
1830
+ },
1831
+ {
1832
+ "name": "doc-comment",
1833
+ "arguments": [
1834
+ ""
1835
+ ]
1836
+ },
1837
+ {
1838
+ "name": "doc-comment",
1839
+ "arguments": [
1840
+ " * When not called by the current owner."
1841
+ ]
1842
+ },
1843
+ {
1844
+ "name": "doc-comment",
1845
+ "arguments": [
1846
+ ""
1847
+ ]
1848
+ },
1849
+ {
1850
+ "name": "doc-comment",
1851
+ "arguments": [
1852
+ " # Events"
1853
+ ]
1854
+ },
1855
+ {
1856
+ "name": "doc-comment",
1857
+ "arguments": [
1858
+ ""
1859
+ ]
1860
+ },
1861
+ {
1862
+ "name": "doc-comment",
1863
+ "arguments": [
1864
+ " * `RoleRevokedEvent` (previous owner)"
1865
+ ]
1866
+ },
1867
+ {
1868
+ "name": "doc-comment",
1869
+ "arguments": [
1870
+ " * `RoleGrantedEvent` (new owner)"
1871
+ ]
1872
+ },
1873
+ {
1874
+ "name": "storage",
1875
+ "arguments": [
1876
+ "read",
1877
+ "write"
1878
+ ]
1879
+ }
1880
+ ]
1881
+ },
1882
+ {
1883
+ "name": "get_roles",
1884
+ "inputs": [
1885
+ {
1886
+ "name": "account",
1887
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
1888
+ }
1889
+ ],
1890
+ "output": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
1891
+ "attributes": [
1892
+ {
1893
+ "name": "storage",
1894
+ "arguments": [
1895
+ "read"
1896
+ ]
1897
+ }
1898
+ ]
1899
+ },
1900
+ {
1901
+ "name": "grant_role",
1902
+ "inputs": [
1903
+ {
1904
+ "name": "role",
1905
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1906
+ },
1907
+ {
1908
+ "name": "account",
1909
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
1910
+ }
1911
+ ],
1912
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1913
+ "attributes": [
1914
+ {
1915
+ "name": "storage",
1916
+ "arguments": [
1917
+ "read",
1918
+ "write"
1919
+ ]
1920
+ }
1921
+ ]
1922
+ },
1923
+ {
1924
+ "name": "has_role",
1925
+ "inputs": [
1926
+ {
1927
+ "name": "role",
1928
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1929
+ },
1930
+ {
1931
+ "name": "account",
1932
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
1933
+ }
1934
+ ],
1935
+ "output": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
1936
+ "attributes": [
1937
+ {
1938
+ "name": "storage",
1939
+ "arguments": [
1940
+ "read"
1941
+ ]
1942
+ }
1943
+ ]
1944
+ },
1945
+ {
1946
+ "name": "revoke_role",
1947
+ "inputs": [
1948
+ {
1949
+ "name": "role",
1950
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1951
+ },
1952
+ {
1953
+ "name": "account",
1954
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
1955
+ }
1956
+ ],
1957
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1958
+ "attributes": [
1959
+ {
1960
+ "name": "storage",
1961
+ "arguments": [
1962
+ "read",
1963
+ "write"
1964
+ ]
1965
+ }
1966
+ ]
1967
+ },
1968
+ {
1969
+ "name": "owner",
1970
+ "inputs": [],
1971
+ "output": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
1972
+ "attributes": [
1973
+ {
1974
+ "name": "storage",
1975
+ "arguments": [
1976
+ "read"
1977
+ ]
1978
+ }
1979
+ ]
1980
+ },
1981
+ {
1982
+ "name": "is_paused",
1983
+ "inputs": [],
1984
+ "output": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
1985
+ "attributes": [
1986
+ {
1987
+ "name": "storage",
1988
+ "arguments": [
1989
+ "read"
1990
+ ]
1991
+ }
1992
+ ]
1993
+ },
1994
+ {
1995
+ "name": "pause",
1996
+ "inputs": [],
1997
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1998
+ "attributes": [
1999
+ {
2000
+ "name": "doc-comment",
2001
+ "arguments": [
2002
+ " Pauses the contract, halting price pushes."
2003
+ ]
2004
+ },
2005
+ {
2006
+ "name": "doc-comment",
2007
+ "arguments": [
2008
+ ""
2009
+ ]
2010
+ },
2011
+ {
2012
+ "name": "doc-comment",
2013
+ "arguments": [
2014
+ " # Reverts"
2015
+ ]
2016
+ },
2017
+ {
2018
+ "name": "doc-comment",
2019
+ "arguments": [
2020
+ ""
2021
+ ]
2022
+ },
2023
+ {
2024
+ "name": "doc-comment",
2025
+ "arguments": [
2026
+ " * When not called by an account with the pauser role."
2027
+ ]
2028
+ },
2029
+ {
2030
+ "name": "storage",
2031
+ "arguments": [
2032
+ "write"
2033
+ ]
2034
+ }
2035
+ ]
2036
+ },
2037
+ {
2038
+ "name": "unpause",
2039
+ "inputs": [],
2040
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2041
+ "attributes": [
2042
+ {
2043
+ "name": "doc-comment",
2044
+ "arguments": [
2045
+ " Unpauses the contract."
2046
+ ]
2047
+ },
2048
+ {
2049
+ "name": "doc-comment",
2050
+ "arguments": [
2051
+ ""
2052
+ ]
2053
+ },
2054
+ {
2055
+ "name": "doc-comment",
2056
+ "arguments": [
2057
+ " # Additional Information"
2058
+ ]
2059
+ },
2060
+ {
2061
+ "name": "doc-comment",
2062
+ "arguments": [
2063
+ ""
2064
+ ]
2065
+ },
2066
+ {
2067
+ "name": "doc-comment",
2068
+ "arguments": [
2069
+ " Deliberately owner-gated rather than pauser-gated: pausing is the"
2070
+ ]
2071
+ },
2072
+ {
2073
+ "name": "doc-comment",
2074
+ "arguments": [
2075
+ " emergency brake handed to fast keys, resuming stays with the owner."
2076
+ ]
2077
+ },
2078
+ {
2079
+ "name": "doc-comment",
2080
+ "arguments": [
2081
+ ""
2082
+ ]
2083
+ },
2084
+ {
2085
+ "name": "doc-comment",
2086
+ "arguments": [
2087
+ " # Reverts"
2088
+ ]
2089
+ },
2090
+ {
2091
+ "name": "doc-comment",
2092
+ "arguments": [
2093
+ ""
2094
+ ]
2095
+ },
2096
+ {
2097
+ "name": "doc-comment",
2098
+ "arguments": [
2099
+ " * When not called by the owner."
2100
+ ]
2101
+ },
2102
+ {
2103
+ "name": "storage",
2104
+ "arguments": [
2105
+ "write"
2106
+ ]
2107
+ }
2108
+ ]
2109
+ }
2110
+ ],
2111
+ "loggedTypes": [
2112
+ {
2113
+ "logId": "2487585211828868623",
2114
+ "concreteTypeId": "2285ad920393160f43816bfa64a891b1956e2bbd066346d01638db4aaa81cfb9"
2115
+ },
2116
+ {
2117
+ "logId": "7577732612780156899",
2118
+ "concreteTypeId": "692983a9aba767e36b5014d3eb842447c736e341cc3b30fcb051b1f5a3d5f80a"
2119
+ },
2120
+ {
2121
+ "logId": "17376141311665587813",
2122
+ "concreteTypeId": "f1247475d0d1466599267010f088190f8664dd31663a40c5d5e525d8e64b995d"
2123
+ },
2124
+ {
2125
+ "logId": "10928624505251675",
2126
+ "concreteTypeId": "0026d386ad84e75b525bec3e7c8b6a63df3fcd108a8c4b26438c8a7a2e2c218b"
2127
+ },
2128
+ {
2129
+ "logId": "12825652816513834595",
2130
+ "concreteTypeId": "b1fddf488ccb9e63d11888b2750bbd1280a1ae1c49f2d6637fd4cf1e930d1468"
2131
+ },
2132
+ {
2133
+ "logId": "10091762507985991074",
2134
+ "concreteTypeId": "8c0d2488561c35a28ef795bb8bcc4c43999cdd1e3ecbd10c226e0a68660c54d4"
2135
+ },
2136
+ {
2137
+ "logId": "6216763621805167948",
2138
+ "concreteTypeId": "564661938244954c8836434b2cf26c3495e0538f78f281fc531f82003ef55d42"
2139
+ },
2140
+ {
2141
+ "logId": "8733878562674219647",
2142
+ "concreteTypeId": "7934f84757989a7fcfe2e5cd6267a80f0c1a2c1cf90b9477e755bee019af5e94"
2143
+ },
2144
+ {
2145
+ "logId": "16386696543407055422",
2146
+ "concreteTypeId": "e3693daf8fe6223e6a97667025b9fc906b02ca79ea87b1376058b0be52c7778d"
2147
+ },
2148
+ {
2149
+ "logId": "4997665884103701952",
2150
+ "concreteTypeId": "455b46a49016f5c03c18ce54b969ea3d0d33c9b00263b3dcc36aa8da27558b8a"
2151
+ },
2152
+ {
2153
+ "logId": "16581820749546251977",
2154
+ "concreteTypeId": "e61e761e11e7e6c984a480aa06ad9f477a38e0cdb5b324ddd71160856d4d4e7c"
2155
+ },
2156
+ {
2157
+ "logId": "4630298876898853375",
2158
+ "concreteTypeId": "4042204bd17241ff9c20fe61346baf9847315e68efc4583354ca97f962ab01ec"
2159
+ },
2160
+ {
2161
+ "logId": "4417593709976002007",
2162
+ "concreteTypeId": "3d4e7212e51e9dd78f02b514400b0049512b2ea8f10c3ebc04ff607dd3547981"
2163
+ },
2164
+ {
2165
+ "logId": "11719039397861176592",
2166
+ "concreteTypeId": "a2a2643e0252b510328c0323a0ea60724fb4cb3309a2322ab31b27566ff9a79d"
2167
+ },
2168
+ {
2169
+ "logId": "1166602581079877902",
2170
+ "concreteTypeId": "10309addd751e90eddd9f40105d7f9fa56e949cc1c95d0d0dea37329873458c0"
2171
+ },
2172
+ {
2173
+ "logId": "7576849493048982018",
2174
+ "concreteTypeId": "6926607855c87a02c23a0ae167fe56d049be5a5bb31d2080b04c51b3cabee286"
2175
+ }
2176
+ ],
2177
+ "messagesTypes": [],
2178
+ "configurables": [
2179
+ {
2180
+ "name": "INITIAL_OWNER",
2181
+ "concreteTypeId": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
2182
+ "offset": 24808,
2183
+ "indirect": false
2184
+ }
2185
+ ],
2186
+ "errorCodes": {},
2187
+ "panickingCalls": {}
2188
+ };
2189
+ const storageSlots = [
2190
+ {
2191
+ "key": "e94bfa510d41e5e66192f207eb8bc3fbd5eeaaf2e64c42e59ad3b747dc5b329a",
2192
+ "value": "000000000000000a000000000000000000000000000000000000000000000000"
2193
+ }
2194
+ ];
2195
+ export class PriceFeedInterface extends Interface {
2196
+ constructor() {
2197
+ super(abi);
2198
+ }
2199
+ }
2200
+ export class PriceFeed extends __Contract {
2201
+ static abi = abi;
2202
+ static storageSlots = storageSlots;
2203
+ constructor(id, accountOrProvider) {
2204
+ super(id, abi, accountOrProvider);
2205
+ }
2206
+ }
2207
+ //# sourceMappingURL=PriceFeed.js.map