@solvprotocol/upgrade-safe-transpiler
Version:
Solidity preprocessor used to generate OpenZeppelin Contracts Upgrade Safe.
20 lines • 535 B
TypeScript
export interface TransformHelper {
read(node: WithSrc): string;
}
export interface WithSrc {
src: string;
}
export interface Bounds {
start: number;
length: number;
}
export interface TransformationText extends Bounds {
kind: string;
text: string;
}
export interface TransformationFunction extends Bounds {
kind: string;
transform: (source: string, helper: TransformHelper) => string;
}
export declare type Transformation = TransformationText | TransformationFunction;
//# sourceMappingURL=type.d.ts.map