Skip to content

Commit 692796b

Browse files
author
Docs Syncer
committed
CI: 676a5c7
1 parent 0644418 commit 692796b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/reference/contracts/access/MerkleWhitelisted.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ Note: the branch nodes are sorted numerically.
2525
### onlyWhitelisted
2626

2727
```solidity
28-
modifier onlyWhitelisted(bytes memory data_, bytes32[] calldata merkleProof_)
28+
modifier onlyWhitelisted(bytes memory data_, bytes32[] memory merkleProof_)
2929
```
3030

3131

3232
### onlyWhitelistedUser
3333

3434
```solidity
35-
modifier onlyWhitelistedUser(address user_, bytes32[] calldata merkleProof_)
35+
modifier onlyWhitelistedUser(address user_, bytes32[] memory merkleProof_)
3636
```
3737

3838

@@ -43,7 +43,7 @@ modifier onlyWhitelistedUser(address user_, bytes32[] calldata merkleProof_)
4343
```solidity
4444
function isWhitelisted(
4545
bytes32 leaf_,
46-
bytes32[] calldata merkleProof_
46+
bytes32[] memory merkleProof_
4747
) public view returns (bool)
4848
```
4949

@@ -69,7 +69,7 @@ Return values:
6969
```solidity
7070
function isWhitelistedUser(
7171
address user_,
72-
bytes32[] calldata merkleProof_
72+
bytes32[] memory merkleProof_
7373
) public view returns (bool)
7474
```
7575

0 commit comments

Comments
 (0)