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

Patch/kangarang factory tests #2

Merged
merged 12 commits into from
Mar 6, 2025
Merged

Conversation

Bittium1
Copy link
Owner

@Bittium1 Bittium1 commented Mar 6, 2025

No description provided.

Muhammad Altabba and others added 12 commits May 31, 2018 19:38
Add code to prevent transferring to the 0x0 address, and the contract address, according to Token Implementation Best Practices.
Reference: https://consensys.github.io/smart-contract-best-practices/tokens/
Added short comments
Added SafeEIP20 that inherits from EIP20 and prevent transferring tokens to 0x0 and contract address.
EIP20Factory is changed to use SafeEIP20.
Reverted EIP20 to its state before the pull request created.
JavaScript Truffle Tests are writen for SafeEIP20.
Encapsulated EIP compatible functions' tests inside a function and make it called for both EIP20 and SafeEIP20 smart contracts.
@Bittium1 Bittium1 merged commit f64379b into master Mar 6, 2025
1 check passed
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.

6 participants