-
Notifications
You must be signed in to change notification settings - Fork 3
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
Huy airdrop #14
base: main
Are you sure you want to change the base?
Huy airdrop #14
Conversation
…-projects into huy-project
the function depositNativeToken() can be replaced by a fallback function. depositERC20 should have onlyOwner. |
Thanks for your comments!
This is kinda intended lol. I wanted to enforce the way to deposit and to give generous ppl a way to deposit if they wanted to haha.
I don't really understand, like which ones?
Yeah just added lol. Didn't add withdraw for all tokens though.
No...? I don't think it does?
Ah, nice! Thanks! |
Overall the code and design is very sound! I don't think there are any major flaws with it. (Consdering the intend function of having donors for the deposit functions!) Something really good is actually testing using other smart contracts for Reentrancy, etc! The smart contract is simple and sound, which helps a lot! Some nitpicky stuff I guess:
|
Thanks! |
This is my airdrop, any feedback is much appreciated!