Skip to content

Commit

Permalink
docs(market): improve jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubilmax committed Aug 2, 2024
1 parent 7fc42e7 commit e5d97ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/blue-sdk/src/market/Market.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ export class Market implements InputMarket {
}

/**
* Returns the volume to supply until the market gets the closest to the given utilization rate.
* Returns the smallest volume to supply until the market gets the closest to the given utilization rate.
* @param utilization The target utilization rate (scaled by WAD).
*/
public getSupplyToUtilization(utilization: bigint) {
Expand All @@ -375,7 +375,7 @@ export class Market implements InputMarket {
}

/**
* Returns the volume to repay until the market gets the closest to the given utilization rate.
* Returns the smallest volume to repay until the market gets the closest to the given utilization rate.
* @param utilization The target utilization rate (scaled by WAD).
*/
public getRepayToUtilization(utilization: bigint) {
Expand Down
4 changes: 2 additions & 2 deletions packages/blue-sdk/src/market/MarketUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export namespace MarketUtils {
}

/**
* Returns the volume to supply until the market gets the closest to the given utilization rate.
* Returns the smallest volume to supply until the market gets the closest to the given utilization rate.
* @param market The market state.
* @param utilization The target utilization rate (scaled by WAD).
*/
Expand Down Expand Up @@ -208,7 +208,7 @@ export namespace MarketUtils {
}

/**
* Returns the volume to repay until the market gets the closest to the given utilization rate.
* Returns the smallest volume to repay until the market gets the closest to the given utilization rate.
* @param market The market state.
* @param utilization The target utilization rate (scaled by WAD).
*/
Expand Down

0 comments on commit e5d97ce

Please sign in to comment.