scrypt-ts
Version:
A toolset for building sCrypt smart contract applications on Bitcoin SV network written in typescript.
36 lines (35 loc) • 656 B
TypeScript
/**
* @ignore
*/
export interface LineAndCharacter {
/** 0-based. */
line: number;
character: number;
}
/**
* @ignore
*/
export interface Range {
fileName: string;
start: LineAndCharacter;
end: LineAndCharacter;
}
/**
* @ignore
* Errors that may occur when the transpiler translates sCrypt contracts.
*/
export declare class TranspileError {
message: string;
srcRange: Range;
constructor(message: string, srcRange: Range);
}
/**
* @ignore
*/
export type TransformationResult = {
success: boolean;
errors: TranspileError[];
scryptfile: string;
sourceMapFile: string;
ctxMethods: string[];
};