Skip to content

Commit

Permalink
refactor: certora README small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
QGarchery committed Dec 20, 2023
1 parent 414b67a commit 9d6c9fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions certora/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,11 @@ The rule `supplyWithdraw` handles the simple scenario of a supply followed by a
assert withdrawnAssets <= suppliedAssets;
```

The rule `withdrawLiquidity` is more general and defines `owedAssets` as the assets that are owed to the user, rounding in favor of the protocol.
This rule has the following check to ensure that no more than the owed assets can be withdrawn.
The rule `withdrawAssetsAccounting` is more general and defines `ownedAssets` as the assets that the user owns, rounding in favor of the protocol.
This rule has the following check to ensure that no more than the owned assets can be withdrawn.

```solidity
assert withdrawnAssets <= owedAssets;
assert withdrawnAssets <= ownedAssets;
```

# Folder and file structure
Expand Down

0 comments on commit 9d6c9fa

Please sign in to comment.