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

78 lines
2.1 KiB
TypeScript
Raw Normal View History

2020-06-08 15:36:40 +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-08 15:36:40 +00:00
interface AaveProtocolTestHelpersInterface extends Interface {
functions: {
2020-08-07 17:29:13 +00:00
ADDRESSES_PROVIDER: TypedFunctionDescription<{ encode([]: []): string }>;
2020-06-08 15:36:40 +00:00
2020-08-07 17:29:13 +00:00
getAllATokens: TypedFunctionDescription<{ encode([]: []): string }>;
2020-08-07 17:29:13 +00:00
getAllReservesTokens: TypedFunctionDescription<{ encode([]: []): string }>;
2020-06-08 15:36:40 +00:00
};
events: {};
}
export class AaveProtocolTestHelpers extends Contract {
2020-08-07 17:29:13 +00:00
connect(
signerOrProvider: Signer | Provider | string
): AaveProtocolTestHelpers;
2020-06-08 15:36:40 +00:00
attach(addressOrName: string): AaveProtocolTestHelpers;
deployed(): Promise<AaveProtocolTestHelpers>;
on(event: EventFilter | string, listener: Listener): AaveProtocolTestHelpers;
2020-08-07 17:29:13 +00:00
once(
event: EventFilter | string,
listener: Listener
): AaveProtocolTestHelpers;
addListener(
eventName: EventFilter | string,
listener: Listener
): AaveProtocolTestHelpers;
2020-06-08 15:36:40 +00:00
removeAllListeners(eventName: EventFilter | string): AaveProtocolTestHelpers;
removeListener(eventName: any, listener: Listener): AaveProtocolTestHelpers;
interface: AaveProtocolTestHelpersInterface;
functions: {
ADDRESSES_PROVIDER(): Promise<string>;
2020-08-07 17:29:13 +00:00
getAllATokens(): Promise<
{ symbol: string; tokenAddress: string; 0: string; 1: string }[]
>;
2020-08-07 17:29:13 +00:00
getAllReservesTokens(): Promise<
{ symbol: string; tokenAddress: string; 0: string; 1: string }[]
>;
2020-06-08 15:36:40 +00:00
};
ADDRESSES_PROVIDER(): Promise<string>;
2020-08-07 17:29:13 +00:00
getAllATokens(): Promise<
{ symbol: string; tokenAddress: string; 0: string; 1: string }[]
>;
2020-08-07 17:29:13 +00:00
getAllReservesTokens(): Promise<
{ symbol: string; tokenAddress: string; 0: string; 1: string }[]
>;
2020-06-08 15:36:40 +00:00
filters: {};
estimate: {
ADDRESSES_PROVIDER(): Promise<BigNumber>;
getAllATokens(): Promise<BigNumber>;
getAllReservesTokens(): Promise<BigNumber>;
2020-06-08 15:36:40 +00:00
};
}