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

[Draft] Add ERC-20 Example #22

Draft
wants to merge 92 commits into
base: main
Choose a base branch
from
Draft

[Draft] Add ERC-20 Example #22

wants to merge 92 commits into from

Conversation

Coda-Coda
Copy link
Collaborator

This pull request, currently a DRAFT, is to prepare for merging the ERC-20 example into main.
This is a work in progress.

Daniel Britten and others added 8 commits November 20, 2024 02:57
…oofs"

Restore existing proofs overwritten by the generator.
Copied in from `Ferinko/balanceOf` branch, currently 673b85.

Co-authored-by: Frantisek Silvasi <[email protected]>
Copied across `Wheels.lean` and `ProofGenerator.hs` from `Ferinko/Workshop` branch, currently 7631d8.

Co-authored-by: Frantisek Silvasi <[email protected]>
Restore existing proofs overwritten by the generator.
This makes the invocations of `clr_varstore,` behave the same as `clr_varstore` without the comma did prior to the changes to `Wheels.lean` in 61166b.
Moved into `Predicate.lean`
Also add `sorry`s where this lemma was used.
Includes multiple `sorry`s.
For `_transfer` and `spendAllowance`
…wance` specs, in the success cases

These functions are not pure.
And regenerate `erc20shim.yul`
Deleted `ERC20Shim` folder (and `All.lean`), regenerated using `vc`, then manually reverted some files in order to keep existing specs and proofs.
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.

4 participants