"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.writeGeneratedContract = void 0;
const fs_1 = require("fs");
const GENERATED_CONTRACTS_PATH = `${__dirname}/../contracts/generated`;
const writeGeneratedContract = (fileName, content) => {
    (0, fs_1.mkdirSync)(GENERATED_CONTRACTS_PATH, { recursive: true });
    (0, fs_1.writeFileSync)(`${GENERATED_CONTRACTS_PATH}/${fileName}`, content, "utf-8");
};
exports.writeGeneratedContract = writeGeneratedContract;
