UNPKG

@ton3/liteclient

Version:
13 lines (12 loc) 554 B
import { Builder, Cell, Slice } from 'ton3-core'; export type StackValue = null | bigint | number | Cell | Slice | Builder | StackValue[]; export declare class Stack { static serialize(values: StackValue[]): Cell; private static serializeStackList; private static serializeStackValue; static deserialize<S extends StackValue[] = StackValue[]>(cell: Cell): S; private static deserializeStackList; private static deserializeStackValue; private static deserializeStackValueSlice; private static deserializeStackValueTuple; }