@venusprotocol/oracle 2.15.0-slim-dev.7 → 2.15.0-slim

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 (86) hide show
  1. package/artifacts/contracts/DeviationBoundedOracle.sol/DeviationBoundedOracle.json +1383 -0
  2. package/artifacts/contracts/interfaces/IDeviationBoundedOracle.sol/IDeviationBoundedOracle.json +1052 -0
  3. package/artifacts/contracts/test/DeviationBoundedOracleCaller.sol/DeviationBoundedOracleCaller.json +212 -0
  4. package/artifacts-zk/contracts/DeviationBoundedOracle.sol/DeviationBoundedOracle.dbg.json +4 -0
  5. package/artifacts-zk/contracts/DeviationBoundedOracle.sol/DeviationBoundedOracle.json +1384 -0
  6. package/artifacts-zk/contracts/ReferenceOracle.sol/ReferenceOracle.dbg.json +1 -1
  7. package/artifacts-zk/contracts/ResilientOracle.sol/ResilientOracle.dbg.json +1 -1
  8. package/artifacts-zk/contracts/interfaces/FeedRegistryInterface.sol/FeedRegistryInterface.dbg.json +1 -1
  9. package/artifacts-zk/contracts/interfaces/IAccountant.sol/IAccountant.dbg.json +1 -1
  10. package/artifacts-zk/contracts/interfaces/IAnkrBNB.sol/IAnkrBNB.dbg.json +1 -1
  11. package/artifacts-zk/contracts/interfaces/IAsBNB.sol/IAsBNB.dbg.json +1 -1
  12. package/artifacts-zk/contracts/interfaces/IAsBNBMinter.sol/IAsBNBMinter.dbg.json +1 -1
  13. package/artifacts-zk/contracts/interfaces/ICappedOracle.sol/ICappedOracle.dbg.json +1 -1
  14. package/artifacts-zk/contracts/interfaces/IDeviationBoundedOracle.sol/IDeviationBoundedOracle.dbg.json +4 -0
  15. package/artifacts-zk/contracts/interfaces/IDeviationBoundedOracle.sol/IDeviationBoundedOracle.json +1053 -0
  16. package/artifacts-zk/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  17. package/artifacts-zk/contracts/interfaces/IEtherFiLiquidityPool.sol/IEtherFiLiquidityPool.dbg.json +1 -1
  18. package/artifacts-zk/contracts/interfaces/IPStakePool.sol/IPStakePool.dbg.json +1 -1
  19. package/artifacts-zk/contracts/interfaces/IPendlePtOracle.sol/IPendlePtOracle.dbg.json +1 -1
  20. package/artifacts-zk/contracts/interfaces/ISFrax.sol/ISFrax.dbg.json +1 -1
  21. package/artifacts-zk/contracts/interfaces/ISfrxEthFraxOracle.sol/ISfrxEthFraxOracle.dbg.json +1 -1
  22. package/artifacts-zk/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  23. package/artifacts-zk/contracts/interfaces/IStaderStakeManager.sol/IStaderStakeManager.dbg.json +1 -1
  24. package/artifacts-zk/contracts/interfaces/ISynclubStakeManager.sol/ISynclubStakeManager.dbg.json +1 -1
  25. package/artifacts-zk/contracts/interfaces/IWBETH.sol/IWBETH.dbg.json +1 -1
  26. package/artifacts-zk/contracts/interfaces/IZkETH.sol/IZkETH.dbg.json +1 -1
  27. package/artifacts-zk/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.dbg.json +1 -1
  28. package/artifacts-zk/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +1 -1
  29. package/artifacts-zk/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.dbg.json +1 -1
  30. package/artifacts-zk/contracts/interfaces/PublicResolverInterface.sol/PublicResolverInterface.dbg.json +1 -1
  31. package/artifacts-zk/contracts/interfaces/SIDRegistryInterface.sol/SIDRegistryInterface.dbg.json +1 -1
  32. package/artifacts-zk/contracts/interfaces/VBep20Interface.sol/VBep20Interface.dbg.json +1 -1
  33. package/artifacts-zk/contracts/lib/Transient.sol/Transient.dbg.json +1 -1
  34. package/artifacts-zk/contracts/oracles/AnkrBNBOracle.sol/AnkrBNBOracle.dbg.json +1 -1
  35. package/artifacts-zk/contracts/oracles/AsBNBOracle.sol/AsBNBOracle.dbg.json +1 -1
  36. package/artifacts-zk/contracts/oracles/BNBxOracle.sol/BNBxOracle.dbg.json +1 -1
  37. package/artifacts-zk/contracts/oracles/BinanceOracle.sol/BinanceOracle.dbg.json +1 -1
  38. package/artifacts-zk/contracts/oracles/BoundValidator.sol/BoundValidator.dbg.json +1 -1
  39. package/artifacts-zk/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.dbg.json +1 -1
  40. package/artifacts-zk/contracts/oracles/ERC4626Oracle.sol/ERC4626Oracle.dbg.json +1 -1
  41. package/artifacts-zk/contracts/oracles/EtherfiAccountantOracle.sol/EtherfiAccountantOracle.dbg.json +1 -1
  42. package/artifacts-zk/contracts/oracles/OneJumpOracle.sol/OneJumpOracle.dbg.json +1 -1
  43. package/artifacts-zk/contracts/oracles/PendleOracle.sol/PendleOracle.dbg.json +1 -1
  44. package/artifacts-zk/contracts/oracles/SFraxOracle.sol/SFraxOracle.dbg.json +1 -1
  45. package/artifacts-zk/contracts/oracles/SFrxETHOracle.sol/SFrxETHOracle.dbg.json +1 -1
  46. package/artifacts-zk/contracts/oracles/SequencerChainlinkOracle.sol/SequencerChainlinkOracle.dbg.json +1 -1
  47. package/artifacts-zk/contracts/oracles/SlisBNBOracle.sol/SlisBNBOracle.dbg.json +1 -1
  48. package/artifacts-zk/contracts/oracles/StableUsdtPriceFeed.sol/StableUsdtPriceFeed.dbg.json +1 -1
  49. package/artifacts-zk/contracts/oracles/StkBNBOracle.sol/StkBNBOracle.dbg.json +1 -1
  50. package/artifacts-zk/contracts/oracles/WBETHOracle.sol/WBETHOracle.dbg.json +1 -1
  51. package/artifacts-zk/contracts/oracles/WeETHAccountantOracle.sol/WeETHAccountantOracle.dbg.json +1 -1
  52. package/artifacts-zk/contracts/oracles/WeETHOracle.sol/WeETHOracle.dbg.json +1 -1
  53. package/artifacts-zk/contracts/oracles/WstETHOracle.sol/WstETHOracle.dbg.json +1 -1
  54. package/artifacts-zk/contracts/oracles/WstETHOracleV2.sol/WstETHOracleV2.dbg.json +1 -1
  55. package/artifacts-zk/contracts/oracles/ZkETHOracle.sol/ZkETHOracle.dbg.json +1 -1
  56. package/artifacts-zk/contracts/oracles/common/CorrelatedTokenOracle.sol/CorrelatedTokenOracle.dbg.json +1 -1
  57. package/artifacts-zk/contracts/oracles/mocks/MockAccountant.sol/MockAccountant.dbg.json +1 -1
  58. package/artifacts-zk/contracts/oracles/mocks/MockBinanceFeedRegistry.sol/MockBinanceFeedRegistry.dbg.json +1 -1
  59. package/artifacts-zk/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.dbg.json +1 -1
  60. package/artifacts-zk/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.dbg.json +1 -1
  61. package/artifacts-zk/contracts/oracles/mocks/MockPendlePtOracle.sol/MockPendlePtOracle.dbg.json +1 -1
  62. package/artifacts-zk/contracts/oracles/mocks/MockSFrxEthFraxOracle.sol/MockSfrxEthFraxOracle.dbg.json +1 -1
  63. package/artifacts-zk/contracts/test/BEP20Harness.sol/BEP20Harness.dbg.json +1 -1
  64. package/artifacts-zk/contracts/test/DeviationBoundedOracleCaller.sol/DeviationBoundedOracleCaller.dbg.json +4 -0
  65. package/artifacts-zk/contracts/test/DeviationBoundedOracleCaller.sol/DeviationBoundedOracleCaller.json +213 -0
  66. package/artifacts-zk/contracts/test/MockAnkrBNB.sol/MockAnkrBNB.dbg.json +1 -1
  67. package/artifacts-zk/contracts/test/MockAsBNB.sol/MockAsBNB.dbg.json +1 -1
  68. package/artifacts-zk/contracts/test/MockAsBNBMinter.sol/MockAsBNBMinter.dbg.json +1 -1
  69. package/artifacts-zk/contracts/test/MockCallPrice.sol/CorrelatedTokenOracleInterface.dbg.json +1 -1
  70. package/artifacts-zk/contracts/test/MockCallPrice.sol/MockCallPrice.dbg.json +1 -1
  71. package/artifacts-zk/contracts/test/MockEtherFiLiquidityPool.sol/MockEtherFiLiquidityPool.dbg.json +1 -1
  72. package/artifacts-zk/contracts/test/MockSFrax.sol/MockSFrax.dbg.json +1 -1
  73. package/artifacts-zk/contracts/test/MockSimpleOracle.sol/MockBoundValidator.dbg.json +1 -1
  74. package/artifacts-zk/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.dbg.json +1 -1
  75. package/artifacts-zk/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.dbg.json +1 -1
  76. package/artifacts-zk/contracts/test/MockWBETH.sol/MockWBETH.dbg.json +1 -1
  77. package/artifacts-zk/contracts/test/PancakePairHarness.sol/Math.dbg.json +1 -1
  78. package/artifacts-zk/contracts/test/PancakePairHarness.sol/PancakePairHarness.dbg.json +1 -1
  79. package/artifacts-zk/contracts/test/PancakePairHarness.sol/UQ112x112.dbg.json +1 -1
  80. package/artifacts-zk/contracts/test/VBEP20Harness.sol/VBEP20Harness.dbg.json +1 -1
  81. package/artifacts-zk/contracts/test/oracles/MockCorrelatedTokenOracle.sol/MockCorrelatedTokenOracle.dbg.json +1 -1
  82. package/artifacts-zk/contracts/test/oracles/MockERC20.sol/MockERC20.dbg.json +1 -1
  83. package/artifacts-zk/contracts/test/oracles/MockResilientOracle.sol/MockOracle.dbg.json +1 -1
  84. package/deployments/bscmainnet_addresses.json +3 -0
  85. package/deployments/bsctestnet_addresses.json +3 -0
  86. package/package.json +1 -1
@@ -0,0 +1,1053 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "IDeviationBoundedOracle",
4
+ "sourceName": "contracts/interfaces/IDeviationBoundedOracle.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "asset",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "uint64",
15
+ "name": "lastProtectionTriggeredAt",
16
+ "type": "uint64"
17
+ },
18
+ {
19
+ "internalType": "uint64",
20
+ "name": "cooldownPeriod",
21
+ "type": "uint64"
22
+ }
23
+ ],
24
+ "name": "CooldownNotElapsed",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [],
29
+ "name": "InvalidArrayLength",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [
34
+ {
35
+ "internalType": "uint8",
36
+ "name": "action",
37
+ "type": "uint8"
38
+ }
39
+ ],
40
+ "name": "InvalidKeeperAction",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [
45
+ {
46
+ "internalType": "address",
47
+ "name": "asset",
48
+ "type": "address"
49
+ },
50
+ {
51
+ "internalType": "uint128",
52
+ "name": "newMax",
53
+ "type": "uint128"
54
+ },
55
+ {
56
+ "internalType": "uint256",
57
+ "name": "currentSpot",
58
+ "type": "uint256"
59
+ }
60
+ ],
61
+ "name": "InvalidMaxPrice",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [
66
+ {
67
+ "internalType": "address",
68
+ "name": "asset",
69
+ "type": "address"
70
+ },
71
+ {
72
+ "internalType": "uint128",
73
+ "name": "newMin",
74
+ "type": "uint128"
75
+ },
76
+ {
77
+ "internalType": "uint256",
78
+ "name": "currentSpot",
79
+ "type": "uint256"
80
+ }
81
+ ],
82
+ "name": "InvalidMinPrice",
83
+ "type": "error"
84
+ },
85
+ {
86
+ "inputs": [
87
+ {
88
+ "internalType": "uint256",
89
+ "name": "resetThreshold",
90
+ "type": "uint256"
91
+ }
92
+ ],
93
+ "name": "InvalidResetThreshold",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [
98
+ {
99
+ "internalType": "address",
100
+ "name": "asset",
101
+ "type": "address"
102
+ }
103
+ ],
104
+ "name": "MarketAlreadyInitialized",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [
109
+ {
110
+ "internalType": "address",
111
+ "name": "asset",
112
+ "type": "address"
113
+ }
114
+ ],
115
+ "name": "MarketNotInitialized",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "uint256",
122
+ "name": "price",
123
+ "type": "uint256"
124
+ }
125
+ ],
126
+ "name": "PriceExceedsUint128",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "asset",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "internalType": "uint256",
138
+ "name": "currentRangeRatio",
139
+ "type": "uint256"
140
+ },
141
+ {
142
+ "internalType": "uint256",
143
+ "name": "resetThreshold",
144
+ "type": "uint256"
145
+ }
146
+ ],
147
+ "name": "PriceRangeNotConverged",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "asset",
155
+ "type": "address"
156
+ }
157
+ ],
158
+ "name": "ProtectedPriceActive",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [
163
+ {
164
+ "internalType": "address",
165
+ "name": "asset",
166
+ "type": "address"
167
+ }
168
+ ],
169
+ "name": "ProtectedPriceInactive",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "uint256",
176
+ "name": "threshold",
177
+ "type": "uint256"
178
+ },
179
+ {
180
+ "internalType": "uint256",
181
+ "name": "maximum",
182
+ "type": "uint256"
183
+ }
184
+ ],
185
+ "name": "ThresholdAboveMaximum",
186
+ "type": "error"
187
+ },
188
+ {
189
+ "inputs": [
190
+ {
191
+ "internalType": "uint256",
192
+ "name": "threshold",
193
+ "type": "uint256"
194
+ },
195
+ {
196
+ "internalType": "uint256",
197
+ "name": "minimum",
198
+ "type": "uint256"
199
+ }
200
+ ],
201
+ "name": "ThresholdBelowMinimum",
202
+ "type": "error"
203
+ },
204
+ {
205
+ "inputs": [],
206
+ "name": "VAINotAllowed",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [],
211
+ "name": "ZeroPriceNotAllowed",
212
+ "type": "error"
213
+ },
214
+ {
215
+ "anonymous": false,
216
+ "inputs": [
217
+ {
218
+ "indexed": true,
219
+ "internalType": "address",
220
+ "name": "asset",
221
+ "type": "address"
222
+ },
223
+ {
224
+ "indexed": false,
225
+ "internalType": "bool",
226
+ "name": "whitelisted",
227
+ "type": "bool"
228
+ }
229
+ ],
230
+ "name": "BoundedPricingWhitelistUpdated",
231
+ "type": "event"
232
+ },
233
+ {
234
+ "anonymous": false,
235
+ "inputs": [
236
+ {
237
+ "indexed": true,
238
+ "internalType": "address",
239
+ "name": "asset",
240
+ "type": "address"
241
+ },
242
+ {
243
+ "indexed": false,
244
+ "internalType": "bool",
245
+ "name": "oldEnabled",
246
+ "type": "bool"
247
+ },
248
+ {
249
+ "indexed": false,
250
+ "internalType": "bool",
251
+ "name": "newEnabled",
252
+ "type": "bool"
253
+ }
254
+ ],
255
+ "name": "CachingEnabledUpdated",
256
+ "type": "event"
257
+ },
258
+ {
259
+ "anonymous": false,
260
+ "inputs": [
261
+ {
262
+ "indexed": true,
263
+ "internalType": "address",
264
+ "name": "asset",
265
+ "type": "address"
266
+ },
267
+ {
268
+ "indexed": false,
269
+ "internalType": "uint64",
270
+ "name": "oldCooldown",
271
+ "type": "uint64"
272
+ },
273
+ {
274
+ "indexed": false,
275
+ "internalType": "uint64",
276
+ "name": "newCooldown",
277
+ "type": "uint64"
278
+ }
279
+ ],
280
+ "name": "CooldownPeriodSet",
281
+ "type": "event"
282
+ },
283
+ {
284
+ "anonymous": false,
285
+ "inputs": [
286
+ {
287
+ "indexed": true,
288
+ "internalType": "address",
289
+ "name": "asset",
290
+ "type": "address"
291
+ },
292
+ {
293
+ "indexed": false,
294
+ "internalType": "uint128",
295
+ "name": "oldMax",
296
+ "type": "uint128"
297
+ },
298
+ {
299
+ "indexed": false,
300
+ "internalType": "uint128",
301
+ "name": "newMax",
302
+ "type": "uint128"
303
+ }
304
+ ],
305
+ "name": "MaxPriceUpdated",
306
+ "type": "event"
307
+ },
308
+ {
309
+ "anonymous": false,
310
+ "inputs": [
311
+ {
312
+ "indexed": true,
313
+ "internalType": "address",
314
+ "name": "asset",
315
+ "type": "address"
316
+ },
317
+ {
318
+ "indexed": false,
319
+ "internalType": "uint128",
320
+ "name": "oldMin",
321
+ "type": "uint128"
322
+ },
323
+ {
324
+ "indexed": false,
325
+ "internalType": "uint128",
326
+ "name": "newMin",
327
+ "type": "uint128"
328
+ }
329
+ ],
330
+ "name": "MinPriceUpdated",
331
+ "type": "event"
332
+ },
333
+ {
334
+ "anonymous": false,
335
+ "inputs": [
336
+ {
337
+ "indexed": true,
338
+ "internalType": "address",
339
+ "name": "asset",
340
+ "type": "address"
341
+ },
342
+ {
343
+ "indexed": false,
344
+ "internalType": "uint128",
345
+ "name": "minPrice",
346
+ "type": "uint128"
347
+ },
348
+ {
349
+ "indexed": false,
350
+ "internalType": "uint128",
351
+ "name": "maxPrice",
352
+ "type": "uint128"
353
+ },
354
+ {
355
+ "indexed": false,
356
+ "internalType": "uint64",
357
+ "name": "cooldownPeriod",
358
+ "type": "uint64"
359
+ },
360
+ {
361
+ "indexed": false,
362
+ "internalType": "uint256",
363
+ "name": "triggerThreshold",
364
+ "type": "uint256"
365
+ }
366
+ ],
367
+ "name": "ProtectionInitialized",
368
+ "type": "event"
369
+ },
370
+ {
371
+ "anonymous": false,
372
+ "inputs": [
373
+ {
374
+ "indexed": true,
375
+ "internalType": "address",
376
+ "name": "asset",
377
+ "type": "address"
378
+ }
379
+ ],
380
+ "name": "ProtectionModeExited",
381
+ "type": "event"
382
+ },
383
+ {
384
+ "anonymous": false,
385
+ "inputs": [
386
+ {
387
+ "indexed": true,
388
+ "internalType": "address",
389
+ "name": "asset",
390
+ "type": "address"
391
+ },
392
+ {
393
+ "indexed": false,
394
+ "internalType": "uint256",
395
+ "name": "spotPrice",
396
+ "type": "uint256"
397
+ },
398
+ {
399
+ "indexed": false,
400
+ "internalType": "uint128",
401
+ "name": "minPrice",
402
+ "type": "uint128"
403
+ },
404
+ {
405
+ "indexed": false,
406
+ "internalType": "uint128",
407
+ "name": "maxPrice",
408
+ "type": "uint128"
409
+ }
410
+ ],
411
+ "name": "ProtectionTriggered",
412
+ "type": "event"
413
+ },
414
+ {
415
+ "anonymous": false,
416
+ "inputs": [
417
+ {
418
+ "indexed": true,
419
+ "internalType": "address",
420
+ "name": "asset",
421
+ "type": "address"
422
+ },
423
+ {
424
+ "indexed": false,
425
+ "internalType": "uint256",
426
+ "name": "oldExitThreshold",
427
+ "type": "uint256"
428
+ },
429
+ {
430
+ "indexed": false,
431
+ "internalType": "uint256",
432
+ "name": "newExitThreshold",
433
+ "type": "uint256"
434
+ }
435
+ ],
436
+ "name": "ResetThresholdSet",
437
+ "type": "event"
438
+ },
439
+ {
440
+ "anonymous": false,
441
+ "inputs": [
442
+ {
443
+ "indexed": true,
444
+ "internalType": "address",
445
+ "name": "asset",
446
+ "type": "address"
447
+ },
448
+ {
449
+ "indexed": false,
450
+ "internalType": "uint256",
451
+ "name": "oldThreshold",
452
+ "type": "uint256"
453
+ },
454
+ {
455
+ "indexed": false,
456
+ "internalType": "uint256",
457
+ "name": "newThreshold",
458
+ "type": "uint256"
459
+ }
460
+ ],
461
+ "name": "TriggerThresholdSet",
462
+ "type": "event"
463
+ },
464
+ {
465
+ "inputs": [
466
+ {
467
+ "internalType": "uint256",
468
+ "name": "index",
469
+ "type": "uint256"
470
+ }
471
+ ],
472
+ "name": "allAssets",
473
+ "outputs": [
474
+ {
475
+ "internalType": "address",
476
+ "name": "",
477
+ "type": "address"
478
+ }
479
+ ],
480
+ "stateMutability": "view",
481
+ "type": "function"
482
+ },
483
+ {
484
+ "inputs": [
485
+ {
486
+ "internalType": "address",
487
+ "name": "asset",
488
+ "type": "address"
489
+ }
490
+ ],
491
+ "name": "assetProtectionConfig",
492
+ "outputs": [
493
+ {
494
+ "internalType": "uint128",
495
+ "name": "minPrice",
496
+ "type": "uint128"
497
+ },
498
+ {
499
+ "internalType": "uint128",
500
+ "name": "maxPrice",
501
+ "type": "uint128"
502
+ },
503
+ {
504
+ "internalType": "bool",
505
+ "name": "currentlyUsingProtectedPrice",
506
+ "type": "bool"
507
+ },
508
+ {
509
+ "internalType": "bool",
510
+ "name": "isBoundedPricingEnabled",
511
+ "type": "bool"
512
+ },
513
+ {
514
+ "internalType": "uint64",
515
+ "name": "lastProtectionTriggeredAt",
516
+ "type": "uint64"
517
+ },
518
+ {
519
+ "internalType": "uint64",
520
+ "name": "cooldownPeriod",
521
+ "type": "uint64"
522
+ },
523
+ {
524
+ "internalType": "address",
525
+ "name": "assetAddr",
526
+ "type": "address"
527
+ },
528
+ {
529
+ "internalType": "uint128",
530
+ "name": "triggerThreshold",
531
+ "type": "uint128"
532
+ },
533
+ {
534
+ "internalType": "uint128",
535
+ "name": "resetThreshold",
536
+ "type": "uint128"
537
+ },
538
+ {
539
+ "internalType": "bool",
540
+ "name": "cachingEnabled",
541
+ "type": "bool"
542
+ }
543
+ ],
544
+ "stateMutability": "view",
545
+ "type": "function"
546
+ },
547
+ {
548
+ "inputs": [
549
+ {
550
+ "internalType": "address",
551
+ "name": "asset",
552
+ "type": "address"
553
+ }
554
+ ],
555
+ "name": "canExitProtection",
556
+ "outputs": [
557
+ {
558
+ "internalType": "bool",
559
+ "name": "",
560
+ "type": "bool"
561
+ }
562
+ ],
563
+ "stateMutability": "view",
564
+ "type": "function"
565
+ },
566
+ {
567
+ "inputs": [
568
+ {
569
+ "internalType": "address[]",
570
+ "name": "assets",
571
+ "type": "address[]"
572
+ },
573
+ {
574
+ "internalType": "uint128[]",
575
+ "name": "proposedMins",
576
+ "type": "uint128[]"
577
+ },
578
+ {
579
+ "internalType": "uint128[]",
580
+ "name": "proposedMaxs",
581
+ "type": "uint128[]"
582
+ }
583
+ ],
584
+ "name": "checkAndGetWindowDrift",
585
+ "outputs": [
586
+ {
587
+ "internalType": "bool[]",
588
+ "name": "needsMinUpdate",
589
+ "type": "bool[]"
590
+ },
591
+ {
592
+ "internalType": "bool[]",
593
+ "name": "needsMaxUpdate",
594
+ "type": "bool[]"
595
+ }
596
+ ],
597
+ "stateMutability": "view",
598
+ "type": "function"
599
+ },
600
+ {
601
+ "inputs": [
602
+ {
603
+ "internalType": "address",
604
+ "name": "asset",
605
+ "type": "address"
606
+ }
607
+ ],
608
+ "name": "currentlyUsingProtectedPrice",
609
+ "outputs": [
610
+ {
611
+ "internalType": "bool",
612
+ "name": "",
613
+ "type": "bool"
614
+ }
615
+ ],
616
+ "stateMutability": "view",
617
+ "type": "function"
618
+ },
619
+ {
620
+ "inputs": [
621
+ {
622
+ "internalType": "address",
623
+ "name": "asset",
624
+ "type": "address"
625
+ }
626
+ ],
627
+ "name": "exitProtectionMode",
628
+ "outputs": [],
629
+ "stateMutability": "nonpayable",
630
+ "type": "function"
631
+ },
632
+ {
633
+ "inputs": [],
634
+ "name": "getAllBoundedPricingEnabledAssets",
635
+ "outputs": [
636
+ {
637
+ "internalType": "address[]",
638
+ "name": "result",
639
+ "type": "address[]"
640
+ }
641
+ ],
642
+ "stateMutability": "view",
643
+ "type": "function"
644
+ },
645
+ {
646
+ "inputs": [
647
+ {
648
+ "internalType": "address",
649
+ "name": "vToken",
650
+ "type": "address"
651
+ }
652
+ ],
653
+ "name": "getBoundedCollateralPrice",
654
+ "outputs": [
655
+ {
656
+ "internalType": "uint256",
657
+ "name": "collateralPrice",
658
+ "type": "uint256"
659
+ }
660
+ ],
661
+ "stateMutability": "nonpayable",
662
+ "type": "function"
663
+ },
664
+ {
665
+ "inputs": [
666
+ {
667
+ "internalType": "address",
668
+ "name": "vToken",
669
+ "type": "address"
670
+ }
671
+ ],
672
+ "name": "getBoundedCollateralPriceView",
673
+ "outputs": [
674
+ {
675
+ "internalType": "uint256",
676
+ "name": "price",
677
+ "type": "uint256"
678
+ }
679
+ ],
680
+ "stateMutability": "view",
681
+ "type": "function"
682
+ },
683
+ {
684
+ "inputs": [
685
+ {
686
+ "internalType": "address",
687
+ "name": "vToken",
688
+ "type": "address"
689
+ }
690
+ ],
691
+ "name": "getBoundedDebtPrice",
692
+ "outputs": [
693
+ {
694
+ "internalType": "uint256",
695
+ "name": "debtPrice",
696
+ "type": "uint256"
697
+ }
698
+ ],
699
+ "stateMutability": "nonpayable",
700
+ "type": "function"
701
+ },
702
+ {
703
+ "inputs": [
704
+ {
705
+ "internalType": "address",
706
+ "name": "vToken",
707
+ "type": "address"
708
+ }
709
+ ],
710
+ "name": "getBoundedDebtPriceView",
711
+ "outputs": [
712
+ {
713
+ "internalType": "uint256",
714
+ "name": "price",
715
+ "type": "uint256"
716
+ }
717
+ ],
718
+ "stateMutability": "view",
719
+ "type": "function"
720
+ },
721
+ {
722
+ "inputs": [
723
+ {
724
+ "internalType": "address",
725
+ "name": "vToken",
726
+ "type": "address"
727
+ }
728
+ ],
729
+ "name": "getBoundedPrices",
730
+ "outputs": [
731
+ {
732
+ "internalType": "uint256",
733
+ "name": "collateralPrice",
734
+ "type": "uint256"
735
+ },
736
+ {
737
+ "internalType": "uint256",
738
+ "name": "debtPrice",
739
+ "type": "uint256"
740
+ }
741
+ ],
742
+ "stateMutability": "nonpayable",
743
+ "type": "function"
744
+ },
745
+ {
746
+ "inputs": [
747
+ {
748
+ "internalType": "address",
749
+ "name": "vToken",
750
+ "type": "address"
751
+ }
752
+ ],
753
+ "name": "getBoundedPricesView",
754
+ "outputs": [
755
+ {
756
+ "internalType": "uint256",
757
+ "name": "collateralPrice",
758
+ "type": "uint256"
759
+ },
760
+ {
761
+ "internalType": "uint256",
762
+ "name": "debtPrice",
763
+ "type": "uint256"
764
+ }
765
+ ],
766
+ "stateMutability": "view",
767
+ "type": "function"
768
+ },
769
+ {
770
+ "inputs": [],
771
+ "name": "getInitializedAssets",
772
+ "outputs": [
773
+ {
774
+ "internalType": "address[]",
775
+ "name": "",
776
+ "type": "address[]"
777
+ }
778
+ ],
779
+ "stateMutability": "view",
780
+ "type": "function"
781
+ },
782
+ {
783
+ "inputs": [
784
+ {
785
+ "internalType": "address",
786
+ "name": "asset",
787
+ "type": "address"
788
+ }
789
+ ],
790
+ "name": "isBoundedPricingEnabled",
791
+ "outputs": [
792
+ {
793
+ "internalType": "bool",
794
+ "name": "",
795
+ "type": "bool"
796
+ }
797
+ ],
798
+ "stateMutability": "view",
799
+ "type": "function"
800
+ },
801
+ {
802
+ "inputs": [
803
+ {
804
+ "internalType": "address",
805
+ "name": "asset",
806
+ "type": "address"
807
+ },
808
+ {
809
+ "internalType": "bool",
810
+ "name": "enabled",
811
+ "type": "bool"
812
+ }
813
+ ],
814
+ "name": "setAssetBoundedPricingEnabled",
815
+ "outputs": [],
816
+ "stateMutability": "nonpayable",
817
+ "type": "function"
818
+ },
819
+ {
820
+ "inputs": [
821
+ {
822
+ "internalType": "address",
823
+ "name": "asset",
824
+ "type": "address"
825
+ },
826
+ {
827
+ "internalType": "bool",
828
+ "name": "enabled",
829
+ "type": "bool"
830
+ }
831
+ ],
832
+ "name": "setCachingEnabled",
833
+ "outputs": [],
834
+ "stateMutability": "nonpayable",
835
+ "type": "function"
836
+ },
837
+ {
838
+ "inputs": [
839
+ {
840
+ "internalType": "address",
841
+ "name": "asset",
842
+ "type": "address"
843
+ },
844
+ {
845
+ "internalType": "uint64",
846
+ "name": "newCooldown",
847
+ "type": "uint64"
848
+ }
849
+ ],
850
+ "name": "setCooldownPeriod",
851
+ "outputs": [],
852
+ "stateMutability": "nonpayable",
853
+ "type": "function"
854
+ },
855
+ {
856
+ "inputs": [
857
+ {
858
+ "internalType": "address",
859
+ "name": "asset",
860
+ "type": "address"
861
+ },
862
+ {
863
+ "internalType": "uint256",
864
+ "name": "newTriggerThreshold",
865
+ "type": "uint256"
866
+ },
867
+ {
868
+ "internalType": "uint256",
869
+ "name": "newResetThreshold",
870
+ "type": "uint256"
871
+ }
872
+ ],
873
+ "name": "setThresholds",
874
+ "outputs": [],
875
+ "stateMutability": "nonpayable",
876
+ "type": "function"
877
+ },
878
+ {
879
+ "inputs": [
880
+ {
881
+ "components": [
882
+ {
883
+ "internalType": "address",
884
+ "name": "asset",
885
+ "type": "address"
886
+ },
887
+ {
888
+ "internalType": "uint64",
889
+ "name": "cooldownPeriod",
890
+ "type": "uint64"
891
+ },
892
+ {
893
+ "internalType": "uint256",
894
+ "name": "triggerThreshold",
895
+ "type": "uint256"
896
+ },
897
+ {
898
+ "internalType": "uint256",
899
+ "name": "resetThreshold",
900
+ "type": "uint256"
901
+ },
902
+ {
903
+ "internalType": "bool",
904
+ "name": "enableBoundedPricing",
905
+ "type": "bool"
906
+ },
907
+ {
908
+ "internalType": "bool",
909
+ "name": "enableCaching",
910
+ "type": "bool"
911
+ }
912
+ ],
913
+ "internalType": "struct IDeviationBoundedOracle.TokenConfigInput",
914
+ "name": "tokenConfig_",
915
+ "type": "tuple"
916
+ }
917
+ ],
918
+ "name": "setTokenConfig",
919
+ "outputs": [],
920
+ "stateMutability": "nonpayable",
921
+ "type": "function"
922
+ },
923
+ {
924
+ "inputs": [
925
+ {
926
+ "components": [
927
+ {
928
+ "internalType": "address",
929
+ "name": "asset",
930
+ "type": "address"
931
+ },
932
+ {
933
+ "internalType": "uint64",
934
+ "name": "cooldownPeriod",
935
+ "type": "uint64"
936
+ },
937
+ {
938
+ "internalType": "uint256",
939
+ "name": "triggerThreshold",
940
+ "type": "uint256"
941
+ },
942
+ {
943
+ "internalType": "uint256",
944
+ "name": "resetThreshold",
945
+ "type": "uint256"
946
+ },
947
+ {
948
+ "internalType": "bool",
949
+ "name": "enableBoundedPricing",
950
+ "type": "bool"
951
+ },
952
+ {
953
+ "internalType": "bool",
954
+ "name": "enableCaching",
955
+ "type": "bool"
956
+ }
957
+ ],
958
+ "internalType": "struct IDeviationBoundedOracle.TokenConfigInput[]",
959
+ "name": "tokenConfigs_",
960
+ "type": "tuple[]"
961
+ }
962
+ ],
963
+ "name": "setTokenConfigs",
964
+ "outputs": [],
965
+ "stateMutability": "nonpayable",
966
+ "type": "function"
967
+ },
968
+ {
969
+ "inputs": [
970
+ {
971
+ "components": [
972
+ {
973
+ "internalType": "address",
974
+ "name": "asset",
975
+ "type": "address"
976
+ },
977
+ {
978
+ "internalType": "enum IDeviationBoundedOracle.KeeperAction",
979
+ "name": "action",
980
+ "type": "uint8"
981
+ },
982
+ {
983
+ "internalType": "uint256",
984
+ "name": "value",
985
+ "type": "uint256"
986
+ }
987
+ ],
988
+ "internalType": "struct IDeviationBoundedOracle.KeeperActionItem[]",
989
+ "name": "actions",
990
+ "type": "tuple[]"
991
+ }
992
+ ],
993
+ "name": "syncPriceBoundsAndProtections",
994
+ "outputs": [],
995
+ "stateMutability": "nonpayable",
996
+ "type": "function"
997
+ },
998
+ {
999
+ "inputs": [
1000
+ {
1001
+ "internalType": "address",
1002
+ "name": "asset",
1003
+ "type": "address"
1004
+ },
1005
+ {
1006
+ "internalType": "uint128",
1007
+ "name": "newMax",
1008
+ "type": "uint128"
1009
+ }
1010
+ ],
1011
+ "name": "updateMaxPrice",
1012
+ "outputs": [],
1013
+ "stateMutability": "nonpayable",
1014
+ "type": "function"
1015
+ },
1016
+ {
1017
+ "inputs": [
1018
+ {
1019
+ "internalType": "address",
1020
+ "name": "asset",
1021
+ "type": "address"
1022
+ },
1023
+ {
1024
+ "internalType": "uint128",
1025
+ "name": "newMin",
1026
+ "type": "uint128"
1027
+ }
1028
+ ],
1029
+ "name": "updateMinPrice",
1030
+ "outputs": [],
1031
+ "stateMutability": "nonpayable",
1032
+ "type": "function"
1033
+ },
1034
+ {
1035
+ "inputs": [
1036
+ {
1037
+ "internalType": "address",
1038
+ "name": "vToken",
1039
+ "type": "address"
1040
+ }
1041
+ ],
1042
+ "name": "updateProtectionState",
1043
+ "outputs": [],
1044
+ "stateMutability": "nonpayable",
1045
+ "type": "function"
1046
+ }
1047
+ ],
1048
+ "bytecode": "0x",
1049
+ "deployedBytecode": "0x",
1050
+ "linkReferences": {},
1051
+ "deployedLinkReferences": {},
1052
+ "factoryDeps": {}
1053
+ }