diff --git a/README.md b/README.md
index 58a0fbf..4c5b7c6 100644
--- a/README.md
+++ b/README.md
@@ -38,13 +38,8 @@ import "fhevm/lib/TFHE.sol";
import "fhevm-contracts/contracts/token/ERC20/EncryptedERC20.sol";
contract MyERC20 is EncryptedERC20 {
- function _transfer(address from, address to, uint256 amount) internal virtual override {
- require(_validRecipient(to), "ERC20WithSafeTransfer: invalid recipient");
- super._transfer(from, to, amount);
- }
-
- function _validRecipient(address to) private view returns (bool) {
- ...
+ constructor() EncryptedERC20("MyToken", "MYTOKEN") {
+ _mint(1000000, msg.sender);
}
}
```
@@ -83,15 +78,17 @@ year = "2023"
There are two ways to contribute to the Zama fhEVM contracts:
-- [Open issues](https://github.com/zama-ai/fhevm-contracts/issues/new/choose) to report bugs and typos, or to suggest new ideas
+- [Open issues](https://github.com/zama-ai/fhevm-contracts/issues/new/choose) to report bugs and typos, or to suggest
+ new ideas
- Request to become an official contributor by emailing hello@zama.ai.
-Becoming an approved contributor involves signing our Contributor License Agreement (CLA)). Only approved contributors can send pull requests, so please make sure to get in touch before you do!
-
+Becoming an approved contributor involves signing our Contributor License Agreement (CLA)). Only approved contributors
+can send pull requests, so please make sure to get in touch before you do!
### License
-This software is distributed under the **BSD-3-Clause-Clear** license. If you have any questions, please contact us at hello@zama.ai.
+This software is distributed under the **BSD-3-Clause-Clear** license. If you have any questions, please contact us at
+hello@zama.ai.
↑ Back to top @@ -103,7 +100,8 @@ This software is distributed under the **BSD-3-Clause-Clear** license. If you ha -🌟 If you find this project helpful or interesting, please consider giving it a star on GitHub! Your support helps to grow the community and motivates further development. +🌟 If you find this project helpful or interesting, please consider giving it a star on GitHub! Your support helps to +grow the community and motivates further development.