Unable to understand how priceFeed.version() works #131
jasjyotsinghjaswal
started this conversation in
General
Replies: 1 comment
-
Just keep in mind, an interface doesn't need to define what a function does, it just needs to define what the function looks like, aka the function name, input parameters and return types.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At 2:47:00 We implemented the interface and alternatively copied the interface code AggregatorV3Interface, regardless there was no implementation for version method in the interface, so how are we still able to make the function calls .
Also can you explain the difference between interface and abstract contract in Solidity
Beta Was this translation helpful? Give feedback.
All reactions