Creating an asset listing proposal
The following guide will walk you through the process of adding a new token as a whitelisted currency to be deposited/borrowed in the Aave protocol.
Details of the off-chain process, including completing the ARC and starting the AIP, can be found in the Governance Docs.
- add your token addresses to
markets/aave/index.ts
- create your reserve parameters inside
markets/aave/reservesConfigs.ts
- update the types to include your token in
/helpers/types
- add the current price in the
MOCK_CHAINLINK_AGGREGATORS_PRICES
object inmarkets/aave/commons.ts
- create a PR with your changes
$ npm install
$ SYMBOL="Your Symbol" npm run external:deploy-assets-kovan
to deploy on kovan$ SYMBOL="Your Symbol" npm run external:deploy-assets-main
to deploy on mainnetThis will deploy the following contracts and display the addresses:
- AToken
- variableDebt
- stableDebt
- InterestRateStrategy
You will need them for the last step.
You will need to connect with Aave Genesis team, to add your token price oracle as a source.