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

100 lines
2.5 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 IExtendedPriceAggregatorInterface extends Interface {
functions: {
2020-08-07 17:29:13 +00:00
getPlatformId: TypedFunctionDescription<{ encode([]: []): string }>;
2020-06-03 10:23:21 +00:00
2020-08-07 17:29:13 +00:00
getSubTokens: TypedFunctionDescription<{ encode([]: []): string }>;
2020-06-03 10:23:21 +00:00
2020-08-07 17:29:13 +00:00
getToken: TypedFunctionDescription<{ encode([]: []): string }>;
2020-06-03 10:23:21 +00:00
2020-08-07 17:29:13 +00:00
getTokenType: TypedFunctionDescription<{ encode([]: []): string }>;
2020-06-03 10:23:21 +00:00
2020-08-07 17:29:13 +00:00
latestAnswer: TypedFunctionDescription<{ encode([]: []): string }>;
2020-06-03 10:23:21 +00:00
};
events: {
AnswerUpdated: TypedEventDescription<{
encodeTopics([current, roundId, timestamp]: [
BigNumberish | null,
BigNumberish | null,
null
]): string[];
}>;
};
}
export class IExtendedPriceAggregator extends Contract {
2020-08-07 17:29:13 +00:00
connect(
signerOrProvider: Signer | Provider | string
): IExtendedPriceAggregator;
2020-06-03 10:23:21 +00:00
attach(addressOrName: string): IExtendedPriceAggregator;
deployed(): Promise<IExtendedPriceAggregator>;
on(event: EventFilter | string, listener: Listener): IExtendedPriceAggregator;
2020-08-07 17:29:13 +00:00
once(
event: EventFilter | string,
listener: Listener
): IExtendedPriceAggregator;
addListener(
eventName: EventFilter | string,
listener: Listener
): IExtendedPriceAggregator;
2020-06-03 10:23:21 +00:00
removeAllListeners(eventName: EventFilter | string): IExtendedPriceAggregator;
removeListener(eventName: any, listener: Listener): IExtendedPriceAggregator;
interface: IExtendedPriceAggregatorInterface;
functions: {
getPlatformId(): Promise<BigNumber>;
getSubTokens(): Promise<string[]>;
getToken(): Promise<string>;
getTokenType(): Promise<BigNumber>;
latestAnswer(): Promise<BigNumber>;
};
getPlatformId(): Promise<BigNumber>;
getSubTokens(): Promise<string[]>;
getToken(): Promise<string>;
getTokenType(): Promise<BigNumber>;
latestAnswer(): Promise<BigNumber>;
filters: {
AnswerUpdated(
current: BigNumberish | null,
roundId: BigNumberish | null,
timestamp: null
): EventFilter;
};
estimate: {
getPlatformId(): Promise<BigNumber>;
getSubTokens(): Promise<BigNumber>;
getToken(): Promise<BigNumber>;
getTokenType(): Promise<BigNumber>;
latestAnswer(): Promise<BigNumber>;
};
}