const { uniTvlExport } = require('../helper/unknownTokens')
const chain = 'yourChain'
const factory = '0x...' // v2 factory address
module.exports = uniTvlExport(chain, factory)
const { uniV3Export } = require('../helper/uniswapV3')
module.exports = uniV3Export({
chainX: { factory: '0x...', fromBlock: 'block when factory contract was deployed' },
chainY: { factory: '0x...', fromBlock: 'block when factory contract was deployed' },
})
const { gmxExports } = require('../helper/gmx')
module.exports = {
bsc: {
tvl: gmxExports({ vault: '0x...', })
}
}
const { aaveExports } = require("../helper/aave")
const { compoundExports2 } = require("../helper/compound");
module.exports = {
polygon: compoundExports2({
comptroller: '0x...',
cether: '0x...', // optional, needed if gas token is used
}),
};
const { getLiquityTvl } = require("../helper/liquity.js")
module.exports = {
chainX: {
tvl: getLiquityTvl('0x...'),
}
}
const { onChainTvl } = require('../helper/balancer')
module.exports = {
metis: {
tvl: onChainTvl('0x...', <startBlock>),
}
}