Expand description
What frontends show for a spot token or a HIP-3 perp: the text setTokenAnnotation and
setPerpAnnotation carry, checked against the lengths the docs give.
Structs§
- Annotation
- A token’s or perp’s annotation: a category, a description, a display name
frontends show instead of the listed name (
Noneto keep the listed name) and up to two keywords searches match against.
Constants§
- MAX_
CATEGORY_ LEN - The longest category, in characters.
- MAX_
DESCRIPTION_ LEN - The longest description, in characters.
- MAX_
DISPLAY_ NAME_ LEN - The longest display name, in characters.
- MAX_
KEYWORDS - The most keywords an annotation takes.
- MAX_
KEYWORD_ LEN - The longest keyword, in characters.