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 profit reflects only claimed comp profit? #11

Open
hawkofsky opened this issue Dec 3, 2021 · 0 comments
Open

Why profit reflects only claimed comp profit? #11

hawkofsky opened this issue Dec 3, 2021 · 0 comments

Comments

@hawkofsky
Copy link

https://github.com/Grandthrax/YearnV2-Generic-Lev-Comp-Farm/blob/master/contracts/Strategy.sol#L392-L397

I think _profit = balance - debt should profit. but why it makes as the balance?
It means we ignore lending apy and accept only reward apy?
Maybe I could be incorrect.
Please help me to explain about that

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