Skip to content

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
Discussion options

You must be logged in to vote

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 from Erc20 on top of inheriting from Erc20Permit.

See how I'm doing it in the Hifi repository.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@swan-of-bodom
Comment options

@PaulRBerg
Comment options

@swan-of-bodom
Comment options

Answer selected by swan-of-bodom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants