Skip to content
Lattice

IERC6900Module

Git Source

Inherits: IERC165

Author: Vendored minimal subset of the ERC-6900 reference implementation

(https://github.com/erc6900/reference-implementation). Upstream license: CC0-1.0.

Base interface every ERC-6900 module implements.

Functions

onInstall

function onInstall(bytes calldata data) external;

Parameters

NameTypeDescription
databytes

onUninstall

function onUninstall(bytes calldata data) external;

Parameters

NameTypeDescription
databytes

moduleId

Unique id in the format "vendor.module.semver"; vendor/module names MUST NOT contain a period.

function moduleId() external view returns (string memory);

Returns

NameTypeDescription
<none>string