mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
54 lines
1.7 KiB
TypeScript
54 lines
1.7 KiB
TypeScript
/* 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 IFeeProviderInterface extends Interface {
|
|
functions: {
|
|
calculateLoanOriginationFee: TypedFunctionDescription<{
|
|
encode([_user, _amount]: [string, BigNumberish]): string;
|
|
}>;
|
|
|
|
getLoanOriginationFeePercentage: TypedFunctionDescription<{
|
|
encode([]: []): string;
|
|
}>;
|
|
};
|
|
|
|
events: {};
|
|
}
|
|
|
|
export class IFeeProvider extends Contract {
|
|
connect(signerOrProvider: Signer | Provider | string): IFeeProvider;
|
|
attach(addressOrName: string): IFeeProvider;
|
|
deployed(): Promise<IFeeProvider>;
|
|
|
|
on(event: EventFilter | string, listener: Listener): IFeeProvider;
|
|
once(event: EventFilter | string, listener: Listener): IFeeProvider;
|
|
addListener(eventName: EventFilter | string, listener: Listener): IFeeProvider;
|
|
removeAllListeners(eventName: EventFilter | string): IFeeProvider;
|
|
removeListener(eventName: any, listener: Listener): IFeeProvider;
|
|
|
|
interface: IFeeProviderInterface;
|
|
|
|
functions: {
|
|
calculateLoanOriginationFee(_user: string, _amount: BigNumberish): Promise<BigNumber>;
|
|
|
|
getLoanOriginationFeePercentage(): Promise<BigNumber>;
|
|
};
|
|
|
|
calculateLoanOriginationFee(_user: string, _amount: BigNumberish): Promise<BigNumber>;
|
|
|
|
getLoanOriginationFeePercentage(): Promise<BigNumber>;
|
|
|
|
filters: {};
|
|
|
|
estimate: {
|
|
calculateLoanOriginationFee(_user: string, _amount: BigNumberish): Promise<BigNumber>;
|
|
|
|
getLoanOriginationFeePercentage(): Promise<BigNumber>;
|
|
};
|
|
}
|