Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ERC1271.sol
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ abstract contract ERC1271 {
return 0xffffffff;
}

/// @notice Wrapper around `_eip712Hash()` to produce a replay-safe hash fron the given `hash`.
/// @notice Wrapper around `_eip712Hash()` to produce a replay-safe hash from the given `hash`.
///
/// @dev The returned EIP-712 compliant replay-safe hash is the result of:
/// keccak256(
Expand Down
6 changes: 3 additions & 3 deletions src/MultiOwnable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ struct MultiOwnableStorage {
uint256 nextOwnerIndex;
/// @dev Tracks number of owners that have been removed.
uint256 removedOwnersCount;
/// @dev Maps index to owner bytes, used to idenfitied owners via a uint256 index.
/// @dev Maps index to owner bytes, used to identified owners via a uint256 index.
///
/// Some uses—-such as signature validation for secp256r1 public key owners—-
/// requires the caller to assert the public key of the caller. To economize calldata,
Expand All @@ -35,7 +35,7 @@ contract MultiOwnable {
/// Computed from
/// keccak256(abi.encode(uint256(keccak256("coinbase.storage.MultiOwnable")) - 1)) & ~bytes32(uint256(0xff))
/// Follows ERC-7201 (see https://eips.ethereum.org/EIPS/eip-7201).
bytes32 private constant MUTLI_OWNABLE_STORAGE_LOCATION =
bytes32 private constant MULTI_OWNABLE_STORAGE_LOCATION =
0x97e2c6aad4ce5d562ebfaa00db6b9e0fb66ea5d8162ed5b243f51a2e03086f00;

/// @notice Thrown when the `msg.sender` is not an owner and is trying to call a privileged function.
Expand Down Expand Up @@ -267,7 +267,7 @@ contract MultiOwnable {

/// @notice Checks if the sender is an owner of this contract or the contract itself.
///
/// @dev Revert if the sender is not an owner fo the contract itself.
/// @dev Revert if the sender is not an owner of the contract itself.
function _checkOwner() internal view virtual {
if (isOwnerAddress(msg.sender) || (msg.sender == address(this))) {
return;
Expand Down