✏️ Code CompletionSO Solidity Hard⚡+35 XP
Custom Modifier
Complete the modifier to restrict access to the owner.
✏️ Fill in the blank
modifier onlyOwner() {
require(msg.sender == owner, "Not owner");
___;
}Complete the modifier to restrict access to the owner.
modifier onlyOwner() {
require(msg.sender == owner, "Not owner");
___;
}