IMetaV1
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
| Name | Type | Description |
|---|---|---|
sender | address | The msg.sender. |
subject | uint256 | The 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. |
meta | bytes | Rain metadata V1 compliant metadata bytes. https://github.com/rainprotocol/specs/blob/main/metadata-v1.md |