Skip to content

[Certora] add collateral to onlyAuthorized#519

Merged
QGarchery merged 13 commits into
mainfrom
certora/authorized-decrease-collateral
Mar 19, 2026
Merged

[Certora] add collateral to onlyAuthorized#519
QGarchery merged 13 commits into
mainfrom
certora/authorized-decrease-collateral

Conversation

@lilCertora

@lilCertora lilCertora commented Mar 15, 2026

Copy link
Copy Markdown
Collaborator

2 rules added to onlyAuthorizedCanChange spec :

  • onlyAuthorizedCanChangeCollateralExceptLiquidate: Only a user or their authorized address can change that user's collateral (excluding liquidation).
  • liquidateCanDecreaseBorrowerCollateral: Liquidation can only decrease the borrower's collateral — everyone else's stays the same

@lilCertora lilCertora mentioned this pull request Mar 15, 2026
73 tasks
@lilCertora lilCertora changed the title [Certora] add collateral to onlyAuthorized (WIP) [Certora] add collateral to onlyAuthorized Mar 18, 2026
@lilCertora lilCertora marked this pull request as ready for review March 18, 2026 08:37
Comment thread certora/specs/OnlyAuthorizedCanChange.spec Outdated
Comment thread certora/specs/OnlyAuthorizedCanChange.spec Outdated
lilCertora and others added 3 commits March 18, 2026 14:12
Comment thread certora/specs/BalanceEffects.spec Outdated
Co-authored-by: Quentin Garchery <garchery.quentin@gmail.com>
Signed-off-by: lilCertora <lilian@certora.com>
Comment thread certora/specs/BalanceEffects.spec Outdated

@MathisGD MathisGD left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@QGarchery QGarchery merged commit 20d8059 into main Mar 19, 2026
15 checks passed
@QGarchery QGarchery deleted the certora/authorized-decrease-collateral branch March 19, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants