aave-protocol-v2/types/IPriceOracleGetter.d.ts

51 lines
1.4 KiB
TypeScript
Raw Normal View History

2020-06-03 10:23:21 +00:00
/* Generated by ts-generator ver. 0.0.8 */
/* tslint:disable */
2020-08-07 17:29:13 +00:00
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 ".";
2020-06-03 10:23:21 +00:00
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;
2020-08-07 17:29:13 +00:00
addListener(
eventName: EventFilter | string,
listener: Listener
): IPriceOracleGetter;
2020-06-03 10:23:21 +00:00
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>;
};
}