code refactor

This commit is contained in:
g1nt0ki
2025-06-04 13:32:14 +02:00
parent 5612ee7e6e
commit af77469dba
11 changed files with 54 additions and 142 deletions

View File

@@ -1,7 +1,7 @@
const { sliceIntoChunks } = require('@defillama/sdk/build/util')
const { default: PromisePool } = require('@supercharge/promise-pool/dist')
const { default: axios } = require('axios')
const mapping = require('../../../server/coins/src/adapters/tokenMapping.json')
const { sliceIntoChunks } = require('../../projects/helper/utils')
const tokens = Object.entries(mapping).map(i => {
const [chain, obj] = i