UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

9 lines (8 loc) 638 B
import ts from 'typescript'; import { Context } from '../../../../Context'; export declare const hasBuffer: (context: Context, node: ts.Node, type: ts.Type) => boolean; export declare const isOnlyBuffer: (context: Context, node: ts.Node, type: ts.Type) => boolean; export declare const isBuffer: (context: Context, node: ts.Node, type: ts.Type) => boolean; export declare const isAddress: (context: Context, node: ts.Node, type: ts.Type) => boolean; export declare const isHash256: (context: Context, node: ts.Node, type: ts.Type) => boolean; export declare const isPublicKey: (context: Context, node: ts.Node, type: ts.Type) => boolean;