Skip to content
Lattice

ERC721Init

Git Source

Title: ERC721Init

Author: David Dada <daveproxy80@gmail.com> (https://github.com/dadadave80)

One-shot initializer for a base ERC-721 diamond — seeds name/symbol (and registers IERC721 + IERC721Metadata via ERC-165). Delegatecalled by Diamond.initialize inside the initializing window (so it must NOT open its own pre/postInitializer; the __ERC721_init guard passes because the window is already open). Mirrors the ERC20Init pattern — a first-class production deploy artifact shared by run --broadcast and the facet tests.

Functions

init

function init(string memory name_, string memory symbol_) external;

Parameters

NameTypeDescription
name_string
symbol_string