Skip to content

Commit 61641da

Browse files
authored
polishing docs: error fixes for clarity (#5857)
1 parent 96ff826 commit 61641da

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

contracts/access/manager/IAccessManager.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ interface IAccessManager {
123123

124124
/**
125125
* @dev Minimum setback for all delay updates, with the exception of execution delays. It
126-
* can be increased without setback (and reset via {revokeRole} in the case event of an
126+
* can be increased without setback (and reset via {revokeRole} in the event of an
127127
* accidental increase). Defaults to 5 days.
128128
*/
129129
function minSetback() external view returns (uint32);
@@ -170,7 +170,7 @@ interface IAccessManager {
170170

171171
/**
172172
* @dev Get the access details for a given account for a given role. These details include the timepoint at which
173-
* membership becomes active, and the delay applied to all operation by this user that requires this permission
173+
* membership becomes active, and the delay applied to all operations by this user that requires this permission
174174
* level.
175175
*
176176
* Returns:
@@ -376,7 +376,7 @@ interface IAccessManager {
376376
* @dev Consume a scheduled operation targeting the caller. If such an operation exists, mark it as consumed
377377
* (emit an {OperationExecuted} event and clean the state). Otherwise, throw an error.
378378
*
379-
* This is useful for contract that want to enforce that calls targeting them were scheduled on the manager,
379+
* This is useful for contracts that want to enforce that calls targeting them were scheduled on the manager,
380380
* with all the verifications that it implies.
381381
*
382382
* Emit a {OperationExecuted} event.

contracts/account/utils/EIP7702Utils.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ library EIP7702Utils {
1212
bytes3 internal constant EIP7702_PREFIX = 0xef0100;
1313

1414
/**
15-
* @dev Returns the address of the delegate if `account` as an EIP-7702 delegation setup, or address(0) otherwise.
15+
* @dev Returns the address of the delegate if `account` has an EIP-7702 delegation setup, or address(0) otherwise.
1616
*/
1717
function fetchDelegate(address account) internal view returns (address) {
1818
bytes23 delegation = bytes23(account.code);

0 commit comments

Comments
 (0)