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

54 lines
1.3 KiB
TypeScript
Raw Normal View History

2020-05-29 14:55:31 +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-05-29 14:55:31 +00:00
interface ExampleInterface extends Interface {
functions: {
2020-08-07 17:29:13 +00:00
_n: TypedFunctionDescription<{ encode([]: []): string }>;
2020-05-29 14:55:31 +00:00
2020-08-07 17:29:13 +00:00
test: TypedFunctionDescription<{ encode([]: []): string }>;
2020-05-29 14:55:31 +00:00
};
events: {};
}
export class Example extends Contract {
connect(signerOrProvider: Signer | Provider | string): Example;
attach(addressOrName: string): Example;
deployed(): Promise<Example>;
on(event: EventFilter | string, listener: Listener): Example;
once(event: EventFilter | string, listener: Listener): Example;
addListener(eventName: EventFilter | string, listener: Listener): Example;
removeAllListeners(eventName: EventFilter | string): Example;
removeListener(eventName: any, listener: Listener): Example;
interface: ExampleInterface;
functions: {
_n(): Promise<BigNumber>;
test(): Promise<BigNumber>;
};
_n(): Promise<BigNumber>;
test(): Promise<BigNumber>;
filters: {};
estimate: {
_n(): Promise<BigNumber>;
test(): Promise<BigNumber>;
};
}