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

54 lines
1.7 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 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;
2020-07-13 08:54:08 +00:00
addListener(eventName: EventFilter | string, listener: Listener): IFeeProvider;
2020-06-03 10:23:21 +00:00
removeAllListeners(eventName: EventFilter | string): IFeeProvider;
removeListener(eventName: any, listener: Listener): IFeeProvider;
interface: IFeeProviderInterface;
functions: {
2020-07-13 08:54:08 +00:00
calculateLoanOriginationFee(_user: string, _amount: BigNumberish): Promise<BigNumber>;
2020-06-03 10:23:21 +00:00
getLoanOriginationFeePercentage(): Promise<BigNumber>;
};
2020-07-13 08:54:08 +00:00
calculateLoanOriginationFee(_user: string, _amount: BigNumberish): Promise<BigNumber>;
2020-06-03 10:23:21 +00:00
getLoanOriginationFeePercentage(): Promise<BigNumber>;
filters: {};
estimate: {
2020-07-13 08:54:08 +00:00
calculateLoanOriginationFee(_user: string, _amount: BigNumberish): Promise<BigNumber>;
2020-06-03 10:23:21 +00:00
getLoanOriginationFeePercentage(): Promise<BigNumber>;
};
}