mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
51 lines
1.4 KiB
TypeScript
51 lines
1.4 KiB
TypeScript
/* 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 IPriceOracleGetterInterface extends Interface {
|
|
functions: {
|
|
getAssetPrice: TypedFunctionDescription<{
|
|
encode([_asset]: [string]): string;
|
|
}>;
|
|
};
|
|
|
|
events: {};
|
|
}
|
|
|
|
export class IPriceOracleGetter extends Contract {
|
|
connect(signerOrProvider: Signer | Provider | string): IPriceOracleGetter;
|
|
attach(addressOrName: string): IPriceOracleGetter;
|
|
deployed(): Promise<IPriceOracleGetter>;
|
|
|
|
on(event: EventFilter | string, listener: Listener): IPriceOracleGetter;
|
|
once(event: EventFilter | string, listener: Listener): IPriceOracleGetter;
|
|
addListener(
|
|
eventName: EventFilter | string,
|
|
listener: Listener
|
|
): IPriceOracleGetter;
|
|
removeAllListeners(eventName: EventFilter | string): IPriceOracleGetter;
|
|
removeListener(eventName: any, listener: Listener): IPriceOracleGetter;
|
|
|
|
interface: IPriceOracleGetterInterface;
|
|
|
|
functions: {
|
|
getAssetPrice(_asset: string): Promise<BigNumber>;
|
|
};
|
|
|
|
getAssetPrice(_asset: string): Promise<BigNumber>;
|
|
|
|
filters: {};
|
|
|
|
estimate: {
|
|
getAssetPrice(_asset: string): Promise<BigNumber>;
|
|
};
|
|
}
|