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

new version&&fix potential transfer callback vulnerability #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yonghenghuanmie
Copy link

Hi, you advise me to take a look at widely used DeFi protocols. I'm looking at uniswapv3 now.
Though am still have no idea about implementation without loop. But I think maybe this is what you mean.
Transfer calculate dividend logic from owner to user, so owner's gas cost would be lower.
I planned to deploy and verify new version of contract but always get timeout error, so the script keeps old contract address.

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.

1 participant