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

74 lines
2.1 KiB
TypeScript
Raw Normal View History

2020-06-03 10:23:21 +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-06-03 10:23:21 +00:00
interface FlashLoanReceiverBaseInterface extends Interface {
functions: {
2020-07-13 08:54:08 +00:00
addressesProvider: TypedFunctionDescription<{encode([]: []): string}>;
2020-06-03 10:23:21 +00:00
executeOperation: TypedFunctionDescription<{
encode([_reserve, _amount, _fee, _params]: [
string,
BigNumberish,
BigNumberish,
Arrayish
]): string;
}>;
};
events: {};
}
export class FlashLoanReceiverBase extends Contract {
connect(signerOrProvider: Signer | Provider | string): FlashLoanReceiverBase;
attach(addressOrName: string): FlashLoanReceiverBase;
deployed(): Promise<FlashLoanReceiverBase>;
on(event: EventFilter | string, listener: Listener): FlashLoanReceiverBase;
once(event: EventFilter | string, listener: Listener): FlashLoanReceiverBase;
2020-07-13 08:54:08 +00:00
addListener(eventName: EventFilter | string, listener: Listener): FlashLoanReceiverBase;
2020-06-03 10:23:21 +00:00
removeAllListeners(eventName: EventFilter | string): FlashLoanReceiverBase;
removeListener(eventName: any, listener: Listener): FlashLoanReceiverBase;
interface: FlashLoanReceiverBaseInterface;
functions: {
addressesProvider(): Promise<string>;
executeOperation(
_reserve: string,
_amount: BigNumberish,
_fee: BigNumberish,
_params: Arrayish,
overrides?: TransactionOverrides
): Promise<ContractTransaction>;
};
addressesProvider(): Promise<string>;
executeOperation(
_reserve: string,
_amount: BigNumberish,
_fee: BigNumberish,
_params: Arrayish,
overrides?: TransactionOverrides
): Promise<ContractTransaction>;
filters: {};
estimate: {
addressesProvider(): Promise<BigNumber>;
executeOperation(
_reserve: string,
_amount: BigNumberish,
_fee: BigNumberish,
_params: Arrayish
): Promise<BigNumber>;
};
}