forked from DefiLlama/DefiLlama-Adapters
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Add Avalon Finance (DefiLlama#9818)
* Feat: Add Avalon Finance * Feat: Update chain name * Feat: Update chain name * Feat: Update addresses to PoolAddressesProviderRegistry * Feat: Update market name * Feat: Combine the markets tvl and borrowed * Feat: Combine the markets tvl and borrowed * Feat: display the main market data, cannot display the innovation market data * revert change * code refactor --------- Co-authored-by: g1nt0ki <[email protected]>
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
const { aaveExports } = require('../helper/aave') | ||
const methodologies = require('../helper/methodologies') | ||
const { mergeExports } = require('../helper/utils') | ||
|
||
const mainMarket = { | ||
merlin: aaveExports('', '0x6aB5d5E96aC59f66baB57450275cc16961219796', undefined, ['0x5F314b36412765f3E1016632fD1Ad528929536CA'], { v3: true }), | ||
} | ||
const innovativeMarket = { | ||
merlin: aaveExports('', '0x91b212e9FaF20117Eae59d6289CB38749DDFc070', undefined, ['0x883cb2E2d9c5D4D9aF5b0d37fc39Fa2284405682'], { v3: true }), | ||
} | ||
|
||
module.exports = mergeExports(mainMarket, innovativeMarket) | ||
module.exports.methodology = methodologies.lendingMarket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters