Skip to content

Commit

Permalink
aave: track lido pool
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Jul 30, 2024
1 parent 5783982 commit 09e8213
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions projects/aave/v3.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const { aaveChainTvl } = require('../helper/aave');
const { aaveChainTvl, aaveExports } = require('../helper/aave');
const methodologies = require('../helper/methodologies');
const { mergeExports } = require('../helper/utils');

const v3params = ["0x770ef9f4fe897e59daCc474EF11238303F9552b6", undefined, ["0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654"]]

Expand All @@ -24,13 +25,16 @@ function v3(chain) {
}
}

module.exports = {
module.exports = mergeExports({
methodology: methodologies.lendingMarket,
avax: v3("avax"),
...["optimism", "fantom", "harmony", "arbitrum", "polygon", "ethereum", "metis", "base", "xdai", "scroll", "bsc"].reduce((t, c) => ({ ...t, [c]: v3(c) }), {}),
hallmarks: [
[1659630089, "Start OP Rewards"],
[1650471689, "Start AVAX Rewards"]
],
};
}, {
// Lido pool
ethereum: aaveExports(undefined, "0x770ef9f4fe897e59daCc474EF11238303F9552b6", undefined, ["0xa3206d66cF94AA1e93B21a9D8d409d6375309F4A"], { v3: true, }),
});
// node test.js projects/aave/index.js

0 comments on commit 09e8213

Please sign in to comment.