IMetaBoardV1
Inherits: IMetaV1
Defines a general purpose contract that anon may call to emit ANY metadata. Anons MAY send garbage and malicious metadata so it is up to tooling to discard any suspect data before use, and generally treat it all as untrusted.
Functions
emitMeta
Emit a single MetaV1 event. Typically this is sufficient for most use
cases as a single MetaV1 event can contain many metas as a single
cbor-seq. Metadata MUST match the metadata V1 specification for Rain
metadata or tooling MAY drop it. IMetaBoardV1
contracts MUST revert any
metadata that does not start with the Rain metadata magic number.
function emitMeta(uint256 subject, bytes calldata meta) external;
Parameters
Name | Type | Description |
---|---|---|
subject | uint256 | As per IMetaV1 event. |
meta | bytes | As per IMetaV1 event. |