Skip to content

Commit b2ad308

Browse files
author
Docs Syncer
committed
CI: 5dc1097
1 parent 5ee29c0 commit b2ad308

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/reference/contracts/utils/ADeployerGuard.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,17 @@ integrating a second validation step restricted to the deployer only.
1818
## Usage example:
1919

2020
```
21-
contract ProtectedImpl is ADeployerGuard {
21+
contract ProtectedERC20 is ADeployerGuard, ERC20 {
2222
constructor() ADeployerGuard(msg.sender) {}
2323
24-
function __ERC20_init(
24+
function __ProtectedERC20_init(
2525
string memory name_,
2626
string memory symbol_,
2727
) external initializer onlyDeployer {
2828
__ERC20_init(name_, symbol_);
2929
}
30+
31+
...
3032
}
3133
```
3234
## Errors info

0 commit comments

Comments
 (0)