"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __param = (this && this.__param) || function (paramIndex, decorator) {
    return function (target, key) { decorator(target, key, paramIndex); }
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PickleContractFactory = void 0;
const common_1 = require("@nestjs/common");
const app_toolkit_interface_1 = require("../../../app-toolkit/app-toolkit.interface");
const contracts_1 = require("../../../contract/contracts");
const ethers_1 = require("./ethers");
const ethers_2 = require("./ethers");
const ethers_3 = require("./ethers");
const ethers_4 = require("./ethers");
const ethers_5 = require("./ethers");
const ethers_6 = require("./ethers");
const ethers_7 = require("./ethers");
const ethers_8 = require("./ethers");
const ethers_9 = require("./ethers");
const ethers_10 = require("./ethers");
const ethers_11 = require("./ethers");
const ethers_12 = require("./ethers");
let PickleContractFactory = class PickleContractFactory extends contracts_1.ContractFactory {
    constructor(appToolkit) {
        super((network) => appToolkit.getNetworkProvider(network));
        this.appToolkit = appToolkit;
    }
    pickleController({ address, network }) {
        return ethers_1.PickleController__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    pickleJar({ address, network }) {
        return ethers_2.PickleJar__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    pickleJarMasterchef({ address, network }) {
        return ethers_3.PickleJarMasterchef__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    pickleJarSingleRewardStaking({ address, network }) {
        return ethers_4.PickleJarSingleRewardStaking__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    pickleJarUniv3({ address, network }) {
        return ethers_5.PickleJarUniv3__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    pickleMiniChefV2({ address, network }) {
        return ethers_6.PickleMiniChefV2__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    pickleRegistry({ address, network }) {
        return ethers_7.PickleRegistry__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    pickleRewarder({ address, network }) {
        return ethers_8.PickleRewarder__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    pickleStrategyUniv3({ address, network }) {
        return ethers_9.PickleStrategyUniv3__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    pickleVotingEscrow({ address, network }) {
        return ethers_10.PickleVotingEscrow__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    pickleVotingEscrowReward({ address, network }) {
        return ethers_11.PickleVotingEscrowReward__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    pickleVotingEscrowRewardV2({ address, network }) {
        return ethers_12.PickleVotingEscrowRewardV2__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
};
PickleContractFactory = __decorate([
    (0, common_1.Injectable)(),
    __param(0, (0, common_1.Inject)(app_toolkit_interface_1.APP_TOOLKIT)),
    __metadata("design:paramtypes", [Object])
], PickleContractFactory);
exports.PickleContractFactory = PickleContractFactory;
//# sourceMappingURL=index.js.map