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