Skip to content

Commit

Permalink
docs: improving natspec for the mint and burn functions
Browse files Browse the repository at this point in the history
  • Loading branch information
The-3D committed Jan 3, 2022
1 parent 5e9d2d2 commit ef57d1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/interfaces/IAToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ interface IAToken is IERC20, IScaledBalanceToken, IInitializableAToken {

/**
* @notice Mints `amount` aTokens to `user`
* @param caller The address minting tokens
* @param onBehalfOf The address receiving the minted tokens
* @param caller The address performing the mint
* @param onBehalfOf The address of the user that will receive the minted aTokens
* @param amount The amount of tokens getting minted
* @param index The next liquidity index of the reserve
* @return `true` if the the previous balance of the user was 0
Expand All @@ -71,7 +71,7 @@ interface IAToken is IERC20, IScaledBalanceToken, IInitializableAToken {
* @notice Burns aTokens from `user` and sends the equivalent amount of underlying to `receiverOfUnderlying`
* @dev In some instances, the mint event could be emitted from a burn transaction
* if the amount to burn is less than the interest the user earned
* @param from The owner of the aTokens, getting them burned
* @param from The address from which the aTokens will be burned
* @param receiverOfUnderlying The address that will receive the underlying
* @param amount The amount being burned
* @param index The next liquidity index of the reserve
Expand Down

0 comments on commit ef57d1b

Please sign in to comment.