-
I am not sure what it means when writing constructor like this. A normal constructor is simple, but here it looks like there are "extras" after the arguments. VRFConsumerBaseV2 ... as this contract inherits from VRFConsumerBaseV2, I don't get why we have to specify the parent contract here again...??
How do I understand what this is doing? |
Beta Was this translation helpful? Give feedback.
Answered by
rin-st
Jan 20, 2023
Replies: 1 comment
-
Since the contract can be inherited from multiple other contracts it's not clear how parent constructors should be executed. So here you're using parent constructors and parameters you need |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nowissan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since the contract can be inherited from multiple other contracts it's not clear how parent constructors should be executed. So here you're using parent constructors and parameters you need