We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 802edca commit 0809fe7Copy full SHA for 0809fe7
projects/justSwap/index.js
@@ -35,7 +35,7 @@ async function tvl(api) {
35
}
36
37
const multicallContract = 'TEazPvZwDjDtFeJupyo7QunvnrnUjPH8ED'
38
- const chunks = sliceIntoChunks(allPairs, 200)
+ const chunks = sliceIntoChunks(allPairs, 100)
39
40
const chunkCount = chunks.length
41
console.log(`Processing ${chunkCount} chunks of calls to get TRX balance`)
@@ -45,6 +45,6 @@ async function tvl(api) {
45
api.addGasToken(trxBalance)
46
api.addGasToken(trxBalance) // adding twice to add token balance on the LP
47
console.log(`Processed chunk ${chunks.indexOf(calls) + 1} of ${chunkCount}`)
48
- await sleep(1500)
+ await sleep(4500)
49
50
0 commit comments