aave-protocol-v2/contracts/interfaces/IFeeProvider.sol

17 lines
375 B
Solidity
Raw Normal View History

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