Solidity: Constructors
A constructor is an optional function that is executed upon contract creation.
Here are examples of how to pass arguments to constructors.
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.3;
// Base contract X
contract X {
string public name...
blog.michaeltech.xyz1 min read