Skip to content

Commit

Permalink
refactor: fix variable naming and add natspec for it
Browse files Browse the repository at this point in the history
  • Loading branch information
0xlucian committed Aug 31, 2023
1 parent 8dabbaf commit 183b6e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/BaseJumpRateModelV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,15 @@ abstract contract BaseJumpRateModelV2 is InterestRateModel {

/**
* @notice Construct an interest rate model
* @param blocksPerYear_ The approximate number of blocks per year that is assumed by the interest rate model.
* @param baseRatePerYear The approximate target base APR, as a mantissa (scaled by EXP_SCALE)
* @param multiplierPerYear The rate of increase in interest rate wrt utilization (scaled by EXP_SCALE)
* @param jumpMultiplierPerYear The multiplierPerBlock after hitting a specified utilization point
* @param kink_ The utilization point at which the jump multiplier is applied
* @param accessControlManager_ The address of the AccessControlManager contract
*/
constructor(
uint256 _blocksPerYear,
uint256 blocksPerYear_,
uint256 baseRatePerYear,
uint256 multiplierPerYear,
uint256 jumpMultiplierPerYear,
Expand Down

0 comments on commit 183b6e1

Please sign in to comment.