1 |
|
2 | import { OPS } from './ops';
|
3 | import { Stack } from './payments';
|
4 | import * as scriptNumber from './script_number';
|
5 | import * as scriptSignature from './script_signature';
|
6 | export { OPS };
|
7 | export declare function isPushOnly(value: Stack): boolean;
|
8 | export declare function countNonPushOnlyOPs(value: Stack): number;
|
9 | export declare function compile(chunks: Buffer | Stack): Buffer;
|
10 | export declare function decompile(buffer: Buffer | Array<number | Buffer>): Array<number | Buffer> | null;
|
11 | export declare function toASM(chunks: Buffer | Array<number | Buffer>): string;
|
12 | export declare function fromASM(asm: string): Buffer;
|
13 | export declare function toStack(chunks: Buffer | Array<number | Buffer>): Buffer[];
|
14 | export declare function isCanonicalPubKey(buffer: Buffer): boolean;
|
15 | export declare function isDefinedHashType(hashType: number): boolean;
|
16 | export declare function isCanonicalScriptSignature(buffer: Buffer): boolean;
|
17 | export declare const number: typeof scriptNumber;
|
18 | export declare const signature: typeof scriptSignature;
|