Expand description
ERC-8021 transaction attribution suffixes.
The suffix is schemaData || schemaId (1 byte) || marker (16 bytes) appended to calldata, and
the length of schemaData is read backwards according to schemaId.
Structsยง
- Attribution
- Codes attributed by an ERC-8021 suffix.
- Cbor
Attribution ๐ - Entity codes of a schema 2 attribution.
Constantsยง
- MARKER ๐
- Marker that ends an ERC-8021 attribution suffix.
Functionsยง
- split_
suffix ๐ - Splits a trailing ERC-8021 attribution suffix off the given calldata, returning the calldata before it, the schema id and the schema data.
- strip_
suffix - Returns the given calldata without a trailing ERC-8021 attribution suffix.