mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 08:34:23 +08:00
36 lines
739 B
JavaScript
36 lines
739 B
JavaScript
const {tvlV1Eth, tvlV1Bsc} = require('./v1.js')
|
|
const {tvlV2, tvlV2Onchain} = require('./v2.js')
|
|
|
|
async function ethTvl(api) {
|
|
await Promise.all([
|
|
tvlV1Eth(api),
|
|
tvlV2(api),
|
|
])
|
|
}
|
|
|
|
module.exports = {
|
|
misrepresentedTokens: true,
|
|
doublecounted: true,
|
|
ethereum:{
|
|
tvl: ethTvl
|
|
},
|
|
bsc:{
|
|
tvl: tvlV1Bsc
|
|
},
|
|
avax:{
|
|
tvl: tvlV2Onchain
|
|
},
|
|
fantom:{
|
|
tvl: tvlV2Onchain
|
|
},
|
|
optimism:{
|
|
tvl: tvlV2Onchain
|
|
},
|
|
start: '2020-10-07', // unix timestamp (utc 0) specifying when the project began, or where live data begins
|
|
hallmarks: [
|
|
[1613178000, "37M exploit"], // Feb 13, 2021
|
|
[1626220800, "Upgrade to V2 on ETH"], // July 14, 2021 00:00 UTC
|
|
],
|
|
deadFrom: '2025-10-11', // website is down
|
|
};
|