The Aave protocol is an ecosystem of multiple markets, with the first market being the main Aave Market.
Contracts | Code | Address |
​Github​ | ||
​Github​ | ||
​LendingPool​ | ​Github​ | |
​Github​ | ||
​LendingPoolConfigurator​ | ​Github​ | |
​LendingRateOracle​ | - | |
​Price Oracle​ | - | |
​Pool Admin​ | - | |
​Emergency Admin​ | - | |
​ProtocolDataProvider​ | ​Github​ | |
​WETHGateway​ | ​Github​ | |
​Collector contract​ | ​ |
Always ensure you are using the latest LendingPool
address, since Kovan may be updated from time to time. You retrieve this by getting the latest LendingPoolAddressesProvider, then getting the latest LendingPool address.
Contracts | Code | Address |
​Github​ | ||
​Github​ | ||
​LendingPool​ | ​Github​ | |
​Github​ | ||
​LendingPoolConfigurator​ | ​Github​ | |
​LendingRateOracle​ | - | |
​Price Oracle​ | - | |
​Pool Admin​ | - | |
​Emergency Admin​ | - | |
​ProtocolDataProvider​ | ​Github​ | |
WETHGateway | ​Github​ |
For governance related contracts, see the Voting & Governance section.
The below information can also be programatically fetched by calling getReserveTokensAddresses()
.
All tokens use 18 decimals, unless indicated otherwise.
*: 2 decimals **: 6 decimals ***: 8 decimals
For assets on testnets, we use different versions of the token (e.g. testnet Dai). This is to ensure enough liquidity for our reserves and to easily mint more tokens when needed.
If you are developing on a testnet and require tokens, go to https://testnet.aave.com/faucet, making sure that your wallet is set to the relevant testnet.
As testnet assets may change frequently, ensure you are using the right asset by minting from our testnet faucet (as mentioned above) and use the ProtocolDataProvider to fetch all the relevant assets using getReserveTokensAddresses
.