diff --git a/reports/EzETH_EthereumLido.md b/reports/EzETH_EthereumLido.md index db87c0d..e1f7469 100644 --- a/reports/EzETH_EthereumLido.md +++ b/reports/EzETH_EthereumLido.md @@ -1,96 +1,92 @@ # Capo Report -| Capped ezETH / ETH / USD | ETH / USD | Diff | Date | 7-day growth in yearly % | -| ------------------------ | ------------- | ----- | ------------ | ------------------------ | -| 3066.39517233 | 3023.73642666 | 1.40% | 08 Jul 2024 | 3.29% | -| 3110.26363106 | 3066.95039832 | 1.40% | 09 Jul 2024 | 3.02% | -| 3144.35483996 | 3100.54597808 | 1.40% | 11 Jul 2024 | 2.28% | -| 3145.71135675 | 3101.66197587 | 1.41% | 12 Jul 2024 | 1.41% | -| 3177.61783922 | 3133.09284038 | 1.41% | 13 Jul 2024 | 0.59% | -| 3232.34945122 | 3187.03826377 | 1.41% | 14 Jul 2024 | 0.61% | -| 3324.92464712 | 3277.20999151 | 1.45% | 15 Jul 2024 | 2.31% | -| 3529.71122368 | 3478.91 | 1.45% | 16 Jul 2024 | 2.49% | -| 3539.31539655 | 3488.3103 | 1.45% | 17 Jul 2024 | 2.51% | -| 3473.03433758 | 3422.95526286 | 1.45% | 18 Jul 2024 | 2.52% | -| 3476.99164019 | 3426.79745342 | 1.45% | 19 Jul 2024 | 2.24% | -| 3549.83813328 | 3498.59 | 1.45% | 20 Jul 2024 | 2.20% | -| 3565.51758157 | 3514.04 | 1.45% | 21 Jul 2024 | 2.17% | -| 3569.13230764 | 3517.55376563 | 1.46% | 22 Jul 2024 | 0.52% | -| 3493.37855572 | 3441.1986 | 1.50% | 23 Jul 2024 | 2.82% | -| 3493.78848977 | 3441.56 | 1.51% | 24 Jul 2024 | 2.79% | -| 3216.64786853 | 3168.49630066 | 1.51% | 25 Jul 2024 | 2.85% | -| 3315.5324063 | 3265.8595 | 1.51% | 26 Jul 2024 | 2.83% | -| 3317.14439854 | 3267.39 | 1.51% | 27 Jul 2024 | 2.92% | -| 3270.04237914 | 3220.92759 | 1.51% | 28 Jul 2024 | 3.02% | -| 3418.87420874 | 3367.47184089 | 1.51% | 29 Jul 2024 | 3.03% | -| 3391.42786544 | 3340.28 | 1.52% | 30 Jul 2024 | 0.75% | -| 3371.53762547 | 3320.32 | 1.53% | 31 Jul 2024 | 1.25% | -| 3231.53807192 | 3181.86272041 | 1.55% | 01 Aug 2024 | 2.09% | -| 3200.77263102 | 3151.45 | 1.55% | 02 Aug 2024 | 2.22% | -| 3032.40815304 | 2985.65 | 1.55% | 03 Aug 2024 | 2.18% | -| 2956.78644594 | 2911.1154706 | 1.56% | 04 Aug 2024 | 2.21% | -| 2276.30015523 | 2241.18 | 1.55% | 05 Aug 2024 | 2.04% | -| 2496.00027204 | 2457.27949589 | 1.56% | 06 Aug 2024 | 2.24% | -| 2502.82788079 | 2463.92073905 | 1.57% | 07 Aug 2024 | 1.84% | -| 2529.52598397 | 2489.9589 | 1.58% | 08 Aug 2024 | 1.40% | -| 2668.15760933 | 2626.5397 | 1.57% | 09 Aug 2024 | 0.97% | -| 2661.0455983 | 2618.87703054 | 1.60% | 10 Aug 2024 | 2.22% | -| 2681.85168794 | 2638.5803 | 1.63% | 11 Aug 2024 | 3.58% | -| 2750.93929579 | 2706.4744011 | 1.63% | 12 Aug 2024 | 3.82% | -| 2708.81782904 | 2664.9414737 | 1.63% | 13 Aug 2024 | 3.56% | -| 2696.76053052 | 2653.03249 | 1.63% | 14 Aug 2024 | 3.48% | -| 2716.16538497 | 2672.05809041 | 1.64% | 15 Aug 2024 | 3.10% | -| 2622.00586239 | 2579.3875 | 1.64% | 16 Aug 2024 | 3.41% | -| 2667.84459211 | 2624.34986 | 1.64% | 17 Aug 2024 | 2.37% | -| 2714.37940064 | 2669.9173273 | 1.65% | 18 Aug 2024 | 1.27% | -| 2645.06889585 | 2600.96 | 1.68% | 19 Aug 2024 | 2.66% | -| 2633.07192316 | 2588.43059321 | 1.71% | 20 Aug 2024 | 3.93% | -| 2684.66616377 | 2639.12986679 | 1.71% | 21 Aug 2024 | 3.88% | -| 2653.09552113 | 2608.0466 | 1.71% | 22 Aug 2024 | 3.85% | -| 2794.64198401 | 2747.13425101 | 1.71% | 23 Aug 2024 | 3.87% | -| 2843.78075809 | 2795.4031 | 1.72% | 24 Aug 2024 | 3.68% | -| 2815.39057472 | 2767.45913681 | 1.72% | 25 Aug 2024 | 3.35% | -| 2735.99484482 | 2689.2 | 1.73% | 26 Aug 2024 | 2.22% | -| 2578.47397615 | 2533.80102258 | 1.75% | 27 Aug 2024 | 1.93% | -| 2580.51472854 | 2535.23428167 | 1.77% | 28 Aug 2024 | 3.04% | -| 2563.65068092 | 2518.5144439 | 1.78% | 29 Aug 2024 | 3.25% | -| 2572.12979951 | 2526.73 | 1.78% | 30 Aug 2024 | 3.38% | -| 2562.05354821 | 2516.79 | 1.78% | 31 Aug 2024 | 3.40% | -| 2471.38964434 | 2427.7097 | 1.78% | 02 Sept 2024 | 3.38% | -| 2580.688114 | 2535.06 | 1.78% | 03 Sept 2024 | 3.00% | -| 2451.27319202 | 2407.90464737 | 1.79% | 04 Sept 2024 | 1.91% | -| 2502.14163218 | 2457.7383 | 1.79% | 05 Sept 2024 | 1.03% | -| 2441.86122995 | 2398.33 | 1.80% | 06 Sept 2024 | 1.15% | -| 2264.95050419 | 2223.86 | 1.83% | 07 Sept 2024 | 2.56% | -| 2319.14462299 | 2277.02 | 1.83% | 08 Sept 2024 | 2.59% | -| 2346.38165297 | 2303.82776 | 1.83% | 09 Sept 2024 | 2.40% | -| 2389.28990023 | 2345.86 | 1.83% | 10 Sept 2024 | 2.58% | -| 2389.04402004 | 2345.87453803 | 1.82% | 11 Sept 2024 | 1.96% | -| 2414.88489094 | 2369.71449593 | 1.89% | 12 Sept 2024 | 5.00% | -| 2398.40947843 | 2353.58 | 1.89% | 13 Sept 2024 | 4.50% | -| 2474.26450677 | 2427.91828309 | 1.89% | 14 Sept 2024 | 3.07% | -| 2465.99746492 | 2419.77564482 | 1.89% | 15 Sept 2024 | 3.02% | -| 2334.19754574 | 2290.41482046 | 1.89% | 16 Sept 2024 | 3.23% | -| 2346.3930993 | 2301.0018 | 1.95% | 17 Sept 2024 | 6.09% | -| 2374.2041578 | 2328.275225 | 1.95% | 18 Sept 2024 | 6.64% | -| 2485.14347961 | 2436.96053878 | 1.96% | 19 Sept 2024 | 3.56% | -| 2613.09264993 | 2562.44128225 | 1.96% | 20 Sept 2024 | 3.60% | -| 2606.78980025 | 2556.14 | 1.96% | 21 Sept 2024 | 3.64% | -| 2645.13788718 | 2593.7687 | 1.96% | 22 Sept 2024 | 3.52% | -| 2711.40437039 | 2658.66632254 | 1.96% | 23 Sept 2024 | 3.61% | -| 2698.59179171 | 2645.9799 | 1.97% | 24 Sept 2024 | 0.78% | -| 2680.30635155 | 2627.97 | 1.97% | 25 Sept 2024 | 0.94% | -| 2686.37817564 | 2633.86 | 1.97% | 26 Sept 2024 | 0.84% | -| 2695.90532084 | 2643.18319926 | 1.97% | 27 Sept 2024 | 0.90% | -| 2728.51436617 | 2675.11917161 | 1.98% | 28 Sept 2024 | 0.72% | -| 2705.86378936 | 2652.916009 | 1.98% | 29 Sept 2024 | 0.77% | -| 2683.40879269 | 2630.86 | 1.98% | 30 Sept 2024 | 0.69% | -| 2676.84543232 | 2624.38 | 1.98% | 01 Oct 2024 | 0.54% | +| Capped ezETH / ezETH(ETH) / USD | ETH / USD | Diff | Date | 14-day growth in yearly % | +| --- | --- | --- | --- | --- | +| 2468.08946815 | 2429.8280111 | 1.56% | 05 Aug 2024 | 2.05% | +| 2529.42810317 | 2490.12768006 | 1.57% | 06 Aug 2024 | 1.54% | +| 2393.54237433 | 2356.32 | 1.57% | 07 Aug 2024 | 1.54% | +| 2675.3558667 | 2633.4926 | 1.58% | 08 Aug 2024 | 1.74% | +| 2637.21844951 | 2595.55 | 1.59% | 09 Aug 2024 | 2.11% | +| 2651.48122808 | 2608.7325501 | 1.63% | 10 Aug 2024 | 2.90% | +| 2601.83270576 | 2559.82435601 | 1.63% | 11 Aug 2024 | 2.91% | +| 2769.45051377 | 2724.6614 | 1.63% | 12 Aug 2024 | 2.94% | +| 2747.82435118 | 2703.3 | 1.63% | 14 Aug 2024 | 2.90% | +| 2707.91692207 | 2663.9872703 | 1.64% | 15 Aug 2024 | 2.66% | +| 2603.8512822 | 2561.5427 | 1.64% | 16 Aug 2024 | 2.25% | +| 2644.13185009 | 2601.03601241 | 1.64% | 17 Aug 2024 | 2.29% | +| 2651.57274619 | 2608.15817008 | 1.65% | 18 Aug 2024 | 2.42% | +| 2686.5897452 | 2641.97118 | 1.67% | 19 Aug 2024 | 2.99% | +| 2701.8651393 | 2656.08865128 | 1.71% | 20 Aug 2024 | 3.74% | +| 2637.26104324 | 2592.56056054 | 1.71% | 21 Aug 2024 | 3.67% | +| 2660.64447236 | 2615.49 | 1.71% | 22 Aug 2024 | 3.69% | +| 2683.5943827 | 2638.01 | 1.71% | 23 Aug 2024 | 3.48% | +| 2796.21525876 | 2748.66 | 1.72% | 24 Aug 2024 | 3.13% | +| 2816.16651306 | 2768.23908934 | 1.72% | 25 Aug 2024 | 2.33% | +| 2793.87740642 | 2746.12 | 1.72% | 26 Aug 2024 | 2.46% | +| 2731.03507045 | 2684.3265 | 1.73% | 27 Aug 2024 | 2.41% | +| 2508.57950688 | 2465.2179 | 1.74% | 28 Aug 2024 | 2.81% | +| 2598.75736995 | 2553.161 | 1.77% | 29 Aug 2024 | 3.44% | +| 2562.56268508 | 2517.44074403 | 1.78% | 30 Aug 2024 | 3.53% | +| 2565.99584628 | 2520.7 | 1.78% | 31 Aug 2024 | 3.52% | +| 2524.25419355 | 2479.6552 | 1.78% | 01 Sept 2024 | 3.37% | +| 2514.79105606 | 2470.34 | 1.78% | 02 Sept 2024 | 2.77% | +| 2546.63353617 | 2501.6 | 1.78% | 03 Sept 2024 | 1.92% | +| 2437.9873235 | 2394.73668696 | 1.79% | 04 Sept 2024 | 2.05% | +| 2436.72881762 | 2393.60006113 | 1.79% | 05 Sept 2024 | 1.89% | +| 2412.74699414 | 2369.7278661 | 1.80% | 06 Sept 2024 | 2.19% | +| 2326.37199193 | 2284.15807315 | 1.83% | 07 Sept 2024 | 2.96% | +| 2338.47039605 | 2295.9894 | 1.83% | 08 Sept 2024 | 2.98% | +| 2343.00440192 | 2300.49301739 | 1.83% | 09 Sept 2024 | 2.73% | +| 2395.42324283 | 2351.864 | 1.84% | 10 Sept 2024 | 2.81% | +| 2382.04931291 | 2338.99 | 1.82% | 11 Sept 2024 | 2.06% | +| 2385.76199295 | 2341.12 | 1.89% | 12 Sept 2024 | 3.04% | +| 2414.87235148 | 2369.72 | 1.89% | 13 Sept 2024 | 2.84% | +| 2464.85778907 | 2418.6721 | 1.89% | 14 Sept 2024 | 2.82% | +| 2453.76302032 | 2407.75 | 1.89% | 15 Sept 2024 | 2.82% | +| 2335.03967966 | 2291.22 | 1.89% | 16 Sept 2024 | 2.84% | +| 2430.15406684 | 2383.11954896 | 1.95% | 17 Sept 2024 | 4.35% | +| 2342.7858808 | 2297.4427851 | 1.95% | 18 Sept 2024 | 4.20% | +| 2516.18364801 | 2467.37592189 | 1.96% | 19 Sept 2024 | 4.42% | +| 2588.2418461 | 2538.01207479 | 1.96% | 20 Sept 2024 | 4.11% | +| 2620.88084698 | 2569.96 | 1.96% | 21 Sept 2024 | 3.34% | +| 2625.29463631 | 2574.29 | 1.96% | 22 Sept 2024 | 3.29% | +| 2739.97186162 | 2686.6526 | 1.97% | 23 Sept 2024 | 3.43% | +| 2694.6234739 | 2642.06 | 1.97% | 24 Sept 2024 | 3.44% | +| 2634.65825981 | 2583.166191 | 1.97% | 25 Sept 2024 | 3.82% | +| 2702.51865331 | 2649.6843 | 1.97% | 26 Sept 2024 | 2.18% | +| 2744.95390727 | 2691.2445 | 1.98% | 27 Sept 2024 | 2.26% | +| 2714.85381539 | 2661.74 | 1.98% | 28 Sept 2024 | 2.15% | +| 2716.30819803 | 2663.18 | 1.98% | 29 Sept 2024 | 2.10% | +| 2665.94721735 | 2613.6959 | 1.98% | 30 Sept 2024 | 2.17% | +| 2503.23721328 | 2454.1211 | 1.98% | 01 Oct 2024 | 0.69% | +| 2426.40949149 | 2378.58 | 1.99% | 02 Oct 2024 | 0.93% | +| 2394.42954664 | 2347.3761 | 1.98% | 03 Oct 2024 | 0.66% | +| 2466.24067959 | 2415.46350375 | 2.08% | 04 Oct 2024 | 3.08% | +| 2463.79687531 | 2413.020548 | 2.08% | 06 Oct 2024 | 3.08% | +| 2529.36643609 | 2477.1946 | 2.08% | 07 Oct 2024 | 3.13% | +| 2481.57833284 | 2430.3763 | 2.08% | 08 Oct 2024 | 3.06% | +| 2519.07555804 | 2467.03 | 2.09% | 09 Oct 2024 | 3.01% | +| 2442.96529485 | 2392.431703 | 2.09% | 10 Oct 2024 | 2.98% | +| 2449.26792427 | 2398.5221 | 2.09% | 11 Oct 2024 | 3.05% | +| 2494.39654042 | 2441.7703 | 2.13% | 12 Oct 2024 | 4.00% | +| 2518.2802265 | 2465.07845539 | 2.14% | 13 Oct 2024 | 4.08% | +| 2574.32044508 | 2519.945428 | 2.13% | 14 Oct 2024 | 4.08% | +| 2667.3247059 | 2610.04636199 | 2.17% | 15 Oct 2024 | 4.90% | +| 2663.75714189 | 2606.4508 | 2.17% | 16 Oct 2024 | 4.94% | +| 2697.45860234 | 2633.69438454 | 2.39% | 17 Oct 2024 | 10.29% | +| 2677.7558106 | 2614.44954534 | 2.39% | 18 Oct 2024 | 10.45% | +| 2706.86421585 | 2642.38 | 2.41% | 19 Oct 2024 | 8.47% | +| 2706.66021979 | 2641.72263 | 2.43% | 20 Oct 2024 | 8.86% | +| 2805.01345091 | 2737.13 | 2.45% | 21 Oct 2024 | 9.36% | +| 2719.02986581 | 2653.16240843 | 2.45% | 22 Oct 2024 | 9.41% | -- 7-day growth is calculated as an annualized percentage relative to the value of the rate 7 days prior. -| Max Yearly % | Max Day-to-day yearly % | Max 7-day yearly % | -| ------------ | ----------------------- | ------------------ | -| 7.39% | 23.18% | 6.64% | +* 14-day growth is calculated as an annualized percentage relative to the value of the rate 14 days prior. -- Max day-to-day yearly % indicates the maximum growth between two emissions as an annualized percentage. + +| Max Yearly % | Max Day-to-day yearly % | Max 14-day yearly % | +| --- | --- | --- | +| 10.89% | 77.93% | 10.45% | + + +* Max day-to-day yearly % indicates the maximum growth between two emissions as an annualized percentage. diff --git a/scripts/DeployEthereum.s.sol b/scripts/DeployEthereum.s.sol index 610bdf4..d00f7aa 100644 --- a/scripts/DeployEthereum.s.sol +++ b/scripts/DeployEthereum.s.sol @@ -3,6 +3,7 @@ pragma solidity ^0.8.0; import {GovV3Helpers} from 'aave-helpers/GovV3Helpers.sol'; import {EthereumScript} from 'solidity-utils/contracts/utils/ScriptUtils.sol'; import {AaveV3Ethereum, AaveV3EthereumAssets} from 'aave-address-book/AaveV3Ethereum.sol'; +import {AaveV3EthereumLido, AaveV3EthereumLidoAssets} from 'aave-address-book/AaveV3EthereumLido.sol'; import {PriceCapAdapterStable} from '../src/contracts/PriceCapAdapterStable.sol'; import {IPriceCapAdapter, IChainlinkAggregator} from '../src/interfaces/IPriceCapAdapter.sol'; @@ -165,15 +166,15 @@ library CapAdaptersCodeEthereum { type(EzETHPriceCapAdapter).creationCode, abi.encode( IPriceCapAdapter.CapAdapterParams({ - aclManager: AaveV3Ethereum.ACL_MANAGER, - baseAggregatorAddress: AaveV3EthereumAssets.WETH_ORACLE, + aclManager: AaveV3EthereumLido.ACL_MANAGER, + baseAggregatorAddress: AaveV3EthereumLidoAssets.WETH_ORACLE, ratioProviderAddress: ezETH_RESTAKE_MANAGER, pairDescription: 'Capped ezETH / ezETH(ETH) / USD', - minimumSnapshotDelay: 7 days, + minimumSnapshotDelay: 14 days, priceCapParams: IPriceCapAdapter.PriceCapUpdateParams({ snapshotRatio: 1019883708003361006, snapshotTimestamp: 1727172839, // Sep-24-2024 - maxYearlyRatioGrowthPercent: 7_39 + maxYearlyRatioGrowthPercent: 10_89 }) }) ) diff --git a/tests/ethereum/ezETHPriceCapAdapterTest.t.sol b/tests/ethereum/ezETHPriceCapAdapterTest.t.sol index 2638fbb..61b7261 100644 --- a/tests/ethereum/ezETHPriceCapAdapterTest.t.sol +++ b/tests/ethereum/ezETHPriceCapAdapterTest.t.sol @@ -11,7 +11,7 @@ contract ezETHPriceCapAdapterTest is BaseTest { BaseTest( CapAdaptersCodeEthereum.ezETHAdapterCode(), 90, - ForkParams({network: 'mainnet', blockNumber: 20870886}), + ForkParams({network: 'mainnet', blockNumber: 21019676}), 'EzETH_EthereumLido' ) {}