// SPDX-License-Identifier: agpl-3.0 pragma solidity ^0.6.12; import {IERC20} from '../../dependencies/openzeppelin/contracts/IERC20.sol'; interface IRedeemableToken is IERC20 { function redeem(uint256 amount) external returns (uint256); /** * @notice Calculates the exchange rate from the underlying to the CToken * @dev This function does not accrue interest before calculating the exchange rate * @return Calculated exchange rate scaled by 1e18 */ function exchangeRateStored() external view returns (uint256); }