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

Set price cap adapters #223

Merged
merged 21 commits into from
Mar 12, 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/4986872b45a9cd8b31a38113050f5481468cb333.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/ca95ddfd1ad1b620d55be691c73b3c69ffb3f3f0.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
@@ -0,0 +1,174 @@
## Reserve changes

### Reserve altered

#### FRAX ([0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F](https://arbiscan.io/address/0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x0809E3d38d1B4214958faf06D8b1B1a2b73f2ab8](https://arbiscan.io/address/0x0809E3d38d1B4214958faf06D8b1B1a2b73f2ab8) | [0x06919EB75Bd6BA817D38CC70C1CA588ac7a01C10](https://arbiscan.io/address/0x06919EB75Bd6BA817D38CC70C1CA588ac7a01C10) |
| oracleDescription | FRAX / USD | Capped FRAX/USD |


#### MAI ([0x3F56e0c36d275367b8C502090EDF38289b3dEa0d](https://arbiscan.io/address/0x3F56e0c36d275367b8C502090EDF38289b3dEa0d))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x59644ec622243878d1464A9504F9e9a31294128a](https://arbiscan.io/address/0x59644ec622243878d1464A9504F9e9a31294128a) | [0x7a7cE08a1057723CCEDeA2462407427Ae33FFEb2](https://arbiscan.io/address/0x7a7cE08a1057723CCEDeA2462407427Ae33FFEb2) |
| oracleDescription | MIMATIC / USD | Capped MAI/USD |


#### wstETH ([0x5979D7b546E38E414F7E9822514be443A4800529](https://arbiscan.io/address/0x5979D7b546E38E414F7E9822514be443A4800529))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x945fD405773973d286De54E44649cc0d9e264F78](https://arbiscan.io/address/0x945fD405773973d286De54E44649cc0d9e264F78) | [0x87fE1503beFBF98C35c7526B0c488d950F822C0F](https://arbiscan.io/address/0x87fE1503beFBF98C35c7526B0c488d950F822C0F) |
| oracleDescription | wstETH/ETH/USD | Capped wstETH / stETH(ETH) / USD |


#### LUSD ([0x93b346b6BC2548dA6A1E7d98E9a421B42541425b](https://arbiscan.io/address/0x93b346b6BC2548dA6A1E7d98E9a421B42541425b))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x0411D28c94d85A36bC72Cb0f875dfA8371D8fFfF](https://arbiscan.io/address/0x0411D28c94d85A36bC72Cb0f875dfA8371D8fFfF) | [0x341B110bDF665A20F0D5f84A92FcAF5EbeEBC629](https://arbiscan.io/address/0x341B110bDF665A20F0D5f84A92FcAF5EbeEBC629) |
| oracleDescription | LUSD / USD | Capped LUSD/USD |


#### DAI ([0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1](https://arbiscan.io/address/0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0xc5C8E77B397E531B8EC06BFb0048328B30E9eCfB](https://arbiscan.io/address/0xc5C8E77B397E531B8EC06BFb0048328B30E9eCfB) | [0x4a838a3Dac6633bB1fd932B6f356DecFCAf7803D](https://arbiscan.io/address/0x4a838a3Dac6633bB1fd932B6f356DecFCAf7803D) |
| oracleDescription | DAI / USD | Capped DAI/USD |


#### rETH ([0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8](https://arbiscan.io/address/0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x04c28D6fE897859153eA753f986cc249Bf064f71](https://arbiscan.io/address/0x04c28D6fE897859153eA753f986cc249Bf064f71) | [0x256f33FC0110B1297f78f48524631D30B752480D](https://arbiscan.io/address/0x256f33FC0110B1297f78f48524631D30B752480D) |
| oracleDescription | rETH/ETH/USD | Capped rETH / ETH / USD |


#### USDC ([0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8](https://arbiscan.io/address/0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x50834F3163758fcC1Df9973b6e91f0F0F0434aD3](https://arbiscan.io/address/0x50834F3163758fcC1Df9973b6e91f0F0F0434aD3) | [0xDe25a88F87FEd9F8999fAbF6729dCB121893623C](https://arbiscan.io/address/0xDe25a88F87FEd9F8999fAbF6729dCB121893623C) |
| oracleDescription | USDC / USD | Capped USDC/USD |


#### USDT ([0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9](https://arbiscan.io/address/0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x3f3f5dF88dC9F13eac63DF89EC16ef6e7E25DdE7](https://arbiscan.io/address/0x3f3f5dF88dC9F13eac63DF89EC16ef6e7E25DdE7) | [0x84dC1C52D7C340AA54B4e8799FBB31C3D28E67aD](https://arbiscan.io/address/0x84dC1C52D7C340AA54B4e8799FBB31C3D28E67aD) |
| oracleDescription | USDT / USD | Capped USDT/USD |


#### USDC ([0xaf88d065e77c8cC2239327C5EDb3A432268e5831](https://arbiscan.io/address/0xaf88d065e77c8cC2239327C5EDb3A432268e5831))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x50834F3163758fcC1Df9973b6e91f0F0F0434aD3](https://arbiscan.io/address/0x50834F3163758fcC1Df9973b6e91f0F0F0434aD3) | [0xDe25a88F87FEd9F8999fAbF6729dCB121893623C](https://arbiscan.io/address/0xDe25a88F87FEd9F8999fAbF6729dCB121893623C) |
| oracleDescription | USDC / USD | Capped USDC/USD |


## Raw diff

```json
{
"reserves": {
"0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F": {
"oracle": {
"from": "0x0809E3d38d1B4214958faf06D8b1B1a2b73f2ab8",
"to": "0x06919EB75Bd6BA817D38CC70C1CA588ac7a01C10"
},
"oracleDescription": {
"from": "FRAX / USD",
"to": "Capped FRAX/USD"
}
},
"0x3F56e0c36d275367b8C502090EDF38289b3dEa0d": {
"oracle": {
"from": "0x59644ec622243878d1464A9504F9e9a31294128a",
"to": "0x7a7cE08a1057723CCEDeA2462407427Ae33FFEb2"
},
"oracleDescription": {
"from": "MIMATIC / USD",
"to": "Capped MAI/USD"
}
},
"0x5979D7b546E38E414F7E9822514be443A4800529": {
"oracle": {
"from": "0x945fD405773973d286De54E44649cc0d9e264F78",
"to": "0x87fE1503beFBF98C35c7526B0c488d950F822C0F"
},
"oracleDescription": {
"from": "wstETH/ETH/USD",
"to": "Capped wstETH / stETH(ETH) / USD"
}
},
"0x93b346b6BC2548dA6A1E7d98E9a421B42541425b": {
"oracle": {
"from": "0x0411D28c94d85A36bC72Cb0f875dfA8371D8fFfF",
"to": "0x341B110bDF665A20F0D5f84A92FcAF5EbeEBC629"
},
"oracleDescription": {
"from": "LUSD / USD",
"to": "Capped LUSD/USD"
}
},
"0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1": {
"oracle": {
"from": "0xc5C8E77B397E531B8EC06BFb0048328B30E9eCfB",
"to": "0x4a838a3Dac6633bB1fd932B6f356DecFCAf7803D"
},
"oracleDescription": {
"from": "DAI / USD",
"to": "Capped DAI/USD"
}
},
"0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8": {
"oracle": {
"from": "0x04c28D6fE897859153eA753f986cc249Bf064f71",
"to": "0x256f33FC0110B1297f78f48524631D30B752480D"
},
"oracleDescription": {
"from": "rETH/ETH/USD",
"to": "Capped rETH / ETH / USD"
}
},
"0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8": {
"oracle": {
"from": "0x50834F3163758fcC1Df9973b6e91f0F0F0434aD3",
"to": "0xDe25a88F87FEd9F8999fAbF6729dCB121893623C"
},
"oracleDescription": {
"from": "USDC / USD",
"to": "Capped USDC/USD"
}
},
"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9": {
"oracle": {
"from": "0x3f3f5dF88dC9F13eac63DF89EC16ef6e7E25DdE7",
"to": "0x84dC1C52D7C340AA54B4e8799FBB31C3D28E67aD"
},
"oracleDescription": {
"from": "USDT / USD",
"to": "Capped USDT/USD"
}
},
"0xaf88d065e77c8cC2239327C5EDb3A432268e5831": {
"oracle": {
"from": "0x50834F3163758fcC1Df9973b6e91f0F0F0434aD3",
"to": "0xDe25a88F87FEd9F8999fAbF6729dCB121893623C"
},
"oracleDescription": {
"from": "USDC / USD",
"to": "Capped USDC/USD"
}
}
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
## Reserve changes

### Reserve altered

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

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


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

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


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

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


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

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


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

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


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

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


## Raw diff

```json
{
"reserves": {
"0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE": {
"oracle": {
"from": "0xc9245871D69BF4c36c6F2D15E0D68Ffa883FE1A7",
"to": "0xB2B332f27e4B7305649a228C31Ed9858c5a6bAD9"
},
"oracleDecimals": {
"from": null,
"to": 8
},
"oracleDescription": {
"from": null,
"to": "Capped sAVAX / AVAX / USD"
}
},
"0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b": {
"oracle": {
"from": "0x5D1F504211c17365CA66353442a74D4435A8b778",
"to": "0xCcC55Db26B78a19Dba1beE0066F9c1665575439A"
},
"oracleDescription": {
"from": "MIMATIC / USD",
"to": "Capped MAI/USD"
}
},
"0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7": {
"oracle": {
"from": "0xEBE676ee90Fe1112671f19b6B7459bC678B67e8a",
"to": "0x39185f2236A6022b682e8BB93C040d125DA093CF"
},
"oracleDescription": {
"from": "USDT / USD",
"to": "Capped USDt/USD"
}
},
"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E": {
"oracle": {
"from": "0xF096872672F44d6EBA71458D74fe67F9a77a23B9",
"to": "0xD8277249e871BE9A402fa286C2C5ec16046dC512"
},
"oracleDescription": {
"from": "USDC / USD",
"to": "Capped USDC/USD"
}
},
"0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64": {
"oracle": {
"from": "0xbBa56eF1565354217a3353a466edB82E8F25b08e",
"to": "0x6208576378D06ce69A27987b7A524A9B15d499a4"
},
"oracleDescription": {
"from": "FRAX / USD",
"to": "Capped FRAX/USD"
}
},
"0xd586E7F844cEa2F87f50152665BCbc2C279D8d70": {
"oracle": {
"from": "0x51D7180edA2260cc4F6e4EebB82FEF5c3c2B8300",
"to": "0xf82da795727633aFA9BB0f1B08A87c0F6A38723f"
},
"oracleDescription": {
"from": "DAI / USD",
"to": "Capped DAI.e/USD"
}
}
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
## Reserve changes

### Reserve altered

#### USDT ([0x55d398326f99059fF775485246999027B3197955](https://bscscan.com/address/0x55d398326f99059fF775485246999027B3197955))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0xB97Ad0E74fa7d920791E90258A6E2085088b4320](https://bscscan.com/address/0xB97Ad0E74fa7d920791E90258A6E2085088b4320) | [0x0F682319Ed4A240b7a2599A48C965049515D9bC3](https://bscscan.com/address/0x0F682319Ed4A240b7a2599A48C965049515D9bC3) |
| oracleDescription | USDT / USD | Capped USDT/USD |


#### USDC ([0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d](https://bscscan.com/address/0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x51597f405303C4377E36123cBc172b13269EA163](https://bscscan.com/address/0x51597f405303C4377E36123cBc172b13269EA163) | [0xaFcFF74AE956f4c23c27Db49659D4a7F350415C1](https://bscscan.com/address/0xaFcFF74AE956f4c23c27Db49659D4a7F350415C1) |
| oracleDescription | USDC / USD | Capped USDC/USD |


#### FDUSD ([0xc5f0f7b66764F6ec8C8Dff7BA683102295E16409](https://bscscan.com/address/0xc5f0f7b66764F6ec8C8Dff7BA683102295E16409))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x390180e80058A8499930F0c13963AD3E0d86Bfc9](https://bscscan.com/address/0x390180e80058A8499930F0c13963AD3E0d86Bfc9) | [0x60a117Fa5bAbee4d645884fB11E413Da4F893b6D](https://bscscan.com/address/0x60a117Fa5bAbee4d645884fB11E413Da4F893b6D) |
| oracleDescription | FDUSD / USD | Capped fdUSD/USD |


## Raw diff

```json
{
"reserves": {
"0x55d398326f99059fF775485246999027B3197955": {
"oracle": {
"from": "0xB97Ad0E74fa7d920791E90258A6E2085088b4320",
"to": "0x0F682319Ed4A240b7a2599A48C965049515D9bC3"
},
"oracleDescription": {
"from": "USDT / USD",
"to": "Capped USDT/USD"
}
},
"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d": {
"oracle": {
"from": "0x51597f405303C4377E36123cBc172b13269EA163",
"to": "0xaFcFF74AE956f4c23c27Db49659D4a7F350415C1"
},
"oracleDescription": {
"from": "USDC / USD",
"to": "Capped USDC/USD"
}
},
"0xc5f0f7b66764F6ec8C8Dff7BA683102295E16409": {
"oracle": {
"from": "0x390180e80058A8499930F0c13963AD3E0d86Bfc9",
"to": "0x60a117Fa5bAbee4d645884fB11E413Da4F893b6D"
},
"oracleDescription": {
"from": "FDUSD / USD",
"to": "Capped fdUSD/USD"
}
}
}
}
```
Loading
Loading