2020-07-05 21:44:19 +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-07-05 21:44:19 +00:00
|
|
|
|
|
|
|
interface LendingPoolParametersProviderInterface extends Interface {
|
|
|
|
functions: {
|
|
|
|
getFlashLoanFeesInBips: TypedFunctionDescription<{
|
|
|
|
encode([]: []): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
getMaxStableRateBorrowSizePercent: TypedFunctionDescription<{
|
|
|
|
encode([]: []): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
getRebalanceDownRateDelta: TypedFunctionDescription<{
|
|
|
|
encode([]: []): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
initialize: TypedFunctionDescription<{
|
|
|
|
encode([_addressesProvider]: [string]): string;
|
|
|
|
}>;
|
|
|
|
};
|
|
|
|
|
|
|
|
events: {};
|
|
|
|
}
|
|
|
|
|
|
|
|
export class LendingPoolParametersProvider extends Contract {
|
2020-07-13 08:54:08 +00:00
|
|
|
connect(signerOrProvider: Signer | Provider | string): LendingPoolParametersProvider;
|
2020-07-05 21:44:19 +00:00
|
|
|
attach(addressOrName: string): LendingPoolParametersProvider;
|
|
|
|
deployed(): Promise<LendingPoolParametersProvider>;
|
|
|
|
|
2020-07-13 08:54:08 +00:00
|
|
|
on(event: EventFilter | string, listener: Listener): LendingPoolParametersProvider;
|
|
|
|
once(event: EventFilter | string, listener: Listener): LendingPoolParametersProvider;
|
|
|
|
addListener(eventName: EventFilter | string, listener: Listener): LendingPoolParametersProvider;
|
|
|
|
removeAllListeners(eventName: EventFilter | string): LendingPoolParametersProvider;
|
|
|
|
removeListener(eventName: any, listener: Listener): LendingPoolParametersProvider;
|
2020-07-05 21:44:19 +00:00
|
|
|
|
|
|
|
interface: LendingPoolParametersProviderInterface;
|
|
|
|
|
|
|
|
functions: {
|
|
|
|
getFlashLoanFeesInBips(): Promise<{
|
|
|
|
0: BigNumber;
|
|
|
|
1: BigNumber;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
getMaxStableRateBorrowSizePercent(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
getRebalanceDownRateDelta(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
initialize(
|
|
|
|
_addressesProvider: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
};
|
|
|
|
|
|
|
|
getFlashLoanFeesInBips(): Promise<{
|
|
|
|
0: BigNumber;
|
|
|
|
1: BigNumber;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
getMaxStableRateBorrowSizePercent(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
getRebalanceDownRateDelta(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
initialize(
|
|
|
|
_addressesProvider: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
filters: {};
|
|
|
|
|
|
|
|
estimate: {
|
|
|
|
getFlashLoanFeesInBips(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
getMaxStableRateBorrowSizePercent(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
getRebalanceDownRateDelta(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
initialize(_addressesProvider: string): Promise<BigNumber>;
|
|
|
|
};
|
|
|
|
}
|