Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formal Verification #5

Merged
merged 26 commits into from
Feb 24, 2024
Merged

Formal Verification #5

merged 26 commits into from
Feb 24, 2024

Conversation

ElliotFriedman
Copy link
Collaborator

@ElliotFriedman ElliotFriedman commented Feb 20, 2024

Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
…ion list as user has no borrow balance

Signed-off-by: Elliot <elliotfriedman3@gmail.com>
… no borrowed assets

Signed-off-by: Elliot <elliotfriedman3@gmail.com>
…d changes, no borrowed assetsgs

Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
…d changes, no borrowed assetsgs

Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
certora/specs/MErc20DelegateFixer.spec Outdated Show resolved Hide resolved
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
invariant initialBorrowIndexGteOne()
borrowIndex() != 0 => borrowIndex() >= one();

// invariant initialExchangeRateMantissaGteOne()
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is this commented?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

because it isn't an actual invariant. initializer doesn't ensure exchange rate is gte one on initialization

@ElliotFriedman ElliotFriedman merged commit 3d92f6b into main Feb 24, 2024
1 check passed
@ElliotFriedman ElliotFriedman deleted the feat/formal-verification branch February 24, 2024 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants