/* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ import { Contract, ContractTransaction, EventFilter, Signer } from "ethers"; import { Listener, Provider } from "ethers/providers"; import { Arrayish, BigNumber, BigNumberish, Interface } from "ethers/utils"; import { TransactionOverrides, TypedEventDescription, TypedFunctionDescription } from "."; interface LendingRateOracleInterface extends Interface { functions: { getMarketBorrowRate: TypedFunctionDescription<{ encode([_asset]: [string]): string; }>; getMarketLiquidityRate: TypedFunctionDescription<{ encode([_asset]: [string]): string; }>; owner: TypedFunctionDescription<{ encode([]: []): string }>; renounceOwnership: TypedFunctionDescription<{ encode([]: []): string }>; setMarketBorrowRate: TypedFunctionDescription<{ encode([_asset, _rate]: [string, BigNumberish]): string; }>; setMarketLiquidityRate: TypedFunctionDescription<{ encode([_asset, _rate]: [string, BigNumberish]): string; }>; transferOwnership: TypedFunctionDescription<{ encode([newOwner]: [string]): string; }>; }; events: { OwnershipTransferred: TypedEventDescription<{ encodeTopics([previousOwner, newOwner]: [ string | null, string | null ]): string[]; }>; }; } export class LendingRateOracle extends Contract { connect(signerOrProvider: Signer | Provider | string): LendingRateOracle; attach(addressOrName: string): LendingRateOracle; deployed(): Promise; on(event: EventFilter | string, listener: Listener): LendingRateOracle; once(event: EventFilter | string, listener: Listener): LendingRateOracle; addListener( eventName: EventFilter | string, listener: Listener ): LendingRateOracle; removeAllListeners(eventName: EventFilter | string): LendingRateOracle; removeListener(eventName: any, listener: Listener): LendingRateOracle; interface: LendingRateOracleInterface; functions: { getMarketBorrowRate(_asset: string): Promise; getMarketLiquidityRate(_asset: string): Promise; owner(): Promise; renounceOwnership( overrides?: TransactionOverrides ): Promise; setMarketBorrowRate( _asset: string, _rate: BigNumberish, overrides?: TransactionOverrides ): Promise; setMarketLiquidityRate( _asset: string, _rate: BigNumberish, overrides?: TransactionOverrides ): Promise; transferOwnership( newOwner: string, overrides?: TransactionOverrides ): Promise; }; getMarketBorrowRate(_asset: string): Promise; getMarketLiquidityRate(_asset: string): Promise; owner(): Promise; renounceOwnership( overrides?: TransactionOverrides ): Promise; setMarketBorrowRate( _asset: string, _rate: BigNumberish, overrides?: TransactionOverrides ): Promise; setMarketLiquidityRate( _asset: string, _rate: BigNumberish, overrides?: TransactionOverrides ): Promise; transferOwnership( newOwner: string, overrides?: TransactionOverrides ): Promise; filters: { OwnershipTransferred( previousOwner: string | null, newOwner: string | null ): EventFilter; }; estimate: { getMarketBorrowRate(_asset: string): Promise; getMarketLiquidityRate(_asset: string): Promise; owner(): Promise; renounceOwnership(): Promise; setMarketBorrowRate( _asset: string, _rate: BigNumberish ): Promise; setMarketLiquidityRate( _asset: string, _rate: BigNumberish ): Promise; transferOwnership(newOwner: string): Promise; }; }