Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
hoytech committed Mar 31, 2024
1 parent 451a5cf commit 0ee69cc
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
5 changes: 3 additions & 2 deletions src/EVault/Dispatch.sol
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ abstract contract Dispatch is
}
}

// External function which is only callable by the EVault itself. It's purpose is to be static called by `delegateToModuleView`
// which allows delegate-calling modules also for external view functions.
// External function which is only callable by the EVault itself. Its purpose is to be static called by `delegateToModuleView`
// which allows view functions to be implemented in modules, even though delegatecall cannot be directly used within
// view functions.
function viewDelegate() external {
if (msg.sender != address(this)) revert E_Unauthorized();

Expand Down
1 change: 0 additions & 1 deletion src/EVault/EVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {Dispatch} from "./Dispatch.sol";
/// @title EVault
/// @author Euler Labs (https://www.eulerlabs.com/)
/// @notice This contract implements an EVC enabled lending vault
/// @notice White paper: https://github.com/euler-xyz/euler-docusaurus/blob/main/docs/euler-vault-kit-white-paper/index.md
/// @dev The responsibility of this contract is call routing. Select functions are embedded, while most are delegated to the modules.
contract EVault is Dispatch {
constructor(Integrations memory integrations, DeployedModules memory modules) Dispatch(integrations, modules) {}
Expand Down
2 changes: 1 addition & 1 deletion src/EVault/modules/BalanceForwarder.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {Base} from "../shared/Base.sol";

/// @title BalanceForwarderModule
/// @author Euler Labs (https://www.eulerlabs.com/)
/// @notice An EVault module handling communication with balance tracker contract.
/// @notice An EVault module handling communication a with balance tracker contract.
abstract contract BalanceForwarderModule is IBalanceForwarder, Base {
/// @inheritdoc IBalanceForwarder
function balanceTrackerAddress() public view virtual reentrantOK returns (address) {
Expand Down
2 changes: 1 addition & 1 deletion src/EVault/shared/Cache.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import "./types/Types.sol";

/// @title Cache
/// @author Euler Labs (https://www.eulerlabs.com/)
/// @notice Utilities for loading vault storage and updating it with interest accured
/// @notice Utilities for loading vault storage and updating it with interest accrued
contract Cache is Storage, Errors {
using TypesLib for uint256;
using SafeERC20Lib for IERC20;
Expand Down
4 changes: 2 additions & 2 deletions src/EVault/shared/Events.sol
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ abstract contract Events {
/// @param sender Address initializing the conversion
/// @param protocolReceiver Address receiving the protocol's share of the fees
/// @param governorReceiver Address receiving the governor's share of the fees
/// @param protocolShares Amount of shares tranfered to the protocol receiver
/// @param governorShares Amount of shares tranfered to the governor receiver
/// @param protocolShares Amount of shares transferred to the protocol receiver
/// @param governorShares Amount of shares transferred to the governor receiver
event ConvertFees(
address indexed sender,
address indexed protocolReceiver,
Expand Down
2 changes: 1 addition & 1 deletion src/EVault/shared/Storage.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {VaultStorage, Snapshot} from "./types/Types.sol";

/// @title Storage
/// @author Euler Labs (https://www.eulerlabs.com/)
/// @notice Contract defines the EVault's data storage
/// @notice Contract that defines the EVault's data storage
abstract contract Storage {
/// @notice Flag indicating if the vault has been initialized
bool initialized;
Expand Down

0 comments on commit 0ee69cc

Please sign in to comment.