-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✅ delete validation of checking token address is not zero in `_distri…
…bute()` and fix test (#39) * ✅ delete validation of checking token address is not zero in `_distribute()` and fix test * ⚡️ improve gas by `++i` * ⚡️ gas optimizations: - use calldata - cache `winner, percentage and winnersLength` - fix magic number `10_000`
- Loading branch information
1 parent
d38a9f5
commit c6c030e
Showing
3 changed files
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters