"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UserContractGen = void 0;
const utils_1 = require("./utils");
class UserContractGen {
    constructor() { }
    gen(schema) {
        let contractName = (0, utils_1.cleanAndCapitalizeFirstLetter)(schema.name);
        let generatedContractName = contractName + "Generated";
        return `` +
            `// SPDX-License-Identifier: UNLICENSED\n` +
            `pragma solidity ^0.8.23;\n` +
            `\n` +
            `import "./${generatedContractName}.sol";\n` +
            `\n` +
            `contract ${contractName} is ${generatedContractName} {\n` +
            `  constructor(address _manager, address _owner) ${generatedContractName}(_manager, _owner) {}\n` +
            `}\n`;
    }
}
exports.UserContractGen = UserContractGen;
