"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConstructorGen = void 0;
const generator_1 = require("../generator");
const utils_1 = require("../utils");
class ConstructorGen {
    gen(schema) {
        let output = `` +
            `constructor(address _manager, address _owner)\n`;
        output += `    Patchwork721("${schema.scopeName}", "${(0, utils_1.capitalizeFirstLetter)(schema.name)}", "${schema.symbol}", _manager, _owner)\n`;
        if (schema.hasLiteRef()) {
            output += `    PatchworkLiteRef()\n`;
        }
        output += `{}\n`;
        return (0, generator_1.ind)(4, output);
    }
}
exports.ConstructorGen = ConstructorGen;
