aave-utilities icon indicating copy to clipboard operation
aave-utilities copied to clipboard

Suggest using PoolAddressProvider instead of Pool

Open klntsky opened this issue 8 months ago • 0 comments

Currently, the example code in readme looks like this:

const markets = require("@bgd-labs/aave-address-book");
...
    return new PoolBundle(provider, {
      POOL: markets[marketKey].POOL,
      WETH_GATEWAY: markets[marketKey].WETH_GATEWAY,
    });

This should not be the right way to do it, instead, the reader should be encouraged to fetch the pool address from the PoolAddressProvider contract.

klntsky avatar Feb 17 '25 03:02 klntsky