ERC20Init
Title: ERC20Init
Author: David Dada <daveproxy80@gmail.com> (https://github.com/dadadave80)
One-shot initializer for a base ERC-20 diamond — seeds name/symbol (and registers IERC20 via
ERC-165). Delegatecalled by Diamond.initialize inside the initializing window (so it must NOT
open its own pre/postInitializer; the __ERC20_init guard passes because the window is already
open). Companion to the AccountInit pattern — a first-class production deploy artifact.
Functions
init
function init(string memory name_, string memory symbol_) external;Parameters
| Name | Type | Description |
|---|---|---|
| name_ | string | |
| symbol_ | string |