generated from bgd-labs/bgd-forge-template
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: capo for ezETH on Arbitrum & Base (#57)
* feat: capo for ezETH on Arbitrum & Base * Update tests/base/ezETHBasePriceCapAdapterTest.t.sol Co-authored-by: Ian Flexa <[email protected]> * Update tests/base/ezETHBasePriceCapAdapterTest.t.sol Co-authored-by: Ian Flexa <[email protected]> * Update tests/arbitrum/ezETHArbitrumPriceCapAdapterTest.t.sol Co-authored-by: Ian Flexa <[email protected]> --------- Co-authored-by: Ian Flexa <[email protected]>
- Loading branch information
1 parent
986d151
commit f770d18
Showing
10 changed files
with
294 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# Capo Report | ||
|
||
| Capped ezETH / ETH / USD | ETH / USD | Diff | Date | 14-day growth in yearly % | | ||
| --- | --- | --- | --- | --- | | ||
| 2463.0541802 | 2412.31 | 2.08% | 05 Oct 2024 | 3.10% | | ||
| 2502.01010986 | 2450.4192475 | 2.08% | 06 Oct 2024 | 3.17% | | ||
| 2533.68827509 | 2481.40605762 | 2.08% | 07 Oct 2024 | 3.11% | | ||
| 2477.6790458 | 2426.522493 | 2.09% | 08 Oct 2024 | 3.02% | | ||
| 2519.15007181 | 2467.0273 | 2.09% | 09 Oct 2024 | 3.06% | | ||
| 2433.78121936 | 2383.41370893 | 2.09% | 10 Oct 2024 | 3.00% | | ||
| 2486.89477872 | 2435.338045 | 2.09% | 11 Oct 2024 | 3.09% | | ||
| 2522.68600801 | 2469.433 | 2.13% | 12 Oct 2024 | 4.06% | | ||
| 2495.23828744 | 2442.50241876 | 2.14% | 13 Oct 2024 | 4.13% | | ||
| 2693.35680906 | 2635.917056 | 2.16% | 14 Oct 2024 | 4.61% | | ||
| 2636.14851301 | 2579.52 | 2.17% | 15 Oct 2024 | 4.98% | | ||
| 2666.16748614 | 2608.7818402 | 2.18% | 16 Oct 2024 | 5.01% | | ||
| 2682.62972777 | 2619.1946 | 2.39% | 17 Oct 2024 | 10.43% | | ||
| 2705.19098343 | 2640.842448 | 2.41% | 18 Oct 2024 | 10.96% | | ||
| 2706.95946944 | 2642.44 | 2.41% | 19 Oct 2024 | 8.58% | | ||
| 2765.87940104 | 2699.34 | 2.44% | 20 Oct 2024 | 9.14% | | ||
| 2723.8395846 | 2657.883479 | 2.45% | 21 Oct 2024 | 9.52% | | ||
| 2678.12490973 | 2613.21642496 | 2.45% | 22 Oct 2024 | 9.55% | | ||
| 2574.98677366 | 2511.6023 | 2.49% | 23 Oct 2024 | 10.45% | | ||
| 2583.609492 | 2519.2428 | 2.52% | 24 Oct 2024 | 11.23% | | ||
| 2598.72049349 | 2533.948 | 2.52% | 25 Oct 2024 | 11.17% | | ||
| 2530.81870864 | 2467.714243 | 2.52% | 26 Oct 2024 | 10.19% | | ||
| 2561.42676948 | 2497.46330035 | 2.53% | 27 Oct 2024 | 10.22% | | ||
| 2562.65818172 | 2498.6771 | 2.53% | 28 Oct 2024 | 9.69% | | ||
| 2734.6920139 | 2666.3679 | 2.53% | 29 Oct 2024 | 9.33% | | ||
| 2748.58391123 | 2679.35331785 | 2.55% | 30 Oct 2024 | 9.76% | | ||
| 2616.91726002 | 2550.92371883 | 2.55% | 31 Oct 2024 | 4.18% | | ||
| 2587.60082049 | 2522.1522 | 2.56% | 01 Nov 2024 | 4.01% | | ||
| 2553.71060018 | 2488.703202 | 2.58% | 02 Nov 2024 | 4.32% | | ||
| 2514.47442635 | 2450.17475664 | 2.59% | 03 Nov 2024 | 4.03% | | ||
| 2487.09374711 | 2423.5059299 | 2.59% | 04 Nov 2024 | 3.60% | | ||
| 2518.83245099 | 2454.075 | 2.60% | 05 Nov 2024 | 3.92% | | ||
| 2724.75890154 | 2654.145 | 2.63% | 06 Nov 2024 | 3.46% | | ||
| 2943.16805757 | 2866.779446 | 2.63% | 07 Nov 2024 | 2.77% | | ||
| 2998.62161369 | 2920.83670607 | 2.63% | 08 Nov 2024 | 2.70% | | ||
| 3116.37349997 | 3035.1873 | 2.64% | 09 Nov 2024 | 2.97% | | ||
| 3315.28418594 | 3228.8967 | 2.64% | 10 Nov 2024 | 2.89% | | ||
| 3376.47759944 | 3287.99980473 | 2.66% | 11 Nov 2024 | 3.30% | | ||
| 3374.50072418 | 3285.73 | 2.67% | 12 Nov 2024 | 3.52% | | ||
| 3348.34278373 | 3260.267056 | 2.67% | 13 Nov 2024 | 2.97% | | ||
| 3210.93132714 | 3126.57109088 | 2.66% | 14 Nov 2024 | 2.81% | | ||
| 3100.18318905 | 3018.5168 | 2.67% | 15 Nov 2024 | 2.79% | | ||
| 3267.94170689 | 3181.8 | 2.67% | 16 Nov 2024 | 2.40% | | ||
| 3161.63773566 | 3077.7355 | 2.69% | 17 Nov 2024 | 2.57% | | ||
| 3248.49899861 | 3162.15 | 2.69% | 18 Nov 2024 | 2.70% | | ||
| 3216.75714684 | 3130.79 | 2.71% | 19 Nov 2024 | 2.70% | | ||
| 3127.72657938 | 3043.708518 | 2.72% | 20 Nov 2024 | 2.52% | | ||
| 3450.14352596 | 3357.453709 | 2.72% | 21 Nov 2024 | 2.43% | | ||
| 3387.20401081 | 3295.619144 | 2.74% | 22 Nov 2024 | 2.93% | | ||
| 3520.46382716 | 3425.15 | 2.74% | 23 Nov 2024 | 2.72% | | ||
| 3418.31404714 | 3325.66 | 2.75% | 24 Nov 2024 | 2.79% | | ||
| 3572.02849811 | 3474.66908998 | 2.76% | 25 Nov 2024 | 2.80% | | ||
| 3375.61033838 | 3283.49 | 2.77% | 26 Nov 2024 | 2.62% | | ||
| 3697.95249498 | 3595.47647687 | 2.81% | 27 Nov 2024 | 3.75% | | ||
| 3670.8955102 | 3568.95498126 | 2.82% | 28 Nov 2024 | 3.99% | | ||
| 3691.27083388 | 3588.62364877 | 2.82% | 29 Nov 2024 | 3.91% | | ||
| 3797.85208195 | 3692.23041429 | 2.82% | 30 Nov 2024 | 3.87% | | ||
| 3807.16672807 | 3699.360029 | 2.87% | 01 Dec 2024 | 4.75% | | ||
| 3730.31439126 | 3623.7 | 2.90% | 02 Dec 2024 | 5.34% | | ||
| 3704.74571942 | 3599.500135 | 2.88% | 03 Dec 2024 | 4.49% | | ||
| 3985.09316274 | 3870.47621119 | 2.92% | 04 Dec 2024 | 5.07% | | ||
| 3936.24767575 | 3822.984375 | 2.92% | 05 Dec 2024 | 5.10% | | ||
| 4180.82304109 | 4060.3991 | 2.92% | 06 Dec 2024 | 4.72% | | ||
| 4140.81336864 | 4021.08 | 2.93% | 07 Dec 2024 | 4.92% | | ||
| 4104.18467529 | 3986.02 | 2.92% | 08 Dec 2024 | 4.50% | | ||
| 3862.28983534 | 3750.82 | 2.93% | 09 Dec 2024 | 4.29% | | ||
| 3752.22951922 | 3646.0872 | 2.87% | 10 Dec 2024 | 2.66% | | ||
| 3940.06013543 | 3825.8682831 | 2.94% | 11 Dec 2024 | 3.39% | | ||
| 3992.39356508 | 3876.9133 | 2.93% | 12 Dec 2024 | 3.07% | | ||
| 4016.13224142 | 3899.63058231 | 2.94% | 13 Dec 2024 | 3.19% | | ||
| 3974.39701319 | 3858.02597835 | 2.97% | 14 Dec 2024 | 3.91% | | ||
| 4022.76402971 | 3904.4154 | 2.99% | 15 Dec 2024 | 2.93% | | ||
| 4158.46093748 | 4036.04939576 | 2.99% | 16 Dec 2024 | 2.28% | | ||
| 3984.79973292 | 3868.3544 | 2.97% | 17 Dec 2024 | 2.17% | | ||
| 3771.68514861 | 3660.584402 | 2.99% | 18 Dec 2024 | 1.85% | | ||
| 3547.66511141 | 3443.46 | 2.98% | 19 Dec 2024 | 1.59% | | ||
| 3584.79216939 | 3478.29 | 3.02% | 20 Dec 2024 | 2.41% | | ||
|
||
|
||
* 14-day growth is calculated as an annualized percentage relative to the value of the rate 14 days prior. | ||
|
||
|
||
| Max Yearly % | Max Day-to-day yearly % | Max 14-day yearly % | | ||
| --- | --- | --- | | ||
| 10.89% | 79.17% | 11.23% | | ||
|
||
|
||
* Max day-to-day yearly % indicates the maximum growth between two emissions as an annualized percentage. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# Capo Report | ||
|
||
| Capped ezETH / ETH / USD | ETH / USD | Diff | Date | 14-day growth in yearly % | | ||
| --- | --- | --- | --- | --- | | ||
| 2422.44377662 | 2374.84110663 | 1.98% | 04 Oct 2024 | 0.72% | | ||
| 2472.8602941 | 2422.75562102 | 2.05% | 05 Oct 2024 | 2.17% | | ||
| 2470.10386664 | 2419.20570171 | 2.08% | 06 Oct 2024 | 3.11% | | ||
| 2503.79364567 | 2452.1526878 | 2.08% | 07 Oct 2024 | 3.08% | | ||
| 2488.63485665 | 2437.3 | 2.08% | 08 Oct 2024 | 2.97% | | ||
| 2492.70158343 | 2441.21 | 2.09% | 09 Oct 2024 | 3.04% | | ||
| 2430.64353772 | 2380.3881 | 2.09% | 10 Oct 2024 | 2.95% | | ||
| 2472.60783333 | 2421.38576358 | 2.09% | 11 Oct 2024 | 3.04% | | ||
| 2511.76855298 | 2459.66 | 2.10% | 12 Oct 2024 | 3.08% | | ||
| 2516.96837544 | 2463.8 | 2.13% | 13 Oct 2024 | 4.07% | | ||
| 2655.02858285 | 2598.968936 | 2.13% | 14 Oct 2024 | 4.06% | | ||
| 2632.39493599 | 2575.880705 | 2.17% | 15 Oct 2024 | 4.89% | | ||
| 2672.6270616 | 2615.1362 | 2.17% | 16 Oct 2024 | 4.94% | | ||
| 2682.99481958 | 2625.275988 | 2.17% | 17 Oct 2024 | 4.71% | | ||
| 2693.90538298 | 2630.223856 | 2.39% | 18 Oct 2024 | 10.45% | | ||
| 2707.28421731 | 2642.79778372 | 2.41% | 19 Oct 2024 | 9.32% | | ||
| 2760.23542848 | 2694.04 | 2.43% | 20 Oct 2024 | 8.85% | | ||
| 2742.02120765 | 2675.67811331 | 2.45% | 21 Oct 2024 | 9.36% | | ||
| 2689.06512956 | 2623.93521577 | 2.45% | 22 Oct 2024 | 9.42% | | ||
| 2539.94636969 | 2478.3554 | 2.45% | 23 Oct 2024 | 9.42% | | ||
| 2589.10106949 | 2524.97717811 | 2.51% | 24 Oct 2024 | 10.73% | | ||
| 2531.92559066 | 2468.842568 | 2.52% | 25 Oct 2024 | 11.02% | | ||
| 2543.17236065 | 2479.79088 | 2.52% | 26 Oct 2024 | 10.96% | | ||
| 2553.97812172 | 2490.23 | 2.53% | 27 Oct 2024 | 10.07% | | ||
| 2578.78933998 | 2514.411731 | 2.53% | 28 Oct 2024 | 10.10% | | ||
| 2686.80813775 | 2619.6698 | 2.53% | 29 Oct 2024 | 9.23% | | ||
| 2722.34771109 | 2653.73424194 | 2.55% | 30 Oct 2024 | 9.69% | | ||
| 2587.07717498 | 2521.81985 | 2.55% | 31 Oct 2024 | 9.74% | | ||
| 2568.79978938 | 2503.94825947 | 2.56% | 01 Nov 2024 | 4.21% | | ||
| 2558.76514895 | 2493.38641671 | 2.59% | 02 Nov 2024 | 4.54% | | ||
| 2512.28828134 | 2448.10337391 | 2.59% | 03 Nov 2024 | 4.11% | | ||
| 2455.83285156 | 2392.9028 | 2.60% | 04 Nov 2024 | 3.75% | | ||
| 2496.26981523 | 2432.11 | 2.60% | 06 Nov 2024 | 3.89% | | ||
| 2780.68414152 | 2708.58 | 2.63% | 07 Nov 2024 | 4.41% | | ||
| 2992.94913417 | 2915.39597525 | 2.63% | 08 Nov 2024 | 3.00% | | ||
| 3059.50608731 | 2980.01 | 2.63% | 09 Nov 2024 | 2.80% | | ||
| 3209.22336724 | 3125.68655 | 2.64% | 10 Nov 2024 | 2.91% | | ||
| 3296.29102039 | 3210.377991 | 2.64% | 11 Nov 2024 | 2.89% | | ||
| 3383.32179265 | 3294.49228262 | 2.66% | 12 Nov 2024 | 3.39% | | ||
| 3337.51640139 | 3249.71 | 2.67% | 13 Nov 2024 | 3.47% | | ||
| 3289.16021789 | 3202.62637214 | 2.67% | 14 Nov 2024 | 2.90% | | ||
| 3159.52770295 | 3076.5 | 2.66% | 15 Nov 2024 | 2.77% | | ||
| 3221.24330165 | 3136.37 | 2.67% | 16 Nov 2024 | 2.89% | | ||
| 3207.91377648 | 3123.35 | 2.67% | 17 Nov 2024 | 2.12% | | ||
| 3201.70815653 | 3116.73848779 | 2.69% | 18 Nov 2024 | 2.60% | | ||
| 3217.79596191 | 3132.25509785 | 2.69% | 19 Nov 2024 | 2.52% | | ||
| 3195.08304999 | 3109.6872 | 2.71% | 20 Nov 2024 | 2.69% | | ||
| 3206.62585617 | 3120.48 | 2.72% | 21 Nov 2024 | 2.45% | | ||
| 3472.79531306 | 3379.49 | 2.72% | 22 Nov 2024 | 2.51% | | ||
| 3433.92472905 | 3341.07319483 | 2.74% | 23 Nov 2024 | 2.77% | | ||
| 3522.47273607 | 3427.08336513 | 2.75% | 24 Nov 2024 | 2.76% | | ||
| 3502.21408193 | 3407.0316 | 2.76% | 25 Nov 2024 | 2.93% | | ||
| 3472.73005943 | 3378.07 | 2.76% | 26 Nov 2024 | 2.63% | | ||
| 3499.99102766 | 3403.9134 | 2.78% | 27 Nov 2024 | 3.00% | | ||
| 3700.39274114 | 3597.84 | 2.81% | 28 Nov 2024 | 3.69% | | ||
| 3672.59613643 | 3570.6 | 2.82% | 29 Nov 2024 | 3.93% | | ||
| 3750.17073806 | 3645.87 | 2.82% | 30 Nov 2024 | 3.85% | | ||
| 3793.10289182 | 3687.6120783 | 2.82% | 01 Dec 2024 | 3.81% | | ||
| 3687.0044979 | 3582.6 | 2.87% | 02 Dec 2024 | 4.68% | | ||
| 3709.848567 | 3603.8191 | 2.90% | 03 Dec 2024 | 5.26% | | ||
| 3823.4888775 | 3714.87 | 2.88% | 04 Dec 2024 | 4.42% | | ||
| 4035.61637178 | 3919.5453 | 2.92% | 05 Dec 2024 | 4.99% | | ||
| 3998.43357652 | 3883.38056938 | 2.92% | 06 Dec 2024 | 5.02% | | ||
| 4116.67544107 | 3998.0992 | 2.92% | 07 Dec 2024 | 4.65% | | ||
| 4115.89132522 | 3996.878588 | 2.93% | 08 Dec 2024 | 4.83% | | ||
| 4054.90602304 | 3938.16 | 2.92% | 09 Dec 2024 | 4.25% | | ||
| 3753.48017252 | 3645.15 | 2.93% | 10 Dec 2024 | 4.22% | | ||
| 3907.39914049 | 3796.86741402 | 2.87% | 11 Dec 2024 | 2.20% | | ||
| 4086.32081764 | 3967.89 | 2.94% | 12 Dec 2024 | 3.34% | | ||
| 4027.53009158 | 3911.0335 | 2.93% | 13 Dec 2024 | 3.03% | | ||
| 4004.99026724 | 3888.81181922 | 2.94% | 14 Dec 2024 | 3.15% | | ||
| 4025.45702387 | 3907.57 | 2.97% | 15 Dec 2024 | 3.88% | | ||
| 4158.99736421 | 4036.64 | 2.99% | 16 Dec 2024 | 2.90% | | ||
| 4074.15035912 | 3954.22 | 2.99% | 17 Dec 2024 | 2.25% | | ||
| 3998.17948125 | 3881.3431297 | 2.97% | 18 Dec 2024 | 2.14% | | ||
| 3591.18380381 | 3485.4 | 2.99% | 19 Dec 2024 | 1.83% | | ||
| 3589.58724268 | 3484.15075789 | 2.98% | 20 Dec 2024 | 1.57% | | ||
|
||
|
||
* 14-day growth is calculated as an annualized percentage relative to the value of the rate 14 days prior. | ||
|
||
|
||
| Max Yearly % | Max Day-to-day yearly % | Max 14-day yearly % | | ||
| --- | --- | --- | | ||
| 10.89% | 78.04% | 11.02% | | ||
|
||
|
||
* Max day-to-day yearly % indicates the maximum growth between two emissions as an annualized percentage. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// SPDX-License-Identifier: BUSL-1.1 | ||
pragma solidity ^0.8.0; | ||
|
||
import {CLAdapterBaseTest} from '../CLAdapterBaseTest.sol'; | ||
import {CapAdaptersCodeArbitrum} from '../../scripts/DeployArbitrum.s.sol'; | ||
|
||
contract ezETHArbitrumPriceCapAdapterTest is CLAdapterBaseTest { | ||
constructor() | ||
CLAdapterBaseTest( | ||
CapAdaptersCodeArbitrum.ezETHAdapterCode(), | ||
90, | ||
ForkParams({network: 'arbitrum', blockNumber: 286888946}), | ||
'ezETH_arbitrum' | ||
) | ||
{} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// SPDX-License-Identifier: BUSL-1.1 | ||
pragma solidity ^0.8.0; | ||
|
||
import {CLAdapterBaseTest} from '../CLAdapterBaseTest.sol'; | ||
import {CapAdaptersCodeBase} from '../../scripts/DeployBase.s.sol'; | ||
|
||
contract ezETHBasePriceCapAdapterTest is CLAdapterBaseTest { | ||
constructor() | ||
CLAdapterBaseTest( | ||
CapAdaptersCodeBase.ezETHAdapterCode(), | ||
90, | ||
ForkParams({network: 'base', blockNumber: 23967401}), | ||
'ezETH_base' | ||
) | ||
{} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.