Add comments to empty constructor bodies

Fixes ABDK CVF-4 and CVF-15.
This commit is contained in:
Jason Raymond Bell 2021-05-20 15:41:59 +01:00
parent 38bec942da
commit bf7b19a181
2 changed files with 4 additions and 1 deletions

View File

@ -19,6 +19,7 @@ abstract contract BaseParaSwapSellAdapter is BaseParaSwapAdapter {
constructor(
ILendingPoolAddressesProvider addressesProvider
) public BaseParaSwapAdapter(addressesProvider) {
// This is only required to initialize BaseParaSwapAdapter
}
/**

View File

@ -14,7 +14,9 @@ import {IERC20} from '../dependencies/openzeppelin/contracts/IERC20.sol';
contract ParaSwapLiquiditySwapAdapter is BaseParaSwapSellAdapter {
constructor(
ILendingPoolAddressesProvider addressesProvider
) public BaseParaSwapSellAdapter(addressesProvider) {}
) public BaseParaSwapSellAdapter(addressesProvider) {
// This is only required to initialize BaseParaSwapSellAdapter
}
/**
* @dev Swaps the received reserve amount from the flash loan into the asset specified in the params.