UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

13 lines (12 loc) 553 B
import { ABI } from '@neo-one/client-common'; import { ContractRegister } from '@neo-one/client-full-core'; import { OmitStrict } from '@neo-one/utils'; import ts from 'typescript'; import { Context } from '../Context'; import { ContractInfo } from '../contract'; export interface SmartContractInfo { readonly contractInfo: ContractInfo | undefined; readonly abi: ABI; readonly contract: OmitStrict<ContractRegister, 'script'>; } export declare const getSmartContractInfo: (context: Context, sourceFile: ts.SourceFile) => SmartContractInfo;