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

SampleFather

Inherits: Initializable, SampleGramps

Sample base initializable contract that defines a field father and extends from gramps

State Variables

father

uint256 public father;

Functions

initialize

function initialize(string memory _gramps, uint256 _father) public initializer;

__SampleFather_init

function __SampleFather_init(string memory _gramps, uint256 _father) internal onlyInitializing;

__SampleFather_init_unchained

function __SampleFather_init_unchained(uint256 _father) internal onlyInitializing;