aave-protocol-v2/contracts/interfaces/IFeeProvider.sol
2020-07-13 11:54:08 +03:00

17 lines
375 B
Solidity

// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.6.8;
/**
* @title IFeeProvider interface
* @notice Interface for the Aave fee provider.
**/
interface IFeeProvider {
function calculateLoanOriginationFee(address _user, uint256 _amount)
external
view
returns (uint256);
function getLoanOriginationFeePercentage() external view returns (uint256);
}