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

test: add token examples #139

Merged
merged 21 commits into from
Jul 22, 2023
Merged

test: add token examples #139

merged 21 commits into from
Jul 22, 2023

Conversation

daejunpark
Copy link
Collaborator

No description provided.

assert(IERC20(token).balanceOf(to) >= oldBalanceTo);
assert(IERC20(token).balanceOf(to) == oldBalanceTo + amount);

assert(oldAllowance >= amount); // ensure allownace was enough
Copy link
Collaborator

Choose a reason for hiding this comment

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

allownace

karmacoma-eth
karmacoma-eth previously approved these changes Jul 21, 2023
Copy link
Collaborator

@karmacoma-eth karmacoma-eth left a comment

Choose a reason for hiding this comment

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

love it 🤩

@daejunpark daejunpark merged commit 50ebba8 into main Jul 22, 2023
90 checks passed
@daejunpark daejunpark deleted the test/examples branch July 22, 2023 05:04
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.

2 participants