-
Notifications
You must be signed in to change notification settings - Fork 991
Add koalaswap adapter #2143
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
base: master
Are you sure you want to change the base?
Add koalaswap adapter #2143
Conversation
The koalaswap adapter exports pools: Test Suites: 1 passed, 1 total
|
The koalaswap adapter exports pools: Test Suites: 1 passed, 1 total
|
const feeUsd = feeValue0.plus(feeValue1) | ||
|
||
const aprBn = tvl.gt(0) ? feeUsd.div(tvl).times(36500) : new BigNumber(0) | ||
const apy = utils.aprToApy(aprBn.toNumber()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only include if the vaults autocompound, otherwise we report apy = apr
pls check tvl value for 0xA2DEBE18C2132A026542bcF2DFaA066DC36A48E9, seems wrong |
No description provided.