/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { BaseJumpRateModelV2 } from "../BaseJumpRateModelV2"; export class BaseJumpRateModelV2__factory { static connect( address: string, signerOrProvider: Signer | Provider ): BaseJumpRateModelV2 { return new Contract(address, _abi, signerOrProvider) as BaseJumpRateModelV2; } } const _abi = [ { 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: "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: [ { 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: [ { 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: "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", }, ];