UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

15 lines (14 loc) 632 B
import ts from 'typescript'; import { ScriptBuilder } from '../../sb'; import { VisitOptions } from '../../types'; import { Helper } from '../Helper'; declare type MethodType = ts.MethodDeclaration | ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.ConstructorDeclaration; export interface InvokeSmartContractMethodHelperOptions { readonly method: MethodType; } export declare class InvokeSmartContractMethodHelper extends Helper { private readonly method; constructor({ method }: InvokeSmartContractMethodHelperOptions); emit(sb: ScriptBuilder, node: ts.Node, optionsIn: VisitOptions): void; } export {};