We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
5dc1097
1 parent 5ee29c0 commit b2ad308Copy full SHA for b2ad308
docs/reference/contracts/utils/ADeployerGuard.md
@@ -18,15 +18,17 @@ integrating a second validation step restricted to the deployer only.
18
## Usage example:
19
20
```
21
-contract ProtectedImpl is ADeployerGuard {
+contract ProtectedERC20 is ADeployerGuard, ERC20 {
22
constructor() ADeployerGuard(msg.sender) {}
23
24
- function __ERC20_init(
+ function __ProtectedERC20_init(
25
string memory name_,
26
string memory symbol_,
27
) external initializer onlyDeployer {
28
__ERC20_init(name_, symbol_);
29
}
30
+
31
+ ...
32
33
34
## Errors info
0 commit comments