Skip to content

fundMe.priceFeed() in fundMe.test #1555

Answered by alymurtazamemon
Stark-Code asked this question in Q&A
Discussion options

You must be logged in to vote

@Stark-Code You are getting confused with the solidity feature of creating a default getter function for all public variables. Same with priceFeed, solidity creates a getter function that returns an address of the aggregator.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Stark-Code
Comment options

Answer selected by Stark-Code
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