Gearbox-protocol / core-v3

Other
28 stars 4 forks source link

feat: loss liquidator #280

Closed lekhovitsky closed 1 month ago

lekhovitsky commented 1 month ago

Lossy liquidations no longer pause credit facade. Instead, they must go through a contract that can enforce various policies on them. For more context, an early implementation can be found in the governance repo.

liquidateCreditAccount now returns reported loss.

Access modifiers of some functions are revised.

lekhovitsky commented 1 month ago

Replicated by #285