Skip to content

Commit

Permalink
fix: Update @return doc in ReserveConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
LHerskind committed Sep 7, 2021
1 parent c0e9987 commit 5afa498
Showing 1 changed file with 24 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,11 @@ library ReserveConfiguration {
/**
* @dev Gets the configuration flags of the reserve
* @param self The reserve configuration
* @return The state flags representing active, frozen, borrowing enabled, stableRateBorrowing enabled
* @return The state flag representing active
* @return The state flag representing frozen
* @return The state flag representing borrowing enabled
* @return The state flag representing stabelRateBorrowing enabled
* @return The state flag representing paused
**/
function getFlags(DataTypes.ReserveConfigurationMap storage self)
internal
Expand All @@ -416,7 +420,11 @@ library ReserveConfiguration {
/**
* @dev Gets the configuration paramters of the reserve from storage
* @param self The reserve configuration
* @return The state params representing ltv, liquidation threshold, liquidation bonus, reserve decimals, reserve factor
* @return The state param representing ltv
* @return The state param representing liquidation threshold
* @return The state param representing liquidation bonus
* @return The state param representing reserve decimals
* @return The state param representing reserve factor
**/
function getParams(DataTypes.ReserveConfigurationMap storage self)
internal
Expand All @@ -443,7 +451,8 @@ library ReserveConfiguration {
/**
* @dev Gets the caps paramters of the reserve from storage
* @param self The reserve configuration
* @return The state params representing borrow cap and supply cap.
* @return The state param representing borrow cap
* @return The state param representing supply cap.
**/
function getCaps(DataTypes.ReserveConfigurationMap storage self)
internal
Expand All @@ -461,7 +470,11 @@ library ReserveConfiguration {
/**
* @dev Gets the configuration paramters of the reserve from a memory object
* @param self The reserve configuration
* @return The state params representing ltv, liquidation threshold, liquidation bonus, reserve decimals, reserve factor
* @return The state param representing ltv
* @return The state param representing liquidation threshold
* @return The state param representing liquidation bonus
* @return The state param representing reserve decimals
* @return The state param representing reserve factor
**/
function getParamsMemory(DataTypes.ReserveConfigurationMap memory self)
internal
Expand All @@ -486,7 +499,8 @@ library ReserveConfiguration {
/**
* @dev Gets the caps paramters of the reserve from a memory object
* @param self The reserve configuration
* @return The state params borrow cap and supply cap
* @return The state param representing borrow cap
* @return The state param representing supply cap.
**/
function getCapsMemory(DataTypes.ReserveConfigurationMap memory self)
internal
Expand All @@ -502,7 +516,11 @@ library ReserveConfiguration {
/**
* @dev Gets the configuration flags of the reserve from a memory object
* @param self The reserve configuration
* @return The state flags representing active, frozen, borrowing enabled, stableRateBorrowing enabled
* @return The state flag representing active
* @return The state flag representing frozen
* @return The state flag representing borrowing enabled
* @return The state flag representing stabelRateBorrowing enabled
* @return The state flag representing paused
**/
function getFlagsMemory(DataTypes.ReserveConfigurationMap memory self)
internal
Expand Down

0 comments on commit 5afa498

Please sign in to comment.