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

feat: activate price oracle sentinel on scroll #250

Merged
merged 6 commits into from
Mar 20, 2024
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
1 change: 1 addition & 0 deletions .assets/a572cc5e1b223dec2a704662f09ffadd187f3094.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/f81c6249674188eb7c7b4dc65d0841e8424af694.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Reserves altered

#### WBTC.e ([0x50b7545627a5162F82A992c33b87aDc75187B218](https://snowtrace.io/address/0x50b7545627a5162F82A992c33b87aDc75187B218))
#### WBTC.e ([0x50b7545627a5162F82A992c33b87aDc75187B218](https://snowscan.xyz/address/0x50b7545627a5162F82A992c33b87aDc75187B218))

| description | value before | value after |
| --- | --- | --- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@

### Reserve altered

#### USDC.e ([0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664](https://snowtrace.io/address/0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664))
#### USDC.e ([0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664](https://snowscan.xyz/address/0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664))

| description | value before | value after |
| --- | --- | --- |
| interestRateStrategy | [0x116EFD5652A9993A5984055B2da7eb9acfB48Fd2](https://snowtrace.io/address/0x116EFD5652A9993A5984055B2da7eb9acfB48Fd2) | [0xa7C0f85c626761eDD0875549aD09E8d3f5446695](https://snowtrace.io/address/0xa7C0f85c626761eDD0875549aD09E8d3f5446695) |
| interestRateStrategy | [0x116EFD5652A9993A5984055B2da7eb9acfB48Fd2](https://snowscan.xyz/address/0x116EFD5652A9993A5984055B2da7eb9acfB48Fd2) | [0xa7C0f85c626761eDD0875549aD09E8d3f5446695](https://snowscan.xyz/address/0xa7C0f85c626761eDD0875549aD09E8d3f5446695) |
| variableRateSlope1 | 5 % | 6 % |
| interestRate | ![before](/.assets/5781644c11b53524a5fd5b616bf70812c97303d9.svg) | ![after](/.assets/ae7612ca9dd768ff3aee2f745910dc0a19e5fa71.svg) |

#### USDT.e ([0xc7198437980c041c805A1EDcbA50c1Ce5db95118](https://snowtrace.io/address/0xc7198437980c041c805A1EDcbA50c1Ce5db95118))
#### USDT.e ([0xc7198437980c041c805A1EDcbA50c1Ce5db95118](https://snowscan.xyz/address/0xc7198437980c041c805A1EDcbA50c1Ce5db95118))

| description | value before | value after |
| --- | --- | --- |
| interestRateStrategy | [0x116EFD5652A9993A5984055B2da7eb9acfB48Fd2](https://snowtrace.io/address/0x116EFD5652A9993A5984055B2da7eb9acfB48Fd2) | [0xa7C0f85c626761eDD0875549aD09E8d3f5446695](https://snowtrace.io/address/0xa7C0f85c626761eDD0875549aD09E8d3f5446695) |
| interestRateStrategy | [0x116EFD5652A9993A5984055B2da7eb9acfB48Fd2](https://snowscan.xyz/address/0x116EFD5652A9993A5984055B2da7eb9acfB48Fd2) | [0xa7C0f85c626761eDD0875549aD09E8d3f5446695](https://snowscan.xyz/address/0xa7C0f85c626761eDD0875549aD09E8d3f5446695) |
| variableRateSlope1 | 5 % | 6 % |
| interestRate | ![before](/.assets/5781644c11b53524a5fd5b616bf70812c97303d9.svg) | ![after](/.assets/ae7612ca9dd768ff3aee2f745910dc0a19e5fa71.svg) |

#### DAI.e ([0xd586E7F844cEa2F87f50152665BCbc2C279D8d70](https://snowtrace.io/address/0xd586E7F844cEa2F87f50152665BCbc2C279D8d70))
#### DAI.e ([0xd586E7F844cEa2F87f50152665BCbc2C279D8d70](https://snowscan.xyz/address/0xd586E7F844cEa2F87f50152665BCbc2C279D8d70))

| description | value before | value after |
| --- | --- | --- |
| interestRateStrategy | [0x116EFD5652A9993A5984055B2da7eb9acfB48Fd2](https://snowtrace.io/address/0x116EFD5652A9993A5984055B2da7eb9acfB48Fd2) | [0xa7C0f85c626761eDD0875549aD09E8d3f5446695](https://snowtrace.io/address/0xa7C0f85c626761eDD0875549aD09E8d3f5446695) |
| interestRateStrategy | [0x116EFD5652A9993A5984055B2da7eb9acfB48Fd2](https://snowscan.xyz/address/0x116EFD5652A9993A5984055B2da7eb9acfB48Fd2) | [0xa7C0f85c626761eDD0875549aD09E8d3f5446695](https://snowscan.xyz/address/0xa7C0f85c626761eDD0875549aD09E8d3f5446695) |
| variableRateSlope1 | 5 % | 6 % |
| interestRate | ![before](/.assets/5781644c11b53524a5fd5b616bf70812c97303d9.svg) | ![after](/.assets/ae7612ca9dd768ff3aee2f745910dc0a19e5fa71.svg) |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Reserves altered

#### WBTC.e ([0x50b7545627a5162F82A992c33b87aDc75187B218](https://snowtrace.io/address/0x50b7545627a5162F82A992c33b87aDc75187B218))
#### WBTC.e ([0x50b7545627a5162F82A992c33b87aDc75187B218](https://snowscan.xyz/address/0x50b7545627a5162F82A992c33b87aDc75187B218))

| description | value before | value after |
| --- | --- | --- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Reserves altered

#### USDt ([0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7](https://snowtrace.io/address/0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7))
#### USDt ([0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7](https://snowscan.xyz/address/0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7))

| description | value before | value after |
| --- | --- | --- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,52 +2,52 @@

### Reserve altered

#### sAVAX ([0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE](https://snowtrace.io/address/0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE))
#### sAVAX ([0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE](https://snowscan.xyz/address/0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0xc9245871D69BF4c36c6F2D15E0D68Ffa883FE1A7](https://snowtrace.io/address/0xc9245871D69BF4c36c6F2D15E0D68Ffa883FE1A7) | [0xB2B332f27e4B7305649a228C31Ed9858c5a6bAD9](https://snowtrace.io/address/0xB2B332f27e4B7305649a228C31Ed9858c5a6bAD9) |
| oracle | [0xc9245871D69BF4c36c6F2D15E0D68Ffa883FE1A7](https://snowscan.xyz/address/0xc9245871D69BF4c36c6F2D15E0D68Ffa883FE1A7) | [0xB2B332f27e4B7305649a228C31Ed9858c5a6bAD9](https://snowscan.xyz/address/0xB2B332f27e4B7305649a228C31Ed9858c5a6bAD9) |
| oracleDecimals | null | 8 |
| oracleDescription | null | Capped sAVAX / AVAX / USD |


#### MAI ([0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b](https://snowtrace.io/address/0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b))
#### MAI ([0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b](https://snowscan.xyz/address/0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x5D1F504211c17365CA66353442a74D4435A8b778](https://snowtrace.io/address/0x5D1F504211c17365CA66353442a74D4435A8b778) | [0xCcC55Db26B78a19Dba1beE0066F9c1665575439A](https://snowtrace.io/address/0xCcC55Db26B78a19Dba1beE0066F9c1665575439A) |
| oracle | [0x5D1F504211c17365CA66353442a74D4435A8b778](https://snowscan.xyz/address/0x5D1F504211c17365CA66353442a74D4435A8b778) | [0xCcC55Db26B78a19Dba1beE0066F9c1665575439A](https://snowscan.xyz/address/0xCcC55Db26B78a19Dba1beE0066F9c1665575439A) |
| oracleDescription | MIMATIC / USD | Capped MAI/USD |


#### USDt ([0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7](https://snowtrace.io/address/0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7))
#### USDt ([0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7](https://snowscan.xyz/address/0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0xEBE676ee90Fe1112671f19b6B7459bC678B67e8a](https://snowtrace.io/address/0xEBE676ee90Fe1112671f19b6B7459bC678B67e8a) | [0x39185f2236A6022b682e8BB93C040d125DA093CF](https://snowtrace.io/address/0x39185f2236A6022b682e8BB93C040d125DA093CF) |
| oracle | [0xEBE676ee90Fe1112671f19b6B7459bC678B67e8a](https://snowscan.xyz/address/0xEBE676ee90Fe1112671f19b6B7459bC678B67e8a) | [0x39185f2236A6022b682e8BB93C040d125DA093CF](https://snowscan.xyz/address/0x39185f2236A6022b682e8BB93C040d125DA093CF) |
| oracleDescription | USDT / USD | Capped USDt/USD |


#### USDC ([0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E](https://snowtrace.io/address/0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E))
#### USDC ([0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E](https://snowscan.xyz/address/0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0xF096872672F44d6EBA71458D74fe67F9a77a23B9](https://snowtrace.io/address/0xF096872672F44d6EBA71458D74fe67F9a77a23B9) | [0xD8277249e871BE9A402fa286C2C5ec16046dC512](https://snowtrace.io/address/0xD8277249e871BE9A402fa286C2C5ec16046dC512) |
| oracle | [0xF096872672F44d6EBA71458D74fe67F9a77a23B9](https://snowscan.xyz/address/0xF096872672F44d6EBA71458D74fe67F9a77a23B9) | [0xD8277249e871BE9A402fa286C2C5ec16046dC512](https://snowscan.xyz/address/0xD8277249e871BE9A402fa286C2C5ec16046dC512) |
| oracleDescription | USDC / USD | Capped USDC/USD |


#### FRAX ([0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64](https://snowtrace.io/address/0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64))
#### FRAX ([0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64](https://snowscan.xyz/address/0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0xbBa56eF1565354217a3353a466edB82E8F25b08e](https://snowtrace.io/address/0xbBa56eF1565354217a3353a466edB82E8F25b08e) | [0x6208576378D06ce69A27987b7A524A9B15d499a4](https://snowtrace.io/address/0x6208576378D06ce69A27987b7A524A9B15d499a4) |
| oracle | [0xbBa56eF1565354217a3353a466edB82E8F25b08e](https://snowscan.xyz/address/0xbBa56eF1565354217a3353a466edB82E8F25b08e) | [0x6208576378D06ce69A27987b7A524A9B15d499a4](https://snowscan.xyz/address/0x6208576378D06ce69A27987b7A524A9B15d499a4) |
| oracleDescription | FRAX / USD | Capped FRAX/USD |


#### DAI.e ([0xd586E7F844cEa2F87f50152665BCbc2C279D8d70](https://snowtrace.io/address/0xd586E7F844cEa2F87f50152665BCbc2C279D8d70))
#### DAI.e ([0xd586E7F844cEa2F87f50152665BCbc2C279D8d70](https://snowscan.xyz/address/0xd586E7F844cEa2F87f50152665BCbc2C279D8d70))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x51D7180edA2260cc4F6e4EebB82FEF5c3c2B8300](https://snowtrace.io/address/0x51D7180edA2260cc4F6e4EebB82FEF5c3c2B8300) | [0xf82da795727633aFA9BB0f1B08A87c0F6A38723f](https://snowtrace.io/address/0xf82da795727633aFA9BB0f1B08A87c0F6A38723f) |
| oracle | [0x51D7180edA2260cc4F6e4EebB82FEF5c3c2B8300](https://snowscan.xyz/address/0x51D7180edA2260cc4F6e4EebB82FEF5c3c2B8300) | [0xf82da795727633aFA9BB0f1B08A87c0F6A38723f](https://snowscan.xyz/address/0xf82da795727633aFA9BB0f1B08A87c0F6A38723f) |
| oracleDescription | DAI / USD | Capped DAI.e/USD |


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,47 +2,47 @@

### Reserve altered

#### MAI ([0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b](https://snowtrace.io/address/0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b))
#### MAI ([0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b](https://snowscan.xyz/address/0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b))

| description | value before | value after |
| --- | --- | --- |
| interestRateStrategy | [0x5f58C25D17C09c9e1892F45DE6dA45ed973A5326](https://snowtrace.io/address/0x5f58C25D17C09c9e1892F45DE6dA45ed973A5326) | [0xD61ca03Eac0352090f45bE50403F7B17d20E11F2](https://snowtrace.io/address/0xD61ca03Eac0352090f45bE50403F7B17d20E11F2) |
| interestRateStrategy | [0x5f58C25D17C09c9e1892F45DE6dA45ed973A5326](https://snowscan.xyz/address/0x5f58C25D17C09c9e1892F45DE6dA45ed973A5326) | [0xD61ca03Eac0352090f45bE50403F7B17d20E11F2](https://snowscan.xyz/address/0xD61ca03Eac0352090f45bE50403F7B17d20E11F2) |
| variableRateSlope1 | 5 % | 6 % |
| baseStableBorrowRate | 6 % | 7 % |
| interestRate | ![before](/.assets/ad65621e946b4e1b18cdb7b25c9fa0ae9d9fbb18.svg) | ![after](/.assets/f47524384ab6225b87778689e3c6d8287a38de2b.svg) |

#### USDt ([0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7](https://snowtrace.io/address/0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7))
#### USDt ([0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7](https://snowscan.xyz/address/0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7))

| description | value before | value after |
| --- | --- | --- |
| interestRateStrategy | [0x04daBC3C1c052AB94AA2ca80140f2b978d2F6E17](https://snowtrace.io/address/0x04daBC3C1c052AB94AA2ca80140f2b978d2F6E17) | [0x6D6D3b7FC50999bf20dE5CC8e0F63AFD18B95f0e](https://snowtrace.io/address/0x6D6D3b7FC50999bf20dE5CC8e0F63AFD18B95f0e) |
| interestRateStrategy | [0x04daBC3C1c052AB94AA2ca80140f2b978d2F6E17](https://snowscan.xyz/address/0x04daBC3C1c052AB94AA2ca80140f2b978d2F6E17) | [0x6D6D3b7FC50999bf20dE5CC8e0F63AFD18B95f0e](https://snowscan.xyz/address/0x6D6D3b7FC50999bf20dE5CC8e0F63AFD18B95f0e) |
| variableRateSlope1 | 5 % | 6 % |
| baseStableBorrowRate | 6 % | 7 % |
| interestRate | ![before](/.assets/ac29cf5e78bd5b80d4714477c4e7ab7e688a317d.svg) | ![after](/.assets/ef89d610edf6a8e63ac63c8bc807752accdabb0c.svg) |

#### USDC ([0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E](https://snowtrace.io/address/0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E))
#### USDC ([0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E](https://snowscan.xyz/address/0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E))

| description | value before | value after |
| --- | --- | --- |
| interestRateStrategy | [0x3B57B081dA6Af5e2759A57bD3211932Cb6176997](https://snowtrace.io/address/0x3B57B081dA6Af5e2759A57bD3211932Cb6176997) | [0x3832311560d3B457E9cC35e5b8e06EB167D8c17D](https://snowtrace.io/address/0x3832311560d3B457E9cC35e5b8e06EB167D8c17D) |
| interestRateStrategy | [0x3B57B081dA6Af5e2759A57bD3211932Cb6176997](https://snowscan.xyz/address/0x3B57B081dA6Af5e2759A57bD3211932Cb6176997) | [0x3832311560d3B457E9cC35e5b8e06EB167D8c17D](https://snowscan.xyz/address/0x3832311560d3B457E9cC35e5b8e06EB167D8c17D) |
| variableRateSlope1 | 5 % | 6 % |
| baseStableBorrowRate | 6 % | 7 % |
| interestRate | ![before](/.assets/364f4918c1329126a6e79d9f99545d38a4c19966.svg) | ![after](/.assets/5982fe691bdce75fb16101b23ef8815d0953520a.svg) |

#### FRAX ([0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64](https://snowtrace.io/address/0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64))
#### FRAX ([0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64](https://snowscan.xyz/address/0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64))

| description | value before | value after |
| --- | --- | --- |
| interestRateStrategy | [0x04daBC3C1c052AB94AA2ca80140f2b978d2F6E17](https://snowtrace.io/address/0x04daBC3C1c052AB94AA2ca80140f2b978d2F6E17) | [0x6D6D3b7FC50999bf20dE5CC8e0F63AFD18B95f0e](https://snowtrace.io/address/0x6D6D3b7FC50999bf20dE5CC8e0F63AFD18B95f0e) |
| interestRateStrategy | [0x04daBC3C1c052AB94AA2ca80140f2b978d2F6E17](https://snowscan.xyz/address/0x04daBC3C1c052AB94AA2ca80140f2b978d2F6E17) | [0x6D6D3b7FC50999bf20dE5CC8e0F63AFD18B95f0e](https://snowscan.xyz/address/0x6D6D3b7FC50999bf20dE5CC8e0F63AFD18B95f0e) |
| variableRateSlope1 | 5 % | 6 % |
| baseStableBorrowRate | 6 % | 7 % |
| interestRate | ![before](/.assets/ac29cf5e78bd5b80d4714477c4e7ab7e688a317d.svg) | ![after](/.assets/ef89d610edf6a8e63ac63c8bc807752accdabb0c.svg) |

#### DAI.e ([0xd586E7F844cEa2F87f50152665BCbc2C279D8d70](https://snowtrace.io/address/0xd586E7F844cEa2F87f50152665BCbc2C279D8d70))
#### DAI.e ([0xd586E7F844cEa2F87f50152665BCbc2C279D8d70](https://snowscan.xyz/address/0xd586E7F844cEa2F87f50152665BCbc2C279D8d70))

| description | value before | value after |
| --- | --- | --- |
| interestRateStrategy | [0x04daBC3C1c052AB94AA2ca80140f2b978d2F6E17](https://snowtrace.io/address/0x04daBC3C1c052AB94AA2ca80140f2b978d2F6E17) | [0x6D6D3b7FC50999bf20dE5CC8e0F63AFD18B95f0e](https://snowtrace.io/address/0x6D6D3b7FC50999bf20dE5CC8e0F63AFD18B95f0e) |
| interestRateStrategy | [0x04daBC3C1c052AB94AA2ca80140f2b978d2F6E17](https://snowscan.xyz/address/0x04daBC3C1c052AB94AA2ca80140f2b978d2F6E17) | [0x6D6D3b7FC50999bf20dE5CC8e0F63AFD18B95f0e](https://snowscan.xyz/address/0x6D6D3b7FC50999bf20dE5CC8e0F63AFD18B95f0e) |
| variableRateSlope1 | 5 % | 6 % |
| baseStableBorrowRate | 6 % | 7 % |
| interestRate | ![before](/.assets/ac29cf5e78bd5b80d4714477c4e7ab7e688a317d.svg) | ![after](/.assets/ef89d610edf6a8e63ac63c8bc807752accdabb0c.svg) |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Raw diff

```json
{}
```
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

| description | value before | value after |
| --- | --- | --- |
| interestRateStrategy | [0x3a4D5316ec79622686a19f69CE546997cC8e8514](https://etherscan.io/address/0x3a4D5316ec79622686a19f69CE546997cC8e8514) | [0x2f6390Ef66B8564C715aF6834361621dda38d816](https://etherscan.io/address/0x2f6390Ef66B8564C715aF6834361621dda38d816) |
| interestRateStrategy | [0x3a4D5316ec79622686a19f69CE546997cC8e8514](https://etherscan.io/address/0x3a4D5316ec79622686a19f69CE546997cC8e8514) | [0x3E49cfe26aaAB501b093AF72A7e5F0152D9D2e76](https://etherscan.io/address/0x3E49cfe26aaAB501b093AF72A7e5F0152D9D2e76) |
| baseVariableBorrowRate | 7.22 % | 7.92 % |
| interestRate | ![before](/.assets/078d4fa16841aad11aa6c8fee811f71297d1fecd.svg) | ![after](/.assets/8f4bd9d9c75dc060033b9ce1f2681ecb81e1b33f.svg) |
| interestRate | ![before](/.assets/078d4fa16841aad11aa6c8fee811f71297d1fecd.svg) | ![after](/.assets/f81c6249674188eb7c7b4dc65d0841e8424af694.svg) |

## Raw diff

Expand All @@ -18,15 +18,15 @@
"0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f": {
"interestRateStrategy": {
"from": "0x3a4D5316ec79622686a19f69CE546997cC8e8514",
"to": "0x2f6390Ef66B8564C715aF6834361621dda38d816"
"to": "0x3E49cfe26aaAB501b093AF72A7e5F0152D9D2e76"
}
}
},
"strategies": {
"0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f": {
"address": {
"from": "0x3a4D5316ec79622686a19f69CE546997cC8e8514",
"to": "0x2f6390Ef66B8564C715aF6834361621dda38d816"
"to": "0x3E49cfe26aaAB501b093AF72A7e5F0152D9D2e76"
},
"baseVariableBorrowRate": {
"from": "72200000000000000000000000",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
| --- | --- | --- |
| oracle | [0x5f4d15d761528c57a5C30c43c1DAb26Fc5452731](https://etherscan.io/address/0x5f4d15d761528c57a5C30c43c1DAb26Fc5452731) | [0x6243d2F41b4ec944F731f647589E28d9745a2674](https://etherscan.io/address/0x6243d2F41b4ec944F731f647589E28d9745a2674) |
| oracleDescription | null | Capped cbETH / ETH / USD |
| oracleName | cbETH/ETH/USD | null |
| oracleLatestAnswer | 4250.44712602 | 4272.48373554 |


Expand All @@ -66,6 +67,7 @@
| oracle | [0x05225Cd708bCa9253789C1374e4337a019e99D56](https://etherscan.io/address/0x05225Cd708bCa9253789C1374e4337a019e99D56) | [0x5AE8365D0a30D67145f0c55A08760C250559dB64](https://etherscan.io/address/0x5AE8365D0a30D67145f0c55A08760C250559dB64) |
| oracleDecimals | null | 8 |
| oracleDescription | null | Capped rETH / ETH / USD |
| oracleName | rETH/ETH/USD | null |


#### USDT ([0xdAC17F958D2ee523a2206206994597C13D831ec7](https://etherscan.io/address/0xdAC17F958D2ee523a2206206994597C13D831ec7))
Expand Down Expand Up @@ -158,6 +160,10 @@
"from": 425044712602,
"to": 427248373554
},
"oracleName": {
"from": "cbETH/ETH/USD",
"to": null
},
"oracleDescription": {
"from": null,
"to": "Capped cbETH / ETH / USD"
Expand All @@ -168,6 +174,10 @@
"from": "0x05225Cd708bCa9253789C1374e4337a019e99D56",
"to": "0x5AE8365D0a30D67145f0c55A08760C250559dB64"
},
"oracleName": {
"from": "rETH/ETH/USD",
"to": null
},
"oracleDecimals": {
"from": null,
"to": 8
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## Raw diff

```json
{
"poolConfig": {
"priceOracleSentinel": {
"from": "0x0000000000000000000000000000000000000000",
"to": "0xfD0Ba55775C1e53f50736FA5528d8aa45FBcA391"
}
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## Raw diff

```json
{
"poolConfig": {
"priceOracleSentinel": {
"from": "0x0000000000000000000000000000000000000000",
"to": "0xfD0Ba55775C1e53f50736FA5528d8aa45FBcA391"
}
}
}
```
2 changes: 2 additions & 0 deletions generator/features/__snapshots__/rateUpdates.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ contract AaveV2EthereumAMM_Test_20231023 is AaveV2PayloadEthereumAMM {
"test": "// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {AaveV2EthereumAMM} from 'aave-address-book/AaveV2EthereumAMM.sol';

import 'forge-std/Test.sol';
import {ProtocolV2TestBase, ReserveConfig} from 'aave-helpers/ProtocolV2TestBase.sol';
import {AaveV2EthereumAMM_Test_20231023} from './AaveV2EthereumAMM_Test_20231023.sol';
Expand Down
4 changes: 4 additions & 0 deletions generator/utils/importsResolver.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,9 @@ describe('prefixWithImports', () => {
expect(prefixWithImports('AaveV2Ethereum.POOL AaveV2EthereumAssets.DAI')).toContain(
`import {AaveV2Ethereum,AaveV2EthereumAssets} from 'aave-address-book/AaveV2Ethereum.sol';`
);

expect(prefixWithImports('AaveV3Avalanche.POOL')).toContain(
`import {AaveV3Avalanche} from 'aave-address-book/AaveV3Avalanche.sol';`
);
});
});
2 changes: 1 addition & 1 deletion generator/utils/importsResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function generateAddressBookImports(code: string) {
const imports: string[] = [];
let root = '';
// lookbehind for I to not match interfaces like IAaveV3ConfigEngine
const addressBookMatch = code.match(/(?<!I)(AaveV[2..3][A-Za-z]+)(?<![Assets|EModes])\b\./);
const addressBookMatch = code.match(/(?<!I)(AaveV[2..3][A-Za-z]+)(?<!(Assets)|(EModes))\b\./);
if (addressBookMatch) {
imports.push(addressBookMatch[1]);
root = addressBookMatch[1];
Expand Down
Loading
Loading