/* 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 LendingPoolConfiguratorInterface extends Interface { functions: { CONFIGURATOR_REVISION: TypedFunctionDescription<{encode([]: []): string}>; activateReserve: TypedFunctionDescription<{ encode([_reserve]: [string]): string; }>; deactivateReserve: TypedFunctionDescription<{ encode([_reserve]: [string]): string; }>; disableBorrowingOnReserve: TypedFunctionDescription<{ encode([_reserve]: [string]): string; }>; disableReserveAsCollateral: TypedFunctionDescription<{ encode([_reserve]: [string]): string; }>; disableReserveStableRate: TypedFunctionDescription<{ encode([_reserve]: [string]): string; }>; enableBorrowingOnReserve: TypedFunctionDescription<{ encode([_reserve, _stableBorrowRateEnabled]: [string, boolean]): string; }>; enableReserveAsCollateral: TypedFunctionDescription<{ encode([_reserve, _baseLTVasCollateral, _liquidationThreshold, _liquidationBonus]: [ string, BigNumberish, BigNumberish, BigNumberish ]): string; }>; enableReserveStableRate: TypedFunctionDescription<{ encode([_reserve]: [string]): string; }>; freezeReserve: TypedFunctionDescription<{ encode([_reserve]: [string]): string; }>; initReserve: TypedFunctionDescription<{ encode([ _reserve, _underlyingAssetDecimals, _interestRateStrategyAddress, _stableDebtTokenAddress, _variableDebtTokenAddress, ]: [string, BigNumberish, string, string, string]): string; }>; initReserveWithData: TypedFunctionDescription<{ encode([ _reserve, _aTokenName, _aTokenSymbol, _stableDebtTokenAddress, _variableDebtTokenAddress, _underlyingAssetDecimals, _interestRateStrategyAddress, ]: [string, string, string, string, string, BigNumberish, string]): string; }>; initialize: TypedFunctionDescription<{ encode([_poolAddressesProvider]: [string]): string; }>; poolAddressesProvider: TypedFunctionDescription<{encode([]: []): string}>; setReserveBaseLTVasCollateral: TypedFunctionDescription<{ encode([_reserve, _ltv]: [string, BigNumberish]): string; }>; setReserveDecimals: TypedFunctionDescription<{ encode([_reserve, _decimals]: [string, BigNumberish]): string; }>; setReserveInterestRateStrategyAddress: TypedFunctionDescription<{ encode([_reserve, _rateStrategyAddress]: [string, string]): string; }>; setReserveLiquidationBonus: TypedFunctionDescription<{ encode([_reserve, _bonus]: [string, BigNumberish]): string; }>; setReserveLiquidationThreshold: TypedFunctionDescription<{ encode([_reserve, _threshold]: [string, BigNumberish]): string; }>; unfreezeReserve: TypedFunctionDescription<{ encode([_reserve]: [string]): string; }>; }; events: { BorrowingDisabledOnReserve: TypedEventDescription<{ encodeTopics([_reserve]: [string | null]): string[]; }>; BorrowingEnabledOnReserve: TypedEventDescription<{ encodeTopics([_reserve, _stableRateEnabled]: [null, null]): string[]; }>; ReserveActivated: TypedEventDescription<{ encodeTopics([_reserve]: [string | null]): string[]; }>; ReserveBaseLtvChanged: TypedEventDescription<{ encodeTopics([_reserve, _ltv]: [null, null]): string[]; }>; ReserveDeactivated: TypedEventDescription<{ encodeTopics([_reserve]: [string | null]): string[]; }>; ReserveDecimalsChanged: TypedEventDescription<{ encodeTopics([_reserve, _decimals]: [null, null]): string[]; }>; ReserveDisabledAsCollateral: TypedEventDescription<{ encodeTopics([_reserve]: [string | null]): string[]; }>; ReserveEnabledAsCollateral: TypedEventDescription<{ encodeTopics([_reserve, _ltv, _liquidationThreshold, _liquidationBonus]: [ string | null, null, null, null ]): string[]; }>; ReserveFreezed: TypedEventDescription<{ encodeTopics([_reserve]: [string | null]): string[]; }>; ReserveInitialized: TypedEventDescription<{ encodeTopics([_reserve, _aToken, _interestRateStrategyAddress]: [ string | null, string | null, null ]): string[]; }>; ReserveInterestRateStrategyChanged: TypedEventDescription<{ encodeTopics([_reserve, _strategy]: [null, null]): string[]; }>; ReserveLiquidationBonusChanged: TypedEventDescription<{ encodeTopics([_reserve, _bonus]: [null, null]): string[]; }>; ReserveLiquidationThresholdChanged: TypedEventDescription<{ encodeTopics([_reserve, _threshold]: [null, null]): string[]; }>; ReserveUnfreezed: TypedEventDescription<{ encodeTopics([_reserve]: [string | null]): string[]; }>; StableRateDisabledOnReserve: TypedEventDescription<{ encodeTopics([_reserve]: [string | null]): string[]; }>; StableRateEnabledOnReserve: TypedEventDescription<{ encodeTopics([_reserve]: [string | null]): string[]; }>; }; } export class LendingPoolConfigurator extends Contract { connect(signerOrProvider: Signer | Provider | string): LendingPoolConfigurator; attach(addressOrName: string): LendingPoolConfigurator; deployed(): Promise; on(event: EventFilter | string, listener: Listener): LendingPoolConfigurator; once(event: EventFilter | string, listener: Listener): LendingPoolConfigurator; addListener(eventName: EventFilter | string, listener: Listener): LendingPoolConfigurator; removeAllListeners(eventName: EventFilter | string): LendingPoolConfigurator; removeListener(eventName: any, listener: Listener): LendingPoolConfigurator; interface: LendingPoolConfiguratorInterface; functions: { CONFIGURATOR_REVISION(): Promise; activateReserve( _reserve: string, overrides?: TransactionOverrides ): Promise; deactivateReserve( _reserve: string, overrides?: TransactionOverrides ): Promise; disableBorrowingOnReserve( _reserve: string, overrides?: TransactionOverrides ): Promise; disableReserveAsCollateral( _reserve: string, overrides?: TransactionOverrides ): Promise; disableReserveStableRate( _reserve: string, overrides?: TransactionOverrides ): Promise; enableBorrowingOnReserve( _reserve: string, _stableBorrowRateEnabled: boolean, overrides?: TransactionOverrides ): Promise; enableReserveAsCollateral( _reserve: string, _baseLTVasCollateral: BigNumberish, _liquidationThreshold: BigNumberish, _liquidationBonus: BigNumberish, overrides?: TransactionOverrides ): Promise; enableReserveStableRate( _reserve: string, overrides?: TransactionOverrides ): Promise; freezeReserve(_reserve: string, overrides?: TransactionOverrides): Promise; initReserve( _reserve: string, _underlyingAssetDecimals: BigNumberish, _interestRateStrategyAddress: string, _stableDebtTokenAddress: string, _variableDebtTokenAddress: string, overrides?: TransactionOverrides ): Promise; initReserveWithData( _reserve: string, _aTokenName: string, _aTokenSymbol: string, _stableDebtTokenAddress: string, _variableDebtTokenAddress: string, _underlyingAssetDecimals: BigNumberish, _interestRateStrategyAddress: string, overrides?: TransactionOverrides ): Promise; initialize( _poolAddressesProvider: string, overrides?: TransactionOverrides ): Promise; poolAddressesProvider(): Promise; setReserveBaseLTVasCollateral( _reserve: string, _ltv: BigNumberish, overrides?: TransactionOverrides ): Promise; setReserveDecimals( _reserve: string, _decimals: BigNumberish, overrides?: TransactionOverrides ): Promise; setReserveInterestRateStrategyAddress( _reserve: string, _rateStrategyAddress: string, overrides?: TransactionOverrides ): Promise; setReserveLiquidationBonus( _reserve: string, _bonus: BigNumberish, overrides?: TransactionOverrides ): Promise; setReserveLiquidationThreshold( _reserve: string, _threshold: BigNumberish, overrides?: TransactionOverrides ): Promise; unfreezeReserve( _reserve: string, overrides?: TransactionOverrides ): Promise; }; CONFIGURATOR_REVISION(): Promise; activateReserve(_reserve: string, overrides?: TransactionOverrides): Promise; deactivateReserve( _reserve: string, overrides?: TransactionOverrides ): Promise; disableBorrowingOnReserve( _reserve: string, overrides?: TransactionOverrides ): Promise; disableReserveAsCollateral( _reserve: string, overrides?: TransactionOverrides ): Promise; disableReserveStableRate( _reserve: string, overrides?: TransactionOverrides ): Promise; enableBorrowingOnReserve( _reserve: string, _stableBorrowRateEnabled: boolean, overrides?: TransactionOverrides ): Promise; enableReserveAsCollateral( _reserve: string, _baseLTVasCollateral: BigNumberish, _liquidationThreshold: BigNumberish, _liquidationBonus: BigNumberish, overrides?: TransactionOverrides ): Promise; enableReserveStableRate( _reserve: string, overrides?: TransactionOverrides ): Promise; freezeReserve(_reserve: string, overrides?: TransactionOverrides): Promise; initReserve( _reserve: string, _underlyingAssetDecimals: BigNumberish, _interestRateStrategyAddress: string, _stableDebtTokenAddress: string, _variableDebtTokenAddress: string, overrides?: TransactionOverrides ): Promise; initReserveWithData( _reserve: string, _aTokenName: string, _aTokenSymbol: string, _stableDebtTokenAddress: string, _variableDebtTokenAddress: string, _underlyingAssetDecimals: BigNumberish, _interestRateStrategyAddress: string, overrides?: TransactionOverrides ): Promise; initialize( _poolAddressesProvider: string, overrides?: TransactionOverrides ): Promise; poolAddressesProvider(): Promise; setReserveBaseLTVasCollateral( _reserve: string, _ltv: BigNumberish, overrides?: TransactionOverrides ): Promise; setReserveDecimals( _reserve: string, _decimals: BigNumberish, overrides?: TransactionOverrides ): Promise; setReserveInterestRateStrategyAddress( _reserve: string, _rateStrategyAddress: string, overrides?: TransactionOverrides ): Promise; setReserveLiquidationBonus( _reserve: string, _bonus: BigNumberish, overrides?: TransactionOverrides ): Promise; setReserveLiquidationThreshold( _reserve: string, _threshold: BigNumberish, overrides?: TransactionOverrides ): Promise; unfreezeReserve(_reserve: string, overrides?: TransactionOverrides): Promise; filters: { BorrowingDisabledOnReserve(_reserve: string | null): EventFilter; BorrowingEnabledOnReserve(_reserve: null, _stableRateEnabled: null): EventFilter; ReserveActivated(_reserve: string | null): EventFilter; ReserveBaseLtvChanged(_reserve: null, _ltv: null): EventFilter; ReserveDeactivated(_reserve: string | null): EventFilter; ReserveDecimalsChanged(_reserve: null, _decimals: null): EventFilter; ReserveDisabledAsCollateral(_reserve: string | null): EventFilter; ReserveEnabledAsCollateral( _reserve: string | null, _ltv: null, _liquidationThreshold: null, _liquidationBonus: null ): EventFilter; ReserveFreezed(_reserve: string | null): EventFilter; ReserveInitialized( _reserve: string | null, _aToken: string | null, _interestRateStrategyAddress: null ): EventFilter; ReserveInterestRateStrategyChanged(_reserve: null, _strategy: null): EventFilter; ReserveLiquidationBonusChanged(_reserve: null, _bonus: null): EventFilter; ReserveLiquidationThresholdChanged(_reserve: null, _threshold: null): EventFilter; ReserveUnfreezed(_reserve: string | null): EventFilter; StableRateDisabledOnReserve(_reserve: string | null): EventFilter; StableRateEnabledOnReserve(_reserve: string | null): EventFilter; }; estimate: { CONFIGURATOR_REVISION(): Promise; activateReserve(_reserve: string): Promise; deactivateReserve(_reserve: string): Promise; disableBorrowingOnReserve(_reserve: string): Promise; disableReserveAsCollateral(_reserve: string): Promise; disableReserveStableRate(_reserve: string): Promise; enableBorrowingOnReserve( _reserve: string, _stableBorrowRateEnabled: boolean ): Promise; enableReserveAsCollateral( _reserve: string, _baseLTVasCollateral: BigNumberish, _liquidationThreshold: BigNumberish, _liquidationBonus: BigNumberish ): Promise; enableReserveStableRate(_reserve: string): Promise; freezeReserve(_reserve: string): Promise; initReserve( _reserve: string, _underlyingAssetDecimals: BigNumberish, _interestRateStrategyAddress: string, _stableDebtTokenAddress: string, _variableDebtTokenAddress: string ): Promise; initReserveWithData( _reserve: string, _aTokenName: string, _aTokenSymbol: string, _stableDebtTokenAddress: string, _variableDebtTokenAddress: string, _underlyingAssetDecimals: BigNumberish, _interestRateStrategyAddress: string ): Promise; initialize(_poolAddressesProvider: string): Promise; poolAddressesProvider(): Promise; setReserveBaseLTVasCollateral(_reserve: string, _ltv: BigNumberish): Promise; setReserveDecimals(_reserve: string, _decimals: BigNumberish): Promise; setReserveInterestRateStrategyAddress( _reserve: string, _rateStrategyAddress: string ): Promise; setReserveLiquidationBonus(_reserve: string, _bonus: BigNumberish): Promise; setReserveLiquidationThreshold(_reserve: string, _threshold: BigNumberish): Promise; unfreezeReserve(_reserve: string): Promise; }; }