Skip to content

Commit 8aae940

Browse files
committed
Grammar and Spelling Pass 1
1 parent b7b9975 commit 8aae940

20 files changed

Lines changed: 105 additions & 799 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ coverage.json
1515
yarn-error.log
1616
typechain-types
1717
.vscode
18+
.cache
1819

1920
# Certora Formal Verification related files
2021
.certora_internal

CHANGELOG.md

Lines changed: 87 additions & 91 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,9 @@ Documentation
107107
- [Error codes](docs/error_codes.md)
108108
- [Coding guidelines](docs/guidelines.md)
109109

110-
Audits/ Formal Verification
110+
Audits / Formal Verification
111111
---------
112+
- [for Version 1.5.0 by Certora](docs/audit_1_5_0.md)
112113
- [for Version 1.4.0/1.4.1 by Ackee Blockchain](docs/audit_1_4_0.md)
113114
- [for Version 1.3.0 by G0 Group](docs/audit_1_3_0.md)
114115
- [for Version 1.2.0 by G0 Group](docs/audit_1_2_0.md)

contracts/base/OwnerManager.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ abstract contract OwnerManager is SelfAuthorized, IOwnerManager {
7171
* @inheritdoc IOwnerManager
7272
*/
7373
function removeOwner(address prevOwner, address owner, uint256 _threshold) public override authorized {
74-
// Only allow to remove an owner, if threshold can still be reached.
74+
// Only allow the removal of an owner if the threshold can still be reached.
7575
// Here we do pre-decrement as it is cheaper and allows us to check if the threshold is still reachable.
7676
if (--ownerCount < _threshold) revertWithError("GS201");
7777
// Validate owner address and check that it corresponds to owner index.

contracts/handler/CompatibilityFallbackHandler.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ contract CompatibilityFallbackHandler is TokenCallbackHandler, ISignatureValidat
5050

5151
/**
5252
* @notice Implementation of updated EIP-1271 signature validation method.
53-
* @param _dataHash Hash of the data signed on the behalf of address(msg.sender)
53+
* @param _dataHash Hash of the data signed on behalf of the address(msg.sender)
5454
* @param _signature Signature byte array associated with _dataHash
5555
* @return Updated EIP1271 magic value if signature is valid, otherwise 0x0
5656
*/

contracts/handler/HandlerContext.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ pragma solidity >=0.7.0 <0.9.0;
1111
abstract contract HandlerContext {
1212
/**
1313
* @notice Allows fetching the original caller address.
14-
* @dev This is only reliable in combination with a FallbackManager that supports this (e.g. Safe contract >=1.3.0).
15-
* When using this functionality make sure that the linked _manager (aka msg.sender) supports this.
14+
* @dev This is only reliable with a FallbackManager supporting this (e.g. Safe contract >=1.3.0).
15+
* When using this functionality, ensure that the linked _manager (aka msg.sender) supports this.
1616
* This function does not rely on a trusted forwarder. Use the returned value only to
1717
* check information against the calling manager.
1818
* @return sender Original caller address.

contracts/handler/extensible/ExtensibleBase.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ abstract contract ExtensibleBase is HandlerContext {
6565

6666
/**
6767
* Dry code to get the Safe and the original `msg.sender` from the FallbackManager
68-
* @return safe The safe whose FallbackManager is making this call
68+
* @return safe The Safe whose FallbackManager is making this call
6969
* @return sender The original `msg.sender` (as received by the FallbackManager)
7070
*/
7171
function _getContext() internal view returns (ISafe safe, address sender) {
@@ -75,7 +75,7 @@ abstract contract ExtensibleBase is HandlerContext {
7575

7676
/**
7777
* Get the context and the method handler applicable to the current call
78-
* @return safe The safe whose FallbackManager is making this call
78+
* @return safe The Safe whose FallbackManager is making this call
7979
* @return sender The original `msg.sender` (as received by the FallbackManager)
8080
* @return isStatic Whether the method is static (`view`) or not
8181
* @return handler the address of the handler contract

contracts/interfaces/ERC777TokensRecipient.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pragma solidity >=0.7.0 <0.9.0;
44
/**
55
* @title ERC777TokensRecipient
66
* @dev Interface for contracts that will be called with the ERC777 token's `tokensReceived` method.
7-
* The contract receiving the tokens must implement this interface in order to receive the tokens.
7+
* The contract receiving the tokens must implement this interface to receive the tokens.
88
*/
99
interface ERC777TokensRecipient {
1010
/**

contracts/interfaces/ISafe.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {IModuleManager} from "./IModuleManager.sol";
88
import {IOwnerManager} from "./IOwnerManager.sol";
99

1010
/**
11-
* @title ISafe - A multisignature wallet interface with support for confirmations using signed messages based on EIP-712.
11+
* @title ISafe - A multi signature wallet interface with support for confirmations using signed messages based on EIP-712.
1212
* @author @safe-global/safe-protocol
1313
*/
1414
interface ISafe is IModuleManager, IGuardManager, IOwnerManager, IFallbackManager {

contracts/interfaces/ISignatureValidator.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ contract ISignatureValidatorConstants {
1010
abstract contract ISignatureValidator is ISignatureValidatorConstants {
1111
/**
1212
* @notice EIP1271 method to validate a signature.
13-
* @param _hash Hash of the data signed on the behalf of address(this).
13+
* @param _hash Hash of the data signed on behalf of the address(this).
1414
* @param _signature Signature byte array associated with _data.
1515
*
1616
* MUST return the bytes4 magic value 0x1626ba7e when function passes.

0 commit comments

Comments
 (0)