Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update weETH snapshot on zksync #59

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 30 additions & 30 deletions reports/weETH_ZkSync.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,40 @@

| Capped weETH / eETH(ETH) / USD | ETH / USD | Diff | Date | 7-day growth in yearly % |
| ------------------------------ | ------------- | ----- | ----------- | ------------------------ |
| 2796.30214289 | 2661.02 | 4.96% | 21 Oct 2024 | 2.82% |
| 2754.66311811 | 2621.21 | 4.96% | 22 Oct 2024 | 2.81% |
| 2640.15185513 | 2512.04 | 4.97% | 23 Oct 2024 | 2.82% |
| 2649.8634455 | 2521.09862646 | 4.98% | 24 Oct 2024 | 2.86% |
| 2605.81459261 | 2479.02 | 4.99% | 25 Oct 2024 | 2.49% |
| 2619.25098808 | 2491.62 | 4.99% | 26 Oct 2024 | 2.51% |
| 2652.20026346 | 2522.79 | 5.00% | 27 Oct 2024 | 2.43% |
| 2697.10415893 | 2565.33062993 | 5.01% | 28 Oct 2024 | 2.49% |
| 2767.7168616 | 2632.31044615 | 5.02% | 30 Oct 2024 | 2.48% |
| 2793.03766059 | 2656.18 | 5.02% | 31 Oct 2024 | 2.48% |
| 2659.20135356 | 2528.75 | 5.03% | 01 Nov 2024 | 2.42% |
| 2646.76422145 | 2516.9136 | 5.03% | 02 Nov 2024 | 2.12% |
| 2583.38116131 | 2456.258022 | 5.04% | 03 Nov 2024 | 2.50% |
| 2587.57445769 | 2460.06324246 | 5.05% | 04 Nov 2024 | 2.54% |
| 2550.78265691 | 2424.9076 | 5.06% | 05 Nov 2024 | 2.57% |
| 2735.55463878 | 2600.36 | 5.07% | 06 Nov 2024 | 2.61% |
| 2954.92711115 | 2808.6694 | 5.08% | 07 Nov 2024 | 2.60% |
| 3052.44231365 | 2900.8948 | 5.09% | 08 Nov 2024 | 3.10% |
| 3213.70316926 | 3053.91 | 5.10% | 09 Nov 2024 | 3.45% |
| 3375.72482722 | 3207.6299 | 5.11% | 10 Nov 2024 | 3.10% |
| 3359.40506995 | 3191.871483 | 5.11% | 11 Nov 2024 | 3.16% |
| 3583.57362333 | 3404.579563 | 5.12% | 12 Nov 2024 | 3.25% |
| 3328.81126755 | 3162.5422 | 5.12% | 13 Nov 2024 | 2.88% |
| 3400.41654846 | 3230.37692177 | 5.13% | 14 Nov 2024 | 2.80% |
| 3204.02893756 | 3043.4155 | 5.14% | 15 Nov 2024 | 2.65% |
| 3270.47195073 | 3106.2683715 | 5.15% | 16 Nov 2024 | 2.69% |
| 3312.50919564 | 3145.9392 | 5.16% | 17 Nov 2024 | 2.72% |
| 3277.67047438 | 3112.67627839 | 5.16% | 18 Nov 2024 | 2.58% |
| 3271.89848866 | 3106.95 | 5.17% | 19 Nov 2024 | 2.53% |
| 4057.34378491 | 3846.56959878 | 5.33% | 09 Dec 2024 | 2.79% |
| 3744.72264239 | 3549.90947585 | 5.34% | 10 Dec 2024 | 2.82% |
| 4017.29372426 | 3808.001931 | 5.35% | 11 Dec 2024 | 2.83% |
| 4153.62108001 | 3936.93209398 | 5.36% | 12 Dec 2024 | 2.82% |
| 4112.67379609 | 3897.82697795 | 5.36% | 13 Dec 2024 | 2.77% |
| 4089.0762409 | 3875.18 | 5.37% | 14 Dec 2024 | 2.74% |
| 4131.73449667 | 3915.3282 | 5.38% | 15 Dec 2024 | 2.72% |
| 4251.58370668 | 4028.58 | 5.39% | 16 Dec 2024 | 2.76% |
| 4196.5210538 | 3976.07409273 | 5.39% | 17 Dec 2024 | 2.78% |
| 4097.27301271 | 3881.76 | 5.40% | 18 Dec 2024 | 2.75% |
| 3676.32564983 | 3482.707807 | 5.41% | 19 Dec 2024 | 2.72% |
| 3610.06010499 | 3419.64 | 5.42% | 20 Dec 2024 | 2.77% |
| 3558.70361833 | 3370.74050084 | 5.43% | 21 Dec 2024 | 2.77% |
| 3473.31918604 | 3289.62 | 5.43% | 22 Dec 2024 | 2.79% |
| 3522.21988212 | 3335.7 | 5.44% | 23 Dec 2024 | 2.73% |
| 3638.45619804 | 3445.58 | 5.45% | 24 Dec 2024 | 2.59% |
| 3663.8889712 | 3469.376438 | 5.45% | 25 Dec 2024 | 2.61% |
| 3535.50403292 | 3347.57 | 5.46% | 27 Dec 2024 | 2.58% |
| 3507.82485789 | 3321.1472 | 5.47% | 28 Dec 2024 | 2.45% |
| 3576.67919836 | 3386.09 | 5.47% | 29 Dec 2024 | 2.43% |
| 3602.43801376 | 3410.23873335 | 5.48% | 30 Dec 2024 | 2.39% |
| 3533.71074405 | 3344.945198 | 5.49% | 31 Dec 2024 | 2.38% |
| 3512.79635027 | 3324.9 | 5.50% | 01 Jan 2025 | 2.43% |
| 3654.46357634 | 3458.73805733 | 5.50% | 02 Jan 2025 | 2.37% |
| 3742.97300222 | 3542.036957 | 5.52% | 03 Jan 2025 | 2.67% |
| 3845.02312305 | 3638.33018175 | 5.52% | 04 Jan 2025 | 2.70% |
| 3843.77827638 | 3636.870635 | 5.53% | 05 Jan 2025 | 2.73% |
| 3897.71736884 | 3687.64347 | 5.54% | 06 Jan 2025 | 2.78% |
| 3630.38414609 | 3434.43895016 | 5.55% | 07 Jan 2025 | 2.86% |

- 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 % |
| ------------ | ----------------------- | ------------------ |
| 8.75% | 5.76% | 3.45% |
| 8.75% | 4.43% | 2.86% |

- Max day-to-day yearly % indicates the maximum growth between two emissions as an annualized percentage.
4 changes: 2 additions & 2 deletions scripts/DeployZkSync.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ library CapAdaptersCodeZkSync {
pairDescription: 'Capped weETH / eETH(ETH) / USD',
minimumSnapshotDelay: 7 days,
priceCapParams: IPriceCapAdapter.PriceCapUpdateParams({
snapshotRatio: 1_052574497679413779,
snapshotTimestamp: 1731404006, // 12th of November 2024
snapshotRatio: 1_056433075845463320,
snapshotTimestamp: 1735631006, // 31st of December 2024
maxYearlyRatioGrowthPercent: 8_75
})
})
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/GetExchangeRatesTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ contract ExchangeRatesBNB is Test {

contract ExchangeRatesZKSync is Test {
function setUp() public {
vm.createSelectFork(vm.rpcUrl('zksync'), 48189193); // Nov-05-2024
vm.createSelectFork(vm.rpcUrl('zksync'), 52570550); // Dec-31-2024
}

function test_getExchangeRate() public view {
Expand Down
2 changes: 1 addition & 1 deletion tests/zksync/weETHPriceCapAdapterZkSyncTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ contract weETHPriceCapAdapterZkSyncTest is BaseTest {
BaseTest(
CapAdaptersCodeZkSync.weETHAdapterParams(),
35,
ForkParams({network: 'zksync', blockNumber: 49309193}),
ForkParams({network: 'zksync', blockNumber: 53130550}),
'weETH_ZkSync'
)
{}
Expand Down
Loading