LCOV - code coverage report
Current view: top level - misc/flashloan/base - FlashLoanReceiverBase.sol (source / functions) Coverage Total Hit
Test: lcov.info.p Lines: 0.0 % 2 0
Test Date: 2024-09-24 09:34:24 Functions: 0.0 % 1 0
Branches: - 0 0

             Branch data     Line data    Source code
       1                 :             : // SPDX-License-Identifier: MIT
       2                 :             : pragma solidity ^0.8.10;
       3                 :             : 
       4                 :             : import {IFlashLoanReceiver} from '../interfaces/IFlashLoanReceiver.sol';
       5                 :             : import {IPoolAddressesProvider} from '../../../interfaces/IPoolAddressesProvider.sol';
       6                 :             : import {IPool} from '../../../interfaces/IPool.sol';
       7                 :             : 
       8                 :             : /**
       9                 :             :  * @title FlashLoanReceiverBase
      10                 :             :  * @author Aave
      11                 :             :  * @notice Base contract to develop a flashloan-receiver contract.
      12                 :             :  */
      13                 :             : abstract contract FlashLoanReceiverBase is IFlashLoanReceiver {
      14                 :             :   IPoolAddressesProvider public immutable override ADDRESSES_PROVIDER;
      15                 :             :   IPool public immutable override POOL;
      16                 :             : 
      17                 :             :   constructor(IPoolAddressesProvider provider) {
      18                 :           0 :     ADDRESSES_PROVIDER = provider;
      19                 :           0 :     POOL = IPool(provider.getPool());
      20                 :             :   }
      21                 :             : }
        

Generated by: LCOV version 2.1-1