hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
7 lines • 343 B
JavaScript
import { readUtf8File } from "@nomicfoundation/hardhat-utils/fs";
export function readSourceFileFactory(hooks) {
return async (factoryAbsPath) => {
return hooks.runHandlerChain("solidity", "readSourceFile", [factoryAbsPath], async (_context, absPath) => readUtf8File(absPath));
};
}
//# sourceMappingURL=read-source-file.js.map