Skip to content

Commit f926ee6

Browse files
RozengardenRozengardenNandyBa
authored
[ACI] Set LTV of rarely used assets to 0 (#878)
* Set LTV of rarely used asset to 0% * feat: add BNB diff file * Remove DeprecationOfLowDemandVolatileAssetsOnAaveV3Instances.md~ * correct typo and mark as Direct-to-AIP * specify ZkSync payload ID * add import for zkSYNC payloads --------- Co-authored-by: Rozengarden <[email protected]> Co-authored-by: Nandy Bâ <[email protected]>
1 parent eea154c commit f926ee6

File tree

16 files changed

+991
-0
lines changed

16 files changed

+991
-0
lines changed
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
## Reserve changes
2+
3+
### Reserves altered
4+
5+
#### Cake ([0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82](https://bscscan.com/address/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82))
6+
7+
| description | value before | value after |
8+
| --- | --- | --- |
9+
| ltv | 55 % [5500] | 0 % [0] |
10+
11+
12+
## Raw diff
13+
14+
```json
15+
{
16+
"reserves": {
17+
"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82": {
18+
"ltv": {
19+
"from": 5500,
20+
"to": 0
21+
}
22+
}
23+
},
24+
"raw": {
25+
"0x2d97f8fa96886fd923c065f5457f9ddd494e3877": {
26+
"label": "AaveV3BNB.ACL_MANAGER",
27+
"balanceDiff": null,
28+
"stateDiff": {}
29+
},
30+
"0x5793fe4de34532f162b4e207af872729880ec2b6": {
31+
"label": "AaveV3BNB.POOL_CONFIGURATOR_IMPL",
32+
"balanceDiff": null,
33+
"stateDiff": {}
34+
},
35+
"0x67bdf23c7fce7c65ff7415ba3f2520b45d6f9584": {
36+
"label": "AaveV3BNB.POOL_CONFIGURATOR",
37+
"balanceDiff": null,
38+
"stateDiff": {}
39+
},
40+
"0x6807dc923806fe8fd134338eabca509979a7e0cb": {
41+
"label": "AaveV3BNB.POOL",
42+
"balanceDiff": null,
43+
"stateDiff": {}
44+
},
45+
"0x9390b1735def18560c509e2d0bc090e9d6ba257a": {
46+
"label": "AaveV3BNB.ACL_ADMIN, GovernanceV3BNB.EXECUTOR_LVL_1",
47+
"balanceDiff": null,
48+
"stateDiff": {}
49+
},
50+
"0xb9eb5abe26f74395e7833761e76a8e82ad8436f1": {
51+
"label": "AaveV3BNB.POOL_IMPL",
52+
"balanceDiff": null,
53+
"stateDiff": {
54+
"0x5d54c6410275cc5a5b440259b3bdba59addb097a220aaccc7a447ece2a2b45b3": {
55+
"previousValue": "0x10014dc93800000000000003e8000124f8000000000107d085122af817d4157c",
56+
"newValue": "0x10014dc93800000000000003e8000124f8000000000107d085122af817d40000"
57+
}
58+
}
59+
},
60+
"0xbdfa4bdd705e02a2da357ddd2e543ec654529940": {
61+
"label": null,
62+
"balanceDiff": null,
63+
"stateDiff": {
64+
"0x3ba015d6b845e102ce2f76836007be82508e3543856f2a3c2ff4b56eb46d920e": {
65+
"previousValue": "0x0068fa7407000000000002000000000000000000000000000000000000000000",
66+
"newValue": "0x0068fa7407000000000003000000000000000000000000000000000000000000"
67+
},
68+
"0x3ba015d6b845e102ce2f76836007be82508e3543856f2a3c2ff4b56eb46d920f": {
69+
"previousValue": "0x000000000000000000093a800000000000006928988800000000000000000000",
70+
"newValue": "0x000000000000000000093a800000000000006928988800000000000068fa7408"
71+
}
72+
}
73+
},
74+
"0xe5ef2dd06755a97e975f7e282f828224f2c3e627": {
75+
"label": "GovernanceV3BNB.PAYLOADS_CONTROLLER",
76+
"balanceDiff": null,
77+
"stateDiff": {}
78+
},
79+
"0xff75b6da14ffbbfd355daf7a2731456b3562ba6d": {
80+
"label": "AaveV3BNB.POOL_ADDRESSES_PROVIDER",
81+
"balanceDiff": null,
82+
"stateDiff": {}
83+
}
84+
}
85+
}
86+
```
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
## Reserve changes
2+
3+
### Reserve altered
4+
5+
#### 1INCH ([0x111111111117dC0aa78b770fA6A738034120C302](https://etherscan.io/address/0x111111111117dC0aa78b770fA6A738034120C302))
6+
7+
| description | value before | value after |
8+
| --- | --- | --- |
9+
| ltv | 57 % [5700] | 0 % [0] |
10+
11+
12+
#### UNI ([0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984](https://etherscan.io/address/0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984))
13+
14+
| description | value before | value after |
15+
| --- | --- | --- |
16+
| ltv | 65 % [6500] | 0 % [0] |
17+
18+
19+
#### LDO ([0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32](https://etherscan.io/address/0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32))
20+
21+
| description | value before | value after |
22+
| --- | --- | --- |
23+
| ltv | 40 % [4000] | 0 % [0] |
24+
25+
26+
#### ENS ([0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72](https://etherscan.io/address/0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72))
27+
28+
| description | value before | value after |
29+
| --- | --- | --- |
30+
| ltv | 39 % [3900] | 0 % [0] |
31+
32+
33+
#### CRV ([0xD533a949740bb3306d119CC777fa900bA034cd52](https://etherscan.io/address/0xD533a949740bb3306d119CC777fa900bA034cd52))
34+
35+
| description | value before | value after |
36+
| --- | --- | --- |
37+
| ltv | 35 % [3500] | 0 % [0] |
38+
39+
40+
#### BAL ([0xba100000625a3754423978a60c9317c58a424e3D](https://etherscan.io/address/0xba100000625a3754423978a60c9317c58a424e3D))
41+
42+
| description | value before | value after |
43+
| --- | --- | --- |
44+
| ltv | 57 % [5700] | 0 % [0] |
45+
46+
47+
## Raw diff
48+
49+
```json
50+
{
51+
"reserves": {
52+
"0x111111111117dC0aa78b770fA6A738034120C302": {
53+
"ltv": {
54+
"from": 5700,
55+
"to": 0
56+
}
57+
},
58+
"0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984": {
59+
"ltv": {
60+
"from": 6500,
61+
"to": 0
62+
}
63+
},
64+
"0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32": {
65+
"ltv": {
66+
"from": 4000,
67+
"to": 0
68+
}
69+
},
70+
"0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72": {
71+
"ltv": {
72+
"from": 3900,
73+
"to": 0
74+
}
75+
},
76+
"0xD533a949740bb3306d119CC777fa900bA034cd52": {
77+
"ltv": {
78+
"from": 3500,
79+
"to": 0
80+
}
81+
},
82+
"0xba100000625a3754423978a60c9317c58a424e3D": {
83+
"ltv": {
84+
"from": 5700,
85+
"to": 0
86+
}
87+
}
88+
},
89+
"raw": {
90+
"0x87870bca3f3fd6335c3f4ce8392d69350b4fa4e2": {
91+
"label": "AaveV3Ethereum.POOL",
92+
"contract": "lib/aave-helpers/lib/aave-address-book/lib/aave-v3-origin/lib/solidity-utils/lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/transparent/TransparentUpgradeableProxy.sol:TransparentUpgradeableProxy",
93+
"balanceDiff": null,
94+
"nonceDiff": null,
95+
"stateDiff": {
96+
"0x5fe3c5c588b626d5a9cebe169e8cb576ea92298dc18cf4686c056d112b1eeec2": {
97+
"previousValue": "0x1000ee6b2800000000000003e80004c4b4000000000107d085122a9413880fa0",
98+
"newValue": "0x1000ee6b2800000000000003e80004c4b4000000000107d085122a9413880000"
99+
},
100+
"0x6073da802cfd57970e5c385150de92b75756eff0ea9d13effae07956cf21353a": {
101+
"previousValue": "0x10011490c800000000000003e800098968000000000107d085122a4e170c1644",
102+
"newValue": "0x10011490c800000000000003e800098968000000000107d085122a4e170c0000"
103+
},
104+
"0x7260d0353b66d7d275011cfa96cce988d9fbea0c355c88ff8fa2b523ba74a259": {
105+
"previousValue": "0x1006553f1000000000000003e80005b8d8000000000107d085122af81ce81964",
106+
"newValue": "0x1006553f1000000000000003e80005b8d8000000000107d085122af81ce80000"
107+
},
108+
"0x96a2cfdf9c0c5c0235e6e0938af959edeb6c20aa9f5f08b186fa02225ea33535": {
109+
"previousValue": "0x100070800000000000000003e800112a88000000000107d0851229fe1a2c1644",
110+
"newValue": "0x100070800000000000000003e800112a88000000000107d0851229fe1a2c0000"
111+
},
112+
"0xd76b69b0f7b1c04da356d786043ab33773b3ac2ca4b62d97fc88b41c43fd124f": {
113+
"previousValue": "0x10005f5e1000000000000003e80010736d00000000010dac85122a4e10040dac",
114+
"newValue": "0x10005f5e1000000000000003e80010736d00000000010dac85122a4e10040000"
115+
},
116+
"0xfc39a0dc3cc2d218b0a564e17dd6503d95d4724793595e7902e4d0141373ff14": {
117+
"previousValue": "0x100061800280000000000003e80000186a000000000107d085122a3013240f3c",
118+
"newValue": "0x100061800280000000000003e80000186a000000000107d085122a3013240000"
119+
}
120+
}
121+
},
122+
"0xdabad81af85554e9ae636395611c58f7ec1aaec5": {
123+
"label": "GovernanceV3Ethereum.PAYLOADS_CONTROLLER",
124+
"contract": "lib/aave-helpers/lib/aave-address-book/lib/aave-v3-origin/lib/solidity-utils/lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/transparent/TransparentUpgradeableProxy.sol:TransparentUpgradeableProxy",
125+
"balanceDiff": null,
126+
"nonceDiff": null,
127+
"stateDiff": {
128+
"0x6ac082d0dae0a32ca46deb4a24cad599947bdb193adc34198fe8054d27fd8c9d": {
129+
"previousValue": "0x0068fa72ee000000000002000000000000000000000000000000000000000000",
130+
"newValue": "0x0068fa72ee000000000003000000000000000000000000000000000000000000"
131+
},
132+
"0x6ac082d0dae0a32ca46deb4a24cad599947bdb193adc34198fe8054d27fd8c9e": {
133+
"previousValue": "0x000000000000000000093a800000000000006928976f00000000000000000000",
134+
"newValue": "0x000000000000000000093a800000000000006928976f00000000000068fa72ef"
135+
}
136+
}
137+
}
138+
}
139+
}
140+
```
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
## Reserve changes
2+
3+
### Reserves altered
4+
5+
#### Metis ([0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000](https://explorer.metis.io/address/0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000))
6+
7+
| description | value before | value after |
8+
| --- | --- | --- |
9+
| ltv | 30 % [3000] | 0 % [0] |
10+
11+
12+
## Raw diff
13+
14+
```json
15+
{
16+
"reserves": {
17+
"0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000": {
18+
"ltv": {
19+
"from": 3000,
20+
"to": 0
21+
}
22+
}
23+
},
24+
"raw": {
25+
"0x2233f8a66a728fba6e1dc95570b25360d07d5524": {
26+
"label": "GovernanceV3Metis.PAYLOADS_CONTROLLER",
27+
"contract": "lib/aave-helpers/lib/aave-address-book/lib/aave-v3-origin/lib/solidity-utils/lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/transparent/TransparentUpgradeableProxy.sol:TransparentUpgradeableProxy",
28+
"balanceDiff": null,
29+
"nonceDiff": null,
30+
"stateDiff": {
31+
"0x47bd603b2672149df187087e649a417345c22ebc601af252344b2472b5a5fea8": {
32+
"previousValue": "0x0068fa73de000000000002000000000000000000000000000000000000000000",
33+
"newValue": "0x0068fa73de000000000003000000000000000000000000000000000000000000"
34+
},
35+
"0x47bd603b2672149df187087e649a417345c22ebc601af252344b2472b5a5fea9": {
36+
"previousValue": "0x000000000000000000093a800000000000006928985f00000000000000000000",
37+
"newValue": "0x000000000000000000093a800000000000006928985f00000000000068fa73df"
38+
}
39+
}
40+
},
41+
"0x90df02551bb792286e8d4f13e0e357b4bf1d6a57": {
42+
"label": "AaveV3Metis.POOL",
43+
"contract": "lib/aave-helpers/lib/aave-address-book/lib/aave-v3-origin/lib/solidity-utils/lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/transparent/TransparentUpgradeableProxy.sol:TransparentUpgradeableProxy",
44+
"balanceDiff": null,
45+
"nonceDiff": null,
46+
"stateDiff": {
47+
"0xf2b6bcad364da3f80b21ab04ff3a9b042b5d7669746a5fb320b7d0f0c088c3fd": {
48+
"previousValue": "0x10005f5e1000000000000003e80000927c0000007d0005dc85122af80fa00bb8",
49+
"newValue": "0x10005f5e1000000000000003e80000927c0000007d0005dc85122af80fa00000"
50+
}
51+
}
52+
}
53+
}
54+
}
55+
```
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
## Reserve changes
2+
3+
### Reserves altered
4+
5+
#### ZK ([0x5A7d6b2F92C77FAD6CCaBd7EE0624E64907Eaf3E](https://era.zksync.network//address/0x5A7d6b2F92C77FAD6CCaBd7EE0624E64907Eaf3E))
6+
7+
| description | value before | value after |
8+
| --- | --- | --- |
9+
| ltv | 40 % [4000] | 0 % [0] |
10+
11+
12+
## Raw diff
13+
14+
```json
15+
{
16+
"reserves": {
17+
"0x5A7d6b2F92C77FAD6CCaBd7EE0624E64907Eaf3E": {
18+
"ltv": {
19+
"from": 4000,
20+
"to": 0
21+
}
22+
}
23+
},
24+
"raw": {
25+
"0x2e79349c3f5e4751e87b966812c9e65e805996f1": {
26+
"label": "GovernanceV3ZkSync.PAYLOADS_CONTROLLER",
27+
"contract": null,
28+
"balanceDiff": null,
29+
"nonceDiff": null,
30+
"stateDiff": {
31+
"0xbb7ea1d025e27e153f156855239b4b128e9da3a64a6f0a0270f8920989588142": {
32+
"previousValue": "0x0068fa7419000000000002000000000000000000000000000000000000000000",
33+
"newValue": "0x0068fa7419000000000003000000000000000000000000000000000000000000"
34+
},
35+
"0xbb7ea1d025e27e153f156855239b4b128e9da3a64a6f0a0270f8920989588143": {
36+
"previousValue": "0x000000000000000000093a800000000000006928989a00000000000000000000",
37+
"newValue": "0x000000000000000000093a800000000000006928989a00000000000068fa741a"
38+
}
39+
}
40+
},
41+
"0x78e30497a3c7527d953c6b1e3541b021a98ac43c": {
42+
"label": "AaveV3ZkSync.POOL",
43+
"contract": null,
44+
"balanceDiff": null,
45+
"nonceDiff": null,
46+
"stateDiff": {
47+
"0xaab9473d3c2d823ad831e02d9c613808f1256c8d227ca0ebdfd0d67e251a0560": {
48+
"previousValue": "0x10003d090000000000000007d000773594000098968007d085122af811940fa0",
49+
"newValue": "0x10003d090000000000000007d000773594000098968007d085122af811940000"
50+
}
51+
}
52+
}
53+
}
54+
}
55+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// SPDX-License-Identifier: MIT
2+
pragma solidity ^0.8.0;
3+
4+
import {AaveV3BNBAssets} from 'aave-address-book/AaveV3BNB.sol';
5+
import {AaveV3PayloadBNB} from 'aave-helpers/src/v3-config-engine/AaveV3PayloadBNB.sol';
6+
import {EngineFlags} from 'aave-v3-origin/contracts/extensions/v3-config-engine/EngineFlags.sol';
7+
import {IAaveV3ConfigEngine} from 'aave-v3-origin/contracts/extensions/v3-config-engine/IAaveV3ConfigEngine.sol';
8+
9+
/**
10+
* @title Deprecation of Low Demand Volatile Assets on Aave V3 Instances
11+
* @author Aave-chan Initiative
12+
* - Snapshot: Direct-to-AIP
13+
* - Discussion: https://governance.aave.com/t/arfc-deprecation-of-low-demand-volatile-assets-on-aave-v3-instances/23261
14+
*/
15+
contract AaveV3BNB_DeprecationOfLowDemandVolatileAssetsOnAaveV3Instances_20251023 is
16+
AaveV3PayloadBNB
17+
{
18+
function collateralsUpdates()
19+
public
20+
pure
21+
override
22+
returns (IAaveV3ConfigEngine.CollateralUpdate[] memory)
23+
{
24+
IAaveV3ConfigEngine.CollateralUpdate[]
25+
memory collateralUpdate = new IAaveV3ConfigEngine.CollateralUpdate[](1);
26+
27+
collateralUpdate[0] = IAaveV3ConfigEngine.CollateralUpdate({
28+
asset: AaveV3BNBAssets.Cake_UNDERLYING,
29+
ltv: 0,
30+
liqThreshold: EngineFlags.KEEP_CURRENT,
31+
liqBonus: EngineFlags.KEEP_CURRENT,
32+
debtCeiling: EngineFlags.KEEP_CURRENT,
33+
liqProtocolFee: EngineFlags.KEEP_CURRENT
34+
});
35+
36+
return collateralUpdate;
37+
}
38+
}

0 commit comments

Comments
 (0)