ERC20CappedInit
Title: ERC20CappedInit
Author: David Dada <daveproxy80@gmail.com> (https://github.com/dadadave80)
One-shot initializer for the ERC-20 Capped extension — seeds the supply cap and registers IERC20Capped
via ERC-165. Delegatecalled by Diamond.initialize (through MultiInit) inside the initializing window
opened by the diamond, alongside the base ERC20Init; it must NOT open its own pre/postInitializer.
Reverts with IERC20Capped.ERC20InvalidCap when cap_ is zero.
Functions
init
function init(uint256 cap_) external;Parameters
| Name | Type | Description |
|---|---|---|
| cap_ | uint256 |