Skip to content

Lesson 10: Contract Addresses Constant #962

Answered by krakxn
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

"Why do we need an array of addresses for each chain?" As you mentioned, it is to index each address in case we deploy multiple contracts on the same network.

"wouldn’t we want to use the most recent version of the contract?" I agree with this one - not sure why we are not using the recent one? As it defeats the purpose of indexing every address - the only plausible reason is that we are supposed to hardcode it and change it explicitly. Cheers

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ghost
Comment options

@ghost
Comment options

@krakxn
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant