v3-subgraph icon indicating copy to clipboard operation
v3-subgraph copied to clipboard

Why is MINIMUM_ETH_LOCKED 60?

Open wshino opened this issue 1 year ago • 0 comments

When I'm looking into the pool for LUSD / USDC 0.05% on Arbitrum, I found that the TVL and Volume 24h are wrong. And then I checked this repository code, I understood the reason, if there are a small locked value, findEthPerToken always returns 0. Looking into more detail, the problem is this line:

let MINIMUM_ETH_LOCKED = BigDecimal.fromString('60')

I'd like to know why is MINIMUM_ETH_LOCKED 60? If it doesn't make much sense, I would like to change this value to something like 10 or 1. Does anyone know what the reason for the above variable is?

image

wshino avatar Jun 29 '23 09:06 wshino