SparseCompactValue
For the complete documentation index, see llms.txt
@midnight-ntwrk/compact-runtime v0.16.0
@midnight-ntwrk/compact-runtime / SparseCompactValue
Type Alias: SparseCompactValue
type SparseCompactValue = {
descriptor: CompactType<unknown>;
sparseType: SparseCompactType;
tag: "compactValue";
};
Compact 값에서 모든 컨트랙트 참조의 위치를 나타내는 데이터 구조입니다.
Properties
descriptor
descriptor: CompactType<unknown>;
AlignedValue를 동일한 값의 TypeScript 표현으로 변환하는 데 사용할 수 있는 디스크립터입니다.
이 디스크립터는 컨트랙트 주소를 포함하는 struct 또는 Vector만 디코딩합니다.
sparseType
sparseType: SparseCompactType;
위 descriptor의 출력에 존재하는 컨트랙트 주소로 탐색하는 방법을 나타내는 데이터 구조입니다.
tag
tag: "compactValue";