Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is MINIMUM_ETH_LOCKED 60? #175

Open
wshino opened this issue Jun 29, 2023 · 0 comments
Open

Why is MINIMUM_ETH_LOCKED 60? #175

wshino opened this issue Jun 29, 2023 · 0 comments

Comments

@wshino
Copy link

wshino commented Jun 29, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant