forked from bgd-labs/aave-proposals-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'bgd-labs:main' into main
- Loading branch information
Showing
42 changed files
with
1,598 additions
and
25 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
...0240415_before_AaveV3Gnosis_RiskParameterUpdatesGNOOnV3Gnosis_20240415_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,35 @@ | ||
## Reserve changes | ||
|
||
### Reserves altered | ||
|
||
#### GNO ([0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb](https://gnosisscan.io/address/0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| debtCeiling | 1,000,000 $ | 2,000,000 $ | | ||
| ltv | 31 % | 45 % | | ||
| liquidationThreshold | 36 % | 50 % | | ||
|
||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"reserves": { | ||
"0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb": { | ||
"debtCeiling": { | ||
"from": 100000000, | ||
"to": 200000000 | ||
}, | ||
"liquidationThreshold": { | ||
"from": 3600, | ||
"to": 5000 | ||
}, | ||
"ltv": { | ||
"from": 3100, | ||
"to": 4500 | ||
} | ||
} | ||
} | ||
} | ||
``` |
14 changes: 14 additions & 0 deletions
14
...20_before_adi_AaveV3Arbitrum_HyperlaneBridgeAdapterUpdateToV3_20240320_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,14 @@ | ||
## Raw diff | ||
|
||
```json | ||
{ | ||
"receiverAdaptersByChain": { | ||
"1": { | ||
"0x3829943c53F2d00e20B58475aF19716724bF90Ba": { | ||
"from": true, | ||
"to": null | ||
} | ||
} | ||
} | ||
} | ||
``` |
30 changes: 30 additions & 0 deletions
30
...0_before_adi_AaveV3Avalanche_HyperlaneBridgeAdapterUpdateToV3_20240320_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 @@ | ||
## Raw diff | ||
|
||
```json | ||
{ | ||
"forwarderAdaptersByChain": { | ||
"1": { | ||
"0xa198Fac58E02A5C5F8F7e877895d50cFa9ad1E04": { | ||
"from": "0x6Abb61beb5848B476d026C4934E8a6415e2E75a8", | ||
"to": null | ||
}, | ||
"0x617332a777780F546261247F621051d0b98975Eb": { | ||
"from": null, | ||
"to": "0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1" | ||
} | ||
} | ||
}, | ||
"receiverAdaptersByChain": { | ||
"1": { | ||
"0xa198Fac58E02A5C5F8F7e877895d50cFa9ad1E04": { | ||
"from": true, | ||
"to": null | ||
}, | ||
"0x617332a777780F546261247F621051d0b98975Eb": { | ||
"from": null, | ||
"to": true | ||
} | ||
} | ||
} | ||
} | ||
``` |
18 changes: 18 additions & 0 deletions
18
...0240320_before_adi_AaveV3BNB_HyperlaneBridgeAdapterUpdateToV3_20240320_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,18 @@ | ||
## Raw diff | ||
|
||
```json | ||
{ | ||
"receiverAdaptersByChain": { | ||
"1": { | ||
"0x118DFD5418890c0332042ab05173Db4A2C1d283c": { | ||
"from": true, | ||
"to": null | ||
}, | ||
"0x3F006299eC88985c18E6e885EeA29A49eC579882": { | ||
"from": null, | ||
"to": true | ||
} | ||
} | ||
} | ||
} | ||
``` |
14 changes: 14 additions & 0 deletions
14
...240320_before_adi_AaveV3Base_HyperlaneBridgeAdapterUpdateToV3_20240320_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,14 @@ | ||
## Raw diff | ||
|
||
```json | ||
{ | ||
"receiverAdaptersByChain": { | ||
"1": { | ||
"0x7b62461a3570c6AC8a9f8330421576e417B71EE7": { | ||
"from": true, | ||
"to": null | ||
} | ||
} | ||
} | ||
} | ||
``` |
70 changes: 70 additions & 0 deletions
70
...20_before_adi_AaveV3Ethereum_HyperlaneBridgeAdapterUpdateToV3_20240320_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,70 @@ | ||
## Raw diff | ||
|
||
```json | ||
{ | ||
"forwarderAdaptersByChain": { | ||
"56": { | ||
"0x6Abb61beb5848B476d026C4934E8a6415e2E75a8": { | ||
"from": "0x118DFD5418890c0332042ab05173Db4A2C1d283c", | ||
"to": null | ||
}, | ||
"0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1": { | ||
"from": null, | ||
"to": "0x3F006299eC88985c18E6e885EeA29A49eC579882" | ||
} | ||
}, | ||
"100": { | ||
"0x6Abb61beb5848B476d026C4934E8a6415e2E75a8": { | ||
"from": "0x4A4c73d563395ad827511F70097d4Ef82E653805", | ||
"to": null | ||
}, | ||
"0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1": { | ||
"from": null, | ||
"to": "0xA806DA549FcB2B4912a7dFFE4c1aA7A1ed0Bd5C9" | ||
} | ||
}, | ||
"137": { | ||
"0x6Abb61beb5848B476d026C4934E8a6415e2E75a8": { | ||
"from": "0x3c25b96fF62D21E90556869272a277eE2E229747", | ||
"to": null | ||
}, | ||
"0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1": { | ||
"from": null, | ||
"to": "0x3e72665008dC237bdd91C04C10782Ed1987a4019" | ||
} | ||
}, | ||
"43114": { | ||
"0x6Abb61beb5848B476d026C4934E8a6415e2E75a8": { | ||
"from": "0xa198Fac58E02A5C5F8F7e877895d50cFa9ad1E04", | ||
"to": null | ||
}, | ||
"0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1": { | ||
"from": null, | ||
"to": "0x617332a777780F546261247F621051d0b98975Eb" | ||
} | ||
} | ||
}, | ||
"receiverAdaptersByChain": { | ||
"137": { | ||
"0x6Abb61beb5848B476d026C4934E8a6415e2E75a8": { | ||
"from": true, | ||
"to": null | ||
}, | ||
"0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1": { | ||
"from": null, | ||
"to": true | ||
} | ||
}, | ||
"43114": { | ||
"0x6Abb61beb5848B476d026C4934E8a6415e2E75a8": { | ||
"from": true, | ||
"to": null | ||
}, | ||
"0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1": { | ||
"from": null, | ||
"to": true | ||
} | ||
} | ||
} | ||
} | ||
``` |
18 changes: 18 additions & 0 deletions
18
...0320_before_adi_AaveV3Gnosis_HyperlaneBridgeAdapterUpdateToV3_20240320_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,18 @@ | ||
## Raw diff | ||
|
||
```json | ||
{ | ||
"receiverAdaptersByChain": { | ||
"1": { | ||
"0x4A4c73d563395ad827511F70097d4Ef82E653805": { | ||
"from": true, | ||
"to": null | ||
}, | ||
"0xA806DA549FcB2B4912a7dFFE4c1aA7A1ed0Bd5C9": { | ||
"from": null, | ||
"to": true | ||
} | ||
} | ||
} | ||
} | ||
``` |
14 changes: 14 additions & 0 deletions
14
...40320_before_adi_AaveV3Metis_HyperlaneBridgeAdapterUpdateToV3_20240320_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,14 @@ | ||
## Raw diff | ||
|
||
```json | ||
{ | ||
"receiverAdaptersByChain": { | ||
"1": { | ||
"0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf": { | ||
"from": true, | ||
"to": null | ||
} | ||
} | ||
} | ||
} | ||
``` |
14 changes: 14 additions & 0 deletions
14
...20_before_adi_AaveV3Optimism_HyperlaneBridgeAdapterUpdateToV3_20240320_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,14 @@ | ||
## Raw diff | ||
|
||
```json | ||
{ | ||
"receiverAdaptersByChain": { | ||
"1": { | ||
"0x81d32B36380e6266e1BDd490eAC56cdB300afBe0": { | ||
"from": true, | ||
"to": null | ||
} | ||
} | ||
} | ||
} | ||
``` |
30 changes: 30 additions & 0 deletions
30
...320_before_adi_AaveV3Polygon_HyperlaneBridgeAdapterUpdateToV3_20240320_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 @@ | ||
## Raw diff | ||
|
||
```json | ||
{ | ||
"forwarderAdaptersByChain": { | ||
"1": { | ||
"0x3c25b96fF62D21E90556869272a277eE2E229747": { | ||
"from": "0x6Abb61beb5848B476d026C4934E8a6415e2E75a8", | ||
"to": null | ||
}, | ||
"0x3e72665008dC237bdd91C04C10782Ed1987a4019": { | ||
"from": null, | ||
"to": "0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1" | ||
} | ||
} | ||
}, | ||
"receiverAdaptersByChain": { | ||
"1": { | ||
"0x3c25b96fF62D21E90556869272a277eE2E229747": { | ||
"from": true, | ||
"to": null | ||
}, | ||
"0x3e72665008dC237bdd91C04C10782Ed1987a4019": { | ||
"from": null, | ||
"to": true | ||
} | ||
} | ||
} | ||
} | ||
``` |
14 changes: 14 additions & 0 deletions
14
...0320_before_adi_AaveV3Scroll_HyperlaneBridgeAdapterUpdateToV3_20240320_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,14 @@ | ||
## Raw diff | ||
|
||
```json | ||
{ | ||
"receiverAdaptersByChain": { | ||
"1": { | ||
"0x118DFD5418890c0332042ab05173Db4A2C1d283c": { | ||
"from": true, | ||
"to": null | ||
} | ||
} | ||
} | ||
} | ||
``` |
Submodule aave-helpers
updated
21 files
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
27 changes: 27 additions & 0 deletions
27
...rlaneBridgeAdapterUpdateToV3/AaveV3Arbitrum_HyperlaneBridgeAdapterUpdateToV3_20240320.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,27 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import 'aave-helpers/adi/SimpleReceiverAdapterUpdate.sol'; | ||
import {GovernanceV3Arbitrum} from 'aave-address-book/GovernanceV3Arbitrum.sol'; | ||
import {ChainIds} from 'aave-helpers/ChainIds.sol'; | ||
|
||
/** | ||
* @title Hyperlane bridge adapter update to V3 | ||
* @author BGD Labs @bgdlabs | ||
* - Discussion: https://governance.aave.com/t/bgd-technical-maintenance-proposals/15274/31 | ||
*/ | ||
contract AaveV3Arbitrum_HyperlaneBridgeAdapterUpdateToV3_20240320 is | ||
SimpleReceiverAdapterUpdate( | ||
SimpleReceiverAdapterUpdate.ConstructorInput({ | ||
ccc: GovernanceV3Arbitrum.CROSS_CHAIN_CONTROLLER, | ||
newAdapter: address(0), // no new adapter | ||
adapterToRemove: 0x3829943c53F2d00e20B58475aF19716724bF90Ba | ||
}) | ||
) | ||
{ | ||
function getChainsToReceive() public pure override returns (uint256[] memory) { | ||
uint256[] memory chains = new uint256[](1); | ||
chains[0] = ChainIds.MAINNET; | ||
return chains; | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...aneBridgeAdapterUpdateToV3/AaveV3Arbitrum_HyperlaneBridgeAdapterUpdateToV3_20240320.t.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,31 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import 'aave-helpers/adi/test/ADITestBase.sol'; | ||
import {GovernanceV3Arbitrum} from 'aave-address-book/GovernanceV3Arbitrum.sol'; | ||
import {AaveV3Arbitrum_HyperlaneBridgeAdapterUpdateToV3_20240320} from './AaveV3Arbitrum_HyperlaneBridgeAdapterUpdateToV3_20240320.sol'; | ||
|
||
/** | ||
* @dev Test for AaveV3Arbitrum_HyperlaneBridgeAdapterUpdateToV3_20240320 | ||
* command: make test-contract filter=AaveV3Arbitrum_HyperlaneBridgeAdapterUpdateToV3_20240320 | ||
*/ | ||
contract AaveV3Arbitrum_HyperlaneBridgeAdapterUpdateToV3_20240320_Test is ADITestBase { | ||
AaveV3Arbitrum_HyperlaneBridgeAdapterUpdateToV3_20240320 internal payload; | ||
|
||
function setUp() public { | ||
vm.createSelectFork(vm.rpcUrl('arbitrum'), 201314733); | ||
payload = new AaveV3Arbitrum_HyperlaneBridgeAdapterUpdateToV3_20240320(); | ||
} | ||
|
||
/** | ||
* @dev executes the generic test suite including e2e and config snapshots | ||
*/ | ||
function test_defaultProposalExecution() public { | ||
defaultTest( | ||
'AaveV3Arbitrum_HyperlaneBridgeAdapterUpdateToV3_20240320', | ||
GovernanceV3Arbitrum.CROSS_CHAIN_CONTROLLER, | ||
address(payload), | ||
true | ||
); | ||
} | ||
} |
Oops, something went wrong.