-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fix lens visibility #1355
Fix lens visibility #1355
Conversation
Morpho-aave-v2 gas impacts (eth-mainnet)
🧾 Summary
Full diff report 👇
|
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.
LGTM
But I think that
getCurrentP2PSupplyIndex
is public but not used internallygetCurrentP2PBorrowIndex
is public but not used internallygetIndexes
does pretty much exactly what_getIndexes
does..._getTotalMarketSupply
does pretty much exactly whatgetTotalMarketSupply
does... andgetTotalMarketSupply
is public but not used internally_getTotalMarketBorrow
does pretty much exactly whatgetTotalMarketBorrow
does... andgetTotalMarketBorrow
is public but not used internallygetCurrentUserSupplyRatePerYear
is public but not used internallygetCurrentUserBorrowRatePerYear
is public but not used internallygetCurrentUserBorrowRatePerYear
is public but not used internally, and does pretty much exactly what_getCurrentUserBorrowRatePerYear
does- same for borrow
getUserBalanceStates
is public but not used internally
It was previously addressed in this PR: https://github.com/morpho-dao/morpho-v1/pull/1273/files |
yes but changing their return type is breaking |
Of course I'm not saying that we should change it now. I'm just typing some remark as I go though it. |
12868ae
to
ff82027
Compare
92ea7a2
to
e9379eb
Compare
No description provided.