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

Update misleading natspec on IPool, GenericLogic and PoolLogic #879

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/interfaces/IPool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ interface IPool {
* @return totalDebtBase The total debt of the user in the base currency used by the price feed
* @return availableBorrowsBase The borrowing power left of the user in the base currency used by the price feed
* @return currentLiquidationThreshold The liquidation threshold of the user
* @return ltv The loan to value of The user
* @return ltv The maximum Loan To Value of the user - weighted average of max ltv of collateral reserves
* @return healthFactor The current health factor of the user
*/
function getUserAccountData(
Expand Down
2 changes: 1 addition & 1 deletion contracts/protocol/libraries/logic/GenericLogic.sol
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ library GenericLogic {
* @param params Additional parameters needed for the calculation
* @return The total collateral of the user in the base currency used by the price feed
* @return The total debt of the user in the base currency used by the price feed
* @return The average ltv of the user
* @return The maximum Loan To Value of the user - weighted average of max ltv of collateral reserves
* @return The average liquidation threshold of the user
* @return The health factor of the user
* @return True if the ltv is zero, false otherwise
Expand Down
2 changes: 1 addition & 1 deletion contracts/protocol/libraries/logic/PoolLogic.sol
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ library PoolLogic {
* @return totalDebtBase The total debt of the user in the base currency used by the price feed
* @return availableBorrowsBase The borrowing power left of the user in the base currency used by the price feed
* @return currentLiquidationThreshold The liquidation threshold of the user
* @return ltv The loan to value of The user
* @return ltv maximum Loan To Value of the user - weighted average of max ltv of collateral reserves
* @return healthFactor The current health factor of the user
*/
function executeGetUserAccountData(
Expand Down