Skip to content

Commit 34d0e99

Browse files
tweak back
1 parent 318861c commit 34d0e99

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/zkEVM/architecture/high-level/smart-contracts/api/lib/PolygonAccessControlUpgradeable.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
A contract that inherits `AccessControlUpgradeable` from Openzeppelin, but with the following modifications:
22

3-
- Deleted `ERC165Upgradeable` dependencies to save us the "gap" variables and let us have consistent storage.
4-
- Added the legacy `Owner` variable, to be consistent with the previous.
5-
- Added custom errors.
6-
- Replaced `_msgSender()` with `msg.sender`.
3+
- Deletes `ERC165Upgradeable` dependencies to save us the "gap" variables and let us have consistent storage.
4+
- Adds the legacy `Owner` variable, to be consistent with the previous.
5+
- Adds custom errors.
6+
- Replaces `_msgSender()` with `msg.sender`.
77

88
## Functions
99

@@ -59,7 +59,7 @@ To change a role's admin, use `_setRoleAdmin`.
5959

6060
### `grantRole`
6161

62-
Grants `role` to `account`. If `account` had not been granted `role`, it emits a `RoleGranted` event.
62+
Grants `role` to `account`. If `account` has not been granted `role`, it emits a `RoleGranted` event.
6363

6464
```solidity
6565
function grantRole(
@@ -103,7 +103,7 @@ Emits a `RoleRevoked`event if the calling account had its `role` revoked.
103103

104104
Grants `role` to an `account`.
105105

106-
Emits a `RoleGranted` event if `account` had not been granted `role` before.
106+
Emits a `RoleGranted` event if `account` has not been granted `role` before.
107107
Note that unlike `grantRole`, this function doesn't perform any checks on the calling account.
108108

109109
May emit a `RoleGranted` event.

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ nav:
526526
- Umbrella: tools/oracles/umbrella.md
527527
- Wallets:
528528
- Getting started: tools/wallets/getting-started.md
529-
- Polygon portal: tools/wallets/portal.md
529+
- Polygon Portal: tools/wallets/portal.md
530530
- MetaMask:
531531
- Overview: tools/wallets/metamask/index.md
532532
- Create MetaMask wallet: https://support.metamask.io/getting-started/getting-started-with-metamask/

0 commit comments

Comments
 (0)