mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-04-30 13:52:23 +08:00
Tvl-v2 (#9466)
* use tvl function v2 * refactor addFundsInMasterChef * replace usage of timestamp field * more refactoring * more refactoring
This commit is contained in:
@@ -12,7 +12,7 @@ module.exports = {
|
||||
Object.keys(config).forEach(chain => {
|
||||
const { factory, fromBlock, tellerFactory, tellerBlock, } = config[chain]
|
||||
module.exports[chain] = {
|
||||
tvl: async (_, _b, _cb, { api, }) => {
|
||||
tvl: async (api) => {
|
||||
const tellerLogs = await getLogs({
|
||||
api,
|
||||
target: tellerFactory,
|
||||
|
||||
Reference in New Issue
Block a user