"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.CurveContractFactory = 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");
const ethers_13 = require("./ethers");
const ethers_14 = require("./ethers");
const ethers_15 = require("./ethers");
const ethers_16 = require("./ethers");
const ethers_17 = require("./ethers");
const ethers_18 = require("./ethers");
const ethers_19 = require("./ethers");
const ethers_20 = require("./ethers");
let CurveContractFactory = class CurveContractFactory extends contracts_1.ContractFactory {
    constructor(appToolkit) {
        super((network) => appToolkit.getNetworkProvider(network));
        this.appToolkit = appToolkit;
    }
    curveAddressResolver({ address, network }) {
        return ethers_1.CurveAddressResolver__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveChildLiquidityGauge({ address, network }) {
        return ethers_2.CurveChildLiquidityGauge__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveChildLiquidityGaugeFactory({ address, network }) {
        return ethers_3.CurveChildLiquidityGaugeFactory__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveController({ address, network }) {
        return ethers_4.CurveController__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveCryptoFactory({ address, network }) {
        return ethers_5.CurveCryptoFactory__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveCryptoRegistry({ address, network }) {
        return ethers_6.CurveCryptoRegistry__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveDoubleGauge({ address, network }) {
        return ethers_7.CurveDoubleGauge__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveFactory({ address, network }) {
        return ethers_8.CurveFactory__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveFactoryPoolV2({ address, network }) {
        return ethers_9.CurveFactoryPoolV2__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveGauge({ address, network }) {
        return ethers_10.CurveGauge__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveGaugeV2({ address, network }) {
        return ethers_11.CurveGaugeV2__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveNGauge({ address, network }) {
        return ethers_12.CurveNGauge__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curvePool({ address, network }) {
        return ethers_13.CurvePool__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curvePoolLegacy({ address, network }) {
        return ethers_14.CurvePoolLegacy__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveRewardsOnlyGauge({ address, network }) {
        return ethers_15.CurveRewardsOnlyGauge__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveStableFactory({ address, network }) {
        return ethers_16.CurveStableFactory__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveStableRegistry({ address, network }) {
        return ethers_17.CurveStableRegistry__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveVestingEscrow({ address, network }) {
        return ethers_18.CurveVestingEscrow__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveVotingEscrow({ address, network }) {
        return ethers_19.CurveVotingEscrow__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
    curveVotingEscrowReward({ address, network }) {
        return ethers_20.CurveVotingEscrowReward__factory.connect(address, this.appToolkit.getNetworkProvider(network));
    }
};
CurveContractFactory = __decorate([
    (0, common_1.Injectable)(),
    __param(0, (0, common_1.Inject)(app_toolkit_interface_1.APP_TOOLKIT)),
    __metadata("design:paramtypes", [Object])
], CurveContractFactory);
exports.CurveContractFactory = CurveContractFactory;
//# sourceMappingURL=index.js.map