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: update stable price cap adapters #511

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
## Reserve changes

### Reserve altered

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

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x06919EB75Bd6BA817D38CC70C1CA588ac7a01C10](https://arbiscan.io/address/0x06919EB75Bd6BA817D38CC70C1CA588ac7a01C10) | [0xC1d2Faa98935eA2f2eD34Bc84edb00B387061376](https://arbiscan.io/address/0xC1d2Faa98935eA2f2eD34Bc84edb00B387061376) |


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

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x7a7cE08a1057723CCEDeA2462407427Ae33FFEb2](https://arbiscan.io/address/0x7a7cE08a1057723CCEDeA2462407427Ae33FFEb2) | [0xAF92b0A685a15F4E26B6d7DA86F1a9C8C01E2a09](https://arbiscan.io/address/0xAF92b0A685a15F4E26B6d7DA86F1a9C8C01E2a09) |


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

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x341B110bDF665A20F0D5f84A92FcAF5EbeEBC629](https://arbiscan.io/address/0x341B110bDF665A20F0D5f84A92FcAF5EbeEBC629) | [0xc8b3e2776260c7e7A9C158a2344776e65E10ceE8](https://arbiscan.io/address/0xc8b3e2776260c7e7A9C158a2344776e65E10ceE8) |


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

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x4a838a3Dac6633bB1fd932B6f356DecFCAf7803D](https://arbiscan.io/address/0x4a838a3Dac6633bB1fd932B6f356DecFCAf7803D) | [0x9F221bfD2d3F226b187d4419b49117aD7E698977](https://arbiscan.io/address/0x9F221bfD2d3F226b187d4419b49117aD7E698977) |


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

| description | value before | value after |
| --- | --- | --- |
| oracle | [0xDe25a88F87FEd9F8999fAbF6729dCB121893623C](https://arbiscan.io/address/0xDe25a88F87FEd9F8999fAbF6729dCB121893623C) | [0x6200A5122Af8D5D9e69f4d526311Cd85241ACeC9](https://arbiscan.io/address/0x6200A5122Af8D5D9e69f4d526311Cd85241ACeC9) |


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

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x84dC1C52D7C340AA54B4e8799FBB31C3D28E67aD](https://arbiscan.io/address/0x84dC1C52D7C340AA54B4e8799FBB31C3D28E67aD) | [0x476494a850eec47301F74C8c9c2652495c47C56c](https://arbiscan.io/address/0x476494a850eec47301F74C8c9c2652495c47C56c) |


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

| description | value before | value after |
| --- | --- | --- |
| oracle | [0xDe25a88F87FEd9F8999fAbF6729dCB121893623C](https://arbiscan.io/address/0xDe25a88F87FEd9F8999fAbF6729dCB121893623C) | [0x6200A5122Af8D5D9e69f4d526311Cd85241ACeC9](https://arbiscan.io/address/0x6200A5122Af8D5D9e69f4d526311Cd85241ACeC9) |


## Emodes changed

### EMode: Stablecoins(id: 1)

| description | value before | value after |
| --- | --- | --- |
| eMode.label (unchanged) | Stablecoins | Stablecoins |
| eMode.ltv (unchanged) | 93 % | 93 % |
| eMode.liquidationThreshold (unchanged) | 95 % | 95 % |
| eMode.liquidationBonus (unchanged) | 1 % | 1 % |
| eMode.borrowableBitmap (unchanged) | DAI, USDC, USDT, EURS, USDC | DAI, USDC, USDT, EURS, USDC |
| eMode.collateralBitmap (unchanged) | DAI, USDC, USDT, EURS, USDC | DAI, USDC, USDT, EURS, USDC |


### EMode: ETH correlated(id: 2)

| description | value before | value after |
| --- | --- | --- |
| eMode.label (unchanged) | ETH correlated | ETH correlated |
| eMode.ltv (unchanged) | 93 % | 93 % |
| eMode.liquidationThreshold (unchanged) | 95 % | 95 % |
| eMode.liquidationBonus (unchanged) | 1 % | 1 % |
| eMode.borrowableBitmap (unchanged) | WETH, wstETH, weETH | WETH, wstETH, weETH |
| eMode.collateralBitmap (unchanged) | WETH, wstETH, weETH | WETH, wstETH, weETH |


## Raw diff

```json
{
"reserves": {
"0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F": {
"oracle": {
"from": "0x06919EB75Bd6BA817D38CC70C1CA588ac7a01C10",
"to": "0xC1d2Faa98935eA2f2eD34Bc84edb00B387061376"
}
},
"0x3F56e0c36d275367b8C502090EDF38289b3dEa0d": {
"oracle": {
"from": "0x7a7cE08a1057723CCEDeA2462407427Ae33FFEb2",
"to": "0xAF92b0A685a15F4E26B6d7DA86F1a9C8C01E2a09"
}
},
"0x93b346b6BC2548dA6A1E7d98E9a421B42541425b": {
"oracle": {
"from": "0x341B110bDF665A20F0D5f84A92FcAF5EbeEBC629",
"to": "0xc8b3e2776260c7e7A9C158a2344776e65E10ceE8"
}
},
"0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1": {
"oracle": {
"from": "0x4a838a3Dac6633bB1fd932B6f356DecFCAf7803D",
"to": "0x9F221bfD2d3F226b187d4419b49117aD7E698977"
}
},
"0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8": {
"oracle": {
"from": "0xDe25a88F87FEd9F8999fAbF6729dCB121893623C",
"to": "0x6200A5122Af8D5D9e69f4d526311Cd85241ACeC9"
}
},
"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9": {
"oracle": {
"from": "0x84dC1C52D7C340AA54B4e8799FBB31C3D28E67aD",
"to": "0x476494a850eec47301F74C8c9c2652495c47C56c"
}
},
"0xaf88d065e77c8cC2239327C5EDb3A432268e5831": {
"oracle": {
"from": "0xDe25a88F87FEd9F8999fAbF6729dCB121893623C",
"to": "0x6200A5122Af8D5D9e69f4d526311Cd85241ACeC9"
}
}
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
## Reserve changes

### Reserve altered

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

| description | value before | value after |
| --- | --- | --- |
| oracle | [0xCcC55Db26B78a19Dba1beE0066F9c1665575439A](https://snowtrace.io/address/0xCcC55Db26B78a19Dba1beE0066F9c1665575439A) | [0x85142981C14D98a4B69B04225ca74b764648D443](https://snowtrace.io/address/0x85142981C14D98a4B69B04225ca74b764648D443) |


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

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x39185f2236A6022b682e8BB93C040d125DA093CF](https://snowtrace.io/address/0x39185f2236A6022b682e8BB93C040d125DA093CF) | [0x5b7810a910B4a878AaA4800a824E5E5796838009](https://snowtrace.io/address/0x5b7810a910B4a878AaA4800a824E5E5796838009) |


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

| description | value before | value after |
| --- | --- | --- |
| oracle | [0xD8277249e871BE9A402fa286C2C5ec16046dC512](https://snowtrace.io/address/0xD8277249e871BE9A402fa286C2C5ec16046dC512) | [0xb0D7A8bbDcdb1203850b742bB4d7f57a1F1C8483](https://snowtrace.io/address/0xb0D7A8bbDcdb1203850b742bB4d7f57a1F1C8483) |


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

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x6208576378D06ce69A27987b7A524A9B15d499a4](https://snowtrace.io/address/0x6208576378D06ce69A27987b7A524A9B15d499a4) | [0x0b7c356de5E68A8A257fcD23Ac1e8204D753A6fb](https://snowtrace.io/address/0x0b7c356de5E68A8A257fcD23Ac1e8204D753A6fb) |


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

| description | value before | value after |
| --- | --- | --- |
| oracle | [0xf82da795727633aFA9BB0f1B08A87c0F6A38723f](https://snowtrace.io/address/0xf82da795727633aFA9BB0f1B08A87c0F6A38723f) | [0x0b47c51CCD4FaDe1D93C750bFCAB0a5ce8734ED0](https://snowtrace.io/address/0x0b47c51CCD4FaDe1D93C750bFCAB0a5ce8734ED0) |


## Emodes changed

### EMode: Stablecoins(id: 1)

| description | value before | value after |
| --- | --- | --- |
| eMode.label (unchanged) | Stablecoins | Stablecoins |
| eMode.ltv (unchanged) | 93 % | 93 % |
| eMode.liquidationThreshold (unchanged) | 95 % | 95 % |
| eMode.liquidationBonus (unchanged) | 1 % | 1 % |
| eMode.borrowableBitmap (unchanged) | DAI.e, USDC, USDt, FRAX, MAI | DAI.e, USDC, USDt, FRAX, MAI |
| eMode.collateralBitmap (unchanged) | DAI.e, USDC, USDt, FRAX, MAI | DAI.e, USDC, USDt, FRAX, MAI |


### EMode: AVAX correlated(id: 2)

| description | value before | value after |
| --- | --- | --- |
| eMode.label (unchanged) | AVAX correlated | AVAX correlated |
| eMode.ltv (unchanged) | 93 % | 93 % |
| eMode.liquidationThreshold (unchanged) | 95 % | 95 % |
| eMode.liquidationBonus (unchanged) | 1 % | 1 % |
| eMode.borrowableBitmap (unchanged) | WAVAX, sAVAX | WAVAX, sAVAX |
| eMode.collateralBitmap (unchanged) | WAVAX, sAVAX | WAVAX, sAVAX |


## Raw diff

```json
{
"reserves": {
"0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b": {
"oracle": {
"from": "0xCcC55Db26B78a19Dba1beE0066F9c1665575439A",
"to": "0x85142981C14D98a4B69B04225ca74b764648D443"
}
},
"0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7": {
"oracle": {
"from": "0x39185f2236A6022b682e8BB93C040d125DA093CF",
"to": "0x5b7810a910B4a878AaA4800a824E5E5796838009"
}
},
"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E": {
"oracle": {
"from": "0xD8277249e871BE9A402fa286C2C5ec16046dC512",
"to": "0xb0D7A8bbDcdb1203850b742bB4d7f57a1F1C8483"
}
},
"0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64": {
"oracle": {
"from": "0x6208576378D06ce69A27987b7A524A9B15d499a4",
"to": "0x0b7c356de5E68A8A257fcD23Ac1e8204D753A6fb"
}
},
"0xd586E7F844cEa2F87f50152665BCbc2C279D8d70": {
"oracle": {
"from": "0xf82da795727633aFA9BB0f1B08A87c0F6A38723f",
"to": "0x0b47c51CCD4FaDe1D93C750bFCAB0a5ce8734ED0"
}
}
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
## Reserve changes

### Reserve altered

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

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x0F682319Ed4A240b7a2599A48C965049515D9bC3](https://bscscan.com/address/0x0F682319Ed4A240b7a2599A48C965049515D9bC3) | [0xee845A7A40A090Da256420A293803C35B7F436b6](https://bscscan.com/address/0xee845A7A40A090Da256420A293803C35B7F436b6) |


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

| description | value before | value after |
| --- | --- | --- |
| oracle | [0xaFcFF74AE956f4c23c27Db49659D4a7F350415C1](https://bscscan.com/address/0xaFcFF74AE956f4c23c27Db49659D4a7F350415C1) | [0x9102a9553B470dbD0dC74009a870A5886C92902C](https://bscscan.com/address/0x9102a9553B470dbD0dC74009a870A5886C92902C) |


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

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x60a117Fa5bAbee4d645884fB11E413Da4F893b6D](https://bscscan.com/address/0x60a117Fa5bAbee4d645884fB11E413Da4F893b6D) | [0x72Cb7a00D439296A6fC3c9face9Eca96bfdEf825](https://bscscan.com/address/0x72Cb7a00D439296A6fC3c9face9Eca96bfdEf825) |


## Raw diff

```json
{
"reserves": {
"0x55d398326f99059fF775485246999027B3197955": {
"oracle": {
"from": "0x0F682319Ed4A240b7a2599A48C965049515D9bC3",
"to": "0xee845A7A40A090Da256420A293803C35B7F436b6"
}
},
"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d": {
"oracle": {
"from": "0xaFcFF74AE956f4c23c27Db49659D4a7F350415C1",
"to": "0x9102a9553B470dbD0dC74009a870A5886C92902C"
}
},
"0xc5f0f7b66764F6ec8C8Dff7BA683102295E16409": {
"oracle": {
"from": "0x60a117Fa5bAbee4d645884fB11E413Da4F893b6D",
"to": "0x72Cb7a00D439296A6fC3c9face9Eca96bfdEf825"
}
}
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
## Reserve changes

### Reserve altered

#### USDC ([0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913](https://basescan.org/address/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x978D8878b53Fbe40dab7D4AB47b97AB622FFeF9f](https://basescan.org/address/0x978D8878b53Fbe40dab7D4AB47b97AB622FFeF9f) | [0xfcF82bFa2485253263969167583Ea4de09e9993b](https://basescan.org/address/0xfcF82bFa2485253263969167583Ea4de09e9993b) |


#### USDbC ([0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA](https://basescan.org/address/0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x978D8878b53Fbe40dab7D4AB47b97AB622FFeF9f](https://basescan.org/address/0x978D8878b53Fbe40dab7D4AB47b97AB622FFeF9f) | [0xfcF82bFa2485253263969167583Ea4de09e9993b](https://basescan.org/address/0xfcF82bFa2485253263969167583Ea4de09e9993b) |


## Emodes changed

### EMode: ETH correlated(id: 1)

| description | value before | value after |
| --- | --- | --- |
| eMode.label (unchanged) | ETH correlated | ETH correlated |
| eMode.ltv (unchanged) | 90 % | 90 % |
| eMode.liquidationThreshold (unchanged) | 93 % | 93 % |
| eMode.liquidationBonus (unchanged) | 2 % | 2 % |
| eMode.borrowableBitmap (unchanged) | WETH, cbETH, wstETH, weETH | WETH, cbETH, wstETH, weETH |
| eMode.collateralBitmap (unchanged) | WETH, cbETH, wstETH, weETH | WETH, cbETH, wstETH, weETH |


## Raw diff

```json
{
"reserves": {
"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913": {
"oracle": {
"from": "0x978D8878b53Fbe40dab7D4AB47b97AB622FFeF9f",
"to": "0xfcF82bFa2485253263969167583Ea4de09e9993b"
}
},
"0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA": {
"oracle": {
"from": "0x978D8878b53Fbe40dab7D4AB47b97AB622FFeF9f",
"to": "0xfcF82bFa2485253263969167583Ea4de09e9993b"
}
}
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
## Reserve changes

### Reserve altered

#### PYUSD ([0x6c3ea9036406852006290770BEdFcAbA0e23A0e8](https://etherscan.io/address/0x6c3ea9036406852006290770BEdFcAbA0e23A0e8))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x150bAe7Ce224555D39AfdBc6Cb4B8204E594E022](https://etherscan.io/address/0x150bAe7Ce224555D39AfdBc6Cb4B8204E594E022) | [0x36964C0579D02E0a5AaAb89E24Cf8d7CDF3549EE](https://etherscan.io/address/0x36964C0579D02E0a5AaAb89E24Cf8d7CDF3549EE) |


#### FRAX ([0x853d955aCEf822Db058eb8505911ED77F175b99e](https://etherscan.io/address/0x853d955aCEf822Db058eb8505911ED77F175b99e))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x45D270263BBee500CF8adcf2AbC0aC227097b036](https://etherscan.io/address/0x45D270263BBee500CF8adcf2AbC0aC227097b036) | [0xeF50f8DC65402c3019586bc8725fCD0b99B8AAd7](https://etherscan.io/address/0xeF50f8DC65402c3019586bc8725fCD0b99B8AAd7) |


#### USDC ([0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48](https://etherscan.io/address/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48))

| description | value before | value after |
| --- | --- | --- |
| oracle | [0x736bF902680e68989886e9807CD7Db4B3E015d3C](https://etherscan.io/address/0x736bF902680e68989886e9807CD7Db4B3E015d3C) | [0xB6557F02F0a5dA7b9D3C2d979cc19e00e756F6dA](https://etherscan.io/address/0xB6557F02F0a5dA7b9D3C2d979cc19e00e756F6dA) |


## Raw diff

```json
{
"reserves": {
"0x6c3ea9036406852006290770BEdFcAbA0e23A0e8": {
"oracle": {
"from": "0x150bAe7Ce224555D39AfdBc6Cb4B8204E594E022",
"to": "0x36964C0579D02E0a5AaAb89E24Cf8d7CDF3549EE"
}
},
"0x853d955aCEf822Db058eb8505911ED77F175b99e": {
"oracle": {
"from": "0x45D270263BBee500CF8adcf2AbC0aC227097b036",
"to": "0xeF50f8DC65402c3019586bc8725fCD0b99B8AAd7"
}
},
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": {
"oracle": {
"from": "0x736bF902680e68989886e9807CD7Db4B3E015d3C",
"to": "0xB6557F02F0a5dA7b9D3C2d979cc19e00e756F6dA"
}
}
}
}
```
Loading
Loading