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

68 lines
1.8 KiB
TypeScript
Raw Normal View History

2020-06-03 10:23:21 +00:00
/* 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 MockAggregatorUniUsdcEthInterface extends Interface {
functions: {
latestAnswer: TypedFunctionDescription<{ encode([]: []): string }>;
};
events: {
AnswerUpdated: TypedEventDescription<{
encodeTopics([current, roundId, timestamp]: [
BigNumberish | null,
BigNumberish | null,
null
]): string[];
}>;
};
}
export class MockAggregatorUniUsdcEth extends Contract {
connect(
signerOrProvider: Signer | Provider | string
): MockAggregatorUniUsdcEth;
attach(addressOrName: string): MockAggregatorUniUsdcEth;
deployed(): Promise<MockAggregatorUniUsdcEth>;
on(event: EventFilter | string, listener: Listener): MockAggregatorUniUsdcEth;
once(
event: EventFilter | string,
listener: Listener
): MockAggregatorUniUsdcEth;
addListener(
eventName: EventFilter | string,
listener: Listener
): MockAggregatorUniUsdcEth;
removeAllListeners(eventName: EventFilter | string): MockAggregatorUniUsdcEth;
removeListener(eventName: any, listener: Listener): MockAggregatorUniUsdcEth;
interface: MockAggregatorUniUsdcEthInterface;
functions: {
latestAnswer(): Promise<BigNumber>;
};
latestAnswer(): Promise<BigNumber>;
filters: {
AnswerUpdated(
current: BigNumberish | null,
roundId: BigNumberish | null,
timestamp: null
): EventFilter;
};
estimate: {
latestAnswer(): Promise<BigNumber>;
};
}