Comment on page
The reserve factor defines the portion of borrower interest that is converted into reserves.
function reserveFactor() external view returns (uint);
- RETURN: The current reserve factor as an unsigned integer, scaled by 1e18.
QToken qToken = QToken(<qTokenAddress>);
uint factor = qToken.reserveFactor();
const qToken = await ethers.getContractAt(<qTokenABI>, <qTokenAddress>);
const factor = await qToken.reserveFactor();