Skip to content

Latest commit

 

History

History
107 lines (63 loc) · 2.99 KB

v3-86-aave-v2-ethereum-stable-debt-offboarding.md

File metadata and controls

107 lines (63 loc) · 2.99 KB

Proposal 86. V2 Stable Debt Offboarding.


Voting link

https://vote.onaave.com/proposal/?proposalId=86


Governance forum discussion

https://governance.aave.com/t/bgd-full-deprecation-of-stable-rate/16473


Payloads


Certora analysis


Proposal types

📜🔺 contract upgrade


Context

This proposal upgrades the v2 pool implementation and introduces a new method swapToVariable which allows permission-less swapping from stable to variable debt, as part of stable rate deprecation.


Proposal creation

Transaction: https://etherscan.io/tx/0x5cf938378ba3c7449504578d32e62a0612bfc237b152ed560da223f587b6410c

- proposalId: 86
- creator: 0xf71fc92e2949ccf6a5fd369a0b402ba80bc61e02
- accessLevel: 1
- ipfsHash: 0xe8e62cf3cb3fc0fc5686ce63c64f16e14d4bfb58053d74189540f66a607bbea5

createProposal() parameters

{
  "payloads": [ 
    { 
      "chain": "1", 
      "accessLevel": "1", 
      "payloadsController": "0xdAbad81aF85554E9ae636395611C58F7eC1aAEc5", 
      "payloadId": "111" 
    }, 
  ], 
  "votingPortal": "0x9b24C168d6A76b5459B1d47071a54962a4df36c3", 
  "ipfsHash": "0xe8e62cf3cb3fc0fc5686ce63c64f16e14d4bfb58053d74189540f66a607bbea5" 
}

Aave Seatbelt report

Proposal report

https://github.com/bgd-labs/seatbelt-gov-v3/blob/main/reports/proposals/86.md

Payload reports


Technical analysis

We have verified that the payload upgrades the v2 pool implementation with the following:

  • Introduce a new method swapToVariable(address asset, address user) that allows permission-less swapping from stable to variable debt.

  • Change the method swapBorrowRateMode(address asset, uint256 rateMode) to only allow swap between stable to variable.

  • Change the validationLogic function validateSwapRateMode will now check that the current rate is stable.


The proposal is consistent with the description on the governance forum.


Certora validations

✅ The code on the proposal payload corresponds to the proposal specification.

✅ The proposal includes a proper tests suite, checking all necessary post-conditions.

✅ BGD reviewed the payload before the proposal was submitted.

✅ Certora reviewed the procedure followed to submit the proposal.