/* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ import {ethers, EventFilter, Signer, BigNumber, BigNumberish, PopulatedTransaction} from 'ethers'; import {Contract, ContractTransaction, Overrides, CallOverrides} from '@ethersproject/contracts'; import {BytesLike} from '@ethersproject/bytes'; import {Listener, Provider} from '@ethersproject/providers'; import {FunctionFragment, EventFragment, Result} from '@ethersproject/abi'; interface LendingRateOracleInterface extends ethers.utils.Interface { functions: { 'getMarketBorrowRate(address)': FunctionFragment; 'getMarketLiquidityRate(address)': FunctionFragment; 'owner()': FunctionFragment; 'renounceOwnership()': FunctionFragment; 'setMarketBorrowRate(address,uint256)': FunctionFragment; 'setMarketLiquidityRate(address,uint256)': FunctionFragment; 'transferOwnership(address)': FunctionFragment; }; encodeFunctionData(functionFragment: 'getMarketBorrowRate', values: [string]): string; encodeFunctionData(functionFragment: 'getMarketLiquidityRate', values: [string]): string; encodeFunctionData(functionFragment: 'owner', values?: undefined): string; encodeFunctionData(functionFragment: 'renounceOwnership', values?: undefined): string; encodeFunctionData( functionFragment: 'setMarketBorrowRate', values: [string, BigNumberish] ): string; encodeFunctionData( functionFragment: 'setMarketLiquidityRate', values: [string, BigNumberish] ): string; encodeFunctionData(functionFragment: 'transferOwnership', values: [string]): string; decodeFunctionResult(functionFragment: 'getMarketBorrowRate', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'getMarketLiquidityRate', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'renounceOwnership', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'setMarketBorrowRate', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'setMarketLiquidityRate', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result; events: { 'OwnershipTransferred(address,address)': EventFragment; }; getEvent(nameOrSignatureOrTopic: 'OwnershipTransferred'): EventFragment; } export class LendingRateOracle extends Contract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; on(event: EventFilter | string, listener: Listener): this; once(event: EventFilter | string, listener: Listener): this; addListener(eventName: EventFilter | string, listener: Listener): this; removeAllListeners(eventName: EventFilter | string): this; removeListener(eventName: any, listener: Listener): this; interface: LendingRateOracleInterface; functions: { getMarketBorrowRate( _asset: string, overrides?: CallOverrides ): Promise<{ 0: BigNumber; }>; 'getMarketBorrowRate(address)'( _asset: string, overrides?: CallOverrides ): Promise<{ 0: BigNumber; }>; getMarketLiquidityRate( _asset: string, overrides?: CallOverrides ): Promise<{ 0: BigNumber; }>; 'getMarketLiquidityRate(address)'( _asset: string, overrides?: CallOverrides ): Promise<{ 0: BigNumber; }>; owner( overrides?: CallOverrides ): Promise<{ 0: string; }>; 'owner()'( overrides?: CallOverrides ): Promise<{ 0: string; }>; renounceOwnership(overrides?: Overrides): Promise; 'renounceOwnership()'(overrides?: Overrides): Promise; setMarketBorrowRate( _asset: string, _rate: BigNumberish, overrides?: Overrides ): Promise; 'setMarketBorrowRate(address,uint256)'( _asset: string, _rate: BigNumberish, overrides?: Overrides ): Promise; setMarketLiquidityRate( _asset: string, _rate: BigNumberish, overrides?: Overrides ): Promise; 'setMarketLiquidityRate(address,uint256)'( _asset: string, _rate: BigNumberish, overrides?: Overrides ): Promise; transferOwnership(newOwner: string, overrides?: Overrides): Promise; 'transferOwnership(address)'( newOwner: string, overrides?: Overrides ): Promise; }; getMarketBorrowRate(_asset: string, overrides?: CallOverrides): Promise; 'getMarketBorrowRate(address)'(_asset: string, overrides?: CallOverrides): Promise; getMarketLiquidityRate(_asset: string, overrides?: CallOverrides): Promise; 'getMarketLiquidityRate(address)'(_asset: string, overrides?: CallOverrides): Promise; owner(overrides?: CallOverrides): Promise; 'owner()'(overrides?: CallOverrides): Promise; renounceOwnership(overrides?: Overrides): Promise; 'renounceOwnership()'(overrides?: Overrides): Promise; setMarketBorrowRate( _asset: string, _rate: BigNumberish, overrides?: Overrides ): Promise; 'setMarketBorrowRate(address,uint256)'( _asset: string, _rate: BigNumberish, overrides?: Overrides ): Promise; setMarketLiquidityRate( _asset: string, _rate: BigNumberish, overrides?: Overrides ): Promise; 'setMarketLiquidityRate(address,uint256)'( _asset: string, _rate: BigNumberish, overrides?: Overrides ): Promise; transferOwnership(newOwner: string, overrides?: Overrides): Promise; 'transferOwnership(address)'( newOwner: string, overrides?: Overrides ): Promise; callStatic: { getMarketBorrowRate(_asset: string, overrides?: CallOverrides): Promise; 'getMarketBorrowRate(address)'(_asset: string, overrides?: CallOverrides): Promise; getMarketLiquidityRate(_asset: string, overrides?: CallOverrides): Promise; 'getMarketLiquidityRate(address)'( _asset: string, overrides?: CallOverrides ): Promise; owner(overrides?: CallOverrides): Promise; 'owner()'(overrides?: CallOverrides): Promise; renounceOwnership(overrides?: CallOverrides): Promise; 'renounceOwnership()'(overrides?: CallOverrides): Promise; setMarketBorrowRate( _asset: string, _rate: BigNumberish, overrides?: CallOverrides ): Promise; 'setMarketBorrowRate(address,uint256)'( _asset: string, _rate: BigNumberish, overrides?: CallOverrides ): Promise; setMarketLiquidityRate( _asset: string, _rate: BigNumberish, overrides?: CallOverrides ): Promise; 'setMarketLiquidityRate(address,uint256)'( _asset: string, _rate: BigNumberish, overrides?: CallOverrides ): Promise; transferOwnership(newOwner: string, overrides?: CallOverrides): Promise; 'transferOwnership(address)'(newOwner: string, overrides?: CallOverrides): Promise; }; filters: { OwnershipTransferred(previousOwner: string | null, newOwner: string | null): EventFilter; }; estimateGas: { getMarketBorrowRate(_asset: string, overrides?: CallOverrides): Promise; 'getMarketBorrowRate(address)'(_asset: string, overrides?: CallOverrides): Promise; getMarketLiquidityRate(_asset: string, overrides?: CallOverrides): Promise; 'getMarketLiquidityRate(address)'( _asset: string, overrides?: CallOverrides ): Promise; owner(overrides?: CallOverrides): Promise; 'owner()'(overrides?: CallOverrides): Promise; renounceOwnership(overrides?: Overrides): Promise; 'renounceOwnership()'(overrides?: Overrides): Promise; setMarketBorrowRate( _asset: string, _rate: BigNumberish, overrides?: Overrides ): Promise; 'setMarketBorrowRate(address,uint256)'( _asset: string, _rate: BigNumberish, overrides?: Overrides ): Promise; setMarketLiquidityRate( _asset: string, _rate: BigNumberish, overrides?: Overrides ): Promise; 'setMarketLiquidityRate(address,uint256)'( _asset: string, _rate: BigNumberish, overrides?: Overrides ): Promise; transferOwnership(newOwner: string, overrides?: Overrides): Promise; 'transferOwnership(address)'(newOwner: string, overrides?: Overrides): Promise; }; populateTransaction: { getMarketBorrowRate(_asset: string, overrides?: CallOverrides): Promise; 'getMarketBorrowRate(address)'( _asset: string, overrides?: CallOverrides ): Promise; getMarketLiquidityRate( _asset: string, overrides?: CallOverrides ): Promise; 'getMarketLiquidityRate(address)'( _asset: string, overrides?: CallOverrides ): Promise; owner(overrides?: CallOverrides): Promise; 'owner()'(overrides?: CallOverrides): Promise; renounceOwnership(overrides?: Overrides): Promise; 'renounceOwnership()'(overrides?: Overrides): Promise; setMarketBorrowRate( _asset: string, _rate: BigNumberish, overrides?: Overrides ): Promise; 'setMarketBorrowRate(address,uint256)'( _asset: string, _rate: BigNumberish, overrides?: Overrides ): Promise; setMarketLiquidityRate( _asset: string, _rate: BigNumberish, overrides?: Overrides ): Promise; 'setMarketLiquidityRate(address,uint256)'( _asset: string, _rate: BigNumberish, overrides?: Overrides ): Promise; transferOwnership(newOwner: string, overrides?: Overrides): Promise; 'transferOwnership(address)'( newOwner: string, overrides?: Overrides ): Promise; }; }