When initializing is it necessary to inherit Erc20 or is this only for clarity? #27
Answered
by
PaulRBerg
swan-of-bodom
asked this question in
Q&A
-
Asking this as the Erc20Permit already inherits Erc20. |
Beta Was this translation helpful? Give feedback.
Answered by
PaulRBerg
Mar 18, 2022
Replies: 1 comment 3 replies
-
Hey @0xHyoga, thanks for using this contracts library. Let's first clarify what you want to do: do you want to use See how I'm doing it in the Hifi repository. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
swan-of-bodom
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @0xHyoga, thanks for using this contracts library.
Let's first clarify what you want to do: do you want to use
Erc20Permit
? If yes, then indeed you don't have to inherit fromErc20
on top of inheriting fromErc20Permit
.See how I'm doing it in the Hifi repository.