IMetaV1

Git Source

Events

MetaV1

An onchain wrapper to carry arbitrary Rain metadata. Assigns the sender to the metadata so that tooling can easily drop/ignore data from unknown sources. As metadata is about something, the subject MUST be provided.

event MetaV1(address sender, uint256 subject, bytes meta);

Parameters

NameTypeDescription
senderaddressThe msg.sender.
subjectuint256The entity that the metadata is about. MAY be the address of the emitting contract (as uint256) OR anything else. The interpretation of the subject is context specific, so will often be a hash of some data/thing that this metadata is about.
metabytesRain metadata V1 compliant metadata bytes. https://github.com/rainprotocol/specs/blob/main/metadata-v1.md