Skip to content

Protocol 2.5 - refactor the exposure ceiling implementation against the LTV #179

@The-3D

Description

@The-3D
Collaborator

As a result of the audit and validation process, the current implementation of the exposure ceiling resulted to be vulnerable to flashloan attacks. A fix would bring too many UX issues for borrowers that want to withdraw collateral while borrowing. Given this fact, the full implementation of the exposure ceiling will be removed. The checks for the exposure ceiling will be instead moved to the case in which LTV for an asset is set to 0. This will still allow any asset to be disabled as collateral (ltv = 0) even when there are already loans in progress with that collateral (liq threshold > 0) without causing any liquidation, something that is currently impossible in aave v2 (setting LTV = 0 can at this time be circumvented using flashloans).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @The-3D

    Issue actions

      Protocol 2.5 - refactor the exposure ceiling implementation against the LTV · Issue #179 · aave/protocol-v2