@midnight-ntwrk/compact-runtime v0.7.0 • Readme | API
@midnight-ntwrk/compact-runtime v0.7.0 / SparseCompactMapADT
Type alias: SparseCompactMapADT
type SparseCompactMapADT: {
keyType: SparseCompactValue;
tag: "map";
valueType: SparseCompactADT | SparseCompactValue;
};
A data structure indicating the locations of all contract references in a Compact Map
ADT.
Type declaration
keyType?
optional keyType: SparseCompactValue;
A data structure indicating the locations of all contract references in the Compact values that are the keys of the
outer Map
ADT.
tag
tag: "map";
valueType?
optional valueType: SparseCompactADT | SparseCompactValue;
A data structure indicating the locations of all contract references in the Compact entities that are the values of the
outer Map
ADT. Since the values of a Map
ADT may be either Compact values or other Map
ADTs, we take the union
of the corresponding data structures.