PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@stacks/transactions/dist/clarity
Просмотр файла: clarityValue.d.ts
import { BooleanCV, BufferCV, IntCV, UIntCV, StandardPrincipalCV, ContractPrincipalCV, ResponseErrorCV, ResponseOkCV, ListCV, TupleCV, StringAsciiCV, StringUtf8CV, NoneCV, SomeCV } from '.';
export declare enum ClarityType {
Int = 0,
UInt = 1,
Buffer = 2,
BoolTrue = 3,
BoolFalse = 4,
PrincipalStandard = 5,
PrincipalContract = 6,
ResponseOk = 7,
ResponseErr = 8,
OptionalNone = 9,
OptionalSome = 10,
List = 11,
Tuple = 12,
StringASCII = 13,
StringUTF8 = 14
}
export declare type ClarityValue = BooleanCV | BufferCV | IntCV | UIntCV | StandardPrincipalCV | ContractPrincipalCV | ResponseErrorCV | ResponseOkCV | NoneCV | SomeCV | ListCV | TupleCV | StringAsciiCV | StringUtf8CV;
export declare function cvToString(val: ClarityValue, encoding?: 'tryAscii' | 'hex'): string;
export declare function cvToValue(val: ClarityValue, strictJsonCompat?: boolean): any;
export declare function cvToJSON(val: ClarityValue): any;
export declare function getCVTypeString(val: ClarityValue): string;
Выполнить команду
Для локальной разработки. Не используйте в интернете!