generated from bgd-labs/bgd-forge-template
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* β¨ generate AIP * π fix md * β pushed tests * π fix snapshot links
- Loading branch information
Showing
9 changed files
with
379 additions
and
0 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
...Update_20241203_before_AaveV3EthereumLido_WstETHReserveUpdate_20241203_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 | ||
|
||
#### wstETH ([0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0](https://etherscan.io/address/0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| optimalUsageRatio | 80 % | 90 % | | ||
| maxVariableBorrowRate | 87.25 % | 86.75 % | | ||
| variableRateSlope1 | 2.25 % | 1.75 % | | ||
| interestRate | ![before](https://dash.onaave.com/api/static?variableRateSlope1=22500000000000000000000000&variableRateSlope2=850000000000000000000000000&optimalUsageRatio=800000000000000000000000000&baseVariableBorrowRate=0&maxVariableBorrowRate=872500000000000000000000000) | ![after](https://dash.onaave.com/api/static?variableRateSlope1=17500000000000000000000000&variableRateSlope2=850000000000000000000000000&optimalUsageRatio=900000000000000000000000000&baseVariableBorrowRate=0&maxVariableBorrowRate=867500000000000000000000000) | | ||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"strategies": { | ||
"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0": { | ||
"maxVariableBorrowRate": { | ||
"from": "872500000000000000000000000", | ||
"to": "867500000000000000000000000" | ||
}, | ||
"optimalUsageRatio": { | ||
"from": "800000000000000000000000000", | ||
"to": "900000000000000000000000000" | ||
}, | ||
"variableRateSlope1": { | ||
"from": "22500000000000000000000000", | ||
"to": "17500000000000000000000000" | ||
} | ||
} | ||
} | ||
} | ||
``` |
40 changes: 40 additions & 0 deletions
40
...erveUpdate_20241203_before_AaveV3Ethereum_WstETHReserveUpdate_20241203_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,40 @@ | ||
## Reserve changes | ||
|
||
### Reserves altered | ||
|
||
#### wstETH ([0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0](https://etherscan.io/address/0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| optimalUsageRatio | 45 % | 80 % | | ||
| maxVariableBorrowRate | 82 % | 86.75 % | | ||
| variableRateSlope1 | 2 % | 1.75 % | | ||
| variableRateSlope2 | 80 % | 85 % | | ||
| interestRate | ![before](https://dash.onaave.com/api/static?variableRateSlope1=20000000000000000000000000&variableRateSlope2=800000000000000000000000000&optimalUsageRatio=450000000000000000000000000&baseVariableBorrowRate=0&maxVariableBorrowRate=820000000000000000000000000) | ![after](https://dash.onaave.com/api/static?variableRateSlope1=17500000000000000000000000&variableRateSlope2=850000000000000000000000000&optimalUsageRatio=800000000000000000000000000&baseVariableBorrowRate=0&maxVariableBorrowRate=867500000000000000000000000) | | ||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"strategies": { | ||
"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0": { | ||
"maxVariableBorrowRate": { | ||
"from": "820000000000000000000000000", | ||
"to": "867500000000000000000000000" | ||
}, | ||
"optimalUsageRatio": { | ||
"from": "450000000000000000000000000", | ||
"to": "800000000000000000000000000" | ||
}, | ||
"variableRateSlope1": { | ||
"from": "20000000000000000000000000", | ||
"to": "17500000000000000000000000" | ||
}, | ||
"variableRateSlope2": { | ||
"from": "800000000000000000000000000", | ||
"to": "850000000000000000000000000" | ||
} | ||
} | ||
} | ||
} | ||
``` |
34 changes: 34 additions & 0 deletions
34
src/20241203_Multi_WstETHReserveUpdate/AaveV3EthereumLido_WstETHReserveUpdate_20241203.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,34 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import {AaveV3EthereumLidoAssets} from 'aave-address-book/AaveV3EthereumLido.sol'; | ||
import {AaveV3PayloadEthereumLido} from 'aave-helpers/src/v3-config-engine/AaveV3PayloadEthereumLido.sol'; | ||
import {IAaveV3ConfigEngine} from 'aave-v3-origin/contracts/extensions/v3-config-engine/IAaveV3ConfigEngine.sol'; | ||
/** | ||
* @title wstETH Reserve Update | ||
* @author ACI | ||
* - Snapshot: Direct-to-AIP | ||
* - Discussion: https://governance.aave.com/t/arfc-prime-core-instance-wsteth-reserve-update/19973 | ||
*/ | ||
contract AaveV3EthereumLido_WstETHReserveUpdate_20241203 is AaveV3PayloadEthereumLido { | ||
function rateStrategiesUpdates() | ||
public | ||
pure | ||
override | ||
returns (IAaveV3ConfigEngine.RateStrategyUpdate[] memory) | ||
{ | ||
IAaveV3ConfigEngine.RateStrategyUpdate[] | ||
memory rateStrategies = new IAaveV3ConfigEngine.RateStrategyUpdate[](1); | ||
rateStrategies[0] = IAaveV3ConfigEngine.RateStrategyUpdate({ | ||
asset: AaveV3EthereumLidoAssets.wstETH_UNDERLYING, | ||
params: IAaveV3ConfigEngine.InterestRateInputData({ | ||
optimalUsageRatio: 90_00, | ||
baseVariableBorrowRate: 0, | ||
variableRateSlope1: 1_75, | ||
variableRateSlope2: 85_00 | ||
}) | ||
}); | ||
|
||
return rateStrategies; | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
src/20241203_Multi_WstETHReserveUpdate/AaveV3EthereumLido_WstETHReserveUpdate_20241203.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,32 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import {AaveV3EthereumLido} from 'aave-address-book/AaveV3EthereumLido.sol'; | ||
|
||
import 'forge-std/Test.sol'; | ||
import {ProtocolV3TestBase, ReserveConfig} from 'aave-helpers/src/ProtocolV3TestBase.sol'; | ||
import {AaveV3EthereumLido_WstETHReserveUpdate_20241203} from './AaveV3EthereumLido_WstETHReserveUpdate_20241203.sol'; | ||
|
||
/** | ||
* @dev Test for AaveV3EthereumLido_WstETHReserveUpdate_20241203 | ||
* command: FOUNDRY_PROFILE=mainnet forge test --match-path=src/20241203_Multi_WstETHReserveUpdate/AaveV3EthereumLido_WstETHReserveUpdate_20241203.t.sol -vv | ||
*/ | ||
contract AaveV3EthereumLido_WstETHReserveUpdate_20241203_Test is ProtocolV3TestBase { | ||
AaveV3EthereumLido_WstETHReserveUpdate_20241203 internal proposal; | ||
|
||
function setUp() public { | ||
vm.createSelectFork(vm.rpcUrl('mainnet'), 21322524); | ||
proposal = new AaveV3EthereumLido_WstETHReserveUpdate_20241203(); | ||
} | ||
|
||
/** | ||
* @dev executes the generic test suite including e2e and config snapshots | ||
*/ | ||
function test_defaultProposalExecution() public { | ||
defaultTest( | ||
'AaveV3EthereumLido_WstETHReserveUpdate_20241203', | ||
AaveV3EthereumLido.POOL, | ||
address(proposal) | ||
); | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
src/20241203_Multi_WstETHReserveUpdate/AaveV3Ethereum_WstETHReserveUpdate_20241203.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,34 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import {AaveV3EthereumAssets} from 'aave-address-book/AaveV3Ethereum.sol'; | ||
import {AaveV3PayloadEthereum} from 'aave-helpers/src/v3-config-engine/AaveV3PayloadEthereum.sol'; | ||
import {IAaveV3ConfigEngine} from 'aave-v3-origin/contracts/extensions/v3-config-engine/IAaveV3ConfigEngine.sol'; | ||
/** | ||
* @title wstETH Reserve Update | ||
* @author ACI | ||
* - Snapshot: Direct-to-AIP | ||
* - Discussion: https://governance.aave.com/t/arfc-prime-core-instance-wsteth-reserve-update/19973 | ||
*/ | ||
contract AaveV3Ethereum_WstETHReserveUpdate_20241203 is AaveV3PayloadEthereum { | ||
function rateStrategiesUpdates() | ||
public | ||
pure | ||
override | ||
returns (IAaveV3ConfigEngine.RateStrategyUpdate[] memory) | ||
{ | ||
IAaveV3ConfigEngine.RateStrategyUpdate[] | ||
memory rateStrategies = new IAaveV3ConfigEngine.RateStrategyUpdate[](1); | ||
rateStrategies[0] = IAaveV3ConfigEngine.RateStrategyUpdate({ | ||
asset: AaveV3EthereumAssets.wstETH_UNDERLYING, | ||
params: IAaveV3ConfigEngine.InterestRateInputData({ | ||
optimalUsageRatio: 80_00, | ||
baseVariableBorrowRate: 0, | ||
variableRateSlope1: 1_75, | ||
variableRateSlope2: 85_00 | ||
}) | ||
}); | ||
|
||
return rateStrategies; | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
src/20241203_Multi_WstETHReserveUpdate/AaveV3Ethereum_WstETHReserveUpdate_20241203.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,32 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import {AaveV3Ethereum} from 'aave-address-book/AaveV3Ethereum.sol'; | ||
|
||
import 'forge-std/Test.sol'; | ||
import {ProtocolV3TestBase, ReserveConfig} from 'aave-helpers/src/ProtocolV3TestBase.sol'; | ||
import {AaveV3Ethereum_WstETHReserveUpdate_20241203} from './AaveV3Ethereum_WstETHReserveUpdate_20241203.sol'; | ||
|
||
/** | ||
* @dev Test for AaveV3Ethereum_WstETHReserveUpdate_20241203 | ||
* command: FOUNDRY_PROFILE=mainnet forge test --match-path=src/20241203_Multi_WstETHReserveUpdate/AaveV3Ethereum_WstETHReserveUpdate_20241203.t.sol -vv | ||
*/ | ||
contract AaveV3Ethereum_WstETHReserveUpdate_20241203_Test is ProtocolV3TestBase { | ||
AaveV3Ethereum_WstETHReserveUpdate_20241203 internal proposal; | ||
|
||
function setUp() public { | ||
vm.createSelectFork(vm.rpcUrl('mainnet'), 21322520); | ||
proposal = new AaveV3Ethereum_WstETHReserveUpdate_20241203(); | ||
} | ||
|
||
/** | ||
* @dev executes the generic test suite including e2e and config snapshots | ||
*/ | ||
function test_defaultProposalExecution() public { | ||
defaultTest( | ||
'AaveV3Ethereum_WstETHReserveUpdate_20241203', | ||
AaveV3Ethereum.POOL, | ||
address(proposal) | ||
); | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
src/20241203_Multi_WstETHReserveUpdate/WstETHReserveUpdate.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,59 @@ | ||
--- | ||
title: "wstETH Reserve Update" | ||
author: "ACI" | ||
discussions: "https://governance.aave.com/t/arfc-prime-core-instance-wsteth-reserve-update/19973" | ||
snapshot: Direct-to-AIP | ||
--- | ||
|
||
## Simple Summary | ||
|
||
The publication using the Direct-to-AIP process, proposes increasing the capital efficiency of the wstETH Reserve on both Prime and Core instances of Aave v3. This is a Direct to AIP proposal. | ||
|
||
## Motivation | ||
|
||
### Prime Instance | ||
|
||
The addition of ezETH has resulted in over $620M in direct deposits and approximately $520M in wstETH debt. With yield from EIGEN decreasing and Renzoβs Season 3 rewards nearing expiration, this publication proposes amending the wstETH Reserve parameters to enhance capital efficiency and support user retention. | ||
|
||
We have engaged with several builders and investors with significant capital deployed on the Prime instance. Currently, leveraged ezETH/wstETH users are primarily sustained by Renzoβs Season 3 rewards, which are set to expire soon. While an additional $100M of USDS is expected in the coming days, this alone will not be sufficient to retain existing users. | ||
|
||
### Core Instance | ||
|
||
Based on strong demand for wstETH following the rsETH onboarding, this proposal, when implemented, will make a larger portion of wstETH liquidity available. | ||
|
||
Discussions with the Kelp team and various investors indicate significant demand wstETH deb by rsETH holders. To accelerate Aaveβs growth, the Uoptimal on the wstETH Reserve is be adjusted higher to make available a greater portion of the wstETH liquidity. | ||
|
||
## Specification | ||
|
||
### Prime Instance | ||
|
||
**wstETH Reserve** | ||
|
||
| Parameter | Current Value | Proposed Value | | ||
| --------- | ------------- | -------------- | | ||
| Uoptimal | 80.00% | 90.00% | | ||
| Base | 0.00% | 0.00% | | ||
| Slope1 | 2.25% | 1.75% | | ||
| Slope2 | 85.00% | 85.00% | | ||
|
||
### Core Instance | ||
|
||
**wstETH Reserve** | ||
|
||
| Parameter | Current Value | Proposed Value | | ||
| --------- | ------------- | -------------- | | ||
| Uoptimal | 45.00% | 80.00% | | ||
| Base | 0.00% | 0.00% | | ||
| Slope1 | 2.00% | 1.75% | | ||
| Slope2 | 85.00% | 85.00% | | ||
|
||
## References | ||
|
||
- Implementation: [AaveV3Ethereum](https://github.com/bgd-labs/aave-proposals-v3/blob/main/src/20241203_Multi_WstETHReserveUpdate/AaveV3Ethereum_WstETHReserveUpdate_20241203.sol), [AaveV3EthereumLido](https://github.com/bgd-labs/aave-proposals-v3/blob/main/src/20241203_Multi_WstETHReserveUpdate/AaveV3EthereumLido_WstETHReserveUpdate_20241203.sol) | ||
- Tests: [AaveV3Ethereum](https://github.com/bgd-labs/aave-proposals-v3/blob/main/src/20241203_Multi_WstETHReserveUpdate/AaveV3Ethereum_WstETHReserveUpdate_20241203.t.sol), [AaveV3EthereumLido](https://github.com/bgd-labs/aave-proposals-v3/blob/main/src/20241203_Multi_WstETHReserveUpdate/AaveV3EthereumLido_WstETHReserveUpdate_20241203.t.sol) | ||
- Snapshot: Direct-to-AIP | ||
- [Discussion](https://governance.aave.com/t/arfc-prime-core-instance-wsteth-reserve-update/19973) | ||
|
||
## Copyright | ||
|
||
Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/). |
65 changes: 65 additions & 0 deletions
65
src/20241203_Multi_WstETHReserveUpdate/WstETHReserveUpdate_20241203.s.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,65 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import {GovV3Helpers, IPayloadsControllerCore, PayloadsControllerUtils} from 'aave-helpers/src/GovV3Helpers.sol'; | ||
import {GovernanceV3Ethereum} from 'aave-address-book/GovernanceV3Ethereum.sol'; | ||
import {EthereumScript} from 'solidity-utils/contracts/utils/ScriptUtils.sol'; | ||
import {AaveV3Ethereum_WstETHReserveUpdate_20241203} from './AaveV3Ethereum_WstETHReserveUpdate_20241203.sol'; | ||
import {AaveV3EthereumLido_WstETHReserveUpdate_20241203} from './AaveV3EthereumLido_WstETHReserveUpdate_20241203.sol'; | ||
|
||
/** | ||
* @dev Deploy Ethereum | ||
* deploy-command: make deploy-ledger contract=src/20241203_Multi_WstETHReserveUpdate/WstETHReserveUpdate_20241203.s.sol:DeployEthereum chain=mainnet | ||
* verify-command: FOUNDRY_PROFILE=mainnet npx catapulta-verify -b broadcast/WstETHReserveUpdate_20241203.s.sol/1/run-latest.json | ||
*/ | ||
contract DeployEthereum is EthereumScript { | ||
function run() external broadcast { | ||
// deploy payloads | ||
address payload0 = GovV3Helpers.deployDeterministic( | ||
type(AaveV3Ethereum_WstETHReserveUpdate_20241203).creationCode | ||
); | ||
address payload1 = GovV3Helpers.deployDeterministic( | ||
type(AaveV3EthereumLido_WstETHReserveUpdate_20241203).creationCode | ||
); | ||
|
||
// compose action | ||
IPayloadsControllerCore.ExecutionAction[] | ||
memory actions = new IPayloadsControllerCore.ExecutionAction[](2); | ||
actions[0] = GovV3Helpers.buildAction(payload0); | ||
actions[1] = GovV3Helpers.buildAction(payload1); | ||
|
||
// register action at payloadsController | ||
GovV3Helpers.createPayload(actions); | ||
} | ||
} | ||
|
||
/** | ||
* @dev Create Proposal | ||
* command: make deploy-ledger contract=src/20241203_Multi_WstETHReserveUpdate/WstETHReserveUpdate_20241203.s.sol:CreateProposal chain=mainnet | ||
*/ | ||
contract CreateProposal is EthereumScript { | ||
function run() external { | ||
// create payloads | ||
PayloadsControllerUtils.Payload[] memory payloads = new PayloadsControllerUtils.Payload[](1); | ||
|
||
// compose actions for validation | ||
IPayloadsControllerCore.ExecutionAction[] | ||
memory actionsEthereum = new IPayloadsControllerCore.ExecutionAction[](2); | ||
actionsEthereum[0] = GovV3Helpers.buildAction( | ||
type(AaveV3Ethereum_WstETHReserveUpdate_20241203).creationCode | ||
); | ||
actionsEthereum[1] = GovV3Helpers.buildAction( | ||
type(AaveV3EthereumLido_WstETHReserveUpdate_20241203).creationCode | ||
); | ||
payloads[0] = GovV3Helpers.buildMainnetPayload(vm, actionsEthereum); | ||
|
||
// create proposal | ||
vm.startBroadcast(); | ||
GovV3Helpers.createProposal( | ||
vm, | ||
payloads, | ||
GovernanceV3Ethereum.VOTING_PORTAL_ETH_POL, | ||
GovV3Helpers.ipfsHashFile(vm, 'src/20241203_Multi_WstETHReserveUpdate/WstETHReserveUpdate.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 @@ | ||
import {ConfigFile} from '../../generator/types'; | ||
export const config: ConfigFile = { | ||
rootOptions: { | ||
pools: ['AaveV3Ethereum', 'AaveV3EthereumLido'], | ||
title: 'wstETH Reserve Update', | ||
shortName: 'WstETHReserveUpdate', | ||
date: '20241203', | ||
author: 'ACI', | ||
discussion: | ||
'https://governance.aave.com/t/arfc-prime-core-instance-wsteth-reserve-update/19973', | ||
snapshot: '', | ||
votingNetwork: 'POLYGON', | ||
}, | ||
poolOptions: { | ||
AaveV3Ethereum: { | ||
configs: { | ||
RATE_UPDATE_V3: [ | ||
{ | ||
asset: 'wstETH', | ||
params: { | ||
optimalUtilizationRate: '80', | ||
baseVariableBorrowRate: '0', | ||
variableRateSlope1: '1.75', | ||
variableRateSlope2: '85', | ||
}, | ||
}, | ||
], | ||
}, | ||
cache: {blockNumber: 21322520}, | ||
}, | ||
AaveV3EthereumLido: { | ||
configs: { | ||
RATE_UPDATE_V3: [ | ||
{ | ||
asset: 'wstETH', | ||
params: { | ||
optimalUtilizationRate: '90', | ||
baseVariableBorrowRate: '0', | ||
variableRateSlope1: '1.75', | ||
variableRateSlope2: '85', | ||
}, | ||
}, | ||
], | ||
}, | ||
cache: {blockNumber: 21322524}, | ||
}, | ||
}, | ||
}; |
b8f7602
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.
π§ Build logs
π§ Build logs zksync
b8f7602
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.
πTest Results
No files changed, compilation skipped 2024-12-04T09:40:10.843472Z ERROR cheatcodes: non-empty stderr input=["npx", "@bgd-labs/aave-cli@^1.1.12", "diff-snapshots", "./reports/AaveV3EthereumLido_WstETHReserveUpdate_20241203_before.json", "./reports/AaveV3EthereumLido_WstETHReserveUpdate_20241203_after.json", "-o", "./diffs/AaveV3EthereumLido_WstETHReserveUpdate_20241203_before_AaveV3EthereumLido_WstETHReserveUpdate_20241203_after.md"] stderr="npm warn exec The following package was not found and will be installed: @bgd-labs/[email protected]\n"Ran 1 test for src/20241203_Multi_WstETHReserveUpdate/AaveV3EthereumLido_WstETHReserveUpdate_20241203.t.sol:AaveV3EthereumLido_WstETHReserveUpdate_20241203_Test
[PASS] test_defaultProposalExecution() (gas: 13050551)
Logs:
0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
0xdC035D45d973E3EC169d2276DDab16f1e407384F
0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
0xbf5495Efe5DB9ce00f80364C8B423567e58d2110
0x9D39A5DE30e57443BfF2A8307A4256c8797A3497
E2E: Collateral wstETH, TestAsset wstETH
SUPPLY: wstETH, Amount: 23602074214069842311
SUPPLY: wstETH, Amount: 236020742140698423
WITHDRAW: wstETH, Amount: 118010371070349211
WITHDRAW: wstETH, Amount: 118010371070349212
BORROW: wstETH, Amount 236020742140698423
REPAY: wstETH, Amount: 236020742140698423
E2E: Collateral wstETH, TestAsset WETH
SUPPLY: wstETH, Amount: 23602074214069842311
SUPPLY: WETH, Amount: 280077841821718350
WITHDRAW: WETH, Amount: 140038920910859175
WITHDRAW: WETH, Amount: 140038920910859175
BORROW: WETH, Amount 280077841821718350
REPAY: WETH, Amount: 280077841821718350
E2E: Collateral wstETH, TestAsset USDS
SUPPLY: wstETH, Amount: 23602074214069842311
SUPPLY: USDS, Amount: 1000110012101331146426
WITHDRAW: USDS, Amount: 500055006050665573213
WITHDRAW: USDS, Amount: 500055006050665573213
BORROW: USDS, Amount 1000110012101331146426
REPAY: USDS, Amount: 1000110012101331146426
E2E: Collateral wstETH, TestAsset USDC
SUPPLY: wstETH, Amount: 23602074214069842311
SUPPLY: USDC, Amount: 1000066894
WITHDRAW: USDC, Amount: 500033447
WITHDRAW: USDC, Amount: 500033446
BORROW: USDC, Amount 1000066894
REPAY: USDC, Amount: 1000066894
E2E: Collateral wstETH, TestAsset ezETH
SUPPLY: wstETH, Amount: 23602074214069842311
SUPPLY: ezETH, Amount: 272121898156377957
WITHDRAW: ezETH, Amount: 136060949078188978
WITHDRAW: ezETH, Amount: 136060949078188979
E2E: Collateral wstETH, TestAsset sUSDe
SUPPLY: wstETH, Amount: 23602074214069842311
SUPPLY: sUSDe, Amount: 884814385496320791366
WITHDRAW: sUSDe, Amount: 442407192748160395683
WITHDRAW: sUSDe, Amount: 442407192748160395683
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 60.30s (59.65s CPU time)
Ran 1 test suite in 60.31s (60.30s CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
No files changed, compilation skipped
Ran 1 test for src/20241203_Multi_WstETHReserveUpdate/AaveV3Ethereum_WstETHReserveUpdate_20241203.t.sol:AaveV3Ethereum_WstETHReserveUpdate_20241203_Test
[PASS] test_defaultProposalExecution() (gas: 242721257)
Logs:
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0
0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599
0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
0x6B175474E89094C44Da98b954EedeAC495271d0F
0x514910771AF9Ca656af840dff83E8264EcF986CA
0xBe9895146f7AF43049ca1c1AE358B0541Ea49704
0xdAC17F958D2ee523a2206206994597C13D831ec7
0xae78736Cd615f374D3085123A210448E74Fc6393
0x5f98805A4E8be255a32880FDeC7F6728C6568bA0
0xD533a949740bb3306d119CC777fa900bA034cd52
0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2
0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F
0xba100000625a3754423978a60c9317c58a424e3D
0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984
0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32
0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72
0x111111111117dC0aa78b770fA6A738034120C302
0x853d955aCEf822Db058eb8505911ED77F175b99e
0xD33526068D116cE69F19A9ee46F0bd304F21A51f
0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6
0xdeFA4e8a7bcBA345F687a2f1456F5Edd9CE97202
0x3432B6A60D23Ca0dFCa7761B7ab56459D9C964D0
0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E
0x6c3ea9036406852006290770BEdFcAbA0e23A0e8
0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee
0xf1C9acDc66974dFB6dEcB12aA385b9cD01190E38
0x4c9EDD5852cd905f086C759E8383e09bff1E68B3
0xA35b1B31Ce002FBF2058D22F30f95D405200A15b
0x18084fbA666a33d37592fA2633fD49a74DD93a88
0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf
0xdC035D45d973E3EC169d2276DDab16f1e407384F
0xA1290d69c65A6Fe4DF752f95823fae25cB99e5A7
E2E: Collateral WETH, TestAsset WETH
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: WETH, Amount: 280077841821718350
WITHDRAW: WETH, Amount: 140038920910859175
WITHDRAW: WETH, Amount: 140038920910859176
BORROW: WETH, Amount 280077841821718350
REPAY: WETH, Amount: 280077841821718350
E2E: Collateral WETH, TestAsset wstETH
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: wstETH, Amount: 236020742140698423
WITHDRAW: wstETH, Amount: 118010371070349211
WITHDRAW: wstETH, Amount: 118010371070349212
BORROW: wstETH, Amount 236020742140698423
REPAY: wstETH, Amount: 236020742140698423
E2E: Collateral WETH, TestAsset WBTC
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: WBTC, Amount: 1061372
WITHDRAW: WBTC, Amount: 530686
WITHDRAW: WBTC, Amount: 530687
BORROW: WBTC, Amount 1061372
REPAY: WBTC, Amount: 1061372
E2E: Collateral WETH, TestAsset USDC
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: USDC, Amount: 1000066894
WITHDRAW: USDC, Amount: 500033447
WITHDRAW: USDC, Amount: 500033447
BORROW: USDC, Amount 1000066894
REPAY: USDC, Amount: 1000066894
E2E: Collateral WETH, TestAsset DAI
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: DAI, Amount: 1000110012101331146426
WITHDRAW: DAI, Amount: 500055006050665573213
WITHDRAW: DAI, Amount: 500055006050665573213
BORROW: DAI, Amount 1000110012101331146426
REPAY: DAI, Amount: 1000110012101331146426
E2E: Collateral WETH, TestAsset LINK
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: LINK, Amount: 42169864247156761317
WITHDRAW: LINK, Amount: 21084932123578380658
WITHDRAW: LINK, Amount: 21084932123578380659
BORROW: LINK, Amount 42169864247156761317
REPAY: LINK, Amount: 42169864247156761317
E2E: Collateral WETH, TestAsset AAVE
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: AAVE, Amount: 4329977168030392975
WITHDRAW: AAVE, Amount: 2164988584015196487
WITHDRAW: AAVE, Amount: 2164988584015196488
E2E: Collateral WETH, TestAsset cbETH
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: cbETH, Amount: 257540594225967499
WITHDRAW: cbETH, Amount: 128770297112983749
WITHDRAW: cbETH, Amount: 128770297112983750
BORROW: cbETH, Amount 257540594225967499
REPAY: cbETH, Amount: 257540594225967499
E2E: Collateral WETH, TestAsset USDT
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: USDT, Amount: 999859249
WITHDRAW: USDT, Amount: 499929624
WITHDRAW: USDT, Amount: 499929625
BORROW: USDT, Amount 999859249
REPAY: USDT, Amount: 999859249
E2E: Collateral WETH, TestAsset rETH
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: rETH, Amount: 249510117915047169
WITHDRAW: rETH, Amount: 124755058957523584
WITHDRAW: rETH, Amount: 124755058957523585
BORROW: rETH, Amount 249510117915047169
REPAY: rETH, Amount: 249510117915047169
E2E: Collateral WETH, TestAsset LUSD
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: LUSD, Amount: 1004762584699099578995
WITHDRAW: LUSD, Amount: 502381292349549789497
WITHDRAW: LUSD, Amount: 502381292349549789498
BORROW: LUSD, Amount 1004762584699099578995
REPAY: LUSD, Amount: 1004762584699099578995
E2E: Collateral WETH, TestAsset CRV
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: CRV, Amount: 1087575766101692445166
WITHDRAW: CRV, Amount: 543787883050846222583
WITHDRAW: CRV, Amount: 543787883050846222582
BORROW: CRV, Amount 1087575766101692445166
REPAY: CRV, Amount: 1087575766101692445166
E2E: Collateral WETH, TestAsset MKR
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: MKR, Amount: 463311756412460357
WITHDRAW: MKR, Amount: 231655878206230178
WITHDRAW: MKR, Amount: 231655878206230179
BORROW: MKR, Amount 463311756412460357
REPAY: MKR, Amount: 463311756412460357
E2E: Collateral WETH, TestAsset SNX
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: SNX, Amount: 361423926129460069736
WITHDRAW: SNX, Amount: 180711963064730034868
WITHDRAW: SNX, Amount: 180711963064730034868
BORROW: SNX, Amount 361423926129460069736
REPAY: SNX, Amount: 361423926129460069736
E2E: Collateral WETH, TestAsset BAL
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: BAL, Amount: 328677074774034511092
WITHDRAW: BAL, Amount: 164338537387017255546
WITHDRAW: BAL, Amount: 164338537387017255546
BORROW: BAL, Amount 328677074774034511092
REPAY: BAL, Amount: 328677074774034511092
E2E: Collateral WETH, TestAsset UNI
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: UNI, Amount: 73212932713141699458
WITHDRAW: UNI, Amount: 36606466356570849729
WITHDRAW: UNI, Amount: 36606466356570849730
BORROW: UNI, Amount 73212932713141699458
REPAY: UNI, Amount: 73212932713141699458
E2E: Collateral WETH, TestAsset LDO
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: LDO, Amount: 525992622374879307705
WITHDRAW: LDO, Amount: 262996311187439653852
WITHDRAW: LDO, Amount: 262996311187439653852
BORROW: LDO, Amount 525992622374879307705
REPAY: LDO, Amount: 525992622374879307705
E2E: Collateral WETH, TestAsset ENS
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: ENS, Amount: 24977422283562330920
WITHDRAW: ENS, Amount: 12488711141781165460
WITHDRAW: ENS, Amount: 12488711141781165459
BORROW: ENS, Amount 24977422283562330920
REPAY: ENS, Amount: 24977422283562330920
E2E: Collateral WETH, TestAsset 1INCH
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: 1INCH, Amount: 2100912499830613929701
WITHDRAW: 1INCH, Amount: 1050456249915306964850
WITHDRAW: 1INCH, Amount: 1050456249915306964851
BORROW: 1INCH, Amount 2100912499830613929701
REPAY: 1INCH, Amount: 2100912499830613929701
E2E: Collateral WETH, TestAsset FRAX
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: FRAX, Amount: 1004551169300072443207
WITHDRAW: FRAX, Amount: 502275584650036221603
WITHDRAW: FRAX, Amount: 502275584650036221605
BORROW: FRAX, Amount 1004551169300072443207
REPAY: FRAX, Amount: 1004551169300072443207
E2E: Collateral WETH, TestAsset GHO
SUPPLY: WETH, Amount: 28007784182171835039
BORROW: GHO, Amount 1000000000000000000000
REPAY: GHO, Amount: 1000000000000000000000
E2E: Collateral WETH, TestAsset RPL
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: RPL, Amount: 69073928390891278256
WITHDRAW: RPL, Amount: 34536964195445639128
WITHDRAW: RPL, Amount: 34536964195445639128
BORROW: RPL, Amount 69073928390891278256
REPAY: RPL, Amount: 69073928390891278256
E2E: Collateral WETH, TestAsset sDAI
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: sDAI, Amount: 891032896203880872394
WITHDRAW: sDAI, Amount: 445516448101940436197
WITHDRAW: sDAI, Amount: 445516448101940436198
E2E: TestAsset STG SKIPPED
E2E: TestAsset KNC SKIPPED
E2E: TestAsset FXS SKIPPED
E2E: Collateral WETH, TestAsset crvUSD
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: crvUSD, Amount: 1003383519600279297822
WITHDRAW: crvUSD, Amount: 501691759800139648911
WITHDRAW: crvUSD, Amount: 501691759800139648911
BORROW: crvUSD, Amount 1003383519600279297822
REPAY: crvUSD, Amount: 1003383519600279297822
E2E: Collateral WETH, TestAsset PYUSD
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: PYUSD, Amount: 1000414001
WITHDRAW: PYUSD, Amount: 500207000
WITHDRAW: PYUSD, Amount: 500207001
BORROW: PYUSD, Amount 1000414001
REPAY: PYUSD, Amount: 1000414001
E2E: Collateral WETH, TestAsset weETH
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: weETH, Amount: 265651858102016597
WITHDRAW: weETH, Amount: 132825929051008298
WITHDRAW: weETH, Amount: 132825929051008300
BORROW: weETH, Amount 265651858102016597
REPAY: weETH, Amount: 265651858102016597
E2E: Collateral WETH, TestAsset osETH
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: osETH, Amount: 271128431644547013
WITHDRAW: osETH, Amount: 135564215822273506
WITHDRAW: osETH, Amount: 135564215822273507
BORROW: osETH, Amount 271128431644547013
REPAY: osETH, Amount: 271128431644547013
E2E: Collateral WETH, TestAsset USDe
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: USDe, Amount: 998901208670462491259
WITHDRAW: USDe, Amount: 499450604335231245629
WITHDRAW: USDe, Amount: 499450604335231245630
BORROW: USDe, Amount 998901208670462491259
REPAY: USDe, Amount: 998901208670462491259
E2E: Collateral WETH, TestAsset ETHx
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: ETHx, Amount: 267600440595493720
WITHDRAW: ETHx, Amount: 133800220297746860
WITHDRAW: ETHx, Amount: 133800220297746860
BORROW: ETHx, Amount 267600440595493720
REPAY: ETHx, Amount: 267600440595493720
E2E: Collateral WETH, TestAsset sUSDe
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: sUSDe, Amount: 884814651681209775219
WITHDRAW: sUSDe, Amount: 442407325840604887609
WITHDRAW: sUSDe, Amount: 442407325840604887610
E2E: Collateral WETH, TestAsset tBTC
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: tBTC, Amount: 10593554754164909
WITHDRAW: tBTC, Amount: 5296777377082454
WITHDRAW: tBTC, Amount: 5296777377082455
BORROW: tBTC, Amount 10593554754164909
REPAY: tBTC, Amount: 10593554754164909
E2E: Collateral WETH, TestAsset cbBTC
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: cbBTC, Amount: 1059355
WITHDRAW: cbBTC, Amount: 529677
WITHDRAW: cbBTC, Amount: 529678
BORROW: cbBTC, Amount 1059355
REPAY: cbBTC, Amount: 1059355
E2E: Collateral WETH, TestAsset USDS
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: USDS, Amount: 1000110012101331146426
WITHDRAW: USDS, Amount: 500055006050665573213
WITHDRAW: USDS, Amount: 500055006050665573212
BORROW: USDS, Amount 1000110012101331146426
REPAY: USDS, Amount: 1000110012101331146426
E2E: Collateral WETH, TestAsset rsETH
SUPPLY: WETH, Amount: 28007784182171835039
SUPPLY: rsETH, Amount: 271707577239095187
WITHDRAW: rsETH, Amount: 135853788619547593
WITHDRAW: rsETH, Amount: 135853788619547593
BORROW: rsETH, Amount 271707577239095187
REPAY: rsETH, Amount: 271707577239095187
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 136.58s (135.98s CPU time)
Ran 1 test suite in 136.60s (136.58s CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)