Skip to content

Commit 92033fc

Browse files
arr00Olexandr88AmxxXZSt4ncegonzaotc
authored
Group Typo Fixes 4 (#5750)
Signed-off-by: sellskin <[email protected]> Co-authored-by: Olexandr88 <[email protected]> Co-authored-by: Hadrien Croubois <[email protected]> Co-authored-by: Maxim Tiron <[email protected]> Co-authored-by: Gonzalo Othacehe <[email protected]> Co-authored-by: sellskin <[email protected]> Co-authored-by: Micke <[email protected]> Co-authored-by: DeFi Warlock <[email protected]> Co-authored-by: Antonio Viggiano <[email protected]> Co-authored-by: crStiv <[email protected]> Co-authored-by: Torprius <[email protected]> Co-authored-by: ernestognw <[email protected]> Co-authored-by: Maximilian Hubert <[email protected]> Co-authored-by: Gengar <[email protected]> Co-authored-by: bigbear <[email protected]> Co-authored-by: Ragnar <[email protected]> Co-authored-by: destinyae <[email protected]> Co-authored-by: AJoX <[email protected]> Co-authored-by: Anıl <[email protected]> Co-authored-by: Eric <[email protected]> Co-authored-by: fifalodm <[email protected]> Co-authored-by: Galoretka <[email protected]> Co-authored-by: radik878 <[email protected]> Co-authored-by: GarmashAlex <[email protected]> Co-authored-by: VolodymyrBg <[email protected]> Co-authored-by: MozirDmitriy <[email protected]> Co-authored-by: Fibonacci747 <[email protected]> Co-authored-by: sashass1315 <[email protected]> Co-authored-by: strmfos <[email protected]> Co-authored-by: Forostovec <[email protected]> Co-authored-by: emmmm <[email protected]> Co-authored-by: Snezhkko <[email protected]> Co-authored-by: Shivang <[email protected]>
1 parent 7947cec commit 92033fc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+96
-90
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

1616
:mage: **Not sure how to get started?** Check out [Contracts Wizard](https://wizard.openzeppelin.com/) — an interactive smart contract generator.
1717

18-
:building_construction: **Want to scale your decentralized application?** Check out [OpenZeppelin Defender](https://openzeppelin.com/defender) — a mission-critical developer security platform to code, audit, deploy, monitor, and operate with confidence.
19-
2018
> [!IMPORTANT]
2119
> OpenZeppelin Contracts uses semantic versioning to communicate backwards compatibility of its API and storage layout. For upgradeable contracts, the storage layout of different major versions should be assumed incompatible, for example, it is unsafe to upgrade from 4.9.3 to 5.0.0. Learn more at [Backwards Compatibility](https://docs.openzeppelin.com/contracts/backwards-compatibility).
2220
@@ -42,7 +40,7 @@ $ npm install @openzeppelin/contracts
4240
$ forge install OpenZeppelin/openzeppelin-contracts
4341
```
4442

45-
Add `@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/` in `remappings.txt.`
43+
Add `@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/` in `remappings.txt`.
4644

4745
### Usage
4846

@@ -68,7 +66,7 @@ To keep your system secure, you should **always** use the installed code as-is,
6866
The guides in the [documentation site](https://docs.openzeppelin.com/contracts) will teach about different concepts, and how to use the related contracts that OpenZeppelin Contracts provides:
6967

7068
* [Access Control](https://docs.openzeppelin.com/contracts/access-control): decide who can perform each of the actions on your system.
71-
* [Tokens](https://docs.openzeppelin.com/contracts/tokens): create tradeable assets or collectives, and distribute them via [Crowdsales](https://docs.openzeppelin.com/contracts/crowdsales).
69+
* [Tokens](https://docs.openzeppelin.com/contracts/tokens): create tradeable assets or collectibles for popular ERC standards like ERC-20, ERC-721, ERC-1155, and ERC-6909.
7270
* [Utilities](https://docs.openzeppelin.com/contracts/utilities): generic useful tools including non-overflowing math, signature verification, and trustless paying systems.
7371

7472
The [full API](https://docs.openzeppelin.com/contracts/api/token/ERC20) is also thoroughly documented, and serves as a great reference when developing your smart contract application. You can also ask for help or follow Contracts' development in the [community forum](https://forum.openzeppelin.com).

contracts/access/extensions/AccessControlDefaultAdminRules.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {AccessControl, IAccessControl} from "../AccessControl.sol";
88
import {SafeCast} from "../../utils/math/SafeCast.sol";
99
import {Math} from "../../utils/math/Math.sol";
1010
import {IERC5313} from "../../interfaces/IERC5313.sol";
11-
import {IERC165} from "../../utils/introspection/ERC165.sol";
11+
import {IERC165} from "../../utils/introspection/IERC165.sol";
1212

1313
/**
1414
* @dev Extension of {AccessControl} that allows specifying special rules to manage
@@ -357,14 +357,14 @@ abstract contract AccessControlDefaultAdminRules is IAccessControlDefaultAdminRu
357357
///
358358

359359
/**
360-
* @dev Defines if an `schedule` is considered set. For consistency purposes.
360+
* @dev Defines if a `schedule` is considered set. For consistency purposes.
361361
*/
362362
function _isScheduleSet(uint48 schedule) private pure returns (bool) {
363363
return schedule != 0;
364364
}
365365

366366
/**
367-
* @dev Defines if an `schedule` is considered passed. For consistency purposes.
367+
* @dev Defines if a `schedule` is considered passed. For consistency purposes.
368368
*/
369369
function _hasSchedulePassed(uint48 schedule) private view returns (bool) {
370370
return schedule < block.timestamp;

contracts/access/extensions/IAccessControlDefaultAdminRules.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ interface IAccessControlDefaultAdminRules is IAccessControl {
182182
* When the {defaultAdminDelay} is scheduled to be increased, it goes into effect after the new delay has passed with
183183
* the purpose of giving enough time for reverting any accidental change (i.e. using milliseconds instead of seconds)
184184
* that may lock the contract. However, to avoid excessive schedules, the wait is capped by this function and it can
185-
* be overrode for a custom {defaultAdminDelay} increase scheduling.
185+
* be overridden for a custom {defaultAdminDelay} increase scheduling.
186186
*
187187
* IMPORTANT: Make sure to add a reasonable amount of time while overriding this value, otherwise,
188188
* there's a risk of setting a high new delay that goes into effect almost immediately without the

contracts/access/manager/AccessManager.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ contract AccessManager is Context, Multicall, IAccessManager {
6969
bool closed;
7070
}
7171

72-
// Structure that stores the details for a role/account pair. This structures fit into a single slot.
72+
// Structure that stores the details for a role/account pair. This structure fits into a single slot.
7373
struct Access {
7474
// Timepoint at which the user gets the permission.
7575
// If this is either 0 or in the future, then the role permission is not available.

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/extensions/draft-ERC7821.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {Account} from "../Account.sol";
1010
/**
1111
* @dev Minimal batch executor following ERC-7821.
1212
*
13-
* Only supports supports single batch mode (`0x01000000000000000000`). Does not support optional "opData".
13+
* Only supports single batch mode (`0x01000000000000000000`). Does not support optional "opData".
1414
*
1515
* @custom:stateless
1616
*/

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);

contracts/finance/VestingWallet.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ contract VestingWallet is Context, Ownable {
106106
}
107107

108108
/**
109-
* @dev Release the native token (ether) that have already vested.
109+
* @dev Release the native tokens (ether) that have already vested.
110110
*
111111
* Emits a {EtherReleased} event.
112112
*/

contracts/governance/Governor.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ abstract contract Governor is Context, ERC165, EIP712, Nonces, IGovernor, IERC72
659659
}
660660

661661
/**
662-
* @dev Address through which the governor executes action. Will be overloaded by module that execute actions
662+
* @dev Address through which the governor executes action. Will be overloaded by module that executes actions
663663
* through another contract such as a timelock.
664664
*/
665665
function _executor() internal view virtual returns (address) {

contracts/governance/IGovernor.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ interface IGovernor is IERC165, IERC6372 {
334334
function hasVoted(uint256 proposalId, address account) external view returns (bool);
335335

336336
/**
337-
* @dev Create a new proposal. Vote start after a delay specified by {IGovernor-votingDelay} and lasts for a
337+
* @dev Create a new proposal. Vote starts after a delay specified by {IGovernor-votingDelay} and lasts for a
338338
* duration specified by {IGovernor-votingPeriod}.
339339
*
340340
* Emits a {ProposalCreated} event.

0 commit comments

Comments
 (0)