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

56 lines
1.7 KiB
TypeScript
Raw Normal View History

2020-07-08 22:16:05 +00:00
/* Generated by ts-generator ver. 0.0.8 */
/* tslint:disable */
2020-07-13 08:54:08 +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-07-08 22:16:05 +00:00
interface MockAggregatorUniDaiEthInterface extends Interface {
functions: {
2020-07-13 08:54:08 +00:00
latestAnswer: TypedFunctionDescription<{encode([]: []): string}>;
2020-07-08 22:16:05 +00:00
};
events: {
AnswerUpdated: TypedEventDescription<{
encodeTopics([current, roundId, timestamp]: [
BigNumberish | null,
BigNumberish | null,
null
]): string[];
}>;
};
}
export class MockAggregatorUniDaiEth extends Contract {
2020-07-13 08:54:08 +00:00
connect(signerOrProvider: Signer | Provider | string): MockAggregatorUniDaiEth;
2020-07-08 22:16:05 +00:00
attach(addressOrName: string): MockAggregatorUniDaiEth;
deployed(): Promise<MockAggregatorUniDaiEth>;
on(event: EventFilter | string, listener: Listener): MockAggregatorUniDaiEth;
2020-07-13 08:54:08 +00:00
once(event: EventFilter | string, listener: Listener): MockAggregatorUniDaiEth;
addListener(eventName: EventFilter | string, listener: Listener): MockAggregatorUniDaiEth;
2020-07-08 22:16:05 +00:00
removeAllListeners(eventName: EventFilter | string): MockAggregatorUniDaiEth;
removeListener(eventName: any, listener: Listener): MockAggregatorUniDaiEth;
interface: MockAggregatorUniDaiEthInterface;
functions: {
latestAnswer(): Promise<BigNumber>;
};
latestAnswer(): Promise<BigNumber>;
filters: {
AnswerUpdated(
current: BigNumberish | null,
roundId: BigNumberish | null,
timestamp: null
): EventFilter;
};
estimate: {
latestAnswer(): Promise<BigNumber>;
};
}