"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        if (typeof b !== "function" && b !== null)
            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
exports.__esModule = true;
exports.DAIInterestRateModelV3__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [
            {
                internalType: "uint256",
                name: "blocksPerYearOnChain",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "jumpMultiplierPerYear",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "kink_",
                type: "uint256"
            },
            {
                internalType: "address",
                name: "pot_",
                type: "address"
            },
            {
                internalType: "address",
                name: "jug_",
                type: "address"
            },
            {
                internalType: "address",
                name: "owner_",
                type: "address"
            },
        ],
        stateMutability: "nonpayable",
        type: "constructor"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "baseRatePerBlock",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "multiplierPerBlock",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "jumpMultiplierPerBlock",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "kink",
                type: "uint256"
            },
        ],
        name: "NewInterestParams",
        type: "event"
    },
    {
        inputs: [],
        name: "assumedOneMinusReserveFactorMantissa",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "baseRatePerBlock",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "blocksPerYear",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "dsrPerBlock",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "gapPerBlock",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "cash",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "borrows",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "reserves",
                type: "uint256"
            },
        ],
        name: "getBorrowRate",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "cash",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "borrows",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "reserves",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "reserveFactorMantissa",
                type: "uint256"
            },
        ],
        name: "getSupplyRate",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "isInterestRateModel",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "jumpMultiplierPerBlock",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "kink",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "multiplierPerBlock",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "owner",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "poke",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "baseRatePerYear",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "multiplierPerYear",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "jumpMultiplierPerYear",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "kink_",
                type: "uint256"
            },
        ],
        name: "updateJumpRateModel",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "blocksPerYearOnChain",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "baseRatePerYear",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "gapPerYear",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "jumpMultiplierPerYear",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "kink_",
                type: "uint256"
            },
        ],
        name: "updateJumpRateModel",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "cash",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "borrows",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "reserves",
                type: "uint256"
            },
        ],
        name: "utilizationRate",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "pure",
        type: "function"
    },
];
var _bytecode = " ";
var DAIInterestRateModelV3__factory = /** @class */ (function (_super) {
    __extends(DAIInterestRateModelV3__factory, _super);
    function DAIInterestRateModelV3__factory() {
        var args = [];
        for (var _i = 0; _i < arguments.length; _i++) {
            args[_i] = arguments[_i];
        }
        var _this = this;
        if (args.length === 1) {
            _this = _super.call(this, _abi, _bytecode, args[0]) || this;
        }
        else {
            _this = _super.apply(this, args) || this;
        }
        return _this;
    }
    DAIInterestRateModelV3__factory.prototype.deploy = function (blocksPerYearOnChain, jumpMultiplierPerYear, kink_, pot_, jug_, owner_, overrides) {
        return _super.prototype.deploy.call(this, blocksPerYearOnChain, jumpMultiplierPerYear, kink_, pot_, jug_, owner_, overrides || {});
    };
    DAIInterestRateModelV3__factory.prototype.getDeployTransaction = function (blocksPerYearOnChain, jumpMultiplierPerYear, kink_, pot_, jug_, owner_, overrides) {
        return _super.prototype.getDeployTransaction.call(this, blocksPerYearOnChain, jumpMultiplierPerYear, kink_, pot_, jug_, owner_, overrides || {});
    };
    DAIInterestRateModelV3__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    DAIInterestRateModelV3__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    DAIInterestRateModelV3__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    DAIInterestRateModelV3__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    DAIInterestRateModelV3__factory.bytecode = _bytecode;
    DAIInterestRateModelV3__factory.abi = _abi;
    return DAIInterestRateModelV3__factory;
}(ethers_1.ContractFactory));
exports.DAIInterestRateModelV3__factory = DAIInterestRateModelV3__factory;
//# sourceMappingURL=DAIInterestRateModelV3__factory.js.map