Aave lending pool address change #1603
-
In the video Patrick shows that the lending pool address keep changing, therefore we use an AddressProvider to fetch the address for the lending pool contract. My question being this, why is it that the address keeps changing, I've not encountered anything like this before. I'm having a hard time trying to understand this one particular thing. I tried searching online but I couldn't find anything, apart from the Aave documentation (which also doesn't answer my question as to why and how). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @PratyushNag |
Beta Was this translation helpful? Give feedback.
Hello @PratyushNag
Really nice question, the reason is because AAVE uses upgradeable contracts, a concept you'll go trough on lesson 12 so the addresses of the lending pool contract will always keep changing, I suggest you just to keep going and in lesson 12 you will understand how upgrades work and how you can accomplish that.
Cheers.