@solvprotocol/upgrade-safe-transpiler
Version:
Solidity preprocessor used to generate OpenZeppelin Contracts Upgrade Safe.
12 lines • 592 B
TypeScript
/// <reference types="node" />
import { Transformation, TransformHelper } from './type';
import { Shift } from '../shifts';
interface ApplyResult {
result: Buffer;
shift: Shift;
}
export declare function applyTransformation(t: Transformation, content: Buffer, shifts: Shift[], helper: TransformHelper): ApplyResult;
export declare function split(source: Buffer, start: number, length: number): [Buffer, Buffer, Buffer];
export declare function sortTransformations(transformations: Transformation[], sourcePath: string): Transformation[];
export {};
//# sourceMappingURL=apply.d.ts.map