"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
exports.__esModule = true;
exports.BaseJumpRateModelV2__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        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"
            },
            {
                internalType: "address",
                name: "owner_",
                type: "address"
            },
        ],
        payable: false,
        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"
    },
    {
        constant: true,
        inputs: [],
        name: "baseRatePerBlock",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "blocksPerYear",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        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"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "jumpMultiplierPerBlock",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "kink",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "multiplierPerBlock",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "owner",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: false,
        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: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: true,
        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"
            },
        ],
        payable: false,
        stateMutability: "pure",
        type: "function"
    },
];
var BaseJumpRateModelV2__factory = /** @class */ (function () {
    function BaseJumpRateModelV2__factory() {
    }
    BaseJumpRateModelV2__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    BaseJumpRateModelV2__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    BaseJumpRateModelV2__factory.abi = _abi;
    return BaseJumpRateModelV2__factory;
}());
exports.BaseJumpRateModelV2__factory = BaseJumpRateModelV2__factory;
//# sourceMappingURL=BaseJumpRateModelV2__factory.js.map