Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

GreeterV2

Inherits: Initializable, OwnableUpgradeable

Note: oz-upgrades-from: Greeter

State Variables

greeting

string public greeting;

Functions

constructor

Note: oz-upgrades-unsafe-allow: constructor

constructor();

initialize

function initialize(address initialOwner, string memory _greeting) public initializer;

resetGreeting

function resetGreeting() public reinitializer(2);

setGreeting

function setGreeting(string memory _greeting) public onlyOwner;