Skip to content

Commit

Permalink
fix: Fix grammar spell typos in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmtzinf committed Dec 31, 2021
1 parent d3a6510 commit 3868ead
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion contracts/protocol/configuration/PoolAddressesProvider.sol
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ contract PoolAddressesProvider is Ownable, IPoolAddressesProvider {

/**
* @notice Internal function to update the implementation of a specific proxied component of the protocol
* @dev If there is no proxy registered in the given `id`, it creates the proxy setting `newAdress`
* @dev If there is no proxy registered in the given `id`, it creates the proxy setting `newAddress`
* as implementation and calls the initialize() function on the proxy
* @dev If there is already a proxy registered, it just updates the implementation to `newAddress` and
* calls the initialize() function via upgradeToAndCall() in the proxy
Expand Down
2 changes: 1 addition & 1 deletion contracts/protocol/pool/Pool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ contract Pool is VersionedInitializable, IPool, PoolStorage {
}

/// @inheritdoc IPool
/// @dev Deprecated: mantained for compatibilty purposes
/// @dev Deprecated: maintained for compatibility purposes
function deposit(
address asset,
uint256 amount,
Expand Down
4 changes: 2 additions & 2 deletions contracts/protocol/tokenization/IncentivizedERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ abstract contract IncentivizedERC20 is Context, IERC20, IERC20Detailed {
/**
* @dev UserState - additionalData is a flexible field.
* ATokens and VariableDebtTokens use this field store the index of the
* user's last supply/withdrawl/borrow/repayment. StableDebtTokens use
* user's last supply/withdrawal/borrow/repayment. StableDebtTokens use
* this field to store the user's stable rate.
*/
struct UserState {
Expand Down Expand Up @@ -280,7 +280,7 @@ abstract contract IncentivizedERC20 is Context, IERC20, IERC20Detailed {

/**
* @notice Get the domain separator for the token
* @dev Return cached value if chainid matched cache, otherwise recomputes separator
* @dev Return cached value if chainId matched cache, otherwise recomputes separator
* @return The domain separator of the token at current chain
*/
function DOMAIN_SEPARATOR() public view virtual returns (bytes32) {
Expand Down
2 changes: 1 addition & 1 deletion contracts/protocol/tokenization/StableDebtToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ contract StableDebtToken is IStableDebtToken, DebtTokenBase {

// Since the total supply and each single user debt accrue separately,
// there might be accumulation errors so that the last borrower repaying
// mght actually try to repay more than the available debt supply.
// might actually try to repay more than the available debt supply.
// In this case we simply set the total supply and the avg stable rate to 0
if (previousSupply <= amount) {
_avgStableRate = 0;
Expand Down

0 comments on commit 3868ead

Please sign in to comment.