Update CoW Swap Adapters flashBorrowers
01Summary
An AI summary is not generated yet. Read the description →
02Description
Simple Summary
This proposal seeks to register the new Aave Swap Adapter factories as approved flash borrowers across relevant Aave V3 instances, enabling them to access flash liquidity with zero flash loan fees. The new factories serve the collateral swap, debt swap, repay with collateral, and leverage adapters. The previous CoW Swap Adapter contract would be removed from the approved flash borrowers on the same instances.
This change improves execution quality for users interacting through Aave's swap and leverage flows by removing an internal protocol fee that currently adds avoidable cost to adapter-based routing.
Motivation
Aave swap adapters support collateral swaps, debt swaps, repayments with collateral, and leverage inside the Aave experience. When a route requires flash liquidity, the flash loan premium is embedded directly in execution. That reduces output on collateral and debt swaps, increases the cost of opening leveraged positions, and prolongs the payback period of debt swaps, which weakens the Aave route against external alternatives.
Whitelisting the new CoW Swap Adapter factories removes that cost across the covered Aave V3 instances, and extends it to the new leverage adapter. CoW Swap Adapter routes that rely on flash liquidity will execute without a flash loan fee. Users will experience improved collateral swap, debt swap, and leverage pricing on Aave V3. With better pricing, the Aave interface should retain more of this flow within the Aave experience. Under the Aave Will Win Framework, the DAO is positioned to capture all revenue from that activity.
Specification
The Aave DAO would authorize the registration of the new Aave swap adapter factory contracts as approved flash borrowers through the ACLManager.addFlashBorrower function on the applicable Aave V3 deployments, and the removal of the previous CoW Swap Adapter contract through the ACLManager.removeFlashBorrower function on the same deployments.
Once registered, these factories would be exempt from flash loan fees when using flash liquidity through the approved path.
The proposal payload would:
- identify the swap adapter factory contract addresses to be registered
- call
addFlashBorrowerfor each factory on the relevant markets - call
removeFlashBorrowerfor the previous adapter contract on the relevant markets
CoW Swap Adapter Factories
Two factory versions are in scope, AaveV3AdapterV3Factory and AaveV3AdapterV4Factory. Each serves its own set of CollateralSwap, DebtSwap, RepayWithCollateral, and Leverage adapters.
Aave V3 instances included in scope
The payload will register the following factories as approved flash borrowers on the following Aave V3 instances:
| Market | AaveV3AdapterV3Factory | AaveV3AdapterV4Factory |
|---|---|---|
| Ethereum Core | 0xD2CC30cB0e77B80a34b879ccB6da67799e4ecD83 | 0x0C6F0D008B5Ee6CdFbb8BF1CFB0148052e96ac14 |
| Ethereum Prime | 0xFdFA036213C375808135744E865767FD90897F0A | - |
| Base | 0xD2CC30cB0e77B80a34b879ccB6da67799e4ecD83 | 0x0C6F0D008B5Ee6CdFbb8BF1CFB0148052e96ac14 |
| Arbitrum | 0xD2CC30cB0e77B80a34b879ccB6da67799e4ecD83 | - |
| Gnosis | 0xD2CC30cB0e77B80a34b879ccB6da67799e4ecD83 | - |
| Avalanche | 0xD2CC30cB0e77B80a34b879ccB6da67799e4ecD83 | 0x0C6F0D008B5Ee6CdFbb8BF1CFB0148052e96ac14 |
| BNB Chain | 0xD2CC30cB0e77B80a34b879ccB6da67799e4ecD83 | - |
| Polygon | 0xD2CC30cB0e77B80a34b879ccB6da67799e4ecD83 | - |
| Linea | 0x3171FC716942a40DEDe8dD0B7885dd9f44eca176 | - |
| Plasma | 0xD2CC30cB0e77B80a34b879ccB6da67799e4ecD83 | - |
Previous CoW Swap Adapter to be removed
The payload will remove the following contract from the approved flash borrowers on the following Aave V3 instances:
Payload actions
For each Aave V3 instance listed in the factory table, the governance payload will execute ACLManager.addFlashBorrower once for every factory address listed in its row. For each Aave V3 instance listed in the previous adapter table, it will execute ACLManager.removeFlashBorrower for the previous adapter address.
References
- Implementation: AaveV3Ethereum, AaveV3EthereumLido, AaveV3Polygon, AaveV3Avalanche, AaveV3Arbitrum, AaveV3Base, AaveV3Gnosis, AaveV3BNB, AaveV3Linea, AaveV3Plasma
- Tests: AaveV3Ethereum, AaveV3EthereumLido, AaveV3Polygon, AaveV3Avalanche, AaveV3Arbitrum, AaveV3Base, AaveV3Gnosis, AaveV3BNB, AaveV3Linea, AaveV3Plasma
- Snapshot: Direct-to-AIP
- Discussion
Copyright
Copyright and related rights waived via CC0.
03Mismatch analysis
A calldata-vs-description analysis is not generated yet. Review the decoded actions →
04Actions
- Target
- 0x9187…165d
- Value
- 0 wei
- Function
- execute()
- Arguments
{}- Calldata
- Target
- 0x8c22…1cbf
- Value
- 0 wei
- Function
- execute()
- Arguments
{}- Calldata
05Tally
Summed from votes
06Voters
| Voter | Choice | % of total | Rationale | ||
|---|---|---|---|---|---|
| 330x3320…3bb7 | for | 107.2K | 28.12% | — | 26d ago |
| 2C0x2cc1…4df1 | for | 88.6K | 23.24% | — | 25d ago |
| 8B0x8b37…2a22 | for | 76.5K | 20.06% | — | 26d ago |
| B90xb933…8dd1 | for | 53.7K | 14.08% | — | 27d ago |
| 360x3676…574d | for | 25K | 6.56% | — | 27d ago |
| C00xc0d6…b802 | for | 20.2K | 5.29% | — | 26d ago |
| 070x0703…961b | for | 10K | 2.62% | — | 25d ago |
| 080x0865…24ce | for | 75.8 | 0.02% | — | 26d ago |
| E00xe0e2…5724 | for | 13.2 | 0.00% | — | 27d ago |
| ED0xedbd…0666 | for | 10 | 0.00% | — | 28d ago |
| 100x10c4…6069 | for | 0.1 | 0.00% | — | 27d ago |
| 260x266e…9cc0 | for | 0.1 | 0.00% | — | 27d ago |
| 430x4364…dcf7 | for | 0.1 | 0.00% | — | 26d ago |
| D10xd10f…608c | for | 0.1 | 0.00% | — | 27d ago |
| CB0xcb15…a1a0 | for | 0 | 0.00% | — | 25d ago |
07Forum
No forum thread is confidently linked to this proposal.
08Similar proposals
- aaveexecutedAdd CoW Swap Adapters to flashBorrowers96%
- aaveexecutedAdd DebtSwapAdapter as FlashBorrower84%
- aaveexecutedaddFlashborrowers84%
- aaveexecutedUpdate flashBorrowers82%
- aaveexecutedAdd dHEDGE Protocol to flashBorrowers78%
- aaveexecutedContango FlashBorrower77%
- aaveexecutedAdd DeFi Saver to Aave V3 FlashBorrowers75%
- aaveexecutedDeFi Saver Aave V3 FlashBorrowers Whitelist Part II74%
- aaveexecutedAdd Fluid Protocol to flashBorrowers73%
- aaveexecutedAave V4 Avalanche Activation73%