mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 16:53:02 +08:00
* use tvl function v2 * refactor addFundsInMasterChef * replace usage of timestamp field * more refactoring * more refactoring
17 lines
395 B
JavaScript
17 lines
395 B
JavaScript
const { addPools, calculatePies, } = require("./pieDAO.js");
|
|
const { staking } = require('../helper/staking')
|
|
|
|
async function tvl(api) {
|
|
await Promise.all([
|
|
addPools(api),
|
|
calculatePies(api),
|
|
])
|
|
}
|
|
|
|
module.exports = {
|
|
ethereum: {
|
|
staking: staking("0x6Bd0D8c8aD8D3F1f97810d5Cc57E9296db73DC45", "0xad32A8e6220741182940c5aBF610bDE99E737b2D"),
|
|
tvl
|
|
}
|
|
}
|