slowdown justswap

This commit is contained in:
g1nt0ki
2025-11-06 11:43:05 +01:00
parent 802edcad65
commit 0809fe7e59

View File

@@ -35,7 +35,7 @@ async function tvl(api) {
}
const multicallContract = 'TEazPvZwDjDtFeJupyo7QunvnrnUjPH8ED'
const chunks = sliceIntoChunks(allPairs, 200)
const chunks = sliceIntoChunks(allPairs, 100)
const chunkCount = chunks.length
console.log(`Processing ${chunkCount} chunks of calls to get TRX balance`)
@@ -45,6 +45,6 @@ async function tvl(api) {
api.addGasToken(trxBalance)
api.addGasToken(trxBalance) // adding twice to add token balance on the LP
console.log(`Processed chunk ${chunks.indexOf(calls) + 1} of ${chunkCount}`)
await sleep(1500)
await sleep(4500)
}
}