mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
207 lines
6.1 KiB
TypeScript
207 lines
6.1 KiB
TypeScript
/* Generated by ts-generator ver. 0.0.8 */
|
|
/* tslint:disable */
|
|
|
|
import {ethers, EventFilter, Signer, BigNumber, BigNumberish, PopulatedTransaction} from 'ethers';
|
|
import {Contract, ContractTransaction, CallOverrides} from '@ethersproject/contracts';
|
|
import {BytesLike} from '@ethersproject/bytes';
|
|
import {Listener, Provider} from '@ethersproject/providers';
|
|
import {FunctionFragment, EventFragment, Result} from '@ethersproject/abi';
|
|
|
|
interface IExtendedPriceAggregatorInterface extends ethers.utils.Interface {
|
|
functions: {
|
|
'getPlatformId()': FunctionFragment;
|
|
'getSubTokens()': FunctionFragment;
|
|
'getToken()': FunctionFragment;
|
|
'getTokenType()': FunctionFragment;
|
|
'latestAnswer()': FunctionFragment;
|
|
};
|
|
|
|
encodeFunctionData(functionFragment: 'getPlatformId', values?: undefined): string;
|
|
encodeFunctionData(functionFragment: 'getSubTokens', values?: undefined): string;
|
|
encodeFunctionData(functionFragment: 'getToken', values?: undefined): string;
|
|
encodeFunctionData(functionFragment: 'getTokenType', values?: undefined): string;
|
|
encodeFunctionData(functionFragment: 'latestAnswer', values?: undefined): string;
|
|
|
|
decodeFunctionResult(functionFragment: 'getPlatformId', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'getSubTokens', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'getToken', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'getTokenType', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'latestAnswer', data: BytesLike): Result;
|
|
|
|
events: {
|
|
'AnswerUpdated(int256,uint256,uint256)': EventFragment;
|
|
};
|
|
|
|
getEvent(nameOrSignatureOrTopic: 'AnswerUpdated'): EventFragment;
|
|
}
|
|
|
|
export class IExtendedPriceAggregator extends Contract {
|
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
attach(addressOrName: string): this;
|
|
deployed(): Promise<this>;
|
|
|
|
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: IExtendedPriceAggregatorInterface;
|
|
|
|
functions: {
|
|
getPlatformId(
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: BigNumber;
|
|
}>;
|
|
|
|
'getPlatformId()'(
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: BigNumber;
|
|
}>;
|
|
|
|
getSubTokens(
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: string[];
|
|
}>;
|
|
|
|
'getSubTokens()'(
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: string[];
|
|
}>;
|
|
|
|
getToken(
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: string;
|
|
}>;
|
|
|
|
'getToken()'(
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: string;
|
|
}>;
|
|
|
|
getTokenType(
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: BigNumber;
|
|
}>;
|
|
|
|
'getTokenType()'(
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: BigNumber;
|
|
}>;
|
|
|
|
latestAnswer(
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: BigNumber;
|
|
}>;
|
|
|
|
'latestAnswer()'(
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: BigNumber;
|
|
}>;
|
|
};
|
|
|
|
getPlatformId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'getPlatformId()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
getSubTokens(overrides?: CallOverrides): Promise<string[]>;
|
|
|
|
'getSubTokens()'(overrides?: CallOverrides): Promise<string[]>;
|
|
|
|
getToken(overrides?: CallOverrides): Promise<string>;
|
|
|
|
'getToken()'(overrides?: CallOverrides): Promise<string>;
|
|
|
|
getTokenType(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'getTokenType()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
latestAnswer(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'latestAnswer()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
callStatic: {
|
|
getPlatformId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'getPlatformId()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
getSubTokens(overrides?: CallOverrides): Promise<string[]>;
|
|
|
|
'getSubTokens()'(overrides?: CallOverrides): Promise<string[]>;
|
|
|
|
getToken(overrides?: CallOverrides): Promise<string>;
|
|
|
|
'getToken()'(overrides?: CallOverrides): Promise<string>;
|
|
|
|
getTokenType(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'getTokenType()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
latestAnswer(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'latestAnswer()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
};
|
|
|
|
filters: {
|
|
AnswerUpdated(
|
|
current: BigNumberish | null,
|
|
roundId: BigNumberish | null,
|
|
timestamp: null
|
|
): EventFilter;
|
|
};
|
|
|
|
estimateGas: {
|
|
getPlatformId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'getPlatformId()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
getSubTokens(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'getSubTokens()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
getToken(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'getToken()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
getTokenType(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'getTokenType()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
latestAnswer(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'latestAnswer()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
};
|
|
|
|
populateTransaction: {
|
|
getPlatformId(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
'getPlatformId()'(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
getSubTokens(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
'getSubTokens()'(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
getToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
'getToken()'(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
getTokenType(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
'getTokenType()'(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
latestAnswer(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
'latestAnswer()'(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
};
|
|
}
|