@ton/core
Version:
Core TypeScript library that implements low level primitives for TON blockchain.
15 lines (14 loc) • 651 B
TypeScript
/**
* Copyright (c) Whales Corp.
* All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/// <reference types="node" />
import { BitString } from "../BitString";
import { Cell } from "../Cell";
import { CellType } from "../CellType";
export declare function getRefsDescriptor(refs: Cell[], levelMask: number, type: CellType): number;
export declare function getBitsDescriptor(bits: BitString): number;
export declare function getRepr(originalBits: BitString, bits: BitString, refs: Cell[], level: number, levelMask: number, type: CellType): Buffer;