Skip to content

MockV3Aggregator is a contract or PriceFeedAddress? #2019

Answered by othaime-en
TimeKeyRoll asked this question in Q&A
Discussion options

You must be logged in to vote

Thats just a variable name we assign to get the contract instance. In this section, we are more concerned about the address of this contract so we use this variable to get the contract instance so we can eventually get the address of where the mock contract was deployed. You could call ethUSDAggregator whatever you like provided you get the address.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@TimeKeyRoll
Comment options

@othaime-en
Comment options

Answer selected by TimeKeyRoll
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