generated from bgd-labs/bgd-forge-template
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update DAI lt & ltv * setting correct LB * actualy do the correct things on gnosis * test & test result also someone switched LT & LTV on V2 market * mirror gnosis correction in the config file * Update src/20240411_Multi_RiskParametersForDAIUpdate/RiskParametersForDAIUpdate.md Co-authored-by: Harsh Pandey <harshsatishpandey@gmail.com> * Update src/20240411_Multi_RiskParametersForDAIUpdate/RiskParametersForDAIUpdate.md Co-authored-by: Harsh Pandey <harshsatishpandey@gmail.com> * Update src/20240411_Multi_RiskParametersForDAIUpdate/RiskParametersForDAIUpdate.md Co-authored-by: Harsh Pandey <harshsatishpandey@gmail.com> * Update src/20240411_Multi_RiskParametersForDAIUpdate/RiskParametersForDAIUpdate.md Co-authored-by: Harsh Pandey <harshsatishpandey@gmail.com> * Update src/20240411_Multi_RiskParametersForDAIUpdate/RiskParametersForDAIUpdate.md Co-authored-by: Harsh Pandey <harshsatishpandey@gmail.com> * Update src/20240411_Multi_RiskParametersForDAIUpdate/RiskParametersForDAIUpdate.md Co-authored-by: Harsh Pandey <harshsatishpandey@gmail.com> --------- Co-authored-by: Harsh Pandey <harshsatishpandey@gmail.com>
- Loading branch information
1 parent
aa141b8
commit f41d680
Showing
33 changed files
with
1,455 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
...te_20240411_before_AaveV2Avalanche_RiskParametersForDAIUpdate_20240411_after.md
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,30 @@ | ||
## Reserve changes | ||
|
||
### Reserves altered | ||
|
||
#### DAI.e ([0xd586E7F844cEa2F87f50152665BCbc2C279D8d70](https://snowscan.xyz/address/0xd586E7F844cEa2F87f50152665BCbc2C279D8d70)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 75 % | 63 % | | ||
| liquidationThreshold | 80 % | 77 % | | ||
|
||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"reserves": { | ||
"0xd586E7F844cEa2F87f50152665BCbc2C279D8d70": { | ||
"liquidationThreshold": { | ||
"from": 8000, | ||
"to": 7700 | ||
}, | ||
"ltv": { | ||
"from": 7500, | ||
"to": 6300 | ||
} | ||
} | ||
} | ||
} | ||
``` |
30 changes: 30 additions & 0 deletions
30
...ate_20240411_before_AaveV2Ethereum_RiskParametersForDAIUpdate_20240411_after.md
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,30 @@ | ||
## Reserve changes | ||
|
||
### Reserves altered | ||
|
||
#### DAI ([0x6B175474E89094C44Da98b954EedeAC495271d0F](https://etherscan.io/address/0x6B175474E89094C44Da98b954EedeAC495271d0F)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 75 % | 63 % | | ||
| liquidationThreshold | 87 % | 77 % | | ||
|
||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"reserves": { | ||
"0x6B175474E89094C44Da98b954EedeAC495271d0F": { | ||
"liquidationThreshold": { | ||
"from": 8700, | ||
"to": 7700 | ||
}, | ||
"ltv": { | ||
"from": 7500, | ||
"to": 6300 | ||
} | ||
} | ||
} | ||
} | ||
``` |
30 changes: 30 additions & 0 deletions
30
...date_20240411_before_AaveV2Polygon_RiskParametersForDAIUpdate_20240411_after.md
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,30 @@ | ||
## Reserve changes | ||
|
||
### Reserves altered | ||
|
||
#### DAI ([0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063](https://polygonscan.com/address/0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 75 % | 63 % | | ||
| liquidationThreshold | 80 % | 77 % | | ||
|
||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"reserves": { | ||
"0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063": { | ||
"liquidationThreshold": { | ||
"from": 8000, | ||
"to": 7700 | ||
}, | ||
"ltv": { | ||
"from": 7500, | ||
"to": 6300 | ||
} | ||
} | ||
} | ||
} | ||
``` |
30 changes: 30 additions & 0 deletions
30
...ate_20240411_before_AaveV3Arbitrum_RiskParametersForDAIUpdate_20240411_after.md
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,30 @@ | ||
## Reserve changes | ||
|
||
### Reserves altered | ||
|
||
#### DAI ([0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1](https://arbiscan.io/address/0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 76 % | 63 % | | ||
| liquidationThreshold | 79 % | 77 % | | ||
|
||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"reserves": { | ||
"0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1": { | ||
"liquidationThreshold": { | ||
"from": 7900, | ||
"to": 7700 | ||
}, | ||
"ltv": { | ||
"from": 7600, | ||
"to": 6300 | ||
} | ||
} | ||
} | ||
} | ||
``` |
30 changes: 30 additions & 0 deletions
30
...te_20240411_before_AaveV3Avalanche_RiskParametersForDAIUpdate_20240411_after.md
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,30 @@ | ||
## Reserve changes | ||
|
||
### Reserves altered | ||
|
||
#### DAI.e ([0xd586E7F844cEa2F87f50152665BCbc2C279D8d70](https://snowscan.xyz/address/0xd586E7F844cEa2F87f50152665BCbc2C279D8d70)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 75 % | 63 % | | ||
| liquidationThreshold | 80 % | 77 % | | ||
|
||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"reserves": { | ||
"0xd586E7F844cEa2F87f50152665BCbc2C279D8d70": { | ||
"liquidationThreshold": { | ||
"from": 8000, | ||
"to": 7700 | ||
}, | ||
"ltv": { | ||
"from": 7500, | ||
"to": 6300 | ||
} | ||
} | ||
} | ||
} | ||
``` |
48 changes: 48 additions & 0 deletions
48
...ate_20240411_before_AaveV3Ethereum_RiskParametersForDAIUpdate_20240411_after.md
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,48 @@ | ||
## Reserve changes | ||
|
||
### Reserve altered | ||
|
||
#### DAI ([0x6B175474E89094C44Da98b954EedeAC495271d0F](https://etherscan.io/address/0x6B175474E89094C44Da98b954EedeAC495271d0F)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 76 % | 63 % | | ||
| liquidationThreshold | 79 % | 77 % | | ||
|
||
|
||
#### sDAI ([0x83F20F44975D03b1b09e64809B757c47f942BEeA](https://etherscan.io/address/0x83F20F44975D03b1b09e64809B757c47f942BEeA)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 76 % | 63 % | | ||
| liquidationThreshold | 79 % | 77 % | | ||
|
||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"reserves": { | ||
"0x6B175474E89094C44Da98b954EedeAC495271d0F": { | ||
"liquidationThreshold": { | ||
"from": 7900, | ||
"to": 7700 | ||
}, | ||
"ltv": { | ||
"from": 7600, | ||
"to": 6300 | ||
} | ||
}, | ||
"0x83F20F44975D03b1b09e64809B757c47f942BEeA": { | ||
"liquidationThreshold": { | ||
"from": 7900, | ||
"to": 7700 | ||
}, | ||
"ltv": { | ||
"from": 7600, | ||
"to": 6300 | ||
} | ||
} | ||
} | ||
} | ||
``` |
48 changes: 48 additions & 0 deletions
48
...pdate_20240411_before_AaveV3Gnosis_RiskParametersForDAIUpdate_20240411_after.md
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,48 @@ | ||
## Reserve changes | ||
|
||
### Reserve altered | ||
|
||
#### sDAI ([0xaf204776c7245bF4147c2612BF6e5972Ee483701](https://gnosisscan.io/address/0xaf204776c7245bF4147c2612BF6e5972Ee483701)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 76 % | 63 % | | ||
| liquidationThreshold | 79 % | 77 % | | ||
|
||
|
||
#### WXDAI ([0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d](https://gnosisscan.io/address/0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 76 % | 63 % | | ||
| liquidationThreshold | 79 % | 77 % | | ||
|
||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"reserves": { | ||
"0xaf204776c7245bF4147c2612BF6e5972Ee483701": { | ||
"liquidationThreshold": { | ||
"from": 7900, | ||
"to": 7700 | ||
}, | ||
"ltv": { | ||
"from": 7600, | ||
"to": 6300 | ||
} | ||
}, | ||
"0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d": { | ||
"liquidationThreshold": { | ||
"from": 7900, | ||
"to": 7700 | ||
}, | ||
"ltv": { | ||
"from": 7600, | ||
"to": 6300 | ||
} | ||
} | ||
} | ||
} | ||
``` |
30 changes: 30 additions & 0 deletions
30
...Update_20240411_before_AaveV3Metis_RiskParametersForDAIUpdate_20240411_after.md
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,30 @@ | ||
## Reserve changes | ||
|
||
### Reserves altered | ||
|
||
#### m.DAI ([0x4c078361FC9BbB78DF910800A991C7c3DD2F6ce0](https://andromeda-explorer.metis.io/address/0x4c078361FC9BbB78DF910800A991C7c3DD2F6ce0)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 75 % | 63 % | | ||
| liquidationThreshold | 80 % | 77 % | | ||
|
||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"reserves": { | ||
"0x4c078361FC9BbB78DF910800A991C7c3DD2F6ce0": { | ||
"liquidationThreshold": { | ||
"from": 8000, | ||
"to": 7700 | ||
}, | ||
"ltv": { | ||
"from": 7500, | ||
"to": 6300 | ||
} | ||
} | ||
} | ||
} | ||
``` |
30 changes: 30 additions & 0 deletions
30
...ate_20240411_before_AaveV3Optimism_RiskParametersForDAIUpdate_20240411_after.md
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,30 @@ | ||
## Reserve changes | ||
|
||
### Reserves altered | ||
|
||
#### DAI ([0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1](https://optimistic.etherscan.io/address/0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 75 % | 63 % | | ||
| liquidationThreshold | 80 % | 77 % | | ||
|
||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"reserves": { | ||
"0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1": { | ||
"liquidationThreshold": { | ||
"from": 8000, | ||
"to": 7700 | ||
}, | ||
"ltv": { | ||
"from": 7500, | ||
"to": 6300 | ||
} | ||
} | ||
} | ||
} | ||
``` |
30 changes: 30 additions & 0 deletions
30
...date_20240411_before_AaveV3Polygon_RiskParametersForDAIUpdate_20240411_after.md
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,30 @@ | ||
## Reserve changes | ||
|
||
### Reserves altered | ||
|
||
#### DAI ([0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063](https://polygonscan.com/address/0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 76 % | 63 % | | ||
| liquidationThreshold | 79 % | 77 % | | ||
|
||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"reserves": { | ||
"0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063": { | ||
"liquidationThreshold": { | ||
"from": 7900, | ||
"to": 7700 | ||
}, | ||
"ltv": { | ||
"from": 7600, | ||
"to": 6300 | ||
} | ||
} | ||
} | ||
} | ||
``` |
23 changes: 23 additions & 0 deletions
23
..._Multi_RiskParametersForDAIUpdate/AaveV2Avalanche_RiskParametersForDAIUpdate_20240411.sol
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,23 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import {IProposalGenericExecutor} from 'aave-helpers/interfaces/IProposalGenericExecutor.sol'; | ||
import {AaveV2Avalanche, AaveV2AvalancheAssets} from 'aave-address-book/AaveV2Avalanche.sol'; | ||
|
||
/** | ||
* @title Risk Parameters for DAI Update | ||
* @author Aave Chan Initiative | ||
* - Snapshot: https://snapshot.org/#/aave.eth/proposal/0x9f024edf6b8ebe1177503fbed3ceb6b5847cc0cae0e9269132c39b223db30023 | ||
* - Discussion: https://governance.aave.com/t/arfc-risk-parameters-for-dai-update/17211 | ||
*/ | ||
contract AaveV2Avalanche_RiskParametersForDAIUpdate_20240411 is IProposalGenericExecutor { | ||
function execute() external { | ||
// custom code goes here | ||
AaveV2Avalanche.POOL_CONFIGURATOR.configureReserveAsCollateral( | ||
AaveV2AvalancheAssets.DAIe_UNDERLYING, | ||
63_00, | ||
77_00, | ||
105_00 | ||
); | ||
} | ||
} |
Oops, something went wrong.
f41d680
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Foundry report
Build log
Test success 🌈