Aave.

Допис

Діліться своїми знаннями.

Aaveator.
Jan 29, 2023
Питання та відповіді експертів

What will happen if the address of the Aave pool changes?

Hi everyone! I work with aave through a smart contract. My contract should be able to borrow money for a period of time, and then return them. Now, before every pool action, I run this command to get the current pool:

aavePool = IPoolAddressesProvider(aavePoolAddressesProvider).getPool()
  • Borrow rate
  • Aave Pool
0
1
Поділитися
Коментарі
.

Відповіді

1
Aaveator.
Feb 2 2023, 16:32

In aave protocol, the pool contract is deployed behind upgradeable proxy. So, if the pool contract is updated, only the pool implementation contract address changes while the address of the proxy stays same. Thus, the address returned by getPool won't really change and there will be no issue with the integration. The only time you could face a problem is if new pool implementation is not backward compatible. But Aave governance would probably try to pass backward compatible updates because that's what any community would prefer unless there is some critical flaw

0
Коментарі
.

Ви знаєте відповідь?

Будь ласка, увійдіть та поділіться нею.

Aave is a decentralized non-custodial liquidity protocol where users can participate as depositors or borrowers.

213Пости230Відповіді
Sui.X.Peera.

Зароби свою частку з 1000 Sui

Заробляй бали репутації та отримуй винагороди за допомогу в розвитку спільноти Sui.